@telus-uds/system-theme-tokens 2.24.0 → 2.26.0

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.
package/CHANGELOG.md CHANGED
@@ -1,12 +1,45 @@
1
1
  # Change Log - @telus-uds/system-theme-tokens
2
2
 
3
- This log was last generated on Mon, 01 May 2023 22:02:12 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 17 May 2023 00:13:27 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 2.26.0
8
+
9
+ Wed, 17 May 2023 00:13:27 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - add 'strikeThroughPosition' token to schema (kyle.king2@telus.com)
14
+ - standardize expand collapse accross all brands (akshay.pandey1@telus.com)
15
+ - Add `feedbackBackgroundColor` in `Select` to override background color of `Feedback` (shahzaibkhalidmalik@outlook.com)
16
+ - Added individual border tokens to Pagination button components (wlsdud194@hotmail.com)
17
+ - update public mobile and description fontFamily bug (samuraix221@hotmail.com)
18
+ - padding added for the iconsize of the notification component (35577399+JoshHC@users.noreply.github.com)
19
+ - Standardize DatePicker for TELUS, Public Mobile, and Koodo (samuraix221@hotmail.com)
20
+
21
+ ### Patches
22
+
23
+ - Fix an issue where `Toast` doesn't render as expected on smaller screens (shahzaibkhalidmalik@outlook.com)
24
+
25
+ ## 2.25.0
26
+
27
+ Tue, 09 May 2023 00:29:54 GMT
28
+
29
+ ### Minor changes
30
+
31
+ - added 'Disclaimer' schema to components (kyle.king2@telus.com)
32
+ - add fontWeight, fontName, color, currentColor tokens to 'Breadcrumbs' schema (kyle.king2@telus.com)
33
+ - Add icon token to Footnote (wlsdud194@hotmail.com)
34
+ - add theme tokens to Navigation bar component (mauricio.batresmontejo@telus.com)
35
+ - add 'VideoPicker' to components schema (kyle.king2@telus.com)
36
+ - font color added as a property to follow the standarization guidelines in the brands for the ribbon components (35577399+JoshHC@users.noreply.github.com)
37
+ - add additional tokens to 'FootnoteLink' & 'PriceLockup' schema (kyle.king2@telus.com)
38
+ - added font props to Table component (ignacio.cuyun@telus.com)
39
+
7
40
  ## 2.24.0
8
41
 
9
- Mon, 01 May 2023 22:02:12 GMT
42
+ Mon, 01 May 2023 22:09:07 GMT
10
43
 
11
44
  ### Minor changes
12
45
 
package/appearances.js CHANGED
@@ -94,6 +94,7 @@ module.exports = {
94
94
  CarouselTabsPanelItem: { focus, hover, pressed, inactive, selected },
95
95
  Checkbox: { checked, error, focus, hover, inactive },
96
96
  ChevronLink: { focus, hover, pressed },
97
+ DatePicker: { pressed, selected, focus },
97
98
  ExpandCollapseControl: { pressed, hover, focus, expanded },
98
99
  ExpandCollapsePanel: { expanded },
99
100
  Feedback: { validation },
@@ -143,6 +144,19 @@ module.exports = {
143
144
  type: 'state'
144
145
  }
145
146
  },
