@telus-uds/system-theme-tokens 2.62.0 → 2.64.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 +31 -2
- package/appearances.js +3 -1
- package/components.js +79 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,41 @@
|
|
|
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 Wed, 25 Sep 2024 16:57:49 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 2.64.0
|
|
8
|
+
|
|
9
|
+
Wed, 25 Sep 2024 16:57:49 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- `TabBar`: tokens added (35577399+JoshHC@users.noreply.github.com)
|
|
14
|
+
- `Link`: add `inline` variant to `iconPosition` (evander.owusu@telus.com)
|
|
15
|
+
- `CardGroup`: add new padding related tokens (35577399+JoshHC@users.noreply.github.com)
|
|
16
|
+
|
|
17
|
+
### Patches
|
|
18
|
+
|
|
19
|
+
- `DownloadApp`: add tokens schema (Mauricio.BatresMontejo@telus.com)
|
|
20
|
+
|
|
21
|
+
## 2.63.0
|
|
22
|
+
|
|
23
|
+
Mon, 16 Sep 2024 12:35:38 GMT
|
|
24
|
+
|
|
25
|
+
### Minor changes
|
|
26
|
+
|
|
27
|
+
- `ButtonGroup`: add `contained` variant, and new, `backgroundColor`, `borderRadius`, `padding`, and `gap` tokens (jaime.tuyuc@telus.com)
|
|
28
|
+
- `MultiSelectFilter`: add new tokens (guillermo.peitzner@telus.com)
|
|
29
|
+
- `FileUpload`: add component tokens (guillermo.peitzner@telus.com)
|
|
30
|
+
|
|
31
|
+
### Patches
|
|
32
|
+
|
|
33
|
+
- `Status`: add `marginLeft` token (Mauricio.BatresMontejo@telus.com)
|
|
34
|
+
- `Carousel`: fix tokens order (guillermo.peitzner@telus.com)
|
|
35
|
+
|
|
7
36
|
## 2.62.0
|
|
8
37
|
|
|
9
|
-
Thu, 22 Aug 2024 18:
|
|
38
|
+
Thu, 22 Aug 2024 18:25:10 GMT
|
|
10
39
|
|
|
11
40
|
### Minor changes
|
|
12
41
|
|
package/appearances.js
CHANGED
|
@@ -101,6 +101,7 @@ module.exports = {
|
|
|
101
101
|
ChevronLink: { focus, hover, pressed },
|
|
102
102
|
ColourToggle: { focus, hover, pressed, selected },
|
|
103
103
|
DatePicker: { pressed, selected, focus },
|
|
104
|
+
DownloadApp: { focus, hover, pressed },
|
|
104
105
|
ExpandCollapseControl: { pressed, hover, focus, expanded },
|
|
105
106
|
ExpandCollapseMiniControl: { focus },
|
|
106
107
|
ExpandCollapsePanel: { expanded },
|
|
@@ -118,7 +119,7 @@ module.exports = {
|
|
|
118
119
|
iconPosition: {
|
|
119
120
|
description:
|
|
120
121
|
'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
121
|
-
values: ['left', 'right'],
|
|
122
|
+
values: ['left', 'right', 'inline'],
|
|
122
123
|
type: 'state'
|
|
123
124
|
},
|
|
124
125
|
quiet: {
|
|
@@ -252,6 +253,7 @@ module.exports = {
|
|
|
252
253
|
},
|
|
253
254
|
StoryCard: { focus, hover, pressed },
|
|
254
255
|
TabsItem: { focus, hover, pressed, selected },
|
|
256
|
+
TabBarItem: { focus, hover, pressed, selected },
|
|
255
257
|
TagsItem: { focus, hover, pressed, inactive, selected },
|
|
256
258
|
TextInput: { validation, hover, inactive, focus: inputFocus },
|
|
257
259
|
TermsAndConditions: { expanded, focus, hover, pressed },
|
package/components.js
CHANGED
|
@@ -105,6 +105,27 @@ module.exports = {
|
|
|
105
105
|
lineHeight: 'lineHeight'
|
|
106
106
|
},
|
|
107
107
|
// TO DO: Create a separate Cell schema that includes all cell-related tokens.
|
|
108
|
+
FileUpload: {
|
|
109
|
+
buttonBackgroundColor: 'color',
|
|
110
|
+
buttonBorderColor: 'color',
|
|
111
|
+
buttonBorderRadius: 'radius',
|
|
112
|
+
buttonBorderWidth: 'border',
|
|
113
|
+
buttonTextColor: 'color',
|
|
114
|
+
buttonHeight: 'size',
|
|
115
|
+
buttonMinWidth: 'size',
|
|
116
|
+
buttonWidth: 'size',
|
|
117
|
+
notificationBackgroundColor: 'color',
|
|
118
|
+
notificationBorderColor: 'color',
|
|
119
|
+
notificationBorderRadius: 'radius',
|
|
120
|
+
notificationTextColor: 'color',
|
|
121
|
+
notificationDismissButtonGap: 'size',
|
|
122
|
+
notificationDismissIcon: 'icon',
|
|
123
|
+
notificationDismissIconColor: 'color',
|
|
124
|
+
notificationIcon: 'icon',
|
|
125
|
+
notificationIconColor: 'color',
|
|
126
|
+
notificationIconGap: 'size',
|
|
127
|
+
notificationIconSize: 'size'
|
|
128
|
+
},
|
|
108
129
|
Table: {
|
|
109
130
|
cellMinWidth: 'size',
|
|
110
131
|
tablePaddingBottom: 'size',
|
|
@@ -143,6 +164,7 @@ module.exports = {
|
|
|
143
164
|
icon: 'icon',
|
|
144
165
|
iconColor: 'color',
|
|
145
166
|
iconGradient: 'gradient',
|
|
167
|
+
marginLeft: 'size',
|
|
146
168
|
paddingBottom: 'size',
|
|
147
169
|
paddingLeft: 'size',
|
|
148
170
|
paddingRight: 'size',
|
|
@@ -498,7 +520,11 @@ module.exports = {
|
|
|
498
520
|
alignItems: 'flexAlign',
|
|
499
521
|
justifyContent: 'flexJustifyContent',
|
|
500
522
|
flexGrow: 'integer',
|
|
501
|
-
flexShrink: 'integer'
|
|
523
|
+
flexShrink: 'integer',
|
|
524
|
+
backgroundColor: 'color',
|
|
525
|
+
borderRadius: 'radius',
|
|
526
|
+
padding: 'size',
|
|
527
|
+
gap: 'size'
|
|
502
528
|
},
|
|
503
529
|
ButtonGroupItem: {
|
|
504
530
|
// These are duplicated Button tokens. TODO: consider token sets to reduce duplication.
|
|
@@ -576,7 +602,13 @@ module.exports = {
|
|
|
576
602
|
borderBottomRightRadius: 'radius',
|
|
577
603
|
borderTopLeftRadius: 'radius',
|
|
578
604
|
borderTopRightRadius: 'radius',
|
|
579
|
-
outlineOffset: 'size'
|
|
605
|
+
outlineOffset: 'size',
|
|
606
|
+
|
|
607
|
+
// For padding of the card
|
|
608
|
+
paddingTop: 'size',
|
|
609
|
+
paddingBottom: 'size',
|
|
610
|
+
paddingLeft: 'size',
|
|
611
|
+
paddingRight: 'size'
|
|
580
612
|
},
|
|
581
613
|
PreviewCard: {
|
|
582
614
|
flex: 'integer',
|
|
@@ -779,6 +811,17 @@ module.exports = {
|
|
|
779
811
|
innerBubbleBorderRadius: 'radius'
|
|
780
812
|
},
|
|
781
813
|
Divider: { width: 'size', color: 'color' },
|
|
814
|
+
DownloadApp: {
|
|
815
|
+
borderColor: 'color',
|
|
816
|
+
borderWidth: 'border',
|
|
817
|
+
borderGap: 'size',
|
|
818
|
+
borderRadius: 'radius',
|
|
819
|
+
padding: 'size',
|
|
820
|
+
androidENIcon: 'icon',
|
|
821
|
+
androidFRIcon: 'icon',
|
|
822
|
+
iosENIcon: 'icon',
|
|
823
|
+
iosFRIcon: 'icon'
|
|
824
|
+
},
|
|
782
825
|
DatePicker: {
|
|
783
826
|
calendarBackgroundColor: 'color',
|
|
784
827
|
calendarDayBlockedCalendarHoverBackground: 'color',
|
|
@@ -1134,20 +1177,26 @@ module.exports = {
|
|
|
1134
1177
|
direction: 'direction'
|
|
1135
1178
|
},
|
|
1136
1179
|
MultiSelectFilter: {
|
|
1180
|
+
buttonDirection: 'direction',
|
|
1181
|
+
contentMarginBottom: 'size',
|
|
1182
|
+
contentMarginLeft: 'size',
|
|
1183
|
+
contentMarginRight: 'size',
|
|
1184
|
+
contentMarginTop: 'size',
|
|
1185
|
+
contentPaddingLeft: 'size',
|
|
1186
|
+
contentPaddingRight: 'size',
|
|
1137
1187
|
headerFontColor: 'color',
|
|
1138
|
-
headerFontSize: 'fontSize',
|
|
1139
1188
|
headerFontName: 'fontName',
|
|
1189
|
+
headerFontSize: 'fontSize',
|
|
1140
1190
|
headerFontWeight: 'fontWeight',
|
|
1141
1191
|
headerLineHeight: 'lineHeight',
|
|
1142
1192
|
maxHeightSize: 'size',
|
|
1143
1193
|
maxWidthSize: 'size',
|
|
1144
|
-
minWidth: 'size',
|
|
1145
1194
|
minHeight: 'size',
|
|
1146
|
-
|
|
1195
|
+
minWidth: 'size',
|
|
1147
1196
|
subHeaderFontName: 'fontName',
|
|
1148
|
-
subHeaderFontWeight: 'fontWeight',
|
|
1149
1197
|
subHeaderFontSize: 'fontSize',
|
|
1150
|
-
|
|
1198
|
+
subHeaderFontWeight: 'fontWeight',
|
|
1199
|
+
subHeaderLineHeight: 'lineHeight'
|
|
1151
1200
|
},
|
|
1152
1201
|
NavigationBar: {
|
|
1153
1202
|
alignSelf: 'flexAlign',
|
|
@@ -1765,6 +1814,29 @@ module.exports = {
|
|
|
1765
1814
|
fontName: 'fontName',
|
|
1766
1815
|
fontWeight: 'fontWeight'
|
|
1767
1816
|
},
|
|
1817
|
+
TabBar: {
|
|
1818
|
+
paddingTop: 'size',
|
|
1819
|
+
paddingBottom: 'size',
|
|
1820
|
+
borderTopWidth: 'border',
|
|
1821
|
+
borderTopColor: 'color',
|
|
1822
|
+
gap: 'size',
|
|
1823
|
+
backgroundColor: 'color',
|
|
1824
|
+
paddingLeft: 'size',
|
|
1825
|
+
paddingRight: 'size'
|
|
1826
|
+
},
|
|
1827
|
+
TabBarItem: {
|
|
1828
|
+
borderRadius: 'radius',
|
|
1829
|
+
backgroundColor: 'color',
|
|
1830
|
+
paddingTop: 'size',
|
|
1831
|
+
paddingBottom: 'size',
|
|
1832
|
+
fontName: 'fontName',
|
|
1833
|
+
fontWeight: 'fontWeight',
|
|
1834
|
+
color: 'color',
|
|
1835
|
+
lineHeight: 'lineHeight',
|
|
1836
|
+
iconSize: 'size',
|
|
1837
|
+
iconColor: 'color',
|
|
1838
|
+
activeColor: 'color'
|
|
1839
|
+
},
|
|
1768
1840
|
Tags: {
|
|
1769
1841
|
space: 'integer',
|
|
1770
1842
|
direction: 'direction',
|