@royaloperahouse/chord 2.3.1 → 2.3.2-a-chord-development

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 (30) hide show
  1. package/CHANGELOG.md +213 -7
  2. package/README.md +250 -40
  3. package/dist/chord.cjs.development.js +640 -448
  4. package/dist/chord.cjs.development.js.map +1 -1
  5. package/dist/chord.cjs.production.min.js +1 -1
  6. package/dist/chord.cjs.production.min.js.map +1 -1
  7. package/dist/chord.esm.js +640 -450
  8. package/dist/chord.esm.js.map +1 -1
  9. package/dist/components/atoms/Grid/GridItemLegacy.d.ts +8 -0
  10. package/dist/components/atoms/Grid/index.d.ts +2 -1
  11. package/dist/components/atoms/TextField/TextFieldLegacy.d.ts +8 -0
  12. package/dist/components/atoms/TextField/TextFieldLegacy.style.d.ts +5 -0
  13. package/dist/components/atoms/TextField/index.d.ts +2 -1
  14. package/dist/components/atoms/Typography/Typography.d.ts +1 -1
  15. package/dist/components/atoms/index.d.ts +3 -3
  16. package/dist/components/index.d.ts +2 -2
  17. package/dist/components/molecules/PageHeading/index.d.ts +1 -1
  18. package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +1 -0
  19. package/dist/components/molecules/PromoWithTitle/PromoChild.d.ts +2 -2
  20. package/dist/components/molecules/SectionTitle/SectionTitle.d.ts +1 -1
  21. package/dist/components/molecules/index.d.ts +1 -1
  22. package/dist/helpers/generateDomElementId.d.ts +8 -0
  23. package/dist/index.d.ts +3 -2
  24. package/dist/types/auxiliaryNav.d.ts +8 -8
  25. package/dist/types/editorial.d.ts +18 -2
  26. package/dist/types/formTypes.d.ts +12 -9
  27. package/dist/types/impactHeader.d.ts +13 -0
  28. package/dist/types/types.d.ts +6 -1
  29. package/package.json +1 -1
  30. package/README.GIT +0 -277
package/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## [2.3.2]
2
+ - AuxiliaryNav: onClick handler fixes
3
+
1
4
  ## [2.3.1]
2
5
  - AuxiliaryNav: accessibility improvements
3
6
 
@@ -57,121 +60,172 @@
57
60
  - Read More Component
58
61
 
59
62
  ## [2.2.0]
63
+
60
64
  - Fix Grid bug introduced in 2.1.9
61
65
 
62
66
  ## [2.1.10]
67
+
63
68
  - Add missing export for `CreditListing`
64
69
 
65
70
  ## [2.1.9]
71
+
66
72
  - Add Credit Listing
67
73
 
68
74
  ## [2.1.8]
75
+
69
76
  - Add Branding Link to Compact Header
70
77
 
71
78
  ## [2.1.7]
79
+
72
80
  - Footer updates
73
81
 
74
82
  ## [2.1.6]
83
+
75
84
  - Add X logo
76
85
 
77
86
  ## [2.1.5]
78
- - Revert search error caused by previous version
87
+
88
+ - Patch search bar hidden fix
79
89
 
80
90
  ## [2.1.4]
91
+
81
92
  - Fix screenreader accessibility for accordions
82
93
 
83
94
  ## [2.1.3]
95
+
84
96
  - Navigation: make links links
85
97
  - Clear testing errors
86
98
 
87
99
  ## [2.1.2]
100
+
88
101
  - TextField: include optional width param
89
102
 
90
103
  ## [2.1.1]
104
+
91
105
  - AnchorTabBar: change grid, to move tabs to the center
92
106
 
93
107
  ## [2.1.0]
108
+
94
109
  - Convert Pagination to href instead of React Router Link
95
110
 
96
111
  ## [2.0.0]
112
+
97
113
  - Remove swiper dependency
114
+
98
115
  ## [1.28.0]
116
+
99
117
  - Add new RadioGroup component
100
118
  - Progress: add the steps
101
119
  - Compact header: hide CTA if the prop is undefined
102
120
  - Compact header: change highlight color for Stream variant
