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