@epilot/zenith-react 0.2.0-next.1 → 0.2.0-next.4
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 +25 -0
- package/codemods/README.md +168 -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 +20 -0
- package/codemods/migrate/from-volt.ts +20 -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 +389 -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/data-table/data-table-header.js +113 -99
- package/dist/components/data-table/data-table-header.js.map +1 -1
- package/dist/components/data-table/data-table-row.js +49 -40
- package/dist/components/data-table/data-table-row.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 +260 -322
- 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 +87 -77
- package/dist/components/field/field-combobox.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 +83 -53
- 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 +2335 -2129
- 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 +34 -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 +18 -10
- package/scripts/migration-diagnostics.mjs +31 -8
- 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,16 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
1
|
+
import { jsx as o, jsxs as E, Fragment as D } from "react/jsx-runtime";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { createPortal as st } from "react-dom";
|
|
4
|
+
import { DirectionProvider as at } from "../../_virtual/_zenith-runtime-family_direction-provider.js";
|
|
5
|
+
import { Select as p } from "../../_virtual/_zenith-runtime-family_select.js";
|
|
6
|
+
import { mergeClasses as y, SLOT_ATTR as g, shorthands as v } from "@epilot/zenith-runtime/v1";
|
|
7
|
+
import { useAppearanceAttributes as ct } from "../appearance-boundary/appearance-boundary.js";
|
|
8
|
+
import { useDensity as dt } from "../density-provider/density-provider.js";
|
|
9
|
+
import { makeZenithStyles as ut } from "../../styles/make-styles.js";
|
|
10
|
+
import { boxModel as h, nativeControl as pt } from "../../styles/host-reset.js";
|
|
11
|
+
import { OVERLAY_Z_INDEX as j } from "../../styles/overlay-layer.js";
|
|
12
|
+
import { spacingElement1 as b, graySoft as ft, gray11 as gt, fontWeightSemibold as mt, leadingXs as ht, textXs as wt, spacingElement2 as S, grayA11 as W, accentA3 as G, grayA12 as U, leadingSm as Y, textSm as Z, selectItemPaddingY as H, selectItemPaddingLeft as xt, body as vt, accentA11 as V, focusRing as J, accentSoft as St, grayA8 as yt, radiusMd as K, radius2xl as bt, selectContentGap as It, selectContentPadding as Ct, radiusLg as At } from "../../tokens/index.js";
|
|
13
|
+
const Dt = (i) => /* @__PURE__ */ o(
|
|
12
14
|
"svg",
|
|
13
15
|
{
|
|
14
16
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -16,10 +18,10 @@ const dt = (n) => /* @__PURE__ */ t(
|
|
|
16
18
|
viewBox: "0 -960 960 960",
|
|
17
19
|
width: "24px",
|
|
18
20
|
fill: "currentColor",
|
|
19
|
-
...
|
|
20
|
-
children: /* @__PURE__ */
|
|
21
|
+
...i,
|
|
22
|
+
children: /* @__PURE__ */ o("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" })
|
|
21
23
|
}
|
|
22
|
-
),
|
|
24
|
+
), Lt = (i) => /* @__PURE__ */ o(
|
|
23
25
|
"svg",
|
|
24
26
|
{
|
|
25
27
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -27,10 +29,10 @@ const dt = (n) => /* @__PURE__ */ t(
|
|
|
27
29
|
viewBox: "0 -960 960 960",
|
|
28
30
|
width: "24px",
|
|
29
31
|
fill: "currentColor",
|
|
30
|
-
...
|
|
31
|
-
children: /* @__PURE__ */
|
|
32
|
+
...i,
|
|
33
|
+
children: /* @__PURE__ */ o("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" })
|
|
32
34
|
}
|
|
33
|
-
),
|
|
35
|
+
), Rt = (i) => /* @__PURE__ */ o(
|
|
34
36
|
"svg",
|
|
35
37
|
{
|
|
36
38
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -38,10 +40,10 @@ const dt = (n) => /* @__PURE__ */ t(
|
|
|
38
40
|
viewBox: "0 -960 960 960",
|
|
39
41
|
width: "24px",
|
|
40
42
|
fill: "currentColor",
|
|
41
|
-
...
|
|
42
|
-
children: /* @__PURE__ */
|
|
43
|
+
...i,
|
|
44
|
+
children: /* @__PURE__ */ o("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" })
|
|
43
45
|
}
|
|
44
|
-
),
|
|
46
|
+
), et = (i) => /* @__PURE__ */ o(
|
|
45
47
|
"svg",
|
|
46
48
|
{
|
|
47
49
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -49,21 +51,21 @@ const dt = (n) => /* @__PURE__ */ t(
|
|
|
49
51
|
viewBox: "0 -960 960 960",
|
|
50
52
|
width: "24px",
|
|
51
53
|
fill: "currentColor",
|
|
52
|
-
...
|
|
53
|
-
children: /* @__PURE__ */
|
|
54
|
+
...i,
|
|
55
|
+
children: /* @__PURE__ */ o("path", { d: "M480-528 324-372q-11 11-28 11t-28-11q-11-11-11-28t11-28l184-184q12-12 28-12t28 12l184 184q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-528Z" })
|
|
54
56
|
}
|
|
55
|
-
),
|
|
57
|
+
), C = ut({
|
|
56
58
|
trigger: {
|
|
57
|
-
...
|
|
59
|
+
...pt,
|
|
58
60
|
display: "flex",
|
|
59
61
|
width: "100%",
|
|
60
62
|
alignItems: "center",
|
|
61
63
|
justifyContent: "space-between",
|
|
62
|
-
...
|
|
63
|
-
...
|
|
64
|
+
...v.gap(S),
|
|
65
|
+
...v.borderRadius(At),
|
|
64
66
|
backgroundColor: "transparent",
|
|
65
|
-
fontSize:
|
|
66
|
-
lineHeight:
|
|
67
|
+
fontSize: Z,
|
|
68
|
+
lineHeight: Y,
|
|
67
69
|
outlineStyle: "none",
|
|
68
70
|
whiteSpace: "normal",
|
|
69
71
|
textAlign: "left",
|
|
@@ -78,39 +80,30 @@ const dt = (n) => /* @__PURE__ */ t(
|
|
|
78
80
|
outlineWidth: "2px",
|
|
79
81
|
outlineStyle: "solid",
|
|
80
82
|
outlineOffset: "2px",
|
|
81
|
-
outlineColor:
|
|
83
|
+
outlineColor: J
|
|
82
84
|
},
|
|
83
85
|
":disabled": {
|
|
84
86
|
cursor: "not-allowed",
|
|
85
87
|
opacity: 0.5
|
|
86
88
|
},
|
|
87
89
|
"&[data-placeholder]": {
|
|
88
|
-
color:
|
|
90
|
+
color: yt
|
|
89
91
|
},
|
|
90
92
|
"& svg": {
|
|
91
93
|
pointerEvents: "none",
|
|
92
94
|
flexShrink: 0
|
|
93
95
|
},
|
|
94
|
-
[`& [${
|
|
96
|
+
[`& [${g}="select-value"]`]: {
|
|
95
97
|
display: "flex",
|
|
96
98
|
alignItems: "center",
|
|
97
|
-
...
|
|
99
|
+
...v.gap(S),
|
|
98
100
|
overflow: "hidden",
|
|
99
101
|
textOverflow: "ellipsis",
|
|
100
102
|
whiteSpace: "nowrap"
|
|
101
103
|
},
|
|
102
104
|
// The open-state chevron rotation is declared HERE, on the trigger that carries the state
|
|
103
105
|
// attribute, reaching the icon by SLOT_ATTR.
|
|
104
|
-
[`&[data-
|
|
105
|
-
transform: "rotate(180deg)"
|
|
106
|
-
},
|
|
107
|
-
[`&[data-state='open'] [${i}="select-icon"]`]: {
|
|
108
|
-
transform: "rotate(180deg)"
|
|
109
|
-
},
|
|
110
|
-
[`&[data-open] [${i}="select-icon"] svg`]: {
|
|
111
|
-
transform: "rotate(180deg)"
|
|
112
|
-
},
|
|
113
|
-
[`&[data-popup-open] [${i}="select-icon"] svg`]: {
|
|
106
|
+
[`&[data-popup-open] [${g}="select-icon"]`]: {
|
|
114
107
|
transform: "rotate(180deg)"
|
|
115
108
|
}
|
|
116
109
|
},
|
|
@@ -121,10 +114,10 @@ const dt = (n) => /* @__PURE__ */ t(
|
|
|
121
114
|
flexShrink: 0
|
|
122
115
|
},
|
|
123
116
|
triggerIcon: {
|
|
124
|
-
...
|
|
117
|
+
...h,
|
|
125
118
|
width: "1.5rem",
|
|
126
119
|
height: "1.5rem",
|
|
127
|
-
color:
|
|
120
|
+
color: W,
|
|
128
121
|
transitionProperty: "transform",
|
|
129
122
|
transitionDuration: "150ms",
|
|
130
123
|
transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
@@ -133,7 +126,7 @@ const dt = (n) => /* @__PURE__ */ t(
|
|
|
133
126
|
}
|
|
134
127
|
},
|
|
135
128
|
triggerClear: {
|
|
136
|
-
...
|
|
129
|
+
...h,
|
|
137
130
|
position: "absolute",
|
|
138
131
|
right: "2.75rem",
|
|
139
132
|
paddingTop: "0.125rem",
|
|
@@ -144,145 +137,140 @@ const dt = (n) => /* @__PURE__ */ t(
|
|
|
144
137
|
alignItems: "center",
|
|
145
138
|
justifyContent: "center",
|
|
146
139
|
backgroundColor: "transparent",
|
|
147
|
-
color:
|
|
140
|
+
color: V,
|
|
148
141
|
cursor: "pointer",
|
|
149
|
-
...
|
|
142
|
+
...v.borderRadius(K),
|
|
150
143
|
":hover": {
|
|
151
|
-
backgroundColor:
|
|
144
|
+
backgroundColor: St
|
|
152
145
|
},
|
|
153
146
|
":focus-visible": {
|
|
154
|
-
outlineColor:
|
|
147
|
+
outlineColor: J,
|
|
155
148
|
outlineWidth: "2px",
|
|
156
149
|
outlineStyle: "solid",
|
|
157
150
|
outlineOffset: "2px"
|
|
158
151
|
}
|
|
159
152
|
},
|
|
160
153
|
triggerClearIcon: {
|
|
161
|
-
...
|
|
154
|
+
...h,
|
|
162
155
|
width: "1.25rem",
|
|
163
156
|
height: "1.25rem",
|
|
164
|
-
color:
|
|
157
|
+
color: V
|
|
158
|
+
},
|
|
159
|
+
// The positioner is what stacks against other layers, as Radix's popper wrapper did; it also
|
|
160
|
+
// keeps that wrapper's `max-content` floor so the content sizes the same way.
|
|
161
|
+
positioner: {
|
|
162
|
+
zIndex: j,
|
|
163
|
+
minWidth: "max-content"
|
|
164
|
+
},
|
|
165
|
+
hideWhenDetached: {
|
|
166
|
+
"&[data-anchor-hidden]": {
|
|
167
|
+
visibility: "hidden",
|
|
168
|
+
pointerEvents: "none"
|
|
169
|
+
}
|
|
165
170
|
},
|
|
166
171
|
popup: {
|
|
167
|
-
...
|
|
168
|
-
|
|
169
|
-
|
|
172
|
+
...h,
|
|
173
|
+
// Radix laid its content out as a column: scroll-up arrow, viewport, scroll-down arrow.
|
|
174
|
+
display: "flex",
|
|
175
|
+
flexDirection: "column",
|
|
176
|
+
backgroundColor: vt,
|
|
177
|
+
// DENSITY-SPEC.md §2.3 — popup padding/gap only; the slide-in transition offsets a few lines
|
|
170
178
|
// below deliberately keep the plain (non-density) `spacingElement2` value: they are not in the
|
|
171
179
|
// approved matrix, and re-using the same primitive for two unrelated purposes doesn't make the
|
|
172
180
|
// animation distance a density lever too.
|
|
173
|
-
...
|
|
174
|
-
...
|
|
175
|
-
color:
|
|
181
|
+
...v.padding(Ct),
|
|
182
|
+
...v.gap(It),
|
|
183
|
+
color: U,
|
|
176
184
|
position: "relative",
|
|
177
|
-
zIndex:
|
|
178
|
-
transformOrigin: "var(--
|
|
185
|
+
zIndex: j,
|
|
186
|
+
transformOrigin: "var(--transform-origin)",
|
|
179
187
|
overflowX: "hidden",
|
|
180
188
|
overflowY: "auto",
|
|
181
|
-
...
|
|
182
|
-
...
|
|
189
|
+
...v.borderRadius(bt),
|
|
190
|
+
...v.border("1px", "solid", "transparent"),
|
|
183
191
|
// v1 shadow-md
|
|
184
192
|
boxShadow: "0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a",
|
|
185
193
|
outlineStyle: "none",
|
|
186
|
-
maxHeight: "var(--
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
"&[data-state='closed']": {
|
|
194
|
-
animationDuration: "0.01ms"
|
|
195
|
-
}
|
|
194
|
+
maxHeight: "var(--available-height, 20rem)",
|
|
195
|
+
transitionProperty: "opacity, transform",
|
|
196
|
+
transitionDuration: "150ms",
|
|
197
|
+
transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
198
|
+
"&[data-starting-style]": {
|
|
199
|
+
opacity: 0,
|
|
200
|
+
transform: "scale(0.95)"
|
|
196
201
|
},
|
|
197
|
-
"&[data-
|
|
198
|
-
|
|
199
|
-
from: { opacity: 0, transform: "scale(0.95)" },
|
|
200
|
-
to: { opacity: 1, transform: "scale(1)" }
|
|
201
|
-
},
|
|
202
|
-
animationDuration: "150ms",
|
|
203
|
-
animationTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)"
|
|
202
|
+
"&[data-starting-style][data-side='bottom']": {
|
|
203
|
+
transform: `translateY(-${S}) scale(0.95)`
|
|
204
204
|
},
|
|
205
|
-
"&[data-
|
|
206
|
-
|
|
207
|
-
from: {
|
|
208
|
-
opacity: 0,
|
|
209
|
-
transform: `translateY(-${p}) scale(0.95)`
|
|
210
|
-
},
|
|
211
|
-
to: { opacity: 1, transform: "translateY(0) scale(1)" }
|
|
212
|
-
}
|
|
205
|
+
"&[data-starting-style][data-side='left']": {
|
|
206
|
+
transform: `translateX(${S}) scale(0.95)`
|
|
213
207
|
},
|
|
214
|
-
"&[data-
|
|
215
|
-
|
|
216
|
-
from: {
|
|
217
|
-
opacity: 0,
|
|
218
|
-
transform: `translateX(${p}) scale(0.95)`
|
|
219
|
-
},
|
|
220
|
-
to: { opacity: 1, transform: "translateX(0) scale(1)" }
|
|
221
|
-
}
|
|
208
|
+
"&[data-starting-style][data-side='right']": {
|
|
209
|
+
transform: `translateX(-${S}) scale(0.95)`
|
|
222
210
|
},
|
|
223
|
-
"&[data-
|
|
224
|
-
|
|
225
|
-
from: {
|
|
226
|
-
opacity: 0,
|
|
227
|
-
transform: `translateX(-${p}) scale(0.95)`
|
|
228
|
-
},
|
|
229
|
-
to: { opacity: 1, transform: "translateX(0) scale(1)" }
|
|
230
|
-
}
|
|
211
|
+
"&[data-starting-style][data-side='top']": {
|
|
212
|
+
transform: `translateY(${S}) scale(0.95)`
|
|
231
213
|
},
|
|
232
|
-
"&[data-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
},
|
|
238
|
-
to: { opacity: 1, transform: "translateY(0) scale(1)" }
|
|
239
|
-
}
|
|
214
|
+
"&[data-ending-style]": {
|
|
215
|
+
opacity: 0,
|
|
216
|
+
transform: "scale(0.95)",
|
|
217
|
+
transitionDuration: "100ms",
|
|
218
|
+
transitionTimingFunction: "cubic-bezier(0.4, 0, 1, 1)"
|
|
240
219
|
},
|
|
241
|
-
"
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
}
|
|
246
|
-
animationDuration: "100ms",
|
|
247
|
-
animationTimingFunction: "cubic-bezier(0.4, 0, 1, 1)"
|
|
220
|
+
"@media (prefers-reduced-motion: reduce)": {
|
|
221
|
+
transitionDuration: "0.01ms",
|
|
222
|
+
"&[data-ending-style]": {
|
|
223
|
+
transitionDuration: "0.01ms"
|
|
224
|
+
}
|
|
248
225
|
}
|
|
249
226
|
},
|
|
250
227
|
viewport: {
|
|
251
|
-
...
|
|
228
|
+
...h,
|
|
229
|
+
// Radix's viewport: the scroller between the arrows, its scrollbar hidden.
|
|
230
|
+
position: "relative",
|
|
231
|
+
flexGrow: 1,
|
|
232
|
+
flexShrink: 1,
|
|
233
|
+
flexBasis: "0%",
|
|
234
|
+
overflowX: "hidden",
|
|
235
|
+
overflowY: "auto",
|
|
236
|
+
scrollbarWidth: "none",
|
|
237
|
+
"&::-webkit-scrollbar": {
|
|
238
|
+
display: "none"
|
|
239
|
+
},
|
|
252
240
|
width: "100%",
|
|
253
|
-
minWidth: "var(--
|
|
254
|
-
scrollMarginTop:
|
|
255
|
-
scrollMarginBottom:
|
|
241
|
+
minWidth: "var(--anchor-width)",
|
|
242
|
+
scrollMarginTop: b,
|
|
243
|
+
scrollMarginBottom: b
|
|
256
244
|
},
|
|
257
245
|
item: {
|
|
258
|
-
...
|
|
246
|
+
...h,
|
|
259
247
|
position: "relative",
|
|
260
248
|
display: "flex",
|
|
261
249
|
width: "100%",
|
|
262
250
|
cursor: "default",
|
|
263
251
|
userSelect: "none",
|
|
264
252
|
alignItems: "center",
|
|
265
|
-
...
|
|
266
|
-
...
|
|
253
|
+
...v.gap(S),
|
|
254
|
+
...v.borderRadius(K),
|
|
267
255
|
// DENSITY-SPEC.md §2.3 — left padding and vertical padding are density levers; right padding
|
|
268
256
|
// stays a fixed 32px at every tier (reserves the check-indicator's space, not modeled in
|
|
269
257
|
// density.yaml).
|
|
270
|
-
paddingLeft:
|
|
258
|
+
paddingLeft: xt,
|
|
271
259
|
paddingRight: "2rem",
|
|
272
|
-
paddingTop:
|
|
273
|
-
paddingBottom:
|
|
274
|
-
fontSize:
|
|
275
|
-
lineHeight:
|
|
276
|
-
color:
|
|
260
|
+
paddingTop: H,
|
|
261
|
+
paddingBottom: H,
|
|
262
|
+
fontSize: Z,
|
|
263
|
+
lineHeight: Y,
|
|
264
|
+
color: U,
|
|
277
265
|
outlineStyle: "none",
|
|
278
266
|
":not(:first-child)": {
|
|
279
267
|
marginTop: "0.125rem"
|
|
280
268
|
},
|
|
281
269
|
"&[data-highlighted]": {
|
|
282
|
-
backgroundColor:
|
|
270
|
+
backgroundColor: G
|
|
283
271
|
},
|
|
284
|
-
"&[data-
|
|
285
|
-
backgroundColor:
|
|
272
|
+
"&[data-selected]": {
|
|
273
|
+
backgroundColor: G
|
|
286
274
|
},
|
|
287
275
|
"&[data-disabled]": {
|
|
288
276
|
pointerEvents: "none",
|
|
@@ -293,13 +281,13 @@ const dt = (n) => /* @__PURE__ */ t(
|
|
|
293
281
|
flexShrink: 0
|
|
294
282
|
},
|
|
295
283
|
"& svg:not([class*='text-'])": {
|
|
296
|
-
color:
|
|
284
|
+
color: W
|
|
297
285
|
}
|
|
298
286
|
},
|
|
299
287
|
itemIndicatorWrapper: {
|
|
300
|
-
...
|
|
288
|
+
...h,
|
|
301
289
|
position: "absolute",
|
|
302
|
-
right:
|
|
290
|
+
right: S,
|
|
303
291
|
display: "flex",
|
|
304
292
|
width: "1rem",
|
|
305
293
|
height: "1rem",
|
|
@@ -307,256 +295,443 @@ const dt = (n) => /* @__PURE__ */ t(
|
|
|
307
295
|
justifyContent: "center"
|
|
308
296
|
},
|
|
309
297
|
itemIndicatorIcon: {
|
|
310
|
-
...
|
|
298
|
+
...h,
|
|
311
299
|
// An inline svg sits on the text baseline and grows its wrapper by the line-height gap.
|
|
312
300
|
display: "block",
|
|
313
301
|
width: "1rem",
|
|
314
302
|
height: "1rem",
|
|
315
|
-
color:
|
|
303
|
+
color: W
|
|
316
304
|
},
|
|
317
305
|
label: {
|
|
318
|
-
...
|
|
319
|
-
paddingLeft:
|
|
320
|
-
paddingRight:
|
|
306
|
+
...h,
|
|
307
|
+
paddingLeft: S,
|
|
308
|
+
paddingRight: S,
|
|
321
309
|
paddingTop: "0.375rem",
|
|
322
310
|
paddingBottom: "0.375rem",
|
|
323
|
-
fontSize:
|
|
324
|
-
lineHeight:
|
|
325
|
-
fontWeight:
|
|
326
|
-
color:
|
|
311
|
+
fontSize: wt,
|
|
312
|
+
lineHeight: ht,
|
|
313
|
+
fontWeight: mt,
|
|
314
|
+
color: gt
|
|
327
315
|
},
|
|
328
316
|
separator: {
|
|
329
|
-
...
|
|
317
|
+
...h,
|
|
330
318
|
pointerEvents: "none",
|
|
331
|
-
marginLeft: `calc(-1 * ${
|
|
332
|
-
marginRight: `calc(-1 * ${
|
|
333
|
-
marginTop:
|
|
334
|
-
marginBottom:
|
|
319
|
+
marginLeft: `calc(-1 * ${b})`,
|
|
320
|
+
marginRight: `calc(-1 * ${b})`,
|
|
321
|
+
marginTop: b,
|
|
322
|
+
marginBottom: b,
|
|
335
323
|
height: "1px",
|
|
336
|
-
backgroundColor:
|
|
324
|
+
backgroundColor: ft
|
|
337
325
|
},
|
|
338
326
|
scrollArrow: {
|
|
339
327
|
display: "flex",
|
|
328
|
+
flexShrink: 0,
|
|
340
329
|
cursor: "default",
|
|
341
330
|
alignItems: "center",
|
|
342
331
|
justifyContent: "center"
|
|
343
332
|
},
|
|
344
333
|
scrollArrowUp: {
|
|
345
|
-
...
|
|
346
|
-
paddingBottom:
|
|
334
|
+
...h,
|
|
335
|
+
paddingBottom: b
|
|
347
336
|
},
|
|
348
337
|
scrollArrowDown: {
|
|
349
|
-
...
|
|
350
|
-
paddingTop:
|
|
338
|
+
...h,
|
|
339
|
+
paddingTop: b
|
|
351
340
|
},
|
|
352
341
|
scrollArrowIcon: {
|
|
353
|
-
...
|
|
342
|
+
...h,
|
|
354
343
|
width: "1.5rem",
|
|
355
344
|
height: "1.5rem"
|
|
356
345
|
},
|
|
357
346
|
scrollArrowDownIcon: {
|
|
358
347
|
transform: "rotate(180deg)"
|
|
359
348
|
}
|
|
360
|
-
})
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
return
|
|
364
|
-
|
|
349
|
+
});
|
|
350
|
+
function A(i) {
|
|
351
|
+
const t = s.Children.toArray(i).filter(s.isValidElement);
|
|
352
|
+
return t.length === 1 ? t[0] : void 0;
|
|
353
|
+
}
|
|
354
|
+
function L(i, t) {
|
|
355
|
+
const r = i ? A(t) : void 0;
|
|
356
|
+
return r ? { render: r } : { children: t };
|
|
357
|
+
}
|
|
358
|
+
function M(i, t, r) {
|
|
359
|
+
const e = i ? A(t) : void 0;
|
|
360
|
+
if (!e) return { children: r(t) };
|
|
361
|
+
const n = e.props.children;
|
|
362
|
+
return { render: s.cloneElement(e, void 0, r(n)) };
|
|
363
|
+
}
|
|
364
|
+
function Tt(i) {
|
|
365
|
+
if (i)
|
|
366
|
+
return () => {
|
|
367
|
+
const t = new Event("focus", { cancelable: !0 }), r = document.activeElement;
|
|
368
|
+
i(t);
|
|
369
|
+
const e = document.activeElement;
|
|
370
|
+
return e !== r && e instanceof HTMLElement && queueMicrotask(() => e.focus()), !t.defaultPrevented;
|
|
371
|
+
};
|
|
372
|
+
}
|
|
373
|
+
function Nt() {
|
|
374
|
+
const i = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set();
|
|
375
|
+
let r = 0;
|
|
376
|
+
const e = () => {
|
|
377
|
+
r += 1, t.forEach((n) => n());
|
|
378
|
+
};
|
|
379
|
+
return {
|
|
380
|
+
set(n, a, l) {
|
|
381
|
+
const c = i.get(n);
|
|
382
|
+
(c == null ? void 0 : c.value) === a && c.label === l || (i.set(n, { value: a, label: l }), e());
|
|
383
|
+
},
|
|
384
|
+
delete(n) {
|
|
385
|
+
i.delete(n) && e();
|
|
386
|
+
},
|
|
387
|
+
labelFor(n) {
|
|
388
|
+
for (const a of i.values())
|
|
389
|
+
if (a.value === n) return a.label;
|
|
390
|
+
},
|
|
391
|
+
subscribe(n) {
|
|
392
|
+
return t.add(n), () => {
|
|
393
|
+
t.delete(n);
|
|
394
|
+
};
|
|
395
|
+
},
|
|
396
|
+
version: () => r
|
|
397
|
+
};
|
|
398
|
+
}
|
|
399
|
+
const R = s.createContext(null), I = s.createContext(!1);
|
|
400
|
+
function Q(i) {
|
|
401
|
+
return i === "" ? null : i;
|
|
402
|
+
}
|
|
403
|
+
const Ht = s.forwardRef(function({ children: t, dir: r, value: e, defaultValue: n, onValueChange: a, onOpenChange: l, ...c }, d) {
|
|
404
|
+
const [m] = s.useState(Nt), u = s.useMemo(() => ({ labels: m, dir: r }), [m, r]), x = /* @__PURE__ */ o(
|
|
405
|
+
p.Root,
|
|
365
406
|
{
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
407
|
+
"data-slot": "select",
|
|
408
|
+
...e !== void 0 ? { value: Q(e) } : {},
|
|
409
|
+
...n !== void 0 ? { defaultValue: Q(n) } : {},
|
|
410
|
+
onValueChange: (f) => a == null ? void 0 : a(f ?? ""),
|
|
411
|
+
onOpenChange: (f, w) => {
|
|
412
|
+
if (w.reason === "escape-key" && w.event.defaultPrevented) {
|
|
413
|
+
w.cancel();
|
|
414
|
+
return;
|
|
415
|
+
}
|
|
416
|
+
l == null || l(f, w);
|
|
417
|
+
},
|
|
418
|
+
...c,
|
|
419
|
+
children: /* @__PURE__ */ o(R.Provider, { value: u, children: t })
|
|
371
420
|
}
|
|
372
421
|
);
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
422
|
+
return r ? /* @__PURE__ */ o(at, { direction: r, children: x }) : x;
|
|
423
|
+
}), Vt = s.forwardRef(
|
|
424
|
+
function({ asChild: t = !1, className: r, children: e, ...n }, a) {
|
|
425
|
+
return s.useContext(I) ? /* @__PURE__ */ o(D, { children: e }) : /* @__PURE__ */ o(
|
|
426
|
+
p.Group,
|
|
427
|
+
{
|
|
428
|
+
ref: a,
|
|
429
|
+
"data-slot": "select-group",
|
|
430
|
+
[g]: "select-group",
|
|
431
|
+
className: r,
|
|
432
|
+
...n,
|
|
433
|
+
...L(t, e)
|
|
434
|
+
}
|
|
435
|
+
);
|
|
436
|
+
}
|
|
437
|
+
), Jt = s.forwardRef(
|
|
438
|
+
function({ asChild: t = !1, className: r, children: e, placeholder: n, style: a, ...l }, c) {
|
|
439
|
+
var f;
|
|
440
|
+
const d = (f = s.useContext(R)) == null ? void 0 : f.labels;
|
|
441
|
+
s.useSyncExternalStore(
|
|
442
|
+
(d == null ? void 0 : d.subscribe) ?? qt,
|
|
443
|
+
(d == null ? void 0 : d.version) ?? tt,
|
|
444
|
+
(d == null ? void 0 : d.version) ?? tt
|
|
445
|
+
);
|
|
446
|
+
const m = t ? A(e) : void 0, u = t ? void 0 : e, x = (w) => w == null ? n : u ?? (d == null ? void 0 : d.labelFor(w)) ?? null;
|
|
447
|
+
return /* @__PURE__ */ o(
|
|
448
|
+
p.Value,
|
|
449
|
+
{
|
|
450
|
+
ref: c,
|
|
451
|
+
"data-slot": "select-value",
|
|
452
|
+
[g]: "select-value",
|
|
453
|
+
className: r,
|
|
454
|
+
style: { pointerEvents: "none", ...a },
|
|
455
|
+
...l,
|
|
456
|
+
...m ? { render: m } : {},
|
|
457
|
+
children: x
|
|
458
|
+
}
|
|
459
|
+
);
|
|
460
|
+
}
|
|
461
|
+
);
|
|
462
|
+
function qt() {
|
|
463
|
+
return () => {
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
function tt() {
|
|
467
|
+
return 0;
|
|
468
|
+
}
|
|
469
|
+
const Kt = s.forwardRef(function({ asChild: t = !1, className: r, children: e, ...n }, a) {
|
|
470
|
+
var u;
|
|
471
|
+
const l = C(), c = (u = s.useContext(R)) == null ? void 0 : u.dir, d = t ? A(e) : void 0, m = !d || typeof d.type != "string" || d.type === "button";
|
|
472
|
+
return /* @__PURE__ */ o(
|
|
473
|
+
p.Trigger,
|
|
376
474
|
{
|
|
377
475
|
ref: a,
|
|
378
|
-
"data-slot": "select-value",
|
|
379
|
-
[i]: "select-value",
|
|
380
|
-
className: o,
|
|
381
|
-
...e
|
|
382
|
-
}
|
|
383
|
-
);
|
|
384
|
-
}), Nt = c.forwardRef(function({ className: o, children: e, ...a }, l) {
|
|
385
|
-
const r = f();
|
|
386
|
-
return /* @__PURE__ */ w(
|
|
387
|
-
U,
|
|
388
|
-
{
|
|
389
|
-
ref: l,
|
|
390
476
|
"data-slot": "select-trigger",
|
|
391
|
-
[
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
477
|
+
[g]: "select-trigger",
|
|
478
|
+
nativeButton: m,
|
|
479
|
+
className: y(l.trigger, r),
|
|
480
|
+
...c ? { dir: c } : {},
|
|
481
|
+
...n,
|
|
482
|
+
...M(t, e, (x) => /* @__PURE__ */ E(D, { children: [
|
|
483
|
+
x,
|
|
484
|
+
/* @__PURE__ */ o(
|
|
485
|
+
p.Icon,
|
|
398
486
|
{
|
|
399
|
-
asChild: !0,
|
|
400
487
|
"data-slot": "select-icon",
|
|
401
|
-
[
|
|
402
|
-
className:
|
|
403
|
-
|
|
488
|
+
[g]: "select-icon",
|
|
489
|
+
className: l.triggerIconWrapper,
|
|
490
|
+
render: /* @__PURE__ */ o(Rt, { className: l.triggerIcon })
|
|
404
491
|
}
|
|
405
492
|
)
|
|
406
|
-
]
|
|
493
|
+
] }))
|
|
407
494
|
}
|
|
408
495
|
);
|
|
409
|
-
}),
|
|
410
|
-
const
|
|
411
|
-
return /* @__PURE__ */
|
|
496
|
+
}), Qt = s.forwardRef(function({ className: t, onClick: r, ...e }, n) {
|
|
497
|
+
const a = C();
|
|
498
|
+
return /* @__PURE__ */ o(
|
|
412
499
|
"span",
|
|
413
500
|
{
|
|
414
|
-
ref:
|
|
501
|
+
ref: n,
|
|
415
502
|
role: "button",
|
|
416
503
|
tabIndex: 0,
|
|
417
504
|
"data-slot": "select-trigger-clear",
|
|
418
|
-
[
|
|
419
|
-
className:
|
|
420
|
-
onPointerDown: (
|
|
421
|
-
|
|
505
|
+
[g]: "select-trigger-clear",
|
|
506
|
+
className: y(a.triggerClear, t),
|
|
507
|
+
onPointerDown: (l) => {
|
|
508
|
+
l.preventDefault(), l.stopPropagation();
|
|
422
509
|
},
|
|
423
|
-
|
|
424
|
-
|
|
510
|
+
onMouseDown: (l) => {
|
|
511
|
+
l.preventDefault(), l.stopPropagation();
|
|
425
512
|
},
|
|
426
|
-
|
|
427
|
-
|
|
513
|
+
onClick: (l) => {
|
|
514
|
+
l.preventDefault(), l.stopPropagation(), r == null || r(l);
|
|
515
|
+
},
|
|
516
|
+
...e,
|
|
517
|
+
children: /* @__PURE__ */ o(Dt, { className: a.triggerClearIcon })
|
|
428
518
|
}
|
|
429
519
|
);
|
|
430
|
-
}),
|
|
431
|
-
|
|
520
|
+
}), Et = {
|
|
521
|
+
side: "none",
|
|
522
|
+
align: "none",
|
|
523
|
+
fallbackAxisSide: "none"
|
|
524
|
+
}, Pt = {
|
|
525
|
+
side: "flip",
|
|
526
|
+
align: "flip",
|
|
527
|
+
fallbackAxisSide: "none"
|
|
528
|
+
}, kt = 10, te = s.forwardRef(function({
|
|
529
|
+
asChild: t = !1,
|
|
530
|
+
className: r,
|
|
432
531
|
children: e,
|
|
532
|
+
container: n,
|
|
433
533
|
position: a = "popper",
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
534
|
+
side: l = "bottom",
|
|
535
|
+
sideOffset: c = 0,
|
|
536
|
+
align: d = "center",
|
|
537
|
+
alignOffset: m = 0,
|
|
538
|
+
arrowPadding: u = 0,
|
|
539
|
+
avoidCollisions: x = !0,
|
|
540
|
+
collisionBoundary: f = [],
|
|
541
|
+
collisionPadding: w = kt,
|
|
542
|
+
sticky: T = "partial",
|
|
543
|
+
hideWhenDetached: N = !1,
|
|
544
|
+
updatePositionStrategy: P,
|
|
545
|
+
onCloseAutoFocus: k,
|
|
546
|
+
...ot
|
|
547
|
+
}, rt) {
|
|
548
|
+
var z, X, $;
|
|
549
|
+
const q = C(), F = (z = s.useContext(R)) == null ? void 0 : z.dir, O = dt(), nt = ct(), [_, it] = s.useState(null);
|
|
550
|
+
if (s.useLayoutEffect(() => {
|
|
551
|
+
it(document.createDocumentFragment());
|
|
552
|
+
}, []), s.useContext(I)) return null;
|
|
553
|
+
const lt = t ? ($ = (X = A(e)) == null ? void 0 : X.props) == null ? void 0 : $.children : e;
|
|
554
|
+
return /* @__PURE__ */ E(D, { children: [
|
|
555
|
+
_ && st(
|
|
556
|
+
/* @__PURE__ */ o(I.Provider, { value: !0, children: lt }),
|
|
557
|
+
_
|
|
558
|
+
),
|
|
559
|
+
/* @__PURE__ */ o(
|
|
560
|
+
p.Portal,
|
|
561
|
+
{
|
|
562
|
+
container: n ?? void 0,
|
|
563
|
+
children: /* @__PURE__ */ o(
|
|
564
|
+
p.Positioner,
|
|
455
565
|
{
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
566
|
+
className: y(
|
|
567
|
+
q.positioner,
|
|
568
|
+
N && q.hideWhenDetached
|
|
569
|
+
),
|
|
570
|
+
alignItemWithTrigger: a === "item-aligned",
|
|
571
|
+
side: l,
|
|
572
|
+
sideOffset: c,
|
|
573
|
+
align: d,
|
|
574
|
+
alignOffset: m,
|
|
575
|
+
arrowPadding: u,
|
|
576
|
+
collisionBoundary: (Array.isArray(f) ? f : [f]).filter((B) => B !== null),
|
|
577
|
+
collisionPadding: w,
|
|
578
|
+
collisionAvoidance: x ? Pt : Et,
|
|
579
|
+
sticky: T === "always",
|
|
580
|
+
children: /* @__PURE__ */ o(
|
|
581
|
+
p.Popup,
|
|
582
|
+
{
|
|
583
|
+
ref: rt,
|
|
584
|
+
"data-slot": "select-content",
|
|
585
|
+
[g]: "select-content",
|
|
586
|
+
...O !== void 0 ? { "data-density": O } : {},
|
|
587
|
+
...nt,
|
|
588
|
+
...F ? { dir: F } : {},
|
|
589
|
+
finalFocus: Tt(k),
|
|
590
|
+
className: y(q.popup, r),
|
|
591
|
+
...ot,
|
|
592
|
+
...M(t, e, (B) => /* @__PURE__ */ E(D, { children: [
|
|
593
|
+
/* @__PURE__ */ o(Bt, {}),
|
|
594
|
+
/* @__PURE__ */ o(
|
|
595
|
+
p.List,
|
|
596
|
+
{
|
|
597
|
+
"data-slot": "select-viewport",
|
|
598
|
+
[g]: "select-viewport",
|
|
599
|
+
className: q.viewport,
|
|
600
|
+
children: B
|
|
601
|
+
}
|
|
602
|
+
),
|
|
603
|
+
/* @__PURE__ */ o(Wt, {})
|
|
604
|
+
] }))
|
|
605
|
+
}
|
|
606
|
+
)
|
|
460
607
|
}
|
|
461
|
-
)
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
}),
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
608
|
+
)
|
|
609
|
+
}
|
|
610
|
+
)
|
|
611
|
+
] });
|
|
612
|
+
}), ee = s.forwardRef(
|
|
613
|
+
function({ asChild: t = !1, className: r, children: e, ...n }, a) {
|
|
614
|
+
const l = C();
|
|
615
|
+
return s.useContext(I) ? null : /* @__PURE__ */ o(
|
|
616
|
+
p.GroupLabel,
|
|
617
|
+
{
|
|
618
|
+
ref: a,
|
|
619
|
+
"data-slot": "select-label",
|
|
620
|
+
[g]: "select-label",
|
|
621
|
+
className: y(l.label, r),
|
|
622
|
+
...n,
|
|
623
|
+
...L(t, e)
|
|
624
|
+
}
|
|
625
|
+
);
|
|
626
|
+
}
|
|
627
|
+
), oe = s.forwardRef(
|
|
628
|
+
function({
|
|
629
|
+
asChild: t = !1,
|
|
630
|
+
className: r,
|
|
631
|
+
children: e,
|
|
632
|
+
value: n,
|
|
633
|
+
disabled: a,
|
|
634
|
+
textValue: l,
|
|
635
|
+
...c
|
|
636
|
+
}, d) {
|
|
637
|
+
var T, N, P;
|
|
638
|
+
const m = C(), u = (T = s.useContext(R)) == null ? void 0 : T.labels, x = s.useContext(I), [f] = s.useState(() => ({})), w = t ? (P = (N = A(e)) == null ? void 0 : N.props) == null ? void 0 : P.children : e;
|
|
639
|
+
return s.useLayoutEffect(() => {
|
|
640
|
+
u == null || u.set(f, n, w);
|
|
641
|
+
}), s.useLayoutEffect(() => () => u == null ? void 0 : u.delete(f), [u, f]), x ? null : /* @__PURE__ */ o(
|
|
642
|
+
p.Item,
|
|
643
|
+
{
|
|
644
|
+
ref: d,
|
|
645
|
+
value: n,
|
|
646
|
+
disabled: a,
|
|
647
|
+
...l !== void 0 ? { label: l } : {},
|
|
648
|
+
"data-slot": "select-item",
|
|
649
|
+
[g]: "select-item",
|
|
650
|
+
className: y(m.item, r),
|
|
651
|
+
...c,
|
|
652
|
+
...M(t, e, (k) => /* @__PURE__ */ E(D, { children: [
|
|
653
|
+
/* @__PURE__ */ o("span", { className: m.itemIndicatorWrapper, children: /* @__PURE__ */ o(p.ItemIndicator, { children: /* @__PURE__ */ o(Lt, { className: m.itemIndicatorIcon }) }) }),
|
|
654
|
+
/* @__PURE__ */ o(p.ItemText, { render: /* @__PURE__ */ o("span", {}), children: k })
|
|
655
|
+
] }))
|
|
656
|
+
}
|
|
657
|
+
);
|
|
658
|
+
}
|
|
659
|
+
), re = s.forwardRef(function({ asChild: t = !1, className: r, children: e, ...n }, a) {
|
|
660
|
+
const l = C();
|
|
661
|
+
return s.useContext(I) ? null : /* @__PURE__ */ o(
|
|
662
|
+
p.Separator,
|
|
498
663
|
{
|
|
499
664
|
ref: a,
|
|
665
|
+
"aria-hidden": !0,
|
|
500
666
|
"data-slot": "select-separator",
|
|
501
|
-
[
|
|
502
|
-
className:
|
|
503
|
-
...
|
|
667
|
+
[g]: "select-separator",
|
|
668
|
+
className: y(l.separator, r),
|
|
669
|
+
...n,
|
|
670
|
+
...L(t, e)
|
|
504
671
|
}
|
|
505
672
|
);
|
|
506
|
-
}),
|
|
507
|
-
const
|
|
508
|
-
return /* @__PURE__ */
|
|
509
|
-
|
|
673
|
+
}), Bt = s.forwardRef(function({ asChild: t = !1, className: r, children: e, style: n, ...a }, l) {
|
|
674
|
+
const c = C();
|
|
675
|
+
return s.useContext(I) ? null : /* @__PURE__ */ o(
|
|
676
|
+
p.ScrollUpArrow,
|
|
510
677
|
{
|
|
511
678
|
ref: l,
|
|
512
679
|
"data-slot": "select-scroll-up-button",
|
|
513
|
-
[
|
|
514
|
-
className:
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
680
|
+
[g]: "select-scroll-up-button",
|
|
681
|
+
className: y(
|
|
682
|
+
c.scrollArrow,
|
|
683
|
+
c.scrollArrowUp,
|
|
684
|
+
r
|
|
518
685
|
),
|
|
686
|
+
style: { position: "static", ...n },
|
|
519
687
|
...a,
|
|
520
|
-
|
|
688
|
+
...L(
|
|
689
|
+
t,
|
|
690
|
+
e ?? /* @__PURE__ */ o(et, { className: c.scrollArrowIcon })
|
|
691
|
+
)
|
|
521
692
|
}
|
|
522
693
|
);
|
|
523
|
-
}),
|
|
524
|
-
const
|
|
525
|
-
return /* @__PURE__ */
|
|
526
|
-
|
|
694
|
+
}), Wt = s.forwardRef(function({ asChild: t = !1, className: r, children: e, style: n, ...a }, l) {
|
|
695
|
+
const c = C();
|
|
696
|
+
return s.useContext(I) ? null : /* @__PURE__ */ o(
|
|
697
|
+
p.ScrollDownArrow,
|
|
527
698
|
{
|
|
528
699
|
ref: l,
|
|
529
700
|
"data-slot": "select-scroll-down-button",
|
|
530
|
-
[
|
|
531
|
-
className:
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
701
|
+
[g]: "select-scroll-down-button",
|
|
702
|
+
className: y(
|
|
703
|
+
c.scrollArrow,
|
|
704
|
+
c.scrollArrowDown,
|
|
705
|
+
r
|
|
535
706
|
),
|
|
707
|
+
style: { position: "static", ...n },
|
|
536
708
|
...a,
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
709
|
+
...L(
|
|
710
|
+
t,
|
|
711
|
+
e ?? /* @__PURE__ */ o(
|
|
712
|
+
et,
|
|
713
|
+
{
|
|
714
|
+
className: y(
|
|
715
|
+
c.scrollArrowIcon,
|
|
716
|
+
c.scrollArrowDownIcon
|
|
717
|
+
)
|
|
718
|
+
}
|
|
719
|
+
)
|
|
545
720
|
)
|
|
546
721
|
}
|
|
547
722
|
);
|
|
548
723
|
});
|
|
549
724
|
export {
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
725
|
+
Ht as Select,
|
|
726
|
+
te as SelectContent,
|
|
727
|
+
Vt as SelectGroup,
|
|
728
|
+
oe as SelectItem,
|
|
729
|
+
ee as SelectLabel,
|
|
730
|
+
Wt as SelectScrollDownButton,
|
|
731
|
+
Bt as SelectScrollUpButton,
|
|
732
|
+
re as SelectSeparator,
|
|
733
|
+
Kt as SelectTrigger,
|
|
734
|
+
Qt as SelectTriggerClear,
|
|
735
|
+
Jt as SelectValue
|
|
561
736
|
};
|
|
562
737
|
//# sourceMappingURL=select.js.map
|