@telus-uds/theme-allium 4.32.0 → 4.33.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 (241) hide show
  1. package/build/android/ActionCard.json +148 -0
  2. package/build/android/Notification.json +13 -0
  3. package/build/android/Typography.json +37 -61
  4. package/build/android/schema.json +1346 -979
  5. package/build/android/theme.json +199 -62
  6. package/build/ios/ActionCard.json +148 -0
  7. package/build/ios/Notification.json +13 -0
  8. package/build/ios/Typography.json +37 -61
  9. package/build/ios/schema.json +1346 -979
  10. package/build/ios/theme.json +199 -62
  11. package/build/rn/ActionCard.js +92 -0
  12. package/build/rn/ActivityIndicator.js +1 -1
  13. package/build/rn/Badge.js +1 -1
  14. package/build/rn/BlockQuote.js +1 -1
  15. package/build/rn/Box.js +1 -1
  16. package/build/rn/Breadcrumbs.js +1 -1
  17. package/build/rn/Button.js +1 -1
  18. package/build/rn/ButtonDropdown.js +1 -1
  19. package/build/rn/ButtonGroup.js +1 -1
  20. package/build/rn/ButtonGroupItem.js +1 -1
  21. package/build/rn/Callout.js +1 -1
  22. package/build/rn/Card.js +1 -1
  23. package/build/rn/CardGroup.js +1 -1
  24. package/build/rn/Carousel.js +1 -1
  25. package/build/rn/CarouselTabsPanelItem.js +1 -1
  26. package/build/rn/CarouselThumbnail.js +1 -1
  27. package/build/rn/Checkbox.js +1 -1
  28. package/build/rn/CheckboxCard.js +1 -1
  29. package/build/rn/CheckboxCardGroup.js +1 -1
  30. package/build/rn/CheckboxGroup.js +1 -1
  31. package/build/rn/ChevronLink.js +1 -1
  32. package/build/rn/ColourToggle.js +1 -1
  33. package/build/rn/Countdown.js +1 -1
  34. package/build/rn/DatePicker.js +1 -1
  35. package/build/rn/Disclaimer.js +1 -1
  36. package/build/rn/Divider.js +1 -1
  37. package/build/rn/ExpandCollapse.js +1 -1
  38. package/build/rn/ExpandCollapseControl.js +1 -1
  39. package/build/rn/ExpandCollapseMini.js +1 -1
  40. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  41. package/build/rn/ExpandCollapsePanel.js +1 -1
  42. package/build/rn/Feedback.js +1 -1
  43. package/build/rn/Fieldset.js +1 -1
  44. package/build/rn/Footnote.js +1 -1
  45. package/build/rn/FootnoteLink.js +1 -1
  46. package/build/rn/HorizontalScrollButton.js +1 -1
  47. package/build/rn/Icon.js +1 -1
  48. package/build/rn/IconButton.js +1 -1
  49. package/build/rn/Image.js +1 -1
  50. package/build/rn/InputLabel.js +1 -1
  51. package/build/rn/InputSupports.js +1 -1
  52. package/build/rn/Link.js +1 -1
  53. package/build/rn/List.js +1 -1
  54. package/build/rn/Listbox.js +1 -1
  55. package/build/rn/Modal.js +1 -1
  56. package/build/rn/MultiSelectFilter.js +1 -1
  57. package/build/rn/NavigationBar.js +1 -1
  58. package/build/rn/Notification.js +11 -1
  59. package/build/rn/OrderedList.js +1 -1
  60. package/build/rn/Pagination.js +1 -1
  61. package/build/rn/PaginationPageButton.js +1 -1
  62. package/build/rn/PaginationSideButton.js +1 -1
  63. package/build/rn/PreviewCard.js +1 -1
  64. package/build/rn/PriceLockup.js +1 -1
  65. package/build/rn/ProductCard.js +1 -1
  66. package/build/rn/Progress.js +1 -1
  67. package/build/rn/ProgressBar.js +1 -1
  68. package/build/rn/QuantitySelector.js +1 -1
  69. package/build/rn/QuantitySelectorSideButton.js +1 -1
  70. package/build/rn/QuickLinks.js +1 -1
  71. package/build/rn/QuickLinksButton.js +1 -1
  72. package/build/rn/QuickLinksCard.js +1 -1
  73. package/build/rn/QuickLinksFeature.js +1 -1
  74. package/build/rn/QuickLinksFeatureItem.js +1 -1
  75. package/build/rn/QuickLinksList.js +1 -1
  76. package/build/rn/Radio.js +1 -1
  77. package/build/rn/RadioCard.js +1 -1
  78. package/build/rn/RadioCardGroup.js +1 -1
  79. package/build/rn/RadioGroup.js +1 -1
  80. package/build/rn/Ribbon.js +1 -1
  81. package/build/rn/Search.js +1 -1
  82. package/build/rn/SearchButton.js +1 -1
  83. package/build/rn/Select.js +1 -1
  84. package/build/rn/SideNav.js +1 -1
  85. package/build/rn/SideNavItem.js +1 -1
  86. package/build/rn/SideNavItemsGroup.js +1 -1
  87. package/build/rn/Skeleton.js +1 -1
  88. package/build/rn/SkipLink.js +1 -1
  89. package/build/rn/Spinner.js +1 -1
  90. package/build/rn/SplashButton.js +1 -1
  91. package/build/rn/SplashButtonWithDetails.js +1 -1
  92. package/build/rn/StackView.js +1 -1
  93. package/build/rn/StepTracker.js +1 -1
  94. package/build/rn/StoryCard.js +1 -1
  95. package/build/rn/Table.js +1 -1
  96. package/build/rn/Tabs.js +1 -1
  97. package/build/rn/TabsItem.js +1 -1
  98. package/build/rn/Tags.js +1 -1
  99. package/build/rn/TagsItem.js +1 -1
  100. package/build/rn/TermsAndConditions.js +1 -1
  101. package/build/rn/Testimonial.js +1 -1
  102. package/build/rn/TextArea.js +1 -1
  103. package/build/rn/TextInput.js +1 -1
  104. package/build/rn/Timeline.js +1 -1
  105. package/build/rn/Toast.js +1 -1
  106. package/build/rn/ToggleSwitch.js +1 -1
  107. package/build/rn/ToggleSwitchGroup.js +1 -1
  108. package/build/rn/Tooltip.js +1 -1
  109. package/build/rn/TooltipButton.js +1 -1
  110. package/build/rn/Typography.js +38 -40
  111. package/build/rn/Video.js +1 -1
  112. package/build/rn/VideoButton.js +1 -1
  113. package/build/rn/VideoControlBar.js +1 -1
  114. package/build/rn/VideoMenu.js +1 -1
  115. package/build/rn/VideoMiddleControlButton.js +1 -1
  116. package/build/rn/VideoPicker.js +1 -1
  117. package/build/rn/VideoPickerSlider.js +1 -1
  118. package/build/rn/VideoPickerThumbnail.js +1 -1
  119. package/build/rn/VideoProgressBar.js +1 -1
  120. package/build/rn/VideoVolumeSlider.js +1 -1
  121. package/build/rn/WaffleGrid.js +1 -1
  122. package/build/rn/schema.json +1346 -979
  123. package/build/rn/spacingScale.js +1 -1
  124. package/build/rn/theme.js +133 -48
  125. package/build/web/ActionCard.js +92 -0
  126. package/build/web/ActivityIndicator.js +1 -1
  127. package/build/web/Badge.js +1 -1
  128. package/build/web/BlockQuote.js +1 -1
  129. package/build/web/Box.js +1 -1
  130. package/build/web/Breadcrumbs.js +1 -1
  131. package/build/web/Button.js +1 -1
  132. package/build/web/ButtonDropdown.js +1 -1
  133. package/build/web/ButtonGroup.js +1 -1
  134. package/build/web/ButtonGroupItem.js +1 -1
  135. package/build/web/Callout.js +1 -1
  136. package/build/web/Card.js +1 -1
  137. package/build/web/CardGroup.js +1 -1
  138. package/build/web/Carousel.js +1 -1
  139. package/build/web/CarouselTabsPanelItem.js +1 -1
  140. package/build/web/CarouselThumbnail.js +1 -1
  141. package/build/web/Checkbox.js +1 -1
  142. package/build/web/CheckboxCard.js +1 -1
  143. package/build/web/CheckboxCardGroup.js +1 -1
  144. package/build/web/CheckboxGroup.js +1 -1
  145. package/build/web/ChevronLink.js +1 -1
  146. package/build/web/ColourToggle.js +1 -1
  147. package/build/web/Countdown.js +1 -1
  148. package/build/web/DatePicker.js +1 -1
  149. package/build/web/Disclaimer.js +1 -1
  150. package/build/web/Divider.js +1 -1
  151. package/build/web/ExpandCollapse.js +1 -1
  152. package/build/web/ExpandCollapseControl.js +1 -1
  153. package/build/web/ExpandCollapseMini.js +1 -1
  154. package/build/web/ExpandCollapseMiniControl.js +1 -1
  155. package/build/web/ExpandCollapsePanel.js +1 -1
  156. package/build/web/Feedback.js +1 -1
  157. package/build/web/Fieldset.js +1 -1
  158. package/build/web/Footnote.js +1 -1
  159. package/build/web/FootnoteLink.js +1 -1
  160. package/build/web/HorizontalScrollButton.js +1 -1
  161. package/build/web/Icon.js +1 -1
  162. package/build/web/IconButton.js +1 -1
  163. package/build/web/Image.js +1 -1
  164. package/build/web/InputLabel.js +1 -1
  165. package/build/web/InputSupports.js +1 -1
  166. package/build/web/Link.js +1 -1
  167. package/build/web/List.js +1 -1
  168. package/build/web/Listbox.js +1 -1
  169. package/build/web/Modal.js +1 -1
  170. package/build/web/MultiSelectFilter.js +1 -1
  171. package/build/web/NavigationBar.js +1 -1
  172. package/build/web/Notification.js +11 -1
  173. package/build/web/OrderedList.js +1 -1
  174. package/build/web/Pagination.js +1 -1
  175. package/build/web/PaginationPageButton.js +1 -1
  176. package/build/web/PaginationSideButton.js +1 -1
  177. package/build/web/PreviewCard.js +1 -1
  178. package/build/web/PriceLockup.js +1 -1
  179. package/build/web/ProductCard.js +1 -1
  180. package/build/web/Progress.js +1 -1
  181. package/build/web/ProgressBar.js +1 -1
  182. package/build/web/QuantitySelector.js +1 -1
  183. package/build/web/QuantitySelectorSideButton.js +1 -1
  184. package/build/web/QuickLinks.js +1 -1
  185. package/build/web/QuickLinksButton.js +1 -1
  186. package/build/web/QuickLinksCard.js +1 -1
  187. package/build/web/QuickLinksFeature.js +1 -1
  188. package/build/web/QuickLinksFeatureItem.js +1 -1
  189. package/build/web/QuickLinksList.js +1 -1
  190. package/build/web/Radio.js +1 -1
  191. package/build/web/RadioCard.js +1 -1
  192. package/build/web/RadioCardGroup.js +1 -1
  193. package/build/web/RadioGroup.js +1 -1
  194. package/build/web/Ribbon.js +1 -1
  195. package/build/web/Search.js +1 -1
  196. package/build/web/SearchButton.js +1 -1
  197. package/build/web/Select.js +1 -1
  198. package/build/web/SideNav.js +1 -1
  199. package/build/web/SideNavItem.js +1 -1
  200. package/build/web/SideNavItemsGroup.js +1 -1
  201. package/build/web/Skeleton.js +1 -1
  202. package/build/web/SkipLink.js +1 -1
  203. package/build/web/Spinner.js +1 -1
  204. package/build/web/SplashButton.js +1 -1
  205. package/build/web/SplashButtonWithDetails.js +1 -1
  206. package/build/web/StackView.js +1 -1
  207. package/build/web/StepTracker.js +1 -1
  208. package/build/web/StoryCard.js +1 -1
  209. package/build/web/Table.js +1 -1
  210. package/build/web/Tabs.js +1 -1
  211. package/build/web/TabsItem.js +1 -1
  212. package/build/web/Tags.js +1 -1
  213. package/build/web/TagsItem.js +1 -1
  214. package/build/web/TermsAndConditions.js +1 -1
  215. package/build/web/Testimonial.js +1 -1
  216. package/build/web/TextArea.js +1 -1
  217. package/build/web/TextInput.js +1 -1
  218. package/build/web/Timeline.js +1 -1
  219. package/build/web/Toast.js +1 -1
  220. package/build/web/ToggleSwitch.js +1 -1
  221. package/build/web/ToggleSwitchGroup.js +1 -1
  222. package/build/web/Tooltip.js +1 -1
  223. package/build/web/TooltipButton.js +1 -1
  224. package/build/web/Typography.js +38 -40
  225. package/build/web/Video.js +1 -1
  226. package/build/web/VideoButton.js +1 -1
  227. package/build/web/VideoControlBar.js +1 -1
  228. package/build/web/VideoMenu.js +1 -1
  229. package/build/web/VideoMiddleControlButton.js +1 -1
  230. package/build/web/VideoPicker.js +1 -1
  231. package/build/web/VideoPickerSlider.js +1 -1
  232. package/build/web/VideoPickerThumbnail.js +1 -1
  233. package/build/web/VideoProgressBar.js +1 -1
  234. package/build/web/VideoVolumeSlider.js +1 -1
  235. package/build/web/WaffleGrid.js +1 -1
  236. package/build/web/index.js +2 -1
  237. package/build/web/schema.json +1346 -979
  238. package/build/web/spacingScale.js +1 -1
  239. package/build/web/theme.js +133 -48
  240. package/package.json +5 -5
  241. package/theme.json +133 -61
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 07 Jun 2024 22:35:15 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:18:26 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,20 +1,21 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 07 Jun 2024 22:35:15 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:18:26 GMT
5
5
  *
