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