@telus-uds/theme-koodo 4.15.0 → 4.16.1

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 Wed, 01 Nov 2023 00:52:42 GMT
4
+ * Generated on Fri, 10 Nov 2023 22:26:23 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1597,18 +1597,54 @@ module.exports = {
1597
1597
  textTransform: 'none'
1598
1598
  }
1599
1599
  },
1600
+ CheckboxCardGroup: {
1601
+ appearances: {
1602
+ fullWidth: {
1603
+ description: 'Makes cards always occupy the full width of the parent, regardless of viewport',
1604
+ type: 'variant',
1605
+ values: [ true ]
1606
+ },
1607
+ viewport: {
1608
+ description: 'The size label for the current screen viewport based on the current screen width',
1609
+ type: 'state',
1610
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
1611
+ }
1612
+ },
1613
+ rules: [
1614
+ {
1615
+ if: { viewport: [ 'md', 'lg', 'xl' ] },
1616
+ tokens: { direction: 'row', space: 5 }
1617
+ },
1618
+ {
1619
+ if: { fullWidth: true },
1620
+ tokens: { direction: 'column', fieldSpace: 3, space: 3 }
1621
+ }
1622
+ ],
1623
+ tokens: {
1624
+ borderBottomLeftRadius: 1,
1625
+ borderBottomRightRadius: 1,
1626
+ borderTopLeftRadius: 1,
1627
+ borderTopRightRadius: 1,
1628
+ direction: 'column',
1629
+ fieldSpace: 3,
1630
+ outlineOffset: 8,
1631
+ outlineWidth: 1,
1632
+ showIcon: true,
1633
+ space: 3
1634
+ }
1635
+ },
1600
1636
  CheckboxGroup: {
1601
1637
  appearances: {},
1602
1638
  rules: [],
1603
1639
  tokens: {
1604
- borderBottomLeftRadius: 0,
1605
- borderBottomRightRadius: 0,
1606
- borderTopLeftRadius: 0,
1607
- borderTopRightRadius: 0,
1640
+ borderBottomLeftRadius: 1,
1641
+ borderBottomRightRadius: 1,
1642
+ borderTopLeftRadius: 1,
1643
+ borderTopRightRadius: 1,
1608
1644
  fieldSpace: 2,
1609
- outlineOffset: null,
1610
- outlineWidth: 0,
1611
- showIcon: false,
1645
+ outlineOffset: 8,
1646
+ outlineWidth: 1,
1647
+ showIcon: true,
1612
1648
  space: 2
1613
1649
  }
1614
1650
  },
@@ -3079,6 +3115,7 @@ module.exports = {
3079
3115
  {
3080
3116
  if: { viewport: [ 'xs', 'sm' ] },
3081
3117
  tokens: {
3118
+ direction: 'column',
3082
3119
  height: '100%',
3083
3120
  paddingBottom: 24,
3084
3121
  paddingLeft: 24,
@@ -3091,6 +3128,7 @@ module.exports = {
3091
3128
  tokens: {
3092
3129
  containerPaddingBottom: 32,
3093
3130
  containerPaddingTop: 32,
3131
+ direction: 'row',
3094
3132
  maxWidth: 576
3095
3133
  }
3096
3134
  },
@@ -3118,6 +3156,7 @@ module.exports = {
3118
3156
  containerPaddingLeft: 0,
3119
3157
  containerPaddingRight: 0,
3120
3158
  containerPaddingTop: 0,
3159
+ direction: 'row',
3121
3160
  gap: 16,
3122
3161
  headingColor: '#000000',
3123
3162
  headingPaddingRight: 24,
@@ -4536,7 +4575,18 @@ module.exports = {
4536
4575
  tokens: { direction: 'row', space: 5 }
4537
4576
  }
4538
4577
  ],
4539
- tokens: { direction: 'column', fieldSpace: 3, space: 3 }
4578
+ tokens: {
4579
+ borderBottomLeftRadius: 1,
4580
+ borderBottomRightRadius: 1,
4581
+ borderTopLeftRadius: 1,
4582
+ borderTopRightRadius: 1,
4583
+ direction: 'column',
4584
+ fieldSpace: 3,
4585
+ outlineOffset: 8,
4586
+ outlineWidth: 1,
4587
+ showIcon: true,
4588
+ space: 3
4589
+ }
4540
4590
  },
4541
4591
  RadioGroup: {
4542
4592
  appearances: {},
@@ -6788,5 +6838,5 @@ module.exports = {
6788
6838
  tokens: { size: 96 }
6789
6839
  }
6790
6840
  },
6791
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.43.0' }
6841
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.44.1' }
6792
6842
  }
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "description": "Koodo theme",
7
7
  "devDependencies": {
8
8
  "@telus-uds/palette-koodo": "^0.27.0",
9
- "@telus-uds/system-theme-tokens": "^2.43.0"
9
+ "@telus-uds/system-theme-tokens": "^2.44.1"
10
10
  },
11
11
  "files": [
12
12
  "build",
@@ -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.15.0"
34
+ "version": "4.16.1"
35
35
  }
package/theme.json CHANGED
@@ -2002,18 +2002,61 @@
2002
2002
  "textTransform": "{system.textTransform.none}"
2003
2003
  }
