@telus-uds/theme-koodo 3.28.1 → 3.30.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/build/android/schema.json +755 -553
- package/build/android/theme.json +228 -74
- package/build/ios/schema.json +755 -553
- package/build/ios/theme.json +228 -74
- package/build/rn/schema.json +755 -553
- package/build/rn/theme.js +150 -71
- package/package.json +4 -4
- package/theme.json +155 -66
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Sat, 27 May 2023 00:36:19 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -761,8 +761,20 @@ module.exports = {
|
|
|
761
761
|
}
|
|
762
762
|
},
|
|
763
763
|
ButtonGroup: {
|
|
764
|
-
appearances: {
|
|
765
|
-
|
|
764
|
+
appearances: {
|
|
765
|
+
viewport: {
|
|
766
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
767
|
+
type: 'state',
|
|
768
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
rules: [
|
|
772
|
+
{ if: { viewport: [ 'xs', 'sm' ] }, tokens: { space: 2 } },
|
|
773
|
+
{
|
|
774
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
775
|
+
tokens: { space: 3 }
|
|
776
|
+
}
|
|
777
|
+
],
|
|
766
778
|
tokens: {
|
|
767
779
|
alignItems: 'center',
|
|
768
780
|
direction: 'row',
|
|
@@ -770,7 +782,7 @@ module.exports = {
|
|
|
770
782
|
flexGrow: 0,
|
|
771
783
|
flexShrink: 0,
|
|
772
784
|
justifyContent: 'flex-start',
|
|
773
|
-
space:
|
|
785
|
+
space: 2
|
|
774
786
|
}
|
|
775
787
|
},
|
|
776
788
|
ButtonGroupItem: {
|
|
@@ -811,73 +823,58 @@ module.exports = {
|
|
|
811
823
|
rules: [
|
|
812
824
|
{
|
|
813
825
|
if: { pressed: true },
|
|
814
|
-
tokens: {
|
|
815
|
-
backgroundColor: '#016b6a',
|
|
816
|
-
borderColor: '#016b6a',
|
|
817
|
-
color: '#ffffff'
|
|
818
|
-
}
|
|
826
|
+
tokens: { backgroundColor: '#1b4746', color: '#ffffff' }
|
|
819
827
|
},
|
|
820
828
|
{
|
|
821
829
|
if: { focus: true },
|
|
822
830
|
tokens: { outerBorderColor: '#016b6a' }
|
|
823
831
|
},
|
|
824
|
-
{
|
|
832
|
+
{
|
|
833
|
+
if: { hover: true },
|
|
834
|
+
tokens: { backgroundColor: '#1b4746', color: '#ffffff' }
|
|
835
|
+
},
|
|
825
836
|
{
|
|
826
837
|
if: { selected: true },
|
|
827
|
-
tokens: {
|
|
828
|
-
opacity: 0.8,
|
|
829
|
-
outerBorderColor: '#016b6a',
|
|
830
|
-
outerBorderGap: 1,
|
|
831
|
-
outerBorderWidth: 4
|
|
832
|
-
}
|
|
838
|
+
tokens: { backgroundColor: '#016b6a', color: '#ffffff' }
|
|
833
839
|
},
|
|
834
840
|
{
|
|
835
|
-
if: {
|
|
836
|
-
tokens: {
|
|
841
|
+
if: { hover: true, selected: true },
|
|
842
|
+
tokens: { backgroundColor: '#1b4746', color: '#ffffff' }
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
if: { pressed: true, selected: true },
|
|
846
|
+
tokens: { backgroundColor: '#1b4746', color: '#ffffff' }
|
|
837
847
|
},
|
|
838
848
|
{
|
|
839
849
|
if: { inactive: true },
|
|
840
850
|
tokens: {
|
|
841
|
-
backgroundColor: '#
|
|
851
|
+
backgroundColor: '#c9c8c8',
|
|
842
852
|
borderWidth: 0,
|
|
843
853
|
color: '#ffffff'
|
|
844
854
|
}
|
|
845
855
|
},
|
|
846
|
-
{
|
|
847
|
-
if: { selected: true },
|
|
848
|
-
tokens: {
|
|
849
|
-
opacity: 0.8,
|
|
850
|
-
outerBorderColor: '#016b6a',
|
|
851
|
-
outerBorderGap: 1,
|
|
852
|
-
outerBorderWidth: 4
|
|
853
|
-
}
|
|
854
|
-
},
|
|
855
|
-
{
|
|
856
|
-
if: { focus: true, selected: true },
|
|
857
|
-
tokens: { outerBorderColor: '#1b4746' }
|
|
858
|
-
},
|
|
859
856
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } }
|
|
860
857
|
],
|
|
861
858
|
tokens: {
|
|
862
859
|
alignSelf: 'flex-start',
|
|
863
|
-
backgroundColor: '#
|
|
864
|
-
borderColor: '#
|
|
860
|
+
backgroundColor: '#ffffff',
|
|
861
|
+
borderColor: '#016b6a',
|
|
865
862
|
borderRadius: 4,
|
|
866
|
-
borderWidth:
|
|
867
|
-
color: '#
|
|
863
|
+
borderWidth: 1,
|
|
864
|
+
color: '#016b6a',
|
|
868
865
|
fontName: 'StagSans',
|
|
869
|
-
fontSize:
|
|
866
|
+
fontSize: 16,
|
|
870
867
|
fontWeight: '600',
|
|
871
|
-
height:
|
|
868
|
+
height: 48,
|
|
872
869
|
iconSize: 20,
|
|
873
|
-
iconSpace:
|
|
874
|
-
lineHeight: 1.
|
|
870
|
+
iconSpace: 2,
|
|
871
|
+
lineHeight: 1.5,
|
|
875
872
|
minWidth: 0,
|
|
876
873
|
opacity: 1,
|
|
877
874
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
878
875
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
879
|
-
outerBorderGap:
|
|
880
|
-
outerBorderWidth:
|
|
876
|
+
outerBorderGap: 3,
|
|
877
|
+
outerBorderWidth: 1,
|
|
881
878
|
paddingBottom: 8,
|
|
882
879
|
paddingLeft: 24,
|
|
883
880
|
paddingRight: 24,
|
|
@@ -1550,6 +1547,23 @@ module.exports = {
|
|
|
1550
1547
|
titleFontSize: 16
|
|
1551
1548
|
}
|
|
1552
1549
|
},
|
|
1550
|
+
Fieldset: {
|
|
1551
|
+
appearances: { error: { type: 'variant', values: [ true ] } },
|
|
1552
|
+
rules: [ { if: { error: true }, tokens: { outlineColor: '#ee2c74' } } ],
|
|
1553
|
+
tokens: {
|
|
1554
|
+
borderBottomLeftRadius: 0,
|
|
1555
|
+
borderBottomRightRadius: 0,
|
|
1556
|
+
borderTopLeftRadius: 0,
|
|
1557
|
+
borderTopRightRadius: 0,
|
|
1558
|
+
outlineColor: 'rgba(0, 0, 0, 0)',
|
|
1559
|
+
outlineOffset: null,
|
|
1560
|
+
outlineWidth: 0,
|
|
1561
|
+
paddingBottom: 0,
|
|
1562
|
+
paddingLeft: 0,
|
|
1563
|
+
paddingRight: 0,
|
|
1564
|
+
paddingTop: 0
|
|
1565
|
+
}
|
|
1566
|
+
},
|
|
1553
1567
|
Footnote: {
|
|
1554
1568
|
appearances: {},
|
|
1555
1569
|
rules: [],
|
|
@@ -3511,7 +3525,21 @@ module.exports = {
|
|
|
3511
3525
|
],
|
|
3512
3526
|
tokens: { direction: 'row', fieldSpace: 2, space: 2 }
|
|
3513
3527
|
},
|
|
3514
|
-
RadioGroup: {
|
|
3528
|
+
RadioGroup: {
|
|
3529
|
+
appearances: {},
|
|
3530
|
+
rules: [],
|
|
3531
|
+
tokens: {
|
|
3532
|
+
borderBottomLeftRadius: 1,
|
|
3533
|
+
borderBottomRightRadius: 1,
|
|
3534
|
+
borderTopLeftRadius: 1,
|
|
3535
|
+
borderTopRightRadius: 1,
|
|
3536
|
+
fieldSpace: 2,
|
|
3537
|
+
outlineOffset: 8,
|
|
3538
|
+
outlineWidth: 1,
|
|
3539
|
+
showIcon: true,
|
|
3540
|
+
space: 2
|
|
3541
|
+
}
|
|
3542
|
+
},
|
|
3515
3543
|
Ribbon: {
|
|
3516
3544
|
appearances: {
|
|
3517
3545
|
purpose: {
|
|
@@ -4158,6 +4186,7 @@ module.exports = {
|
|
|
4158
4186
|
cellBoxShadowColor: '#efefef',
|
|
4159
4187
|
cellHeadingBackground: '#c1f2e8',
|
|
4160
4188
|
cellHeadingBoxShadowColor: '#efefef',
|
|
4189
|
+
cellMinWidth: 0,
|
|
4161
4190
|
cellPaddingBottom: 16,
|
|
4162
4191
|
cellPaddingLeft: 16,
|
|
4163
4192
|
cellPaddingRight: 16,
|
|
@@ -4535,6 +4564,11 @@ module.exports = {
|
|
|
4535
4564
|
type: 'state',
|
|
4536
4565
|
values: [ true ]
|
|
4537
4566
|
},
|
|
4567
|
+
numeric: {
|
|
4568
|
+
description: 'capability to only allow numbers',
|
|
4569
|
+
type: 'variant',
|
|
4570
|
+
values: [ true ]
|
|
4571
|
+
},
|
|
4538
4572
|
password: {
|
|
4539
4573
|
description: 'capability that helps masking and unmasking text',
|
|
4540
4574
|
type: 'variant',
|
|
@@ -4706,22 +4740,37 @@ module.exports = {
|
|
|
4706
4740
|
}
|
|
4707
4741
|
},
|
|
4708
4742
|
rules: [
|
|
4709
|
-
{
|
|
4743
|
+
{
|
|
4744
|
+
if: { hover: true },
|
|
4745
|
+
tokens: { backgroundColor: '#b5b4b4', switchColor: '#505050' }
|
|
4746
|
+
},
|
|
4710
4747
|
{
|
|
4711
4748
|
if: { pressed: true },
|
|
4712
|
-
tokens: { backgroundColor: '#
|
|
4749
|
+
tokens: { backgroundColor: '#b5b4b4', switchColor: '#505050' }
|
|
4713
4750
|
},
|
|
4714
4751
|
{
|
|
4715
4752
|
if: { focus: true },
|
|
4716
|
-
tokens: {
|
|
4753
|
+
tokens: {
|
|
4754
|
+
backgroundColor: '#b5b4b4',
|
|
4755
|
+
outerBorderColor: '#17367d',
|
|
4756
|
+
outerBorderGap: 3,
|
|
4757
|
+
outerBorderWidth: 1,
|
|
4758
|
+
switchColor: '#505050'
|
|
4759
|
+
}
|
|
4717
4760
|
},
|
|
4718
4761
|
{
|
|
4719
4762
|
if: { selected: true },
|
|
4720
|
-
tokens: {
|
|
4763
|
+
tokens: {
|
|
4764
|
+
backgroundColor: '#e5f7fb',
|
|
4765
|
+
icon: PaletteIconCheck,
|
|
4766
|
+
iconColor: '#ffffff',
|
|
4767
|
+
switchBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4768
|
+
switchColor: '#016b6a'
|
|
4769
|
+
}
|
|
4721
4770
|
},
|
|
4722
4771
|
{
|
|
4723
4772
|
if: { hover: true, selected: true },
|
|
4724
|
-
tokens: { backgroundColor: '#
|
|
4773
|
+
tokens: { backgroundColor: '#bbeaf5' }
|
|
4725
4774
|
},
|
|
4726
4775
|
{
|
|
4727
4776
|
if: { pressed: true, selected: true },
|
|
@@ -4729,54 +4778,84 @@ module.exports = {
|
|
|
4729
4778
|
},
|
|
4730
4779
|
{
|
|
4731
4780
|
if: { focus: true, selected: true },
|
|
4732
|
-
tokens: { outerBorderColor: '#
|
|
4781
|
+
tokens: { outerBorderColor: '#17367d', outerBorderWidth: 1 }
|
|
4782
|
+
},
|
|
4783
|
+
{
|
|
4784
|
+
if: { focus: true, pressed: true },
|
|
4785
|
+
tokens: {
|
|
4786
|
+
outerBorderColor: '#17367d',
|
|
4787
|
+
outerBorderGap: 3,
|
|
4788
|
+
outerBorderWidth: 1
|
|
4789
|
+
}
|
|
4733
4790
|
},
|
|
4734
4791
|
{
|
|
4735
4792
|
if: { focus: true, pressed: true, selected: true },
|
|
4736
|
-
tokens: { outerBorderColor: '#
|
|
4793
|
+
tokens: { outerBorderColor: '#17367d' }
|
|
4737
4794
|
},
|
|
4738
|
-
{
|
|
4795
|
+
{
|
|
4796
|
+
if: { inactive: true },
|
|
4797
|
+
tokens: {
|
|
4798
|
+
backgroundColor: '#efefef',
|
|
4799
|
+
iconColor: '#c9c8c8',
|
|
4800
|
+
opacity: 0.5,
|
|
4801
|
+
switchBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4802
|
+
switchColor: '#ffffff'
|
|
4803
|
+
}
|
|
4804
|
+
}
|
|
4739
4805
|
],
|
|
4740
4806
|
tokens: {
|
|
4741
4807
|
alignSelf: 'flex-start',
|
|
4742
|
-
backgroundColor: '#
|
|
4808
|
+
backgroundColor: '#c9c8c8',
|
|
4743
4809
|
borderColor: 'rgba(0, 0, 0, 0)',
|
|
4744
|
-
borderRadius:
|
|
4810
|
+
borderRadius: 32,
|
|
4745
4811
|
borderWidth: 0,
|
|
4746
4812
|
icon: null,
|
|
4747
|
-
iconColor:
|
|
4748
|
-
iconSize:
|
|
4813
|
+
iconColor: null,
|
|
4814
|
+
iconSize: 12,
|
|
4749
4815
|
labelColor: '#000000',
|
|
4750
4816
|
labelFontName: 'StagSans',
|
|
4751
4817
|
labelFontSize: 16,
|
|
4752
|
-
labelFontWeight: '
|
|
4818
|
+
labelFontWeight: '600',
|
|
4753
4819
|
labelLineHeight: 1.5,
|
|
4754
4820
|
labelMarginLeft: 8,
|
|
4755
4821
|
opacity: 1,
|
|
4756
4822
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4757
4823
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4758
|
-
outerBorderGap:
|
|
4759
|
-
outerBorderWidth:
|
|
4760
|
-
paddingBottom:
|
|
4761
|
-
paddingLeft:
|
|
4762
|
-
paddingRight:
|
|
4763
|
-
paddingTop:
|
|
4824
|
+
outerBorderGap: 0,
|
|
4825
|
+
outerBorderWidth: 0,
|
|
4826
|
+
paddingBottom: 0,
|
|
4827
|
+
paddingLeft: 0,
|
|
4828
|
+
paddingRight: 0,
|
|
4829
|
+
paddingTop: 0,
|
|
4764
4830
|
shadow: null,
|
|
4765
4831
|
switchBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4766
4832
|
switchBorderRadius: 32,
|
|
4767
4833
|
switchBorderWidth: 0,
|
|
4768
|
-
switchColor: '#
|
|
4769
|
-
switchShadow:
|
|
4770
|
-
|
|
4834
|
+
switchColor: '#595959',
|
|
4835
|
+
switchShadow: {
|
|
4836
|
+
blur: 2,
|
|
4837
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
4838
|
+
inset: false,
|
|
4839
|
+
offsetX: 0,
|
|
4840
|
+
offsetY: 2,
|
|
4841
|
+
spread: 0
|
|
4842
|
+
},
|
|
4843
|
+
switchSize: 18,
|
|
4771
4844
|
trackBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4772
|
-
trackBorderRadius:
|
|
4773
|
-
trackBorderWidth:
|
|
4774
|
-
width:
|
|
4845
|
+
trackBorderRadius: 12,
|
|
4846
|
+
trackBorderWidth: 3,
|
|
4847
|
+
width: 40
|
|
4775
4848
|
}
|
|
4776
4849
|
},
|
|
4777
4850
|
ToggleSwitchGroup: {
|
|
4778
|
-
appearances: {
|
|
4779
|
-
|
|
4851
|
+
appearances: {
|
|
4852
|
+
viewport: {
|
|
4853
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
4854
|
+
type: 'state',
|
|
4855
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
4856
|
+
}
|
|
4857
|
+
},
|
|
4858
|
+
rules: [ { if: { viewport: [ 'lg', 'xl' ] }, tokens: { space: 3 } } ],
|
|
4780
4859
|
tokens: {
|
|
4781
4860
|
alignItems: 'flex-start',
|
|
4782
4861
|
direction: 'column',
|
|
@@ -5227,5 +5306,5 @@ module.exports = {
|
|
|
5227
5306
|
tokens: { size: 96 }
|
|
5228
5307
|
}
|
|
5229
5308
|
},
|
|
5230
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
5309
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.28.0' }
|
|
5231
5310
|
}
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
},
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@telus-uds/palette-koodo": "^0.
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
8
|
+
"@telus-uds/palette-koodo": "^0.17.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.28.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"main": "build/rn/theme.js",
|
|
21
21
|
"name": "@telus-uds/theme-koodo",
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@telus-uds/palette-koodo": "^0.
|
|
23
|
+
"@telus-uds/palette-koodo": "^0.17.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
|
|
32
32
|
"dev": "nodemon -w src -x 'npm run build'"
|
|
33
33
|
},
|
|
34
|
-
"version": "3.
|
|
34
|
+
"version": "3.30.0"
|
|
35
35
|
}
|