@royaloperahouse/harmonic 0.1.0 → 0.1.1-b-test

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.
Files changed (81) hide show
  1. package/CHANGELOG.md +607 -0
  2. package/README.md +8 -0
  3. package/dist/components/Typography/AltHeaders/AltHeaders.d.ts +4 -0
  4. package/dist/components/Typography/TextLink/TextLink.d.ts +5 -0
  5. package/dist/components/Typography/Typography.d.ts +11 -0
  6. package/dist/components/Typography/index.d.ts +3 -0
  7. package/dist/components/atoms/Account/Account.d.ts +2 -1
  8. package/dist/components/atoms/Buttons/Auxiliary/AuxiliaryButton.style.d.ts +0 -1
  9. package/dist/components/atoms/Buttons/Primary/PrimaryButtonWrapper.style.d.ts +0 -1
  10. package/dist/components/atoms/Buttons/Secondary/SecondaryButtonWrapper.style.d.ts +0 -1
  11. package/dist/components/atoms/Dropdown/Dropdown.d.ts +2 -1
  12. package/dist/components/atoms/Icons/StorybookSupport/Iconography.d.ts +2 -1
  13. package/dist/components/atoms/Icons/SvgIcons/index.d.ts +0 -1
  14. package/dist/components/atoms/Logo/Logo.d.ts +2 -1
  15. package/dist/components/atoms/Radio/Radio.d.ts +2 -1
  16. package/dist/components/atoms/Radio2/Radio2.d.ts +0 -19
  17. package/dist/components/atoms/RotatorButtons/RotatorButtons.d.ts +2 -1
  18. package/dist/components/atoms/Search/Search.d.ts +2 -1
  19. package/dist/components/atoms/SectionSplitter/SectionSplitter.d.ts +2 -1
  20. package/dist/components/atoms/Stepper/Stepper.d.ts +2 -2
  21. package/dist/components/atoms/Tab/Tab.d.ts +2 -1
  22. package/dist/components/atoms/TextArea/TextArea.d.ts +5 -4
  23. package/dist/components/atoms/TextField/TextField.d.ts +0 -38
  24. package/dist/components/atoms/TextField/TextFieldLegacy.d.ts +3 -2
  25. package/dist/components/atoms/Tickbox2/Tickbox2.d.ts +0 -19
  26. package/dist/components/atoms/TypeTags/TypeTags.d.ts +2 -1
  27. package/dist/components/atoms/Typography/Typography.d.ts +8 -6
  28. package/dist/components/atoms/VideoControls/VideoControls.style.d.ts +2 -2
  29. package/dist/components/index.d.ts +3 -0
  30. package/dist/components/molecules/Basket/Basket.d.ts +2 -1
  31. package/dist/components/molecules/Cards/Cards.d.ts +2 -1
  32. package/dist/components/molecules/ContentSummary/ContentSummary.d.ts +2 -1
  33. package/dist/components/molecules/ContentSummary/ContentSummary.style.d.ts +1 -1
  34. package/dist/components/molecules/Information/InfoCta.d.ts +2 -2
  35. package/dist/components/molecules/Information/Information.style.d.ts +6 -3
  36. package/dist/components/molecules/NavTop/NavTop.d.ts +2 -1
  37. package/dist/components/molecules/PageHeading/Compact/Compact.style.d.ts +3 -4
  38. package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.d.ts +5 -1
  39. package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +3 -1
  40. package/dist/components/molecules/PeopleListing/PeopleListing.d.ts +2 -1
  41. package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +1 -0
  42. package/dist/components/molecules/PromoWithTags/PromoWithTags.style.d.ts +2 -3
  43. package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +2 -1
  44. package/dist/components/molecules/SearchBar/SearchBar.d.ts +2 -1
  45. package/dist/components/molecules/SectionTitle/SectionTitle.d.ts +2 -1
  46. package/dist/components/molecules/Select/Select.d.ts +2 -1
  47. package/dist/components/molecules/Select/Select.style.d.ts +0 -1
  48. package/dist/components/molecules/Select2/Select2.d.ts +2 -2
  49. package/dist/components/molecules/Tabs/Tabs.d.ts +2 -1
  50. package/dist/components/molecules/UpsellCard/OfferText.d.ts +2 -1
  51. package/dist/components/molecules/UpsellCard/UpsellCard.style.d.ts +2 -2
  52. package/dist/components/organisms/Navigation/Navigation.d.ts +2 -1
  53. package/dist/components/organisms/TitleWithCTA/TitleWithCTA.style.d.ts +0 -1
  54. package/dist/harmonic.cjs.development.css +320 -0
  55. package/dist/harmonic.cjs.development.js +2502 -3394
  56. package/dist/harmonic.cjs.development.js.map +1 -1
  57. package/dist/harmonic.cjs.production.min.js +1 -1
  58. package/dist/harmonic.cjs.production.min.js.map +1 -1
  59. package/dist/harmonic.esm.js +2534 -3397
  60. package/dist/harmonic.esm.js.map +1 -1
  61. package/dist/helpers/arrays.d.ts +2 -6
  62. package/dist/index.d.ts +2 -2
  63. package/dist/styles/ThemeProvider.d.ts +2 -1
  64. package/dist/types/auxiliaryNav.d.ts +15 -15
  65. package/dist/types/buttonTypes.d.ts +2 -2
  66. package/dist/types/card.d.ts +3 -1
  67. package/dist/types/contactCard.d.ts +4 -1
  68. package/dist/types/creditListing.d.ts +1 -0
  69. package/dist/types/editorial.d.ts +4 -1
  70. package/dist/types/formTypes.d.ts +1 -1
  71. package/dist/types/image.d.ts +4 -1
  72. package/dist/types/impactHeader.d.ts +18 -18
  73. package/dist/types/index.d.ts +2 -1
  74. package/dist/types/information.d.ts +19 -13
  75. package/dist/types/navigation.d.ts +3 -4
  76. package/dist/types/quote.d.ts +3 -1
  77. package/dist/types/tableTypes.d.ts +2 -1
  78. package/dist/types/types.d.ts +36 -22
  79. package/dist/types/typography.d.ts +33 -3
  80. package/dist/types/upsell.d.ts +1 -2
  81. package/package.json +68 -47