6
6
  */
7
7
 
8
+ import PaletteIconArrowRight from '@telus-uds/palette-allium/build/rn/icons/ArrowRight'
9
+ import PaletteIconStatusWarning from '@telus-uds/palette-allium/build/rn/icons/StatusWarning'
10
+ import PaletteIconStatusError from '@telus-uds/palette-allium/build/rn/icons/StatusError'
8
11
  import PaletteIconChevronRight from '@telus-uds/palette-allium/build/rn/icons/ChevronRight'
9
12
  import PaletteIconCaretDown from '@telus-uds/palette-allium/build/rn/icons/CaretDown'
10
13
  import PaletteIconCaretUp from '@telus-uds/palette-allium/build/rn/icons/CaretUp'
11
14
  import PaletteIconCheckmark from '@telus-uds/palette-allium/build/rn/icons/Checkmark'
12
- import PaletteIconArrowRight from '@telus-uds/palette-allium/build/rn/icons/ArrowRight'
13
15
  import PaletteIconPause from '@telus-uds/palette-allium/build/rn/icons/Pause'
14
16
  import PaletteIconPlayVideo from '@telus-uds/palette-allium/build/rn/icons/PlayVideo'
15
17
  import PaletteIconArrowLeft from '@telus-uds/palette-allium/build/rn/icons/ArrowLeft'
