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