@redis-ui/styles 21.14.1 → 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.
- package/dist/index.js +104 -8
- package/dist/index.umd.cjs +1 -1
- package/dist/themes/themeDark/theme/components/stepper.js +23 -0
- package/dist/themes/themeDarkNext/theme/components/radio.js +6 -4
- package/dist/themes/themeDarkNext/theme/components/stepper.js +23 -0
- package/dist/themes/themeLight/theme/components/stepper.js +23 -0
- package/dist/themes/themeLightNext/theme/components/radio.js +6 -4
- package/dist/themes/themeLightNext/theme/components/stepper.js +23 -0
- package/dist/themes/types/theme/components/stepper.types.d.ts +13 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
2
|
const theme = {
|
|
3
|
-
size: '1.
|
|
3
|
+
size: '1.6rem',
|
|
4
4
|
iconSize: '0.6rem',
|
|
5
5
|
padding: '0',
|
|
6
|
-
borderWidth: '
|
|
6
|
+
borderWidth: '1.5px',
|
|
7
7
|
gap: '0.8rem',
|
|
8
8
|
group: {
|
|
9
9
|
vertical: {
|
|
@@ -23,12 +23,14 @@ const theme = {
|
|
|
23
23
|
primary: {
|
|
24
24
|
on: {
|
|
25
25
|
normal: {
|
|
26
|
-
bgColor: tokens.semantic.color.background.
|
|
27
|
-
|
|
26
|
+
bgColor: tokens.semantic.color.background.informative300,
|
|
27
|
+
borderColor: tokens.semantic.color.border.informative300,
|
|
28
|
+
iconColor: tokens.semantic.color.icon.secondary950,
|
|
28
29
|
textColor: tokens.semantic.color.text.secondary0
|
|
29
30
|
},
|
|
30
31
|
disabled: {
|
|
31
32
|
bgColor: tokens.semantic.color.background.secondary700,
|
|
33
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
32
34
|
iconColor: tokens.semantic.color.icon.secondary400,
|
|
33
35
|
textColor: tokens.semantic.color.text.secondary400
|
|
34
36
|
}
|
|
@@ -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;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
2
|
const theme = {
|
|
3
|
-
size: '1.
|
|
3
|
+
size: '1.6rem',
|
|
4
4
|
iconSize: '0.6rem',
|
|
5
5
|
padding: '0',
|
|
6
|
-
borderWidth: '
|
|
6
|
+
borderWidth: '1.5px',
|
|
7
7
|
gap: '0.8rem',
|
|
8
8
|
group: {
|
|
9
9
|
vertical: {
|
|
@@ -23,12 +23,14 @@ const theme = {
|
|
|
23
23
|
primary: {
|
|
24
24
|
on: {
|
|
25
25
|
normal: {
|
|
26
|
-
bgColor:
|
|
27
|
-
|
|
26
|
+
bgColor: '#0F6FB8',
|
|
27
|
+
borderColor: '#0F6FB8',
|
|
28
|
+
iconColor: tokens.semantic.color.icon.secondary0,
|
|
28
29
|
textColor: tokens.semantic.color.text.secondary950
|
|
29
30
|
},
|
|
30
31
|
disabled: {
|
|
31
32
|
bgColor: tokens.semantic.color.background.secondary200,
|
|
33
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
32
34
|
iconColor: tokens.semantic.color.icon.secondary500,
|
|
33
35
|
textColor: tokens.semantic.color.text.secondary500
|
|
34
36
|
}
|
|
@@ -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 {};
|