@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,340 +1,10 @@
|
|
|
1
|
-
export declare const Tail: import("styled-components").
|
|
2
|
-
base: {
|
|
3
|
-
baseHeight: {
|
|
4
|
-
value: number;
|
|
5
|
-
unit: string;
|
|
6
|
-
};
|
|
7
|
-
baseWidth: {
|
|
8
|
-
value: number;
|
|
9
|
-
unit: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
breakpoints: import("../../../themes/themeComponents/breakpoints").ViewBreakpoints;
|
|
13
|
-
color: {
|
|
14
|
-
default: {
|
|
15
|
-
pink: string;
|
|
16
|
-
plum: string;
|
|
17
|
-
white: string;
|
|
18
|
-
black: string;
|
|
19
|
-
};
|
|
20
|
-
accent: {
|
|
21
|
-
lemon: string;
|
|
22
|
-
sky: string;
|
|
23
|
-
orange: string;
|
|
24
|
-
};
|
|
25
|
-
active: {
|
|
26
|
-
pink: string;
|
|
27
|
-
};
|
|
28
|
-
hover: {
|
|
29
|
-
pink: string;
|
|
30
|
-
};
|
|
31
|
-
text: {
|
|
32
|
-
gray: string;
|
|
33
|
-
pink: string;
|
|
34
|
-
plum: string;
|
|
35
|
-
white: string;
|
|
36
|
-
black: string;
|
|
37
|
-
};
|
|
38
|
-
line: {
|
|
39
|
-
L01: string;
|
|
40
|
-
L02: string;
|
|
41
|
-
L03: string;
|
|
42
|
-
L04: string;
|
|
43
|
-
};
|
|
44
|
-
notification: {
|
|
45
|
-
info: string;
|
|
46
|
-
success: string;
|
|
47
|
-
warning: string;
|
|
48
|
-
error: string;
|
|
49
|
-
};
|
|
50
|
-
background: {
|
|
51
|
-
sand: {
|
|
52
|
-
default: string;
|
|
53
|
-
E01: string;
|
|
54
|
-
E02: string;
|
|
55
|
-
};
|
|
56
|
-
pink: {
|
|
57
|
-
default: string;
|
|
58
|
-
E01: string;
|
|
59
|
-
E02: string;
|
|
60
|
-
};
|
|
61
|
-
plum: {
|
|
62
|
-
default: string;
|
|
63
|
-
E01: string;
|
|
64
|
-
E02: string;
|
|
65
|
-
};
|
|
66
|
-
lemon: {
|
|
67
|
-
default: string;
|
|
68
|
-
E01: string;
|
|
69
|
-
E02: string;
|
|
70
|
-
};
|
|
71
|
-
sky: {
|
|
72
|
-
default: string;
|
|
73
|
-
E01: string;
|
|
74
|
-
E02: string;
|
|
75
|
-
};
|
|
76
|
-
orange: {
|
|
77
|
-
default: string;
|
|
78
|
-
E01: string;
|
|
79
|
-
E02: string;
|
|
80
|
-
};
|
|
81
|
-
white: {
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
focus: {
|
|
86
|
-
dark: string;
|
|
87
|
-
light: string;
|
|
88
|
-
};
|
|
89
|
-
transparency: {
|
|
90
|
-
T0: string;
|
|
91
|
-
T10: string;
|
|
92
|
-
T20: string;
|
|
93
|
-
T30: string;
|
|
94
|
-
T40: string;
|
|
95
|
-
T50: string;
|
|
96
|
-
T60: string;
|
|
97
|
-
T70: string;
|
|
98
|
-
T80: string;
|
|
99
|
-
T90: string;
|
|
100
|
-
T100: string;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
fontFamily: {
|
|
104
|
-
default: string;
|
|
105
|
-
heading: string;
|
|
106
|
-
numerals: string;
|
|
107
|
-
};
|
|
108
|
-
fontSize: {
|
|
109
|
-
default: string;
|
|
110
|
-
xl: string;
|
|
111
|
-
l: string;
|
|
112
|
-
s: string;
|
|
113
|
-
xs: string;
|
|
114
|
-
h1XL: string;
|
|
115
|
-
h1L: string;
|
|
116
|
-
h1M: string;
|
|
117
|
-
h1S: string;
|
|
118
|
-
h2M: string;
|
|
119
|
-
h2S: string;
|
|
120
|
-
h3: string;
|
|
121
|
-
h4: string;
|
|
122
|
-
h5: string;
|
|
123
|
-
h1: string;
|
|
124
|
-
h2: string;
|
|
125
|
-
};
|
|
126
|
-
fontWeight: {
|
|
127
|
-
book: number;
|
|
128
|
-
medium: number;
|
|
129
|
-
bold: number;
|
|
130
|
-
black: number;
|
|
131
|
-
};
|
|
132
|
-
form: {
|
|
133
|
-
smallSelectWidth: string;
|
|
134
|
-
smallSelectHeight: string;
|
|
135
|
-
};
|
|
136
|
-
grid: {
|
|
137
|
-
gutter: string;
|
|
138
|
-
};
|
|
139
|
-
lineHeight: {
|
|
140
|
-
default: string;
|
|
141
|
-
xl: string;
|
|
142
|
-
s: string;
|
|
143
|
-
xs: string;
|
|
144
|
-
xxs: string;
|
|
145
|
-
auto: string;
|
|
146
|
-
h1XL: string;
|
|
147
|
-
h1L: string;
|
|
148
|
-
h1M: string;
|
|
149
|
-
h1S: string;
|
|
150
|
-
h2M: string;
|
|
151
|
-
h2S: string;
|
|
152
|
-
h3: string;
|
|
153
|
-
h4: string;
|
|
154
|
-
h5: string;
|
|
155
|
-
h1: string;
|
|
156
|
-
h2: string;
|
|
157
|
-
};
|
|
158
|
-
media: Record<string | number, (l: TemplateStringsArray, ...p: (string | number)[]) => string>;
|
|
159
|
-
radius: {
|
|
160
|
-
default: string;
|
|
161
|
-
s: string;
|
|
162
|
-
xs: string;
|
|
163
|
-
circle: string;
|
|
164
|
-
pill: string;
|
|
165
|
-
};
|
|
166
|
-
}, {
|
|
1
|
+
export declare const Tail: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
167
2
|
tooltipTop: string;
|
|
168
3
|
zIndex: string;
|
|
169
4
|
arrowPosition: string;
|
|
170
|
-
}
|
|
171
|
-
export declare const TailShadow: import("styled-components").
|
|
172
|
-
base: {
|
|
173
|
-
baseHeight: {
|
|
174
|
-
value: number;
|
|
175
|
-
unit: string;
|
|
176
|
-
};
|
|
177
|
-
baseWidth: {
|
|
178
|
-
value: number;
|
|
179
|
-
unit: string;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
breakpoints: import("../../../themes/themeComponents/breakpoints").ViewBreakpoints;
|
|
183
|
-
color: {
|
|
184
|
-
default: {
|
|
185
|
-
pink: string;
|
|
186
|
-
plum: string;
|
|
187
|
-
white: string;
|
|
188
|
-
black: string;
|
|
189
|
-
};
|
|
190
|
-
accent: {
|
|
191
|
-
lemon: string;
|
|
192
|
-
sky: string;
|
|
193
|
-
orange: string;
|
|
194
|
-
};
|
|
195
|
-
active: {
|
|
196
|
-
pink: string;
|
|
197
|
-
};
|
|
198
|
-
hover: {
|
|
199
|
-
pink: string;
|
|
200
|
-
};
|
|
201
|
-
text: {
|
|
202
|
-
gray: string;
|
|
203
|
-
pink: string;
|
|
204
|
-
plum: string;
|
|
205
|
-
white: string;
|
|
206
|
-
black: string;
|
|
207
|
-
};
|
|
208
|
-
line: {
|
|
209
|
-
L01: string;
|
|
210
|
-
L02: string;
|
|
211
|
-
L03: string;
|
|
212
|
-
L04: string;
|
|
213
|
-
};
|
|
214
|
-
notification: {
|
|
215
|
-
info: string;
|
|
216
|
-
success: string;
|
|
217
|
-
warning: string;
|
|
218
|
-
error: string;
|
|
219
|
-
};
|
|
220
|
-
background: {
|
|
221
|
-
sand: {
|
|
222
|
-
default: string;
|
|
223
|
-
E01: string;
|
|
224
|
-
E02: string;
|
|
225
|
-
};
|
|
226
|
-
pink: {
|
|
227
|
-
default: string;
|
|
228
|
-
E01: string;
|
|
229
|
-
E02: string;
|
|
230
|
-
};
|
|
231
|
-
plum: {
|
|
232
|
-
default: string;
|
|
233
|
-
E01: string;
|
|
234
|
-
E02: string;
|
|
235
|
-
};
|
|
236
|
-
lemon: {
|
|
237
|
-
default: string;
|
|
238
|
-
E01: string;
|
|
239
|
-
E02: string;
|
|
240
|
-
};
|
|
241
|
-
sky: {
|
|
242
|
-
default: string;
|
|
243
|
-
E01: string;
|
|
244
|
-
E02: string;
|
|
245
|
-
};
|
|
246
|
-
orange: {
|
|
247
|
-
default: string;
|
|
248
|
-
E01: string;
|
|
249
|
-
E02: string;
|
|
250
|
-
};
|
|
251
|
-
white: {
|
|
252
|
-
default: string;
|
|
253
|
-
};
|
|
254
|
-
};
|
|
255
|
-
focus: {
|
|
256
|
-
dark: string;
|
|
257
|
-
light: string;
|
|
258
|
-
};
|
|
259
|
-
transparency: {
|
|
260
|
-
T0: string;
|
|
261
|
-
T10: string;
|
|
262
|
-
T20: string;
|
|
263
|
-
T30: string;
|
|
264
|
-
T40: string;
|
|
265
|
-
T50: string;
|
|
266
|
-
T60: string;
|
|
267
|
-
T70: string;
|
|
268
|
-
T80: string;
|
|
269
|
-
T90: string;
|
|
270
|
-
T100: string;
|
|
271
|
-
};
|
|
272
|
-
};
|
|
273
|
-
fontFamily: {
|
|
274
|
-
default: string;
|
|
275
|
-
heading: string;
|
|
276
|
-
numerals: string;
|
|
277
|
-
};
|
|
278
|
-
fontSize: {
|
|
279
|
-
default: string;
|
|
280
|
-
xl: string;
|
|
281
|
-
l: string;
|
|
282
|
-
s: string;
|
|
283
|
-
xs: string;
|
|
284
|
-
h1XL: string;
|
|
285
|
-
h1L: string;
|
|
286
|
-
h1M: string;
|
|
287
|
-
h1S: string;
|
|
288
|
-
h2M: string;
|
|
289
|
-
h2S: string;
|
|
290
|
-
h3: string;
|
|
291
|
-
h4: string;
|
|
292
|
-
h5: string;
|
|
293
|
-
h1: string;
|
|
294
|
-
h2: string;
|
|
295
|
-
};
|
|
296
|
-
fontWeight: {
|
|
297
|
-
book: number;
|
|
298
|
-
medium: number;
|
|
299
|
-
bold: number;
|
|
300
|
-
black: number;
|
|
301
|
-
};
|
|
302
|
-
form: {
|
|
303
|
-
smallSelectWidth: string;
|
|
304
|
-
smallSelectHeight: string;
|
|
305
|
-
};
|
|
306
|
-
grid: {
|
|
307
|
-
gutter: string;
|
|
308
|
-
};
|
|
309
|
-
lineHeight: {
|
|
310
|
-
default: string;
|
|
311
|
-
xl: string;
|
|
312
|
-
s: string;
|
|
313
|
-
xs: string;
|
|
314
|
-
xxs: string;
|
|
315
|
-
auto: string;
|
|
316
|
-
h1XL: string;
|
|
317
|
-
h1L: string;
|
|
318
|
-
h1M: string;
|
|
319
|
-
h1S: string;
|
|
320
|
-
h2M: string;
|
|
321
|
-
h2S: string;
|
|
322
|
-
h3: string;
|
|
323
|
-
h4: string;
|
|
324
|
-
h5: string;
|
|
325
|
-
h1: string;
|
|
326
|
-
h2: string;
|
|
327
|
-
};
|
|
328
|
-
media: Record<string | number, (l: TemplateStringsArray, ...p: (string | number)[]) => string>;
|
|
329
|
-
radius: {
|
|
330
|
-
default: string;
|
|
331
|
-
s: string;
|
|
332
|
-
xs: string;
|
|
333
|
-
circle: string;
|
|
334
|
-
pill: string;
|
|
335
|
-
};
|
|
336
|
-
}, {
|
|
5
|
+
}>> & string;
|
|
6
|
+
export declare const TailShadow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
337
7
|
tooltipTop: string;
|
|
338
8
|
zIndex: string;
|
|
339
9
|
arrowPosition: string;
|
|
340
|
-
}
|
|
10
|
+
}>> & string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var styledComponents = require('styled-components');
|
|
4
|
+
var theme = require('../../../themes/theme.js');
|
|
4
5
|
|
|
5
6
|
// Tooltip corner tail
|
|
6
|
-
const Tail = styled.
|
|
7
|
+
const Tail = styledComponents.styled.div `
|
|
7
8
|
position: absolute;
|
|
8
9
|
width: 0;
|
|
9
10
|
height: 0;
|
|
@@ -16,7 +17,7 @@ const Tail = styled.default.div `
|
|
|
16
17
|
transform: rotate(90deg);
|
|
17
18
|
`;
|
|
18
19
|
// Box shadow of the tooltip tail
|
|
19
|
-
const TailShadow = styled.
|
|
20
|
+
const TailShadow = styledComponents.styled.div `
|
|
20
21
|
position: absolute;
|
|
21
22
|
width: 0.25rem;
|
|
22
23
|
height: 0.25rem;
|
|
@@ -26,7 +27,7 @@ const TailShadow = styled.default.div `
|
|
|
26
27
|
z-index: ${p => Number(p.zIndex) + 1};
|
|
27
28
|
right: ${p => p.arrowPosition};
|
|
28
29
|
background-color: transparent;
|
|
29
|
-
box-shadow: 0 0 5px 0 ${
|
|
30
|
+
box-shadow: 0 0 5px 0 ${theme.default.color.default.black};
|
|
30
31
|
`;
|
|
31
32
|
|
|
32
33
|
exports.Tail = Tail;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var icons = require('@dnanpm/icons');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var useOutsideClick = require('../../hooks/useOutsideClick.js');
|
|
8
|
-
var
|
|
8
|
+
var styledComponents = require('styled-components');
|
|
9
9
|
var theme = require('../../themes/theme.js');
|
|
10
10
|
var Icon = require('../Icon/Icon.js');
|
|
11
11
|
var TooltipMenuExportedStyles = require('./ChildComponents/TooltipMenuExportedStyles.js');
|
|
@@ -14,7 +14,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
16
16
|
|
|
17
|
-
const Selector = styled.
|
|
17
|
+
const Selector = styledComponents.styled.div `
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: center;
|
|
20
20
|
justify-content: flex-end;
|
|
@@ -26,10 +26,10 @@ const Selector = styled.default.div `
|
|
|
26
26
|
transition: transform 0.15s linear;
|
|
27
27
|
}
|
|
28
28
|
`;
|
|
29
|
-
const Container = styled.
|
|
29
|
+
const Container = styledComponents.styled.div `
|
|
30
30
|
position: relative;
|
|
31
31
|
`;
|
|
32
|
-
const Tooltip = styled.
|
|
32
|
+
const Tooltip = styledComponents.styled.div `
|
|
33
33
|
background-color: ${theme.default.color.background.white.default};
|
|
34
34
|
padding: 0.5rem;
|
|
35
35
|
min-height: 3rem;
|
|
@@ -40,7 +40,7 @@ const Tooltip = styled.default.div `
|
|
|
40
40
|
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.48);
|
|
41
41
|
z-index: ${p => p.zIndex};
|
|
42
42
|
`;
|
|
43
|
-
const ChildrenWrapper = styled.
|
|
43
|
+
const ChildrenWrapper = styledComponents.styled.span `
|
|
44
44
|
> * {
|
|
45
45
|
white-space: nowrap;
|
|
46
46
|
}
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './components';
|
|
2
2
|
export { default as createStyled } from './utils/createStyled';
|
|
3
|
-
export {
|
|
3
|
+
export { styled } from './themes/styled';
|
|
4
4
|
export { default as theme } from './themes/theme';
|
|
5
5
|
export { globalStyles } from './themes/globalStyles';
|
|
6
6
|
export { default as navigation } from './themes/themeComponents/navigation';
|
package/build/cjs/index.js
CHANGED
|
@@ -163,7 +163,7 @@ var Toaster = require('./components/Toaster/Toaster.js');
|
|
|
163
163
|
var Tooltip = require('./components/Tooltip/Tooltip.js');
|
|
164
164
|
var TooltipMenu = require('./components/TooltipMenu/TooltipMenu.js');
|
|
165
165
|
var createStyled = require('./utils/createStyled.js');
|
|
166
|
-
var
|
|
166
|
+
var styledComponents = require('styled-components');
|
|
167
167
|
var theme = require('./themes/theme.js');
|
|
168
168
|
var globalStyles = require('./themes/globalStyles.js');
|
|
169
169
|
var navigation = require('./themes/themeComponents/navigation.js');
|
|
@@ -334,7 +334,10 @@ exports.Toaster = Toaster.default;
|
|
|
334
334
|
exports.Tooltip = Tooltip.default;
|
|
335
335
|
exports.TooltipMenu = TooltipMenu.default;
|
|
336
336
|
exports.createStyled = createStyled.default;
|
|
337
|
-
exports
|
|
337
|
+
Object.defineProperty(exports, 'styled', {
|
|
338
|
+
enumerable: true,
|
|
339
|
+
get: function () { return styledComponents.styled; }
|
|
340
|
+
});
|
|
338
341
|
exports.theme = theme.default;
|
|
339
342
|
exports.globalStyles = globalStyles.globalStyles;
|
|
340
343
|
exports.navigation = navigation.default;
|