103
121
 
104
122
  ## [1.27.1]
123
+
105
124
  - Fixed failing test on timer component
106
125
 
107
126
  ## [1.27.0]
127
+
108
128
  - ContentSummary component can now be configured to be fully clickable
109
129
 
110
130
  ## [1.26.0]
131
+
111
132
  - MiniCard and MinimalCarousel: add new components
112
133
 
113
134
  ## [1.25.2]
135
+
114
136
  - Now clicking on the gray overlay closes the search bar
115
137
 
116
138
  ## [1.25.1]
139
+
117
140
  - Stepper: Properly export component
118
141
 
119
142
  ## [1.25.0]
143
+
120
144
  - Stepper: Add Stepper component
121
145
 
122
146
  ## [1.24.2]
147
+
123
148
  - Increase Upsell Card Flag character limit to 30
124
149
 
125
150
  ## [1.24.1]
151
+
126
152
  - Include link field to Upsell Cards
127
153
 
128
154
  ## [1.24.0]
155
+
129
156
  - Implement Upsell Section & Upsell Cards
130
157
 
158
+ ## [1.23.2-b]
159
+
160
+ - Add Stepper component
161
+ - Fix solo negative sign NaN bug
162
+ -
163
+
131
164
  ## [1.23.2]
165
+
132
166
  - Fix BrandingStyle not showing bug
133
167
 
134
168
  ## [1.23.1]
169
+
135
170
  - Fix enum on BrandingStyle
136
171
 
137
172
  ## [1.23.0]
173
+
138
174
  - Re-enabled compact header on iOS
139
175
 
140
176
  ## [1.22.0]
177
+
141
178
  - TextArea: Added new TextArea component
142
179
  - TickBox: Added disabled and error states
143
180
 
144
181
  ## [1.21.1]
145
- - Made select state reset behaviour opt-in
182
+
183
+ - Compact PageHeading: Refactored to support iOS devices
146
184
 
147
185
  ## [1.21.0]
186
+
148
187
  - TextLogo: add new component
149
188
  - Compact PageHeading: swap logo with TextLogo to fix iOS issues
150
189
 
190
+ ## [1.20.2-a]
191
+
192
+ - Made select state reset behaviour opt-in
193
+
151
194
  ## [1.20.2]
195
+
152
196
  - Card: change cursor to default for cards without buttons
153
197
  - HighlightsCarousel: hide button in case there are no text for them
154
198
 
155
199
  ## [1.20.1]
200
+
156
201
  - Reset the select component's selected value to the first option if options change
157
202
 
158
203
  ## [1.20.0]
204
+
159
205
  - Tickbox: Add black-on-white option
206
+
160
207
  ## [1.19.0]
208
+
161
209
  - Add timer to navigation basket
210
+
162
211
  ## [1.18.3]
212
+
163
213
  - iOS devices show image instead of video for Compact PageHeading
164
214
 
165
215
  ## [1.18.1-2]
216
+
166
217
  - Fix iOS exception on VideoControls
167
218
 
168
219
  ## [1.18.0]
220
+
169
221
  - Add Compact PageHeading component
170
222
 
171
223
  ## [1.17.0]
224
+
172
225
  - Add Page Heading Panel variant
173
226
 
174
227
  ## [1.16.0]
228
+
175
229
  - Implemented a new Timer component
176
230
  - Progress: extended the component, added it to Storybook
177
231
  - PromoWithTags: added Timer component
@@ -180,290 +234,423 @@
180
234
  - Card: added label
181
235
 
182
236
  ## [1.15.1]
237
+
183
238
  - Change to pagination component to align page numbers with URL numbers.
184
239
 
185
240
  ## [1.15.0]
186
- - Implemented a new Select component
241
+
242
+ - Add Compact PageHeading component
187
243
 
188
244
  ## [1.14.0]
245
+
189
246
  - Added standfirst functionality to Accordion/ Accordions component and theme for Schools Platform
190
247
 
191
248
  ## [1.13.2]
249
+
192
250
  - Add styled-components to dev-dependencies, to fix issues with tests that appear after adding the new styled components
193
251
 
