@dnanpm/styleguide 1.8.1 → 2.0.1
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.d.ts +50 -0
- package/build/cjs/components/Accordion/Accordion.js +52 -0
- package/build/cjs/components/Accordion/AccordionItem.d.ts +30 -0
- package/build/cjs/components/Accordion/AccordionItem.js +77 -0
- package/build/cjs/components/AmountSelector/AmountSelector.js +5 -6
- package/build/cjs/components/Buttons/ButtonBasicStyles.d.ts +37 -30
- package/build/cjs/components/Buttons/ButtonBasicStyles.js +10 -14
- package/build/cjs/components/Buttons/ButtonDefault.js +6 -2
- package/build/cjs/components/Buttons/ButtonIconPrimaryStyles.d.ts +37 -30
- package/build/cjs/components/Buttons/ButtonIconStyles.d.ts +37 -30
- package/build/cjs/components/Buttons/ButtonPrimary.js +6 -2
- package/build/cjs/components/Buttons/ButtonPrimaryStyles.d.ts +37 -30
- package/build/cjs/components/Buttons/ButtonSecondary.js +7 -3
- package/build/cjs/components/Buttons/ButtonSecondaryStyles.d.ts +37 -30
- package/build/cjs/components/Buttons/ButtonTertiary.js +7 -3
- package/build/cjs/components/Buttons/ButtonTertiaryStyles.d.ts +37 -30
- package/build/cjs/components/Buttons/CloseButton.d.ts +37 -30
- package/build/cjs/components/Card/Card.js +4 -2
- package/build/cjs/components/Card/CardRow.js +3 -3
- package/build/cjs/components/Checkbox/Checkbox.d.ts +38 -12
- package/build/cjs/components/Checkbox/Checkbox.js +37 -70
- package/build/cjs/components/DnaLogo/DnaLogo.d.ts +37 -40
- package/build/cjs/components/Footer/Components/FooterComponents.js +3 -2
- package/build/cjs/components/Helper/Helper.js +2 -1
- package/build/cjs/components/Icon/Icon.d.ts +39 -30
- package/build/cjs/components/Icon/Icons.d.ts +1 -4
- package/build/cjs/components/Icon/Icons.js +3 -7
- package/build/cjs/components/Input/Input.d.ts +102 -13
- package/build/cjs/components/Input/Input.js +57 -58
- package/build/cjs/components/Label/Label.js +2 -3
- package/build/cjs/components/LabelText/LabelText.d.ts +38 -30
- package/build/cjs/components/LabelText/LabelText.js +1 -1
- package/build/cjs/components/MainNavigation/ChildComponents/BusinessMenu.js +4 -10
- package/build/cjs/components/MainNavigation/ChildComponents/DesktopMenu.js +18 -12
- package/build/cjs/components/MainNavigation/ChildComponents/HeaderNavigationElements.d.ts +37 -30
- package/build/cjs/components/MainNavigation/ChildComponents/LanguageSelector.js +2 -2
- package/build/cjs/components/MainNavigation/ChildComponents/LinkModifier.js +2 -2
- package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +37 -30
- package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +1 -4
- package/build/cjs/components/MainNavigation/ChildComponents/MobileMenu.js +1 -1
- package/build/cjs/components/MainNavigation/ChildComponents/Ribbon.js +1 -1
- package/build/cjs/components/MainNavigation/MainNavigation.js +1 -17
- package/build/cjs/components/MainNavigation/globalNavStyles.d.ts +148 -120
- package/build/cjs/components/Notification/Notification.d.ts +36 -17
- package/build/cjs/components/Notification/Notification.js +25 -48
- package/build/cjs/components/NotificationBadge/NotificationBadge.d.ts +37 -30
- package/build/cjs/components/NotificationBadge/NotificationBadge.js +1 -1
- package/build/cjs/components/PixelLoader/PixelLoaderStyles.d.ts +74 -60
- package/build/cjs/components/ProgressIndicator/ProgressIndicator.js +3 -3
- package/build/cjs/components/RadioButton/RadioButton.d.ts +33 -17
- package/build/cjs/components/RadioButton/RadioButton.js +12 -57
- package/build/cjs/components/ReadMore/ReadMore.js +2 -7
- package/build/cjs/components/Ribbon/Ribbon.d.ts +57 -0
- package/build/cjs/components/Ribbon/Ribbon.js +80 -0
- package/build/cjs/components/Search/Search.js +2 -1
- package/build/cjs/components/SecondaryNavigation/SecondaryNavigation.js +2 -2
- package/build/cjs/components/Selectbox/Selectbox.d.ts +102 -13
- package/build/cjs/components/Selectbox/Selectbox.js +40 -49
- package/build/cjs/components/Tabs/Tab.d.ts +37 -30
- package/build/cjs/components/Tabs/Tab.js +3 -2
- package/build/cjs/components/Tabs/Tabs.d.ts +40 -30
- package/build/cjs/components/Textarea/Textarea.js +4 -3
- package/build/cjs/components/Tooltip/Tooltip.d.ts +37 -30
- package/build/cjs/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.d.ts +74 -60
- package/build/cjs/components/index.d.ts +4 -1
- package/build/cjs/hooks/useElementDimensions.d.ts +5 -0
- package/build/cjs/hooks/useElementDimensions.js +37 -0
- package/build/cjs/index.js +6 -0
- package/build/cjs/themes/globalStyles.d.ts +174 -60
- package/build/cjs/themes/globalStyles.js +132 -142
- package/build/cjs/themes/styled.d.ts +259 -210
- package/build/cjs/themes/theme.d.ts +37 -30
- package/build/cjs/themes/themeComponents/buttons.d.ts +1 -6
- package/build/cjs/themes/themeComponents/buttons.js +1 -6
- package/build/cjs/themes/themeComponents/fontFamily.d.ts +3 -1
- package/build/cjs/themes/themeComponents/fontFamily.js +3 -1
- package/build/cjs/themes/themeComponents/fontSize.d.ts +18 -15
- package/build/cjs/themes/themeComponents/fontSize.js +20 -14
- package/build/cjs/themes/themeComponents/lineHeight.d.ts +19 -12
- package/build/cjs/themes/themeComponents/lineHeight.js +21 -11
- package/build/es/components/Accordion/Accordion.d.ts +50 -0
- package/build/es/components/Accordion/Accordion.js +44 -0
- package/build/es/components/Accordion/AccordionItem.d.ts +30 -0
- package/build/es/components/Accordion/AccordionItem.js +68 -0
- package/build/es/components/AmountSelector/AmountSelector.js +5 -6
- package/build/es/components/Buttons/ButtonBasicStyles.d.ts +37 -30
- package/build/es/components/Buttons/ButtonBasicStyles.js +10 -14
- package/build/es/components/Buttons/ButtonDefault.js +6 -2
- package/build/es/components/Buttons/ButtonIconPrimaryStyles.d.ts +37 -30
- package/build/es/components/Buttons/ButtonIconStyles.d.ts +37 -30
- package/build/es/components/Buttons/ButtonPrimary.js +6 -2
- package/build/es/components/Buttons/ButtonPrimaryStyles.d.ts +37 -30
- package/build/es/components/Buttons/ButtonSecondary.js +7 -3
- package/build/es/components/Buttons/ButtonSecondaryStyles.d.ts +37 -30
- package/build/es/components/Buttons/ButtonTertiary.js +7 -3
- package/build/es/components/Buttons/ButtonTertiaryStyles.d.ts +37 -30
- package/build/es/components/Buttons/CloseButton.d.ts +37 -30
- package/build/es/components/Card/Card.js +4 -2
- package/build/es/components/Card/CardRow.js +3 -3
- package/build/es/components/Checkbox/Checkbox.d.ts +38 -12
- package/build/es/components/Checkbox/Checkbox.js +39 -72
- package/build/es/components/DnaLogo/DnaLogo.d.ts +37 -40
- package/build/es/components/Footer/Components/FooterComponents.js +3 -2
- package/build/es/components/Helper/Helper.js +2 -1
- package/build/es/components/Icon/Icon.d.ts +39 -30
- package/build/es/components/Icon/Icons.d.ts +1 -4
- package/build/es/components/Icon/Icons.js +3 -7
- package/build/es/components/Input/Input.d.ts +102 -13
- package/build/es/components/Input/Input.js +57 -58
- package/build/es/components/Label/Label.js +2 -3
- package/build/es/components/LabelText/LabelText.d.ts +38 -30
- package/build/es/components/LabelText/LabelText.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/BusinessMenu.js +4 -10
- package/build/es/components/MainNavigation/ChildComponents/DesktopMenu.js +18 -12
- package/build/es/components/MainNavigation/ChildComponents/HeaderNavigationElements.d.ts +37 -30
- package/build/es/components/MainNavigation/ChildComponents/LanguageSelector.js +2 -2
- package/build/es/components/MainNavigation/ChildComponents/LinkModifier.js +2 -2
- package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +37 -30
- package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +2 -5
- 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 +2 -17
- package/build/es/components/MainNavigation/globalNavStyles.d.ts +148 -120
- package/build/es/components/Notification/Notification.d.ts +36 -17
- package/build/es/components/Notification/Notification.js +25 -48
- package/build/es/components/NotificationBadge/NotificationBadge.d.ts +37 -30
- package/build/es/components/NotificationBadge/NotificationBadge.js +1 -1
- package/build/es/components/PixelLoader/PixelLoaderStyles.d.ts +74 -60
- package/build/es/components/ProgressIndicator/ProgressIndicator.js +3 -3
- package/build/es/components/RadioButton/RadioButton.d.ts +33 -17
- package/build/es/components/RadioButton/RadioButton.js +12 -57
- package/build/es/components/ReadMore/ReadMore.js +2 -7
- package/build/es/components/Ribbon/Ribbon.d.ts +57 -0
- package/build/es/components/Ribbon/Ribbon.js +71 -0
- package/build/es/components/Search/Search.js +2 -1
- package/build/es/components/SecondaryNavigation/SecondaryNavigation.js +2 -2
- package/build/es/components/Selectbox/Selectbox.d.ts +102 -13
- package/build/es/components/Selectbox/Selectbox.js +40 -49
- package/build/es/components/Tabs/Tab.d.ts +37 -30
- package/build/es/components/Tabs/Tab.js +3 -2
- package/build/es/components/Tabs/Tabs.d.ts +40 -30
- package/build/es/components/Textarea/Textarea.js +4 -3
- package/build/es/components/Tooltip/Tooltip.d.ts +37 -30
- package/build/es/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.d.ts +74 -60
- package/build/es/components/index.d.ts +4 -1
- package/build/es/hooks/useElementDimensions.d.ts +5 -0
- package/build/es/hooks/useElementDimensions.js +33 -0
- package/build/es/index.js +3 -0
- package/build/es/themes/globalStyles.d.ts +174 -60
- package/build/es/themes/globalStyles.js +134 -145
- package/build/es/themes/styled.d.ts +259 -210
- package/build/es/themes/theme.d.ts +37 -30
- package/build/es/themes/themeComponents/buttons.d.ts +1 -6
- package/build/es/themes/themeComponents/buttons.js +1 -6
- package/build/es/themes/themeComponents/fontFamily.d.ts +3 -1
- package/build/es/themes/themeComponents/fontFamily.js +3 -1
- package/build/es/themes/themeComponents/fontSize.d.ts +18 -15
- package/build/es/themes/themeComponents/fontSize.js +20 -14
- package/build/es/themes/themeComponents/lineHeight.d.ts +19 -12
- package/build/es/themes/themeComponents/lineHeight.js +21 -11
- package/package.json +3 -4
|
@@ -11,12 +11,7 @@ export declare const Tail: import("styled-components").StyledComponent<"div", {
|
|
|
11
11
|
};
|
|
12
12
|
breakpoints: import("../../../themes/themeComponents/breakpoints").ViewBreakpoints;
|
|
13
13
|
button: {
|
|
14
|
-
|
|
15
|
-
buttonPadding: string;
|
|
16
|
-
smallButtonPadding: string;
|
|
17
|
-
buttonLineHeight: string;
|
|
18
|
-
buttonWidth: string;
|
|
19
|
-
buttonSmallWidth: string;
|
|
14
|
+
border: string;
|
|
20
15
|
};
|
|
21
16
|
color: {
|
|
22
17
|
black: string;
|
|
@@ -47,22 +42,27 @@ export declare const Tail: import("styled-components").StyledComponent<"div", {
|
|
|
47
42
|
gray5: string;
|
|
48
43
|
};
|
|
49
44
|
fontFamily: {
|
|
50
|
-
|
|
45
|
+
default: string;
|
|
46
|
+
heading: string;
|
|
47
|
+
numerals: string;
|
|
51
48
|
};
|
|
52
49
|
fontSize: {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
50
|
+
default: string;
|
|
51
|
+
xl: string;
|
|
52
|
+
l: string;
|
|
53
|
+
s: string;
|
|
54
|
+
xs: string;
|
|
55
|
+
h1XL: string;
|
|
56
|
+
h1L: string;
|
|
57
|
+
h1M: string;
|
|
58
|
+
h1S: string;
|
|
59
|
+
h2M: string;
|
|
60
|
+
h2S: string;
|
|
61
|
+
h3: string;
|
|
62
|
+
h4: string;
|
|
63
|
+
h5: string;
|
|
64
|
+
h1: string;
|
|
65
|
+
h2: string;
|
|
66
66
|
};
|
|
67
67
|
fontWeight: {
|
|
68
68
|
book: number;
|
|
@@ -78,16 +78,23 @@ export declare const Tail: import("styled-components").StyledComponent<"div", {
|
|
|
78
78
|
gutter: string;
|
|
79
79
|
};
|
|
80
80
|
lineHeight: {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
81
|
+
default: string;
|
|
82
|
+
xl: string;
|
|
83
|
+
s: string;
|
|
84
|
+
xs: string;
|
|
85
|
+
xxs: string;
|
|
86
|
+
auto: string;
|
|
87
|
+
h1XL: string;
|
|
88
|
+
h1L: string;
|
|
89
|
+
h1M: string;
|
|
90
|
+
h1S: string;
|
|
91
|
+
h2M: string;
|
|
92
|
+
h2S: string;
|
|
93
|
+
h3: string;
|
|
94
|
+
h4: string;
|
|
95
|
+
h5: string;
|
|
96
|
+
h1: string;
|
|
97
|
+
h2: string;
|
|
91
98
|
};
|
|
92
99
|
media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
|
|
93
100
|
}, {
|
|
@@ -108,12 +115,7 @@ export declare const TailShadow: import("styled-components").StyledComponent<"di
|
|
|
108
115
|
};
|
|
109
116
|
breakpoints: import("../../../themes/themeComponents/breakpoints").ViewBreakpoints;
|
|
110
117
|
button: {
|
|
111
|
-
|
|
112
|
-
buttonPadding: string;
|
|
113
|
-
smallButtonPadding: string;
|
|
114
|
-
buttonLineHeight: string;
|
|
115
|
-
buttonWidth: string;
|
|
116
|
-
buttonSmallWidth: string;
|
|
118
|
+
border: string;
|
|
117
119
|
};
|
|
118
120
|
color: {
|
|
119
121
|
black: string;
|
|
@@ -144,22 +146,27 @@ export declare const TailShadow: import("styled-components").StyledComponent<"di
|
|
|
144
146
|
gray5: string;
|
|
145
147
|
};
|
|
146
148
|
fontFamily: {
|
|
147
|
-
|
|
149
|
+
default: string;
|
|
150
|
+
heading: string;
|
|
151
|
+
numerals: string;
|
|
148
152
|
};
|
|
149
153
|
fontSize: {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
154
|
+
default: string;
|
|
155
|
+
xl: string;
|
|
156
|
+
l: string;
|
|
157
|
+
s: string;
|
|
158
|
+
xs: string;
|
|
159
|
+
h1XL: string;
|
|
160
|
+
h1L: string;
|
|
161
|
+
h1M: string;
|
|
162
|
+
h1S: string;
|
|
163
|
+
h2M: string;
|
|
164
|
+
h2S: string;
|
|
165
|
+
h3: string;
|
|
166
|
+
h4: string;
|
|
167
|
+
h5: string;
|
|
168
|
+
h1: string;
|
|
169
|
+
h2: string;
|
|
163
170
|
};
|
|
164
171
|
fontWeight: {
|
|
165
172
|
book: number;
|
|
@@ -175,16 +182,23 @@ export declare const TailShadow: import("styled-components").StyledComponent<"di
|
|
|
175
182
|
gutter: string;
|
|
176
183
|
};
|
|
177
184
|
lineHeight: {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
185
|
+
default: string;
|
|
186
|
+
xl: string;
|
|
187
|
+
s: string;
|
|
188
|
+
xs: string;
|
|
189
|
+
xxs: string;
|
|
190
|
+
auto: string;
|
|
191
|
+
h1XL: string;
|
|
192
|
+
h1L: string;
|
|
193
|
+
h1M: string;
|
|
194
|
+
h1S: string;
|
|
195
|
+
h2M: string;
|
|
196
|
+
h2S: string;
|
|
197
|
+
h3: string;
|
|
198
|
+
h4: string;
|
|
199
|
+
h5: string;
|
|
200
|
+
h1: string;
|
|
201
|
+
h2: string;
|
|
188
202
|
};
|
|
189
203
|
media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
|
|
190
204
|
}, {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { default as Accordion } from './Accordion/Accordion';
|
|
2
|
+
export { default as AccordionItem } from './Accordion/AccordionItem';
|
|
1
3
|
export { default as AmountSelector } from './AmountSelector/AmountSelector';
|
|
2
4
|
export * from './Buttons';
|
|
3
5
|
export * from './Card';
|
|
@@ -8,7 +10,7 @@ export { default as Footer } from './Footer/Footer';
|
|
|
8
10
|
export { default as Helper } from './Helper/Helper';
|
|
9
11
|
export { default as Icon } from './Icon/Icon';
|
|
10
12
|
export { default as Image } from './Image/Image';
|
|
11
|
-
export { default as Input
|
|
13
|
+
export { default as Input } from './Input/Input';
|
|
12
14
|
export { default as Label } from './Label/Label';
|
|
13
15
|
export { default as LabelText } from './LabelText/LabelText';
|
|
14
16
|
export { default as MainNavigation } from './MainNavigation/MainNavigation';
|
|
@@ -19,6 +21,7 @@ export { default as PixelLoader } from './PixelLoader/PixelLoader';
|
|
|
19
21
|
export { default as ProgressIndicator } from './ProgressIndicator/ProgressIndicator';
|
|
20
22
|
export { default as RadioButton } from './RadioButton/RadioButton';
|
|
21
23
|
export { default as ReadMore } from './ReadMore/ReadMore';
|
|
24
|
+
export { default as Ribbon } from './Ribbon/Ribbon';
|
|
22
25
|
export { default as Search } from './Search/Search';
|
|
23
26
|
export { default as SecondaryNavigation } from './SecondaryNavigation/SecondaryNavigation';
|
|
24
27
|
export { default as Selectbox } from './Selectbox/Selectbox';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Hook to get element dimensions when layout changes
|
|
9
|
+
*/
|
|
10
|
+
const ResizeObserver = typeof window !== 'undefined' && window.ResizeObserver;
|
|
11
|
+
function useResizeObserver() {
|
|
12
|
+
const [size, setSize] = React.useState({ width: 0, height: 0 });
|
|
13
|
+
const resizeObserver = React.useRef(null);
|
|
14
|
+
const onResize = React.useCallback(entries => {
|
|
15
|
+
const { width, height } = entries[0].contentRect;
|
|
16
|
+
setSize({ width, height });
|
|
17
|
+
}, []);
|
|
18
|
+
const ref = React.useCallback(node => {
|
|
19
|
+
if (node !== null && ResizeObserver) {
|
|
20
|
+
if (resizeObserver.current) {
|
|
21
|
+
resizeObserver.current.disconnect();
|
|
22
|
+
}
|
|
23
|
+
resizeObserver.current = new ResizeObserver(onResize);
|
|
24
|
+
if (resizeObserver.current) {
|
|
25
|
+
resizeObserver.current.observe(node);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}, [onResize]);
|
|
29
|
+
React.useEffect(() => () => {
|
|
30
|
+
if (resizeObserver.current) {
|
|
31
|
+
resizeObserver.current.disconnect();
|
|
32
|
+
}
|
|
33
|
+
}, []);
|
|
34
|
+
return { ref, width: size.width, height: size.height };
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.default = useResizeObserver;
|
package/build/cjs/index.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var Accordion = require('./components/Accordion/Accordion.js');
|
|
6
|
+
var AccordionItem = require('./components/Accordion/AccordionItem.js');
|
|
5
7
|
var AmountSelector = require('./components/AmountSelector/AmountSelector.js');
|
|
6
8
|
var ButtonDefault = require('./components/Buttons/ButtonDefault.js');
|
|
7
9
|
var ButtonPrimary = require('./components/Buttons/ButtonPrimary.js');
|
|
@@ -31,6 +33,7 @@ var PixelLoader = require('./components/PixelLoader/PixelLoader.js');
|
|
|
31
33
|
var ProgressIndicator = require('./components/ProgressIndicator/ProgressIndicator.js');
|
|
32
34
|
var RadioButton = require('./components/RadioButton/RadioButton.js');
|
|
33
35
|
var ReadMore = require('./components/ReadMore/ReadMore.js');
|
|
36
|
+
var Ribbon = require('./components/Ribbon/Ribbon.js');
|
|
34
37
|
var Search = require('./components/Search/Search.js');
|
|
35
38
|
var SecondaryNavigation = require('./components/SecondaryNavigation/SecondaryNavigation.js');
|
|
36
39
|
var Selectbox = require('./components/Selectbox/Selectbox.js');
|
|
@@ -48,6 +51,8 @@ var navigation = require('./themes/themeComponents/navigation.js');
|
|
|
48
51
|
|
|
49
52
|
|
|
50
53
|
|
|
54
|
+
exports.Accordion = Accordion['default'];
|
|
55
|
+
exports.AccordionItem = AccordionItem['default'];
|
|
51
56
|
exports.AmountSelector = AmountSelector['default'];
|
|
52
57
|
exports.Button = ButtonDefault.Button;
|
|
53
58
|
exports.ButtonPrimary = ButtonPrimary['default'];
|
|
@@ -77,6 +82,7 @@ exports.PixelLoader = PixelLoader.PixelLoader;
|
|
|
77
82
|
exports.ProgressIndicator = ProgressIndicator['default'];
|
|
78
83
|
exports.RadioButton = RadioButton['default'];
|
|
79
84
|
exports.ReadMore = ReadMore['default'];
|
|
85
|
+
exports.Ribbon = Ribbon['default'];
|
|
80
86
|
exports.Search = Search['default'];
|
|
81
87
|
exports.SecondaryNavigation = SecondaryNavigation['default'];
|
|
82
88
|
exports.Selectbox = Selectbox['default'];
|
|
@@ -12,12 +12,7 @@ export declare const globalStyles: import("styled-components").FlattenInterpolat
|
|
|
12
12
|
};
|
|
13
13
|
breakpoints: import("./themeComponents/breakpoints").ViewBreakpoints;
|
|
14
14
|
button: {
|
|
15
|
-
|
|
16
|
-
buttonPadding: string;
|
|
17
|
-
smallButtonPadding: string;
|
|
18
|
-
buttonLineHeight: string;
|
|
19
|
-
buttonWidth: string;
|
|
20
|
-
buttonSmallWidth: string;
|
|
15
|
+
border: string;
|
|
21
16
|
};
|
|
22
17
|
color: {
|
|
23
18
|
black: string;
|
|
@@ -48,22 +43,27 @@ export declare const globalStyles: import("styled-components").FlattenInterpolat
|
|
|
48
43
|
gray5: string;
|
|
49
44
|
};
|
|
50
45
|
fontFamily: {
|
|
51
|
-
|
|
46
|
+
default: string;
|
|
47
|
+
heading: string;
|
|
48
|
+
numerals: string;
|
|
52
49
|
};
|
|
53
50
|
fontSize: {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
51
|
+
default: string;
|
|
52
|
+
xl: string;
|
|
53
|
+
l: string;
|
|
54
|
+
s: string;
|
|
55
|
+
xs: string;
|
|
56
|
+
h1XL: string;
|
|
57
|
+
h1L: string;
|
|
58
|
+
h1M: string;
|
|
59
|
+
h1S: string;
|
|
60
|
+
h2M: string;
|
|
61
|
+
h2S: string;
|
|
62
|
+
h3: string;
|
|
63
|
+
h4: string;
|
|
64
|
+
h5: string;
|
|
65
|
+
h1: string;
|
|
66
|
+
h2: string;
|
|
67
67
|
};
|
|
68
68
|
fontWeight: {
|
|
69
69
|
book: number;
|
|
@@ -79,19 +79,126 @@ export declare const globalStyles: import("styled-components").FlattenInterpolat
|
|
|
79
79
|
gutter: string;
|
|
80
80
|
};
|
|
81
81
|
lineHeight: {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
82
|
+
default: string;
|
|
83
|
+
xl: string;
|
|
84
|
+
s: string;
|
|
85
|
+
xs: string;
|
|
86
|
+
xxs: string;
|
|
87
|
+
auto: string;
|
|
88
|
+
h1XL: string;
|
|
89
|
+
h1L: string;
|
|
90
|
+
h1M: string;
|
|
91
|
+
h1S: string;
|
|
92
|
+
h2M: string;
|
|
93
|
+
h2S: string;
|
|
94
|
+
h3: string;
|
|
95
|
+
h4: string;
|
|
96
|
+
h5: string;
|
|
97
|
+
h1: string;
|
|
98
|
+
h2: string;
|
|
92
99
|
};
|
|
93
100
|
media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
|
|
94
101
|
}>>;
|
|
102
|
+
export declare const CheckboxInput_RadioInput: import("styled-components").StyledComponent<"input", {
|
|
103
|
+
base: {
|
|
104
|
+
baseHeight: {
|
|
105
|
+
value: number;
|
|
106
|
+
unit: string;
|
|
107
|
+
};
|
|
108
|
+
baseWidth: {
|
|
109
|
+
value: number;
|
|
110
|
+
unit: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
breakpoints: import("./themeComponents/breakpoints").ViewBreakpoints;
|
|
114
|
+
button: {
|
|
115
|
+
border: string;
|
|
116
|
+
};
|
|
117
|
+
color: {
|
|
118
|
+
black: string;
|
|
119
|
+
white: string;
|
|
120
|
+
text: string;
|
|
121
|
+
hotPink: string;
|
|
122
|
+
waterBlue: string;
|
|
123
|
+
melonYellow: string;
|
|
124
|
+
slateGray: string;
|
|
125
|
+
grayWhite: string;
|
|
126
|
+
hotPinkHover: string;
|
|
127
|
+
waterBlueHover: string;
|
|
128
|
+
pink1: string;
|
|
129
|
+
pink2: string;
|
|
130
|
+
pinkday: string;
|
|
131
|
+
info: string;
|
|
132
|
+
error: string;
|
|
133
|
+
success: string;
|
|
134
|
+
warning: string;
|
|
135
|
+
grayBg: string;
|
|
136
|
+
gray80: string;
|
|
137
|
+
gray70: string;
|
|
138
|
+
gray55: string;
|
|
139
|
+
gray40: string;
|
|
140
|
+
gray25: string;
|
|
141
|
+
gray15: string;
|
|
142
|
+
gray10: string;
|
|
143
|
+
gray5: string;
|
|
144
|
+
};
|
|
145
|
+
fontFamily: {
|
|
146
|
+
default: string;
|
|
147
|
+
heading: string;
|
|
148
|
+
numerals: string;
|
|
149
|
+
};
|
|
150
|
+
fontSize: {
|
|
151
|
+
default: string;
|
|
152
|
+
xl: string;
|
|
153
|
+
l: string;
|
|
154
|
+
s: string;
|
|
155
|
+
xs: string;
|
|
156
|
+
h1XL: string;
|
|
157
|
+
h1L: string;
|
|
158
|
+
h1M: string;
|
|
159
|
+
h1S: string;
|
|
160
|
+
h2M: string;
|
|
161
|
+
h2S: string;
|
|
162
|
+
h3: string;
|
|
163
|
+
h4: string;
|
|
164
|
+
h5: string;
|
|
165
|
+
h1: string;
|
|
166
|
+
h2: string;
|
|
167
|
+
};
|
|
168
|
+
fontWeight: {
|
|
169
|
+
book: number;
|
|
170
|
+
medium: number;
|
|
171
|
+
bold: number;
|
|
172
|
+
black: number;
|
|
173
|
+
};
|
|
174
|
+
form: {
|
|
175
|
+
smallSelectWidth: string;
|
|
176
|
+
smallSelectHeight: string;
|
|
177
|
+
};
|
|
178
|
+
grid: {
|
|
179
|
+
gutter: string;
|
|
180
|
+
};
|
|
181
|
+
lineHeight: {
|
|
182
|
+
default: string;
|
|
183
|
+
xl: string;
|
|
184
|
+
s: string;
|
|
185
|
+
xs: string;
|
|
186
|
+
xxs: string;
|
|
187
|
+
auto: string;
|
|
188
|
+
h1XL: string;
|
|
189
|
+
h1L: string;
|
|
190
|
+
h1M: string;
|
|
191
|
+
h1S: string;
|
|
192
|
+
h2M: string;
|
|
193
|
+
h2S: string;
|
|
194
|
+
h3: string;
|
|
195
|
+
h4: string;
|
|
196
|
+
h5: string;
|
|
197
|
+
h1: string;
|
|
198
|
+
h2: string;
|
|
199
|
+
};
|
|
200
|
+
media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
|
|
201
|
+
}, {}, never>;
|
|
95
202
|
declare const _default: import("styled-components").GlobalStyleComponent<{}, {
|
|
96
203
|
base: {
|
|
97
204
|
baseHeight: {
|
|
@@ -105,12 +212,7 @@ declare const _default: import("styled-components").GlobalStyleComponent<{}, {
|
|
|
105
212
|
};
|
|
106
213
|
breakpoints: import("./themeComponents/breakpoints").ViewBreakpoints;
|
|
107
214
|
button: {
|
|
108
|
-
|
|
109
|
-
buttonPadding: string;
|
|
110
|
-
smallButtonPadding: string;
|
|
111
|
-
buttonLineHeight: string;
|
|
112
|
-
buttonWidth: string;
|
|
113
|
-
buttonSmallWidth: string;
|
|
215
|
+
border: string;
|
|
114
216
|
};
|
|
115
217
|
color: {
|
|
116
218
|
black: string;
|
|
@@ -141,22 +243,27 @@ declare const _default: import("styled-components").GlobalStyleComponent<{}, {
|
|
|
141
243
|
gray5: string;
|
|
142
244
|
};
|
|
143
245
|
fontFamily: {
|
|
144
|
-
|
|
246
|
+
default: string;
|
|
247
|
+
heading: string;
|
|
248
|
+
numerals: string;
|
|
145
249
|
};
|
|
146
250
|
fontSize: {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
251
|
+
default: string;
|
|
252
|
+
xl: string;
|
|
253
|
+
l: string;
|
|
254
|
+
s: string;
|
|
255
|
+
xs: string;
|
|
256
|
+
h1XL: string;
|
|
257
|
+
h1L: string;
|
|
258
|
+
h1M: string;
|
|
259
|
+
h1S: string;
|
|
260
|
+
h2M: string;
|
|
261
|
+
h2S: string;
|
|
262
|
+
h3: string;
|
|
263
|
+
h4: string;
|
|
264
|
+
h5: string;
|
|
265
|
+
h1: string;
|
|
266
|
+
h2: string;
|
|
160
267
|
};
|
|
161
268
|
fontWeight: {
|
|
162
269
|
book: number;
|
|
@@ -172,16 +279,23 @@ declare const _default: import("styled-components").GlobalStyleComponent<{}, {
|
|
|
172
279
|
gutter: string;
|
|
173
280
|
};
|
|
174
281
|
lineHeight: {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
282
|
+
default: string;
|
|
283
|
+
xl: string;
|
|
284
|
+
s: string;
|
|
285
|
+
xs: string;
|
|
286
|
+
xxs: string;
|
|
287
|
+
auto: string;
|
|
288
|
+
h1XL: string;
|
|
289
|
+
h1L: string;
|
|
290
|
+
h1M: string;
|
|
291
|
+
h1S: string;
|
|
292
|
+
h2M: string;
|
|
293
|
+
h2S: string;
|
|
294
|
+
h3: string;
|
|
295
|
+
h4: string;
|
|
296
|
+
h5: string;
|
|
297
|
+
h1: string;
|
|
298
|
+
h2: string;
|
|
185
299
|
};
|
|
186
300
|
media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
|
|
187
301
|
}>;
|