@telus-uds/theme-allium 5.1.0 → 5.3.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.
Files changed (265) hide show
  1. package/build/android/ButtonGroupItem.json +1 -1
  2. package/build/android/Card.json +1 -0
  3. package/build/android/CardGroup.json +4 -0
  4. package/build/android/DownloadApp.json +41 -0
  5. package/build/android/Link.json +9 -1
  6. package/build/android/PriceLockup.json +1 -0
  7. package/build/android/Progress.json +14 -1
  8. package/build/android/ProgressBar.json +18 -3
  9. package/build/android/TabBar.json +40 -0
  10. package/build/android/TabBarItem.json +75 -0
  11. package/build/android/schema.json +1511 -1000
  12. package/build/android/theme.json +205 -7
  13. package/build/ios/ButtonGroupItem.json +1 -1
  14. package/build/ios/Card.json +1 -0
  15. package/build/ios/CardGroup.json +4 -0
  16. package/build/ios/DownloadApp.json +41 -0
  17. package/build/ios/Link.json +9 -1
  18. package/build/ios/PriceLockup.json +1 -0
  19. package/build/ios/Progress.json +14 -1
  20. package/build/ios/ProgressBar.json +18 -3
  21. package/build/ios/TabBar.json +40 -0
  22. package/build/ios/TabBarItem.json +75 -0
  23. package/build/ios/schema.json +1511 -1000
  24. package/build/ios/theme.json +205 -7
  25. package/build/rn/ActionCard.js +1 -1
  26. package/build/rn/ActivityIndicator.js +1 -1
  27. package/build/rn/Badge.js +1 -1
  28. package/build/rn/BlockQuote.js +1 -1
  29. package/build/rn/Box.js +1 -1
  30. package/build/rn/Breadcrumbs.js +1 -1
  31. package/build/rn/Button.js +1 -1
  32. package/build/rn/ButtonDropdown.js +1 -1
  33. package/build/rn/ButtonGroup.js +1 -1
  34. package/build/rn/ButtonGroupItem.js +2 -2
  35. package/build/rn/Callout.js +1 -1
  36. package/build/rn/Card.js +2 -1
  37. package/build/rn/CardGroup.js +5 -1
  38. package/build/rn/Carousel.js +1 -1
  39. package/build/rn/CarouselTabsPanelItem.js +1 -1
  40. package/build/rn/CarouselThumbnail.js +1 -1
  41. package/build/rn/Checkbox.js +1 -1
  42. package/build/rn/CheckboxCard.js +1 -1
  43. package/build/rn/CheckboxCardGroup.js +1 -1
  44. package/build/rn/CheckboxGroup.js +1 -1
  45. package/build/rn/ChevronLink.js +1 -1
  46. package/build/rn/ColourToggle.js +1 -1
  47. package/build/rn/Countdown.js +1 -1
  48. package/build/rn/DatePicker.js +1 -1
  49. package/build/rn/Disclaimer.js +1 -1
  50. package/build/rn/Divider.js +1 -1
  51. package/build/rn/DownloadApp.js +62 -0
  52. package/build/rn/ExpandCollapse.js +1 -1
  53. package/build/rn/ExpandCollapseControl.js +1 -1
  54. package/build/rn/ExpandCollapseMini.js +1 -1
  55. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  56. package/build/rn/ExpandCollapsePanel.js +1 -1
  57. package/build/rn/Feedback.js +1 -1
  58. package/build/rn/Fieldset.js +1 -1
  59. package/build/rn/FileUpload.js +1 -1
  60. package/build/rn/Footnote.js +1 -1
  61. package/build/rn/FootnoteLink.js +1 -1
  62. package/build/rn/HorizontalScrollButton.js +1 -1
  63. package/build/rn/Icon.js +1 -1
  64. package/build/rn/IconButton.js +1 -1
  65. package/build/rn/Image.js +1 -1
  66. package/build/rn/InputLabel.js +1 -1
  67. package/build/rn/InputSupports.js +1 -1
  68. package/build/rn/Link.js +3 -2
  69. package/build/rn/List.js +1 -1
  70. package/build/rn/Listbox.js +1 -1
  71. package/build/rn/Modal.js +1 -1
  72. package/build/rn/MultiSelectFilter.js +1 -1
  73. package/build/rn/NavigationBar.js +1 -1
  74. package/build/rn/Notification.js +1 -1
  75. package/build/rn/OrderedList.js +1 -1
  76. package/build/rn/Pagination.js +1 -1
  77. package/build/rn/PaginationPageButton.js +1 -1
  78. package/build/rn/PaginationSideButton.js +1 -1
  79. package/build/rn/PreviewCard.js +1 -1
  80. package/build/rn/PriceLockup.js +2 -1
  81. package/build/rn/ProductCard.js +1 -1
  82. package/build/rn/Progress.js +10 -2
  83. package/build/rn/ProgressBar.js +14 -4
  84. package/build/rn/QuantitySelector.js +1 -1
  85. package/build/rn/QuantitySelectorSideButton.js +1 -1
  86. package/build/rn/QuickLinks.js +1 -1
  87. package/build/rn/QuickLinksButton.js +1 -1
  88. package/build/rn/QuickLinksCard.js +1 -1
  89. package/build/rn/QuickLinksFeature.js +1 -1
  90. package/build/rn/QuickLinksFeatureItem.js +1 -1
  91. package/build/rn/QuickLinksList.js +1 -1
  92. package/build/rn/Radio.js +1 -1
  93. package/build/rn/RadioCard.js +1 -1
  94. package/build/rn/RadioCardGroup.js +1 -1
  95. package/build/rn/RadioGroup.js +1 -1
  96. package/build/rn/Ribbon.js +1 -1
  97. package/build/rn/Search.js +1 -1
  98. package/build/rn/SearchButton.js +1 -1
  99. package/build/rn/Select.js +1 -1
  100. package/build/rn/SideNav.js +1 -1
  101. package/build/rn/SideNavItem.js +1 -1
  102. package/build/rn/SideNavItemsGroup.js +1 -1
  103. package/build/rn/Skeleton.js +1 -1
  104. package/build/rn/SkipLink.js +1 -1
  105. package/build/rn/Spinner.js +1 -1
  106. package/build/rn/SplashButton.js +1 -1
  107. package/build/rn/SplashButtonWithDetails.js +1 -1
  108. package/build/rn/StackView.js +1 -1
  109. package/build/rn/Status.js +1 -1
  110. package/build/rn/StepTracker.js +1 -1
  111. package/build/rn/StoryCard.js +1 -1
  112. package/build/rn/TabBar.js +34 -0
  113. package/build/rn/TabBarItem.js +69 -0
  114. package/build/rn/Table.js +1 -1
  115. package/build/rn/Tabs.js +1 -1
  116. package/build/rn/TabsItem.js +1 -1
  117. package/build/rn/Tags.js +1 -1
  118. package/build/rn/TagsItem.js +1 -1
  119. package/build/rn/TermsAndConditions.js +1 -1
  120. package/build/rn/Testimonial.js +1 -1
  121. package/build/rn/TextArea.js +1 -1
  122. package/build/rn/TextInput.js +1 -1
  123. package/build/rn/Timeline.js +1 -1
  124. package/build/rn/Toast.js +1 -1
  125. package/build/rn/ToggleSwitch.js +1 -1
  126. package/build/rn/ToggleSwitchGroup.js +1 -1
  127. package/build/rn/Tooltip.js +1 -1
  128. package/build/rn/TooltipButton.js +1 -1
  129. package/build/rn/Typography.js +1 -1
  130. package/build/rn/Video.js +1 -1
  131. package/build/rn/VideoButton.js +1 -1
  132. package/build/rn/VideoControlBar.js +1 -1
  133. package/build/rn/VideoMenu.js +1 -1
  134. package/build/rn/VideoMiddleControlButton.js +1 -1
  135. package/build/rn/VideoPicker.js +1 -1
  136. package/build/rn/VideoPickerSlider.js +1 -1
  137. package/build/rn/VideoPickerThumbnail.js +1 -1
  138. package/build/rn/VideoProgressBar.js +1 -1
  139. package/build/rn/VideoVolumeSlider.js +1 -1
  140. package/build/rn/WaffleGrid.js +1 -1
  141. package/build/rn/schema.json +1511 -1000
  142. package/build/rn/spacingScale.js +1 -1
  143. package/build/rn/theme.js +172 -8
  144. package/build/web/ActionCard.js +1 -1
  145. package/build/web/ActivityIndicator.js +1 -1
  146. package/build/web/Badge.js +1 -1
  147. package/build/web/BlockQuote.js +1 -1
  148. package/build/web/Box.js +1 -1
  149. package/build/web/Breadcrumbs.js +1 -1
  150. package/build/web/Button.js +1 -1
  151. package/build/web/ButtonDropdown.js +1 -1
  152. package/build/web/ButtonGroup.js +1 -1
  153. package/build/web/ButtonGroupItem.js +2 -2
  154. package/build/web/Callout.js +1 -1
  155. package/build/web/Card.js +2 -1
  156. package/build/web/CardGroup.js +5 -1
  157. package/build/web/Carousel.js +1 -1
  158. package/build/web/CarouselTabsPanelItem.js +1 -1
  159. package/build/web/CarouselThumbnail.js +1 -1
  160. package/build/web/Checkbox.js +1 -1
  161. package/build/web/CheckboxCard.js +1 -1
  162. package/build/web/CheckboxCardGroup.js +1 -1
  163. package/build/web/CheckboxGroup.js +1 -1
  164. package/build/web/ChevronLink.js +1 -1
  165. package/build/web/ColourToggle.js +1 -1
  166. package/build/web/Countdown.js +1 -1
  167. package/build/web/DatePicker.js +1 -1
  168. package/build/web/Disclaimer.js +1 -1
  169. package/build/web/Divider.js +1 -1
  170. package/build/web/DownloadApp.js +62 -0
  171. package/build/web/ExpandCollapse.js +1 -1
  172. package/build/web/ExpandCollapseControl.js +1 -1
  173. package/build/web/ExpandCollapseMini.js +1 -1
  174. package/build/web/ExpandCollapseMiniControl.js +1 -1
  175. package/build/web/ExpandCollapsePanel.js +1 -1
  176. package/build/web/Feedback.js +1 -1
  177. package/build/web/Fieldset.js +1 -1
  178. package/build/web/FileUpload.js +1 -1
  179. package/build/web/Footnote.js +1 -1
  180. package/build/web/FootnoteLink.js +1 -1
  181. package/build/web/HorizontalScrollButton.js +1 -1
  182. package/build/web/Icon.js +1 -1
  183. package/build/web/IconButton.js +1 -1
  184. package/build/web/Image.js +1 -1
  185. package/build/web/InputLabel.js +1 -1
  186. package/build/web/InputSupports.js +1 -1
  187. package/build/web/Link.js +3 -2
  188. package/build/web/List.js +1 -1
  189. package/build/web/Listbox.js +1 -1
  190. package/build/web/Modal.js +1 -1
  191. package/build/web/MultiSelectFilter.js +1 -1
  192. package/build/web/NavigationBar.js +1 -1
  193. package/build/web/Notification.js +1 -1
  194. package/build/web/OrderedList.js +1 -1
  195. package/build/web/Pagination.js +1 -1
  196. package/build/web/PaginationPageButton.js +1 -1
  197. package/build/web/PaginationSideButton.js +1 -1
  198. package/build/web/PreviewCard.js +1 -1
  199. package/build/web/PriceLockup.js +2 -1
  200. package/build/web/ProductCard.js +1 -1
  201. package/build/web/Progress.js +10 -2
  202. package/build/web/ProgressBar.js +14 -4
  203. package/build/web/QuantitySelector.js +1 -1
  204. package/build/web/QuantitySelectorSideButton.js +1 -1
  205. package/build/web/QuickLinks.js +1 -1
  206. package/build/web/QuickLinksButton.js +1 -1
  207. package/build/web/QuickLinksCard.js +1 -1
  208. package/build/web/QuickLinksFeature.js +1 -1
  209. package/build/web/QuickLinksFeatureItem.js +1 -1
  210. package/build/web/QuickLinksList.js +1 -1
  211. package/build/web/Radio.js +1 -1
  212. package/build/web/RadioCard.js +1 -1
  213. package/build/web/RadioCardGroup.js +1 -1
  214. package/build/web/RadioGroup.js +1 -1
  215. package/build/web/Ribbon.js +1 -1
  216. package/build/web/Search.js +1 -1
  217. package/build/web/SearchButton.js +1 -1
  218. package/build/web/Select.js +1 -1
  219. package/build/web/SideNav.js +1 -1
  220. package/build/web/SideNavItem.js +1 -1
  221. package/build/web/SideNavItemsGroup.js +1 -1
  222. package/build/web/Skeleton.js +1 -1
  223. package/build/web/SkipLink.js +1 -1
  224. package/build/web/Spinner.js +1 -1
  225. package/build/web/SplashButton.js +1 -1
  226. package/build/web/SplashButtonWithDetails.js +1 -1
  227. package/build/web/StackView.js +1 -1
  228. package/build/web/Status.js +1 -1
  229. package/build/web/StepTracker.js +1 -1
  230. package/build/web/StoryCard.js +1 -1
  231. package/build/web/TabBar.js +34 -0
  232. package/build/web/TabBarItem.js +69 -0
  233. package/build/web/Table.js +1 -1
  234. package/build/web/Tabs.js +1 -1
  235. package/build/web/TabsItem.js +1 -1
  236. package/build/web/Tags.js +1 -1
  237. package/build/web/TagsItem.js +1 -1
  238. package/build/web/TermsAndConditions.js +1 -1
  239. package/build/web/Testimonial.js +1 -1
  240. package/build/web/TextArea.js +1 -1
  241. package/build/web/TextInput.js +1 -1
  242. package/build/web/Timeline.js +1 -1
  243. package/build/web/Toast.js +1 -1
  244. package/build/web/ToggleSwitch.js +1 -1
  245. package/build/web/ToggleSwitchGroup.js +1 -1
  246. package/build/web/Tooltip.js +1 -1
  247. package/build/web/TooltipButton.js +1 -1
  248. package/build/web/Typography.js +1 -1
  249. package/build/web/Video.js +1 -1
  250. package/build/web/VideoButton.js +1 -1
  251. package/build/web/VideoControlBar.js +1 -1
  252. package/build/web/VideoMenu.js +1 -1
  253. package/build/web/VideoMiddleControlButton.js +1 -1
  254. package/build/web/VideoPicker.js +1 -1
  255. package/build/web/VideoPickerSlider.js +1 -1
  256. package/build/web/VideoPickerThumbnail.js +1 -1
  257. package/build/web/VideoProgressBar.js +1 -1
  258. package/build/web/VideoVolumeSlider.js +1 -1
  259. package/build/web/WaffleGrid.js +1 -1
  260. package/build/web/index.js +4 -1
  261. package/build/web/schema.json +1511 -1000
  262. package/build/web/spacingScale.js +1 -1
  263. package/build/web/theme.js +172 -8
  264. package/package.json +5 -5
  265. package/theme.json +158 -4
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 16 Sep 2024 12:25:16 GMT
4
+ * Generated on Sat, 12 Oct 2024 00:30:00 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 16 Sep 2024 12:25:16 GMT
4
+ * Generated on Sat, 12 Oct 2024 00:30:00 GMT
5
5
  *
