aeon-ui-engine 1.8.0 → 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 +28 -0
- package/package.json +5 -2
- 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 -2106
- 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 +106 -10
- package/packages/react/dist/index.js +1350 -994
- package/packages/react/src/clipboard/index.tsx +117 -0
- package/packages/react/src/composer/index.tsx +14 -5
- package/packages/react/src/index.ts +4 -0
- 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/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 +59 -0
- 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/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/scripts/emit.ts +2 -0
- package/packages/schemas/src/components.ts +63 -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 +2 -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 -77
- 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/tree/node_modules/.bin/esbuild +0 -21
- package/packages/tree/node_modules/.bin/jiti +0 -21
- package/packages/tree/node_modules/.bin/tsc +0 -21
- package/packages/tree/node_modules/.bin/tsserver +0 -21
- package/packages/tree/node_modules/.bin/tsup +0 -21
- package/packages/tree/node_modules/.bin/tsup-node +0 -21
- package/packages/tree/node_modules/.bin/tsx +0 -21
- package/packages/tree/node_modules/.bin/vite +0 -21
- package/packages/tree/node_modules/.bin/vitest +0 -21
- package/packages/tree/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/tree/src/exclusive-action.test.ts +0 -54
- 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
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export type AnimationToken = "bounce" | "ping" | "pulse" | "spin"
|
|
2
|
+
|
|
3
|
+
export type AspectRatioToken = "golden" | "landscape" | "portrait" | "square" | "ultrawide" | "video" | "wide"
|
|
4
|
+
|
|
5
|
+
export type BlurToken = "2xl" | "3xl" | "lg" | "md" | "sm" | "xl" | "xs"
|
|
6
|
+
|
|
7
|
+
export type BorderToken = "none"
|
|
8
|
+
|
|
9
|
+
export type BreakpointToken = "2xl" | "lg" | "md" | "sm" | "xl"
|
|
10
|
+
|
|
11
|
+
export type ColorToken = "accent" | "accentDim" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.50" | "amber.500" | "amber.600" | "amber.700" | "amber.800" | "amber.900" | "amber.950" | "bg" | "black" | "blue.100" | "blue.200" | "blue.300" | "blue.400" | "blue.50" | "blue.500" | "blue.600" | "blue.700" | "blue.800" | "blue.900" | "blue.950" | "border" | "colorPalette" | "colorPalette.100" | "colorPalette.200" | "colorPalette.300" | "colorPalette.400" | "colorPalette.50" | "colorPalette.500" | "colorPalette.600" | "colorPalette.700" | "colorPalette.800" | "colorPalette.900" | "colorPalette.950" | "current" | "cyan.100" | "cyan.200" | "cyan.300" | "cyan.400" | "cyan.50" | "cyan.500" | "cyan.600" | "cyan.700" | "cyan.800" | "cyan.900" | "cyan.950" | "danger" | "dangerDim" | "emerald.100" | "emerald.200" | "emerald.300" | "emerald.400" | "emerald.50" | "emerald.500" | "emerald.600" | "emerald.700" | "emerald.800" | "emerald.900" | "emerald.950" | "fg" | "fuchsia.100" | "fuchsia.200" | "fuchsia.300" | "fuchsia.400" | "fuchsia.50" | "fuchsia.500" | "fuchsia.600" | "fuchsia.700" | "fuchsia.800" | "fuchsia.900" | "fuchsia.950" | "gray.100" | "gray.200" | "gray.300" | "gray.400" | "gray.50" | "gray.500" | "gray.600" | "gray.700" | "gray.800" | "gray.900" | "gray.950" | "green.100" | "green.200" | "green.300" | "green.400" | "green.50" | "green.500" | "green.600" | "green.700" | "green.800" | "green.900" | "green.950" | "indigo.100" | "indigo.200" | "indigo.300" | "indigo.400" | "indigo.50" | "indigo.500" | "indigo.600" | "indigo.700" | "indigo.800" | "indigo.900" | "indigo.950" | "lime.100" | "lime.200" | "lime.300" | "lime.400" | "lime.50" | "lime.500" | "lime.600" | "lime.700" | "lime.800" | "lime.900" | "lime.950" | "mauve.100" | "mauve.200" | "mauve.300" | "mauve.400" | "mauve.50" | "mauve.500" | "mauve.600" | "mauve.700" | "mauve.800" | "mauve.900" | "mauve.950" | "mist.100" | "mist.200" | "mist.300" | "mist.400" | "mist.50" | "mist.500" | "mist.600" | "mist.700" | "mist.800" | "mist.900" | "mist.950" | "muted" | "neutral.100" | "neutral.200" | "neutral.300" | "neutral.400" | "neutral.50" | "neutral.500" | "neutral.600" | "neutral.700" | "neutral.800" | "neutral.900" | "neutral.950" | "olive.100" | "olive.200" | "olive.300" | "olive.400" | "olive.50" | "olive.500" | "olive.600" | "olive.700" | "olive.800" | "olive.900" | "olive.950" | "orange.100" | "orange.200" | "orange.300" | "orange.400" | "orange.50" | "orange.500" | "orange.600" | "orange.700" | "orange.800" | "orange.900" | "orange.950" | "pink.100" | "pink.200" | "pink.300" | "pink.400" | "pink.50" | "pink.500" | "pink.600" | "pink.700" | "pink.800" | "pink.900" | "pink.950" | "purple.100" | "purple.200" | "purple.300" | "purple.400" | "purple.50" | "purple.500" | "purple.600" | "purple.700" | "purple.800" | "purple.900" | "purple.950" | "red.100" | "red.200" | "red.300" | "red.400" | "red.50" | "red.500" | "red.600" | "red.700" | "red.800" | "red.900" | "red.950" | "rose.100" | "rose.200" | "rose.300" | "rose.400" | "rose.50" | "rose.500" | "rose.600" | "rose.700" | "rose.800" | "rose.900" | "rose.950" | "sky.100" | "sky.200" | "sky.300" | "sky.400" | "sky.50" | "sky.500" | "sky.600" | "sky.700" | "sky.800" | "sky.900" | "sky.950" | "slate.100" | "slate.200" | "slate.300" | "slate.400" | "slate.50" | "slate.500" | "slate.600" | "slate.700" | "slate.800" | "slate.900" | "slate.950" | "stone.100" | "stone.200" | "stone.300" | "stone.400" | "stone.50" | "stone.500" | "stone.600" | "stone.700" | "stone.800" | "stone.900" | "stone.950" | "surface" | "surfaceRaised" | "taupe.100" | "taupe.200" | "taupe.300" | "taupe.400" | "taupe.50" | "taupe.500" | "taupe.600" | "taupe.700" | "taupe.800" | "taupe.900" | "taupe.950" | "teal.100" | "teal.200" | "teal.300" | "teal.400" | "teal.50" | "teal.500" | "teal.600" | "teal.700" | "teal.800" | "teal.900" | "teal.950" | "transparent" | "violet.100" | "violet.200" | "violet.300" | "violet.400" | "violet.50" | "violet.500" | "violet.600" | "violet.700" | "violet.800" | "violet.900" | "violet.950" | "white" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.50" | "yellow.500" | "yellow.600" | "yellow.700" | "yellow.800" | "yellow.900" | "yellow.950" | "zinc.100" | "zinc.200" | "zinc.300" | "zinc.400" | "zinc.50" | "zinc.500" | "zinc.600" | "zinc.700" | "zinc.800" | "zinc.900" | "zinc.950"
|
|
12
|
+
|
|
13
|
+
export type DurationToken = "fast" | "faster" | "fastest" | "normal" | "slow" | "slower" | "slowest"
|
|
14
|
+
|
|
15
|
+
export type EasingToken = "default" | "in" | "in-out" | "linear" | "out"
|
|
16
|
+
|
|
17
|
+
export type FontSizeToken = "2xl" | "2xs" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "lg" | "md" | "sm" | "xl" | "xs"
|
|
18
|
+
|
|
19
|
+
export type FontWeightToken = "black" | "bold" | "extrabold" | "extralight" | "light" | "medium" | "normal" | "semibold" | "thin"
|
|
20
|
+
|
|
21
|
+
export type FontToken = "body" | "display" | "mono" | "sans" | "serif" | "ui"
|
|
22
|
+
|
|
23
|
+
export type LetterSpacingToken = "normal" | "tight" | "tighter" | "wide" | "wider" | "widest"
|
|
24
|
+
|
|
25
|
+
export type LineHeightToken = "loose" | "none" | "normal" | "relaxed" | "snug" | "tight"
|
|
26
|
+
|
|
27
|
+
export type RadiusToken = "2xl" | "3xl" | "4xl" | "full" | "lg" | "md" | "siteLg" | "sm" | "xl" | "xs"
|
|
28
|
+
|
|
29
|
+
export type ShadowToken = "2xl" | "2xs" | "focusRing" | "inner" | "inset-2xs" | "inset-sm" | "inset-xs" | "lg" | "md" | "panel" | "sm" | "xl" | "xs"
|
|
30
|
+
|
|
31
|
+
export type SizeToken = "0" | "0.5" | "1" | "1.5" | "10" | "11" | "12" | "14" | "16" | "2" | "2.5" | "20" | "24" | "28" | "2xl" | "3" | "3.5" | "32" | "36" | "3xl" | "4" | "4.5" | "40" | "44" | "48" | "4xl" | "5" | "5.5" | "52" | "56" | "5xl" | "6" | "60" | "64" | "6xl" | "7" | "72" | "7xl" | "8" | "80" | "8xl" | "9" | "96" | "breakpoint-2xl" | "breakpoint-lg" | "breakpoint-md" | "breakpoint-sm" | "breakpoint-xl" | "fit" | "full" | "lg" | "max" | "md" | "min" | "prose" | "sm" | "xl" | "xs"
|
|
32
|
+
|
|
33
|
+
export type SpacingToken = "-0.5" | "-1" | "-1.5" | "-10" | "-11" | "-12" | "-14" | "-16" | "-2" | "-2.5" | "-20" | "-24" | "-28" | "-3" | "-3.5" | "-32" | "-36" | "-4" | "-4.5" | "-40" | "-44" | "-48" | "-5" | "-5.5" | "-52" | "-56" | "-6" | "-60" | "-64" | "-7" | "-72" | "-8" | "-80" | "-9" | "-96" | "-accordionContentB" | "-accordionContentY" | "-accordionGap" | "-accordionInsetX" | "-accordionTriggerMinH" | "-accordionTriggerY" | "-badgeX" | "-badgeY" | "-controlMinHLg" | "-controlMinHMd" | "-controlMinHSm" | "-controlMinHXs" | "-controlX" | "-controlXSm" | "-controlY" | "-controlYSm" | "-gap" | "-gapLg" | "-gapSm" | "-insetX" | "-insetXLg" | "-insetXSm" | "-insetY" | "-insetYLg" | "-insetYSm" | "-padLg" | "-padMd" | "-padSm" | "-padXl" | "0" | "0.5" | "1" | "1.5" | "10" | "11" | "12" | "14" | "16" | "2" | "2.5" | "20" | "24" | "28" | "3" | "3.5" | "32" | "36" | "4" | "4.5" | "40" | "44" | "48" | "5" | "5.5" | "52" | "56" | "6" | "60" | "64" | "7" | "72" | "8" | "80" | "9" | "96" | "accordionContentB" | "accordionContentY" | "accordionGap" | "accordionInsetX" | "accordionTriggerMinH" | "accordionTriggerY" | "badgeX" | "badgeY" | "controlMinHLg" | "controlMinHMd" | "controlMinHSm" | "controlMinHXs" | "controlX" | "controlXSm" | "controlY" | "controlYSm" | "gap" | "gapLg" | "gapSm" | "insetX" | "insetXLg" | "insetXSm" | "insetY" | "insetYLg" | "insetYSm" | "padLg" | "padMd" | "padSm" | "padXl"
|
|
34
|
+
|
|
35
|
+
export interface Tokens {
|
|
36
|
+
animations: AnimationToken
|
|
37
|
+
aspectRatios: AspectRatioToken
|
|
38
|
+
blurs: BlurToken
|
|
39
|
+
borders: BorderToken
|
|
40
|
+
breakpoints: BreakpointToken
|
|
41
|
+
colors: ColorToken
|
|
42
|
+
durations: DurationToken
|
|
43
|
+
easings: EasingToken
|
|
44
|
+
fontSizes: FontSizeToken
|
|
45
|
+
fontWeights: FontWeightToken
|
|
46
|
+
fonts: FontToken
|
|
47
|
+
letterSpacings: LetterSpacingToken
|
|
48
|
+
lineHeights: LineHeightToken
|
|
49
|
+
radii: RadiusToken
|
|
50
|
+
shadows: ShadowToken
|
|
51
|
+
sizes: SizeToken
|
|
52
|
+
spacing: SpacingToken
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type Token = `animations.${AnimationToken}` | `aspectRatios.${AspectRatioToken}` | `blurs.${BlurToken}` | `borders.${BorderToken}` | `breakpoints.${BreakpointToken}` | `colors.${ColorToken}` | `durations.${DurationToken}` | `easings.${EasingToken}` | `fontSizes.${FontSizeToken}` | `fontWeights.${FontWeightToken}` | `fonts.${FontToken}` | `letterSpacings.${LetterSpacingToken}` | `lineHeights.${LineHeightToken}` | `radii.${RadiusToken}` | `shadows.${ShadowToken}` | `sizes.${SizeToken}` | `spacing.${SpacingToken}`
|
|
56
|
+
|
|
57
|
+
export type ColorOpacityModifier = `${number}`
|
|
58
|
+
|
|
59
|
+
export type ColorOpacityToken = `colors.${ColorToken}/${ColorOpacityModifier}`
|
|
60
|
+
|
|
61
|
+
export type TokenPath = Token | ColorOpacityToken
|
|
62
|
+
|
|
63
|
+
export type ColorPalette = "accent" | "accentDim" | "amber" | "bg" | "black" | "blue" | "border" | "current" | "cyan" | "danger" | "dangerDim" | "emerald" | "fg" | "fuchsia" | "gray" | "green" | "indigo" | "lime" | "mauve" | "mist" | "muted" | "neutral" | "olive" | "orange" | "pink" | "purple" | "red" | "rose" | "sky" | "slate" | "stone" | "surface" | "surfaceRaised" | "taupe" | "teal" | "transparent" | "violet" | "white" | "yellow" | "zinc"
|
|
64
|
+
|
|
65
|
+
export type TokenValue<T extends string> = T extends keyof Tokens ? Tokens[T] : never
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
// src/machines/cache.ts
|
|
2
|
+
import { assign, createActor, fromCallback, fromPromise, setup } from "xstate";
|
|
3
|
+
var CACHE_STATES = ["idle", "loading", "ready", "stale", "refreshing", "failed"];
|
|
4
|
+
var MAX_DELAY_MS = 2147483647;
|
|
5
|
+
var NEVER_CACHE = /\b(secrets?|private[-_ ]?keys?|mnemonics?|seeds?|passwords?|passphrases?|wif|xprv|signing[-_ ]?keys?|spend)\b/i;
|
|
6
|
+
function isCacheableId(id) {
|
|
7
|
+
return id.trim().length > 0 && !NEVER_CACHE.test(id);
|
|
8
|
+
}
|
|
9
|
+
var message = (error) => error instanceof Error ? error.message : String(error);
|
|
10
|
+
function createCacheEntryMachine() {
|
|
11
|
+
return setup({
|
|
12
|
+
types: {
|
|
13
|
+
context: {},
|
|
14
|
+
events: {},
|
|
15
|
+
input: {}
|
|
16
|
+
},
|
|
17
|
+
actors: {
|
|
18
|
+
load: fromPromise(async () => {
|
|
19
|
+
throw new Error("cache entry load is not provided");
|
|
20
|
+
})
|
|
21
|
+
},
|
|
22
|
+
delays: {
|
|
23
|
+
ttl: ({ context }) => {
|
|
24
|
+
const age = context.loadedAt === null ? 0 : context.now() - context.loadedAt;
|
|
25
|
+
return Math.min(Math.max(0, context.ttl - age), MAX_DELAY_MS);
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
guards: {
|
|
29
|
+
expired: ({ context }) => context.loadedAt !== null && context.now() - context.loadedAt >= context.ttl,
|
|
30
|
+
dirty: ({ context }) => context.dirty,
|
|
31
|
+
refetch: ({ event }) => event.type === "INVALIDATE" && event.refetch === true
|
|
32
|
+
},
|
|
33
|
+
actions: {
|
|
34
|
+
markDirty: assign({ dirty: true }),
|
|
35
|
+
clear: assign({ data: void 0, error: null, loadedAt: null, dirty: false })
|
|
36
|
+
}
|
|
37
|
+
}).createMachine({
|
|
38
|
+
id: "cacheEntry",
|
|
39
|
+
context: ({ input }) => ({
|
|
40
|
+
key: input.key,
|
|
41
|
+
ttl: input.ttl,
|
|
42
|
+
data: void 0,
|
|
43
|
+
error: null,
|
|
44
|
+
loadedAt: null,
|
|
45
|
+
dirty: false,
|
|
46
|
+
now: input.now ?? Date.now
|
|
47
|
+
}),
|
|
48
|
+
initial: "idle",
|
|
49
|
+
on: { CLEAR: { target: ".idle", actions: "clear" } },
|
|
50
|
+
states: {
|
|
51
|
+
idle: {
|
|
52
|
+
on: { FETCH: "loading", REFRESH: "loading", INVALIDATE: { guard: "refetch", target: "loading" } }
|
|
53
|
+
},
|
|
54
|
+
loading: {
|
|
55
|
+
invoke: {
|
|
56
|
+
src: "load",
|
|
57
|
+
input: ({ context }) => ({ key: context.key }),
|
|
58
|
+
onDone: [
|
|
59
|
+
{
|
|
60
|
+
guard: "dirty",
|
|
61
|
+
target: "refreshing",
|
|
62
|
+
actions: assign(({ context, event }) => ({ data: event.output, error: null, loadedAt: context.now(), dirty: false }))
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
target: "ready",
|
|
66
|
+
actions: assign(({ context, event }) => ({ data: event.output, error: null, loadedAt: context.now() }))
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
onError: { target: "failed", actions: assign(({ event }) => ({ error: message(event.error), dirty: false })) }
|
|
70
|
+
},
|
|
71
|
+
on: { INVALIDATE: { actions: "markDirty" } }
|
|
72
|
+
},
|
|
73
|
+
ready: {
|
|
74
|
+
after: { ttl: { guard: "expired", target: "stale" } },
|
|
75
|
+
on: {
|
|
76
|
+
FETCH: { guard: "expired", target: "refreshing" },
|
|
77
|
+
REFRESH: "refreshing",
|
|
78
|
+
INVALIDATE: [{ guard: "refetch", target: "refreshing" }, { target: "stale" }]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
stale: {
|
|
82
|
+
on: { FETCH: "refreshing", REFRESH: "refreshing", INVALIDATE: { guard: "refetch", target: "refreshing" } }
|
|
83
|
+
},
|
|
84
|
+
refreshing: {
|
|
85
|
+
invoke: {
|
|
86
|
+
src: "load",
|
|
87
|
+
input: ({ context }) => ({ key: context.key }),
|
|
88
|
+
onDone: [
|
|
89
|
+
{
|
|
90
|
+
guard: "dirty",
|
|
91
|
+
target: "refreshing",
|
|
92
|
+
reenter: true,
|
|
93
|
+
actions: assign(({ context, event }) => ({ data: event.output, error: null, loadedAt: context.now(), dirty: false }))
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
target: "ready",
|
|
97
|
+
actions: assign(({ context, event }) => ({ data: event.output, error: null, loadedAt: context.now() }))
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
onError: { target: "stale", actions: assign(({ event }) => ({ error: message(event.error), dirty: false })) }
|
|
101
|
+
},
|
|
102
|
+
on: { INVALIDATE: { actions: "markDirty" } }
|
|
103
|
+
},
|
|
104
|
+
failed: {
|
|
105
|
+
on: { FETCH: "loading", REFRESH: "loading", INVALIDATE: { guard: "refetch", target: "loading" } }
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
var cacheEntryMachine = createCacheEntryMachine();
|
|
111
|
+
var IDLE_VIEW = Object.freeze({ state: "idle", data: void 0, error: null, loadedAt: null });
|
|
112
|
+
var defaultKeyOf = (key) => typeof key === "string" ? key : JSON.stringify(key);
|
|
113
|
+
function viewOf(snapshot, previous) {
|
|
114
|
+
const state = snapshot.value;
|
|
115
|
+
const { data, error, loadedAt } = snapshot.context;
|
|
116
|
+
if (previous.state === state && previous.data === data && previous.error === error && previous.loadedAt === loadedAt) return previous;
|
|
117
|
+
return Object.freeze({ state, data, error, loadedAt });
|
|
118
|
+
}
|
|
119
|
+
function createChartCache(options) {
|
|
120
|
+
if (!isCacheableId(options.id)) throw new Error(`refusing to cache "${options.id}": secrets, keys and spend decisions are never cached`);
|
|
121
|
+
const keyOf = options.keyOf ?? defaultKeyOf;
|
|
122
|
+
const maxEntries = Math.max(1, options.maxEntries ?? 100);
|
|
123
|
+
const ttlOf = typeof options.ttl === "function" ? options.ttl : () => options.ttl;
|
|
124
|
+
const machine = createCacheEntryMachine().provide({
|
|
125
|
+
actors: { load: fromPromise(({ input, signal }) => options.load(input.key, { signal })) }
|
|
126
|
+
});
|
|
127
|
+
const slots = /* @__PURE__ */ new Map();
|
|
128
|
+
let clock = 0;
|
|
129
|
+
const busy = (slot) => slot.view.state === "loading" || slot.view.state === "refreshing";
|
|
130
|
+
const evict = (keep) => {
|
|
131
|
+
if (slots.size <= maxEntries) return;
|
|
132
|
+
const idle = [...slots.entries()].filter(([, slot]) => slot !== keep && slot.listeners.size === 0 && !busy(slot)).sort((a, b) => a[1].usedAt - b[1].usedAt);
|
|
133
|
+
for (const [id, slot] of idle) {
|
|
134
|
+
if (slots.size <= maxEntries) break;
|
|
135
|
+
slot.actor.stop();
|
|
136
|
+
slots.delete(id);
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
const slotFor = (key) => {
|
|
140
|
+
const id = keyOf(key);
|
|
141
|
+
const existing = slots.get(id);
|
|
142
|
+
if (existing) {
|
|
143
|
+
existing.usedAt = ++clock;
|
|
144
|
+
return existing;
|
|
145
|
+
}
|
|
146
|
+
const actor = createActor(machine, { input: { key, ttl: ttlOf(key), now: options.now } });
|
|
147
|
+
const slot = { key, tags: options.tags?.(key) ?? [], actor, view: IDLE_VIEW, listeners: /* @__PURE__ */ new Set(), usedAt: ++clock };
|
|
148
|
+
actor.subscribe((snapshot) => {
|
|
149
|
+
const next = viewOf(snapshot, slot.view);
|
|
150
|
+
if (next === slot.view) return;
|
|
151
|
+
slot.view = next;
|
|
152
|
+
for (const listener of [...slot.listeners]) listener(next);
|
|
153
|
+
});
|
|
154
|
+
slots.set(id, slot);
|
|
155
|
+
actor.start();
|
|
156
|
+
evict(slot);
|
|
157
|
+
return slot;
|
|
158
|
+
};
|
|
159
|
+
const invalidateSlot = (slot) => slot.actor.send({ type: "INVALIDATE", refetch: slot.listeners.size > 0 });
|
|
160
|
+
const cache = {
|
|
161
|
+
id: options.id,
|
|
162
|
+
peek: (key) => slots.get(keyOf(key))?.view ?? IDLE_VIEW,
|
|
163
|
+
fetch: (key) => slotFor(key).actor.send({ type: "FETCH" }),
|
|
164
|
+
refresh: (key) => slotFor(key).actor.send({ type: "REFRESH" }),
|
|
165
|
+
read: (key) => new Promise((resolve, reject) => {
|
|
166
|
+
const slot = slotFor(key);
|
|
167
|
+
const settle = (view) => {
|
|
168
|
+
if (view.loadedAt !== null && view.state !== "loading") resolve(view.data);
|
|
169
|
+
else if (view.state === "failed") reject(new Error(view.error ?? `${options.id} failed to load`));
|
|
170
|
+
else return false;
|
|
171
|
+
return true;
|
|
172
|
+
};
|
|
173
|
+
slot.actor.send({ type: "FETCH" });
|
|
174
|
+
if (settle(slot.view)) return;
|
|
175
|
+
const stop = cache.subscribe(key, (view) => {
|
|
176
|
+
if (settle(view)) stop();
|
|
177
|
+
});
|
|
178
|
+
}),
|
|
179
|
+
invalidate: (target) => {
|
|
180
|
+
if ("key" in target) {
|
|
181
|
+
const slot = slots.get(keyOf(target.key));
|
|
182
|
+
if (slot) invalidateSlot(slot);
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
for (const slot of slots.values()) if (slot.tags.includes(target.tag)) invalidateSlot(slot);
|
|
186
|
+
},
|
|
187
|
+
clear: () => {
|
|
188
|
+
for (const [id, slot] of [...slots.entries()]) {
|
|
189
|
+
slot.actor.send({ type: "CLEAR" });
|
|
190
|
+
if (slot.listeners.size === 0) {
|
|
191
|
+
slot.actor.stop();
|
|
192
|
+
slots.delete(id);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
subscribe: (key, listener) => {
|
|
197
|
+
const slot = slotFor(key);
|
|
198
|
+
slot.listeners.add(listener);
|
|
199
|
+
return () => {
|
|
200
|
+
slot.listeners.delete(listener);
|
|
201
|
+
evict();
|
|
202
|
+
};
|
|
203
|
+
},
|
|
204
|
+
send: (command) => {
|
|
205
|
+
switch (command.type) {
|
|
206
|
+
case "CACHE.FETCH":
|
|
207
|
+
if (command.key !== void 0) cache.fetch(command.key);
|
|
208
|
+
return;
|
|
209
|
+
case "CACHE.REFRESH":
|
|
210
|
+
if (command.key !== void 0) cache.refresh(command.key);
|
|
211
|
+
return;
|
|
212
|
+
case "CACHE.INVALIDATE":
|
|
213
|
+
if (command.tag !== void 0) cache.invalidate({ tag: command.tag });
|
|
214
|
+
else if (command.key !== void 0) cache.invalidate({ key: command.key });
|
|
215
|
+
return;
|
|
216
|
+
case "CACHE.KEY":
|
|
217
|
+
cache.fetch(command.key);
|
|
218
|
+
return;
|
|
219
|
+
case "CACHE.CLEAR":
|
|
220
|
+
cache.clear();
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
cache.actor = fromCallback(({ input, sendBack, receive }) => {
|
|
226
|
+
let key = input.key;
|
|
227
|
+
let stop = () => {
|
|
228
|
+
};
|
|
229
|
+
const watch = (next, fetch) => {
|
|
230
|
+
stop();
|
|
231
|
+
key = next;
|
|
232
|
+
const report = (view) => sendBack({ type: "CACHE.UPDATE", cache: options.id, key: next, view });
|
|
233
|
+
stop = cache.subscribe(next, report);
|
|
234
|
+
report(cache.peek(next));
|
|
235
|
+
if (fetch) cache.fetch(next);
|
|
236
|
+
};
|
|
237
|
+
watch(key, input.fetch !== false);
|
|
238
|
+
receive((command) => {
|
|
239
|
+
if (command.type === "CACHE.KEY") {
|
|
240
|
+
if (keyOf(command.key) !== keyOf(key)) watch(command.key, true);
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
if (command.type === "CACHE.CLEAR") return cache.clear();
|
|
244
|
+
if (command.type === "CACHE.INVALIDATE" && command.tag !== void 0) return cache.send(command);
|
|
245
|
+
cache.send({ ...command, key: command.key ?? key });
|
|
246
|
+
});
|
|
247
|
+
return () => stop();
|
|
248
|
+
});
|
|
249
|
+
return Object.defineProperty(cache, "size", { get: () => slots.size, enumerable: true });
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export {
|
|
253
|
+
CACHE_STATES,
|
|
254
|
+
isCacheableId,
|
|
255
|
+
createCacheEntryMachine,
|
|
256
|
+
cacheEntryMachine,
|
|
257
|
+
createChartCache
|
|
258
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// src/machines/clipboard.ts
|
|
2
|
+
import { playSound } from "@aeon-ui/core";
|
|
3
|
+
import { fromPromise, setup } from "xstate";
|
|
4
|
+
var CLIPBOARD_STATES = ["idle", "copying", "copied", "failed"];
|
|
5
|
+
var clipboardMachine = setup({
|
|
6
|
+
types: {
|
|
7
|
+
context: {},
|
|
8
|
+
events: {},
|
|
9
|
+
input: {}
|
|
10
|
+
},
|
|
11
|
+
actors: {
|
|
12
|
+
write: fromPromise(async ({ input }) => {
|
|
13
|
+
await navigator.clipboard.writeText(input.value);
|
|
14
|
+
})
|
|
15
|
+
},
|
|
16
|
+
actions: {
|
|
17
|
+
soundCopied: () => playSound("copy"),
|
|
18
|
+
soundFailed: () => playSound("error")
|
|
19
|
+
},
|
|
20
|
+
delays: {
|
|
21
|
+
timeout: ({ context }) => context.timeout
|
|
22
|
+
}
|
|
23
|
+
}).createMachine({
|
|
24
|
+
id: "clipboard",
|
|
25
|
+
context: ({ input }) => ({ timeout: input?.timeout ?? 1500 }),
|
|
26
|
+
initial: "idle",
|
|
27
|
+
states: {
|
|
28
|
+
idle: { on: { COPY: "copying" } },
|
|
29
|
+
copying: {
|
|
30
|
+
invoke: {
|
|
31
|
+
src: "write",
|
|
32
|
+
input: ({ event }) => ({ value: event.value }),
|
|
33
|
+
onDone: "copied",
|
|
34
|
+
onError: "failed"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
copied: { entry: "soundCopied", after: { timeout: "idle" }, on: { COPY: "copying" } },
|
|
38
|
+
failed: { entry: "soundFailed", after: { timeout: "idle" }, on: { COPY: "copying" } }
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export {
|
|
43
|
+
CLIPBOARD_STATES,
|
|
44
|
+
clipboardMachine
|
|
45
|
+
};
|
|
@@ -15,4 +15,6 @@ export { APP_SHELL_STATES, AppShellContext, AppShellEvent, AppShellState, appShe
|
|
|
15
15
|
export { AppNavChild, AppNavContext, AppNavEvent, appNavChild, appNavDepth, appNavMachine, appNavStateAttr } from './machines/app-nav.js';
|
|
16
16
|
export { STICKY_BAR_STATES, StickyBarContext, StickyBarEvent, StickyBarState, stickyBarMachine } from './machines/sticky-bar.js';
|
|
17
17
|
export { CONTENT_REGION_STATES, ContentRegionContext, ContentRegionEvent, ContentRegionState, contentRegionMachine } from './machines/content-region.js';
|
|
18
|
+
export { CLIPBOARD_STATES, ClipboardContext, ClipboardEvent, ClipboardStatus, clipboardMachine } from './machines/clipboard.js';
|
|
19
|
+
export { CACHE_STATES, CacheCommand, CacheEntryActor, CacheEntryContext, CacheEntryEvent, CacheEntryInput, CacheState, CacheUpdate, CacheView, ChartCache, ChartCacheOptions, cacheEntryMachine, createCacheEntryMachine, createChartCache, isCacheableId } from './machines/cache.js';
|
|
18
20
|
import 'xstate';
|
|
@@ -1,9 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
STICKY_BAR_STATES,
|
|
3
|
+
stickyBarMachine
|
|
4
|
+
} from "./chunk-YBPNI2LI.js";
|
|
5
|
+
import {
|
|
6
|
+
tabsMachine
|
|
7
|
+
} from "./chunk-HONROWUG.js";
|
|
1
8
|
import {
|
|
2
9
|
toastMachine
|
|
3
10
|
} from "./chunk-5S4DIRL4.js";
|
|
4
11
|
import {
|
|
5
12
|
toggleMachine
|
|
6
13
|
} from "./chunk-H4KOEPYC.js";
|
|
14
|
+
import {
|
|
15
|
+
CONTENT_REGION_STATES,
|
|
16
|
+
contentRegionMachine
|
|
17
|
+
} from "./chunk-RO2DMFN5.js";
|
|
18
|
+
import {
|
|
19
|
+
dialogMachine
|
|
20
|
+
} from "./chunk-SZV6KGXN.js";
|
|
7
21
|
import {
|
|
8
22
|
FIELD_INTERACTION_STATES,
|
|
9
23
|
FIELD_SUBMISSION_STATES,
|
|
@@ -31,13 +45,6 @@ import {
|
|
|
31
45
|
sliderMachine,
|
|
32
46
|
snap
|
|
33
47
|
} from "./chunk-VUPWYBGU.js";
|
|
34
|
-
import {
|
|
35
|
-
STICKY_BAR_STATES,
|
|
36
|
-
stickyBarMachine
|
|
37
|
-
} from "./chunk-YBPNI2LI.js";
|
|
38
|
-
import {
|
|
39
|
-
tabsMachine
|
|
40
|
-
} from "./chunk-HONROWUG.js";
|
|
41
48
|
import {
|
|
42
49
|
accordionMachine
|
|
43
50
|
} from "./chunk-JBAG5E6W.js";
|
|
@@ -62,16 +69,22 @@ import {
|
|
|
62
69
|
buttonLifecycleMachine
|
|
63
70
|
} from "./chunk-WVICCOQH.js";
|
|
64
71
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
72
|
+
CACHE_STATES,
|
|
73
|
+
cacheEntryMachine,
|
|
74
|
+
createCacheEntryMachine,
|
|
75
|
+
createChartCache,
|
|
76
|
+
isCacheableId
|
|
77
|
+
} from "./chunk-5BNAV4S2.js";
|
|
68
78
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
79
|
+
CLIPBOARD_STATES,
|
|
80
|
+
clipboardMachine
|
|
81
|
+
} from "./chunk-HYHCIMHC.js";
|
|
71
82
|
export {
|
|
72
83
|
APP_SHELL_STATES,
|
|
73
84
|
ASYNC_LIFECYCLE_STATES,
|
|
74
85
|
BUTTON_LIFECYCLE_STATES,
|
|
86
|
+
CACHE_STATES,
|
|
87
|
+
CLIPBOARD_STATES,
|
|
75
88
|
CONTENT_REGION_STATES,
|
|
76
89
|
FIELD_INTERACTION_STATES,
|
|
77
90
|
FIELD_SUBMISSION_STATES,
|
|
@@ -85,14 +98,19 @@ export {
|
|
|
85
98
|
appShellMachine,
|
|
86
99
|
asyncMachine,
|
|
87
100
|
buttonLifecycleMachine,
|
|
101
|
+
cacheEntryMachine,
|
|
88
102
|
clamp2 as clampRangeSliderValue,
|
|
89
103
|
clamp as clampSliderValue,
|
|
104
|
+
clipboardMachine,
|
|
90
105
|
contentRegionMachine,
|
|
91
106
|
createAsyncMachine,
|
|
107
|
+
createCacheEntryMachine,
|
|
108
|
+
createChartCache,
|
|
92
109
|
dialogMachine,
|
|
93
110
|
fieldMachine,
|
|
94
111
|
fileUploadMachine,
|
|
95
112
|
getFileUploadPhase,
|
|
113
|
+
isCacheableId,
|
|
96
114
|
isEmptyAsyncData,
|
|
97
115
|
normalizePair as normalizeRangeSliderValues,
|
|
98
116
|
panelMachine,
|
|
@@ -61,14 +61,14 @@ declare const appNavMachine: xstate.StateMachine<AppNavContext, {
|
|
|
61
61
|
type: "RESET";
|
|
62
62
|
section: string;
|
|
63
63
|
}, {}, never, {
|
|
64
|
-
type: "replace";
|
|
65
|
-
params: xstate.NonReducibleUnknown;
|
|
66
|
-
} | {
|
|
67
64
|
type: "pop";
|
|
68
65
|
params: xstate.NonReducibleUnknown;
|
|
69
66
|
} | {
|
|
70
67
|
type: "push";
|
|
71
68
|
params: xstate.NonReducibleUnknown;
|
|
69
|
+
} | {
|
|
70
|
+
type: "replace";
|
|
71
|
+
params: xstate.NonReducibleUnknown;
|
|
72
72
|
} | {
|
|
73
73
|
type: "clear";
|
|
74
74
|
params: xstate.NonReducibleUnknown;
|