2004
2004
  },
2005
+ "CheckboxCardGroup": {
2006
+ "appearances": {
2007
+ "fullWidth": {
2008
+ "description": "Makes cards always occupy the full width of the parent, regardless of viewport",
2009
+ "type": "variant",
2010
+ "values": [true]
2011
+ },
2012
+ "viewport": "{appearances.system.viewport}"
2013
+ },
2014
+ "rules": [
2015
+ {
2016
+ "if": {
2017
+ "viewport": ["md", "lg", "xl"]
2018
+ },
2019
+ "tokens": {
2020
+ "direction": "{system.direction.row}",
2021
+ "space": "{system.integer.5}"
2022
+ }
2023
+ },
2024
+ {
2025
+ "if": {
2026
+ "fullWidth": true
2027
+ },
2028
+ "tokens": {
2029
+ "direction": "{system.direction.column}",
2030
+ "fieldSpace": "{system.integer.3}",
2031
+ "space": "{system.integer.3}"
2032
+ }
2033
+ }
2034
+ ],
2035
+ "tokens": {
2036
+ "borderBottomLeftRadius": "{palette.radius.radius1}",
2037
+ "borderBottomRightRadius": "{palette.radius.radius1}",
2038
+ "borderTopLeftRadius": "{palette.radius.radius1}",
2039
+ "borderTopRightRadius": "{palette.radius.radius1}",
2040
+ "direction": "{system.direction.column}",
2041
+ "fieldSpace": "{system.integer.3}",
2042
+ "outlineOffset": "{palette.size.size8}",
2043
+ "outlineWidth": "{palette.border.border1}",
2044
+ "showIcon": "{system.show.true}",
2045
+ "space": "{system.integer.3}"
2046
+ }
2047
+ },
2005
2048
  "CheckboxGroup": {
2006
2049
  "appearances": {},
2007
2050
  "rules": [],
2008
2051
  "tokens": {
2009
- "borderBottomLeftRadius": "{system.radius.zero}",
2010
- "borderBottomRightRadius": "{system.radius.zero}",
2011
- "borderTopLeftRadius": "{system.radius.zero}",
2012
- "borderTopRightRadius": "{system.radius.zero}",
2052
+ "borderBottomLeftRadius": "{palette.radius.radius1}",
2053
+ "borderBottomRightRadius": "{palette.radius.radius1}",
2054
+ "borderTopLeftRadius": "{palette.radius.radius1}",
2055
+ "borderTopRightRadius": "{palette.radius.radius1}",
2013
2056
  "fieldSpace": "{system.integer.2}",
2014
- "outlineOffset": "{system.size.none}",
2015
- "outlineWidth": "{system.border.zero}",
2016
- "showIcon": "{system.show.false}",
2057
+ "outlineOffset": "{palette.size.size8}",
2058
+ "outlineWidth": "{palette.border.border1}",
2059
+ "showIcon": "{system.show.true}",
2017
2060
  "space": "{system.integer.2}"
2018
2061
  }
2019
2062
  },
@@ -4101,6 +4144,7 @@
4101
4144
  "viewport": ["xs", "sm"]
4102
4145
  },
4103
4146
  "tokens": {
4147
+ "direction": "{system.direction.column}",
4104
4148
  "height": "{system.size.full}",
4105
4149
  "paddingBottom": "{palette.size.size24}",
4106
4150
  "paddingLeft": "{palette.size.size24}",
@@ -4115,6 +4159,7 @@
4115
4159
  "tokens": {
4116
4160
  "containerPaddingBottom": "{palette.size.size32}",
4117
4161
  "containerPaddingTop": "{palette.size.size32}",
4162
+ "direction": "{system.direction.row}",
4118
4163
  "maxWidth": "{system.size.viewportSm}"
4119
4164
  }
4120
4165
  },
@@ -4145,6 +4190,7 @@
4145
4190
  "containerPaddingLeft": "{system.size.zero}",
4146
4191
  "containerPaddingRight": "{system.size.zero}",
4147
4192
  "containerPaddingTop": "{system.size.zero}",
4193
+ "direction": "{system.direction.row}",
4148
4194
  "gap": "{palette.size.size16}",
4149
4195
  "headingColor": "{palette.color.black}",
4150
4196
  "headingPaddingRight": "{palette.size.size24}",
@@ -5723,8 +5769,15 @@
5723
5769
  }
5724
5770
  ],
5725
5771
  "tokens": {
5772
+ "borderBottomLeftRadius": "{palette.radius.radius1}",
5773
+ "borderBottomRightRadius": "{palette.radius.radius1}",
5774
+ "borderTopLeftRadius": "{palette.radius.radius1}",
5775
+ "borderTopRightRadius": "{palette.radius.radius1}",
5726
5776
  "direction": "{system.direction.column}",
5727
5777
  "fieldSpace": "{system.integer.3}",
5778
+ "outlineOffset": "{palette.size.size8}",
5779
+ "outlineWidth": "{palette.border.border1}",
5780
+ "showIcon": "{system.show.true}",
5728
5781
  "space": "{system.integer.3}"
5729
5782
  }
5730
5783
  },