@dnanpm/styleguide 3.10.0 → 3.11.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/build/cjs/components/Accordion/Accordion.js +3 -4
- package/build/cjs/components/AccordionItem/AccordionItem.js +17 -16
- package/build/cjs/components/AmountSelector/AmountSelector.d.ts +17 -1
- package/build/cjs/components/AmountSelector/AmountSelector.js +53 -10
- package/build/cjs/components/Box/Box.js +6 -7
- package/build/cjs/components/Button/Button.js +26 -23
- package/build/cjs/components/ButtonArrow/ButtonArrow.js +3 -4
- package/build/cjs/components/ButtonCard/ButtonCard.js +9 -10
- package/build/cjs/components/ButtonClose/ButtonClose.js +2 -2
- package/build/cjs/components/ButtonIcon/ButtonIcon.js +9 -10
- package/build/cjs/components/ButtonPrimary/ButtonPrimary.js +2 -6
- package/build/cjs/components/ButtonRound/ButtonRound.js +2 -3
- package/build/cjs/components/ButtonSecondary/ButtonSecondary.js +2 -6
- package/build/cjs/components/Carousel/Carousel.d.ts +6 -169
- package/build/cjs/components/Carousel/Carousel.js +23 -23
- package/build/cjs/components/Checkbox/Checkbox.js +5 -5
- package/build/cjs/components/Chip/Chip.js +2 -3
- package/build/cjs/components/DateTimePicker/DateTimePicker.js +17 -6
- package/build/cjs/components/Divider/Divider.js +5 -6
- package/build/cjs/components/DnaLogo/DnaLogo.js +4 -4
- package/build/cjs/components/Drawer/Drawer.js +26 -26
- package/build/cjs/components/EmptyState/EmptyState.js +2 -2
- package/build/cjs/components/EnergyLabel/EnergyLabel.js +11 -11
- package/build/cjs/components/Expander/Expander.js +5 -5
- package/build/cjs/components/Floater/Floater.js +5 -6
- package/build/cjs/components/Footer/Components/FooterComponents.d.ts +3 -168
- package/build/cjs/components/Footer/Components/FooterComponents.js +33 -32
- package/build/cjs/components/Footer/Footer.js +5 -5
- package/build/cjs/components/Icon/Icon.js +6 -6
- package/build/cjs/components/InfoDialog/InfoDialog.js +4 -4
- package/build/cjs/components/Input/Input.js +24 -16
- package/build/cjs/components/Label/Label.js +2 -2
- package/build/cjs/components/LabelText/LabelText.js +5 -5
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/BusinessMenu.js +8 -8
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/DesktopMenu.js +11 -11
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/LanguageSelector.js +2 -2
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenu.d.ts +2 -167
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenu.js +5 -5
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +2 -167
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +2 -2
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/MinicartTooltip.js +2 -2
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/MobileMenu.js +4 -4
- package/build/cjs/components/MainHeaderNavigation/MainHeaderNavigation.js +6 -6
- package/build/cjs/components/MainHeaderNavigation/globalNavStyles.d.ts +16 -1501
- package/build/cjs/components/MainHeaderNavigation/globalNavStyles.js +10 -10
- package/build/cjs/components/MainNavigation/ChildComponents/BusinessMenu.js +4 -4
- package/build/cjs/components/MainNavigation/ChildComponents/DesktopMenu.js +11 -11
- package/build/cjs/components/MainNavigation/ChildComponents/HeaderNavigationElements.d.ts +2 -167
- package/build/cjs/components/MainNavigation/ChildComponents/HeaderNavigationElements.js +9 -9
- package/build/cjs/components/MainNavigation/ChildComponents/LanguageSelector.js +2 -2
- package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenu.js +5 -5
- package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +2 -167
- package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +2 -2
- package/build/cjs/components/MainNavigation/ChildComponents/MobileMenu.js +5 -5
- package/build/cjs/components/MainNavigation/ChildComponents/Ribbon.js +4 -4
- package/build/cjs/components/MainNavigation/MainNavigation.js +6 -6
- package/build/cjs/components/MainNavigation/globalNavStyles.d.ts +8 -668
- package/build/cjs/components/MainNavigation/globalNavStyles.js +5 -5
- package/build/cjs/components/Modal/Modal.js +16 -16
- package/build/cjs/components/Notification/Notification.js +7 -8
- package/build/cjs/components/NotificationBadge/NotificationBadge.js +7 -7
- package/build/cjs/components/Overlay/Overlay.js +2 -2
- package/build/cjs/components/Pill/Pill.js +11 -12
- package/build/cjs/components/PixelLoader/PixelLoader.js +9 -9
- package/build/cjs/components/PriorityNavigation/PriorityNavigation.js +13 -13
- package/build/cjs/components/PriorityNavigationItem/PriorityNavigationItem.js +7 -7
- package/build/cjs/components/ProgressIndicator/ProgressIndicator.js +6 -6
- package/build/cjs/components/RadioButton/RadioButton.js +4 -4
- package/build/cjs/components/ReadMore/ReadMore.js +10 -10
- package/build/cjs/components/Search/Search.js +4 -4
- package/build/cjs/components/SecondaryNavigation/SecondaryNavigation.js +9 -9
- package/build/cjs/components/Selectbox/Selectbox.js +3 -3
- package/build/cjs/components/Switch/Switch.js +19 -19
- package/build/cjs/components/Tab/Tab.js +10 -10
- package/build/cjs/components/Tabs/Tabs.js +10 -10
- package/build/cjs/components/Textarea/Textarea.d.ts +5 -1
- package/build/cjs/components/Textarea/Textarea.js +12 -9
- package/build/cjs/components/Toaster/Toaster.js +6 -7
- package/build/cjs/components/Tooltip/Tooltip.js +6 -6
- package/build/cjs/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.d.ts +4 -334
- package/build/cjs/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.js +5 -4
- package/build/cjs/components/TooltipMenu/TooltipMenu.js +5 -5
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +5 -2
- package/build/cjs/themes/globalStyles.d.ts +2 -332
- package/build/cjs/themes/globalStyles.js +3 -3
- package/build/cjs/themes/styled.d.ts +1 -1158
- package/build/cjs/utils/createStyled.d.ts +140 -7
- package/build/cjs/utils/createStyled.js +3 -3
- package/build/cjs/utils/styledUtils.js +3 -3
- package/build/es/components/Accordion/Accordion.js +2 -2
- package/build/es/components/AccordionItem/AccordionItem.js +15 -13
- package/build/es/components/AmountSelector/AmountSelector.d.ts +17 -1
- package/build/es/components/AmountSelector/AmountSelector.js +50 -7
- package/build/es/components/Box/Box.js +6 -6
- package/build/es/components/Button/Button.js +26 -22
- package/build/es/components/ButtonArrow/ButtonArrow.js +3 -3
- package/build/es/components/ButtonCard/ButtonCard.js +9 -9
- package/build/es/components/ButtonClose/ButtonClose.js +1 -1
- package/build/es/components/ButtonIcon/ButtonIcon.js +8 -8
- package/build/es/components/ButtonPrimary/ButtonPrimary.js +2 -2
- package/build/es/components/ButtonRound/ButtonRound.js +2 -2
- package/build/es/components/ButtonSecondary/ButtonSecondary.js +2 -2
- package/build/es/components/Carousel/Carousel.d.ts +6 -169
- package/build/es/components/Carousel/Carousel.js +9 -9
- package/build/es/components/Checkbox/Checkbox.js +1 -1
- package/build/es/components/Chip/Chip.js +2 -2
- package/build/es/components/DateTimePicker/DateTimePicker.js +17 -5
- package/build/es/components/Divider/Divider.js +5 -5
- package/build/es/components/DnaLogo/DnaLogo.js +3 -3
- package/build/es/components/Drawer/Drawer.js +12 -12
- package/build/es/components/EmptyState/EmptyState.js +1 -1
- package/build/es/components/EnergyLabel/EnergyLabel.js +5 -5
- package/build/es/components/Expander/Expander.js +1 -1
- package/build/es/components/Floater/Floater.js +5 -5
- package/build/es/components/Footer/Components/FooterComponents.d.ts +3 -168
- package/build/es/components/Footer/Components/FooterComponents.js +16 -15
- package/build/es/components/Footer/Footer.js +3 -3
- package/build/es/components/Icon/Icon.js +5 -5
- package/build/es/components/InfoDialog/InfoDialog.js +3 -3
- package/build/es/components/Input/Input.js +17 -9
- package/build/es/components/Label/Label.js +1 -1
- package/build/es/components/LabelText/LabelText.js +3 -3
- package/build/es/components/MainHeaderNavigation/ChildComponents/BusinessMenu.js +6 -6
- package/build/es/components/MainHeaderNavigation/ChildComponents/DesktopMenu.js +1 -1
- package/build/es/components/MainHeaderNavigation/ChildComponents/LanguageSelector.js +1 -1
- package/build/es/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenu.d.ts +2 -167
- package/build/es/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenu.js +1 -1
- package/build/es/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +2 -167
- package/build/es/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +1 -1
- package/build/es/components/MainHeaderNavigation/ChildComponents/MinicartTooltip.js +2 -2
- package/build/es/components/MainHeaderNavigation/ChildComponents/MobileMenu.js +1 -1
- package/build/es/components/MainHeaderNavigation/MainHeaderNavigation.js +1 -1
- package/build/es/components/MainHeaderNavigation/globalNavStyles.d.ts +16 -1501
- package/build/es/components/MainHeaderNavigation/globalNavStyles.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/BusinessMenu.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/DesktopMenu.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/HeaderNavigationElements.d.ts +2 -167
- package/build/es/components/MainNavigation/ChildComponents/HeaderNavigationElements.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/LanguageSelector.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenu.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +2 -167
- package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/MobileMenu.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/Ribbon.js +1 -1
- package/build/es/components/MainNavigation/MainNavigation.js +1 -1
- package/build/es/components/MainNavigation/globalNavStyles.d.ts +8 -668
- package/build/es/components/MainNavigation/globalNavStyles.js +1 -1
- package/build/es/components/Modal/Modal.js +6 -6
- package/build/es/components/Notification/Notification.js +6 -6
- package/build/es/components/NotificationBadge/NotificationBadge.js +5 -5
- package/build/es/components/Overlay/Overlay.js +1 -1
- package/build/es/components/Pill/Pill.js +11 -11
- package/build/es/components/PixelLoader/PixelLoader.js +6 -6
- package/build/es/components/PriorityNavigation/PriorityNavigation.js +4 -4
- package/build/es/components/PriorityNavigationItem/PriorityNavigationItem.js +6 -6
- package/build/es/components/ProgressIndicator/ProgressIndicator.js +1 -1
- package/build/es/components/RadioButton/RadioButton.js +1 -1
- package/build/es/components/ReadMore/ReadMore.js +6 -6
- package/build/es/components/Search/Search.js +1 -1
- package/build/es/components/SecondaryNavigation/SecondaryNavigation.js +1 -1
- package/build/es/components/Selectbox/Selectbox.js +1 -1
- package/build/es/components/Switch/Switch.js +14 -14
- package/build/es/components/Tab/Tab.js +7 -7
- package/build/es/components/Tabs/Tabs.js +8 -8
- package/build/es/components/Textarea/Textarea.d.ts +5 -1
- package/build/es/components/Textarea/Textarea.js +8 -5
- package/build/es/components/Toaster/Toaster.js +6 -6
- package/build/es/components/Tooltip/Tooltip.js +4 -4
- package/build/es/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.d.ts +4 -334
- package/build/es/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.js +3 -2
- package/build/es/components/TooltipMenu/TooltipMenu.js +1 -1
- package/build/es/index.d.ts +1 -1
- package/build/es/index.js +1 -1
- package/build/es/themes/globalStyles.d.ts +2 -332
- package/build/es/themes/globalStyles.js +1 -1
- package/build/es/themes/styled.d.ts +1 -1158
- package/build/es/utils/createStyled.d.ts +140 -7
- package/build/es/utils/createStyled.js +3 -3
- package/build/es/utils/styledUtils.js +1 -1
- package/package.json +4 -5
- package/build/cjs/themes/styled.js +0 -14
- package/build/es/themes/styled.js +0 -5
|
@@ -1,334 +1,4 @@
|
|
|
1
1
|
import '../assets/fonts/fonts.css';
|
|
2
|
-
export declare const globalStyles: import("styled-components").
|
|
3
|
-
|
|
4
|
-
baseHeight: {
|
|
5
|
-
value: number;
|
|
6
|
-
unit: string;
|
|
7
|
-
};
|
|
8
|
-
baseWidth: {
|
|
9
|
-
value: number;
|
|
10
|
-
unit: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
breakpoints: import("./themeComponents/breakpoints").ViewBreakpoints;
|
|
14
|
-
color: {
|
|
15
|
-
default: {
|
|
16
|
-
pink: string;
|
|
17
|
-
plum: string;
|
|
18
|
-
white: string;
|
|
19
|
-
black: string;
|
|
20
|
-
};
|
|
21
|
-
accent: {
|
|
22
|
-
lemon: string;
|
|
23
|
-
sky: string;
|
|
24
|
-
orange: string;
|
|
25
|
-
};
|
|
26
|
-
active: {
|
|
27
|
-
pink: string;
|
|
28
|
-
};
|
|
29
|
-
hover: {
|
|
30
|
-
pink: string;
|
|
31
|
-
};
|
|
32
|
-
text: {
|
|
33
|
-
gray: string;
|
|
34
|
-
pink: string;
|
|
35
|
-
plum: string;
|
|
36
|
-
white: string;
|
|
37
|
-
black: string;
|
|
38
|
-
};
|
|
39
|
-
line: {
|
|
40
|
-
L01: string;
|
|
41
|
-
L02: string;
|
|
42
|
-
L03: string;
|
|
43
|
-
L04: string;
|
|
44
|
-
};
|
|
45
|
-
notification: {
|
|
46
|
-
info: string;
|
|
47
|
-
success: string;
|
|
48
|
-
warning: string;
|
|
49
|
-
error: string;
|
|
50
|
-
};
|
|
51
|
-
background: {
|
|
52
|
-
sand: {
|
|
53
|
-
default: string;
|
|
54
|
-
E01: string;
|
|
55
|
-
E02: string;
|
|
56
|
-
};
|
|
57
|
-
pink: {
|
|
58
|
-
default: string;
|
|
59
|
-
E01: string;
|
|
60
|
-
E02: string;
|
|
61
|
-
};
|
|
62
|
-
plum: {
|
|
63
|
-
default: string;
|
|
64
|
-
E01: string;
|
|
65
|
-
E02: string;
|
|
66
|
-
};
|
|
67
|
-
lemon: {
|
|
68
|
-
default: string;
|
|
69
|
-
E01: string;
|
|
70
|
-
E02: string;
|
|
71
|
-
};
|
|
72
|
-
sky: {
|
|
73
|
-
default: string;
|
|
74
|
-
E01: string;
|
|
75
|
-
E02: string;
|
|
76
|
-
};
|
|
77
|
-
orange: {
|
|
78
|
-
default: string;
|
|
79
|
-
E01: string;
|
|
80
|
-
E02: string;
|
|
81
|
-
};
|
|
82
|
-
white: {
|
|
83
|
-
default: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
focus: {
|
|
87
|
-
dark: string;
|
|
88
|
-
light: string;
|
|
89
|
-
};
|
|
90
|
-
transparency: {
|
|
91
|
-
T0: string;
|
|
92
|
-
T10: string;
|
|
93
|
-
T20: string;
|
|
94
|
-
T30: string;
|
|
95
|
-
T40: string;
|
|
96
|
-
T50: string;
|
|
97
|
-
T60: string;
|
|
98
|
-
T70: string;
|
|
99
|
-
T80: string;
|
|
100
|
-
T90: string;
|
|
101
|
-
T100: string;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
fontFamily: {
|
|
105
|
-
default: string;
|
|
106
|
-
heading: string;
|
|
107
|
-
numerals: string;
|
|
108
|
-
};
|
|
109
|
-
fontSize: {
|
|
110
|
-
default: string;
|
|
111
|
-
xl: string;
|
|
112
|
-
l: string;
|
|
113
|
-
s: string;
|
|
114
|
-
xs: string;
|
|
115
|
-
h1XL: string;
|
|
116
|
-
h1L: string;
|
|
117
|
-
h1M: string;
|
|
118
|
-
h1S: string;
|
|
119
|
-
h2M: string;
|
|
120
|
-
h2S: string;
|
|
121
|
-
h3: string;
|
|
122
|
-
h4: string;
|
|
123
|
-
h5: string;
|
|
124
|
-
h1: string;
|
|
125
|
-
h2: string;
|
|
126
|
-
};
|
|
127
|
-
fontWeight: {
|
|
128
|
-
book: number;
|
|
129
|
-
medium: number;
|
|
130
|
-
bold: number;
|
|
131
|
-
black: number;
|
|
132
|
-
};
|
|
133
|
-
form: {
|
|
134
|
-
smallSelectWidth: string;
|
|
135
|
-
smallSelectHeight: string;
|
|
136
|
-
};
|
|
137
|
-
grid: {
|
|
138
|
-
gutter: string;
|
|
139
|
-
};
|
|
140
|
-
lineHeight: {
|
|
141
|
-
default: string;
|
|
142
|
-
xl: string;
|
|
143
|
-
s: string;
|
|
144
|
-
xs: string;
|
|
145
|
-
xxs: string;
|
|
146
|
-
auto: string;
|
|
147
|
-
h1XL: string;
|
|
148
|
-
h1L: string;
|
|
149
|
-
h1M: string;
|
|
150
|
-
h1S: string;
|
|
151
|
-
h2M: string;
|
|
152
|
-
h2S: string;
|
|
153
|
-
h3: string;
|
|
154
|
-
h4: string;
|
|
155
|
-
h5: string;
|
|
156
|
-
h1: string;
|
|
157
|
-
h2: string;
|
|
158
|
-
};
|
|
159
|
-
media: Record<string | number, (l: TemplateStringsArray, ...p: (string | number)[]) => string>;
|
|
160
|
-
radius: {
|
|
161
|
-
default: string;
|
|
162
|
-
s: string;
|
|
163
|
-
xs: string;
|
|
164
|
-
circle: string;
|
|
165
|
-
pill: string;
|
|
166
|
-
};
|
|
167
|
-
}>>;
|
|
168
|
-
declare const _default: import("styled-components").GlobalStyleComponent<{}, {
|
|
169
|
-
base: {
|
|
170
|
-
baseHeight: {
|
|
171
|
-
value: number;
|
|
172
|
-
unit: string;
|
|
173
|
-
};
|
|
174
|
-
baseWidth: {
|
|
175
|
-
value: number;
|
|
176
|
-
unit: string;
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
breakpoints: import("./themeComponents/breakpoints").ViewBreakpoints;
|
|
180
|
-
color: {
|
|
181
|
-
default: {
|
|
182
|
-
pink: string;
|
|
183
|
-
plum: string;
|
|
184
|
-
white: string;
|
|
185
|
-
black: string;
|
|
186
|
-
};
|
|
187
|
-
accent: {
|
|
188
|
-
lemon: string;
|
|
189
|
-
sky: string;
|
|
190
|
-
orange: string;
|
|
191
|
-
};
|
|
192
|
-
active: {
|
|
193
|
-
pink: string;
|
|
194
|
-
};
|
|
195
|
-
hover: {
|
|
196
|
-
pink: string;
|
|
197
|
-
};
|
|
198
|
-
text: {
|
|
199
|
-
gray: string;
|
|
200
|
-
pink: string;
|
|
201
|
-
plum: string;
|
|
202
|
-
white: string;
|
|
203
|
-
black: string;
|
|
204
|
-
};
|
|
205
|
-
line: {
|
|
206
|
-
L01: string;
|
|
207
|
-
L02: string;
|
|
208
|
-
L03: string;
|
|
209
|
-
L04: string;
|
|
210
|
-
};
|
|
211
|
-
notification: {
|
|
212
|
-
info: string;
|
|
213
|
-
success: string;
|
|
214
|
-
warning: string;
|
|
215
|
-
error: string;
|
|
216
|
-
};
|
|
217
|
-
background: {
|
|
218
|
-
sand: {
|
|
219
|
-
default: string;
|
|
220
|
-
E01: string;
|
|
221
|
-
E02: string;
|
|
222
|
-
};
|
|
223
|
-
pink: {
|
|
224
|
-
default: string;
|
|
225
|
-
E01: string;
|
|
226
|
-
E02: string;
|
|
227
|
-
};
|
|
228
|
-
plum: {
|
|
229
|
-
default: string;
|
|
230
|
-
E01: string;
|
|
231
|
-
E02: string;
|
|
232
|
-
};
|
|
233
|
-
lemon: {
|
|
234
|
-
default: string;
|
|
235
|
-
E01: string;
|
|
236
|
-
E02: string;
|
|
237
|
-
};
|
|
238
|
-
sky: {
|
|
239
|
-
default: string;
|
|
240
|
-
E01: string;
|
|
241
|
-
E02: string;
|
|
242
|
-
};
|
|
243
|
-
orange: {
|
|
244
|
-
default: string;
|
|
245
|
-
E01: string;
|
|
246
|
-
E02: string;
|
|
247
|
-
};
|
|
248
|
-
white: {
|
|
249
|
-
default: string;
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
focus: {
|
|
253
|
-
dark: string;
|
|
254
|
-
light: string;
|
|
255
|
-
};
|
|
256
|
-
transparency: {
|
|
257
|
-
T0: string;
|
|
258
|
-
T10: string;
|
|
259
|
-
T20: string;
|
|
260
|
-
T30: string;
|
|
261
|
-
T40: string;
|
|
262
|
-
T50: string;
|
|
263
|
-
T60: string;
|
|
264
|
-
T70: string;
|
|
265
|
-
T80: string;
|
|
266
|
-
T90: string;
|
|
267
|
-
T100: string;
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
|
-
fontFamily: {
|
|
271
|
-
default: string;
|
|
272
|
-
heading: string;
|
|
273
|
-
numerals: string;
|
|
274
|
-
};
|
|
275
|
-
fontSize: {
|
|
276
|
-
default: string;
|
|
277
|
-
xl: string;
|
|
278
|
-
l: string;
|
|
279
|
-
s: string;
|
|
280
|
-
xs: string;
|
|
281
|
-
h1XL: string;
|
|
282
|
-
h1L: string;
|
|
283
|
-
h1M: string;
|
|
284
|
-
h1S: string;
|
|
285
|
-
h2M: string;
|
|
286
|
-
h2S: string;
|
|
287
|
-
h3: string;
|
|
288
|
-
h4: string;
|
|
289
|
-
h5: string;
|
|
290
|
-
h1: string;
|
|
291
|
-
h2: string;
|
|
292
|
-
};
|
|
293
|
-
fontWeight: {
|
|
294
|
-
book: number;
|
|
295
|
-
medium: number;
|
|
296
|
-
bold: number;
|
|
297
|
-
black: number;
|
|
298
|
-
};
|
|
299
|
-
form: {
|
|
300
|
-
smallSelectWidth: string;
|
|
301
|
-
smallSelectHeight: string;
|
|
302
|
-
};
|
|
303
|
-
grid: {
|
|
304
|
-
gutter: string;
|
|
305
|
-
};
|
|
306
|
-
lineHeight: {
|
|
307
|
-
default: string;
|
|
308
|
-
xl: string;
|
|
309
|
-
s: string;
|
|
310
|
-
xs: string;
|
|
311
|
-
xxs: string;
|
|
312
|
-
auto: string;
|
|
313
|
-
h1XL: string;
|
|
314
|
-
h1L: string;
|
|
315
|
-
h1M: string;
|
|
316
|
-
h1S: string;
|
|
317
|
-
h2M: string;
|
|
318
|
-
h2S: string;
|
|
319
|
-
h3: string;
|
|
320
|
-
h4: string;
|
|
321
|
-
h5: string;
|
|
322
|
-
h1: string;
|
|
323
|
-
h2: string;
|
|
324
|
-
};
|
|
325
|
-
media: Record<string | number, (l: TemplateStringsArray, ...p: (string | number)[]) => string>;
|
|
326
|
-
radius: {
|
|
327
|
-
default: string;
|
|
328
|
-
s: string;
|
|
329
|
-
xs: string;
|
|
330
|
-
circle: string;
|
|
331
|
-
pill: string;
|
|
332
|
-
};
|
|
333
|
-
}>;
|
|
2
|
+
export declare const globalStyles: import("styled-components").RuleSet<object>;
|
|
3
|
+
declare const _default: import("react").NamedExoticComponent<import("styled-components").ExecutionProps & object>;
|
|
334
4
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var styledUtils = require('../utils/styledUtils.js');
|
|
4
|
-
var
|
|
4
|
+
var styledComponents = require('styled-components');
|
|
5
5
|
var theme = require('./theme.js');
|
|
6
6
|
|
|
7
|
-
const globalStyles =
|
|
7
|
+
const globalStyles = styledComponents.css `
|
|
8
8
|
*,
|
|
9
9
|
*:before,
|
|
10
10
|
*:after {
|
|
@@ -187,7 +187,7 @@ const globalStyles = styled.css `
|
|
|
187
187
|
opacity: 0;
|
|
188
188
|
}
|
|
189
189
|
`;
|
|
190
|
-
|
|
190
|
+
styledComponents.createGlobalStyle `
|
|
191
191
|
${globalStyles}
|
|
192
192
|
`;
|
|
193
193
|
|