6
6
  */
7
7
 
@@ -15,6 +15,10 @@ import PaletteIconCheckmark from '@telus-uds/palette-allium/build/rn/icons/Check
15
15
  import PaletteIconPause from '@telus-uds/palette-allium/build/rn/icons/Pause'
16
16
  import PaletteIconPlayVideo from '@telus-uds/palette-allium/build/rn/icons/PlayVideo'
17
17
  import PaletteIconArrowLeft from '@telus-uds/palette-allium/build/rn/icons/ArrowLeft'
18
+ import PaletteIconAndroidEN from '@telus-uds/palette-allium/build/rn/icons/AndroidEN'
19
+ import PaletteIconAndroidFR from '@telus-uds/palette-allium/build/rn/icons/AndroidFR'
20
+ import PaletteIconIOSEN from '@telus-uds/palette-allium/build/rn/icons/IOSEN'
21
+ import PaletteIconIOSFR from '@telus-uds/palette-allium/build/rn/icons/IOSFR'
18
22
  import PaletteIconStatusSuccess from '@telus-uds/palette-allium/build/rn/icons/StatusSuccess'
19
23
  import PaletteIconClose from '@telus-uds/palette-allium/build/rn/icons/Close'
20
24
  import PaletteIconAdd from '@telus-uds/palette-allium/build/rn/icons/Add'
