@telus-uds/theme-allium 3.22.0 → 3.24.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
@@ -113,6 +113,20 @@
113
113
  "paddingTop": "{palette.size.size2}"
114
114
  }
115
115
  },
116
+ "BlockQuote": {
117
+ "appearances": {},
118
+ "rules": [],
119
+ "tokens": {
120
+ "backgroundGradient": "{palette.gradient.purple}",
121
+ "color": "{palette.color.greyCharcoal}",
122
+ "marginBottom": "{palette.size.size16}",
123
+ "paddingBottom": "{palette.size.size16}",
124
+ "paddingLeft": "{palette.size.size32}",
125
+ "paddingRight": "{palette.size.size32}",
126
+ "paddingTop": "{palette.size.size16}",
127
+ "width": "{palette.size.size2}"
128
+ }
129
+ },
116
130
  "Box": {
117
131
  "appearances": {
118
132
  "background": {
@@ -1266,7 +1280,7 @@
1266
1280
  "borderWidth": "{palette.border.border1}",
1267
1281
  "contentAlignItems": "{system.flexAlign.stretch}",
1268
1282
  "contentFlexGrow": "{system.integer.0}",
1269
- "contentFlexShrink": "{system.integer.0}",
1283
+ "contentFlexShrink": "{system.integer.1}",
1270
1284
  "contentJustifyContent": "{system.flexJustifyContent.flexStart}",
1271
1285
  "flex": "{system.integer.1}",
1272
1286
  "minWidth": "{system.size.none}",
@@ -1590,7 +1604,8 @@
1590
1604
  "hover": true
1591
1605
  },
1592
1606
  "tokens": {
1593
- "color": "{palette.color.greenSanFelix}"
1607
+ "color": "{palette.color.greenSanFelix}",
1608
+ "iconDisplace": "{palette.size.size4}"
1594
1609
  }
1595
1610
  },
1596
1611
  {
@@ -1658,7 +1673,9 @@
1658
1673
  "size": "large"
1659
1674
  },
1660
1675
  "tokens": {
1661
- "iconSize": "{palette.size.size20}"
1676
+ "height": "{palette.size.size48}",
1677
+ "iconSize": "{palette.size.size24}",
1678
+ "textLineHeight": "{palette.lineHeight.ratio10to5}"
1662
1679
  }
1663
1680
  },
1664
1681
  {
@@ -1666,7 +1683,9 @@
1666
1683
  "size": "small"
1667
1684
  },
1668
1685
  "tokens": {
1669
- "iconSize": "{palette.size.size14}"
1686
+ "height": "{palette.size.size36}",
1687
+ "iconSize": "{palette.size.size14}",
1688
+ "textLineHeight": "{palette.lineHeight.ratio15to7}"
1670
1689
  }
1671
1690
  },
1672
1691
  {
@@ -1674,19 +1693,23 @@
1674
1693
  "size": "micro"
1675
1694
  },
1676
1695
  "tokens": {
1677
- "iconSize": "{palette.size.size12}"
1696
+ "height": "{palette.size.size32}",
1697
+ "iconSize": "{palette.size.size12}",
1698
+ "textLineHeight": "{palette.lineHeight.ratio2to1}"
1678
1699
  }
1679
1700
  }
1680
1701
  ],
1681
1702
  "tokens": {
1682
1703
  "color": "{palette.color.greenAccessible}",
1704
+ "height": "{palette.size.size40}",
1683
1705
  "iconDisplace": "{palette.size.size0}",
1684
1706
  "iconSize": "{palette.size.size24}",
1685
1707
  "iconSpace": "{system.integer.1}",
1686
- "leftIcon": "{palette.icon.ChevronLeft}",
1708
+ "leftIcon": "{palette.icon.ArrowLeft}",
1687
1709
  "outerBorderColor": "{palette.color.transparent}",
1688
- "rightIcon": "{palette.icon.ChevronRight}",
1689
- "textLine": "{system.textLine.none}"
1710
+ "rightIcon": "{palette.icon.ArrowRight}",
1711
+ "textLine": "{system.textLine.none}",
1712
+ "textLineHeight": "{palette.lineHeight.ratio9to4}"
1690
1713
  }
1691
1714
  },
1692
1715
  "DatePicker": {
@@ -2152,6 +2175,20 @@
2152
2175
  },