194
252
  ## [1.13.1]
253
+
195
254
  - AnchorTabBar: fix the issues on mobile devices that are related to scroll/stickiness
196
255
 
197
256
  ## [1.13.0]
257
+
198
258
  - Implemented a new TextField component
199
259
 
200
260
  ## [1.12.4]
261
+
201
262
  - Search: change copy
202
263
 
203
264
  ## [1.12.0]
265
+
204
266
  - Search: Extend ContentSummary and SearchBar components to support new search results
205
267
 
268
+ ## [1.11.0-a]
269
+
270
+ - Pagination: add new component
271
+
206
272
  ## [1.11.0]
273
+
207
274
  - Carousels: Rewrite logic that cuts description, to support older browsers
208
275
 
276
+ ## [1.10.0-a]
277
+
278
+ - ContentSummary: make image clickable
279
+
209
280
  ## [1.10.0]
281
+
210
282
  - PageHeadingImpact: Replace CSS background-image with HTML image element
211
283
 
212
284
  ## [1.9.0]
285
+
213
286
  - Card: Add a new prop for the hover line color
214
287
 
288
+ ## [1.9.0-c]
289
+
290
+ - ContentSummary: make image clickable
291
+
292
+ ## [1.9.0-b]
293
+
294
+ - ContentSummary: change image size
295
+ - SearchBar: Export component
296
+
297
+ ## [1.9.0-a]
298
+
299
+ - ContentSummary: change image props
300
+
301
+ ## [1.9.0]
302
+
303
+ - Card: Add a new prop for the hover line color
304
+
305
+ ## [1.8.1-h]
306
+
307
+ - ContentSummary: add exports
308
+
309
+ ## [1.8.1-g]
310
+
311
+ - ContentSummary: refactor
312
+
313
+ ## [1.8.1-f]
314
+
315
+ - ContentSummary: update conditional rendering
316
+
317
+ ## [1.8.1-c]
318
+
319
+ - ContentSummary: update for Search results
320
+ - ContentSummarySection: remove
321
+
322
+ ## [1.8.1-b]
323
+
324
+ - Card: add new prop for the line color on hover
325
+
215
326
  ## [1.8.0]
327
+
216
328
  - SearchBar: Disable
217
329
 
218
330
  ## [1.7.2]
331
+
219
332
  - Add imageAltText to Card component
220
333
 
221
334
  ## [1.7.0]
335
+
222
336
  - Add new ContentSummary component
223
337
  - Add new ContentSummarySection component
224
338
  - Add Content Summary Section and individual Content Summaries
225
339
 
226
340
  ## [1.6.3]
341
+
227
342
  - Add exports for zIndexes
228
343
 
229
344
  ## [1.6.2]
230
- - ImpactHeader: add alt text for sponsors logo custom image
345
+
346
+ - ImpactHeader: add alt text for sponsors logo custom image
231
347
 
232
348
  ## [1.6.1]
349
+
233
350
  - PageHeadingHighlight component: update exports
234
351
 
235
352
  ## [1.6.0]
353
+
236
354
  - Add new PageHeadingHighlight component
237
355
 
238
356
  ## [1.5.0]
357
+
239
358
  - PageHeading: decrease header height when title is not available
240
359
 
241
360
  ## [1.4.0]
361
+
242
362
  - ImpactHeader: make it possible to pass custom image as a sponsor logo
243
363
 
244
364
  ## [1.3.1]
365
+
245
366
  - Enable reduced size textLinks on PromoWithTags/asCard
246
367
 
247
368
  ## [1.3.0]
369
+
248
370
  - Add Static Actvivity Cards as PromoWithTags variant
249
371
 
250
372
  ## [1.2.0]
251
- - Card: buttons do not change position on mobiles;
373
+
374
+ - Card: buttons do not change position on mobiles;
252
375
 
253
376
  ## [1.1.0]
377
+
254
378
  - TitleWithCTA: fix cases with a long title
255
379
  - Card: add pointer cursor to container
256
380
 
257
381
  ## [0.9.0]
382
+
258
383
  - PromoWithTags: Add margin under ExtraContent iframe
259
384
 
