@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/theme.json CHANGED
@@ -905,7 +905,6 @@
905
905
  }
906
906
  ],
907
907
  "tokens": {
908
- "alignSelf": "{system.flexAlign.flexStart}",
909
908
  "backgroundColor": "{palette.color.white}",
910
909
  "borderBottomWidth": "{palette.border.border1}",
911
910
  "borderColor": "{palette.color.mosque}",
@@ -1908,11 +1907,11 @@
1908
1907
  "appearances": {},
1909
1908
  "rules": [],
1910
1909
  "tokens": {
1911
- "color": "{system.color.none}",
1910
+ "color": "{palette.color.black}",
1912
1911
  "fontName": "{palette.fontName.StagSans}",
1913
- "fontSize": "{palette.fontSize.size14}",
1914
- "fontWeight": "{palette.fontWeight.weight300}",
1915
- "lineHeight": "{palette.lineHeight.ratio10to7}"
1912
+ "fontSize": "{palette.fontSize.size12}",
1913
+ "fontWeight": "{palette.fontWeight.weight400}",
1914
+ "lineHeight": "{palette.lineHeight.ratio4to3}"
1916
1915
  }
1917
1916
  },
1918
1917
  "Divider": {
@@ -1997,7 +1996,11 @@
1997
1996
  "type": "variant",
1998
1997
  "values": [true]
1999
1998
  },
2000
- "expanded": "{appearances.ExpandCollapseControl.expanded}"
1999
+ "expanded": "{appearances.ExpandCollapseControl.expanded}",
2000
+ "mini": {
2001
+ "type": "variant",
2002
+ "values": [true]
2003
+ }
2001
2004
  },
2002
2005
  "rules": [
2003
2006
  {
@@ -2006,6 +2009,28 @@
2006
2009
  },
2007
2010
  "tokens": {}
2008
2011
  },
2012
+ {
2013
+ "if": {
2014
+ "mini": true
2015
+ },
2016
+ "tokens": {
2017
+ "backgroundColor": "{palette.color.transparent}",
2018
+ "borderColor": "{palette.color.transparent}",
2019
+ "borderWidth": "{system.border.zero}",
2020
+ "icon": "{palette.icon.ChevronDown}",
2021
+ "iconColor": "{palette.color.black}",
2022
+ "iconGap": "{palette.size.size8}",
2023
+ "iconPaddingTop": "{palette.size.size4}",
2024
+ "iconPosition": "{system.position.left}",
2025
+ "iconSize": "{palette.size.size16}",
2026
+ "justifyContent": "{system.flexJustifyContent.flexStart}",
2027
+ "paddingBottom": "{palette.size.size0}",
2028
+ "paddingLeft": "{palette.size.size0}",
2029
+ "paddingRight": "{palette.size.size0}",
2030
+ "paddingTop": "{palette.size.size0}",
2031
+ "verticalAlign": "{system.verticalAlign.middle}"
2032
+ }
2033
+ },
2009
2034
  {
2010
2035
  "if": {
2011
2036
  "expanded": true
@@ -2017,7 +2042,11 @@
2017
2042
  ],
2018
2043
  "tokens": {
2019
2044
  "backgroundColor": "{palette.color.gallery}",
2045
+ "borderBottomLeftRadius": "{system.radius.zero}",
2046
+ "borderBottomRightRadius": "{system.radius.zero}",
2020
2047
  "borderColor": "{palette.color.transparent}",
2048
+ "borderTopLeftRadius": "{system.radius.zero}",
2049
+ "borderTopRightRadius": "{system.radius.zero}",
2021
2050
  "borderWidth": "{system.border.zero}",
2022
2051
  "icon": "{palette.icon.ChevronDown}",
2023
2052
  "iconColor": "{palette.color.black}",
@@ -2030,6 +2059,7 @@
2030
2059
  "paddingLeft": "{palette.size.size24}",
2031
2060
  "paddingRight": "{palette.size.size24}",
2032
2061
  "paddingTop": "{palette.size.size16}",
2062
+ "textLine": "{system.textLine.none}",
2033
2063
  "verticalAlign": "{system.verticalAlign.middle}"
2034
2064
  }
2035
2065
  },
