@redis-ui/styles 21.21.0 → 21.22.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.
@@ -79,7 +79,11 @@ const theme = {
79
79
  gap: tokens.core.space.space200,
80
80
  iconSize: '1.8rem',
81
81
  height: '3rem',
82
- margin: '0.1rem 0.5rem 0.1rem 1rem'
82
+ margin: '0.1rem 0.5rem 0.1rem 1rem',
83
+ child: {
84
+ height: '2.4rem',
85
+ fontSize: tokens.core.font.fontSize.s12
86
+ }
83
87
  },
84
88
  groupTitle: {
85
89
  textColor: tokens.semantic.color.text.secondary400,
@@ -79,7 +79,11 @@ const theme = {
79
79
  gap: tokens.core.space.space200,
80
80
  iconSize: '1.8rem',
81
81
  height: '3rem',
82
- margin: '0.1rem 0.5rem 0.1rem 1rem'
82
+ margin: '0.1rem 0.5rem 0.1rem 1rem',
83
+ child: {
84
+ height: '2.4rem',
85
+ fontSize: tokens.core.font.fontSize.s12
86
+ }
83
87
  },
84
88
  groupTitle: {
85
89
  textColor: tokens.semantic.color.text.secondary500,
@@ -66,6 +66,11 @@ export type SideBarTheme = {
66
66
  iconSize?: string;
67
67
  height?: string;
68
68
  margin?: string;
69
+ /** Rows nested under a SideBar.ExpandableItem. */
70
+ child?: {
71
+ height?: string;
72
+ fontSize?: string;
73
+ };
69
74
  };
70
75
  groupTitle: {
71
76
  textColor: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redis-ui/styles",
3
3
  "license": "UNLICENSED",
4
- "version": "21.21.0",
4
+ "version": "21.22.0",
5
5
  "repository": "git@github.com:redislabsdev/redis-ui.git",
6
6
  "type": "module",
7
7
  "files": [