147
+ NavigationBar: {
148
+ focus,
149
+ pressed,
150
+ hover,
151
+ selected,
152
+ expanded,
153
+ viewport: {
154
+ description:
155
+ 'The size label for the current screen viewport based on the current screen width',
156
+ values: viewports.keys,
157
+ type: 'state'
158
+ }
159
+ },
146
160
  Notification: {
147
161
  system: {
148
162
  values: [true],
package/components.js CHANGED
@@ -22,6 +22,39 @@ module.exports = {
22
22
  detailsContainerPadding: 'size',
23
23
  playIconContainerBackground: 'color'
24
24
  },
25
+ VideoPickerThumbnail: {
26
+ splashButtonRadius: 'radius',
27
+ borderWidth: 'border',
28
+ borderColor: 'color',
29
+ borderRadius: 'radius',
30
+ pressablePaddingVertical: 'size',
31
+ pressablePaddingHorizontal: 'size',
32
+ pressableBorderTopWidth: 'border',
33
+ pressableBorderTopColor: 'color',
34
+ pressablePaddingBottom: 'size',
35
+ titleColor: 'color',
36
+ subTitleColor: 'color'
37
+ },
38
+ VideoPickerSlider: {
39
+ previousIcon: 'icon',
40
+ nextIcon: 'icon'
41
+ },
42
+ VideoPicker: {
43
+ framedMaxHeight: 'size',
44
+ framedContainerBackgroundColor: 'color',
45
+ framedContainerBorderWidth: 'border',
46
+ framedContainerBorderColor: 'color',
47
+ framedContainerBorderRadius: 'radius',
48
+ framedContainerPadding: 'size',
49
+ stackViewDividerColor: 'color'
50
+ },
51
+ Disclaimer: {
52
+ color: 'color',
53
+ fontName: 'fontName',
54
+ fontWeight: 'fontWeight',
55
+ fontSize: 'fontSize',
56
+ lineHeight: 'lineHeight'
57
+ },
25
58
  Table: {
26
59
  // variant: compact
27
60
  tablePaddingBottom: 'size',
@@ -35,7 +68,10 @@ module.exports = {
35
68
  cellPaddingTop: 'size', // sharedStyles padding.
36
69
  cellPaddingRight: 'size',
37
70
  cellPaddingLeft: 'size',
38
- cellPaddingBottom: 'size'
71
+ cellPaddingBottom: 'size',
72
+ fontWeight: 'fontWeight',
73
+ fontName: 'fontName',
74
+ fontSize: 'fontSize'
39
75
  },
40
76
  Image: { borderRadius: 'radius' },
41
77
  Spinner: {
@@ -119,7 +155,10 @@ module.exports = {
119
155
  FootnoteLink: {
120
156
  lineHeight: 'lineHeight',
121
157
  paddingLeft: 'size',
122
- paddingRight: 'size'
158
+ paddingRight: 'size',
159
+ color: 'color',
160
+ fontName: 'fontName',
161
+ fontWeight: 'fontWeight'
123
162
  },
124
163
  WaffleGrid: {
125
164
  rowBorderWidth: 'border',
@@ -164,9 +203,13 @@ module.exports = {
164
203
  closeButtonMarginRight: 'size',
165
204
  closeButtonMarginBottom: 'size',
166
205
  closeButtonWidth: 'size',
167
- closeButtonIconSize: 'size'
206
+ closeButtonIconSize: 'size',
207
+ closeIcon: 'icon'
168
208
  },
209
+ // Speical note: The reasoning behind having duplicate fontName/fontWeight tokens is due to the validation of themes, You'll recieve an error when trying to adjust 'fontWeight' without a paired 'fontName' token.
169
210
  PriceLockup: {
211
+ fontName: 'fontName',
212
+ fontWeight: 'fontWeight',
170
213
  footnoteMarginTop: 'size',
171
214
  footnoteGap: 'size',
172
215
  bottomTextMarginTop: 'size',
@@ -174,9 +217,37 @@ module.exports = {
174
217
  bottomLinksMarginLeft: 'size',
175
218
  topTextMarginBottom: 'size',
176
219
  strikeThroughHeight: 'size',
177
- strikeThroughBackground: 'color',
220
+ strikeThroughColor: 'color',
178
221
  fontColor: 'color',
179
- dividerColor: 'color'
222
+ dividerColor: 'color',
223
+ topTextFontSize: 'fontSize',
224
+ strikeThroughPosition: 'size',
225
+ topTextLineHeight: 'lineHeight',
226
+ currencySymbolFontSize: 'fontSize',
227
+ currencySymbolLineHeight: 'lineHeight',
228
+ currencySymbolFontName: 'fontName',
229
+ currencySymbolFontWeight: 'fontWeight',
230
+ amountFontSize: 'fontSize',
231
+ amountLineHeight: 'lineHeight',
232
+ amountLetterSpacing: 'letterSpacing',
233
+ amountFontWeight: 'fontWeight',
234
+ amountFontName: 'fontName',
235
+ centsFontSize: 'fontSize',
236
+ centsLineHeight: 'lineHeight',
237
+ centsFontName: 'fontName',
238
+ centsFontWeight: 'fontWeight',
239
+ topTextFontName: 'fontName',
240
+ topTextFontWeight: 'fontWeight',
241
+ rateFontSize: 'fontSize',
242
+ rateLineHeight: 'lineHeight',
243
+ rateFontName: 'fontName',
244
+ rateFontWeight: 'fontWeight',
245
+ bottomTextFontSize: 'fontSize',
246
+ bottomTextLineHeight: 'lineHeight',
247
+ footnoteLinkColor: 'color',
248
+ footnoteLinkFontName: 'fontName',
249
+ footnoteLinkFontWeight: 'fontWeight',
250
+ footnoteLinkFontSize: 'fontSize'
180
251
  },
181
252
  ActivityIndicator: { size: 'size', thickness: 'border', color: 'color' },
182
253
  Badge: {
@@ -226,11 +297,16 @@ module.exports = {
226
297
  paddingTop: 'size',
227
298
  paddingBottom: 'size',
228
299
  width: 'size',
300
+ height: 'size',
229
301
  minWidth: 'size',
230
302
  iconSize: 'size',
231
303
  iconSpace: 'integer',
232
304
  icon: 'icon',
233
305
 
306
+ borderLeftWidth: 'border',
307
+ borderRightWidth: 'border',
308
+ borderTopWidth: 'border',
309
+ borderBottomWidth: 'border',
234
310
  outerBorderColor: 'color',
235
311
  outerBorderWidth: 'border',
236
312
  outerBorderGap: 'size',
@@ -427,59 +503,54 @@ module.exports = {
427
503
  CheckboxGroup: { space: 'integer', fieldSpace: 'integer' },
428
504
  Divider: { width: 'size', color: 'color' },
429
505
  DatePicker: {
430
- hiddenInputFieldContainerHeight: 'size',
431
- hiddenInputFieldContainerWidth: 'size',
432
- previousIcon: 'icon',
433
- nextIcon: 'icon',
434
- singleDatePickerBorderColor: 'color',
435
- singleDatePickerRadius: 'radius',
436
- singleDatePickerPaddingTopBottom: 'size',
437
- singleDatePickerLeftRight: 'size',
506
+ calendarBackgroundColor: 'color',
507
+ calendarDayBlockedCalendarHoverBackground: 'color',
508
+ calendarDayBlockedCalendarHoverColor: 'color',
509
+ calendarDayDefaultBackgroundColor: 'color',
510
+ calendarDayDefaultBorder: 'border',
511
+ calendarDayDefaultBorderColor: 'color',
512
+ calendarDayDefaultCalendarDaySelectedHoverBackground: 'color',
513
+ calendarDayDefaultCalendarDaySelectedHoverBeforeBackground: 'color',
514
+ calendarDayDefaultCalendarDaySelectedHoverColor: 'color',
515
+ calendarDayDefaultColor: 'color',
516
+ calendarDayDefaultFontName: 'fontName',
517
+ calendarDayDefaultFontSize: 'fontSize',
518
+ calendarDayDefaultFontWeight: 'fontWeight',
519
+ calendarDaySelectedFocusBeforeBackground: 'color',
520
+ calendarDaySelectedHoverBackground: 'color',
521
+ calendarDaySelectedHoverBeforeBackground: 'color',
522
+ calendarDaySelectedHoverBeforeBorderColor: 'color',
523
+ calendarDaySelectedHoverBorderColor: 'color',
524
+ calendarDaySelectedHoverColor: 'color',
525
+ calendarMonthCaptionColor: 'color',
526
+ calendarMonthCaptionFontName: 'fontName',
527
+ calendarMonthCaptionFontSize: 'fontSize',
528
+ calendarMonthCaptionFontWeight: 'fontWeight',
529
+ calendarMonthCaptionLineHeight: 'lineHeight',
530
+ calendarMonthCaptionPaddingBottom: 'size',
438
531
  dateInputBorderColor: 'color',
439
532
  dateInputBorderRadius: 'radius',
440
- invalidInputMixin: 'color',
441
- validInputMixin: 'color',
442
- dateInputHoverBorderColor: 'color',
443
533
  dateInputFocusBorderColor: 'color',
534
+ dateInputHoverBorderColor: 'color',
444
535
  dateInputInsideBorderColor: 'color',
445
536
  dateInputInsideColor: 'color',
446
537
  dateInputStrokeColor: 'color',
447
- calendarMonthCaptionColor: 'color',
448
- calendarMonthCaptionFontSize: 'fontSize',
449
- calendarMonthCaptionLineHeight: 'lineHeight',
450
- calendarMonthCaptionPaddingBottom: 'size',
451
- dayPickerNavigationButtonBorderColor: 'color',
452
- dayPickerNavigationButtonBackgroundColor: 'color',
453
- dayPickerNavigationButtonMaxHeight: 'size',
454
- dayPickerNavigationButtonMaxWidth: 'size',
455
- dayPickerNavigationButtonPadding: 'size',
456
- dayPickerNavigationButtonChildLeft: 'size',
457
- dayPickerNavigationButtonChildRight: 'size',
458
- dayPickerNavigationButtonChildSvgFill: 'color',
459
- dayPickerNavigationButtonDefaultHoverBorderColor: 'color',
460
- dayPickerNavigationSVGHorizontalFill: 'color',
461
538
  dayPickerWeekHeaderColor: 'color',
462
- dayPickerWeekHeaderLineHeight: 'lineHeight',
463
- dayPickerWeekHeaderSmall: 'fontSize',
464
- calendarDayDefaultBorder: 'border',
465
- calendarDayDefaultBorderColor: 'color',
466
- calendarDayDefaultFontSize: 'fontSize',
467
- calendarDayDefaultColor: 'color',
468
- calendarDayDefaultBeforeHeight: 'size',
469
- calendarDayDefaultBeforeWidth: 'size',
470
- calendarDaySelectedHoverBorderColor: 'color',
471
- calendarDaySelectedHoverColor: 'color',
472
- calendarDaySelectedHoverBeforeBackground: 'color',
473
- calendarDayDefaultCalendarDaySelectedHoverColor: 'color',
474
- calendarDayDefaultCalendarDaySelectedHoverBackground: 'color',
475
- calendarDayBlockedCalendarHoverBackground: 'color',
476
- calendarDayBlockedCalendarHoverColor: 'color',
477
- calendarMonthCaptionFontName: 'fontName',
478
539
  dayPickerWeekHeaderFontName: 'fontName',
479
- calendarDayDefaultFontName: 'fontName',
480
- calendarMonthCaptionFontWeight: 'fontWeight',
481
540
  dayPickerWeekHeaderFontWeight: 'fontWeight',
482
- calendarDayDefaultFontWeight: 'fontWeight'
541
+ dayPickerWeekHeaderLineHeight: 'lineHeight',
542
+ dayPickerWeekHeaderSmall: 'fontSize',
543
+ hiddenInputFieldContainerHeight: 'size',
544
+ hiddenInputFieldContainerWidth: 'size',
545
+ dayPickerNavigationButtonPadding: 'size',
546
+ invalidInputMixin: 'color',
547
+ nextIcon: 'icon',
548
+ previousIcon: 'icon',
549
+ singleDatePickerBorderColor: 'color',
550
+ singleDatePickerLeftRight: 'size',
551
+ singleDatePickerPaddingTopBottom: 'size',
552
+ singleDatePickerRadius: 'radius',
553
+ validInputMixin: 'color'
483
554
  },
484
555
  ExpandCollapse: { borderColor: 'color', borderWidth: 'border', borderStyle: 'borderStyle' },
485
556
  ExpandCollapseMini: { borderWidth: 'border' },
@@ -510,7 +581,13 @@ module.exports = {
510
581
  contentPaddingLeft: 'size',
511
582
  contentPaddingRight: 'size',
512
583
  contentPaddingTop: 'size',
513
- contentPaddingBottom: 'size'
584
+ contentPaddingBottom: 'size',
585
+ marginBottom: 'size',
586
+ borderColor: 'color',
587
+ borderRadius: 'radius',
588
+ borderWidth: 'border',
589
+ expandDividerColor: 'color',
590
+ expanddDividerWidth: 'size'
514
591
  },
515
592
  Feedback: {
516
593
  backgroundColor: 'color',
@@ -697,6 +774,32 @@ module.exports = {
697
774
  closeIconSize: 'size',
698
775
  closePadding: 'size'
699
776
  },
777
+ NavigationBar: {
778
+ alignSelf: 'flexAlign',
779
+ backgroundColor: 'color',
780
+ borderColor: 'color',
781
+ borderRadius: 'radius',
782
+ borderWidth: 'border',
783
+ color: 'color',
784
+ fontName: 'fontName',
785
+ fontSize: 'fontSize',
786
+ fontWeight: 'fontWeight',
787
+ lineHeight: 'lineHeight',
788
+ minWidth: 'size',
789
+ opacity: 'opacity',
790
+ outerBackgroundColor: 'color',
791
+ outerBorderColor: 'color',
792
+ outerBorderGap: 'size',
793
+ outerBorderWidth: 'border',
794
+ paddingBottom: 'size',
795
+ paddingLeft: 'size',
796
+ paddingRight: 'size',
797
+ paddingTop: 'size',
798
+ shadow: 'shadow',
799
+ textAlign: 'flexJustifyContent',
800
+ width: 'size',
801
+ icoMenu: 'icon'
802
+ },
700
803
  Notification: {
701
804
  backgroundColor: 'color',
702
805
  borderBottomWidth: 'border',
@@ -720,8 +823,8 @@ module.exports = {
720
823
  iconGap: 'size',
721
824
  dismissIcon: 'icon',
722
825
  dismissIconColor: 'color',
723
- dismissIconSize: 'size',
724
- dismissButtonGap: 'size'
826
+ dismissButtonGap: 'size',
827
+ justifyContent: 'flexJustifyContent'
725
828
  },
726
829
  Pagination: {
727
830
  gap: 'size',
@@ -730,13 +833,28 @@ module.exports = {
730
833
  fontName: 'fontName',
731
834
  fontWeight: 'fontWeight',
732
835
  fontSize: 'fontSize',
733
- lineHeight: 'lineHeight'
836
+ lineHeight: 'lineHeight',
837
+ borderLeftWidth: 'border',
838
+ borderRightWidth: 'border',
839
+ borderTopWidth: 'border',
840
+ borderBottomWidth: 'border',
841
+ borderColor: 'color',
842
+ ellipsisPadding: 'size',
843
+ ellipsisBorderRightWidth: 'border',
844
+ ellipsisBorderLeftWidth: 'border',
845
+ ellipsisBorderTopWidth: 'border',
846
+ ellipsisBorderBottomWidth: 'border',
847
+ ellipsisHeight: 'size'
734
848
  },
735
849
  PaginationPageButton: {
736
850
  borderColor: 'color',
737
- borderWidth: 'border',
851
+ borderLeftWidth: 'border',
852
+ borderRightWidth: 'border',
853
+ borderTopWidth: 'border',
854
+ borderBottomWidth: 'border',
738
855
  borderRadius: 'radius',
739
856
  backgroundColor: 'color',
857
+ height: 'size',
740
858
  paddingLeft: 'size',
741
859
  paddingRight: 'size',
742
860
  paddingTop: 'size',
@@ -755,7 +873,10 @@ module.exports = {
755
873
  },
756
874
  PaginationSideButton: {
757
875
  borderColor: 'color',
758
- borderWidth: 'border',
876
+ borderLeftWidth: 'border',
877
+ borderRightWidth: 'border',
878
+ borderTopWidth: 'border',
879
+ borderBottomWidth: 'border',
759
880
  borderRadius: 'radius',
760
881
  backgroundColor: 'color',
761
882
  paddingLeft: 'size',
@@ -763,6 +884,7 @@ module.exports = {
763
884
  paddingTop: 'size',
764
885
  paddingBottom: 'size',
765
886
  outerBorderColor: 'color',
887
+ outerBorderWidth: 'border',
766
888
  color: 'color',
767
889
  fontName: 'fontName',
768
890
  fontWeight: 'fontWeight',
@@ -774,7 +896,8 @@ module.exports = {
774
896
  iconDisplace: 'size',
775
897
  width: 'size',
776
898
  textAlign: 'flexJustifyContent',
777
- displayLabel: 'show'
899
+ displayLabel: 'show',
900
+ height: 'size'
778
901
  },
779
902
  Progress: {
780
903
  backgroundColor: 'color',
@@ -903,6 +1026,8 @@ module.exports = {
903
1026
  descriptionFontSize: 'fontSize',
904
1027
  descriptionLineHeight: 'lineHeight',
905
1028
  descriptionMarginLeft: 'size',
1029
+ descriptionFontName: 'fontName',
1030
+ descriptionFontWeight: 'fontWeight',
906
1031
  inputBackgroundColor: 'color',
907
1032
  inputBorderColor: 'color',
908
1033
  inputBorderWidth: 'border',
@@ -997,7 +1122,10 @@ module.exports = {
997
1122
  curveWidth: 'size',
998
1123
  curveAfterBackgroundColor: 'color',
999
1124
  curveAfterHeight: 'size',
1000
- gradient: 'gradient'
1125
+ gradient: 'gradient',
1126
+ fontColor: 'color',
1127
+ borderRadiusBottomLeft: 'size',
1128
+ borderRadiusBottomRight: 'size'
1001
1129
  },
1002
1130
  Search: {
1003
1131
  backgroundColor: 'color',
@@ -1058,7 +1186,8 @@ module.exports = {
1058
1186
  iconColor: 'color',
1059
1187
  validationIcon: 'icon',
1060
1188
  validationIconSize: 'size',
1061
- validationIconColor: 'color'
1189
+ validationIconColor: 'color',
1190
+ feedbackBackgroundColor: 'color'
1062
1191
  },
1063
1192
  SideNav: { borderColor: 'color', borderWidth: 'border', borderStyle: 'borderStyle' },
1064
1193
  SideNavItem: {
@@ -1400,8 +1529,14 @@ module.exports = {
1400
1529
  flexShrink: 'integer'
1401
1530
  },
1402
1531
  Breadcrumbs: {
1532
+ fontWeight: 'fontWeight',
1533
+ fontName: 'fontName',
1534
+ fontSize: 'fontSize',
1535
+ color: 'color',
1536
+ currentColor: 'color',
1403
1537
  icon: 'icon',
1404
1538
  iconColor: 'color',
1539
+ iconSize: 'size',
1405
1540
  iconPadding: 'size',
1406
1541
  listItemPadding: 'size'
1407
1542
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/system-theme-tokens",
3
- "version": "2.24.0",
3
+ "version": "2.26.0",
4
4
  "description": "Theme token schema for UDS",
5
5
  "keywords": [
6
6
  "system"