@redis-ui/styles 16.1.3 → 16.2.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/dist/index.js +479 -693
- package/dist/index.umd.cjs +10 -10
- package/dist/themes/themeDark/theme/components/sideBar.js +4 -1
- package/dist/themes/themeDark/theme.js +0 -2
- package/dist/themes/themeDark2/theme/components/sideBar.js +4 -1
- package/dist/themes/themeDark2/theme.js +0 -2
- package/dist/themes/themeLight/theme/components/sideBar.js +4 -1
- package/dist/themes/themeLight/theme.js +0 -2
- package/dist/themes/themeLight2/theme/components/sideBar.js +4 -1
- package/dist/themes/themeLight2/theme.js +0 -2
- package/dist/themes/types/theme/components/index.d.ts +0 -1
- package/dist/themes/types/theme/components/index.js +0 -1
- package/dist/themes/types/theme/components/sideBar.types.d.ts +3 -0
- package/dist/themes/types/theme/theme.types.d.ts +1 -2
- package/package.json +1 -1
- package/dist/themes/themeDark/theme/components/datePicker.d.ts +0 -3
- package/dist/themes/themeDark/theme/components/datePicker.js +0 -67
- package/dist/themes/themeDark2/theme/components/datePicker.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/datePicker.js +0 -67
- package/dist/themes/themeLight/theme/components/datePicker.d.ts +0 -3
- package/dist/themes/themeLight/theme/components/datePicker.js +0 -67
- package/dist/themes/themeLight2/theme/components/datePicker.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/datePicker.js +0 -67
- package/dist/themes/types/theme/components/datePicker.types.d.ts +0 -65
- package/dist/themes/types/theme/components/datePicker.types.js +0 -1
|
@@ -3,7 +3,7 @@ const theme = {
|
|
|
3
3
|
collapsed: {
|
|
4
4
|
bgColor: tokens.semantic.color.background.neutral100,
|
|
5
5
|
shadow: 'none',
|
|
6
|
-
width: '
|
|
6
|
+
width: '6.2rem',
|
|
7
7
|
borderRight: `1px solid ${tokens.semantic.color.border.primary100}`,
|
|
8
8
|
divider: {
|
|
9
9
|
color: tokens.semantic.color.background.neutral400,
|
|
@@ -83,6 +83,9 @@ const theme = {
|
|
|
83
83
|
},
|
|
84
84
|
logo: {
|
|
85
85
|
offset: '1.6rem'
|
|
86
|
+
},
|
|
87
|
+
groupTitle: {
|
|
88
|
+
padding: `${tokens.core.space.space150} ${tokens.core.space.space200} ${tokens.core.space.space050}`
|
|
86
89
|
}
|
|
87
90
|
},
|
|
88
91
|
expanded: {
|
|
@@ -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,
|
|
@@ -3,7 +3,7 @@ const theme = {
|
|
|
3
3
|
collapsed: {
|
|
4
4
|
bgColor: tokens.semantic.color.background.secondary950,
|
|
5
5
|
shadow: 'none',
|
|
6
|
-
width: '
|
|
6
|
+
width: '6.2rem',
|
|
7
7
|
borderRight: `1px solid ${tokens.semantic.color.border.secondary800}`,
|
|
8
8
|
divider: {
|
|
9
9
|
color: tokens.semantic.color.background.secondary800,
|
|
@@ -83,6 +83,9 @@ const theme = {
|
|
|
83
83
|
},
|
|
84
84
|
logo: {
|
|
85
85
|
offset: '1.6rem'
|
|
86
|
+
},
|
|
87
|
+
groupTitle: {
|
|
88
|
+
padding: `${tokens.core.space.space150} ${tokens.core.space.space200} ${tokens.core.space.space050}`
|
|
86
89
|
}
|
|
87
90
|
},
|
|
88
91
|
expanded: {
|
|
@@ -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,
|
|
@@ -3,7 +3,7 @@ const theme = {
|
|
|
3
3
|
collapsed: {
|
|
4
4
|
bgColor: tokens.semantic.color.background.neutral300,
|
|
5
5
|
shadow: 'none',
|
|
6
|
-
width: '
|
|
6
|
+
width: '6.2rem',
|
|
7
7
|
borderRight: `1px solid ${tokens.semantic.color.border.primary100}`,
|
|
8
8
|
divider: {
|
|
9
9
|
color: tokens.semantic.color.background.neutral400,
|
|
@@ -83,6 +83,9 @@ const theme = {
|
|
|
83
83
|
},
|
|
84
84
|
logo: {
|
|
85
85
|
offset: '1.6rem'
|
|
86
|
+
},
|
|
87
|
+
groupTitle: {
|
|
88
|
+
padding: `${tokens.core.space.space150} ${tokens.core.space.space200} ${tokens.core.space.space050}`
|
|
86
89
|
}
|
|
87
90
|
},
|
|
88
91
|
expanded: {
|
|
@@ -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,
|
|
@@ -3,7 +3,7 @@ const theme = {
|
|
|
3
3
|
collapsed: {
|
|
4
4
|
bgColor: tokens.semantic.color.background.secondary50,
|
|
5
5
|
shadow: 'none',
|
|
6
|
-
width: '
|
|
6
|
+
width: '6.2rem',
|
|
7
7
|
borderRight: `1px solid ${tokens.semantic.color.border.secondary300}`,
|
|
8
8
|
divider: {
|
|
9
9
|
color: tokens.semantic.color.background.secondary300,
|
|
@@ -83,6 +83,9 @@ const theme = {
|
|
|
83
83
|
},
|
|
84
84
|
logo: {
|
|
85
85
|
offset: '1.6rem'
|
|
86
|
+
},
|
|
87
|
+
groupTitle: {
|
|
88
|
+
padding: `${tokens.core.space.space150} ${tokens.core.space.space200} ${tokens.core.space.space050}`
|
|
86
89
|
}
|
|
87
90
|
},
|
|
88
91
|
expanded: {
|
|
@@ -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,
|
|
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,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,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,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,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 {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|