@telus-uds/system-theme-tokens 3.1.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 +10 -2
- package/components.js +10 -1
- package/package.json +1 -1
- package/tokens.js +16 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
# Change Log - @telus-uds/system-theme-tokens
|
|
2
2
|
|
|
3
|
-
|
|
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
|
+
|
|
7
15
|
## 3.1.0
|
|
8
16
|
|
|
9
|
-
Mon, 02 Dec 2024 20:
|
|
17
|
+
Mon, 02 Dec 2024 20:29:26 GMT
|
|
10
18
|
|
|
11
19
|
### Minor changes
|
|
12
20
|
|
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',
|
|
@@ -591,7 +596,11 @@ export default {
|
|
|
591
596
|
iconSize: 'size',
|
|
592
597
|
inputShadow: 'shadow',
|
|
593
598
|
inputBorderWidth: 'border',
|
|
594
|
-
inputBorderColor: 'color'
|
|
599
|
+
inputBorderColor: 'color',
|
|
600
|
+
|
|
601
|
+
// tokens for Autocomplete
|
|
602
|
+
maxHeight: 'size',
|
|
603
|
+
overflowY: 'overflow'
|
|
595
604
|
},
|
|
596
605
|
CardGroup: {
|
|
597
606
|
// Layout
|
package/package.json
CHANGED
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,
|