@telus-uds/system-theme-tokens 2.37.0 → 2.39.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 +23 -2
- package/appearances.js +2 -1
- package/components.js +72 -17
- package/package.json +2 -2
- package/tokens.js +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,33 @@
|
|
|
1
1
|
# Change Log - @telus-uds/system-theme-tokens
|
|
2
2
|
|
|
3
|
-
This log was last generated on Fri,
|
|
3
|
+
This log was last generated on Fri, 21 Jul 2023 00:42:38 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 2.39.0
|
|
8
|
+
|
|
9
|
+
Fri, 21 Jul 2023 00:42:38 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- added padding token to Toast (kyle.king2@telus.com)
|
|
14
|
+
|
|
15
|
+
## 2.38.0
|
|
16
|
+
|
|
17
|
+
Fri, 14 Jul 2023 19:47:50 GMT
|
|
18
|
+
|
|
19
|
+
### Minor changes
|
|
20
|
+
|
|
21
|
+
- background color token introduced for tooltip button. (akshay.pandey1@telus.com)
|
|
22
|
+
- added CarouselThumbnail and appearances (kyle.king2@telus.com)
|
|
23
|
+
- update to expanded appearance schema (srikanthkhari@gmail.com)
|
|
24
|
+
- New token fontSize added to use the correct text style for badge component (35577399+JoshHC@users.noreply.github.com)
|
|
25
|
+
- Standardized QuantitySelector (wlsdud194@hotmail.com)
|
|
26
|
+
- Bump @telus-uds/system-constants to v1.3.0
|
|
27
|
+
|
|
7
28
|
## 2.37.0
|
|
8
29
|
|
|
9
|
-
Fri, 07 Jul 2023 19:
|
|
30
|
+
Fri, 07 Jul 2023 19:26:41 GMT
|
|
10
31
|
|
|
11
32
|
### Minor changes
|
|
12
33
|
|
package/appearances.js
CHANGED
|
@@ -49,7 +49,7 @@ const selected = {
|
|
|
49
49
|
|
|
50
50
|
const expanded = {
|
|
51
51
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
52
|
-
values: [true],
|
|
52
|
+
values: [true, false],
|
|
53
53
|
type: 'state'
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -92,6 +92,7 @@ module.exports = {
|
|
|
92
92
|
ButtonDropdown: { focus, hover, pressed, inactive, selected, open },
|
|
93
93
|
ButtonGroupItem: { focus, hover, pressed, inactive, selected },
|
|
94
94
|
CarouselTabsPanelItem: { focus, hover, pressed, inactive, selected },
|
|
95
|
+
CarouselThumbnail: { focus, hover, pressed },
|
|
95
96
|
Checkbox: { checked, error, focus, hover, inactive },
|
|
96
97
|
ChevronLink: { focus, hover, pressed },
|
|
97
98
|
DatePicker: { pressed, selected, focus },
|
package/components.js
CHANGED
|
@@ -170,17 +170,40 @@ module.exports = {
|
|
|
170
170
|
itemPadding: 'size'
|
|
171
171
|
},
|
|
172
172
|
QuantitySelector: {
|
|
173
|
-
leftIcon: 'icon',
|
|
174
|
-
rightIcon: 'icon',
|
|
175
|
-
iconSize: 'size',
|
|
176
|
-
borderColor: 'color',
|
|
177
173
|
inputBorderColor: 'color',
|
|
178
174
|
inputBackgroundColor: 'color',
|
|
179
|
-
inputBorderWidth: '
|
|
175
|
+
inputBorderWidth: 'border',
|
|
180
176
|
padding: 'size',
|
|
181
|
-
|
|
177
|
+
paddingLeft: 'size',
|
|
178
|
+
paddingRight: 'size',
|
|
179
|
+
paddingTop: 'size',
|
|
180
|
+
paddingBottom: 'size',
|
|
182
181
|
textColor: 'color',
|
|
183
|
-
|
|
182
|
+
inputWidth: 'size',
|
|
183
|
+
lineHeight: 'lineHeight',
|
|
184
|
+
fontSize: 'fontSize'
|
|
185
|
+
},
|
|
186
|
+
QuantitySelectorSideButton: {
|
|
187
|
+
borderRadius: 'radius',
|
|
188
|
+
borderTopLeftRadius: 'radius',
|
|
189
|
+
borderTopRightRadius: 'radius',
|
|
190
|
+
borderBottomLeftRadius: 'radius',
|
|
191
|
+
borderBottomRightRadius: 'radius',
|
|
192
|
+
borderColor: 'color',
|
|
193
|
+
borderWidth: 'border',
|
|
194
|
+
borderLeftWidth: 'border',
|
|
195
|
+
borderRightWidth: 'border',
|
|
196
|
+
borderTopWidth: 'border',
|
|
197
|
+
borderBottomWidth: 'border',
|
|
198
|
+
padding: 'size',
|
|
199
|
+
paddingLeft: 'size',
|
|
200
|
+
paddingRight: 'size',
|
|
201
|
+
paddingTop: 'size',
|
|
202
|
+
paddingBottom: 'size',
|
|
203
|
+
iconColor: 'color',
|
|
204
|
+
iconSize: 'size',
|
|
205
|
+
icon: 'icon',
|
|
206
|
+
backgroundColor: 'color'
|
|
184
207
|
},
|
|
185
208
|
Footnote: {
|
|
186
209
|
footnoteBackground: 'color',
|
|
@@ -265,6 +288,7 @@ module.exports = {
|
|
|
265
288
|
ActivityIndicator: { size: 'size', thickness: 'border', color: 'color' },
|
|
266
289
|
Badge: {
|
|
267
290
|
fontWeight: 'fontWeight',
|
|
291
|
+
fontSize: 'fontSize',
|
|
268
292
|
fontName: 'fontName',
|
|
269
293
|
backgroundColor: 'color',
|
|
270
294
|
borderColor: 'color',
|
|
@@ -468,15 +492,19 @@ module.exports = {
|
|
|
468
492
|
showPanelTabs: 'show',
|
|
469
493
|
spaceBetweenSlideAndPreviousNextNavigation: 'size',
|
|
470
494
|
spaceBetweenSlideAndPanelNavigation: 'size',
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
495
|
+
stepTrackerCurrentBackgroundColor: 'color'
|
|
496
|
+
},
|
|
497
|
+
CarouselThumbnail: {
|
|
498
|
+
alignItems: 'flexAlign',
|
|
499
|
+
borderColor: 'color',
|
|
500
|
+
borderRadius: 'radius',
|
|
501
|
+
borderWidth: 'border',
|
|
502
|
+
containerPaddingTop: 'size',
|
|
503
|
+
margin: 'size',
|
|
504
|
+
padding: 'size',
|
|
505
|
+
selectedBorderColor: 'color',
|
|
506
|
+
selectedBorderWidth: 'border',
|
|
507
|
+
size: 'size'
|
|
480
508
|
},
|
|
481
509
|
CarouselTabsPanelItem: {
|
|
482
510
|
paddingLeft: 'size',
|
|
@@ -726,6 +754,14 @@ module.exports = {
|
|
|
726
754
|
icon: 'icon',
|
|
727
755
|
backgroundColor: 'color',
|
|
728
756
|
borderRadius: 'radius',
|
|
757
|
+
borderTopLeftRadius: 'radius',
|
|
758
|
+
borderTopRightRadius: 'radius',
|
|
759
|
+
borderBottomLeftRadius: 'radius',
|
|
760
|
+
borderBottomRightRadius: 'radius',
|
|
761
|
+
borderTopWidth: 'border',
|
|
762
|
+
borderBottomWidth: 'border',
|
|
763
|
+
borderLeftWidth: 'border',
|
|
764
|
+
borderRightWidth: 'border',
|
|
729
765
|
borderColor: 'color',
|
|
730
766
|
borderWidth: 'border',
|
|
731
767
|
outerBorderWidth: 'border',
|
|
@@ -1531,7 +1567,24 @@ module.exports = {
|
|
|
1531
1567
|
figcaptionGap: 'size',
|
|
1532
1568
|
textColor: 'color',
|
|
1533
1569
|
imageSize: 'size',
|
|
1534
|
-
icon: 'icon'
|
|
1570
|
+
icon: 'icon',
|
|
1571
|
+
iconFr: 'icon',
|
|
1572
|
+
testimonialFontSizeLarge: 'fontSize',
|
|
1573
|
+
testimonialLineHeightLarge: 'lineHeight',
|
|
1574
|
+
testimonialFontNameLarge: 'fontName',
|
|
1575
|
+
testimonialFontWeightLarge: 'fontWeight',
|
|
1576
|
+
testimonialFontSizeHeading: 'fontSize',
|
|
1577
|
+
testimonialLineHeightHeading: 'lineHeight',
|
|
1578
|
+
testimonialFontNameHeading: 'fontName',
|
|
1579
|
+
testimonialFontWeightHeading: 'fontWeight',
|
|
1580
|
+
authorFontSize: 'fontSize',
|
|
1581
|
+
authorLineHeight: 'lineHeight',
|
|
1582
|
+
authorFontName: 'fontName',
|
|
1583
|
+
authorFontWeight: 'fontWeight',
|
|
1584
|
+
additionalFontSize: 'fontSize',
|
|
1585
|
+
additionalLineHeight: 'lineHeight',
|
|
1586
|
+
additionalFontName: 'fontName',
|
|
1587
|
+
additionalFontWeight: 'fontWeight'
|
|
1535
1588
|
},
|
|
1536
1589
|
TermsAndConditions: {
|
|
1537
1590
|
contentPaddingBottom: 'size',
|
|
@@ -1616,6 +1669,7 @@ module.exports = {
|
|
|
1616
1669
|
animationPaddingBottomBefore: 'size',
|
|
1617
1670
|
animationPaddingBottomAfter: 'size',
|
|
1618
1671
|
animationPaddingTopBefore: 'size',
|
|
1672
|
+
padding: 'size',
|
|
1619
1673
|
animationPaddingTopAfter: 'size',
|
|
1620
1674
|
animationBackgroundColorBefore: 'color',
|
|
1621
1675
|
animationBackgroundColorAfter: 'color',
|
|
@@ -1724,6 +1778,7 @@ module.exports = {
|
|
|
1724
1778
|
},
|
|
1725
1779
|
TooltipButton: {
|
|
1726
1780
|
outerBorderColor: 'color',
|
|
1781
|
+
backgroundColor: 'color',
|
|
1727
1782
|
outerBorderWidth: 'border',
|
|
1728
1783
|
outerBorderGap: 'size',
|
|
1729
1784
|
borderRadius: 'radius',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/system-theme-tokens",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.39.0",
|
|
4
4
|
"description": "Theme token schema for UDS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"system"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"skip": true
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@telus-uds/system-constants": "^1.
|
|
31
|
+
"@telus-uds/system-constants": "^1.3.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"chalk": "^4.1.2",
|
package/tokens.js
CHANGED
|
@@ -87,10 +87,11 @@ const tokenTypes = applyDynamicTypes({
|
|
|
87
87
|
// Width of a border line. To avoid layout shifts where border tokens change, implementations
|
|
88
88
|
// should consider if they need to also subtract this from an internal padding size.
|
|
89
89
|
default: 0,
|
|
90
|
-
nullable:
|
|
90
|
+
nullable: true,
|
|
91
91
|
type: types.number,
|
|
92
92
|
values: {
|
|
93
|
-
zero: 0
|
|
93
|
+
zero: 0,
|
|
94
|
+
none: null
|
|
94
95
|
}
|
|
95
96
|
},
|
|
96
97
|
color: {
|
|
@@ -109,6 +110,7 @@ const tokenTypes = applyDynamicTypes({
|
|
|
109
110
|
nullable: true,
|
|
110
111
|
type: types.number,
|
|
111
112
|
values: {
|
|
113
|
+
none: null,
|
|
112
114
|
zero: 0,
|
|
113
115
|
// On both React Native and Web, a border radius greater than width/height
|
|
114
116
|
// creates a circle or pill effect. Use this to create circles or near-circles;
|