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
|
@@ -33,8 +33,10 @@ interface LoaderButtonContentProps {
|
|
|
33
33
|
icon?: BaseButtonProps['icon'];
|
|
34
34
|
iconPosition?: BaseButtonProps['iconPosition'];
|
|
35
35
|
size?: ButtonSize;
|
|
36
|
+
/** Ends the label with an ellipsis instead of wrapping it. */
|
|
37
|
+
truncate?: boolean;
|
|
36
38
|
children: React.ReactNode;
|
|
37
39
|
}
|
|
38
|
-
export declare function LoaderButtonContent({ isLoading, loadingText, icon: Icon, iconPosition, size: _size, children, }: LoaderButtonContentProps): React.JSX.Element;
|
|
40
|
+
export declare function LoaderButtonContent({ isLoading, loadingText, icon: Icon, iconPosition, size: _size, truncate, children, }: LoaderButtonContentProps): React.JSX.Element;
|
|
39
41
|
declare const LoaderButton: React.ForwardRefExoticComponent<Omit<LoaderButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
40
42
|
export { LoaderButton };
|
|
@@ -8,12 +8,12 @@ import * as React from 'react';
|
|
|
8
8
|
import { type ComponentScale } from '../../../lib/ui-provider';
|
|
9
9
|
export type TextButtonSize = ComponentScale;
|
|
10
10
|
export type TextButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'size'> & {
|
|
11
|
-
/** Size preset. */
|
|
11
|
+
/** Size preset. `md` (default) matches body text; `sm` is the compact 13px role. Defaults to `UIProvider.density.defaultScale`. */
|
|
12
12
|
size?: TextButtonSize;
|
|
13
13
|
children: React.ReactNode;
|
|
14
14
|
};
|
|
15
15
|
export declare const TextButton: React.ForwardRefExoticComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & {
|
|
16
|
-
/** Size preset. */
|
|
16
|
+
/** Size preset. `md` (default) matches body text; `sm` is the compact 13px role. Defaults to `UIProvider.density.defaultScale`. */
|
|
17
17
|
size?: TextButtonSize;
|
|
18
18
|
children: React.ReactNode;
|
|
19
19
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -37,7 +37,9 @@ export interface CarouselProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
37
37
|
* ```
|
|
38
38
|
*
|
|
39
39
|
* Use `inside` to overlay the controls on the viewport and skip the gutter
|
|
40
|
-
* entirely
|
|
40
|
+
* entirely; they get an opaque background so slide content never shows
|
|
41
|
+
* through. `overlay` adds a shadow for media slides, and `inline` keeps
|
|
42
|
+
* the controls in document flow (see `CarouselNavigation`).
|
|
41
43
|
*/
|
|
42
44
|
controlPlacement?: CarouselControlPlacement;
|
|
43
45
|
/** Receives the carousel API so the consumer can drive it from outside. */
|
|
@@ -25,15 +25,15 @@ export type ChartConfig = Record<string, {
|
|
|
25
25
|
})>;
|
|
26
26
|
export type ChartPayloadItem = {
|
|
27
27
|
dataKey?: string | number;
|
|
28
|
-
/**
|
|
28
|
+
/** Series name. */
|
|
29
29
|
name?: string | number;
|
|
30
|
-
/**
|
|
30
|
+
/** The series value at the hovered point. */
|
|
31
31
|
value?: string | number | Array<string | number>;
|
|
32
32
|
type?: string;
|
|
33
33
|
/** Overrides the colour of the tooltip indicator. */
|
|
34
34
|
color?: string;
|
|
35
35
|
fill?: string;
|
|
36
|
-
/**
|
|
36
|
+
/** The raw data row for the hovered point. Supplied by Recharts. */
|
|
37
37
|
payload?: Record<string, unknown>;
|
|
38
38
|
};
|
|
39
39
|
export interface ChartInitialDimension {
|
|
@@ -66,11 +66,11 @@ export interface ChartTooltipContentProps extends React.ComponentPropsWithoutRef
|
|
|
66
66
|
labelFormatter?: (label: React.ReactNode, payload: ChartPayloadItem[]) => React.ReactNode;
|
|
67
67
|
/** Formats each tooltip value. */
|
|
68
68
|
formatter?: (
|
|
69
|
-
/**
|
|
69
|
+
/** The series value at the hovered point. */
|
|
70
70
|
value: NonNullable<ChartPayloadItem['value']>,
|
|
71
|
-
/**
|
|
71
|
+
/** Series name. */
|
|
72
72
|
name: NonNullable<ChartPayloadItem['name']>, item: ChartPayloadItem, index: number,
|
|
73
|
-
/**
|
|
73
|
+
/** The raw data row for the hovered point. Supplied by Recharts. */
|
|
74
74
|
payload?: Record<string, unknown>) => React.ReactNode;
|
|
75
75
|
/** Overrides the colour of the tooltip indicator. */
|
|
76
76
|
color?: string;
|
|
@@ -89,7 +89,7 @@ declare function ChartTooltipContent({ active, payload, className, indicator, hi
|
|
|
89
89
|
declare const ChartLegend: React.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>;
|
|
90
90
|
export interface ChartLegendContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
91
91
|
hideIcon?: boolean;
|
|
92
|
-
/**
|
|
92
|
+
/** Legend entries, one per series. Supplied by Recharts. */
|
|
93
93
|
payload?: ChartPayloadItem[];
|
|
94
94
|
verticalAlign?: 'top' | 'bottom' | 'middle';
|
|
95
95
|
/** Key in the payload holding each series name. */
|
|
@@ -2,15 +2,14 @@ import { type CheckboxProps } from '../../ui/checkbox';
|
|
|
2
2
|
/**
|
|
3
3
|
* Checkbox — base wrapper around the shadcn/Base UI checkbox primitive.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* The primitive renders an inline-flex square, so token size utilities render
|
|
6
|
+
* as a box instead of collapsing to the two border lines. Its boundary is the
|
|
7
|
+
* shared `--input` control border, the same one every field, choice control and
|
|
8
|
+
* outline button draws.
|
|
8
9
|
*
|
|
9
10
|
* The root ref accepts the actual HTMLElement, including custom button renders.
|
|
10
|
-
* The
|
|
11
|
-
*
|
|
12
|
-
* The wrapper retains its compact corner recipe while deriving it from the
|
|
13
|
-
* shared theme radius, so scoped consumer radius overrides still apply.
|
|
11
|
+
* The compact corner recipe derives from the shared theme radius, so scoped
|
|
12
|
+
* consumer radius overrides still apply. The indeterminate state draws a dash.
|
|
14
13
|
*/
|
|
15
14
|
declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
16
15
|
export { Checkbox };
|
|
@@ -52,6 +52,27 @@ export declare const choicePillSizeTokens: Record<ChoiceSize, string>;
|
|
|
52
52
|
* Row padding tokens for ListRadio and any future inline list variant.
|
|
53
53
|
*/
|
|
54
54
|
export declare const choiceListSizeTokens: Record<ChoiceSize, string>;
|
|
55
|
-
/**
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
/**
|
|
56
|
+
* Shared option-card states for CardRadioGroup and CardCheckboxGroup: the resting
|
|
57
|
+
* `border-border` divider (declared beside `border` by each owner) steps up to the
|
|
58
|
+
* control boundary on hover, and keyboard focus draws the shared focus frame.
|
|
59
|
+
* Selection and validation are added by each owner as data/aria variants, so they
|
|
60
|
+
* keep their border while focused.
|
|
61
|
+
*/
|
|
62
|
+
export declare const choiceCardStateClasses: string;
|
|
63
|
+
/** Optional option glyph: one neutral tile in every state, so colour stays for meaning. */
|
|
64
|
+
export declare const choiceCardIconClasses = "inline-flex shrink-0 items-center justify-center rounded-inner bg-muted text-muted-foreground";
|
|
65
|
+
/**
|
|
66
|
+
* A control track exactly one label line tall. Pair it with the label's own text
|
|
67
|
+
* role (size and leading) and align the row to its start: a checkbox, radio,
|
|
68
|
+
* switch or selection marker then centres on the label's first line at every
|
|
69
|
+
* scale, whether or not the label wraps.
|
|
70
|
+
*/
|
|
71
|
+
export declare const choiceControlTrackClasses = "flex h-lh shrink-0 items-center";
|
|
72
|
+
/**
|
|
73
|
+
* Shared selected-card marker, derived from action geometry. It sits in a
|
|
74
|
+
* `choiceControlTrackClasses` track beside the option label, inside a slot that
|
|
75
|
+
* keeps its width while unselected so selecting never rewraps the label.
|
|
76
|
+
*/
|
|
77
|
+
export declare const choiceCardMarkerClasses = "size-action-sm shrink-0 text-primary-foreground fill-primary stroke-primary-foreground";
|
|
78
|
+
export declare const choiceCardMarkerSlotClasses = "inline-flex size-action-sm shrink-0 items-center justify-center";
|
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
* Custom-styled buttons rather than the shadcn ToggleGroup primitive: the
|
|
7
7
|
* primitive strips inner rounding when spacing=0, which doesn't match this
|
|
8
8
|
* design system's pill connector style.
|
|
9
|
+
*
|
|
10
|
+
* Keyboard follows the native radio-group pattern: the group is one Tab stop
|
|
11
|
+
* (the selected pill, or the first enabled one), the arrow keys move to the
|
|
12
|
+
* previous/next enabled pill and select it, Home/End jump to the ends, and
|
|
13
|
+
* Space/Enter select the focused pill (or clear it when `allowClear` is set).
|
|
9
14
|
*/
|
|
10
15
|
import * as React from 'react';
|
|
11
16
|
import { type ChoiceGroupBaseProps, type ChoiceOptionBase } from './choice-types';
|
|
@@ -23,5 +28,9 @@ export interface PillRadioGroupProps extends Omit<ChoiceGroupBaseProps, 'name'>
|
|
|
23
28
|
allowClear?: boolean;
|
|
24
29
|
/** Stretch pills to fill the container. */
|
|
25
30
|
fullWidth?: boolean;
|
|
31
|
+
/** Accessible name of the group when no visible label is associated with it. */
|
|
32
|
+
'aria-label'?: string;
|
|
33
|
+
/** Id of a visible label that names the group. */
|
|
34
|
+
'aria-labelledby'?: string;
|
|
26
35
|
}
|
|
27
36
|
export declare const PillRadioGroup: React.ForwardRefExoticComponent<PillRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -19,8 +19,16 @@ export interface SelectPopupItemProps extends ComponentPropsWithoutRef<typeof ba
|
|
|
19
19
|
}
|
|
20
20
|
export declare function SelectPopupItem({ children, className, size, density, ...props }: SelectPopupItemProps): import("react").JSX.Element;
|
|
21
21
|
export interface SelectPopupLabelProps extends ComponentPropsWithoutRef<typeof baseui.SelectLabel> {
|
|
22
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Owning control scale. Group captions sit one step below the option text:
|
|
24
|
+
* `sm` and `md` use the compact caption size, `lg` the default text size.
|
|
25
|
+
* Defaults to `md`.
|
|
26
|
+
*/
|
|
23
27
|
size?: FormControlSize;
|
|
24
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Group caption. Supporting copy rather than another option, so it uses the
|
|
31
|
+
* secondary medium caption role shared with menu and command group captions.
|
|
32
|
+
*/
|
|
25
33
|
export declare function SelectPopupLabel({ children, className, size, ...props }: SelectPopupLabelProps): import("react").JSX.Element;
|
|
26
34
|
export declare function SelectPopupSeparator({ className, ...props }: ComponentPropsWithoutRef<typeof baseui.SelectSeparator>): import("react").JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* SwitchCard — bordered settings card with an icon, title, optional
|
|
3
3
|
* description, optional hint, and a trailing switch. The whole card is
|
|
4
4
|
* clickable and toggles the switch; clicking inside the actual switch only
|
|
5
|
-
* toggles once.
|
|
5
|
+
* toggles once. The on state draws the primary border; the switch itself carries the state.
|
|
6
6
|
*
|
|
7
7
|
* Use for top-of-list "feature" toggles where the switch needs more visual
|
|
8
8
|
* weight than a `ToggleField`. For dense rows, prefer `ToggleField`.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Private label / hint / error chrome shared by the DatePicker modes and
|
|
3
|
+
* MonthYearPicker. It keeps FormField's rhythm and roles: the same label recipe,
|
|
4
|
+
* the same gap to the trigger and to the supporting line, and a polite alert for
|
|
5
|
+
* the validation message. Validation marks the trigger, not the label.
|
|
6
|
+
*
|
|
7
|
+
* The hint keeps its documented place beside the label and is suppressed while
|
|
8
|
+
* an error shows. Not part of the public API.
|
|
9
|
+
*/
|
|
10
|
+
import type { ReactNode, Ref } from 'react';
|
|
11
|
+
export interface DatePickerFieldProps {
|
|
12
|
+
rootRef?: Ref<HTMLDivElement>;
|
|
13
|
+
className?: string;
|
|
14
|
+
label?: string;
|
|
15
|
+
hint?: string;
|
|
16
|
+
error?: string;
|
|
17
|
+
/** Id of the trigger the label names. */
|
|
18
|
+
triggerId: string;
|
|
19
|
+
/** Id of the validation message the trigger references. */
|
|
20
|
+
describedById: string;
|
|
21
|
+
children: ReactNode;
|
|
22
|
+
}
|
|
23
|
+
export declare function DatePickerField({ rootRef, className, label, hint, error, triggerId, describedById, children, }: DatePickerFieldProps): import("react").JSX.Element;
|
|
@@ -72,11 +72,21 @@ export interface DatePickerBaseProps {
|
|
|
72
72
|
/** Short guidance shown beside the label. Suppressed while `error` is set. */
|
|
73
73
|
hint?: string;
|
|
74
74
|
/**
|
|
75
|
-
* Validation message rendered below the trigger
|
|
76
|
-
* trigger's `aria-describedby`. Setting it also marks the
|
|
77
|
-
*
|
|
75
|
+
* Validation message rendered below the trigger (as a polite alert) and
|
|
76
|
+
* referenced by the trigger's `aria-describedby`. Setting it also marks the
|
|
77
|
+
* trigger invalid; like `FormField`, validation marks the field, not the label.
|
|
78
78
|
*/
|
|
79
79
|
error?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Marks the trigger invalid without rendering a message, for when an external
|
|
82
|
+
* `FormField` owns the validation copy. `error` implies it.
|
|
83
|
+
*/
|
|
84
|
+
invalid?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Id of the trigger. An external `<FormField label>` assigns its child an id,
|
|
87
|
+
* so the label names the trigger. Defaults to a generated id.
|
|
88
|
+
*/
|
|
89
|
+
id?: string;
|
|
80
90
|
/** Disables the trigger and prevents the calendar from opening. */
|
|
81
91
|
disabled?: boolean;
|
|
82
92
|
/** Merged onto the outermost node. */
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import type { TextGap } from '../structure';
|
|
2
2
|
/**
|
|
3
|
-
* AlertDialog —
|
|
4
|
-
*
|
|
3
|
+
* AlertDialog — internal confirmation anatomy behind `ConfirmDialog`.
|
|
4
|
+
*
|
|
5
|
+
* Not published from any entrypoint: applications use `ConfirmDialog` from
|
|
6
|
+
* `themelia-react-ui/features/overlays`, which owns the decision lifecycle.
|
|
7
|
+
* The surface shares the modal shell, region, rule and typography geometry of
|
|
8
|
+
* the internal Dialog wrapper: a pinned heading region, an optional scrolling
|
|
9
|
+
* body and pinned answers, with one rule between adjacent visible regions.
|
|
5
10
|
*/
|
|
6
11
|
import * as React from 'react';
|
|
7
12
|
import { AlertDialog as AlertDialogPrimitive, AlertDialogOverlay, AlertDialogPortal } from '../../ui/alert-dialog';
|
|
@@ -12,9 +17,11 @@ export declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<im
|
|
|
12
17
|
} & {
|
|
13
18
|
container?: import("../../../lib/theme-scope").ThemePortalContainer;
|
|
14
19
|
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
export declare const AlertDialogHeader: React.ForwardRefExoticComponent<
|
|
20
|
+
export declare const AlertDialogHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
16
21
|
textGap?: TextGap;
|
|
22
|
+
align?: "start" | "center";
|
|
17
23
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
/** Scroll-owning region between the pinned heading and the pinned answers. */
|
|
18
25
|
export declare const AlertDialogBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
19
26
|
export declare const AlertDialogFooter: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
27
|
export declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<Omit<import("@base-ui/react").AlertDialogTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** @deprecated Use Card with surface="flat" and padding="none" for unframed content. */
|
|
2
1
|
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
3
2
|
import type { ActionMenuAction } from '../action-menu';
|
|
4
3
|
import type { StructureGap } from '../structure';
|
|
@@ -68,6 +67,9 @@ export interface ContentBlockProps extends Omit<HTMLAttributes<HTMLDivElement>,
|
|
|
68
67
|
/** Overrides the block's own copy (overflow-menu and tooltip labels). */
|
|
69
68
|
strings?: StringsProp<ContentBlockStrings>;
|
|
70
69
|
}
|
|
71
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* Migration adapter only; Card owns all rendering, slots and surface recipes.
|
|
72
|
+
* @deprecated Use Card with surface="flat" and padding="none" for unframed content.
|
|
73
|
+
*/
|
|
72
74
|
export declare const ContentBlock: import("react").ForwardRefExoticComponent<ContentBlockProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
73
75
|
export { defaultContentBlockStrings, type ContentBlockStrings } from './content-block.strings';
|
|
@@ -31,7 +31,7 @@ export interface DateBlockProps extends Omit<ComponentPropsWithoutRef<'time'>, '
|
|
|
31
31
|
time?: ReactNode;
|
|
32
32
|
/** Override the machine-readable value placed on the native `<time>`. */
|
|
33
33
|
dateTime?: string;
|
|
34
|
-
/** date-fns locale. Falls back to `<UIProvider
|
|
34
|
+
/** date-fns locale. Falls back to `<UIProvider config={{ dates: { locale } }}>`. */
|
|
35
35
|
locale?: Locale;
|
|
36
36
|
/** Visual layout. @default "stacked" */
|
|
37
37
|
layout?: DateBlockLayout;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import type { TextGap } from '../structure';
|
|
2
2
|
/**
|
|
3
|
-
* Dialog —
|
|
3
|
+
* Dialog — internal modal anatomy behind `ActionDialog`.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* Not published from any entrypoint: applications use `ActionDialog` (or
|
|
6
|
+
* `ConfirmDialog`) from `themelia-react-ui/features/overlays`, which owns the
|
|
7
|
+
* lifecycle, focus, dismissal and action contract. This wrapper supplies the
|
|
8
|
+
* modal geometry those features share: one framed popover surface whose
|
|
9
|
+
* header, scrolling body and footer each own their inset, with exactly one rule
|
|
10
|
+
* between adjacent visible regions (`modalRegionRecipes`).
|
|
8
11
|
*/
|
|
9
12
|
import * as React from 'react';
|
|
10
13
|
import { Dialog as DialogPrimitive, DialogOverlay, DialogPortal } from '../../ui/dialog';
|
|
@@ -21,7 +24,7 @@ export declare const DialogContent: React.ForwardRefExoticComponent<Omit<import(
|
|
|
21
24
|
export declare const DialogHeader: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & {
|
|
22
25
|
textGap?: TextGap;
|
|
23
26
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
-
/** Scroll-owning content region between the
|
|
27
|
+
/** Scroll-owning content region between the pinned dialog header and footer. */
|
|
25
28
|
export declare const DialogBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
26
29
|
export declare const DialogFooter: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
27
30
|
showCloseButton?: boolean;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* coupon checks, conversation initials, search-result tones, AI-bot avatars.
|
|
5
5
|
*
|
|
6
6
|
* Tones reuse the shadcn semantic tokens, with the foreground colour picked
|
|
7
|
-
* to read against
|
|
7
|
+
* to read against its tone's shared tint (`toneRecipes`, contrast-tested).
|
|
8
8
|
* For a fully-saturated mark (primary fill, inverse foreground), use
|
|
9
9
|
* `tone="primary"` and pass `solid`.
|
|
10
10
|
*
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* One wrapping title/suffix composition shared by cards and content structures.
|
|
4
|
+
* A plain-text title is exposed as a level-2 heading (below the page's h1) so
|
|
5
|
+
* screen-reader users can move between surfaces; suffix badges stay outside its
|
|
6
|
+
* accessible name. Custom title nodes keep their own semantics.
|
|
7
|
+
*/
|
|
3
8
|
export declare function SurfaceTitle({ title, suffix, size, className, suffixClassName, dataSlot }: {
|
|
4
9
|
title?: ReactNode;
|
|
5
10
|
suffix?: ReactNode;
|
|
@@ -40,7 +40,7 @@ export interface AlertMetadataItemProps extends Omit<ComponentPropsWithoutRef<'d
|
|
|
40
40
|
label: ReactNode;
|
|
41
41
|
/** User-provided metadata value. May contain a package value primitive. */
|
|
42
42
|
value: ReactNode;
|
|
43
|
-
/** Applies tabular
|
|
43
|
+
/** Applies tabular figures to simple numeric values, in the sans UI font. */
|
|
44
44
|
numeric?: boolean;
|
|
45
45
|
}
|
|
46
46
|
/** A label/value pair rendered with native `dt` and `dd` semantics. */
|
|
@@ -9,13 +9,13 @@ export interface LoadingStateProps extends DivProps {
|
|
|
9
9
|
description?: ReactNode;
|
|
10
10
|
/** Completion percentage, 0-100, for determinate loading. */
|
|
11
11
|
progress?: number;
|
|
12
|
-
/**
|
|
12
|
+
/** `inline` (default) for a chrome-free status inside an existing region; `panel` for one framed surface. */
|
|
13
13
|
variant?: LoadingStateVariant;
|
|
14
14
|
/** Renders placeholder bars instead of a message. */
|
|
15
15
|
skeleton?: boolean | ReactNode;
|
|
16
16
|
/** How many skeleton bars to draw. */
|
|
17
17
|
lines?: number;
|
|
18
|
-
/**
|
|
18
|
+
/** Leading glyph beside the message. Defaults to a spinning loader. */
|
|
19
19
|
icon?: ReactNode;
|
|
20
20
|
}
|
|
21
21
|
export declare const LoadingState: import("react").ForwardRefExoticComponent<LoadingStateProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -27,12 +27,13 @@ export interface ErrorStateProps extends Omit<DivProps, 'title'> {
|
|
|
27
27
|
description?: ReactNode;
|
|
28
28
|
/** Control offered alongside the message. */
|
|
29
29
|
action?: ReactNode;
|
|
30
|
+
/** Renders a retry button (with `retryLabel`) that calls this. Ignored when `action` is set. */
|
|
30
31
|
onRetry?: () => void;
|
|
31
32
|
/** Copy for the retry action in the error state. */
|
|
32
33
|
retryLabel?: ReactNode;
|
|
33
|
-
/**
|
|
34
|
+
/** `panel` (default) for one framed surface; `inline` for a chrome-free status inside an existing region. */
|
|
34
35
|
variant?: ErrorStateVariant;
|
|
35
|
-
/**
|
|
36
|
+
/** Leading glyph beside the message. Defaults to an alert icon. */
|
|
36
37
|
icon?: ReactNode;
|
|
37
38
|
}
|
|
38
39
|
export declare const ErrorState: import("react").ForwardRefExoticComponent<ErrorStateProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -59,17 +59,24 @@ export declare const formControlMinHeightClasses: {
|
|
|
59
59
|
md: string;
|
|
60
60
|
lg: string;
|
|
61
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* The one field frame, drawn by `Input` on its native field and by
|
|
64
|
+
* `formFieldTriggerClasses` on button-shaped triggers: the `--input` boundary,
|
|
65
|
+
* inner radius, transparent fill (the library is intentionally flat), control
|
|
66
|
+
* height, editable text size, control padding and the shared focus, invalid and
|
|
67
|
+
* disabled states. Layout (`flex`, width) stays with each owner.
|
|
68
|
+
*
|
|
69
|
+
* The displayed value is the field's value, so it follows the editable text
|
|
70
|
+
* recipe: on coarse pointers a trigger matches the touch input size of an
|
|
71
|
+
* adjoining `Input` instead of rendering a step smaller.
|
|
72
|
+
*/
|
|
73
|
+
export declare function formFieldFrameClasses(size: ComponentScale): string;
|
|
62
74
|
/**
|
|
63
75
|
* Canonical "input-shaped trigger" chrome — used by any control that
|
|
64
76
|
* renders as a button-style trigger but visually has to read as a form
|
|
65
|
-
* field (DatePicker, TimePicker, the inner Select inside composite
|
|
66
|
-
* fields, etc.).
|
|
67
|
-
*
|
|
68
|
-
* is intentionally flat) plus the size-driven height + horizontal
|
|
69
|
-
* padding.
|
|
70
|
-
*
|
|
71
|
-
* Kept here so the chrome lives in exactly one place — when we tweak
|
|
72
|
-
* the canonical input look, every trigger picks it up.
|
|
77
|
+
* field (DatePicker, TimePicker, Cascader, the inner Select inside composite
|
|
78
|
+
* fields, etc.). It is `Input`'s own frame plus button resets, so when the
|
|
79
|
+
* canonical input look changes every trigger picks it up.
|
|
73
80
|
*/
|
|
74
81
|
export declare function formFieldTriggerClasses(size: ComponentScale): string;
|
|
75
82
|
export declare const formTextareaSizeClasses: {
|
|
@@ -77,6 +84,34 @@ export declare const formTextareaSizeClasses: {
|
|
|
77
84
|
md: string;
|
|
78
85
|
lg: string;
|
|
79
86
|
};
|
|
87
|
+
/**
|
|
88
|
+
* Vertical inset of multi-line fields. Their first line sits exactly where a
|
|
89
|
+
* single-line control of the same size draws its value (inside the 1px border),
|
|
90
|
+
* so a Textarea beside an Input shares its first line. `1lh` is the field's own
|
|
91
|
+
* line height, so the inset follows the editable text size on every pointer.
|
|
92
|
+
*/
|
|
93
|
+
export declare const formTextareaInsetClasses: {
|
|
94
|
+
sm: string;
|
|
95
|
+
md: string;
|
|
96
|
+
lg: string;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Top offsets that centre multi-line field affordances on the first line, where a
|
|
100
|
+
* single-line control of the same size centres them: the clear target
|
|
101
|
+
* (`size-control-clear`) and a `size-icon` glyph such as the loading spinner.
|
|
102
|
+
*/
|
|
103
|
+
export declare const formTextareaAffordanceTopClasses: {
|
|
104
|
+
readonly target: {
|
|
105
|
+
readonly sm: "top-[calc((var(--height-control)*8/9-1.375rem)*var(--density-scale)/2)]";
|
|
106
|
+
readonly md: "top-[calc((var(--height-control)-1.375rem)*var(--density-scale)/2)]";
|
|
107
|
+
readonly lg: "top-[calc((var(--height-control)*10/9-1.375rem)*var(--density-scale)/2)]";
|
|
108
|
+
};
|
|
109
|
+
readonly icon: {
|
|
110
|
+
readonly sm: "top-[calc((var(--height-control)*8/9*var(--density-scale)-var(--icon))/2)]";
|
|
111
|
+
readonly md: "top-[calc((var(--height-control)*var(--density-scale)-var(--icon))/2)]";
|
|
112
|
+
readonly lg: "top-[calc((var(--height-control)*10/9*var(--density-scale)-var(--icon))/2)]";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
80
115
|
export declare const formLabelSizeClasses: {
|
|
81
116
|
sm: string;
|
|
82
117
|
md: string;
|
|
@@ -58,6 +58,8 @@ export interface DirtyStateBannerProps {
|
|
|
58
58
|
}
|
|
59
59
|
export declare function DirtyStateBanner({ title, description, actions, tone, className, }: DirtyStateBannerProps): import("react").JSX.Element;
|
|
60
60
|
export interface SubmitStateButtonProps extends Omit<ButtonProps, 'loading'> {
|
|
61
|
+
/** Semantic color. Defaults to `primary`: submitting is the form's main command. */
|
|
62
|
+
tone?: ButtonProps['tone'];
|
|
61
63
|
/** Shows the pending state and blocks repeat submissions. */
|
|
62
64
|
submitting?: boolean;
|
|
63
65
|
/** Whether the form has unsaved changes. */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type StringsProp } from '../../../lib/strings';
|
|
3
|
+
import type { FormControlSize } from '../../../lib/ui-provider';
|
|
3
4
|
export interface CoordinatesObjectValue {
|
|
4
5
|
lat?: string;
|
|
5
6
|
lng?: string;
|
|
@@ -43,5 +44,7 @@ export interface CoordinatesInputProps {
|
|
|
43
44
|
className?: string;
|
|
44
45
|
/** Disabled state */
|
|
45
46
|
disabled?: boolean;
|
|
47
|
+
/** Control-height preset for both fields. Falls back to `UIProvider.density.defaultScale`, like the other numeric inputs. */
|
|
48
|
+
size?: FormControlSize;
|
|
46
49
|
}
|
|
47
50
|
export declare const CoordinatesInput: React.ForwardRefExoticComponent<CoordinatesInputProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -5,7 +5,10 @@ export interface RoundingModeSelectProps extends Omit<SelectProps, 'options' | '
|
|
|
5
5
|
value?: RoundingMode;
|
|
6
6
|
/** Canonical change handler. */
|
|
7
7
|
onValueChange?: (value: RoundingMode | undefined) => void;
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Labels for the rounding modes. Defaults to sentence-case names: `floor` →
|
|
10
|
+
* "Round down", `half_up` → "Round half up", `ceil` → "Round up".
|
|
11
|
+
*/
|
|
9
12
|
labels?: Partial<Record<RoundingMode, string>>;
|
|
10
13
|
}
|
|
11
14
|
export declare const RoundingModeSelect: import("react").ForwardRefExoticComponent<RoundingModeSelectProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* metadata-list — label/value facts about one entity.
|
|
3
|
+
*
|
|
4
|
+
* A base structure: it composes typography, primitives and base display parts,
|
|
5
|
+
* and any surface (Card, panel, drawer or block) places it. Previously
|
|
6
|
+
* published from `themelia-react-ui/blocks/data-display`, which re-exports it
|
|
7
|
+
* as a deprecated compatibility path.
|
|
8
|
+
*/
|
|
9
|
+
export { MetadataList, defaultMetadataListStrings } from './metadata-list';
|
|
10
|
+
export type { MetadataDensity, MetadataInlineListItem, MetadataLayout, MetadataListItem, MetadataListProps, MetadataListStrings, } from './metadata-list';
|
|
11
|
+
export { MetadataValue } from './metadata-value';
|
|
12
|
+
export type { MetadataValueDescriptor, MetadataValueKind, MetadataValueProps, } from './metadata-value';
|
package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.d.ts
RENAMED
|
@@ -1,37 +1,28 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MetadataList — flexible label/value list for entity metadata.
|
|
3
|
-
*
|
|
4
|
-
* Three layouts:
|
|
5
|
-
* - `grid` (default): label-on-top, value-below cells for entity details.
|
|
6
|
-
* - `rows`: two-column definition rows with hairline separators.
|
|
7
|
-
* - `inline`: label/separator/value pairs that wrap, suitable for
|
|
8
|
-
* pill-style summaries (e.g. "Created Jan 4 · By Alice · v3.2").
|
|
9
|
-
*
|
|
10
|
-
* Each item supports an optional icon, tooltip, React-node value, custom
|
|
11
|
-
* `render`, and per-item `emptyLabel`. Falls back to the shared `EMPTY` when
|
|
12
|
-
* both are missing. Returns `null` when the list is empty so callers can render
|
|
13
|
-
* unconditionally.
|
|
14
|
-
*/
|
|
15
|
-
import { type LucideIcon } from 'lucide-react';
|
|
16
1
|
import React from 'react';
|
|
17
|
-
import { type ResponsiveValue } from '
|
|
18
|
-
import { type StringsProp } from '
|
|
2
|
+
import { type ResponsiveValue } from '../structure';
|
|
3
|
+
import { type StringsProp } from '../../../lib/strings';
|
|
19
4
|
import { defaultMetadataListStrings, type MetadataListStrings } from './metadata-list.strings';
|
|
20
5
|
import { type MetadataValueDescriptor } from './metadata-value';
|
|
21
6
|
export type { MetadataListStrings };
|
|
22
7
|
export { defaultMetadataListStrings };
|
|
23
8
|
export type MetadataListItem = {
|
|
24
|
-
/** Stable identity for this entry. */
|
|
9
|
+
/** Stable identity for this entry. Without one the label and index stand in. */
|
|
25
10
|
id?: string;
|
|
26
11
|
/** Display label. */
|
|
27
12
|
label: React.ReactNode;
|
|
13
|
+
/** A node, or a descriptor that names the fact's kind. */
|
|
28
14
|
value?: React.ReactNode | MetadataValueDescriptor | null;
|
|
29
|
-
/** Supporting copy shown under the
|
|
15
|
+
/** Supporting copy shown under the value. */
|
|
30
16
|
description?: React.ReactNode | null;
|
|
17
|
+
/** Shown from an info trigger beside the label, named after the label through `strings.formatInfoAriaLabel`. */
|
|
31
18
|
tooltip?: React.ReactNode;
|
|
32
|
-
/** Leading glyph. */
|
|
33
|
-
icon?:
|
|
19
|
+
/** Leading glyph. Any component that accepts `className`, including Lucide icons. */
|
|
20
|
+
icon?: React.ComponentType<{
|
|
21
|
+
className?: string;
|
|
22
|
+
}>;
|
|
23
|
+
/** Shown when this item's value is absent, in place of the list's `emptyLabel`. */
|
|
34
24
|
emptyLabel?: React.ReactNode;
|
|
25
|
+
/** Takes over the value. The output sits in the value box, so it inherits the value's type role. */
|
|
35
26
|
render?: (item: MetadataListItem) => React.ReactNode;
|
|
36
27
|
};
|
|
37
28
|
export type MetadataInlineListItem = Omit<MetadataListItem, 'description'> & {
|
|
@@ -54,7 +45,11 @@ type MetadataListSharedProps = {
|
|
|
54
45
|
className?: string;
|
|
55
46
|
/** Character placed between a label and its value. Defaults to a colon. */
|
|
56
47
|
separator?: string;
|
|
57
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Divider between items, off by default. In `rows`, any truthy value draws a
|
|
50
|
+
* rule between rows (never at the ends). In `inline`, `true` places a middle
|
|
51
|
+
* dot (`·`) and a string places that character.
|
|
52
|
+
*/
|
|
58
53
|
itemSeparator?: boolean | string;
|
|
59
54
|
/** Per-instance string overrides (deep-merged over `defaultMetadataListStrings`). */
|
|
60
55
|
strings?: StringsProp<MetadataListStrings>;
|
|
@@ -64,15 +59,23 @@ type MetadataGridRowsProps = MetadataListSharedProps & {
|
|
|
64
59
|
items: MetadataListItem[];
|
|
65
60
|
/** `grid` flows items into `columns`; `rows` stacks them one per line. Default: `grid`. */
|
|
66
61
|
layout?: 'grid' | 'rows';
|
|
62
|
+
/**
|
|
63
|
+
* Rows layout only. `start` (default) places values and descriptions at the
|
|
64
|
+
* start of proportional label/value tracks; `end` pins them to the row's end
|
|
65
|
+
* edge, for figures that read down a column.
|
|
66
|
+
*/
|
|
67
|
+
valueAlign?: 'start' | 'end';
|
|
67
68
|
};
|
|
68
69
|
type MetadataInlineProps = MetadataListSharedProps & {
|
|
69
|
-
/**
|
|
70
|
+
/** Label/value pairs run together on wrapping lines. Inline items take no description. */
|
|
70
71
|
items: MetadataInlineListItem[];
|
|
71
|
-
/** Runs the
|
|
72
|
+
/** Runs the label/value pairs together on one line, separated by `itemSeparator`. */
|
|
72
73
|
layout: 'inline';
|
|
74
|
+
/** Not used by the inline layout. */
|
|
75
|
+
valueAlign?: never;
|
|
73
76
|
};
|
|
74
77
|
export type MetadataListProps = MetadataGridRowsProps | MetadataInlineProps;
|
|
75
|
-
export declare function MetadataList({ items, columns, density, emptyLabel, title, titleSeparator, className, layout, separator, itemSeparator, strings: stringsProp, }: MetadataListProps): React.JSX.Element | null;
|
|
78
|
+
export declare function MetadataList({ items, columns, density, emptyLabel, title, titleSeparator, className, layout, separator, itemSeparator, valueAlign, strings: stringsProp, }: MetadataListProps): React.JSX.Element | null;
|
|
76
79
|
export declare namespace MetadataList {
|
|
77
80
|
var displayName: string;
|
|
78
81
|
}
|
package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-value.d.ts
RENAMED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { ReactNode } from 'react';
|
|
8
8
|
import type { Locale } from 'date-fns';
|
|
9
|
-
import { type BadgeProps } from '
|
|
10
|
-
import { type DateInput, type DatePreset, type MoneyProps, type TimeProps } from '
|
|
9
|
+
import { type BadgeProps } from '../badge';
|
|
10
|
+
import { type DateInput, type DatePreset, type MoneyProps, type TimeProps } from '../../primitives';
|
|
11
11
|
export type MetadataValueKind = 'text' | 'mono' | 'email' | 'phone' | 'url' | 'link' | 'date' | 'time' | 'datetime' | 'money' | 'badge' | 'node' | 'empty';
|
|
12
12
|
type MetadataDisplayValue = Exclude<ReactNode, null | undefined>;
|
|
13
13
|
type MetadataDateInput = Exclude<DateInput, null | undefined>;
|