@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.
- package/CHANGELOG.md +607 -0
- package/README.md +8 -0
- package/dist/components/Typography/AltHeaders/AltHeaders.d.ts +4 -0
- package/dist/components/Typography/TextLink/TextLink.d.ts +5 -0
- package/dist/components/Typography/Typography.d.ts +11 -0
- package/dist/components/Typography/index.d.ts +3 -0
- package/dist/components/atoms/Account/Account.d.ts +2 -1
- package/dist/components/atoms/Buttons/Auxiliary/AuxiliaryButton.style.d.ts +0 -1
- package/dist/components/atoms/Buttons/Primary/PrimaryButtonWrapper.style.d.ts +0 -1
- package/dist/components/atoms/Buttons/Secondary/SecondaryButtonWrapper.style.d.ts +0 -1
- package/dist/components/atoms/Dropdown/Dropdown.d.ts +2 -1
- package/dist/components/atoms/Icons/StorybookSupport/Iconography.d.ts +2 -1
- package/dist/components/atoms/Icons/SvgIcons/index.d.ts +0 -1
- package/dist/components/atoms/Logo/Logo.d.ts +2 -1
- package/dist/components/atoms/Radio/Radio.d.ts +2 -1
- package/dist/components/atoms/Radio2/Radio2.d.ts +0 -19
- package/dist/components/atoms/RotatorButtons/RotatorButtons.d.ts +2 -1
- package/dist/components/atoms/Search/Search.d.ts +2 -1
- package/dist/components/atoms/SectionSplitter/SectionSplitter.d.ts +2 -1
- package/dist/components/atoms/Stepper/Stepper.d.ts +2 -2
- package/dist/components/atoms/Tab/Tab.d.ts +2 -1
- package/dist/components/atoms/TextArea/TextArea.d.ts +5 -4
- package/dist/components/atoms/TextField/TextField.d.ts +0 -38
- package/dist/components/atoms/TextField/TextFieldLegacy.d.ts +3 -2
- package/dist/components/atoms/Tickbox2/Tickbox2.d.ts +0 -19
- package/dist/components/atoms/TypeTags/TypeTags.d.ts +2 -1
- package/dist/components/atoms/Typography/Typography.d.ts +8 -6
- package/dist/components/atoms/VideoControls/VideoControls.style.d.ts +2 -2
- package/dist/components/index.d.ts +3 -0
- package/dist/components/molecules/Basket/Basket.d.ts +2 -1
- package/dist/components/molecules/Cards/Cards.d.ts +2 -1
- package/dist/components/molecules/ContentSummary/ContentSummary.d.ts +2 -1
- package/dist/components/molecules/ContentSummary/ContentSummary.style.d.ts +1 -1
- package/dist/components/molecules/Information/InfoCta.d.ts +2 -2
- package/dist/components/molecules/Information/Information.style.d.ts +6 -3
- package/dist/components/molecules/NavTop/NavTop.d.ts +2 -1
- package/dist/components/molecules/PageHeading/Compact/Compact.style.d.ts +3 -4
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.d.ts +5 -1
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +3 -1
- package/dist/components/molecules/PeopleListing/PeopleListing.d.ts +2 -1
- package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +1 -0
- package/dist/components/molecules/PromoWithTags/PromoWithTags.style.d.ts +2 -3
- package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +2 -1
- package/dist/components/molecules/SearchBar/SearchBar.d.ts +2 -1
- package/dist/components/molecules/SectionTitle/SectionTitle.d.ts +2 -1
- package/dist/components/molecules/Select/Select.d.ts +2 -1
- package/dist/components/molecules/Select/Select.style.d.ts +0 -1
- package/dist/components/molecules/Select2/Select2.d.ts +2 -2
- package/dist/components/molecules/Tabs/Tabs.d.ts +2 -1
- package/dist/components/molecules/UpsellCard/OfferText.d.ts +2 -1
- package/dist/components/molecules/UpsellCard/UpsellCard.style.d.ts +2 -2
- package/dist/components/organisms/Navigation/Navigation.d.ts +2 -1
- package/dist/components/organisms/TitleWithCTA/TitleWithCTA.style.d.ts +0 -1
- package/dist/harmonic.cjs.development.css +320 -0
- package/dist/harmonic.cjs.development.js +2502 -3394
- 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 +2534 -3397
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/helpers/arrays.d.ts +2 -6
- package/dist/index.d.ts +2 -2
- package/dist/styles/ThemeProvider.d.ts +2 -1
- package/dist/types/auxiliaryNav.d.ts +15 -15
- package/dist/types/buttonTypes.d.ts +2 -2
- package/dist/types/card.d.ts +3 -1
- package/dist/types/contactCard.d.ts +4 -1
- package/dist/types/creditListing.d.ts +1 -0
- package/dist/types/editorial.d.ts +4 -1
- package/dist/types/formTypes.d.ts +1 -1
- package/dist/types/image.d.ts +4 -1
- package/dist/types/impactHeader.d.ts +18 -18
- package/dist/types/index.d.ts +2 -1
- package/dist/types/information.d.ts +19 -13
- package/dist/types/navigation.d.ts +3 -4
- package/dist/types/quote.d.ts +3 -1
- package/dist/types/tableTypes.d.ts +2 -1
- package/dist/types/types.d.ts +36 -22
- package/dist/types/typography.d.ts +33 -3
- package/dist/types/upsell.d.ts +1 -2
- package/package.json +68 -47
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,607 @@
|
|
|
1
|
+
##[0.1.0]
|
|
2
|
+
- Published Harmonic to NPM
|
|
3
|
+
|
|
4
|
+
----- Harmonic -----
|
|
5
|
+
|
|
6
|
+
## [2.5.0]
|
|
7
|
+
- Credit Listing component: allow inline replacements
|
|
8
|
+
|
|
9
|
+
## [2.4.10]
|
|
10
|
+
- Credit Listing component: extend column count
|
|
11
|
+
|
|
12
|
+
## [2.4.9]
|
|
13
|
+
- Information component: fix UI issues
|
|
14
|
+
|
|
15
|
+
## [2.4.8]
|
|
16
|
+
- Accessibility: all SVG icons can now take alt text
|
|
17
|
+
|
|
18
|
+
## [2.4.7]
|
|
19
|
+
- Compact Header bug fixes for Default Pages roll out
|
|
20
|
+
|
|
21
|
+
## [2.4.6]
|
|
22
|
+
- Print behaviour: Accordion and ReadMore now open to display content when printing, PeopleListing avoids content breaking between pages
|
|
23
|
+
|
|
24
|
+
## [2.4.5]
|
|
25
|
+
- Primary Button: Disabled state
|
|
26
|
+
|
|
27
|
+
## [2.4.4]
|
|
28
|
+
- Table Component: Accessibility improvements
|
|
29
|
+
|
|
30
|
+
## [2.4.3]
|
|
31
|
+
- Fix Page Heading spacing around the title
|
|
32
|
+
|
|
33
|
+
## [2.4.2]
|
|
34
|
+
- Logo change in main nav bar - added alt text, updated url, updated images for local testing
|
|
35
|
+
|
|
36
|
+
## [2.4.1]
|
|
37
|
+
- Update Stream and Cinema badges with new logo.
|
|
38
|
+
- Update Page and Compact headers with new badges.
|
|
39
|
+
|
|
40
|
+
## [2.4.0]
|
|
41
|
+
- Added optional semantic level props to Page Heading, Alt Header, Promo With Title, and Section Title
|
|
42
|
+
- Added optional character limit prop to Page Heading
|
|
43
|
+
|
|
44
|
+
## [2.3.3]
|
|
45
|
+
- Reintroduced legacy behaviour of <TextField /> via opt-in component
|
|
46
|
+
|
|
47
|
+
## [2.3.2]
|
|
48
|
+
- AuxiliaryNav: onClick handler fixes
|
|
49
|
+
|
|
50
|
+
## [2.3.1]
|
|
51
|
+
- AuxiliaryNav: accessibility improvements
|
|
52
|
+
|
|
53
|
+
## [2.3.0]
|
|
54
|
+
- New component: VideoWithControls
|
|
55
|
+
- PromoWithTitle: handle video
|
|
56
|
+
- VideoControls: extend the component with the new settings
|
|
57
|
+
|
|
58
|
+
## [2.2.15]
|
|
59
|
+
- Sponsorship: Direct to Rolex v4 containing new jQuery version
|
|
60
|
+
|
|
61
|
+
## [2.2.14]
|
|
62
|
+
- Table: fixed minor issues
|
|
63
|
+
|
|
64
|
+
## [2.2.13]
|
|
65
|
+
- New component: Select2Async
|
|
66
|
+
- Select2: fixed minor issues
|
|
67
|
+
|
|
68
|
+
## [2.2.12]
|
|
69
|
+
- Table component
|
|
70
|
+
|
|
71
|
+
## [2.2.11]
|
|
72
|
+
- Add Auxiliary button component and extend cards with it
|
|
73
|
+
|
|
74
|
+
## [2.2.10]
|
|
75
|
+
- Add Highlight text for the Card component
|
|
76
|
+
|
|
77
|
+
## [2.2.9]
|
|
78
|
+
- New component: Select2
|
|
79
|
+
- Deprecated: Select
|
|
80
|
+
|
|
81
|
+
## [2.2.8]
|
|
82
|
+
- New components: Tickbox2, Radio2, RadioGroup2
|
|
83
|
+
- Deprecated: Tickbox, Radio, RadioGroup
|
|
84
|
+
|
|
85
|
+
## [2.2.7]
|
|
86
|
+
- Add new seat-type icons
|
|
87
|
+
|
|
88
|
+
## [2.2.6]
|
|
89
|
+
- TextField: minor style fixes
|
|
90
|
+
|
|
91
|
+
## [2.2.5]
|
|
92
|
+
- Add Status Banner Component
|
|
93
|
+
|
|
94
|
+
## [2.2.4]
|
|
95
|
+
- Add AuxiliaryNav component
|
|
96
|
+
- Add PasswordStrength component
|
|
97
|
+
- TextField: add password view
|
|
98
|
+
|
|
99
|
+
## [2.2.3]
|
|
100
|
+
- Add ModalWindow component
|
|
101
|
+
|
|
102
|
+
## [2.2.2]
|
|
103
|
+
- Allow accordions to take different display and semantic levels
|
|
104
|
+
|
|
105
|
+
## [2.2.1]
|
|
106
|
+
- Read More Component
|
|
107
|
+
|
|
108
|
+
## [2.2.0]
|
|
109
|
+
- Fix Grid bug introduced in 2.1.9
|
|
110
|
+
|
|
111
|
+
## [2.1.10]
|
|
112
|
+
- Add missing export for `CreditListing`
|
|
113
|
+
|
|
114
|
+
## [2.1.9]
|
|
115
|
+
- Add Credit Listing
|
|
116
|
+
|
|
117
|
+
## [2.1.8]
|
|
118
|
+
- Add Branding Link to Compact Header
|
|
119
|
+
|
|
120
|
+
## [2.1.7]
|
|
121
|
+
- Footer updates
|
|
122
|
+
|
|
123
|
+
## [2.1.6]
|
|
124
|
+
- Add X logo
|
|
125
|
+
|
|
126
|
+
## [2.1.5]
|
|
127
|
+
- Revert search error caused by previous version
|
|
128
|
+
|
|
129
|
+
## [2.1.4]
|
|
130
|
+
- Fix screenreader accessibility for accordions
|
|
131
|
+
|
|
132
|
+
## [2.1.3]
|
|
133
|
+
- Navigation: make links links
|
|
134
|
+
- Clear testing errors
|
|
135
|
+
|
|
136
|
+
## [2.1.2]
|
|
137
|
+
- TextField: include optional width param
|
|
138
|
+
|
|
139
|
+
## [2.1.1]
|
|
140
|
+
- AnchorTabBar: change grid, to move tabs to the center
|
|
141
|
+
|
|
142
|
+
## [2.1.0]
|
|
143
|
+
- Convert Pagination to href instead of React Router Link
|
|
144
|
+
|
|
145
|
+
## [2.0.0]
|
|
146
|
+
- Remove swiper dependency
|
|
147
|
+
## [1.28.0]
|
|
148
|
+
- Add new RadioGroup component
|
|
149
|
+
- Progress: add the steps
|
|
150
|
+
- Compact header: hide CTA if the prop is undefined
|
|
151
|
+
- Compact header: change highlight color for Stream variant
|
|
152
|
+
|
|
153
|
+
## [1.27.1]
|
|
154
|
+
- Fixed failing test on timer component
|
|
155
|
+
|
|
156
|
+
## [1.27.0]
|
|
157
|
+
- ContentSummary component can now be configured to be fully clickable
|
|
158
|
+
|
|
159
|
+
## [1.26.0]
|
|
160
|
+
- MiniCard and MinimalCarousel: add new components
|
|
161
|
+
|
|
162
|
+
## [1.25.2]
|
|
163
|
+
- Now clicking on the gray overlay closes the search bar
|
|
164
|
+
|
|
165
|
+
## [1.25.1]
|
|
166
|
+
- Stepper: Properly export component
|
|
167
|
+
|
|
168
|
+
## [1.25.0]
|
|
169
|
+
- Stepper: Add Stepper component
|
|
170
|
+
|
|
171
|
+
## [1.24.2]
|
|
172
|
+
- Increase Upsell Card Flag character limit to 30
|
|
173
|
+
|
|
174
|
+
## [1.24.1]
|
|
175
|
+
- Include link field to Upsell Cards
|
|
176
|
+
|
|
177
|
+
## [1.24.0]
|
|
178
|
+
- Implement Upsell Section & Upsell Cards
|
|
179
|
+
|
|
180
|
+
## [1.23.2]
|
|
181
|
+
- Fix BrandingStyle not showing bug
|
|
182
|
+
|
|
183
|
+
## [1.23.1]
|
|
184
|
+
- Fix enum on BrandingStyle
|
|
185
|
+
|
|
186
|
+
## [1.23.0]
|
|
187
|
+
- Re-enabled compact header on iOS
|
|
188
|
+
|
|
189
|
+
## [1.22.0]
|
|
190
|
+
- TextArea: Added new TextArea component
|
|
191
|
+
- TickBox: Added disabled and error states
|
|
192
|
+
|
|
193
|
+
## [1.21.1]
|
|
194
|
+
- Made select state reset behaviour opt-in
|
|
195
|
+
|
|
196
|
+
## [1.21.0]
|
|
197
|
+
- TextLogo: add new component
|
|
198
|
+
- Compact PageHeading: swap logo with TextLogo to fix iOS issues
|
|
199
|
+
|
|
200
|
+
## [1.20.2]
|
|
201
|
+
- Card: change cursor to default for cards without buttons
|
|
202
|
+
- HighlightsCarousel: hide button in case there are no text for them
|
|
203
|
+
|
|
204
|
+
## [1.20.1]
|
|
205
|
+
- Reset the select component's selected value to the first option if options change
|
|
206
|
+
|
|
207
|
+
## [1.20.0]
|
|
208
|
+
- Tickbox: Add black-on-white option
|
|
209
|
+
## [1.19.0]
|
|
210
|
+
- Add timer to navigation basket
|
|
211
|
+
## [1.18.3]
|
|
212
|
+
- iOS devices show image instead of video for Compact PageHeading
|
|
213
|
+
|
|
214
|
+
## [1.18.1-2]
|
|
215
|
+
- Fix iOS exception on VideoControls
|
|
216
|
+
|
|
217
|
+
## [1.18.0]
|
|
218
|
+
- Add Compact PageHeading component
|
|
219
|
+
|
|
220
|
+
## [1.17.0]
|
|
221
|
+
- Add Page Heading Panel variant
|
|
222
|
+
|
|
223
|
+
## [1.16.0]
|
|
224
|
+
- Implemented a new Timer component
|
|
225
|
+
- Progress: extended the component, added it to Storybook
|
|
226
|
+
- PromoWithTags: added Timer component
|
|
227
|
+
- PromoWithTags: added possibility to configure type of the buttons
|
|
228
|
+
- Highlight Carousel: added Timer component
|
|
229
|
+
- Card: added label
|
|
230
|
+
|
|
231
|
+
## [1.15.1]
|
|
232
|
+
- Change to pagination component to align page numbers with URL numbers.
|
|
233
|
+
|
|
234
|
+
## [1.15.0]
|
|
235
|
+
- Implemented a new Select component
|
|
236
|
+
|
|
237
|
+
## [1.14.0]
|
|
238
|
+
- Added standfirst functionality to Accordion/ Accordions component and theme for Schools Platform
|
|
239
|
+
|
|
240
|
+
## [1.13.2]
|
|
241
|
+
- Add styled-components to dev-dependencies, to fix issues with tests that appear after adding the new styled components
|
|
242
|
+
|
|
243
|
+
## [1.13.1]
|
|
244
|
+
- AnchorTabBar: fix the issues on mobile devices that are related to scroll/stickiness
|
|
245
|
+
|
|
246
|
+
## [1.13.0]
|
|
247
|
+
- Implemented a new TextField component
|
|
248
|
+
|
|
249
|
+
## [1.12.4]
|
|
250
|
+
- Search: change copy
|
|
251
|
+
|
|
252
|
+
## [1.12.0]
|
|
253
|
+
- Search: Extend ContentSummary and SearchBar components to support new search results
|
|
254
|
+
|
|
255
|
+
## [1.11.0]
|
|
256
|
+
- Carousels: Rewrite logic that cuts description, to support older browsers
|
|
257
|
+
|
|
258
|
+
## [1.10.0]
|
|
259
|
+
- PageHeadingImpact: Replace CSS background-image with HTML image element
|
|
260
|
+
|
|
261
|
+
## [1.9.0]
|
|
262
|
+
- Card: Add a new prop for the hover line color
|
|
263
|
+
|
|
264
|
+
## [1.8.0]
|
|
265
|
+
- SearchBar: Disable
|
|
266
|
+
|
|
267
|
+
## [1.7.2]
|
|
268
|
+
- Add imageAltText to Card component
|
|
269
|
+
|
|
270
|
+
## [1.7.0]
|
|
271
|
+
- Add new ContentSummary component
|
|
272
|
+
- Add new ContentSummarySection component
|
|
273
|
+
- Add Content Summary Section and individual Content Summaries
|
|
274
|
+
|
|
275
|
+
## [1.6.3]
|
|
276
|
+
- Add exports for zIndexes
|
|
277
|
+
|
|
278
|
+
## [1.6.2]
|
|
279
|
+
- ImpactHeader: add alt text for sponsors logo custom image
|
|
280
|
+
|
|
281
|
+
## [1.6.1]
|
|
282
|
+
- PageHeadingHighlight component: update exports
|
|
283
|
+
|
|
284
|
+
## [1.6.0]
|
|
285
|
+
- Add new PageHeadingHighlight component
|
|
286
|
+
|
|
287
|
+
## [1.5.0]
|
|
288
|
+
- PageHeading: decrease header height when title is not available
|
|
289
|
+
|
|
290
|
+
## [1.4.0]
|
|
291
|
+
- ImpactHeader: make it possible to pass custom image as a sponsor logo
|
|
292
|
+
|
|
293
|
+
## [1.3.1]
|
|
294
|
+
- Enable reduced size textLinks on PromoWithTags/asCard
|
|
295
|
+
|
|
296
|
+
## [1.3.0]
|
|
297
|
+
- Add Static Actvivity Cards as PromoWithTags variant
|
|
298
|
+
|
|
299
|
+
## [1.2.0]
|
|
300
|
+
- Card: buttons do not change position on mobiles;
|
|
301
|
+
|
|
302
|
+
## [1.1.0]
|
|
303
|
+
- TitleWithCTA: fix cases with a long title
|
|
304
|
+
- Card: add pointer cursor to container
|
|
305
|
+
|
|
306
|
+
## [0.9.0]
|
|
307
|
+
- PromoWithTags: Add margin under ExtraContent iframe
|
|
308
|
+
|
|
309
|
+
## [0.8.0]
|
|
310
|
+
- Card component: buttons are aligned by height
|
|
311
|
+
- Highlight carousel: added possibility to display two CTAs
|
|
312
|
+
|
|
313
|
+
## [0.7.50]
|
|
314
|
+
- Add Static Actvivity Cards
|
|
315
|
+
|
|
316
|
+
## [0.7.49]
|
|
317
|
+
- Change button behaviour on stream and DED pages
|
|
318
|
+
|
|
319
|
+
## [0.7.48]
|
|
320
|
+
- Add background themes to Information component
|
|
321
|
+
|
|
322
|
+
## [0.7.47]
|
|
323
|
+
- PromoWithTags: Swap Content & ExtraContent divs to correct keyboard tab order
|
|
324
|
+
|
|
325
|
+
## [0.7.46]
|
|
326
|
+
- Information: Add new Information component
|
|
327
|
+
|
|
328
|
+
## [0.7.45]
|
|
329
|
+
- PromoWithTags: extend the component to handle extra content
|
|
330
|
+
|
|
331
|
+
## [0.7.441]
|
|
332
|
+
- PageHeading: increase max line height for mobile devices
|
|
333
|
+
|
|
334
|
+
## [0.7.44]
|
|
335
|
+
- PromoWithTags, PromoWithTitle: change grid for text content on tablet view
|
|
336
|
+
|
|
337
|
+
## [0.7.43]
|
|
338
|
+
- AnchorTabBar: fix the typo in the name of the component
|
|
339
|
+
- PromoWithTags: increase spacing between tags and body text
|
|
340
|
+
- PromoWithTags: change prop name for subtags
|
|
341
|
+
|
|
342
|
+
## [0.7.42]
|
|
343
|
+
- Livechat: Add more branded fields
|
|
344
|
+
|
|
345
|
+
## [0.7.41]
|
|
346
|
+
- PromoWithTags: convert the checks value to boolean
|
|
347
|
+
|
|
348
|
+
## [0.7.40]
|
|
349
|
+
- Add new PromoWithTags component
|
|
350
|
+
- StickyBar: remove bottom border for mobile viewport
|
|
351
|
+
|
|
352
|
+
## [0.7.39]
|
|
353
|
+
- Livechat: restyling
|
|
354
|
+
|
|
355
|
+
## [0.7.38]
|
|
356
|
+
- PromoWithTitle: add styles for headings
|
|
357
|
+
|
|
358
|
+
## [0.7.37]
|
|
359
|
+
- Tabs: Fix nav item spacing for large desktop displays
|
|
360
|
+
|
|
361
|
+
## [0.7.36]
|
|
362
|
+
- Update PromowithTitle component with tags and change highlight color for text and title in Stream Header
|
|
363
|
+
|
|
364
|
+
## [0.7.35]
|
|
365
|
+
- Add new StickyBar component
|
|
366
|
+
|
|
367
|
+
## [0.7.34]
|
|
368
|
+
- Tabs: Left-align last dropdown menu in the navigation bar
|
|
369
|
+
|
|
370
|
+
## [0.7.33]
|
|
371
|
+
- Livechat: add Talkdesk Livechat injection component
|
|
372
|
+
|
|
373
|
+
## [0.7.32]
|
|
374
|
+
- Carousels: extend character limit for description
|
|
375
|
+
|
|
376
|
+
## [0.7.31]
|
|
377
|
+
- Card: add image alt text as a prop
|
|
378
|
+
|
|
379
|
+
## [0.7.30]
|
|
380
|
+
- Navigation: add possibility to pass basket link as prop
|
|
381
|
+
|
|
382
|
+
## [0.7.29]
|
|
383
|
+
- TextOnly: change spacing for the headings
|
|
384
|
+
|
|
385
|
+
## [0.7.28]
|
|
386
|
+
- Order PeopleListing component by presence of headshot
|
|
387
|
+
- Show four listings per row on large desktop
|
|
388
|
+
|
|
389
|
+
## [0.7.27]
|
|
390
|
+
- Extend ContactCard capabilities
|
|
391
|
+
- Extend Tertiary Button text length
|
|
392
|
+
|
|
393
|
+
## [0.7.26]
|
|
394
|
+
- Add storybook-deployer package
|
|
395
|
+
- Update README with instructions for deployment
|
|
396
|
+
|
|
397
|
+
## [0.7.25]
|
|
398
|
+
- PeopleListing: add headshot
|
|
399
|
+
|
|
400
|
+
## [0.7.24]
|
|
401
|
+
- Add new ContactCard component
|
|
402
|
+
|
|
403
|
+
## [0.7.23]
|
|
404
|
+
- Accordion: make accordion keyboard-navigable
|
|
405
|
+
|
|
406
|
+
## [0.7.22]
|
|
407
|
+
- Add new AnnouncementBanner component
|
|
408
|
+
|
|
409
|
+
## [0.7.21]
|
|
410
|
+
- PageHeading: add a possibility to handle bold and italic in text
|
|
411
|
+
- Header-2: fix font size and line-height
|
|
412
|
+
|
|
413
|
+
## [0.7.20]
|
|
414
|
+
- TextOnly: fix spacing between the elements
|
|
415
|
+
|
|
416
|
+
## [0.7.19]
|
|
417
|
+
- TextOnly: extend styles for embedded headers and links
|
|
418
|
+
|
|
419
|
+
## [0.7.18]
|
|
420
|
+
- Quote: fix qoute signs
|
|
421
|
+
|
|
422
|
+
## [0.7.17]
|
|
423
|
+
- Add new Quote component
|
|
424
|
+
|
|
425
|
+
## [0.7.16]
|
|
426
|
+
- Card: fix title font size for tablet
|
|
427
|
+
|
|
428
|
+
## [0.7.15]
|
|
429
|
+
- Tickbox: fix keyboard key value
|
|
430
|
+
|
|
431
|
+
## [0.7.14]
|
|
432
|
+
- Fix keyboard accessibility for Tickbox
|
|
433
|
+
|
|
434
|
+
## [0.7.13]
|
|
435
|
+
- Fix Carousel Card typography
|
|
436
|
+
- Fix Impact Header Grid
|
|
437
|
+
- Fix Footer Grid
|
|
438
|
+
- Add additional font sizes for tablet
|
|
439
|
+
|
|
440
|
+
## [0.7.12]
|
|
441
|
+
- Tickbox: fixed issue with component's state updating
|
|
442
|
+
|
|
443
|
+
## [0.7.11]
|
|
444
|
+
- PromoWithTitle: align image vertically
|
|
445
|
+
|
|
446
|
+
## [0.7.10]
|
|
447
|
+
- Theme: increases font size
|
|
448
|
+
|
|
449
|
+
## [0.7.9]
|
|
450
|
+
- Impact: fix sponsor click and font size on mobile
|
|
451
|
+
- Carousel: add buttons to tablet
|
|
452
|
+
- Navigation: position fixed when menu is open on mobile
|
|
453
|
+
- Highlight Carousel: add html text to short description
|
|
454
|
+
|
|
455
|
+
## [0.7.8]
|
|
456
|
+
- TitleWithCTA: add message prop
|
|
457
|
+
|
|
458
|
+
## [0.7.7]
|
|
459
|
+
- Tabs: close dropdown when it is clicked twice
|
|
460
|
+
|
|
461
|
+
## [0.7.6]
|
|
462
|
+
- Add new initOpen prop to Accordion component
|
|
463
|
+
|
|
464
|
+
## [0.7.5]
|
|
465
|
+
- Fix Styling in PeopleListing on Desktop
|
|
466
|
+
|
|
467
|
+
## [0.7.4]
|
|
468
|
+
- Fix git README
|
|
469
|
+
|
|
470
|
+
## [0.7.3]
|
|
471
|
+
- Fix Styling in PeopleListing on Mobile
|
|
472
|
+
|
|
473
|
+
## [0.7.2]
|
|
474
|
+
- Add align center image in Editorial component
|
|
475
|
+
- Export ControlledDropdown component
|
|
476
|
+
|
|
477
|
+
## [0.7.1]
|
|
478
|
+
- Fix TitleWithCTA bug (visualization in two lines) in tablet
|
|
479
|
+
- Export TextLink component
|
|
480
|
+
- PeopleListing: custom person separator
|
|
481
|
+
|
|
482
|
+
## [0.7.0]
|
|
483
|
+
- PeopleListing: replace people prop by roles prop
|
|
484
|
+
|
|
485
|
+
## [0.6.0]
|
|
486
|
+
- Refactor the AnchorTabBar to separate page title and buttons
|
|
487
|
+
- Add new TitleWithCTA component
|
|
488
|
+
- Export Tab component
|
|
489
|
+
|
|
490
|
+
## [0.5.11]
|
|
491
|
+
- Add Tickbox component and TickboxMode enum
|
|
492
|
+
- PageHeading: fix typography
|
|
493
|
+
|
|
494
|
+
## [0.5.10]
|
|
495
|
+
- Highlights Carousel: tablet layout improvements
|
|
496
|
+
- Navigation improvements for small desktops.
|
|
497
|
+
- Hide Rotator Buttons in the Hihghlight Carousel when there is only one event
|
|
498
|
+
|
|
499
|
+
## [0.5.9]
|
|
500
|
+
- Reduce tablet grid margin from 50px to 32px.
|
|
501
|
+
- Add alternative to aspect-ratio css attribute.
|
|
502
|
+
|
|
503
|
+
## [0.5.8]
|
|
504
|
+
- PromoWithTitle links style
|
|
505
|
+
|
|
506
|
+
## [0.5.7]
|
|
507
|
+
- Added Star icon to Iconography
|
|
508
|
+
|
|
509
|
+
## [0.5.6]
|
|
510
|
+
- Added Favourite and Favourite Full icons to Iconography
|
|
511
|
+
|
|
512
|
+
## [0.5.5]
|
|
513
|
+
- Export ImageAspectRatioWrapper component and AspectRatio enum
|
|
514
|
+
|
|
515
|
+
## [0.5.4]
|
|
516
|
+
- Fix Card typography
|
|
517
|
+
- Fix Carousel title typography
|
|
518
|
+
- Fix Image Carousel size
|
|
519
|
+
- Fix focus style in rotator buttons (Safari)
|
|
520
|
+
- Anchor tab links hover style only for desktop
|
|
521
|
+
- Fix Anchor bar internal navigation
|
|
522
|
+
|
|
523
|
+
## [0.5.3]
|
|
524
|
+
- Handle keyboard events using key attribute
|
|
525
|
+
|
|
526
|
+
## [0.5.2]
|
|
527
|
+
- Highlights Carousel: info change swiping slide
|
|
528
|
+
- Fix RotatorButtons a11y
|
|
529
|
+
|
|
530
|
+
## [0.5.1]
|
|
531
|
+
- Highlights Carousel: fix box-sizing
|
|
532
|
+
|
|
533
|
+
## [0.5.0]
|
|
534
|
+
- Highlights Carousel: new slides props (breaking change)
|
|
535
|
+
- Fix in PageHeadingImpact image
|
|
536
|
+
|
|
537
|
+
## [0.4.4]
|
|
538
|
+
- AnchorTabBar a11y: added tabIndex to links
|
|
539
|
+
|
|
540
|
+
## [0.4.3]
|
|
541
|
+
- Prevent focus when navigation tab is clicked
|
|
542
|
+
|
|
543
|
+
## [0.4.2]
|
|
544
|
+
- Highlights Carousel Components
|
|
545
|
+
- Keyboard navigation fix for Navigation Component
|
|
546
|
+
|
|
547
|
+
## [0.4.1]
|
|
548
|
+
- Swiper included as dependency
|
|
549
|
+
- Fix for italics in Editorial, Card and PromoWithTitle components
|
|
550
|
+
- Extra Props for AnchorTabBar
|
|
551
|
+
|
|
552
|
+
## [0.4.0]
|
|
553
|
+
- Navigation Logo breaking change
|
|
554
|
+
- Colors enum exported as in types
|
|
555
|
+
|
|
556
|
+
## [0.3.9]
|
|
557
|
+
- Added Carousel Component
|
|
558
|
+
- Dropdowns overlap fix
|
|
559
|
+
- z-index fixes (for cards overlapping Anchor Tabs)
|
|
560
|
+
- Navigation menu alignment fix
|
|
561
|
+
|
|
562
|
+
## [0.3.8]
|
|
563
|
+
- Add possibility to configure GridItem for TextOnly component
|
|
564
|
+
- Rich Text Editor Styling fix
|
|
565
|
+
- Tweaks to Button layout for components
|
|
566
|
+
- Anchor navigation arrows fix
|
|
567
|
+
|
|
568
|
+
## [0.3.7]
|
|
569
|
+
- Typography change for Subtitle 2
|
|
570
|
+
- AltHeader, BodyText, Header, Overline and Subtitle Components
|
|
571
|
+
- REMOVED Heading Component - replaced by Header Component
|
|
572
|
+
- Accordion Component able to support other components as content
|
|
573
|
+
- made 'devices' public
|
|
574
|
+
|
|
575
|
+
## [0.3.6]
|
|
576
|
+
- PageHeading Component
|
|
577
|
+
- SectionTitle multiline fix
|
|
578
|
+
|
|
579
|
+
## [0.3.5]
|
|
580
|
+
- Fix for Searchbox border on iOS
|
|
581
|
+
- Fix for Accordion - Mobile Styling Issue
|
|
582
|
+
- Fix for Card Component - Styling Issues
|
|
583
|
+
- Change in Search layout
|
|
584
|
+
|
|
585
|
+
## [0.3.4]
|
|
586
|
+
- Added Rotator Buttons
|
|
587
|
+
- General Gotham SSm A & B font setup fixes
|
|
588
|
+
- Fix for Footer font and size in mobile view
|
|
589
|
+
- Subtitles 2 typography changes
|
|
590
|
+
|
|
591
|
+
## [0.3.3]
|
|
592
|
+
- Added AnchorTabBar Component
|
|
593
|
+
- Added Accordion Component
|
|
594
|
+
- Added Card Component
|
|
595
|
+
- Fixes to fonts setup
|
|
596
|
+
- Fix for Navigation Search font and mobile view
|
|
597
|
+
|
|
598
|
+
## [0.3.0]
|
|
599
|
+
- Design system project renamed and moved to chord
|
|
600
|
+
|
|
601
|
+
## [0.2.0]
|
|
602
|
+
- public NPM Library
|
|
603
|
+
|
|
604
|
+
## [0.1.0]
|
|
605
|
+
- Initial version
|
|
606
|
+
|
|
607
|
+
----- Chord -----
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Royal Opera House Harmonic - Front End Design System
|
|
2
|
+
# Royal Opera House Harmonic - Front End Design System
|
|
2
3
|
|
|
4
|
+
Welcome to The Royal Opera House Front End Design System, `@royaloperahouse/harmonic`
|
|
3
5
|
Welcome to The Royal Opera House Front End Design System, `@royaloperahouse/harmonic`
|
|
4
6
|
|
|
5
7
|
This package is a library of UI components intended to be used in the ROH website.
|
|
@@ -16,6 +18,7 @@ The Storybook for the latest version of the library is hosted at [coming soon]()
|
|
|
16
18
|
|
|
17
19
|
* Make sure the required package dependencies are installed using `yarn install`
|
|
18
20
|
|
|
21
|
+
* If this is the first time you are working on Harmonic, make sure to run `yarn build` to build all the modules.
|
|
19
22
|
* If this is the first time you are working on Harmonic, make sure to run `yarn build` to build all the modules.
|
|
20
23
|
|
|
21
24
|
* **To deploy the storybook publicly** you will need credentials for the **parent** 'Royal Opera House' AWS account in your `~/.aws/credentials` file.
|
|
@@ -34,6 +37,7 @@ The Storybook for the latest version of the library is hosted at [coming soon]()
|
|
|
34
37
|
## Versioning
|
|
35
38
|
---
|
|
36
39
|
|
|
40
|
+
We use [Semantic Versioning](https://semver.org/) for Harmonic.
|
|
37
41
|
We use [Semantic Versioning](https://semver.org/) for Harmonic.
|
|
38
42
|
|
|
39
43
|
Given a version number MAJOR.MINOR.PATCH, increment the:
|
|
@@ -111,6 +115,7 @@ yarn deploy-storybook
|
|
|
111
115
|
## Releasing a New Package Version
|
|
112
116
|
---
|
|
113
117
|
|
|
118
|
+
This is the procedure for releasing a new Harmonic NPM package.
|
|
114
119
|
This is the procedure for releasing a new Harmonic NPM package.
|
|
115
120
|
|
|
116
121
|
There are two types of package:
|
|
@@ -135,6 +140,7 @@ To publish a snapshot use:
|
|
|
135
140
|
NPM_ROH_TOKEN={NPM_TOKEN} RELEASE_VERSION={RELEASE_VERSION} yarn publish-snapshot
|
|
136
141
|
```
|
|
137
142
|
|
|
143
|
+
The version published to NPM will be named, e.g. `1.42.0-a-harmonic-development`, use this to install the snapshot package in the frontend repos.
|
|
138
144
|
The version published to NPM will be named, e.g. `1.42.0-a-harmonic-development`, use this to install the snapshot package in the frontend repos.
|
|
139
145
|
|
|
140
146
|
### **2. To release a stable version**
|
|
@@ -157,9 +163,11 @@ The package is deployed to NPM, and can be installed using yarn or npm:
|
|
|
157
163
|
|
|
158
164
|
```bash
|
|
159
165
|
npm i --save @royaloperahouse/harmonic
|
|
166
|
+
npm i --save @royaloperahouse/harmonic
|
|
160
167
|
```
|
|
161
168
|
```bash
|
|
162
169
|
yarn add @royaloperahouse/harmonic
|
|
170
|
+
yarn add @royaloperahouse/harmonic
|
|
163
171
|
```
|
|
164
172
|
|
|
165
173
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IGenericTypographyProps, IHarmonicHeaderProps } from '../../types/typography';
|
|
3
|
+
import './styles.css';
|
|
4
|
+
export declare const DisplayHeader: ({ children, size, em, color, serif }: IGenericTypographyProps) => React.JSX.Element;
|
|
5
|
+
export declare const HarmonicHeader: ({ children, size, em, color, serif, hierarchy: Tag }: IHarmonicHeaderProps) => React.JSX.Element;
|
|
6
|
+
export declare const HarmonicSubtitle: ({ children, size, color }: IGenericTypographyProps) => React.JSX.Element;
|
|
7
|
+
export declare const BodyCopyHarmonic: ({ children, size, color }: IGenericTypographyProps) => React.JSX.Element;
|
|
8
|
+
export declare const HarmonicOverline: ({ children, size, color }: IGenericTypographyProps) => React.JSX.Element;
|
|
9
|
+
export declare const ButtonText: ({ children, color }: IGenericTypographyProps) => React.JSX.Element;
|
|
10
|
+
export declare const Caption: ({ children, color }: IGenericTypographyProps) => React.JSX.Element;
|
|
11
|
+
export declare const NavigationText: ({ children, color }: IGenericTypographyProps) => React.JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DisplayHeader, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText } from './Typography';
|
|
2
|
+
import TextLinkHarmonic from './TextLink/TextLink';
|
|
3
|
+
export { DisplayHeader, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText, TextLinkHarmonic, };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { IAccountProps } from '../../../types/navigation';
|
|
2
|
-
declare const Account: ({ title, options, onClick, iconName, titleLink, colorPrimary }: IAccountProps) => JSX.Element;
|
|
3
|
+
declare const Account: ({ title, options, onClick, iconName, titleLink, colorPrimary }: IAccountProps) => React.JSX.Element;
|
|
3
4
|
export default Account;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IAuxiliaryButtonProps } from '../../../../types';
|
|
3
2
|
declare const AuxiliaryButtonWrapper: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../../../../types/buttonTypes").IButtonProps>, any, IAuxiliaryButtonProps, never>;
|
|
4
3
|
export default AuxiliaryButtonWrapper;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IPrimaryButtonProps } from '../../../../types/buttonTypes';
|
|
3
2
|
declare const PrimaryButtonWrapper: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../../../../types/buttonTypes").IButtonProps>, any, IPrimaryButtonProps, never>;
|
|
4
3
|
export default PrimaryButtonWrapper;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IButtonProps } from '../../../../types/buttonTypes';
|
|
3
2
|
declare const PrimaryButtonWrapper: import("styled-components").StyledComponent<import("react").FunctionComponent<IButtonProps>, any, IButtonProps, never>;
|
|
4
3
|
export default PrimaryButtonWrapper;
|