admin-ui-starter-kit 0.1.4 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/admin-ui-consumer-migration/SKILL.md +276 -2
- package/.agents/skills/component-library-rules/SKILL.md +15 -9
- package/.agents/skills/component-library-rules/references/audit-followups.md +4 -4
- package/.agents/skills/component-library-rules/references/base-wrapper.md +24 -4
- package/.agents/skills/component-library-rules/references/components/INDEX.json +107 -93
- package/.agents/skills/component-library-rules/references/components/INDEX.md +21 -7
- package/.agents/skills/component-library-rules/references/components/base__accordion.md +78 -9
- package/.agents/skills/component-library-rules/references/components/base__alert.md +156 -0
- package/.agents/skills/component-library-rules/references/components/base__badge.md +8 -1
- package/.agents/skills/component-library-rules/references/components/base__buttons.md +121 -1
- package/.agents/skills/component-library-rules/references/components/base__cards.md +101 -4
- package/.agents/skills/component-library-rules/references/components/base__carousel.md +524 -0
- package/.agents/skills/component-library-rules/references/components/base__chart.md +391 -0
- package/.agents/skills/component-library-rules/references/components/base__combobox.md +212 -3
- package/.agents/skills/component-library-rules/references/components/base__copyable.md +49 -1
- package/.agents/skills/component-library-rules/references/components/base__currency.md +72 -1
- package/.agents/skills/component-library-rules/references/components/base__date-pickers.md +84 -50
- package/.agents/skills/component-library-rules/references/components/base__display.md +186 -39
- package/.agents/skills/component-library-rules/references/components/base__empty-state.md +67 -1
- package/.agents/skills/component-library-rules/references/components/base__event-calendar.md +56 -1
- package/.agents/skills/component-library-rules/references/components/base__forms.md +329 -2
- package/.agents/skills/component-library-rules/references/components/base__frame.md +235 -0
- package/.agents/skills/component-library-rules/references/components/base__item.md +47 -1
- package/.agents/skills/component-library-rules/references/components/base__map.md +37 -1
- package/.agents/skills/component-library-rules/references/components/base__metadata-list.md +99 -7
- package/.agents/skills/component-library-rules/references/components/base__navigation.md +71 -1
- package/.agents/skills/component-library-rules/references/components/base__spinner.md +44 -3
- package/.agents/skills/component-library-rules/references/components/base__table.md +108 -14
- package/.agents/skills/component-library-rules/references/components/base__typography.md +122 -1
- package/.agents/skills/component-library-rules/references/components/base__upload-tray.md +43 -1
- package/.agents/skills/component-library-rules/references/components/common__brand.md +21 -25
- package/.agents/skills/component-library-rules/references/components/composed__admin.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__ai-elements.md +17 -2
- package/.agents/skills/component-library-rules/references/components/composed__ai-new.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__ai.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__api-key-list.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__commerce-extras.md +87 -16
- package/.agents/skills/component-library-rules/references/components/composed__commerce.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__contact-card.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__course-card.md +90 -105
- package/.agents/skills/component-library-rules/references/components/composed__dark-surfaces.md +10 -3
- package/.agents/skills/component-library-rules/references/components/composed__dense-info.md +11 -4
- package/.agents/skills/component-library-rules/references/components/composed__feature-announcement.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__giftcard-cards.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__gradient-card.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__invoice-header.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__invoice-items.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__invoice-mini.md +9 -2
- package/.agents/skills/component-library-rules/references/components/composed__invoice-table.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__navigation-extras.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__navigation.md +12 -5
- package/.agents/skills/component-library-rules/references/components/composed__onboarding-checklist.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__timelines.md +8 -1
- package/.agents/skills/component-library-rules/references/components/composed__vendor-profile.md +8 -1
- package/.agents/skills/component-library-rules/references/components/features__activities.md +60 -19
- package/.agents/skills/component-library-rules/references/components/features__ai-chat.md +134 -1
- package/.agents/skills/component-library-rules/references/components/features__card.md +239 -0
- package/.agents/skills/component-library-rules/references/components/features__comments.md +36 -1
- package/.agents/skills/component-library-rules/references/components/features__enhanced-activities.md +19 -4
- package/.agents/skills/component-library-rules/references/components/features__event-log.md +8 -1
- package/.agents/skills/component-library-rules/references/components/features__filters.md +21 -1
- package/.agents/skills/component-library-rules/references/components/features__global-search.md +173 -2
- package/.agents/skills/component-library-rules/references/components/features__kanban.md +99 -81
- package/.agents/skills/component-library-rules/references/components/features__media-library.md +796 -0
- package/.agents/skills/component-library-rules/references/components/features__mentions.md +187 -0
- package/.agents/skills/component-library-rules/references/components/features__metrics-analytics-bar.md +8 -1
- package/.agents/skills/component-library-rules/references/components/features__metrics-analytics-cards.md +8 -1
- package/.agents/skills/component-library-rules/references/components/features__metrics-comparison.md +8 -1
- package/.agents/skills/component-library-rules/references/components/features__metrics-heatmap.md +10 -3
- package/.agents/skills/component-library-rules/references/components/features__metrics-inline-badge.md +8 -1
- package/.agents/skills/component-library-rules/references/components/features__metrics-kpi-row.md +8 -1
- package/.agents/skills/component-library-rules/references/components/features__metrics-micro-grid.md +8 -1
- package/.agents/skills/component-library-rules/references/components/features__metrics-overview.md +8 -1
- package/.agents/skills/component-library-rules/references/components/features__metrics-stat-cards.md +8 -1
- package/.agents/skills/component-library-rules/references/components/features__overlays.md +48 -16
- package/.agents/skills/component-library-rules/references/components/features__products.md +491 -0
- package/.agents/skills/component-library-rules/references/components/features__rich-text-editor.md +8 -1
- package/.agents/skills/component-library-rules/references/components/features__schema-form.md +375 -0
- package/.agents/skills/component-library-rules/references/components/features__suggestions.md +177 -0
- package/.agents/skills/component-library-rules/references/components/features__sync.md +155 -0
- package/.agents/skills/component-library-rules/references/components/layout__layout-app-shell.md +139 -24
- package/.agents/skills/component-library-rules/references/components/layout__layout-auth.md +826 -0
- package/.agents/skills/component-library-rules/references/components/layout__layout-containers.md +15 -3
- package/.agents/skills/component-library-rules/references/components/layout__layout-header.md +8 -1
- package/.agents/skills/component-library-rules/references/components/layout__layout-page.md +8 -1
- package/.agents/skills/component-library-rules/references/components/layout__layout-sidebar.md +9 -2
- package/.agents/skills/component-library-rules/references/components/layout__layout-users.md +51 -30
- package/.agents/skills/component-library-rules/references/components/layout__layout-workspace.md +234 -0
- package/.agents/skills/component-library-rules/references/components/ui__alert.md +6 -2
- package/.agents/skills/component-library-rules/references/components/ui__avatar.md +2 -2
- package/.agents/skills/component-library-rules/references/components/ui__breadcrumb.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__button.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__calendar.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__collapsible.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__empty-item.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__input-group.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__inputs.md +118 -19
- package/.agents/skills/component-library-rules/references/components/ui__layout-primitives.md +71 -0
- package/.agents/skills/component-library-rules/references/components/ui__menus.md +126 -44
- package/.agents/skills/component-library-rules/references/components/ui__overlays.md +118 -43
- package/.agents/skills/component-library-rules/references/components/ui__pagination.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__progress.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__scroll-area.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__separator.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__skeleton.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__sonner.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__spinner.md +2 -2
- package/.agents/skills/component-library-rules/references/components/ui__tabs.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__toggles-group.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__toggles.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__ui-badge.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__ui-card.md +1 -1
- package/.agents/skills/component-library-rules/references/components/ui__ui-table.md +1 -1
- package/.agents/skills/component-library-rules/references/visual-eval.md +1 -1
- package/.agents/skills/component-quality-pass/SKILL.md +47 -0
- package/.agents/skills/component-quality-pass/agents/openai.yaml +4 -0
- package/.agents/skills/component-quality-pass/references/audit-workflow.md +133 -0
- package/.agents/skills/component-quality-pass/scripts/list-preview-routes.mjs +71 -0
- package/.agents/skills/component-quality-pass/scripts/scan-quality-smells.mjs +213 -0
- package/AGENTS.md +7 -4
- package/COMPONENT_SELECTION.md +51 -5
- package/INTEGRATION.md +48 -2
- package/MIGRATION.md +17 -3
- package/PUBLISHING.md +4 -1
- package/README.md +84 -11
- package/dist/_shared/accordion-BWU7zxlO.cjs +2 -0
- package/dist/_shared/accordion-BWU7zxlO.cjs.map +1 -0
- package/dist/_shared/accordion-DTYKGqWD.js +130 -0
- package/dist/_shared/accordion-DTYKGqWD.js.map +1 -0
- package/dist/_shared/action-menu-BoQnI2UF.cjs +2 -0
- package/dist/_shared/action-menu-BoQnI2UF.cjs.map +1 -0
- package/dist/_shared/action-menu-uyg1Phsn.js +96 -0
- package/dist/_shared/action-menu-uyg1Phsn.js.map +1 -0
- package/dist/_shared/ai-artifact-CY1Jf9gM.cjs +3 -0
- package/dist/_shared/ai-artifact-CY1Jf9gM.cjs.map +1 -0
- package/dist/_shared/ai-artifact-DdlK_l56.js +1099 -0
- package/dist/_shared/ai-artifact-DdlK_l56.js.map +1 -0
- package/dist/_shared/alert-CuIIKJC-.cjs +2 -0
- package/dist/_shared/alert-CuIIKJC-.cjs.map +1 -0
- package/dist/_shared/alert-k60OnTtb.js +81 -0
- package/dist/_shared/alert-k60OnTtb.js.map +1 -0
- package/dist/_shared/app-shell-DqDnnKT4.cjs +2 -0
- package/dist/_shared/app-shell-DqDnnKT4.cjs.map +1 -0
- package/dist/_shared/app-shell-w5h0vEKg.js +69 -0
- package/dist/_shared/app-shell-w5h0vEKg.js.map +1 -0
- package/dist/_shared/auth-CDjZFJxy.cjs +2 -0
- package/dist/_shared/auth-CDjZFJxy.cjs.map +1 -0
- package/dist/_shared/auth-_udUdWtn.js +643 -0
- package/dist/_shared/auth-_udUdWtn.js.map +1 -0
- package/dist/_shared/badge--o9wFHB_.cjs +2 -0
- package/dist/_shared/badge--o9wFHB_.cjs.map +1 -0
- package/dist/_shared/badge-yGlx9trX.js +108 -0
- package/dist/_shared/badge-yGlx9trX.js.map +1 -0
- package/dist/_shared/button-C1qc97U1.cjs +2 -0
- package/dist/_shared/button-C1qc97U1.cjs.map +1 -0
- package/dist/_shared/button-SuocMQFT.js +173 -0
- package/dist/_shared/button-SuocMQFT.js.map +1 -0
- package/dist/_shared/buttons-9YBwevkP.cjs +2 -0
- package/dist/_shared/buttons-9YBwevkP.cjs.map +1 -0
- package/dist/_shared/buttons-BR4BGVYf.js +143 -0
- package/dist/_shared/buttons-BR4BGVYf.js.map +1 -0
- package/dist/_shared/card-radio-group-Bna2uZs1.cjs +2 -0
- package/dist/_shared/card-radio-group-Bna2uZs1.cjs.map +1 -0
- package/dist/_shared/card-radio-group-D_CY1HRy.js +158 -0
- package/dist/_shared/card-radio-group-D_CY1HRy.js.map +1 -0
- package/dist/_shared/checkbox-CTqqawIT.js +22 -0
- package/dist/_shared/checkbox-CTqqawIT.js.map +1 -0
- package/dist/_shared/checkbox-D1n-nfLP.cjs +2 -0
- package/dist/_shared/checkbox-D1n-nfLP.cjs.map +1 -0
- package/dist/_shared/combobox-CpSmiPV8.cjs +2 -0
- package/dist/_shared/combobox-CpSmiPV8.cjs.map +1 -0
- package/dist/_shared/combobox-D01JwyFZ.js +810 -0
- package/dist/_shared/combobox-D01JwyFZ.js.map +1 -0
- package/dist/_shared/comments-D9velZAW.js +952 -0
- package/dist/_shared/comments-D9velZAW.js.map +1 -0
- package/dist/_shared/comments-DyUAKSQu.cjs +2 -0
- package/dist/_shared/comments-DyUAKSQu.cjs.map +1 -0
- package/dist/_shared/copyable-Bx4J7fuT.cjs +2 -0
- package/dist/_shared/copyable-Bx4J7fuT.cjs.map +1 -0
- package/dist/_shared/copyable-cfF4gZoT.js +38 -0
- package/dist/_shared/copyable-cfF4gZoT.js.map +1 -0
- package/dist/_shared/date-picker-BnsvBFOZ.cjs +2 -0
- package/dist/_shared/date-picker-BnsvBFOZ.cjs.map +1 -0
- package/dist/_shared/date-picker-TMcjGO26.js +1361 -0
- package/dist/_shared/date-picker-TMcjGO26.js.map +1 -0
- package/dist/_shared/date-pickers-BI4xLjHR.js +330 -0
- package/dist/_shared/date-pickers-BI4xLjHR.js.map +1 -0
- package/dist/_shared/date-pickers-BhaUK5S2.cjs +2 -0
- package/dist/_shared/date-pickers-BhaUK5S2.cjs.map +1 -0
- package/dist/_shared/display-C4n0uuxl.js +1154 -0
- package/dist/_shared/display-C4n0uuxl.js.map +1 -0
- package/dist/_shared/display-oDW0O9yB.cjs +2 -0
- package/dist/_shared/display-oDW0O9yB.cjs.map +1 -0
- package/dist/_shared/form-field-B7taMVbC.js +329 -0
- package/dist/_shared/form-field-B7taMVbC.js.map +1 -0
- package/dist/_shared/form-field-rMGPvHFK.cjs +2 -0
- package/dist/_shared/form-field-rMGPvHFK.cjs.map +1 -0
- package/dist/_shared/form-sizing-D74IS9KG.js.map +1 -1
- package/dist/_shared/form-sizing-aVwVuF-w.cjs.map +1 -1
- package/dist/_shared/forms-CwJci54_.js +3430 -0
- package/dist/_shared/forms-CwJci54_.js.map +1 -0
- package/dist/_shared/forms-E3JkTgcC.cjs +2 -0
- package/dist/_shared/forms-E3JkTgcC.cjs.map +1 -0
- package/dist/_shared/header-CyBTcM-L.js +360 -0
- package/dist/_shared/header-CyBTcM-L.js.map +1 -0
- package/dist/_shared/header-kwvkesfq.cjs +2 -0
- package/dist/_shared/header-kwvkesfq.cjs.map +1 -0
- package/dist/_shared/heading-0DYCOrgC.cjs +2 -0
- package/dist/_shared/heading-0DYCOrgC.cjs.map +1 -0
- package/dist/_shared/heading-HeP06nXG.js +107 -0
- package/dist/_shared/heading-HeP06nXG.js.map +1 -0
- package/dist/_shared/hooks-MW0UTO3q.cjs +2 -0
- package/dist/_shared/hooks-MW0UTO3q.cjs.map +1 -0
- package/dist/_shared/hooks-ZiPIvs0_.js +118 -0
- package/dist/_shared/hooks-ZiPIvs0_.js.map +1 -0
- package/dist/_shared/input-C7t-RHYq.js +182 -0
- package/dist/_shared/input-C7t-RHYq.js.map +1 -0
- package/dist/_shared/input-COMcb1WY.cjs +2 -0
- package/dist/_shared/input-COMcb1WY.cjs.map +1 -0
- package/dist/_shared/item-DAjqQhhj.js +225 -0
- package/dist/_shared/item-DAjqQhhj.js.map +1 -0
- package/dist/_shared/item-DoXXYgPm.cjs +2 -0
- package/dist/_shared/item-DoXXYgPm.cjs.map +1 -0
- package/dist/_shared/mentions-Br-EP9tq.js +506 -0
- package/dist/_shared/mentions-Br-EP9tq.js.map +1 -0
- package/dist/_shared/mentions-DNTsRHJl.cjs +2 -0
- package/dist/_shared/mentions-DNTsRHJl.cjs.map +1 -0
- package/dist/_shared/metadata-CPSQGPJh.cjs +2 -0
- package/dist/_shared/metadata-CPSQGPJh.cjs.map +1 -0
- package/dist/_shared/metadata-qTNAOM7E.js +235 -0
- package/dist/_shared/metadata-qTNAOM7E.js.map +1 -0
- package/dist/_shared/money-display-CFSMUtxS.cjs +2 -0
- package/dist/_shared/money-display-CFSMUtxS.cjs.map +1 -0
- package/dist/_shared/money-display-D4Z3P3f_.js +198 -0
- package/dist/_shared/money-display-D4Z3P3f_.js.map +1 -0
- package/dist/_shared/navigation-HnnA6uSV.js +419 -0
- package/dist/_shared/navigation-HnnA6uSV.js.map +1 -0
- package/dist/_shared/navigation-J2g0Tw9D.cjs +2 -0
- package/dist/_shared/navigation-J2g0Tw9D.cjs.map +1 -0
- package/dist/_shared/overlays-CIeniDjj.js +639 -0
- package/dist/_shared/overlays-CIeniDjj.js.map +1 -0
- package/dist/_shared/overlays-Xc_F_Y-E.cjs +2 -0
- package/dist/_shared/overlays-Xc_F_Y-E.cjs.map +1 -0
- package/dist/_shared/page-BFV-KE8H.js +262 -0
- package/dist/_shared/page-BFV-KE8H.js.map +1 -0
- package/dist/_shared/page-UJfWfw2R.cjs +2 -0
- package/dist/_shared/page-UJfWfw2R.cjs.map +1 -0
- package/dist/_shared/popover-menu-Fz-bvWJF.cjs +2 -0
- package/dist/_shared/popover-menu-Fz-bvWJF.cjs.map +1 -0
- package/dist/_shared/popover-menu-bKQatoYF.js +93 -0
- package/dist/_shared/popover-menu-bKQatoYF.js.map +1 -0
- package/dist/_shared/rich-text-editor-B6WKHUKC.js +620 -0
- package/dist/_shared/rich-text-editor-B6WKHUKC.js.map +1 -0
- package/dist/_shared/rich-text-editor-Dm-6r_xe.cjs +2 -0
- package/dist/_shared/rich-text-editor-Dm-6r_xe.cjs.map +1 -0
- package/dist/_shared/sidebar-B_L_dnAe.cjs +2 -0
- package/dist/_shared/sidebar-B_L_dnAe.cjs.map +1 -0
- package/dist/_shared/sidebar-C5DApiDy.js +389 -0
- package/dist/_shared/sidebar-C5DApiDy.js.map +1 -0
- package/dist/_shared/sidebar-CIlGkVbF.js +538 -0
- package/dist/_shared/sidebar-CIlGkVbF.js.map +1 -0
- package/dist/_shared/sidebar-D3sK9otF.cjs +2 -0
- package/dist/_shared/sidebar-D3sK9otF.cjs.map +1 -0
- package/dist/_shared/smart-card-DYZGY_Su.js +361 -0
- package/dist/_shared/smart-card-DYZGY_Su.js.map +1 -0
- package/dist/_shared/smart-card-Df80VF8x.cjs +2 -0
- package/dist/_shared/smart-card-Df80VF8x.cjs.map +1 -0
- package/dist/_shared/spinner-BfAbXTQ7.js +67 -0
- package/dist/_shared/spinner-BfAbXTQ7.js.map +1 -0
- package/dist/_shared/spinner-DWn3x9Tl.cjs +2 -0
- package/dist/_shared/spinner-DWn3x9Tl.cjs.map +1 -0
- package/dist/_shared/table-CBKDA7ZE.js +1189 -0
- package/dist/_shared/table-CBKDA7ZE.js.map +1 -0
- package/dist/_shared/table-CJoxRCWy.cjs +2 -0
- package/dist/_shared/table-CJoxRCWy.cjs.map +1 -0
- package/dist/_shared/textarea-C4SOrh0z.cjs +2 -0
- package/dist/_shared/textarea-C4SOrh0z.cjs.map +1 -0
- package/dist/_shared/textarea-CsMkelmp.js +119 -0
- package/dist/_shared/textarea-CsMkelmp.js.map +1 -0
- package/dist/_shared/typography-Bzsl7aTu.cjs +2 -0
- package/dist/_shared/typography-Bzsl7aTu.cjs.map +1 -0
- package/dist/_shared/typography-CdxyWB1T.js +102 -0
- package/dist/_shared/typography-CdxyWB1T.js.map +1 -0
- package/dist/_shared/ui-provider-BF4m2cR0.cjs +2 -0
- package/dist/_shared/ui-provider-BF4m2cR0.cjs.map +1 -0
- package/dist/_shared/ui-provider-C8Ot88lS.js +85 -0
- package/dist/_shared/ui-provider-C8Ot88lS.js.map +1 -0
- package/dist/_shared/workspace-CTjIGCE0.cjs +2 -0
- package/dist/_shared/workspace-CTjIGCE0.cjs.map +1 -0
- package/dist/_shared/workspace-WgJgiSUA.js +357 -0
- package/dist/_shared/workspace-WgJgiSUA.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/buttons/base-button.d.ts.map +1 -1
- package/dist/components/base/buttons/index.cjs +1 -1
- package/dist/components/base/buttons/index.js +2 -2
- package/dist/components/base/cards/index.cjs +1 -1
- package/dist/components/base/cards/index.d.ts +1 -1
- package/dist/components/base/cards/index.d.ts.map +1 -1
- package/dist/components/base/cards/index.js +1 -1
- package/dist/components/base/cards/smart-card.d.ts.map +1 -1
- package/dist/components/base/cards/smart-card.types.d.ts +2 -1
- package/dist/components/base/cards/smart-card.types.d.ts.map +1 -1
- package/dist/components/base/carousel/carousel.d.ts +66 -0
- package/dist/components/base/carousel/carousel.d.ts.map +1 -0
- package/dist/components/base/carousel/carousel.strings.d.ts +7 -0
- package/dist/components/base/carousel/carousel.strings.d.ts.map +1 -0
- package/dist/components/base/carousel/index.cjs +2 -0
- package/dist/components/base/carousel/index.cjs.map +1 -0
- package/dist/components/base/carousel/index.d.ts +3 -0
- package/dist/components/base/carousel/index.d.ts.map +1 -0
- package/dist/components/base/carousel/index.js +239 -0
- package/dist/components/base/carousel/index.js.map +1 -0
- package/dist/components/base/combobox/enhanced-combobox.d.ts +2 -2
- package/dist/components/base/combobox/enhanced-combobox.d.ts.map +1 -1
- package/dist/components/base/combobox/hooks/use-debounced-search.d.ts.map +1 -1
- package/dist/components/base/combobox/index.cjs +1 -1
- package/dist/components/base/combobox/index.js +1 -1
- package/dist/components/base/combobox/types.d.ts +4 -1
- package/dist/components/base/combobox/types.d.ts.map +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/alert.d.ts +13 -1
- package/dist/components/base/display/alert.d.ts.map +1 -1
- package/dist/components/base/display/chart.cjs +8 -0
- package/dist/components/base/display/chart.cjs.map +1 -0
- package/dist/components/base/display/chart.d.ts +71 -1
- package/dist/components/base/display/chart.d.ts.map +1 -1
- package/dist/components/base/display/chart.js +144 -0
- package/dist/components/base/display/chart.js.map +1 -0
- package/dist/components/base/display/date-block.d.ts +1 -1
- package/dist/components/base/display/date-block.d.ts.map +1 -1
- package/dist/components/base/display/index.cjs +1 -1
- package/dist/components/base/display/index.d.ts +1 -2
- package/dist/components/base/display/index.d.ts.map +1 -1
- package/dist/components/base/display/index.js +10 -10
- package/dist/components/base/display/metadata/index.cjs +1 -1
- package/dist/components/base/display/metadata/index.js +1 -1
- package/dist/components/base/display/notification-banner.d.ts.map +1 -1
- package/dist/components/base/display/stacked-avatars.d.ts +6 -5
- package/dist/components/base/display/stacked-avatars.d.ts.map +1 -1
- package/dist/components/base/event-calendar/event-calendar-event-badge.d.ts.map +1 -1
- package/dist/components/base/event-calendar/event-calendar-event-card.d.ts.map +1 -1
- package/dist/components/base/event-calendar/event-calendar-header.d.ts.map +1 -1
- package/dist/components/base/event-calendar/event-calendar-legend.d.ts.map +1 -1
- package/dist/components/base/event-calendar/event-calendar.d.ts.map +1 -1
- package/dist/components/base/event-calendar/event-calendar.types.d.ts +3 -2
- package/dist/components/base/event-calendar/event-calendar.types.d.ts.map +1 -1
- 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 +196 -205
- package/dist/components/base/event-calendar/index.js.map +1 -1
- package/dist/components/base/forms/fields/currency-input.d.ts.map +1 -1
- package/dist/components/base/forms/fields/decimal-input.d.ts.map +1 -1
- package/dist/components/base/forms/fields/index.d.ts +2 -0
- package/dist/components/base/forms/fields/index.d.ts.map +1 -1
- package/dist/components/base/forms/fields/password-input.d.ts +21 -0
- package/dist/components/base/forms/fields/password-input.d.ts.map +1 -0
- package/dist/components/base/forms/fields/select.d.ts +2 -0
- package/dist/components/base/forms/fields/select.d.ts.map +1 -1
- package/dist/components/base/forms/fields/slug-field.d.ts +16 -0
- package/dist/components/base/forms/fields/slug-field.d.ts.map +1 -0
- package/dist/components/base/forms/fields/switch-card.d.ts.map +1 -1
- package/dist/components/base/forms/index.cjs +1 -1
- package/dist/components/base/forms/index.js +8 -7
- package/dist/components/base/frame/frame.d.ts +24 -0
- package/dist/components/base/frame/frame.d.ts.map +1 -0
- package/dist/components/base/frame/index.cjs +2 -0
- package/dist/components/base/frame/index.cjs.map +1 -0
- package/dist/components/base/frame/index.d.ts +2 -0
- package/dist/components/base/frame/index.d.ts.map +1 -0
- package/dist/components/base/frame/index.js +164 -0
- package/dist/components/base/frame/index.js.map +1 -0
- package/dist/components/base/index.d.ts.map +1 -1
- package/dist/components/base/item/index.cjs +1 -1
- package/dist/components/base/item/index.js +1 -1
- package/dist/components/base/item/item.d.ts.map +1 -1
- package/dist/components/base/map/index.cjs +1 -1
- package/dist/components/base/map/index.cjs.map +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 +2 -2
- package/dist/components/base/popover-menu/index.cjs +1 -1
- package/dist/components/base/popover-menu/index.js +1 -1
- package/dist/components/base/popover-menu/popover-menu.d.ts +2 -1
- package/dist/components/base/popover-menu/popover-menu.d.ts.map +1 -1
- package/dist/components/base/sidebar/index.cjs +1 -1
- package/dist/components/base/sidebar/index.js +2 -2
- package/dist/components/base/sidebar/sidebar.d.ts +5 -3
- package/dist/components/base/sidebar/sidebar.d.ts.map +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/data-table.d.ts.map +1 -1
- package/dist/components/base/table/index.cjs +1 -2
- package/dist/components/base/table/index.js +2 -1189
- package/dist/components/base/table/table-body.d.ts.map +1 -1
- package/dist/components/base/table/table-header.d.ts.map +1 -1
- package/dist/components/base/table/table-helpers.d.ts.map +1 -1
- package/dist/components/base/table/table.types.d.ts +6 -1
- package/dist/components/base/table/table.types.d.ts.map +1 -1
- package/dist/components/base/toaster/index.cjs +1 -1
- package/dist/components/base/toaster/index.js +1 -1
- package/dist/components/composed/admin/api-key-list/api-key-list.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 +18 -13
- package/dist/components/composed/admin/index.js.map +1 -1
- package/dist/components/composed/admin/role-permission/role-permission.d.ts.map +1 -1
- package/dist/components/composed/ai/ai-attachment/ai-attachment.d.ts.map +1 -1
- package/dist/components/composed/ai/ai-citation/ai-citation.d.ts.map +1 -1
- package/dist/components/composed/ai/ai-code-block/ai-code-block.d.ts.map +1 -1
- package/dist/components/composed/ai/ai-file-tree/ai-file-tree.d.ts.map +1 -1
- package/dist/components/composed/ai/ai-inline-citation/ai-inline-citation.d.ts.map +1 -1
- package/dist/components/composed/ai/ai-prompt-suggestions/ai-prompt-suggestions.d.ts.map +1 -1
- package/dist/components/composed/ai/ai-reasoning/ai-reasoning.d.ts.map +1 -1
- package/dist/components/composed/ai/ai-sources/ai-sources.d.ts.map +1 -1
- package/dist/components/composed/ai/ai-task/ai-task.d.ts.map +1 -1
- package/dist/components/composed/ai/ai-task/types.d.ts +2 -0
- package/dist/components/composed/ai/ai-task/types.d.ts.map +1 -1
- package/dist/components/composed/ai/ai-tool-call/ai-tool-call.d.ts.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 +87 -83
- package/dist/components/composed/ai/index.js.map +1 -1
- package/dist/components/composed/analytics/chart-card/chart-card.d.ts +22 -0
- package/dist/components/composed/analytics/chart-card/chart-card.d.ts.map +1 -0
- package/dist/components/composed/analytics/chart-card/index.d.ts +2 -0
- package/dist/components/composed/analytics/chart-card/index.d.ts.map +1 -0
- package/dist/components/composed/analytics/format-metric-value.d.ts.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.d.ts +2 -0
- package/dist/components/composed/analytics/index.d.ts.map +1 -1
- package/dist/components/composed/analytics/index.js +369 -377
- package/dist/components/composed/analytics/index.js.map +1 -1
- package/dist/components/composed/analytics/metric-comparison/metric-comparison.d.ts +2 -1
- package/dist/components/composed/analytics/metric-comparison/metric-comparison.d.ts.map +1 -1
- package/dist/components/composed/analytics/metric-gradient/metric-gradient.d.ts.map +1 -1
- package/dist/components/composed/cards/contact-card/contact-card.d.ts.map +1 -1
- package/dist/components/composed/cards/course-card/course-card.d.ts.map +1 -1
- package/dist/components/composed/cards/giftcard-card/partials/giftcard-compact.d.ts.map +1 -1
- package/dist/components/composed/cards/giftcard-card/partials/giftcard-dark.d.ts.map +1 -1
- package/dist/components/composed/cards/giftcard-card/partials/giftcard-full.d.ts.map +1 -1
- package/dist/components/composed/cards/giftcard-card/partials/giftcard-illustrated.d.ts.map +1 -1
- package/dist/components/composed/cards/giftcard-card/partials/giftcard-minimal.d.ts.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 +586 -606
- package/dist/components/composed/cards/index.js.map +1 -1
- package/dist/components/composed/cards/vendor-profile/vendor-profile.d.ts.map +1 -1
- package/dist/components/composed/commerce/cart-summary/cart-summary.d.ts.map +1 -1
- package/dist/components/composed/commerce/cart-summary/types.d.ts +8 -1
- package/dist/components/composed/commerce/cart-summary/types.d.ts.map +1 -1
- package/dist/components/composed/commerce/coupon-input/coupon-input.d.ts.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 +580 -486
- package/dist/components/composed/commerce/index.js.map +1 -1
- package/dist/components/composed/commerce/order-status/order-status.d.ts.map +1 -1
- package/dist/components/composed/commerce/order-status/types.d.ts +2 -0
- package/dist/components/composed/commerce/order-status/types.d.ts.map +1 -1
- package/dist/components/composed/commerce/payment-method/payment-method.d.ts.map +1 -1
- package/dist/components/composed/commerce/voucher-entry/types.d.ts +3 -0
- package/dist/components/composed/commerce/voucher-entry/types.d.ts.map +1 -1
- package/dist/components/composed/commerce/voucher-entry/voucher-entry.d.ts.map +1 -1
- package/dist/components/composed/dark-surfaces/booking-receipt/booking-receipt.d.ts.map +1 -1
- package/dist/components/composed/dark-surfaces/index.cjs +1 -1
- package/dist/components/composed/dark-surfaces/index.cjs.map +1 -1
- package/dist/components/composed/dark-surfaces/index.js +23 -16
- package/dist/components/composed/dark-surfaces/index.js.map +1 -1
- package/dist/components/composed/dark-surfaces/order-items/order-items.d.ts.map +1 -1
- package/dist/components/composed/dark-surfaces/order-items/types.d.ts +3 -1
- package/dist/components/composed/dark-surfaces/order-items/types.d.ts.map +1 -1
- package/dist/components/composed/data-display/index.cjs +1 -1
- package/dist/components/composed/data-display/index.cjs.map +1 -1
- package/dist/components/composed/data-display/index.js +18 -17
- package/dist/components/composed/data-display/index.js.map +1 -1
- package/dist/components/composed/data-display/invoice-mini/invoice-mini.d.ts.map +1 -1
- package/dist/components/composed/navigation/breadcrumb-progress/breadcrumb-progress.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 +90 -72
- package/dist/components/composed/navigation/index.js.map +1 -1
- package/dist/components/composed/navigation/kanban-board/kanban-board.d.ts.map +1 -1
- package/dist/components/composed/navigation/kanban-board/types.d.ts +5 -1
- package/dist/components/composed/navigation/kanban-board/types.d.ts.map +1 -1
- package/dist/components/composed/onboarding/index.cjs +1 -1
- package/dist/components/composed/onboarding/index.cjs.map +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 +6 -6
- package/dist/components/composed/timelines/index.js.map +1 -1
- package/dist/components/features/activities/activities-feed.d.ts.map +1 -1
- package/dist/components/features/activities/activities.types.d.ts +2 -1
- package/dist/components/features/activities/activities.types.d.ts.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 +286 -301
- package/dist/components/features/activities/index.js.map +1 -1
- package/dist/components/features/activities/partials/activities-feed-card.d.ts.map +1 -1
- package/dist/components/features/activities/partials/activity-headline.d.ts.map +1 -1
- package/dist/components/features/activities/partials/activity-resource-tag.d.ts.map +1 -1
- package/dist/components/features/activities/partials/activity-row.d.ts.map +1 -1
- package/dist/components/features/ai-chat/ai-chat.d.ts +2 -1
- package/dist/components/features/ai-chat/ai-chat.d.ts.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 +16 -14
- package/dist/components/features/ai-chat/index.js.map +1 -1
- package/dist/components/features/ai-chat/partials/ai-chat-conversation.d.ts +2 -1
- package/dist/components/features/ai-chat/partials/ai-chat-conversation.d.ts.map +1 -1
- package/dist/components/features/ai-chat/partials/ai-chat-message.d.ts +2 -1
- package/dist/components/features/ai-chat/partials/ai-chat-message.d.ts.map +1 -1
- package/dist/components/features/ai-chat/partials/ai-chat-prompt-input.d.ts +2 -1
- package/dist/components/features/ai-chat/partials/ai-chat-prompt-input.d.ts.map +1 -1
- package/dist/components/features/ai-chat/partials/ai-chat-queue.d.ts +2 -1
- package/dist/components/features/ai-chat/partials/ai-chat-queue.d.ts.map +1 -1
- package/dist/components/features/ai-chat/partials/ai-chat-suggestions-row.d.ts +2 -1
- package/dist/components/features/ai-chat/partials/ai-chat-suggestions-row.d.ts.map +1 -1
- package/dist/components/features/card/card.types.d.ts +2 -0
- package/dist/components/features/card/card.types.d.ts.map +1 -1
- package/dist/components/features/card/index.cjs +1 -1
- package/dist/components/features/card/index.cjs.map +1 -1
- package/dist/components/features/card/index.js +37 -43
- package/dist/components/features/card/index.js.map +1 -1
- package/dist/components/features/card/partials/default-shared-resource-partials.d.ts +2 -1
- package/dist/components/features/card/partials/default-shared-resource-partials.d.ts.map +1 -1
- package/dist/components/features/card/shared-resource-card.d.ts.map +1 -1
- package/dist/components/features/comments/comments-provider.d.ts +2 -1
- package/dist/components/features/comments/comments-provider.d.ts.map +1 -1
- package/dist/components/features/comments/comments.types.d.ts +6 -5
- package/dist/components/features/comments/comments.types.d.ts.map +1 -1
- package/dist/components/features/comments/index.cjs +1 -1
- package/dist/components/features/comments/index.js +2 -2
- package/dist/components/features/comments/partials/comment-attachment-chip.d.ts +2 -1
- package/dist/components/features/comments/partials/comment-attachment-chip.d.ts.map +1 -1
- package/dist/components/features/comments/partials/comment-composer.d.ts.map +1 -1
- package/dist/components/features/comments/partials/comment-empty.d.ts +2 -1
- package/dist/components/features/comments/partials/comment-empty.d.ts.map +1 -1
- package/dist/components/features/comments/partials/comment-item.d.ts.map +1 -1
- package/dist/components/features/event-log/event-log.d.ts.map +1 -1
- package/dist/components/features/event-log/event-log.types.d.ts +2 -2
- package/dist/components/features/event-log/event-log.types.d.ts.map +1 -1
- package/dist/components/features/event-log/index.cjs +1 -1
- package/dist/components/features/event-log/index.cjs.map +1 -1
- package/dist/components/features/event-log/index.js +86 -86
- package/dist/components/features/event-log/index.js.map +1 -1
- package/dist/components/features/filters/facets/async-select-facet.d.ts +1 -1
- package/dist/components/features/filters/facets/async-select-facet.d.ts.map +1 -1
- package/dist/components/features/filters/filters.types.d.ts +7 -7
- package/dist/components/features/filters/filters.types.d.ts.map +1 -1
- package/dist/components/features/filters/hooks/use-async-options.d.ts.map +1 -1
- 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 +518 -495
- package/dist/components/features/filters/index.js.map +1 -1
- package/dist/components/features/filters/partials/async-filter-content.d.ts +1 -1
- package/dist/components/features/filters/partials/async-filter-content.d.ts.map +1 -1
- package/dist/components/features/filters/partials/filter-pill.d.ts.map +1 -1
- package/dist/components/features/filters/partials/filters-button.d.ts.map +1 -1
- package/dist/components/features/global-search/global-search.d.ts +2 -1
- package/dist/components/features/global-search/global-search.d.ts.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 +291 -271
- package/dist/components/features/global-search/index.js.map +1 -1
- package/dist/components/features/global-search/partials/global-search-idle-state.d.ts.map +1 -1
- package/dist/components/features/global-search/partials/global-search-input.d.ts.map +1 -1
- package/dist/components/features/global-search/partials/global-search-result-row.d.ts.map +1 -1
- package/dist/components/features/global-search/partials/global-search-tabs.d.ts.map +1 -1
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/kanban/index.cjs +1 -1
- package/dist/components/features/kanban/index.cjs.map +1 -1
- package/dist/components/features/kanban/index.js +133 -124
- package/dist/components/features/kanban/index.js.map +1 -1
- package/dist/components/features/kanban/kanban-context.d.ts +1 -0
- package/dist/components/features/kanban/kanban-context.d.ts.map +1 -1
- package/dist/components/features/kanban/kanban.d.ts.map +1 -1
- package/dist/components/features/media-library/hooks/index.d.ts +2 -0
- package/dist/components/features/media-library/hooks/index.d.ts.map +1 -0
- package/dist/components/features/media-library/hooks/use-media-library.d.ts +6 -0
- package/dist/components/features/media-library/hooks/use-media-library.d.ts.map +1 -0
- package/dist/components/features/media-library/index.cjs +2 -0
- package/dist/components/features/media-library/index.cjs.map +1 -0
- package/dist/components/features/media-library/index.d.ts +7 -0
- package/dist/components/features/media-library/index.d.ts.map +1 -0
- package/dist/components/features/media-library/index.js +1796 -0
- package/dist/components/features/media-library/index.js.map +1 -0
- package/dist/components/features/media-library/media-library.d.ts +4 -0
- package/dist/components/features/media-library/media-library.d.ts.map +1 -0
- package/dist/components/features/media-library/media-library.strings.d.ts +120 -0
- package/dist/components/features/media-library/media-library.strings.d.ts.map +1 -0
- package/dist/components/features/media-library/media-library.types.d.ts +340 -0
- package/dist/components/features/media-library/media-library.types.d.ts.map +1 -0
- package/dist/components/features/media-library/media-resource-gallery.d.ts +3 -0
- package/dist/components/features/media-library/media-resource-gallery.d.ts.map +1 -0
- package/dist/components/features/media-library/partials/index.d.ts +2 -0
- package/dist/components/features/media-library/partials/index.d.ts.map +1 -0
- package/dist/components/features/media-library/partials/media-library-partials.d.ts +11 -0
- package/dist/components/features/media-library/partials/media-library-partials.d.ts.map +1 -0
- package/dist/components/features/mentions/index.cjs +1 -1
- package/dist/components/features/mentions/index.js +1 -1
- package/dist/components/features/mentions/partials/mention-chip.d.ts.map +1 -1
- package/dist/components/features/mentions/partials/mention-inline-suggestions.d.ts.map +1 -1
- package/dist/components/features/mentions/partials/mention-picker.d.ts.map +1 -1
- package/dist/components/features/mentions/utils/build-mention-html.d.ts +3 -3
- package/dist/components/features/overlays/dialog.d.ts +1 -1
- package/dist/components/features/overlays/dialog.d.ts.map +1 -1
- package/dist/components/features/overlays/drawer.d.ts.map +1 -1
- package/dist/components/features/overlays/index.cjs +1 -1
- package/dist/components/features/overlays/index.js +1 -1
- package/dist/components/features/overlays/overlays.types.d.ts +3 -1
- package/dist/components/features/overlays/overlays.types.d.ts.map +1 -1
- package/dist/components/features/products/components/index.d.ts +15 -0
- package/dist/components/features/products/components/index.d.ts.map +1 -0
- package/dist/components/features/products/components/product-contract-overview.d.ts +6 -0
- package/dist/components/features/products/components/product-contract-overview.d.ts.map +1 -0
- package/dist/components/features/products/components/product-details-card.d.ts +6 -0
- package/dist/components/features/products/components/product-details-card.d.ts.map +1 -0
- package/dist/components/features/products/components/product-operations-card.d.ts +6 -0
- package/dist/components/features/products/components/product-operations-card.d.ts.map +1 -0
- package/dist/components/features/products/components/product-option-action-menu.d.ts +6 -0
- package/dist/components/features/products/components/product-option-action-menu.d.ts.map +1 -0
- package/dist/components/features/products/components/product-options-summary.d.ts +6 -0
- package/dist/components/features/products/components/product-options-summary.d.ts.map +1 -0
- package/dist/components/features/products/components/product-overview.d.ts +6 -0
- package/dist/components/features/products/components/product-overview.d.ts.map +1 -0
- package/dist/components/features/products/components/product-policies-card.d.ts +6 -0
- package/dist/components/features/products/components/product-policies-card.d.ts.map +1 -0
- package/dist/components/features/products/components/product-quote-preview-card.d.ts +6 -0
- package/dist/components/features/products/components/product-quote-preview-card.d.ts.map +1 -0
- package/dist/components/features/products/components/product-readiness-card.d.ts +6 -0
- package/dist/components/features/products/components/product-readiness-card.d.ts.map +1 -0
- package/dist/components/features/products/components/product-structure-card.d.ts +6 -0
- package/dist/components/features/products/components/product-structure-card.d.ts.map +1 -0
- package/dist/components/features/products/components/product-variant-action-menu.d.ts +6 -0
- package/dist/components/features/products/components/product-variant-action-menu.d.ts.map +1 -0
- package/dist/components/features/products/components/product-variant-details.d.ts +6 -0
- package/dist/components/features/products/components/product-variant-details.d.ts.map +1 -0
- package/dist/components/features/products/components/product-variant-editor.d.ts +6 -0
- package/dist/components/features/products/components/product-variant-editor.d.ts.map +1 -0
- package/dist/components/features/products/components/product-variants-table.d.ts +6 -0
- package/dist/components/features/products/components/product-variants-table.d.ts.map +1 -0
- package/dist/components/features/products/index.cjs +2 -0
- package/dist/components/features/products/index.cjs.map +1 -0
- package/dist/components/features/products/index.d.ts +6 -0
- package/dist/components/features/products/index.d.ts.map +1 -0
- package/dist/components/features/products/index.js +1749 -0
- package/dist/components/features/products/index.js.map +1 -0
- package/dist/components/features/products/partials/index.d.ts +8 -0
- package/dist/components/features/products/partials/index.d.ts.map +1 -0
- package/dist/components/features/products/partials/product-actions.d.ts +8 -0
- package/dist/components/features/products/partials/product-actions.d.ts.map +1 -0
- package/dist/components/features/products/partials/product-empty-state.d.ts +8 -0
- package/dist/components/features/products/partials/product-empty-state.d.ts.map +1 -0
- package/dist/components/features/products/partials/product-metric-tile.d.ts +5 -0
- package/dist/components/features/products/partials/product-metric-tile.d.ts.map +1 -0
- package/dist/components/features/products/partials/product-rows.d.ts +25 -0
- package/dist/components/features/products/partials/product-rows.d.ts.map +1 -0
- package/dist/components/features/products/partials/product-tone.d.ts +9 -0
- package/dist/components/features/products/partials/product-tone.d.ts.map +1 -0
- package/dist/components/features/products/partials/product-values.d.ts +2 -0
- package/dist/components/features/products/partials/product-values.d.ts.map +1 -0
- package/dist/components/features/products/partials/product-variant-table-parts.d.ts +22 -0
- package/dist/components/features/products/partials/product-variant-table-parts.d.ts.map +1 -0
- package/dist/components/features/products/products.d.ts +7 -0
- package/dist/components/features/products/products.d.ts.map +1 -0
- package/dist/components/features/products/products.strings.d.ts +197 -0
- package/dist/components/features/products/products.strings.d.ts.map +1 -0
- package/dist/components/features/products/products.types.d.ts +372 -0
- package/dist/components/features/products/products.types.d.ts.map +1 -0
- 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/rich-text-editor/partials/rich-text-editor-fallback.d.ts.map +1 -1
- package/dist/components/features/rich-text-editor/partials/rich-text-editor-tiptap.d.ts.map +1 -1
- package/dist/components/features/schema-form/hooks/index.d.ts +2 -0
- package/dist/components/features/schema-form/hooks/index.d.ts.map +1 -0
- package/dist/components/features/schema-form/hooks/use-schema-form.d.ts +24 -0
- package/dist/components/features/schema-form/hooks/use-schema-form.d.ts.map +1 -0
- package/dist/components/features/schema-form/index.cjs +2 -0
- package/dist/components/features/schema-form/index.cjs.map +1 -0
- package/dist/components/features/schema-form/index.d.ts +6 -0
- package/dist/components/features/schema-form/index.d.ts.map +1 -0
- package/dist/components/features/schema-form/index.js +721 -0
- package/dist/components/features/schema-form/index.js.map +1 -0
- package/dist/components/features/schema-form/partials/index.d.ts +4 -0
- package/dist/components/features/schema-form/partials/index.d.ts.map +1 -0
- package/dist/components/features/schema-form/partials/schema-form-actions.d.ts +16 -0
- package/dist/components/features/schema-form/partials/schema-form-actions.d.ts.map +1 -0
- package/dist/components/features/schema-form/partials/schema-form-empty.d.ts +10 -0
- package/dist/components/features/schema-form/partials/schema-form-empty.d.ts.map +1 -0
- package/dist/components/features/schema-form/partials/schema-form-field.d.ts +11 -0
- package/dist/components/features/schema-form/partials/schema-form-field.d.ts.map +1 -0
- package/dist/components/features/schema-form/schema-form.d.ts +6 -0
- package/dist/components/features/schema-form/schema-form.d.ts.map +1 -0
- package/dist/components/features/schema-form/schema-form.strings.d.ts +12 -0
- package/dist/components/features/schema-form/schema-form.strings.d.ts.map +1 -0
- package/dist/components/features/schema-form/schema-form.types.d.ts +198 -0
- package/dist/components/features/schema-form/schema-form.types.d.ts.map +1 -0
- package/dist/components/features/schema-form/schema-form.utils.d.ts +19 -0
- package/dist/components/features/schema-form/schema-form.utils.d.ts.map +1 -0
- package/dist/components/features/suggestions/hooks/use-suggestions.d.ts.map +1 -1
- package/dist/components/features/suggestions/index.cjs +1 -1
- package/dist/components/features/suggestions/index.cjs.map +1 -1
- package/dist/components/features/suggestions/index.js +64 -64
- package/dist/components/features/suggestions/index.js.map +1 -1
- package/dist/components/features/suggestions/suggestions.d.ts.map +1 -1
- package/dist/components/features/suggestions/suggestions.types.d.ts +1 -0
- package/dist/components/features/suggestions/suggestions.types.d.ts.map +1 -1
- package/dist/components/features/sync/index.cjs +1 -1
- package/dist/components/features/sync/index.cjs.map +1 -1
- package/dist/components/features/sync/index.js +3 -3
- package/dist/components/layout/app-shell/app-shell.types.d.ts +1 -1
- package/dist/components/layout/app-shell/app-shell.types.d.ts.map +1 -1
- package/dist/components/layout/app-shell/index.cjs +1 -1
- package/dist/components/layout/app-shell/index.js +1 -1
- package/dist/components/layout/app-shell/topbar-sidebar-layout.d.ts.map +1 -1
- package/dist/components/layout/auth/auth-card.d.ts +3 -0
- package/dist/components/layout/auth/auth-card.d.ts.map +1 -0
- package/dist/components/layout/auth/auth-footer-links.d.ts +3 -0
- package/dist/components/layout/auth/auth-footer-links.d.ts.map +1 -0
- package/dist/components/layout/auth/auth-hooks.d.ts +5 -0
- package/dist/components/layout/auth/auth-hooks.d.ts.map +1 -0
- package/dist/components/layout/auth/auth-method-switch.d.ts +5 -0
- package/dist/components/layout/auth/auth-method-switch.d.ts.map +1 -0
- package/dist/components/layout/auth/auth-shell.d.ts +3 -0
- package/dist/components/layout/auth/auth-shell.d.ts.map +1 -0
- package/dist/components/layout/auth/auth-social-providers.d.ts +4 -0
- package/dist/components/layout/auth/auth-social-providers.d.ts.map +1 -0
- package/dist/components/layout/auth/auth-split-panel.d.ts +3 -0
- package/dist/components/layout/auth/auth-split-panel.d.ts.map +1 -0
- package/dist/components/layout/auth/auth.strings.d.ts +22 -0
- package/dist/components/layout/auth/auth.strings.d.ts.map +1 -0
- package/dist/components/layout/auth/auth.types.d.ts +187 -0
- package/dist/components/layout/auth/auth.types.d.ts.map +1 -0
- package/dist/components/layout/auth/index.cjs +1 -0
- package/dist/components/layout/auth/index.d.ts +10 -0
- package/dist/components/layout/auth/index.d.ts.map +1 -0
- package/dist/components/layout/auth/index.js +2 -0
- package/dist/components/layout/header/index.cjs +1 -1
- package/dist/components/layout/header/index.js +1 -1
- package/dist/components/layout/header/partials/header-notifications.d.ts.map +1 -1
- package/dist/components/layout/header/partials/header-search.d.ts.map +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.d.ts +2 -0
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/components/layout/index.js +8 -6
- package/dist/components/layout/page/index.cjs +1 -1
- package/dist/components/layout/page/index.js +1 -1
- package/dist/components/layout/sidebar/components/sidebar-grouped-navigation.d.ts.map +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 -0
- package/dist/components/layout/workspace/index.d.ts +4 -0
- package/dist/components/layout/workspace/index.d.ts.map +1 -0
- package/dist/components/layout/workspace/index.js +2 -0
- package/dist/components/layout/workspace/workspace.d.ts +7 -0
- package/dist/components/layout/workspace/workspace.d.ts.map +1 -0
- package/dist/components/layout/workspace/workspace.strings.d.ts +19 -0
- package/dist/components/layout/workspace/workspace.strings.d.ts.map +1 -0
- package/dist/components/layout/workspace/workspace.types.d.ts +96 -0
- package/dist/components/layout/workspace/workspace.types.d.ts.map +1 -0
- package/dist/components/typography/heading.d.ts +2 -1
- package/dist/components/typography/heading.d.ts.map +1 -1
- package/dist/components/typography/index.cjs +1 -1
- package/dist/components/typography/index.js +2 -3
- package/dist/components/typography/text-link.d.ts.map +1 -1
- package/dist/components/typography/text.d.ts +2 -1
- package/dist/components/typography/text.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.d.ts +19 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.d.ts +5 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/carousel.d.ts +29 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/direction.d.ts +2 -0
- package/dist/components/ui/direction.d.ts.map +1 -0
- package/dist/components/ui/drawer.d.ts +14 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/field.d.ts +25 -0
- package/dist/components/ui/field.d.ts.map +1 -0
- package/dist/components/ui/input-group.d.ts +1 -1
- package/dist/components/ui/input-otp.d.ts +12 -0
- package/dist/components/ui/input-otp.d.ts.map +1 -0
- package/dist/components/ui/kbd.d.ts +4 -0
- package/dist/components/ui/kbd.d.ts.map +1 -0
- package/dist/components/ui/label.d.ts +4 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/menubar.d.ts +30 -0
- package/dist/components/ui/menubar.d.ts.map +1 -0
- package/dist/components/ui/native-select.d.ts +9 -0
- package/dist/components/ui/native-select.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.d.ts +12 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/resizable.d.ts +8 -0
- package/dist/components/ui/resizable.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/ui-provider/index.cjs +1 -1
- package/dist/lib/ui-provider/index.js +1 -1
- package/dist/lib/utils.cjs +1 -1
- package/dist/lib/utils.cjs.map +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +19 -16
- package/dist/lib/utils.js.map +1 -1
- package/dist/showcase/assets/AreaChart-BkAbL-UV.js +6 -0
- package/dist/showcase/assets/CSPContext-B11tftuK.js +1 -0
- package/dist/showcase/assets/CompositeItem-Dzu0MfUC.js +1 -0
- package/dist/showcase/assets/CompositeRoot-CQvQ_uj2.js +1 -0
- package/dist/showcase/assets/DialogTrigger-BxVhSw4D.js +1 -0
- package/dist/showcase/assets/FieldItemContext-BSFHjS7g.js +1 -0
- package/dist/showcase/assets/LabelableContext-DapqaNeY.js +1 -0
- package/dist/showcase/assets/PreviewLayout-CGEkbS-i.js +1 -0
- package/dist/showcase/assets/RadioGroup-DBA3iBQw.js +1 -0
- package/dist/showcase/assets/Separator-BEMr82IS.js +1 -0
- package/dist/showcase/assets/ToolbarRootContext-xN-ruoGR.js +1 -0
- package/dist/showcase/assets/accordion-B-Iy0jKu.js +171 -0
- package/dist/showcase/assets/accordion-variants-B9GD0oBE.js +1 -0
- package/dist/showcase/assets/action-menu-CMUF6gPp.js +1 -0
- package/dist/showcase/assets/activities-C1P9bsJm.js +501 -0
- package/dist/showcase/assets/activities-feed-card-WZUuGHmT.js +1 -0
- package/dist/showcase/assets/activity-BVP5C805.js +1 -0
- package/dist/showcase/assets/admin-DWOK4sj4.js +80 -0
- package/dist/showcase/assets/ai-Dteb3y6G.js +41 -0
- package/dist/showcase/assets/ai-artifact-B0d7GveY.js +2 -0
- package/dist/showcase/assets/ai-chat-IJ0b2FOw.js +568 -0
- package/dist/showcase/assets/ai-elements-Cr8GgtEV.js +387 -0
- package/dist/showcase/assets/ai-new-BJN9wNvX.js +167 -0
- package/dist/showcase/assets/ai-tool-call-BqlQuR1P.js +1 -0
- package/dist/showcase/assets/alert-2_0J7Vv6.js +1 -0
- package/dist/showcase/assets/alert-7wEOpEor.js +93 -0
- package/dist/showcase/assets/alert-C_FOBilU.js +62 -0
- package/dist/showcase/assets/api-key-list-CGV1k52v.js +73 -0
- package/dist/showcase/assets/app-sidebar-S6oUYO4h.js +1 -0
- package/dist/showcase/assets/arrow-down-VNr82bS3.js +1 -0
- package/dist/showcase/assets/arrow-left-BSVeKWNq.js +1 -0
- package/dist/showcase/assets/arrow-right-D6hTB0Bd.js +1 -0
- package/dist/showcase/assets/arrow-up-p9oA4cIz.js +1 -0
- package/dist/showcase/assets/arrow-up-right-BtlQ62bc.js +1 -0
- package/dist/showcase/assets/avatar-BxcQUuh0.js +57 -0
- package/dist/showcase/assets/avatar-LGWm52rv.js +1 -0
- package/dist/showcase/assets/badge-COn5psy3.js +28 -0
- package/dist/showcase/assets/badge-check-D2C2BPUT.js +1 -0
- package/dist/showcase/assets/bell-C80n9VRl.js +1 -0
- package/dist/showcase/assets/bot-C83bUUi9.js +1 -0
- package/dist/showcase/assets/box-rZ0pA-02.js +1 -0
- package/dist/showcase/assets/brain-BJtktdVu.js +1 -0
- package/dist/showcase/assets/brand-CxdIBpyJ.js +36 -0
- package/dist/showcase/assets/breadcrumb-BZsr_A8k.js +1 -0
- package/dist/showcase/assets/breadcrumb-CSU8FvWB.js +52 -0
- package/dist/showcase/assets/breadcrumbs-BUm4gHzL.js +1 -0
- package/dist/showcase/assets/briefcase-0WhUdLn5.js +1 -0
- package/dist/showcase/assets/building-2-1D6zVdCI.js +1 -0
- package/dist/showcase/assets/button-C22Gs6y0.js +44 -0
- package/dist/showcase/assets/button-group-C0Ts4-x3.js +1 -0
- package/dist/showcase/assets/buttons-Dfn6hmwe.js +270 -0
- package/dist/showcase/assets/calendar-7a4yQlzJ.js +1 -0
- package/dist/showcase/assets/calendar-Bo17POsN.js +1 -0
- package/dist/showcase/assets/calendar-D6XNDRVQ.js +16 -0
- package/dist/showcase/assets/calendar-days-C4mG2tOe.js +1 -0
- package/dist/showcase/assets/camera-C16z6v0m.js +1 -0
- package/dist/showcase/assets/card-BjqRQxxz.js +1 -0
- package/dist/showcase/assets/card-IzYmUTpI.js +188 -0
- package/dist/showcase/assets/card-primitives-BDj4DtS8.js +1 -0
- package/dist/showcase/assets/card-radio-group-7GU9AtWs.js +1 -0
- package/dist/showcase/assets/cards-DAqpr8CM.js +328 -0
- package/dist/showcase/assets/carousel-D1n4Kkoo.js +449 -0
- package/dist/showcase/assets/chart-D2EGeI3b.js +358 -0
- package/dist/showcase/assets/chart-column-DKcP77Dx.js +1 -0
- package/dist/showcase/assets/checkbox-BI3gcjED.js +1 -0
- package/dist/showcase/assets/chevron-down-ByPPEdNm.js +1 -0
- package/dist/showcase/assets/chevron-left-BNByuq3g.js +1 -0
- package/dist/showcase/assets/chevron-right-D4pIMCh9.js +1 -0
- package/dist/showcase/assets/chevron-up-Cha879Nz.js +1 -0
- package/dist/showcase/assets/chevrons-up-down-eAgHau5X.js +1 -0
- package/dist/showcase/assets/circle-V5hdlsIn.js +1 -0
- package/dist/showcase/assets/circle-alert-BW-Btwgh.js +1 -0
- package/dist/showcase/assets/circle-check-1MSds3Vu.js +1 -0
- package/dist/showcase/assets/circle-check-big-vBWkmhCZ.js +1 -0
- package/dist/showcase/assets/circle-dot-CsD5uXwH.js +1 -0
- package/dist/showcase/assets/circle-question-mark-xYn9p1nL.js +1 -0
- package/dist/showcase/assets/circle-x-VSqZOeGt.js +1 -0
- package/dist/showcase/assets/clock-3-CP_t59kW.js +1 -0
- package/dist/showcase/assets/clock-9xbB7EnW.js +1 -0
- package/dist/showcase/assets/code-xml-CeGA85eB.js +1 -0
- package/dist/showcase/assets/collapsible-C2W51-wl.js +27 -0
- package/dist/showcase/assets/collapsible-C4eof15p.js +1 -0
- package/dist/showcase/assets/combobox-i8o4u6Q0.js +696 -0
- package/dist/showcase/assets/command-C4F78Ppy.js +1 -0
- package/dist/showcase/assets/command-wjOXUieO.js +1 -0
- package/dist/showcase/assets/comment-composer-DeURrlgL.js +1 -0
- package/dist/showcase/assets/comment-item-D07Qk-Nt.js +1 -0
- package/dist/showcase/assets/comments-Bo-lZU18.js +357 -0
- package/dist/showcase/assets/commerce-extras-Cio3xn_B.js +189 -0
- package/dist/showcase/assets/commerce-jqA58sCZ.js +79 -0
- package/dist/showcase/assets/composite-BQFpnmS9.js +1 -0
- package/dist/showcase/assets/contact-card-4ajPhcd_.js +65 -0
- package/dist/showcase/assets/content-container-B83BnjFb.js +1 -0
- package/dist/showcase/assets/copyable-DKkroGJ3.js +96 -0
- package/dist/showcase/assets/course-card-DShYl03k.js +77 -0
- package/dist/showcase/assets/cpu-BZTsuaUu.js +1 -0
- package/dist/showcase/assets/credit-card-CAI3F3HB.js +1 -0
- package/dist/showcase/assets/currency-PXgbngHk.js +149 -0
- package/dist/showcase/assets/dark-surfaces-pSCicdm4.js +90 -0
- package/dist/showcase/assets/database-oHsxHUj-.js +1 -0
- package/dist/showcase/assets/date-block-CvCdJr8d.js +1 -0
- package/dist/showcase/assets/date-picker-Cd5vsEEd.js +1 -0
- package/dist/showcase/assets/date-pickers-CBK-zvSB.js +73 -0
- package/dist/showcase/assets/dense-info-zOdJpez6.js +106 -0
- package/dist/showcase/assets/dialog-D9-MRCRg.js +1 -0
- package/dist/showcase/assets/dialog-EDw9DvZs.js +1 -0
- package/dist/showcase/assets/display-CE9JWinr.js +403 -0
- package/dist/showcase/assets/dist-CjZ6RM9v.js +45 -0
- package/dist/showcase/assets/dollar-sign-BXD_x2mP.js +1 -0
- package/dist/showcase/assets/download-D0ur_d_N.js +1 -0
- package/dist/showcase/assets/dropdown-menu-Cto8-yDW.js +1 -0
- package/dist/showcase/assets/dropzone-9Gb4mR4x.js +1 -0
- package/dist/showcase/assets/earth-BN1w3w7h.js +1 -0
- package/dist/showcase/assets/ellipsis-DsrebD1Y.js +1 -0
- package/dist/showcase/assets/ellipsis-vertical-CAiMV7G2.js +1 -0
- package/dist/showcase/assets/empty-DoJF3uif.js +1 -0
- package/dist/showcase/assets/empty-item-zZ85qI6s.js +49 -0
- package/dist/showcase/assets/empty-state-CGfB7sOE.js +1 -0
- package/dist/showcase/assets/empty-state-Y_4qnNWt.js +188 -0
- package/dist/showcase/assets/enhanced-activities-B41hAxhb.js +361 -0
- package/dist/showcase/assets/enhanced-combobox-BOimEW-1.js +1 -0
- package/dist/showcase/assets/event-calendar-BjcfC6fM.js +138 -0
- package/dist/showcase/assets/event-log-BhoMXcix.js +330 -0
- package/dist/showcase/assets/example-Cz_880po.js +1 -0
- package/dist/showcase/assets/external-link-Cy1-PP8k.js +1 -0
- package/dist/showcase/assets/eye-C85PNNdH.js +1 -0
- package/dist/showcase/assets/feature-announcement-_tpahla3.js +34 -0
- package/dist/showcase/assets/file-C8PCBEtY.js +1 -0
- package/dist/showcase/assets/file-text-DwqbUujq.js +1 -0
- package/dist/showcase/assets/filters-ChqGg_1z.js +78 -0
- package/dist/showcase/assets/flag-csHQcBml.js +1 -0
- package/dist/showcase/assets/folder-open-BThTng3d.js +1 -0
- package/dist/showcase/assets/form-field-B5g_5Zjm.js +1 -0
- package/dist/showcase/assets/form-sizing-DHUDpiPA.js +1 -0
- package/dist/showcase/assets/format-DrTwpH65.js +1 -0
- package/dist/showcase/assets/format-metric-value-BTsvOjZQ.js +1 -0
- package/dist/showcase/assets/forms-BukyUSKs.js +862 -0
- package/dist/showcase/assets/frame-BNKhZVlb.js +167 -0
- package/dist/showcase/assets/getPseudoElementBounds-DwyQgIj-.js +1 -0
- package/dist/showcase/assets/gift-CtM--bDo.js +1 -0
- package/dist/showcase/assets/giftcard-cards-imm4Br0H.js +85 -0
- package/dist/showcase/assets/git-branch-Dl3AzbqP.js +1 -0
- package/dist/showcase/assets/global-search-Bhl7z_vN.js +1 -0
- package/dist/showcase/assets/global-search-C4yaPFSW.js +215 -0
- package/dist/showcase/assets/globe-BCikLfKc.js +1 -0
- package/dist/showcase/assets/gradient-card-Dh_5ZYv0.js +58 -0
- package/dist/showcase/assets/hash-C8m0EECO.js +1 -0
- package/dist/showcase/assets/header-BXjw7Lm_.js +1 -0
- package/dist/showcase/assets/header-notifications-CShSQ8kR.js +1 -0
- package/dist/showcase/assets/heart-BJVBFZ-j.js +1 -0
- package/dist/showcase/assets/hero-CLDdwZDr.png +0 -0
- package/dist/showcase/assets/house-C3fXPhlL.js +1 -0
- package/dist/showcase/assets/icon-badge-dwVx3Hxf.js +1 -0
- package/dist/showcase/assets/image-gc4qX_7C.js +1 -0
- package/dist/showcase/assets/inbox-C0GJ1KEC.js +1 -0
- package/dist/showcase/assets/index-BQIv1ffM.js +10 -0
- package/dist/showcase/assets/index-DN3tqopz.css +2 -0
- package/dist/showcase/assets/index.esm-Ducg7a0P.js +1 -0
- package/dist/showcase/assets/inertValue-DeVQ2cCe.js +1 -0
- package/dist/showcase/assets/info-BimmreJ-.js +1 -0
- package/dist/showcase/assets/inline-stat-DcNP6bcO.js +1 -0
- package/dist/showcase/assets/input-DJAWOJEx.js +1 -0
- package/dist/showcase/assets/input-NIgvB9CZ.js +1 -0
- package/dist/showcase/assets/input-group-BmqJ20bA.js +1 -0
- package/dist/showcase/assets/input-group-gOUubhee.js +47 -0
- package/dist/showcase/assets/inputs-Dk8YOVkI.js +155 -0
- package/dist/showcase/assets/invoice-header-BnNpWej2.js +36 -0
- package/dist/showcase/assets/invoice-items-BdPmW10L.js +36 -0
- package/dist/showcase/assets/invoice-mini-CbSYyHIb.js +14 -0
- package/dist/showcase/assets/invoice-table-DjnWG3KF.js +30 -0
- package/dist/showcase/assets/isSameDay-B2KDl_YX.js +1 -0
- package/dist/showcase/assets/isToday-CXNS7ELW.js +1 -0
- package/dist/showcase/assets/italic-BRS-PpYL.js +1 -0
- package/dist/showcase/assets/item--6Hx9AXZ.js +1 -0
- package/dist/showcase/assets/item-BszVRzXj.js +134 -0
- package/dist/showcase/assets/item-YF6wMI9W.js +1 -0
- package/dist/showcase/assets/kanban-BWBbWLVe.js +186 -0
- package/dist/showcase/assets/label-BgpcD3V6.js +1 -0
- package/dist/showcase/assets/languages-DDgmIDFe.js +1 -0
- package/dist/showcase/assets/layers-nkkXRmvA.js +1 -0
- package/dist/showcase/assets/layout-app-shell-D3MbPoGC.js +608 -0
- package/dist/showcase/assets/layout-auth-DIeRtG0B.js +754 -0
- package/dist/showcase/assets/layout-containers-Dc3-IAgV.js +101 -0
- package/dist/showcase/assets/layout-header-Cg6GfMST.js +170 -0
- package/dist/showcase/assets/layout-page-DojPq8S6.js +122 -0
- package/dist/showcase/assets/layout-primitives-JBSQS72B.js +34 -0
- package/dist/showcase/assets/layout-sidebar-C6jUJRhx.js +224 -0
- package/dist/showcase/assets/layout-users-uzPscfo7.js +117 -0
- package/dist/showcase/assets/layout-workspace-B3leaOKl.js +183 -0
- package/dist/showcase/assets/lock-DLIcOBUd.js +1 -0
- package/dist/showcase/assets/lock-keyhole-DY6aV7Mq.js +1 -0
- package/dist/showcase/assets/mail-AES_tOd2.js +1 -0
- package/dist/showcase/assets/mail-check-dJTzg2bD.js +1 -0
- package/dist/showcase/assets/map-CZ2l0iGH.js +124 -0
- package/dist/showcase/assets/map-pin-0O7GD5Dz.js +1 -0
- package/dist/showcase/assets/media-library-CRllxSGQ.js +695 -0
- package/dist/showcase/assets/mention-inline-suggestions-Dx2Z1GHF.js +1 -0
- package/dist/showcase/assets/mentions-CDqqGCE4.js +138 -0
- package/dist/showcase/assets/menus-CDgE79I5.js +165 -0
- package/dist/showcase/assets/message-square-CBNI_sf8.js +1 -0
- package/dist/showcase/assets/metadata-list-BoEVt7cX.js +1 -0
- package/dist/showcase/assets/metadata-list-NtWuY9W8.js +288 -0
- package/dist/showcase/assets/metric-Bx_LWobe.js +1 -0
- package/dist/showcase/assets/metric-bar-BldYHNLQ.js +1 -0
- package/dist/showcase/assets/metric-grid-BDw7w7d2.js +1 -0
- package/dist/showcase/assets/metric-trend-chip-lSjDkUEo.js +1 -0
- package/dist/showcase/assets/metrics-analytics-bar-CCFhTmQZ.js +44 -0
- package/dist/showcase/assets/metrics-analytics-cards-C1AjZqJU.js +50 -0
- package/dist/showcase/assets/metrics-comparison-vEE6BtuW.js +76 -0
- package/dist/showcase/assets/metrics-heatmap-DKkz8ibX.js +27 -0
- package/dist/showcase/assets/metrics-inline-badge-CZmVnReB.js +17 -0
- package/dist/showcase/assets/metrics-kpi-row-s2FYIYB1.js +31 -0
- package/dist/showcase/assets/metrics-micro-grid-DDlCl9Ep.js +42 -0
- package/dist/showcase/assets/metrics-overview-BgliK2L1.js +192 -0
- package/dist/showcase/assets/metrics-stat-cards-Cn5sRZsB.js +54 -0
- package/dist/showcase/assets/minus-DByvcC8K.js +1 -0
- package/dist/showcase/assets/money-display-DG4IaEaA.js +1 -0
- package/dist/showcase/assets/month-year-picker-CVurc9L7.js +1 -0
- package/dist/showcase/assets/navigation-CHYgQTsY.js +90 -0
- package/dist/showcase/assets/navigation-C_6gS4FA.js +230 -0
- package/dist/showcase/assets/navigation-extras-CflOar2P.js +43 -0
- package/dist/showcase/assets/onboarding-checklist-CYiciKwv.js +119 -0
- package/dist/showcase/assets/overlays-HrH2wdTK.js +408 -0
- package/dist/showcase/assets/overlays-cp7VMq3b.js +159 -0
- package/dist/showcase/assets/package-CjcwDJKu.js +1 -0
- package/dist/showcase/assets/package-check-CCH3ax-x.js +1 -0
- package/dist/showcase/assets/page-action-button-Cn5j2_EP.js +1 -0
- package/dist/showcase/assets/page-header-CkvCF1MQ.js +1 -0
- package/dist/showcase/assets/pagination-DM5QGPo2.js +42 -0
- package/dist/showcase/assets/pagination-DUzHnhJ6.js +1 -0
- package/dist/showcase/assets/paperclip-DoqDQQVa.js +1 -0
- package/dist/showcase/assets/password-input-CfS4sfCl.js +1 -0
- package/dist/showcase/assets/pencil-C2OfFQMj.js +1 -0
- package/dist/showcase/assets/phone-CLvml_XI.js +1 -0
- package/dist/showcase/assets/plus-D5swsZCz.js +1 -0
- package/dist/showcase/assets/popover-menu-Bu9q96nE.js +1 -0
- package/dist/showcase/assets/popover-nCGXR4Yd.js +1 -0
- package/dist/showcase/assets/popover-xC8qczvP.js +1 -0
- package/dist/showcase/assets/products-BbSzEFvw.js +407 -0
- package/dist/showcase/assets/progress-DYfoy7pk.js +1 -0
- package/dist/showcase/assets/progress-ENNwjW3X.js +18 -0
- package/dist/showcase/assets/props-table-2pIZzGC-.js +1 -0
- package/dist/showcase/assets/props.generated-DggzG-JL.json +38611 -0
- package/dist/showcase/assets/quote-BO1bufuX.js +1 -0
- package/dist/showcase/assets/receipt-kIVP3kxJ.js +1 -0
- package/dist/showcase/assets/receipt-text-BDQIvI4l.js +1 -0
- package/dist/showcase/assets/refresh-cw-UdL93poQ.js +1 -0
- package/dist/showcase/assets/resolveAriaLabelledBy-iFo8AzEr.js +1 -0
- package/dist/showcase/assets/resolveValueLabel-DfiI3G4i.js +1 -0
- package/dist/showcase/assets/rich-text-editor-CNtfwLC2.js +143 -0
- package/dist/showcase/assets/rich-text-editor-DB4QWptQ.js +124 -0
- package/dist/showcase/assets/rotate-ccw-DQPoMfMY.js +1 -0
- package/dist/showcase/assets/save-Cd0ZM40i.js +1 -0
- package/dist/showcase/assets/schema-form-Cyc6vCVO.js +325 -0
- package/dist/showcase/assets/scroll-area-B5NZsDdi.js +32 -0
- package/dist/showcase/assets/scroll-area-BvTq99pz.js +1 -0
- package/dist/showcase/assets/select-BRbyPtx8.js +1 -0
- package/dist/showcase/assets/select-Dymyvyh6.js +1 -0
- package/dist/showcase/assets/send-BWzI7mwi.js +1 -0
- package/dist/showcase/assets/separator-BsYPzBlF.js +1 -0
- package/dist/showcase/assets/separator-Osp0OJ78.js +28 -0
- package/dist/showcase/assets/serializeValue-B_EucO5O.js +1 -0
- package/dist/showcase/assets/settings-DRmWJILI.js +1 -0
- package/dist/showcase/assets/sheet-BKsjMYMo.js +1 -0
- package/dist/showcase/assets/shield-D1EaWJMG.js +1 -0
- package/dist/showcase/assets/shield-alert-DWsbR2jn.js +1 -0
- package/dist/showcase/assets/shield-check-DUTAPADm.js +1 -0
- package/dist/showcase/assets/shopping-bag-XmeqUqk9.js +1 -0
- package/dist/showcase/assets/sidebar-B5uO9sUB.js +1 -0
- package/dist/showcase/assets/sidebar.context-CRjgeYJL.js +1 -0
- package/dist/showcase/assets/skeleton-BtiPkfxB.js +1 -0
- package/dist/showcase/assets/skeleton-DbybIpkV.js +29 -0
- package/dist/showcase/assets/slider-vuwVVBby.js +1 -0
- package/dist/showcase/assets/sliders-horizontal-BE_cwUn0.js +1 -0
- package/dist/showcase/assets/smart-card-Dhu_1A_u.js +1 -0
- package/dist/showcase/assets/sonner-DZB-G4q5.js +22 -0
- package/dist/showcase/assets/sortable.esm-YOwRw8Hr.js +5 -0
- package/dist/showcase/assets/sparkles-N8rqKQez.js +1 -0
- package/dist/showcase/assets/spinner-B5zKCNXu.js +30 -0
- package/dist/showcase/assets/spinner-BOjRziLu.js +1 -0
- package/dist/showcase/assets/spinner-PIr8y8av.js +49 -0
- package/dist/showcase/assets/square-pen-ImRrVwT8.js +1 -0
- package/dist/showcase/assets/stacked-avatars-DnIAc098.js +1 -0
- package/dist/showcase/assets/star-BaV-UTPq.js +1 -0
- package/dist/showcase/assets/startOfDay-CtTeiGV0.js +1 -0
- package/dist/showcase/assets/stringifyLocale-CkHjdQTJ.js +1 -0
- package/dist/showcase/assets/styles-Bv0pDLVi.js +1 -0
- package/dist/showcase/assets/suggestions-QnLPdgnG.js +126 -0
- package/dist/showcase/assets/switch-DwAS_TXx.js +1 -0
- package/dist/showcase/assets/switch-xzxCDtyg.js +1 -0
- package/dist/showcase/assets/sync-LeYxWAap.js +107 -0
- package/dist/showcase/assets/table-BbEFanNu.js +1 -0
- package/dist/showcase/assets/table-CVVHBty6.js +382 -0
- package/dist/showcase/assets/table-actions-DvI9U67L.js +1 -0
- package/dist/showcase/assets/tabs-CLcyGwLd.js +1 -0
- package/dist/showcase/assets/tabs-ck8y1Bjr.js +19 -0
- package/dist/showcase/assets/tags-input-DmBY2CKI.js +1 -0
- package/dist/showcase/assets/text-button-C54O1rZM.js +1 -0
- package/dist/showcase/assets/text-link-9_mZpq_f.js +1 -0
- package/dist/showcase/assets/textarea-CHvnWHWH.js +1 -0
- package/dist/showcase/assets/textarea-jexcMklP.js +1 -0
- package/dist/showcase/assets/timelines-uvFVjEQv.js +200 -0
- package/dist/showcase/assets/toggle-group-B3fORi8i.js +1 -0
- package/dist/showcase/assets/toggles-Cox6Yk2k.js +71 -0
- package/dist/showcase/assets/toggles-group-CSvSPqCB.js +32 -0
- package/dist/showcase/assets/trash-2-CE9bDw49.js +1 -0
- package/dist/showcase/assets/trending-up-0iJl0XvC.js +1 -0
- package/dist/showcase/assets/truck-DlhOPoCD.js +1 -0
- package/dist/showcase/assets/typography-BotOITw4.js +223 -0
- package/dist/showcase/assets/ui-badge-hfmO1K3-.js +28 -0
- package/dist/showcase/assets/ui-card-Aigzxhn3.js +30 -0
- package/dist/showcase/assets/ui-table-CKif9sNO.js +42 -0
- package/dist/showcase/assets/upload-tray-BnKDNrw9.js +138 -0
- package/dist/showcase/assets/use-form-field-state-Sbo6tfr9.js +1 -0
- package/dist/showcase/assets/use-layout-link-BQ6Y9z__.js +1 -0
- package/dist/showcase/assets/useAnchoredPopupScrollLock-CP1vkwD7.js +1 -0
- package/dist/showcase/assets/useAriaLabelledBy-J_Rvjwx3.js +1 -0
- package/dist/showcase/assets/useCollapsiblePanel-BwUOowW2.js +1 -0
- package/dist/showcase/assets/useCompositeItem-D3XOIML-.js +1 -0
- package/dist/showcase/assets/useCompositeListItem-BWfShNPP.js +1 -0
- package/dist/showcase/assets/useControlled-BF8maje6.js +1 -0
- package/dist/showcase/assets/useLabelableId-DxorZ3YW.js +1 -0
- package/dist/showcase/assets/useOpenInteractionType-DLUX6CcH.js +1 -0
- package/dist/showcase/assets/useRender-B9zzqKA1.js +1 -0
- package/dist/showcase/assets/useTriggerFocusGuards-BSvL8pKg.js +1 -0
- package/dist/showcase/assets/useValueChanged-DSoTBFAJ.js +1 -0
- package/dist/showcase/assets/user-BZog6aIh.js +1 -0
- package/dist/showcase/assets/user-plus-CPxlPoxf.js +1 -0
- package/dist/showcase/assets/users-BgXAp2UO.js +1 -0
- package/dist/showcase/assets/valueToPercent-gleKSaFe.js +1 -0
- package/dist/showcase/assets/vendor-profile-BLYiDIrO.js +37 -0
- package/dist/showcase/assets/video-YBnCbmIb.js +1 -0
- package/dist/showcase/assets/wrench-BFTavxzg.js +1 -0
- package/dist/showcase/assets/x-D8UN9pOu.js +1 -0
- package/dist/showcase/assets/zap-DIJUAJEb.js +1 -0
- package/dist/showcase/index.html +2 -2
- package/dist/style.css +1 -1
- package/package.json +63 -3
- package/scripts/install-skill.mjs +5 -1
- package/src/App.css +9 -388
- package/dist/_shared/accordion-BnxO7Is4.js +0 -130
- package/dist/_shared/accordion-BnxO7Is4.js.map +0 -1
- package/dist/_shared/accordion-RIN0MjPz.cjs +0 -2
- package/dist/_shared/accordion-RIN0MjPz.cjs.map +0 -1
- package/dist/_shared/action-menu-IIO9KtJ2.js +0 -96
- package/dist/_shared/action-menu-IIO9KtJ2.js.map +0 -1
- package/dist/_shared/action-menu-RAyg3cvM.cjs +0 -2
- package/dist/_shared/action-menu-RAyg3cvM.cjs.map +0 -1
- package/dist/_shared/ai-artifact--MqIfP-8.js +0 -1068
- package/dist/_shared/ai-artifact--MqIfP-8.js.map +0 -1
- package/dist/_shared/ai-artifact-D1dBeEz1.cjs +0 -3
- package/dist/_shared/ai-artifact-D1dBeEz1.cjs.map +0 -1
- package/dist/_shared/alert-D3gRd7RK.cjs +0 -2
- package/dist/_shared/alert-D3gRd7RK.cjs.map +0 -1
- package/dist/_shared/alert-DQ-tV8b-.js +0 -48
- package/dist/_shared/alert-DQ-tV8b-.js.map +0 -1
- package/dist/_shared/app-shell-C4d7kCCd.cjs +0 -2
- package/dist/_shared/app-shell-C4d7kCCd.cjs.map +0 -1
- package/dist/_shared/app-shell-CKxcpPTc.js +0 -94
- package/dist/_shared/app-shell-CKxcpPTc.js.map +0 -1
- package/dist/_shared/badge-BK5VvEgg.js +0 -108
- package/dist/_shared/badge-BK5VvEgg.js.map +0 -1
- package/dist/_shared/badge-kS_XtN-z.cjs +0 -2
- package/dist/_shared/badge-kS_XtN-z.cjs.map +0 -1
- package/dist/_shared/button-LZWDn-aU.cjs +0 -2
- package/dist/_shared/button-LZWDn-aU.cjs.map +0 -1
- package/dist/_shared/button-cnkCF8q8.js +0 -177
- package/dist/_shared/button-cnkCF8q8.js.map +0 -1
- package/dist/_shared/buttons-DHV2eZAf.cjs +0 -2
- package/dist/_shared/buttons-DHV2eZAf.cjs.map +0 -1
- package/dist/_shared/buttons-ehfMSkwP.js +0 -143
- package/dist/_shared/buttons-ehfMSkwP.js.map +0 -1
- package/dist/_shared/card-radio-group-Bf03M6c5.js +0 -158
- package/dist/_shared/card-radio-group-Bf03M6c5.js.map +0 -1
- package/dist/_shared/card-radio-group-SqPUL0Je.cjs +0 -2
- package/dist/_shared/card-radio-group-SqPUL0Je.cjs.map +0 -1
- package/dist/_shared/combobox-Cvs70ic4.js +0 -808
- package/dist/_shared/combobox-Cvs70ic4.js.map +0 -1
- package/dist/_shared/combobox-Dos9YWjk.cjs +0 -2
- package/dist/_shared/combobox-Dos9YWjk.cjs.map +0 -1
- package/dist/_shared/comments-DD2aeZVz.js +0 -946
- package/dist/_shared/comments-DD2aeZVz.js.map +0 -1
- package/dist/_shared/comments-DzwU4sNE.cjs +0 -2
- package/dist/_shared/comments-DzwU4sNE.cjs.map +0 -1
- package/dist/_shared/copyable-D7WhgEzJ.js +0 -38
- package/dist/_shared/copyable-D7WhgEzJ.js.map +0 -1
- package/dist/_shared/copyable-DDjT505-.cjs +0 -2
- package/dist/_shared/copyable-DDjT505-.cjs.map +0 -1
- package/dist/_shared/date-picker-3G3C-sIq.cjs +0 -2
- package/dist/_shared/date-picker-3G3C-sIq.cjs.map +0 -1
- package/dist/_shared/date-picker-7yuMHPYs.js +0 -1362
- package/dist/_shared/date-picker-7yuMHPYs.js.map +0 -1
- package/dist/_shared/date-pickers-B_VUgjvY.cjs +0 -2
- package/dist/_shared/date-pickers-B_VUgjvY.cjs.map +0 -1
- package/dist/_shared/date-pickers-DZXi0di0.js +0 -330
- package/dist/_shared/date-pickers-DZXi0di0.js.map +0 -1
- package/dist/_shared/display-Cuj4td-V.js +0 -1237
- package/dist/_shared/display-Cuj4td-V.js.map +0 -1
- package/dist/_shared/display-D2q93jiS.cjs +0 -8
- package/dist/_shared/display-D2q93jiS.cjs.map +0 -1
- package/dist/_shared/form-field-BNuCBym1.js +0 -319
- package/dist/_shared/form-field-BNuCBym1.js.map +0 -1
- package/dist/_shared/form-field-C4fQYsqv.cjs +0 -2
- package/dist/_shared/form-field-C4fQYsqv.cjs.map +0 -1
- package/dist/_shared/forms-BV4fHeRx.cjs +0 -2
- package/dist/_shared/forms-BV4fHeRx.cjs.map +0 -1
- package/dist/_shared/forms-DjAdYxme.js +0 -3378
- package/dist/_shared/forms-DjAdYxme.js.map +0 -1
- package/dist/_shared/header-D4Oz-mCv.cjs +0 -2
- package/dist/_shared/header-D4Oz-mCv.cjs.map +0 -1
- package/dist/_shared/header-X5DZ8vmO.js +0 -360
- package/dist/_shared/header-X5DZ8vmO.js.map +0 -1
- package/dist/_shared/heading-C7mNh03X.cjs +0 -2
- package/dist/_shared/heading-C7mNh03X.cjs.map +0 -1
- package/dist/_shared/heading-CrNpYcUr.js +0 -39
- package/dist/_shared/heading-CrNpYcUr.js.map +0 -1
- package/dist/_shared/hooks-CKXPg30g.js +0 -118
- package/dist/_shared/hooks-CKXPg30g.js.map +0 -1
- package/dist/_shared/hooks-CTiEImZp.cjs +0 -2
- package/dist/_shared/hooks-CTiEImZp.cjs.map +0 -1
- package/dist/_shared/input-Cw2uICc1.cjs +0 -2
- package/dist/_shared/input-Cw2uICc1.cjs.map +0 -1
- package/dist/_shared/input-DJo8d1Rr.js +0 -182
- package/dist/_shared/input-DJo8d1Rr.js.map +0 -1
- package/dist/_shared/item-BxlP5TO3.js +0 -224
- package/dist/_shared/item-BxlP5TO3.js.map +0 -1
- package/dist/_shared/item-X18HIqR7.cjs +0 -2
- package/dist/_shared/item-X18HIqR7.cjs.map +0 -1
- package/dist/_shared/mentions-DE9aDOMu.cjs +0 -2
- package/dist/_shared/mentions-DE9aDOMu.cjs.map +0 -1
- package/dist/_shared/mentions-DjjYmMLc.js +0 -493
- package/dist/_shared/mentions-DjjYmMLc.js.map +0 -1
- package/dist/_shared/metadata-C5MSNo7y.js +0 -236
- package/dist/_shared/metadata-C5MSNo7y.js.map +0 -1
- package/dist/_shared/metadata-Cw3Kj2Ug.cjs +0 -2
- package/dist/_shared/metadata-Cw3Kj2Ug.cjs.map +0 -1
- package/dist/_shared/money-display-B7AKxxNt.js +0 -198
- package/dist/_shared/money-display-B7AKxxNt.js.map +0 -1
- package/dist/_shared/money-display-E22wbM21.cjs +0 -2
- package/dist/_shared/money-display-E22wbM21.cjs.map +0 -1
- package/dist/_shared/navigation-B9VAXqLL.cjs +0 -2
- package/dist/_shared/navigation-B9VAXqLL.cjs.map +0 -1
- package/dist/_shared/navigation-CxoJVgfo.js +0 -420
- package/dist/_shared/navigation-CxoJVgfo.js.map +0 -1
- package/dist/_shared/overlays-C-T8RnJz.cjs +0 -2
- package/dist/_shared/overlays-C-T8RnJz.cjs.map +0 -1
- package/dist/_shared/overlays-DfRsQzD3.js +0 -633
- package/dist/_shared/overlays-DfRsQzD3.js.map +0 -1
- package/dist/_shared/page-C4jEULwi.js +0 -263
- package/dist/_shared/page-C4jEULwi.js.map +0 -1
- package/dist/_shared/page-DX3pA_tJ.cjs +0 -2
- package/dist/_shared/page-DX3pA_tJ.cjs.map +0 -1
- package/dist/_shared/popover-menu-CVAr985u.js +0 -95
- package/dist/_shared/popover-menu-CVAr985u.js.map +0 -1
- package/dist/_shared/popover-menu-Cq-LnAMh.cjs +0 -2
- package/dist/_shared/popover-menu-Cq-LnAMh.cjs.map +0 -1
- package/dist/_shared/rich-text-editor-C3gVBm-v.cjs +0 -2
- package/dist/_shared/rich-text-editor-C3gVBm-v.cjs.map +0 -1
- package/dist/_shared/rich-text-editor-Cylb-lkv.js +0 -616
- package/dist/_shared/rich-text-editor-Cylb-lkv.js.map +0 -1
- package/dist/_shared/sidebar-BeWLjIRR.js +0 -537
- package/dist/_shared/sidebar-BeWLjIRR.js.map +0 -1
- package/dist/_shared/sidebar-Bl_KRk-S.cjs +0 -2
- package/dist/_shared/sidebar-Bl_KRk-S.cjs.map +0 -1
- package/dist/_shared/sidebar-DzzdJ2xk.cjs +0 -2
- package/dist/_shared/sidebar-DzzdJ2xk.cjs.map +0 -1
- package/dist/_shared/sidebar-ux-yk-Ph.js +0 -382
- package/dist/_shared/sidebar-ux-yk-Ph.js.map +0 -1
- package/dist/_shared/smart-card-DL7esK_y.cjs +0 -2
- package/dist/_shared/smart-card-DL7esK_y.cjs.map +0 -1
- package/dist/_shared/smart-card-eBfUvQ9r.js +0 -360
- package/dist/_shared/smart-card-eBfUvQ9r.js.map +0 -1
- package/dist/_shared/spinner-Bvjs1ybK.cjs +0 -2
- package/dist/_shared/spinner-Bvjs1ybK.cjs.map +0 -1
- package/dist/_shared/spinner-XcfVYbbp.js +0 -67
- package/dist/_shared/spinner-XcfVYbbp.js.map +0 -1
- package/dist/_shared/text-DzKt9cyb.cjs +0 -2
- package/dist/_shared/text-DzKt9cyb.cjs.map +0 -1
- package/dist/_shared/text-qsEg5GdP.js +0 -74
- package/dist/_shared/text-qsEg5GdP.js.map +0 -1
- package/dist/_shared/textarea-BAKapsLQ.cjs +0 -2
- package/dist/_shared/textarea-BAKapsLQ.cjs.map +0 -1
- package/dist/_shared/textarea-Bfv1KxBm.js +0 -119
- package/dist/_shared/textarea-Bfv1KxBm.js.map +0 -1
- package/dist/_shared/typography-4CSyoCj9.js +0 -102
- package/dist/_shared/typography-4CSyoCj9.js.map +0 -1
- package/dist/_shared/typography-DKn7P4wX.cjs +0 -2
- package/dist/_shared/typography-DKn7P4wX.cjs.map +0 -1
- package/dist/_shared/ui-provider-CQJ1glwN.js +0 -85
- package/dist/_shared/ui-provider-CQJ1glwN.js.map +0 -1
- package/dist/_shared/ui-provider-RIYE7O_V.cjs +0 -2
- package/dist/_shared/ui-provider-RIYE7O_V.cjs.map +0 -1
- package/dist/components/base/table/index.cjs.map +0 -1
- package/dist/components/base/table/index.js.map +0 -1
- package/dist/showcase/assets/AreaChart-CzBEYPbz.js +0 -6
- package/dist/showcase/assets/CSPContext-ImKusJJ_.js +0 -1
- package/dist/showcase/assets/CompositeItem-C-DIOBdJ.js +0 -1
- package/dist/showcase/assets/CompositeRoot-Ce4ORgG2.js +0 -1
- package/dist/showcase/assets/DialogTrigger-DWvMs7dp.js +0 -1
- package/dist/showcase/assets/FormContext-BeC1MJpT.js +0 -1
- package/dist/showcase/assets/PreviewLayout-N1PTTyZK.js +0 -1
- package/dist/showcase/assets/RadioGroup-DAWaa26D.js +0 -1
- package/dist/showcase/assets/Separator-guDkmky0.js +0 -1
- package/dist/showcase/assets/ToolbarRootContext-BJ7hWga8.js +0 -1
- package/dist/showcase/assets/accordion-CiM9WhkT.js +0 -172
- package/dist/showcase/assets/accordion-variants-C_sHrQ7C.js +0 -1
- package/dist/showcase/assets/action-menu-mlWlGE5P.js +0 -1
- package/dist/showcase/assets/activities-YWR4wh4f.js +0 -501
- package/dist/showcase/assets/activities-feed-card-Cglnf5as.js +0 -1
- package/dist/showcase/assets/admin-BtOtzPd4.js +0 -80
- package/dist/showcase/assets/ai-8iNe0R1M.js +0 -41
- package/dist/showcase/assets/ai-artifact-CQL5krnJ.js +0 -2
- package/dist/showcase/assets/ai-chat-BzCdOOc6.js +0 -568
- package/dist/showcase/assets/ai-elements-CBHy2xWU.js +0 -379
- package/dist/showcase/assets/ai-new-CgL5NeVs.js +0 -167
- package/dist/showcase/assets/ai-tool-call-D9AsaWJF.js +0 -1
- package/dist/showcase/assets/alert-B2BuF4vZ.js +0 -59
- package/dist/showcase/assets/alert-BkVaTONJ.js +0 -1
- package/dist/showcase/assets/api-key-list-C-_59dli.js +0 -73
- package/dist/showcase/assets/app-sidebar-BdOu5rVn.js +0 -1
- package/dist/showcase/assets/arrow-down-BpVaq9-H.js +0 -1
- package/dist/showcase/assets/arrow-left-C40rxfqj.js +0 -1
- package/dist/showcase/assets/arrow-right-BclouSfP.js +0 -1
- package/dist/showcase/assets/arrow-up-BpWEnkdX.js +0 -1
- package/dist/showcase/assets/arrow-up-right-Z5sMa1HH.js +0 -1
- package/dist/showcase/assets/avatar-CDNhh3rv.js +0 -57
- package/dist/showcase/assets/avatar-QBwg3fvR.js +0 -1
- package/dist/showcase/assets/badge-check-DXDQ3SaL.js +0 -1
- package/dist/showcase/assets/badge-tAdYt--9.js +0 -28
- package/dist/showcase/assets/bell-CVEeEWw4.js +0 -1
- package/dist/showcase/assets/bot-Bcx5mNAQ.js +0 -1
- package/dist/showcase/assets/box-Dgy2Xc70.js +0 -1
- package/dist/showcase/assets/brain-DsoOsd7m.js +0 -1
- package/dist/showcase/assets/brand-DAyuXNUz.js +0 -40
- package/dist/showcase/assets/breadcrumb-CC4Z8eMY.js +0 -1
- package/dist/showcase/assets/breadcrumb-DCbAzeMs.js +0 -52
- package/dist/showcase/assets/breadcrumbs-DGZMpIoQ.js +0 -1
- package/dist/showcase/assets/briefcase-2uLXCvAZ.js +0 -1
- package/dist/showcase/assets/button-DhQ6rMPU.js +0 -44
- package/dist/showcase/assets/button-group-Ce9vnZ1H.js +0 -1
- package/dist/showcase/assets/buttons-CHja0LUL.js +0 -270
- package/dist/showcase/assets/calendar-BbiK8AMZ.js +0 -16
- package/dist/showcase/assets/calendar-BhZpIjCo.js +0 -1
- package/dist/showcase/assets/calendar-oKaDsUIy.js +0 -1
- package/dist/showcase/assets/card-DoU1VD79.js +0 -1
- package/dist/showcase/assets/cards-3OgH8m3F.js +0 -328
- package/dist/showcase/assets/chart-column-6Tn3WAT9.js +0 -1
- package/dist/showcase/assets/chevron-down-x7TQsvYY.js +0 -1
- package/dist/showcase/assets/chevron-left-CglzJgA2.js +0 -1
- package/dist/showcase/assets/chevron-right-CDDMIkYP.js +0 -1
- package/dist/showcase/assets/chevron-up-Dc3aAaGH.js +0 -1
- package/dist/showcase/assets/chevrons-up-down-DJNnSBAj.js +0 -1
- package/dist/showcase/assets/circle-BBmNFtO8.js +0 -1
- package/dist/showcase/assets/circle-alert-DJevf3tT.js +0 -1
- package/dist/showcase/assets/circle-check-BCxORlAM.js +0 -1
- package/dist/showcase/assets/circle-check-big-tiuK2w0-.js +0 -1
- package/dist/showcase/assets/circle-dot-BEVVQjgN.js +0 -1
- package/dist/showcase/assets/circle-question-mark-BQrUUiKD.js +0 -1
- package/dist/showcase/assets/circle-x-CoV_AUtZ.js +0 -1
- package/dist/showcase/assets/clock-Bn2R4aDX.js +0 -1
- package/dist/showcase/assets/code-xml-BVYp_JDX.js +0 -1
- package/dist/showcase/assets/collapsible-Co2Y739_.js +0 -27
- package/dist/showcase/assets/collapsible-DPbftgrO.js +0 -1
- package/dist/showcase/assets/combobox-Cm4__LnJ.js +0 -622
- package/dist/showcase/assets/command-DQFIxPN9.js +0 -45
- package/dist/showcase/assets/command-KNncGgZW.js +0 -1
- package/dist/showcase/assets/comment-composer-DTJtqYGP.js +0 -1
- package/dist/showcase/assets/comment-item-DIEYMmV_.js +0 -1
- package/dist/showcase/assets/comments-B0BbDp-3.js +0 -357
- package/dist/showcase/assets/commerce-BOWBCLA-.js +0 -79
- package/dist/showcase/assets/commerce-extras-C6CWYfpC.js +0 -173
- package/dist/showcase/assets/composite-YicTVAO0.js +0 -1
- package/dist/showcase/assets/contact-card-DQPRIlnJ.js +0 -65
- package/dist/showcase/assets/content-container-CHXwWViz.js +0 -1
- package/dist/showcase/assets/copyable-CjTwco9O.js +0 -96
- package/dist/showcase/assets/course-card-CTQScd2C.js +0 -113
- package/dist/showcase/assets/cpu-D52NjUWq.js +0 -1
- package/dist/showcase/assets/credit-card-BoDfW0R8.js +0 -1
- package/dist/showcase/assets/currency-BPREbpDA.js +0 -149
- package/dist/showcase/assets/dark-surfaces-BCG45K2m.js +0 -90
- package/dist/showcase/assets/database-DeGR0hed.js +0 -1
- package/dist/showcase/assets/date-block-Bl1kXJrM.js +0 -1
- package/dist/showcase/assets/date-picker-BHbZa4ML.js +0 -1
- package/dist/showcase/assets/date-pickers-DumwUEXE.js +0 -110
- package/dist/showcase/assets/dense-info-DxfgBw9Z.js +0 -106
- package/dist/showcase/assets/dialog-BYHZvlL8.js +0 -1
- package/dist/showcase/assets/display-BXMGOjL3.js +0 -392
- package/dist/showcase/assets/dollar-sign-BipUTVXC.js +0 -1
- package/dist/showcase/assets/download-CxspQgIc.js +0 -1
- package/dist/showcase/assets/dropdown-menu-Q1BV3wPP.js +0 -1
- package/dist/showcase/assets/dropzone-OivkuTPF.js +0 -1
- package/dist/showcase/assets/ellipsis-Bn-XgoA7.js +0 -1
- package/dist/showcase/assets/ellipsis-vertical-Bcl9HX9k.js +0 -1
- package/dist/showcase/assets/empty-CcafLcw-.js +0 -1
- package/dist/showcase/assets/empty-item-CiJeS8ZV.js +0 -49
- package/dist/showcase/assets/empty-state-B1RYYjUP.js +0 -188
- package/dist/showcase/assets/enhanced-activities-IB811DS6.js +0 -361
- package/dist/showcase/assets/event-calendar-C2VCfcUz.js +0 -138
- package/dist/showcase/assets/event-log-ckmsCPmG.js +0 -330
- package/dist/showcase/assets/example-C6-_Sy6B.js +0 -1
- package/dist/showcase/assets/external-link-Bg-_8Uq7.js +0 -1
- package/dist/showcase/assets/eye-JVsUA85G.js +0 -1
- package/dist/showcase/assets/feature-announcement-C4aRXesF.js +0 -34
- package/dist/showcase/assets/file-4pOq58jl.js +0 -1
- package/dist/showcase/assets/file-text-BIi71mZ1.js +0 -1
- package/dist/showcase/assets/filters-CxrcnmLU.js +0 -78
- package/dist/showcase/assets/flag-DeiJmomk.js +0 -1
- package/dist/showcase/assets/folder-open-zMXBpVNs.js +0 -1
- package/dist/showcase/assets/form-sizing-B8jbL5tL.js +0 -1
- package/dist/showcase/assets/format-BG4laCmp.js +0 -1
- package/dist/showcase/assets/format-metric-value-B94EDo8X.js +0 -1
- package/dist/showcase/assets/forms-PsN5zTLx.js +0 -793
- package/dist/showcase/assets/getPseudoElementBounds-B7wr19E1.js +0 -1
- package/dist/showcase/assets/gift-CKFIh1Wh.js +0 -1
- package/dist/showcase/assets/giftcard-cards-BfOlIHmA.js +0 -85
- package/dist/showcase/assets/git-branch-BO9i8XkJ.js +0 -1
- package/dist/showcase/assets/global-search-CNmUraNa.js +0 -90
- package/dist/showcase/assets/global-search-DkJkQ0Vs.js +0 -1
- package/dist/showcase/assets/globe-47T22W56.js +0 -1
- package/dist/showcase/assets/gradient-card-CXSY29TZ.js +0 -58
- package/dist/showcase/assets/header-eZHN-s6P.js +0 -1
- package/dist/showcase/assets/header-notifications-Caa9i87J.js +0 -1
- package/dist/showcase/assets/heart-DjKkkUsX.js +0 -1
- package/dist/showcase/assets/house-DKxCiHyB.js +0 -1
- package/dist/showcase/assets/icon-badge-Bcm8TlJi.js +0 -1
- package/dist/showcase/assets/image-r-gMI33G.js +0 -1
- package/dist/showcase/assets/inbox-ZxSy1pgX.js +0 -1
- package/dist/showcase/assets/index-B8DVXCmf.js +0 -10
- package/dist/showcase/assets/index-DbLs6mcj.css +0 -2
- package/dist/showcase/assets/inertValue-i0cAMG-0.js +0 -1
- package/dist/showcase/assets/info-B1KV2DkO.js +0 -1
- package/dist/showcase/assets/inline-stat-D0sE-A4C.js +0 -1
- package/dist/showcase/assets/input-25epjsiD.js +0 -1
- package/dist/showcase/assets/input-CnwMt9Sr.js +0 -1
- package/dist/showcase/assets/input-group-DSKyV7we.js +0 -47
- package/dist/showcase/assets/input-group-x5eWeAZg.js +0 -1
- package/dist/showcase/assets/inputs-B2Maxr14.js +0 -49
- package/dist/showcase/assets/invoice-header-Gxl--yFu.js +0 -36
- package/dist/showcase/assets/invoice-items-BtoaGNjE.js +0 -36
- package/dist/showcase/assets/invoice-mini-DHFSZegy.js +0 -14
- package/dist/showcase/assets/invoice-table-6dmU_KrL.js +0 -30
- package/dist/showcase/assets/isSameDay-BrDHfKHm.js +0 -1
- package/dist/showcase/assets/isToday-VtoSc1IH.js +0 -1
- package/dist/showcase/assets/italic-CXkAsf6H.js +0 -1
- package/dist/showcase/assets/item-CGOThKAx.js +0 -1
- package/dist/showcase/assets/item-CMRbW6s-.js +0 -1
- package/dist/showcase/assets/item-sw6fAZcn.js +0 -117
- package/dist/showcase/assets/kanban-CKGYTXji.js +0 -175
- package/dist/showcase/assets/label-BmKD22pm.js +0 -1
- package/dist/showcase/assets/layout-app-shell-CeMHzVNn.js +0 -501
- package/dist/showcase/assets/layout-containers-8Drow5f9.js +0 -96
- package/dist/showcase/assets/layout-header-BlBw4JAV.js +0 -170
- package/dist/showcase/assets/layout-page-BQfgHFau.js +0 -122
- package/dist/showcase/assets/layout-sidebar-DZer5Uuh.js +0 -224
- package/dist/showcase/assets/layout-users-nuioUkeu.js +0 -104
- package/dist/showcase/assets/lock-DQcZ9cEj.js +0 -1
- package/dist/showcase/assets/mail-yNXDtmNr.js +0 -1
- package/dist/showcase/assets/map-JMM1F9VR.js +0 -124
- package/dist/showcase/assets/map-pin-2WS7oVo3.js +0 -1
- package/dist/showcase/assets/menus-mK-FeNki.js +0 -89
- package/dist/showcase/assets/message-square-DGTAjNJG.js +0 -1
- package/dist/showcase/assets/metadata-list-CBxuQjVO.js +0 -278
- package/dist/showcase/assets/metric-BWGrmyD6.js +0 -1
- package/dist/showcase/assets/metric-grid-CewIJQvo.js +0 -1
- package/dist/showcase/assets/metric-trend-chip-kLBN8u5z.js +0 -1
- package/dist/showcase/assets/metrics-analytics-bar-COnc7VN9.js +0 -44
- package/dist/showcase/assets/metrics-analytics-cards-BR83UVqi.js +0 -77
- package/dist/showcase/assets/metrics-comparison-C0SUjdMg.js +0 -76
- package/dist/showcase/assets/metrics-heatmap-Orq1hLk-.js +0 -27
- package/dist/showcase/assets/metrics-inline-badge-C924q2Xx.js +0 -17
- package/dist/showcase/assets/metrics-kpi-row-Cwi05ruK.js +0 -31
- package/dist/showcase/assets/metrics-micro-grid-D97nkrge.js +0 -42
- package/dist/showcase/assets/metrics-overview-BOc8y3QX.js +0 -192
- package/dist/showcase/assets/metrics-stat-cards-Cilh-A5D.js +0 -54
- package/dist/showcase/assets/minus-DvrDGcTv.js +0 -1
- package/dist/showcase/assets/money-display-0egZ_O76.js +0 -1
- package/dist/showcase/assets/month-year-picker-2cWfwnmP.js +0 -1
- package/dist/showcase/assets/navigation-BnYme-Wj.js +0 -90
- package/dist/showcase/assets/navigation-CLQWl32A.js +0 -230
- package/dist/showcase/assets/navigation-extras-BPDoAdXF.js +0 -43
- package/dist/showcase/assets/onboarding-checklist-26XVWgDF.js +0 -119
- package/dist/showcase/assets/overlays-2sVGhanu.js +0 -88
- package/dist/showcase/assets/overlays-BaR6HDwB.js +0 -394
- package/dist/showcase/assets/package-CUNvdlBi.js +0 -1
- package/dist/showcase/assets/page-action-button-DgvZVtzx.js +0 -1
- package/dist/showcase/assets/page-header-4F_iaFPW.js +0 -1
- package/dist/showcase/assets/pagination-CDjZ6jiZ.js +0 -42
- package/dist/showcase/assets/pagination-g1NQaN42.js +0 -1
- package/dist/showcase/assets/paperclip-CDxdf8Os.js +0 -1
- package/dist/showcase/assets/pencil-Ddc5JwBe.js +0 -1
- package/dist/showcase/assets/phone-NIZ5SwgK.js +0 -1
- package/dist/showcase/assets/plus-C9kwz7rW.js +0 -1
- package/dist/showcase/assets/popover-DtnuOBgr.js +0 -1
- package/dist/showcase/assets/popover-T85aV4zW.js +0 -1
- package/dist/showcase/assets/popover-menu-BRGSZe4f.js +0 -1
- package/dist/showcase/assets/progress-CcZjuzK3.js +0 -1
- package/dist/showcase/assets/progress-DbouniUl.js +0 -18
- package/dist/showcase/assets/props-table-CM_1cocj.js +0 -1
- package/dist/showcase/assets/props.generated-Bg627Jai.json +0 -32829
- package/dist/showcase/assets/quote-vjygm2-7.js +0 -1
- package/dist/showcase/assets/receipt-CfMgwFPl.js +0 -1
- package/dist/showcase/assets/refresh-cw-Tu5E_cGA.js +0 -1
- package/dist/showcase/assets/resolveAriaLabelledBy-B6CR9UP2.js +0 -1
- package/dist/showcase/assets/resolveValueLabel-CipUZh6i.js +0 -1
- package/dist/showcase/assets/rich-text-editor-BMZUyuQX.js +0 -143
- package/dist/showcase/assets/rich-text-editor-HwYIeWYW.js +0 -124
- package/dist/showcase/assets/rotate-ccw-B4Wi4ws7.js +0 -1
- package/dist/showcase/assets/scroll-area-CuB_woqF.js +0 -1
- package/dist/showcase/assets/scroll-area-I4mSIpRq.js +0 -32
- package/dist/showcase/assets/select-CF3cKjCo.js +0 -1
- package/dist/showcase/assets/send-Blu_n6xl.js +0 -1
- package/dist/showcase/assets/separator-9mrRf_DZ.js +0 -28
- package/dist/showcase/assets/separator-DUKleOvU.js +0 -1
- package/dist/showcase/assets/settings-DlKX-bZT.js +0 -1
- package/dist/showcase/assets/sheet-CwcLVoF3.js +0 -1
- package/dist/showcase/assets/shield-BD0Y8Jj3.js +0 -1
- package/dist/showcase/assets/shield-alert-DNOTmkwG.js +0 -1
- package/dist/showcase/assets/shield-check-Sbul0dUK.js +0 -1
- package/dist/showcase/assets/shopping-bag-EDVpxI9n.js +0 -1
- package/dist/showcase/assets/sidebar-JWZ88xw5.js +0 -1
- package/dist/showcase/assets/sidebar.context-D3P7qppn.js +0 -1
- package/dist/showcase/assets/skeleton-CIS1Kaas.js +0 -1
- package/dist/showcase/assets/skeleton-CJCJDQFt.js +0 -29
- package/dist/showcase/assets/smart-card-7szg_qSt.js +0 -1
- package/dist/showcase/assets/sonner-DMHXr9Ce.js +0 -22
- package/dist/showcase/assets/sortable.esm-DVuzVA1U.js +0 -5
- package/dist/showcase/assets/sparkles-BEa1AgNq.js +0 -1
- package/dist/showcase/assets/spinner-Bi-T9etI.js +0 -30
- package/dist/showcase/assets/spinner-C77XIUVf.js +0 -1
- package/dist/showcase/assets/spinner-DK9BAT6K.js +0 -49
- package/dist/showcase/assets/square-pen-N0mq-vPu.js +0 -1
- package/dist/showcase/assets/stacked-avatars-DORVEni2.js +0 -1
- package/dist/showcase/assets/star-Dbtxr60S.js +0 -1
- package/dist/showcase/assets/startOfDay-BJgxz4yq.js +0 -1
- package/dist/showcase/assets/styles-CwW4IBUg.js +0 -1
- package/dist/showcase/assets/switch-B4iRxZFU.js +0 -1
- package/dist/showcase/assets/switch-B_rnbXwy.js +0 -1
- package/dist/showcase/assets/table-BJ9HSK6H.js +0 -1
- package/dist/showcase/assets/table-IB0MEYf4.js +0 -389
- package/dist/showcase/assets/tabs-D02JL-Fa.js +0 -1
- package/dist/showcase/assets/tabs-XpsVS3ff.js +0 -19
- package/dist/showcase/assets/text-button-BWCgXGnr.js +0 -1
- package/dist/showcase/assets/text-link-TzuDnSCF.js +0 -1
- package/dist/showcase/assets/textarea-B7DUIiH_.js +0 -1
- package/dist/showcase/assets/textarea-CV5gNzXf.js +0 -1
- package/dist/showcase/assets/timelines-CF0UYhwm.js +0 -200
- package/dist/showcase/assets/toggle-group-CK8mBx6E.js +0 -1
- package/dist/showcase/assets/toggles-CqJSApnF.js +0 -71
- package/dist/showcase/assets/toggles-group-v0JijMzG.js +0 -32
- package/dist/showcase/assets/trash-2-_xF5j-Ya.js +0 -1
- package/dist/showcase/assets/trending-up-BCzmjYzm.js +0 -1
- package/dist/showcase/assets/truck-CryH-5dx.js +0 -1
- package/dist/showcase/assets/typography-D3PFbRpb.js +0 -215
- package/dist/showcase/assets/ui-badge-ByyFPLOB.js +0 -28
- package/dist/showcase/assets/ui-card-DYLLiD89.js +0 -30
- package/dist/showcase/assets/ui-table-DW4QIwxK.js +0 -42
- package/dist/showcase/assets/upload-tray-ZdL_dzc0.js +0 -138
- package/dist/showcase/assets/useAnchoredPopupScrollLock-AFPLx3SZ.js +0 -1
- package/dist/showcase/assets/useCollapsiblePanel-CeHRY8U2.js +0 -1
- package/dist/showcase/assets/useCompositeItem-C-1zP8zD.js +0 -1
- package/dist/showcase/assets/useCompositeListItem-D4ugfKLB.js +0 -1
- package/dist/showcase/assets/useControlled-Cpg8gDqb.js +0 -1
- package/dist/showcase/assets/useLabelableId-CSxAHpU-.js +0 -1
- package/dist/showcase/assets/useOpenInteractionType-BLV8Pa2n.js +0 -1
- package/dist/showcase/assets/useRender-DparzvOu.js +0 -1
- package/dist/showcase/assets/useTriggerFocusGuards-CrYLO2g5.js +0 -1
- package/dist/showcase/assets/useValueChanged-DwgbaueK.js +0 -1
- package/dist/showcase/assets/user-CGcV8Ppb.js +0 -1
- package/dist/showcase/assets/user-plus-iOsntM6P.js +0 -1
- package/dist/showcase/assets/users-DzgXeZbf.js +0 -1
- package/dist/showcase/assets/valueToPercent-B5BHWU68.js +0 -1
- package/dist/showcase/assets/vendor-profile-DbFPkGn9.js +0 -37
- package/dist/showcase/assets/wrench-1Ra9xb3d.js +0 -1
- package/dist/showcase/assets/x-CE8oevyh.js +0 -1
- package/dist/showcase/assets/zap-se3n2YVD.js +0 -1
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import{n as e,r as t}from"./chunk-QTnfLwEv.js";import{n}from"./react-dom-Bz4cALsF.js";import{Dr as r,Er as i,Lr as a,Rr as o,Ur as s,jr as c,r as l,t as u}from"./example-Cz_880po.js";import{t as d}from"./calendar-7a4yQlzJ.js";import{t as f}from"./chevron-right-D4pIMCh9.js";import{t as p}from"./circle-V5hdlsIn.js";import{t as m}from"./credit-card-CAI3F3HB.js";import{t as h}from"./gift-CtM--bDo.js";import{t as g}from"./map-pin-0O7GD5Dz.js";import{t as _}from"./package-CjcwDJKu.js";import{t as v}from"./receipt-kIVP3kxJ.js";import{t as ee}from"./rotate-ccw-DQPoMfMY.js";import{t as y}from"./shopping-bag-XmeqUqk9.js";import{t as b}from"./sparkles-N8rqKQez.js";import{t as te}from"./star-BaV-UTPq.js";import{t as ne}from"./trash-2-CE9bDw49.js";import{t as re}from"./x-D8UN9pOu.js";import{t as ie}from"./zap-DIJUAJEb.js";import{a as x,k as S,n as C,s as ae}from"./index-BQIv1ffM.js";import{t as w}from"./props-table-2pIZzGC-.js";import{t as T}from"./icon-badge-dwVx3Hxf.js";import{t as E}from"./smart-card-Dhu_1A_u.js";import{t as oe}from"./input-NIgvB9CZ.js";import{t as D}from"./separator-BsYPzBlF.js";import{n as se}from"./form-field-B5g_5Zjm.js";import{t as O}from"./inline-stat-DcNP6bcO.js";import{a as k,c as A,i as j,n as M,o as ce,r as N,t as P,u as F}from"./item-YF6wMI9W.js";var le=x(`calendar-clock`,[[`path`,{d:`M16 14v2.2l1.6 1`,key:`fo4ql5`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5`,key:`1osxxc`}],[`path`,{d:`M3 10h5`,key:`r794hk`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`circle`,{cx:`16`,cy:`16`,r:`6`,key:`qoo3c4`}]]),ue=x(`pen`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]]),de=x(`repeat`,[[`path`,{d:`m17 2 4 4-4 4`,key:`nntrym`}],[`path`,{d:`M3 11v-1a4 4 0 0 1 4-4h14`,key:`84bu3i`}],[`path`,{d:`m7 22-4-4 4-4`,key:`1wqhfi`}],[`path`,{d:`M21 13v1a4 4 0 0 1-4 4H3`,key:`1rx37r`}]]),fe=x(`ticket-percent`,[[`path`,{d:`M2 9a3 3 0 1 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 1 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`,key:`1l48ns`}],[`path`,{d:`M9 9h.01`,key:`1q5me6`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`M15 15h.01`,key:`lqbp3k`}]]),pe={title:`Tax Breakdown`,subtotal:`Subtotal`,totalTax:`Total Tax`,total:`Total`},I=ae();function me({subtotal:e,taxes:t,totalTax:n,total:r,className:i,strings:a}){let s=S(pe,a);return(0,I.jsxs)(E,{icon:(0,I.jsx)(v,{className:`size-4`}),title:s.title,className:C(`tax-breakdown--component w-full`,i),children:[(0,I.jsx)(O,{label:s.subtotal,value:e,mono:!0,labelClassName:`text-sm`,valueClassName:`text-sm font-medium`}),(0,I.jsxs)(`div`,{className:`mt-3 space-y-1.5 rounded-lg border border-border/50 bg-muted/30 px-3 py-2.5`,children:[t.map((e,t)=>(0,I.jsxs)(`div`,{className:`flex items-baseline justify-between gap-3`,children:[(0,I.jsxs)(`div`,{className:`flex items-baseline gap-1.5 min-w-0`,children:[(0,I.jsx)(o,{size:`xs`,className:`truncate`,children:e.label}),!!e.rate&&(0,I.jsx)(o,{tag:`span`,size:`xxs`,type:`discrete`,className:`shrink-0`,children:e.rate})]}),(0,I.jsx)(o,{tag:`span`,size:`xs`,weight:`medium`,className:`tabular-nums shrink-0`,children:e.amount})]},e.id??`${e.label}-${t}`)),!!n&&t.length>1&&(0,I.jsx)(O,{label:s.totalTax,value:n,mono:!0,className:`border-t border-border/50 pt-1.5 mt-0.5`,labelClassName:`text-xs font-medium`,valueClassName:`text-xs font-semibold`})]}),(0,I.jsx)(D,{className:`my-3`}),(0,I.jsx)(O,{label:s.total,value:r,mono:!0,labelClassName:`text-sm font-semibold`,valueClassName:`text-lg font-bold`})]})}me.displayName=`TaxBreakdownCard`;var he={title:`Subscription`,plan:`Plan`,nextBilling:`Next billing`,perks:`Included`,manage:`Manage`,upgrade:`Upgrade`};function L({planName:e,priceLabel:t,cycleLabel:n,nextBillingDate:r,statusLabel:i,perks:u=[],onManage:p,onUpgrade:m,className:h,strings:g}){let _=S(he,g);return(0,I.jsxs)(E,{icon:(0,I.jsx)(de,{className:`size-4`}),title:_.title,headerEnd:i?(0,I.jsx)(c,{variant:`success`,children:i}):null,className:C(`subscription-summary--component w-full`,h),children:[(0,I.jsxs)(`div`,{className:`rounded-lg border border-border/60 bg-muted/30 p-4`,children:[(0,I.jsx)(o,{size:`xxs`,type:`secondary`,weight:`medium`,className:`uppercase tracking-wider`,children:_.plan}),(0,I.jsx)(a,{tag:`h3`,className:`mt-1 text-xl font-semibold tracking-tight border-none pb-0`,children:e}),(0,I.jsxs)(`div`,{className:`mt-1 flex items-baseline gap-1`,children:[(0,I.jsx)(o,{tag:`span`,size:`xl`,weight:`bold`,className:`tabular-nums`,children:t}),(0,I.jsx)(o,{type:`secondary`,children:n})]})]}),(0,I.jsxs)(`div`,{className:`mt-3 flex items-center justify-between rounded-md bg-card px-1`,children:[(0,I.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,I.jsx)(d,{className:`size-3.5 text-muted-foreground`}),(0,I.jsx)(o,{size:`xs`,type:`secondary`,children:_.nextBilling})]}),(0,I.jsx)(o,{size:`xs`,weight:`semibold`,className:`tabular-nums`,children:r})]}),u.length>0&&(0,I.jsxs)(`div`,{className:`mt-4 space-y-2`,children:[(0,I.jsx)(o,{size:`xxs`,type:`secondary`,weight:`medium`,className:`uppercase tracking-wider`,children:_.perks}),(0,I.jsx)(ce,{children:u.map((e,t)=>(0,I.jsxs)(P,{size:`xs`,className:`px-0`,children:[(0,I.jsx)(A,{children:(0,I.jsx)(T,{icon:e.icon??s,tone:`success`,size:`xs`})}),(0,I.jsx)(N,{children:(0,I.jsx)(F,{bold:!1,children:e.label})})]},`${e.label}-${t}`))})]}),(p||m)&&(0,I.jsxs)(`div`,{className:`mt-4 flex items-center gap-2`,children:[!!p&&(0,I.jsx)(l,{variant:`secondary`,buttonStyle:`outline`,onClick:p,className:`flex-1`,children:_.manage}),!!m&&(0,I.jsxs)(l,{variant:`primary`,onClick:m,className:`flex-1`,children:[_.upgrade,(0,I.jsx)(f,{className:`ml-1 size-3.5`})]})]})]})}L.displayName=`SubscriptionSummaryCard`;var ge={title:`Refund Status`,requested:`Requested`,approved:`Approved`,processing:`Processing`,completed:`Completed`,amount:`Refund amount`,reason:`Reason`,eta:`Expected by`,method:`Refund to`},R=[`requested`,`approved`,`processing`,`completed`];function _e({stage:e,amount:t,reason:n,method:r,eta:i,requestedAt:c,className:l,strings:u}){let d=S(ge,u),f=R.indexOf(e);return(0,I.jsxs)(E,{icon:(0,I.jsx)(ee,{className:`size-4`}),title:d.title,className:C(`refund-status--component w-full`,l),children:[(0,I.jsxs)(`div`,{className:`rounded-lg bg-muted/40 px-4 py-3`,children:[(0,I.jsx)(o,{size:`xxs`,type:`secondary`,weight:`medium`,className:`uppercase tracking-wider`,children:d.amount}),(0,I.jsx)(a,{tag:`h3`,className:`text-3xl tabular-nums tracking-tight`,children:t}),!!c&&(0,I.jsxs)(o,{size:`xs`,type:`secondary`,className:`mt-0.5`,children:[d.requested,`: `,c]})]}),(0,I.jsx)(`div`,{className:`mt-4 flex items-center justify-between`,children:R.map((e,t)=>{let n=t<=f,r=t===f;return(0,I.jsxs)(`div`,{className:`flex flex-1 flex-col items-center gap-1.5`,children:[(0,I.jsxs)(`div`,{className:`flex w-full items-center`,children:[(0,I.jsx)(`div`,{className:C(`relative flex size-5 shrink-0 items-center justify-center rounded-full`,n?`bg-success text-success-foreground`:`border border-border bg-card text-muted-foreground`,r&&`ring-2 ring-success/30 ring-offset-2 ring-offset-background`),children:n?(0,I.jsx)(s,{className:`size-3`}):(0,I.jsx)(o,{tag:`span`,size:`xxs`,weight:`medium`,className:`tabular-nums`,children:t+1})}),t<R.length-1&&(0,I.jsx)(`div`,{className:C(`h-0.5 flex-1`,t<f?`bg-success`:`bg-border`)})]}),(0,I.jsx)(o,{size:`xxs`,weight:r?`semibold`:`medium`,type:n?`main`:`secondary`,className:`text-center leading-tight`,children:d[e]})]},e)})}),(n||r||i)&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(D,{className:`my-4`}),(0,I.jsxs)(`div`,{className:`space-y-2`,children:[!!n&&(0,I.jsx)(O,{label:d.reason,value:n,className:`items-start`,valueClassName:`text-sm font-medium text-right`}),!!r&&(0,I.jsx)(O,{label:d.method,value:r,valueClassName:`text-sm font-medium`}),!!i&&(0,I.jsx)(O,{label:d.eta,value:i,mono:!0,valueClassName:`text-sm font-medium`})]})]})]})}_e.displayName=`RefundStatusCard`;var ve={defaultBadge:`Default`,edit:`Edit`,remove:`Remove`,makeDefault:`Make default`,shipping:`Shipping address`,billing:`Billing address`,pickup:`Pickup address`};function z({kind:e=`shipping`,name:t,line1:n,line2:r,city:i,region:a,postalCode:s,country:l,phone:u,isDefault:d=!1,onEdit:f,onRemove:p,onMakeDefault:m,className:h,strings:_}){let v=S(ve,_),ee={shipping:v.shipping,billing:v.billing,pickup:v.pickup},y=[i,a,s].filter(Boolean).join(`, `),b=[];return f&&b.push({id:`edit`,label:v.edit,icon:(0,I.jsx)(ue,{className:`size-3.5`}),onClick:f}),m&&!d&&b.push({id:`make-default`,label:v.makeDefault,icon:(0,I.jsx)(te,{className:`size-3.5`}),onClick:m}),p&&b.push({id:`remove`,label:v.remove,icon:(0,I.jsx)(ne,{className:`size-3.5`}),onClick:p}),(0,I.jsx)(E,{icon:(0,I.jsx)(g,{className:`size-4`}),title:ee[e],titleSuffix:d?(0,I.jsx)(c,{variant:`primary`,children:v.defaultBadge}):null,actions:b.length>0?b:void 0,className:C(`address-card--component w-full`,h),children:(0,I.jsxs)(`div`,{className:`space-y-0.5`,children:[(0,I.jsx)(o,{weight:`semibold`,children:t}),(0,I.jsx)(o,{children:n}),!!r&&(0,I.jsx)(o,{children:r}),!!y&&(0,I.jsx)(o,{children:y}),(0,I.jsx)(o,{type:`secondary`,children:l}),!!u&&(0,I.jsx)(o,{size:`xs`,type:`secondary`,className:`mt-1.5 tabular-nums`,children:u})]})})}z.displayName=`AddressCard`;var ye={title:`Redeem a gift card`,inputLabel:`Gift card code`,placeholder:`Enter gift card code`,helperText:`Apply one gift card or voucher to this order.`,check:`Check balance`,remove:`Remove`,balance:`Available balance`,applied:`Applied`,notFound:`That gift card code is not valid.`},B=t(n(),1),be=e=>e.toUpperCase();function V({appliedCode:e,balance:t,error:n,loading:r,onCheck:i,onRemove:a,className:u,strings:d}){let f=S(ye,d),p=(0,B.useId)(),[m,g]=(0,B.useState)(``),_=m.trim();return e?(0,I.jsx)(E,{icon:(0,I.jsx)(h,{className:`size-4`}),title:f.title,className:C(`voucher-entry--component w-full`,u),children:(0,I.jsxs)(P,{size:`xs`,variant:`outline`,className:`items-center gap-x-2.5 gap-y-1.5 border-success/30 bg-success/5 px-2.5 py-2`,children:[(0,I.jsx)(A,{children:(0,I.jsx)(T,{icon:s,tone:`success`,size:`sm`,className:`ring-1 ring-success/20`})}),(0,I.jsxs)(N,{className:`min-w-0`,children:[(0,I.jsxs)(`div`,{className:`flex flex-wrap items-center gap-1.5`,children:[(0,I.jsx)(F,{className:`max-w-full font-mono tracking-wider`,children:e}),(0,I.jsx)(c,{variant:`success`,size:`xs`,children:f.applied})]}),(0,I.jsx)(j,{clamp:1,children:f.balance})]}),(0,I.jsxs)(k,{className:`border-t border-success/15 pt-1`,children:[(0,I.jsx)(`span`,{}),(0,I.jsxs)(M,{className:`shrink-0 gap-1.5`,children:[!!t&&(0,I.jsx)(o,{tag:`span`,size:`xs`,weight:`semibold`,type:`success`,className:`tabular-nums shrink-0`,children:t}),!!a&&(0,I.jsx)(l,{type:`button`,variant:`error`,buttonStyle:`ghost`,size:`icon-xs`,onClick:a,"aria-label":f.remove,className:`size-7 shrink-0 text-muted-foreground hover:text-destructive`,children:(0,I.jsx)(re,{className:`size-3.5`})})]})]})]})}):(0,I.jsx)(E,{icon:(0,I.jsx)(h,{className:`size-4`}),title:f.title,className:C(`voucher-entry--component w-full`,u),children:(0,I.jsx)(`form`,{onSubmit:e=>{e.preventDefault(),_&&i?.(_)},children:(0,I.jsx)(se,{label:f.inputLabel,htmlFor:p,error:n,hint:n?void 0:f.helperText,children:(0,I.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,I.jsx)(`div`,{className:`min-w-[12rem] flex-1`,children:(0,I.jsx)(oe,{id:p,value:m,onChange:e=>g(be(e.target.value)),placeholder:f.placeholder,startIcon:h,autoCapitalize:`characters`,spellCheck:!1,className:`font-mono`,invalid:!!n})}),(0,I.jsx)(l,{type:`submit`,loading:r,disabled:!_,className:`shrink-0`,children:f.check})]})})})})}V.displayName=`VoucherEntryCard`;var xe={title:`Cart`,subtotal:`Subtotal`,tax:`Tax`,shipping:`Shipping`,discount:`Discount`,total:`Total`,checkout:`Checkout`},Se=e=>e.replace(/^[\s−-]+/,``),Ce=e=>[e.productTitle,e.title,e.name].find(e=>!!e?.trim())??e.id,we=e=>[e.imageUrl,e.imageSrc,e.src,e.url].find(e=>!!e?.trim()),Te=e=>e.trim().split(/\s+/).map(e=>e[0]).join(``).slice(0,2).toUpperCase()||e.trim().slice(0,2).toUpperCase();function Ee({title:e}){return(0,I.jsx)(`div`,{"aria-hidden":`true`,className:`flex size-full items-center justify-center rounded-[inherit] bg-muted text-[length:var(--text-xxs)] font-semibold text-muted-foreground ring-1 ring-border/60`,children:Te(e)})}function De({items:e,subtotal:t,tax:n,shipping:r,discount:i,total:a,onCheckout:s,className:c,strings:u}){let d=S(xe,u),f=!!(t||n||r||i);return(0,I.jsxs)(E,{icon:(0,I.jsx)(y,{className:`size-4`}),title:d.title,className:C(`cart-summary--component w-full`,c),children:[(0,I.jsx)(ce,{children:e.map(e=>{let t=Ce(e),n=we(e);return(0,I.jsxs)(P,{className:`cart-summary--item px-0`,children:[(0,I.jsx)(A,{variant:`image`,className:`cart-summary--item-media`,children:n?(0,I.jsx)(`img`,{src:n,alt:e.imageAlt??t}):(0,I.jsx)(Ee,{title:t})}),(0,I.jsxs)(N,{className:`cart-summary--item-content`,children:[(0,I.jsx)(F,{children:t}),!!e.variantTitle&&(0,I.jsx)(j,{clamp:1,children:e.variantTitle})]}),(0,I.jsx)(M,{className:`cart-summary--item-actions`,children:(0,I.jsxs)(`div`,{className:`flex shrink-0 flex-col items-end gap-0.5`,children:[(0,I.jsxs)(o,{tag:`span`,size:`xs`,type:`secondary`,className:`tabular-nums`,children:[`x`,e.qty]}),(0,I.jsx)(o,{tag:`span`,weight:`semibold`,className:`tabular-nums`,children:e.price})]})})]},e.id)})}),!!f&&(0,I.jsxs)(`div`,{className:`mt-3 space-y-1.5 rounded-lg bg-muted/30 px-3 py-2.5`,children:[!!t&&(0,I.jsx)(O,{label:d.subtotal,value:t,mono:!0,valueClassName:`text-xs font-medium`,labelClassName:`text-xs`}),!!n&&(0,I.jsx)(O,{label:d.tax,value:n,mono:!0,valueClassName:`text-xs font-medium`,labelClassName:`text-xs`}),!!r&&(0,I.jsx)(O,{label:d.shipping,value:r,mono:!0,valueClassName:`text-xs font-medium`,labelClassName:`text-xs`}),!!i&&(0,I.jsx)(O,{label:d.discount,value:`−${Se(i)}`,mono:!0,labelClassName:`text-xs`,valueClassName:`text-xs font-semibold text-success`})]}),(0,I.jsx)(D,{className:`my-3`}),(0,I.jsx)(O,{label:d.total,value:a,mono:!0,labelClassName:`text-sm font-semibold`,valueClassName:`text-lg font-bold`}),!!s&&(0,I.jsx)(l,{onClick:s,fullWidth:!0,className:`mt-4`,children:d.checkout})]})}De.displayName=`CartSummaryCard`;var Oe={title:`Have a code?`,placeholder:`Enter coupon code`,apply:`Apply`,remove:`Remove`,applied:`Applied`,invalid:`That code is not valid`},ke=e=>e.replace(/^[\s−-]+/,``),Ae=e=>e.toUpperCase();function H({appliedCode:e,appliedDiscount:t,error:n,onApply:r,onRemove:i,loading:a,className:c,strings:u}){let d=S(Oe,u),[f,p]=(0,B.useState)(``),m=f.trim();return e?(0,I.jsx)(E,{icon:(0,I.jsx)(fe,{className:`size-4`}),title:d.title,className:C(`coupon-input--component w-full`,c),children:(0,I.jsxs)(P,{size:`xs`,variant:`muted`,className:`items-center gap-x-2.5 gap-y-1.5 border border-success/30 bg-success/8 px-2.5 py-2`,children:[(0,I.jsx)(A,{children:(0,I.jsx)(T,{icon:s,tone:`success`,size:`sm`,className:`ring-1 ring-success/20`})}),(0,I.jsxs)(N,{className:`min-w-0`,children:[(0,I.jsx)(F,{className:`max-w-full font-mono tracking-wider`,children:e}),(0,I.jsx)(j,{className:`uppercase tracking-wide`,clamp:1,children:d.applied})]}),(0,I.jsxs)(k,{className:`border-t border-success/15 pt-1`,children:[(0,I.jsx)(`span`,{}),(0,I.jsxs)(M,{className:`shrink-0 gap-1.5`,children:[!!t&&(0,I.jsxs)(o,{tag:`span`,size:`xs`,weight:`semibold`,type:`success`,className:`tabular-nums shrink-0`,children:[`−`,ke(t)]}),!!i&&(0,I.jsx)(l,{type:`button`,variant:`error`,buttonStyle:`ghost`,size:`icon-xs`,onClick:i,"aria-label":d.remove,className:`size-7 shrink-0 text-muted-foreground hover:text-destructive`,children:(0,I.jsx)(re,{className:`size-3.5`})})]})]})]})}):(0,I.jsx)(E,{icon:(0,I.jsx)(fe,{className:`size-4`}),title:d.title,className:C(`coupon-input--component w-full`,c),children:(0,I.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,I.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,I.jsx)(`div`,{className:`min-w-[11rem] flex-1`,children:(0,I.jsx)(oe,{value:f,onChange:e=>p(Ae(e.target.value)),placeholder:d.placeholder,startIcon:b,autoCapitalize:`characters`,spellCheck:!1,className:`font-mono`,invalid:!!n})}),(0,I.jsx)(l,{size:`default`,onClick:()=>r?.(m),loading:a,disabled:!m,className:`shrink-0`,children:d.apply})]}),!!n&&(0,I.jsx)(o,{size:`xs`,type:`error`,children:n||d.invalid})]})})}H.displayName=`CouponInputCard`;var je={title:`Order status`,statusLabel:`Current status`,eta:`ETA`,latestEvent:`Latest event`,currentStep:`Current step`},Me={pending:`warning`,paid:`info`,fulfilled:`info`,shipped:`primary`,delivered:`success`,cancelled:`error`};function Ne({orderNumber:e,status:t,statusVariant:n,events:r,currentEta:i,className:a,strings:l}){let u=S(je,l),d=n??Me[t],f=r.reduce((e,t,n)=>t.complete?n:e,-1),m=r[f]??r[0],h=r.find(e=>!e.complete);return(0,I.jsxs)(E,{icon:(0,I.jsx)(_,{className:`size-4`}),title:u.title,titleSuffix:(0,I.jsx)(c,{variant:d,className:`capitalize`,children:t}),description:`#${e}`,className:C(`order-status--component w-full`,a),children:[(0,I.jsx)(`div`,{className:`rounded-lg border border-border bg-muted/20 p-3`,children:(0,I.jsxs)(`div`,{className:`grid gap-3 sm:grid-cols-3`,children:[(0,I.jsxs)(`div`,{children:[(0,I.jsx)(o,{size:`xxs`,type:`secondary`,className:`uppercase tracking-wide`,children:u.statusLabel}),(0,I.jsx)(o,{weight:`semibold`,className:`mt-0.5 capitalize`,children:t})]}),!!m&&(0,I.jsxs)(`div`,{children:[(0,I.jsx)(o,{size:`xxs`,type:`secondary`,className:`uppercase tracking-wide`,children:m.complete?u.latestEvent:u.currentStep}),(0,I.jsx)(o,{weight:`semibold`,className:`mt-0.5`,children:m.label})]}),!!i&&(0,I.jsxs)(`div`,{children:[(0,I.jsx)(o,{size:`xxs`,type:`secondary`,className:`uppercase tracking-wide`,children:u.eta}),(0,I.jsx)(o,{weight:`semibold`,className:`mt-0.5 tabular-nums`,children:i})]})]})}),r.length>0&&(0,I.jsx)(`ol`,{className:`mt-4`,children:r.map((e,t)=>{let n=t===r.length-1,i=h?e===h:t===f;return(0,I.jsxs)(`li`,{className:`relative flex gap-3`,children:[(0,I.jsxs)(`div`,{className:`flex flex-col items-center`,children:[(0,I.jsx)(`span`,{className:C(`flex size-6 shrink-0 items-center justify-center rounded-full border`,e.complete?`border-success bg-success text-success-foreground`:`border-border bg-card text-muted-foreground`,i&&!e.complete&&`border-primary text-primary ring-4 ring-primary/10`),children:e.complete?(0,I.jsx)(s,{className:`size-3.5`,strokeWidth:2.5}):i?(0,I.jsx)(le,{className:`size-3.5`}):(0,I.jsx)(p,{className:`size-3`})}),!n&&(0,I.jsx)(`span`,{"aria-hidden":`true`,className:C(`min-h-6 w-px flex-1`,t<f?`bg-success`:`bg-border`)})]}),(0,I.jsxs)(`div`,{className:C(`min-w-0 flex-1 pb-4`,n&&`pb-0`),children:[(0,I.jsx)(o,{weight:e.complete||i?`semibold`:`medium`,className:C(!e.complete&&!i&&`text-muted-foreground`),children:e.label}),!!e.timestamp&&(0,I.jsx)(o,{size:`xs`,type:`secondary`,className:`mt-0.5 tabular-nums`,children:e.timestamp})]})]},`${e.label}-${t}`)})})]})}Ne.displayName=`OrderStatusCard`;var Pe={title:`Payment method`,default:`Default`,cardHolder:`Card holder`,expires:`Expires`,change:`Change`},Fe={visa:`VISA`,mastercard:`MasterCard`,amex:`AMEX`,paypal:`PayPal`,applepay:`Apple Pay`,googlepay:`Google Pay`,unknown:`Card`},Ie={visa:`from-info via-primary to-info`,mastercard:`from-warning via-destructive to-destructive`,amex:`from-info via-primary to-info`,paypal:`from-info via-primary to-info`,applepay:`from-foreground via-muted-foreground to-foreground`,googlepay:`from-success via-primary to-success`,unknown:`from-foreground via-muted-foreground to-foreground`};function Le({brand:e,last4:t,expiry:n,holderName:r,isDefault:i,onChange:a,className:s,strings:u}){let d=S(Pe,u),f=Fe[e],p=Ie[e];return(0,I.jsx)(E,{icon:(0,I.jsx)(m,{className:`size-4`}),title:d.title,titleSuffix:i?(0,I.jsx)(c,{variant:`primary`,children:d.default}):null,headerAction:a?(0,I.jsx)(l,{buttonStyle:`ghost`,variant:`secondary`,onClick:a,children:d.change}):void 0,className:C(`payment-method--component w-full`,s),children:(0,I.jsxs)(`div`,{className:C(`relative mx-auto flex aspect-[85.6/53.98] w-full max-w-[22rem] flex-col justify-between overflow-hidden rounded-lg bg-gradient-to-br p-3.5 text-inverse-foreground shadow-sm ring-1 ring-inverse-border`,p),children:[(0,I.jsxs)(`div`,{className:`relative flex items-start justify-between`,children:[(0,I.jsx)(`div`,{className:`flex size-7 items-center justify-center rounded-md bg-gradient-to-br from-warning/80 to-warning shadow-sm`,children:(0,I.jsx)(`div`,{className:`size-4 rounded-sm border border-warning-foreground/25 bg-warning-foreground/15`})}),(0,I.jsx)(o,{tag:`span`,weight:`bold`,className:`rounded bg-inverse-surface px-2 py-0.5 tracking-[0.15em] text-inverse-foreground backdrop-blur-sm`,children:f})]}),(0,I.jsx)(`div`,{className:`relative`,children:(0,I.jsxs)(o,{tag:`span`,size:`base`,weight:`semibold`,className:`block font-mono tracking-[0.25em] text-inverse-foreground`,children:[`•••• •••• •••• `,t]})}),(0,I.jsxs)(`div`,{className:`relative flex items-end justify-between gap-3`,children:[(0,I.jsx)(`div`,{className:`min-w-0`,children:!!r&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(o,{size:`xxs`,className:`block uppercase tracking-wider text-inverse-subtle`,children:d.cardHolder}),(0,I.jsx)(o,{weight:`semibold`,className:`truncate text-inverse-foreground`,children:r})]})}),!!n&&(0,I.jsxs)(`div`,{className:`text-right shrink-0`,children:[(0,I.jsx)(o,{size:`xxs`,className:`block uppercase tracking-wider text-inverse-subtle`,children:d.expires}),(0,I.jsx)(o,{tag:`span`,weight:`semibold`,className:`tabular-nums text-inverse-foreground`,children:n})]})]})]})})}Le.displayName=`PaymentMethodCard`;var Re=e({AddressCardExample:()=>X,CartSummaryCardExample:()=>U,CouponInputCardEmptyApplied:()=>W,OrderStatusCardExample:()=>G,PaymentMethodCardExample:()=>K,RefundStatusCardExample:()=>Y,SubscriptionSummaryCardExample:()=>J,TaxBreakdownCardExample:()=>q,VoucherEntryCardExample:()=>Z}),ze=`data:image/svg+xml;utf8,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2296%22%20height%3D%2296%22%20viewBox%3D%220%200%2096%2096%22%3E%0A%09%3Crect%20width%3D%2296%22%20height%3D%2296%22%20rx%3D%2218%22%20fill%3D%22%23edf1e9%22%2F%3E%0A%09%3Crect%20x%3D%2234%22%20y%3D%2220%22%20width%3D%2228%22%20height%3D%2258%22%20rx%3D%229%22%20fill%3D%22%2353624d%22%2F%3E%0A%09%3Crect%20x%3D%2239%22%20y%3D%2212%22%20width%3D%2218%22%20height%3D%2213%22%20rx%3D%224%22%20fill%3D%22%23303b2e%22%2F%3E%0A%09%3Crect%20x%3D%2239%22%20y%3D%2239%22%20width%3D%2218%22%20height%3D%2222%22%20rx%3D%224%22%20fill%3D%22%23f7f0d7%22%2F%3E%0A%3C%2Fsvg%3E%0A`,Be=`data:image/svg+xml;utf8,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2296%22%20height%3D%2296%22%20viewBox%3D%220%200%2096%2096%22%3E%0A%09%3Crect%20width%3D%2296%22%20height%3D%2296%22%20rx%3D%2218%22%20fill%3D%22%23eef1f5%22%2F%3E%0A%09%3Cellipse%20cx%3D%2249%22%20cy%3D%2273%22%20rx%3D%2229%22%20ry%3D%227%22%20fill%3D%22%23d6dde6%22%2F%3E%0A%09%3Crect%20x%3D%2224%22%20y%3D%2238%22%20width%3D%2232%22%20height%3D%2230%22%20rx%3D%228%22%20fill%3D%22%23ffffff%22%2F%3E%0A%09%3Crect%20x%3D%2230%22%20y%3D%2230%22%20width%3D%2232%22%20height%3D%2230%22%20rx%3D%228%22%20fill%3D%22%23dfe6ef%22%2F%3E%0A%09%3Crect%20x%3D%2255%22%20y%3D%2224%22%20width%3D%2214%22%20height%3D%2244%22%20rx%3D%227%22%20fill%3D%22%23697586%22%2F%3E%0A%09%3Crect%20x%3D%2258%22%20y%3D%2217%22%20width%3D%228%22%20height%3D%229%22%20rx%3D%223%22%20fill%3D%22%23485467%22%2F%3E%0A%09%3Ccircle%20cx%3D%2235%22%20cy%3D%2266%22%20r%3D%229%22%20fill%3D%22%23cad6df%22%2F%3E%0A%3C%2Fsvg%3E%0A`;function U(){return(0,I.jsx)(`div`,{className:`w-full max-w-md`,children:(0,I.jsx)(De,{items:[{id:`1`,name:`Estate olive oil`,variantTitle:`500 ml bottle`,qty:2,price:`48 USD`,src:ze},{id:`2`,productTitle:`Spa day voucher`,variantTitle:`Weekend package`,qty:1,price:`180 USD`,url:Be},{id:`3`,name:`Gift wrap`,variantTitle:`Matte white box`,qty:1,price:`15 USD`}],subtotal:`243 USD`,tax:`48.60 USD`,shipping:`0 USD`,discount:`25 USD`,total:`266.60 USD`,onCheckout:()=>{}})})}function W(){return(0,I.jsxs)(`div`,{className:`grid w-full max-w-4xl gap-4 md:grid-cols-2`,children:[(0,I.jsx)(H,{onApply:()=>{}}),(0,I.jsx)(H,{appliedCode:`SPRING2026`,appliedDiscount:`88.40 USD`,onRemove:()=>{}})]})}function G(){return(0,I.jsx)(`div`,{className:`w-full max-w-md`,children:(0,I.jsx)(Ne,{orderNumber:`ORD-2026-0412`,status:`shipped`,currentEta:`Mar 29, 2026`,events:[{label:`Placed`,timestamp:`Mar 24`,complete:!0},{label:`Paid`,timestamp:`Mar 24`,complete:!0},{label:`Fulfilled`,timestamp:`Mar 25`,complete:!0},{label:`Shipped`,timestamp:`Mar 26`,complete:!0},{label:`Delivered`,complete:!1}]})})}function K(){return(0,I.jsx)(`div`,{className:`w-full max-w-sm`,children:(0,I.jsx)(Le,{brand:`visa`,last4:`4242`,expiry:`04/27`,holderName:`Sarah Smitha`,isDefault:!0,onChange:()=>{}})})}function q(){return(0,I.jsx)(`div`,{className:`w-full max-w-md`,children:(0,I.jsx)(me,{subtotal:`565.00 USD`,taxes:[{label:`VAT (standard)`,rate:`20%`,amount:`94.20 USD`},{label:`Tourist tax`,rate:`€1.50/night`,amount:`4.50 USD`},{label:`Service charge`,rate:`5%`,amount:`14.30 USD`}],totalTax:`113.00 USD`,total:`678.00 USD`})})}function J(){return(0,I.jsx)(`div`,{className:`w-full max-w-lg`,children:(0,I.jsx)(L,{planName:`Pro Annual`,priceLabel:`€29`,cycleLabel:`/ month`,nextBillingDate:`May 12, 2026`,statusLabel:`Active`,perks:[{icon:b,label:`AI assist included`},{icon:te,label:`Priority support`},{icon:ie,label:`Unlimited bookings`}],onManage:()=>{},onUpgrade:()=>{}})})}function Y(){return(0,I.jsx)(`div`,{className:`w-full max-w-md`,children:(0,I.jsx)(_e,{stage:`processing`,amount:`180.00 USD`,reason:`Customer cancelled within 48h window`,method:`Visa ending 4242`,eta:`Apr 14, 2026`,requestedAt:`Apr 8, 2026`})})}function X(){return(0,I.jsxs)(`div`,{className:`grid w-full max-w-3xl gap-3 md:grid-cols-2`,children:[(0,I.jsx)(z,{kind:`shipping`,name:`Sarah Smitha`,line1:`ul. Vitosha 24, ap. 5`,city:`New York`,postalCode:`1000`,country:`USA`,phone:`+1 888 123 456`,isDefault:!0,onEdit:()=>{},onRemove:()=>{}}),(0,I.jsx)(z,{kind:`billing`,name:`Daniel Smith`,line1:`ul. Slavyanska 9`,line2:`floor 3`,city:`Los Angeles`,postalCode:`4000`,country:`USA`,onEdit:()=>{},onRemove:()=>{},onMakeDefault:()=>{}})]})}function Z(){let[e,t]=(0,B.useState)(!1);return(0,I.jsx)(`div`,{className:`w-full max-w-md`,children:(0,I.jsx)(V,{onCheck:()=>t(!0),...e?{appliedCode:`GCT-2026-PETROV`,balance:`120.00 USD`,onRemove:()=>t(!1)}:{}})})}var Q=`import { useState } from 'react';
|
|
2
|
+
import { Sparkles, Star, Zap } from 'lucide-react';
|
|
3
|
+
import {
|
|
4
|
+
AddressCard,
|
|
5
|
+
CartSummaryCard,
|
|
6
|
+
CouponInputCard,
|
|
7
|
+
OrderStatusCard,
|
|
8
|
+
PaymentMethodCard,
|
|
9
|
+
RefundStatusCard,
|
|
10
|
+
SubscriptionSummaryCard,
|
|
11
|
+
TaxBreakdownCard,
|
|
12
|
+
VoucherEntryCard,
|
|
13
|
+
} from '@/components/composed/commerce';
|
|
14
|
+
|
|
15
|
+
const bottleThumb = \`data:image/svg+xml;utf8,\${encodeURIComponent(\`
|
|
16
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 96 96">
|
|
17
|
+
<rect width="96" height="96" rx="18" fill="#edf1e9"/>
|
|
18
|
+
<rect x="34" y="20" width="28" height="58" rx="9" fill="#53624d"/>
|
|
19
|
+
<rect x="39" y="12" width="18" height="13" rx="4" fill="#303b2e"/>
|
|
20
|
+
<rect x="39" y="39" width="18" height="22" rx="4" fill="#f7f0d7"/>
|
|
21
|
+
</svg>
|
|
22
|
+
\`)}\`;
|
|
23
|
+
|
|
24
|
+
const voucherThumb = \`data:image/svg+xml;utf8,\${encodeURIComponent(\`
|
|
25
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 96 96">
|
|
26
|
+
<rect width="96" height="96" rx="18" fill="#eef1f5"/>
|
|
27
|
+
<ellipse cx="49" cy="73" rx="29" ry="7" fill="#d6dde6"/>
|
|
28
|
+
<rect x="24" y="38" width="32" height="30" rx="8" fill="#ffffff"/>
|
|
29
|
+
<rect x="30" y="30" width="32" height="30" rx="8" fill="#dfe6ef"/>
|
|
30
|
+
<rect x="55" y="24" width="14" height="44" rx="7" fill="#697586"/>
|
|
31
|
+
<rect x="58" y="17" width="8" height="9" rx="3" fill="#485467"/>
|
|
32
|
+
<circle cx="35" cy="66" r="9" fill="#cad6df"/>
|
|
33
|
+
</svg>
|
|
34
|
+
\`)}\`;
|
|
35
|
+
|
|
36
|
+
export function CartSummaryCardExample() {
|
|
37
|
+
return (
|
|
38
|
+
<div className="w-full max-w-md">
|
|
39
|
+
<CartSummaryCard
|
|
40
|
+
items={[
|
|
41
|
+
{ id: '1', name: 'Estate olive oil', variantTitle: '500 ml bottle', qty: 2, price: '48 USD', src: bottleThumb },
|
|
42
|
+
{ id: '2', productTitle: 'Spa day voucher', variantTitle: 'Weekend package', qty: 1, price: '180 USD', url: voucherThumb },
|
|
43
|
+
{ id: '3', name: 'Gift wrap', variantTitle: 'Matte white box', qty: 1, price: '15 USD' },
|
|
44
|
+
]}
|
|
45
|
+
subtotal="243 USD"
|
|
46
|
+
tax="48.60 USD"
|
|
47
|
+
shipping="0 USD"
|
|
48
|
+
discount="25 USD"
|
|
49
|
+
total="266.60 USD"
|
|
50
|
+
onCheckout={() => {}}
|
|
51
|
+
/>
|
|
52
|
+
</div>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function CouponInputCardEmptyApplied() {
|
|
57
|
+
return (
|
|
58
|
+
<div className="grid w-full max-w-4xl gap-4 md:grid-cols-2">
|
|
59
|
+
<CouponInputCard onApply={() => {}} />
|
|
60
|
+
<CouponInputCard appliedCode="SPRING2026" appliedDiscount="88.40 USD" onRemove={() => {}} />
|
|
61
|
+
</div>
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function OrderStatusCardExample() {
|
|
66
|
+
return (
|
|
67
|
+
<div className="w-full max-w-md">
|
|
68
|
+
<OrderStatusCard
|
|
69
|
+
orderNumber="ORD-2026-0412"
|
|
70
|
+
status="shipped"
|
|
71
|
+
currentEta="Mar 29, 2026"
|
|
72
|
+
events={[
|
|
73
|
+
{ label: 'Placed', timestamp: 'Mar 24', complete: true },
|
|
74
|
+
{ label: 'Paid', timestamp: 'Mar 24', complete: true },
|
|
75
|
+
{ label: 'Fulfilled', timestamp: 'Mar 25', complete: true },
|
|
76
|
+
{ label: 'Shipped', timestamp: 'Mar 26', complete: true },
|
|
77
|
+
{ label: 'Delivered', complete: false },
|
|
78
|
+
]}
|
|
79
|
+
/>
|
|
80
|
+
</div>
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function PaymentMethodCardExample() {
|
|
85
|
+
return (
|
|
86
|
+
<div className="w-full max-w-sm">
|
|
87
|
+
<PaymentMethodCard brand="visa" last4="4242" expiry="04/27" holderName="Sarah Smitha" isDefault onChange={() => {}} />
|
|
88
|
+
</div>
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function TaxBreakdownCardExample() {
|
|
93
|
+
return (
|
|
94
|
+
<div className="w-full max-w-md">
|
|
95
|
+
<TaxBreakdownCard
|
|
96
|
+
subtotal="565.00 USD"
|
|
97
|
+
taxes={[
|
|
98
|
+
{ label: 'VAT (standard)', rate: '20%', amount: '94.20 USD' },
|
|
99
|
+
{ label: 'Tourist tax', rate: '€1.50/night', amount: '4.50 USD' },
|
|
100
|
+
{ label: 'Service charge', rate: '5%', amount: '14.30 USD' },
|
|
101
|
+
]}
|
|
102
|
+
totalTax="113.00 USD"
|
|
103
|
+
total="678.00 USD"
|
|
104
|
+
/>
|
|
105
|
+
</div>
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function SubscriptionSummaryCardExample() {
|
|
110
|
+
return (
|
|
111
|
+
<div className="w-full max-w-lg">
|
|
112
|
+
<SubscriptionSummaryCard
|
|
113
|
+
planName="Pro Annual"
|
|
114
|
+
priceLabel="€29"
|
|
115
|
+
cycleLabel="/ month"
|
|
116
|
+
nextBillingDate="May 12, 2026"
|
|
117
|
+
statusLabel="Active"
|
|
118
|
+
perks={[
|
|
119
|
+
{ icon: Sparkles, label: 'AI assist included' },
|
|
120
|
+
{ icon: Star, label: 'Priority support' },
|
|
121
|
+
{ icon: Zap, label: 'Unlimited bookings' },
|
|
122
|
+
]}
|
|
123
|
+
onManage={() => {}}
|
|
124
|
+
onUpgrade={() => {}}
|
|
125
|
+
/>
|
|
126
|
+
</div>
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export function RefundStatusCardExample() {
|
|
131
|
+
return (
|
|
132
|
+
<div className="w-full max-w-md">
|
|
133
|
+
<RefundStatusCard
|
|
134
|
+
stage="processing"
|
|
135
|
+
amount="180.00 USD"
|
|
136
|
+
reason="Customer cancelled within 48h window"
|
|
137
|
+
method="Visa ending 4242"
|
|
138
|
+
eta="Apr 14, 2026"
|
|
139
|
+
requestedAt="Apr 8, 2026"
|
|
140
|
+
/>
|
|
141
|
+
</div>
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export function AddressCardExample() {
|
|
146
|
+
return (
|
|
147
|
+
<div className="grid w-full max-w-3xl gap-3 md:grid-cols-2">
|
|
148
|
+
<AddressCard
|
|
149
|
+
kind="shipping"
|
|
150
|
+
name="Sarah Smitha"
|
|
151
|
+
line1="ul. Vitosha 24, ap. 5"
|
|
152
|
+
city="New York"
|
|
153
|
+
postalCode="1000"
|
|
154
|
+
country="USA"
|
|
155
|
+
phone="+1 888 123 456"
|
|
156
|
+
isDefault
|
|
157
|
+
onEdit={() => {}}
|
|
158
|
+
onRemove={() => {}}
|
|
159
|
+
/>
|
|
160
|
+
<AddressCard
|
|
161
|
+
kind="billing"
|
|
162
|
+
name="Daniel Smith"
|
|
163
|
+
line1="ul. Slavyanska 9"
|
|
164
|
+
line2="floor 3"
|
|
165
|
+
city="Los Angeles"
|
|
166
|
+
postalCode="4000"
|
|
167
|
+
country="USA"
|
|
168
|
+
onEdit={() => {}}
|
|
169
|
+
onRemove={() => {}}
|
|
170
|
+
onMakeDefault={() => {}}
|
|
171
|
+
/>
|
|
172
|
+
</div>
|
|
173
|
+
);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export function VoucherEntryCardExample() {
|
|
177
|
+
const [voucherApplied, setVoucherApplied] = useState(false);
|
|
178
|
+
return (
|
|
179
|
+
<div className="w-full max-w-md">
|
|
180
|
+
<VoucherEntryCard
|
|
181
|
+
onCheck={() => setVoucherApplied(true)}
|
|
182
|
+
{...(voucherApplied
|
|
183
|
+
? { appliedCode: 'GCT-2026-PETROV', balance: '120.00 USD', onRemove: () => setVoucherApplied(false) }
|
|
184
|
+
: {})}
|
|
185
|
+
/>
|
|
186
|
+
</div>
|
|
187
|
+
);
|
|
188
|
+
}
|
|
189
|
+
`;function Ve(e){let t={h4:`h4`,...e.components};return Re||$(`Examples`,!1),X||$(`Examples.AddressCardExample`,!0),U||$(`Examples.CartSummaryCardExample`,!0),W||$(`Examples.CouponInputCardEmptyApplied`,!0),G||$(`Examples.OrderStatusCardExample`,!0),K||$(`Examples.PaymentMethodCardExample`,!0),Y||$(`Examples.RefundStatusCardExample`,!0),J||$(`Examples.SubscriptionSummaryCardExample`,!0),q||$(`Examples.TaxBreakdownCardExample`,!0),Z||$(`Examples.VoucherEntryCardExample`,!0),(0,I.jsxs)(r,{title:`Composed · Commerce (extras)`,description:`Cart, coupon, order status, payment, tax breakdown, subscription, refund, address, voucher.`,layer:`composed`,status:`ready`,children:[(0,I.jsx)(i,{title:`Cart`,id:`cart`,children:(0,I.jsx)(u,{name:`CartSummaryCardExample`,source:Q,children:(0,I.jsx)(U,{})})}),(0,I.jsxs)(i,{title:`Promotions`,id:`promotions`,children:[(0,I.jsx)(u,{name:`CouponInputCardEmptyApplied`,source:Q,children:(0,I.jsx)(W,{})}),(0,I.jsx)(u,{name:`VoucherEntryCardExample`,source:Q,children:(0,I.jsx)(Z,{})})]}),(0,I.jsx)(i,{title:`Fulfillment`,id:`fulfillment`,children:(0,I.jsx)(u,{name:`OrderStatusCardExample`,source:Q,children:(0,I.jsx)(G,{})})}),(0,I.jsxs)(i,{title:`Billing`,id:`billing`,children:[(0,I.jsx)(u,{name:`PaymentMethodCardExample`,source:Q,children:(0,I.jsx)(K,{})}),(0,I.jsx)(u,{name:`TaxBreakdownCardExample`,source:Q,children:(0,I.jsx)(q,{})})]}),(0,I.jsxs)(i,{title:`Subscription and refund`,id:`subscription-refund`,children:[(0,I.jsx)(u,{name:`SubscriptionSummaryCardExample`,source:Q,children:(0,I.jsx)(J,{})}),(0,I.jsx)(u,{name:`RefundStatusCardExample`,source:Q,children:(0,I.jsx)(Y,{})})]}),(0,I.jsx)(i,{title:`Customer details`,id:`customer-details`,children:(0,I.jsx)(u,{name:`AddressCardExample`,source:Q,children:(0,I.jsx)(X,{})})}),(0,I.jsxs)(i,{title:`API`,id:`api`,children:[(0,I.jsx)(t.h4,{children:`AddressCard`}),(0,I.jsx)(w,{component:`AddressCard`}),(0,I.jsx)(t.h4,{children:`CartSummaryCard`}),(0,I.jsx)(w,{component:`CartSummaryCard`}),(0,I.jsx)(t.h4,{children:`CouponInputCard`}),(0,I.jsx)(w,{component:`CouponInputCard`}),(0,I.jsx)(t.h4,{children:`OrderStatusCard`}),(0,I.jsx)(w,{component:`OrderStatusCard`}),(0,I.jsx)(t.h4,{children:`PaymentMethodCard`}),(0,I.jsx)(w,{component:`PaymentMethodCard`}),(0,I.jsx)(t.h4,{children:`RefundStatusCard`}),(0,I.jsx)(w,{component:`RefundStatusCard`}),(0,I.jsx)(t.h4,{children:`SubscriptionSummaryCard`}),(0,I.jsx)(w,{component:`SubscriptionSummaryCard`}),(0,I.jsx)(t.h4,{children:`TaxBreakdownCard`}),(0,I.jsx)(w,{component:`TaxBreakdownCard`}),(0,I.jsx)(t.h4,{children:`VoucherEntryCard`}),(0,I.jsx)(w,{component:`VoucherEntryCard`})]})]})}function He(e={}){let{wrapper:t}=e.components||{};return t?(0,I.jsx)(t,{...e,children:(0,I.jsx)(Ve,{...e})}):Ve(e)}function $(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{He as default};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import{n as e}from"./chunk-QTnfLwEv.js";import{Dr as t,Er as n,Lr as r,Rr as i,jr as a,r as o,t as s}from"./example-Cz_880po.js";import{t as c}from"./gift-CtM--bDo.js";import{a as l,k as u,n as d,s as f}from"./index-BQIv1ffM.js";import{t as p}from"./props-table-2pIZzGC-.js";import{t as m}from"./smart-card-Dhu_1A_u.js";import{t as h}from"./separator-BsYPzBlF.js";import{t as g}from"./inline-stat-DcNP6bcO.js";import{t as _}from"./date-block-CvCdJr8d.js";import{c as v,i as y,n as b,o as x,r as S,t as C,u as w}from"./item-YF6wMI9W.js";var T=l(`trophy`,[[`path`,{d:`M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978`,key:`1n3hpd`}],[`path`,{d:`M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978`,key:`rfe1zi`}],[`path`,{d:`M18 9h1.5a1 1 0 0 0 0-5H18`,key:`7xy6bh`}],[`path`,{d:`M4 22h16`,key:`57wxv0`}],[`path`,{d:`M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z`,key:`1mhfuq`}],[`path`,{d:`M6 9H4.5a1 1 0 0 1 0-5H6`,key:`tex48p`}]]),E=f();function D(e){if(e.date!=null)return e.date;if(e.day&&e.month){let t=new Date().getFullYear(),n=new Date(`${e.month} ${e.day}, ${t}`);if(!Number.isNaN(n.getTime()))return n}return null}function O({bookings:e,className:t,locale:n,dateTone:r=`inverse`,timePlacement:a=`below`}){return(0,E.jsx)(x,{className:d(`upcoming-booking--component w-full gap-2`,t),children:e.map((e,t)=>{let o=D(e);return(0,E.jsxs)(C,{className:`items-center px-0 py-1.5`,children:[!!o&&(0,E.jsx)(v,{children:(0,E.jsx)(_,{date:o,time:a===`below`?e.time:void 0,tone:r,locale:n,timePlacement:`below`,layout:`stacked`})}),(0,E.jsxs)(S,{className:`min-w-[min(12rem,100%)]`,children:[(0,E.jsx)(w,{children:e.service}),(0,E.jsx)(y,{clamp:1,children:e.customer})]}),(0,E.jsxs)(b,{className:`ml-auto shrink-0 flex-wrap justify-end`,children:[a===`inline-trailing`&&(0,E.jsx)(i,{size:`xs`,type:`secondary`,className:`shrink-0 tabular-nums`,children:e.time}),(0,E.jsx)(i,{weight:`semibold`,className:`shrink-0 tabular-nums`,children:e.amount})]})]},e.id??`${e.service}-${e.time}-${t}`)})})}O.displayName=`UpcomingBookingRow`;var k={balanceLabel:`Loyalty Balance`,pointsAvailable:`points available`,redeem:`Redeem Points`};function A({balance:e,tier:t=`Gold Tier`,tierVariant:n,history:s=[],redeemLabel:l,onRedeem:f,className:p,strings:_}){let v=u(k,{...l===void 0?{}:{redeem:l},..._});return(0,E.jsxs)(m,{className:d(`loyalty-points--component w-full`,p),children:[(0,E.jsx)(g,{label:v.balanceLabel,value:(0,E.jsxs)(a,{variant:`warning`,children:[(0,E.jsx)(T,{className:`mr-1 inline size-3`}),t]}),labelClassName:`text-xs font-medium uppercase tracking-wider text-muted-foreground`}),(0,E.jsx)(r,{tag:`h3`,className:`text-4xl tabular-nums tracking-tight`,children:typeof e==`number`?e.toLocaleString():e}),(0,E.jsx)(i,{size:`xs`,type:`secondary`,children:v.pointsAvailable}),(0,E.jsx)(h,{className:`my-4`}),(0,E.jsx)(x,{children:s.map(e=>(0,E.jsxs)(C,{size:`xs`,className:`px-0 py-1`,children:[(0,E.jsxs)(S,{children:[(0,E.jsx)(w,{bold:!1,children:e.label}),(0,E.jsx)(y,{clamp:1,children:e.date})]}),(0,E.jsx)(b,{children:(0,E.jsx)(i,{weight:`semibold`,className:d(`tabular-nums`,e.positive?`text-success`:`text-destructive`),children:e.points})})]},e.date+e.label))}),(0,E.jsxs)(o,{variant:`dark`,className:`mt-5 w-full rounded-full`,onClick:f,children:[(0,E.jsx)(c,{className:`mr-1.5 size-3.5`}),v.redeem]})]})}A.displayName=`LoyaltyPointsCard`;var j={title:`Applied Discounts`,totalSavings:`Total Savings`};function M({discounts:e,totalSavings:t,className:n,strings:o}){let s=u(j,o);return(0,E.jsxs)(m,{title:s.title,className:d(`discount-stack--component w-full`,n),children:[(0,E.jsx)(x,{className:`mt-4`,children:e.map(e=>(0,E.jsxs)(C,{size:`xs`,className:`px-0 py-1`,children:[(0,E.jsx)(v,{children:(0,E.jsx)(a,{variant:e.badge,className:`w-16 justify-center text-xxs`,children:e.type})}),(0,E.jsx)(S,{children:(0,E.jsx)(w,{bold:!1,children:e.label})}),(0,E.jsx)(b,{children:(0,E.jsx)(i,{weight:`semibold`,className:`tabular-nums text-success`,children:e.amount})})]},e.type))}),(0,E.jsx)(h,{className:`my-4`}),(0,E.jsx)(g,{label:s.totalSavings,value:(0,E.jsx)(r,{tag:`h4`,className:`text-xl tabular-nums tracking-tight text-success border-none pb-0`,children:t}),labelClassName:`text-sm font-semibold`})]})}M.displayName=`DiscountStackPreview`;function N({trackingNumber:e,carrier:t,status:n,steps:r,details:o=[],className:s}){return(0,E.jsxs)(m,{className:d(`shipment-tracking--component w-full`,s),children:[(0,E.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,E.jsx)(i,{size:`xs`,weight:`medium`,className:`font-mono text-muted-foreground tracking-wide`,children:e}),!!t&&(0,E.jsx)(a,{variant:`info`,children:t})]}),(0,E.jsxs)(`div`,{className:`mt-4 flex items-center gap-1.5`,children:[(0,E.jsx)(`span`,{className:`h-2 w-2 rounded-full bg-success`}),(0,E.jsx)(i,{weight:`semibold`,children:n})]}),(0,E.jsx)(`div`,{className:`mt-5 flex items-center justify-between`,children:r.map((e,t)=>(0,E.jsxs)(`div`,{className:`flex flex-1 flex-col items-center gap-2`,children:[(0,E.jsxs)(`div`,{className:`flex w-full items-center`,children:[(0,E.jsx)(`div`,{className:d(`size-3 shrink-0 rounded-full`,e.done?`bg-success`:`bg-muted`)}),t<r.length-1&&(0,E.jsx)(`div`,{className:d(`h-0.5 flex-1`,e.done?`bg-success`:`bg-muted`)})]}),(0,E.jsx)(i,{size:`xs`,type:`secondary`,className:`text-center leading-tight`,children:e.label})]},e.label))}),o.length>0&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(h,{className:`my-4`}),(0,E.jsx)(`div`,{className:`space-y-2`,children:o.map(e=>(0,E.jsx)(g,{label:e.label,value:e.value,labelClassName:`text-xs`,valueClassName:`text-sm font-medium truncate max-w-[180px]`},e.label))})]})]})}N.displayName=`ShipmentTrackingCard`;var P=e({DiscountStack:()=>L,LoyaltyPoints:()=>I,ShipmentTracking:()=>R,UpcomingBookings:()=>F});function F(){return(0,E.jsx)(`div`,{className:`w-full max-w-xl`,children:(0,E.jsx)(m,{children:(0,E.jsx)(O,{timePlacement:`inline-trailing`,bookings:[{id:`1`,date:new Date(2026,2,28),service:`Wine Tasting Tour`,customer:`Daniel Smith`,time:`14:00`,amount:`370 USD`},{id:`2`,date:new Date(2026,3,3),service:`Luxury Spa Day`,customer:`Emma Garcia`,time:`10:00`,amount:`320 USD`},{id:`3`,date:new Date(2026,3,7),service:`Hot Air Balloon`,customer:`David Williams`,time:`06:30`,amount:`580 USD`}]})})})}function I(){return(0,E.jsx)(`div`,{className:`w-full max-w-md`,children:(0,E.jsx)(A,{balance:`4,830`,tier:`Gold Tier`,history:[{label:`Spa booking`,points:`+250`,date:`Mar 24`,positive:!0},{label:`Redeemed coupon`,points:`-500`,date:`Mar 18`,positive:!1},{label:`Wine tasting order`,points:`+180`,date:`Mar 12`,positive:!0}],onRedeem:()=>{}})})}function L(){return(0,E.jsx)(`div`,{className:`w-full max-w-lg`,children:(0,E.jsx)(M,{discounts:[{type:`Coupon`,label:`SPRING2026 — 25% off`,amount:`-88.40 USD`,badge:`info`},{type:`Loyalty`,label:`Gold tier — 5% extra`,amount:`-17.68 USD`,badge:`warning`},{type:`Promo`,label:`Free shipping over 500 USD`,amount:`-12.00 USD`,badge:`success`}],totalSavings:`-118.08 USD`})})}function R(){return(0,E.jsx)(`div`,{className:`w-full max-w-xl`,children:(0,E.jsx)(N,{trackingNumber:`TRK-9847261035`,carrier:`Speedy`,status:`In Transit`,steps:[{label:`Picked up`,done:!0},{label:`In transit`,done:!0},{label:`Out for delivery`,done:!1},{label:`Delivered`,done:!1}],details:[{label:`Est. Delivery`,value:`Mar 29, 2026`},{label:`Recipient`,value:`Daniel Smith`}]})})}var z=`import {
|
|
2
|
+
DiscountStackPreview,
|
|
3
|
+
LoyaltyPointsCard,
|
|
4
|
+
ShipmentTrackingCard,
|
|
5
|
+
UpcomingBookingRow,
|
|
6
|
+
} from '@/components/composed/commerce';
|
|
7
|
+
import { SmartCard } from '@/components/base/cards';
|
|
8
|
+
|
|
9
|
+
export function UpcomingBookings() {
|
|
10
|
+
return (
|
|
11
|
+
<div className="w-full max-w-xl">
|
|
12
|
+
<SmartCard>
|
|
13
|
+
<UpcomingBookingRow
|
|
14
|
+
timePlacement="inline-trailing"
|
|
15
|
+
bookings={[
|
|
16
|
+
{ id: '1', date: new Date(2026, 2, 28), service: 'Wine Tasting Tour', customer: 'Daniel Smith', time: '14:00', amount: '370 USD' },
|
|
17
|
+
{ id: '2', date: new Date(2026, 3, 3), service: 'Luxury Spa Day', customer: 'Emma Garcia', time: '10:00', amount: '320 USD' },
|
|
18
|
+
{ id: '3', date: new Date(2026, 3, 7), service: 'Hot Air Balloon', customer: 'David Williams', time: '06:30', amount: '580 USD' },
|
|
19
|
+
]}
|
|
20
|
+
/>
|
|
21
|
+
</SmartCard>
|
|
22
|
+
</div>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function LoyaltyPoints() {
|
|
27
|
+
return (
|
|
28
|
+
<div className="w-full max-w-md">
|
|
29
|
+
<LoyaltyPointsCard
|
|
30
|
+
balance="4,830"
|
|
31
|
+
tier="Gold Tier"
|
|
32
|
+
history={[
|
|
33
|
+
{ label: 'Spa booking', points: '+250', date: 'Mar 24', positive: true },
|
|
34
|
+
{ label: 'Redeemed coupon', points: '-500', date: 'Mar 18', positive: false },
|
|
35
|
+
{ label: 'Wine tasting order', points: '+180', date: 'Mar 12', positive: true },
|
|
36
|
+
]}
|
|
37
|
+
onRedeem={() => {}}
|
|
38
|
+
/>
|
|
39
|
+
</div>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function DiscountStack() {
|
|
44
|
+
return (
|
|
45
|
+
<div className="w-full max-w-lg">
|
|
46
|
+
<DiscountStackPreview
|
|
47
|
+
discounts={[
|
|
48
|
+
{ type: 'Coupon', label: 'SPRING2026 — 25% off', amount: '-88.40 USD', badge: 'info' },
|
|
49
|
+
{ type: 'Loyalty', label: 'Gold tier — 5% extra', amount: '-17.68 USD', badge: 'warning' },
|
|
50
|
+
{ type: 'Promo', label: 'Free shipping over 500 USD', amount: '-12.00 USD', badge: 'success' },
|
|
51
|
+
]}
|
|
52
|
+
totalSavings="-118.08 USD"
|
|
53
|
+
/>
|
|
54
|
+
</div>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ShipmentTracking() {
|
|
59
|
+
return (
|
|
60
|
+
<div className="w-full max-w-xl">
|
|
61
|
+
<ShipmentTrackingCard
|
|
62
|
+
trackingNumber="TRK-9847261035"
|
|
63
|
+
carrier="Speedy"
|
|
64
|
+
status="In Transit"
|
|
65
|
+
steps={[
|
|
66
|
+
{ label: 'Picked up', done: true },
|
|
67
|
+
{ label: 'In transit', done: true },
|
|
68
|
+
{ label: 'Out for delivery', done: false },
|
|
69
|
+
{ label: 'Delivered', done: false },
|
|
70
|
+
]}
|
|
71
|
+
details={[
|
|
72
|
+
{ label: 'Est. Delivery', value: 'Mar 29, 2026' },
|
|
73
|
+
{ label: 'Recipient', value: 'Daniel Smith' },
|
|
74
|
+
]}
|
|
75
|
+
/>
|
|
76
|
+
</div>
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
`;function B(e){let r={h4:`h4`,...e.components};return P||H(`Examples`,!1),L||H(`Examples.DiscountStack`,!0),I||H(`Examples.LoyaltyPoints`,!0),R||H(`Examples.ShipmentTracking`,!0),F||H(`Examples.UpcomingBookings`,!0),(0,E.jsxs)(t,{title:`Composed · Commerce`,description:`Bookings, loyalty, discount stacks, shipment tracking.`,layer:`composed`,status:`ready`,children:[(0,E.jsxs)(n,{title:`Examples`,id:`examples`,children:[(0,E.jsx)(s,{name:`UpcomingBookings`,source:z,children:(0,E.jsx)(F,{})}),(0,E.jsx)(s,{name:`LoyaltyPoints`,source:z,children:(0,E.jsx)(I,{})}),(0,E.jsx)(s,{name:`DiscountStack`,source:z,children:(0,E.jsx)(L,{})}),(0,E.jsx)(s,{name:`ShipmentTracking`,source:z,children:(0,E.jsx)(R,{})})]}),(0,E.jsxs)(n,{title:`API`,id:`api`,children:[(0,E.jsx)(r.h4,{children:`UpcomingBookingRow`}),(0,E.jsx)(p,{component:`UpcomingBookingRow`}),(0,E.jsx)(r.h4,{children:`LoyaltyPointsCard`}),(0,E.jsx)(p,{component:`LoyaltyPointsCard`}),(0,E.jsx)(r.h4,{children:`DiscountStackPreview`}),(0,E.jsx)(p,{component:`DiscountStackPreview`}),(0,E.jsx)(r.h4,{children:`ShipmentTrackingCard`}),(0,E.jsx)(p,{component:`ShipmentTrackingCard`})]})]})}function V(e={}){let{wrapper:t}=e.components||{};return t?(0,E.jsx)(t,{...e,children:(0,E.jsx)(B,{...e})}):B(e)}function H(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{V as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Sr as e}from"./example-Cz_880po.js";var t=`ArrowUp`,n=`ArrowDown`,r=`ArrowLeft`,i=`ArrowRight`,a=`Home`,o=`PageUp`,s=`PageDown`,c=new Set([r,i]),l=new Set([r,i,a,`End`]),u=new Set([t,n]),d=new Set([t,n,a,`End`]),f=new Set([...c,...u]),p=new Set([...f,a,`End`]),m=`Shift`,h=new Set([m,`Control`,`Alt`,`Meta`]);function g(t){return e(t)&&t.tagName===`INPUT`}function _(t){return!!(g(t)&&t.selectionStart!=null||e(t)&&t.tagName===`TEXTAREA`)}function v(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,a=e.scrollTop,o=e.clientWidth<e.scrollWidth,s=e.clientHeight<e.scrollHeight;if(o&&r!==`vertical`){let r=y(e,t,`left`),a=b(e),o=b(t);n===`ltr`&&(r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight?i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight:r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft&&(i=r-o.scrollMarginLeft-a.scrollPaddingLeft)),n===`rtl`&&(r-o.scrollMarginRight<e.scrollLeft+a.scrollPaddingLeft?i=r-o.scrollMarginLeft-a.scrollPaddingLeft:r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight&&(i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight))}if(s&&r!==`horizontal`){let n=y(e,t,`top`),r=b(e),i=b(t);n-i.scrollMarginTop<e.scrollTop+r.scrollPaddingTop?a=n-i.scrollMarginTop-r.scrollPaddingTop:n+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(a=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:a,behavior:`auto`})}function y(e,t,n){let r=n===`left`?`offsetLeft`:`offsetTop`,i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function b(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}export{v as _,t as a,c,s as d,o as f,_ as g,d as h,i,l,u as m,f as n,p as o,m as p,r,a as s,n as t,h as u};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import{n as e}from"./chunk-QTnfLwEv.js";import{Dr as t,Er as n,Rr as r,jr as i,r as a,t as o}from"./example-Cz_880po.js";import{t as s}from"./external-link-Cy1-PP8k.js";import{t as c}from"./mail-AES_tOd2.js";import{t as l}from"./map-pin-0O7GD5Dz.js";import{t as u}from"./phone-CLvml_XI.js";import{k as d,n as f,s as p}from"./index-BQIv1ffM.js";import{t as m}from"./props-table-2pIZzGC-.js";import{o as h,r as g,t as _}from"./avatar-LGWm52rv.js";import{c as v,o as y,r as b,t as x,u as S}from"./item-YF6wMI9W.js";import{t as C}from"./PreviewLayout-CGEkbS-i.js";var w={contact:`Contact`,profile:`Profile`},T=p();function E(e,t){return t||e.split(` `).map(e=>e[0]).slice(0,2).join(``).toUpperCase()}function D({name:e,role:t,email:n,phone:o,location:p,avatarUrl:m,initials:C,badge:D,badgeVariant:O=`success`,onContact:k,onViewProfile:A,className:j,strings:M}){let N=d(w,M);return(0,T.jsxs)(`div`,{className:f(`contact-card--component`,`overflow-hidden rounded-lg border border-border bg-card p-4 text-card-foreground shadow-sm sm:p-5`,j),children:[(0,T.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,T.jsxs)(_,{className:`size-12 shrink-0 border border-border`,children:[!!m&&(0,T.jsx)(h,{src:m,alt:e}),(0,T.jsx)(g,{className:`text-sm font-semibold`,children:E(e,C)})]}),(0,T.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,T.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,T.jsx)(r,{weight:`semibold`,className:`truncate`,children:e}),!!D&&(0,T.jsx)(i,{variant:O,children:D})]}),!!t&&(0,T.jsx)(r,{size:`xs`,type:`secondary`,className:`mt-0.5`,children:t})]})]}),!!(n||o||p)&&(0,T.jsxs)(y,{className:`mt-4 gap-0`,children:[!!n&&(0,T.jsxs)(x,{size:`xs`,className:`px-0 py-1.5`,children:[(0,T.jsx)(v,{variant:`icon`,className:`text-muted-foreground`,children:(0,T.jsx)(c,{})}),(0,T.jsx)(b,{children:(0,T.jsx)(S,{bold:!1,children:n})})]}),!!o&&(0,T.jsxs)(x,{size:`xs`,className:`px-0 py-1.5`,children:[(0,T.jsx)(v,{variant:`icon`,className:`text-muted-foreground`,children:(0,T.jsx)(u,{})}),(0,T.jsx)(b,{children:(0,T.jsx)(S,{bold:!1,children:o})})]}),!!p&&(0,T.jsxs)(x,{size:`xs`,className:`px-0 py-1.5`,children:[(0,T.jsx)(v,{variant:`icon`,className:`text-muted-foreground`,children:(0,T.jsx)(l,{})}),(0,T.jsx)(b,{children:(0,T.jsx)(S,{bold:!1,children:p})})]})]}),!!(k||A)&&(0,T.jsxs)(`div`,{className:`mt-4 flex items-center gap-2`,children:[!!k&&(0,T.jsx)(a,{variant:`primary`,buttonStyle:`solid`,icon:c,onClick:k,children:N.contact}),!!A&&(0,T.jsx)(a,{variant:`secondary`,buttonStyle:`ghost`,icon:s,onClick:A,children:N.profile})]})]})}D.displayName=`ContactCard`;var O=e({DifferentBadgeVariants:()=>M,Minimal:()=>j,WithAllFields:()=>k,WithInitialsOnly:()=>A});function k(){return(0,T.jsx)(T.Fragment,{children:(0,T.jsx)(D,{name:`Sarah Smitha`,role:`Account Manager`,email:`maria@giftcometrue.com`,phone:`+1 888 123 456`,location:`New York, NY`,badge:`Online`,badgeVariant:`success`,onContact:()=>{},onViewProfile:()=>{}})})}function A(){return(0,T.jsx)(T.Fragment,{children:(0,T.jsx)(D,{name:`Georgi Johnson`,role:`Head of Operations`,email:`georgi@giftcometrue.com`,initials:`GI`,badge:`Away`,badgeVariant:`warning`,onContact:()=>{},onViewProfile:()=>{}})})}function j(){return(0,T.jsx)(T.Fragment,{children:(0,T.jsx)(D,{name:`Emma Williamsa`})})}function M(){return(0,T.jsx)(T.Fragment,{children:(0,T.jsx)(C,{children:[`primary`,`secondary`,`success`,`info`,`warning`,`error`].map(e=>(0,T.jsx)(D,{name:`Variant: ${e}`,role:`Demo`,email:`demo@example.com`,badge:e,badgeVariant:e},e))})})}var N=`import { ContactCard } from '@/components/composed/cards/contact-card';
|
|
2
|
+
import { Col } from '../../PreviewLayout';
|
|
3
|
+
|
|
4
|
+
export function WithAllFields() {
|
|
5
|
+
return (
|
|
6
|
+
<>
|
|
7
|
+
<ContactCard
|
|
8
|
+
name="Sarah Smitha"
|
|
9
|
+
role="Account Manager"
|
|
10
|
+
email="maria@giftcometrue.com"
|
|
11
|
+
phone="+1 888 123 456"
|
|
12
|
+
location="New York, NY"
|
|
13
|
+
badge="Online"
|
|
14
|
+
badgeVariant="success"
|
|
15
|
+
onContact={() => {}}
|
|
16
|
+
onViewProfile={() => {}}
|
|
17
|
+
/>
|
|
18
|
+
</>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function WithInitialsOnly() {
|
|
23
|
+
return (
|
|
24
|
+
<>
|
|
25
|
+
<ContactCard
|
|
26
|
+
name="Georgi Johnson"
|
|
27
|
+
role="Head of Operations"
|
|
28
|
+
email="georgi@giftcometrue.com"
|
|
29
|
+
initials="GI"
|
|
30
|
+
badge="Away"
|
|
31
|
+
badgeVariant="warning"
|
|
32
|
+
onContact={() => {}}
|
|
33
|
+
onViewProfile={() => {}}
|
|
34
|
+
/>
|
|
35
|
+
</>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function Minimal() {
|
|
40
|
+
return (
|
|
41
|
+
<>
|
|
42
|
+
<ContactCard name="Emma Williamsa" />
|
|
43
|
+
</>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function DifferentBadgeVariants() {
|
|
48
|
+
return (
|
|
49
|
+
<>
|
|
50
|
+
<Col>
|
|
51
|
+
{(['primary', 'secondary', 'success', 'info', 'warning', 'error'] as const).map((v) => (
|
|
52
|
+
<ContactCard
|
|
53
|
+
key={v}
|
|
54
|
+
name={\`Variant: \${v}\`}
|
|
55
|
+
role="Demo"
|
|
56
|
+
email="demo@example.com"
|
|
57
|
+
badge={v}
|
|
58
|
+
badgeVariant={v}
|
|
59
|
+
/>
|
|
60
|
+
))}
|
|
61
|
+
</Col>
|
|
62
|
+
</>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
`;function P(e){let r={h4:`h4`,...e.components};return O||I(`Examples`,!1),M||I(`Examples.DifferentBadgeVariants`,!0),j||I(`Examples.Minimal`,!0),k||I(`Examples.WithAllFields`,!0),A||I(`Examples.WithInitialsOnly`,!0),(0,T.jsxs)(t,{title:`Composed · Contact card`,description:`ContactCard — name, role, email, phone, location, badge.`,layer:`composed`,status:`ready`,children:[(0,T.jsxs)(n,{title:`Examples`,id:`examples`,children:[(0,T.jsx)(o,{name:`WithAllFields`,source:N,children:(0,T.jsx)(k,{})}),(0,T.jsx)(o,{name:`WithInitialsOnly`,source:N,children:(0,T.jsx)(A,{})}),(0,T.jsx)(o,{name:`Minimal`,source:N,children:(0,T.jsx)(j,{})}),(0,T.jsx)(o,{name:`DifferentBadgeVariants`,source:N,children:(0,T.jsx)(M,{})})]}),(0,T.jsxs)(n,{title:`API`,id:`api`,children:[(0,T.jsx)(r.h4,{children:`ContactCard`}),(0,T.jsx)(m,{component:`ContactCard`})]})]})}function F(e={}){let{wrapper:t}=e.components||{};return t?(0,T.jsx)(t,{...e,children:(0,T.jsx)(P,{...e})}):P(e)}function I(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{n as e,s as t}from"./index-BQIv1ffM.js";var n=t(),r={narrow:`max-w-7xl mx-auto`,default:``,wide:`max-w-screen-2xl mx-auto`,full:``},i={none:`p-0`,sm:`p-4 md:p-5`,default:`p-5 md:p-7`,lg:`p-6 md:p-8`};function a({children:t,as:a=`div`,width:o=`default`,padding:s=`default`,bare:c=!1,className:l,innerClassName:u,...d}){let f=r[o],p=i[s];return c?(0,n.jsx)(a,{className:e(`w-full flex-1 relative overflow-hidden @container/main h-full`,f,l),...d,children:t}):(0,n.jsx)(a,{className:e(`w-full flex-1 relative overflow-hidden @container/main h-full`,l),...d,children:(0,n.jsx)(`div`,{className:e(`flex min-h-full flex-1 flex-col gap-6 rounded-xl`,f,p,u),children:t})})}export{a as t};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import{n as e,r as t}from"./chunk-QTnfLwEv.js";import{n}from"./react-dom-Bz4cALsF.js";import{Br as r,Dr as i,Er as a,Hr as o,Rr as s,Ur as c,Vr as l,t as u,ti as d}from"./example-Cz_880po.js";import{t as f}from"./circle-check-1MSds3Vu.js";import{t as p}from"./info-BimmreJ-.js";import{a as m,n as h,s as g}from"./index-BQIv1ffM.js";import{t as _}from"./props-table-2pIZzGC-.js";import{t as v}from"./customers-DvBxRjHv.js";import{t as y}from"./orders-BFwWtubb.js";import{n as b,t as x}from"./dist-CnonIdcR.js";var S=m(`octagon-x`,[[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`,key:`2d38gg`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),C=g(),w=({theme:e=`system`,...t})=>(0,C.jsx)(x,{theme:e,className:`toaster group`,icons:{success:(0,C.jsx)(f,{className:`size-4`}),info:(0,C.jsx)(p,{className:`size-4`}),warning:(0,C.jsx)(r,{className:`size-4`}),error:(0,C.jsx)(S,{className:`size-4`}),loading:(0,C.jsx)(l,{className:`size-4 animate-spin`})},style:{"--normal-bg":`var(--popover)`,"--normal-text":`var(--popover-foreground)`,"--normal-border":`var(--border)`,"--border-radius":`var(--radius)`},toastOptions:{classNames:{toast:`cn-toast`}},...t});function T(e){let{duration:t,position:n}=d(),r=e.duration??t,i=e.position??n;return(0,C.jsx)(w,{className:`toaster--component`,...e,duration:r,position:i})}T.displayName=`Toaster`;var E=t(n(),1);function D({value:e,displayValue:t,mono:n=!1,truncate:r=!1,className:i,contentClassName:a,successMessage:l=`Copied to clipboard`}){let[u,d]=(0,E.useState)(!1),f=async()=>{try{await navigator.clipboard.writeText(e),d(!0),b.success(l),setTimeout(()=>d(!1),2e3)}catch{b.error(`Failed to copy`)}},p=t!==void 0&&typeof t!=`string`;return(0,C.jsxs)(`span`,{role:`button`,tabIndex:0,onClick:f,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),f())},className:h(`copyable--component`,`group inline-flex cursor-pointer items-center gap-1.5 rounded px-1 -mx-1 transition-colors hover:bg-muted`,i),children:[p?t:(0,C.jsx)(s,{tag:`span`,className:h(n&&`font-mono`,r&&`max-w-[300px] truncate`,a),children:t??e}),(0,C.jsx)(`span`,{className:`text-muted-foreground opacity-0 transition-opacity group-hover:opacity-100`,children:u?(0,C.jsx)(c,{className:`size-3.5 text-success`}):(0,C.jsx)(o,{className:`size-3.5`})})]})}D.displayName=`Copyable`;var O=e({CustomDisplayValue:()=>M,CustomToastMessage:()=>N,CustomerListWithCopyableEmails:()=>F,Default:()=>k,Mono:()=>A,MonoTruncate:()=>j,RealisticOrderRow:()=>P});function k(){return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(T,{}),(0,C.jsx)(D,{value:`GCT-A4B7-C9E2`})]})}function A(){return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(T,{}),(0,C.jsx)(D,{value:`b3a8a5b6-9b0a-4f01-8b46-92aa1d6a1f7d`,mono:!0})]})}function j(){return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(T,{}),(0,C.jsx)(`div`,{className:`max-w-xs`,children:(0,C.jsx)(D,{value:`b3a8a5b6-9b0a-4f01-8b46-92aa1d6a1f7d-extra-long-id`,mono:!0,truncate:!0})})]})}function M(){return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(T,{}),(0,C.jsx)(D,{value:`hello@example.com`,displayValue:(0,C.jsx)(`span`,{className:`text-primary underline underline-offset-2`,children:`hello@example.com`})})]})}function N(){return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(T,{}),(0,C.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,C.jsx)(D,{value:`42`,successMessage:`The answer was copied!`}),(0,C.jsx)(`div`,{className:`text-xs text-muted-foreground`,children:`Click to see the custom toast.`})]})]})}function P(){let e=y[0],t=v.find(t=>t.id===e.customerId);return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(T,{}),(0,C.jsxs)(`div`,{className:`flex flex-col gap-3 rounded-md border bg-card p-4 w-full max-w-md`,children:[(0,C.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,C.jsx)(`span`,{className:`text-xs uppercase text-muted-foreground`,children:`Order number`}),(0,C.jsx)(D,{value:e.number,mono:!0,successMessage:`Copied ${e.number}`})]}),(0,C.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,C.jsx)(`span`,{className:`text-xs uppercase text-muted-foreground`,children:`Customer email`}),(0,C.jsx)(D,{value:t.email})]})]})]})}function F(){return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(T,{}),(0,C.jsx)(`div`,{className:`flex flex-col gap-1 w-full max-w-md`,children:v.slice(0,4).map(e=>(0,C.jsxs)(`div`,{className:`flex items-center justify-between border-b border-border py-1.5 text-sm`,children:[(0,C.jsx)(`span`,{children:e.name}),(0,C.jsx)(D,{value:e.email})]},e.id))})]})}var I=`import { Toaster } from '@/components/base/toaster';
|
|
2
|
+
import { Copyable } from '@/components/base/copyable';
|
|
3
|
+
import { MOCK_CUSTOMERS, MOCK_ORDERS } from '@/preview/_mocks';
|
|
4
|
+
|
|
5
|
+
export function Default() {
|
|
6
|
+
return (
|
|
7
|
+
<>
|
|
8
|
+
<Toaster />
|
|
9
|
+
<Copyable value="GCT-A4B7-C9E2" />
|
|
10
|
+
</>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export function Mono() {
|
|
15
|
+
return (
|
|
16
|
+
<>
|
|
17
|
+
<Toaster />
|
|
18
|
+
<Copyable value="b3a8a5b6-9b0a-4f01-8b46-92aa1d6a1f7d" mono />
|
|
19
|
+
</>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export function MonoTruncate() {
|
|
24
|
+
return (
|
|
25
|
+
<>
|
|
26
|
+
<Toaster />
|
|
27
|
+
<div className="max-w-xs">
|
|
28
|
+
<Copyable value="b3a8a5b6-9b0a-4f01-8b46-92aa1d6a1f7d-extra-long-id" mono truncate />
|
|
29
|
+
</div>
|
|
30
|
+
</>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function CustomDisplayValue() {
|
|
35
|
+
return (
|
|
36
|
+
<>
|
|
37
|
+
<Toaster />
|
|
38
|
+
<Copyable
|
|
39
|
+
value="hello@example.com"
|
|
40
|
+
displayValue={<span className="text-primary underline underline-offset-2">hello@example.com</span>}
|
|
41
|
+
/>
|
|
42
|
+
</>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function CustomToastMessage() {
|
|
47
|
+
return (
|
|
48
|
+
<>
|
|
49
|
+
<Toaster />
|
|
50
|
+
<div className="flex flex-col gap-2">
|
|
51
|
+
<Copyable value="42" successMessage="The answer was copied!" />
|
|
52
|
+
<div className="text-xs text-muted-foreground">Click to see the custom toast.</div>
|
|
53
|
+
</div>
|
|
54
|
+
</>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function RealisticOrderRow() {
|
|
59
|
+
const order = MOCK_ORDERS[0];
|
|
60
|
+
const customer = MOCK_CUSTOMERS.find((c) => c.id === order.customerId)!;
|
|
61
|
+
return (
|
|
62
|
+
<>
|
|
63
|
+
<Toaster />
|
|
64
|
+
<div className="flex flex-col gap-3 rounded-md border bg-card p-4 w-full max-w-md">
|
|
65
|
+
<div className="flex items-center justify-between">
|
|
66
|
+
<span className="text-xs uppercase text-muted-foreground">Order number</span>
|
|
67
|
+
<Copyable value={order.number} mono successMessage={\`Copied \${order.number}\`} />
|
|
68
|
+
</div>
|
|
69
|
+
<div className="flex items-center justify-between">
|
|
70
|
+
<span className="text-xs uppercase text-muted-foreground">Customer email</span>
|
|
71
|
+
<Copyable value={customer.email} />
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</>
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function CustomerListWithCopyableEmails() {
|
|
79
|
+
return (
|
|
80
|
+
<>
|
|
81
|
+
<Toaster />
|
|
82
|
+
<div className="flex flex-col gap-1 w-full max-w-md">
|
|
83
|
+
{MOCK_CUSTOMERS.slice(0, 4).map((c) => (
|
|
84
|
+
<div key={c.id} className="flex items-center justify-between border-b border-border py-1.5 text-sm">
|
|
85
|
+
<span>{c.name}</span>
|
|
86
|
+
<Copyable value={c.email} />
|
|
87
|
+
</div>
|
|
88
|
+
))}
|
|
89
|
+
</div>
|
|
90
|
+
</>
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
`;function L(e){let t={code:`code`,p:`p`,...e.components};return O||z(`Examples`,!1),M||z(`Examples.CustomDisplayValue`,!0),N||z(`Examples.CustomToastMessage`,!0),F||z(`Examples.CustomerListWithCopyableEmails`,!0),k||z(`Examples.Default`,!0),A||z(`Examples.Mono`,!0),j||z(`Examples.MonoTruncate`,!0),P||z(`Examples.RealisticOrderRow`,!0),(0,C.jsxs)(i,{title:`Copyable`,description:`Click-to-copy inline span with hover affordance and toast feedback.`,layer:`base`,status:`ready`,sourcePath:`src/components/base/copyable`,children:[(0,C.jsx)(a,{title:`Overview`,id:`overview`,children:(0,C.jsxs)(t.p,{children:[(0,C.jsx)(t.code,{children:`Copyable`}),` wraps any value in a click-to-copy span. The copy icon appears on
|
|
94
|
+
hover, the value lands on the clipboard, and a `,(0,C.jsx)(t.code,{children:`sonner`}),` toast confirms (mount
|
|
95
|
+
a `,(0,C.jsx)(t.code,{children:`<Toaster />`}),` somewhere in the tree). Supports `,(0,C.jsx)(t.code,{children:`mono`}),`, `,(0,C.jsx)(t.code,{children:`truncate`}),`, custom
|
|
96
|
+
`,(0,C.jsx)(t.code,{children:`displayValue`}),`, and a custom `,(0,C.jsx)(t.code,{children:`successMessage`}),`.`]})}),(0,C.jsx)(a,{title:`Default`,id:`default`,children:(0,C.jsx)(u,{name:`Default`,source:I,children:(0,C.jsx)(k,{})})}),(0,C.jsxs)(a,{title:`Variants`,id:`variants`,children:[(0,C.jsx)(u,{name:`Mono`,source:I,children:(0,C.jsx)(A,{})}),(0,C.jsx)(u,{name:`MonoTruncate`,source:I,children:(0,C.jsx)(j,{})}),(0,C.jsx)(u,{name:`CustomDisplayValue`,source:I,children:(0,C.jsx)(M,{})}),(0,C.jsx)(u,{name:`CustomToastMessage`,source:I,children:(0,C.jsx)(N,{})})]}),(0,C.jsxs)(a,{title:`Realistic usage`,id:`realistic`,children:[(0,C.jsx)(u,{name:`RealisticOrderRow`,source:I,children:(0,C.jsx)(P,{})}),(0,C.jsx)(u,{name:`CustomerListWithCopyableEmails`,source:I,children:(0,C.jsx)(F,{})})]}),(0,C.jsx)(a,{title:`API`,id:`api`,children:(0,C.jsx)(_,{component:`Copyable`})})]})}function R(e={}){let{wrapper:t}=e.components||{};return t?(0,C.jsx)(t,{...e,children:(0,C.jsx)(L,{...e})}):L(e)}function z(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{R as default};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import{n as e}from"./chunk-QTnfLwEv.js";import{Dr as t,Er as n,Rr as r,jr as i,r as a,t as o}from"./example-Cz_880po.js";import{k as s,n as c,s as l}from"./index-BQIv1ffM.js";import{t as u}from"./props-table-2pIZzGC-.js";import{t as d}from"./smart-card-Dhu_1A_u.js";import{t as f}from"./stacked-avatars-DnIAc098.js";import{i as p,n as m,r as h,t as g,u as _}from"./item-YF6wMI9W.js";var v={participants:`Participants`,progress:`Progress`},y=l(),b=`rounded-xl bg-background/80 ring-1 ring-border/60 p-3`,x=`from-primary/8 via-card to-info/10`;function S(e){return e.map((e,t)=>({id:`${t}-${e.name??e.initials??``}`,name:e.name??e.initials??`P${t+1}`,imageUrl:e.imageUrl}))}function C({title:e,description:t,badges:n=[],participants:o=[],extraParticipants:l=0,progressPercent:u,actionLabel:C,onAction:w,className:T,strings:E,variant:D=`default`,gradient:O=x}){let k=s(v,E),A=o.length+l,j=S(o);return D===`minimal`?(0,y.jsxs)(g,{variant:`outline`,className:c(`course-card--component`,`hover:bg-muted/30 transition-colors`,T),children:[(0,y.jsxs)(h,{className:`min-w-[min(12rem,100%)]`,children:[(0,y.jsx)(_,{children:e}),!!t&&(0,y.jsx)(p,{clamp:1,children:t})]}),(0,y.jsxs)(m,{className:`ml-auto shrink-0 flex-wrap justify-end`,children:[o.length>0&&(0,y.jsx)(f,{users:j,max:3,size:`sm`,overflowFormatter:()=>`+${l||0}`,showOverflow:l>0}),u!==void 0&&(0,y.jsxs)(r,{size:`xs`,type:`secondary`,className:`shrink-0 tabular-nums`,children:[u,`%`]}),!!C&&(0,y.jsx)(a,{variant:`secondary`,buttonStyle:`outline`,onClick:w,children:C})]})]}):D===`gradient`?(0,y.jsxs)(d,{title:e,description:t,className:c(`course-card--component border-primary/20 bg-gradient-to-br`,O,T),children:[n.length>0&&(0,y.jsx)(`div`,{className:`flex flex-wrap gap-1.5`,children:n.map(e=>(0,y.jsx)(i,{variant:e.variant,children:e.label},e.label))}),(o.length>0||u!==void 0)&&(0,y.jsx)(`div`,{className:`mt-4 rounded-lg border border-border/70 bg-background/80 p-3`,children:(0,y.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3`,children:[o.length>0&&(0,y.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[(0,y.jsx)(f,{users:j,max:3,size:`sm`,showOverflow:!1}),(0,y.jsxs)(r,{size:`xs`,type:`secondary`,className:`truncate`,children:[A,` `,k.participants.toLowerCase()]})]}),u!==void 0&&(0,y.jsxs)(`div`,{className:`ml-auto flex min-w-36 items-center gap-2`,children:[(0,y.jsx)(`div`,{className:`h-1.5 min-w-20 flex-1 overflow-hidden rounded-full bg-success/15`,children:(0,y.jsx)(`div`,{className:`h-full rounded-full bg-success`,style:{width:`${u}%`}})}),(0,y.jsxs)(r,{size:`xs`,type:`secondary`,className:`shrink-0 tabular-nums`,children:[u,`%`]})]})]})}),!!C&&(0,y.jsx)(a,{variant:`primary`,className:`mt-4 w-full rounded-xl`,onClick:w,children:C})]}):(0,y.jsxs)(d,{title:e,description:t,className:c(`course-card--component`,T),children:[n.length>0&&(0,y.jsx)(`div`,{className:`flex flex-wrap gap-1.5`,children:n.map(e=>(0,y.jsx)(i,{variant:e.variant,children:e.label},e.label))}),(o.length>0||u!==void 0)&&(0,y.jsxs)(`div`,{className:`mt-4 grid gap-2.5 sm:grid-cols-2`,children:[o.length>0&&(0,y.jsxs)(`div`,{className:b,children:[(0,y.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,y.jsx)(r,{size:`xs`,type:`secondary`,children:k.participants}),(0,y.jsx)(r,{size:`xs`,weight:`semibold`,className:`tabular-nums`,children:A})]}),(0,y.jsxs)(`div`,{className:`mt-2 flex items-center gap-2`,children:[(0,y.jsx)(f,{users:j,max:4,size:`sm`,showOverflow:l>0,overflowFormatter:()=>`+${l}`}),(0,y.jsxs)(r,{size:`xs`,type:`secondary`,className:`truncate`,children:[A,` `,k.participants.toLowerCase()]})]})]}),u!==void 0&&(0,y.jsxs)(`div`,{className:b,children:[(0,y.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,y.jsx)(r,{size:`xs`,type:`secondary`,children:k.progress}),(0,y.jsxs)(r,{size:`xs`,weight:`semibold`,className:`tabular-nums`,children:[u,`%`]})]}),(0,y.jsx)(`div`,{className:`mt-2.5`,children:(0,y.jsx)(`div`,{className:`h-1.5 w-full overflow-hidden rounded-full bg-success/15`,children:(0,y.jsx)(`div`,{className:`h-full rounded-full bg-success`,style:{width:`${u}%`}})})})]})]}),!!C&&(0,y.jsx)(a,{variant:`primary`,className:`mt-4 w-full rounded-xl`,onClick:w,children:C})]})}C.displayName=`CourseCard`;var w=e({CompactList:()=>O,DefaultSession:()=>E,FeaturedSession:()=>D}),T=[{name:`Vasilis Smith`},{name:`Sara Martinova`},{name:`Kostas Williams`}];function E(){return(0,y.jsx)(`div`,{className:`w-full max-w-xl`,children:(0,y.jsx)(C,{title:`Wine tasting masterclass`,description:`Thracian Valley tasting session with six confirmed guests and two open seats.`,badges:[{label:`Confirmed`,variant:`success`},{label:`In person`,variant:`secondary`}],participants:T,extraParticipants:3,progressPercent:75,actionLabel:`Open session`,onAction:()=>{}})})}function D(){return(0,y.jsx)(`div`,{className:`w-full max-w-lg`,children:(0,y.jsx)(C,{variant:`gradient`,title:`Sunset photography workshop`,description:`Three-hour field session with equipment checklist and location notes ready.`,badges:[{label:`Featured`,variant:`primary`}],participants:T,extraParticipants:5,progressPercent:62,actionLabel:`Review booking`,onAction:()=>{}})})}function O(){return(0,y.jsxs)(`div`,{className:`w-full max-w-2xl space-y-2`,children:[(0,y.jsx)(C,{variant:`minimal`,title:`Wine tasting masterclass`,description:`Today · 18:00 · 6 guests`,participants:T,extraParticipants:3,progressPercent:75,actionLabel:`Open`,onAction:()=>{}}),(0,y.jsx)(C,{variant:`minimal`,title:`Coastal hike and lunch`,description:`Tomorrow · 09:30 · guide pending`,participants:T.slice(0,2),progressPercent:35,actionLabel:`Review`,onAction:()=>{}}),(0,y.jsx)(C,{variant:`minimal`,title:`Pottery studio day`,description:`Friday · waitlist enabled`})]})}var k=`import { CourseCard } from '@/components/composed/cards/course-card';
|
|
2
|
+
|
|
3
|
+
const PARTICIPANTS = [
|
|
4
|
+
{ name: 'Vasilis Smith' },
|
|
5
|
+
{ name: 'Sara Martinova' },
|
|
6
|
+
{ name: 'Kostas Williams' },
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
export function DefaultSession() {
|
|
10
|
+
return (
|
|
11
|
+
<div className="w-full max-w-xl">
|
|
12
|
+
<CourseCard
|
|
13
|
+
title="Wine tasting masterclass"
|
|
14
|
+
description="Thracian Valley tasting session with six confirmed guests and two open seats."
|
|
15
|
+
badges={[
|
|
16
|
+
{ label: 'Confirmed', variant: 'success' },
|
|
17
|
+
{ label: 'In person', variant: 'secondary' },
|
|
18
|
+
]}
|
|
19
|
+
participants={PARTICIPANTS}
|
|
20
|
+
extraParticipants={3}
|
|
21
|
+
progressPercent={75}
|
|
22
|
+
actionLabel="Open session"
|
|
23
|
+
onAction={() => {}}
|
|
24
|
+
/>
|
|
25
|
+
</div>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export function FeaturedSession() {
|
|
30
|
+
return (
|
|
31
|
+
<div className="w-full max-w-lg">
|
|
32
|
+
<CourseCard
|
|
33
|
+
variant="gradient"
|
|
34
|
+
title="Sunset photography workshop"
|
|
35
|
+
description="Three-hour field session with equipment checklist and location notes ready."
|
|
36
|
+
badges={[{ label: 'Featured', variant: 'primary' }]}
|
|
37
|
+
participants={PARTICIPANTS}
|
|
38
|
+
extraParticipants={5}
|
|
39
|
+
progressPercent={62}
|
|
40
|
+
actionLabel="Review booking"
|
|
41
|
+
onAction={() => {}}
|
|
42
|
+
/>
|
|
43
|
+
</div>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function CompactList() {
|
|
48
|
+
return (
|
|
49
|
+
<div className="w-full max-w-2xl space-y-2">
|
|
50
|
+
<CourseCard
|
|
51
|
+
variant="minimal"
|
|
52
|
+
title="Wine tasting masterclass"
|
|
53
|
+
description="Today · 18:00 · 6 guests"
|
|
54
|
+
participants={PARTICIPANTS}
|
|
55
|
+
extraParticipants={3}
|
|
56
|
+
progressPercent={75}
|
|
57
|
+
actionLabel="Open"
|
|
58
|
+
onAction={() => {}}
|
|
59
|
+
/>
|
|
60
|
+
<CourseCard
|
|
61
|
+
variant="minimal"
|
|
62
|
+
title="Coastal hike and lunch"
|
|
63
|
+
description="Tomorrow · 09:30 · guide pending"
|
|
64
|
+
participants={PARTICIPANTS.slice(0, 2)}
|
|
65
|
+
progressPercent={35}
|
|
66
|
+
actionLabel="Review"
|
|
67
|
+
onAction={() => {}}
|
|
68
|
+
/>
|
|
69
|
+
<CourseCard
|
|
70
|
+
variant="minimal"
|
|
71
|
+
title="Pottery studio day"
|
|
72
|
+
description="Friday · waitlist enabled"
|
|
73
|
+
/>
|
|
74
|
+
</div>
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
`;function A(e){let r={h4:`h4`,...e.components};return w||M(`Examples`,!1),O||M(`Examples.CompactList`,!0),E||M(`Examples.DefaultSession`,!0),D||M(`Examples.FeaturedSession`,!0),(0,y.jsxs)(t,{title:`Composed · Course card`,description:`Operational session cards for bookings, courses, and guided experiences.`,layer:`composed`,status:`ready`,children:[(0,y.jsx)(n,{title:`Default`,id:`default`,children:(0,y.jsx)(o,{name:`DefaultSession`,source:k,children:(0,y.jsx)(E,{})})}),(0,y.jsx)(n,{title:`Featured`,id:`featured`,children:(0,y.jsx)(o,{name:`FeaturedSession`,source:k,children:(0,y.jsx)(D,{})})}),(0,y.jsx)(n,{title:`Compact list`,id:`compact-list`,children:(0,y.jsx)(o,{name:`CompactList`,source:k,children:(0,y.jsx)(O,{})})}),(0,y.jsxs)(n,{title:`API`,id:`api`,children:[(0,y.jsx)(r.h4,{children:`CourseCard`}),(0,y.jsx)(u,{component:`CourseCard`})]})]})}function j(e={}){let{wrapper:t}=e.components||{};return t?(0,y.jsx)(t,{...e,children:(0,y.jsx)(A,{...e})}):A(e)}function M(e,t){throw Error(`Expected `+(t?`component`:`object`)+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}export{j as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./index-BQIv1ffM.js";var t=e(`cpu`,[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./index-BQIv1ffM.js";var t=e(`credit-card`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`2`,key:`ynyp8z`}],[`line`,{x1:`2`,x2:`22`,y1:`10`,y2:`10`,key:`1b3vmo`}]]);export{t};
|