@telus-uds/theme-public-mobile 2.22.0 → 2.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.
Files changed (245) hide show
  1. package/build/android/ActionCard.json +160 -0
  2. package/build/android/ExpandCollapseControl.json +1 -0
  3. package/build/android/ExpandCollapsePanel.json +4 -1
  4. package/build/android/List.json +6 -0
  5. package/build/android/Notification.json +6 -1
  6. package/build/android/schema.json +1082 -703
  7. package/build/android/theme.json +178 -3
  8. package/build/ios/ActionCard.json +160 -0
  9. package/build/ios/ExpandCollapseControl.json +1 -0
  10. package/build/ios/ExpandCollapsePanel.json +4 -1
  11. package/build/ios/List.json +6 -0
  12. package/build/ios/Notification.json +6 -1
  13. package/build/ios/schema.json +1082 -703
  14. package/build/ios/theme.json +178 -3
  15. package/build/rn/ActionCard.js +93 -0
  16. package/build/rn/ActivityIndicator.js +1 -1
  17. package/build/rn/Badge.js +1 -1
  18. package/build/rn/BlockQuote.js +1 -1
  19. package/build/rn/Box.js +1 -1
  20. package/build/rn/Breadcrumbs.js +1 -1
  21. package/build/rn/Button.js +1 -1
  22. package/build/rn/ButtonDropdown.js +1 -1
  23. package/build/rn/ButtonGroup.js +1 -1
  24. package/build/rn/ButtonGroupItem.js +1 -1
  25. package/build/rn/Callout.js +1 -1
  26. package/build/rn/Card.js +1 -1
  27. package/build/rn/CardGroup.js +1 -1
  28. package/build/rn/Carousel.js +1 -1
  29. package/build/rn/CarouselTabsPanelItem.js +1 -1
  30. package/build/rn/CarouselThumbnail.js +1 -1
  31. package/build/rn/Checkbox.js +1 -1
  32. package/build/rn/CheckboxCard.js +1 -1
  33. package/build/rn/CheckboxCardGroup.js +1 -1
  34. package/build/rn/CheckboxGroup.js +1 -1
  35. package/build/rn/ChevronLink.js +1 -1
  36. package/build/rn/ColourToggle.js +1 -1
  37. package/build/rn/Countdown.js +1 -1
  38. package/build/rn/DatePicker.js +1 -1
  39. package/build/rn/Disclaimer.js +1 -1
  40. package/build/rn/Divider.js +1 -1
  41. package/build/rn/ExpandCollapse.js +1 -1
  42. package/build/rn/ExpandCollapseControl.js +11 -1
  43. package/build/rn/ExpandCollapseMini.js +1 -1
  44. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  45. package/build/rn/ExpandCollapsePanel.js +5 -2
  46. package/build/rn/Feedback.js +1 -1
  47. package/build/rn/Fieldset.js +1 -1
  48. package/build/rn/Footnote.js +1 -1
  49. package/build/rn/FootnoteLink.js +1 -1
  50. package/build/rn/HorizontalScrollButton.js +1 -1
  51. package/build/rn/Icon.js +1 -1
  52. package/build/rn/IconButton.js +1 -1
  53. package/build/rn/Image.js +1 -1
  54. package/build/rn/InputLabel.js +1 -1
  55. package/build/rn/InputSupports.js +1 -1
  56. package/build/rn/Link.js +1 -1
  57. package/build/rn/List.js +2 -1
  58. package/build/rn/Listbox.js +1 -1
  59. package/build/rn/Modal.js +1 -1
  60. package/build/rn/MultiSelectFilter.js +1 -1
  61. package/build/rn/NavigationBar.js +1 -1
  62. package/build/rn/Notification.js +10 -4
  63. package/build/rn/OrderedList.js +1 -1
  64. package/build/rn/Pagination.js +1 -1
  65. package/build/rn/PaginationPageButton.js +1 -1
  66. package/build/rn/PaginationSideButton.js +1 -1
  67. package/build/rn/PreviewCard.js +1 -1
  68. package/build/rn/PriceLockup.js +1 -1
  69. package/build/rn/ProductCard.js +1 -1
  70. package/build/rn/Progress.js +1 -1
  71. package/build/rn/ProgressBar.js +1 -1
  72. package/build/rn/QuantitySelector.js +1 -1
  73. package/build/rn/QuantitySelectorSideButton.js +1 -1
  74. package/build/rn/QuickLinks.js +1 -1
  75. package/build/rn/QuickLinksButton.js +1 -1
  76. package/build/rn/QuickLinksCard.js +1 -1
  77. package/build/rn/QuickLinksFeature.js +1 -1
  78. package/build/rn/QuickLinksFeatureItem.js +1 -1
  79. package/build/rn/QuickLinksList.js +1 -1
  80. package/build/rn/Radio.js +1 -1
  81. package/build/rn/RadioCard.js +1 -1
  82. package/build/rn/RadioCardGroup.js +1 -1
  83. package/build/rn/RadioGroup.js +1 -1
  84. package/build/rn/Ribbon.js +1 -1
  85. package/build/rn/Search.js +1 -1
  86. package/build/rn/SearchButton.js +1 -1
  87. package/build/rn/Select.js +1 -1
  88. package/build/rn/SideNav.js +1 -1
  89. package/build/rn/SideNavItem.js +1 -1
  90. package/build/rn/SideNavItemsGroup.js +1 -1
  91. package/build/rn/Skeleton.js +1 -1
  92. package/build/rn/SkipLink.js +1 -1
  93. package/build/rn/Spinner.js +1 -1
  94. package/build/rn/SplashButton.js +1 -1
  95. package/build/rn/SplashButtonWithDetails.js +1 -1
  96. package/build/rn/StackView.js +1 -1
  97. package/build/rn/StepTracker.js +1 -1
  98. package/build/rn/StoryCard.js +1 -1
  99. package/build/rn/Table.js +1 -1
  100. package/build/rn/Tabs.js +1 -1
  101. package/build/rn/TabsItem.js +1 -1
  102. package/build/rn/Tags.js +1 -1
  103. package/build/rn/TagsItem.js +1 -1
  104. package/build/rn/TermsAndConditions.js +1 -1
  105. package/build/rn/Testimonial.js +1 -1
  106. package/build/rn/TextArea.js +1 -1
  107. package/build/rn/TextInput.js +1 -1
  108. package/build/rn/Timeline.js +1 -1
  109. package/build/rn/Toast.js +1 -1
  110. package/build/rn/ToggleSwitch.js +1 -1
  111. package/build/rn/ToggleSwitchGroup.js +1 -1
  112. package/build/rn/Tooltip.js +1 -1
  113. package/build/rn/TooltipButton.js +1 -1
  114. package/build/rn/Typography.js +1 -1
  115. package/build/rn/Video.js +1 -1
  116. package/build/rn/VideoButton.js +1 -1
  117. package/build/rn/VideoControlBar.js +1 -1
  118. package/build/rn/VideoMenu.js +1 -1
  119. package/build/rn/VideoMiddleControlButton.js +1 -1
  120. package/build/rn/VideoPicker.js +1 -1
  121. package/build/rn/VideoPickerSlider.js +1 -1
  122. package/build/rn/VideoPickerThumbnail.js +1 -1
  123. package/build/rn/VideoProgressBar.js +1 -1
  124. package/build/rn/VideoVolumeSlider.js +1 -1
  125. package/build/rn/WaffleGrid.js +1 -1
  126. package/build/rn/schema.json +1082 -703
  127. package/build/rn/spacingScale.js +1 -1
  128. package/build/rn/theme.js +111 -8
  129. package/build/web/ActionCard.js +93 -0
  130. package/build/web/ActivityIndicator.js +1 -1
  131. package/build/web/Badge.js +1 -1
  132. package/build/web/BlockQuote.js +1 -1
  133. package/build/web/Box.js +1 -1
  134. package/build/web/Breadcrumbs.js +1 -1
  135. package/build/web/Button.js +1 -1
  136. package/build/web/ButtonDropdown.js +1 -1
  137. package/build/web/ButtonGroup.js +1 -1
  138. package/build/web/ButtonGroupItem.js +1 -1
  139. package/build/web/Callout.js +1 -1
  140. package/build/web/Card.js +1 -1
  141. package/build/web/CardGroup.js +1 -1
  142. package/build/web/Carousel.js +1 -1
  143. package/build/web/CarouselTabsPanelItem.js +1 -1
  144. package/build/web/CarouselThumbnail.js +1 -1
  145. package/build/web/Checkbox.js +1 -1
  146. package/build/web/CheckboxCard.js +1 -1
  147. package/build/web/CheckboxCardGroup.js +1 -1
  148. package/build/web/CheckboxGroup.js +1 -1
  149. package/build/web/ChevronLink.js +1 -1
  150. package/build/web/ColourToggle.js +1 -1
  151. package/build/web/Countdown.js +1 -1
  152. package/build/web/DatePicker.js +1 -1
  153. package/build/web/Disclaimer.js +1 -1
  154. package/build/web/Divider.js +1 -1
  155. package/build/web/ExpandCollapse.js +1 -1
  156. package/build/web/ExpandCollapseControl.js +11 -1
  157. package/build/web/ExpandCollapseMini.js +1 -1
  158. package/build/web/ExpandCollapseMiniControl.js +1 -1
  159. package/build/web/ExpandCollapsePanel.js +5 -2
  160. package/build/web/Feedback.js +1 -1
  161. package/build/web/Fieldset.js +1 -1
  162. package/build/web/Footnote.js +1 -1
  163. package/build/web/FootnoteLink.js +1 -1
  164. package/build/web/HorizontalScrollButton.js +1 -1
  165. package/build/web/Icon.js +1 -1
  166. package/build/web/IconButton.js +1 -1
  167. package/build/web/Image.js +1 -1
  168. package/build/web/InputLabel.js +1 -1
  169. package/build/web/InputSupports.js +1 -1
  170. package/build/web/Link.js +1 -1
  171. package/build/web/List.js +2 -1
  172. package/build/web/Listbox.js +1 -1
  173. package/build/web/Modal.js +1 -1
  174. package/build/web/MultiSelectFilter.js +1 -1
  175. package/build/web/NavigationBar.js +1 -1
  176. package/build/web/Notification.js +10 -4
  177. package/build/web/OrderedList.js +1 -1
  178. package/build/web/Pagination.js +1 -1
  179. package/build/web/PaginationPageButton.js +1 -1
  180. package/build/web/PaginationSideButton.js +1 -1
  181. package/build/web/PreviewCard.js +1 -1
  182. package/build/web/PriceLockup.js +1 -1
  183. package/build/web/ProductCard.js +1 -1
  184. package/build/web/Progress.js +1 -1
  185. package/build/web/ProgressBar.js +1 -1
  186. package/build/web/QuantitySelector.js +1 -1
  187. package/build/web/QuantitySelectorSideButton.js +1 -1
  188. package/build/web/QuickLinks.js +1 -1
  189. package/build/web/QuickLinksButton.js +1 -1
  190. package/build/web/QuickLinksCard.js +1 -1
  191. package/build/web/QuickLinksFeature.js +1 -1
  192. package/build/web/QuickLinksFeatureItem.js +1 -1
  193. package/build/web/QuickLinksList.js +1 -1
  194. package/build/web/Radio.js +1 -1
  195. package/build/web/RadioCard.js +1 -1
  196. package/build/web/RadioCardGroup.js +1 -1
  197. package/build/web/RadioGroup.js +1 -1
  198. package/build/web/Ribbon.js +1 -1
  199. package/build/web/Search.js +1 -1
  200. package/build/web/SearchButton.js +1 -1
  201. package/build/web/Select.js +1 -1
  202. package/build/web/SideNav.js +1 -1
  203. package/build/web/SideNavItem.js +1 -1
  204. package/build/web/SideNavItemsGroup.js +1 -1
  205. package/build/web/Skeleton.js +1 -1
  206. package/build/web/SkipLink.js +1 -1
  207. package/build/web/Spinner.js +1 -1
  208. package/build/web/SplashButton.js +1 -1
  209. package/build/web/SplashButtonWithDetails.js +1 -1
  210. package/build/web/StackView.js +1 -1
  211. package/build/web/StepTracker.js +1 -1
  212. package/build/web/StoryCard.js +1 -1
  213. package/build/web/Table.js +1 -1
  214. package/build/web/Tabs.js +1 -1
  215. package/build/web/TabsItem.js +1 -1
  216. package/build/web/Tags.js +1 -1
  217. package/build/web/TagsItem.js +1 -1
  218. package/build/web/TermsAndConditions.js +1 -1
  219. package/build/web/Testimonial.js +1 -1
  220. package/build/web/TextArea.js +1 -1
  221. package/build/web/TextInput.js +1 -1
  222. package/build/web/Timeline.js +1 -1
  223. package/build/web/Toast.js +1 -1
  224. package/build/web/ToggleSwitch.js +1 -1
  225. package/build/web/ToggleSwitchGroup.js +1 -1
  226. package/build/web/Tooltip.js +1 -1
  227. package/build/web/TooltipButton.js +1 -1
  228. package/build/web/Typography.js +1 -1
  229. package/build/web/Video.js +1 -1
  230. package/build/web/VideoButton.js +1 -1
  231. package/build/web/VideoControlBar.js +1 -1
  232. package/build/web/VideoMenu.js +1 -1
  233. package/build/web/VideoMiddleControlButton.js +1 -1
  234. package/build/web/VideoPicker.js +1 -1
  235. package/build/web/VideoPickerSlider.js +1 -1
  236. package/build/web/VideoPickerThumbnail.js +1 -1
  237. package/build/web/VideoProgressBar.js +1 -1
  238. package/build/web/VideoVolumeSlider.js +1 -1
  239. package/build/web/WaffleGrid.js +1 -1
  240. package/build/web/index.js +2 -1
  241. package/build/web/schema.json +1082 -703
  242. package/build/web/spacingScale.js +1 -1
  243. package/build/web/theme.js +111 -8
  244. package/package.json +4 -4
  245. package/theme.json +109 -2
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:53 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:46 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,10 +1,12 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:53 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:47 GMT
5
5
  *
