themelia-react-ui 1.0.1 → 2.0.0
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 +417 -0
- package/README.md +67 -16
- package/dist/{accordion-B-5Focs8.js → accordion-CQXVcd7Q.js} +15 -15
- package/dist/accordion-CQXVcd7Q.js.map +1 -0
- package/dist/action-menu-BTpyPWJ2.js +264 -0
- package/dist/action-menu-BTpyPWJ2.js.map +1 -0
- package/dist/affordance-geometry.generated-CCIXb2A1.js +68 -0
- package/dist/affordance-geometry.generated-CCIXb2A1.js.map +1 -0
- package/dist/{ai-artifact-B5tPpXnS.js → ai-artifact-2PQ2fItc.js} +206 -215
- package/dist/ai-artifact-2PQ2fItc.js.map +1 -0
- package/dist/{app-shell-at8Kt4l_.js → app-shell-BE_j8-AT.js} +11 -10
- package/dist/app-shell-BE_j8-AT.js.map +1 -0
- package/dist/{attachment-BO2R47wn.js → attachment-q69dlt5Y.js} +14 -14
- package/dist/attachment-q69dlt5Y.js.map +1 -0
- package/dist/auth-M3vGMgDR.js +723 -0
- package/dist/auth-M3vGMgDR.js.map +1 -0
- package/dist/{avatar-Bpzty83c.js → avatar-djdaaQ_s.js} +15 -13
- package/dist/avatar-djdaaQ_s.js.map +1 -0
- package/dist/{badge-BZXZT9wd.js → badge-0tATj-tW.js} +9 -9
- package/dist/badge-0tATj-tW.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/buttons.js +3 -2
- package/dist/base/cards.js +3 -3
- package/dist/base/carousel.js +33 -35
- package/dist/base/carousel.js.map +1 -1
- package/dist/base/cascader.js +246 -222
- package/dist/base/cascader.js.map +1 -1
- package/dist/base/chart.js +1 -1
- package/dist/base/choice-inputs.js +2 -2
- 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 +3 -3
- package/dist/base/display.js +7 -7
- package/dist/base/feedback.js +4 -4
- package/dist/base/forms-numeric.js +1 -1
- package/dist/base/forms.js +2 -2
- package/dist/base/inline-edit.js +94 -92
- 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/navigation.js +6 -6
- 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 +53 -53
- 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 +84 -82
- 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 +7 -7
- 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 +1 -1
- package/dist/blocks/admin.js +228 -219
- package/dist/blocks/admin.js.map +1 -1
- package/dist/blocks/ai.js +182 -212
- package/dist/blocks/ai.js.map +1 -1
- package/dist/blocks/analytics/usage-card.js +1 -1
- package/dist/blocks/analytics.js +665 -620
- package/dist/blocks/analytics.js.map +1 -1
- package/dist/blocks/collaboration.js +2 -2
- package/dist/blocks/commerce/receipt.js +1 -1
- package/dist/blocks/commerce.js +1439 -1553
- package/dist/blocks/commerce.js.map +1 -1
- package/dist/blocks/data-display.js +1 -1
- package/dist/blocks/onboarding.js +6 -6
- package/dist/blocks/onboarding.js.map +1 -1
- package/dist/blocks/planning.js +88 -97
- package/dist/blocks/planning.js.map +1 -1
- package/dist/blocks/timelines.js +1 -1
- package/dist/{breadcrumbs-DdQ_I5ra.js → breadcrumbs-BG_FfMK4.js} +10 -9
- package/dist/breadcrumbs-BG_FfMK4.js.map +1 -0
- package/dist/button-BS3KDg00.js +674 -0
- package/dist/button-BS3KDg00.js.map +1 -0
- package/dist/{button-BS6l5JUw.js → button-R9CCoH7A.js} +3 -3
- package/dist/button-R9CCoH7A.js.map +1 -0
- package/dist/buttons-DS0ZIwJ_.js +99 -0
- package/dist/buttons-DS0ZIwJ_.js.map +1 -0
- package/dist/{cards-Cum56XOF.js → cards-QoJ4syG9.js} +12 -12
- package/dist/{cards-Cum56XOF.js.map → cards-QoJ4syG9.js.map} +1 -1
- package/dist/chart-DwYRKKc-.js +152 -0
- package/dist/chart-DwYRKKc-.js.map +1 -0
- package/dist/checkbox-B7ygNTYp.js +35 -0
- package/dist/checkbox-B7ygNTYp.js.map +1 -0
- package/dist/choice-inputs-DrJ17tpL.js +752 -0
- package/dist/choice-inputs-DrJ17tpL.js.map +1 -0
- package/dist/{code-block-xHKbAJDj.js → code-block-CD0B7M93.js} +27 -27
- package/dist/code-block-CD0B7M93.js.map +1 -0
- package/dist/{collapsible-DsnktFNv.js → collapsible-oMUGM4tr.js} +3 -3
- package/dist/{collapsible-DsnktFNv.js.map → collapsible-oMUGM4tr.js.map} +1 -1
- package/dist/{collection-content-C4fthJV_.js → collection-content-Ys-OZOkY.js} +3 -3
- package/dist/{collection-content-C4fthJV_.js.map → collection-content-Ys-OZOkY.js.map} +1 -1
- package/dist/combobox-6dvVny2q.js +272 -0
- package/dist/combobox-6dvVny2q.js.map +1 -0
- package/dist/combobox-CB7039j7.js +865 -0
- package/dist/combobox-CB7039j7.js.map +1 -0
- package/dist/{command-C0xe7u9B.js → command-kPMPjIxJ.js} +35 -31
- package/dist/command-kPMPjIxJ.js.map +1 -0
- package/dist/{comments-DviPLnwy.js → comments-You0Bzbr.js} +434 -409
- package/dist/comments-You0Bzbr.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 +7 -2
- 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 +4 -4
- 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 +10 -19
- 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/buttons/use-pending-button-focus.d.ts +3 -0
- package/dist/components/base/cards/card.recipes.d.ts +13 -5
- package/dist/components/base/cards/partials/card-primitives.d.ts +9 -4
- package/dist/components/base/cards/smart-card.types.d.ts +1 -1
- 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 +10 -1
- 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/date-picker.recipes.d.ts +5 -18
- package/dist/components/base/date-pickers/datepicker.types.d.ts +16 -3
- package/dist/components/base/display/alert-dialog.d.ts +8 -2
- 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 +12 -5
- 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-field.d.ts +1 -0
- package/dist/components/base/forms/form-sizing.d.ts +35 -3
- 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/navigation/dropdown-menu.d.ts +2 -2
- 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/page-header.d.ts +4 -1
- package/dist/components/base/navigation/tabs.d.ts +3 -5
- package/dist/components/base/popover/popover.recipes.d.ts +3 -3
- 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 +14 -5
- 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/table/index.d.ts +1 -1
- package/dist/components/base/text-inputs/clear-native-field.d.ts +2 -0
- package/dist/components/base/text-inputs/input-group.d.ts +2 -2
- package/dist/components/base/text-inputs/input-trailing-action.d.ts +3 -0
- package/dist/components/base/upload/upload.recipes.d.ts +11 -0
- package/dist/components/base/value-inputs/date-time-input.d.ts +4 -2
- package/dist/components/base/value-inputs/tags-input.d.ts +2 -0
- 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/types.d.ts +1 -1
- package/dist/components/blocks/analytics/use-metric-format-options.d.ts +3 -0
- package/dist/components/blocks/collaboration/message/message.recipes.d.ts +12 -0
- package/dist/components/blocks/commerce/address-card/address-card.d.ts +1 -1
- package/dist/components/blocks/commerce/address-card/types.d.ts +3 -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/discount-stack/types.d.ts +1 -1
- package/dist/components/blocks/commerce/inventory-section/types.d.ts +4 -1
- package/dist/components/blocks/commerce/loyalty-points/types.d.ts +1 -1
- package/dist/components/blocks/commerce/order-status/types.d.ts +4 -0
- package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +1 -1
- package/dist/components/blocks/commerce/payment-method/types.d.ts +3 -1
- 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/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/empty-state/partials/illustrations/document-stack.d.ts +1 -4
- package/dist/components/blocks/data-display/empty-state/partials/illustrations/inbox-clean.d.ts +1 -4
- package/dist/components/blocks/data-display/empty-state/partials/illustrations/index.d.ts +3 -3
- package/dist/components/blocks/data-display/empty-state/partials/illustrations/stacked-cards.d.ts +1 -6
- package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +4 -1
- package/dist/components/features/combobox/components/error-message.d.ts +1 -1
- package/dist/components/features/comments/hooks/use-attachment-upload.d.ts +5 -0
- package/dist/components/features/filters/facets/search-facet.d.ts +0 -12
- package/dist/components/features/filters/facets/tags-facet.d.ts +1 -1
- package/dist/components/features/global-search/partials/global-search-idle-state.d.ts +1 -1
- package/dist/components/features/media-library/media-library.d.ts +1 -1
- package/dist/components/features/media-library/media-library.types.d.ts +9 -1
- package/dist/components/features/media-library/partials/media-library-partials.d.ts +1 -1
- package/dist/components/features/overlays/alert-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/hooks/use-pending-overlay-focus.d.ts +2 -0
- package/dist/components/features/overlays/overlay-tone-icon.d.ts +37 -0
- package/dist/components/features/overlays/overlays.types.d.ts +46 -22
- 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 +2 -1
- package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +2 -1
- 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 +1 -1
- package/dist/components/features/theme-tweaker/theme-provider-settings.d.ts +3 -1
- package/dist/components/layout/auth/auth.types.d.ts +1 -0
- package/dist/components/layout/page/index.d.ts +1 -1
- package/dist/components/layout/page/page.d.ts +0 -1
- package/dist/components/layout/page/page.types.d.ts +62 -6
- package/dist/components/layout/page/partials/page-header-commands.d.ts +13 -0
- package/dist/components/layout/page/partials/page-header.d.ts +1 -1
- package/dist/components/layout/sidebar/sidebar.context.d.ts +1 -1
- package/dist/components/layout/sidebar/sidebar.types.d.ts +4 -0
- package/dist/components/layout/workspace/workspace.types.d.ts +3 -0
- 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 +13 -2
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/label.d.ts +3 -0
- package/dist/components/typography/running-text.d.ts +12 -0
- package/dist/components/typography/text-link.d.ts +23 -1
- package/dist/components/typography/text.d.ts +12 -0
- package/dist/components/typography/text.styles.d.ts +37 -5
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/checkbox.d.ts +5 -0
- package/dist/components/ui/overlay.recipes.d.ts +15 -2
- package/dist/components/ui/popover.d.ts +1 -1
- package/dist/components/ui/select.d.ts +3 -1
- package/dist/components/ui/sidebar.d.ts +1 -1
- package/dist/components/ui/switch.d.ts +5 -0
- package/dist/components/ui/table.d.ts +2 -1
- package/dist/container.recipes-D9t8MHR3.js +27 -0
- package/dist/container.recipes-D9t8MHR3.js.map +1 -0
- package/dist/{containers-6s-ucRQQ.js → containers-D_L4mTVb.js} +34 -57
- package/dist/containers-D_L4mTVb.js.map +1 -0
- package/dist/control-group-recipes-DBXmfh2E.js +21 -0
- package/dist/control-group-recipes-DBXmfh2E.js.map +1 -0
- package/dist/{copyable-B7SBXJMr.js → copyable-DDjTeW_j.js} +6 -6
- package/dist/{copyable-B7SBXJMr.js.map → copyable-DDjTeW_j.js.map} +1 -1
- package/dist/data-display-3xWQUnMA.js +1335 -0
- package/dist/data-display-3xWQUnMA.js.map +1 -0
- package/dist/date-picker-DrDFj8Lo.js +1527 -0
- package/dist/date-picker-DrDFj8Lo.js.map +1 -0
- package/dist/date-pickers-CnFCb0n2.js +174 -0
- package/dist/date-pickers-CnFCb0n2.js.map +1 -0
- package/dist/date-uf3z37Nm.js +144 -0
- package/dist/date-uf3z37Nm.js.map +1 -0
- package/dist/{display-CFM5myut.js → display-DrdvPwF0.js} +25 -25
- package/dist/display-DrdvPwF0.js.map +1 -0
- package/dist/{dropdown-menu-BlnyHr-9.js → dropdown-menu-CURh59jb.js} +22 -15
- package/dist/dropdown-menu-CURh59jb.js.map +1 -0
- package/dist/features/activities.js +177 -163
- package/dist/features/activities.js.map +1 -1
- package/dist/features/ai-chat.js +187 -183
- package/dist/features/ai-chat.js.map +1 -1
- package/dist/features/async-preview.js +9 -9
- 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 +25 -23
- 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 -355
- package/dist/features/email-composer.js.map +1 -1
- package/dist/features/event-calendar.js +346 -354
- package/dist/features/event-calendar.js.map +1 -1
- package/dist/features/filters.js +1 -1
- package/dist/features/global-search.js +225 -227
- package/dist/features/global-search.js.map +1 -1
- package/dist/features/kanban.js +29 -29
- package/dist/features/kanban.js.map +1 -1
- package/dist/features/map.js +59 -58
- package/dist/features/map.js.map +1 -1
- package/dist/features/media-library.js +898 -900
- 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 +1412 -1444
- package/dist/features/products.js.map +1 -1
- package/dist/features/questionnaire.js +51 -49
- package/dist/features/questionnaire.js.map +1 -1
- package/dist/features/resource-assignment.js +103 -97
- package/dist/features/resource-assignment.js.map +1 -1
- package/dist/features/resource.js +13 -13
- package/dist/features/resource.js.map +1 -1
- package/dist/features/rich-text-editor.js +2 -2
- package/dist/features/schema-form.js +187 -183
- 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 +508 -503
- package/dist/features/theme-tweaker.js.map +1 -1
- package/dist/{feedback-DWUkgEjR.js → feedback-C7nR0UtT.js} +30 -31
- package/dist/feedback-C7nR0UtT.js.map +1 -0
- package/dist/field-affordance-recipes-CkOCdE2y.js +46 -0
- package/dist/field-affordance-recipes-CkOCdE2y.js.map +1 -0
- package/dist/{field-state-recipes-CBTRt9Bt.js → field-state-recipes-C-MFBX_8.js} +5 -5
- package/dist/field-state-recipes-C-MFBX_8.js.map +1 -0
- package/dist/{filters-BhsUtsxW.js → filters-Da-gNPsE.js} +760 -765
- package/dist/filters-Da-gNPsE.js.map +1 -0
- package/dist/{form-field-Bn7ZH1rA.js → form-field-VZRULhUK.js} +20 -12
- package/dist/form-field-VZRULhUK.js.map +1 -0
- package/dist/form-sizing-uWP4lzVh.js +126 -0
- package/dist/form-sizing-uWP4lzVh.js.map +1 -0
- package/dist/{forms-B7pzS25o.js → forms-DDeEnXSY.js} +38 -38
- package/dist/forms-DDeEnXSY.js.map +1 -0
- package/dist/forms-numeric-D3CO60IF.js +905 -0
- package/dist/forms-numeric-D3CO60IF.js.map +1 -0
- package/dist/{header-C59QZyxV.js → header-2ycNqGOR.js} +42 -37
- package/dist/header-2ycNqGOR.js.map +1 -0
- package/dist/{hooks-CM1Vp9Pe.js → hooks-DQ5SPwZw.js} +2 -2
- package/dist/{hooks-CM1Vp9Pe.js.map → hooks-DQ5SPwZw.js.map} +1 -1
- package/dist/{http-CLTVJc5I.js → http-CdEIHyQf.js} +2 -2
- package/dist/http-CdEIHyQf.js.map +1 -0
- package/dist/{icon-badge-Dv0RYQwj.js → icon-badge-DKlaKXoo.js} +4 -4
- package/dist/{icon-badge-Dv0RYQwj.js.map → icon-badge-DKlaKXoo.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/input-BoLm9Hks.js +20 -0
- package/dist/input-BoLm9Hks.js.map +1 -0
- package/dist/input-DhQdBnV3.js +255 -0
- package/dist/input-DhQdBnV3.js.map +1 -0
- package/dist/item-xzh8Df65.js +264 -0
- package/dist/item-xzh8Df65.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 +46 -10
- package/dist/lib/control-group-recipes.d.ts +22 -0
- package/dist/lib/field-affordance-recipes.d.ts +70 -2
- package/dist/lib/field-state-recipes.d.ts +6 -4
- package/dist/lib/format.d.ts +9 -0
- package/dist/lib/money-format.d.ts +30 -0
- package/dist/lib/navigation-row-recipes.d.ts +3 -2
- package/dist/lib/overlay-anatomy-recipes.d.ts +2 -2
- package/dist/lib/surface-recipes.d.ts +13 -8
- package/dist/lib/token-merge.generated.d.ts +144 -2
- package/dist/lib/track-recipes.d.ts +1 -1
- 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 +9 -4
- package/dist/lib/use-prefers-reduced-motion.d.ts +2 -0
- package/dist/lib/utils.js +1 -1
- package/dist/media-gallery-DQUQ0m3O.js +201 -0
- package/dist/media-gallery-DQUQ0m3O.js.map +1 -0
- package/dist/{mentions-B8Ko-fhS.js → mentions-DwnO1hh4.js} +40 -39
- package/dist/{mentions-B8Ko-fhS.js.map → mentions-DwnO1hh4.js.map} +1 -1
- package/dist/message-YfFmbXNP.js +127 -0
- package/dist/message-YfFmbXNP.js.map +1 -0
- package/dist/{navigation-BUIn2Qxx.js → navigation-Cbp5V8gG.js} +27 -28
- package/dist/navigation-Cbp5V8gG.js.map +1 -0
- package/dist/navigation-Cs1npsPm.js +300 -0
- package/dist/navigation-Cs1npsPm.js.map +1 -0
- package/dist/{navigation-row-recipes-GVh11KiT.js → navigation-row-recipes-DlU-4QYO.js} +3 -3
- package/dist/navigation-row-recipes-DlU-4QYO.js.map +1 -0
- package/dist/number-CKRBYmZK.js +352 -0
- package/dist/number-CKRBYmZK.js.map +1 -0
- package/dist/overlay.recipes-CNO2S9V6.js +34 -0
- package/dist/overlay.recipes-CNO2S9V6.js.map +1 -0
- package/dist/overlays-DhZO7N-I.js +994 -0
- package/dist/overlays-DhZO7N-I.js.map +1 -0
- package/dist/page-C6R_8jFt.js +325 -0
- package/dist/page-C6R_8jFt.js.map +1 -0
- package/dist/{page-header-DQRa0jug.js → page-header-hUTzcRZX.js} +12 -12
- package/dist/page-header-hUTzcRZX.js.map +1 -0
- package/dist/{pagination-C29vvt3I.js → pagination-Cm0jqa3I.js} +21 -21
- package/dist/pagination-Cm0jqa3I.js.map +1 -0
- package/dist/{popover-CoLDEg19.js → popover-Dcv_9jxr.js} +23 -22
- package/dist/popover-Dcv_9jxr.js.map +1 -0
- package/dist/{popover-menu-GLIQTJTx.js → popover-menu-DnRFKnHP.js} +6 -6
- package/dist/{popover-menu-GLIQTJTx.js.map → popover-menu-DnRFKnHP.js.map} +1 -1
- package/dist/{popover.recipes-zgBhMlUu.js → popover.recipes-wmbvL8Ah.js} +5 -5
- package/dist/popover.recipes-wmbvL8Ah.js.map +1 -0
- package/dist/primitives-BHrwQXFC.js +379 -0
- package/dist/primitives-BHrwQXFC.js.map +1 -0
- package/dist/primitives.js +5 -5
- package/dist/{progress-BOe8l_FZ.js → progress-Br9WTFya.js} +12 -11
- package/dist/progress-Br9WTFya.js.map +1 -0
- package/dist/{receipt-BM8xsGFy.js → receipt-CV89q1fs.js} +8 -8
- package/dist/{receipt-BM8xsGFy.js.map → receipt-CV89q1fs.js.map} +1 -1
- package/dist/rich-text-editor-CF8QYt5p.js +574 -0
- package/dist/rich-text-editor-CF8QYt5p.js.map +1 -0
- package/dist/{rich-text-editor.recipes-DxvOE0Lp.js → rich-text-editor.recipes-CnrbmTS1.js} +35 -26
- package/dist/rich-text-editor.recipes-CnrbmTS1.js.map +1 -0
- package/dist/{rich-text-B7sBAdDG.js → rich-text-j-FGAeZW.js} +4 -4
- package/dist/{rich-text-B7sBAdDG.js.map → rich-text-j-FGAeZW.js.map} +1 -1
- package/dist/{scroll-area-BheMQ270.js → scroll-area-DRdr16Pt.js} +3 -3
- package/dist/scroll-area-DRdr16Pt.js.map +1 -0
- package/dist/{separator-DO0EbCEm.js → separator-BMEvwnSX.js} +2 -2
- package/dist/{separator-DO0EbCEm.js.map → separator-BMEvwnSX.js.map} +1 -1
- package/dist/{separator-Gk_WXH-l.js → separator-Do5GWDYi.js} +4 -4
- package/dist/separator-Do5GWDYi.js.map +1 -0
- package/dist/services/actions/action-adapters.d.ts +4 -0
- package/dist/services/actions.js +8 -3
- package/dist/services/actions.js.map +1 -1
- package/dist/{settings-BnCyyPOJ.js → settings-DHk0L2MF.js} +20 -19
- package/dist/settings-DHk0L2MF.js.map +1 -0
- package/dist/sheet-DRFNY1_D.js +207 -0
- package/dist/sheet-DRFNY1_D.js.map +1 -0
- package/dist/sidebar-Cb8WzOvE.js +511 -0
- package/dist/sidebar-Cb8WzOvE.js.map +1 -0
- package/dist/{sidebar-DPR7fmqN.js → sidebar-Crc9M9JV.js} +220 -201
- package/dist/sidebar-Crc9M9JV.js.map +1 -0
- package/dist/{skeleton-CmT1ppqb.js → skeleton-DVMXr15h.js} +5 -5
- package/dist/{skeleton-CmT1ppqb.js.map → skeleton-DVMXr15h.js.map} +1 -1
- package/dist/smart-card-Bek-TwUp.js +599 -0
- package/dist/smart-card-Bek-TwUp.js.map +1 -0
- package/dist/{spinner-BY9HbUEh.js → spinner-CmTAbEp0.js} +8 -6
- package/dist/spinner-CmTAbEp0.js.map +1 -0
- package/dist/{structure-MvKVq-oL.js → structure-hzCW-XsV.js} +3 -3
- package/dist/{structure-MvKVq-oL.js.map → structure-hzCW-XsV.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-DOdoBXGm.js +28 -0
- package/dist/surface-recipes-DOdoBXGm.js.map +1 -0
- package/dist/table-D6zKeYQX.js +162 -0
- package/dist/table-D6zKeYQX.js.map +1 -0
- package/dist/table-Dn4XSrSB.js +1444 -0
- package/dist/table-Dn4XSrSB.js.map +1 -0
- package/dist/tabs-Dk8E_knt.js +189 -0
- package/dist/tabs-Dk8E_knt.js.map +1 -0
- package/dist/text-inputs-BFpku0Qd.js +331 -0
- package/dist/text-inputs-BFpku0Qd.js.map +1 -0
- package/dist/{text.styles-BwB7vAF2.js → text.styles-g4He6UIW.js} +26 -15
- package/dist/text.styles-g4He6UIW.js.map +1 -0
- package/dist/theme.css +90 -124
- package/dist/themes/green.css +24 -0
- package/dist/{timelines-B9ICkQcV.js → timelines-CxuAFIc2.js} +97 -104
- package/dist/timelines-CxuAFIc2.js.map +1 -0
- package/dist/track-recipes-CDcKmndW.js +10 -0
- package/dist/track-recipes-CDcKmndW.js.map +1 -0
- package/dist/{tree-BdWSaoFT.js → tree-BotPlyiD.js} +13 -13
- package/dist/{tree-BdWSaoFT.js.map → tree-BotPlyiD.js.map} +1 -1
- package/dist/typography/rich-text.js +1 -1
- package/dist/typography-CAr3dQhX.js +116 -0
- package/dist/typography-CAr3dQhX.js.map +1 -0
- package/dist/typography.js +2 -2
- package/dist/{ui-provider-CftIB6TY.js → ui-provider-D2_TeLqw.js} +22 -22
- package/dist/ui-provider-D2_TeLqw.js.map +1 -0
- package/dist/ui-provider.js +1 -1
- package/dist/{upload-D8Za5x_c.js → upload-B0WHW7ak.js} +278 -274
- package/dist/upload-B0WHW7ak.js.map +1 -0
- package/dist/{upload-queue-hIIYBLS7.js → upload-queue-BHZ_wBfd.js} +72 -75
- package/dist/upload-queue-BHZ_wBfd.js.map +1 -0
- package/dist/{usage-card-DnmnJ58D.js → usage-card-U0YBLTNT.js} +31 -33
- package/dist/usage-card-U0YBLTNT.js.map +1 -0
- package/dist/utils-Cospvlj1.js +4445 -0
- package/dist/utils-Cospvlj1.js.map +1 -0
- package/dist/value-inputs-CjfzGMsN.js +854 -0
- package/dist/value-inputs-CjfzGMsN.js.map +1 -0
- package/dist/value-typography-Deb3yQZg.js +116 -0
- package/dist/value-typography-Deb3yQZg.js.map +1 -0
- package/dist/{workspace-C1PZmk8L.js → workspace-YoFjXi6i.js} +97 -105
- package/dist/workspace-YoFjXi6i.js.map +1 -0
- package/docs/consumer-skill/SKILL.md +123 -119
- package/docs/consumer-skill/examples/analytics.tsx +34 -0
- package/docs/consumer-skill/examples/app-layout.tsx +42 -14
- package/docs/consumer-skill/examples/detail.tsx +20 -5
- package/docs/consumer-skill/examples/edit.tsx +1 -1
- package/docs/consumer-skill/examples/layout-blocks.tsx +20 -0
- package/docs/consumer-skill/examples/manifest.json +37 -3
- package/docs/consumer-skill/examples/scoped-directory.tsx +2 -2
- package/docs/consumer-skill/examples/website.tsx +56 -0
- package/docs/consumer-skill/references/analytics.md +70 -0
- package/docs/consumer-skill/references/composition.md +195 -9
- package/docs/consumer-skill/references/design-contract.md +33 -7
- package/docs/consumer-skill/references/discovery.md +80 -5
- package/docs/consumer-skill/references/installation.md +22 -0
- package/docs/consumer-skill/references/integration.md +46 -1
- package/docs/consumer-skill/references/public-api.json +2083 -237
- package/docs/consumer-skill/references/review.md +74 -6
- package/docs/consumer-skill/references/theming.md +59 -8
- package/docs/consumer-skill/references/tokens.json +180 -9
- package/docs/consumer-skill/references/workflows.md +34 -0
- package/docs/consumer-skill/scripts/check-composition.mjs +1 -1
- package/docs/consumer-skill/scripts/composition-policy.mjs +271 -18
- package/docs/consumer-skill/scripts/discovery.mjs +69 -9
- package/docs/consumer-skill/scripts/pin-button-defaults.mjs +95 -0
- package/docs/consumer-skill/scripts/surface-policy.mjs +44 -0
- package/package.json +11 -6
- package/dist/accordion-B-5Focs8.js.map +0 -1
- package/dist/action-menu-Cx3SdfbN.js +0 -265
- package/dist/action-menu-Cx3SdfbN.js.map +0 -1
- package/dist/affordance-geometry.generated-D8Jcfb0G.js +0 -32
- package/dist/affordance-geometry.generated-D8Jcfb0G.js.map +0 -1
- package/dist/ai-artifact-B5tPpXnS.js.map +0 -1
- package/dist/app-shell-at8Kt4l_.js.map +0 -1
- package/dist/attachment-BO2R47wn.js.map +0 -1
- package/dist/auth-OFwWSAap.js +0 -704
- package/dist/auth-OFwWSAap.js.map +0 -1
- package/dist/avatar-Bpzty83c.js.map +0 -1
- package/dist/badge-BZXZT9wd.js.map +0 -1
- package/dist/breadcrumbs-DdQ_I5ra.js.map +0 -1
- package/dist/button-BS6l5JUw.js.map +0 -1
- package/dist/buttons-Co6GavvM.js +0 -674
- package/dist/buttons-Co6GavvM.js.map +0 -1
- package/dist/chart-DVfcwQu6.js +0 -149
- package/dist/chart-DVfcwQu6.js.map +0 -1
- package/dist/checkbox-BavDRjF7.js +0 -34
- package/dist/checkbox-BavDRjF7.js.map +0 -1
- package/dist/choice-inputs-CC7XqPQO.js +0 -619
- package/dist/choice-inputs-CC7XqPQO.js.map +0 -1
- package/dist/code-block-xHKbAJDj.js.map +0 -1
- package/dist/combobox-DEbdr-3u.js +0 -273
- package/dist/combobox-DEbdr-3u.js.map +0 -1
- package/dist/combobox-xv3yJbzl.js +0 -850
- package/dist/combobox-xv3yJbzl.js.map +0 -1
- package/dist/command-C0xe7u9B.js.map +0 -1
- package/dist/comments-DviPLnwy.js.map +0 -1
- package/dist/containers-6s-ucRQQ.js.map +0 -1
- package/dist/data-display-cWIRdeaf.js +0 -1129
- package/dist/data-display-cWIRdeaf.js.map +0 -1
- package/dist/date-BFNMnrS5.js +0 -140
- package/dist/date-BFNMnrS5.js.map +0 -1
- package/dist/date-picker-CA6ogMQB.js +0 -1521
- package/dist/date-picker-CA6ogMQB.js.map +0 -1
- package/dist/date-pickers-BPIKLdsD.js +0 -224
- package/dist/date-pickers-BPIKLdsD.js.map +0 -1
- package/dist/display-CFM5myut.js.map +0 -1
- package/dist/dropdown-menu-BlnyHr-9.js.map +0 -1
- package/dist/feedback-DWUkgEjR.js.map +0 -1
- package/dist/field-affordance-recipes-IjzPrCTw.js +0 -17
- package/dist/field-affordance-recipes-IjzPrCTw.js.map +0 -1
- package/dist/field-state-recipes-CBTRt9Bt.js.map +0 -1
- package/dist/filters-BhsUtsxW.js.map +0 -1
- package/dist/form-field-Bn7ZH1rA.js.map +0 -1
- package/dist/form-sizing-BWs70_a2.js +0 -100
- package/dist/form-sizing-BWs70_a2.js.map +0 -1
- package/dist/format-iamDSqs2.js +0 -110
- package/dist/format-iamDSqs2.js.map +0 -1
- package/dist/forms-B7pzS25o.js.map +0 -1
- package/dist/forms-numeric-BUBxELBv.js +0 -867
- package/dist/forms-numeric-BUBxELBv.js.map +0 -1
- package/dist/header-C59QZyxV.js.map +0 -1
- package/dist/http-CLTVJc5I.js.map +0 -1
- package/dist/input-WwYQZJzG.js +0 -202
- package/dist/input-WwYQZJzG.js.map +0 -1
- package/dist/input-ci9fIgFH.js +0 -20
- package/dist/input-ci9fIgFH.js.map +0 -1
- package/dist/item-pJ0GsOiJ.js +0 -257
- package/dist/item-pJ0GsOiJ.js.map +0 -1
- package/dist/media-gallery-DhDRgnVZ.js +0 -200
- package/dist/media-gallery-DhDRgnVZ.js.map +0 -1
- package/dist/message-COsdEvXT.js +0 -108
- package/dist/message-COsdEvXT.js.map +0 -1
- package/dist/navigation-BUIn2Qxx.js.map +0 -1
- package/dist/navigation-DBEu4POU.js +0 -267
- package/dist/navigation-DBEu4POU.js.map +0 -1
- package/dist/navigation-row-recipes-GVh11KiT.js.map +0 -1
- package/dist/number-BNT_BIzJ.js +0 -269
- package/dist/number-BNT_BIzJ.js.map +0 -1
- package/dist/overlay.recipes-BxW5FIfK.js +0 -6
- package/dist/overlay.recipes-BxW5FIfK.js.map +0 -1
- package/dist/overlays-B11wZka6.js +0 -982
- package/dist/overlays-B11wZka6.js.map +0 -1
- package/dist/page-BV6ioQg3.js +0 -202
- package/dist/page-BV6ioQg3.js.map +0 -1
- package/dist/page-header-DQRa0jug.js.map +0 -1
- package/dist/pagination-C29vvt3I.js.map +0 -1
- package/dist/popover-CoLDEg19.js.map +0 -1
- package/dist/popover.recipes-zgBhMlUu.js.map +0 -1
- package/dist/primitives-DKPOGVpj.js +0 -330
- package/dist/primitives-DKPOGVpj.js.map +0 -1
- package/dist/progress-BOe8l_FZ.js.map +0 -1
- package/dist/rich-text-editor-CoVrTiSv.js +0 -575
- package/dist/rich-text-editor-CoVrTiSv.js.map +0 -1
- package/dist/rich-text-editor.recipes-DxvOE0Lp.js.map +0 -1
- package/dist/scroll-area-BheMQ270.js.map +0 -1
- package/dist/select-B2mb-qN2.js +0 -108
- package/dist/select-B2mb-qN2.js.map +0 -1
- package/dist/separator-Gk_WXH-l.js.map +0 -1
- package/dist/settings-BnCyyPOJ.js.map +0 -1
- package/dist/sheet-B-q914Ad.js +0 -205
- package/dist/sheet-B-q914Ad.js.map +0 -1
- package/dist/sidebar-C_2p3Tfj.js +0 -501
- package/dist/sidebar-C_2p3Tfj.js.map +0 -1
- package/dist/sidebar-DPR7fmqN.js.map +0 -1
- package/dist/smart-card-CYLn46e6.js +0 -578
- package/dist/smart-card-CYLn46e6.js.map +0 -1
- package/dist/spinner-BY9HbUEh.js.map +0 -1
- package/dist/structure.recipes-Bqhf9oIh.js.map +0 -1
- package/dist/surface-recipes-CQfRr-VL.js +0 -27
- package/dist/surface-recipes-CQfRr-VL.js.map +0 -1
- package/dist/table-BS39xnlq.js +0 -1424
- package/dist/table-BS39xnlq.js.map +0 -1
- package/dist/table-DnlAJ-xR.js +0 -146
- package/dist/table-DnlAJ-xR.js.map +0 -1
- package/dist/tabs-B5cNMWiP.js +0 -187
- package/dist/tabs-B5cNMWiP.js.map +0 -1
- package/dist/text-inputs-Dh9XGyiS.js +0 -331
- package/dist/text-inputs-Dh9XGyiS.js.map +0 -1
- package/dist/text.styles-BwB7vAF2.js.map +0 -1
- package/dist/timelines-B9ICkQcV.js.map +0 -1
- package/dist/track-recipes-LLPNVwFg.js +0 -10
- package/dist/track-recipes-LLPNVwFg.js.map +0 -1
- package/dist/typography-Cv8MT-82.js +0 -96
- package/dist/typography-Cv8MT-82.js.map +0 -1
- package/dist/ui-provider-CftIB6TY.js.map +0 -1
- package/dist/upload-D8Za5x_c.js.map +0 -1
- package/dist/upload-queue-hIIYBLS7.js.map +0 -1
- package/dist/usage-card-DnmnJ58D.js.map +0 -1
- package/dist/utils-C2EKeIw3.js +0 -72
- package/dist/utils-C2EKeIw3.js.map +0 -1
- package/dist/value-inputs-DX2dbxjj.js +0 -824
- package/dist/value-inputs-DX2dbxjj.js.map +0 -1
- package/dist/workspace-C1PZmk8L.js.map +0 -1
|
@@ -1 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Deprecated compatibility entrypoint.
|
|
3
|
+
*
|
|
4
|
+
* `ActionDrawer` from `themelia-react-ui/features/overlays` is the supported
|
|
5
|
+
* slide-in panel: it owns the scrim, focus, dismissal, pending lock and action
|
|
6
|
+
* footer, and `ActionDialog` / `ConfirmDialog` cover centred dialogs. These
|
|
7
|
+
* parts remain the internal anatomy behind ActionDrawer and the mobile sidebar
|
|
8
|
+
* drawer, which import the implementation module directly. They keep working
|
|
9
|
+
* through 1.x for existing callers.
|
|
10
|
+
*/
|
|
11
|
+
export {
|
|
12
|
+
/** @deprecated Use `ActionDrawer` from `themelia-react-ui/features/overlays`; it owns open state through `open`/`onOpenChange` or `trigger`. */
|
|
13
|
+
Sheet,
|
|
14
|
+
/** @deprecated Use the `trigger` prop of `ActionDrawer` from `themelia-react-ui/features/overlays`, or `useOverlayVisibility` for an external control. */
|
|
15
|
+
SheetTrigger,
|
|
16
|
+
/** @deprecated `ActionDrawer` from `themelia-react-ui/features/overlays` renders its own dismiss control (`showCloseButton`) and cancel action. */
|
|
17
|
+
SheetClose,
|
|
18
|
+
/** @deprecated Use `ActionDrawer` from `themelia-react-ui/features/overlays` (`direction`, `width`, `modal`). */
|
|
19
|
+
SheetContent,
|
|
20
|
+
/** @deprecated Use the `title`/`description` props of `ActionDrawer` from `themelia-react-ui/features/overlays`. */
|
|
21
|
+
SheetHeader,
|
|
22
|
+
/** @deprecated Pass content as `children` of `ActionDrawer` from `themelia-react-ui/features/overlays`; it owns the scrolling body. */
|
|
23
|
+
SheetBody,
|
|
24
|
+
/** @deprecated Use the generated actions or the `footer` prop of `ActionDrawer` from `themelia-react-ui/features/overlays`. */
|
|
25
|
+
SheetFooter,
|
|
26
|
+
/** @deprecated Use the `title` prop of `ActionDrawer` from `themelia-react-ui/features/overlays`. */
|
|
27
|
+
SheetTitle,
|
|
28
|
+
/** @deprecated Use the `description` prop of `ActionDrawer` from `themelia-react-ui/features/overlays`. */
|
|
29
|
+
SheetDescription, } from './sheet';
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import type { TextGap } from '../structure';
|
|
2
2
|
/**
|
|
3
|
-
* Sheet —
|
|
3
|
+
* Sheet — internal edge-anchored modal anatomy behind `ActionDrawer` and the
|
|
4
|
+
* mobile sidebar drawer.
|
|
4
5
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
6
|
+
* Applications use `ActionDrawer` from `themelia-react-ui/features/overlays`,
|
|
7
|
+
* which owns the lifecycle, focus, dismissal and action contract; the
|
|
8
|
+
* `themelia-react-ui/base/sheet` entrypoint remains only as a deprecated
|
|
9
|
+
* compatibility surface. The panel shares the modal geometry of the internal
|
|
10
|
+
* Dialog wrapper: the shell owns the block inset and the gap between header,
|
|
11
|
+
* scrolling body and footer, regions own their inline inset, and one edge rule
|
|
12
|
+
* separates the panel from the page.
|
|
8
13
|
*/
|
|
9
14
|
import * as React from 'react';
|
|
10
15
|
import { Sheet as SheetPrimitive } from '../../ui/sheet';
|
|
@@ -24,7 +29,11 @@ export declare const SheetContent: React.ForwardRefExoticComponent<Omit<import("
|
|
|
24
29
|
export declare const SheetHeader: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & {
|
|
25
30
|
textGap?: TextGap;
|
|
26
31
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Scroll-owning content region between the pinned sheet header and footer.
|
|
34
|
+
* A rule appears on its top or bottom edge only while content is scrolled out
|
|
35
|
+
* of view there.
|
|
36
|
+
*/
|
|
28
37
|
export declare const SheetBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
29
38
|
export declare const SheetFooter: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
39
|
export declare const SheetTitle: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AlertDialogTitleProps & {
|
|
@@ -20,10 +20,11 @@ export interface SpinnerStrings {
|
|
|
20
20
|
}
|
|
21
21
|
export declare const defaultSpinnerStrings: SpinnerStrings;
|
|
22
22
|
export interface SpinnerProps {
|
|
23
|
-
/**
|
|
23
|
+
/** Visible label under the indicator; also its accessible name. */
|
|
24
24
|
label?: string;
|
|
25
|
+
/** Merged onto the indicator graphic (size, colour), not the padded wrapper. */
|
|
25
26
|
className?: string;
|
|
26
|
-
/**
|
|
27
|
+
/** Indicator style: circular `default`, `shimmer`, or `progress` strip. Defaults to `UIProvider.spinner.defaultVariant`, then `default`. */
|
|
27
28
|
variant?: SpinnerVariant;
|
|
28
29
|
/** Localizes the fallback progress-bar name. */
|
|
29
30
|
strings?: StringsProp<SpinnerStrings>;
|
|
@@ -3,7 +3,7 @@ import type { ComponentScale } from '../../../lib/component-vocabulary';
|
|
|
3
3
|
export type StructureBreakpoint = 'base' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
4
4
|
export type ResponsiveValue<T> = T | Partial<Record<StructureBreakpoint, T>>;
|
|
5
5
|
export type TextGap = 'normal' | 'dense';
|
|
6
|
-
export type StructureGap = TextGap | 'none' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
6
|
+
export type StructureGap = TextGap | 'none' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
7
7
|
export type StructureAlign = 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
8
8
|
export type StructureJustify = 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
9
9
|
export interface StackProps extends useRender.ComponentProps<'div'> {
|
|
@@ -8,7 +8,7 @@ export type TableRowProps = React.ComponentProps<typeof UITableRow>;
|
|
|
8
8
|
export type TableHeadProps = React.ComponentProps<typeof UITableHead>;
|
|
9
9
|
export type TableCellProps = React.ComponentProps<typeof UITableCell>;
|
|
10
10
|
export type TableCaptionProps = React.ComponentProps<typeof UITableCaption>;
|
|
11
|
-
export declare function Table({ className, containerClassName, ...props }: TableProps): React.JSX.Element;
|
|
11
|
+
export declare function Table({ className, containerClassName, containerProps, ...props }: TableProps): React.JSX.Element;
|
|
12
12
|
export declare function TableHeader({ className, ...props }: TableHeaderProps): React.JSX.Element;
|
|
13
13
|
export declare function TableBody({ className, ...props }: TableBodyProps): React.JSX.Element;
|
|
14
14
|
export declare function TableFooter({ className, ...props }: TableFooterProps): React.JSX.Element;
|
|
@@ -35,8 +35,8 @@ export type InputGroupTextareaProps = ComponentProps<typeof InputGroupTextareaPr
|
|
|
35
35
|
declare function InputGroup({ className, ...props }: InputGroupProps): import("react").JSX.Element;
|
|
36
36
|
/** Leading/trailing (or block start/end) affordance slot inside the frame. */
|
|
37
37
|
declare function InputGroupAddon({ className, align, ...props }: InputGroupAddonProps): import("react").JSX.Element;
|
|
38
|
-
/** Inline action button sized to sit inside the control frame. */
|
|
39
|
-
declare function InputGroupButton({ className, tone, buttonStyle, ...props }: InputGroupButtonProps): import("react").JSX.Element;
|
|
38
|
+
/** Inline action button sized to sit inside the control frame; its label stays on one line. */
|
|
39
|
+
declare function InputGroupButton({ className, tone, buttonStyle, truncate, ...props }: InputGroupButtonProps): import("react").JSX.Element;
|
|
40
40
|
/** Static copy segment — scalar text renders through Typography. */
|
|
41
41
|
declare function InputGroupText({ children, className, ...props }: InputGroupTextProps): import("react").JSX.Element;
|
|
42
42
|
/** Single-line control that inherits the group's frame instead of its own. */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Private drop-target states shared by Dropzone, AvatarUpload and ImageUpload.
|
|
3
|
+
* An empty target draws the dashed `--input` control boundary (3:1 on every
|
|
4
|
+
* surface), so all three upload targets read as the same kind of control.
|
|
5
|
+
* Hover, drag and invalid states replace only the boundary colour and fill.
|
|
6
|
+
*/
|
|
7
|
+
export declare const uploadDropTargetRecipes: {
|
|
8
|
+
readonly idle: "border-input";
|
|
9
|
+
readonly invalid: "border-destructive";
|
|
10
|
+
readonly dragging: "border-primary bg-primary/10";
|
|
11
|
+
};
|
|
@@ -7,13 +7,15 @@ export interface DateTimeInputProps {
|
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
/** Display format for the date */
|
|
9
9
|
readableFormat?: string;
|
|
10
|
-
/** Step for time selection in minutes */
|
|
10
|
+
/** Step for time selection, in minutes. Default `30`. */
|
|
11
11
|
stepMinutes?: number;
|
|
12
12
|
/** Use modal for picker */
|
|
13
13
|
modal?: boolean;
|
|
14
|
-
/** Error state for styling (passed from FormField) */
|
|
14
|
+
/** Error state for styling (passed from FormField). Validation copy stays with FormField. */
|
|
15
15
|
invalid?: boolean;
|
|
16
16
|
/** Disabled state */
|
|
17
17
|
disabled?: boolean;
|
|
18
|
+
/** Id of the trigger, so an external `<FormField label>` names it. Defaults to a generated id. */
|
|
19
|
+
id?: string;
|
|
18
20
|
}
|
|
19
21
|
export declare const DateTimeInput: import("react").ForwardRefExoticComponent<DateTimeInputProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -8,6 +8,8 @@ export interface TagsInputStrings {
|
|
|
8
8
|
* `current` (number of tags entered) and `max` (the limit). The
|
|
9
9
|
* default is English `"{current} / {max} tags"` — override for i18n. */
|
|
10
10
|
summary: (current: number, max: number) => string;
|
|
11
|
+
/** Accessible name of a tag's remove action. Defaults to `"Remove {tag}"`. */
|
|
12
|
+
removeTag?: (tag: string) => string;
|
|
11
13
|
}
|
|
12
14
|
export declare const defaultTagsInputStrings: TagsInputStrings;
|
|
13
15
|
export interface TagsInputProps<T = string> {
|
|
@@ -23,7 +23,7 @@ export interface ApiKeyListItem {
|
|
|
23
23
|
* full secret.
|
|
24
24
|
*/
|
|
25
25
|
displayValue?: string;
|
|
26
|
-
/** Optional per-item icon
|
|
26
|
+
/** Optional per-item leading icon. Rows render without one by default. */
|
|
27
27
|
icon?: ReactNode;
|
|
28
28
|
/** Disable the per-item dropdown when true. */
|
|
29
29
|
disabled?: boolean;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
|
+
import type { MoneyFormatMode } from '../../../lib/ui-provider';
|
|
1
2
|
import type { MetricData } from './types';
|
|
2
|
-
|
|
3
|
+
/** Display policy that metric components resolve from UIProvider. */
|
|
4
|
+
export interface FormatMetricValueOptions {
|
|
5
|
+
/** BCP-47 locale. Metric components pass `UIProvider.formatting.locale`. */
|
|
6
|
+
locale?: string;
|
|
7
|
+
/** Currency used when the metric has none. Defaults to `USD`, like UIProvider. */
|
|
8
|
+
defaultCurrency?: string;
|
|
9
|
+
/** Money format policy. Defaults to `with_code`, like UIProvider. */
|
|
10
|
+
moneyFormatMode?: MoneyFormatMode;
|
|
11
|
+
}
|
|
12
|
+
export declare function formatMetricValue(data: MetricData, options?: FormatMetricValueOptions): string;
|
|
3
13
|
/**
|
|
4
14
|
* Resolve the effective `MetricTrend` for a metric — explicit `trend` wins,
|
|
5
15
|
* otherwise we infer from `change.direction` (`up` → positive, `down` →
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
export type { MetricChange, MetricColorScheme, MetricData, MetricDataPoint, MetricDirection, MetricPeriod, MetricSize, MetricTrend, MetricTrendVariant, MetricValueType, MetricVariant, } from './types';
|
|
21
21
|
export { defaultAnalyticsStrings, type AnalyticsStrings, } from './analytics.strings';
|
|
22
|
-
export { formatMetricValue, resolveTrend } from './format-metric-value';
|
|
22
|
+
export { formatMetricValue, resolveTrend, type FormatMetricValueOptions } from './format-metric-value';
|
|
23
23
|
export { MetricTrendChip, type MetricTrendChipProps } from './atoms/metric-trend-chip';
|
|
24
24
|
export { MetricSparkline, type MetricSparklineProps } from './atoms/metric-sparkline';
|
|
25
25
|
export { MetricSkeleton, type MetricSkeletonProps } from './atoms/metric-skeleton';
|
|
@@ -21,7 +21,7 @@ export type MetricColorScheme = 'default' | 'primary' | 'success' | 'warning' |
|
|
|
21
21
|
export type MetricVariant =
|
|
22
22
|
/** Default tile — label, value, optional sparkline / trend chip / footer. */
|
|
23
23
|
'default'
|
|
24
|
-
/** Standalone metric using the canonical
|
|
24
|
+
/** Standalone metric using the canonical Card surface. */
|
|
25
25
|
| 'card'
|
|
26
26
|
/** Single-row icon + label + value + change chip. Compact list/sidebar use. */
|
|
27
27
|
| 'compact'
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/** Obvious empty slot values have no media track; rich React nodes remain untouched. */
|
|
3
|
+
export declare function hasMessageMedia(media: ReactNode): boolean;
|
|
4
|
+
/** Transcript rows and their continuation regions share the actual media track. */
|
|
5
|
+
export declare const messageColumns: {
|
|
6
|
+
readonly start: "grid-cols-[auto_minmax(0,1fr)]";
|
|
7
|
+
readonly end: "grid-cols-[minmax(0,1fr)_auto]";
|
|
8
|
+
};
|
|
9
|
+
export declare const messageContentColumn: {
|
|
10
|
+
readonly start: "col-start-2";
|
|
11
|
+
readonly end: "col-start-1";
|
|
12
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AddressCardProps } from './types';
|
|
2
|
-
export declare function AddressCard({ kind, name, line1, line2, city, region, postalCode, country, phone, default: defaultAddress, onEdit, onRemove, onMakeDefault, className, strings: stringsProp, }: AddressCardProps): import("react").JSX.Element;
|
|
2
|
+
export declare function AddressCard({ kind, name, line1, line2, city, region, postalCode, country, phone, default: defaultAddress, onEdit, onRemove, onMakeDefault, surface, padding, headerDivider, className, strings: stringsProp, }: AddressCardProps): import("react").JSX.Element;
|
|
3
3
|
export declare namespace AddressCard {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CardProps } from '../../../base/cards';
|
|
1
2
|
import type { StringsProp } from '../../../../lib/strings';
|
|
2
3
|
export type AddressKind = 'shipping' | 'billing' | 'pickup';
|
|
3
4
|
export interface AddressCardStrings {
|
|
@@ -10,7 +11,8 @@ export interface AddressCardStrings {
|
|
|
10
11
|
pickup: string;
|
|
11
12
|
}
|
|
12
13
|
export declare const defaultAddressCardStrings: AddressCardStrings;
|
|
13
|
-
|
|
14
|
+
/** Unframed by default. Set surface="card" to let this owner frame its heading and body. */
|
|
15
|
+
export interface AddressCardProps extends Pick<CardProps, 'surface' | 'padding' | 'headerDivider'> {
|
|
14
16
|
/** What the address is for — billing, shipping, or both. */
|
|
15
17
|
kind?: AddressKind;
|
|
16
18
|
/** Display name. */
|
package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ import type { BookingCalendarEventCardProps } from './booking-calendar-event-car
|
|
|
2
2
|
/**
|
|
3
3
|
* Compact, card-free booking detail composition.
|
|
4
4
|
*
|
|
5
|
+
* The status sits beside the title, the facts share one label-above-value
|
|
6
|
+
* layout, and spacing alone separates them from the action: no header rule,
|
|
7
|
+
* no inset note panel and no rule above the action.
|
|
8
|
+
*
|
|
5
9
|
* All visible copy is supplied by props, so this component intentionally has
|
|
6
10
|
* no strings file. Frame it with `Card` only when the page needs card
|
|
7
11
|
* chrome.
|
|
@@ -7,7 +7,7 @@ export interface BookingCalendarEventCardItem {
|
|
|
7
7
|
label: ReactNode;
|
|
8
8
|
/** Display value. Strings and numbers use the canonical `Value` primitive. */
|
|
9
9
|
value: ReactNode;
|
|
10
|
-
/** Span both detail columns
|
|
10
|
+
/** Span both detail columns, for a note that should not sit in a column. */
|
|
11
11
|
fullWidth?: boolean;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
@@ -21,7 +21,7 @@ export interface BookingCalendarEventCardProps {
|
|
|
21
21
|
title: ReactNode;
|
|
22
22
|
/** Optional supporting context shown beneath the title. */
|
|
23
23
|
description?: ReactNode;
|
|
24
|
-
/** Optional status
|
|
24
|
+
/** Optional status, rendered beside the title. */
|
|
25
25
|
status?: ReactNode;
|
|
26
26
|
/** Ordered booking facts rendered as a responsive definition list. */
|
|
27
27
|
items: BookingCalendarEventCardItem[];
|
|
@@ -5,7 +5,7 @@ export interface Discount {
|
|
|
5
5
|
/** Display label. */
|
|
6
6
|
label: string;
|
|
7
7
|
amount: string;
|
|
8
|
-
/**
|
|
8
|
+
/** Tone of the type chip. Discount types are kinds, so pass `neutral` unless the chip states a status. */
|
|
9
9
|
badge: BadgeTone;
|
|
10
10
|
}
|
|
11
11
|
export interface DiscountStackStrings {
|
|
@@ -36,7 +36,10 @@ export interface InventorySectionMetric {
|
|
|
36
36
|
value: string;
|
|
37
37
|
/** Supporting copy shown under the label. */
|
|
38
38
|
description?: string;
|
|
39
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Semantic tone of the entry. Not rendered by the summary: stats are plain
|
|
41
|
+
* and the title badge carries the stock state. Kept for type compatibility.
|
|
42
|
+
*/
|
|
40
43
|
tone?: 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
41
44
|
}
|
|
42
45
|
export interface InventorySectionStrings {
|
|
@@ -20,7 +20,7 @@ export interface LoyaltyPointsProps {
|
|
|
20
20
|
balance: number | string;
|
|
21
21
|
/** Membership tier name. Defaults to `strings.tier`. */
|
|
22
22
|
tier?: string;
|
|
23
|
-
/** Badge tone for the tier chip. @default '
|
|
23
|
+
/** Badge tone for the tier chip. A tier is a kind, not a status. @default 'neutral' */
|
|
24
24
|
tierTone?: BadgeTone;
|
|
25
25
|
/** Recent point movements. */
|
|
26
26
|
history?: LoyaltyHistoryEntry[];
|
|
@@ -11,9 +11,13 @@ export interface OrderStatusEvent {
|
|
|
11
11
|
export interface OrderStatusStrings {
|
|
12
12
|
/** Surface title. */
|
|
13
13
|
title: string;
|
|
14
|
+
/** Not rendered: the title badge states the status. Kept for existing overrides. */
|
|
14
15
|
statusLabel: string;
|
|
16
|
+
/** Label of the delivery-estimate fact. */
|
|
15
17
|
eta: string;
|
|
18
|
+
/** Not rendered: the timeline shows the latest event. Kept for existing overrides. */
|
|
16
19
|
latestEvent: string;
|
|
20
|
+
/** Not rendered: the timeline marks the current step. Kept for existing overrides. */
|
|
17
21
|
currentStep: string;
|
|
18
22
|
}
|
|
19
23
|
export declare const defaultOrderStatusStrings: OrderStatusStrings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PaymentMethodProps } from './types';
|
|
2
|
-
export declare function PaymentMethod({ brand, last4, expiry, holderName, default: defaultMethod, onChange, className, strings: stringsProp, }: PaymentMethodProps): import("react").JSX.Element;
|
|
2
|
+
export declare function PaymentMethod({ brand, last4, expiry, holderName, default: defaultMethod, onChange, surface, padding, headerDivider, className, strings: stringsProp, }: PaymentMethodProps): import("react").JSX.Element;
|
|
3
3
|
export declare namespace PaymentMethod {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CardProps } from '../../../base/cards';
|
|
1
2
|
import type { StringsProp } from '../../../../lib/strings';
|
|
2
3
|
export type PaymentBrand = 'visa' | 'mastercard' | 'amex' | 'paypal' | 'applepay' | 'googlepay' | 'unknown';
|
|
3
4
|
export interface PaymentMethodStrings {
|
|
@@ -9,7 +10,8 @@ export interface PaymentMethodStrings {
|
|
|
9
10
|
change: string;
|
|
10
11
|
}
|
|
11
12
|
export declare const defaultPaymentMethodStrings: PaymentMethodStrings;
|
|
12
|
-
|
|
13
|
+
/** Unframed by default. Set surface="card" to let this owner frame its heading and body. */
|
|
14
|
+
export interface PaymentMethodProps extends Pick<CardProps, 'surface' | 'padding' | 'headerDivider'> {
|
|
13
15
|
/** Card network or wallet. */
|
|
14
16
|
brand: PaymentBrand;
|
|
15
17
|
/** Last four digits, the only card number this component accepts. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type SeoListingCardProps } from './types';
|
|
2
|
-
export declare function SeoListingCard({ siteName, baseUrl, pathSegments, permalink, title, description, price, keyword, score, limits, showChecks, onEdit, className, strings: stringsProp, }: SeoListingCardProps): import("react").JSX.Element;
|
|
2
|
+
export declare function SeoListingCard({ siteName, baseUrl, pathSegments, permalink, title, description, price, keyword, score, limits, showChecks, onEdit, surface, padding, headerDivider, className, strings: stringsProp, }: SeoListingCardProps): import("react").JSX.Element;
|
|
3
3
|
export declare namespace SeoListingCard {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import type { CardProps } from '../../../base/cards';
|
|
2
3
|
import type { StringsProp } from '../../../../lib/strings';
|
|
3
4
|
export type SeoListingCheckId = 'title' | 'description' | 'permalink' | 'slug' | 'url' | 'keyword';
|
|
4
5
|
export type SeoListingCheckStatus = 'good' | 'review' | 'missing';
|
|
@@ -60,7 +61,8 @@ export interface SeoListingCardStrings {
|
|
|
60
61
|
checkHints: Record<SeoListingCheckId, string>;
|
|
61
62
|
}
|
|
62
63
|
export declare const defaultSeoListingCardStrings: SeoListingCardStrings;
|
|
63
|
-
|
|
64
|
+
/** Unframed by default. Set surface="card" to let this owner frame its heading and body. */
|
|
65
|
+
export interface SeoListingCardProps extends Pick<CardProps, 'surface' | 'padding' | 'headerDivider'> {
|
|
64
66
|
/** Site name shown in the search preview. */
|
|
65
67
|
siteName?: string;
|
|
66
68
|
/** Origin the permalink is built on. */
|
|
@@ -76,7 +76,10 @@ export interface VendorProfileCardProps {
|
|
|
76
76
|
onMessage?: () => void;
|
|
77
77
|
/** Shows the engagement action and delegates its behavior to the consumer. */
|
|
78
78
|
onHire?: () => void;
|
|
79
|
-
/**
|
|
79
|
+
/**
|
|
80
|
+
* Card surface override. Defaults through the shared SmartCard configuration.
|
|
81
|
+
* `flat` also drops the dossier's own insets, so the embedding surface owns them.
|
|
82
|
+
*/
|
|
80
83
|
surface?: SmartCardSurface;
|
|
81
84
|
/** Card density override. Defaults through the shared SmartCard configuration. */
|
|
82
85
|
/** Additional classes applied to the outer SmartCard element. */
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export interface DenseInfoStrings {
|
|
2
2
|
/** Total number of records across all pages. */
|
|
3
3
|
total: string;
|
|
4
|
+
/** Word after the task count ("12/20 tasks"). */
|
|
4
5
|
tasks: string;
|
|
6
|
+
/** Word after the priority value ("High priority"). Additive, so optional for existing dictionaries. */
|
|
7
|
+
priority?: string;
|
|
5
8
|
}
|
|
6
|
-
export declare const defaultDenseInfoStrings: DenseInfoStrings
|
|
9
|
+
export declare const defaultDenseInfoStrings: Required<DenseInfoStrings>;
|
package/dist/components/blocks/data-display/empty-state/partials/illustrations/document-stack.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import type { EmptyStateIllustrationProps } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Two staggered document silhouettes — for "no documents", "no
|
|
4
|
-
* invoices", "no reports" surfaces.
|
|
5
|
-
*/
|
|
2
|
+
/** Two staggered document silhouettes; all coordinates belong to the drawing. */
|
|
6
3
|
export declare function DocumentStackIllustration({ className }: EmptyStateIllustrationProps): import("react").JSX.Element;
|
|
7
4
|
export declare namespace DocumentStackIllustration {
|
|
8
5
|
var displayName: string;
|
package/dist/components/blocks/data-display/empty-state/partials/illustrations/inbox-clean.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import type { EmptyStateIllustrationProps } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Open inbox tray with a soft check above — for "all caught up",
|
|
4
|
-
* "no notifications", "inbox zero" surfaces.
|
|
5
|
-
*/
|
|
2
|
+
/** Open inbox tray with a check; the scene has one intrinsic coordinate system. */
|
|
6
3
|
export declare function InboxCleanIllustration({ className }: EmptyStateIllustrationProps): import("react").JSX.Element;
|
|
7
4
|
export declare namespace InboxCleanIllustration {
|
|
8
5
|
var displayName: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Token-driven illustrations for `<EmptyState>`.
|
|
3
3
|
*
|
|
4
|
-
* Each illustration
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Each illustration uses semantic theme colors for its HTML or SVG drawing,
|
|
5
|
+
* so it adapts to the consumer's theme automatically. Intrinsic drawing
|
|
6
|
+
* coordinates remain independent of UI spacing and density. Use as the `media`
|
|
7
7
|
* prop of `<EmptyState>` — pick one per resource:
|
|
8
8
|
*
|
|
9
9
|
* <EmptyState
|
package/dist/components/blocks/data-display/empty-state/partials/illustrations/stacked-cards.d.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import type { EmptyStateIllustrationProps } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Three stacked card silhouettes with a fade-out at the bottom — the
|
|
4
|
-
* generic "no records" illustration. Token-driven so it adapts to any
|
|
5
|
-
* theme (uses `bg-muted`, `bg-background`, `border-border`, no raw
|
|
6
|
-
* palette).
|
|
7
|
-
*/
|
|
2
|
+
/** Three card silhouettes with a theme-backed fade; coordinates are drawing geometry. */
|
|
8
3
|
export declare function StackedCardsIllustration({ className }: EmptyStateIllustrationProps): import("react").JSX.Element;
|
|
9
4
|
export declare namespace StackedCardsIllustration {
|
|
10
5
|
var displayName: string;
|
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
* - `inline`: label sits immediately before the value, separator-style.
|
|
7
7
|
* - `stacked`: label above (xs secondary), value below (md).
|
|
8
8
|
*
|
|
9
|
-
* `mono`
|
|
9
|
+
* `mono` switches the value to the monospace identifier role (references,
|
|
10
|
+
* codes, keys). Amounts, counts, percentages and dates stay in the sans UI
|
|
11
|
+
* font: pass `valueClassName="tabular-nums"` (or a value primitive such as
|
|
12
|
+
* `Money` / `Percent`, which are already tabular) when figures should align.
|
|
10
13
|
* Use `valueClassName` for one-off colour/weight overrides; the surrounding
|
|
11
14
|
* row is intentionally plain so consumers can stack many of these without
|
|
12
15
|
* visual clutter.
|
|
@@ -9,7 +9,7 @@ export interface ErrorMessageProps {
|
|
|
9
9
|
size: ComboboxSize;
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare function ErrorMessage({ error, size, className, }: ErrorMessageProps): React.ReactElement | null;
|
|
12
|
+
export declare function ErrorMessage({ error, size: _size, className, }: ErrorMessageProps): React.ReactElement | null;
|
|
13
13
|
export declare namespace ErrorMessage {
|
|
14
14
|
var displayName: string;
|
|
15
15
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { type StringsProp } from '../../../../lib/strings';
|
|
2
|
+
import { type CommentsStrings } from '../comments.strings';
|
|
1
3
|
import type { CommentAttachment, CommentsAttachmentsConfig } from '../comments.types';
|
|
2
4
|
export interface UseAttachmentUploadOptions extends CommentsAttachmentsConfig {
|
|
3
5
|
/** Initial attachments — useful when editing an existing comment. */
|
|
@@ -6,6 +8,9 @@ export interface UseAttachmentUploadOptions extends CommentsAttachmentsConfig {
|
|
|
6
8
|
onValueChange?: (attachments: ReadonlyArray<CommentAttachment>) => void;
|
|
7
9
|
/** Fires when a validation or upload error happens. */
|
|
8
10
|
onError?: (error: string) => void;
|
|
11
|
+
/** Validation and non-Error upload fallback copy; omitted keys use Comments defaults.
|
|
12
|
+
* Error objects retain their caller-supplied message. */
|
|
13
|
+
strings?: StringsProp<Pick<CommentsStrings, 'attachmentTooLargeError' | 'attachmentTooManyError' | 'attachmentFailedLabel'>>;
|
|
9
14
|
}
|
|
10
15
|
export interface UseAttachmentUploadReturn {
|
|
11
16
|
/** All attachments — uploading + uploaded + failed. */
|
|
@@ -10,18 +10,6 @@ export interface SearchFacetProps {
|
|
|
10
10
|
/** Merged onto the outermost node. */
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
|
-
/**
|
|
14
|
-
* Search Filter Facet
|
|
15
|
-
*
|
|
16
|
-
* This component implements a text search filter that allows users to:
|
|
17
|
-
* - Enter search terms
|
|
18
|
-
* - Configure search behavior (contains, equals, etc.)
|
|
19
|
-
* - Set debounce delay for performance
|
|
20
|
-
* - Customize placeholder text and appearance
|
|
21
|
-
*
|
|
22
|
-
* The component integrates with the filter context to manage the search value
|
|
23
|
-
* and provides a responsive search input interface.
|
|
24
|
-
*/
|
|
25
13
|
declare function SearchFacetComponent({ filter, value, onValueChange, className, }: SearchFacetProps): React.JSX.Element;
|
|
26
14
|
export declare const SearchFacet: React.MemoExoticComponent<typeof SearchFacetComponent>;
|
|
27
15
|
export {};
|
|
@@ -3,7 +3,7 @@ import type { GlobalSearchIdleSection } from '../global-search.types';
|
|
|
3
3
|
export interface GlobalSearchIdleStateProps {
|
|
4
4
|
/** Sections to render, in display order. */
|
|
5
5
|
sections: ReadonlyArray<GlobalSearchIdleSection>;
|
|
6
|
-
/** Optional
|
|
6
|
+
/** Optional heading icon used when a section supplies none. Headings carry no icon by default. */
|
|
7
7
|
fallbackIcons?: {
|
|
8
8
|
recent?: React.ElementType;
|
|
9
9
|
suggestions?: React.ElementType;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { MediaLibraryDialogProps, MediaLibraryProps } from './media-library.types';
|
|
2
|
-
export declare function MediaLibrary<TItem = import('./media-library.types').MediaLibraryItem>({ title, description, confirmLabel, cancelLabel, selectionMode, density, showMeta, allowUpload, typeFilters, confirmOnSelect, onConfirm, onCancel, onClose, strings: stringsProp, slots, heightClassName, className, items, fetcher, accessors, collections, value, defaultValue, onValueChange, onItemUpdate, onItemDelete, onUpload, onError, tab, defaultTab, onTabChange, view, defaultView, onViewChange, query, defaultQuery, onQueryChange, type, defaultType, onTypeChange, collection, defaultCollection, onCollectionChange, sort, defaultSort, onSortChange, uploadOptions, defaultUploadOptions, onUploadOptionsChange, ...props }: MediaLibraryProps<TItem>): import("react").JSX.Element;
|
|
2
|
+
export declare function MediaLibrary<TItem = import('./media-library.types').MediaLibraryItem>({ title, titleSuffix, description, confirmLabel, cancelLabel, selectionMode, density, showMeta, allowUpload, typeFilters, confirmOnSelect, onConfirm, onCancel, onClose, strings: stringsProp, slots, heightClassName, className, items, fetcher, accessors, collections, value, defaultValue, onValueChange, onItemUpdate, onItemDelete, onItemReplace, onUpload, onError, tab, defaultTab, onTabChange, view, defaultView, onViewChange, query, defaultQuery, onQueryChange, type, defaultType, onTypeChange, collection, defaultCollection, onCollectionChange, sort, defaultSort, onSortChange, uploadOptions, defaultUploadOptions, onUploadOptionsChange, ...props }: MediaLibraryProps<TItem>): import("react").JSX.Element;
|
|
3
3
|
export declare function MediaLibraryDialog<TItem = import('./media-library.types').MediaLibraryItem>({ open, onOpenChange, trigger, dialogTitle, dialogDescription, onClose, className, dialogClassName, contentClassName, closeOnEscape, closeOnBackdropClick, ...props }: MediaLibraryDialogProps<TItem>): import("react").JSX.Element;
|
|
@@ -114,7 +114,7 @@ export interface MediaLibraryAccessors<TItem = MediaLibraryItem> {
|
|
|
114
114
|
export type ResolvedMediaLibraryAccessors<TItem = MediaLibraryItem> = Required<MediaLibraryAccessors<TItem>>;
|
|
115
115
|
export interface MediaLibrarySlots<TItem = MediaLibraryItem> {
|
|
116
116
|
headerStart?: ReactNode;
|
|
117
|
-
/**
|
|
117
|
+
/** Header controls beside the library/upload tabs. Put title status in `titleSuffix`. */
|
|
118
118
|
headerEnd?: ReactNode;
|
|
119
119
|
/** Content at the end of the toolbar row. */
|
|
120
120
|
toolbarEnd?: ReactNode;
|
|
@@ -151,6 +151,8 @@ export interface MediaLibraryDetailRenderContext<TItem = MediaLibraryItem> {
|
|
|
151
151
|
accessors: ResolvedMediaLibraryAccessors<TItem>;
|
|
152
152
|
update: (patch: MediaLibraryItemPatch) => Promise<boolean>;
|
|
153
153
|
remove: () => Promise<boolean>;
|
|
154
|
+
/** Requests the consumer's replacement workflow for this inspected item, when supported. */
|
|
155
|
+
replace?: () => void;
|
|
154
156
|
close: () => void;
|
|
155
157
|
}
|
|
156
158
|
export interface MediaLibraryState<TItem = MediaLibraryItem> {
|
|
@@ -300,6 +302,10 @@ export interface UseMediaLibraryOptions<TItem = MediaLibraryItem> {
|
|
|
300
302
|
export interface MediaLibraryProps<TItem = MediaLibraryItem> extends Omit<ComponentPropsWithoutRef<'section'>, 'children' | 'defaultValue' | 'onError' | 'onSelect' | 'title'>, UseMediaLibraryOptions<TItem> {
|
|
301
303
|
/** Heading above the browser. */
|
|
302
304
|
title?: ReactNode;
|
|
305
|
+
/** Status, count, or version content directly after the title; header actions belong in `slots.headerEnd`. */
|
|
306
|
+
titleSuffix?: ReactNode;
|
|
307
|
+
/** Requests replacement of the inspected asset. The consumer owns file selection, persistence, identity, and refreshed `items`; omitted callbacks hide Replace file. */
|
|
308
|
+
onItemReplace?: (item: TItem) => void;
|
|
303
309
|
/** Supporting line under the title. */
|
|
304
310
|
description?: ReactNode;
|
|
305
311
|
/** Copy for the confirm action. */
|
|
@@ -455,6 +461,8 @@ export interface MediaLibraryDetailPanelProps<TItem = MediaLibraryItem> {
|
|
|
455
461
|
onUpdate: (patch: MediaLibraryItemPatch) => Promise<boolean>;
|
|
456
462
|
/** Fired when an entry is removed. */
|
|
457
463
|
onRemove: () => Promise<boolean>;
|
|
464
|
+
/** Opens the consumer-owned replacement workflow for the inspected item. */
|
|
465
|
+
onReplace?: () => void;
|
|
458
466
|
/** Replaces the default detail rendering. */
|
|
459
467
|
renderDetail?: MediaLibrarySlots<TItem>['renderDetail'];
|
|
460
468
|
}
|
|
@@ -3,7 +3,7 @@ export declare function MediaLibraryEmptyState({ icon, title, description, actio
|
|
|
3
3
|
export declare function MediaLibraryToolbar({ query, type, typeFilters, collection, sort, view, collections, strings, onQueryChange, onTypeChange, onCollectionChange, onSortChange, onViewChange, onClearFilters, toolbarEnd, }: MediaLibraryToolbarProps): import("react").JSX.Element;
|
|
4
4
|
export declare function MediaLibraryCard<TItem>({ item, selected, density, showMeta, accessors, strings, onToggle, onDetails, className, }: MediaLibraryCardProps<TItem>): import("react").JSX.Element;
|
|
5
5
|
export declare function MediaLibraryList<TItem>({ items, selectedSet, accessors, strings, onToggle, onDetails, }: MediaLibraryListProps<TItem>): import("react").JSX.Element;
|
|
6
|
-
export declare function MediaLibraryDetailPanel<TItem>({ item, collections, accessors, strings, onClose, onUpdate, onRemove, renderDetail, }: MediaLibraryDetailPanelProps<TItem>): import("react").JSX.Element | null;
|
|
6
|
+
export declare function MediaLibraryDetailPanel<TItem>({ item, collections, accessors, strings, onClose, onUpdate, onRemove, onReplace, renderDetail, }: MediaLibraryDetailPanelProps<TItem>): import("react").JSX.Element | null;
|
|
7
7
|
export declare function MediaLibraryUploadPanel({ stagedFiles, uploadOptions, collections, uploading, strings, onFiles, onRemoveFile, onOptionsChange, empty, }: MediaLibraryUploadPanelProps): import("react").JSX.Element;
|
|
8
8
|
export declare function MediaLibraryFooterSummary({ tab, selectedIds, selectionMode, stagedFiles, strings, onClearSelection, className, }: MediaLibraryFooterSummaryProps): import("react").JSX.Element;
|
|
9
9
|
export declare function MediaLibraryFooterActions<TItem>({ tab, selectedItems, selectedIds, stagedFiles, uploading, strings, confirmLabel, cancelLabel, onCancel, onConfirm, onUpload, onCancelUpload, className, }: MediaLibraryFooterActionsProps<TItem>): import("react").JSX.Element;
|