themelia-react-ui 1.0.2 → 2.0.1
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 +632 -1
- package/README.md +31 -13
- package/dist/accordion-B6a3vVgA.js +207 -0
- package/dist/accordion-B6a3vVgA.js.map +1 -0
- package/dist/action-menu-TzCoSlwL.js +280 -0
- package/dist/action-menu-TzCoSlwL.js.map +1 -0
- package/dist/{affordance-geometry.generated-CL84ZN9A.js → affordance-geometry.generated-B5iu-Mkr.js} +9 -3
- package/dist/affordance-geometry.generated-B5iu-Mkr.js.map +1 -0
- package/dist/{ai-artifact-DLVdK0Py.js → ai-artifact-BMJdv-6q.js} +389 -391
- package/dist/ai-artifact-BMJdv-6q.js.map +1 -0
- package/dist/{app-shell-C_fKpljx.js → app-shell-ZK5RWdo6.js} +4 -4
- package/dist/{app-shell-C_fKpljx.js.map → app-shell-ZK5RWdo6.js.map} +1 -1
- package/dist/attachment-BtfhGm8i.js +245 -0
- package/dist/attachment-BtfhGm8i.js.map +1 -0
- package/dist/{auth-CAQcasMV.js → auth-CYxKfo69.js} +239 -237
- package/dist/auth-CYxKfo69.js.map +1 -0
- package/dist/{avatar-Bu2HhitA.js → avatar-BBnEJIx8.js} +71 -68
- package/dist/avatar-BBnEJIx8.js.map +1 -0
- package/dist/badge-MrKVNzW9.js +93 -0
- package/dist/badge-MrKVNzW9.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 +19 -19
- package/dist/base/carousel.js.map +1 -1
- package/dist/base/cascader.js +234 -224
- 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 +1 -1
- 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 +81 -76
- 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 +7 -4
- package/dist/base/qr-code.js.map +1 -1
- package/dist/base/repeaters.js +175 -174
- 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 +148 -138
- package/dist/base/signature-pad.js.map +1 -1
- package/dist/base/skeleton.js +1 -1
- package/dist/base/spinner.js +1 -1
- 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 +4 -4
- 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-BZGDG-Si.js +104 -0
- package/dist/batch-action-bar-BZGDG-Si.js.map +1 -0
- package/dist/blocks/admin.js +264 -253
- package/dist/blocks/admin.js.map +1 -1
- package/dist/blocks/ai.js +293 -323
- package/dist/blocks/ai.js.map +1 -1
- package/dist/blocks/analytics/usage-card.js +1 -1
- package/dist/blocks/analytics.js +596 -587
- 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 +2246 -1693
- package/dist/blocks/commerce.js.map +1 -1
- package/dist/blocks/data-display.js +3 -2
- package/dist/blocks/onboarding.js +50 -49
- package/dist/blocks/onboarding.js.map +1 -1
- package/dist/blocks/planning.js +82 -91
- package/dist/blocks/planning.js.map +1 -1
- package/dist/blocks/timelines.js +1 -1
- package/dist/breadcrumbs-D5t7I023.js +129 -0
- package/dist/breadcrumbs-D5t7I023.js.map +1 -0
- package/dist/{button-BZyfTvwm.js → button-QYwiyhD2.js} +15 -14
- package/dist/button-QYwiyhD2.js.map +1 -0
- package/dist/buttons-SbIcm1HJ.js +661 -0
- package/dist/buttons-SbIcm1HJ.js.map +1 -0
- package/dist/{cards-qGSErLw_.js → cards-CiiHpKYd.js} +8 -8
- package/dist/cards-CiiHpKYd.js.map +1 -0
- package/dist/{chart-Bsc5BICK.js → chart-QfrARkXl.js} +17 -15
- package/dist/chart-QfrARkXl.js.map +1 -0
- package/dist/checkbox-DhB6K0bK.js +36 -0
- package/dist/checkbox-DhB6K0bK.js.map +1 -0
- package/dist/choice-inputs-t6w3ATNz.js +766 -0
- package/dist/choice-inputs-t6w3ATNz.js.map +1 -0
- package/dist/code-block-Dgbu-CU3.js +185 -0
- package/dist/code-block-Dgbu-CU3.js.map +1 -0
- package/dist/{collapsible-ClvC7Bj3.js → collapsible-D8AEGU1-.js} +4 -4
- package/dist/{collapsible-ClvC7Bj3.js.map → collapsible-D8AEGU1-.js.map} +1 -1
- package/dist/{collection-content-D6S8cv_n.js → collection-content-uK16Grv0.js} +3 -3
- package/dist/{collection-content-D6S8cv_n.js.map → collection-content-uK16Grv0.js.map} +1 -1
- package/dist/{combobox-BFnbJJp3.js → combobox-2Ic8N9bL.js} +103 -98
- package/dist/combobox-2Ic8N9bL.js.map +1 -0
- package/dist/combobox-DLl0bfiq.js +867 -0
- package/dist/combobox-DLl0bfiq.js.map +1 -0
- package/dist/{command-BnmSchli.js → command-kNR20o7x.js} +34 -30
- package/dist/command-kNR20o7x.js.map +1 -0
- package/dist/{comments-u5L0OGip.js → comments-BpDuCUUu.js} +304 -301
- package/dist/comments-BpDuCUUu.js.map +1 -0
- package/dist/components/base/accordion/accordion-variants.d.ts +3 -3
- package/dist/components/base/action-menu/action-menu.d.ts +27 -5
- 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/avatar/stacked-avatars.d.ts +5 -4
- package/dist/components/base/badge/badge.d.ts +1 -1
- package/dist/components/base/badge/badge.recipes.d.ts +6 -6
- 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/base-button.d.ts +7 -0
- package/dist/components/base/buttons/button-group.recipes.d.ts +2 -2
- package/dist/components/base/buttons/button.recipes.d.ts +2 -2
- package/dist/components/base/buttons/button.variants.d.ts +1 -0
- package/dist/components/base/buttons/loader-button.d.ts +3 -1
- package/dist/components/base/buttons/text-button.d.ts +2 -2
- package/dist/components/base/carousel/carousel.d.ts +3 -1
- package/dist/components/base/chart/chart.d.ts +7 -7
- package/dist/components/base/choice-inputs/checkbox.d.ts +6 -7
- package/dist/components/base/choice-inputs/choice-types.d.ts +24 -3
- package/dist/components/base/choice-inputs/pill-radio-group.d.ts +9 -0
- package/dist/components/base/choice-inputs/select-popup.d.ts +9 -1
- package/dist/components/base/choice-inputs/switch-card.d.ts +1 -1
- package/dist/components/base/date-pickers/date-picker-field.d.ts +23 -0
- package/dist/components/base/date-pickers/datepicker.types.d.ts +13 -3
- package/dist/components/base/display/alert-dialog.d.ts +10 -3
- package/dist/components/base/display/content-block.d.ts +4 -2
- package/dist/components/base/display/date-block.d.ts +1 -1
- package/dist/components/base/display/dialog.d.ts +8 -5
- package/dist/components/base/display/icon-badge/icon-badge.d.ts +1 -1
- package/dist/components/base/display/surface-title.d.ts +6 -1
- package/dist/components/base/feedback/alert.d.ts +1 -1
- package/dist/components/base/feedback/state-display.d.ts +5 -4
- package/dist/components/base/forms/form-sizing.d.ts +43 -8
- package/dist/components/base/forms/workflow.d.ts +2 -0
- package/dist/components/base/forms-numeric/coordinates-input.d.ts +3 -0
- package/dist/components/base/forms-numeric/rounding-mode-select.d.ts +4 -1
- 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/dropdown-menu.d.ts +2 -2
- package/dist/components/base/navigation/index.d.ts +1 -1
- package/dist/components/base/navigation/language-switcher.d.ts +4 -1
- package/dist/components/base/navigation/overflow-tab-bar.d.ts +7 -0
- 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 +30 -4
- package/dist/components/base/qr-code/qr-code.d.ts +2 -0
- package/dist/components/base/sheet/index.d.ts +29 -1
- package/dist/components/base/sheet/sheet.d.ts +10 -5
- 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/spinner/spinner.d.ts +3 -2
- package/dist/components/base/structure/structure.types.d.ts +1 -1
- 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 +33 -0
- package/dist/components/base/value-inputs/date-time-input.d.ts +4 -2
- package/dist/components/base/value-inputs/index.d.ts +5 -5
- package/dist/components/base/value-inputs/tags-input.d.ts +38 -12
- package/dist/components/blocks/admin/api-key-list/api-key-list.types.d.ts +1 -1
- package/dist/components/blocks/analytics/format-metric-value.d.ts +11 -1
- package/dist/components/blocks/analytics/index.d.ts +1 -1
- package/dist/components/blocks/analytics/use-metric-format-options.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 +4 -1
- package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.d.ts +4 -0
- package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.types.d.ts +2 -2
- 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 +43 -0
- package/dist/components/blocks/commerce/index.d.ts +13 -5
- package/dist/components/blocks/commerce/inventory-section/types.d.ts +4 -1
- 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/loyalty-points/types.d.ts +1 -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-status/types.d.ts +4 -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 +14 -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/seo-listing/seo-listing-card.d.ts +1 -1
- package/dist/components/blocks/commerce/seo-listing/types.d.ts +3 -1
- 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/commerce/vendor-profile/types.d.ts +4 -1
- package/dist/components/blocks/data-display/dense-info-card/dense-info.strings.d.ts +4 -1
- package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +4 -1
- package/dist/components/blocks/data-display/metadata/index.d.ts +30 -4
- 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/global-search/partials/global-search-group-heading.d.ts +15 -0
- package/dist/components/features/global-search/partials/global-search-idle-state.d.ts +1 -1
- 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 +4 -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/drawer.d.ts +1 -1
- package/dist/components/features/overlays/hooks/use-overlay-actions.d.ts +2 -2
- package/dist/components/features/overlays/hooks/use-overlay-visibility.d.ts +11 -4
- package/dist/components/features/overlays/index.d.ts +1 -1
- package/dist/components/features/overlays/overlay-tone-icon.d.ts +37 -0
- package/dist/components/features/overlays/overlays.types.d.ts +62 -19
- 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/components/product-variants-manager.d.ts +1 -1
- package/dist/components/features/products/partials/index.d.ts +1 -1
- package/dist/components/features/products/partials/product-metric-tile.d.ts +6 -0
- package/dist/components/features/products/partials/product-tone.d.ts +11 -1
- package/dist/components/features/products/products.types.d.ts +11 -3
- 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 +1 -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 +45 -0
- 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/partials/cell-renderers.d.ts +1 -1
- package/dist/components/features/table/table.types.d.ts +32 -7
- package/dist/components/layout/page/index.d.ts +1 -1
- package/dist/components/layout/page/page.types.d.ts +51 -4
- 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/date.d.ts +16 -3
- package/dist/components/primitives/dimensions.d.ts +6 -0
- package/dist/components/primitives/duration.d.ts +6 -0
- package/dist/components/primitives/file-size.d.ts +6 -0
- package/dist/components/primitives/index.d.ts +1 -1
- package/dist/components/primitives/initials.d.ts +11 -2
- package/dist/components/primitives/link.d.ts +7 -0
- package/dist/components/primitives/money.d.ts +29 -7
- package/dist/components/primitives/number.d.ts +17 -0
- package/dist/components/primitives/value-typography.d.ts +54 -0
- package/dist/components/primitives/value.d.ts +31 -6
- package/dist/components/typography/heading.d.ts +9 -1
- package/dist/components/typography/label.d.ts +3 -0
- 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/running-text.d.ts +12 -0
- package/dist/components/typography/text-link.d.ts +24 -1
- package/dist/components/typography/text.d.ts +12 -0
- package/dist/components/typography/text.styles.d.ts +35 -13
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/checkbox.d.ts +6 -0
- package/dist/components/ui/overlay.recipes.d.ts +6 -2
- package/dist/components/ui/select.d.ts +3 -1
- package/dist/components/ui/switch.d.ts +5 -0
- package/dist/{containers-DqB-bSYE.js → containers-DmWiJa2I.js} +36 -35
- package/dist/containers-DmWiJa2I.js.map +1 -0
- package/dist/{copyable-BTSByfmq.js → copyable-B3Gwgdqc.js} +6 -6
- package/dist/{copyable-BTSByfmq.js.map → copyable-B3Gwgdqc.js.map} +1 -1
- package/dist/data-display-DafIvCl5.js +960 -0
- package/dist/data-display-DafIvCl5.js.map +1 -0
- package/dist/date-BgK3bTdo.js +144 -0
- package/dist/date-BgK3bTdo.js.map +1 -0
- package/dist/date-picker-CF-DtUpF.js +1529 -0
- package/dist/date-picker-CF-DtUpF.js.map +1 -0
- package/dist/date-pickers-BmzxJl5l.js +174 -0
- package/dist/date-pickers-BmzxJl5l.js.map +1 -0
- package/dist/{display-CS6Hbk18.js → display-DsQTVzMz.js} +88 -87
- package/dist/display-DsQTVzMz.js.map +1 -0
- package/dist/{dropdown-menu-D-boNgGO.js → dropdown-menu-E2qmdC7o.js} +23 -16
- package/dist/dropdown-menu-E2qmdC7o.js.map +1 -0
- package/dist/features/activities.js +437 -521
- package/dist/features/activities.js.map +1 -1
- package/dist/features/ai-chat.js +174 -172
- package/dist/features/ai-chat.js.map +1 -1
- package/dist/features/async-preview.js +8 -8
- 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 +139 -138
- package/dist/features/data-view.js.map +1 -1
- package/dist/features/email-composer/engine.js +1 -1
- package/dist/features/email-composer.js +353 -352
- package/dist/features/email-composer.js.map +1 -1
- package/dist/features/event-calendar.js +262 -269
- package/dist/features/event-calendar.js.map +1 -1
- package/dist/features/filters.js +1 -1
- package/dist/features/global-search.js +307 -310
- package/dist/features/global-search.js.map +1 -1
- package/dist/features/kanban.js +95 -97
- package/dist/features/kanban.js.map +1 -1
- package/dist/features/map.js +56 -57
- package/dist/features/map.js.map +1 -1
- package/dist/features/media-library.js +914 -824
- 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 +1272 -1311
- package/dist/features/products.js.map +1 -1
- package/dist/features/questionnaire.js +204 -194
- package/dist/features/questionnaire.js.map +1 -1
- package/dist/features/resource-assignment.js +103 -95
- 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 +193 -189
- package/dist/features/schema-form.js.map +1 -1
- package/dist/features/suggestions.js +3 -3
- package/dist/features/sync.js +7 -7
- package/dist/features/sync.js.map +1 -1
- package/dist/features/table.js +1 -1
- package/dist/features/theme-tweaker.js +455 -455
- package/dist/features/theme-tweaker.js.map +1 -1
- package/dist/feedback-qNuMBtRH.js +233 -0
- package/dist/feedback-qNuMBtRH.js.map +1 -0
- package/dist/field-affordance-recipes-qQeIf4lG.js +48 -0
- package/dist/field-affordance-recipes-qQeIf4lG.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-D6FF8L6s.js → filters-BkHH53uv.js} +414 -412
- package/dist/filters-BkHH53uv.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-CZwrkP7m.js → form-field-DUt4UxSV.js} +7 -7
- package/dist/{form-field-CZwrkP7m.js.map → form-field-DUt4UxSV.js.map} +1 -1
- package/dist/form-sizing-By94KzXE.js +130 -0
- package/dist/form-sizing-By94KzXE.js.map +1 -0
- package/dist/{forms-B5NCbkSC.js → forms-Bzha-Y3B.js} +25 -25
- package/dist/forms-Bzha-Y3B.js.map +1 -0
- package/dist/forms-numeric-C0bvjRPZ.js +906 -0
- package/dist/forms-numeric-C0bvjRPZ.js.map +1 -0
- package/dist/{header-kxruN3RM.js → header-BOefOKd1.js} +38 -41
- package/dist/header-BOefOKd1.js.map +1 -0
- package/dist/{hooks-BrlnCwQd.js → hooks-9k_TtmKh.js} +2 -2
- package/dist/{hooks-BrlnCwQd.js.map → hooks-9k_TtmKh.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-CAuKupo9.js +55 -0
- package/dist/icon-badge-CAuKupo9.js.map +1 -0
- package/dist/index.js +7 -7
- package/dist/input-DWhBBBww.js +262 -0
- package/dist/input-DWhBBBww.js.map +1 -0
- package/dist/{input-vxcaNCYC.js → input-Ddi_LSYv.js} +3 -3
- package/dist/{input-vxcaNCYC.js.map → input-Ddi_LSYv.js.map} +1 -1
- package/dist/interaction-recipes-CHr0dJUs.js +24 -0
- package/dist/interaction-recipes-CHr0dJUs.js.map +1 -0
- package/dist/item-DEmDiTlD.js +265 -0
- package/dist/item-DEmDiTlD.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 +7 -1
- package/dist/lib/field-affordance-recipes.d.ts +41 -1
- package/dist/lib/field-state-recipes.d.ts +9 -6
- package/dist/lib/focus-recipes.d.ts +24 -0
- package/dist/lib/format.d.ts +9 -0
- package/dist/lib/interaction-recipes.d.ts +35 -0
- package/dist/lib/layer-recipes.d.ts +19 -0
- package/dist/lib/money-format.d.ts +30 -0
- package/dist/lib/motion-recipes.d.ts +1 -0
- package/dist/lib/overlay-anatomy-recipes.d.ts +2 -1
- 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 +48 -6
- package/dist/lib/token-merge.generated.d.ts +17 -14
- package/dist/lib/tone-recipes.d.ts +79 -0
- package/dist/lib/track-recipes.d.ts +1 -1
- 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/provider.d.ts +7 -2
- package/dist/lib/ui-provider/store.d.ts +6 -2
- package/dist/lib/ui-provider/types.d.ts +14 -2
- package/dist/lib/utils.js +1 -1
- package/dist/media-gallery-DcTtAaeC.js +203 -0
- package/dist/media-gallery-DcTtAaeC.js.map +1 -0
- package/dist/mentions-D-uyCh01.js +568 -0
- package/dist/mentions-D-uyCh01.js.map +1 -0
- package/dist/{message-SZUNB1eX.js → message-CdHgIWKf.js} +5 -5
- package/dist/{message-SZUNB1eX.js.map → message-CdHgIWKf.js.map} +1 -1
- package/dist/metadata-list-X5rYAKSB.js +394 -0
- package/dist/metadata-list-X5rYAKSB.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-D3KwXmaq.js +145 -0
- package/dist/navigation-D3KwXmaq.js.map +1 -0
- package/dist/navigation-HJf5zxlH.js +268 -0
- package/dist/navigation-HJf5zxlH.js.map +1 -0
- package/dist/{navigation-row-recipes-DQEXQcqY.js → navigation-row-recipes-BVowojQw.js} +2 -2
- package/dist/{navigation-row-recipes-DQEXQcqY.js.map → navigation-row-recipes-BVowojQw.js.map} +1 -1
- package/dist/number-DMhe-Vsk.js +352 -0
- package/dist/number-DMhe-Vsk.js.map +1 -0
- package/dist/overflow-tab-bar-sQHXLlwQ.js +280 -0
- package/dist/overflow-tab-bar-sQHXLlwQ.js.map +1 -0
- package/dist/overlay.recipes-8GHqmlb4.js +6 -0
- package/dist/overlay.recipes-8GHqmlb4.js.map +1 -0
- package/dist/overlays-I0axtYA6.js +999 -0
- package/dist/overlays-I0axtYA6.js.map +1 -0
- package/dist/{page-hGmT4nWK.js → page-B5dTH9gE.js} +79 -68
- package/dist/page-B5dTH9gE.js.map +1 -0
- package/dist/page-header-commands-DjzFEq3E.js +126 -0
- package/dist/page-header-commands-DjzFEq3E.js.map +1 -0
- package/dist/{pagination-NLGqRirf.js → pagination-3bPA_a6K.js} +19 -19
- package/dist/{pagination-NLGqRirf.js.map → pagination-3bPA_a6K.js.map} +1 -1
- package/dist/{popover-CghIYdQf.js → popover-Di55PyAI.js} +8 -8
- package/dist/popover-Di55PyAI.js.map +1 -0
- package/dist/{popover-menu-B4PoWhRl.js → popover-menu-B71Tn2Qz.js} +6 -6
- package/dist/{popover-menu-B4PoWhRl.js.map → popover-menu-B71Tn2Qz.js.map} +1 -1
- package/dist/{popover.recipes-QlD4JenO.js → popover.recipes-Bdyhj2db.js} +2 -2
- package/dist/{popover.recipes-QlD4JenO.js.map → popover.recipes-Bdyhj2db.js.map} +1 -1
- package/dist/primitives-B-CkiEMU.js +379 -0
- package/dist/primitives-B-CkiEMU.js.map +1 -0
- package/dist/primitives.js +5 -5
- package/dist/{progress-BroqrAyV.js → progress-rnS8-uAW.js} +11 -11
- package/dist/progress-rnS8-uAW.js.map +1 -0
- package/dist/{receipt-BuJynLgf.js → receipt-D0oswZ0p.js} +6 -6
- package/dist/{receipt-BuJynLgf.js.map → receipt-D0oswZ0p.js.map} +1 -1
- package/dist/rich-text-DvGulsNJ.js +78 -0
- package/dist/rich-text-DvGulsNJ.js.map +1 -0
- package/dist/rich-text-editor-sMU_Scqm.js +1204 -0
- package/dist/rich-text-editor-sMU_Scqm.js.map +1 -0
- package/dist/rich-text-editor.recipes-CadiF_Uu.js +88 -0
- package/dist/rich-text-editor.recipes-CadiF_Uu.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-Bt_vXY2b.js +48 -0
- package/dist/scroll-area-Bt_vXY2b.js.map +1 -0
- package/dist/{separator-BNIgG3au.js → separator-C8DlRGwF.js} +4 -4
- package/dist/separator-C8DlRGwF.js.map +1 -0
- package/dist/{separator-BhtFyo4x.js → separator-CYHnjsAb.js} +2 -2
- package/dist/{separator-BhtFyo4x.js.map → separator-CYHnjsAb.js.map} +1 -1
- package/dist/services/actions/action-adapters.d.ts +22 -0
- package/dist/services/actions/index.d.ts +1 -1
- package/dist/services/actions.js +23 -6
- package/dist/services/actions.js.map +1 -1
- package/dist/settings-CQW3b-Cu.js +170 -0
- package/dist/settings-CQW3b-Cu.js.map +1 -0
- package/dist/sheet-4SEvVYzA.js +210 -0
- package/dist/sheet-4SEvVYzA.js.map +1 -0
- package/dist/{sidebar-CyR4XKwR.js → sidebar-C7WWR29L.js} +181 -180
- package/dist/sidebar-C7WWR29L.js.map +1 -0
- package/dist/sidebar-d7Dg80ln.js +511 -0
- package/dist/sidebar-d7Dg80ln.js.map +1 -0
- package/dist/{skeleton-3F0uhYn3.js → skeleton-Cz890JZF.js} +10 -10
- package/dist/skeleton-Cz890JZF.js.map +1 -0
- package/dist/smart-card-lFKxn5Hu.js +595 -0
- package/dist/smart-card-lFKxn5Hu.js.map +1 -0
- package/dist/{spinner-Cpf7oRkF.js → spinner-fa3h1Aif.js} +10 -8
- package/dist/spinner-fa3h1Aif.js.map +1 -0
- package/dist/{structure-CRdqVawd.js → structure-DC2dygdA.js} +3 -3
- package/dist/{structure-CRdqVawd.js.map → structure-DC2dygdA.js.map} +1 -1
- package/dist/{structure.recipes-Bqhf9oIh.js → structure.recipes-EPz60cU8.js} +37 -19
- package/dist/structure.recipes-EPz60cU8.js.map +1 -0
- 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-CIKyLUsy.js +163 -0
- package/dist/table-CIKyLUsy.js.map +1 -0
- package/dist/{table-CcRDZiLP.js → table-CrcLN9Io.js} +544 -530
- package/dist/table-CrcLN9Io.js.map +1 -0
- package/dist/tabs-DwBJfjxX.js +190 -0
- package/dist/tabs-DwBJfjxX.js.map +1 -0
- package/dist/{text-inputs-DsR56TR-.js → text-inputs-aaK9wcDT.js} +151 -155
- package/dist/text-inputs-aaK9wcDT.js.map +1 -0
- package/dist/{text.styles-Q4sGAIgA.js → text.styles-g4He6UIW.js} +17 -14
- package/dist/text.styles-g4He6UIW.js.map +1 -0
- package/dist/theme.css +16 -12
- package/dist/themes/green.css +24 -0
- package/dist/{timelines-D1pkt3se.js → timelines-C_SBwHNP.js} +154 -164
- package/dist/timelines-C_SBwHNP.js.map +1 -0
- package/dist/tone-recipes-CPoExcTE.js +70 -0
- package/dist/tone-recipes-CPoExcTE.js.map +1 -0
- package/dist/tooltip-CsfgrfS7.js +111 -0
- package/dist/tooltip-CsfgrfS7.js.map +1 -0
- package/dist/track-recipes-CDcKmndW.js +10 -0
- package/dist/track-recipes-CDcKmndW.js.map +1 -0
- package/dist/{tree-BtmYyMZV.js → tree-BiKhg8AY.js} +72 -70
- package/dist/tree-BiKhg8AY.js.map +1 -0
- package/dist/typography/rich-text.js +1 -1
- package/dist/typography-DTRkE9zL.js +117 -0
- package/dist/typography-DTRkE9zL.js.map +1 -0
- package/dist/typography.js +2 -2
- package/dist/{ui-provider-DRPn3qNl.js → ui-provider-1D_NSYzO.js} +30 -23
- package/dist/ui-provider-1D_NSYzO.js.map +1 -0
- package/dist/ui-provider.js +3 -3
- package/dist/{upload-CDbYw1WN.js → upload-BO8-CLN6.js} +294 -293
- package/dist/upload-BO8-CLN6.js.map +1 -0
- package/dist/{upload-queue-CNd_hH_a.js → upload-queue-EOC8g1gf.js} +133 -138
- package/dist/upload-queue-EOC8g1gf.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-VyJLUwRr.js → usage-card-obRaBskq.js} +42 -43
- package/dist/{usage-card-VyJLUwRr.js.map → usage-card-obRaBskq.js.map} +1 -1
- package/dist/{utils-BvH9PSmq.js → utils-l5LpDw2z.js} +264 -62
- package/dist/utils-l5LpDw2z.js.map +1 -0
- package/dist/value-inputs-TAYMX111.js +947 -0
- package/dist/value-inputs-TAYMX111.js.map +1 -0
- package/dist/value-typography-b8wpz1eX.js +116 -0
- package/dist/value-typography-b8wpz1eX.js.map +1 -0
- package/dist/workspace-DH0v0KcB.js +407 -0
- package/dist/workspace-DH0v0KcB.js.map +1 -0
- package/docs/consumer-skill/SKILL.md +62 -50
- package/docs/consumer-skill/examples/app-layout.tsx +3 -5
- package/docs/consumer-skill/examples/composition.tsx +3 -3
- package/docs/consumer-skill/examples/detail.tsx +59 -13
- package/docs/consumer-skill/examples/edit.tsx +2 -2
- package/docs/consumer-skill/examples/layout-blocks.tsx +20 -0
- package/docs/consumer-skill/examples/manifest.json +28 -6
- package/docs/consumer-skill/examples/receipt.tsx +2 -2
- package/docs/consumer-skill/examples/scoped-directory.tsx +3 -3
- 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 +139 -24
- package/docs/consumer-skill/references/design-contract.md +12 -3
- package/docs/consumer-skill/references/discovery.md +4 -0
- package/docs/consumer-skill/references/installation.md +33 -1
- package/docs/consumer-skill/references/integration.md +32 -1
- package/docs/consumer-skill/references/public-api.json +1051 -610
- package/docs/consumer-skill/references/review.md +44 -8
- package/docs/consumer-skill/references/theming.md +14 -4
- package/docs/consumer-skill/references/tokens.json +5 -2
- package/docs/consumer-skill/references/workflows.md +30 -9
- package/docs/consumer-skill/scripts/composition-policy.mjs +127 -6
- package/docs/consumer-skill/scripts/discovery.mjs +11 -3
- package/docs/consumer-skill/scripts/pin-button-defaults.mjs +95 -0
- package/docs/consumer-skill/scripts/surface-policy.mjs +139 -5
- package/package.json +13 -3
- package/dist/accordion-BRTcsp8J.js +0 -205
- package/dist/accordion-BRTcsp8J.js.map +0 -1
- package/dist/action-menu-Drxw_vJk.js +0 -265
- package/dist/action-menu-Drxw_vJk.js.map +0 -1
- package/dist/affordance-geometry.generated-CL84ZN9A.js.map +0 -1
- package/dist/ai-artifact-DLVdK0Py.js.map +0 -1
- package/dist/attachment-DbjUWsP0.js +0 -244
- package/dist/attachment-DbjUWsP0.js.map +0 -1
- package/dist/auth-CAQcasMV.js.map +0 -1
- package/dist/avatar-Bu2HhitA.js.map +0 -1
- package/dist/badge-CzId1Wlm.js +0 -92
- package/dist/badge-CzId1Wlm.js.map +0 -1
- package/dist/breadcrumbs-BuYz5SDU.js +0 -128
- package/dist/breadcrumbs-BuYz5SDU.js.map +0 -1
- package/dist/button-BZDasD04.js +0 -651
- package/dist/button-BZDasD04.js.map +0 -1
- package/dist/button-BZyfTvwm.js.map +0 -1
- package/dist/buttons-D_6KJvEE.js +0 -99
- package/dist/buttons-D_6KJvEE.js.map +0 -1
- package/dist/cards-qGSErLw_.js.map +0 -1
- package/dist/chart-Bsc5BICK.js.map +0 -1
- package/dist/checkbox-BQNDjUCh.js +0 -34
- package/dist/checkbox-BQNDjUCh.js.map +0 -1
- package/dist/choice-inputs-Mk3iWbhr.js +0 -725
- package/dist/choice-inputs-Mk3iWbhr.js.map +0 -1
- package/dist/code-block-DzHKRybS.js +0 -183
- package/dist/code-block-DzHKRybS.js.map +0 -1
- package/dist/combobox-BFnbJJp3.js.map +0 -1
- package/dist/combobox-hozNwUcc.js +0 -847
- package/dist/combobox-hozNwUcc.js.map +0 -1
- package/dist/command-BnmSchli.js.map +0 -1
- package/dist/comments-u5L0OGip.js.map +0 -1
- package/dist/containers-DqB-bSYE.js.map +0 -1
- package/dist/data-display-Bihs9Ven.js +0 -1342
- package/dist/data-display-Bihs9Ven.js.map +0 -1
- package/dist/date-DOKhJPu7.js +0 -140
- package/dist/date-DOKhJPu7.js.map +0 -1
- package/dist/date-picker-DzP5HQq7.js +0 -1541
- package/dist/date-picker-DzP5HQq7.js.map +0 -1
- package/dist/date-pickers-BpgGz7S-.js +0 -196
- package/dist/date-pickers-BpgGz7S-.js.map +0 -1
- package/dist/display-CS6Hbk18.js.map +0 -1
- package/dist/dropdown-menu-D-boNgGO.js.map +0 -1
- package/dist/feedback-CJkUAapr.js +0 -233
- package/dist/feedback-CJkUAapr.js.map +0 -1
- package/dist/field-affordance-recipes-uKY4MsZ_.js +0 -25
- package/dist/field-affordance-recipes-uKY4MsZ_.js.map +0 -1
- package/dist/field-state-recipes-DQQpiLWC.js +0 -11
- package/dist/field-state-recipes-DQQpiLWC.js.map +0 -1
- package/dist/filters-D6FF8L6s.js.map +0 -1
- package/dist/form-sizing-QP8aIRaW.js +0 -103
- package/dist/form-sizing-QP8aIRaW.js.map +0 -1
- package/dist/format-iamDSqs2.js +0 -110
- package/dist/format-iamDSqs2.js.map +0 -1
- package/dist/forms-B5NCbkSC.js.map +0 -1
- package/dist/forms-numeric-Crrm80Lm.js +0 -867
- package/dist/forms-numeric-Crrm80Lm.js.map +0 -1
- package/dist/header-kxruN3RM.js.map +0 -1
- package/dist/icon-badge-Btc6pQrp.js +0 -53
- package/dist/icon-badge-Btc6pQrp.js.map +0 -1
- package/dist/input-SX9V0AL3.js +0 -255
- package/dist/input-SX9V0AL3.js.map +0 -1
- package/dist/item-DE4YnuJx.js +0 -258
- package/dist/item-DE4YnuJx.js.map +0 -1
- package/dist/media-gallery-DLp3HAz0.js +0 -201
- package/dist/media-gallery-DLp3HAz0.js.map +0 -1
- package/dist/mentions-Cl0Kt_Pd.js +0 -565
- package/dist/mentions-Cl0Kt_Pd.js.map +0 -1
- package/dist/navigation-DnQSNMT0.js +0 -276
- package/dist/navigation-DnQSNMT0.js.map +0 -1
- package/dist/navigation-DyytsLRB.js +0 -265
- package/dist/navigation-DyytsLRB.js.map +0 -1
- package/dist/number-DasMFWEG.js +0 -269
- package/dist/number-DasMFWEG.js.map +0 -1
- package/dist/overlay.recipes-BxW5FIfK.js +0 -6
- package/dist/overlay.recipes-BxW5FIfK.js.map +0 -1
- package/dist/overlays-DUbs1KEi.js +0 -1011
- package/dist/overlays-DUbs1KEi.js.map +0 -1
- package/dist/page-hGmT4nWK.js.map +0 -1
- package/dist/page-header-D8nERkn5.js +0 -112
- package/dist/page-header-D8nERkn5.js.map +0 -1
- package/dist/popover-CghIYdQf.js.map +0 -1
- package/dist/primitives-C7ff0QaI.js +0 -337
- package/dist/primitives-C7ff0QaI.js.map +0 -1
- package/dist/progress-BroqrAyV.js.map +0 -1
- package/dist/rich-text-DlxDOtf4.js +0 -32
- package/dist/rich-text-DlxDOtf4.js.map +0 -1
- package/dist/rich-text-editor-BKyG7rWz.js +0 -574
- package/dist/rich-text-editor-BKyG7rWz.js.map +0 -1
- package/dist/rich-text-editor.recipes-B72Nfuze.js +0 -81
- package/dist/rich-text-editor.recipes-B72Nfuze.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/sanitize-html-BG9FGe-j.js +0 -64
- package/dist/sanitize-html-BG9FGe-j.js.map +0 -1
- package/dist/scroll-area-D-pIhEKl.js +0 -47
- package/dist/scroll-area-D-pIhEKl.js.map +0 -1
- package/dist/separator-BNIgG3au.js.map +0 -1
- package/dist/settings-DOTOzeZ2.js +0 -161
- package/dist/settings-DOTOzeZ2.js.map +0 -1
- package/dist/sheet-BFhrNehm.js +0 -205
- package/dist/sheet-BFhrNehm.js.map +0 -1
- package/dist/sidebar-CyR4XKwR.js.map +0 -1
- package/dist/sidebar-SvGJ0Zwi.js +0 -506
- package/dist/sidebar-SvGJ0Zwi.js.map +0 -1
- package/dist/skeleton-3F0uhYn3.js.map +0 -1
- package/dist/smart-card-DjGVV2xr.js +0 -584
- package/dist/smart-card-DjGVV2xr.js.map +0 -1
- package/dist/spinner-Cpf7oRkF.js.map +0 -1
- package/dist/structure.recipes-Bqhf9oIh.js.map +0 -1
- package/dist/surface-recipes-Dd__PD-w.js +0 -28
- package/dist/surface-recipes-Dd__PD-w.js.map +0 -1
- package/dist/table-CLtJTxoR.js +0 -147
- package/dist/table-CLtJTxoR.js.map +0 -1
- package/dist/table-CcRDZiLP.js.map +0 -1
- package/dist/tabs-BNgu7g0u.js +0 -188
- package/dist/tabs-BNgu7g0u.js.map +0 -1
- package/dist/text-inputs-DsR56TR-.js.map +0 -1
- package/dist/text.styles-Q4sGAIgA.js.map +0 -1
- package/dist/timelines-D1pkt3se.js.map +0 -1
- package/dist/track-recipes-LLPNVwFg.js +0 -10
- package/dist/track-recipes-LLPNVwFg.js.map +0 -1
- package/dist/tree-BtmYyMZV.js.map +0 -1
- package/dist/typography-BxQgiZyw.js +0 -96
- package/dist/typography-BxQgiZyw.js.map +0 -1
- package/dist/ui-provider-DRPn3qNl.js.map +0 -1
- package/dist/upload-CDbYw1WN.js.map +0 -1
- package/dist/upload-queue-CNd_hH_a.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-BvH9PSmq.js.map +0 -1
- package/dist/value-inputs-D0KCrfVC.js +0 -840
- package/dist/value-inputs-D0KCrfVC.js.map +0 -1
- package/dist/workspace-CcR8r-Nt.js +0 -395
- package/dist/workspace-CcR8r-Nt.js.map +0 -1
- /package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.strings.d.ts +0 -0
|
@@ -7,7 +7,7 @@ export interface BookingCalendarEventCardItem {
|
|
|
7
7
|
label: ReactNode;
|
|
8
8
|
/** Display value. Strings and numbers use the canonical `Value` primitive. */
|
|
9
9
|
value: ReactNode;
|
|
10
|
-
/** Span both detail columns
|
|
10
|
+
/** Span both detail columns, for a note that should not sit in a column. */
|
|
11
11
|
fullWidth?: boolean;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
@@ -21,7 +21,7 @@ export interface BookingCalendarEventCardProps {
|
|
|
21
21
|
title: ReactNode;
|
|
22
22
|
/** Optional supporting context shown beneath the title. */
|
|
23
23
|
description?: ReactNode;
|
|
24
|
-
/** Optional status
|
|
24
|
+
/** Optional status, rendered beside the title. */
|
|
25
25
|
status?: ReactNode;
|
|
26
26
|
/** Ordered booking facts rendered as a responsive definition list. */
|
|
27
27
|
items: BookingCalendarEventCardItem[];
|
|
@@ -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,43 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ComponentType, ReactNode } from 'react';
|
|
2
|
+
import type { ActionMenuAction, ActionMenuProps } from '../../../base/action-menu';
|
|
3
|
+
import type { StringsProp } from '../../../../lib/strings';
|
|
4
|
+
import type { OrderLine, OrderLineItemStrings } from '../order-line-item/types';
|
|
5
|
+
import { type FulfillmentStatus } from '../shared/order-status';
|
|
6
|
+
export interface FulfillmentGroupStrings extends OrderLineItemStrings {
|
|
7
|
+
/** Label for each `FulfillmentStatus`. The tone stays derived from the status. */
|
|
8
|
+
fulfillment: Record<FulfillmentStatus, string>;
|
|
9
|
+
/** Names the group by state and size: "Unfulfilled (3)". */
|
|
10
|
+
formatHeading: (status: string, count: number) => string;
|
|
11
|
+
/** Accessible name of the overflow menu holding every action after the first. */
|
|
12
|
+
moreActions: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const defaultFulfillmentGroupStrings: FulfillmentGroupStrings;
|
|
15
|
+
export interface FulfillmentGroupProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title'> {
|
|
16
|
+
/** Where these goods are. Drives the heading chip's label and tone. */
|
|
17
|
+
status: FulfillmentStatus;
|
|
18
|
+
/** Where the group ships from. */
|
|
19
|
+
location?: ReactNode;
|
|
20
|
+
/** A standing fact about the group: "Shipping not required". */
|
|
21
|
+
notice?: ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* Glyph beside the notice, sized by the group. A component rather than a
|
|
24
|
+
* node, so it arrives at the icon size of the text it annotates.
|
|
25
|
+
*/
|
|
26
|
+
noticeIcon?: ComponentType<{
|
|
27
|
+
className?: string;
|
|
28
|
+
}>;
|
|
29
|
+
/** The rows, as data. The heading counts them. */
|
|
30
|
+
items?: OrderLine[];
|
|
31
|
+
/** Replaces `items` wholesale, for a caller who needs control of a row. The heading then carries no count. */
|
|
32
|
+
children?: ReactNode;
|
|
33
|
+
/**
|
|
34
|
+
* The group's commands. The first renders as a button and the rest collapse
|
|
35
|
+
* into an overflow menu: one array, so the menu never repeats the button.
|
|
36
|
+
* Mark the main command `tone: 'primary'`.
|
|
37
|
+
*/
|
|
38
|
+
actions?: readonly ActionMenuAction[];
|
|
39
|
+
/** Renders `href` actions through the consumer's router. */
|
|
40
|
+
renderLink?: ActionMenuProps['renderLink'];
|
|
41
|
+
/** Overrides this surface's own copy, including the status words. */
|
|
42
|
+
strings?: StringsProp<FulfillmentGroupStrings>;
|
|
43
|
+
}
|
|
@@ -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';
|
|
@@ -36,7 +36,10 @@ export interface InventorySectionMetric {
|
|
|
36
36
|
value: string;
|
|
37
37
|
/** Supporting copy shown under the label. */
|
|
38
38
|
description?: string;
|
|
39
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Semantic tone of the entry. Not rendered by the summary: stats are plain
|
|
41
|
+
* and the title badge carries the stock state. Kept for type compatibility.
|
|
42
|
+
*/
|
|
40
43
|
tone?: 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
41
44
|
}
|
|
42
45
|
export interface InventorySectionStrings {
|
|
@@ -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. */
|
|
@@ -20,7 +20,7 @@ export interface LoyaltyPointsProps {
|
|
|
20
20
|
balance: number | string;
|
|
21
21
|
/** Membership tier name. Defaults to `strings.tier`. */
|
|
22
22
|
tier?: string;
|
|
23
|
-
/** Badge tone for the tier chip. @default '
|
|
23
|
+
/** Badge tone for the tier chip. A tier is a kind, not a status. @default 'neutral' */
|
|
24
24
|
tierTone?: BadgeTone;
|
|
25
25
|
/** Recent point movements. */
|
|
26
26
|
history?: LoyaltyHistoryEntry[];
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -11,9 +11,13 @@ export interface OrderStatusEvent {
|
|
|
11
11
|
export interface OrderStatusStrings {
|
|
12
12
|
/** Surface title. */
|
|
13
13
|
title: string;
|
|
14
|
+
/** Not rendered: the title badge states the status. Kept for existing overrides. */
|
|
14
15
|
statusLabel: string;
|
|
16
|
+
/** Label of the delivery-estimate fact. */
|
|
15
17
|
eta: string;
|
|
18
|
+
/** Not rendered: the timeline shows the latest event. Kept for existing overrides. */
|
|
16
19
|
latestEvent: string;
|
|
20
|
+
/** Not rendered: the timeline marks the current step. Kept for existing overrides. */
|
|
17
21
|
currentStep: string;
|
|
18
22
|
}
|
|
19
23
|
export declare const defaultOrderStatusStrings: OrderStatusStrings;
|
|
@@ -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, 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
|
+
}
|