@blockle/blocks 0.8.5 → 0.8.7

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.
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ const fileScope = require("@vanilla-extract/css/fileScope");
3
+ const css = require("@vanilla-extract/css");
4
+ const styles_lib_css_layers_layers_css_cjs = require("../../lib/css/layers/layers.css.cjs");
5
+ fileScope.setFileScope("src/components/Switch/switch.css.ts?used", "blocks");
6
+ const container = css.style({
7
+ "@layer": {
8
+ [styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
9
+ cursor: "pointer",
10
+ userSelect: "none",
11
+ position: "relative"
12
+ }
13
+ }
14
+ }, "container");
15
+ const input = css.style({
16
+ "@layer": {
17
+ [styles_lib_css_layers_layers_css_cjs.blocksLayer]: {
18
+ opacity: 0,
19
+ maxHeight: 0,
20
+ maxWidth: 0
21
+ }
22
+ }
23
+ }, "input");
24
+ fileScope.endFileScope();
25
+ exports.container = container;
26
+ exports.input = input;
@@ -0,0 +1,27 @@
1
+ import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
2
+ import { style } from "@vanilla-extract/css";
3
+ import { blocksLayer } from "../../lib/css/layers/layers.css.mjs";
4
+ setFileScope("src/components/Switch/switch.css.ts?used", "blocks");
5
+ const container = style({
6
+ "@layer": {
7
+ [blocksLayer]: {
8
+ cursor: "pointer",
9
+ userSelect: "none",
10
+ position: "relative"
11
+ }
12
+ }
13
+ }, "container");
14
+ const input = style({
15
+ "@layer": {
16
+ [blocksLayer]: {
17
+ opacity: 0,
18
+ maxHeight: 0,
19
+ maxWidth: 0
20
+ }
21
+ }
22
+ }, "input");
23
+ endFileScope();
24
+ export {
25
+ container,
26
+ input
27
+ };
@@ -5,6 +5,7 @@ const unresponsiveProperties = {
5
5
  backgroundColor: colorWithCurrentColor,
6
6
  borderColor: colorWithCurrentColor,
7
7
  borderRadius: styles_lib_theme_vars_css_cjs.vars.borderRadius,
8
+ borderWidth: styles_lib_theme_vars_css_cjs.vars.borderWidth,
8
9
  border: ["none"],
9
10
  bottom: [0],
10
11
  boxShadow: styles_lib_theme_vars_css_cjs.vars.shadow,
@@ -4,6 +4,7 @@ const unresponsiveProperties = {
4
4
  backgroundColor: colorWithCurrentColor,
5
5
  borderColor: colorWithCurrentColor,
6
6
  borderRadius: vars.borderRadius,
7
+ borderWidth: vars.borderWidth,
7
8
  border: ["none"],
8
9
  bottom: [0],
9
10
  boxShadow: vars.shadow,
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ const css = require("@vanilla-extract/css");
3
+ const styles_lib_css_atoms_sprinkles_css_cjs = require("../atoms/sprinkles.css.cjs");
4
+ function style(props) {
5
+ const styleRule = {};
6
+ const atomClassNames = [];
7
+ if (Array.isArray(props)) {
8
+ return props.map((rule) => {
9
+ if (typeof rule === "string") {
10
+ return rule;
11
+ }
12
+ return style(rule);
13
+ }).join(" ");
14
+ }
15
+ for (const [name, value] of Object.entries(props)) {
16
+ if (styles_lib_css_atoms_sprinkles_css_cjs.atoms.properties.has(name)) {
17
+ try {
18
+ atomClassNames.push(styles_lib_css_atoms_sprinkles_css_cjs.atoms({ [name]: value }));
19
+ } catch {
20
+ styleRule[name] = value;
21
+ }
22
+ } else {
23
+ styleRule[name] = value;
24
+ }
25
+ }
26
+ return css.style([styleRule, ...atomClassNames]);
27
+ }
28
+ exports.style = style;
@@ -0,0 +1,29 @@
1
+ import { style as style$1 } from "@vanilla-extract/css";
2
+ import { atoms } from "../atoms/sprinkles.css.mjs";
3
+ function style(props) {
4
+ const styleRule = {};
5
+ const atomClassNames = [];
6
+ if (Array.isArray(props)) {
7
+ return props.map((rule) => {
8
+ if (typeof rule === "string") {
9
+ return rule;
10
+ }
11
+ return style(rule);
12
+ }).join(" ");
13
+ }
14
+ for (const [name, value] of Object.entries(props)) {
15
+ if (atoms.properties.has(name)) {
16
+ try {
17
+ atomClassNames.push(atoms({ [name]: value }));
18
+ } catch {
19
+ styleRule[name] = value;
20
+ }
21
+ } else {
22
+ styleRule[name] = value;
23
+ }
24
+ }
25
+ return style$1([styleRule, ...atomClassNames]);
26
+ }
27
+ export {
28
+ style
29
+ };
@@ -1,109 +1,98 @@
1
1
  "use strict";
2
2
  const fileScope = require("@vanilla-extract/css/fileScope");
3
3
  const css = require("@vanilla-extract/css");
4
+ const styles_lib_css_style_style_cjs = require("../../../lib/css/style/style.cjs");
4
5
  const styles_lib_theme_makeComponentTheme_cjs = require("../../../lib/theme/makeComponentTheme.cjs");
5
6
  const styles_lib_theme_vars_css_cjs = require("../../../lib/theme/vars.css.cjs");
6
7
  const styles_themes_momotaro_components_helpers_css_cjs = require("./helpers.css.cjs");
7
- const styles_lib_css_atoms_sprinkles_css_cjs = require("../../../lib/css/atoms/sprinkles.css.cjs");
8
8
  fileScope.setFileScope("src/themes/momotaro/components/button.css.ts?used", "blocks");
9
- const primaryColor = css.createVar("primaryColor");
9
+ const intentColor = css.createVar("intentColor");
10
+ const hoverBackgroundColor = css.createVar("hoverBackgroundColor");
10
11
  const button = styles_lib_theme_makeComponentTheme_cjs.makeComponentTheme("button", {
11
- base: css.style([styles_lib_css_atoms_sprinkles_css_cjs.atoms({
12
+ base: styles_lib_css_style_style_cjs.style([{
12
13
  display: "inline-flex",
13
14
  placeItems: "center",
14
15
  fontSize: "medium",
15
16
  borderRadius: "medium",
16
17
  fontWeight: "medium",
17
- // Space between icon and text
18
- gap: "small"
19
- }), styles_themes_momotaro_components_helpers_css_cjs.clickable], "button_base"),
18
+ // Space between `startSlot | children | endSlot`
19
+ gap: "small",
20
+ selectors: {
21
+ "&:hover:not(:disabled)": {
22
+ backgroundColor: hoverBackgroundColor
23
+ }
24
+ }
25
+ }, styles_themes_momotaro_components_helpers_css_cjs.clickable]),
20
26
  variants: {
21
27
  variant: {
22
- solid: css.style({
28
+ solid: styles_lib_css_style_style_cjs.style({
23
29
  color: styles_lib_theme_vars_css_cjs.vars.color.white,
24
- backgroundColor: primaryColor,
25
- border: "none",
26
- selectors: {
27
- "&:hover:not(:disabled)": {
28
- backgroundColor: styles_lib_theme_vars_css_cjs.vars.color.primaryDark
29
- }
30
- }
31
- }, "button_variants_variant_solid"),
32
- outline: css.style({
33
- color: primaryColor,
34
- borderWidth: styles_lib_theme_vars_css_cjs.vars.borderWidth.small,
30
+ backgroundColor: intentColor,
31
+ border: "none"
32
+ }),
33
+ outline: styles_lib_css_style_style_cjs.style({
34
+ color: intentColor,
35
+ borderWidth: "small",
35
36
  borderStyle: "solid",
36
- borderColor: primaryColor,
37
- background: "transparent",
38
- selectors: {
39
- "&:hover:not(:disabled)": {
40
- backgroundColor: styles_lib_theme_vars_css_cjs.vars.color.primaryLight
41
- }
42
- }
43
- }, "button_variants_variant_outline"),
44
- ghost: css.style({
45
- color: primaryColor,
46
- background: "transparent",
47
- selectors: {
48
- "&:hover:not(:disabled)": {
49
- backgroundColor: styles_lib_theme_vars_css_cjs.vars.color.primaryLight
50
- }
51
- }
52
- }, "button_variants_variant_ghost")
37
+ borderColor: intentColor,
38
+ background: "transparent"
39
+ }),
40
+ ghost: styles_lib_css_style_style_cjs.style({
41
+ color: intentColor,
42
+ background: "transparent"
43
+ })
53
44
  },
54
45
  size: {
55
- small: css.style([styles_lib_css_atoms_sprinkles_css_cjs.atoms({
56
- paddingX: "large"
57
- }), {
46
+ small: styles_lib_css_style_style_cjs.style({
47
+ paddingX: "large",
58
48
  height: 40
59
- }], "button_variants_size_small"),
60
- medium: css.style([styles_lib_css_atoms_sprinkles_css_cjs.atoms({
61
- paddingX: "xlarge"
62
- }), {
49
+ }),
50
+ medium: styles_lib_css_style_style_cjs.style({
51
+ paddingX: "xlarge",
63
52
  height: 56
64
- }], "button_variants_size_medium"),
65
- large: css.style([styles_lib_css_atoms_sprinkles_css_cjs.atoms({
66
- paddingX: "xlarge"
67
- }), {
53
+ }),
54
+ large: styles_lib_css_style_style_cjs.style({
55
+ paddingX: "xlarge",
68
56
  height: 72
69
- }], "button_variants_size_large")
57
+ })
70
58
  },
71
59
  intent: {
72
- neutral: css.style({
60
+ neutral: styles_lib_css_style_style_cjs.style({
73
61
  vars: {
74
- [primaryColor]: styles_lib_theme_vars_css_cjs.vars.color.primary
62
+ [intentColor]: styles_lib_theme_vars_css_cjs.vars.color.primary,
63
+ [hoverBackgroundColor]: styles_lib_theme_vars_css_cjs.vars.color.primaryLight
75
64
  }
76
- }, "button_variants_intent_neutral"),
77
- danger: css.style({
65
+ }),
66
+ danger: styles_lib_css_style_style_cjs.style({
78
67
  vars: {
79
- [primaryColor]: styles_lib_theme_vars_css_cjs.vars.color.danger
68
+ [intentColor]: styles_lib_theme_vars_css_cjs.vars.color.danger,
69
+ [hoverBackgroundColor]: "#fff8f7",
70
+ [styles_themes_momotaro_components_helpers_css_cjs.focusRingColor]: styles_lib_theme_vars_css_cjs.vars.color.danger
80
71
  }
81
- }, "button_variants_intent_danger")
72
+ })
82
73
  }
83
74
  },
84
- // compoundVariants: [
85
- // {
86
- // variants: {
87
- // intent: 'danger',
88
- // variant: 'ghost',
89
- // loading: true,
90
- // },
91
- // style: style({
92
- // color: vars.color.danger,
93
- // fontSize: vars.fontSize.small,
94
- // background: 'red',
95
- // }),
96
- // },
97
- // {
98
- // variants: {
99
- // variant: 'solid',
100
- // size: 'large',
101
- // },
102
- // style: style({
103
- // transform: 'scale(2)',
104
- // }),
105
- // },
106
- // ],
75
+ compoundVariants: [{
76
+ variants: {
77
+ variant: "solid",
78
+ intent: "neutral"
79
+ },
80
+ style: styles_lib_css_style_style_cjs.style({
81
+ vars: {
82
+ [hoverBackgroundColor]: styles_lib_theme_vars_css_cjs.vars.color.primaryDark
83
+ }
84
+ })
85
+ }, {
86
+ variants: {
87
+ variant: "solid",
88
+ intent: "danger"
89
+ },
90
+ style: styles_lib_css_style_style_cjs.style({
91
+ vars: {
92
+ [hoverBackgroundColor]: "#f9b1a9"
93
+ }
94
+ })
95
+ }],
107
96
  defaultVariants: {
108
97
  size: "small",
109
98
  variant: "solid",
@@ -1,108 +1,97 @@
1
1
  import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
2
- import { createVar, style } from "@vanilla-extract/css";
2
+ import { createVar } from "@vanilla-extract/css";
3
+ import { style } from "../../../lib/css/style/style.mjs";
3
4
  import { makeComponentTheme } from "../../../lib/theme/makeComponentTheme.mjs";
4
5
  import { vars } from "../../../lib/theme/vars.css.mjs";
5
- import { clickable } from "./helpers.css.mjs";
6
- import { atoms } from "../../../lib/css/atoms/sprinkles.css.mjs";
6
+ import { clickable, focusRingColor } from "./helpers.css.mjs";
7
7
  setFileScope("src/themes/momotaro/components/button.css.ts?used", "blocks");
8
- const primaryColor = createVar("primaryColor");
8
+ const intentColor = createVar("intentColor");
9
+ const hoverBackgroundColor = createVar("hoverBackgroundColor");
9
10
  const button = makeComponentTheme("button", {
10
- base: style([atoms({
11
+ base: style([{
11
12
  display: "inline-flex",
12
13
  placeItems: "center",
13
14
  fontSize: "medium",
14
15
  borderRadius: "medium",
15
16
  fontWeight: "medium",
16
- // Space between icon and text
17
- gap: "small"
18
- }), clickable], "button_base"),
17
+ // Space between `startSlot | children | endSlot`
18
+ gap: "small",
19
+ selectors: {
20
+ "&:hover:not(:disabled)": {
21
+ backgroundColor: hoverBackgroundColor
22
+ }
23
+ }
24
+ }, clickable]),
19
25
  variants: {
20
26
  variant: {
21
27
  solid: style({
22
28
  color: vars.color.white,
23
- backgroundColor: primaryColor,
24
- border: "none",
25
- selectors: {
26
- "&:hover:not(:disabled)": {
27
- backgroundColor: vars.color.primaryDark
28
- }
29
- }
30
- }, "button_variants_variant_solid"),
29
+ backgroundColor: intentColor,
30
+ border: "none"
31
+ }),
31
32
  outline: style({
32
- color: primaryColor,
33
- borderWidth: vars.borderWidth.small,
33
+ color: intentColor,
34
+ borderWidth: "small",
34
35
  borderStyle: "solid",
35
- borderColor: primaryColor,
36
- background: "transparent",
37
- selectors: {
38
- "&:hover:not(:disabled)": {
39
- backgroundColor: vars.color.primaryLight
40
- }
41
- }
42
- }, "button_variants_variant_outline"),
36
+ borderColor: intentColor,
37
+ background: "transparent"
38
+ }),
43
39
  ghost: style({
44
- color: primaryColor,
45
- background: "transparent",
46
- selectors: {
47
- "&:hover:not(:disabled)": {
48
- backgroundColor: vars.color.primaryLight
49
- }
50
- }
51
- }, "button_variants_variant_ghost")
40
+ color: intentColor,
41
+ background: "transparent"
42
+ })
52
43
  },
53
44
  size: {
54
- small: style([atoms({
55
- paddingX: "large"
56
- }), {
45
+ small: style({
46
+ paddingX: "large",
57
47
  height: 40
58
- }], "button_variants_size_small"),
59
- medium: style([atoms({
60
- paddingX: "xlarge"
61
- }), {
48
+ }),
49
+ medium: style({
50
+ paddingX: "xlarge",
62
51
  height: 56
63
- }], "button_variants_size_medium"),
64
- large: style([atoms({
65
- paddingX: "xlarge"
66
- }), {
52
+ }),
53
+ large: style({
54
+ paddingX: "xlarge",
67
55
  height: 72
68
- }], "button_variants_size_large")
56
+ })
69
57
  },
70
58
  intent: {
71
59
  neutral: style({
72
60
  vars: {
73
- [primaryColor]: vars.color.primary
61
+ [intentColor]: vars.color.primary,
62
+ [hoverBackgroundColor]: vars.color.primaryLight
74
63
  }
75
- }, "button_variants_intent_neutral"),
64
+ }),
76
65
  danger: style({
77
66
  vars: {
78
- [primaryColor]: vars.color.danger
67
+ [intentColor]: vars.color.danger,
68
+ [hoverBackgroundColor]: "#fff8f7",
69
+ [focusRingColor]: vars.color.danger
79
70
  }
80
- }, "button_variants_intent_danger")
71
+ })
81
72
  }
