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
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import type { ActionMenuAction, ActionMenuProps } from '../../../base/action-menu';
|
|
3
|
+
import type { HeadingTag } from '../../../typography';
|
|
4
|
+
import type { StringsProp } from '../../../../lib/strings';
|
|
5
|
+
import { type FulfillmentStatus, type OrderStatusVocabulary, type PaymentStatus } from '../shared/order-status';
|
|
6
|
+
export interface OrderHeaderStrings extends OrderStatusVocabulary {
|
|
7
|
+
/** Writes the order's own reference: "#1036". */
|
|
8
|
+
formatOrderNumber: (orderNumber: string) => string;
|
|
9
|
+
/** Joins when the order was placed to where it came from. */
|
|
10
|
+
formatOrigin: (placedAt: string, source: string) => string;
|
|
11
|
+
/** Accessible name of the actions menu trigger. */
|
|
12
|
+
moreActions: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const defaultOrderHeaderStrings: OrderHeaderStrings;
|
|
15
|
+
export interface OrderHeaderProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
16
|
+
/** The order's reference, without the leading sign `formatOrderNumber` adds. */
|
|
17
|
+
orderNumber: string;
|
|
18
|
+
/** Where the goods are. Independent of payment. */
|
|
19
|
+
fulfillmentStatus?: FulfillmentStatus;
|
|
20
|
+
/**
|
|
21
|
+
* Where the money is. Both statuses, one, or neither read correctly: an
|
|
22
|
+
* order with nothing to ship has no fulfillment state to state.
|
|
23
|
+
*/
|
|
24
|
+
paymentStatus?: PaymentStatus;
|
|
25
|
+
/** Already formatted. */
|
|
26
|
+
placedAt?: string;
|
|
27
|
+
/** Where the order came from: a channel, an app, an import. */
|
|
28
|
+
source?: string;
|
|
29
|
+
/** Order commands, offered from one actions menu at the end of the title row. */
|
|
30
|
+
actions?: readonly ActionMenuAction[];
|
|
31
|
+
/** Renders `href` actions through the consumer's router. */
|
|
32
|
+
renderLink?: ActionMenuProps['renderLink'];
|
|
33
|
+
/** Heading level of the order number. Defaults to `h1`: the order is the page's subject. */
|
|
34
|
+
headingTag?: HeadingTag;
|
|
35
|
+
/** Overrides this header's own copy, including the status words. */
|
|
36
|
+
strings?: StringsProp<OrderHeaderStrings>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type OrderLineItemProps } from './types';
|
|
2
|
+
export declare function OrderLineItem({ id, title, variantTitle, sku, imageSrc, imageAlt, unitPrice, quantity, total, properties, children, className, strings: stringsProp, ...props }: OrderLineItemProps): import("react").JSX.Element;
|
|
3
|
+
export declare namespace OrderLineItem {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import type { StringsProp } from '../../../../lib/strings';
|
|
3
|
+
/** A per-line fact the kit did not anticipate: a gift message, an engraving, an interval. */
|
|
4
|
+
export interface OrderLineProperty {
|
|
5
|
+
/** What the fact is. */
|
|
6
|
+
label: ReactNode;
|
|
7
|
+
/** The fact itself. */
|
|
8
|
+
value: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
/** One line of ordered goods, as data. */
|
|
11
|
+
export interface OrderLine {
|
|
12
|
+
/** Stable identity for this line. */
|
|
13
|
+
id: string;
|
|
14
|
+
/** Product name. */
|
|
15
|
+
title: string;
|
|
16
|
+
/** The chosen option: "OS / blue". */
|
|
17
|
+
variantTitle?: string;
|
|
18
|
+
/** Stock-keeping unit, shown as an identifier. */
|
|
19
|
+
sku?: string;
|
|
20
|
+
/** Product image. Without one, or when it fails to load, the line's initials show. */
|
|
21
|
+
imageSrc?: string;
|
|
22
|
+
/** Alternative text for the image. Defaults to the title. */
|
|
23
|
+
imageAlt?: string;
|
|
24
|
+
/** Already formatted, including its currency. */
|
|
25
|
+
unitPrice: string;
|
|
26
|
+
/** Units ordered. */
|
|
27
|
+
quantity: number;
|
|
28
|
+
/**
|
|
29
|
+
* Already formatted. Passed, never multiplied: discounts, tax and proration
|
|
30
|
+
* break `unitPrice × quantity`.
|
|
31
|
+
*/
|
|
32
|
+
total: string;
|
|
33
|
+
/** Per-line custom data, rendered as label/value pairs under the title. */
|
|
34
|
+
properties?: OrderLineProperty[];
|
|
35
|
+
/** Whatever `properties` cannot express, under them. */
|
|
36
|
+
children?: ReactNode;
|
|
37
|
+
}
|
|
38
|
+
export interface OrderLineItemStrings {
|
|
39
|
+
/** Reads the price column aloud: "€50.00 × 1". */
|
|
40
|
+
formatUnitPrice: (unitPrice: string, quantity: number) => string;
|
|
41
|
+
}
|
|
42
|
+
export declare const defaultOrderLineItemStrings: OrderLineItemStrings;
|
|
43
|
+
export interface OrderLineItemProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'id' | 'title'>, OrderLine {
|
|
44
|
+
/** Overrides this row's own copy. */
|
|
45
|
+
strings?: StringsProp<OrderLineItemStrings>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type OrderSummaryProps } from './types';
|
|
2
|
+
export declare function OrderSummary({ goods, total, payments, paymentStatus, alert, surface, padding, headerDivider, className, strings: stringsProp, ...props }: OrderSummaryProps): import("react").JSX.Element;
|
|
3
|
+
export declare namespace OrderSummary {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import type { CardProps } from '../../../base/cards';
|
|
3
|
+
import type { StringsProp } from '../../../../lib/strings';
|
|
4
|
+
import { type PaymentStatus } from '../shared/order-status';
|
|
5
|
+
/** One row of an order's money ledger. */
|
|
6
|
+
export interface SummaryLine {
|
|
7
|
+
/** Stable identity. Falls back to the row's position. */
|
|
8
|
+
id?: string;
|
|
9
|
+
/** What the amount is: "Subtotal", "Paid". */
|
|
10
|
+
label: ReactNode;
|
|
11
|
+
/** A count or rate beside the amount: "3 items", "20%". */
|
|
12
|
+
note?: ReactNode;
|
|
13
|
+
/** Already formatted, including its currency. */
|
|
14
|
+
amount: string;
|
|
15
|
+
/** Money off the customer's total, shown with one U+2212 in success ink. */
|
|
16
|
+
deduction?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface OrderSummaryStrings {
|
|
19
|
+
/** Surface title. */
|
|
20
|
+
title: string;
|
|
21
|
+
/** Label for each `PaymentStatus`. The tone stays derived from the status. */
|
|
22
|
+
payment: Record<PaymentStatus, string>;
|
|
23
|
+
}
|
|
24
|
+
export declare const defaultOrderSummaryStrings: OrderSummaryStrings;
|
|
25
|
+
/** Unframed by default. Set surface="card" to let this owner frame its heading and body. */
|
|
26
|
+
export interface OrderSummaryProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title'>, Pick<CardProps, 'surface' | 'padding' | 'headerDivider'> {
|
|
27
|
+
/** What was ordered: subtotal, discount, shipping, tax. */
|
|
28
|
+
goods: SummaryLine[];
|
|
29
|
+
/** The line the eye should land on, closing the goods ledger. */
|
|
30
|
+
total: SummaryLine;
|
|
31
|
+
/** What has actually moved: paid, refunded, balance. A separate ledger from the goods. */
|
|
32
|
+
payments?: SummaryLine[];
|
|
33
|
+
/** Where the money is, as a chip beside the title. */
|
|
34
|
+
paymentStatus?: PaymentStatus;
|
|
35
|
+
/**
|
|
36
|
+
* Standing information about the balance, below the ledgers as a warning
|
|
37
|
+
* note (`role="note"`): a caveat, not an error.
|
|
38
|
+
*/
|
|
39
|
+
alert?: ReactNode;
|
|
40
|
+
/** Overrides this surface's own copy, including the status words. */
|
|
41
|
+
strings?: StringsProp<OrderSummaryStrings>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type OrderTransactionsProps } from './types';
|
|
2
|
+
export declare function OrderTransactions({ transactions, surface, padding, headerDivider, className, strings: stringsProp, ...props }: OrderTransactionsProps): import("react").JSX.Element;
|
|
3
|
+
export declare namespace OrderTransactions {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import type { CardProps } from '../../../base/cards';
|
|
3
|
+
import type { StringsProp } from '../../../../lib/strings';
|
|
4
|
+
import type { TransactionKind, TransactionStatus } from '../shared/order-status';
|
|
5
|
+
/** One attempt against a payment method. */
|
|
6
|
+
export interface Transaction {
|
|
7
|
+
/** Stable identity for this entry. */
|
|
8
|
+
id: string;
|
|
9
|
+
/** What was attempted. Sets the sign: refunds, voids and chargebacks take money out. */
|
|
10
|
+
kind: TransactionKind;
|
|
11
|
+
/** Whether it worked. */
|
|
12
|
+
status: TransactionStatus;
|
|
13
|
+
/** The magnitude, already formatted. The sign comes from `kind`. */
|
|
14
|
+
amount: string;
|
|
15
|
+
/** Already formatted. */
|
|
16
|
+
processedAt: string;
|
|
17
|
+
/** How it was taken: "Visa ending 4417", "PayPal". */
|
|
18
|
+
method?: string;
|
|
19
|
+
/** The gateway's own identifier. Monospace: it is compared and copied, not read. */
|
|
20
|
+
reference?: string;
|
|
21
|
+
/** Which gateway processed it. */
|
|
22
|
+
gateway?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface OrderTransactionsStrings {
|
|
25
|
+
/** Surface title. */
|
|
26
|
+
title: string;
|
|
27
|
+
/** Label for each `TransactionKind`. */
|
|
28
|
+
kind: Record<TransactionKind, string>;
|
|
29
|
+
/** Chip label for each `TransactionStatus`. A successful attempt shows none. */
|
|
30
|
+
status: Record<TransactionStatus, string>;
|
|
31
|
+
/** Spoken before a gateway reference. */
|
|
32
|
+
reference: string;
|
|
33
|
+
/** Shown, and announced, when there is nothing in the ledger. */
|
|
34
|
+
empty: string;
|
|
35
|
+
}
|
|
36
|
+
export declare const defaultOrderTransactionsStrings: OrderTransactionsStrings;
|
|
37
|
+
/** Unframed by default. Set surface="card" to let this owner frame its heading and body. */
|
|
38
|
+
export interface OrderTransactionsProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title'>, Pick<CardProps, 'surface' | 'padding' | 'headerDivider'> {
|
|
39
|
+
/**
|
|
40
|
+
* Every attempt, oldest first. A failed attempt stays listed: an order that
|
|
41
|
+
* shows only what worked cannot answer why it was never captured.
|
|
42
|
+
*/
|
|
43
|
+
transactions: Transaction[];
|
|
44
|
+
/** Overrides this surface's own copy. */
|
|
45
|
+
strings?: StringsProp<OrderTransactionsStrings>;
|
|
46
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { PaymentMethod } from './payment-method';
|
|
2
|
-
export { defaultPaymentMethodStrings, type PaymentMethodProps, type PaymentMethodStrings, type PaymentBrand, } from './types';
|
|
1
|
+
export { PaymentMethod, PaymentMethodCard } from './payment-method';
|
|
2
|
+
export { defaultPaymentMethodStrings, type PaymentMethodCardProps, type PaymentMethodProps, type PaymentMethodStrings, type PaymentMethodVariant, type PaymentBrand, } from './types';
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { type PaymentMethodProps } from './types';
|
|
2
|
-
export declare function PaymentMethod({ brand, last4, expiry, holderName, default: defaultMethod, onChange, surface, padding, headerDivider, className, strings: stringsProp, }: PaymentMethodProps): import("react").JSX.Element;
|
|
2
|
+
export declare function PaymentMethod({ brand, last4, expiry, holderName, default: defaultMethod, onChange, variant, surface, padding, headerDivider, className, strings: stringsProp, ...props }: PaymentMethodProps): import("react").JSX.Element;
|
|
3
3
|
export declare namespace PaymentMethod {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
6
|
+
/**
|
|
7
|
+
* The source kit's `PaymentMethodCard`: `PaymentMethod` defaulting to the
|
|
8
|
+
* compact `row` identity form. Pass `variant="card"` for the card face.
|
|
9
|
+
*/
|
|
10
|
+
export declare function PaymentMethodCard({ variant, ...props }: PaymentMethodProps): import("react").JSX.Element;
|
|
11
|
+
export declare namespace PaymentMethodCard {
|
|
12
|
+
var displayName: string;
|
|
13
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
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 PaymentBrand = 'visa' | 'mastercard' | 'amex' | 'paypal' | 'applepay' | 'googlepay' | 'unknown';
|
|
5
|
+
/** `card` draws the card face; `row` the compact identity row. */
|
|
6
|
+
export type PaymentMethodVariant = 'card' | 'row';
|
|
4
7
|
export interface PaymentMethodStrings {
|
|
5
8
|
/** Surface title. */
|
|
6
9
|
title: string;
|
|
@@ -8,10 +11,14 @@ export interface PaymentMethodStrings {
|
|
|
8
11
|
cardHolder: string;
|
|
9
12
|
expires: string;
|
|
10
13
|
change: string;
|
|
14
|
+
/** Each brand's name as it is read aloud and shown in the `row` form. */
|
|
15
|
+
brands: Record<PaymentBrand, string>;
|
|
16
|
+
/** Names the method without reading the number aloud: "Visa ending 4242". */
|
|
17
|
+
formatCard: (brand: string, last4: string) => string;
|
|
11
18
|
}
|
|
12
19
|
export declare const defaultPaymentMethodStrings: PaymentMethodStrings;
|
|
13
20
|
/** Unframed by default. Set surface="card" to let this owner frame its heading and body. */
|
|
14
|
-
export interface PaymentMethodProps extends Pick<CardProps, 'surface' | 'padding' | 'headerDivider'> {
|
|
21
|
+
export interface PaymentMethodProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title' | 'onChange'>, Pick<CardProps, 'surface' | 'padding' | 'headerDivider'> {
|
|
15
22
|
/** Card network or wallet. */
|
|
16
23
|
brand: PaymentBrand;
|
|
17
24
|
/** Last four digits, the only card number this component accepts. */
|
|
@@ -28,8 +35,12 @@ export interface PaymentMethodProps extends Pick<CardProps, 'surface' | 'padding
|
|
|
28
35
|
* request to open your own method picker.
|
|
29
36
|
*/
|
|
30
37
|
onChange?: () => void;
|
|
38
|
+
/** `card` (default) draws the card face; `row` the compact identity row. */
|
|
39
|
+
variant?: PaymentMethodVariant;
|
|
31
40
|
/** Merged onto the outermost node. */
|
|
32
41
|
className?: string;
|
|
33
42
|
/** Overrides this surface's own copy. */
|
|
34
43
|
strings?: StringsProp<PaymentMethodStrings>;
|
|
35
44
|
}
|
|
45
|
+
/** Props of `PaymentMethodCard`: `PaymentMethod` with `variant` defaulting to `row`. */
|
|
46
|
+
export type PaymentMethodCardProps = PaymentMethodProps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { RefundStatusCard } from './refund-status';
|
|
2
|
-
export { defaultRefundStatusStrings, type RefundStatusCardProps, type RefundStatusStrings, type RefundStage, } from './types';
|
|
1
|
+
export { RefundStatus, RefundStatusCard } from './refund-status';
|
|
2
|
+
export { defaultRefundStatusStrings, type RefundStatusCardProps, type RefundStatusProps, type RefundStatusStrings, type RefundStage, } from './types';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type RefundStatusCardProps } from './types';
|
|
2
|
-
export declare function RefundStatusCard({ stage, amount, reason, method, eta, requestedAt, className, strings: stringsProp, }: RefundStatusCardProps): import("react").JSX.Element;
|
|
2
|
+
export declare function RefundStatusCard({ stage, amount, reason, method, eta, requestedAt, className, strings: stringsProp, ...props }: RefundStatusCardProps): import("react").JSX.Element;
|
|
3
3
|
export declare namespace RefundStatusCard {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
6
|
+
/** The source kit's name for `RefundStatusCard`; the same component. */
|
|
7
|
+
export declare const RefundStatus: typeof RefundStatusCard;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
1
2
|
import type { StringsProp } from '../../../../lib/strings';
|
|
2
3
|
export type RefundStage = 'requested' | 'approved' | 'processing' | 'completed';
|
|
3
4
|
export interface RefundStatusStrings {
|
|
@@ -17,15 +18,15 @@ export interface RefundStatusStrings {
|
|
|
17
18
|
method: string;
|
|
18
19
|
}
|
|
19
20
|
export declare const defaultRefundStatusStrings: RefundStatusStrings;
|
|
20
|
-
export interface RefundStatusCardProps {
|
|
21
|
+
export interface RefundStatusCardProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title'> {
|
|
21
22
|
/** How far the refund has progressed. */
|
|
22
23
|
stage: RefundStage;
|
|
23
24
|
/** Formatted refund amount. */
|
|
24
25
|
amount: string;
|
|
25
26
|
/** Why the refund was requested. */
|
|
26
|
-
reason?:
|
|
27
|
+
reason?: ReactNode;
|
|
27
28
|
/** Where the money is being returned to. */
|
|
28
|
-
method?:
|
|
29
|
+
method?: ReactNode;
|
|
29
30
|
/** Formatted estimate for the funds landing. */
|
|
30
31
|
eta?: string;
|
|
31
32
|
/** Formatted date the refund was raised. */
|
|
@@ -35,3 +36,5 @@ export interface RefundStatusCardProps {
|
|
|
35
36
|
/** Overrides this surface's own copy. */
|
|
36
37
|
strings?: StringsProp<RefundStatusStrings>;
|
|
37
38
|
}
|
|
39
|
+
/** The source kit's name for `RefundStatusCardProps`. */
|
|
40
|
+
export type RefundStatusProps = RefundStatusCardProps;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AddressLines — the postal block shared by `AddressCard` and `OrderCustomer`.
|
|
3
|
+
*
|
|
4
|
+
* A real `<address>` (with the browser's italic reset), so assistive technology
|
|
5
|
+
* hears contact information rather than loose lines. The recipient leads, the
|
|
6
|
+
* street lines and the city line follow in the main role, and the country
|
|
7
|
+
* recedes; the city line joins only the parts that exist. A phone number, when
|
|
8
|
+
* the address carries one, closes the block as a `Phone` link.
|
|
9
|
+
*
|
|
10
|
+
* Internal to the commerce family: it is the address anatomy, not a public
|
|
11
|
+
* component.
|
|
12
|
+
*/
|
|
13
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
14
|
+
import type { OrderAddress } from './order-status';
|
|
15
|
+
export interface AddressLinesProps extends Omit<ComponentPropsWithoutRef<'address'>, 'children'> {
|
|
16
|
+
/** The address to render. */
|
|
17
|
+
address: OrderAddress;
|
|
18
|
+
/** Sets the recipient in semibold, for a surface that leads on the name. */
|
|
19
|
+
prominent?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare function AddressLines({ address, prominent, className, ...props }: AddressLinesProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface LineThumbnailProps {
|
|
2
|
+
/** Image source. Optional: without one the initials show. */
|
|
3
|
+
src?: string;
|
|
4
|
+
/** Alternative text. Defaults to `title`. */
|
|
5
|
+
alt?: string;
|
|
6
|
+
/** The line's name, used for the initials and as the default alt text. */
|
|
7
|
+
title: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function LineThumbnail({ src, alt, title }: LineThumbnailProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The order vocabularies the order surfaces share. Goods and money move
|
|
3
|
+
* independently ("refunded, still unfulfilled"), so an order carries two status
|
|
4
|
+
* axes. Each union has exactly one tone map, and no order surface takes a tone
|
|
5
|
+
* prop that could disagree with its status.
|
|
6
|
+
*
|
|
7
|
+
* Primary stays off every status chip: it is the one main command. A state the
|
|
8
|
+
* order is moving through reads `info`; a starting state that needs attention
|
|
9
|
+
* reads `warning`, not `destructive`.
|
|
10
|
+
*/
|
|
11
|
+
import type { BadgeTone } from '../../../base/badge';
|
|
12
|
+
/** Where the goods are. */
|
|
13
|
+
export type FulfillmentStatus = 'unfulfilled' | 'partiallyFulfilled' | 'fulfilled' | 'scheduled' | 'onHold' | 'cancelled';
|
|
14
|
+
export declare const fulfillmentStatusTone: Record<FulfillmentStatus, BadgeTone>;
|
|
15
|
+
/** Where the money is. */
|
|
16
|
+
export type PaymentStatus = 'pending' | 'authorized' | 'paid' | 'partiallyRefunded' | 'refunded' | 'voided';
|
|
17
|
+
export declare const paymentStatusTone: Record<PaymentStatus, BadgeTone>;
|
|
18
|
+
/** What was attempted against the payment method. */
|
|
19
|
+
export type TransactionKind = 'authorization' | 'capture' | 'sale' | 'refund' | 'void' | 'chargeback';
|
|
20
|
+
/** Whether the attempt worked. */
|
|
21
|
+
export type TransactionStatus = 'success' | 'pending' | 'failure';
|
|
22
|
+
export declare const transactionStatusTone: Record<TransactionStatus, BadgeTone>;
|
|
23
|
+
/** Kinds that take money out of the merchant. They set the sign; callers pass the magnitude. */
|
|
24
|
+
export declare const outgoingTransactionKinds: ReadonlySet<TransactionKind>;
|
|
25
|
+
/** A postal address as an order carries it. `AddressCard` keeps its own flat props. */
|
|
26
|
+
export interface OrderAddress {
|
|
27
|
+
/** Recipient. */
|
|
28
|
+
name?: string;
|
|
29
|
+
/** Street address. */
|
|
30
|
+
line1: string;
|
|
31
|
+
/** Apartment, suite, or unit. */
|
|
32
|
+
line2?: string;
|
|
33
|
+
/** City or town. */
|
|
34
|
+
city: string;
|
|
35
|
+
/** State, province, or region. */
|
|
36
|
+
region?: string;
|
|
37
|
+
/** Postal or ZIP code. */
|
|
38
|
+
postalCode?: string;
|
|
39
|
+
/** Country name or code. */
|
|
40
|
+
country: string;
|
|
41
|
+
/** Contact number for the delivery. */
|
|
42
|
+
phone?: string;
|
|
43
|
+
}
|
|
44
|
+
/** The words for both status axes. Tones stay derived from the status. */
|
|
45
|
+
export interface OrderStatusVocabulary {
|
|
46
|
+
/** Label for each `FulfillmentStatus`. */
|
|
47
|
+
fulfillment: Record<FulfillmentStatus, string>;
|
|
48
|
+
/** Label for each `PaymentStatus`. */
|
|
49
|
+
payment: Record<PaymentStatus, string>;
|
|
50
|
+
}
|
|
51
|
+
export declare const defaultOrderStatusVocabulary: OrderStatusVocabulary;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ShipmentTrackingProps } from './types';
|
|
2
|
-
export declare function ShipmentTracking({ trackingNumber, carrier, status, steps, details, className, strings: stringsProp, }: ShipmentTrackingProps): import("react").JSX.Element;
|
|
2
|
+
export declare function ShipmentTracking({ trackingNumber, carrier, status, steps, details, onCopyTracking, className, strings: stringsProp, ...props }: ShipmentTrackingProps): import("react").JSX.Element;
|
|
3
3
|
export declare namespace ShipmentTracking {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,24 +1,43 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import type { BadgeTone } from '../../../base/badge';
|
|
1
3
|
import type { StringsProp } from '../../../../lib/strings';
|
|
2
4
|
/**
|
|
3
5
|
* Transit stage. Drives the status label (through `strings`) and the tone of
|
|
4
|
-
* the status
|
|
6
|
+
* the status chip, so a delayed shipment can never be painted as a healthy one.
|
|
5
7
|
*/
|
|
6
8
|
export type ShipmentStatus = 'pending' | 'in_transit' | 'delivered' | 'delayed';
|
|
7
|
-
/**
|
|
8
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Chip tone per stage. `delayed` is a warning, not an error: the parcel is
|
|
11
|
+
* still coming. Primary stays off status chips.
|
|
12
|
+
*/
|
|
13
|
+
export declare const shipmentStatusTone: Record<ShipmentStatus, BadgeTone>;
|
|
9
14
|
export interface TrackingStep {
|
|
15
|
+
/** Stable identity. Falls back to the label and position, so repeated labels never collide. */
|
|
16
|
+
id?: string;
|
|
10
17
|
/** Display label. */
|
|
11
18
|
label: string;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the parcel has reached this checkpoint. The latest reached
|
|
21
|
+
* checkpoint stays current until the shipment is delivered.
|
|
22
|
+
*/
|
|
12
23
|
done: boolean;
|
|
24
|
+
/** Already formatted. When the checkpoint was reached: a parcel's rail is a log, not a plan. */
|
|
25
|
+
timestamp?: string;
|
|
13
26
|
}
|
|
14
27
|
export interface ShipmentDetail {
|
|
15
28
|
/** Display label. */
|
|
16
29
|
label: string;
|
|
17
|
-
value:
|
|
30
|
+
value: ReactNode;
|
|
18
31
|
}
|
|
19
32
|
export interface ShipmentTrackingStrings {
|
|
20
|
-
/**
|
|
33
|
+
/** Surface title. */
|
|
21
34
|
title: string;
|
|
35
|
+
/** Label of the tracking-number row. */
|
|
36
|
+
trackingNumber: string;
|
|
37
|
+
/** Label of the carrier row. */
|
|
38
|
+
carrier: string;
|
|
39
|
+
/** Accessible name of the copy button beside the tracking number. */
|
|
40
|
+
copyTrackingNumber: string;
|
|
22
41
|
/** Status label for each `ShipmentStatus`. */
|
|
23
42
|
pending: string;
|
|
24
43
|
in_transit: string;
|
|
@@ -26,7 +45,7 @@ export interface ShipmentTrackingStrings {
|
|
|
26
45
|
delayed: string;
|
|
27
46
|
}
|
|
28
47
|
export declare const defaultShipmentTrackingStrings: ShipmentTrackingStrings;
|
|
29
|
-
export interface ShipmentTrackingProps {
|
|
48
|
+
export interface ShipmentTrackingProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title'> {
|
|
30
49
|
/** Carrier tracking reference. */
|
|
31
50
|
trackingNumber: string;
|
|
32
51
|
/** Carrier handling the shipment. */
|
|
@@ -37,6 +56,8 @@ export interface ShipmentTrackingProps {
|
|
|
37
56
|
steps: TrackingStep[];
|
|
38
57
|
/** Label/value facts about the shipment. */
|
|
39
58
|
details?: ShipmentDetail[];
|
|
59
|
+
/** Fired after the tracking number is copied to the clipboard. */
|
|
60
|
+
onCopyTracking?: (trackingNumber: string) => void;
|
|
40
61
|
/** Merged onto the outermost node. */
|
|
41
62
|
className?: string;
|
|
42
63
|
/** Overrides this surface's own copy. */
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
export interface AmountRowProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
3
|
+
/** What the amount is: "Subtotal", "Shipping". */
|
|
4
|
+
label: ReactNode;
|
|
5
|
+
/** Already formatted, including its currency. This row totals nothing itself. */
|
|
6
|
+
amount: string;
|
|
7
|
+
/** A rate or qualifier ("20%", "3 items") that sits quietly beside the amount. */
|
|
8
|
+
note?: ReactNode;
|
|
9
|
+
/** Marks the row the eye should land on: a total, an amount due. */
|
|
10
|
+
total?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Money coming off the total. Rewrites whatever sign the caller passed to
|
|
13
|
+
* one U+2212 and sets the figure in success ink: a deduction reads as a gain
|
|
14
|
+
* to whoever is paying.
|
|
15
|
+
*/
|
|
16
|
+
deduction?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Rules this row off from the rows above it, for a grand total under the
|
|
19
|
+
* breakdown it rolls up. It is the only rule a ledger draws.
|
|
20
|
+
*/
|
|
21
|
+
rollup?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface SummaryPanelProps extends ComponentPropsWithoutRef<'div'> {
|
|
24
|
+
/** `AmountRow`s, top to bottom. */
|
|
25
|
+
children?: ReactNode;
|
|
26
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type TaxBreakdownCardProps } from './types';
|
|
2
|
-
export declare function TaxBreakdownCard({ subtotal, taxes, totalTax, total, className, strings: stringsProp, }: TaxBreakdownCardProps): import("react").JSX.Element;
|
|
2
|
+
export declare function TaxBreakdownCard({ subtotal, taxes, totalTax, total, className, strings: stringsProp, ...props }: TaxBreakdownCardProps): import("react").JSX.Element;
|
|
3
3
|
export declare namespace TaxBreakdownCard {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
1
2
|
import type { StringsProp } from '../../../../lib/strings';
|
|
2
3
|
export interface TaxLineItem {
|
|
3
4
|
/** Stable identity for this entry. */
|
|
@@ -18,7 +19,7 @@ export interface TaxBreakdownStrings {
|
|
|
18
19
|
total: string;
|
|
19
20
|
}
|
|
20
21
|
export declare const defaultTaxBreakdownStrings: TaxBreakdownStrings;
|
|
21
|
-
export interface TaxBreakdownCardProps {
|
|
22
|
+
export interface TaxBreakdownCardProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title'> {
|
|
22
23
|
/** Formatted amount before tax. */
|
|
23
24
|
subtotal: string;
|
|
24
25
|
/** Individual tax lines making up the total. */
|
|
@@ -6,15 +6,18 @@
|
|
|
6
6
|
* - `inline`: label sits immediately before the value, separator-style.
|
|
7
7
|
* - `stacked`: label above (xs secondary), value below (md).
|
|
8
8
|
*
|
|
9
|
-
* `
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
9
|
+
* The value takes the shared `Value` text role at the provider text size.
|
|
10
|
+
* `valueWeight` emphasises a fact or a total through that role. `mono`
|
|
11
|
+
* switches the value to the monospace identifier role (references, codes,
|
|
12
|
+
* keys). Amounts, counts, percentages and dates stay in the sans UI font: pass
|
|
13
|
+
* `valueClassName="tabular-nums"` (or a value primitive such as `Money` /
|
|
14
|
+
* `Percent`, which are already tabular) when figures should align. Keep
|
|
15
|
+
* `valueClassName` for layout (alignment, truncation, figures); the
|
|
16
|
+
* surrounding row is intentionally plain so consumers can stack many of these
|
|
17
|
+
* without visual clutter.
|
|
16
18
|
*/
|
|
17
19
|
import type { ReactNode } from 'react';
|
|
20
|
+
import { type ValueProps } from '../../../primitives';
|
|
18
21
|
export type InlineStatLayout = 'between' | 'inline' | 'stacked';
|
|
19
22
|
export interface InlineStatProps {
|
|
20
23
|
/** Display label. Scalar labels use DisplayLabel; rich content owns its typography. */
|
|
@@ -25,6 +28,11 @@ export interface InlineStatProps {
|
|
|
25
28
|
layout?: InlineStatLayout;
|
|
26
29
|
/** Renders the value in tabular monospace figures. */
|
|
27
30
|
mono?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Weight of the value's text role. Defaults to the role weight: regular, or
|
|
33
|
+
* medium with `mono`. Use `medium` for emphasised facts and `semibold` for totals.
|
|
34
|
+
*/
|
|
35
|
+
valueWeight?: ValueProps['weight'];
|
|
28
36
|
/** Merged onto the outermost node. */
|
|
29
37
|
className?: string;
|
|
30
38
|
/** Merged onto the label. */
|
|
@@ -32,7 +40,7 @@ export interface InlineStatProps {
|
|
|
32
40
|
/** Merged onto the value. */
|
|
33
41
|
valueClassName?: string;
|
|
34
42
|
}
|
|
35
|
-
export declare function InlineStat({ label, value, layout, mono, className, labelClassName, valueClassName, }: InlineStatProps): import("react").JSX.Element;
|
|
43
|
+
export declare function InlineStat({ label, value, layout, mono, valueWeight, className, labelClassName, valueClassName, }: InlineStatProps): import("react").JSX.Element;
|
|
36
44
|
export declare namespace InlineStat {
|
|
37
45
|
var displayName: string;
|
|
38
46
|
}
|
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Deprecated compatibility path.
|
|
3
|
+
*
|
|
4
|
+
* MetadataList is a base structure, not a block: it composes typography,
|
|
5
|
+
* primitives and base display parts. It moved to
|
|
6
|
+
* `themelia-react-ui/base/metadata-list`; these re-exports keep existing
|
|
7
|
+
* `themelia-react-ui/blocks/data-display` imports working through 2.x.
|
|
8
|
+
*/
|
|
9
|
+
export {
|
|
10
|
+
/** @deprecated Import from `themelia-react-ui/base/metadata-list`. */
|
|
11
|
+
MetadataList,
|
|
12
|
+
/** @deprecated Import from `themelia-react-ui/base/metadata-list`. */
|
|
13
|
+
MetadataValue, } from '../../../base/metadata-list';
|
|
14
|
+
export type {
|
|
15
|
+
/** @deprecated Import from `themelia-react-ui/base/metadata-list`. */
|
|
16
|
+
MetadataDensity,
|
|
17
|
+
/** @deprecated Import from `themelia-react-ui/base/metadata-list`. */
|
|
18
|
+
MetadataInlineListItem,
|
|
19
|
+
/** @deprecated Import from `themelia-react-ui/base/metadata-list`. */
|
|
20
|
+
MetadataLayout,
|
|
21
|
+
/** @deprecated Import from `themelia-react-ui/base/metadata-list`. */
|
|
22
|
+
MetadataListItem,
|
|
23
|
+
/** @deprecated Import from `themelia-react-ui/base/metadata-list`. */
|
|
24
|
+
MetadataListProps,
|
|
25
|
+
/** @deprecated Import from `themelia-react-ui/base/metadata-list`. */
|
|
26
|
+
MetadataValueDescriptor,
|
|
27
|
+
/** @deprecated Import from `themelia-react-ui/base/metadata-list`. */
|
|
28
|
+
MetadataValueKind,
|
|
29
|
+
/** @deprecated Import from `themelia-react-ui/base/metadata-list`. */
|
|
30
|
+
MetadataValueProps, } from '../../../base/metadata-list';
|