6
6
  */
7
7
 
8
+ import PaletteIconArrowRight from '@telus-uds/palette-public-mobile/build/rn/icons/ArrowRight'
9
+ import PaletteIconWarningError from '@telus-uds/palette-public-mobile/build/rn/icons/WarningError'
8
10
  import PaletteIconChevronRight from '@telus-uds/palette-public-mobile/build/rn/icons/ChevronRight'
9
11
  import PaletteIconChevronDown from '@telus-uds/palette-public-mobile/build/rn/icons/ChevronDown'
10
12
  import PaletteIconChevronUp from '@telus-uds/palette-public-mobile/build/rn/icons/ChevronUp'
@@ -25,7 +27,6 @@ import PaletteIconExpand from '@telus-uds/palette-public-mobile/build/rn/icons/E
25
27
  import PaletteIconPlayVideo from '@telus-uds/palette-public-mobile/build/rn/icons/PlayVideo'
26
28
  import PaletteIconBulletFill from '@telus-uds/palette-public-mobile/build/rn/icons/BulletFill'
27
29
  import PaletteIconMobileXClose from '@telus-uds/palette-public-mobile/build/rn/icons/MobileXClose'
28
- import PaletteIconWarningError from '@telus-uds/palette-public-mobile/build/rn/icons/WarningError'
29
30
  import PaletteIconSearch from '@telus-uds/palette-public-mobile/build/rn/icons/Search'
