@telus-uds/theme-koodo 4.15.0 → 4.16.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 Wed, 01 Nov 2023 00:52:42 GMT
4
+ * Generated on Tue, 07 Nov 2023 16:18:20 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1597,6 +1597,41 @@ 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
+ space: 3
1633
+ }
1634
+ },
1600
1635
  CheckboxGroup: {
1601
1636
  appearances: {},
1602
1637
  rules: [],
@@ -3079,6 +3114,7 @@ module.exports = {
3079
3114
  {
3080
3115
  if: { viewport: [ 'xs', 'sm' ] },
3081
3116
  tokens: {
3117
+ direction: 'column',
3082
3118
  height: '100%',
3083
3119
  paddingBottom: 24,
3084
3120
  paddingLeft: 24,
@@ -3091,6 +3127,7 @@ module.exports = {
3091
3127
  tokens: {
3092
3128
  containerPaddingBottom: 32,
3093
3129
  containerPaddingTop: 32,
3130
+ direction: 'row',
3094
3131
  maxWidth: 576
3095
3132
  }
3096
3133
  },
@@ -3118,6 +3155,7 @@ module.exports = {
3118
3155
  containerPaddingLeft: 0,
3119
3156
  containerPaddingRight: 0,
3120
3157
  containerPaddingTop: 0,
3158
+ direction: 'row',
3121
3159
  gap: 16,
3122
3160
  headingColor: '#000000',
3123
3161
  headingPaddingRight: 24,
@@ -6788,5 +6826,5 @@ module.exports = {
6788
6826
  tokens: { size: 96 }
6789
6827
  }
6790
6828
  },
6791
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.43.0' }
6829
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.44.0' }
6792
6830
  }
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.0"
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.0"
35
35
  }
package/theme.json CHANGED
@@ -2002,6 +2002,48 @@
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
+ "space": "{system.integer.3}"
2045
+ }
2046
+ },
2005
2047
  "CheckboxGroup": {
2006
2048
  "appearances": {},
2007
2049
  "rules": [],
@@ -4101,6 +4143,7 @@
4101
4143
  "viewport": ["xs", "sm"]
4102
4144
  },
4103
4145
  "tokens": {
4146
+ "direction": "{system.direction.column}",
4104
4147
  "height": "{system.size.full}",
4105
4148
  "paddingBottom": "{palette.size.size24}",
4106
4149
  "paddingLeft": "{palette.size.size24}",
@@ -4115,6 +4158,7 @@
4115
4158
  "tokens": {
4116
4159
  "containerPaddingBottom": "{palette.size.size32}",
4117
4160
  "containerPaddingTop": "{palette.size.size32}",
4161
+ "direction": "{system.direction.row}",
4118
4162
  "maxWidth": "{system.size.viewportSm}"
4119
4163
  }
4120
4164
  },
@@ -4145,6 +4189,7 @@
4145
4189
  "containerPaddingLeft": "{system.size.zero}",
4146
4190
  "containerPaddingRight": "{system.size.zero}",
4147
4191
  "containerPaddingTop": "{system.size.zero}",
4192
+ "direction": "{system.direction.row}",
4148
4193
  "gap": "{palette.size.size16}",
4149
4194
  "headingColor": "{palette.color.black}",
4150
4195
  "headingPaddingRight": "{palette.size.size24}",