@telus-uds/system-theme-tokens 4.11.0 → 4.13.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 +19 -2
- package/build/cjs/components.js +45 -27
- package/build/esm/components.js +45 -27
- package/package.json +1 -1
- package/src/components.js +45 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,29 @@
|
|
|
1
1
|
# Change Log - @telus-uds/system-theme-tokens
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 04 Sep 2025 06:46:41 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 4.13.0
|
|
8
|
+
|
|
9
|
+
Thu, 04 Sep 2025 06:46:41 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- `Tabs`: new tokens added for the new dropdown feature for xs and sm viewports (35577399+JoshHC@users.noreply.github.com)
|
|
14
|
+
|
|
15
|
+
## 4.12.0
|
|
16
|
+
|
|
17
|
+
Fri, 15 Aug 2025 00:52:15 GMT
|
|
18
|
+
|
|
19
|
+
### Minor changes
|
|
20
|
+
|
|
21
|
+
- `ToggleSwitch`: add new values in tokens (sergio.ramirez@telus.com)
|
|
22
|
+
- `ButtonDropdown`: add lead-icon and description tokens (guillermo.peitzner@telus.com)
|
|
23
|
+
|
|
7
24
|
## 4.11.0
|
|
8
25
|
|
|
9
|
-
Fri, 25 Jul 2025 04:
|
|
26
|
+
Fri, 25 Jul 2025 04:13:56 GMT
|
|
10
27
|
|
|
11
28
|
### Minor changes
|
|
12
29
|
|
package/build/cjs/components.js
CHANGED
|
@@ -507,44 +507,60 @@ var _default = exports.default = {
|
|
|
507
507
|
textLineStyle: 'textLineStyle'
|
|
508
508
|
},
|
|
509
509
|
ButtonDropdown: {
|
|
510
|
-
icon: 'icon',
|
|
511
|
-
iconPosition: 'position',
|
|
512
|
-
iconSpace: 'integer',
|
|
513
|
-
iconSize: 'size',
|
|
514
|
-
iconColor: 'color',
|
|
515
|
-
iconPadding: 'size',
|
|
516
|
-
iconAlignSelf: 'flexAlign',
|
|
517
|
-
iconTranslateX: 'size',
|
|
518
|
-
iconTranslateY: 'size',
|
|
519
|
-
iconBackground: 'color',
|
|
520
|
-
iconBorderRadius: 'radius',
|
|
521
510
|
// These are duplicated Button tokens. TODO: consider token sets to reduce duplication.
|
|
522
511
|
// https://github.com/telus/universal-design-system/issues/782
|
|
512
|
+
alignSelf: 'flexAlign',
|
|
513
|
+
backgroundColor: 'color',
|
|
523
514
|
borderColor: 'color',
|
|
524
|
-
borderWidth: 'border',
|
|
525
515
|
borderRadius: 'radius',
|
|
526
|
-
|
|
527
|
-
fontSize: 'fontSize',
|
|
516
|
+
borderWidth: 'border',
|
|
528
517
|
color: 'color',
|
|
518
|
+
descriptionFontName: 'fontName',
|
|
519
|
+
descriptionFontSize: 'fontSize',
|
|
520
|
+
descriptionFontWeight: 'fontWeight',
|
|
521
|
+
descriptionTextPaddingBottom: 'size',
|
|
529
522
|
dividerColor: 'color',
|
|
530
|
-
|
|
531
|
-
lineHeight: 'lineHeight',
|
|
532
|
-
textAlign: 'flexJustifyContent',
|
|
533
|
-
alignSelf: 'flexAlign',
|
|
523
|
+
fontSize: 'fontSize',
|
|
534
524
|
fontName: 'fontName',
|
|
535
525
|
fontWeight: 'fontWeight',
|
|
536
|
-
|
|
526
|
+
icon: 'icon',
|
|
527
|
+
iconAlignSelf: 'flexAlign',
|
|
528
|
+
iconBackground: 'color',
|
|
529
|
+
iconBorderRadius: 'radius',
|
|
530
|
+
iconColor: 'color',
|
|
531
|
+
iconPadding: 'size',
|
|
532
|
+
iconPosition: 'position',
|
|
533
|
+
iconSize: 'size',
|
|
534
|
+
iconSpace: 'integer',
|
|
535
|
+
iconTranslateX: 'size',
|
|
536
|
+
iconTranslateY: 'size',
|
|
537
|
+
leadIcon: 'icon',
|
|
538
|
+
leadIconBackgroundColor: 'color',
|
|
539
|
+
leadIconBorderRadius: 'radius',
|
|
540
|
+
leadIconColor: 'color',
|
|
541
|
+
leadIconContainerPaddingBottom: 'size',
|
|
542
|
+
leadIconContainerPaddingLeft: 'size',
|
|
543
|
+
leadIconContainerPaddingRight: 'size',
|
|
544
|
+
leadIconContainerPaddingTop: 'size',
|
|
545
|
+
leadIconPadding: 'size',
|
|
546
|
+
leadIconSize: 'size',
|
|
547
|
+
lineHeight: 'lineHeight',
|
|
548
|
+
minWidth: 'size',
|
|
537
549
|
opacity: 'opacity',
|
|
550
|
+
outerBackgroundColor: 'color',
|
|
551
|
+
outerBorderColor: 'color',
|
|
552
|
+
outerBorderGap: 'size',
|
|
553
|
+
outerBorderWidth: 'border',
|
|
554
|
+
paddingBottom: 'size',
|
|
538
555
|
paddingLeft: 'size',
|
|
539
556
|
paddingRight: 'size',
|
|
540
557
|
paddingTop: 'size',
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
outerBackgroundColor: 'color'
|
|
558
|
+
shadow: 'shadow',
|
|
559
|
+
subtitleColor: 'color',
|
|
560
|
+
textAlign: 'flexJustifyContent',
|
|
561
|
+
textPaddingLeft: 'size',
|
|
562
|
+
textPaddingRight: 'size',
|
|
563
|
+
width: 'size'
|
|
548
564
|
},
|
|
549
565
|
ButtonGroup: {
|
|
550
566
|
space: 'integer',
|
|
@@ -1880,7 +1896,9 @@ var _default = exports.default = {
|
|
|
1880
1896
|
textTransform: 'textTransform',
|
|
1881
1897
|
fontScaleCap: 'fontSize',
|
|
1882
1898
|
fontName: 'fontName',
|
|
1883
|
-
fontWeight: 'fontWeight'
|
|
1899
|
+
fontWeight: 'fontWeight',
|
|
1900
|
+
dropdownIcon: 'icon',
|
|
1901
|
+
dropdownIconExpanded: 'icon'
|
|
1884
1902
|
},
|
|
1885
1903
|
TabBar: {
|
|
1886
1904
|
paddingTop: 'size',
|
package/build/esm/components.js
CHANGED
|
@@ -501,44 +501,60 @@ export default {
|
|
|
501
501
|
textLineStyle: 'textLineStyle'
|
|
502
502
|
},
|
|
503
503
|
ButtonDropdown: {
|
|
504
|
-
icon: 'icon',
|
|
505
|
-
iconPosition: 'position',
|
|
506
|
-
iconSpace: 'integer',
|
|
507
|
-
iconSize: 'size',
|
|
508
|
-
iconColor: 'color',
|
|
509
|
-
iconPadding: 'size',
|
|
510
|
-
iconAlignSelf: 'flexAlign',
|
|
511
|
-
iconTranslateX: 'size',
|
|
512
|
-
iconTranslateY: 'size',
|
|
513
|
-
iconBackground: 'color',
|
|
514
|
-
iconBorderRadius: 'radius',
|
|
515
504
|
// These are duplicated Button tokens. TODO: consider token sets to reduce duplication.
|
|
516
505
|
// https://github.com/telus/universal-design-system/issues/782
|
|
506
|
+
alignSelf: 'flexAlign',
|
|
507
|
+
backgroundColor: 'color',
|
|
517
508
|
borderColor: 'color',
|
|
518
|
-
borderWidth: 'border',
|
|
519
509
|
borderRadius: 'radius',
|
|
520
|
-
|
|
521
|
-
fontSize: 'fontSize',
|
|
510
|
+
borderWidth: 'border',
|
|
522
511
|
color: 'color',
|
|
512
|
+
descriptionFontName: 'fontName',
|
|
513
|
+
descriptionFontSize: 'fontSize',
|
|
514
|
+
descriptionFontWeight: 'fontWeight',
|
|
515
|
+
descriptionTextPaddingBottom: 'size',
|
|
523
516
|
dividerColor: 'color',
|
|
524
|
-
|
|
525
|
-
lineHeight: 'lineHeight',
|
|
526
|
-
textAlign: 'flexJustifyContent',
|
|
527
|
-
alignSelf: 'flexAlign',
|
|
517
|
+
fontSize: 'fontSize',
|
|
528
518
|
fontName: 'fontName',
|
|
529
519
|
fontWeight: 'fontWeight',
|
|
530
|
-
|
|
520
|
+
icon: 'icon',
|
|
521
|
+
iconAlignSelf: 'flexAlign',
|
|
522
|
+
iconBackground: 'color',
|
|
523
|
+
iconBorderRadius: 'radius',
|
|
524
|
+
iconColor: 'color',
|
|
525
|
+
iconPadding: 'size',
|
|
526
|
+
iconPosition: 'position',
|
|
527
|
+
iconSize: 'size',
|
|
528
|
+
iconSpace: 'integer',
|
|
529
|
+
iconTranslateX: 'size',
|
|
530
|
+
iconTranslateY: 'size',
|
|
531
|
+
leadIcon: 'icon',
|
|
532
|
+
leadIconBackgroundColor: 'color',
|
|
533
|
+
leadIconBorderRadius: 'radius',
|
|
534
|
+
leadIconColor: 'color',
|
|
535
|
+
leadIconContainerPaddingBottom: 'size',
|
|
536
|
+
leadIconContainerPaddingLeft: 'size',
|
|
537
|
+
leadIconContainerPaddingRight: 'size',
|
|
538
|
+
leadIconContainerPaddingTop: 'size',
|
|
539
|
+
leadIconPadding: 'size',
|
|
540
|
+
leadIconSize: 'size',
|
|
541
|
+
lineHeight: 'lineHeight',
|
|
542
|
+
minWidth: 'size',
|
|
531
543
|
opacity: 'opacity',
|
|
544
|
+
outerBackgroundColor: 'color',
|
|
545
|
+
outerBorderColor: 'color',
|
|
546
|
+
outerBorderGap: 'size',
|
|
547
|
+
outerBorderWidth: 'border',
|
|
548
|
+
paddingBottom: 'size',
|
|
532
549
|
paddingLeft: 'size',
|
|
533
550
|
paddingRight: 'size',
|
|
534
551
|
paddingTop: 'size',
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
outerBackgroundColor: 'color'
|
|
552
|
+
shadow: 'shadow',
|
|
553
|
+
subtitleColor: 'color',
|
|
554
|
+
textAlign: 'flexJustifyContent',
|
|
555
|
+
textPaddingLeft: 'size',
|
|
556
|
+
textPaddingRight: 'size',
|
|
557
|
+
width: 'size'
|
|
542
558
|
},
|
|
543
559
|
ButtonGroup: {
|
|
544
560
|
space: 'integer',
|
|
@@ -1874,7 +1890,9 @@ export default {
|
|
|
1874
1890
|
textTransform: 'textTransform',
|
|
1875
1891
|
fontScaleCap: 'fontSize',
|
|
1876
1892
|
fontName: 'fontName',
|
|
1877
|
-
fontWeight: 'fontWeight'
|
|
1893
|
+
fontWeight: 'fontWeight',
|
|
1894
|
+
dropdownIcon: 'icon',
|
|
1895
|
+
dropdownIconExpanded: 'icon'
|
|
1878
1896
|
},
|
|
1879
1897
|
TabBar: {
|
|
1880
1898
|
paddingTop: 'size',
|
package/package.json
CHANGED
package/src/components.js
CHANGED
|
@@ -501,44 +501,60 @@ export default {
|
|
|
501
501
|
textLineStyle: 'textLineStyle'
|
|
502
502
|
},
|
|
503
503
|
ButtonDropdown: {
|
|
504
|
-
icon: 'icon',
|
|
505
|
-
iconPosition: 'position',
|
|
506
|
-
iconSpace: 'integer',
|
|
507
|
-
iconSize: 'size',
|
|
508
|
-
iconColor: 'color',
|
|
509
|
-
iconPadding: 'size',
|
|
510
|
-
iconAlignSelf: 'flexAlign',
|
|
511
|
-
iconTranslateX: 'size',
|
|
512
|
-
iconTranslateY: 'size',
|
|
513
|
-
iconBackground: 'color',
|
|
514
|
-
iconBorderRadius: 'radius',
|
|
515
504
|
// These are duplicated Button tokens. TODO: consider token sets to reduce duplication.
|
|
516
505
|
// https://github.com/telus/universal-design-system/issues/782
|
|
506
|
+
alignSelf: 'flexAlign',
|
|
507
|
+
backgroundColor: 'color',
|
|
517
508
|
borderColor: 'color',
|
|
518
|
-
borderWidth: 'border',
|
|
519
509
|
borderRadius: 'radius',
|
|
520
|
-
|
|
521
|
-
fontSize: 'fontSize',
|
|
510
|
+
borderWidth: 'border',
|
|
522
511
|
color: 'color',
|
|
512
|
+
descriptionFontName: 'fontName',
|
|
513
|
+
descriptionFontSize: 'fontSize',
|
|
514
|
+
descriptionFontWeight: 'fontWeight',
|
|
515
|
+
descriptionTextPaddingBottom: 'size',
|
|
523
516
|
dividerColor: 'color',
|
|
524
|
-
|
|
525
|
-
lineHeight: 'lineHeight',
|
|
526
|
-
textAlign: 'flexJustifyContent',
|
|
527
|
-
alignSelf: 'flexAlign',
|
|
517
|
+
fontSize: 'fontSize',
|
|
528
518
|
fontName: 'fontName',
|
|
529
519
|
fontWeight: 'fontWeight',
|
|
530
|
-
|
|
520
|
+
icon: 'icon',
|
|
521
|
+
iconAlignSelf: 'flexAlign',
|
|
522
|
+
iconBackground: 'color',
|
|
523
|
+
iconBorderRadius: 'radius',
|
|
524
|
+
iconColor: 'color',
|
|
525
|
+
iconPadding: 'size',
|
|
526
|
+
iconPosition: 'position',
|
|
527
|
+
iconSize: 'size',
|
|
528
|
+
iconSpace: 'integer',
|
|
529
|
+
iconTranslateX: 'size',
|
|
530
|
+
iconTranslateY: 'size',
|
|
531
|
+
leadIcon: 'icon',
|
|
532
|
+
leadIconBackgroundColor: 'color',
|
|
533
|
+
leadIconBorderRadius: 'radius',
|
|
534
|
+
leadIconColor: 'color',
|
|
535
|
+
leadIconContainerPaddingBottom: 'size',
|
|
536
|
+
leadIconContainerPaddingLeft: 'size',
|
|
537
|
+
leadIconContainerPaddingRight: 'size',
|
|
538
|
+
leadIconContainerPaddingTop: 'size',
|
|
539
|
+
leadIconPadding: 'size',
|
|
540
|
+
leadIconSize: 'size',
|
|
541
|
+
lineHeight: 'lineHeight',
|
|
542
|
+
minWidth: 'size',
|
|
531
543
|
opacity: 'opacity',
|
|
544
|
+
outerBackgroundColor: 'color',
|
|
545
|
+
outerBorderColor: 'color',
|
|
546
|
+
outerBorderGap: 'size',
|
|
547
|
+
outerBorderWidth: 'border',
|
|
548
|
+
paddingBottom: 'size',
|
|
532
549
|
paddingLeft: 'size',
|
|
533
550
|
paddingRight: 'size',
|
|
534
551
|
paddingTop: 'size',
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
outerBackgroundColor: 'color'
|
|
552
|
+
shadow: 'shadow',
|
|
553
|
+
subtitleColor: 'color',
|
|
554
|
+
textAlign: 'flexJustifyContent',
|
|
555
|
+
textPaddingLeft: 'size',
|
|
556
|
+
textPaddingRight: 'size',
|
|
557
|
+
width: 'size'
|
|
542
558
|
},
|
|
543
559
|
ButtonGroup: {
|
|
544
560
|
space: 'integer',
|
|
@@ -1886,7 +1902,9 @@ export default {
|
|
|
1886
1902
|
textTransform: 'textTransform',
|
|
1887
1903
|
fontScaleCap: 'fontSize',
|
|
1888
1904
|
fontName: 'fontName',
|
|
1889
|
-
fontWeight: 'fontWeight'
|
|
1905
|
+
fontWeight: 'fontWeight',
|
|
1906
|
+
dropdownIcon: 'icon',
|
|
1907
|
+
dropdownIconExpanded: 'icon'
|
|
1890
1908
|
},
|
|
1891
1909
|
TabBar: {
|
|
1892
1910
|
paddingTop: 'size',
|