16
18
  import PaletteIconStatusSuccess from '@telus-uds/palette-allium/build/rn/icons/StatusSuccess'
17
- import PaletteIconStatusError from '@telus-uds/palette-allium/build/rn/icons/StatusError'
18
19
  import PaletteIconClose from '@telus-uds/palette-allium/build/rn/icons/Close'
19
20
  import PaletteIconAdd from '@telus-uds/palette-allium/build/rn/icons/Add'
20
21
  import PaletteIconSubtract from '@telus-uds/palette-allium/build/rn/icons/Subtract'
@@ -22,7 +23,6 @@ import PaletteIconExpand from '@telus-uds/palette-allium/build/rn/icons/Expand'
22
23
  import PaletteIconChevronLeft from '@telus-uds/palette-allium/build/rn/icons/ChevronLeft'
23
24
  import PaletteIconBulletFill from '@telus-uds/palette-allium/build/rn/icons/BulletFill'
24
25
  import PaletteIconStatusInfo from '@telus-uds/palette-allium/build/rn/icons/StatusInfo'
25
- import PaletteIconStatusWarning from '@telus-uds/palette-allium/build/rn/icons/StatusWarning'
26
26
  import PaletteIconTimes from '@telus-uds/palette-allium/build/rn/icons/Times'
27
27
  import PaletteIconSearchBold from '@telus-uds/palette-allium/build/rn/icons/SearchBold'
