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