260
385
  ## [0.8.0]
386
+
261
387
  - Card component: buttons are aligned by height
262
388
  - Highlight carousel: added possibility to display two CTAs
263
389
 
264
390
  ## [0.7.50]
391
+
265
392
  - Add Static Actvivity Cards
266
393
 
267
394
  ## [0.7.49]
395
+
268
396
  - Change button behaviour on stream and DED pages
269
397
 
270
398
  ## [0.7.48]
399
+
271
400
  - Add background themes to Information component
272
401
 
273
402
  ## [0.7.47]
403
+
274
404
  - PromoWithTags: Swap Content & ExtraContent divs to correct keyboard tab order
275
405
 
276
406
  ## [0.7.46]
407
+
277
408
  - Information: Add new Information component
278
409
 
279
410
  ## [0.7.45]
411
+
280
412
  - PromoWithTags: extend the component to handle extra content
281
413
 
282
414
  ## [0.7.441]
415
+
283
416
  - PageHeading: increase max line height for mobile devices
284
417
 
285
418
  ## [0.7.44]
419
+
286
420
  - PromoWithTags, PromoWithTitle: change grid for text content on tablet view
287
421
 
288
422
  ## [0.7.43]
423
+
289
424
  - AnchorTabBar: fix the typo in the name of the component
290
425
  - PromoWithTags: increase spacing between tags and body text
291
426
  - PromoWithTags: change prop name for subtags
292
427
 
293
428
  ## [0.7.42]
429
+
294
430
  - Livechat: Add more branded fields
295
431
 
296
432
  ## [0.7.41]
433
+
297
434
  - PromoWithTags: convert the checks value to boolean
298
435
 
299
436
  ## [0.7.40]
437
+
300
438
  - Add new PromoWithTags component
301
439
  - StickyBar: remove bottom border for mobile viewport
302
440
 
303
441
  ## [0.7.39]
442
+
304
443
  - Livechat: restyling
305
444
 
306
445
  ## [0.7.38]
446
+
307
447
  - PromoWithTitle: add styles for headings
308
448
 
309
449
  ## [0.7.37]
450
+
310
451
  - Tabs: Fix nav item spacing for large desktop displays
311
452
 
312
453
  ## [0.7.36]
313
- - Update PromowithTitle component with tags and change highlight color for text and title in Stream Header
454
+
455
+ - Update PromowithTitle component with tags and change highlight color for text and title in Stream Header
314
456
 
315
457
  ## [0.7.35]
458
+
316
459
  - Add new StickyBar component
317
460
 
318
461
  ## [0.7.34]
462
+
319
463
  - Tabs: Left-align last dropdown menu in the navigation bar
320
464
 
321
465
  ## [0.7.33]
466
+
322
467
  - Livechat: add Talkdesk Livechat injection component
323
468
 
324
469
  ## [0.7.32]
470
+
325
471
  - Carousels: extend character limit for description
326
472
 
327
473
  ## [0.7.31]
474
+
328
475
  - Card: add image alt text as a prop
329
476
 
330
477
  ## [0.7.30]
478
+
331
479
  - Navigation: add possibility to pass basket link as prop
332
480
 
333
481
  ## [0.7.29]
482
+
334
483
  - TextOnly: change spacing for the headings
335
484
 
336
485
  ## [0.7.28]
486
+
337
487
  - Order PeopleListing component by presence of headshot
338
488
  - Show four listings per row on large desktop
339
489
 
340
490
  ## [0.7.27]
491
+
341
492
  - Extend ContactCard capabilities
342
493
  - Extend Tertiary Button text length
343
494
 
344
495
  ## [0.7.26]
496
+
345
497
  - Add storybook-deployer package
346
498
  - Update README with instructions for deployment
347
499
 
348
500
  ## [0.7.25]
501
+
349
502
  - PeopleListing: add headshot
350
503
 
351
504
  ## [0.7.24]
505
+
352
506
  - Add new ContactCard component
353
507
 
354
508
  ## [0.7.23]
509
+
355
510
  - Accordion: make accordion keyboard-navigable
356
511
 
357
512
  ## [0.7.22]
513
+
358
514
  - Add new AnnouncementBanner component
