admin-ui-starter-kit 0.4.3 → 0.4.5
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/.agents/skills/admin-ui-consumer-migration/SKILL.md +10 -0
- package/.agents/skills/admin-ui-consumer-migration/references/actions-service.md +377 -0
- package/CHANGELOG.md +37 -1
- package/COMPONENT_SELECTION.md +10 -1
- package/INTEGRATION.md +93 -0
- package/README.md +95 -1
- package/dist/_shared/accordion-Df1XrCDv.cjs +2 -0
- package/dist/_shared/accordion-Df1XrCDv.cjs.map +1 -0
- package/dist/_shared/accordion-Rzi9wEl6.js +130 -0
- package/dist/_shared/accordion-Rzi9wEl6.js.map +1 -0
- package/dist/_shared/action-menu-CrOJ63Q9.js +96 -0
- package/dist/_shared/action-menu-CrOJ63Q9.js.map +1 -0
- package/dist/_shared/action-menu-D9OowHKx.cjs +2 -0
- package/dist/_shared/action-menu-D9OowHKx.cjs.map +1 -0
- package/dist/_shared/ai-artifact-D4EjKoq6.cjs +3 -0
- package/dist/_shared/ai-artifact-D4EjKoq6.cjs.map +1 -0
- package/dist/_shared/ai-artifact-nlOrSeqT.js +1099 -0
- package/dist/_shared/ai-artifact-nlOrSeqT.js.map +1 -0
- package/dist/_shared/auth-C5HawWvp.cjs +2 -0
- package/dist/_shared/auth-C5HawWvp.cjs.map +1 -0
- package/dist/_shared/auth-DnMEJXP9.js +643 -0
- package/dist/_shared/auth-DnMEJXP9.js.map +1 -0
- package/dist/_shared/badge-6WYAMJwA.js +108 -0
- package/dist/_shared/badge-6WYAMJwA.js.map +1 -0
- package/dist/_shared/badge-CBof1rbF.cjs +2 -0
- package/dist/_shared/badge-CBof1rbF.cjs.map +1 -0
- package/dist/_shared/button-BGKY8UY0.js +173 -0
- package/dist/_shared/button-BGKY8UY0.js.map +1 -0
- package/dist/_shared/button-BI347RlM.cjs +2 -0
- package/dist/_shared/button-BI347RlM.cjs.map +1 -0
- package/dist/_shared/button-DEFoa7-c.cjs +2 -0
- package/dist/_shared/button-DEFoa7-c.cjs.map +1 -0
- package/dist/_shared/button-DlqryxqA.js +46 -0
- package/dist/_shared/button-DlqryxqA.js.map +1 -0
- package/dist/_shared/buttons-PL-TGJ32.js +143 -0
- package/dist/_shared/buttons-PL-TGJ32.js.map +1 -0
- package/dist/_shared/buttons-kVvSD_oI.cjs +2 -0
- package/dist/_shared/buttons-kVvSD_oI.cjs.map +1 -0
- package/dist/_shared/combobox-B4KmDZK0.cjs +2 -0
- package/dist/_shared/combobox-B4KmDZK0.cjs.map +1 -0
- package/dist/_shared/combobox-YUGi3xSc.js +810 -0
- package/dist/_shared/combobox-YUGi3xSc.js.map +1 -0
- package/dist/_shared/comments-GzXdwpq4.js +952 -0
- package/dist/_shared/comments-GzXdwpq4.js.map +1 -0
- package/dist/_shared/comments-Zj_foV1V.cjs +2 -0
- package/dist/_shared/comments-Zj_foV1V.cjs.map +1 -0
- package/dist/_shared/date-picker-Dl91BM3D.js +1361 -0
- package/dist/_shared/date-picker-Dl91BM3D.js.map +1 -0
- package/dist/_shared/date-picker-zFOqtmAS.cjs +2 -0
- package/dist/_shared/date-picker-zFOqtmAS.cjs.map +1 -0
- package/dist/_shared/date-pickers-BBydcIjN.cjs +2 -0
- package/dist/_shared/date-pickers-BBydcIjN.cjs.map +1 -0
- package/dist/_shared/date-pickers-D2OsgV4V.js +330 -0
- package/dist/_shared/date-pickers-D2OsgV4V.js.map +1 -0
- package/dist/_shared/dialog-CCN4tjU9.js +101 -0
- package/dist/_shared/dialog-CCN4tjU9.js.map +1 -0
- package/dist/_shared/dialog-Dd0ENSrU.cjs +2 -0
- package/dist/_shared/dialog-Dd0ENSrU.cjs.map +1 -0
- package/dist/_shared/display-Dhy5ogxC.cjs +2 -0
- package/dist/_shared/display-Dhy5ogxC.cjs.map +1 -0
- package/dist/_shared/display-NBtWdAMl.js +1154 -0
- package/dist/_shared/display-NBtWdAMl.js.map +1 -0
- package/dist/_shared/forms-BweX9Lm8.cjs +2 -0
- package/dist/_shared/forms-BweX9Lm8.cjs.map +1 -0
- package/dist/_shared/forms-L1hyNKpZ.js +3430 -0
- package/dist/_shared/forms-L1hyNKpZ.js.map +1 -0
- package/dist/_shared/header-BSBPtGn4.cjs +2 -0
- package/dist/_shared/header-BSBPtGn4.cjs.map +1 -0
- package/dist/_shared/header-No6GSp4R.js +360 -0
- package/dist/_shared/header-No6GSp4R.js.map +1 -0
- package/dist/_shared/hooks-BkXvZ4py.js +118 -0
- package/dist/_shared/hooks-BkXvZ4py.js.map +1 -0
- package/dist/_shared/hooks-D3SbLBRk.cjs +2 -0
- package/dist/_shared/hooks-D3SbLBRk.cjs.map +1 -0
- package/dist/_shared/mentions-CA1Ka_Bv.cjs +2 -0
- package/dist/_shared/mentions-CA1Ka_Bv.cjs.map +1 -0
- package/dist/_shared/mentions-CdvvLGQG.js +506 -0
- package/dist/_shared/mentions-CdvvLGQG.js.map +1 -0
- package/dist/_shared/metadata-Ckcmar8d.js +235 -0
- package/dist/_shared/metadata-Ckcmar8d.js.map +1 -0
- package/dist/_shared/metadata-DamdYVZL.cjs +2 -0
- package/dist/_shared/metadata-DamdYVZL.cjs.map +1 -0
- package/dist/_shared/navigation-BemwPPC8.cjs +2 -0
- package/dist/_shared/navigation-BemwPPC8.cjs.map +1 -0
- package/dist/_shared/navigation-DY540HB0.js +419 -0
- package/dist/_shared/navigation-DY540HB0.js.map +1 -0
- package/dist/_shared/overlays-CJs_syAu.js +648 -0
- package/dist/_shared/overlays-CJs_syAu.js.map +1 -0
- package/dist/_shared/overlays-DWFEaAog.cjs +2 -0
- package/dist/_shared/overlays-DWFEaAog.cjs.map +1 -0
- package/dist/_shared/page-Cg_gNpyK.js +262 -0
- package/dist/_shared/page-Cg_gNpyK.js.map +1 -0
- package/dist/_shared/page-CpFWQuWU.cjs +2 -0
- package/dist/_shared/page-CpFWQuWU.cjs.map +1 -0
- package/dist/_shared/rich-text-editor-B2VqNi6j.js +620 -0
- package/dist/_shared/rich-text-editor-B2VqNi6j.js.map +1 -0
- package/dist/_shared/rich-text-editor-ChE-pI3N.cjs +2 -0
- package/dist/_shared/rich-text-editor-ChE-pI3N.cjs.map +1 -0
- package/dist/_shared/sheet-BOgUA4fC.cjs +2 -0
- package/dist/_shared/sheet-BOgUA4fC.cjs.map +1 -0
- package/dist/_shared/sheet-DWQuyRRz.js +100 -0
- package/dist/_shared/sheet-DWQuyRRz.js.map +1 -0
- package/dist/_shared/sidebar-BGpi9K_Q.js +389 -0
- package/dist/_shared/sidebar-BGpi9K_Q.js.map +1 -0
- package/dist/_shared/sidebar-BTFfxmNG.cjs +2 -0
- package/dist/_shared/sidebar-BTFfxmNG.cjs.map +1 -0
- package/dist/_shared/sidebar-CC3lcvNX.cjs +2 -0
- package/dist/_shared/sidebar-CC3lcvNX.cjs.map +1 -0
- package/dist/_shared/sidebar-wmztVpnO.js +538 -0
- package/dist/_shared/sidebar-wmztVpnO.js.map +1 -0
- package/dist/_shared/smart-card-B6m7tmt0.cjs +2 -0
- package/dist/_shared/smart-card-B6m7tmt0.cjs.map +1 -0
- package/dist/_shared/smart-card-thLb85Ih.js +361 -0
- package/dist/_shared/smart-card-thLb85Ih.js.map +1 -0
- package/dist/_shared/table-BItnJ8lG.cjs +2 -0
- package/dist/_shared/table-BItnJ8lG.cjs.map +1 -0
- package/dist/_shared/table-D3349b-v.js +1189 -0
- package/dist/_shared/table-D3349b-v.js.map +1 -0
- package/dist/_shared/workspace-BGVeTeJy.js +357 -0
- package/dist/_shared/workspace-BGVeTeJy.js.map +1 -0
- package/dist/_shared/workspace-CWyzTUmE.cjs +2 -0
- package/dist/_shared/workspace-CWyzTUmE.cjs.map +1 -0
- package/dist/components/base/accordion/index.cjs +1 -1
- package/dist/components/base/accordion/index.js +1 -1
- package/dist/components/base/badge/index.cjs +1 -1
- package/dist/components/base/badge/index.js +1 -1
- package/dist/components/base/buttons/index.cjs +1 -1
- package/dist/components/base/buttons/index.js +2 -2
- package/dist/components/base/cards/index.cjs +1 -1
- package/dist/components/base/cards/index.js +1 -1
- package/dist/components/base/carousel/index.cjs +1 -1
- package/dist/components/base/carousel/index.js +1 -1
- package/dist/components/base/combobox/index.cjs +1 -1
- package/dist/components/base/combobox/index.js +1 -1
- package/dist/components/base/date-pickers/index.cjs +1 -1
- package/dist/components/base/date-pickers/index.js +2 -2
- package/dist/components/base/display/alert.d.ts +1 -1
- package/dist/components/base/display/index.cjs +1 -1
- package/dist/components/base/display/index.js +6 -6
- package/dist/components/base/display/metadata/index.cjs +1 -1
- package/dist/components/base/display/metadata/index.js +1 -1
- package/dist/components/base/event-calendar/index.cjs +1 -1
- package/dist/components/base/event-calendar/index.js +41 -41
- package/dist/components/base/forms/index.cjs +1 -1
- package/dist/components/base/forms/index.js +1 -1
- package/dist/components/base/map/index.cjs +1 -1
- package/dist/components/base/map/index.js +31 -31
- package/dist/components/base/navigation/index.cjs +1 -1
- package/dist/components/base/navigation/index.js +2 -2
- package/dist/components/base/sheet/index.cjs +1 -1
- package/dist/components/base/sheet/index.js +1 -1
- package/dist/components/base/sidebar/index.cjs +1 -1
- package/dist/components/base/sidebar/index.js +1 -1
- package/dist/components/base/table/index.cjs +1 -1
- package/dist/components/base/table/index.js +1 -1
- package/dist/components/composed/admin/index.cjs +1 -1
- package/dist/components/composed/admin/index.js +47 -47
- package/dist/components/composed/ai/index.cjs +1 -1
- package/dist/components/composed/ai/index.js +105 -105
- package/dist/components/composed/analytics/index.cjs +1 -1
- package/dist/components/composed/analytics/index.js +89 -89
- package/dist/components/composed/cards/index.cjs +1 -1
- package/dist/components/composed/cards/index.js +116 -116
- package/dist/components/composed/commerce/index.cjs +1 -1
- package/dist/components/composed/commerce/index.js +127 -127
- package/dist/components/composed/dark-surfaces/index.cjs +1 -1
- package/dist/components/composed/dark-surfaces/index.js +37 -37
- package/dist/components/composed/data-display/index.cjs +1 -1
- package/dist/components/composed/data-display/index.js +3 -3
- package/dist/components/composed/navigation/index.cjs +1 -1
- package/dist/components/composed/navigation/index.js +55 -55
- package/dist/components/composed/onboarding/index.cjs +1 -1
- package/dist/components/composed/onboarding/index.js +1 -1
- package/dist/components/composed/timelines/index.cjs +1 -1
- package/dist/components/composed/timelines/index.js +2 -2
- package/dist/components/features/activities/index.cjs +1 -1
- package/dist/components/features/activities/index.js +56 -56
- package/dist/components/features/ai-chat/index.cjs +2 -2
- package/dist/components/features/ai-chat/index.js +53 -53
- package/dist/components/features/card/index.cjs +1 -1
- package/dist/components/features/card/index.js +21 -21
- package/dist/components/features/comments/index.cjs +1 -1
- package/dist/components/features/comments/index.js +2 -2
- package/dist/components/features/event-log/index.cjs +1 -1
- package/dist/components/features/event-log/index.js +3 -3
- package/dist/components/features/filters/index.cjs +1 -1
- package/dist/components/features/filters/index.js +143 -143
- package/dist/components/features/global-search/index.cjs +1 -1
- package/dist/components/features/global-search/index.js +57 -57
- package/dist/components/features/kanban/index.cjs +1 -1
- package/dist/components/features/kanban/index.js +14 -14
- package/dist/components/features/media-library/index.cjs +1 -1
- package/dist/components/features/media-library/index.js +178 -178
- package/dist/components/features/mentions/index.cjs +1 -1
- package/dist/components/features/mentions/index.js +1 -1
- package/dist/components/features/overlays/alert-dialog.d.ts +1 -1
- package/dist/components/features/overlays/alert-dialog.d.ts.map +1 -1
- package/dist/components/features/overlays/drawer.d.ts +1 -1
- package/dist/components/features/overlays/drawer.d.ts.map +1 -1
- package/dist/components/features/overlays/index.cjs +1 -1
- package/dist/components/features/overlays/index.js +1 -1
- package/dist/components/features/overlays/overlays.types.d.ts +1 -0
- package/dist/components/features/overlays/overlays.types.d.ts.map +1 -1
- package/dist/components/features/products/index.cjs +1 -1
- package/dist/components/features/products/index.js +124 -124
- package/dist/components/features/rich-text-editor/index.cjs +1 -1
- package/dist/components/features/rich-text-editor/index.js +1 -1
- package/dist/components/features/schema-form/index.cjs +1 -1
- package/dist/components/features/schema-form/index.js +26 -26
- package/dist/components/features/suggestions/index.cjs +1 -1
- package/dist/components/features/suggestions/index.js +1 -1
- package/dist/components/layout/auth/index.cjs +1 -1
- package/dist/components/layout/auth/index.js +1 -1
- package/dist/components/layout/header/index.cjs +1 -1
- package/dist/components/layout/header/index.js +1 -1
- package/dist/components/layout/hooks/index.cjs +1 -1
- package/dist/components/layout/hooks/index.js +1 -1
- package/dist/components/layout/index.cjs +1 -1
- package/dist/components/layout/index.js +6 -6
- package/dist/components/layout/page/index.cjs +1 -1
- package/dist/components/layout/page/index.js +1 -1
- package/dist/components/layout/sidebar/index.cjs +1 -1
- package/dist/components/layout/sidebar/index.js +2 -2
- package/dist/components/layout/workspace/index.cjs +1 -1
- package/dist/components/layout/workspace/index.js +1 -1
- package/dist/components/ui/alert.d.ts +1 -1
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/services/actions/action-adapters.d.ts +97 -0
- package/dist/services/actions/action-adapters.d.ts.map +1 -0
- package/dist/services/actions/action-overlay-outlet.d.ts +4 -0
- package/dist/services/actions/action-overlay-outlet.d.ts.map +1 -0
- package/dist/services/actions/action-provider.d.ts +8 -0
- package/dist/services/actions/action-provider.d.ts.map +1 -0
- package/dist/services/actions/action-scope.d.ts +4 -0
- package/dist/services/actions/action-scope.d.ts.map +1 -0
- package/dist/services/actions/action-store.d.ts +56 -0
- package/dist/services/actions/action-store.d.ts.map +1 -0
- package/dist/services/actions/actions.strings.d.ts +3 -0
- package/dist/services/actions/actions.strings.d.ts.map +1 -0
- package/dist/services/actions/actions.types.d.ts +309 -0
- package/dist/services/actions/actions.types.d.ts.map +1 -0
- package/dist/services/actions/hooks.d.ts +9 -0
- package/dist/services/actions/hooks.d.ts.map +1 -0
- package/dist/services/actions/index.cjs +2 -0
- package/dist/services/actions/index.cjs.map +1 -0
- package/dist/services/actions/index.d.ts +9 -0
- package/dist/services/actions/index.d.ts.map +1 -0
- package/dist/services/actions/index.js +844 -0
- package/dist/services/actions/index.js.map +1 -0
- package/dist/showcase/assets/AreaChart-BYEewdc_.js +6 -0
- package/dist/showcase/assets/CompositeItem-Duekeg4m.js +1 -0
- package/dist/showcase/assets/CompositeRoot-BgNU3T7R.js +1 -0
- package/dist/showcase/assets/DialogTrigger-9xWmoeF5.js +1 -0
- package/dist/showcase/assets/LabelableContext-B3W_70Qk.js +1 -0
- package/dist/showcase/assets/PreviewLayout-nADJqRlP.js +1 -0
- package/dist/showcase/assets/RadioGroup-Bp1VCzxr.js +1 -0
- package/dist/showcase/assets/Separator-9PWX3shz.js +1 -0
- package/dist/showcase/assets/ToolbarRootContext-DwELw9xS.js +1 -0
- package/dist/showcase/assets/accordion-CfqHO9_z.js +171 -0
- package/dist/showcase/assets/accordion-variants-pkPHxkLW.js +1 -0
- package/dist/showcase/assets/action-menu-DFzSuDjI.js +1 -0
- package/dist/showcase/assets/activities-Bo97b2-I.js +501 -0
- package/dist/showcase/assets/activities-feed-card-D77gf27B.js +1 -0
- package/dist/showcase/assets/activity-BUlCWLI8.js +1 -0
- package/dist/showcase/assets/admin-CxTV4kZX.js +80 -0
- package/dist/showcase/assets/ai-Bym5H8bn.js +41 -0
- package/dist/showcase/assets/ai-artifact-DZVl1WmK.js +2 -0
- package/dist/showcase/assets/ai-chat-M3X5-PgT.js +568 -0
- package/dist/showcase/assets/ai-elements-DjppcMBD.js +387 -0
- package/dist/showcase/assets/ai-new-CXnrIi5S.js +167 -0
- package/dist/showcase/assets/ai-tool-call-DyMI8DqD.js +1 -0
- package/dist/showcase/assets/alert-D6Pygy2s.js +62 -0
- package/dist/showcase/assets/alert-DCrWLbEx.js +93 -0
- package/dist/showcase/assets/alert-qTNM0vld.js +1 -0
- package/dist/showcase/assets/api-key-list-CCpuHYHc.js +73 -0
- package/dist/showcase/assets/app-sidebar-CxTRNC5L.js +1 -0
- package/dist/showcase/assets/arrow-down--phuskCV.js +1 -0
- package/dist/showcase/assets/arrow-left-B__WWqyA.js +1 -0
- package/dist/showcase/assets/arrow-right-1-EvXxjB.js +1 -0
- package/dist/showcase/assets/arrow-up-lWotnmo7.js +1 -0
- package/dist/showcase/assets/arrow-up-right-IyQ3oeq0.js +1 -0
- package/dist/showcase/assets/avatar-gugtNx4D.js +57 -0
- package/dist/showcase/assets/avatar-n1nywTlx.js +1 -0
- package/dist/showcase/assets/badge-TuE-u3Hv.js +28 -0
- package/dist/showcase/assets/badge-check-CPDvpVzK.js +1 -0
- package/dist/showcase/assets/bell-DeCVddCA.js +1 -0
- package/dist/showcase/assets/bot-B_vzJEJH.js +1 -0
- package/dist/showcase/assets/box-z4O8t_K5.js +1 -0
- package/dist/showcase/assets/brain-DdKBE4Bh.js +1 -0
- package/dist/showcase/assets/brand-CfW7mgTY.js +36 -0
- package/dist/showcase/assets/breadcrumb-B4TBbKv3.js +52 -0
- package/dist/showcase/assets/breadcrumb-bF_sFVBL.js +1 -0
- package/dist/showcase/assets/breadcrumbs-CBv3EaMX.js +1 -0
- package/dist/showcase/assets/briefcase-ClqzeNt3.js +1 -0
- package/dist/showcase/assets/building-2-BQuWgjZj.js +1 -0
- package/dist/showcase/assets/button-CWKNCI82.js +44 -0
- package/dist/showcase/assets/button-group-BYhxtFwV.js +1 -0
- package/dist/showcase/assets/buttons-mBRyBw3Q.js +270 -0
- package/dist/showcase/assets/calendar-BgloJjlW.js +1 -0
- package/dist/showcase/assets/calendar-CJDWspzi.js +1 -0
- package/dist/showcase/assets/calendar-CgML2kJt.js +16 -0
- package/dist/showcase/assets/calendar-days-C0gTLVnY.js +1 -0
- package/dist/showcase/assets/camera-nIlaz4Sn.js +1 -0
- package/dist/showcase/assets/card-1ncRnRvq.js +1 -0
- package/dist/showcase/assets/card-CcgWzFB-.js +188 -0
- package/dist/showcase/assets/card-primitives-By4-RTuP.js +1 -0
- package/dist/showcase/assets/card-radio-group-DeX3qsRg.js +1 -0
- package/dist/showcase/assets/cards-DdqQr8rY.js +328 -0
- package/dist/showcase/assets/carousel-CV8ltDl8.js +449 -0
- package/dist/showcase/assets/chart-BNzHjskC.js +358 -0
- package/dist/showcase/assets/chart-column-CpTxRLEH.js +1 -0
- package/dist/showcase/assets/checkbox-CZTTm4Dv.js +1 -0
- package/dist/showcase/assets/chevron-down-LWBNHe9S.js +1 -0
- package/dist/showcase/assets/chevron-left-BsshO7nf.js +1 -0
- package/dist/showcase/assets/chevron-right-t68um2_G.js +1 -0
- package/dist/showcase/assets/chevron-up-DjhlESJB.js +1 -0
- package/dist/showcase/assets/chevrons-up-down-ZUo0Do59.js +1 -0
- package/dist/showcase/assets/circle-BL52dLr9.js +1 -0
- package/dist/showcase/assets/circle-alert-CXCt6zxc.js +1 -0
- package/dist/showcase/assets/circle-check-CbiRRw7s.js +1 -0
- package/dist/showcase/assets/circle-check-big-BSgn7lyt.js +1 -0
- package/dist/showcase/assets/circle-dot-WEOpGGJf.js +1 -0
- package/dist/showcase/assets/circle-question-mark-C9hLlsD7.js +1 -0
- package/dist/showcase/assets/circle-x-BT9TJbJC.js +1 -0
- package/dist/showcase/assets/clock-3-CfRK8ckc.js +1 -0
- package/dist/showcase/assets/clock-D-3zf0c1.js +1 -0
- package/dist/showcase/assets/code-xml-CQYKKuBU.js +1 -0
- package/dist/showcase/assets/collapsible-BC0hQvat.js +27 -0
- package/dist/showcase/assets/collapsible-CRVtVDCF.js +1 -0
- package/dist/showcase/assets/combobox-D4VYvYCT.js +696 -0
- package/dist/showcase/assets/command-CxeHT4lL.js +1 -0
- package/dist/showcase/assets/command-Do_t_Zou.js +1 -0
- package/dist/showcase/assets/comment-composer-DoFwvVlq.js +1 -0
- package/dist/showcase/assets/comment-item-CT8UbVeg.js +1 -0
- package/dist/showcase/assets/comments-CqdXrjUn.js +357 -0
- package/dist/showcase/assets/commerce-B9V2Wo_q.js +79 -0
- package/dist/showcase/assets/commerce-extras-CNT3QmAT.js +189 -0
- package/dist/showcase/assets/composite-BXLXcagx.js +1 -0
- package/dist/showcase/assets/contact-card-BLcAXepj.js +65 -0
- package/dist/showcase/assets/content-container-DJVD3ZmI.js +1 -0
- package/dist/showcase/assets/copyable-od17NrMu.js +96 -0
- package/dist/showcase/assets/course-card-CdZQr5yy.js +77 -0
- package/dist/showcase/assets/cpu-B8kRNR1R.js +1 -0
- package/dist/showcase/assets/credit-card-BYMQj03s.js +1 -0
- package/dist/showcase/assets/currency-Cxv3Cp6B.js +149 -0
- package/dist/showcase/assets/dark-surfaces-Cfp58iFb.js +90 -0
- package/dist/showcase/assets/database-DuUABvxU.js +1 -0
- package/dist/showcase/assets/date-block-E9qfY7W7.js +1 -0
- package/dist/showcase/assets/date-picker-I8BdaiiU.js +1 -0
- package/dist/showcase/assets/date-pickers-BLJaqhcS.js +73 -0
- package/dist/showcase/assets/dense-info-Bk1K_7Ww.js +106 -0
- package/dist/showcase/assets/dialog-BuatDnQ9.js +1 -0
- package/dist/showcase/assets/dialog-DCx-LydW.js +1 -0
- package/dist/showcase/assets/display-Bt7busw5.js +403 -0
- package/dist/showcase/assets/dist-BPyBHOXU.js +45 -0
- package/dist/showcase/assets/dollar-sign-qXQSS6Gh.js +1 -0
- package/dist/showcase/assets/download-B2JAmHmJ.js +1 -0
- package/dist/showcase/assets/dropdown-menu-DXT3BZLa.js +1 -0
- package/dist/showcase/assets/dropzone-BKIxDJNy.js +1 -0
- package/dist/showcase/assets/earth-7-Z3Gv2v.js +1 -0
- package/dist/showcase/assets/ellipsis-6Krb3RRW.js +1 -0
- package/dist/showcase/assets/ellipsis-vertical-DeOMIw1J.js +1 -0
- package/dist/showcase/assets/empty-BSYKaeXQ.js +1 -0
- package/dist/showcase/assets/empty-item-YElgv25f.js +49 -0
- package/dist/showcase/assets/empty-state-D-LrvnKF.js +1 -0
- package/dist/showcase/assets/empty-state-dNh1GtVU.js +188 -0
- package/dist/showcase/assets/enhanced-activities-Bw99ItYl.js +361 -0
- package/dist/showcase/assets/enhanced-combobox-CqLZmU3K.js +1 -0
- package/dist/showcase/assets/event-calendar-CcSi7g5A.js +138 -0
- package/dist/showcase/assets/event-log-2uq-eYxh.js +330 -0
- package/dist/showcase/assets/example-CTJ8AdNR.js +1 -0
- package/dist/showcase/assets/external-link-D0gqSa1q.js +1 -0
- package/dist/showcase/assets/eye-CDMCDLei.js +1 -0
- package/dist/showcase/assets/feature-announcement-BlyNck35.js +34 -0
- package/dist/showcase/assets/file-Y5EbzufX.js +1 -0
- package/dist/showcase/assets/file-text-DH1mBuPi.js +1 -0
- package/dist/showcase/assets/filters-BtHF4GSM.js +78 -0
- package/dist/showcase/assets/flag-CJ08LwLY.js +1 -0
- package/dist/showcase/assets/folder-open-DODo2pjy.js +1 -0
- package/dist/showcase/assets/form-field-CHY7jh1q.js +1 -0
- package/dist/showcase/assets/format-DYJqAuDM.js +1 -0
- package/dist/showcase/assets/forms-DgvQQXHO.js +862 -0
- package/dist/showcase/assets/frame-CdKicP4A.js +167 -0
- package/dist/showcase/assets/getPseudoElementBounds-D9-Hr3mO.js +1 -0
- package/dist/showcase/assets/gift-DD8O7cld.js +1 -0
- package/dist/showcase/assets/giftcard-cards-Dp9eYodY.js +85 -0
- package/dist/showcase/assets/git-branch-DZq1Vo2G.js +1 -0
- package/dist/showcase/assets/global-search-BqDotXql.js +215 -0
- package/dist/showcase/assets/global-search-PH6LXqZw.js +1 -0
- package/dist/showcase/assets/globe-mRTwrUxM.js +1 -0
- package/dist/showcase/assets/gradient-card-CaL88YKv.js +58 -0
- package/dist/showcase/assets/hash-DuqvHQHv.js +1 -0
- package/dist/showcase/assets/header-CiNgDop3.js +1 -0
- package/dist/showcase/assets/header-notifications-B9XMBsK_.js +1 -0
- package/dist/showcase/assets/heart-DsGJfnDx.js +1 -0
- package/dist/showcase/assets/house-B504aFIP.js +1 -0
- package/dist/showcase/assets/icon-badge-DMNu8xb5.js +1 -0
- package/dist/showcase/assets/image-C3DaMxmn.js +1 -0
- package/dist/showcase/assets/inbox-BWKQMLMx.js +1 -0
- package/dist/showcase/assets/index-DaYVSqKu.js +10 -0
- package/dist/showcase/assets/inertValue-DrtTkMGx.js +1 -0
- package/dist/showcase/assets/info-_FrGoCay.js +1 -0
- package/dist/showcase/assets/inline-stat-BYu-tiUU.js +1 -0
- package/dist/showcase/assets/input-C96HMHWR.js +1 -0
- package/dist/showcase/assets/input-fMPi7XxI.js +1 -0
- package/dist/showcase/assets/input-group-BZnSgFCn.js +47 -0
- package/dist/showcase/assets/input-group-CVONNP3T.js +1 -0
- package/dist/showcase/assets/inputs-Blh0LJ8-.js +155 -0
- package/dist/showcase/assets/invoice-header-Bpo4iwX3.js +36 -0
- package/dist/showcase/assets/invoice-items-OVIrbG0k.js +36 -0
- package/dist/showcase/assets/invoice-mini-CaOMTiUO.js +14 -0
- package/dist/showcase/assets/invoice-table-BXd_HhUg.js +30 -0
- package/dist/showcase/assets/isSameDay-NBVO9AKF.js +1 -0
- package/dist/showcase/assets/isToday-Bk5HMXWn.js +1 -0
- package/dist/showcase/assets/italic-BOv5bW4H.js +1 -0
- package/dist/showcase/assets/item-B4rdcVVp.js +134 -0
- package/dist/showcase/assets/item-BVt0zZ12.js +1 -0
- package/dist/showcase/assets/item-C4Xk3DC1.js +1 -0
- package/dist/showcase/assets/kanban-BXbelelR.js +186 -0
- package/dist/showcase/assets/label-Cv6wotdv.js +1 -0
- package/dist/showcase/assets/languages-BofyvcCF.js +1 -0
- package/dist/showcase/assets/layers-DJK0t5px.js +1 -0
- package/dist/showcase/assets/layout-app-shell-D_yMonSl.js +608 -0
- package/dist/showcase/assets/layout-auth-BTvSTwUz.js +754 -0
- package/dist/showcase/assets/layout-containers-PMuo__2O.js +101 -0
- package/dist/showcase/assets/layout-header-DQ3zeCHz.js +170 -0
- package/dist/showcase/assets/layout-page-CbvWdHrK.js +122 -0
- package/dist/showcase/assets/layout-primitives-6nsFFIdE.js +34 -0
- package/dist/showcase/assets/layout-sidebar-CKqeVCSY.js +224 -0
- package/dist/showcase/assets/layout-users-Cypq-42s.js +117 -0
- package/dist/showcase/assets/layout-workspace-DiRR8vDv.js +183 -0
- package/dist/showcase/assets/lock-DXmvLEEx.js +1 -0
- package/dist/showcase/assets/lock-keyhole-Cu6M-jjE.js +1 -0
- package/dist/showcase/assets/mail-CXVFHkzh.js +1 -0
- package/dist/showcase/assets/mail-check-BNEu3j2a.js +1 -0
- package/dist/showcase/assets/map-DnE1pFCQ.js +124 -0
- package/dist/showcase/assets/map-pin-CpOVa8IH.js +1 -0
- package/dist/showcase/assets/media-library-C-KfEvm4.js +695 -0
- package/dist/showcase/assets/mention-inline-suggestions-DlmslsfR.js +1 -0
- package/dist/showcase/assets/mentions-C8ZdNFuC.js +138 -0
- package/dist/showcase/assets/menus-B8yUL75K.js +165 -0
- package/dist/showcase/assets/message-square-DNOTaOFs.js +1 -0
- package/dist/showcase/assets/metadata-list-BQAanxM-.js +1 -0
- package/dist/showcase/assets/metadata-list-DL9qgDAp.js +288 -0
- package/dist/showcase/assets/metric-CYi09Ltx.js +1 -0
- package/dist/showcase/assets/metric-bar-CQH1z8T3.js +1 -0
- package/dist/showcase/assets/metric-grid-H1ixqMCI.js +1 -0
- package/dist/showcase/assets/metric-trend-chip-BBzWzFZ-.js +1 -0
- package/dist/showcase/assets/metrics-analytics-bar-C7Z2ITl4.js +44 -0
- package/dist/showcase/assets/metrics-analytics-cards-CZZSWiMn.js +50 -0
- package/dist/showcase/assets/metrics-comparison-BPqz8k30.js +76 -0
- package/dist/showcase/assets/metrics-heatmap-C3NYZAfx.js +27 -0
- package/dist/showcase/assets/metrics-inline-badge-RjHfm7um.js +17 -0
- package/dist/showcase/assets/metrics-kpi-row-DnBjyDH4.js +31 -0
- package/dist/showcase/assets/metrics-micro-grid-CKn405qb.js +42 -0
- package/dist/showcase/assets/metrics-overview-D8YGtdrh.js +192 -0
- package/dist/showcase/assets/metrics-stat-cards-Dxh6cAha.js +54 -0
- package/dist/showcase/assets/minus-20OTSSxf.js +1 -0
- package/dist/showcase/assets/money-display-BoiAMxH8.js +1 -0
- package/dist/showcase/assets/month-year-picker-Bl59Ygq9.js +1 -0
- package/dist/showcase/assets/navigation-B8d2CDU6.js +90 -0
- package/dist/showcase/assets/navigation-D16JX3kL.js +230 -0
- package/dist/showcase/assets/navigation-extras-Dm83uT6i.js +43 -0
- package/dist/showcase/assets/onboarding-checklist-DznDpP9M.js +119 -0
- package/dist/showcase/assets/overlays-CzlSqbFz.js +408 -0
- package/dist/showcase/assets/overlays-DUFqbkb9.js +159 -0
- package/dist/showcase/assets/package-BCXIwEPz.js +1 -0
- package/dist/showcase/assets/package-check-Ol-Cw3j-.js +1 -0
- package/dist/showcase/assets/page-action-button-DpzdSYvw.js +1 -0
- package/dist/showcase/assets/page-header-B_b7SqW8.js +1 -0
- package/dist/showcase/assets/pagination-BPDQo9Dl.js +1 -0
- package/dist/showcase/assets/pagination-PvkEX0qs.js +42 -0
- package/dist/showcase/assets/paperclip-CznEsmLN.js +1 -0
- package/dist/showcase/assets/password-input-CWMY5q3b.js +1 -0
- package/dist/showcase/assets/pencil-Cl9qi90g.js +1 -0
- package/dist/showcase/assets/phone-DbvK_QQJ.js +1 -0
- package/dist/showcase/assets/plus-CO8t66Yo.js +1 -0
- package/dist/showcase/assets/popover-3QIVx9lU.js +1 -0
- package/dist/showcase/assets/popover-Cyg9oYIU.js +1 -0
- package/dist/showcase/assets/popover-menu-DJPHeIL1.js +1 -0
- package/dist/showcase/assets/products-WsU-qdMz.js +407 -0
- package/dist/showcase/assets/progress-C61sf-qt.js +1 -0
- package/dist/showcase/assets/progress-PvTl8Fgf.js +18 -0
- package/dist/showcase/assets/props-table-C8la6vcG.js +1 -0
- package/dist/showcase/assets/props.generated-vFrhDrth.json +38618 -0
- package/dist/showcase/assets/quote-N1_lRDnX.js +1 -0
- package/dist/showcase/assets/receipt-C6a_WyLu.js +1 -0
- package/dist/showcase/assets/receipt-text-CDOh8FAv.js +1 -0
- package/dist/showcase/assets/refresh-cw-D4-ECZ1x.js +1 -0
- package/dist/showcase/assets/resolveValueLabel-DqAP3zJd.js +1 -0
- package/dist/showcase/assets/rich-text-editor-CU0IZpwV.js +143 -0
- package/dist/showcase/assets/rich-text-editor-DCU7mMoO.js +124 -0
- package/dist/showcase/assets/rotate-ccw-Dd5zEmr7.js +1 -0
- package/dist/showcase/assets/save-DDmFSQli.js +1 -0
- package/dist/showcase/assets/schema-form-B7naqMvv.js +325 -0
- package/dist/showcase/assets/scroll-area-CdaYm4UK.js +32 -0
- package/dist/showcase/assets/scroll-area-DwWSHYHB.js +1 -0
- package/dist/showcase/assets/select-CNzpb5ug.js +1 -0
- package/dist/showcase/assets/select-DBXZ_Wzf.js +1 -0
- package/dist/showcase/assets/send-eDm7YMmA.js +1 -0
- package/dist/showcase/assets/separator-4IC9ED7s.js +1 -0
- package/dist/showcase/assets/separator-DPGDsZpG.js +28 -0
- package/dist/showcase/assets/settings-IANZGo2i.js +1 -0
- package/dist/showcase/assets/sheet-2oCce5ae.js +1 -0
- package/dist/showcase/assets/shield-CDZhhvFW.js +1 -0
- package/dist/showcase/assets/shield-alert-5hL3sdf3.js +1 -0
- package/dist/showcase/assets/shield-check-CaO2dhVS.js +1 -0
- package/dist/showcase/assets/shopping-bag-Bt3iK-Bv.js +1 -0
- package/dist/showcase/assets/sidebar-Cds60-PS.js +1 -0
- package/dist/showcase/assets/sidebar.context-CdH_DH9M.js +1 -0
- package/dist/showcase/assets/skeleton-2HajJKO4.js +29 -0
- package/dist/showcase/assets/skeleton-CGEJwPdD.js +1 -0
- package/dist/showcase/assets/slider-BjQViBR0.js +1 -0
- package/dist/showcase/assets/sliders-horizontal-C3JH5WQu.js +1 -0
- package/dist/showcase/assets/smart-card-CHouYi8U.js +1 -0
- package/dist/showcase/assets/sonner-Cog559j7.js +22 -0
- package/dist/showcase/assets/sortable.esm-hUEKsxpQ.js +5 -0
- package/dist/showcase/assets/sparkles-B18eTHVN.js +1 -0
- package/dist/showcase/assets/spinner-BSI97i4D.js +1 -0
- package/dist/showcase/assets/spinner-D0WhVyye.js +30 -0
- package/dist/showcase/assets/spinner-DQmJ7k9y.js +49 -0
- package/dist/showcase/assets/square-pen-CLyDWdhj.js +1 -0
- package/dist/showcase/assets/stacked-avatars-ECnU27uV.js +1 -0
- package/dist/showcase/assets/star-C3mhkpSK.js +1 -0
- package/dist/showcase/assets/startOfDay-ECIxhJGC.js +1 -0
- package/dist/showcase/assets/styles-CDD7mDye.js +1 -0
- package/dist/showcase/assets/suggestions-DOW6NBJp.js +126 -0
- package/dist/showcase/assets/switch-D59YKmf6.js +1 -0
- package/dist/showcase/assets/switch-NICmdoPn.js +1 -0
- package/dist/showcase/assets/sync-B8nBZXQ9.js +107 -0
- package/dist/showcase/assets/table-CckompuR.js +382 -0
- package/dist/showcase/assets/table-DtA4-Q0p.js +1 -0
- package/dist/showcase/assets/table-actions-DdoPJTMy.js +1 -0
- package/dist/showcase/assets/tabs-BrC_HxL_.js +1 -0
- package/dist/showcase/assets/tabs-UVxr80vY.js +19 -0
- package/dist/showcase/assets/tags-input-iDfvhzZD.js +1 -0
- package/dist/showcase/assets/text-button-DHFCLCoc.js +1 -0
- package/dist/showcase/assets/text-link-nCLLDcS_.js +1 -0
- package/dist/showcase/assets/textarea-DsSuQHQY.js +1 -0
- package/dist/showcase/assets/textarea-DyGI3Kcn.js +1 -0
- package/dist/showcase/assets/timelines-JmMcH657.js +200 -0
- package/dist/showcase/assets/toggle-group-BZKzMmC8.js +1 -0
- package/dist/showcase/assets/toggles-BSJvy4Tw.js +71 -0
- package/dist/showcase/assets/toggles-group-Bsc6eaWw.js +32 -0
- package/dist/showcase/assets/trash-2-C9AC7Pcv.js +1 -0
- package/dist/showcase/assets/trending-up-CGaDZj0S.js +1 -0
- package/dist/showcase/assets/truck-Dq6heokm.js +1 -0
- package/dist/showcase/assets/typography-ByvwR6Kg.js +223 -0
- package/dist/showcase/assets/ui-badge-BYgJSE_w.js +28 -0
- package/dist/showcase/assets/ui-card-BdueUfow.js +30 -0
- package/dist/showcase/assets/ui-table-CxtCQUsg.js +42 -0
- package/dist/showcase/assets/upload-tray-DKJ8nFZp.js +138 -0
- package/dist/showcase/assets/use-layout-link-CGBQHZon.js +1 -0
- package/dist/showcase/assets/useAnchoredPopupScrollLock-CywAbxVB.js +1 -0
- package/dist/showcase/assets/useAriaLabelledBy-B2bZzE7D.js +1 -0
- package/dist/showcase/assets/useCollapsiblePanel-SLdY_s6S.js +1 -0
- package/dist/showcase/assets/useCompositeItem-g6aCBp84.js +1 -0
- package/dist/showcase/assets/useCompositeListItem-DK0Tpege.js +1 -0
- package/dist/showcase/assets/useLabelableId-hdKzFCp2.js +1 -0
- package/dist/showcase/assets/useOpenInteractionType-CnhifZ1E.js +1 -0
- package/dist/showcase/assets/useRender-QhawWhpb.js +1 -0
- package/dist/showcase/assets/useTriggerFocusGuards-Cht7Sa7e.js +1 -0
- package/dist/showcase/assets/useValueChanged-DURO1kfZ.js +1 -0
- package/dist/showcase/assets/user-plus-DbOuTfr7.js +1 -0
- package/dist/showcase/assets/user-u65Fo7k7.js +1 -0
- package/dist/showcase/assets/users-BUb7CmVp.js +1 -0
- package/dist/showcase/assets/vendor-profile-wfI3PBuO.js +37 -0
- package/dist/showcase/assets/video-e4hDbTQ2.js +1 -0
- package/dist/showcase/assets/wrench-CBUvtxdr.js +1 -0
- package/dist/showcase/assets/x-oVTJnCJn.js +1 -0
- package/dist/showcase/assets/zap-CzABYL3c.js +1 -0
- package/dist/showcase/index.html +1 -1
- package/package.json +11 -3
- package/scripts/README.md +24 -0
- package/scripts/metadata.json +325 -0
- package/dist/_shared/accordion-BWU7zxlO.cjs +0 -2
- package/dist/_shared/accordion-BWU7zxlO.cjs.map +0 -1
- package/dist/_shared/accordion-DTYKGqWD.js +0 -130
- package/dist/_shared/accordion-DTYKGqWD.js.map +0 -1
- package/dist/_shared/action-menu-BoQnI2UF.cjs +0 -2
- package/dist/_shared/action-menu-BoQnI2UF.cjs.map +0 -1
- package/dist/_shared/action-menu-uyg1Phsn.js +0 -96
- package/dist/_shared/action-menu-uyg1Phsn.js.map +0 -1
- package/dist/_shared/ai-artifact-CY1Jf9gM.cjs +0 -3
- package/dist/_shared/ai-artifact-CY1Jf9gM.cjs.map +0 -1
- package/dist/_shared/ai-artifact-DdlK_l56.js +0 -1099
- package/dist/_shared/ai-artifact-DdlK_l56.js.map +0 -1
- package/dist/_shared/auth-CDjZFJxy.cjs +0 -2
- package/dist/_shared/auth-CDjZFJxy.cjs.map +0 -1
- package/dist/_shared/auth-_udUdWtn.js +0 -643
- package/dist/_shared/auth-_udUdWtn.js.map +0 -1
- package/dist/_shared/badge--o9wFHB_.cjs +0 -2
- package/dist/_shared/badge--o9wFHB_.cjs.map +0 -1
- package/dist/_shared/badge-yGlx9trX.js +0 -108
- package/dist/_shared/badge-yGlx9trX.js.map +0 -1
- package/dist/_shared/button-683R5quQ.js +0 -46
- package/dist/_shared/button-683R5quQ.js.map +0 -1
- package/dist/_shared/button-C1qc97U1.cjs +0 -2
- package/dist/_shared/button-C1qc97U1.cjs.map +0 -1
- package/dist/_shared/button-CjZrRLzR.cjs +0 -2
- package/dist/_shared/button-CjZrRLzR.cjs.map +0 -1
- package/dist/_shared/button-SuocMQFT.js +0 -173
- package/dist/_shared/button-SuocMQFT.js.map +0 -1
- package/dist/_shared/buttons-9YBwevkP.cjs +0 -2
- package/dist/_shared/buttons-9YBwevkP.cjs.map +0 -1
- package/dist/_shared/buttons-BR4BGVYf.js +0 -143
- package/dist/_shared/buttons-BR4BGVYf.js.map +0 -1
- package/dist/_shared/combobox-CpSmiPV8.cjs +0 -2
- package/dist/_shared/combobox-CpSmiPV8.cjs.map +0 -1
- package/dist/_shared/combobox-D01JwyFZ.js +0 -810
- package/dist/_shared/combobox-D01JwyFZ.js.map +0 -1
- package/dist/_shared/comments-D9velZAW.js +0 -952
- package/dist/_shared/comments-D9velZAW.js.map +0 -1
- package/dist/_shared/comments-DyUAKSQu.cjs +0 -2
- package/dist/_shared/comments-DyUAKSQu.cjs.map +0 -1
- package/dist/_shared/date-picker-BnsvBFOZ.cjs +0 -2
- package/dist/_shared/date-picker-BnsvBFOZ.cjs.map +0 -1
- package/dist/_shared/date-picker-TMcjGO26.js +0 -1361
- package/dist/_shared/date-picker-TMcjGO26.js.map +0 -1
- package/dist/_shared/date-pickers-BI4xLjHR.js +0 -330
- package/dist/_shared/date-pickers-BI4xLjHR.js.map +0 -1
- package/dist/_shared/date-pickers-BhaUK5S2.cjs +0 -2
- package/dist/_shared/date-pickers-BhaUK5S2.cjs.map +0 -1
- package/dist/_shared/dialog-A95-614f.js +0 -101
- package/dist/_shared/dialog-A95-614f.js.map +0 -1
- package/dist/_shared/dialog-ivDByBmO.cjs +0 -2
- package/dist/_shared/dialog-ivDByBmO.cjs.map +0 -1
- package/dist/_shared/display-C4n0uuxl.js +0 -1154
- package/dist/_shared/display-C4n0uuxl.js.map +0 -1
- package/dist/_shared/display-oDW0O9yB.cjs +0 -2
- package/dist/_shared/display-oDW0O9yB.cjs.map +0 -1
- package/dist/_shared/forms-CwJci54_.js +0 -3430
- package/dist/_shared/forms-CwJci54_.js.map +0 -1
- package/dist/_shared/forms-E3JkTgcC.cjs +0 -2
- package/dist/_shared/forms-E3JkTgcC.cjs.map +0 -1
- package/dist/_shared/header-CyBTcM-L.js +0 -360
- package/dist/_shared/header-CyBTcM-L.js.map +0 -1
- package/dist/_shared/header-kwvkesfq.cjs +0 -2
- package/dist/_shared/header-kwvkesfq.cjs.map +0 -1
- package/dist/_shared/hooks-MW0UTO3q.cjs +0 -2
- package/dist/_shared/hooks-MW0UTO3q.cjs.map +0 -1
- package/dist/_shared/hooks-ZiPIvs0_.js +0 -118
- package/dist/_shared/hooks-ZiPIvs0_.js.map +0 -1
- package/dist/_shared/mentions-Br-EP9tq.js +0 -506
- package/dist/_shared/mentions-Br-EP9tq.js.map +0 -1
- package/dist/_shared/mentions-DNTsRHJl.cjs +0 -2
- package/dist/_shared/mentions-DNTsRHJl.cjs.map +0 -1
- package/dist/_shared/metadata-CPSQGPJh.cjs +0 -2
- package/dist/_shared/metadata-CPSQGPJh.cjs.map +0 -1
- package/dist/_shared/metadata-qTNAOM7E.js +0 -235
- package/dist/_shared/metadata-qTNAOM7E.js.map +0 -1
- package/dist/_shared/navigation-HnnA6uSV.js +0 -419
- package/dist/_shared/navigation-HnnA6uSV.js.map +0 -1
- package/dist/_shared/navigation-J2g0Tw9D.cjs +0 -2
- package/dist/_shared/navigation-J2g0Tw9D.cjs.map +0 -1
- package/dist/_shared/overlays-CIeniDjj.js +0 -639
- package/dist/_shared/overlays-CIeniDjj.js.map +0 -1
- package/dist/_shared/overlays-Xc_F_Y-E.cjs +0 -2
- package/dist/_shared/overlays-Xc_F_Y-E.cjs.map +0 -1
- package/dist/_shared/page-BFV-KE8H.js +0 -262
- package/dist/_shared/page-BFV-KE8H.js.map +0 -1
- package/dist/_shared/page-UJfWfw2R.cjs +0 -2
- package/dist/_shared/page-UJfWfw2R.cjs.map +0 -1
- package/dist/_shared/rich-text-editor-B6WKHUKC.js +0 -620
- package/dist/_shared/rich-text-editor-B6WKHUKC.js.map +0 -1
- package/dist/_shared/rich-text-editor-Dm-6r_xe.cjs +0 -2
- package/dist/_shared/rich-text-editor-Dm-6r_xe.cjs.map +0 -1
- package/dist/_shared/sheet-BKEfwhCn.js +0 -100
- package/dist/_shared/sheet-BKEfwhCn.js.map +0 -1
- package/dist/_shared/sheet-D4yWgkwC.cjs +0 -2
- package/dist/_shared/sheet-D4yWgkwC.cjs.map +0 -1
- package/dist/_shared/sidebar-B_L_dnAe.cjs +0 -2
- package/dist/_shared/sidebar-B_L_dnAe.cjs.map +0 -1
- package/dist/_shared/sidebar-C5DApiDy.js +0 -389
- package/dist/_shared/sidebar-C5DApiDy.js.map +0 -1
- package/dist/_shared/sidebar-CIlGkVbF.js +0 -538
- package/dist/_shared/sidebar-CIlGkVbF.js.map +0 -1
- package/dist/_shared/sidebar-D3sK9otF.cjs +0 -2
- package/dist/_shared/sidebar-D3sK9otF.cjs.map +0 -1
- package/dist/_shared/smart-card-DYZGY_Su.js +0 -361
- package/dist/_shared/smart-card-DYZGY_Su.js.map +0 -1
- package/dist/_shared/smart-card-Df80VF8x.cjs +0 -2
- package/dist/_shared/smart-card-Df80VF8x.cjs.map +0 -1
- package/dist/_shared/table-CBKDA7ZE.js +0 -1189
- package/dist/_shared/table-CBKDA7ZE.js.map +0 -1
- package/dist/_shared/table-CJoxRCWy.cjs +0 -2
- package/dist/_shared/table-CJoxRCWy.cjs.map +0 -1
- package/dist/_shared/workspace-CTjIGCE0.cjs +0 -2
- package/dist/_shared/workspace-CTjIGCE0.cjs.map +0 -1
- package/dist/_shared/workspace-WgJgiSUA.js +0 -357
- package/dist/_shared/workspace-WgJgiSUA.js.map +0 -1
- package/dist/showcase/assets/AreaChart-BkAbL-UV.js +0 -6
- package/dist/showcase/assets/CompositeItem-Dzu0MfUC.js +0 -1
- package/dist/showcase/assets/CompositeRoot-CQvQ_uj2.js +0 -1
- package/dist/showcase/assets/DialogTrigger-BxVhSw4D.js +0 -1
- package/dist/showcase/assets/LabelableContext-DapqaNeY.js +0 -1
- package/dist/showcase/assets/PreviewLayout-CGEkbS-i.js +0 -1
- package/dist/showcase/assets/RadioGroup-DBA3iBQw.js +0 -1
- package/dist/showcase/assets/Separator-BEMr82IS.js +0 -1
- package/dist/showcase/assets/ToolbarRootContext-xN-ruoGR.js +0 -1
- package/dist/showcase/assets/accordion-B-Iy0jKu.js +0 -171
- package/dist/showcase/assets/accordion-variants-B9GD0oBE.js +0 -1
- package/dist/showcase/assets/action-menu-CMUF6gPp.js +0 -1
- package/dist/showcase/assets/activities-C1P9bsJm.js +0 -501
- package/dist/showcase/assets/activities-feed-card-WZUuGHmT.js +0 -1
- package/dist/showcase/assets/activity-BVP5C805.js +0 -1
- package/dist/showcase/assets/admin-DWOK4sj4.js +0 -80
- package/dist/showcase/assets/ai-Dteb3y6G.js +0 -41
- package/dist/showcase/assets/ai-artifact-B0d7GveY.js +0 -2
- package/dist/showcase/assets/ai-chat-IJ0b2FOw.js +0 -568
- package/dist/showcase/assets/ai-elements-Cr8GgtEV.js +0 -387
- package/dist/showcase/assets/ai-new-BJN9wNvX.js +0 -167
- package/dist/showcase/assets/ai-tool-call-BqlQuR1P.js +0 -1
- package/dist/showcase/assets/alert-2_0J7Vv6.js +0 -1
- package/dist/showcase/assets/alert-7wEOpEor.js +0 -93
- package/dist/showcase/assets/alert-C_FOBilU.js +0 -62
- package/dist/showcase/assets/api-key-list-CGV1k52v.js +0 -73
- package/dist/showcase/assets/app-sidebar-S6oUYO4h.js +0 -1
- package/dist/showcase/assets/arrow-down-VNr82bS3.js +0 -1
- package/dist/showcase/assets/arrow-left-BSVeKWNq.js +0 -1
- package/dist/showcase/assets/arrow-right-D6hTB0Bd.js +0 -1
- package/dist/showcase/assets/arrow-up-p9oA4cIz.js +0 -1
- package/dist/showcase/assets/arrow-up-right-BtlQ62bc.js +0 -1
- package/dist/showcase/assets/avatar-BxcQUuh0.js +0 -57
- package/dist/showcase/assets/avatar-LGWm52rv.js +0 -1
- package/dist/showcase/assets/badge-COn5psy3.js +0 -28
- package/dist/showcase/assets/badge-check-D2C2BPUT.js +0 -1
- package/dist/showcase/assets/bell-C80n9VRl.js +0 -1
- package/dist/showcase/assets/bot-C83bUUi9.js +0 -1
- package/dist/showcase/assets/box-rZ0pA-02.js +0 -1
- package/dist/showcase/assets/brain-BJtktdVu.js +0 -1
- package/dist/showcase/assets/brand-CxdIBpyJ.js +0 -36
- package/dist/showcase/assets/breadcrumb-BZsr_A8k.js +0 -1
- package/dist/showcase/assets/breadcrumb-CSU8FvWB.js +0 -52
- package/dist/showcase/assets/breadcrumbs-BUm4gHzL.js +0 -1
- package/dist/showcase/assets/briefcase-0WhUdLn5.js +0 -1
- package/dist/showcase/assets/building-2-1D6zVdCI.js +0 -1
- package/dist/showcase/assets/button-C22Gs6y0.js +0 -44
- package/dist/showcase/assets/button-group-C0Ts4-x3.js +0 -1
- package/dist/showcase/assets/buttons-Dfn6hmwe.js +0 -270
- package/dist/showcase/assets/calendar-7a4yQlzJ.js +0 -1
- package/dist/showcase/assets/calendar-Bo17POsN.js +0 -1
- package/dist/showcase/assets/calendar-D6XNDRVQ.js +0 -16
- package/dist/showcase/assets/calendar-days-C4mG2tOe.js +0 -1
- package/dist/showcase/assets/camera-C16z6v0m.js +0 -1
- package/dist/showcase/assets/card-BjqRQxxz.js +0 -1
- package/dist/showcase/assets/card-IzYmUTpI.js +0 -188
- package/dist/showcase/assets/card-primitives-BDj4DtS8.js +0 -1
- package/dist/showcase/assets/card-radio-group-7GU9AtWs.js +0 -1
- package/dist/showcase/assets/cards-DAqpr8CM.js +0 -328
- package/dist/showcase/assets/carousel-D1n4Kkoo.js +0 -449
- package/dist/showcase/assets/chart-D2EGeI3b.js +0 -358
- package/dist/showcase/assets/chart-column-DKcP77Dx.js +0 -1
- package/dist/showcase/assets/checkbox-BI3gcjED.js +0 -1
- package/dist/showcase/assets/chevron-down-ByPPEdNm.js +0 -1
- package/dist/showcase/assets/chevron-left-BNByuq3g.js +0 -1
- package/dist/showcase/assets/chevron-right-D4pIMCh9.js +0 -1
- package/dist/showcase/assets/chevron-up-Cha879Nz.js +0 -1
- package/dist/showcase/assets/chevrons-up-down-eAgHau5X.js +0 -1
- package/dist/showcase/assets/circle-V5hdlsIn.js +0 -1
- package/dist/showcase/assets/circle-alert-BW-Btwgh.js +0 -1
- package/dist/showcase/assets/circle-check-1MSds3Vu.js +0 -1
- package/dist/showcase/assets/circle-check-big-vBWkmhCZ.js +0 -1
- package/dist/showcase/assets/circle-dot-CsD5uXwH.js +0 -1
- package/dist/showcase/assets/circle-question-mark-xYn9p1nL.js +0 -1
- package/dist/showcase/assets/circle-x-VSqZOeGt.js +0 -1
- package/dist/showcase/assets/clock-3-CP_t59kW.js +0 -1
- package/dist/showcase/assets/clock-9xbB7EnW.js +0 -1
- package/dist/showcase/assets/code-xml-CeGA85eB.js +0 -1
- package/dist/showcase/assets/collapsible-C2W51-wl.js +0 -27
- package/dist/showcase/assets/collapsible-C4eof15p.js +0 -1
- package/dist/showcase/assets/combobox-i8o4u6Q0.js +0 -696
- package/dist/showcase/assets/command-C4F78Ppy.js +0 -1
- package/dist/showcase/assets/command-wjOXUieO.js +0 -1
- package/dist/showcase/assets/comment-composer-DeURrlgL.js +0 -1
- package/dist/showcase/assets/comment-item-D07Qk-Nt.js +0 -1
- package/dist/showcase/assets/comments-Bo-lZU18.js +0 -357
- package/dist/showcase/assets/commerce-extras-Cio3xn_B.js +0 -189
- package/dist/showcase/assets/commerce-jqA58sCZ.js +0 -79
- package/dist/showcase/assets/composite-BQFpnmS9.js +0 -1
- package/dist/showcase/assets/contact-card-4ajPhcd_.js +0 -65
- package/dist/showcase/assets/content-container-B83BnjFb.js +0 -1
- package/dist/showcase/assets/copyable-DKkroGJ3.js +0 -96
- package/dist/showcase/assets/course-card-DShYl03k.js +0 -77
- package/dist/showcase/assets/cpu-BZTsuaUu.js +0 -1
- package/dist/showcase/assets/credit-card-CAI3F3HB.js +0 -1
- package/dist/showcase/assets/currency-PXgbngHk.js +0 -149
- package/dist/showcase/assets/dark-surfaces-pSCicdm4.js +0 -90
- package/dist/showcase/assets/database-oHsxHUj-.js +0 -1
- package/dist/showcase/assets/date-block-CvCdJr8d.js +0 -1
- package/dist/showcase/assets/date-picker-Cd5vsEEd.js +0 -1
- package/dist/showcase/assets/date-pickers-CBK-zvSB.js +0 -73
- package/dist/showcase/assets/dense-info-zOdJpez6.js +0 -106
- package/dist/showcase/assets/dialog-D9-MRCRg.js +0 -1
- package/dist/showcase/assets/dialog-EDw9DvZs.js +0 -1
- package/dist/showcase/assets/display-CE9JWinr.js +0 -403
- package/dist/showcase/assets/dist-CjZ6RM9v.js +0 -45
- package/dist/showcase/assets/dollar-sign-BXD_x2mP.js +0 -1
- package/dist/showcase/assets/download-D0ur_d_N.js +0 -1
- package/dist/showcase/assets/dropdown-menu-Cto8-yDW.js +0 -1
- package/dist/showcase/assets/dropzone-9Gb4mR4x.js +0 -1
- package/dist/showcase/assets/earth-BN1w3w7h.js +0 -1
- package/dist/showcase/assets/ellipsis-DsrebD1Y.js +0 -1
- package/dist/showcase/assets/ellipsis-vertical-CAiMV7G2.js +0 -1
- package/dist/showcase/assets/empty-DoJF3uif.js +0 -1
- package/dist/showcase/assets/empty-item-zZ85qI6s.js +0 -49
- package/dist/showcase/assets/empty-state-CGfB7sOE.js +0 -1
- package/dist/showcase/assets/empty-state-Y_4qnNWt.js +0 -188
- package/dist/showcase/assets/enhanced-activities-B41hAxhb.js +0 -361
- package/dist/showcase/assets/enhanced-combobox-BOimEW-1.js +0 -1
- package/dist/showcase/assets/event-calendar-BjcfC6fM.js +0 -138
- package/dist/showcase/assets/event-log-BhoMXcix.js +0 -330
- package/dist/showcase/assets/example-Cz_880po.js +0 -1
- package/dist/showcase/assets/external-link-Cy1-PP8k.js +0 -1
- package/dist/showcase/assets/eye-C85PNNdH.js +0 -1
- package/dist/showcase/assets/feature-announcement-_tpahla3.js +0 -34
- package/dist/showcase/assets/file-C8PCBEtY.js +0 -1
- package/dist/showcase/assets/file-text-DwqbUujq.js +0 -1
- package/dist/showcase/assets/filters-ChqGg_1z.js +0 -78
- package/dist/showcase/assets/flag-csHQcBml.js +0 -1
- package/dist/showcase/assets/folder-open-BThTng3d.js +0 -1
- package/dist/showcase/assets/form-field-B5g_5Zjm.js +0 -1
- package/dist/showcase/assets/format-DrTwpH65.js +0 -1
- package/dist/showcase/assets/forms-BukyUSKs.js +0 -862
- package/dist/showcase/assets/frame-BNKhZVlb.js +0 -167
- package/dist/showcase/assets/getPseudoElementBounds-DwyQgIj-.js +0 -1
- package/dist/showcase/assets/gift-CtM--bDo.js +0 -1
- package/dist/showcase/assets/giftcard-cards-imm4Br0H.js +0 -85
- package/dist/showcase/assets/git-branch-Dl3AzbqP.js +0 -1
- package/dist/showcase/assets/global-search-Bhl7z_vN.js +0 -1
- package/dist/showcase/assets/global-search-C4yaPFSW.js +0 -215
- package/dist/showcase/assets/globe-BCikLfKc.js +0 -1
- package/dist/showcase/assets/gradient-card-Dh_5ZYv0.js +0 -58
- package/dist/showcase/assets/hash-C8m0EECO.js +0 -1
- package/dist/showcase/assets/header-BXjw7Lm_.js +0 -1
- package/dist/showcase/assets/header-notifications-CShSQ8kR.js +0 -1
- package/dist/showcase/assets/heart-BJVBFZ-j.js +0 -1
- package/dist/showcase/assets/house-C3fXPhlL.js +0 -1
- package/dist/showcase/assets/icon-badge-dwVx3Hxf.js +0 -1
- package/dist/showcase/assets/image-gc4qX_7C.js +0 -1
- package/dist/showcase/assets/inbox-C0GJ1KEC.js +0 -1
- package/dist/showcase/assets/index-BQIv1ffM.js +0 -10
- package/dist/showcase/assets/inertValue-DeVQ2cCe.js +0 -1
- package/dist/showcase/assets/info-BimmreJ-.js +0 -1
- package/dist/showcase/assets/inline-stat-DcNP6bcO.js +0 -1
- package/dist/showcase/assets/input-DJAWOJEx.js +0 -1
- package/dist/showcase/assets/input-NIgvB9CZ.js +0 -1
- package/dist/showcase/assets/input-group-BmqJ20bA.js +0 -1
- package/dist/showcase/assets/input-group-gOUubhee.js +0 -47
- package/dist/showcase/assets/inputs-Dk8YOVkI.js +0 -155
- package/dist/showcase/assets/invoice-header-BnNpWej2.js +0 -36
- package/dist/showcase/assets/invoice-items-BdPmW10L.js +0 -36
- package/dist/showcase/assets/invoice-mini-CbSYyHIb.js +0 -14
- package/dist/showcase/assets/invoice-table-DjnWG3KF.js +0 -30
- package/dist/showcase/assets/isSameDay-B2KDl_YX.js +0 -1
- package/dist/showcase/assets/isToday-CXNS7ELW.js +0 -1
- package/dist/showcase/assets/italic-BRS-PpYL.js +0 -1
- package/dist/showcase/assets/item--6Hx9AXZ.js +0 -1
- package/dist/showcase/assets/item-BszVRzXj.js +0 -134
- package/dist/showcase/assets/item-YF6wMI9W.js +0 -1
- package/dist/showcase/assets/kanban-BWBbWLVe.js +0 -186
- package/dist/showcase/assets/label-BgpcD3V6.js +0 -1
- package/dist/showcase/assets/languages-DDgmIDFe.js +0 -1
- package/dist/showcase/assets/layers-nkkXRmvA.js +0 -1
- package/dist/showcase/assets/layout-app-shell-D3MbPoGC.js +0 -608
- package/dist/showcase/assets/layout-auth-DIeRtG0B.js +0 -754
- package/dist/showcase/assets/layout-containers-Dc3-IAgV.js +0 -101
- package/dist/showcase/assets/layout-header-Cg6GfMST.js +0 -170
- package/dist/showcase/assets/layout-page-DojPq8S6.js +0 -122
- package/dist/showcase/assets/layout-primitives-JBSQS72B.js +0 -34
- package/dist/showcase/assets/layout-sidebar-C6jUJRhx.js +0 -224
- package/dist/showcase/assets/layout-users-uzPscfo7.js +0 -117
- package/dist/showcase/assets/layout-workspace-B3leaOKl.js +0 -183
- package/dist/showcase/assets/lock-DLIcOBUd.js +0 -1
- package/dist/showcase/assets/lock-keyhole-DY6aV7Mq.js +0 -1
- package/dist/showcase/assets/mail-AES_tOd2.js +0 -1
- package/dist/showcase/assets/mail-check-dJTzg2bD.js +0 -1
- package/dist/showcase/assets/map-CZ2l0iGH.js +0 -124
- package/dist/showcase/assets/map-pin-0O7GD5Dz.js +0 -1
- package/dist/showcase/assets/media-library-CRllxSGQ.js +0 -695
- package/dist/showcase/assets/mention-inline-suggestions-Dx2Z1GHF.js +0 -1
- package/dist/showcase/assets/mentions-CDqqGCE4.js +0 -138
- package/dist/showcase/assets/menus-CDgE79I5.js +0 -165
- package/dist/showcase/assets/message-square-CBNI_sf8.js +0 -1
- package/dist/showcase/assets/metadata-list-BoEVt7cX.js +0 -1
- package/dist/showcase/assets/metadata-list-NtWuY9W8.js +0 -288
- package/dist/showcase/assets/metric-Bx_LWobe.js +0 -1
- package/dist/showcase/assets/metric-bar-BldYHNLQ.js +0 -1
- package/dist/showcase/assets/metric-grid-BDw7w7d2.js +0 -1
- package/dist/showcase/assets/metric-trend-chip-lSjDkUEo.js +0 -1
- package/dist/showcase/assets/metrics-analytics-bar-CCFhTmQZ.js +0 -44
- package/dist/showcase/assets/metrics-analytics-cards-C1AjZqJU.js +0 -50
- package/dist/showcase/assets/metrics-comparison-vEE6BtuW.js +0 -76
- package/dist/showcase/assets/metrics-heatmap-DKkz8ibX.js +0 -27
- package/dist/showcase/assets/metrics-inline-badge-CZmVnReB.js +0 -17
- package/dist/showcase/assets/metrics-kpi-row-s2FYIYB1.js +0 -31
- package/dist/showcase/assets/metrics-micro-grid-DDlCl9Ep.js +0 -42
- package/dist/showcase/assets/metrics-overview-BgliK2L1.js +0 -192
- package/dist/showcase/assets/metrics-stat-cards-Cn5sRZsB.js +0 -54
- package/dist/showcase/assets/minus-DByvcC8K.js +0 -1
- package/dist/showcase/assets/money-display-DG4IaEaA.js +0 -1
- package/dist/showcase/assets/month-year-picker-CVurc9L7.js +0 -1
- package/dist/showcase/assets/navigation-CHYgQTsY.js +0 -90
- package/dist/showcase/assets/navigation-C_6gS4FA.js +0 -230
- package/dist/showcase/assets/navigation-extras-CflOar2P.js +0 -43
- package/dist/showcase/assets/onboarding-checklist-CYiciKwv.js +0 -119
- package/dist/showcase/assets/overlays-HrH2wdTK.js +0 -408
- package/dist/showcase/assets/overlays-cp7VMq3b.js +0 -159
- package/dist/showcase/assets/package-CjcwDJKu.js +0 -1
- package/dist/showcase/assets/package-check-CCH3ax-x.js +0 -1
- package/dist/showcase/assets/page-action-button-Cn5j2_EP.js +0 -1
- package/dist/showcase/assets/page-header-CkvCF1MQ.js +0 -1
- package/dist/showcase/assets/pagination-DM5QGPo2.js +0 -42
- package/dist/showcase/assets/pagination-DUzHnhJ6.js +0 -1
- package/dist/showcase/assets/paperclip-DoqDQQVa.js +0 -1
- package/dist/showcase/assets/password-input-CfS4sfCl.js +0 -1
- package/dist/showcase/assets/pencil-C2OfFQMj.js +0 -1
- package/dist/showcase/assets/phone-CLvml_XI.js +0 -1
- package/dist/showcase/assets/plus-D5swsZCz.js +0 -1
- package/dist/showcase/assets/popover-menu-Bu9q96nE.js +0 -1
- package/dist/showcase/assets/popover-nCGXR4Yd.js +0 -1
- package/dist/showcase/assets/popover-xC8qczvP.js +0 -1
- package/dist/showcase/assets/products-BbSzEFvw.js +0 -407
- package/dist/showcase/assets/progress-DYfoy7pk.js +0 -1
- package/dist/showcase/assets/progress-ENNwjW3X.js +0 -18
- package/dist/showcase/assets/props-table-2pIZzGC-.js +0 -1
- package/dist/showcase/assets/props.generated-DggzG-JL.json +0 -38611
- package/dist/showcase/assets/quote-BO1bufuX.js +0 -1
- package/dist/showcase/assets/receipt-kIVP3kxJ.js +0 -1
- package/dist/showcase/assets/receipt-text-BDQIvI4l.js +0 -1
- package/dist/showcase/assets/refresh-cw-UdL93poQ.js +0 -1
- package/dist/showcase/assets/resolveValueLabel-DfiI3G4i.js +0 -1
- package/dist/showcase/assets/rich-text-editor-CNtfwLC2.js +0 -143
- package/dist/showcase/assets/rich-text-editor-DB4QWptQ.js +0 -124
- package/dist/showcase/assets/rotate-ccw-DQPoMfMY.js +0 -1
- package/dist/showcase/assets/save-Cd0ZM40i.js +0 -1
- package/dist/showcase/assets/schema-form-Cyc6vCVO.js +0 -325
- package/dist/showcase/assets/scroll-area-B5NZsDdi.js +0 -32
- package/dist/showcase/assets/scroll-area-BvTq99pz.js +0 -1
- package/dist/showcase/assets/select-BRbyPtx8.js +0 -1
- package/dist/showcase/assets/select-Dymyvyh6.js +0 -1
- package/dist/showcase/assets/send-BWzI7mwi.js +0 -1
- package/dist/showcase/assets/separator-BsYPzBlF.js +0 -1
- package/dist/showcase/assets/separator-Osp0OJ78.js +0 -28
- package/dist/showcase/assets/settings-DRmWJILI.js +0 -1
- package/dist/showcase/assets/sheet-BKsjMYMo.js +0 -1
- package/dist/showcase/assets/shield-D1EaWJMG.js +0 -1
- package/dist/showcase/assets/shield-alert-DWsbR2jn.js +0 -1
- package/dist/showcase/assets/shield-check-DUTAPADm.js +0 -1
- package/dist/showcase/assets/shopping-bag-XmeqUqk9.js +0 -1
- package/dist/showcase/assets/sidebar-B5uO9sUB.js +0 -1
- package/dist/showcase/assets/sidebar.context-CRjgeYJL.js +0 -1
- package/dist/showcase/assets/skeleton-BtiPkfxB.js +0 -1
- package/dist/showcase/assets/skeleton-DbybIpkV.js +0 -29
- package/dist/showcase/assets/slider-vuwVVBby.js +0 -1
- package/dist/showcase/assets/sliders-horizontal-BE_cwUn0.js +0 -1
- package/dist/showcase/assets/smart-card-Dhu_1A_u.js +0 -1
- package/dist/showcase/assets/sonner-DZB-G4q5.js +0 -22
- package/dist/showcase/assets/sortable.esm-YOwRw8Hr.js +0 -5
- package/dist/showcase/assets/sparkles-N8rqKQez.js +0 -1
- package/dist/showcase/assets/spinner-B5zKCNXu.js +0 -30
- package/dist/showcase/assets/spinner-BOjRziLu.js +0 -1
- package/dist/showcase/assets/spinner-PIr8y8av.js +0 -49
- package/dist/showcase/assets/square-pen-ImRrVwT8.js +0 -1
- package/dist/showcase/assets/stacked-avatars-DnIAc098.js +0 -1
- package/dist/showcase/assets/star-BaV-UTPq.js +0 -1
- package/dist/showcase/assets/startOfDay-CtTeiGV0.js +0 -1
- package/dist/showcase/assets/styles-Bv0pDLVi.js +0 -1
- package/dist/showcase/assets/suggestions-QnLPdgnG.js +0 -126
- package/dist/showcase/assets/switch-DwAS_TXx.js +0 -1
- package/dist/showcase/assets/switch-xzxCDtyg.js +0 -1
- package/dist/showcase/assets/sync-LeYxWAap.js +0 -107
- package/dist/showcase/assets/table-BbEFanNu.js +0 -1
- package/dist/showcase/assets/table-CVVHBty6.js +0 -382
- package/dist/showcase/assets/table-actions-DvI9U67L.js +0 -1
- package/dist/showcase/assets/tabs-CLcyGwLd.js +0 -1
- package/dist/showcase/assets/tabs-ck8y1Bjr.js +0 -19
- package/dist/showcase/assets/tags-input-DmBY2CKI.js +0 -1
- package/dist/showcase/assets/text-button-C54O1rZM.js +0 -1
- package/dist/showcase/assets/text-link-9_mZpq_f.js +0 -1
- package/dist/showcase/assets/textarea-CHvnWHWH.js +0 -1
- package/dist/showcase/assets/textarea-jexcMklP.js +0 -1
- package/dist/showcase/assets/timelines-uvFVjEQv.js +0 -200
- package/dist/showcase/assets/toggle-group-B3fORi8i.js +0 -1
- package/dist/showcase/assets/toggles-Cox6Yk2k.js +0 -71
- package/dist/showcase/assets/toggles-group-CSvSPqCB.js +0 -32
- package/dist/showcase/assets/trash-2-CE9bDw49.js +0 -1
- package/dist/showcase/assets/trending-up-0iJl0XvC.js +0 -1
- package/dist/showcase/assets/truck-DlhOPoCD.js +0 -1
- package/dist/showcase/assets/typography-BotOITw4.js +0 -223
- package/dist/showcase/assets/ui-badge-hfmO1K3-.js +0 -28
- package/dist/showcase/assets/ui-card-Aigzxhn3.js +0 -30
- package/dist/showcase/assets/ui-table-CKif9sNO.js +0 -42
- package/dist/showcase/assets/upload-tray-BnKDNrw9.js +0 -138
- package/dist/showcase/assets/use-layout-link-BQ6Y9z__.js +0 -1
- package/dist/showcase/assets/useAnchoredPopupScrollLock-CP1vkwD7.js +0 -1
- package/dist/showcase/assets/useAriaLabelledBy-J_Rvjwx3.js +0 -1
- package/dist/showcase/assets/useCollapsiblePanel-BwUOowW2.js +0 -1
- package/dist/showcase/assets/useCompositeItem-D3XOIML-.js +0 -1
- package/dist/showcase/assets/useCompositeListItem-BWfShNPP.js +0 -1
- package/dist/showcase/assets/useLabelableId-DxorZ3YW.js +0 -1
- package/dist/showcase/assets/useOpenInteractionType-DLUX6CcH.js +0 -1
- package/dist/showcase/assets/useRender-B9zzqKA1.js +0 -1
- package/dist/showcase/assets/useTriggerFocusGuards-BSvL8pKg.js +0 -1
- package/dist/showcase/assets/useValueChanged-DSoTBFAJ.js +0 -1
- package/dist/showcase/assets/user-BZog6aIh.js +0 -1
- package/dist/showcase/assets/user-plus-CPxlPoxf.js +0 -1
- package/dist/showcase/assets/users-BgXAp2UO.js +0 -1
- package/dist/showcase/assets/vendor-profile-BLYiDIrO.js +0 -37
- package/dist/showcase/assets/video-YBnCbmIb.js +0 -1
- package/dist/showcase/assets/wrench-BFTavxzg.js +0 -1
- package/dist/showcase/assets/x-D8UN9pOu.js +0 -1
- package/dist/showcase/assets/zap-DIJUAJEb.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{sr as e}from"./example-Cz_880po.js";function t(t){return e(19)?t:t?`true`:void 0}export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./index-BQIv1ffM.js";var t=e(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Rr as e}from"./example-Cz_880po.js";import{n as t,s as n}from"./index-BQIv1ffM.js";var r=n();function i({label:n,value:i,layout:a=`between`,mono:o=!1,className:s,labelClassName:c,valueClassName:l}){return a===`stacked`?(0,r.jsxs)(`div`,{className:t(`inline-stat--component`,`flex flex-col gap-0.5`,s),children:[(0,r.jsx)(e,{tag:`span`,size:`xxs`,type:`secondary`,className:c,children:n}),(0,r.jsx)(e,{tag:`span`,className:t(o&&`tabular-nums`,l),children:i})]}):(0,r.jsxs)(`div`,{className:t(`flex items-center gap-2`,a===`between`?`justify-between`:`justify-start`,s),children:[(0,r.jsx)(e,{tag:`span`,size:`xs`,type:`secondary`,className:c,children:n}),(0,r.jsx)(e,{tag:`span`,className:t(o&&`tabular-nums`,l),children:i})]})}i.displayName=`InlineStat`;export{i as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./chunk-QTnfLwEv.js";import{n as t}from"./react-dom-Bz4cALsF.js";import{Kt as n,Qt as r,hr as i,jn as a,mr as o,nr as s,vn as c}from"./example-Cz_880po.js";import{n as l,s as u}from"./index-BQIv1ffM.js";import{t as d}from"./useControlled-BF8maje6.js";import{c as f,n as p,o as m,r as h,t as g}from"./LabelableContext-DapqaNeY.js";import{t as _}from"./useLabelableId-DxorZ3YW.js";var v=e(t(),1),y=v.forwardRef(function(e,t){let{render:l,className:u,id:y,name:b,value:x,disabled:S=!1,onValueChange:C,defaultValue:w,autoFocus:T=!1,style:E,...D}=e,{state:O,name:k,disabled:A,setTouched:j,setDirty:M,validityData:N,setFocused:P,setFilled:F,validationMode:I,validation:L}=m(),{clearErrors:R}=p(),z=A||S,B=k??b,V={...O,disabled:z},{labelId:H}=g(),U=_({id:y});o(()=>{let e=x!=null;L.inputRef.current?.value||e&&x!==``?F(!0):e&&x===``&&F(!1)},[L.inputRef,F,x]);let W=v.useRef(null);o(()=>{T&&W.current===a(n(W.current))&&P(!0)},[T,P]);let[G]=d({controlled:x,default:w,name:`FieldControl`,state:`value`}),K=x!==void 0,q=K?G:void 0,J=i(()=>L.inputRef.current?.value);return h(L.inputRef,U,q,J,!z,b),s(`input`,e,{ref:[t,W],state:V,props:[{id:U,disabled:z,name:B,ref:L.inputRef,"aria-labelledby":H,autoFocus:T,...K?{value:q}:{defaultValue:w},onChange(e){let t=e.currentTarget.value;C?.(t,r(c,e.nativeEvent)),M(t!==N.initialValue),F(t!==``),e.nativeEvent.defaultPrevented||(R(B),L.change(t))},onFocus(){P(!0)},onBlur(e){j(!0),P(!1),I===`onBlur`&&L.commit(e.currentTarget.value)},onKeyDown(e){e.currentTarget.tagName===`INPUT`&&e.key===`Enter`&&(j(!0),L.commit(e.currentTarget.value))}},D,e=>L.getValidationProps(z,e)],stateAttributesMapping:f})}),b=u(),x=v.forwardRef(function(e,t){return(0,b.jsx)(y,{ref:t,...e})});function S({className:e,type:t,...n}){return(0,b.jsx)(x,{type:t,"data-slot":`input`,className:l(`border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 aria-invalid:border-destructive h-9 rounded-md border bg-transparent px-2.5 py-1 text-base shadow-xs transition-[color,box-shadow] file:h-7 file:text-sm file:font-medium focus-visible:ring-[3px] aria-invalid:ring-[3px] md:text-sm file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50`,e),...n})}export{S as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./chunk-QTnfLwEv.js";import{n as t}from"./react-dom-Bz4cALsF.js";import{Rr as n,Vr as r,Yr as i}from"./example-Cz_880po.js";import{t as a}from"./circle-x-VSqZOeGt.js";import{k as o,n as s,s as c}from"./index-BQIv1ffM.js";import{t as l}from"./use-form-field-state-Sbo6tfr9.js";import{i as u,n as d}from"./form-sizing-DHUDpiPA.js";var f=e(t(),1),p=c(),ee={clear:`Clear input`},m=(e,t,n)=>{let r=e||``;return t&&r&&(r=t+r),n&&r&&(r+=n),r};function h({className:e,type:t=`text`,startIcon:c,endIcon:h,startAddon:g,endAddon:_,maxLength:v,showCharacterCount:y,clearable:b,onClear:x,isLoading:S,returnValueWithAddons:C,invalid:w,size:T,onChange:E,value:D,defaultValue:O,id:k,strings:A,...j},M){let N=(0,f.useRef)(null),P=o(ee,A),{defaultControlSize:F}=i(),I=u(T,F),L=(0,f.useCallback)(e=>{typeof M==`function`?M(e):M&&(M.current=e),N.current=e},[M]),{id:R,value:z,isReactHookForm:B,characterCount:V,hasCharacterLimit:H,showCount:U,hasValue:W,updateValue:G,clearValue:K,wouldExceedLimit:q}=l({controlledValue:D,defaultValue:O,maxLength:v,showCharacterCount:y,providedId:k,idPrefix:`input`,hasOnChange:E!==void 0}),J=!!b,Y=!!S,X=!!h,Z=!!_,Q=t===`file`,$=!!w,te=(0,f.useMemo)(()=>{let e=`px-3`,t=`px-3`;return c&&(e=`ps-9`),g&&(e=`ps-10`),h&&(t=`pe-9`),_&&(t=`pe-10`),(J&&W||Y)&&(t=`pe-9`),U&&(t=`pe-14`),`${e} ${t}`},[c,g,h,_,J,W,Y,U]),ne=(0,f.useCallback)(e=>{let t=e.target.value;if(!q(t)&&(G(t),E))if(C){let n=m(t,g,_);E({...e,target:{...e.target,value:n},currentTarget:{...e.currentTarget,value:n}})}else E(e)},[E,C,g,_,G,q]),re=(0,f.useCallback)(()=>{let e=C?m(``,g,_):``,t={target:{value:e},currentTarget:{value:e}};K(),E?.(t),x?.(),N.current?.focus()},[C,g,_,K,E,x]),ie=J&&W&&!U&&!Y,ae=Y&&!U,oe=X&&!J&&!U&&!Y,se=Z&&!J&&!U&&!Y;return(0,p.jsxs)(`div`,{className:s(`input--component`,`relative`),children:[(0,p.jsx)(`input`,{ref:L,id:R,type:t,...!B&&{value:z},onChange:ne,maxLength:v,"aria-invalid":$||void 0,disabled:j.disabled||S,className:s(`file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground`,`border-input flex w-full min-w-0 rounded-radius border py-1`,`transition-[color,box-shadow] outline-none`,`disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50`,d[I],`file:inline-flex file:h-7 file:border file:bg-transparent file:px-3 file:text-sm file:font-medium`,Q?`cursor-pointer bg-background text-foreground file:cursor-pointer file:rounded-md file:border-input file:bg-background file:text-foreground`:`bg-transparent`,`focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]`,`aria-invalid:ring-destructive/20 aria-invalid:border-destructive aria-invalid:text-destructive`,`aria-invalid:placeholder:text-destructive/40`,Q?`read-only:bg-background`:`read-only:bg-muted`,te,e),...j}),!!c&&(0,p.jsx)(`div`,{className:s(`pointer-events-none absolute inset-y-0 start-0 flex items-center justify-center ps-3`,j.disabled&&`opacity-50`,$?`text-destructive`:`text-muted-foreground/80`),children:(0,p.jsx)(c,{size:16,"aria-hidden":`true`})}),!!g&&(0,p.jsx)(`span`,{className:s(`pointer-events-none absolute inset-y-0 start-0 flex items-center justify-center ps-3 text-sm`,j.disabled&&`opacity-50`,$?`text-destructive`:`text-muted-foreground`),children:g}),!!oe&&!!h&&(0,p.jsx)(`div`,{className:s(`pointer-events-none absolute inset-y-0 end-0 flex items-center justify-center pe-3`,j.disabled&&`opacity-50`,$?`text-destructive`:`text-muted-foreground/80`),children:(0,p.jsx)(h,{size:16,"aria-hidden":`true`})}),!!se&&(0,p.jsx)(`span`,{className:s(`pointer-events-none absolute inset-y-0 end-0 flex items-center justify-center pe-3 text-sm`,j.disabled&&`opacity-50`,$?`text-destructive`:`text-muted-foreground`),children:_}),!!U&&(0,p.jsx)(`div`,{className:s(`pointer-events-none absolute inset-y-0 end-0 flex items-center justify-center pe-3 text-xs tabular-nums`,j.disabled&&`opacity-50`,$?`text-destructive`:`text-muted-foreground`),"aria-live":`polite`,role:`status`,children:(0,p.jsxs)(n,{tag:`span`,size:`xs`,type:$?`error`:`secondary`,children:[V,H?`/${v}`:``]})}),!!ae&&(0,p.jsx)(`div`,{className:s(`pointer-events-none absolute inset-y-0 end-0 flex items-center justify-center pe-3`,$?`text-destructive`:`text-muted-foreground/80`),children:(0,p.jsx)(r,{size:16,className:`animate-spin`,"aria-hidden":`true`})}),!!ie&&(0,p.jsx)(`button`,{type:`button`,className:`text-muted-foreground/80 hover:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 absolute inset-y-0 end-0 flex h-full w-9 items-center justify-center rounded-e-md transition-[color,box-shadow] outline-none focus-visible:z-10 focus-visible:ring-[3px] disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50`,"aria-label":P.clear,onClick:re,disabled:S,children:(0,p.jsx)(a,{size:16,"aria-hidden":`true`})})]})}var g=(0,f.memo)(f.forwardRef(h));g.displayName=`Input`;export{g as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-QTnfLwEv.js";import{n as e}from"./react-dom-Bz4cALsF.js";import{Nr as t}from"./example-Cz_880po.js";import{n,s as r}from"./index-BQIv1ffM.js";import{t as i}from"./input-DJAWOJEx.js";e();var a=r();function o({className:e,...t}){return(0,a.jsx)(`div`,{"data-slot":`input-group`,role:`group`,className:n(`border-input has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 h-9 rounded-md border shadow-xs transition-[color,box-shadow] has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] has-[[data-slot][aria-invalid=true]]:ring-[3px] has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto`,e),...t})}var s=t(`text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none`,{variants:{align:{"inline-start":`pl-2 has-[>button]:ml-[-0.25rem] has-[>kbd]:ml-[-0.15rem] order-first`,"inline-end":`pr-2 has-[>button]:mr-[-0.25rem] has-[>kbd]:mr-[-0.15rem] order-last`,"block-start":`px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start`,"block-end":`px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start`}},defaultVariants:{align:`inline-start`}});function c({className:e,align:t=`inline-start`,...r}){return(0,a.jsx)(`div`,{role:`group`,"data-slot":`input-group-addon`,"data-align":t,className:n(s({align:t}),e),onClick:e=>{e.target.closest(`button`)||e.currentTarget.parentElement?.querySelector(`input`)?.focus()},...r})}t(`gap-2 text-sm shadow-none flex items-center`,{variants:{size:{xs:`h-6 gap-1 rounded-[calc(var(--radius)-5px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5`,sm:``,"icon-xs":`size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0`,"icon-sm":`size-8 p-0 has-[>svg]:p-0`}},defaultVariants:{size:`xs`}});function l({className:e,...t}){return(0,a.jsx)(i,{"data-slot":`input-group-control`,className:n(`rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 flex-1`,e),...t})}export{c as n,l as r,o as t};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-QTnfLwEv.js";import{Dr as t,Er as n,t as r}from"./example-Cz_880po.js";import{t as i}from"./lock-DLIcOBUd.js";import{t as a}from"./mail-AES_tOd2.js";import{i as o,s}from"./index-BQIv1ffM.js";import{n as c,r as l,t as u}from"./input-group-BmqJ20bA.js";import{t as d}from"./PreviewLayout-CGEkbS-i.js";var f=e({LeadingIcon:()=>m,StackedEmailPassword:()=>g,TrailingAddon:()=>h}),p=s();function m(){return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)(u,{children:[(0,p.jsx)(c,{children:(0,p.jsx)(o,{className:`size-4`})}),(0,p.jsx)(l,{placeholder:`Search…`})]})})}function h(){return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)(u,{children:[(0,p.jsx)(l,{placeholder:`username`}),(0,p.jsx)(c,{align:`inline-end`,className:`text-muted-foreground`,children:`@example.com`})]})})}function g(){return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)(d,{children:[(0,p.jsxs)(u,{children:[(0,p.jsx)(c,{children:(0,p.jsx)(a,{className:`size-4`})}),(0,p.jsx)(l,{type:`email`,placeholder:`email@example.com`})]}),(0,p.jsxs)(u,{children:[(0,p.jsx)(c,{children:(0,p.jsx)(i,{className:`size-4`})}),(0,p.jsx)(l,{type:`password`,placeholder:`••••••••`})]})]})})}var _=`import { Search, Mail, Lock } from 'lucide-react';
|
|
2
|
-
import {
|
|
3
|
-
InputGroup,
|
|
4
|
-
InputGroupAddon,
|
|
5
|
-
InputGroupInput,
|
|
6
|
-
} from '@/components/ui/input-group';
|
|
7
|
-
import { Col } from '../../PreviewLayout';
|
|
8
|
-
|
|
9
|
-
export function LeadingIcon() {
|
|
10
|
-
return (
|
|
11
|
-
<>
|
|
12
|
-
<InputGroup>
|
|
13
|
-
<InputGroupAddon><Search className="size-4" /></InputGroupAddon>
|
|
14
|
-
<InputGroupInput placeholder="Search…" />
|
|
15
|
-
</InputGroup>
|
|
16
|
-
</>
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export function TrailingAddon() {
|
|
21
|
-
return (
|
|
22
|
-
<>
|
|
23
|
-
<InputGroup>
|
|
24
|
-
<InputGroupInput placeholder="username" />
|
|
25
|
-
<InputGroupAddon align="inline-end" className="text-muted-foreground">@example.com</InputGroupAddon>
|
|
26
|
-
</InputGroup>
|
|
27
|
-
</>
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export function StackedEmailPassword() {
|
|
32
|
-
return (
|
|
33
|
-
<>
|
|
34
|
-
<Col>
|
|
35
|
-
<InputGroup>
|
|
36
|
-
<InputGroupAddon><Mail className="size-4" /></InputGroupAddon>
|
|
37
|
-
<InputGroupInput type="email" placeholder="email@example.com" />
|
|
38
|
-
</InputGroup>
|
|
39
|
-
<InputGroup>
|
|
40
|
-
<InputGroupAddon><Lock className="size-4" /></InputGroupAddon>
|
|
41
|
-
<InputGroupInput type="password" placeholder="••••••••" />
|
|
42
|
-
</InputGroup>
|
|
43
|
-
</Col>
|
|
44
|
-
</>
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
`;function v(e){return f||b(`Examples`,!1),m||b(`Examples.LeadingIcon`,!0),g||b(`Examples.StackedEmailPassword`,!0),h||b(`Examples.TrailingAddon`,!0),(0,p.jsx)(t,{title:`UI · Input group`,description:`Input with leading / trailing add-ons.`,layer:`ui`,status:`ready`,children:(0,p.jsxs)(n,{title:`Examples`,id:`examples`,children:[(0,p.jsx)(r,{name:`LeadingIcon`,source:_,children:(0,p.jsx)(m,{})}),(0,p.jsx)(r,{name:`TrailingAddon`,source:_,children:(0,p.jsx)(h,{})}),(0,p.jsx)(r,{name:`StackedEmailPassword`,source:_,children:(0,p.jsx)(g,{})})]})})}function y(e={}){let{wrapper:t}=e.components||{};return t?(0,p.jsx)(t,{...e,children:(0,p.jsx)(v,{...e})}):v(e)}function b(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{y as default};
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import{n as e,r as t}from"./chunk-QTnfLwEv.js";import{n}from"./react-dom-Bz4cALsF.js";import{Dr as r,Er as i,Nr as a,t as o}from"./example-Cz_880po.js";import{t as s}from"./chevron-down-ByPPEdNm.js";import{t as c}from"./minus-DByvcC8K.js";import{n as l,s as u}from"./index-BQIv1ffM.js";import{a as d,i as f,n as ee,o as p,t as m}from"./select-Dymyvyh6.js";import{t as h}from"./input-DJAWOJEx.js";import{t as g}from"./textarea-jexcMklP.js";import{t as _}from"./PreviewLayout-CGEkbS-i.js";var v=t(n(),1),y=u();function te({className:e,...t}){return(0,y.jsx)(`label`,{"data-slot":`label`,className:l(`flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,e),...t})}function b({className:e,...t}){return(0,y.jsx)(`fieldset`,{"data-slot":`field-set`,className:l(`flex flex-col gap-6 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3`,e),...t})}function x({className:e,variant:t=`legend`,...n}){return(0,y.jsx)(`legend`,{"data-slot":`field-legend`,"data-variant":t,className:l(`mb-3 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base`,e),...n})}function S({className:e,...t}){return(0,y.jsx)(`div`,{"data-slot":`field-group`,className:l(`group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4`,e),...t})}var C=a(`group/field flex w-full gap-3 data-[invalid=true]:text-destructive`,{variants:{orientation:{vertical:`flex-col *:w-full [&>.sr-only]:w-auto`,horizontal:`flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`,responsive:`flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`}},defaultVariants:{orientation:`vertical`}});function w({className:e,orientation:t=`vertical`,...n}){return(0,y.jsx)(`div`,{role:`group`,"data-slot":`field`,"data-orientation":t,className:l(C({orientation:t}),e),...n})}function T({className:e,...t}){return(0,y.jsx)(te,{"data-slot":`field-label`,className:l(`group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:bg-input/30 has-[>[data-slot=field]]:rounded-2xl has-[>[data-slot=field]]:border *:data-[slot=field]:p-4`,`has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col`,e),...t})}function E({className:e,...t}){return(0,y.jsx)(`p`,{"data-slot":`field-description`,className:l(`text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5`,`last:mt-0 nth-last-2:-mt-1`,`[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary`,e),...t})}function D({className:e,children:t,errors:n,...r}){let i=(0,v.useMemo)(()=>{if(t)return t;if(!n?.length)return null;let e=[...new Map(n.map(e=>[e?.message,e])).values()];return e?.length==1?e[0]?.message:(0,y.jsx)(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:e.map((e,t)=>e?.message&&(0,y.jsx)(`li`,{children:e.message},t))})},[t,n]);return i?(0,y.jsx)(`div`,{role:`alert`,"data-slot":`field-error`,className:l(`text-sm font-normal text-destructive`,e),...r,children:i}):null}var O=Object.defineProperty,k=Object.defineProperties,A=Object.getOwnPropertyDescriptors,j=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,P=(e,t,n)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ne=(e,t)=>{for(var n in t||={})M.call(t,n)&&P(e,n,t[n]);if(j)for(var n of j(t))N.call(t,n)&&P(e,n,t[n]);return e},re=(e,t)=>k(e,A(t)),ie=(e,t)=>{var n={};for(var r in e)M.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&j)for(var r of j(e))t.indexOf(r)<0&&N.call(e,r)&&(n[r]=e[r]);return n};function ae(e){return[setTimeout(e,0),setTimeout(e,10),setTimeout(e,50)]}function oe(e){let t=v.useRef();return v.useEffect(()=>{t.current=e}),t.current}var F=18,I=40,L=`${I}px`,R=[`[data-lastpass-icon-root]`,`com-1password-button`,`[data-dashlanecreated]`,`[style$="2147483647 !important;"]`].join(`,`);function se({containerRef:e,inputRef:t,pushPasswordManagerStrategy:n,isFocused:r}){let[i,a]=v.useState(!1),[o,s]=v.useState(!1),[c,l]=v.useState(!1),u=v.useMemo(()=>n===`none`?!1:(n===`increase-width`||n===`experimental-no-flickering`)&&i&&o,[i,o,n]),d=v.useCallback(()=>{let r=e.current,i=t.current;if(!r||!i||c||n===`none`)return;let o=r,s=o.getBoundingClientRect().left+o.offsetWidth,u=o.getBoundingClientRect().top+o.offsetHeight/2,d=s-F,f=u;document.querySelectorAll(R).length===0&&document.elementFromPoint(d,f)===r||(a(!0),l(!0))},[e,t,c,n]);return v.useEffect(()=>{let t=e.current;if(!t||n===`none`)return;function r(){s(window.innerWidth-t.getBoundingClientRect().right>=I)}r();let i=setInterval(r,1e3);return()=>{clearInterval(i)}},[e,n]),v.useEffect(()=>{let e=r||document.activeElement===t.current;if(n===`none`||!e)return;let i=setTimeout(d,0),a=setTimeout(d,2e3),o=setTimeout(d,5e3),s=setTimeout(()=>{l(!0)},6e3);return()=>{clearTimeout(i),clearTimeout(a),clearTimeout(o),clearTimeout(s)}},[t,r,n,d]),{hasPWMBadge:i,willPushPWMBadge:u,PWM_BADGE_SPACE_WIDTH:L}}var ce=v.createContext({}),z=v.forwardRef((e,t)=>{var n=e,{value:r,onChange:i,maxLength:a,textAlign:o=`left`,pattern:s,placeholder:c,inputMode:l=`numeric`,onComplete:u,pushPasswordManagerStrategy:d=`increase-width`,pasteTransformer:f,containerClassName:ee,noScriptCSSFallback:p=le,render:m,children:h}=n,g=ie(n,[`value`,`onChange`,`maxLength`,`textAlign`,`pattern`,`placeholder`,`inputMode`,`onComplete`,`pushPasswordManagerStrategy`,`pasteTransformer`,`containerClassName`,`noScriptCSSFallback`,`render`,`children`]),_;let[y,te]=v.useState(typeof g.defaultValue==`string`?g.defaultValue:``),b=r??y,x=oe(b),S=v.useCallback(e=>{i?.(e),te(e)},[i]),C=v.useMemo(()=>s?typeof s==`string`?new RegExp(s):s:null,[s]),w=v.useRef(null),T=v.useRef(null),E=v.useRef({value:b,onChange:S,isIOS:typeof window<`u`&&((_=window==null?void 0:window.CSS)?.supports)?.call(_,`-webkit-touch-callout`,`none`)}),D=v.useRef({prev:[w.current?.selectionStart,w.current?.selectionEnd,w.current?.selectionDirection]});v.useImperativeHandle(t,()=>w.current,[]),v.useEffect(()=>{let e=w.current,t=T.current;if(!e||!t)return;E.current.value!==e.value&&E.current.onChange(e.value),D.current.prev=[e.selectionStart,e.selectionEnd,e.selectionDirection];function n(){if(document.activeElement!==e){N(null),F(null);return}let t=e.selectionStart,n=e.selectionEnd,r=e.selectionDirection,i=e.maxLength,a=e.value,o=D.current.prev,s=-1,c=-1,l;if(a.length!==0&&t!==null&&n!==null){let e=t===n,r=t===a.length&&a.length<i;if(e&&!r){let e=t;if(e===0)s=0,c=1,l=`forward`;else if(e===i)s=e-1,c=e,l=`backward`;else if(i>1&&a.length>1){let t=0;if(o[0]!==null&&o[1]!==null){l=e<o[1]?`backward`:`forward`;let n=o[0]===o[1]&&o[0]<i;l===`backward`&&!n&&(t=-1)}s=t+e,c=t+e+1}}s!==-1&&c!==-1&&s!==c&&w.current.setSelectionRange(s,c,l)}let u=s===-1?t:s,d=c===-1?n:c,f=l??r;N(u),F(d),D.current.prev=[u,d,f]}if(document.addEventListener(`selectionchange`,n,{capture:!0}),n(),document.activeElement===e&&j(!0),!document.getElementById(`input-otp-style`)){let e=document.createElement(`style`);if(e.id=`input-otp-style`,document.head.appendChild(e),e.sheet){let t=`background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;`;B(e.sheet,`[data-input-otp]::selection { background: transparent !important; color: transparent !important; }`),B(e.sheet,`[data-input-otp]:autofill { ${t} }`),B(e.sheet,`[data-input-otp]:-webkit-autofill { ${t} }`),B(e.sheet,`@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }`),B(e.sheet,`[data-input-otp] + * { pointer-events: all !important; }`)}}let r=()=>{t&&t.style.setProperty(`--root-height`,`${e.clientHeight}px`)};r();let i=new ResizeObserver(r);return i.observe(e),()=>{document.removeEventListener(`selectionchange`,n,{capture:!0}),i.disconnect()}},[]);let[O,k]=v.useState(!1),[A,j]=v.useState(!1),[M,N]=v.useState(null),[P,F]=v.useState(null);v.useEffect(()=>{ae(()=>{var e;(e=w.current)==null||e.dispatchEvent(new Event(`input`));let t=w.current?.selectionStart,n=w.current?.selectionEnd,r=w.current?.selectionDirection;t!==null&&n!==null&&(N(t),F(n),D.current.prev=[t,n,r])})},[b,A]),v.useEffect(()=>{x!==void 0&&b!==x&&x.length<a&&b.length===a&&u?.(b)},[a,u,x,b]);let I=se({containerRef:T,inputRef:w,pushPasswordManagerStrategy:d,isFocused:A}),L=v.useCallback(e=>{let t=e.currentTarget.value.slice(0,a);if(t.length>0&&C&&!C.test(t)){e.preventDefault();return}typeof x==`string`&&t.length<x.length&&document.dispatchEvent(new Event(`selectionchange`)),S(t)},[a,S,x,C]),R=v.useCallback(()=>{var e;if(w.current){let t=Math.min(w.current.value.length,a-1),n=w.current.value.length;(e=w.current)==null||e.setSelectionRange(t,n),N(t),F(n)}j(!0)},[a]),z=v.useCallback(e=>{let t=w.current;if(!f&&(!E.current.isIOS||!e.clipboardData||!t))return;let n=e.clipboardData.getData(`text/plain`),r=f?f(n):n;e.preventDefault();let i=w.current?.selectionStart,o=w.current?.selectionEnd,s=(i===o?b.slice(0,i)+r+b.slice(i):b.slice(0,i)+r+b.slice(o)).slice(0,a);if(s.length>0&&C&&!C.test(s))return;t.value=s,S(s);let c=Math.min(s.length,a-1),l=s.length;t.setSelectionRange(c,l),N(c),F(l)},[a,S,C,b]),ue=v.useMemo(()=>({position:`relative`,cursor:g.disabled?`default`:`text`,userSelect:`none`,WebkitUserSelect:`none`,pointerEvents:`none`}),[g.disabled]),V=v.useMemo(()=>({position:`absolute`,inset:0,width:I.willPushPWMBadge?`calc(100% + ${I.PWM_BADGE_SPACE_WIDTH})`:`100%`,clipPath:I.willPushPWMBadge?`inset(0 ${I.PWM_BADGE_SPACE_WIDTH} 0 0)`:void 0,height:`100%`,display:`flex`,textAlign:o,opacity:`1`,color:`transparent`,pointerEvents:`all`,background:`transparent`,caretColor:`transparent`,border:`0 solid transparent`,outline:`0 solid transparent`,boxShadow:`none`,lineHeight:`1`,letterSpacing:`-.5em`,fontSize:`var(--root-height)`,fontFamily:`monospace`,fontVariantNumeric:`tabular-nums`}),[I.PWM_BADGE_SPACE_WIDTH,I.willPushPWMBadge,o]),H=v.useMemo(()=>v.createElement(`input`,re(ne({autoComplete:g.autoComplete||`one-time-code`},g),{"data-input-otp":!0,"data-input-otp-placeholder-shown":b.length===0||void 0,"data-input-otp-mss":M,"data-input-otp-mse":P,inputMode:l,pattern:C?.source,"aria-placeholder":c,style:V,maxLength:a,value:b,ref:w,onPaste:e=>{var t;z(e),(t=g.onPaste)==null||t.call(g,e)},onChange:L,onMouseOver:e=>{var t;k(!0),(t=g.onMouseOver)==null||t.call(g,e)},onMouseLeave:e=>{var t;k(!1),(t=g.onMouseLeave)==null||t.call(g,e)},onFocus:e=>{var t;R(),(t=g.onFocus)==null||t.call(g,e)},onBlur:e=>{var t;j(!1),(t=g.onBlur)==null||t.call(g,e)}})),[L,R,z,l,V,a,P,M,g,C?.source,b]),U=v.useMemo(()=>({slots:Array.from({length:a}).map((e,t)=>{let n=A&&M!==null&&P!==null&&(M===P&&t===M||t>=M&&t<P),r=b[t]===void 0?null:b[t];return{char:r,placeholderChar:b[0]===void 0?c?.[t]??null:null,isActive:n,hasFakeCaret:n&&r===null}}),isFocused:A,isHovering:!g.disabled&&O}),[A,O,a,P,M,g.disabled,b]),W=v.useMemo(()=>m?m(U):v.createElement(ce.Provider,{value:U},h),[h,U,m]);return v.createElement(v.Fragment,null,p!==null&&v.createElement(`noscript`,null,v.createElement(`style`,null,p)),v.createElement(`div`,{ref:T,"data-input-otp-container":!0,style:ue,className:ee},W,v.createElement(`div`,{style:{position:`absolute`,inset:0,pointerEvents:`none`}},H)))});z.displayName=`Input`;function B(e,t){try{e.insertRule(t)}catch{console.error(`input-otp could not insert CSS rule:`,t)}}var le=`
|
|
2
|
-
[data-input-otp] {
|
|
3
|
-
--nojs-bg: white !important;
|
|
4
|
-
--nojs-fg: black !important;
|
|
5
|
-
|
|
6
|
-
background-color: var(--nojs-bg) !important;
|
|
7
|
-
color: var(--nojs-fg) !important;
|
|
8
|
-
caret-color: var(--nojs-fg) !important;
|
|
9
|
-
letter-spacing: .25em !important;
|
|
10
|
-
text-align: center !important;
|
|
11
|
-
border: 1px solid var(--nojs-fg) !important;
|
|
12
|
-
border-radius: 4px !important;
|
|
13
|
-
width: 100% !important;
|
|
14
|
-
}
|
|
15
|
-
@media (prefers-color-scheme: dark) {
|
|
16
|
-
[data-input-otp] {
|
|
17
|
-
--nojs-bg: black !important;
|
|
18
|
-
--nojs-fg: white !important;
|
|
19
|
-
}
|
|
20
|
-
}`;function ue({className:e,containerClassName:t,...n}){return(0,y.jsx)(z,{"data-slot":`input-otp`,containerClassName:l(`cn-input-otp flex items-center has-disabled:opacity-50`,t),spellCheck:!1,className:l(`disabled:cursor-not-allowed`,e),...n})}function V({className:e,...t}){return(0,y.jsx)(`div`,{"data-slot":`input-otp-group`,className:l(`flex items-center rounded-3xl has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40`,e),...t})}function H({index:e,className:t,...n}){let{char:r,hasFakeCaret:i,isActive:a}=v.useContext(ce)?.slots[e]??{};return(0,y.jsxs)(`div`,{"data-slot":`input-otp-slot`,"data-active":a,className:l(`relative flex size-9 items-center justify-center border-y border-r border-input bg-input/50 text-sm transition-all outline-none first:rounded-l-3xl first:border-l last:rounded-r-3xl aria-invalid:border-destructive data-[active=true]:z-10 data-[active=true]:border-ring data-[active=true]:ring-3 data-[active=true]:ring-ring/30 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40`,t),...n,children:[r,i&&(0,y.jsx)(`div`,{className:`pointer-events-none absolute inset-0 flex items-center justify-center`,children:(0,y.jsx)(`div`,{className:`h-4 w-px animate-caret-blink bg-foreground duration-1000`})})]})}function U({...e}){return(0,y.jsx)(`div`,{"data-slot":`input-otp-separator`,className:`flex items-center [&_svg:not([class*='size-'])]:size-4`,role:`separator`,...e,children:(0,y.jsx)(c,{})})}function W({className:e,...t}){return(0,y.jsx)(`kbd`,{"data-slot":`kbd`,className:l(`pointer-events-none inline-flex h-5.5 w-fit min-w-5.5 items-center justify-center gap-1 rounded-lg bg-muted px-1.5 font-sans text-xs font-medium text-muted-foreground select-none in-data-[slot=input-group]:bg-input in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10 [&_svg:not([class*='size-'])]:size-3`,e),...t})}function de({className:e,...t}){return(0,y.jsx)(`kbd`,{"data-slot":`kbd-group`,className:l(`inline-flex items-center gap-1`,e),...t})}function fe({className:e,size:t=`default`,...n}){return(0,y.jsxs)(`div`,{className:l(`group/native-select relative w-fit has-[select:disabled]:opacity-50`,e),"data-slot":`native-select-wrapper`,"data-size":t,children:[(0,y.jsx)(`select`,{"data-slot":`native-select`,"data-size":t,className:`h-9 w-full min-w-0 appearance-none rounded-3xl border border-transparent bg-input/50 py-1 pr-8 pl-3 text-sm transition-[color,box-shadow,background-color] outline-none select-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/30 disabled:pointer-events-none disabled:cursor-not-allowed aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=sm]:h-8 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,...n}),(0,y.jsx)(s,{className:`pointer-events-none absolute top-1/2 right-2.5 size-4 -translate-y-1/2 text-muted-foreground select-none`,"aria-hidden":`true`,"data-slot":`native-select-icon`})]})}function G({className:e,...t}){return(0,y.jsx)(`option`,{"data-slot":`native-select-option`,className:l(`bg-[Canvas] text-[CanvasText]`,e),...t})}var pe=e({FieldExample:()=>Z,InputExample:()=>K,InputOTPExample:()=>X,KbdExample:()=>me,NativeSelectExample:()=>Y,SelectExample:()=>J,TextareaExample:()=>q});function K(){let[e,t]=(0,v.useState)(``);return(0,y.jsx)(y.Fragment,{children:(0,y.jsxs)(_,{children:[(0,y.jsx)(h,{placeholder:`Type something…`,value:e,onChange:e=>t(e.target.value)}),(0,y.jsx)(h,{disabled:!0,placeholder:`Disabled`}),(0,y.jsx)(h,{"aria-invalid":!0,placeholder:`Invalid state`}),(0,y.jsx)(h,{type:`email`,placeholder:`email@example.com`})]})})}function q(){let[e,t]=(0,v.useState)(``);return(0,y.jsx)(y.Fragment,{children:(0,y.jsx)(g,{placeholder:`Multi-line input…`,value:e,onChange:e=>t(e.target.value)})})}function J(){let[e,t]=(0,v.useState)(null);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)(m,{value:e,onValueChange:t,children:[(0,y.jsx)(d,{className:`w-48`,children:(0,y.jsx)(p,{placeholder:`Pick a fruit`})}),(0,y.jsxs)(ee,{children:[(0,y.jsx)(f,{value:`apple`,children:`Apple`}),(0,y.jsx)(f,{value:`banana`,children:`Banana`}),(0,y.jsx)(f,{value:`cherry`,children:`Cherry`}),(0,y.jsx)(f,{value:`date`,children:`Date`})]})]}),(0,y.jsxs)(`div`,{className:`mt-2 text-xs text-muted-foreground`,children:[`value: `,e||`—`]})]})}function Y(){let[e,t]=(0,v.useState)(`open`);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)(fe,{"aria-label":`Issue status`,value:e,onChange:e=>t(e.target.value),children:[(0,y.jsx)(G,{value:`open`,children:`Open`}),(0,y.jsx)(G,{value:`review`,children:`In review`}),(0,y.jsx)(G,{value:`resolved`,children:`Resolved`})]}),(0,y.jsxs)(`div`,{className:`mt-2 text-xs text-muted-foreground`,children:[`value: `,e]})]})}function X(){let[e,t]=(0,v.useState)(``);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)(ue,{maxLength:6,value:e,onChange:t,children:[(0,y.jsxs)(V,{children:[(0,y.jsx)(H,{index:0}),(0,y.jsx)(H,{index:1}),(0,y.jsx)(H,{index:2})]}),(0,y.jsx)(U,{}),(0,y.jsxs)(V,{children:[(0,y.jsx)(H,{index:3}),(0,y.jsx)(H,{index:4}),(0,y.jsx)(H,{index:5})]})]}),(0,y.jsxs)(`div`,{className:`mt-2 text-xs text-muted-foreground`,children:[`value: `,e||`empty`]})]})}function Z(){return(0,y.jsx)(y.Fragment,{children:(0,y.jsxs)(b,{className:`max-w-md`,children:[(0,y.jsx)(x,{variant:`label`,children:`Notification settings`}),(0,y.jsxs)(S,{children:[(0,y.jsxs)(w,{children:[(0,y.jsx)(T,{htmlFor:`ui-field-email`,children:`Email`}),(0,y.jsx)(h,{id:`ui-field-email`,type:`email`,defaultValue:`kira@example.com`}),(0,y.jsx)(E,{children:`Used for critical account notifications.`})]}),(0,y.jsxs)(w,{"data-invalid":`true`,children:[(0,y.jsx)(T,{htmlFor:`ui-field-backup-email`,children:`Backup email`}),(0,y.jsx)(h,{id:`ui-field-backup-email`,type:`email`,"aria-invalid":!0,defaultValue:`invalid`}),(0,y.jsx)(D,{children:`Enter a valid email address.`})]})]})]})})}function me(){return(0,y.jsx)(y.Fragment,{children:(0,y.jsxs)(de,{children:[(0,y.jsx)(W,{children:`Ctrl`}),(0,y.jsx)(W,{children:`K`})]})})}var Q=`import { useState } from 'react';
|
|
21
|
-
import {
|
|
22
|
-
Field,
|
|
23
|
-
FieldDescription,
|
|
24
|
-
FieldError,
|
|
25
|
-
FieldGroup,
|
|
26
|
-
FieldLabel,
|
|
27
|
-
FieldLegend,
|
|
28
|
-
FieldSet,
|
|
29
|
-
} from '@/components/ui/field';
|
|
30
|
-
import { Input } from '@/components/ui/input';
|
|
31
|
-
import { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from '@/components/ui/input-otp';
|
|
32
|
-
import { Kbd, KbdGroup } from '@/components/ui/kbd';
|
|
33
|
-
import { NativeSelect, NativeSelectOption } from '@/components/ui/native-select';
|
|
34
|
-
import { Textarea } from '@/components/ui/textarea';
|
|
35
|
-
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select';
|
|
36
|
-
import { Col } from '../../PreviewLayout';
|
|
37
|
-
|
|
38
|
-
export function InputExample() {
|
|
39
|
-
const [text, setText] = useState('');
|
|
40
|
-
return (
|
|
41
|
-
<>
|
|
42
|
-
<Col>
|
|
43
|
-
<Input placeholder="Type something…" value={text} onChange={(e) => setText(e.target.value)} />
|
|
44
|
-
<Input disabled placeholder="Disabled" />
|
|
45
|
-
<Input aria-invalid placeholder="Invalid state" />
|
|
46
|
-
<Input type="email" placeholder="email@example.com" />
|
|
47
|
-
</Col>
|
|
48
|
-
</>
|
|
49
|
-
);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function TextareaExample() {
|
|
53
|
-
const [body, setBody] = useState('');
|
|
54
|
-
return (
|
|
55
|
-
<>
|
|
56
|
-
<Textarea placeholder="Multi-line input…" value={body} onChange={(e) => setBody(e.target.value)} />
|
|
57
|
-
</>
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function SelectExample() {
|
|
62
|
-
const [fruit, setFruit] = useState<string | null>(null);
|
|
63
|
-
return (
|
|
64
|
-
<>
|
|
65
|
-
<Select value={fruit} onValueChange={setFruit}>
|
|
66
|
-
<SelectTrigger className="w-48">
|
|
67
|
-
<SelectValue placeholder="Pick a fruit" />
|
|
68
|
-
</SelectTrigger>
|
|
69
|
-
<SelectContent>
|
|
70
|
-
<SelectItem value="apple">Apple</SelectItem>
|
|
71
|
-
<SelectItem value="banana">Banana</SelectItem>
|
|
72
|
-
<SelectItem value="cherry">Cherry</SelectItem>
|
|
73
|
-
<SelectItem value="date">Date</SelectItem>
|
|
74
|
-
</SelectContent>
|
|
75
|
-
</Select>
|
|
76
|
-
<div className="mt-2 text-xs text-muted-foreground">value: {fruit || '—'}</div>
|
|
77
|
-
</>
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export function NativeSelectExample() {
|
|
82
|
-
const [status, setStatus] = useState('open');
|
|
83
|
-
|
|
84
|
-
return (
|
|
85
|
-
<>
|
|
86
|
-
<NativeSelect
|
|
87
|
-
aria-label="Issue status"
|
|
88
|
-
value={status}
|
|
89
|
-
onChange={(event) => setStatus(event.target.value)}
|
|
90
|
-
>
|
|
91
|
-
<NativeSelectOption value="open">Open</NativeSelectOption>
|
|
92
|
-
<NativeSelectOption value="review">In review</NativeSelectOption>
|
|
93
|
-
<NativeSelectOption value="resolved">Resolved</NativeSelectOption>
|
|
94
|
-
</NativeSelect>
|
|
95
|
-
<div className="mt-2 text-xs text-muted-foreground">value: {status}</div>
|
|
96
|
-
</>
|
|
97
|
-
);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export function InputOTPExample() {
|
|
101
|
-
const [code, setCode] = useState('');
|
|
102
|
-
|
|
103
|
-
return (
|
|
104
|
-
<>
|
|
105
|
-
<InputOTP maxLength={6} value={code} onChange={setCode}>
|
|
106
|
-
<InputOTPGroup>
|
|
107
|
-
<InputOTPSlot index={0} />
|
|
108
|
-
<InputOTPSlot index={1} />
|
|
109
|
-
<InputOTPSlot index={2} />
|
|
110
|
-
</InputOTPGroup>
|
|
111
|
-
<InputOTPSeparator />
|
|
112
|
-
<InputOTPGroup>
|
|
113
|
-
<InputOTPSlot index={3} />
|
|
114
|
-
<InputOTPSlot index={4} />
|
|
115
|
-
<InputOTPSlot index={5} />
|
|
116
|
-
</InputOTPGroup>
|
|
117
|
-
</InputOTP>
|
|
118
|
-
<div className="mt-2 text-xs text-muted-foreground">value: {code || 'empty'}</div>
|
|
119
|
-
</>
|
|
120
|
-
);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export function FieldExample() {
|
|
124
|
-
return (
|
|
125
|
-
<>
|
|
126
|
-
<FieldSet className="max-w-md">
|
|
127
|
-
<FieldLegend variant="label">Notification settings</FieldLegend>
|
|
128
|
-
<FieldGroup>
|
|
129
|
-
<Field>
|
|
130
|
-
<FieldLabel htmlFor="ui-field-email">Email</FieldLabel>
|
|
131
|
-
<Input id="ui-field-email" type="email" defaultValue="kira@example.com" />
|
|
132
|
-
<FieldDescription>Used for critical account notifications.</FieldDescription>
|
|
133
|
-
</Field>
|
|
134
|
-
<Field data-invalid="true">
|
|
135
|
-
<FieldLabel htmlFor="ui-field-backup-email">Backup email</FieldLabel>
|
|
136
|
-
<Input id="ui-field-backup-email" type="email" aria-invalid defaultValue="invalid" />
|
|
137
|
-
<FieldError>Enter a valid email address.</FieldError>
|
|
138
|
-
</Field>
|
|
139
|
-
</FieldGroup>
|
|
140
|
-
</FieldSet>
|
|
141
|
-
</>
|
|
142
|
-
);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
export function KbdExample() {
|
|
146
|
-
return (
|
|
147
|
-
<>
|
|
148
|
-
<KbdGroup>
|
|
149
|
-
<Kbd>Ctrl</Kbd>
|
|
150
|
-
<Kbd>K</Kbd>
|
|
151
|
-
</KbdGroup>
|
|
152
|
-
</>
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
|
-
`;function he(e){return pe||$(`Examples`,!1),Z||$(`Examples.FieldExample`,!0),K||$(`Examples.InputExample`,!0),X||$(`Examples.InputOTPExample`,!0),me||$(`Examples.KbdExample`,!0),Y||$(`Examples.NativeSelectExample`,!0),J||$(`Examples.SelectExample`,!0),q||$(`Examples.TextareaExample`,!0),(0,y.jsx)(r,{title:`UI · Inputs`,description:`Input, Textarea, Select, NativeSelect, InputOTP, Field, and Kbd primitives.`,layer:`ui`,status:`ready`,children:(0,y.jsxs)(i,{title:`Examples`,id:`examples`,children:[(0,y.jsx)(o,{name:`InputExample`,source:Q,children:(0,y.jsx)(K,{})}),(0,y.jsx)(o,{name:`TextareaExample`,source:Q,children:(0,y.jsx)(q,{})}),(0,y.jsx)(o,{name:`SelectExample`,source:Q,children:(0,y.jsx)(J,{})}),(0,y.jsx)(o,{name:`NativeSelectExample`,source:Q,children:(0,y.jsx)(Y,{})}),(0,y.jsx)(o,{name:`InputOTPExample`,source:Q,children:(0,y.jsx)(X,{})}),(0,y.jsx)(o,{name:`FieldExample`,source:Q,children:(0,y.jsx)(Z,{})}),(0,y.jsx)(o,{name:`KbdExample`,source:Q,children:(0,y.jsx)(me,{})})]})})}function ge(e={}){let{wrapper:t}=e.components||{};return t?(0,y.jsx)(t,{...e,children:(0,y.jsx)(he,{...e})}):he(e)}function $(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{ge as default};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-QTnfLwEv.js";import{Dr as t,Er as n,Lr as r,Rr as i,jr as a,t as o}from"./example-Cz_880po.js";import{k as s,n as c,s as l}from"./index-BQIv1ffM.js";import{t as u}from"./props-table-2pIZzGC-.js";import{t as d}from"./smart-card-Dhu_1A_u.js";import{t as f}from"./separator-BsYPzBlF.js";import{t as p}from"./inline-stat-DcNP6bcO.js";var m={title:`Invoice`,billFrom:`Bill From`,billTo:`Bill To`,issued:`Issued`,due:`Due`,amountDue:`Amount Due`},h=l();function g({eyebrow:e,name:t,location:n}){return(0,h.jsxs)(`div`,{className:c(`invoice-header--component`,`space-y-1`),children:[(0,h.jsx)(i,{size:`xxs`,type:`secondary`,weight:`medium`,className:`uppercase tracking-wider`,children:e}),(0,h.jsx)(i,{weight:`semibold`,className:`leading-snug`,children:t}),!!n&&(0,h.jsx)(i,{size:`xs`,type:`secondary`,className:`leading-snug`,children:n})]})}function _({invoiceNumber:e,status:t,statusVariant:n=`success`,from:o,to:l,issuedDate:u,dueDate:_,amount:v,className:y,strings:b}){let x=s(m,b);return(0,h.jsxs)(d,{title:x.title,className:y,children:[(0,h.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[(0,h.jsx)(i,{weight:`bold`,className:`font-mono tracking-wide`,children:e}),(0,h.jsx)(a,{variant:n,children:t})]}),(0,h.jsxs)(`div`,{className:`mt-5 grid grid-cols-1 gap-5 sm:grid-cols-2 sm:gap-6`,children:[(0,h.jsx)(g,{eyebrow:x.billFrom,name:o.name,location:o.location}),(0,h.jsx)(g,{eyebrow:x.billTo,name:l.name,location:l.location})]}),(0,h.jsx)(f,{className:`my-5`}),(0,h.jsxs)(`div`,{className:`flex flex-wrap items-end justify-between gap-4`,children:[(0,h.jsxs)(`div`,{className:`space-y-1`,children:[!!u&&(0,h.jsx)(p,{layout:`inline`,label:x.issued,value:u,mono:!0,labelClassName:`text-xxs uppercase tracking-wider font-medium`,valueClassName:`text-xs font-medium`}),!!_&&(0,h.jsx)(p,{layout:`inline`,label:x.due,value:_,mono:!0,labelClassName:`text-xxs uppercase tracking-wider font-medium`,valueClassName:`text-xs font-medium`})]}),(0,h.jsxs)(`div`,{className:`text-right`,children:[(0,h.jsx)(i,{size:`xxs`,type:`secondary`,weight:`medium`,className:`uppercase tracking-wider`,children:x.amountDue}),(0,h.jsx)(r,{tag:`h3`,className:c(`mt-1 text-3xl tabular-nums leading-none tracking-tight border-none pb-0`),children:v})]})]})]})}_.displayName=`InvoiceHeaderCard`;var v=e({Overdue:()=>b,Paid:()=>y});function y(){return(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(_,{invoiceNumber:`#INV-2026-0392`,status:`Paid`,statusVariant:`success`,from:{name:`Gift Come True Ltd.`,location:`New York, NY`},to:{name:`Daniel Smith`,location:`Los Angeles, USA`},issuedDate:`Mar 20, 2026`,dueDate:`Apr 20, 2026`,amount:`2,480.00 USD`})})}function b(){return(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(_,{invoiceNumber:`#INV-2026-0114`,status:`Overdue`,statusVariant:`error`,from:{name:`Gift Come True Ltd.`},to:{name:`Adventure Park Bansko`},issuedDate:`Feb 14, 2026`,dueDate:`Mar 14, 2026`,amount:`3,120.00 USD`})})}var x=`import { InvoiceHeaderCard } from '@/components/composed/data-display/invoice-header';
|
|
2
|
-
|
|
3
|
-
export function Paid() {
|
|
4
|
-
return (
|
|
5
|
-
<>
|
|
6
|
-
<InvoiceHeaderCard
|
|
7
|
-
invoiceNumber="#INV-2026-0392"
|
|
8
|
-
status="Paid"
|
|
9
|
-
statusVariant="success"
|
|
10
|
-
from={{ name: 'Gift Come True Ltd.', location: 'New York, NY' }}
|
|
11
|
-
to={{ name: 'Daniel Smith', location: 'Los Angeles, USA' }}
|
|
12
|
-
issuedDate="Mar 20, 2026"
|
|
13
|
-
dueDate="Apr 20, 2026"
|
|
14
|
-
amount="2,480.00 USD"
|
|
15
|
-
/>
|
|
16
|
-
</>
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export function Overdue() {
|
|
21
|
-
return (
|
|
22
|
-
<>
|
|
23
|
-
<InvoiceHeaderCard
|
|
24
|
-
invoiceNumber="#INV-2026-0114"
|
|
25
|
-
status="Overdue"
|
|
26
|
-
statusVariant="error"
|
|
27
|
-
from={{ name: 'Gift Come True Ltd.' }}
|
|
28
|
-
to={{ name: 'Adventure Park Bansko' }}
|
|
29
|
-
issuedDate="Feb 14, 2026"
|
|
30
|
-
dueDate="Mar 14, 2026"
|
|
31
|
-
amount="3,120.00 USD"
|
|
32
|
-
/>
|
|
33
|
-
</>
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
`;function S(e){let r={h4:`h4`,...e.components};return v||w(`Examples`,!1),b||w(`Examples.Overdue`,!0),y||w(`Examples.Paid`,!0),(0,h.jsxs)(t,{title:`Composed · Invoice header`,description:`Top of an invoice — number, status, parties, amount.`,layer:`composed`,status:`ready`,children:[(0,h.jsxs)(n,{title:`Examples`,id:`examples`,children:[(0,h.jsx)(o,{name:`Paid`,source:x,children:(0,h.jsx)(y,{})}),(0,h.jsx)(o,{name:`Overdue`,source:x,children:(0,h.jsx)(b,{})})]}),(0,h.jsxs)(n,{title:`API`,id:`api`,children:[(0,h.jsx)(r.h4,{children:`InvoiceHeaderCard`}),(0,h.jsx)(u,{component:`InvoiceHeaderCard`})]})]})}function C(e={}){let{wrapper:t}=e.components||{};return t?(0,h.jsx)(t,{...e,children:(0,h.jsx)(S,{...e})}):S(e)}function w(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{C as default};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-QTnfLwEv.js";import{Dr as t,Er as n,Rr as r,jr as i,t as a}from"./example-Cz_880po.js";import{t as o}from"./package-CjcwDJKu.js";import{n as s,s as c}from"./index-BQIv1ffM.js";import{t as l}from"./props-table-2pIZzGC-.js";import{t as u}from"./icon-badge-dwVx3Hxf.js";import{t as d}from"./separator-BsYPzBlF.js";import{t as f}from"./inline-stat-DcNP6bcO.js";import{c as p,n as m,o as h,r as g,t as _,u as v}from"./item-YF6wMI9W.js";var y=c();function b({items:e,subtotal:t,tax:n,discount:a,total:o,className:c}){return(0,y.jsxs)(`div`,{className:s(`invoice-items--component`,`w-full min-w-0 max-w-full overflow-hidden rounded-lg border border-border bg-card shadow-sm`,c),children:[(0,y.jsxs)(`div`,{className:`grid grid-cols-[1fr_72px_96px_96px] gap-3 bg-muted/40 px-4 py-3`,children:[(0,y.jsx)(r,{size:`xs`,type:`secondary`,weight:`medium`,children:`Item`}),(0,y.jsx)(r,{size:`xs`,type:`secondary`,weight:`medium`,align:`center`,children:`Qty`}),(0,y.jsx)(r,{size:`xs`,type:`secondary`,weight:`medium`,align:`right`,children:`Price`}),(0,y.jsx)(r,{size:`xs`,type:`secondary`,weight:`medium`,align:`right`,children:`Total`})]}),e.map((t,n)=>(0,y.jsxs)(`div`,{children:[(0,y.jsxs)(`div`,{className:`grid grid-cols-[1fr_72px_96px_96px] items-center gap-3 px-4 py-3`,children:[(0,y.jsxs)(`div`,{className:`flex flex-col gap-0.5`,children:[(0,y.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,y.jsx)(r,{weight:`medium`,children:t.title}),!!t.badge&&(0,y.jsx)(i,{variant:t.badgeVariant??`secondary`,children:t.badge})]}),!!t.description&&(0,y.jsx)(r,{size:`xs`,type:`secondary`,className:`line-clamp-1`,children:t.description})]}),(0,y.jsx)(r,{align:`center`,type:`secondary`,className:`tabular-nums`,children:t.quantity??1}),(0,y.jsx)(r,{align:`right`,className:`tabular-nums`,children:t.unitPrice??t.total}),(0,y.jsx)(r,{align:`right`,weight:`semibold`,className:`tabular-nums`,children:t.total})]}),n<e.length-1&&(0,y.jsx)(d,{className:`mx-4 !w-auto`})]},t.id)),!!(t||n||a||o)&&(0,y.jsxs)(`div`,{className:`space-y-2 border-t border-border bg-muted/30 px-4 py-3`,children:[!!t&&(0,y.jsx)(f,{label:`Subtotal`,value:t,mono:!0,labelClassName:`text-sm`,valueClassName:`text-sm`}),!!a&&(0,y.jsx)(f,{label:`Discount`,value:`-${a}`,mono:!0,labelClassName:`text-sm`,valueClassName:`text-sm text-success`}),!!n&&(0,y.jsx)(f,{label:`Tax`,value:n,mono:!0,labelClassName:`text-sm`,valueClassName:`text-sm`}),!!o&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(d,{}),(0,y.jsx)(f,{className:`pt-1`,label:`Total`,value:(0,y.jsx)(r,{weight:`semibold`,className:`tabular-nums`,children:o}),labelClassName:`text-sm font-semibold`})]})]})]})}function x({items:e,total:t,className:n}){return(0,y.jsxs)(`div`,{className:s(`invoice-items--component`,`w-full min-w-0 max-w-full space-y-2`,n),children:[(0,y.jsx)(h,{className:`min-w-0 max-w-full`,children:e.map(e=>(0,y.jsxs)(_,{className:`min-w-0 bg-card shadow-sm`,children:[(0,y.jsx)(p,{children:(0,y.jsx)(u,{tone:`muted`,size:`sm`,shape:`square`,children:e.icon??(0,y.jsx)(o,{})})}),(0,y.jsxs)(g,{className:`min-w-0 basis-0`,children:[(0,y.jsx)(v,{className:`w-full min-w-0 max-w-full`,children:(0,y.jsx)(`span`,{className:`block min-w-0 truncate`,children:e.title})}),!!(e.description||e.badge)&&(0,y.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1.5`,children:[!!e.badge&&(0,y.jsx)(i,{variant:e.badgeVariant??`secondary`,className:`shrink-0`,children:e.badge}),!!e.description&&(0,y.jsx)(r,{size:`xs`,type:`secondary`,className:`min-w-0 truncate`,children:e.description})]})]}),(0,y.jsxs)(m,{className:`ml-auto min-w-0 shrink-0 justify-end`,children:[!!e.quantity&&e.quantity>1&&(0,y.jsxs)(r,{size:`xs`,type:`secondary`,className:`shrink-0 tabular-nums`,children:[`x`,e.quantity]}),(0,y.jsx)(r,{weight:`semibold`,align:`right`,className:`shrink-0 tabular-nums`,children:e.total})]})]},e.id))}),!!t&&(0,y.jsx)(f,{className:`rounded-lg border border-border bg-muted/30 px-4 py-2.5`,label:`Total`,value:(0,y.jsx)(r,{weight:`semibold`,className:`tabular-nums`,children:t}),labelClassName:`text-sm font-semibold`})]})}function S({items:e,subtotal:t,tax:n,discount:a,total:c,className:l}){return(0,y.jsxs)(`div`,{className:s(`invoice-items--component`,`w-full min-w-0 max-w-full overflow-hidden rounded-lg border border-border bg-card shadow-sm`,l),children:[(0,y.jsx)(`div`,{className:`divide-y divide-border`,children:e.map(e=>(0,y.jsx)(`div`,{className:`px-4 py-3`,children:(0,y.jsxs)(`div`,{className:`flex items-start justify-between gap-4`,children:[(0,y.jsxs)(`div`,{className:`flex items-start gap-3 flex-1 min-w-0`,children:[(0,y.jsx)(`div`,{className:`mt-0.5 flex size-9 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary`,children:e.icon??(0,y.jsx)(o,{className:`size-4`})}),(0,y.jsxs)(`div`,{className:`flex-1 min-w-0 space-y-1`,children:[(0,y.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,y.jsx)(r,{weight:`semibold`,children:e.title}),!!e.badge&&(0,y.jsx)(i,{variant:e.badgeVariant??`secondary`,children:e.badge})]}),!!e.description&&(0,y.jsx)(r,{size:`xs`,type:`secondary`,className:`line-clamp-2`,children:e.description}),(0,y.jsxs)(`div`,{className:`flex items-center gap-3 pt-0.5`,children:[!!e.quantity&&(0,y.jsxs)(r,{size:`xs`,type:`discrete`,children:[`Qty: `,e.quantity]}),!!e.unitPrice&&(0,y.jsxs)(r,{size:`xs`,type:`discrete`,className:`tabular-nums`,children:[`@ `,e.unitPrice]})]})]})]}),(0,y.jsx)(`div`,{className:`flex flex-col items-end gap-1 shrink-0`,children:(0,y.jsx)(r,{weight:`semibold`,className:`tabular-nums`,children:e.total})})]})},e.id))}),!!c&&(0,y.jsx)(`div`,{className:`border-t border-border bg-muted/30 px-4 py-3`,children:(0,y.jsxs)(`div`,{className:`space-y-2`,children:[!!t&&(0,y.jsx)(f,{label:`Subtotal`,value:t,mono:!0,labelClassName:`text-sm`,valueClassName:`text-sm`}),!!a&&(0,y.jsx)(f,{label:`Discount`,value:`-${a}`,mono:!0,labelClassName:`text-sm`,valueClassName:`text-sm text-success`}),!!n&&(0,y.jsx)(f,{label:`Tax (20%)`,value:n,mono:!0,labelClassName:`text-sm`,valueClassName:`text-sm`}),(0,y.jsx)(d,{}),(0,y.jsx)(f,{className:`pt-1`,label:`Total Due`,value:(0,y.jsx)(r,{weight:`semibold`,className:`tabular-nums`,children:c}),labelClassName:`text-sm font-semibold`})]})})]})}b.displayName=`InvoiceItemsTable`,x.displayName=`InvoiceItemsCompact`,S.displayName=`InvoiceItemsDetailed`;var C=e({Compact:()=>E,Detailed:()=>D,Table:()=>T}),w=[{id:`1`,title:`Spa & Wellness Package`,description:`Full body massage — 90 min`,quantity:2,unitPrice:`120.00 USD`,total:`240.00 USD`,badge:`Premium`,badgeVariant:`primary`},{id:`2`,title:`Wine Tasting Experience`,description:`Curated selection of 6 wines`,quantity:1,unitPrice:`85.00 USD`,total:`85.00 USD`},{id:`3`,title:`Gift Wrapping Service`,quantity:1,unitPrice:`15.00 USD`,total:`15.00 USD`,badge:`Add-on`,badgeVariant:`info`}];function T(){return(0,y.jsx)(y.Fragment,{children:(0,y.jsx)(b,{items:w,subtotal:`340.00 USD`,tax:`68.00 USD`,discount:`20.00 USD`,total:`388.00 USD`})})}function E(){return(0,y.jsx)(y.Fragment,{children:(0,y.jsx)(x,{items:w,total:`340.00 USD`})})}function D(){return(0,y.jsx)(y.Fragment,{children:(0,y.jsx)(S,{items:w,subtotal:`340.00 USD`,tax:`68.00 USD`,discount:`20.00 USD`,total:`388.00 USD`})})}var O=`import {
|
|
2
|
-
InvoiceItemsTable,
|
|
3
|
-
InvoiceItemsCompact,
|
|
4
|
-
InvoiceItemsDetailed,
|
|
5
|
-
} from '@/components/composed/data-display/invoice-items';
|
|
6
|
-
|
|
7
|
-
const items = [
|
|
8
|
-
{ id: '1', title: 'Spa & Wellness Package', description: 'Full body massage — 90 min', quantity: 2, unitPrice: '120.00 USD', total: '240.00 USD', badge: 'Premium', badgeVariant: 'primary' as const },
|
|
9
|
-
{ id: '2', title: 'Wine Tasting Experience', description: 'Curated selection of 6 wines', quantity: 1, unitPrice: '85.00 USD', total: '85.00 USD' },
|
|
10
|
-
{ id: '3', title: 'Gift Wrapping Service', quantity: 1, unitPrice: '15.00 USD', total: '15.00 USD', badge: 'Add-on', badgeVariant: 'info' as const },
|
|
11
|
-
];
|
|
12
|
-
|
|
13
|
-
export function Table() {
|
|
14
|
-
return (
|
|
15
|
-
<>
|
|
16
|
-
<InvoiceItemsTable items={items} subtotal="340.00 USD" tax="68.00 USD" discount="20.00 USD" total="388.00 USD" />
|
|
17
|
-
</>
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export function Compact() {
|
|
22
|
-
return (
|
|
23
|
-
<>
|
|
24
|
-
<InvoiceItemsCompact items={items} total="340.00 USD" />
|
|
25
|
-
</>
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export function Detailed() {
|
|
30
|
-
return (
|
|
31
|
-
<>
|
|
32
|
-
<InvoiceItemsDetailed items={items} subtotal="340.00 USD" tax="68.00 USD" discount="20.00 USD" total="388.00 USD" />
|
|
33
|
-
</>
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
`;function k(e){let r={h4:`h4`,...e.components};return C||j(`Examples`,!1),E||j(`Examples.Compact`,!0),D||j(`Examples.Detailed`,!0),T||j(`Examples.Table`,!0),(0,y.jsxs)(t,{title:`Composed · Invoice items`,description:`Table, compact, detailed layouts with subtotal/tax/discount/total.`,layer:`composed`,status:`ready`,children:[(0,y.jsxs)(n,{title:`Examples`,id:`examples`,children:[(0,y.jsx)(a,{name:`Table`,source:O,children:(0,y.jsx)(T,{})}),(0,y.jsx)(a,{name:`Compact`,source:O,children:(0,y.jsx)(E,{})}),(0,y.jsx)(a,{name:`Detailed`,source:O,children:(0,y.jsx)(D,{})})]}),(0,y.jsxs)(n,{title:`API`,id:`api`,children:[(0,y.jsx)(r.h4,{children:`InvoiceItemsTable`}),(0,y.jsx)(l,{component:`InvoiceItemsTable`}),(0,y.jsx)(r.h4,{children:`InvoiceItemsCompact`}),(0,y.jsx)(l,{component:`InvoiceItemsCompact`}),(0,y.jsx)(r.h4,{children:`InvoiceItemsDetailed`}),(0,y.jsx)(l,{component:`InvoiceItemsDetailed`})]})]})}function A(e={}){let{wrapper:t}=e.components||{};return t?(0,y.jsx)(t,{...e,children:(0,y.jsx)(k,{...e})}):k(e)}function j(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{A as default};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-QTnfLwEv.js";import{Dr as t,Er as n,Rr as r,jr as i,t as a}from"./example-Cz_880po.js";import{O as o,n as s,s as c}from"./index-BQIv1ffM.js";import{t as l}from"./props-table-2pIZzGC-.js";import{t as u}from"./smart-card-Dhu_1A_u.js";var d={paid:`Paid`,pending:`Pending`,overdue:`Overdue`,items:e=>e===1?`1 line item`:`${e} line items`,due:`Due`},f={paid:`success`,pending:`warning`,overdue:`error`};d.paid,d.pending,d.overdue;var p=c();function m({invoice:e,className:t,strings:n}){let a=o(d,n),c={paid:a.paid,pending:a.pending,overdue:a.overdue};return(0,p.jsx)(u,{padding:`sm`,className:s(`invoice-mini--component min-w-0`,t),children:(0,p.jsxs)(`div`,{className:`space-y-2`,children:[(0,p.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,p.jsx)(r,{weight:`semibold`,className:`min-w-0 flex-1 truncate font-mono tracking-wide`,children:e.invoiceNumber}),(0,p.jsx)(i,{variant:f[e.status],size:`xs`,dot:!0,className:`shrink-0`,children:c[e.status]})]}),(0,p.jsx)(r,{type:`secondary`,className:`truncate`,children:e.customerName}),(0,p.jsxs)(`div`,{className:`flex flex-wrap items-end justify-between gap-x-3 gap-y-1 pt-1`,children:[(0,p.jsxs)(`div`,{className:`min-w-0 space-y-0.5`,children:[(0,p.jsx)(r,{size:`xs`,type:`secondary`,children:a.items(e.lineItemsCount)}),(0,p.jsxs)(r,{size:`xxs`,type:`discrete`,className:`whitespace-nowrap tabular-nums`,children:[a.due,` `,e.dueDate]})]}),(0,p.jsx)(r,{size:`base`,weight:`bold`,className:s(`ml-auto shrink-0 tabular-nums leading-none`),children:e.totalAmount})]})]})})}m.displayName=`InvoiceMiniCard`;var h=e({Statuses:()=>g});function g(){return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)(`div`,{className:`grid grid-cols-[repeat(auto-fit,minmax(min(13rem,100%),1fr))] gap-3`,children:[(0,p.jsx)(m,{invoice:{invoiceNumber:`INV-2026-0198`,customerName:`Spa Retreat New York`,lineItemsCount:8,totalAmount:`4,560 USD`,status:`paid`,dueDate:`Apr 5, 2026`}}),(0,p.jsx)(m,{invoice:{invoiceNumber:`INV-2026-0201`,customerName:`Adventure Park Bansko`,lineItemsCount:4,totalAmount:`2,840 USD`,status:`pending`,dueDate:`Apr 8, 2026`}}),(0,p.jsx)(m,{invoice:{invoiceNumber:`INV-2026-0195`,customerName:`Chef's Table New York`,lineItemsCount:3,totalAmount:`1,280 USD`,status:`overdue`,dueDate:`Mar 24, 2026`}})]})})}var _=`import { InvoiceMiniCard } from '@/components/composed/data-display/invoice-mini';
|
|
2
|
-
|
|
3
|
-
export function Statuses() {
|
|
4
|
-
return (
|
|
5
|
-
<>
|
|
6
|
-
<div className="grid grid-cols-[repeat(auto-fit,minmax(min(13rem,100%),1fr))] gap-3">
|
|
7
|
-
<InvoiceMiniCard invoice={{ invoiceNumber: 'INV-2026-0198', customerName: 'Spa Retreat New York', lineItemsCount: 8, totalAmount: '4,560 USD', status: 'paid', dueDate: 'Apr 5, 2026' }} />
|
|
8
|
-
<InvoiceMiniCard invoice={{ invoiceNumber: 'INV-2026-0201', customerName: 'Adventure Park Bansko', lineItemsCount: 4, totalAmount: '2,840 USD', status: 'pending', dueDate: 'Apr 8, 2026' }} />
|
|
9
|
-
<InvoiceMiniCard invoice={{ invoiceNumber: 'INV-2026-0195', customerName: "Chef's Table New York", lineItemsCount: 3, totalAmount: '1,280 USD', status: 'overdue', dueDate: 'Mar 24, 2026' }} />
|
|
10
|
-
</div>
|
|
11
|
-
</>
|
|
12
|
-
);
|
|
13
|
-
}
|
|
14
|
-
`;function v(e){let r={h4:`h4`,...e.components};return h||b(`Examples`,!1),g||b(`Examples.Statuses`,!0),(0,p.jsxs)(t,{title:`Composed · Invoice mini`,description:`Compact invoice tile — paid / pending / overdue.`,layer:`composed`,status:`ready`,children:[(0,p.jsx)(n,{title:`Examples`,id:`examples`,children:(0,p.jsx)(a,{name:`Statuses`,source:_,children:(0,p.jsx)(g,{})})}),(0,p.jsxs)(n,{title:`API`,id:`api`,children:[(0,p.jsx)(r.h4,{children:`InvoiceMiniCard`}),(0,p.jsx)(l,{component:`InvoiceMiniCard`})]})]})}function y(e={}){let{wrapper:t}=e.components||{};return t?(0,p.jsx)(t,{...e,children:(0,p.jsx)(v,{...e})}):v(e)}function b(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{y as default};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-QTnfLwEv.js";import{Dr as t,Er as n,Qr as r,Rr as i,t as a}from"./example-Cz_880po.js";import{k as o,n as s,s as c}from"./index-BQIv1ffM.js";import{t as l}from"./props-table-2pIZzGC-.js";import{t as u}from"./separator-BsYPzBlF.js";var d={subtotal:`Subtotal`,tax:`Tax`,total:`Total`},f=c(),p=`border border-border shadow-sm`,m={left:`text-left justify-start`,right:`text-right justify-end`,center:`text-center justify-center`};function h(e){return[{id:`description`,header:`Item`,width:`minmax(0,1fr)`,cell:e=>(0,f.jsx)(i,{className:`truncate`,children:e.description})},{id:`qty`,header:`Qty`,width:`36px`,align:`center`,cell:e=>(0,f.jsx)(i,{align:`center`,className:`tabular-nums`,children:e.qty})},{id:`price`,header:`Price`,width:`82px`,align:`right`,cell:t=>(0,f.jsxs)(i,{className:`tabular-nums font-mono`,children:[e,t.price.toFixed(2)]})},{id:`total`,header:`Total`,width:`82px`,align:`right`,cell:t=>(0,f.jsxs)(i,{weight:`medium`,className:`tabular-nums font-mono`,children:[e,t.total.toFixed(2)]})}]}function g(e,t,n,r){let i=e.reduce((e,t)=>e+t.total,0),a=Math.round(i*t*100)/100,o=Math.round(t*100),s=i+a,c=e=>`${n}${e.toFixed(2)}`;return[{label:r.subtotal,value:c(i)},{label:`${r.tax} (${o}%)`,value:c(a)},{label:r.total,value:c(s),emphasis:`total`}]}function _({items:e,columns:t,footerRows:n,taxRate:a=.2,currency:c,className:l,strings:_}){let v=o(d,_),{defaultCurrency:y}=r(),b=c??y??`€`,x=t??h(b),S=n??(t?[]:g(e,a,b,v)),C=x.map(e=>e.width??`1fr`).join(` `);return(0,f.jsxs)(`div`,{className:s(`invoice-table--component`,`w-full min-w-0 max-w-full overflow-hidden rounded-lg bg-card`,p,l),children:[(0,f.jsx)(`div`,{className:`grid min-w-0 gap-2 bg-muted/40 px-4 py-3`,style:{gridTemplateColumns:C},children:x.map(e=>(0,f.jsx)(`div`,{className:s(`flex min-w-0`,m[e.align??`left`],e.headerClassName),children:(0,f.jsx)(i,{size:`xs`,weight:`medium`,type:`secondary`,className:`min-w-0 truncate uppercase tracking-wider`,children:e.header})},e.id))}),e.map((e,t)=>(0,f.jsx)(`div`,{className:s(`grid min-w-0 gap-2 px-4 py-3`,t%2==1&&`bg-muted/20`),style:{gridTemplateColumns:C},children:x.map(n=>(0,f.jsx)(`div`,{className:s(`flex min-w-0 items-center`,m[n.align??`left`],n.cellClassName),children:n.cell(e,t)},n.id))},t)),S.length>0&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(u,{}),(0,f.jsx)(`div`,{className:`space-y-2 px-4 py-3`,children:S.map((e,t)=>(0,f.jsxs)(`div`,{className:s(`flex justify-between`,e.emphasis===`total`&&`pt-2`),children:[(0,f.jsx)(i,{type:e.emphasis===`total`?void 0:`secondary`,weight:e.emphasis===`total`?`bold`:`regular`,children:e.label}),(0,f.jsx)(i,{weight:e.emphasis===`total`?`bold`:`regular`,className:`tabular-nums font-mono`,children:e.value})]},t))})]})]})}_.displayName=`InvoiceTable`;var v=e({Default:()=>y,WithTaxRate:()=>b});function y(){return(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(_,{items:[{description:`Wine Tasting x 2`,qty:2,price:185,total:370},{description:`Luxury Spa Package`,qty:1,price:420,total:420},{description:`Gift Basket (Large)`,qty:3,price:94,total:282}]})})}function b(){return(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(_,{taxRate:20,items:[{description:`Hot Air Balloon`,qty:1,price:580,total:580},{description:`Photo Tour`,qty:2,price:120,total:240}]})})}var x=`import { InvoiceTable } from '@/components/composed/data-display/invoice-table';
|
|
2
|
-
|
|
3
|
-
export function Default() {
|
|
4
|
-
return (
|
|
5
|
-
<>
|
|
6
|
-
<InvoiceTable
|
|
7
|
-
items={[
|
|
8
|
-
{ description: 'Wine Tasting x 2', qty: 2, price: 185, total: 370 },
|
|
9
|
-
{ description: 'Luxury Spa Package', qty: 1, price: 420, total: 420 },
|
|
10
|
-
{ description: 'Gift Basket (Large)', qty: 3, price: 94, total: 282 },
|
|
11
|
-
]}
|
|
12
|
-
/>
|
|
13
|
-
</>
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export function WithTaxRate() {
|
|
18
|
-
return (
|
|
19
|
-
<>
|
|
20
|
-
<InvoiceTable
|
|
21
|
-
taxRate={20}
|
|
22
|
-
items={[
|
|
23
|
-
{ description: 'Hot Air Balloon', qty: 1, price: 580, total: 580 },
|
|
24
|
-
{ description: 'Photo Tour', qty: 2, price: 120, total: 240 },
|
|
25
|
-
]}
|
|
26
|
-
/>
|
|
27
|
-
</>
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
`;function S(e){let r={h4:`h4`,...e.components};return v||w(`Examples`,!1),y||w(`Examples.Default`,!0),b||w(`Examples.WithTaxRate`,!0),(0,f.jsxs)(t,{title:`Composed · Invoice table`,description:`Line items with qty / price / total.`,layer:`composed`,status:`ready`,children:[(0,f.jsxs)(n,{title:`Examples`,id:`examples`,children:[(0,f.jsx)(a,{name:`Default`,source:x,children:(0,f.jsx)(y,{})}),(0,f.jsx)(a,{name:`WithTaxRate`,source:x,children:(0,f.jsx)(b,{})})]}),(0,f.jsxs)(n,{title:`API`,id:`api`,children:[(0,f.jsx)(r.h4,{children:`InvoiceTable`}),(0,f.jsx)(l,{component:`InvoiceTable`})]})]})}function C(e={}){let{wrapper:t}=e.components||{};return t?(0,f.jsx)(t,{...e,children:(0,f.jsx)(S,{...e})}):S(e)}function w(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{C as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./startOfDay-CtTeiGV0.js";import{S as t,v as n,x as r}from"./index-BQIv1ffM.js";function i(e,n,i){let a=r(e,i?.in);return isNaN(n)?t(i?.in||e,NaN):(n&&a.setDate(a.getDate()+n),a)}function a(t,r,i){let[a,o]=n(i?.in,t,r);return+e(a)==+e(o)}export{i as n,a as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./isSameDay-B2KDl_YX.js";import{S as t,_ as n}from"./index-BQIv1ffM.js";function r(r,i){return e(t(i?.in||r,r),n(i?.in||r))}export{r as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./index-BQIv1ffM.js";var t=e(`bold`,[[`path`,{d:`M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8`,key:`mg9rjx`}]]),n=e(`italic`,[[`line`,{x1:`19`,x2:`10`,y1:`4`,y2:`4`,key:`15jd3p`}],[`line`,{x1:`14`,x2:`5`,y1:`20`,y2:`20`,key:`bu0au3`}],[`line`,{x1:`15`,x2:`9`,y1:`4`,y2:`20`,key:`uljnxc`}]]);export{t as n,n as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-QTnfLwEv.js";import{n as e}from"./react-dom-Bz4cALsF.js";import{Nr as t,pr as n}from"./example-Cz_880po.js";import{n as r,s as i}from"./index-BQIv1ffM.js";import{t as a}from"./separator-BsYPzBlF.js";import{t as o}from"./useRender-B9zzqKA1.js";e();var s=i();function c({className:e,...t}){return(0,s.jsx)(`div`,{role:`list`,"data-slot":`item-group`,className:r(`group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2`,e),...t})}function l({className:e,...t}){return(0,s.jsx)(a,{"data-slot":`item-separator`,orientation:`horizontal`,className:r(`my-2`,e),...t})}var u=t(`group/item flex w-full flex-wrap items-center rounded-2xl border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted`,{variants:{variant:{default:`border-transparent`,outline:`border-border`,muted:`border-transparent bg-muted/50`},size:{default:`gap-3.5 px-4 py-3.5`,sm:`gap-3.5 px-3.5 py-3`,xs:`gap-2.5 px-3 py-2.5 in-data-[slot=dropdown-menu-content]:p-0`}},defaultVariants:{variant:`default`,size:`default`}});function d({className:e,variant:t=`default`,size:i=`default`,render:a,...s}){return o({defaultTagName:`div`,props:n({className:r(u({variant:t,size:i,className:e}))},s),render:a,state:{slot:`item`,variant:t,size:i}})}var f=t(`flex shrink-0 items-center justify-center gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none`,{variants:{variant:{default:`bg-transparent`,icon:`[&_svg:not([class*='size-'])]:size-4`,image:`size-10 overflow-hidden rounded-xl group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 group-data-[size=xs]/item:rounded-lg [&_img]:size-full [&_img]:object-cover`}},defaultVariants:{variant:`default`}});function p({className:e,variant:t=`default`,...n}){return(0,s.jsx)(`div`,{"data-slot":`item-media`,"data-variant":t,className:r(f({variant:t,className:e})),...n})}function m({className:e,...t}){return(0,s.jsx)(`div`,{"data-slot":`item-content`,className:r(`flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0.5 [&+[data-slot=item-content]]:flex-none`,e),...t})}function h({className:e,...t}){return(0,s.jsx)(`div`,{"data-slot":`item-title`,className:r(`line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4`,e),...t})}function g({className:e,...t}){return(0,s.jsx)(`p`,{"data-slot":`item-description`,className:r(`line-clamp-2 text-left text-sm font-normal text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary`,e),...t})}function _({className:e,...t}){return(0,s.jsx)(`div`,{"data-slot":`item-actions`,className:r(`flex items-center gap-2`,e),...t})}function v({className:e,...t}){return(0,s.jsx)(`div`,{"data-slot":`item-header`,className:r(`flex basis-full items-center justify-between gap-2`,e),...t})}function y({className:e,...t}){return(0,s.jsx)(`div`,{"data-slot":`item-footer`,className:r(`flex basis-full items-center justify-between gap-2`,e),...t})}export{y as a,p as c,g as i,l,_ as n,c as o,m as r,v as s,d as t,h as u};
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-QTnfLwEv.js";import{Dr as t,Er as n,jr as r,r as i,t as a}from"./example-Cz_880po.js";import{t as o}from"./bell-C80n9VRl.js";import{t as s}from"./house-C3fXPhlL.js";import{t as c}from"./mail-AES_tOd2.js";import{t as l}from"./settings-DRmWJILI.js";import{s as u}from"./index-BQIv1ffM.js";import{t as d}from"./props-table-2pIZzGC-.js";import{t as f}from"./switch-xzxCDtyg.js";import{c as p,i as m,l as h,n as g,o as _,r as v,t as y,u as b}from"./item-YF6wMI9W.js";var x=e({Basic:()=>C,PolymorphicLink:()=>T,Variants:()=>w}),S=u();function C(){return(0,S.jsxs)(_,{children:[(0,S.jsxs)(y,{children:[(0,S.jsx)(p,{variant:`icon`,children:(0,S.jsx)(c,{})}),(0,S.jsxs)(v,{children:[(0,S.jsx)(b,{children:`kira@example.com`}),(0,S.jsx)(m,{children:`Primary contact email`})]}),(0,S.jsx)(g,{children:(0,S.jsx)(i,{buttonStyle:`ghost`,variant:`secondary`,children:`Copy`})})]}),(0,S.jsx)(h,{}),(0,S.jsxs)(y,{children:[(0,S.jsx)(p,{variant:`icon`,children:(0,S.jsx)(o,{})}),(0,S.jsxs)(v,{children:[(0,S.jsx)(b,{children:`Notifications`}),(0,S.jsx)(m,{children:`Receive email + in-app alerts`})]}),(0,S.jsx)(g,{children:(0,S.jsx)(f,{checked:!0,"aria-label":`Email and app notifications`})})]})]})}function w(){return(0,S.jsxs)(_,{children:[(0,S.jsxs)(y,{variant:`default`,children:[(0,S.jsx)(p,{variant:`icon`,children:(0,S.jsx)(s,{})}),(0,S.jsxs)(v,{children:[(0,S.jsx)(b,{children:`Default`}),(0,S.jsx)(m,{children:`No border, transparent background.`})]})]}),(0,S.jsxs)(y,{variant:`outline`,children:[(0,S.jsx)(p,{variant:`icon`,children:(0,S.jsx)(l,{})}),(0,S.jsxs)(v,{children:[(0,S.jsx)(b,{children:`Outline`}),(0,S.jsx)(m,{children:`Border + transparent background.`})]}),(0,S.jsx)(g,{children:(0,S.jsx)(r,{variant:`success`,children:`Active`})})]}),(0,S.jsxs)(y,{variant:`muted`,children:[(0,S.jsx)(p,{variant:`icon`,children:(0,S.jsx)(o,{})}),(0,S.jsxs)(v,{children:[(0,S.jsx)(b,{children:`Muted`}),(0,S.jsx)(m,{children:`Muted background — for inset lists.`})]})]})]})}function T(){return(0,S.jsxs)(_,{children:[(0,S.jsxs)(y,{render:(0,S.jsx)(`a`,{href:`#`,onClick:e=>e.preventDefault()}),children:[(0,S.jsx)(p,{variant:`icon`,children:(0,S.jsx)(s,{})}),(0,S.jsxs)(v,{children:[(0,S.jsx)(b,{children:`Dashboard`}),(0,S.jsx)(m,{children:`Overview of your workspace and activity.`})]})]}),(0,S.jsxs)(y,{render:(0,S.jsx)(`a`,{href:`#`,onClick:e=>e.preventDefault()}),children:[(0,S.jsx)(p,{variant:`icon`,children:(0,S.jsx)(l,{})}),(0,S.jsxs)(v,{children:[(0,S.jsx)(b,{children:`Settings`}),(0,S.jsx)(m,{children:`Account, billing, notification preferences.`})]})]})]})}var E=`import { Bell, Home, Mail, Settings } from 'lucide-react';
|
|
2
|
-
|
|
3
|
-
import { Badge } from '@/components/base/badge';
|
|
4
|
-
import { Button } from '@/components/base/buttons';
|
|
5
|
-
import {
|
|
6
|
-
Item,
|
|
7
|
-
ItemActions,
|
|
8
|
-
ItemContent,
|
|
9
|
-
ItemDescription,
|
|
10
|
-
ItemGroup,
|
|
11
|
-
ItemMedia,
|
|
12
|
-
ItemSeparator,
|
|
13
|
-
ItemTitle,
|
|
14
|
-
} from '@/components/base/item';
|
|
15
|
-
import { Switch } from '@/components/base/forms/fields/switch';
|
|
16
|
-
|
|
17
|
-
export function Basic() {
|
|
18
|
-
return (
|
|
19
|
-
<ItemGroup>
|
|
20
|
-
<Item>
|
|
21
|
-
<ItemMedia variant="icon">
|
|
22
|
-
<Mail />
|
|
23
|
-
</ItemMedia>
|
|
24
|
-
<ItemContent>
|
|
25
|
-
<ItemTitle>kira@example.com</ItemTitle>
|
|
26
|
-
<ItemDescription>Primary contact email</ItemDescription>
|
|
27
|
-
</ItemContent>
|
|
28
|
-
<ItemActions>
|
|
29
|
-
<Button buttonStyle="ghost" variant="secondary">
|
|
30
|
-
Copy
|
|
31
|
-
</Button>
|
|
32
|
-
</ItemActions>
|
|
33
|
-
</Item>
|
|
34
|
-
<ItemSeparator />
|
|
35
|
-
<Item>
|
|
36
|
-
<ItemMedia variant="icon">
|
|
37
|
-
<Bell />
|
|
38
|
-
</ItemMedia>
|
|
39
|
-
<ItemContent>
|
|
40
|
-
<ItemTitle>Notifications</ItemTitle>
|
|
41
|
-
<ItemDescription>Receive email + in-app alerts</ItemDescription>
|
|
42
|
-
</ItemContent>
|
|
43
|
-
<ItemActions>
|
|
44
|
-
<Switch checked aria-label="Email and app notifications" />
|
|
45
|
-
</ItemActions>
|
|
46
|
-
</Item>
|
|
47
|
-
</ItemGroup>
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function Variants() {
|
|
52
|
-
return (
|
|
53
|
-
<ItemGroup>
|
|
54
|
-
<Item variant="default">
|
|
55
|
-
<ItemMedia variant="icon">
|
|
56
|
-
<Home />
|
|
57
|
-
</ItemMedia>
|
|
58
|
-
<ItemContent>
|
|
59
|
-
<ItemTitle>Default</ItemTitle>
|
|
60
|
-
<ItemDescription>No border, transparent background.</ItemDescription>
|
|
61
|
-
</ItemContent>
|
|
62
|
-
</Item>
|
|
63
|
-
<Item variant="outline">
|
|
64
|
-
<ItemMedia variant="icon">
|
|
65
|
-
<Settings />
|
|
66
|
-
</ItemMedia>
|
|
67
|
-
<ItemContent>
|
|
68
|
-
<ItemTitle>Outline</ItemTitle>
|
|
69
|
-
<ItemDescription>Border + transparent background.</ItemDescription>
|
|
70
|
-
</ItemContent>
|
|
71
|
-
<ItemActions>
|
|
72
|
-
<Badge variant="success">Active</Badge>
|
|
73
|
-
</ItemActions>
|
|
74
|
-
</Item>
|
|
75
|
-
<Item variant="muted">
|
|
76
|
-
<ItemMedia variant="icon">
|
|
77
|
-
<Bell />
|
|
78
|
-
</ItemMedia>
|
|
79
|
-
<ItemContent>
|
|
80
|
-
<ItemTitle>Muted</ItemTitle>
|
|
81
|
-
<ItemDescription>Muted background — for inset lists.</ItemDescription>
|
|
82
|
-
</ItemContent>
|
|
83
|
-
</Item>
|
|
84
|
-
</ItemGroup>
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export function PolymorphicLink() {
|
|
89
|
-
return (
|
|
90
|
-
<ItemGroup>
|
|
91
|
-
<Item render={<a href="#" onClick={(e) => e.preventDefault()} />}>
|
|
92
|
-
<ItemMedia variant="icon">
|
|
93
|
-
<Home />
|
|
94
|
-
</ItemMedia>
|
|
95
|
-
<ItemContent>
|
|
96
|
-
<ItemTitle>Dashboard</ItemTitle>
|
|
97
|
-
<ItemDescription>Overview of your workspace and activity.</ItemDescription>
|
|
98
|
-
</ItemContent>
|
|
99
|
-
</Item>
|
|
100
|
-
<Item render={<a href="#" onClick={(e) => e.preventDefault()} />}>
|
|
101
|
-
<ItemMedia variant="icon">
|
|
102
|
-
<Settings />
|
|
103
|
-
</ItemMedia>
|
|
104
|
-
<ItemContent>
|
|
105
|
-
<ItemTitle>Settings</ItemTitle>
|
|
106
|
-
<ItemDescription>Account, billing, notification preferences.</ItemDescription>
|
|
107
|
-
</ItemContent>
|
|
108
|
-
</Item>
|
|
109
|
-
</ItemGroup>
|
|
110
|
-
);
|
|
111
|
-
}
|
|
112
|
-
`;function D(e){let r={code:`code`,p:`p`,pre:`pre`,...e.components};return x||k(`Examples`,!1),C||k(`Examples.Basic`,!0),T||k(`Examples.PolymorphicLink`,!0),w||k(`Examples.Variants`,!0),(0,S.jsxs)(t,{title:`Item`,description:`Canonical row primitive — icon/avatar/image media, title + description content, optional actions. Use ItemGroup to compose lists.`,layer:`base`,status:`ready`,sourcePath:`src/components/base/item`,children:[(0,S.jsxs)(n,{title:`Overview`,id:`overview`,children:[(0,S.jsxs)(r.p,{children:[(0,S.jsx)(r.code,{children:`Item`}),` is the row primitive used everywhere a "media + title-stack + actions"
|
|
113
|
-
shape recurs — admin rows, contact details, search results, settings toggles,
|
|
114
|
-
dropdown menus. Compose `,(0,S.jsx)(r.code,{children:`ItemMedia`}),`, `,(0,S.jsx)(r.code,{children:`ItemContent`}),` (with `,(0,S.jsx)(r.code,{children:`ItemTitle`}),` and
|
|
115
|
-
`,(0,S.jsx)(r.code,{children:`ItemDescription`}),`), and `,(0,S.jsx)(r.code,{children:`ItemActions`}),` inside an `,(0,S.jsx)(r.code,{children:`Item`}),`. Wrap multiple rows in
|
|
116
|
-
`,(0,S.jsx)(r.code,{children:`ItemGroup`}),` (with optional `,(0,S.jsx)(r.code,{children:`ItemSeparator`}),`s between them) for a list.`]}),(0,S.jsxs)(r.p,{children:[`The `,(0,S.jsx)(r.code,{children:`render`}),` prop turns any `,(0,S.jsx)(r.code,{children:`Item`}),` into a custom element (anchor, button, link
|
|
117
|
-
wrapper) without breaking focus/hover styling.`]})]}),(0,S.jsxs)(n,{title:`Consumer usage`,id:`usage`,children:[(0,S.jsx)(r.p,{children:`Consumers import the row primitive from the exact package entrypoint:`}),(0,S.jsx)(r.pre,{children:(0,S.jsx)(r.code,{className:`language-tsx`,children:`import {
|
|
118
|
-
Item,
|
|
119
|
-
ItemActions,
|
|
120
|
-
ItemContent,
|
|
121
|
-
ItemDescription,
|
|
122
|
-
ItemGroup,
|
|
123
|
-
ItemMedia,
|
|
124
|
-
ItemTitle,
|
|
125
|
-
} from 'admin-ui-starter-kit/base/item';
|
|
126
|
-
`})}),(0,S.jsxs)(r.p,{children:[`Promote `,(0,S.jsx)(r.code,{children:`Item`}),` first whenever the row has its own identity: navigation rows,
|
|
127
|
-
settings rows, search results, contact methods, activity rows, menu options, or
|
|
128
|
-
any media + title + description + actions shape. `,(0,S.jsx)(r.code,{children:`ItemTitle`}),` and
|
|
129
|
-
`,(0,S.jsx)(r.code,{children:`ItemDescription`}),` already route through the typography layer, so consumers do
|
|
130
|
-
not need local text utility classes for the row stack.`]}),(0,S.jsxs)(r.p,{children:[`Use `,(0,S.jsx)(r.code,{children:`MetadataList`}),` instead when the rows are label/value facts describing one
|
|
131
|
-
entity, such as invoice totals, SKU attributes, contact metadata, or account
|
|
132
|
-
properties. Use `,(0,S.jsx)(r.code,{children:`FormField`}),` when the row contains a form control. If each row
|
|
133
|
-
can be clicked, selected, toggled, or acted on independently, it is probably an
|
|
134
|
-
`,(0,S.jsx)(r.code,{children:`Item`}),`.`]})]}),(0,S.jsxs)(n,{title:`Examples`,id:`examples`,children:[(0,S.jsx)(a,{name:`Basic`,source:E,children:(0,S.jsx)(C,{})}),(0,S.jsx)(a,{name:`Variants`,source:E,children:(0,S.jsx)(w,{})}),(0,S.jsx)(a,{name:`PolymorphicLink`,source:E,children:(0,S.jsx)(T,{})})]}),(0,S.jsx)(n,{title:`API`,id:`api`,children:(0,S.jsx)(d,{component:`Item`})})]})}function O(e={}){let{wrapper:t}=e.components||{};return t?(0,S.jsx)(t,{...e,children:(0,S.jsx)(D,{...e})}):D(e)}function k(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{O as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./chunk-QTnfLwEv.js";import{n as t}from"./react-dom-Bz4cALsF.js";import{Rr as n,Xr as r}from"./example-Cz_880po.js";import{n as i,s as a}from"./index-BQIv1ffM.js";import{a as o,c as s,i as c,l,n as u,o as d,r as f,s as p,t as m,u as h}from"./item--6Hx9AXZ.js";var g=e(t(),1),_=a(),v=(0,g.forwardRef)(function({size:e,variant:t,render:n,className:a,...o},s){let{defaultSize:c=`sm`,defaultVariant:l=`default`}=r(),u=e??c,d=t??l;return(0,_.jsx)(m,{ref:s,size:u,variant:d,render:n,className:i(`item--component rounded-lg py-1`,d==="default"&&`px-0`,a),...o})});v.displayName=`Item`;var y=(0,g.forwardRef)(function({className:e,role:t,...n},r){return(0,_.jsx)(d,{ref:r,role:t,className:i(`gap-1.5 has-data-[size=sm]:gap-1.5 has-data-[size=xs]:gap-1.5`,e),...n})});y.displayName=`ItemGroup`;var b=(0,g.forwardRef)(function(e,t){return(0,_.jsx)(l,{ref:t,...e})});b.displayName=`ItemSeparator`;var x=(0,g.forwardRef)(function({variant:e=`default`,className:t,...n},r){return(0,_.jsx)(s,{ref:r,variant:e===`avatar`?`image`:e,className:i(e===`avatar`?`rounded-full group-data-[size=sm]/item:rounded-full group-data-[size=xs]/item:rounded-full`:void 0,t),...n})});x.displayName=`ItemMedia`;var S=(0,g.forwardRef)(function({className:e,...t},n){return(0,_.jsx)(f,{ref:n,className:e,...t})});S.displayName=`ItemContent`;var C=(0,g.forwardRef)(function({className:e,...t},n){return(0,_.jsx)(u,{ref:n,className:e,...t})});C.displayName=`ItemActions`;var w=(0,g.forwardRef)(function({className:e,...t},n){return(0,_.jsx)(p,{ref:n,className:e,...t})});w.displayName=`ItemHeader`;var T=(0,g.forwardRef)(function({className:e,...t},n){return(0,_.jsx)(o,{ref:n,className:e,...t})});T.displayName=`ItemFooter`;var E=(0,g.forwardRef)(function({bold:e=!0,className:t,children:r,...a},o){return(0,_.jsx)(h,{ref:o,className:i(`m-0 [&>p]:m-0 [&>p]:text-left`,t),...a,children:(0,_.jsx)(n,{tag:`span`,weight:e?`semibold`:`regular`,className:`leading-snug`,children:r})})});E.displayName=`ItemTitle`;var D={1:`line-clamp-1`,2:`line-clamp-2`,3:`line-clamp-3`,4:`line-clamp-4`,none:`line-clamp-none`},O=(0,g.forwardRef)(function({clamp:e=2,className:t,children:n,...r},a){return(0,_.jsx)(c,{ref:a,className:i(`text-muted-foreground text-xs leading-normal`,D[e],t),...r,children:n})});O.displayName=`ItemDescription`;export{T as a,x as c,O as i,b as l,C as n,y as o,S as r,w as s,v as t,E as u};
|