@stokelp/styled-system 2.124.1 → 2.126.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokelp/styled-system",
3
- "version": "2.124.1",
3
+ "version": "2.126.0",
4
4
  "description": "Stokelp UI styled-system",
5
5
  "type": "module",
6
6
  "publishConfig": {
package/tokens/index.mjs CHANGED
@@ -703,6 +703,30 @@ const tokens = {
703
703
  "value": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
704
704
  "variable": "var(--shadows-xs)"
705
705
  },
706
+ "shadows.lift.soft": {
707
+ "value": "0px 4px 16px rgba(112, 8, 250, 0.08)",
708
+ "variable": "var(--shadows-lift-soft)"
709
+ },
710
+ "shadows.lift.softHover": {
711
+ "value": "0px 8px 24px rgba(112, 8, 250, 0.14)",
712
+ "variable": "var(--shadows-lift-soft-hover)"
713
+ },
714
+ "shadows.lift.mock": {
715
+ "value": "0 24px 48px -24px rgba(37, 34, 39, 0.28), 0 8px 16px -8px rgba(37, 34, 39, 0.12)",
716
+ "variable": "var(--shadows-lift-mock)"
717
+ },
718
+ "shadows.lift.mockNight": {
719
+ "value": "0 26px 54px -30px rgba(10, 2, 40, 0.85)",
720
+ "variable": "var(--shadows-lift-mock-night)"
721
+ },
722
+ "shadows.lift.form": {
723
+ "value": "0 18px 40px -28px rgba(22, 2, 50, 0.45)",
724
+ "variable": "var(--shadows-lift-form)"
725
+ },
726
+ "shadows.lift.bar": {
727
+ "value": "0 -8px 24px -12px rgba(37, 34, 39, 0.25)",
728
+ "variable": "var(--shadows-lift-bar)"
729
+ },
706
730
  "sizes.size-0": {
707
731
  "value": "0px",
708
732
  "variable": "var(--sizes-size-0)"
@@ -1351,6 +1375,18 @@ const tokens = {
1351
1375
  "value": "var(--colors-primary-900)",
1352
1376
  "variable": "var(--colors-text-heading)"
1353
1377
  },
1378
+ "gradients.band.violet": {
1379
+ "value": "linear-gradient(to left, var(--colors-primary-700), var(--colors-primary-800))",
1380
+ "variable": "var(--gradients-band-violet)"
1381
+ },
1382
+ "gradients.band.night": {
1383
+ "value": "linear-gradient(to left, var(--colors-primary-800), var(--colors-primary-900))",
1384
+ "variable": "var(--gradients-band-night)"
1385
+ },
1386
+ "gradients.band.quality": {
1387
+ "value": "linear-gradient(180deg, #1B1038, #241546)",
1388
+ "variable": "var(--gradients-band-quality)"
1389
+ },
1354
1390
  "spacing.-space-0": {
1355
1391
  "value": "calc(var(--spacing-space-0) * -1)",
1356
1392
  "variable": "var(--spacing-space-0)"
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- export type Token = `animations.${AnimationToken}` | `aspectRatios.${AspectRatioToken}` | `blurs.${BlurToken}` | `borders.${BorderToken}` | `colors.${ColorToken}` | `durations.${DurationToken}` | `easings.${EasingToken}` | `fontSizes.${FontSizeToken}` | `fontWeights.${FontWeightToken}` | `fonts.${FontToken}` | `letterSpacings.${LetterSpacingToken}` | `radii.${RadiusToken}` | `shadows.${ShadowToken}` | `sizes.${SizeToken}` | `spacing.${SpacingToken}` | `zIndex.${ZIndexToken}` | `breakpoints.${BreakpointToken}`
2
+ export type Token = `animations.${AnimationToken}` | `aspectRatios.${AspectRatioToken}` | `blurs.${BlurToken}` | `borders.${BorderToken}` | `colors.${ColorToken}` | `durations.${DurationToken}` | `easings.${EasingToken}` | `fontSizes.${FontSizeToken}` | `fontWeights.${FontWeightToken}` | `fonts.${FontToken}` | `letterSpacings.${LetterSpacingToken}` | `radii.${RadiusToken}` | `shadows.${ShadowToken}` | `sizes.${SizeToken}` | `spacing.${SpacingToken}` | `zIndex.${ZIndexToken}` | `breakpoints.${BreakpointToken}` | `gradients.${GradientToken}`
3
3
 
4
4
  export type ColorPalette = "black" | "current" | "transparent" | "white" | "purple" | "blue" | "grey" | "red" | "green" | "yellow" | "decorative" | "decorative.red" | "decorative.blue" | "decorative.yellow" | "decorative.purple" | "decorative.green" | "decorative.brown" | "typology" | "typology.fish" | "typology.meat" | "typology.fruit" | "typology.vegetable" | "typology.cereal" | "typology.oil" | "typology.aromatic" | "primary" | "secondary" | "error" | "success" | "warning" | "text"
5
5
 
@@ -27,7 +27,7 @@ export type LetterSpacingToken = "normal" | "tight" | "tighter" | "wide" | "wide
27
27
 
28
28
  export type RadiusToken = "radius-0" | "radius-2" | "radius-4" | "radius-6" | "radius-8" | "radius-10" | "radius-12" | "radius-16" | "radius-20" | "radius-24" | "radius-28" | "radius-32" | "radius-36" | "radius-40" | "radius-44" | "radius-48" | "radius-52" | "radius-56" | "radius-60" | "radius-64" | "full"
29
29
 
30
- export type ShadowToken = "2xl" | "inner" | "lg" | "md" | "sm" | "xl" | "xs"
30
+ export type ShadowToken = "2xl" | "inner" | "lg" | "md" | "sm" | "xl" | "xs" | "lift.soft" | "lift.softHover" | "lift.mock" | "lift.mockNight" | "lift.form" | "lift.bar"
31
31
 
32
32
  export type SizeToken = "size-0" | "size-12" | "size-14" | "size-16" | "size-18" | "size-2" | "size-20" | "size-24" | "size-28" | "size-32" | "size-36" | "size-4" | "size-40" | "size-6" | "size-44" | "size-8" | "full" | "max" | "size-48" | "fit" | "size-52" | "min" | "size-56" | "size-60" | "size-64" | "size-68" | "size-72" | "size-76" | "size-80" | "breakpoint-xl" | "breakpoint-lg" | "breakpoint-md" | "breakpoint-sm"
33
33
 
@@ -37,6 +37,8 @@ export type ZIndexToken = "banner" | "base" | "docked" | "dropdown" | "hide" | "
37
37
 
38
38
  export type BreakpointToken = "xl" | "lg" | "md" | "sm"
39
39
 
40
+ export type GradientToken = "band.violet" | "band.night" | "band.quality"
41
+
40
42
  export type Tokens = {
41
43
  animations: AnimationToken
42
44
  aspectRatios: AspectRatioToken
@@ -55,6 +57,7 @@ export type Tokens = {
55
57
  spacing: SpacingToken
56
58
  zIndex: ZIndexToken
57
59
  breakpoints: BreakpointToken
60
+ gradients: GradientToken
58
61
  } & { [token: string]: never }
59
62
 
60
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"
@@ -94,9 +94,10 @@ export interface UtilityValues {
94
94
  truncate: boolean;
95
95
  background: Tokens["colors"];
96
96
  backgroundColor: Tokens["colors"];
97
- backgroundGradient: "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
98
- backgroundLinear: "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
99
- textGradient: "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
97
+ backgroundGradient: Tokens["gradients"] | "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
98
+ backgroundLinear: Tokens["gradients"] | "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
99
+ backgroundRadial: Tokens["gradients"];
100
+ textGradient: Tokens["gradients"] | "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
100
101
  gradientFrom: Tokens["colors"];
101
102
  gradientTo: Tokens["colors"];
102
103
  gradientVia: Tokens["colors"];
@@ -7578,7 +7578,7 @@ bgBlendMode?: ConditionalValue<CssProperties["backgroundBlendMode"] | AnyString>
7578
7578
  bgSize?: ConditionalValue<CssProperties["backgroundSize"] | AnyString>
7579
7579
  bgGradient?: ConditionalValue<UtilityValues["backgroundGradient"] | CssVars | AnyString>
7580
7580
  bgLinear?: ConditionalValue<UtilityValues["backgroundLinear"] | CssVars | AnyString>
7581
- bgRadial?: ConditionalValue<string | number | AnyString>
7581
+ bgRadial?: ConditionalValue<UtilityValues["backgroundRadial"] | CssVars | AnyString>
7582
7582
  bgConic?: ConditionalValue<string | number | AnyString>
7583
7583
  /**
7584
7584
  * This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
@@ -7962,7 +7962,7 @@ scrollPaddingX?: ConditionalValue<UtilityValues["scrollPaddingInline"] | CssVars
7962
7962
  truncate?: ConditionalValue<UtilityValues["truncate"] | CssVars | AnyString>
7963
7963
  backgroundGradient?: ConditionalValue<UtilityValues["backgroundGradient"] | CssVars | AnyString>
7964
7964
  backgroundLinear?: ConditionalValue<UtilityValues["backgroundLinear"] | CssVars | AnyString>
7965
- backgroundRadial?: ConditionalValue<string | number | AnyString>
7965
+ backgroundRadial?: ConditionalValue<UtilityValues["backgroundRadial"] | CssVars | AnyString>
7966
7966
  backgroundConic?: ConditionalValue<string | number | AnyString>
7967
7967
  textGradient?: ConditionalValue<UtilityValues["textGradient"] | CssVars | AnyString>
7968
7968
  gradientFromPosition?: ConditionalValue<string | number | AnyString>