@redis-ui/styles 21.13.0 → 21.14.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/README.md +110 -0
- package/dist/index.js +122 -4
- package/dist/index.umd.cjs +1 -1
- package/dist/themes/themeDark/theme/components/select.js +28 -1
- package/dist/themes/themeDarkNext/theme/components/breadcrumbs.js +1 -0
- package/dist/themes/themeDarkNext/theme/components/select.js +28 -1
- package/dist/themes/themeLight/theme/components/select.js +28 -1
- package/dist/themes/themeLightNext/theme/components/breadcrumbs.js +1 -0
- package/dist/themes/themeLightNext/theme/components/select.js +28 -1
- package/dist/themes/types/theme/components/breadcrumbs.types.d.ts +2 -0
- package/dist/themes/types/theme/components/select.types.d.ts +27 -0
- package/package.json +1 -1
|
@@ -66,7 +66,13 @@ const theme = {
|
|
|
66
66
|
triggerOffset: '0.4rem',
|
|
67
67
|
maxHeight: '50vh',
|
|
68
68
|
search: {
|
|
69
|
-
margin: '0.8rem 1.6rem'
|
|
69
|
+
margin: '0.8rem 1.6rem',
|
|
70
|
+
inline: {
|
|
71
|
+
padding: '1.1rem 1.3rem',
|
|
72
|
+
gap: '0.9rem',
|
|
73
|
+
fontSize: tokens.core.font.fontSize.s13,
|
|
74
|
+
iconSize: '1.4rem'
|
|
75
|
+
}
|
|
70
76
|
},
|
|
71
77
|
footer: {
|
|
72
78
|
blockPadding: '1rem 0.2rem',
|
|
@@ -74,6 +80,27 @@ const theme = {
|
|
|
74
80
|
separator: {
|
|
75
81
|
size: '1px',
|
|
76
82
|
color: tokens.semantic.color.border.secondary800
|
|
83
|
+
},
|
|
84
|
+
action: {
|
|
85
|
+
padding: '1.1rem 1.5rem',
|
|
86
|
+
gap: '0.9rem',
|
|
87
|
+
fontSize: tokens.core.font.fontSize.s13,
|
|
88
|
+
iconSize: '1.3rem',
|
|
89
|
+
textColor: tokens.semantic.color.text.secondary50,
|
|
90
|
+
iconColor: tokens.semantic.color.icon.secondary400,
|
|
91
|
+
hoverBgColor: tokens.semantic.color.background.secondary800
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
compact: {
|
|
95
|
+
listPadding: '0.5rem',
|
|
96
|
+
borderColor: tokens.semantic.color.border.secondary800,
|
|
97
|
+
option: {
|
|
98
|
+
height: '3.6rem',
|
|
99
|
+
fontSize: tokens.core.font.fontSize.s13,
|
|
100
|
+
padding: '0 0.4rem 0 1rem',
|
|
101
|
+
gap: '0.9rem',
|
|
102
|
+
borderRadius: '0.4rem',
|
|
103
|
+
indicatorSize: '1.4rem'
|
|
77
104
|
}
|
|
78
105
|
},
|
|
79
106
|
option: {
|
|
@@ -70,7 +70,13 @@ const theme = {
|
|
|
70
70
|
triggerOffset: '0.4rem',
|
|
71
71
|
maxHeight: '50vh',
|
|
72
72
|
search: {
|
|
73
|
-
margin: '0.8rem 1.6rem'
|
|
73
|
+
margin: '0.8rem 1.6rem',
|
|
74
|
+
inline: {
|
|
75
|
+
padding: '1.1rem 1.3rem',
|
|
76
|
+
gap: '0.9rem',
|
|
77
|
+
fontSize: tokens.core.font.fontSize.s13,
|
|
78
|
+
iconSize: '1.4rem'
|
|
79
|
+
}
|
|
74
80
|
},
|
|
75
81
|
footer: {
|
|
76
82
|
blockPadding: '1rem 0.2rem',
|
|
@@ -78,6 +84,27 @@ const theme = {
|
|
|
78
84
|
separator: {
|
|
79
85
|
size: '1px',
|
|
80
86
|
color: tokens.semantic.color.text.secondary700
|
|
87
|
+
},
|
|
88
|
+
action: {
|
|
89
|
+
padding: '1.1rem 1.5rem',
|
|
90
|
+
gap: '0.9rem',
|
|
91
|
+
fontSize: tokens.core.font.fontSize.s13,
|
|
92
|
+
iconSize: '1.3rem',
|
|
93
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
94
|
+
iconColor: tokens.semantic.color.icon.secondary400,
|
|
95
|
+
hoverBgColor: tokens.semantic.color.background.secondary900
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
compact: {
|
|
99
|
+
listPadding: '0.5rem',
|
|
100
|
+
borderColor: tokens.semantic.color.text.secondary700,
|
|
101
|
+
option: {
|
|
102
|
+
height: '3.6rem',
|
|
103
|
+
fontSize: tokens.core.font.fontSize.s13,
|
|
104
|
+
padding: '0 0.4rem 0 1rem',
|
|
105
|
+
gap: '0.9rem',
|
|
106
|
+
borderRadius: '0.4rem',
|
|
107
|
+
indicatorSize: '1.4rem'
|
|
81
108
|
}
|
|
82
109
|
},
|
|
83
110
|
option: {
|
|
@@ -65,7 +65,13 @@ const theme = {
|
|
|
65
65
|
triggerOffset: '0.4rem',
|
|
66
66
|
maxHeight: '50vh',
|
|
67
67
|
search: {
|
|
68
|
-
margin: '0.8rem 1.6rem'
|
|
68
|
+
margin: '0.8rem 1.6rem',
|
|
69
|
+
inline: {
|
|
70
|
+
padding: '1.1rem 1.3rem',
|
|
71
|
+
gap: '0.9rem',
|
|
72
|
+
fontSize: tokens.core.font.fontSize.s13,
|
|
73
|
+
iconSize: '1.4rem'
|
|
74
|
+
}
|
|
69
75
|
},
|
|
70
76
|
footer: {
|
|
71
77
|
blockPadding: '1rem 0.2rem',
|
|
@@ -73,6 +79,27 @@ const theme = {
|
|
|
73
79
|
separator: {
|
|
74
80
|
size: '1px',
|
|
75
81
|
color: tokens.semantic.color.border.secondary300
|
|
82
|
+
},
|
|
83
|
+
action: {
|
|
84
|
+
padding: '1.1rem 1.5rem',
|
|
85
|
+
gap: '0.9rem',
|
|
86
|
+
fontSize: tokens.core.font.fontSize.s13,
|
|
87
|
+
iconSize: '1.3rem',
|
|
88
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
89
|
+
iconColor: tokens.semantic.color.icon.secondary950,
|
|
90
|
+
hoverBgColor: tokens.semantic.color.background.secondary100
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
compact: {
|
|
94
|
+
listPadding: '0.5rem',
|
|
95
|
+
borderColor: tokens.semantic.color.border.secondary300,
|
|
96
|
+
option: {
|
|
97
|
+
height: '3.6rem',
|
|
98
|
+
fontSize: tokens.core.font.fontSize.s13,
|
|
99
|
+
padding: '0 0.4rem 0 1rem',
|
|
100
|
+
gap: '0.9rem',
|
|
101
|
+
borderRadius: '0.4rem',
|
|
102
|
+
indicatorSize: '1.4rem'
|
|
76
103
|
}
|
|
77
104
|
},
|
|
78
105
|
option: {
|
|
@@ -69,7 +69,13 @@ const theme = {
|
|
|
69
69
|
triggerOffset: '0.4rem',
|
|
70
70
|
maxHeight: '50vh',
|
|
71
71
|
search: {
|
|
72
|
-
margin: '0.8rem 1.6rem'
|
|
72
|
+
margin: '0.8rem 1.6rem',
|
|
73
|
+
inline: {
|
|
74
|
+
padding: '1.1rem 1.3rem',
|
|
75
|
+
gap: '0.9rem',
|
|
76
|
+
fontSize: tokens.core.font.fontSize.s13,
|
|
77
|
+
iconSize: '1.4rem'
|
|
78
|
+
}
|
|
73
79
|
},
|
|
74
80
|
footer: {
|
|
75
81
|
blockPadding: '1rem 0.2rem',
|
|
@@ -77,6 +83,27 @@ const theme = {
|
|
|
77
83
|
separator: {
|
|
78
84
|
size: '1px',
|
|
79
85
|
color: tokens.semantic.color.text.secondary200
|
|
86
|
+
},
|
|
87
|
+
action: {
|
|
88
|
+
padding: '1.1rem 1.5rem',
|
|
89
|
+
gap: '0.9rem',
|
|
90
|
+
fontSize: tokens.core.font.fontSize.s13,
|
|
91
|
+
iconSize: '1.3rem',
|
|
92
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
93
|
+
iconColor: tokens.semantic.color.icon.secondary500,
|
|
94
|
+
hoverBgColor: tokens.semantic.color.background.neutral100
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
compact: {
|
|
98
|
+
listPadding: '0.5rem',
|
|
99
|
+
borderColor: tokens.semantic.color.text.secondary200,
|
|
100
|
+
option: {
|
|
101
|
+
height: '3.6rem',
|
|
102
|
+
fontSize: tokens.core.font.fontSize.s13,
|
|
103
|
+
padding: '0 0.4rem 0 1rem',
|
|
104
|
+
gap: '0.9rem',
|
|
105
|
+
borderRadius: '0.4rem',
|
|
106
|
+
indicatorSize: '1.4rem'
|
|
80
107
|
}
|
|
81
108
|
},
|
|
82
109
|
option: {
|
|
@@ -5,6 +5,8 @@ export type BreadcrumbsStateColors = {
|
|
|
5
5
|
export type BreadcrumbsStatesTheme = Partial<Record<BreadcrumbsState, BreadcrumbsStateColors>>;
|
|
6
6
|
export type BreadcrumbsTheme = {
|
|
7
7
|
gap: string;
|
|
8
|
+
/** Falls back to the body `M` text size. */
|
|
9
|
+
fontSize?: string;
|
|
8
10
|
link: {
|
|
9
11
|
states: BreadcrumbsStatesTheme;
|
|
10
12
|
};
|
|
@@ -48,6 +48,12 @@ export type SelectTheme = {
|
|
|
48
48
|
maxHeight: string;
|
|
49
49
|
search: {
|
|
50
50
|
margin: string;
|
|
51
|
+
inline?: {
|
|
52
|
+
padding: string;
|
|
53
|
+
gap: string;
|
|
54
|
+
fontSize: string;
|
|
55
|
+
iconSize: string;
|
|
56
|
+
};
|
|
51
57
|
};
|
|
52
58
|
footer: {
|
|
53
59
|
blockPadding: string;
|
|
@@ -56,6 +62,27 @@ export type SelectTheme = {
|
|
|
56
62
|
size: string;
|
|
57
63
|
color: string;
|
|
58
64
|
};
|
|
65
|
+
action?: {
|
|
66
|
+
padding: string;
|
|
67
|
+
gap: string;
|
|
68
|
+
fontSize: string;
|
|
69
|
+
iconSize: string;
|
|
70
|
+
textColor: string;
|
|
71
|
+
iconColor: string;
|
|
72
|
+
hoverBgColor: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
compact?: {
|
|
76
|
+
listPadding: string;
|
|
77
|
+
borderColor: string;
|
|
78
|
+
option: {
|
|
79
|
+
height: string;
|
|
80
|
+
fontSize: string;
|
|
81
|
+
padding: string;
|
|
82
|
+
gap: string;
|
|
83
|
+
borderRadius: string;
|
|
84
|
+
indicatorSize: string;
|
|
85
|
+
};
|
|
59
86
|
};
|
|
60
87
|
option: {
|
|
61
88
|
height: string;
|