@royaloperahouse/chord 2.2.7-b-chord-development → 2.2.7

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