@redis-ui/styles 16.1.3 → 16.1.4

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.
@@ -15,7 +15,6 @@ import checkbox from './theme/components/checkbox';
15
15
  import chip from './theme/components/chip';
16
16
  import chipList from './theme/components/chipList';
17
17
  import countryFlag from './theme/components/countryFlag';
18
- import datePicker from './theme/components/datePicker';
19
18
  import drawer from './theme/components/drawer';
20
19
  import filters from './theme/components/filters';
21
20
  import formField from './theme/components/formField';
@@ -82,7 +81,6 @@ export const theme = {
82
81
  chip,
83
82
  chipList,
84
83
  countryFlag,
85
- datePicker,
86
84
  drawer,
87
85
  filters,
88
86
  formField,
@@ -15,7 +15,6 @@ import checkbox from './theme/components/checkbox';
15
15
  import chip from './theme/components/chip';
16
16
  import chipList from './theme/components/chipList';
17
17
  import countryFlag from './theme/components/countryFlag';
18
- import datePicker from './theme/components/datePicker';
19
18
  import drawer from './theme/components/drawer';
20
19
  import filters from './theme/components/filters';
21
20
  import formField from './theme/components/formField';
@@ -82,7 +81,6 @@ export const theme = {
82
81
  chip,
83
82
  chipList,
84
83
  countryFlag,
85
- datePicker,
86
84
  drawer,
87
85
  filters,
88
86
  formField,
@@ -15,7 +15,6 @@ import checkbox from './theme/components/checkbox';
15
15
  import chip from './theme/components/chip';
16
16
  import chipList from './theme/components/chipList';
17
17
  import countryFlag from './theme/components/countryFlag';
18
- import datePicker from './theme/components/datePicker';
19
18
  import drawer from './theme/components/drawer';
20
19
  import filters from './theme/components/filters';
21
20
  import formField from './theme/components/formField';
@@ -82,7 +81,6 @@ export const theme = {
82
81
  chip,
83
82
  chipList,
84
83
  countryFlag,
85
- datePicker,
86
84
  drawer,
87
85
  filters,
88
86
  formField,
@@ -15,7 +15,6 @@ import checkbox from './theme/components/checkbox';
15
15
  import chip from './theme/components/chip';
16
16
  import chipList from './theme/components/chipList';
17
17
  import countryFlag from './theme/components/countryFlag';
18
- import datePicker from './theme/components/datePicker';
19
18
  import drawer from './theme/components/drawer';
20
19
  import filters from './theme/components/filters';
21
20
  import formField from './theme/components/formField';
@@ -82,7 +81,6 @@ export const theme = {
82
81
  chip,
83
82
  chipList,
84
83
  countryFlag,
85
- datePicker,
86
84
  drawer,
87
85
  filters,
88
86
  formField,
@@ -13,7 +13,6 @@ export * from './checkbox.types';
13
13
  export * from './chip.types';
14
14
  export * from './chipList.types';
15
15
  export * from './countryFlag.types';
16
- export * from './datePicker.types';
17
16
  export * from './drawer.types';
18
17
  export * from './filters.types';
19
18
  export * from './formField.types';
@@ -13,7 +13,6 @@ export * from './checkbox.types';
13
13
  export * from './chip.types';
14
14
  export * from './chipList.types';
15
15
  export * from './countryFlag.types';
16
- export * from './datePicker.types';
17
16
  export * from './drawer.types';
18
17
  export * from './filters.types';
19
18
  export * from './formField.types';
@@ -1,5 +1,5 @@
1
1
  import { Tokens } from './tokens.types';
2
- import { ActionIconButtonTheme, AppBarTheme, AppSelectionMenuTheme, AutoCompleteTheme, BadgeTheme, BannerTheme, BoxSelectionGroupTheme, BreadcrumbsTheme, ButtonGroupTheme, ButtonTheme, CardTheme, CheckboxTheme, ChipListTheme, ChipTheme, CountryFlagTheme, DatePickerTheme, DrawerTheme, FiltersTheme, FormFieldTheme, HighlightedIconTheme, IconTheme, IconButtonTheme, InputTheme, KeyValueListTheme, LabelTheme, LayoutsTheme, LinkTheme, LoaderTheme, MenuTheme, MidBarTheme, ModalTheme, MoreInfoIconTheme, PopoverTheme, PopupCardTheme, ProfileIconTheme, ProgressBarTheme, RadioTheme, SearchBarTheme, SectionTheme, SelectTheme, SemanticButtonTheme, SemanticContainerTheme, SemanticIconTheme, SideBarTheme, SkeletonTheme, SliderTheme, StepperTheme, SwitchTheme, TableHeadingTheme, TableTheme, TabsTheme, TextButtonTheme, ThemeModeSwitchTheme, ToastTheme, ToggleButtonTheme, TooltipTheme, TreeViewTheme, TypoTheme, WindowBarTheme } from './components';
2
+ import { ActionIconButtonTheme, AppBarTheme, AppSelectionMenuTheme, AutoCompleteTheme, BadgeTheme, BannerTheme, BoxSelectionGroupTheme, BreadcrumbsTheme, ButtonGroupTheme, ButtonTheme, CardTheme, CheckboxTheme, ChipListTheme, ChipTheme, CountryFlagTheme, DrawerTheme, FiltersTheme, FormFieldTheme, HighlightedIconTheme, IconTheme, IconButtonTheme, InputTheme, KeyValueListTheme, LabelTheme, LayoutsTheme, LinkTheme, LoaderTheme, MenuTheme, MidBarTheme, ModalTheme, MoreInfoIconTheme, PopoverTheme, PopupCardTheme, ProfileIconTheme, ProgressBarTheme, RadioTheme, SearchBarTheme, SectionTheme, SelectTheme, SemanticButtonTheme, SemanticContainerTheme, SemanticIconTheme, SideBarTheme, SkeletonTheme, SliderTheme, StepperTheme, SwitchTheme, TableHeadingTheme, TableTheme, TabsTheme, TextButtonTheme, ThemeModeSwitchTheme, ToastTheme, ToggleButtonTheme, TooltipTheme, TreeViewTheme, TypoTheme, WindowBarTheme } from './components';
3
3
  import { BodyTheme, ScrollbarTheme } from './globals';
4
4
  import { ThemeCore } from './themeCore.types';
5
5
  export interface Theme extends ThemeCore, Tokens {
@@ -19,7 +19,6 @@ export interface Theme extends ThemeCore, Tokens {
19
19
  chip: ChipTheme;
20
20
  chipList: ChipListTheme;
21
21
  countryFlag: CountryFlagTheme;
22
- datePicker: DatePickerTheme;
23
22
  drawer: DrawerTheme;
24
23
  filters: FiltersTheme;
25
24
  formField: FormFieldTheme;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redis-ui/styles",
3
3
  "license": "UNLICENSED",
4
- "version": "16.1.3",
4
+ "version": "16.1.4",
5
5
  "repository": "git@github.com:redislabsdev/redis-ui.git",
6
6
  "type": "module",
7
7
  "files": [
@@ -1,3 +0,0 @@
1
- import { DatePickerTheme } from '../../../types/theme/components/datePicker.types';
2
- declare const theme: DatePickerTheme;
3
- export default theme;
@@ -1,67 +0,0 @@
1
- import { tokens } from '../../tokens';
2
- const theme = {
3
- fontSize: tokens.core.font.fontSize.s14,
4
- fontWeight: tokens.core.font.fontWeight.normal,
5
- fontFamily: tokens.core.font.fontFamily.regular,
6
- focusOutline: `1px dashed ${tokens.semantic.color.border.primary300}`,
7
- dayCell: {
8
- width: '3.6rem',
9
- height: '2.8rem',
10
- textColor: tokens.semantic.color.text.primary500,
11
- hoverColor: tokens.semantic.color.background.primary100,
12
- padding: '0.1rem 0'
13
- },
14
- weekDayCell: {
15
- textColor: tokens.semantic.color.text.neutral800
16
- },
17
- today: {
18
- border: `1px solid ${tokens.semantic.color.border.primary200}`
19
- },
20
- selectedDay: {
21
- bgColor: tokens.semantic.color.background.primary100,
22
- textColor: tokens.semantic.color.text.primary500,
23
- borderRadius: 'unset',
24
- border: 'none',
25
- singleDayMarker: {
26
- bgColor: tokens.semantic.color.background.primary600,
27
- textColor: tokens.semantic.color.text.neutral100,
28
- border: 'none',
29
- borderRadius: '100%'
30
- },
31
- startDayMarker: {
32
- bgColor: tokens.semantic.color.background.primary600,
33
- textColor: tokens.semantic.color.text.neutral100,
34
- border: 'none',
35
- borderRadius: '100% 100% 100% 4px',
36
- transform: 'rotate(-135deg)'
37
- },
38
- endDayMarker: {
39
- bgColor: tokens.semantic.color.background.primary600,
40
- textColor: tokens.semantic.color.text.neutral100,
41
- border: 'none',
42
- borderRadius: '100% 100% 100% 4px',
43
- transform: 'rotate(45deg)'
44
- }
45
- },
46
- navArrow: {
47
- gap: '0.6rem',
48
- width: 'auto',
49
- height: 'auto',
50
- padding: '0',
51
- iconColor: tokens.semantic.color.icon.neutral800
52
- },
53
- navSelect: {
54
- textColor: tokens.semantic.color.text.neutral800,
55
- gap: '0.8rem',
56
- month: {
57
- width: '10.8rem'
58
- },
59
- year: {
60
- width: '7.5rem'
61
- }
62
- },
63
- weekNumCell: {
64
- fontSize: '1rem'
65
- }
66
- };
67
- export default theme;
@@ -1,3 +0,0 @@
1
- import { DatePickerTheme } from '../../../types/theme/components/datePicker.types';
2
- declare const theme: DatePickerTheme;
3
- export default theme;
@@ -1,67 +0,0 @@
1
- import { tokens } from '../../tokens';
2
- const theme = {
3
- fontSize: tokens.core.font.fontSize.s14,
4
- fontWeight: tokens.core.font.fontWeight.normal,
5
- fontFamily: tokens.core.font.fontFamily.regular,
6
- focusOutline: `1px dashed ${tokens.semantic.color.border.primary300}`,
7
- dayCell: {
8
- width: '3.6rem',
9
- height: '2.8rem',
10
- textColor: tokens.semantic.color.text.primary500,
11
- hoverColor: tokens.semantic.color.background.primary100,
12
- padding: '0.1rem 0'
13
- },
14
- weekDayCell: {
15
- textColor: tokens.semantic.color.text.neutral800
16
- },
17
- today: {
18
- border: `1px solid ${tokens.semantic.color.border.primary200}`
19
- },
20
- selectedDay: {
21
- bgColor: tokens.semantic.color.background.primary100,
22
- textColor: tokens.semantic.color.text.primary500,
23
- borderRadius: 'unset',
24
- border: 'none',
25
- singleDayMarker: {
26
- bgColor: tokens.semantic.color.background.primary600,
27
- textColor: tokens.semantic.color.text.neutral100,
28
- border: 'none',
29
- borderRadius: '100%'
30
- },
31
- startDayMarker: {
32
- bgColor: tokens.semantic.color.background.primary600,
33
- textColor: tokens.semantic.color.text.neutral100,
34
- border: 'none',
35
- borderRadius: '100% 100% 100% 4px',
36
- transform: 'rotate(-135deg)'
37
- },
38
- endDayMarker: {
39
- bgColor: tokens.semantic.color.background.primary600,
40
- textColor: tokens.semantic.color.text.neutral100,
41
- border: 'none',
42
- borderRadius: '100% 100% 100% 4px',
43
- transform: 'rotate(45deg)'
44
- }
45
- },
46
- navArrow: {
47
- gap: '0.6rem',
48
- width: 'auto',
49
- height: 'auto',
50
- padding: '0',
51
- iconColor: tokens.semantic.color.icon.neutral800
52
- },
53
- navSelect: {
54
- textColor: tokens.semantic.color.text.neutral800,
55
- gap: '0.8rem',
56
- month: {
57
- width: '10.8rem'
58
- },
59
- year: {
60
- width: '7.5rem'
61
- }
62
- },
63
- weekNumCell: {
64
- fontSize: '1rem'
65
- }
66
- };
67
- export default theme;
@@ -1,3 +0,0 @@
1
- import { DatePickerTheme } from '../../../types/theme/components/datePicker.types';
2
- declare const theme: DatePickerTheme;
3
- export default theme;
@@ -1,67 +0,0 @@
1
- import { tokens } from '../../tokens';
2
- const theme = {
3
- fontSize: tokens.core.font.fontSize.s14,
4
- fontWeight: tokens.core.font.fontWeight.normal,
5
- fontFamily: tokens.core.font.fontFamily.regular,
6
- focusOutline: `1px dashed ${tokens.semantic.color.border.primary300}`,
7
- dayCell: {
8
- width: '3.6rem',
9
- height: '2.8rem',
10
- textColor: tokens.semantic.color.text.primary500,
11
- hoverColor: tokens.semantic.color.background.primary100,
12
- padding: '0.1rem 0'
13
- },
14
- weekDayCell: {
15
- textColor: tokens.semantic.color.text.neutral800
16
- },
17
- today: {
18
- border: `1px solid ${tokens.semantic.color.border.primary200}`
19
- },
20
- selectedDay: {
21
- bgColor: tokens.semantic.color.background.primary100,
22
- textColor: tokens.semantic.color.text.primary500,
23
- borderRadius: 'unset',
24
- border: 'none',
25
- singleDayMarker: {
26
- bgColor: tokens.semantic.color.background.primary600,
27
- textColor: tokens.semantic.color.text.neutral100,
28
- border: 'none',
29
- borderRadius: '100%'
30
- },
31
- startDayMarker: {
32
- bgColor: tokens.semantic.color.background.primary600,
33
- textColor: tokens.semantic.color.text.neutral100,
34
- border: 'none',
35
- borderRadius: '100% 100% 100% 4px',
36
- transform: 'rotate(-135deg)'
37
- },
38
- endDayMarker: {
39
- bgColor: tokens.semantic.color.background.primary600,
40
- textColor: tokens.semantic.color.text.neutral100,
41
- border: 'none',
42
- borderRadius: '100% 100% 100% 4px',
43
- transform: 'rotate(45deg)'
44
- }
45
- },
46
- navArrow: {
47
- gap: '0.6rem',
48
- width: 'auto',
49
- height: 'auto',
50
- padding: '0',
51
- iconColor: tokens.semantic.color.icon.neutral800
52
- },
53
- navSelect: {
54
- textColor: tokens.semantic.color.text.neutral800,
55
- gap: '0.8rem',
56
- month: {
57
- width: '10.8rem'
58
- },
59
- year: {
60
- width: '7.5rem'
61
- }
62
- },
63
- weekNumCell: {
64
- fontSize: '1rem'
65
- }
66
- };
67
- export default theme;
@@ -1,3 +0,0 @@
1
- import { DatePickerTheme } from '../../../types/theme/components/datePicker.types';
2
- declare const theme: DatePickerTheme;
3
- export default theme;
@@ -1,67 +0,0 @@
1
- import { tokens } from '../../tokens';
2
- const theme = {
3
- fontSize: tokens.core.font.fontSize.s14,
4
- fontWeight: tokens.core.font.fontWeight.normal,
5
- fontFamily: tokens.core.font.fontFamily.regular,
6
- focusOutline: `1px dashed ${tokens.semantic.color.border.primary300}`,
7
- dayCell: {
8
- width: '3.6rem',
9
- height: '2.8rem',
10
- textColor: tokens.semantic.color.text.primary500,
11
- hoverColor: tokens.semantic.color.background.primary100,
12
- padding: '0.1rem 0'
13
- },
14
- weekDayCell: {
15
- textColor: tokens.semantic.color.text.neutral800
16
- },
17
- today: {
18
- border: `1px solid ${tokens.semantic.color.border.primary200}`
19
- },
20
- selectedDay: {
21
- bgColor: tokens.semantic.color.background.primary100,
22
- textColor: tokens.semantic.color.text.primary500,
23
- borderRadius: 'unset',
24
- border: 'none',
25
- singleDayMarker: {
26
- bgColor: tokens.semantic.color.background.primary600,
27
- textColor: tokens.semantic.color.text.neutral100,
28
- border: 'none',
29
- borderRadius: '100%'
30
- },
31
- startDayMarker: {
32
- bgColor: tokens.semantic.color.background.primary600,
33
- textColor: tokens.semantic.color.text.neutral100,
34
- border: 'none',
35
- borderRadius: '100% 100% 100% 4px',
36
- transform: 'rotate(-135deg)'
37
- },
38
- endDayMarker: {
39
- bgColor: tokens.semantic.color.background.primary600,
40
- textColor: tokens.semantic.color.text.neutral100,
41
- border: 'none',
42
- borderRadius: '100% 100% 100% 4px',
43
- transform: 'rotate(45deg)'
44
- }
45
- },
46
- navArrow: {
47
- gap: '0.6rem',
48
- width: 'auto',
49
- height: 'auto',
50
- padding: '0',
51
- iconColor: tokens.semantic.color.icon.neutral800
52
- },
53
- navSelect: {
54
- textColor: tokens.semantic.color.text.neutral800,
55
- gap: '0.8rem',
56
- month: {
57
- width: '10.8rem'
58
- },
59
- year: {
60
- width: '7.5rem'
61
- }
62
- },
63
- weekNumCell: {
64
- fontSize: '1rem'
65
- }
66
- };
67
- export default theme;
@@ -1,65 +0,0 @@
1
- type DayMarker = {
2
- bgColor: string;
3
- textColor: string;
4
- border: string;
5
- borderRadius: string;
6
- transform?: string;
7
- };
8
- export type DatePickerTheme = {
9
- fontSize: string;
10
- fontWeight: string;
11
- fontFamily: string;
12
- focusOutline: string;
13
- dayCell: {
14
- width: string;
15
- height?: string;
16
- textColor: string;
17
- hoverColor: string;
18
- padding: string;
19
- fontSize?: string;
20
- fontWeight?: string;
21
- };
22
- weekDayCell: {
23
- height?: string;
24
- textColor: string;
25
- fontSize?: string;
26
- fontWeight?: string;
27
- };
28
- today: {
29
- border: string;
30
- fontSize?: string;
31
- fontWeight?: string;
32
- };
33
- selectedDay: {
34
- bgColor: string;
35
- textColor: string;
36
- borderRadius: string;
37
- border: string;
38
- singleDayMarker: DayMarker;
39
- startDayMarker: DayMarker;
40
- endDayMarker: DayMarker;
41
- };
42
- navArrow: {
43
- gap: string;
44
- width: string;
45
- height: string;
46
- padding: string;
47
- iconColor: string;
48
- };
49
- navSelect: {
50
- textColor: string;
51
- gap: string;
52
- month: {
53
- width: string;
54
- };
55
- year: {
56
- width: string;
57
- };
58
- };
59
- weekNumCell: {
60
- fontSize: string;
61
- fontWeight?: string;
62
- fontFamily?: string;
63
- };
64
- };
65
- export {};