@telus-uds/system-theme-tokens 2.5.0 → 2.7.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 +6 -0
- package/components.js +108 -2
- package/package.json +2 -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
|
|
3
|
+
This log was last generated on Fri, 14 Oct 2022 19:26:37 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 2.7.0
|
|
8
|
+
|
|
9
|
+
Fri, 14 Oct 2022 19:26:37 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Implementing hide label for pagination on larger screens (tiagohldb@gmail.com)
|
|
14
|
+
- feat: add tokens for TextInput buttons (ruslan.bredikhin@nearform.com)
|
|
15
|
+
- Update `Button` theme with `textLine` and `textLineStyle` (shahzaibkhalidmalik@outlook.com)
|
|
16
|
+
- Bump @telus-uds/system-constants to v1.1.0
|
|
17
|
+
|
|
18
|
+
## 2.6.0
|
|
19
|
+
|
|
20
|
+
Mon, 19 Sep 2022 22:51:24 GMT
|
|
21
|
+
|
|
22
|
+
### Minor changes
|
|
23
|
+
|
|
24
|
+
- Add QuickLinksButton theme (alan.slater@nearform.com)
|
|
25
|
+
- Create QuickLinks component, with themes (alan.slater@nearform.com)
|
|
26
|
+
- implementing timeline component (tiagohldb@gmail.com)
|
|
27
|
+
|
|
7
28
|
## 2.5.0
|
|
8
29
|
|
|
9
|
-
Mon, 12 Sep 2022 20:
|
|
30
|
+
Mon, 12 Sep 2022 20:05:13 GMT
|
|
10
31
|
|
|
11
32
|
### Minor changes
|
|
12
33
|
|
package/appearances.js
CHANGED
|
@@ -127,9 +127,15 @@ module.exports = {
|
|
|
127
127
|
values: ['previous', 'next'],
|
|
128
128
|
description: "Determines which way does the button navigate in Pagination's context",
|
|
129
129
|
type: 'state'
|
|
130
|
+
},
|
|
131
|
+
compact: {
|
|
132
|
+
values: [true],
|
|
133
|
+
description: 'Determines if the "Next" and "Previous" labels should be omitted',
|
|
134
|
+
type: 'state'
|
|
130
135
|
}
|
|
131
136
|
},
|
|
132
137
|
ProgressBar: { inactive },
|
|
138
|
+
QuickLinksList: { hover, focus, pressed },
|
|
133
139
|
Radio: { checked, error, focus, hover, inactive },
|
|
134
140
|
RadioCard: { pressed, checked, error, focus, hover, inactive },
|
|
135
141
|
Search: { hover, focus, inactive },
|
package/components.js
CHANGED
|
@@ -31,7 +31,9 @@ module.exports = {
|
|
|
31
31
|
outerBorderColor: 'color',
|
|
32
32
|
outerBorderWidth: 'border',
|
|
33
33
|
outerBorderGap: 'size',
|
|
34
|
-
outerBackgroundColor: 'color'
|
|
34
|
+
outerBackgroundColor: 'color',
|
|
35
|
+
textLine: 'textLine',
|
|
36
|
+
textLineStyle: 'textLineStyle'
|
|
35
37
|
},
|
|
36
38
|
ButtonGroup: {
|
|
37
39
|
space: 'integer',
|
|
@@ -383,7 +385,8 @@ module.exports = {
|
|
|
383
385
|
iconSize: 'size',
|
|
384
386
|
iconDisplace: 'size',
|
|
385
387
|
width: 'size',
|
|
386
|
-
textAlign: 'flexJustifyContent'
|
|
388
|
+
textAlign: 'flexJustifyContent',
|
|
389
|
+
displayLabel: 'show'
|
|
387
390
|
},
|
|
388
391
|
Progress: {
|
|
389
392
|
backgroundColor: 'color',
|
|
@@ -399,6 +402,88 @@ module.exports = {
|
|
|
399
402
|
outlineColor: 'color',
|
|
400
403
|
outlineWidth: 'border'
|
|
401
404
|
},
|
|
405
|
+
QuickLinks: {
|
|
406
|
+
// Sets which subcomponents are rendered
|
|
407
|
+
list: 'show',
|
|
408
|
+
card: 'show',
|
|
409
|
+
dividers: 'show',
|
|
410
|
+
stackSpace: 'integer',
|
|
411
|
+
stackGap: 'integer',
|
|
412
|
+
stackJustify: 'flexJustifyContent'
|
|
413
|
+
},
|
|
414
|
+
QuickLinksCard: {
|
|
415
|
+
// Card tokens
|
|
416
|
+
flex: 'integer',
|
|
417
|
+
backgroundColor: 'color',
|
|
418
|
+
borderColor: 'color',
|
|
419
|
+
borderRadius: 'radius',
|
|
420
|
+
borderWidth: 'border',
|
|
421
|
+
paddingBottom: 'size',
|
|
422
|
+
paddingLeft: 'size',
|
|
423
|
+
paddingRight: 'size',
|
|
424
|
+
paddingTop: 'size',
|
|
425
|
+
minWidth: 'size',
|
|
426
|
+
shadow: 'shadow'
|
|
427
|
+
},
|
|
428
|
+
QuickLinksList: {
|
|
429
|
+
// List tokens
|
|
430
|
+
dividerColor: 'color',
|
|
431
|
+
dividerSize: 'border',
|
|
432
|
+
iconMarginTop: 'size',
|
|
433
|
+
interItemMargin: 'size',
|
|
434
|
+
interItemMarginWithDivider: 'size',
|
|
435
|
+
itemBulletColor: 'color',
|
|
436
|
+
itemBulletContainerAlign: 'textAlign',
|
|
437
|
+
itemBulletContainerWidth: 'size',
|
|
438
|
+
itemBulletHeight: 'size',
|
|
439
|
+
itemBulletWidth: 'size',
|
|
440
|
+
itemFontName: 'fontName',
|
|
441
|
+
itemFontSize: 'fontSize',
|
|
442
|
+
itemFontWeight: 'fontWeight',
|
|
443
|
+
itemIconColor: 'color',
|
|
444
|
+
itemIconSize: 'size',
|
|
445
|
+
itemLineHeight: 'lineHeight',
|
|
446
|
+
listGutter: 'size',
|
|
447
|
+
|
|
448
|
+
// PressableListItemBase tokens
|
|
449
|
+
backgroundColor: 'color',
|
|
450
|
+
paddingLeft: 'size',
|
|
451
|
+
paddingRight: 'size',
|
|
452
|
+
paddingTop: 'size',
|
|
453
|
+
paddingBottom: 'size'
|
|
454
|
+
},
|
|
455
|
+
QuickLinksButton: {
|
|
456
|
+
// Button tokens
|
|
457
|
+
borderColor: 'color',
|
|
458
|
+
borderWidth: 'border',
|
|
459
|
+
borderRadius: 'radius',
|
|
460
|
+
shadow: 'shadow',
|
|
461
|
+
fontSize: 'fontSize',
|
|
462
|
+
color: 'color',
|
|
463
|
+
lineHeight: 'lineHeight',
|
|
464
|
+
textAlign: 'flexJustifyContent',
|
|
465
|
+
alignSelf: 'flexAlign',
|
|
466
|
+
fontName: 'fontName',
|
|
467
|
+
fontWeight: 'fontWeight',
|
|
468
|
+
backgroundColor: 'color',
|
|
469
|
+
opacity: 'opacity',
|
|
470
|
+
paddingLeft: 'size',
|
|
471
|
+
paddingRight: 'size',
|
|
472
|
+
paddingTop: 'size',
|
|
473
|
+
paddingBottom: 'size',
|
|
474
|
+
width: 'size',
|
|
475
|
+
minWidth: 'size',
|
|
476
|
+
outerBorderColor: 'color',
|
|
477
|
+
outerBorderWidth: 'border',
|
|
478
|
+
outerBorderGap: 'size',
|
|
479
|
+
outerBackgroundColor: 'color',
|
|
480
|
+
|
|
481
|
+
// Icon & IconText
|
|
482
|
+
icon: 'icon',
|
|
483
|
+
iconColor: 'color',
|
|
484
|
+
iconSize: 'size',
|
|
485
|
+
iconSpace: 'integer'
|
|
486
|
+
},
|
|
402
487
|
Radio: {
|
|
403
488
|
checkedBackgroundColor: 'color',
|
|
404
489
|
checkedSize: 'size',
|
|
@@ -732,6 +817,9 @@ module.exports = {
|
|
|
732
817
|
borderWidth: 'border',
|
|
733
818
|
borderColor: 'color',
|
|
734
819
|
borderRadius: 'radius',
|
|
820
|
+
buttonSize: 'size',
|
|
821
|
+
buttonsGap: 'size',
|
|
822
|
+
buttonsPaddingRight: 'size',
|
|
735
823
|
paddingTop: 'size',
|
|
736
824
|
paddingBottom: 'size',
|
|
737
825
|
paddingLeft: 'size',
|
|
@@ -792,6 +880,24 @@ module.exports = {
|
|
|
792
880
|
flexGrow: 'integer',
|
|
793
881
|
flexShrink: 'integer'
|
|
794
882
|
},
|
|
883
|
+
Timeline: {
|
|
884
|
+
dotColor: 'color',
|
|
885
|
+
dotWidth: 'size',
|
|
886
|
+
dotBorderWidth: 'border',
|
|
887
|
+
timelineContainerDirection: 'direction',
|
|
888
|
+
timelineColor: 'color',
|
|
889
|
+
connectorWidth: 'size',
|
|
890
|
+
connectorHeight: 'size',
|
|
891
|
+
lineItemContainerDirection: 'direction',
|
|
892
|
+
lineContainerFlexSize: 'integer',
|
|
893
|
+
lineItemAlign: 'flexAlign',
|
|
894
|
+
lineItemDirection: 'direction',
|
|
895
|
+
lineItemMarginRight: 'size',
|
|
896
|
+
lineItemMarginBottom: 'size',
|
|
897
|
+
itemContentFlexSize: 'integer',
|
|
898
|
+
itemContentMarginRight: 'size',
|
|
899
|
+
itemContentMarginBottom: 'size'
|
|
900
|
+
},
|
|
795
901
|
Tooltip: {
|
|
796
902
|
backgroundColor: 'color',
|
|
797
903
|
paddingTop: 'size',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/system-theme-tokens",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Theme token schema for UDS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"system"
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"skip": true
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@telus-uds/system-constants": "^1.0
|
|
28
|
+
"@telus-uds/system-constants": "^1.1.0"
|
|
29
29
|
}
|
|
30
30
|
}
|