themelia-react-ui 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +527 -0
- package/README.md +47 -14
- package/THIRD_PARTY_NOTICES.md +13 -0
- package/dist/accordion-Cjb6sx0G.js +208 -0
- package/dist/accordion-Cjb6sx0G.js.map +1 -0
- package/dist/action-menu-CllU52Mm.js +280 -0
- package/dist/action-menu-CllU52Mm.js.map +1 -0
- package/dist/affordance-geometry.generated-tF36bREk.js +140 -0
- package/dist/affordance-geometry.generated-tF36bREk.js.map +1 -0
- package/dist/ai-artifact-DvTwDVyL.js +1148 -0
- package/dist/ai-artifact-DvTwDVyL.js.map +1 -0
- package/dist/{app-shell-BE_j8-AT.js → app-shell-C4FhvCqF.js} +5 -5
- package/dist/{app-shell-BE_j8-AT.js.map → app-shell-C4FhvCqF.js.map} +1 -1
- package/dist/attachment-BxDfL2mw.js +246 -0
- package/dist/attachment-BxDfL2mw.js.map +1 -0
- package/dist/{auth-M3vGMgDR.js → auth-ax2BqjrI.js} +241 -235
- package/dist/auth-ax2BqjrI.js.map +1 -0
- package/dist/{avatar-djdaaQ_s.js → avatar-DAPlDvhJ.js} +67 -66
- package/dist/avatar-DAPlDvhJ.js.map +1 -0
- package/dist/badge-HpFqoqSY.js +93 -0
- package/dist/badge-HpFqoqSY.js.map +1 -0
- package/dist/base/accordion.js +1 -1
- package/dist/base/action-menu.js +1 -1
- package/dist/base/attachment.js +1 -1
- package/dist/base/avatar.js +1 -1
- package/dist/base/badge.js +1 -1
- package/dist/base/batch-action-bar.js +3 -0
- package/dist/base/buttons.js +2 -3
- package/dist/base/cards.js +2 -2
- package/dist/base/carousel.js +50 -46
- package/dist/base/carousel.js.map +1 -1
- package/dist/base/cascader.js +69 -81
- package/dist/base/cascader.js.map +1 -1
- package/dist/base/chart.js +1 -1
- package/dist/base/choice-inputs.js +3 -3
- package/dist/base/code-block.js +1 -1
- package/dist/base/combobox.js +2 -2
- package/dist/base/command.js +1 -1
- package/dist/base/copyable.js +1 -1
- package/dist/base/date-pickers.js +2 -2
- package/dist/base/display.js +7 -7
- package/dist/base/feedback.js +3 -3
- package/dist/base/forms-numeric.js +1 -1
- package/dist/base/forms.js +2 -2
- package/dist/base/inline-edit.js +20 -20
- package/dist/base/inline-edit.js.map +1 -1
- package/dist/base/item.js +1 -1
- package/dist/base/media-gallery.js +1 -1
- package/dist/base/metadata-list.js +3 -0
- package/dist/base/navigation.js +7 -7
- package/dist/base/popover-menu.js +1 -1
- package/dist/base/popover.js +1 -1
- package/dist/base/qr-code.js +1 -1
- package/dist/base/repeaters.js +216 -220
- package/dist/base/repeaters.js.map +1 -1
- package/dist/base/sheet.js +1 -1
- package/dist/base/sidebar.js +1 -1
- package/dist/base/signature-pad.js +147 -137
- package/dist/base/signature-pad.js.map +1 -1
- package/dist/base/skeleton.js +1 -1
- package/dist/base/spinner.js +79 -2
- package/dist/base/spinner.js.map +1 -0
- package/dist/base/structure.js +1 -1
- package/dist/base/table.js +1 -1
- package/dist/base/text-inputs.js +2 -2
- package/dist/base/toaster.js +46 -45
- package/dist/base/toaster.js.map +1 -1
- package/dist/base/tree.js +1 -1
- package/dist/base/upload-queue.js +1 -1
- package/dist/base/upload.js +3 -3
- package/dist/base/value-inputs.js +2 -2
- package/dist/batch-action-bar-DnUJ21NQ.js +105 -0
- package/dist/batch-action-bar-DnUJ21NQ.js.map +1 -0
- package/dist/blocks/admin.js +171 -169
- package/dist/blocks/admin.js.map +1 -1
- package/dist/blocks/ai.js +308 -285
- package/dist/blocks/ai.js.map +1 -1
- package/dist/blocks/analytics/usage-card.js +1 -1
- package/dist/blocks/analytics.js +626 -589
- package/dist/blocks/analytics.js.map +1 -1
- package/dist/blocks/collaboration.js +1 -1
- package/dist/blocks/commerce/receipt.js +1 -1
- package/dist/blocks/commerce.js +2051 -1329
- package/dist/blocks/commerce.js.map +1 -1
- package/dist/blocks/data-display.js +3 -2
- package/dist/blocks/onboarding.js +68 -58
- package/dist/blocks/onboarding.js.map +1 -1
- package/dist/blocks/planning.js +27 -26
- package/dist/blocks/planning.js.map +1 -1
- package/dist/blocks/timelines.js +1 -1
- package/dist/breadcrumbs-C-oqs1sQ.js +129 -0
- package/dist/breadcrumbs-C-oqs1sQ.js.map +1 -0
- package/dist/{button-R9CCoH7A.js → button-DVzspB_G.js} +15 -14
- package/dist/button-DVzspB_G.js.map +1 -0
- package/dist/{button-BS3KDg00.js → buttons-DPZekJFu.js} +208 -216
- package/dist/buttons-DPZekJFu.js.map +1 -0
- package/dist/cards-BaBZR-AU.js +68 -0
- package/dist/cards-BaBZR-AU.js.map +1 -0
- package/dist/{chart-DwYRKKc-.js → chart-ZOYyK2xG.js} +58 -55
- package/dist/chart-ZOYyK2xG.js.map +1 -0
- package/dist/checkbox-AWIhNhmo.js +36 -0
- package/dist/checkbox-AWIhNhmo.js.map +1 -0
- package/dist/choice-inputs-CNHvARCJ.js +770 -0
- package/dist/choice-inputs-CNHvARCJ.js.map +1 -0
- package/dist/code-block-DeneBJR_.js +185 -0
- package/dist/code-block-DeneBJR_.js.map +1 -0
- package/dist/{collapsible-oMUGM4tr.js → collapsible-C-_l4hpy.js} +4 -4
- package/dist/{collapsible-oMUGM4tr.js.map → collapsible-C-_l4hpy.js.map} +1 -1
- package/dist/{collection-content-Ys-OZOkY.js → collection-content-By56pLog.js} +3 -3
- package/dist/{collection-content-Ys-OZOkY.js.map → collection-content-By56pLog.js.map} +1 -1
- package/dist/combobox-C0EQW6dr.js +875 -0
- package/dist/combobox-C0EQW6dr.js.map +1 -0
- package/dist/combobox-xCQ2RMNE.js +309 -0
- package/dist/combobox-xCQ2RMNE.js.map +1 -0
- package/dist/{command-kPMPjIxJ.js → command-C25VMRII.js} +7 -7
- package/dist/{command-kPMPjIxJ.js.map → command-C25VMRII.js.map} +1 -1
- package/dist/{comments-You0Bzbr.js → comments-BYYlTA8E.js} +390 -379
- package/dist/comments-BYYlTA8E.js.map +1 -0
- package/dist/components/base/action-menu/action-menu.d.ts +21 -4
- package/dist/components/base/action-menu/action-menu.recipes.d.ts +21 -0
- package/dist/components/base/action-menu/index.d.ts +1 -0
- package/dist/components/base/badge/badge.recipes.d.ts +5 -5
- package/dist/components/base/batch-action-bar/batch-action-bar.d.ts +50 -0
- package/dist/components/base/batch-action-bar/batch-action-bar.strings.d.ts +20 -0
- package/dist/components/base/batch-action-bar/index.d.ts +8 -0
- package/dist/components/base/buttons/button-group.recipes.d.ts +1 -1
- package/dist/components/base/buttons/button.recipes.d.ts +2 -2
- package/dist/components/base/buttons/loader-button.d.ts +2 -1
- package/dist/components/base/cards/card.recipes.d.ts +2 -3
- package/dist/components/base/cards/partials/smart-card-skeleton.d.ts +3 -13
- package/dist/components/base/cards/smart-card.types.d.ts +11 -4
- package/dist/components/base/chart/chart.d.ts +2 -5
- package/dist/components/base/choice-inputs/checkbox.d.ts +2 -2
- package/dist/components/base/choice-inputs/choice-types.d.ts +18 -6
- package/dist/components/base/combobox/combobox.strings.d.ts +7 -0
- package/dist/components/base/combobox/index.d.ts +30 -4
- package/dist/components/base/display/alert-dialog.d.ts +6 -5
- package/dist/components/base/display/dialog.d.ts +4 -8
- package/dist/components/base/display/icon-badge/icon-badge.d.ts +1 -1
- package/dist/components/base/forms/form-sizing.d.ts +26 -15
- package/dist/components/base/metadata-list/index.d.ts +12 -0
- package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.d.ts +28 -25
- package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-value.d.ts +2 -2
- package/dist/components/base/navigation/index.d.ts +1 -1
- package/dist/components/base/navigation/page-header/index.d.ts +1 -0
- package/dist/components/base/navigation/page-header/page-header-commands.d.ts +73 -0
- package/dist/components/base/navigation/page-header/page-header.d.ts +26 -3
- package/dist/components/base/navigation/pagination.d.ts +5 -2
- package/dist/components/base/popover/popover.recipes.d.ts +15 -1
- package/dist/components/base/sheet/sheet.d.ts +4 -8
- package/dist/components/base/signature-pad/signature-pad.types.d.ts +5 -1
- package/dist/components/base/signature-pad/signature-pad.utils.d.ts +11 -3
- package/dist/components/base/table/index.d.ts +9 -2
- package/dist/components/base/text-inputs/field-clear-button.d.ts +6 -0
- package/dist/components/base/text-inputs/input-group.d.ts +2 -2
- package/dist/components/base/upload/upload.recipes.d.ts +25 -3
- package/dist/components/base/value-inputs/index.d.ts +5 -5
- package/dist/components/base/value-inputs/tags-input.d.ts +36 -12
- package/dist/components/blocks/ai/ai-shimmer/ai-shimmer.d.ts +1 -1
- package/dist/components/blocks/ai/ai-shimmer/types.d.ts +3 -0
- package/dist/components/blocks/commerce/address-card/address-card.d.ts +1 -1
- package/dist/components/blocks/commerce/address-card/types.d.ts +2 -1
- package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +3 -1
- package/dist/components/blocks/commerce/cart-summary/index.d.ts +2 -2
- package/dist/components/blocks/commerce/cart-summary/types.d.ts +6 -1
- package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +3 -1
- package/dist/components/blocks/commerce/discount-stack/index.d.ts +2 -2
- package/dist/components/blocks/commerce/discount-stack/types.d.ts +16 -4
- package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +5 -0
- package/dist/components/blocks/commerce/fulfillment-group/index.d.ts +2 -0
- package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +45 -0
- package/dist/components/blocks/commerce/index.d.ts +13 -5
- package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +1 -1
- package/dist/components/blocks/commerce/invoice-header/types.d.ts +4 -2
- package/dist/components/blocks/commerce/invoice-mini/invoice-mini.d.ts +1 -1
- package/dist/components/blocks/commerce/invoice-mini/types.d.ts +2 -1
- package/dist/components/blocks/commerce/order-customer/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-customer/order-customer.d.ts +5 -0
- package/dist/components/blocks/commerce/order-customer/types.d.ts +48 -0
- package/dist/components/blocks/commerce/order-header/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-header/order-header.d.ts +5 -0
- package/dist/components/blocks/commerce/order-header/types.d.ts +37 -0
- package/dist/components/blocks/commerce/order-line-item/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-line-item/order-line-item.d.ts +5 -0
- package/dist/components/blocks/commerce/order-line-item/types.d.ts +46 -0
- package/dist/components/blocks/commerce/order-summary/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-summary/order-summary.d.ts +5 -0
- package/dist/components/blocks/commerce/order-summary/types.d.ts +42 -0
- package/dist/components/blocks/commerce/order-transactions/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-transactions/order-transactions.d.ts +5 -0
- package/dist/components/blocks/commerce/order-transactions/types.d.ts +46 -0
- package/dist/components/blocks/commerce/payment-method/index.d.ts +2 -2
- package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +9 -1
- package/dist/components/blocks/commerce/payment-method/types.d.ts +12 -1
- package/dist/components/blocks/commerce/refund-status/index.d.ts +2 -2
- package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +3 -1
- package/dist/components/blocks/commerce/refund-status/types.d.ts +6 -3
- package/dist/components/blocks/commerce/shared/address-lines.d.ts +21 -0
- package/dist/components/blocks/commerce/shared/line-thumbnail.d.ts +9 -0
- package/dist/components/blocks/commerce/shared/order-status.d.ts +51 -0
- package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +1 -1
- package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +27 -6
- package/dist/components/blocks/commerce/summary-panel/amount-row.d.ts +2 -0
- package/dist/components/blocks/commerce/summary-panel/index.d.ts +3 -0
- package/dist/components/blocks/commerce/summary-panel/summary-panel.d.ts +2 -0
- package/dist/components/blocks/commerce/summary-panel/types.d.ts +26 -0
- package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +1 -1
- package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +2 -1
- package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +16 -8
- package/dist/components/blocks/data-display/metadata/index.d.ts +30 -4
- package/dist/components/features/activities/partials/activity-marker.d.ts +6 -3
- package/dist/components/features/activities/partials/activity-row.d.ts +6 -2
- package/dist/components/features/activities/partials/tone-tokens.d.ts +0 -6
- package/dist/components/features/appointment-calendar/appointment-calendar.d.ts +5 -0
- package/dist/components/features/appointment-calendar/appointment-calendar.types.d.ts +220 -0
- package/dist/components/features/appointment-calendar/appointment-calendar.utils.d.ts +41 -0
- package/dist/components/features/appointment-calendar/index.d.ts +3 -0
- package/dist/components/features/appointment-calendar/partials/appointment-agenda.d.ts +32 -0
- package/dist/components/features/appointment-calendar/partials/appointment-month.d.ts +13 -0
- package/dist/components/features/combobox/combobox.strings.d.ts +15 -1
- package/dist/components/features/combobox/types.d.ts +4 -0
- package/dist/components/features/global-search/partials/global-search-group-heading.d.ts +15 -0
- package/dist/components/features/global-search/partials/tone-palettes.d.ts +0 -5
- package/dist/components/features/kanban/kanban.d.ts +1 -1
- package/dist/components/features/kanban/kanban.strings.d.ts +1 -1
- package/dist/components/features/kanban/kanban.types.d.ts +2 -2
- package/dist/components/features/media-library/hooks/use-media-library.d.ts +1 -1
- package/dist/components/features/media-library/index.d.ts +1 -1
- package/dist/components/features/media-library/media-library.d.ts +1 -1
- package/dist/components/features/media-library/media-library.strings.d.ts +6 -0
- package/dist/components/features/media-library/media-library.types.d.ts +74 -1
- package/dist/components/features/media-library/partials/media-library-partials.d.ts +3 -3
- package/dist/components/features/mentions/partials/mention-kind-toggles.d.ts +16 -0
- package/dist/components/features/overlays/alert-dialog.d.ts +1 -1
- package/dist/components/features/overlays/dialog.d.ts +1 -1
- package/dist/components/features/overlays/index.d.ts +1 -1
- package/dist/components/features/overlays/overlay-tone-icon.d.ts +3 -3
- package/dist/components/features/overlays/overlays.types.d.ts +20 -0
- package/dist/components/features/products/components/product-contract-overview.d.ts +5 -0
- package/dist/components/features/products/components/product-details-card.d.ts +5 -0
- package/dist/components/features/products/components/product-operations-card.d.ts +5 -0
- package/dist/components/features/products/components/product-option-action-menu.d.ts +5 -0
- package/dist/components/features/products/components/product-options-summary.d.ts +5 -0
- package/dist/components/features/products/components/product-policies-card.d.ts +5 -0
- package/dist/components/features/products/components/product-quote-preview-card.d.ts +5 -0
- package/dist/components/features/products/components/product-readiness-card.d.ts +5 -0
- package/dist/components/features/products/components/product-structure-card.d.ts +5 -0
- package/dist/components/features/products/components/product-variant-action-menu.d.ts +23 -1
- package/dist/components/features/products/products.types.d.ts +9 -2
- package/dist/components/features/resource/index.d.ts +1 -1
- package/dist/components/features/resource/resource.d.ts +1 -1
- package/dist/components/features/resource/resource.types.d.ts +34 -6
- package/dist/components/features/rich-text-editor/index.d.ts +2 -1
- package/dist/components/features/rich-text-editor/partials/image-nodes.d.ts +13 -0
- package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +66 -0
- package/dist/components/features/rich-text-editor/partials/inline-reference-node.d.ts +19 -0
- package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +7 -1
- package/dist/components/features/rich-text-editor/rich-text-editor.strings.d.ts +14 -0
- package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +54 -1
- package/dist/components/features/rich-text-editor/use-rich-text-images.d.ts +18 -0
- package/dist/components/features/sync/index.d.ts +26 -3
- package/dist/components/features/table/data-table.d.ts +1 -1
- package/dist/components/features/table/table-header.d.ts +1 -1
- package/dist/components/features/table/table.strings.d.ts +55 -1
- package/dist/components/features/table/table.types.d.ts +49 -11
- package/dist/components/features/theme-tweaker/theme-tweaker.types.d.ts +5 -0
- package/dist/components/layout/page/index.d.ts +1 -1
- package/dist/components/layout/page/page.types.d.ts +33 -36
- package/dist/components/layout/page/partials/page-actions.d.ts +1 -0
- package/dist/components/layout/page/partials/page-header.d.ts +1 -1
- package/dist/components/layout/settings/settings.d.ts +16 -2
- package/dist/components/layout/workspace/workspace.types.d.ts +21 -4
- package/dist/components/primitives/number.d.ts +4 -2
- package/dist/components/primitives/value.d.ts +3 -1
- package/dist/components/typography/rich-text/index.d.ts +1 -1
- package/dist/components/typography/rich-text/rich-text-tree.d.ts +19 -0
- package/dist/components/typography/rich-text/rich-text.d.ts +16 -0
- package/dist/components/typography/text-link.d.ts +8 -3
- package/dist/components/ui/checkbox.d.ts +4 -3
- package/dist/components/ui/combobox.d.ts +6 -2
- package/dist/components/ui/item.d.ts +8 -8
- package/dist/components/ui/overlay.recipes.d.ts +0 -9
- package/dist/components/ui/switch.d.ts +2 -2
- package/dist/components/ui/tabs.d.ts +1 -1
- package/dist/{containers-D_L4mTVb.js → containers-Mu1LMGV1.js} +36 -35
- package/dist/containers-Mu1LMGV1.js.map +1 -0
- package/dist/{copyable-DDjTeW_j.js → copyable-ClBuk_UK.js} +6 -6
- package/dist/{copyable-DDjTeW_j.js.map → copyable-ClBuk_UK.js.map} +1 -1
- package/dist/data-display-DT_khPl_.js +971 -0
- package/dist/data-display-DT_khPl_.js.map +1 -0
- package/dist/{date-uf3z37Nm.js → date-DCrsDTZc.js} +5 -5
- package/dist/{date-uf3z37Nm.js.map → date-DCrsDTZc.js.map} +1 -1
- package/dist/date-picker-ay0Pha_a.js +1530 -0
- package/dist/date-picker-ay0Pha_a.js.map +1 -0
- package/dist/date-pickers-Ccw8DL2b.js +175 -0
- package/dist/date-pickers-Ccw8DL2b.js.map +1 -0
- package/dist/display-hAc1HjpI.js +344 -0
- package/dist/display-hAc1HjpI.js.map +1 -0
- package/dist/dropdown-menu-Cl4X7L5S.js +193 -0
- package/dist/dropdown-menu-Cl4X7L5S.js.map +1 -0
- package/dist/editable-text-recipe-Cn61kEcv.js +10 -0
- package/dist/editable-text-recipe-Cn61kEcv.js.map +1 -0
- package/dist/features/activities.js +478 -542
- package/dist/features/activities.js.map +1 -1
- package/dist/features/ai-chat.js +209 -199
- package/dist/features/ai-chat.js.map +1 -1
- package/dist/features/appointment-calendar.js +683 -0
- package/dist/features/appointment-calendar.js.map +1 -0
- package/dist/features/async-preview.js +109 -107
- package/dist/features/async-preview.js.map +1 -1
- package/dist/features/combobox.js +1 -1
- package/dist/features/comments.js +1 -1
- package/dist/features/data-view.js +30 -29
- package/dist/features/data-view.js.map +1 -1
- package/dist/features/email-composer/engine.js +1 -1
- package/dist/features/email-composer.js +285 -283
- package/dist/features/email-composer.js.map +1 -1
- package/dist/features/event-calendar.js +282 -273
- package/dist/features/event-calendar.js.map +1 -1
- package/dist/features/filters.js +1 -1
- package/dist/features/global-search.js +318 -318
- package/dist/features/global-search.js.map +1 -1
- package/dist/features/kanban.js +146 -147
- package/dist/features/kanban.js.map +1 -1
- package/dist/features/map.js +269 -268
- package/dist/features/map.js.map +1 -1
- package/dist/features/media-library.js +970 -863
- package/dist/features/media-library.js.map +1 -1
- package/dist/features/mentions.js +1 -1
- package/dist/features/overlays.js +1 -1
- package/dist/features/products.js +1137 -1124
- package/dist/features/products.js.map +1 -1
- package/dist/features/questionnaire.js +206 -194
- package/dist/features/questionnaire.js.map +1 -1
- package/dist/features/resource-assignment.js +24 -21
- package/dist/features/resource-assignment.js.map +1 -1
- package/dist/features/resource.js +77 -69
- package/dist/features/resource.js.map +1 -1
- package/dist/features/rich-text-editor.js +30 -11
- package/dist/features/rich-text-editor.js.map +1 -1
- package/dist/features/schema-form.js +35 -33
- package/dist/features/schema-form.js.map +1 -1
- package/dist/features/suggestions.js +3 -3
- package/dist/features/sync.js +11 -5
- package/dist/features/sync.js.map +1 -1
- package/dist/features/table.js +1 -1
- package/dist/features/theme-tweaker.js +501 -496
- package/dist/features/theme-tweaker.js.map +1 -1
- package/dist/feedback-BYIhtitP.js +239 -0
- package/dist/feedback-BYIhtitP.js.map +1 -0
- package/dist/field-affordance-recipes-DZhnIL_Y.js +41 -0
- package/dist/field-affordance-recipes-DZhnIL_Y.js.map +1 -0
- package/dist/field-state-recipes-BVA2CWHo.js +12 -0
- package/dist/field-state-recipes-BVA2CWHo.js.map +1 -0
- package/dist/{filters-Da-gNPsE.js → filters-BGfvjP4d.js} +483 -472
- package/dist/filters-BGfvjP4d.js.map +1 -0
- package/dist/focus-recipes-B653VaLq.js +12 -0
- package/dist/focus-recipes-B653VaLq.js.map +1 -0
- package/dist/{form-field-VZRULhUK.js → form-field-CwH9y77i.js} +6 -5
- package/dist/form-field-CwH9y77i.js.map +1 -0
- package/dist/{form-sizing-uWP4lzVh.js → form-sizing-BdP_Mf5p.js} +45 -46
- package/dist/form-sizing-BdP_Mf5p.js.map +1 -0
- package/dist/{forms-DDeEnXSY.js → forms-B9G_xwzi.js} +22 -22
- package/dist/{forms-DDeEnXSY.js.map → forms-B9G_xwzi.js.map} +1 -1
- package/dist/forms-numeric-B_jraJaQ.js +906 -0
- package/dist/forms-numeric-B_jraJaQ.js.map +1 -0
- package/dist/{header-2ycNqGOR.js → header-CGXuhcRm.js} +164 -161
- package/dist/header-CGXuhcRm.js.map +1 -0
- package/dist/{hooks-DQ5SPwZw.js → hooks-Dkz0K2WT.js} +2 -2
- package/dist/{hooks-DQ5SPwZw.js.map → hooks-Dkz0K2WT.js.map} +1 -1
- package/dist/{http-CdEIHyQf.js → http-D_6rOnzU.js} +2 -2
- package/dist/{http-CdEIHyQf.js.map → http-D_6rOnzU.js.map} +1 -1
- package/dist/icon-badge-DYKIwvOV.js +55 -0
- package/dist/icon-badge-DYKIwvOV.js.map +1 -0
- package/dist/index.js +7 -7
- package/dist/input-CZw8iU99.js +21 -0
- package/dist/input-CZw8iU99.js.map +1 -0
- package/dist/input-DQdEd0YD.js +263 -0
- package/dist/input-DQdEd0YD.js.map +1 -0
- package/dist/interaction-recipes-XR9ZpVYL.js +25 -0
- package/dist/interaction-recipes-XR9ZpVYL.js.map +1 -0
- package/dist/item-K5_ghvze.js +275 -0
- package/dist/item-K5_ghvze.js.map +1 -0
- package/dist/layer-recipes-CCpklYME.js +13 -0
- package/dist/layer-recipes-CCpklYME.js.map +1 -0
- package/dist/layout/app-shell.js +1 -1
- package/dist/layout/auth.js +1 -1
- package/dist/layout/containers.js +1 -1
- package/dist/layout/header.js +1 -1
- package/dist/layout/hooks.js +1 -1
- package/dist/layout/navigation.js +1 -1
- package/dist/layout/page.js +1 -1
- package/dist/layout/settings.js +1 -1
- package/dist/layout/sidebar.js +2 -2
- package/dist/layout/workspace.js +1 -1
- package/dist/layout.js +10 -10
- package/dist/lib/affordance-geometry.generated.d.ts +72 -0
- package/dist/lib/editable-text-recipe.d.ts +4 -4
- package/dist/lib/field-affordance-recipes.d.ts +8 -3
- package/dist/lib/field-state-recipes.d.ts +9 -8
- package/dist/lib/focus-recipes.d.ts +24 -0
- package/dist/lib/interaction-recipes.d.ts +40 -0
- package/dist/lib/layer-recipes.d.ts +19 -0
- package/dist/lib/motion-recipes.d.ts +1 -0
- package/dist/lib/overlay-anatomy-recipes.d.ts +1 -0
- package/dist/lib/safe-image-src.d.ts +10 -0
- package/dist/lib/sanitize-html.d.ts +15 -3
- package/dist/lib/surface-recipes.d.ts +47 -7
- package/dist/lib/theme-mode-css.d.ts +7 -0
- package/dist/lib/token-merge.generated.d.ts +9 -6
- package/dist/lib/tone-recipes.d.ts +87 -0
- package/dist/lib/ui-provider/hooks.d.ts +2 -1
- package/dist/lib/ui-provider/index.d.ts +2 -2
- package/dist/lib/ui-provider/types.d.ts +11 -2
- package/dist/lib/utils.js +1 -1
- package/dist/media-gallery-3zIVLMWH.js +203 -0
- package/dist/media-gallery-3zIVLMWH.js.map +1 -0
- package/dist/mentions-utuUvH1K.js +570 -0
- package/dist/mentions-utuUvH1K.js.map +1 -0
- package/dist/{message-YfFmbXNP.js → message-DZ_ruyUV.js} +7 -6
- package/dist/message-DZ_ruyUV.js.map +1 -0
- package/dist/metadata-list-8N16ZMW_.js +405 -0
- package/dist/metadata-list-8N16ZMW_.js.map +1 -0
- package/dist/{motion-recipes-B6jKXEcN.js → motion-recipes-ChBg4HBq.js} +3 -2
- package/dist/{motion-recipes-B6jKXEcN.js.map → motion-recipes-ChBg4HBq.js.map} +1 -1
- package/dist/navigation-Bnotn4AQ.js +145 -0
- package/dist/navigation-Bnotn4AQ.js.map +1 -0
- package/dist/navigation-BzhHI3lo.js +269 -0
- package/dist/navigation-BzhHI3lo.js.map +1 -0
- package/dist/{navigation-row-recipes-DlU-4QYO.js → navigation-row-recipes-BFLCk_Aq.js} +2 -2
- package/dist/{navigation-row-recipes-DlU-4QYO.js.map → navigation-row-recipes-BFLCk_Aq.js.map} +1 -1
- package/dist/{number-CKRBYmZK.js → number-DbV1Dija.js} +36 -34
- package/dist/{number-CKRBYmZK.js.map → number-DbV1Dija.js.map} +1 -1
- package/dist/overflow-tab-bar-CWY7Nogn.js +282 -0
- package/dist/overflow-tab-bar-CWY7Nogn.js.map +1 -0
- package/dist/overlay.recipes-8GHqmlb4.js +6 -0
- package/dist/overlay.recipes-8GHqmlb4.js.map +1 -0
- package/dist/overlays-DNWmZrJ4.js +1001 -0
- package/dist/overlays-DNWmZrJ4.js.map +1 -0
- package/dist/page-Bgl1F560.js +224 -0
- package/dist/page-Bgl1F560.js.map +1 -0
- package/dist/page-header-commands-DOb6WsfD.js +126 -0
- package/dist/page-header-commands-DOb6WsfD.js.map +1 -0
- package/dist/pagination-BL25hu2s.js +158 -0
- package/dist/pagination-BL25hu2s.js.map +1 -0
- package/dist/{popover-Dcv_9jxr.js → popover-7_m66eYW.js} +11 -10
- package/dist/popover-7_m66eYW.js.map +1 -0
- package/dist/popover-menu-B9WWygpa.js +100 -0
- package/dist/popover-menu-B9WWygpa.js.map +1 -0
- package/dist/{popover.recipes-wmbvL8Ah.js → popover.recipes-D3j8R8Yp.js} +18 -11
- package/dist/popover.recipes-D3j8R8Yp.js.map +1 -0
- package/dist/{primitives-BHrwQXFC.js → primitives-BFK08r9M.js} +45 -44
- package/dist/primitives-BFK08r9M.js.map +1 -0
- package/dist/primitives.js +4 -4
- package/dist/{progress-Br9WTFya.js → progress-B1VnCT0K.js} +9 -9
- package/dist/{progress-Br9WTFya.js.map → progress-B1VnCT0K.js.map} +1 -1
- package/dist/{receipt-CV89q1fs.js → receipt-BVSOH3Xo.js} +9 -6
- package/dist/{receipt-CV89q1fs.js.map → receipt-BVSOH3Xo.js.map} +1 -1
- package/dist/rich-text-GOUyKQ-s.js +78 -0
- package/dist/rich-text-GOUyKQ-s.js.map +1 -0
- package/dist/rich-text-editor-cRLC-eBK.js +1196 -0
- package/dist/rich-text-editor-cRLC-eBK.js.map +1 -0
- package/dist/rich-text-editor-toolbar-DfXg0-VC.js +94 -0
- package/dist/rich-text-editor-toolbar-DfXg0-VC.js.map +1 -0
- package/dist/rich-text-editor.strings-CB59ekH2.js +38 -0
- package/dist/rich-text-editor.strings-CB59ekH2.js.map +1 -0
- package/dist/safe-image-src-C6kQSMBZ.js +17 -0
- package/dist/safe-image-src-C6kQSMBZ.js.map +1 -0
- package/dist/sanitize-html-DsQmI48u.js +92 -0
- package/dist/sanitize-html-DsQmI48u.js.map +1 -0
- package/dist/scroll-area-DcI-M1UT.js +48 -0
- package/dist/scroll-area-DcI-M1UT.js.map +1 -0
- package/dist/{separator-Do5GWDYi.js → separator-BDV-Y648.js} +3 -3
- package/dist/{separator-Do5GWDYi.js.map → separator-BDV-Y648.js.map} +1 -1
- package/dist/{separator-BMEvwnSX.js → separator-Bom7NsGO.js} +2 -2
- package/dist/{separator-BMEvwnSX.js.map → separator-Bom7NsGO.js.map} +1 -1
- package/dist/services/actions/action-adapters.d.ts +18 -0
- package/dist/services/actions/index.d.ts +1 -1
- package/dist/services/actions.js +16 -4
- package/dist/services/actions.js.map +1 -1
- package/dist/settings-ybnjVwbd.js +171 -0
- package/dist/settings-ybnjVwbd.js.map +1 -0
- package/dist/sheet-CGpB3omz.js +211 -0
- package/dist/sheet-CGpB3omz.js.map +1 -0
- package/dist/{sidebar-Cb8WzOvE.js → sidebar-A0ElHINE.js} +17 -16
- package/dist/sidebar-A0ElHINE.js.map +1 -0
- package/dist/{sidebar-Crc9M9JV.js → sidebar-CPx_7YBa.js} +205 -203
- package/dist/sidebar-CPx_7YBa.js.map +1 -0
- package/dist/{skeleton-DVMXr15h.js → skeleton-Byjnt7qr.js} +9 -9
- package/dist/{skeleton-DVMXr15h.js.map → skeleton-Byjnt7qr.js.map} +1 -1
- package/dist/smart-card-DiC5aac3.js +604 -0
- package/dist/smart-card-DiC5aac3.js.map +1 -0
- package/dist/{structure-hzCW-XsV.js → structure-BmisBK-3.js} +2 -2
- package/dist/{structure-hzCW-XsV.js.map → structure-BmisBK-3.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/surface-recipes-BKRVW8Os.js +43 -0
- package/dist/surface-recipes-BKRVW8Os.js.map +1 -0
- package/dist/table-BweFy_P9.js +1530 -0
- package/dist/table-BweFy_P9.js.map +1 -0
- package/dist/table-DsfzoUia.js +175 -0
- package/dist/table-DsfzoUia.js.map +1 -0
- package/dist/tabs-CDocW5D1.js +191 -0
- package/dist/tabs-CDocW5D1.js.map +1 -0
- package/dist/text-inputs-f9Ia-aCi.js +353 -0
- package/dist/text-inputs-f9Ia-aCi.js.map +1 -0
- package/dist/theme-mode-css-BB-_RYab.js +14 -0
- package/dist/theme-mode-css-BB-_RYab.js.map +1 -0
- package/dist/theme-scope-BJ6eE2xt.js +50 -0
- package/dist/theme-scope-BJ6eE2xt.js.map +1 -0
- package/dist/theme.css +285 -228
- package/dist/themes/green.css +16 -12
- package/dist/timelines-CwM_9IhD.js +457 -0
- package/dist/timelines-CwM_9IhD.js.map +1 -0
- package/dist/tone-recipes-BPsRAvhu.js +73 -0
- package/dist/tone-recipes-BPsRAvhu.js.map +1 -0
- package/dist/tooltip-yiRJUFjp.js +111 -0
- package/dist/tooltip-yiRJUFjp.js.map +1 -0
- package/dist/{tree-BotPlyiD.js → tree-WnKQzwbq.js} +69 -67
- package/dist/tree-WnKQzwbq.js.map +1 -0
- package/dist/typography/rich-text.js +1 -1
- package/dist/typography-UTnveOEy.js +117 -0
- package/dist/typography-UTnveOEy.js.map +1 -0
- package/dist/typography.js +2 -2
- package/dist/{ui-provider-D2_TeLqw.js → ui-provider-C_U0Xma4.js} +13 -5
- package/dist/ui-provider-C_U0Xma4.js.map +1 -0
- package/dist/ui-provider.js +3 -3
- package/dist/{upload-B0WHW7ak.js → upload-CXyxmQBP.js} +210 -209
- package/dist/upload-CXyxmQBP.js.map +1 -0
- package/dist/{upload-queue-BHZ_wBfd.js → upload-queue-Boscubn9.js} +111 -111
- package/dist/upload-queue-Boscubn9.js.map +1 -0
- package/dist/upload.recipes-BbxTqrCT.js +61 -0
- package/dist/upload.recipes-BbxTqrCT.js.map +1 -0
- package/dist/{usage-card-U0YBLTNT.js → usage-card-BhO5eqkX.js} +45 -29
- package/dist/usage-card-BhO5eqkX.js.map +1 -0
- package/dist/{utils-Cospvlj1.js → utils-BRhFDwuU.js} +114 -67
- package/dist/utils-BRhFDwuU.js.map +1 -0
- package/dist/value-inputs-DXPDjvBU.js +963 -0
- package/dist/value-inputs-DXPDjvBU.js.map +1 -0
- package/dist/{value-typography-Deb3yQZg.js → value-typography-BP8OG6h5.js} +2 -2
- package/dist/{value-typography-Deb3yQZg.js.map → value-typography-BP8OG6h5.js.map} +1 -1
- package/dist/workspace-Cdrg7k9f.js +408 -0
- package/dist/workspace-Cdrg7k9f.js.map +1 -0
- package/docs/consumer-skill/SKILL.md +21 -22
- package/docs/consumer-skill/examples/app-layout.tsx +1 -1
- package/docs/consumer-skill/examples/composition.tsx +3 -3
- package/docs/consumer-skill/examples/detail.tsx +59 -12
- package/docs/consumer-skill/examples/edit.tsx +1 -1
- package/docs/consumer-skill/examples/receipt.tsx +2 -2
- package/docs/consumer-skill/examples/scoped-directory.tsx +1 -1
- package/docs/consumer-skill/examples/website.tsx +1 -1
- package/docs/consumer-skill/references/agents-md.md +33 -0
- package/docs/consumer-skill/references/analytics.md +1 -1
- package/docs/consumer-skill/references/composition.md +58 -13
- package/docs/consumer-skill/references/design-contract.md +12 -3
- package/docs/consumer-skill/references/installation.md +11 -1
- package/docs/consumer-skill/references/integration.md +4 -3
- package/docs/consumer-skill/references/public-api.json +956 -453
- package/docs/consumer-skill/references/review.md +32 -5
- package/docs/consumer-skill/references/theming.md +78 -9
- package/docs/consumer-skill/references/tokens.json +1 -1
- package/docs/consumer-skill/references/workflows.md +54 -10
- package/docs/consumer-skill/scripts/composition-policy.mjs +42 -11
- package/docs/consumer-skill/scripts/surface-policy.mjs +150 -5
- package/package.json +17 -5
- package/dist/accordion-CQXVcd7Q.js +0 -205
- package/dist/accordion-CQXVcd7Q.js.map +0 -1
- package/dist/action-menu-BTpyPWJ2.js +0 -264
- package/dist/action-menu-BTpyPWJ2.js.map +0 -1
- package/dist/affordance-geometry.generated-CCIXb2A1.js +0 -68
- package/dist/affordance-geometry.generated-CCIXb2A1.js.map +0 -1
- package/dist/ai-artifact-2PQ2fItc.js +0 -1112
- package/dist/ai-artifact-2PQ2fItc.js.map +0 -1
- package/dist/attachment-q69dlt5Y.js +0 -244
- package/dist/attachment-q69dlt5Y.js.map +0 -1
- package/dist/auth-M3vGMgDR.js.map +0 -1
- package/dist/avatar-djdaaQ_s.js.map +0 -1
- package/dist/badge-0tATj-tW.js +0 -92
- package/dist/badge-0tATj-tW.js.map +0 -1
- package/dist/breadcrumbs-BG_FfMK4.js +0 -128
- package/dist/breadcrumbs-BG_FfMK4.js.map +0 -1
- package/dist/button-BS3KDg00.js.map +0 -1
- package/dist/button-R9CCoH7A.js.map +0 -1
- package/dist/buttons-DS0ZIwJ_.js +0 -99
- package/dist/buttons-DS0ZIwJ_.js.map +0 -1
- package/dist/cards-QoJ4syG9.js +0 -66
- package/dist/cards-QoJ4syG9.js.map +0 -1
- package/dist/chart-DwYRKKc-.js.map +0 -1
- package/dist/checkbox-B7ygNTYp.js +0 -35
- package/dist/checkbox-B7ygNTYp.js.map +0 -1
- package/dist/choice-inputs-DrJ17tpL.js +0 -752
- package/dist/choice-inputs-DrJ17tpL.js.map +0 -1
- package/dist/code-block-CD0B7M93.js +0 -183
- package/dist/code-block-CD0B7M93.js.map +0 -1
- package/dist/combobox-6dvVny2q.js +0 -272
- package/dist/combobox-6dvVny2q.js.map +0 -1
- package/dist/combobox-CB7039j7.js +0 -865
- package/dist/combobox-CB7039j7.js.map +0 -1
- package/dist/comments-You0Bzbr.js.map +0 -1
- package/dist/components/layout/page/partials/page-header-commands.d.ts +0 -13
- package/dist/containers-D_L4mTVb.js.map +0 -1
- package/dist/data-display-3xWQUnMA.js +0 -1335
- package/dist/data-display-3xWQUnMA.js.map +0 -1
- package/dist/date-picker-DrDFj8Lo.js +0 -1527
- package/dist/date-picker-DrDFj8Lo.js.map +0 -1
- package/dist/date-pickers-CnFCb0n2.js +0 -174
- package/dist/date-pickers-CnFCb0n2.js.map +0 -1
- package/dist/display-DrdvPwF0.js +0 -343
- package/dist/display-DrdvPwF0.js.map +0 -1
- package/dist/dropdown-menu-CURh59jb.js +0 -193
- package/dist/dropdown-menu-CURh59jb.js.map +0 -1
- package/dist/editable-text-recipe-Bkm6wKHp.js +0 -10
- package/dist/editable-text-recipe-Bkm6wKHp.js.map +0 -1
- package/dist/feedback-C7nR0UtT.js +0 -232
- package/dist/feedback-C7nR0UtT.js.map +0 -1
- package/dist/field-affordance-recipes-CkOCdE2y.js +0 -46
- package/dist/field-affordance-recipes-CkOCdE2y.js.map +0 -1
- package/dist/field-state-recipes-C-MFBX_8.js +0 -11
- package/dist/field-state-recipes-C-MFBX_8.js.map +0 -1
- package/dist/filters-Da-gNPsE.js.map +0 -1
- package/dist/form-field-VZRULhUK.js.map +0 -1
- package/dist/form-sizing-uWP4lzVh.js.map +0 -1
- package/dist/forms-numeric-D3CO60IF.js +0 -905
- package/dist/forms-numeric-D3CO60IF.js.map +0 -1
- package/dist/header-2ycNqGOR.js.map +0 -1
- package/dist/icon-badge-DKlaKXoo.js +0 -53
- package/dist/icon-badge-DKlaKXoo.js.map +0 -1
- package/dist/input-BoLm9Hks.js +0 -20
- package/dist/input-BoLm9Hks.js.map +0 -1
- package/dist/input-DhQdBnV3.js +0 -255
- package/dist/input-DhQdBnV3.js.map +0 -1
- package/dist/item-xzh8Df65.js +0 -264
- package/dist/item-xzh8Df65.js.map +0 -1
- package/dist/media-gallery-DQUQ0m3O.js +0 -201
- package/dist/media-gallery-DQUQ0m3O.js.map +0 -1
- package/dist/mentions-DwnO1hh4.js +0 -564
- package/dist/mentions-DwnO1hh4.js.map +0 -1
- package/dist/message-YfFmbXNP.js.map +0 -1
- package/dist/navigation-Cbp5V8gG.js +0 -264
- package/dist/navigation-Cbp5V8gG.js.map +0 -1
- package/dist/navigation-Cs1npsPm.js +0 -300
- package/dist/navigation-Cs1npsPm.js.map +0 -1
- package/dist/overlay.recipes-CNO2S9V6.js +0 -34
- package/dist/overlay.recipes-CNO2S9V6.js.map +0 -1
- package/dist/overlays-DhZO7N-I.js +0 -994
- package/dist/overlays-DhZO7N-I.js.map +0 -1
- package/dist/page-C6R_8jFt.js +0 -325
- package/dist/page-C6R_8jFt.js.map +0 -1
- package/dist/page-header-hUTzcRZX.js +0 -112
- package/dist/page-header-hUTzcRZX.js.map +0 -1
- package/dist/pagination-Cm0jqa3I.js +0 -149
- package/dist/pagination-Cm0jqa3I.js.map +0 -1
- package/dist/popover-Dcv_9jxr.js.map +0 -1
- package/dist/popover-menu-DnRFKnHP.js +0 -99
- package/dist/popover-menu-DnRFKnHP.js.map +0 -1
- package/dist/popover.recipes-wmbvL8Ah.js.map +0 -1
- package/dist/primitives-BHrwQXFC.js.map +0 -1
- package/dist/rich-text-editor-CF8QYt5p.js +0 -574
- package/dist/rich-text-editor-CF8QYt5p.js.map +0 -1
- package/dist/rich-text-editor.recipes-CnrbmTS1.js +0 -81
- package/dist/rich-text-editor.recipes-CnrbmTS1.js.map +0 -1
- package/dist/rich-text-editor.strings-BpnIQgMl.js +0 -25
- package/dist/rich-text-editor.strings-BpnIQgMl.js.map +0 -1
- package/dist/rich-text-j-FGAeZW.js +0 -32
- package/dist/rich-text-j-FGAeZW.js.map +0 -1
- package/dist/sanitize-html-BG9FGe-j.js +0 -64
- package/dist/sanitize-html-BG9FGe-j.js.map +0 -1
- package/dist/scroll-area-DRdr16Pt.js +0 -47
- package/dist/scroll-area-DRdr16Pt.js.map +0 -1
- package/dist/settings-DHk0L2MF.js +0 -161
- package/dist/settings-DHk0L2MF.js.map +0 -1
- package/dist/sheet-DRFNY1_D.js +0 -207
- package/dist/sheet-DRFNY1_D.js.map +0 -1
- package/dist/sidebar-Cb8WzOvE.js.map +0 -1
- package/dist/sidebar-Crc9M9JV.js.map +0 -1
- package/dist/smart-card-Bek-TwUp.js +0 -599
- package/dist/smart-card-Bek-TwUp.js.map +0 -1
- package/dist/spinner-CmTAbEp0.js +0 -80
- package/dist/spinner-CmTAbEp0.js.map +0 -1
- package/dist/surface-recipes-DOdoBXGm.js +0 -28
- package/dist/surface-recipes-DOdoBXGm.js.map +0 -1
- package/dist/table-D6zKeYQX.js +0 -162
- package/dist/table-D6zKeYQX.js.map +0 -1
- package/dist/table-Dn4XSrSB.js +0 -1444
- package/dist/table-Dn4XSrSB.js.map +0 -1
- package/dist/tabs-Dk8E_knt.js +0 -189
- package/dist/tabs-Dk8E_knt.js.map +0 -1
- package/dist/text-inputs-BFpku0Qd.js +0 -331
- package/dist/text-inputs-BFpku0Qd.js.map +0 -1
- package/dist/theme-scope-kStaAer0.js +0 -39
- package/dist/theme-scope-kStaAer0.js.map +0 -1
- package/dist/timelines-CxuAFIc2.js +0 -439
- package/dist/timelines-CxuAFIc2.js.map +0 -1
- package/dist/tree-BotPlyiD.js.map +0 -1
- package/dist/typography-CAr3dQhX.js +0 -116
- package/dist/typography-CAr3dQhX.js.map +0 -1
- package/dist/ui-provider-D2_TeLqw.js.map +0 -1
- package/dist/upload-B0WHW7ak.js.map +0 -1
- package/dist/upload-queue-BHZ_wBfd.js.map +0 -1
- package/dist/usage-card-U0YBLTNT.js.map +0 -1
- package/dist/use-file-drop-target-BX7GnhoQ.js +0 -39
- package/dist/use-file-drop-target-BX7GnhoQ.js.map +0 -1
- package/dist/utils-Cospvlj1.js.map +0 -1
- package/dist/value-inputs-CjfzGMsN.js +0 -854
- package/dist/value-inputs-CjfzGMsN.js.map +0 -1
- package/dist/workspace-YoFjXi6i.js +0 -394
- package/dist/workspace-YoFjXi6i.js.map +0 -1
- /package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.strings.d.ts +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as TiptapReact from '@tiptap/react';
|
|
2
|
+
/**
|
|
3
|
+
* Inline references (`@person`, `#booking`) as one atomic editor token.
|
|
4
|
+
*
|
|
5
|
+
* The serialized HTML is the mentions contract written by `buildMentionHtml`
|
|
6
|
+
* and read by `parseMentionsFromHtml`/`MentionContent`:
|
|
7
|
+
*
|
|
8
|
+
* <span class="rsc-mention" data-ref-id="…" data-ref-kind="…" data-ref-tone="…"
|
|
9
|
+
* contenteditable="false">@Label</span>
|
|
10
|
+
*
|
|
11
|
+
* Without this node the editor schema had no place for that span, so a picked
|
|
12
|
+
* mention collapsed into plain text. Inside the editor the token keeps the
|
|
13
|
+
* `.rsc-mention` hook, so mention-chip.css (the inline Badge utilities and
|
|
14
|
+
* shared tone tints) draws it exactly as it draws serialized chips; it is
|
|
15
|
+
* selectable as a unit, and Backspace/Delete remove it in one keystroke.
|
|
16
|
+
*/
|
|
17
|
+
export declare const inlineReferenceChipClassName = "rsc-mention inline-reference--chip";
|
|
18
|
+
/** Created on first use, so the optional Tiptap runtime is only touched by the editor that needs it. */
|
|
19
|
+
export declare function getInlineReferenceNode(): TiptapReact.Node;
|
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
export declare const richTextEditorRecipes: {
|
|
3
3
|
readonly source: string;
|
|
4
4
|
readonly frame: "min-w-0 overflow-hidden border-input bg-background rounded-inner border";
|
|
5
|
-
readonly disabled: "opacity-
|
|
5
|
+
readonly disabled: "opacity-50";
|
|
6
|
+
readonly disabledControl: "disabled:opacity-100 aria-disabled:opacity-100";
|
|
6
7
|
readonly content: "h-full [&_.ProseMirror]:h-full [&_.ProseMirror]:min-h-full [&_.ProseMirror]:outline-none";
|
|
8
|
+
readonly bodyMinHeight: {
|
|
9
|
+
readonly control: "min-h-control-sm";
|
|
10
|
+
readonly field: "min-h-textarea-sm";
|
|
11
|
+
readonly document: "min-h-48";
|
|
12
|
+
};
|
|
7
13
|
};
|
|
@@ -28,5 +28,19 @@ export interface RichTextEditorStrings {
|
|
|
28
28
|
words: string;
|
|
29
29
|
max: string;
|
|
30
30
|
};
|
|
31
|
+
/** Image insertion, upload and description copy; `{{name}}` is the file name. */
|
|
32
|
+
images: {
|
|
33
|
+
insert: string;
|
|
34
|
+
uploading: string;
|
|
35
|
+
failed: string;
|
|
36
|
+
unsupported: string;
|
|
37
|
+
tooLarge: string;
|
|
38
|
+
cancel: string;
|
|
39
|
+
retry: string;
|
|
40
|
+
remove: string;
|
|
41
|
+
descriptionLabel: string;
|
|
42
|
+
descriptionHint: string;
|
|
43
|
+
removeImage: string;
|
|
44
|
+
};
|
|
31
45
|
}
|
|
32
46
|
export declare const defaultRichTextEditorStrings: RichTextEditorStrings;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ComponentType, ReactNode } from 'react';
|
|
2
2
|
import type * as TiptapReact from '@tiptap/react';
|
|
3
3
|
import type { StringsProp } from '../../../lib/strings';
|
|
4
|
+
import type { RichTextImageRendering } from '../../typography/rich-text';
|
|
4
5
|
import type { RichTextEditorStrings } from './rich-text-editor.strings';
|
|
5
6
|
export type TiptapEditor = NonNullable<ReturnType<typeof TiptapReact.useEditor>>;
|
|
6
7
|
/**
|
|
@@ -52,9 +53,47 @@ export interface RichTextEditorToolbarItem {
|
|
|
52
53
|
label: string;
|
|
53
54
|
onClick: () => void;
|
|
54
55
|
isActive?: () => boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Whether the entry is an on/off toggle, announced with `aria-pressed`.
|
|
58
|
+
* Defaults to true when `isActive` is provided; set false for a command.
|
|
59
|
+
*/
|
|
60
|
+
toggle?: boolean;
|
|
55
61
|
/** Renders the entry as unselectable. */
|
|
56
62
|
disabled?: boolean;
|
|
57
63
|
}
|
|
64
|
+
/** Where an uploaded image now lives, as the consumer's `upload` resolves it. */
|
|
65
|
+
export interface RichTextImage {
|
|
66
|
+
/** Public URL of the stored image. Must pass the image policy: http(s), `blob:` or relative. */
|
|
67
|
+
src: string;
|
|
68
|
+
/** Text alternative. Defaults to the file name; the user can edit it in the editor. */
|
|
69
|
+
alt?: string;
|
|
70
|
+
/** Intrinsic width in CSS pixels, kept on the image to reserve its space. */
|
|
71
|
+
width?: number;
|
|
72
|
+
/** Intrinsic height in CSS pixels. */
|
|
73
|
+
height?: number;
|
|
74
|
+
}
|
|
75
|
+
export interface RichTextImageUploadContext {
|
|
76
|
+
/** Aborted when the user cancels or removes the pending image, or the editor unmounts. */
|
|
77
|
+
signal: AbortSignal;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Image support for `RichTextEditor` and read-only `RichText`. The consumer
|
|
81
|
+
* owns upload and storage; the editor owns insertion (toolbar, paste and drop),
|
|
82
|
+
* the uploading placeholder, error and retry, alt text and source policy.
|
|
83
|
+
* Create it with `useRichTextImages` so inline callbacks stay stable.
|
|
84
|
+
*/
|
|
85
|
+
export interface RichTextEditorImages extends RichTextImageRendering {
|
|
86
|
+
/** Stores a file and resolves where it now lives. A rejection shows the error state with Retry. */
|
|
87
|
+
upload: (file: File, context: RichTextImageUploadContext) => Promise<RichTextImage>;
|
|
88
|
+
/** Accepted MIME types, comma-separated. Default: `'image/png,image/jpeg,image/gif,image/webp'`. */
|
|
89
|
+
accept?: string;
|
|
90
|
+
/** Largest accepted file in bytes. Larger files are refused before upload. */
|
|
91
|
+
maxSize?: number;
|
|
92
|
+
/** Receives upload failures and refused files, for reporting. */
|
|
93
|
+
onError?: (error: unknown, file: File) => void;
|
|
94
|
+
}
|
|
95
|
+
/** Body floor roles for the rich text editor. */
|
|
96
|
+
export type RichTextEditorBodyHeight = 'control' | 'field' | 'document';
|
|
58
97
|
export interface RichTextEditorProps {
|
|
59
98
|
/** Editor content as HTML. Controlled. */
|
|
60
99
|
value: string;
|
|
@@ -64,7 +103,13 @@ export interface RichTextEditorProps {
|
|
|
64
103
|
placeholder?: string;
|
|
65
104
|
/** Tightens the toolbar and body for inline use. */
|
|
66
105
|
compact?: boolean;
|
|
67
|
-
/**
|
|
106
|
+
/**
|
|
107
|
+
* Body floor role: `control` (one small control line), `field` (a textarea, for
|
|
108
|
+
* composers and replies) or `document` (a short page). Defaults to `control`
|
|
109
|
+
* when `compact`, otherwise `document`; follows density. `minHeight` wins.
|
|
110
|
+
*/
|
|
111
|
+
bodyHeight?: RichTextEditorBodyHeight;
|
|
112
|
+
/** Smallest height the body may take, as a CSS length. Overrides `bodyHeight`. */
|
|
68
113
|
minHeight?: string;
|
|
69
114
|
/** Height at which the body starts scrolling. */
|
|
70
115
|
maxHeight?: string;
|
|
@@ -94,6 +139,12 @@ export interface RichTextEditorProps {
|
|
|
94
139
|
onCaretChange?: () => void;
|
|
95
140
|
/** Per-instance string overrides (deep-merged over `defaultRichTextEditorStrings`). */
|
|
96
141
|
strings?: StringsProp<RichTextEditorStrings>;
|
|
142
|
+
/**
|
|
143
|
+
* Enables images: an Insert image toolbar control, pasted and dropped image
|
|
144
|
+
* files, an uploading placeholder with cancel, error and retry, and an image
|
|
145
|
+
* description field for the image at the caret. Omit to keep images out.
|
|
146
|
+
*/
|
|
147
|
+
images?: RichTextEditorImages;
|
|
97
148
|
}
|
|
98
149
|
export interface ToolbarButtonConfig {
|
|
99
150
|
/** Stable identity for this entry. */
|
|
@@ -106,6 +157,8 @@ export interface ToolbarButtonConfig {
|
|
|
106
157
|
label: string;
|
|
107
158
|
isActive: () => boolean;
|
|
108
159
|
run: () => void;
|
|
160
|
+
/** An on/off format such as bold, announced with `aria-pressed`. Commands such as undo leave it unset. */
|
|
161
|
+
toggle?: boolean;
|
|
109
162
|
/** Renders the entry as unselectable. */
|
|
110
163
|
disabled?: boolean;
|
|
111
164
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { RichTextEditorImages } from './rich-text-editor.types';
|
|
2
|
+
/**
|
|
3
|
+
* Image support for `RichTextEditor` and read-only `RichText` from one place.
|
|
4
|
+
* The consumer supplies `upload` (and optionally `renderImage`, such as a
|
|
5
|
+
* framework image component); the returned object is stable across renders
|
|
6
|
+
* while always calling the latest callbacks, so inline functions are fine.
|
|
7
|
+
*
|
|
8
|
+
* const images = useRichTextImages({
|
|
9
|
+
* upload: async (file, { signal }) => {
|
|
10
|
+
* const stored = await api.uploadImage(file, { signal });
|
|
11
|
+
* return { src: stored.url, width: stored.width, height: stored.height };
|
|
12
|
+
* },
|
|
13
|
+
* renderImage: (image) => <Image {...image} />,
|
|
14
|
+
* });
|
|
15
|
+
* <RichTextEditor value={html} onValueChange={setHtml} images={images} />
|
|
16
|
+
* <RichText html={html} images={images} />
|
|
17
|
+
*/
|
|
18
|
+
export declare function useRichTextImages(options: RichTextEditorImages): RichTextEditorImages;
|
|
@@ -1,3 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Deprecated compatibility entrypoint.
|
|
3
|
+
*
|
|
4
|
+
* `SyncRangeDialogForm` was one application's integration-repair form: a sync
|
|
5
|
+
* window radio group, optional record-family checkboxes and a numeric `hours`
|
|
6
|
+
* payload. It carries no behaviour beyond the public choice controls, so new
|
|
7
|
+
* code composes them directly: `SchemaForm` from
|
|
8
|
+
* `themelia-react-ui/features/schema-form` with `radio-cards` and
|
|
9
|
+
* `checkbox-cards` fields, inside an `ActionDialog` when it needs a dialog.
|
|
10
|
+
* Existing callers keep working through 2.x.
|
|
11
|
+
*/
|
|
12
|
+
export {
|
|
13
|
+
/** @deprecated Use `SchemaForm` from `themelia-react-ui/features/schema-form` with a `radio-cards` field for the window and a `checkbox-cards` field for the options; map its values to your payload in `onSubmit`. */
|
|
14
|
+
SyncRangeDialogForm, } from './sync-range-dialog-form';
|
|
15
|
+
export type {
|
|
16
|
+
/** @deprecated Use `SchemaFormProps` from `themelia-react-ui/features/schema-form`. */
|
|
17
|
+
SyncRangeDialogFormProps,
|
|
18
|
+
/** @deprecated Map `SchemaFormValues` to your own payload in `SchemaForm`'s `onSubmit`. */
|
|
19
|
+
SyncRangeDialogFormSubmit,
|
|
20
|
+
/** @deprecated Use `SchemaFormValues` from `themelia-react-ui/features/schema-form`. */
|
|
21
|
+
SyncRangeDialogFormValues, } from './sync.types';
|
|
22
|
+
export {
|
|
23
|
+
/** @deprecated Supply labels and descriptions on the `SchemaForm` field definitions. */
|
|
24
|
+
defaultSyncRangeDialogFormStrings,
|
|
25
|
+
/** @deprecated Supply labels and descriptions on the `SchemaForm` field definitions. */
|
|
26
|
+
type SyncRangeDialogFormStrings, } from './sync.strings';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare function useDataTableSize(): 'xs' | 'sm';
|
|
2
2
|
import { type DataTableProps } from './table.types';
|
|
3
|
-
export declare function DataTable<TData extends object, TValue = unknown>({ size, surface, headerTransparent, columns, data, columnGroups, rowActions, rowActionsMenuLabel, rowActionsDisplayMode, rowActionsBreakpoint, enableSorting, enableResizing, enableFiltering, filterColumn, filterPlaceholder, manualSorting, enableColumnVisibility, fullscreen: controlledFullscreen, defaultFullscreen, onFullscreenChange, showFullscreenToggle, enableRowSelection, enableMultiRowSelection, enableSubRowSelection, pagination, pageQueryKey, onPageChange, onSortingChange, onColumnFiltersChange, onRowClick, onRowSelectionChange, stickyHeader, stickyToolbar, stickyFirstColumn, maxBodyHeight, fillAvailableHeight, emptyStateMessage, emptyStateAction, className, rowClassName, cellClassName, headerClassName, wrapperClassName, innerClassName, tableContainerClassName, getRowId, rowSelection: controlledRowSelection, sorting: controlledSorting, defaultSorting, columnVisibility: controlledColumnVisibility, defaultColumnVisibility, initialState, onColumnVisibilityChange, strings: stringsOverride, topbarContent, topbarEnd, topbarClassName, toolbarLabelVisibility, footerContent, selectionToolbar, bulkActions, selectionToolbarClassName, storageKey, }: DataTableProps<TData, TValue>): import("react").JSX.Element;
|
|
3
|
+
export declare function DataTable<TData extends object, TValue = unknown>({ size, surface, headerTransparent, columns, data, columnGroups, rowActions, rowActionsMenuLabel, rowActionsDisplayMode, rowActionsBreakpoint, enableSorting, enableResizing, enableFiltering, filterColumn, filterPlaceholder, manualSorting, enableColumnVisibility, fullscreen: controlledFullscreen, defaultFullscreen, onFullscreenChange, showFullscreenToggle, enableRowSelection, enableMultiRowSelection, enableSubRowSelection, pagination, pageQueryKey, onPageChange, onSortingChange, onColumnFiltersChange, onRowClick, onRowSelectionChange, stickyHeader, stickyToolbar, stickyFirstColumn, maxBodyHeight, fillAvailableHeight, emptyStateMessage, emptyStateAction, className, rowClassName, cellClassName, headerClassName, wrapperClassName, innerClassName, tableContainerClassName, getRowId, rowSelection: controlledRowSelection, sorting: controlledSorting, defaultSorting, columnVisibility: controlledColumnVisibility, defaultColumnVisibility, initialState, onColumnVisibilityChange, strings: stringsOverride, topbarContent, topbarEnd, topbarClassName, toolbarLabelVisibility, footerContent, selectionToolbar, bulkActions, selectionToolbarClassName, selectionToolbarPlacement, totalRowCount: totalRowCountProp, storageKey, }: DataTableProps<TData, TValue>): import("react").JSX.Element;
|
|
4
4
|
export declare namespace DataTable {
|
|
5
5
|
var displayName: string;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type DataTableHeaderProps } from './table.types';
|
|
3
|
-
export declare function DataTableHeader<TData>({ table, enableResizing, stickyHeader, headerClassName, cellClassName, stickyFirstColumn, columnGroups, headerTransparent, }: DataTableHeaderProps<TData>): React.JSX.Element;
|
|
3
|
+
export declare function DataTableHeader<TData>({ table, enableResizing, stickyHeader, headerClassName, cellClassName, stickyFirstColumn, columnGroups, headerTransparent, strings, }: DataTableHeaderProps<TData>): React.JSX.Element;
|
|
4
4
|
export declare namespace DataTableHeader {
|
|
5
5
|
var displayName: string;
|
|
6
6
|
}
|
|
@@ -1,3 +1,57 @@
|
|
|
1
1
|
import { type DataTableStrings, type DataTableStringsOverride } from './table.types';
|
|
2
|
-
export declare const defaultDataTableStrings:
|
|
2
|
+
export declare const defaultDataTableStrings: {
|
|
3
|
+
emptyState: {
|
|
4
|
+
message: string;
|
|
5
|
+
ariaLabel: string;
|
|
6
|
+
};
|
|
7
|
+
actions: {
|
|
8
|
+
triggerLabel: string;
|
|
9
|
+
srLabel: string;
|
|
10
|
+
menuLabel: string;
|
|
11
|
+
};
|
|
12
|
+
filter: {
|
|
13
|
+
searchPlaceholder: string;
|
|
14
|
+
columnsButton: string;
|
|
15
|
+
};
|
|
16
|
+
columnVisibility: {
|
|
17
|
+
title: string;
|
|
18
|
+
triggerLabel: string;
|
|
19
|
+
formatLabel: (columnId: string, currentLabel?: string | null) => string;
|
|
20
|
+
};
|
|
21
|
+
toolbar: {
|
|
22
|
+
scrollLeft: string;
|
|
23
|
+
scrollRight: string;
|
|
24
|
+
columns: string;
|
|
25
|
+
enterFullscreen: string;
|
|
26
|
+
exitFullscreen: string;
|
|
27
|
+
};
|
|
28
|
+
pagination: {
|
|
29
|
+
showing: string;
|
|
30
|
+
to: string;
|
|
31
|
+
of: string;
|
|
32
|
+
entries: string;
|
|
33
|
+
previous: string;
|
|
34
|
+
next: string;
|
|
35
|
+
previousLabel: string;
|
|
36
|
+
nextLabel: string;
|
|
37
|
+
morePages: string;
|
|
38
|
+
page: string;
|
|
39
|
+
rowsPerPage: string;
|
|
40
|
+
ariaLabel: string;
|
|
41
|
+
};
|
|
42
|
+
selection: {
|
|
43
|
+
summary: (selected: number, total: number) => string;
|
|
44
|
+
row: (index: number) => string;
|
|
45
|
+
selectAll: string;
|
|
46
|
+
clear: string;
|
|
47
|
+
label: string;
|
|
48
|
+
};
|
|
49
|
+
accessibility: {
|
|
50
|
+
scrollRegion: string;
|
|
51
|
+
fullscreenRegion: string;
|
|
52
|
+
sortColumn: (columnLabel: string) => string;
|
|
53
|
+
sortPriority: (direction: "asc" | "desc", priority: number, total: number) => string;
|
|
54
|
+
resizeColumn: (columnLabel: string) => string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
3
57
|
export declare const mergeDataTableStrings: (overrides?: DataTableStringsOverride) => DataTableStrings;
|
|
@@ -75,11 +75,20 @@ export interface DataTableStrings {
|
|
|
75
75
|
/** Shown in place of the collection when it has no entries. */
|
|
76
76
|
emptyState: {
|
|
77
77
|
message: string;
|
|
78
|
+
/** Accessible name of the empty-result status. */
|
|
79
|
+
ariaLabel?: string;
|
|
78
80
|
};
|
|
79
|
-
/**
|
|
81
|
+
/** Row actions column and its overflow menu. */
|
|
80
82
|
actions: {
|
|
83
|
+
/** Header of the row actions column. */
|
|
81
84
|
triggerLabel: string;
|
|
82
85
|
srLabel: string;
|
|
86
|
+
/**
|
|
87
|
+
* Accessible name of each row's More actions trigger. Defaults to "More
|
|
88
|
+
* actions"; an override that sets only `triggerLabel` keeps naming the
|
|
89
|
+
* trigger with it, as before 2.0.1.
|
|
90
|
+
*/
|
|
91
|
+
menuLabel?: string;
|
|
83
92
|
};
|
|
84
93
|
filter: {
|
|
85
94
|
searchPlaceholder: string;
|
|
@@ -103,11 +112,19 @@ export interface DataTableStrings {
|
|
|
103
112
|
row: (index: number) => string;
|
|
104
113
|
selectAll: string;
|
|
105
114
|
clear: string;
|
|
115
|
+
/** Accessible name of the selected-row action region. */
|
|
116
|
+
label?: string;
|
|
106
117
|
};
|
|
107
118
|
accessibility: {
|
|
108
119
|
scrollRegion: string;
|
|
109
120
|
/** Names the full-screen table for assistive technology. */
|
|
110
121
|
fullscreenRegion: string;
|
|
122
|
+
/** Accessible name of a column's sorting control. Receives its header text or column ID. */
|
|
123
|
+
sortColumn?: (columnLabel: string) => string;
|
|
124
|
+
/** Describes each active multi-sort column's direction and precedence. */
|
|
125
|
+
sortPriority?: (direction: 'asc' | 'desc', priority: number, total: number) => string;
|
|
126
|
+
/** Accessible name of a column's resize handle. Receives its header text or column ID. */
|
|
127
|
+
resizeColumn?: (columnLabel: string) => string;
|
|
111
128
|
};
|
|
112
129
|
}
|
|
113
130
|
export type DataTableStringsOverride = Partial<{
|
|
@@ -156,14 +173,16 @@ export interface DataTableSelectionToolbarContext<TData extends object> {
|
|
|
156
173
|
table: Table<TData>;
|
|
157
174
|
selectedRows: TData[];
|
|
158
175
|
selectedRowCount: number;
|
|
176
|
+
/** `totalRowCount` when supplied, else `pagination.total`, else the rows in `data`. */
|
|
159
177
|
totalRowCount: number;
|
|
160
178
|
rowSelection: RowSelectionState;
|
|
161
179
|
clearSelection: () => void;
|
|
162
180
|
}
|
|
163
181
|
/**
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
* canonical `md` scale; use `sm` for denser
|
|
182
|
+
* Row density of the entire table. `sm`, `md` and `lg` select the base table's
|
|
183
|
+
* `compact`, `default` and `comfortable` row rhythm for every header and body
|
|
184
|
+
* cell. Defaults to the provider's canonical `md` scale; use `sm` for denser
|
|
185
|
+
* tables and `lg` for more room.
|
|
167
186
|
*/
|
|
168
187
|
export type DataTableSize = ComponentScale;
|
|
169
188
|
/**
|
|
@@ -302,15 +321,32 @@ export interface DataTableProps<TData extends object, TValue> {
|
|
|
302
321
|
/** Content below the table body, above the pagination footer. */
|
|
303
322
|
footerContent?: React.ReactNode;
|
|
304
323
|
/**
|
|
305
|
-
* Custom selected-row toolbar. `undefined` renders the package default,
|
|
306
|
-
* `
|
|
307
|
-
*
|
|
324
|
+
* Custom selected-row toolbar. `undefined` renders the package default, a
|
|
325
|
+
* `BatchActionBar` from `themelia-react-ui/base/batch-action-bar`; `null` /
|
|
326
|
+
* `false` suppresses it, and a node or a function receiving the selected row
|
|
327
|
+
* context replaces it while rows are selected.
|
|
308
328
|
*/
|
|
309
329
|
selectionToolbar?: React.ReactNode | ((context: DataTableSelectionToolbarContext<TData>) => React.ReactNode);
|
|
310
|
-
/**
|
|
330
|
+
/**
|
|
331
|
+
* Bulk actions rendered in the default selection toolbar, before its Clear
|
|
332
|
+
* button. The toolbar only shows while rows are selected, so these actions
|
|
333
|
+
* need no disabled state for an empty selection.
|
|
334
|
+
*/
|
|
311
335
|
bulkActions?: React.ReactNode | ((context: DataTableSelectionToolbarContext<TData>) => React.ReactNode);
|
|
312
|
-
/** Merged onto the selection toolbar. */
|
|
336
|
+
/** Merged onto the default selection toolbar. */
|
|
313
337
|
selectionToolbarClassName?: string;
|
|
338
|
+
/**
|
|
339
|
+
* Where the default selection toolbar sits. `floating` (default) docks it to
|
|
340
|
+
* the bottom centre of the viewport, so it stays reachable while a long table
|
|
341
|
+
* scrolls; `inline` keeps it in flow between the topbar and the table.
|
|
342
|
+
*/
|
|
343
|
+
selectionToolbarPlacement?: 'floating' | 'inline';
|
|
344
|
+
/**
|
|
345
|
+
* Total rows in the whole result, for the selection summary ("3 of 1,250
|
|
346
|
+
* rows selected") and `DataTableSelectionToolbarContext.totalRowCount`.
|
|
347
|
+
* Defaults to `pagination.total`, else the rows in `data`.
|
|
348
|
+
*/
|
|
349
|
+
totalRowCount?: number;
|
|
314
350
|
/**
|
|
315
351
|
* Row actions, as a static array or a factory receiving the row.
|
|
316
352
|
*
|
|
@@ -346,7 +382,7 @@ export interface DataTableProps<TData extends object, TValue> {
|
|
|
346
382
|
* goes through `onPageChange`.
|
|
347
383
|
*/
|
|
348
384
|
pageQueryKey?: string;
|
|
349
|
-
/** Fired
|
|
385
|
+
/** Fired on a row click or Enter/Space activation. Nested controls retain their own interaction. */
|
|
350
386
|
onRowClick?: RowClickHandler<TData>;
|
|
351
387
|
/** Fired with the next selection state. */
|
|
352
388
|
onRowSelectionChange?: RowSelectionHandler;
|
|
@@ -439,7 +475,7 @@ export interface DataTableActionsProps<TData> {
|
|
|
439
475
|
row: TData;
|
|
440
476
|
/** static actions or a factory for per-row actions */
|
|
441
477
|
actions: TableAction<TData>[] | ((row: TData) => TableAction<TData>[]);
|
|
442
|
-
/**
|
|
478
|
+
/** Accessible name of the More actions trigger. Defaults to `strings.actions.menuLabel`. */
|
|
443
479
|
menuLabel?: string;
|
|
444
480
|
/** Display mode: always menu, always inline, or auto by breakpoint (default: 'menu' to preserve behavior) */
|
|
445
481
|
displayMode?: 'menu' | 'inline' | 'auto';
|
|
@@ -485,5 +521,7 @@ export interface DataTableHeaderProps<TData> {
|
|
|
485
521
|
columnGroups?: ColumnGroup[];
|
|
486
522
|
/** Drops the muted header background. */
|
|
487
523
|
headerTransparent?: boolean;
|
|
524
|
+
/** Overrides this header's accessible control names. */
|
|
525
|
+
strings?: DataTableStrings;
|
|
488
526
|
}
|
|
489
527
|
export {};
|
|
@@ -54,6 +54,11 @@ export interface AdminUIThemeSelectors {
|
|
|
54
54
|
light: string;
|
|
55
55
|
/** Selector receiving dark-mode variables. Defaults to `.dark`. */
|
|
56
56
|
dark: string;
|
|
57
|
+
/** Optional selector list whose nearest .light/.dark boundary chooses mode.
|
|
58
|
+
* Generated by createScopedAdminUIThemeSelectors. When present, light/dark
|
|
59
|
+
* selectors remain available for compatibility; serialization uses this scope.
|
|
60
|
+
*/
|
|
61
|
+
modeScope?: string;
|
|
57
62
|
}
|
|
58
63
|
export interface SerializeAdminUIThemeOptions {
|
|
59
64
|
selectors?: AdminUIThemeSelectors;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Page } from './page';
|
|
2
2
|
export { PageHeader } from './partials/page-header';
|
|
3
3
|
export { PageActions } from './partials/page-actions';
|
|
4
|
-
export { defaultPageActionsStrings, type PageHeaderAction, type PageHeaderProps, type PageHeaderSlots, type PageActionsProps, type PageActionsDisplay, type PageAction, type PageActionContext, type PageActionsStrings, type PageProps, type PageSlotProps, } from './page.types';
|
|
4
|
+
export { defaultPageActionsStrings, type PageHeaderAction, type PageHeaderProps, type PageHeaderSlots, type PageHeaderTabs, type PageActionsProps, type PageActionsDisplay, type PageAction, type PageActionContext, type PageActionsStrings, type PageProps, type PageSlotProps, } from './page.types';
|
|
@@ -11,6 +11,8 @@ import type { ContainerGutter, ContainerMaxWidth, ContainerProps } from '../cont
|
|
|
11
11
|
import type { StringsProp } from '../../../lib/strings';
|
|
12
12
|
import type { BadgeTone } from '../../base/badge';
|
|
13
13
|
import type { ActionPresentation } from '../../../lib/action-presentation';
|
|
14
|
+
import type { PageHeaderAction } from '../../base/navigation/page-header';
|
|
15
|
+
import type { OverflowTabItem } from '../../base/navigation';
|
|
14
16
|
export interface PageTitleBadge {
|
|
15
17
|
/** Display label. */
|
|
16
18
|
label: ReactNode;
|
|
@@ -18,39 +20,22 @@ export interface PageTitleBadge {
|
|
|
18
20
|
tone?: BadgeTone;
|
|
19
21
|
key?: Key;
|
|
20
22
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
|
|
28
|
-
/** Visible command text. */
|
|
29
|
-
label: ReactNode;
|
|
30
|
-
/** Runs the command. When both are set, `onClick` wins over `href`. */
|
|
31
|
-
onClick?: () => void;
|
|
32
|
-
/** Navigates through the header's `renderLink` instead of running a callback. */
|
|
33
|
-
href?: string;
|
|
34
|
-
target?: string;
|
|
35
|
-
rel?: string;
|
|
36
|
-
/** Marks the destination as leaving the app; forwarded to `renderLink`. */
|
|
37
|
-
external?: boolean;
|
|
38
|
-
/** Leading glyph. Pass a Lucide icon component. */
|
|
39
|
-
icon?: ComponentType<{
|
|
40
|
-
className?: string;
|
|
41
|
-
}>;
|
|
42
|
-
/** Shows the pending indicator and blocks activation. */
|
|
43
|
-
loading?: boolean;
|
|
44
|
-
/** Blocks activation while keeping the command visible. */
|
|
45
|
-
disabled?: boolean;
|
|
46
|
-
/** Set false to omit the command, for example without permission. */
|
|
47
|
-
visible?: boolean;
|
|
23
|
+
export type { PageHeaderAction } from '../../base/navigation/page-header';
|
|
24
|
+
/** Section tabs under a record's header. */
|
|
25
|
+
export interface PageHeaderTabs {
|
|
26
|
+
/** Sections in order. `badge` shows a count chip beside the label. */
|
|
27
|
+
items: OverflowTabItem[];
|
|
28
|
+
/** Id of the active section. */
|
|
29
|
+
value?: string;
|
|
48
30
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* the destructive treatment. Confirm it from the handler, e.g. ConfirmDialog.
|
|
31
|
+
* Fired with the id of the chosen section. Switch the content or route here;
|
|
32
|
+
* an item `href` renders a native link.
|
|
52
33
|
*/
|
|
53
|
-
|
|
34
|
+
onValueChange?: (id: string) => void;
|
|
35
|
+
/** Accessible name of the tab list. Default: `'Sections'`. */
|
|
36
|
+
label?: string;
|
|
37
|
+
/** Label of the trigger that holds tabs which do not fit. Default: `'More'`. */
|
|
38
|
+
moreLabel?: string;
|
|
54
39
|
}
|
|
55
40
|
export interface PageHeaderSlots {
|
|
56
41
|
/** Replaces the leading back control entirely. */
|
|
@@ -89,18 +74,25 @@ export interface PageHeaderProps extends LayoutNavigationAdapter {
|
|
|
89
74
|
/** Chips shown beside the page title. */
|
|
90
75
|
titleBadges?: PageTitleBadge[];
|
|
91
76
|
/**
|
|
92
|
-
* The page's one main command: a solid primary button
|
|
93
|
-
* visible at every width.
|
|
77
|
+
* The page's one main command: a solid primary button after the secondary
|
|
78
|
+
* commands, visible at every width.
|
|
94
79
|
*/
|
|
95
80
|
primaryAction?: PageHeaderAction;
|
|
96
81
|
/**
|
|
97
82
|
* Supporting commands in priority order. The first two render as outline
|
|
98
|
-
* buttons; the rest, and every destructive
|
|
99
|
-
*
|
|
83
|
+
* buttons before the primary command; the rest, and every destructive
|
|
84
|
+
* command, move into the More actions menu, which always closes the row.
|
|
85
|
+
* Below `sm`, all secondary commands collapse into that menu.
|
|
100
86
|
*/
|
|
101
87
|
secondaryActions?: readonly PageHeaderAction[];
|
|
102
88
|
/** Accessible name of the More actions menu trigger. */
|
|
103
89
|
moreActionsLabel?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Section tabs under the header, for a record split into sections such as
|
|
92
|
+
* documents and history. Tabs that do not fit move into a More menu, and
|
|
93
|
+
* the active tab stays visible.
|
|
94
|
+
*/
|
|
95
|
+
tabs?: PageHeaderTabs;
|
|
104
96
|
/**
|
|
105
97
|
* Custom controls before the role-based commands, such as a period select.
|
|
106
98
|
* Prefer `primaryAction` and `secondaryActions` for commands.
|
|
@@ -121,6 +113,7 @@ export interface PageActionContext {
|
|
|
121
113
|
isInline: boolean;
|
|
122
114
|
renderLink: LayoutLinkRenderer;
|
|
123
115
|
}
|
|
116
|
+
/** @deprecated Use PageHeaderAction with `primaryAction` and `secondaryActions`. */
|
|
124
117
|
export interface PageAction extends ActionPresentation {
|
|
125
118
|
id?: string;
|
|
126
119
|
/** Display label. */
|
|
@@ -154,7 +147,11 @@ export interface PageActionsProps extends LayoutNavigationAdapter {
|
|
|
154
147
|
actions?: PageAction[];
|
|
155
148
|
/** How actions are presented — inline, menu, or responsive. */
|
|
156
149
|
display?: PageActionsDisplay;
|
|
157
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* Inline action button scale, which the More actions square beside them
|
|
152
|
+
* matches. Defaults to `sm`; set `md` for normal page-header buttons. A
|
|
153
|
+
* menu-only ribbon follows the provider scale.
|
|
154
|
+
*/
|
|
158
155
|
size?: ButtonSize;
|
|
159
156
|
/** Width at which responsive actions collapse into a menu. */
|
|
160
157
|
breakpoint?: number;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { type PageActionsProps } from '../page.types';
|
|
2
|
+
/** @deprecated Pass page commands as `primaryAction` and `secondaryActions`; use ActionButtons for a toolbar row. */
|
|
2
3
|
export declare function PageActions({ actions, display, size, breakpoint, maxInlineActions, renderLink, strings: stringsProp, className, inlineClassName, menuClassName, renderAction, }: PageActionsProps): import("react").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { PageHeaderProps } from '../page.types';
|
|
2
|
-
export declare function PageHeader({ title, description, textGap, headingTag, titleIcon: TitleIcon, titleIconHref, onTitleIconClick, titleIconLabel, backHref, onBack, backLabel, titleBadges, primaryAction, secondaryActions, moreActionsLabel, actions, slots, renderLink, className, contentClassName, actionsClassName, titleClassName, titleIconClassName, descriptionClassName, }: PageHeaderProps): import("react").JSX.Element;
|
|
2
|
+
export declare function PageHeader({ title, description, textGap, headingTag, titleIcon: TitleIcon, titleIconHref, onTitleIconClick, titleIconLabel, backHref, onBack, backLabel, titleBadges, primaryAction, secondaryActions, moreActionsLabel, tabs, actions, slots, renderLink, className, contentClassName, actionsClassName, titleClassName, titleIconClassName, descriptionClassName, }: PageHeaderProps): import("react").JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import { type PageHeaderAction } from '../../base/navigation/page-header/page-header-commands';
|
|
2
3
|
import { type StringsProp } from '../../../lib/strings';
|
|
3
4
|
import { type LayoutNavigationAdapter } from '../layout.types';
|
|
4
5
|
export interface AsideNavShellStrings {
|
|
@@ -45,8 +46,21 @@ export interface AsideNavShellProps extends LayoutNavigationAdapter {
|
|
|
45
46
|
children?: ReactNode;
|
|
46
47
|
/** Content beside the main settings panel. */
|
|
47
48
|
aside?: ReactNode;
|
|
48
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* Non-command controls beside the title, such as a scope select. They
|
|
51
|
+
* render before the role-based commands.
|
|
52
|
+
*/
|
|
49
53
|
actions?: ReactNode;
|
|
54
|
+
/** The page's one main command: a solid primary button, visible at every width. */
|
|
55
|
+
primaryAction?: PageHeaderAction;
|
|
56
|
+
/**
|
|
57
|
+
* Supporting commands in priority order, as in Page headers: the first two
|
|
58
|
+
* render as outline buttons before the primary command; the rest, and every
|
|
59
|
+
* destructive command, move into the More actions menu, which closes the row.
|
|
60
|
+
*/
|
|
61
|
+
secondaryActions?: readonly PageHeaderAction[];
|
|
62
|
+
/** Accessible name of the More actions menu trigger. Default: `'More actions'`. */
|
|
63
|
+
moreActionsLabel?: string;
|
|
50
64
|
/** Content below the body. */
|
|
51
65
|
footer?: ReactNode;
|
|
52
66
|
className?: string;
|
|
@@ -58,7 +72,7 @@ export interface AsideNavShellProps extends LayoutNavigationAdapter {
|
|
|
58
72
|
strings?: StringsProp<AsideNavShellStrings>;
|
|
59
73
|
}
|
|
60
74
|
export type SettingsShellProps = AsideNavShellProps;
|
|
61
|
-
export declare function AsideNavShell({ title, description, groups, currentId, currentPath, children, aside, actions, footer, className, navClassName, contentClassName, renderLink, strings: stringsProp, }: AsideNavShellProps): import("react").JSX.Element;
|
|
75
|
+
export declare function AsideNavShell({ title, description, groups, currentId, currentPath, children, aside, actions, primaryAction, secondaryActions, moreActionsLabel, footer, className, navClassName, contentClassName, renderLink, strings: stringsProp, }: AsideNavShellProps): import("react").JSX.Element;
|
|
62
76
|
export declare namespace AsideNavShell {
|
|
63
77
|
var displayName: string;
|
|
64
78
|
}
|
|
@@ -2,6 +2,7 @@ import type { CSSProperties, HTMLAttributes, MouseEvent, ReactNode } from 'react
|
|
|
2
2
|
import type { LayoutIconComponent, LayoutNavigationAdapter } from '../layout.types';
|
|
3
3
|
import type { StringsProp } from '../../../lib/strings';
|
|
4
4
|
import type { TextGap } from '../../base/structure';
|
|
5
|
+
import type { PageHeaderAction } from '../../base/navigation/page-header';
|
|
5
6
|
import type { WorkspaceLocaleStripStrings, WorkspaceNavStrings, WorkspaceRecordHeaderStrings } from './workspace.strings';
|
|
6
7
|
export type WorkspaceContentWidth = 'default' | 'wide' | 'full';
|
|
7
8
|
export interface WorkspaceLayoutStyle extends CSSProperties {
|
|
@@ -42,7 +43,7 @@ export interface WorkspaceRecordHeaderMetadataItem {
|
|
|
42
43
|
/** Current value. Controlled. */
|
|
43
44
|
value: ReactNode;
|
|
44
45
|
}
|
|
45
|
-
export interface WorkspaceRecordHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'
|
|
46
|
+
export interface WorkspaceRecordHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'>, LayoutNavigationAdapter {
|
|
46
47
|
/** Title/supporting-copy rhythm. Defaults to dense. */
|
|
47
48
|
textGap?: TextGap;
|
|
48
49
|
/** Surface title. */
|
|
@@ -53,10 +54,26 @@ export interface WorkspaceRecordHeaderProps extends Omit<HTMLAttributes<HTMLDivE
|
|
|
53
54
|
badges?: ReactNode;
|
|
54
55
|
/** Label/value facts under the record title. */
|
|
55
56
|
metadata?: WorkspaceRecordHeaderMetadataItem[];
|
|
56
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Non-command controls, such as a locale or period select. They render
|
|
59
|
+
* before the role-based commands.
|
|
60
|
+
*/
|
|
57
61
|
actions?: ReactNode;
|
|
58
|
-
/**
|
|
59
|
-
|
|
62
|
+
/**
|
|
63
|
+
* The record's one main command: a solid primary button after the secondary
|
|
64
|
+
* commands, visible at every width.
|
|
65
|
+
*/
|
|
66
|
+
primaryAction?: PageHeaderAction;
|
|
67
|
+
/**
|
|
68
|
+
* Supporting commands in priority order, as in Page headers: the first two
|
|
69
|
+
* render as outline buttons before the primary command; the rest, and every
|
|
70
|
+
* destructive command, move into the More actions menu, which closes the
|
|
71
|
+
* row. Rendered elements are still accepted for existing headers; pass
|
|
72
|
+
* command objects instead.
|
|
73
|
+
*/
|
|
74
|
+
secondaryActions?: ReactNode | readonly PageHeaderAction[];
|
|
75
|
+
/** Accessible name of the More actions menu trigger. Default: `'More actions'`. */
|
|
76
|
+
moreActionsLabel?: string;
|
|
60
77
|
/** Current state, shown as a chip. */
|
|
61
78
|
status?: ReactNode;
|
|
62
79
|
/** Illustration or imagery beside the form. */
|