@@ -0,0 +1,320 @@
1
+ /* TEMPORARY CSS FILE - will relocate when CSS module issue is fixed */
2
+
3
+ :root {
4
+ --font-family-sans: 'Grey LL Bold', 'Roboto', sans-serif;
5
+ --font-family-serif: 'Victor Serif Medium', 'Inria Serif Regular', serif;
6
+ --harmonic-red: #F40B0B;
7
+ --harmonic-black: #000000;
8
+ --text-link-underline-offset: 4px;
9
+ }
10
+
11
+ /* ~~~~~ Color Classes ~~~~~ */
12
+ .styles_color-black__a05Fo {
13
+ color: var(--harmonic-black);
14
+ }
15
+
16
+ .styles_color-red__zwTZW {
17
+ color: var(--harmonic-red)
18
+ }
19
+
20
+
21
+ /* ~~~~~ Mobile ~~~~~ */
22
+
23
+ @media (max-width: 600px) {
24
+
25
+ /* ~~~ Letter Spacing - Mobile ~~~ */
26
+ .styles_display__VgnTB.styles_large__vqVxY, .styles_display__VgnTB.styles_small__e7YDe {
27
+ letter-spacing: -1.5px;
28
+ }
29
+
30
+ .styles_header-small__W-GSS {
31
+ letter-spacing: -0.75px;
32
+ }
33
+
34
+ .styles_display__VgnTB.styles_large__vqVxY.styles_serif__b-ZjM, .styles_display__VgnTB.styles_large__vqVxY.styles_em__v4FoO, .styles_display__VgnTB.styles_small__e7YDe.styles_serif__b-ZjM, .styles_display__VgnTB.styles_small__e7YDe.styles_em__v4FoO, .styles_header__UDH-H.styles_small__e7YDe.styles_serif__b-ZjM, .styles_header__UDH-H.styles_small__e7YDe.styles_em__v4FoO, .styles_captiontext__-TA6x {
35
+ letter-spacing: -0.5px;
36
+ }
37
+
38
+ .styles_subtitle__os3DH.styles_small__e7YDe, .styles_bodycopy__uEx9r.styles_medium__WQPZj, .styles_bodycopy__uEx9r.styles_small__e7YDe {
39
+ letter-spacing: -0.2px;
40
+ }
41
+
42
+ .styles_overline__5xGDa.styles_small__e7YDe {
43
+ letter-spacing: -0.3px;
44
+ }
45
+
46
+ /* Display */
47
+ .styles_display__VgnTB.styles_large__vqVxY {
48
+ font-size: 38px;
49
+ }
50
+
51
+ .styles_display__VgnTB.styles_small__e7YDe {
52
+ font-size: 32px;
53
+ }
54
+
55
+ /* Header */
56
+ .styles_header__UDH-H.styles_large__vqVxY {
57
+ font-size: 28px;
58
+ line-height: 34px;
59
+ }
60
+
61
+ .styles_header__UDH-H.styles_medium__WQPZj {
62
+ font-size: 24px;
63
+ line-height: 28px;
64
+ }
65
+
66
+ .styles_header__UDH-H.styles_small__e7YDe {
67
+ font-size: 20px;
68
+ line-height: 26px;
69
+ }
70
+
71
+ /* Subtitle */
72
+ .styles_subtitle__os3DH.styles_large__vqVxY {
73
+ font-size: 17px;
74
+ line-height: 24px;
75
+ }
76
+
77
+ .styles_subtitle__os3DH.styles_small__e7YDe {
78
+ font-size: 14px;
79
+ line-height: 20px;
80
+ }
81
+
82
+ /* Body Copy */
83
+ .styles_bodycopy__uEx9r.styles_large__vqVxY {
84
+ font-size: 17px;
85
+ line-height: 24px;
86
+ }
87
+
88
+ .styles_bodycopy__uEx9r.styles_medium__WQPZj {
89
+ font-size: 14px;
90
+ line-height: 20px;
91
+ }
92
+
93
+ .styles_bodycopy__uEx9r.styles_small__e7YDe {
94
+ font-size: 11px;
95
+ line-height: 16px;
96
+ }
97
+
98
+ /* Overline */
99
+ .styles_overline__5xGDa.styles_large__vqVxY {
100
+ font-size: 14px;
101
+ line-height: 17px;
102
+ }
103
+
104
+ .styles_overline__5xGDa.styles_small__e7YDe {
105
+ font-size: 12px;
106
+ line-height: 14px;
107
+ }
108
+
109
+ /* Caption */
110
+ .styles_captiontext__-TA6x {
111
+ font-size: 14px;
112
+ line-height: 17px;
113
+ }
114
+
115
+ /* Navigation Text */
116
+ .styles_navigationtext__qnnIo {
117
+ font-size: 14px;
118
+ line-height: 17px;
119
+ }
120
+
121
+ /* Text Link */
122
+ .styles_textlinkharmonic__S77lE {
123
+ font-size: 14px;
124
+ line-height: 14px;
125
+ }
126
+ }
127
+
128
+
129
+ /* ~~~~~ Desktop ~~~~~~*/
130
+
131
+ /* ~~~ Letter Spacing - Desktop ~~~ */
132
+ .styles_display__VgnTB.styles_large__vqVxY {
133
+ letter-spacing: -5px;
134
+ }
135
+
136
+ .styles_header__UDH-H.styles_large__vqVxY {
137
+ letter-spacing: -1.5px;
138
+ }
139
+
140
+ .styles_header__UDH-H.styles_medium__WQPZj {
141
+ letter-spacing: -1.5px;
142
+ }
143
+
144
+ .styles_display__VgnTB.styles_large__vqVxY.styles_serif__b-ZjM, .styles_display__VgnTB.styles_large__vqVxY.styles_em__v4FoO, .styles_display__VgnTB.styles_small__e7YDe {
145
+ letter-spacing: -3px;
146
+ }
147
+
148
+ .styles_display__VgnTB.styles_small__e7YDe.styles_serif__b-ZjM, .styles_display__VgnTB.styles_small__e7YDe.styles_em__v4FoO {
149
+ letter-spacing: -2px;
150
+ }
151
+
152
+ .styles_header__UDH-H.styles_large__vqVxY.styles_serif__b-ZjM, .styles_header__UDH-H.styles_large__vqVxY.styles_em__v4FoO, .styles_header__UDH-H.styles_medium__WQPZj.styles_serif__b-ZjM, .styles_header__UDH-H.styles_medium__WQPZj.styles_em__v4FoO, .styles_header__UDH-H.styles_small__e7YDe, .styles_header__UDH-H.styles_small__e7YDe.styles_serif__b-ZjM, .styles_header__UDH-H.styles_small__e7YDe.styles_em__v4FoO, .styles_subtitle__os3DH, .styles_bodycopy__uEx9r, .styles_buttontext__UPumF, .styles_captiontext__-TA6x, .styles_navigationtext__qnnIo, .styles_textlinkharmonic__S77lE {
153
+ letter-spacing: -0.5px;
154
+ }
155
+
156
+ .styles_overline-large__nRJSl {
157
+ letter-spacing: -0.3px;
158
+ }
159
+
160
+ .styles_overline-small__iF6Pd {
161
+ letter-spacing: -0.2px;
162
+ }
163
+
164
+
165
+ /* ~~~ Display Headers - 1 (Large) , 2 (Small) ~~~ */
166
+ .styles_display__VgnTB {
167
+ font-family: var(--font-family-sans);
168
+ font-weight: 700;
169
+ }
170
+
171
+ .styles_display__VgnTB em,
172
+ .styles_display__VgnTB.styles_serif__b-ZjM {
173
+ font-family: var(--font-family-serif);
174
+ font-weight: 500;
175
+ }
176
+
177
+ .styles_display__VgnTB.styles_large__vqVxY {
178
+ font-size: 96px;
179
+ }
180
+
181
+ .styles_display__VgnTB.styles_small__e7YDe {
182
+ font-size: 68px;
183
+ font-weight: 500;
184
+ }
185
+
186
+
187
+ /* ~~~ Header - 1 (Large) , 2 (Medium) , 3 (Small) ~~~ */
188
+ .styles_header__UDH-H {
189
+ font-family: var(--font-family-sans);
190
+ font-weight: 500;
191
+ }
192
+
193
+ .styles_header__UDH-H em,
194
+ .styles_header__UDH-H.styles_serif__b-ZjM {
195
+ font-family: var(--font-family-serif);
196
+ font-weight: 500;
197
+ }
198
+
199
+ .styles_header__UDH-H.styles_large__vqVxY {
200
+ font-size: 44px;
201
+ line-height: 48px;
202
+ }
203
+
204
+ .styles_header__UDH-H.styles_medium__WQPZj {
205
+ font-size: 34px;
206
+ line-height: 40px;
207
+ }
208
+
209
+ .styles_header__UDH-H.styles_small__e7YDe {
210
+ font-size: 26px;
211
+ line-height: 32px;
212
+ }
213
+
214
+
215
+ /* ~~~ Subtitle ~~~ */
216
+ .styles_subtitle__os3DH {
217
+ font-family: var(--font-family-sans);
218
+ font-weight: 500;
219
+ }
220
+
221
+ .styles_subtitle__os3DH.styles_large__vqVxY {
222
+ font-size: 19px;
223
+ line-height: 26px;
224
+ }
225
+
226
+ .styles_subtitle__os3DH.styles_small__e7YDe {
227
+ font-size: 17px;
228
+ line-height: 24px;
229
+ }
230
+
231
+
232
+ /* ~~~ Body copy ~~~ */
233
+ .styles_bodycopy__uEx9r {
234
+ font-family: var(--font-family-sans);
235
+ font-weight: 400;
236
+ }
237
+
238
+ .styles_bodycopy__uEx9r.styles_large__vqVxY {
239
+ font-size: 19px;
240
+ line-height: 26px;
241
+ }
242
+
243
+ .styles_bodycopy__uEx9r.styles_medium__WQPZj {
244
+ font-size: 17px;
245
+ line-height: 24px;
246
+ }
247
+
248
+ .styles_bodycopy__uEx9r.styles_small__e7YDe {
249
+ font-size: 14px;
250
+ line-height: 20px;
251
+ }
252
+
253
+
254
+ /* ~~~ Overline ~~~ */
255
+ .styles_overline__5xGDa {
256
+ font-family: var(--font-family-sans);
257
+ font-weight: 500;
258
+ text-transform: uppercase;
259
+ }
260
+
261
+ .styles_overline__5xGDa.styles_large__vqVxY {
262
+ font-size: 14px;
263
+ line-height: 18px;
264
+ }
265
+
266
+ .styles_overline__5xGDa.styles_small__e7YDe {
267
+ font-size: 12px;
268
+ line-height: 14px;
269
+ }
270
+
271
+
272
+ /* ~~~ Button text ~~~ */
273
+ .styles_buttontext__UPumF {
274
+ font-family: var(--font-family-sans);
275
+ font-weight: 400;
276
+ font-size: 17px;
277
+ line-height: 20px;
278
+ }
279
+
280
+
281
+ /* ~~~ Caption text ~~~ */
282
+ .styles_captiontext__-TA6x {
283
+ font-size: 17px;
284
+ font-weight: 400;
285
+ font-style: italic;
286
+ line-height: 24px;
287
+ }
288
+
289
+
290
+ /* ~~~ Navigation text ~~~ */
291
+ .styles_navigationtext__qnnIo {
292
+ font-family: var(--font-family-sans);
293
+ font-size: 17px;
294
+ font-weight: 500;
295
+ text-transform: uppercase;
296
+ line-height: 17px;
297
+ }
298
+
299
+
300
+ /* ~~~ Text link ~~~ */
301
+ .styles_textlinkharmonic__S77lE {
302
+ font-family: var(--font-family-sans);
303
+ font-weight: 500;
304
+ text-transform: uppercase;
305
+ font-size: 17px;
306
+ border-bottom: solid 1px;
307
+ width: -moz-fit-content;
308
+ width: fit-content;
309
+ display: flex;
310
+ align-items: center;
311
+ cursor: pointer;
312
+ text-decoration: none;
313
+ line-height: 14px;
314
+ }
315
+
316
+ /* Typography.css */
317
+ .Typography_test__1llmb {
318
+ /* Add your styles here */
319
+ color: red!important;
320
+ }