@nation-a/ui 0.3.0 → 0.4.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/dist/index.cjs +4356 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +4356 -0
- package/dist/index.js.map +1 -0
- package/dist/styled-system/css/conditions.mjs +36 -0
- package/dist/styled-system/css/css.d.ts +22 -0
- package/dist/styled-system/css/css.mjs +45 -0
- package/dist/styled-system/css/cva.d.ts +6 -0
- package/dist/styled-system/css/cva.mjs +87 -0
- package/dist/styled-system/css/cx.d.ts +5 -0
- package/dist/styled-system/css/cx.mjs +15 -0
- package/dist/styled-system/css/index.d.ts +5 -0
- package/dist/styled-system/css/index.mjs +4 -0
- package/dist/styled-system/css/sva.d.ts +4 -0
- package/dist/styled-system/css/sva.mjs +41 -0
- package/dist/styled-system/helpers.mjs +336 -0
- package/dist/styled-system/jsx/aspect-ratio.d.ts +10 -0
- package/dist/styled-system/jsx/aspect-ratio.mjs +14 -0
- package/dist/styled-system/jsx/bleed.d.ts +10 -0
- package/dist/styled-system/jsx/bleed.mjs +14 -0
- package/dist/styled-system/jsx/box.d.ts +10 -0
- package/dist/styled-system/jsx/box.mjs +14 -0
- package/dist/styled-system/jsx/center.d.ts +10 -0
- package/dist/styled-system/jsx/center.mjs +14 -0
- package/dist/styled-system/jsx/circle.d.ts +10 -0
- package/dist/styled-system/jsx/circle.mjs +14 -0
- package/dist/styled-system/jsx/container.d.ts +10 -0
- package/dist/styled-system/jsx/container.mjs +14 -0
- package/dist/styled-system/jsx/cq.d.ts +10 -0
- package/dist/styled-system/jsx/cq.mjs +14 -0
- package/dist/styled-system/jsx/divider.d.ts +10 -0
- package/dist/styled-system/jsx/divider.mjs +14 -0
- package/dist/styled-system/jsx/factory-helper.mjs +22 -0
- package/dist/styled-system/jsx/factory.d.ts +3 -0
- package/dist/styled-system/jsx/factory.mjs +80 -0
- package/dist/styled-system/jsx/flex.d.ts +10 -0
- package/dist/styled-system/jsx/flex.mjs +14 -0
- package/dist/styled-system/jsx/float.d.ts +10 -0
- package/dist/styled-system/jsx/float.mjs +14 -0
- package/dist/styled-system/jsx/grid-item.d.ts +10 -0
- package/dist/styled-system/jsx/grid-item.mjs +14 -0
- package/dist/styled-system/jsx/grid.d.ts +10 -0
- package/dist/styled-system/jsx/grid.mjs +14 -0
- package/dist/styled-system/jsx/hstack.d.ts +10 -0
- package/dist/styled-system/jsx/hstack.mjs +14 -0
- package/dist/styled-system/jsx/index.d.ts +24 -0
- package/dist/styled-system/jsx/index.mjs +22 -0
- package/dist/styled-system/jsx/is-valid-prop.d.ts +11 -0
- package/dist/styled-system/jsx/is-valid-prop.mjs +17 -0
- package/dist/styled-system/jsx/link-overlay.d.ts +10 -0
- package/dist/styled-system/jsx/link-overlay.mjs +14 -0
- package/dist/styled-system/jsx/spacer.d.ts +10 -0
- package/dist/styled-system/jsx/spacer.mjs +14 -0
- package/dist/styled-system/jsx/square.d.ts +10 -0
- package/dist/styled-system/jsx/square.mjs +14 -0
- package/dist/styled-system/jsx/stack.d.ts +10 -0
- package/dist/styled-system/jsx/stack.mjs +14 -0
- package/dist/styled-system/jsx/visually-hidden.d.ts +10 -0
- package/dist/styled-system/jsx/visually-hidden.mjs +14 -0
- package/dist/styled-system/jsx/vstack.d.ts +10 -0
- package/dist/styled-system/jsx/vstack.mjs +14 -0
- package/dist/styled-system/jsx/wrap.d.ts +10 -0
- package/dist/styled-system/jsx/wrap.mjs +14 -0
- package/dist/styled-system/patterns/aspect-ratio.d.ts +21 -0
- package/dist/styled-system/patterns/aspect-ratio.mjs +38 -0
- package/dist/styled-system/patterns/bleed.d.ts +22 -0
- package/dist/styled-system/patterns/bleed.mjs +24 -0
- package/dist/styled-system/patterns/box.d.ts +21 -0
- package/dist/styled-system/patterns/box.mjs +15 -0
- package/dist/styled-system/patterns/center.d.ts +21 -0
- package/dist/styled-system/patterns/center.mjs +21 -0
- package/dist/styled-system/patterns/circle.d.ts +21 -0
- package/dist/styled-system/patterns/circle.mjs +25 -0
- package/dist/styled-system/patterns/container.d.ts +21 -0
- package/dist/styled-system/patterns/container.mjs +21 -0
- package/dist/styled-system/patterns/cq.d.ts +22 -0
- package/dist/styled-system/patterns/cq.mjs +21 -0
- package/dist/styled-system/patterns/divider.d.ts +23 -0
- package/dist/styled-system/patterns/divider.mjs +25 -0
- package/dist/styled-system/patterns/flex.d.ts +27 -0
- package/dist/styled-system/patterns/flex.mjs +26 -0
- package/dist/styled-system/patterns/float.d.ts +24 -0
- package/dist/styled-system/patterns/float.mjs +52 -0
- package/dist/styled-system/patterns/grid-item.d.ts +26 -0
- package/dist/styled-system/patterns/grid-item.mjs +25 -0
- package/dist/styled-system/patterns/grid.d.ts +25 -0
- package/dist/styled-system/patterns/grid.mjs +27 -0
- package/dist/styled-system/patterns/hstack.d.ts +22 -0
- package/dist/styled-system/patterns/hstack.mjs +24 -0
- package/dist/styled-system/patterns/index.d.ts +21 -0
- package/dist/styled-system/patterns/index.mjs +20 -0
- package/dist/styled-system/patterns/link-overlay.d.ts +21 -0
- package/dist/styled-system/patterns/link-overlay.mjs +24 -0
- package/dist/styled-system/patterns/spacer.d.ts +21 -0
- package/dist/styled-system/patterns/spacer.mjs +21 -0
- package/dist/styled-system/patterns/square.d.ts +21 -0
- package/dist/styled-system/patterns/square.mjs +24 -0
- package/dist/styled-system/patterns/stack.d.ts +24 -0
- package/dist/styled-system/patterns/stack.mjs +24 -0
- package/dist/styled-system/patterns/visually-hidden.d.ts +21 -0
- package/dist/styled-system/patterns/visually-hidden.mjs +18 -0
- package/dist/styled-system/patterns/vstack.d.ts +22 -0
- package/dist/styled-system/patterns/vstack.mjs +24 -0
- package/dist/styled-system/patterns/wrap.d.ts +25 -0
- package/dist/styled-system/patterns/wrap.mjs +25 -0
- package/dist/styled-system/styles.css +1497 -0
- package/dist/styled-system/tokens/index.d.ts +9 -0
- package/dist/styled-system/tokens/index.mjs +1884 -0
- package/dist/styled-system/tokens/tokens.d.ts +63 -0
- package/dist/styled-system/types/composition.d.ts +164 -0
- package/dist/styled-system/types/conditions.d.ts +288 -0
- package/dist/styled-system/types/csstype.d.ts +21298 -0
- package/dist/styled-system/types/global.d.ts +20 -0
- package/dist/styled-system/types/index.d.ts +8 -0
- package/dist/styled-system/types/jsx.d.ts +52 -0
- package/dist/styled-system/types/parts.d.ts +8 -0
- package/dist/styled-system/types/pattern.d.ts +78 -0
- package/dist/styled-system/types/prop-type.d.ts +253 -0
- package/dist/styled-system/types/recipe.d.ts +181 -0
- package/dist/styled-system/types/selectors.d.ts +59 -0
- package/dist/styled-system/types/static-css.d.ts +56 -0
- package/dist/styled-system/types/style-props.d.ts +7492 -0
- package/dist/styled-system/types/system-types.d.ts +193 -0
- package/dist/types/components/Button/button.recipe.d.ts +109 -0
- package/dist/types/components/Button/index.d.ts +17 -0
- package/dist/types/components/Dialog/dialog.recipe.d.ts +2 -0
- package/dist/types/components/Dialog/index.d.ts +15 -0
- package/dist/types/components/IconButton/icon-button.recipe.d.ts +79 -0
- package/dist/types/components/IconButton/index.d.ts +13 -0
- package/dist/types/components/Spinner/index.d.ts +24 -0
- package/dist/types/components/Spinner/spinner.recipe.d.ts +21 -0
- package/dist/types/components/Text/index.d.ts +7 -0
- package/dist/types/components/Text/text.recipe.d.ts +38 -0
- package/dist/types/components/index.d.ts +6 -0
- package/dist/types/index.d.ts +2 -12717
- package/dist/types/theme/breakpoints.d.ts +7 -0
- package/dist/types/theme/conditions.d.ts +16 -0
- package/dist/types/theme/global-css.d.ts +1 -0
- package/dist/types/theme/index.d.ts +1 -0
- package/dist/types/theme/keyframes.d.ts +1 -0
- package/dist/types/theme/tokens/animations.d.ts +41 -0
- package/dist/types/theme/tokens/blurs.d.ts +23 -0
- package/dist/types/theme/tokens/borders.d.ts +5 -0
- package/dist/types/theme/tokens/durations.d.ts +23 -0
- package/dist/types/theme/tokens/easings.d.ts +14 -0
- package/dist/types/theme/tokens/index.d.ts +833 -0
- package/dist/types/theme/tokens/radii.d.ts +32 -0
- package/dist/types/theme/tokens/sizes.d.ts +158 -0
- package/dist/types/theme/tokens/spacing.d.ts +107 -0
- package/dist/types/theme/tokens/typography.d.ts +121 -0
- package/dist/types/theme/tokens/z-index.d.ts +38 -0
- package/dist/types/utils/create-style-context.d.ts +20 -0
- package/dist/types/vite-env.d.ts +1 -0
- package/package.json +44 -11
- package/dist/cjs/index.cjs +0 -2
- package/dist/cjs/index.cjs.map +0 -1
- package/dist/esm/index.mjs +0 -217
- package/dist/esm/index.mjs.map +0 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
export type Token = "animations.backdrop-in" | "animations.backdrop-out" | "animations.dialog-in" | "animations.dialog-out" | "animations.drawer-in-left" | "animations.drawer-out-left" | "animations.drawer-in-right" | "animations.drawer-out-right" | "animations.skeleton-pulse" | "animations.fade-in" | "animations.collapse-in" | "animations.collapse-out" | "animations.spin" | "blurs.sm" | "blurs.base" | "blurs.md" | "blurs.lg" | "blurs.xl" | "blurs.2xl" | "blurs.3xl" | "borders.none" | "durations.fastest" | "durations.faster" | "durations.fast" | "durations.normal" | "durations.slow" | "durations.slower" | "durations.slowest" | "easings.pulse" | "easings.default" | "easings.emphasized-in" | "easings.emphasized-out" | "sizes.0" | "sizes.1" | "sizes.2" | "sizes.3" | "sizes.4" | "sizes.5" | "sizes.6" | "sizes.7" | "sizes.8" | "sizes.9" | "sizes.10" | "sizes.11" | "sizes.12" | "sizes.14" | "sizes.16" | "sizes.20" | "sizes.24" | "sizes.28" | "sizes.32" | "sizes.36" | "sizes.40" | "sizes.44" | "sizes.48" | "sizes.52" | "sizes.56" | "sizes.60" | "sizes.64" | "sizes.72" | "sizes.80" | "sizes.96" | "sizes.0.5" | "sizes.1.5" | "sizes.2.5" | "sizes.3.5" | "sizes.4.5" | "sizes.2xs" | "sizes.xs" | "sizes.sm" | "sizes.md" | "sizes.lg" | "sizes.xl" | "sizes.2xl" | "sizes.3xl" | "sizes.4xl" | "sizes.5xl" | "sizes.6xl" | "sizes.7xl" | "sizes.8xl" | "sizes.full" | "sizes.min" | "sizes.max" | "sizes.fit" | "sizes.breakpoint-sm" | "sizes.breakpoint-md" | "sizes.breakpoint-lg" | "sizes.breakpoint-xl" | "sizes.breakpoint-2xl" | "zIndex.hide" | "zIndex.base" | "zIndex.docked" | "zIndex.dropdown" | "zIndex.sticky" | "zIndex.banner" | "zIndex.overlay" | "zIndex.modal" | "zIndex.popover" | "zIndex.skipLink" | "zIndex.toast" | "zIndex.tooltip" | "colors.neutral.0" | "colors.neutral.100" | "colors.neutral.200" | "colors.neutral.300" | "colors.neutral.400" | "colors.neutral.500" | "colors.neutral.600" | "colors.neutral.700" | "colors.neutral.800" | "colors.neutral.900" | "colors.neutral.1000" | "colors.neutral.1050" | "colors.neutral.1100" | "colors.neutral.1200" | "colors.black.700A" | "colors.black.600A" | "colors.black.500A" | "colors.black.400A" | "colors.black.300A" | "colors.black.200A" | "colors.black.100A" | "colors.white.700A" | "colors.white.600A" | "colors.white.500A" | "colors.white.400A" | "colors.white.300A" | "colors.white.200A" | "colors.white.100A" | "colors.red.100" | "colors.red.200" | "colors.red.300" | "colors.red.400" | "colors.red.500" | "colors.red.600" | "colors.red.700" | "colors.red.800" | "colors.red.900" | "colors.red.1000" | "colors.orange.100" | "colors.orange.200" | "colors.orange.300" | "colors.orange.400" | "colors.orange.500" | "colors.orange.600" | "colors.orange.700" | "colors.orange.800" | "colors.orange.900" | "colors.orange.1000" | "colors.blue.100" | "colors.blue.200" | "colors.blue.300" | "colors.blue.400" | "colors.blue.500" | "colors.blue.600" | "colors.blue.700" | "colors.blue.800" | "colors.blue.900" | "colors.blue.1000" | "colors.green.100" | "colors.green.200" | "colors.green.300" | "colors.green.400" | "colors.green.500" | "colors.green.600" | "colors.green.700" | "colors.green.800" | "colors.green.900" | "colors.green.1000" | "colors.purple.100" | "colors.purple.200" | "colors.purple.300" | "colors.purple.400" | "colors.purple.500" | "colors.purple.600" | "colors.purple.700" | "colors.purple.800" | "colors.purple.900" | "colors.purple.1000" | "colors.ohre.100" | "colors.ohre.200" | "colors.ohre.300" | "colors.ohre.400" | "colors.ohre.500" | "colors.ohre.600" | "colors.ohre.700" | "colors.ohre.800" | "colors.ohre.900" | "colors.ohre.1000" | "colors.cyan.100" | "colors.cyan.200" | "colors.cyan.300" | "colors.cyan.400" | "colors.cyan.500" | "colors.cyan.600" | "colors.cyan.700" | "colors.cyan.800" | "colors.cyan.900" | "colors.cyan.1000" | "colors.yellow.100" | "colors.yellow.200" | "colors.yellow.300" | "colors.yellow.400" | "colors.yellow.500" | "colors.yellow.600" | "colors.yellow.700" | "colors.yellow.800" | "colors.yellow.900" | "colors.yellow.1000" | "borderWidths.none" | "borderWidths.sm" | "borderWidths.md" | "borderWidths.lg" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.6" | "spacing.8" | "spacing.12" | "spacing.20" | "spacing.30" | "spacing.56" | "spacing.72" | "spacing.98" | "spacing.128" | "spacing.160" | "radii.none" | "radii.xs" | "radii.sm" | "radii.md" | "radii.lg" | "radii.full" | "fontSizes.xs" | "fontSizes.sm" | "fontSizes.md" | "fontSizes.lg" | "fontSizes.xl" | "fontSizes.2xl" | "fontSizes.3xl" | "fontSizes.4xl" | "letterSpacings.xs" | "letterSpacings.sm" | "letterSpacings.md" | "letterSpacings.lg" | "letterSpacings.xl" | "letterSpacings.2xl" | "letterSpacings.3xl" | "lineHeights.md" | "lineHeights.lg" | "lineHeights.xl" | "lineHeights.2xl" | "lineHeights.3xl" | "lineHeights.4xl" | "lineHeights.5xl" | "fontWeights.regular" | "fontWeights.medium" | "fontWeights.semibold" | "fontWeights.bold" | "fontWeights.regularItalic" | "fontWeights.mediumItalic" | "fonts.inter" | "fonts.notoSans" | "breakpoints.sm" | "breakpoints.md" | "breakpoints.lg" | "breakpoints.xl" | "breakpoints.2xl" | "colors.content.neutral.bold" | "colors.content.neutral.default" | "colors.content.neutral.subtle" | "colors.content.neutral.subtlest" | "colors.content.neutral.disabled" | "colors.content.neutral.default_inverse" | "colors.content.neuroidPrimary.default" | "colors.content.neuroidPrimary.default_inverse" | "colors.content.danger.default" | "colors.content.warning.default" | "colors.content.success.default" | "colors.content.informative.default" | "colors.content.zoltarinaPrimary.default" | "colors.content.zoltarinaPrimary.defult_inverse" | "colors.content.heydPrimary.default" | "colors.content.heydPrimary.defult_inverse" | "colors.content.static.white.bold" | "colors.content.static.white.default" | "colors.content.static.white.subtle" | "colors.content.static.white.subtlest" | "colors.content.static.white.disabled" | "colors.content.static.black.bold" | "colors.content.static.black.default" | "colors.content.static.black.subtle" | "colors.content.static.black.subtlest" | "colors.content.static.black.disabled" | "colors.content.heybeePrimary.default" | "colors.content.heybeePrimary.default_inverse" | "colors.background.neutral.default" | "colors.background.neutral.selected" | "colors.background.neutral.disabled" | "colors.background.neuroidPrimary.default" | "colors.background.neuroidPrimary.selected" | "colors.background.neuroidSecondary.default" | "colors.background.neuroidSecondary.selected" | "colors.background.danger.default" | "colors.background.danger.selected" | "colors.background.warning.default" | "colors.background.warning.selected" | "colors.background.success.default" | "colors.background.success.selected" | "colors.background.informative.default" | "colors.background.informative.selected" | "colors.background.zoltarinaPrimary.default" | "colors.background.zoltarinaPrimary.selected" | "colors.background.zoltarinaSecondary.default" | "colors.background.zoltarinaSecondary.selected" | "colors.background.heydPrimary.default" | "colors.background.heydPrimary.selected" | "colors.background.heydSecondary.default" | "colors.background.heydSecondary.selected" | "colors.background.static.whiteAlpha.bold" | "colors.background.static.whiteAlpha.default" | "colors.background.static.whiteAlpha.selected" | "colors.background.static.whiteAlpha.disabled" | "colors.background.static.blackAlpha.bold" | "colors.background.static.blackAlpha.default" | "colors.background.static.blackAlpha.selected" | "colors.background.static.blackAlpha.disabled" | "colors.background.heybeePrimary.default" | "colors.background.heybeePrimary.selected" | "colors.surface.base" | "colors.surface.layer_1" | "colors.surface.layer_2" | "colors.shadow.overlay" | "colors.shadow.raised" | "colors.scrim.default" | "colors.skeleton.default" | "colors.skeleton.subtle" | "colors.border.neutral.default" | "colors.border.neutral.subtle" | "colors.border.neutral.disabled" | "colors.border.neuroidPrimary.default" | "colors.border.danger.default" | "colors.border.warning.default" | "colors.border.success.default" | "colors.border.informative.default" | "colors.border.zoltarinaPrimary.default" | "colors.border.heydPrimary.default" | "colors.border.heybeePrimary.default" | "shadows.raised" | "shadows.overlay" | "spacing.-1" | "spacing.-2" | "spacing.-3" | "spacing.-4" | "spacing.-6" | "spacing.-8" | "spacing.-12" | "spacing.-20" | "spacing.-30" | "spacing.-56" | "spacing.-72" | "spacing.-98" | "spacing.-128" | "spacing.-160" | "colors.colorPalette.0" | "colors.colorPalette.100" | "colors.colorPalette.200" | "colors.colorPalette.300" | "colors.colorPalette.400" | "colors.colorPalette.500" | "colors.colorPalette.600" | "colors.colorPalette.700" | "colors.colorPalette.800" | "colors.colorPalette.900" | "colors.colorPalette.1000" | "colors.colorPalette.1050" | "colors.colorPalette.1100" | "colors.colorPalette.1200" | "colors.colorPalette.700A" | "colors.colorPalette.600A" | "colors.colorPalette.500A" | "colors.colorPalette.400A" | "colors.colorPalette.300A" | "colors.colorPalette.200A" | "colors.colorPalette.100A" | "colors.colorPalette.neutral.bold" | "colors.colorPalette.bold" | "colors.colorPalette.neutral.default" | "colors.colorPalette.default" | "colors.colorPalette.neutral.subtle" | "colors.colorPalette.subtle" | "colors.colorPalette.neutral.subtlest" | "colors.colorPalette.subtlest" | "colors.colorPalette.neutral.disabled" | "colors.colorPalette.disabled" | "colors.colorPalette.neutral.default_inverse" | "colors.colorPalette.default_inverse" | "colors.colorPalette.neuroidPrimary.default" | "colors.colorPalette.neuroidPrimary.default_inverse" | "colors.colorPalette.danger.default" | "colors.colorPalette.warning.default" | "colors.colorPalette.success.default" | "colors.colorPalette.informative.default" | "colors.colorPalette.zoltarinaPrimary.default" | "colors.colorPalette.zoltarinaPrimary.defult_inverse" | "colors.colorPalette.defult_inverse" | "colors.colorPalette.heydPrimary.default" | "colors.colorPalette.heydPrimary.defult_inverse" | "colors.colorPalette.static.white.bold" | "colors.colorPalette.white.bold" | "colors.colorPalette.static.white.default" | "colors.colorPalette.white.default" | "colors.colorPalette.static.white.subtle" | "colors.colorPalette.white.subtle" | "colors.colorPalette.static.white.subtlest" | "colors.colorPalette.white.subtlest" | "colors.colorPalette.static.white.disabled" | "colors.colorPalette.white.disabled" | "colors.colorPalette.static.black.bold" | "colors.colorPalette.black.bold" | "colors.colorPalette.static.black.default" | "colors.colorPalette.black.default" | "colors.colorPalette.static.black.subtle" | "colors.colorPalette.black.subtle" | "colors.colorPalette.static.black.subtlest" | "colors.colorPalette.black.subtlest" | "colors.colorPalette.static.black.disabled" | "colors.colorPalette.black.disabled" | "colors.colorPalette.heybeePrimary.default" | "colors.colorPalette.heybeePrimary.default_inverse" | "colors.colorPalette.neutral.selected" | "colors.colorPalette.selected" | "colors.colorPalette.neuroidPrimary.selected" | "colors.colorPalette.neuroidSecondary.default" | "colors.colorPalette.neuroidSecondary.selected" | "colors.colorPalette.danger.selected" | "colors.colorPalette.warning.selected" | "colors.colorPalette.success.selected" | "colors.colorPalette.informative.selected" | "colors.colorPalette.zoltarinaPrimary.selected" | "colors.colorPalette.zoltarinaSecondary.default" | "colors.colorPalette.zoltarinaSecondary.selected" | "colors.colorPalette.heydPrimary.selected" | "colors.colorPalette.heydSecondary.default" | "colors.colorPalette.heydSecondary.selected" | "colors.colorPalette.static.whiteAlpha.bold" | "colors.colorPalette.whiteAlpha.bold" | "colors.colorPalette.static.whiteAlpha.default" | "colors.colorPalette.whiteAlpha.default" | "colors.colorPalette.static.whiteAlpha.selected" | "colors.colorPalette.whiteAlpha.selected" | "colors.colorPalette.static.whiteAlpha.disabled" | "colors.colorPalette.whiteAlpha.disabled" | "colors.colorPalette.static.blackAlpha.bold" | "colors.colorPalette.blackAlpha.bold" | "colors.colorPalette.static.blackAlpha.default" | "colors.colorPalette.blackAlpha.default" | "colors.colorPalette.static.blackAlpha.selected" | "colors.colorPalette.blackAlpha.selected" | "colors.colorPalette.static.blackAlpha.disabled" | "colors.colorPalette.blackAlpha.disabled" | "colors.colorPalette.heybeePrimary.selected" | "colors.colorPalette.base" | "colors.colorPalette.layer_1" | "colors.colorPalette.layer_2" | "colors.colorPalette.overlay" | "colors.colorPalette.raised"
|
|
3
|
+
|
|
4
|
+
export type ColorPalette = "neutral" | "black" | "white" | "red" | "orange" | "blue" | "green" | "purple" | "ohre" | "cyan" | "yellow" | "content" | "content.neutral" | "content.neuroidPrimary" | "content.danger" | "content.warning" | "content.success" | "content.informative" | "content.zoltarinaPrimary" | "content.heydPrimary" | "content.static" | "content.static.white" | "content.static.black" | "content.heybeePrimary" | "background" | "background.neutral" | "background.neuroidPrimary" | "background.neuroidSecondary" | "background.danger" | "background.warning" | "background.success" | "background.informative" | "background.zoltarinaPrimary" | "background.zoltarinaSecondary" | "background.heydPrimary" | "background.heydSecondary" | "background.static" | "background.static.whiteAlpha" | "background.static.blackAlpha" | "background.heybeePrimary" | "surface" | "shadow" | "scrim" | "skeleton" | "border" | "border.neutral" | "border.neuroidPrimary" | "border.danger" | "border.warning" | "border.success" | "border.informative" | "border.zoltarinaPrimary" | "border.heydPrimary" | "border.heybeePrimary"
|
|
5
|
+
|
|
6
|
+
export type AnimationToken = "backdrop-in" | "backdrop-out" | "dialog-in" | "dialog-out" | "drawer-in-left" | "drawer-out-left" | "drawer-in-right" | "drawer-out-right" | "skeleton-pulse" | "fade-in" | "collapse-in" | "collapse-out" | "spin"
|
|
7
|
+
|
|
8
|
+
export type BlurToken = "sm" | "base" | "md" | "lg" | "xl" | "2xl" | "3xl"
|
|
9
|
+
|
|
10
|
+
export type BorderToken = "none"
|
|
11
|
+
|
|
12
|
+
export type DurationToken = "fastest" | "faster" | "fast" | "normal" | "slow" | "slower" | "slowest"
|
|
13
|
+
|
|
14
|
+
export type EasingToken = "pulse" | "default" | "emphasized-in" | "emphasized-out"
|
|
15
|
+
|
|
16
|
+
export type SizeToken = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "full" | "min" | "max" | "fit" | "breakpoint-sm" | "breakpoint-md" | "breakpoint-lg" | "breakpoint-xl" | "breakpoint-2xl"
|
|
17
|
+
|
|
18
|
+
export type ZIndexToken = "hide" | "base" | "docked" | "dropdown" | "sticky" | "banner" | "overlay" | "modal" | "popover" | "skipLink" | "toast" | "tooltip"
|
|
19
|
+
|
|
20
|
+
export type ColorToken = "neutral.0" | "neutral.100" | "neutral.200" | "neutral.300" | "neutral.400" | "neutral.500" | "neutral.600" | "neutral.700" | "neutral.800" | "neutral.900" | "neutral.1000" | "neutral.1050" | "neutral.1100" | "neutral.1200" | "black.700A" | "black.600A" | "black.500A" | "black.400A" | "black.300A" | "black.200A" | "black.100A" | "white.700A" | "white.600A" | "white.500A" | "white.400A" | "white.300A" | "white.200A" | "white.100A" | "red.100" | "red.200" | "red.300" | "red.400" | "red.500" | "red.600" | "red.700" | "red.800" | "red.900" | "red.1000" | "orange.100" | "orange.200" | "orange.300" | "orange.400" | "orange.500" | "orange.600" | "orange.700" | "orange.800" | "orange.900" | "orange.1000" | "blue.100" | "blue.200" | "blue.300" | "blue.400" | "blue.500" | "blue.600" | "blue.700" | "blue.800" | "blue.900" | "blue.1000" | "green.100" | "green.200" | "green.300" | "green.400" | "green.500" | "green.600" | "green.700" | "green.800" | "green.900" | "green.1000" | "purple.100" | "purple.200" | "purple.300" | "purple.400" | "purple.500" | "purple.600" | "purple.700" | "purple.800" | "purple.900" | "purple.1000" | "ohre.100" | "ohre.200" | "ohre.300" | "ohre.400" | "ohre.500" | "ohre.600" | "ohre.700" | "ohre.800" | "ohre.900" | "ohre.1000" | "cyan.100" | "cyan.200" | "cyan.300" | "cyan.400" | "cyan.500" | "cyan.600" | "cyan.700" | "cyan.800" | "cyan.900" | "cyan.1000" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.500" | "yellow.600" | "yellow.700" | "yellow.800" | "yellow.900" | "yellow.1000" | "content.neutral.bold" | "content.neutral.default" | "content.neutral.subtle" | "content.neutral.subtlest" | "content.neutral.disabled" | "content.neutral.default_inverse" | "content.neuroidPrimary.default" | "content.neuroidPrimary.default_inverse" | "content.danger.default" | "content.warning.default" | "content.success.default" | "content.informative.default" | "content.zoltarinaPrimary.default" | "content.zoltarinaPrimary.defult_inverse" | "content.heydPrimary.default" | "content.heydPrimary.defult_inverse" | "content.static.white.bold" | "content.static.white.default" | "content.static.white.subtle" | "content.static.white.subtlest" | "content.static.white.disabled" | "content.static.black.bold" | "content.static.black.default" | "content.static.black.subtle" | "content.static.black.subtlest" | "content.static.black.disabled" | "content.heybeePrimary.default" | "content.heybeePrimary.default_inverse" | "background.neutral.default" | "background.neutral.selected" | "background.neutral.disabled" | "background.neuroidPrimary.default" | "background.neuroidPrimary.selected" | "background.neuroidSecondary.default" | "background.neuroidSecondary.selected" | "background.danger.default" | "background.danger.selected" | "background.warning.default" | "background.warning.selected" | "background.success.default" | "background.success.selected" | "background.informative.default" | "background.informative.selected" | "background.zoltarinaPrimary.default" | "background.zoltarinaPrimary.selected" | "background.zoltarinaSecondary.default" | "background.zoltarinaSecondary.selected" | "background.heydPrimary.default" | "background.heydPrimary.selected" | "background.heydSecondary.default" | "background.heydSecondary.selected" | "background.static.whiteAlpha.bold" | "background.static.whiteAlpha.default" | "background.static.whiteAlpha.selected" | "background.static.whiteAlpha.disabled" | "background.static.blackAlpha.bold" | "background.static.blackAlpha.default" | "background.static.blackAlpha.selected" | "background.static.blackAlpha.disabled" | "background.heybeePrimary.default" | "background.heybeePrimary.selected" | "surface.base" | "surface.layer_1" | "surface.layer_2" | "shadow.overlay" | "shadow.raised" | "scrim.default" | "skeleton.default" | "skeleton.subtle" | "border.neutral.default" | "border.neutral.subtle" | "border.neutral.disabled" | "border.neuroidPrimary.default" | "border.danger.default" | "border.warning.default" | "border.success.default" | "border.informative.default" | "border.zoltarinaPrimary.default" | "border.heydPrimary.default" | "border.heybeePrimary.default" | "colorPalette.0" | "colorPalette.100" | "colorPalette.200" | "colorPalette.300" | "colorPalette.400" | "colorPalette.500" | "colorPalette.600" | "colorPalette.700" | "colorPalette.800" | "colorPalette.900" | "colorPalette.1000" | "colorPalette.1050" | "colorPalette.1100" | "colorPalette.1200" | "colorPalette.700A" | "colorPalette.600A" | "colorPalette.500A" | "colorPalette.400A" | "colorPalette.300A" | "colorPalette.200A" | "colorPalette.100A" | "colorPalette.neutral.bold" | "colorPalette.bold" | "colorPalette.neutral.default" | "colorPalette.default" | "colorPalette.neutral.subtle" | "colorPalette.subtle" | "colorPalette.neutral.subtlest" | "colorPalette.subtlest" | "colorPalette.neutral.disabled" | "colorPalette.disabled" | "colorPalette.neutral.default_inverse" | "colorPalette.default_inverse" | "colorPalette.neuroidPrimary.default" | "colorPalette.neuroidPrimary.default_inverse" | "colorPalette.danger.default" | "colorPalette.warning.default" | "colorPalette.success.default" | "colorPalette.informative.default" | "colorPalette.zoltarinaPrimary.default" | "colorPalette.zoltarinaPrimary.defult_inverse" | "colorPalette.defult_inverse" | "colorPalette.heydPrimary.default" | "colorPalette.heydPrimary.defult_inverse" | "colorPalette.static.white.bold" | "colorPalette.white.bold" | "colorPalette.static.white.default" | "colorPalette.white.default" | "colorPalette.static.white.subtle" | "colorPalette.white.subtle" | "colorPalette.static.white.subtlest" | "colorPalette.white.subtlest" | "colorPalette.static.white.disabled" | "colorPalette.white.disabled" | "colorPalette.static.black.bold" | "colorPalette.black.bold" | "colorPalette.static.black.default" | "colorPalette.black.default" | "colorPalette.static.black.subtle" | "colorPalette.black.subtle" | "colorPalette.static.black.subtlest" | "colorPalette.black.subtlest" | "colorPalette.static.black.disabled" | "colorPalette.black.disabled" | "colorPalette.heybeePrimary.default" | "colorPalette.heybeePrimary.default_inverse" | "colorPalette.neutral.selected" | "colorPalette.selected" | "colorPalette.neuroidPrimary.selected" | "colorPalette.neuroidSecondary.default" | "colorPalette.neuroidSecondary.selected" | "colorPalette.danger.selected" | "colorPalette.warning.selected" | "colorPalette.success.selected" | "colorPalette.informative.selected" | "colorPalette.zoltarinaPrimary.selected" | "colorPalette.zoltarinaSecondary.default" | "colorPalette.zoltarinaSecondary.selected" | "colorPalette.heydPrimary.selected" | "colorPalette.heydSecondary.default" | "colorPalette.heydSecondary.selected" | "colorPalette.static.whiteAlpha.bold" | "colorPalette.whiteAlpha.bold" | "colorPalette.static.whiteAlpha.default" | "colorPalette.whiteAlpha.default" | "colorPalette.static.whiteAlpha.selected" | "colorPalette.whiteAlpha.selected" | "colorPalette.static.whiteAlpha.disabled" | "colorPalette.whiteAlpha.disabled" | "colorPalette.static.blackAlpha.bold" | "colorPalette.blackAlpha.bold" | "colorPalette.static.blackAlpha.default" | "colorPalette.blackAlpha.default" | "colorPalette.static.blackAlpha.selected" | "colorPalette.blackAlpha.selected" | "colorPalette.static.blackAlpha.disabled" | "colorPalette.blackAlpha.disabled" | "colorPalette.heybeePrimary.selected" | "colorPalette.base" | "colorPalette.layer_1" | "colorPalette.layer_2" | "colorPalette.overlay" | "colorPalette.raised"
|
|
21
|
+
|
|
22
|
+
export type BorderWidthToken = "none" | "sm" | "md" | "lg"
|
|
23
|
+
|
|
24
|
+
export type SpacingToken = "0" | "1" | "2" | "3" | "4" | "6" | "8" | "12" | "20" | "30" | "56" | "72" | "98" | "128" | "160" | "-1" | "-2" | "-3" | "-4" | "-6" | "-8" | "-12" | "-20" | "-30" | "-56" | "-72" | "-98" | "-128" | "-160"
|
|
25
|
+
|
|
26
|
+
export type RadiusToken = "none" | "xs" | "sm" | "md" | "lg" | "full"
|
|
27
|
+
|
|
28
|
+
export type FontSizeToken = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl"
|
|
29
|
+
|
|
30
|
+
export type LetterSpacingToken = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl"
|
|
31
|
+
|
|
32
|
+
export type LineHeightToken = "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl"
|
|
33
|
+
|
|
34
|
+
export type FontWeightToken = "regular" | "medium" | "semibold" | "bold" | "regularItalic" | "mediumItalic"
|
|
35
|
+
|
|
36
|
+
export type FontToken = "inter" | "notoSans"
|
|
37
|
+
|
|
38
|
+
export type BreakpointToken = "sm" | "md" | "lg" | "xl" | "2xl"
|
|
39
|
+
|
|
40
|
+
export type ShadowToken = "raised" | "overlay"
|
|
41
|
+
|
|
42
|
+
export type Tokens = {
|
|
43
|
+
animations: AnimationToken
|
|
44
|
+
blurs: BlurToken
|
|
45
|
+
borders: BorderToken
|
|
46
|
+
durations: DurationToken
|
|
47
|
+
easings: EasingToken
|
|
48
|
+
sizes: SizeToken
|
|
49
|
+
zIndex: ZIndexToken
|
|
50
|
+
colors: ColorToken
|
|
51
|
+
borderWidths: BorderWidthToken
|
|
52
|
+
spacing: SpacingToken
|
|
53
|
+
radii: RadiusToken
|
|
54
|
+
fontSizes: FontSizeToken
|
|
55
|
+
letterSpacings: LetterSpacingToken
|
|
56
|
+
lineHeights: LineHeightToken
|
|
57
|
+
fontWeights: FontWeightToken
|
|
58
|
+
fonts: FontToken
|
|
59
|
+
breakpoints: BreakpointToken
|
|
60
|
+
shadows: ShadowToken
|
|
61
|
+
} & { [token: string]: never }
|
|
62
|
+
|
|
63
|
+
export type TokenCategory = "aspectRatios" | "zIndex" | "opacity" | "colors" | "fonts" | "fontSizes" | "fontWeights" | "lineHeights" | "letterSpacings" | "sizes" | "cursor" | "shadows" | "spacing" | "radii" | "borders" | "borderWidths" | "durations" | "easings" | "animations" | "blurs" | "gradients" | "breakpoints" | "assets"
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { CompositionStyleObject } from './system-types';
|
|
3
|
+
|
|
4
|
+
interface Token<T> {
|
|
5
|
+
value: T
|
|
6
|
+
description?: string
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface Recursive<T> {
|
|
10
|
+
[key: string]: Recursive<T> | T
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* -----------------------------------------------------------------------------
|
|
14
|
+
* Text styles
|
|
15
|
+
* -----------------------------------------------------------------------------*/
|
|
16
|
+
|
|
17
|
+
type TextStyleProperty =
|
|
18
|
+
| 'font'
|
|
19
|
+
| 'fontFamily'
|
|
20
|
+
| 'fontFeatureSettings'
|
|
21
|
+
| 'fontKerning'
|
|
22
|
+
| 'fontLanguageOverride'
|
|
23
|
+
| 'fontOpticalSizing'
|
|
24
|
+
| 'fontPalette'
|
|
25
|
+
| 'fontSize'
|
|
26
|
+
| 'fontSizeAdjust'
|
|
27
|
+
| 'fontStretch'
|
|
28
|
+
| 'fontStyle'
|
|
29
|
+
| 'fontSynthesis'
|
|
30
|
+
| 'fontVariant'
|
|
31
|
+
| 'fontVariantAlternates'
|
|
32
|
+
| 'fontVariantCaps'
|
|
33
|
+
| 'fontVariantLigatures'
|
|
34
|
+
| 'fontVariantNumeric'
|
|
35
|
+
| 'fontVariantPosition'
|
|
36
|
+
| 'fontVariationSettings'
|
|
37
|
+
| 'fontWeight'
|
|
38
|
+
| 'hypens'
|
|
39
|
+
| 'hyphenateCharacter'
|
|
40
|
+
| 'hyphenateLimitChars'
|
|
41
|
+
| 'letterSpacing'
|
|
42
|
+
| 'lineBreak'
|
|
43
|
+
| 'lineHeight'
|
|
44
|
+
| 'quotes'
|
|
45
|
+
| 'overflowWrap'
|
|
46
|
+
| 'textCombineUpright'
|
|
47
|
+
| 'textDecoration'
|
|
48
|
+
| 'textDecorationColor'
|
|
49
|
+
| 'textDecorationLine'
|
|
50
|
+
| 'textDecorationSkipInk'
|
|
51
|
+
| 'textDecorationStyle'
|
|
52
|
+
| 'textDecorationThickness'
|
|
53
|
+
| 'textEmphasis'
|
|
54
|
+
| 'textEmphasisColor'
|
|
55
|
+
| 'textEmphasisPosition'
|
|
56
|
+
| 'textEmphasisStyle'
|
|
57
|
+
| 'textIndent'
|
|
58
|
+
| 'textJustify'
|
|
59
|
+
| 'textOrientation'
|
|
60
|
+
| 'textOverflow'
|
|
61
|
+
| 'textRendering'
|
|
62
|
+
| 'textShadow'
|
|
63
|
+
| 'textTransform'
|
|
64
|
+
| 'textUnderlineOffset'
|
|
65
|
+
| 'textUnderlinePosition'
|
|
66
|
+
| 'textWrap'
|
|
67
|
+
| 'textWrapMode'
|
|
68
|
+
| 'textWrapStyle'
|
|
69
|
+
| 'verticalAlign'
|
|
70
|
+
| 'whiteSpace'
|
|
71
|
+
| 'wordBreak'
|
|
72
|
+
| 'wordSpacing'
|
|
73
|
+
|
|
74
|
+
export type TextStyle = CompositionStyleObject<TextStyleProperty>
|
|
75
|
+
|
|
76
|
+
export type TextStyles = Recursive<Token<TextStyle>>
|
|
77
|
+
|
|
78
|
+
/* -----------------------------------------------------------------------------
|
|
79
|
+
* Layer styles
|
|
80
|
+
* -----------------------------------------------------------------------------*/
|
|
81
|
+
|
|
82
|
+
type Placement =
|
|
83
|
+
| 'Top'
|
|
84
|
+
| 'Right'
|
|
85
|
+
| 'Bottom'
|
|
86
|
+
| 'Left'
|
|
87
|
+
| 'Inline'
|
|
88
|
+
| 'Block'
|
|
89
|
+
| 'InlineStart'
|
|
90
|
+
| 'InlineEnd'
|
|
91
|
+
| 'BlockStart'
|
|
92
|
+
| 'BlockEnd'
|
|
93
|
+
|
|
94
|
+
type Radius =
|
|
95
|
+
| `Top${'Right' | 'Left'}`
|
|
96
|
+
| `Bottom${'Right' | 'Left'}`
|
|
97
|
+
| `Start${'Start' | 'End'}`
|
|
98
|
+
| `End${'Start' | 'End'}`
|
|
99
|
+
|
|
100
|
+
type LayerStyleProperty =
|
|
101
|
+
| 'background'
|
|
102
|
+
| 'backgroundColor'
|
|
103
|
+
| 'backgroundImage'
|
|
104
|
+
| 'borderRadius'
|
|
105
|
+
| 'border'
|
|
106
|
+
| 'borderWidth'
|
|
107
|
+
| 'borderColor'
|
|
108
|
+
| 'borderStyle'
|
|
109
|
+
| 'boxShadow'
|
|
110
|
+
| 'filter'
|
|
111
|
+
| 'backdropFilter'
|
|
112
|
+
| 'transform'
|
|
113
|
+
| 'color'
|
|
114
|
+
| 'opacity'
|
|
115
|
+
| 'backgroundBlendMode'
|
|
116
|
+
| 'backgroundAttachment'
|
|
117
|
+
| 'backgroundClip'
|
|
118
|
+
| 'backgroundOrigin'
|
|
119
|
+
| 'backgroundPosition'
|
|
120
|
+
| 'backgroundRepeat'
|
|
121
|
+
| 'backgroundSize'
|
|
122
|
+
| `border${Placement}`
|
|
123
|
+
| `border${Placement}Width`
|
|
124
|
+
| 'borderRadius'
|
|
125
|
+
| `border${Radius}Radius`
|
|
126
|
+
| `border${Placement}Color`
|
|
127
|
+
| `border${Placement}Style`
|
|
128
|
+
| 'padding'
|
|
129
|
+
| `padding${Placement}`
|
|
130
|
+
|
|
131
|
+
export type LayerStyle = CompositionStyleObject<LayerStyleProperty>
|
|
132
|
+
|
|
133
|
+
export type LayerStyles = Recursive<Token<LayerStyle>>
|
|
134
|
+
|
|
135
|
+
/* -----------------------------------------------------------------------------
|
|
136
|
+
* Motion styles
|
|
137
|
+
* -----------------------------------------------------------------------------*/
|
|
138
|
+
|
|
139
|
+
type AnimationStyleProperty =
|
|
140
|
+
| 'animation'
|
|
141
|
+
| 'animationComposition'
|
|
142
|
+
| 'animationDelay'
|
|
143
|
+
| 'animationDirection'
|
|
144
|
+
| 'animationDuration'
|
|
145
|
+
| 'animationFillMode'
|
|
146
|
+
| 'animationIterationCount'
|
|
147
|
+
| 'animationName'
|
|
148
|
+
| 'animationPlayState'
|
|
149
|
+
| 'animationTimingFunction'
|
|
150
|
+
| 'animationRange'
|
|
151
|
+
| 'animationRangeStart'
|
|
152
|
+
| 'animationRangeEnd'
|
|
153
|
+
| 'animationTimeline'
|
|
154
|
+
| 'transformOrigin'
|
|
155
|
+
|
|
156
|
+
export type AnimationStyle = CompositionStyleObject<AnimationStyleProperty>
|
|
157
|
+
|
|
158
|
+
export type AnimationStyles = Recursive<Token<AnimationStyle>>
|
|
159
|
+
|
|
160
|
+
export interface CompositionStyles {
|
|
161
|
+
textStyles: TextStyles
|
|
162
|
+
layerStyles: LayerStyles
|
|
163
|
+
animationStyles: AnimationStyles
|
|
164
|
+
}
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { AnySelector, Selectors } from './selectors';
|
|
3
|
+
|
|
4
|
+
export interface Conditions {
|
|
5
|
+
/** `@media (hover: hover) and (pointer: fine) &:is(:hover, [data-hover])` */
|
|
6
|
+
"_hover": string
|
|
7
|
+
/** `&:is(:focus, [data-focus])` */
|
|
8
|
+
"_focus": string
|
|
9
|
+
/** `&:focus-within` */
|
|
10
|
+
"_focusWithin": string
|
|
11
|
+
/** `&:is(:focus-visible, [data-focus-visible])` */
|
|
12
|
+
"_focusVisible": string
|
|
13
|
+
/** `&:is(:disabled, [disabled], [data-disabled])` */
|
|
14
|
+
"_disabled": string
|
|
15
|
+
/** `&:is(:active, [data-active])` */
|
|
16
|
+
"_active": string
|
|
17
|
+
/** `&:visited` */
|
|
18
|
+
"_visited": string
|
|
19
|
+
/** `&:target` */
|
|
20
|
+
"_target": string
|
|
21
|
+
/** `&:is(:read-only, [data-read-only])` */
|
|
22
|
+
"_readOnly": string
|
|
23
|
+
/** `&:read-write` */
|
|
24
|
+
"_readWrite": string
|
|
25
|
+
/** `&:is(:empty, [data-empty])` */
|
|
26
|
+
"_empty": string
|
|
27
|
+
/** `&:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"])` */
|
|
28
|
+
"_checked": string
|
|
29
|
+
/** `&:enabled` */
|
|
30
|
+
"_enabled": string
|
|
31
|
+
/** `&:is([aria-expanded=true], [data-expanded], [data-state="expanded"])` */
|
|
32
|
+
"_expanded": string
|
|
33
|
+
/** `&[data-highlighted]` */
|
|
34
|
+
"_highlighted": string
|
|
35
|
+
/** `&[data-complete]` */
|
|
36
|
+
"_complete": string
|
|
37
|
+
/** `&[data-incomplete]` */
|
|
38
|
+
"_incomplete": string
|
|
39
|
+
/** `&[data-dragging]` */
|
|
40
|
+
"_dragging": string
|
|
41
|
+
/** `&::before` */
|
|
42
|
+
"_before": string
|
|
43
|
+
/** `&::after` */
|
|
44
|
+
"_after": string
|
|
45
|
+
/** `&::first-letter` */
|
|
46
|
+
"_firstLetter": string
|
|
47
|
+
/** `&::first-line` */
|
|
48
|
+
"_firstLine": string
|
|
49
|
+
/** `&::marker` */
|
|
50
|
+
"_marker": string
|
|
51
|
+
/** `&::selection` */
|
|
52
|
+
"_selection": string
|
|
53
|
+
/** `&::file-selector-button` */
|
|
54
|
+
"_file": string
|
|
55
|
+
/** `&::backdrop` */
|
|
56
|
+
"_backdrop": string
|
|
57
|
+
/** `&:first-child` */
|
|
58
|
+
"_first": string
|
|
59
|
+
/** `&:last-child` */
|
|
60
|
+
"_last": string
|
|
61
|
+
/** `&:only-child` */
|
|
62
|
+
"_only": string
|
|
63
|
+
/** `&:nth-child(even)` */
|
|
64
|
+
"_even": string
|
|
65
|
+
/** `&:nth-child(odd)` */
|
|
66
|
+
"_odd": string
|
|
67
|
+
/** `&:first-of-type` */
|
|
68
|
+
"_firstOfType": string
|
|
69
|
+
/** `&:last-of-type` */
|
|
70
|
+
"_lastOfType": string
|
|
71
|
+
/** `&:only-of-type` */
|
|
72
|
+
"_onlyOfType": string
|
|
73
|
+
/** `.peer:is(:focus, [data-focus]) ~ &` */
|
|
74
|
+
"_peerFocus": string
|
|
75
|
+
/** `.peer:is(:hover, [data-hover]) ~ &` */
|
|
76
|
+
"_peerHover": string
|
|
77
|
+
/** `.peer:is(:active, [data-active]) ~ &` */
|
|
78
|
+
"_peerActive": string
|
|
79
|
+
/** `.peer:focus-within ~ &` */
|
|
80
|
+
"_peerFocusWithin": string
|
|
81
|
+
/** `.peer:is(:focus-visible, [data-focus-visible]) ~ &` */
|
|
82
|
+
"_peerFocusVisible": string
|
|
83
|
+
/** `.peer:is(:disabled, [disabled], [data-disabled]) ~ &` */
|
|
84
|
+
"_peerDisabled": string
|
|
85
|
+
/** `.peer:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) ~ &` */
|
|
86
|
+
"_peerChecked": string
|
|
87
|
+
/** `.peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &` */
|
|
88
|
+
"_peerInvalid": string
|
|
89
|
+
/** `.peer:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) ~ &` */
|
|
90
|
+
"_peerExpanded": string
|
|
91
|
+
/** `.peer:placeholder-shown ~ &` */
|
|
92
|
+
"_peerPlaceholderShown": string
|
|
93
|
+
/** `.group:is(:focus, [data-focus]) &` */
|
|
94
|
+
"_groupFocus": string
|
|
95
|
+
/** `.group:is(:hover, [data-hover]) &` */
|
|
96
|
+
"_groupHover": string
|
|
97
|
+
/** `.group:is(:active, [data-active]) &` */
|
|
98
|
+
"_groupActive": string
|
|
99
|
+
/** `.group:focus-within &` */
|
|
100
|
+
"_groupFocusWithin": string
|
|
101
|
+
/** `.group:is(:focus-visible, [data-focus-visible]) &` */
|
|
102
|
+
"_groupFocusVisible": string
|
|
103
|
+
/** `.group:is(:disabled, [disabled], [data-disabled]) &` */
|
|
104
|
+
"_groupDisabled": string
|
|
105
|
+
/** `.group:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) &` */
|
|
106
|
+
"_groupChecked": string
|
|
107
|
+
/** `.group:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) &` */
|
|
108
|
+
"_groupExpanded": string
|
|
109
|
+
/** `.group:invalid &` */
|
|
110
|
+
"_groupInvalid": string
|
|
111
|
+
/** `&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])` */
|
|
112
|
+
"_indeterminate": string
|
|
113
|
+
/** `&:is(:required, [data-required], [aria-required=true])` */
|
|
114
|
+
"_required": string
|
|
115
|
+
/** `&:is(:valid, [data-valid])` */
|
|
116
|
+
"_valid": string
|
|
117
|
+
/** `&:is([aria-invalid])` */
|
|
118
|
+
"_invalid": string
|
|
119
|
+
/** `&:autofill` */
|
|
120
|
+
"_autofill": string
|
|
121
|
+
/** `&:is(:in-range, [data-in-range])` */
|
|
122
|
+
"_inRange": string
|
|
123
|
+
/** `&:is(:out-of-range, [data-outside-range])` */
|
|
124
|
+
"_outOfRange": string
|
|
125
|
+
/** `&::placeholder, &[data-placeholder]` */
|
|
126
|
+
"_placeholder": string
|
|
127
|
+
/** `&:is(:placeholder-shown, [data-placeholder-shown])` */
|
|
128
|
+
"_placeholderShown": string
|
|
129
|
+
/** `&:is([aria-pressed=true], [data-pressed])` */
|
|
130
|
+
"_pressed": string
|
|
131
|
+
/** `&:is([aria-selected=true], [data-selected])` */
|
|
132
|
+
"_selected": string
|
|
133
|
+
/** `&:is([aria-grabbed=true], [data-grabbed])` */
|
|
134
|
+
"_grabbed": string
|
|
135
|
+
/** `&:is([data-state="under-value"])` */
|
|
136
|
+
"_underValue": string
|
|
137
|
+
/** `&[data-state=over-value]` */
|
|
138
|
+
"_overValue": string
|
|
139
|
+
/** `&[data-state=at-value]` */
|
|
140
|
+
"_atValue": string
|
|
141
|
+
/** `&:default` */
|
|
142
|
+
"_default": string
|
|
143
|
+
/** `&:optional` */
|
|
144
|
+
"_optional": string
|
|
145
|
+
/** `&:is([open], [data-open], [data-state="open"])` */
|
|
146
|
+
"_open": string
|
|
147
|
+
/** `&:is([closed], [data-closed], [data-state="closed"])` */
|
|
148
|
+
"_closed": string
|
|
149
|
+
/** `&:is(:fullscreen, [data-fullscreen])` */
|
|
150
|
+
"_fullscreen": string
|
|
151
|
+
/** `&:is([data-loading], [aria-busy=true])` */
|
|
152
|
+
"_loading": string
|
|
153
|
+
/** `&:is([hidden])` */
|
|
154
|
+
"_hidden": string
|
|
155
|
+
/** `&:is([data-current])` */
|
|
156
|
+
"_current": string
|
|
157
|
+
/** `&[aria-current=page]` */
|
|
158
|
+
"_currentPage": string
|
|
159
|
+
/** `&[aria-current=step]` */
|
|
160
|
+
"_currentStep": string
|
|
161
|
+
/** `&:is([data-today])` */
|
|
162
|
+
"_today": string
|
|
163
|
+
/** `&[data-unavailable]` */
|
|
164
|
+
"_unavailable": string
|
|
165
|
+
/** `&[data-range-start]` */
|
|
166
|
+
"_rangeStart": string
|
|
167
|
+
/** `&[data-range-end]` */
|
|
168
|
+
"_rangeEnd": string
|
|
169
|
+
/** `&[data-now]` */
|
|
170
|
+
"_now": string
|
|
171
|
+
/** `&[data-topmost]` */
|
|
172
|
+
"_topmost": string
|
|
173
|
+
/** `@media (prefers-reduced-motion: reduce)` */
|
|
174
|
+
"_motionReduce": string
|
|
175
|
+
/** `@media (prefers-reduced-motion: no-preference)` */
|
|
176
|
+
"_motionSafe": string
|
|
177
|
+
/** `@media print` */
|
|
178
|
+
"_print": string
|
|
179
|
+
/** `@media (orientation: landscape)` */
|
|
180
|
+
"_landscape": string
|
|
181
|
+
/** `@media (orientation: portrait)` */
|
|
182
|
+
"_portrait": string
|
|
183
|
+
/** `.dark &` */
|
|
184
|
+
"_dark": string
|
|
185
|
+
/** `:root &, .light &` */
|
|
186
|
+
"_light": string
|
|
187
|
+
/** `@media (prefers-color-scheme: dark)` */
|
|
188
|
+
"_osDark": string
|
|
189
|
+
/** `@media (prefers-color-scheme: light)` */
|
|
190
|
+
"_osLight": string
|
|
191
|
+
/** `@media (forced-colors: active)` */
|
|
192
|
+
"_highContrast": string
|
|
193
|
+
/** `@media (prefers-contrast: less)` */
|
|
194
|
+
"_lessContrast": string
|
|
195
|
+
/** `@media (prefers-contrast: more)` */
|
|
196
|
+
"_moreContrast": string
|
|
197
|
+
/** `[dir=ltr] &` */
|
|
198
|
+
"_ltr": string
|
|
199
|
+
/** `[dir=rtl] &` */
|
|
200
|
+
"_rtl": string
|
|
201
|
+
/** `&::-webkit-scrollbar` */
|
|
202
|
+
"_scrollbar": string
|
|
203
|
+
/** `&::-webkit-scrollbar-thumb` */
|
|
204
|
+
"_scrollbarThumb": string
|
|
205
|
+
/** `&::-webkit-scrollbar-track` */
|
|
206
|
+
"_scrollbarTrack": string
|
|
207
|
+
/** `&[data-orientation=horizontal]` */
|
|
208
|
+
"_horizontal": string
|
|
209
|
+
/** `&[data-orientation=vertical]` */
|
|
210
|
+
"_vertical": string
|
|
211
|
+
/** `& :where(svg)` */
|
|
212
|
+
"_icon": string
|
|
213
|
+
/** `@starting-style` */
|
|
214
|
+
"_starting": string
|
|
215
|
+
/** `&:is([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])` */
|
|
216
|
+
"_collapsed": string
|
|
217
|
+
/** `&:is([data-state="off"])` */
|
|
218
|
+
"_off": string
|
|
219
|
+
/** `&:is([data-state="on"])` */
|
|
220
|
+
"_on": string
|
|
221
|
+
/** `@media screen and (min-width: 40rem)` */
|
|
222
|
+
"sm": string
|
|
223
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */
|
|
224
|
+
"smOnly": string
|
|
225
|
+
/** `@media screen and (max-width: 39.9975rem)` */
|
|
226
|
+
"smDown": string
|
|
227
|
+
/** `@media screen and (min-width: 48rem)` */
|
|
228
|
+
"md": string
|
|
229
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */
|
|
230
|
+
"mdOnly": string
|
|
231
|
+
/** `@media screen and (max-width: 47.9975rem)` */
|
|
232
|
+
"mdDown": string
|
|
233
|
+
/** `@media screen and (min-width: 64rem)` */
|
|
234
|
+
"lg": string
|
|
235
|
+
/** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */
|
|
236
|
+
"lgOnly": string
|
|
237
|
+
/** `@media screen and (max-width: 63.9975rem)` */
|
|
238
|
+
"lgDown": string
|
|
239
|
+
/** `@media screen and (min-width: 80rem)` */
|
|
240
|
+
"xl": string
|
|
241
|
+
/** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */
|
|
242
|
+
"xlOnly": string
|
|
243
|
+
/** `@media screen and (max-width: 79.9975rem)` */
|
|
244
|
+
"xlDown": string
|
|
245
|
+
/** `@media screen and (min-width: 96rem)` */
|
|
246
|
+
"2xl": string
|
|
247
|
+
/** `@media screen and (min-width: 96rem)` */
|
|
248
|
+
"2xlOnly": string
|
|
249
|
+
/** `@media screen and (max-width: 95.9975rem)` */
|
|
250
|
+
"2xlDown": string
|
|
251
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */
|
|
252
|
+
"smToMd": string
|
|
253
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 63.9975rem)` */
|
|
254
|
+
"smToLg": string
|
|
255
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 79.9975rem)` */
|
|
256
|
+
"smToXl": string
|
|
257
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 95.9975rem)` */
|
|
258
|
+
"smTo2xl": string
|
|
259
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */
|
|
260
|
+
"mdToLg": string
|
|
261
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 79.9975rem)` */
|
|
262
|
+
"mdToXl": string
|
|
263
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 95.9975rem)` */
|
|
264
|
+
"mdTo2xl": string
|
|
265
|
+
/** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */
|
|
266
|
+
"lgToXl": string
|
|
267
|
+
/** `@media screen and (min-width: 64rem) and (max-width: 95.9975rem)` */
|
|
268
|
+
"lgTo2xl": string
|
|
269
|
+
/** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */
|
|
270
|
+
"xlTo2xl": string
|
|
271
|
+
/** The base (=no conditions) styles to apply */
|
|
272
|
+
"base": string
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export type ConditionalValue<V> =
|
|
276
|
+
| V
|
|
277
|
+
| Array<V | null>
|
|
278
|
+
| {
|
|
279
|
+
[K in keyof Conditions]?: ConditionalValue<V>
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export type Nested<P> = P & {
|
|
283
|
+
[K in Selectors]?: Nested<P>
|
|
284
|
+
} & {
|
|
285
|
+
[K in AnySelector]?: Nested<P>
|
|
286
|
+
} & {
|
|
287
|
+
[K in keyof Conditions]?: Nested<P>
|
|
288
|
+
}
|