aeon-ui-engine 1.5.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +140 -0
- package/package.json +6 -3
- package/packages/core/dist/index.d.ts +116 -1
- package/packages/core/dist/index.js +202 -1
- package/packages/core/src/anatomy.ts +13 -1
- package/packages/core/src/index.ts +2 -0
- package/packages/core/src/list-window.ts +149 -0
- package/packages/core/src/sound.ts +154 -0
- package/packages/panda/package.json +6 -3
- package/packages/panda/panda.config.ts +12 -0
- package/packages/panda/src/recipes/clipboard.ts +40 -0
- package/packages/panda/src/recipes/composer.ts +4 -3
- package/packages/panda/src/recipes/index.ts +4 -0
- package/packages/panda/src/recipes/prose.ts +110 -0
- package/packages/panda/src/recipes/segment-group.ts +50 -0
- package/packages/panda/src/recipes/textarea.ts +60 -0
- package/packages/panda/styled-system/css/conditions.d.ts +7 -0
- package/packages/panda/styled-system/css/conditions.js +32 -0
- package/packages/panda/styled-system/css/css.d.ts +6 -6
- package/packages/panda/styled-system/css/css.js +63 -0
- package/packages/panda/styled-system/css/cva.d.ts +2 -3
- package/packages/panda/styled-system/css/cva.js +51 -0
- package/packages/panda/styled-system/css/cx.d.ts +5 -4
- package/packages/panda/styled-system/css/{cx.mjs → cx.js} +5 -4
- package/packages/panda/styled-system/css/first-that-works.d.ts +22 -0
- package/packages/panda/styled-system/css/first-that-works.js +1 -0
- package/packages/panda/styled-system/css/index.d.ts +6 -3
- package/packages/panda/styled-system/css/index.js +8 -0
- package/packages/panda/styled-system/css/keyframes.d.ts +5 -0
- package/packages/panda/styled-system/css/keyframes.js +8 -0
- package/packages/panda/styled-system/css/position-try.d.ts +5 -0
- package/packages/panda/styled-system/css/position-try.js +11 -0
- package/packages/panda/styled-system/css/sva.d.ts +1 -2
- package/packages/panda/styled-system/css/sva.js +49 -0
- package/packages/panda/styled-system/css/view-transition.d.ts +7 -0
- package/packages/panda/styled-system/css/view-transition.js +18 -0
- package/packages/panda/styled-system/helpers.d.ts +67 -0
- package/packages/panda/styled-system/helpers.js +624 -0
- package/packages/panda/styled-system/jsx/aspect-ratio.d.ts +3 -6
- package/packages/panda/styled-system/jsx/aspect-ratio.js +11 -0
- package/packages/panda/styled-system/jsx/bleed.d.ts +4 -7
- package/packages/panda/styled-system/jsx/bleed.js +11 -0
- package/packages/panda/styled-system/jsx/box.d.ts +4 -7
- package/packages/panda/styled-system/jsx/box.js +11 -0
- package/packages/panda/styled-system/jsx/center.d.ts +4 -7
- package/packages/panda/styled-system/jsx/center.js +11 -0
- package/packages/panda/styled-system/jsx/circle.d.ts +4 -7
- package/packages/panda/styled-system/jsx/circle.js +11 -0
- package/packages/panda/styled-system/jsx/container.d.ts +4 -7
- package/packages/panda/styled-system/jsx/container.js +11 -0
- package/packages/panda/styled-system/jsx/cq.d.ts +4 -7
- package/packages/panda/styled-system/jsx/cq.js +11 -0
- package/packages/panda/styled-system/jsx/create-recipe-context.d.ts +31 -0
- package/packages/panda/styled-system/jsx/create-recipe-context.js +38 -0
- package/packages/panda/styled-system/jsx/create-slot-recipe-context.d.ts +49 -0
- package/packages/panda/styled-system/jsx/create-slot-recipe-context.js +124 -0
- package/packages/panda/styled-system/jsx/divider.d.ts +4 -7
- package/packages/panda/styled-system/jsx/divider.js +11 -0
- package/packages/panda/styled-system/jsx/factory.d.ts +2 -2
- package/packages/panda/styled-system/jsx/factory.js +91 -0
- package/packages/panda/styled-system/jsx/flex.d.ts +4 -7
- package/packages/panda/styled-system/jsx/flex.js +11 -0
- package/packages/panda/styled-system/jsx/float.d.ts +4 -7
- package/packages/panda/styled-system/jsx/float.js +11 -0
- package/packages/panda/styled-system/jsx/grid-item.d.ts +4 -7
- package/packages/panda/styled-system/jsx/grid-item.js +11 -0
- package/packages/panda/styled-system/jsx/grid.d.ts +4 -7
- package/packages/panda/styled-system/jsx/grid.js +11 -0
- package/packages/panda/styled-system/jsx/helper.d.ts +34 -0
- package/packages/panda/styled-system/jsx/helper.js +92 -0
- package/packages/panda/styled-system/jsx/hstack.d.ts +4 -7
- package/packages/panda/styled-system/jsx/hstack.js +11 -0
- package/packages/panda/styled-system/jsx/index.d.ts +17 -17
- package/packages/panda/styled-system/jsx/index.js +24 -0
- package/packages/panda/styled-system/jsx/is-valid-prop.d.ts +5 -10
- package/packages/panda/styled-system/jsx/is-valid-prop.js +12 -0
- package/packages/panda/styled-system/jsx/link-overlay.d.ts +4 -7
- package/packages/panda/styled-system/jsx/link-overlay.js +11 -0
- package/packages/panda/styled-system/jsx/spacer.d.ts +4 -7
- package/packages/panda/styled-system/jsx/spacer.js +11 -0
- package/packages/panda/styled-system/jsx/square.d.ts +4 -7
- package/packages/panda/styled-system/jsx/square.js +11 -0
- package/packages/panda/styled-system/jsx/stack.d.ts +4 -7
- package/packages/panda/styled-system/jsx/stack.js +11 -0
- package/packages/panda/styled-system/jsx/visually-hidden.d.ts +4 -7
- package/packages/panda/styled-system/jsx/visually-hidden.js +11 -0
- package/packages/panda/styled-system/jsx/vstack.d.ts +4 -7
- package/packages/panda/styled-system/jsx/vstack.js +11 -0
- package/packages/panda/styled-system/jsx/wrap.d.ts +4 -7
- package/packages/panda/styled-system/jsx/wrap.js +11 -0
- package/packages/panda/styled-system/patterns/aspect-ratio.d.ts +8 -9
- package/packages/panda/styled-system/patterns/aspect-ratio.js +37 -0
- package/packages/panda/styled-system/patterns/bleed.d.ts +9 -10
- package/packages/panda/styled-system/patterns/bleed.js +30 -0
- package/packages/panda/styled-system/patterns/box.d.ts +8 -11
- package/packages/panda/styled-system/patterns/box.js +16 -0
- package/packages/panda/styled-system/patterns/center.d.ts +8 -9
- package/packages/panda/styled-system/patterns/center.js +22 -0
- package/packages/panda/styled-system/patterns/circle.d.ts +8 -9
- package/packages/panda/styled-system/patterns/circle.js +26 -0
- package/packages/panda/styled-system/patterns/container.d.ts +8 -11
- package/packages/panda/styled-system/patterns/container.js +26 -0
- package/packages/panda/styled-system/patterns/cq.d.ts +10 -10
- package/packages/panda/styled-system/patterns/cq.js +24 -0
- package/packages/panda/styled-system/patterns/divider.d.ts +11 -11
- package/packages/panda/styled-system/patterns/divider.js +31 -0
- package/packages/panda/styled-system/patterns/flex.d.ts +14 -15
- package/packages/panda/styled-system/patterns/flex.js +27 -0
- package/packages/panda/styled-system/patterns/float.d.ts +12 -12
- package/packages/panda/styled-system/patterns/float.js +84 -0
- package/packages/panda/styled-system/patterns/grid-item.d.ts +13 -14
- package/packages/panda/styled-system/patterns/grid-item.js +26 -0
- package/packages/panda/styled-system/patterns/grid.d.ts +13 -13
- package/packages/panda/styled-system/patterns/grid.js +30 -0
- package/packages/panda/styled-system/patterns/hstack.d.ts +9 -10
- package/packages/panda/styled-system/patterns/hstack.js +27 -0
- package/packages/panda/styled-system/patterns/index.d.ts +14 -15
- package/packages/panda/styled-system/patterns/index.js +20 -0
- package/packages/panda/styled-system/patterns/link-overlay.d.ts +8 -11
- package/packages/panda/styled-system/patterns/link-overlay.js +25 -0
- package/packages/panda/styled-system/patterns/runtime.js +25 -0
- package/packages/panda/styled-system/patterns/spacer.d.ts +9 -9
- package/packages/panda/styled-system/patterns/spacer.js +26 -0
- package/packages/panda/styled-system/patterns/square.d.ts +8 -9
- package/packages/panda/styled-system/patterns/square.js +25 -0
- package/packages/panda/styled-system/patterns/stack.d.ts +11 -12
- package/packages/panda/styled-system/patterns/stack.js +30 -0
- package/packages/panda/styled-system/patterns/visually-hidden.d.ts +8 -11
- package/packages/panda/styled-system/patterns/visually-hidden.js +19 -0
- package/packages/panda/styled-system/patterns/vstack.d.ts +9 -10
- package/packages/panda/styled-system/patterns/vstack.js +27 -0
- package/packages/panda/styled-system/patterns/wrap.d.ts +12 -13
- package/packages/panda/styled-system/patterns/wrap.js +26 -0
- package/packages/panda/styled-system/recipes/aeon-accordion.d.ts +9 -26
- package/packages/panda/styled-system/recipes/aeon-accordion.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-app-shell.d.ts +10 -26
- package/packages/panda/styled-system/recipes/aeon-app-shell.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-async.d.ts +9 -26
- package/packages/panda/styled-system/recipes/aeon-async.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-avatar.d.ts +10 -28
- package/packages/panda/styled-system/recipes/aeon-avatar.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-badge.d.ts +8 -26
- package/packages/panda/styled-system/recipes/aeon-badge.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-bar.d.ts +13 -32
- package/packages/panda/styled-system/recipes/aeon-bar.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-button-group.d.ts +10 -33
- package/packages/panda/styled-system/recipes/aeon-button-group.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-button.d.ts +10 -33
- package/packages/panda/styled-system/recipes/aeon-button.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-checkbox.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-checkbox.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-clipboard.d.ts +16 -0
- package/packages/panda/styled-system/recipes/aeon-clipboard.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-combobox.d.ts +9 -26
- package/packages/panda/styled-system/recipes/aeon-combobox.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-composer.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-composer.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-content.d.ts +10 -26
- package/packages/panda/styled-system/recipes/aeon-content.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-conversation.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-conversation.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-dialog.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-dialog.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-entry.d.ts +11 -30
- package/packages/panda/styled-system/recipes/aeon-entry.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-field.d.ts +9 -26
- package/packages/panda/styled-system/recipes/aeon-field.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-file-upload.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-file-upload.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-identity.d.ts +10 -28
- package/packages/panda/styled-system/recipes/aeon-identity.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-list-row.d.ts +9 -26
- package/packages/panda/styled-system/recipes/aeon-list-row.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-menu.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-menu.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-metric-strip.d.ts +10 -28
- package/packages/panda/styled-system/recipes/aeon-metric-strip.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-nav.d.ts +11 -30
- package/packages/panda/styled-system/recipes/aeon-nav.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-panel.d.ts +10 -26
- package/packages/panda/styled-system/recipes/aeon-panel.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-pin-input.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-pin-input.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-popover.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-popover.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-profile-header.d.ts +10 -28
- package/packages/panda/styled-system/recipes/aeon-profile-header.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-progress.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-progress.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-prose.d.ts +16 -0
- package/packages/panda/styled-system/recipes/aeon-prose.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-radio-group.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-radio-group.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-range-slider.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-range-slider.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-scroll.d.ts +12 -36
- package/packages/panda/styled-system/recipes/aeon-scroll.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-segment-group.d.ts +18 -0
- package/packages/panda/styled-system/recipes/aeon-segment-group.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-select.d.ts +9 -26
- package/packages/panda/styled-system/recipes/aeon-select.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-separator.d.ts +10 -26
- package/packages/panda/styled-system/recipes/aeon-separator.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-slider.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-slider.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-switch.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-switch.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-tabs.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-tabs.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-textarea.d.ts +18 -0
- package/packages/panda/styled-system/recipes/aeon-textarea.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-theme-switcher.d.ts +10 -26
- package/packages/panda/styled-system/recipes/aeon-theme-switcher.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-thread.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-thread.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-toast.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-toast.js +5 -0
- package/packages/panda/styled-system/recipes/aeon-tooltip.d.ts +9 -24
- package/packages/panda/styled-system/recipes/aeon-tooltip.js +5 -0
- package/packages/panda/styled-system/recipes/index.d.ts +31 -28
- package/packages/panda/styled-system/recipes/index.js +43 -0
- package/packages/panda/styled-system/recipes/runtime.js +133 -0
- package/packages/panda/styled-system/styles.css +1899 -2110
- package/packages/panda/styled-system/tokens/index.d.ts +4 -5
- package/packages/panda/styled-system/tokens/index.js +18 -0
- package/packages/panda/styled-system/types/index.d.ts +3 -6
- package/packages/panda/styled-system/types/jsx.d.ts +36 -27
- package/packages/panda/styled-system/types/pattern.d.ts +18 -70
- package/packages/panda/styled-system/types/recipe.d.ts +50 -154
- package/packages/panda/styled-system/types/system.d.ts +1826 -0
- package/packages/panda/styled-system/types/tokens.d.ts +65 -0
- package/packages/panda/tsconfig.json +3 -1
- package/packages/primitives/dist/chunk-5BNAV4S2.js +258 -0
- package/packages/primitives/dist/chunk-HYHCIMHC.js +45 -0
- package/packages/primitives/dist/index.d.ts +2 -0
- package/packages/primitives/dist/index.js +30 -12
- package/packages/primitives/dist/machines/app-nav.d.ts +3 -3
- package/packages/primitives/dist/machines/cache.d.ts +223 -0
- package/packages/primitives/dist/machines/cache.js +14 -0
- package/packages/primitives/dist/machines/clipboard.d.ts +46 -0
- package/packages/primitives/dist/machines/clipboard.js +8 -0
- package/packages/primitives/dist/machines/tabs.d.ts +2 -2
- package/packages/primitives/src/index.ts +2 -0
- package/packages/primitives/src/machines/cache.ts +395 -0
- package/packages/primitives/src/machines/clipboard.ts +56 -0
- package/packages/react/dist/index.d.ts +134 -13
- package/packages/react/dist/index.js +1429 -1016
- package/packages/react/src/clipboard/index.tsx +117 -0
- package/packages/react/src/composer/index.tsx +14 -5
- package/packages/react/src/dialog/index.tsx +11 -3
- package/packages/react/src/floating/FloatingPositioner.tsx +11 -1
- package/packages/react/src/index.ts +4 -0
- package/packages/react/src/menu/index.tsx +8 -3
- package/packages/react/src/popover/index.tsx +25 -4
- package/packages/react/src/prose/index.tsx +11 -0
- package/packages/react/src/radio-group/index.tsx +2 -1
- package/packages/react/src/scroll/index.tsx +1 -0
- package/packages/react/src/scroll/use-windowed-range.ts +118 -0
- package/packages/react/src/segment-group/index.tsx +171 -0
- package/packages/react/src/select/index.tsx +11 -2
- package/packages/react/src/slider/index.tsx +13 -6
- package/packages/react/src/tabs/index.tsx +19 -7
- package/packages/react/src/textarea/index.tsx +75 -0
- package/packages/react/src/utils/assign-ref.ts +7 -0
- package/packages/schemas/dist/index.d.ts +8 -0
- package/packages/schemas/dist/index.js +62 -1
- package/packages/schemas/json/catalog.json +493 -0
- package/packages/schemas/json/clipboard.json +136 -0
- package/packages/schemas/json/prose.json +103 -0
- package/packages/schemas/json/segmentGroup.json +131 -0
- package/packages/schemas/json/textarea.json +119 -0
- package/packages/schemas/prompts/statecharts.md +1 -1
- package/packages/schemas/registry/catalog.json +34 -0
- package/packages/schemas/registry/components/clipboard.json +136 -0
- package/packages/schemas/registry/components/prose.json +103 -0
- package/packages/schemas/registry/components/segmentGroup.json +131 -0
- package/packages/schemas/registry/components/textarea.json +119 -0
- package/packages/schemas/registry/machines/clipboard.json +110 -0
- package/packages/schemas/registry/machines/slider.json +18 -1
- package/packages/schemas/scripts/emit.ts +2 -0
- package/packages/schemas/src/components.ts +63 -0
- package/packages/tree/README.md +29 -0
- package/packages/tree/dist/index.d.ts +97 -0
- package/packages/tree/dist/index.js +107 -0
- package/packages/tree/package.json +42 -0
- package/packages/tree/src/exclusive-action.ts +104 -0
- package/packages/tree/src/index.ts +7 -0
- package/packages/tree/src/interpret.tsx +45 -0
- package/packages/tree/src/totality.ts +20 -0
- package/packages/tree/src/widget.ts +31 -0
- package/packages/tree/tsconfig.json +8 -0
- package/packages/tree/vitest.config.ts +8 -0
- package/packages/ui/dist/index.d.ts +27 -3
- package/packages/ui/dist/index.js +232 -165
- package/packages/ui/src/clipboard.tsx +51 -0
- package/packages/ui/src/index.ts +4 -0
- package/packages/ui/src/prose.tsx +15 -0
- package/packages/ui/src/segment-group.tsx +28 -0
- package/packages/ui/src/textarea.tsx +17 -0
- package/scripts/vite-aliases.mjs +5 -2
- package/packages/cli/node_modules/.bin/esbuild +0 -21
- package/packages/cli/node_modules/.bin/jiti +0 -21
- package/packages/cli/node_modules/.bin/tsc +0 -21
- package/packages/cli/node_modules/.bin/tsserver +0 -21
- package/packages/cli/node_modules/.bin/tsup +0 -21
- package/packages/cli/node_modules/.bin/tsup-node +0 -21
- package/packages/cli/node_modules/.bin/tsx +0 -21
- package/packages/cli/node_modules/.bin/vite +0 -21
- package/packages/cli/node_modules/.bin/vitest +0 -21
- package/packages/core/node_modules/.bin/esbuild +0 -21
- package/packages/core/node_modules/.bin/jiti +0 -21
- package/packages/core/node_modules/.bin/tsc +0 -21
- package/packages/core/node_modules/.bin/tsserver +0 -21
- package/packages/core/node_modules/.bin/tsup +0 -21
- package/packages/core/node_modules/.bin/tsup-node +0 -21
- package/packages/core/node_modules/.bin/tsx +0 -21
- package/packages/core/node_modules/.bin/vite +0 -21
- package/packages/core/node_modules/.bin/vitest +0 -21
- package/packages/core/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/core/src/identicon.test.ts +0 -39
- package/packages/core/src/machine.test.ts +0 -79
- package/packages/core/src/theme.test.ts +0 -14
- package/packages/geometry/node_modules/.bin/esbuild +0 -21
- package/packages/geometry/node_modules/.bin/jiti +0 -21
- package/packages/geometry/node_modules/.bin/tsc +0 -21
- package/packages/geometry/node_modules/.bin/tsserver +0 -21
- package/packages/geometry/node_modules/.bin/tsup +0 -21
- package/packages/geometry/node_modules/.bin/tsup-node +0 -21
- package/packages/geometry/node_modules/.bin/tsx +0 -21
- package/packages/panda/styled-system/css/conditions.mjs +0 -36
- package/packages/panda/styled-system/css/css.mjs +0 -45
- package/packages/panda/styled-system/css/cva.mjs +0 -87
- package/packages/panda/styled-system/css/index.mjs +0 -4
- package/packages/panda/styled-system/css/sva.mjs +0 -46
- package/packages/panda/styled-system/helpers.mjs +0 -328
- package/packages/panda/styled-system/jsx/aspect-ratio.mjs +0 -14
- package/packages/panda/styled-system/jsx/bleed.mjs +0 -14
- package/packages/panda/styled-system/jsx/box.mjs +0 -14
- package/packages/panda/styled-system/jsx/center.mjs +0 -14
- package/packages/panda/styled-system/jsx/circle.mjs +0 -14
- package/packages/panda/styled-system/jsx/container.mjs +0 -14
- package/packages/panda/styled-system/jsx/cq.mjs +0 -14
- package/packages/panda/styled-system/jsx/create-style-context.d.ts +0 -54
- package/packages/panda/styled-system/jsx/create-style-context.mjs +0 -121
- package/packages/panda/styled-system/jsx/divider.mjs +0 -14
- package/packages/panda/styled-system/jsx/factory-helper.mjs +0 -22
- package/packages/panda/styled-system/jsx/factory.mjs +0 -89
- package/packages/panda/styled-system/jsx/flex.mjs +0 -14
- package/packages/panda/styled-system/jsx/float.mjs +0 -14
- package/packages/panda/styled-system/jsx/grid-item.mjs +0 -14
- package/packages/panda/styled-system/jsx/grid.mjs +0 -14
- package/packages/panda/styled-system/jsx/hstack.mjs +0 -14
- package/packages/panda/styled-system/jsx/index.mjs +0 -23
- package/packages/panda/styled-system/jsx/is-valid-prop.mjs +0 -17
- package/packages/panda/styled-system/jsx/link-overlay.mjs +0 -14
- package/packages/panda/styled-system/jsx/spacer.mjs +0 -14
- package/packages/panda/styled-system/jsx/square.mjs +0 -14
- package/packages/panda/styled-system/jsx/stack.mjs +0 -14
- package/packages/panda/styled-system/jsx/visually-hidden.mjs +0 -14
- package/packages/panda/styled-system/jsx/vstack.mjs +0 -14
- package/packages/panda/styled-system/jsx/wrap.mjs +0 -14
- package/packages/panda/styled-system/patterns/aspect-ratio.mjs +0 -38
- package/packages/panda/styled-system/patterns/bleed.mjs +0 -24
- package/packages/panda/styled-system/patterns/box.mjs +0 -15
- package/packages/panda/styled-system/patterns/center.mjs +0 -21
- package/packages/panda/styled-system/patterns/circle.mjs +0 -25
- package/packages/panda/styled-system/patterns/container.mjs +0 -21
- package/packages/panda/styled-system/patterns/cq.mjs +0 -21
- package/packages/panda/styled-system/patterns/divider.mjs +0 -25
- package/packages/panda/styled-system/patterns/flex.mjs +0 -26
- package/packages/panda/styled-system/patterns/float.mjs +0 -52
- package/packages/panda/styled-system/patterns/grid-item.mjs +0 -25
- package/packages/panda/styled-system/patterns/grid.mjs +0 -27
- package/packages/panda/styled-system/patterns/hstack.mjs +0 -24
- package/packages/panda/styled-system/patterns/index.mjs +0 -20
- package/packages/panda/styled-system/patterns/link-overlay.mjs +0 -24
- package/packages/panda/styled-system/patterns/spacer.mjs +0 -25
- package/packages/panda/styled-system/patterns/square.mjs +0 -24
- package/packages/panda/styled-system/patterns/stack.mjs +0 -24
- package/packages/panda/styled-system/patterns/visually-hidden.mjs +0 -18
- package/packages/panda/styled-system/patterns/vstack.mjs +0 -24
- package/packages/panda/styled-system/patterns/wrap.mjs +0 -25
- package/packages/panda/styled-system/recipes/aeon-accordion.mjs +0 -49
- package/packages/panda/styled-system/recipes/aeon-app-shell.mjs +0 -70
- package/packages/panda/styled-system/recipes/aeon-async.mjs +0 -57
- package/packages/panda/styled-system/recipes/aeon-avatar.mjs +0 -57
- package/packages/panda/styled-system/recipes/aeon-badge.mjs +0 -32
- package/packages/panda/styled-system/recipes/aeon-bar.mjs +0 -77
- package/packages/panda/styled-system/recipes/aeon-button-group.mjs +0 -37
- package/packages/panda/styled-system/recipes/aeon-button.mjs +0 -39
- package/packages/panda/styled-system/recipes/aeon-checkbox.mjs +0 -49
- package/packages/panda/styled-system/recipes/aeon-combobox.mjs +0 -53
- package/packages/panda/styled-system/recipes/aeon-composer.mjs +0 -57
- package/packages/panda/styled-system/recipes/aeon-content.mjs +0 -70
- package/packages/panda/styled-system/recipes/aeon-conversation.mjs +0 -61
- package/packages/panda/styled-system/recipes/aeon-dialog.mjs +0 -61
- package/packages/panda/styled-system/recipes/aeon-entry.mjs +0 -100
- package/packages/panda/styled-system/recipes/aeon-field.mjs +0 -53
- package/packages/panda/styled-system/recipes/aeon-file-upload.mjs +0 -61
- package/packages/panda/styled-system/recipes/aeon-identity.mjs +0 -63
- package/packages/panda/styled-system/recipes/aeon-list-row.mjs +0 -49
- package/packages/panda/styled-system/recipes/aeon-menu.mjs +0 -53
- package/packages/panda/styled-system/recipes/aeon-metric-strip.mjs +0 -54
- package/packages/panda/styled-system/recipes/aeon-nav.mjs +0 -69
- package/packages/panda/styled-system/recipes/aeon-panel.mjs +0 -58
- package/packages/panda/styled-system/recipes/aeon-pin-input.mjs +0 -37
- package/packages/panda/styled-system/recipes/aeon-popover.mjs +0 -53
- package/packages/panda/styled-system/recipes/aeon-profile-header.mjs +0 -62
- package/packages/panda/styled-system/recipes/aeon-progress.mjs +0 -45
- package/packages/panda/styled-system/recipes/aeon-radio-group.mjs +0 -49
- package/packages/panda/styled-system/recipes/aeon-range-slider.mjs +0 -49
- package/packages/panda/styled-system/recipes/aeon-scroll.mjs +0 -64
- package/packages/panda/styled-system/recipes/aeon-select.mjs +0 -57
- package/packages/panda/styled-system/recipes/aeon-separator.mjs +0 -42
- package/packages/panda/styled-system/recipes/aeon-slider.mjs +0 -49
- package/packages/panda/styled-system/recipes/aeon-switch.mjs +0 -49
- package/packages/panda/styled-system/recipes/aeon-tabs.mjs +0 -49
- package/packages/panda/styled-system/recipes/aeon-theme-switcher.mjs +0 -59
- package/packages/panda/styled-system/recipes/aeon-thread.mjs +0 -73
- package/packages/panda/styled-system/recipes/aeon-toast.mjs +0 -49
- package/packages/panda/styled-system/recipes/aeon-tooltip.mjs +0 -49
- package/packages/panda/styled-system/recipes/create-recipe.mjs +0 -82
- package/packages/panda/styled-system/recipes/index.mjs +0 -39
- package/packages/panda/styled-system/tokens/index.mjs +0 -2224
- package/packages/panda/styled-system/tokens/tokens.d.ts +0 -60
- package/packages/panda/styled-system/types/composition.d.ts +0 -227
- package/packages/panda/styled-system/types/conditions.d.ts +0 -346
- package/packages/panda/styled-system/types/csstype.d.ts +0 -22570
- package/packages/panda/styled-system/types/global.d.ts +0 -20
- package/packages/panda/styled-system/types/parts.d.ts +0 -8
- package/packages/panda/styled-system/types/prop-type.d.ts +0 -250
- package/packages/panda/styled-system/types/selectors.d.ts +0 -59
- package/packages/panda/styled-system/types/static-css.d.ts +0 -56
- package/packages/panda/styled-system/types/style-props.d.ts +0 -8089
- package/packages/panda/styled-system/types/system-types.d.ts +0 -151
- package/packages/primitives/node_modules/.bin/esbuild +0 -21
- package/packages/primitives/node_modules/.bin/jiti +0 -21
- package/packages/primitives/node_modules/.bin/tsc +0 -21
- package/packages/primitives/node_modules/.bin/tsserver +0 -21
- package/packages/primitives/node_modules/.bin/tsup +0 -21
- package/packages/primitives/node_modules/.bin/tsup-node +0 -21
- package/packages/primitives/node_modules/.bin/tsx +0 -21
- package/packages/primitives/node_modules/.bin/vite +0 -21
- package/packages/primitives/node_modules/.bin/vitest +0 -21
- package/packages/primitives/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/primitives/src/__tests__/app-nav.test.ts +0 -30
- package/packages/primitives/src/__tests__/file-upload.test.ts +0 -25
- package/packages/primitives/src/__tests__/floating-surface.test.ts +0 -29
- package/packages/primitives/src/__tests__/range-slider.test.ts +0 -39
- package/packages/react/node_modules/.bin/esbuild +0 -21
- package/packages/react/node_modules/.bin/jiti +0 -21
- package/packages/react/node_modules/.bin/tsc +0 -21
- package/packages/react/node_modules/.bin/tsserver +0 -21
- package/packages/react/node_modules/.bin/tsup +0 -21
- package/packages/react/node_modules/.bin/tsup-node +0 -21
- package/packages/react/node_modules/.bin/tsx +0 -21
- package/packages/react/node_modules/.bin/vite +0 -21
- package/packages/react/node_modules/.bin/vitest +0 -21
- package/packages/react/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/react/src/avatar/avatar.test.tsx +0 -27
- package/packages/react/src/dialog/dialog.test.tsx +0 -50
- package/packages/react/src/select/select.test.tsx +0 -81
- package/packages/react/src/toast/toast.test.tsx +0 -40
- package/packages/react/src/tooltip/tooltip.test.tsx +0 -122
- package/packages/react-scene/node_modules/.bin/jiti +0 -21
- package/packages/react-scene/node_modules/.bin/tsc +0 -21
- package/packages/react-scene/node_modules/.bin/tsserver +0 -21
- package/packages/react-scene/node_modules/.bin/tsup +0 -21
- package/packages/react-scene/node_modules/.bin/tsup-node +0 -21
- package/packages/react-scene/node_modules/.bin/tsx +0 -21
- package/packages/scene/node_modules/.bin/jiti +0 -21
- package/packages/scene/node_modules/.bin/tsc +0 -21
- package/packages/scene/node_modules/.bin/tsserver +0 -21
- package/packages/scene/node_modules/.bin/tsup +0 -21
- package/packages/scene/node_modules/.bin/tsup-node +0 -21
- package/packages/scene/node_modules/.bin/tsx +0 -21
- package/packages/schemas/node_modules/.bin/esbuild +0 -21
- package/packages/schemas/node_modules/.bin/jiti +0 -21
- package/packages/schemas/node_modules/.bin/tsc +0 -21
- package/packages/schemas/node_modules/.bin/tsserver +0 -21
- package/packages/schemas/node_modules/.bin/tsup +0 -21
- package/packages/schemas/node_modules/.bin/tsup-node +0 -21
- package/packages/schemas/node_modules/.bin/tsx +0 -21
- package/packages/schemas/node_modules/.bin/vite +0 -21
- package/packages/schemas/node_modules/.bin/vitest +0 -21
- package/packages/schemas/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/schemas/src/aeon-to-schema.test.ts +0 -70
- package/packages/schemas/src/index.test.ts +0 -108
- package/packages/signal/node_modules/.bin/jiti +0 -21
- package/packages/signal/node_modules/.bin/tsc +0 -21
- package/packages/signal/node_modules/.bin/tsserver +0 -21
- package/packages/signal/node_modules/.bin/tsup +0 -21
- package/packages/signal/node_modules/.bin/tsup-node +0 -21
- package/packages/signal/node_modules/.bin/tsx +0 -21
- package/packages/site/node_modules/.bin/jiti +0 -21
- package/packages/site/node_modules/.bin/tsc +0 -21
- package/packages/site/node_modules/.bin/tsserver +0 -21
- package/packages/site/node_modules/.bin/tsup +0 -21
- package/packages/site/node_modules/.bin/tsup-node +0 -21
- package/packages/site/node_modules/.bin/tsx +0 -21
- package/packages/solid/node_modules/.bin/jiti +0 -21
- package/packages/solid/node_modules/.bin/tsc +0 -21
- package/packages/solid/node_modules/.bin/tsserver +0 -21
- package/packages/solid/node_modules/.bin/tsup +0 -21
- package/packages/solid/node_modules/.bin/tsup-node +0 -21
- package/packages/solid/node_modules/.bin/tsx +0 -21
- package/packages/surface/node_modules/.bin/jiti +0 -21
- package/packages/surface/node_modules/.bin/tsc +0 -21
- package/packages/surface/node_modules/.bin/tsserver +0 -21
- package/packages/surface/node_modules/.bin/tsup +0 -21
- package/packages/surface/node_modules/.bin/tsup-node +0 -21
- package/packages/surface/node_modules/.bin/tsx +0 -21
- package/packages/svelte/node_modules/.bin/acorn +0 -21
- package/packages/svelte/node_modules/.bin/esbuild +0 -21
- package/packages/svelte/node_modules/.bin/jiti +0 -21
- package/packages/svelte/node_modules/.bin/svelte-check +0 -21
- package/packages/svelte/node_modules/.bin/tsc +0 -21
- package/packages/svelte/node_modules/.bin/tsserver +0 -21
- package/packages/svelte/node_modules/.bin/tsup +0 -21
- package/packages/svelte/node_modules/.bin/tsup-node +0 -21
- package/packages/svelte/node_modules/.bin/tsx +0 -21
- package/packages/svelte/node_modules/.bin/vite +0 -21
- package/packages/ui/node_modules/.bin/jiti +0 -21
- package/packages/ui/node_modules/.bin/tsc +0 -21
- package/packages/ui/node_modules/.bin/tsserver +0 -21
- package/packages/ui/node_modules/.bin/tsup +0 -21
- package/packages/ui/node_modules/.bin/tsup-node +0 -21
- package/packages/ui/node_modules/.bin/tsx +0 -21
- package/packages/vue/node_modules/.bin/jiti +0 -21
- package/packages/vue/node_modules/.bin/tsc +0 -21
- package/packages/vue/node_modules/.bin/tsserver +0 -21
- package/packages/vue/node_modules/.bin/tsup +0 -21
- package/packages/vue/node_modules/.bin/tsup-node +0 -21
- package/packages/vue/node_modules/.bin/tsx +0 -21
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const aeonMenuDefaultVariants = {}
|
|
5
|
-
const aeonMenuCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const aeonMenuSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"aeonMenu__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"trigger",
|
|
14
|
-
"aeonMenu__trigger"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"positioner",
|
|
18
|
-
"aeonMenu__positioner"
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
"content",
|
|
22
|
-
"aeonMenu__content"
|
|
23
|
-
],
|
|
24
|
-
[
|
|
25
|
-
"item",
|
|
26
|
-
"aeonMenu__item"
|
|
27
|
-
],
|
|
28
|
-
[
|
|
29
|
-
"separator",
|
|
30
|
-
"aeonMenu__separator"
|
|
31
|
-
]
|
|
32
|
-
]
|
|
33
|
-
const aeonMenuSlotFns = /* @__PURE__ */ aeonMenuSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, aeonMenuDefaultVariants, getSlotCompoundVariant(aeonMenuCompoundVariants, slotName))])
|
|
34
|
-
|
|
35
|
-
const aeonMenuFn = memo((props = {}) => {
|
|
36
|
-
return Object.fromEntries(aeonMenuSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
37
|
-
})
|
|
38
|
-
|
|
39
|
-
const aeonMenuVariantKeys = []
|
|
40
|
-
const getVariantProps = (variants) => ({ ...aeonMenuDefaultVariants, ...compact(variants) })
|
|
41
|
-
|
|
42
|
-
export const aeonMenu = /* @__PURE__ */ Object.assign(aeonMenuFn, {
|
|
43
|
-
__recipe__: false,
|
|
44
|
-
__name__: 'aeonMenu',
|
|
45
|
-
raw: (props) => props,
|
|
46
|
-
classNameMap: {},
|
|
47
|
-
variantKeys: aeonMenuVariantKeys,
|
|
48
|
-
variantMap: {},
|
|
49
|
-
splitVariantProps(props) {
|
|
50
|
-
return splitProps(props, aeonMenuVariantKeys)
|
|
51
|
-
},
|
|
52
|
-
getVariantProps
|
|
53
|
-
})
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const aeonMetricStripDefaultVariants = {
|
|
5
|
-
"density": "cluster"
|
|
6
|
-
}
|
|
7
|
-
const aeonMetricStripCompoundVariants = []
|
|
8
|
-
|
|
9
|
-
const aeonMetricStripSlotNames = [
|
|
10
|
-
[
|
|
11
|
-
"root",
|
|
12
|
-
"aeonMetricStrip__root"
|
|
13
|
-
],
|
|
14
|
-
[
|
|
15
|
-
"chip",
|
|
16
|
-
"aeonMetricStrip__chip"
|
|
17
|
-
],
|
|
18
|
-
[
|
|
19
|
-
"value",
|
|
20
|
-
"aeonMetricStrip__value"
|
|
21
|
-
],
|
|
22
|
-
[
|
|
23
|
-
"label",
|
|
24
|
-
"aeonMetricStrip__label"
|
|
25
|
-
]
|
|
26
|
-
]
|
|
27
|
-
const aeonMetricStripSlotFns = /* @__PURE__ */ aeonMetricStripSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, aeonMetricStripDefaultVariants, getSlotCompoundVariant(aeonMetricStripCompoundVariants, slotName))])
|
|
28
|
-
|
|
29
|
-
const aeonMetricStripFn = memo((props = {}) => {
|
|
30
|
-
return Object.fromEntries(aeonMetricStripSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
31
|
-
})
|
|
32
|
-
|
|
33
|
-
const aeonMetricStripVariantKeys = [
|
|
34
|
-
"density"
|
|
35
|
-
]
|
|
36
|
-
const getVariantProps = (variants) => ({ ...aeonMetricStripDefaultVariants, ...compact(variants) })
|
|
37
|
-
|
|
38
|
-
export const aeonMetricStrip = /* @__PURE__ */ Object.assign(aeonMetricStripFn, {
|
|
39
|
-
__recipe__: false,
|
|
40
|
-
__name__: 'aeonMetricStrip',
|
|
41
|
-
raw: (props) => props,
|
|
42
|
-
classNameMap: {},
|
|
43
|
-
variantKeys: aeonMetricStripVariantKeys,
|
|
44
|
-
variantMap: {
|
|
45
|
-
"density": [
|
|
46
|
-
"cluster",
|
|
47
|
-
"loose"
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
splitVariantProps(props) {
|
|
51
|
-
return splitProps(props, aeonMetricStripVariantKeys)
|
|
52
|
-
},
|
|
53
|
-
getVariantProps
|
|
54
|
-
})
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const aeonNavDefaultVariants = {
|
|
5
|
-
"size": "md",
|
|
6
|
-
"layout": "inline"
|
|
7
|
-
}
|
|
8
|
-
const aeonNavCompoundVariants = []
|
|
9
|
-
|
|
10
|
-
const aeonNavSlotNames = [
|
|
11
|
-
[
|
|
12
|
-
"root",
|
|
13
|
-
"aeonNav__root"
|
|
14
|
-
],
|
|
15
|
-
[
|
|
16
|
-
"item",
|
|
17
|
-
"aeonNav__item"
|
|
18
|
-
],
|
|
19
|
-
[
|
|
20
|
-
"indicator",
|
|
21
|
-
"aeonNav__indicator"
|
|
22
|
-
],
|
|
23
|
-
[
|
|
24
|
-
"label",
|
|
25
|
-
"aeonNav__label"
|
|
26
|
-
],
|
|
27
|
-
[
|
|
28
|
-
"icon",
|
|
29
|
-
"aeonNav__icon"
|
|
30
|
-
],
|
|
31
|
-
[
|
|
32
|
-
"badge",
|
|
33
|
-
"aeonNav__badge"
|
|
34
|
-
]
|
|
35
|
-
]
|
|
36
|
-
const aeonNavSlotFns = /* @__PURE__ */ aeonNavSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, aeonNavDefaultVariants, getSlotCompoundVariant(aeonNavCompoundVariants, slotName))])
|
|
37
|
-
|
|
38
|
-
const aeonNavFn = memo((props = {}) => {
|
|
39
|
-
return Object.fromEntries(aeonNavSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
40
|
-
})
|
|
41
|
-
|
|
42
|
-
const aeonNavVariantKeys = [
|
|
43
|
-
"size",
|
|
44
|
-
"layout"
|
|
45
|
-
]
|
|
46
|
-
const getVariantProps = (variants) => ({ ...aeonNavDefaultVariants, ...compact(variants) })
|
|
47
|
-
|
|
48
|
-
export const aeonNav = /* @__PURE__ */ Object.assign(aeonNavFn, {
|
|
49
|
-
__recipe__: false,
|
|
50
|
-
__name__: 'aeonNav',
|
|
51
|
-
raw: (props) => props,
|
|
52
|
-
classNameMap: {},
|
|
53
|
-
variantKeys: aeonNavVariantKeys,
|
|
54
|
-
variantMap: {
|
|
55
|
-
"size": [
|
|
56
|
-
"sm",
|
|
57
|
-
"md",
|
|
58
|
-
"lg"
|
|
59
|
-
],
|
|
60
|
-
"layout": [
|
|
61
|
-
"inline",
|
|
62
|
-
"dock"
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
splitVariantProps(props) {
|
|
66
|
-
return splitProps(props, aeonNavVariantKeys)
|
|
67
|
-
},
|
|
68
|
-
getVariantProps
|
|
69
|
-
})
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const aeonPanelDefaultVariants = {
|
|
5
|
-
"size": "md"
|
|
6
|
-
}
|
|
7
|
-
const aeonPanelCompoundVariants = []
|
|
8
|
-
|
|
9
|
-
const aeonPanelSlotNames = [
|
|
10
|
-
[
|
|
11
|
-
"group",
|
|
12
|
-
"aeonPanel__group"
|
|
13
|
-
],
|
|
14
|
-
[
|
|
15
|
-
"root",
|
|
16
|
-
"aeonPanel__root"
|
|
17
|
-
],
|
|
18
|
-
[
|
|
19
|
-
"trigger",
|
|
20
|
-
"aeonPanel__trigger"
|
|
21
|
-
],
|
|
22
|
-
[
|
|
23
|
-
"label",
|
|
24
|
-
"aeonPanel__label"
|
|
25
|
-
],
|
|
26
|
-
[
|
|
27
|
-
"content",
|
|
28
|
-
"aeonPanel__content"
|
|
29
|
-
]
|
|
30
|
-
]
|
|
31
|
-
const aeonPanelSlotFns = /* @__PURE__ */ aeonPanelSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, aeonPanelDefaultVariants, getSlotCompoundVariant(aeonPanelCompoundVariants, slotName))])
|
|
32
|
-
|
|
33
|
-
const aeonPanelFn = memo((props = {}) => {
|
|
34
|
-
return Object.fromEntries(aeonPanelSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
35
|
-
})
|
|
36
|
-
|
|
37
|
-
const aeonPanelVariantKeys = [
|
|
38
|
-
"size"
|
|
39
|
-
]
|
|
40
|
-
const getVariantProps = (variants) => ({ ...aeonPanelDefaultVariants, ...compact(variants) })
|
|
41
|
-
|
|
42
|
-
export const aeonPanel = /* @__PURE__ */ Object.assign(aeonPanelFn, {
|
|
43
|
-
__recipe__: false,
|
|
44
|
-
__name__: 'aeonPanel',
|
|
45
|
-
raw: (props) => props,
|
|
46
|
-
classNameMap: {},
|
|
47
|
-
variantKeys: aeonPanelVariantKeys,
|
|
48
|
-
variantMap: {
|
|
49
|
-
"size": [
|
|
50
|
-
"md",
|
|
51
|
-
"lg"
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
splitVariantProps(props) {
|
|
55
|
-
return splitProps(props, aeonPanelVariantKeys)
|
|
56
|
-
},
|
|
57
|
-
getVariantProps
|
|
58
|
-
})
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const aeonPinInputDefaultVariants = {}
|
|
5
|
-
const aeonPinInputCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const aeonPinInputSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"aeonPinInput__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"input",
|
|
14
|
-
"aeonPinInput__input"
|
|
15
|
-
]
|
|
16
|
-
]
|
|
17
|
-
const aeonPinInputSlotFns = /* @__PURE__ */ aeonPinInputSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, aeonPinInputDefaultVariants, getSlotCompoundVariant(aeonPinInputCompoundVariants, slotName))])
|
|
18
|
-
|
|
19
|
-
const aeonPinInputFn = memo((props = {}) => {
|
|
20
|
-
return Object.fromEntries(aeonPinInputSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
21
|
-
})
|
|
22
|
-
|
|
23
|
-
const aeonPinInputVariantKeys = []
|
|
24
|
-
const getVariantProps = (variants) => ({ ...aeonPinInputDefaultVariants, ...compact(variants) })
|
|
25
|
-
|
|
26
|
-
export const aeonPinInput = /* @__PURE__ */ Object.assign(aeonPinInputFn, {
|
|
27
|
-
__recipe__: false,
|
|
28
|
-
__name__: 'aeonPinInput',
|
|
29
|
-
raw: (props) => props,
|
|
30
|
-
classNameMap: {},
|
|
31
|
-
variantKeys: aeonPinInputVariantKeys,
|
|
32
|
-
variantMap: {},
|
|
33
|
-
splitVariantProps(props) {
|
|
34
|
-
return splitProps(props, aeonPinInputVariantKeys)
|
|
35
|
-
},
|
|
36
|
-
getVariantProps
|
|
37
|
-
})
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const aeonPopoverDefaultVariants = {}
|
|
5
|
-
const aeonPopoverCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const aeonPopoverSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"aeonPopover__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"trigger",
|
|
14
|
-
"aeonPopover__trigger"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"positioner",
|
|
18
|
-
"aeonPopover__positioner"
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
"content",
|
|
22
|
-
"aeonPopover__content"
|
|
23
|
-
],
|
|
24
|
-
[
|
|
25
|
-
"arrow",
|
|
26
|
-
"aeonPopover__arrow"
|
|
27
|
-
],
|
|
28
|
-
[
|
|
29
|
-
"closeTrigger",
|
|
30
|
-
"aeonPopover__closeTrigger"
|
|
31
|
-
]
|
|
32
|
-
]
|
|
33
|
-
const aeonPopoverSlotFns = /* @__PURE__ */ aeonPopoverSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, aeonPopoverDefaultVariants, getSlotCompoundVariant(aeonPopoverCompoundVariants, slotName))])
|
|
34
|
-
|
|
35
|
-
const aeonPopoverFn = memo((props = {}) => {
|
|
36
|
-
return Object.fromEntries(aeonPopoverSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
37
|
-
})
|
|
38
|
-
|
|
39
|
-
const aeonPopoverVariantKeys = []
|
|
40
|
-
const getVariantProps = (variants) => ({ ...aeonPopoverDefaultVariants, ...compact(variants) })
|
|
41
|
-
|
|
42
|
-
export const aeonPopover = /* @__PURE__ */ Object.assign(aeonPopoverFn, {
|
|
43
|
-
__recipe__: false,
|
|
44
|
-
__name__: 'aeonPopover',
|
|
45
|
-
raw: (props) => props,
|
|
46
|
-
classNameMap: {},
|
|
47
|
-
variantKeys: aeonPopoverVariantKeys,
|
|
48
|
-
variantMap: {},
|
|
49
|
-
splitVariantProps(props) {
|
|
50
|
-
return splitProps(props, aeonPopoverVariantKeys)
|
|
51
|
-
},
|
|
52
|
-
getVariantProps
|
|
53
|
-
})
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const aeonProfileHeaderDefaultVariants = {
|
|
5
|
-
"align": "start"
|
|
6
|
-
}
|
|
7
|
-
const aeonProfileHeaderCompoundVariants = []
|
|
8
|
-
|
|
9
|
-
const aeonProfileHeaderSlotNames = [
|
|
10
|
-
[
|
|
11
|
-
"root",
|
|
12
|
-
"aeonProfileHeader__root"
|
|
13
|
-
],
|
|
14
|
-
[
|
|
15
|
-
"media",
|
|
16
|
-
"aeonProfileHeader__media"
|
|
17
|
-
],
|
|
18
|
-
[
|
|
19
|
-
"identity",
|
|
20
|
-
"aeonProfileHeader__identity"
|
|
21
|
-
],
|
|
22
|
-
[
|
|
23
|
-
"metrics",
|
|
24
|
-
"aeonProfileHeader__metrics"
|
|
25
|
-
],
|
|
26
|
-
[
|
|
27
|
-
"actions",
|
|
28
|
-
"aeonProfileHeader__actions"
|
|
29
|
-
],
|
|
30
|
-
[
|
|
31
|
-
"body",
|
|
32
|
-
"aeonProfileHeader__body"
|
|
33
|
-
]
|
|
34
|
-
]
|
|
35
|
-
const aeonProfileHeaderSlotFns = /* @__PURE__ */ aeonProfileHeaderSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, aeonProfileHeaderDefaultVariants, getSlotCompoundVariant(aeonProfileHeaderCompoundVariants, slotName))])
|
|
36
|
-
|
|
37
|
-
const aeonProfileHeaderFn = memo((props = {}) => {
|
|
38
|
-
return Object.fromEntries(aeonProfileHeaderSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
39
|
-
})
|
|
40
|
-
|
|
41
|
-
const aeonProfileHeaderVariantKeys = [
|
|
42
|
-
"align"
|
|
43
|
-
]
|
|
44
|
-
const getVariantProps = (variants) => ({ ...aeonProfileHeaderDefaultVariants, ...compact(variants) })
|
|
45
|
-
|
|
46
|
-
export const aeonProfileHeader = /* @__PURE__ */ Object.assign(aeonProfileHeaderFn, {
|
|
47
|
-
__recipe__: false,
|
|
48
|
-
__name__: 'aeonProfileHeader',
|
|
49
|
-
raw: (props) => props,
|
|
50
|
-
classNameMap: {},
|
|
51
|
-
variantKeys: aeonProfileHeaderVariantKeys,
|
|
52
|
-
variantMap: {
|
|
53
|
-
"align": [
|
|
54
|
-
"start",
|
|
55
|
-
"center"
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
splitVariantProps(props) {
|
|
59
|
-
return splitProps(props, aeonProfileHeaderVariantKeys)
|
|
60
|
-
},
|
|
61
|
-
getVariantProps
|
|
62
|
-
})
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const aeonProgressDefaultVariants = {}
|
|
5
|
-
const aeonProgressCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const aeonProgressSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"aeonProgress__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"track",
|
|
14
|
-
"aeonProgress__track"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"range",
|
|
18
|
-
"aeonProgress__range"
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
"label",
|
|
22
|
-
"aeonProgress__label"
|
|
23
|
-
]
|
|
24
|
-
]
|
|
25
|
-
const aeonProgressSlotFns = /* @__PURE__ */ aeonProgressSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, aeonProgressDefaultVariants, getSlotCompoundVariant(aeonProgressCompoundVariants, slotName))])
|
|
26
|
-
|
|
27
|
-
const aeonProgressFn = memo((props = {}) => {
|
|
28
|
-
return Object.fromEntries(aeonProgressSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
29
|
-
})
|
|
30
|
-
|
|
31
|
-
const aeonProgressVariantKeys = []
|
|
32
|
-
const getVariantProps = (variants) => ({ ...aeonProgressDefaultVariants, ...compact(variants) })
|
|
33
|
-
|
|
34
|
-
export const aeonProgress = /* @__PURE__ */ Object.assign(aeonProgressFn, {
|
|
35
|
-
__recipe__: false,
|
|
36
|
-
__name__: 'aeonProgress',
|
|
37
|
-
raw: (props) => props,
|
|
38
|
-
classNameMap: {},
|
|
39
|
-
variantKeys: aeonProgressVariantKeys,
|
|
40
|
-
variantMap: {},
|
|
41
|
-
splitVariantProps(props) {
|
|
42
|
-
return splitProps(props, aeonProgressVariantKeys)
|
|
43
|
-
},
|
|
44
|
-
getVariantProps
|
|
45
|
-
})
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const aeonRadioGroupDefaultVariants = {}
|
|
5
|
-
const aeonRadioGroupCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const aeonRadioGroupSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"aeonRadioGroup__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"item",
|
|
14
|
-
"aeonRadioGroup__item"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"itemControl",
|
|
18
|
-
"aeonRadioGroup__itemControl"
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
"itemIndicator",
|
|
22
|
-
"aeonRadioGroup__itemIndicator"
|
|
23
|
-
],
|
|
24
|
-
[
|
|
25
|
-
"itemLabel",
|
|
26
|
-
"aeonRadioGroup__itemLabel"
|
|
27
|
-
]
|
|
28
|
-
]
|
|
29
|
-
const aeonRadioGroupSlotFns = /* @__PURE__ */ aeonRadioGroupSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, aeonRadioGroupDefaultVariants, getSlotCompoundVariant(aeonRadioGroupCompoundVariants, slotName))])
|
|
30
|
-
|
|
31
|
-
const aeonRadioGroupFn = memo((props = {}) => {
|
|
32
|
-
return Object.fromEntries(aeonRadioGroupSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
33
|
-
})
|
|
34
|
-
|
|
35
|
-
const aeonRadioGroupVariantKeys = []
|
|
36
|
-
const getVariantProps = (variants) => ({ ...aeonRadioGroupDefaultVariants, ...compact(variants) })
|
|
37
|
-
|
|
38
|
-
export const aeonRadioGroup = /* @__PURE__ */ Object.assign(aeonRadioGroupFn, {
|
|
39
|
-
__recipe__: false,
|
|
40
|
-
__name__: 'aeonRadioGroup',
|
|
41
|
-
raw: (props) => props,
|
|
42
|
-
classNameMap: {},
|
|
43
|
-
variantKeys: aeonRadioGroupVariantKeys,
|
|
44
|
-
variantMap: {},
|
|
45
|
-
splitVariantProps(props) {
|
|
46
|
-
return splitProps(props, aeonRadioGroupVariantKeys)
|
|
47
|
-
},
|
|
48
|
-
getVariantProps
|
|
49
|
-
})
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const aeonRangeSliderDefaultVariants = {}
|
|
5
|
-
const aeonRangeSliderCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const aeonRangeSliderSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"aeonRangeSlider__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"track",
|
|
14
|
-
"aeonRangeSlider__track"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"range",
|
|
18
|
-
"aeonRangeSlider__range"
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
"thumb",
|
|
22
|
-
"aeonRangeSlider__thumb"
|
|
23
|
-
],
|
|
24
|
-
[
|
|
25
|
-
"valueText",
|
|
26
|
-
"aeonRangeSlider__valueText"
|
|
27
|
-
]
|
|
28
|
-
]
|
|
29
|
-
const aeonRangeSliderSlotFns = /* @__PURE__ */ aeonRangeSliderSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, aeonRangeSliderDefaultVariants, getSlotCompoundVariant(aeonRangeSliderCompoundVariants, slotName))])
|
|
30
|
-
|
|
31
|
-
const aeonRangeSliderFn = memo((props = {}) => {
|
|
32
|
-
return Object.fromEntries(aeonRangeSliderSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
33
|
-
})
|
|
34
|
-
|
|
35
|
-
const aeonRangeSliderVariantKeys = []
|
|
36
|
-
const getVariantProps = (variants) => ({ ...aeonRangeSliderDefaultVariants, ...compact(variants) })
|
|
37
|
-
|
|
38
|
-
export const aeonRangeSlider = /* @__PURE__ */ Object.assign(aeonRangeSliderFn, {
|
|
39
|
-
__recipe__: false,
|
|
40
|
-
__name__: 'aeonRangeSlider',
|
|
41
|
-
raw: (props) => props,
|
|
42
|
-
classNameMap: {},
|
|
43
|
-
variantKeys: aeonRangeSliderVariantKeys,
|
|
44
|
-
variantMap: {},
|
|
45
|
-
splitVariantProps(props) {
|
|
46
|
-
return splitProps(props, aeonRangeSliderVariantKeys)
|
|
47
|
-
},
|
|
48
|
-
getVariantProps
|
|
49
|
-
})
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const aeonScrollDefaultVariants = {
|
|
5
|
-
"axis": "both",
|
|
6
|
-
"maxH": "md",
|
|
7
|
-
"maxW": "full"
|
|
8
|
-
}
|
|
9
|
-
const aeonScrollCompoundVariants = []
|
|
10
|
-
|
|
11
|
-
const aeonScrollSlotNames = [
|
|
12
|
-
[
|
|
13
|
-
"root",
|
|
14
|
-
"aeonScroll__root"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"viewport",
|
|
18
|
-
"aeonScroll__viewport"
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
"content",
|
|
22
|
-
"aeonScroll__content"
|
|
23
|
-
]
|
|
24
|
-
]
|
|
25
|
-
const aeonScrollSlotFns = /* @__PURE__ */ aeonScrollSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, aeonScrollDefaultVariants, getSlotCompoundVariant(aeonScrollCompoundVariants, slotName))])
|
|
26
|
-
|
|
27
|
-
const aeonScrollFn = memo((props = {}) => {
|
|
28
|
-
return Object.fromEntries(aeonScrollSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
29
|
-
})
|
|
30
|
-
|
|
31
|
-
const aeonScrollVariantKeys = [
|
|
32
|
-
"axis",
|
|
33
|
-
"maxH",
|
|
34
|
-
"maxW"
|
|
35
|
-
]
|
|
36
|
-
const getVariantProps = (variants) => ({ ...aeonScrollDefaultVariants, ...compact(variants) })
|
|
37
|
-
|
|
38
|
-
export const aeonScroll = /* @__PURE__ */ Object.assign(aeonScrollFn, {
|
|
39
|
-
__recipe__: false,
|
|
40
|
-
__name__: 'aeonScroll',
|
|
41
|
-
raw: (props) => props,
|
|
42
|
-
classNameMap: {},
|
|
43
|
-
variantKeys: aeonScrollVariantKeys,
|
|
44
|
-
variantMap: {
|
|
45
|
-
"axis": [
|
|
46
|
-
"y",
|
|
47
|
-
"x",
|
|
48
|
-
"both"
|
|
49
|
-
],
|
|
50
|
-
"maxH": [
|
|
51
|
-
"sm",
|
|
52
|
-
"md",
|
|
53
|
-
"lg"
|
|
54
|
-
],
|
|
55
|
-
"maxW": [
|
|
56
|
-
"full",
|
|
57
|
-
"md"
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
splitVariantProps(props) {
|
|
61
|
-
return splitProps(props, aeonScrollVariantKeys)
|
|
62
|
-
},
|
|
63
|
-
getVariantProps
|
|
64
|
-
})
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const aeonSelectDefaultVariants = {}
|
|
5
|
-
const aeonSelectCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const aeonSelectSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"aeonSelect__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"trigger",
|
|
14
|
-
"aeonSelect__trigger"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"value",
|
|
18
|
-
"aeonSelect__value"
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
"icon",
|
|
22
|
-
"aeonSelect__icon"
|
|
23
|
-
],
|
|
24
|
-
[
|
|
25
|
-
"positioner",
|
|
26
|
-
"aeonSelect__positioner"
|
|
27
|
-
],
|
|
28
|
-
[
|
|
29
|
-
"content",
|
|
30
|
-
"aeonSelect__content"
|
|
31
|
-
],
|
|
32
|
-
[
|
|
33
|
-
"item",
|
|
34
|
-
"aeonSelect__item"
|
|
35
|
-
]
|
|
36
|
-
]
|
|
37
|
-
const aeonSelectSlotFns = /* @__PURE__ */ aeonSelectSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, aeonSelectDefaultVariants, getSlotCompoundVariant(aeonSelectCompoundVariants, slotName))])
|
|
38
|
-
|
|
39
|
-
const aeonSelectFn = memo((props = {}) => {
|
|
40
|
-
return Object.fromEntries(aeonSelectSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
41
|
-
})
|
|
42
|
-
|
|
43
|
-
const aeonSelectVariantKeys = []
|
|
44
|
-
const getVariantProps = (variants) => ({ ...aeonSelectDefaultVariants, ...compact(variants) })
|
|
45
|
-
|
|
46
|
-
export const aeonSelect = /* @__PURE__ */ Object.assign(aeonSelectFn, {
|
|
47
|
-
__recipe__: false,
|
|
48
|
-
__name__: 'aeonSelect',
|
|
49
|
-
raw: (props) => props,
|
|
50
|
-
classNameMap: {},
|
|
51
|
-
variantKeys: aeonSelectVariantKeys,
|
|
52
|
-
variantMap: {},
|
|
53
|
-
splitVariantProps(props) {
|
|
54
|
-
return splitProps(props, aeonSelectVariantKeys)
|
|
55
|
-
},
|
|
56
|
-
getVariantProps
|
|
57
|
-
})
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const aeonSeparatorDefaultVariants = {
|
|
5
|
-
"orientation": "horizontal"
|
|
6
|
-
}
|
|
7
|
-
const aeonSeparatorCompoundVariants = []
|
|
8
|
-
|
|
9
|
-
const aeonSeparatorSlotNames = [
|
|
10
|
-
[
|
|
11
|
-
"root",
|
|
12
|
-
"aeonSeparator__root"
|
|
13
|
-
]
|
|
14
|
-
]
|
|
15
|
-
const aeonSeparatorSlotFns = /* @__PURE__ */ aeonSeparatorSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, aeonSeparatorDefaultVariants, getSlotCompoundVariant(aeonSeparatorCompoundVariants, slotName))])
|
|
16
|
-
|
|
17
|
-
const aeonSeparatorFn = memo((props = {}) => {
|
|
18
|
-
return Object.fromEntries(aeonSeparatorSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
19
|
-
})
|
|
20
|
-
|
|
21
|
-
const aeonSeparatorVariantKeys = [
|
|
22
|
-
"orientation"
|
|
23
|
-
]
|
|
24
|
-
const getVariantProps = (variants) => ({ ...aeonSeparatorDefaultVariants, ...compact(variants) })
|
|
25
|
-
|
|
26
|
-
export const aeonSeparator = /* @__PURE__ */ Object.assign(aeonSeparatorFn, {
|
|
27
|
-
__recipe__: false,
|
|
28
|
-
__name__: 'aeonSeparator',
|
|
29
|
-
raw: (props) => props,
|
|
30
|
-
classNameMap: {},
|
|
31
|
-
variantKeys: aeonSeparatorVariantKeys,
|
|
32
|
-
variantMap: {
|
|
33
|
-
"orientation": [
|
|
34
|
-
"horizontal",
|
|
35
|
-
"vertical"
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
splitVariantProps(props) {
|
|
39
|
-
return splitProps(props, aeonSeparatorVariantKeys)
|
|
40
|
-
},
|
|
41
|
-
getVariantProps
|
|
42
|
-
})
|