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