@laerdal/life-react-components 2.3.1-dev.1.full → 2.3.1-dev.2
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/Accordion/ContentAccordion.cjs +3 -5
- package/dist/Accordion/ContentAccordion.cjs.map +1 -1
- package/dist/Accordion/ContentAccordion.d.ts +1 -1
- package/dist/Accordion/ContentAccordion.js +3 -5
- package/dist/Accordion/ContentAccordion.js.map +1 -1
- package/dist/AuthPage/AuthPage.cjs +21 -43
- package/dist/AuthPage/AuthPage.cjs.map +1 -1
- package/dist/AuthPage/AuthPage.d.ts +4 -28
- package/dist/AuthPage/AuthPage.js +21 -44
- package/dist/AuthPage/AuthPage.js.map +1 -1
- package/dist/AuthPage/ScreenSetsContainer.cjs +2 -3
- package/dist/AuthPage/ScreenSetsContainer.cjs.map +1 -1
- package/dist/AuthPage/ScreenSetsContainer.js +2 -3
- package/dist/AuthPage/ScreenSetsContainer.js.map +1 -1
- package/dist/AuthPage/index.cjs +0 -38
- package/dist/AuthPage/index.cjs.map +1 -1
- package/dist/AuthPage/index.d.ts +1 -3
- package/dist/AuthPage/index.js +1 -3
- package/dist/AuthPage/index.js.map +1 -1
- package/dist/Banners/Banner.cjs +1 -1
- package/dist/Banners/Banner.cjs.map +1 -1
- package/dist/Banners/Banner.js +1 -1
- package/dist/Banners/Banner.js.map +1 -1
- package/dist/Banners/OverviewBanner.cjs +1 -2
- package/dist/Banners/OverviewBanner.cjs.map +1 -1
- package/dist/Banners/OverviewBanner.js +1 -2
- package/dist/Banners/OverviewBanner.js.map +1 -1
- package/dist/Footer/Components/FooterNavSection.cjs +1 -1
- package/dist/Footer/Components/FooterNavSection.cjs.map +1 -1
- package/dist/Footer/Components/FooterNavSection.js +1 -1
- package/dist/Footer/Components/FooterNavSection.js.map +1 -1
- package/dist/Footer/SiteFooter.cjs +1 -1
- package/dist/Footer/SiteFooter.cjs.map +1 -1
- package/dist/Footer/SiteFooter.js +1 -1
- package/dist/Footer/SiteFooter.js.map +1 -1
- package/dist/GlobalNavigationBar/GlobalNavigationBar.cjs +12 -7
- package/dist/GlobalNavigationBar/GlobalNavigationBar.cjs.map +1 -1
- package/dist/GlobalNavigationBar/GlobalNavigationBar.d.ts +2 -1
- package/dist/GlobalNavigationBar/GlobalNavigationBar.js +12 -7
- package/dist/GlobalNavigationBar/GlobalNavigationBar.js.map +1 -1
- package/dist/GlobalNavigationBar/Logo.cjs +3 -3
- package/dist/GlobalNavigationBar/Logo.cjs.map +1 -1
- package/dist/GlobalNavigationBar/Logo.js +3 -3
- package/dist/GlobalNavigationBar/Logo.js.map +1 -1
- package/dist/GlobalNavigationBar/desktop/DesktopActions.cjs +1 -1
- package/dist/GlobalNavigationBar/desktop/DesktopActions.cjs.map +1 -1
- package/dist/GlobalNavigationBar/desktop/DesktopActions.js +1 -1
- package/dist/GlobalNavigationBar/desktop/DesktopActions.js.map +1 -1
- package/dist/GlobalNavigationBar/desktop/MainMenu.cjs +1 -1
- package/dist/GlobalNavigationBar/desktop/MainMenu.cjs.map +1 -1
- package/dist/GlobalNavigationBar/desktop/MainMenu.js +1 -1
- package/dist/GlobalNavigationBar/desktop/MainMenu.js.map +1 -1
- package/dist/GlobalNavigationBar/desktop/RightSideNav.cjs +1 -1
- package/dist/GlobalNavigationBar/desktop/RightSideNav.cjs.map +1 -1
- package/dist/GlobalNavigationBar/desktop/RightSideNav.js +1 -1
- package/dist/GlobalNavigationBar/desktop/RightSideNav.js.map +1 -1
- package/dist/GlobalNavigationBar/desktop/UserMenu.cjs.map +1 -1
- package/dist/GlobalNavigationBar/desktop/UserMenu.js.map +1 -1
- package/dist/GlobalNavigationBar/mobile/CommonStyles.cjs +2 -2
- package/dist/GlobalNavigationBar/mobile/CommonStyles.cjs.map +1 -1
- package/dist/GlobalNavigationBar/mobile/CommonStyles.js +3 -5
- package/dist/GlobalNavigationBar/mobile/CommonStyles.js.map +1 -1
- package/dist/GlobalNavigationBar/mobile/MobileMenuContent.cjs +1 -1
- package/dist/GlobalNavigationBar/mobile/MobileMenuContent.cjs.map +1 -1
- package/dist/GlobalNavigationBar/mobile/MobileMenuContent.js +2 -2
- package/dist/GlobalNavigationBar/mobile/MobileMenuContent.js.map +1 -1
- package/dist/InputFields/DatepickerField.d.ts +1 -1
- package/dist/InputFields/NumberField.d.ts +1 -1
- package/dist/InputFields/PasswordField.d.ts +1 -1
- package/dist/InputFields/TextField.d.ts +1 -1
- package/dist/Layouts/index.cjs +17 -9
- package/dist/Layouts/index.cjs.map +1 -1
- package/dist/Layouts/index.d.ts +1 -0
- package/dist/Layouts/index.js +17 -9
- package/dist/Layouts/index.js.map +1 -1
- package/dist/NavItem/NavItem.cjs +2 -6
- package/dist/NavItem/NavItem.cjs.map +1 -1
- package/dist/NavItem/NavItem.js +3 -7
- package/dist/NavItem/NavItem.js.map +1 -1
- package/dist/Panel/Panel.cjs +138 -0
- package/dist/Panel/Panel.cjs.map +1 -0
- package/dist/Panel/Panel.d.ts +29 -0
- package/dist/Panel/Panel.js +131 -0
- package/dist/Panel/Panel.js.map +1 -0
- package/dist/Panel/index.cjs +17 -0
- package/dist/Panel/index.cjs.map +1 -0
- package/dist/Panel/index.d.ts +1 -0
- package/dist/Panel/index.js +2 -0
- package/dist/Panel/index.js.map +1 -0
- package/dist/Tabs/TabLink.cjs.map +1 -1
- package/dist/Tabs/TabLink.js.map +1 -1
- package/dist/common/NavigationHelper.cjs +2 -3
- package/dist/common/NavigationHelper.cjs.map +1 -1
- package/dist/common/NavigationHelper.js +1 -2
- package/dist/common/NavigationHelper.js.map +1 -1
- package/dist/index.cjs +12 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/styles/breakpoints.cjs +2 -4
- package/dist/styles/breakpoints.cjs.map +1 -1
- package/dist/styles/breakpoints.d.ts +0 -2
- package/dist/styles/breakpoints.js +2 -4
- package/dist/styles/breakpoints.js.map +1 -1
- package/dist/styles/global.cjs +2 -1
- package/dist/styles/global.cjs.map +1 -1
- package/dist/styles/global.js +2 -1
- package/dist/styles/global.js.map +1 -1
- package/dist/styles/index.cjs +11 -259
- package/dist/styles/index.cjs.map +1 -1
- package/dist/styles/index.d.ts +1 -12
- package/dist/styles/index.js +1 -12
- package/dist/styles/index.js.map +1 -1
- package/dist/styles/typography.cjs +53 -301
- package/dist/styles/typography.cjs.map +1 -1
- package/dist/styles/typography.d.ts +7 -45
- package/dist/styles/typography.js +45 -281
- package/dist/styles/typography.js.map +1 -1
- package/package.json +2 -1
- package/dist/AuthPage/Information.cjs +0 -26
- package/dist/AuthPage/Information.cjs.map +0 -1
- package/dist/AuthPage/Information.d.ts +0 -7
- package/dist/AuthPage/Information.js +0 -14
- package/dist/AuthPage/Information.js.map +0 -1
- package/dist/AuthPage/_AuthPageSection.cjs +0 -15
- package/dist/AuthPage/_AuthPageSection.cjs.map +0 -1
- package/dist/AuthPage/_AuthPageSection.d.ts +0 -2
- package/dist/AuthPage/_AuthPageSection.js +0 -7
- package/dist/AuthPage/_AuthPageSection.js.map +0 -1
- package/dist/AuthPage/screenSetsErrorMessages.cjs +0 -13
- package/dist/AuthPage/screenSetsErrorMessages.cjs.map +0 -1
- package/dist/AuthPage/screenSetsErrorMessages.d.ts +0 -5
- package/dist/AuthPage/screenSetsErrorMessages.js +0 -6
- package/dist/AuthPage/screenSetsErrorMessages.js.map +0 -1
package/dist/styles/index.cjs
CHANGED
|
@@ -9,43 +9,6 @@ var _exportNames = {
|
|
|
9
9
|
COLORS: true,
|
|
10
10
|
BREAKPOINTS: true,
|
|
11
11
|
BOXSHADOWS: true,
|
|
12
|
-
HeadlineXL: true,
|
|
13
|
-
HeadlineL: true,
|
|
14
|
-
HeadlineM: true,
|
|
15
|
-
HeadlineS: true,
|
|
16
|
-
HeadlineXS: true,
|
|
17
|
-
HeadlineXXS: true,
|
|
18
|
-
ParagraphTextStyle: true,
|
|
19
|
-
ParagraphXL: true,
|
|
20
|
-
ParagraphL: true,
|
|
21
|
-
ParagraphM: true,
|
|
22
|
-
ParagraphS: true,
|
|
23
|
-
ParagraphXS: true,
|
|
24
|
-
ComponentTextStyle: true,
|
|
25
|
-
ComponentXL: true,
|
|
26
|
-
ComponentL: true,
|
|
27
|
-
ComponentM: true,
|
|
28
|
-
ComponentS: true,
|
|
29
|
-
ComponentXS: true,
|
|
30
|
-
ComponentXXS: true,
|
|
31
|
-
ComponentResponsive: true,
|
|
32
|
-
ComponentXLStyling: true,
|
|
33
|
-
ComponentLStyling: true,
|
|
34
|
-
ComponentMStyling: true,
|
|
35
|
-
ComponentSStyling: true,
|
|
36
|
-
ComponentXSStyling: true,
|
|
37
|
-
ComponentXXSStyling: true,
|
|
38
|
-
ParagraphXlStyling: true,
|
|
39
|
-
ParagraphLStyling: true,
|
|
40
|
-
ParagraphMStyling: true,
|
|
41
|
-
ParagraphSStyling: true,
|
|
42
|
-
ParagraphXSStyling: true,
|
|
43
|
-
HeadlineXLStyling: true,
|
|
44
|
-
HeadlineLStyling: true,
|
|
45
|
-
HeadlineMStyling: true,
|
|
46
|
-
HeadlineSStyling: true,
|
|
47
|
-
HeadlineXSStyling: true,
|
|
48
|
-
HeadlineXXSStyling: true,
|
|
49
12
|
globalStyles: true,
|
|
50
13
|
Z_INDEXES: true
|
|
51
14
|
};
|
|
@@ -67,228 +30,6 @@ Object.defineProperty(exports, "COLORS", {
|
|
|
67
30
|
return _colors.default;
|
|
68
31
|
}
|
|
69
32
|
});
|
|
70
|
-
Object.defineProperty(exports, "ComponentL", {
|
|
71
|
-
enumerable: true,
|
|
72
|
-
get: function get() {
|
|
73
|
-
return _typography.ComponentL;
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
Object.defineProperty(exports, "ComponentLStyling", {
|
|
77
|
-
enumerable: true,
|
|
78
|
-
get: function get() {
|
|
79
|
-
return _typography.ComponentLStyling;
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
Object.defineProperty(exports, "ComponentM", {
|
|
83
|
-
enumerable: true,
|
|
84
|
-
get: function get() {
|
|
85
|
-
return _typography.ComponentM;
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
Object.defineProperty(exports, "ComponentMStyling", {
|
|
89
|
-
enumerable: true,
|
|
90
|
-
get: function get() {
|
|
91
|
-
return _typography.ComponentMStyling;
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
Object.defineProperty(exports, "ComponentResponsive", {
|
|
95
|
-
enumerable: true,
|
|
96
|
-
get: function get() {
|
|
97
|
-
return _typography.ComponentResponsive;
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
Object.defineProperty(exports, "ComponentS", {
|
|
101
|
-
enumerable: true,
|
|
102
|
-
get: function get() {
|
|
103
|
-
return _typography.ComponentS;
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
Object.defineProperty(exports, "ComponentSStyling", {
|
|
107
|
-
enumerable: true,
|
|
108
|
-
get: function get() {
|
|
109
|
-
return _typography.ComponentSStyling;
|
|
110
|
-
}
|
|
111
|
-
});
|
|
112
|
-
Object.defineProperty(exports, "ComponentTextStyle", {
|
|
113
|
-
enumerable: true,
|
|
114
|
-
get: function get() {
|
|
115
|
-
return _typography.ComponentTextStyle;
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
Object.defineProperty(exports, "ComponentXL", {
|
|
119
|
-
enumerable: true,
|
|
120
|
-
get: function get() {
|
|
121
|
-
return _typography.ComponentXL;
|
|
122
|
-
}
|
|
123
|
-
});
|
|
124
|
-
Object.defineProperty(exports, "ComponentXLStyling", {
|
|
125
|
-
enumerable: true,
|
|
126
|
-
get: function get() {
|
|
127
|
-
return _typography.ComponentXLStyling;
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
Object.defineProperty(exports, "ComponentXS", {
|
|
131
|
-
enumerable: true,
|
|
132
|
-
get: function get() {
|
|
133
|
-
return _typography.ComponentXS;
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
Object.defineProperty(exports, "ComponentXSStyling", {
|
|
137
|
-
enumerable: true,
|
|
138
|
-
get: function get() {
|
|
139
|
-
return _typography.ComponentXSStyling;
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
Object.defineProperty(exports, "ComponentXXS", {
|
|
143
|
-
enumerable: true,
|
|
144
|
-
get: function get() {
|
|
145
|
-
return _typography.ComponentXXS;
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
Object.defineProperty(exports, "ComponentXXSStyling", {
|
|
149
|
-
enumerable: true,
|
|
150
|
-
get: function get() {
|
|
151
|
-
return _typography.ComponentXXSStyling;
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
Object.defineProperty(exports, "HeadlineL", {
|
|
155
|
-
enumerable: true,
|
|
156
|
-
get: function get() {
|
|
157
|
-
return _typography.HeadlineL;
|
|
158
|
-
}
|
|
159
|
-
});
|
|
160
|
-
Object.defineProperty(exports, "HeadlineLStyling", {
|
|
161
|
-
enumerable: true,
|
|
162
|
-
get: function get() {
|
|
163
|
-
return _typography.HeadlineLStyling;
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
Object.defineProperty(exports, "HeadlineM", {
|
|
167
|
-
enumerable: true,
|
|
168
|
-
get: function get() {
|
|
169
|
-
return _typography.HeadlineM;
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
Object.defineProperty(exports, "HeadlineMStyling", {
|
|
173
|
-
enumerable: true,
|
|
174
|
-
get: function get() {
|
|
175
|
-
return _typography.HeadlineMStyling;
|
|
176
|
-
}
|
|
177
|
-
});
|
|
178
|
-
Object.defineProperty(exports, "HeadlineS", {
|
|
179
|
-
enumerable: true,
|
|
180
|
-
get: function get() {
|
|
181
|
-
return _typography.HeadlineS;
|
|
182
|
-
}
|
|
183
|
-
});
|
|
184
|
-
Object.defineProperty(exports, "HeadlineSStyling", {
|
|
185
|
-
enumerable: true,
|
|
186
|
-
get: function get() {
|
|
187
|
-
return _typography.HeadlineSStyling;
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
Object.defineProperty(exports, "HeadlineXL", {
|
|
191
|
-
enumerable: true,
|
|
192
|
-
get: function get() {
|
|
193
|
-
return _typography.HeadlineXL;
|
|
194
|
-
}
|
|
195
|
-
});
|
|
196
|
-
Object.defineProperty(exports, "HeadlineXLStyling", {
|
|
197
|
-
enumerable: true,
|
|
198
|
-
get: function get() {
|
|
199
|
-
return _typography.HeadlineXLStyling;
|
|
200
|
-
}
|
|
201
|
-
});
|
|
202
|
-
Object.defineProperty(exports, "HeadlineXS", {
|
|
203
|
-
enumerable: true,
|
|
204
|
-
get: function get() {
|
|
205
|
-
return _typography.HeadlineXS;
|
|
206
|
-
}
|
|
207
|
-
});
|
|
208
|
-
Object.defineProperty(exports, "HeadlineXSStyling", {
|
|
209
|
-
enumerable: true,
|
|
210
|
-
get: function get() {
|
|
211
|
-
return _typography.HeadlineXSStyling;
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
Object.defineProperty(exports, "HeadlineXXS", {
|
|
215
|
-
enumerable: true,
|
|
216
|
-
get: function get() {
|
|
217
|
-
return _typography.HeadlineXXS;
|
|
218
|
-
}
|
|
219
|
-
});
|
|
220
|
-
Object.defineProperty(exports, "HeadlineXXSStyling", {
|
|
221
|
-
enumerable: true,
|
|
222
|
-
get: function get() {
|
|
223
|
-
return _typography.HeadlineXXSStyling;
|
|
224
|
-
}
|
|
225
|
-
});
|
|
226
|
-
Object.defineProperty(exports, "ParagraphL", {
|
|
227
|
-
enumerable: true,
|
|
228
|
-
get: function get() {
|
|
229
|
-
return _typography.ParagraphL;
|
|
230
|
-
}
|
|
231
|
-
});
|
|
232
|
-
Object.defineProperty(exports, "ParagraphLStyling", {
|
|
233
|
-
enumerable: true,
|
|
234
|
-
get: function get() {
|
|
235
|
-
return _typography.ParagraphLStyling;
|
|
236
|
-
}
|
|
237
|
-
});
|
|
238
|
-
Object.defineProperty(exports, "ParagraphM", {
|
|
239
|
-
enumerable: true,
|
|
240
|
-
get: function get() {
|
|
241
|
-
return _typography.ParagraphM;
|
|
242
|
-
}
|
|
243
|
-
});
|
|
244
|
-
Object.defineProperty(exports, "ParagraphMStyling", {
|
|
245
|
-
enumerable: true,
|
|
246
|
-
get: function get() {
|
|
247
|
-
return _typography.ParagraphMStyling;
|
|
248
|
-
}
|
|
249
|
-
});
|
|
250
|
-
Object.defineProperty(exports, "ParagraphS", {
|
|
251
|
-
enumerable: true,
|
|
252
|
-
get: function get() {
|
|
253
|
-
return _typography.ParagraphS;
|
|
254
|
-
}
|
|
255
|
-
});
|
|
256
|
-
Object.defineProperty(exports, "ParagraphSStyling", {
|
|
257
|
-
enumerable: true,
|
|
258
|
-
get: function get() {
|
|
259
|
-
return _typography.ParagraphSStyling;
|
|
260
|
-
}
|
|
261
|
-
});
|
|
262
|
-
Object.defineProperty(exports, "ParagraphTextStyle", {
|
|
263
|
-
enumerable: true,
|
|
264
|
-
get: function get() {
|
|
265
|
-
return _typography.ParagraphTextStyle;
|
|
266
|
-
}
|
|
267
|
-
});
|
|
268
|
-
Object.defineProperty(exports, "ParagraphXL", {
|
|
269
|
-
enumerable: true,
|
|
270
|
-
get: function get() {
|
|
271
|
-
return _typography.ParagraphXL;
|
|
272
|
-
}
|
|
273
|
-
});
|
|
274
|
-
Object.defineProperty(exports, "ParagraphXS", {
|
|
275
|
-
enumerable: true,
|
|
276
|
-
get: function get() {
|
|
277
|
-
return _typography.ParagraphXS;
|
|
278
|
-
}
|
|
279
|
-
});
|
|
280
|
-
Object.defineProperty(exports, "ParagraphXSStyling", {
|
|
281
|
-
enumerable: true,
|
|
282
|
-
get: function get() {
|
|
283
|
-
return _typography.ParagraphXSStyling;
|
|
284
|
-
}
|
|
285
|
-
});
|
|
286
|
-
Object.defineProperty(exports, "ParagraphXlStyling", {
|
|
287
|
-
enumerable: true,
|
|
288
|
-
get: function get() {
|
|
289
|
-
return _typography.ParagraphXlStyling;
|
|
290
|
-
}
|
|
291
|
-
});
|
|
292
33
|
Object.defineProperty(exports, "Z_INDEXES", {
|
|
293
34
|
enumerable: true,
|
|
294
35
|
get: function get() {
|
|
@@ -308,6 +49,17 @@ var _colors = _interopRequireDefault(require("./colors"));
|
|
|
308
49
|
var _breakpoints = _interopRequireDefault(require("./breakpoints"));
|
|
309
50
|
var _shadowstyles = require("./shadowstyles");
|
|
310
51
|
var _typography = require("./typography");
|
|
52
|
+
Object.keys(_typography).forEach(function (key) {
|
|
53
|
+
if (key === "default" || key === "__esModule") return;
|
|
54
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
55
|
+
if (key in exports && exports[key] === _typography[key]) return;
|
|
56
|
+
Object.defineProperty(exports, key, {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function get() {
|
|
59
|
+
return _typography[key];
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
});
|
|
311
63
|
var _global = _interopRequireDefault(require("./global"));
|
|
312
64
|
var _types = require("../types");
|
|
313
65
|
var _zIndexes = require("./z-indexes");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["scrollBarStyling","size","Size","Small","css","Medium","COLORS","neutral_100","neutral_500","primary_700","primary_800"],"sources":["../../src/styles/index.ts"],"sourcesContent":["import { css } from 'styled-components';\nimport COLORS from './colors';\nimport BREAKPOINTS from './breakpoints';\nimport { BOXSHADOWS } from './shadowstyles';\n\
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["scrollBarStyling","size","Size","Small","css","Medium","COLORS","neutral_100","neutral_500","primary_700","primary_800"],"sources":["../../src/styles/index.ts"],"sourcesContent":["import { css } from 'styled-components';\nimport COLORS from './colors';\nimport BREAKPOINTS from './breakpoints';\nimport { BOXSHADOWS } from './shadowstyles';\n\nexport * from './typography';\n\nimport globalStyles from './global';\nimport { Size } from '../types';\n\nexport { COLORS, BREAKPOINTS, BOXSHADOWS, globalStyles };\n\n\nexport const scrollBarStyling = (size: Size.Small | Size.Medium = Size.Small) => css`\n \n ::-webkit-scrollbar {\n width: ${size == Size.Medium ? '6px' : '4px'};\n height: ${size == Size.Medium ? '6px' : '4px'};\n cursor: pointer;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n background: ${COLORS.neutral_100};\n border-radius: 6px;\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n background: ${COLORS.neutral_500};\n border-radius: 4px;\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:hover {\n background: ${COLORS.primary_700};\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:active {\n background: ${COLORS.primary_800};\n }\n`;\n\nexport {Z_INDEXES} from './z-indexes'\n\nexport * from './focus-styles';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AAEA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AAEA;AACA;AAoCA;AAEA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AAA+B;AAjCxB,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgB;EAAA,IAAIC,IAA8B,uEAAGC,WAAI,CAACC,KAAK;EAAA,WAAKC,qBAAG,wjBAGvEH,IAAI,IAAIC,WAAI,CAACG,MAAM,GAAG,KAAK,GAAG,KAAK,EAClCJ,IAAI,IAAIC,WAAI,CAACG,MAAM,GAAG,KAAK,GAAG,KAAK,EAM/BC,eAAM,CAACC,WAAW,EAMlBD,eAAM,CAACE,WAAW,EAMlBF,eAAM,CAACG,WAAW,EAKlBH,eAAM,CAACI,WAAW;AAAA,CAEnC;AAAC"}
|
package/dist/styles/index.d.ts
CHANGED
|
@@ -1,21 +1,10 @@
|
|
|
1
1
|
import COLORS from './colors';
|
|
2
2
|
import BREAKPOINTS from './breakpoints';
|
|
3
3
|
import { BOXSHADOWS } from './shadowstyles';
|
|
4
|
-
|
|
5
|
-
import { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS } from './typography';
|
|
6
|
-
import { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive } from './typography';
|
|
7
|
-
import { ComponentXLStyling, ComponentLStyling, ComponentMStyling, ComponentSStyling, ComponentXSStyling, ComponentXXSStyling } from './typography';
|
|
8
|
-
import { ParagraphXlStyling, ParagraphLStyling, ParagraphMStyling, ParagraphSStyling, ParagraphXSStyling } from './typography';
|
|
9
|
-
import { HeadlineXLStyling, HeadlineLStyling, HeadlineMStyling, HeadlineSStyling, HeadlineXSStyling, HeadlineXXSStyling } from './typography';
|
|
4
|
+
export * from './typography';
|
|
10
5
|
import globalStyles from './global';
|
|
11
6
|
import { Size } from '../types';
|
|
12
7
|
export { COLORS, BREAKPOINTS, BOXSHADOWS, globalStyles };
|
|
13
|
-
export { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS };
|
|
14
|
-
export { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS };
|
|
15
|
-
export { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive };
|
|
16
|
-
export { ComponentXLStyling, ComponentLStyling, ComponentMStyling, ComponentSStyling, ComponentXSStyling, ComponentXXSStyling };
|
|
17
|
-
export { ParagraphXlStyling, ParagraphLStyling, ParagraphMStyling, ParagraphSStyling, ParagraphXSStyling };
|
|
18
|
-
export { HeadlineXLStyling, HeadlineLStyling, HeadlineMStyling, HeadlineSStyling, HeadlineXSStyling, HeadlineXXSStyling };
|
|
19
8
|
export declare const scrollBarStyling: (size?: Size.Small | Size.Medium) => import("styled-components").FlattenSimpleInterpolation;
|
|
20
9
|
export { Z_INDEXES } from './z-indexes';
|
|
21
10
|
export * from './focus-styles';
|
package/dist/styles/index.js
CHANGED
|
@@ -4,21 +4,10 @@ import { css } from 'styled-components';
|
|
|
4
4
|
import COLORS from './colors';
|
|
5
5
|
import BREAKPOINTS from './breakpoints';
|
|
6
6
|
import { BOXSHADOWS } from './shadowstyles';
|
|
7
|
-
|
|
8
|
-
import { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS } from './typography';
|
|
9
|
-
import { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive } from './typography';
|
|
10
|
-
import { ComponentXLStyling, ComponentLStyling, ComponentMStyling, ComponentSStyling, ComponentXSStyling, ComponentXXSStyling } from './typography';
|
|
11
|
-
import { ParagraphXlStyling, ParagraphLStyling, ParagraphMStyling, ParagraphSStyling, ParagraphXSStyling } from './typography';
|
|
12
|
-
import { HeadlineXLStyling, HeadlineLStyling, HeadlineMStyling, HeadlineSStyling, HeadlineXSStyling, HeadlineXXSStyling } from './typography';
|
|
7
|
+
export * from './typography';
|
|
13
8
|
import globalStyles from './global';
|
|
14
9
|
import { Size } from '../types';
|
|
15
10
|
export { COLORS, BREAKPOINTS, BOXSHADOWS, globalStyles };
|
|
16
|
-
export { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS };
|
|
17
|
-
export { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS };
|
|
18
|
-
export { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive };
|
|
19
|
-
export { ComponentXLStyling, ComponentLStyling, ComponentMStyling, ComponentSStyling, ComponentXSStyling, ComponentXXSStyling };
|
|
20
|
-
export { ParagraphXlStyling, ParagraphLStyling, ParagraphMStyling, ParagraphSStyling, ParagraphXSStyling };
|
|
21
|
-
export { HeadlineXLStyling, HeadlineLStyling, HeadlineMStyling, HeadlineSStyling, HeadlineXSStyling, HeadlineXXSStyling };
|
|
22
11
|
export var scrollBarStyling = function scrollBarStyling() {
|
|
23
12
|
var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Size.Small;
|
|
24
13
|
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n \n ::-webkit-scrollbar {\n width: ", ";\n height: ", ";\n cursor: pointer;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n background: ", ";\n border-radius: 6px;\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 4px;\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:hover {\n background: ", ";\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:active {\n background: ", ";\n }\n"])), size == Size.Medium ? '6px' : '4px', size == Size.Medium ? '6px' : '4px', COLORS.neutral_100, COLORS.neutral_500, COLORS.primary_700, COLORS.primary_800);
|
package/dist/styles/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["css","COLORS","BREAKPOINTS","BOXSHADOWS","
|
|
1
|
+
{"version":3,"file":"index.js","names":["css","COLORS","BREAKPOINTS","BOXSHADOWS","globalStyles","Size","scrollBarStyling","size","Small","Medium","neutral_100","neutral_500","primary_700","primary_800","Z_INDEXES"],"sources":["../../src/styles/index.ts"],"sourcesContent":["import { css } from 'styled-components';\nimport COLORS from './colors';\nimport BREAKPOINTS from './breakpoints';\nimport { BOXSHADOWS } from './shadowstyles';\n\nexport * from './typography';\n\nimport globalStyles from './global';\nimport { Size } from '../types';\n\nexport { COLORS, BREAKPOINTS, BOXSHADOWS, globalStyles };\n\n\nexport const scrollBarStyling = (size: Size.Small | Size.Medium = Size.Small) => css`\n \n ::-webkit-scrollbar {\n width: ${size == Size.Medium ? '6px' : '4px'};\n height: ${size == Size.Medium ? '6px' : '4px'};\n cursor: pointer;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n background: ${COLORS.neutral_100};\n border-radius: 6px;\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n background: ${COLORS.neutral_500};\n border-radius: 4px;\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:hover {\n background: ${COLORS.primary_700};\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:active {\n background: ${COLORS.primary_800};\n }\n`;\n\nexport {Z_INDEXES} from './z-indexes'\n\nexport * from './focus-styles';\n"],"mappings":";;AAAA,SAASA,GAAG,QAAQ,mBAAmB;AACvC,OAAOC,MAAM,MAAM,UAAU;AAC7B,OAAOC,WAAW,MAAM,eAAe;AACvC,SAASC,UAAU,QAAQ,gBAAgB;AAE3C,cAAe,cAAc;AAE7B,OAAOC,YAAY,MAAM,UAAU;AACnC,SAASC,IAAI,QAAQ,UAAU;AAE/B,SAASJ,MAAM,EAAEC,WAAW,EAAEC,UAAU,EAAEC,YAAY;AAGtD,OAAO,IAAME,gBAAgB,GAAG,SAAnBA,gBAAgB;EAAA,IAAIC,IAA8B,uEAAGF,IAAI,CAACG,KAAK;EAAA,OAAKR,GAAG,yiBAGvEO,IAAI,IAAIF,IAAI,CAACI,MAAM,GAAG,KAAK,GAAG,KAAK,EAClCF,IAAI,IAAIF,IAAI,CAACI,MAAM,GAAG,KAAK,GAAG,KAAK,EAM/BR,MAAM,CAACS,WAAW,EAMlBT,MAAM,CAACU,WAAW,EAMlBV,MAAM,CAACW,WAAW,EAKlBX,MAAM,CAACY,WAAW;AAAA,CAEnC;AAED,SAAQC,SAAS,QAAO,aAAa;AAErC,cAAc,gBAAgB"}
|