@glw907/cairn-cms 0.57.1 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +66 -0
- package/dist/components/CairnMediaLibrary.svelte +2070 -26
- package/dist/components/CairnMediaLibrary.svelte.d.ts +10 -2
- package/dist/components/admin-icons.d.ts +5 -0
- package/dist/components/admin-icons.js +5 -0
- package/dist/components/cairn-admin.css +402 -3
- package/dist/content/media-rewrite.d.ts +65 -0
- package/dist/content/media-rewrite.js +442 -0
- package/dist/log/events.d.ts +1 -1
- package/dist/media/bulk-delete-plan.d.ts +24 -0
- package/dist/media/bulk-delete-plan.js +25 -0
- package/dist/media/orphan-scan.d.ts +37 -0
- package/dist/media/orphan-scan.js +42 -0
- package/dist/media/reconcile.d.ts +3 -0
- package/dist/media/reconcile.js +3 -2
- package/dist/media/rewrite-plan.d.ts +65 -0
- package/dist/media/rewrite-plan.js +61 -0
- package/dist/sveltekit/cairn-admin.d.ts +8 -0
- package/dist/sveltekit/cairn-admin.js +15 -0
- package/dist/sveltekit/content-routes.d.ts +118 -4
- package/dist/sveltekit/content-routes.js +572 -1
- package/dist/sveltekit/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/components/CairnMediaLibrary.svelte +2070 -26
- package/src/lib/components/admin-icons.ts +5 -0
- package/src/lib/content/media-rewrite.ts +555 -0
- package/src/lib/log/events.ts +6 -1
- package/src/lib/media/bulk-delete-plan.ts +54 -0
- package/src/lib/media/orphan-scan.ts +74 -0
- package/src/lib/media/reconcile.ts +3 -2
- package/src/lib/media/rewrite-plan.ts +122 -0
- package/src/lib/sveltekit/cairn-admin.ts +15 -0
- package/src/lib/sveltekit/content-routes.ts +722 -5
- package/src/lib/sveltekit/index.ts +3 -0
|
@@ -13,8 +13,16 @@ interface Props {
|
|
|
13
13
|
* shows where each one is used, edits its name and default alt, and deletes it safely. The resting
|
|
14
14
|
* surface is a visual contact-sheet grid (a roving-tabindex listbox of tiles), with a list-density
|
|
15
15
|
* toggle that flips to an enriched sortable table. One toolbar row carries search, a pick-one triage
|
|
16
|
-
* radiogroup (All, Needs alt,
|
|
17
|
-
* client window all run over the full loaded set in component state.
|
|
16
|
+
* radiogroup (All, Needs alt, No references found), and the density toggle. Filtering, sorting, and a
|
|
17
|
+
* growing client window all run over the full loaded set in component state.
|
|
18
|
+
*
|
|
19
|
+
* Multi-select rides a Set of selected hashes, decoupled from the slide-over's single asset and from
|
|
20
|
+
* roving focus. The grid is an APG multiselectable listbox (aria-multiselectable, real cell focus):
|
|
21
|
+
* Space toggles the focused tile, Shift+Arrow extends a range, Ctrl/Cmd+A selects every visible asset,
|
|
22
|
+
* and Escape clears. The list density is a plain selectable table whose leading native-checkbox column
|
|
23
|
+
* is the selection signal (no grid role, since it has no grid keyboard model). A sticky action bar
|
|
24
|
+
* appears on the first selection with a live count, the scope, Select all in view, Clear, and the
|
|
25
|
+
* reversible bulk Delete.
|
|
18
26
|
*
|
|
19
27
|
* Activating a tile or row opens a NON-MODAL detail slide-over from the right (the established
|
|
20
28
|
* details-slide-over recipe): no scrim, the library stays live and in the a11y tree behind it, Escape
|
|
@@ -23,3 +23,8 @@ export { default as CopyIcon } from '@lucide/svelte/icons/copy';
|
|
|
23
23
|
export { default as FileTextIcon } from '@lucide/svelte/icons/file-text';
|
|
24
24
|
export { default as ClockIcon } from '@lucide/svelte/icons/clock';
|
|
25
25
|
export { default as Link2OffIcon } from '@lucide/svelte/icons/link-2-off';
|
|
26
|
+
export { default as RefreshCwIcon } from '@lucide/svelte/icons/refresh-cw';
|
|
27
|
+
export { default as GitBranchIcon } from '@lucide/svelte/icons/git-branch';
|
|
28
|
+
export { default as ArrowRightIcon } from '@lucide/svelte/icons/arrow-right';
|
|
29
|
+
export { default as MegaphoneIcon } from '@lucide/svelte/icons/megaphone';
|
|
30
|
+
export { default as DatabaseIcon } from '@lucide/svelte/icons/database';
|
|
@@ -25,3 +25,8 @@ export { default as CopyIcon } from '@lucide/svelte/icons/copy';
|
|
|
25
25
|
export { default as FileTextIcon } from '@lucide/svelte/icons/file-text';
|
|
26
26
|
export { default as ClockIcon } from '@lucide/svelte/icons/clock';
|
|
27
27
|
export { default as Link2OffIcon } from '@lucide/svelte/icons/link-2-off';
|
|
28
|
+
export { default as RefreshCwIcon } from '@lucide/svelte/icons/refresh-cw';
|
|
29
|
+
export { default as GitBranchIcon } from '@lucide/svelte/icons/git-branch';
|
|
30
|
+
export { default as ArrowRightIcon } from '@lucide/svelte/icons/arrow-right';
|
|
31
|
+
export { default as MegaphoneIcon } from '@lucide/svelte/icons/megaphone';
|
|
32
|
+
export { default as DatabaseIcon } from '@lucide/svelte/icons/database';
|