@royaloperahouse/harmonic 0.1.0 → 0.1.1-a-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 +296 -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 +67 -46
@@ -0,0 +1,296 @@
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
+ /* ~~~~~ Colour 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
+ /* ~~~~~ Device media queries ~~~~~ */
21
+ /* mobile */
22
+ @media (max-width: 600px) {
23
+
24
+ /* mobile letter spacing */
25
+ .styles_display__VgnTB.styles_large__vqVxY, .styles_display__VgnTB.styles_small__e7YDe {
26
+ letter-spacing: -1.5px;
27
+ }
28
+
29
+ .styles_header-small__W-GSS {
30
+ letter-spacing: -0.75px;
31
+ }
32
+
33
+ .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 {
34
+ letter-spacing: -0.5px;
35
+ }
36
+
37
+ .styles_subtitle__os3DH.styles_small__e7YDe, .styles_bodycopy__uEx9r.styles_medium__WQPZj, .styles_bodycopy__uEx9r.styles_small__e7YDe {
38
+ letter-spacing: -0.2px;
39
+ }
40
+
41
+ .styles_overline__5xGDa.styles_small__e7YDe {
42
+ letter-spacing: -0.3px;
43
+ }
44
+
45
+ /* Display */
46
+ .styles_display__VgnTB.styles_large__vqVxY {
47
+ font-size: 38px;
48
+ }
49
+
50
+ .styles_display__VgnTB.styles_small__e7YDe {
51
+ font-size: 32px;
52
+ }
53
+
54
+ /* Header */
55
+ .styles_header__UDH-H.styles_large__vqVxY {
56
+ font-size: 28px;
57
+ }
58
+
59
+ .styles_header__UDH-H.styles_medium__WQPZj {
60
+ font-size: 24px;
61
+ }
62
+
63
+ .styles_header__UDH-H.styles_small__e7YDe {
64
+ font-size: 20px;
65
+ }
66
+
67
+ /* Subtitle */
68
+ .styles_subtitle__os3DH.styles_large__vqVxY {
69
+ font-size: 17px;
70
+ }
71
+
72
+ .styles_subtitle__os3DH.styles_small__e7YDe {
73
+ font-size: 14px;
74
+ }
75
+
76
+ /* Body Copy */
77
+ .styles_bodycopy__uEx9r.styles_large__vqVxY {
78
+ font-size: 17px;
79
+ }
80
+
81
+ .styles_bodycopy__uEx9r.styles_medium__WQPZj {
82
+ font-size: 14px;
83
+ }
84
+
85
+ .styles_bodycopy__uEx9r.styles_small__e7YDe {
86
+ font-size: 11px;
87
+ }
88
+
89
+ /* Overline */
90
+ .styles_overline__5xGDa.styles_large__vqVxY {
91
+ font-size: 14px;
92
+ }
93
+
94
+ .styles_overline__5xGDa.styles_small__e7YDe {
95
+ font-size: 12px;
96
+ }
97
+
98
+ /* Caption */
99
+ .styles_captiontext__-TA6x {
100
+ font-size: 14px;
101
+ }
102
+
103
+ /* Text Link */
104
+ .styles_textlinkharmonic__S77lE {
105
+ font-size: 14px;
106
+ }
107
+ }
108
+
109
+ /* ~~~~~ Letter Spacing Desktop ~~~~~ */
110
+
111
+ .styles_display__VgnTB.styles_large__vqVxY {
112
+ letter-spacing: -5px;
113
+ }
114
+
115
+ .styles_header__UDH-H.styles_large__vqVxY {
116
+ letter-spacing: -1.5px;
117
+ }
118
+
119
+ .styles_header__UDH-H.styles_medium__WQPZj {
120
+ letter-spacing: -1.5px;
121
+ }
122
+
123
+ .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 {
124
+ letter-spacing: -3px;
125
+ }
126
+
127
+ .styles_display__VgnTB.styles_small__e7YDe.styles_serif__b-ZjM, .styles_display__VgnTB.styles_small__e7YDe.styles_em__v4FoO {
128
+ letter-spacing: -2px;
129
+ }
130
+
131
+ .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 {
132
+ letter-spacing: -0.5px;
133
+ }
134
+
135
+ .styles_overline-large__nRJSl {
136
+ letter-spacing: -0.3px;
137
+ }
138
+
139
+ .styles_overline-small__iF6Pd {
140
+ letter-spacing: -0.2px;
141
+ }
142
+
143
+
144
+ /* ~~~~~ Display Headers ~~~~~ */
145
+
146
+ .styles_display__VgnTB {
147
+ font-family: var(--font-family-sans);
148
+ font-weight: 700;
149
+ }
150
+
151
+ .styles_display__VgnTB em,
152
+ .styles_display__VgnTB.styles_serif__b-ZjM {
153
+ font-family: var(--font-family-serif);
154
+ font-weight: 500;
155
+ }
156
+
157
+ .styles_display__VgnTB.styles_large__vqVxY {
158
+ font-size: 96px;
159
+ }
160
+
161
+ .styles_display__VgnTB.styles_small__e7YDe {
162
+ font-size: 68px;
163
+ font-weight: 500;
164
+ }
165
+
166
+
167
+ /* ~~~~~ Header - H1 , H2 , H3 ~~~~~ */
168
+
169
+ .styles_header__UDH-H {
170
+ font-family: var(--font-family-sans);
171
+ font-weight: 500;
172
+ }
173
+
174
+ .styles_header__UDH-H em,
175
+ .styles_header__UDH-H.styles_serif__b-ZjM {
176
+ font-family: var(--font-family-serif);
177
+ font-weight: 500;
178
+ }
179
+
180
+ .styles_header__UDH-H.styles_large__vqVxY {
181
+ font-size: 44px;
182
+ }
183
+
184
+ .styles_header__UDH-H.styles_medium__WQPZj {
185
+ font-size: 34px;
186
+ }
187
+
188
+ .styles_header__UDH-H.styles_small__e7YDe {
189
+ font-size: 26px;
190
+ }
191
+
192
+
193
+
194
+ /* ~~~~~ Subtitle ~~~~~ */
195
+
196
+ .styles_subtitle__os3DH {
197
+ font-family: var(--font-family-sans);
198
+ font-weight: 500;
199
+ }
200
+
201
+ .styles_subtitle__os3DH.styles_large__vqVxY {
202
+ font-size: 19px;
203
+ }
204
+
205
+ .styles_subtitle__os3DH.styles_small__e7YDe {
206
+ font-size: 17px;
207
+ }
208
+
209
+
210
+ /* ~~~~~ Body copy ~~~~~ */
211
+
212
+ .styles_bodycopy__uEx9r {
213
+ font-family: var(--font-family-sans);
214
+ font-weight: 400;
215
+ }
216
+
217
+ .styles_bodycopy__uEx9r.styles_large__vqVxY {
218
+ font-size: 19px;
219
+ }
220
+
221
+ .styles_bodycopy__uEx9r.styles_medium__WQPZj {
222
+ font-size: 17px;
223
+ }
224
+
225
+ .styles_bodycopy__uEx9r.styles_small__e7YDe {
226
+ font-size: 14px;
227
+ }
228
+
229
+
230
+ /* ~~~~~ Overline ~~~~~ */
231
+
232
+ .styles_overline__5xGDa {
233
+ font-family: var(--font-family-sans);
234
+ font-weight: 500;
235
+ text-transform: uppercase;
236
+ }
237
+
238
+ .styles_overline__5xGDa.styles_large__vqVxY {
239
+ font-size: 14px;
240
+ }
241
+
242
+ .styles_overline__5xGDa.styles_small__e7YDe {
243
+ font-size: 12px;
244
+ }
245
+
246
+ /* ~~~~~ Button text ~~~~~ */
247
+
248
+ .styles_buttontext__UPumF {
249
+ font-family: var(--font-family-sans);
250
+ font-weight: 400;
251
+ font-size: 17px;
252
+ }
253
+
254
+
255
+ /* ~~~~~ Caption text ~~~~~ */
256
+
257
+ .styles_captiontext__-TA6x {
258
+ font-size: 17px;
259
+ font-weight: 400;
260
+ font-style: italic;
261
+ line-height: auto;
262
+ }
263
+
264
+
265
+ /* ~~~~~ Navigation text ~~~~~ */
266
+
267
+ .styles_navigationtext__qnnIo {
268
+ font-family: var(--font-family-sans);
269
+ font-size: 17px;
270
+ font-weight: 500;
271
+ text-transform: uppercase;
272
+ line-height: auto;
273
+ }
274
+
275
+
276
+ /* ~~~~~ Text link ~~~~~ */
277
+
278
+ .styles_textlinkharmonic__S77lE {
279
+ font-family: var(--font-family-sans);
280
+ font-weight: 500;
281
+ text-transform: uppercase;
282
+ font-size: 17px;
283
+ border-bottom: solid 1px;
284
+ width: -moz-fit-content;
285
+ width: fit-content;
286
+ display: flex;
287
+ align-items: center;
288
+ cursor: pointer;
289
+ text-decoration: none;
290
+ }
291
+
292
+ /* Typography.css */
293
+ .Typography_test__1llmb {
294
+ /* Add your styles here */
295
+ color: red!important;
296
+ }