themelia-react-ui 2.0.0 → 2.0.2
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/CHANGELOG.md +527 -0
- package/README.md +47 -14
- package/THIRD_PARTY_NOTICES.md +13 -0
- package/dist/accordion-Cjb6sx0G.js +208 -0
- package/dist/accordion-Cjb6sx0G.js.map +1 -0
- package/dist/action-menu-CllU52Mm.js +280 -0
- package/dist/action-menu-CllU52Mm.js.map +1 -0
- package/dist/affordance-geometry.generated-tF36bREk.js +140 -0
- package/dist/affordance-geometry.generated-tF36bREk.js.map +1 -0
- package/dist/ai-artifact-DvTwDVyL.js +1148 -0
- package/dist/ai-artifact-DvTwDVyL.js.map +1 -0
- package/dist/{app-shell-BE_j8-AT.js → app-shell-C4FhvCqF.js} +5 -5
- package/dist/{app-shell-BE_j8-AT.js.map → app-shell-C4FhvCqF.js.map} +1 -1
- package/dist/attachment-BxDfL2mw.js +246 -0
- package/dist/attachment-BxDfL2mw.js.map +1 -0
- package/dist/{auth-M3vGMgDR.js → auth-ax2BqjrI.js} +241 -235
- package/dist/auth-ax2BqjrI.js.map +1 -0
- package/dist/{avatar-djdaaQ_s.js → avatar-DAPlDvhJ.js} +67 -66
- package/dist/avatar-DAPlDvhJ.js.map +1 -0
- package/dist/badge-HpFqoqSY.js +93 -0
- package/dist/badge-HpFqoqSY.js.map +1 -0
- package/dist/base/accordion.js +1 -1
- package/dist/base/action-menu.js +1 -1
- package/dist/base/attachment.js +1 -1
- package/dist/base/avatar.js +1 -1
- package/dist/base/badge.js +1 -1
- package/dist/base/batch-action-bar.js +3 -0
- package/dist/base/buttons.js +2 -3
- package/dist/base/cards.js +2 -2
- package/dist/base/carousel.js +50 -46
- package/dist/base/carousel.js.map +1 -1
- package/dist/base/cascader.js +69 -81
- package/dist/base/cascader.js.map +1 -1
- package/dist/base/chart.js +1 -1
- package/dist/base/choice-inputs.js +3 -3
- package/dist/base/code-block.js +1 -1
- package/dist/base/combobox.js +2 -2
- package/dist/base/command.js +1 -1
- package/dist/base/copyable.js +1 -1
- package/dist/base/date-pickers.js +2 -2
- package/dist/base/display.js +7 -7
- package/dist/base/feedback.js +3 -3
- package/dist/base/forms-numeric.js +1 -1
- package/dist/base/forms.js +2 -2
- package/dist/base/inline-edit.js +20 -20
- package/dist/base/inline-edit.js.map +1 -1
- package/dist/base/item.js +1 -1
- package/dist/base/media-gallery.js +1 -1
- package/dist/base/metadata-list.js +3 -0
- package/dist/base/navigation.js +7 -7
- package/dist/base/popover-menu.js +1 -1
- package/dist/base/popover.js +1 -1
- package/dist/base/qr-code.js +1 -1
- package/dist/base/repeaters.js +216 -220
- package/dist/base/repeaters.js.map +1 -1
- package/dist/base/sheet.js +1 -1
- package/dist/base/sidebar.js +1 -1
- package/dist/base/signature-pad.js +147 -137
- package/dist/base/signature-pad.js.map +1 -1
- package/dist/base/skeleton.js +1 -1
- package/dist/base/spinner.js +79 -2
- package/dist/base/spinner.js.map +1 -0
- package/dist/base/structure.js +1 -1
- package/dist/base/table.js +1 -1
- package/dist/base/text-inputs.js +2 -2
- package/dist/base/toaster.js +46 -45
- package/dist/base/toaster.js.map +1 -1
- package/dist/base/tree.js +1 -1
- package/dist/base/upload-queue.js +1 -1
- package/dist/base/upload.js +3 -3
- package/dist/base/value-inputs.js +2 -2
- package/dist/batch-action-bar-DnUJ21NQ.js +105 -0
- package/dist/batch-action-bar-DnUJ21NQ.js.map +1 -0
- package/dist/blocks/admin.js +171 -169
- package/dist/blocks/admin.js.map +1 -1
- package/dist/blocks/ai.js +308 -285
- package/dist/blocks/ai.js.map +1 -1
- package/dist/blocks/analytics/usage-card.js +1 -1
- package/dist/blocks/analytics.js +626 -589
- package/dist/blocks/analytics.js.map +1 -1
- package/dist/blocks/collaboration.js +1 -1
- package/dist/blocks/commerce/receipt.js +1 -1
- package/dist/blocks/commerce.js +2051 -1329
- package/dist/blocks/commerce.js.map +1 -1
- package/dist/blocks/data-display.js +3 -2
- package/dist/blocks/onboarding.js +68 -58
- package/dist/blocks/onboarding.js.map +1 -1
- package/dist/blocks/planning.js +27 -26
- package/dist/blocks/planning.js.map +1 -1
- package/dist/blocks/timelines.js +1 -1
- package/dist/breadcrumbs-C-oqs1sQ.js +129 -0
- package/dist/breadcrumbs-C-oqs1sQ.js.map +1 -0
- package/dist/{button-R9CCoH7A.js → button-DVzspB_G.js} +15 -14
- package/dist/button-DVzspB_G.js.map +1 -0
- package/dist/{button-BS3KDg00.js → buttons-DPZekJFu.js} +208 -216
- package/dist/buttons-DPZekJFu.js.map +1 -0
- package/dist/cards-BaBZR-AU.js +68 -0
- package/dist/cards-BaBZR-AU.js.map +1 -0
- package/dist/{chart-DwYRKKc-.js → chart-ZOYyK2xG.js} +58 -55
- package/dist/chart-ZOYyK2xG.js.map +1 -0
- package/dist/checkbox-AWIhNhmo.js +36 -0
- package/dist/checkbox-AWIhNhmo.js.map +1 -0
- package/dist/choice-inputs-CNHvARCJ.js +770 -0
- package/dist/choice-inputs-CNHvARCJ.js.map +1 -0
- package/dist/code-block-DeneBJR_.js +185 -0
- package/dist/code-block-DeneBJR_.js.map +1 -0
- package/dist/{collapsible-oMUGM4tr.js → collapsible-C-_l4hpy.js} +4 -4
- package/dist/{collapsible-oMUGM4tr.js.map → collapsible-C-_l4hpy.js.map} +1 -1
- package/dist/{collection-content-Ys-OZOkY.js → collection-content-By56pLog.js} +3 -3
- package/dist/{collection-content-Ys-OZOkY.js.map → collection-content-By56pLog.js.map} +1 -1
- package/dist/combobox-C0EQW6dr.js +875 -0
- package/dist/combobox-C0EQW6dr.js.map +1 -0
- package/dist/combobox-xCQ2RMNE.js +309 -0
- package/dist/combobox-xCQ2RMNE.js.map +1 -0
- package/dist/{command-kPMPjIxJ.js → command-C25VMRII.js} +7 -7
- package/dist/{command-kPMPjIxJ.js.map → command-C25VMRII.js.map} +1 -1
- package/dist/{comments-You0Bzbr.js → comments-BYYlTA8E.js} +390 -379
- package/dist/comments-BYYlTA8E.js.map +1 -0
- package/dist/components/base/action-menu/action-menu.d.ts +21 -4
- package/dist/components/base/action-menu/action-menu.recipes.d.ts +21 -0
- package/dist/components/base/action-menu/index.d.ts +1 -0
- package/dist/components/base/badge/badge.recipes.d.ts +5 -5
- package/dist/components/base/batch-action-bar/batch-action-bar.d.ts +50 -0
- package/dist/components/base/batch-action-bar/batch-action-bar.strings.d.ts +20 -0
- package/dist/components/base/batch-action-bar/index.d.ts +8 -0
- package/dist/components/base/buttons/button-group.recipes.d.ts +1 -1
- package/dist/components/base/buttons/button.recipes.d.ts +2 -2
- package/dist/components/base/buttons/loader-button.d.ts +2 -1
- package/dist/components/base/cards/card.recipes.d.ts +2 -3
- package/dist/components/base/cards/partials/smart-card-skeleton.d.ts +3 -13
- package/dist/components/base/cards/smart-card.types.d.ts +11 -4
- package/dist/components/base/chart/chart.d.ts +2 -5
- package/dist/components/base/choice-inputs/checkbox.d.ts +2 -2
- package/dist/components/base/choice-inputs/choice-types.d.ts +18 -6
- package/dist/components/base/combobox/combobox.strings.d.ts +7 -0
- package/dist/components/base/combobox/index.d.ts +30 -4
- package/dist/components/base/display/alert-dialog.d.ts +6 -5
- package/dist/components/base/display/dialog.d.ts +4 -8
- package/dist/components/base/display/icon-badge/icon-badge.d.ts +1 -1
- package/dist/components/base/forms/form-sizing.d.ts +26 -15
- package/dist/components/base/metadata-list/index.d.ts +12 -0
- package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.d.ts +28 -25
- package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-value.d.ts +2 -2
- package/dist/components/base/navigation/index.d.ts +1 -1
- package/dist/components/base/navigation/page-header/index.d.ts +1 -0
- package/dist/components/base/navigation/page-header/page-header-commands.d.ts +73 -0
- package/dist/components/base/navigation/page-header/page-header.d.ts +26 -3
- package/dist/components/base/navigation/pagination.d.ts +5 -2
- package/dist/components/base/popover/popover.recipes.d.ts +15 -1
- package/dist/components/base/sheet/sheet.d.ts +4 -8
- package/dist/components/base/signature-pad/signature-pad.types.d.ts +5 -1
- package/dist/components/base/signature-pad/signature-pad.utils.d.ts +11 -3
- package/dist/components/base/table/index.d.ts +9 -2
- package/dist/components/base/text-inputs/field-clear-button.d.ts +6 -0
- package/dist/components/base/text-inputs/input-group.d.ts +2 -2
- package/dist/components/base/upload/upload.recipes.d.ts +25 -3
- package/dist/components/base/value-inputs/index.d.ts +5 -5
- package/dist/components/base/value-inputs/tags-input.d.ts +36 -12
- package/dist/components/blocks/ai/ai-shimmer/ai-shimmer.d.ts +1 -1
- package/dist/components/blocks/ai/ai-shimmer/types.d.ts +3 -0
- package/dist/components/blocks/commerce/address-card/address-card.d.ts +1 -1
- package/dist/components/blocks/commerce/address-card/types.d.ts +2 -1
- package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +3 -1
- package/dist/components/blocks/commerce/cart-summary/index.d.ts +2 -2
- package/dist/components/blocks/commerce/cart-summary/types.d.ts +6 -1
- package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +3 -1
- package/dist/components/blocks/commerce/discount-stack/index.d.ts +2 -2
- package/dist/components/blocks/commerce/discount-stack/types.d.ts +16 -4
- package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +5 -0
- package/dist/components/blocks/commerce/fulfillment-group/index.d.ts +2 -0
- package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +45 -0
- package/dist/components/blocks/commerce/index.d.ts +13 -5
- package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +1 -1
- package/dist/components/blocks/commerce/invoice-header/types.d.ts +4 -2
- package/dist/components/blocks/commerce/invoice-mini/invoice-mini.d.ts +1 -1
- package/dist/components/blocks/commerce/invoice-mini/types.d.ts +2 -1
- package/dist/components/blocks/commerce/order-customer/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-customer/order-customer.d.ts +5 -0
- package/dist/components/blocks/commerce/order-customer/types.d.ts +48 -0
- package/dist/components/blocks/commerce/order-header/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-header/order-header.d.ts +5 -0
- package/dist/components/blocks/commerce/order-header/types.d.ts +37 -0
- package/dist/components/blocks/commerce/order-line-item/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-line-item/order-line-item.d.ts +5 -0
- package/dist/components/blocks/commerce/order-line-item/types.d.ts +46 -0
- package/dist/components/blocks/commerce/order-summary/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-summary/order-summary.d.ts +5 -0
- package/dist/components/blocks/commerce/order-summary/types.d.ts +42 -0
- package/dist/components/blocks/commerce/order-transactions/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-transactions/order-transactions.d.ts +5 -0
- package/dist/components/blocks/commerce/order-transactions/types.d.ts +46 -0
- package/dist/components/blocks/commerce/payment-method/index.d.ts +2 -2
- package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +9 -1
- package/dist/components/blocks/commerce/payment-method/types.d.ts +12 -1
- package/dist/components/blocks/commerce/refund-status/index.d.ts +2 -2
- package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +3 -1
- package/dist/components/blocks/commerce/refund-status/types.d.ts +6 -3
- package/dist/components/blocks/commerce/shared/address-lines.d.ts +21 -0
- package/dist/components/blocks/commerce/shared/line-thumbnail.d.ts +9 -0
- package/dist/components/blocks/commerce/shared/order-status.d.ts +51 -0
- package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +1 -1
- package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +27 -6
- package/dist/components/blocks/commerce/summary-panel/amount-row.d.ts +2 -0
- package/dist/components/blocks/commerce/summary-panel/index.d.ts +3 -0
- package/dist/components/blocks/commerce/summary-panel/summary-panel.d.ts +2 -0
- package/dist/components/blocks/commerce/summary-panel/types.d.ts +26 -0
- package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +1 -1
- package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +2 -1
- package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +16 -8
- package/dist/components/blocks/data-display/metadata/index.d.ts +30 -4
- package/dist/components/features/activities/partials/activity-marker.d.ts +6 -3
- package/dist/components/features/activities/partials/activity-row.d.ts +6 -2
- package/dist/components/features/activities/partials/tone-tokens.d.ts +0 -6
- package/dist/components/features/appointment-calendar/appointment-calendar.d.ts +5 -0
- package/dist/components/features/appointment-calendar/appointment-calendar.types.d.ts +220 -0
- package/dist/components/features/appointment-calendar/appointment-calendar.utils.d.ts +41 -0
- package/dist/components/features/appointment-calendar/index.d.ts +3 -0
- package/dist/components/features/appointment-calendar/partials/appointment-agenda.d.ts +32 -0
- package/dist/components/features/appointment-calendar/partials/appointment-month.d.ts +13 -0
- package/dist/components/features/combobox/combobox.strings.d.ts +15 -1
- package/dist/components/features/combobox/types.d.ts +4 -0
- package/dist/components/features/global-search/partials/global-search-group-heading.d.ts +15 -0
- package/dist/components/features/global-search/partials/tone-palettes.d.ts +0 -5
- package/dist/components/features/kanban/kanban.d.ts +1 -1
- package/dist/components/features/kanban/kanban.strings.d.ts +1 -1
- package/dist/components/features/kanban/kanban.types.d.ts +2 -2
- package/dist/components/features/media-library/hooks/use-media-library.d.ts +1 -1
- package/dist/components/features/media-library/index.d.ts +1 -1
- package/dist/components/features/media-library/media-library.d.ts +1 -1
- package/dist/components/features/media-library/media-library.strings.d.ts +6 -0
- package/dist/components/features/media-library/media-library.types.d.ts +74 -1
- package/dist/components/features/media-library/partials/media-library-partials.d.ts +3 -3
- package/dist/components/features/mentions/partials/mention-kind-toggles.d.ts +16 -0
- package/dist/components/features/overlays/alert-dialog.d.ts +1 -1
- package/dist/components/features/overlays/dialog.d.ts +1 -1
- package/dist/components/features/overlays/index.d.ts +1 -1
- package/dist/components/features/overlays/overlay-tone-icon.d.ts +3 -3
- package/dist/components/features/overlays/overlays.types.d.ts +20 -0
- package/dist/components/features/products/components/product-contract-overview.d.ts +5 -0
- package/dist/components/features/products/components/product-details-card.d.ts +5 -0
- package/dist/components/features/products/components/product-operations-card.d.ts +5 -0
- package/dist/components/features/products/components/product-option-action-menu.d.ts +5 -0
- package/dist/components/features/products/components/product-options-summary.d.ts +5 -0
- package/dist/components/features/products/components/product-policies-card.d.ts +5 -0
- package/dist/components/features/products/components/product-quote-preview-card.d.ts +5 -0
- package/dist/components/features/products/components/product-readiness-card.d.ts +5 -0
- package/dist/components/features/products/components/product-structure-card.d.ts +5 -0
- package/dist/components/features/products/components/product-variant-action-menu.d.ts +23 -1
- package/dist/components/features/products/products.types.d.ts +9 -2
- package/dist/components/features/resource/index.d.ts +1 -1
- package/dist/components/features/resource/resource.d.ts +1 -1
- package/dist/components/features/resource/resource.types.d.ts +34 -6
- package/dist/components/features/rich-text-editor/index.d.ts +2 -1
- package/dist/components/features/rich-text-editor/partials/image-nodes.d.ts +13 -0
- package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +66 -0
- package/dist/components/features/rich-text-editor/partials/inline-reference-node.d.ts +19 -0
- package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +7 -1
- package/dist/components/features/rich-text-editor/rich-text-editor.strings.d.ts +14 -0
- package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +54 -1
- package/dist/components/features/rich-text-editor/use-rich-text-images.d.ts +18 -0
- package/dist/components/features/sync/index.d.ts +26 -3
- package/dist/components/features/table/data-table.d.ts +1 -1
- package/dist/components/features/table/table-header.d.ts +1 -1
- package/dist/components/features/table/table.strings.d.ts +55 -1
- package/dist/components/features/table/table.types.d.ts +49 -11
- package/dist/components/features/theme-tweaker/theme-tweaker.types.d.ts +5 -0
- package/dist/components/layout/page/index.d.ts +1 -1
- package/dist/components/layout/page/page.types.d.ts +33 -36
- package/dist/components/layout/page/partials/page-actions.d.ts +1 -0
- package/dist/components/layout/page/partials/page-header.d.ts +1 -1
- package/dist/components/layout/settings/settings.d.ts +16 -2
- package/dist/components/layout/workspace/workspace.types.d.ts +21 -4
- package/dist/components/primitives/number.d.ts +4 -2
- package/dist/components/primitives/value.d.ts +3 -1
- package/dist/components/typography/rich-text/index.d.ts +1 -1
- package/dist/components/typography/rich-text/rich-text-tree.d.ts +19 -0
- package/dist/components/typography/rich-text/rich-text.d.ts +16 -0
- package/dist/components/typography/text-link.d.ts +8 -3
- package/dist/components/ui/checkbox.d.ts +4 -3
- package/dist/components/ui/combobox.d.ts +6 -2
- package/dist/components/ui/item.d.ts +8 -8
- package/dist/components/ui/overlay.recipes.d.ts +0 -9
- package/dist/components/ui/switch.d.ts +2 -2
- package/dist/components/ui/tabs.d.ts +1 -1
- package/dist/{containers-D_L4mTVb.js → containers-Mu1LMGV1.js} +36 -35
- package/dist/containers-Mu1LMGV1.js.map +1 -0
- package/dist/{copyable-DDjTeW_j.js → copyable-ClBuk_UK.js} +6 -6
- package/dist/{copyable-DDjTeW_j.js.map → copyable-ClBuk_UK.js.map} +1 -1
- package/dist/data-display-DT_khPl_.js +971 -0
- package/dist/data-display-DT_khPl_.js.map +1 -0
- package/dist/{date-uf3z37Nm.js → date-DCrsDTZc.js} +5 -5
- package/dist/{date-uf3z37Nm.js.map → date-DCrsDTZc.js.map} +1 -1
- package/dist/date-picker-ay0Pha_a.js +1530 -0
- package/dist/date-picker-ay0Pha_a.js.map +1 -0
- package/dist/date-pickers-Ccw8DL2b.js +175 -0
- package/dist/date-pickers-Ccw8DL2b.js.map +1 -0
- package/dist/display-hAc1HjpI.js +344 -0
- package/dist/display-hAc1HjpI.js.map +1 -0
- package/dist/dropdown-menu-Cl4X7L5S.js +193 -0
- package/dist/dropdown-menu-Cl4X7L5S.js.map +1 -0
- package/dist/editable-text-recipe-Cn61kEcv.js +10 -0
- package/dist/editable-text-recipe-Cn61kEcv.js.map +1 -0
- package/dist/features/activities.js +478 -542
- package/dist/features/activities.js.map +1 -1
- package/dist/features/ai-chat.js +209 -199
- package/dist/features/ai-chat.js.map +1 -1
- package/dist/features/appointment-calendar.js +683 -0
- package/dist/features/appointment-calendar.js.map +1 -0
- package/dist/features/async-preview.js +109 -107
- package/dist/features/async-preview.js.map +1 -1
- package/dist/features/combobox.js +1 -1
- package/dist/features/comments.js +1 -1
- package/dist/features/data-view.js +30 -29
- package/dist/features/data-view.js.map +1 -1
- package/dist/features/email-composer/engine.js +1 -1
- package/dist/features/email-composer.js +285 -283
- package/dist/features/email-composer.js.map +1 -1
- package/dist/features/event-calendar.js +282 -273
- package/dist/features/event-calendar.js.map +1 -1
- package/dist/features/filters.js +1 -1
- package/dist/features/global-search.js +318 -318
- package/dist/features/global-search.js.map +1 -1
- package/dist/features/kanban.js +146 -147
- package/dist/features/kanban.js.map +1 -1
- package/dist/features/map.js +269 -268
- package/dist/features/map.js.map +1 -1
- package/dist/features/media-library.js +970 -863
- package/dist/features/media-library.js.map +1 -1
- package/dist/features/mentions.js +1 -1
- package/dist/features/overlays.js +1 -1
- package/dist/features/products.js +1137 -1124
- package/dist/features/products.js.map +1 -1
- package/dist/features/questionnaire.js +206 -194
- package/dist/features/questionnaire.js.map +1 -1
- package/dist/features/resource-assignment.js +24 -21
- package/dist/features/resource-assignment.js.map +1 -1
- package/dist/features/resource.js +77 -69
- package/dist/features/resource.js.map +1 -1
- package/dist/features/rich-text-editor.js +30 -11
- package/dist/features/rich-text-editor.js.map +1 -1
- package/dist/features/schema-form.js +35 -33
- package/dist/features/schema-form.js.map +1 -1
- package/dist/features/suggestions.js +3 -3
- package/dist/features/sync.js +11 -5
- package/dist/features/sync.js.map +1 -1
- package/dist/features/table.js +1 -1
- package/dist/features/theme-tweaker.js +501 -496
- package/dist/features/theme-tweaker.js.map +1 -1
- package/dist/feedback-BYIhtitP.js +239 -0
- package/dist/feedback-BYIhtitP.js.map +1 -0
- package/dist/field-affordance-recipes-DZhnIL_Y.js +41 -0
- package/dist/field-affordance-recipes-DZhnIL_Y.js.map +1 -0
- package/dist/field-state-recipes-BVA2CWHo.js +12 -0
- package/dist/field-state-recipes-BVA2CWHo.js.map +1 -0
- package/dist/{filters-Da-gNPsE.js → filters-BGfvjP4d.js} +483 -472
- package/dist/filters-BGfvjP4d.js.map +1 -0
- package/dist/focus-recipes-B653VaLq.js +12 -0
- package/dist/focus-recipes-B653VaLq.js.map +1 -0
- package/dist/{form-field-VZRULhUK.js → form-field-CwH9y77i.js} +6 -5
- package/dist/form-field-CwH9y77i.js.map +1 -0
- package/dist/{form-sizing-uWP4lzVh.js → form-sizing-BdP_Mf5p.js} +45 -46
- package/dist/form-sizing-BdP_Mf5p.js.map +1 -0
- package/dist/{forms-DDeEnXSY.js → forms-B9G_xwzi.js} +22 -22
- package/dist/{forms-DDeEnXSY.js.map → forms-B9G_xwzi.js.map} +1 -1
- package/dist/forms-numeric-B_jraJaQ.js +906 -0
- package/dist/forms-numeric-B_jraJaQ.js.map +1 -0
- package/dist/{header-2ycNqGOR.js → header-CGXuhcRm.js} +164 -161
- package/dist/header-CGXuhcRm.js.map +1 -0
- package/dist/{hooks-DQ5SPwZw.js → hooks-Dkz0K2WT.js} +2 -2
- package/dist/{hooks-DQ5SPwZw.js.map → hooks-Dkz0K2WT.js.map} +1 -1
- package/dist/{http-CdEIHyQf.js → http-D_6rOnzU.js} +2 -2
- package/dist/{http-CdEIHyQf.js.map → http-D_6rOnzU.js.map} +1 -1
- package/dist/icon-badge-DYKIwvOV.js +55 -0
- package/dist/icon-badge-DYKIwvOV.js.map +1 -0
- package/dist/index.js +7 -7
- package/dist/input-CZw8iU99.js +21 -0
- package/dist/input-CZw8iU99.js.map +1 -0
- package/dist/input-DQdEd0YD.js +263 -0
- package/dist/input-DQdEd0YD.js.map +1 -0
- package/dist/interaction-recipes-XR9ZpVYL.js +25 -0
- package/dist/interaction-recipes-XR9ZpVYL.js.map +1 -0
- package/dist/item-K5_ghvze.js +275 -0
- package/dist/item-K5_ghvze.js.map +1 -0
- package/dist/layer-recipes-CCpklYME.js +13 -0
- package/dist/layer-recipes-CCpklYME.js.map +1 -0
- package/dist/layout/app-shell.js +1 -1
- package/dist/layout/auth.js +1 -1
- package/dist/layout/containers.js +1 -1
- package/dist/layout/header.js +1 -1
- package/dist/layout/hooks.js +1 -1
- package/dist/layout/navigation.js +1 -1
- package/dist/layout/page.js +1 -1
- package/dist/layout/settings.js +1 -1
- package/dist/layout/sidebar.js +2 -2
- package/dist/layout/workspace.js +1 -1
- package/dist/layout.js +10 -10
- package/dist/lib/affordance-geometry.generated.d.ts +72 -0
- package/dist/lib/editable-text-recipe.d.ts +4 -4
- package/dist/lib/field-affordance-recipes.d.ts +8 -3
- package/dist/lib/field-state-recipes.d.ts +9 -8
- package/dist/lib/focus-recipes.d.ts +24 -0
- package/dist/lib/interaction-recipes.d.ts +40 -0
- package/dist/lib/layer-recipes.d.ts +19 -0
- package/dist/lib/motion-recipes.d.ts +1 -0
- package/dist/lib/overlay-anatomy-recipes.d.ts +1 -0
- package/dist/lib/safe-image-src.d.ts +10 -0
- package/dist/lib/sanitize-html.d.ts +15 -3
- package/dist/lib/surface-recipes.d.ts +47 -7
- package/dist/lib/theme-mode-css.d.ts +7 -0
- package/dist/lib/token-merge.generated.d.ts +9 -6
- package/dist/lib/tone-recipes.d.ts +87 -0
- package/dist/lib/ui-provider/hooks.d.ts +2 -1
- package/dist/lib/ui-provider/index.d.ts +2 -2
- package/dist/lib/ui-provider/types.d.ts +11 -2
- package/dist/lib/utils.js +1 -1
- package/dist/media-gallery-3zIVLMWH.js +203 -0
- package/dist/media-gallery-3zIVLMWH.js.map +1 -0
- package/dist/mentions-utuUvH1K.js +570 -0
- package/dist/mentions-utuUvH1K.js.map +1 -0
- package/dist/{message-YfFmbXNP.js → message-DZ_ruyUV.js} +7 -6
- package/dist/message-DZ_ruyUV.js.map +1 -0
- package/dist/metadata-list-8N16ZMW_.js +405 -0
- package/dist/metadata-list-8N16ZMW_.js.map +1 -0
- package/dist/{motion-recipes-B6jKXEcN.js → motion-recipes-ChBg4HBq.js} +3 -2
- package/dist/{motion-recipes-B6jKXEcN.js.map → motion-recipes-ChBg4HBq.js.map} +1 -1
- package/dist/navigation-Bnotn4AQ.js +145 -0
- package/dist/navigation-Bnotn4AQ.js.map +1 -0
- package/dist/navigation-BzhHI3lo.js +269 -0
- package/dist/navigation-BzhHI3lo.js.map +1 -0
- package/dist/{navigation-row-recipes-DlU-4QYO.js → navigation-row-recipes-BFLCk_Aq.js} +2 -2
- package/dist/{navigation-row-recipes-DlU-4QYO.js.map → navigation-row-recipes-BFLCk_Aq.js.map} +1 -1
- package/dist/{number-CKRBYmZK.js → number-DbV1Dija.js} +36 -34
- package/dist/{number-CKRBYmZK.js.map → number-DbV1Dija.js.map} +1 -1
- package/dist/overflow-tab-bar-CWY7Nogn.js +282 -0
- package/dist/overflow-tab-bar-CWY7Nogn.js.map +1 -0
- package/dist/overlay.recipes-8GHqmlb4.js +6 -0
- package/dist/overlay.recipes-8GHqmlb4.js.map +1 -0
- package/dist/overlays-DNWmZrJ4.js +1001 -0
- package/dist/overlays-DNWmZrJ4.js.map +1 -0
- package/dist/page-Bgl1F560.js +224 -0
- package/dist/page-Bgl1F560.js.map +1 -0
- package/dist/page-header-commands-DOb6WsfD.js +126 -0
- package/dist/page-header-commands-DOb6WsfD.js.map +1 -0
- package/dist/pagination-BL25hu2s.js +158 -0
- package/dist/pagination-BL25hu2s.js.map +1 -0
- package/dist/{popover-Dcv_9jxr.js → popover-7_m66eYW.js} +11 -10
- package/dist/popover-7_m66eYW.js.map +1 -0
- package/dist/popover-menu-B9WWygpa.js +100 -0
- package/dist/popover-menu-B9WWygpa.js.map +1 -0
- package/dist/{popover.recipes-wmbvL8Ah.js → popover.recipes-D3j8R8Yp.js} +18 -11
- package/dist/popover.recipes-D3j8R8Yp.js.map +1 -0
- package/dist/{primitives-BHrwQXFC.js → primitives-BFK08r9M.js} +45 -44
- package/dist/primitives-BFK08r9M.js.map +1 -0
- package/dist/primitives.js +4 -4
- package/dist/{progress-Br9WTFya.js → progress-B1VnCT0K.js} +9 -9
- package/dist/{progress-Br9WTFya.js.map → progress-B1VnCT0K.js.map} +1 -1
- package/dist/{receipt-CV89q1fs.js → receipt-BVSOH3Xo.js} +9 -6
- package/dist/{receipt-CV89q1fs.js.map → receipt-BVSOH3Xo.js.map} +1 -1
- package/dist/rich-text-GOUyKQ-s.js +78 -0
- package/dist/rich-text-GOUyKQ-s.js.map +1 -0
- package/dist/rich-text-editor-cRLC-eBK.js +1196 -0
- package/dist/rich-text-editor-cRLC-eBK.js.map +1 -0
- package/dist/rich-text-editor-toolbar-DfXg0-VC.js +94 -0
- package/dist/rich-text-editor-toolbar-DfXg0-VC.js.map +1 -0
- package/dist/rich-text-editor.strings-CB59ekH2.js +38 -0
- package/dist/rich-text-editor.strings-CB59ekH2.js.map +1 -0
- package/dist/safe-image-src-C6kQSMBZ.js +17 -0
- package/dist/safe-image-src-C6kQSMBZ.js.map +1 -0
- package/dist/sanitize-html-DsQmI48u.js +92 -0
- package/dist/sanitize-html-DsQmI48u.js.map +1 -0
- package/dist/scroll-area-DcI-M1UT.js +48 -0
- package/dist/scroll-area-DcI-M1UT.js.map +1 -0
- package/dist/{separator-Do5GWDYi.js → separator-BDV-Y648.js} +3 -3
- package/dist/{separator-Do5GWDYi.js.map → separator-BDV-Y648.js.map} +1 -1
- package/dist/{separator-BMEvwnSX.js → separator-Bom7NsGO.js} +2 -2
- package/dist/{separator-BMEvwnSX.js.map → separator-Bom7NsGO.js.map} +1 -1
- package/dist/services/actions/action-adapters.d.ts +18 -0
- package/dist/services/actions/index.d.ts +1 -1
- package/dist/services/actions.js +16 -4
- package/dist/services/actions.js.map +1 -1
- package/dist/settings-ybnjVwbd.js +171 -0
- package/dist/settings-ybnjVwbd.js.map +1 -0
- package/dist/sheet-CGpB3omz.js +211 -0
- package/dist/sheet-CGpB3omz.js.map +1 -0
- package/dist/{sidebar-Cb8WzOvE.js → sidebar-A0ElHINE.js} +17 -16
- package/dist/sidebar-A0ElHINE.js.map +1 -0
- package/dist/{sidebar-Crc9M9JV.js → sidebar-CPx_7YBa.js} +205 -203
- package/dist/sidebar-CPx_7YBa.js.map +1 -0
- package/dist/{skeleton-DVMXr15h.js → skeleton-Byjnt7qr.js} +9 -9
- package/dist/{skeleton-DVMXr15h.js.map → skeleton-Byjnt7qr.js.map} +1 -1
- package/dist/smart-card-DiC5aac3.js +604 -0
- package/dist/smart-card-DiC5aac3.js.map +1 -0
- package/dist/{structure-hzCW-XsV.js → structure-BmisBK-3.js} +2 -2
- package/dist/{structure-hzCW-XsV.js.map → structure-BmisBK-3.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/surface-recipes-BKRVW8Os.js +43 -0
- package/dist/surface-recipes-BKRVW8Os.js.map +1 -0
- package/dist/table-BweFy_P9.js +1530 -0
- package/dist/table-BweFy_P9.js.map +1 -0
- package/dist/table-DsfzoUia.js +175 -0
- package/dist/table-DsfzoUia.js.map +1 -0
- package/dist/tabs-CDocW5D1.js +191 -0
- package/dist/tabs-CDocW5D1.js.map +1 -0
- package/dist/text-inputs-f9Ia-aCi.js +353 -0
- package/dist/text-inputs-f9Ia-aCi.js.map +1 -0
- package/dist/theme-mode-css-BB-_RYab.js +14 -0
- package/dist/theme-mode-css-BB-_RYab.js.map +1 -0
- package/dist/theme-scope-BJ6eE2xt.js +50 -0
- package/dist/theme-scope-BJ6eE2xt.js.map +1 -0
- package/dist/theme.css +285 -228
- package/dist/themes/green.css +16 -12
- package/dist/timelines-CwM_9IhD.js +457 -0
- package/dist/timelines-CwM_9IhD.js.map +1 -0
- package/dist/tone-recipes-BPsRAvhu.js +73 -0
- package/dist/tone-recipes-BPsRAvhu.js.map +1 -0
- package/dist/tooltip-yiRJUFjp.js +111 -0
- package/dist/tooltip-yiRJUFjp.js.map +1 -0
- package/dist/{tree-BotPlyiD.js → tree-WnKQzwbq.js} +69 -67
- package/dist/tree-WnKQzwbq.js.map +1 -0
- package/dist/typography/rich-text.js +1 -1
- package/dist/typography-UTnveOEy.js +117 -0
- package/dist/typography-UTnveOEy.js.map +1 -0
- package/dist/typography.js +2 -2
- package/dist/{ui-provider-D2_TeLqw.js → ui-provider-C_U0Xma4.js} +13 -5
- package/dist/ui-provider-C_U0Xma4.js.map +1 -0
- package/dist/ui-provider.js +3 -3
- package/dist/{upload-B0WHW7ak.js → upload-CXyxmQBP.js} +210 -209
- package/dist/upload-CXyxmQBP.js.map +1 -0
- package/dist/{upload-queue-BHZ_wBfd.js → upload-queue-Boscubn9.js} +111 -111
- package/dist/upload-queue-Boscubn9.js.map +1 -0
- package/dist/upload.recipes-BbxTqrCT.js +61 -0
- package/dist/upload.recipes-BbxTqrCT.js.map +1 -0
- package/dist/{usage-card-U0YBLTNT.js → usage-card-BhO5eqkX.js} +45 -29
- package/dist/usage-card-BhO5eqkX.js.map +1 -0
- package/dist/{utils-Cospvlj1.js → utils-BRhFDwuU.js} +114 -67
- package/dist/utils-BRhFDwuU.js.map +1 -0
- package/dist/value-inputs-DXPDjvBU.js +963 -0
- package/dist/value-inputs-DXPDjvBU.js.map +1 -0
- package/dist/{value-typography-Deb3yQZg.js → value-typography-BP8OG6h5.js} +2 -2
- package/dist/{value-typography-Deb3yQZg.js.map → value-typography-BP8OG6h5.js.map} +1 -1
- package/dist/workspace-Cdrg7k9f.js +408 -0
- package/dist/workspace-Cdrg7k9f.js.map +1 -0
- package/docs/consumer-skill/SKILL.md +21 -22
- package/docs/consumer-skill/examples/app-layout.tsx +1 -1
- package/docs/consumer-skill/examples/composition.tsx +3 -3
- package/docs/consumer-skill/examples/detail.tsx +59 -12
- package/docs/consumer-skill/examples/edit.tsx +1 -1
- package/docs/consumer-skill/examples/receipt.tsx +2 -2
- package/docs/consumer-skill/examples/scoped-directory.tsx +1 -1
- package/docs/consumer-skill/examples/website.tsx +1 -1
- package/docs/consumer-skill/references/agents-md.md +33 -0
- package/docs/consumer-skill/references/analytics.md +1 -1
- package/docs/consumer-skill/references/composition.md +58 -13
- package/docs/consumer-skill/references/design-contract.md +12 -3
- package/docs/consumer-skill/references/installation.md +11 -1
- package/docs/consumer-skill/references/integration.md +4 -3
- package/docs/consumer-skill/references/public-api.json +956 -453
- package/docs/consumer-skill/references/review.md +32 -5
- package/docs/consumer-skill/references/theming.md +78 -9
- package/docs/consumer-skill/references/tokens.json +1 -1
- package/docs/consumer-skill/references/workflows.md +54 -10
- package/docs/consumer-skill/scripts/composition-policy.mjs +42 -11
- package/docs/consumer-skill/scripts/surface-policy.mjs +150 -5
- package/package.json +17 -5
- package/dist/accordion-CQXVcd7Q.js +0 -205
- package/dist/accordion-CQXVcd7Q.js.map +0 -1
- package/dist/action-menu-BTpyPWJ2.js +0 -264
- package/dist/action-menu-BTpyPWJ2.js.map +0 -1
- package/dist/affordance-geometry.generated-CCIXb2A1.js +0 -68
- package/dist/affordance-geometry.generated-CCIXb2A1.js.map +0 -1
- package/dist/ai-artifact-2PQ2fItc.js +0 -1112
- package/dist/ai-artifact-2PQ2fItc.js.map +0 -1
- package/dist/attachment-q69dlt5Y.js +0 -244
- package/dist/attachment-q69dlt5Y.js.map +0 -1
- package/dist/auth-M3vGMgDR.js.map +0 -1
- package/dist/avatar-djdaaQ_s.js.map +0 -1
- package/dist/badge-0tATj-tW.js +0 -92
- package/dist/badge-0tATj-tW.js.map +0 -1
- package/dist/breadcrumbs-BG_FfMK4.js +0 -128
- package/dist/breadcrumbs-BG_FfMK4.js.map +0 -1
- package/dist/button-BS3KDg00.js.map +0 -1
- package/dist/button-R9CCoH7A.js.map +0 -1
- package/dist/buttons-DS0ZIwJ_.js +0 -99
- package/dist/buttons-DS0ZIwJ_.js.map +0 -1
- package/dist/cards-QoJ4syG9.js +0 -66
- package/dist/cards-QoJ4syG9.js.map +0 -1
- package/dist/chart-DwYRKKc-.js.map +0 -1
- package/dist/checkbox-B7ygNTYp.js +0 -35
- package/dist/checkbox-B7ygNTYp.js.map +0 -1
- package/dist/choice-inputs-DrJ17tpL.js +0 -752
- package/dist/choice-inputs-DrJ17tpL.js.map +0 -1
- package/dist/code-block-CD0B7M93.js +0 -183
- package/dist/code-block-CD0B7M93.js.map +0 -1
- package/dist/combobox-6dvVny2q.js +0 -272
- package/dist/combobox-6dvVny2q.js.map +0 -1
- package/dist/combobox-CB7039j7.js +0 -865
- package/dist/combobox-CB7039j7.js.map +0 -1
- package/dist/comments-You0Bzbr.js.map +0 -1
- package/dist/components/layout/page/partials/page-header-commands.d.ts +0 -13
- package/dist/containers-D_L4mTVb.js.map +0 -1
- package/dist/data-display-3xWQUnMA.js +0 -1335
- package/dist/data-display-3xWQUnMA.js.map +0 -1
- package/dist/date-picker-DrDFj8Lo.js +0 -1527
- package/dist/date-picker-DrDFj8Lo.js.map +0 -1
- package/dist/date-pickers-CnFCb0n2.js +0 -174
- package/dist/date-pickers-CnFCb0n2.js.map +0 -1
- package/dist/display-DrdvPwF0.js +0 -343
- package/dist/display-DrdvPwF0.js.map +0 -1
- package/dist/dropdown-menu-CURh59jb.js +0 -193
- package/dist/dropdown-menu-CURh59jb.js.map +0 -1
- package/dist/editable-text-recipe-Bkm6wKHp.js +0 -10
- package/dist/editable-text-recipe-Bkm6wKHp.js.map +0 -1
- package/dist/feedback-C7nR0UtT.js +0 -232
- package/dist/feedback-C7nR0UtT.js.map +0 -1
- package/dist/field-affordance-recipes-CkOCdE2y.js +0 -46
- package/dist/field-affordance-recipes-CkOCdE2y.js.map +0 -1
- package/dist/field-state-recipes-C-MFBX_8.js +0 -11
- package/dist/field-state-recipes-C-MFBX_8.js.map +0 -1
- package/dist/filters-Da-gNPsE.js.map +0 -1
- package/dist/form-field-VZRULhUK.js.map +0 -1
- package/dist/form-sizing-uWP4lzVh.js.map +0 -1
- package/dist/forms-numeric-D3CO60IF.js +0 -905
- package/dist/forms-numeric-D3CO60IF.js.map +0 -1
- package/dist/header-2ycNqGOR.js.map +0 -1
- package/dist/icon-badge-DKlaKXoo.js +0 -53
- package/dist/icon-badge-DKlaKXoo.js.map +0 -1
- package/dist/input-BoLm9Hks.js +0 -20
- package/dist/input-BoLm9Hks.js.map +0 -1
- package/dist/input-DhQdBnV3.js +0 -255
- package/dist/input-DhQdBnV3.js.map +0 -1
- package/dist/item-xzh8Df65.js +0 -264
- package/dist/item-xzh8Df65.js.map +0 -1
- package/dist/media-gallery-DQUQ0m3O.js +0 -201
- package/dist/media-gallery-DQUQ0m3O.js.map +0 -1
- package/dist/mentions-DwnO1hh4.js +0 -564
- package/dist/mentions-DwnO1hh4.js.map +0 -1
- package/dist/message-YfFmbXNP.js.map +0 -1
- package/dist/navigation-Cbp5V8gG.js +0 -264
- package/dist/navigation-Cbp5V8gG.js.map +0 -1
- package/dist/navigation-Cs1npsPm.js +0 -300
- package/dist/navigation-Cs1npsPm.js.map +0 -1
- package/dist/overlay.recipes-CNO2S9V6.js +0 -34
- package/dist/overlay.recipes-CNO2S9V6.js.map +0 -1
- package/dist/overlays-DhZO7N-I.js +0 -994
- package/dist/overlays-DhZO7N-I.js.map +0 -1
- package/dist/page-C6R_8jFt.js +0 -325
- package/dist/page-C6R_8jFt.js.map +0 -1
- package/dist/page-header-hUTzcRZX.js +0 -112
- package/dist/page-header-hUTzcRZX.js.map +0 -1
- package/dist/pagination-Cm0jqa3I.js +0 -149
- package/dist/pagination-Cm0jqa3I.js.map +0 -1
- package/dist/popover-Dcv_9jxr.js.map +0 -1
- package/dist/popover-menu-DnRFKnHP.js +0 -99
- package/dist/popover-menu-DnRFKnHP.js.map +0 -1
- package/dist/popover.recipes-wmbvL8Ah.js.map +0 -1
- package/dist/primitives-BHrwQXFC.js.map +0 -1
- package/dist/rich-text-editor-CF8QYt5p.js +0 -574
- package/dist/rich-text-editor-CF8QYt5p.js.map +0 -1
- package/dist/rich-text-editor.recipes-CnrbmTS1.js +0 -81
- package/dist/rich-text-editor.recipes-CnrbmTS1.js.map +0 -1
- package/dist/rich-text-editor.strings-BpnIQgMl.js +0 -25
- package/dist/rich-text-editor.strings-BpnIQgMl.js.map +0 -1
- package/dist/rich-text-j-FGAeZW.js +0 -32
- package/dist/rich-text-j-FGAeZW.js.map +0 -1
- package/dist/sanitize-html-BG9FGe-j.js +0 -64
- package/dist/sanitize-html-BG9FGe-j.js.map +0 -1
- package/dist/scroll-area-DRdr16Pt.js +0 -47
- package/dist/scroll-area-DRdr16Pt.js.map +0 -1
- package/dist/settings-DHk0L2MF.js +0 -161
- package/dist/settings-DHk0L2MF.js.map +0 -1
- package/dist/sheet-DRFNY1_D.js +0 -207
- package/dist/sheet-DRFNY1_D.js.map +0 -1
- package/dist/sidebar-Cb8WzOvE.js.map +0 -1
- package/dist/sidebar-Crc9M9JV.js.map +0 -1
- package/dist/smart-card-Bek-TwUp.js +0 -599
- package/dist/smart-card-Bek-TwUp.js.map +0 -1
- package/dist/spinner-CmTAbEp0.js +0 -80
- package/dist/spinner-CmTAbEp0.js.map +0 -1
- package/dist/surface-recipes-DOdoBXGm.js +0 -28
- package/dist/surface-recipes-DOdoBXGm.js.map +0 -1
- package/dist/table-D6zKeYQX.js +0 -162
- package/dist/table-D6zKeYQX.js.map +0 -1
- package/dist/table-Dn4XSrSB.js +0 -1444
- package/dist/table-Dn4XSrSB.js.map +0 -1
- package/dist/tabs-Dk8E_knt.js +0 -189
- package/dist/tabs-Dk8E_knt.js.map +0 -1
- package/dist/text-inputs-BFpku0Qd.js +0 -331
- package/dist/text-inputs-BFpku0Qd.js.map +0 -1
- package/dist/theme-scope-kStaAer0.js +0 -39
- package/dist/theme-scope-kStaAer0.js.map +0 -1
- package/dist/timelines-CxuAFIc2.js +0 -439
- package/dist/timelines-CxuAFIc2.js.map +0 -1
- package/dist/tree-BotPlyiD.js.map +0 -1
- package/dist/typography-CAr3dQhX.js +0 -116
- package/dist/typography-CAr3dQhX.js.map +0 -1
- package/dist/ui-provider-D2_TeLqw.js.map +0 -1
- package/dist/upload-B0WHW7ak.js.map +0 -1
- package/dist/upload-queue-BHZ_wBfd.js.map +0 -1
- package/dist/usage-card-U0YBLTNT.js.map +0 -1
- package/dist/use-file-drop-target-BX7GnhoQ.js +0 -39
- package/dist/use-file-drop-target-BX7GnhoQ.js.map +0 -1
- package/dist/utils-Cospvlj1.js.map +0 -1
- package/dist/value-inputs-CjfzGMsN.js +0 -854
- package/dist/value-inputs-CjfzGMsN.js.map +0 -1
- package/dist/workspace-YoFjXi6i.js +0 -394
- package/dist/workspace-YoFjXi6i.js.map +0 -1
- /package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.strings.d.ts +0 -0
|
@@ -2,7 +2,15 @@ import type { SignaturePadValue } from './signature-pad.types';
|
|
|
2
2
|
export declare const emptySignature: SignaturePadValue;
|
|
3
3
|
export declare function isSignatureEmpty(value: SignaturePadValue): boolean;
|
|
4
4
|
export declare function normalizeSignature(value: SignaturePadValue): SignaturePadValue;
|
|
5
|
+
/**
|
|
6
|
+
* A typed name is drawn in the field's own font family: the theme sans unless the
|
|
7
|
+
* consumer sets a font on the pad. This fallback applies only outside the DOM.
|
|
8
|
+
*/
|
|
9
|
+
export declare const signatureFallbackFont = "sans-serif";
|
|
5
10
|
/** Drawing geometry, separate from structural UI spacing and theme tokens. */
|
|
6
|
-
export declare function drawSignature(context: CanvasRenderingContext2D, value: SignaturePadValue, width: number, height: number, strokeWidth: number): void;
|
|
7
|
-
/**
|
|
8
|
-
|
|
11
|
+
export declare function drawSignature(context: CanvasRenderingContext2D, value: SignaturePadValue, width: number, height: number, strokeWidth: number, fontFamily?: string): void;
|
|
12
|
+
/**
|
|
13
|
+
* Semantic currentColor is preserved unless a resolved export ink is supplied. The
|
|
14
|
+
* typed name uses `fontFamily`, which SignaturePad resolves from its rendered font.
|
|
15
|
+
*/
|
|
16
|
+
export declare function signaturePadToSVG(value: SignaturePadValue, width?: number, height?: number, strokeWidth?: number, ink?: string, fontFamily?: string): string;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Table as UITable, TableBody as UITableBody, TableCaption as UITableCaption, TableCell as UITableCell, TableFooter as UITableFooter, TableHead as UITableHead, TableHeader as UITableHeader, TableRow as UITableRow } from '../../ui/table';
|
|
3
|
-
|
|
3
|
+
import { type RowDensity } from '../../../lib/row-recipes';
|
|
4
|
+
export type TableProps = React.ComponentProps<typeof UITable> & {
|
|
5
|
+
/**
|
|
6
|
+
* Vertical row rhythm for every header and body cell. Header cells sit one
|
|
7
|
+
* row step above their body rows. Defaults to `default`.
|
|
8
|
+
*/
|
|
9
|
+
density?: RowDensity;
|
|
10
|
+
};
|
|
4
11
|
export type TableHeaderProps = React.ComponentProps<typeof UITableHeader>;
|
|
5
12
|
export type TableBodyProps = React.ComponentProps<typeof UITableBody>;
|
|
6
13
|
export type TableFooterProps = React.ComponentProps<typeof UITableFooter>;
|
|
@@ -8,7 +15,7 @@ export type TableRowProps = React.ComponentProps<typeof UITableRow>;
|
|
|
8
15
|
export type TableHeadProps = React.ComponentProps<typeof UITableHead>;
|
|
9
16
|
export type TableCellProps = React.ComponentProps<typeof UITableCell>;
|
|
10
17
|
export type TableCaptionProps = React.ComponentProps<typeof UITableCaption>;
|
|
11
|
-
export declare function Table({ className, containerClassName, containerProps, ...props }: TableProps): React.JSX.Element;
|
|
18
|
+
export declare function Table({ className, containerClassName, containerProps, density, ...props }: TableProps): React.JSX.Element;
|
|
12
19
|
export declare function TableHeader({ className, ...props }: TableHeaderProps): React.JSX.Element;
|
|
13
20
|
export declare function TableBody({ className, ...props }: TableBodyProps): React.JSX.Element;
|
|
14
21
|
export declare function TableFooter({ className, ...props }: TableFooterProps): React.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The inline clear action shared by Input, Textarea and Cascader: a native button
|
|
3
|
+
* drawing the shared clear target, focus edge and glyph. Its owner places it and
|
|
4
|
+
* supplies the accessible name, handler and disabled state.
|
|
5
|
+
*/
|
|
6
|
+
export declare const FieldClearButton: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
import type { ComponentProps } from 'react';
|
|
22
22
|
import { InputGroup as InputGroupPrimitive, InputGroupAddon as InputGroupAddonPrimitive, InputGroupInput as InputGroupInputPrimitive, InputGroupText as InputGroupTextPrimitive, InputGroupTextarea as InputGroupTextareaPrimitive } from '../../ui/input-group';
|
|
23
23
|
import { type ButtonProps } from '../buttons';
|
|
24
|
-
import type
|
|
24
|
+
import { type ComponentScale } from '../../../lib/ui-provider';
|
|
25
25
|
export type InputGroupProps = ComponentProps<typeof InputGroupPrimitive>;
|
|
26
26
|
export type InputGroupAddonProps = ComponentProps<typeof InputGroupAddonPrimitive>;
|
|
27
27
|
export interface InputGroupButtonProps extends Omit<ButtonProps, 'size'> {
|
|
@@ -36,7 +36,7 @@ declare function InputGroup({ className, ...props }: InputGroupProps): import("r
|
|
|
36
36
|
/** Leading/trailing (or block start/end) affordance slot inside the frame. */
|
|
37
37
|
declare function InputGroupAddon({ className, align, ...props }: InputGroupAddonProps): import("react").JSX.Element;
|
|
38
38
|
/** Inline action button sized to sit inside the control frame; its label stays on one line. */
|
|
39
|
-
declare function InputGroupButton({ className, tone, buttonStyle, truncate, ...props }: InputGroupButtonProps): import("react").JSX.Element;
|
|
39
|
+
declare function InputGroupButton({ className, tone, buttonStyle, truncate, iconOnly, ...props }: InputGroupButtonProps): import("react").JSX.Element;
|
|
40
40
|
/** Static copy segment — scalar text renders through Typography. */
|
|
41
41
|
declare function InputGroupText({ children, className, ...props }: InputGroupTextProps): import("react").JSX.Element;
|
|
42
42
|
/** Single-line control that inherits the group's frame instead of its own. */
|
|
@@ -1,11 +1,33 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Private drop-target states shared by Dropzone, AvatarUpload and ImageUpload.
|
|
3
|
-
* An empty target draws the dashed `--input` control boundary
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* An empty target draws the dashed `--input` control boundary, so all three
|
|
4
|
+
* upload targets read as the same kind of control as every field. Hover, drag
|
|
5
|
+
* and invalid states replace only the boundary colour and fill.
|
|
6
|
+
*
|
|
7
|
+
* Keyboard focus on the hidden file input draws the shared focus frame on the
|
|
8
|
+
* target (each owner adds the `ring-3` width). The valid and invalid colours are
|
|
9
|
+
* alternatives, never stacked, so an invalid target keeps its destructive border
|
|
10
|
+
* and tints the halo instead of tying with the ring colour.
|
|
6
11
|
*/
|
|
7
12
|
export declare const uploadDropTargetRecipes: {
|
|
8
13
|
readonly idle: "border-input";
|
|
9
14
|
readonly invalid: "border-destructive";
|
|
15
|
+
readonly invalidHover: "hover:bg-destructive/5";
|
|
16
|
+
readonly invalidDragging: "border-destructive bg-destructive/5";
|
|
10
17
|
readonly dragging: "border-primary bg-primary/10";
|
|
18
|
+
/** Pointer over an enabled target previews the drop: the boundary takes the primary colour. */
|
|
19
|
+
readonly hover: "hover:border-primary hover:bg-primary/5";
|
|
20
|
+
/** A file dragged over an already selected file row: the row keeps its edge and gains the tone halo. */
|
|
21
|
+
readonly draggingRing: "ring-3 ring-primary/30";
|
|
22
|
+
readonly invalidDraggingRing: "ring-3 ring-destructive/30";
|
|
23
|
+
readonly focus: {
|
|
24
|
+
readonly input: {
|
|
25
|
+
readonly valid: "has-[input:focus-visible]:border-ring has-[input:focus-visible]:ring-ring/50";
|
|
26
|
+
readonly invalid: "has-[input:focus-visible]:ring-destructive/30 dark:has-[input:focus-visible]:ring-destructive/50";
|
|
27
|
+
};
|
|
28
|
+
readonly filePicker: {
|
|
29
|
+
readonly valid: "has-[[data-slot=file-picker-input]:focus-visible]:border-ring has-[[data-slot=file-picker-input]:focus-visible]:ring-ring/50";
|
|
30
|
+
readonly invalid: "has-[[data-slot=file-picker-input]:focus-visible]:ring-destructive/30 dark:has-[[data-slot=file-picker-input]:focus-visible]:ring-destructive/50";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
11
33
|
};
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
* (chips, country prefix menu, swatch and picker, track, calendar) rather than
|
|
8
8
|
* a text box.
|
|
9
9
|
*
|
|
10
|
-
* This family composes the other two: the phone
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* one way only.
|
|
10
|
+
* This family composes the other two: the phone and colour controls render
|
|
11
|
+
* `Input` from `base/text-inputs`, the tags control draws the same field frame
|
|
12
|
+
* around its chips, and the phone control renders the shared `SelectPopup*`
|
|
13
|
+
* parts from `base/choice-inputs`. The dependency runs one way only.
|
|
14
14
|
*
|
|
15
15
|
* Related families:
|
|
16
16
|
* - `themelia-react-ui/base/text-inputs` — free-form text entry
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* - `themelia-react-ui/base/forms-numeric` — money, weight, dimensions
|
|
19
19
|
* - `themelia-react-ui/base/date-pickers` — calendars and time pickers
|
|
20
20
|
*/
|
|
21
|
-
export { TagsInput, type TagsInputProps } from './tags-input';
|
|
21
|
+
export { TagsInput, defaultTagsInputStrings, type TagsInputProps, type TagsInputStrings, } from './tags-input';
|
|
22
22
|
export { PhoneInput, defaultPhoneInputStrings, DEFAULT_COUNTRY_PREFIXES, COUNTRY_PREFIX_MAP, type PhoneInputProps, type PhoneInputStrings, type CountryPrefixOption, type CountryPrefixInput, } from './phone-input';
|
|
23
23
|
export { ColorInput, defaultColorInputStrings, type ColorInputProps, type ColorInputStrings, } from './color-input';
|
|
24
24
|
export { SliderField, defaultSliderStrings, type SliderProps, type SliderStrings, type SliderImitationEvent, } from './slider';
|
|
@@ -10,49 +10,73 @@ export interface TagsInputStrings {
|
|
|
10
10
|
summary: (current: number, max: number) => string;
|
|
11
11
|
/** Accessible name of a tag's remove action. Defaults to `"Remove {tag}"`. */
|
|
12
12
|
removeTag?: (tag: string) => string;
|
|
13
|
+
/**
|
|
14
|
+
* Announced when a commit leaves entries it could not add (too short or
|
|
15
|
+
* long, duplicate, refused by `validate`, or over `maxTags`). Receives the
|
|
16
|
+
* rejected entries joined with commas. Defaults to `"Not added: {entries}."`.
|
|
17
|
+
*/
|
|
18
|
+
notAdded?: (entries: string) => string;
|
|
19
|
+
/** Accessible name of the recommendation list. Defaults to `"Suggested tags"`. */
|
|
20
|
+
recommendationsLabel?: string;
|
|
13
21
|
}
|
|
14
22
|
export declare const defaultTagsInputStrings: TagsInputStrings;
|
|
15
23
|
export interface TagsInputProps<T = string> {
|
|
16
24
|
/** ID of the editable input, for an external field label. */
|
|
17
25
|
id?: string;
|
|
26
|
+
/** Names the editable input when no visible label points at it. */
|
|
27
|
+
'aria-label'?: string;
|
|
28
|
+
/** IDs of the elements that label the editable input. */
|
|
29
|
+
'aria-labelledby'?: string;
|
|
18
30
|
/** Additional supporting/error descriptions associated with the editable control. */
|
|
19
31
|
'aria-describedby'?: string;
|
|
20
|
-
/**
|
|
32
|
+
/** Marks the field invalid, like `invalid`; a FormField or form library may inject it. */
|
|
33
|
+
'aria-invalid'?: boolean | 'true' | 'false';
|
|
34
|
+
/** Marks the editable input as required for assistive tech. */
|
|
35
|
+
'aria-required'?: boolean | 'true' | 'false';
|
|
36
|
+
/** Current value (array of T). Pass it to control the field. */
|
|
21
37
|
value?: T[];
|
|
38
|
+
/** Initial value when uncontrolled. Ignored when `value` is set. */
|
|
39
|
+
defaultValue?: T[];
|
|
22
40
|
/** Callback when value changes */
|
|
23
41
|
onValueChange?: (value: T[]) => void;
|
|
24
|
-
/**
|
|
42
|
+
/** Form field name. Each tag is serialised as a hidden `name[]` input (its display value), disabled with the field. */
|
|
43
|
+
name?: string;
|
|
44
|
+
/** Placeholder text for the input, shown while there are no tags. */
|
|
25
45
|
placeholder?: string;
|
|
26
46
|
/** Array of recommendations to suggest */
|
|
27
47
|
recommendations?: Array<T | {
|
|
28
48
|
value: T;
|
|
29
49
|
label: string;
|
|
30
50
|
}>;
|
|
31
|
-
/** Maximum number of tags allowed */
|
|
51
|
+
/** Maximum number of tags allowed. Entry is refused and announced once it is reached; the input stays focusable. */
|
|
32
52
|
maxTags?: number;
|
|
33
|
-
/**
|
|
53
|
+
/** Shows the `strings.summary` count under the field. Requires `maxTags`. */
|
|
34
54
|
showMaxTags?: boolean;
|
|
35
55
|
/** Whether duplicate tags are allowed */
|
|
36
56
|
allowDuplicates?: boolean;
|
|
37
|
-
/** Custom validation function */
|
|
57
|
+
/** Custom validation function. Runs after the length, limit and duplicate checks. */
|
|
38
58
|
validate?: (value: T) => boolean;
|
|
39
59
|
/** Whether the input is disabled */
|
|
40
60
|
disabled?: boolean;
|
|
41
|
-
/**
|
|
61
|
+
/** Shows a clear-all action under the field while there are tags. */
|
|
42
62
|
showClearAll?: boolean;
|
|
43
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Custom tag component. `index` is the tag's position in the value, and
|
|
65
|
+
* `onRemove(index)` removes it and moves focus to the neighbouring remove
|
|
66
|
+
* action (an element with `data-tag-remove`), else the input.
|
|
67
|
+
*/
|
|
44
68
|
renderTag?: (tag: T, index: number, onRemove: (index: number) => void) => React.ReactNode;
|
|
45
|
-
/**
|
|
69
|
+
/** Splits typed and pasted text into several tags. Defaults to a comma or a newline. */
|
|
46
70
|
delimiter?: string | RegExp;
|
|
47
71
|
/** Whether to trigger add on blur */
|
|
48
72
|
addOnBlur?: boolean;
|
|
49
73
|
/** Minimum length for a tag */
|
|
50
74
|
minLength?: number;
|
|
51
|
-
/** Maximum length for a tag */
|
|
75
|
+
/** Maximum length for a tag. Longer entries are refused and announced, never truncated. */
|
|
52
76
|
maxLength?: number;
|
|
53
|
-
/** Override default English strings (placeholder, empty list, clear-all). */
|
|
77
|
+
/** Override default English strings (placeholder, empty list, clear-all, announcements). */
|
|
54
78
|
strings?: StringsProp<TagsInputStrings>;
|
|
55
|
-
/**
|
|
79
|
+
/** Keeps the value sorted by display text as tags are added. */
|
|
56
80
|
sortTags?: boolean;
|
|
57
81
|
/** Case sensitivity for duplicate checking */
|
|
58
82
|
caseSensitive?: boolean;
|
|
@@ -63,7 +87,7 @@ export interface TagsInputProps<T = string> {
|
|
|
63
87
|
/** Additional class names */
|
|
64
88
|
className?: string;
|
|
65
89
|
}
|
|
66
|
-
export declare function TagsInput<T = string>({ id, 'aria-describedby': ariaDescribedBy, value, onValueChange, placeholder, recommendations, maxTags, showMaxTags, allowDuplicates, validate, disabled, showClearAll, renderTag, delimiter, addOnBlur, minLength, maxLength, sortTags, caseSensitive, field, invalid, className, strings: stringsProp, }: TagsInputProps<T>): React.JSX.Element;
|
|
90
|
+
export declare function TagsInput<T = string>({ id, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, value, defaultValue, onValueChange, name, placeholder, recommendations, maxTags, showMaxTags, allowDuplicates, validate, disabled, showClearAll, renderTag, delimiter, addOnBlur, minLength, maxLength, sortTags, caseSensitive, field, invalid, className, strings: stringsProp, }: TagsInputProps<T>): React.JSX.Element;
|
|
67
91
|
export declare namespace TagsInput {
|
|
68
92
|
var displayName: string;
|
|
69
93
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AiShimmerProps } from './types';
|
|
2
|
-
export declare function AiShimmer({ children, paused, duration, className, }: AiShimmerProps): import("react").JSX.Element;
|
|
2
|
+
export declare function AiShimmer({ children, paused, duration, size, className, }: AiShimmerProps): import("react").JSX.Element;
|
|
3
3
|
export declare namespace AiShimmer {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import type { TextProps } from '../../../typography';
|
|
2
3
|
export interface AiShimmerProps {
|
|
3
4
|
/** Children rendered with the shimmer gradient. Defaults to a placeholder string. */
|
|
4
5
|
children?: ReactNode;
|
|
@@ -6,6 +7,8 @@ export interface AiShimmerProps {
|
|
|
6
7
|
paused?: boolean;
|
|
7
8
|
/** Animation duration in seconds. */
|
|
8
9
|
duration?: number;
|
|
10
|
+
/** Text size of the shimmering copy. Defaults to the provider text size. */
|
|
11
|
+
size?: TextProps['size'];
|
|
9
12
|
/** Merged onto the outermost node. */
|
|
10
13
|
className?: string;
|
|
11
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AddressCardProps } from './types';
|
|
2
|
-
export declare function AddressCard({ kind, name, line1, line2, city, region, postalCode, country, phone, default: defaultAddress, onEdit, onRemove, onMakeDefault, surface, padding, headerDivider, className, strings: stringsProp, }: AddressCardProps): import("react").JSX.Element;
|
|
2
|
+
export declare function AddressCard({ kind, name, line1, line2, city, region, postalCode, country, phone, default: defaultAddress, onEdit, onRemove, onMakeDefault, surface, padding, headerDivider, className, strings: stringsProp, ...props }: AddressCardProps): import("react").JSX.Element;
|
|
3
3
|
export declare namespace AddressCard {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
1
2
|
import type { CardProps } from '../../../base/cards';
|
|
2
3
|
import type { StringsProp } from '../../../../lib/strings';
|
|
3
4
|
export type AddressKind = 'shipping' | 'billing' | 'pickup';
|
|
@@ -12,7 +13,7 @@ export interface AddressCardStrings {
|
|
|
12
13
|
}
|
|
13
14
|
export declare const defaultAddressCardStrings: AddressCardStrings;
|
|
14
15
|
/** Unframed by default. Set surface="card" to let this owner frame its heading and body. */
|
|
15
|
-
export interface AddressCardProps extends Pick<CardProps, 'surface' | 'padding' | 'headerDivider'> {
|
|
16
|
+
export interface AddressCardProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title'>, Pick<CardProps, 'surface' | 'padding' | 'headerDivider'> {
|
|
16
17
|
/** What the address is for — billing, shipping, or both. */
|
|
17
18
|
kind?: AddressKind;
|
|
18
19
|
/** Display name. */
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type CartSummaryCardProps } from './types';
|
|
2
|
-
export declare function CartSummaryCard({ items, subtotal, tax, shipping, discount, total, onCheckout, className, strings: stringsProp, }: CartSummaryCardProps): import("react").JSX.Element;
|
|
2
|
+
export declare function CartSummaryCard({ items, subtotal, tax, shipping, discount, total, onCheckout, className, strings: stringsProp, ...props }: CartSummaryCardProps): import("react").JSX.Element;
|
|
3
3
|
export declare namespace CartSummaryCard {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
6
|
+
/** The source kit's name for `CartSummaryCard`; the same component. */
|
|
7
|
+
export declare const CartSummary: typeof CartSummaryCard;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { CartSummaryCard } from './cart-summary';
|
|
2
|
-
export { defaultCartSummaryStrings, type CartSummaryCardProps, type CartSummaryStrings, type CartLineItem, } from './types';
|
|
1
|
+
export { CartSummary, CartSummaryCard } from './cart-summary';
|
|
2
|
+
export { defaultCartSummaryStrings, type CartSummaryCardProps, type CartSummaryProps, type CartSummaryStrings, type CartLineItem, } from './types';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
1
2
|
import type { StringsProp } from '../../../../lib/strings';
|
|
2
3
|
export interface CartLineItem {
|
|
3
4
|
/** Stable identity for this entry. */
|
|
@@ -30,9 +31,11 @@ export interface CartSummaryStrings {
|
|
|
30
31
|
/** Formatted order total. */
|
|
31
32
|
total: string;
|
|
32
33
|
checkout: string;
|
|
34
|
+
/** Writes a line's quantity, so a translation owns the multiplication sign. */
|
|
35
|
+
formatQuantity: (quantity: number) => string;
|
|
33
36
|
}
|
|
34
37
|
export declare const defaultCartSummaryStrings: CartSummaryStrings;
|
|
35
|
-
export interface CartSummaryCardProps {
|
|
38
|
+
export interface CartSummaryCardProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title'> {
|
|
36
39
|
/** Line items in the cart. */
|
|
37
40
|
items: CartLineItem[];
|
|
38
41
|
/** Formatted total before tax, shipping, and discounts. */
|
|
@@ -51,3 +54,5 @@ export interface CartSummaryCardProps {
|
|
|
51
54
|
/** Overrides this surface's own copy. */
|
|
52
55
|
strings?: StringsProp<CartSummaryStrings>;
|
|
53
56
|
}
|
|
57
|
+
/** The source kit's name for `CartSummaryCardProps`. */
|
|
58
|
+
export type CartSummaryProps = CartSummaryCardProps;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type DiscountStackPreviewProps } from './types';
|
|
2
|
-
export declare function DiscountStackPreview({ discounts, totalSavings, className, strings: stringsProp, }: DiscountStackPreviewProps): import("react").JSX.Element;
|
|
2
|
+
export declare function DiscountStackPreview({ discounts, totalSavings, className, strings: stringsProp, ...props }: DiscountStackPreviewProps): import("react").JSX.Element;
|
|
3
3
|
export declare namespace DiscountStackPreview {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
6
|
+
/** The source kit's name for `DiscountStackPreview`; the same component. */
|
|
7
|
+
export declare const DiscountStack: typeof DiscountStackPreview;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DiscountStackPreview } from './discount-stack';
|
|
2
|
-
export { defaultDiscountStackStrings, type Discount, type DiscountStackPreviewProps, type DiscountStackStrings, } from './types';
|
|
1
|
+
export { DiscountStack, DiscountStackPreview } from './discount-stack';
|
|
2
|
+
export { defaultDiscountStackStrings, type Discount, type DiscountStackPreviewProps, type DiscountStackProps, type DiscountStackStrings, } from './types';
|
|
@@ -1,12 +1,22 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
1
2
|
import type { BadgeTone } from '../../../base/badge';
|
|
2
3
|
import type { StringsProp } from '../../../../lib/strings';
|
|
3
4
|
export interface Discount {
|
|
4
|
-
|
|
5
|
+
/** Stable identity for this entry. Falls back to the kind, label and position. */
|
|
6
|
+
id?: string;
|
|
5
7
|
/** Display label. */
|
|
6
8
|
label: string;
|
|
9
|
+
/** Already formatted. Rendered as a deduction whatever sign it carries. */
|
|
7
10
|
amount: string;
|
|
8
|
-
/**
|
|
9
|
-
|
|
11
|
+
/** What kind of discount it is ("Code", "Automatic"), shown quietly beside the amount. */
|
|
12
|
+
kind?: ReactNode;
|
|
13
|
+
/** The kind as plain text. Kept for existing callers; `kind` wins when both are set. */
|
|
14
|
+
type?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Draws the kind as a chip in this tone. Discount kinds are categories, so
|
|
17
|
+
* pass `neutral` unless the chip states a status. Omit it for the quiet note.
|
|
18
|
+
*/
|
|
19
|
+
badge?: BadgeTone;
|
|
10
20
|
}
|
|
11
21
|
export interface DiscountStackStrings {
|
|
12
22
|
/** Surface title. */
|
|
@@ -15,7 +25,7 @@ export interface DiscountStackStrings {
|
|
|
15
25
|
totalSavings: string;
|
|
16
26
|
}
|
|
17
27
|
export declare const defaultDiscountStackStrings: DiscountStackStrings;
|
|
18
|
-
export interface DiscountStackPreviewProps {
|
|
28
|
+
export interface DiscountStackPreviewProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title'> {
|
|
19
29
|
/** Discounts applied, in the order they stack. */
|
|
20
30
|
discounts: Discount[];
|
|
21
31
|
/** Formatted sum of every discount. */
|
|
@@ -25,3 +35,5 @@ export interface DiscountStackPreviewProps {
|
|
|
25
35
|
/** Overrides this surface's own copy. */
|
|
26
36
|
strings?: StringsProp<DiscountStackStrings>;
|
|
27
37
|
}
|
|
38
|
+
/** The source kit's name for `DiscountStackPreviewProps`. */
|
|
39
|
+
export type DiscountStackProps = DiscountStackPreviewProps;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type FulfillmentGroupProps } from './types';
|
|
2
|
+
export declare function FulfillmentGroup({ status, location, notice, noticeIcon: NoticeIcon, items, children, actions, renderLink, className, strings: stringsProp, ...props }: FulfillmentGroupProps): import("react").JSX.Element;
|
|
3
|
+
export declare namespace FulfillmentGroup {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ComponentType, ReactNode } from 'react';
|
|
2
|
+
import type { ActionMenuAction, ActionMenuProps } from '../../../base/action-menu';
|
|
3
|
+
import type { CardProps } from '../../../base/cards';
|
|
4
|
+
import type { StringsProp } from '../../../../lib/strings';
|
|
5
|
+
import type { OrderLine, OrderLineItemStrings } from '../order-line-item/types';
|
|
6
|
+
import { type FulfillmentStatus } from '../shared/order-status';
|
|
7
|
+
export interface FulfillmentGroupStrings extends OrderLineItemStrings {
|
|
8
|
+
/** Label for each `FulfillmentStatus`. The tone stays derived from the status. */
|
|
9
|
+
fulfillment: Record<FulfillmentStatus, string>;
|
|
10
|
+
/** Names the group by state and size: "Unfulfilled (3)". */
|
|
11
|
+
formatHeading: (status: string, count: number) => string;
|
|
12
|
+
/** Accessible name of the overflow menu holding every action after the first. */
|
|
13
|
+
moreActions: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const defaultFulfillmentGroupStrings: FulfillmentGroupStrings;
|
|
16
|
+
/** Header and footer rules follow Card's provider defaults; `headerDivider` / `footerDivider` override them per group. */
|
|
17
|
+
export interface FulfillmentGroupProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title'>, Pick<CardProps, 'headerDivider' | 'footerDivider'> {
|
|
18
|
+
/** Where these goods are. Drives the heading chip's label and tone. */
|
|
19
|
+
status: FulfillmentStatus;
|
|
20
|
+
/** Where the group ships from. */
|
|
21
|
+
location?: ReactNode;
|
|
22
|
+
/** A standing fact about the group: "Shipping not required". */
|
|
23
|
+
notice?: ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* Glyph beside the notice, sized by the group. A component rather than a
|
|
26
|
+
* node, so it arrives at the icon size of the text it annotates.
|
|
27
|
+
*/
|
|
28
|
+
noticeIcon?: ComponentType<{
|
|
29
|
+
className?: string;
|
|
30
|
+
}>;
|
|
31
|
+
/** The rows, as data. The heading counts them. */
|
|
32
|
+
items?: OrderLine[];
|
|
33
|
+
/** Replaces `items` wholesale, for a caller who needs control of a row. The heading then carries no count. */
|
|
34
|
+
children?: ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* The group's commands. The first renders as a button and the rest collapse
|
|
37
|
+
* into an overflow menu: one array, so the menu never repeats the button.
|
|
38
|
+
* Mark the main command `tone: 'primary'`.
|
|
39
|
+
*/
|
|
40
|
+
actions?: readonly ActionMenuAction[];
|
|
41
|
+
/** Renders `href` actions through the consumer's router. */
|
|
42
|
+
renderLink?: ActionMenuProps['renderLink'];
|
|
43
|
+
/** Overrides this surface's own copy, including the status words. */
|
|
44
|
+
strings?: StringsProp<FulfillmentGroupStrings>;
|
|
45
|
+
}
|
|
@@ -4,8 +4,8 @@ export { Receipt, ReceiptItems, type ReceiptProps, type ReceiptItemsProps, type
|
|
|
4
4
|
export { BookingCalendarEventCard, type BookingCalendarEventCardItem, type BookingCalendarEventCardProps, } from './booking-calendar-event-card';
|
|
5
5
|
export type { LoyaltyHistoryEntry, LoyaltyPointsProps, LoyaltyPointsStrings } from './loyalty-points';
|
|
6
6
|
export { LoyaltyPoints, defaultLoyaltyPointsStrings } from './loyalty-points';
|
|
7
|
-
export type { Discount, DiscountStackPreviewProps, DiscountStackStrings } from './discount-stack';
|
|
8
|
-
export { DiscountStackPreview, defaultDiscountStackStrings } from './discount-stack';
|
|
7
|
+
export type { Discount, DiscountStackPreviewProps, DiscountStackProps, DiscountStackStrings } from './discount-stack';
|
|
8
|
+
export { DiscountStack, DiscountStackPreview, defaultDiscountStackStrings } from './discount-stack';
|
|
9
9
|
export type { ShipmentDetail, ShipmentStatus, ShipmentTrackingProps, ShipmentTrackingStrings, TrackingStep, } from './shipment-tracking';
|
|
10
10
|
export { ShipmentTracking, defaultShipmentTrackingStrings } from './shipment-tracking';
|
|
11
11
|
export { GiftcardCard, type GiftcardCardProps, type GiftcardCardVariant, type GiftcardData, type GradientVariant, type PatternVariant, type AccentColor, type HeaderColor, } from './giftcard-card';
|
|
@@ -13,13 +13,13 @@ export { defaultVendorProfileStrings, VendorProfileCard, type VendorProfileCardP
|
|
|
13
13
|
export { InventoryLevel, defaultInventoryLevelStrings, type InventoryLevelProps, type InventoryLevelStrings, } from './inventory-level';
|
|
14
14
|
export { TaxBreakdownCard, defaultTaxBreakdownStrings, type TaxBreakdownCardProps, type TaxBreakdownStrings, type TaxLineItem, } from './tax-breakdown';
|
|
15
15
|
export { SubscriptionSummaryCard, defaultSubscriptionSummaryStrings, type SubscriptionSummaryCardProps, type SubscriptionSummaryStrings, type SubscriptionPerk, } from './subscription-summary';
|
|
16
|
-
export { RefundStatusCard, defaultRefundStatusStrings, type RefundStatusCardProps, type RefundStatusStrings, type RefundStage, } from './refund-status';
|
|
16
|
+
export { RefundStatus, RefundStatusCard, defaultRefundStatusStrings, type RefundStatusProps, type RefundStatusCardProps, type RefundStatusStrings, type RefundStage, } from './refund-status';
|
|
17
17
|
export { AddressCard, defaultAddressCardStrings, type AddressCardProps, type AddressCardStrings, type AddressKind, } from './address-card';
|
|
18
18
|
export { VoucherEntry, defaultVoucherEntryStrings, type VoucherEntryProps, type VoucherEntryStrings, } from './voucher-entry';
|
|
19
|
-
export { CartSummaryCard, defaultCartSummaryStrings, type CartSummaryCardProps, type CartSummaryStrings, type CartLineItem, } from './cart-summary';
|
|
19
|
+
export { CartSummary, CartSummaryCard, defaultCartSummaryStrings, type CartSummaryProps, type CartSummaryCardProps, type CartSummaryStrings, type CartLineItem, } from './cart-summary';
|
|
20
20
|
export { CouponInputCard, defaultCouponInputStrings, type CouponInputCardProps, type CouponInputStrings, } from './coupon-input';
|
|
21
21
|
export { OrderStatusCard, defaultOrderStatusStrings, type OrderStatusCardProps, type OrderStatusStrings, type OrderStatusEvent, type OrderStatusKind, } from './order-status';
|
|
22
|
-
export { PaymentMethod, defaultPaymentMethodStrings, type PaymentMethodProps, type PaymentMethodStrings, type PaymentBrand, } from './payment-method';
|
|
22
|
+
export { PaymentMethod, PaymentMethodCard, defaultPaymentMethodStrings, type PaymentMethodCardProps, type PaymentMethodProps, type PaymentMethodStrings, type PaymentMethodVariant, type PaymentBrand, } from './payment-method';
|
|
23
23
|
export { SeoListingCard, DEFAULT_SEO_LISTING_LIMITS, calculateSeoListingScore, defaultSeoListingCardStrings, getSeoPermalinkPath, getSeoPermalinkSlug, type SeoListingCardProps, type SeoListingCardStrings, type SeoListingCheckId, type SeoListingCheckResult, type SeoListingCheckStatus, type SeoListingScoreInput, type SeoListingScoreLimits, type SeoListingScoreResult, } from './seo-listing';
|
|
24
24
|
export type { InvoiceStatus, InvoiceMiniData, InvoiceMiniProps } from './invoice-mini';
|
|
25
25
|
export { InvoiceMini } from './invoice-mini';
|
|
@@ -32,3 +32,11 @@ export { OrderTimeline } from './order-timeline';
|
|
|
32
32
|
export type { PaymentEvent, PaymentTimelineProps } from './payment-timeline';
|
|
33
33
|
export { PaymentTimeline } from './payment-timeline';
|
|
34
34
|
export { InventorySectionCard, defaultInventorySectionStrings, type InventoryPolicy, type InventorySectionCardProps, type InventorySectionChange, type InventorySectionField, type InventorySectionMetric, type InventorySectionName, type InventorySectionStrings, type InventorySectionValue, type InventoryStatus, } from './inventory-section';
|
|
35
|
+
export { AmountRow, SummaryPanel, type AmountRowProps, type SummaryPanelProps } from './summary-panel';
|
|
36
|
+
export type { FulfillmentStatus, OrderAddress, PaymentStatus, TransactionKind, TransactionStatus, } from './shared/order-status';
|
|
37
|
+
export { OrderHeader, defaultOrderHeaderStrings, type OrderHeaderProps, type OrderHeaderStrings, } from './order-header';
|
|
38
|
+
export { FulfillmentGroup, defaultFulfillmentGroupStrings, type FulfillmentGroupProps, type FulfillmentGroupStrings, } from './fulfillment-group';
|
|
39
|
+
export { OrderLineItem, defaultOrderLineItemStrings, type OrderLine, type OrderLineItemProps, type OrderLineItemStrings, type OrderLineProperty, } from './order-line-item';
|
|
40
|
+
export { OrderSummary, defaultOrderSummaryStrings, type OrderSummaryProps, type OrderSummaryStrings, type SummaryLine, } from './order-summary';
|
|
41
|
+
export { OrderTransactions, defaultOrderTransactionsStrings, type OrderTransactionsProps, type OrderTransactionsStrings, type Transaction, } from './order-transactions';
|
|
42
|
+
export { OrderCustomer, defaultOrderCustomerStrings, type OrderCustomerProps, type OrderCustomerStrings, } from './order-customer';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type InvoiceHeaderProps } from './types';
|
|
2
|
-
export declare function InvoiceHeader({ invoiceNumber, status, statusTone, from, to, issuedDate, dueDate, amount, className, strings: stringsProp, }: InvoiceHeaderProps): import("react").JSX.Element;
|
|
2
|
+
export declare function InvoiceHeader({ invoiceNumber, status, statusTone, from, to, issuedDate, dueDate, amount, className, strings: stringsProp, ...props }: InvoiceHeaderProps): import("react").JSX.Element;
|
|
3
3
|
export declare namespace InvoiceHeader {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
1
2
|
import type { BadgeTone } from '../../../base/badge';
|
|
2
3
|
import type { StringsProp } from '../../../../lib/strings';
|
|
3
4
|
import type { InvoiceStatus } from '../invoice-mini/types';
|
|
4
5
|
export interface InvoiceParty {
|
|
5
6
|
/** Display name. */
|
|
6
7
|
name: string;
|
|
7
|
-
|
|
8
|
+
/** Where the party is: a city line, or a node such as a full address. */
|
|
9
|
+
location?: ReactNode;
|
|
8
10
|
}
|
|
9
11
|
export interface InvoiceHeaderStrings {
|
|
10
12
|
/** Surface title. */
|
|
@@ -20,7 +22,7 @@ export interface InvoiceHeaderStrings {
|
|
|
20
22
|
overdue: string;
|
|
21
23
|
}
|
|
22
24
|
export declare const defaultInvoiceHeaderStrings: InvoiceHeaderStrings;
|
|
23
|
-
export interface InvoiceHeaderProps {
|
|
25
|
+
export interface InvoiceHeaderProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title'> {
|
|
24
26
|
/** Human-facing invoice reference. */
|
|
25
27
|
invoiceNumber: string;
|
|
26
28
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type InvoiceMiniProps } from './types';
|
|
2
|
-
export declare function InvoiceMini({ invoice, className, strings: stringsProp, }: InvoiceMiniProps): import("react").JSX.Element;
|
|
2
|
+
export declare function InvoiceMini({ invoice, className, strings: stringsProp, ...props }: InvoiceMiniProps): import("react").JSX.Element;
|
|
3
3
|
export declare namespace InvoiceMini {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
1
2
|
import type { BadgeTone } from '../../../base/badge';
|
|
2
3
|
import type { StringsProp } from '../../../../lib/strings';
|
|
3
4
|
export type InvoiceStatus = 'paid' | 'pending' | 'overdue';
|
|
@@ -17,7 +18,7 @@ export interface InvoiceMiniStrings {
|
|
|
17
18
|
due: string;
|
|
18
19
|
}
|
|
19
20
|
export declare const defaultInvoiceMiniStrings: InvoiceMiniStrings;
|
|
20
|
-
export interface InvoiceMiniProps {
|
|
21
|
+
export interface InvoiceMiniProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
21
22
|
/** The invoice to summarise. */
|
|
22
23
|
invoice: InvoiceMiniData;
|
|
23
24
|
/** Merged onto the outermost node. */
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type OrderCustomerProps } from './types';
|
|
2
|
+
export declare function OrderCustomer({ name, email, phone, orderCount, shippingAddress, billingAddress, billingSameAsShipping, onOpenCustomer, onEditShipping, onEditBilling, surface, padding, headerDivider, className, strings: stringsProp, ...props }: OrderCustomerProps): import("react").JSX.Element;
|
|
3
|
+
export declare namespace OrderCustomer {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import type { CardProps } from '../../../base/cards';
|
|
3
|
+
import type { StringsProp } from '../../../../lib/strings';
|
|
4
|
+
import type { OrderAddress } from '../shared/order-status';
|
|
5
|
+
export interface OrderCustomerStrings {
|
|
6
|
+
/** Surface title. */
|
|
7
|
+
title: string;
|
|
8
|
+
shippingAddress: string;
|
|
9
|
+
billingAddress: string;
|
|
10
|
+
/**
|
|
11
|
+
* One name per edit button: each is the accessible name of a glyph with no
|
|
12
|
+
* text beside it, and a single "Edit" would announce two controls alike.
|
|
13
|
+
*/
|
|
14
|
+
editShipping: string;
|
|
15
|
+
editBilling: string;
|
|
16
|
+
/** Shown in place of a repeated billing address. */
|
|
17
|
+
sameAsShipping: string;
|
|
18
|
+
/** Shown when an address is missing. */
|
|
19
|
+
noAddress: string;
|
|
20
|
+
/** How many orders the customer has placed, this one included. */
|
|
21
|
+
formatOrderCount: (count: number) => string;
|
|
22
|
+
}
|
|
23
|
+
export declare const defaultOrderCustomerStrings: OrderCustomerStrings;
|
|
24
|
+
/** Unframed by default. Set surface="card" to let this owner frame its heading and body. */
|
|
25
|
+
export interface OrderCustomerProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title'>, Pick<CardProps, 'surface' | 'padding' | 'headerDivider'> {
|
|
26
|
+
/** The customer's display name. */
|
|
27
|
+
name: string;
|
|
28
|
+
/** Contact email, rendered as a mail link. */
|
|
29
|
+
email?: string;
|
|
30
|
+
/** Contact number, rendered as a call link. */
|
|
31
|
+
phone?: string;
|
|
32
|
+
/** How many orders this customer has placed, this one included. */
|
|
33
|
+
orderCount?: number;
|
|
34
|
+
/** Where the order ships. */
|
|
35
|
+
shippingAddress?: OrderAddress;
|
|
36
|
+
/** Where the order is billed. */
|
|
37
|
+
billingAddress?: OrderAddress;
|
|
38
|
+
/** Renders one line in place of a repeated billing address. */
|
|
39
|
+
billingSameAsShipping?: boolean;
|
|
40
|
+
/** Turns the identity row into a button. The app decides whether it navigates or opens a panel. */
|
|
41
|
+
onOpenCustomer?: () => void;
|
|
42
|
+
/** Shows an edit button on the shipping address. */
|
|
43
|
+
onEditShipping?: () => void;
|
|
44
|
+
/** Shows an edit button on the billing address. */
|
|
45
|
+
onEditBilling?: () => void;
|
|
46
|
+
/** Overrides this surface's own copy. */
|
|
47
|
+
strings?: StringsProp<OrderCustomerStrings>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type OrderHeaderProps } from './types';
|
|
2
|
+
export declare function OrderHeader({ orderNumber, fulfillmentStatus, paymentStatus, placedAt, source, actions, renderLink, headingTag, className, strings: stringsProp, ...props }: OrderHeaderProps): import("react").JSX.Element;
|
|
3
|
+
export declare namespace OrderHeader {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|