@@ -2073,11 +2103,15 @@
2073
2103
  "verticalAlign": "{system.verticalAlign.middle}"
2074
2104
  }
2075
2105
  },
2076
- "ExpandCollapseMiniPanel": {
2106
+ "ExpandCollapsePanel": {
2077
2107
  "appearances": {
2078
2108
  "compact": {
2079
2109
  "type": "variant",
2080
2110
  "values": [true]
2111
+ },
2112
+ "mini": {
2113
+ "type": "variant",
2114
+ "values": [true]
2081
2115
  }
2082
2116
  },
2083
2117
  "rules": [
@@ -2086,36 +2120,18 @@
2086
2120
  "compact": true
2087
2121
  },
2088
2122
  "tokens": {}
2089
- }
2090
- ],
2091
- "tokens": {
2092
- "borderColor": "{palette.color.transparent}",
2093
- "borderRadius": "{palette.radius.none}",
2094
- "borderWidth": "{palette.border.none}",
2095
- "collapseDuration": "{palette.duration.duration250}",
2096
- "contentPaddingBottom": "{palette.size.size16}",
2097
- "contentPaddingLeft": "{palette.size.size0}",
2098
- "contentPaddingRight": "{palette.size.size0}",
2099
- "contentPaddingTop": "{palette.size.size0}",
2100
- "expandDividerColor": "{palette.color.transparent}",
2101
- "expandDividerWidth": "{palette.size.size0}",
2102
- "expandDuration": "{palette.duration.duration300}",
2103
- "marginBottom": "{palette.size.size0}"
2104
- }
2105
- },
2106
- "ExpandCollapsePanel": {
2107
- "appearances": {
2108
- "compact": {
2109
- "type": "variant",
2110
- "values": [true]
2111
- }
2112
- },
2113
- "rules": [
2123
+ },
2114
2124
  {
2115
2125
  "if": {
2116
- "compact": true
2126
+ "mini": true
2117
2127
  },
2118
- "tokens": {}
2128
+ "tokens": {
2129
+ "borderColor": "{palette.color.transparent}",
2130
+ "contentPaddingBottom": "{palette.size.size0}",
2131
+ "contentPaddingLeft": "{palette.size.size0}",
2132
+ "contentPaddingRight": "{palette.size.size0}",
2133
+ "contentPaddingTop": "{palette.size.size0}"
2134
+ }
2119
2135
  }
2120
2136
  ],
2121
2137
  "tokens": {
@@ -2268,7 +2284,7 @@
2268
2284
  "appearances": {},
2269
2285
  "rules": [],
2270
2286
  "tokens": {
2271
- "color": "{palette.color.black}",
2287
+ "color": "{system.color.none}",
2272
2288
  "fontName": "{palette.fontName.StagSans}",
2273
2289
  "fontWeight": "{palette.fontWeight.weight400}",
2274
2290
  "lineHeight": "{palette.lineHeight.ratio1to1}",
@@ -3181,7 +3197,7 @@
3181
3197
  "size": "small"
3182
3198
  },
3183
3199
  "tokens": {
3184
- "iconMarginTop": "{palette.size.size1}",
3200
+ "iconMarginTop": "{palette.size.size2}",
3185
3201
  "itemFontSize": "{palette.fontSize.size14}",
3186
3202
  "itemIconSize": "{palette.size.size14}",
3187
3203
  "listGutter": "{palette.size.size10}"
@@ -3192,6 +3208,7 @@
3192
3208
  "compact": true
3193
3209
  },
3194
3210
  "tokens": {
3211
+ "iconMarginTop": "{palette.size.size1}",
3195
3212
  "itemLineHeight": "{palette.lineHeight.multiply120}"
3196
3213
  }
3197
3214
  },
@@ -4976,6 +4993,7 @@
4976
4993
  "appearances": {
4977
4994
  "active": "{appearances.SideNavItem.active}",
4978
4995
  "expanded": "{appearances.SideNavItem.expanded}",
4996
+ "focus": "{appearances.SideNavItem.focus}",
4979
4997
  "hover": "{appearances.SideNavItem.hover}",
4980
4998
  "type": "{appearances.SideNavItem.type}"
4981
4999
  },