@@ -1061,7 +1065,7 @@ const theme = {
1061
1065
  iconPosition: {
1062
1066
  description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
1063
1067
  type: 'state',
1064
- values: [ 'left', 'right' ]
1068
+ values: [ 'left', 'right', 'inline' ]
1065
1069
  },
1066
1070
  inactive: {
1067
1071
  description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
@@ -1469,6 +1473,7 @@ const theme = {
1469
1473
  ],
1470
1474
  tokens: {
1471
1475
  backgroundColor: '#ffffff',
1476
+ backgroundGradient: null,
1472
1477
  borderColor: '#e3e6e8',
1473
1478
  borderRadius: 6,
1474
1479
  borderWidth: 1,
@@ -1553,6 +1558,10 @@ const theme = {
1553
1558
  fieldSpace: 3,
1554
1559
  outlineOffset: 8,
1555
1560
  outlineWidth: 1,
1561
+ paddingBottom: 24,
1562
+ paddingLeft: 24,
1563
+ paddingRight: 24,
1564
+ paddingTop: 24,
1556
1565
  showIcon: true,
1557
1566
  space: 3
1558
1567
  }
@@ -2422,6 +2431,56 @@ const theme = {
2422
2431
  ],
2423
2432
  tokens: { color: '#676e73', width: 1 }
2424
2433
  },
2434
+ DownloadApp: {
2435
+ appearances: {
2436
+ focus: {
2437
+ description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
2438
+ platforms: [ 'rn', 'web' ],
2439
+ type: 'state',
2440
+ values: [ true, false ]
2441
+ },
2442
+ hover: {
2443
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
2444
+ platforms: [ 'rn', 'web' ],
2445
+ type: 'state',
2446
+ values: [ true, false ]
2447
+ },
2448
+ pressed: {
2449
+ description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
2450
+ type: 'state',
2451
+ values: [ true, false ]
2452
+ }
2453
+ },
2454
+ rules: [
2455
+ {
2456
+ if: { focus: true },
2457
+ tokens: { borderColor: '#2b8000', borderRadius: 4 }
2458
+ },
2459
+ {
2460
+ if: { hover: true },
2461
+ tokens: { borderColor: '#b2b9bf', borderRadius: 4 }
2462
+ },
2463
+ {
2464
+ if: { pressed: true },
2465
+ tokens: { borderColor: '#1f5c09', borderRadius: 4 }
2466
+ },
2467
+ {
2468
+ if: { focus: true, pressed: true },
2469
+ tokens: { borderColor: '#1f5c09', borderRadius: 4 }
2470
+ }
2471
+ ],
2472
+ tokens: {
2473
+ androidENIcon: PaletteIconAndroidEN,
2474
+ androidFRIcon: PaletteIconAndroidFR,
2475
+ borderColor: 'rgba(0, 0, 0, 0)',
2476
+ borderGap: 2,
2477
+ borderRadius: 0,
2478
+ borderWidth: 1,
2479
+ iosENIcon: PaletteIconIOSEN,
2480
+ iosFRIcon: PaletteIconIOSFR,
2481
+ padding: 1
2482
+ }
2483
+ },
2425
2484
  ExpandCollapse: {
2426
2485
  appearances: {},
2427
2486
  rules: [],
@@ -3407,7 +3466,7 @@ const theme = {
3407
3466
  iconPosition: {
3408
3467
  description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
3409
3468
  type: 'state',
3410
- values: [ 'left', 'right' ]
3469
+ values: [ 'left', 'right', 'inline' ]
3411
3470
  },
3412
3471
  inverse: {
3413
3472
  description: 'Styles the link white for use on dark backgrounds.',
@@ -3438,6 +3497,7 @@ const theme = {
3438
3497
  rules: [
3439
3498
  { if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
3440
3499
  { if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
3500
+ { if: { iconPosition: 'inline' }, tokens: { iconSpace: 2 } },
3441
3501
  {
3442
3502
  if: { focus: true },
3443
3503
  tokens: { outerBorderColor: '#2b8000', outerBorderOutline: 'none' }
@@ -4687,6 +4747,7 @@ const theme = {
4687
4747
  }
4688
4748
  ],
4689
4749
  tokens: {
4750
+ alignItemsText: 'flex-start',
4690
4751
  amountFontName: 'HNforTELUSSA',
4691
4752
  amountFontSize: 40,
4692
4753
  amountFontWeight: '300',
@@ -4762,7 +4823,15 @@ const theme = {
4762
4823
  borderColor: '#b2b9bf',
4763
4824
  borderRadius: 12,
4764
4825
  borderWidth: 1,
4765
- height: 16
4826
+ height: 16,
4827
+ shadow: {
4828
+ blur: 2,
4829
+ color: 'rgba(0, 0, 0, 0.1)',
4830
+ inset: true,
4831
+ offsetX: 0,
4832
+ offsetY: 2,
4833
+ spread: 0
4834
+ }
4766
4835
  }
4767
4836
  },
4768
4837
  ProgressBar: {
@@ -4780,7 +4849,8 @@ const theme = {
4780
4849
  tokens: {
4781
4850
  backgroundColor: '#b2b9bf',
4782
4851
  gradient: null,
4783
- outlineColor: '#2c2e30'
4852
+ outlineColor: '#2c2e30',
4853
+ shadow: null
4784
4854
  }
4785
4855
  },
4786
4856
  {
@@ -4788,7 +4858,8 @@ const theme = {
4788
4858
  tokens: {
4789
4859
  backgroundColor: '#c12335',
4790
4860
  gradient: null,
4791
- outlineColor: '#c12335'
4861
+ outlineColor: '#c12335',
4862
+ shadow: null
4792
4863
  }
4793
4864
  }
4794
4865
  ],
@@ -4804,7 +4875,15 @@ const theme = {
4804
4875
  type: 'linear'
4805
4876
  },
4806
4877
  outlineColor: '#2b8000',
4807
- outlineWidth: 1
4878
+ outlineWidth: 1,
4879
+ shadow: {
4880
+ blur: 1,
4881
+ color: 'rgba(255, 255, 255, 0.8)',
4882
+ inset: true,
4883
+ offsetX: 0,
4884
+ offsetY: 1,
4885
+ spread: 0
4886
+ }
4808
4887
  }
4809
4888
  },
4810
4889
  QuantitySelector: {
@@ -6397,6 +6476,91 @@ const theme = {
6397
6476
  shadow: null
6398
6477
  }
6399
6478
  },
6479
+ TabBar: {
6480
+ appearances: {
6481
+ pressed: {
6482
+ description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
6483
+ type: 'state',
6484
+ values: [ true, false ]
6485
+ }
6486
+ },
6487
+ rules: [
6488
+ {
6489
+ if: { pressed: true },
6490
+ tokens: { paddingBottom: 0, paddingTop: 0 }
6491
+ }
6492
+ ],
6493
+ tokens: {
6494
+ backgroundColor: '#fafafa',
6495
+ borderTopColor: '#e3e6e8',
6496
+ borderTopWidth: 1,
6497
+ gap: 8,
6498
+ paddingBottom: 4,
6499
+ paddingLeft: 8,
6500
+ paddingRight: 8,
6501
+ paddingTop: 4
6502
+ }
6503
+ },
6504
+ TabBarItem: {
6505
+ appearances: {
6506
+ focus: {
6507
+ description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
6508
+ platforms: [ 'rn', 'web' ],
6509
+ type: 'state',
6510
+ values: [ true, false ]
6511
+ },
6512
+ hover: {
6513
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
6514
+ platforms: [ 'rn', 'web' ],
6515
+ type: 'state',
6516
+ values: [ true, false ]
6517
+ },
6518
+ pressed: {
6519
+ description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
6520
+ type: 'state',
6521
+ values: [ true, false ]
6522
+ },
6523
+ selected: {
6524
+ description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
6525
+ type: 'state',
6526
+ values: [ true ]
6527
+ }
6528
+ },
6529
+ rules: [
6530
+ {
6531
+ if: { focus: true },
6532
+ tokens: {
6533
+ backgroundColor: '#f4f4f7',
6534
+ color: '#414547',
6535
+ iconColor: '#414547',
6536
+ iconSize: 26
6537
+ }
6538
+ },
6539
+ {
6540
+ if: { pressed: true },
6541
+ tokens: {
6542
+ backgroundColor: 'rgba(0, 0, 0, 0)',
6543
+ color: '#4b286d',
6544
+ iconColor: '#4b286d',
6545
+ iconSize: 22
6546
+ }
6547
+ },
6548
+ { if: { hover: true }, tokens: { iconSize: 26 } }
6549
+ ],
6550
+ tokens: {
6551
+ activeColor: '#4b286d',
6552
+ backgroundColor: 'rgba(0, 0, 0, 0)',
6553
+ borderRadius: 4,
6554
+ color: '#676e73',
6555
+ fontName: 'HNforTELUSSA',
6556
+ fontWeight: '500',
6557
+ iconColor: '#676e73',
6558
+ iconSize: 24,
6559
+ lineHeight: 1.14285714286,
6560
+ paddingBottom: 4,
6561
+ paddingTop: 4
6562
+ }
6563
+ },
6400
6564
  Table: {
6401
6565
  appearances: {
6402
6566
  spacing: {
@@ -8030,6 +8194,6 @@ const theme = {
8030
8194
  tokens: { size: 96 }
8031
8195
  }
8032
8196
  },
8033
- metadata: { name: 'theme-allium', themeTokensVersion: '2.63.0' }
8197
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.65.0' }
8034
8198
  }
8035
8199
  export default theme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "5.1.0",
3
+ "version": "5.3.0",
4
4
  "description": "Allium theme",
5
5
  "author": "TELUS Digital",
6
6
  "homepage": "https://github.com/telus/allium-design-system#readme",
@@ -9,12 +9,12 @@
9
9
  "module": "build/web/index.js",
10
10
  "dependencies": {},
11
11
  "devDependencies": {
12
- "@telus-uds/palette-allium": "^3.1.0",
13
- "@telus-uds/system-theme-tokens": "^2.63.0",
14
- "@telus-uds/system-tokens": "^0.9.1"
12
+ "@telus-uds/palette-allium": "^3.3.0",
13
+ "@telus-uds/system-theme-tokens": "^2.65.0",
14
+ "@telus-uds/system-tokens": "^0.9.3"
15
15
  },
16
16
  "peerDependencies": {
17
- "@telus-uds/palette-allium": "^3.1.0"
17
+ "@telus-uds/palette-allium": "^3.3.0"
18
18
  },
19
19
  "files": [
20
20
  "build",
package/theme.json CHANGED
@@ -1819,6 +1819,7 @@
1819
1819
  ],
1820
1820
  "tokens": {
1821
1821
  "backgroundColor": "{palette.color.white}",
1822
+ "backgroundGradient": "{system.gradient.none}",
1822
1823
  "borderColor": "{palette.color.greyMystic}",
1823
1824
  "borderRadius": "{palette.radius.radius6}",
1824
1825
  "borderWidth": "{palette.border.border1}",
@@ -1885,6 +1886,10 @@
1885
1886
  "fieldSpace": "{system.integer.3}",
1886
1887
  "outlineOffset": "{palette.size.size8}",
1887
1888
  "outlineWidth": "{palette.border.border1}",
1889
+ "paddingBottom": "{palette.size.size24}",
1890
+ "paddingLeft": "{palette.size.size24}",
1891
+ "paddingRight": "{palette.size.size24}",
1892
+ "paddingTop": "{palette.size.size24}",
1888
1893
  "showIcon": "{system.show.true}",
1889
1894
  "space": "{system.integer.3}"
1890
1895
  }
@@ -2889,6 +2894,63 @@
2889
2894
  "width": "{palette.size.size1}"
2890
2895
  }
2891
2896
  },
2897
+ "DownloadApp": {
2898
+ "appearances": {
2899
+ "focus": "{appearances.DownloadApp.focus}",
2900
+ "hover": "{appearances.DownloadApp.hover}",
2901
+ "pressed": "{appearances.DownloadApp.pressed}"
2902
+ },
2903
+ "rules": [
2904
+ {
2905
+ "if": {
2906
+ "focus": true
2907
+ },
2908
+ "tokens": {
2909
+ "borderColor": "{palette.color.greenAccessible}",
2910
+ "borderRadius": "{palette.radius.radius4}"
2911
+ }
2912
+ },
2913
+ {
2914
+ "if": {
2915
+ "hover": true
2916
+ },
2917
+ "tokens": {
2918
+ "borderColor": "{palette.color.greyCloud}",
2919
+ "borderRadius": "{palette.radius.radius4}"
2920
+ }
2921
+ },
2922
+ {
2923
+ "if": {
2924
+ "pressed": true
2925
+ },
2926
+ "tokens": {
2927
+ "borderColor": "{palette.color.greenSanFelix}",
2928
+ "borderRadius": "{palette.radius.radius4}"
2929
+ }
2930
+ },
2931
+ {
2932
+ "if": {
2933
+ "focus": true,
2934
+ "pressed": true
2935
+ },
2936
+ "tokens": {
2937
+ "borderColor": "{palette.color.greenSanFelix}",
2938
+ "borderRadius": "{palette.radius.radius4}"
2939
+ }
2940
+ }
2941
+ ],
2942
+ "tokens": {
2943
+ "androidENIcon": "{palette.icon.AndroidEN}",
2944
+ "androidFRIcon": "{palette.icon.AndroidFR}",
2945
+ "borderColor": "{palette.color.transparent}",
2946
+ "borderGap": "{palette.size.size2}",
2947
+ "borderRadius": "{palette.radius.none}",
2948
+ "borderWidth": "{palette.border.border1}",
2949
+ "iosENIcon": "{palette.icon.IOSEN}",
2950
+ "iosFRIcon": "{palette.icon.IOSFR}",
2951
+ "padding": "{palette.size.size1}"
2952
+ }
2953
+ },
2892
2954
  "ExpandCollapse": {
2893
2955
  "appearances": {},
2894
2956
  "rules": [],
@@ -4400,6 +4462,14 @@
4400
4462
  "iconSpace": "{system.integer.1}"
4401
4463
  }
4402
4464
  },
4465
+ {
4466
+ "if": {
4467
+ "iconPosition": "inline"
4468
+ },
4469
+ "tokens": {
4470
+ "iconSpace": "{system.integer.2}"
4471
+ }
4472
+ },
4403
4473
  {
4404
4474
  "if": {
4405
4475
  "focus": true
@@ -5866,6 +5936,7 @@
5866
5936
  }
5867
5937
  ],
5868
5938
  "tokens": {
5939
+ "alignItemsText": "{system.flexAlign.flexStart}",
5869
5940
  "amountFontName": "{palette.fontName.HNforTELUSSA}",
5870
5941
  "amountFontSize": "{palette.fontSize.size40}",
5871
5942
  "amountFontWeight": "{palette.fontWeight.weight300}",
@@ -5957,7 +6028,8 @@
5957
6028
  "borderColor": "{palette.color.greyCloud}",
5958
6029
  "borderRadius": "{palette.radius.radius12}",
5959
6030
  "borderWidth": "{palette.border.border1}",
5960
- "height": "{palette.size.size16}"
6031
+ "height": "{palette.size.size16}",
6032
+ "shadow": "{palette.shadow.surfaceInset}"
5961
6033
  }
5962
6034
  },
5963
6035
  "ProgressBar": {
@@ -5976,7 +6048,8 @@
5976
6048
  "tokens": {
5977
6049
  "backgroundColor": "{palette.color.greyCloud}",
5978
6050
  "gradient": "{system.gradient.none}",
5979
- "outlineColor": "{palette.color.greyThunder}"
6051
+ "outlineColor": "{palette.color.greyThunder}",
6052
+ "shadow": "{system.shadow.none}"
5980
6053
  }
5981
6054
  },
5982
6055
  {
@@ -5986,7 +6059,8 @@
5986
6059
  "tokens": {
5987
6060
  "backgroundColor": "{palette.color.redDark}",
5988
6061
  "gradient": "{system.gradient.none}",
5989
- "outlineColor": "{palette.color.redDark}"
6062
+ "outlineColor": "{palette.color.redDark}",
6063
+ "shadow": "{system.shadow.none}"
5990
6064
  }
5991
6065
  }
5992
6066
  ],
@@ -5995,7 +6069,8 @@
5995
6069
  "borderRadius": "{palette.radius.radius12}",
5996
6070
  "gradient": "{palette.gradient.green}",
5997
6071
  "outlineColor": "{palette.color.greenAccessible}",
5998
- "outlineWidth": "{palette.border.border1}"
6072
+ "outlineWidth": "{palette.border.border1}",
6073
+ "shadow": "{palette.shadow.surfaceEmboss}"
5999
6074
  }
6000
6075
  },
6001
6076
  "QuantitySelector": {
@@ -7852,6 +7927,85 @@
7852
7927
  "shadow": "{system.shadow.none}"
7853
7928
  }
7854
7929
  },
7930
+ "TabBar": {
7931
+ "appearances": {
7932
+ "pressed": "{appearances.TabBarItem.pressed}"
7933
+ },
7934
+ "rules": [
7935
+ {
7936
+ "if": {
7937
+ "pressed": true
7938
+ },
7939
+ "tokens": {
7940
+ "paddingBottom": "{palette.size.size0}",
7941
+ "paddingTop": "{palette.size.size0}"
7942
+ }
7943
+ }
7944
+ ],
7945
+ "tokens": {
7946
+ "backgroundColor": "{palette.color.greyAlabaster}",
7947
+ "borderTopColor": "{palette.color.greyMystic}",
7948
+ "borderTopWidth": "{palette.border.border1}",
7949
+ "gap": "{palette.size.size8}",
7950
+ "paddingBottom": "{palette.size.size4}",
7951
+ "paddingLeft": "{palette.size.size8}",
7952
+ "paddingRight": "{palette.size.size8}",
7953
+ "paddingTop": "{palette.size.size4}"
7954
+ }
7955
+ },
7956
+ "TabBarItem": {
7957
+ "appearances": {
7958
+ "focus": "{appearances.TabBarItem.focus}",
7959
+ "hover": "{appearances.TabBarItem.hover}",
7960
+ "pressed": "{appearances.TabBarItem.pressed}",
7961
+ "selected": "{appearances.TabBarItem.selected}"
7962
+ },
7963
+ "rules": [
7964
+ {
7965
+ "if": {
7966
+ "focus": true
7967
+ },
7968
+ "tokens": {
7969
+ "backgroundColor": "{palette.color.greyAthens}",
7970
+ "color": "{palette.color.greyCharcoal}",
7971
+ "iconColor": "{palette.color.greyCharcoal}",
7972
+ "iconSize": "{palette.size.size26}"
7973
+ }
7974
+ },
7975
+ {
7976
+ "if": {
7977
+ "pressed": true
7978
+ },
7979
+ "tokens": {
7980
+ "backgroundColor": "{palette.color.transparent}",
7981
+ "color": "{palette.color.purpleTelus}",
7982
+ "iconColor": "{palette.color.purpleTelus}",
7983
+ "iconSize": "{palette.size.size22}"
7984
+ }
7985
+ },
7986
+ {
7987
+ "if": {
7988
+ "hover": true
7989
+ },
7990
+ "tokens": {
7991
+ "iconSize": "{palette.size.size26}"
7992
+ }
7993
+ }
7994
+ ],
7995
+ "tokens": {
7996
+ "activeColor": "{palette.color.purpleTelus}",
7997
+ "backgroundColor": "{palette.color.transparent}",
7998
+ "borderRadius": "{palette.radius.radius4}",
7999
+ "color": "{palette.color.greyShuttle}",
8000
+ "fontName": "{palette.fontName.HNforTELUSSA}",
8001
+ "fontWeight": "{palette.fontWeight.weight500}",
8002
+ "iconColor": "{palette.color.greyShuttle}",
8003
+ "iconSize": "{palette.size.size24}",
8004
+ "lineHeight": "{palette.lineHeight.ratio8to7}",
8005
+ "paddingBottom": "{palette.size.size4}",
8006
+ "paddingTop": "{palette.size.size4}"
8007
+ }
8008
+ },
7855
8009
  "Table": {
7856
8010
  "appearances": {
7857
8011
  "spacing": {