@justanarthur/modo-ui 0.5.0 → 0.6.0-canary.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/DESIGN.md +608 -0
- package/README.md +61 -39
- package/blocks/sidebar-app/examples.mdx +33 -0
- package/blocks/sidebar-app/index.tsx +218 -0
- package/blocks/sidebar-app/inset-topbar.tsx +25 -0
- package/blocks/sidebar-app/menu-grid.ts +26 -0
- package/blocks/sidebar-app/nav-data.ts +36 -0
- package/blocks/sidebar-app/search-field.tsx +48 -0
- package/blocks/sidebar-app/user-footer.tsx +67 -0
- package/blocks/sidebar-app/workspace-header.tsx +129 -0
- package/components/AI/input-message/examples.mdx +124 -0
- package/components/AI/input-message/file-thumbnail.tsx +173 -0
- package/components/AI/input-message/index.tsx +1383 -0
- package/components/AI/thinking-indicator/examples.mdx +27 -0
- package/components/AI/thinking-indicator/index.tsx +210 -0
- package/components/accordion/examples.mdx +148 -0
- package/components/accordion/index.tsx +1034 -0
- package/components/avatar/examples.mdx +95 -0
- package/components/avatar/index.tsx +129 -0
- package/components/badge/change-demo.tsx +29 -0
- package/components/badge/examples.mdx +120 -0
- package/components/badge/index.tsx +225 -0
- package/components/badge/variants.ts +73 -0
- package/components/button/examples.mdx +164 -0
- package/components/button/index.tsx +416 -0
- package/components/button/loading-demo.tsx +25 -0
- package/components/button/variants.ts +166 -0
- package/components/card/examples.mdx +212 -0
- package/components/card/index.tsx +1037 -0
- package/components/copy/examples.mdx +87 -0
- package/components/copy/index.tsx +482 -0
- package/components/inputs/checkbox/examples.mdx +83 -0
- package/components/inputs/checkbox/index.tsx +611 -0
- package/components/inputs/checkbox/select-all-demo.tsx +48 -0
- package/components/inputs/color-picker/examples.mdx +72 -0
- package/components/inputs/color-picker/index.tsx +1955 -0
- package/components/inputs/color-picker/variants.ts +401 -0
- package/components/inputs/combobox/examples.mdx +273 -0
- package/components/inputs/combobox/index.tsx +1436 -0
- package/components/inputs/combobox/remote-demo.tsx +101 -0
- package/components/inputs/date-time/calendar/examples.mdx +34 -0
- package/components/inputs/date-time/calendar/index.tsx +351 -0
- package/components/inputs/date-time/calendar/use-month-window.ts +163 -0
- package/components/inputs/date-time/date-picker/examples.mdx +166 -0
- package/components/inputs/date-time/date-picker/index.tsx +385 -0
- package/components/inputs/date-time/date-picker/masked-date-input.tsx +336 -0
- package/components/inputs/date-time/date-range-picker/examples.mdx +29 -0
- package/components/inputs/date-time/date-range-picker/index.tsx +217 -0
- package/components/inputs/date-time/duration-picker/examples.mdx +16 -0
- package/components/inputs/date-time/duration-picker/index.tsx +189 -0
- package/components/inputs/date-time/month-picker/examples.mdx +16 -0
- package/components/inputs/date-time/month-picker/index.tsx +190 -0
- package/components/inputs/date-time/picker-shell.tsx +395 -0
- package/components/inputs/date-time/time-columns.tsx +91 -0
- package/components/inputs/date-time/time-picker/examples.mdx +26 -0
- package/components/inputs/date-time/time-picker/index.tsx +166 -0
- package/components/inputs/field/examples.mdx +113 -0
- package/components/inputs/field/index.tsx +267 -0
- package/components/inputs/file-dropzone/examples.mdx +73 -0
- package/components/inputs/file-dropzone/file-row.tsx +201 -0
- package/components/inputs/file-dropzone/index.tsx +296 -0
- package/components/inputs/file-dropzone/upload-demo.tsx +67 -0
- package/components/inputs/file-dropzone/variants.ts +94 -0
- package/components/inputs/input/examples.mdx +135 -0
- package/components/inputs/input/index.tsx +494 -0
- package/components/inputs/input/password-demo.tsx +30 -0
- package/components/inputs/label/examples.mdx +67 -0
- package/components/inputs/label/index.tsx +85 -0
- package/components/inputs/number-input/examples.mdx +56 -0
- package/components/inputs/number-input/index.tsx +214 -0
- package/components/inputs/radio/examples.mdx +77 -0
- package/components/inputs/radio/index.tsx +636 -0
- package/components/inputs/search/examples.mdx +74 -0
- package/components/inputs/search/index.tsx +333 -0
- package/components/inputs/select/examples.mdx +218 -0
- package/components/inputs/select/index.tsx +862 -0
- package/components/inputs/select/variants.ts +32 -0
- package/components/inputs/slider/examples.mdx +127 -0
- package/components/inputs/slider/index.tsx +1725 -0
- package/components/inputs/switch/examples.mdx +94 -0
- package/components/inputs/switch/index.tsx +504 -0
- package/components/inputs/textarea/examples.mdx +88 -0
- package/components/inputs/textarea/index.tsx +161 -0
- package/components/navigation/navigation-menu/examples.mdx +109 -0
- package/components/navigation/navigation-menu/index.tsx +613 -0
- package/components/navigation/pagination/examples.mdx +64 -0
- package/components/navigation/pagination/index.tsx +395 -0
- package/components/navigation/sidebar/examples.mdx +319 -0
- package/components/navigation/sidebar/index.tsx +453 -0
- package/components/navigation/sidebar/sidebar-core.tsx +1408 -0
- package/components/navigation/sidebar/sidebar-menu.tsx +1495 -0
- package/components/navigation/sidebar/sidebar.css +74 -0
- package/components/navigation/sidebar/variants.ts +55 -0
- package/components/navigation/tabs/examples.mdx +89 -0
- package/components/navigation/tabs/index.tsx +494 -0
- package/components/navigation/tabs-subtle/examples.mdx +49 -0
- package/components/navigation/tabs-subtle/index.tsx +512 -0
- package/components/overlays/alert-dialog/examples.mdx +123 -0
- package/components/overlays/alert-dialog/index.tsx +258 -0
- package/components/overlays/alert-dialog/pending-demo.tsx +36 -0
- package/components/overlays/command/examples.mdx +113 -0
- package/components/overlays/command/index.tsx +416 -0
- package/components/overlays/context-menu/examples.mdx +56 -0
- package/components/overlays/context-menu/index.tsx +279 -0
- package/components/overlays/dialog/examples.mdx +144 -0
- package/components/overlays/dialog/index.tsx +366 -0
- package/components/overlays/dropdown/dropdown-search.tsx +395 -0
- package/components/overlays/dropdown/examples.mdx +294 -0
- package/components/overlays/dropdown/index.tsx +1168 -0
- package/components/overlays/dropdown/menu-item.tsx +464 -0
- package/components/overlays/dropdown/menu-parts.tsx +660 -0
- package/components/overlays/popover/anchored-demo.tsx +59 -0
- package/components/overlays/popover/examples.mdx +180 -0
- package/components/overlays/popover/index.tsx +315 -0
- package/components/overlays/preview-card/examples.mdx +61 -0
- package/components/overlays/preview-card/index.tsx +204 -0
- package/components/overlays/sheet/examples.mdx +89 -0
- package/components/overlays/sheet/index.tsx +247 -0
- package/components/overlays/toast/examples.mdx +68 -0
- package/components/overlays/toast/global-demo.tsx +72 -0
- package/components/overlays/toast/index.tsx +474 -0
- package/components/overlays/toast/manager.ts +193 -0
- package/components/overlays/tooltip/examples.mdx +106 -0
- package/components/overlays/tooltip/index.tsx +519 -0
- package/components/progress/examples.mdx +59 -0
- package/components/progress/index.tsx +174 -0
- package/components/progress/progress.css +49 -0
- package/components/progress/step-demo.tsx +27 -0
- package/components/table/examples.mdx +184 -0
- package/components/table/index.tsx +510 -0
- package/components/table/sort-demo.tsx +61 -0
- package/dist/base.css +100 -0
- package/dist/blocks/sidebar-app/index.js +39 -26
- package/dist/components/AI/input-message/index.js +22 -16
- package/dist/components/AI/thinking-indicator/index.js +9 -6
- package/dist/components/accordion/index.js +16 -13
- package/dist/components/avatar/index.d.ts +46 -0
- package/dist/components/avatar/index.js +18 -0
- package/dist/components/badge/index.d.ts +18 -11
- package/dist/components/badge/index.js +11 -7
- package/dist/components/badge/variants.d.ts +33 -0
- package/dist/components/badge/variants.js +10 -0
- package/dist/components/button/index.d.ts +53 -17
- package/dist/components/button/index.js +10 -6
- package/dist/components/button/variants.d.ts +39 -0
- package/dist/components/button/variants.js +8 -0
- package/dist/components/card/index.d.ts +16 -3
- package/dist/components/card/index.js +16 -11
- package/dist/components/copy/index.js +13 -9
- package/dist/components/inputs/checkbox/index.d.ts +28 -9
- package/dist/components/inputs/checkbox/index.js +17 -13
- package/dist/components/inputs/color-picker/index.d.ts +13 -13
- package/dist/components/inputs/color-picker/index.js +25 -18
- package/dist/components/inputs/color-picker/variants.d.ts +61 -0
- package/dist/components/inputs/color-picker/variants.js +28 -0
- package/dist/components/inputs/combobox/index.d.ts +60 -17
- package/dist/components/inputs/combobox/index.js +26 -18
- package/dist/components/inputs/date-time/calendar/index.js +14 -11
- package/dist/components/inputs/date-time/date-picker/index.d.ts +53 -11
- package/dist/components/inputs/date-time/date-picker/index.js +33 -25
- package/dist/components/inputs/date-time/date-range-picker/index.d.ts +3 -3
- package/dist/components/inputs/date-time/date-range-picker/index.js +32 -24
- package/dist/components/inputs/date-time/duration-picker/index.d.ts +3 -3
- package/dist/components/inputs/date-time/duration-picker/index.js +32 -24
- package/dist/components/inputs/date-time/month-picker/index.d.ts +3 -3
- package/dist/components/inputs/date-time/month-picker/index.js +31 -23
- package/dist/components/inputs/date-time/time-picker/index.d.ts +3 -3
- package/dist/components/inputs/date-time/time-picker/index.js +32 -24
- package/dist/components/inputs/field/index.d.ts +116 -0
- package/dist/components/inputs/field/index.js +28 -0
- package/dist/components/inputs/file-dropzone/index.d.ts +165 -0
- package/dist/components/inputs/file-dropzone/index.js +32 -0
- package/dist/components/inputs/file-dropzone/variants.d.ts +35 -0
- package/dist/components/inputs/file-dropzone/variants.js +12 -0
- package/dist/components/inputs/input/index.d.ts +95 -13
- package/dist/components/inputs/input/index.js +17 -9
- package/dist/components/inputs/label/index.d.ts +32 -0
- package/dist/components/inputs/label/index.js +11 -0
- package/dist/components/inputs/number-input/index.d.ts +84 -0
- package/dist/components/inputs/number-input/index.js +20 -0
- package/dist/components/inputs/radio/index.d.ts +20 -5
- package/dist/components/inputs/radio/index.js +15 -12
- package/dist/components/inputs/search/index.js +25 -18
- package/dist/components/inputs/select/index.d.ts +41 -11
- package/dist/components/inputs/select/index.js +27 -14
- package/dist/components/inputs/select/variants.d.ts +5 -0
- package/dist/components/inputs/select/variants.js +6 -0
- package/dist/components/inputs/slider/index.js +7 -5
- package/dist/components/inputs/switch/index.d.ts +8 -2
- package/dist/components/inputs/switch/index.js +14 -12
- package/dist/components/inputs/textarea/index.d.ts +4 -0
- package/dist/components/inputs/textarea/index.js +8 -6
- package/dist/components/navigation/navigation-menu/index.d.ts +114 -0
- package/dist/components/navigation/navigation-menu/index.js +40 -0
- package/dist/components/navigation/pagination/index.d.ts +73 -0
- package/dist/components/navigation/pagination/index.js +39 -0
- package/dist/components/navigation/sidebar/index.d.ts +44 -21
- package/dist/components/navigation/sidebar/index.js +41 -31
- package/dist/components/navigation/sidebar/variants.d.ts +25 -0
- package/dist/components/navigation/sidebar/variants.js +28 -0
- package/dist/components/navigation/tabs/index.d.ts +8 -2
- package/dist/components/navigation/tabs/index.js +14 -10
- package/dist/components/navigation/tabs-subtle/index.js +12 -10
- package/dist/components/overlays/alert-dialog/index.d.ts +121 -15
- package/dist/components/overlays/alert-dialog/index.js +22 -13
- package/dist/components/overlays/command/index.js +24 -17
- package/dist/components/overlays/context-menu/index.d.ts +33 -17
- package/dist/components/overlays/context-menu/index.js +27 -18
- package/dist/components/overlays/dialog/index.js +17 -12
- package/dist/components/overlays/dropdown/index.d.ts +257 -31
- package/dist/components/overlays/dropdown/index.js +42 -17
- package/dist/components/overlays/popover/index.d.ts +31 -9
- package/dist/components/overlays/popover/index.js +12 -9
- package/dist/components/overlays/preview-card/index.js +11 -8
- package/dist/components/overlays/sheet/index.js +18 -13
- package/dist/components/overlays/toast/index.d.ts +123 -47
- package/dist/components/overlays/toast/index.js +18 -10
- package/dist/components/overlays/tooltip/index.d.ts +113 -21
- package/dist/components/overlays/tooltip/index.js +15 -6
- package/dist/components/progress/index.d.ts +56 -0
- package/dist/components/progress/index.js +15 -0
- package/dist/components/table/index.d.ts +63 -8
- package/dist/components/table/index.js +19 -9
- package/dist/index.d.ts +2201 -736
- package/dist/index.js +223 -82
- package/dist/lib/date-locale.d.ts +14 -0
- package/dist/lib/date-locale.js +16 -0
- package/dist/lib/field-classes.d.ts +144 -0
- package/dist/lib/field-classes.js +40 -0
- package/dist/lib/field-variants.d.ts +47 -0
- package/dist/lib/field-variants.js +26 -0
- package/dist/lib/fluid-hover-highlight.d.ts +112 -0
- package/dist/lib/fluid-hover-highlight.js +17 -0
- package/dist/lib/focus-ring.d.ts +18 -0
- package/dist/lib/focus-ring.js +10 -0
- package/dist/lib/goo-indicator.d.ts +46 -0
- package/dist/lib/goo-indicator.js +14 -0
- package/dist/lib/icon-context.d.ts +30 -0
- package/dist/lib/icon-context.js +12 -0
- package/dist/lib/inert.d.ts +9 -0
- package/dist/lib/inert.js +8 -0
- package/dist/lib/morph-layers.d.ts +93 -0
- package/dist/lib/morph-layers.js +13 -0
- package/dist/lib/morph-part.d.ts +21 -0
- package/dist/lib/morph-part.js +12 -0
- package/dist/lib/popup.d.ts +20 -0
- package/dist/lib/popup.js +12 -0
- package/dist/lib/reduced-motion.d.ts +9 -0
- package/dist/lib/reduced-motion.js +6 -0
- package/dist/lib/row-index.d.ts +10 -0
- package/dist/lib/row-index.js +8 -0
- package/dist/lib/row-order.d.ts +28 -0
- package/dist/lib/row-order.js +10 -0
- package/dist/lib/scroll-column.d.ts +27 -0
- package/dist/lib/scroll-column.js +18 -0
- package/dist/lib/shape-context.d.ts +30 -0
- package/dist/lib/shape-context.js +12 -0
- package/dist/lib/size-context.d.ts +94 -0
- package/dist/lib/size-context.js +20 -0
- package/dist/lib/size-scale.d.ts +79 -0
- package/dist/lib/size-scale.js +8 -0
- package/dist/lib/slot.d.ts +12 -0
- package/dist/lib/slot.js +6 -0
- package/dist/lib/springs.d.ts +44 -0
- package/dist/lib/springs.js +8 -0
- package/dist/lib/surface-classes.d.ts +19 -0
- package/dist/lib/surface-classes.js +10 -0
- package/dist/lib/surface-context.d.ts +9 -0
- package/dist/lib/surface-context.js +8 -0
- package/dist/lib/use-controllable-state.d.ts +2 -0
- package/dist/lib/use-controllable-state.js +6 -0
- package/dist/lib/use-fluid-hover.d.ts +138 -0
- package/dist/lib/use-fluid-hover.js +14 -0
- package/dist/lib/use-is-mobile.d.ts +2 -0
- package/dist/lib/use-is-mobile.js +6 -0
- package/dist/lib/use-keyboard-nav-gate.d.ts +20 -0
- package/dist/lib/use-keyboard-nav-gate.js +7 -0
- package/dist/lib/use-merge-split.d.ts +47 -0
- package/dist/lib/use-merge-split.js +15 -0
- package/dist/lib/use-morph.d.ts +101 -0
- package/dist/lib/use-morph.js +20 -0
- package/dist/lib/use-touch-primary.d.ts +2 -0
- package/dist/lib/use-touch-primary.js +6 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.js +6 -0
- package/dist/preset.d.ts +17 -0
- package/dist/preset.js +22 -2
- package/dist/primitives/code/index.js +7 -5
- package/dist/primitives/craft/index.js +9 -6
- package/dist/primitives/fluid-hover/index.js +9 -8
- package/dist/primitives/morph/index.js +15 -10
- package/dist/primitives/motion/index.js +10 -8
- package/dist/primitives/scroll-area/index.js +4 -3
- package/dist/primitives/separator/index.d.ts +25 -0
- package/dist/primitives/separator/index.js +9 -0
- package/dist/primitives/sizes/index.js +6 -4
- package/dist/primitives/skeleton/index.d.ts +35 -0
- package/dist/primitives/skeleton/index.js +12 -0
- package/dist/primitives/surface/index.js +6 -4
- package/dist/shared/{components-3mkepka5.js → components-0jmqhx2k.js} +28 -25
- package/dist/shared/components-124epb7f.js +53 -0
- package/dist/shared/{components-gz8zf3ec.js → components-1k0wv53d.js} +15 -43
- package/dist/shared/components-26snnbs9.js +322 -0
- package/dist/shared/{components-2dxkv6zm.js → components-2c0qcfx4.js} +8 -7
- package/dist/shared/{components-473g814w.js → components-2mt9te6d.js} +243 -137
- package/dist/shared/{components-hawvy2qz.js → components-2z48g4fp.js} +9 -30
- package/dist/shared/components-34txk9rj.js +35 -0
- package/dist/shared/components-3h92d94m.js +23 -0
- package/dist/shared/{components-zfnmn5d4.js → components-3sp623ae.js} +36 -31
- package/dist/shared/{components-jwst3vtj.js → components-3wxkjgqn.js} +186 -76
- package/dist/shared/{components-s2bz1xpk.js → components-49bsynbw.js} +8 -5
- package/dist/shared/components-4bwsd46w.js +71 -0
- package/dist/shared/components-4n4f5m3e.js +297 -0
- package/dist/shared/{components-0q0sqfh4.js → components-4y816hwp.js} +27 -49
- package/dist/shared/components-52ngsgca.js +399 -0
- package/dist/shared/{components-y9y0g8er.js → components-52r5763g.js} +22 -19
- package/dist/shared/components-559tf7yb.js +28 -0
- package/dist/shared/components-5mkga9hj.js +440 -0
- package/dist/shared/{components-kwa6mrf9.js → components-5s0nfqvw.js} +14 -9
- package/dist/shared/{components-dk0gjr5a.js → components-60atskhp.js} +19 -18
- package/dist/shared/{components-rr7a6ja9.js → components-658b26nb.js} +21 -18
- package/dist/shared/{components-xxvdw7k1.js → components-65vwfjs6.js} +37 -34
- package/dist/shared/{components-frw34b65.js → components-6j2fh74k.js} +114 -123
- package/dist/shared/components-6zg1yft7.js +167 -0
- package/dist/shared/components-6zng858q.js +53 -0
- package/dist/shared/components-72w4ge68.js +64 -0
- package/dist/shared/{components-cv16mryv.js → components-78x40gee.js} +13 -7
- package/dist/shared/{components-b2wyq2cq.js → components-7d4r7hh1.js} +39 -57
- package/dist/shared/components-7ntvvegr.js +316 -0
- package/dist/shared/components-8nwsqjn8.js +34 -0
- package/dist/shared/{components-5xc2j8jz.js → components-8tt3xbb5.js} +19 -18
- package/dist/shared/{components-vc7vq5nz.js → components-9as3rf68.js} +6 -3
- package/dist/shared/components-9mys9jna.js +255 -0
- package/dist/shared/components-adkarj8n.js +35 -0
- package/dist/shared/{components-b3c5et5b.js → components-ae9fncz4.js} +32 -31
- package/dist/shared/{components-hqeq3w9q.js → components-awra5sff.js} +24 -16
- package/dist/shared/components-b1e239g3.js +28 -0
- package/dist/shared/{components-q5xj5c16.js → components-b1f2bjf1.js} +9 -8
- package/dist/shared/{components-qmmjx1qw.js → components-bn42vq6d.js} +71 -72
- package/dist/shared/components-c96g82th.js +1444 -0
- package/dist/shared/components-c9yr4ed1.js +44 -0
- package/dist/shared/components-d3shbwqq.js +95 -0
- package/dist/shared/{components-jjw69c4c.js → components-dcc02hs2.js} +7 -4
- package/dist/shared/{components-men63rwj.js → components-de99ykt7.js} +3 -2
- package/dist/shared/components-dhgk6mbt.js +16 -0
- package/dist/shared/components-drxrtnp2.js +25 -0
- package/dist/shared/{components-6p8tfcd6.js → components-ds9fqat9.js} +21 -18
- package/dist/shared/{components-mjthm1kf.js → components-egy4tyjt.js} +11 -8
- package/dist/shared/components-f0xfpkhh.js +82 -0
- package/dist/shared/components-f7h57m6t.js +59 -0
- package/dist/shared/{components-d6xtjht3.js → components-fjkpbg6n.js} +33 -30
- package/dist/shared/{components-gc5vtq2f.js → components-gh0qeey3.js} +63 -29
- package/dist/shared/{components-39jq9va1.js → components-gvbapfen.js} +29 -24
- package/dist/shared/{components-5vgpnxgy.js → components-gzesg7hy.js} +19 -16
- package/dist/shared/components-h6p86be3.js +19 -0
- package/dist/shared/components-h83az0bz.js +33 -0
- package/dist/shared/components-jjrj6ymn.js +104 -0
- package/dist/shared/{components-wvp1m52g.js → components-jp5v0m0f.js} +15 -14
- package/dist/shared/{components-zrkzcayz.js → components-jqpefjsn.js} +54 -6
- package/dist/shared/{components-1z6tdadk.js → components-k74j4hwh.js} +20 -17
- package/dist/shared/components-kswxnm3h.js +24 -0
- package/dist/shared/{components-jbbmdr74.js → components-mkkbbgb7.js} +36 -17
- package/dist/shared/{components-pbmqctfa.js → components-mpw667rb.js} +169 -65
- package/dist/shared/{components-s5ngg32c.js → components-paa08427.js} +121 -47
- package/dist/shared/{components-vfbhxf5r.js → components-pd42emw3.js} +6 -5
- package/dist/shared/{components-hw9yk32z.js → components-pmfszv7a.js} +35 -23
- package/dist/shared/{components-chacnk61.js → components-pw06rbxq.js} +19 -19
- package/dist/shared/components-q03cktx8.js +246 -0
- package/dist/shared/{components-kvr7f9hy.js → components-qdm3yh26.js} +19 -10
- package/dist/shared/{components-27nnvrwe.js → components-qs4rkqsj.js} +15 -14
- package/dist/shared/{components-s083f38z.js → components-r6gbmkew.js} +22 -21
- package/dist/shared/{components-ta7shw28.js → components-r8eqs7gz.js} +4 -4
- package/dist/shared/{components-sn1rxx1d.js → components-rm02h9nt.js} +12 -11
- package/dist/shared/{components-c6s6b43g.js → components-rrbpmfx4.js} +3 -2
- package/dist/shared/{components-n7mjr357.js → components-tz1fv35x.js} +3 -2
- package/dist/shared/components-tz4gaf1v.js +23 -0
- package/dist/shared/{components-zx6b6yby.js → components-vf45j12c.js} +4 -18
- package/dist/shared/{components-3ky44908.js → components-vfjc9jzz.js} +2 -3
- package/dist/shared/{components-39vmfq9s.js → components-vsa625vk.js} +21 -20
- package/dist/shared/components-wawnmkph.js +500 -0
- package/dist/shared/components-wktrrb4m.js +38 -0
- package/dist/shared/{components-8snj490h.js → components-wwd363me.js} +78 -32
- package/dist/shared/{components-5pnw8183.js → components-xcwvgcrd.js} +23 -22
- package/dist/shared/components-xdqmt6ed.js +20 -0
- package/dist/shared/{components-h2ajmhwn.js → components-y1w3a6wx.js} +107 -35
- package/dist/shared/{components-ar66gnt0.js → components-y6578b8h.js} +37 -34
- package/dist/shared/{components-59efxjd9.js → components-yhgq0qxx.js} +13 -12
- package/dist/shared/{components-jthe1pwb.js → components-yz84gpkq.js} +101 -404
- package/dist/shared/components-z3v0n0de.js +11 -0
- package/dist/shared/{components-7r3etddy.js → components-z9n19fyk.js} +19 -54
- package/dist/shared/components-zbvjzh1p.js +141 -0
- package/dist/styles.css +241 -16
- package/dist/tailwind.css +13 -0
- package/dist/tokens.css +34 -0
- package/index.ts +60 -0
- package/lib/date-locale.ts +50 -0
- package/lib/field-classes.ts +115 -0
- package/lib/field-variants.ts +117 -0
- package/lib/fluid-hover-highlight.tsx +139 -0
- package/lib/focus-ring.tsx +46 -0
- package/lib/goo-indicator.tsx +261 -0
- package/lib/icon-context.tsx +310 -0
- package/lib/inert.ts +22 -0
- package/lib/morph-layers.tsx +102 -0
- package/lib/morph-part.tsx +49 -0
- package/lib/popup.ts +52 -0
- package/lib/reduced-motion.ts +19 -0
- package/lib/row-index.tsx +29 -0
- package/lib/row-order.tsx +115 -0
- package/lib/scroll-column.tsx +244 -0
- package/lib/shape-context.tsx +124 -0
- package/lib/size-context.tsx +66 -0
- package/lib/size-scale.ts +115 -0
- package/lib/slot.ts +25 -0
- package/lib/springs.ts +62 -0
- package/lib/surface-classes.ts +58 -0
- package/lib/surface-context.tsx +21 -0
- package/lib/use-controllable-state.ts +44 -0
- package/lib/use-fluid-hover.ts +541 -0
- package/lib/use-is-mobile.ts +25 -0
- package/lib/use-keyboard-nav-gate.ts +45 -0
- package/lib/use-merge-split.tsx +209 -0
- package/lib/use-morph.ts +557 -0
- package/lib/use-touch-primary.tsx +43 -0
- package/lib/utils.ts +37 -0
- package/package.json +177 -4
- package/preset.ts +196 -0
- package/primitives/code/examples.mdx +27 -0
- package/primitives/code/index.tsx +80 -0
- package/primitives/craft/demos.tsx +173 -0
- package/primitives/craft/examples.mdx +138 -0
- package/primitives/craft/index.tsx +76 -0
- package/primitives/fluid-hover/examples.mdx +84 -0
- package/primitives/fluid-hover/index.tsx +316 -0
- package/primitives/morph/examples.mdx +135 -0
- package/primitives/morph/index.tsx +192 -0
- package/primitives/motion/examples.mdx +100 -0
- package/primitives/motion/index.tsx +160 -0
- package/primitives/scroll-area/examples.mdx +58 -0
- package/primitives/scroll-area/index.tsx +200 -0
- package/primitives/separator/examples.mdx +30 -0
- package/primitives/separator/index.tsx +53 -0
- package/primitives/sizes/examples.mdx +167 -0
- package/primitives/sizes/index.tsx +89 -0
- package/primitives/skeleton/examples.mdx +51 -0
- package/primitives/skeleton/index.tsx +72 -0
- package/primitives/skeleton/skeleton.css +15 -0
- package/primitives/surface/examples.mdx +173 -0
- package/primitives/surface/index.tsx +109 -0
- package/primitives/surface/surface.css +176 -0
- package/dist/shared/components-0sn7ypjw.js +0 -61
- package/dist/shared/components-1434p1mh.js +0 -123
- package/dist/shared/components-a86dytt0.js +0 -986
- package/dist/shared/components-gf5s6ap9.js +0 -42
- package/dist/shared/components-hyq23phv.js +0 -310
- package/dist/shared/components-ng72k97e.js +0 -128
- package/dist/shared/components-raknhppb.js +0 -64
- package/dist/shared/components-vynjtrk6.js +0 -19
- package/dist/shared/components-wy9jpqny.js +0 -146
- /package/dist/shared/{components-1v7rxytx.js → components-3ey0hzpb.js} +0 -0
- /package/dist/shared/{components-ezxhrmer.js → components-jcnjay5g.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,40 +1,52 @@
|
|
|
1
|
-
import"./shared/components-
|
|
1
|
+
import"./shared/components-de99ykt7.js";
|
|
2
2
|
import {
|
|
3
3
|
ShapeProvider2
|
|
4
|
-
} from "./shared/components-
|
|
4
|
+
} from "./shared/components-78x40gee.js";
|
|
5
5
|
import {
|
|
6
6
|
sizeMap2,
|
|
7
|
-
typeScale2
|
|
7
|
+
typeScale2
|
|
8
|
+
} from "./shared/components-34txk9rj.js";
|
|
9
|
+
import {
|
|
8
10
|
useTypeScale2,
|
|
9
11
|
useSizeVariant2,
|
|
10
12
|
useSize2,
|
|
11
13
|
useSizeContext2
|
|
12
|
-
} from "./shared/components-
|
|
14
|
+
} from "./shared/components-h83az0bz.js";
|
|
15
|
+
import {
|
|
16
|
+
spring2,
|
|
17
|
+
exitFallbackMs2
|
|
18
|
+
} from "./shared/components-3ey0hzpb.js";
|
|
13
19
|
import {
|
|
14
20
|
cn2
|
|
15
|
-
} from "./shared/components-
|
|
21
|
+
} from "./shared/components-jcnjay5g.js";
|
|
22
|
+
import {
|
|
23
|
+
buttonVariants2
|
|
24
|
+
} from "./shared/components-f0xfpkhh.js";
|
|
16
25
|
import {
|
|
17
|
-
buttonVariants2,
|
|
18
26
|
Button2
|
|
19
|
-
} from "./shared/components-
|
|
20
|
-
import"./shared/components-
|
|
27
|
+
} from "./shared/components-7d4r7hh1.js";
|
|
28
|
+
import"./shared/components-tz1fv35x.js";
|
|
29
|
+
import"./shared/components-drxrtnp2.js";
|
|
21
30
|
import {
|
|
22
31
|
ScrollArea2,
|
|
23
32
|
ScrollBar2
|
|
24
|
-
} from "./shared/components-
|
|
33
|
+
} from "./shared/components-2z48g4fp.js";
|
|
25
34
|
import {
|
|
26
35
|
MorphPart2
|
|
27
|
-
} from "./shared/components-
|
|
28
|
-
import"./shared/components-
|
|
36
|
+
} from "./shared/components-b1e239g3.js";
|
|
37
|
+
import"./shared/components-awra5sff.js";
|
|
38
|
+
import"./shared/components-4y816hwp.js";
|
|
39
|
+
import {
|
|
40
|
+
surfaceClasses2
|
|
41
|
+
} from "./shared/components-vf45j12c.js";
|
|
29
42
|
import {
|
|
30
|
-
surfaceClasses2,
|
|
31
43
|
useSurface2,
|
|
32
44
|
SurfaceProvider2
|
|
33
|
-
} from "./shared/components-
|
|
45
|
+
} from "./shared/components-dhgk6mbt.js";
|
|
34
46
|
import {
|
|
35
47
|
IconProvider2
|
|
36
|
-
} from "./shared/components-
|
|
37
|
-
import"./shared/components-
|
|
48
|
+
} from "./shared/components-jqpefjsn.js";
|
|
49
|
+
import"./shared/components-vfjc9jzz.js";
|
|
38
50
|
import {
|
|
39
51
|
useDialogState2,
|
|
40
52
|
DialogTrigger2,
|
|
@@ -46,22 +58,28 @@ import {
|
|
|
46
58
|
DialogDescription2,
|
|
47
59
|
DialogState2,
|
|
48
60
|
Dialog2
|
|
49
|
-
} from "./shared/components-
|
|
61
|
+
} from "./shared/components-3sp623ae.js";
|
|
50
62
|
import {
|
|
51
63
|
SheetContent2,
|
|
52
64
|
SheetIndent2,
|
|
53
65
|
Sheet2
|
|
54
|
-
} from "./shared/components-
|
|
66
|
+
} from "./shared/components-658b26nb.js";
|
|
55
67
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./shared/components-
|
|
58
|
-
import"./shared/components-
|
|
68
|
+
fieldVariants2
|
|
69
|
+
} from "./shared/components-124epb7f.js";
|
|
70
|
+
import"./shared/components-6zng858q.js";
|
|
71
|
+
import"./shared/components-z3v0n0de.js";
|
|
72
|
+
import"./shared/components-rrbpmfx4.js";
|
|
59
73
|
import {
|
|
60
74
|
TooltipPortalContainer2,
|
|
61
75
|
TooltipProvider2,
|
|
76
|
+
TooltipRoot2,
|
|
77
|
+
TooltipTrigger2,
|
|
78
|
+
TooltipContent2,
|
|
62
79
|
Tooltip2
|
|
63
|
-
} from "./shared/components-
|
|
80
|
+
} from "./shared/components-q03cktx8.js";
|
|
64
81
|
import {
|
|
82
|
+
sidebarMenuButtonVariants2,
|
|
65
83
|
SIDEBAR_COOKIE_NAME2,
|
|
66
84
|
SIDEBAR_COOKIE_MAX_AGE2,
|
|
67
85
|
SIDEBAR_WIDTH2,
|
|
@@ -69,7 +87,9 @@ import {
|
|
|
69
87
|
SIDEBAR_KEYBOARD_SHORTCUT2,
|
|
70
88
|
SIDEBAR_KEYBOARD_SHORTCUT_RIGHT2,
|
|
71
89
|
SIDEBAR_MIN_WIDTH2,
|
|
72
|
-
SIDEBAR_MAX_WIDTH2
|
|
90
|
+
SIDEBAR_MAX_WIDTH2
|
|
91
|
+
} from "./shared/components-kswxnm3h.js";
|
|
92
|
+
import {
|
|
73
93
|
useSidebar2,
|
|
74
94
|
SidebarProvider2,
|
|
75
95
|
SidebarTrigger2,
|
|
@@ -88,7 +108,6 @@ import {
|
|
|
88
108
|
SidebarMenu2,
|
|
89
109
|
SidebarMenuItem2,
|
|
90
110
|
SidebarMenuSubItem2,
|
|
91
|
-
sidebarMenuButtonVariants2,
|
|
92
111
|
SidebarMenuButton2,
|
|
93
112
|
SidebarMenuAction2,
|
|
94
113
|
SidebarMenuActions2,
|
|
@@ -98,57 +117,79 @@ import {
|
|
|
98
117
|
SidebarMenuSubButton2,
|
|
99
118
|
Sidebar2,
|
|
100
119
|
SidebarContent2
|
|
101
|
-
} from "./shared/components-
|
|
102
|
-
import"./shared/components-
|
|
120
|
+
} from "./shared/components-bn42vq6d.js";
|
|
121
|
+
import"./shared/components-pw06rbxq.js";
|
|
103
122
|
import {
|
|
104
123
|
FluidHoverHighlight2
|
|
105
|
-
} from "./shared/components-
|
|
124
|
+
} from "./shared/components-qdm3yh26.js";
|
|
106
125
|
import {
|
|
107
126
|
useFluidHover2,
|
|
108
127
|
useRegisterFluidHoverItem2
|
|
109
|
-
} from "./shared/components-
|
|
128
|
+
} from "./shared/components-yhgq0qxx.js";
|
|
110
129
|
import {
|
|
111
130
|
SizeProvider2
|
|
112
|
-
} from "./shared/components-
|
|
113
|
-
import"./shared/components-
|
|
131
|
+
} from "./shared/components-dcc02hs2.js";
|
|
132
|
+
import"./shared/components-8nwsqjn8.js";
|
|
133
|
+
import"./shared/components-h6p86be3.js";
|
|
134
|
+
import"./shared/components-4bwsd46w.js";
|
|
135
|
+
import"./shared/components-8tt3xbb5.js";
|
|
114
136
|
import {
|
|
115
137
|
Elevated2
|
|
116
|
-
} from "./shared/components-
|
|
138
|
+
} from "./shared/components-9as3rf68.js";
|
|
117
139
|
import {
|
|
118
140
|
DropdownSearch2,
|
|
119
141
|
DropdownEmpty2,
|
|
120
142
|
useDropdown2,
|
|
121
143
|
useDropdownMaybe2,
|
|
144
|
+
DropdownShortcut2,
|
|
122
145
|
MenuItem2,
|
|
146
|
+
DropdownGroup2,
|
|
147
|
+
DropdownCheckboxItem2,
|
|
148
|
+
DropdownRadioGroup2,
|
|
149
|
+
DropdownRadioItem2,
|
|
150
|
+
DropdownSub2,
|
|
151
|
+
DropdownSubTrigger2,
|
|
152
|
+
DropdownSubContent2,
|
|
123
153
|
Dropdown2,
|
|
124
154
|
DropdownMenu2,
|
|
125
155
|
DropdownTrigger2,
|
|
126
156
|
DropdownContent2,
|
|
127
157
|
DropdownLabel2,
|
|
128
158
|
DropdownSeparator2
|
|
129
|
-
} from "./shared/components-
|
|
159
|
+
} from "./shared/components-c96g82th.js";
|
|
160
|
+
import"./shared/components-tz4gaf1v.js";
|
|
130
161
|
import {
|
|
131
162
|
SidebarApp2
|
|
132
|
-
} from "./shared/components-
|
|
163
|
+
} from "./shared/components-xcwvgcrd.js";
|
|
133
164
|
import {
|
|
134
165
|
FileThumbnail2,
|
|
135
166
|
InputMessage2
|
|
136
|
-
} from "./shared/components-
|
|
167
|
+
} from "./shared/components-fjkpbg6n.js";
|
|
137
168
|
import {
|
|
138
169
|
ThinkingIndicator2
|
|
139
|
-
} from "./shared/components-
|
|
170
|
+
} from "./shared/components-qs4rkqsj.js";
|
|
140
171
|
import {
|
|
141
172
|
AccordionGroup2,
|
|
142
173
|
Accordion2,
|
|
143
174
|
AccordionItem2,
|
|
144
175
|
AccordionTrigger2,
|
|
145
176
|
AccordionContent2
|
|
146
|
-
} from "./shared/components-
|
|
177
|
+
} from "./shared/components-ae9fncz4.js";
|
|
178
|
+
import {
|
|
179
|
+
AvatarImage2,
|
|
180
|
+
AvatarFallback2,
|
|
181
|
+
Avatar2
|
|
182
|
+
} from "./shared/components-72w4ge68.js";
|
|
147
183
|
import {
|
|
148
184
|
badgeColors2,
|
|
149
|
-
badgeVariants2
|
|
185
|
+
badgeVariants2
|
|
186
|
+
} from "./shared/components-c9yr4ed1.js";
|
|
187
|
+
import {
|
|
150
188
|
Badge2
|
|
151
|
-
} from "./shared/components-
|
|
189
|
+
} from "./shared/components-z9n19fyk.js";
|
|
190
|
+
import {
|
|
191
|
+
Separator2
|
|
192
|
+
} from "./shared/components-3h92d94m.js";
|
|
152
193
|
import {
|
|
153
194
|
CardGroup2,
|
|
154
195
|
Card2,
|
|
@@ -158,33 +199,36 @@ import {
|
|
|
158
199
|
CardAction2,
|
|
159
200
|
CardContent2,
|
|
160
201
|
CardFooter2,
|
|
202
|
+
CardDivider2,
|
|
161
203
|
CardMedia2,
|
|
162
204
|
CardImage2,
|
|
163
205
|
CardEyebrow2,
|
|
164
206
|
CardFeature2,
|
|
165
207
|
CardButton2
|
|
166
|
-
} from "./shared/components-
|
|
208
|
+
} from "./shared/components-mkkbbgb7.js";
|
|
167
209
|
import {
|
|
168
210
|
Copy2
|
|
169
|
-
} from "./shared/components-
|
|
170
|
-
import"./shared/components-
|
|
211
|
+
} from "./shared/components-r6gbmkew.js";
|
|
212
|
+
import"./shared/components-r8eqs7gz.js";
|
|
171
213
|
import {
|
|
172
214
|
CheckboxGroup2,
|
|
173
215
|
Checkbox2
|
|
174
|
-
} from "./shared/components-
|
|
216
|
+
} from "./shared/components-52ngsgca.js";
|
|
175
217
|
import {
|
|
176
218
|
Slider2,
|
|
177
219
|
SliderComfortable2
|
|
178
|
-
} from "./shared/components-
|
|
220
|
+
} from "./shared/components-jp5v0m0f.js";
|
|
179
221
|
import {
|
|
180
|
-
ColorPickerPortalContainer2,
|
|
181
222
|
parseColor2,
|
|
182
|
-
buildParsed2
|
|
223
|
+
buildParsed2
|
|
224
|
+
} from "./shared/components-26snnbs9.js";
|
|
225
|
+
import {
|
|
226
|
+
ColorPickerPortalContainer2,
|
|
183
227
|
ColorTile2,
|
|
184
228
|
ColorSwatch2,
|
|
185
229
|
ColorPicker2,
|
|
186
230
|
ColorPickerPopover2
|
|
187
|
-
} from "./shared/components-
|
|
231
|
+
} from "./shared/components-yz84gpkq.js";
|
|
188
232
|
import {
|
|
189
233
|
Combobox2,
|
|
190
234
|
ComboboxInput2,
|
|
@@ -193,37 +237,66 @@ import {
|
|
|
193
237
|
ComboboxList2,
|
|
194
238
|
ComboboxItem2,
|
|
195
239
|
ComboboxEmpty2
|
|
196
|
-
} from "./shared/components-
|
|
197
|
-
import"./shared/components-
|
|
240
|
+
} from "./shared/components-2mt9te6d.js";
|
|
241
|
+
import"./shared/components-559tf7yb.js";
|
|
242
|
+
import"./shared/components-1k0wv53d.js";
|
|
198
243
|
import {
|
|
199
244
|
Calendar2
|
|
200
|
-
} from "./shared/components-
|
|
245
|
+
} from "./shared/components-k74j4hwh.js";
|
|
246
|
+
import {
|
|
247
|
+
Label2
|
|
248
|
+
} from "./shared/components-adkarj8n.js";
|
|
201
249
|
import {
|
|
202
250
|
Input2,
|
|
203
|
-
|
|
251
|
+
InputAdornment2,
|
|
252
|
+
InputAction2,
|
|
204
253
|
InputGroup2
|
|
205
|
-
} from "./shared/components-
|
|
206
|
-
import"./shared/components-
|
|
207
|
-
import"./shared/components-
|
|
254
|
+
} from "./shared/components-y1w3a6wx.js";
|
|
255
|
+
import"./shared/components-paa08427.js";
|
|
256
|
+
import"./shared/components-egy4tyjt.js";
|
|
208
257
|
import {
|
|
209
258
|
DatePicker2
|
|
210
|
-
} from "./shared/components-
|
|
259
|
+
} from "./shared/components-wawnmkph.js";
|
|
211
260
|
import {
|
|
212
261
|
DateRangePicker2
|
|
213
|
-
} from "./shared/components-
|
|
262
|
+
} from "./shared/components-rm02h9nt.js";
|
|
214
263
|
import {
|
|
215
264
|
DurationPicker2
|
|
216
|
-
} from "./shared/components-
|
|
265
|
+
} from "./shared/components-ds9fqat9.js";
|
|
217
266
|
import {
|
|
218
267
|
MonthPicker2
|
|
219
|
-
} from "./shared/components-
|
|
268
|
+
} from "./shared/components-52r5763g.js";
|
|
220
269
|
import {
|
|
221
270
|
TimePicker2
|
|
222
|
-
} from "./shared/components-
|
|
271
|
+
} from "./shared/components-gzesg7hy.js";
|
|
272
|
+
import {
|
|
273
|
+
FieldLabel2,
|
|
274
|
+
FieldDescription2,
|
|
275
|
+
FieldError2,
|
|
276
|
+
FieldControl2,
|
|
277
|
+
Field2
|
|
278
|
+
} from "./shared/components-jjrj6ymn.js";
|
|
279
|
+
import {
|
|
280
|
+
Spinner2,
|
|
281
|
+
Progress2
|
|
282
|
+
} from "./shared/components-d3shbwqq.js";
|
|
283
|
+
import {
|
|
284
|
+
formatFileSize2,
|
|
285
|
+
acceptsFile2,
|
|
286
|
+
dragVerdict2,
|
|
287
|
+
sortFiles2
|
|
288
|
+
} from "./shared/components-f7h57m6t.js";
|
|
289
|
+
import {
|
|
290
|
+
FileRow2,
|
|
291
|
+
FileDropzone2
|
|
292
|
+
} from "./shared/components-7ntvvegr.js";
|
|
293
|
+
import {
|
|
294
|
+
NumberInput2
|
|
295
|
+
} from "./shared/components-zbvjzh1p.js";
|
|
223
296
|
import {
|
|
224
297
|
RadioGroup2,
|
|
225
298
|
Radio2
|
|
226
|
-
} from "./shared/components-
|
|
299
|
+
} from "./shared/components-mpw667rb.js";
|
|
227
300
|
import {
|
|
228
301
|
CommandListRoot2,
|
|
229
302
|
CommandShortcut2,
|
|
@@ -232,47 +305,64 @@ import {
|
|
|
232
305
|
CommandTrigger2,
|
|
233
306
|
CommandContent2,
|
|
234
307
|
Command2
|
|
235
|
-
} from "./shared/components-
|
|
308
|
+
} from "./shared/components-vsa625vk.js";
|
|
236
309
|
import {
|
|
237
310
|
Search2
|
|
238
|
-
} from "./shared/components-
|
|
311
|
+
} from "./shared/components-65vwfjs6.js";
|
|
312
|
+
import {
|
|
313
|
+
triggerVariants2
|
|
314
|
+
} from "./shared/components-xdqmt6ed.js";
|
|
239
315
|
import {
|
|
240
316
|
Select2,
|
|
241
|
-
|
|
317
|
+
SelectValue2,
|
|
242
318
|
SelectTrigger2,
|
|
243
319
|
SelectContent2,
|
|
244
320
|
SelectItem2,
|
|
245
321
|
SelectGroup2,
|
|
246
322
|
SelectLabel2,
|
|
247
323
|
SelectSeparator2
|
|
248
|
-
} from "./shared/components-
|
|
324
|
+
} from "./shared/components-6j2fh74k.js";
|
|
249
325
|
import {
|
|
250
326
|
Switch2,
|
|
251
327
|
SwitchGroup2
|
|
252
|
-
} from "./shared/components-
|
|
328
|
+
} from "./shared/components-wwd363me.js";
|
|
253
329
|
import {
|
|
254
330
|
Textarea2
|
|
255
|
-
} from "./shared/components-
|
|
331
|
+
} from "./shared/components-5s0nfqvw.js";
|
|
332
|
+
import {
|
|
333
|
+
NavigationMenuList2,
|
|
334
|
+
NavigationMenuIndicator2,
|
|
335
|
+
NavigationMenuItem2,
|
|
336
|
+
NavigationMenuTrigger2,
|
|
337
|
+
NavigationMenuContent2,
|
|
338
|
+
NavigationMenuLink2,
|
|
339
|
+
NavigationMenu2
|
|
340
|
+
} from "./shared/components-5mkga9hj.js";
|
|
341
|
+
import {
|
|
342
|
+
Pagination2
|
|
343
|
+
} from "./shared/components-4n4f5m3e.js";
|
|
256
344
|
import {
|
|
257
345
|
Tabs2,
|
|
258
346
|
TabsList2,
|
|
259
347
|
TabItem2,
|
|
260
348
|
TabPanel2
|
|
261
|
-
} from "./shared/components-
|
|
349
|
+
} from "./shared/components-pmfszv7a.js";
|
|
262
350
|
import {
|
|
263
351
|
TabsSubtle2,
|
|
264
352
|
TabsSubtleItem2,
|
|
265
353
|
TabsSubtlePanel2
|
|
266
|
-
} from "./shared/components-
|
|
354
|
+
} from "./shared/components-60atskhp.js";
|
|
267
355
|
import {
|
|
268
356
|
AlertDialogContent2,
|
|
357
|
+
AlertDialogAction2,
|
|
358
|
+
AlertDialogCancel2,
|
|
269
359
|
AlertDialog2
|
|
270
|
-
} from "./shared/components-
|
|
360
|
+
} from "./shared/components-6zg1yft7.js";
|
|
271
361
|
import {
|
|
272
362
|
ContextMenuItem2,
|
|
273
363
|
ContextMenuContent2,
|
|
274
364
|
ContextMenu2
|
|
275
|
-
} from "./shared/components-
|
|
365
|
+
} from "./shared/components-y6578b8h.js";
|
|
276
366
|
import {
|
|
277
367
|
PopoverTrigger2,
|
|
278
368
|
PopoverClose2,
|
|
@@ -280,43 +370,46 @@ import {
|
|
|
280
370
|
PopoverTitle2,
|
|
281
371
|
PopoverDescription2,
|
|
282
372
|
Popover2
|
|
283
|
-
} from "./shared/components-
|
|
373
|
+
} from "./shared/components-gh0qeey3.js";
|
|
284
374
|
import {
|
|
285
375
|
PreviewCardTrigger2,
|
|
286
376
|
PreviewCardContent2,
|
|
287
377
|
PreviewCard2
|
|
288
|
-
} from "./shared/components-
|
|
378
|
+
} from "./shared/components-0jmqhx2k.js";
|
|
289
379
|
import {
|
|
380
|
+
toast2,
|
|
290
381
|
useToast2,
|
|
291
382
|
ToastTrigger2,
|
|
292
383
|
Toast2
|
|
293
|
-
} from "./shared/components-
|
|
384
|
+
} from "./shared/components-3wxkjgqn.js";
|
|
294
385
|
import {
|
|
295
386
|
Table2,
|
|
296
387
|
TableHeader2,
|
|
297
388
|
TableBody2,
|
|
389
|
+
TableFooter2,
|
|
390
|
+
TableCaption2,
|
|
298
391
|
TableRow2,
|
|
299
392
|
TableHead2,
|
|
300
|
-
TableCell2
|
|
301
|
-
|
|
393
|
+
TableCell2,
|
|
394
|
+
TableEmpty2
|
|
395
|
+
} from "./shared/components-9mys9jna.js";
|
|
302
396
|
import {
|
|
303
397
|
Code2
|
|
304
|
-
} from "./shared/components-
|
|
305
|
-
import"./shared/components-
|
|
398
|
+
} from "./shared/components-49bsynbw.js";
|
|
399
|
+
import"./shared/components-pd42emw3.js";
|
|
306
400
|
import {
|
|
307
401
|
FluidHoverItem2,
|
|
308
402
|
FluidHover2
|
|
309
|
-
} from "./shared/components-
|
|
403
|
+
} from "./shared/components-2c0qcfx4.js";
|
|
310
404
|
import {
|
|
311
405
|
Morph2
|
|
312
|
-
} from "./shared/components-
|
|
406
|
+
} from "./shared/components-gvbapfen.js";
|
|
313
407
|
import {
|
|
314
408
|
Motion2
|
|
315
|
-
} from "./shared/components-
|
|
409
|
+
} from "./shared/components-b1f2bjf1.js";
|
|
316
410
|
import {
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
} from "./shared/components-1v7rxytx.js";
|
|
411
|
+
Skeleton2
|
|
412
|
+
} from "./shared/components-wktrrb4m.js";
|
|
320
413
|
export {
|
|
321
414
|
Accordion2 as Accordion,
|
|
322
415
|
AccordionContent2 as AccordionContent,
|
|
@@ -324,7 +417,12 @@ export {
|
|
|
324
417
|
AccordionItem2 as AccordionItem,
|
|
325
418
|
AccordionTrigger2 as AccordionTrigger,
|
|
326
419
|
AlertDialog2 as AlertDialog,
|
|
420
|
+
AlertDialogAction2 as AlertDialogAction,
|
|
421
|
+
AlertDialogCancel2 as AlertDialogCancel,
|
|
327
422
|
AlertDialogContent2 as AlertDialogContent,
|
|
423
|
+
Avatar2 as Avatar,
|
|
424
|
+
AvatarFallback2 as AvatarFallback,
|
|
425
|
+
AvatarImage2 as AvatarImage,
|
|
328
426
|
Badge2 as Badge,
|
|
329
427
|
Button2 as Button,
|
|
330
428
|
Calendar2 as Calendar,
|
|
@@ -333,6 +431,7 @@ export {
|
|
|
333
431
|
CardButton2 as CardButton,
|
|
334
432
|
CardContent2 as CardContent,
|
|
335
433
|
CardDescription2 as CardDescription,
|
|
434
|
+
CardDivider2 as CardDivider,
|
|
336
435
|
CardEyebrow2 as CardEyebrow,
|
|
337
436
|
CardFeature2 as CardFeature,
|
|
338
437
|
CardFooter2 as CardFooter,
|
|
@@ -379,21 +478,38 @@ export {
|
|
|
379
478
|
DialogTitle2 as DialogTitle,
|
|
380
479
|
DialogTrigger2 as DialogTrigger,
|
|
381
480
|
Dropdown2 as Dropdown,
|
|
481
|
+
DropdownCheckboxItem2 as DropdownCheckboxItem,
|
|
382
482
|
DropdownContent2 as DropdownContent,
|
|
383
483
|
DropdownEmpty2 as DropdownEmpty,
|
|
484
|
+
DropdownGroup2 as DropdownGroup,
|
|
384
485
|
DropdownLabel2 as DropdownLabel,
|
|
385
486
|
DropdownMenu2 as DropdownMenu,
|
|
487
|
+
DropdownRadioGroup2 as DropdownRadioGroup,
|
|
488
|
+
DropdownRadioItem2 as DropdownRadioItem,
|
|
386
489
|
DropdownSearch2 as DropdownSearch,
|
|
387
490
|
DropdownSeparator2 as DropdownSeparator,
|
|
491
|
+
DropdownShortcut2 as DropdownShortcut,
|
|
492
|
+
DropdownSub2 as DropdownSub,
|
|
493
|
+
DropdownSubContent2 as DropdownSubContent,
|
|
494
|
+
DropdownSubTrigger2 as DropdownSubTrigger,
|
|
388
495
|
DropdownTrigger2 as DropdownTrigger,
|
|
389
496
|
DurationPicker2 as DurationPicker,
|
|
390
497
|
Elevated2 as Elevated,
|
|
498
|
+
Field2 as Field,
|
|
499
|
+
FieldControl2 as FieldControl,
|
|
500
|
+
FieldDescription2 as FieldDescription,
|
|
501
|
+
FieldError2 as FieldError,
|
|
502
|
+
FieldLabel2 as FieldLabel,
|
|
503
|
+
FileDropzone2 as FileDropzone,
|
|
504
|
+
FileRow2 as FileRow,
|
|
391
505
|
FileThumbnail2 as FileThumbnail,
|
|
392
506
|
FluidHover2 as FluidHover,
|
|
393
507
|
FluidHoverHighlight2 as FluidHoverHighlight,
|
|
394
508
|
FluidHoverItem2 as FluidHoverItem,
|
|
395
509
|
IconProvider2 as IconProvider,
|
|
396
510
|
Input2 as Input,
|
|
511
|
+
InputAction2 as InputAction,
|
|
512
|
+
InputAdornment2 as InputAdornment,
|
|
397
513
|
InputGroup2 as InputGroup,
|
|
398
514
|
InputMessage2 as InputMessage,
|
|
399
515
|
Label2 as Label,
|
|
@@ -402,6 +518,15 @@ export {
|
|
|
402
518
|
Morph2 as Morph,
|
|
403
519
|
MorphPart2 as MorphPart,
|
|
404
520
|
Motion2 as Motion,
|
|
521
|
+
NavigationMenu2 as NavigationMenu,
|
|
522
|
+
NavigationMenuContent2 as NavigationMenuContent,
|
|
523
|
+
NavigationMenuIndicator2 as NavigationMenuIndicator,
|
|
524
|
+
NavigationMenuItem2 as NavigationMenuItem,
|
|
525
|
+
NavigationMenuLink2 as NavigationMenuLink,
|
|
526
|
+
NavigationMenuList2 as NavigationMenuList,
|
|
527
|
+
NavigationMenuTrigger2 as NavigationMenuTrigger,
|
|
528
|
+
NumberInput2 as NumberInput,
|
|
529
|
+
Pagination2 as Pagination,
|
|
405
530
|
Popover2 as Popover,
|
|
406
531
|
PopoverClose2 as PopoverClose,
|
|
407
532
|
PopoverContent2 as PopoverContent,
|
|
@@ -411,6 +536,7 @@ export {
|
|
|
411
536
|
PreviewCard2 as PreviewCard,
|
|
412
537
|
PreviewCardContent2 as PreviewCardContent,
|
|
413
538
|
PreviewCardTrigger2 as PreviewCardTrigger,
|
|
539
|
+
Progress2 as Progress,
|
|
414
540
|
Radio2 as Radio,
|
|
415
541
|
RadioGroup2 as RadioGroup,
|
|
416
542
|
SIDEBAR_COOKIE_MAX_AGE2 as SIDEBAR_COOKIE_MAX_AGE,
|
|
@@ -431,6 +557,8 @@ export {
|
|
|
431
557
|
SelectLabel2 as SelectLabel,
|
|
432
558
|
SelectSeparator2 as SelectSeparator,
|
|
433
559
|
SelectTrigger2 as SelectTrigger,
|
|
560
|
+
SelectValue2 as SelectValue,
|
|
561
|
+
Separator2 as Separator,
|
|
434
562
|
ShapeProvider2 as ShapeProvider,
|
|
435
563
|
Sheet2 as Sheet,
|
|
436
564
|
SheetContent2 as SheetContent,
|
|
@@ -463,8 +591,10 @@ export {
|
|
|
463
591
|
SidebarSeparator2 as SidebarSeparator,
|
|
464
592
|
SidebarTrigger2 as SidebarTrigger,
|
|
465
593
|
SizeProvider2 as SizeProvider,
|
|
594
|
+
Skeleton2 as Skeleton,
|
|
466
595
|
Slider2 as Slider,
|
|
467
596
|
SliderComfortable2 as SliderComfortable,
|
|
597
|
+
Spinner2 as Spinner,
|
|
468
598
|
SurfaceProvider2 as SurfaceProvider,
|
|
469
599
|
Switch2 as Switch,
|
|
470
600
|
SwitchGroup2 as SwitchGroup,
|
|
@@ -472,7 +602,10 @@ export {
|
|
|
472
602
|
TabPanel2 as TabPanel,
|
|
473
603
|
Table2 as Table,
|
|
474
604
|
TableBody2 as TableBody,
|
|
605
|
+
TableCaption2 as TableCaption,
|
|
475
606
|
TableCell2 as TableCell,
|
|
607
|
+
TableEmpty2 as TableEmpty,
|
|
608
|
+
TableFooter2 as TableFooter,
|
|
476
609
|
TableHead2 as TableHead,
|
|
477
610
|
TableHeader2 as TableHeader,
|
|
478
611
|
TableRow2 as TableRow,
|
|
@@ -487,20 +620,28 @@ export {
|
|
|
487
620
|
Toast2 as Toast,
|
|
488
621
|
ToastTrigger2 as ToastTrigger,
|
|
489
622
|
Tooltip2 as Tooltip,
|
|
623
|
+
TooltipContent2 as TooltipContent,
|
|
490
624
|
TooltipPortalContainer2 as TooltipPortalContainer,
|
|
491
625
|
TooltipProvider2 as TooltipProvider,
|
|
626
|
+
TooltipRoot2 as TooltipRoot,
|
|
627
|
+
TooltipTrigger2 as TooltipTrigger,
|
|
628
|
+
acceptsFile2 as acceptsFile,
|
|
492
629
|
badgeColors2 as badgeColors,
|
|
493
630
|
badgeVariants2 as badgeVariants,
|
|
494
631
|
buildParsed2 as buildParsed,
|
|
495
632
|
buttonVariants2 as buttonVariants,
|
|
496
633
|
cn2 as cn,
|
|
497
|
-
|
|
634
|
+
fieldVariants2 as comboboxFieldVariants,
|
|
635
|
+
dragVerdict2 as dragVerdict,
|
|
498
636
|
exitFallbackMs2 as exitFallbackMs,
|
|
637
|
+
formatFileSize2 as formatFileSize,
|
|
499
638
|
parseColor2 as parseColor,
|
|
500
639
|
sidebarMenuButtonVariants2 as sidebarMenuButtonVariants,
|
|
501
640
|
sizeMap2 as sizeMap,
|
|
641
|
+
sortFiles2 as sortFiles,
|
|
502
642
|
spring2 as spring,
|
|
503
643
|
surfaceClasses2 as surfaceClasses,
|
|
644
|
+
toast2 as toast,
|
|
504
645
|
triggerVariants2 as triggerVariants,
|
|
505
646
|
typeScale2 as typeScale,
|
|
506
647
|
useDialogState2 as useDialogState,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Locale } from "date-fns";
|
|
2
|
+
type HourCycle = "h11" | "h12" | "h23" | "h24";
|
|
3
|
+
declare const defaultLocale: Locale;
|
|
4
|
+
/** The clock the locale writes times on: `h12` / `h11` read with AM/PM. */
|
|
5
|
+
declare function hourCycleOf(locale: Locale): HourCycle;
|
|
6
|
+
/** A typed date in any of the locale's own formats, short to full: "09.10.2026", "9 Oct 2026", "October 9, 2026". */
|
|
7
|
+
declare function parseDateText(text: string, locale: Locale, reference?: Date): Date | null;
|
|
8
|
+
/** A typed time, in the locale's format ("3:33 PM") or on a 24-hour clock ("15:33"), on `reference`'s day. */
|
|
9
|
+
declare function parseTimeText(text: string, locale: Locale, reference?: Date): Date | null;
|
|
10
|
+
/** A typed month and year: "October 2026", "Oct 2026", "10/2026". */
|
|
11
|
+
declare function parseMonthText(text: string, locale: Locale, reference?: Date): Date | null;
|
|
12
|
+
/** The locale's name for a date field, for a column's accessible label. */
|
|
13
|
+
declare function fieldLabel(locale: Locale, field: "month" | "year" | "hour" | "minute" | "dayPeriod"): string;
|
|
14
|
+
export { HourCycle, defaultLocale, fieldLabel, hourCycleOf, parseDateText, parseMonthText, parseTimeText };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defaultLocale2,
|
|
3
|
+
hourCycleOf2,
|
|
4
|
+
parseDateText2,
|
|
5
|
+
parseTimeText2,
|
|
6
|
+
parseMonthText2,
|
|
7
|
+
fieldLabel2
|
|
8
|
+
} from "../shared/components-559tf7yb.js";
|
|
9
|
+
export {
|
|
10
|
+
defaultLocale2 as defaultLocale,
|
|
11
|
+
fieldLabel2 as fieldLabel,
|
|
12
|
+
hourCycleOf2 as hourCycleOf,
|
|
13
|
+
parseDateText2 as parseDateText,
|
|
14
|
+
parseMonthText2 as parseMonthText,
|
|
15
|
+
parseTimeText2 as parseTimeText
|
|
16
|
+
};
|