@@ -4986,9 +5004,7 @@
4986
5004
  },
4987
5005
  "tokens": {
4988
5006
  "accentBackgroundColor": "{palette.color.mosque}",
4989
- "backgroundColor": "{palette.color.mintTulip}",
4990
- "color": "{palette.color.mosque}",
4991
- "paddingLeft": "{palette.size.size10}"
5007
+ "backgroundColor": "{palette.color.gallery}"
4992
5008
  }
4993
5009
  },
4994
5010
  {
@@ -4996,41 +5012,42 @@
4996
5012
  "type": "child"
4997
5013
  },
4998
5014
  "tokens": {
4999
- "accentBackgroundColor": "{palette.color.mintTulip}",
5000
- "accentOffset": "{palette.size.size16}",
5001
- "borderWidth": "{palette.border.none}",
5002
- "paddingLeft": "{palette.size.size36}"
5015
+ "accentBackgroundColor": "{palette.color.transparent}",
5016
+ "fontName": "{palette.fontName.StagSans}",
5017
+ "fontSize": "{palette.fontSize.size14}",
5018
+ "fontWeight": "{palette.fontWeight.weight400}",
5019
+ "lineHeight": "{palette.lineHeight.ratio14to1}",
5020
+ "paddingBottom": "{palette.size.size12}",
5021
+ "paddingLeft": "{palette.size.size32}",
5022
+ "paddingRight": "{palette.size.size16}",
5023
+ "paddingTop": "{palette.size.size12}"
5003
5024
  }
5004
5025
  },
5005
5026
  {
5006
5027
  "if": {
5007
5028
  "active": true,
5029
+ "expanded": true,
5008
5030
  "type": "parent"
5009
5031
  },
5010
5032
  "tokens": {
5011
- "paddingLeft": "{palette.size.size10}"
5033
+ "accentBackgroundColor": "{palette.color.transparent}",
5034
+ "backgroundColor": "{palette.color.transparent}"
5012
5035
  }
5013
5036
  },
5014
5037
  {
5015
5038
  "if": {
5016
- "active": true,
5017
- "expanded": true,
5018
- "type": "parent"
5039
+ "hover": true
5019
5040
  },
5020
5041
  "tokens": {
5021
- "accentBackgroundColor": "{palette.color.transparent}",
5022
- "backgroundColor": "{palette.color.transparent}",
5023
- "color": "{palette.color.dove}",
5024
- "paddingLeft": "{palette.size.size16}"
5042
+ "backgroundColor": "{palette.color.gallery}"
5025
5043
  }
5026
5044
  },
5027
5045
  {
5028
5046
  "if": {
5029
- "hover": true
5047
+ "focus": true
5030
5048
  },
5031
5049
  "tokens": {
5032
- "backgroundColor": "{palette.color.mintTulip}",
5033
- "color": "{palette.color.mosque}"
5050
+ "backgroundColor": "{palette.color.gallery}"
5034
5051
  }
5035
5052
  },
5036
5053
  {
@@ -5040,9 +5057,14 @@
5040
5057
  },
5041
5058
  "tokens": {
5042
5059
  "accentBackgroundColor": "{palette.color.mosque}",
5060
+ "accentOffset": "{palette.size.size24}",
5043
5061
  "accentPadding": "{palette.size.size16}",
5044
- "backgroundColor": "{palette.color.mintTulip}",
5045
- "color": "{palette.color.mosque}"
5062
+ "backgroundColor": "{palette.color.transparent}",
5063
+ "fontName": "{palette.fontName.StagSans}",
5064
+ "fontWeight": "{palette.fontWeight.weight600}",
5065
+ "lineHeight": "{palette.lineHeight.multiply150}",
5066
+ "paddingBottom": "{palette.size.size13}",
5067
+ "paddingTop": "{palette.size.size13}"
5046
5068
  }
5047
5069
  },
5048
5070
  {
@@ -5052,10 +5074,7 @@
5052
5074
  "type": "child"
5053
5075
  },