28
28
  import PaletteIconPlaySolid from '@telus-uds/palette-allium/build/rn/icons/PlaySolid'
@@ -44,6 +44,87 @@ import PaletteIconMuted from '@telus-uds/palette-allium/build/rn/icons/Muted'
44
44
  import PaletteIconUnmuted from '@telus-uds/palette-allium/build/rn/icons/Unmuted'
45
45
  const theme = {
46
46
  components: {
47
+ ActionCard: {
48
+ appearances: {
49
+ hover: {
50
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
51
+ platforms: [ 'rn', 'web' ],
52
+ type: 'state',
53
+ values: [ true, false ]
54
+ },
55
+ validation: {
56
+ description: 'Validation states for form inputs',
57
+ type: 'state',
58
+ values: [ 'error', 'success', 'warning' ]
59
+ }
60
+ },
61
+ rules: [
62
+ { if: { hover: true }, tokens: { actionIconTranslate: 4 } },
63
+ {
64
+ if: { validation: 'warning' },
65
+ tokens: {
66
+ actionIconMarginLeft: 8,
67
+ backgroundColor: '#fff9ee',
68
+ borderColor: '#b4872c',
69
+ statusIcon: PaletteIconStatusWarning,
70
+ statusIconColor: '#b4872c'
71
+ }
72
+ },
73
+ {
74
+ if: { validation: 'error' },
75
+ tokens: {
76
+ actionIconMarginLeft: 8,
77
+ backgroundColor: '#fff6f8',
78
+ borderColor: '#e12339',
79
+ statusIcon: PaletteIconStatusError,
80
+ statusIconColor: '#e12339'
81
+ }
82
+ }
83
+ ],
84
+ tokens: {
85
+ actionIcon: PaletteIconArrowRight,
86
+ actionIconColor: '#414547',
87
+ actionIconMarginBottom: 8,
88
+ actionIconMarginLeft: 0,
89
+ actionIconMarginRight: 0,
90
+ actionIconMarginTop: 8,
91
+ actionIconTranslate: 4,
92
+ backgroundColor: null,
93
+ borderColor: null,
94
+ borderRadius: null,
95
+ borderWidth: null,
96
+ contentFontColor: '#414547',
97
+ contentFontName: 'HelveticaNow',
98
+ contentFontSize: 16,
99
+ contentFontWeight: '400',
100
+ contentLineHeight: 1.25,
101
+ contentMarginBottom: 8,
102
+ contentMarginLeft: 0,
103
+ contentMarginRight: 0,
104
+ contentMarginTop: 0,
105
+ iconBackgroundColor: 'rgba(0, 0, 0, 0.05)',
106
+ iconColor: '#414547',
107
+ iconMarginBottom: 0,
108
+ iconMarginLeft: 0,
109
+ iconMarginRight: 8,
110
+ iconMarginTop: 0,
111
+ paddingBottom: 16,
112
+ paddingLeft: 16,
113
+ paddingRight: 16,
114
+ paddingTop: 16,
115
+ statusIcon: null,
116
+ statusIconColor: null,
117
+ titleFontColor: '#414547',
118
+ titleFontName: 'HelveticaNow',
119
+ titleFontSize: 16,
120
+ titleFontWeight: '700',
121
+ titleLineHeight: 1.5,
122
+ titleMarginBottom: 8,
123
+ titleMarginLeft: 0,
124
+ titleMarginRight: 8,
125
+ titleMarginTop: 8
126
+ }
127
+ },
47
128
  ActivityIndicator: {
48
129
  appearances: {
49
130
  size: {
@@ -3935,6 +4016,14 @@ const theme = {
3935
4016
  }
3936
4017
  },
3937
4018
  rules: [
4019
+ {
4020
+ if: { system: true, viewport: [ 'xl' ] },
4021
+ tokens: {
4022
+ containerPaddingLeft: 16,
4023
+ containerPaddingRight: 16,
4024
+ justifyContent: 'center'
4025
+ }
4026
+ },
3938
4027
  {
3939
4028
  if: { system: true },
3940
4029
  tokens: {
@@ -4046,6 +4135,8 @@ const theme = {
4046
4135
  borderRightWidth: 1,
4047
4136
  borderTopWidth: 1,
4048
4137
  color: '#414547',
4138
+ containerPaddingLeft: 16,
4139
+ containerPaddingRight: 16,
4049
4140
  dismissButtonGap: 24,
4050
4141
  dismissIcon: PaletteIconClose,
4051
4142
  dismissIconColor: '#676e73',
@@ -7082,25 +7173,31 @@ const theme = {
7082
7173
  {
7083
7174
  if: { size: 'display1' },
7084
7175
  tokens: {
7085
- fontName: 'HelveticaNow',
7176
+ fontName: 'HelveticaNowDisplay',
7086
7177
  fontSize: 40,
7087
7178
  fontWeight: '300',
7088
- letterSpacing: -0.035,
7179
+ letterSpacing: 0,
7089
7180
  lineHeight: 1.2,
7090
7181
  superScriptFontSize: 24
7091
7182
  }
7092
7183
  },
7093
7184
  {
7094
7185
  if: { size: 'display1', viewport: [ 'lg', 'xl' ] },
7095
- tokens: { fontSize: 64, lineHeight: 1.125, superScriptFontSize: 32 }
7186
+ tokens: {
7187
+ fontName: 'HelveticaNowDisplay',
7188
+ fontSize: 64,
7189
+ fontWeight: '300',
7190
+ lineHeight: 1.2,
7191
+ superScriptFontSize: 32
7192
+ }
7096
7193
  },
7097
7194
  {
7098
7195
  if: { size: 'display2' },
7099
7196
  tokens: {
7100
- fontName: 'HelveticaNow',
7197
+ fontName: 'HelveticaNowDisplay',
7101
7198
  fontSize: 36,
7102
- fontWeight: '400',
7103
- letterSpacing: -0.035,
7199
+ fontWeight: '300',
7200
+ letterSpacing: 0,
7104
7201
  lineHeight: 1.22222222222,
7105
7202
  superScriptFontSize: 24
7106
7203
  }
@@ -7108,10 +7205,9 @@ const theme = {
7108
7205
  {
7109
7206
  if: { size: 'display2', viewport: [ 'lg', 'xl' ] },
7110
7207
  tokens: {
7111
- fontName: 'HelveticaNow',
7208
+ fontName: 'HelveticaNowDisplay',
7112
7209
  fontSize: 56,
7113
7210
  fontWeight: '300',
7114
- letterSpacing: -0.039,
7115
7211
  lineHeight: 1.14285714286,
7116
7212
  superScriptFontSize: 32
7117
7213
  }
@@ -7119,19 +7215,21 @@ const theme = {
7119
7215
  {
7120
7216
  if: { size: 'h1' },
7121
7217
  tokens: {
7218
+ fontName: 'HelveticaNowDisplay',
7122
7219
  fontSize: 28,
7123
- letterSpacing: -0.017,
7124
- lineHeight: 1.28571428571,
7220
+ fontWeight: '300',
7221
+ letterSpacing: 0,
7222
+ lineHeight: 1.22222222222,
7125
7223
  superScriptFontSize: 20
7126
7224
  }
7127
7225
  },
7128
7226
  {
7129
7227
  if: { size: 'h1', viewport: [ 'lg', 'xl' ] },
7130
7228
  tokens: {
7131
- fontName: 'HelveticaNow',
7229
+ fontName: 'HelveticaNowDisplay',
7132
7230
  fontSize: 40,
7133
7231
  fontWeight: '300',
7134
- letterSpacing: -0.035,
7232
+ letterSpacing: 0,
7135
7233
  lineHeight: 1.2,
7136
7234
  superScriptFontSize: 24
7137
7235
  }
@@ -7139,19 +7237,22 @@ const theme = {
7139
7237
  {
7140
7238
  if: { size: 'h2' },
7141
7239
  tokens: {
7142
- fontName: 'HelveticaNow',
7240
+ fontName: 'HelveticaNowDisplay',
7143
7241
  fontSize: 24,
7144
- fontWeight: '400',
7145
- lineHeight: 1.33333333333,
7242
+ fontWeight: '300',
7243
+ letterSpacing: 0,
7244
+ lineHeight: 1.2,
7146
7245
  superScriptFontSize: 16
7147
7246
  }
7148
7247
  },
7149
7248
  {
7150
7249
  if: { size: 'h2', viewport: [ 'lg', 'xl' ] },
7151
7250
  tokens: {
7251
+ fontName: 'HelveticaNowDisplay',
7152
7252
  fontSize: 28,
7253
+ fontWeight: '300',
7153
7254
  letterSpacing: -0.017,
7154
- lineHeight: 1.28571428571,
7255
+ lineHeight: 1.22222222222,
7155
7256
  superScriptFontSize: 20
7156
7257
  }
7157
7258
  },
@@ -7161,20 +7262,18 @@ const theme = {
7161
7262
  fontName: 'HelveticaNow',
7162
7263
  fontSize: 20,
7163
7264
  fontWeight: '500',
7164
- lineHeight: 1.4,
7265
+ letterSpacing: 0,
7266
+ lineHeight: 1.2,
7165
7267
  superScriptFontSize: 16
7166
7268
  }
7167
7269
  },
7168
- {
7169
- if: { size: 'h3', viewport: [ 'lg', 'xl' ] },
7170
- tokens: { fontSize: 24, lineHeight: 1.33333333333 }
7171
- },
7172
7270
  {
7173
7271
  if: { size: 'h4' },
7174
7272
  tokens: {
7175
7273
  fontName: 'HelveticaNow',
7176
7274
  fontSize: 16,
7177
7275
  fontWeight: '500',
7276
+ letterSpacing: 0,
7178
7277
  lineHeight: 1.5,
7179
7278
  superScriptFontSize: 16
7180
7279
  }
@@ -7185,6 +7284,7 @@ const theme = {
7185
7284
  fontName: 'HelveticaNow',
7186
7285
  fontSize: 14,
7187
7286
  fontWeight: '500',
7287
+ letterSpacing: 0,
7188
7288
  lineHeight: 1.28571428571
7189
7289
  }
7190
7290
  },
@@ -7198,6 +7298,7 @@ const theme = {
7198
7298
  fontName: 'HelveticaNow',
7199
7299
  fontSize: 12,
7200
7300
  fontWeight: '700',
7301
+ letterSpacing: 0,
7201
7302
  lineHeight: 1.33333333333
7202
7303
  }
7203
7304
  },
@@ -7258,35 +7359,19 @@ const theme = {
7258
7359
  },
7259
7360
  {
7260
7361
  if: { bold: true, size: 'display1' },
7261
- tokens: { fontName: 'HelveticaNow', fontWeight: '400' }
7362
+ tokens: { fontName: 'HelveticaNowDisplay', fontWeight: '700' }
7262
7363
  },
7263
7364
  {
7264
- if: {
7265
- bold: true,
7266
- size: [ 'display2' ],
7267
- viewport: [ 'xs', 'sm', 'md' ]
7268
- },
7269
- tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
7365
+ if: { bold: true, size: 'display2' },
7366
+ tokens: { fontName: 'HelveticaNowDisplay', fontWeight: '700' }
7270
7367
  },
7271
7368
  {
7272
- if: {
7273
- bold: true,
7274
- size: [ 'display2' ],
7275
- viewport: [ 'lg', 'xl' ]
7276
- },
7277
- tokens: { fontName: 'HelveticaNow', fontWeight: '400' }
7278
- },
7279
- {
7280
- if: { bold: true, size: 'h1', viewport: [ 'xs', 'sm', 'md' ] },
7281
- tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
7282
- },
7283
- {
7284
- if: { bold: true, size: 'h1', viewport: [ 'lg', 'xl' ] },
7285
- tokens: { fontName: 'HelveticaNow', fontWeight: '400' }
7369
+ if: { bold: true, size: 'h1' },
7370
+ tokens: { fontName: 'HelveticaNowDisplay', fontWeight: '700' }
7286
7371
  },
7287
7372
  {
7288
7373
  if: { bold: true, size: 'h2' },
7289
- tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
7374
+ tokens: { fontName: 'HelveticaNowDisplay', fontWeight: '700' }
7290
7375
  },
7291
7376
  {
7292
7377
  if: { bold: true, size: 'h3' },
@@ -7622,6 +7707,6 @@ const theme = {
7622
7707
  tokens: { size: 96 }
7623
7708
  }
7624
7709
  },
7625
- metadata: { name: 'theme-allium', themeTokensVersion: '2.57.0' }
7710
+ metadata: { name: 'theme-allium', themeTokensVersion: '2.58.0' }
7626
7711
  }
7627
7712
  export default theme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "4.32.0",
3
+ "version": "4.33.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": "^2.32.1",
13
- "@telus-uds/system-theme-tokens": "^2.57.0",
14
- "@telus-uds/system-tokens": "^0.8.3"
12
+ "@telus-uds/palette-allium": "^2.33.0",
13
+ "@telus-uds/system-theme-tokens": "^2.58.0",
14
+ "@telus-uds/system-tokens": "^0.8.4"
15
15
  },
16
16
  "peerDependencies": {
17
- "@telus-uds/palette-allium": "^2.32.1"
17
+ "@telus-uds/palette-allium": "^2.33.0"
18
18
  },
19
19
  "files": [
20
20
  "build",