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
package/dist/lib/format.d.ts
CHANGED
|
@@ -13,6 +13,15 @@
|
|
|
13
13
|
* dual-currency UIs.
|
|
14
14
|
*/
|
|
15
15
|
export declare const EMPTY = "\u2014";
|
|
16
|
+
/** U+2212 MINUS SIGN. Intl emits U+002D HYPHEN-MINUS for negatives in most locales. */
|
|
17
|
+
export declare const MINUS_SIGN = "\u2212";
|
|
18
|
+
/**
|
|
19
|
+
* Formats with Intl and draws a negative sign as U+2212, the typographic minus
|
|
20
|
+
* commerce surfaces already use: it has the width of a digit, so signed values
|
|
21
|
+
* align in tabular columns. Only the hyphen-minus inside the `minusSign` part
|
|
22
|
+
* changes, so locale minus forms and bidi marks (fa, he, ar) survive.
|
|
23
|
+
*/
|
|
24
|
+
export declare function formatWithMinusSign(formatter: Intl.NumberFormat, value: number): string;
|
|
16
25
|
export interface FormatNumberOptions {
|
|
17
26
|
locale?: string;
|
|
18
27
|
minimumFractionDigits?: number;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interaction fills, one recipe per element shape. The theme documents --accent as
|
|
3
|
+
* the hover and selected-row fill and --muted as a passive region, so every
|
|
4
|
+
* clickable row, toggle, table and segmented track agrees on what hover, selection
|
|
5
|
+
* and the current location look like. Design lint rejects other interaction fills.
|
|
6
|
+
*/
|
|
7
|
+
export declare const interactionRecipes: {
|
|
8
|
+
/** Clickable rows (navigation, lists, trees, results, disclosure triggers) and ghost actions. */
|
|
9
|
+
readonly rowHover: "hover:bg-accent hover:text-accent-foreground";
|
|
10
|
+
/** A selected or keyboard-highlighted row: the hover fill held. */
|
|
11
|
+
readonly rowSelected: "bg-accent text-accent-foreground";
|
|
12
|
+
/** The current location: the selected fill plus medium weight, so a hover never reads as current. */
|
|
13
|
+
readonly rowCurrent: "bg-accent text-accent-foreground font-medium";
|
|
14
|
+
/** Toggles show their pressed state by fill alone, so hover is the lighter muted fill. */
|
|
15
|
+
readonly toggleHover: "hover:bg-muted hover:text-foreground";
|
|
16
|
+
readonly togglePressed: "bg-accent text-accent-foreground";
|
|
17
|
+
/** The toggle hover on a Button, whose complete hover selector would otherwise show the pressed fill. */
|
|
18
|
+
readonly toggleHoverButton: "[&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-muted [&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:text-foreground";
|
|
19
|
+
/** Wide tabular rows stay quieter: stripe, hover and selection step up one tint at a time. */
|
|
20
|
+
readonly tableHead: "bg-muted/50";
|
|
21
|
+
readonly tableStripe: "bg-muted/30";
|
|
22
|
+
readonly tableRowHover: "hover:bg-muted/50";
|
|
23
|
+
readonly tableRowSelected: "data-[state=selected]:bg-muted";
|
|
24
|
+
/** Media and choice tiles: hover strengthens the resting edge to the control boundary; selection draws primary. */
|
|
25
|
+
readonly tileHover: "hover:border-input";
|
|
26
|
+
/** Segments on a muted track: the active one is lifted, the others change colour only. */
|
|
27
|
+
readonly segmentActive: "bg-card text-foreground shadow-sm";
|
|
28
|
+
readonly segmentInactive: "text-muted-foreground hover:text-foreground";
|
|
29
|
+
/** The same inactive segment rendered by a ghost Button: its complete hover and press selectors are cleared too. */
|
|
30
|
+
readonly segmentInactiveButton: "text-muted-foreground hover:text-foreground [&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-transparent [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-transparent";
|
|
31
|
+
/** The active segment rendered by a ghost Button stays lifted under hover and press instead of taking the Button's fill. */
|
|
32
|
+
readonly segmentActiveButton: "bg-card text-foreground shadow-sm hover:text-foreground [&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-card [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:bg-card";
|
|
33
|
+
/** A solid Button marking the current location holds its fill: no hover or press filter. */
|
|
34
|
+
readonly currentButtonHold: "[&:hover:not(:active):not(:disabled):not([data-disabled]):not([aria-disabled=true])]:brightness-100 [&:active:not(:disabled):not([data-disabled]):not([aria-disabled=true])]:brightness-100";
|
|
35
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One stacking scale. Local overlap inside a component is raised; sticky regions
|
|
3
|
+
* stack under the app chrome; popups and modal layers sit above the page. Local
|
|
4
|
+
* ordering may also use z-0, z-[1] and z-[-1]. Design lint rejects other layers.
|
|
5
|
+
*/
|
|
6
|
+
export declare const layerRecipes: {
|
|
7
|
+
/** Overlap inside one component: a badge on a tile, an action over media. */
|
|
8
|
+
readonly raised: "z-10";
|
|
9
|
+
/** Sticky headers and toolbars inside a scroll region. */
|
|
10
|
+
readonly sticky: "z-20";
|
|
11
|
+
/** Sticky parts that must stay above other sticky ones: a sticky corner cell or footer. */
|
|
12
|
+
readonly stickyOver: "z-30";
|
|
13
|
+
/** Application chrome: the shell header and floating panels. */
|
|
14
|
+
readonly chrome: "z-40";
|
|
15
|
+
/** Popups, menus, tooltips and modal layers. */
|
|
16
|
+
readonly overlay: "z-50";
|
|
17
|
+
/** A popup portaled into a consumer container clears the modal layer it opened from. */
|
|
18
|
+
readonly nestedOverlay: "z-[100]";
|
|
19
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared money formatting for the Money primitive and metric surfaces.
|
|
3
|
+
*
|
|
4
|
+
* One formatter keeps currency labels, fraction digits and format modes
|
|
5
|
+
* identical wherever an amount is shown. Components resolve locale, currency
|
|
6
|
+
* and format mode from UIProvider before calling it.
|
|
7
|
+
*/
|
|
8
|
+
import type { MoneyFormatMode } from './ui-provider/types';
|
|
9
|
+
/** A numeric amount or an unformatted decimal string. */
|
|
10
|
+
export type MoneyAmountInput = number | string | null | undefined;
|
|
11
|
+
export interface FormatMoneyAmountOptions {
|
|
12
|
+
/** Major-unit amount. Strings accept either decimal separator. */
|
|
13
|
+
amount: MoneyAmountInput;
|
|
14
|
+
/** ISO 4217 currency code; an empty value formats as a plain decimal. */
|
|
15
|
+
currency?: string | null;
|
|
16
|
+
/** BCP-47 locale for Intl formatting. */
|
|
17
|
+
locale?: string;
|
|
18
|
+
/** Intl currency label style when the format mode uses currency formatting. */
|
|
19
|
+
currencyDisplay?: Intl.NumberFormatOptions['currencyDisplay'];
|
|
20
|
+
/** Minimum decimal digits. Defaults to the currency's Intl convention. */
|
|
21
|
+
minimumFractionDigits?: number;
|
|
22
|
+
/** Maximum decimal digits. Defaults to the currency's Intl convention. */
|
|
23
|
+
maximumFractionDigits?: number;
|
|
24
|
+
/** Provider format policy: decimal, with_code, with_symbol or locale_aware. */
|
|
25
|
+
formatMode?: MoneyFormatMode;
|
|
26
|
+
/** Consumer-resolved symbol; Intl placement is preserved. */
|
|
27
|
+
symbol?: string | null;
|
|
28
|
+
}
|
|
29
|
+
export declare function parseMoneyAmount(amount: MoneyAmountInput): number | null;
|
|
30
|
+
export declare function formatMoneyAmount({ amount, currency, locale, currencyDisplay, minimumFractionDigits, maximumFractionDigits, formatMode, symbol, }: FormatMoneyAmountOptions): string | null;
|
|
@@ -5,4 +5,5 @@ export declare const motionRecipes: {
|
|
|
5
5
|
readonly popup: `transition-[opacity,scale,translate] duration-150 ease-out data-ending-style:duration-100 data-starting-style:opacity-0 data-ending-style:opacity-0 data-starting-style:scale-95 data-ending-style:scale-95 ${string} motion-reduce:transition-none motion-reduce:duration-0 motion-reduce:data-ending-style:duration-0`;
|
|
6
6
|
readonly disclosure: "overflow-hidden transition-[height,padding-block] duration-200 ease-out data-starting-style:h-0 data-ending-style:h-0 data-starting-style:py-0! data-ending-style:py-0! motion-reduce:transition-none motion-reduce:duration-0 motion-reduce:data-ending-style:duration-0";
|
|
7
7
|
readonly chevron: "transition-transform duration-200 ease-out motion-reduce:transition-none motion-reduce:duration-0 motion-reduce:data-ending-style:duration-0";
|
|
8
|
+
readonly dock: "transition-[opacity,translate] duration-150 ease-out starting:opacity-0 starting:translate-y-space-lg motion-reduce:transition-none motion-reduce:duration-0 motion-reduce:data-ending-style:duration-0";
|
|
8
9
|
};
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* These are derived recipes, not additional theme settings.
|
|
4
4
|
*/
|
|
5
5
|
export declare const overlayAnatomyRecipes: {
|
|
6
|
-
readonly close: "absolute top-[calc(var(--surface-y)*var(--space-scale))] end-[calc(var(--surface-x)*var(--space-scale))]";
|
|
6
|
+
readonly close: "absolute top-[calc(var(--surface-y)*var(--space-scale)+(var(--text-base)*var(--leading-snug)-var(--height-action)*8/9*var(--density-scale))/2)] end-[calc(var(--surface-x)*var(--space-scale))]";
|
|
7
7
|
readonly header: "[[data-slot$=-content]:has(>[data-overlay-close])>&]:pe-[calc(var(--surface-x)*var(--space-scale)+var(--height-action)*8/9*var(--density-scale)+0.5rem*var(--space-scale))]";
|
|
8
|
+
readonly headerCentered: "[[data-slot$=-content]:has(>[data-overlay-close])>&]:ps-[calc(var(--surface-x)*var(--space-scale)+var(--height-action)*8/9*var(--density-scale)+0.5rem*var(--space-scale))]";
|
|
8
9
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Schemes an image `src` may use: web URLs and same-document `blob:` previews. */
|
|
2
|
+
export declare const SAFE_IMAGE_SCHEMES: readonly ["http", "https", "blob"];
|
|
3
|
+
/**
|
|
4
|
+
* The one image-source policy shared by the editor and read-only rich text.
|
|
5
|
+
* Returns the source when it is a web URL, a `blob:` preview or a relative
|
|
6
|
+
* path, and `undefined` otherwise: script, `data:` and other schemes and
|
|
7
|
+
* protocol-relative (`//host`) URLs are refused. Control characters and
|
|
8
|
+
* whitespace inside a scheme are ignored, so `java\tscript:` is still refused.
|
|
9
|
+
*/
|
|
10
|
+
export declare function safeImageSrc(value: unknown): string | undefined;
|
|
@@ -1,8 +1,20 @@
|
|
|
1
|
+
import type { Root } from 'hast';
|
|
2
|
+
export interface SanitizeHtmlOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Keeps `<img>` with `src`, `alt`, `title`, `width` and `height` when its
|
|
5
|
+
* source passes `safeImageSrc`; an image without a safe source is removed.
|
|
6
|
+
* Default: `false`, which removes every image.
|
|
7
|
+
*/
|
|
8
|
+
images?: boolean;
|
|
9
|
+
}
|
|
1
10
|
/**
|
|
2
11
|
* Sanitize package-rendered rich text with an intentionally small HTML
|
|
3
12
|
* vocabulary. Styling, event handlers, embedded media, and protocol-relative
|
|
4
|
-
* URLs are excluded
|
|
5
|
-
*
|
|
13
|
+
* URLs are excluded; images only with `options.images` and a safe source.
|
|
14
|
+
* Mention identity attributes remain available so the Mentions feature can
|
|
15
|
+
* replace serialized references with React components.
|
|
6
16
|
*/
|
|
7
|
-
export declare function sanitizeHtml(input: string): string;
|
|
17
|
+
export declare function sanitizeHtml(input: string, options?: SanitizeHtmlOptions): string;
|
|
18
|
+
/** The sanitized tree behind `sanitizeHtml`, for renderers that substitute elements. */
|
|
19
|
+
export declare function sanitizeHtmlTree(input: string, options?: SanitizeHtmlOptions): Root;
|
|
8
20
|
export default sanitizeHtml;
|
|
@@ -6,6 +6,7 @@ export declare const surfaceDividerRecipes: {
|
|
|
6
6
|
readonly shell: "border border-border";
|
|
7
7
|
readonly header: "border-b border-border";
|
|
8
8
|
readonly footer: "border-t border-border";
|
|
9
|
+
readonly ring: "ring-4 ring-border/30";
|
|
9
10
|
};
|
|
10
11
|
readonly anchored: {
|
|
11
12
|
readonly shell: "border border-border";
|
|
@@ -15,16 +16,57 @@ export declare const surfaceDividerRecipes: {
|
|
|
15
16
|
};
|
|
16
17
|
readonly modal: {
|
|
17
18
|
readonly shell: "border border-border/70";
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
19
|
+
readonly edge: "border-border/70 data-[side=left]:border-r data-[side=right]:border-l data-[side=top]:border-b data-[side=bottom]:border-t";
|
|
20
|
+
readonly region: "border-border/60 [[data-modal-region]:not(.sr-only)~&]:border-t";
|
|
20
21
|
};
|
|
21
22
|
readonly sidebar: {
|
|
22
23
|
readonly footer: "border-t border-sidebar-border";
|
|
23
24
|
};
|
|
24
25
|
};
|
|
25
|
-
/**
|
|
26
|
+
/** Each region owns its full inset once and the shell adds none, so the rules
|
|
27
|
+
* between regions span the surface edge to edge (header, body and footer read as
|
|
28
|
+
* three bands). The body scrolls between the pinned header and footer; scrolling
|
|
29
|
+
* and alignment remain with the family. */
|
|
26
30
|
export declare const modalRegionRecipes: {
|
|
27
|
-
readonly header: "shrink-0
|
|
28
|
-
readonly body: "min-h-0 flex-1 overflow-y-auto p-surface";
|
|
29
|
-
readonly footer: "shrink-0 flex-wrap gap-space-sm
|
|
31
|
+
readonly header: "shrink-0 p-surface text-start border-border/60 [[data-modal-region]:not(.sr-only)~&]:border-t";
|
|
32
|
+
readonly body: "min-h-0 flex-1 overflow-y-auto p-surface border-border/60 [[data-modal-region]:not(.sr-only)~&]:border-t";
|
|
33
|
+
readonly footer: "shrink-0 flex-wrap gap-space-sm p-surface border-border/60 [[data-modal-region]:not(.sr-only)~&]:border-t";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Neutral fills, one strength per role, so quiet regions, strips, tracks, chips and
|
|
37
|
+
* neutral markers read alike in every family. Design lint rejects other strengths.
|
|
38
|
+
* - `wash`: a quiet region inside a surface: wells, empty states, stripes, media placeholders.
|
|
39
|
+
* - `band`: a header, toolbar or footer strip, and a soft icon tile.
|
|
40
|
+
* - `track`: the solid track behind segments, meters and progress.
|
|
41
|
+
* - `chip`: a neutral chip or icon tile that reads on any surface, tinted or not.
|
|
42
|
+
* - `chipOnInverse`: the same chip on an inverse surface.
|
|
43
|
+
* - `marker`: a neutral dot or filled meter segment; `markerIdle`: an inactive indicator.
|
|
44
|
+
* Floating chips and lifted panels use an opaque surface instead of a translucent one.
|
|
45
|
+
*/
|
|
46
|
+
export declare const neutralFillRecipes: {
|
|
47
|
+
readonly wash: "bg-muted/30";
|
|
48
|
+
readonly band: "bg-muted/50";
|
|
49
|
+
readonly track: "bg-muted";
|
|
50
|
+
readonly chip: "bg-foreground/8";
|
|
51
|
+
readonly chipOnInverse: "bg-background/10";
|
|
52
|
+
readonly marker: "bg-muted-foreground";
|
|
53
|
+
readonly markerIdle: "bg-muted-foreground/40";
|
|
54
|
+
};
|
|
55
|
+
/** A key cap for shortcut hints: a solid track-coloured chip with the compact secondary text role. */
|
|
56
|
+
export declare const kbdRecipe = "pointer-events-none inline-flex h-5 w-fit min-w-5 shrink-0 select-none items-center justify-center gap-space-2xs rounded-radius-xs bg-muted px-space-xs font-sans text-xs font-medium leading-none text-muted-foreground";
|
|
57
|
+
/**
|
|
58
|
+
* Elevation, one theme shadow per role; the theme owns the shadow ladder itself.
|
|
59
|
+
* - `resting`: tiles, rows and table frames that sit on a surface.
|
|
60
|
+
* - `card`: cards, lifted segments, thumbs and small controls floating over media.
|
|
61
|
+
* - `raised`: raised cards, hover lifts, anchored popups and controls over media.
|
|
62
|
+
* - `lifted`: dragged items, toasts and drawers.
|
|
63
|
+
* - `modal`: dialogs and command palettes.
|
|
64
|
+
* `shadow-none` clears elevation. Box-shadow divider lines draw var(--border) instead.
|
|
65
|
+
*/
|
|
66
|
+
export declare const elevationRecipes: {
|
|
67
|
+
readonly resting: "shadow-xs";
|
|
68
|
+
readonly card: "shadow-sm";
|
|
69
|
+
readonly raised: "shadow-md";
|
|
70
|
+
readonly lifted: "shadow-lg";
|
|
71
|
+
readonly modal: "shadow-xl";
|
|
30
72
|
};
|
|
@@ -32,12 +32,15 @@ export declare const tokenClassGroups: {
|
|
|
32
32
|
size: {
|
|
33
33
|
size: string[];
|
|
34
34
|
}[];
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
m: {
|
|
36
|
+
m: string[];
|
|
37
37
|
}[];
|
|
38
38
|
ml: {
|
|
39
39
|
ml: string[];
|
|
40
40
|
}[];
|
|
41
|
+
ms: {
|
|
42
|
+
ms: string[];
|
|
43
|
+
}[];
|
|
41
44
|
mt: {
|
|
42
45
|
mt: string[];
|
|
43
46
|
}[];
|
|
@@ -56,6 +59,12 @@ export declare const tokenClassGroups: {
|
|
|
56
59
|
py: {
|
|
57
60
|
py: string[];
|
|
58
61
|
}[];
|
|
62
|
+
inset: {
|
|
63
|
+
inset: string[];
|
|
64
|
+
}[];
|
|
65
|
+
my: {
|
|
66
|
+
my: string[];
|
|
67
|
+
}[];
|
|
59
68
|
bottom: {
|
|
60
69
|
bottom: string[];
|
|
61
70
|
}[];
|
|
@@ -92,12 +101,6 @@ export declare const tokenClassGroups: {
|
|
|
92
101
|
me: {
|
|
93
102
|
me: string[];
|
|
94
103
|
}[];
|
|
95
|
-
ms: {
|
|
96
|
-
ms: string[];
|
|
97
|
-
}[];
|
|
98
|
-
inset: {
|
|
99
|
-
inset: string[];
|
|
100
|
-
}[];
|
|
101
104
|
"inset-x": {
|
|
102
105
|
"inset-x": string[];
|
|
103
106
|
}[];
|
|
@@ -110,21 +113,18 @@ export declare const tokenClassGroups: {
|
|
|
110
113
|
"space-y": {
|
|
111
114
|
"space-y": string[];
|
|
112
115
|
}[];
|
|
113
|
-
m: {
|
|
114
|
-
m: string[];
|
|
115
|
-
}[];
|
|
116
116
|
"max-w": {
|
|
117
117
|
"max-w": string[];
|
|
118
118
|
}[];
|
|
119
|
+
mb: {
|
|
120
|
+
mb: string[];
|
|
121
|
+
}[];
|
|
119
122
|
"min-w": {
|
|
120
123
|
"min-w": string[];
|
|
121
124
|
}[];
|
|
122
125
|
mr: {
|
|
123
126
|
mr: string[];
|
|
124
127
|
}[];
|
|
125
|
-
my: {
|
|
126
|
-
my: string[];
|
|
127
|
-
}[];
|
|
128
128
|
pl: {
|
|
129
129
|
pl: string[];
|
|
130
130
|
}[];
|
|
@@ -140,5 +140,8 @@ export declare const tokenClassGroups: {
|
|
|
140
140
|
start: {
|
|
141
141
|
start: string[];
|
|
142
142
|
}[];
|
|
143
|
+
"translate-y": {
|
|
144
|
+
"translate-y": string[];
|
|
145
|
+
}[];
|
|
143
146
|
};
|
|
144
147
|
export declare const tokenCandidates: string[][];
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One tint scale for every status tone. The contrast contract tests each tone's ink
|
|
3
|
+
* on its own tint (20%, destructive 10%), so strengths live here, not in each
|
|
4
|
+
* component:
|
|
5
|
+
* - `wash` tints a large surface (alerts, callouts, highlighted rows) and stays
|
|
6
|
+
* subtle; the saturated hues (info, destructive, primary) wash at 5%.
|
|
7
|
+
* - `tint` fills chips, badges and icon tiles that carry the tone's ink.
|
|
8
|
+
* - `edge`, `halo` and `line` draw a toned border, ring and connector.
|
|
9
|
+
* - `solid` fills dots, bars and markers.
|
|
10
|
+
* Design lint rejects status tints spelled anywhere else.
|
|
11
|
+
*/
|
|
12
|
+
export declare const toneRecipes: {
|
|
13
|
+
readonly info: {
|
|
14
|
+
readonly wash: "bg-info/5";
|
|
15
|
+
readonly tint: "bg-info/20";
|
|
16
|
+
readonly edge: "border-info/30";
|
|
17
|
+
readonly halo: "ring-info/30";
|
|
18
|
+
readonly line: "bg-info/30";
|
|
19
|
+
readonly ink: "text-info";
|
|
20
|
+
readonly solid: "bg-info";
|
|
21
|
+
};
|
|
22
|
+
readonly success: {
|
|
23
|
+
readonly wash: "bg-success/10";
|
|
24
|
+
readonly tint: "bg-success/20";
|
|
25
|
+
readonly edge: "border-success/30";
|
|
26
|
+
readonly halo: "ring-success/30";
|
|
27
|
+
readonly line: "bg-success/30";
|
|
28
|
+
readonly ink: "text-success";
|
|
29
|
+
readonly solid: "bg-success";
|
|
30
|
+
};
|
|
31
|
+
readonly warning: {
|
|
32
|
+
readonly wash: "bg-warning/10";
|
|
33
|
+
readonly tint: "bg-warning/20";
|
|
34
|
+
readonly edge: "border-warning/40";
|
|
35
|
+
readonly halo: "ring-warning/40";
|
|
36
|
+
readonly line: "bg-warning/40";
|
|
37
|
+
readonly ink: "text-warning-accent";
|
|
38
|
+
readonly solid: "bg-warning";
|
|
39
|
+
};
|
|
40
|
+
readonly destructive: {
|
|
41
|
+
readonly wash: "bg-destructive/5";
|
|
42
|
+
readonly tint: "bg-destructive/10";
|
|
43
|
+
readonly edge: "border-destructive/30";
|
|
44
|
+
readonly halo: "ring-destructive/30";
|
|
45
|
+
readonly line: "bg-destructive/30";
|
|
46
|
+
readonly ink: "text-destructive";
|
|
47
|
+
readonly solid: "bg-destructive";
|
|
48
|
+
};
|
|
49
|
+
readonly primary: {
|
|
50
|
+
readonly wash: "bg-primary/5";
|
|
51
|
+
readonly tint: "bg-primary/20";
|
|
52
|
+
readonly edge: "border-primary/30";
|
|
53
|
+
readonly halo: "ring-primary/30";
|
|
54
|
+
readonly line: "bg-primary/30";
|
|
55
|
+
readonly ink: "text-primary-accent";
|
|
56
|
+
readonly solid: "bg-primary";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export type ToneRecipeName = keyof typeof toneRecipes;
|
|
60
|
+
/**
|
|
61
|
+
* Inline marks inside running text: a search match, and an edit's removed and
|
|
62
|
+
* added values. Each is a tone tint behind the run, never a box around it. A
|
|
63
|
+
* match often sits inside a word, so it adds no inline padding that would split it.
|
|
64
|
+
*/
|
|
65
|
+
export declare const markRecipes: {
|
|
66
|
+
readonly match: "rounded-radius-xs text-foreground bg-warning/20";
|
|
67
|
+
readonly removed: "rounded-radius-sm px-space-2xs line-through bg-destructive/10 text-destructive";
|
|
68
|
+
readonly added: "rounded-radius-sm px-space-2xs bg-success/20 text-success";
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Sequential data ramps: an empty step, then rising strengths of one hue. They
|
|
72
|
+
* encode quantity, not status, so they live apart from the tint scale above.
|
|
73
|
+
*/
|
|
74
|
+
export declare const rampRecipes: {
|
|
75
|
+
/** Activity heatmap cells (SVG fills): empty and four levels. */
|
|
76
|
+
readonly activity: readonly ["fill-muted", "fill-success/20", "fill-success/40", "fill-success/65", "fill-success"];
|
|
77
|
+
/** Distribution ruler segments: empty, low, medium and high. */
|
|
78
|
+
readonly density: readonly ["bg-muted", "bg-primary/25", "bg-primary/55", "bg-primary"];
|
|
79
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ComponentScale } from './component-vocabulary';
|
|
2
2
|
/** Shared progress/slider track thickness, derived from spacing; no public knobs. */
|
|
3
3
|
export declare const trackHeightClasses: Record<ComponentScale, string>;
|
|
4
|
-
export declare const sliderTrackThickness = "data-[orientation=horizontal]:h-[calc(var(--
|
|
4
|
+
export declare const sliderTrackThickness = "data-[orientation=horizontal]:h-[calc(0.375rem*var(--space-scale)+2px)] data-[orientation=vertical]:w-[calc(0.375rem*var(--space-scale)+2px)]";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ButtonConfigSlice, BadgeConfigSlice, CardConfigSlice, CommentsDefaultsConfig, DatesConfig, DensityConfigSlice, FormattingConfigSlice, ItemConfigSlice, MoneyConfig, SpinnerConfigSlice, ToastConfig, TypographyConfigSlice } from './types';
|
|
1
|
+
import type { ButtonConfigSlice, BadgeConfigSlice, CardConfigSlice, CommentsDefaultsConfig, DatesConfig, DensityConfigSlice, FormattingConfigSlice, ItemConfigSlice, MoneyConfig, OverlayConfigSlice, SpinnerConfigSlice, ToastConfig, TypographyConfigSlice } from './types';
|
|
2
2
|
export declare const useDensityConfig: () => DensityConfigSlice;
|
|
3
3
|
export declare const useFormattingConfig: () => FormattingConfigSlice;
|
|
4
4
|
export declare const useMoneyConfig: () => MoneyConfig;
|
|
@@ -9,5 +9,6 @@ export declare const useItemConfig: () => ItemConfigSlice;
|
|
|
9
9
|
export declare const useButtonConfig: () => ButtonConfigSlice;
|
|
10
10
|
export declare const useBadgeConfig: () => BadgeConfigSlice;
|
|
11
11
|
export declare const useCardConfig: () => CardConfigSlice;
|
|
12
|
+
export declare const useOverlayConfig: () => OverlayConfigSlice;
|
|
12
13
|
export declare const useToastConfig: () => ToastConfig;
|
|
13
14
|
export declare const useSpinnerConfig: () => SpinnerConfigSlice;
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
* arrays, registries used by one specific surface) stay as direct props.
|
|
20
20
|
*/
|
|
21
21
|
export { UIProvider, type UIProviderProps } from './provider';
|
|
22
|
-
export { useDensityConfig, useFormattingConfig, useMoneyConfig, useDatesConfig, useCommentsConfig, useTypographyConfig, useItemConfig, useButtonConfig, useBadgeConfig, useCardConfig, useToastConfig, useSpinnerConfig, } from './hooks';
|
|
22
|
+
export { useDensityConfig, useFormattingConfig, useMoneyConfig, useDatesConfig, useCommentsConfig, useTypographyConfig, useItemConfig, useButtonConfig, useBadgeConfig, useCardConfig, useOverlayConfig, useToastConfig, useSpinnerConfig, } from './hooks';
|
|
23
23
|
export { DEFAULT_UI_CONFIG } from './defaults';
|
|
24
24
|
export { isComponentScale, resolveComponentScale } from './scale';
|
|
25
|
-
export type { UIConfig, ResolvedUIConfig, DensityConfigSlice, FormattingConfigSlice, MoneyConfig, DatesConfig, CommentsDefaultsConfig, TypographyConfigSlice, ItemConfigSlice, ButtonConfigSlice, BadgeConfigSlice, CardConfigSlice, ToastConfig, SpinnerConfigSlice, WeekDay, ComponentScale, TableSize, TextSize, CardSurface, BadgeSize, BadgeTone, ItemSize, ItemVariant, FormControlSize, FormLabelSize, ButtonStyle, ButtonTone, ButtonSize, CardTitleSize, ToastPosition, ToastTheme, MoneyFormatMode, MoneyDisplayMode, MoneyDualLayout, CurrencyCode, } from './types';
|
|
25
|
+
export type { UIConfig, ResolvedUIConfig, DensityConfigSlice, FormattingConfigSlice, MoneyConfig, DatesConfig, CommentsDefaultsConfig, TypographyConfigSlice, ItemConfigSlice, ButtonConfigSlice, BadgeConfigSlice, CardConfigSlice, OverlayConfigSlice, OverlayAlign, ToastConfig, SpinnerConfigSlice, WeekDay, ComponentScale, TableSize, TextSize, CardSurface, BadgeSize, BadgeTone, ItemSize, ItemVariant, FormControlSize, FormLabelSize, ButtonStyle, ButtonTone, ButtonSize, CardTitleSize, ToastPosition, ToastTheme, MoneyFormatMode, MoneyDisplayMode, MoneyDualLayout, CurrencyCode, } from './types';
|
|
26
26
|
export { ThemeScope, type ThemeScopeProps } from '../theme-scope';
|
|
27
27
|
/** Base UI keyboard/positioning direction; pair with the DOM's dir attribute. */
|
|
28
28
|
export { DirectionProvider, type DirectionProviderProps } from '@base-ui/react/direction-provider';
|
|
@@ -3,12 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The store is created synchronously on the first render, so server output,
|
|
5
5
|
* hydration, and the first browser render all observe the same configuration.
|
|
6
|
-
* Independent roots and SSR requests never share mutable provider state.
|
|
6
|
+
* Independent roots and SSR requests never share mutable provider state. A
|
|
7
|
+
* nested provider starts from its parent's resolved defaults and overrides
|
|
8
|
+
* only the keys it sets.
|
|
7
9
|
*/
|
|
8
10
|
import { type ReactNode } from 'react';
|
|
9
11
|
import type { UIConfig } from './types';
|
|
10
12
|
export interface UIProviderProps {
|
|
11
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Partial display-default tree merged over the nearest parent provider's
|
|
15
|
+
* defaults, or over `DEFAULT_UI_CONFIG` at the root.
|
|
16
|
+
*/
|
|
12
17
|
config?: UIConfig;
|
|
13
18
|
children: ReactNode;
|
|
14
19
|
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { type StoreApi } from 'zustand/vanilla';
|
|
2
2
|
import type { ResolvedUIConfig, UIConfig } from './types';
|
|
3
3
|
export type UIStore = StoreApi<ResolvedUIConfig>;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Merge a partial config over a resolved base: the package defaults for a
|
|
6
|
+
* root provider, or the parent provider's resolved defaults when nested.
|
|
7
|
+
*/
|
|
8
|
+
export declare function resolveUIConfig(config?: UIConfig, base?: ResolvedUIConfig): ResolvedUIConfig;
|
|
9
|
+
export declare function createUIStore(config?: UIConfig, base?: ResolvedUIConfig): UIStore;
|
|
6
10
|
export declare const UIStoreContext: import("react").Context<UIStore | null>;
|
|
7
11
|
export declare function useUIStore<T>(selector: (state: ResolvedUIConfig) => T): T;
|
|
8
12
|
/** Test-only helper for components rendered without a provider. */
|
|
@@ -41,6 +41,8 @@ export type ButtonSize = ComponentScale;
|
|
|
41
41
|
export type CardTitleSize = ComponentScale;
|
|
42
42
|
export type ToastPosition = 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center';
|
|
43
43
|
export type ToastTheme = 'light' | 'dark' | 'system';
|
|
44
|
+
/** Alignment of an overlay's heading (icon, title, description) and its actions. */
|
|
45
|
+
export type OverlayAlign = 'start' | 'center';
|
|
44
46
|
/** ------------------------------------------------------------------ */
|
|
45
47
|
/** ------------------------------------------------------------------ */
|
|
46
48
|
/** ISO 4217 currency code. The library never enumerates currency codes —
|
|
@@ -99,9 +101,12 @@ export interface ItemConfigSlice {
|
|
|
99
101
|
defaultVariant?: ItemVariant;
|
|
100
102
|
}
|
|
101
103
|
export interface ButtonConfigSlice {
|
|
102
|
-
/**
|
|
104
|
+
/** Tone of a `<Button>` without `tone`. Defaults to `secondary`: the neutral button. */
|
|
103
105
|
defaultTone?: ButtonTone;
|
|
104
|
-
/**
|
|
106
|
+
/**
|
|
107
|
+
* Style of a `<Button>` that sets neither `tone` nor `buttonStyle`. Defaults to
|
|
108
|
+
* `outline`. A button with a `tone` but no `buttonStyle` is `solid`.
|
|
109
|
+
*/
|
|
105
110
|
defaultButtonStyle?: ButtonStyle;
|
|
106
111
|
}
|
|
107
112
|
export interface BadgeConfigSlice {
|
|
@@ -116,6 +121,12 @@ export interface CardConfigSlice {
|
|
|
116
121
|
/** Whether Card footers render a top divider by default. Explicit false still wins. */
|
|
117
122
|
defaultFooterDivider?: boolean;
|
|
118
123
|
}
|
|
124
|
+
export interface OverlayConfigSlice {
|
|
125
|
+
/** Default `ConfirmDialog` alignment. Per-dialog `align` still wins. Default: `'center'`. */
|
|
126
|
+
defaultConfirmAlign?: OverlayAlign;
|
|
127
|
+
/** Default `ActionDialog` alignment. Per-dialog `align` still wins. Default: `'start'`. */
|
|
128
|
+
defaultDialogAlign?: OverlayAlign;
|
|
129
|
+
}
|
|
119
130
|
export interface ToastConfig {
|
|
120
131
|
/** Default toast lifetime in ms. */
|
|
121
132
|
duration?: number;
|
|
@@ -146,6 +157,7 @@ export interface UIConfig {
|
|
|
146
157
|
button?: ButtonConfigSlice;
|
|
147
158
|
badge?: BadgeConfigSlice;
|
|
148
159
|
card?: CardConfigSlice;
|
|
160
|
+
overlay?: OverlayConfigSlice;
|
|
149
161
|
toast?: ToastConfig;
|
|
150
162
|
spinner?: SpinnerConfigSlice;
|
|
151
163
|
}
|
package/dist/lib/utils.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../utils-
|
|
1
|
+
import { t as e } from "../utils-l5LpDw2z.js";
|
|
2
2
|
export { e as cn };
|