@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
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zenith: Radix → Base UI consumer codemod, one transform for every family whose Base UI port
|
|
3
|
+
* changed the public API (DECISIONS.md D12: only overlay dismissal interceptors left the surface).
|
|
4
|
+
*
|
|
5
|
+
* bunx jscodeshift@17.3.0 --parser=tsx -t node_modules/@epilot/zenith-react/codemods/radix-to-base-ui.ts <paths>
|
|
6
|
+
*
|
|
7
|
+
* Rules:
|
|
8
|
+
* 1. The dismissal interceptors Radix took on an overlay's content part (`OVERLAYS` below lists
|
|
9
|
+
* which, per part) move into the enclosing root's `onOpenChange`, keyed on Base UI's
|
|
10
|
+
* `eventDetails.reason`. A handler that calls `preventDefault()` keeps the overlay open via
|
|
11
|
+
* `eventDetails.cancel()`, as it did under Radix. Radix's AlertDialogContent never let an outside
|
|
12
|
+
* press through, and its Select and Tooltip content never took the focus and interact handlers,
|
|
13
|
+
* so those parts list fewer props. FieldComboboxContent takes PopoverContent's props, so the
|
|
14
|
+
* same rule moves them to the enclosing FieldCombobox.
|
|
15
|
+
* 2. A DropdownMenu item's `onSelect` that calls `preventDefault()` to keep the menu open is
|
|
16
|
+
* reported: the menu closes regardless under Base UI, and the place to cancel it is the root's
|
|
17
|
+
* `onOpenChange` (`eventDetails.reason === "item-press"`), which needs to know which item was
|
|
18
|
+
* chosen.
|
|
19
|
+
* 3. Anything it cannot rewrite safely gets a `TODO(zenith-base-ui)` comment and is reported.
|
|
20
|
+
*
|
|
21
|
+
* Every other prop (`forceMount`, `loop`, `onCloseAutoFocus`, `sticky`, `position` and the other
|
|
22
|
+
* placement props, `value=""` for no selection) stays as it is: the wrappers still take them and
|
|
23
|
+
* translate them for Base UI.
|
|
24
|
+
*/
|
|
25
|
+
import type {
|
|
26
|
+
API,
|
|
27
|
+
ArrowFunctionExpression,
|
|
28
|
+
ASTPath,
|
|
29
|
+
BinaryExpression,
|
|
30
|
+
Collection,
|
|
31
|
+
ExpressionStatement,
|
|
32
|
+
FileInfo,
|
|
33
|
+
FunctionExpression,
|
|
34
|
+
IfStatement,
|
|
35
|
+
JSXAttribute,
|
|
36
|
+
JSXElement,
|
|
37
|
+
JSXFragment,
|
|
38
|
+
LogicalExpression,
|
|
39
|
+
Options,
|
|
40
|
+
VariableDeclaration,
|
|
41
|
+
} from "jscodeshift"
|
|
42
|
+
|
|
43
|
+
const ZENITH = "@epilot/zenith-react"
|
|
44
|
+
|
|
45
|
+
const DISMISS_REASONS: Record<string, string[]> = {
|
|
46
|
+
onEscapeKeyDown: ["escape-key"],
|
|
47
|
+
onPointerDownOutside: ["outside-press"],
|
|
48
|
+
onInteractOutside: ["outside-press", "focus-out"],
|
|
49
|
+
onFocusOutside: ["focus-out"],
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
const ALL_DISMISSALS = Object.keys(DISMISS_REASONS)
|
|
53
|
+
|
|
54
|
+
/** Each content part, the root whose `onOpenChange` takes over its handlers, and which it took. */
|
|
55
|
+
const OVERLAYS = [
|
|
56
|
+
{ content: "DialogContent", root: "Dialog", props: ALL_DISMISSALS },
|
|
57
|
+
{
|
|
58
|
+
content: "AlertDialogContent",
|
|
59
|
+
root: "AlertDialog",
|
|
60
|
+
props: ["onEscapeKeyDown", "onFocusOutside"],
|
|
61
|
+
},
|
|
62
|
+
{ content: "DrawerContent", root: "Drawer", props: ALL_DISMISSALS },
|
|
63
|
+
{ content: "PopoverContent", root: "Popover", props: ALL_DISMISSALS },
|
|
64
|
+
{
|
|
65
|
+
content: "FieldComboboxContent",
|
|
66
|
+
root: "FieldCombobox",
|
|
67
|
+
props: ALL_DISMISSALS,
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
content: "DropdownMenuContent",
|
|
71
|
+
root: "DropdownMenu",
|
|
72
|
+
props: ALL_DISMISSALS,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
content: "DropdownMenuSubContent",
|
|
76
|
+
root: "DropdownMenuSub",
|
|
77
|
+
props: ALL_DISMISSALS,
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
content: "SelectContent",
|
|
81
|
+
root: "Select",
|
|
82
|
+
props: ["onEscapeKeyDown", "onPointerDownOutside"],
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
content: "TooltipContent",
|
|
86
|
+
root: "Tooltip",
|
|
87
|
+
props: ["onEscapeKeyDown", "onPointerDownOutside"],
|
|
88
|
+
},
|
|
89
|
+
]
|
|
90
|
+
|
|
91
|
+
const MENU_ITEMS = [
|
|
92
|
+
"DropdownMenuItem",
|
|
93
|
+
"DropdownMenuCheckboxItem",
|
|
94
|
+
"DropdownMenuRadioItem",
|
|
95
|
+
]
|
|
96
|
+
|
|
97
|
+
const TODO = "TODO(zenith-base-ui)"
|
|
98
|
+
|
|
99
|
+
export const parser = "tsx"
|
|
100
|
+
|
|
101
|
+
export default function transform(file: FileInfo, api: API, options: Options) {
|
|
102
|
+
const j = api.jscodeshift
|
|
103
|
+
const root = j(file.source)
|
|
104
|
+
const local = zenithLocalNames(j, root)
|
|
105
|
+
const overlays = OVERLAYS.filter(({ content }) => local[content]).map(
|
|
106
|
+
(overlay) => ({
|
|
107
|
+
...overlay,
|
|
108
|
+
localContent: local[overlay.content],
|
|
109
|
+
localRoot: local[overlay.root],
|
|
110
|
+
})
|
|
111
|
+
)
|
|
112
|
+
const items = new Set(MENU_ITEMS.map((name) => local[name]).filter(Boolean))
|
|
113
|
+
if (overlays.length === 0 && items.size === 0) return undefined
|
|
114
|
+
|
|
115
|
+
let changed = false
|
|
116
|
+
const todos: string[] = []
|
|
117
|
+
|
|
118
|
+
const elementName = (el: JSXElement) => {
|
|
119
|
+
const name = el.openingElement.name
|
|
120
|
+
return name.type === "JSXIdentifier" ? name.name : undefined
|
|
121
|
+
}
|
|
122
|
+
const attrsOf = (el: JSXElement) =>
|
|
123
|
+
el.openingElement.attributes!.filter(
|
|
124
|
+
(a): a is JSXAttribute => a.type === "JSXAttribute"
|
|
125
|
+
)
|
|
126
|
+
const attr = (el: JSXElement, name: string) =>
|
|
127
|
+
attrsOf(el).find((a) => a.name.name === name)
|
|
128
|
+
const removeAttr = (el: JSXElement, node: JSXAttribute) => {
|
|
129
|
+
el.openingElement.attributes = el.openingElement.attributes!.filter(
|
|
130
|
+
(a) => a !== node
|
|
131
|
+
)
|
|
132
|
+
}
|
|
133
|
+
const addTodo = (path: ASTPath<JSXElement>, message: string) => {
|
|
134
|
+
const line = path.node.loc?.start.line
|
|
135
|
+
todos.push(`${file.path}:${line ?? "?"} ${message}`)
|
|
136
|
+
const text = `${TODO}: ${message}`
|
|
137
|
+
// A rerun over already-migrated output reports the place again but does not stack a
|
|
138
|
+
// second copy of the same comment.
|
|
139
|
+
const parent = path.parent?.node as JSXElement | JSXFragment | undefined
|
|
140
|
+
if (parent?.type === "JSXElement" || parent?.type === "JSXFragment") {
|
|
141
|
+
// Among JSX children a bare comment renders as text, so it goes in braces before the element.
|
|
142
|
+
const siblings = parent.children ?? []
|
|
143
|
+
const index = siblings.indexOf(path.node)
|
|
144
|
+
const before = siblings[index - 1]
|
|
145
|
+
const beforeThat = siblings[index - 2]
|
|
146
|
+
if (
|
|
147
|
+
beforeThat?.type === "JSXExpressionContainer" &&
|
|
148
|
+
j(beforeThat).toSource().includes(text)
|
|
149
|
+
)
|
|
150
|
+
return
|
|
151
|
+
const indent =
|
|
152
|
+
before?.type === "JSXText"
|
|
153
|
+
? (/\n([ \t]*)$/.exec(before.value)?.[1] ?? "")
|
|
154
|
+
: ""
|
|
155
|
+
const empty = j.jsxEmptyExpression()
|
|
156
|
+
;(empty as { comments?: unknown[] }).comments = [
|
|
157
|
+
j.commentBlock(` ${text} `, false, true),
|
|
158
|
+
]
|
|
159
|
+
siblings.splice(
|
|
160
|
+
index,
|
|
161
|
+
0,
|
|
162
|
+
j.jsxExpressionContainer(empty),
|
|
163
|
+
j.jsxText(`\n${indent}`)
|
|
164
|
+
)
|
|
165
|
+
return
|
|
166
|
+
}
|
|
167
|
+
// The parser hands a leading comment to the element itself, the transform to its opening tag.
|
|
168
|
+
const existing = [
|
|
169
|
+
...(path.node.comments ?? []),
|
|
170
|
+
...(path.node.openingElement.comments ?? []),
|
|
171
|
+
]
|
|
172
|
+
if (existing.some((c) => String(c.value).includes(text))) return
|
|
173
|
+
const comment = j.commentBlock(` ${text} `, true, false)
|
|
174
|
+
path.node.openingElement.comments = [
|
|
175
|
+
...(path.node.openingElement.comments ?? []),
|
|
176
|
+
comment,
|
|
177
|
+
]
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// Rule 1: dismissal interceptors move to the root's onOpenChange.
|
|
181
|
+
for (const overlay of overlays)
|
|
182
|
+
root
|
|
183
|
+
.find(j.JSXElement)
|
|
184
|
+
.filter((p) => elementName(p.node) === overlay.localContent)
|
|
185
|
+
.forEach((contentPath) => {
|
|
186
|
+
const handlers = overlay.props
|
|
187
|
+
.map((prop) => ({ prop, node: attr(contentPath.node, prop) }))
|
|
188
|
+
.filter((h): h is { prop: string; node: JSXAttribute } => !!h.node)
|
|
189
|
+
if (handlers.length === 0) return
|
|
190
|
+
|
|
191
|
+
const rootPath = closestElement(
|
|
192
|
+
contentPath,
|
|
193
|
+
(el) => !!overlay.localRoot && elementName(el) === overlay.localRoot
|
|
194
|
+
)
|
|
195
|
+
const values = handlers.map((h) => h.node.value)
|
|
196
|
+
if (
|
|
197
|
+
!rootPath ||
|
|
198
|
+
values.some((v) => v?.type !== "JSXExpressionContainer")
|
|
199
|
+
) {
|
|
200
|
+
addTodo(
|
|
201
|
+
contentPath,
|
|
202
|
+
`${handlers.map((h) => h.prop).join(", ")} ${handlers.length > 1 ? "are" : "is"} ` +
|
|
203
|
+
`not on ${overlay.content} any more; handle eventDetails.reason in the ${overlay.root}'s onOpenChange`
|
|
204
|
+
)
|
|
205
|
+
return
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
// Each handler is evaluated once per dismissal, in Radix's order, on the native event.
|
|
209
|
+
const checks: IfStatement[] = []
|
|
210
|
+
for (const h of handlers) {
|
|
211
|
+
const value = (h.node.value as unknown as { expression: never })
|
|
212
|
+
.expression
|
|
213
|
+
const reasons = DISMISS_REASONS[h.prop]
|
|
214
|
+
const comparisons: Array<BinaryExpression | LogicalExpression> =
|
|
215
|
+
reasons.map((reason) =>
|
|
216
|
+
j.binaryExpression(
|
|
217
|
+
"===",
|
|
218
|
+
j.memberExpression(
|
|
219
|
+
j.identifier("eventDetails"),
|
|
220
|
+
j.identifier("reason")
|
|
221
|
+
),
|
|
222
|
+
j.stringLiteral(reason)
|
|
223
|
+
)
|
|
224
|
+
)
|
|
225
|
+
const test = comparisons.reduce((a, b) =>
|
|
226
|
+
j.logicalExpression("||", a, b)
|
|
227
|
+
)
|
|
228
|
+
checks.push(
|
|
229
|
+
j.ifStatement(test, j.expressionStatement(callHandler(j, value)))
|
|
230
|
+
)
|
|
231
|
+
removeAttr(contentPath.node, h.node)
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
const dismissal: Array<VariableDeclaration | IfStatement> = [
|
|
235
|
+
j.variableDeclaration("const", [
|
|
236
|
+
j.variableDeclarator(
|
|
237
|
+
j.identifier("wasPrevented"),
|
|
238
|
+
eventField(j, "defaultPrevented")
|
|
239
|
+
),
|
|
240
|
+
]),
|
|
241
|
+
...checks,
|
|
242
|
+
j.ifStatement(
|
|
243
|
+
j.logicalExpression(
|
|
244
|
+
"&&",
|
|
245
|
+
j.unaryExpression("!", j.identifier("wasPrevented")),
|
|
246
|
+
eventField(j, "defaultPrevented")
|
|
247
|
+
),
|
|
248
|
+
j.returnStatement(
|
|
249
|
+
j.callExpression(
|
|
250
|
+
j.memberExpression(
|
|
251
|
+
j.identifier("eventDetails"),
|
|
252
|
+
j.identifier("cancel")
|
|
253
|
+
),
|
|
254
|
+
[]
|
|
255
|
+
)
|
|
256
|
+
)
|
|
257
|
+
),
|
|
258
|
+
]
|
|
259
|
+
|
|
260
|
+
const rootEl = rootPath.node
|
|
261
|
+
const existing = attr(rootEl, "onOpenChange")
|
|
262
|
+
const expression =
|
|
263
|
+
existing?.value?.type === "JSXExpressionContainer"
|
|
264
|
+
? existing.value.expression
|
|
265
|
+
: undefined
|
|
266
|
+
|
|
267
|
+
let next: ArrowFunctionExpression | FunctionExpression
|
|
268
|
+
if (
|
|
269
|
+
expression &&
|
|
270
|
+
(expression.type === "ArrowFunctionExpression" ||
|
|
271
|
+
expression.type === "FunctionExpression") &&
|
|
272
|
+
expression.params.length <= 1
|
|
273
|
+
) {
|
|
274
|
+
// Reuse the caller's own callback: add the details parameter and prepend the checks.
|
|
275
|
+
next = expression
|
|
276
|
+
if (next.params.length === 0) next.params.push(j.identifier("_open"))
|
|
277
|
+
next.params.push(j.identifier("eventDetails"))
|
|
278
|
+
const body =
|
|
279
|
+
next.body.type === "BlockStatement"
|
|
280
|
+
? next.body.body
|
|
281
|
+
: [j.expressionStatement(next.body)]
|
|
282
|
+
next.body = j.blockStatement([...dismissal, ...body])
|
|
283
|
+
if (next.type === "ArrowFunctionExpression") next.expression = false
|
|
284
|
+
} else {
|
|
285
|
+
const forward: ExpressionStatement[] =
|
|
286
|
+
expression && expression.type !== "JSXEmptyExpression"
|
|
287
|
+
? [
|
|
288
|
+
j.expressionStatement(
|
|
289
|
+
j.optionalCallExpression(
|
|
290
|
+
expression,
|
|
291
|
+
[j.identifier("open")],
|
|
292
|
+
true
|
|
293
|
+
)
|
|
294
|
+
),
|
|
295
|
+
]
|
|
296
|
+
: []
|
|
297
|
+
next = j.arrowFunctionExpression(
|
|
298
|
+
[
|
|
299
|
+
j.identifier(forward.length ? "open" : "_open"),
|
|
300
|
+
j.identifier("eventDetails"),
|
|
301
|
+
],
|
|
302
|
+
j.blockStatement([...dismissal, ...forward])
|
|
303
|
+
)
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
const replacement = j.jsxAttribute(
|
|
307
|
+
j.jsxIdentifier("onOpenChange"),
|
|
308
|
+
j.jsxExpressionContainer(next)
|
|
309
|
+
)
|
|
310
|
+
if (existing) {
|
|
311
|
+
rootEl.openingElement.attributes =
|
|
312
|
+
rootEl.openingElement.attributes!.map((a) =>
|
|
313
|
+
a === existing ? replacement : a
|
|
314
|
+
)
|
|
315
|
+
} else {
|
|
316
|
+
rootEl.openingElement.attributes!.push(replacement)
|
|
317
|
+
}
|
|
318
|
+
changed = true
|
|
319
|
+
})
|
|
320
|
+
|
|
321
|
+
// Rule 2: onSelect can no longer keep the menu open.
|
|
322
|
+
root
|
|
323
|
+
.find(j.JSXElement)
|
|
324
|
+
.filter((p) => items.has(elementName(p.node) ?? ""))
|
|
325
|
+
.forEach((itemPath) => {
|
|
326
|
+
const onSelect = attr(itemPath.node, "onSelect")
|
|
327
|
+
if (!onSelect || !j(onSelect).toSource().includes("preventDefault"))
|
|
328
|
+
return
|
|
329
|
+
addTodo(
|
|
330
|
+
itemPath,
|
|
331
|
+
"onSelect's preventDefault() no longer keeps the menu open; cancel it in the DropdownMenu's onOpenChange when eventDetails.reason is \"item-press\""
|
|
332
|
+
)
|
|
333
|
+
})
|
|
334
|
+
|
|
335
|
+
for (const todo of todos) api.report(todo)
|
|
336
|
+
if (todos.length) changed = true
|
|
337
|
+
|
|
338
|
+
return changed
|
|
339
|
+
? root.toSource({ quote: options.quote ?? "single" })
|
|
340
|
+
: undefined
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
function zenithLocalNames(j: API["jscodeshift"], root: Collection) {
|
|
344
|
+
const names: Record<string, string> = {}
|
|
345
|
+
root.find(j.ImportDeclaration, { source: { value: ZENITH } }).forEach((p) => {
|
|
346
|
+
for (const s of p.node.specifiers ?? []) {
|
|
347
|
+
if (s.type !== "ImportSpecifier") continue
|
|
348
|
+
names[String(s.imported.name)] = String(s.local?.name ?? s.imported.name)
|
|
349
|
+
}
|
|
350
|
+
})
|
|
351
|
+
return names
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
function closestElement(
|
|
355
|
+
path: ASTPath<JSXElement>,
|
|
356
|
+
match: (el: JSXElement) => boolean
|
|
357
|
+
): ASTPath<JSXElement> | undefined {
|
|
358
|
+
let current = path.parent as ASTPath | null
|
|
359
|
+
while (current) {
|
|
360
|
+
if (
|
|
361
|
+
current.node.type === "JSXElement" &&
|
|
362
|
+
match(current.node as JSXElement)
|
|
363
|
+
) {
|
|
364
|
+
return current as ASTPath<JSXElement>
|
|
365
|
+
}
|
|
366
|
+
current = current.parent
|
|
367
|
+
}
|
|
368
|
+
return undefined
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
function eventField(j: API["jscodeshift"], field: string) {
|
|
372
|
+
return j.memberExpression(
|
|
373
|
+
j.memberExpression(j.identifier("eventDetails"), j.identifier("event")),
|
|
374
|
+
j.identifier(field)
|
|
375
|
+
)
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
function callHandler(j: API["jscodeshift"], handler: never) {
|
|
379
|
+
const event = j.memberExpression(
|
|
380
|
+
j.identifier("eventDetails"),
|
|
381
|
+
j.identifier("event")
|
|
382
|
+
)
|
|
383
|
+
const h = handler as { type: string; params?: unknown[] }
|
|
384
|
+
// An inline function is always defined; a reference may be undefined (a conditional handler).
|
|
385
|
+
// An inline function that ignores the event is called without it, so the output typechecks.
|
|
386
|
+
return h.type === "ArrowFunctionExpression" || h.type === "FunctionExpression"
|
|
387
|
+
? j.callExpression(handler, h.params?.length ? [event] : [])
|
|
388
|
+
: j.optionalCallExpression(handler, [event], true)
|
|
389
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_accordion.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { servedFamily as o } from "../renderer/served.js";
|
|
2
|
+
import { alertDialog as r } from "@epilot/zenith-runtime/v1";
|
|
3
|
+
const e = o("alertDialog", r), a = e.AlertDialog;
|
|
4
|
+
export {
|
|
5
|
+
a as AlertDialog
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=_zenith-runtime-family_alert-dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_alert-dialog.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_avatar.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_button.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_checkbox.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { servedFamily as r } from "../renderer/served.js";
|
|
2
|
+
import { cspProvider as o } from "@epilot/zenith-runtime/v1";
|
|
3
|
+
const e = r("cspProvider", o), s = e.CSPProvider;
|
|
4
|
+
export {
|
|
5
|
+
s as CSPProvider
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=_zenith-runtime-family_csp-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_csp-provider.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_dialog.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { servedFamily as i } from "../renderer/served.js";
|
|
2
|
+
import { directionProvider as o } from "@epilot/zenith-runtime/v1";
|
|
3
|
+
const r = i("directionProvider", o), d = r.DirectionProvider;
|
|
4
|
+
r.useDirection;
|
|
5
|
+
export {
|
|
6
|
+
d as DirectionProvider
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=_zenith-runtime-family_direction-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_direction-provider.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_menu.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { servedFamily as r } from "../renderer/served.js";
|
|
2
|
+
import { mergeProps as m } from "@epilot/zenith-runtime/v1";
|
|
3
|
+
const e = r("mergeProps", m);
|
|
4
|
+
e.makeEventPreventable;
|
|
5
|
+
e.mergeClassNames;
|
|
6
|
+
const p = e.mergeProps;
|
|
7
|
+
e.mergePropsN;
|
|
8
|
+
export {
|
|
9
|
+
p as mergeProps
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=_zenith-runtime-family_merge-props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_merge-props.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_popover.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { servedFamily as o } from "../renderer/served.js";
|
|
2
|
+
import { radioGroup as r } from "@epilot/zenith-runtime/v1";
|
|
3
|
+
const i = o("radioGroup", r), a = i.RadioGroup;
|
|
4
|
+
export {
|
|
5
|
+
a as RadioGroup
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=_zenith-runtime-family_radio-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_radio-group.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_radio.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { servedFamily as r } from "../renderer/served.js";
|
|
2
|
+
import { scrollArea as o } from "@epilot/zenith-runtime/v1";
|
|
3
|
+
const e = r("scrollArea", o), s = e.ScrollArea;
|
|
4
|
+
export {
|
|
5
|
+
s as ScrollArea
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=_zenith-runtime-family_scroll-area.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_scroll-area.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_select.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_separator.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_switch.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_tabs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_toast.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { servedFamily as o } from "../renderer/served.js";
|
|
2
|
+
import { toggleGroup as r } from "@epilot/zenith-runtime/v1";
|
|
3
|
+
const e = o("toggleGroup", r), t = e.ToggleGroup;
|
|
4
|
+
export {
|
|
5
|
+
t as ToggleGroup
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=_zenith-runtime-family_toggle-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_toggle-group.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_zenith-runtime-family_toggle.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|