admin-ui-starter-kit 0.6.6 → 0.6.7
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/component-library-rules/references/components/base__cards.md +4 -4
- package/.agents/skills/component-library-rules/references/components/base__carousel.md +4 -4
- package/.agents/skills/component-library-rules/references/components/base__combobox.md +1 -1
- package/.agents/skills/component-library-rules/references/components/base__css-variables.md +2 -1
- package/.agents/skills/component-library-rules/references/components/base__event-calendar.md +1 -1
- package/.agents/skills/component-library-rules/references/components/base__typography.md +1 -1
- package/.agents/skills/component-library-rules/references/components/composed__metadata-list.md +3 -3
- package/.agents/skills/component-library-rules/references/components/features__activities.md +1 -1
- package/.agents/skills/component-library-rules/references/components/features__enhanced-activities.md +6 -6
- package/.agents/skills/component-library-rules/references/components/features__metrics-overview.md +3 -3
- package/.agents/skills/component-library-rules/references/components/features__overlays.md +2 -2
- package/.agents/skills/component-library-rules/references/components/features__products.md +1 -1
- package/.agents/skills/component-library-rules/references/components/layout__layout-app-shell.md +1 -1
- package/.agents/skills/component-library-rules/references/components/layout__layout-containers.md +1 -1
- package/.agents/skills/component-library-rules/references/components/layout__layout-sidebar.md +2 -2
- package/dist/_shared/accordion-CxjH2WZG.js +135 -0
- package/dist/_shared/accordion-CxjH2WZG.js.map +1 -0
- package/dist/_shared/accordion-mTdJmy23.cjs +2 -0
- package/dist/_shared/accordion-mTdJmy23.cjs.map +1 -0
- package/dist/_shared/ai-artifact-CS2Pv-bu.js +1099 -0
- package/dist/_shared/ai-artifact-CS2Pv-bu.js.map +1 -0
- package/dist/_shared/ai-artifact-R4bxz5Iq.cjs +3 -0
- package/dist/_shared/ai-artifact-R4bxz5Iq.cjs.map +1 -0
- package/dist/_shared/alert-BisCSsOE.cjs +2 -0
- package/dist/_shared/alert-BisCSsOE.cjs.map +1 -0
- package/dist/_shared/alert-D23Q7I0W.js +81 -0
- package/dist/_shared/alert-D23Q7I0W.js.map +1 -0
- package/dist/_shared/auth-BV9Daibu.cjs +2 -0
- package/dist/_shared/auth-BV9Daibu.cjs.map +1 -0
- package/dist/_shared/auth-DACpcTnL.js +643 -0
- package/dist/_shared/auth-DACpcTnL.js.map +1 -0
- package/dist/_shared/badge-B4oBB5BJ.js +110 -0
- package/dist/_shared/badge-B4oBB5BJ.js.map +1 -0
- package/dist/_shared/badge-DvUA9Pr2.cjs +2 -0
- package/dist/_shared/badge-DvUA9Pr2.cjs.map +1 -0
- package/dist/_shared/card-radio-group-BL--IyPB.js +150 -0
- package/dist/_shared/card-radio-group-BL--IyPB.js.map +1 -0
- package/dist/_shared/card-radio-group-Cl5ptR1d.cjs +2 -0
- package/dist/_shared/card-radio-group-Cl5ptR1d.cjs.map +1 -0
- package/dist/_shared/cards-CMNXFo3Y.js +354 -0
- package/dist/_shared/cards-CMNXFo3Y.js.map +1 -0
- package/dist/_shared/cards-DQN9fcwo.cjs +2 -0
- package/dist/_shared/cards-DQN9fcwo.cjs.map +1 -0
- package/dist/_shared/combobox-D0avSXIB.cjs +2 -0
- package/dist/_shared/combobox-D0avSXIB.cjs.map +1 -0
- package/dist/_shared/combobox-Df0srISK.js +954 -0
- package/dist/_shared/combobox-Df0srISK.js.map +1 -0
- package/dist/_shared/command-B5BpMgBT.js +39 -0
- package/dist/_shared/command-B5BpMgBT.js.map +1 -0
- package/dist/_shared/command-en62SpQ7.cjs +2 -0
- package/dist/_shared/command-en62SpQ7.cjs.map +1 -0
- package/dist/_shared/comments-CfkortDW.js +952 -0
- package/dist/_shared/comments-CfkortDW.js.map +1 -0
- package/dist/_shared/comments-yVd7QMOu.cjs +2 -0
- package/dist/_shared/comments-yVd7QMOu.cjs.map +1 -0
- package/dist/_shared/copyable-Cn7tRGL5.js +38 -0
- package/dist/_shared/copyable-Cn7tRGL5.js.map +1 -0
- package/dist/_shared/copyable-CoKTxMSP.cjs +2 -0
- package/dist/_shared/copyable-CoKTxMSP.cjs.map +1 -0
- package/dist/_shared/data-display-BG7CD164.js +1873 -0
- package/dist/_shared/data-display-BG7CD164.js.map +1 -0
- package/dist/_shared/data-display-CXVoX3la.cjs +2 -0
- package/dist/_shared/data-display-CXVoX3la.cjs.map +1 -0
- package/dist/_shared/date-picker-Bf-nnyi-.js +1361 -0
- package/dist/_shared/date-picker-Bf-nnyi-.js.map +1 -0
- package/dist/_shared/date-picker-Cox4PAUt.cjs +2 -0
- package/dist/_shared/date-picker-Cox4PAUt.cjs.map +1 -0
- package/dist/_shared/date-pickers-DbN4q0dn.cjs +2 -0
- package/dist/_shared/date-pickers-DbN4q0dn.cjs.map +1 -0
- package/dist/_shared/date-pickers-DvrOCP-s.js +329 -0
- package/dist/_shared/date-pickers-DvrOCP-s.js.map +1 -0
- package/dist/_shared/display-BQijMo37.js +986 -0
- package/dist/_shared/display-BQijMo37.js.map +1 -0
- package/dist/_shared/display-C0ut-Lew.cjs +2 -0
- package/dist/_shared/display-C0ut-Lew.cjs.map +1 -0
- package/dist/_shared/forms-BjG7QIb1.cjs +2 -0
- package/dist/_shared/forms-BjG7QIb1.cjs.map +1 -0
- package/dist/_shared/forms-DljDdyXR.js +3533 -0
- package/dist/_shared/forms-DljDdyXR.js.map +1 -0
- package/dist/_shared/header-BpFJRINR.cjs +2 -0
- package/dist/_shared/header-BpFJRINR.cjs.map +1 -0
- package/dist/_shared/header-CKqQF4_r.js +447 -0
- package/dist/_shared/header-CKqQF4_r.js.map +1 -0
- package/dist/_shared/hooks-DcCkbP1F.js +95 -0
- package/dist/_shared/hooks-DcCkbP1F.js.map +1 -0
- package/dist/_shared/hooks-RkLytuGj.cjs +2 -0
- package/dist/_shared/hooks-RkLytuGj.cjs.map +1 -0
- package/dist/_shared/input-Cin0qpjj.js +182 -0
- package/dist/_shared/input-Cin0qpjj.js.map +1 -0
- package/dist/_shared/input-uuWeiagN.cjs +2 -0
- package/dist/_shared/input-uuWeiagN.cjs.map +1 -0
- package/dist/_shared/item-CIlSaQg8.js +226 -0
- package/dist/_shared/item-CIlSaQg8.js.map +1 -0
- package/dist/_shared/item-CSk9Y2qB.cjs +2 -0
- package/dist/_shared/item-CSk9Y2qB.cjs.map +1 -0
- package/dist/_shared/layout-Cun0HPL4.cjs +2 -0
- package/dist/_shared/layout-Cun0HPL4.cjs.map +1 -0
- package/dist/_shared/layout-HrU5gwH3.js +261 -0
- package/dist/_shared/layout-HrU5gwH3.js.map +1 -0
- package/dist/_shared/mentions-BqN82Fon.cjs +2 -0
- package/dist/_shared/mentions-BqN82Fon.cjs.map +1 -0
- package/dist/_shared/mentions-DV0FT1Th.js +506 -0
- package/dist/_shared/mentions-DV0FT1Th.js.map +1 -0
- package/dist/_shared/money-display-D5FCRhzB.cjs +2 -0
- package/dist/_shared/money-display-D5FCRhzB.cjs.map +1 -0
- package/dist/_shared/money-display-FcCAQDCz.js +198 -0
- package/dist/_shared/money-display-FcCAQDCz.js.map +1 -0
- package/dist/_shared/navigation-CI_Dd8jM.js +436 -0
- package/dist/_shared/navigation-CI_Dd8jM.js.map +1 -0
- package/dist/_shared/navigation-DUGhCPzJ.cjs +2 -0
- package/dist/_shared/navigation-DUGhCPzJ.cjs.map +1 -0
- package/dist/_shared/overlays-BRLemLSn.cjs +2 -0
- package/dist/_shared/overlays-BRLemLSn.cjs.map +1 -0
- package/dist/_shared/overlays-Bef7VNYY.js +735 -0
- package/dist/_shared/overlays-Bef7VNYY.js.map +1 -0
- package/dist/_shared/popover-menu-CAjhhTfX.js +93 -0
- package/dist/_shared/popover-menu-CAjhhTfX.js.map +1 -0
- package/dist/_shared/popover-menu-DlkRgOkR.cjs +2 -0
- package/dist/_shared/popover-menu-DlkRgOkR.cjs.map +1 -0
- package/dist/_shared/rich-text-editor-Bpt3r3J3.js +620 -0
- package/dist/_shared/rich-text-editor-Bpt3r3J3.js.map +1 -0
- package/dist/_shared/rich-text-editor-DUTX7kBa.cjs +2 -0
- package/dist/_shared/rich-text-editor-DUTX7kBa.cjs.map +1 -0
- package/dist/_shared/settings-CNT4-6u8.cjs +2 -0
- package/dist/_shared/settings-CNT4-6u8.cjs.map +1 -0
- package/dist/_shared/settings-CRP6409J.js +143 -0
- package/dist/_shared/settings-CRP6409J.js.map +1 -0
- package/dist/_shared/sidebar-B0LcBrfI.cjs +2 -0
- package/dist/_shared/sidebar-B0LcBrfI.cjs.map +1 -0
- package/dist/_shared/sidebar-Bc6JsOTD.js +548 -0
- package/dist/_shared/sidebar-Bc6JsOTD.js.map +1 -0
- package/dist/_shared/spinner-CVG62sGs.js +67 -0
- package/dist/_shared/spinner-CVG62sGs.js.map +1 -0
- package/dist/_shared/spinner-VjdonFU2.cjs +2 -0
- package/dist/_shared/spinner-VjdonFU2.cjs.map +1 -0
- package/dist/_shared/table-_yujELN3.js +1377 -0
- package/dist/_shared/table-_yujELN3.js.map +1 -0
- package/dist/_shared/table-iV8H1AE0.cjs +2 -0
- package/dist/_shared/table-iV8H1AE0.cjs.map +1 -0
- package/dist/_shared/textarea-B4zbbqff.cjs +2 -0
- package/dist/_shared/textarea-B4zbbqff.cjs.map +1 -0
- package/dist/_shared/textarea-Dp0RU-rc.js +118 -0
- package/dist/_shared/textarea-Dp0RU-rc.js.map +1 -0
- package/dist/_shared/typography-DXvCmE8w.js +201 -0
- package/dist/_shared/typography-DXvCmE8w.js.map +1 -0
- package/dist/_shared/typography-pzCKaFOc.cjs +2 -0
- package/dist/_shared/typography-pzCKaFOc.cjs.map +1 -0
- package/dist/_shared/workspace-C3U57t2a.cjs +2 -0
- package/dist/_shared/workspace-C3U57t2a.cjs.map +1 -0
- package/dist/_shared/workspace-Db--ow3r.js +357 -0
- package/dist/_shared/workspace-Db--ow3r.js.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/cards/index.cjs +1 -1
- package/dist/components/base/cards/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/command/index.cjs +1 -1
- package/dist/components/base/command/index.js +1 -1
- package/dist/components/base/copyable/index.cjs +1 -1
- package/dist/components/base/copyable/index.js +1 -1
- package/dist/components/base/currency/index.cjs +1 -1
- package/dist/components/base/currency/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/chart.cjs +1 -1
- package/dist/components/base/display/chart.js +1 -1
- package/dist/components/base/display/index.cjs +1 -1
- package/dist/components/base/display/index.js +3 -3
- package/dist/components/base/event-calendar/index.cjs +1 -1
- package/dist/components/base/event-calendar/index.cjs.map +1 -1
- package/dist/components/base/event-calendar/index.js +5 -5
- package/dist/components/base/event-calendar/index.js.map +1 -1
- package/dist/components/base/forms/index.cjs +1 -1
- package/dist/components/base/forms/index.js +5 -5
- package/dist/components/base/item/index.cjs +1 -1
- package/dist/components/base/item/index.js +1 -1
- package/dist/components/base/map/index.cjs +1 -1
- package/dist/components/base/map/index.js +1 -1
- package/dist/components/base/navigation/index.cjs +1 -1
- package/dist/components/base/navigation/index.js +1 -1
- package/dist/components/base/popover-menu/index.cjs +1 -1
- package/dist/components/base/popover-menu/index.js +1 -1
- package/dist/components/base/spinner/index.cjs +1 -1
- package/dist/components/base/spinner/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/base/table/table-header.d.ts.map +1 -1
- package/dist/components/composed/admin/index.cjs +1 -1
- package/dist/components/composed/admin/index.cjs.map +1 -1
- package/dist/components/composed/admin/index.js +11 -11
- package/dist/components/composed/admin/index.js.map +1 -1
- package/dist/components/composed/ai/index.cjs +1 -1
- package/dist/components/composed/ai/index.cjs.map +1 -1
- package/dist/components/composed/ai/index.js +24 -24
- package/dist/components/composed/ai/index.js.map +1 -1
- package/dist/components/composed/analytics/index.cjs +1 -1
- package/dist/components/composed/analytics/index.cjs.map +1 -1
- package/dist/components/composed/analytics/index.js +25 -25
- package/dist/components/composed/analytics/index.js.map +1 -1
- package/dist/components/composed/cards/index.cjs +1 -1
- package/dist/components/composed/cards/index.cjs.map +1 -1
- package/dist/components/composed/cards/index.js +14 -14
- package/dist/components/composed/cards/index.js.map +1 -1
- package/dist/components/composed/commerce/index.cjs +1 -1
- package/dist/components/composed/commerce/index.cjs.map +1 -1
- package/dist/components/composed/commerce/index.js +27 -27
- package/dist/components/composed/commerce/index.js.map +1 -1
- package/dist/components/composed/dark-surfaces/index.cjs +1 -1
- package/dist/components/composed/dark-surfaces/index.js +3 -3
- package/dist/components/composed/data-display/index.cjs +1 -1
- package/dist/components/composed/data-display/index.js +1 -1
- package/dist/components/composed/data-display/metadata/metadata-list.d.ts.map +1 -1
- package/dist/components/composed/navigation/index.cjs +1 -1
- package/dist/components/composed/navigation/index.cjs.map +1 -1
- package/dist/components/composed/navigation/index.js +14 -14
- package/dist/components/composed/navigation/index.js.map +1 -1
- package/dist/components/composed/onboarding/index.cjs +1 -1
- package/dist/components/composed/onboarding/index.js +3 -3
- package/dist/components/composed/timelines/index.cjs +1 -1
- package/dist/components/composed/timelines/index.cjs.map +1 -1
- package/dist/components/composed/timelines/index.js +10 -10
- package/dist/components/composed/timelines/index.js.map +1 -1
- package/dist/components/features/activities/index.cjs +1 -1
- package/dist/components/features/activities/index.cjs.map +1 -1
- package/dist/components/features/activities/index.js +8 -8
- package/dist/components/features/activities/index.js.map +1 -1
- package/dist/components/features/ai-chat/index.cjs +2 -2
- package/dist/components/features/ai-chat/index.cjs.map +1 -1
- package/dist/components/features/ai-chat/index.js +7 -7
- package/dist/components/features/ai-chat/index.js.map +1 -1
- package/dist/components/features/card/index.cjs +1 -1
- package/dist/components/features/card/index.js +3 -3
- package/dist/components/features/comments/index.cjs +1 -1
- package/dist/components/features/comments/index.js +2 -2
- package/dist/components/features/data-view/index.cjs +1 -1
- package/dist/components/features/data-view/index.cjs.map +1 -1
- package/dist/components/features/data-view/index.js +2 -2
- package/dist/components/features/data-view/index.js.map +1 -1
- package/dist/components/features/event-log/index.cjs +1 -1
- package/dist/components/features/event-log/index.js +4 -4
- package/dist/components/features/filters/index.cjs +1 -1
- package/dist/components/features/filters/index.cjs.map +1 -1
- package/dist/components/features/filters/index.js +10 -10
- package/dist/components/features/filters/index.js.map +1 -1
- package/dist/components/features/global-search/index.cjs +1 -1
- package/dist/components/features/global-search/index.cjs.map +1 -1
- package/dist/components/features/global-search/index.js +13 -13
- package/dist/components/features/global-search/index.js.map +1 -1
- package/dist/components/features/kanban/index.cjs +1 -1
- package/dist/components/features/kanban/index.js +2 -2
- package/dist/components/features/media-library/index.cjs +1 -1
- package/dist/components/features/media-library/index.cjs.map +1 -1
- package/dist/components/features/media-library/index.js +22 -22
- package/dist/components/features/media-library/index.js.map +1 -1
- package/dist/components/features/mentions/index.cjs +1 -1
- package/dist/components/features/mentions/index.js +1 -1
- package/dist/components/features/overlays/index.cjs +1 -1
- package/dist/components/features/overlays/index.js +1 -1
- package/dist/components/features/products/index.cjs +1 -1
- package/dist/components/features/products/index.cjs.map +1 -1
- package/dist/components/features/products/index.js +13 -13
- package/dist/components/features/products/index.js.map +1 -1
- package/dist/components/features/resource/index.cjs +1 -1
- package/dist/components/features/resource/index.cjs.map +1 -1
- package/dist/components/features/resource/index.js +5 -5
- package/dist/components/features/resource/index.js.map +1 -1
- 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 +7 -7
- package/dist/components/features/suggestions/index.cjs +1 -1
- package/dist/components/features/suggestions/index.js +1 -1
- package/dist/components/features/sync/index.cjs +1 -1
- package/dist/components/features/sync/index.js +2 -2
- 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 +7 -7
- package/dist/components/layout/page/index.cjs +1 -1
- package/dist/components/layout/page/index.js +1 -1
- package/dist/components/layout/settings/index.cjs +1 -1
- package/dist/components/layout/settings/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/typography/index.cjs +1 -1
- package/dist/components/typography/index.js +1 -1
- package/dist/services/actions/index.cjs +1 -1
- package/dist/services/actions/index.js +1 -1
- package/dist/showcase/assets/AreaChart-DtVzijR8.js +6 -0
- package/dist/showcase/assets/CompositeItem-SL6R0H3r.js +1 -0
- package/dist/showcase/assets/CompositeRoot-CTygKc2d.js +1 -0
- package/dist/showcase/assets/DialogTrigger-m2m9VdXk.js +1 -0
- package/dist/showcase/assets/LabelableContext-D6DcOg5I.js +1 -0
- package/dist/showcase/assets/PreviewLayout-CHW8F5uE.js +1 -0
- package/dist/showcase/assets/RadioGroup-BAOoU1eO.js +1 -0
- package/dist/showcase/assets/ScrollAreaCorner-CrCCP65t.js +1 -0
- package/dist/showcase/assets/Separator-DMs71Vib.js +1 -0
- package/dist/showcase/assets/ToolbarRootContext-DWKxsCxT.js +1 -0
- package/dist/showcase/assets/accordion-Clw5XNXP.js +171 -0
- package/dist/showcase/assets/accordion-variants-jiwKaPjE.js +1 -0
- package/dist/showcase/assets/action-menu-CW8zR6Ne.js +1 -0
- package/dist/showcase/assets/actions-Cf7vl3u0.js +310 -0
- package/dist/showcase/assets/activities-CyI5sJuS.js +500 -0
- package/dist/showcase/assets/activities-feed-card-Gv-Y4BBq.js +1 -0
- package/dist/showcase/assets/admin-CQVbTxGD.js +140 -0
- package/dist/showcase/assets/ai-Bkp2BY_z.js +207 -0
- package/dist/showcase/assets/ai-artifact-Cf1vEdVD.js +2 -0
- package/dist/showcase/assets/ai-chat-Bs3x6cK3.js +568 -0
- package/dist/showcase/assets/ai-elements-VbMUV2-i.js +387 -0
- package/dist/showcase/assets/ai-tool-call-BQYg4QB_.js +1 -0
- package/dist/showcase/assets/alert-BUmpNcXV.js +1 -0
- package/dist/showcase/assets/alert-CWPNW7eb.js +93 -0
- package/dist/showcase/assets/alert-nUwhk3AB.js +62 -0
- package/dist/showcase/assets/api-key-list-B1qVywOP.js +73 -0
- package/dist/showcase/assets/api-key-list-BI2FGbzV.js +1 -0
- package/dist/showcase/assets/app-sidebar-B35a8HWK.js +1 -0
- package/dist/showcase/assets/arrow-down-C1w0M8tE.js +1 -0
- package/dist/showcase/assets/arrow-left-DtILDtAv.js +1 -0
- package/dist/showcase/assets/arrow-right-TnZMfDbP.js +1 -0
- package/dist/showcase/assets/arrow-up-BX-KDIDB.js +1 -0
- package/dist/showcase/assets/arrow-up-right-CrnWqXwJ.js +1 -0
- package/dist/showcase/assets/avatar-C5YI0roK.js +67 -0
- package/dist/showcase/assets/avatar-DsnH-Xmz.js +1 -0
- package/dist/showcase/assets/avatar-S4vMi7Be.js +57 -0
- package/dist/showcase/assets/avatar-q4wqX6yD.js +1 -0
- package/dist/showcase/assets/badge-DJacF8-J.js +31 -0
- package/dist/showcase/assets/badge-check-DDJtQHcD.js +1 -0
- package/dist/showcase/assets/bell-DiXXE8YI.js +1 -0
- package/dist/showcase/assets/bot-bONqc_7j.js +1 -0
- package/dist/showcase/assets/box-lhUq3Chj.js +1 -0
- package/dist/showcase/assets/braces-IKXiJgb3.js +1 -0
- package/dist/showcase/assets/brain-DcXlhbJZ.js +1 -0
- package/dist/showcase/assets/brand-CramZg2-.js +36 -0
- package/dist/showcase/assets/breadcrumb-BL7UjlLh.js +1 -0
- package/dist/showcase/assets/breadcrumb-CZRbcf09.js +52 -0
- package/dist/showcase/assets/breadcrumbs-DJzvSt_Z.js +1 -0
- package/dist/showcase/assets/briefcase-CQQ0m97G.js +1 -0
- package/dist/showcase/assets/building-2-BkQcv8WR.js +1 -0
- package/dist/showcase/assets/button-K7M0irWq.js +44 -0
- package/dist/showcase/assets/button-group-KCGa38c8.js +1 -0
- package/dist/showcase/assets/buttons-CvyBMRD6.js +272 -0
- package/dist/showcase/assets/calendar-BJHjhWQX.js +1 -0
- package/dist/showcase/assets/calendar-ChMVRsNC.js +16 -0
- package/dist/showcase/assets/calendar-days-BgkRJVxQ.js +1 -0
- package/dist/showcase/assets/calendar-xpHhfGnq.js +1 -0
- package/dist/showcase/assets/camera-C67freYi.js +1 -0
- package/dist/showcase/assets/card-CfOqXMVz.js +188 -0
- package/dist/showcase/assets/card-bLjedjT5.js +1 -0
- package/dist/showcase/assets/card-primitives-FUPmQCsu.js +1 -0
- package/dist/showcase/assets/card-radio-group-D_QNJ2Hm.js +1 -0
- package/dist/showcase/assets/cards-yHZa0kEf.js +353 -0
- package/dist/showcase/assets/carousel-DG1cKry4.js +449 -0
- package/dist/showcase/assets/cell-renderers-qfJ-7alN.js +1 -0
- package/dist/showcase/assets/chart-B_yVfbWJ.js +358 -0
- package/dist/showcase/assets/chart-column-CYrVWmMk.js +1 -0
- package/dist/showcase/assets/checkbox-NW6EcvtD.js +1 -0
- package/dist/showcase/assets/checkbox-pA_L1P-f.js +1 -0
- package/dist/showcase/assets/chevron-down-DLrHjdQ6.js +1 -0
- package/dist/showcase/assets/chevron-left-B_NQOEWI.js +1 -0
- package/dist/showcase/assets/chevron-up-6hst2jwR.js +1 -0
- package/dist/showcase/assets/chevrons-up-down-C_pj9oOa.js +1 -0
- package/dist/showcase/assets/circle-Cw9qV72m.js +1 -0
- package/dist/showcase/assets/circle-alert-D3Vcma6L.js +1 -0
- package/dist/showcase/assets/circle-check-DdjJpGc9.js +1 -0
- package/dist/showcase/assets/circle-check-big-Dnq-jwtv.js +1 -0
- package/dist/showcase/assets/circle-dot-DN8DFgIP.js +1 -0
- package/dist/showcase/assets/circle-question-mark-Dzgiv4oS.js +1 -0
- package/dist/showcase/assets/circle-x-BzTSkndC.js +1 -0
- package/dist/showcase/assets/clock-3-CVwHXCmo.js +1 -0
- package/dist/showcase/assets/clock-BIJ9p953.js +1 -0
- package/dist/showcase/assets/code-xml-DrU5ziCA.js +1 -0
- package/dist/showcase/assets/collapsible-7rdCo71k.js +27 -0
- package/dist/showcase/assets/collapsible-DCcTSlEH.js +1 -0
- package/dist/showcase/assets/combobox-mx8o5sV1.js +685 -0
- package/dist/showcase/assets/command-CKJDGdA9.js +1 -0
- package/dist/showcase/assets/command-CzGLPzoO.js +1 -0
- package/dist/showcase/assets/comment-composer-CSoEIapl.js +1 -0
- package/dist/showcase/assets/comment-item-pjaH53iB.js +1 -0
- package/dist/showcase/assets/comments-_ccotzWA.js +357 -0
- package/dist/showcase/assets/commerce-BuiQiRsf.js +267 -0
- package/dist/showcase/assets/composite-Bghohd0p.js +1 -0
- package/dist/showcase/assets/contact-card-CqM2uz_w.js +65 -0
- package/dist/showcase/assets/content-container-fC4z98GI.js +1 -0
- package/dist/showcase/assets/copyable-BMQK8sID.js +1 -0
- package/dist/showcase/assets/copyable-DVR2FAa0.js +96 -0
- package/dist/showcase/assets/course-card-Cku2z18g.js +77 -0
- package/dist/showcase/assets/cpu-A072t3kq.js +1 -0
- package/dist/showcase/assets/credit-card-BGwhx9Zo.js +1 -0
- package/dist/showcase/assets/css-variables-BAW_VrGk.js +1205 -0
- package/dist/showcase/assets/currency-Da3C0Uzb.js +149 -0
- package/dist/showcase/assets/dark-surfaces-BHYLEj80.js +90 -0
- package/dist/showcase/assets/data-view--EAYihh0.js +124 -0
- package/dist/showcase/assets/data-view-BAMwKzZO.js +4 -0
- package/dist/showcase/assets/database-C489WIbr.js +1 -0
- package/dist/showcase/assets/date-block-DuNaPSBU.js +1 -0
- package/dist/showcase/assets/date-picker-Dq-9L64y.js +1 -0
- package/dist/showcase/assets/date-pickers-D0ReMKc9.js +73 -0
- package/dist/showcase/assets/dense-info-CXwjqQB1.js +106 -0
- package/dist/showcase/assets/design-system-consistency-CGoKv0Vf.js +264 -0
- package/dist/showcase/assets/dialog-DIrJcAzq.js +1 -0
- package/dist/showcase/assets/dialog-O45UwQJs.js +1 -0
- package/dist/showcase/assets/display-utilities-VKOARJyC.js +267 -0
- package/dist/showcase/assets/dist-BavkTE-I.js +1 -0
- package/dist/showcase/assets/dist-DPxPKIgU.js +45 -0
- package/dist/showcase/assets/dollar-sign-CH2fcyek.js +1 -0
- package/dist/showcase/assets/download-whAw79X4.js +1 -0
- package/dist/showcase/assets/dropdown-menu-PVKwhWds.js +1 -0
- package/dist/showcase/assets/dropzone-B9sc8Mwa.js +1 -0
- package/dist/showcase/assets/earth-BpkE9LMh.js +1 -0
- package/dist/showcase/assets/ellipsis-CEVdIbhD.js +1 -0
- package/dist/showcase/assets/ellipsis-vertical-CBIvtUVz.js +1 -0
- package/dist/showcase/assets/empty-Dp1eCMIl.js +1 -0
- package/dist/showcase/assets/empty-item--dZz4VlJ.js +49 -0
- package/dist/showcase/assets/empty-state-ZOiE-hWY.js +190 -0
- package/dist/showcase/assets/empty-state-dsivN4CA.js +1 -0
- package/dist/showcase/assets/enhanced-activities-BpzUxaof.js +357 -0
- package/dist/showcase/assets/enhanced-combobox-D71BOuiX.js +1 -0
- package/dist/showcase/assets/esm-DT-TXPCJ.js +2 -0
- package/dist/showcase/assets/event-calendar-aVpAFZFq.js +138 -0
- package/dist/showcase/assets/event-log-DVcvyQ-P.js +330 -0
- package/dist/showcase/assets/example-CzbL5xoH.js +1 -0
- package/dist/showcase/assets/external-link-BaLE1QE5.js +1 -0
- package/dist/showcase/assets/eye-Dq0mLKrs.js +1 -0
- package/dist/showcase/assets/feature-announcement-sWKBC2fs.js +34 -0
- package/dist/showcase/assets/file-CgW3NvCL.js +1 -0
- package/dist/showcase/assets/file-text-JGaJQ8Wd.js +1 -0
- package/dist/showcase/assets/filter-layout-jfahl8aJ.js +1 -0
- package/dist/showcase/assets/filters-D7zegZVD.js +139 -0
- package/dist/showcase/assets/flag-H6U1f4wd.js +1 -0
- package/dist/showcase/assets/folder-open-sT96wRxJ.js +1 -0
- package/dist/showcase/assets/form-field-CQuSWnj8.js +1 -0
- package/dist/showcase/assets/format-DGPJ5dDq.js +1 -0
- package/dist/showcase/assets/forms-CdDJkAFt.js +915 -0
- package/dist/showcase/assets/funnel-Bh56GDO0.js +1 -0
- package/dist/showcase/assets/generic-CqSABKHr.js +1 -0
- package/dist/showcase/assets/getPseudoElementBounds-Cgw3-xUB.js +1 -0
- package/dist/showcase/assets/gift-ChVS2ovQ.js +1 -0
- package/dist/showcase/assets/giftcard-cards-CuaGn8-J.js +85 -0
- package/dist/showcase/assets/git-branch-86jQZnz4.js +1 -0
- package/dist/showcase/assets/global-search-C92CjOf8.js +215 -0
- package/dist/showcase/assets/global-search-DpVIWyO9.js +1 -0
- package/dist/showcase/assets/globe-DmGzYOlq.js +1 -0
- package/dist/showcase/assets/gradient-card-BUZzXFdZ.js +58 -0
- package/dist/showcase/assets/hash-pc6IIDge.js +1 -0
- package/dist/showcase/assets/header-DbM4l1Z6.js +1 -0
- package/dist/showcase/assets/header-notifications-CaymUd4n.js +1 -0
- package/dist/showcase/assets/heart-DtfPBlXq.js +1 -0
- package/dist/showcase/assets/hooks-JiLlGOJ-.js +220 -0
- package/dist/showcase/assets/house-CzNWewi5.js +1 -0
- package/dist/showcase/assets/icon-badge-G9Fp891n.js +1 -0
- package/dist/showcase/assets/icon-badge-e8N5BSYf.js +37 -0
- package/dist/showcase/assets/image-9IQW7agU.js +1 -0
- package/dist/showcase/assets/inbox-DU4YaGtc.js +1 -0
- package/dist/showcase/assets/index-CuXjv2p6.css +2 -0
- package/dist/showcase/assets/index-DN09-Vts.js +10 -0
- package/dist/showcase/assets/inertValue-kRQb7jwi.js +1 -0
- package/dist/showcase/assets/info-B9AXwUDF.js +1 -0
- package/dist/showcase/assets/inline-stat-BkLIKCvD.js +1 -0
- package/dist/showcase/assets/inline-stat-XqGHDQrK.js +15 -0
- package/dist/showcase/assets/input-BXHv6p9P.js +1 -0
- package/dist/showcase/assets/input-D_T9s_tn.js +1 -0
- package/dist/showcase/assets/input-group-Bs8dmhR6.js +47 -0
- package/dist/showcase/assets/input-group-CqkASeoV.js +1 -0
- package/dist/showcase/assets/inputs-DY7w_ssI.js +155 -0
- package/dist/showcase/assets/installation-Dg3FdGJ1.js +134 -0
- package/dist/showcase/assets/invoice-header-Ba-Y55Ag.js +36 -0
- package/dist/showcase/assets/invoice-items-CIJ8EfPg.js +36 -0
- package/dist/showcase/assets/invoice-mini-BISFvM7J.js +14 -0
- package/dist/showcase/assets/invoice-table-DcyVZTvl.js +30 -0
- package/dist/showcase/assets/isSameDay-av07hGac.js +1 -0
- package/dist/showcase/assets/isToday-GY5FlPL9.js +1 -0
- package/dist/showcase/assets/italic-Du0n76Xk.js +1 -0
- package/dist/showcase/assets/item-D8Lp4R-T.js +139 -0
- package/dist/showcase/assets/item-DTsZnSJG.js +1 -0
- package/dist/showcase/assets/item-Di7HZF5G.js +1 -0
- package/dist/showcase/assets/kanban-Dcminjsa.js +188 -0
- package/dist/showcase/assets/key-round-BBue3xKx.js +1 -0
- package/dist/showcase/assets/label-dkUEHYaz.js +1 -0
- package/dist/showcase/assets/languages-XxP8Uu82.js +1 -0
- package/dist/showcase/assets/layers-Bi_-RuHS.js +1 -0
- package/dist/showcase/assets/layout-app-shell-Cr6Ep0Zz.js +608 -0
- package/dist/showcase/assets/layout-auth-DffIslnp.js +790 -0
- package/dist/showcase/assets/layout-containers-BuSg6L6o.js +101 -0
- package/dist/showcase/assets/layout-header-DAxSUI18.js +203 -0
- package/dist/showcase/assets/layout-page-CVgVJHf1.js +314 -0
- package/dist/showcase/assets/layout-primitives-q8NXbEld.js +34 -0
- package/dist/showcase/assets/layout-sidebar-bB6AJaGs.js +224 -0
- package/dist/showcase/assets/layout-users-DG5u517t.js +117 -0
- package/dist/showcase/assets/layout-workspace-CKMDUM2b.js +191 -0
- package/dist/showcase/assets/lib-CaQvPpSJ.js +1 -0
- package/dist/showcase/assets/list-checks-Dhr60VvL.js +1 -0
- package/dist/showcase/assets/lock-CYVbyBpM.js +1 -0
- package/dist/showcase/assets/lock-keyhole-TUVID45I.js +1 -0
- package/dist/showcase/assets/mail-DfkwmVKE.js +1 -0
- package/dist/showcase/assets/mail-check-CnBhgH_h.js +1 -0
- package/dist/showcase/assets/map-Ck14_o-F.js +124 -0
- package/dist/showcase/assets/map-pin-Di7TUhai.js +1 -0
- package/dist/showcase/assets/media-library-CzM_to29.js +699 -0
- package/dist/showcase/assets/mention-inline-suggestions-B1RHUfnH.js +1 -0
- package/dist/showcase/assets/mentions-CdaPXOLl.js +138 -0
- package/dist/showcase/assets/menus-DuqcLdg1.js +171 -0
- package/dist/showcase/assets/message-square-DuW3PrFI.js +1 -0
- package/dist/showcase/assets/metadata-list-CCRGSPaS.js +286 -0
- package/dist/showcase/assets/metadata-list-Drvz5mwy.js +1 -0
- package/dist/showcase/assets/metric-BSaXa3Z_.js +1 -0
- package/dist/showcase/assets/metric-bar-CM1Rmk8y.js +1 -0
- package/dist/showcase/assets/metric-grid-BBGxdYNJ.js +1 -0
- package/dist/showcase/assets/metric-trend-chip-C_LrbPyT.js +1 -0
- package/dist/showcase/assets/metrics-analytics-bar-ByvVltQV.js +44 -0
- package/dist/showcase/assets/metrics-analytics-cards-CNGiVG1A.js +50 -0
- package/dist/showcase/assets/metrics-comparison-BLUvtt5N.js +76 -0
- package/dist/showcase/assets/metrics-heatmap-CZWhn4_i.js +27 -0
- package/dist/showcase/assets/metrics-inline-badge-CcPm2_ON.js +17 -0
- package/dist/showcase/assets/metrics-kpi-row-CitG5Aea.js +31 -0
- package/dist/showcase/assets/metrics-micro-grid-CAsplRVI.js +42 -0
- package/dist/showcase/assets/metrics-overview-DSRwW-3j.js +192 -0
- package/dist/showcase/assets/metrics-stat-cards-BTdSpUV_.js +54 -0
- package/dist/showcase/assets/minus-BaXg6nPb.js +1 -0
- package/dist/showcase/assets/money-display-HegN6NVU.js +1 -0
- package/dist/showcase/assets/month-year-picker-DGSalGea.js +1 -0
- package/dist/showcase/assets/navigation-B9kcgNmJ.js +90 -0
- package/dist/showcase/assets/navigation-D4OJbw4T.js +231 -0
- package/dist/showcase/assets/navigation-extras-xm_wzPZr.js +43 -0
- package/dist/showcase/assets/onboarding-checklist-CWuCJKDd.js +119 -0
- package/dist/showcase/assets/overflow-tab-bar-Dq-I4MUu.js +1 -0
- package/dist/showcase/assets/overlays-BHf9SZOh.js +159 -0
- package/dist/showcase/assets/overlays-DziL3nVU.js +408 -0
- package/dist/showcase/assets/overview-Cc69up8i.js +184 -0
- package/dist/showcase/assets/package-Bc-NuFnd.js +1 -0
- package/dist/showcase/assets/package-check-5LQwCfGh.js +1 -0
- package/dist/showcase/assets/page-B2o5HSfY.js +1 -0
- package/dist/showcase/assets/page-action-button-CfS6vsyC.js +1 -0
- package/dist/showcase/assets/page-header-W6quU5pO.js +1 -0
- package/dist/showcase/assets/pagination-Bfs7Zszm.js +1 -0
- package/dist/showcase/assets/pagination-DHs104ji.js +42 -0
- package/dist/showcase/assets/paperclip-CXeiMywc.js +1 -0
- package/dist/showcase/assets/password-input-C61t743N.js +1 -0
- package/dist/showcase/assets/pencil-C1TXsTfP.js +1 -0
- package/dist/showcase/assets/phone-Bh-68R_E.js +1 -0
- package/dist/showcase/assets/plus-CKBaO4jG.js +1 -0
- package/dist/showcase/assets/popover-C_7qLizt.js +1 -0
- package/dist/showcase/assets/popover-hgtHqd0h.js +1 -0
- package/dist/showcase/assets/popover-menu-DmYSBsji.js +1 -0
- package/dist/showcase/assets/products-DSvcQz-Q.js +423 -0
- package/dist/showcase/assets/progress-Chxeo8g4.js +18 -0
- package/dist/showcase/assets/progress-fYPoCyf-.js +1 -0
- package/dist/showcase/assets/props-table-izArO1Pv.js +1 -0
- package/dist/showcase/assets/quote-wvfNu9t7.js +1 -0
- package/dist/showcase/assets/receipt-BlXBX4ZJ.js +1 -0
- package/dist/showcase/assets/receipt-text-stSsUTV5.js +1 -0
- package/dist/showcase/assets/refinement-guide-Bri81J9N.js +189 -0
- package/dist/showcase/assets/refresh-cw-tZzNDEGO.js +1 -0
- package/dist/showcase/assets/resolveValueLabel-Cti97iX8.js +1 -0
- package/dist/showcase/assets/resource-B727CTVi.js +139 -0
- package/dist/showcase/assets/resource-DytT_quB.js +1 -0
- package/dist/showcase/assets/resource-selector-card-wNuW382N.js +43 -0
- package/dist/showcase/assets/rich-text-editor-DdK5YD0y.js +143 -0
- package/dist/showcase/assets/rich-text-editor-DqY2H6e0.js +124 -0
- package/dist/showcase/assets/rotate-ccw-Bp4aMDrI.js +1 -0
- package/dist/showcase/assets/route-D2owHMka.js +1 -0
- package/dist/showcase/assets/save-DjC_iy0t.js +1 -0
- package/dist/showcase/assets/schema-form-CQtLwGC1.js +327 -0
- package/dist/showcase/assets/scroll-area-BQlHFfkG.js +32 -0
- package/dist/showcase/assets/scroll-area-D3Rrt85s.js +1 -0
- package/dist/showcase/assets/section-DYfGx1Q5.js +1 -0
- package/dist/showcase/assets/select-BCJGhRpc.js +1 -0
- package/dist/showcase/assets/select-Cf5EigqA.js +1 -0
- package/dist/showcase/assets/send-86Vr11Ys.js +1 -0
- package/dist/showcase/assets/separator-BHjNVb5O.js +1 -0
- package/dist/showcase/assets/separator-BejjbTbO.js +28 -0
- package/dist/showcase/assets/settings-2-DNNVOsjP.js +1 -0
- package/dist/showcase/assets/settings-Bsi5BLx5.js +1 -0
- package/dist/showcase/assets/sheet-BazhMvfb.js +1 -0
- package/dist/showcase/assets/shield-alert-D-Jbocfj.js +1 -0
- package/dist/showcase/assets/shield-check-D9eDVcJ1.js +1 -0
- package/dist/showcase/assets/shield-xI2P9G5d.js +1 -0
- package/dist/showcase/assets/shopping-bag-DOGs3sez.js +1 -0
- package/dist/showcase/assets/showcase-s-5CuLAJ.js +132 -0
- package/dist/showcase/assets/sidebar-Rz44gw_a.js +1 -0
- package/dist/showcase/assets/sidebar.context-Bbcdo3o8.js +1 -0
- package/dist/showcase/assets/skeleton-CY8ieqD-.js +1 -0
- package/dist/showcase/assets/skeleton-CgoH6CPT.js +29 -0
- package/dist/showcase/assets/slider-okW2bgkG.js +1 -0
- package/dist/showcase/assets/smart-card-CVwEPwfI.js +1 -0
- package/dist/showcase/assets/sonner-CixCpxj2.js +22 -0
- package/dist/showcase/assets/sortable.esm-DKcVtGTb.js +5 -0
- package/dist/showcase/assets/sparkles-DDEVdtmy.js +1 -0
- package/dist/showcase/assets/spinner-BVGPoAEv.js +49 -0
- package/dist/showcase/assets/spinner-FURXSp1Q.js +1 -0
- package/dist/showcase/assets/spinner-u6TwJ3Ii.js +30 -0
- package/dist/showcase/assets/square-pen-DVXVT0cQ.js +1 -0
- package/dist/showcase/assets/stacked-avatars-CKOQhAx4.js +1 -0
- package/dist/showcase/assets/star-B3ZPfxuz.js +1 -0
- package/dist/showcase/assets/startOfDay-LwMBRUSU.js +1 -0
- package/dist/showcase/assets/styles-UIKkojWJ.js +1 -0
- package/dist/showcase/assets/suggestions-DbrzKjbi.js +126 -0
- package/dist/showcase/assets/switch-CAw84QpS.js +1 -0
- package/dist/showcase/assets/switch-Cjt2MCgr.js +1 -0
- package/dist/showcase/assets/sync-DWbqfpBH.js +124 -0
- package/dist/showcase/assets/table-Bx5lo5FP.js +686 -0
- package/dist/showcase/assets/table-C2RQulDb.js +1 -0
- package/dist/showcase/assets/table-actions-Clo3WEfM.js +1 -0
- package/dist/showcase/assets/tabs-DRtlcg6b.js +19 -0
- package/dist/showcase/assets/tabs-wMPtvuT5.js +1 -0
- package/dist/showcase/assets/tags-input-D5FpWOWF.js +1 -0
- package/dist/showcase/assets/text-button-Cwh6D6qG.js +1 -0
- package/dist/showcase/assets/text-link-DI1uXdGl.js +1 -0
- package/dist/showcase/assets/textarea-CGbt4gBZ.js +1 -0
- package/dist/showcase/assets/textarea-JPgPLhyk.js +1 -0
- package/dist/showcase/assets/timelines-CkHN08n6.js +200 -0
- package/dist/showcase/assets/toggle-group-BpXkR9uD.js +1 -0
- package/dist/showcase/assets/toggles-DK9iCbki.js +71 -0
- package/dist/showcase/assets/toggles-group-DwzRj0f7.js +32 -0
- package/dist/showcase/assets/tooltip-PtP1suag.js +31 -0
- package/dist/showcase/assets/trash-2-BE4XUI2g.js +1 -0
- package/dist/showcase/assets/trending-up-ByxOf-nR.js +1 -0
- package/dist/showcase/assets/truck-RTOdcRV0.js +1 -0
- package/dist/showcase/assets/typography-BKLgHDxU.js +223 -0
- package/dist/showcase/assets/ui-badge-DIh_3Wmo.js +28 -0
- package/dist/showcase/assets/ui-card-BOdHnZwv.js +30 -0
- package/dist/showcase/assets/ui-table-BW4FCClv.js +42 -0
- package/dist/showcase/assets/upload-tray-CV9_5Lpa.js +138 -0
- package/dist/showcase/assets/use-layout-link-MyeE-CDj.js +1 -0
- package/dist/showcase/assets/useAnchoredPopupScrollLock-DSaog2w5.js +1 -0
- package/dist/showcase/assets/useAriaLabelledBy-DSpPzrxG.js +1 -0
- package/dist/showcase/assets/useCollapsiblePanel-DsuJtES0.js +1 -0
- package/dist/showcase/assets/useCompositeItem-lbAimLrR.js +1 -0
- package/dist/showcase/assets/useCompositeListItem-pRXWGj4x.js +1 -0
- package/dist/showcase/assets/useLabelableId-IRM1zB5m.js +1 -0
- package/dist/showcase/assets/useOpenInteractionType-CHDcTj9f.js +1 -0
- package/dist/showcase/assets/useRender-Ogz5zjeJ.js +1 -0
- package/dist/showcase/assets/useTriggerFocusGuards-Du6btFNB.js +1 -0
- package/dist/showcase/assets/useValueChanged-CXpsR4fl.js +1 -0
- package/dist/showcase/assets/user-plus-CLj8AZe1.js +1 -0
- package/dist/showcase/assets/user-ymdT26JK.js +1 -0
- package/dist/showcase/assets/users-BGba2Xwv.js +1 -0
- package/dist/showcase/assets/vendor-profile-Ci6c9mFC.js +37 -0
- package/dist/showcase/assets/video-BcKa36-p.js +1 -0
- package/dist/showcase/assets/wrench-Cj2hRrih.js +1 -0
- package/dist/showcase/assets/x-iCqjAC2D.js +1 -0
- package/dist/showcase/assets/zap-H4bc_OhS.js +1 -0
- package/dist/showcase/index.html +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/css/tokens/foundation.css +19 -5
- package/dist/_shared/accordion-BRj4TDQx.js +0 -135
- package/dist/_shared/accordion-BRj4TDQx.js.map +0 -1
- package/dist/_shared/accordion-DvlDjk29.cjs +0 -2
- package/dist/_shared/accordion-DvlDjk29.cjs.map +0 -1
- package/dist/_shared/ai-artifact-BHgd3agA.js +0 -1099
- package/dist/_shared/ai-artifact-BHgd3agA.js.map +0 -1
- package/dist/_shared/ai-artifact-BRM5cvGv.cjs +0 -3
- package/dist/_shared/ai-artifact-BRM5cvGv.cjs.map +0 -1
- package/dist/_shared/alert-CMVVt2Br.js +0 -81
- package/dist/_shared/alert-CMVVt2Br.js.map +0 -1
- package/dist/_shared/alert-Dmhtbmpg.cjs +0 -2
- package/dist/_shared/alert-Dmhtbmpg.cjs.map +0 -1
- package/dist/_shared/auth-DZW6NkJx.cjs +0 -2
- package/dist/_shared/auth-DZW6NkJx.cjs.map +0 -1
- package/dist/_shared/auth-Dh790NI_.js +0 -643
- package/dist/_shared/auth-Dh790NI_.js.map +0 -1
- package/dist/_shared/badge-B8xGFpfM.cjs +0 -2
- package/dist/_shared/badge-B8xGFpfM.cjs.map +0 -1
- package/dist/_shared/badge-BYNwSWh5.js +0 -110
- package/dist/_shared/badge-BYNwSWh5.js.map +0 -1
- package/dist/_shared/card-radio-group-Bhe8gAbH.js +0 -150
- package/dist/_shared/card-radio-group-Bhe8gAbH.js.map +0 -1
- package/dist/_shared/card-radio-group-CdG1zr8M.cjs +0 -2
- package/dist/_shared/card-radio-group-CdG1zr8M.cjs.map +0 -1
- package/dist/_shared/cards-Cu6p1Brd.cjs +0 -2
- package/dist/_shared/cards-Cu6p1Brd.cjs.map +0 -1
- package/dist/_shared/cards-cQ9lL6zy.js +0 -354
- package/dist/_shared/cards-cQ9lL6zy.js.map +0 -1
- package/dist/_shared/combobox-BGYjyXeN.cjs +0 -2
- package/dist/_shared/combobox-BGYjyXeN.cjs.map +0 -1
- package/dist/_shared/combobox-DTwomOBt.js +0 -954
- package/dist/_shared/combobox-DTwomOBt.js.map +0 -1
- package/dist/_shared/command-ByedBajF.js +0 -39
- package/dist/_shared/command-ByedBajF.js.map +0 -1
- package/dist/_shared/command-EGR0nhGc.cjs +0 -2
- package/dist/_shared/command-EGR0nhGc.cjs.map +0 -1
- package/dist/_shared/comments-C97vL5km.js +0 -952
- package/dist/_shared/comments-C97vL5km.js.map +0 -1
- package/dist/_shared/comments-DBe6dP-d.cjs +0 -2
- package/dist/_shared/comments-DBe6dP-d.cjs.map +0 -1
- package/dist/_shared/copyable-BgFdERqs.js +0 -38
- package/dist/_shared/copyable-BgFdERqs.js.map +0 -1
- package/dist/_shared/copyable-Ce8rmE-V.cjs +0 -2
- package/dist/_shared/copyable-Ce8rmE-V.cjs.map +0 -1
- package/dist/_shared/data-display-DUWxoDKq.js +0 -1873
- package/dist/_shared/data-display-DUWxoDKq.js.map +0 -1
- package/dist/_shared/data-display-o-rbMuIA.cjs +0 -2
- package/dist/_shared/data-display-o-rbMuIA.cjs.map +0 -1
- package/dist/_shared/date-picker-Cxx9jllA.js +0 -1361
- package/dist/_shared/date-picker-Cxx9jllA.js.map +0 -1
- package/dist/_shared/date-picker-DE5A8yqN.cjs +0 -2
- package/dist/_shared/date-picker-DE5A8yqN.cjs.map +0 -1
- package/dist/_shared/date-pickers-Dex1Mfye.cjs +0 -2
- package/dist/_shared/date-pickers-Dex1Mfye.cjs.map +0 -1
- package/dist/_shared/date-pickers-m0dpDcqH.js +0 -329
- package/dist/_shared/date-pickers-m0dpDcqH.js.map +0 -1
- package/dist/_shared/display-Bro3Kufg.js +0 -986
- package/dist/_shared/display-Bro3Kufg.js.map +0 -1
- package/dist/_shared/display-CRQjSjgB.cjs +0 -2
- package/dist/_shared/display-CRQjSjgB.cjs.map +0 -1
- package/dist/_shared/forms-D-SNQmtB.cjs +0 -2
- package/dist/_shared/forms-D-SNQmtB.cjs.map +0 -1
- package/dist/_shared/forms-p7cfzJwf.js +0 -3533
- package/dist/_shared/forms-p7cfzJwf.js.map +0 -1
- package/dist/_shared/header-8C71wVRp.js +0 -447
- package/dist/_shared/header-8C71wVRp.js.map +0 -1
- package/dist/_shared/header-CYgFCnjZ.cjs +0 -2
- package/dist/_shared/header-CYgFCnjZ.cjs.map +0 -1
- package/dist/_shared/hooks-Ci1LFWRG.js +0 -95
- package/dist/_shared/hooks-Ci1LFWRG.js.map +0 -1
- package/dist/_shared/hooks-Cjl7LJpn.cjs +0 -2
- package/dist/_shared/hooks-Cjl7LJpn.cjs.map +0 -1
- package/dist/_shared/input-BgcP6x4C.js +0 -182
- package/dist/_shared/input-BgcP6x4C.js.map +0 -1
- package/dist/_shared/input-DV3g7Fm5.cjs +0 -2
- package/dist/_shared/input-DV3g7Fm5.cjs.map +0 -1
- package/dist/_shared/item-D7GTzvhf.js +0 -226
- package/dist/_shared/item-D7GTzvhf.js.map +0 -1
- package/dist/_shared/item-DTrnHpfm.cjs +0 -2
- package/dist/_shared/item-DTrnHpfm.cjs.map +0 -1
- package/dist/_shared/layout-BExg7Vlx.js +0 -261
- package/dist/_shared/layout-BExg7Vlx.js.map +0 -1
- package/dist/_shared/layout-CKRD_goE.cjs +0 -2
- package/dist/_shared/layout-CKRD_goE.cjs.map +0 -1
- package/dist/_shared/mentions-BtGhYisA.js +0 -506
- package/dist/_shared/mentions-BtGhYisA.js.map +0 -1
- package/dist/_shared/mentions-CnVOuQJU.cjs +0 -2
- package/dist/_shared/mentions-CnVOuQJU.cjs.map +0 -1
- package/dist/_shared/money-display-BvVpRUs5.cjs +0 -2
- package/dist/_shared/money-display-BvVpRUs5.cjs.map +0 -1
- package/dist/_shared/money-display-D6Qtvyyv.js +0 -198
- package/dist/_shared/money-display-D6Qtvyyv.js.map +0 -1
- package/dist/_shared/navigation-C4dO1I82.cjs +0 -2
- package/dist/_shared/navigation-C4dO1I82.cjs.map +0 -1
- package/dist/_shared/navigation-Ct-LFlpY.js +0 -436
- package/dist/_shared/navigation-Ct-LFlpY.js.map +0 -1
- package/dist/_shared/overlays-ChyqXn0n.js +0 -735
- package/dist/_shared/overlays-ChyqXn0n.js.map +0 -1
- package/dist/_shared/overlays-Dn2bt3CL.cjs +0 -2
- package/dist/_shared/overlays-Dn2bt3CL.cjs.map +0 -1
- package/dist/_shared/popover-menu-17Dxn25O.js +0 -93
- package/dist/_shared/popover-menu-17Dxn25O.js.map +0 -1
- package/dist/_shared/popover-menu-DXVN0bvj.cjs +0 -2
- package/dist/_shared/popover-menu-DXVN0bvj.cjs.map +0 -1
- package/dist/_shared/rich-text-editor-BRpcNkj1.js +0 -620
- package/dist/_shared/rich-text-editor-BRpcNkj1.js.map +0 -1
- package/dist/_shared/rich-text-editor-BXxGNbmI.cjs +0 -2
- package/dist/_shared/rich-text-editor-BXxGNbmI.cjs.map +0 -1
- package/dist/_shared/settings-CW9yzfQM.js +0 -143
- package/dist/_shared/settings-CW9yzfQM.js.map +0 -1
- package/dist/_shared/settings-cCPrw7si.cjs +0 -2
- package/dist/_shared/settings-cCPrw7si.cjs.map +0 -1
- package/dist/_shared/sidebar-Cq6J_I4l.cjs +0 -2
- package/dist/_shared/sidebar-Cq6J_I4l.cjs.map +0 -1
- package/dist/_shared/sidebar-DtF_ihE3.js +0 -548
- package/dist/_shared/sidebar-DtF_ihE3.js.map +0 -1
- package/dist/_shared/spinner-DY2de3Wt.cjs +0 -2
- package/dist/_shared/spinner-DY2de3Wt.cjs.map +0 -1
- package/dist/_shared/spinner-ZmIq_zsx.js +0 -67
- package/dist/_shared/spinner-ZmIq_zsx.js.map +0 -1
- package/dist/_shared/table-BBWc-wIw.js +0 -1377
- package/dist/_shared/table-BBWc-wIw.js.map +0 -1
- package/dist/_shared/table-DMDkdLzV.cjs +0 -2
- package/dist/_shared/table-DMDkdLzV.cjs.map +0 -1
- package/dist/_shared/textarea-C1TeJ7Vt.cjs +0 -2
- package/dist/_shared/textarea-C1TeJ7Vt.cjs.map +0 -1
- package/dist/_shared/textarea-CGRkgH5z.js +0 -118
- package/dist/_shared/textarea-CGRkgH5z.js.map +0 -1
- package/dist/_shared/typography-CzFVA1w1.js +0 -201
- package/dist/_shared/typography-CzFVA1w1.js.map +0 -1
- package/dist/_shared/typography-GtkgK9QX.cjs +0 -2
- package/dist/_shared/typography-GtkgK9QX.cjs.map +0 -1
- package/dist/_shared/workspace-BF5BtDhD.cjs +0 -2
- package/dist/_shared/workspace-BF5BtDhD.cjs.map +0 -1
- package/dist/_shared/workspace-IvsczduM.js +0 -357
- package/dist/_shared/workspace-IvsczduM.js.map +0 -1
- package/dist/showcase/assets/AreaChart-CsIm9z7Y.js +0 -6
- package/dist/showcase/assets/CompositeItem-D9zznn01.js +0 -1
- package/dist/showcase/assets/CompositeRoot-CvxtZ81W.js +0 -1
- package/dist/showcase/assets/DialogTrigger-C-osQGHu.js +0 -1
- package/dist/showcase/assets/LabelableContext-_EE-HBND.js +0 -1
- package/dist/showcase/assets/PreviewLayout-KdEsSl3b.js +0 -1
- package/dist/showcase/assets/RadioGroup-4jOeNTc1.js +0 -1
- package/dist/showcase/assets/ScrollAreaCorner-CXTdUcaE.js +0 -1
- package/dist/showcase/assets/Separator-CHVXO6nj.js +0 -1
- package/dist/showcase/assets/ToolbarRootContext-CM5tQGGX.js +0 -1
- package/dist/showcase/assets/accordion-CA84bxb2.js +0 -171
- package/dist/showcase/assets/accordion-variants-DqWzAOO3.js +0 -1
- package/dist/showcase/assets/action-menu-D0q5z-Kq.js +0 -1
- package/dist/showcase/assets/actions-DnqxABJU.js +0 -310
- package/dist/showcase/assets/activities-BC9hoMy9.js +0 -500
- package/dist/showcase/assets/activities-feed-card-D6wGLpbH.js +0 -1
- package/dist/showcase/assets/admin-CMnMsugJ.js +0 -140
- package/dist/showcase/assets/ai-B6_sE9Zg.js +0 -207
- package/dist/showcase/assets/ai-artifact-BVvbsSJB.js +0 -2
- package/dist/showcase/assets/ai-chat-lcXeqJrA.js +0 -568
- package/dist/showcase/assets/ai-elements-B32o_UjE.js +0 -387
- package/dist/showcase/assets/ai-tool-call-BLrAioKz.js +0 -1
- package/dist/showcase/assets/alert-B1p1Grce.js +0 -62
- package/dist/showcase/assets/alert-BBiffYsY.js +0 -93
- package/dist/showcase/assets/alert-vH0nJ8J9.js +0 -1
- package/dist/showcase/assets/api-key-list-BrSc6V1y.js +0 -1
- package/dist/showcase/assets/api-key-list-CoKe_PaL.js +0 -73
- package/dist/showcase/assets/app-sidebar-R93lRPB4.js +0 -1
- package/dist/showcase/assets/arrow-down-xxVIADbv.js +0 -1
- package/dist/showcase/assets/arrow-left-DxnlnN8R.js +0 -1
- package/dist/showcase/assets/arrow-right-S5k93UPM.js +0 -1
- package/dist/showcase/assets/arrow-up-OlEVG7a-.js +0 -1
- package/dist/showcase/assets/arrow-up-right-j55bbl4b.js +0 -1
- package/dist/showcase/assets/avatar-BbiXvZq7.js +0 -67
- package/dist/showcase/assets/avatar-Bwpw-hQo.js +0 -57
- package/dist/showcase/assets/avatar-D0DKQ1lK.js +0 -1
- package/dist/showcase/assets/avatar-WyjSBov9.js +0 -1
- package/dist/showcase/assets/badge-BzLZQO3L.js +0 -31
- package/dist/showcase/assets/badge-check-TFWm1m3F.js +0 -1
- package/dist/showcase/assets/bell-CmuQlO_k.js +0 -1
- package/dist/showcase/assets/bot-Bu518AJB.js +0 -1
- package/dist/showcase/assets/box-D-wrSdOJ.js +0 -1
- package/dist/showcase/assets/braces-CgCdmdAl.js +0 -1
- package/dist/showcase/assets/brain-DkHdwgHO.js +0 -1
- package/dist/showcase/assets/brand-CpovnVoG.js +0 -36
- package/dist/showcase/assets/breadcrumb-BUc0WC5d.js +0 -1
- package/dist/showcase/assets/breadcrumb-Do_Dazt1.js +0 -52
- package/dist/showcase/assets/breadcrumbs-Bj21o2zm.js +0 -1
- package/dist/showcase/assets/briefcase-CQBh2kok.js +0 -1
- package/dist/showcase/assets/building-2-D07Ej6iR.js +0 -1
- package/dist/showcase/assets/button-CCZ4KEGQ.js +0 -44
- package/dist/showcase/assets/button-group-BTjeHOvz.js +0 -1
- package/dist/showcase/assets/buttons-D45Wwiwn.js +0 -272
- package/dist/showcase/assets/calendar-BsEWULmZ.js +0 -16
- package/dist/showcase/assets/calendar-CkPefzIO.js +0 -1
- package/dist/showcase/assets/calendar-DZlT3qTq.js +0 -1
- package/dist/showcase/assets/calendar-days-C9awTMru.js +0 -1
- package/dist/showcase/assets/camera-CQhMw-RD.js +0 -1
- package/dist/showcase/assets/card-CKrz_UHt.js +0 -1
- package/dist/showcase/assets/card-DZgZgjXO.js +0 -188
- package/dist/showcase/assets/card-primitives-CpkDLK3Y.js +0 -1
- package/dist/showcase/assets/card-radio-group-BjXwMI4v.js +0 -1
- package/dist/showcase/assets/cards-Cd24XZ9l.js +0 -353
- package/dist/showcase/assets/carousel-Doon04yO.js +0 -449
- package/dist/showcase/assets/cell-renderers-CTay3duH.js +0 -1
- package/dist/showcase/assets/chart-CkvbdpWw.js +0 -358
- package/dist/showcase/assets/chart-column-Dz57kUMl.js +0 -1
- package/dist/showcase/assets/checkbox-L-L4-wvA.js +0 -1
- package/dist/showcase/assets/checkbox-sP254E7e.js +0 -1
- package/dist/showcase/assets/chevron-down-CLc_a2Ua.js +0 -1
- package/dist/showcase/assets/chevron-left-CMRIGOJt.js +0 -1
- package/dist/showcase/assets/chevron-up-BDw6LdDZ.js +0 -1
- package/dist/showcase/assets/chevrons-up-down-C519RKki.js +0 -1
- package/dist/showcase/assets/circle-B_tOHWTY.js +0 -1
- package/dist/showcase/assets/circle-alert-B56AFULT.js +0 -1
- package/dist/showcase/assets/circle-check-B4XZj4Ty.js +0 -1
- package/dist/showcase/assets/circle-check-big-C0iEkwPB.js +0 -1
- package/dist/showcase/assets/circle-dot-DPdJZkc6.js +0 -1
- package/dist/showcase/assets/circle-question-mark-LTetdrq6.js +0 -1
- package/dist/showcase/assets/circle-x-B4FwM-sI.js +0 -1
- package/dist/showcase/assets/clock-3-DZhjBuw8.js +0 -1
- package/dist/showcase/assets/clock-B9Fna2Q3.js +0 -1
- package/dist/showcase/assets/code-xml-B6Xb_vIg.js +0 -1
- package/dist/showcase/assets/collapsible-Bf7Oo37i.js +0 -27
- package/dist/showcase/assets/collapsible-BfLeooy8.js +0 -1
- package/dist/showcase/assets/combobox-4NYfJznY.js +0 -685
- package/dist/showcase/assets/command-7jRRucHf.js +0 -1
- package/dist/showcase/assets/command-D56CjgNc.js +0 -1
- package/dist/showcase/assets/comment-composer-BWeXIZfK.js +0 -1
- package/dist/showcase/assets/comment-item-ChkiK-ut.js +0 -1
- package/dist/showcase/assets/comments-YnEop7v3.js +0 -357
- package/dist/showcase/assets/commerce-7XxWJChs.js +0 -267
- package/dist/showcase/assets/composite-CHcyYCsk.js +0 -1
- package/dist/showcase/assets/contact-card-BXw-VuBm.js +0 -65
- package/dist/showcase/assets/content-container-C4uopCBg.js +0 -1
- package/dist/showcase/assets/copyable-CjVYEJ0P.js +0 -1
- package/dist/showcase/assets/copyable-Cz2jW7yL.js +0 -96
- package/dist/showcase/assets/course-card-CvK3dw9W.js +0 -77
- package/dist/showcase/assets/cpu-Vk5WgcC1.js +0 -1
- package/dist/showcase/assets/credit-card-CaigqZGk.js +0 -1
- package/dist/showcase/assets/css-variables-hLaBmeMt.js +0 -1190
- package/dist/showcase/assets/currency-yO1giHp1.js +0 -149
- package/dist/showcase/assets/dark-surfaces-BPQnyk9a.js +0 -90
- package/dist/showcase/assets/data-view-CjjXn5VT.js +0 -124
- package/dist/showcase/assets/data-view-DF0n8uva.js +0 -4
- package/dist/showcase/assets/database-ChUBDe8E.js +0 -1
- package/dist/showcase/assets/date-block-DUg1Oyn4.js +0 -1
- package/dist/showcase/assets/date-picker-CoQPZa34.js +0 -1
- package/dist/showcase/assets/date-pickers-B-IUbyXw.js +0 -73
- package/dist/showcase/assets/dense-info-zVQSWqOU.js +0 -106
- package/dist/showcase/assets/design-system-consistency-Bnz_h3-6.js +0 -264
- package/dist/showcase/assets/dialog-BtilpgxJ.js +0 -1
- package/dist/showcase/assets/dialog-kf9WwmTC.js +0 -1
- package/dist/showcase/assets/display-utilities-BBzG5EPX.js +0 -267
- package/dist/showcase/assets/dist-9gFIhkw-.js +0 -45
- package/dist/showcase/assets/dist-CGpz_7Mu.js +0 -1
- package/dist/showcase/assets/dollar-sign-CWbYI3Pd.js +0 -1
- package/dist/showcase/assets/download-Bt_z-poH.js +0 -1
- package/dist/showcase/assets/dropdown-menu-C1_SYTHm.js +0 -1
- package/dist/showcase/assets/dropzone-D5BGVTnl.js +0 -1
- package/dist/showcase/assets/earth-sP5mIgG3.js +0 -1
- package/dist/showcase/assets/ellipsis-vertical-BD7kMOzj.js +0 -1
- package/dist/showcase/assets/ellipsis-yqIF49C8.js +0 -1
- package/dist/showcase/assets/empty-DIrJgtrh.js +0 -1
- package/dist/showcase/assets/empty-item-GgnZk2yf.js +0 -49
- package/dist/showcase/assets/empty-state-ZGKkJ6sf.js +0 -190
- package/dist/showcase/assets/empty-state-n_Fspzt-.js +0 -1
- package/dist/showcase/assets/enhanced-activities-CCw_hZnZ.js +0 -357
- package/dist/showcase/assets/enhanced-combobox-bBF-ADDs.js +0 -1
- package/dist/showcase/assets/esm-CyFPn936.js +0 -2
- package/dist/showcase/assets/event-calendar-Czo7yBDx.js +0 -138
- package/dist/showcase/assets/event-log-DJ3B3nMV.js +0 -330
- package/dist/showcase/assets/example-eGsLGIcp.js +0 -1
- package/dist/showcase/assets/external-link-DPOQEVWH.js +0 -1
- package/dist/showcase/assets/eye-CN92NVL0.js +0 -1
- package/dist/showcase/assets/feature-announcement-BXkSW17e.js +0 -34
- package/dist/showcase/assets/file-CFHePlKG.js +0 -1
- package/dist/showcase/assets/file-text--WYCYQMw.js +0 -1
- package/dist/showcase/assets/filter-layout-B35gGmcO.js +0 -1
- package/dist/showcase/assets/filters-GDW_oiT3.js +0 -139
- package/dist/showcase/assets/flag-XsT9XFPr.js +0 -1
- package/dist/showcase/assets/folder-open-RtsQ8vxf.js +0 -1
- package/dist/showcase/assets/form-field-Bijd1Gex.js +0 -1
- package/dist/showcase/assets/format-Ckw4OM66.js +0 -1
- package/dist/showcase/assets/forms-00bU7LN8.js +0 -915
- package/dist/showcase/assets/funnel-qu25WlXD.js +0 -1
- package/dist/showcase/assets/generic-Bf82Wiol.js +0 -1
- package/dist/showcase/assets/getPseudoElementBounds-BR4_m2HH.js +0 -1
- package/dist/showcase/assets/gift-D4GQoqzV.js +0 -1
- package/dist/showcase/assets/giftcard-cards-CMutwaAY.js +0 -85
- package/dist/showcase/assets/git-branch-B2QG2zRg.js +0 -1
- package/dist/showcase/assets/global-search-CRAB9TSF.js +0 -1
- package/dist/showcase/assets/global-search-DY0cKfhY.js +0 -215
- package/dist/showcase/assets/globe-BxZW28rG.js +0 -1
- package/dist/showcase/assets/gradient-card-CQGnXG8r.js +0 -58
- package/dist/showcase/assets/hash-CsRtIoKK.js +0 -1
- package/dist/showcase/assets/header-DzYOgZLP.js +0 -1
- package/dist/showcase/assets/header-notifications-D_CJPbvs.js +0 -1
- package/dist/showcase/assets/heart-B2YsYprq.js +0 -1
- package/dist/showcase/assets/hooks-BhUMA4Tb.js +0 -220
- package/dist/showcase/assets/house-HeRFNhI0.js +0 -1
- package/dist/showcase/assets/icon-badge-CpDkc-S0.js +0 -37
- package/dist/showcase/assets/icon-badge-eNEGgpAV.js +0 -1
- package/dist/showcase/assets/image-T88JyDag.js +0 -1
- package/dist/showcase/assets/inbox-DLrLLnTR.js +0 -1
- package/dist/showcase/assets/index-DDZl6kOS.js +0 -10
- package/dist/showcase/assets/index-nOkXemgw.css +0 -2
- package/dist/showcase/assets/inertValue-BajuuRy4.js +0 -1
- package/dist/showcase/assets/info-CNYfw2Yz.js +0 -1
- package/dist/showcase/assets/inline-stat-BN6yhDR5.js +0 -15
- package/dist/showcase/assets/inline-stat-Bqw3lVfk.js +0 -1
- package/dist/showcase/assets/input-C-9K6F0N.js +0 -1
- package/dist/showcase/assets/input-DaZzfkZV.js +0 -1
- package/dist/showcase/assets/input-group-DE-Xdhv4.js +0 -1
- package/dist/showcase/assets/input-group-DIQZnytn.js +0 -47
- package/dist/showcase/assets/inputs-Cl_JgSR4.js +0 -155
- package/dist/showcase/assets/installation-DdhD4Dkq.js +0 -134
- package/dist/showcase/assets/invoice-header-DOs2ACqQ.js +0 -36
- package/dist/showcase/assets/invoice-items-1EuA62mF.js +0 -36
- package/dist/showcase/assets/invoice-mini-vCrYEtWp.js +0 -14
- package/dist/showcase/assets/invoice-table--mDTs1Iz.js +0 -30
- package/dist/showcase/assets/isSameDay-BNB1yam4.js +0 -1
- package/dist/showcase/assets/isToday-BugOpGJC.js +0 -1
- package/dist/showcase/assets/italic-Ck4UD2ZT.js +0 -1
- package/dist/showcase/assets/item-BcesxqFS.js +0 -139
- package/dist/showcase/assets/item-BgPlwUMv.js +0 -1
- package/dist/showcase/assets/item-CB9k_rmo.js +0 -1
- package/dist/showcase/assets/kanban-cPuSVqWY.js +0 -188
- package/dist/showcase/assets/key-round-BmYjd5dk.js +0 -1
- package/dist/showcase/assets/label-BTIBJBqN.js +0 -1
- package/dist/showcase/assets/languages-he6FNXRs.js +0 -1
- package/dist/showcase/assets/layers-B_48DtOz.js +0 -1
- package/dist/showcase/assets/layout-app-shell-zwLv6jTP.js +0 -608
- package/dist/showcase/assets/layout-auth-2Zv5lr52.js +0 -790
- package/dist/showcase/assets/layout-containers-Dzw3xlKn.js +0 -101
- package/dist/showcase/assets/layout-header-TJ-WVmG3.js +0 -203
- package/dist/showcase/assets/layout-page-CIVQCKXK.js +0 -314
- package/dist/showcase/assets/layout-primitives-i_O81fzT.js +0 -34
- package/dist/showcase/assets/layout-sidebar-eH_pwBq_.js +0 -224
- package/dist/showcase/assets/layout-users-CWSaFBLj.js +0 -117
- package/dist/showcase/assets/layout-workspace-w3oe32GE.js +0 -191
- package/dist/showcase/assets/lib-CoS0xjP8.js +0 -1
- package/dist/showcase/assets/list-checks-DecRPpK3.js +0 -1
- package/dist/showcase/assets/lock-D9f8uXol.js +0 -1
- package/dist/showcase/assets/lock-keyhole-C20eixH6.js +0 -1
- package/dist/showcase/assets/mail-CVgP8Qlo.js +0 -1
- package/dist/showcase/assets/mail-check-mplTKcSH.js +0 -1
- package/dist/showcase/assets/map-B6OGeOup.js +0 -124
- package/dist/showcase/assets/map-pin-BZXSwrzT.js +0 -1
- package/dist/showcase/assets/media-library-DSlVIM1Q.js +0 -699
- package/dist/showcase/assets/mention-inline-suggestions-CNAEeXgy.js +0 -1
- package/dist/showcase/assets/mentions-Cb3g4hDN.js +0 -138
- package/dist/showcase/assets/menus-CE0Hlj8N.js +0 -171
- package/dist/showcase/assets/message-square-HliU8vbW.js +0 -1
- package/dist/showcase/assets/metadata-list-CJ5v5Bvc.js +0 -286
- package/dist/showcase/assets/metadata-list-DY92-pw2.js +0 -1
- package/dist/showcase/assets/metric-DxMTjIvU.js +0 -1
- package/dist/showcase/assets/metric-bar-cW9nWCRl.js +0 -1
- package/dist/showcase/assets/metric-grid-CvfO52X1.js +0 -1
- package/dist/showcase/assets/metric-trend-chip-BmjQdRus.js +0 -1
- package/dist/showcase/assets/metrics-analytics-bar-BZqB5d1y.js +0 -44
- package/dist/showcase/assets/metrics-analytics-cards-jAhlrQCI.js +0 -50
- package/dist/showcase/assets/metrics-comparison-DURZ6qEL.js +0 -76
- package/dist/showcase/assets/metrics-heatmap-HhJDBguh.js +0 -27
- package/dist/showcase/assets/metrics-inline-badge-Dq5k-P6F.js +0 -17
- package/dist/showcase/assets/metrics-kpi-row-DXzhwa6z.js +0 -31
- package/dist/showcase/assets/metrics-micro-grid-C6O5b0wP.js +0 -42
- package/dist/showcase/assets/metrics-overview-Hv2mseb3.js +0 -192
- package/dist/showcase/assets/metrics-stat-cards-CW42vBCS.js +0 -54
- package/dist/showcase/assets/minus-BW62vCxf.js +0 -1
- package/dist/showcase/assets/money-display-CAdGk5Lr.js +0 -1
- package/dist/showcase/assets/month-year-picker-dHuvgz1E.js +0 -1
- package/dist/showcase/assets/navigation-C4uSLvbZ.js +0 -90
- package/dist/showcase/assets/navigation-SjsZrtIc.js +0 -231
- package/dist/showcase/assets/navigation-extras-CMVNVskk.js +0 -43
- package/dist/showcase/assets/onboarding-checklist-C1jwRdMU.js +0 -119
- package/dist/showcase/assets/overflow-tab-bar-BYFLpl5w.js +0 -1
- package/dist/showcase/assets/overlays-0Y8MAz39.js +0 -159
- package/dist/showcase/assets/overlays-ClOnjahL.js +0 -408
- package/dist/showcase/assets/overview-B5ztGmTp.js +0 -184
- package/dist/showcase/assets/package-check-MeSw6bS4.js +0 -1
- package/dist/showcase/assets/package-vYJ0q0QM.js +0 -1
- package/dist/showcase/assets/page-4lMKtBQ7.js +0 -1
- package/dist/showcase/assets/page-action-button-C5-TGSzy.js +0 -1
- package/dist/showcase/assets/page-header-C_-KYryO.js +0 -1
- package/dist/showcase/assets/pagination-D3L3Iwus.js +0 -1
- package/dist/showcase/assets/pagination-dZXPxwHx.js +0 -42
- package/dist/showcase/assets/paperclip-BZhdPOw8.js +0 -1
- package/dist/showcase/assets/password-input-CDSMtGxt.js +0 -1
- package/dist/showcase/assets/pencil-DiYr3CZ9.js +0 -1
- package/dist/showcase/assets/phone-Dm5qzlG8.js +0 -1
- package/dist/showcase/assets/plus-pfGaA3St.js +0 -1
- package/dist/showcase/assets/popover-CjVWDO7C.js +0 -1
- package/dist/showcase/assets/popover-menu-JcZyGV3Y.js +0 -1
- package/dist/showcase/assets/popover-pZ4Jbp0s.js +0 -1
- package/dist/showcase/assets/products-C62MKtAR.js +0 -423
- package/dist/showcase/assets/progress-Btw-ZUaU.js +0 -18
- package/dist/showcase/assets/progress-DpB5LL6R.js +0 -1
- package/dist/showcase/assets/props-table-Bjc9IHmp.js +0 -1
- package/dist/showcase/assets/quote-DcxVd1fj.js +0 -1
- package/dist/showcase/assets/receipt-BHns-S5Q.js +0 -1
- package/dist/showcase/assets/receipt-text-L0aYasyt.js +0 -1
- package/dist/showcase/assets/refinement-guide-BBOGBJ4I.js +0 -189
- package/dist/showcase/assets/refresh-cw-z6mlm0HI.js +0 -1
- package/dist/showcase/assets/resolveValueLabel-hsarzg5A.js +0 -1
- package/dist/showcase/assets/resource-CIn_zKZ4.js +0 -139
- package/dist/showcase/assets/resource-DxktLgEK.js +0 -1
- package/dist/showcase/assets/resource-selector-card-dkcEQ6bl.js +0 -43
- package/dist/showcase/assets/rich-text-editor-Dd-rWisw.js +0 -124
- package/dist/showcase/assets/rich-text-editor-DvJMFj48.js +0 -143
- package/dist/showcase/assets/rotate-ccw-DEz6nb5P.js +0 -1
- package/dist/showcase/assets/route-BeXaXTk8.js +0 -1
- package/dist/showcase/assets/save-EE7Tc5OT.js +0 -1
- package/dist/showcase/assets/schema-form-RK9Zpz1E.js +0 -327
- package/dist/showcase/assets/scroll-area-BejQJ0Q1.js +0 -32
- package/dist/showcase/assets/scroll-area-DS8LJ7LG.js +0 -1
- package/dist/showcase/assets/section-Cv8i4DIx.js +0 -1
- package/dist/showcase/assets/select-Cuy3YKW9.js +0 -1
- package/dist/showcase/assets/select-qFy1jm91.js +0 -1
- package/dist/showcase/assets/send-CXv0ST9u.js +0 -1
- package/dist/showcase/assets/separator-CecGyBaV.js +0 -1
- package/dist/showcase/assets/separator-CqtFQXrk.js +0 -28
- package/dist/showcase/assets/settings-2-CCeMwMOj.js +0 -1
- package/dist/showcase/assets/settings-CXjN6wTC.js +0 -1
- package/dist/showcase/assets/sheet-Csyrmkqp.js +0 -1
- package/dist/showcase/assets/shield-DR0ZfAFA.js +0 -1
- package/dist/showcase/assets/shield-alert-Bp1iFJ2q.js +0 -1
- package/dist/showcase/assets/shield-check-ClL4B_Cd.js +0 -1
- package/dist/showcase/assets/shopping-bag-DnSmbPUX.js +0 -1
- package/dist/showcase/assets/showcase-CQKt5VGi.js +0 -132
- package/dist/showcase/assets/sidebar-CXy94md1.js +0 -1
- package/dist/showcase/assets/sidebar.context-C8gkOwJ5.js +0 -1
- package/dist/showcase/assets/skeleton-B8wC5P66.js +0 -29
- package/dist/showcase/assets/skeleton-DBlCLlBC.js +0 -1
- package/dist/showcase/assets/slider-BcjkNx6W.js +0 -1
- package/dist/showcase/assets/smart-card-Cg6rtWH9.js +0 -1
- package/dist/showcase/assets/sonner-ZGBQ13wS.js +0 -22
- package/dist/showcase/assets/sortable.esm-CGFWc-Cn.js +0 -5
- package/dist/showcase/assets/sparkles-q1-9JZqa.js +0 -1
- package/dist/showcase/assets/spinner-CKg8QLHu.js +0 -1
- package/dist/showcase/assets/spinner-D1Ao9j9T.js +0 -49
- package/dist/showcase/assets/spinner-oahLIkgb.js +0 -30
- package/dist/showcase/assets/square-pen-DZ3bQJia.js +0 -1
- package/dist/showcase/assets/stacked-avatars-CKPtb3Hj.js +0 -1
- package/dist/showcase/assets/star-suetD-KI.js +0 -1
- package/dist/showcase/assets/startOfDay-OjIsUeiv.js +0 -1
- package/dist/showcase/assets/styles-1mYOoC2k.js +0 -1
- package/dist/showcase/assets/suggestions-DLYaI-In.js +0 -126
- package/dist/showcase/assets/switch-CTTrJNwo.js +0 -1
- package/dist/showcase/assets/switch-ChJWWmxN.js +0 -1
- package/dist/showcase/assets/sync-DsHYydvo.js +0 -124
- package/dist/showcase/assets/table-Ck2ptin2.js +0 -686
- package/dist/showcase/assets/table-DyJ9oADQ.js +0 -1
- package/dist/showcase/assets/table-actions-COU4zHfh.js +0 -1
- package/dist/showcase/assets/tabs-Bl_RHGIw.js +0 -1
- package/dist/showcase/assets/tabs-DS-4VSkb.js +0 -19
- package/dist/showcase/assets/tags-input-BlYzb5fF.js +0 -1
- package/dist/showcase/assets/text-button-OPdNs3fb.js +0 -1
- package/dist/showcase/assets/text-link-D27gqGeg.js +0 -1
- package/dist/showcase/assets/textarea-DpC7J5F-.js +0 -1
- package/dist/showcase/assets/textarea-JtXUjxvc.js +0 -1
- package/dist/showcase/assets/timelines-DQM-B4Xo.js +0 -200
- package/dist/showcase/assets/toggle-group-CMneKREH.js +0 -1
- package/dist/showcase/assets/toggles-CAXXgjO_.js +0 -71
- package/dist/showcase/assets/toggles-group-CHRqrpoM.js +0 -32
- package/dist/showcase/assets/tooltip-CwGZAioX.js +0 -31
- package/dist/showcase/assets/trash-2-BpMb9Zbb.js +0 -1
- package/dist/showcase/assets/trending-up-B1BzitCg.js +0 -1
- package/dist/showcase/assets/truck-CDSE5-HZ.js +0 -1
- package/dist/showcase/assets/typography-BoNJ1hRZ.js +0 -223
- package/dist/showcase/assets/ui-badge-Djh6NiB2.js +0 -28
- package/dist/showcase/assets/ui-card-QC_rl_H2.js +0 -30
- package/dist/showcase/assets/ui-table-qAGsc3qN.js +0 -42
- package/dist/showcase/assets/upload-tray-DKCJgW5u.js +0 -138
- package/dist/showcase/assets/use-layout-link-BPlsZ8Ys.js +0 -1
- package/dist/showcase/assets/useAnchoredPopupScrollLock-526MebAC.js +0 -1
- package/dist/showcase/assets/useAriaLabelledBy-CqySZiH9.js +0 -1
- package/dist/showcase/assets/useCollapsiblePanel-DWX7LbGX.js +0 -1
- package/dist/showcase/assets/useCompositeItem-DGEBUXgE.js +0 -1
- package/dist/showcase/assets/useCompositeListItem-B2nuNlc2.js +0 -1
- package/dist/showcase/assets/useLabelableId-DY4O1lpt.js +0 -1
- package/dist/showcase/assets/useOpenInteractionType-DxwujDvt.js +0 -1
- package/dist/showcase/assets/useRender-BPoNv-Lm.js +0 -1
- package/dist/showcase/assets/useTriggerFocusGuards-BnOSAjfy.js +0 -1
- package/dist/showcase/assets/useValueChanged-CXmDOWxx.js +0 -1
- package/dist/showcase/assets/user-BGchdtV_.js +0 -1
- package/dist/showcase/assets/user-plus-BifI_xVA.js +0 -1
- package/dist/showcase/assets/users-Cl5yYqdg.js +0 -1
- package/dist/showcase/assets/vendor-profile-BNW4FYna.js +0 -37
- package/dist/showcase/assets/video-BtQPixYN.js +0 -1
- package/dist/showcase/assets/wrench-CRalc5fG.js +0 -1
- package/dist/showcase/assets/x-D6hUY89S.js +0 -1
- package/dist/showcase/assets/zap-v_qbqeI5.js +0 -1
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
import{n as e,r as t}from"./chunk-QTnfLwEv.js";import{t as n}from"./react-sKtkuLrH.js";import{f as r,n as i,o as a,p as o,t as s}from"./section-DYfGx1Q5.js";import{t as c}from"./arrow-left-DtILDtAv.js";import{t as l}from"./arrow-right-TnZMfDbP.js";import{t as u}from"./box-lhUq3Chj.js";import{Dr as d,r as f,t as p}from"./example-CzbL5xoH.js";import{t as m}from"./eye-Dq0mLKrs.js";import{t as h}from"./file-text-JGaJQ8Wd.js";import{t as g}from"./image-9IQW7agU.js";import{t as _}from"./languages-XxP8Uu82.js";import{t as v}from"./layers-Bi_-RuHS.js";import{t as y}from"./list-checks-Dhr60VvL.js";import{t as b}from"./package-check-5LQwCfGh.js";import{t as x}from"./pencil-C1TXsTfP.js";import{t as S}from"./plus-CKBaO4jG.js";import{t as C}from"./receipt-text-stSsUTV5.js";import{t as w}from"./save-DjC_iy0t.js";import{t as T}from"./shield-check-D9eDVcJ1.js";import{t as E}from"./trash-2-BE4XUI2g.js";import{t as ee}from"./x-iCqjAC2D.js";import{N as D,d as O,i as k,l as te,n as A,s as ne}from"./index-DN09-Vts.js";import{t as j}from"./props-table-izArO1Pv.js";import{t as M}from"./smart-card-CVwEPwfI.js";import{c as N,i as P,n as F,o as I,r as L,t as R,u as re}from"./item-DTsZnSJG.js";import{t as z}from"./input-D_T9s_tn.js";import{t as ie}from"./textarea-JPgPLhyk.js";import{t as ae}from"./select-BCJGhRpc.js";import{n as B}from"./form-field-CQuSWnj8.js";import{t as oe}from"./progress-fYPoCyf-.js";import{t as V}from"./metadata-list-Drvz5mwy.js";import{t as se}from"./table-actions-Clo3WEfM.js";import{t as ce}from"./empty-state-dsivN4CA.js";import{t as le}from"./inline-stat-BkLIKCvD.js";var ue=te(`tags`,[[`path`,{d:`M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z`,key:`16rjxf`}],[`path`,{d:`M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193`,key:`178nd4`}],[`circle`,{cx:`10.5`,cy:`6.5`,r:`.5`,fill:`currentColor`,key:`12ikhr`}]]),de={title:`Readiness`,description:`Publishing checks and operational setup.`,scoreLabel:`Overall readiness`,progressLabel:`Readiness progress`,createLabel:`Add check`,editLabel:`Edit check`,deleteLabel:`Delete check`,actionsLabel:`Check actions`,emptyTitle:`No readiness checks`,emptyDescription:`Pass readiness items from your product workflow to show progress.`,actionLabel:`Open`},fe={title:`Structure`,description:`Media, taxonomy, options, and content coverage.`,createLabel:`Add metric`,viewLabel:`Open`,editLabel:`Edit metric`,deleteLabel:`Delete metric`,actionsLabel:`Metric actions`,emptyTitle:`No structure metrics`,emptyDescription:`Pass structure metrics to summarize the product setup.`},pe={title:`Operations`,description:`Availability, channels, service rules, and fulfilment signals.`,createLabel:`Add signal`,editLabel:`Edit signal`,deleteLabel:`Delete signal`,actionsLabel:`Signal actions`,emptyTitle:`No operational signals`,emptyDescription:`Pass operational rows to show channel and availability health.`,actionLabel:`Open`},me={title:`Product details`,description:`Core identity and catalogue fields.`,editLabel:`Edit details`,emptyTitle:`No details`,emptyDescription:`Pass metadata rows to render product details.`},he={title:`Contract`,description:`Commercial terms, pricing rules, and customer-facing conditions.`,termsTitle:`Terms`,rulesTitle:`Rules`,actionLabel:`Manage contract`,editLabel:`Edit contract`,createRuleLabel:`Add rule`,viewRuleLabel:`Open rule`,editRuleLabel:`Edit rule`,deleteRuleLabel:`Delete rule`,ruleActionsLabel:`Rule actions`,emptyTitle:`No contract summary`,emptyDescription:`Pass metrics, terms, or rules to summarize the product contract.`},ge={title:`Options`,description:`Variant-driving choices and add-ons customers can select.`,manageLabel:`Manage options`,createLabel:`Add option`,viewLabel:`Open option`,editLabel:`Edit option`,deleteLabel:`Delete option`,actionsLabel:`Option actions`,emptyTitle:`No options`,emptyDescription:`Pass option groups to summarize configurable product choices.`},_e={viewLabel:`Open option`,editLabel:`Edit option`,deleteLabel:`Delete option`,actionsLabel:`Option actions`},ve={title:`Quote preview`,description:`How the product appears in a compact customer quote.`,subtotalLabel:`Subtotal`,taxLabel:`Tax`,discountLabel:`Discount`,totalLabel:`Total`,actionLabel:`Open quote`,createLineLabel:`Add line`,viewLineLabel:`Open line`,editLineLabel:`Edit line`,deleteLineLabel:`Delete line`,lineActionsLabel:`Line actions`,emptyTitle:`No quote lines`,emptyDescription:`Pass quote lines to preview pricing.`},ye={title:`Policies`,description:`Cancellation, booking, service, and customer-facing rules.`,createLabel:`Add policy`,viewLabel:`View`,editLabel:`Edit policy`,deleteLabel:`Delete policy`,actionsLabel:`Policy actions`,emptyTitle:`No policies`,emptyDescription:`Pass policies to summarize customer-facing rules.`},be={title:`Variants`,description:`Sellable combinations with price, availability, and SKU.`,createLabel:`Add variant`,viewLabel:`Open variant`,editLabel:`Edit`,duplicateLabel:`Duplicate`,deleteLabel:`Delete`,emptyTitle:`No variants`,emptyDescription:`Create or pass variants to show sellable rows.`,headers:{variant:`Variant`,sku:`SKU`,price:`Price`,inventory:`Available`,channels:`Channels`,updated:`Updated`,actions:`Actions`}},xe={viewLabel:`Open variant`,editLabel:`Edit`,duplicateLabel:`Duplicate`,deleteLabel:`Delete`,actionsLabel:`Variant actions`},Se={title:`Variant`,description:`Sellable variant details, options, pricing, and fulfilment data.`,backLabel:`Back`,factsTitle:`Variant facts`,selectedOptionsTitle:`Selected options`,relatedOptionsTitle:`Option groups`,viewOptionLabel:`Open option`,emptyTitle:`No variant selected`,emptyDescription:`Pass a variant to render a standalone variant detail surface.`,metadata:{price:`Price`,inventory:`Available`,sku:`SKU`,channels:`Channels`,updated:`Updated`}},Ce={title:`Edit variant`,description:`Controlled form for variant identity, pricing, inventory, and option values.`,identityTitle:`Identity`,commercialTitle:`Commercial setup`,optionsTitle:`Options`,saveLabel:`Save variant`,savingLabel:`Saving`,cancelLabel:`Cancel`,deleteLabel:`Delete variant`,statusPlaceholder:`Select status`,optionPlaceholder:`Select value`,fields:{name:`Name`,description:`Description`,sku:`SKU`,price:`Price`,inventory:`Inventory`,status:`Status`,channels:`Channels`},placeholders:{name:`750 ml bottle`,description:`Standard retail pack`,sku:`BAL-750-CL`,price:`US$ 24.00`,inventory:`82`,status:`Active`,channels:`Online store, POS`}},we={mainLabel:`Product overview`,railLabel:`Product supporting information`},H=O();function U({title:e,description:t,action:n,className:r}){return(0,H.jsx)(ce,{padding:`small`,border:!0,title:e,description:t,actions:n,className:A(`product-empty-state--component bg-muted/20`,r)})}var Te={neutral:`secondary`,primary:`primary`,success:`success`,warning:`warning`,error:`error`,info:`info`},W={neutral:`border-border bg-card text-muted-foreground`,primary:`border-primary/20 bg-primary/5 text-primary`,success:`border-success/20 bg-success/5 text-success`,warning:`border-warning/30 bg-warning/8 text-warning`,error:`border-destructive/25 bg-destructive/8 text-destructive`,info:`border-info/20 bg-info/5 text-info`};function Ee(e){return Number.isFinite(e)?Math.min(100,Math.max(0,Math.round(e))):0}function G({tone:e=`neutral`}){return(0,H.jsx)(`span`,{"aria-hidden":`true`,className:A(`product-tone-dot--component size-2 rounded-full`,{"bg-muted-foreground":e===`neutral`,"bg-primary":e===`primary`,"bg-success":e===`success`,"bg-warning":e===`warning`,"bg-destructive":e===`error`,"bg-info":e===`info`})})}function De({metric:e}){let t=e.tone??`neutral`;return(0,H.jsxs)(`div`,{className:A(`product-metric-tile--component rounded-md border px-3 py-2.5`,W[t]),children:[(0,H.jsxs)(`div`,{className:`flex items-start justify-between gap-2`,children:[(0,H.jsxs)(`div`,{className:`min-w-0 space-y-0.5`,children:[(0,H.jsx)(o,{size:`xs`,type:t===`neutral`?`secondary`:`main`,className:`truncate`,children:e.label}),(0,H.jsx)(o,{weight:`semibold`,className:`tabular-nums`,children:e.value})]}),`icon`in e&&!!e.icon&&(0,H.jsx)(`div`,{className:`shrink-0 opacity-80`,children:e.icon})]}),!!e.description&&(0,H.jsx)(o,{size:`xs`,type:`secondary`,className:`mt-1.5 leading-snug`,children:e.description})]})}function K({item:e,actions:t,menuLabel:n,className:r}){return t.length===0?null:(0,H.jsx)(`div`,{className:A(`product-row-actions--component flex justify-end`,r),children:(0,H.jsx)(se,{row:e,actions:t,menuLabel:n,displayMode:`menu`})})}function Oe({metric:e,actions:t}){let n=e.tone??`neutral`;return(0,H.jsxs)(R,{className:`product-structure-metric-row--component product-structure-card--item`,children:[(0,H.jsx)(N,{variant:`icon`,className:A(`rounded-full border`,W[n]),children:e.icon??(0,H.jsx)(G,{tone:n})}),(0,H.jsxs)(L,{className:`min-w-0 sm:min-w-48`,children:[(0,H.jsx)(re,{children:e.label}),!!e.description&&(0,H.jsx)(P,{clamp:2,children:e.description})]}),(0,H.jsxs)(F,{className:`ml-auto shrink-0 gap-2`,children:[(0,H.jsx)(o,{tag:`span`,size:`xs`,weight:`semibold`,className:`tabular-nums`,children:e.value}),t]})]})}function ke({item:e,actionFallback:t,onSelect:n,actions:r}){let i=e.tone??(e.completed?`success`:`neutral`),o=e.onSelect??n;return(0,H.jsxs)(R,{className:`product-readiness-row--component product-readiness-card--item`,children:[(0,H.jsx)(N,{variant:`icon`,className:A(`rounded-full border`,W[i]),children:(0,H.jsx)(G,{tone:i})}),(0,H.jsxs)(L,{className:`min-w-0 sm:min-w-48`,children:[(0,H.jsx)(re,{children:e.label}),!!e.description&&(0,H.jsx)(P,{clamp:2,children:e.description})]}),!!(e.value||o||r)&&(0,H.jsxs)(F,{className:`ml-auto shrink-0 flex-wrap justify-end gap-2`,children:[!!e.value&&(0,H.jsx)(a,{variant:Te[i],children:e.value}),!!o&&(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:o,icon:l,iconPosition:`right`,children:e.actionLabel??t}),r]})]})}function Ae({item:e,actionFallback:t,onSelect:n,actions:r}){let i=e.tone??`neutral`,a=e.onSelect??n;return(0,H.jsxs)(R,{className:`product-operation-row--component product-operations-card--item`,children:[(0,H.jsx)(N,{variant:`icon`,className:A(`rounded-full border`,W[i]),children:(0,H.jsx)(G,{tone:i})}),(0,H.jsxs)(L,{className:`min-w-0 sm:min-w-48`,children:[(0,H.jsx)(re,{children:e.label}),!!e.description&&(0,H.jsx)(P,{clamp:2,children:e.description})]}),!!(e.value||a||r)&&(0,H.jsxs)(F,{className:`ml-auto shrink-0 flex-wrap justify-end gap-2`,children:[!!e.value&&(0,H.jsx)(o,{tag:`span`,size:`xs`,weight:`semibold`,children:e.value}),!!a&&(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:a,icon:l,iconPosition:`right`,children:e.actionLabel??t}),r]})]})}function q({item:e,actionLabel:t,onSelect:n,actions:r}){let i=e.tone??`neutral`,s=`values`in e?e.values:void 0;return(0,H.jsxs)(R,{className:`product-summary-row--component`,children:[(0,H.jsx)(N,{variant:`icon`,className:A(`rounded-full border`,W[i]),children:(0,H.jsx)(G,{tone:i})}),(0,H.jsxs)(L,{className:`min-w-0 sm:min-w-48`,children:[(0,H.jsx)(re,{children:e.label}),!!e.description&&(0,H.jsx)(P,{clamp:2,children:e.description}),!!s?.length&&(0,H.jsx)(`div`,{className:`mt-2 flex flex-wrap gap-1`,children:s.map((e,t)=>(0,H.jsx)(a,{variant:`secondary`,children:e},t))})]}),!!(e.value||e.badge||n||r)&&(0,H.jsxs)(F,{className:`ml-auto shrink-0 flex-wrap justify-end gap-2`,children:[!!e.value&&(0,H.jsx)(o,{tag:`span`,size:`xs`,weight:`semibold`,children:e.value}),!!e.badge&&e.badge,!!n&&(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:n,icon:l,iconPosition:`right`,children:t}),r]})]})}function je({metrics:e=[],terms:t=[],rules:n=[],onOpenContract:r,onEditContract:i,onCreateRule:a,onSelectRule:s,onEditRule:c,onDeleteRule:u,renderRuleActions:d,actions:p,footerSlot:g,empty:_,className:v,strings:y}){let b=D(he,y),C=e.length>0||t.length>0||n.length>0,w=r||i||a?(0,H.jsxs)(`div`,{className:`flex items-center gap-2`,children:[!!a&&(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:a,icon:S,children:b.createRuleLabel}),!!i&&(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:i,icon:x,children:b.editLabel}),!!r&&(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:r,icon:l,iconPosition:`right`,children:b.actionLabel})]}):void 0;return(0,H.jsx)(M,{icon:(0,H.jsx)(h,{className:`size-4`}),title:b.title,description:b.description,actions:p,headerAction:w,footerSlot:g,contentClassName:`mt-1`,className:A(`product-contract-overview--component w-full`,v),children:C?(0,H.jsxs)(`div`,{className:`space-y-4`,children:[e.length>0&&(0,H.jsx)(`div`,{className:`grid gap-2 sm:grid-cols-3`,children:e.map(e=>(0,H.jsx)(De,{metric:e},e.id))}),t.length>0&&(0,H.jsxs)(`div`,{className:`space-y-2`,children:[(0,H.jsx)(o,{size:`xs`,weight:`semibold`,children:b.termsTitle}),(0,H.jsx)(V,{items:t,columns:2,dense:!0})]}),n.length>0&&(0,H.jsxs)(`div`,{className:`space-y-2`,children:[(0,H.jsx)(o,{size:`xs`,weight:`semibold`,children:b.rulesTitle}),(0,H.jsx)(I,{children:n.map((e,t)=>{let n=s?()=>s(e):void 0,r=c?()=>c(e):void 0,i=u?()=>u(e):void 0,a=[...n?[{id:`open`,label:b.viewRuleLabel,icon:(0,H.jsx)(m,{className:`size-3.5`}),onClick:()=>n(),variant:`ghost`}]:[],...r?[{id:`edit`,label:b.editRuleLabel,icon:(0,H.jsx)(x,{className:`size-3.5`}),onClick:()=>r(),variant:`ghost`}]:[],...i?[{id:`delete`,label:b.deleteRuleLabel,icon:(0,H.jsx)(E,{className:`size-3.5`}),onClick:()=>i(),variant:`destructive`}]:[]];return(0,H.jsx)(q,{item:e,actions:d?d(e,{index:t,onSelect:n,onEdit:r,onDelete:i}):(0,H.jsx)(K,{item:e,actions:a,menuLabel:b.ruleActionsLabel})},e.id)})})]})]}):_??(0,H.jsx)(U,{title:b.emptyTitle,description:b.emptyDescription,action:a?(0,H.jsx)(f,{type:`button`,onClick:a,icon:S,children:b.createRuleLabel}):void 0})})}je.displayName=`ProductContractOverview`;function Me({title:e,description:t,metadata:n=[],media:r,onEditDetails:i,actions:a,headerEnd:o,footerSlot:s,empty:c,className:l,strings:d}){let p=D(me,d),m=i?(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:i,icon:x,children:p.editLabel}):void 0;return(0,H.jsx)(M,{icon:(0,H.jsx)(u,{className:`size-4`}),title:e??p.title,description:t===!1?void 0:t??p.description,actions:a,headerAction:m,headerEnd:o,footerSlot:s,contentClassName:`mt-1`,className:A(`product-details-card--component w-full`,l),children:n.length===0?c??(0,H.jsx)(U,{title:p.emptyTitle,description:p.emptyDescription}):(0,H.jsx)(`div`,{className:`@container/product-details`,children:(0,H.jsxs)(`div`,{className:A(`grid gap-4`,r&&`@xl/product-details:grid-cols-[12rem_minmax(0,1fr)]`),children:[!!r&&(0,H.jsx)(`div`,{className:`product-details-card--media overflow-hidden rounded-md border border-border bg-muted/30`,children:r}),(0,H.jsx)(V,{items:n,columns:r?1:2,dense:!0,className:`min-w-0`,valueClassName:`break-words`})]})})})}Me.displayName=`ProductDetailsCard`;function Ne({option:e,index:t=0,onSelectOption:n,onEditOption:r,onDeleteOption:i,renderOptionActions:a,menuLabel:o,className:s,strings:c}){let l=D(_e,c),u=n?()=>n(e):void 0,d=r?()=>r(e):void 0,f=i?()=>i(e):void 0;return u||d||f||a?a?(0,H.jsx)(`div`,{className:A(`product-option-action-menu--component flex justify-end`,s),children:a(e,{index:t,onSelect:u,onEdit:d,onDelete:f})}):(0,H.jsx)(K,{item:e,menuLabel:o??l.actionsLabel,className:A(`product-option-action-menu--component`,s),actions:[...u?[{id:`open`,label:l.viewLabel,icon:(0,H.jsx)(m,{className:`size-3.5`}),onClick:()=>u(),variant:`ghost`}]:[],...d?[{id:`edit`,label:l.editLabel,icon:(0,H.jsx)(x,{className:`size-3.5`}),onClick:()=>d(),variant:`ghost`}]:[],...f?[{id:`delete`,label:l.deleteLabel,icon:(0,H.jsx)(E,{className:`size-3.5`}),onClick:()=>f(),variant:`destructive`}]:[]]}):null}Ne.displayName=`ProductOptionActionMenu`;function Pe({items:e=[],onCreateOperation:t,onSelectOperation:n,onEditOperation:r,onDeleteOperation:i,renderOperationActions:a,actions:o,footerSlot:s,renderItem:c,empty:l,className:u,strings:d}){let p=D(pe,d),m=t?(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:t,icon:S,children:p.createLabel}):void 0;return(0,H.jsx)(M,{icon:(0,H.jsx)(b,{className:`size-4`}),title:p.title,description:p.description,actions:o,headerAction:m,footerSlot:s,contentClassName:`mt-1`,className:A(`product-operations-card--component w-full`,u),children:e.length===0?l??(0,H.jsx)(U,{title:p.emptyTitle,description:p.emptyDescription,action:t?(0,H.jsx)(f,{type:`button`,onClick:t,icon:S,children:p.createLabel}):void 0}):(0,H.jsx)(I,{children:e.map((e,t)=>{let o=n?()=>n(e):void 0,s=r?()=>r(e):void 0,l=i?()=>i(e):void 0,u=[...s?[{id:`edit`,label:p.editLabel,icon:(0,H.jsx)(x,{className:`size-3.5`}),onClick:()=>s(),variant:`ghost`}]:[],...l?[{id:`delete`,label:p.deleteLabel,icon:(0,H.jsx)(E,{className:`size-3.5`}),onClick:()=>l(),variant:`destructive`}]:[]],d=a?a(e,{index:t,onSelect:o,onEdit:s,onDelete:l}):(0,H.jsx)(K,{item:e,actions:u,menuLabel:p.actionsLabel});return c?(0,H.jsx)(`div`,{children:c(e,t)},e.id):(0,H.jsx)(Ae,{item:e,actionFallback:p.actionLabel,onSelect:o,actions:d},e.id)})})})}Pe.displayName=`ProductOperationsCard`;function Fe({options:e=[],onManageOptions:t,onCreateOption:n,onSelectOption:r,onEditOption:i,onDeleteOption:a,renderOptionActions:o,actions:s,footerSlot:c,renderOption:l,empty:u,className:d,strings:p}){let m=D(ge,p),h=!!(r||i||a||o),g=[...s??[],...n&&t?[{id:`manage-options`,label:m.manageLabel,icon:(0,H.jsx)(k,{className:`size-3.5`}),onClick:t}]:[]],_=n||t?(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:n??t,icon:n?S:k,children:n?m.createLabel:m.manageLabel}):void 0;return(0,H.jsx)(M,{icon:(0,H.jsx)(k,{className:`size-4`}),title:m.title,description:m.description,actions:g.length>0?g:void 0,headerAction:_,footerSlot:c,contentClassName:`mt-1`,className:A(`product-options-summary--component w-full`,d),children:e.length===0?u??(0,H.jsx)(U,{title:m.emptyTitle,description:m.emptyDescription,action:n?(0,H.jsx)(f,{type:`button`,onClick:n,icon:S,children:m.createLabel}):void 0}):(0,H.jsx)(I,{children:e.map((e,t)=>(()=>{let n=h?(0,H.jsx)(Ne,{option:e,index:t,onSelectOption:r,onEditOption:i,onDeleteOption:a,renderOptionActions:o,menuLabel:m.actionsLabel,strings:{viewLabel:m.viewLabel,editLabel:m.editLabel,deleteLabel:m.deleteLabel,actionsLabel:m.actionsLabel}}):void 0;return l?(0,H.jsx)(`div`,{children:l(e,t)},e.id):(0,H.jsx)(q,{item:e,actions:n},e.id)})())})})}Fe.displayName=`ProductOptionsSummary`;function Ie({policies:e=[],onCreatePolicy:t,onSelectPolicy:n,onEditPolicy:r,onDeletePolicy:i,renderPolicyActions:a,actions:o,footerSlot:s,renderPolicy:c,empty:l,className:u,strings:d}){let p=D(ye,d),m=t?(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:t,icon:S,children:p.createLabel}):void 0;return(0,H.jsx)(M,{icon:(0,H.jsx)(T,{className:`size-4`}),title:p.title,description:p.description,actions:o,headerAction:m,footerSlot:s,contentClassName:`mt-1`,className:A(`product-policies-card--component w-full`,u),children:e.length===0?l??(0,H.jsx)(U,{title:p.emptyTitle,description:p.emptyDescription,action:t?(0,H.jsx)(f,{type:`button`,onClick:t,icon:S,children:p.createLabel}):void 0}):(0,H.jsx)(I,{children:e.map((e,t)=>(()=>{let o=n?()=>n(e):void 0,s=r?()=>r(e):void 0,l=i?()=>i(e):void 0,u=[...s?[{id:`edit`,label:p.editLabel,icon:(0,H.jsx)(x,{className:`size-3.5`}),onClick:()=>s(),variant:`ghost`}]:[],...l?[{id:`delete`,label:p.deleteLabel,icon:(0,H.jsx)(E,{className:`size-3.5`}),onClick:()=>l(),variant:`destructive`}]:[]],d=a?a(e,{index:t,onSelect:o,onEdit:s,onDelete:l}):(0,H.jsx)(K,{item:e,actions:u,menuLabel:p.actionsLabel});return c?(0,H.jsx)(`div`,{children:c(e,t)},e.id):(0,H.jsx)(q,{item:e,actionLabel:p.viewLabel,onSelect:o,actions:d},e.id)})())})})}Ie.displayName=`ProductPoliciesCard`;function Le({lines:e=[],subtotal:t,tax:n,discount:r,total:i,onOpenQuote:a,onCreateLine:s,onSelectLine:c,onEditLine:u,onDeleteLine:d,renderLineActions:p,actions:h,footerSlot:g,empty:_,className:v,strings:y}){let b=D(ve,y),w=s||a?(0,H.jsxs)(`div`,{className:`flex items-center gap-2`,children:[!!s&&(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:s,icon:S,children:b.createLineLabel}),!!a&&(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:a,icon:l,iconPosition:`right`,children:b.actionLabel})]}):void 0;return(0,H.jsx)(M,{icon:(0,H.jsx)(C,{className:`size-4`}),title:b.title,description:b.description,actions:h,headerAction:w,footerSlot:g,contentClassName:`mt-1`,className:A(`product-quote-preview-card--component w-full`,v),children:e.length===0?_??(0,H.jsx)(U,{title:b.emptyTitle,description:b.emptyDescription,action:s?(0,H.jsx)(f,{type:`button`,onClick:s,icon:S,children:b.createLineLabel}):void 0}):(0,H.jsxs)(`div`,{className:`space-y-3`,children:[(0,H.jsx)(`div`,{className:`space-y-2`,children:e.map((e,t)=>{let n=c?()=>c(e):void 0,r=u?()=>u(e):void 0,i=d?()=>d(e):void 0,a=[...n?[{id:`open`,label:b.viewLineLabel,icon:(0,H.jsx)(m,{className:`size-3.5`}),onClick:()=>n(),variant:`ghost`}]:[],...r?[{id:`edit`,label:b.editLineLabel,icon:(0,H.jsx)(x,{className:`size-3.5`}),onClick:()=>r(),variant:`ghost`}]:[],...i?[{id:`delete`,label:b.deleteLineLabel,icon:(0,H.jsx)(E,{className:`size-3.5`}),onClick:()=>i(),variant:`destructive`}]:[]],s=p?p(e,{index:t,onSelect:n,onEdit:r,onDelete:i}):(0,H.jsx)(K,{item:e,actions:a,menuLabel:b.lineActionsLabel});return(0,H.jsxs)(`div`,{className:`flex items-start justify-between gap-3 rounded-md border border-border bg-muted/20 px-3 py-2`,children:[(0,H.jsxs)(`div`,{className:`min-w-0`,children:[(0,H.jsx)(o,{weight:`semibold`,className:`truncate`,children:e.label}),!!e.description&&(0,H.jsx)(o,{size:`xs`,type:`secondary`,className:`mt-0.5`,children:e.description}),!!e.quantity&&(0,H.jsx)(o,{size:`xs`,type:`secondary`,className:`mt-1`,children:e.quantity})]}),(0,H.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2`,children:[(0,H.jsx)(o,{weight:`semibold`,className:`tabular-nums`,children:e.amount}),s]})]},e.id)})}),(0,H.jsxs)(`div`,{className:`space-y-1.5 rounded-md bg-muted/30 px-3 py-2.5`,children:[t!==void 0&&(0,H.jsx)(le,{label:b.subtotalLabel,value:t,mono:!0}),n!==void 0&&(0,H.jsx)(le,{label:b.taxLabel,value:n,mono:!0}),r!==void 0&&(0,H.jsx)(le,{label:b.discountLabel,value:r,mono:!0,valueClassName:`text-success`}),(0,H.jsx)(le,{label:b.totalLabel,value:i??`-`,mono:!0,labelClassName:`font-semibold`,valueClassName:`font-semibold`})]})]})})}Le.displayName=`ProductQuotePreviewCard`;function Re({items:e=[],score:t,scoreLabel:n,summary:r,onCreateReadinessItem:i,onSelectReadinessItem:a,onEditReadinessItem:s,onDeleteReadinessItem:c,renderReadinessItemActions:l,actions:u,footerSlot:d,renderItem:p,empty:m,className:h,strings:g}){let _=D(de,g),v=t===void 0?void 0:Ee(t),y=i?(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:i,icon:S,children:_.createLabel}):void 0;return(0,H.jsxs)(M,{icon:(0,H.jsx)(ne,{className:`size-4`}),title:_.title,description:_.description,actions:u,headerAction:y,footerSlot:d,contentClassName:`mt-1`,className:A(`product-readiness-card--component w-full`,h),children:[v!==void 0&&(0,H.jsxs)(`div`,{className:`mb-3 rounded-md border border-border bg-muted/20 px-3 py-2.5`,children:[(0,H.jsxs)(`div`,{className:`mb-2 flex items-center justify-between gap-3`,children:[(0,H.jsx)(o,{size:`xs`,type:`secondary`,children:n??_.scoreLabel}),(0,H.jsxs)(o,{size:`xs`,weight:`semibold`,className:`tabular-nums`,children:[v,`%`]})]}),(0,H.jsx)(oe,{value:v,"aria-label":typeof n==`string`?n:_.progressLabel,"aria-valuetext":`${v}%`,className:`h-1.5`})]}),!!r&&(0,H.jsx)(o,{size:`xs`,type:`secondary`,className:`mb-3 leading-relaxed`,children:r}),e.length===0?m??(0,H.jsx)(U,{title:_.emptyTitle,description:_.emptyDescription,action:i?(0,H.jsx)(f,{type:`button`,onClick:i,icon:S,children:_.createLabel}):void 0}):(0,H.jsx)(I,{children:e.map((e,t)=>{let n=a?()=>a(e):void 0,r=s?()=>s(e):void 0,i=c?()=>c(e):void 0,o=[...r?[{id:`edit`,label:_.editLabel,icon:(0,H.jsx)(x,{className:`size-3.5`}),onClick:()=>r(),variant:`ghost`}]:[],...i?[{id:`delete`,label:_.deleteLabel,icon:(0,H.jsx)(E,{className:`size-3.5`}),onClick:()=>i(),variant:`destructive`}]:[]],u=l?l(e,{index:t,onSelect:n,onEdit:r,onDelete:i}):(0,H.jsx)(K,{item:e,actions:o,menuLabel:_.actionsLabel});return p?(0,H.jsx)(`div`,{children:p(e,t)},e.id):(0,H.jsx)(ke,{item:e,actionFallback:_.actionLabel,onSelect:n,actions:u},e.id)})})]})}Re.displayName=`ProductReadinessCard`;function ze({metrics:e=[],onCreateMetric:t,onSelectMetric:n,onEditMetric:r,onDeleteMetric:i,renderMetricActions:a,actions:o,footerSlot:s,empty:c,className:l,strings:u}){let d=D(fe,u),p=t?(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:t,icon:S,children:d.createLabel}):void 0;return(0,H.jsx)(M,{icon:(0,H.jsx)(v,{className:`size-4`}),title:d.title,description:d.description,actions:o,headerAction:p,footerSlot:s,contentClassName:`mt-1`,className:A(`product-structure-card--component w-full`,l),children:e.length===0?c??(0,H.jsx)(U,{title:d.emptyTitle,description:d.emptyDescription,action:t?(0,H.jsx)(f,{type:`button`,onClick:t,icon:S,children:d.createLabel}):void 0}):(0,H.jsx)(I,{children:e.map((e,t)=>{let o=n?()=>n(e):void 0,s=r?()=>r(e):void 0,c=i?()=>i(e):void 0,l=[...o?[{id:`open`,label:d.viewLabel,icon:(0,H.jsx)(m,{className:`size-3.5`}),onClick:()=>o(),variant:`ghost`}]:[],...s?[{id:`edit`,label:d.editLabel,icon:(0,H.jsx)(x,{className:`size-3.5`}),onClick:()=>s(),variant:`ghost`}]:[],...c?[{id:`delete`,label:d.deleteLabel,icon:(0,H.jsx)(E,{className:`size-3.5`}),onClick:()=>c(),variant:`destructive`}]:[]];return(0,H.jsx)(Oe,{metric:e,actions:a?a(e,{index:t,onSelect:o,onEdit:s,onDelete:c}):(0,H.jsx)(K,{item:e,actions:l,menuLabel:d.actionsLabel})},e.id)})})})}ze.displayName=`ProductStructureCard`;function J({variant:e,index:t=0,onSelectVariant:n,onEditVariant:r,onDuplicateVariant:i,onDeleteVariant:a,renderVariantActions:o,menuLabel:s,className:c,strings:l}){let u=D(xe,l),f=n?()=>n(e):void 0,p=r?()=>r(e):void 0,h=i?()=>i(e):void 0,g=a?()=>a(e):void 0;return f||p||h||g||o?o?(0,H.jsx)(`div`,{className:A(`product-variant-action-menu--component flex justify-end`,c),children:o(e,{index:t,onSelect:f,onEdit:p,onDuplicate:h,onDelete:g})}):(0,H.jsx)(K,{item:e,menuLabel:s??u.actionsLabel,className:A(`product-variant-action-menu--component`,c),actions:[...f?[{id:`open`,label:u.viewLabel,icon:(0,H.jsx)(m,{className:`size-3.5`}),onClick:()=>f(),variant:`ghost`}]:[],...p?[{id:`edit`,label:u.editLabel,icon:(0,H.jsx)(x,{className:`size-3.5`}),onClick:()=>p(),variant:`ghost`}]:[],...h?[{id:`duplicate`,label:u.duplicateLabel,icon:(0,H.jsx)(d,{className:`size-3.5`}),onClick:()=>h(),variant:`ghost`}]:[],...g?[{id:`delete`,label:u.deleteLabel,icon:(0,H.jsx)(E,{className:`size-3.5`}),onClick:()=>g(),variant:`destructive`}]:[]]}):null}J.displayName=`ProductVariantActionMenu`;function Y({label:e,children:t,className:n,textClassName:r,weight:i}){return(0,H.jsxs)(`div`,{className:A(`product-variant-cell--component grid min-w-0 grid-cols-[6rem_minmax(0,1fr)] items-center gap-2 lg:block lg:space-y-0.5`,n),children:[(0,H.jsx)(o,{size:`xs`,type:`secondary`,className:`uppercase tracking-wide lg:sr-only`,children:e}),(0,H.jsx)(o,{size:`xs`,type:`secondary`,weight:i,className:A(`truncate`,r),children:t})]})}function Be({variants:e=[],onCreateVariant:t,onSelectVariant:n,onEditVariant:r,onDuplicateVariant:i,onDeleteVariant:s,renderVariantActions:c,actions:l,footerSlot:u,empty:d,className:p,strings:m}){let h=D(be,m),g=!!(n||r||i||s||c),_=`lg:grid-cols-[minmax(12rem,1.45fr)_minmax(4rem,0.6fr)_minmax(4rem,0.55fr)_minmax(4.75rem,0.7fr)_minmax(4rem,0.55fr)]`,v=t?(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:t,icon:S,children:h.createLabel}):void 0;return(0,H.jsx)(M,{icon:(0,H.jsx)(y,{className:`size-4`}),title:h.title,description:h.description,actions:l,headerAction:v,footerSlot:u,contentClassName:`mt-1`,className:A(`product-variants-table--component w-full`,p),children:e.length===0?d??(0,H.jsx)(U,{title:h.emptyTitle,description:h.emptyDescription,action:t?(0,H.jsx)(f,{type:`button`,onClick:t,icon:S,children:h.createLabel}):void 0}):(0,H.jsx)(`div`,{className:`product-variants-table--table rounded-md border border-border`,children:(0,H.jsxs)(`div`,{className:`lg:min-w-136`,children:[(0,H.jsxs)(`div`,{className:A(`hidden gap-3 border-b border-border bg-muted/40 px-3 py-2 lg:grid`,_),children:[(0,H.jsx)(o,{tag:`span`,size:`xs`,weight:`semibold`,type:`secondary`,children:h.headers.variant}),(0,H.jsx)(o,{tag:`span`,size:`xs`,weight:`semibold`,type:`secondary`,children:h.headers.price}),(0,H.jsx)(o,{tag:`span`,size:`xs`,weight:`semibold`,type:`secondary`,children:h.headers.inventory}),(0,H.jsx)(o,{tag:`span`,size:`xs`,weight:`semibold`,type:`secondary`,children:h.headers.sku}),(0,H.jsx)(o,{tag:`span`,size:`xs`,weight:`semibold`,type:`secondary`,children:h.headers.updated})]}),(0,H.jsx)(`div`,{className:`divide-y divide-border`,children:e.map((e,t)=>(0,H.jsxs)(`div`,{className:A(`grid gap-2 px-3 py-3 lg:items-center lg:gap-3 lg:py-2.5`,_),children:[(0,H.jsx)(`div`,{className:`min-w-0`,children:(0,H.jsxs)(`div`,{className:`flex min-w-0 items-start gap-2`,children:[(0,H.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,H.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-2`,children:[(0,H.jsx)(o,{weight:`semibold`,className:`truncate`,children:e.name}),!!e.status&&(0,H.jsx)(a,{variant:e.statusVariant??`secondary`,children:e.status})]}),!!e.description&&(0,H.jsx)(o,{size:`xs`,type:`secondary`,className:`mt-0.5`,children:e.description}),!!(e.options?.length||e.channels)&&(0,H.jsxs)(`div`,{className:`mt-1.5 flex flex-wrap items-center gap-1`,children:[e.options?.map((e,t)=>(0,H.jsx)(a,{variant:`secondary`,children:e},t)),!!e.channels&&(0,H.jsxs)(o,{tag:`span`,size:`xs`,type:`secondary`,className:`pl-1`,children:[h.headers.channels,`: `,e.channels]})]})]}),!!g&&(0,H.jsx)(J,{variant:e,index:t,onSelectVariant:n,onEditVariant:r,onDuplicateVariant:i,onDeleteVariant:s,renderVariantActions:c,menuLabel:h.headers.actions,className:`shrink-0`,strings:{viewLabel:h.viewLabel,editLabel:h.editLabel,duplicateLabel:h.duplicateLabel,deleteLabel:h.deleteLabel,actionsLabel:h.headers.actions}})]})}),(0,H.jsx)(Y,{label:h.headers.price,weight:`semibold`,textClassName:`tabular-nums text-foreground`,children:e.price??`-`}),(0,H.jsx)(Y,{label:h.headers.inventory,textClassName:`tabular-nums`,children:e.inventory??`-`}),(0,H.jsx)(Y,{label:h.headers.sku,textClassName:`tabular-nums`,children:e.sku??`-`}),(0,H.jsx)(Y,{label:h.headers.updated,children:e.updatedAt??`-`})]},e.id))})]})})})}Be.displayName=`ProductVariantsTable`;function Ve({details:e,contract:t,options:n,variants:r,readiness:i,structure:a,operations:o,quote:s,policies:c,slots:l,className:u,mainClassName:d,railClassName:f,strings:p}){let m=D(we,p),h=!!(i||a||o||s||c||l?.railTop||l?.railBottom);return(0,H.jsxs)(`div`,{className:A(`product-overview--component @container/product-overview space-y-4`,u),children:[l?.before,(0,H.jsxs)(`div`,{className:A(`grid gap-4`,h&&`@5xl/product-overview:grid-cols-[minmax(0,1fr)_22rem]`),children:[(0,H.jsxs)(`section`,{"aria-label":m.mainLabel,className:A(`product-overview--main min-w-0 space-y-4`,d),children:[l?.mainTop,!!e&&(0,H.jsx)(Me,{...e}),!!t&&(0,H.jsx)(je,{...t}),!!n&&(0,H.jsx)(Fe,{...n}),!!r&&(0,H.jsx)(Be,{...r}),l?.mainBottom]}),!!h&&(0,H.jsxs)(`aside`,{"aria-label":m.railLabel,className:A(`product-overview--rail min-w-0 space-y-4`,f),children:[l?.railTop,!!i&&(0,H.jsx)(Re,{...i}),!!a&&(0,H.jsx)(ze,{...a}),!!o&&(0,H.jsx)(Pe,{...o}),!!s&&(0,H.jsx)(Le,{...s}),!!c&&(0,H.jsx)(Ie,{...c}),l?.railBottom]})]}),l?.after]})}Ve.displayName=`ProductOverview`;var He=e=>e!=null&&e!==!1&&e!==``;function Ue(e,t){return[{label:t.price,value:e.price},{label:t.inventory,value:e.inventory},{label:t.sku,value:e.sku},{label:t.channels,value:e.channels},{label:t.updated,value:e.updatedAt}].filter(e=>He(e.value))}function We({variant:e,metadata:t,optionItems:n=[],media:r,onBack:i,onSelectVariant:s,onEditVariant:l,onDuplicateVariant:u,onDeleteVariant:d,onSelectOption:p,actions:m,headerEnd:h,footerSlot:g,empty:_,renderActions:v,renderMetadata:b,renderOption:x,className:S,strings:C}){let w=D(Se,C),T=e?t??Ue(e,w.metadata):[],E=!!(e&&(s||l||u||d||v)),ee=(0,H.jsxs)(`div`,{className:`product-variant-details--header-actions flex items-center gap-2`,children:[!!i&&(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:i,icon:c,children:w.backLabel}),!!E&&e&&(0,H.jsx)(J,{variant:e,onSelectVariant:s,onEditVariant:l,onDuplicateVariant:u,onDeleteVariant:d,renderVariantActions:v})]}),O=e?.options??[];return(0,H.jsx)(M,{icon:(0,H.jsx)(y,{className:`size-4`}),title:e?.name??w.title,titleSuffix:e?.status?(0,H.jsx)(a,{variant:e.statusVariant??`secondary`,children:e.status}):void 0,description:e?.description??w.description,actions:m,headerAction:i||E?ee:void 0,headerEnd:h,footerSlot:g,contentClassName:`mt-1`,className:A(`product-variant-details--component w-full`,S),children:e?(0,H.jsxs)(`div`,{className:`product-variant-details--body grid gap-5`,children:[!!r&&(0,H.jsx)(`div`,{className:`product-variant-details--media overflow-hidden rounded-md border border-border bg-muted/30`,children:r}),b?b(e):(0,H.jsx)(V,{title:w.factsTitle,items:T,columns:3,dense:!0,className:`product-variant-details--metadata`}),!!O.length&&(0,H.jsxs)(`div`,{className:`product-variant-details--selected-options space-y-2`,children:[(0,H.jsx)(o,{weight:`semibold`,children:w.selectedOptionsTitle}),(0,H.jsx)(`div`,{className:`flex flex-wrap gap-1.5`,children:O.map((e,t)=>(0,H.jsx)(a,{variant:`secondary`,children:e},t))})]}),!!n.length&&(0,H.jsxs)(`div`,{className:`product-variant-details--related-options space-y-2`,children:[(0,H.jsx)(o,{weight:`semibold`,children:w.relatedOptionsTitle}),(0,H.jsx)(I,{children:n.map((e,t)=>x?(0,H.jsx)(`div`,{children:x(e,t)},e.id):(0,H.jsx)(q,{item:e,actionLabel:w.viewOptionLabel,onSelect:p?()=>p(e):void 0},e.id))})]})]}):_??(0,H.jsx)(U,{title:w.emptyTitle,description:w.emptyDescription})})}We.displayName=`ProductVariantDetails`;var Ge=t(n(),1),Ke=e=>e.map(e=>({value:e.value,label:e.label,disabled:e.disabled}));function qe({value:e,defaultValue:t,optionFields:n=[],statusOptions:r=[],onValueChange:i,onSubmit:a,onCancel:s,onDelete:c,actions:l,headerEnd:u,footerSlot:d,disabled:p=!1,isSubmitting:m=!1,className:h,strings:g}){let _=D(Ce,g),v=(0,Ge.useId)(),y=e!==void 0,[b,S]=(0,Ge.useState)(t??{}),C=(y?e:b)??{},T=p||m,O=e=>{y||S(e),i?.(e)},k=(e,t)=>{O({...C,[e]:t})},te=(e,t)=>{O({...C,options:{...C.options??{},[e.id]:t}})},ne=e=>{e.preventDefault(),a?.(C)},j=(0,H.jsxs)(`div`,{className:`product-variant-editor--footer flex flex-col-reverse gap-2 sm:flex-row sm:items-center sm:justify-between`,children:[(0,H.jsx)(`div`,{children:!!c&&(0,H.jsx)(f,{type:`button`,variant:`error`,buttonStyle:`ghost`,onClick:()=>c(C),disabled:T,icon:E,children:_.deleteLabel})}),(0,H.jsxs)(`div`,{className:`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,children:[!!s&&(0,H.jsx)(f,{type:`button`,variant:`secondary`,buttonStyle:`ghost`,onClick:s,disabled:T,icon:ee,children:_.cancelLabel}),!!a&&(0,H.jsx)(f,{type:`submit`,form:v,disabled:T,icon:w,children:m?_.savingLabel:_.saveLabel})]})]}),N=!!(c||s||a);return(0,H.jsx)(M,{icon:(0,H.jsx)(x,{className:`size-4`}),title:_.title,description:_.description,actions:l,headerEnd:u,footerSlot:d??(N?j:void 0),footerDivider:!0,contentClassName:`mt-1`,className:A(`product-variant-editor--component w-full`,h),children:(0,H.jsxs)(`form`,{id:v,className:`product-variant-editor--form grid gap-5`,onSubmit:ne,children:[(0,H.jsxs)(`section`,{className:`product-variant-editor--section grid gap-3`,children:[(0,H.jsx)(o,{weight:`semibold`,children:_.identityTitle}),(0,H.jsxs)(`div`,{className:`grid gap-3 md:grid-cols-2`,children:[(0,H.jsx)(B,{label:_.fields.name,required:!0,children:(0,H.jsx)(z,{value:C.name??``,onChange:e=>k(`name`,e.target.value),placeholder:_.placeholders.name,disabled:T})}),(0,H.jsx)(B,{label:_.fields.sku,children:(0,H.jsx)(z,{value:C.sku??``,onChange:e=>k(`sku`,e.target.value),placeholder:_.placeholders.sku,disabled:T})}),(0,H.jsx)(B,{label:_.fields.description,className:`md:col-span-2`,children:(0,H.jsx)(ie,{value:C.description??``,onChange:e=>k(`description`,e.target.value),placeholder:_.placeholders.description,disabled:T,autoResize:!0,minRows:2})})]})]}),(0,H.jsxs)(`section`,{className:`product-variant-editor--section grid gap-3`,children:[(0,H.jsx)(o,{weight:`semibold`,children:_.commercialTitle}),(0,H.jsxs)(`div`,{className:`grid gap-3 md:grid-cols-2`,children:[(0,H.jsx)(B,{label:_.fields.price,children:(0,H.jsx)(z,{value:C.price??``,onChange:e=>k(`price`,e.target.value),placeholder:_.placeholders.price,disabled:T})}),(0,H.jsx)(B,{label:_.fields.inventory,children:(0,H.jsx)(z,{value:C.inventory??``,onChange:e=>k(`inventory`,e.target.value),placeholder:_.placeholders.inventory,disabled:T,inputMode:`numeric`})}),(0,H.jsx)(B,{label:_.fields.status,children:r.length>0?(0,H.jsx)(ae,{options:Ke(r),value:C.status??null,onChange:e=>k(`status`,e??``),placeholder:_.statusPlaceholder,disabled:T,"aria-label":_.fields.status}):(0,H.jsx)(z,{value:C.status??``,onChange:e=>k(`status`,e.target.value),placeholder:_.placeholders.status,disabled:T})}),(0,H.jsx)(B,{label:_.fields.channels,children:(0,H.jsx)(z,{value:C.channels??``,onChange:e=>k(`channels`,e.target.value),placeholder:_.placeholders.channels,disabled:T})})]})]}),!!n.length&&(0,H.jsxs)(`section`,{className:`product-variant-editor--section grid gap-3`,children:[(0,H.jsx)(o,{weight:`semibold`,children:_.optionsTitle}),(0,H.jsx)(`div`,{className:`grid gap-3 md:grid-cols-2`,children:n.map(e=>{let t=e.value??C.options?.[e.id]??``,n=!!e.choices?.length;return(0,H.jsx)(B,{label:e.label,helperText:e.helperText,children:n?(0,H.jsx)(ae,{options:Ke(e.choices??[]),value:t||null,onChange:t=>te(e,t),placeholder:e.placeholder??_.optionPlaceholder,disabled:T,"aria-label":e.label}):(0,H.jsx)(z,{value:t,onChange:t=>te(e,t.target.value),placeholder:e.placeholder??_.optionPlaceholder,disabled:T})},e.id)})})]})]})})}qe.displayName=`ProductVariantEditor`;function Je({className:e,...t}){return(0,H.jsx)(Ve,{...t,className:A(`products--component`,e)})}Je.displayName=`Products`;var Ye=``+new URL(`hero-CLDdwZDr.png`,import.meta.url).href,Xe=e({OptionsAndVariants:()=>ot,ProductEditor:()=>at,ProductSupportRail:()=>lt,StandaloneActionMenus:()=>ct,VariantDetailsAndEditor:()=>st}),Ze=[{id:`classic`,name:`Classic bottle`,description:`Standard retail pack`,options:[`375 ml`,`Classic label`],sku:`BAL-375-CL`,price:`US$ 18.00`,inventory:`82`,channels:`Online store, POS`,updatedAt:`Today`,status:`Active`,statusVariant:`success`},{id:`gift`,name:`Gift box`,description:`Bottle, pourer, tasting card`,options:[`750 ml`,`Gift packaging`],sku:`BAL-750-GF`,price:`US$ 46.00`,inventory:`28`,channels:`Online store`,updatedAt:`Yesterday`,status:`Review`,statusVariant:`warning`},{id:`case`,name:`Case of six`,description:`Wholesale case pack`,options:[`6 x 750 ml`,`Wholesale`],sku:`BAL-CASE-6`,price:`US$ 132.00`,inventory:`14`,channels:`B2B`,updatedAt:`Jun 12`,status:`Active`,statusVariant:`success`}],Qe=[{id:`size`,label:`Size`,description:`Controls bottle volume and variant price.`,values:[`375 ml`,`750 ml`,`Case of six`],value:`3 values`,tone:`primary`},{id:`packaging`,label:`Packaging`,description:`Customer-facing presentation options.`,values:[`Classic label`,`Gift packaging`,`Wholesale`],value:`3 values`,tone:`neutral`},{id:`gift-message`,label:`Gift message`,description:`Optional card text collected at checkout.`,values:[`None`,`Printed card`],value:`Optional`,tone:`success`}],X=()=>{},$e=[{value:`active`,label:`Active`},{value:`review`,label:`Review`},{value:`draft`,label:`Draft`}],et=[{id:`size`,label:`Size`,choices:[{value:`375 ml`,label:`375 ml`},{value:`750 ml`,label:`750 ml`},{value:`Case of six`,label:`Case of six`}]},{id:`packaging`,label:`Packaging`,choices:[{value:`Classic label`,label:`Classic label`},{value:`Gift packaging`,label:`Gift packaging`},{value:`Wholesale`,label:`Wholesale`}]}],tt={name:`Classic bottle`,description:`Standard retail pack`,sku:`BAL-375-CL`,price:`US$ 18.00`,inventory:`82`,status:`active`,channels:`Online store, POS`,options:{size:`375 ml`,packaging:`Classic label`}};function Z({children:e}){return(0,H.jsx)(`div`,{className:`max-h-[42rem] overflow-auto pr-2`,children:e})}function nt({frame:e=`square`}){return(0,H.jsxs)(`div`,{className:A(`relative overflow-hidden rounded-md border border-border bg-muted`,e===`square`?`aspect-square`:`aspect-[4/3] max-h-72`),children:[(0,H.jsx)(`img`,{src:Ye,alt:`Balsamic tasting set`,className:`h-full w-full object-cover`}),(0,H.jsxs)(`div`,{className:`absolute inset-x-0 bottom-0 bg-background/85 px-3 py-2 backdrop-blur-sm`,children:[(0,H.jsx)(o,{size:`xs`,weight:`semibold`,children:`Primary media`}),(0,H.jsx)(o,{size:`xs`,type:`secondary`,children:`Alt text and gallery remain app-owned.`})]})]})}function rt(){return{details:{media:(0,H.jsx)(nt,{}),metadata:[{label:`Status`,value:(0,H.jsx)(a,{variant:`success`,children:`Active`})},{label:`Vendor`,value:`Aegean Pantry Co.`},{label:`Category`,value:`Food & pantry`},{label:`Product type`,value:`Physical good`},{label:`Base price`,value:`US$ 18.00`},{label:`Tax class`,value:`Standard`}]},contract:{metrics:[{id:`margin`,label:`Margin`,value:`48%`,description:`After landed cost`,tone:`success`},{id:`lead-time`,label:`Lead time`,value:`3 days`,description:`Warehouse average`,tone:`info`},{id:`tax`,label:`Tax`,value:`Included`,description:`Shown in checkout`,tone:`neutral`}],terms:[{label:`Payment`,value:`Due at checkout`},{label:`Fulfilment`,value:`Warehouse dispatch`},{label:`Cancellation`,value:`Before dispatch`},{label:`Availability`,value:`Stock constrained`}],rules:[{id:`gross`,label:`Tax included`,description:`Customer quotes show gross pricing.`,tone:`success`},{id:`b2b`,label:`Wholesale allowed`,description:`Case pack available to the B2B channel.`,tone:`info`}]},options:{options:Qe,onManageOptions:X,onCreateOption:X,onSelectOption:X,onEditOption:X,onDeleteOption:X},variants:{variants:Ze,onCreateVariant:X,onSelectVariant:X,onEditVariant:X,onDuplicateVariant:X,onDeleteVariant:X}}}function it(){return{readiness:{score:86,summary:`Ready to publish once translation review and replenishment dates are confirmed.`,onCreateReadinessItem:X,onSelectReadinessItem:X,onEditReadinessItem:X,onDeleteReadinessItem:X,items:[{id:`copy`,label:`Product copy`,description:`Title, description, SEO summary complete.`,completed:!0},{id:`media`,label:`Media`,description:`Cover image and gallery uploaded.`,completed:!0},{id:`translation`,label:`Translations`,description:`Greek and German copy need review.`,value:`2 locales`,tone:`warning`},{id:`inventory`,label:`Inventory policy`,description:`Restock date still needs supplier confirmation.`,value:`Review`,tone:`warning`}]},structure:{onCreateMetric:X,onSelectMetric:X,onEditMetric:X,onDeleteMetric:X,metrics:[{id:`media`,label:`Media`,value:`8`,description:`1 cover, 7 gallery`,tone:`success`,icon:(0,H.jsx)(g,{className:`size-4`})},{id:`categories`,label:`Collections`,value:`3`,description:`Pantry, gifts, tasting`,tone:`info`,icon:(0,H.jsx)(ue,{className:`size-4`})},{id:`locales`,label:`Locales`,value:`2 / 4`,description:`EN live, EL review`,tone:`warning`,icon:(0,H.jsx)(_,{className:`size-4`})},{id:`variants`,label:`Variants`,value:`3`,description:`All sellable`,tone:`success`,icon:(0,H.jsx)(b,{className:`size-4`})}]},operations:{onCreateOperation:X,onSelectOperation:X,onEditOperation:X,onDeleteOperation:X,items:[{id:`stock`,label:`Stock policy`,description:`Checkout blocked below available inventory.`,value:`Active`,tone:`success`},{id:`channels`,label:`Sales channels`,description:`Online store, POS, and B2B market enabled.`,value:`3`,tone:`info`},{id:`calendar`,label:`Restock calendar`,description:`Next supplier run pending confirmation.`,value:`Review`,tone:`warning`}]},quote:{onCreateLine:X,onSelectLine:X,onEditLine:X,onDeleteLine:X,lines:[{id:`bottle`,label:`Classic bottle`,quantity:`2 x US$ 18.00`,amount:`US$ 36.00`},{id:`gift`,label:`Gift packaging`,quantity:`1 x US$ 5.00`,amount:`US$ 5.00`}],subtotal:`US$ 41.00`,tax:`Included`,total:`US$ 41.00`},policies:{onCreatePolicy:X,onSelectPolicy:X,onEditPolicy:X,onDeletePolicy:X,policies:[{id:`returns`,label:`Returns`,description:`Unopened goods can be returned within 14 days.`,tone:`success`},{id:`shipping`,label:`Shipping`,description:`Ambient warehouse dispatch only.`,tone:`neutral`}]}}}function at(){let e=rt(),t=it();return(0,H.jsx)(Z,{children:(0,H.jsxs)(`div`,{className:`w-full rounded-lg border border-border bg-muted/20 p-4`,children:[(0,H.jsxs)(`div`,{className:`mb-4 flex flex-col gap-4 border-b border-border pb-4 lg:flex-row lg:items-start lg:justify-between`,children:[(0,H.jsxs)(`div`,{className:`min-w-0 space-y-3`,children:[(0,H.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,H.jsx)(a,{variant:`success`,children:`Active`}),(0,H.jsx)(a,{variant:`info`,children:`3 variants`}),(0,H.jsx)(a,{variant:`warning`,children:`2 review items`})]}),(0,H.jsxs)(`div`,{children:[(0,H.jsx)(r,{tag:`h2`,className:`border-none pb-0`,children:`Balsamic tasting set`}),(0,H.jsx)(o,{type:`secondary`,className:`mt-1 max-w-3xl`,children:`Shopify-style product editor composed from product details, options, variants, readiness, operations, and quote cards.`})]}),(0,H.jsx)(V,{layout:`horizontal`,items:[{label:`SKU`,value:`BAL-TASTE-01`},{label:`Vendor`,value:`Aegean Pantry Co.`},{label:`Market`,value:`US online store`},{label:`Updated`,value:`Today`}],columns:4})]}),(0,H.jsxs)(`div`,{className:`flex shrink-0 flex-wrap gap-2`,children:[(0,H.jsx)(f,{variant:`secondary`,buttonStyle:`outline`,children:`Preview`}),(0,H.jsx)(f,{children:`Save product`})]})]}),(0,H.jsx)(Je,{details:e.details,contract:e.contract,options:e.options,variants:e.variants,readiness:t.readiness,structure:t.structure,operations:t.operations,quote:t.quote,policies:t.policies})]})})}function ot(){let e=rt();return(0,H.jsx)(Z,{children:(0,H.jsxs)(`div`,{className:`grid w-full gap-4`,children:[(0,H.jsx)(Fe,{...e.options}),(0,H.jsx)(Be,{...e.variants})]})})}function st(){let[e,t]=(0,Ge.useState)(tt);return(0,H.jsx)(Z,{children:(0,H.jsxs)(`div`,{className:`grid w-full gap-4 xl:grid-cols-[minmax(0,0.9fr)_minmax(0,1.1fr)]`,children:[(0,H.jsx)(We,{variant:Ze[0],optionItems:Qe.slice(0,2),media:(0,H.jsx)(nt,{frame:`wide`}),onBack:X,onSelectVariant:X,onEditVariant:X,onDuplicateVariant:X,onDeleteVariant:X,onSelectOption:X}),(0,H.jsx)(qe,{value:e,optionFields:et,statusOptions:$e,onValueChange:t,onSubmit:X,onCancel:X,onDelete:X})]})})}function ct(){return(0,H.jsxs)(`div`,{className:`grid w-full gap-4 sm:grid-cols-2`,children:[(0,H.jsx)(M,{title:`Option actions`,description:`The menu can be used next to any option row or custom layout.`,children:(0,H.jsx)(Ne,{option:Qe[0],onSelectOption:X,onEditOption:X,onDeleteOption:X})}),(0,H.jsx)(M,{title:`Variant actions`,description:`The same variant actions work outside the table.`,children:(0,H.jsx)(J,{variant:Ze[0],onSelectVariant:X,onEditVariant:X,onDuplicateVariant:X,onDeleteVariant:X})})]})}function lt(){let e=it();return(0,H.jsx)(Z,{children:(0,H.jsxs)(`div`,{className:`grid w-full gap-4 lg:grid-cols-2`,children:[(0,H.jsx)(Re,{...e.readiness}),(0,H.jsx)(ze,{...e.structure}),(0,H.jsx)(Pe,{...e.operations}),(0,H.jsx)(Le,{...e.quote}),(0,H.jsx)(Ie,{...e.policies})]})})}var Q=`import { useState, type ReactNode } from 'react';
|
|
2
|
+
import { Image, Languages, PackageCheck, Tags } from 'lucide-react';
|
|
3
|
+
|
|
4
|
+
import { Badge } from '@/components/base/badge';
|
|
5
|
+
import { Button } from '@/components/base/buttons';
|
|
6
|
+
import { SmartCard } from '@/components/base/cards';
|
|
7
|
+
import { MetadataList } from '@/components/composed/data-display/metadata';
|
|
8
|
+
import { Heading, Text } from '@/components/typography';
|
|
9
|
+
import {
|
|
10
|
+
ProductOptionActionMenu,
|
|
11
|
+
ProductOperationsCard,
|
|
12
|
+
ProductOptionsSummary,
|
|
13
|
+
Products,
|
|
14
|
+
ProductPoliciesCard,
|
|
15
|
+
ProductQuotePreviewCard,
|
|
16
|
+
ProductReadinessCard,
|
|
17
|
+
ProductStructureCard,
|
|
18
|
+
ProductVariantActionMenu,
|
|
19
|
+
ProductVariantDetails,
|
|
20
|
+
ProductVariantEditor,
|
|
21
|
+
ProductVariantsTable,
|
|
22
|
+
type ProductChoice,
|
|
23
|
+
type ProductOptionSummary,
|
|
24
|
+
type ProductVariantEditorValues,
|
|
25
|
+
type ProductVariantOptionField,
|
|
26
|
+
type ProductVariantSummary,
|
|
27
|
+
} from '@/components/features/products';
|
|
28
|
+
import heroUrl from '@/assets/hero.png';
|
|
29
|
+
import { cn } from '@/lib/utils';
|
|
30
|
+
|
|
31
|
+
const variants: ProductVariantSummary[] = [
|
|
32
|
+
{
|
|
33
|
+
id: 'classic',
|
|
34
|
+
name: 'Classic bottle',
|
|
35
|
+
description: 'Standard retail pack',
|
|
36
|
+
options: ['375 ml', 'Classic label'],
|
|
37
|
+
sku: 'BAL-375-CL',
|
|
38
|
+
price: 'US$ 18.00',
|
|
39
|
+
inventory: '82',
|
|
40
|
+
channels: 'Online store, POS',
|
|
41
|
+
updatedAt: 'Today',
|
|
42
|
+
status: 'Active',
|
|
43
|
+
statusVariant: 'success',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: 'gift',
|
|
47
|
+
name: 'Gift box',
|
|
48
|
+
description: 'Bottle, pourer, tasting card',
|
|
49
|
+
options: ['750 ml', 'Gift packaging'],
|
|
50
|
+
sku: 'BAL-750-GF',
|
|
51
|
+
price: 'US$ 46.00',
|
|
52
|
+
inventory: '28',
|
|
53
|
+
channels: 'Online store',
|
|
54
|
+
updatedAt: 'Yesterday',
|
|
55
|
+
status: 'Review',
|
|
56
|
+
statusVariant: 'warning',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: 'case',
|
|
60
|
+
name: 'Case of six',
|
|
61
|
+
description: 'Wholesale case pack',
|
|
62
|
+
options: ['6 x 750 ml', 'Wholesale'],
|
|
63
|
+
sku: 'BAL-CASE-6',
|
|
64
|
+
price: 'US$ 132.00',
|
|
65
|
+
inventory: '14',
|
|
66
|
+
channels: 'B2B',
|
|
67
|
+
updatedAt: 'Jun 12',
|
|
68
|
+
status: 'Active',
|
|
69
|
+
statusVariant: 'success',
|
|
70
|
+
},
|
|
71
|
+
];
|
|
72
|
+
|
|
73
|
+
const options: ProductOptionSummary[] = [
|
|
74
|
+
{
|
|
75
|
+
id: 'size',
|
|
76
|
+
label: 'Size',
|
|
77
|
+
description: 'Controls bottle volume and variant price.',
|
|
78
|
+
values: ['375 ml', '750 ml', 'Case of six'],
|
|
79
|
+
value: '3 values',
|
|
80
|
+
tone: 'primary',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: 'packaging',
|
|
84
|
+
label: 'Packaging',
|
|
85
|
+
description: 'Customer-facing presentation options.',
|
|
86
|
+
values: ['Classic label', 'Gift packaging', 'Wholesale'],
|
|
87
|
+
value: '3 values',
|
|
88
|
+
tone: 'neutral',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: 'gift-message',
|
|
92
|
+
label: 'Gift message',
|
|
93
|
+
description: 'Optional card text collected at checkout.',
|
|
94
|
+
values: ['None', 'Printed card'],
|
|
95
|
+
value: 'Optional',
|
|
96
|
+
tone: 'success',
|
|
97
|
+
},
|
|
98
|
+
];
|
|
99
|
+
|
|
100
|
+
const noop = () => {};
|
|
101
|
+
|
|
102
|
+
const variantStatusOptions: ProductChoice[] = [
|
|
103
|
+
{ value: 'active', label: 'Active' },
|
|
104
|
+
{ value: 'review', label: 'Review' },
|
|
105
|
+
{ value: 'draft', label: 'Draft' },
|
|
106
|
+
];
|
|
107
|
+
|
|
108
|
+
const variantOptionFields: ProductVariantOptionField[] = [
|
|
109
|
+
{
|
|
110
|
+
id: 'size',
|
|
111
|
+
label: 'Size',
|
|
112
|
+
choices: [
|
|
113
|
+
{ value: '375 ml', label: '375 ml' },
|
|
114
|
+
{ value: '750 ml', label: '750 ml' },
|
|
115
|
+
{ value: 'Case of six', label: 'Case of six' },
|
|
116
|
+
],
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: 'packaging',
|
|
120
|
+
label: 'Packaging',
|
|
121
|
+
choices: [
|
|
122
|
+
{ value: 'Classic label', label: 'Classic label' },
|
|
123
|
+
{ value: 'Gift packaging', label: 'Gift packaging' },
|
|
124
|
+
{ value: 'Wholesale', label: 'Wholesale' },
|
|
125
|
+
],
|
|
126
|
+
},
|
|
127
|
+
];
|
|
128
|
+
|
|
129
|
+
const variantEditorValue: ProductVariantEditorValues = {
|
|
130
|
+
name: 'Classic bottle',
|
|
131
|
+
description: 'Standard retail pack',
|
|
132
|
+
sku: 'BAL-375-CL',
|
|
133
|
+
price: 'US$ 18.00',
|
|
134
|
+
inventory: '82',
|
|
135
|
+
status: 'active',
|
|
136
|
+
channels: 'Online store, POS',
|
|
137
|
+
options: {
|
|
138
|
+
size: '375 ml',
|
|
139
|
+
packaging: 'Classic label',
|
|
140
|
+
},
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
function ProductPreviewViewport({ children }: { children: ReactNode }) {
|
|
144
|
+
return (
|
|
145
|
+
<div className="max-h-[42rem] overflow-auto pr-2">
|
|
146
|
+
{children}
|
|
147
|
+
</div>
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
function ProductMediaPreview({ frame = 'square' }: { frame?: 'square' | 'wide' }) {
|
|
152
|
+
return (
|
|
153
|
+
<div className={cn(
|
|
154
|
+
'relative overflow-hidden rounded-md border border-border bg-muted',
|
|
155
|
+
frame === 'square' ? 'aspect-square' : 'aspect-[4/3] max-h-72',
|
|
156
|
+
)}
|
|
157
|
+
>
|
|
158
|
+
<img src={heroUrl} alt="Balsamic tasting set" className="h-full w-full object-cover" />
|
|
159
|
+
<div className="absolute inset-x-0 bottom-0 bg-background/85 px-3 py-2 backdrop-blur-sm">
|
|
160
|
+
<Text size="xs" weight="semibold">Primary media</Text>
|
|
161
|
+
<Text size="xs" type="secondary">Alt text and gallery remain app-owned.</Text>
|
|
162
|
+
</div>
|
|
163
|
+
</div>
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
function productOverviewProps() {
|
|
168
|
+
return {
|
|
169
|
+
details: {
|
|
170
|
+
media: <ProductMediaPreview />,
|
|
171
|
+
metadata: [
|
|
172
|
+
{ label: 'Status', value: <Badge variant="success">Active</Badge> },
|
|
173
|
+
{ label: 'Vendor', value: 'Aegean Pantry Co.' },
|
|
174
|
+
{ label: 'Category', value: 'Food & pantry' },
|
|
175
|
+
{ label: 'Product type', value: 'Physical good' },
|
|
176
|
+
{ label: 'Base price', value: 'US$ 18.00' },
|
|
177
|
+
{ label: 'Tax class', value: 'Standard' },
|
|
178
|
+
],
|
|
179
|
+
},
|
|
180
|
+
contract: {
|
|
181
|
+
metrics: [
|
|
182
|
+
{ id: 'margin', label: 'Margin', value: '48%', description: 'After landed cost', tone: 'success' as const },
|
|
183
|
+
{ id: 'lead-time', label: 'Lead time', value: '3 days', description: 'Warehouse average', tone: 'info' as const },
|
|
184
|
+
{ id: 'tax', label: 'Tax', value: 'Included', description: 'Shown in checkout', tone: 'neutral' as const },
|
|
185
|
+
],
|
|
186
|
+
terms: [
|
|
187
|
+
{ label: 'Payment', value: 'Due at checkout' },
|
|
188
|
+
{ label: 'Fulfilment', value: 'Warehouse dispatch' },
|
|
189
|
+
{ label: 'Cancellation', value: 'Before dispatch' },
|
|
190
|
+
{ label: 'Availability', value: 'Stock constrained' },
|
|
191
|
+
],
|
|
192
|
+
rules: [
|
|
193
|
+
{ id: 'gross', label: 'Tax included', description: 'Customer quotes show gross pricing.', tone: 'success' as const },
|
|
194
|
+
{ id: 'b2b', label: 'Wholesale allowed', description: 'Case pack available to the B2B channel.', tone: 'info' as const },
|
|
195
|
+
],
|
|
196
|
+
},
|
|
197
|
+
options: {
|
|
198
|
+
options,
|
|
199
|
+
onManageOptions: noop,
|
|
200
|
+
onCreateOption: noop,
|
|
201
|
+
onSelectOption: noop,
|
|
202
|
+
onEditOption: noop,
|
|
203
|
+
onDeleteOption: noop,
|
|
204
|
+
},
|
|
205
|
+
variants: {
|
|
206
|
+
variants,
|
|
207
|
+
onCreateVariant: noop,
|
|
208
|
+
onSelectVariant: noop,
|
|
209
|
+
onEditVariant: noop,
|
|
210
|
+
onDuplicateVariant: noop,
|
|
211
|
+
onDeleteVariant: noop,
|
|
212
|
+
},
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
function railProps() {
|
|
217
|
+
return {
|
|
218
|
+
readiness: {
|
|
219
|
+
score: 86,
|
|
220
|
+
summary: 'Ready to publish once translation review and replenishment dates are confirmed.',
|
|
221
|
+
onCreateReadinessItem: noop,
|
|
222
|
+
onSelectReadinessItem: noop,
|
|
223
|
+
onEditReadinessItem: noop,
|
|
224
|
+
onDeleteReadinessItem: noop,
|
|
225
|
+
items: [
|
|
226
|
+
{ id: 'copy', label: 'Product copy', description: 'Title, description, SEO summary complete.', completed: true },
|
|
227
|
+
{ id: 'media', label: 'Media', description: 'Cover image and gallery uploaded.', completed: true },
|
|
228
|
+
{ id: 'translation', label: 'Translations', description: 'Greek and German copy need review.', value: '2 locales', tone: 'warning' as const },
|
|
229
|
+
{ id: 'inventory', label: 'Inventory policy', description: 'Restock date still needs supplier confirmation.', value: 'Review', tone: 'warning' as const },
|
|
230
|
+
],
|
|
231
|
+
},
|
|
232
|
+
structure: {
|
|
233
|
+
onCreateMetric: noop,
|
|
234
|
+
onSelectMetric: noop,
|
|
235
|
+
onEditMetric: noop,
|
|
236
|
+
onDeleteMetric: noop,
|
|
237
|
+
metrics: [
|
|
238
|
+
{ id: 'media', label: 'Media', value: '8', description: '1 cover, 7 gallery', tone: 'success' as const, icon: <Image className="size-4" /> },
|
|
239
|
+
{ id: 'categories', label: 'Collections', value: '3', description: 'Pantry, gifts, tasting', tone: 'info' as const, icon: <Tags className="size-4" /> },
|
|
240
|
+
{ id: 'locales', label: 'Locales', value: '2 / 4', description: 'EN live, EL review', tone: 'warning' as const, icon: <Languages className="size-4" /> },
|
|
241
|
+
{ id: 'variants', label: 'Variants', value: '3', description: 'All sellable', tone: 'success' as const, icon: <PackageCheck className="size-4" /> },
|
|
242
|
+
],
|
|
243
|
+
},
|
|
244
|
+
operations: {
|
|
245
|
+
onCreateOperation: noop,
|
|
246
|
+
onSelectOperation: noop,
|
|
247
|
+
onEditOperation: noop,
|
|
248
|
+
onDeleteOperation: noop,
|
|
249
|
+
items: [
|
|
250
|
+
{ id: 'stock', label: 'Stock policy', description: 'Checkout blocked below available inventory.', value: 'Active', tone: 'success' as const },
|
|
251
|
+
{ id: 'channels', label: 'Sales channels', description: 'Online store, POS, and B2B market enabled.', value: '3', tone: 'info' as const },
|
|
252
|
+
{ id: 'calendar', label: 'Restock calendar', description: 'Next supplier run pending confirmation.', value: 'Review', tone: 'warning' as const },
|
|
253
|
+
],
|
|
254
|
+
},
|
|
255
|
+
quote: {
|
|
256
|
+
onCreateLine: noop,
|
|
257
|
+
onSelectLine: noop,
|
|
258
|
+
onEditLine: noop,
|
|
259
|
+
onDeleteLine: noop,
|
|
260
|
+
lines: [
|
|
261
|
+
{ id: 'bottle', label: 'Classic bottle', quantity: '2 x US$ 18.00', amount: 'US$ 36.00' },
|
|
262
|
+
{ id: 'gift', label: 'Gift packaging', quantity: '1 x US$ 5.00', amount: 'US$ 5.00' },
|
|
263
|
+
],
|
|
264
|
+
subtotal: 'US$ 41.00',
|
|
265
|
+
tax: 'Included',
|
|
266
|
+
total: 'US$ 41.00',
|
|
267
|
+
},
|
|
268
|
+
policies: {
|
|
269
|
+
onCreatePolicy: noop,
|
|
270
|
+
onSelectPolicy: noop,
|
|
271
|
+
onEditPolicy: noop,
|
|
272
|
+
onDeletePolicy: noop,
|
|
273
|
+
policies: [
|
|
274
|
+
{ id: 'returns', label: 'Returns', description: 'Unopened goods can be returned within 14 days.', tone: 'success' as const },
|
|
275
|
+
{ id: 'shipping', label: 'Shipping', description: 'Ambient warehouse dispatch only.', tone: 'neutral' as const },
|
|
276
|
+
],
|
|
277
|
+
},
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export function ProductEditor() {
|
|
282
|
+
const main = productOverviewProps();
|
|
283
|
+
const rail = railProps();
|
|
284
|
+
|
|
285
|
+
return (
|
|
286
|
+
<ProductPreviewViewport>
|
|
287
|
+
<div className="w-full rounded-lg border border-border bg-muted/20 p-4">
|
|
288
|
+
<div className="mb-4 flex flex-col gap-4 border-b border-border pb-4 lg:flex-row lg:items-start lg:justify-between">
|
|
289
|
+
<div className="min-w-0 space-y-3">
|
|
290
|
+
<div className="flex flex-wrap items-center gap-2">
|
|
291
|
+
<Badge variant="success">Active</Badge>
|
|
292
|
+
<Badge variant="info">3 variants</Badge>
|
|
293
|
+
<Badge variant="warning">2 review items</Badge>
|
|
294
|
+
</div>
|
|
295
|
+
<div>
|
|
296
|
+
<Heading tag="h2" className="border-none pb-0">Balsamic tasting set</Heading>
|
|
297
|
+
<Text type="secondary" className="mt-1 max-w-3xl">
|
|
298
|
+
Shopify-style product editor composed from product details, options, variants, readiness, operations, and quote cards.
|
|
299
|
+
</Text>
|
|
300
|
+
</div>
|
|
301
|
+
<MetadataList
|
|
302
|
+
layout="horizontal"
|
|
303
|
+
items={[
|
|
304
|
+
{ label: 'SKU', value: 'BAL-TASTE-01' },
|
|
305
|
+
{ label: 'Vendor', value: 'Aegean Pantry Co.' },
|
|
306
|
+
{ label: 'Market', value: 'US online store' },
|
|
307
|
+
{ label: 'Updated', value: 'Today' },
|
|
308
|
+
]}
|
|
309
|
+
columns={4}
|
|
310
|
+
/>
|
|
311
|
+
</div>
|
|
312
|
+
<div className="flex shrink-0 flex-wrap gap-2">
|
|
313
|
+
<Button variant="secondary" buttonStyle="outline">Preview</Button>
|
|
314
|
+
<Button>Save product</Button>
|
|
315
|
+
</div>
|
|
316
|
+
</div>
|
|
317
|
+
|
|
318
|
+
<Products
|
|
319
|
+
details={main.details}
|
|
320
|
+
contract={main.contract}
|
|
321
|
+
options={main.options}
|
|
322
|
+
variants={main.variants}
|
|
323
|
+
readiness={rail.readiness}
|
|
324
|
+
structure={rail.structure}
|
|
325
|
+
operations={rail.operations}
|
|
326
|
+
quote={rail.quote}
|
|
327
|
+
policies={rail.policies}
|
|
328
|
+
/>
|
|
329
|
+
</div>
|
|
330
|
+
</ProductPreviewViewport>
|
|
331
|
+
);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export function OptionsAndVariants() {
|
|
335
|
+
const main = productOverviewProps();
|
|
336
|
+
|
|
337
|
+
return (
|
|
338
|
+
<ProductPreviewViewport>
|
|
339
|
+
<div className="grid w-full gap-4">
|
|
340
|
+
<ProductOptionsSummary {...main.options} />
|
|
341
|
+
<ProductVariantsTable {...main.variants} />
|
|
342
|
+
</div>
|
|
343
|
+
</ProductPreviewViewport>
|
|
344
|
+
);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export function VariantDetailsAndEditor() {
|
|
348
|
+
const [value, setValue] = useState<ProductVariantEditorValues>(variantEditorValue);
|
|
349
|
+
|
|
350
|
+
return (
|
|
351
|
+
<ProductPreviewViewport>
|
|
352
|
+
<div className="grid w-full gap-4 xl:grid-cols-[minmax(0,0.9fr)_minmax(0,1.1fr)]">
|
|
353
|
+
<ProductVariantDetails
|
|
354
|
+
variant={variants[0]}
|
|
355
|
+
optionItems={options.slice(0, 2)}
|
|
356
|
+
media={<ProductMediaPreview frame="wide" />}
|
|
357
|
+
onBack={noop}
|
|
358
|
+
onSelectVariant={noop}
|
|
359
|
+
onEditVariant={noop}
|
|
360
|
+
onDuplicateVariant={noop}
|
|
361
|
+
onDeleteVariant={noop}
|
|
362
|
+
onSelectOption={noop}
|
|
363
|
+
/>
|
|
364
|
+
<ProductVariantEditor
|
|
365
|
+
value={value}
|
|
366
|
+
optionFields={variantOptionFields}
|
|
367
|
+
statusOptions={variantStatusOptions}
|
|
368
|
+
onValueChange={setValue}
|
|
369
|
+
onSubmit={noop}
|
|
370
|
+
onCancel={noop}
|
|
371
|
+
onDelete={noop}
|
|
372
|
+
/>
|
|
373
|
+
</div>
|
|
374
|
+
</ProductPreviewViewport>
|
|
375
|
+
);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export function StandaloneActionMenus() {
|
|
379
|
+
return (
|
|
380
|
+
<div className="grid w-full gap-4 sm:grid-cols-2">
|
|
381
|
+
<SmartCard
|
|
382
|
+
title="Option actions"
|
|
383
|
+
description="The menu can be used next to any option row or custom layout."
|
|
384
|
+
>
|
|
385
|
+
<ProductOptionActionMenu
|
|
386
|
+
option={options[0]}
|
|
387
|
+
onSelectOption={noop}
|
|
388
|
+
onEditOption={noop}
|
|
389
|
+
onDeleteOption={noop}
|
|
390
|
+
/>
|
|
391
|
+
</SmartCard>
|
|
392
|
+
<SmartCard
|
|
393
|
+
title="Variant actions"
|
|
394
|
+
description="The same variant actions work outside the table."
|
|
395
|
+
>
|
|
396
|
+
<ProductVariantActionMenu
|
|
397
|
+
variant={variants[0]}
|
|
398
|
+
onSelectVariant={noop}
|
|
399
|
+
onEditVariant={noop}
|
|
400
|
+
onDuplicateVariant={noop}
|
|
401
|
+
onDeleteVariant={noop}
|
|
402
|
+
/>
|
|
403
|
+
</SmartCard>
|
|
404
|
+
</div>
|
|
405
|
+
);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export function ProductSupportRail() {
|
|
409
|
+
const rail = railProps();
|
|
410
|
+
|
|
411
|
+
return (
|
|
412
|
+
<ProductPreviewViewport>
|
|
413
|
+
<div className="grid w-full gap-4 lg:grid-cols-2">
|
|
414
|
+
<ProductReadinessCard {...rail.readiness} />
|
|
415
|
+
<ProductStructureCard {...rail.structure} />
|
|
416
|
+
<ProductOperationsCard {...rail.operations} />
|
|
417
|
+
<ProductQuotePreviewCard {...rail.quote} />
|
|
418
|
+
<ProductPoliciesCard {...rail.policies} />
|
|
419
|
+
</div>
|
|
420
|
+
</ProductPreviewViewport>
|
|
421
|
+
);
|
|
422
|
+
}
|
|
423
|
+
`;function ut(e){let t={h4:`h4`,...e.components};return Xe||$(`Examples`,!1),ot||$(`Examples.OptionsAndVariants`,!0),at||$(`Examples.ProductEditor`,!0),lt||$(`Examples.ProductSupportRail`,!0),ct||$(`Examples.StandaloneActionMenus`,!0),st||$(`Examples.VariantDetailsAndEditor`,!0),(0,H.jsxs)(i,{title:`Features · Products`,description:`Shopify-style product editor surfaces built from standalone product feature components. Routing, forms, and persistence stay consumer-owned.`,layer:`features`,status:`ready`,sourcePath:`src/components/features/products`,children:[(0,H.jsx)(s,{title:`Full editor`,id:`full-editor`,children:(0,H.jsx)(p,{name:`ProductEditor`,source:Q,children:(0,H.jsx)(at,{})})}),(0,H.jsxs)(s,{title:`Options and variants`,id:`options-variants`,children:[(0,H.jsx)(p,{name:`OptionsAndVariants`,source:Q,children:(0,H.jsx)(ot,{})}),(0,H.jsx)(p,{name:`VariantDetailsAndEditor`,source:Q,children:(0,H.jsx)(st,{})})]}),(0,H.jsx)(s,{title:`Action menus`,id:`action-menus`,children:(0,H.jsx)(p,{name:`StandaloneActionMenus`,source:Q,children:(0,H.jsx)(ct,{})})}),(0,H.jsx)(s,{title:`Support rail`,id:`support-rail`,children:(0,H.jsx)(p,{name:`ProductSupportRail`,source:Q,children:(0,H.jsx)(lt,{})})}),(0,H.jsxs)(s,{title:`API`,id:`api`,children:[(0,H.jsx)(t.h4,{children:`ProductOverview`}),(0,H.jsx)(j,{component:`ProductOverview`}),(0,H.jsx)(t.h4,{children:`Products`}),(0,H.jsx)(j,{component:`Products`}),(0,H.jsx)(t.h4,{children:`ProductDetailsCard`}),(0,H.jsx)(j,{component:`ProductDetailsCard`}),(0,H.jsx)(t.h4,{children:`ProductReadinessCard`}),(0,H.jsx)(j,{component:`ProductReadinessCard`}),(0,H.jsx)(t.h4,{children:`ProductStructureCard`}),(0,H.jsx)(j,{component:`ProductStructureCard`}),(0,H.jsx)(t.h4,{children:`ProductOperationsCard`}),(0,H.jsx)(j,{component:`ProductOperationsCard`}),(0,H.jsx)(t.h4,{children:`ProductContractOverview`}),(0,H.jsx)(j,{component:`ProductContractOverview`}),(0,H.jsx)(t.h4,{children:`ProductOptionsSummary`}),(0,H.jsx)(j,{component:`ProductOptionsSummary`}),(0,H.jsx)(t.h4,{children:`ProductOptionActionMenu`}),(0,H.jsx)(j,{component:`ProductOptionActionMenu`}),(0,H.jsx)(t.h4,{children:`ProductQuotePreviewCard`}),(0,H.jsx)(j,{component:`ProductQuotePreviewCard`}),(0,H.jsx)(t.h4,{children:`ProductPoliciesCard`}),(0,H.jsx)(j,{component:`ProductPoliciesCard`}),(0,H.jsx)(t.h4,{children:`ProductVariantsTable`}),(0,H.jsx)(j,{component:`ProductVariantsTable`}),(0,H.jsx)(t.h4,{children:`ProductVariantActionMenu`}),(0,H.jsx)(j,{component:`ProductVariantActionMenu`}),(0,H.jsx)(t.h4,{children:`ProductVariantDetails`}),(0,H.jsx)(j,{component:`ProductVariantDetails`}),(0,H.jsx)(t.h4,{children:`ProductVariantEditor`}),(0,H.jsx)(j,{component:`ProductVariantEditor`})]})]})}function dt(e={}){let{wrapper:t}=e.components||{};return t?(0,H.jsx)(t,{...e,children:(0,H.jsx)(ut,{...e})}):ut(e)}function $(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{dt as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{n as e}from"./chunk-QTnfLwEv.js";import{n as t,t as n}from"./section-DYfGx1Q5.js";import{t as r}from"./example-CzbL5xoH.js";import{d as i}from"./index-DN09-Vts.js";import{t as a}from"./progress-fYPoCyf-.js";import{t as o}from"./PreviewLayout-CHW8F5uE.js";var s=e({Values:()=>l}),c=i();function l(){return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(o,{children:[0,25,50,75,100].map(e=>(0,c.jsxs)(`div`,{className:`space-y-1`,children:[(0,c.jsxs)(`div`,{className:`text-xs text-muted-foreground`,children:[e,`%`]}),(0,c.jsx)(a,{value:e})]},e))})})}var u=`import { Progress } from '@/components/ui/progress';
|
|
2
|
+
import { Col } from '../../PreviewLayout';
|
|
3
|
+
|
|
4
|
+
export function Values() {
|
|
5
|
+
return (
|
|
6
|
+
<>
|
|
7
|
+
<Col>
|
|
8
|
+
{[0, 25, 50, 75, 100].map((v) => (
|
|
9
|
+
<div key={v} className="space-y-1">
|
|
10
|
+
<div className="text-xs text-muted-foreground">{v}%</div>
|
|
11
|
+
<Progress value={v} />
|
|
12
|
+
</div>
|
|
13
|
+
))}
|
|
14
|
+
</Col>
|
|
15
|
+
</>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
`;function d(e){return s||p(`Examples`,!1),l||p(`Examples.Values`,!0),(0,c.jsx)(t,{title:`UI · Progress`,description:`Linear progress bar at varying values.`,layer:`ui`,status:`ready`,children:(0,c.jsx)(n,{title:`Examples`,id:`examples`,children:(0,c.jsx)(r,{name:`Values`,source:u,children:(0,c.jsx)(l,{})})})})}function f(e={}){let{wrapper:t}=e.components||{};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(d,{...e})}):d(e)}function p(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{f as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./chunk-QTnfLwEv.js";import{t}from"./react-sKtkuLrH.js";import{Wt as n,Yt as r,fr as i,nr as a}from"./example-CzbL5xoH.js";import{d as o,n as s}from"./index-DN09-Vts.js";import{r as c,t as l}from"./valueToPercent-gleKSaFe.js";var u=e(t(),1),d=u.createContext(void 0);function f(){let e=u.useContext(d);if(e===void 0)throw Error(i(51));return e}var p=function(e){return e.complete=`data-complete`,e.indeterminate=`data-indeterminate`,e.progressing=`data-progressing`,e}({}),m={status(e){return e===`progressing`?{[p.progressing]:``}:e===`complete`?{[p.complete]:``}:e===`indeterminate`?{[p.indeterminate]:``}:null}},h=o();function g(e,t){return t==null?`indeterminate progress`:e||`${t}%`}var _=u.forwardRef(function(e,t){let{format:i,getAriaValueText:o=g,locale:s,max:l=100,min:f=0,value:p,render:_,className:v,children:y,style:b,...x}=e,[S,C]=u.useState(),w=r(i),T=`indeterminate`;Number.isFinite(p)&&(T=p===l?`complete`:`progressing`);let E=c(p,s,w.current),D=u.useMemo(()=>({status:T}),[T]),O={"aria-labelledby":S,"aria-valuemax":l,"aria-valuemin":f,"aria-valuenow":p??void 0,"aria-valuetext":o(E,p),role:`progressbar`,children:(0,h.jsxs)(u.Fragment,{children:[y,(0,h.jsx)(`span`,{role:`presentation`,style:n,children:`x`})]})},k=u.useMemo(()=>({formattedValue:E,max:l,min:f,setLabelId:C,state:D,status:T,value:p}),[E,l,f,C,D,T,p]),A=a(`div`,e,{state:D,ref:t,props:[O,x],stateAttributesMapping:m});return(0,h.jsx)(d.Provider,{value:k,children:A})}),v=u.forwardRef(function(e,t){let{render:n,className:r,style:i,...o}=e,{state:s}=f();return a(`div`,e,{state:s,ref:t,props:o,stateAttributesMapping:m})}),y=u.forwardRef(function(e,t){let{render:n,className:r,style:i,...o}=e,{max:s,min:c,value:u,state:d}=f(),p=Number.isFinite(u)&&u!==null?l(u,c,s):null;return a(`div`,e,{state:d,ref:t,props:[{style:p==null?{}:{insetInlineStart:0,height:`inherit`,width:`${p}%`}},o],stateAttributesMapping:m})});function b({className:e,children:t,value:n,...r}){return(0,h.jsxs)(_,{value:n,"data-slot":`progress`,className:s(`flex flex-wrap gap-3`,e),...r,children:[t,(0,h.jsx)(x,{children:(0,h.jsx)(S,{})})]})}function x({className:e,...t}){return(0,h.jsx)(v,{className:s(`bg-muted h-1.5 rounded-full relative flex w-full items-center overflow-x-hidden`,e),"data-slot":`progress-track`,...t})}function S({className:e,...t}){return(0,h.jsx)(y,{"data-slot":`progress-indicator`,className:s(`bg-primary h-full transition-all`,e),...t})}export{b as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./chunk-QTnfLwEv.js";import{t}from"./react-sKtkuLrH.js";import{a as n,i as r,p as i,r as a}from"./section-DYfGx1Q5.js";import{d as o,n as s}from"./index-DN09-Vts.js";var c=e(t(),1),l=``+new URL(`props.generated-cO7HmIpY.json`,import.meta.url).href,u=o(),d=null;function f(){return d||=fetch(l).then(async e=>{if(!e.ok)throw Error(`Unable to load props metadata: ${e.status}`);return e.json()}),d}function p({component:e,className:t}){let[o,l]=(0,c.useState)(null),[d,p]=(0,c.useState)(null),{register:m}=n(),h=a(`api`,e),g=r(e,{stripExampleSuffix:!1});if((0,c.useEffect)(()=>{m({id:h,title:g,level:2})},[m,h,g]),(0,c.useEffect)(()=>{let e=!0;return f().then(t=>{e&&l(t)}).catch(t=>{e&&p(t instanceof Error?t:Error(String(t)))}),()=>{e=!1}},[]),d)return(0,u.jsx)(`div`,{id:h,className:s(`props-table--component scroll-mt-24 rounded-md border border-warning/30 bg-warning/5 p-3`,t),children:(0,u.jsx)(i,{size:`xs`,type:`secondary`,children:d.message})});if(!o)return(0,u.jsx)(i,{id:h,size:`xs`,type:`secondary`,className:s(`props-table--component scroll-mt-24`,t),children:`Loading props metadata...`});let _=o[e];if(!_)return(0,u.jsx)(`div`,{id:h,className:s(`props-table--component scroll-mt-24 rounded-md border border-warning/30 bg-warning/5 p-3`,t),children:(0,u.jsxs)(i,{size:`xs`,type:`secondary`,children:[`No props metadata for `,(0,u.jsx)(`code`,{className:`font-mono`,children:e}),`. Run`,` `,(0,u.jsx)(`code`,{className:`font-mono`,children:`npm run docs:generate-props`}),`.`]})});let v=Object.values(_.props).sort((e,t)=>e.required&&!t.required?-1:!e.required&&t.required?1:e.name.localeCompare(t.name));return v.length===0?(0,u.jsx)(i,{id:h,size:`xs`,type:`secondary`,className:s(`props-table--component scroll-mt-24`,t),children:`This component has no documented props.`}):(0,u.jsxs)(`div`,{id:h,className:s(`props-table--component scroll-mt-24`,t),children:[(0,u.jsx)(`div`,{className:`props-table--cards grid gap-2 md:hidden`,children:v.map(e=>(0,u.jsxs)(`div`,{className:`props-table--card rounded-md border border-border bg-background p-3`,children:[(0,u.jsxs)(`div`,{className:`props-table--card-header flex items-start justify-between gap-3`,children:[(0,u.jsxs)(i,{size:`sm`,weight:`semibold`,className:`props-table--prop min-w-0 break-words font-mono`,children:[e.name,e.required&&(0,u.jsx)(`span`,{className:`ml-0.5 text-destructive`,children:`*`})]}),(0,u.jsx)(i,{size:`xs`,type:`secondary`,className:`props-table--default shrink-0 font-mono`,children:e.defaultValue??`—`})]}),(0,u.jsxs)(`div`,{className:`props-table--card-body mt-3 grid gap-2`,children:[(0,u.jsxs)(`div`,{children:[(0,u.jsx)(i,{size:`xs`,weight:`semibold`,type:`secondary`,className:`uppercase tracking-wide`,children:`Type`}),(0,u.jsx)(i,{size:`xs`,type:`secondary`,className:`props-table--type mt-1 break-words font-mono`,children:e.type})]}),(0,u.jsxs)(`div`,{children:[(0,u.jsx)(i,{size:`xs`,weight:`semibold`,type:`secondary`,className:`uppercase tracking-wide`,children:`Description`}),(0,u.jsx)(i,{size:`xs`,type:`secondary`,className:`props-table--description mt-1`,children:e.description||`—`})]})]})]},e.name))}),(0,u.jsx)(`div`,{className:`props-table--desktop hidden overflow-x-auto rounded-md border border-border md:block`,children:(0,u.jsxs)(`table`,{className:`w-full min-w-full table-fixed border-collapse text-sm`,children:[(0,u.jsxs)(`colgroup`,{children:[(0,u.jsx)(`col`,{style:{width:`22%`}}),(0,u.jsx)(`col`,{style:{width:`30%`}}),(0,u.jsx)(`col`,{style:{width:`8%`}}),(0,u.jsx)(`col`,{style:{width:`40%`}})]}),(0,u.jsx)(`thead`,{className:`props-table--head bg-muted/40 text-left`,children:(0,u.jsxs)(`tr`,{children:[(0,u.jsx)(`th`,{className:`px-surface py-row-y text-xs font-semibold`,children:`Prop`}),(0,u.jsx)(`th`,{className:`px-surface py-row-y text-xs font-semibold`,children:`Type`}),(0,u.jsx)(`th`,{className:`px-surface py-row-y text-xs font-semibold`,children:`Default`}),(0,u.jsx)(`th`,{className:`px-surface py-row-y text-xs font-semibold`,children:`Description`})]})}),(0,u.jsx)(`tbody`,{className:`props-table--body`,children:v.map(e=>(0,u.jsxs)(`tr`,{className:`border-t border-border align-top`,children:[(0,u.jsxs)(`td`,{className:`break-words px-surface py-row-y-lg font-mono`,children:[e.name,e.required&&(0,u.jsx)(`span`,{className:`ml-0.5 text-destructive`,children:`*`})]}),(0,u.jsx)(`td`,{className:`break-words px-surface py-row-y-lg font-mono text-muted-foreground`,children:e.type}),(0,u.jsx)(`td`,{className:`break-words px-surface py-row-y-lg font-mono text-muted-foreground`,children:e.defaultValue??`—`}),(0,u.jsx)(`td`,{className:`break-words px-surface py-row-y-lg text-muted-foreground`,children:e.description||`—`})]},e.name))})]})})]})}export{p as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./index-DN09-Vts.js";var t=e(`quote`,[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`rib7q0`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`1ymkrd`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./index-DN09-Vts.js";var t=e(`receipt`,[[`path`,{d:`M12 17V7`,key:`pyj7ub`}],[`path`,{d:`M16 8h-6a2 2 0 0 0 0 4h4a2 2 0 0 1 0 4H8`,key:`1elt7d`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`,key:`ycz6yz`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./index-DN09-Vts.js";var t=e(`receipt-text`,[[`path`,{d:`M13 16H8`,key:`wsln4y`}],[`path`,{d:`M14 8H8`,key:`1l3xfs`}],[`path`,{d:`M16 12H8`,key:`1fr5h0`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`,key:`ycz6yz`}]]);export{t};
|