2153
2176
  "IconButton": {
2154
2177
  "appearances": {
2178
+ "action": {
2179
+ "type": "variant",
2180
+ "values": [
2181
+ "add",
2182
+ "close",
2183
+ "expand",
2184
+ "moveDown",
2185
+ "moveLeft",
2186
+ "moveRight",
2187
+ "moveUp",
2188
+ "play",
2189
+ "subtract"
2190
+ ]
2191
+ },
2155
2192
  "compact": {
2156
2193
  "description": "Without the outer border gap",
2157
2194
  "type": "variant",
@@ -2182,6 +2219,78 @@
2182
2219
  }
2183
2220
  },
2184
2221
  "rules": [
2222
+ {
2223
+ "if": {
2224
+ "action": "add"
2225
+ },
2226
+ "tokens": {
2227
+ "icon": "{palette.icon.Add}"
2228
+ }
2229
+ },
2230
+ {
2231
+ "if": {
2232
+ "action": "subtract"
2233
+ },
2234
+ "tokens": {
2235
+ "icon": "{palette.icon.Subtract}"
2236
+ }
2237
+ },
2238
+ {
2239
+ "if": {
2240
+ "action": "close"
2241
+ },
2242
+ "tokens": {
2243
+ "icon": "{palette.icon.Close}"
2244
+ }
2245
+ },
2246
+ {
2247
+ "if": {
2248
+ "action": "expand"
2249
+ },
2250
+ "tokens": {
2251
+ "icon": "{palette.icon.Expand}"
2252
+ }
2253
+ },
2254
+ {
2255
+ "if": {
2256
+ "action": "moveDown"
2257
+ },
2258
+ "tokens": {
2259
+ "icon": "{palette.icon.CaretDown}"
2260
+ }
2261
+ },
2262
+ {
2263
+ "if": {
2264
+ "action": "moveUp"
2265
+ },
2266
+ "tokens": {
2267
+ "icon": "{palette.icon.CaretUp}"
2268
+ }
2269
+ },
2270
+ {
2271
+ "if": {
2272
+ "action": "moveLeft"
2273
+ },
2274
+ "tokens": {
2275
+ "icon": "{palette.icon.ChevronLeft}"
2276
+ }
2277
+ },
2278
+ {
2279
+ "if": {
2280
+ "action": "moveRight"
2281
+ },
2282
+ "tokens": {
2283
+ "icon": "{palette.icon.ChevronRight}"
2284
+ }
2285
+ },
2286
+ {
2287
+ "if": {
2288
+ "action": "play"
2289
+ },
2290
+ "tokens": {
2291
+ "icon": "{palette.icon.PlayVideo}"
2292
+ }
2293
+ },
2185
2294
  {
2186
2295
  "if": {
2187
2296
  "inverse": true
@@ -2431,6 +2540,7 @@
2431
2540
  "borderColor": "{palette.color.greyShuttle}",
2432
2541
  "borderRadius": "{system.radius.round}",
2433
2542
  "borderWidth": "{palette.border.border1}",
2543
+ "icon": "{system.icon.none}",
2434
2544
  "iconColor": "{palette.color.greyShuttle}",
2435
2545
  "iconScale": "{system.iconScale.scale1}",
2436
2546
  "iconSize": "{palette.size.size16}",
@@ -2796,6 +2906,104 @@
2796
2906
  "listGutter": "{palette.size.size16}"
2797
2907
  }
2798
2908
  },
2909
+ "ListBox": {
2910
+ "appearances": {
2911
+ "current": "{appearances.ListBox.current}",
2912
+ "expanded": "{appearances.ListBox.expanded}",
2913
+ "focus": "{appearances.ListBox.focus}",
2914
+ "hover": "{appearances.ListBox.hover}",
2915
+ "isChild": "{appearances.ListBox.isChild}",
2916
+ "pressed": "{appearances.ListBox.pressed}"
2917
+ },
2918
+ "rules": [
2919
+ {
2920
+ "if": {
2921
+ "pressed": true
2922
+ },
2923
+ "tokens": {
2924
+ "groupBackgroundColor": "{palette.color.greyMystic}",
2925
+ "groupColor": "{palette.color.purpleTelus}"
2926
+ }
2927
+ },
2928
+ {
2929
+ "if": {
2930
+ "hover": true
2931
+ },
2932
+ "tokens": {
2933
+ "groupBackgroundColor": "{palette.color.greyAthens}",
2934
+ "groupColor": "{palette.color.purpleTelus}"
2935
+ }
2936
+ },
2937
+ {
2938
+ "if": {
2939
+ "focus": true
2940
+ },
2941
+ "tokens": {
2942
+ "groupBackgroundColor": "{palette.color.greyAthens}",
2943
+ "groupColor": "{palette.color.purpleTelus}"
2944
+ }
2945
+ },
2946
+ {
2947
+ "if": {
2948
+ "expanded": true
2949
+ },
2950
+ "tokens": {
2951
+ "groupIcon": "{palette.icon.CaretUp}"
2952
+ }
2953
+ },
2954
+ {
2955
+ "if": {
2956
+ "current": true
2957
+ },
2958
+ "tokens": {
2959
+ "groupColor": "{palette.color.purpleTelus}",
2960
+ "groupFontName": "{palette.fontName.HelveticaNow}",
2961
+ "groupFontWeight": "{palette.fontWeight.weight700}"
2962
+ }
2963
+ },
2964
+ {
2965
+ "if": {
2966
+ "isChild": true
2967
+ },
2968
+ "tokens": {
2969
+ "itemBorderWidth": "{palette.border.border4}",
2970
+ "itemPaddingLeft": "{palette.size.size12}"
2971
+ }
2972
+ }
2973
+ ],
2974
+ "tokens": {
2975
+ "groupBackgroundColor": "{palette.color.transparent}",
2976
+ "groupBorderColor": "{palette.color.purpleTelus}",
2977
+ "groupBorderRadius": "{palette.radius.radius6}",
2978
+ "groupBorderWidth": "{palette.border.border1}",
2979
+ "groupColor": "{palette.color.greyCharcoal}",
2980
+ "groupFontName": "{palette.fontName.HelveticaNow}",
2981
+ "groupFontSize": "{palette.size.size14}",
2982
+ "groupFontWeight": "{palette.fontWeight.weight400}",
2983
+ "groupIcon": "{palette.icon.CaretDown}",
2984
+ "groupPaddingBottom": "{palette.size.size12}",
2985
+ "groupPaddingLeft": "{palette.size.size16}",
2986
+ "groupPaddingRight": "{palette.size.size16}",
2987
+ "groupPaddingTop": "{palette.size.size12}",
2988
+ "itemBackgroundColor": "{palette.color.transparent}",
2989
+ "itemBorderBackgroundColor": "{palette.color.greyMystic}",
2990
+ "itemBorderLeftColor": "{palette.color.purpleTelus}",
2991
+ "itemBorderLeftWidth": "{palette.border.border4}",
2992
+ "itemBorderWidth": "{system.border.zero}",
2993
+ "itemColor": "{palette.color.purpleTelus}",
2994
+ "itemDisplay": "{system.show.false}",
2995
+ "itemFontName": "{palette.fontName.HelveticaNow}",
2996
+ "itemFontSize": "{palette.size.size14}",
2997
+ "itemFontWeight": "{palette.fontWeight.weight700}",
2998
+ "itemOutline": "{palette.border.none}",
2999
+ "itemPaddingBottom": "{palette.size.size12}",
3000
+ "itemPaddingLeft": "{palette.size.size16}",
3001
+ "itemPaddingRight": "{palette.size.size16}",
3002
+ "itemPaddingTop": "{palette.size.size12}",
3003
+ "itemTextDecoration": "{system.textLine.none}",
3004
+ "shadow": "{palette.shadow.elevation1}"
3005
+ }
3006
+ },
2799
3007
  "Modal": {
2800
3008
  "appearances": {
2801
3009
  "maxWidth": "{appearances.Modal.maxWidth}",
@@ -3884,7 +4092,7 @@
3884
4092
  "color": "{palette.color.greyThunder}",
3885
4093
  "contentAlignItems": "{system.flexAlign.stretch}",
3886
4094
  "contentFlexGrow": "{system.integer.0}",
3887
- "contentFlexShrink": "{system.integer.0}",
4095
+ "contentFlexShrink": "{system.integer.1}",
3888
4096
  "contentJustifyContent": "{system.flexJustifyContent.flexStart}",
3889
4097
  "contentSpace": "{system.integer.2}",
3890
4098
  "flex": "{system.integer.1}",
@@ -4389,6 +4597,30 @@
4389
4597
  "paddingVertical": "{palette.size.size8}"
4390
4598
  }
4391
4599
  },
4600
+ "Spinner": {
4601
+ "appearances": {
4602
+ "size": {
4603
+ "type": "variant",
4604
+ "values": ["small"]
4605
+ }
4606
+ },
4607
+ "rules": [
4608
+ {
4609
+ "if": {
4610
+ "size": "small"
4611
+ },
4612
+ "tokens": {
4613
+ "size": "{palette.size.size24}",
4614
+ "thickness": "{palette.border.border2}"
4615
+ }
4616
+ }
4617
+ ],
4618
+ "tokens": {
4619
+ "fullScreenOverLayBackground": "{palette.color.light97}",
4620
+ "size": "{palette.size.size48}",
4621
+ "thickness": "{palette.border.border4}"
4622
+ }
4623
+ },
4392
4624
  "StackView": {
4393
4625
  "appearances": {},
4394
4626
  "rules": [],