Split "Sort Children"-logic to remove "illegal" import from core to packages (#19105)
* wip sortChildrenOfContent kind * export types * add modal token + consts * Update manifests.ts * add content tree item model * wip use umb-table element * set as prop * render sort icon * prevent selection when sortable * remove unused * clean up * reflect sortable prop * start implementing sortChildrenOfContent * render name and create date * handle date ordering * remove unused * clean up * fix grab and grabbing styling for sortable table rows * render label when no children * Update sort-children-of-content-modal.element.ts * fix styling of load more * only allow sorting when all items are loaded * Update index.js
This commit is contained in:
@@ -2,7 +2,7 @@ import fs from 'fs';
|
||||
import path from 'path';
|
||||
import { createImportMap } from '../importmap/index.js';
|
||||
|
||||
const ILLEGAL_CORE_IMPORTS_THRESHOLD = 6;
|
||||
const ILLEGAL_CORE_IMPORTS_THRESHOLD = 5;
|
||||
const SELF_IMPORTS_THRESHOLD = 0;
|
||||
const BIDIRECTIONAL_IMPORTS_THRESHOLD = 18;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user