@epilot/zenith-react 0.2.0-next.3 → 0.2.0-next.5
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/README.md +37 -1
- package/codemods/README.md +182 -0
- package/codemods/format.ts +86 -0
- package/codemods/migrate/base-elements/accordion.ts +132 -0
- package/codemods/migrate/base-elements/alert.ts +81 -0
- package/codemods/migrate/base-elements/avatar.ts +116 -0
- package/codemods/migrate/base-elements/button.ts +188 -0
- package/codemods/migrate/base-elements/checkbox.ts +17 -0
- package/codemods/migrate/base-elements/chip.ts +87 -0
- package/codemods/migrate/base-elements/chip360.ts +162 -0
- package/codemods/migrate/base-elements/circular-progress.ts +73 -0
- package/codemods/migrate/base-elements/dialog.ts +323 -0
- package/codemods/migrate/base-elements/divider.ts +61 -0
- package/codemods/migrate/base-elements/feedback-message.ts +95 -0
- package/codemods/migrate/base-elements/icon-button.ts +203 -0
- package/codemods/migrate/base-elements/index.ts +55 -0
- package/codemods/migrate/base-elements/mui-props.ts +29 -0
- package/codemods/migrate/base-elements/notification.ts +98 -0
- package/codemods/migrate/base-elements/paper.ts +78 -0
- package/codemods/migrate/base-elements/select.ts +328 -0
- package/codemods/migrate/base-elements/shared.ts +910 -0
- package/codemods/migrate/base-elements/skeleton.ts +83 -0
- package/codemods/migrate/base-elements/switch.ts +19 -0
- package/codemods/migrate/base-elements/tabs.ts +222 -0
- package/codemods/migrate/base-elements/text-field.ts +425 -0
- package/codemods/migrate/base-elements/toggle-button.ts +185 -0
- package/codemods/migrate/base-elements/tooltip.ts +231 -0
- package/codemods/migrate/base-elements/typography.ts +247 -0
- package/codemods/migrate/base-elements/unsupported.ts +277 -0
- package/codemods/migrate/from-base-elements.ts +26 -0
- package/codemods/migrate/from-volt.ts +26 -0
- package/codemods/migrate/lib/imports.ts +399 -0
- package/codemods/migrate/lib/jsx.ts +313 -0
- package/codemods/migrate/lib/run-migration.ts +528 -0
- package/codemods/migrate/lib/source.ts +6 -0
- package/codemods/migrate/lib/todo.ts +107 -0
- package/codemods/migrate/lib/types.ts +114 -0
- package/codemods/migrate/volt/class-helpers.ts +37 -0
- package/codemods/migrate/volt/index.ts +18 -0
- package/codemods/migrate/volt/pagination.ts +26 -0
- package/codemods/migrate/volt/same-name.ts +293 -0
- package/codemods/migrate/volt/stylesheets.ts +18 -0
- package/codemods/migrate/volt/tanstack-types.ts +20 -0
- package/codemods/radix-to-base-ui.ts +677 -0
- package/dist/_virtual/_zenith-runtime-family_accordion.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_accordion.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_alert-dialog.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_alert-dialog.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_avatar.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_avatar.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_button.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_button.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_checkbox.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_checkbox.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_csp-provider.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_csp-provider.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_dialog.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_dialog.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_direction-provider.js +8 -0
- package/dist/_virtual/_zenith-runtime-family_direction-provider.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_menu.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_menu.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_merge-props.js +11 -0
- package/dist/_virtual/_zenith-runtime-family_merge-props.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_popover.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_popover.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_radio-group.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_radio-group.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_radio.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_radio.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_scroll-area.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_scroll-area.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_select.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_select.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_separator.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_separator.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_switch.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_switch.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_tabs.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_tabs.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_toast.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_toast.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_toggle-group.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_toggle-group.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_toggle.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_toggle.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_tooltip.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_tooltip.js.map +1 -0
- package/dist/_virtual/_zenith-runtime-family_use-render.js +7 -0
- package/dist/_virtual/_zenith-runtime-family_use-render.js.map +1 -0
- package/dist/components/accordion/accordion.js +179 -96
- package/dist/components/accordion/accordion.js.map +1 -1
- package/dist/components/alert-dialog/alert-dialog.js +243 -206
- package/dist/components/alert-dialog/alert-dialog.js.map +1 -1
- package/dist/components/avatar/avatar.js +94 -82
- package/dist/components/avatar/avatar.js.map +1 -1
- package/dist/components/badge/badge.js +11 -11
- package/dist/components/breadcrumb/breadcrumb.js +69 -70
- package/dist/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/components/button/button.js +119 -102
- package/dist/components/button/button.js.map +1 -1
- package/dist/components/checkbox/checkbox.js +68 -51
- package/dist/components/checkbox/checkbox.js.map +1 -1
- package/dist/components/date-range-picker/date-range-picker.js +100 -90
- package/dist/components/date-range-picker/date-range-picker.js.map +1 -1
- package/dist/components/date-time-picker/date-time-picker-input.js +118 -108
- package/dist/components/date-time-picker/date-time-picker-input.js.map +1 -1
- package/dist/components/date-time-picker/date-time-picker-panel.js +91 -94
- package/dist/components/date-time-picker/date-time-picker-panel.js.map +1 -1
- package/dist/components/dialog/dialog.js +238 -228
- package/dist/components/dialog/dialog.js.map +1 -1
- package/dist/components/drawer/drawer.js +259 -321
- package/dist/components/drawer/drawer.js.map +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.js +533 -279
- package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -1
- package/dist/components/field/field-combobox.js +205 -186
- package/dist/components/field/field-combobox.js.map +1 -1
- package/dist/components/field/field-select.js +37 -22
- package/dist/components/field/field-select.js.map +1 -1
- package/dist/components/list/list-sortable.js +104 -0
- package/dist/components/list/list-sortable.js.map +1 -0
- package/dist/components/list/list.js +246 -324
- package/dist/components/list/list.js.map +1 -1
- package/dist/components/option-card/option-card.js +121 -117
- package/dist/components/option-card/option-card.js.map +1 -1
- package/dist/components/pill/pill.js +7 -7
- package/dist/components/popover/popover.js +223 -127
- package/dist/components/popover/popover.js.map +1 -1
- package/dist/components/radio/radio-group-base.js +54 -0
- package/dist/components/radio/radio-group-base.js.map +1 -0
- package/dist/components/radio/radio.js +71 -60
- package/dist/components/radio/radio.js.map +1 -1
- package/dist/components/scroll-area/scroll-area.js +142 -108
- package/dist/components/scroll-area/scroll-area.js.map +1 -1
- package/dist/components/scroll-overflow/scroll-overflow.js +156 -127
- package/dist/components/scroll-overflow/scroll-overflow.js.map +1 -1
- package/dist/components/segmented-control/segmented-control.js +93 -81
- package/dist/components/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/select/select.js +485 -310
- package/dist/components/select/select.js.map +1 -1
- package/dist/components/separator/separator.js.map +1 -1
- package/dist/components/slot/compose-as-child.js +15 -12
- package/dist/components/slot/compose-as-child.js.map +1 -1
- package/dist/components/switch/switch.js +75 -68
- package/dist/components/switch/switch.js.map +1 -1
- package/dist/components/table/table-pagination.js +212 -175
- package/dist/components/table/table-pagination.js.map +1 -1
- package/dist/components/tabs/tabs.js +193 -190
- package/dist/components/tabs/tabs.js.map +1 -1
- package/dist/components/toast/toast.js +610 -148
- package/dist/components/toast/toast.js.map +1 -1
- package/dist/components/toggle/toggle-group.js +143 -32
- package/dist/components/toggle/toggle-group.js.map +1 -1
- package/dist/components/toggle/toggle.js +82 -49
- package/dist/components/toggle/toggle.js.map +1 -1
- package/dist/components/tooltip/tooltip.js +298 -138
- package/dist/components/tooltip/tooltip.js.map +1 -1
- package/dist/index.d.ts +2336 -2130
- package/dist/index.js +24 -23
- package/dist/list/sortable/index.d.ts +29 -0
- package/dist/list/sortable/index.js +5 -0
- package/dist/{_virtual → list/sortable}/index.js.map +1 -1
- package/dist/packages/tokens/dist/delivery/index.js +10 -10
- package/dist/packages/tokens/dist/delivery/index.js.map +1 -1
- package/dist/packages/tokens/dist/generated/core.generated.js +6 -15
- package/dist/packages/tokens/dist/generated/core.generated.js.map +1 -1
- package/dist/packages/tokens/dist/generated/palette.generated.js +4 -5
- package/dist/packages/tokens/dist/generated/palette.generated.js.map +1 -1
- package/dist/packages/tokens/dist/generated/palette.meta.generated.js +5 -0
- package/dist/packages/tokens/dist/generated/palette.meta.generated.js.map +1 -0
- package/dist/packages/tokens/dist/install.js +40 -17
- package/dist/packages/tokens/dist/install.js.map +1 -1
- package/dist/renderer/runtime-contract.generated.js +8 -0
- package/dist/renderer/runtime-contract.generated.js.map +1 -0
- package/dist/renderer/served.js +39 -0
- package/dist/renderer/served.js.map +1 -0
- package/dist/tokens/core.meta.generated.js +2 -2
- package/dist/tokens/core.meta.generated.js.map +1 -1
- package/dist/tokens/index.d.ts +1028 -1028
- package/dist/tokens/index.js +863 -863
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/palette.meta.generated.js +5 -0
- package/dist/tokens/palette.meta.generated.js.map +1 -0
- package/dist/tokens.json +1 -1
- package/dist/vendor/.bun/@radix-ui_react-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-dialog/dist/index.js +57 -62
- package/dist/vendor/.bun/@radix-ui_react-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-dialog/dist/index.js.map +1 -1
- package/dist/vendor/.bun/@radix-ui_react-slot@1.2.3_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js +32 -38
- package/dist/vendor/.bun/@radix-ui_react-slot@1.2.3_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js.map +1 -1
- package/package.json +29 -21
- package/scripts/migration-diagnostics-core.mjs +302 -10
- package/scripts/migration-diagnostics.mjs +31 -8
- package/scripts/migration-sweep.mjs +10 -10
- package/testing/setup.cjs +87 -0
- package/dist/_virtual/index.js +0 -6
- package/dist/_virtual/index2.js +0 -5
- package/dist/_virtual/index2.js.map +0 -1
- package/dist/_virtual/use-sync-external-store-shim.development.js +0 -5
- package/dist/_virtual/use-sync-external-store-shim.development.js.map +0 -1
- package/dist/_virtual/use-sync-external-store-shim.production.js +0 -5
- package/dist/_virtual/use-sync-external-store-shim.production.js.map +0 -1
- package/dist/tokens/palette.generated.js +0 -5
- package/dist/tokens/palette.generated.js.map +0 -1
- package/dist/vendor/.bun/@floating-ui_core@1.8.0/vendor/@floating-ui/core/dist/floating-ui.core.js +0 -512
- package/dist/vendor/.bun/@floating-ui_core@1.8.0/vendor/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
- package/dist/vendor/.bun/@floating-ui_dom@1.8.0/vendor/@floating-ui/dom/dist/floating-ui.dom.js +0 -396
- package/dist/vendor/.bun/@floating-ui_dom@1.8.0/vendor/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/dist/vendor/.bun/@floating-ui_react-dom@2.1.9_6f4b9a1cfb20c0ae/vendor/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -233
- package/dist/vendor/.bun/@floating-ui_react-dom@2.1.9_6f4b9a1cfb20c0ae/vendor/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
- package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -137
- package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
- package/dist/vendor/.bun/@floating-ui_utils@0.2.12/vendor/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_number@1.1.1/vendor/@radix-ui/number/dist/index.js +0 -7
- package/dist/vendor/.bun/@radix-ui_number@1.1.1/vendor/@radix-ui/number/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-accordion@1.2.12_2b23df507bdda662/vendor/@radix-ui/react-accordion/dist/index.js +0 -240
- package/dist/vendor/.bun/@radix-ui_react-accordion@1.2.12_2b23df507bdda662/vendor/@radix-ui/react-accordion/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-alert-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-alert-dialog/dist/index.js +0 -128
- package/dist/vendor/.bun/@radix-ui_react-alert-dialog@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-alert-dialog/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-arrow@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-arrow/dist/index.js +0 -25
- package/dist/vendor/.bun/@radix-ui_react-arrow@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-arrow/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-avatar@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-avatar/dist/index.js +0 -76
- package/dist/vendor/.bun/@radix-ui_react-avatar@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-avatar/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-checkbox@1.3.3_2b23df507bdda662/vendor/@radix-ui/react-checkbox/dist/index.js +0 -252
- package/dist/vendor/.bun/@radix-ui_react-checkbox@1.3.3_2b23df507bdda662/vendor/@radix-ui/react-checkbox/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-collapsible@1.1.12_2b23df507bdda662/vendor/@radix-ui/react-collapsible/dist/index.js +0 -121
- package/dist/vendor/.bun/@radix-ui_react-collapsible@1.1.12_2b23df507bdda662/vendor/@radix-ui/react-collapsible/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-collection@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-collection/dist/index.js +0 -49
- package/dist/vendor/.bun/@radix-ui_react-collection@1.1.7_2b23df507bdda662/vendor/@radix-ui/react-collection/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-direction@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-direction/dist/index.js +0 -11
- package/dist/vendor/.bun/@radix-ui_react-direction@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-direction/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-dropdown-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-dropdown-menu/dist/index.js +0 -228
- package/dist/vendor/.bun/@radix-ui_react-dropdown-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-dropdown-menu/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-menu/dist/index.js +0 -653
- package/dist/vendor/.bun/@radix-ui_react-menu@2.1.16_2b23df507bdda662/vendor/@radix-ui/react-menu/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-popover@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-popover/dist/index.js +0 -244
- package/dist/vendor/.bun/@radix-ui_react-popover@1.1.15_2b23df507bdda662/vendor/@radix-ui/react-popover/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-popper@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-popper/dist/index.js +0 -222
- package/dist/vendor/.bun/@radix-ui_react-popper@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-popper/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-radio-group@1.3.8_2b23df507bdda662/vendor/@radix-ui/react-radio-group/dist/index.js +0 -239
- package/dist/vendor/.bun/@radix-ui_react-radio-group@1.3.8_2b23df507bdda662/vendor/@radix-ui/react-radio-group/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-roving-focus@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-roving-focus/dist/index.js +0 -184
- package/dist/vendor/.bun/@radix-ui_react-roving-focus@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-roving-focus/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-scroll-area@1.2.10_2b23df507bdda662/vendor/@radix-ui/react-scroll-area/dist/index.js +0 -535
- package/dist/vendor/.bun/@radix-ui_react-scroll-area@1.2.10_2b23df507bdda662/vendor/@radix-ui/react-scroll-area/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-select@2.2.6_2b23df507bdda662/vendor/@radix-ui/react-select/dist/index.js +0 -863
- package/dist/vendor/.bun/@radix-ui_react-select@2.2.6_2b23df507bdda662/vendor/@radix-ui/react-select/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-slot@1.2.4_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js +0 -63
- package/dist/vendor/.bun/@radix-ui_react-slot@1.2.4_0ac650c021fb1b59/vendor/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-switch@1.2.6_2b23df507bdda662/vendor/@radix-ui/react-switch/dist/index.js +0 -133
- package/dist/vendor/.bun/@radix-ui_react-switch@1.2.6_2b23df507bdda662/vendor/@radix-ui/react-switch/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-tabs@1.1.13_2b23df507bdda662/vendor/@radix-ui/react-tabs/dist/index.js +0 -164
- package/dist/vendor/.bun/@radix-ui_react-tabs@1.1.13_2b23df507bdda662/vendor/@radix-ui/react-tabs/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-toggle-group@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-toggle-group/dist/index.js +0 -138
- package/dist/vendor/.bun/@radix-ui_react-toggle-group@1.1.11_2b23df507bdda662/vendor/@radix-ui/react-toggle-group/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-toggle@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-toggle/dist/index.js +0 -34
- package/dist/vendor/.bun/@radix-ui_react-toggle@1.1.10_2b23df507bdda662/vendor/@radix-ui/react-toggle/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-tooltip@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-tooltip/dist/index.js +0 -340
- package/dist/vendor/.bun/@radix-ui_react-tooltip@1.2.8_2b23df507bdda662/vendor/@radix-ui/react-tooltip/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-use-is-hydrated@0.1.0_0ac650c021fb1b59/vendor/@radix-ui/react-use-is-hydrated/dist/index.js +0 -16
- package/dist/vendor/.bun/@radix-ui_react-use-is-hydrated@0.1.0_0ac650c021fb1b59/vendor/@radix-ui/react-use-is-hydrated/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-use-previous@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-previous/dist/index.js +0 -9
- package/dist/vendor/.bun/@radix-ui_react-use-previous@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-previous/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-use-size@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-size/dist/index.js +0 -28
- package/dist/vendor/.bun/@radix-ui_react-use-size@1.1.1_0ac650c021fb1b59/vendor/@radix-ui/react-use-size/dist/index.js.map +0 -1
- package/dist/vendor/.bun/@radix-ui_react-visually-hidden@1.2.3_2b23df507bdda662/vendor/@radix-ui/react-visually-hidden/dist/index.js +0 -33
- package/dist/vendor/.bun/@radix-ui_react-visually-hidden@1.2.3_2b23df507bdda662/vendor/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
- package/dist/vendor/.bun/sonner@2.0.7_6f4b9a1cfb20c0ae/vendor/sonner/dist/index.js +0 -747
- package/dist/vendor/.bun/sonner@2.0.7_6f4b9a1cfb20c0ae/vendor/sonner/dist/index.js.map +0 -1
- package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -68
- package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -1
- package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -56
- package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +0 -1
- package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/shim/index.js +0 -11
- package/dist/vendor/.bun/use-sync-external-store@1.7.0_62547eec5a2188e3/vendor/use-sync-external-store/shim/index.js.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r, jsxs as L } from "react/jsx-runtime";
|
|
2
2
|
import * as s from "react";
|
|
3
|
-
import { SLOT_ATTR as
|
|
4
|
-
import { makeZenithStyles as
|
|
3
|
+
import { SLOT_ATTR as d, mergeClasses as b, shorthands as c } from "@epilot/zenith-runtime/v1";
|
|
4
|
+
import { makeZenithStyles as N } from "../../styles/make-styles.js";
|
|
5
5
|
import { boxModel as l, nativeControl as F } from "../../styles/host-reset.js";
|
|
6
|
-
import { grayA8 as
|
|
7
|
-
import { Command as
|
|
8
|
-
import { Label as
|
|
9
|
-
import { Popover as
|
|
10
|
-
import { useOptionalFieldContext as
|
|
11
|
-
const
|
|
6
|
+
import { grayA8 as q, focusRing as v, accentA11 as T, spacingElement2 as u, spacingGroup1 as f, grayA11 as h, spacingElement1 as S, graySoft as P, leadingXs as V, textXs as D, fontWeightSemibold as B, leadingSm as C, textSm as w, grayA12 as g, radiusMd as G, radiusLg as k } from "../../tokens/index.js";
|
|
7
|
+
import { Command as A, CommandEmpty as E, CommandGroup as j, CommandInput as z, CommandItem as H, CommandList as W, CommandLoading as M, CommandSeparator as O } from "../command/command.js";
|
|
8
|
+
import { Label as Z } from "../label/label.js";
|
|
9
|
+
import { Popover as X, PopoverPortal as $, PopoverContent as _, PopoverTrigger as J } from "../popover/popover.js";
|
|
10
|
+
import { useOptionalFieldContext as K } from "./field.js";
|
|
11
|
+
const Q = (a) => /* @__PURE__ */ r(
|
|
12
12
|
"svg",
|
|
13
13
|
{
|
|
14
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -17,9 +17,9 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
17
17
|
width: "24px",
|
|
18
18
|
fill: "currentColor",
|
|
19
19
|
...a,
|
|
20
|
-
children: /* @__PURE__ */
|
|
20
|
+
children: /* @__PURE__ */ r("path", { d: "m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z" })
|
|
21
21
|
}
|
|
22
|
-
),
|
|
22
|
+
), U = (a) => /* @__PURE__ */ r(
|
|
23
23
|
"svg",
|
|
24
24
|
{
|
|
25
25
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -28,9 +28,9 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
28
28
|
width: "24px",
|
|
29
29
|
fill: "currentColor",
|
|
30
30
|
...a,
|
|
31
|
-
children: /* @__PURE__ */
|
|
31
|
+
children: /* @__PURE__ */ r("path", { d: "M459-381 314-526q-3-3-4.5-6.5T308-540q0-8 5.5-14t14.5-6h304q9 0 14.5 6t5.5 14q0 2-6 14L501-381q-5 5-10 7t-11 2q-6 0-11-2t-10-7Z" })
|
|
32
32
|
}
|
|
33
|
-
),
|
|
33
|
+
), R = (a) => /* @__PURE__ */ r(
|
|
34
34
|
"svg",
|
|
35
35
|
{
|
|
36
36
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -39,24 +39,24 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
39
39
|
width: "24px",
|
|
40
40
|
fill: "currentColor",
|
|
41
41
|
...a,
|
|
42
|
-
children: /* @__PURE__ */
|
|
42
|
+
children: /* @__PURE__ */ r("path", { d: "M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z" })
|
|
43
43
|
}
|
|
44
|
-
),
|
|
44
|
+
), p = N({
|
|
45
45
|
trigger: {
|
|
46
46
|
...F,
|
|
47
47
|
width: "100%",
|
|
48
48
|
display: "flex",
|
|
49
49
|
alignItems: "center",
|
|
50
50
|
justifyContent: "space-between",
|
|
51
|
-
...
|
|
52
|
-
...
|
|
51
|
+
...c.gap(u),
|
|
52
|
+
...c.borderRadius(k),
|
|
53
53
|
backgroundColor: "transparent",
|
|
54
54
|
fontSize: w,
|
|
55
55
|
lineHeight: C,
|
|
56
56
|
whiteSpace: "nowrap",
|
|
57
57
|
outlineStyle: "none",
|
|
58
|
-
...
|
|
59
|
-
...
|
|
58
|
+
...c.border("0"),
|
|
59
|
+
...c.padding(0),
|
|
60
60
|
":focus-visible": {
|
|
61
61
|
outlineWidth: "2px",
|
|
62
62
|
outlineStyle: "solid",
|
|
@@ -66,6 +66,17 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
66
66
|
":disabled": {
|
|
67
67
|
cursor: "not-allowed",
|
|
68
68
|
opacity: 0.5
|
|
69
|
+
},
|
|
70
|
+
// The open-state chevron rotation is declared HERE, on the trigger that carries the state
|
|
71
|
+
// attribute, reaching the chevron by SLOT_ATTR.
|
|
72
|
+
[`&[data-popup-open] [${d}="combobox-icon"]`]: {
|
|
73
|
+
transform: "rotate(180deg)"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
triggerInField: {
|
|
77
|
+
outlineStyle: "none",
|
|
78
|
+
":focus-visible": {
|
|
79
|
+
outlineStyle: "none"
|
|
69
80
|
}
|
|
70
81
|
},
|
|
71
82
|
triggerChevron: {
|
|
@@ -75,13 +86,11 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
75
86
|
flexShrink: 0,
|
|
76
87
|
transitionProperty: "transform",
|
|
77
88
|
transitionDuration: "150ms",
|
|
89
|
+
transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
78
90
|
"@media (prefers-reduced-motion: reduce)": {
|
|
79
91
|
transitionDuration: "0.01ms"
|
|
80
92
|
},
|
|
81
|
-
color: h
|
|
82
|
-
"&[data-popup-open], &[data-open]": {
|
|
83
|
-
transform: "rotate(180deg)"
|
|
84
|
-
}
|
|
93
|
+
color: h
|
|
85
94
|
},
|
|
86
95
|
value: {
|
|
87
96
|
...l,
|
|
@@ -90,19 +99,19 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
90
99
|
textAlign: "left",
|
|
91
100
|
flexWrap: "wrap",
|
|
92
101
|
display: "flex",
|
|
93
|
-
...
|
|
102
|
+
...c.gap(u),
|
|
94
103
|
position: "relative",
|
|
95
104
|
whiteSpace: "normal",
|
|
96
105
|
marginRight: "1.25rem"
|
|
97
106
|
},
|
|
98
107
|
content: {
|
|
99
108
|
...l,
|
|
100
|
-
...
|
|
109
|
+
...c.padding(0)
|
|
101
110
|
},
|
|
102
111
|
command: {
|
|
103
112
|
...l,
|
|
104
113
|
width: "100%",
|
|
105
|
-
...
|
|
114
|
+
...c.borderRadius(0)
|
|
106
115
|
},
|
|
107
116
|
input: {
|
|
108
117
|
...F,
|
|
@@ -110,7 +119,7 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
110
119
|
},
|
|
111
120
|
list: {
|
|
112
121
|
...l,
|
|
113
|
-
...
|
|
122
|
+
...c.padding(u)
|
|
114
123
|
},
|
|
115
124
|
item: {
|
|
116
125
|
...l,
|
|
@@ -124,8 +133,8 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
124
133
|
width: "100%",
|
|
125
134
|
cursor: "default",
|
|
126
135
|
alignItems: "center",
|
|
127
|
-
...
|
|
128
|
-
...
|
|
136
|
+
...c.gap(u),
|
|
137
|
+
...c.borderRadius(G),
|
|
129
138
|
fontSize: w,
|
|
130
139
|
lineHeight: C,
|
|
131
140
|
outlineStyle: "none",
|
|
@@ -134,7 +143,7 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
134
143
|
itemCheckIcon: {
|
|
135
144
|
...l,
|
|
136
145
|
position: "absolute",
|
|
137
|
-
right:
|
|
146
|
+
right: u,
|
|
138
147
|
display: "flex",
|
|
139
148
|
width: "1rem",
|
|
140
149
|
height: "1rem",
|
|
@@ -158,27 +167,27 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
158
167
|
},
|
|
159
168
|
group: {
|
|
160
169
|
...l,
|
|
161
|
-
...
|
|
170
|
+
...c.padding(0)
|
|
162
171
|
},
|
|
163
172
|
groupLabel: {
|
|
164
173
|
...l,
|
|
165
174
|
color: h,
|
|
166
|
-
fontWeight:
|
|
167
|
-
paddingLeft:
|
|
168
|
-
paddingRight:
|
|
169
|
-
paddingTop:
|
|
170
|
-
paddingBottom:
|
|
171
|
-
fontSize:
|
|
172
|
-
lineHeight:
|
|
175
|
+
fontWeight: B,
|
|
176
|
+
paddingLeft: u,
|
|
177
|
+
paddingRight: u,
|
|
178
|
+
paddingTop: u,
|
|
179
|
+
paddingBottom: u,
|
|
180
|
+
fontSize: D,
|
|
181
|
+
lineHeight: V
|
|
173
182
|
},
|
|
174
183
|
separator: {
|
|
175
184
|
...l,
|
|
176
185
|
backgroundColor: P,
|
|
177
186
|
pointerEvents: "none",
|
|
178
|
-
marginLeft: `calc(-1 * ${
|
|
179
|
-
marginRight: `calc(-1 * ${
|
|
180
|
-
marginTop:
|
|
181
|
-
marginBottom:
|
|
187
|
+
marginLeft: `calc(-1 * ${S})`,
|
|
188
|
+
marginRight: `calc(-1 * ${S})`,
|
|
189
|
+
marginTop: u,
|
|
190
|
+
marginBottom: u,
|
|
182
191
|
height: "1px"
|
|
183
192
|
},
|
|
184
193
|
loading: {
|
|
@@ -186,8 +195,8 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
186
195
|
color: h,
|
|
187
196
|
paddingLeft: f,
|
|
188
197
|
paddingRight: f,
|
|
189
|
-
paddingTop:
|
|
190
|
-
paddingBottom:
|
|
198
|
+
paddingTop: u,
|
|
199
|
+
paddingBottom: u
|
|
191
200
|
},
|
|
192
201
|
clear: {
|
|
193
202
|
...l,
|
|
@@ -195,14 +204,14 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
195
204
|
right: "2.75rem",
|
|
196
205
|
cursor: "pointer",
|
|
197
206
|
minHeight: "auto",
|
|
198
|
-
...
|
|
207
|
+
...c.padding("0.125rem"),
|
|
199
208
|
display: "inline-flex",
|
|
200
209
|
alignItems: "center",
|
|
201
210
|
justifyContent: "center",
|
|
202
|
-
...
|
|
211
|
+
...c.borderRadius("9999px"),
|
|
203
212
|
backgroundColor: "transparent",
|
|
204
|
-
...
|
|
205
|
-
color:
|
|
213
|
+
...c.border("0"),
|
|
214
|
+
color: T,
|
|
206
215
|
":focus-visible": {
|
|
207
216
|
outlineWidth: "2px",
|
|
208
217
|
outlineStyle: "solid",
|
|
@@ -222,7 +231,7 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
222
231
|
opacity: 0.7
|
|
223
232
|
},
|
|
224
233
|
color: "currentColor",
|
|
225
|
-
...
|
|
234
|
+
...c.borderRadius("9999px"),
|
|
226
235
|
display: "inline-flex",
|
|
227
236
|
alignItems: "center",
|
|
228
237
|
justifyContent: "center"
|
|
@@ -234,261 +243,271 @@ const K = (a) => /* @__PURE__ */ n(
|
|
|
234
243
|
color: "currentColor"
|
|
235
244
|
},
|
|
236
245
|
placeholder: {
|
|
237
|
-
color:
|
|
246
|
+
color: q
|
|
238
247
|
}
|
|
239
|
-
}),
|
|
248
|
+
}), mo = s.forwardRef(
|
|
240
249
|
function(t, o) {
|
|
241
|
-
return /* @__PURE__ */
|
|
242
|
-
|
|
250
|
+
return /* @__PURE__ */ r(
|
|
251
|
+
X,
|
|
243
252
|
{
|
|
244
253
|
"data-slot": "combobox",
|
|
245
|
-
[
|
|
254
|
+
[d]: "combobox",
|
|
246
255
|
...t
|
|
247
256
|
}
|
|
248
257
|
);
|
|
249
258
|
}
|
|
250
|
-
),
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
$,
|
|
259
|
+
), co = s.forwardRef(function({ className: t, children: o, ...n }, e) {
|
|
260
|
+
const m = p(), i = K(), I = i !== null, y = (i == null ? void 0 : i.inputRef) ?? null;
|
|
261
|
+
return /* @__PURE__ */ L(
|
|
262
|
+
J,
|
|
255
263
|
{
|
|
256
264
|
ref: (x) => {
|
|
257
|
-
|
|
265
|
+
y && (y.current = x), typeof e == "function" ? e(x) : e && (e.current = x);
|
|
258
266
|
},
|
|
259
267
|
"data-slot": "select-trigger",
|
|
260
|
-
[
|
|
261
|
-
className:
|
|
262
|
-
|
|
268
|
+
[d]: "select-trigger",
|
|
269
|
+
className: b(
|
|
270
|
+
m.trigger,
|
|
271
|
+
I && m.triggerInField,
|
|
272
|
+
t
|
|
273
|
+
),
|
|
274
|
+
...n,
|
|
263
275
|
children: [
|
|
264
276
|
o,
|
|
265
|
-
/* @__PURE__ */
|
|
277
|
+
/* @__PURE__ */ r(
|
|
278
|
+
U,
|
|
279
|
+
{
|
|
280
|
+
"data-slot": "combobox-icon",
|
|
281
|
+
[d]: "combobox-icon",
|
|
282
|
+
className: m.triggerChevron
|
|
283
|
+
}
|
|
284
|
+
)
|
|
266
285
|
]
|
|
267
286
|
}
|
|
268
287
|
);
|
|
269
|
-
}),
|
|
270
|
-
const i =
|
|
271
|
-
return /* @__PURE__ */
|
|
288
|
+
}), bo = s.forwardRef(function({ className: t, children: o, container: n, ...e }, m) {
|
|
289
|
+
const i = p();
|
|
290
|
+
return /* @__PURE__ */ r($, { container: n, children: /* @__PURE__ */ r(
|
|
272
291
|
_,
|
|
273
292
|
{
|
|
274
|
-
ref:
|
|
293
|
+
ref: m,
|
|
275
294
|
"data-slot": "combobox-content",
|
|
276
|
-
[
|
|
277
|
-
className:
|
|
295
|
+
[d]: "combobox-content",
|
|
296
|
+
className: b(i.content, t),
|
|
278
297
|
...e,
|
|
279
|
-
children: /* @__PURE__ */
|
|
280
|
-
|
|
298
|
+
children: /* @__PURE__ */ r(
|
|
299
|
+
A,
|
|
281
300
|
{
|
|
282
301
|
"data-slot": "combobox-command",
|
|
283
|
-
[
|
|
302
|
+
[d]: "combobox-command",
|
|
284
303
|
className: i.command,
|
|
285
304
|
children: o
|
|
286
305
|
}
|
|
287
306
|
)
|
|
288
307
|
}
|
|
289
308
|
) });
|
|
290
|
-
}),
|
|
291
|
-
const
|
|
292
|
-
return /* @__PURE__ */
|
|
309
|
+
}), po = s.forwardRef(function({ className: t, children: o, ...n }, e) {
|
|
310
|
+
const m = p();
|
|
311
|
+
return /* @__PURE__ */ r(
|
|
293
312
|
"div",
|
|
294
313
|
{
|
|
295
314
|
ref: e,
|
|
296
315
|
"data-slot": "combobox-value",
|
|
297
|
-
[
|
|
298
|
-
className:
|
|
299
|
-
...
|
|
316
|
+
[d]: "combobox-value",
|
|
317
|
+
className: b(m.value, t),
|
|
318
|
+
...n,
|
|
300
319
|
children: o
|
|
301
320
|
}
|
|
302
321
|
);
|
|
303
|
-
}),
|
|
304
|
-
const e =
|
|
305
|
-
return /* @__PURE__ */
|
|
306
|
-
|
|
322
|
+
}), uo = s.forwardRef(function({ className: t, ...o }, n) {
|
|
323
|
+
const e = p();
|
|
324
|
+
return /* @__PURE__ */ r(
|
|
325
|
+
z,
|
|
307
326
|
{
|
|
308
|
-
ref:
|
|
327
|
+
ref: n,
|
|
309
328
|
"data-slot": "combobox-command-input",
|
|
310
|
-
[
|
|
311
|
-
className:
|
|
329
|
+
[d]: "combobox-command-input",
|
|
330
|
+
className: b(e.input, t),
|
|
312
331
|
...o
|
|
313
332
|
}
|
|
314
333
|
);
|
|
315
|
-
}),
|
|
316
|
-
const e =
|
|
317
|
-
return /* @__PURE__ */
|
|
334
|
+
}), go = s.forwardRef(function({ className: t, ...o }, n) {
|
|
335
|
+
const e = p();
|
|
336
|
+
return /* @__PURE__ */ r(
|
|
318
337
|
W,
|
|
319
338
|
{
|
|
320
|
-
ref:
|
|
339
|
+
ref: n,
|
|
321
340
|
"data-slot": "combobox-command-list",
|
|
322
|
-
[
|
|
323
|
-
className:
|
|
341
|
+
[d]: "combobox-command-list",
|
|
342
|
+
className: b(e.list, t),
|
|
324
343
|
...o
|
|
325
344
|
}
|
|
326
345
|
);
|
|
327
|
-
}),
|
|
328
|
-
const
|
|
329
|
-
return /* @__PURE__ */
|
|
346
|
+
}), xo = s.forwardRef(function({ className: t, children: o, ...n }, e) {
|
|
347
|
+
const m = p();
|
|
348
|
+
return /* @__PURE__ */ r(
|
|
330
349
|
H,
|
|
331
350
|
{
|
|
332
351
|
ref: e,
|
|
333
352
|
"data-slot": "combobox-item",
|
|
334
|
-
[
|
|
335
|
-
className:
|
|
336
|
-
...
|
|
353
|
+
[d]: "combobox-item",
|
|
354
|
+
className: b(m.item, t),
|
|
355
|
+
...n,
|
|
337
356
|
children: o
|
|
338
357
|
}
|
|
339
358
|
);
|
|
340
|
-
}),
|
|
341
|
-
const e =
|
|
342
|
-
return /* @__PURE__ */
|
|
359
|
+
}), fo = s.forwardRef(function({ className: t, ...o }, n) {
|
|
360
|
+
const e = p();
|
|
361
|
+
return /* @__PURE__ */ r(
|
|
343
362
|
"span",
|
|
344
363
|
{
|
|
345
|
-
ref:
|
|
346
|
-
className:
|
|
364
|
+
ref: n,
|
|
365
|
+
className: b(e.itemCheckIcon, t),
|
|
347
366
|
...o,
|
|
348
|
-
children: /* @__PURE__ */
|
|
367
|
+
children: /* @__PURE__ */ r(Q, { className: e.checkSvg })
|
|
349
368
|
}
|
|
350
369
|
);
|
|
351
|
-
}),
|
|
352
|
-
const e =
|
|
353
|
-
return /* @__PURE__ */
|
|
354
|
-
|
|
370
|
+
}), ho = s.forwardRef(function({ className: t, ...o }, n) {
|
|
371
|
+
const e = p();
|
|
372
|
+
return /* @__PURE__ */ r(
|
|
373
|
+
E,
|
|
355
374
|
{
|
|
356
|
-
ref:
|
|
375
|
+
ref: n,
|
|
357
376
|
"data-slot": "combobox-empty",
|
|
358
|
-
[
|
|
359
|
-
className:
|
|
377
|
+
[d]: "combobox-empty",
|
|
378
|
+
className: b(e.empty, t),
|
|
360
379
|
...o
|
|
361
380
|
}
|
|
362
381
|
);
|
|
363
|
-
}),
|
|
364
|
-
const e =
|
|
365
|
-
return /* @__PURE__ */
|
|
366
|
-
|
|
382
|
+
}), Co = s.forwardRef(function({ className: t, ...o }, n) {
|
|
383
|
+
const e = p();
|
|
384
|
+
return /* @__PURE__ */ r(
|
|
385
|
+
j,
|
|
367
386
|
{
|
|
368
|
-
ref:
|
|
387
|
+
ref: n,
|
|
369
388
|
"data-slot": "combobox-group",
|
|
370
|
-
[
|
|
371
|
-
className:
|
|
389
|
+
[d]: "combobox-group",
|
|
390
|
+
className: b(e.group, t),
|
|
372
391
|
...o
|
|
373
392
|
}
|
|
374
393
|
);
|
|
375
|
-
}),
|
|
376
|
-
const e =
|
|
377
|
-
return /* @__PURE__ */
|
|
378
|
-
|
|
394
|
+
}), wo = s.forwardRef(function({ className: t, ...o }, n) {
|
|
395
|
+
const e = p();
|
|
396
|
+
return /* @__PURE__ */ r(
|
|
397
|
+
Z,
|
|
379
398
|
{
|
|
380
|
-
ref:
|
|
399
|
+
ref: n,
|
|
381
400
|
"data-slot": "combobox-group-label",
|
|
382
|
-
[
|
|
383
|
-
className:
|
|
401
|
+
[d]: "combobox-group-label",
|
|
402
|
+
className: b(e.groupLabel, t),
|
|
384
403
|
...o
|
|
385
404
|
}
|
|
386
405
|
);
|
|
387
|
-
}),
|
|
388
|
-
const e =
|
|
389
|
-
return /* @__PURE__ */
|
|
390
|
-
|
|
406
|
+
}), yo = s.forwardRef(function({ className: t, ...o }, n) {
|
|
407
|
+
const e = p();
|
|
408
|
+
return /* @__PURE__ */ r(
|
|
409
|
+
O,
|
|
391
410
|
{
|
|
392
|
-
ref:
|
|
411
|
+
ref: n,
|
|
393
412
|
"data-slot": "select-separator",
|
|
394
|
-
[
|
|
395
|
-
className:
|
|
413
|
+
[d]: "select-separator",
|
|
414
|
+
className: b(e.separator, t),
|
|
396
415
|
...o
|
|
397
416
|
}
|
|
398
417
|
);
|
|
399
|
-
}),
|
|
400
|
-
const e =
|
|
401
|
-
return /* @__PURE__ */
|
|
402
|
-
|
|
418
|
+
}), Fo = s.forwardRef(function({ className: t, ...o }, n) {
|
|
419
|
+
const e = p();
|
|
420
|
+
return /* @__PURE__ */ r(
|
|
421
|
+
M,
|
|
403
422
|
{
|
|
404
|
-
ref:
|
|
423
|
+
ref: n,
|
|
405
424
|
"data-slot": "combobox-command-loading",
|
|
406
|
-
[
|
|
407
|
-
className:
|
|
425
|
+
[d]: "combobox-command-loading",
|
|
426
|
+
className: b(e.loading, t),
|
|
408
427
|
...o
|
|
409
428
|
}
|
|
410
429
|
);
|
|
411
|
-
}),
|
|
412
|
-
const
|
|
413
|
-
return /* @__PURE__ */
|
|
430
|
+
}), vo = s.forwardRef(function({ className: t, onClick: o, ...n }, e) {
|
|
431
|
+
const m = p();
|
|
432
|
+
return /* @__PURE__ */ r(
|
|
414
433
|
"span",
|
|
415
434
|
{
|
|
416
435
|
ref: e,
|
|
417
436
|
role: "button",
|
|
418
437
|
tabIndex: 0,
|
|
419
|
-
className:
|
|
438
|
+
className: b(m.clear, t),
|
|
420
439
|
onPointerDown: (i) => {
|
|
421
440
|
i.preventDefault(), i.stopPropagation();
|
|
422
441
|
},
|
|
423
442
|
onClick: (i) => {
|
|
424
443
|
i.preventDefault(), i.stopPropagation(), o == null || o(i);
|
|
425
444
|
},
|
|
426
|
-
...
|
|
427
|
-
children: /* @__PURE__ */
|
|
445
|
+
...n,
|
|
446
|
+
children: /* @__PURE__ */ r(R, { className: m.clearSvg })
|
|
428
447
|
}
|
|
429
448
|
);
|
|
430
|
-
}),
|
|
431
|
-
const e =
|
|
432
|
-
return /* @__PURE__ */
|
|
449
|
+
}), So = s.forwardRef(function({ className: t, ...o }, n) {
|
|
450
|
+
const e = p();
|
|
451
|
+
return /* @__PURE__ */ r(
|
|
433
452
|
"span",
|
|
434
453
|
{
|
|
435
|
-
ref:
|
|
436
|
-
className:
|
|
454
|
+
ref: n,
|
|
455
|
+
className: b(e.placeholder, t),
|
|
437
456
|
...o
|
|
438
457
|
}
|
|
439
458
|
);
|
|
440
|
-
}), Ro = s.forwardRef(function({ className: t, onClick: o, ...
|
|
441
|
-
const
|
|
442
|
-
return /* @__PURE__ */
|
|
459
|
+
}), Ro = s.forwardRef(function({ className: t, onClick: o, ...n }, e) {
|
|
460
|
+
const m = p();
|
|
461
|
+
return /* @__PURE__ */ r(
|
|
443
462
|
"span",
|
|
444
463
|
{
|
|
445
464
|
ref: e,
|
|
446
465
|
role: "button",
|
|
447
466
|
tabIndex: 0,
|
|
448
|
-
className:
|
|
467
|
+
className: b(m.clearValue, t),
|
|
449
468
|
onPointerDown: (i) => {
|
|
450
469
|
i.preventDefault(), i.stopPropagation();
|
|
451
470
|
},
|
|
452
471
|
onClick: (i) => {
|
|
453
472
|
i.preventDefault(), i.stopPropagation(), o == null || o(i);
|
|
454
473
|
},
|
|
455
|
-
...
|
|
456
|
-
children: /* @__PURE__ */
|
|
474
|
+
...n,
|
|
475
|
+
children: /* @__PURE__ */ r(R, { className: m.clearValueSvg })
|
|
457
476
|
}
|
|
458
477
|
);
|
|
459
478
|
});
|
|
460
479
|
export {
|
|
461
|
-
|
|
462
|
-
|
|
480
|
+
mo as Combobox,
|
|
481
|
+
vo as ComboboxClear,
|
|
463
482
|
Ro as ComboboxClearValue,
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
483
|
+
bo as ComboboxContent,
|
|
484
|
+
ho as ComboboxEmpty,
|
|
485
|
+
Co as ComboboxGroup,
|
|
486
|
+
wo as ComboboxGroupLabel,
|
|
487
|
+
uo as ComboboxInput,
|
|
488
|
+
xo as ComboboxItem,
|
|
489
|
+
fo as ComboboxItemCheckIcon,
|
|
490
|
+
go as ComboboxList,
|
|
491
|
+
Fo as ComboboxLoading,
|
|
492
|
+
So as ComboboxPlaceholder,
|
|
493
|
+
yo as ComboboxSeparator,
|
|
494
|
+
co as ComboboxTrigger,
|
|
495
|
+
po as ComboboxValue,
|
|
496
|
+
mo as FieldCombobox,
|
|
497
|
+
vo as FieldComboboxClear,
|
|
479
498
|
Ro as FieldComboboxClearValue,
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
499
|
+
bo as FieldComboboxContent,
|
|
500
|
+
ho as FieldComboboxEmpty,
|
|
501
|
+
Co as FieldComboboxGroup,
|
|
502
|
+
wo as FieldComboboxGroupLabel,
|
|
503
|
+
uo as FieldComboboxInput,
|
|
504
|
+
xo as FieldComboboxItem,
|
|
505
|
+
fo as FieldComboboxItemCheckIcon,
|
|
506
|
+
go as FieldComboboxList,
|
|
507
|
+
Fo as FieldComboboxLoading,
|
|
508
|
+
So as FieldComboboxPlaceholder,
|
|
509
|
+
yo as FieldComboboxSeparator,
|
|
510
|
+
co as FieldComboboxTrigger,
|
|
511
|
+
po as FieldComboboxValue
|
|
493
512
|
};
|
|
494
513
|
//# sourceMappingURL=field-combobox.js.map
|