359
515
 
360
516
  ## [0.7.21]
517
+
361
518
  - PageHeading: add a possibility to handle bold and italic in text
362
519
  - Header-2: fix font size and line-height
363
520
 
364
521
  ## [0.7.20]
522
+
365
523
  - TextOnly: fix spacing between the elements
366
524
 
367
525
  ## [0.7.19]
526
+
368
527
  - TextOnly: extend styles for embedded headers and links
369
528
 
370
529
  ## [0.7.18]
530
+
371
531
  - Quote: fix qoute signs
372
532
 
373
533
  ## [0.7.17]
534
+
374
535
  - Add new Quote component
375
536
 
376
537
  ## [0.7.16]
538
+
377
539
  - Card: fix title font size for tablet
378
540
 
379
541
  ## [0.7.15]
542
+
380
543
  - Tickbox: fix keyboard key value
381
544
 
382
545
  ## [0.7.14]
546
+
383
547
  - Fix keyboard accessibility for Tickbox
384
548
 
385
549
  ## [0.7.13]
550
+
386
551
  - Fix Carousel Card typography
387
552
  - Fix Impact Header Grid
388
553
  - Fix Footer Grid
389
554
  - Add additional font sizes for tablet
390
555
 
391
556
  ## [0.7.12]
557
+
392
558
  - Tickbox: fixed issue with component's state updating
393
559
 
394
560
  ## [0.7.11]
561
+
395
562
  - PromoWithTitle: align image vertically
396
563
 
397
564
  ## [0.7.10]
565
+
398
566
  - Theme: increases font size
399
567
 
400
568
  ## [0.7.9]
569
+
401
570
  - Impact: fix sponsor click and font size on mobile
402
571
  - Carousel: add buttons to tablet
403
572
  - Navigation: position fixed when menu is open on mobile
404
573
  - Highlight Carousel: add html text to short description
405
574
 
406
575
  ## [0.7.8]
576
+
407
577
  - TitleWithCTA: add message prop
408
578
 
409
579
  ## [0.7.7]
580
+
410
581
  - Tabs: close dropdown when it is clicked twice
411
582
 
412
583
  ## [0.7.6]
584
+
413
585
  - Add new initOpen prop to Accordion component
414
586
 
415
587
  ## [0.7.5]
588
+
416
589
  - Fix Styling in PeopleListing on Desktop
417
590
 
418
591
  ## [0.7.4]
592
+
419
593
  - Fix git README
420
594
 
421
595
  ## [0.7.3]
596
+
422
597
  - Fix Styling in PeopleListing on Mobile
423
598
 
424
599
  ## [0.7.2]
600
+
425
601
  - Add align center image in Editorial component
426
602
  - Export ControlledDropdown component
427
603
 
428
604
  ## [0.7.1]
605
+
429
606
  - Fix TitleWithCTA bug (visualization in two lines) in tablet
430
607
  - Export TextLink component
431
608
  - PeopleListing: custom person separator
432
609
 
433
610
  ## [0.7.0]
611
+
434
612
  - PeopleListing: replace people prop by roles prop
435
613
 
436
614
  ## [0.6.0]
615
+
437
616
  - Refactor the AnchorTabBar to separate page title and buttons
438
617
  - Add new TitleWithCTA component
439
618
  - Export Tab component
440
619
 
441
620
  ## [0.5.11]
621
+
442
622
  - Add Tickbox component and TickboxMode enum
443
623
  - PageHeading: fix typography
444
624
 
445
625
  ## [0.5.10]
626
+
446
627
  - Highlights Carousel: tablet layout improvements
447
628
  - Navigation improvements for small desktops.
448
629
  - Hide Rotator Buttons in the Hihghlight Carousel when there is only one event
449
630
 
450
631
  ## [0.5.9]
632
+
451
633
  - Reduce tablet grid margin from 50px to 32px.
452
634
  - Add alternative to aspect-ratio css attribute.
453
635
 
454
636
  ## [0.5.8]
637
+
455
638
  - PromoWithTitle links style
456
639
 
457
640
  ## [0.5.7]
641
+
458
642
  - Added Star icon to Iconography
