@redis-ui/styles 21.7.0 → 21.9.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.
Files changed (37) hide show
  1. package/dist/index.js +122 -31
  2. package/dist/index.umd.cjs +2 -2
  3. package/dist/themes/themeDark/theme/components/charts.js +4 -0
  4. package/dist/themes/themeDarkNext/theme/components/actionIconButton.js +6 -2
  5. package/dist/themes/themeDarkNext/theme/components/button.js +3 -1
  6. package/dist/themes/themeDarkNext/theme/components/charts.js +4 -0
  7. package/dist/themes/themeDarkNext/theme/components/chip.js +8 -4
  8. package/dist/themes/themeDarkNext/theme/components/input.js +4 -0
  9. package/dist/themes/themeDarkNext/theme/components/menu.js +1 -0
  10. package/dist/themes/themeDarkNext/theme/components/modal.js +3 -1
  11. package/dist/themes/themeDarkNext/theme/components/popover.js +2 -0
  12. package/dist/themes/themeDarkNext/theme/components/select.js +4 -0
  13. package/dist/themes/themeDarkNext/theme/components/tabs.js +1 -0
  14. package/dist/themes/themeDarkNext/theme/components/toast.js +2 -1
  15. package/dist/themes/themeDarkNext/theme/components/tooltip.js +7 -6
  16. package/dist/themes/themeLight/theme/components/charts.js +4 -0
  17. package/dist/themes/themeLightNext/theme/components/button.js +3 -1
  18. package/dist/themes/themeLightNext/theme/components/charts.js +4 -0
  19. package/dist/themes/themeLightNext/theme/components/chip.js +8 -4
  20. package/dist/themes/themeLightNext/theme/components/input.js +4 -0
  21. package/dist/themes/themeLightNext/theme/components/menu.js +1 -0
  22. package/dist/themes/themeLightNext/theme/components/modal.js +3 -1
  23. package/dist/themes/themeLightNext/theme/components/popover.js +2 -0
  24. package/dist/themes/themeLightNext/theme/components/select.js +4 -0
  25. package/dist/themes/themeLightNext/theme/components/tabs.js +4 -0
  26. package/dist/themes/themeLightNext/theme/components/toast.js +2 -1
  27. package/dist/themes/themeLightNext/theme/components/tooltip.js +8 -7
  28. package/dist/themes/types/theme/components/button.types.d.ts +2 -0
  29. package/dist/themes/types/theme/components/charts.types.d.ts +4 -0
  30. package/dist/themes/types/theme/components/chip.types.d.ts +1 -0
  31. package/dist/themes/types/theme/components/input.types.d.ts +9 -5
  32. package/dist/themes/types/theme/components/menu.types.d.ts +1 -0
  33. package/dist/themes/types/theme/components/modal.types.d.ts +2 -0
  34. package/dist/themes/types/theme/components/popover.types.d.ts +2 -0
  35. package/dist/themes/types/theme/components/select.types.d.ts +10 -6
  36. package/dist/themes/types/theme/components/tooltip.types.d.ts +1 -0
  37. package/package.json +1 -1
@@ -63,6 +63,10 @@ const theme = {
63
63
  sparkline: {
64
64
  strokeWidth: 1.5,
65
65
  areaOpacity: { from: 0.4, to: 0.04 }
66
+ },
67
+ panel: {
68
+ padding: { S: tokens.core.space.space200, M: tokens.core.space.space200 },
69
+ gap: { S: tokens.core.space.space100, M: tokens.core.space.space100 }
66
70
  }
67
71
  };
68
72
  export default theme;