30
31
  import PaletteIconInfo from '@telus-uds/palette-public-mobile/build/rn/icons/Info'
31
32
  import PaletteIconXMark from '@telus-uds/palette-public-mobile/build/rn/icons/XMark'
@@ -44,12 +45,94 @@ import PaletteIconClosedCaptions from '@telus-uds/palette-public-mobile/build/rn
44
45
  import PaletteIconFullscreenExpand from '@telus-uds/palette-public-mobile/build/rn/icons/FullscreenExpand'
45
46
  import PaletteIconFullscreenMinimize from '@telus-uds/palette-public-mobile/build/rn/icons/FullscreenMinimize'
46
47
  import PaletteIconSettingsSolid from '@telus-uds/palette-public-mobile/build/rn/icons/SettingsSolid'
47
- import PaletteIconArrowRight from '@telus-uds/palette-public-mobile/build/rn/icons/ArrowRight'
48
48
  import PaletteIconArrowLeft from '@telus-uds/palette-public-mobile/build/rn/icons/ArrowLeft'
49
49
  import PaletteIconMuted from '@telus-uds/palette-public-mobile/build/rn/icons/Muted'
50
50
  import PaletteIconUnmuted from '@telus-uds/palette-public-mobile/build/rn/icons/Unmuted'
51
51
  const theme = {
52
52
  components: {
53
+ ActionCard: {
54
+ appearances: {
55
+ hover: {
56
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
57
+ platforms: [ 'rn', 'web' ],
58
+ type: 'state',
59
+ values: [ true, false ]
60
+ },
61
+ validation: {
62
+ description: 'Validation states for form inputs',
63
+ type: 'state',
64
+ values: [ 'error', 'success', 'warning' ]
65
+ }
66
+ },
67
+ rules: [
68
+ { if: { hover: true }, tokens: { actionIconTranslate: 4 } },
69
+ {
70
+ if: { validation: 'warning' },
71
+ tokens: {
72
+ actionIconMarginLeft: 8,
73
+ backgroundColor: '#fce6df',
74
+ statusIcon: PaletteIconWarningError,
75
+ statusIconColor: '#394056'
76
+ }
77
+ },
78
+ {
79
+ if: { validation: 'error' },
80
+ tokens: {
81
+ actionIconColor: '#ffffff',
82
+ actionIconMarginLeft: 8,
83
+ backgroundColor: '#bf1722',
84
+ contentFontColor: '#ffffff',
85
+ iconColor: '#ffffff',
86
+ statusIcon: PaletteIconWarningError,
87
+ statusIconColor: '#ffffff',
88
+ titleFontColor: '#ffffff'
89
+ }
90
+ }
91
+ ],
92
+ tokens: {
93
+ actionIcon: PaletteIconArrowRight,
94
+ actionIconColor: '#394056',
95
+ actionIconMarginBottom: 8,
96
+ actionIconMarginLeft: 0,
97
+ actionIconMarginRight: 0,
98
+ actionIconMarginTop: 8,
99
+ actionIconTranslate: 4,
100
+ backgroundColor: null,
101
+ borderColor: null,
102
+ borderRadius: null,
103
+ borderWidth: null,
104
+ contentFontColor: '#394056',
105
+ contentFontName: 'SofiaPro',
106
+ contentFontSize: 16,
107
+ contentFontWeight: '400',
108
+ contentLineHeight: 1.25,
109
+ contentMarginBottom: 8,
110
+ contentMarginLeft: 0,
111
+ contentMarginRight: 0,
112
+ contentMarginTop: 0,
113
+ iconBackgroundColor: 'rgba(0, 0, 0, 0.05)',
114
+ iconColor: '#394056',
115
+ iconMarginBottom: 0,
116
+ iconMarginLeft: 0,
117
+ iconMarginRight: 8,
118
+ iconMarginTop: 0,
119
+ paddingBottom: 16,
120
+ paddingLeft: 16,
121
+ paddingRight: 16,
122
+ paddingTop: 16,
123
+ statusIcon: null,
124
+ statusIconColor: null,
125
+ titleFontColor: '#394056',
126
+ titleFontName: 'SofiaPro',
127
+ titleFontSize: 16,
128
+ titleFontWeight: '700',
129
+ titleLineHeight: 1.5,
130
+ titleMarginBottom: 8,
131
+ titleMarginLeft: 0,
132
+ titleMarginRight: 8,
133
+ titleMarginTop: 8
134
+ }
135
+ },
53
136
  ActivityIndicator: {
54
137
  appearances: {
55
138
  size: {
@@ -2236,6 +2319,7 @@ const theme = {
2236
2319
  if: { mini: true },
2237
2320
  tokens: {
2238
2321
  borderColor: 'rgba(0, 0, 0, 0)',
2322
+ borderWidth: null,
2239
2323
  paddingBottom: 0,
2240
2324
  paddingLeft: 0,
2241
2325
  paddingRight: 0,
@@ -2251,6 +2335,15 @@ const theme = {
2251
2335
  textLine: 'underline'
2252
2336
  }
2253
2337
  },
2338
+ {
2339
+ if: { focus: true, mini: true },
2340
+ tokens: {
2341
+ backgroundColor: 'rgba(0, 0, 0, 0)',
2342
+ borderColor: '#394056',
2343
+ borderWidth: null,
2344
+ textLine: 'underline'
2345
+ }
2346
+ },
2254
2347
  {
2255
2348
  if: { expanded: false, hover: true },
2256
2349
  tokens: {
@@ -2406,7 +2499,10 @@ const theme = {
2406
2499
  contentPaddingLeft: 0,
2407
2500
  contentPaddingRight: 0,
2408
2501
  contentPaddingTop: 0,
2409
- expandDividerColor: 'rgba(0, 0, 0, 0)'
2502
+ contentPanelPaddingBottom: 0,
2503
+ contentPanelPaddingTop: 0,
2504
+ expandDividerColor: 'rgba(0, 0, 0, 0)',
2505
+ marginBottom: 0
2410
2506
  }
2411
2507
  }
2412
2508
  ],
@@ -3387,6 +3483,7 @@ const theme = {
3387
3483
  itemIconColor: '#394056',
3388
3484
  itemIconSize: 16,
3389
3485
  itemLineHeight: 1.5,
3486
+ itemTextColor: '#394056',
3390
3487
  listGutter: 16
3391
3488
  }
3392
3489
  },
@@ -3905,8 +4002,12 @@ const theme = {
3905
4002
  },
3906
4003
  rules: [
3907
4004
  {
3908
- if: { viewport: [ 'xl' ] },
3909
- tokens: { justifyContent: 'center' }
4005
+ if: { system: true, viewport: [ 'xl' ] },
4006
+ tokens: {
4007
+ containerPaddingLeft: 16,
4008
+ containerPaddingRight: 16,
4009
+ justifyContent: 'center'
4010
+ }
3910
4011
  },
3911
4012
  {
3912
4013
  if: { system: true },
@@ -4019,6 +4120,8 @@ const theme = {
4019
4120
  borderRightWidth: 0,
4020
4121
  borderTopWidth: 0,
4021
4122
  color: '#394056',
4123
+ containerPaddingLeft: 16,
4124
+ containerPaddingRight: 16,
4022
4125
  dismissButtonGap: 12,
4023
4126
  dismissIcon: PaletteIconMobileXClose,
4024
4127
  dismissIconColor: '#394056',
@@ -4030,7 +4133,7 @@ const theme = {
4030
4133
  iconGap: 16,
4031
4134
  iconSize: 24,
4032
4135
  justifyContent: 'flex-start',
4033
- lineHeight: 2.5,
4136
+ lineHeight: 1.55555555,
4034
4137
  paddingBottom: 12,
4035
4138
  paddingLeft: 12,
4036
4139
  paddingRight: 12,
@@ -7439,6 +7542,6 @@ const theme = {
7439
7542
  tokens: { size: 80 }
7440
7543
  }
7441
7544
  },
7442
- metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.56.0' }
7545
+ metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.58.0' }
7443
7546
  }
7444
7547
  export default theme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-public-mobile",
3
- "version": "2.22.0",
3
+ "version": "2.24.0",
4
4
  "description": "Public Mobile theme",
5
5
  "keywords": [
6
6
  "public mobile"
@@ -14,11 +14,11 @@
14
14
  "theme.json"
15
15
  ],
16
16
  "devDependencies": {
17
- "@telus-uds/palette-public-mobile": "^1.9.0",
18
- "@telus-uds/system-theme-tokens": "^2.56.0"
17
+ "@telus-uds/palette-public-mobile": "^1.10.0",
18
+ "@telus-uds/system-theme-tokens": "^2.58.0"
19
19
  },
20
20
  "peerDependencies": {
21
- "@telus-uds/palette-public-mobile": "^1.9.0"
21
+ "@telus-uds/palette-public-mobile": "^1.10.0"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
package/theme.json CHANGED
@@ -1,5 +1,90 @@
1
1
  {
2
2
  "components": {
3
+ "ActionCard": {
4
+ "appearances": {
5
+ "hover": "{appearances.ActionCard.hover}",
6
+ "validation": "{appearances.ActionCard.validation}"
7
+ },
8
+ "rules": [
9
+ {
10
+ "if": {
11
+ "hover": true
12
+ },
13
+ "tokens": {
14
+ "actionIconTranslate": "{palette.size.size4}"
15
+ }
16
+ },
17
+ {
18
+ "if": {
19
+ "validation": "warning"
20
+ },
21
+ "tokens": {
22
+ "actionIconMarginLeft": "{palette.size.size8}",
23
+ "backgroundColor": "{palette.color.apricot25}",
24
+ "statusIcon": "{palette.icon.WarningError}",
25
+ "statusIconColor": "{palette.color.slate100}"
26
+ }
27
+ },
28
+ {
29
+ "if": {
30
+ "validation": "error"
31
+ },
32
+ "tokens": {
33
+ "actionIconColor": "{palette.color.white}",
34
+ "actionIconMarginLeft": "{palette.size.size8}",
35
+ "backgroundColor": "{palette.color.danger100}",
36
+ "contentFontColor": "{palette.color.white}",
37
+ "iconColor": "{palette.color.white}",
38
+ "statusIcon": "{palette.icon.WarningError}",
39
+ "statusIconColor": "{palette.color.white}",
40
+ "titleFontColor": "{palette.color.white}"
41
+ }
42
+ }
43
+ ],
44
+ "tokens": {
45
+ "actionIcon": "{palette.icon.ArrowRight}",
46
+ "actionIconColor": "{palette.color.slate100}",
47
+ "actionIconMarginBottom": "{palette.size.size8}",
48
+ "actionIconMarginLeft": "{palette.size.size0}",
49
+ "actionIconMarginRight": "{palette.size.size0}",
50
+ "actionIconMarginTop": "{palette.size.size8}",
51
+ "actionIconTranslate": "{palette.size.size4}",
52
+ "backgroundColor": "{system.color.none}",
53
+ "borderColor": "{system.color.none}",
54
+ "borderRadius": "{system.radius.none}",
55
+ "borderWidth": "{system.border.none}",
56
+ "contentFontColor": "{palette.color.slate100}",
57
+ "contentFontName": "{palette.fontName.SofiaPro}",
58
+ "contentFontSize": "{palette.fontSize.size16}",
59
+ "contentFontWeight": "{palette.fontWeight.weight400}",
60
+ "contentLineHeight": "{palette.lineHeight.ratio5to4}",
61
+ "contentMarginBottom": "{palette.size.size8}",
62
+ "contentMarginLeft": "{palette.size.size0}",
63
+ "contentMarginRight": "{palette.size.size0}",
64
+ "contentMarginTop": "{palette.size.size0}",
65
+ "iconBackgroundColor": "{palette.color.dark5}",
66
+ "iconColor": "{palette.color.slate100}",
67
+ "iconMarginBottom": "{palette.size.size0}",
68
+ "iconMarginLeft": "{palette.size.size0}",
69
+ "iconMarginRight": "{palette.size.size8}",
70
+ "iconMarginTop": "{palette.size.size0}",
71
+ "paddingBottom": "{palette.size.size16}",
72
+ "paddingLeft": "{palette.size.size16}",
73
+ "paddingRight": "{palette.size.size16}",
74
+ "paddingTop": "{palette.size.size16}",
75
+ "statusIcon": "{system.icon.none}",
76
+ "statusIconColor": "{system.color.none}",
77
+ "titleFontColor": "{palette.color.slate100}",
78
+ "titleFontName": "{palette.fontName.SofiaPro}",
79
+ "titleFontSize": "{palette.fontSize.size16}",
80
+ "titleFontWeight": "{palette.fontWeight.weight700}",
81
+ "titleLineHeight": "{palette.lineHeight.ratio3to2}",
82
+ "titleMarginBottom": "{palette.size.size8}",
83
+ "titleMarginLeft": "{palette.size.size0}",
84
+ "titleMarginRight": "{palette.size.size8}",
85
+ "titleMarginTop": "{palette.size.size8}"
86
+ }
87
+ },
3
88
  "ActivityIndicator": {
4
89
  "appearances": {
5
90
  "size": {
@@ -2753,6 +2838,7 @@
2753
2838
  },
2754
2839
  "tokens": {
2755
2840
  "borderColor": "{palette.color.transparent}",
2841
+ "borderWidth": "{system.border.none}",
2756
2842
  "paddingBottom": "{palette.size.size0}",
2757
2843
  "paddingLeft": "{palette.size.size0}",
2758
2844
  "paddingRight": "{palette.size.size0}",
@@ -2770,6 +2856,18 @@
2770
2856
  "textLine": "{system.textLine.underline}"
2771
2857
  }
2772
2858
  },
2859
+ {
2860
+ "if": {
2861
+ "focus": true,
2862
+ "mini": true
2863
+ },
2864
+ "tokens": {
2865
+ "backgroundColor": "{palette.color.transparent}",
2866
+ "borderColor": "{palette.color.slate100}",
2867
+ "borderWidth": "{system.border.none}",
2868
+ "textLine": "{system.textLine.underline}"
2869
+ }
2870
+ },
2773
2871
  {
2774
2872
  "if": {
2775
2873
  "expanded": false,
@@ -2992,7 +3090,10 @@
2992
3090
  "contentPaddingLeft": "{palette.size.size0}",
2993
3091
  "contentPaddingRight": "{palette.size.size0}",
2994
3092
  "contentPaddingTop": "{palette.size.size0}",
2995
- "expandDividerColor": "{palette.color.transparent}"
3093
+ "contentPanelPaddingBottom": "{palette.size.size0}",
3094
+ "contentPanelPaddingTop": "{palette.size.size0}",
3095
+ "expandDividerColor": "{palette.color.transparent}",
3096
+ "marginBottom": "{palette.size.size0}"
2996
3097
  }
2997
3098
  }
2998
3099
  ],
@@ -4534,6 +4635,7 @@
4534
4635
  "itemIconColor": "{palette.color.slate100}",
4535
4636
  "itemIconSize": "{palette.size.size16}",
4536
4637
  "itemLineHeight": "{palette.lineHeight.ratio3to2}",
4638
+ "itemTextColor": "{palette.color.slate100}",
4537
4639
  "listGutter": "{palette.size.size16}"
4538
4640
  }
4539
4641
  },
@@ -5055,9 +5157,12 @@
5055
5157
  "rules": [
5056
5158
  {
5057
5159
  "if": {
5160
+ "system": true,
5058
5161
  "viewport": ["xl"]
5059
5162
  },
5060
5163
  "tokens": {
5164
+ "containerPaddingLeft": "{palette.size.size16}",
5165
+ "containerPaddingRight": "{palette.size.size16}",
5061
5166
  "justifyContent": "{system.flexJustifyContent.center}"
5062
5167
  }
5063
5168
  },
@@ -5190,6 +5295,8 @@
5190
5295
  "borderRightWidth": "{system.border.zero}",
5191
5296
  "borderTopWidth": "{system.border.zero}",
5192
5297
  "color": "{palette.color.slate100}",
5298
+ "containerPaddingLeft": "{palette.size.size16}",
5299
+ "containerPaddingRight": "{palette.size.size16}",
5193
5300
  "dismissButtonGap": "{palette.size.size12}",
5194
5301
  "dismissIcon": "{palette.icon.MobileXClose}",
5195
5302
  "dismissIconColor": "{palette.color.slate100}",
@@ -5201,7 +5308,7 @@
5201
5308
  "iconGap": "{palette.size.size16}",
5202
5309
  "iconSize": "{palette.size.size24}",
5203
5310
  "justifyContent": "{system.flexJustifyContent.flexStart}",
5204
- "lineHeight": "{palette.lineHeight.ratio5to2}",
5311
+ "lineHeight": "{palette.lineHeight.ratio14to9}",
5205
5312
  "paddingBottom": "{palette.size.size12}",
5206
5313
  "paddingLeft": "{palette.size.size12}",
5207
5314
  "paddingRight": "{palette.size.size12}",