459
643
 
460
644
  ## [0.5.6]
645
+
461
646
  - Added Favourite and Favourite Full icons to Iconography
462
647
 
463
648
  ## [0.5.5]
649
+
464
650
  - Export ImageAspectRatioWrapper component and AspectRatio enum
465
651
 
466
652
  ## [0.5.4]
653
+
467
654
  - Fix Card typography
468
655
  - Fix Carousel title typography
469
656
  - Fix Image Carousel size
@@ -472,51 +659,63 @@
472
659
  - Fix Anchor bar internal navigation
473
660
 
474
661
  ## [0.5.3]
662
+
475
663
  - Handle keyboard events using key attribute
476
664
 
477
665
  ## [0.5.2]
666
+
478
667
  - Highlights Carousel: info change swiping slide
479
668
  - Fix RotatorButtons a11y
480
669
 
481
670
  ## [0.5.1]
671
+
482
672
  - Highlights Carousel: fix box-sizing
483
673
 
484
674
  ## [0.5.0]
675
+
485
676
  - Highlights Carousel: new slides props (breaking change)
486
677
  - Fix in PageHeadingImpact image
487
678
 
488
679
  ## [0.4.4]
680
+
489
681
  - AnchorTabBar a11y: added tabIndex to links
490
682
 
491
683
  ## [0.4.3]
684
+
492
685
  - Prevent focus when navigation tab is clicked
493
686
 
494
687
  ## [0.4.2]
688
+
495
689
  - Highlights Carousel Components
496
690
  - Keyboard navigation fix for Navigation Component
497
691
 
498
692
  ## [0.4.1]
693
+
499
694
  - Swiper included as dependency
500
695
  - Fix for italics in Editorial, Card and PromoWithTitle components
501
696
  - Extra Props for AnchorTabBar
502
697
 
503
698
  ## [0.4.0]
699
+
504
700
  - Navigation Logo breaking change
505
701
  - Colors enum exported as in types
506
702
 
507
703
  ## [0.3.9]
704
+
508
705
  - Added Carousel Component
509
706
  - Dropdowns overlap fix
510
707
  - z-index fixes (for cards overlapping Anchor Tabs)
511
708
  - Navigation menu alignment fix
512
709
 
513
710
  ## [0.3.8]
711
+
514
712
  - Add possibility to configure GridItem for TextOnly component
515
713
  - Rich Text Editor Styling fix
516
714
  - Tweaks to Button layout for components
517
715
  - Anchor navigation arrows fix
518
716
 
519
717
  ## [0.3.7]
718
+
520
719
  - Typography change for Subtitle 2
521
720
  - AltHeader, BodyText, Header, Overline and Subtitle Components
522
721
  - REMOVED Heading Component - replaced by Header Component
@@ -524,22 +723,26 @@
524
723
  - made 'devices' public
525
724
 
526
725
  ## [0.3.6]
726
+
527
727
  - PageHeading Component
528
728
  - SectionTitle multiline fix
529
729
 
530
730
  ## [0.3.5]
731
+
531
732
  - Fix for Searchbox border on iOS
532
733
  - Fix for Accordion - Mobile Styling Issue
533
734
  - Fix for Card Component - Styling Issues
534
735
  - Change in Search layout
535
736
 
536
737
  ## [0.3.4]
738
+
537
739
  - Added Rotator Buttons
538
740
  - General Gotham SSm A & B font setup fixes
539
741
  - Fix for Footer font and size in mobile view
540
742
  - Subtitles 2 typography changes
541
743
 
542
744
  ## [0.3.3]
745
+
543
746
  - Added AnchorTabBar Component
544
747
  - Added Accordion Component
545
748
  - Added Card Component
@@ -547,10 +750,13 @@
547
750
  - Fix for Navigation Search font and mobile view
548
751
 
549
752
  ## [0.3.0]
753
+
550
754
  - Design system project renamed and moved to chord
551
755
 
552
756
  ## [0.2.0]
553
- - public NPM Library
757
+
758
+ - public NPM Library
554
759
 
555
760
  ## [0.1.0]
761
+
556
762
  - Initial version