@@ -22,16 +22,20 @@ const theme = {
22
22
  primary: {
23
23
  normal: {
24
24
  bgColor: tokens.semantic.color.background.primary950,
25
+ borderColor: tokens.semantic.color.border.primary400,
25
26
  textColor: tokens.semantic.color.text.secondary0
26
27
  },
27
28
  hover: {
28
- bgColor: tokens.semantic.color.background.primary800
29
+ bgColor: tokens.semantic.color.background.primary800,
30
+ borderColor: tokens.semantic.color.border.primary600
29
31
  },
30
32
  active: {
31
- bgColor: tokens.semantic.color.background.primary600
33
+ bgColor: tokens.semantic.color.background.primary600,
34
+ borderColor: tokens.semantic.color.border.primary600
32
35
  },
33
36
  disabled: {
34
37
  bgColor: tokens.semantic.color.background.secondary700,
38
+ borderColor: tokens.semantic.color.border.secondary700,
35
39
  textColor: tokens.semantic.color.text.secondary400
36
40
  }
37
41
  },
@@ -3,6 +3,7 @@ import { withOpacity } from '../../../../utils';
3
3
  const destructiveBorder = withOpacity(tokens.semantic.color.background.primary300, 0.55);
4
4
  const theme = {
5
5
  gap: '0.2rem',
6
+ pressTransform: 'translateY(1px)',
6
7
  sizes: {
7
8
  small: {
8
9
  borderRadius: '0.3rem',
@@ -20,7 +21,8 @@ const theme = {
20
21
  borderRadius: '0.5rem',
21
22
  padding: '0.8rem 1.6rem',
22
23
  height: '3.6rem',
23
- lineHeight: '1.91rem'
24
+ lineHeight: '1.91rem',
25
+ fontSize: '1.6rem'
24
26
  }
25
27
  },
26
28
  variants: {
@@ -66,6 +66,10 @@ const theme = {
66
66
  sparkline: {
67
67
  strokeWidth: 1.6,
68
68
  areaOpacity: { from: 0.55, to: 0.04 }
69
+ },
70
+ panel: {
71
+ padding: { S: '1.8rem', M: '2rem 2.2rem 1.6rem' },
72
+ gap: { S: '0.6rem', M: tokens.core.space.space100 }
69
73
  }
70
74
  };
71
75
  export default theme;
@@ -18,21 +18,25 @@ const theme = {
18
18
  regular: {
19
19
  normal: {
20
20
  bgColor: tokens.semantic.color.background.secondary900,
21
- textColor: tokens.semantic.color.text.secondary0
21
+ textColor: tokens.semantic.color.text.secondary0,
22
+ borderColor: tokens.semantic.color.border.secondary700
22
23
  },
23
24
  disabled: {
24
25
  bgColor: tokens.semantic.color.background.secondary700,
25
- textColor: tokens.semantic.color.text.secondary400
26
+ textColor: tokens.semantic.color.text.secondary400,
27
+ borderColor: tokens.semantic.color.border.secondary700
26
28
  }
27
29
  },
28
30
  flat: {
29
31
  normal: {
30
32
  bgColor: tokens.semantic.color.background.secondary900,
31
- textColor: tokens.semantic.color.text.secondary0
33
+ textColor: tokens.semantic.color.text.secondary0,
34
+ borderColor: tokens.semantic.color.border.secondary700
32
35
  },
33
36
  disabled: {
34
37
  bgColor: tokens.semantic.color.background.secondary700,
35
- textColor: tokens.semantic.color.text.secondary400
38
+ textColor: tokens.semantic.color.text.secondary400,
39
+ borderColor: tokens.semantic.color.border.secondary700
36
40
  }
37
41
  }
38
42
  },
@@ -30,12 +30,16 @@ const theme = {
30
30
  borderWidth: '1px 0'
31
31
  }
32
32
  },
33
+ focusRing: `0 0 0 3px ${tokens.semantic.color.border.secondary700}`,
33
34
  states: {
34
35
  normal: {
35
36
  bgColor: tokens.semantic.color.background.secondary950,
36
37
  textColor: tokens.semantic.color.text.secondary0,
37
38
  borderColor: tokens.semantic.color.border.secondary500
38
39
  },
40
+ hover: {
41
+ borderColor: tokens.semantic.color.border.secondary400
42
+ },
39
43
  focused: {
40
44
  borderColor: tokens.semantic.color.border.secondary0
41
45
  },
@@ -4,6 +4,7 @@ const theme = {
4
4
  minWidth: '16rem',
5
5
  maxWidth: '40rem',
6
6
  bgColor: tokens.semantic.color.background.secondary950,
7
+ borderColor: tokens.semantic.color.border.secondary700,
7
8
  shadow: tokens.core.shadow.shadow400,
8
9
  borderRadius: '0.8rem',
9
10
  arrow: {
@@ -8,6 +8,7 @@ const theme = {
8
8
  borderRadius: '0.8rem',
9
9
  shadow: tokens.core.shadow.shadow600,
10
10
  bgColor: tokens.semantic.color.background.secondary950,
11
+ borderColor: tokens.semantic.color.border.secondary700,
11
12
  header: {
12
13
  blockPadding: '0 1.6rem',
13
14
  closeIconColor: tokens.semantic.color.icon.secondary400,
@@ -28,7 +29,8 @@ const theme = {
28
29
  buttonsGap: '0.8rem'
29
30
  },
30
31
  overlay: {
31
- bgColor: withOpacity(tokens.semantic.color.background.secondary950, 0.55)
32
+ bgColor: withOpacity(tokens.semantic.color.background.secondary950, 0.55),
33
+ backdropFilter: 'blur(4px)'
32
34
  }
33
35
  };
34
36
  export default theme;
@@ -1,6 +1,8 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
3
  bgColor: tokens.semantic.color.background.secondary950,
4
+ textColor: tokens.semantic.color.text.secondary300,
5
+ borderColor: tokens.semantic.color.border.secondary700,
4
6
  shadow: tokens.core.shadow.shadow400,
5
7
  borderRadius: '0.8rem',
6
8
  minWidth: '10rem',
@@ -28,12 +28,16 @@ const theme = {
28
28
  multiValue: {
29
29
  margin: '0 0 0 -0.6rem'
30
30
  },
31
+ focusRing: `0 0 0 3px ${tokens.semantic.color.border.secondary700}`,
31
32
  states: {
32
33
  normal: {
33
34
  bgColor: tokens.semantic.color.background.secondary950,
34
35
  borderColor: tokens.semantic.color.border.secondary500,
35
36
  textColor: tokens.semantic.color.text.secondary0
36
37
  },
38
+ hover: {
39
+ borderColor: tokens.semantic.color.border.secondary400
40
+ },
37
41
  focused: {
38
42
  borderColor: tokens.semantic.color.border.secondary0
39
43
  },
@@ -61,6 +61,7 @@ const theme = {
61
61
  borderColor: tokens.semantic.color.border.transparent
62
62
  },
63
63
  hover: {
64
+ textColor: tokens.semantic.color.text.secondary0,
64
65
  bgColor: tokens.semantic.color.background.secondary900
65
66
  },
66
67
  active: {
@@ -1,7 +1,8 @@
1
+ import { tokens } from '../../tokens';
1
2
  const theme = {
2
3
  width: 'clamp(400px, 33vw, 640px)',
3
4
  padding: '12px max(12px, calc(20 * (100vw / 1920)))',
4
- shadow: '0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05)',
5
+ shadow: tokens.core.shadow.shadow400,
5
6
  gap: '1.2rem',
6
7
  actions: { gap: '0.8rem', inlineMargin: '2.4rem 0' },
7
8
  toaster: { gap: '2rem' }
@@ -1,17 +1,18 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
- textColor: tokens.semantic.color.text.secondary300,
3
+ textColor: tokens.semantic.color.text.secondary0,
4
+ contentTextColor: tokens.semantic.color.text.secondary0,
4
5
  bgColor: tokens.semantic.color.background.secondary950,
5
- shadow: `0 0 0 1px ${tokens.semantic.color.border.secondary500}, ${tokens.core.shadow.shadow400}`,
6
- borderRadius: '0.5rem',
6
+ shadow: `0 0 0 1px ${tokens.semantic.color.border.secondary700}`,
7
+ borderRadius: '0.2rem',
7
8
  minWidth: 'initial',
8
9
  maxWidth: '30rem',
9
- blockPadding: '0.9rem',
10
- inlinePadding: '1.1rem',
10
+ blockPadding: '0.6rem',
11
+ inlinePadding: '1rem',
11
12
  arrow: {
12
13
  width: '16px',
13
14
  height: '8px',
14
- shadow: `0 1px 0 ${tokens.semantic.color.border.secondary500}`
15
+ shadow: `0 1px 0 ${tokens.semantic.color.border.secondary700}`
15
16
  }
16
17
  };
17
18
  export default theme;
@@ -63,6 +63,10 @@ const theme = {
63
63
  sparkline: {
64
64
  strokeWidth: 1.5,
65
65
  areaOpacity: { from: 0.4, to: 0.04 }
66
+ },
67
+ panel: {
68
+ padding: { S: tokens.core.space.space200, M: tokens.core.space.space200 },
69
+ gap: { S: tokens.core.space.space100, M: tokens.core.space.space100 }
66
70
  }
67
71
  };
68
72
  export default theme;
@@ -3,6 +3,7 @@ import { withOpacity } from '../../../../utils';
3
3
  const destructiveBorder = withOpacity(tokens.semantic.color.background.primary400, 0.55);
4
4
  const theme = {
5
5
  gap: '0.2rem',
6
+ pressTransform: 'translateY(1px)',
6
7
  sizes: {
7
8
  small: {
8
9
  borderRadius: '0.3rem',
@@ -20,7 +21,8 @@ const theme = {
20
21
  borderRadius: '0.5rem',
21
22
  padding: '0.8rem 1.6rem',
22
23
  height: '3.6rem',
23
- lineHeight: '1.91rem'
24
+ lineHeight: '1.91rem',
25
+ fontSize: '1.6rem'
24
26
  }
25
27
  },
26
28
  variants: {
@@ -66,6 +66,10 @@ const theme = {
66
66
  sparkline: {
67
67
  strokeWidth: 1.6,
68
68
  areaOpacity: { from: 0.35, to: 0.04 }
69
+ },
70
+ panel: {
71
+ padding: { S: '1.8rem', M: '2rem 2.2rem 1.6rem' },
72
+ gap: { S: '0.6rem', M: tokens.core.space.space100 }
69
73
  }
70
74
  };
71
75
  export default theme;
@@ -18,21 +18,25 @@ const theme = {
18
18
  regular: {
19
19
  normal: {
20
20
  bgColor: tokens.semantic.color.background.neutral100,
21
- textColor: tokens.semantic.color.text.secondary950
21
+ textColor: tokens.semantic.color.text.secondary950,
22
+ borderColor: tokens.semantic.color.border.secondary200
22
23
  },
23
24
  disabled: {
24
25
  bgColor: tokens.semantic.color.background.secondary200,
25
- textColor: tokens.semantic.color.text.secondary500
26
+ textColor: tokens.semantic.color.text.secondary500,
27
+ borderColor: tokens.semantic.color.border.secondary200
26
28
  }
27
29
  },
28
30
  flat: {
29
31
  normal: {
30
32
  bgColor: tokens.semantic.color.background.neutral100,
31
- textColor: tokens.semantic.color.text.secondary950
33
+ textColor: tokens.semantic.color.text.secondary950,
34
+ borderColor: tokens.semantic.color.border.secondary200
32
35
  },
33
36
  disabled: {
34
37
  bgColor: tokens.semantic.color.background.secondary200,
35
- textColor: tokens.semantic.color.text.secondary500
38
+ textColor: tokens.semantic.color.text.secondary500,
39
+ borderColor: tokens.semantic.color.border.secondary200
36
40
  }
37
41
  }
38
42
  },
@@ -30,12 +30,16 @@ const theme = {
30
30
  borderWidth: '1px 0'
31
31
  }
32
32
  },
33
+ focusRing: `0 0 0 3px ${tokens.semantic.color.border.informative100}`,
33
34
  states: {
34
35
  normal: {
35
36
  bgColor: tokens.semantic.color.background.secondary0,
36
37
  textColor: tokens.semantic.color.text.secondary950,
37
38
  borderColor: tokens.semantic.color.border.secondary400
38
39
  },
40
+ hover: {
41
+ borderColor: tokens.semantic.color.border.secondary500
42
+ },
39
43
  focused: {
40
44
  borderColor: tokens.semantic.color.border.secondary950
41
45
  },
@@ -4,6 +4,7 @@ const theme = {
4
4
  minWidth: '16rem',
5
5
  maxWidth: '40rem',
6
6
  bgColor: tokens.semantic.color.background.secondary0,
7
+ borderColor: tokens.semantic.color.border.secondary200,
7
8
  shadow: tokens.core.shadow.shadow400,
8
9
  borderRadius: '0.8rem',
9
10
  arrow: {
@@ -8,6 +8,7 @@ const theme = {
8
8
  borderRadius: '0.8rem',
9
9
  shadow: tokens.core.shadow.shadow600,
10
10
  bgColor: tokens.semantic.color.background.secondary0,
11
+ borderColor: tokens.semantic.color.border.secondary200,
11
12
  header: {
12
13
  blockPadding: '0 1.6rem',
13
14
  closeIconColor: tokens.semantic.color.icon.secondary500,
@@ -28,7 +29,8 @@ const theme = {
28
29
  buttonsGap: '0.8rem'
29
30
  },
30
31
  overlay: {
31
- bgColor: withOpacity(tokens.semantic.color.background.secondary950, 0.55)
32
+ bgColor: withOpacity(tokens.semantic.color.background.secondary950, 0.55),
33
+ backdropFilter: 'blur(4px)'
32
34
  }
33
35
  };
34
36
  export default theme;
@@ -1,6 +1,8 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
3
  bgColor: tokens.semantic.color.background.secondary0,
4
+ textColor: tokens.semantic.color.text.secondary500,
5
+ borderColor: tokens.semantic.color.border.secondary200,
4
6
  shadow: tokens.core.shadow.shadow400,
5
7
  borderRadius: '0.8rem',
6
8
  minWidth: '10rem',
@@ -28,12 +28,16 @@ const theme = {
28
28
  multiValue: {
29
29
  margin: '0 0 0 -0.6rem'
30
30
  },
31
+ focusRing: `0 0 0 3px ${tokens.semantic.color.border.informative100}`,
31
32
  states: {
32
33
  normal: {
33
34
  bgColor: tokens.semantic.color.background.secondary0,
34
35
  borderColor: tokens.semantic.color.border.secondary400,
35
36
  textColor: tokens.semantic.color.text.secondary950
36
37
  },
38
+ hover: {
39
+ borderColor: tokens.semantic.color.border.secondary500
40
+ },
37
41
  focused: {
38
42
  borderColor: tokens.semantic.color.border.secondary950
39
43
  },
@@ -14,6 +14,9 @@ const theme = {
14
14
  padding: '2px 0 4px',
15
15
  letterSpacing: '0.11px'
16
16
  },
17
+ hover: {
18
+ textColor: tokens.semantic.color.text.secondary950
19
+ },
17
20
  active: {
18
21
  textColor: tokens.semantic.color.text.secondary950,
19
22
  fontWeight: tokens.core.font.fontWeight.semiBold,
@@ -58,6 +61,7 @@ const theme = {
58
61
  borderColor: tokens.semantic.color.border.transparent
59
62
  },
60
63
  hover: {
64
+ textColor: tokens.semantic.color.text.secondary950,
61
65
  bgColor: tokens.semantic.color.background.neutral100
62
66
  },
63
67
  active: {
@@ -1,7 +1,8 @@
1
+ import { tokens } from '../../tokens';
1
2
  const theme = {
2
3
  width: 'clamp(400px, 33vw, 640px)',
3
4
  padding: '12px max(12px, calc(20 * (100vw / 1920)))',
4
- shadow: '0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05)',
5
+ shadow: tokens.core.shadow.shadow400,
5
6
  gap: '1.2rem',
6
7
  actions: { gap: '0.8rem', inlineMargin: '2.4rem 0' },
7
8
  toaster: { gap: '2rem' }
@@ -1,17 +1,18 @@
1
1
  import { tokens } from '../../tokens';
2
2
  const theme = {
3
- textColor: tokens.semantic.color.text.secondary500,
4
- bgColor: tokens.semantic.color.background.secondary0,
5
- shadow: `0 0 0 1px ${tokens.semantic.color.border.secondary400}, ${tokens.core.shadow.shadow400}`,
6
- borderRadius: '0.5rem',
3
+ textColor: tokens.semantic.color.text.secondary0,
4
+ contentTextColor: tokens.semantic.color.text.secondary0,
5
+ bgColor: tokens.semantic.color.background.secondary950,
6
+ shadow: 'none',
7
+ borderRadius: '0.2rem',
7
8
  minWidth: 'initial',
8
9
  maxWidth: '30rem',
9
- blockPadding: '0.9rem',
10
- inlinePadding: '1.1rem',
10
+ blockPadding: '0.6rem',
11
+ inlinePadding: '1rem',
11
12
  arrow: {
12
13
  width: '16px',
13
14
  height: '8px',
14
- shadow: `0 1px 0 ${tokens.semantic.color.border.secondary400}`
15
+ shadow: '0 0 0 transparent'
15
16
  }
16
17
  };
17
18
  export default theme;
@@ -15,7 +15,9 @@ export type ButtonTheme = {
15
15
  padding: string;
16
16
  height: string;
17
17
  lineHeight: string;
18
+ fontSize?: string;
18
19
  }>;
20
+ pressTransform?: string;
19
21
  variants: Record<ButtonVariants, ButtonStatesTheme<ButtonStateColors>>;
20
22
  };
21
23
  export {};
@@ -62,4 +62,8 @@ export interface ChartsTheme {
62
62
  to: number;
63
63
  };
64
64
  };
65
+ panel: {
66
+ padding: Record<ChartSize, string>;
67
+ gap: Record<ChartSize, string>;
68
+ };
65
69
  }
@@ -11,6 +11,7 @@ export type ChipTheme = {
11
11
  variant: Record<ChipVariant, Record<ChipState, {
12
12
  bgColor: string;
13
13
  textColor: string;
14
+ borderColor?: string;
14
15
  }>>;
15
16
  closeButton: {
16
17
  size: Record<ChipSize, {
@@ -1,6 +1,11 @@
1
1
  import type { LoaderSize } from './loader.types';
2
2
  type InputVariant = 'outline' | 'underline';
3
3
  type InputState = 'normal' | 'focused' | 'disabled' | 'error' | 'success' | 'readonly';
4
+ type InputStateColors = {
5
+ bgColor?: string;
6
+ textColor?: string;
7
+ borderColor?: string;
8
+ };
4
9
  export type InputTheme = {
5
10
  padding: string;
6
11
  height: string;
@@ -26,11 +31,10 @@ export type InputTheme = {
26
31
  borderRadius: string;
27
32
  borderWidth: string;
28
33
  }>;
29
- states: Record<InputState, {
30
- bgColor?: string;
31
- textColor?: string;
32
- borderColor?: string;
33
- }>;
34
+ states: Record<InputState, InputStateColors> & {
35
+ hover?: InputStateColors;
36
+ };
37
+ focusRing?: string;
34
38
  textarea: {
35
39
  padding: string;
36
40
  statusPadding: string;
@@ -10,6 +10,7 @@ export type MenuTheme = {
10
10
  minWidth: string;
11
11
  maxWidth: string;
12
12
  bgColor: string;
13
+ borderColor?: string;
13
14
  shadow: string;
14
15
  borderRadius: string;
15
16
  arrow: {
@@ -5,6 +5,7 @@ export type ModalTheme = {
5
5
  blockScreenMargin: string;
6
6
  shadow: string;
7
7
  bgColor: string;
8
+ borderColor?: string;
8
9
  borderRadius: string;
9
10
  header: {
10
11
  blockPadding: string;
@@ -27,5 +28,6 @@ export type ModalTheme = {
27
28
  };
28
29
  overlay: {
29
30
  bgColor: string;
31
+ backdropFilter?: string;
30
32
  };
31
33
  };
@@ -1,5 +1,7 @@
1
1
  export type PopoverTheme = {
2
2
  bgColor: string;
3
+ textColor?: string;
4
+ borderColor?: string;
3
5
  shadow: string;
4
6
  borderRadius: string;
5
7
  minWidth: string;
@@ -1,4 +1,10 @@
1
1
  type SelectState = 'normal' | 'focused' | 'opened' | 'error' | 'success' | 'disabled' | 'readonly';
2
+ type SelectStateColors = {
3
+ bgColor?: string;
4
+ textColor?: string;
5
+ borderColor?: string;
6
+ iconOpacity?: string;
7
+ };
2
8
  type OptionState = 'normal' | 'highlighted' | 'checked' | 'disabled';
3
9
  export type SelectTheme = {
4
10
  padding: string;
@@ -29,12 +35,10 @@ export type SelectTheme = {
29
35
  multiValue: {
30
36
  margin: string;
31
37
  };
32
- states: Record<SelectState, {
33
- bgColor?: string;
34
- textColor?: string;
35
- borderColor?: string;
36
- iconOpacity?: string;
37
- }>;
38
+ states: Record<SelectState, SelectStateColors> & {
39
+ hover?: SelectStateColors;
40
+ };
41
+ focusRing?: string;
38
42
  dropdown: {
39
43
  padding: string;
40
44
  bgColor: string;
@@ -1,5 +1,6 @@
1
1
  export type TooltipTheme = {
2
2
  textColor: string;
3
+ contentTextColor?: string;
3
4
  bgColor: string;
4
5
  shadow: string;
5
6
  borderRadius: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redis-ui/styles",
3
3
  "license": "UNLICENSED",
4
- "version": "21.7.0",
4
+ "version": "21.9.0",
5
5
  "repository": "git@github.com:redislabsdev/redis-ui.git",
6
6
  "type": "module",
7
7
  "files": [