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