@telus-uds/theme-public-mobile 2.7.0 → 2.8.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:48 GMT
4
+ * Generated on Fri, 10 Nov 2023 22:26:27 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1593,18 +1593,54 @@ module.exports = {
1593
1593
  textTransform: 'none'
1594
1594
  }
1595
1595
  },
1596
+ CheckboxCardGroup: {
1597
+ appearances: {
1598
+ fullWidth: {
1599
+ description: 'Makes cards always occupy the full width of the parent, regardless of viewport',
1600
+ type: 'variant',
1601
+ values: [ true ]
1602
+ },
1603
+ viewport: {
1604
+ description: 'The size label for the current screen viewport based on the current screen width',
1605
+ type: 'state',
1606
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
1607
+ }
1608
+ },
1609
+ rules: [
1610
+ {
1611
+ if: { viewport: [ 'md', 'lg', 'xl' ] },
1612
+ tokens: { direction: 'row', space: 6 }
1613
+ },
1614
+ {
1615
+ if: { fullWidth: true },
1616
+ tokens: { direction: 'column', fieldSpace: 4, space: 4 }
1617
+ }
1618
+ ],
1619
+ tokens: {
1620
+ borderBottomLeftRadius: 1,
1621
+ borderBottomRightRadius: 1,
1622
+ borderTopLeftRadius: 1,
1623
+ borderTopRightRadius: 1,
1624
+ direction: 'column',
1625
+ fieldSpace: 4,
1626
+ outlineOffset: 8,
1627
+ outlineWidth: 1,
1628
+ showIcon: true,
1629
+ space: 4
1630
+ }
1631
+ },
1596
1632
  CheckboxGroup: {
1597
1633
  appearances: {},
1598
1634
  rules: [],
1599
1635
  tokens: {
1600
- borderBottomLeftRadius: 0,
1601
- borderBottomRightRadius: 0,
1602
- borderTopLeftRadius: 0,
1603
- borderTopRightRadius: 0,
1636
+ borderBottomLeftRadius: 1,
1637
+ borderBottomRightRadius: 1,
1638
+ borderTopLeftRadius: 1,
1639
+ borderTopRightRadius: 1,
1604
1640
  fieldSpace: 2,
1605
- outlineOffset: null,
1606
- outlineWidth: 0,
1607
- showIcon: false,
1641
+ outlineOffset: 8,
1642
+ outlineWidth: 1,
1643
+ showIcon: true,
1608
1644
  space: 2
1609
1645
  }
1610
1646
  },
