themelia-react-ui 2.0.5 → 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 +326 -0
- package/MIGRATION.md +858 -0
- package/README.md +35 -24
- package/dist/{accordion-B9MHG0cT.js → accordion-DNVqwEIC.js} +37 -37
- 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-Dg_69lPS.js → attachment-D2-fpfmv.js} +15 -15
- package/dist/{attachment-Dg_69lPS.js.map → attachment-D2-fpfmv.js.map} +1 -1
- package/dist/{auth-DTkkshS8.js → auth-g_oUTDDC.js} +236 -243
- package/dist/auth-g_oUTDDC.js.map +1 -0
- package/dist/{avatar-CeZaFmNH.js → avatar-Ca3Ihrq4.js} +4 -4
- package/dist/{avatar-CeZaFmNH.js.map → avatar-Ca3Ihrq4.js.map} +1 -1
- package/dist/{badge-xIiV_E7f.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 +208 -198
- 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 +8 -14
- 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-Cb8cuvyy.js → batch-action-bar-D6MZQNnC.js} +10 -10
- package/dist/{batch-action-bar-Cb8cuvyy.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 +398 -354
- 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 +173 -1392
- 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 +1533 -1399
- 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-CQ9JSlez.js +136 -0
- package/dist/breadcrumbs-CQ9JSlez.js.map +1 -0
- package/dist/{button-S2Cubiiz.js → button-rd6FiHfQ.js} +12 -8
- package/dist/button-rd6FiHfQ.js.map +1 -0
- package/dist/{buttons-BedGfygC.js → buttons-pZVgPTZn.js} +230 -246
- package/dist/buttons-pZVgPTZn.js.map +1 -0
- package/dist/{cards-rNX1M4Xn.js → cards-CgWyqvgZ.js} +25 -22
- package/dist/{cards-rNX1M4Xn.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-Darg_0Kv.js → chart-CygRCyIZ.js} +5 -5
- package/dist/{chart-Darg_0Kv.js.map → chart-CygRCyIZ.js.map} +1 -1
- package/dist/{checkbox-fflqmODR.js → checkbox-Dy5_XBMZ.js} +4 -4
- package/dist/{checkbox-fflqmODR.js.map → checkbox-Dy5_XBMZ.js.map} +1 -1
- package/dist/{choice-inputs-zUgBZfE4.js → choice-inputs-oJEsrb5Y.js} +195 -184
- package/dist/choice-inputs-oJEsrb5Y.js.map +1 -0
- package/dist/{code-block-BzmM9Eig.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-gDh1v6O4.js → collection-content-D7SoDlYd.js} +3 -3
- package/dist/{collection-content-gDh1v6O4.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/choice-types.d.ts +4 -0
- package/dist/components/base/choice-inputs/pill-radio-group.d.ts +7 -6
- 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/combobox/combobox-field.d.ts +2 -2
- package/dist/components/base/command/command.d.ts +1 -1
- package/dist/components/base/date-pickers/date-picker-internals.d.ts +3 -1
- package/dist/components/base/date-pickers/datepicker.types.d.ts +11 -7
- package/dist/components/base/date-pickers/time-picker.d.ts +17 -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/feedback/state-display.d.ts +5 -1
- package/dist/components/base/feedback/state-display.strings.d.ts +9 -0
- package/dist/components/base/forms/form-field.d.ts +7 -2
- package/dist/components/base/forms/workflow.d.ts +2 -2
- package/dist/components/base/forms-numeric/coordinates-input.d.ts +4 -1
- package/dist/components/base/forms-numeric/decimal-input.d.ts +2 -2
- package/dist/components/base/forms-numeric/dimensions-input.d.ts +13 -18
- package/dist/components/base/forms-numeric/index.d.ts +3 -3
- package/dist/components/base/forms-numeric/numeric-composite-field.d.ts +12 -0
- package/dist/components/base/forms-numeric/weight-input.d.ts +6 -1
- 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 +17 -8
- 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 +6 -1
- 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 +40 -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/avatar-upload.d.ts +2 -1
- package/dist/components/base/upload/file-upload.validation.d.ts +37 -1
- package/dist/components/base/upload/image-upload.d.ts +4 -1
- 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 +8 -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-reasoning/types.d.ts +2 -0
- package/dist/components/blocks/ai/ai-sources/ai-sources.d.ts +1 -1
- package/dist/components/blocks/ai/ai-sources/types.d.ts +10 -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 +8 -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 +7 -3
- package/dist/components/blocks/analytics/metric-comparison/metric-comparison.d.ts +2 -0
- package/dist/components/blocks/analytics/metric-grid/metric-grid.d.ts +4 -5
- package/dist/components/blocks/analytics/types.d.ts +13 -4
- 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 +12 -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 +10 -3
- 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 +46 -22
- package/dist/components/features/activities/hooks/use-activity-feed.d.ts +6 -0
- package/dist/components/features/activities/hooks/use-activity-resources.d.ts +2 -1
- 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/hooks/use-ai-chat-scroll.d.ts +1 -1
- 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 +20 -4
- 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 +4 -3
- package/dist/components/features/combobox/hooks/use-combobox-state.d.ts +1 -0
- package/dist/components/features/combobox/hooks/use-load-more.d.ts +1 -0
- package/dist/components/features/combobox/index.d.ts +1 -1
- package/dist/components/features/combobox/types.d.ts +68 -37
- 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 +19 -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/date-facet.d.ts +4 -2
- package/dist/components/features/filters/facets/range-facet.d.ts +24 -7
- 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 +75 -8
- 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/date-filter-content.d.ts +3 -2
- 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-popover-content.d.ts +4 -2
- package/dist/components/features/filters/partials/filter-tabs.d.ts +2 -1
- package/dist/components/features/filters/partials/range-filter-content.d.ts +12 -0
- package/dist/components/features/filters/partials/regular-filter-content.d.ts +1 -1
- package/dist/components/features/filters/utils/filter-utils.d.ts +34 -5
- 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 +39 -3
- package/dist/components/features/media-library/media-library.types.d.ts +82 -9
- package/dist/components/features/media-library/partials/media-library-partials.d.ts +3 -3
- package/dist/components/features/mentions/hooks/use-mentions-search.d.ts +7 -0
- package/dist/components/features/mentions/hooks/use-mentions.d.ts +16 -1
- 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 +12 -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/hooks/use-overlay-visibility.d.ts +2 -2
- 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 +26 -8
- package/dist/components/features/questionnaire/questionnaire.types.d.ts +7 -2
- 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 -147
- 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/form-rich-text-editor.d.ts +1 -1
- package/dist/components/features/rich-text-editor/partials/caret-helpers.d.ts +5 -7
- package/dist/components/features/rich-text-editor/partials/editor-field-aria.d.ts +14 -0
- 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 +5 -4
- package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +1 -1
- package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +30 -4
- package/dist/components/features/schema-form/hooks/use-schema-form.d.ts +10 -1
- package/dist/components/features/schema-form/partials/schema-form-field.d.ts +3 -1
- 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/schema-form/schema-form.utils.d.ts +1 -1
- package/dist/components/features/suggestions/suggestions.strings.d.ts +14 -0
- package/dist/components/features/suggestions/suggestions.types.d.ts +13 -5
- 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/index.d.ts +1 -0
- 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 +37 -12
- 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 +4 -0
- package/dist/components/features/table/table.types.d.ts +91 -49
- 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 +19 -8
- 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 +6 -4
- 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/navigation/side-nav.d.ts +3 -2
- package/dist/components/layout/normalize-layout-path.d.ts +1 -0
- 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 +4 -6
- 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 +17 -7
- package/dist/components/layout/sidebar/sidebar.context.d.ts +1 -0
- package/dist/components/layout/sidebar/sidebar.types.d.ts +12 -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 +11 -3
- package/dist/components/primitives/money.d.ts +2 -2
- package/dist/components/primitives/number.d.ts +3 -2
- package/dist/components/typography/heading.d.ts +9 -3
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/rich-text/rich-text-tree.d.ts +7 -5
- 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-CIxwbZt5.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-DIznBqiT.js → copyable-Bmr14W0d.js} +6 -6
- package/dist/{copyable-DIznBqiT.js.map → copyable-Bmr14W0d.js.map} +1 -1
- package/dist/{data-display-BdgCAw8T.js → data-display-CWe9SOYh.js} +264 -250
- 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-D1keJQIG.js +1617 -0
- 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-KsZLw9Ov.js → display-VlmP1I0i.js} +23 -46
- package/dist/display-VlmP1I0i.js.map +1 -0
- package/dist/{dropdown-menu-CLs8Lihj.js → dropdown-menu-B8hjvbkS.js} +9 -9
- package/dist/{dropdown-menu-CLs8Lihj.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 +767 -700
- package/dist/features/activities.js.map +1 -1
- package/dist/features/ai-chat.js +280 -235
- package/dist/features/ai-chat.js.map +1 -1
- package/dist/features/appointment-calendar.js +430 -334
- 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 +347 -313
- package/dist/features/email-composer.js.map +1 -1
- package/dist/features/event-calendar.js +501 -348
- package/dist/features/event-calendar.js.map +1 -1
- package/dist/features/filters.js +2 -2
- package/dist/features/global-search.js +250 -210
- package/dist/features/global-search.js.map +1 -1
- package/dist/features/kanban.js +280 -210
- package/dist/features/kanban.js.map +1 -1
- package/dist/features/map/style.css +15 -0
- package/dist/features/map.js +435 -404
- package/dist/features/map.js.map +1 -1
- package/dist/features/media-library.js +1745 -1195
- 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 +1862 -1759
- package/dist/features/products.js.map +1 -1
- package/dist/features/questionnaire.js +188 -168
- 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 -217
- package/dist/features/resource.js.map +1 -1
- package/dist/features/rich-text-editor.js +28 -19
- package/dist/features/rich-text-editor.js.map +1 -1
- package/dist/features/schema-form.js +380 -287
- package/dist/features/schema-form.js.map +1 -1
- package/dist/features/suggestions.js +90 -74
- package/dist/features/suggestions.js.map +1 -1
- package/dist/features/table.js +2 -2
- package/dist/features/theme-tweaker.js +718 -627
- 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-DWcNcOjh.js → field-affordance-recipes-DfbMadot.js} +13 -9
- package/dist/field-affordance-recipes-DfbMadot.js.map +1 -0
- package/dist/field-control-attributes-B6i335wr.js +18 -0
- package/dist/field-control-attributes-B6i335wr.js.map +1 -0
- package/dist/field-state-recipes-EtCxpEy3.js +18 -0
- 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-BdfCwSoQ.js +74 -0
- package/dist/form-field-BdfCwSoQ.js.map +1 -0
- package/dist/{form-sizing-Bs2qFUeE.js → form-sizing-DE_dZw32.js} +3 -3
- package/dist/{form-sizing-Bs2qFUeE.js.map → form-sizing-DE_dZw32.js.map} +1 -1
- package/dist/{forms-C0RGnJTe.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-DMMxG__r.js → header-Cq3G0ZRP.js} +163 -158
- package/dist/header-Cq3G0ZRP.js.map +1 -0
- package/dist/hooks/use-files.d.ts +2 -0
- package/dist/{hooks-DB6CJ4MR.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-DZF-YjQp.js → icon-badge-B0Kq7wom.js} +3 -3
- package/dist/{icon-badge-DZF-YjQp.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-DMBwAZmr.js → input-2YrgTUrz.js} +3 -3
- package/dist/{input-DMBwAZmr.js.map → input-2YrgTUrz.js.map} +1 -1
- package/dist/{input-CvyDQlY7.js → input-DfJyrjoR.js} +7 -7
- package/dist/{input-CvyDQlY7.js.map → input-DfJyrjoR.js.map} +1 -1
- package/dist/{interaction-recipes-XR9ZpVYL.js → interaction-recipes-DmuS1ase.js} +2 -2
- package/dist/{interaction-recipes-XR9ZpVYL.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-DbtnyAtd.js +33 -0
- 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-control-attributes.d.ts +11 -0
- package/dist/lib/field-state-recipes.d.ts +8 -0
- package/dist/lib/focus-recipes.d.ts +7 -0
- package/dist/lib/format.d.ts +26 -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 +33 -3
- package/dist/lib/theme-scope.d.ts +17 -1
- package/dist/lib/token-merge.generated.d.ts +19 -25
- 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-BiiVrRrm.js +138 -0
- package/dist/message-BiiVrRrm.js.map +1 -0
- package/dist/{metadata-list-C3MkU-Om.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-CmqaQR_G.js +257 -0
- package/dist/navigation-CmqaQR_G.js.map +1 -0
- package/dist/normalize-layout-path-BmEgg6fu.js +14 -0
- package/dist/normalize-layout-path-BmEgg6fu.js.map +1 -0
- package/dist/number-NFWKIoiK.js +340 -0
- package/dist/number-NFWKIoiK.js.map +1 -0
- package/dist/{overflow-tab-bar-IVFVQFV6.js → overflow-tab-bar-DV7HE_3t.js} +8 -8
- package/dist/{overflow-tab-bar-IVFVQFV6.js.map → overflow-tab-bar-DV7HE_3t.js.map} +1 -1
- package/dist/{overlays-BSgCtM2v.js → overlays-D-gAIfPF.js} +369 -364
- 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-7P3sfE9u.js → page-header-commands-elelNOfd.js} +29 -29
- package/dist/{page-header-commands-7P3sfE9u.js.map → page-header-commands-elelNOfd.js.map} +1 -1
- package/dist/{pagination-CgCjElfu.js → pagination-BuSWw1US.js} +22 -23
- package/dist/pagination-BuSWw1US.js.map +1 -0
- package/dist/popover-BpMxbqEK.js +205 -0
- package/dist/popover-BpMxbqEK.js.map +1 -0
- package/dist/{popover-menu-DlnQ2zlR.js → popover-menu-CO-_iiuz.js} +7 -7
- package/dist/{popover-menu-DlnQ2zlR.js.map → popover-menu-CO-_iiuz.js.map} +1 -1
- package/dist/{popover.recipes-DdiEp0rd.js → popover.recipes-BqkdvlZn.js} +3 -4
- package/dist/{popover.recipes-DdiEp0rd.js.map → popover.recipes-BqkdvlZn.js.map} +1 -1
- package/dist/{portal-recipes-BpsV_iRw.js → portal-recipes-BPeS4rGB.js} +2 -2
- package/dist/{portal-recipes-BpsV_iRw.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-BJhQP9WX.js → progress-RARK8AjB.js} +5 -5
- package/dist/{progress-BJhQP9WX.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-Cypm9__d.js +44 -0
- package/dist/rich-text-Cypm9__d.js.map +1 -0
- 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/{scroll-area-B0dB2cBi.js → scroll-area-B9HKbji0.js} +3 -3
- package/dist/{scroll-area-B0dB2cBi.js.map → scroll-area-B9HKbji0.js.map} +1 -1
- package/dist/{separator-Ct_WSWTJ.js → separator-DaDe26sf.js} +3 -3
- package/dist/separator-DaDe26sf.js.map +1 -0
- package/dist/{separator-Bb17I4pu.js → separator-KGsNXt2J.js} +2 -2
- package/dist/{separator-Bb17I4pu.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-f9gRWXIR.js → sidebar-C-iQ_TJP.js} +379 -350
- 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-BapcJd9C.js → skeleton-Cab_KgVo.js} +13 -13
- package/dist/skeleton-Cab_KgVo.js.map +1 -0
- package/dist/{smart-card-CW0hjetE.js → smart-card-C59z6KFO.js} +217 -210
- package/dist/smart-card-C59z6KFO.js.map +1 -0
- package/dist/{structure-DuxKl954.js → structure-DElaQwwN.js} +2 -2
- package/dist/{structure-DuxKl954.js.map → structure-DElaQwwN.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{surface-recipes-BKRVW8Os.js → surface-recipes-DV6rrOFq.js} +11 -3
- package/dist/surface-recipes-DV6rrOFq.js.map +1 -0
- package/dist/table-CSRUgpdK.js +180 -0
- 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-WnHfV2pM.js +192 -0
- package/dist/tabs-WnHfV2pM.js.map +1 -0
- package/dist/{text-inputs-B1culiSK.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-CzUJHnFs.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-BQnine1k.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-DMuMYJFT.js +875 -0
- package/dist/upload-DMuMYJFT.js.map +1 -0
- package/dist/{usage-card-BeSLY0i0.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-B6kKb8jB.js → utils-BVbAG2J6.js} +128 -112
- 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/edit.tsx +3 -3
- 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 +27 -23
- package/docs/consumer-skill/references/analytics.md +33 -4
- 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 +25852 -32067
- package/docs/consumer-skill/references/composition.md +42 -21
- package/docs/consumer-skill/references/design-contract.md +1 -0
- package/docs/consumer-skill/references/discovery.md +8 -5
- package/docs/consumer-skill/references/installation.md +59 -10
- package/docs/consumer-skill/references/integration.md +28 -5
- package/docs/consumer-skill/references/product-composition.md +2 -2
- package/docs/consumer-skill/references/public-api.json +726 -641
- package/docs/consumer-skill/references/review.md +57 -15
- package/docs/consumer-skill/references/rhf-workflows.md +72 -0
- package/docs/consumer-skill/references/screen-archetypes.md +2 -2
- package/docs/consumer-skill/references/theming.md +8 -3
- 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 +178 -44
- 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 +74 -10
- 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 +12 -13
- package/templates/README.md +3 -2
- package/templates/admin-shell-template.tsx +50 -11
- package/templates/analytics-operations-template.tsx +20 -24
- package/templates/customers-template.tsx +30 -25
- 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-B9MHG0cT.js.map +0 -1
- package/dist/action-menu-Dr8K-ghE.js +0 -284
- package/dist/action-menu-Dr8K-ghE.js.map +0 -1
- package/dist/ai-artifact-C58tQcBy.js +0 -1185
- package/dist/ai-artifact-C58tQcBy.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-B_IuNWOo.js +0 -321
- package/dist/app-shell-B_IuNWOo.js.map +0 -1
- package/dist/auth-DTkkshS8.js.map +0 -1
- package/dist/badge-xIiV_E7f.js.map +0 -1
- package/dist/base/sheet.js +0 -3
- package/dist/breadcrumbs-J-K2kl4c.js +0 -129
- package/dist/breadcrumbs-J-K2kl4c.js.map +0 -1
- package/dist/button-S2Cubiiz.js.map +0 -1
- package/dist/buttons-BedGfygC.js.map +0 -1
- package/dist/cascader-B1MiqkBq.js +0 -439
- package/dist/cascader-B1MiqkBq.js.map +0 -1
- package/dist/choice-inputs-zUgBZfE4.js.map +0 -1
- package/dist/code-block-BzmM9Eig.js.map +0 -1
- package/dist/collapsible-BkAI_XD4.js +0 -81
- package/dist/collapsible-BkAI_XD4.js.map +0 -1
- package/dist/combobox-BEx0vJgF.js +0 -362
- package/dist/combobox-BEx0vJgF.js.map +0 -1
- package/dist/combobox-BwzoXFSG.js +0 -884
- package/dist/combobox-BwzoXFSG.js.map +0 -1
- package/dist/command-CrlPIL6m.js +0 -425
- package/dist/command-CrlPIL6m.js.map +0 -1
- package/dist/comments-Dmpp0YIc.js +0 -1169
- package/dist/comments-Dmpp0YIc.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 -16
- 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-CIxwbZt5.js.map +0 -1
- package/dist/data-display-BdgCAw8T.js.map +0 -1
- package/dist/date-Cq8ioE4o.js +0 -144
- package/dist/date-Cq8ioE4o.js.map +0 -1
- package/dist/date-picker-RlIzKom_.js +0 -1551
- package/dist/date-picker-RlIzKom_.js.map +0 -1
- package/dist/date-pickers-DY-CpXS1.js +0 -179
- package/dist/date-pickers-DY-CpXS1.js.map +0 -1
- package/dist/display-KsZLw9Ov.js.map +0 -1
- package/dist/features/sync.js +0 -142
- package/dist/features/sync.js.map +0 -1
- package/dist/feedback-Dm4izqFn.js +0 -240
- package/dist/feedback-Dm4izqFn.js.map +0 -1
- package/dist/field-affordance-recipes-DWcNcOjh.js.map +0 -1
- package/dist/field-state-recipes-BVA2CWHo.js +0 -12
- package/dist/field-state-recipes-BVA2CWHo.js.map +0 -1
- package/dist/filters-DzgSJpMK.js +0 -2257
- package/dist/filters-DzgSJpMK.js.map +0 -1
- package/dist/focus-recipes-B653VaLq.js.map +0 -1
- package/dist/form-field-BriWAXyg.js +0 -63
- package/dist/form-field-BriWAXyg.js.map +0 -1
- package/dist/forms-C0RGnJTe.js.map +0 -1
- package/dist/forms-numeric-DIhghX1Q.js +0 -910
- package/dist/forms-numeric-DIhghX1Q.js.map +0 -1
- package/dist/header-DMMxG__r.js.map +0 -1
- package/dist/hooks-DB6CJ4MR.js.map +0 -1
- package/dist/http-D_6rOnzU.js.map +0 -1
- package/dist/item-DjCcM18E.js +0 -277
- package/dist/item-DjCcM18E.js.map +0 -1
- package/dist/layout.types-Cn7aUzJp.js +0 -20
- package/dist/layout.types-Cn7aUzJp.js.map +0 -1
- package/dist/media-gallery-C-vChPmE.js +0 -203
- package/dist/media-gallery-C-vChPmE.js.map +0 -1
- package/dist/mentions-0_4nWuI-.js +0 -570
- package/dist/mentions-0_4nWuI-.js.map +0 -1
- package/dist/message-g8p7eVtN.js +0 -128
- package/dist/message-g8p7eVtN.js.map +0 -1
- package/dist/metadata-list-C3MkU-Om.js.map +0 -1
- package/dist/motion-recipes-DitYv6P2.js.map +0 -1
- package/dist/navigation-C90-oQFq.js +0 -255
- package/dist/navigation-C90-oQFq.js.map +0 -1
- package/dist/navigation-DaRjthVk.js +0 -288
- package/dist/navigation-DaRjthVk.js.map +0 -1
- package/dist/number-CRU3kGuk.js +0 -354
- package/dist/number-CRU3kGuk.js.map +0 -1
- package/dist/overlays-BSgCtM2v.js.map +0 -1
- package/dist/page-DUUKDAjo.js +0 -331
- package/dist/page-DUUKDAjo.js.map +0 -1
- package/dist/pagination-CgCjElfu.js.map +0 -1
- package/dist/popover-B85RenIl.js +0 -201
- package/dist/popover-B85RenIl.js.map +0 -1
- package/dist/primitives-ByWgGUgt.js +0 -380
- package/dist/primitives-ByWgGUgt.js.map +0 -1
- package/dist/receipt-tOc7B3hw.js +0 -116
- package/dist/receipt-tOc7B3hw.js.map +0 -1
- package/dist/rich-text-Dth5E882.js +0 -78
- package/dist/rich-text-Dth5E882.js.map +0 -1
- package/dist/rich-text-editor-C1fOjBTd.js +0 -1195
- package/dist/rich-text-editor-C1fOjBTd.js.map +0 -1
- package/dist/rich-text-editor-toolbar-laT3tpBT.js +0 -98
- package/dist/rich-text-editor-toolbar-laT3tpBT.js.map +0 -1
- package/dist/sanitize-html-DsQmI48u.js +0 -92
- package/dist/sanitize-html-DsQmI48u.js.map +0 -1
- package/dist/separator-Ct_WSWTJ.js.map +0 -1
- package/dist/settings-Bar5wiSo.js +0 -167
- package/dist/settings-Bar5wiSo.js.map +0 -1
- package/dist/sheet-BGPERY55.js +0 -250
- package/dist/sheet-BGPERY55.js.map +0 -1
- package/dist/sidebar-D-JYMMbY.js +0 -686
- package/dist/sidebar-D-JYMMbY.js.map +0 -1
- package/dist/sidebar-f9gRWXIR.js.map +0 -1
- package/dist/skeleton-BapcJd9C.js.map +0 -1
- package/dist/slot-CLF9kLrS.js +0 -16
- package/dist/slot-CLF9kLrS.js.map +0 -1
- package/dist/smart-card-CW0hjetE.js.map +0 -1
- package/dist/surface-recipes-BKRVW8Os.js.map +0 -1
- package/dist/table-B4TE7iOV.js +0 -175
- package/dist/table-B4TE7iOV.js.map +0 -1
- package/dist/table-CFOWY9pQ.js +0 -1536
- package/dist/table-CFOWY9pQ.js.map +0 -1
- package/dist/tabs-e7ko9S2o.js +0 -191
- package/dist/tabs-e7ko9S2o.js.map +0 -1
- package/dist/text-inputs-B1culiSK.js.map +0 -1
- package/dist/timelines-D3Sl9ueq.js +0 -458
- package/dist/timelines-D3Sl9ueq.js.map +0 -1
- package/dist/tooltip-8wz5S_Zr.js +0 -113
- package/dist/tooltip-8wz5S_Zr.js.map +0 -1
- package/dist/tree-CzUJHnFs.js.map +0 -1
- package/dist/typography-BQnine1k.js.map +0 -1
- package/dist/ui-provider-C-74NVLc.js.map +0 -1
- package/dist/upload-BOW6U2tI.js +0 -855
- package/dist/upload-BOW6U2tI.js.map +0 -1
- package/dist/upload-queue-qUXn1ykN.js +0 -409
- package/dist/upload-queue-qUXn1ykN.js.map +0 -1
- package/dist/usage-card-BeSLY0i0.js.map +0 -1
- package/dist/utils-B6kKb8jB.js.map +0 -1
- package/dist/value-inputs-skdVB2zh.js +0 -980
- package/dist/value-inputs-skdVB2zh.js.map +0 -1
- package/dist/value-typography-uAmWUAL1.js +0 -116
- package/dist/value-typography-uAmWUAL1.js.map +0 -1
- package/dist/workspace-DHeHv0qw.js +0 -411
- package/dist/workspace-DHeHv0qw.js.map +0 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
interface AsyncOptionsStatusProps {
|
|
2
|
+
/** A request for the current query is in flight. */
|
|
3
|
+
fetching: boolean;
|
|
4
|
+
/** The last request for the current query failed. */
|
|
5
|
+
error: boolean;
|
|
6
|
+
onRetry: () => void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Status above an async option list that still shows rows: the rows may be
|
|
10
|
+
* from the previous query, so a pending search is announced and a failed one
|
|
11
|
+
* offers Retry. The editor and the standalone facet share it. The pending
|
|
12
|
+
* search is announced by AsyncOptionsAnnouncer, so this row carries no role.
|
|
13
|
+
*/
|
|
14
|
+
export declare function AsyncOptionsStatus({ fetching, error, onRetry }: AsyncOptionsStatusProps): import("react").JSX.Element | null;
|
|
15
|
+
interface AsyncOptionsAnnouncerProps {
|
|
16
|
+
/** A request for the current query is in flight. */
|
|
17
|
+
fetching: boolean;
|
|
18
|
+
/** The last request for the current query failed. */
|
|
19
|
+
error: boolean;
|
|
20
|
+
/** Options the current query returned. */
|
|
21
|
+
count: number;
|
|
22
|
+
/** The list shows rows, so its own empty status is not on screen. */
|
|
23
|
+
hasRows: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* One persistent polite live region for an async option list: it says a
|
|
27
|
+
* search is pending while rows from the previous query are still shown, then
|
|
28
|
+
* how many options the settled query found. The empty and failed states
|
|
29
|
+
* announce themselves, so the region stays silent for them.
|
|
30
|
+
*/
|
|
31
|
+
export declare function AsyncOptionsAnnouncer({ fetching, error, count, hasRows }: AsyncOptionsAnnouncerProps): import("react").JSX.Element;
|
|
32
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { FilterConfig, FilterTriggerSource } from '../filters.types';
|
|
1
|
+
import type { FilterConfig, FilterOperator, FilterTriggerSource } from '../filters.types';
|
|
2
2
|
interface DateFilterContentProps {
|
|
3
3
|
/** Definition of the filter this control edits. */
|
|
4
4
|
filter: FilterConfig;
|
|
5
|
+
operator?: FilterOperator;
|
|
5
6
|
/** Current value. */
|
|
6
7
|
value: string[];
|
|
7
8
|
/** Fired when the change filters change. */
|
|
@@ -10,5 +11,5 @@ interface DateFilterContentProps {
|
|
|
10
11
|
/** Origin of the editor, which determines back-button behavior. */
|
|
11
12
|
triggerSource?: FilterTriggerSource;
|
|
12
13
|
}
|
|
13
|
-
export declare function DateFilterContent({ filter, value, onFilterChange, onBackToFilterList, triggerSource, }: DateFilterContentProps): import("react").JSX.Element;
|
|
14
|
+
export declare function DateFilterContent({ filter, operator, value, onFilterChange, onBackToFilterList, triggerSource, }: DateFilterContentProps): import("react").JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
interface FilterDraftFooterProps {
|
|
3
|
+
/** Supporting copy on the leading edge, such as the selected count. */
|
|
4
|
+
caption?: ReactNode;
|
|
5
|
+
/** Why the draft cannot be applied. Replaces the caption and disables Confirm. */
|
|
6
|
+
error?: string;
|
|
7
|
+
onConfirm: () => void;
|
|
8
|
+
}
|
|
9
|
+
/** Confirm footer shared by the editors that apply a draft. */
|
|
10
|
+
export declare function FilterDraftFooter({ caption, error, onConfirm }: FilterDraftFooterProps): import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -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;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { type ComponentProps } from 'react';
|
|
2
2
|
import { PopoverContent } from '../../../base/popover';
|
|
3
|
-
import { type FilterConfig, type FilterTriggerSource } from '../filters.types';
|
|
3
|
+
import { type FilterConfig, type FilterOperator, type FilterTriggerSource } from '../filters.types';
|
|
4
4
|
export interface FilterPopoverContentProps {
|
|
5
5
|
/** Which filter the popover is currently editing. */
|
|
6
6
|
activeFilterInPopover: FilterConfig | null;
|
|
7
|
+
/** Active operator when the caller already owns the displayed selection. */
|
|
8
|
+
operator?: FilterOperator;
|
|
7
9
|
/** Filters the user may add. */
|
|
8
10
|
availableFilters: FilterConfig[];
|
|
9
11
|
/** Filters currently applied. */
|
|
@@ -33,4 +35,4 @@ export interface FilterPopoverContentProps {
|
|
|
33
35
|
* The component is used to wrap filter content in a consistent
|
|
34
36
|
* popover interface across different filter types.
|
|
35
37
|
*/
|
|
36
|
-
export declare function FilterPopoverContent({ activeFilterInPopover, availableFilters, activeFilters, getFilterValue, setFilterValue, onFilterSelect, onBackToFilterList, onClose, triggerSource, finalFocus, }: FilterPopoverContentProps): import("react").JSX.Element;
|
|
38
|
+
export declare function FilterPopoverContent({ activeFilterInPopover, operator, availableFilters, activeFilters, getFilterValue, setFilterValue, onFilterSelect, onBackToFilterList, onClose, triggerSource, finalFocus, }: FilterPopoverContentProps): 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
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { FilterConfig, FilterOperator, FilterTriggerSource } from '../filters.types';
|
|
2
|
+
interface RangeFilterContentProps {
|
|
3
|
+
filter: FilterConfig;
|
|
4
|
+
operator: FilterOperator;
|
|
5
|
+
value: string[];
|
|
6
|
+
onFilterChange: (value: string[]) => void;
|
|
7
|
+
onBackToFilterList: () => void;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
triggerSource: FilterTriggerSource;
|
|
10
|
+
}
|
|
11
|
+
export declare function RangeFilterContent({ filter, operator, value, onFilterChange, onBackToFilterList, onClose, triggerSource }: RangeFilterContentProps): import("react").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -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;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { CascaderNode } from '../../../base/cascader';
|
|
3
|
-
import type { FilterConfig, FilterDependency, FilterOption } from '../filters.types';
|
|
3
|
+
import type { FilterConfig, FilterDependency, FilterOperator, FilterOption } from '../filters.types';
|
|
4
|
+
export declare function getRangeBounds(value: readonly string[], operator?: FilterOperator): [min: string, max: string];
|
|
5
|
+
export declare function isCompleteDateRange(value: readonly string[]): boolean;
|
|
6
|
+
/** Filter dates use local calendar days or the app's explicit parameter format. */
|
|
7
|
+
export declare function parseFilterDate(value: string | undefined, pattern?: string): Date | undefined;
|
|
4
8
|
/**
|
|
5
9
|
* The option for a value and its ancestors, searching nested options.
|
|
6
10
|
*/
|
|
@@ -27,14 +31,36 @@ export declare function getFilterOptionLabel(filter: FilterConfig, value: string
|
|
|
27
31
|
*/
|
|
28
32
|
export declare function getFilterOptionIcon(filter: FilterConfig, value: string): ReactNode | undefined;
|
|
29
33
|
/**
|
|
30
|
-
* 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.
|
|
31
41
|
*
|
|
32
42
|
* @param filter - The filter configuration to validate against
|
|
33
43
|
* @param value - The value to validate
|
|
34
|
-
* @param t
|
|
44
|
+
* @param t - Resolves a `validation.*` string path to its copy
|
|
35
45
|
* @returns true if valid, or an error message string if invalid
|
|
36
46
|
*/
|
|
37
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;
|
|
38
64
|
/**
|
|
39
65
|
* Formats a filter value for display using either the format function provided
|
|
40
66
|
* in the filter config, or by looking up option labels
|
|
@@ -45,11 +71,14 @@ export declare function validateFilterValue(filter: FilterConfig, value: unknown
|
|
|
45
71
|
*/
|
|
46
72
|
export declare function formatFilterValue(filter: FilterConfig, value: unknown): string;
|
|
47
73
|
/**
|
|
48
|
-
* 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.
|
|
49
76
|
*/
|
|
50
77
|
export declare function getDependentFilterValues(dependencies: FilterDependency[], filterState: Record<string, string[]>): Record<string, string[]>;
|
|
51
78
|
/**
|
|
52
|
-
* 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.
|
|
53
81
|
*/
|
|
54
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. */
|
|
55
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, 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, 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;
|