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