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
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Density mapping:
|
|
5
5
|
* - `compact` → small tone-coloured dot
|
|
6
|
-
* - `default` →
|
|
7
|
-
* - `rich` →
|
|
6
|
+
* - `default` → icon-lg tone-tinted disc with the event icon
|
|
7
|
+
* - `rich` → small IconBadge (avatar-sm) with the event icon
|
|
8
8
|
*
|
|
9
|
-
*
|
|
9
|
+
* Every marker heads a first-line box at least `icon-lg` tall, the height of
|
|
10
|
+
* the headline's first line, so the glyph centres on that line by layout
|
|
11
|
+
* rather than by a nudge. Always renders the connector line beneath unless
|
|
12
|
+
* `last` is true.
|
|
10
13
|
*/
|
|
11
14
|
import type { LucideIcon } from 'lucide-react';
|
|
12
15
|
import type { ActivityDensity, ActivityTone } from '../activities.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
2
|
import type { ActivityAction, ActivityActor, ActivityDensity, ActivityEventConfig, ActivityItemSpacing, ActivityItem, ActivityResourceConfig, ActivityResourceRef, ActivityTone } from '../activities.types';
|
|
3
3
|
export interface ActivityRowProps<TData = unknown> {
|
|
4
4
|
/** The feed entry this row renders. */
|
|
@@ -30,7 +30,11 @@ export interface ActivityRowProps<TData = unknown> {
|
|
|
30
30
|
showChangesLabel: string;
|
|
31
31
|
/** Control that collapses the change list. */
|
|
32
32
|
hideChangesLabel: string;
|
|
33
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Copy for remaining metadata in the former collapsed preview.
|
|
35
|
+
* @deprecated Collapsed rows no longer preview metadata; the full list
|
|
36
|
+
* appears behind the details disclosure. Accepted for compatibility.
|
|
37
|
+
*/
|
|
34
38
|
moreLabel: string;
|
|
35
39
|
/** Accessible name for the row's overflow trigger. */
|
|
36
40
|
actionsLabel: string;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tone palettes shared by the marker, headline status segments, and the
|
|
3
|
-
* resource tag. Tones map to semantic shadcn tokens — never to raw colours —
|
|
4
|
-
* so a consumer rebrand at `:root` flows through the activities feature
|
|
5
|
-
* automatically.
|
|
6
|
-
*/
|
|
7
1
|
import type { ActivityTone } from '../activities.types';
|
|
8
2
|
import type { BadgeTone } from '../../../base/badge';
|
|
9
3
|
export interface ActivityToneStyle {
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type Appointment, type AppointmentCalendarProps } from './appointment-calendar.types';
|
|
2
|
+
export declare function AppointmentCalendar<T extends Appointment = Appointment>({ appointments, categories, staff: staffProp, title, date: dateProp, defaultDate, onDateChange, view: viewProp, defaultView, onViewChange, category: categoryProp, defaultCategory, onCategoryChange, staffId: staffIdProp, defaultStaffId, onStaffChange, onAppointmentClick, appointmentActions, renderAppointment, onRangeChange, onCreateAppointment, onConflictsDismiss, loading, error, onRetry, weekStartsOn: weekStartsOnProp, strings: stringsProp, className, }: AppointmentCalendarProps<T>): import("react").JSX.Element;
|
|
3
|
+
export declare namespace AppointmentCalendar {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ActionMenuAction } from '../../base/action-menu';
|
|
3
|
+
import type { BadgeTone } from '../../base/badge';
|
|
4
|
+
import type { StringsProp } from '../../../lib/strings';
|
|
5
|
+
/** Where an appointment stands. Conflicts are derived, never a status. */
|
|
6
|
+
export type AppointmentStatus = 'confirmed' | 'pending' | 'completed' | 'cancelled' | 'noShow';
|
|
7
|
+
/** The day agenda or the seven-day week agenda beside the month. */
|
|
8
|
+
export type AppointmentCalendarView = 'day' | 'week';
|
|
9
|
+
/**
|
|
10
|
+
* Categorical colour for a service category. Categories are kinds, not
|
|
11
|
+
* statuses, so they draw from the chart series palette and never from the
|
|
12
|
+
* success, warning or destructive tones that status chips own.
|
|
13
|
+
*/
|
|
14
|
+
export type AppointmentCategoryColor = 'chart-1' | 'chart-2' | 'chart-3' | 'chart-4' | 'chart-5';
|
|
15
|
+
/** A service category: its label, filter chip and marker colour. */
|
|
16
|
+
export interface AppointmentCategory {
|
|
17
|
+
/** Stable identity, referenced by `Appointment.category`. */
|
|
18
|
+
id: string;
|
|
19
|
+
/** Chip and legend label. */
|
|
20
|
+
label: string;
|
|
21
|
+
/** Marker colour. Defaults to the chart series by the category's position. */
|
|
22
|
+
color?: AppointmentCategoryColor;
|
|
23
|
+
}
|
|
24
|
+
/** A person on an appointment: the staff member who delivers it, or the client. */
|
|
25
|
+
export interface AppointmentPerson {
|
|
26
|
+
/** Stable identity. Staff overlap is detected by this id. */
|
|
27
|
+
id: string;
|
|
28
|
+
/** Display name. */
|
|
29
|
+
name: string;
|
|
30
|
+
/** Portrait. Initials stand in without one, or when it fails to load. */
|
|
31
|
+
avatarUrl?: string;
|
|
32
|
+
}
|
|
33
|
+
/** One booked slot. The calendar formats it; it never fetches or saves. */
|
|
34
|
+
export interface Appointment {
|
|
35
|
+
/** Stable identity. */
|
|
36
|
+
id: string;
|
|
37
|
+
/** The service: "Cut and blow-dry". */
|
|
38
|
+
title: string;
|
|
39
|
+
/** Start of the slot. */
|
|
40
|
+
start: Date;
|
|
41
|
+
/** End of the slot; later than `start`. */
|
|
42
|
+
end: Date;
|
|
43
|
+
/** Category id, matching an `AppointmentCategory`. */
|
|
44
|
+
category: string;
|
|
45
|
+
/** Booking state. Cancelled appointments are listed but never conflict. */
|
|
46
|
+
status: AppointmentStatus;
|
|
47
|
+
/** Who the appointment is for, shown after the time. */
|
|
48
|
+
client?: AppointmentPerson | string;
|
|
49
|
+
/** Who delivers it. Two overlapping appointments for one staff member conflict. */
|
|
50
|
+
staff?: AppointmentPerson;
|
|
51
|
+
}
|
|
52
|
+
/** The days on screen: the month grid and the agenda. `end` is exclusive (midnight after the last day). */
|
|
53
|
+
export interface AppointmentDateRange {
|
|
54
|
+
start: Date;
|
|
55
|
+
end: Date;
|
|
56
|
+
}
|
|
57
|
+
/** Overlapping appointments for one staff member. */
|
|
58
|
+
export interface AppointmentConflict<T extends Appointment = Appointment> {
|
|
59
|
+
/** The double-booked staff member. */
|
|
60
|
+
staff: AppointmentPerson;
|
|
61
|
+
/** The appointments that overlap, earliest first. */
|
|
62
|
+
appointments: T[];
|
|
63
|
+
/** When the overlap begins. */
|
|
64
|
+
start: Date;
|
|
65
|
+
}
|
|
66
|
+
export interface AppointmentCalendarStrings {
|
|
67
|
+
/** Booked count beside the title: "8 booked". */
|
|
68
|
+
formatBooked: (count: number) => string;
|
|
69
|
+
/** Conflict count beside the title: "2 conflicts". */
|
|
70
|
+
formatConflicts: (count: number) => string;
|
|
71
|
+
/** Accessible name of the Day/Week switch. */
|
|
72
|
+
viewLabel: string;
|
|
73
|
+
day: string;
|
|
74
|
+
week: string;
|
|
75
|
+
/** Accessible name of the staff filter. */
|
|
76
|
+
staffLabel: string;
|
|
77
|
+
/** The staff filter's "everyone" option. */
|
|
78
|
+
allStaff: string;
|
|
79
|
+
/** Primary command. */
|
|
80
|
+
newAppointment: string;
|
|
81
|
+
/** Conflict alert title. */
|
|
82
|
+
conflictTitle: string;
|
|
83
|
+
/** One overlapping-booking sentence per double-booked staff member. */
|
|
84
|
+
formatConflict: (staffName: string, count: number, time: string) => string;
|
|
85
|
+
/** Hides the conflict alert. */
|
|
86
|
+
dismiss: string;
|
|
87
|
+
previousMonth: string;
|
|
88
|
+
nextMonth: string;
|
|
89
|
+
/** Accessible name of the month select. */
|
|
90
|
+
monthLabel: string;
|
|
91
|
+
/** Accessible name of the year select. */
|
|
92
|
+
yearLabel: string;
|
|
93
|
+
/** Accessible name of the category filter. */
|
|
94
|
+
categoriesLabel: string;
|
|
95
|
+
/** The category filter's "every category" chip. */
|
|
96
|
+
allCategories: string;
|
|
97
|
+
/** Count beside the agenda heading: "8 appointments". */
|
|
98
|
+
formatCount: (count: number) => string;
|
|
99
|
+
/** A slot: "9 AM to 10 AM". Receives already formatted times. */
|
|
100
|
+
formatTimeRange: (start: string, end: string) => string;
|
|
101
|
+
/** Accessible day label in the month: "Tuesday, June 9, 3 appointments". */
|
|
102
|
+
formatDayLabel: (date: string, count: number) => string;
|
|
103
|
+
/** Agenda heading for the week view: "June 8 to 14". */
|
|
104
|
+
formatWeekRange: (start: string, end: string) => string;
|
|
105
|
+
/** Status chip words. */
|
|
106
|
+
status: Record<AppointmentStatus, string>;
|
|
107
|
+
/** Chip shown instead of the status when an appointment overlaps another. */
|
|
108
|
+
conflict: string;
|
|
109
|
+
/** Agenda copy when nothing matches the day or week. */
|
|
110
|
+
empty: string;
|
|
111
|
+
/** Loading copy for assistive technology. */
|
|
112
|
+
loading: string;
|
|
113
|
+
/** Default error state title. */
|
|
114
|
+
errorTitle: string;
|
|
115
|
+
/** Default error state description, when `error` carries no message. */
|
|
116
|
+
errorDescription: string;
|
|
117
|
+
/** Retry command in the default error state. */
|
|
118
|
+
retry: string;
|
|
119
|
+
/** Accessible name of an appointment's actions menu: "Actions for Balayage". */
|
|
120
|
+
formatActionsLabel: (title: string) => string;
|
|
121
|
+
}
|
|
122
|
+
export declare const defaultAppointmentCalendarStrings: AppointmentCalendarStrings;
|
|
123
|
+
/** What the calendar has worked out for one appointment, handed to `renderAppointment`. */
|
|
124
|
+
export interface AppointmentRenderContext {
|
|
125
|
+
/** The appointment's category, when one matches. */
|
|
126
|
+
category?: AppointmentCategory;
|
|
127
|
+
/** The category's marker class (`bg-chart-N`), for a stripe or dot of your own. */
|
|
128
|
+
categoryColorClass: string;
|
|
129
|
+
/** Whether it overlaps another booking for the same staff member. */
|
|
130
|
+
conflict: boolean;
|
|
131
|
+
/** The status chip's word, or the conflict word when it overlaps. */
|
|
132
|
+
statusLabel: string;
|
|
133
|
+
/** The status chip's tone: destructive for a conflict, otherwise the status tone. */
|
|
134
|
+
statusTone: BadgeTone;
|
|
135
|
+
/** The formatted slot: "09:00 to 10:00". */
|
|
136
|
+
time: string;
|
|
137
|
+
/** Opens it through `onAppointmentClick`. Undefined when rows are not interactive. */
|
|
138
|
+
open?: () => void;
|
|
139
|
+
/** The visible commands `appointmentActions` returned for it. */
|
|
140
|
+
actions: readonly ActionMenuAction[];
|
|
141
|
+
/** The built-in actions menu for those commands, or null when there are none. */
|
|
142
|
+
actionsMenu: ReactNode;
|
|
143
|
+
/** The built-in row, to wrap or extend instead of replacing. */
|
|
144
|
+
defaultRender: () => ReactNode;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Props for `AppointmentCalendar`. `T` is the app's own appointment type: extra
|
|
148
|
+
* fields such as a price or notes come back, typed, in every callback.
|
|
149
|
+
*/
|
|
150
|
+
export interface AppointmentCalendarProps<T extends Appointment = Appointment> {
|
|
151
|
+
/** Appointments to place. The calendar filters and formats; it never fetches. */
|
|
152
|
+
appointments: T[];
|
|
153
|
+
/** Service categories: filter chips, markers and day dots. */
|
|
154
|
+
categories: AppointmentCategory[];
|
|
155
|
+
/** Staff offered by the staff filter. Defaults to the staff found on appointments. */
|
|
156
|
+
staff?: AppointmentPerson[];
|
|
157
|
+
/** Heading above the calendar: the location or calendar name. */
|
|
158
|
+
title?: ReactNode;
|
|
159
|
+
/** Selected day. Controlled with `onDateChange`. */
|
|
160
|
+
date?: Date;
|
|
161
|
+
/** Selected day for uncontrolled use. Defaults to today. */
|
|
162
|
+
defaultDate?: Date;
|
|
163
|
+
/** Fired when a day is chosen or the month moves. */
|
|
164
|
+
onDateChange?: (date: Date) => void;
|
|
165
|
+
/** Day or week agenda. Controlled with `onViewChange`. */
|
|
166
|
+
view?: AppointmentCalendarView;
|
|
167
|
+
/** View for uncontrolled use. Defaults to `day`. */
|
|
168
|
+
defaultView?: AppointmentCalendarView;
|
|
169
|
+
/** Fired when the Day/Week switch changes. */
|
|
170
|
+
onViewChange?: (view: AppointmentCalendarView) => void;
|
|
171
|
+
/** Category filter: a category id, or `all`. Controlled with `onCategoryChange`. */
|
|
172
|
+
category?: string;
|
|
173
|
+
/** Category filter for uncontrolled use. Defaults to `all`. */
|
|
174
|
+
defaultCategory?: string;
|
|
175
|
+
/** Fired when a category chip is chosen. */
|
|
176
|
+
onCategoryChange?: (category: string) => void;
|
|
177
|
+
/** Staff filter: a staff id, or `all`. Controlled with `onStaffChange`. */
|
|
178
|
+
staffId?: string;
|
|
179
|
+
/** Staff filter for uncontrolled use. Defaults to `all`. */
|
|
180
|
+
defaultStaffId?: string;
|
|
181
|
+
/** Fired when the staff filter changes. */
|
|
182
|
+
onStaffChange?: (staffId: string) => void;
|
|
183
|
+
/** Fired when an appointment is activated. Without it, rows are not interactive. */
|
|
184
|
+
onAppointmentClick?: (appointment: T) => void;
|
|
185
|
+
/**
|
|
186
|
+
* Commands for one appointment, such as confirm, reschedule or cancel,
|
|
187
|
+
* offered in a menu at the end of its row. Return an empty list for none.
|
|
188
|
+
*/
|
|
189
|
+
appointmentActions?: (appointment: T) => readonly ActionMenuAction[];
|
|
190
|
+
/**
|
|
191
|
+
* Renders one appointment in the agenda instead of the built-in row. The
|
|
192
|
+
* context carries its category colour, conflict, time, `open`, its actions
|
|
193
|
+
* and a ready actions menu, and `defaultRender` for the built-in row.
|
|
194
|
+
*/
|
|
195
|
+
renderAppointment?: (appointment: T, context: AppointmentRenderContext) => ReactNode;
|
|
196
|
+
/**
|
|
197
|
+
* Fired with the days on screen, the month grid and the agenda together, once
|
|
198
|
+
* on mount and whenever they change. Load appointments for this range.
|
|
199
|
+
*/
|
|
200
|
+
onRangeChange?: (range: AppointmentDateRange) => void;
|
|
201
|
+
/** Shows the primary "New appointment" command; receives the selected day. */
|
|
202
|
+
onCreateAppointment?: (date: Date) => void;
|
|
203
|
+
/** Fired when the conflict alert is dismissed, with the conflicts it showed. */
|
|
204
|
+
onConflictsDismiss?: (conflicts: AppointmentConflict<T>[]) => void;
|
|
205
|
+
/** Shows the loading state in the agenda. */
|
|
206
|
+
loading?: boolean;
|
|
207
|
+
/**
|
|
208
|
+
* Shows the error state in the agenda. A string or Error becomes its
|
|
209
|
+
* description; any other element replaces the default state.
|
|
210
|
+
*/
|
|
211
|
+
error?: ReactNode | Error;
|
|
212
|
+
/** Adds Retry to the default error state. */
|
|
213
|
+
onRetry?: () => void;
|
|
214
|
+
/** First column of the month and first day of the week. Defaults to the provider, then Sunday. */
|
|
215
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
216
|
+
/** Overrides this calendar's own copy. */
|
|
217
|
+
strings?: StringsProp<AppointmentCalendarStrings>;
|
|
218
|
+
/** Merged onto the root. */
|
|
219
|
+
className?: string;
|
|
220
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure helpers for the appointment calendar: day arithmetic, filtering,
|
|
3
|
+
* conflict detection and time formatting. No React, so they are testable and
|
|
4
|
+
* reusable by an application that pre-computes its own view.
|
|
5
|
+
*/
|
|
6
|
+
import type { Appointment, AppointmentCategory, AppointmentCategoryColor, AppointmentConflict, AppointmentPerson } from './appointment-calendar.types';
|
|
7
|
+
/** Marker colour classes per chart series. Literal so Tailwind generates them. */
|
|
8
|
+
export declare const appointmentCategoryColorClasses: Record<AppointmentCategoryColor, string>;
|
|
9
|
+
/** A category's colour: its own, or the chart series at its position. */
|
|
10
|
+
export declare function categoryColor(categories: AppointmentCategory[], id: string): AppointmentCategoryColor;
|
|
11
|
+
export declare function startOfDay(date: Date): Date;
|
|
12
|
+
export declare function addDays(date: Date, days: number): Date;
|
|
13
|
+
export declare function isSameDay(a: Date, b: Date): boolean;
|
|
14
|
+
/** The same day of the month in another month, clamped to that month's length. */
|
|
15
|
+
export declare function addMonths(date: Date, months: number): Date;
|
|
16
|
+
export declare function startOfWeek(date: Date, weekStartsOn: number): Date;
|
|
17
|
+
/** The seven days of the week that holds `date`. */
|
|
18
|
+
export declare function weekDays(date: Date, weekStartsOn: number): Date[];
|
|
19
|
+
/** Six full weeks covering the month of `date`, so the grid never changes height. */
|
|
20
|
+
export declare function monthGrid(date: Date, weekStartsOn: number): Date[][];
|
|
21
|
+
/** Whether an appointment touches a day (it may run past midnight). */
|
|
22
|
+
export declare function occursOn(appointment: Appointment, day: Date): boolean;
|
|
23
|
+
export declare function appointmentsOn<T extends Appointment>(appointments: T[], day: Date): T[];
|
|
24
|
+
/** Applies the category and staff filters; `all` keeps everything. */
|
|
25
|
+
export declare function filterAppointments<T extends Appointment>(appointments: T[], category: string, staffId: string): T[];
|
|
26
|
+
/**
|
|
27
|
+
* Overlapping appointments per staff member. Two appointments conflict when
|
|
28
|
+
* the same staff member is booked for both and their times overlap; touching
|
|
29
|
+
* ends (10:00 to 10:00) do not overlap, and cancelled appointments never conflict.
|
|
30
|
+
*/
|
|
31
|
+
export declare function findConflicts<T extends Appointment>(appointments: T[]): AppointmentConflict<T>[];
|
|
32
|
+
/** Ids of every appointment that takes part in a conflict. */
|
|
33
|
+
export declare function conflictingIds(conflicts: AppointmentConflict[]): Set<string>;
|
|
34
|
+
/** Distinct staff found on appointments, in first-seen order. */
|
|
35
|
+
export declare function staffFrom(appointments: Appointment[]): AppointmentPerson[];
|
|
36
|
+
/**
|
|
37
|
+
* "9 AM", or "9:30 AM" when the minutes matter. A 24-hour clock always keeps
|
|
38
|
+
* its minutes ("09:00"), since a bare "09" does not read as a time.
|
|
39
|
+
*/
|
|
40
|
+
export declare function formatTime(date: Date, locale?: string): string;
|
|
41
|
+
export declare function personName(person: AppointmentPerson | string | undefined): string | undefined;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { AppointmentCalendar } from './appointment-calendar';
|
|
2
|
+
export { defaultAppointmentCalendarStrings, type Appointment, type AppointmentCalendarProps, type AppointmentCalendarStrings, type AppointmentCalendarView, type AppointmentCategory, type AppointmentCategoryColor, type AppointmentConflict, type AppointmentDateRange, type AppointmentPerson, type AppointmentRenderContext, type AppointmentStatus, } from './appointment-calendar.types';
|
|
3
|
+
export { appointmentsOn, filterAppointments, findConflicts, } from './appointment-calendar.utils';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppointmentAgenda — the list beside the month: one day's appointments, or
|
|
3
|
+
* the selected week grouped by day. Each row shows its category stripe, the
|
|
4
|
+
* service with its status chip (or the conflict chip when it overlaps another
|
|
5
|
+
* booking for the same staff member), the time range and client, and the
|
|
6
|
+
* staff member's avatar. A row opens only when the app can open it: a
|
|
7
|
+
* transparent button stretched over the row takes the click, and the actions
|
|
8
|
+
* menu sits above it, since a button cannot hold another. Private to the
|
|
9
|
+
* appointment calendar.
|
|
10
|
+
*/
|
|
11
|
+
import { type ReactNode } from 'react';
|
|
12
|
+
import { type ActionMenuAction } from '../../../base/action-menu';
|
|
13
|
+
import type { Appointment, AppointmentCalendarStrings, AppointmentCategory, AppointmentRenderContext } from '../appointment-calendar.types';
|
|
14
|
+
export interface AppointmentAgendaProps {
|
|
15
|
+
/** The days to list: one for the day view, seven for the week view. */
|
|
16
|
+
days: Date[];
|
|
17
|
+
/** Appointments after the category and staff filters. */
|
|
18
|
+
appointments: Appointment[];
|
|
19
|
+
categories: AppointmentCategory[];
|
|
20
|
+
/** Ids of appointments that overlap another booking for the same staff member. */
|
|
21
|
+
conflicts: Set<string>;
|
|
22
|
+
heading: string;
|
|
23
|
+
loading: boolean;
|
|
24
|
+
error?: ReactNode | Error;
|
|
25
|
+
onRetry?: () => void;
|
|
26
|
+
locale?: string;
|
|
27
|
+
onAppointmentClick?: (appointment: Appointment) => void;
|
|
28
|
+
appointmentActions?: (appointment: Appointment) => readonly ActionMenuAction[];
|
|
29
|
+
renderAppointment?: (appointment: Appointment, context: AppointmentRenderContext) => ReactNode;
|
|
30
|
+
strings: AppointmentCalendarStrings;
|
|
31
|
+
}
|
|
32
|
+
export declare function AppointmentAgenda({ days, appointments, categories, conflicts, heading, loading, error, onRetry, locale, onAppointmentClick, appointmentActions, renderAppointment, strings }: AppointmentAgendaProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Appointment, AppointmentCalendarStrings, AppointmentCategory } from '../appointment-calendar.types';
|
|
2
|
+
export interface AppointmentMonthProps {
|
|
3
|
+
selected: Date;
|
|
4
|
+
onSelect: (date: Date) => void;
|
|
5
|
+
/** The first day of the month on screen, which keyboard focus can move away from the selection. */
|
|
6
|
+
onVisibleMonthChange?: (month: Date) => void;
|
|
7
|
+
appointments: Appointment[];
|
|
8
|
+
categories: AppointmentCategory[];
|
|
9
|
+
weekStartsOn: number;
|
|
10
|
+
locale?: string;
|
|
11
|
+
strings: AppointmentCalendarStrings;
|
|
12
|
+
}
|
|
13
|
+
export declare function AppointmentMonth({ selected, onSelect, onVisibleMonthChange, appointments, categories, weekStartsOn, locale, strings }: AppointmentMonthProps): import("react").JSX.Element;
|
|
@@ -10,5 +10,19 @@
|
|
|
10
10
|
* here for the constants file.
|
|
11
11
|
*/
|
|
12
12
|
import type { ComboboxStrings } from './types';
|
|
13
|
-
export declare const defaultComboboxStrings:
|
|
13
|
+
export declare const defaultComboboxStrings: {
|
|
14
|
+
placeholder: string;
|
|
15
|
+
clear: string;
|
|
16
|
+
toggle: string;
|
|
17
|
+
dismiss: string;
|
|
18
|
+
removeSelection: (itemLabel: string) => string;
|
|
19
|
+
searching: string;
|
|
20
|
+
noResults: string;
|
|
21
|
+
typeToSearch: string;
|
|
22
|
+
typeMore: string;
|
|
23
|
+
createNew: string;
|
|
24
|
+
loadingMore: string;
|
|
25
|
+
apply: string;
|
|
26
|
+
cancel: string;
|
|
27
|
+
};
|
|
14
28
|
export type { ComboboxStrings };
|
|
@@ -9,6 +9,10 @@ export type ComboboxStrings = {
|
|
|
9
9
|
placeholder: string;
|
|
10
10
|
clear: string;
|
|
11
11
|
toggle: string;
|
|
12
|
+
/** Accessible name of both screen-reader dismissal controls. */
|
|
13
|
+
dismiss?: string;
|
|
14
|
+
/** Names an individual selected item's removal button. */
|
|
15
|
+
removeSelection?: (itemLabel: string) => string;
|
|
12
16
|
searching: string;
|
|
13
17
|
noResults: string;
|
|
14
18
|
typeToSearch: string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Group caption shared by result groups and idle sections. It uses the compact
|
|
3
|
+
* secondary role and inset of a Command group heading, so a caption never reads
|
|
4
|
+
* as another row and both lists keep one rhythm.
|
|
5
|
+
*/
|
|
6
|
+
import type * as React from 'react';
|
|
7
|
+
export interface GlobalSearchGroupHeadingProps {
|
|
8
|
+
/** Caption copy. */
|
|
9
|
+
label: React.ReactNode;
|
|
10
|
+
/** Optional leading glyph supplied by the section. */
|
|
11
|
+
icon?: React.ElementType;
|
|
12
|
+
/** Trailing action, such as "See all". */
|
|
13
|
+
action?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
export declare function GlobalSearchGroupHeading({ label, icon: Icon, action }: GlobalSearchGroupHeadingProps): React.JSX.Element;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Default tone palettes for thumbnails and avatars.
|
|
3
|
-
*
|
|
4
|
-
* Consumers can override per-call via `slots.toneBg` / `slots.toneAvatar`.
|
|
5
|
-
*/
|
|
6
1
|
import type { GlobalSearchTone } from '../global-search.types';
|
|
7
2
|
export declare const DEFAULT_TONE_BG: Record<GlobalSearchTone, string>;
|
|
8
3
|
export declare const DEFAULT_TONE_AVATAR: Record<GlobalSearchTone, string>;
|
|
@@ -21,7 +21,7 @@ export declare namespace KanbanItem {
|
|
|
21
21
|
}
|
|
22
22
|
export declare const KanbanItemHandle: import("react").ForwardRefExoticComponent<KanbanItemHandleProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
23
23
|
/**
|
|
24
|
-
* Per-item actions menu (
|
|
24
|
+
* Per-item actions menu (`⋯` trigger → popover with the actions
|
|
25
25
|
* registered at the `<Kanban itemActions>` root). Place inside any
|
|
26
26
|
* `<KanbanItem>` — typically in the card's top-right corner.
|
|
27
27
|
*
|
|
@@ -17,7 +17,7 @@ export interface KanbanStrings {
|
|
|
17
17
|
dragHandleAria: string;
|
|
18
18
|
/** Aria label on the board landmark. */
|
|
19
19
|
boardAria: string;
|
|
20
|
-
/** Aria label on the per-item actions trigger (
|
|
20
|
+
/** Aria label on the per-item actions trigger (`⋯`). */
|
|
21
21
|
itemActionsAria: string;
|
|
22
22
|
}
|
|
23
23
|
export declare const defaultKanbanStrings: KanbanStrings;
|
|
@@ -10,7 +10,7 @@ import type { KanbanStrings } from './kanban.strings';
|
|
|
10
10
|
export type KanbanValue<T = unknown> = Record<string, T[]>;
|
|
11
11
|
/**
|
|
12
12
|
* A single action available on a Kanban item — surfaces inside the
|
|
13
|
-
* `<KanbanItemActions>` (
|
|
13
|
+
* `<KanbanItemActions>` (`⋯`) shared `ActionMenu`. Mirrors the action
|
|
14
14
|
* definition shape used by table/card/page action chrome so consumers can
|
|
15
15
|
* re-use the same action concepts across surfaces.
|
|
16
16
|
*/
|
|
@@ -148,7 +148,7 @@ export interface KanbanItemHandleProps {
|
|
|
148
148
|
export interface KanbanItemActionsProps {
|
|
149
149
|
/** Optional class on the trigger button. */
|
|
150
150
|
className?: string;
|
|
151
|
-
/** Override the trigger icon
|
|
151
|
+
/** Override the trigger icon. Defaults to the shared `⋯` overflow glyph. */
|
|
152
152
|
icon?: ReactNode;
|
|
153
153
|
/** aria-label on the trigger button. Defaults to `strings.itemActionsAria`. */
|
|
154
154
|
ariaLabel?: string;
|
|
@@ -2,4 +2,4 @@ import type { MediaLibraryAccessors, MediaLibraryItem, ResolvedMediaLibraryAcces
|
|
|
2
2
|
export declare function resolveMediaLibraryAccessors<TItem = MediaLibraryItem>(accessors?: MediaLibraryAccessors<TItem>): ResolvedMediaLibraryAccessors<TItem>;
|
|
3
3
|
export declare function formatMediaLibrarySize(bytes?: number): string;
|
|
4
4
|
export declare function getMediaLibraryDimensions<TItem>(item: TItem, accessors: ResolvedMediaLibraryAccessors<TItem>): string;
|
|
5
|
-
export declare function useMediaLibrary<TItem = MediaLibraryItem>({ items: itemsProp, fetcher, accessors: accessorsProp, selectionMode, value, defaultValue, onValueChange, onItemUpdate, onItemDelete, onUpload, onError, tab: tabProp, defaultTab, onTabChange, view: viewProp, defaultView, onViewChange, query: queryProp, defaultQuery, onQueryChange, type: typeProp, defaultType, onTypeChange, collection: collectionProp, defaultCollection, onCollectionChange, sort: sortProp, defaultSort, onSortChange, uploadOptions: uploadOptionsProp, defaultUploadOptions, onUploadOptionsChange, }?: UseMediaLibraryOptions<TItem>): MediaLibraryState<TItem>;
|
|
5
|
+
export declare function useMediaLibrary<TItem = MediaLibraryItem>({ items: itemsProp, fetcher, accessors: accessorsProp, selectionMode, value, defaultValue, onValueChange, onItemUpdate, onItemDelete, onUpload, onError, tab: tabProp, defaultTab, onTabChange, view: viewProp, defaultView, onViewChange, query: queryProp, defaultQuery, onQueryChange, type: typeProp, defaultType, onTypeChange, collection: collectionProp, defaultCollection, onCollectionChange, sort: sortProp, defaultSort, onSortChange, uploadOptions: uploadOptionsProp, defaultUploadOptions, onUploadOptionsChange, selecting: selectingProp, defaultSelecting, onSelectingChange, }?: UseMediaLibraryOptions<TItem>): MediaLibraryState<TItem>;
|
|
@@ -3,4 +3,4 @@ export { MediaResourceGallery, } from './media-resource-gallery';
|
|
|
3
3
|
export { defaultMediaLibraryStrings, formatMediaLibraryString, type MediaLibraryStrings, } from './media-library.strings';
|
|
4
4
|
export { formatMediaLibrarySize, getMediaLibraryDimensions, resolveMediaLibraryAccessors, useMediaLibrary, } from './hooks';
|
|
5
5
|
export { MediaLibraryCard, MediaLibraryDetailPanel, MediaLibraryEmptyState, MediaLibraryFooter, MediaLibraryList, MediaLibraryToolbar, MediaLibraryUploadPanel, } from './partials';
|
|
6
|
-
export type { MediaLibraryAccessors, MediaLibraryCardProps, MediaLibraryCollectionOption, MediaLibraryDensity, MediaLibraryDetailPanelProps, MediaLibraryDetailRenderContext, MediaLibraryDialogProps, MediaLibraryEmptyStateProps, MediaLibraryFetchParams, MediaLibraryFetchResult, MediaLibraryFetcher, MediaLibraryFooterProps, MediaLibraryItem, MediaLibraryItemPatch, MediaLibraryItemRenderContext, MediaLibraryItemType, MediaLibraryKeyboardEvent, MediaLibraryKeyboardSelectOptions, MediaLibraryProps, MediaLibrarySelectionMode, MediaLibrarySlots, MediaLibrarySort, MediaLibraryStagedFile, MediaLibraryState, MediaLibraryTab, MediaLibraryListProps, MediaLibraryToolbarProps, MediaLibraryTypeFilter, MediaLibraryUploadHandler, MediaLibraryUploadHelpers, MediaLibraryUploadOptions, MediaLibraryUploadPanelProps, MediaLibraryUploadStatus, MediaLibraryView, MediaResourceGalleryItemRenderContext, MediaResourceGalleryLayout, MediaResourceGalleryProps, ResolvedMediaLibraryAccessors, UseMediaLibraryOptions, } from './media-library.types';
|
|
6
|
+
export type { MediaLibraryAccessors, MediaLibraryBulkActionContext, MediaLibraryCardProps, MediaLibraryCollectionOption, MediaLibraryDensity, MediaLibraryDetailPanelProps, MediaLibraryDetailRenderContext, MediaLibraryDialogProps, MediaLibraryEmptyStateProps, MediaLibraryFetchParams, MediaLibraryFetchResult, MediaLibraryFetcher, MediaLibraryFooterProps, MediaLibraryItem, MediaLibraryItemPatch, MediaLibraryItemRenderContext, MediaLibraryItemType, MediaLibraryKeyboardEvent, MediaLibraryKeyboardSelectOptions, MediaLibraryProps, MediaLibrarySelectionMode, MediaLibrarySlots, MediaLibrarySort, MediaLibraryStagedFile, MediaLibraryState, MediaLibraryTab, MediaLibraryListProps, MediaLibraryToolbarProps, MediaLibraryTypeFilter, MediaLibraryUploadHandler, MediaLibraryUploadHelpers, MediaLibraryUploadOptions, MediaLibraryUploadPanelProps, MediaLibraryUploadStatus, MediaLibraryView, MediaResourceGalleryItemRenderContext, MediaResourceGalleryLayout, MediaResourceGalleryProps, ResolvedMediaLibraryAccessors, UseMediaLibraryOptions, } from './media-library.types';
|
|
@@ -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, 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;
|
|
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, bulkActions, strings: stringsProp, slots, heightClassName, className, items, fetcher, accessors, collections, value, defaultValue, onValueChange, onItemUpdate, onItemDelete, onItemReplace, onItemOpen, onUpload, onError, selecting, defaultSelecting, onSelectingChange, 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;
|
|
@@ -40,6 +40,12 @@ export interface MediaLibraryStrings {
|
|
|
40
40
|
errorTitle: string;
|
|
41
41
|
errorDescription: string;
|
|
42
42
|
cardDetails: string;
|
|
43
|
+
/** Toolbar toggle that turns selection mode on or off. */
|
|
44
|
+
selectMode: string;
|
|
45
|
+
/** Check control that selects one asset while browsing; `{name}` is the asset. */
|
|
46
|
+
selectItem: string;
|
|
47
|
+
/** Accessible name of the selected-assets action region. Defaults to "Batch actions". */
|
|
48
|
+
batchActionsLabel?: string;
|
|
43
49
|
privateLabel: string;
|
|
44
50
|
publicLabel: string;
|
|
45
51
|
typeImage: string;
|