@redis-ui/styles 21.14.2 → 21.15.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.
@@ -57,6 +57,29 @@ const theme = {
57
57
  }
58
58
  }
59
59
  }
60
+ },
61
+ compact: {
62
+ gap: '0.8rem',
63
+ stepGap: '0.8rem',
64
+ fontFamily: tokens.core.font.fontFamily.sourceCodeProRegular,
65
+ fontSize: tokens.core.font.fontSize.s12,
66
+ letterSpacing: '0.1em',
67
+ textTransform: 'uppercase',
68
+ separatorColor: tokens.semantic.color.text.secondary400,
69
+ states: {
70
+ idle: {
71
+ textColor: tokens.semantic.color.text.secondary400,
72
+ fontWeight: tokens.core.font.fontWeight.normal
73
+ },
74
+ focused: {
75
+ textColor: tokens.semantic.color.text.primary400,
76
+ fontWeight: tokens.core.font.fontWeight.semiBold
77
+ },
78
+ completed: {
79
+ textColor: tokens.semantic.color.text.secondary400,
80
+ fontWeight: tokens.core.font.fontWeight.normal
81
+ }
82
+ }
60
83
  }
61
84
  };
62
85
  export default theme;
@@ -57,6 +57,29 @@ const theme = {
57
57
  }
58
58
  }
59
59
  }
60
+ },
61
+ compact: {
62
+ gap: '0.8rem',
63
+ stepGap: '0.8rem',
64
+ fontFamily: tokens.core.font.fontFamily.sourceCodeProRegular,
65
+ fontSize: tokens.core.font.fontSize.s12,
66
+ letterSpacing: '0.1em',
67
+ textTransform: 'uppercase',
68
+ separatorColor: tokens.semantic.color.text.secondary400,
69
+ states: {
70
+ idle: {
71
+ textColor: tokens.semantic.color.text.secondary400,
72
+ fontWeight: tokens.core.font.fontWeight.normal
73
+ },
74
+ focused: {
75
+ textColor: tokens.semantic.color.text.primary400,
76
+ fontWeight: tokens.core.font.fontWeight.semiBold
77
+ },
78
+ completed: {
79
+ textColor: tokens.semantic.color.text.secondary400,
80
+ fontWeight: tokens.core.font.fontWeight.normal
81
+ }
82
+ }
60
83
  }
61
84
  };
62
85
  export default theme;
@@ -57,6 +57,29 @@ const theme = {
57
57
  }
58
58
  }
59
59
  }
60
+ },
61
+ compact: {
62
+ gap: '0.8rem',
63
+ stepGap: '0.8rem',
64
+ fontFamily: tokens.core.font.fontFamily.sourceCodeProRegular,
65
+ fontSize: tokens.core.font.fontSize.s12,
66
+ letterSpacing: '0.1em',
67
+ textTransform: 'uppercase',
68
+ separatorColor: tokens.semantic.color.text.secondary500,
69
+ states: {
70
+ idle: {
71
+ textColor: tokens.semantic.color.text.secondary500,
72
+ fontWeight: tokens.core.font.fontWeight.normal
73
+ },
74
+ focused: {
75
+ textColor: tokens.semantic.color.text.primary400,
76
+ fontWeight: tokens.core.font.fontWeight.semiBold
77
+ },
78
+ completed: {
79
+ textColor: tokens.semantic.color.text.secondary500,
80
+ fontWeight: tokens.core.font.fontWeight.normal
81
+ }
82
+ }
60
83
  }
61
84
  };
62
85
  export default theme;
@@ -57,6 +57,29 @@ const theme = {
57
57
  }
58
58
  }
59
59
  }
60
+ },
61
+ compact: {
62
+ gap: '0.8rem',
63
+ stepGap: '0.8rem',
64
+ fontFamily: tokens.core.font.fontFamily.sourceCodeProRegular,
65
+ fontSize: tokens.core.font.fontSize.s12,
66
+ letterSpacing: '0.1em',
67
+ textTransform: 'uppercase',
68
+ separatorColor: tokens.semantic.color.text.secondary500,
69
+ states: {
70
+ idle: {
71
+ textColor: tokens.semantic.color.text.secondary500,
72
+ fontWeight: tokens.core.font.fontWeight.normal
73
+ },
74
+ focused: {
75
+ textColor: tokens.semantic.color.text.primary400,
76
+ fontWeight: tokens.core.font.fontWeight.semiBold
77
+ },
78
+ completed: {
79
+ textColor: tokens.semantic.color.text.secondary500,
80
+ fontWeight: tokens.core.font.fontWeight.normal
81
+ }
82
+ }
60
83
  }
61
84
  };
62
85
  export default theme;
@@ -26,5 +26,18 @@ export type StepperTheme = {
26
26
  height: string;
27
27
  };
28
28
  };
29
+ compact: {
30
+ gap: string;
31
+ stepGap: string;
32
+ fontFamily: string;
33
+ fontSize: string;
34
+ letterSpacing: string;
35
+ textTransform: string;
36
+ separatorColor: string;
37
+ states: Record<StepState, {
38
+ textColor: string;
39
+ fontWeight: string;
40
+ }>;
41
+ };
29
42
  };
30
43
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redis-ui/styles",
3
3
  "license": "UNLICENSED",
4
- "version": "21.14.2",
4
+ "version": "21.15.0",
5
5
  "repository": "git@github.com:redislabsdev/redis-ui.git",
6
6
  "type": "module",
7
7
  "files": [