@redis-ui/styles 21.14.2 → 21.15.1
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/README.md +6 -1
- package/dist/index.js +92 -0
- package/dist/index.umd.cjs +1 -1
- package/dist/themes/themeDark/theme/components/stepper.js +23 -0
- 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/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;
|
|
@@ -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 {};
|