@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,19 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
4
|
-
import { SLOT_ATTR as
|
|
5
|
-
import { useAppearanceAttributes as
|
|
6
|
-
import { useDensity as
|
|
7
|
-
import { makeZenithStyles as
|
|
8
|
-
import { boxModel as
|
|
9
|
-
import { OVERLAY_Z_INDEX as
|
|
10
|
-
import { grayA11 as
|
|
11
|
-
import { Button as
|
|
12
|
-
const
|
|
1
|
+
import { jsx as l, jsxs as I } from "react/jsx-runtime";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { AlertDialog as c } from "../../_virtual/_zenith-runtime-family_alert-dialog.js";
|
|
4
|
+
import { SLOT_ATTR as d, mergeClasses as g, shorthands as f } from "@epilot/zenith-runtime/v1";
|
|
5
|
+
import { useAppearanceAttributes as k } from "../appearance-boundary/appearance-boundary.js";
|
|
6
|
+
import { useDensity as L } from "../density-provider/density-provider.js";
|
|
7
|
+
import { makeZenithStyles as j } from "../../styles/make-styles.js";
|
|
8
|
+
import { boxModel as p, nativeControl as B } from "../../styles/host-reset.js";
|
|
9
|
+
import { OVERLAY_Z_INDEX as C } from "../../styles/overlay-layer.js";
|
|
10
|
+
import { grayA11 as O, leadingSm as V, textSm as Z, grayA12 as q, fontWeightSemibold as G, leadingXl as Y, textXl as $, containerXl as J, containerLg as K, containerMd as Q, containerSm as U, body as tt, spacingElement2 as R, spacingGroup2 as T, grayA1 as et, radiusXl as ot } from "../../tokens/index.js";
|
|
11
|
+
import { Button as E } from "../button/button.js";
|
|
12
|
+
const w = "cubic-bezier(0.4, 0, 0.2, 1)", P = "cubic-bezier(0.4, 0, 1, 1)", u = j({
|
|
13
13
|
// For the bare native `<button>` a Trigger/Close renders. Not applied under `asChild`, where the
|
|
14
14
|
// child owns its own element and two atom sets would race for the same properties.
|
|
15
15
|
nativeTrigger: {
|
|
16
|
-
...
|
|
16
|
+
...B
|
|
17
17
|
},
|
|
18
18
|
overlay: {
|
|
19
19
|
position: "fixed",
|
|
@@ -21,283 +21,320 @@ const m = X({
|
|
|
21
21
|
right: 0,
|
|
22
22
|
bottom: 0,
|
|
23
23
|
left: 0,
|
|
24
|
-
zIndex:
|
|
24
|
+
zIndex: C,
|
|
25
25
|
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
transitionProperty: "opacity",
|
|
27
|
+
transitionDuration: "150ms",
|
|
28
|
+
transitionTimingFunction: w,
|
|
29
|
+
"&[data-starting-style]": { opacity: 0 },
|
|
30
|
+
"&[data-ending-style]": {
|
|
31
|
+
opacity: 0,
|
|
32
|
+
transitionDuration: "100ms",
|
|
33
|
+
transitionTimingFunction: P
|
|
33
34
|
},
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
to: { opacity: 0 }
|
|
38
|
-
},
|
|
39
|
-
animationDuration: "100ms",
|
|
40
|
-
animationTimingFunction: "cubic-bezier(0.4, 0, 1, 1)"
|
|
35
|
+
"@media (prefers-reduced-motion: reduce)": {
|
|
36
|
+
transitionDuration: "0.01ms",
|
|
37
|
+
"&[data-ending-style]": { transitionDuration: "0.01ms" }
|
|
41
38
|
}
|
|
42
39
|
},
|
|
43
40
|
content: {
|
|
44
|
-
...
|
|
45
|
-
backgroundColor:
|
|
41
|
+
...p,
|
|
42
|
+
backgroundColor: tt,
|
|
46
43
|
position: "fixed",
|
|
47
44
|
top: "50%",
|
|
48
45
|
left: "50%",
|
|
49
46
|
transform: "translate(-50%, -50%)",
|
|
50
|
-
zIndex:
|
|
47
|
+
zIndex: C,
|
|
51
48
|
display: "grid",
|
|
52
49
|
width: "100%",
|
|
53
50
|
maxWidth: "calc(100% - 2rem)",
|
|
54
|
-
...
|
|
55
|
-
...
|
|
56
|
-
...
|
|
57
|
-
...
|
|
51
|
+
...f.gap(T),
|
|
52
|
+
...f.borderRadius(ot),
|
|
53
|
+
...f.border("1px", "solid", et),
|
|
54
|
+
...f.padding(T),
|
|
58
55
|
// v1 shadow-lg
|
|
59
56
|
boxShadow: "0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a",
|
|
60
57
|
outlineStyle: "none",
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"&[data-state='closed']": {
|
|
68
|
-
animationDuration: "0.01ms"
|
|
69
|
-
}
|
|
58
|
+
transitionProperty: "opacity, transform",
|
|
59
|
+
transitionDuration: "150ms",
|
|
60
|
+
transitionTimingFunction: w,
|
|
61
|
+
"&[data-starting-style]": {
|
|
62
|
+
opacity: 0,
|
|
63
|
+
transform: "translate(-50%, -50%) scale(0.95)"
|
|
70
64
|
},
|
|
71
|
-
"&[data-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
},
|
|
77
|
-
to: {
|
|
78
|
-
opacity: 1,
|
|
79
|
-
transform: "translate(-50%, -50%) scale(1)"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
animationDuration: "150ms",
|
|
83
|
-
animationTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)"
|
|
65
|
+
"&[data-ending-style]": {
|
|
66
|
+
opacity: 0,
|
|
67
|
+
transform: "translate(-50%, -50%) scale(0.95)",
|
|
68
|
+
transitionDuration: "100ms",
|
|
69
|
+
transitionTimingFunction: P
|
|
84
70
|
},
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
opacity: 1,
|
|
89
|
-
transform: "translate(-50%, -50%) scale(1)"
|
|
90
|
-
},
|
|
91
|
-
to: {
|
|
92
|
-
opacity: 0,
|
|
93
|
-
transform: "translate(-50%, -50%) scale(0.95)"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
animationDuration: "100ms",
|
|
97
|
-
animationTimingFunction: "cubic-bezier(0.4, 0, 1, 1)"
|
|
71
|
+
"@media (prefers-reduced-motion: reduce)": {
|
|
72
|
+
transitionDuration: "0.01ms",
|
|
73
|
+
"&[data-ending-style]": { transitionDuration: "0.01ms" }
|
|
98
74
|
}
|
|
99
75
|
},
|
|
100
76
|
sm: {
|
|
101
|
-
...
|
|
102
|
-
maxWidth:
|
|
77
|
+
...p,
|
|
78
|
+
maxWidth: U
|
|
103
79
|
},
|
|
104
80
|
md: {
|
|
105
|
-
...
|
|
106
|
-
maxWidth:
|
|
81
|
+
...p,
|
|
82
|
+
maxWidth: Q
|
|
107
83
|
},
|
|
108
84
|
lg: {
|
|
109
|
-
...
|
|
110
|
-
maxWidth:
|
|
85
|
+
...p,
|
|
86
|
+
maxWidth: K
|
|
111
87
|
},
|
|
112
88
|
xl: {
|
|
113
|
-
...
|
|
89
|
+
...p,
|
|
114
90
|
"@media (min-width: 640px)": {
|
|
115
|
-
maxWidth:
|
|
91
|
+
maxWidth: J
|
|
116
92
|
}
|
|
117
93
|
},
|
|
118
94
|
header: {
|
|
119
95
|
display: "flex",
|
|
120
96
|
flexDirection: "column",
|
|
121
|
-
...
|
|
97
|
+
...f.gap(R),
|
|
122
98
|
textAlign: "left"
|
|
123
99
|
},
|
|
124
100
|
footer: {
|
|
125
101
|
display: "flex",
|
|
126
|
-
...
|
|
102
|
+
...f.gap(R),
|
|
127
103
|
justifyContent: "flex-end"
|
|
128
104
|
},
|
|
129
105
|
title: {
|
|
130
|
-
...
|
|
131
|
-
fontSize:
|
|
132
|
-
lineHeight:
|
|
133
|
-
fontWeight:
|
|
134
|
-
color:
|
|
106
|
+
...f.margin(0),
|
|
107
|
+
fontSize: $,
|
|
108
|
+
lineHeight: Y,
|
|
109
|
+
fontWeight: G,
|
|
110
|
+
color: q
|
|
135
111
|
},
|
|
136
112
|
description: {
|
|
137
|
-
...
|
|
138
|
-
fontSize:
|
|
139
|
-
lineHeight:
|
|
140
|
-
color:
|
|
113
|
+
...f.margin(0),
|
|
114
|
+
fontSize: Z,
|
|
115
|
+
lineHeight: V,
|
|
116
|
+
color: O
|
|
141
117
|
}
|
|
142
|
-
})
|
|
143
|
-
|
|
144
|
-
|
|
118
|
+
});
|
|
119
|
+
function rt(i) {
|
|
120
|
+
const t = a.Children.toArray(i).filter(a.isValidElement);
|
|
121
|
+
return t.length === 1 ? t[0] : void 0;
|
|
122
|
+
}
|
|
123
|
+
function y(i, t) {
|
|
124
|
+
const e = i ? rt(t) : void 0;
|
|
125
|
+
return e ? { render: e } : { children: t };
|
|
126
|
+
}
|
|
127
|
+
function S(i) {
|
|
128
|
+
if (i)
|
|
129
|
+
return () => {
|
|
130
|
+
const t = new Event("focus", { cancelable: !0 }), e = document.activeElement;
|
|
131
|
+
i(t);
|
|
132
|
+
const o = document.activeElement;
|
|
133
|
+
return o !== e && o instanceof HTMLElement && queueMicrotask(() => o.focus()), !t.defaultPrevented;
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
const pt = a.forwardRef(
|
|
137
|
+
function({ onOpenChange: t, ...e }, o) {
|
|
138
|
+
return /* @__PURE__ */ l(
|
|
139
|
+
c.Root,
|
|
140
|
+
{
|
|
141
|
+
"data-slot": "alert-dialog",
|
|
142
|
+
onOpenChange: (r, n) => {
|
|
143
|
+
if (n.reason === "escape-key" && n.event.defaultPrevented) {
|
|
144
|
+
n.cancel();
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
t == null || t(r, n);
|
|
148
|
+
},
|
|
149
|
+
...e
|
|
150
|
+
}
|
|
151
|
+
);
|
|
145
152
|
}
|
|
146
|
-
),
|
|
147
|
-
const
|
|
148
|
-
return /* @__PURE__ */
|
|
149
|
-
|
|
153
|
+
), yt = a.forwardRef(function({ asChild: t = !1, children: e, className: o, ...r }, n) {
|
|
154
|
+
const s = u();
|
|
155
|
+
return /* @__PURE__ */ l(
|
|
156
|
+
c.Trigger,
|
|
150
157
|
{
|
|
151
|
-
ref:
|
|
158
|
+
ref: n,
|
|
152
159
|
"data-slot": "alert-dialog-trigger",
|
|
153
|
-
[
|
|
154
|
-
className:
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
),
|
|
158
|
-
...a
|
|
160
|
+
[d]: "alert-dialog-trigger",
|
|
161
|
+
className: g(!t && s.nativeTrigger, o),
|
|
162
|
+
...r,
|
|
163
|
+
...y(t, e)
|
|
159
164
|
}
|
|
160
165
|
);
|
|
161
|
-
}),
|
|
162
|
-
return /* @__PURE__ */
|
|
163
|
-
|
|
166
|
+
}), F = a.createContext(!1), xt = a.forwardRef(function({ container: t, forceMount: e, ...o }, r) {
|
|
167
|
+
return /* @__PURE__ */ l(F.Provider, { value: !0, children: /* @__PURE__ */ l(
|
|
168
|
+
c.Portal,
|
|
164
169
|
{
|
|
170
|
+
ref: r,
|
|
165
171
|
"data-slot": "alert-dialog-portal",
|
|
166
|
-
[
|
|
167
|
-
|
|
172
|
+
[d]: "alert-dialog-portal",
|
|
173
|
+
container: t ?? void 0,
|
|
174
|
+
keepMounted: e,
|
|
175
|
+
...o
|
|
168
176
|
}
|
|
169
|
-
);
|
|
170
|
-
}),
|
|
171
|
-
const
|
|
172
|
-
return /* @__PURE__ */
|
|
173
|
-
|
|
177
|
+
) });
|
|
178
|
+
}), at = a.forwardRef(function({ asChild: t = !1, children: e, className: o, forceMount: r, ...n }, s) {
|
|
179
|
+
const m = u(), x = k();
|
|
180
|
+
return /* @__PURE__ */ l(
|
|
181
|
+
c.Backdrop,
|
|
174
182
|
{
|
|
175
|
-
ref:
|
|
183
|
+
ref: s,
|
|
184
|
+
forceRender: !0,
|
|
176
185
|
"data-slot": "alert-dialog-overlay",
|
|
177
|
-
[
|
|
178
|
-
...
|
|
179
|
-
className:
|
|
180
|
-
...
|
|
186
|
+
[d]: "alert-dialog-overlay",
|
|
187
|
+
...x,
|
|
188
|
+
className: g(m.overlay, o),
|
|
189
|
+
...n,
|
|
190
|
+
...y(t, e)
|
|
181
191
|
}
|
|
182
192
|
);
|
|
183
|
-
}),
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
193
|
+
}), M = a.createContext(void 0), Dt = a.forwardRef(function({
|
|
194
|
+
asChild: t = !1,
|
|
195
|
+
className: e,
|
|
196
|
+
size: o = "xl",
|
|
197
|
+
children: r,
|
|
198
|
+
forceMount: n,
|
|
199
|
+
onOpenAutoFocus: s,
|
|
200
|
+
onCloseAutoFocus: m,
|
|
201
|
+
...x
|
|
202
|
+
}, N) {
|
|
203
|
+
const A = u(), W = a.useContext(F), v = L(), z = k(), h = a.useRef(null), H = a.useCallback((_) => {
|
|
204
|
+
h.current = _;
|
|
205
|
+
}, []), D = S(s), X = /* @__PURE__ */ l(
|
|
206
|
+
c.Popup,
|
|
207
|
+
{
|
|
208
|
+
ref: N,
|
|
209
|
+
"data-slot": "alert-dialog-content",
|
|
210
|
+
[d]: "alert-dialog-content",
|
|
211
|
+
...v !== void 0 ? { "data-density": v } : {},
|
|
212
|
+
...z,
|
|
213
|
+
initialFocus: () => (D == null ? void 0 : D()) === !1 ? !1 : h.current ?? !0,
|
|
214
|
+
finalFocus: S(m),
|
|
215
|
+
className: g(A.content, A[o], e),
|
|
216
|
+
...x,
|
|
217
|
+
...y(t, r)
|
|
218
|
+
}
|
|
219
|
+
), b = /* @__PURE__ */ I(M.Provider, { value: H, children: [
|
|
220
|
+
/* @__PURE__ */ l(at, {}),
|
|
221
|
+
X
|
|
200
222
|
] });
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
223
|
+
return W ? b : /* @__PURE__ */ l(c.Portal, { keepMounted: n, children: b });
|
|
224
|
+
}), At = a.forwardRef(function({ className: t, ...e }, o) {
|
|
225
|
+
const r = u();
|
|
226
|
+
return /* @__PURE__ */ l(
|
|
204
227
|
"div",
|
|
205
228
|
{
|
|
206
229
|
ref: o,
|
|
207
230
|
"data-slot": "alert-dialog-header",
|
|
208
|
-
[
|
|
209
|
-
className:
|
|
210
|
-
...
|
|
231
|
+
[d]: "alert-dialog-header",
|
|
232
|
+
className: g(r.header, t),
|
|
233
|
+
...e
|
|
211
234
|
}
|
|
212
235
|
);
|
|
213
|
-
}),
|
|
214
|
-
const
|
|
215
|
-
return /* @__PURE__ */
|
|
236
|
+
}), vt = a.forwardRef(function({ className: t, ...e }, o) {
|
|
237
|
+
const r = u();
|
|
238
|
+
return /* @__PURE__ */ l(
|
|
216
239
|
"div",
|
|
217
240
|
{
|
|
218
241
|
ref: o,
|
|
219
242
|
"data-slot": "alert-dialog-footer",
|
|
220
|
-
[
|
|
221
|
-
className:
|
|
222
|
-
...
|
|
243
|
+
[d]: "alert-dialog-footer",
|
|
244
|
+
className: g(r.footer, t),
|
|
245
|
+
...e
|
|
223
246
|
}
|
|
224
247
|
);
|
|
225
|
-
}),
|
|
226
|
-
const
|
|
227
|
-
return /* @__PURE__ */
|
|
228
|
-
|
|
248
|
+
}), ht = a.forwardRef(function({ asChild: t = !1, children: e, className: o, ...r }, n) {
|
|
249
|
+
const s = u();
|
|
250
|
+
return /* @__PURE__ */ l(
|
|
251
|
+
c.Title,
|
|
229
252
|
{
|
|
230
|
-
ref:
|
|
253
|
+
ref: n,
|
|
231
254
|
"data-slot": "alert-dialog-title",
|
|
232
|
-
[
|
|
233
|
-
className:
|
|
234
|
-
...
|
|
255
|
+
[d]: "alert-dialog-title",
|
|
256
|
+
className: g(s.title, o),
|
|
257
|
+
...r,
|
|
258
|
+
...y(t, e)
|
|
235
259
|
}
|
|
236
260
|
);
|
|
237
|
-
}),
|
|
238
|
-
const
|
|
239
|
-
return /* @__PURE__ */
|
|
240
|
-
|
|
261
|
+
}), bt = a.forwardRef(function({ asChild: t = !1, children: e, className: o, ...r }, n) {
|
|
262
|
+
const s = u();
|
|
263
|
+
return /* @__PURE__ */ l(
|
|
264
|
+
c.Description,
|
|
241
265
|
{
|
|
242
|
-
ref:
|
|
266
|
+
ref: n,
|
|
243
267
|
"data-slot": "alert-dialog-description",
|
|
244
|
-
[
|
|
245
|
-
className:
|
|
246
|
-
...
|
|
268
|
+
[d]: "alert-dialog-description",
|
|
269
|
+
className: g(s.description, o),
|
|
270
|
+
...r,
|
|
271
|
+
...y(t, e)
|
|
247
272
|
}
|
|
248
273
|
);
|
|
249
|
-
}),
|
|
274
|
+
}), Ct = a.forwardRef(function({
|
|
250
275
|
variant: t = "primary",
|
|
251
|
-
size:
|
|
276
|
+
size: e = "base",
|
|
252
277
|
destructive: o = !1,
|
|
253
|
-
className:
|
|
254
|
-
...
|
|
255
|
-
},
|
|
256
|
-
return /* @__PURE__ */
|
|
257
|
-
|
|
278
|
+
className: r,
|
|
279
|
+
...n
|
|
280
|
+
}, s) {
|
|
281
|
+
return /* @__PURE__ */ l(
|
|
282
|
+
c.Close,
|
|
258
283
|
{
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
284
|
+
render: /* @__PURE__ */ l(
|
|
285
|
+
E,
|
|
286
|
+
{
|
|
287
|
+
ref: s,
|
|
288
|
+
"data-slot": "alert-dialog-action",
|
|
289
|
+
[d]: "alert-dialog-action",
|
|
290
|
+
variant: t,
|
|
291
|
+
size: e,
|
|
292
|
+
destructive: o,
|
|
293
|
+
className: r,
|
|
294
|
+
...n
|
|
295
|
+
}
|
|
296
|
+
)
|
|
267
297
|
}
|
|
268
|
-
)
|
|
269
|
-
}),
|
|
298
|
+
);
|
|
299
|
+
}), Rt = a.forwardRef(function({
|
|
270
300
|
variant: t = "secondary",
|
|
271
|
-
size:
|
|
301
|
+
size: e = "base",
|
|
272
302
|
destructive: o = !1,
|
|
273
|
-
className:
|
|
274
|
-
...
|
|
275
|
-
},
|
|
276
|
-
|
|
277
|
-
|
|
303
|
+
className: r,
|
|
304
|
+
...n
|
|
305
|
+
}, s) {
|
|
306
|
+
const m = a.useContext(M);
|
|
307
|
+
return /* @__PURE__ */ l(
|
|
308
|
+
c.Close,
|
|
278
309
|
{
|
|
279
|
-
ref:
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
310
|
+
ref: m,
|
|
311
|
+
render: /* @__PURE__ */ l(
|
|
312
|
+
E,
|
|
313
|
+
{
|
|
314
|
+
ref: s,
|
|
315
|
+
"data-slot": "alert-dialog-cancel",
|
|
316
|
+
[d]: "alert-dialog-cancel",
|
|
317
|
+
variant: t,
|
|
318
|
+
size: e,
|
|
319
|
+
destructive: o,
|
|
320
|
+
className: r,
|
|
321
|
+
...n
|
|
322
|
+
}
|
|
323
|
+
)
|
|
287
324
|
}
|
|
288
|
-
)
|
|
325
|
+
);
|
|
289
326
|
});
|
|
290
327
|
export {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
328
|
+
pt as AlertDialog,
|
|
329
|
+
Ct as AlertDialogAction,
|
|
330
|
+
Rt as AlertDialogCancel,
|
|
331
|
+
Dt as AlertDialogContent,
|
|
332
|
+
bt as AlertDialogDescription,
|
|
333
|
+
vt as AlertDialogFooter,
|
|
334
|
+
At as AlertDialogHeader,
|
|
335
|
+
at as AlertDialogOverlay,
|
|
336
|
+
xt as AlertDialogPortal,
|
|
337
|
+
ht as AlertDialogTitle,
|
|
338
|
+
yt as AlertDialogTrigger
|
|
302
339
|
};
|
|
303
340
|
//# sourceMappingURL=alert-dialog.js.map
|