@namroodinc/liquid-editorial 0.7.0 → 0.9.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/README.md +64 -10
- package/UPGRADING.md +514 -0
- package/dist/chunks/{Avatar-DdFEOumt.js → Avatar-BK8IdL5W.js} +2 -2
- package/dist/chunks/{Avatar-DdFEOumt.js.map → Avatar-BK8IdL5W.js.map} +1 -1
- package/dist/chunks/{Avatar-B_2lI7fS.cjs → Avatar-DPnrvkwd.cjs} +2 -2
- package/dist/chunks/{Avatar-B_2lI7fS.cjs.map → Avatar-DPnrvkwd.cjs.map} +1 -1
- package/dist/chunks/CollectionView-BNYx29b1.cjs +2 -0
- package/dist/chunks/CollectionView-BNYx29b1.cjs.map +1 -0
- package/dist/chunks/{CollectionView-Cr12UFWa.js → CollectionView-Vj84E26b.js} +28 -29
- package/dist/chunks/CollectionView-Vj84E26b.js.map +1 -0
- package/dist/chunks/ColourField-C1qjpIfB.cjs +2 -0
- package/dist/chunks/ColourField-C1qjpIfB.cjs.map +1 -0
- package/dist/chunks/{ColourField-B-tjjBfA.js → ColourField-Ce2oaVcd.js} +122 -122
- package/dist/chunks/ColourField-Ce2oaVcd.js.map +1 -0
- package/dist/chunks/DatePicker-BCnzFJFF.cjs +2 -0
- package/dist/chunks/DatePicker-BCnzFJFF.cjs.map +1 -0
- package/dist/chunks/DatePicker-CnVmsCwO.js +298 -0
- package/dist/chunks/DatePicker-CnVmsCwO.js.map +1 -0
- package/dist/chunks/Drawer-BDX9_qHA.cjs +2 -0
- package/dist/chunks/Drawer-BDX9_qHA.cjs.map +1 -0
- package/dist/chunks/Drawer-DTtgAZO2.js +172 -0
- package/dist/chunks/Drawer-DTtgAZO2.js.map +1 -0
- package/dist/chunks/EntryPicker-Baqn0SQM.cjs +2 -0
- package/dist/chunks/EntryPicker-Baqn0SQM.cjs.map +1 -0
- package/dist/chunks/EntryPicker-DIYjKmBf.js +803 -0
- package/dist/chunks/EntryPicker-DIYjKmBf.js.map +1 -0
- package/dist/chunks/FormEditor-B7Pm_ZzT.cjs +2 -0
- package/dist/chunks/FormEditor-B7Pm_ZzT.cjs.map +1 -0
- package/dist/chunks/{FormEditor-ucTbDyQt.js → FormEditor-HqqFmu7s.js} +223 -200
- package/dist/chunks/FormEditor-HqqFmu7s.js.map +1 -0
- package/dist/chunks/{LoadState-B7GTDlWv.js → LoadState-B056EPu7.js} +20 -19
- package/dist/chunks/LoadState-B056EPu7.js.map +1 -0
- package/dist/chunks/LoadState-BXLG-SkQ.cjs +2 -0
- package/dist/chunks/LoadState-BXLG-SkQ.cjs.map +1 -0
- package/dist/chunks/NumberField-CVsK4l9P.js +178 -0
- package/dist/chunks/NumberField-CVsK4l9P.js.map +1 -0
- package/dist/chunks/NumberField-Ccjpa_1d.cjs +2 -0
- package/dist/chunks/NumberField-Ccjpa_1d.cjs.map +1 -0
- package/dist/chunks/{RichTextEditor-CNkwWist.js → RichTextEditor-CuZnjiy2.js} +93 -93
- package/dist/chunks/RichTextEditor-CuZnjiy2.js.map +1 -0
- package/dist/chunks/RichTextEditor-DcbLho2Q.cjs +2 -0
- package/dist/chunks/RichTextEditor-DcbLho2Q.cjs.map +1 -0
- package/dist/chunks/dialogLabel-2HRYMHbF.cjs +2 -0
- package/dist/chunks/dialogLabel-2HRYMHbF.cjs.map +1 -0
- package/dist/chunks/dialogLabel-D18maX-p.js +176 -0
- package/dist/chunks/dialogLabel-D18maX-p.js.map +1 -0
- package/dist/chunks/frame-CzadNYgy.js +164 -0
- package/dist/chunks/frame-CzadNYgy.js.map +1 -0
- package/dist/chunks/frame-Mh99nmhR.cjs +2 -0
- package/dist/chunks/frame-Mh99nmhR.cjs.map +1 -0
- package/dist/chunks/group-CJA3-3s5.js +35 -0
- package/dist/chunks/group-CJA3-3s5.js.map +1 -0
- package/dist/chunks/group-DRSLOsXu.cjs +2 -0
- package/dist/chunks/group-DRSLOsXu.cjs.map +1 -0
- package/dist/chunks/limit-BNo4dlRj.cjs +2 -0
- package/dist/chunks/limit-BNo4dlRj.cjs.map +1 -0
- package/dist/chunks/limit-s9zfxIMC.js +16 -0
- package/dist/chunks/limit-s9zfxIMC.js.map +1 -0
- package/dist/chunks/overlayLayer-IuoPVwTO.js +158 -0
- package/dist/chunks/overlayLayer-IuoPVwTO.js.map +1 -0
- package/dist/chunks/overlayLayer-seJG-EFn.cjs +2 -0
- package/dist/chunks/overlayLayer-seJG-EFn.cjs.map +1 -0
- package/dist/chunks/useIsomorphicLayoutEffect-Bc9hxFMc.js +7 -0
- package/dist/chunks/useIsomorphicLayoutEffect-Bc9hxFMc.js.map +1 -0
- package/dist/chunks/useIsomorphicLayoutEffect-XM4Ot6x5.cjs +2 -0
- package/dist/chunks/useIsomorphicLayoutEffect-XM4Ot6x5.cjs.map +1 -0
- package/dist/chunks/{useLimit-DXe_VmYl.cjs → useLimit-CCv6sAUS.cjs} +2 -2
- package/dist/chunks/useLimit-CCv6sAUS.cjs.map +1 -0
- package/dist/chunks/{useLimit-BOmHKdJE.js → useLimit-DZOKm4S_.js} +2 -2
- package/dist/chunks/useLimit-DZOKm4S_.js.map +1 -0
- package/dist/chunks/useTooltip-BXAvQwt4.cjs +2 -0
- package/dist/chunks/useTooltip-BXAvQwt4.cjs.map +1 -0
- package/dist/chunks/useTooltip-BrC7FdeH.js +75 -0
- package/dist/chunks/useTooltip-BrC7FdeH.js.map +1 -0
- package/dist/components/AppShell/index.cjs +1 -1
- package/dist/components/AppShell/index.cjs.map +1 -1
- package/dist/components/AppShell/index.js +4 -4
- package/dist/components/AppShell/index.js.map +1 -1
- package/dist/components/Avatar/index.cjs +1 -1
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Badge/index.cjs +1 -1
- package/dist/components/Badge/index.cjs.map +1 -1
- package/dist/components/Badge/index.d.cts +3 -0
- package/dist/components/Badge/index.d.cts.map +1 -1
- package/dist/components/Badge/index.d.ts +3 -0
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/index.js +11 -10
- package/dist/components/Badge/index.js.map +1 -1
- package/dist/components/Badge/style.css +25 -2
- package/dist/components/Button/index.cjs.map +1 -1
- package/dist/components/Button/index.d.cts +4 -2
- package/dist/components/Button/index.d.cts.map +1 -1
- package/dist/components/Button/index.d.ts +4 -2
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Choice/index.cjs +1 -1
- package/dist/components/Choice/index.cjs.map +1 -1
- package/dist/components/Choice/index.d.cts +13 -2
- package/dist/components/Choice/index.d.cts.map +1 -1
- package/dist/components/Choice/index.d.ts +13 -2
- package/dist/components/Choice/index.d.ts.map +1 -1
- package/dist/components/Choice/index.js +55 -35
- package/dist/components/Choice/index.js.map +1 -1
- package/dist/components/Choice/style.css +7 -2
- package/dist/components/CollectionView/filters.d.cts.map +1 -1
- package/dist/components/CollectionView/filters.d.ts.map +1 -1
- package/dist/components/CollectionView/index.cjs +1 -1
- package/dist/components/CollectionView/index.js +1 -1
- package/dist/components/ColourField/index.cjs +1 -1
- package/dist/components/ColourField/index.d.cts.map +1 -1
- package/dist/components/ColourField/index.d.ts.map +1 -1
- package/dist/components/ColourField/index.js +1 -1
- package/dist/components/DatePicker/index.cjs +1 -1
- package/dist/components/DatePicker/index.d.cts.map +1 -1
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/Drawer/content.d.cts +27 -0
- package/dist/components/Drawer/content.d.cts.map +1 -0
- package/dist/components/Drawer/content.d.ts +27 -0
- package/dist/components/Drawer/content.d.ts.map +1 -0
- package/dist/components/Drawer/head.d.cts +10 -0
- package/dist/components/Drawer/head.d.cts.map +1 -0
- package/dist/components/Drawer/head.d.ts +10 -0
- package/dist/components/Drawer/head.d.ts.map +1 -0
- package/dist/components/Drawer/index.cjs +1 -2
- package/dist/components/Drawer/index.d.cts +24 -0
- package/dist/components/Drawer/index.d.cts.map +1 -1
- package/dist/components/Drawer/index.d.ts +24 -0
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/Drawer/index.js +1 -102
- package/dist/components/Drawer/style.css +70 -0
- package/dist/components/EditLayout/index.cjs +1 -1
- package/dist/components/EditLayout/index.cjs.map +1 -1
- package/dist/components/EditLayout/index.d.cts.map +1 -1
- package/dist/components/EditLayout/index.d.ts.map +1 -1
- package/dist/components/EditLayout/index.js +65 -64
- package/dist/components/EditLayout/index.js.map +1 -1
- package/dist/components/EditLayout/style.css +12 -5
- package/dist/components/EntryPicker/blocked.d.cts +21 -0
- package/dist/components/EntryPicker/blocked.d.cts.map +1 -0
- package/dist/components/EntryPicker/blocked.d.ts +21 -0
- package/dist/components/EntryPicker/blocked.d.ts.map +1 -0
- package/dist/components/EntryPicker/chosen.d.cts +16 -0
- package/dist/components/EntryPicker/chosen.d.cts.map +1 -0
- package/dist/components/EntryPicker/chosen.d.ts +16 -0
- package/dist/components/EntryPicker/chosen.d.ts.map +1 -0
- package/dist/components/EntryPicker/dialog.d.cts +26 -0
- package/dist/components/EntryPicker/dialog.d.cts.map +1 -0
- package/dist/components/EntryPicker/dialog.d.ts +26 -0
- package/dist/components/EntryPicker/dialog.d.ts.map +1 -0
- package/dist/components/EntryPicker/feedback.d.cts +20 -0
- package/dist/components/EntryPicker/feedback.d.cts.map +1 -0
- package/dist/components/EntryPicker/feedback.d.ts +20 -0
- package/dist/components/EntryPicker/feedback.d.ts.map +1 -0
- package/dist/components/EntryPicker/index.cjs +1 -1
- package/dist/components/EntryPicker/index.d.cts +4 -38
- package/dist/components/EntryPicker/index.d.cts.map +1 -1
- package/dist/components/EntryPicker/index.d.ts +4 -38
- package/dist/components/EntryPicker/index.d.ts.map +1 -1
- package/dist/components/EntryPicker/index.js +1 -1
- package/dist/components/EntryPicker/item.d.cts +34 -0
- package/dist/components/EntryPicker/item.d.cts.map +1 -0
- package/dist/components/EntryPicker/item.d.ts +34 -0
- package/dist/components/EntryPicker/item.d.ts.map +1 -0
- package/dist/components/EntryPicker/limit.d.cts +25 -2
- package/dist/components/EntryPicker/limit.d.cts.map +1 -1
- package/dist/components/EntryPicker/limit.d.ts +25 -2
- package/dist/components/EntryPicker/limit.d.ts.map +1 -1
- package/dist/components/EntryPicker/results.d.cts +10 -0
- package/dist/components/EntryPicker/results.d.cts.map +1 -0
- package/dist/components/EntryPicker/results.d.ts +10 -0
- package/dist/components/EntryPicker/results.d.ts.map +1 -0
- package/dist/components/EntryPicker/selected-items.d.cts +11 -0
- package/dist/components/EntryPicker/selected-items.d.cts.map +1 -0
- package/dist/components/EntryPicker/selected-items.d.ts +11 -0
- package/dist/components/EntryPicker/selected-items.d.ts.map +1 -0
- package/dist/components/EntryPicker/style.css +203 -21
- package/dist/components/EntryPicker/types.d.cts +69 -0
- package/dist/components/EntryPicker/types.d.cts.map +1 -0
- package/dist/components/EntryPicker/types.d.ts +69 -0
- package/dist/components/EntryPicker/types.d.ts.map +1 -0
- package/dist/components/EntryPicker/use-picker-data.d.cts +40 -0
- package/dist/components/EntryPicker/use-picker-data.d.cts.map +1 -0
- package/dist/components/EntryPicker/use-picker-data.d.ts +40 -0
- package/dist/components/EntryPicker/use-picker-data.d.ts.map +1 -0
- package/dist/components/EntryPicker/use-picker-scroll.d.cts +14 -0
- package/dist/components/EntryPicker/use-picker-scroll.d.cts.map +1 -0
- package/dist/components/EntryPicker/use-picker-scroll.d.ts +14 -0
- package/dist/components/EntryPicker/use-picker-scroll.d.ts.map +1 -0
- package/dist/components/EntryPicker/use-selected-items.d.cts +21 -0
- package/dist/components/EntryPicker/use-selected-items.d.cts.map +1 -0
- package/dist/components/EntryPicker/use-selected-items.d.ts +21 -0
- package/dist/components/EntryPicker/use-selected-items.d.ts.map +1 -0
- package/dist/components/Field/frame.d.cts.map +1 -1
- package/dist/components/Field/frame.d.ts.map +1 -1
- package/dist/components/Field/group.d.cts +1 -1
- package/dist/components/Field/group.d.cts.map +1 -1
- package/dist/components/Field/group.d.ts +1 -1
- package/dist/components/Field/group.d.ts.map +1 -1
- package/dist/components/Field/index.cjs +1 -1
- package/dist/components/Field/index.js +1 -1
- package/dist/components/Field/{limit-reading.d.cts → limit-announcer.d.cts} +1 -4
- package/dist/components/Field/limit-announcer.d.cts.map +1 -0
- package/dist/components/Field/{limit-reading.d.ts → limit-announcer.d.ts} +1 -4
- package/dist/components/Field/limit-announcer.d.ts.map +1 -0
- package/dist/components/Field/limit.d.cts +1 -5
- package/dist/components/Field/limit.d.cts.map +1 -1
- package/dist/components/Field/limit.d.ts +1 -5
- package/dist/components/Field/limit.d.ts.map +1 -1
- package/dist/components/Field/style.css +0 -39
- package/dist/components/Field/types.d.cts +9 -3
- package/dist/components/Field/types.d.cts.map +1 -1
- package/dist/components/Field/types.d.ts +9 -3
- package/dist/components/Field/types.d.ts.map +1 -1
- package/dist/components/Field/useLimit.d.cts +1 -1
- package/dist/components/Field/useLimit.d.cts.map +1 -1
- package/dist/components/Field/useLimit.d.ts +1 -1
- package/dist/components/Field/useLimit.d.ts.map +1 -1
- package/dist/components/FieldAffix/index.cjs +1 -1
- package/dist/components/FieldAffix/index.cjs.map +1 -1
- package/dist/components/FieldAffix/index.d.cts.map +1 -1
- package/dist/components/FieldAffix/index.d.ts.map +1 -1
- package/dist/components/FieldAffix/index.js +2 -1
- package/dist/components/FieldAffix/index.js.map +1 -1
- package/dist/components/FormEditor/README.md +128 -14
- package/dist/components/FormEditor/control.d.cts +3 -2
- package/dist/components/FormEditor/control.d.cts.map +1 -1
- package/dist/components/FormEditor/control.d.ts +3 -2
- package/dist/components/FormEditor/control.d.ts.map +1 -1
- package/dist/components/FormEditor/index.cjs +1 -1
- package/dist/components/FormEditor/index.d.cts +3 -2
- package/dist/components/FormEditor/index.d.cts.map +1 -1
- package/dist/components/FormEditor/index.d.ts +3 -2
- package/dist/components/FormEditor/index.d.ts.map +1 -1
- package/dist/components/FormEditor/index.js +1 -1
- package/dist/components/FormEditor/model.d.cts +20 -5
- package/dist/components/FormEditor/model.d.cts.map +1 -1
- package/dist/components/FormEditor/model.d.ts +20 -5
- package/dist/components/FormEditor/model.d.ts.map +1 -1
- package/dist/components/ImageCropper/index.cjs +1 -1
- package/dist/components/ImageCropper/index.cjs.map +1 -1
- package/dist/components/ImageCropper/index.d.cts.map +1 -1
- package/dist/components/ImageCropper/index.d.ts.map +1 -1
- package/dist/components/ImageCropper/index.js +27 -26
- package/dist/components/ImageCropper/index.js.map +1 -1
- package/dist/components/LimitReading/index.cjs +2 -0
- package/dist/components/LimitReading/index.cjs.map +1 -0
- package/dist/components/LimitReading/index.d.cts +5 -0
- package/dist/components/LimitReading/index.d.cts.map +1 -0
- package/dist/components/LimitReading/index.d.ts +5 -0
- package/dist/components/LimitReading/index.d.ts.map +1 -0
- package/dist/components/LimitReading/index.js +71 -0
- package/dist/components/LimitReading/index.js.map +1 -0
- package/dist/components/LimitReading/limit.d.cts +9 -0
- package/dist/components/LimitReading/limit.d.cts.map +1 -0
- package/dist/components/LimitReading/limit.d.ts +9 -0
- package/dist/components/LimitReading/limit.d.ts.map +1 -0
- package/dist/components/LimitReading/style.css +69 -0
- package/dist/components/LimitReading/types.d.cts +22 -0
- package/dist/components/LimitReading/types.d.cts.map +1 -0
- package/dist/components/LimitReading/types.d.ts +22 -0
- package/dist/components/LimitReading/types.d.ts.map +1 -0
- package/dist/components/LoadState/error.d.cts +3 -1
- package/dist/components/LoadState/error.d.cts.map +1 -1
- package/dist/components/LoadState/error.d.ts +3 -1
- package/dist/components/LoadState/error.d.ts.map +1 -1
- package/dist/components/LoadState/index.cjs +1 -1
- package/dist/components/LoadState/index.d.cts +3 -1
- package/dist/components/LoadState/index.d.cts.map +1 -1
- package/dist/components/LoadState/index.d.ts +3 -1
- package/dist/components/LoadState/index.d.ts.map +1 -1
- package/dist/components/LoadState/index.js +1 -1
- package/dist/components/Menu/index.cjs +1 -1
- package/dist/components/Menu/index.cjs.map +1 -1
- package/dist/components/Menu/index.d.cts.map +1 -1
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/index.js +50 -49
- package/dist/components/Menu/index.js.map +1 -1
- package/dist/components/Modal/index.cjs +1 -1
- package/dist/components/Modal/index.cjs.map +1 -1
- package/dist/components/Modal/index.d.cts +12 -0
- package/dist/components/Modal/index.d.cts.map +1 -1
- package/dist/components/Modal/index.d.ts +12 -0
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.js +73 -64
- package/dist/components/Modal/index.js.map +1 -1
- package/dist/components/Modal/style.css +19 -0
- package/dist/components/NumberField/index.cjs +1 -1
- package/dist/components/NumberField/index.d.cts +1 -1
- package/dist/components/NumberField/index.d.cts.map +1 -1
- package/dist/components/NumberField/index.d.ts +1 -1
- package/dist/components/NumberField/index.d.ts.map +1 -1
- package/dist/components/NumberField/index.js +1 -1
- package/dist/components/NumberField/style.css +1 -1
- package/dist/components/Popover/index.cjs +1 -1
- package/dist/components/Popover/index.cjs.map +1 -1
- package/dist/components/Popover/index.d.cts +1 -1
- package/dist/components/Popover/index.d.cts.map +1 -1
- package/dist/components/Popover/index.d.ts +1 -1
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/index.js +57 -55
- package/dist/components/Popover/index.js.map +1 -1
- package/dist/components/Popover/style.css +6 -0
- package/dist/components/Popover/useTooltip.d.cts +2 -1
- package/dist/components/Popover/useTooltip.d.cts.map +1 -1
- package/dist/components/Popover/useTooltip.d.ts +2 -1
- package/dist/components/Popover/useTooltip.d.ts.map +1 -1
- package/dist/components/RichTextEditor/expansion.d.cts.map +1 -1
- package/dist/components/RichTextEditor/expansion.d.ts.map +1 -1
- package/dist/components/RichTextEditor/index.cjs +1 -1
- package/dist/components/RichTextEditor/index.js +1 -1
- package/dist/components/SearchField/index.cjs +1 -1
- package/dist/components/SearchField/index.cjs.map +1 -1
- package/dist/components/SearchField/index.d.cts +6 -1
- package/dist/components/SearchField/index.d.cts.map +1 -1
- package/dist/components/SearchField/index.d.ts +6 -1
- package/dist/components/SearchField/index.d.ts.map +1 -1
- package/dist/components/SearchField/index.js +32 -26
- package/dist/components/SearchField/index.js.map +1 -1
- package/dist/components/Select/index.cjs +1 -1
- package/dist/components/Select/index.cjs.map +1 -1
- package/dist/components/Select/index.d.cts.map +1 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +73 -72
- package/dist/components/Select/index.js.map +1 -1
- package/dist/components/SelectionCard/index.cjs +1 -1
- package/dist/components/SelectionCard/index.js +1 -1
- package/dist/components/SortableList/index.cjs +1 -1
- package/dist/components/SortableList/index.cjs.map +1 -1
- package/dist/components/SortableList/index.d.cts +2 -0
- package/dist/components/SortableList/index.d.cts.map +1 -1
- package/dist/components/SortableList/index.d.ts +2 -0
- package/dist/components/SortableList/index.d.ts.map +1 -1
- package/dist/components/SortableList/index.js +14 -13
- package/dist/components/SortableList/index.js.map +1 -1
- package/dist/components/SubNav/index.cjs +1 -1
- package/dist/components/SubNav/index.cjs.map +1 -1
- package/dist/components/SubNav/index.d.cts.map +1 -1
- package/dist/components/SubNav/index.d.ts.map +1 -1
- package/dist/components/SubNav/index.js +40 -31
- package/dist/components/SubNav/index.js.map +1 -1
- package/dist/components/SubNav/style.css +0 -14
- package/dist/components/Table/style.css +6 -1
- package/dist/components/TagsInput/index.cjs +1 -1
- package/dist/components/TagsInput/index.js +1 -1
- package/dist/components/TextField/index.cjs +1 -1
- package/dist/components/TextField/index.js +1 -1
- package/dist/components/Time/index.cjs +1 -1
- package/dist/components/Time/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +5 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +50 -48
- package/dist/internal/dialogFocus.d.cts +2 -0
- package/dist/internal/dialogFocus.d.cts.map +1 -1
- package/dist/internal/dialogFocus.d.ts +2 -0
- package/dist/internal/dialogFocus.d.ts.map +1 -1
- package/dist/internal/dialogLabel.d.cts +10 -0
- package/dist/internal/dialogLabel.d.cts.map +1 -0
- package/dist/internal/dialogLabel.d.ts +10 -0
- package/dist/internal/dialogLabel.d.ts.map +1 -0
- package/dist/internal/dialogStack.d.cts +11 -3
- package/dist/internal/dialogStack.d.cts.map +1 -1
- package/dist/internal/dialogStack.d.ts +11 -3
- package/dist/internal/dialogStack.d.ts.map +1 -1
- package/dist/internal/movableHost.d.cts +9 -5
- package/dist/internal/movableHost.d.cts.map +1 -1
- package/dist/internal/movableHost.d.ts +9 -5
- package/dist/internal/movableHost.d.ts.map +1 -1
- package/dist/internal/overlayLayer.d.cts +33 -0
- package/dist/internal/overlayLayer.d.cts.map +1 -0
- package/dist/internal/overlayLayer.d.ts +33 -0
- package/dist/internal/overlayLayer.d.ts.map +1 -0
- package/dist/internal/portalScope.d.cts.map +1 -1
- package/dist/internal/portalScope.d.ts.map +1 -1
- package/dist/internal/useDialogPortal.d.cts +9 -0
- package/dist/internal/useDialogPortal.d.cts.map +1 -0
- package/dist/internal/useDialogPortal.d.ts +9 -0
- package/dist/internal/useDialogPortal.d.ts.map +1 -0
- package/dist/internal/useIsomorphicLayoutEffect.d.cts +7 -0
- package/dist/internal/useIsomorphicLayoutEffect.d.cts.map +1 -0
- package/dist/internal/useIsomorphicLayoutEffect.d.ts +7 -0
- package/dist/internal/useIsomorphicLayoutEffect.d.ts.map +1 -0
- package/dist/internal/useLatest.d.cts +7 -0
- package/dist/internal/useLatest.d.cts.map +1 -0
- package/dist/internal/useLatest.d.ts +7 -0
- package/dist/internal/useLatest.d.ts.map +1 -0
- package/dist/internal/useModalDialog.d.cts +5 -1
- package/dist/internal/useModalDialog.d.cts.map +1 -1
- package/dist/internal/useModalDialog.d.ts +5 -1
- package/dist/internal/useModalDialog.d.ts.map +1 -1
- package/dist/styles.css +1 -0
- package/dist/tokens.css +2 -2
- package/package.json +1 -1
- package/dist/chunks/CollectionView-BIuOL917.cjs +0 -2
- package/dist/chunks/CollectionView-BIuOL917.cjs.map +0 -1
- package/dist/chunks/CollectionView-Cr12UFWa.js.map +0 -1
- package/dist/chunks/ColourField-B-tjjBfA.js.map +0 -1
- package/dist/chunks/ColourField-ynUP1pfN.cjs +0 -2
- package/dist/chunks/ColourField-ynUP1pfN.cjs.map +0 -1
- package/dist/chunks/DatePicker-01sor8iD.cjs +0 -2
- package/dist/chunks/DatePicker-01sor8iD.cjs.map +0 -1
- package/dist/chunks/DatePicker-DJAqXUDJ.js +0 -297
- package/dist/chunks/DatePicker-DJAqXUDJ.js.map +0 -1
- package/dist/chunks/EntryPicker-B88N69zH.js +0 -180
- package/dist/chunks/EntryPicker-B88N69zH.js.map +0 -1
- package/dist/chunks/EntryPicker-daSkD4aR.cjs +0 -2
- package/dist/chunks/EntryPicker-daSkD4aR.cjs.map +0 -1
- package/dist/chunks/FormEditor-C_4JbAnS.cjs +0 -2
- package/dist/chunks/FormEditor-C_4JbAnS.cjs.map +0 -1
- package/dist/chunks/FormEditor-ucTbDyQt.js.map +0 -1
- package/dist/chunks/LoadState-B7GTDlWv.js.map +0 -1
- package/dist/chunks/LoadState-C7tQ6fIP.cjs +0 -2
- package/dist/chunks/LoadState-C7tQ6fIP.cjs.map +0 -1
- package/dist/chunks/NumberField-1EYJdwDY.cjs +0 -2
- package/dist/chunks/NumberField-1EYJdwDY.cjs.map +0 -1
- package/dist/chunks/NumberField-DizR4NJv.js +0 -178
- package/dist/chunks/NumberField-DizR4NJv.js.map +0 -1
- package/dist/chunks/RichTextEditor-CNkwWist.js.map +0 -1
- package/dist/chunks/RichTextEditor-DAnjElUO.cjs +0 -2
- package/dist/chunks/RichTextEditor-DAnjElUO.cjs.map +0 -1
- package/dist/chunks/frame-C8TwdWBC.cjs +0 -2
- package/dist/chunks/frame-C8TwdWBC.cjs.map +0 -1
- package/dist/chunks/frame-DaC03_n-.js +0 -203
- package/dist/chunks/frame-DaC03_n-.js.map +0 -1
- package/dist/chunks/group-C6EOgTgM.js +0 -34
- package/dist/chunks/group-C6EOgTgM.js.map +0 -1
- package/dist/chunks/group-QSnlx4jX.cjs +0 -2
- package/dist/chunks/group-QSnlx4jX.cjs.map +0 -1
- package/dist/chunks/limit-BX6-o1a2.cjs +0 -2
- package/dist/chunks/limit-BX6-o1a2.cjs.map +0 -1
- package/dist/chunks/limit-ChteDN4T.js +0 -18
- package/dist/chunks/limit-ChteDN4T.js.map +0 -1
- package/dist/chunks/movableHost-CajG9_5Z.cjs +0 -2
- package/dist/chunks/movableHost-CajG9_5Z.cjs.map +0 -1
- package/dist/chunks/movableHost-NJj_FsAu.js +0 -23
- package/dist/chunks/movableHost-NJj_FsAu.js.map +0 -1
- package/dist/chunks/portalScope-AzzPM54i.js +0 -105
- package/dist/chunks/portalScope-AzzPM54i.js.map +0 -1
- package/dist/chunks/portalScope-BVA1-Ypu.cjs +0 -2
- package/dist/chunks/portalScope-BVA1-Ypu.cjs.map +0 -1
- package/dist/chunks/useLimit-BOmHKdJE.js.map +0 -1
- package/dist/chunks/useLimit-DXe_VmYl.cjs.map +0 -1
- package/dist/chunks/useModalDialog-Cgus9408.cjs +0 -2
- package/dist/chunks/useModalDialog-Cgus9408.cjs.map +0 -1
- package/dist/chunks/useModalDialog-Dh-_6A0j.js +0 -85
- package/dist/chunks/useModalDialog-Dh-_6A0j.js.map +0 -1
- package/dist/chunks/useTooltip-C5gvEoYk.js +0 -74
- package/dist/chunks/useTooltip-C5gvEoYk.js.map +0 -1
- package/dist/chunks/useTooltip-bTE_a2Xn.cjs +0 -2
- package/dist/chunks/useTooltip-bTE_a2Xn.cjs.map +0 -1
- package/dist/components/Drawer/index.cjs.map +0 -1
- package/dist/components/Drawer/index.js.map +0 -1
- package/dist/components/Field/limit-reading.d.cts.map +0 -1
- package/dist/components/Field/limit-reading.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -113,6 +113,7 @@ All **50 families** and **103 runtime exports** are listed below, including comp
|
|
|
113
113
|
| Family / usage | Public exports | Source examples |
|
|
114
114
|
| --- | --- | --- |
|
|
115
115
|
| [Field](#field) | `Field` | [Stories](https://github.com/namroodinc/liquid-editorial/blob/main/src/components/Field/Field.stories.tsx) |
|
|
116
|
+
| [LimitReading](#limitreading) | `LimitReading` | [Stories](https://github.com/namroodinc/liquid-editorial/blob/main/src/components/LimitReading/LimitReading.stories.tsx) |
|
|
116
117
|
| [TextField](#textfield) | `TextField`, `TextArea` | [Stories](https://github.com/namroodinc/liquid-editorial/blob/main/src/components/TextField/TextField.stories.tsx) |
|
|
117
118
|
| [Choice](#choice) | `Checkbox`, `Radio`, `ChoiceGroup` | [Stories](https://github.com/namroodinc/liquid-editorial/blob/main/src/components/Choice/Choice.stories.tsx) |
|
|
118
119
|
| [SelectionCard](#selectioncard) | `CheckboxCard`, `RadioCard`, `SelectionCardGroup` | [Stories](https://github.com/namroodinc/liquid-editorial/blob/main/src/components/SelectionCard/SelectionCard.stories.tsx) |
|
|
@@ -298,7 +299,7 @@ export function ConfirmPublish({ onPublish }: { onPublish: () => void }) {
|
|
|
298
299
|
}
|
|
299
300
|
```
|
|
300
301
|
|
|
301
|
-
Modal portals to the body, traps Tab and locks scrolling. Opening focuses the first control unless focus is already inside the panel (for example through `autoFocus`). Closing returns focus to the opener only when closing dropped it, and falls back to the opener's nearest focusable container, such as an enclosing Drawer, when the opener can no longer take focus. Tab wraps between the first and last rendered controls, counting a radio group as one stop, and focus that leaves the panel returns on the next Tab. Escape, the scrim, and Close request dismissal; the app updates `isOpen`. A popup inside the panel (Menu, Select, DateField) handles Escape first, and Escape that ends an IME composition never closes the dialog. Nested dialogs share the dialog stack and scroll lock.
|
|
302
|
+
Modal portals to the body, traps Tab and locks scrolling. Opening focuses the first control unless focus is already inside the panel (for example through `autoFocus`). Closing returns focus to the opener only when closing dropped it, and falls back to the opener's nearest focusable container, such as an enclosing Drawer, when the opener can no longer take focus. Tab wraps between the first and last rendered controls, counting a radio group as one stop, and focus that leaves the panel returns on the next Tab. Escape, the scrim, and Close request dismissal; the app updates `isOpen`. A popup inside the panel (Menu, Select, DateField) handles Escape first, and Escape that ends an IME composition never closes the dialog. Nested dialogs share the dialog stack and scroll lock. A dialog hidden by `isHidden`, or suspended with an ancestor overlay, stays laid out but invisible (`visibility: hidden`), inert and hidden from assistive technology, so its scroll areas keep their positions and layout measurements hold; a new opening starts at the top.
|
|
302
303
|
|
|
303
304
|
`hasHeader={false}` removes the title band and its Close button. The title (and description) still name and describe the dialog, so provide another visible way to close it. `aria-label` or `aria-labelledby` replace the title as the dialog's name, as on Drawer. Modal and Drawer share one dialog hook, so their focus, Escape and Tab behaviour match.
|
|
304
305
|
|
|
@@ -467,6 +468,8 @@ Provider notifications dismiss automatically after five seconds unless `duration
|
|
|
467
468
|
|
|
468
469
|
A non-interactive editorial label. Use `shape="status"` for publication state, `"tag"` (the default) for metadata, and `"count"` for totals. Appearance defaults to `"outline"`; `"soft"` suits dense lists and `"solid"` emphasizes one state.
|
|
469
470
|
|
|
471
|
+
Set `size="sm"` for condensed labels or `"lg"` for more prominent labels. The default `"md"` keeps the existing size. All three sizes work with every shape and appearance; their standard heights are 20px, 24px, and 28px respectively.
|
|
472
|
+
|
|
470
473
|
```tsx
|
|
471
474
|
import { Badge } from "@namroodinc/liquid-editorial";
|
|
472
475
|
|
|
@@ -479,6 +482,7 @@ import { Badge } from "@namroodinc/liquid-editorial";
|
|
|
479
482
|
Published
|
|
480
483
|
</Badge>
|
|
481
484
|
<Badge>Opinion</Badge>
|
|
485
|
+
<Badge size="sm">Opinion</Badge>
|
|
482
486
|
<Badge shape="count">128</Badge>
|
|
483
487
|
<Badge
|
|
484
488
|
shape="count"
|
|
@@ -657,6 +661,8 @@ Use `isGroup` for a fieldset/legend around related controls and range widgets. K
|
|
|
657
661
|
|
|
658
662
|
TextField, TextArea and SearchField report `maxLength` to their bound Field; TagsInput reports its `max` and committed tag count. A finite positive limit adds a reading and progress ring at the right of the label row. EntryPicker does the same for an explicitly capped multiple selection, both standalone and inside Field. Existing count badges remain beside the label. Controls without a Field frame do not gain a label or counter.
|
|
659
663
|
|
|
664
|
+
Field uses the shared `LimitReading` at its default `sm` size. Field still owns visibility, control descriptions and threshold announcements.
|
|
665
|
+
|
|
660
666
|
| Field option | Default | Behavior |
|
|
661
667
|
| --- | --- | --- |
|
|
662
668
|
| `limit?: FieldLimit` | Reported by the bound control | Explicit `{ count, max }` overrides automatic reporting, including during server rendering. |
|
|
@@ -676,7 +682,32 @@ TextField reports only for input types where browsers enforce `maxLength`: `text
|
|
|
676
682
|
|
|
677
683
|
Character counts use JavaScript `.length`, matching native `maxLength` and FormEditor validation; an emoji can occupy two UTF-16 code units. Programmatically loaded values are preserved above the cap: the reading shows the actual count, remaining values can be negative, and the ring stops at full. The text turns warning at 85%, then danger and semibold at the limit. Counter descriptions join the active hint or error and stay out of accessible names. A persistent polite live region announces crossing into 85% and reaching the limit, once each, rather than every keystroke; it announces again only after usage drops back below that threshold. Loaded values are described, not announced. Disabled/read-only counters retain full strength. Motion uses the existing reduced-motion tokens.
|
|
678
684
|
|
|
679
|
-
Limited fields add `.ds-field__header` around the label and counter; limited groups retain a direct legend containing the label and counter, with the badge and required marker centred as in unlimited legends. A consumer's `aria-labelledby` or `aria-label` still names a limited standalone group. Use `.ds-field__label` rather than direct-child label selectors when customizing these fields. Existing unbounded frames keep their markup and styles; only labels beside a counter may break long words. Numeric/date bounds and uncapped
|
|
685
|
+
Limited fields add `.ds-field__header` around the label and counter; limited groups retain a direct legend containing the label and counter, with the badge and required marker centred as in unlimited legends. A consumer's `aria-labelledby` or `aria-label` still names a limited standalone group. Use `.ds-field__label` rather than direct-child label selectors when customizing these fields. Existing unbounded frames keep their markup and styles; only labels beside a counter may break long words. Numeric/date bounds and uncapped multiple pickers do not automatically show usage counters. A picker that holds one item (single mode, or `max={1}`), standalone or in FormEditor, shows a neutral one-item reading, `0/1` or `1/1`, in place of its count badge: filling it is the goal, so it never turns warning or danger and announces nothing. Rich-text limits are deferred.
|
|
686
|
+
|
|
687
|
+
### LimitReading
|
|
688
|
+
|
|
689
|
+
A standalone usage count and decorative progress ring. Import `LimitReading` and its `LimitReadingProps`, `LimitReadingSize` and `LimitReadingDisplay` types from the package root or `components/LimitReading`.
|
|
690
|
+
|
|
691
|
+
```tsx
|
|
692
|
+
import { LimitReading } from "@namroodinc/liquid-editorial";
|
|
693
|
+
|
|
694
|
+
<>
|
|
695
|
+
<LimitReading count={4} max={5} />
|
|
696
|
+
<LimitReading count={4} max={5} size="md" />
|
|
697
|
+
<LimitReading count={4} max={5} size="lg" />
|
|
698
|
+
<LimitReading count={4} max={5} limitDisplay="remaining" showLimitRing={false} />
|
|
699
|
+
</>;
|
|
700
|
+
```
|
|
701
|
+
|
|
702
|
+
| Size | Text | Ring |
|
|
703
|
+
| --- | --- | --- |
|
|
704
|
+
| `sm` (default) | 12px | 16px |
|
|
705
|
+
| `md` | 14px | 20px |
|
|
706
|
+
| `lg` | 16px | 24px |
|
|
707
|
+
|
|
708
|
+
`count` and `max` are required. `limitDisplay` defaults to `"used"` (`4/5`); `"remaining"` prints `1 left`. `showLimitRing` defaults to true. With the default `tone="usage"`, text becomes warning at 85% and danger at 100%, and the ring keeps the continuous theme colour progression. `tone="neutral"` (type `LimitReadingTone`) is for a slot to fill, such as a single selection: the text stays muted and the ring fills in the success colour. A Field `limit` accepts the same `tone`; a neutral limit is never announced. Counts above the cap stay visible, including negative remaining values, while the ring stays full. Invalid counts or nonpositive/nonfinite maxima render nothing.
|
|
709
|
+
|
|
710
|
+
The visible shorthand and ring are decorative to assistive technology; hidden text reads `4 of 5 used` or `1 remaining`. Pass `descriptionId` to connect that text to a control's `aria-describedby`. Standard span attributes, `id`, `className`, `style` and a span ref are supported. The owning component decides live announcements, visibility and enforcement; LimitReading itself adds no live region.
|
|
680
711
|
|
|
681
712
|
### TextField
|
|
682
713
|
|
|
@@ -756,7 +787,7 @@ import { Checkbox, ChoiceGroup, Radio } from "@namroodinc/liquid-editorial";
|
|
|
756
787
|
</>;
|
|
757
788
|
```
|
|
758
789
|
|
|
759
|
-
Radios share a `name` for native exclusivity. Use `checked`/`onChange` for controlled options and native `disabled` for unavailable choices. Checkbox supports `isIndeterminate` for a select-all display. Bind the group to a Field with `isGroup` when it belongs to a larger form.
|
|
790
|
+
Radios share a `name` for native exclusivity. Use `checked`/`onChange` for controlled options and native `disabled` for unavailable choices. Add `isFocusableWhenDisabled` to a `disabled` choice that must stay reachable to explain itself, for example with `aria-describedby`. It is marked `aria-disabled` instead of native `disabled` and keeps the disabled look. As with native `disabled`, presses change nothing and run no click or change handlers (its own or an ancestor's), and it is left out of form submission and validation: it renders without `name` and `required`, so a radio also leaves its group's arrow-key order. Setting `aria-disabled` directly only sets the attribute. Checkbox supports `isIndeterminate` for a select-all display. Bind the group to a Field with `isGroup` when it belongs to a larger form.
|
|
760
791
|
|
|
761
792
|
### SelectionCard
|
|
762
793
|
|
|
@@ -828,6 +859,8 @@ Affixes are non-interactive by default. Set `isLeadInteractive` or `isTrailInter
|
|
|
828
859
|
|
|
829
860
|
NumberField emits a number or `""` when cleared. It includes steppers by default, supports prefix/suffix content, and marks typed out-of-range values invalid. NumberRangeField emits `{ min, max }` with each member a number or `""`.
|
|
830
861
|
|
|
862
|
+
The − and + steppers form one attached ButtonGroup at the input's inline end (right in LTR). NumberRangeField and FormEditor number fields use the same arrangement.
|
|
863
|
+
|
|
831
864
|
```tsx
|
|
832
865
|
import { Field, NumberField, NumberRangeField } from "@namroodinc/liquid-editorial";
|
|
833
866
|
|
|
@@ -1117,13 +1150,22 @@ ColourField supports normal textbox props, refs, `size`, `readOnly`, `isDisabled
|
|
|
1117
1150
|
|
|
1118
1151
|
### EntryPicker
|
|
1119
1152
|
|
|
1120
|
-
Select entries or assets from app-provided items. The value is an ordered array of IDs in both single and multiple mode. The picker owns search, its selection modal, and optional ordering; the app owns loading and persistence.
|
|
1153
|
+
Select entries or assets from app-provided items. The value is an ordered array of IDs in both single and multiple mode. The picker owns search, its selection modal, and optional ordering; the app owns loading and persistence. Selected items retain their individual borders, fills and draft/removed state styling. The surrounding Field and list have no added surface or padding.
|
|
1121
1154
|
|
|
1122
1155
|
```tsx
|
|
1123
1156
|
import { useState } from "react";
|
|
1124
|
-
import { EntryPicker, Field } from "@namroodinc/liquid-editorial";
|
|
1125
|
-
|
|
1126
|
-
const articles = [{
|
|
1157
|
+
import { Badge, EntryPicker, Field, Time } from "@namroodinc/liquid-editorial";
|
|
1158
|
+
|
|
1159
|
+
const articles = [{
|
|
1160
|
+
id: "article-1",
|
|
1161
|
+
title: "The corner bookshop",
|
|
1162
|
+
keywords: ["article", "published"],
|
|
1163
|
+
metadata: <>
|
|
1164
|
+
<Badge shape="status" tone="published" size="sm">Published</Badge>
|
|
1165
|
+
<span>Article</span>
|
|
1166
|
+
<span>Published <Time value="2026-11-16T10:00:00Z" /></span>
|
|
1167
|
+
</>,
|
|
1168
|
+
}];
|
|
1127
1169
|
|
|
1128
1170
|
export function RelatedArticles() {
|
|
1129
1171
|
const [selected, setSelected] = useState<string[]>([]);
|
|
@@ -1149,7 +1191,15 @@ export function RelatedArticles() {
|
|
|
1149
1191
|
}
|
|
1150
1192
|
```
|
|
1151
1193
|
|
|
1152
|
-
Mode defaults to `"multiple"`; multiple selections are reorderable by default. `max`
|
|
1194
|
+
Mode defaults to `"multiple"`; multiple selections are reorderable by default. A finite `max` refuses unpicked items at the limit; `Infinity` or `NaN` means no limit. Items can have `metadata?: ReactNode`, an image URL, keywords, and `isDisabled`. The app composes the complete inline metadata beneath the title, including badges, type, separators and dates; the library supplies wrapping, spacing and muted small text. Use `size="sm"` for condensed status badges and `Time` for dates. The same metadata renders in results and selected rows. Links and focusable metadata handle clicks without selecting the row. Static search matches only titles and `keywords`; include any searchable metadata labels there.
|
|
1195
|
+
|
|
1196
|
+
Optional item `tone="draft"` highlights selected unpublished rows; `tone="removed"` renders a compact removed selection, with `removedLabel` copy and no pencil or thumbnail. Tones apply only to selected rows; dialog results render in full. Applications confirm removal and own persistence. `disabledReason: { label, description }` explains an `isDisabled` item, in dialog results and in already selected rows, on its own line below the item's metadata. Supply it once there rather than in `metadata`. In selected rows it also describes the row's Move and Remove controls; compact removed rows omit it.
|
|
1197
|
+
|
|
1198
|
+
Results refused by `isDisabled` or a full selection keep a focusable checkbox (`isFocusableWhenDisabled`), so keyboard and screen reader users can find out why: it is described by the item's `disabledReason`, or by a note that the selection is full. A `disabledReason` renders only when `isDisabled` is set. While the whole picker is disabled, or a new search is loading, checkboxes are natively disabled.
|
|
1199
|
+
|
|
1200
|
+
`defaultValue` supplies local state; `isDisabled` disables editing. Standalone pickers can supply their own `label`, `hint`, and `error`; a bound group Field owns that frame and displays the selected count. Copy options include `emptyLabel`, `addLabel`, `itemLabel`, and `itemsLabel`.
|
|
1201
|
+
|
|
1202
|
+
The dialog footer uses `LimitReading size="lg"` for a multiple selection with a finite positive `max`, replacing text such as `4 of 5 selected` with `4/5` and a progress ring. Uncapped and single-mode pickers retain their plain selected count. The header reading stays small and follows its owning Field's presentation options.
|
|
1153
1203
|
|
|
1154
1204
|
### RichTextEditor
|
|
1155
1205
|
|
|
@@ -1346,6 +1396,8 @@ With `scrollMode="document"` the window scrolls instead of `main`, the desktop n
|
|
|
1346
1396
|
|
|
1347
1397
|
### EditLayout
|
|
1348
1398
|
|
|
1399
|
+
Embedded editors can set `--edit-viewport-height` (default `100dvh`) and `--edit-sticky-top` (default `--topnav-height`) on their scroll host, on EditLayout itself, or on its action bar or rail alone, for example `--edit-sticky-top: 0px` in a drawer. Action bars and Details rails then fit that host. Document-scrolling editors keep their defaults.
|
|
1400
|
+
|
|
1349
1401
|
A presentation layout for an edit page, composed inside the existing main landmark.
|
|
1350
1402
|
|
|
1351
1403
|
```tsx
|
|
@@ -1740,7 +1792,7 @@ export function ReadingOrder() {
|
|
|
1740
1792
|
|
|
1741
1793
|
Use stable unique IDs in render order. SortableListItem accepts an `action` slot for a Button/Menu. By default the dragged row itself moves, lifted with a shadow, keeping its current input values, focus, actions and styling; nothing is copied. `renderDragOverlay` instead shows inert custom content in a floating preview sized to that content, leaving the row behind as a faded placeholder. Name each item for keyboard drag announcements.
|
|
1742
1794
|
|
|
1743
|
-
Set `isDisabled` on SortableList while saving: the same handles stay visible and focusable, marked `aria-disabled`, and cannot start a drag. A drop after disabling cannot change order. Row content is yours to disable. Set `isDisabled` on an individual SortableListItem to disable only its handle. `onDragStart(id)`, `onDragEnd(id)` and `onDragCancel(id)` report pointer and keyboard drags; use the start callback to collapse details, and rows are measured again when the dragged row changes size. Escape during a drag cancels only the drag; an enclosing Modal or Drawer stays open until the next Escape. The forwarded ref and native list attributes target the `ul`.
|
|
1795
|
+
Set `isDisabled` on SortableList while saving: the same handles stay visible and focusable, marked `aria-disabled`, and cannot start a drag. A drop after disabling cannot change order. Row content is yours to disable. Set `isDisabled` on an individual SortableListItem to disable only its handle. `handleDescribedBy` adds element IDs that describe the handle after its drag instructions, such as why a row is restricted. `onDragStart(id)`, `onDragEnd(id)` and `onDragCancel(id)` report pointer and keyboard drags; use the start callback to collapse details, and rows are measured again when the dragged row changes size. Escape during a drag cancels only the drag; an enclosing Modal or Drawer stays open until the next Escape. The forwarded ref and native list attributes target the `ul`.
|
|
1744
1796
|
|
|
1745
1797
|
### AssetCard
|
|
1746
1798
|
|
|
@@ -1940,7 +1992,7 @@ npm run fallow:report
|
|
|
1940
1992
|
|
|
1941
1993
|
Storybook runs on port 6006. Stories/tests live beside each family. `npm run validate` runs ESLint, Stylelint, formatting checks, TypeScript, tests with coverage, the Storybook build, package lint/type checks, packed ESM/CommonJS smoke checks on React 18/19, and Fallow. `npm run format` rewrites formatting; `npm run lint` checks it. The aggregate stylesheet order is checked by tests.
|
|
1942
1994
|
|
|
1943
|
-
`npm run fallow` checks dead code, duplication, and cyclomatic/cognitive complexity without writing reports. `npm run test:coverage && npm run fallow:report` refreshes
|
|
1995
|
+
`npm run fallow` checks dead code, duplication, and cyclomatic/cognitive complexity without writing reports. `npm run test:coverage && npm run fallow:report` refreshes the local, Git-ignored `reports/fallow-report.md` and `reports/fallow-report.json` with current coverage. Estimated change-risk advisories stay visible and non-blocking; confirmed findings fail both commands. Keep the tracked original baseline and thresholds.
|
|
1944
1996
|
|
|
1945
1997
|
### Publishing
|
|
1946
1998
|
|
|
@@ -1965,6 +2017,8 @@ override the collection's defaults (`md`, menus opening upward, enabled). Paging
|
|
|
1965
2017
|
stays operable while a page loads, so focus stays on the pressed Next or Previous
|
|
1966
2018
|
button; pass `pagination.isDisabled` to lock it. A pending selection also locks it.
|
|
1967
2019
|
Optional `filter`, `mine`, `view`, `selection` and `actions` configure the toolbar.
|
|
2020
|
+
The grid/table `view` switch uses an attached ButtonGroup with pressed-state
|
|
2021
|
+
styling and a shared border between its two buttons.
|
|
1968
2022
|
The selected count is announced from a status region present before selection.
|
|
1969
2023
|
When Clear or a selection action leaves with focus, focus returns to the title.
|
|
1970
2024
|
The application owns filtering, records, eligibility, selection and requests.
|