@telus-uds/system-theme-tokens 3.0.0 → 3.2.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,31 @@
1
1
  # Change Log - @telus-uds/system-theme-tokens
2
2
 
3
- <!-- This log was last generated on Fri, 22 Nov 2024 23:40:07 GMT and should not be manually modified. -->
3
+ This log was last generated on Thu, 19 Dec 2024 04:54:39 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 3.2.0
8
+
9
+ Thu, 19 Dec 2024 04:54:39 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - `Autocomplete`: Enable `tokens` prop to set custom styles for the `maxHeight` and `scroll` behavior. (jaime.tuyuc@telus.com)
14
+
15
+ ## 3.1.0
16
+
17
+ Mon, 02 Dec 2024 20:29:26 GMT
18
+
19
+ ### Minor changes
20
+
21
+ - `Video`: new tokens remainingTimestampMarginRight and remainingTimestampMarginLeft added (35577399+JoshHC@users.noreply.github.com)
22
+ - `Tooltip`: Customized/optional props implemented, max width and min width (shivam.gupta3@telus.com)
23
+ - `Modal`: update component to enable heading bottom border and content spacing (eduardo.pereira1@telus.com)
24
+ - `Status` and `Icon` additional token implemented (shivam.gupta3@telus.com)
25
+
7
26
  ## 3.0.0
8
27
 
9
- Fri, 22 Nov 2024 23:40:07 GMT
28
+ Fri, 22 Nov 2024 23:43:48 GMT
10
29
 
11
30
  ### Major changes
12
31
 
package/components.js CHANGED
@@ -1,5 +1,10 @@
1
1
  // Define the required components and their supported tokens
2
2
  export default {
3
+ Autocomplete: {
4
+ color: 'color',
5
+ maxHeight: 'size',
6
+ overflowY: 'overflow'
7
+ },
3
8
  ActionCard: {
4
9
  actionIcon: 'icon',
5
10
  actionIconColor: 'color',
@@ -170,7 +175,9 @@ export default {
170
175
  paddingRight: 'size',
171
176
  paddingTop: 'size',
172
177
  textColor: 'color',
173
- textLineHeight: 'lineHeight'
178
+ textLineHeight: 'lineHeight',
179
+ iconSize: 'size',
180
+ iconPaddingTop: 'size'
174
181
  },
175
182
  Video: {
176
183
  borderColor: 'color',
@@ -218,6 +225,8 @@ export default {
218
225
  thumbBackground: 'color',
219
226
  timestampMarginLeft: 'size',
220
227
  timestampMarginRight: 'size',
228
+ remainingTimestampMarginLeft: 'size',
229
+ remainingTimestampMarginRight: 'size',
221
230
  trackGradientStart: 'color',
222
231
  trackGradientEnd: 'color',
223
232
  rangeBackground: 'color'
@@ -587,7 +596,11 @@ export default {
587
596
  iconSize: 'size',
588
597
  inputShadow: 'shadow',
589
598
  inputBorderWidth: 'border',
590
- inputBorderColor: 'color'
599
+ inputBorderColor: 'color',
600
+
601
+ // tokens for Autocomplete
602
+ maxHeight: 'size',
603
+ overflowY: 'overflow'
591
604
  },
592
605
  CardGroup: {
593
606
  // Layout
@@ -1005,7 +1018,8 @@ export default {
1005
1018
  scale: 'integer',
1006
1019
  translateX: 'size',
1007
1020
  translateY: 'size',
1008
- width: 'size'
1021
+ width: 'size',
1022
+ paddingTop: 'size'
1009
1023
  },
1010
1024
  InputLabel: {
1011
1025
  gap: 'size',
@@ -1155,15 +1169,20 @@ export default {
1155
1169
  cancelButtonColor: 'color',
1156
1170
  subHeadingMarginTop: 'size',
1157
1171
  headingPaddingRight: 'size',
1172
+ headingPaddingTop: 'size',
1173
+ headingBorderBottomWidth: 'size',
1158
1174
  height: 'size',
1159
1175
  maxWidth: 'size',
1160
1176
  containerPaddingLeft: 'size',
1161
1177
  containerPaddingRight: 'size',
1162
1178
  containerPaddingTop: 'size',
1163
1179
  containerPaddingBottom: 'size',
1180
+ contentPaddingTop: 'size',
1181
+ contentPaddingBottom: 'size',
1164
1182
  backgroundColor: 'color',
1165
1183
  borderRadius: 'radius',
1166
1184
  borderColor: 'color',
1185
+ borderWidth: 'size',
1167
1186
  shadow: 'shadow',
1168
1187
  paddingLeft: 'size',
1169
1188
  paddingRight: 'size',
@@ -2117,7 +2136,9 @@ export default {
2117
2136
  fontWeight: 'fontWeight',
2118
2137
  arrowWidth: 'size',
2119
2138
  arrowBorderRadius: 'radius',
2120
- arrowOffset: 'size'
2139
+ arrowOffset: 'size',
2140
+ maxWidth: 'size',
2141
+ minWidth: 'size'
2121
2142
  },
2122
2143
  TooltipButton: {
2123
2144
  outerBorderColor: 'color',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/system-theme-tokens",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "description": "Theme token schema for UDS",
5
5
  "keywords": [
6
6
  "system"
package/tokens.js CHANGED
@@ -218,6 +218,22 @@ const tokenTypes = applyDynamicTypes({
218
218
  opaque: 1
219
219
  }
220
220
  },
221
+ overflow: {
222
+ // A string describing how an element should handle overflow.
223
+ default: 'visible',
224
+ nullable: true,
225
+ type: types.enum,
226
+ values: {
227
+ visible: 'visible',
228
+ hidden: 'hidden',
229
+ scroll: 'scroll',
230
+ auto: 'auto',
231
+ clip: 'clip',
232
+ inherit: 'inherit',
233
+ initial: 'initial',
234
+ unset: 'unset'
235
+ }
236
+ },
221
237
  integer: {
222
238
  // A fallback token type for integers that have context-specific meaning. Use sparingly.
223
239
  default: null,