@@ -3148,6 +3184,7 @@ module.exports = {
3148
3184
  {
3149
3185
  if: { viewport: [ 'xs', 'sm' ] },
3150
3186
  tokens: {
3187
+ direction: 'column',
3151
3188
  height: '100%',
3152
3189
  paddingBottom: 24,
3153
3190
  paddingLeft: 24,
@@ -3160,6 +3197,7 @@ module.exports = {
3160
3197
  tokens: {
3161
3198
  containerPaddingBottom: 32,
3162
3199
  containerPaddingTop: 32,
3200
+ direction: 'row',
3163
3201
  maxWidth: 576
3164
3202
  }
3165
3203
  },
@@ -3235,6 +3273,7 @@ module.exports = {
3235
3273
  containerPaddingLeft: 0,
3236
3274
  containerPaddingRight: 0,
3237
3275
  containerPaddingTop: 0,
3276
+ direction: 'row',
3238
3277
  gap: 16,
3239
3278
  headingColor: '#394056',
3240
3279
  headingPaddingRight: 24,
@@ -4648,7 +4687,18 @@ module.exports = {
4648
4687
  tokens: { direction: 'row', space: 6 }
4649
4688
  }
4650
4689
  ],
4651
- tokens: { direction: 'column', fieldSpace: 4, space: 4 }
4690
+ tokens: {
4691
+ borderBottomLeftRadius: 1,
4692
+ borderBottomRightRadius: 1,
4693
+ borderTopLeftRadius: 1,
4694
+ borderTopRightRadius: 1,
4695
+ direction: 'column',
4696
+ fieldSpace: 4,
4697
+ outlineOffset: 8,
4698
+ outlineWidth: 1,
4699
+ showIcon: true,
4700
+ space: 4
4701
+ }
4652
4702
  },
4653
4703
  RadioGroup: {
4654
4704
  appearances: {},
@@ -6813,5 +6863,5 @@ module.exports = {
6813
6863
  tokens: { size: 80 }
6814
6864
  }
6815
6865
  },
6816
- metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.43.0' }
6866
+ metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.44.1' }
6817
6867
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-public-mobile",
3
- "version": "2.7.0",
3
+ "version": "2.8.1",
4
4
  "description": "Public Mobile theme",
5
5
  "keywords": [
6
6
  "public mobile"
@@ -15,7 +15,7 @@
15
15
  ],
16
16
  "devDependencies": {
17
17
  "@telus-uds/palette-public-mobile": "^1.4.0",
18
- "@telus-uds/system-theme-tokens": "^2.43.0"
18
+ "@telus-uds/system-theme-tokens": "^2.44.1"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "@telus-uds/palette-public-mobile": "^1.4.0"
package/theme.json CHANGED
@@ -1957,18 +1957,61 @@
1957
1957
  "textTransform": "{system.textTransform.none}"
1958
1958
  }
1959
1959
  },
1960
+ "CheckboxCardGroup": {
1961
+ "appearances": {
1962
+ "fullWidth": {
1963
+ "description": "Makes cards always occupy the full width of the parent, regardless of viewport",
1964
+ "type": "variant",
1965
+ "values": [true]
1966
+ },
1967
+ "viewport": "{appearances.system.viewport}"
1968
+ },
1969
+ "rules": [
1970
+ {
1971
+ "if": {
1972
+ "viewport": ["md", "lg", "xl"]
1973
+ },
1974
+ "tokens": {
1975
+ "direction": "{system.direction.row}",
1976
+ "space": "{system.integer.6}"
1977
+ }
1978
+ },
1979
+ {
1980
+ "if": {
1981
+ "fullWidth": true
1982
+ },
1983
+ "tokens": {
1984
+ "direction": "{system.direction.column}",
1985
+ "fieldSpace": "{system.integer.4}",
1986
+ "space": "{system.integer.4}"
1987
+ }
1988
+ }
1989
+ ],
1990
+ "tokens": {
1991
+ "borderBottomLeftRadius": "{palette.radius.radius1}",
1992
+ "borderBottomRightRadius": "{palette.radius.radius1}",
1993
+ "borderTopLeftRadius": "{palette.radius.radius1}",
1994
+ "borderTopRightRadius": "{palette.radius.radius1}",
1995
+ "direction": "{system.direction.column}",
1996
+ "fieldSpace": "{system.integer.4}",
1997
+ "outlineOffset": "{palette.size.size8}",
1998
+ "outlineWidth": "{palette.border.border1}",
1999
+ "showIcon": "{system.show.true}",
2000
+ "space": "{system.integer.4}"
2001
+ }
2002
+ },
1960
2003
  "CheckboxGroup": {
1961
2004
  "appearances": {},
1962
2005
  "rules": [],
1963
2006
  "tokens": {
1964
- "borderBottomLeftRadius": "{system.radius.zero}",
1965
- "borderBottomRightRadius": "{system.radius.zero}",
1966
- "borderTopLeftRadius": "{system.radius.zero}",
1967
- "borderTopRightRadius": "{system.radius.zero}",
2007
+ "borderBottomLeftRadius": "{palette.radius.radius1}",
2008
+ "borderBottomRightRadius": "{palette.radius.radius1}",
2009
+ "borderTopLeftRadius": "{palette.radius.radius1}",
2010
+ "borderTopRightRadius": "{palette.radius.radius1}",
1968
2011
  "fieldSpace": "{system.integer.2}",
1969
- "outlineOffset": "{system.size.none}",
1970
- "outlineWidth": "{system.border.zero}",
1971
- "showIcon": "{system.show.false}",
2012
+ "outlineOffset": "{palette.size.size8}",
2013
+ "outlineWidth": "{palette.border.border1}",
2014
+ "showIcon": "{system.show.true}",
1972
2015
  "space": "{system.integer.2}"
1973
2016
  }
1974
2017
  },
@@ -4119,6 +4162,7 @@
4119
4162
  "viewport": ["xs", "sm"]
4120
4163
  },
4121
4164
  "tokens": {
4165
+ "direction": "{system.direction.column}",
4122
4166
  "height": "{system.size.full}",
4123
4167
  "paddingBottom": "{palette.size.size24}",
4124
4168
  "paddingLeft": "{palette.size.size24}",
@@ -4133,6 +4177,7 @@
4133
4177
  "tokens": {
4134
4178
  "containerPaddingBottom": "{palette.size.size32}",
4135
4179
  "containerPaddingTop": "{palette.size.size32}",
4180
+ "direction": "{system.direction.row}",
4136
4181
  "maxWidth": "{palette.size.size576}"
4137
4182
  }
4138
4183
  },
@@ -4229,6 +4274,7 @@
4229
4274
  "containerPaddingLeft": "{system.size.zero}",
4230
4275
  "containerPaddingRight": "{system.size.zero}",
4231
4276
  "containerPaddingTop": "{system.size.zero}",
4277
+ "direction": "{system.direction.row}",
4232
4278
  "gap": "{palette.size.size16}",
4233
4279
  "headingColor": "{palette.color.slate100}",
4234
4280
  "headingPaddingRight": "{palette.size.size24}",
@@ -5795,8 +5841,15 @@
5795
5841
  }
5796
5842
  ],
5797
5843
  "tokens": {
5844
+ "borderBottomLeftRadius": "{palette.radius.radius1}",
5845
+ "borderBottomRightRadius": "{palette.radius.radius1}",
5846
+ "borderTopLeftRadius": "{palette.radius.radius1}",
5847
+ "borderTopRightRadius": "{palette.radius.radius1}",
5798
5848
  "direction": "{system.direction.column}",
5799
5849
  "fieldSpace": "{system.integer.4}",
5850
+ "outlineOffset": "{palette.size.size8}",
5851
+ "outlineWidth": "{palette.border.border1}",
5852
+ "showIcon": "{system.show.true}",
5800
5853
  "space": "{system.integer.4}"
5801
5854
  }
5802
5855
  },