@telus-uds/theme-koodo 4.0.0 → 4.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/build/rn/theme.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 02 Jun 2023 00:26:16 GMT
4
+ * Generated on Fri, 09 Jun 2023 00:16:22 GMT
5
5
  *
6
6
  */
7
7
 
@@ -603,7 +603,6 @@ module.exports = {
603
603
  }
604
604
  ],
605
605
  tokens: {
606
- alignSelf: 'flex-start',
607
606
  backgroundColor: '#ffffff',
608
607
  borderBottomWidth: 1,
609
608
  borderColor: '#016b6a',
@@ -1420,11 +1419,11 @@ module.exports = {
1420
1419
  appearances: {},
1421
1420
  rules: [],
1422
1421
  tokens: {
1423
- color: null,
1422
+ color: '#000000',
1424
1423
  fontName: 'StagSans',
1425
- fontSize: 14,
1426
- fontWeight: '300',
1427
- lineHeight: 1.42857142857
1424
+ fontSize: 12,
1425
+ fontWeight: '400',
1426
+ lineHeight: 1.33333333333
1428
1427
  }
1429
1428
  },
1430
1429
  Divider: {
@@ -1468,10 +1467,31 @@ module.exports = {
1468
1467
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
1469
1468
  type: 'state',
1470
1469
  values: [ true ]
1471
- }
1470
+ },
1471
+ mini: { type: 'variant', values: [ true ] }
1472
1472
  },
