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