@royaloperahouse/harmonic 0.2.3-h → 0.2.3-j
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/components/Typography/utils.d.ts +3 -0
- package/dist/harmonic.cjs.development.css +290 -0
- package/dist/harmonic.cjs.development.js +84 -14
- package/dist/harmonic.cjs.development.js.map +1 -1
- package/dist/harmonic.cjs.production.min.js +1 -1
- package/dist/harmonic.cjs.production.min.js.map +1 -1
- package/dist/harmonic.esm.js +119 -54
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,3 +1,293 @@
|
|
|
1
|
+
/* Base classes */
|
|
2
|
+
.typography-module_display__ZHsz9 {
|
|
3
|
+
margin: 0;
|
|
4
|
+
font-family: var(--font-family-sans);
|
|
5
|
+
line-height: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.typography-module_header__FVsLI {
|
|
9
|
+
margin: 0;
|
|
10
|
+
font-family: var(--font-family-sans);
|
|
11
|
+
font-weight: 500;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.typography-module_subtitle__x3sSn {
|
|
15
|
+
margin: 0;
|
|
16
|
+
font-family: var(--font-family-sans);
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.typography-module_bodycopy__-BY2U {
|
|
21
|
+
margin: 0;
|
|
22
|
+
font-family: var(--font-family-sans);
|
|
23
|
+
font-weight: 400;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.typography-module_overline__y1yCC {
|
|
27
|
+
margin: 0;
|
|
28
|
+
font-family: var(--font-family-sans);
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
text-transform: uppercase;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.typography-module_buttontext__Gp0W- {
|
|
34
|
+
margin: 0;
|
|
35
|
+
font-family: var(--font-family-sans);
|
|
36
|
+
font-weight: 400;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.typography-module_captiontext__zyA-- {
|
|
40
|
+
margin: 0;
|
|
41
|
+
font-family: var(--font-family-sans);
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.typography-module_navigationtext__Qj6Zw {
|
|
46
|
+
margin: 0;
|
|
47
|
+
font-family: var(--font-family-sans);
|
|
48
|
+
font-weight: 500;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Size modifiers */
|
|
52
|
+
.typography-module_display--large__RwPQD {
|
|
53
|
+
font-size: 96px;
|
|
54
|
+
font-weight: 700;
|
|
55
|
+
letter-spacing: -5px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.typography-module_display--small__XWUSJ {
|
|
59
|
+
font-size: 68px;
|
|
60
|
+
font-weight: 500;
|
|
61
|
+
letter-spacing: -3px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.typography-module_header--large__2vP3p {
|
|
65
|
+
font-size: 44px;
|
|
66
|
+
line-height: 48px;
|
|
67
|
+
letter-spacing: -1.5px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.typography-module_header--medium__OgzlB {
|
|
71
|
+
font-size: 34px;
|
|
72
|
+
line-height: 40px;
|
|
73
|
+
letter-spacing: -1px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.typography-module_header--small__zLuFf {
|
|
77
|
+
font-size: 26px;
|
|
78
|
+
line-height: 32px;
|
|
79
|
+
letter-spacing: -0.5px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.typography-module_subtitle--large__1Ep9J {
|
|
83
|
+
font-size: 24px;
|
|
84
|
+
line-height: 32px;
|
|
85
|
+
letter-spacing: -0.5px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.typography-module_subtitle--medium__8FxeU {
|
|
89
|
+
font-size: 20px;
|
|
90
|
+
line-height: 28px;
|
|
91
|
+
letter-spacing: -0.5px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.typography-module_subtitle--small__Vt9bZ {
|
|
95
|
+
font-size: 17px;
|
|
96
|
+
line-height: 24px;
|
|
97
|
+
letter-spacing: -0.5px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.typography-module_bodycopy--large__BNzf2 {
|
|
101
|
+
font-size: 20px;
|
|
102
|
+
line-height: 28px;
|
|
103
|
+
letter-spacing: -0.5px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.typography-module_bodycopy--medium__cwJEu {
|
|
107
|
+
font-size: 17px;
|
|
108
|
+
line-height: 24px;
|
|
109
|
+
letter-spacing: -0.5px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.typography-module_bodycopy--small__fTLSM {
|
|
113
|
+
font-size: 15px;
|
|
114
|
+
line-height: 20px;
|
|
115
|
+
letter-spacing: -0.25px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.typography-module_overline--large__79WUM {
|
|
119
|
+
font-size: 17px;
|
|
120
|
+
line-height: 24px;
|
|
121
|
+
letter-spacing: 1.7px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.typography-module_overline--medium__Y5z3w {
|
|
125
|
+
font-size: 15px;
|
|
126
|
+
line-height: 20px;
|
|
127
|
+
letter-spacing: 1.5px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.typography-module_overline--small__MGEG6 {
|
|
131
|
+
font-size: 13px;
|
|
132
|
+
line-height: 16px;
|
|
133
|
+
letter-spacing: 1.3px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* Button, Caption, Navigation text */
|
|
137
|
+
.typography-module_buttontext__Gp0W- {
|
|
138
|
+
font-size: 17px;
|
|
139
|
+
line-height: 20px;
|
|
140
|
+
letter-spacing: -0.5px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.typography-module_captiontext__zyA-- {
|
|
144
|
+
font-size: 17px;
|
|
145
|
+
line-height: 24px;
|
|
146
|
+
letter-spacing: -0.5px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.typography-module_navigationtext__Qj6Zw {
|
|
150
|
+
font-size: 19px;
|
|
151
|
+
line-height: 19px;
|
|
152
|
+
letter-spacing: 0.4px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* Color modifiers */
|
|
156
|
+
.typography-module_display--primary__9sTwU,
|
|
157
|
+
.typography-module_header--primary__KF0PJ,
|
|
158
|
+
.typography-module_subtitle--primary__yL-hS,
|
|
159
|
+
.typography-module_bodycopy--primary__5Uo2D,
|
|
160
|
+
.typography-module_overline--primary__a2NSa,
|
|
161
|
+
.typography-module_buttontext--primary__HnmE3,
|
|
162
|
+
.typography-module_captiontext--primary__mmafI,
|
|
163
|
+
.typography-module_navigationtext--primary__vIsUl {
|
|
164
|
+
color: var(--color-primary);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
.typography-module_display--black__8hmsx,
|
|
169
|
+
.typography-module_header--black__M3I14,
|
|
170
|
+
.typography-module_subtitle--black__IQRSo,
|
|
171
|
+
.typography-module_bodycopy--black__J8BNP,
|
|
172
|
+
.typography-module_overline--black__RUDoj,
|
|
173
|
+
.typography-module_buttontext--black__irjmz,
|
|
174
|
+
.typography-module_captiontext--black__7axhP,
|
|
175
|
+
.typography-module_navigationtext--black__wDz-G {
|
|
176
|
+
color: var(--color-base-black);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.typography-module_display--white__3QA6W,
|
|
180
|
+
.typography-module_header--white__mm-ex,
|
|
181
|
+
.typography-module_subtitle--white__VzQ3K,
|
|
182
|
+
.typography-module_bodycopy--white__NJ8J8,
|
|
183
|
+
.typography-module_overline--white__cV5QV,
|
|
184
|
+
.typography-module_buttontext--white__rrr8U,
|
|
185
|
+
.typography-module_captiontext--white__OMFwW,
|
|
186
|
+
.typography-module_navigationtext--white__5YDdY {
|
|
187
|
+
color: var(--color-base-white);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.typography-module_display--red__khdLJ,
|
|
191
|
+
.typography-module_header--red__hxuj9,
|
|
192
|
+
.typography-module_subtitle--red__gSK7d,
|
|
193
|
+
.typography-module_bodycopy--red__P5Mau,
|
|
194
|
+
.typography-module_overline--red__OW5dE,
|
|
195
|
+
.typography-module_buttontext--red__mlRi2,
|
|
196
|
+
.typography-module_captiontext--red__jMQIK,
|
|
197
|
+
.typography-module_navigationtext--red__-QADV {
|
|
198
|
+
color: var(--color-primary-red);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.typography-module_display--grey__RsgTf,
|
|
202
|
+
.typography-module_header--grey__rC0vN,
|
|
203
|
+
.typography-module_subtitle--grey__1nkEx,
|
|
204
|
+
.typography-module_bodycopy--grey__SNnaU,
|
|
205
|
+
.typography-module_overline--grey__lGOsK,
|
|
206
|
+
.typography-module_buttontext--grey__1Y4oX,
|
|
207
|
+
.typography-module_captiontext--grey__V0MLc,
|
|
208
|
+
.typography-module_navigationtext--grey__xi3sz {
|
|
209
|
+
color: var(--color-base-dark-grey);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.typography-module_display--inherit__ZNOHM,
|
|
213
|
+
.typography-module_header--inherit__qmHQE,
|
|
214
|
+
.typography-module_subtitle--inherit__mly-X,
|
|
215
|
+
.typography-module_bodycopy--inherit__CoC-f,
|
|
216
|
+
.typography-module_overline--inherit__Cq4ni,
|
|
217
|
+
.typography-module_buttontext--inherit__vguWx,
|
|
218
|
+
.typography-module_captiontext--inherit__ya6gm,
|
|
219
|
+
.typography-module_navigationtext--inherit__cJLWf {
|
|
220
|
+
color: inherit;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/* Typography variants */
|
|
224
|
+
.typography-module_display--serif__C0-Ve,
|
|
225
|
+
.typography-module_header--serif__uTGCc {
|
|
226
|
+
font-family: var(--font-family-serif);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.typography-module_display--em__h2bPV,
|
|
230
|
+
.typography-module_header--em__UFQIA {
|
|
231
|
+
font-family: var(--font-family-serif);
|
|
232
|
+
font-style: italic;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.typography-module_display--bold__PG-8g,
|
|
236
|
+
.typography-module_header--bold__InvJk,
|
|
237
|
+
.typography-module_subtitle--bold__Subov,
|
|
238
|
+
.typography-module_bodycopy--bold__nZX3C,
|
|
239
|
+
.typography-module_overline--bold__3mUXy,
|
|
240
|
+
.typography-module_buttontext--bold__rBKIJ,
|
|
241
|
+
.typography-module_captiontext--bold__ebTyV,
|
|
242
|
+
.typography-module_navigationtext--bold__SRlV2 {
|
|
243
|
+
font-weight: 700;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/* Media queries */
|
|
247
|
+
@media (max-width: 699px) {
|
|
248
|
+
.typography-module_display--large__RwPQD {
|
|
249
|
+
font-size: 38px;
|
|
250
|
+
letter-spacing: -1.5px;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.typography-module_display--small__XWUSJ {
|
|
254
|
+
font-size: 32px;
|
|
255
|
+
letter-spacing: -1.5px;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.typography-module_header--large__2vP3p {
|
|
259
|
+
font-size: 28px;
|
|
260
|
+
line-height: 34px;
|
|
261
|
+
letter-spacing: -1.5px;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.typography-module_header--medium__OgzlB {
|
|
265
|
+
font-size: 24px;
|
|
266
|
+
line-height: 28px;
|
|
267
|
+
letter-spacing: -1px;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.typography-module_header--small__zLuFf {
|
|
271
|
+
font-size: 20px;
|
|
272
|
+
line-height: 26px;
|
|
273
|
+
letter-spacing: -0.75px;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.typography-module_subtitle--large__1Ep9J {
|
|
277
|
+
font-size: 20px;
|
|
278
|
+
line-height: 28px;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.typography-module_subtitle--medium__8FxeU {
|
|
282
|
+
font-size: 17px;
|
|
283
|
+
line-height: 24px;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.typography-module_bodycopy--large__BNzf2 {
|
|
287
|
+
font-size: 17px;
|
|
288
|
+
line-height: 24px;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
1
291
|
@font-face {
|
|
2
292
|
font-family: 'GreyLLTT';
|
|
3
293
|
src: url('https://static.roh.org.uk/fonts/harmonic/GreyLLTT-Regular.woff2') format('woff2');
|
|
@@ -365,16 +365,39 @@ function _taggedTemplateLiteralLoose(e, t) {
|
|
|
365
365
|
}
|
|
366
366
|
|
|
367
367
|
// Utility function for creating className strings
|
|
368
|
-
var createClassNames = function createClassNames(baseClass, options) {
|
|
369
|
-
var
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
368
|
+
var createClassNames = function createClassNames(baseClass, options, styles) {
|
|
369
|
+
var classes = [];
|
|
370
|
+
// Base class
|
|
371
|
+
if (styles[baseClass]) {
|
|
372
|
+
classes.push(styles[baseClass]);
|
|
373
|
+
}
|
|
374
|
+
// Size modifier
|
|
375
|
+
if (options.size && styles[baseClass + "--" + options.size]) {
|
|
376
|
+
classes.push(styles[baseClass + "--" + options.size]);
|
|
377
|
+
}
|
|
378
|
+
// Color modifier
|
|
379
|
+
if (options.color && styles[baseClass + "--" + options.color]) {
|
|
380
|
+
classes.push(styles[baseClass + "--" + options.color]);
|
|
381
|
+
}
|
|
382
|
+
// Typography variants
|
|
383
|
+
if (options.serif && styles[baseClass + "--serif"]) {
|
|
384
|
+
classes.push(styles[baseClass + "--serif"]);
|
|
385
|
+
}
|
|
386
|
+
if (options.em && styles[baseClass + "--em"]) {
|
|
387
|
+
classes.push(styles[baseClass + "--em"]);
|
|
388
|
+
}
|
|
389
|
+
if (options.bold && styles[baseClass + "--bold"]) {
|
|
390
|
+
classes.push(styles[baseClass + "--bold"]);
|
|
391
|
+
}
|
|
392
|
+
// External className (not from CSS modules)
|
|
393
|
+
if (options.className) {
|
|
394
|
+
classes.push(options.className);
|
|
395
|
+
}
|
|
396
|
+
return classes.filter(Boolean).join(' ');
|
|
376
397
|
};
|
|
377
398
|
|
|
399
|
+
var styles = {"display":"typography-module_display__ZHsz9","header":"typography-module_header__FVsLI","subtitle":"typography-module_subtitle__x3sSn","bodycopy":"typography-module_bodycopy__-BY2U","overline":"typography-module_overline__y1yCC","buttontext":"typography-module_buttontext__Gp0W-","captiontext":"typography-module_captiontext__zyA--","navigationtext":"typography-module_navigationtext__Qj6Zw","display--large":"typography-module_display--large__RwPQD","display--small":"typography-module_display--small__XWUSJ","header--large":"typography-module_header--large__2vP3p","header--medium":"typography-module_header--medium__OgzlB","header--small":"typography-module_header--small__zLuFf","subtitle--large":"typography-module_subtitle--large__1Ep9J","subtitle--medium":"typography-module_subtitle--medium__8FxeU","subtitle--small":"typography-module_subtitle--small__Vt9bZ","bodycopy--large":"typography-module_bodycopy--large__BNzf2","bodycopy--medium":"typography-module_bodycopy--medium__cwJEu","bodycopy--small":"typography-module_bodycopy--small__fTLSM","overline--large":"typography-module_overline--large__79WUM","overline--medium":"typography-module_overline--medium__Y5z3w","overline--small":"typography-module_overline--small__MGEG6","display--primary":"typography-module_display--primary__9sTwU","header--primary":"typography-module_header--primary__KF0PJ","subtitle--primary":"typography-module_subtitle--primary__yL-hS","bodycopy--primary":"typography-module_bodycopy--primary__5Uo2D","overline--primary":"typography-module_overline--primary__a2NSa","buttontext--primary":"typography-module_buttontext--primary__HnmE3","captiontext--primary":"typography-module_captiontext--primary__mmafI","navigationtext--primary":"typography-module_navigationtext--primary__vIsUl","display--black":"typography-module_display--black__8hmsx","header--black":"typography-module_header--black__M3I14","subtitle--black":"typography-module_subtitle--black__IQRSo","bodycopy--black":"typography-module_bodycopy--black__J8BNP","overline--black":"typography-module_overline--black__RUDoj","buttontext--black":"typography-module_buttontext--black__irjmz","captiontext--black":"typography-module_captiontext--black__7axhP","navigationtext--black":"typography-module_navigationtext--black__wDz-G","display--white":"typography-module_display--white__3QA6W","header--white":"typography-module_header--white__mm-ex","subtitle--white":"typography-module_subtitle--white__VzQ3K","bodycopy--white":"typography-module_bodycopy--white__NJ8J8","overline--white":"typography-module_overline--white__cV5QV","buttontext--white":"typography-module_buttontext--white__rrr8U","captiontext--white":"typography-module_captiontext--white__OMFwW","navigationtext--white":"typography-module_navigationtext--white__5YDdY","display--red":"typography-module_display--red__khdLJ","header--red":"typography-module_header--red__hxuj9","subtitle--red":"typography-module_subtitle--red__gSK7d","bodycopy--red":"typography-module_bodycopy--red__P5Mau","overline--red":"typography-module_overline--red__OW5dE","buttontext--red":"typography-module_buttontext--red__mlRi2","captiontext--red":"typography-module_captiontext--red__jMQIK","navigationtext--red":"typography-module_navigationtext--red__-QADV","display--grey":"typography-module_display--grey__RsgTf","header--grey":"typography-module_header--grey__rC0vN","subtitle--grey":"typography-module_subtitle--grey__1nkEx","bodycopy--grey":"typography-module_bodycopy--grey__SNnaU","overline--grey":"typography-module_overline--grey__lGOsK","buttontext--grey":"typography-module_buttontext--grey__1Y4oX","captiontext--grey":"typography-module_captiontext--grey__V0MLc","navigationtext--grey":"typography-module_navigationtext--grey__xi3sz","display--inherit":"typography-module_display--inherit__ZNOHM","header--inherit":"typography-module_header--inherit__qmHQE","subtitle--inherit":"typography-module_subtitle--inherit__mly-X","bodycopy--inherit":"typography-module_bodycopy--inherit__CoC-f","overline--inherit":"typography-module_overline--inherit__Cq4ni","buttontext--inherit":"typography-module_buttontext--inherit__vguWx","captiontext--inherit":"typography-module_captiontext--inherit__ya6gm","navigationtext--inherit":"typography-module_navigationtext--inherit__cJLWf","display--serif":"typography-module_display--serif__C0-Ve","header--serif":"typography-module_header--serif__uTGCc","display--em":"typography-module_display--em__h2bPV","header--em":"typography-module_header--em__UFQIA","display--bold":"typography-module_display--bold__PG-8g","header--bold":"typography-module_header--bold__InvJk","subtitle--bold":"typography-module_subtitle--bold__Subov","bodycopy--bold":"typography-module_bodycopy--bold__nZX3C","overline--bold":"typography-module_overline--bold__3mUXy","buttontext--bold":"typography-module_buttontext--bold__rBKIJ","captiontext--bold":"typography-module_captiontext--bold__ebTyV","navigationtext--bold":"typography-module_navigationtext--bold__SRlV2"};
|
|
400
|
+
|
|
378
401
|
var _excluded = ["children", "size", "color", "className"],
|
|
379
402
|
_excluded2 = ["children", "size", "color", "className"];
|
|
380
403
|
/* ~~~ Headers - size and hierarchy set separately ~~~ */
|
|
@@ -393,7 +416,7 @@ var HarmonicHeader = function HarmonicHeader(_ref2) {
|
|
|
393
416
|
serif: serif,
|
|
394
417
|
em: em,
|
|
395
418
|
className: className
|
|
396
|
-
});
|
|
419
|
+
}, styles);
|
|
397
420
|
return /*#__PURE__*/React__default.createElement(Tag, {
|
|
398
421
|
className: classNames
|
|
399
422
|
}, children);
|
|
@@ -409,7 +432,7 @@ var HarmonicSubtitle = function HarmonicSubtitle(_ref3) {
|
|
|
409
432
|
size: size,
|
|
410
433
|
color: color,
|
|
411
434
|
className: className
|
|
412
|
-
});
|
|
435
|
+
}, styles);
|
|
413
436
|
return /*#__PURE__*/React__default.createElement("p", {
|
|
414
437
|
className: classNames
|
|
415
438
|
}, children);
|
|
@@ -427,7 +450,7 @@ var BodyCopyHarmonic = function BodyCopyHarmonic(_ref4) {
|
|
|
427
450
|
size: size,
|
|
428
451
|
color: color,
|
|
429
452
|
className: className
|
|
430
|
-
});
|
|
453
|
+
}, styles);
|
|
431
454
|
return /*#__PURE__*/React__default.createElement("p", Object.assign({
|
|
432
455
|
className: classNames
|
|
433
456
|
}, props), children);
|
|
@@ -444,11 +467,51 @@ var HarmonicOverline = function HarmonicOverline(_ref5) {
|
|
|
444
467
|
size: size,
|
|
445
468
|
color: color,
|
|
446
469
|
className: className
|
|
447
|
-
});
|
|
470
|
+
}, styles);
|
|
448
471
|
return /*#__PURE__*/React__default.createElement("p", Object.assign({
|
|
449
472
|
className: classNames
|
|
450
473
|
}, props), children);
|
|
451
474
|
};
|
|
475
|
+
/* ~~~ Other - (might relocate these) ~~~ */
|
|
476
|
+
var ButtonText = function ButtonText(_ref6) {
|
|
477
|
+
var children = _ref6.children,
|
|
478
|
+
_ref6$color = _ref6.color,
|
|
479
|
+
color = _ref6$color === void 0 ? 'primary' : _ref6$color,
|
|
480
|
+
className = _ref6.className;
|
|
481
|
+
var classNames = createClassNames('buttontext', {
|
|
482
|
+
color: color,
|
|
483
|
+
className: className
|
|
484
|
+
}, styles);
|
|
485
|
+
return /*#__PURE__*/React__default.createElement("p", {
|
|
486
|
+
className: classNames
|
|
487
|
+
}, children);
|
|
488
|
+
};
|
|
489
|
+
var Caption = function Caption(_ref7) {
|
|
490
|
+
var children = _ref7.children,
|
|
491
|
+
_ref7$color = _ref7.color,
|
|
492
|
+
color = _ref7$color === void 0 ? 'primary' : _ref7$color,
|
|
493
|
+
className = _ref7.className;
|
|
494
|
+
var classNames = createClassNames('captiontext', {
|
|
495
|
+
color: color,
|
|
496
|
+
className: className
|
|
497
|
+
}, styles);
|
|
498
|
+
return /*#__PURE__*/React__default.createElement("p", {
|
|
499
|
+
className: classNames
|
|
500
|
+
}, children);
|
|
501
|
+
};
|
|
502
|
+
var NavigationText = function NavigationText(_ref8) {
|
|
503
|
+
var children = _ref8.children,
|
|
504
|
+
_ref8$color = _ref8.color,
|
|
505
|
+
color = _ref8$color === void 0 ? 'primary' : _ref8$color,
|
|
506
|
+
className = _ref8.className;
|
|
507
|
+
var classNames = createClassNames('navigationtext', {
|
|
508
|
+
color: color,
|
|
509
|
+
className: className
|
|
510
|
+
}, styles);
|
|
511
|
+
return /*#__PURE__*/React__default.createElement("p", {
|
|
512
|
+
className: classNames
|
|
513
|
+
}, children);
|
|
514
|
+
};
|
|
452
515
|
|
|
453
516
|
// eslint-disable-next-line no-shadow
|
|
454
517
|
(function (Colors) {
|
|
@@ -10177,8 +10240,8 @@ var PromoWithTitleContentWrapper = /*#__PURE__*/styled__default.div(_templateObj
|
|
|
10177
10240
|
var imageToLeft = _ref4.imageToLeft;
|
|
10178
10241
|
return imageToLeft ? 'right' : 'left';
|
|
10179
10242
|
}, devices.mobile);
|
|
10180
|
-
var HarmonicHeaderWithWrapper = /*#__PURE__*/styled__default(HarmonicHeader)(_templateObject4$A || (_templateObject4$A = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n
|
|
10181
|
-
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled__default(HarmonicSubtitle)(_templateObject5$t || (_templateObject5$t = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n
|
|
10243
|
+
var HarmonicHeaderWithWrapper = /*#__PURE__*/styled__default(HarmonicHeader)(_templateObject4$A || (_templateObject4$A = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-bottom: 32px;\n\n @media ", " {\n padding-bottom: 24px;\n }\n"])), devices.mobile);
|
|
10244
|
+
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled__default(HarmonicSubtitle)(_templateObject5$t || (_templateObject5$t = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
|
|
10182
10245
|
var BodyCopyHarmonicWithWrapper$1 = /*#__PURE__*/styled__default(BodyCopyHarmonic)(_templateObject6$n || (_templateObject6$n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0;\n margin: 0;\n margin-bottom: 32px;\n whiete-space: break-spaces;\n overflow-wrap: break-word;\n\n a {\n text-decoration: underline;\n cursor: pointer;\n\n &[href^='tel:'] {\n text-decoration: none;\n }\n\n &:link {\n color: var(--color-primary-black);\n }\n\n &:visited {\n color: var(--color-base-dark-grey);\n }\n\n &:hover {\n color: var(--color-primary-red);\n }\n }\n @media ", " {\n margin-bottom: 24px;\n }\n"])), devices.mobile);
|
|
10183
10246
|
var ButtonsContainer$3 = /*#__PURE__*/styled__default.div(_templateObject7$i || (_templateObject7$i = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n gap: 16px;\n margin-top: 32px;\n\n ", "\n\n @media ", " {\n gap: 24px;\n margin-top: 24px;\n flex-direction: column;\n align-items: center;\n }\n\n @media ", " {\n gap: 24px;\n margin-top: 24px;\n align-items: flex-start;\n\n ", "\n }\n"])), function (_ref5) {
|
|
10184
10247
|
var _ref5$primaryButtonTe = _ref5.primaryButtonTextLength,
|
|
@@ -13459,7 +13522,10 @@ exports.AnchorTabBar = AnchorTabBar;
|
|
|
13459
13522
|
exports.AnnouncementBanner = AnnouncementBanner;
|
|
13460
13523
|
exports.AuxiliaryButton = AuxiliaryButton;
|
|
13461
13524
|
exports.AuxiliaryNav = AuxiliaryNav;
|
|
13525
|
+
exports.BodyCopyHarmonic = BodyCopyHarmonic;
|
|
13462
13526
|
exports.BodyText = BodyText;
|
|
13527
|
+
exports.ButtonText = ButtonText;
|
|
13528
|
+
exports.Caption = Caption;
|
|
13463
13529
|
exports.Card = Card;
|
|
13464
13530
|
exports.Cards = Cards;
|
|
13465
13531
|
exports.Carousel = Carousel;
|
|
@@ -13473,7 +13539,10 @@ exports.Footer = Footer;
|
|
|
13473
13539
|
exports.GlobalStyles = GlobalStyles;
|
|
13474
13540
|
exports.Grid = Grid;
|
|
13475
13541
|
exports.GridItem = GridItem;
|
|
13542
|
+
exports.HarmonicHeader = HarmonicHeader;
|
|
13543
|
+
exports.HarmonicOverline = HarmonicOverline;
|
|
13476
13544
|
exports.HarmonicSize = HarmonicSize;
|
|
13545
|
+
exports.HarmonicSubtitle = HarmonicSubtitle;
|
|
13477
13546
|
exports.HarmonicThemeProvider = HarmonicThemeProvider;
|
|
13478
13547
|
exports.Header = Header;
|
|
13479
13548
|
exports.HighlightsCarousel = HighlightsCarousel;
|
|
@@ -13488,6 +13557,7 @@ exports.MiniCard = MiniCard;
|
|
|
13488
13557
|
exports.MinimalCarousel = MinimalCarousel;
|
|
13489
13558
|
exports.ModalWindow = ModalWindow;
|
|
13490
13559
|
exports.Navigation = Navigation;
|
|
13560
|
+
exports.NavigationText = NavigationText;
|
|
13491
13561
|
exports.Overline = Overline;
|
|
13492
13562
|
exports.PageHeadingCinema = PageHeadingCinema;
|
|
13493
13563
|
exports.PageHeadingCompact = PageHeadingCompact;
|