1473
1473
  rules: [
1474
1474
  { if: { compact: true }, tokens: {} },
1475
+ {
1476
+ if: { mini: true },
1477
+ tokens: {
1478
+ backgroundColor: 'rgba(0, 0, 0, 0)',
1479
+ borderColor: 'rgba(0, 0, 0, 0)',
1480
+ borderWidth: 0,
1481
+ icon: PaletteIconChevronDown,
1482
+ iconColor: '#000000',
1483
+ iconGap: 8,
1484
+ iconPaddingTop: 4,
1485
+ iconPosition: 'left',
1486
+ iconSize: 16,
1487
+ justifyContent: 'flex-start',
1488
+ paddingBottom: 0,
1489
+ paddingLeft: 0,
1490
+ paddingRight: 0,
1491
+ paddingTop: 0,
1492
+ verticalAlign: 'middle'
1493
+ }
1494
+ },
1475
1495
  {
1476
1496
  if: { expanded: true },
1477
1497
  tokens: { icon: PaletteIconChevronUp }
@@ -1479,7 +1499,11 @@ module.exports = {
1479
1499
  ],
1480
1500
  tokens: {
1481
1501
  backgroundColor: '#efefef',
1502
+ borderBottomLeftRadius: 0,
1503
+ borderBottomRightRadius: 0,
1482
1504
  borderColor: 'rgba(0, 0, 0, 0)',
1505
+ borderTopLeftRadius: 0,
1506
+ borderTopRightRadius: 0,
1483
1507
  borderWidth: 0,
1484
1508
  icon: PaletteIconChevronDown,
1485
1509
  iconColor: '#000000',
@@ -1492,6 +1516,7 @@ module.exports = {
1492
1516
  paddingLeft: 24,
1493
1517
  paddingRight: 24,
1494
1518
  paddingTop: 16,
1519
+ textLine: 'none',
1495
1520
  verticalAlign: 'middle'
1496
1521
  }
1497
1522
  },
@@ -1529,27 +1554,24 @@ module.exports = {
1529
1554
  verticalAlign: 'middle'
1530
1555
  }
1531
1556
  },
1532
- ExpandCollapseMiniPanel: {
1533
- appearances: { compact: { type: 'variant', values: [ true ] } },
1534
- rules: [ { if: { compact: true }, tokens: {} } ],
1535
- tokens: {
1536
- borderColor: 'rgba(0, 0, 0, 0)',
1537
- borderRadius: 0,
1538
- borderWidth: 0,
1539
- collapseDuration: 250,
1540
- contentPaddingBottom: 16,
1541
- contentPaddingLeft: 0,
1542
- contentPaddingRight: 0,
1543
- contentPaddingTop: 0,
1544
- expandDividerColor: 'rgba(0, 0, 0, 0)',
1545
- expandDividerWidth: 0,
1546
- expandDuration: 300,
1547
- marginBottom: 0
1548
- }
1549
- },
1550
1557
  ExpandCollapsePanel: {
1551
- appearances: { compact: { type: 'variant', values: [ true ] } },
1552
- rules: [ { if: { compact: true }, tokens: {} } ],
1558
+ appearances: {
1559
+ compact: { type: 'variant', values: [ true ] },
1560
+ mini: { type: 'variant', values: [ true ] }
1561
+ },
1562
+ rules: [
1563
+ { if: { compact: true }, tokens: {} },
1564
+ {
1565
+ if: { mini: true },
1566
+ tokens: {
1567
+ borderColor: 'rgba(0, 0, 0, 0)',
1568
+ contentPaddingBottom: 0,
1569
+ contentPaddingLeft: 0,
1570
+ contentPaddingRight: 0,
1571
+ contentPaddingTop: 0
1572
+ }
1573
+ }
1574
+ ],
1553
1575
  tokens: {
1554
1576
  borderColor: '#efefef',
1555
1577
  borderRadius: 4,
@@ -1674,7 +1696,7 @@ module.exports = {
1674
1696
  appearances: {},
1675
1697
  rules: [],
1676
1698
  tokens: {
1677
- color: '#000000',
1699
+ color: null,
1678
1700
  fontName: 'StagSans',
1679
1701
  fontWeight: '400',
1680
1702
  lineHeight: 1,
@@ -2254,13 +2276,16 @@ module.exports = {
2254
2276
  {
2255
2277
  if: { size: 'small' },
2256
2278
  tokens: {
2257
- iconMarginTop: 1,
2279
+ iconMarginTop: 2,
2258
2280
  itemFontSize: 14,
2259
2281
  itemIconSize: 14,
2260
2282
  listGutter: 10
2261
2283
  }
2262
2284
  },
2263
- { if: { compact: true }, tokens: { itemLineHeight: 1.2 } },
2285
+ {
2286
+ if: { compact: true },
2287
+ tokens: { iconMarginTop: 1, itemLineHeight: 1.2 }
2288
+ },
2264
2289
  {
2265
2290
  if: { compact: true, size: 'small' },
2266
2291
  tokens: { itemLineHeight: 1.1 }
@@ -3947,6 +3972,12 @@ module.exports = {
3947
3972
  type: 'state',
3948
3973
  values: [ true ]
3949
3974
  },
3975
+ focus: {
3976
+ description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
3977
+ platforms: [ 'rn' ],
3978
+ type: 'state',
3979
+ values: [ true ]
3980
+ },
3950
3981
  hover: {
3951
3982
  description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
3952
3983
  platforms: [ 'rn' ],
@@ -3964,54 +3995,49 @@ module.exports = {
3964
3995
  if: { active: true },
3965
3996
  tokens: {
3966
3997
  accentBackgroundColor: '#016b6a',
3967
- backgroundColor: '#c1f2e8',
3968
- color: '#016b6a',
3969
- paddingLeft: 10
3998
+ backgroundColor: '#efefef'
3970
3999
  }
3971
4000
  },
3972
4001
  {
3973
4002
  if: { type: 'child' },
3974
4003
  tokens: {
3975
- accentBackgroundColor: '#c1f2e8',
3976
- accentOffset: 16,
3977
- borderWidth: 0,
3978
- paddingLeft: 36
4004
+ accentBackgroundColor: 'rgba(0, 0, 0, 0)',
4005
+ fontName: 'StagSans',
4006
+ fontSize: 14,
4007
+ fontWeight: '400',
4008
+ lineHeight: 1.45,
4009
+ paddingBottom: 12,
4010
+ paddingLeft: 32,
4011
+ paddingRight: 16,
4012
+ paddingTop: 12
3979
4013
  }
3980
4014
  },
3981
- {
3982
- if: { active: true, type: 'parent' },
3983
- tokens: { paddingLeft: 10 }
3984
- },
3985
4015
  {
3986
4016
  if: { active: true, expanded: true, type: 'parent' },
3987
4017
  tokens: {
3988
4018
  accentBackgroundColor: 'rgba(0, 0, 0, 0)',
3989
- backgroundColor: 'rgba(0, 0, 0, 0)',
3990
- color: '#666666',
3991
- paddingLeft: 16
4019
+ backgroundColor: 'rgba(0, 0, 0, 0)'
3992
4020
  }
3993
4021
  },
3994
- {
3995
- if: { hover: true },
3996
- tokens: { backgroundColor: '#c1f2e8', color: '#016b6a' }
3997
- },
4022
+ { if: { hover: true }, tokens: { backgroundColor: '#efefef' } },
4023
+ { if: { focus: true }, tokens: { backgroundColor: '#efefef' } },
3998
4024
  {
3999
4025
  if: { active: true, type: 'child' },
4000
4026
  tokens: {
4001
4027
  accentBackgroundColor: '#016b6a',
4028
+ accentOffset: 24,
4002
4029
  accentPadding: 16,
4003
- backgroundColor: '#c1f2e8',
4004
- color: '#016b6a'
4030
+ backgroundColor: 'rgba(0, 0, 0, 0)',
4031
+ fontName: 'StagSans',
4032
+ fontWeight: '600',
4033
+ lineHeight: 1.5,
4034
+ paddingBottom: 13,
4035
+ paddingTop: 13
4005
4036
  }
4006
4037
  },
4007
4038
  {
4008
4039
  if: { active: false, hover: true, type: 'child' },
4009
- tokens: {
4010
- accentBackgroundColor: '#ffffff',
4011
- accentOffset: 0,
4012
- accentWidth: 16,
4013
- color: '#666666'
4014
- }
4040
+ tokens: { accentBackgroundColor: 'rgba(0, 0, 0, 0)' }
4015
4041
  }
4016
4042
  ],
4017
4043
  tokens: {
@@ -4023,21 +4049,32 @@ module.exports = {
4023
4049
  borderColor: '#c9c8c8',
4024
4050
  borderStyle: 'solid',
4025
4051
  borderWidth: 1,
4026
- color: '#666666',
4052
+ color: '#000000',
4027
4053
  fontName: 'StagSans',
4028
4054
  fontSize: 16,
4029
- fontWeight: '400',
4055
+ fontWeight: '600',
4030
4056
  justifyContent: 'space-between',
4031
4057
  lineHeight: 1.5,
4032
- paddingBottom: 16,
4033
- paddingLeft: 16,
4034
- paddingRight: 16,
4035
- paddingTop: 16
4058
+ paddingBottom: 12,
4059
+ paddingLeft: 24,
4060
+ paddingRight: 20,
4061
+ paddingTop: 12
4036
4062
  }
4037
4063
  },
4038
4064
  SideNavItemsGroup: {
4039
- appearances: {},
4040
- rules: [],
4065
+ appearances: {
4066
+ expanded: {
4067
+ description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
4068
+ type: 'state',
4069
+ values: [ true ]
4070
+ }
4071
+ },
4072
+ rules: [
4073
+ {
4074
+ if: { expanded: true },
4075
+ tokens: { icon: PaletteIconChevronUp }
4076
+ }
4077
+ ],
4041
4078
  tokens: {
4042
4079
  collapseDuration: 250,
4043
4080
  contentPaddingBottom: 0,
@@ -4045,11 +4082,11 @@ module.exports = {
4045
4082
  contentPaddingRight: 0,
4046
4083
  contentPaddingTop: 0,
4047
4084
  expandDuration: 300,
4048
- icon: null,
4049
- iconColor: null,
4085
+ icon: PaletteIconChevronDown,
4086
+ iconColor: '#000000',
4050
4087
  iconGap: 8,
4051
4088
  iconPosition: 'right',
4052
- iconSize: 10,
4089
+ iconSize: 16,
4053
4090
  justifyContent: 'space-between',
4054
4091
  verticalAlign: 'middle'
4055
4092
  }
@@ -4058,12 +4095,14 @@ module.exports = {
4058
4095
  appearances: {},
4059
4096
  rules: [],
4060
4097
  tokens: {
4098
+ animationDuration: 2000,
4061
4099
  baseWidth: 40,
4062
4100
  characters: 10,
4063
- color: '#666666',
4101
+ color: '#c9c8c8',
4064
4102
  radius: 99999999999999,
4065
- size: 2,
4066
- spaceBetweenLines: 4,
4103
+ secondColor: '#efefef',
4104
+ size: 3,
4105
+ spaceBetweenLines: 2,
4067
4106
  squareRadius: 4
4068
4107
  }
4069
4108
  },
@@ -5460,5 +5499,5 @@ module.exports = {
5460
5499
  tokens: { size: 96 }
5461
5500
  }
5462
5501
  },
5463
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.29.0' }
5502
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.31.0' }
5464
5503
  }
package/package.json CHANGED
@@ -5,8 +5,8 @@
5
5
  },
6
6
  "description": "Koodo theme",
7
7
  "devDependencies": {
8
- "@telus-uds/palette-koodo": "^0.17.0",
9
- "@telus-uds/system-theme-tokens": "^2.29.0"
8
+ "@telus-uds/palette-koodo": "^0.18.0",
9
+ "@telus-uds/system-theme-tokens": "^2.31.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.17.0"
23
+ "@telus-uds/palette-koodo": "^0.18.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": "4.0.0"
34
+ "version": "4.2.0"
35
35
  }