82
73
  },
83
- // compoundVariants: [
84
- // {
85
- // variants: {
86
- // intent: 'danger',
87
- // variant: 'ghost',
88
- // loading: true,
89
- // },
90
- // style: style({
91
- // color: vars.color.danger,
92
- // fontSize: vars.fontSize.small,
93
- // background: 'red',
94
- // }),
95
- // },
96
- // {
97
- // variants: {
98
- // variant: 'solid',
99
- // size: 'large',
100
- // },
101
- // style: style({
102
- // transform: 'scale(2)',
103
- // }),
104
- // },
105
- // ],
74
+ compoundVariants: [{
75
+ variants: {
76
+ variant: "solid",
77
+ intent: "neutral"
78
+ },
79
+ style: style({
80
+ vars: {
81
+ [hoverBackgroundColor]: vars.color.primaryDark
82
+ }
83
+ })
84
+ }, {
85
+ variants: {
86
+ variant: "solid",
87
+ intent: "danger"
88
+ },
89
+ style: style({
90
+ vars: {
91
+ [hoverBackgroundColor]: "#f9b1a9"
92
+ }
93
+ })
94
+ }],
106
95
  defaultVariants: {
107
96
  size: "small",
108
97
  variant: "solid",
@@ -3,11 +3,12 @@ const fileScope = require("@vanilla-extract/css/fileScope");
3
3
  const css = require("@vanilla-extract/css");
4
4
  const styles_lib_theme_vars_css_cjs = require("../../../lib/theme/vars.css.cjs");
5
5
  fileScope.setFileScope("src/themes/momotaro/components/helpers.css.ts?used", "blocks");
6
+ const focusRingColor = css.createVar("focusRingColor");
6
7
  const focusable = css.style({
7
8
  ":focus-visible": {
8
9
  outline: "2px solid transparent",
9
10
  outlineOffset: "2px",
10
- boxShadow: styles_lib_theme_vars_css_cjs.vars.focus.boxShadow,
11
+ boxShadow: `0 0 1px 2px ${css.fallbackVar(focusRingColor, "#AF8EFF")}`,
11
12
  transitionDuration: styles_lib_theme_vars_css_cjs.vars.transition.fast,
12
13
  transitionProperty: "box-shadow"
13
14
  },
@@ -31,12 +32,11 @@ const focusable = css.style({
31
32
  }
32
33
  }, "focusable");
33
34
  const clickable = css.style([focusable, {
34
- selectors: {
35
- "&:active:not(:disabled)": {
36
- transform: "scale(0.9)"
37
- }
35
+ ":active": {
36
+ transform: "scale(0.975)"
38
37
  }
39
38
  }], "clickable");
40
39
  fileScope.endFileScope();
41
40
  exports.clickable = clickable;
41
+ exports.focusRingColor = focusRingColor;
42
42
  exports.focusable = focusable;
@@ -1,12 +1,13 @@
1
1
  import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
2
- import { style } from "@vanilla-extract/css";
2
+ import { createVar, style, fallbackVar } from "@vanilla-extract/css";
3
3
  import { vars } from "../../../lib/theme/vars.css.mjs";
4
4
  setFileScope("src/themes/momotaro/components/helpers.css.ts?used", "blocks");
5
+ const focusRingColor = createVar("focusRingColor");
5
6
  const focusable = style({
6
7
  ":focus-visible": {
7
8
  outline: "2px solid transparent",
8
9
  outlineOffset: "2px",
9
- boxShadow: vars.focus.boxShadow,
10
+ boxShadow: `0 0 1px 2px ${fallbackVar(focusRingColor, "#AF8EFF")}`,
10
11
  transitionDuration: vars.transition.fast,
11
12
  transitionProperty: "box-shadow"
12
13
  },
@@ -30,14 +31,13 @@ const focusable = style({
30
31
  }
31
32
  }, "focusable");
32
33
  const clickable = style([focusable, {
33
- selectors: {
34
- "&:active:not(:disabled)": {
35
- transform: "scale(0.9)"
36
- }
34
+ ":active": {
35
+ transform: "scale(0.975)"
37
36
  }
38
37
  }], "clickable");
39
38
  endFileScope();
40
39
  export {
41
40
  clickable,
41
+ focusRingColor,
42
42
  focusable
43
43
  };
@@ -9,6 +9,7 @@ const styles_themes_momotaro_components_link_css_cjs = require("./link.css.cjs")
9
9
  const styles_themes_momotaro_components_progress_css_cjs = require("./progress.css.cjs");
10
10
  const styles_themes_momotaro_components_radio_css_cjs = require("./radio.css.cjs");
11
11
  const styles_themes_momotaro_components_spinner_css_cjs = require("./spinner.css.cjs");
12
+ const styles_themes_momotaro_components_switch_css_cjs = require("./switch.css.cjs");
12
13
  const components = {
13
14
  button: styles_themes_momotaro_components_button_css_cjs.button,
14
15
  checkbox: styles_themes_momotaro_components_checkbox_css_cjs.checkbox,
@@ -19,6 +20,7 @@ const components = {
19
20
  link: styles_themes_momotaro_components_link_css_cjs.link,
20
21
  progress: styles_themes_momotaro_components_progress_css_cjs.progress,
21
22
  radio: styles_themes_momotaro_components_radio_css_cjs.radio,
22
- spinner: styles_themes_momotaro_components_spinner_css_cjs.spinner
23
+ spinner: styles_themes_momotaro_components_spinner_css_cjs.spinner,
24
+ switch: styles_themes_momotaro_components_switch_css_cjs.switchTheme
23
25
  };
24
26
  exports.components = components;
@@ -8,6 +8,7 @@ import { link } from "./link.css.mjs";
8
8
  import { progress } from "./progress.css.mjs";
9
9
  import { radio } from "./radio.css.mjs";
10
10
  import { spinner } from "./spinner.css.mjs";
11
+ import { switchTheme } from "./switch.css.mjs";
11
12
  const components = {
12
13
  button,
13
14
  checkbox,
@@ -18,7 +19,8 @@ const components = {
18
19
  link,
19
20
  progress,
20
21
  radio,
21
- spinner
22
+ spinner,
23
+ switch: switchTheme
22
24
  };
23
25
  export {
24
26
  components
@@ -2,6 +2,7 @@
2
2
  const fileScope = require("@vanilla-extract/css/fileScope");
3
3
  const css = require("@vanilla-extract/css");
4
4
  const styles_lib_theme_makeComponentTheme_cjs = require("../../../lib/theme/makeComponentTheme.cjs");
5
+ const styles_lib_theme_vars_css_cjs = require("../../../lib/theme/vars.css.cjs");
5
6
  const styles_lib_css_atoms_sprinkles_css_cjs = require("../../../lib/css/atoms/sprinkles.css.cjs");
6
7
  fileScope.setFileScope("src/themes/momotaro/components/progress.css.ts?used", "blocks");
7
8
  const indeterminateAnimation = css.keyframes({
@@ -13,15 +14,15 @@ const indeterminateAnimation = css.keyframes({
13
14
  }
14
15
  }, "indeterminateAnimation");
15
16
  const progress = styles_lib_theme_makeComponentTheme_cjs.makeComponentTheme("progress", {
16
- container: css.style([{
17
- height: 6
17
+ base: css.style([{
18
+ height: 8
18
19
  }, styles_lib_css_atoms_sprinkles_css_cjs.atoms({
19
20
  width: "full",
20
21
  borderRadius: "small",
21
22
  backgroundColor: "textLight",
22
23
  color: "primary",
23
24
  overflow: "hidden"
24
- })], "progress_container"),
25
+ })], "progress_base"),
25
26
  bar: css.style({
26
27
  borderRadius: "inherit",
27
28
  "@media": {
@@ -32,10 +33,19 @@ const progress = styles_lib_theme_makeComponentTheme_cjs.makeComponentTheme("pro
32
33
  }, "progress_bar"),
33
34
  variants: {
34
35
  indeterminate: css.style({
35
- animation: `${indeterminateAnimation} 10s ease-in-out infinite`,
36
36
  "@media": {
37
+ // For reduce motion we show a striped pattern instead of animating
38
+ "(prefers-reduced-motion: reduce)": {
39
+ backgroundImage: `repeating-linear-gradient(
40
+ 45deg,
41
+ transparent,
42
+ transparent 20px,
43
+ ${styles_lib_theme_vars_css_cjs.vars.color.primaryDark} 20px,
44
+ ${styles_lib_theme_vars_css_cjs.vars.color.primaryDark} 40px
45
+ )`
46
+ },
37
47
  "(prefers-reduced-motion: no-preference)": {
38
- animationDuration: "3s"
48
+ animation: `${indeterminateAnimation} 3s ease-in-out infinite`
39
49
  }
40
50
  }
41
51
  }, "progress_variants_indeterminate")