@wrdagency/blockout 1.0.35 → 1.0.37
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-DBbnghCe.js → 2NBKRL7C-CHy8TNQM.js} +20 -20
- package/dist/{2RSXSRCN-BxQ_v-Je.js → 2RSXSRCN-DO41jkxy.js} +17 -17
- package/dist/{4CMBR7SL-DezfZPUS.js → 4CMBR7SL-eq3_MGhO.js} +30 -30
- package/dist/{5JTVDSTH-CZ7mfyUK.js → 5JTVDSTH-Cb-3mCyv.js} +4 -4
- package/dist/{5VQZOHHZ-DLX-ulBK.js → 5VQZOHHZ-D1gSZFY3.js} +1 -1
- package/dist/{6VRAQV3D-BYmT0QTl.js → 6VRAQV3D-Dzur8C7A.js} +19 -19
- package/dist/{A3WPL2ZJ-24tGIJIQ.js → A3WPL2ZJ-BZG8SEll.js} +2 -2
- package/dist/{BM6PGYQY-DCbkDr5N.js → BM6PGYQY-CCtFEKyb.js} +4 -4
- package/dist/{EM5CXX6A-B4ZS4Hs_.js → EM5CXX6A-DJQcGr5c.js} +2 -2
- package/dist/F5MUBM3I-6mXn4Fpb.js +54 -0
- package/dist/{G7GW6PWC-Dk4hVbAk.js → G7GW6PWC-BbXlQk2u.js} +106 -106
- package/dist/{J2LQO3EC-BXJIaM2U.js → J2LQO3EC-CvdDteYO.js} +7 -7
- package/dist/JMHAJKUZ-B_CxAFEI.js +136 -0
- package/dist/{KFH4SEIX-DaQeP5D_.js → KFH4SEIX-CEb2cs5b.js} +16 -16
- package/dist/{LMDWO4NN-CpSMaD5G.js → LMDWO4NN-5r0-Qq-x.js} +59 -59
- package/dist/{MR26YJYP-CTh6rCwA.js → MR26YJYP-ev1_As0E.js} +82 -82
- package/dist/{MTZPJQMC-D2i4-LA_.js → MTZPJQMC-CeWFa7M2.js} +2 -2
- package/dist/{O2PQ2652-DIoegIkE.js → O2PQ2652-Cf1Ld8NU.js} +11 -11
- package/dist/{P7GR5CS5-3RsPGPTy.js → P7GR5CS5-DFBp00bC.js} +3 -5
- package/dist/{PFRGBC2K-BdRJd-gU.js → PFRGBC2K-a0iGk9xp.js} +78 -78
- package/dist/{RS7LB2H4-COOfOq9w.js → RS7LB2H4-C2VEpoD3.js} +1 -1
- package/dist/RZ4GPYOB-2HMGtCSt.js +37 -0
- package/dist/{S43UC3DV-HCi6u_G4.js → S43UC3DV-0FmlYtUL.js} +8 -8
- package/dist/{TIW3GMFC-BF0w2_9R.js → TIW3GMFC-DwYhiC0Y.js} +18 -18
- package/dist/{TP7N7UIH-C4jXJDlO.js → TP7N7UIH-BtuT6Y_M.js} +2 -2
- package/dist/{UQQRIHDV-DEGlgATx.js → UQQRIHDV-DtNzoFEE.js} +23 -23
- package/dist/{UYGDZTLQ-HiDKLOW5.js → UYGDZTLQ-BBLp-g5T.js} +2 -2
- package/dist/{VIIRIBF3-B-djNAU9.js → VIIRIBF3-Ds5aiXIU.js} +5 -5
- package/dist/{WMYDSCNQ-pGjWB-Pk.js → WMYDSCNQ-BdMfJmVD.js} +8 -8
- package/dist/{WYCIER3C-CxfgpZG_.js → WYCIER3C-eiMqR6-L.js} +4 -4
- package/dist/{YORGHBM4-D_fOXG5Y.js → YORGHBM4-DycYf9gS.js} +11 -11
- package/dist/{YV4JVR4I-CQnJhUSg.js → YV4JVR4I-BqDRuYuU.js} +60 -60
- 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/index2.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/style.css +1 -1
- package/dist/assets/style10.css +1 -1
- package/dist/assets/style11.css +1 -1
- package/dist/assets/style2.css +1 -1
- package/dist/assets/style3.css +1 -1
- package/dist/assets/style4.css +1 -1
- package/dist/assets/style5.css +1 -1
- package/dist/assets/style6.css +1 -1
- package/dist/assets/style7.css +1 -1
- package/dist/assets/style8.css +1 -1
- package/dist/assets/style9.css +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/{base-jB1DIMnz.js → base-CPhsnNBF.js} +6 -6
- package/dist/combobox-popover-C6rwSpgq.js +1116 -0
- package/dist/components/avatar/index.js +13 -12
- package/dist/components/badge/index.js +9 -8
- package/dist/components/breadcrumbs/index.js +20 -19
- package/dist/components/button/button.js +12 -28
- package/dist/components/button/icon.js +12 -28
- package/dist/components/button/index.js +3 -8
- package/dist/components/button/row.js +4 -4
- package/dist/components/command-palette/dialog.js +8 -31
- package/dist/components/command-palette/index.js +3 -8
- package/dist/components/command-palette/presets.js +4 -5
- package/dist/components/command-palette/static.js +17 -70
- package/dist/components/controls/base-control/index.js +2 -3
- package/dist/components/controls/base-popover-control/index.js +20 -21
- package/dist/components/controls/card-number-control/index.js +1 -1
- package/dist/components/controls/checkbox-control/index.js +3 -4
- package/dist/components/controls/choice-control/choice.js +22 -22
- package/dist/components/controls/choice-control/index.js +1 -1
- package/dist/components/controls/date-control/index.js +16 -17
- package/dist/components/controls/date-control/picker.js +8 -9
- package/dist/components/controls/index.js +21 -22
- package/dist/components/controls/list-control/index.js +1 -1
- package/dist/components/controls/list-control/item.js +19 -18
- package/dist/components/controls/list-control/list.js +2 -2
- package/dist/components/controls/markdown-control/editor.js +3 -3
- package/dist/components/controls/markdown-control/index.js +1 -1
- package/dist/components/controls/markdown-control/slash/base.js +1 -1
- package/dist/components/controls/markdown-control/slash/mentions.js +1 -1
- package/dist/components/controls/markdown-control/toolbar.js +2 -2
- package/dist/components/controls/number-control/index.js +1 -1
- package/dist/components/controls/password-control/index.js +1 -1
- package/dist/components/controls/recurrence-control/index.js +37 -41
- package/dist/components/controls/select-control/control.js +8 -49
- package/dist/components/controls/select-control/index.js +3 -4
- package/dist/components/controls/select-control/select.js +23 -166
- package/dist/components/controls/tag-control/ariakit-experimental.js +550 -558
- package/dist/components/controls/tag-control/index.js +32 -36
- package/dist/components/controls/tag-control/props.js +14 -13
- package/dist/components/controls/text-control/index.js +1 -1
- package/dist/components/controls/textarea-control/index.js +1 -1
- package/dist/components/controls/toggle-control/index.js +8 -8
- package/dist/components/controls/toggle-group-control/index.js +8 -8
- package/dist/components/dashboard/context.d.ts +15 -0
- package/dist/components/dashboard/context.js +6 -0
- package/dist/components/dashboard/grid.d.ts +9 -0
- package/dist/components/dashboard/grid.js +266 -0
- package/dist/components/dashboard/index.d.ts +2 -0
- package/dist/components/dashboard/index.js +6 -0
- package/dist/components/dashboard/item.d.ts +9 -0
- package/dist/components/dashboard/item.js +5306 -0
- package/dist/components/dashboard/types.d.ts +13 -0
- package/dist/components/dashboard/types.js +1 -0
- package/dist/components/data-form/autosave.js +3 -3
- package/dist/components/data-form/index.js +5 -12
- package/dist/components/data-form/status.js +14 -32
- package/dist/components/data-form/submit.js +13 -31
- package/dist/components/data-view/api.js +1 -1
- package/dist/components/data-view/data/apply.js +139 -296
- package/dist/components/data-view/data/filter.js +21 -35
- package/dist/components/data-view/data/layout.js +9 -13
- package/dist/components/data-view/index.js +1 -1
- package/dist/components/data-view/layouts/grid/empty.js +1 -1
- package/dist/components/data-view/layouts/grid/group.js +15 -42
- package/dist/components/data-view/layouts/grid/index.js +4 -6
- package/dist/components/data-view/layouts/grid/item.js +17 -87
- package/dist/components/data-view/layouts/grid/root.js +1 -1
- package/dist/components/data-view/layouts/kanban/empty.js +2 -3
- package/dist/components/data-view/layouts/kanban/group.js +16 -43
- package/dist/components/data-view/layouts/kanban/index.js +3 -6
- package/dist/components/data-view/layouts/kanban/item.js +17 -87
- package/dist/components/data-view/layouts/kanban/root.js +13 -13
- package/dist/components/data-view/layouts/list/empty.js +1 -1
- package/dist/components/data-view/layouts/list/group.js +15 -42
- package/dist/components/data-view/layouts/list/index.js +4 -6
- package/dist/components/data-view/layouts/list/item.js +17 -66
- package/dist/components/data-view/layouts/list/root.js +1 -1
- package/dist/components/data-view/layouts/table/empty.js +15 -41
- package/dist/components/data-view/layouts/table/group.js +15 -61
- package/dist/components/data-view/layouts/table/index.js +2 -6
- package/dist/components/data-view/layouts/table/item.js +17 -67
- package/dist/components/data-view/layouts/table/root.js +17 -122
- package/dist/components/data-view/layouts/tile/empty.js +1 -1
- package/dist/components/data-view/layouts/tile/group.js +15 -42
- package/dist/components/data-view/layouts/tile/index.js +4 -6
- package/dist/components/data-view/layouts/tile/item.js +17 -69
- package/dist/components/data-view/layouts/tile/root.js +1 -1
- package/dist/components/data-view/parts/body/empty.js +13 -12
- package/dist/components/data-view/parts/body/index.js +20 -37
- package/dist/components/data-view/parts/controls/index.js +54 -73
- package/dist/components/data-view/parts/controls/search.js +24 -44
- package/dist/components/data-view/parts/filters/chip.js +14 -49
- package/dist/components/data-view/parts/filters/editor.js +17 -79
- package/dist/components/data-view/parts/filters/index.js +2 -7
- package/dist/components/data-view/parts/filters/list.js +6 -72
- package/dist/components/data-view/parts/footer/actions.js +33 -52
- package/dist/components/data-view/parts/footer/index.js +15 -33
- package/dist/components/data-view/parts/footer/selection.js +14 -32
- package/dist/components/data-view/parts/index.js +3 -3
- package/dist/components/data-view/parts/view-control/index.js +44 -60
- package/dist/components/data-view/root.js +18 -38
- package/dist/components/data-view/slots/group/checkbox.js +13 -28
- package/dist/components/data-view/slots/group/context.js +5 -21
- package/dist/components/data-view/slots/group/header.js +3 -10
- package/dist/components/data-view/slots/group/icon.js +2 -2
- package/dist/components/data-view/slots/group/index.js +2 -4
- package/dist/components/data-view/slots/group/label.js +1 -1
- package/dist/components/data-view/slots/index.js +4 -6
- package/dist/components/data-view/slots/item/actions.js +6 -28
- package/dist/components/data-view/slots/item/checkbox.js +17 -77
- package/dist/components/data-view/slots/item/depth.js +2 -4
- package/dist/components/data-view/slots/item/description.js +1 -1
- package/dist/components/data-view/slots/item/index.js +2 -5
- package/dist/components/data-view/slots/item/properties.js +2 -3
- package/dist/components/data-view/slots/item/relations.js +7 -9
- package/dist/components/data-view/slots/item/tags.js +2 -3
- package/dist/components/data-view/slots/item/thumbnail.js +2 -2
- package/dist/components/data-view/slots/item/title.js +8 -8
- package/dist/components/data-view/slots/item/util.js +2 -3
- package/dist/components/data-view/slots/property/field/editable.js +14 -29
- package/dist/components/data-view/slots/property/field/index.js +2 -3
- package/dist/components/data-view/slots/property/field/static.js +1 -1
- package/dist/components/data-view/slots/property/index.js +2 -2
- package/dist/components/data-view/slots/property/label.js +1 -1
- package/dist/components/data-view/slots/root/checkbox.js +13 -27
- package/dist/components/data-view/slots/root/index.js +1 -1
- package/dist/components/dialog/index.js +32 -33
- package/dist/components/filesystem/file.js +5 -5
- package/dist/components/filesystem/folder.js +5 -5
- package/dist/components/filesystem/icon.js +3 -863
- package/dist/components/filesystem/index.js +2 -2
- package/dist/components/filesystem/list.js +1 -1
- package/dist/components/filesystem/root.js +1 -1
- package/dist/components/form/components/index.js +7 -16
- package/dist/components/form/components/pagination.js +5 -106
- package/dist/components/form/components/progress.js +4 -19
- package/dist/components/form/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +65 -73
- package/dist/components/menu/index.d.ts +10 -1
- package/dist/components/menu/index.js +9 -45
- package/dist/components/menu/item.js +1 -1
- package/dist/components/menu/items/action.js +1 -1
- package/dist/components/menu/items/spacer.js +1 -1
- package/dist/components/menu/items/submenu.js +4 -5
- package/dist/components/menu/items/toggle.js +1 -1
- package/dist/components/pagination/index.js +8 -8
- package/dist/components/progress/index.js +12 -50
- package/dist/components/shell/context.js +1 -1
- package/dist/components/shell/index.js +6 -16
- package/dist/components/shell/navigation.js +5 -49
- package/dist/components/shell/pane.js +13 -26
- package/dist/components/shell/sidebar-item.js +13 -45
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/list.js +1 -1
- package/dist/components/tabs/panel.js +1 -1
- package/dist/components/tabs/root.js +1 -1
- package/dist/components/tabs/tab.js +1 -1
- package/dist/components/tag/index.js +2 -6
- package/dist/components/tag/list.js +4 -8
- package/dist/components/tag/tag.js +12 -20
- package/dist/components/toolbar/divider.js +1 -1
- package/dist/components/toolbar/index.js +6 -15
- package/dist/components/toolbar/root.js +1 -1
- package/dist/components/window/index.js +20 -20
- package/dist/{composite-provider-BPIeS4Cg.js → composite-provider-DlANhpbV.js} +2 -2
- package/dist/{disclosure-provider-cEVysvZT.js → disclosure-provider-Whga0UAw.js} +2 -2
- package/dist/filter-ClQxRPQl.js +120 -0
- package/dist/hooks/state.js +1 -1
- package/dist/hooks/theme.js +1 -1
- package/dist/icon-D6VWNg1e.js +909 -0
- package/dist/index-CcV1laBm.js +10 -0
- package/dist/{sortable.esm-BuV7eW2H.js → index-CrDFDRMM.js} +1247 -1089
- package/dist/{index-D7vLJIGX.js → index-D0xboB4V.js} +2 -2
- package/dist/index.js +133 -132
- package/dist/item-BHwNOBly.js +91 -0
- package/dist/menu-button-C7Wtq_Ny.js +488 -0
- package/dist/{menu-separator-Z6pSHpX5.js → menu-separator-1CpNYvfe.js} +3 -3
- package/dist/{picker-DyJogHYh.js → picker-BHIm3Cmb.js} +31 -32
- package/dist/{popover-provider-BJEfhgr1.js → popover-provider-DsS2XUBC.js} +2 -2
- package/dist/{presets-BDIhXP0C.js → presets-DevAa76r.js} +9 -10
- package/dist/primitives/colourway/index.js +8 -9
- package/dist/primitives/context-menu/index.d.ts +7 -0
- package/dist/primitives/context-menu/index.js +37 -0
- package/dist/primitives/icon-label/index.js +18 -19
- package/dist/primitives/index.d.ts +1 -0
- package/dist/primitives/index.js +34 -32
- package/dist/primitives/link/index.js +5 -6
- package/dist/primitives/nav-link/index.js +6 -7
- package/dist/primitives/popover/index.js +1 -1
- package/dist/primitives/popover/root.js +1 -1
- package/dist/primitives/popover/target.js +1 -1
- package/dist/primitives/popover/window.js +9 -9
- package/dist/primitives/resizable/index.d.ts +9 -2
- package/dist/primitives/resizable/index.js +120 -62
- package/dist/primitives/scroll-area/index.js +1 -1
- package/dist/primitives/tooltip/index.js +9 -10
- package/dist/primitives/truncate/index.d.ts +3 -2
- package/dist/primitives/truncate/index.js +30 -24
- package/dist/primitives/typography/heading.js +1 -1
- package/dist/primitives/typography/paragraph.js +1 -1
- package/dist/primitives/visually-hidden/index.js +6 -7
- package/dist/{style-CWAa57kN.js → style-DH642ww9.js} +1 -1
- package/dist/style-nHUEFY3u.js +4229 -0
- package/dist/{tab-DejwS4C8.js → tab-Cz1Iy2-6.js} +7 -7
- package/dist/{tab-list-CndMWcVv.js → tab-list-C-qZAxsl.js} +9 -9
- package/dist/{tab-panel-DedzuWUA.js → tab-panel-BaWZ3QU6.js} +11 -11
- package/dist/tab-provider-BqxRaJtd.js +170 -0
- package/dist/{tag-remove-Dz-sGbyZ.js → tag-remove-BgRiBB8K.js} +59 -59
- package/dist/{toolbar-PSaF1mdF.js → toolbar-BlMTPulL.js} +23 -23
- package/dist/{toolbar-CCiZ_PIy.js → toolbar-jAQLS8tL.js} +1 -1
- package/dist/toolbar-separator-ehmZmA72.js +16 -0
- package/dist/{tooltip-arrow-BVwULA6B.js → tooltip-arrow-gMwnY9fV.js} +47 -47
- package/dist/utils/array.d.ts +1 -0
- package/dist/utils/array.js +8 -7
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +29 -21
- package/dist/utils/math.d.ts +5 -0
- package/dist/utils/math.js +11 -0
- package/dist/utils/string.d.ts +1 -0
- package/dist/utils/string.js +13 -6
- package/package.json +2 -1
- package/dist/CaretRight.es-vnr78BGI.js +0 -32
- package/dist/Circle.es-B6Ug9Tpf.js +0 -30
- package/dist/DG5U6ZEL-DB0iwihy.js +0 -17
- package/dist/DotsThreeVertical.es-uadrGk3y.js +0 -36
- package/dist/F5MUBM3I-75qY3y0N.js +0 -54
- package/dist/IWEFDH56-BACkQ6dc.js +0 -19
- package/dist/IconBase.es-rM5tt24D.js +0 -48
- package/dist/JMHAJKUZ-D5KCN1Aj.js +0 -114
- package/dist/MAXQOH4L-BYWBWXpb.js +0 -459
- package/dist/MagnifyingGlass.es-CLstwG_v.js +0 -32
- package/dist/Plus.es-DJ5SuqNv.js +0 -38
- package/dist/RZ4GPYOB-CovncfhJ.js +0 -37
- package/dist/RadioButton.es-D3QVjfF9.js +0 -36
- package/dist/T7VMP3TM-C8D6mVva.js +0 -77
- package/dist/X.es-TbGOnXOO.js +0 -38
- package/dist/assets/button.css +0 -1
- package/dist/assets/index15.css +0 -1
- package/dist/assets/index16.css +0 -1
- package/dist/assets/index17.css +0 -1
- package/dist/assets/index18.css +0 -1
- package/dist/assets/index19.css +0 -1
- package/dist/assets/index20.css +0 -1
- package/dist/assets/index21.css +0 -1
- package/dist/assets/prosemirror.css +0 -1
- package/dist/assets/root.css +0 -1
- package/dist/assets/static.css +0 -1
- package/dist/assets/style12.css +0 -1
- package/dist/assets/style13.css +0 -1
- package/dist/assets/style14.css +0 -1
- package/dist/assets/style15.css +0 -1
- package/dist/assets/style16.css +0 -1
- package/dist/assets/style17.css +0 -1
- package/dist/assets/style18.css +0 -1
- package/dist/assets/style19.css +0 -1
- package/dist/assets/style20.css +0 -1
- package/dist/assets/style21.css +0 -1
- package/dist/assets/style23.css +0 -1
- package/dist/assets/style24.css +0 -1
- package/dist/assets/style25.css +0 -1
- package/dist/assets/style26.css +0 -1
- package/dist/assets/style27.css +0 -1
- package/dist/assets/style28.css +0 -1
- package/dist/assets/styles2.css +0 -1
- package/dist/assets/styles3.css +0 -1
- package/dist/assets/styles4.css +0 -1
- package/dist/assets/styles5.css +0 -1
- package/dist/combobox-group-hNvv1WJm.js +0 -27
- package/dist/combobox-popover-BZ_1wNrj.js +0 -95
- package/dist/filter-DHK0UoZG.js +0 -134
- package/dist/index-BLCPauyN.js +0 -76
- package/dist/index-BnbjJBS4.js +0 -252
- package/dist/index-CLl-PPjx.js +0 -56
- package/dist/item-CCOXuQUx.js +0 -62
- package/dist/match-sorter.esm-MNVE8H_6.js +0 -670
- package/dist/menu-button-GQO5dB3U.js +0 -416
- package/dist/select-popover-CGgkyRb4.js +0 -559
- package/dist/select-value-B3DYk9eV.js +0 -15
- package/dist/style-D1AX7G7x.js +0 -1735
- package/dist/tab-provider-B0BoLfST.js +0 -158
- package/dist/toolbar-separator-DJHiHbGj.js +0 -16
- /package/dist/assets/{style22.css → empty.css} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { File as o } from "./file.js";
|
|
2
2
|
import { Folder as r } from "./folder.js";
|
|
3
|
-
import {
|
|
3
|
+
import { I as m } from "../../icon-D6VWNg1e.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/index3.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-Cb-3mCyv.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-DlANhpbV.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,18 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { FormTitle as e } from "./title.js";
|
|
8
|
-
const P = Object.assign(r, {
|
|
9
|
-
Title: e,
|
|
10
|
-
Description: o,
|
|
11
|
-
Pagination: m,
|
|
12
|
-
Progress: i,
|
|
13
|
-
Step: p,
|
|
14
|
-
Row: t
|
|
15
|
-
});
|
|
1
|
+
import "./description.js";
|
|
2
|
+
import "./form.js";
|
|
3
|
+
import { F as a } from "../../../style-nHUEFY3u.js";
|
|
4
|
+
import "./row.js";
|
|
5
|
+
import "./step.js";
|
|
6
|
+
import "./title.js";
|
|
16
7
|
export {
|
|
17
|
-
|
|
8
|
+
a as Form
|
|
18
9
|
};
|
|
@@ -1,108 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
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 = ({
|
|
62
|
-
className: a,
|
|
63
|
-
submitText: l = "Submit",
|
|
64
|
-
...d
|
|
65
|
-
}) => {
|
|
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(
|
|
69
|
-
o,
|
|
70
|
-
{
|
|
71
|
-
wide: !0,
|
|
72
|
-
variant: "quiet",
|
|
73
|
-
disabled: t.current === 1,
|
|
74
|
-
onClick: t.back,
|
|
75
|
-
children: [
|
|
76
|
-
/* @__PURE__ */ c(u, {}),
|
|
77
|
-
`Back${r != null && r.title ? `: ${r.title}` : ""}`
|
|
78
|
-
]
|
|
79
|
-
},
|
|
80
|
-
t.current + "back"
|
|
81
|
-
),
|
|
82
|
-
t.current === t.max ? /* @__PURE__ */ c(
|
|
83
|
-
o,
|
|
84
|
-
{
|
|
85
|
-
wide: !0,
|
|
86
|
-
variant: "primary",
|
|
87
|
-
type: "submit",
|
|
88
|
-
children: l
|
|
89
|
-
},
|
|
90
|
-
t.current + "next"
|
|
91
|
-
) : /* @__PURE__ */ m(
|
|
92
|
-
o,
|
|
93
|
-
{
|
|
94
|
-
wide: !0,
|
|
95
|
-
variant: "neutral",
|
|
96
|
-
onClick: t.next,
|
|
97
|
-
children: [
|
|
98
|
-
`Next${n != null && n.title ? `: ${n.title}` : ""}`,
|
|
99
|
-
/* @__PURE__ */ c(p, {})
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
t.current + "next"
|
|
103
|
-
)
|
|
104
|
-
] });
|
|
105
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import { an as a } from "../../../style-nHUEFY3u.js";
|
|
3
|
+
import "../../../utils/css.js";
|
|
4
|
+
import "../types/form.js";
|
|
106
5
|
export {
|
|
107
|
-
|
|
6
|
+
a as FormPagination
|
|
108
7
|
};
|
|
@@ -1,22 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const i = ({
|
|
6
|
-
className: o,
|
|
7
|
-
...m
|
|
8
|
-
}) => {
|
|
9
|
-
const { step: r } = p();
|
|
10
|
-
return /* @__PURE__ */ s(
|
|
11
|
-
e,
|
|
12
|
-
{
|
|
13
|
-
...m,
|
|
14
|
-
className: t("component-form-progress", o),
|
|
15
|
-
value: r.current / r.max,
|
|
16
|
-
steps: r.max
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import { ao as i } from "../../../style-nHUEFY3u.js";
|
|
3
|
+
import "../../../utils/css.js";
|
|
4
|
+
import "../types/form.js";
|
|
20
5
|
export {
|
|
21
6
|
i as FormProgress
|
|
22
7
|
};
|
package/dist/components/index.js
CHANGED
|
@@ -1,77 +1,69 @@
|
|
|
1
1
|
import { Avatar as e } from "./avatar/index.js";
|
|
2
|
-
import { Badge as
|
|
3
|
-
import { Breadcrumbs as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
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 {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import { Form as xo } from "./form/components/index.js";
|
|
30
|
-
import { createForm as po } from "./form/types/form.js";
|
|
31
|
-
import { Menu as ao } from "./menu/index.js";
|
|
32
|
-
import { Progress as Co } from "./progress/index.js";
|
|
33
|
-
import { Shell as co } from "./shell/index.js";
|
|
34
|
-
import { Tabs as uo } from "./tabs/index.js";
|
|
35
|
-
import { Tag as To } from "./tag/index.js";
|
|
36
|
-
import { Toolbar as wo } from "./toolbar/index.js";
|
|
37
|
-
import { Window as ho } from "./window/index.js";
|
|
2
|
+
import { Badge as a } from "./badge/index.js";
|
|
3
|
+
import { Breadcrumbs as x } from "./breadcrumbs/index.js";
|
|
4
|
+
import { B as p, a as s, D as l, F as n, M as C, P as c, c as d, d as g, S as i, T as u, b as T } from "../style-nHUEFY3u.js";
|
|
5
|
+
import { BaseControl as D } from "./controls/base-control/index.js";
|
|
6
|
+
import { CardNumberControl as h } from "./controls/card-number-control/index.js";
|
|
7
|
+
import { CheckboxControl as B } from "./controls/checkbox-control/index.js";
|
|
8
|
+
import { ChoiceControl as P } from "./controls/choice-control/index.js";
|
|
9
|
+
import { DateControl as k } from "./controls/date-control/index.js";
|
|
10
|
+
import { ListControl as R } from "./controls/list-control/index.js";
|
|
11
|
+
import { MarkdownControl as v } from "./controls/markdown-control/index.js";
|
|
12
|
+
import { NumberControl as A } from "./controls/number-control/index.js";
|
|
13
|
+
import { PasswordControl as L } from "./controls/password-control/index.js";
|
|
14
|
+
import { RecurrenceControl as j } from "./controls/recurrence-control/index.js";
|
|
15
|
+
import { TagControl as z } from "./controls/tag-control/index.js";
|
|
16
|
+
import { TextControl as H } from "./controls/text-control/index.js";
|
|
17
|
+
import { TextareaControl as J } from "./controls/textarea-control/index.js";
|
|
18
|
+
import { ToggleControl as O } from "./controls/toggle-control/index.js";
|
|
19
|
+
import { ToggleGroupControl as U } from "./controls/toggle-group-control/index.js";
|
|
20
|
+
import { useSchema as Y, useView as Z } from "./data-view/api.js";
|
|
21
|
+
import { f as $ } from "../filter-ClQxRPQl.js";
|
|
22
|
+
import { Root as ro } from "./data-view/root.js";
|
|
23
|
+
import { Dialog as to } from "./dialog/index.js";
|
|
24
|
+
import { Filesystem as mo } from "./filesystem/index.js";
|
|
25
|
+
import { createForm as fo } from "./form/types/form.js";
|
|
26
|
+
import { Tabs as so } from "./tabs/index.js";
|
|
27
|
+
import { Window as no } from "./window/index.js";
|
|
28
|
+
import { i as co } from "../index-CcV1laBm.js";
|
|
38
29
|
export {
|
|
39
30
|
e as Avatar,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
to as
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
31
|
+
a as Badge,
|
|
32
|
+
D as BaseControl,
|
|
33
|
+
x as Breadcrumbs,
|
|
34
|
+
p as Button,
|
|
35
|
+
h as CardNumberControl,
|
|
36
|
+
B as CheckboxControl,
|
|
37
|
+
P as ChoiceControl,
|
|
38
|
+
s as CommandPalette,
|
|
39
|
+
co as Dashboard,
|
|
40
|
+
l as DataForm,
|
|
41
|
+
ro as DataView,
|
|
42
|
+
k as DateControl,
|
|
43
|
+
to as Dialog,
|
|
44
|
+
mo as Filesystem,
|
|
45
|
+
$ as Filters,
|
|
46
|
+
n as Form,
|
|
47
|
+
R as ListControl,
|
|
48
|
+
v as MarkdownControl,
|
|
49
|
+
C as Menu,
|
|
50
|
+
A as NumberControl,
|
|
51
|
+
L as PasswordControl,
|
|
52
|
+
c as Progress,
|
|
53
|
+
j as RecurrenceControl,
|
|
54
|
+
d as Select,
|
|
55
|
+
g as SelectControl,
|
|
56
|
+
i as Shell,
|
|
57
|
+
so as Tabs,
|
|
58
|
+
u as Tag,
|
|
59
|
+
z as TagControl,
|
|
60
|
+
H as TextControl,
|
|
61
|
+
J as TextareaControl,
|
|
62
|
+
O as ToggleControl,
|
|
63
|
+
U as ToggleGroupControl,
|
|
64
|
+
T as Toolbar,
|
|
65
|
+
no as Window,
|
|
66
|
+
fo as createForm,
|
|
67
|
+
Y as useSchema,
|
|
68
|
+
Z as useView
|
|
77
69
|
};
|
|
@@ -8,6 +8,15 @@ interface MenuProps<Context> extends PropsWithChildren {
|
|
|
8
8
|
size?: ButtonProps["size"];
|
|
9
9
|
items: AnyMenuItem<Context>[];
|
|
10
10
|
context?: Context;
|
|
11
|
+
modal?: boolean;
|
|
12
|
+
position?: {
|
|
13
|
+
x?: number;
|
|
14
|
+
y?: number;
|
|
15
|
+
width?: number;
|
|
16
|
+
height?: number;
|
|
17
|
+
};
|
|
18
|
+
open?: boolean;
|
|
19
|
+
onOpenChange?: (open: boolean) => void;
|
|
11
20
|
}
|
|
12
|
-
export declare function Menu<Context>({ className, iconOnly, items, variant, size, children, context, }: MenuProps<Context>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare function Menu<Context>({ className, iconOnly, items, variant, size, children, context, modal, position, open: _open, onOpenChange, }: MenuProps<Context>): import("react/jsx-runtime").JSX.Element;
|
|
13
22
|
export {};
|
|
@@ -1,47 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
function C({
|
|
10
|
-
className: t,
|
|
11
|
-
iconOnly: n = !1,
|
|
12
|
-
items: m,
|
|
13
|
-
variant: a,
|
|
14
|
-
size: p,
|
|
15
|
-
children: s,
|
|
16
|
-
context: i
|
|
17
|
-
}) {
|
|
18
|
-
const [o, u] = w(!1), c = n ? r.Icon : r;
|
|
19
|
-
return /* @__PURE__ */ e(_, { actionContext: i, children: /* @__PURE__ */ d(v, { open: o, setOpen: u, children: [
|
|
20
|
-
/* @__PURE__ */ e(
|
|
21
|
-
x,
|
|
22
|
-
{
|
|
23
|
-
className: M("component-menu__button", t),
|
|
24
|
-
render: /* @__PURE__ */ e(c, { variant: a, size: p }),
|
|
25
|
-
children: s
|
|
26
|
-
}
|
|
27
|
-
),
|
|
28
|
-
o && /* @__PURE__ */ e(
|
|
29
|
-
P,
|
|
30
|
-
{
|
|
31
|
-
portal: !0,
|
|
32
|
-
wrapperProps: {
|
|
33
|
-
className: "component-menu__menu-wrapper"
|
|
34
|
-
},
|
|
35
|
-
"data-colour-scheme": "invert",
|
|
36
|
-
fitViewport: !0,
|
|
37
|
-
gutter: 8,
|
|
38
|
-
overflowPadding: 4,
|
|
39
|
-
className: "component-menu__window",
|
|
40
|
-
children: m.map((f, l) => /* @__PURE__ */ e(h, { item: f }, l))
|
|
41
|
-
}
|
|
42
|
-
)
|
|
43
|
-
] }) });
|
|
44
|
-
}
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "../../utils/css.js";
|
|
3
|
+
import "../../utils/noop.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import { M as f } from "../../style-nHUEFY3u.js";
|
|
6
|
+
import "./context.js";
|
|
7
|
+
import "../../item-BHwNOBly.js";
|
|
8
|
+
import "../../menu-button-C7Wtq_Ny.js";
|
|
45
9
|
export {
|
|
46
|
-
|
|
10
|
+
f as Menu
|
|
47
11
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useMenu as m } from "../context.js";
|
|
3
3
|
import { EmptyIcon as i } from "../icon.js";
|
|
4
|
-
import { M as s } from "../../../2NBKRL7C-
|
|
4
|
+
import { M as s } from "../../../2NBKRL7C-CHy8TNQM.js";
|
|
5
5
|
const d = ({ item: n }) => {
|
|
6
6
|
const { actionContext: c } = m(), t = n.icon || i;
|
|
7
7
|
return /* @__PURE__ */ o(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { M as e } from "../../../menu-separator-
|
|
2
|
+
import { M as e } from "../../../menu-separator-1CpNYvfe.js";
|
|
3
3
|
const a = () => /* @__PURE__ */ r(e, { className: "component-menu__separator" });
|
|
4
4
|
export {
|
|
5
5
|
a as SeparatorMenuItem
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../
|
|
2
|
+
import { S as i } from "../../../item-BHwNOBly.js";
|
|
3
3
|
import "../icon.js";
|
|
4
|
-
import
|
|
5
|
-
import "../../../
|
|
6
|
-
import "../../../2NBKRL7C-DBbnghCe.js";
|
|
4
|
+
import "../../../menu-button-C7Wtq_Ny.js";
|
|
5
|
+
import "../../../2NBKRL7C-CHy8TNQM.js";
|
|
7
6
|
export {
|
|
8
|
-
|
|
7
|
+
i as SubmenuMenuItem
|
|
9
8
|
};
|
|
@@ -4,7 +4,7 @@ import { r as a, a as p } from "../../../Square.es-KJLdY11q.js";
|
|
|
4
4
|
import "react";
|
|
5
5
|
import { useMenu as d } from "../context.js";
|
|
6
6
|
import { EmptyIcon as u } from "../icon.js";
|
|
7
|
-
import { M as h } from "../../../2NBKRL7C-
|
|
7
|
+
import { M as h } from "../../../2NBKRL7C-CHy8TNQM.js";
|
|
8
8
|
const I = ({ item: n }) => {
|
|
9
9
|
const { actionContext: o } = d(), l = n.icon || u, r = () => {
|
|
10
10
|
var m, t, s;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
1
|
+
import { jsxs as a, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { B as c } from "../../style-nHUEFY3u.js";
|
|
3
3
|
import { cn as p } from "../../utils/css.js";
|
|
4
4
|
import { noop as d } from "../../utils/noop.js";
|
|
5
5
|
import { t as _ } from "../../CaretLeft.es-C1wX08tw.js";
|
|
6
|
-
import { e as h } from "../../
|
|
7
|
-
|
|
6
|
+
import { e as h } from "../../item-BHwNOBly.js";
|
|
7
|
+
const I = ({
|
|
8
8
|
className: s,
|
|
9
9
|
onPaginate: m = d,
|
|
10
10
|
page: t,
|
|
@@ -19,9 +19,9 @@ import '../../assets/index18.css';const I = ({
|
|
|
19
19
|
r(parseInt(n.currentTarget.value));
|
|
20
20
|
};
|
|
21
21
|
if (!(i <= 1))
|
|
22
|
-
return /* @__PURE__ */
|
|
22
|
+
return /* @__PURE__ */ a("div", { className: p(s, "component-pagination"), children: [
|
|
23
23
|
/* @__PURE__ */ o(
|
|
24
|
-
|
|
24
|
+
c.Icon,
|
|
25
25
|
{
|
|
26
26
|
className: "component-pagination__next",
|
|
27
27
|
variant: "ghost",
|
|
@@ -31,7 +31,7 @@ import '../../assets/index18.css';const I = ({
|
|
|
31
31
|
children: /* @__PURE__ */ o(_, {})
|
|
32
32
|
}
|
|
33
33
|
),
|
|
34
|
-
/* @__PURE__ */
|
|
34
|
+
/* @__PURE__ */ a("span", { className: "component-pagination__text", children: [
|
|
35
35
|
"Page",
|
|
36
36
|
/* @__PURE__ */ o(
|
|
37
37
|
"select",
|
|
@@ -46,7 +46,7 @@ import '../../assets/index18.css';const I = ({
|
|
|
46
46
|
/* @__PURE__ */ o("span", { className: "component-pagination__text__total", children: i })
|
|
47
47
|
] }),
|
|
48
48
|
/* @__PURE__ */ o(
|
|
49
|
-
|
|
49
|
+
c.Icon,
|
|
50
50
|
{
|
|
51
51
|
className: "component-pagination__previous",
|
|
52
52
|
variant: "ghost",
|
|
@@ -1,57 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "../../utils/css.js";
|
|
3
|
+
import "../../primitives/colourway/index.js";
|
|
4
|
+
import { P as j } from "../../style-nHUEFY3u.js";
|
|
4
5
|
import "react";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
import "../../primitives/link/index.js";
|
|
7
|
+
import "../../primitives/icon-label/index.js";
|
|
8
|
+
import "../../primitives/nav-link/index.js";
|
|
8
9
|
import "../../primitives/popover/index.js";
|
|
9
|
-
|
|
10
|
+
import '../../assets/style2.css';import '../../assets/style.css';/* empty css */
|
|
10
11
|
import "../../primitives/scroll-area/index.js";
|
|
11
12
|
import "../../primitives/symbol/index.js";
|
|
13
|
+
import "../../primitives/tooltip/index.js";
|
|
14
|
+
import "../../primitives/truncate/index.js";
|
|
12
15
|
/* empty css */
|
|
13
|
-
|
|
14
|
-
/* empty css */
|
|
15
|
-
import { VisuallyHidden as g } from "../../primitives/visually-hidden/index.js";
|
|
16
|
-
const S = ({
|
|
17
|
-
className: m,
|
|
18
|
-
steps: o = 0,
|
|
19
|
-
min: n = 0,
|
|
20
|
-
max: e = 1,
|
|
21
|
-
value: r = void 0,
|
|
22
|
-
style: i
|
|
23
|
-
}) => {
|
|
24
|
-
const s = (r || 0) * o;
|
|
25
|
-
return /* @__PURE__ */ c(
|
|
26
|
-
"div",
|
|
27
|
-
{
|
|
28
|
-
className: d(
|
|
29
|
-
"component-progress",
|
|
30
|
-
o > 0 && "component-progress--with-steps",
|
|
31
|
-
r === void 0 && "component-progress--indeterminate",
|
|
32
|
-
m
|
|
33
|
-
),
|
|
34
|
-
style: {
|
|
35
|
-
"--component-progress__steps": o,
|
|
36
|
-
"--component-progress__value": r,
|
|
37
|
-
"--component-progress__min": n,
|
|
38
|
-
"--component-progress__max": e,
|
|
39
|
-
...i
|
|
40
|
-
},
|
|
41
|
-
children: [
|
|
42
|
-
/* @__PURE__ */ p(g, { children: /* @__PURE__ */ p("progress", { max: e, value: r, children: r !== void 0 ? r + "%" : "Indeterminate" }) }),
|
|
43
|
-
Array.from({ length: o || 1 }, (_, t) => /* @__PURE__ */ p(
|
|
44
|
-
"div",
|
|
45
|
-
{
|
|
46
|
-
className: "component-progress__step",
|
|
47
|
-
"data-phase": t === s - 1 ? "present" : t < s - 1 ? "past" : "future"
|
|
48
|
-
},
|
|
49
|
-
t
|
|
50
|
-
))
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
);
|
|
54
|
-
};
|
|
16
|
+
import "../../primitives/visually-hidden/index.js";
|
|
55
17
|
export {
|
|
56
|
-
|
|
18
|
+
j as Progress
|
|
57
19
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { u as a } from "../../index-
|
|
2
|
+
import { u as a } from "../../index-D0xboB4V.js";
|
|
3
3
|
import { createContext as l, useContext as c } from "react";
|
|
4
4
|
const o = l(void 0), m = ({ children: r }) => {
|
|
5
5
|
const [t, e] = a(
|
|
@@ -1,18 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { SidebarItem as a } from "./sidebar-item.js";
|
|
7
|
-
import { SidebarSeparator as e } from "./sidebar-separator.js";
|
|
8
|
-
import '../../assets/index9.css';const s = Object.assign(i, {
|
|
9
|
-
Pane: t,
|
|
10
|
-
Sidebar: m,
|
|
11
|
-
SidebarItem: a,
|
|
12
|
-
SidebarSeparator: e,
|
|
13
|
-
Navigation: o,
|
|
14
|
-
NavigationSeparator: r
|
|
15
|
-
});
|
|
1
|
+
import { S as e } from "../../style-nHUEFY3u.js";
|
|
2
|
+
import "./navigation-separator.js";
|
|
3
|
+
import "./root.js";
|
|
4
|
+
import "./sidebar.js";
|
|
5
|
+
import "./sidebar-separator.js";
|
|
16
6
|
export {
|
|
17
|
-
|
|
7
|
+
e as Shell
|
|
18
8
|
};
|