5054
5076
  "tokens": {
5055
- "accentBackgroundColor": "{palette.color.white}",
5056
- "accentOffset": "{system.size.zero}",
5057
- "accentWidth": "{palette.size.size16}",
5058
- "color": "{palette.color.dove}"
5077
+ "accentBackgroundColor": "{palette.color.transparent}"
5059
5078
  }
5060
5079
  }
5061
5080
  ],
@@ -5068,21 +5087,32 @@
5068
5087
  "borderColor": "{palette.color.silver}",
5069
5088
  "borderStyle": "{system.borderStyle.solid}",
5070
5089
  "borderWidth": "{palette.border.border1}",
5071
- "color": "{palette.color.dove}",
5090
+ "color": "{palette.color.black}",
5072
5091
  "fontName": "{palette.fontName.StagSans}",
5073
5092
  "fontSize": "{palette.fontSize.size16}",
5074
- "fontWeight": "{palette.fontWeight.weight400}",
5093
+ "fontWeight": "{palette.fontWeight.weight600}",
5075
5094
  "justifyContent": "{system.flexJustifyContent.spaceBetween}",
5076
5095
  "lineHeight": "{palette.lineHeight.multiply150}",
5077
- "paddingBottom": "{palette.size.size16}",
5078
- "paddingLeft": "{palette.size.size16}",
5079
- "paddingRight": "{palette.size.size16}",
5080
- "paddingTop": "{palette.size.size16}"
5096
+ "paddingBottom": "{palette.size.size12}",
5097
+ "paddingLeft": "{palette.size.size24}",
5098
+ "paddingRight": "{palette.size.size20}",
5099
+ "paddingTop": "{palette.size.size12}"
5081
5100
  }
5082
5101
  },
5083
5102
  "SideNavItemsGroup": {
5084
- "appearances": {},
5085
- "rules": [],
5103
+ "appearances": {
5104
+ "expanded": "{appearances.SideNavItemGroup.expanded}"
5105
+ },
5106
+ "rules": [
5107
+ {
5108
+ "if": {
5109
+ "expanded": true
5110
+ },
5111
+ "tokens": {
5112
+ "icon": "{palette.icon.ChevronUp}"
5113
+ }
5114
+ }
5115
+ ],
5086
5116
  "tokens": {
5087
5117
  "collapseDuration": "{palette.duration.duration250}",
5088
5118
  "contentPaddingBottom": "{palette.size.size0}",
@@ -5090,11 +5120,11 @@
5090
5120
  "contentPaddingRight": "{palette.size.size0}",
5091
5121
  "contentPaddingTop": "{palette.size.size0}",
5092
5122
  "expandDuration": "{palette.duration.duration300}",
5093
- "icon": "{system.icon.none}",
5094
- "iconColor": "{system.color.none}",
5123
+ "icon": "{palette.icon.ChevronDown}",
5124
+ "iconColor": "{palette.color.black}",
5095
5125
  "iconGap": "{palette.size.size8}",
5096
5126
  "iconPosition": "{system.position.right}",
5097
- "iconSize": "{palette.size.size10}",
5127
+ "iconSize": "{palette.size.size16}",
5098
5128
  "justifyContent": "{system.flexJustifyContent.spaceBetween}",
5099
5129
  "verticalAlign": "{system.verticalAlign.middle}"
5100
5130
  }
@@ -5103,12 +5133,14 @@
5103
5133
  "appearances": {},
5104
5134
  "rules": [],
5105
5135
  "tokens": {
5136
+ "animationDuration": "{system.integer.2000}",
5106
5137
  "baseWidth": "{palette.size.size40}",
5107
5138
  "characters": "{palette.size.size10}",
5108
- "color": "{palette.color.dove}",
5139
+ "color": "{palette.color.silver}",
5109
5140
  "radius": "{system.radius.round}",
5110
- "size": "{palette.size.size2}",
5111
- "spaceBetweenLines": "{palette.size.size4}",
5141
+ "secondColor": "{palette.color.gallery}",
5142
+ "size": "{palette.size.size3}",
5143
+ "spaceBetweenLines": "{palette.size.size2}",
5112
5144
  "squareRadius": "{palette.radius.radius4}"
5113
5145
  }
5114
5146
  },