themelia-react-ui 2.0.6 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +250 -0
- package/MIGRATION.md +746 -7
- package/README.md +27 -23
- package/dist/{accordion-0tQUZ20r.js → accordion-DNVqwEIC.js} +36 -36
- package/dist/accordion-DNVqwEIC.js.map +1 -0
- package/dist/action-menu-D5343RwT.js +286 -0
- package/dist/action-menu-D5343RwT.js.map +1 -0
- package/dist/ai-artifact-otrz9ZwS.js +1214 -0
- package/dist/ai-artifact-otrz9ZwS.js.map +1 -0
- package/dist/anchored-positioning-1U_eBFNx.js +9 -0
- package/dist/anchored-positioning-1U_eBFNx.js.map +1 -0
- package/dist/app-shell-CPN30Nb1.js +372 -0
- package/dist/app-shell-CPN30Nb1.js.map +1 -0
- package/dist/{attachment-BCpA4e7i.js → attachment-D2-fpfmv.js} +15 -15
- package/dist/{attachment-BCpA4e7i.js.map → attachment-D2-fpfmv.js.map} +1 -1
- package/dist/{auth-B0girIk_.js → auth-g_oUTDDC.js} +234 -241
- package/dist/auth-g_oUTDDC.js.map +1 -0
- package/dist/{avatar-B9Jnp-T-.js → avatar-Ca3Ihrq4.js} +4 -4
- package/dist/{avatar-B9Jnp-T-.js.map → avatar-Ca3Ihrq4.js.map} +1 -1
- package/dist/{badge-wWauMgAt.js → badge-oGiXblW7.js} +8 -9
- package/dist/badge-oGiXblW7.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 +1 -1
- package/dist/base/buttons.js +2 -2
- package/dist/base/cards.js +3 -3
- package/dist/base/carousel.js +11 -11
- package/dist/base/carousel.js.map +1 -1
- package/dist/base/cascader.js +1 -1
- package/dist/base/chart.js +1 -1
- package/dist/base/choice-inputs.js +2 -2
- package/dist/base/code-block.js +1 -1
- package/dist/base/combobox.js +1 -1
- package/dist/base/command.js +1 -1
- package/dist/base/copyable.js +1 -1
- package/dist/base/date-pickers.js +2 -2
- package/dist/base/display.js +7 -7
- package/dist/base/feedback.js +4 -4
- package/dist/base/forms-numeric.js +2 -2
- package/dist/base/forms.js +2 -2
- package/dist/base/inline-edit.js +13 -13
- package/dist/base/inline-edit.js.map +1 -1
- package/dist/base/item.js +1 -1
- package/dist/base/media-gallery.js +203 -2
- package/dist/base/media-gallery.js.map +1 -0
- package/dist/base/metadata-list.js +1 -1
- 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 +32 -22
- package/dist/base/qr-code.js.map +1 -1
- package/dist/base/repeaters.js +91 -88
- package/dist/base/repeaters.js.map +1 -1
- package/dist/base/sidebar.js +2 -2
- package/dist/base/signature-pad.js +14 -14
- package/dist/base/signature-pad.js.map +1 -1
- package/dist/base/skeleton.js +1 -1
- package/dist/base/spinner.js +6 -12
- package/dist/base/spinner.js.map +1 -1
- package/dist/base/structure.js +1 -1
- package/dist/base/table.js +1 -1
- package/dist/base/text-inputs.js +3 -3
- package/dist/base/toaster.js +2 -2
- package/dist/base/tree.js +2 -2
- package/dist/base/upload-queue.js +303 -2
- package/dist/base/upload-queue.js.map +1 -0
- package/dist/base/upload.js +3 -4
- package/dist/base/value-inputs.js +1 -1
- package/dist/{batch-action-bar-BoqWIIpV.js → batch-action-bar-D6MZQNnC.js} +10 -10
- package/dist/{batch-action-bar-BoqWIIpV.js.map → batch-action-bar-D6MZQNnC.js.map} +1 -1
- package/dist/blocks/admin.js +242 -228
- package/dist/blocks/admin.js.map +1 -1
- package/dist/blocks/ai.js +395 -357
- package/dist/blocks/ai.js.map +1 -1
- package/dist/blocks/analytics/charts.js +1022 -0
- package/dist/blocks/analytics/charts.js.map +1 -0
- package/dist/blocks/analytics/usage-card.js +1 -1
- package/dist/blocks/analytics.js +171 -1365
- 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 +1487 -1358
- package/dist/blocks/commerce.js.map +1 -1
- package/dist/blocks/data-display.js +2 -3
- package/dist/blocks/onboarding.js +91 -82
- package/dist/blocks/onboarding.js.map +1 -1
- package/dist/blocks/planning.js +25 -25
- package/dist/blocks/planning.js.map +1 -1
- package/dist/blocks/timelines.js +2 -2
- package/dist/{breadcrumbs-Bp9Ke7kd.js → breadcrumbs-CQ9JSlez.js} +52 -45
- package/dist/breadcrumbs-CQ9JSlez.js.map +1 -0
- package/dist/{button-ChBovTx0.js → button-rd6FiHfQ.js} +12 -8
- package/dist/button-rd6FiHfQ.js.map +1 -0
- package/dist/{buttons-DeW0bQeK.js → buttons-pZVgPTZn.js} +230 -246
- package/dist/buttons-pZVgPTZn.js.map +1 -0
- package/dist/{cards-CNXnmvV5.js → cards-CgWyqvgZ.js} +25 -22
- package/dist/{cards-CNXnmvV5.js.map → cards-CgWyqvgZ.js.map} +1 -1
- package/dist/cascader-Cf05pwaq.js +444 -0
- package/dist/cascader-Cf05pwaq.js.map +1 -0
- package/dist/{chart-I7ROnsl8.js → chart-CygRCyIZ.js} +5 -5
- package/dist/{chart-I7ROnsl8.js.map → chart-CygRCyIZ.js.map} +1 -1
- package/dist/{checkbox-MoyHIAPs.js → checkbox-Dy5_XBMZ.js} +4 -4
- package/dist/{checkbox-MoyHIAPs.js.map → checkbox-Dy5_XBMZ.js.map} +1 -1
- package/dist/{choice-inputs-DHGtx0QV.js → choice-inputs-oJEsrb5Y.js} +113 -114
- package/dist/choice-inputs-oJEsrb5Y.js.map +1 -0
- package/dist/{code-block-BSJyq9e-.js → code-block-BrLD7mCi.js} +44 -60
- package/dist/code-block-BrLD7mCi.js.map +1 -0
- package/dist/collapsible-CRCCg_bO.js +80 -0
- package/dist/collapsible-CRCCg_bO.js.map +1 -0
- package/dist/{collection-content-CSnwtOTH.js → collection-content-D7SoDlYd.js} +3 -3
- package/dist/{collection-content-CSnwtOTH.js.map → collection-content-D7SoDlYd.js.map} +1 -1
- package/dist/combobox-Dl6f6kHz.js +362 -0
- package/dist/combobox-Dl6f6kHz.js.map +1 -0
- package/dist/combobox-DrDXtSSt.js +929 -0
- package/dist/combobox-DrDXtSSt.js.map +1 -0
- package/dist/command-CjZ2VzKC.js +432 -0
- package/dist/command-CjZ2VzKC.js.map +1 -0
- package/dist/comments-C2MZyRmh.js +1214 -0
- package/dist/comments-C2MZyRmh.js.map +1 -0
- package/dist/components/base/accordion/accordion.d.ts +11 -3
- package/dist/components/base/action-menu/action-menu.d.ts +11 -3
- package/dist/components/base/buttons/button.d.ts +2 -2
- package/dist/components/base/buttons/index.d.ts +1 -1
- package/dist/components/base/buttons/loader-button.d.ts +6 -15
- package/dist/components/base/cards/index.d.ts +1 -1
- package/dist/components/base/cards/partials/card-body-context.d.ts +6 -0
- package/dist/components/base/cards/smart-card.d.ts +0 -2
- package/dist/components/base/cards/smart-card.types.d.ts +12 -10
- package/dist/components/base/cascader/cascader.d.ts +8 -2
- package/dist/components/base/cascader/cascader.types.d.ts +24 -2
- package/dist/components/base/cascader/index.d.ts +1 -1
- package/dist/components/base/choice-inputs/switch.d.ts +1 -1
- package/dist/components/base/code-block/use-code-copy.d.ts +2 -6
- package/dist/components/base/command/command.d.ts +1 -1
- package/dist/components/base/date-pickers/datepicker.types.d.ts +1 -3
- package/dist/components/base/display/dialog.d.ts +3 -9
- package/dist/components/base/display/index.d.ts +2 -3
- package/dist/components/base/display/separator.d.ts +1 -1
- package/dist/components/base/feedback/alert.d.ts +2 -1
- package/dist/components/base/feedback/empty.d.ts +10 -2
- package/dist/components/base/forms/workflow.d.ts +2 -2
- package/dist/components/base/forms-numeric/dimensions-input.d.ts +9 -17
- package/dist/components/base/forms-numeric/index.d.ts +3 -3
- package/dist/components/base/item/item.types.d.ts +6 -2
- package/dist/components/base/metadata-list/index.d.ts +1 -3
- package/dist/components/base/metadata-list/metadata-list.d.ts +4 -1
- package/dist/components/base/navigation/index.d.ts +2 -2
- package/dist/components/base/navigation/language-switcher.d.ts +7 -6
- package/dist/components/base/navigation/navigation-tabs.d.ts +8 -1
- package/dist/components/base/navigation/page-header/index.d.ts +1 -1
- package/dist/components/base/navigation/page-header/page-header.d.ts +13 -17
- package/dist/components/base/navigation/pagination.d.ts +5 -5
- package/dist/components/base/popover/popover.recipes.d.ts +0 -1
- package/dist/components/base/qr-code/qr-code.d.ts +4 -0
- package/dist/components/base/repeaters/index.d.ts +1 -1
- package/dist/components/base/repeaters/key-value-editor.d.ts +4 -0
- package/dist/components/base/sheet/sheet.d.ts +6 -15
- package/dist/components/base/sidebar/index.d.ts +1 -6
- package/dist/components/base/sidebar/sidebar.d.ts +38 -10
- package/dist/components/base/skeleton/skeleton.d.ts +1 -1
- package/dist/components/base/structure/structure.types.d.ts +11 -2
- package/dist/components/base/text-inputs/index.d.ts +1 -1
- package/dist/components/base/tree/index.d.ts +1 -0
- package/dist/components/base/tree/tree.d.ts +2 -2
- package/dist/components/base/tree/tree.types.d.ts +7 -1
- package/dist/components/base/upload/file-upload.validation.d.ts +37 -1
- package/dist/components/base/upload/image-upload.d.ts +2 -0
- package/dist/components/base/upload/index.d.ts +3 -9
- package/dist/components/base/value-inputs/date-time-input.d.ts +4 -0
- package/dist/components/base/value-inputs/slider.d.ts +5 -2
- package/dist/components/blocks/admin/action-surfaces/index.d.ts +17 -4
- package/dist/components/blocks/admin/api-key-list/api-key-list.types.d.ts +9 -3
- package/dist/components/blocks/admin/index.d.ts +1 -1
- package/dist/components/blocks/ai/ai-artifact/ai-artifact.d.ts +1 -1
- package/dist/components/blocks/ai/ai-artifact/types.d.ts +9 -4
- package/dist/components/blocks/ai/ai-chain-of-thought/ai-chain-of-thought.d.ts +1 -1
- package/dist/components/blocks/ai/ai-chain-of-thought/types.d.ts +11 -1
- package/dist/components/blocks/ai/ai-citation/ai-citation.d.ts +1 -1
- package/dist/components/blocks/ai/ai-citation/types.d.ts +6 -0
- package/dist/components/blocks/ai/ai-confirmation/ai-confirmation.d.ts +1 -1
- package/dist/components/blocks/ai/ai-confirmation/types.d.ts +21 -5
- package/dist/components/blocks/ai/ai-feedback/types.d.ts +7 -2
- package/dist/components/blocks/ai/ai-inline-citation/types.d.ts +9 -3
- package/dist/components/blocks/ai/ai-package-info/ai-package-info.d.ts +1 -1
- package/dist/components/blocks/ai/ai-package-info/types.d.ts +6 -0
- package/dist/components/blocks/ai/ai-sources/ai-sources.d.ts +1 -1
- package/dist/components/blocks/ai/ai-sources/types.d.ts +8 -2
- package/dist/components/blocks/ai/ai-task/ai-task.d.ts +1 -1
- package/dist/components/blocks/ai/ai-task/types.d.ts +10 -1
- package/dist/components/blocks/ai/ai-tool-call/ai-tool-call.d.ts +1 -1
- package/dist/components/blocks/ai/ai-tool-call/types.d.ts +6 -0
- package/dist/components/blocks/ai/ai.strings.d.ts +2 -0
- package/dist/components/blocks/analytics/activity-heatmap/types.d.ts +1 -1
- package/dist/components/blocks/analytics/analytics.strings.d.ts +2 -0
- package/dist/components/blocks/analytics/atoms/metric-trend-chip.d.ts +11 -1
- package/dist/components/blocks/analytics/chart-card/chart-card.d.ts +7 -5
- package/dist/components/blocks/analytics/charts/index.d.ts +27 -0
- package/dist/components/blocks/analytics/index.d.ts +17 -24
- package/dist/components/blocks/analytics/metric/metric.d.ts +5 -5
- package/dist/components/blocks/analytics/metric-grid/metric-grid.d.ts +2 -2
- package/dist/components/blocks/analytics/types.d.ts +12 -3
- package/dist/components/blocks/analytics/usage-card/usage-card.strings.d.ts +2 -0
- package/dist/components/blocks/commerce/address-card/address-card.d.ts +1 -1
- package/dist/components/blocks/commerce/address-card/types.d.ts +5 -16
- package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.d.ts +2 -2
- package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.types.d.ts +6 -4
- package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +0 -2
- package/dist/components/blocks/commerce/cart-summary/index.d.ts +2 -2
- package/dist/components/blocks/commerce/cart-summary/types.d.ts +9 -11
- package/dist/components/blocks/commerce/coupon-input/coupon-input.d.ts +1 -1
- package/dist/components/blocks/commerce/coupon-input/types.d.ts +7 -3
- package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +0 -2
- package/dist/components/blocks/commerce/discount-stack/index.d.ts +2 -2
- package/dist/components/blocks/commerce/discount-stack/types.d.ts +4 -6
- package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +1 -1
- package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +2 -0
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-balance.d.ts +18 -0
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-compact.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-copy-button.d.ts +0 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-dark.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-full.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-illustrated.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-minimal.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/types.d.ts +16 -5
- package/dist/components/blocks/commerce/index.d.ts +8 -8
- package/dist/components/blocks/commerce/inventory-level/inventory-level.strings.d.ts +2 -0
- package/dist/components/blocks/commerce/inventory-level/types.d.ts +1 -1
- package/dist/components/blocks/commerce/inventory-section/types.d.ts +0 -5
- package/dist/components/blocks/commerce/invoice-line-items/types.d.ts +6 -3
- package/dist/components/blocks/commerce/loyalty-points/loyalty-points.d.ts +1 -1
- package/dist/components/blocks/commerce/loyalty-points/types.d.ts +11 -5
- package/dist/components/blocks/commerce/order-status/order-status.d.ts +1 -1
- package/dist/components/blocks/commerce/order-status/types.d.ts +8 -8
- package/dist/components/blocks/commerce/order-timeline/order-timeline.d.ts +1 -1
- package/dist/components/blocks/commerce/order-timeline/types.d.ts +3 -1
- package/dist/components/blocks/commerce/payment-method/index.d.ts +2 -2
- package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +0 -8
- package/dist/components/blocks/commerce/payment-method/types.d.ts +0 -2
- package/dist/components/blocks/commerce/receipt/index.d.ts +1 -1
- package/dist/components/blocks/commerce/receipt/receipt-items.d.ts +1 -1
- package/dist/components/blocks/commerce/receipt/types.d.ts +10 -0
- package/dist/components/blocks/commerce/refund-status/index.d.ts +2 -2
- package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +0 -2
- package/dist/components/blocks/commerce/refund-status/types.d.ts +0 -2
- package/dist/components/blocks/commerce/seo-listing/types.d.ts +7 -0
- package/dist/components/blocks/commerce/shared/code-entry.d.ts +39 -0
- package/dist/components/blocks/commerce/shared/order-status.d.ts +1 -1
- package/dist/components/blocks/commerce/subscription-summary/subscription-summary.d.ts +1 -1
- package/dist/components/blocks/commerce/subscription-summary/types.d.ts +10 -1
- package/dist/components/blocks/commerce/upcoming-booking/index.d.ts +2 -1
- package/dist/components/blocks/commerce/upcoming-booking/types.d.ts +8 -0
- package/dist/components/blocks/commerce/upcoming-booking/upcoming-booking.d.ts +2 -2
- package/dist/components/blocks/commerce/vendor-profile/types.d.ts +4 -5
- package/dist/components/blocks/commerce/voucher-entry/types.d.ts +6 -3
- package/dist/components/blocks/commerce/voucher-entry/voucher-entry.d.ts +1 -1
- package/dist/components/blocks/content-block-hooks.d.ts +22 -0
- package/dist/components/blocks/data-display/dense-info-card/dense-info.strings.d.ts +5 -1
- package/dist/components/blocks/data-display/dense-info-card/helpers.d.ts +3 -1
- package/dist/components/blocks/data-display/dense-info-card/index.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-classification.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-dashboard.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-financial.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-project.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-score.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/types.d.ts +12 -5
- package/dist/components/blocks/data-display/empty-state/empty-state.types.d.ts +6 -0
- package/dist/components/blocks/data-display/index.d.ts +0 -1
- package/dist/components/blocks/data-display/relationship-card-frame.d.ts +1 -1
- package/dist/components/blocks/onboarding/checklist/checklist.types.d.ts +5 -3
- package/dist/components/blocks/planning/task-card.types.d.ts +7 -3
- package/dist/components/blocks/timelines/changelog/types.d.ts +2 -2
- package/dist/components/blocks/timelines/index.d.ts +2 -2
- package/dist/components/blocks/timelines/milestones/types.d.ts +2 -2
- package/dist/components/blocks/timelines/shared/timeline.d.ts +6 -0
- package/dist/components/blocks/timelines/steps-card/index.d.ts +2 -1
- package/dist/components/blocks/timelines/steps-card/steps-card.d.ts +2 -2
- package/dist/components/blocks/timelines/steps-card/types.d.ts +13 -1
- package/dist/components/features/activities/activities.strings.d.ts +5 -3
- package/dist/components/features/activities/activities.types.d.ts +28 -11
- package/dist/components/features/activities/hooks/use-activity-feed.d.ts +6 -0
- package/dist/components/features/activities/index.d.ts +1 -1
- package/dist/components/features/activities/partials/activity-headline.d.ts +5 -0
- package/dist/components/features/activities/partials/activity-row.d.ts +12 -13
- package/dist/components/features/activities/partials/row-layers.d.ts +7 -0
- package/dist/components/features/activities/relative-time.d.ts +18 -0
- package/dist/components/features/ai-chat/ai-chat.d.ts +6 -2
- package/dist/components/features/ai-chat/ai-chat.strings.d.ts +41 -2
- package/dist/components/features/ai-chat/ai-chat.types.d.ts +6 -0
- package/dist/components/features/ai-chat/partials/ai-chat-attachments-strip.d.ts +5 -1
- package/dist/components/features/ai-chat/partials/ai-chat-prompt-input.d.ts +2 -2
- package/dist/components/features/ai-chat/partials/ai-chat-queue.d.ts +3 -1
- package/dist/components/features/ai-chat/partials/ai-chat-suggestions-row.d.ts +6 -1
- package/dist/components/features/appointment-calendar/appointment-calendar.d.ts +1 -1
- package/dist/components/features/appointment-calendar/appointment-calendar.types.d.ts +19 -5
- package/dist/components/features/appointment-calendar/index.d.ts +1 -1
- package/dist/components/features/appointment-calendar/partials/appointment-agenda.d.ts +18 -10
- package/dist/components/features/async-preview/async-preview.d.ts +2 -2
- package/dist/components/features/async-preview/async-preview.types.d.ts +30 -1
- package/dist/components/features/async-preview/preview-trigger-cell.d.ts +7 -2
- package/dist/components/features/combobox/async-resource-combobox.d.ts +2 -2
- package/dist/components/features/combobox/combobox.d.ts +12 -3
- package/dist/components/features/combobox/components/error-message.d.ts +3 -1
- package/dist/components/features/combobox/hooks/use-combobox-core.d.ts +2 -2
- package/dist/components/features/combobox/index.d.ts +1 -1
- package/dist/components/features/combobox/types.d.ts +47 -45
- package/dist/components/features/comments/comments.strings.d.ts +6 -5
- package/dist/components/features/comments/comments.types.d.ts +40 -26
- package/dist/components/features/comments/hooks/use-attachment-upload.d.ts +5 -1
- package/dist/components/features/comments/hooks/use-comments.d.ts +8 -1
- package/dist/components/features/data-view/data-view.strings.d.ts +9 -2
- package/dist/components/features/data-view/data-view.types.d.ts +15 -2
- package/dist/components/features/email-composer/email-html.d.ts +5 -0
- package/dist/components/features/email-composer/http.d.ts +2 -0
- package/dist/components/features/email-composer/strings.d.ts +17 -2
- package/dist/components/features/email-composer/types.d.ts +17 -2
- package/dist/components/features/email-composer/use-composer.d.ts +2 -78
- package/dist/components/features/event-calendar/event-calendar-day-cell.d.ts +1 -1
- package/dist/components/features/event-calendar/event-calendar-event-badge.d.ts +1 -1
- package/dist/components/features/event-calendar/event-calendar-header.d.ts +1 -1
- package/dist/components/features/event-calendar/event-calendar-legend.d.ts +2 -2
- package/dist/components/features/event-calendar/event-calendar.d.ts +1 -1
- package/dist/components/features/event-calendar/event-calendar.types.d.ts +126 -21
- package/dist/components/features/filters/facets/range-facet.d.ts +13 -8
- package/dist/components/features/filters/filter-context.d.ts +9 -0
- package/dist/components/features/filters/filters.strings.d.ts +36 -3
- package/dist/components/features/filters/filters.types.d.ts +72 -5
- package/dist/components/features/filters/hooks/use-filter-draft.d.ts +1 -0
- package/dist/components/features/filters/index.d.ts +2 -2
- package/dist/components/features/filters/operator-options.d.ts +25 -2
- package/dist/components/features/filters/partials/active-filter-item.d.ts +0 -13
- package/dist/components/features/filters/partials/async-options-status.d.ts +32 -0
- package/dist/components/features/filters/partials/filter-draft-footer.d.ts +11 -0
- package/dist/components/features/filters/partials/filter-operator-select.d.ts +4 -2
- package/dist/components/features/filters/partials/filter-pill.d.ts +5 -1
- package/dist/components/features/filters/partials/filter-tabs.d.ts +2 -1
- package/dist/components/features/filters/partials/regular-filter-content.d.ts +1 -1
- package/dist/components/features/filters/utils/filter-utils.d.ts +29 -4
- package/dist/components/features/global-search/global-search-dialog.d.ts +7 -1
- package/dist/components/features/global-search/global-search.d.ts +7 -1
- package/dist/components/features/global-search/global-search.strings.d.ts +19 -3
- package/dist/components/features/global-search/global-search.types.d.ts +30 -6
- package/dist/components/features/global-search/index.d.ts +1 -1
- package/dist/components/features/global-search/partials/global-search-idle-state.d.ts +6 -1
- package/dist/components/features/global-search/partials/global-search-input.d.ts +2 -0
- package/dist/components/features/kanban/index.d.ts +2 -2
- package/dist/components/features/kanban/kanban-context.d.ts +4 -0
- package/dist/components/features/kanban/kanban-keyboard.d.ts +7 -2
- package/dist/components/features/kanban/kanban.d.ts +10 -1
- package/dist/components/features/kanban/kanban.strings.d.ts +11 -2
- package/dist/components/features/kanban/kanban.types.d.ts +26 -0
- package/dist/components/features/map/map.d.ts +4 -0
- package/dist/components/features/map/place-autocomplete.d.ts +10 -1
- package/dist/components/features/media-library/hooks/use-media-library.d.ts +3 -1
- package/dist/components/features/media-library/media-library.d.ts +1 -1
- package/dist/components/features/media-library/media-library.strings.d.ts +33 -3
- package/dist/components/features/media-library/media-library.types.d.ts +47 -2
- package/dist/components/features/media-library/partials/media-library-partials.d.ts +1 -1
- package/dist/components/features/mentions/hooks/use-mentions-search.d.ts +7 -0
- package/dist/components/features/mentions/index.d.ts +1 -1
- package/dist/components/features/mentions/mentions.strings.d.ts +10 -2
- package/dist/components/features/mentions/partials/mention-chip.d.ts +1 -0
- package/dist/components/features/mentions/partials/mention-inline-suggestions.d.ts +8 -1
- package/dist/components/features/mentions/partials/mention-picker.d.ts +8 -1
- package/dist/components/features/mentions/partials/mention-search-error.d.ts +6 -0
- package/dist/components/features/mentions/utils/index.d.ts +0 -1
- package/dist/components/features/overlays/alert-dialog.d.ts +1 -1
- package/dist/components/features/overlays/dialog.d.ts +1 -1
- package/dist/components/features/overlays/drawer.d.ts +1 -1
- package/dist/components/features/overlays/index.d.ts +2 -2
- package/dist/components/features/overlays/overlays.strings.d.ts +2 -1
- package/dist/components/features/overlays/overlays.types.d.ts +27 -10
- package/dist/components/features/products/components/index.d.ts +0 -10
- package/dist/components/features/products/components/product-contract-overview.d.ts +1 -1
- package/dist/components/features/products/components/product-details-card.d.ts +1 -1
- package/dist/components/features/products/components/product-operations-card.d.ts +1 -1
- package/dist/components/features/products/components/product-option-action-menu.d.ts +1 -1
- package/dist/components/features/products/components/product-options-summary.d.ts +1 -1
- package/dist/components/features/products/components/product-policies-card.d.ts +1 -1
- package/dist/components/features/products/components/product-quote-preview-card.d.ts +1 -1
- package/dist/components/features/products/components/product-readiness-card.d.ts +1 -1
- package/dist/components/features/products/components/product-structure-card.d.ts +1 -1
- package/dist/components/features/products/components/product-variant-action-menu.d.ts +1 -1
- package/dist/components/features/products/components/product-variants-manager.d.ts +1 -1
- package/dist/components/features/products/components/product-variants-table.d.ts +1 -1
- package/dist/components/features/products/partials/product-surface.d.ts +15 -0
- package/dist/components/features/products/products.strings.d.ts +8 -0
- package/dist/components/features/products/products.types.d.ts +25 -7
- package/dist/components/features/questionnaire/questionnaire.types.d.ts +6 -4
- package/dist/components/features/resource/index.d.ts +2 -3
- package/dist/components/features/resource/resource.d.ts +2 -10
- package/dist/components/features/resource/resource.types.d.ts +7 -149
- package/dist/components/features/resource-assignment/partials/assignment-surface.d.ts +15 -0
- package/dist/components/features/resource-assignment/resource-assignment.strings.d.ts +6 -1
- package/dist/components/features/resource-assignment/resource-assignment.types.d.ts +6 -0
- package/dist/components/features/rich-text-editor/partials/caret-helpers.d.ts +5 -7
- package/dist/components/features/rich-text-editor/partials/html-helpers.d.ts +2 -3
- package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +6 -2
- package/dist/components/features/rich-text-editor/partials/index.d.ts +2 -3
- package/dist/components/features/rich-text-editor/partials/rich-text-editor-tiptap.d.ts +0 -1
- package/dist/components/features/rich-text-editor/partials/rich-text-editor-toolbar.d.ts +2 -3
- package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +13 -1
- package/dist/components/features/schema-form/hooks/use-schema-form.d.ts +5 -0
- package/dist/components/features/schema-form/schema-form.d.ts +1 -1
- package/dist/components/features/schema-form/schema-form.types.d.ts +13 -5
- package/dist/components/features/suggestions/suggestions.strings.d.ts +14 -0
- package/dist/components/features/suggestions/suggestions.types.d.ts +12 -4
- package/dist/components/features/table/data-table.d.ts +1 -1
- package/dist/components/features/table/filter-bar.d.ts +1 -1
- package/dist/components/features/table/pagination.d.ts +1 -1
- package/dist/components/features/table/partials/cell-value.d.ts +1 -1
- package/dist/components/features/table/table-body.d.ts +1 -1
- package/dist/components/features/table/table-header.d.ts +1 -1
- package/dist/components/features/table/table-helpers.d.ts +31 -9
- package/dist/components/features/table/table-region.recipes.d.ts +11 -0
- package/dist/components/features/table/table-toolbar.d.ts +1 -1
- package/dist/components/features/table/table.strings.d.ts +1 -0
- package/dist/components/features/table/table.types.d.ts +74 -48
- package/dist/components/features/theme-tweaker/theme-provider-settings.d.ts +4 -0
- package/dist/components/features/theme-tweaker/theme-tweaker.strings.d.ts +10 -7
- package/dist/components/features/theme-tweaker/theme-tweaker.utils.d.ts +17 -0
- package/dist/components/layout/app-shell/app-shell.types.d.ts +46 -49
- package/dist/components/layout/app-shell/index.d.ts +2 -2
- package/dist/components/layout/app-shell/shell-regions.d.ts +9 -0
- package/dist/components/layout/app-shell/shell-skip-link.d.ts +9 -0
- package/dist/components/layout/app-shell/sidebar-inset-layout.d.ts +1 -1
- package/dist/components/layout/app-shell/stacked-layout.d.ts +1 -1
- package/dist/components/layout/app-shell/topbar-sidebar-layout.d.ts +1 -1
- package/dist/components/layout/auth/auth-shell.d.ts +1 -1
- package/dist/components/layout/auth/auth.types.d.ts +0 -5
- package/dist/components/layout/containers/inline-gutter-context.d.ts +7 -0
- package/dist/components/layout/containers/main-landmark-context.d.ts +6 -0
- package/dist/components/layout/header/header.types.d.ts +16 -6
- package/dist/components/layout/header/partials/header-global-search-trigger.d.ts +1 -1
- package/dist/components/layout/header/partials/header-notifications.d.ts +1 -1
- package/dist/components/layout/header/partials/header-search.d.ts +1 -1
- package/dist/components/layout/hooks/use-command-shortcut.d.ts +10 -1
- package/dist/components/layout/layout.types.d.ts +2 -2
- package/dist/components/layout/navigation/breadcrumb-progress/breadcrumb-progress.d.ts +1 -1
- package/dist/components/layout/navigation/breadcrumb-progress/types.d.ts +9 -0
- package/dist/components/layout/navigation/section-nav/section-nav.d.ts +8 -1
- package/dist/components/layout/page/index.d.ts +2 -3
- package/dist/components/layout/page/page.strings.d.ts +12 -0
- package/dist/components/layout/page/page.types.d.ts +7 -110
- package/dist/components/layout/page/partials/page-header.d.ts +1 -1
- package/dist/components/layout/settings/index.d.ts +1 -1
- package/dist/components/layout/settings/settings.d.ts +3 -5
- package/dist/components/layout/sidebar/app-sidebar.d.ts +1 -1
- package/dist/components/layout/sidebar/components/sidebar-grouped-navigation.d.ts +1 -1
- package/dist/components/layout/sidebar/components/sidebar-navigation-footer.d.ts +1 -1
- package/dist/components/layout/sidebar/components/sidebar-navigation.d.ts +1 -1
- package/dist/components/layout/sidebar/index.d.ts +1 -1
- package/dist/components/layout/sidebar/sidebar-navigation-rail.d.ts +15 -7
- package/dist/components/layout/sidebar/sidebar.types.d.ts +10 -12
- package/dist/components/layout/sidebar/sidebar.utils.d.ts +4 -0
- package/dist/components/layout/workspace/workspace.strings.d.ts +2 -2
- package/dist/components/layout/workspace/workspace.types.d.ts +13 -7
- package/dist/components/primitives/date.d.ts +22 -3
- package/dist/components/primitives/file-size.d.ts +8 -2
- package/dist/components/primitives/index.d.ts +1 -1
- package/dist/components/primitives/initials.d.ts +3 -1
- package/dist/components/primitives/link.d.ts +8 -1
- package/dist/components/primitives/money.d.ts +1 -1
- package/dist/components/primitives/number.d.ts +2 -1
- package/dist/components/typography/heading.d.ts +9 -3
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/text-link.d.ts +10 -3
- package/dist/components/ui/badge.d.ts +2 -4
- package/dist/components/ui/breadcrumb.d.ts +2 -3
- package/dist/components/ui/button.d.ts +8 -2
- package/dist/components/ui/collapsible.d.ts +1 -4
- package/dist/components/ui/command.d.ts +20 -18
- package/dist/components/ui/dialog.d.ts +3 -9
- package/dist/components/ui/empty.d.ts +2 -2
- package/dist/components/ui/input-group.d.ts +3 -3
- package/dist/components/ui/item.d.ts +3 -3
- package/dist/components/ui/popover.d.ts +3 -7
- package/dist/components/ui/sheet.d.ts +4 -12
- package/dist/components/ui/sidebar-state.d.ts +6 -1
- package/dist/components/ui/sidebar.d.ts +7 -4
- package/dist/components/ui/tabs.d.ts +2 -2
- package/dist/components/ui/toggle-group.d.ts +3 -3
- package/dist/components/ui/toggle.d.ts +2 -2
- package/dist/components/ui/tooltip.d.ts +1 -3
- package/dist/{containers-CSdc32h9.js → containers-BdfLTP4w.js} +37 -32
- package/dist/containers-BdfLTP4w.js.map +1 -0
- package/dist/content-block-hooks-Z3iKjqd1.js +17 -0
- package/dist/content-block-hooks-Z3iKjqd1.js.map +1 -0
- package/dist/{copyable-3fdHfMR3.js → copyable-Bmr14W0d.js} +6 -6
- package/dist/{copyable-3fdHfMR3.js.map → copyable-Bmr14W0d.js.map} +1 -1
- package/dist/{data-display-Cmj-xZYl.js → data-display-CWe9SOYh.js} +264 -251
- package/dist/data-display-CWe9SOYh.js.map +1 -0
- package/dist/date-3qsCE1ID.js +209 -0
- package/dist/date-3qsCE1ID.js.map +1 -0
- package/dist/{date-picker-CyQlFYsP.js → date-picker-D1keJQIG.js} +129 -129
- package/dist/date-picker-D1keJQIG.js.map +1 -0
- package/dist/date-pickers-D8aJoeHc.js +185 -0
- package/dist/date-pickers-D8aJoeHc.js.map +1 -0
- package/dist/disclosure-panel-B0HFNZ9x.js.map +1 -1
- package/dist/{display-CT_N2a3w.js → display-VlmP1I0i.js} +23 -46
- package/dist/display-VlmP1I0i.js.map +1 -0
- package/dist/{dropdown-menu-C08iIugv.js → dropdown-menu-B8hjvbkS.js} +9 -9
- package/dist/{dropdown-menu-C08iIugv.js.map → dropdown-menu-B8hjvbkS.js.map} +1 -1
- package/dist/dropzone-CHBNK3de.js +116 -0
- package/dist/dropzone-CHBNK3de.js.map +1 -0
- package/dist/features/activities.js +682 -628
- package/dist/features/activities.js.map +1 -1
- package/dist/features/ai-chat.js +258 -226
- package/dist/features/ai-chat.js.map +1 -1
- package/dist/features/appointment-calendar.js +436 -340
- package/dist/features/appointment-calendar.js.map +1 -1
- package/dist/features/async-preview.js +351 -265
- package/dist/features/async-preview.js.map +1 -1
- package/dist/features/combobox.js +2 -2
- package/dist/features/comments.js +1 -1
- package/dist/features/data-view.js +212 -151
- package/dist/features/data-view.js.map +1 -1
- package/dist/features/email-composer/engine.js +1 -1
- package/dist/features/email-composer.js +344 -315
- package/dist/features/email-composer.js.map +1 -1
- package/dist/features/event-calendar.js +504 -355
- package/dist/features/event-calendar.js.map +1 -1
- package/dist/features/filters.js +2 -2
- package/dist/features/global-search.js +250 -206
- package/dist/features/global-search.js.map +1 -1
- package/dist/features/kanban.js +269 -189
- package/dist/features/kanban.js.map +1 -1
- package/dist/features/map.js +385 -371
- package/dist/features/map.js.map +1 -1
- package/dist/features/media-library.js +1571 -1199
- package/dist/features/media-library.js.map +1 -1
- package/dist/features/mentions.js +2 -2
- package/dist/features/overlays.js +2 -2
- package/dist/features/products.js +1780 -1691
- package/dist/features/products.js.map +1 -1
- package/dist/features/questionnaire.js +165 -152
- package/dist/features/questionnaire.js.map +1 -1
- package/dist/features/resource-assignment.js +223 -191
- package/dist/features/resource-assignment.js.map +1 -1
- package/dist/features/resource.js +55 -220
- package/dist/features/resource.js.map +1 -1
- package/dist/features/rich-text-editor.js +3 -3
- package/dist/features/schema-form.js +280 -228
- package/dist/features/schema-form.js.map +1 -1
- package/dist/features/suggestions.js +48 -39
- package/dist/features/suggestions.js.map +1 -1
- package/dist/features/table.js +2 -2
- package/dist/features/theme-tweaker.js +723 -633
- package/dist/features/theme-tweaker.js.map +1 -1
- package/dist/feedback-DmqmXKLn.js +254 -0
- package/dist/feedback-DmqmXKLn.js.map +1 -0
- package/dist/{field-affordance-recipes-D6H7tVJi.js → field-affordance-recipes-DfbMadot.js} +13 -9
- package/dist/field-affordance-recipes-DfbMadot.js.map +1 -0
- package/dist/{field-state-recipes-7sza8QbC.js → field-state-recipes-EtCxpEy3.js} +6 -2
- package/dist/field-state-recipes-EtCxpEy3.js.map +1 -0
- package/dist/filters-BviMRMLS.js +2692 -0
- package/dist/filters-BviMRMLS.js.map +1 -0
- package/dist/{focus-recipes-B653VaLq.js → focus-recipes-DSkiUvUp.js} +3 -3
- package/dist/focus-recipes-DSkiUvUp.js.map +1 -0
- package/dist/{form-field-CAPdwdnZ.js → form-field-BdfCwSoQ.js} +5 -5
- package/dist/{form-field-CAPdwdnZ.js.map → form-field-BdfCwSoQ.js.map} +1 -1
- package/dist/{form-sizing-CgcrUbLU.js → form-sizing-DE_dZw32.js} +3 -3
- package/dist/{form-sizing-CgcrUbLU.js.map → form-sizing-DE_dZw32.js.map} +1 -1
- package/dist/{forms-B3W8CH7-.js → forms-B8DzJnBN.js} +35 -35
- package/dist/forms-B8DzJnBN.js.map +1 -0
- package/dist/forms-numeric-DOBswjKj.js +992 -0
- package/dist/forms-numeric-DOBswjKj.js.map +1 -0
- package/dist/{header-ZIIsRKxP.js → header-Cq3G0ZRP.js} +100 -95
- package/dist/header-Cq3G0ZRP.js.map +1 -0
- package/dist/{hooks-BitHSh-Y.js → hooks-DHfeSMAO.js} +34 -14
- package/dist/hooks-DHfeSMAO.js.map +1 -0
- package/dist/{http-D_6rOnzU.js → http-Cu-GPpss.js} +61 -35
- package/dist/http-Cu-GPpss.js.map +1 -0
- package/dist/{icon-badge-npxF1SLX.js → icon-badge-B0Kq7wom.js} +3 -3
- package/dist/{icon-badge-npxF1SLX.js.map → icon-badge-B0Kq7wom.js.map} +1 -1
- package/dist/index.js +6 -6
- package/dist/inline-gutter-context-CSqmrMFZ.js +11 -0
- package/dist/inline-gutter-context-CSqmrMFZ.js.map +1 -0
- package/dist/{input-DIREVYHs.js → input-2YrgTUrz.js} +3 -3
- package/dist/{input-DIREVYHs.js.map → input-2YrgTUrz.js.map} +1 -1
- package/dist/{input-7KAc7XQL.js → input-DfJyrjoR.js} +6 -6
- package/dist/{input-7KAc7XQL.js.map → input-DfJyrjoR.js.map} +1 -1
- package/dist/{interaction-recipes-4wZ2tvfb.js → interaction-recipes-DmuS1ase.js} +2 -2
- package/dist/{interaction-recipes-4wZ2tvfb.js.map → interaction-recipes-DmuS1ase.js.map} +1 -1
- package/dist/item-GJ9mvCcg.js +279 -0
- package/dist/item-GJ9mvCcg.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 +2 -2
- package/dist/layout/settings.js +2 -2
- package/dist/layout/sidebar.js +3 -3
- package/dist/layout/workspace.js +1 -1
- package/dist/layout.js +12 -12
- package/dist/{layout.types-E_GAApzO.js → layout.types-DbtnyAtd.js} +11 -8
- package/dist/layout.types-DbtnyAtd.js.map +1 -0
- package/dist/lib/anchored-positioning.d.ts +11 -0
- package/dist/lib/field-affordance-recipes.d.ts +10 -0
- package/dist/lib/field-state-recipes.d.ts +6 -0
- package/dist/lib/focus-recipes.d.ts +7 -0
- package/dist/lib/format.d.ts +25 -0
- package/dist/lib/money-format.d.ts +6 -0
- package/dist/lib/motion-recipes.d.ts +6 -0
- package/dist/lib/surface-recipes.d.ts +32 -2
- package/dist/lib/theme-scope.d.ts +17 -1
- package/dist/lib/token-merge.generated.d.ts +13 -19
- package/dist/lib/ui-provider/index.d.ts +1 -1
- package/dist/lib/ui-provider/types.d.ts +5 -0
- package/dist/lib/use-controllable-state.d.ts +16 -0
- package/dist/lib/use-copy-feedback.d.ts +15 -0
- package/dist/lib/utils.js +1 -1
- package/dist/lib/variant-props.d.ts +9 -0
- package/dist/main-landmark-context-BAsyqp2I.js +11 -0
- package/dist/main-landmark-context-BAsyqp2I.js.map +1 -0
- package/dist/mentions-zz0ewNIq.js +670 -0
- package/dist/mentions-zz0ewNIq.js.map +1 -0
- package/dist/{message-BJHnn43M.js → message-BiiVrRrm.js} +10 -7
- package/dist/{message-BJHnn43M.js.map → message-BiiVrRrm.js.map} +1 -1
- package/dist/{metadata-list-XkqZ_UXH.js → metadata-list-G85roWjS.js} +13 -12
- package/dist/metadata-list-G85roWjS.js.map +1 -0
- package/dist/{motion-recipes-DitYv6P2.js → motion-recipes-CUc_aHuG.js} +7 -4
- package/dist/motion-recipes-CUc_aHuG.js.map +1 -0
- package/dist/navigation-C0Be5C3i.js +304 -0
- package/dist/navigation-C0Be5C3i.js.map +1 -0
- package/dist/{navigation-Bt-v7rWP.js → navigation-CmqaQR_G.js} +99 -103
- package/dist/navigation-CmqaQR_G.js.map +1 -0
- package/dist/number-NFWKIoiK.js +340 -0
- package/dist/number-NFWKIoiK.js.map +1 -0
- package/dist/{overflow-tab-bar-BQCA2Zn2.js → overflow-tab-bar-DV7HE_3t.js} +8 -8
- package/dist/{overflow-tab-bar-BQCA2Zn2.js.map → overflow-tab-bar-DV7HE_3t.js.map} +1 -1
- package/dist/overlays-D-gAIfPF.js +1018 -0
- package/dist/overlays-D-gAIfPF.js.map +1 -0
- package/dist/page-D4pQhgSq.js +216 -0
- package/dist/page-D4pQhgSq.js.map +1 -0
- package/dist/{page-header-commands-DIKspJfx.js → page-header-commands-elelNOfd.js} +29 -29
- package/dist/{page-header-commands-DIKspJfx.js.map → page-header-commands-elelNOfd.js.map} +1 -1
- package/dist/{pagination-Br8TdV9A.js → pagination-BuSWw1US.js} +22 -23
- package/dist/pagination-BuSWw1US.js.map +1 -0
- package/dist/{popover-k8TdUcAt.js → popover-BpMxbqEK.js} +73 -69
- package/dist/popover-BpMxbqEK.js.map +1 -0
- package/dist/{popover-menu-yn-o0kyA.js → popover-menu-CO-_iiuz.js} +7 -7
- package/dist/{popover-menu-yn-o0kyA.js.map → popover-menu-CO-_iiuz.js.map} +1 -1
- package/dist/{popover.recipes-DJ0AkUan.js → popover.recipes-BqkdvlZn.js} +3 -4
- package/dist/{popover.recipes-DJ0AkUan.js.map → popover.recipes-BqkdvlZn.js.map} +1 -1
- package/dist/{portal-recipes-DyUXqUtD.js → portal-recipes-BPeS4rGB.js} +2 -2
- package/dist/{portal-recipes-DyUXqUtD.js.map → portal-recipes-BPeS4rGB.js.map} +1 -1
- package/dist/primitives-BlC1lXBr.js +447 -0
- package/dist/primitives-BlC1lXBr.js.map +1 -0
- package/dist/primitives.js +4 -4
- package/dist/{progress-DZFXXzPs.js → progress-RARK8AjB.js} +5 -5
- package/dist/{progress-DZFXXzPs.js.map → progress-RARK8AjB.js.map} +1 -1
- package/dist/receipt-CUf2Vegp.js +114 -0
- package/dist/receipt-CUf2Vegp.js.map +1 -0
- package/dist/{rich-text-BnTzZjIo.js → rich-text-Cypm9__d.js} +7 -8
- package/dist/{rich-text-BnTzZjIo.js.map → rich-text-Cypm9__d.js.map} +1 -1
- package/dist/rich-text-editor-Z6cQepsA.js +919 -0
- package/dist/rich-text-editor-Z6cQepsA.js.map +1 -0
- package/dist/rich-text-editor-toolbar-DYbRJARB.js +100 -0
- package/dist/rich-text-editor-toolbar-DYbRJARB.js.map +1 -0
- package/dist/rich-text-tree-DdKHIJx4.js +154 -0
- package/dist/rich-text-tree-DdKHIJx4.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/{scroll-area-Bj6CRUif.js → scroll-area-B9HKbji0.js} +3 -3
- package/dist/{scroll-area-Bj6CRUif.js.map → scroll-area-B9HKbji0.js.map} +1 -1
- package/dist/{separator-DM6gs2vu.js → separator-DaDe26sf.js} +3 -3
- package/dist/separator-DaDe26sf.js.map +1 -0
- package/dist/{separator-B9ewiCGO.js → separator-KGsNXt2J.js} +2 -2
- package/dist/{separator-B9ewiCGO.js.map → separator-KGsNXt2J.js.map} +1 -1
- package/dist/services/actions/action-adapters.d.ts +5 -2
- package/dist/services/actions/index.d.ts +1 -1
- package/dist/services/actions.js +2 -2
- package/dist/services/actions.js.map +1 -1
- package/dist/settings-D5j_RJvT.js +160 -0
- package/dist/settings-D5j_RJvT.js.map +1 -0
- package/dist/sheet-B6j_BE9O.js +241 -0
- package/dist/sheet-B6j_BE9O.js.map +1 -0
- package/dist/{sidebar-CmD6a-HK.js → sidebar-C-iQ_TJP.js} +377 -351
- package/dist/sidebar-C-iQ_TJP.js.map +1 -0
- package/dist/sidebar-D5VO2W8S.js +715 -0
- package/dist/sidebar-D5VO2W8S.js.map +1 -0
- package/dist/{skeleton-DDgdhmu9.js → skeleton-Cab_KgVo.js} +12 -12
- package/dist/skeleton-Cab_KgVo.js.map +1 -0
- package/dist/{smart-card-B6vLxqa_.js → smart-card-C59z6KFO.js} +217 -210
- package/dist/smart-card-C59z6KFO.js.map +1 -0
- package/dist/{structure-DZJ2wbAU.js → structure-DElaQwwN.js} +2 -2
- package/dist/{structure-DZJ2wbAU.js.map → structure-DElaQwwN.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{surface-recipes-C8mNycaY.js → surface-recipes-DV6rrOFq.js} +10 -2
- package/dist/surface-recipes-DV6rrOFq.js.map +1 -0
- package/dist/{table-CXSPHH25.js → table-CSRUgpdK.js} +62 -61
- package/dist/table-CSRUgpdK.js.map +1 -0
- package/dist/table-DdXDBsR_.js +1657 -0
- package/dist/table-DdXDBsR_.js.map +1 -0
- package/dist/{tabs-C4Kr_hCr.js → tabs-WnHfV2pM.js} +27 -27
- package/dist/tabs-WnHfV2pM.js.map +1 -0
- package/dist/{text-inputs-jdkS3ReG.js → text-inputs-ljyBYaCd.js} +112 -112
- package/dist/text-inputs-ljyBYaCd.js.map +1 -0
- package/dist/theme.css +21 -5
- package/dist/timelines-mOmS9Eh3.js +479 -0
- package/dist/timelines-mOmS9Eh3.js.map +1 -0
- package/dist/tooltip-yjX-Uv-p.js +112 -0
- package/dist/tooltip-yjX-Uv-p.js.map +1 -0
- package/dist/{tree-CeYVzdFE.js → tree-YpkxUG2Z.js} +80 -72
- package/dist/tree-YpkxUG2Z.js.map +1 -0
- package/dist/typography/rich-text.js +1 -1
- package/dist/{typography-C7-YMW1S.js → typography-C0dELqYV.js} +46 -40
- package/dist/typography-C0dELqYV.js.map +1 -0
- package/dist/typography.js +1 -1
- package/dist/{ui-provider-C-74NVLc.js → ui-provider-Bu1S-o96.js} +4 -3
- package/dist/ui-provider-Bu1S-o96.js.map +1 -0
- package/dist/ui-provider.js +2 -2
- package/dist/{upload-Hdm5gObf.js → upload-DMuMYJFT.js} +276 -268
- package/dist/upload-DMuMYJFT.js.map +1 -0
- package/dist/{usage-card-9s8hLDfn.js → usage-card-DDPki5P1.js} +57 -54
- package/dist/usage-card-DDPki5P1.js.map +1 -0
- package/dist/use-controllable-state-BlP8SyBI.js +13 -0
- package/dist/use-controllable-state-BlP8SyBI.js.map +1 -0
- package/dist/use-copy-feedback-CzcaqlLf.js +28 -0
- package/dist/use-copy-feedback-CzcaqlLf.js.map +1 -0
- package/dist/use-metric-format-options-Dk4rC1NO.js +251 -0
- package/dist/use-metric-format-options-Dk4rC1NO.js.map +1 -0
- package/dist/{utils-DhuoqFy4.js → utils-BVbAG2J6.js} +98 -76
- package/dist/utils-BVbAG2J6.js.map +1 -0
- package/dist/value-inputs-h5MwjGCo.js +982 -0
- package/dist/value-inputs-h5MwjGCo.js.map +1 -0
- package/dist/value-typography-D15uwfj-.js +154 -0
- package/dist/value-typography-D15uwfj-.js.map +1 -0
- package/dist/workspace-DIryPqBt.js +400 -0
- package/dist/workspace-DIryPqBt.js.map +1 -0
- package/docs/consumer-skill/SKILL.md +7 -0
- package/docs/consumer-skill/agents/themelia-ui-designer.md +11 -2
- package/docs/consumer-skill/examples/analytics.tsx +1 -1
- package/docs/consumer-skill/examples/app-layout.tsx +3 -3
- package/docs/consumer-skill/examples/commerce-lines.tsx +7 -5
- package/docs/consumer-skill/examples/detail.tsx +3 -2
- package/docs/consumer-skill/examples/email-composer.tsx +1 -1
- package/docs/consumer-skill/examples/index-table.tsx +2 -2
- package/docs/consumer-skill/examples/scoped-directory.tsx +7 -6
- package/docs/consumer-skill/references/agents-md.md +20 -16
- package/docs/consumer-skill/references/analytics.md +20 -6
- package/docs/consumer-skill/references/building-views.md +213 -0
- package/docs/consumer-skill/references/catalogue.md +617 -0
- package/docs/consumer-skill/references/component-contracts.json +10202 -18084
- package/docs/consumer-skill/references/composition.md +21 -17
- package/docs/consumer-skill/references/discovery.md +8 -5
- package/docs/consumer-skill/references/installation.md +10 -4
- package/docs/consumer-skill/references/integration.md +5 -5
- package/docs/consumer-skill/references/product-composition.md +2 -2
- package/docs/consumer-skill/references/public-api.json +580 -633
- package/docs/consumer-skill/references/review.md +6 -4
- package/docs/consumer-skill/references/screen-archetypes.md +2 -2
- package/docs/consumer-skill/references/theming.md +1 -1
- package/docs/consumer-skill/references/tokens.json +4 -4
- package/docs/consumer-skill/references/workflows.md +7 -7
- package/docs/consumer-skill/scripts/composition-policy.mjs +40 -20
- package/docs/consumer-skill/scripts/composition.mjs +4 -1
- package/docs/consumer-skill/scripts/discovery.mjs +3 -1
- package/docs/consumer-skill/scripts/setup-skills.mjs +31 -4
- package/docs/consumer-skills/themelia-components/SKILL.md +8 -4
- package/docs/consumer-skills/themelia-composition/SKILL.md +7 -3
- package/docs/consumer-skills/themelia-design/SKILL.md +7 -1
- package/docs/consumer-skills/themelia-tokenization/SKILL.md +1 -1
- package/package.json +9 -12
- package/templates/README.md +3 -2
- package/templates/admin-shell-template.tsx +49 -9
- package/templates/analytics-operations-template.tsx +20 -24
- package/templates/customers-template.tsx +12 -9
- package/templates/index.ts +2 -8
- package/templates/orders-template.tsx +28 -24
- package/templates/products-template.tsx +14 -4
- package/templates/user-permissions-template.tsx +11 -14
- package/dist/accordion-0tQUZ20r.js.map +0 -1
- package/dist/action-menu-C0gjzLyE.js +0 -284
- package/dist/action-menu-C0gjzLyE.js.map +0 -1
- package/dist/ai-artifact-CGGpQryR.js +0 -1200
- package/dist/ai-artifact-CGGpQryR.js.map +0 -1
- package/dist/anchored-positioning-DPnKTvNs.js +0 -6
- package/dist/anchored-positioning-DPnKTvNs.js.map +0 -1
- package/dist/app-shell-EHuuRDGy.js +0 -321
- package/dist/app-shell-EHuuRDGy.js.map +0 -1
- package/dist/auth-B0girIk_.js.map +0 -1
- package/dist/badge-wWauMgAt.js.map +0 -1
- package/dist/base/sheet.js +0 -3
- package/dist/breadcrumbs-Bp9Ke7kd.js.map +0 -1
- package/dist/button-ChBovTx0.js.map +0 -1
- package/dist/buttons-DeW0bQeK.js.map +0 -1
- package/dist/cascader-CrAl9zD5.js +0 -439
- package/dist/cascader-CrAl9zD5.js.map +0 -1
- package/dist/choice-inputs-DHGtx0QV.js.map +0 -1
- package/dist/code-block-BSJyq9e-.js.map +0 -1
- package/dist/collapsible-BzJ91LUG.js +0 -81
- package/dist/collapsible-BzJ91LUG.js.map +0 -1
- package/dist/combobox-Bcvu5J8O.js +0 -363
- package/dist/combobox-Bcvu5J8O.js.map +0 -1
- package/dist/combobox-C2JiSQPc.js +0 -915
- package/dist/combobox-C2JiSQPc.js.map +0 -1
- package/dist/command-9e52NPgK.js +0 -425
- package/dist/command-9e52NPgK.js.map +0 -1
- package/dist/comments-BsgErEqd.js +0 -1174
- package/dist/comments-BsgErEqd.js.map +0 -1
- package/dist/components/base/buttons/tooltip-button.d.ts +0 -7
- package/dist/components/base/display/content-block.d.ts +0 -75
- package/dist/components/base/display/content-block.strings.d.ts +0 -5
- package/dist/components/base/sheet/index.d.ts +0 -29
- package/dist/components/blocks/ai/use-copy-feedback.d.ts +0 -6
- package/dist/components/blocks/data-display/metadata/index.d.ts +0 -30
- package/dist/components/features/mentions/utils/split-html-by-mentions.d.ts +0 -10
- package/dist/components/features/resource/resource.strings.d.ts +0 -12
- package/dist/components/features/rich-text-editor/partials/rich-text-editor-fallback.d.ts +0 -8
- package/dist/components/features/sync/index.d.ts +0 -26
- package/dist/components/features/sync/sync-range-dialog-form.d.ts +0 -5
- package/dist/components/features/sync/sync.strings.d.ts +0 -18
- package/dist/components/features/sync/sync.types.d.ts +0 -44
- package/dist/components/layout/page/partials/page-actions.d.ts +0 -3
- package/dist/components/ui/slot.d.ts +0 -6
- package/dist/containers-CSdc32h9.js.map +0 -1
- package/dist/data-display-Cmj-xZYl.js.map +0 -1
- package/dist/date-Br0FicVv.js +0 -144
- package/dist/date-Br0FicVv.js.map +0 -1
- package/dist/date-picker-CyQlFYsP.js.map +0 -1
- package/dist/date-pickers-tj2MXmXd.js +0 -185
- package/dist/date-pickers-tj2MXmXd.js.map +0 -1
- package/dist/display-CT_N2a3w.js.map +0 -1
- package/dist/features/sync.js +0 -142
- package/dist/features/sync.js.map +0 -1
- package/dist/feedback-Dzo1xtAU.js +0 -246
- package/dist/feedback-Dzo1xtAU.js.map +0 -1
- package/dist/field-affordance-recipes-D6H7tVJi.js.map +0 -1
- package/dist/field-state-recipes-7sza8QbC.js.map +0 -1
- package/dist/filters-Dl80yYtN.js +0 -2415
- package/dist/filters-Dl80yYtN.js.map +0 -1
- package/dist/focus-recipes-B653VaLq.js.map +0 -1
- package/dist/forms-B3W8CH7-.js.map +0 -1
- package/dist/forms-numeric-CwjQJe-O.js +0 -991
- package/dist/forms-numeric-CwjQJe-O.js.map +0 -1
- package/dist/header-ZIIsRKxP.js.map +0 -1
- package/dist/hooks-BitHSh-Y.js.map +0 -1
- package/dist/http-D_6rOnzU.js.map +0 -1
- package/dist/item-FfWnaYST.js +0 -278
- package/dist/item-FfWnaYST.js.map +0 -1
- package/dist/layout.types-E_GAApzO.js.map +0 -1
- package/dist/media-gallery-C81DAnKI.js +0 -203
- package/dist/media-gallery-C81DAnKI.js.map +0 -1
- package/dist/mentions-qOnedSt4.js +0 -639
- package/dist/mentions-qOnedSt4.js.map +0 -1
- package/dist/metadata-list-XkqZ_UXH.js.map +0 -1
- package/dist/motion-recipes-DitYv6P2.js.map +0 -1
- package/dist/navigation-BgtPJAhi.js +0 -288
- package/dist/navigation-BgtPJAhi.js.map +0 -1
- package/dist/navigation-Bt-v7rWP.js.map +0 -1
- package/dist/number-CYqBcrSj.js +0 -346
- package/dist/number-CYqBcrSj.js.map +0 -1
- package/dist/overlays-CC8zI3Du.js +0 -1017
- package/dist/overlays-CC8zI3Du.js.map +0 -1
- package/dist/page-BoQ1VaFJ.js +0 -331
- package/dist/page-BoQ1VaFJ.js.map +0 -1
- package/dist/pagination-Br8TdV9A.js.map +0 -1
- package/dist/popover-k8TdUcAt.js.map +0 -1
- package/dist/primitives-BkkQjYl7.js +0 -385
- package/dist/primitives-BkkQjYl7.js.map +0 -1
- package/dist/receipt-C7LhOg7Q.js +0 -116
- package/dist/receipt-C7LhOg7Q.js.map +0 -1
- package/dist/rich-text-editor-CAurDwT5.js +0 -1273
- package/dist/rich-text-editor-CAurDwT5.js.map +0 -1
- package/dist/rich-text-editor-toolbar-DbXig7Jk.js +0 -99
- package/dist/rich-text-editor-toolbar-DbXig7Jk.js.map +0 -1
- package/dist/rich-text-tree-BqyQ_7-R.js +0 -66
- package/dist/rich-text-tree-BqyQ_7-R.js.map +0 -1
- package/dist/sanitize-html-BWkH4dLM.js +0 -105
- package/dist/sanitize-html-BWkH4dLM.js.map +0 -1
- package/dist/separator-DM6gs2vu.js.map +0 -1
- package/dist/settings-DZPHgpx4.js +0 -155
- package/dist/settings-DZPHgpx4.js.map +0 -1
- package/dist/sheet-C4DHsgLk.js +0 -250
- package/dist/sheet-C4DHsgLk.js.map +0 -1
- package/dist/sidebar-C8BnDwTH.js +0 -709
- package/dist/sidebar-C8BnDwTH.js.map +0 -1
- package/dist/sidebar-CmD6a-HK.js.map +0 -1
- package/dist/skeleton-DDgdhmu9.js.map +0 -1
- package/dist/slot-CLF9kLrS.js +0 -16
- package/dist/slot-CLF9kLrS.js.map +0 -1
- package/dist/smart-card-B6vLxqa_.js.map +0 -1
- package/dist/surface-recipes-C8mNycaY.js.map +0 -1
- package/dist/table-CBonSdTp.js +0 -1584
- package/dist/table-CBonSdTp.js.map +0 -1
- package/dist/table-CXSPHH25.js.map +0 -1
- package/dist/tabs-C4Kr_hCr.js.map +0 -1
- package/dist/text-inputs-jdkS3ReG.js.map +0 -1
- package/dist/timelines-CoPwdJP0.js +0 -458
- package/dist/timelines-CoPwdJP0.js.map +0 -1
- package/dist/tooltip-31NwIpTo.js +0 -113
- package/dist/tooltip-31NwIpTo.js.map +0 -1
- package/dist/tree-CeYVzdFE.js.map +0 -1
- package/dist/typography-C7-YMW1S.js.map +0 -1
- package/dist/ui-provider-C-74NVLc.js.map +0 -1
- package/dist/upload-Hdm5gObf.js.map +0 -1
- package/dist/upload-queue-D0sYPuqo.js +0 -409
- package/dist/upload-queue-D0sYPuqo.js.map +0 -1
- package/dist/usage-card-9s8hLDfn.js.map +0 -1
- package/dist/utils-DhuoqFy4.js.map +0 -1
- package/dist/value-inputs-D3aPgq9H.js +0 -980
- package/dist/value-inputs-D3aPgq9H.js.map +0 -1
- package/dist/value-typography-uSzzG9Gf.js +0 -122
- package/dist/value-typography-uSzzG9Gf.js.map +0 -1
- package/dist/workspace-CC8Vchiu.js +0 -411
- package/dist/workspace-CC8Vchiu.js.map +0 -1
|
@@ -6,10 +6,12 @@ export interface FilterOperatorSelectProps {
|
|
|
6
6
|
/** Comparisons this filter offers. */
|
|
7
7
|
operators: OperatorOption[];
|
|
8
8
|
onOperatorChange: (operator: FilterOperator) => void;
|
|
9
|
+
/** Keeps the menu closed, for example while a filter change is applying. */
|
|
10
|
+
disabled?: boolean;
|
|
9
11
|
/** Segment-reset classes forwarded by the parent pill so the trigger
|
|
10
12
|
* drops its base border + focus ring (it lives inside a segmented
|
|
11
13
|
* pill, not as a standalone button). */
|
|
12
|
-
|
|
14
|
+
segmentResetClassName?: string;
|
|
13
15
|
}
|
|
14
16
|
/**
|
|
15
17
|
* FilterOperatorSelect — operator dropdown for an active filter pill.
|
|
@@ -19,4 +21,4 @@ export interface FilterOperatorSelectProps {
|
|
|
19
21
|
* `header` slot supplies the "Operator" display label, and item rendering
|
|
20
22
|
* keeps density-tokenized padding while primary labels follow Typography.
|
|
21
23
|
*/
|
|
22
|
-
export declare function FilterOperatorSelect({ operator, operators, onOperatorChange,
|
|
24
|
+
export declare function FilterOperatorSelect({ operator, operators, onOperatorChange, disabled, segmentResetClassName, }: FilterOperatorSelectProps): React.JSX.Element;
|
|
@@ -17,7 +17,11 @@ export interface FilterPillProps {
|
|
|
17
17
|
availableFilters: FilterConfig[];
|
|
18
18
|
/** Active regular filters list (for the popover header / context). */
|
|
19
19
|
activeFilters: FilterConfig[];
|
|
20
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Optional flag a custom strip can read: it is true for 100 ms after an
|
|
22
|
+
* operator change, and the pill does not open its editor while it is set.
|
|
23
|
+
* Without it the editor opens as soon as it is asked to.
|
|
24
|
+
*/
|
|
21
25
|
operatorChangeRef?: React.MutableRefObject<boolean>;
|
|
22
26
|
}
|
|
23
27
|
export declare function FilterPill({ filter, value, active, operator, operators, onOperatorChange, onValueChange, onClear, availableFilters, activeFilters, operatorChangeRef, }: FilterPillProps): import("react").JSX.Element;
|
|
@@ -5,7 +5,8 @@ export interface FilterTabsProps {
|
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* Single-selection filter preset buttons with Base UI roving keyboard navigation.
|
|
8
|
-
* These change filters rather than switch associated tab panels
|
|
8
|
+
* These change filters rather than switch associated tab panels, so arrow keys
|
|
9
|
+
* only move focus; Enter, Space or a click applies a tab's presets.
|
|
9
10
|
*
|
|
10
11
|
* - "All" tab (empty presets): active when zero non-search active filters
|
|
11
12
|
* - Named tabs: active when presets exactly match non-search active filters
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FilterConfig, FilterTriggerSource } from '../filters.types';
|
|
2
2
|
interface RegularFilterContentProps {
|
|
3
3
|
/** Definition of the filter this control edits. */
|
|
4
4
|
filter: FilterConfig;
|
|
@@ -31,14 +31,36 @@ export declare function getFilterOptionLabel(filter: FilterConfig, value: string
|
|
|
31
31
|
*/
|
|
32
32
|
export declare function getFilterOptionIcon(filter: FilterConfig, value: string): ReactNode | undefined;
|
|
33
33
|
/**
|
|
34
|
-
* Validates a filter value against the filter configuration
|
|
34
|
+
* Validates a filter value against the filter configuration.
|
|
35
|
+
*
|
|
36
|
+
* The provider holds every value as a string array, so an array is checked
|
|
37
|
+
* entry by entry: `required` rejects an empty array, `pattern` tests each
|
|
38
|
+
* non-empty entry, and `min`/`max` test each bound of a RANGE filter. A scalar
|
|
39
|
+
* number or string is checked directly, as before. `custom` receives the
|
|
40
|
+
* whole value.
|
|
35
41
|
*
|
|
36
42
|
* @param filter - The filter configuration to validate against
|
|
37
43
|
* @param value - The value to validate
|
|
38
|
-
* @param t
|
|
44
|
+
* @param t - Resolves a `validation.*` string path to its copy
|
|
39
45
|
* @returns true if valid, or an error message string if invalid
|
|
40
46
|
*/
|
|
41
47
|
export declare function validateFilterValue(filter: FilterConfig, value: unknown, t: (key: string) => string): boolean | string;
|
|
48
|
+
/**
|
|
49
|
+
* The message to show for a draft that fails its filter's `validation`, or
|
|
50
|
+
* undefined when it may be applied. A bare `false` reads as an invalid format.
|
|
51
|
+
*/
|
|
52
|
+
export declare function getFilterValidationMessage(filter: FilterConfig, value: unknown, strings: {
|
|
53
|
+
validation: {
|
|
54
|
+
required: string;
|
|
55
|
+
minValue: string;
|
|
56
|
+
maxValue: string;
|
|
57
|
+
invalidFormat: string;
|
|
58
|
+
};
|
|
59
|
+
}): string | undefined;
|
|
60
|
+
/** Whether a filter holds several values: MULTI_SELECT, TAGS, or any filter with `multiple`. */
|
|
61
|
+
export declare function isMultiValueFilter(config: Pick<FilterConfig, 'type' | 'multiple'>): boolean;
|
|
62
|
+
/** Whether two filter values hold the same entries in the same order. */
|
|
63
|
+
export declare function isSameFilterValue(a: readonly string[] | undefined, b: readonly string[] | undefined): boolean;
|
|
42
64
|
/**
|
|
43
65
|
* Formats a filter value for display using either the format function provided
|
|
44
66
|
* in the filter config, or by looking up option labels
|
|
@@ -49,11 +71,14 @@ export declare function validateFilterValue(filter: FilterConfig, value: unknown
|
|
|
49
71
|
*/
|
|
50
72
|
export declare function formatFilterValue(filter: FilterConfig, value: unknown): string;
|
|
51
73
|
/**
|
|
52
|
-
* Gets the values of dependent filters
|
|
74
|
+
* Gets the values of dependent filters. A headless helper for
|
|
75
|
+
* `FilterConfig.dependencies`; FilterLayout does not call it.
|
|
53
76
|
*/
|
|
54
77
|
export declare function getDependentFilterValues(dependencies: FilterDependency[], filterState: Record<string, string[]>): Record<string, string[]>;
|
|
55
78
|
/**
|
|
56
|
-
* Determines if a filter should be shown based on its dependencies
|
|
79
|
+
* Determines if a filter should be shown based on its dependencies. A
|
|
80
|
+
* headless helper for `FilterConfig.dependencies`; FilterLayout does not call it.
|
|
57
81
|
*/
|
|
58
82
|
export declare function shouldShowFilter(filter: FilterConfig, filterState: Record<string, string[]>): boolean;
|
|
83
|
+
/** Reads `FilterConfig.defaultValue` per key. A headless helper; the provider does not call it. */
|
|
59
84
|
export declare function extractFilterDefaults<T extends string = string>(filters: FilterConfig[]): Record<T, string>;
|
|
@@ -4,10 +4,16 @@ export interface GlobalSearchDialogProps<TGroup extends string = string> extends
|
|
|
4
4
|
open: boolean;
|
|
5
5
|
/** Open-state callback. Fires on Escape, backdrop click, and result selection. */
|
|
6
6
|
onOpenChange: (open: boolean) => void;
|
|
7
|
+
/**
|
|
8
|
+
* Closes the palette after a result is chosen, once `onResultSelect` has run.
|
|
9
|
+
* Default: `true`. Set `false` to keep it open, for example to pick several
|
|
10
|
+
* results in a row.
|
|
11
|
+
*/
|
|
12
|
+
closeOnSelect?: boolean;
|
|
7
13
|
/** Classes for the dialog surface that positions the palette. */
|
|
8
14
|
contentClassName?: string;
|
|
9
15
|
}
|
|
10
|
-
export declare function GlobalSearchDialog<TGroup extends string = string>({ open, onOpenChange, contentClassName, className, strings: stringsProp, autoFocus, ...searchProps }: GlobalSearchDialogProps<TGroup>): import("react").JSX.Element;
|
|
16
|
+
export declare function GlobalSearchDialog<TGroup extends string = string>({ open, onOpenChange, contentClassName, className, strings: stringsProp, autoFocus, closeOnSelect, onResultSelect, ...searchProps }: GlobalSearchDialogProps<TGroup>): import("react").JSX.Element;
|
|
11
17
|
export declare namespace GlobalSearchDialog {
|
|
12
18
|
var displayName: string;
|
|
13
19
|
}
|
|
@@ -34,6 +34,12 @@ export interface GlobalSearchProps<TGroup extends string = string> {
|
|
|
34
34
|
onClose?: () => void;
|
|
35
35
|
/** Loading flag — switches the input spinner and renders the loading slot. */
|
|
36
36
|
loading?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Characters (without surrounding whitespace) a query needs before an empty
|
|
39
|
+
* result list reads as "no results". Shorter queries show the idle content,
|
|
40
|
+
* or a hint when there is none. Default: `2`.
|
|
41
|
+
*/
|
|
42
|
+
minQueryLength?: number;
|
|
37
43
|
/** Idle-state sections (Recent / Suggestions / …). */
|
|
38
44
|
idleSections?: ReadonlyArray<GlobalSearchIdleSection>;
|
|
39
45
|
/** Override default group labels in the tab strip. */
|
|
@@ -49,4 +55,4 @@ export interface GlobalSearchProps<TGroup extends string = string> {
|
|
|
49
55
|
/** Wrapper className. */
|
|
50
56
|
className?: string;
|
|
51
57
|
}
|
|
52
|
-
export declare function GlobalSearch<TGroup extends string = string>({ results, query, onQueryChange, onResultSelect, onClose, loading, idleSections, groupLabels, autoFocus, strings: stringsProp, slots, tabs, className, }: GlobalSearchProps<TGroup>): React.JSX.Element;
|
|
58
|
+
export declare function GlobalSearch<TGroup extends string = string>({ results, query, onQueryChange, onResultSelect, onClose, loading, minQueryLength, idleSections, groupLabels, autoFocus, strings: stringsProp, slots, tabs, className, }: GlobalSearchProps<TGroup>): React.JSX.Element;
|
|
@@ -16,10 +16,15 @@ export interface GlobalSearchStrings {
|
|
|
16
16
|
emptyTitle: string;
|
|
17
17
|
/** Empty-state body copy. */
|
|
18
18
|
emptyHint: string;
|
|
19
|
-
/**
|
|
19
|
+
/** Heading for the first idle section when it supplies no `label`. */
|
|
20
20
|
idleRecent: string;
|
|
21
|
-
/**
|
|
21
|
+
/** Heading for every later idle section that supplies no `label`. */
|
|
22
22
|
idleSuggestions: string;
|
|
23
|
+
/**
|
|
24
|
+
* Shown when something was typed but the query is still shorter than
|
|
25
|
+
* `minQueryLength` and there is no idle content. `{{count}}` is the threshold.
|
|
26
|
+
*/
|
|
27
|
+
idleHint?: string;
|
|
23
28
|
/** Tab label for the "All" tab. */
|
|
24
29
|
tabAll: string;
|
|
25
30
|
/** Footer "navigate" hint. */
|
|
@@ -28,9 +33,20 @@ export interface GlobalSearchStrings {
|
|
|
28
33
|
footerOpen: string;
|
|
29
34
|
/** Footer "close" hint. */
|
|
30
35
|
footerClose: string;
|
|
31
|
-
/** Trailing N results count. */
|
|
36
|
+
/** Trailing N results count, as a `{{count}}` template. */
|
|
32
37
|
resultsCount: string;
|
|
38
|
+
/**
|
|
39
|
+
* Builds the results count from the number, for languages whose plural forms
|
|
40
|
+
* a single template cannot express. Wins over `resultsCount` when supplied.
|
|
41
|
+
*/
|
|
42
|
+
formatResultsCount?: (count: number) => string;
|
|
33
43
|
/** "See all" group action — jumps to that tab. */
|
|
34
44
|
seeAll: string;
|
|
35
45
|
}
|
|
36
46
|
export declare const defaultGlobalSearchStrings: GlobalSearchStrings;
|
|
47
|
+
/**
|
|
48
|
+
* Count copy for the footer and the status announcement. The untouched English
|
|
49
|
+
* template reads "1 result" for a single hit; an overridden template is used
|
|
50
|
+
* as written, and `formatResultsCount` takes over entirely.
|
|
51
|
+
*/
|
|
52
|
+
export declare function formatGlobalSearchResultsCount(strings: GlobalSearchStrings, count: number): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LucideIcon } from 'lucide-react';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
2
|
+
import type { KeyboardEvent, ReactNode } from 'react';
|
|
3
3
|
import type { SemanticTone } from '../../../lib/component-vocabulary';
|
|
4
4
|
/** Subtle tone applied to thumbnail/avatar backgrounds. */
|
|
5
5
|
export type GlobalSearchTone = Exclude<SemanticTone, 'secondary'>;
|
|
@@ -60,8 +60,11 @@ export interface GlobalSearchResult<TGroup extends string = string> {
|
|
|
60
60
|
export interface GlobalSearchIdleSection {
|
|
61
61
|
/** Stable identity for this entry. */
|
|
62
62
|
id: string;
|
|
63
|
-
/**
|
|
64
|
-
|
|
63
|
+
/**
|
|
64
|
+
* Section heading. When omitted, `GlobalSearch` uses `strings.idleRecent`
|
|
65
|
+
* for the first section and `strings.idleSuggestions` for the others.
|
|
66
|
+
*/
|
|
67
|
+
label?: string;
|
|
65
68
|
/** Leading glyph. */
|
|
66
69
|
icon?: LucideIcon;
|
|
67
70
|
items: Array<{
|
|
@@ -88,13 +91,34 @@ export interface GlobalSearchRenderResultContext {
|
|
|
88
91
|
/** Id of the option wrapping this row, which the search field names as its active descendant. */
|
|
89
92
|
optionId?: string;
|
|
90
93
|
}
|
|
94
|
+
/** What a replacement search input needs to drive the result list from the keyboard. */
|
|
95
|
+
export interface GlobalSearchInputSlotContext {
|
|
96
|
+
/** Current query. */
|
|
97
|
+
query: string;
|
|
98
|
+
/** Reports the next query. */
|
|
99
|
+
onQueryChange: (query: string) => void;
|
|
100
|
+
/** Arrow, Enter and Escape handling. Bind it to the input's `onKeyDown`. */
|
|
101
|
+
onKeyDown: (event: KeyboardEvent) => void;
|
|
102
|
+
/** Whether results are showing (`aria-expanded`). */
|
|
103
|
+
expanded: boolean;
|
|
104
|
+
/** Ids of the result listboxes (`aria-controls`). */
|
|
105
|
+
controls: string;
|
|
106
|
+
/** Id of the highlighted option (`aria-activedescendant`). */
|
|
107
|
+
activeDescendant: string | undefined;
|
|
108
|
+
/** Whether results are loading. */
|
|
109
|
+
loading: boolean;
|
|
110
|
+
}
|
|
91
111
|
/** Slot map — every consumer-overridable surface. */
|
|
92
112
|
export interface GlobalSearchSlots<TGroup extends string = string> {
|
|
93
|
-
/**
|
|
94
|
-
|
|
113
|
+
/**
|
|
114
|
+
* Replaces the default search input. Pass a function to receive the key
|
|
115
|
+
* handler and combobox state, so the replacement keeps arrow-key navigation;
|
|
116
|
+
* a plain node renders as given and has no keyboard navigation.
|
|
117
|
+
*/
|
|
118
|
+
input?: ReactNode | ((context: GlobalSearchInputSlotContext) => ReactNode);
|
|
95
119
|
/** Replaces the default tab strip. */
|
|
96
120
|
tabs?: ReactNode;
|
|
97
|
-
/** Rendered above the result list
|
|
121
|
+
/** Rendered above the result list while the query is shorter than `minQueryLength`. */
|
|
98
122
|
idle?: ReactNode;
|
|
99
123
|
/** Rendered when no results match and the query is long enough. */
|
|
100
124
|
empty?: ReactNode;
|
|
@@ -3,7 +3,7 @@ export type { GlobalSearchProps } from './global-search';
|
|
|
3
3
|
export { GlobalSearchDialog } from './global-search-dialog';
|
|
4
4
|
export type { GlobalSearchDialogProps } from './global-search-dialog';
|
|
5
5
|
export { defaultGlobalSearchStrings, type GlobalSearchStrings, } from './global-search.strings';
|
|
6
|
-
export type { GlobalSearchBadge, GlobalSearchIdleSection, GlobalSearchMeta, GlobalSearchRenderResultContext, GlobalSearchResult, GlobalSearchSlots, GlobalSearchTab, GlobalSearchTone, } from './global-search.types';
|
|
6
|
+
export type { GlobalSearchBadge, GlobalSearchIdleSection, GlobalSearchInputSlotContext, GlobalSearchMeta, GlobalSearchRenderResultContext, GlobalSearchResult, GlobalSearchSlots, GlobalSearchTab, GlobalSearchTone, } from './global-search.types';
|
|
7
7
|
export { GlobalSearchEmptyState, GlobalSearchFooter, GlobalSearchIdleState, GlobalSearchInput, GlobalSearchResultRow, GlobalSearchTabs, } from './partials';
|
|
8
8
|
export type { GlobalSearchEmptyStateProps, GlobalSearchFooterProps, GlobalSearchIdleStateProps, GlobalSearchInputProps, GlobalSearchResultRowProps, GlobalSearchTabsProps, } from './partials';
|
|
9
9
|
export { useGlobalSearch, type UseGlobalSearchOptions, type UseGlobalSearchReturn, } from './hooks';
|
|
@@ -8,5 +8,10 @@ export interface GlobalSearchIdleStateProps {
|
|
|
8
8
|
recent?: React.ElementType;
|
|
9
9
|
suggestions?: React.ElementType;
|
|
10
10
|
};
|
|
11
|
+
/** Headings for sections that supply no `label`: `recent` for the first section, `suggestions` for the rest. */
|
|
12
|
+
fallbackLabels?: {
|
|
13
|
+
recent?: string;
|
|
14
|
+
suggestions?: string;
|
|
15
|
+
};
|
|
11
16
|
}
|
|
12
|
-
export declare function GlobalSearchIdleState({ sections, fallbackIcons, }: GlobalSearchIdleStateProps): React.JSX.Element;
|
|
17
|
+
export declare function GlobalSearchIdleState({ sections, fallbackIcons, fallbackLabels, }: GlobalSearchIdleStateProps): React.JSX.Element;
|
|
@@ -23,5 +23,7 @@ export interface GlobalSearchInputProps {
|
|
|
23
23
|
controls?: string;
|
|
24
24
|
/** Id of the highlighted result, announced as the active option. */
|
|
25
25
|
activeDescendant?: string;
|
|
26
|
+
/** Merged onto the outermost node. */
|
|
27
|
+
className?: string;
|
|
26
28
|
}
|
|
27
29
|
export declare const GlobalSearchInput: React.ForwardRefExoticComponent<GlobalSearchInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Kanban, KanbanBoard, KanbanColumn, KanbanColumnContent, KanbanItem, KanbanItemActions, KanbanItemHandle, KanbanOverlay, } from './kanban';
|
|
1
|
+
export { Kanban, KanbanBoard, KanbanColumn, KanbanColumnContent, KanbanItem, KanbanItemActions, KanbanItemHandle, KanbanItemTrigger, KanbanOverlay, } from './kanban';
|
|
2
2
|
export { defaultKanbanStrings, interpolateKanbanString, type KanbanStrings, } from './kanban.strings';
|
|
3
|
-
export type { KanbanBoardProps, KanbanColumnContentProps, KanbanColumnProps, KanbanContextShape, KanbanItemAction, KanbanItemActionsConfig, KanbanItemActionsProps, KanbanItemHandleProps, KanbanItemMoveEvent, KanbanItemProps, KanbanOverlayProps, KanbanProps, KanbanValue, } from './kanban.types';
|
|
3
|
+
export type { KanbanBoardProps, KanbanColumnContentProps, KanbanColumnProps, KanbanContextShape, KanbanItemAction, KanbanItemActionsConfig, KanbanItemActionsProps, KanbanItemHandleProps, KanbanItemMoveEvent, KanbanItemProps, KanbanItemTriggerProps, KanbanOverlayProps, KanbanProps, KanbanValue, } from './kanban.types';
|
|
4
4
|
export { useKanban, type UseKanbanOptions, type UseKanbanResult, } from './hooks';
|
|
5
5
|
export type { KanbanItemContextShape } from './kanban-context';
|
|
@@ -16,10 +16,14 @@ export interface KanbanItemContextShape<T = unknown> {
|
|
|
16
16
|
attributes: unknown;
|
|
17
17
|
setActivatorNodeRef: (node: HTMLElement | null) => void;
|
|
18
18
|
registerHandle: () => () => void;
|
|
19
|
+
/** Registered by `<KanbanItemTrigger>`, so the card adds no open control of its own. */
|
|
20
|
+
registerTrigger?: () => () => void;
|
|
19
21
|
/** Stable id (the value returned by `getItemValue`). */
|
|
20
22
|
itemId: string;
|
|
21
23
|
/** The domain item itself — null if it can't be resolved. */
|
|
22
24
|
item: T | null;
|
|
25
|
+
/** Opens the card: its own `onClick`, else the root `onItemClick`. Unset when neither exists. */
|
|
26
|
+
activate?: () => void;
|
|
23
27
|
}
|
|
24
28
|
export declare const KanbanItemContextProvider: import("react").Provider<KanbanItemContextShape<unknown> | null>;
|
|
25
29
|
export declare function useKanbanItemContext<T = unknown>(): KanbanItemContextShape<T>;
|
|
@@ -3,8 +3,13 @@ export interface KanbanKeyboardPosition {
|
|
|
3
3
|
columnId: string;
|
|
4
4
|
index: number;
|
|
5
5
|
}
|
|
6
|
-
/**
|
|
7
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Resolve arrow movement from board order, including columns with no cards.
|
|
8
|
+
* `sourceColumnId` is the column the dragged card came from: in any other
|
|
9
|
+
* column the slot after the last card is a valid destination, while inside
|
|
10
|
+
* its own column the card can only take the place of an existing one.
|
|
11
|
+
*/
|
|
12
|
+
export declare function getKanbanKeyboardPosition(columns: Record<string, unknown[]>, position: KanbanKeyboardPosition, key: string, sourceColumnId?: string): KanbanKeyboardPosition;
|
|
8
13
|
export declare function createKanbanKeyboardCoordinates(value: Record<string, unknown[]>, getItemValue: (item: unknown) => string, findItem: (id: string) => KanbanKeyboardPosition | undefined, destination: {
|
|
9
14
|
current: KanbanKeyboardPosition | null;
|
|
10
15
|
}, onPositionChange?: (position: KanbanKeyboardPosition) => void): KeyboardCoordinateGetter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { KanbanBoardProps, KanbanColumnContentProps, KanbanColumnProps, KanbanItemActionsProps, KanbanItemHandleProps, KanbanItemProps, KanbanOverlayProps, KanbanProps } from './kanban.types';
|
|
1
|
+
import type { KanbanBoardProps, KanbanColumnContentProps, KanbanColumnProps, KanbanItemActionsProps, KanbanItemHandleProps, KanbanItemProps, KanbanItemTriggerProps, KanbanOverlayProps, KanbanProps } from './kanban.types';
|
|
2
2
|
export declare function Kanban<T>({ value, onValueChange, getItemValue, getItemLabel, getColumnLabel, onItemMove, itemActions, onItemClick, strings: stringsProp, className, children, }: KanbanProps<T>): import("react").JSX.Element;
|
|
3
3
|
export declare namespace Kanban {
|
|
4
4
|
var displayName: string;
|
|
@@ -20,6 +20,15 @@ export declare namespace KanbanItem {
|
|
|
20
20
|
var displayName: string;
|
|
21
21
|
}
|
|
22
22
|
export declare const KanbanItemHandle: import("react").ForwardRefExoticComponent<KanbanItemHandleProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
23
|
+
/**
|
|
24
|
+
* The card's primary control: a real button, usually around the title, that
|
|
25
|
+
* opens the card (`KanbanItem onClick`, else the root `onItemClick`). It is
|
|
26
|
+
* the keyboard path for a card that has a `<KanbanItemHandle>`; the whole-card
|
|
27
|
+
* click stays as a wider pointer target. Without a click handler it renders
|
|
28
|
+
* its children as plain text. A card without a handle is itself the drag
|
|
29
|
+
* control and opens with Enter, so it needs no trigger.
|
|
30
|
+
*/
|
|
31
|
+
export declare const KanbanItemTrigger: import("react").ForwardRefExoticComponent<KanbanItemTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
23
32
|
/**
|
|
24
33
|
* Per-item actions menu (`⋯` trigger → popover with the actions
|
|
25
34
|
* registered at the `<Kanban itemActions>` root). Place inside any
|
|
@@ -13,12 +13,21 @@ export interface KanbanStrings {
|
|
|
13
13
|
announceDragEnd: string;
|
|
14
14
|
/** Read when the user cancels a drag with Escape. */
|
|
15
15
|
announceDragCancel: string;
|
|
16
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Accessible name of a drag handle that carries no text of its own.
|
|
18
|
+
* `{name}` = item label (or ID), so each card's handle is told apart.
|
|
19
|
+
*/
|
|
17
20
|
dragHandleAria: string;
|
|
18
21
|
/** Aria label on the board landmark. */
|
|
19
22
|
boardAria: string;
|
|
20
23
|
/** Aria label on the per-item actions trigger (`⋯`). */
|
|
21
24
|
itemActionsAria: string;
|
|
25
|
+
/**
|
|
26
|
+
* Accessible name of the open control a card gets when it has a drag
|
|
27
|
+
* handle, something to open and no `KanbanItemTrigger`. `{name}` = item
|
|
28
|
+
* label (or ID). Optional for existing complete string objects.
|
|
29
|
+
*/
|
|
30
|
+
openItemAria?: string;
|
|
22
31
|
}
|
|
23
|
-
export declare const defaultKanbanStrings: KanbanStrings
|
|
32
|
+
export declare const defaultKanbanStrings: KanbanStrings & Required<Pick<KanbanStrings, 'openItemAria'>>;
|
|
24
33
|
export declare function interpolateKanbanString(template: string, params: Record<string, string>): string;
|
|
@@ -58,6 +58,15 @@ export interface KanbanContextShape<T = unknown> {
|
|
|
58
58
|
/** Item-level click handler. Fires on whole-card click; the drag
|
|
59
59
|
* handle and action menu stop propagation so they don't trigger it. */
|
|
60
60
|
onItemClick?: (item: T) => void;
|
|
61
|
+
/** Readable item name, as passed to the root. */
|
|
62
|
+
getItemLabel?: (item: T) => string;
|
|
63
|
+
/** The board's resolved strings. */
|
|
64
|
+
strings?: KanbanStrings;
|
|
65
|
+
/**
|
|
66
|
+
* Registered by a card that is its own drag activator and has something to
|
|
67
|
+
* open, so the board keeps Enter for opening it. Returns the unregister.
|
|
68
|
+
*/
|
|
69
|
+
registerEnterActivation?: () => () => void;
|
|
61
70
|
}
|
|
62
71
|
export interface KanbanProps<T = unknown> {
|
|
63
72
|
/** Current value. Controlled. */
|
|
@@ -83,6 +92,12 @@ export interface KanbanProps<T = unknown> {
|
|
|
83
92
|
* Fires when the consumer clicks anywhere on a `<KanbanItem>` other
|
|
84
93
|
* than the drag handle or actions menu. Use to open a detail
|
|
85
94
|
* drawer, navigate, etc.
|
|
95
|
+
*
|
|
96
|
+
* Keyboard: a card with a `KanbanItemHandle` opens through its
|
|
97
|
+
* `KanbanItemTrigger` (a real button, usually around the title). Without
|
|
98
|
+
* one the card adds its own open button, named `strings.openItemAria`,
|
|
99
|
+
* which frames the card on focus. A card without a handle is itself the
|
|
100
|
+
* drag control, so it opens with Enter and is picked up with Space.
|
|
86
101
|
*/
|
|
87
102
|
onItemClick?: (item: T) => void;
|
|
88
103
|
/** Strings for screen-reader announcements. */
|
|
@@ -143,6 +158,17 @@ export interface KanbanItemProps {
|
|
|
143
158
|
export interface KanbanItemHandleProps {
|
|
144
159
|
/** Merged onto the outermost node. */
|
|
145
160
|
className?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Accessible name. Defaults to `strings.dragHandleAria` when the handle's
|
|
163
|
+
* children carry no text (an icon); a handle with text names itself.
|
|
164
|
+
*/
|
|
165
|
+
ariaLabel?: string;
|
|
166
|
+
children?: ReactNode;
|
|
167
|
+
}
|
|
168
|
+
export interface KanbanItemTriggerProps {
|
|
169
|
+
/** Merged onto the button. */
|
|
170
|
+
className?: string;
|
|
171
|
+
/** The card's primary label, usually its title. */
|
|
146
172
|
children?: ReactNode;
|
|
147
173
|
}
|
|
148
174
|
export interface KanbanItemActionsProps {
|
|
@@ -56,11 +56,15 @@ interface MapLayerGroupOption extends Pick<React.ComponentProps<typeof DropdownM
|
|
|
56
56
|
name: string;
|
|
57
57
|
}
|
|
58
58
|
interface MapLayersContextType {
|
|
59
|
+
/** Adds the layer, or replaces the entry of the same name in place. */
|
|
59
60
|
registerTileLayer: (layer: MapTileLayerOption) => void;
|
|
61
|
+
unregisterTileLayer: (name: string) => void;
|
|
60
62
|
tileLayers: MapTileLayerOption[];
|
|
61
63
|
selectedTileLayer: string;
|
|
62
64
|
setSelectedTileLayer: (name: string) => void;
|
|
65
|
+
/** Adds the group, or replaces the entry of the same name in place. */
|
|
63
66
|
registerLayerGroup: (layer: MapLayerGroupOption) => void;
|
|
67
|
+
unregisterLayerGroup: (name: string) => void;
|
|
64
68
|
layerGroups: MapLayerGroupOption[];
|
|
65
69
|
activeLayerGroups: string[];
|
|
66
70
|
setActiveLayerGroups: (names: string[]) => void;
|
|
@@ -12,6 +12,12 @@ type Feature<TGeometry, TProperties> = {
|
|
|
12
12
|
bbox?: BBox;
|
|
13
13
|
};
|
|
14
14
|
interface PlaceFeatureProperties {
|
|
15
|
+
/**
|
|
16
|
+
* With `osm_type`, the result's identity: OSM ids are unique per element
|
|
17
|
+
* type only, so a node and a way may share a number. A `searchPlaces`
|
|
18
|
+
* adapter for another provider must give every result its own
|
|
19
|
+
* `osm_type` + `osm_id` pair; results repeating a pair are dropped.
|
|
20
|
+
*/
|
|
15
21
|
osm_id: number;
|
|
16
22
|
osm_type: "N" | "W" | "R";
|
|
17
23
|
osm_key: string;
|
|
@@ -74,7 +80,10 @@ interface PlaceSearchOptions {
|
|
|
74
80
|
*/
|
|
75
81
|
locationBiasScale?: number;
|
|
76
82
|
}
|
|
77
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* Consumer-owned geocoding integration. Keep callback identity stable until its
|
|
85
|
+
* provider changes. Each result is identified by `osm_type` + `osm_id`.
|
|
86
|
+
*/
|
|
78
87
|
type PlaceSearchCallback = (options: PlaceSearchOptions, signal: AbortSignal) => Promise<PlaceFeature[]>;
|
|
79
88
|
interface PlaceAutocompleteProps extends Omit<PlaceSearchOptions, "query">, Omit<React.ComponentProps<"input">, "value" | "onChange"> {
|
|
80
89
|
debounceMs?: number;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { MediaLibraryAccessors, MediaLibraryItem, ResolvedMediaLibraryAccessors, UseMediaLibraryOptions, MediaLibraryState } from '../media-library.types';
|
|
2
|
+
/** The upload tab's accepted types unless the consumer configures others. */
|
|
3
|
+
export declare const DEFAULT_MEDIA_UPLOAD_ACCEPT = "image/*,video/*";
|
|
2
4
|
export declare function resolveMediaLibraryAccessors<TItem = MediaLibraryItem>(accessors?: MediaLibraryAccessors<TItem>): ResolvedMediaLibraryAccessors<TItem>;
|
|
3
5
|
export declare function formatMediaLibrarySize(bytes?: number): string;
|
|
4
6
|
export declare function getMediaLibraryDimensions<TItem>(item: TItem, accessors: ResolvedMediaLibraryAccessors<TItem>): string;
|
|
5
|
-
export declare function useMediaLibrary<TItem = MediaLibraryItem>({ items: itemsProp, fetcher, refreshKey, 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>;
|
|
7
|
+
export declare function useMediaLibrary<TItem = MediaLibraryItem>({ items: itemsProp, fetcher, refreshKey, pageSize, accessors: accessorsProp, selectionMode, value, defaultValue, onValueChange, onItemUpdate, onItemDelete, onUpload, uploadAccept, maxFileSize, maxFiles, uploadFailedMessage, 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>;
|
|
@@ -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, bulkActions, strings: stringsProp, slots, heightClassName, className, items, fetcher, refreshKey, 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;
|
|
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, refreshKey, pageSize, accessors, collections, value, defaultValue, onValueChange, onItemUpdate, onItemDelete, onItemReplace, onItemOpen, onUpload, uploadAccept, maxFileSize, maxFiles, uploadFailedMessage, 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;
|
|
@@ -39,8 +39,14 @@ export interface MediaLibraryStrings {
|
|
|
39
39
|
loading: string;
|
|
40
40
|
errorTitle: string;
|
|
41
41
|
errorDescription: string;
|
|
42
|
-
/** Retry action in the load error state. Defaults to "Try again". */
|
|
42
|
+
/** Retry action in the load error state and after a failed further page. Defaults to "Try again". */
|
|
43
43
|
retry?: string;
|
|
44
|
+
/** Command under the results that loads the next page of a remote library. Defaults to "Load more". */
|
|
45
|
+
loadMore?: string;
|
|
46
|
+
/** Pending label of the load-more command. Defaults to "Loading more...". */
|
|
47
|
+
loadingMore?: string;
|
|
48
|
+
/** Notice when a further page fails to load; the loaded assets stay. */
|
|
49
|
+
loadMoreError?: string;
|
|
44
50
|
cardDetails: string;
|
|
45
51
|
/** Toolbar toggle that turns selection mode on or off. */
|
|
46
52
|
selectMode: string;
|
|
@@ -48,8 +54,6 @@ export interface MediaLibraryStrings {
|
|
|
48
54
|
selectItem: string;
|
|
49
55
|
/** Accessible name of the selected-assets action region. Defaults to "Batch actions". */
|
|
50
56
|
batchActionsLabel?: string;
|
|
51
|
-
privateLabel: string;
|
|
52
|
-
publicLabel: string;
|
|
53
57
|
typeImage: string;
|
|
54
58
|
typeVideo: string;
|
|
55
59
|
typeFile: string;
|
|
@@ -86,6 +90,8 @@ export interface MediaLibraryStrings {
|
|
|
86
90
|
confirmDeleteDescription?: string;
|
|
87
91
|
confirmDeleteLabel?: string;
|
|
88
92
|
confirmDeleteError?: string;
|
|
93
|
+
/** Collection select placeholder for an asset that has no collection. Defaults to "No collection". */
|
|
94
|
+
noCollection?: string;
|
|
89
95
|
};
|
|
90
96
|
upload: {
|
|
91
97
|
dropTitle: string;
|
|
@@ -102,6 +108,18 @@ export interface MediaLibraryStrings {
|
|
|
102
108
|
uploading: string;
|
|
103
109
|
done: string;
|
|
104
110
|
error?: string;
|
|
111
|
+
/** Collection select placeholder and clearing option; nothing is sent while it shows. Defaults to "No collection". */
|
|
112
|
+
noCollection?: string;
|
|
113
|
+
/** Per-file text when its upload request fails. Defaults to "Upload failed". */
|
|
114
|
+
fileFailed?: string;
|
|
115
|
+
/** Notice for a chosen file outside the accepted types; `{name}` is the file. */
|
|
116
|
+
unsupportedType?: string;
|
|
117
|
+
/** Notice for a chosen file over `maxFileSize`; `{name}` is the file and `{size}` the limit. */
|
|
118
|
+
tooLarge?: string;
|
|
119
|
+
/** Notice when more files are chosen than `maxFiles` allows; `{count}` is the limit. */
|
|
120
|
+
tooMany?: string;
|
|
121
|
+
/** Added to the drop hint when `maxFileSize` is set; `{size}` is the limit. */
|
|
122
|
+
sizeLimitHint?: string;
|
|
105
123
|
};
|
|
106
124
|
footer: {
|
|
107
125
|
pickOne: string;
|
|
@@ -126,12 +144,24 @@ export interface MediaLibraryStrings {
|
|
|
126
144
|
addTile: string;
|
|
127
145
|
cover: string;
|
|
128
146
|
primary: string;
|
|
147
|
+
/** Accessible name of the primary command; `{name}` is the asset. */
|
|
129
148
|
setPrimary: string;
|
|
149
|
+
/** Accessible name of the remove command; `{name}` is the asset. */
|
|
130
150
|
remove: string;
|
|
151
|
+
/** Accessible name of the move-earlier command; `{name}` is the asset. */
|
|
131
152
|
movePrevious: string;
|
|
153
|
+
/** Accessible name of the move-later command; `{name}` is the asset. */
|
|
132
154
|
moveNext: string;
|
|
133
155
|
itemPosition: string;
|
|
134
156
|
maxReached: string;
|
|
157
|
+
/** Accessible name of a field tile's command menu; `{name}` is the asset. Defaults to "Actions for {name}". */
|
|
158
|
+
itemActions?: string;
|
|
159
|
+
/** Field-tile menu command that makes the asset the cover. Defaults to "Set as cover". */
|
|
160
|
+
setCoverAction?: string;
|
|
161
|
+
/** Field-tile menu command that moves the asset one place earlier. Defaults to "Move earlier". */
|
|
162
|
+
movePreviousAction?: string;
|
|
163
|
+
/** Field-tile menu command that moves the asset one place later. Defaults to "Move later". */
|
|
164
|
+
moveNextAction?: string;
|
|
135
165
|
};
|
|
136
166
|
}
|
|
137
167
|
export declare const defaultMediaLibraryStrings: MediaLibraryStrings;
|