themelia-react-ui 2.0.6 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +250 -0
- package/MIGRATION.md +746 -7
- package/README.md +27 -23
- package/dist/{accordion-0tQUZ20r.js → accordion-DNVqwEIC.js} +36 -36
- package/dist/accordion-DNVqwEIC.js.map +1 -0
- package/dist/action-menu-D5343RwT.js +286 -0
- package/dist/action-menu-D5343RwT.js.map +1 -0
- package/dist/ai-artifact-otrz9ZwS.js +1214 -0
- package/dist/ai-artifact-otrz9ZwS.js.map +1 -0
- package/dist/anchored-positioning-1U_eBFNx.js +9 -0
- package/dist/anchored-positioning-1U_eBFNx.js.map +1 -0
- package/dist/app-shell-CPN30Nb1.js +372 -0
- package/dist/app-shell-CPN30Nb1.js.map +1 -0
- package/dist/{attachment-BCpA4e7i.js → attachment-D2-fpfmv.js} +15 -15
- package/dist/{attachment-BCpA4e7i.js.map → attachment-D2-fpfmv.js.map} +1 -1
- package/dist/{auth-B0girIk_.js → auth-g_oUTDDC.js} +234 -241
- package/dist/auth-g_oUTDDC.js.map +1 -0
- package/dist/{avatar-B9Jnp-T-.js → avatar-Ca3Ihrq4.js} +4 -4
- package/dist/{avatar-B9Jnp-T-.js.map → avatar-Ca3Ihrq4.js.map} +1 -1
- package/dist/{badge-wWauMgAt.js → badge-oGiXblW7.js} +8 -9
- package/dist/badge-oGiXblW7.js.map +1 -0
- package/dist/base/accordion.js +1 -1
- package/dist/base/action-menu.js +1 -1
- package/dist/base/attachment.js +1 -1
- package/dist/base/avatar.js +1 -1
- package/dist/base/badge.js +1 -1
- package/dist/base/batch-action-bar.js +1 -1
- package/dist/base/buttons.js +2 -2
- package/dist/base/cards.js +3 -3
- package/dist/base/carousel.js +11 -11
- package/dist/base/carousel.js.map +1 -1
- package/dist/base/cascader.js +1 -1
- package/dist/base/chart.js +1 -1
- package/dist/base/choice-inputs.js +2 -2
- package/dist/base/code-block.js +1 -1
- package/dist/base/combobox.js +1 -1
- package/dist/base/command.js +1 -1
- package/dist/base/copyable.js +1 -1
- package/dist/base/date-pickers.js +2 -2
- package/dist/base/display.js +7 -7
- package/dist/base/feedback.js +4 -4
- package/dist/base/forms-numeric.js +2 -2
- package/dist/base/forms.js +2 -2
- package/dist/base/inline-edit.js +13 -13
- package/dist/base/inline-edit.js.map +1 -1
- package/dist/base/item.js +1 -1
- package/dist/base/media-gallery.js +203 -2
- package/dist/base/media-gallery.js.map +1 -0
- package/dist/base/metadata-list.js +1 -1
- package/dist/base/navigation.js +7 -7
- package/dist/base/popover-menu.js +1 -1
- package/dist/base/popover.js +1 -1
- package/dist/base/qr-code.js +32 -22
- package/dist/base/qr-code.js.map +1 -1
- package/dist/base/repeaters.js +91 -88
- package/dist/base/repeaters.js.map +1 -1
- package/dist/base/sidebar.js +2 -2
- package/dist/base/signature-pad.js +14 -14
- package/dist/base/signature-pad.js.map +1 -1
- package/dist/base/skeleton.js +1 -1
- package/dist/base/spinner.js +6 -12
- package/dist/base/spinner.js.map +1 -1
- package/dist/base/structure.js +1 -1
- package/dist/base/table.js +1 -1
- package/dist/base/text-inputs.js +3 -3
- package/dist/base/toaster.js +2 -2
- package/dist/base/tree.js +2 -2
- package/dist/base/upload-queue.js +303 -2
- package/dist/base/upload-queue.js.map +1 -0
- package/dist/base/upload.js +3 -4
- package/dist/base/value-inputs.js +1 -1
- package/dist/{batch-action-bar-BoqWIIpV.js → batch-action-bar-D6MZQNnC.js} +10 -10
- package/dist/{batch-action-bar-BoqWIIpV.js.map → batch-action-bar-D6MZQNnC.js.map} +1 -1
- package/dist/blocks/admin.js +242 -228
- package/dist/blocks/admin.js.map +1 -1
- package/dist/blocks/ai.js +395 -357
- package/dist/blocks/ai.js.map +1 -1
- package/dist/blocks/analytics/charts.js +1022 -0
- package/dist/blocks/analytics/charts.js.map +1 -0
- package/dist/blocks/analytics/usage-card.js +1 -1
- package/dist/blocks/analytics.js +171 -1365
- package/dist/blocks/analytics.js.map +1 -1
- package/dist/blocks/collaboration.js +1 -1
- package/dist/blocks/commerce/receipt.js +1 -1
- package/dist/blocks/commerce.js +1487 -1358
- package/dist/blocks/commerce.js.map +1 -1
- package/dist/blocks/data-display.js +2 -3
- package/dist/blocks/onboarding.js +91 -82
- package/dist/blocks/onboarding.js.map +1 -1
- package/dist/blocks/planning.js +25 -25
- package/dist/blocks/planning.js.map +1 -1
- package/dist/blocks/timelines.js +2 -2
- package/dist/{breadcrumbs-Bp9Ke7kd.js → breadcrumbs-CQ9JSlez.js} +52 -45
- package/dist/breadcrumbs-CQ9JSlez.js.map +1 -0
- package/dist/{button-ChBovTx0.js → button-rd6FiHfQ.js} +12 -8
- package/dist/button-rd6FiHfQ.js.map +1 -0
- package/dist/{buttons-DeW0bQeK.js → buttons-pZVgPTZn.js} +230 -246
- package/dist/buttons-pZVgPTZn.js.map +1 -0
- package/dist/{cards-CNXnmvV5.js → cards-CgWyqvgZ.js} +25 -22
- package/dist/{cards-CNXnmvV5.js.map → cards-CgWyqvgZ.js.map} +1 -1
- package/dist/cascader-Cf05pwaq.js +444 -0
- package/dist/cascader-Cf05pwaq.js.map +1 -0
- package/dist/{chart-I7ROnsl8.js → chart-CygRCyIZ.js} +5 -5
- package/dist/{chart-I7ROnsl8.js.map → chart-CygRCyIZ.js.map} +1 -1
- package/dist/{checkbox-MoyHIAPs.js → checkbox-Dy5_XBMZ.js} +4 -4
- package/dist/{checkbox-MoyHIAPs.js.map → checkbox-Dy5_XBMZ.js.map} +1 -1
- package/dist/{choice-inputs-DHGtx0QV.js → choice-inputs-oJEsrb5Y.js} +113 -114
- package/dist/choice-inputs-oJEsrb5Y.js.map +1 -0
- package/dist/{code-block-BSJyq9e-.js → code-block-BrLD7mCi.js} +44 -60
- package/dist/code-block-BrLD7mCi.js.map +1 -0
- package/dist/collapsible-CRCCg_bO.js +80 -0
- package/dist/collapsible-CRCCg_bO.js.map +1 -0
- package/dist/{collection-content-CSnwtOTH.js → collection-content-D7SoDlYd.js} +3 -3
- package/dist/{collection-content-CSnwtOTH.js.map → collection-content-D7SoDlYd.js.map} +1 -1
- package/dist/combobox-Dl6f6kHz.js +362 -0
- package/dist/combobox-Dl6f6kHz.js.map +1 -0
- package/dist/combobox-DrDXtSSt.js +929 -0
- package/dist/combobox-DrDXtSSt.js.map +1 -0
- package/dist/command-CjZ2VzKC.js +432 -0
- package/dist/command-CjZ2VzKC.js.map +1 -0
- package/dist/comments-C2MZyRmh.js +1214 -0
- package/dist/comments-C2MZyRmh.js.map +1 -0
- package/dist/components/base/accordion/accordion.d.ts +11 -3
- package/dist/components/base/action-menu/action-menu.d.ts +11 -3
- package/dist/components/base/buttons/button.d.ts +2 -2
- package/dist/components/base/buttons/index.d.ts +1 -1
- package/dist/components/base/buttons/loader-button.d.ts +6 -15
- package/dist/components/base/cards/index.d.ts +1 -1
- package/dist/components/base/cards/partials/card-body-context.d.ts +6 -0
- package/dist/components/base/cards/smart-card.d.ts +0 -2
- package/dist/components/base/cards/smart-card.types.d.ts +12 -10
- package/dist/components/base/cascader/cascader.d.ts +8 -2
- package/dist/components/base/cascader/cascader.types.d.ts +24 -2
- package/dist/components/base/cascader/index.d.ts +1 -1
- package/dist/components/base/choice-inputs/switch.d.ts +1 -1
- package/dist/components/base/code-block/use-code-copy.d.ts +2 -6
- package/dist/components/base/command/command.d.ts +1 -1
- package/dist/components/base/date-pickers/datepicker.types.d.ts +1 -3
- package/dist/components/base/display/dialog.d.ts +3 -9
- package/dist/components/base/display/index.d.ts +2 -3
- package/dist/components/base/display/separator.d.ts +1 -1
- package/dist/components/base/feedback/alert.d.ts +2 -1
- package/dist/components/base/feedback/empty.d.ts +10 -2
- package/dist/components/base/forms/workflow.d.ts +2 -2
- package/dist/components/base/forms-numeric/dimensions-input.d.ts +9 -17
- package/dist/components/base/forms-numeric/index.d.ts +3 -3
- package/dist/components/base/item/item.types.d.ts +6 -2
- package/dist/components/base/metadata-list/index.d.ts +1 -3
- package/dist/components/base/metadata-list/metadata-list.d.ts +4 -1
- package/dist/components/base/navigation/index.d.ts +2 -2
- package/dist/components/base/navigation/language-switcher.d.ts +7 -6
- package/dist/components/base/navigation/navigation-tabs.d.ts +8 -1
- package/dist/components/base/navigation/page-header/index.d.ts +1 -1
- package/dist/components/base/navigation/page-header/page-header.d.ts +13 -17
- package/dist/components/base/navigation/pagination.d.ts +5 -5
- package/dist/components/base/popover/popover.recipes.d.ts +0 -1
- package/dist/components/base/qr-code/qr-code.d.ts +4 -0
- package/dist/components/base/repeaters/index.d.ts +1 -1
- package/dist/components/base/repeaters/key-value-editor.d.ts +4 -0
- package/dist/components/base/sheet/sheet.d.ts +6 -15
- package/dist/components/base/sidebar/index.d.ts +1 -6
- package/dist/components/base/sidebar/sidebar.d.ts +38 -10
- package/dist/components/base/skeleton/skeleton.d.ts +1 -1
- package/dist/components/base/structure/structure.types.d.ts +11 -2
- package/dist/components/base/text-inputs/index.d.ts +1 -1
- package/dist/components/base/tree/index.d.ts +1 -0
- package/dist/components/base/tree/tree.d.ts +2 -2
- package/dist/components/base/tree/tree.types.d.ts +7 -1
- package/dist/components/base/upload/file-upload.validation.d.ts +37 -1
- package/dist/components/base/upload/image-upload.d.ts +2 -0
- package/dist/components/base/upload/index.d.ts +3 -9
- package/dist/components/base/value-inputs/date-time-input.d.ts +4 -0
- package/dist/components/base/value-inputs/slider.d.ts +5 -2
- package/dist/components/blocks/admin/action-surfaces/index.d.ts +17 -4
- package/dist/components/blocks/admin/api-key-list/api-key-list.types.d.ts +9 -3
- package/dist/components/blocks/admin/index.d.ts +1 -1
- package/dist/components/blocks/ai/ai-artifact/ai-artifact.d.ts +1 -1
- package/dist/components/blocks/ai/ai-artifact/types.d.ts +9 -4
- package/dist/components/blocks/ai/ai-chain-of-thought/ai-chain-of-thought.d.ts +1 -1
- package/dist/components/blocks/ai/ai-chain-of-thought/types.d.ts +11 -1
- package/dist/components/blocks/ai/ai-citation/ai-citation.d.ts +1 -1
- package/dist/components/blocks/ai/ai-citation/types.d.ts +6 -0
- package/dist/components/blocks/ai/ai-confirmation/ai-confirmation.d.ts +1 -1
- package/dist/components/blocks/ai/ai-confirmation/types.d.ts +21 -5
- package/dist/components/blocks/ai/ai-feedback/types.d.ts +7 -2
- package/dist/components/blocks/ai/ai-inline-citation/types.d.ts +9 -3
- package/dist/components/blocks/ai/ai-package-info/ai-package-info.d.ts +1 -1
- package/dist/components/blocks/ai/ai-package-info/types.d.ts +6 -0
- package/dist/components/blocks/ai/ai-sources/ai-sources.d.ts +1 -1
- package/dist/components/blocks/ai/ai-sources/types.d.ts +8 -2
- package/dist/components/blocks/ai/ai-task/ai-task.d.ts +1 -1
- package/dist/components/blocks/ai/ai-task/types.d.ts +10 -1
- package/dist/components/blocks/ai/ai-tool-call/ai-tool-call.d.ts +1 -1
- package/dist/components/blocks/ai/ai-tool-call/types.d.ts +6 -0
- package/dist/components/blocks/ai/ai.strings.d.ts +2 -0
- package/dist/components/blocks/analytics/activity-heatmap/types.d.ts +1 -1
- package/dist/components/blocks/analytics/analytics.strings.d.ts +2 -0
- package/dist/components/blocks/analytics/atoms/metric-trend-chip.d.ts +11 -1
- package/dist/components/blocks/analytics/chart-card/chart-card.d.ts +7 -5
- package/dist/components/blocks/analytics/charts/index.d.ts +27 -0
- package/dist/components/blocks/analytics/index.d.ts +17 -24
- package/dist/components/blocks/analytics/metric/metric.d.ts +5 -5
- package/dist/components/blocks/analytics/metric-grid/metric-grid.d.ts +2 -2
- package/dist/components/blocks/analytics/types.d.ts +12 -3
- package/dist/components/blocks/analytics/usage-card/usage-card.strings.d.ts +2 -0
- package/dist/components/blocks/commerce/address-card/address-card.d.ts +1 -1
- package/dist/components/blocks/commerce/address-card/types.d.ts +5 -16
- package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.d.ts +2 -2
- package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.types.d.ts +6 -4
- package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +0 -2
- package/dist/components/blocks/commerce/cart-summary/index.d.ts +2 -2
- package/dist/components/blocks/commerce/cart-summary/types.d.ts +9 -11
- package/dist/components/blocks/commerce/coupon-input/coupon-input.d.ts +1 -1
- package/dist/components/blocks/commerce/coupon-input/types.d.ts +7 -3
- package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +0 -2
- package/dist/components/blocks/commerce/discount-stack/index.d.ts +2 -2
- package/dist/components/blocks/commerce/discount-stack/types.d.ts +4 -6
- package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +1 -1
- package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +2 -0
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-balance.d.ts +18 -0
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-compact.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-copy-button.d.ts +0 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-dark.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-full.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-illustrated.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-minimal.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/types.d.ts +16 -5
- package/dist/components/blocks/commerce/index.d.ts +8 -8
- package/dist/components/blocks/commerce/inventory-level/inventory-level.strings.d.ts +2 -0
- package/dist/components/blocks/commerce/inventory-level/types.d.ts +1 -1
- package/dist/components/blocks/commerce/inventory-section/types.d.ts +0 -5
- package/dist/components/blocks/commerce/invoice-line-items/types.d.ts +6 -3
- package/dist/components/blocks/commerce/loyalty-points/loyalty-points.d.ts +1 -1
- package/dist/components/blocks/commerce/loyalty-points/types.d.ts +11 -5
- package/dist/components/blocks/commerce/order-status/order-status.d.ts +1 -1
- package/dist/components/blocks/commerce/order-status/types.d.ts +8 -8
- package/dist/components/blocks/commerce/order-timeline/order-timeline.d.ts +1 -1
- package/dist/components/blocks/commerce/order-timeline/types.d.ts +3 -1
- package/dist/components/blocks/commerce/payment-method/index.d.ts +2 -2
- package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +0 -8
- package/dist/components/blocks/commerce/payment-method/types.d.ts +0 -2
- package/dist/components/blocks/commerce/receipt/index.d.ts +1 -1
- package/dist/components/blocks/commerce/receipt/receipt-items.d.ts +1 -1
- package/dist/components/blocks/commerce/receipt/types.d.ts +10 -0
- package/dist/components/blocks/commerce/refund-status/index.d.ts +2 -2
- package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +0 -2
- package/dist/components/blocks/commerce/refund-status/types.d.ts +0 -2
- package/dist/components/blocks/commerce/seo-listing/types.d.ts +7 -0
- package/dist/components/blocks/commerce/shared/code-entry.d.ts +39 -0
- package/dist/components/blocks/commerce/shared/order-status.d.ts +1 -1
- package/dist/components/blocks/commerce/subscription-summary/subscription-summary.d.ts +1 -1
- package/dist/components/blocks/commerce/subscription-summary/types.d.ts +10 -1
- package/dist/components/blocks/commerce/upcoming-booking/index.d.ts +2 -1
- package/dist/components/blocks/commerce/upcoming-booking/types.d.ts +8 -0
- package/dist/components/blocks/commerce/upcoming-booking/upcoming-booking.d.ts +2 -2
- package/dist/components/blocks/commerce/vendor-profile/types.d.ts +4 -5
- package/dist/components/blocks/commerce/voucher-entry/types.d.ts +6 -3
- package/dist/components/blocks/commerce/voucher-entry/voucher-entry.d.ts +1 -1
- package/dist/components/blocks/content-block-hooks.d.ts +22 -0
- package/dist/components/blocks/data-display/dense-info-card/dense-info.strings.d.ts +5 -1
- package/dist/components/blocks/data-display/dense-info-card/helpers.d.ts +3 -1
- package/dist/components/blocks/data-display/dense-info-card/index.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-classification.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-dashboard.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-financial.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-project.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-score.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/types.d.ts +12 -5
- package/dist/components/blocks/data-display/empty-state/empty-state.types.d.ts +6 -0
- package/dist/components/blocks/data-display/index.d.ts +0 -1
- package/dist/components/blocks/data-display/relationship-card-frame.d.ts +1 -1
- package/dist/components/blocks/onboarding/checklist/checklist.types.d.ts +5 -3
- package/dist/components/blocks/planning/task-card.types.d.ts +7 -3
- package/dist/components/blocks/timelines/changelog/types.d.ts +2 -2
- package/dist/components/blocks/timelines/index.d.ts +2 -2
- package/dist/components/blocks/timelines/milestones/types.d.ts +2 -2
- package/dist/components/blocks/timelines/shared/timeline.d.ts +6 -0
- package/dist/components/blocks/timelines/steps-card/index.d.ts +2 -1
- package/dist/components/blocks/timelines/steps-card/steps-card.d.ts +2 -2
- package/dist/components/blocks/timelines/steps-card/types.d.ts +13 -1
- package/dist/components/features/activities/activities.strings.d.ts +5 -3
- package/dist/components/features/activities/activities.types.d.ts +28 -11
- package/dist/components/features/activities/hooks/use-activity-feed.d.ts +6 -0
- package/dist/components/features/activities/index.d.ts +1 -1
- package/dist/components/features/activities/partials/activity-headline.d.ts +5 -0
- package/dist/components/features/activities/partials/activity-row.d.ts +12 -13
- package/dist/components/features/activities/partials/row-layers.d.ts +7 -0
- package/dist/components/features/activities/relative-time.d.ts +18 -0
- package/dist/components/features/ai-chat/ai-chat.d.ts +6 -2
- package/dist/components/features/ai-chat/ai-chat.strings.d.ts +41 -2
- package/dist/components/features/ai-chat/ai-chat.types.d.ts +6 -0
- package/dist/components/features/ai-chat/partials/ai-chat-attachments-strip.d.ts +5 -1
- package/dist/components/features/ai-chat/partials/ai-chat-prompt-input.d.ts +2 -2
- package/dist/components/features/ai-chat/partials/ai-chat-queue.d.ts +3 -1
- package/dist/components/features/ai-chat/partials/ai-chat-suggestions-row.d.ts +6 -1
- package/dist/components/features/appointment-calendar/appointment-calendar.d.ts +1 -1
- package/dist/components/features/appointment-calendar/appointment-calendar.types.d.ts +19 -5
- package/dist/components/features/appointment-calendar/index.d.ts +1 -1
- package/dist/components/features/appointment-calendar/partials/appointment-agenda.d.ts +18 -10
- package/dist/components/features/async-preview/async-preview.d.ts +2 -2
- package/dist/components/features/async-preview/async-preview.types.d.ts +30 -1
- package/dist/components/features/async-preview/preview-trigger-cell.d.ts +7 -2
- package/dist/components/features/combobox/async-resource-combobox.d.ts +2 -2
- package/dist/components/features/combobox/combobox.d.ts +12 -3
- package/dist/components/features/combobox/components/error-message.d.ts +3 -1
- package/dist/components/features/combobox/hooks/use-combobox-core.d.ts +2 -2
- package/dist/components/features/combobox/index.d.ts +1 -1
- package/dist/components/features/combobox/types.d.ts +47 -45
- package/dist/components/features/comments/comments.strings.d.ts +6 -5
- package/dist/components/features/comments/comments.types.d.ts +40 -26
- package/dist/components/features/comments/hooks/use-attachment-upload.d.ts +5 -1
- package/dist/components/features/comments/hooks/use-comments.d.ts +8 -1
- package/dist/components/features/data-view/data-view.strings.d.ts +9 -2
- package/dist/components/features/data-view/data-view.types.d.ts +15 -2
- package/dist/components/features/email-composer/email-html.d.ts +5 -0
- package/dist/components/features/email-composer/http.d.ts +2 -0
- package/dist/components/features/email-composer/strings.d.ts +17 -2
- package/dist/components/features/email-composer/types.d.ts +17 -2
- package/dist/components/features/email-composer/use-composer.d.ts +2 -78
- package/dist/components/features/event-calendar/event-calendar-day-cell.d.ts +1 -1
- package/dist/components/features/event-calendar/event-calendar-event-badge.d.ts +1 -1
- package/dist/components/features/event-calendar/event-calendar-header.d.ts +1 -1
- package/dist/components/features/event-calendar/event-calendar-legend.d.ts +2 -2
- package/dist/components/features/event-calendar/event-calendar.d.ts +1 -1
- package/dist/components/features/event-calendar/event-calendar.types.d.ts +126 -21
- package/dist/components/features/filters/facets/range-facet.d.ts +13 -8
- package/dist/components/features/filters/filter-context.d.ts +9 -0
- package/dist/components/features/filters/filters.strings.d.ts +36 -3
- package/dist/components/features/filters/filters.types.d.ts +72 -5
- package/dist/components/features/filters/hooks/use-filter-draft.d.ts +1 -0
- package/dist/components/features/filters/index.d.ts +2 -2
- package/dist/components/features/filters/operator-options.d.ts +25 -2
- package/dist/components/features/filters/partials/active-filter-item.d.ts +0 -13
- package/dist/components/features/filters/partials/async-options-status.d.ts +32 -0
- package/dist/components/features/filters/partials/filter-draft-footer.d.ts +11 -0
- package/dist/components/features/filters/partials/filter-operator-select.d.ts +4 -2
- package/dist/components/features/filters/partials/filter-pill.d.ts +5 -1
- package/dist/components/features/filters/partials/filter-tabs.d.ts +2 -1
- package/dist/components/features/filters/partials/regular-filter-content.d.ts +1 -1
- package/dist/components/features/filters/utils/filter-utils.d.ts +29 -4
- package/dist/components/features/global-search/global-search-dialog.d.ts +7 -1
- package/dist/components/features/global-search/global-search.d.ts +7 -1
- package/dist/components/features/global-search/global-search.strings.d.ts +19 -3
- package/dist/components/features/global-search/global-search.types.d.ts +30 -6
- package/dist/components/features/global-search/index.d.ts +1 -1
- package/dist/components/features/global-search/partials/global-search-idle-state.d.ts +6 -1
- package/dist/components/features/global-search/partials/global-search-input.d.ts +2 -0
- package/dist/components/features/kanban/index.d.ts +2 -2
- package/dist/components/features/kanban/kanban-context.d.ts +4 -0
- package/dist/components/features/kanban/kanban-keyboard.d.ts +7 -2
- package/dist/components/features/kanban/kanban.d.ts +10 -1
- package/dist/components/features/kanban/kanban.strings.d.ts +11 -2
- package/dist/components/features/kanban/kanban.types.d.ts +26 -0
- package/dist/components/features/map/map.d.ts +4 -0
- package/dist/components/features/map/place-autocomplete.d.ts +10 -1
- package/dist/components/features/media-library/hooks/use-media-library.d.ts +3 -1
- package/dist/components/features/media-library/media-library.d.ts +1 -1
- package/dist/components/features/media-library/media-library.strings.d.ts +33 -3
- package/dist/components/features/media-library/media-library.types.d.ts +47 -2
- package/dist/components/features/media-library/partials/media-library-partials.d.ts +1 -1
- package/dist/components/features/mentions/hooks/use-mentions-search.d.ts +7 -0
- package/dist/components/features/mentions/index.d.ts +1 -1
- package/dist/components/features/mentions/mentions.strings.d.ts +10 -2
- package/dist/components/features/mentions/partials/mention-chip.d.ts +1 -0
- package/dist/components/features/mentions/partials/mention-inline-suggestions.d.ts +8 -1
- package/dist/components/features/mentions/partials/mention-picker.d.ts +8 -1
- package/dist/components/features/mentions/partials/mention-search-error.d.ts +6 -0
- package/dist/components/features/mentions/utils/index.d.ts +0 -1
- package/dist/components/features/overlays/alert-dialog.d.ts +1 -1
- package/dist/components/features/overlays/dialog.d.ts +1 -1
- package/dist/components/features/overlays/drawer.d.ts +1 -1
- package/dist/components/features/overlays/index.d.ts +2 -2
- package/dist/components/features/overlays/overlays.strings.d.ts +2 -1
- package/dist/components/features/overlays/overlays.types.d.ts +27 -10
- package/dist/components/features/products/components/index.d.ts +0 -10
- package/dist/components/features/products/components/product-contract-overview.d.ts +1 -1
- package/dist/components/features/products/components/product-details-card.d.ts +1 -1
- package/dist/components/features/products/components/product-operations-card.d.ts +1 -1
- package/dist/components/features/products/components/product-option-action-menu.d.ts +1 -1
- package/dist/components/features/products/components/product-options-summary.d.ts +1 -1
- package/dist/components/features/products/components/product-policies-card.d.ts +1 -1
- package/dist/components/features/products/components/product-quote-preview-card.d.ts +1 -1
- package/dist/components/features/products/components/product-readiness-card.d.ts +1 -1
- package/dist/components/features/products/components/product-structure-card.d.ts +1 -1
- package/dist/components/features/products/components/product-variant-action-menu.d.ts +1 -1
- package/dist/components/features/products/components/product-variants-manager.d.ts +1 -1
- package/dist/components/features/products/components/product-variants-table.d.ts +1 -1
- package/dist/components/features/products/partials/product-surface.d.ts +15 -0
- package/dist/components/features/products/products.strings.d.ts +8 -0
- package/dist/components/features/products/products.types.d.ts +25 -7
- package/dist/components/features/questionnaire/questionnaire.types.d.ts +6 -4
- package/dist/components/features/resource/index.d.ts +2 -3
- package/dist/components/features/resource/resource.d.ts +2 -10
- package/dist/components/features/resource/resource.types.d.ts +7 -149
- package/dist/components/features/resource-assignment/partials/assignment-surface.d.ts +15 -0
- package/dist/components/features/resource-assignment/resource-assignment.strings.d.ts +6 -1
- package/dist/components/features/resource-assignment/resource-assignment.types.d.ts +6 -0
- package/dist/components/features/rich-text-editor/partials/caret-helpers.d.ts +5 -7
- package/dist/components/features/rich-text-editor/partials/html-helpers.d.ts +2 -3
- package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +6 -2
- package/dist/components/features/rich-text-editor/partials/index.d.ts +2 -3
- package/dist/components/features/rich-text-editor/partials/rich-text-editor-tiptap.d.ts +0 -1
- package/dist/components/features/rich-text-editor/partials/rich-text-editor-toolbar.d.ts +2 -3
- package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +13 -1
- package/dist/components/features/schema-form/hooks/use-schema-form.d.ts +5 -0
- package/dist/components/features/schema-form/schema-form.d.ts +1 -1
- package/dist/components/features/schema-form/schema-form.types.d.ts +13 -5
- package/dist/components/features/suggestions/suggestions.strings.d.ts +14 -0
- package/dist/components/features/suggestions/suggestions.types.d.ts +12 -4
- package/dist/components/features/table/data-table.d.ts +1 -1
- package/dist/components/features/table/filter-bar.d.ts +1 -1
- package/dist/components/features/table/pagination.d.ts +1 -1
- package/dist/components/features/table/partials/cell-value.d.ts +1 -1
- package/dist/components/features/table/table-body.d.ts +1 -1
- package/dist/components/features/table/table-header.d.ts +1 -1
- package/dist/components/features/table/table-helpers.d.ts +31 -9
- package/dist/components/features/table/table-region.recipes.d.ts +11 -0
- package/dist/components/features/table/table-toolbar.d.ts +1 -1
- package/dist/components/features/table/table.strings.d.ts +1 -0
- package/dist/components/features/table/table.types.d.ts +74 -48
- package/dist/components/features/theme-tweaker/theme-provider-settings.d.ts +4 -0
- package/dist/components/features/theme-tweaker/theme-tweaker.strings.d.ts +10 -7
- package/dist/components/features/theme-tweaker/theme-tweaker.utils.d.ts +17 -0
- package/dist/components/layout/app-shell/app-shell.types.d.ts +46 -49
- package/dist/components/layout/app-shell/index.d.ts +2 -2
- package/dist/components/layout/app-shell/shell-regions.d.ts +9 -0
- package/dist/components/layout/app-shell/shell-skip-link.d.ts +9 -0
- package/dist/components/layout/app-shell/sidebar-inset-layout.d.ts +1 -1
- package/dist/components/layout/app-shell/stacked-layout.d.ts +1 -1
- package/dist/components/layout/app-shell/topbar-sidebar-layout.d.ts +1 -1
- package/dist/components/layout/auth/auth-shell.d.ts +1 -1
- package/dist/components/layout/auth/auth.types.d.ts +0 -5
- package/dist/components/layout/containers/inline-gutter-context.d.ts +7 -0
- package/dist/components/layout/containers/main-landmark-context.d.ts +6 -0
- package/dist/components/layout/header/header.types.d.ts +16 -6
- package/dist/components/layout/header/partials/header-global-search-trigger.d.ts +1 -1
- package/dist/components/layout/header/partials/header-notifications.d.ts +1 -1
- package/dist/components/layout/header/partials/header-search.d.ts +1 -1
- package/dist/components/layout/hooks/use-command-shortcut.d.ts +10 -1
- package/dist/components/layout/layout.types.d.ts +2 -2
- package/dist/components/layout/navigation/breadcrumb-progress/breadcrumb-progress.d.ts +1 -1
- package/dist/components/layout/navigation/breadcrumb-progress/types.d.ts +9 -0
- package/dist/components/layout/navigation/section-nav/section-nav.d.ts +8 -1
- package/dist/components/layout/page/index.d.ts +2 -3
- package/dist/components/layout/page/page.strings.d.ts +12 -0
- package/dist/components/layout/page/page.types.d.ts +7 -110
- package/dist/components/layout/page/partials/page-header.d.ts +1 -1
- package/dist/components/layout/settings/index.d.ts +1 -1
- package/dist/components/layout/settings/settings.d.ts +3 -5
- package/dist/components/layout/sidebar/app-sidebar.d.ts +1 -1
- package/dist/components/layout/sidebar/components/sidebar-grouped-navigation.d.ts +1 -1
- package/dist/components/layout/sidebar/components/sidebar-navigation-footer.d.ts +1 -1
- package/dist/components/layout/sidebar/components/sidebar-navigation.d.ts +1 -1
- package/dist/components/layout/sidebar/index.d.ts +1 -1
- package/dist/components/layout/sidebar/sidebar-navigation-rail.d.ts +15 -7
- package/dist/components/layout/sidebar/sidebar.types.d.ts +10 -12
- package/dist/components/layout/sidebar/sidebar.utils.d.ts +4 -0
- package/dist/components/layout/workspace/workspace.strings.d.ts +2 -2
- package/dist/components/layout/workspace/workspace.types.d.ts +13 -7
- package/dist/components/primitives/date.d.ts +22 -3
- package/dist/components/primitives/file-size.d.ts +8 -2
- package/dist/components/primitives/index.d.ts +1 -1
- package/dist/components/primitives/initials.d.ts +3 -1
- package/dist/components/primitives/link.d.ts +8 -1
- package/dist/components/primitives/money.d.ts +1 -1
- package/dist/components/primitives/number.d.ts +2 -1
- package/dist/components/typography/heading.d.ts +9 -3
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/text-link.d.ts +10 -3
- package/dist/components/ui/badge.d.ts +2 -4
- package/dist/components/ui/breadcrumb.d.ts +2 -3
- package/dist/components/ui/button.d.ts +8 -2
- package/dist/components/ui/collapsible.d.ts +1 -4
- package/dist/components/ui/command.d.ts +20 -18
- package/dist/components/ui/dialog.d.ts +3 -9
- package/dist/components/ui/empty.d.ts +2 -2
- package/dist/components/ui/input-group.d.ts +3 -3
- package/dist/components/ui/item.d.ts +3 -3
- package/dist/components/ui/popover.d.ts +3 -7
- package/dist/components/ui/sheet.d.ts +4 -12
- package/dist/components/ui/sidebar-state.d.ts +6 -1
- package/dist/components/ui/sidebar.d.ts +7 -4
- package/dist/components/ui/tabs.d.ts +2 -2
- package/dist/components/ui/toggle-group.d.ts +3 -3
- package/dist/components/ui/toggle.d.ts +2 -2
- package/dist/components/ui/tooltip.d.ts +1 -3
- package/dist/{containers-CSdc32h9.js → containers-BdfLTP4w.js} +37 -32
- package/dist/containers-BdfLTP4w.js.map +1 -0
- package/dist/content-block-hooks-Z3iKjqd1.js +17 -0
- package/dist/content-block-hooks-Z3iKjqd1.js.map +1 -0
- package/dist/{copyable-3fdHfMR3.js → copyable-Bmr14W0d.js} +6 -6
- package/dist/{copyable-3fdHfMR3.js.map → copyable-Bmr14W0d.js.map} +1 -1
- package/dist/{data-display-Cmj-xZYl.js → data-display-CWe9SOYh.js} +264 -251
- package/dist/data-display-CWe9SOYh.js.map +1 -0
- package/dist/date-3qsCE1ID.js +209 -0
- package/dist/date-3qsCE1ID.js.map +1 -0
- package/dist/{date-picker-CyQlFYsP.js → date-picker-D1keJQIG.js} +129 -129
- package/dist/date-picker-D1keJQIG.js.map +1 -0
- package/dist/date-pickers-D8aJoeHc.js +185 -0
- package/dist/date-pickers-D8aJoeHc.js.map +1 -0
- package/dist/disclosure-panel-B0HFNZ9x.js.map +1 -1
- package/dist/{display-CT_N2a3w.js → display-VlmP1I0i.js} +23 -46
- package/dist/display-VlmP1I0i.js.map +1 -0
- package/dist/{dropdown-menu-C08iIugv.js → dropdown-menu-B8hjvbkS.js} +9 -9
- package/dist/{dropdown-menu-C08iIugv.js.map → dropdown-menu-B8hjvbkS.js.map} +1 -1
- package/dist/dropzone-CHBNK3de.js +116 -0
- package/dist/dropzone-CHBNK3de.js.map +1 -0
- package/dist/features/activities.js +682 -628
- package/dist/features/activities.js.map +1 -1
- package/dist/features/ai-chat.js +258 -226
- package/dist/features/ai-chat.js.map +1 -1
- package/dist/features/appointment-calendar.js +436 -340
- package/dist/features/appointment-calendar.js.map +1 -1
- package/dist/features/async-preview.js +351 -265
- package/dist/features/async-preview.js.map +1 -1
- package/dist/features/combobox.js +2 -2
- package/dist/features/comments.js +1 -1
- package/dist/features/data-view.js +212 -151
- package/dist/features/data-view.js.map +1 -1
- package/dist/features/email-composer/engine.js +1 -1
- package/dist/features/email-composer.js +344 -315
- package/dist/features/email-composer.js.map +1 -1
- package/dist/features/event-calendar.js +504 -355
- package/dist/features/event-calendar.js.map +1 -1
- package/dist/features/filters.js +2 -2
- package/dist/features/global-search.js +250 -206
- package/dist/features/global-search.js.map +1 -1
- package/dist/features/kanban.js +269 -189
- package/dist/features/kanban.js.map +1 -1
- package/dist/features/map.js +385 -371
- package/dist/features/map.js.map +1 -1
- package/dist/features/media-library.js +1571 -1199
- package/dist/features/media-library.js.map +1 -1
- package/dist/features/mentions.js +2 -2
- package/dist/features/overlays.js +2 -2
- package/dist/features/products.js +1780 -1691
- package/dist/features/products.js.map +1 -1
- package/dist/features/questionnaire.js +165 -152
- package/dist/features/questionnaire.js.map +1 -1
- package/dist/features/resource-assignment.js +223 -191
- package/dist/features/resource-assignment.js.map +1 -1
- package/dist/features/resource.js +55 -220
- package/dist/features/resource.js.map +1 -1
- package/dist/features/rich-text-editor.js +3 -3
- package/dist/features/schema-form.js +280 -228
- package/dist/features/schema-form.js.map +1 -1
- package/dist/features/suggestions.js +48 -39
- package/dist/features/suggestions.js.map +1 -1
- package/dist/features/table.js +2 -2
- package/dist/features/theme-tweaker.js +723 -633
- package/dist/features/theme-tweaker.js.map +1 -1
- package/dist/feedback-DmqmXKLn.js +254 -0
- package/dist/feedback-DmqmXKLn.js.map +1 -0
- package/dist/{field-affordance-recipes-D6H7tVJi.js → field-affordance-recipes-DfbMadot.js} +13 -9
- package/dist/field-affordance-recipes-DfbMadot.js.map +1 -0
- package/dist/{field-state-recipes-7sza8QbC.js → field-state-recipes-EtCxpEy3.js} +6 -2
- package/dist/field-state-recipes-EtCxpEy3.js.map +1 -0
- package/dist/filters-BviMRMLS.js +2692 -0
- package/dist/filters-BviMRMLS.js.map +1 -0
- package/dist/{focus-recipes-B653VaLq.js → focus-recipes-DSkiUvUp.js} +3 -3
- package/dist/focus-recipes-DSkiUvUp.js.map +1 -0
- package/dist/{form-field-CAPdwdnZ.js → form-field-BdfCwSoQ.js} +5 -5
- package/dist/{form-field-CAPdwdnZ.js.map → form-field-BdfCwSoQ.js.map} +1 -1
- package/dist/{form-sizing-CgcrUbLU.js → form-sizing-DE_dZw32.js} +3 -3
- package/dist/{form-sizing-CgcrUbLU.js.map → form-sizing-DE_dZw32.js.map} +1 -1
- package/dist/{forms-B3W8CH7-.js → forms-B8DzJnBN.js} +35 -35
- package/dist/forms-B8DzJnBN.js.map +1 -0
- package/dist/forms-numeric-DOBswjKj.js +992 -0
- package/dist/forms-numeric-DOBswjKj.js.map +1 -0
- package/dist/{header-ZIIsRKxP.js → header-Cq3G0ZRP.js} +100 -95
- package/dist/header-Cq3G0ZRP.js.map +1 -0
- package/dist/{hooks-BitHSh-Y.js → hooks-DHfeSMAO.js} +34 -14
- package/dist/hooks-DHfeSMAO.js.map +1 -0
- package/dist/{http-D_6rOnzU.js → http-Cu-GPpss.js} +61 -35
- package/dist/http-Cu-GPpss.js.map +1 -0
- package/dist/{icon-badge-npxF1SLX.js → icon-badge-B0Kq7wom.js} +3 -3
- package/dist/{icon-badge-npxF1SLX.js.map → icon-badge-B0Kq7wom.js.map} +1 -1
- package/dist/index.js +6 -6
- package/dist/inline-gutter-context-CSqmrMFZ.js +11 -0
- package/dist/inline-gutter-context-CSqmrMFZ.js.map +1 -0
- package/dist/{input-DIREVYHs.js → input-2YrgTUrz.js} +3 -3
- package/dist/{input-DIREVYHs.js.map → input-2YrgTUrz.js.map} +1 -1
- package/dist/{input-7KAc7XQL.js → input-DfJyrjoR.js} +6 -6
- package/dist/{input-7KAc7XQL.js.map → input-DfJyrjoR.js.map} +1 -1
- package/dist/{interaction-recipes-4wZ2tvfb.js → interaction-recipes-DmuS1ase.js} +2 -2
- package/dist/{interaction-recipes-4wZ2tvfb.js.map → interaction-recipes-DmuS1ase.js.map} +1 -1
- package/dist/item-GJ9mvCcg.js +279 -0
- package/dist/item-GJ9mvCcg.js.map +1 -0
- package/dist/layout/app-shell.js +1 -1
- package/dist/layout/auth.js +1 -1
- package/dist/layout/containers.js +1 -1
- package/dist/layout/header.js +1 -1
- package/dist/layout/hooks.js +1 -1
- package/dist/layout/navigation.js +1 -1
- package/dist/layout/page.js +2 -2
- package/dist/layout/settings.js +2 -2
- package/dist/layout/sidebar.js +3 -3
- package/dist/layout/workspace.js +1 -1
- package/dist/layout.js +12 -12
- package/dist/{layout.types-E_GAApzO.js → layout.types-DbtnyAtd.js} +11 -8
- package/dist/layout.types-DbtnyAtd.js.map +1 -0
- package/dist/lib/anchored-positioning.d.ts +11 -0
- package/dist/lib/field-affordance-recipes.d.ts +10 -0
- package/dist/lib/field-state-recipes.d.ts +6 -0
- package/dist/lib/focus-recipes.d.ts +7 -0
- package/dist/lib/format.d.ts +25 -0
- package/dist/lib/money-format.d.ts +6 -0
- package/dist/lib/motion-recipes.d.ts +6 -0
- package/dist/lib/surface-recipes.d.ts +32 -2
- package/dist/lib/theme-scope.d.ts +17 -1
- package/dist/lib/token-merge.generated.d.ts +13 -19
- package/dist/lib/ui-provider/index.d.ts +1 -1
- package/dist/lib/ui-provider/types.d.ts +5 -0
- package/dist/lib/use-controllable-state.d.ts +16 -0
- package/dist/lib/use-copy-feedback.d.ts +15 -0
- package/dist/lib/utils.js +1 -1
- package/dist/lib/variant-props.d.ts +9 -0
- package/dist/main-landmark-context-BAsyqp2I.js +11 -0
- package/dist/main-landmark-context-BAsyqp2I.js.map +1 -0
- package/dist/mentions-zz0ewNIq.js +670 -0
- package/dist/mentions-zz0ewNIq.js.map +1 -0
- package/dist/{message-BJHnn43M.js → message-BiiVrRrm.js} +10 -7
- package/dist/{message-BJHnn43M.js.map → message-BiiVrRrm.js.map} +1 -1
- package/dist/{metadata-list-XkqZ_UXH.js → metadata-list-G85roWjS.js} +13 -12
- package/dist/metadata-list-G85roWjS.js.map +1 -0
- package/dist/{motion-recipes-DitYv6P2.js → motion-recipes-CUc_aHuG.js} +7 -4
- package/dist/motion-recipes-CUc_aHuG.js.map +1 -0
- package/dist/navigation-C0Be5C3i.js +304 -0
- package/dist/navigation-C0Be5C3i.js.map +1 -0
- package/dist/{navigation-Bt-v7rWP.js → navigation-CmqaQR_G.js} +99 -103
- package/dist/navigation-CmqaQR_G.js.map +1 -0
- package/dist/number-NFWKIoiK.js +340 -0
- package/dist/number-NFWKIoiK.js.map +1 -0
- package/dist/{overflow-tab-bar-BQCA2Zn2.js → overflow-tab-bar-DV7HE_3t.js} +8 -8
- package/dist/{overflow-tab-bar-BQCA2Zn2.js.map → overflow-tab-bar-DV7HE_3t.js.map} +1 -1
- package/dist/overlays-D-gAIfPF.js +1018 -0
- package/dist/overlays-D-gAIfPF.js.map +1 -0
- package/dist/page-D4pQhgSq.js +216 -0
- package/dist/page-D4pQhgSq.js.map +1 -0
- package/dist/{page-header-commands-DIKspJfx.js → page-header-commands-elelNOfd.js} +29 -29
- package/dist/{page-header-commands-DIKspJfx.js.map → page-header-commands-elelNOfd.js.map} +1 -1
- package/dist/{pagination-Br8TdV9A.js → pagination-BuSWw1US.js} +22 -23
- package/dist/pagination-BuSWw1US.js.map +1 -0
- package/dist/{popover-k8TdUcAt.js → popover-BpMxbqEK.js} +73 -69
- package/dist/popover-BpMxbqEK.js.map +1 -0
- package/dist/{popover-menu-yn-o0kyA.js → popover-menu-CO-_iiuz.js} +7 -7
- package/dist/{popover-menu-yn-o0kyA.js.map → popover-menu-CO-_iiuz.js.map} +1 -1
- package/dist/{popover.recipes-DJ0AkUan.js → popover.recipes-BqkdvlZn.js} +3 -4
- package/dist/{popover.recipes-DJ0AkUan.js.map → popover.recipes-BqkdvlZn.js.map} +1 -1
- package/dist/{portal-recipes-DyUXqUtD.js → portal-recipes-BPeS4rGB.js} +2 -2
- package/dist/{portal-recipes-DyUXqUtD.js.map → portal-recipes-BPeS4rGB.js.map} +1 -1
- package/dist/primitives-BlC1lXBr.js +447 -0
- package/dist/primitives-BlC1lXBr.js.map +1 -0
- package/dist/primitives.js +4 -4
- package/dist/{progress-DZFXXzPs.js → progress-RARK8AjB.js} +5 -5
- package/dist/{progress-DZFXXzPs.js.map → progress-RARK8AjB.js.map} +1 -1
- package/dist/receipt-CUf2Vegp.js +114 -0
- package/dist/receipt-CUf2Vegp.js.map +1 -0
- package/dist/{rich-text-BnTzZjIo.js → rich-text-Cypm9__d.js} +7 -8
- package/dist/{rich-text-BnTzZjIo.js.map → rich-text-Cypm9__d.js.map} +1 -1
- package/dist/rich-text-editor-Z6cQepsA.js +919 -0
- package/dist/rich-text-editor-Z6cQepsA.js.map +1 -0
- package/dist/rich-text-editor-toolbar-DYbRJARB.js +100 -0
- package/dist/rich-text-editor-toolbar-DYbRJARB.js.map +1 -0
- package/dist/rich-text-tree-DdKHIJx4.js +154 -0
- package/dist/rich-text-tree-DdKHIJx4.js.map +1 -0
- package/dist/safe-image-src-C6kQSMBZ.js +17 -0
- package/dist/safe-image-src-C6kQSMBZ.js.map +1 -0
- package/dist/{scroll-area-Bj6CRUif.js → scroll-area-B9HKbji0.js} +3 -3
- package/dist/{scroll-area-Bj6CRUif.js.map → scroll-area-B9HKbji0.js.map} +1 -1
- package/dist/{separator-DM6gs2vu.js → separator-DaDe26sf.js} +3 -3
- package/dist/separator-DaDe26sf.js.map +1 -0
- package/dist/{separator-B9ewiCGO.js → separator-KGsNXt2J.js} +2 -2
- package/dist/{separator-B9ewiCGO.js.map → separator-KGsNXt2J.js.map} +1 -1
- package/dist/services/actions/action-adapters.d.ts +5 -2
- package/dist/services/actions/index.d.ts +1 -1
- package/dist/services/actions.js +2 -2
- package/dist/services/actions.js.map +1 -1
- package/dist/settings-D5j_RJvT.js +160 -0
- package/dist/settings-D5j_RJvT.js.map +1 -0
- package/dist/sheet-B6j_BE9O.js +241 -0
- package/dist/sheet-B6j_BE9O.js.map +1 -0
- package/dist/{sidebar-CmD6a-HK.js → sidebar-C-iQ_TJP.js} +377 -351
- package/dist/sidebar-C-iQ_TJP.js.map +1 -0
- package/dist/sidebar-D5VO2W8S.js +715 -0
- package/dist/sidebar-D5VO2W8S.js.map +1 -0
- package/dist/{skeleton-DDgdhmu9.js → skeleton-Cab_KgVo.js} +12 -12
- package/dist/skeleton-Cab_KgVo.js.map +1 -0
- package/dist/{smart-card-B6vLxqa_.js → smart-card-C59z6KFO.js} +217 -210
- package/dist/smart-card-C59z6KFO.js.map +1 -0
- package/dist/{structure-DZJ2wbAU.js → structure-DElaQwwN.js} +2 -2
- package/dist/{structure-DZJ2wbAU.js.map → structure-DElaQwwN.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{surface-recipes-C8mNycaY.js → surface-recipes-DV6rrOFq.js} +10 -2
- package/dist/surface-recipes-DV6rrOFq.js.map +1 -0
- package/dist/{table-CXSPHH25.js → table-CSRUgpdK.js} +62 -61
- package/dist/table-CSRUgpdK.js.map +1 -0
- package/dist/table-DdXDBsR_.js +1657 -0
- package/dist/table-DdXDBsR_.js.map +1 -0
- package/dist/{tabs-C4Kr_hCr.js → tabs-WnHfV2pM.js} +27 -27
- package/dist/tabs-WnHfV2pM.js.map +1 -0
- package/dist/{text-inputs-jdkS3ReG.js → text-inputs-ljyBYaCd.js} +112 -112
- package/dist/text-inputs-ljyBYaCd.js.map +1 -0
- package/dist/theme.css +21 -5
- package/dist/timelines-mOmS9Eh3.js +479 -0
- package/dist/timelines-mOmS9Eh3.js.map +1 -0
- package/dist/tooltip-yjX-Uv-p.js +112 -0
- package/dist/tooltip-yjX-Uv-p.js.map +1 -0
- package/dist/{tree-CeYVzdFE.js → tree-YpkxUG2Z.js} +80 -72
- package/dist/tree-YpkxUG2Z.js.map +1 -0
- package/dist/typography/rich-text.js +1 -1
- package/dist/{typography-C7-YMW1S.js → typography-C0dELqYV.js} +46 -40
- package/dist/typography-C0dELqYV.js.map +1 -0
- package/dist/typography.js +1 -1
- package/dist/{ui-provider-C-74NVLc.js → ui-provider-Bu1S-o96.js} +4 -3
- package/dist/ui-provider-Bu1S-o96.js.map +1 -0
- package/dist/ui-provider.js +2 -2
- package/dist/{upload-Hdm5gObf.js → upload-DMuMYJFT.js} +276 -268
- package/dist/upload-DMuMYJFT.js.map +1 -0
- package/dist/{usage-card-9s8hLDfn.js → usage-card-DDPki5P1.js} +57 -54
- package/dist/usage-card-DDPki5P1.js.map +1 -0
- package/dist/use-controllable-state-BlP8SyBI.js +13 -0
- package/dist/use-controllable-state-BlP8SyBI.js.map +1 -0
- package/dist/use-copy-feedback-CzcaqlLf.js +28 -0
- package/dist/use-copy-feedback-CzcaqlLf.js.map +1 -0
- package/dist/use-metric-format-options-Dk4rC1NO.js +251 -0
- package/dist/use-metric-format-options-Dk4rC1NO.js.map +1 -0
- package/dist/{utils-DhuoqFy4.js → utils-BVbAG2J6.js} +98 -76
- package/dist/utils-BVbAG2J6.js.map +1 -0
- package/dist/value-inputs-h5MwjGCo.js +982 -0
- package/dist/value-inputs-h5MwjGCo.js.map +1 -0
- package/dist/value-typography-D15uwfj-.js +154 -0
- package/dist/value-typography-D15uwfj-.js.map +1 -0
- package/dist/workspace-DIryPqBt.js +400 -0
- package/dist/workspace-DIryPqBt.js.map +1 -0
- package/docs/consumer-skill/SKILL.md +7 -0
- package/docs/consumer-skill/agents/themelia-ui-designer.md +11 -2
- package/docs/consumer-skill/examples/analytics.tsx +1 -1
- package/docs/consumer-skill/examples/app-layout.tsx +3 -3
- package/docs/consumer-skill/examples/commerce-lines.tsx +7 -5
- package/docs/consumer-skill/examples/detail.tsx +3 -2
- package/docs/consumer-skill/examples/email-composer.tsx +1 -1
- package/docs/consumer-skill/examples/index-table.tsx +2 -2
- package/docs/consumer-skill/examples/scoped-directory.tsx +7 -6
- package/docs/consumer-skill/references/agents-md.md +20 -16
- package/docs/consumer-skill/references/analytics.md +20 -6
- package/docs/consumer-skill/references/building-views.md +213 -0
- package/docs/consumer-skill/references/catalogue.md +617 -0
- package/docs/consumer-skill/references/component-contracts.json +10202 -18084
- package/docs/consumer-skill/references/composition.md +21 -17
- package/docs/consumer-skill/references/discovery.md +8 -5
- package/docs/consumer-skill/references/installation.md +10 -4
- package/docs/consumer-skill/references/integration.md +5 -5
- package/docs/consumer-skill/references/product-composition.md +2 -2
- package/docs/consumer-skill/references/public-api.json +580 -633
- package/docs/consumer-skill/references/review.md +6 -4
- package/docs/consumer-skill/references/screen-archetypes.md +2 -2
- package/docs/consumer-skill/references/theming.md +1 -1
- package/docs/consumer-skill/references/tokens.json +4 -4
- package/docs/consumer-skill/references/workflows.md +7 -7
- package/docs/consumer-skill/scripts/composition-policy.mjs +40 -20
- package/docs/consumer-skill/scripts/composition.mjs +4 -1
- package/docs/consumer-skill/scripts/discovery.mjs +3 -1
- package/docs/consumer-skill/scripts/setup-skills.mjs +31 -4
- package/docs/consumer-skills/themelia-components/SKILL.md +8 -4
- package/docs/consumer-skills/themelia-composition/SKILL.md +7 -3
- package/docs/consumer-skills/themelia-design/SKILL.md +7 -1
- package/docs/consumer-skills/themelia-tokenization/SKILL.md +1 -1
- package/package.json +9 -12
- package/templates/README.md +3 -2
- package/templates/admin-shell-template.tsx +49 -9
- package/templates/analytics-operations-template.tsx +20 -24
- package/templates/customers-template.tsx +12 -9
- package/templates/index.ts +2 -8
- package/templates/orders-template.tsx +28 -24
- package/templates/products-template.tsx +14 -4
- package/templates/user-permissions-template.tsx +11 -14
- package/dist/accordion-0tQUZ20r.js.map +0 -1
- package/dist/action-menu-C0gjzLyE.js +0 -284
- package/dist/action-menu-C0gjzLyE.js.map +0 -1
- package/dist/ai-artifact-CGGpQryR.js +0 -1200
- package/dist/ai-artifact-CGGpQryR.js.map +0 -1
- package/dist/anchored-positioning-DPnKTvNs.js +0 -6
- package/dist/anchored-positioning-DPnKTvNs.js.map +0 -1
- package/dist/app-shell-EHuuRDGy.js +0 -321
- package/dist/app-shell-EHuuRDGy.js.map +0 -1
- package/dist/auth-B0girIk_.js.map +0 -1
- package/dist/badge-wWauMgAt.js.map +0 -1
- package/dist/base/sheet.js +0 -3
- package/dist/breadcrumbs-Bp9Ke7kd.js.map +0 -1
- package/dist/button-ChBovTx0.js.map +0 -1
- package/dist/buttons-DeW0bQeK.js.map +0 -1
- package/dist/cascader-CrAl9zD5.js +0 -439
- package/dist/cascader-CrAl9zD5.js.map +0 -1
- package/dist/choice-inputs-DHGtx0QV.js.map +0 -1
- package/dist/code-block-BSJyq9e-.js.map +0 -1
- package/dist/collapsible-BzJ91LUG.js +0 -81
- package/dist/collapsible-BzJ91LUG.js.map +0 -1
- package/dist/combobox-Bcvu5J8O.js +0 -363
- package/dist/combobox-Bcvu5J8O.js.map +0 -1
- package/dist/combobox-C2JiSQPc.js +0 -915
- package/dist/combobox-C2JiSQPc.js.map +0 -1
- package/dist/command-9e52NPgK.js +0 -425
- package/dist/command-9e52NPgK.js.map +0 -1
- package/dist/comments-BsgErEqd.js +0 -1174
- package/dist/comments-BsgErEqd.js.map +0 -1
- package/dist/components/base/buttons/tooltip-button.d.ts +0 -7
- package/dist/components/base/display/content-block.d.ts +0 -75
- package/dist/components/base/display/content-block.strings.d.ts +0 -5
- package/dist/components/base/sheet/index.d.ts +0 -29
- package/dist/components/blocks/ai/use-copy-feedback.d.ts +0 -6
- package/dist/components/blocks/data-display/metadata/index.d.ts +0 -30
- package/dist/components/features/mentions/utils/split-html-by-mentions.d.ts +0 -10
- package/dist/components/features/resource/resource.strings.d.ts +0 -12
- package/dist/components/features/rich-text-editor/partials/rich-text-editor-fallback.d.ts +0 -8
- package/dist/components/features/sync/index.d.ts +0 -26
- package/dist/components/features/sync/sync-range-dialog-form.d.ts +0 -5
- package/dist/components/features/sync/sync.strings.d.ts +0 -18
- package/dist/components/features/sync/sync.types.d.ts +0 -44
- package/dist/components/layout/page/partials/page-actions.d.ts +0 -3
- package/dist/components/ui/slot.d.ts +0 -6
- package/dist/containers-CSdc32h9.js.map +0 -1
- package/dist/data-display-Cmj-xZYl.js.map +0 -1
- package/dist/date-Br0FicVv.js +0 -144
- package/dist/date-Br0FicVv.js.map +0 -1
- package/dist/date-picker-CyQlFYsP.js.map +0 -1
- package/dist/date-pickers-tj2MXmXd.js +0 -185
- package/dist/date-pickers-tj2MXmXd.js.map +0 -1
- package/dist/display-CT_N2a3w.js.map +0 -1
- package/dist/features/sync.js +0 -142
- package/dist/features/sync.js.map +0 -1
- package/dist/feedback-Dzo1xtAU.js +0 -246
- package/dist/feedback-Dzo1xtAU.js.map +0 -1
- package/dist/field-affordance-recipes-D6H7tVJi.js.map +0 -1
- package/dist/field-state-recipes-7sza8QbC.js.map +0 -1
- package/dist/filters-Dl80yYtN.js +0 -2415
- package/dist/filters-Dl80yYtN.js.map +0 -1
- package/dist/focus-recipes-B653VaLq.js.map +0 -1
- package/dist/forms-B3W8CH7-.js.map +0 -1
- package/dist/forms-numeric-CwjQJe-O.js +0 -991
- package/dist/forms-numeric-CwjQJe-O.js.map +0 -1
- package/dist/header-ZIIsRKxP.js.map +0 -1
- package/dist/hooks-BitHSh-Y.js.map +0 -1
- package/dist/http-D_6rOnzU.js.map +0 -1
- package/dist/item-FfWnaYST.js +0 -278
- package/dist/item-FfWnaYST.js.map +0 -1
- package/dist/layout.types-E_GAApzO.js.map +0 -1
- package/dist/media-gallery-C81DAnKI.js +0 -203
- package/dist/media-gallery-C81DAnKI.js.map +0 -1
- package/dist/mentions-qOnedSt4.js +0 -639
- package/dist/mentions-qOnedSt4.js.map +0 -1
- package/dist/metadata-list-XkqZ_UXH.js.map +0 -1
- package/dist/motion-recipes-DitYv6P2.js.map +0 -1
- package/dist/navigation-BgtPJAhi.js +0 -288
- package/dist/navigation-BgtPJAhi.js.map +0 -1
- package/dist/navigation-Bt-v7rWP.js.map +0 -1
- package/dist/number-CYqBcrSj.js +0 -346
- package/dist/number-CYqBcrSj.js.map +0 -1
- package/dist/overlays-CC8zI3Du.js +0 -1017
- package/dist/overlays-CC8zI3Du.js.map +0 -1
- package/dist/page-BoQ1VaFJ.js +0 -331
- package/dist/page-BoQ1VaFJ.js.map +0 -1
- package/dist/pagination-Br8TdV9A.js.map +0 -1
- package/dist/popover-k8TdUcAt.js.map +0 -1
- package/dist/primitives-BkkQjYl7.js +0 -385
- package/dist/primitives-BkkQjYl7.js.map +0 -1
- package/dist/receipt-C7LhOg7Q.js +0 -116
- package/dist/receipt-C7LhOg7Q.js.map +0 -1
- package/dist/rich-text-editor-CAurDwT5.js +0 -1273
- package/dist/rich-text-editor-CAurDwT5.js.map +0 -1
- package/dist/rich-text-editor-toolbar-DbXig7Jk.js +0 -99
- package/dist/rich-text-editor-toolbar-DbXig7Jk.js.map +0 -1
- package/dist/rich-text-tree-BqyQ_7-R.js +0 -66
- package/dist/rich-text-tree-BqyQ_7-R.js.map +0 -1
- package/dist/sanitize-html-BWkH4dLM.js +0 -105
- package/dist/sanitize-html-BWkH4dLM.js.map +0 -1
- package/dist/separator-DM6gs2vu.js.map +0 -1
- package/dist/settings-DZPHgpx4.js +0 -155
- package/dist/settings-DZPHgpx4.js.map +0 -1
- package/dist/sheet-C4DHsgLk.js +0 -250
- package/dist/sheet-C4DHsgLk.js.map +0 -1
- package/dist/sidebar-C8BnDwTH.js +0 -709
- package/dist/sidebar-C8BnDwTH.js.map +0 -1
- package/dist/sidebar-CmD6a-HK.js.map +0 -1
- package/dist/skeleton-DDgdhmu9.js.map +0 -1
- package/dist/slot-CLF9kLrS.js +0 -16
- package/dist/slot-CLF9kLrS.js.map +0 -1
- package/dist/smart-card-B6vLxqa_.js.map +0 -1
- package/dist/surface-recipes-C8mNycaY.js.map +0 -1
- package/dist/table-CBonSdTp.js +0 -1584
- package/dist/table-CBonSdTp.js.map +0 -1
- package/dist/table-CXSPHH25.js.map +0 -1
- package/dist/tabs-C4Kr_hCr.js.map +0 -1
- package/dist/text-inputs-jdkS3ReG.js.map +0 -1
- package/dist/timelines-CoPwdJP0.js +0 -458
- package/dist/timelines-CoPwdJP0.js.map +0 -1
- package/dist/tooltip-31NwIpTo.js +0 -113
- package/dist/tooltip-31NwIpTo.js.map +0 -1
- package/dist/tree-CeYVzdFE.js.map +0 -1
- package/dist/typography-C7-YMW1S.js.map +0 -1
- package/dist/ui-provider-C-74NVLc.js.map +0 -1
- package/dist/upload-Hdm5gObf.js.map +0 -1
- package/dist/upload-queue-D0sYPuqo.js +0 -409
- package/dist/upload-queue-D0sYPuqo.js.map +0 -1
- package/dist/usage-card-9s8hLDfn.js.map +0 -1
- package/dist/utils-DhuoqFy4.js.map +0 -1
- package/dist/value-inputs-D3aPgq9H.js +0 -980
- package/dist/value-inputs-D3aPgq9H.js.map +0 -1
- package/dist/value-typography-uSzzG9Gf.js +0 -122
- package/dist/value-typography-uSzzG9Gf.js.map +0 -1
- package/dist/workspace-CC8Vchiu.js +0 -411
- package/dist/workspace-CC8Vchiu.js.map +0 -1
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { y as e } from "./ui-provider-Bu1S-o96.js";
|
|
3
|
+
import { t } from "./utils-BVbAG2J6.js";
|
|
4
|
+
import { c as n } from "./typography-C0dELqYV.js";
|
|
5
|
+
import { s as r } from "./text.styles-B64My8RZ.js";
|
|
6
|
+
import { t as i } from "./anchored-positioning-1U_eBFNx.js";
|
|
7
|
+
import { a, n as o, r as s, t as c } from "./popover.recipes-BqkdvlZn.js";
|
|
8
|
+
import { n as l } from "./collection-content-D7SoDlYd.js";
|
|
9
|
+
import { t as u } from "./input-DfJyrjoR.js";
|
|
10
|
+
import * as d from "react";
|
|
11
|
+
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
12
|
+
import { Check as h } from "lucide-react";
|
|
13
|
+
import { useRender as g } from "@base-ui/react/use-render";
|
|
14
|
+
import { Autocomplete as _ } from "@base-ui/react/autocomplete";
|
|
15
|
+
//#region src/lib/command-filter.ts
|
|
16
|
+
function v(e, t, n = []) {
|
|
17
|
+
let r = [e, ...n].join(" ").toLocaleLowerCase(), i = t.trim().toLocaleLowerCase();
|
|
18
|
+
if (!i || r.includes(i)) return 1;
|
|
19
|
+
let a = 0;
|
|
20
|
+
for (let e of i) {
|
|
21
|
+
if (a = r.indexOf(e, a), a === -1) return 0;
|
|
22
|
+
a += 1;
|
|
23
|
+
}
|
|
24
|
+
return .5;
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/components/ui/command.tsx
|
|
28
|
+
var y = d.createContext(null), b = d.createContext({ forceMount: !1 });
|
|
29
|
+
function x() {
|
|
30
|
+
let e = d.useContext(y);
|
|
31
|
+
if (!e) throw Error("Command parts must be rendered inside Command.");
|
|
32
|
+
return e;
|
|
33
|
+
}
|
|
34
|
+
function S(e) {
|
|
35
|
+
return d.Children.toArray(e).map((e) => typeof e == "string" || typeof e == "number" ? String(e) : d.isValidElement(e) ? S(e.props.children) : "").join(" ").trim();
|
|
36
|
+
}
|
|
37
|
+
function C(e, t) {
|
|
38
|
+
return e.forceMount || !t.shouldFilter || !t.search || t.filter(e.value, t.search, e.keywords) > 0;
|
|
39
|
+
}
|
|
40
|
+
function w(e, t) {
|
|
41
|
+
let n = e.filter((e) => C(e, t));
|
|
42
|
+
if (!t.search || !t.shouldFilter) return n;
|
|
43
|
+
let r = new Map(n.map((e) => [e.id, t.filter(e.value, t.search, e.keywords)])), i = (e, t) => (r.get(t.id) ?? 0) - (r.get(e.id) ?? 0), a = [], o = /* @__PURE__ */ new Map();
|
|
44
|
+
for (let e of n) if (!e.group) a.push(e);
|
|
45
|
+
else {
|
|
46
|
+
let t = o.get(e.group) ?? [];
|
|
47
|
+
t.push(e), o.set(e.group, t);
|
|
48
|
+
}
|
|
49
|
+
let s = Array.from(o.values()).map((e) => e.sort(i)).sort((e, t) => (r.get(t[0].id) ?? 0) - (r.get(e[0].id) ?? 0));
|
|
50
|
+
return [...a.sort(i), ...s.flat()];
|
|
51
|
+
}
|
|
52
|
+
function T({ children: e, className: n, render: r, label: i, shouldFilter: a = !0, filter: o = v, value: s, defaultValue: c = "", onValueChange: l, loop: u = !1, disablePointerSelection: f = !1, vimBindings: m = !0, ref: h, onKeyDown: b, onKeyDownCapture: x, ...S }) {
|
|
53
|
+
let [T, E] = d.useState(""), [D, O] = d.useState({}), [k, A] = d.useState(c), [j, M] = d.useState([]), N = D.value ?? T, P = s ?? k, F = s !== void 0 || c !== "", I = d.useRef(null), L = d.useRef(/* @__PURE__ */ new Map()), R = d.useRef(0), z = d.useCallback((e) => (L.current.has(e.id) || L.current.set(e.id, R.current++), M((t) => [...t.filter((t) => t.id !== e.id), e].sort((e, t) => (L.current.get(e.id) ?? 0) - (L.current.get(t.id) ?? 0))), () => M((t) => t.filter((t) => t.id !== e.id))), []), B = d.useCallback((e) => (O(e), () => O({})), []), V = D.onValueChange, H = d.useCallback((e) => {
|
|
54
|
+
E(e), V?.(e);
|
|
55
|
+
}, [V]), U = d.useCallback((e) => {
|
|
56
|
+
A(e), e !== P && l?.(e);
|
|
57
|
+
}, [l, P]), W = d.useMemo(() => ({
|
|
58
|
+
managedHighlight: F,
|
|
59
|
+
search: N,
|
|
60
|
+
setSearch: H,
|
|
61
|
+
active: P,
|
|
62
|
+
setActive: U,
|
|
63
|
+
shouldFilter: a,
|
|
64
|
+
filter: o,
|
|
65
|
+
records: j,
|
|
66
|
+
register: z,
|
|
67
|
+
registerInput: B
|
|
68
|
+
}), [
|
|
69
|
+
F,
|
|
70
|
+
N,
|
|
71
|
+
H,
|
|
72
|
+
P,
|
|
73
|
+
U,
|
|
74
|
+
a,
|
|
75
|
+
o,
|
|
76
|
+
j,
|
|
77
|
+
z,
|
|
78
|
+
B
|
|
79
|
+
]), G = d.useMemo(() => w(j, {
|
|
80
|
+
search: N,
|
|
81
|
+
shouldFilter: a,
|
|
82
|
+
filter: o
|
|
83
|
+
}), [
|
|
84
|
+
j,
|
|
85
|
+
N,
|
|
86
|
+
a,
|
|
87
|
+
o
|
|
88
|
+
]), K = d.useRef(/* @__PURE__ */ new Map()), q = d.useRef(!1);
|
|
89
|
+
d.useLayoutEffect(() => {
|
|
90
|
+
let e = I.current;
|
|
91
|
+
if (!e) return;
|
|
92
|
+
let t = new Set(j.map((e) => e.id));
|
|
93
|
+
if (j.length) for (let e of L.current.keys()) t.has(e) || L.current.delete(e);
|
|
94
|
+
for (let t of K.current.keys()) e.contains(t) || K.current.delete(t);
|
|
95
|
+
let n = (e) => e.dataset.commandId ? `item:${e.dataset.commandId}` : e.dataset.commandGroupId ? `group:${e.dataset.commandGroupId}` : e.dataset.commandSeparatorId ? `separator:${e.dataset.commandSeparatorId}` : e, r = (e) => !!e.dataset.commandId || !!e.dataset.commandGroupId, i = /* @__PURE__ */ new Set();
|
|
96
|
+
for (let t of e.querySelectorAll("[data-command-id], [data-command-group-id]")) t.parentElement && i.add(t.parentElement);
|
|
97
|
+
let o = new Map(G.map((e, t) => [e.id, t])), s = (e) => e.dataset.commandId ? o.get(e.dataset.commandId) ?? Infinity : G.findIndex((t) => t.group === e.dataset.commandGroupId), c = !!N && a;
|
|
98
|
+
for (let e of i) {
|
|
99
|
+
let i = Array.from(e.children), a = K.current.get(e);
|
|
100
|
+
(!a || !c && !q.current) && (a = new Map(i.map((e, t) => [n(e), t])), K.current.set(e, a));
|
|
101
|
+
for (let e of a.keys()) typeof e == "string" && e.startsWith("item:") && !t.has(e.slice(5)) && a.delete(e);
|
|
102
|
+
for (let e of i) a.has(n(e)) || a.set(n(e), Math.max(-1, ...a.values()) + 1);
|
|
103
|
+
let o;
|
|
104
|
+
if (c) {
|
|
105
|
+
let e = i.filter(r).sort((e, t) => {
|
|
106
|
+
let n = s(e), r = s(t);
|
|
107
|
+
return (n < 0 ? Infinity : n) - (r < 0 ? Infinity : r);
|
|
108
|
+
}), t = 0;
|
|
109
|
+
o = i.map((n) => r(n) ? e[t++] : n);
|
|
110
|
+
} else if (q.current) o = i.slice().sort((e, t) => a.get(n(e)) - a.get(n(t)));
|
|
111
|
+
else continue;
|
|
112
|
+
for (let t = 0; t < o.length; t++) e.children[t] !== o[t] && e.insertBefore(o[t], e.children[t] ?? null);
|
|
113
|
+
}
|
|
114
|
+
q.current = c;
|
|
115
|
+
}, [
|
|
116
|
+
j,
|
|
117
|
+
G,
|
|
118
|
+
N,
|
|
119
|
+
a
|
|
120
|
+
]);
|
|
121
|
+
let J = d.useRef(N);
|
|
122
|
+
d.useEffect(() => {
|
|
123
|
+
let e = J.current !== N;
|
|
124
|
+
if (J.current = N, !F || s !== void 0 || !j.length) return;
|
|
125
|
+
let t = G.filter((e) => !e.disabled);
|
|
126
|
+
(e || !t.some((e) => e.value === P)) && U(t[0]?.value ?? "");
|
|
127
|
+
}, [
|
|
128
|
+
F,
|
|
129
|
+
s,
|
|
130
|
+
j,
|
|
131
|
+
G,
|
|
132
|
+
P,
|
|
133
|
+
N,
|
|
134
|
+
U
|
|
135
|
+
]);
|
|
136
|
+
let Y = g({
|
|
137
|
+
defaultTagName: "div",
|
|
138
|
+
render: r,
|
|
139
|
+
ref: [h ?? null, I],
|
|
140
|
+
props: {
|
|
141
|
+
...S,
|
|
142
|
+
"aria-label": S["aria-label"] ?? i,
|
|
143
|
+
"data-slot": "command",
|
|
144
|
+
className: t("flex size-full flex-col overflow-hidden rounded-surface bg-popover text-popover-foreground", n),
|
|
145
|
+
children: e,
|
|
146
|
+
onKeyDownCapture(e) {
|
|
147
|
+
if (x?.(e), !e.defaultPrevented && F) {
|
|
148
|
+
if (e.key === "Enter") {
|
|
149
|
+
let t = j.find((e) => e.value === P && !e.disabled && C(e, W));
|
|
150
|
+
if (!t) return;
|
|
151
|
+
e.preventDefault(), e.stopPropagation(), Array.from(I.current?.querySelectorAll("[data-command-id]") ?? []).find((e) => e.dataset.commandId === t.id)?.click();
|
|
152
|
+
} else if (e.key === "ArrowDown" || e.key === "ArrowUp" || e.key === "Home" || e.key === "End") {
|
|
153
|
+
let t = G.filter((e) => !e.disabled);
|
|
154
|
+
if (!t.length) return;
|
|
155
|
+
e.preventDefault(), e.stopPropagation();
|
|
156
|
+
let n = t.findIndex((e) => e.value === P), r = e.key === "ArrowDown" ? 1 : -1, i = n === -1 ? r > 0 ? 0 : t.length - 1 : n + r;
|
|
157
|
+
e.key === "Home" && (i = 0), e.key === "End" && (i = t.length - 1), i = u ? (i + t.length) % t.length : Math.max(0, Math.min(t.length - 1, i)), U(t[i].value);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
onKeyDown(e) {
|
|
162
|
+
if (b?.(e), e.defaultPrevented || !m || !e.ctrlKey) return;
|
|
163
|
+
let t = {
|
|
164
|
+
n: "ArrowDown",
|
|
165
|
+
j: "ArrowDown",
|
|
166
|
+
p: "ArrowUp",
|
|
167
|
+
k: "ArrowUp"
|
|
168
|
+
}[e.key];
|
|
169
|
+
t && (e.preventDefault(), e.target.dispatchEvent(new KeyboardEvent("keydown", {
|
|
170
|
+
key: t,
|
|
171
|
+
bubbles: !0,
|
|
172
|
+
cancelable: !0
|
|
173
|
+
})));
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
return /* @__PURE__ */ p(y.Provider, {
|
|
178
|
+
value: W,
|
|
179
|
+
children: /* @__PURE__ */ p(_.Root, {
|
|
180
|
+
inline: !0,
|
|
181
|
+
open: !0,
|
|
182
|
+
value: N,
|
|
183
|
+
filter: null,
|
|
184
|
+
autoHighlight: !F && "always",
|
|
185
|
+
keepHighlight: !0,
|
|
186
|
+
loopFocus: u,
|
|
187
|
+
highlightItemOnHover: !f,
|
|
188
|
+
onValueChange: (e, t) => {
|
|
189
|
+
t.reason !== "item-press" && H(e);
|
|
190
|
+
},
|
|
191
|
+
onItemHighlighted: (e) => U(typeof e == "string" ? e : ""),
|
|
192
|
+
children: Y
|
|
193
|
+
})
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
function E({ className: e, value: t, onValueChange: n, render: r, ...i }) {
|
|
197
|
+
let a = x(), { registerInput: o } = a;
|
|
198
|
+
return d.useLayoutEffect(() => o({
|
|
199
|
+
value: t,
|
|
200
|
+
onValueChange: n
|
|
201
|
+
}), [
|
|
202
|
+
o,
|
|
203
|
+
t,
|
|
204
|
+
n
|
|
205
|
+
]), /* @__PURE__ */ p("div", {
|
|
206
|
+
"data-slot": "command-input-wrapper",
|
|
207
|
+
className: "pb-space-xs",
|
|
208
|
+
children: /* @__PURE__ */ p(_.Input, {
|
|
209
|
+
"data-slot": "command-input",
|
|
210
|
+
"aria-activedescendant": a.records.find((e) => e.value === a.active)?.id,
|
|
211
|
+
render: r,
|
|
212
|
+
className: e,
|
|
213
|
+
...i
|
|
214
|
+
})
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
function D({ className: e, label: n, render: r, children: a, ...o }) {
|
|
218
|
+
let s = x();
|
|
219
|
+
return /* @__PURE__ */ p(_.List, {
|
|
220
|
+
"data-slot": "command-list",
|
|
221
|
+
"aria-label": n,
|
|
222
|
+
"aria-activedescendant": s.records.find((e) => e.value === s.active)?.id,
|
|
223
|
+
className: t(i.md, "overflow-x-hidden overflow-y-auto outline-none", e),
|
|
224
|
+
render: r,
|
|
225
|
+
...o,
|
|
226
|
+
children: a
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
function O({ className: e, render: n, children: r, ...i }) {
|
|
230
|
+
let a = x(), o = !a.records.some((e) => C(e, a));
|
|
231
|
+
return g({
|
|
232
|
+
enabled: o,
|
|
233
|
+
render: n,
|
|
234
|
+
props: {
|
|
235
|
+
...i,
|
|
236
|
+
"data-slot": "command-empty",
|
|
237
|
+
role: i.role ?? "status",
|
|
238
|
+
className: t("py-space-xl text-center text-sm", e),
|
|
239
|
+
children: r
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
function k({ className: e, heading: n, value: r, forceMount: i = !1, children: a, render: o, ...s }) {
|
|
244
|
+
let c = d.useId(), l = x(), u = l.records.filter((e) => e.group === c), f = !i && !!l.search && !u.some((e) => C(e, l)), h = n == null ? null : /* @__PURE__ */ p(_.GroupLabel, {
|
|
245
|
+
"cmdk-group-heading": "",
|
|
246
|
+
className: "text-xs font-medium text-muted-foreground",
|
|
247
|
+
children: n
|
|
248
|
+
});
|
|
249
|
+
return /* @__PURE__ */ p(b.Provider, {
|
|
250
|
+
value: {
|
|
251
|
+
id: c,
|
|
252
|
+
forceMount: i
|
|
253
|
+
},
|
|
254
|
+
children: /* @__PURE__ */ m(_.Group, {
|
|
255
|
+
"data-slot": "command-group",
|
|
256
|
+
"data-command-group-id": c,
|
|
257
|
+
"data-value": r,
|
|
258
|
+
"cmdk-group": "",
|
|
259
|
+
hidden: f,
|
|
260
|
+
className: t("overflow-hidden text-foreground", e),
|
|
261
|
+
render: o,
|
|
262
|
+
...s,
|
|
263
|
+
children: [h, a]
|
|
264
|
+
})
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
function A({ className: e, children: n, value: r, keywords: i = [], forceMount: a = !1, disabled: o, onSelect: s, onClick: c, render: l, ref: u, ...f }) {
|
|
268
|
+
let m = d.useId(), h = d.useContext(b), g = h.id, v = a || h.forceMount, y = x(), w = r ?? (typeof n == "function" ? "" : S(n)), T = JSON.stringify(i), { register: E } = y;
|
|
269
|
+
return d.useLayoutEffect(() => E({
|
|
270
|
+
id: m,
|
|
271
|
+
value: w,
|
|
272
|
+
keywords: JSON.parse(T),
|
|
273
|
+
forceMount: v,
|
|
274
|
+
disabled: o,
|
|
275
|
+
group: g
|
|
276
|
+
}), [
|
|
277
|
+
E,
|
|
278
|
+
m,
|
|
279
|
+
w,
|
|
280
|
+
T,
|
|
281
|
+
v,
|
|
282
|
+
o,
|
|
283
|
+
g
|
|
284
|
+
]), C({
|
|
285
|
+
id: m,
|
|
286
|
+
value: w,
|
|
287
|
+
keywords: i,
|
|
288
|
+
forceMount: v,
|
|
289
|
+
group: g
|
|
290
|
+
}, y) ? /* @__PURE__ */ p(_.Item, {
|
|
291
|
+
value: w,
|
|
292
|
+
disabled: o,
|
|
293
|
+
ref: u,
|
|
294
|
+
"data-slot": "command-item",
|
|
295
|
+
"data-command-id": m,
|
|
296
|
+
"aria-selected": y.active === w,
|
|
297
|
+
"data-selected": y.active === w ? "true" : "false",
|
|
298
|
+
"data-disabled": o ? "true" : void 0,
|
|
299
|
+
className: t("relative flex min-h-action-sm cursor-default items-center gap-space-sm rounded-radius px-control-sm py-row-y text-sm outline-none select-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-disabled:cursor-not-allowed", e),
|
|
300
|
+
render: l ? d.cloneElement(l, { id: m }) : /* @__PURE__ */ p("div", { id: m }),
|
|
301
|
+
onClick: (e) => {
|
|
302
|
+
c?.(e), !e.defaultPrevented && !o && s?.(w);
|
|
303
|
+
},
|
|
304
|
+
...f,
|
|
305
|
+
children: typeof n == "function" ? n({ isHighlighted: y.active === w }) : n
|
|
306
|
+
}) : null;
|
|
307
|
+
}
|
|
308
|
+
function j({ className: e, alwaysRender: n = !1, render: r, children: i, ...a }) {
|
|
309
|
+
let { search: o } = x(), s = d.useId();
|
|
310
|
+
return g({
|
|
311
|
+
enabled: !o || n,
|
|
312
|
+
render: r,
|
|
313
|
+
props: {
|
|
314
|
+
...a,
|
|
315
|
+
"data-slot": "command-separator",
|
|
316
|
+
"data-command-separator-id": s,
|
|
317
|
+
role: a.role ?? "separator",
|
|
318
|
+
className: t("h-px bg-border", e),
|
|
319
|
+
children: i
|
|
320
|
+
}
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
function M({ className: e, ...n }) {
|
|
324
|
+
return /* @__PURE__ */ p("span", {
|
|
325
|
+
"data-slot": "command-shortcut",
|
|
326
|
+
className: t("ms-auto text-xs text-muted-foreground", e),
|
|
327
|
+
...n
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/components/base/command/command.tsx
|
|
332
|
+
var N = {
|
|
333
|
+
default: a.default,
|
|
334
|
+
compact: a.compact,
|
|
335
|
+
flush: `${a.flush} ${s.menuSearch}`
|
|
336
|
+
}, P = d.createContext("compact");
|
|
337
|
+
function F({ className: e, inset: n = "compact", ...r }) {
|
|
338
|
+
return /* @__PURE__ */ p(P.Provider, {
|
|
339
|
+
value: n,
|
|
340
|
+
children: /* @__PURE__ */ p(T, {
|
|
341
|
+
className: t("command--component", "gap-0 rounded-surface bg-popover text-popover-foreground", N[n], e),
|
|
342
|
+
...r
|
|
343
|
+
})
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
function I({ className: e, render: n, ...r }) {
|
|
347
|
+
return /* @__PURE__ */ p(E, {
|
|
348
|
+
className: t("command-input--component", "px-row-x", e),
|
|
349
|
+
...r,
|
|
350
|
+
render: n ?? /* @__PURE__ */ p(u, {})
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
function L({ className: e, ...n }) {
|
|
354
|
+
let r = d.useContext(P);
|
|
355
|
+
return /* @__PURE__ */ p(D, {
|
|
356
|
+
className: t("command-list--component", i.md, r === "flush" ? a.compact : "p-0", e),
|
|
357
|
+
...n
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
function R({ children: e }) {
|
|
361
|
+
return typeof e != "string" && typeof e != "number" && typeof e != "bigint" ? e : /* @__PURE__ */ p(n, {
|
|
362
|
+
tag: "span",
|
|
363
|
+
size: "xs",
|
|
364
|
+
type: "secondary",
|
|
365
|
+
weight: "medium",
|
|
366
|
+
lineHeight: "tight",
|
|
367
|
+
className: "command-group--heading",
|
|
368
|
+
children: e
|
|
369
|
+
});
|
|
370
|
+
}
|
|
371
|
+
function z({ className: e, heading: n, ...r }) {
|
|
372
|
+
let i = n == null ? n : /* @__PURE__ */ p(R, { children: n });
|
|
373
|
+
return /* @__PURE__ */ p(k, {
|
|
374
|
+
className: t("command-group--component p-0 [&_[cmdk-group-heading]]:px-row-x [&_[cmdk-group-heading]]:pt-space-md [&_[cmdk-group-heading]]:pb-space-xs", e),
|
|
375
|
+
heading: i,
|
|
376
|
+
...r
|
|
377
|
+
});
|
|
378
|
+
}
|
|
379
|
+
function B({ children: n, className: i, density: a = "default", ...s }) {
|
|
380
|
+
let { defaultTextSize: u } = e(), d = s["data-checked"] === !0 || s["data-checked"] === "true" ? /* @__PURE__ */ p(h, {
|
|
381
|
+
"aria-hidden": "true",
|
|
382
|
+
"data-slot": "command-item-indicator",
|
|
383
|
+
className: "ms-auto size-icon shrink-0 self-center"
|
|
384
|
+
}) : null, g = typeof n == "function" ? (e) => /* @__PURE__ */ m(f, { children: [n(e), d] }) : /* @__PURE__ */ m(f, { children: [typeof n == "string" || typeof n == "number" || typeof n == "bigint" ? /* @__PURE__ */ p(l, {
|
|
385
|
+
className: "command-item--text min-w-0 flex-1",
|
|
386
|
+
children: n
|
|
387
|
+
}) : n, d] });
|
|
388
|
+
return /* @__PURE__ */ p(A, {
|
|
389
|
+
className: t("command-item--component [&>svg]:size-icon [&>svg]:shrink-0 [&>svg]:text-muted-foreground", o(a), c.disabled, r[u ?? "sm"], i),
|
|
390
|
+
...s,
|
|
391
|
+
children: g
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
function V({ children: e, className: r, ...i }) {
|
|
395
|
+
return /* @__PURE__ */ p(O, {
|
|
396
|
+
className: t("command-empty--component px-row-x py-space-xl text-center", r),
|
|
397
|
+
...i,
|
|
398
|
+
children: /* @__PURE__ */ p(n, {
|
|
399
|
+
tag: "span",
|
|
400
|
+
type: "secondary",
|
|
401
|
+
className: "command-empty--text",
|
|
402
|
+
children: e
|
|
403
|
+
})
|
|
404
|
+
});
|
|
405
|
+
}
|
|
406
|
+
function H({ className: e, ...n }) {
|
|
407
|
+
return /* @__PURE__ */ p(j, {
|
|
408
|
+
role: "presentation",
|
|
409
|
+
"aria-hidden": "true",
|
|
410
|
+
className: t("command-separator--component command-separator--line", s.separator, e),
|
|
411
|
+
...n
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
H.displayName = "CommandSeparator";
|
|
415
|
+
function U({ children: e, className: r, ...i }) {
|
|
416
|
+
return /* @__PURE__ */ p(M, {
|
|
417
|
+
className: t("command-shortcut--component", r),
|
|
418
|
+
...i,
|
|
419
|
+
children: /* @__PURE__ */ p(n, {
|
|
420
|
+
tag: "span",
|
|
421
|
+
size: "xs",
|
|
422
|
+
type: "secondary",
|
|
423
|
+
className: "command-shortcut--text",
|
|
424
|
+
children: e
|
|
425
|
+
})
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
F.displayName = "Command", I.displayName = "CommandInput", L.displayName = "CommandList", z.displayName = "CommandGroup", B.displayName = "CommandItem", V.displayName = "CommandEmpty", U.displayName = "CommandShortcut";
|
|
429
|
+
//#endregion
|
|
430
|
+
export { B as a, U as c, I as i, v as l, V as n, L as o, z as r, H as s, F as t };
|
|
431
|
+
|
|
432
|
+
//# sourceMappingURL=command-CjZ2VzKC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-CjZ2VzKC.js","names":["React","Command","defaultFilter","CommandInput","CommandList","CommandEmpty","CommandGroup","CommandItem","CommandSeparator","CommandShortcut","React","CommandPrimitive","CommandInputPrimitive","CommandListPrimitive","CommandGroupPrimitive","_Fragment","CommandItemPrimitive","CommandEmptyPrimitive","CommandSeparatorPrimitive","CommandShortcutPrimitive","useTypographyConfig","Text","textSizes","anchoredListHeightRecipes","collectionRowClasses","popoverRecipes","collectionRecipes","CollectionLabel","Input","React$1","Fragment$1","commandFilter","haystack","value","keywords","needle","search","position","char","CommandContext","GroupContext","useCommand","textValue","children","child","visible","item","context","rankRecords","candidates","records","scores","compare","b","a","loose","groups","group","sortedGroups","items","Command$1","props","searchState","setSearchState","input","setInput","activeState","setActiveState","defaultValue","setRecords","active","managedHighlight","rootRef","sourceOrder","nextSourceOrder","register","current","record","registerInput","next","onInputValueChange","setSearch","setActive","onValueChange","shouldFilter","filter","rankedRecords","sourceLayout","previouslyRanked","root","liveIds","id","parent","key","element","owned","parents","ranks","index","rank","ranking","source","recordedKey","desired","sorted","left","right","previousSearch","searchChanged","useRender","ref","label","cn","className","onKeyDownCapture","event","delta","loop","onKeyDown","vimBindings","Autocomplete","disablePointerSelection","details","CommandInput$1","CommandList$1","CommandEmpty$1","shown","CommandGroup$1","groupItems","hidden","forceMount","headingElement","heading","CommandItem$1","valueProp","groupContext","effectiveForceMount","keywordsKey","disabled","render","onClick","onSelect","CommandSeparator$1","alwaysRender","CommandShortcut$1","commandInsetClasses","surfaceInsetClasses","CommandInsetContext","Command","inset","CommandInput","CommandList","CommandGroupHeading","CommandGroup","resolvedHeading","CommandItem","indicator","Check","content","density","defaultTextSize","CommandEmpty","CommandSeparator","CommandShortcut"],"sources":["../src/lib/command-filter.ts","../src/components/ui/command.tsx","../src/components/base/command/command.tsx"],"sourcesContent":["// Subsequence matching preserves fuzzy searches and keyword aliases without cmdk.\nexport function commandFilter(value: string, search: string, keywords: string[] = []) {\n const haystack = [value, ...keywords].join(' ').toLocaleLowerCase();\n const needle = search.trim().toLocaleLowerCase();\n if (!needle) return 1;\n if (haystack.includes(needle)) return 1;\n let position = 0;\n for (const char of needle) {\n position = haystack.indexOf(char, position);\n if (position === -1) return 0;\n position += 1;\n }\n return 0.5;\n}\n","import { commandFilter as defaultFilter } from '../../lib/command-filter';\nimport * as React from 'react';\nimport { Autocomplete } from '@base-ui/react/autocomplete';\nimport { useRender } from '@base-ui/react/use-render';\nimport { cn } from '../../lib/utils';\nimport { anchoredListHeightRecipes } from '../../lib/anchored-positioning';\n\nexport type CommandFilter = (value: string, search: string, keywords?: string[]) => number;\ntype ItemRecord = { id: string; value: string; keywords: string[]; forceMount: boolean; disabled?: boolean; group?: string };\ntype InputState = { value?: string; onValueChange?: (value: string) => void };\ntype CommandContextValue = {\n managedHighlight: boolean; search: string; setSearch: (value: string) => void;\n active: string; setActive: (value: string) => void;\n shouldFilter: boolean; filter: CommandFilter;\n records: ItemRecord[]; register: (item: ItemRecord) => () => void;\n registerInput: (input: InputState) => () => void;\n};\nconst CommandContext = React.createContext<CommandContextValue | null>(null);\nconst GroupContext = React.createContext<{ id?: string; forceMount: boolean }>({ forceMount: false });\nfunction useCommand() {\n const value = React.useContext(CommandContext);\n if (!value) throw new Error('Command parts must be rendered inside Command.');\n return value;\n}\nfunction textValue(children: React.ReactNode): string {\n return React.Children.toArray(children).map(child => {\n if (typeof child === 'string' || typeof child === 'number') return String(child);\n if (React.isValidElement<{ children?: React.ReactNode }>(child)) return textValue(child.props.children);\n return '';\n }).join(' ').trim();\n}\n\nfunction visible(item: ItemRecord, context: Pick<CommandContextValue, 'search' | 'shouldFilter' | 'filter'>) {\n return item.forceMount || !context.shouldFilter || !context.search || context.filter(item.value, context.search, item.keywords) > 0;\n}\n/** cmdk ranks loose items first, then groups by their best matching item. */\nfunction rankRecords(records: ItemRecord[], context: Pick<CommandContextValue, 'search' | 'shouldFilter' | 'filter'>) {\n const candidates = records.filter(item => visible(item, context));\n if (!context.search || !context.shouldFilter) return candidates;\n const scores = new Map(candidates.map(item => [item.id, context.filter(item.value, context.search, item.keywords)]));\n const compare = (a: ItemRecord, b: ItemRecord) => (scores.get(b.id) ?? 0) - (scores.get(a.id) ?? 0);\n const loose: ItemRecord[] = [];\n const groups = new Map<string, ItemRecord[]>();\n for (const item of candidates) {\n if (!item.group) loose.push(item);\n else { const group = groups.get(item.group) ?? []; group.push(item); groups.set(item.group, group); }\n }\n const sortedGroups = Array.from(groups.values()).map(items => items.sort(compare))\n .sort((a, b) => (scores.get(b[0].id) ?? 0) - (scores.get(a[0].id) ?? 0));\n return [...loose.sort(compare), ...sortedGroups.flat()];\n}\nexport type CommandProps = React.ComponentPropsWithRef<'div'> & {\n /** Element rendered in place of the default tag; it receives this part's props. */ render?: React.ReactElement; label?: string; shouldFilter?: boolean; filter?: CommandFilter;\n defaultValue?: string; value?: string; onValueChange?: (value: string) => void;\n loop?: boolean; disablePointerSelection?: boolean; vimBindings?: boolean;\n};\nfunction Command({ children, className, render, label, shouldFilter = true, filter = defaultFilter,\n value, defaultValue = '', onValueChange, loop = false, disablePointerSelection = false,\n vimBindings = true, ref, onKeyDown, onKeyDownCapture, ...props }: CommandProps) {\n const [searchState, setSearchState] = React.useState('');\n const [input, setInput] = React.useState<InputState>({});\n const [activeState, setActiveState] = React.useState(defaultValue);\n const [records, setRecords] = React.useState<ItemRecord[]>([]);\n const search = input.value ?? searchState;\n const active = value ?? activeState;\n const managedHighlight = value !== undefined || defaultValue !== '';\n const rootRef = React.useRef<HTMLDivElement>(null);\n const sourceOrder = React.useRef(new Map<string, number>());\n const nextSourceOrder = React.useRef(0);\n const register = React.useCallback((item: ItemRecord) => {\n if (!sourceOrder.current.has(item.id)) sourceOrder.current.set(item.id, nextSourceOrder.current++);\n setRecords(current => [...current.filter(record => record.id !== item.id), item]\n .sort((a, b) => (sourceOrder.current.get(a.id) ?? 0) - (sourceOrder.current.get(b.id) ?? 0)));\n return () => setRecords(current => current.filter(record => record.id !== item.id));\n }, []);\n const registerInput = React.useCallback((next: InputState) => {\n setInput(next);\n return () => setInput({});\n }, []);\n const onInputValueChange = input.onValueChange;\n const setSearch = React.useCallback((next: string) => {\n setSearchState(next);\n onInputValueChange?.(next);\n }, [onInputValueChange]);\n const setActive = React.useCallback((next: string) => {\n setActiveState(next);\n if (next !== active) onValueChange?.(next);\n }, [onValueChange, active]);\n const context = React.useMemo(() => ({ managedHighlight, search, setSearch, active, setActive, shouldFilter, filter, records, register, registerInput }),\n [managedHighlight, search, setSearch, active, setActive, shouldFilter, filter, records, register, registerInput]);\n const rankedRecords = React.useMemo(() => rankRecords(records, { search, shouldFilter, filter }), [records, search, shouldFilter, filter]);\n const sourceLayout = React.useRef(new Map<HTMLElement, Map<string | HTMLElement, number>>());\n const previouslyRanked = React.useRef(false);\n React.useLayoutEffect(() => {\n const root = rootRef.current;\n if (!root) return;\n const liveIds = new Set(records.map(item => item.id));\n if (records.length) for (const id of sourceOrder.current.keys()) if (!liveIds.has(id)) sourceOrder.current.delete(id);\n for (const parent of sourceLayout.current.keys()) if (!root.contains(parent)) sourceLayout.current.delete(parent);\n const key = (element: HTMLElement): string | HTMLElement => element.dataset.commandId\n ? `item:${element.dataset.commandId}` : element.dataset.commandGroupId\n ? `group:${element.dataset.commandGroupId}` : element.dataset.commandSeparatorId\n ? `separator:${element.dataset.commandSeparatorId}` : element;\n const owned = (element: HTMLElement) => !!element.dataset.commandId || !!element.dataset.commandGroupId;\n const parents = new Set<HTMLElement>();\n for (const element of root.querySelectorAll<HTMLElement>('[data-command-id], [data-command-group-id]')) {\n if (element.parentElement) parents.add(element.parentElement);\n }\n const ranks = new Map(rankedRecords.map((item, index) => [item.id, index]));\n const rank = (element: HTMLElement) => element.dataset.commandId\n ? ranks.get(element.dataset.commandId) ?? Infinity\n : rankedRecords.findIndex(item => item.group === element.dataset.commandGroupId);\n const ranking = !!search && shouldFilter;\n for (const parent of parents) {\n const current = Array.from(parent.children) as HTMLElement[];\n let source = sourceLayout.current.get(parent);\n if (!source || (!ranking && !previouslyRanked.current)) {\n source = new Map(current.map((element, index) => [key(element), index]));\n sourceLayout.current.set(parent, source);\n }\n for (const recordedKey of source.keys()) {\n if (typeof recordedKey === 'string' && recordedKey.startsWith('item:') && !liveIds.has(recordedKey.slice(5))) source.delete(recordedKey);\n }\n for (const element of current) if (!source.has(key(element))) source.set(key(element), Math.max(-1, ...source.values()) + 1);\n let desired: HTMLElement[];\n if (ranking) {\n const sorted = current.filter(owned).sort((a, b) => {\n const left = rank(a); const right = rank(b);\n return (left < 0 ? Infinity : left) - (right < 0 ? Infinity : right);\n });\n let index = 0;\n desired = current.map(element => owned(element) ? sorted[index++] : element);\n } else if (previouslyRanked.current) {\n desired = current.slice().sort((a, b) => source.get(key(a))! - source.get(key(b))!);\n } else continue;\n // Reorder owned DOM nodes without rebuilding children or losing their identity.\n for (let index = 0; index < desired.length; index++) {\n if (parent.children[index] !== desired[index]) parent.insertBefore(desired[index], parent.children[index] ?? null);\n }\n }\n previouslyRanked.current = ranking;\n }, [records, rankedRecords, search, shouldFilter]);\n const previousSearch = React.useRef(search);\n React.useEffect(() => {\n const searchChanged = previousSearch.current !== search;\n previousSearch.current = search;\n if (!managedHighlight || value !== undefined || !records.length) return;\n const candidates = rankedRecords.filter(item => !item.disabled);\n if (searchChanged || !candidates.some(item => item.value === active)) setActive(candidates[0]?.value ?? '');\n }, [managedHighlight, value, records, rankedRecords, active, search, setActive]);\n const element = useRender({ defaultTagName: 'div', render, ref: [ref ?? null, rootRef],\n props: { ...props, 'aria-label': props['aria-label'] ?? label, 'data-slot': 'command',\n className: cn('flex size-full flex-col overflow-hidden rounded-surface bg-popover text-popover-foreground', className),\n children, onKeyDownCapture(event: React.KeyboardEvent<HTMLDivElement>) {\n onKeyDownCapture?.(event);\n if (event.defaultPrevented || !managedHighlight) return;\n if (event.key === 'Enter') {\n const item = records.find(record => record.value === active && !record.disabled && visible(record, context));\n if (!item) return;\n event.preventDefault(); event.stopPropagation();\n Array.from(rootRef.current?.querySelectorAll<HTMLElement>('[data-command-id]') ?? []).find(element => element.dataset.commandId === item.id)?.click();\n } else if (event.key === 'ArrowDown' || event.key === 'ArrowUp' || event.key === 'Home' || event.key === 'End') {\n const candidates = rankedRecords.filter(record => !record.disabled);\n if (!candidates.length) return;\n event.preventDefault(); event.stopPropagation();\n const current = candidates.findIndex(record => record.value === active);\n const delta = event.key === 'ArrowDown' ? 1 : -1;\n let next = current === -1 ? (delta > 0 ? 0 : candidates.length - 1) : current + delta;\n if (event.key === 'Home') next = 0;\n if (event.key === 'End') next = candidates.length - 1;\n next = loop ? (next + candidates.length) % candidates.length : Math.max(0, Math.min(candidates.length - 1, next));\n setActive(candidates[next].value);\n }\n }, onKeyDown(event: React.KeyboardEvent<HTMLDivElement>) {\n onKeyDown?.(event);\n if (event.defaultPrevented || !vimBindings || !event.ctrlKey) return;\n const key = { n: 'ArrowDown', j: 'ArrowDown', p: 'ArrowUp', k: 'ArrowUp' }[event.key];\n if (!key) return;\n event.preventDefault();\n event.target.dispatchEvent(new KeyboardEvent('keydown', { key, bubbles: true, cancelable: true }));\n } } });\n return <CommandContext.Provider value={context}>\n <Autocomplete.Root inline open value={search} filter={null} autoHighlight={managedHighlight ? false : 'always'} keepHighlight\n loopFocus={loop} highlightItemOnHover={!disablePointerSelection}\n onValueChange={(next, details) => { if (details.reason !== 'item-press') setSearch(next); }}\n onItemHighlighted={next => setActive(typeof next === 'string' ? next : '')}>\n {element}\n </Autocomplete.Root>\n </CommandContext.Provider>;\n}\ntype CommandInputProps = Omit<React.ComponentPropsWithRef<'input'>, 'value' | 'onChange' | 'type'> & {\n value?: string; onValueChange?: (value: string) => void; /** Element rendered in place of the default tag; it receives this part's props. */ render?: React.ReactElement;\n};\nfunction CommandInput({ className, value, onValueChange, render, ...props }: CommandInputProps) {\n const context = useCommand();\n const { registerInput } = context;\n React.useLayoutEffect(() => registerInput({ value, onValueChange }), [registerInput, value, onValueChange]);\n return <div data-slot=\"command-input-wrapper\" className=\"pb-space-xs\">\n <Autocomplete.Input data-slot=\"command-input\" aria-activedescendant={context.records.find(item => item.value === context.active)?.id}\n render={render} className={className} {...props} />\n </div>;\n}\nfunction CommandList({ className, label, render, children, ...props }: React.ComponentPropsWithRef<'div'> & { label?: string; /** Element rendered in place of the default tag; it receives this part's props. */ render?: React.ReactElement; }) {\n const context = useCommand();\n return <Autocomplete.List data-slot=\"command-list\" aria-label={label} aria-activedescendant={context.records.find(item => item.value === context.active)?.id}\n className={cn(anchoredListHeightRecipes.md, 'overflow-x-hidden overflow-y-auto outline-none', className)}\n render={render} {...props}>{children}</Autocomplete.List>;\n}\nfunction CommandEmpty({ className, render, children, ...props }: React.ComponentPropsWithRef<'div'> & { /** Element rendered in place of the default tag; it receives this part's props. */ render?: React.ReactElement; }) {\n const context = useCommand();\n const shown = !context.records.some(item => visible(item, context));\n return useRender({ enabled: shown, render,\n props: { ...props, 'data-slot': 'command-empty', role: props.role ?? 'status', className: cn('py-space-xl text-center text-sm', className), children } });\n}\nfunction CommandGroup({ className, heading, value, forceMount = false, children, render, ...props }:\n React.ComponentPropsWithRef<'div'> & { heading?: React.ReactNode; value?: string; forceMount?: boolean; /** Element rendered in place of the default tag; it receives this part's props. */ render?: React.ReactElement; }) {\n const id = React.useId();\n const context = useCommand();\n const groupItems = context.records.filter(item => item.group === id);\n const hidden = !forceMount && !!context.search && !groupItems.some(item => visible(item, context));\n const headingElement = heading != null ? <Autocomplete.GroupLabel cmdk-group-heading=\"\" className=\"text-xs font-medium text-muted-foreground\">{heading}</Autocomplete.GroupLabel> : null;\n return <GroupContext.Provider value={{ id, forceMount }}>\n <Autocomplete.Group data-slot=\"command-group\" data-command-group-id={id} data-value={value} cmdk-group=\"\" hidden={hidden}\n className={cn('overflow-hidden text-foreground', className)} render={render} {...props}>\n {headingElement}\n {children}\n </Autocomplete.Group>\n </GroupContext.Provider>;\n}\ntype CommandItemProps = Omit<React.ComponentPropsWithRef<'div'>, 'onSelect' | 'children'> & {\n children?: React.ReactNode | ((state: { isHighlighted: boolean }) => React.ReactNode);\n value?: string; onSelect?: (value: string) => void; keywords?: string[]; forceMount?: boolean;\n disabled?: boolean; /** Element rendered in place of the default tag; it receives this part's props. */ render?: React.ReactElement;\n};\nfunction CommandItem({ className, children, value: valueProp, keywords = [], forceMount = false,\n disabled, onSelect, onClick, render, ref, ...props }: CommandItemProps) {\n const id = React.useId();\n const groupContext = React.useContext(GroupContext);\n const group = groupContext.id;\n const effectiveForceMount = forceMount || groupContext.forceMount;\n const context = useCommand();\n const value = valueProp ?? (typeof children === 'function' ? '' : textValue(children));\n const keywordsKey = JSON.stringify(keywords);\n const { register } = context;\n React.useLayoutEffect(() => register({ id, value, keywords: JSON.parse(keywordsKey), forceMount: effectiveForceMount, disabled, group }),\n [register, id, value, keywordsKey, effectiveForceMount, disabled, group]);\n const record = { id, value, keywords, forceMount: effectiveForceMount, group };\n if (!visible(record, context)) return null;\n return <Autocomplete.Item value={value} disabled={disabled} ref={ref} data-slot=\"command-item\" data-command-id={id} aria-selected={context.active === value}\n data-selected={context.active === value ? 'true' : 'false'} data-disabled={disabled ? 'true' : undefined}\n className={cn('relative flex min-h-action-sm cursor-default items-center gap-space-sm rounded-radius px-control-sm py-row-y text-sm outline-none select-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-disabled:cursor-not-allowed', className)}\n render={render ? React.cloneElement(render, { id } as React.HTMLAttributes<HTMLElement>) : <div id={id} />}\n onClick={event => { onClick?.(event); if (!event.defaultPrevented && !disabled) onSelect?.(value); }} {...props}>\n {typeof children === 'function' ? children({ isHighlighted: context.active === value }) : children}\n </Autocomplete.Item>;\n}\nfunction CommandSeparator({ className, alwaysRender = false, render, children, ...props }:\n React.ComponentPropsWithRef<'div'> & { alwaysRender?: boolean; /** Element rendered in place of the default tag; it receives this part's props. */ render?: React.ReactElement; }) {\n const { search } = useCommand();\n const id = React.useId();\n return useRender({ enabled: !search || alwaysRender, render, props: { ...props, 'data-slot': 'command-separator', 'data-command-separator-id': id, role: props.role ?? 'separator', className: cn('h-px bg-border', className), children } });\n}\nfunction CommandShortcut({ className, ...props }: React.ComponentPropsWithRef<'span'>) {\n return <span data-slot=\"command-shortcut\" className={cn('ms-auto text-xs text-muted-foreground', className)} {...props} />;\n}\nexport { Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandSeparator, CommandShortcut };\n","/**\n * Command — base wrapper around the internal Base UI command primitive.\n *\n * What this layer adds on top of the primitive:\n * - One standard, tokenized surface inset across the root, groups, and rows.\n * - Design-system typography and density-aware row sizing for admin commands.\n * - Stable BEM hooks on the wrapped root, input, list, group, item, separator,\n * and empty regions while retaining each primitive part's original props.\n * - Preserves the compound-component pattern: consumers compose\n * `<Command><CommandList><CommandGroup><CommandItem/></CommandGroup></CommandList></Command>`.\n *\n * For the recurring \"popover-with-command-list\" pattern, prefer\n * `base/popover-menu/` which composes both wrappers and adds slots.\n */\nimport * as React from 'react';\nimport { Check } from 'lucide-react';\n\nimport {\n\tCommand as CommandPrimitive,\n\tCommandEmpty as CommandEmptyPrimitive,\n\tCommandGroup as CommandGroupPrimitive,\n\tCommandInput as CommandInputPrimitive,\n\tCommandItem as CommandItemPrimitive,\n\tCommandList as CommandListPrimitive,\n\tCommandSeparator as CommandSeparatorPrimitive,\n\tCommandShortcut as CommandShortcutPrimitive,\n} from '../../ui/command';\nimport { Text } from '../../typography';\nimport { cn } from '../../../lib/utils';\nimport { anchoredListHeightRecipes } from '../../../lib/anchored-positioning';\nimport { collectionRecipes, collectionRowClasses, popoverRecipes, surfaceInsetClasses, type CollectionDensity } from '../popover/popover.recipes';\nimport { Input } from '../text-inputs/input';\nimport { CollectionLabel } from '../popover/collection-content';\nimport { useTypographyConfig } from '../../../lib/ui-provider';\nimport { textSizes } from '../../typography/text.styles';\n\ntype CommandRootProps = React.ComponentProps<typeof CommandPrimitive>;\n\nexport type CommandInset = 'default' | 'compact' | 'flush';\n\nexport type CommandProps = CommandRootProps & {\n\t/**\n\t * Surface inset role. Defaults to the compact collection shell.\n\t * Use `default` explicitly for substantive content, or `flush` when regions own their insets.\n\t */\n\tinset?: CommandInset;\n};\n\nconst commandInsetClasses: Record<CommandInset, string> = {\n\tdefault: surfaceInsetClasses.default,\n\tcompact: surfaceInsetClasses.compact,\n\t// The root is flush; search and list regions each own one collection inset.\n\tflush: `${surfaceInsetClasses.flush} ${popoverRecipes.menuSearch}`,\n};\n\nconst CommandInsetContext = React.createContext<CommandInset>('compact');\n\n/** Tokenized command surface with semantic default, compact, and flush inset roles. */\nfunction Command({ className, inset = 'compact', ...props }: CommandProps) {\n\treturn (\n <CommandInsetContext.Provider value={inset}>\n\t\t<CommandPrimitive\n\t\t\tclassName={cn(\n\t\t\t\t'command--component',\n\t\t\t\t// One standard surface inset keeps search controls, headings, row\n\t\t\t\t// highlights, and separators on the same surface grid.\n\t\t\t\t'gap-0 rounded-surface bg-popover text-popover-foreground',\n\t\t\t\tcommandInsetClasses[inset],\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n </CommandInsetContext.Provider>\n\t);\n}\n\ntype CommandListProps = React.ComponentProps<typeof CommandListPrimitive>;\n\ntype CommandInputProps = React.ComponentProps<typeof CommandInputPrimitive>;\n\nfunction CommandInput({ className, render, ...props }: CommandInputProps) {\n\treturn (\n\t\t<CommandInputPrimitive\n\t\t\t// The search field takes the row inset, so its text starts on the rows' edge whatever --control-x is.\n\t\t\tclassName={cn('command-input--component', 'px-row-x', className)}\n\t\t\t{...props}\n\t\t\t// The shared Input draws the field unless the caller composes another.\n\t\t\trender={render ?? <Input />}\n\t\t/>\n\t);\n}\n\nfunction CommandList({ className, ...props }: CommandListProps) {\n const inset = React.useContext(CommandInsetContext);\n return (\n\t\t<CommandListPrimitive\n\t\t\tclassName={cn('command-list--component', anchoredListHeightRecipes.md, inset === 'flush' ? surfaceInsetClasses.compact : 'p-0', className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\ntype CommandGroupProps = React.ComponentProps<typeof CommandGroupPrimitive>;\n\nfunction CommandGroupHeading({ children }: { children: React.ReactNode }) {\n\tif (\n\t\ttypeof children !== 'string' &&\n\t\ttypeof children !== 'number' &&\n\t\ttypeof children !== 'bigint'\n\t) {\n\t\treturn children;\n\t}\n\n\t// A group caption is supporting copy, not another row: the compact secondary\n\t// role matches menu and listbox captions and keeps it from reading as an item.\n\treturn (\n\t\t<Text tag=\"span\" size=\"xs\" type=\"secondary\" weight=\"medium\" lineHeight=\"tight\" className=\"command-group--heading\">\n\t\t\t{children}\n\t\t</Text>\n\t);\n}\n\nfunction CommandGroup({ className, heading, ...props }: CommandGroupProps) {\n\tconst resolvedHeading = heading == null\n\t\t? heading\n\t\t: <CommandGroupHeading>{heading}</CommandGroupHeading>;\n\n\treturn (\n\t\t<CommandGroupPrimitive\n\t\t\tclassName={cn(\n\t\t\t\t'command-group--component p-0 [&_[cmdk-group-heading]]:px-row-x [&_[cmdk-group-heading]]:pt-space-md [&_[cmdk-group-heading]]:pb-space-xs',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\theading={resolvedHeading}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\ntype CommandItemProps = React.ComponentProps<typeof CommandItemPrimitive> & {\n\t/** Vertical row rhythm, independent from label typography. */\n\tdensity?: CollectionDensity;\n\t/** Persistent selection, distinct from the keyboard-highlight state. */\n\t'data-checked'?: boolean | 'true' | 'false';\n};\n\nfunction CommandItem({ children, className, density = 'default', ...props }: CommandItemProps) {\n\tconst {defaultTextSize}=useTypographyConfig();\n\tconst checked = props['data-checked'] === true || props['data-checked'] === 'true';\n\t// Same selection ink as Select and Combobox options: the row's own foreground.\n\tconst indicator = checked ? <Check aria-hidden=\"true\" data-slot=\"command-item-indicator\" className=\"ms-auto size-icon shrink-0 self-center\" /> : null;\n\tconst content: CommandItemProps['children'] = typeof children === 'function'\n\t\t? context => <>{children(context)}{indicator}</>\n\t\t: <>{typeof children === 'string' || typeof children === 'number' || typeof children === 'bigint'\n\t\t\t? <CollectionLabel className=\"command-item--text min-w-0 flex-1\">{children}</CollectionLabel>\n\t\t\t: children}{indicator}</>;\n\treturn <CommandItemPrimitive\n\t\tclassName={cn('command-item--component [&>svg]:size-icon [&>svg]:shrink-0 [&>svg]:text-muted-foreground', collectionRowClasses(density), collectionRecipes.disabled, textSizes[defaultTextSize??'sm'],className)}\n\t\t{...props}\n\t\t>{content}</CommandItemPrimitive>;\n}\n\ntype CommandEmptyProps = React.ComponentProps<typeof CommandEmptyPrimitive>;\n\nfunction CommandEmpty({ children, className, ...props }: CommandEmptyProps) {\n\treturn (\n\t\t<CommandEmptyPrimitive\n\t\t\tclassName={cn('command-empty--component px-row-x py-space-xl text-center', className)}\n\t\t\t{...props}\n\t\t>\n\t\t\t<Text tag=\"span\" type=\"secondary\" className=\"command-empty--text\">\n\t\t\t\t{children}\n\t\t\t</Text>\n\t\t</CommandEmptyPrimitive>\n\t);\n}\n\ntype CommandShortcutProps = React.ComponentProps<typeof CommandShortcutPrimitive>;\n\ntype CommandSeparatorProps = React.ComponentProps<typeof CommandSeparatorPrimitive>;\n\n/** Presentational divider that remains hidden from the Command listbox tree. */\nfunction CommandSeparator({ className, ...props }: CommandSeparatorProps) {\n return <CommandSeparatorPrimitive\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn('command-separator--component command-separator--line', popoverRecipes.separator, className)}\n {...props}\n />;\n}\n\nCommandSeparator.displayName = 'CommandSeparator';\n\nfunction CommandShortcut({ children, className, ...props }: CommandShortcutProps) {\n\treturn (\n\t\t<CommandShortcutPrimitive\n\t\t\tclassName={cn('command-shortcut--component', className)}\n\t\t\t{...props}\n\t\t>\n\t\t\t<Text tag=\"span\" size=\"xs\" type=\"secondary\" className=\"command-shortcut--text\">\n\t\t\t\t{children}\n\t\t\t</Text>\n\t\t</CommandShortcutPrimitive>\n\t);\n}\n\nCommand.displayName = 'Command';\nCommandInput.displayName = 'CommandInput';\nCommandList.displayName = 'CommandList';\nCommandGroup.displayName = 'CommandGroup';\nCommandItem.displayName = 'CommandItem';\nCommandEmpty.displayName = 'CommandEmpty';\nCommandShortcut.displayName = 'CommandShortcut';\n\nexport {\n\tCommand,\n\tCommandEmpty,\n\tCommandGroup,\n\tCommandInput,\n\tCommandItem,\n\tCommandList,\n\tCommandSeparator,\n\tCommandShortcut,\n};\n"],"mappings":";;;;;;;;;;;;;;;AACA,SAAgB+B,EAAc,GAAe,GAAgB,IAAqB,CAAC,GAAG;CACrF,IAAMC,IAAW,CAACC,GAAO,GAAGC,CAAQ,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,kBAAkB,GAC5DC,IAASC,EAAO,KAAK,CAAC,CAAC,kBAAkB;CAE/C,IADI,CAACD,KACDH,EAAS,SAASG,CAAM,GAAG,OAAO;CACtC,IAAIE,IAAW;CACf,KAAK,IAAMC,KAAQH,GAAQ;EAE1B,IADA,IAAWH,EAAS,QAAQM,GAAMD,CAAQ,GACtCA,MAAa,IAAI,OAAO;EAC5B,KAAY;CACb;CACA,OAAO;AACR;;;ACIA,IAAME,IAAiBvC,EAAM,cAA0C,IAAI,GACrEwC,IAAexC,EAAM,cAAoD,EAAE,YAAY,GAAM,CAAC;AACpG,SAASyC,IAAa;CACrB,IAAMR,IAAQjC,EAAM,WAAWuC,CAAc;CAC7C,IAAI,CAACN,GAAO,MAAU,MAAM,gDAAgD;CAC5E,OAAOA;AACR;AACA,SAASS,EAAU,GAAmC;CACrD,OAAO1C,EAAM,SAAS,QAAQ2C,CAAQ,CAAC,CAAC,KAAI,MACvC,OAAOC,KAAU,YAAY,OAAOA,KAAU,WAAiB,OAAOA,CAAK,IAC3E5C,EAAM,eAA+C4C,CAAK,IAAUF,EAAUE,EAAM,MAAM,QAAQ,IAC/F,EACP,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK;AACnB;AAEA,SAASC,EAAQ,GAAkB,GAA0E;CAC5G,OAAOC,EAAK,cAAc,CAACC,EAAQ,gBAAgB,CAACA,EAAQ,UAAUA,EAAQ,OAAOD,EAAK,OAAOC,EAAQ,QAAQD,EAAK,QAAQ,IAAI;AACnI;AAEA,SA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