@wrdagency/blockout 0.1.10 → 1.0.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/dist/2NBKRL7C-DHf-2xkD.js +85 -0
- package/dist/{2RSXSRCN-qt84MtKs.js → 2RSXSRCN-bkYY_QT6.js} +23 -23
- package/dist/{4CMBR7SL-BAGv8IL2.js → 4CMBR7SL-BkCeHgv2.js} +31 -31
- package/dist/{5JTVDSTH-CG1NL6Fw.js → 5JTVDSTH-BiHTUReD.js} +27 -27
- package/dist/{5VQZOHHZ-CscZGerP.js → 5VQZOHHZ-BpLDJOFs.js} +1 -1
- package/dist/{6VRAQV3D-2rb_aClP.js → 6VRAQV3D-DIdyGLyW.js} +26 -26
- package/dist/A3WPL2ZJ-SF-cbtmp.js +11 -0
- package/dist/ArrowBendDownRight.es-mejk84um.js +32 -0
- package/dist/BM6PGYQY-D4-MwCVB.js +17 -0
- package/dist/{CaretDown.es-eySGHzTJ.js → CaretDown.es-BKFnosGJ.js} +3 -5
- package/dist/CaretDown.es-eyr5AnCc.js +8 -0
- package/dist/CaretLeft.es-C1wX08tw.js +32 -0
- package/dist/CaretRight.es-vnr78BGI.js +32 -0
- package/dist/DG5U6ZEL-u5QgMA8f.js +17 -0
- package/dist/DotsSixVertical.es-Ixbhxg7Z.js +38 -0
- package/dist/DotsThreeVertical.es-uadrGk3y.js +36 -0
- package/dist/EM5CXX6A-iTR0FDQv.js +14 -0
- package/dist/F5MUBM3I-Cv5aLv5o.js +54 -0
- package/dist/G7GW6PWC-FbNigUHQ.js +1236 -0
- package/dist/J2LQO3EC-DIOM09Y6.js +39 -0
- package/dist/KFH4SEIX-BuapSU1b.js +120 -0
- package/dist/{LMDWO4NN--KEvZePp.js → LMDWO4NN-DyBcLLfK.js} +60 -60
- package/dist/MR26YJYP-BdwVX8xi.js +283 -0
- package/dist/MTZPJQMC-DMklE0XE.js +12 -0
- package/dist/MagnifyingGlass.es-CLstwG_v.js +32 -0
- package/dist/O2PQ2652-CRn371N3.js +51 -0
- package/dist/P7GR5CS5-Btbh4-Mw.js +24 -0
- package/dist/{PFRGBC2K-BEg8ahbY.js → PFRGBC2K-DobANx7W.js} +93 -93
- package/dist/{RS7LB2H4-D0fWv5qu.js → RS7LB2H4-lmOMNc4h.js} +3 -3
- package/dist/RZ4GPYOB-1GOhO1-l.js +37 -0
- package/dist/RadioButton.es-D3QVjfF9.js +36 -0
- package/dist/{S43UC3DV-Dn8EFLaT.js → S43UC3DV-C5JWPIhF.js} +5 -5
- package/dist/{T7VMP3TM-DeRMoW8g.js → T7VMP3TM-DRNGQJpZ.js} +17 -17
- package/dist/{TP7N7UIH-BHb1rEeb.js → TP7N7UIH-DlW_S-4B.js} +13 -13
- package/dist/{UQQRIHDV-Bu8e1bYU.js → UQQRIHDV-eF2M9Cz2.js} +16 -16
- package/dist/{UYGDZTLQ-DcCmv5SE.js → UYGDZTLQ-DRLNvYE6.js} +4 -4
- package/dist/VIIRIBF3-DX-Wjw1-.js +18 -0
- package/dist/WMYDSCNQ-YGSwAHQE.js +62 -0
- package/dist/WYCIER3C-DndYR0iO.js +59 -0
- package/dist/X.es-TbGOnXOO.js +38 -0
- package/dist/{YV4JVR4I-kvospPUa.js → YV4JVR4I-DOlaib2E.js} +33 -33
- package/dist/assets/button.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/prosemirror.css +1 -0
- package/dist/assets/root.css +1 -0
- package/dist/assets/style.css +1 -1
- package/dist/assets/style10.css +1 -0
- package/dist/assets/style11.css +1 -0
- package/dist/assets/style12.css +1 -0
- package/dist/assets/style13.css +1 -0
- package/dist/assets/style14.css +1 -0
- package/dist/assets/style15.css +1 -0
- package/dist/assets/style16.css +1 -0
- package/dist/assets/style17.css +1 -0
- package/dist/assets/style18.css +1 -0
- package/dist/assets/style19.css +1 -0
- package/dist/assets/style2.css +1 -1
- package/dist/assets/style20.css +1 -0
- package/dist/assets/style21.css +1 -0
- package/dist/assets/style22.css +1 -0
- package/dist/assets/style23.css +1 -0
- package/dist/assets/style24.css +1 -0
- package/dist/assets/style25.css +1 -0
- package/dist/assets/style3.css +1 -1
- package/dist/assets/style4.css +1 -1
- package/dist/assets/style5.css +1 -0
- package/dist/assets/style6.css +1 -0
- package/dist/assets/style7.css +1 -0
- package/dist/assets/style8.css +1 -0
- package/dist/assets/style9.css +1 -0
- package/dist/assets/styles2.css +1 -0
- package/dist/assets/styles3.css +1 -0
- package/dist/assets/styles4.css +1 -0
- package/dist/assets/styles5.css +1 -0
- package/dist/base-jB1DIMnz.js +559 -0
- package/dist/commands-IQnqt4xL.js +5937 -0
- package/dist/components/avatar/index.d.ts +10 -0
- package/dist/components/avatar/index.js +42 -0
- package/dist/components/badge/index.d.ts +7 -0
- package/dist/components/badge/index.js +24 -0
- package/dist/components/breadcrumbs/index.d.ts +2 -1
- package/dist/components/breadcrumbs/index.js +31 -63
- package/dist/components/breadcrumbs/types.d.ts +2 -1
- package/dist/components/button/button.d.ts +1 -0
- package/dist/components/button/icon.js +31 -10
- package/dist/components/controls/base-control/affix.d.ts +1 -1
- package/dist/components/controls/base-control/index.js +35 -23
- package/dist/components/controls/base-control/props.d.ts +9 -1
- package/dist/components/controls/base-control/props.js +31 -12
- package/dist/components/controls/base-popover-control/index.js +41 -27
- package/dist/components/controls/card-number-control/cards/index.d.ts +0 -1
- package/dist/components/controls/card-number-control/cards/index.js +6 -8
- package/dist/components/controls/card-number-control/index.js +39 -435
- package/dist/components/controls/checkbox-control/index.d.ts +2 -0
- package/dist/components/controls/checkbox-control/index.js +80 -46
- package/dist/components/controls/choice-control/choice.js +30 -23
- package/dist/components/controls/choice-control/index.js +6 -5
- package/dist/components/controls/date-control/component.d.ts +8 -7
- package/dist/components/controls/date-control/component.js +27 -28
- package/dist/components/controls/date-control/index.d.ts +5 -9
- package/dist/components/controls/date-control/index.js +131 -35
- package/dist/components/controls/date-control/picker.d.ts +8 -0
- package/dist/components/controls/date-control/picker.js +18 -0
- package/dist/components/controls/date-control/types.d.ts +10 -13
- package/dist/components/controls/date-control/types.js +75 -52
- package/dist/components/controls/date-control/util.d.ts +1 -0
- package/dist/components/controls/date-control/util.js +1608 -0
- package/dist/components/controls/index.d.ts +3 -1
- package/dist/components/controls/index.js +32 -27
- package/dist/components/controls/list-control/index.d.ts +9 -0
- package/dist/components/controls/list-control/index.js +42 -0
- package/dist/components/controls/list-control/item.d.ts +10 -0
- package/dist/components/controls/list-control/item.js +108 -0
- package/dist/components/controls/list-control/list.d.ts +10 -0
- package/dist/components/controls/list-control/list.js +89 -0
- package/dist/components/controls/list-control/types.d.ts +6 -0
- package/dist/components/controls/markdown-control/commands.d.ts +1 -0
- package/dist/components/controls/markdown-control/commands.js +5 -0
- package/dist/components/controls/markdown-control/editor.d.ts +8 -0
- package/dist/components/controls/markdown-control/editor.js +807 -0
- package/dist/components/controls/markdown-control/index.d.ts +7 -0
- package/dist/components/controls/markdown-control/index.js +20 -0
- package/dist/components/controls/markdown-control/slash/base.d.ts +14 -0
- package/dist/components/controls/markdown-control/slash/base.js +9 -0
- package/dist/components/controls/markdown-control/slash/mentions.d.ts +6 -0
- package/dist/components/controls/markdown-control/slash/mentions.js +14 -0
- package/dist/components/controls/markdown-control/toolbar.d.ts +6 -0
- package/dist/components/controls/markdown-control/toolbar.js +10 -0
- package/dist/components/controls/number-control/index.js +8 -7
- package/dist/components/controls/password-control/index.js +4 -3
- package/dist/components/controls/recurrence-control/index.js +81 -100
- package/dist/components/controls/select-control/control.d.ts +3 -0
- package/dist/components/controls/select-control/control.js +53 -0
- package/dist/components/controls/select-control/index.d.ts +2 -1
- package/dist/components/controls/select-control/index.js +6 -5
- package/dist/components/controls/select-control/props.d.ts +14 -0
- package/dist/components/controls/select-control/props.js +1 -0
- package/dist/components/controls/select-control/select.d.ts +3 -0
- package/dist/components/controls/select-control/select.js +1186 -0
- package/dist/components/controls/text-control/index.js +11 -10
- package/dist/components/controls/textarea-control/index.js +7 -6
- package/dist/components/controls/toggle-control/index.d.ts +4 -3
- package/dist/components/controls/toggle-control/index.js +73 -53
- package/dist/components/controls/toggle-group-control/index.d.ts +1 -0
- package/dist/components/controls/toggle-group-control/index.js +35 -26
- package/dist/components/data-form/api.d.ts +2 -0
- package/dist/components/data-form/api.js +1826 -0
- package/dist/components/data-form/autosave.d.ts +4 -0
- package/dist/components/data-form/autosave.js +12 -0
- package/dist/components/data-form/context.d.ts +10 -0
- package/dist/components/data-form/context.js +10 -0
- package/dist/components/data-form/form.d.ts +11 -0
- package/dist/components/data-form/form.js +30 -0
- package/dist/components/data-form/index.js +14 -0
- package/dist/components/data-form/row.d.ts +7 -0
- package/dist/components/data-form/row.js +16 -0
- package/dist/components/data-form/status.d.ts +6 -0
- package/dist/components/data-form/status.js +37 -0
- package/dist/components/data-form/submit.d.ts +10 -0
- package/dist/components/data-form/submit.js +37 -0
- package/dist/components/data-form/types.d.ts +37 -0
- package/dist/components/data-form/types.js +1 -0
- package/dist/components/data-view/api.d.ts +24 -0
- package/dist/components/data-view/api.js +31 -0
- package/dist/components/data-view/data/apply.d.ts +10 -0
- package/dist/components/data-view/data/apply.js +346 -0
- package/dist/components/data-view/data/fields.d.ts +4 -0
- package/dist/components/data-view/data/fields.js +26 -0
- package/dist/components/data-view/data/filter.d.ts +8 -0
- package/dist/components/data-view/data/filter.js +48 -0
- package/dist/components/data-view/data/layout.d.ts +2 -0
- package/dist/components/data-view/data/layout.js +19 -0
- package/dist/components/data-view/data/normalize.d.ts +5 -0
- package/dist/components/data-view/data/normalize.js +80 -0
- package/dist/components/data-view/data/options.d.ts +10 -0
- package/dist/components/data-view/data/options.js +297 -0
- package/dist/components/data-view/index.d.ts +5 -0
- package/dist/components/data-view/index.js +9 -0
- package/dist/components/data-view/layouts/grid/empty.d.ts +2 -0
- package/dist/components/data-view/layouts/grid/empty.js +6 -0
- package/dist/components/data-view/layouts/grid/group.d.ts +2 -0
- package/dist/components/data-view/layouts/grid/group.js +57 -0
- package/dist/components/data-view/layouts/grid/index.d.ts +3 -0
- package/dist/components/data-view/layouts/grid/index.js +8 -0
- package/dist/components/data-view/layouts/grid/item.d.ts +2 -0
- package/dist/components/data-view/layouts/grid/item.js +98 -0
- package/dist/components/data-view/layouts/grid/root.d.ts +2 -0
- package/dist/components/data-view/layouts/grid/root.js +6 -0
- package/dist/components/data-view/layouts/kanban/empty.d.ts +2 -0
- package/dist/components/data-view/layouts/kanban/empty.js +6 -0
- package/dist/components/data-view/layouts/kanban/group.d.ts +2 -0
- package/dist/components/data-view/layouts/kanban/group.js +57 -0
- package/dist/components/data-view/layouts/kanban/index.d.ts +3 -0
- package/dist/components/data-view/layouts/kanban/index.js +8 -0
- package/dist/components/data-view/layouts/kanban/item.d.ts +2 -0
- package/dist/components/data-view/layouts/kanban/item.js +98 -0
- package/dist/components/data-view/layouts/kanban/root.d.ts +2 -0
- package/dist/components/data-view/layouts/kanban/root.js +18 -0
- package/dist/components/data-view/layouts/list/empty.d.ts +2 -0
- package/dist/components/data-view/layouts/list/empty.js +6 -0
- package/dist/components/data-view/layouts/list/group.d.ts +2 -0
- package/dist/components/data-view/layouts/list/group.js +57 -0
- package/dist/components/data-view/layouts/list/index.d.ts +3 -0
- package/dist/components/data-view/layouts/list/index.js +8 -0
- package/dist/components/data-view/layouts/list/item.d.ts +2 -0
- package/dist/components/data-view/layouts/list/item.js +77 -0
- package/dist/components/data-view/layouts/list/root.d.ts +2 -0
- package/dist/components/data-view/layouts/list/root.js +6 -0
- package/dist/components/data-view/layouts/table/empty.d.ts +2 -0
- package/dist/components/data-view/layouts/table/empty.js +54 -0
- package/dist/components/data-view/layouts/table/group.d.ts +2 -0
- package/dist/components/data-view/layouts/table/group.js +67 -0
- package/dist/components/data-view/layouts/table/index.d.ts +3 -0
- package/dist/components/data-view/layouts/table/index.js +8 -0
- package/dist/components/data-view/layouts/table/item.d.ts +2 -0
- package/dist/components/data-view/layouts/table/item.js +77 -0
- package/dist/components/data-view/layouts/table/root.d.ts +2 -0
- package/dist/components/data-view/layouts/table/root.js +134 -0
- package/dist/components/data-view/parts/body/empty.d.ts +2 -0
- package/dist/components/data-view/parts/body/empty.js +50 -0
- package/dist/components/data-view/parts/body/index.d.ts +2 -0
- package/dist/components/data-view/parts/body/index.js +64 -0
- package/dist/components/data-view/parts/controls/index.d.ts +5 -0
- package/dist/components/data-view/parts/controls/index.js +139 -0
- package/dist/components/data-view/parts/controls/search.d.ts +5 -0
- package/dist/components/data-view/parts/controls/search.js +77 -0
- package/dist/components/data-view/parts/filters/chip.d.ts +13 -0
- package/dist/components/data-view/parts/filters/chip.js +53 -0
- package/dist/components/data-view/parts/filters/editor.d.ts +10 -0
- package/dist/components/data-view/parts/filters/editor.js +89 -0
- package/dist/components/data-view/parts/filters/index.js +9 -0
- package/dist/components/data-view/parts/filters/list.d.ts +11 -0
- package/dist/components/data-view/parts/filters/list.js +108 -0
- package/dist/components/data-view/parts/filters/utils.d.ts +2 -0
- package/dist/components/data-view/parts/filters/utils.js +13 -0
- package/dist/components/data-view/parts/footer/actions.d.ts +2 -0
- package/dist/components/data-view/parts/footer/actions.js +104 -0
- package/dist/components/data-view/parts/footer/index.js +68 -0
- package/dist/components/data-view/parts/footer/selection.d.ts +2 -0
- package/dist/components/data-view/parts/footer/selection.js +61 -0
- package/dist/components/data-view/parts/index.d.ts +5 -0
- package/dist/components/data-view/parts/index.js +12 -0
- package/dist/components/data-view/parts/view-control/index.d.ts +6 -0
- package/dist/components/data-view/parts/view-control/index.js +215 -0
- package/dist/components/data-view/root.d.ts +18 -0
- package/dist/components/data-view/root.js +105 -0
- package/dist/components/data-view/slots/group/checkbox.d.ts +7 -0
- package/dist/components/data-view/slots/group/checkbox.js +41 -0
- package/dist/components/data-view/slots/group/context.d.ts +12 -0
- package/dist/components/data-view/slots/group/context.js +23 -0
- package/dist/components/data-view/slots/group/icon.d.ts +1 -0
- package/dist/components/data-view/slots/group/icon.js +4 -0
- package/dist/components/data-view/slots/group/index.js +5 -0
- package/dist/components/data-view/slots/group/label.d.ts +3 -0
- package/dist/components/data-view/slots/group/label.js +5 -0
- package/dist/components/data-view/slots/index.d.ts +4 -0
- package/dist/components/data-view/slots/index.js +9 -0
- package/dist/components/data-view/slots/item/actions.d.ts +6 -0
- package/dist/components/data-view/slots/item/actions.js +44 -0
- package/dist/components/data-view/slots/item/checkbox.d.ts +7 -0
- package/dist/components/data-view/slots/item/checkbox.js +87 -0
- package/dist/components/data-view/slots/item/context.d.ts +8 -0
- package/dist/components/data-view/slots/item/context.js +10 -0
- package/dist/components/data-view/slots/item/depth.d.ts +3 -0
- package/dist/components/data-view/slots/item/depth.js +9 -0
- package/dist/components/data-view/slots/item/description.d.ts +3 -0
- package/dist/components/data-view/slots/item/description.js +6 -0
- package/dist/components/data-view/slots/item/index.js +8 -0
- package/dist/components/data-view/slots/item/properties.d.ts +13 -0
- package/dist/components/data-view/slots/item/properties.js +8 -0
- package/dist/components/data-view/slots/item/relations.d.ts +7 -0
- package/dist/components/data-view/slots/item/relations.js +21 -0
- package/dist/components/data-view/slots/item/tags.d.ts +6 -0
- package/dist/components/data-view/slots/item/tags.js +7 -0
- package/dist/components/data-view/slots/item/thumbnail.d.ts +6 -0
- package/dist/components/data-view/slots/item/thumbnail.js +6 -0
- package/dist/components/data-view/slots/item/title.d.ts +3 -0
- package/dist/components/data-view/slots/item/title.js +17 -0
- package/dist/components/data-view/slots/item/util.d.ts +6 -0
- package/dist/components/data-view/slots/item/util.js +6 -0
- package/dist/components/data-view/slots/property/context.d.ts +8 -0
- package/dist/components/data-view/slots/property/context.js +10 -0
- package/dist/components/data-view/slots/property/field/editable.d.ts +3 -0
- package/dist/components/data-view/slots/property/field/editable.js +42 -0
- package/dist/components/data-view/slots/property/field/index.d.ts +3 -0
- package/dist/components/data-view/slots/property/field/index.js +7 -0
- package/dist/components/data-view/slots/property/field/static.d.ts +8 -0
- package/dist/components/data-view/slots/property/field/static.js +7 -0
- package/dist/components/data-view/slots/property/field/types.d.ts +5 -0
- package/dist/components/data-view/slots/property/field/types.js +1 -0
- package/dist/components/data-view/slots/property/index.js +5 -0
- package/dist/components/data-view/slots/property/label.d.ts +7 -0
- package/dist/components/data-view/slots/property/label.js +5 -0
- package/dist/components/data-view/slots/root/checkbox.d.ts +7 -0
- package/dist/components/data-view/slots/root/checkbox.js +40 -0
- package/dist/components/data-view/slots/root/context.d.ts +25 -0
- package/dist/components/data-view/slots/root/context.js +11 -0
- package/dist/components/data-view/slots/root/index.js +5 -0
- package/dist/components/data-view/types/actions.d.ts +15 -0
- package/dist/components/data-view/types/actions.js +1 -0
- package/dist/components/data-view/types/fields.d.ts +69 -0
- package/dist/components/data-view/types/fields.js +1 -0
- package/dist/components/data-view/types/filters.d.ts +19 -0
- package/dist/components/data-view/types/filters.js +1 -0
- package/dist/components/data-view/types/hierarchy.d.ts +13 -0
- package/dist/components/data-view/types/hierarchy.js +1 -0
- package/dist/components/data-view/types/index.d.ts +3 -0
- package/dist/components/data-view/types/index.js +1 -0
- package/dist/components/data-view/types/view.d.ts +47 -0
- package/dist/components/data-view/types/view.js +1 -0
- package/dist/components/filesystem/file.js +1 -1
- package/dist/components/filesystem/folder.js +46 -45
- package/dist/components/filesystem/index.js +1 -1
- package/dist/components/filesystem/list.js +1 -1
- package/dist/components/filesystem/root.js +1 -1
- package/dist/components/form/components/pagination.js +72 -17
- package/dist/components/index.d.ts +7 -2
- package/dist/components/index.js +69 -50
- package/dist/components/menu/index.d.ts +4 -0
- package/dist/components/menu/index.js +40 -129
- package/dist/components/menu/item.js +1 -1
- package/dist/components/menu/items/action.js +2 -1
- package/dist/components/menu/items/spacer.js +5 -5
- package/dist/components/menu/items/submenu.js +4 -3
- package/dist/components/menu/items/toggle.js +11 -10
- package/dist/components/menu/types.d.ts +1 -0
- package/dist/components/pagination/index.d.ts +10 -0
- package/dist/components/pagination/index.js +63 -0
- package/dist/components/progress/index.d.ts +2 -1
- package/dist/components/progress/index.js +29 -20
- package/dist/components/shell/index.js +8 -0
- package/dist/components/shell/pane.d.ts +9 -0
- package/dist/components/shell/pane.js +38 -0
- package/dist/components/shell/root.d.ts +6 -0
- package/dist/components/shell/root.js +18 -0
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/list.js +6 -6
- package/dist/components/tabs/panel.js +36 -35
- package/dist/components/tabs/root.js +42 -42
- package/dist/components/tabs/tab.js +15 -15
- package/dist/components/tag/index.js +8 -0
- package/dist/components/tag/list.d.ts +8 -0
- package/dist/components/tag/list.js +10 -0
- package/dist/components/tag/tag.d.ts +8 -0
- package/dist/components/tag/tag.js +26 -0
- package/dist/components/tag/types.d.ts +6 -0
- package/dist/components/tag/types.js +1 -0
- package/dist/components/toolbar/divider.d.ts +6 -0
- package/dist/components/toolbar/divider.js +24 -0
- package/dist/components/toolbar/index.js +19 -15
- package/dist/components/toolbar/root.js +67 -4
- package/dist/components/window/index.d.ts +8 -0
- package/dist/components/window/index.js +54 -0
- package/dist/{composite-provider-DNftbE5U.js → composite-provider-cs4korvf.js} +4 -4
- package/dist/filter-HYEwffYa.js +133 -0
- package/dist/floating-ui.dom-2MezWvgs.js +1070 -0
- package/dist/hooks/index.d.ts +4 -1
- package/dist/hooks/index.js +10 -4
- package/dist/hooks/input.js +13 -13
- package/dist/hooks/keyboard.d.ts +7 -0
- package/dist/hooks/keyboard.js +40 -0
- package/dist/hooks/selection.d.ts +19 -0
- package/dist/hooks/selection.js +57 -0
- package/dist/hooks/state.js +3 -3
- package/dist/hooks/temporary.d.ts +7 -0
- package/dist/hooks/temporary.js +12 -0
- package/dist/index-C2R91pmO.js +251 -0
- package/dist/index-CwFPDtaz.js +172 -0
- package/dist/index-D7vLJIGX.js +90 -0
- package/dist/index-DgyEPQBp.js +55 -0
- package/dist/index-EPj3dCzl.js +16324 -0
- package/dist/index-EQOyE9yF.js +73 -0
- package/dist/index.js +112 -63
- package/dist/item-B72AQ4I4.js +470 -0
- package/dist/picker-D0DleQso.js +858 -0
- package/dist/primitives/colourway/index.d.ts +9 -0
- package/dist/primitives/colourway/index.js +26 -0
- package/dist/primitives/colourway/util.d.ts +2 -0
- package/dist/primitives/colourway/util.js +146 -0
- package/dist/primitives/icon-label/index.d.ts +8 -0
- package/dist/primitives/icon-label/index.js +23 -0
- package/dist/primitives/index.d.ts +7 -0
- package/dist/primitives/index.js +34 -10
- package/dist/primitives/link/index.d.ts +5 -0
- package/dist/primitives/link/index.js +24 -0
- package/dist/primitives/popover/index.js +10 -0
- package/dist/primitives/popover/root.d.ts +10 -0
- package/dist/primitives/popover/root.js +5 -0
- package/dist/primitives/popover/target.d.ts +7 -0
- package/dist/primitives/popover/target.js +18 -0
- package/dist/primitives/popover/window.d.ts +6 -0
- package/dist/primitives/popover/window.js +38 -0
- package/dist/primitives/resizable/index.js +43 -32
- package/dist/primitives/scroll-area/index.js +4 -5
- package/dist/primitives/symbol/danger.d.ts +6 -0
- package/dist/primitives/symbol/danger.js +83 -0
- package/dist/primitives/symbol/index.d.ts +5 -0
- package/dist/primitives/symbol/index.js +12 -0
- package/dist/primitives/symbol/progress.d.ts +6 -0
- package/dist/primitives/symbol/progress.js +162 -0
- package/dist/primitives/symbol/types.d.ts +5 -0
- package/dist/primitives/symbol/types.js +1 -0
- package/dist/primitives/tooltip/index.d.ts +7 -0
- package/dist/primitives/tooltip/index.js +178 -0
- package/dist/primitives/truncate/index.js +14 -13
- package/dist/primitives/typography/heading.d.ts +16 -0
- package/dist/primitives/typography/heading.js +50 -0
- package/dist/primitives/typography/index.d.ts +2 -0
- package/dist/primitives/typography/index.js +12 -0
- package/dist/primitives/typography/paragraph.d.ts +9 -0
- package/dist/primitives/typography/paragraph.js +25 -0
- package/dist/protectedTokens-DdjZoCxO.js +587 -0
- package/dist/root-j6NM_Xfo.js +20 -0
- package/dist/sortable.esm-De3H-_AA.js +3009 -0
- package/dist/style-A7_0w2WD.js +397 -0
- package/dist/style-Bp4uISf6.js +670 -0
- package/dist/toolbar-j1SJvq8D.js +6283 -0
- package/dist/types/component.d.ts +1 -0
- package/dist/types/options.d.ts +1 -0
- package/dist/types/options.js +8 -2
- package/dist/types/util.d.ts +1 -0
- package/dist/types/util.js +1 -0
- package/dist/utils/array.d.ts +1 -0
- package/dist/utils/array.js +9 -0
- package/dist/utils/components.d.ts +2 -1
- package/dist/utils/components.js +11 -7
- package/dist/utils/object.d.ts +1 -0
- package/dist/utils/object.js +8 -0
- package/dist/utils/url.d.ts +1 -0
- package/dist/utils/url.js +6 -0
- package/package.json +23 -3
- package/dist/2NBKRL7C-BAzCMGOw.js +0 -85
- package/dist/ArrowRight.es-xyNbtVOa.js +0 -60
- package/dist/DG5U6ZEL-CVj-Czp2.js +0 -17
- package/dist/F5MUBM3I-87B2_4WK.js +0 -54
- package/dist/MTZPJQMC-DyCWBG18.js +0 -14
- package/dist/P7GR5CS5-BoOYUfSQ.js +0 -19
- package/dist/RZ4GPYOB-13-5LlEb.js +0 -37
- package/dist/VIIRIBF3-D5DmZNtI.js +0 -26
- package/dist/WMYDSCNQ-Dy1O-Kdl.js +0 -2405
- package/dist/WYCIER3C-DRn904Gy.js +0 -175
- package/dist/components/block-editor/editor.d.ts +0 -5
- package/dist/components/block-editor/editor.js +0 -6
- package/dist/components/block-editor/index.d.ts +0 -1
- package/dist/components/block-editor/index.js +0 -4
- package/dist/components/controls/card-number-control/cards/generic.d.ts +0 -2
- package/dist/components/controls/card-number-control/cards/generic.js +0 -19
- package/dist/components/controls/select-control/component.d.ts +0 -12
- package/dist/components/controls/select-control/component.js +0 -1898
- package/dist/components/data-table/column.d.ts +0 -4
- package/dist/components/data-table/column.js +0 -874
- package/dist/components/data-table/context.d.ts +0 -7
- package/dist/components/data-table/context.js +0 -36
- package/dist/components/data-table/example.d.ts +0 -1
- package/dist/components/data-table/example.js +0 -5
- package/dist/components/data-table/footer.js +0 -23
- package/dist/components/data-table/header.d.ts +0 -7
- package/dist/components/data-table/header.js +0 -358
- package/dist/components/data-table/index.d.ts +0 -10
- package/dist/components/data-table/index.js +0 -86
- package/dist/components/data-table/types.d.ts +0 -75
- package/dist/hooks/theme.d.ts +0 -8
- package/dist/hooks/theme.js +0 -14
- package/dist/index-1AjPIqTN.js +0 -73
- package/dist/item-B1ugJ7YQ.js +0 -764
- package/dist/root-CaKPdqzv.js +0 -73
- /package/dist/components/{data-table → controls/list-control}/types.js +0 -0
- /package/dist/components/{data-table/footer.d.ts → data-view/parts/footer/index.d.ts} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Optionable } from '../../../types/options';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
export type FilterEditor<TValue = any> = FC<{
|
|
4
|
+
className?: string;
|
|
5
|
+
value: TValue;
|
|
6
|
+
onChangeValue: (value: TValue) => void;
|
|
7
|
+
options?: Optionable[];
|
|
8
|
+
}>;
|
|
9
|
+
export type FilterType<TField = any, TValue = any> = {
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
filterFn: (field: TField, value: TValue) => boolean;
|
|
13
|
+
editor?: FilterEditor<TValue>;
|
|
14
|
+
};
|
|
15
|
+
export type Filter = {
|
|
16
|
+
field: string;
|
|
17
|
+
type: string;
|
|
18
|
+
value: string | string[];
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type AccessorProps<TData extends object = object> = {
|
|
3
|
+
item: TData;
|
|
4
|
+
items: TData[];
|
|
5
|
+
};
|
|
6
|
+
export type ChildAccessor<TData extends object = object> = (opts: AccessorProps<TData>) => TData[];
|
|
7
|
+
export type ParentAccessor<TData extends object = object> = (opts: AccessorProps<TData>) => TData | undefined;
|
|
8
|
+
export type HierarchyDefinition<TData extends object = object> = {
|
|
9
|
+
getChildren: ChildAccessor<TData>;
|
|
10
|
+
getParent: ParentAccessor<TData>;
|
|
11
|
+
hasParent: (item: TData) => boolean;
|
|
12
|
+
getNodeIcon: (item: TData, position: "parent" | "child") => ReactNode;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Filter } from './filters';
|
|
2
|
+
import { TagObject } from '../../tag';
|
|
3
|
+
import { default as React, PropsWithChildren, ReactNode } from 'react';
|
|
4
|
+
import { Property } from './fields';
|
|
5
|
+
export type FieldVisibility = {
|
|
6
|
+
id: string;
|
|
7
|
+
visible: boolean;
|
|
8
|
+
};
|
|
9
|
+
export type RelationshipVisibilityLevel = "hidden" | "minimal" | "full";
|
|
10
|
+
export type View = {
|
|
11
|
+
layout: Layout;
|
|
12
|
+
fields: FieldVisibility[];
|
|
13
|
+
sortBy: string;
|
|
14
|
+
sortOrder: SortDirection;
|
|
15
|
+
groupBy: string | false;
|
|
16
|
+
groupOrder: SortDirection;
|
|
17
|
+
includeEmptyGroups: boolean;
|
|
18
|
+
page: number;
|
|
19
|
+
perPage: number;
|
|
20
|
+
search: string;
|
|
21
|
+
filters: Filter[];
|
|
22
|
+
relationships: RelationshipVisibilityLevel;
|
|
23
|
+
};
|
|
24
|
+
export type DataGroup<TData extends object = object> = {
|
|
25
|
+
id: string;
|
|
26
|
+
items: TData[];
|
|
27
|
+
label: ReactNode;
|
|
28
|
+
icon?: ReactNode;
|
|
29
|
+
};
|
|
30
|
+
export type SortDirection = "asc" | "desc";
|
|
31
|
+
export type PartialView = Omit<Partial<View>, "fields"> & {
|
|
32
|
+
fields?: string[];
|
|
33
|
+
};
|
|
34
|
+
export type Layout = "table" | "grid" | "kanban" | "list";
|
|
35
|
+
export type LayoutItem = {
|
|
36
|
+
id: string;
|
|
37
|
+
thumbnail?: string;
|
|
38
|
+
title?: ReactNode;
|
|
39
|
+
tags?: TagObject[];
|
|
40
|
+
description?: ReactNode;
|
|
41
|
+
properties: Property[];
|
|
42
|
+
};
|
|
43
|
+
export type LayoutComponent = React.FC<PropsWithChildren> & {
|
|
44
|
+
Group: React.FC<PropsWithChildren>;
|
|
45
|
+
Item: React.FC;
|
|
46
|
+
Empty: React.FC;
|
|
47
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -2,7 +2,7 @@ import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { cn as l } from "../../utils/css.js";
|
|
3
3
|
import { extension as c, filename as _ } from "../../utils/string.js";
|
|
4
4
|
import { Icon as a } from "./icon.js";
|
|
5
|
-
import { C as r } from "../../6VRAQV3D-
|
|
5
|
+
import { C as r } from "../../6VRAQV3D-DIdyGLyW.js";
|
|
6
6
|
const N = ({ name: e, href: s }) => {
|
|
7
7
|
const i = c(e), m = _(e), t = s ? "a" : "span";
|
|
8
8
|
return /* @__PURE__ */ n(
|
|
@@ -1,38 +1,39 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as l, jsxs as H } from "react/jsx-runtime";
|
|
2
2
|
import * as e from "react";
|
|
3
3
|
import { createContext as v, useContext as M, useState as u } from "react";
|
|
4
4
|
import { w as i } from "../../SSRBase.es-BUXS72ra.js";
|
|
5
5
|
import { List as E } from "./list.js";
|
|
6
|
-
import { u as _
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { C as
|
|
10
|
-
import { D as
|
|
11
|
-
|
|
6
|
+
import { u as _ } from "../../WYCIER3C-DndYR0iO.js";
|
|
7
|
+
import { c as g } from "../../RS7LB2H4-lmOMNc4h.js";
|
|
8
|
+
import { c as m, q as b, a as C, m as d, r as p, o as s, p as c, _ as A, j as F } from "../../LMDWO4NN-DyBcLLfK.js";
|
|
9
|
+
import { C as G } from "../../6VRAQV3D-DIdyGLyW.js";
|
|
10
|
+
import { D as y } from "../../F5MUBM3I-Cv5aLv5o.js";
|
|
11
|
+
import { D as N } from "../../KFH4SEIX-BuapSU1b.js";
|
|
12
|
+
var f = v(void 0), I = "div", h = m(
|
|
12
13
|
function(a) {
|
|
13
|
-
const t = M(f),
|
|
14
|
-
return
|
|
15
|
-
id:
|
|
14
|
+
const t = M(f), o = b(a.id);
|
|
15
|
+
return C(() => (t == null || t(o), () => t == null ? void 0 : t(void 0)), [t, o]), a = d({
|
|
16
|
+
id: o,
|
|
16
17
|
"aria-hidden": !0
|
|
17
18
|
}, a), p(a);
|
|
18
19
|
}
|
|
19
20
|
);
|
|
20
|
-
|
|
21
|
+
s(function(a) {
|
|
21
22
|
const t = h(a);
|
|
22
|
-
return
|
|
23
|
+
return c(I, t);
|
|
23
24
|
});
|
|
24
|
-
var w = "div", x =
|
|
25
|
-
var t = a, { store:
|
|
25
|
+
var w = "div", x = m(function(a) {
|
|
26
|
+
var t = a, { store: o } = t, n = A(t, ["store"]);
|
|
26
27
|
return n = h(n), n;
|
|
27
|
-
}), D =
|
|
28
|
+
}), D = s(function(a) {
|
|
28
29
|
const t = x(a);
|
|
29
|
-
return
|
|
30
|
-
}), P = "div", V =
|
|
30
|
+
return c(w, t);
|
|
31
|
+
}), P = "div", V = m(
|
|
31
32
|
function(a) {
|
|
32
|
-
const [t,
|
|
33
|
-
return a =
|
|
33
|
+
const [t, o] = u();
|
|
34
|
+
return a = F(
|
|
34
35
|
a,
|
|
35
|
-
(n) => /* @__PURE__ */
|
|
36
|
+
(n) => /* @__PURE__ */ l(f.Provider, { value: o, children: n }),
|
|
36
37
|
[]
|
|
37
38
|
), a = d({
|
|
38
39
|
role: "group",
|
|
@@ -40,24 +41,24 @@ var w = "div", x = s(function(a) {
|
|
|
40
41
|
}, a), p(a);
|
|
41
42
|
}
|
|
42
43
|
);
|
|
43
|
-
|
|
44
|
+
s(function(a) {
|
|
44
45
|
const t = V(a);
|
|
45
|
-
return
|
|
46
|
+
return c(P, t);
|
|
46
47
|
});
|
|
47
|
-
var O = "div",
|
|
48
|
+
var O = "div", j = m(
|
|
48
49
|
function(a) {
|
|
49
|
-
var t = a, { store:
|
|
50
|
+
var t = a, { store: o } = t, n = A(t, ["store"]);
|
|
50
51
|
return n = V(n), n;
|
|
51
52
|
}
|
|
52
|
-
),
|
|
53
|
-
const t =
|
|
54
|
-
return
|
|
53
|
+
), R = s(function(a) {
|
|
54
|
+
const t = j(a);
|
|
55
|
+
return c(O, t);
|
|
55
56
|
});
|
|
56
|
-
function
|
|
57
|
+
function T(r = {}) {
|
|
57
58
|
const a = _(r);
|
|
58
|
-
return /* @__PURE__ */
|
|
59
|
+
return /* @__PURE__ */ l(g, { value: a, children: r.children });
|
|
59
60
|
}
|
|
60
|
-
const
|
|
61
|
+
const $ = /* @__PURE__ */ new Map([
|
|
61
62
|
[
|
|
62
63
|
"bold",
|
|
63
64
|
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M216,68H133.39l-26-29.29a20,20,0,0,0-15-6.71H40A20,20,0,0,0,20,52V200.62A19.41,19.41,0,0,0,39.38,220H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68ZM44,56H90.61l10.67,12H44ZM212,196H44V92H212Z" }))
|
|
@@ -88,7 +89,7 @@ const j = /* @__PURE__ */ new Map([
|
|
|
88
89
|
"thin",
|
|
89
90
|
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M216,76H129.66L101.17,47.52A11.9,11.9,0,0,0,92.69,44H40A12,12,0,0,0,28,56V200.62A11.4,11.4,0,0,0,39.38,212H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76ZM36,56a4,4,0,0,1,4-4H92.69a4,4,0,0,1,2.82,1.17L118.34,76H36ZM220,200.89a3.12,3.12,0,0,1-3.11,3.11H39.38A3.39,3.39,0,0,1,36,200.62V84H216a4,4,0,0,1,4,4Z" }))
|
|
90
91
|
]
|
|
91
|
-
]), L = e.forwardRef((r, a) => /* @__PURE__ */ e.createElement(i, { ref: a, ...r, weights:
|
|
92
|
+
]), L = e.forwardRef((r, a) => /* @__PURE__ */ e.createElement(i, { ref: a, ...r, weights: $ }));
|
|
92
93
|
L.displayName = "FolderIcon";
|
|
93
94
|
const S = /* @__PURE__ */ new Map([
|
|
94
95
|
[
|
|
@@ -123,29 +124,29 @@ const S = /* @__PURE__ */ new Map([
|
|
|
123
124
|
]
|
|
124
125
|
]), Z = e.forwardRef((r, a) => /* @__PURE__ */ e.createElement(i, { ref: a, ...r, weights: S }));
|
|
125
126
|
Z.displayName = "FolderOpenIcon";
|
|
126
|
-
const
|
|
127
|
-
const [t,
|
|
128
|
-
return /* @__PURE__ */
|
|
129
|
-
|
|
127
|
+
const Y = ({ name: r, children: a }) => {
|
|
128
|
+
const [t, o] = u(!1);
|
|
129
|
+
return /* @__PURE__ */ l(T, { open: t, setOpen: o, children: /* @__PURE__ */ H(
|
|
130
|
+
R,
|
|
130
131
|
{
|
|
131
|
-
render: /* @__PURE__ */
|
|
132
|
+
render: /* @__PURE__ */ l("li", {}),
|
|
132
133
|
className: "component-filesystem__folder",
|
|
133
134
|
children: [
|
|
134
|
-
/* @__PURE__ */
|
|
135
|
-
|
|
135
|
+
/* @__PURE__ */ H(
|
|
136
|
+
G,
|
|
136
137
|
{
|
|
137
|
-
render: /* @__PURE__ */
|
|
138
|
+
render: /* @__PURE__ */ l(y, {}),
|
|
138
139
|
className: "component-filesystem__folder__line",
|
|
139
140
|
children: [
|
|
140
|
-
/* @__PURE__ */
|
|
141
|
-
/* @__PURE__ */
|
|
141
|
+
/* @__PURE__ */ l(t ? Z : L, { className: "component-filesystem__folder__icon" }),
|
|
142
|
+
/* @__PURE__ */ l(D, { className: "component-filesystem__folder__name", children: r })
|
|
142
143
|
]
|
|
143
144
|
}
|
|
144
145
|
),
|
|
145
|
-
a && /* @__PURE__ */
|
|
146
|
-
|
|
146
|
+
a && /* @__PURE__ */ l(
|
|
147
|
+
N,
|
|
147
148
|
{
|
|
148
|
-
render: /* @__PURE__ */
|
|
149
|
+
render: /* @__PURE__ */ l(E, {}),
|
|
149
150
|
className: "component-filesystem__folder__children",
|
|
150
151
|
unmountOnHide: !0,
|
|
151
152
|
children: a
|
|
@@ -156,5 +157,5 @@ const X = ({ name: r, children: a }) => {
|
|
|
156
157
|
) });
|
|
157
158
|
};
|
|
158
159
|
export {
|
|
159
|
-
|
|
160
|
+
Y as Folder
|
|
160
161
|
};
|
|
@@ -3,7 +3,7 @@ import { Folder as r } from "./folder.js";
|
|
|
3
3
|
import { Icon as m } from "./icon.js";
|
|
4
4
|
import { List as t } from "./list.js";
|
|
5
5
|
import { Root as i } from "./root.js";
|
|
6
|
-
import '../../assets/
|
|
6
|
+
import '../../assets/index6.css';const l = Object.assign(i, {
|
|
7
7
|
List: t,
|
|
8
8
|
File: o,
|
|
9
9
|
Folder: r,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { cn as e } from "../../utils/css.js";
|
|
3
3
|
import { forwardRef as s } from "react";
|
|
4
|
-
import { C as i } from "../../5JTVDSTH-
|
|
4
|
+
import { C as i } from "../../5JTVDSTH-BiHTUReD.js";
|
|
5
5
|
const c = s(
|
|
6
6
|
({ className: r, ...m }, t) => /* @__PURE__ */ o(
|
|
7
7
|
i,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { List as t } from "./list.js";
|
|
3
|
-
import { C as i } from "../../composite-provider-
|
|
3
|
+
import { C as i } from "../../composite-provider-cs4korvf.js";
|
|
4
4
|
const p = ({ ...r }) => /* @__PURE__ */ o(i, { orientation: "vertical", children: /* @__PURE__ */ o(t, { ...r }) });
|
|
5
5
|
export {
|
|
6
6
|
p as Root
|
|
@@ -1,16 +1,71 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as m, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { Button as o } from "../../button/index.js";
|
|
3
|
-
import { cn as
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
3
|
+
import { cn as h } from "../../../utils/css.js";
|
|
4
|
+
import * as e from "react";
|
|
5
|
+
import { w as i } from "../../../SSRBase.es-BUXS72ra.js";
|
|
6
|
+
import { useForm as E } from "../types/form.js";
|
|
7
|
+
const s = /* @__PURE__ */ new Map([
|
|
8
|
+
[
|
|
9
|
+
"bold",
|
|
10
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z" }))
|
|
11
|
+
],
|
|
12
|
+
[
|
|
13
|
+
"duotone",
|
|
14
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M112,56V200L40,128Z", opacity: "0.2" }), /* @__PURE__ */ e.createElement("path", { d: "M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z" }))
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
"fill",
|
|
18
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z" }))
|
|
19
|
+
],
|
|
20
|
+
[
|
|
21
|
+
"light",
|
|
22
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z" }))
|
|
23
|
+
],
|
|
24
|
+
[
|
|
25
|
+
"regular",
|
|
26
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z" }))
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
"thin",
|
|
30
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z" }))
|
|
31
|
+
]
|
|
32
|
+
]), u = e.forwardRef((a, l) => /* @__PURE__ */ e.createElement(i, { ref: l, ...a, weights: s }));
|
|
33
|
+
u.displayName = "ArrowLeftIcon";
|
|
34
|
+
const g = /* @__PURE__ */ new Map([
|
|
35
|
+
[
|
|
36
|
+
"bold",
|
|
37
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z" }))
|
|
38
|
+
],
|
|
39
|
+
[
|
|
40
|
+
"duotone",
|
|
41
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M216,128l-72,72V56Z", opacity: "0.2" }), /* @__PURE__ */ e.createElement("path", { d: "M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z" }))
|
|
42
|
+
],
|
|
43
|
+
[
|
|
44
|
+
"fill",
|
|
45
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z" }))
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
"light",
|
|
49
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z" }))
|
|
50
|
+
],
|
|
51
|
+
[
|
|
52
|
+
"regular",
|
|
53
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z" }))
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
"thin",
|
|
57
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z" }))
|
|
58
|
+
]
|
|
59
|
+
]), p = e.forwardRef((a, l) => /* @__PURE__ */ e.createElement(i, { ref: l, ...a, weights: g }));
|
|
60
|
+
p.displayName = "ArrowRightIcon";
|
|
61
|
+
const L = ({
|
|
7
62
|
className: a,
|
|
8
|
-
submitText:
|
|
9
|
-
...
|
|
63
|
+
submitText: l = "Submit",
|
|
64
|
+
...d
|
|
10
65
|
}) => {
|
|
11
|
-
const { step: t } =
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */
|
|
66
|
+
const { step: t } = E(), r = t.all[t.current - 2], n = t.all[t.current];
|
|
67
|
+
return /* @__PURE__ */ m("nav", { className: h("component-form-pagination", a), ...d, children: [
|
|
68
|
+
/* @__PURE__ */ m(
|
|
14
69
|
o,
|
|
15
70
|
{
|
|
16
71
|
wide: !0,
|
|
@@ -18,30 +73,30 @@ const h = ({
|
|
|
18
73
|
disabled: t.current === 1,
|
|
19
74
|
onClick: t.back,
|
|
20
75
|
children: [
|
|
21
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ c(u, {}),
|
|
22
77
|
`Back${r != null && r.title ? `: ${r.title}` : ""}`
|
|
23
78
|
]
|
|
24
79
|
},
|
|
25
80
|
t.current + "back"
|
|
26
81
|
),
|
|
27
|
-
t.current === t.max ? /* @__PURE__ */
|
|
82
|
+
t.current === t.max ? /* @__PURE__ */ c(
|
|
28
83
|
o,
|
|
29
84
|
{
|
|
30
85
|
wide: !0,
|
|
31
86
|
variant: "primary",
|
|
32
87
|
type: "submit",
|
|
33
|
-
children:
|
|
88
|
+
children: l
|
|
34
89
|
},
|
|
35
90
|
t.current + "next"
|
|
36
|
-
) : /* @__PURE__ */
|
|
91
|
+
) : /* @__PURE__ */ m(
|
|
37
92
|
o,
|
|
38
93
|
{
|
|
39
94
|
wide: !0,
|
|
40
95
|
variant: "neutral",
|
|
41
96
|
onClick: t.next,
|
|
42
97
|
children: [
|
|
43
|
-
`Next${
|
|
44
|
-
/* @__PURE__ */
|
|
98
|
+
`Next${n != null && n.title ? `: ${n.title}` : ""}`,
|
|
99
|
+
/* @__PURE__ */ c(p, {})
|
|
45
100
|
]
|
|
46
101
|
},
|
|
47
102
|
t.current + "next"
|
|
@@ -49,5 +104,5 @@ const h = ({
|
|
|
49
104
|
] });
|
|
50
105
|
};
|
|
51
106
|
export {
|
|
52
|
-
|
|
107
|
+
L as FormPagination
|
|
53
108
|
};
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { Avatar } from './avatar';
|
|
2
|
+
export { Badge } from './badge';
|
|
2
3
|
export { Breadcrumbs } from './breadcrumbs';
|
|
3
4
|
export { Button } from './button';
|
|
4
5
|
export * from './controls';
|
|
5
|
-
export {
|
|
6
|
+
export { DataForm } from './data-form';
|
|
7
|
+
export { DataView, Filters, useSchema, useView, type View } from './data-view';
|
|
6
8
|
export { Filesystem } from './filesystem';
|
|
7
9
|
export { createForm, Form } from './form';
|
|
8
10
|
export { Menu } from './menu';
|
|
9
11
|
export { Progress } from './progress';
|
|
12
|
+
export { Shell } from './shell';
|
|
10
13
|
export { Tabs } from './tabs';
|
|
14
|
+
export { Tag } from './tag';
|
|
11
15
|
export { Toolbar } from './toolbar';
|
|
16
|
+
export { Window } from './window';
|
package/dist/components/index.js
CHANGED
|
@@ -1,54 +1,73 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Avatar as e } from "./avatar/index.js";
|
|
2
|
+
import { Badge as m } from "./badge/index.js";
|
|
2
3
|
import { Breadcrumbs as p } from "./breadcrumbs/index.js";
|
|
3
|
-
import { Button as
|
|
4
|
-
import { BaseControl as
|
|
5
|
-
import { CardNumberControl as
|
|
6
|
-
import { CheckboxControl as
|
|
7
|
-
import { ChoiceControl as
|
|
8
|
-
import { DateControl as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
4
|
+
import { Button as l } from "./button/index.js";
|
|
5
|
+
import { BaseControl as n } from "./controls/base-control/index.js";
|
|
6
|
+
import { CardNumberControl as s } from "./controls/card-number-control/index.js";
|
|
7
|
+
import { CheckboxControl as u } from "./controls/checkbox-control/index.js";
|
|
8
|
+
import { ChoiceControl as g } from "./controls/choice-control/index.js";
|
|
9
|
+
import { DateControl as b } from "./controls/date-control/index.js";
|
|
10
|
+
import { ListControl as w } from "./controls/list-control/index.js";
|
|
11
|
+
import { MarkdownControl as h } from "./controls/markdown-control/index.js";
|
|
12
|
+
import { NumberControl as S } from "./controls/number-control/index.js";
|
|
13
|
+
import { PasswordControl as k } from "./controls/password-control/index.js";
|
|
14
|
+
import { RecurrenceControl as N } from "./controls/recurrence-control/index.js";
|
|
15
|
+
import { SelectControl as R } from "./controls/select-control/control.js";
|
|
16
|
+
import { o as v } from "../options-Cfoqhxw2.js";
|
|
17
|
+
import { Select as A } from "./controls/select-control/select.js";
|
|
18
|
+
import { TextControl as L } from "./controls/text-control/index.js";
|
|
19
|
+
import { TextareaControl as W } from "./controls/textarea-control/index.js";
|
|
20
|
+
import { ToggleControl as q } from "./controls/toggle-control/index.js";
|
|
21
|
+
import { ToggleGroupControl as E } from "./controls/toggle-group-control/index.js";
|
|
22
|
+
import { DataForm as I } from "./data-form/index.js";
|
|
23
|
+
import { useSchema as K, useView as Q } from "./data-view/api.js";
|
|
24
|
+
import { f as X } from "../filter-HYEwffYa.js";
|
|
25
|
+
import { Root as Z } from "./data-view/root.js";
|
|
26
|
+
import { Filesystem as $ } from "./filesystem/index.js";
|
|
27
|
+
import { Form as ro } from "./form/components/index.js";
|
|
28
|
+
import { createForm as to } from "./form/types/form.js";
|
|
29
|
+
import { Menu as xo } from "./menu/index.js";
|
|
30
|
+
import { Progress as fo } from "./progress/index.js";
|
|
31
|
+
import { Shell as ao } from "./shell/index.js";
|
|
32
|
+
import { Tabs as Co } from "./tabs/index.js";
|
|
33
|
+
import { Tag as co } from "./tag/index.js";
|
|
34
|
+
import { Toolbar as io } from "./toolbar/index.js";
|
|
35
|
+
import { Window as To } from "./window/index.js";
|
|
27
36
|
export {
|
|
28
|
-
|
|
37
|
+
e as Avatar,
|
|
38
|
+
m as Badge,
|
|
39
|
+
n as BaseControl,
|
|
29
40
|
p as Breadcrumbs,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
L as
|
|
41
|
+
l as Button,
|
|
42
|
+
s as CardNumberControl,
|
|
43
|
+
u as CheckboxControl,
|
|
44
|
+
g as ChoiceControl,
|
|
45
|
+
I as DataForm,
|
|
46
|
+
Z as DataView,
|
|
47
|
+
b as DateControl,
|
|
48
|
+
$ as Filesystem,
|
|
49
|
+
X as Filters,
|
|
50
|
+
ro as Form,
|
|
51
|
+
w as ListControl,
|
|
52
|
+
h as MarkdownControl,
|
|
53
|
+
xo as Menu,
|
|
54
|
+
S as NumberControl,
|
|
55
|
+
v as Options,
|
|
56
|
+
k as PasswordControl,
|
|
57
|
+
fo as Progress,
|
|
58
|
+
N as RecurrenceControl,
|
|
59
|
+
A as Select,
|
|
60
|
+
R as SelectControl,
|
|
61
|
+
ao as Shell,
|
|
62
|
+
Co as Tabs,
|
|
63
|
+
co as Tag,
|
|
64
|
+
L as TextControl,
|
|
65
|
+
W as TextareaControl,
|
|
66
|
+
q as ToggleControl,
|
|
67
|
+
E as ToggleGroupControl,
|
|
68
|
+
io as Toolbar,
|
|
69
|
+
To as Window,
|
|
70
|
+
to as createForm,
|
|
71
|
+
K as useSchema,
|
|
72
|
+
Q as useView
|
|
54
73
|
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { ButtonProps } from '../button/button';
|
|
2
3
|
import { AnyMenuItem } from './types';
|
|
3
4
|
interface MenuProps extends PropsWithChildren {
|
|
4
5
|
className?: string;
|
|
6
|
+
iconOnly?: boolean;
|
|
7
|
+
variant?: ButtonProps["variant"];
|
|
8
|
+
size?: ButtonProps["size"];
|
|
5
9
|
items: AnyMenuItem[];
|
|
6
10
|
}
|
|
7
11
|
export declare const Menu: FC<MenuProps>;
|