@mekari/pixel3-styled-system 0.1.1-dev.0 → 0.1.2-dev.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 +46 -0
- package/css/conditions.mjs +1 -1
- package/jsx/is-valid-prop.mjs +1 -1
- package/package.json +1 -1
- package/recipes/avatar-slot-recipe.mjs +4 -1
- package/recipes/badge-recipe.d.ts +4 -4
- package/recipes/badge-recipe.mjs +250 -42
- package/recipes/button-recipe.mjs +21 -4
- package/recipes/selected-border-recipe.mjs +80 -76
- package/recipes/tab-recipe.mjs +6 -0
- package/recipes/tab-selected-border-recipe.mjs +7 -1
- package/recipes/tag-slot-recipe.mjs +18 -2
- package/recipes/toast-slot-recipe.mjs +8 -2
- package/themes/index.d.ts +21 -0
- package/themes/index.mjs +24 -0
- package/themes/new.json +5 -0
- package/themes/next.json +5 -0
- package/tokens/index.mjs +1191 -211
- package/tokens/tokens.d.ts +6 -6
- package/types/conditions.d.ts +5 -1
- package/types/prop-type.d.ts +14 -13
- package/types/style-props.d.ts +35 -35
package/tokens/tokens.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
export type Token = "borders.none" | "borders.sm" | "borders.md" | "borders.lg" | "colors.currentcolor" | "colors.dark" | "colors.white" | "colors.background" | "colors.overlay" | "colors.brand.capital" | "colors.brand.esign" | "colors.brand.expense" | "colors.brand.flex" | "colors.brand.jurnal" | "colors.brand.klikpajak" | "colors.brand.mekari" | "colors.brand.qontak" | "colors.brand.talenta" | "colors.brand.university" | "colors.whiteAlpha.50" | "colors.whiteAlpha.100" | "colors.whiteAlpha.200" | "colors.whiteAlpha.300" | "colors.whiteAlpha.400" | "colors.whiteAlpha.500" | "colors.whiteAlpha.600" | "colors.whiteAlpha.700" | "colors.whiteAlpha.800" | "colors.whiteAlpha.900" | "colors.blackAlpha.50" | "colors.blackAlpha.100" | "colors.blackAlpha.200" | "colors.blackAlpha.300" | "colors.blackAlpha.400" | "colors.blackAlpha.500" | "colors.blackAlpha.600" | "colors.blackAlpha.700" | "colors.blackAlpha.800" | "colors.blackAlpha.900" | "colors.gray.25" | "colors.gray.50" | "colors.gray.100" | "colors.gray.400" | "colors.gray.600" | "colors.blue.50" | "colors.blue.100" | "colors.blue.400" | "colors.blue.500" | "colors.blue.700" | "colors.red.50" | "colors.red.400" | "colors.red.500" | "colors.red.700" | "colors.green.50" | "colors.green.400" | "colors.green.500" | "colors.green.700" | "colors.orange.50" | "colors.orange.400" | "colors.orange.500" | "colors.orange.700" | "colors.sky.100" | "colors.sky.400" | "colors.teal.100" | "colors.teal.400" | "colors.violet.100" | "colors.violet.400" | "colors.amber.100" | "colors.amber.400" | "colors.rose.100" | "colors.rose.400" | "colors.stone.100" | "colors.stone.400" | "colors.lime.100" | "colors.lime.400" | "colors.pink.100" | "colors.pink.400" | "colors.apricot.100" | "colors.apricot.400" | "colors.aqua.100" | "colors.aqua.400" | "colors.leaf.100" | "colors.leaf.400" | "colors.fuchsia.100" | "colors.fuchsia.400" | "colors.ice.50" | "colors.ice.100" | "colors.ash.100" | "durations.slow" | "durations.normal" | "durations.fast" | "fonts.body" | "fonts.mono" | "fontSizes.xs" | "fontSizes.sm" | "fontSizes.md" | "fontSizes.lg" | "fontSizes.xl" | "fontSizes.2xl" | "fontWeights.regular" | "fontWeights.semiBold" | "fontWeights.bold" | "lineHeights.xs" | "lineHeights.sm" | "lineHeights.md" | "lineHeights.lg" | "lineHeights.xl" | "lineHeights.2xl" | "lineHeights.3xl" | "letterSpacings.tighter" | "letterSpacings.tight" | "letterSpacings.normal" | "letterSpacings.wide" | "letterSpacings.wider" | "letterSpacings.widest" | "opacity.0" | "opacity.40" | "opacity.60" | "opacity.100" | "radii.none" | "radii.xs" | "radii.sm" | "radii.md" | "radii.lg" | "radii.xl" | "radii.full" | "shadows.xs" | "shadows.sm" | "shadows.md" | "shadows.lg" | "shadows.focus" | "shadows.xl" | "shadows.2xl" | "shadows.outline" | "shadows.outline-tab" | "shadows.outer" | "shadows.inner" | "shadows.none" | "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.16" | "sizes.20" | "sizes.22" | "sizes.56" | "sizes.65" | "sizes.0.25" | "sizes.0.5" | "sizes.2.5" | "sizes.7.5" | "sizes.9.5" | "sizes.full" | "sizes.sm" | "sizes.breakpoint-sm" | "sizes.breakpoint-md" | "sizes.breakpoint-lg" | "sizes.breakpoint-xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.8" | "spacing.12" | "spacing.16" | "spacing.20" | "spacing.24" | "spacing.32" | "spacing.40" | "spacing.64" | "spacing.0.5" | "spacing.1.5" | "zIndex.hide" | "zIndex.base" | "zIndex.docked" | "zIndex.sticky" | "zIndex.overlay" | "zIndex.modal" | "zIndex.popover" | "zIndex.tooltip" | "breakpoints.sm" | "breakpoints.md" | "breakpoints.lg" | "breakpoints.xl" | "spacing.-0" | "spacing.-1" | "spacing.-2" | "spacing.-3" | "spacing.-4" | "spacing.-5" | "spacing.-6" | "spacing.-8" | "spacing.-12" | "spacing.-16" | "spacing.-20" | "spacing.-24" | "spacing.-32" | "spacing.-40" | "spacing.-64" | "spacing.-0.5" | "spacing.-1.5" | "colors.colorPalette" | "colors.colorPalette.capital" | "colors.colorPalette.esign" | "colors.colorPalette.expense" | "colors.colorPalette.flex" | "colors.colorPalette.jurnal" | "colors.colorPalette.klikpajak" | "colors.colorPalette.mekari" | "colors.colorPalette.qontak" | "colors.colorPalette.talenta" | "colors.colorPalette.university" | "colors.colorPalette.50" | "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.25"
|
|
2
|
+
export type Token = "borderWidths.none" | "borderWidths.sm" | "borderWidths.md" | "borderWidths.lg" | "colors.debug" | "colors.currentcolor" | "colors.dark" | "colors.background" | "colors.overlay" | "colors.white" | "colors.whiteAlpha.50" | "colors.whiteAlpha.100" | "colors.whiteAlpha.200" | "colors.whiteAlpha.300" | "colors.whiteAlpha.400" | "colors.whiteAlpha.500" | "colors.whiteAlpha.600" | "colors.whiteAlpha.700" | "colors.whiteAlpha.800" | "colors.whiteAlpha.900" | "colors.blackAlpha.50" | "colors.blackAlpha.100" | "colors.blackAlpha.200" | "colors.blackAlpha.300" | "colors.blackAlpha.400" | "colors.blackAlpha.500" | "colors.blackAlpha.600" | "colors.blackAlpha.700" | "colors.blackAlpha.800" | "colors.blackAlpha.900" | "colors.gray.25" | "colors.gray.50" | "colors.gray.100" | "colors.gray.400" | "colors.gray.600" | "colors.blue.50" | "colors.blue.100" | "colors.blue.400" | "colors.blue.500" | "colors.blue.700" | "colors.red.50" | "colors.red.400" | "colors.red.500" | "colors.red.700" | "colors.green.50" | "colors.green.400" | "colors.green.500" | "colors.green.700" | "colors.orange.50" | "colors.orange.400" | "colors.orange.500" | "colors.orange.700" | "colors.sky.100" | "colors.sky.400" | "colors.teal.100" | "colors.teal.400" | "colors.violet.100" | "colors.violet.400" | "colors.amber.100" | "colors.amber.400" | "colors.rose.100" | "colors.rose.400" | "colors.stone.100" | "colors.stone.400" | "colors.lime.100" | "colors.lime.400" | "colors.pink.100" | "colors.pink.400" | "colors.apricot.100" | "colors.apricot.400" | "colors.aqua.100" | "colors.aqua.400" | "colors.leaf.100" | "colors.leaf.400" | "colors.fuchsia.100" | "colors.fuchsia.400" | "colors.ice.50" | "colors.ice.100" | "colors.ash.100" | "colors.brand.capital" | "colors.brand.esign" | "colors.brand.expense" | "colors.brand.flex" | "colors.brand.jurnal" | "colors.brand.klikpajak" | "colors.brand.mekari" | "colors.brand.qontak" | "colors.brand.talenta" | "colors.brand.university" | "durations.slow" | "durations.normal" | "durations.fast" | "fonts.body" | "fonts.mono" | "fontSizes.xs" | "fontSizes.sm" | "fontSizes.md" | "fontSizes.lg" | "fontSizes.xl" | "fontSizes.2xl" | "fontWeights.regular" | "fontWeights.semiBold" | "fontWeights.bold" | "lineHeights.xs" | "lineHeights.sm" | "lineHeights.md" | "lineHeights.lg" | "lineHeights.xl" | "lineHeights.2xl" | "lineHeights.3xl" | "letterSpacings.tighter" | "letterSpacings.tight" | "letterSpacings.normal" | "letterSpacings.wide" | "letterSpacings.wider" | "letterSpacings.widest" | "opacity.0" | "opacity.40" | "opacity.60" | "opacity.100" | "radii.none" | "radii.xs" | "radii.sm" | "radii.md" | "radii.lg" | "radii.xl" | "radii.full" | "shadows.xs" | "shadows.sm" | "shadows.md" | "shadows.lg" | "shadows.focus" | "shadows.xl" | "shadows.2xl" | "shadows.outline" | "shadows.outline-tab" | "shadows.outer" | "shadows.inner" | "shadows.none" | "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.16" | "sizes.20" | "sizes.22" | "sizes.56" | "sizes.65" | "sizes.0.25" | "sizes.0.5" | "sizes.2.5" | "sizes.7.5" | "sizes.9.5" | "sizes.full" | "sizes.sm" | "sizes.breakpoint-sm" | "sizes.breakpoint-md" | "sizes.breakpoint-lg" | "sizes.breakpoint-xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.8" | "spacing.12" | "spacing.16" | "spacing.20" | "spacing.24" | "spacing.32" | "spacing.40" | "spacing.64" | "spacing.0.5" | "spacing.1.5" | "zIndex.hide" | "zIndex.base" | "zIndex.docked" | "zIndex.sticky" | "zIndex.overlay" | "zIndex.modal" | "zIndex.popover" | "zIndex.tooltip" | "breakpoints.sm" | "breakpoints.md" | "breakpoints.lg" | "breakpoints.xl" | "borderWidths.xl" | "borderWidths.2xl" | "colors.dark.100" | "colors.dark.200" | "colors.dark.250" | "colors.dark.300" | "colors.dark.350" | "colors.dark.400" | "colors.dark.500" | "colors.dark.600" | "colors.dark.700" | "colors.dark.800" | "colors.dark.900" | "colors.dark.1000" | "colors.dark.-100" | "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.blue.200" | "colors.blue.300" | "colors.blue.600" | "colors.blue.800" | "colors.blue.900" | "colors.blue.1000" | "colors.indigo.100" | "colors.indigo.200" | "colors.indigo.300" | "colors.indigo.400" | "colors.indigo.500" | "colors.indigo.600" | "colors.indigo.700" | "colors.indigo.800" | "colors.indigo.900" | "colors.indigo.1000" | "colors.violet.200" | "colors.violet.300" | "colors.violet.500" | "colors.violet.600" | "colors.violet.700" | "colors.violet.800" | "colors.violet.900" | "colors.violet.1000" | "colors.fuchsia.200" | "colors.fuchsia.300" | "colors.fuchsia.500" | "colors.fuchsia.600" | "colors.fuchsia.700" | "colors.fuchsia.800" | "colors.fuchsia.900" | "colors.fuchsia.1000" | "colors.red.100" | "colors.red.200" | "colors.red.300" | "colors.red.600" | "colors.red.800" | "colors.red.900" | "colors.red.1000" | "colors.orange.100" | "colors.orange.200" | "colors.orange.300" | "colors.orange.600" | "colors.orange.800" | "colors.orange.900" | "colors.orange.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" | "colors.lime.200" | "colors.lime.300" | "colors.lime.500" | "colors.lime.600" | "colors.lime.700" | "colors.lime.800" | "colors.lime.900" | "colors.lime.1000" | "colors.green.100" | "colors.green.200" | "colors.green.300" | "colors.green.600" | "colors.green.800" | "colors.green.900" | "colors.green.1000" | "colors.teal.200" | "colors.teal.300" | "colors.teal.500" | "colors.teal.600" | "colors.teal.700" | "colors.teal.800" | "colors.teal.900" | "colors.teal.1000" | "spacing.10" | "colors.background.surface" | "colors.background.stage" | "colors.background.overlay" | "colors.background.disabled" | "colors.background.inverse" | "colors.background.shadow" | "colors.background.neutral" | "colors.background.neutral.hovered" | "colors.background.neutral.pressed" | "colors.background.neutral.subtle" | "colors.background.neutral.subtle.hovered" | "colors.background.neutral.subtle.pressed" | "colors.background.neutral.bold" | "colors.background.neutral.bold.hovered" | "colors.background.neutral.bold.pressed" | "colors.background.brand" | "colors.background.brand.hovered" | "colors.background.brand.pressed" | "colors.background.brand.selected" | "colors.background.brand.bold" | "colors.background.brand.bold.hovered" | "colors.background.brand.bold.pressed" | "colors.background.brand.bold.selected" | "colors.background.tertiary" | "colors.background.tertiary.hovered" | "colors.background.tertiary.pressed" | "colors.background.danger" | "colors.background.danger.hovered" | "colors.background.danger.pressed" | "colors.background.danger.bold" | "colors.background.danger.bold.hovered" | "colors.background.danger.bold.pressed" | "colors.background.warning" | "colors.background.warning.hovered" | "colors.background.warning.pressed" | "colors.background.warning.bold" | "colors.background.warning.bold.hovered" | "colors.background.warning.bold.pressed" | "colors.background.success" | "colors.background.success.hovered" | "colors.background.success.pressed" | "colors.background.success.bold" | "colors.background.success.bold.hovered" | "colors.background.success.bold.pressed" | "colors.background.highlight" | "colors.background.highlight.hovered" | "colors.background.highlight.pressed" | "colors.background.highlight.bold" | "colors.background.highlight.bold.hovered" | "colors.background.highlight.bold.pressed" | "colors.nav.parent" | "colors.nav.stack" | "colors.nav.stack.hovered" | "colors.text.default" | "colors.text.default.static" | "colors.text.secondary" | "colors.text.secondary.pressed" | "colors.text.placeholder" | "colors.text.disabled" | "colors.text.inverse" | "colors.text.inverse.static" | "colors.text.selected" | "colors.text.danger" | "colors.text.danger.pressed" | "colors.text.warning" | "colors.text.warning.inverse" | "colors.text.success" | "colors.text.highlight" | "colors.text.information" | "colors.text.link" | "colors.text.link.pressed" | "colors.icon.default" | "colors.icon.disabled" | "colors.icon.inverse" | "colors.icon.inverse.static" | "colors.icon.selected" | "colors.icon.brand" | "colors.icon.danger" | "colors.icon.warning" | "colors.icon.warning.inverse" | "colors.icon.success" | "colors.icon.highlight" | "colors.icon.information" | "colors.icon.subtle" | "colors.icon.logo" | "colors.border.default" | "colors.border.bold" | "colors.border.disabled" | "colors.border.form" | "colors.border.focused" | "colors.border.inverse" | "colors.border.selected" | "colors.border.selected.hovered" | "colors.border.selected.disabled" | "colors.border.brand" | "colors.border.danger" | "colors.border.warning" | "colors.border.success" | "colors.border.highlight" | "colors.border.information" | "colors.chart.cat01" | "colors.chart.cat01.bold" | "colors.chart.cat02" | "colors.chart.cat02.bold" | "colors.chart.cat03" | "colors.chart.cat03.bold" | "colors.chart.cat04" | "colors.chart.cat04.bold" | "colors.chart.cat05" | "colors.chart.cat05.bold" | "colors.chart.cat06" | "colors.chart.cat06.bold" | "colors.chart.cat07" | "colors.chart.cat07.bold" | "colors.chart.cat08" | "colors.chart.cat08.bold" | "spacing.4xs" | "spacing.3xs" | "spacing.2xs" | "spacing.xs" | "spacing.sm" | "spacing.md" | "spacing.lg" | "spacing.xl" | "spacing.2xl" | "spacing.3xl" | "spacing.4xl" | "spacing.-0" | "spacing.-1" | "spacing.-2" | "spacing.-3" | "spacing.-4" | "spacing.-5" | "spacing.-6" | "spacing.-8" | "spacing.-12" | "spacing.-16" | "spacing.-20" | "spacing.-24" | "spacing.-32" | "spacing.-40" | "spacing.-64" | "spacing.-0.5" | "spacing.-1.5" | "spacing.-10" | "spacing.-4xs" | "spacing.-3xs" | "spacing.-2xs" | "spacing.-xs" | "spacing.-sm" | "spacing.-md" | "spacing.-lg" | "spacing.-xl" | "spacing.-2xl" | "spacing.-3xl" | "spacing.-4xl" | "colors.colorPalette" | "colors.colorPalette.50" | "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.25" | "colors.colorPalette.capital" | "colors.colorPalette.esign" | "colors.colorPalette.expense" | "colors.colorPalette.flex" | "colors.colorPalette.jurnal" | "colors.colorPalette.klikpajak" | "colors.colorPalette.mekari" | "colors.colorPalette.qontak" | "colors.colorPalette.talenta" | "colors.colorPalette.university"
|
|
3
3
|
|
|
4
|
-
export type ColorPalette = "
|
|
4
|
+
export type ColorPalette = "debug" | "currentcolor" | "dark" | "background" | "overlay" | "white" | "whiteAlpha" | "blackAlpha" | "gray" | "blue" | "red" | "green" | "orange" | "sky" | "teal" | "violet" | "amber" | "rose" | "stone" | "lime" | "pink" | "apricot" | "aqua" | "leaf" | "fuchsia" | "ice" | "ash" | "brand"
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type BorderWidthToken = "none" | "sm" | "md" | "lg" | "xl" | "2xl"
|
|
7
7
|
|
|
8
|
-
export type ColorToken = "
|
|
8
|
+
export type ColorToken = "debug" | "currentcolor" | "dark" | "background" | "overlay" | "white" | "whiteAlpha.50" | "whiteAlpha.100" | "whiteAlpha.200" | "whiteAlpha.300" | "whiteAlpha.400" | "whiteAlpha.500" | "whiteAlpha.600" | "whiteAlpha.700" | "whiteAlpha.800" | "whiteAlpha.900" | "blackAlpha.50" | "blackAlpha.100" | "blackAlpha.200" | "blackAlpha.300" | "blackAlpha.400" | "blackAlpha.500" | "blackAlpha.600" | "blackAlpha.700" | "blackAlpha.800" | "blackAlpha.900" | "gray.25" | "gray.50" | "gray.100" | "gray.400" | "gray.600" | "blue.50" | "blue.100" | "blue.400" | "blue.500" | "blue.700" | "red.50" | "red.400" | "red.500" | "red.700" | "green.50" | "green.400" | "green.500" | "green.700" | "orange.50" | "orange.400" | "orange.500" | "orange.700" | "sky.100" | "sky.400" | "teal.100" | "teal.400" | "violet.100" | "violet.400" | "amber.100" | "amber.400" | "rose.100" | "rose.400" | "stone.100" | "stone.400" | "lime.100" | "lime.400" | "pink.100" | "pink.400" | "apricot.100" | "apricot.400" | "aqua.100" | "aqua.400" | "leaf.100" | "leaf.400" | "fuchsia.100" | "fuchsia.400" | "ice.50" | "ice.100" | "ash.100" | "brand.capital" | "brand.esign" | "brand.expense" | "brand.flex" | "brand.jurnal" | "brand.klikpajak" | "brand.mekari" | "brand.qontak" | "brand.talenta" | "brand.university" | "dark.100" | "dark.200" | "dark.250" | "dark.300" | "dark.350" | "dark.400" | "dark.500" | "dark.600" | "dark.700" | "dark.800" | "dark.900" | "dark.1000" | "dark.-100" | "neutral.100" | "neutral.200" | "neutral.300" | "neutral.400" | "neutral.500" | "neutral.600" | "neutral.700" | "neutral.800" | "neutral.900" | "neutral.1000" | "blue.200" | "blue.300" | "blue.600" | "blue.800" | "blue.900" | "blue.1000" | "indigo.100" | "indigo.200" | "indigo.300" | "indigo.400" | "indigo.500" | "indigo.600" | "indigo.700" | "indigo.800" | "indigo.900" | "indigo.1000" | "violet.200" | "violet.300" | "violet.500" | "violet.600" | "violet.700" | "violet.800" | "violet.900" | "violet.1000" | "fuchsia.200" | "fuchsia.300" | "fuchsia.500" | "fuchsia.600" | "fuchsia.700" | "fuchsia.800" | "fuchsia.900" | "fuchsia.1000" | "red.100" | "red.200" | "red.300" | "red.600" | "red.800" | "red.900" | "red.1000" | "orange.100" | "orange.200" | "orange.300" | "orange.600" | "orange.800" | "orange.900" | "orange.1000" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.500" | "yellow.600" | "yellow.700" | "yellow.800" | "yellow.900" | "yellow.1000" | "lime.200" | "lime.300" | "lime.500" | "lime.600" | "lime.700" | "lime.800" | "lime.900" | "lime.1000" | "green.100" | "green.200" | "green.300" | "green.600" | "green.800" | "green.900" | "green.1000" | "teal.200" | "teal.300" | "teal.500" | "teal.600" | "teal.700" | "teal.800" | "teal.900" | "teal.1000" | "background.surface" | "background.stage" | "background.overlay" | "background.disabled" | "background.inverse" | "background.shadow" | "background.neutral" | "background.neutral.hovered" | "background.neutral.pressed" | "background.neutral.subtle" | "background.neutral.subtle.hovered" | "background.neutral.subtle.pressed" | "background.neutral.bold" | "background.neutral.bold.hovered" | "background.neutral.bold.pressed" | "background.brand" | "background.brand.hovered" | "background.brand.pressed" | "background.brand.selected" | "background.brand.bold" | "background.brand.bold.hovered" | "background.brand.bold.pressed" | "background.brand.bold.selected" | "background.tertiary" | "background.tertiary.hovered" | "background.tertiary.pressed" | "background.danger" | "background.danger.hovered" | "background.danger.pressed" | "background.danger.bold" | "background.danger.bold.hovered" | "background.danger.bold.pressed" | "background.warning" | "background.warning.hovered" | "background.warning.pressed" | "background.warning.bold" | "background.warning.bold.hovered" | "background.warning.bold.pressed" | "background.success" | "background.success.hovered" | "background.success.pressed" | "background.success.bold" | "background.success.bold.hovered" | "background.success.bold.pressed" | "background.highlight" | "background.highlight.hovered" | "background.highlight.pressed" | "background.highlight.bold" | "background.highlight.bold.hovered" | "background.highlight.bold.pressed" | "nav.parent" | "nav.stack" | "nav.stack.hovered" | "text.default" | "text.default.static" | "text.secondary" | "text.secondary.pressed" | "text.placeholder" | "text.disabled" | "text.inverse" | "text.inverse.static" | "text.selected" | "text.danger" | "text.danger.pressed" | "text.warning" | "text.warning.inverse" | "text.success" | "text.highlight" | "text.information" | "text.link" | "text.link.pressed" | "icon.default" | "icon.disabled" | "icon.inverse" | "icon.inverse.static" | "icon.selected" | "icon.brand" | "icon.danger" | "icon.warning" | "icon.warning.inverse" | "icon.success" | "icon.highlight" | "icon.information" | "icon.subtle" | "icon.logo" | "border.default" | "border.bold" | "border.disabled" | "border.form" | "border.focused" | "border.inverse" | "border.selected" | "border.selected.hovered" | "border.selected.disabled" | "border.brand" | "border.danger" | "border.warning" | "border.success" | "border.highlight" | "border.information" | "chart.cat01" | "chart.cat01.bold" | "chart.cat02" | "chart.cat02.bold" | "chart.cat03" | "chart.cat03.bold" | "chart.cat04" | "chart.cat04.bold" | "chart.cat05" | "chart.cat05.bold" | "chart.cat06" | "chart.cat06.bold" | "chart.cat07" | "chart.cat07.bold" | "chart.cat08" | "chart.cat08.bold" | "colorPalette" | "colorPalette.50" | "colorPalette.100" | "colorPalette.200" | "colorPalette.300" | "colorPalette.400" | "colorPalette.500" | "colorPalette.600" | "colorPalette.700" | "colorPalette.800" | "colorPalette.900" | "colorPalette.25" | "colorPalette.capital" | "colorPalette.esign" | "colorPalette.expense" | "colorPalette.flex" | "colorPalette.jurnal" | "colorPalette.klikpajak" | "colorPalette.mekari" | "colorPalette.qontak" | "colorPalette.talenta" | "colorPalette.university"
|
|
9
9
|
|
|
10
10
|
export type DurationToken = "slow" | "normal" | "fast"
|
|
11
11
|
|
|
@@ -27,14 +27,14 @@ export type ShadowToken = "xs" | "sm" | "md" | "lg" | "focus" | "xl" | "2xl" | "
|
|
|
27
27
|
|
|
28
28
|
export type SizeToken = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "16" | "20" | "22" | "56" | "65" | "0.25" | "0.5" | "2.5" | "7.5" | "9.5" | "full" | "sm" | "breakpoint-sm" | "breakpoint-md" | "breakpoint-lg" | "breakpoint-xl"
|
|
29
29
|
|
|
30
|
-
export type SpacingToken = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "8" | "12" | "16" | "20" | "24" | "32" | "40" | "64" | "0.5" | "1.5" | "-0" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-8" | "-12" | "-16" | "-20" | "-24" | "-32" | "-40" | "-64" | "-0.5" | "-1.5"
|
|
30
|
+
export type SpacingToken = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "8" | "12" | "16" | "20" | "24" | "32" | "40" | "64" | "0.5" | "1.5" | "-0" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-8" | "-12" | "-16" | "-20" | "-24" | "-32" | "-40" | "-64" | "-0.5" | "-1.5" | "-10" | "-4xs" | "-3xs" | "-2xs" | "-xs" | "-sm" | "-md" | "-lg" | "-xl" | "-2xl" | "-3xl" | "-4xl" | "10" | "4xs" | "3xs" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl"
|
|
31
31
|
|
|
32
32
|
export type ZIndexToken = "hide" | "base" | "docked" | "sticky" | "overlay" | "modal" | "popover" | "tooltip"
|
|
33
33
|
|
|
34
34
|
export type BreakpointToken = "sm" | "md" | "lg" | "xl"
|
|
35
35
|
|
|
36
36
|
export type Tokens = {
|
|
37
|
-
|
|
37
|
+
borderWidths: BorderWidthToken
|
|
38
38
|
colors: ColorToken
|
|
39
39
|
durations: DurationToken
|
|
40
40
|
fonts: FontToken
|
package/types/conditions.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface Conditions {
|
|
|
12
12
|
"_focusVisible": string
|
|
13
13
|
/** `&:is(:disabled, [disabled], [aria-disabled=true], [data-disabled])` */
|
|
14
14
|
"_disabled": string
|
|
15
|
-
/**
|
|
15
|
+
/** `&:is(:active, [data-active], [data-active=true])` */
|
|
16
16
|
"_active": string
|
|
17
17
|
/** `&:visited` */
|
|
18
18
|
"_visited": string
|
|
@@ -200,6 +200,8 @@ export interface Conditions {
|
|
|
200
200
|
"_placementLeft": string
|
|
201
201
|
/** `&[data-placement=right]` */
|
|
202
202
|
"_placementRight": string
|
|
203
|
+
/** `[data-panda-theme=next] &` */
|
|
204
|
+
"_nextTheme": string
|
|
203
205
|
/** `@media screen and (min-width: 22.5rem)` */
|
|
204
206
|
"sm": string
|
|
205
207
|
/** `@media screen and (min-width: 22.5rem) and (max-width: 47.9975rem)` */
|
|
@@ -236,6 +238,8 @@ export interface Conditions {
|
|
|
236
238
|
"mdToXl": string
|
|
237
239
|
/** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */
|
|
238
240
|
"lgToXl": string
|
|
241
|
+
/** `& [data-panda-theme=next]` */
|
|
242
|
+
"_themeNext": string
|
|
239
243
|
/** The base (=no conditions) styles to apply */
|
|
240
244
|
"base": string
|
|
241
245
|
}
|
package/types/prop-type.d.ts
CHANGED
|
@@ -57,9 +57,11 @@ export interface UtilityValues {
|
|
|
57
57
|
marginInlineStart: "auto" | Tokens["spacing"];
|
|
58
58
|
spaceX: "auto" | Tokens["spacing"] | CssProperties["marginInlineStart"];
|
|
59
59
|
spaceY: "auto" | Tokens["spacing"] | CssProperties["marginBlockStart"];
|
|
60
|
+
outlineWidth: Tokens["borderWidths"];
|
|
60
61
|
outlineColor: Tokens["colors"];
|
|
61
|
-
outline: Tokens["borders"];
|
|
62
62
|
outlineOffset: Tokens["spacing"];
|
|
63
|
+
divideX: Tokens["borderWidths"];
|
|
64
|
+
divideY: Tokens["borderWidths"];
|
|
63
65
|
divideColor: Tokens["colors"];
|
|
64
66
|
divideStyle: CssProperties["borderStyle"];
|
|
65
67
|
width: "auto" | Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
@@ -110,27 +112,25 @@ export interface UtilityValues {
|
|
|
110
112
|
borderEndStartRadius: Tokens["radii"];
|
|
111
113
|
borderEndEndRadius: Tokens["radii"];
|
|
112
114
|
borderEndRadius: Tokens["radii"] | CssProperties["borderRadius"];
|
|
113
|
-
|
|
115
|
+
borderWidth: Tokens["borderWidths"];
|
|
116
|
+
borderTopWidth: Tokens["borderWidths"];
|
|
117
|
+
borderLeftWidth: Tokens["borderWidths"];
|
|
118
|
+
borderRightWidth: Tokens["borderWidths"];
|
|
119
|
+
borderBottomWidth: Tokens["borderWidths"];
|
|
114
120
|
borderColor: Tokens["colors"];
|
|
115
|
-
|
|
121
|
+
borderInlineWidth: Tokens["borderWidths"];
|
|
116
122
|
borderInlineColor: Tokens["colors"];
|
|
117
|
-
|
|
123
|
+
borderBlockWidth: Tokens["borderWidths"];
|
|
118
124
|
borderBlockColor: Tokens["colors"];
|
|
119
|
-
borderLeft: Tokens["borders"];
|
|
120
125
|
borderLeftColor: Tokens["colors"];
|
|
121
|
-
|
|
126
|
+
borderInlineStartWidth: Tokens["borderWidths"];
|
|
122
127
|
borderInlineStartColor: Tokens["colors"];
|
|
123
|
-
borderRight: Tokens["borders"];
|
|
124
128
|
borderRightColor: Tokens["colors"];
|
|
125
|
-
|
|
129
|
+
borderInlineEndWidth: Tokens["borderWidths"];
|
|
126
130
|
borderInlineEndColor: Tokens["colors"];
|
|
127
|
-
borderTop: Tokens["borders"];
|
|
128
131
|
borderTopColor: Tokens["colors"];
|
|
129
|
-
borderBottom: Tokens["borders"];
|
|
130
132
|
borderBottomColor: Tokens["colors"];
|
|
131
|
-
borderBlockEnd: Tokens["borders"];
|
|
132
133
|
borderBlockEndColor: Tokens["colors"];
|
|
133
|
-
borderBlockStart: Tokens["borders"];
|
|
134
134
|
borderBlockStartColor: Tokens["colors"];
|
|
135
135
|
opacity: Tokens["opacity"];
|
|
136
136
|
boxShadow: Tokens["shadows"];
|
|
@@ -192,10 +192,11 @@ export interface UtilityValues {
|
|
|
192
192
|
scrollSnapMarginRight: Tokens["spacing"];
|
|
193
193
|
fill: Tokens["colors"];
|
|
194
194
|
stroke: Tokens["colors"];
|
|
195
|
+
strokeWidth: Tokens["borderWidths"];
|
|
195
196
|
srOnly: boolean;
|
|
196
197
|
debug: boolean;
|
|
197
198
|
containerName: CssProperties["containerName"];
|
|
198
|
-
colorPalette: "
|
|
199
|
+
colorPalette: "debug" | "currentcolor" | "dark" | "background" | "overlay" | "white" | "whiteAlpha" | "blackAlpha" | "gray" | "blue" | "red" | "green" | "orange" | "sky" | "teal" | "violet" | "amber" | "rose" | "stone" | "lime" | "pink" | "apricot" | "aqua" | "leaf" | "fuchsia" | "ice" | "ash" | "brand";
|
|
199
200
|
textStyle: "overline" | "body.sm" | "body.md" | "label.sm" | "label.md" | "h3" | "h2" | "h1";
|
|
200
201
|
}
|
|
201
202
|
|
package/types/style-props.d.ts
CHANGED
|
@@ -766,7 +766,7 @@ blockSize?: ConditionalValue<UtilityValues["blockSize"] | CssVars | CssPropertie
|
|
|
766
766
|
*
|
|
767
767
|
* @see https://developer.mozilla.org/docs/Web/CSS/border
|
|
768
768
|
*/
|
|
769
|
-
border?: ConditionalValue<
|
|
769
|
+
border?: ConditionalValue<CssProperties["border"] | AnyString>
|
|
770
770
|
/**
|
|
771
771
|
* The **`border-block`** CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet.
|
|
772
772
|
*
|
|
@@ -778,7 +778,7 @@ border?: ConditionalValue<UtilityValues["border"] | CssVars | CssProperties["bor
|
|
|
778
778
|
*
|
|
779
779
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-block
|
|
780
780
|
*/
|
|
781
|
-
borderBlock?: ConditionalValue<
|
|
781
|
+
borderBlock?: ConditionalValue<CssProperties["borderBlock"] | AnyString>
|
|
782
782
|
/**
|
|
783
783
|
* The **`border-block-color`** CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-color`, or `border-right-color` and `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
784
784
|
*
|
|
@@ -820,7 +820,7 @@ borderBlockStyle?: ConditionalValue<CssVars | CssProperties["borderBlockStyle"]
|
|
|
820
820
|
*
|
|
821
821
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-width
|
|
822
822
|
*/
|
|
823
|
-
borderBlockWidth?: ConditionalValue<CssProperties["borderBlockWidth"] | AnyString>
|
|
823
|
+
borderBlockWidth?: ConditionalValue<UtilityValues["borderBlockWidth"] | CssVars | CssProperties["borderBlockWidth"] | AnyString>
|
|
824
824
|
/**
|
|
825
825
|
* The **`border-block-end`** CSS property is a shorthand property for setting the individual logical block-end border property values in a single place in the style sheet.
|
|
826
826
|
*
|
|
@@ -832,7 +832,7 @@ borderBlockWidth?: ConditionalValue<CssProperties["borderBlockWidth"] | AnyStrin
|
|
|
832
832
|
*
|
|
833
833
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-end
|
|
834
834
|
*/
|
|
835
|
-
borderBlockEnd?: ConditionalValue<
|
|
835
|
+
borderBlockEnd?: ConditionalValue<CssProperties["borderBlockEnd"] | AnyString>
|
|
836
836
|
/**
|
|
837
837
|
* The **`border-block-end-color`** CSS property defines the color of the logical block-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
838
838
|
*
|
|
@@ -886,7 +886,7 @@ borderBlockEndWidth?: ConditionalValue<CssProperties["borderBlockEndWidth"] | An
|
|
|
886
886
|
*
|
|
887
887
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-start
|
|
888
888
|
*/
|
|
889
|
-
borderBlockStart?: ConditionalValue<
|
|
889
|
+
borderBlockStart?: ConditionalValue<CssProperties["borderBlockStart"] | AnyString>
|
|
890
890
|
/**
|
|
891
891
|
* The **`border-block-start-color`** CSS property defines the color of the logical block-start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
892
892
|
*
|
|
@@ -940,7 +940,7 @@ borderBlockStartWidth?: ConditionalValue<CssProperties["borderBlockStartWidth"]
|
|
|
940
940
|
*
|
|
941
941
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom
|
|
942
942
|
*/
|
|
943
|
-
borderBottom?: ConditionalValue<
|
|
943
|
+
borderBottom?: ConditionalValue<CssProperties["borderBottom"] | AnyString>
|
|
944
944
|
/**
|
|
945
945
|
* The **`border-bottom-color`** CSS property sets the color of an element's bottom border. It can also be set with the shorthand CSS properties `border-color` or `border-bottom`.
|
|
946
946
|
*
|
|
@@ -1012,7 +1012,7 @@ borderBottomStyle?: ConditionalValue<CssVars | CssProperties["borderBottomStyle"
|
|
|
1012
1012
|
*
|
|
1013
1013
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-width
|
|
1014
1014
|
*/
|
|
1015
|
-
borderBottomWidth?: ConditionalValue<CssProperties["borderBottomWidth"] | AnyString>
|
|
1015
|
+
borderBottomWidth?: ConditionalValue<UtilityValues["borderBottomWidth"] | CssVars | CssProperties["borderBottomWidth"] | AnyString>
|
|
1016
1016
|
/**
|
|
1017
1017
|
* The **`border-collapse`** CSS property sets whether cells inside a `<table>` have shared or separate borders.
|
|
1018
1018
|
*
|
|
@@ -1161,7 +1161,7 @@ borderImageWidth?: ConditionalValue<CssProperties["borderImageWidth"] | AnyStrin
|
|
|
1161
1161
|
*
|
|
1162
1162
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline
|
|
1163
1163
|
*/
|
|
1164
|
-
borderInline?: ConditionalValue<
|
|
1164
|
+
borderInline?: ConditionalValue<CssProperties["borderInline"] | AnyString>
|
|
1165
1165
|
/**
|
|
1166
1166
|
* The **`border-inline-end`** CSS property is a shorthand property for setting the individual logical inline-end border property values in a single place in the style sheet.
|
|
1167
1167
|
*
|
|
@@ -1173,7 +1173,7 @@ borderInline?: ConditionalValue<UtilityValues["borderInline"] | CssVars | CssPro
|
|
|
1173
1173
|
*
|
|
1174
1174
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end
|
|
1175
1175
|
*/
|
|
1176
|
-
borderInlineEnd?: ConditionalValue<
|
|
1176
|
+
borderInlineEnd?: ConditionalValue<CssProperties["borderInlineEnd"] | AnyString>
|
|
1177
1177
|
/**
|
|
1178
1178
|
* The **`border-inline-color`** CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-color`, or `border-right-color` and `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
1179
1179
|
*
|
|
@@ -1215,7 +1215,7 @@ borderInlineStyle?: ConditionalValue<CssVars | CssProperties["borderInlineStyle"
|
|
|
1215
1215
|
*
|
|
1216
1216
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-width
|
|
1217
1217
|
*/
|
|
1218
|
-
borderInlineWidth?: ConditionalValue<CssProperties["borderInlineWidth"] | AnyString>
|
|
1218
|
+
borderInlineWidth?: ConditionalValue<UtilityValues["borderInlineWidth"] | CssVars | CssProperties["borderInlineWidth"] | AnyString>
|
|
1219
1219
|
/**
|
|
1220
1220
|
* The **`border-inline-end-color`** CSS property defines the color of the logical inline-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
1221
1221
|
*
|
|
@@ -1260,7 +1260,7 @@ borderInlineEndStyle?: ConditionalValue<CssVars | CssProperties["borderInlineEnd
|
|
|
1260
1260
|
*
|
|
1261
1261
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width
|
|
1262
1262
|
*/
|
|
1263
|
-
borderInlineEndWidth?: ConditionalValue<CssProperties["borderInlineEndWidth"] | AnyString>
|
|
1263
|
+
borderInlineEndWidth?: ConditionalValue<UtilityValues["borderInlineEndWidth"] | CssVars | CssProperties["borderInlineEndWidth"] | AnyString>
|
|
1264
1264
|
/**
|
|
1265
1265
|
* The **`border-inline-start`** CSS property is a shorthand property for setting the individual logical inline-start border property values in a single place in the style sheet.
|
|
1266
1266
|
*
|
|
@@ -1272,7 +1272,7 @@ borderInlineEndWidth?: ConditionalValue<CssProperties["borderInlineEndWidth"] |
|
|
|
1272
1272
|
*
|
|
1273
1273
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start
|
|
1274
1274
|
*/
|
|
1275
|
-
borderInlineStart?: ConditionalValue<
|
|
1275
|
+
borderInlineStart?: ConditionalValue<CssProperties["borderInlineStart"] | AnyString>
|
|
1276
1276
|
/**
|
|
1277
1277
|
* The **`border-inline-start-color`** CSS property defines the color of the logical inline start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
1278
1278
|
*
|
|
@@ -1316,7 +1316,7 @@ borderInlineStartStyle?: ConditionalValue<CssVars | CssProperties["borderInlineS
|
|
|
1316
1316
|
*
|
|
1317
1317
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width
|
|
1318
1318
|
*/
|
|
1319
|
-
borderInlineStartWidth?: ConditionalValue<CssProperties["borderInlineStartWidth"] | AnyString>
|
|
1319
|
+
borderInlineStartWidth?: ConditionalValue<UtilityValues["borderInlineStartWidth"] | CssVars | CssProperties["borderInlineStartWidth"] | AnyString>
|
|
1320
1320
|
/**
|
|
1321
1321
|
* The **`border-left`** shorthand CSS property sets all the properties of an element's left border.
|
|
1322
1322
|
*
|
|
@@ -1328,7 +1328,7 @@ borderInlineStartWidth?: ConditionalValue<CssProperties["borderInlineStartWidth"
|
|
|
1328
1328
|
*
|
|
1329
1329
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-left
|
|
1330
1330
|
*/
|
|
1331
|
-
borderLeft?: ConditionalValue<
|
|
1331
|
+
borderLeft?: ConditionalValue<CssProperties["borderLeft"] | AnyString>
|
|
1332
1332
|
/**
|
|
1333
1333
|
* The **`border-left-color`** CSS property sets the color of an element's left border. It can also be set with the shorthand CSS properties `border-color` or `border-left`.
|
|
1334
1334
|
*
|
|
@@ -1370,7 +1370,7 @@ borderLeftStyle?: ConditionalValue<CssVars | CssProperties["borderLeftStyle"] |
|
|
|
1370
1370
|
*
|
|
1371
1371
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-left-width
|
|
1372
1372
|
*/
|
|
1373
|
-
borderLeftWidth?: ConditionalValue<CssProperties["borderLeftWidth"] | AnyString>
|
|
1373
|
+
borderLeftWidth?: ConditionalValue<UtilityValues["borderLeftWidth"] | CssVars | CssProperties["borderLeftWidth"] | AnyString>
|
|
1374
1374
|
/**
|
|
1375
1375
|
* The **`border-radius`** CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners.
|
|
1376
1376
|
*
|
|
@@ -1395,7 +1395,7 @@ borderRadius?: ConditionalValue<UtilityValues["borderRadius"] | CssVars | CssPro
|
|
|
1395
1395
|
*
|
|
1396
1396
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-right
|
|
1397
1397
|
*/
|
|
1398
|
-
borderRight?: ConditionalValue<
|
|
1398
|
+
borderRight?: ConditionalValue<CssProperties["borderRight"] | AnyString>
|
|
1399
1399
|
/**
|
|
1400
1400
|
* The **`border-right-color`** CSS property sets the color of an element's right border. It can also be set with the shorthand CSS properties `border-color` or `border-right`.
|
|
1401
1401
|
*
|
|
@@ -1437,7 +1437,7 @@ borderRightStyle?: ConditionalValue<CssVars | CssProperties["borderRightStyle"]
|
|
|
1437
1437
|
*
|
|
1438
1438
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-right-width
|
|
1439
1439
|
*/
|
|
1440
|
-
borderRightWidth?: ConditionalValue<CssProperties["borderRightWidth"] | AnyString>
|
|
1440
|
+
borderRightWidth?: ConditionalValue<UtilityValues["borderRightWidth"] | CssVars | CssProperties["borderRightWidth"] | AnyString>
|
|
1441
1441
|
/**
|
|
1442
1442
|
* The **`border-spacing`** CSS property sets the distance between the borders of adjacent cells in a `<table>`. This property applies only when `border-collapse` is `separate`.
|
|
1443
1443
|
*
|
|
@@ -1503,7 +1503,7 @@ borderStyle?: ConditionalValue<CssProperties["borderStyle"] | AnyString>
|
|
|
1503
1503
|
*
|
|
1504
1504
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-top
|
|
1505
1505
|
*/
|
|
1506
|
-
borderTop?: ConditionalValue<
|
|
1506
|
+
borderTop?: ConditionalValue<CssProperties["borderTop"] | AnyString>
|
|
1507
1507
|
/**
|
|
1508
1508
|
* The **`border-top-color`** CSS property sets the color of an element's top border. It can also be set with the shorthand CSS properties `border-color` or `border-top`.
|
|
1509
1509
|
*
|
|
@@ -1575,7 +1575,7 @@ borderTopStyle?: ConditionalValue<CssVars | CssProperties["borderTopStyle"] | An
|
|
|
1575
1575
|
*
|
|
1576
1576
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-top-width
|
|
1577
1577
|
*/
|
|
1578
|
-
borderTopWidth?: ConditionalValue<CssProperties["borderTopWidth"] | AnyString>
|
|
1578
|
+
borderTopWidth?: ConditionalValue<UtilityValues["borderTopWidth"] | CssVars | CssProperties["borderTopWidth"] | AnyString>
|
|
1579
1579
|
/**
|
|
1580
1580
|
* The **`border-width`** shorthand CSS property sets the width of an element's border.
|
|
1581
1581
|
*
|
|
@@ -1587,7 +1587,7 @@ borderTopWidth?: ConditionalValue<CssProperties["borderTopWidth"] | AnyString>
|
|
|
1587
1587
|
*
|
|
1588
1588
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-width
|
|
1589
1589
|
*/
|
|
1590
|
-
borderWidth?: ConditionalValue<CssProperties["borderWidth"] | AnyString>
|
|
1590
|
+
borderWidth?: ConditionalValue<UtilityValues["borderWidth"] | CssVars | CssProperties["borderWidth"] | AnyString>
|
|
1591
1591
|
/**
|
|
1592
1592
|
* The **`bottom`** CSS property participates in setting the vertical position of a positioned element. It has no effect on non-positioned elements.
|
|
1593
1593
|
*
|
|
@@ -4111,7 +4111,7 @@ orphans?: ConditionalValue<CssProperties["orphans"] | AnyString>
|
|
|
4111
4111
|
*
|
|
4112
4112
|
* @see https://developer.mozilla.org/docs/Web/CSS/outline
|
|
4113
4113
|
*/
|
|
4114
|
-
outline?: ConditionalValue<
|
|
4114
|
+
outline?: ConditionalValue<CssProperties["outline"] | AnyString>
|
|
4115
4115
|
/**
|
|
4116
4116
|
* The **`outline-color`** CSS property sets the color of an element's outline.
|
|
4117
4117
|
*
|
|
@@ -4167,7 +4167,7 @@ outlineStyle?: ConditionalValue<CssVars | CssProperties["outlineStyle"] | AnyStr
|
|
|
4167
4167
|
*
|
|
4168
4168
|
* @see https://developer.mozilla.org/docs/Web/CSS/outline-width
|
|
4169
4169
|
*/
|
|
4170
|
-
outlineWidth?: ConditionalValue<CssProperties["outlineWidth"] | AnyString>
|
|
4170
|
+
outlineWidth?: ConditionalValue<UtilityValues["outlineWidth"] | CssVars | CssProperties["outlineWidth"] | AnyString>
|
|
4171
4171
|
/**
|
|
4172
4172
|
* The **`overflow`** CSS shorthand property sets the desired behavior for an element's overflow — i.e. when an element's content is too big to fit in its block formatting context — in both directions.
|
|
4173
4173
|
*
|
|
@@ -6195,7 +6195,7 @@ zoom?: ConditionalValue<CssProperties["zoom"] | AnyString>
|
|
|
6195
6195
|
strokeLinejoin?: ConditionalValue<CssProperties["strokeLinejoin"] | AnyString>
|
|
6196
6196
|
strokeMiterlimit?: ConditionalValue<CssProperties["strokeMiterlimit"] | AnyString>
|
|
6197
6197
|
strokeOpacity?: ConditionalValue<CssProperties["strokeOpacity"] | AnyString>
|
|
6198
|
-
strokeWidth?: ConditionalValue<CssProperties["strokeWidth"] | AnyString>
|
|
6198
|
+
strokeWidth?: ConditionalValue<UtilityValues["strokeWidth"] | CssVars | CssProperties["strokeWidth"] | AnyString>
|
|
6199
6199
|
textAnchor?: ConditionalValue<CssProperties["textAnchor"] | AnyString>
|
|
6200
6200
|
vectorEffect?: ConditionalValue<CssProperties["vectorEffect"] | AnyString>
|
|
6201
6201
|
/**
|
|
@@ -6672,7 +6672,7 @@ marginStart?: ConditionalValue<UtilityValues["marginInlineStart"] | CssVars | Cs
|
|
|
6672
6672
|
*
|
|
6673
6673
|
* @see https://developer.mozilla.org/docs/Web/CSS/outline-width
|
|
6674
6674
|
*/
|
|
6675
|
-
ringWidth?: ConditionalValue<CssProperties["outlineWidth"] | AnyString>
|
|
6675
|
+
ringWidth?: ConditionalValue<UtilityValues["outlineWidth"] | CssVars | CssProperties["outlineWidth"] | AnyString>
|
|
6676
6676
|
/**
|
|
6677
6677
|
* The **`outline-color`** CSS property sets the color of an element's outline.
|
|
6678
6678
|
*
|
|
@@ -6698,7 +6698,7 @@ ringColor?: ConditionalValue<UtilityValues["outlineColor"] | CssVars | CssProper
|
|
|
6698
6698
|
*
|
|
6699
6699
|
* @see https://developer.mozilla.org/docs/Web/CSS/outline
|
|
6700
6700
|
*/
|
|
6701
|
-
ring?: ConditionalValue<
|
|
6701
|
+
ring?: ConditionalValue<CssProperties["outline"] | AnyString>
|
|
6702
6702
|
/**
|
|
6703
6703
|
* The **`outline-offset`** CSS property sets the amount of space between an outline and the edge or border of an element.
|
|
6704
6704
|
*
|
|
@@ -7113,7 +7113,7 @@ roundedEndEnd?: ConditionalValue<UtilityValues["borderEndEndRadius"] | CssVars |
|
|
|
7113
7113
|
*
|
|
7114
7114
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline
|
|
7115
7115
|
*/
|
|
7116
|
-
borderX?: ConditionalValue<
|
|
7116
|
+
borderX?: ConditionalValue<CssProperties["borderInline"] | AnyString>
|
|
7117
7117
|
/**
|
|
7118
7118
|
* The **`border-inline-width`** CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width` and `border-bottom-width`, or `border-left-width`, and `border-right-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
7119
7119
|
*
|
|
@@ -7127,7 +7127,7 @@ borderX?: ConditionalValue<UtilityValues["borderInline"] | CssVars | CssProperti
|
|
|
7127
7127
|
*
|
|
7128
7128
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-width
|
|
7129
7129
|
*/
|
|
7130
|
-
borderXWidth?: ConditionalValue<CssProperties["borderInlineWidth"] | AnyString>
|
|
7130
|
+
borderXWidth?: ConditionalValue<UtilityValues["borderInlineWidth"] | CssVars | CssProperties["borderInlineWidth"] | AnyString>
|
|
7131
7131
|
/**
|
|
7132
7132
|
* The **`border-inline-color`** CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-color`, or `border-right-color` and `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
7133
7133
|
*
|
|
@@ -7153,7 +7153,7 @@ borderXColor?: ConditionalValue<UtilityValues["borderInlineColor"] | CssVars | C
|
|
|
7153
7153
|
*
|
|
7154
7154
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-block
|
|
7155
7155
|
*/
|
|
7156
|
-
borderY?: ConditionalValue<
|
|
7156
|
+
borderY?: ConditionalValue<CssProperties["borderBlock"] | AnyString>
|
|
7157
7157
|
/**
|
|
7158
7158
|
* The **`border-block-width`** CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width` and `border-bottom-width`, or `border-left-width`, and `border-right-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
7159
7159
|
*
|
|
@@ -7167,7 +7167,7 @@ borderY?: ConditionalValue<UtilityValues["borderBlock"] | CssVars | CssPropertie
|
|
|
7167
7167
|
*
|
|
7168
7168
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-width
|
|
7169
7169
|
*/
|
|
7170
|
-
borderYWidth?: ConditionalValue<CssProperties["borderBlockWidth"] | AnyString>
|
|
7170
|
+
borderYWidth?: ConditionalValue<UtilityValues["borderBlockWidth"] | CssVars | CssProperties["borderBlockWidth"] | AnyString>
|
|
7171
7171
|
/**
|
|
7172
7172
|
* The **`border-block-color`** CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-color`, or `border-right-color` and `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
7173
7173
|
*
|
|
@@ -7193,7 +7193,7 @@ borderYColor?: ConditionalValue<UtilityValues["borderBlockColor"] | CssVars | Cs
|
|
|
7193
7193
|
*
|
|
7194
7194
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start
|
|
7195
7195
|
*/
|
|
7196
|
-
borderStart?: ConditionalValue<
|
|
7196
|
+
borderStart?: ConditionalValue<CssProperties["borderInlineStart"] | AnyString>
|
|
7197
7197
|
/**
|
|
7198
7198
|
* The **`border-inline-start-width`** CSS property defines the width of the logical inline-start border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width`, `border-right-width`, `border-bottom-width`, or `border-left-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
7199
7199
|
*
|
|
@@ -7207,7 +7207,7 @@ borderStart?: ConditionalValue<UtilityValues["borderInlineStart"] | CssVars | Cs
|
|
|
7207
7207
|
*
|
|
7208
7208
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width
|
|
7209
7209
|
*/
|
|
7210
|
-
borderStartWidth?: ConditionalValue<CssProperties["borderInlineStartWidth"] | AnyString>
|
|
7210
|
+
borderStartWidth?: ConditionalValue<UtilityValues["borderInlineStartWidth"] | CssVars | CssProperties["borderInlineStartWidth"] | AnyString>
|
|
7211
7211
|
/**
|
|
7212
7212
|
* The **`border-inline-start-color`** CSS property defines the color of the logical inline start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
7213
7213
|
*
|
|
@@ -7234,7 +7234,7 @@ borderStartColor?: ConditionalValue<UtilityValues["borderInlineStartColor"] | Cs
|
|
|
7234
7234
|
*
|
|
7235
7235
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end
|
|
7236
7236
|
*/
|
|
7237
|
-
borderEnd?: ConditionalValue<
|
|
7237
|
+
borderEnd?: ConditionalValue<CssProperties["borderInlineEnd"] | AnyString>
|
|
7238
7238
|
/**
|
|
7239
7239
|
* The **`border-inline-end-width`** CSS property defines the width of the logical inline-end border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width`, `border-right-width`, `border-bottom-width`, or `border-left-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
7240
7240
|
*
|
|
@@ -7249,7 +7249,7 @@ borderEnd?: ConditionalValue<UtilityValues["borderInlineEnd"] | CssVars | CssPro
|
|
|
7249
7249
|
*
|
|
7250
7250
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width
|
|
7251
7251
|
*/
|
|
7252
|
-
borderEndWidth?: ConditionalValue<CssProperties["borderInlineEndWidth"] | AnyString>
|
|
7252
|
+
borderEndWidth?: ConditionalValue<UtilityValues["borderInlineEndWidth"] | CssVars | CssProperties["borderInlineEndWidth"] | AnyString>
|
|
7253
7253
|
/**
|
|
7254
7254
|
* The **`border-inline-end-color`** CSS property defines the color of the logical inline-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
|
|
7255
7255
|
*
|
|
@@ -7336,8 +7336,8 @@ scrollPaddingX?: ConditionalValue<UtilityValues["scrollPaddingInline"] | CssVars
|
|
|
7336
7336
|
hideBelow?: ConditionalValue<UtilityValues["hideBelow"] | CssVars | AnyString>
|
|
7337
7337
|
spaceX?: ConditionalValue<UtilityValues["spaceX"] | CssVars | AnyString>
|
|
7338
7338
|
spaceY?: ConditionalValue<UtilityValues["spaceY"] | CssVars | AnyString>
|
|
7339
|
-
divideX?: ConditionalValue<
|
|
7340
|
-
divideY?: ConditionalValue<
|
|
7339
|
+
divideX?: ConditionalValue<UtilityValues["divideX"] | CssVars | AnyString>
|
|
7340
|
+
divideY?: ConditionalValue<UtilityValues["divideY"] | CssVars | AnyString>
|
|
7341
7341
|
divideColor?: ConditionalValue<UtilityValues["divideColor"] | CssVars | AnyString>
|
|
7342
7342
|
divideStyle?: ConditionalValue<UtilityValues["divideStyle"] | CssVars | AnyString>
|
|
7343
7343
|
fontSmoothing?: ConditionalValue<UtilityValues["fontSmoothing"] | CssVars | AnyString>
|