@telus-uds/theme-allium 4.16.0 → 4.17.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:53:28 GMT
4
+ * Generated on Tue, 07 Nov 2023 16:19:10 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1649,6 +1649,41 @@ module.exports = {
1649
1649
  textTransform: 'none'
1650
1650
  }
1651
1651
  },
1652
+ CheckboxCardGroup: {
1653
+ appearances: {
1654
+ fullWidth: {
1655
+ description: 'Makes cards always occupy the full width of the parent, regardless of viewport',
1656
+ type: 'variant',
1657
+ values: [ true ]
1658
+ },
1659
+ viewport: {
1660
+ description: 'The size label for the current screen viewport based on the current screen width',
1661
+ type: 'state',
1662
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
1663
+ }
1664
+ },
1665
+ rules: [
1666
+ {
1667
+ if: { viewport: [ 'md', 'lg', 'xl' ] },
1668
+ tokens: { direction: 'row', space: 5 }
1669
+ },
1670
+ {
1671
+ if: { fullWidth: true },
1672
+ tokens: { direction: 'column', fieldSpace: 3, space: 3 }
1673
+ }
1674
+ ],
1675
+ tokens: {
1676
+ borderBottomLeftRadius: 1,
1677
+ borderBottomRightRadius: 1,
1678
+ borderTopLeftRadius: 1,
1679
+ borderTopRightRadius: 1,
1680
+ direction: 'column',
1681
+ fieldSpace: 3,
1682
+ outlineOffset: 8,
1683
+ outlineWidth: 1,
1684
+ space: 3
1685
+ }
1686
+ },
1652
1687
  CheckboxGroup: {
1653
1688
  appearances: {},
1654
1689
  rules: [],
@@ -3096,6 +3131,7 @@ module.exports = {
3096
3131
  {
3097
3132
  if: { viewport: [ 'xs', 'sm' ] },
3098
3133
  tokens: {
3134
+ direction: 'column',
3099
3135
  height: '100%',
3100
3136
  paddingBottom: 24,
3101
3137
  paddingLeft: 24,
@@ -3108,6 +3144,7 @@ module.exports = {
3108
3144
  tokens: {
3109
3145
  containerPaddingBottom: 32,
3110
3146
  containerPaddingTop: 32,
3147
+ direction: 'row',
3111
3148
  maxWidth: 576
3112
3149
  }
3113
3150
  },
@@ -3183,6 +3220,7 @@ module.exports = {
3183
3220
  containerPaddingLeft: 0,
3184
3221
  containerPaddingRight: 0,
3185
3222
  containerPaddingTop: 0,
3223
+ direction: 'row',
3186
3224
  gap: 16,
3187
3225
  headingColor: '#414547',
3188
3226
  headingPaddingRight: 24,
@@ -6924,5 +6962,5 @@ module.exports = {
6924
6962
  tokens: { size: 96 }
6925
6963
  }
6926
6964
  },
6927
- metadata: { name: 'theme-allium', themeTokensVersion: '2.43.0' }
6965
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.44.0' }
6928
6966
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "4.16.0",
3
+ "version": "4.17.0",
4
4
  "description": "Allium theme",
5
5
  "author": "TELUS Digital",
6
6
  "homepage": "https://github.com/telus/allium-design-system#readme",
@@ -8,12 +8,12 @@
8
8
  "main": "build/rn/theme.js",
9
9
  "dependencies": {},
10
10
  "devDependencies": {
11
- "@telus-uds/palette-allium": "^2.27.1",
12
- "@telus-uds/system-theme-tokens": "^2.43.0",
13
- "@telus-uds/system-tokens": "^0.7.24"
11
+ "@telus-uds/palette-allium": "^2.27.2",
12
+ "@telus-uds/system-theme-tokens": "^2.44.0",
13
+ "@telus-uds/system-tokens": "^0.7.25"
14
14
  },
15
15
  "peerDependencies": {
16
- "@telus-uds/palette-allium": "^2.27.1"
16
+ "@telus-uds/palette-allium": "^2.27.2"
17
17
  },
18
18
  "files": [
19
19
  "build",
package/theme.json CHANGED
@@ -1949,6 +1949,48 @@
1949
1949
  "textTransform": "{system.textTransform.none}"
1950
1950
  }
1951
1951
  },
1952
+ "CheckboxCardGroup": {
1953
+ "appearances": {
1954
+ "fullWidth": {
1955
+ "description": "Makes cards always occupy the full width of the parent, regardless of viewport",
1956
+ "type": "variant",
1957
+ "values": [true]
1958
+ },
1959
+ "viewport": "{appearances.system.viewport}"
1960
+ },
1961
+ "rules": [
1962
+ {
1963
+ "if": {
1964
+ "viewport": ["md", "lg", "xl"]
1965
+ },
1966
+ "tokens": {
1967
+ "direction": "{system.direction.row}",
1968
+ "space": "{system.integer.5}"
1969
+ }
1970
+ },
1971
+ {
1972
+ "if": {
1973
+ "fullWidth": true
1974
+ },
1975
+ "tokens": {
1976
+ "direction": "{system.direction.column}",
1977
+ "fieldSpace": "{system.integer.3}",
1978
+ "space": "{system.integer.3}"
1979
+ }
1980
+ }
1981
+ ],
1982
+ "tokens": {
1983
+ "borderBottomLeftRadius": "{palette.radius.radius1}",
1984
+ "borderBottomRightRadius": "{palette.radius.radius1}",
1985
+ "borderTopLeftRadius": "{palette.radius.radius1}",
1986
+ "borderTopRightRadius": "{palette.radius.radius1}",
1987
+ "direction": "{system.direction.column}",
1988
+ "fieldSpace": "{system.integer.3}",
1989
+ "outlineOffset": "{palette.size.size8}",
1990
+ "outlineWidth": "{palette.border.border1}",
1991
+ "space": "{system.integer.3}"
1992
+ }
1993
+ },
1952
1994
  "CheckboxGroup": {
1953
1995
  "appearances": {},
1954
1996
  "rules": [],
@@ -3989,6 +4031,7 @@
3989
4031
  "viewport": ["xs", "sm"]
3990
4032
  },
3991
4033
  "tokens": {
4034
+ "direction": "{system.direction.column}",
3992
4035
  "height": "{system.size.full}",
3993
4036
  "paddingBottom": "{palette.size.size24}",
3994
4037
  "paddingLeft": "{palette.size.size24}",
@@ -4003,6 +4046,7 @@
4003
4046
  "tokens": {
4004
4047
  "containerPaddingBottom": "{palette.size.size32}",
4005
4048
  "containerPaddingTop": "{palette.size.size32}",
4049
+ "direction": "{system.direction.row}",
4006
4050
  "maxWidth": "{palette.size.size576}"
4007
4051
  }
4008
4052
  },
@@ -4099,6 +4143,7 @@
4099
4143
  "containerPaddingLeft": "{system.size.zero}",
4100
4144
  "containerPaddingRight": "{system.size.zero}",
4101
4145
  "containerPaddingTop": "{system.size.zero}",
4146
+ "direction": "{system.direction.row}",
4102
4147
  "gap": "{palette.size.size16}",
4103
4148
  "headingColor": "{palette.color.greyCharcoal}",
4104
4149
  "headingPaddingRight": "{palette.size.size24}",