@telus-uds/theme-public-mobile 4.16.1 → 4.17.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 (253) hide show
  1. package/build/android/IconButton.json +28 -1
  2. package/build/android/Listbox.json +127 -72
  3. package/build/android/Table.json +4 -0
  4. package/build/android/schema.json +965 -878
  5. package/build/android/theme.json +160 -74
  6. package/build/ios/IconButton.json +28 -1
  7. package/build/ios/Listbox.json +127 -72
  8. package/build/ios/Table.json +4 -0
  9. package/build/ios/schema.json +965 -878
  10. package/build/ios/theme.json +160 -74
  11. package/build/rn/ActionCard.js +1 -1
  12. package/build/rn/ActivityIndicator.js +1 -1
  13. package/build/rn/Autocomplete.js +1 -1
  14. package/build/rn/Badge.js +1 -1
  15. package/build/rn/BlockQuote.js +1 -1
  16. package/build/rn/Box.js +1 -1
  17. package/build/rn/Breadcrumbs.js +1 -1
  18. package/build/rn/Button.js +1 -1
  19. package/build/rn/ButtonDropdown.js +1 -1
  20. package/build/rn/ButtonGroup.js +1 -1
  21. package/build/rn/ButtonGroupItem.js +1 -1
  22. package/build/rn/Callout.js +1 -1
  23. package/build/rn/Card.js +1 -1
  24. package/build/rn/CardGroup.js +1 -1
  25. package/build/rn/Carousel.js +1 -1
  26. package/build/rn/CarouselTabsPanelItem.js +1 -1
  27. package/build/rn/CarouselThumbnail.js +1 -1
  28. package/build/rn/Checkbox.js +1 -1
  29. package/build/rn/CheckboxCard.js +1 -1
  30. package/build/rn/CheckboxCardGroup.js +1 -1
  31. package/build/rn/CheckboxGroup.js +1 -1
  32. package/build/rn/ChevronLink.js +1 -1
  33. package/build/rn/ColourToggle.js +1 -1
  34. package/build/rn/Countdown.js +1 -1
  35. package/build/rn/DatePicker.js +1 -1
  36. package/build/rn/Disclaimer.js +1 -1
  37. package/build/rn/Divider.js +1 -1
  38. package/build/rn/DownloadApp.js +1 -1
  39. package/build/rn/ExpandCollapse.js +1 -1
  40. package/build/rn/ExpandCollapseControl.js +1 -1
  41. package/build/rn/ExpandCollapseMini.js +1 -1
  42. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  43. package/build/rn/ExpandCollapsePanel.js +1 -1
  44. package/build/rn/Feedback.js +1 -1
  45. package/build/rn/Fieldset.js +1 -1
  46. package/build/rn/FileUpload.js +1 -1
  47. package/build/rn/Footnote.js +1 -1
  48. package/build/rn/FootnoteLink.js +1 -1
  49. package/build/rn/HorizontalScrollButton.js +1 -1
  50. package/build/rn/Icon.js +1 -1
  51. package/build/rn/IconButton.js +9 -2
  52. package/build/rn/Image.js +1 -1
  53. package/build/rn/InputLabel.js +1 -1
  54. package/build/rn/InputSupports.js +1 -1
  55. package/build/rn/Link.js +1 -1
  56. package/build/rn/List.js +1 -1
  57. package/build/rn/Listbox.js +80 -67
  58. package/build/rn/Modal.js +1 -1
  59. package/build/rn/MultiSelectFilter.js +1 -1
  60. package/build/rn/NavigationBar.js +1 -1
  61. package/build/rn/Notification.js +1 -1
  62. package/build/rn/OrderedList.js +1 -1
  63. package/build/rn/Pagination.js +1 -1
  64. package/build/rn/PaginationPageButton.js +1 -1
  65. package/build/rn/PaginationSideButton.js +1 -1
  66. package/build/rn/PreviewCard.js +1 -1
  67. package/build/rn/PriceLockup.js +1 -1
  68. package/build/rn/ProductCard.js +1 -1
  69. package/build/rn/Progress.js +1 -1
  70. package/build/rn/ProgressBar.js +1 -1
  71. package/build/rn/QuantitySelector.js +1 -1
  72. package/build/rn/QuantitySelectorSideButton.js +1 -1
  73. package/build/rn/QuickLinks.js +1 -1
  74. package/build/rn/QuickLinksButton.js +1 -1
  75. package/build/rn/QuickLinksCard.js +1 -1
  76. package/build/rn/QuickLinksFeature.js +1 -1
  77. package/build/rn/QuickLinksFeatureItem.js +1 -1
  78. package/build/rn/QuickLinksList.js +1 -1
  79. package/build/rn/Radio.js +1 -1
  80. package/build/rn/RadioCard.js +1 -1
  81. package/build/rn/RadioCardGroup.js +1 -1
  82. package/build/rn/RadioGroup.js +1 -1
  83. package/build/rn/Ribbon.js +1 -1
  84. package/build/rn/Search.js +1 -1
  85. package/build/rn/SearchButton.js +1 -1
  86. package/build/rn/Select.js +1 -1
  87. package/build/rn/SideNav.js +1 -1
  88. package/build/rn/SideNavItem.js +1 -1
  89. package/build/rn/SideNavItemsGroup.js +1 -1
  90. package/build/rn/Skeleton.js +1 -1
  91. package/build/rn/SkipLink.js +1 -1
  92. package/build/rn/Spinner.js +1 -1
  93. package/build/rn/SplashButton.js +1 -1
  94. package/build/rn/SplashButtonWithDetails.js +1 -1
  95. package/build/rn/StackView.js +1 -1
  96. package/build/rn/Status.js +1 -1
  97. package/build/rn/StepTracker.js +1 -1
  98. package/build/rn/StoryCard.js +1 -1
  99. package/build/rn/TabBar.js +1 -1
  100. package/build/rn/TabBarItem.js +1 -1
  101. package/build/rn/Table.js +5 -1
  102. package/build/rn/Tabs.js +1 -1
  103. package/build/rn/TabsItem.js +1 -1
  104. package/build/rn/Tags.js +1 -1
  105. package/build/rn/TagsItem.js +1 -1
  106. package/build/rn/TermsAndConditions.js +1 -1
  107. package/build/rn/Testimonial.js +1 -1
  108. package/build/rn/TextArea.js +1 -1
  109. package/build/rn/TextInput.js +1 -1
  110. package/build/rn/Timeline.js +1 -1
  111. package/build/rn/Toast.js +1 -1
  112. package/build/rn/ToggleSwitch.js +1 -1
  113. package/build/rn/ToggleSwitchGroup.js +1 -1
  114. package/build/rn/Tooltip.js +1 -1
  115. package/build/rn/TooltipButton.js +1 -1
  116. package/build/rn/Typography.js +1 -1
  117. package/build/rn/Video.js +1 -1
  118. package/build/rn/VideoButton.js +1 -1
  119. package/build/rn/VideoControlBar.js +1 -1
  120. package/build/rn/VideoMenu.js +1 -1
  121. package/build/rn/VideoMiddleControlButton.js +1 -1
  122. package/build/rn/VideoPicker.js +1 -1
  123. package/build/rn/VideoPickerSlider.js +1 -1
  124. package/build/rn/VideoPickerThumbnail.js +1 -1
  125. package/build/rn/VideoProgressBar.js +1 -1
  126. package/build/rn/VideoVolumeSlider.js +1 -1
  127. package/build/rn/WaffleGrid.js +1 -1
  128. package/build/rn/schema.json +965 -878
  129. package/build/rn/spacingScale.js +1 -1
  130. package/build/rn/theme.js +99 -69
  131. package/build/web/ActionCard.js +1 -1
  132. package/build/web/ActivityIndicator.js +1 -1
  133. package/build/web/Autocomplete.js +1 -1
  134. package/build/web/Badge.js +1 -1
  135. package/build/web/BlockQuote.js +1 -1
  136. package/build/web/Box.js +1 -1
  137. package/build/web/Breadcrumbs.js +1 -1
  138. package/build/web/Button.js +1 -1
  139. package/build/web/ButtonDropdown.js +1 -1
  140. package/build/web/ButtonGroup.js +1 -1
  141. package/build/web/ButtonGroupItem.js +1 -1
  142. package/build/web/Callout.js +1 -1
  143. package/build/web/Card.js +1 -1
  144. package/build/web/CardGroup.js +1 -1
  145. package/build/web/Carousel.js +1 -1
  146. package/build/web/CarouselTabsPanelItem.js +1 -1
  147. package/build/web/CarouselThumbnail.js +1 -1
  148. package/build/web/Checkbox.js +1 -1
  149. package/build/web/CheckboxCard.js +1 -1
  150. package/build/web/CheckboxCardGroup.js +1 -1
  151. package/build/web/CheckboxGroup.js +1 -1
  152. package/build/web/ChevronLink.js +1 -1
  153. package/build/web/ColourToggle.js +1 -1
  154. package/build/web/Countdown.js +1 -1
  155. package/build/web/DatePicker.js +1 -1
  156. package/build/web/Disclaimer.js +1 -1
  157. package/build/web/Divider.js +1 -1
  158. package/build/web/DownloadApp.js +1 -1
  159. package/build/web/ExpandCollapse.js +1 -1
  160. package/build/web/ExpandCollapseControl.js +1 -1
  161. package/build/web/ExpandCollapseMini.js +1 -1
  162. package/build/web/ExpandCollapseMiniControl.js +1 -1
  163. package/build/web/ExpandCollapsePanel.js +1 -1
  164. package/build/web/Feedback.js +1 -1
  165. package/build/web/Fieldset.js +1 -1
  166. package/build/web/FileUpload.js +1 -1
  167. package/build/web/Footnote.js +1 -1
  168. package/build/web/FootnoteLink.js +1 -1
  169. package/build/web/HorizontalScrollButton.js +1 -1
  170. package/build/web/Icon.js +1 -1
  171. package/build/web/IconButton.js +9 -2
  172. package/build/web/Image.js +1 -1
  173. package/build/web/InputLabel.js +1 -1
  174. package/build/web/InputSupports.js +1 -1
  175. package/build/web/Link.js +1 -1
  176. package/build/web/List.js +1 -1
  177. package/build/web/Listbox.js +80 -67
  178. package/build/web/Modal.js +1 -1
  179. package/build/web/MultiSelectFilter.js +1 -1
  180. package/build/web/NavigationBar.js +1 -1
  181. package/build/web/Notification.js +1 -1
  182. package/build/web/OrderedList.js +1 -1
  183. package/build/web/Pagination.js +1 -1
  184. package/build/web/PaginationPageButton.js +1 -1
  185. package/build/web/PaginationSideButton.js +1 -1
  186. package/build/web/PreviewCard.js +1 -1
  187. package/build/web/PriceLockup.js +1 -1
  188. package/build/web/ProductCard.js +1 -1
  189. package/build/web/Progress.js +1 -1
  190. package/build/web/ProgressBar.js +1 -1
  191. package/build/web/QuantitySelector.js +1 -1
  192. package/build/web/QuantitySelectorSideButton.js +1 -1
  193. package/build/web/QuickLinks.js +1 -1
  194. package/build/web/QuickLinksButton.js +1 -1
  195. package/build/web/QuickLinksCard.js +1 -1
  196. package/build/web/QuickLinksFeature.js +1 -1
  197. package/build/web/QuickLinksFeatureItem.js +1 -1
  198. package/build/web/QuickLinksList.js +1 -1
  199. package/build/web/Radio.js +1 -1
  200. package/build/web/RadioCard.js +1 -1
  201. package/build/web/RadioCardGroup.js +1 -1
  202. package/build/web/RadioGroup.js +1 -1
  203. package/build/web/Ribbon.js +1 -1
  204. package/build/web/Search.js +1 -1
  205. package/build/web/SearchButton.js +1 -1
  206. package/build/web/Select.js +1 -1
  207. package/build/web/SideNav.js +1 -1
  208. package/build/web/SideNavItem.js +1 -1
  209. package/build/web/SideNavItemsGroup.js +1 -1
  210. package/build/web/Skeleton.js +1 -1
  211. package/build/web/SkipLink.js +1 -1
  212. package/build/web/Spinner.js +1 -1
  213. package/build/web/SplashButton.js +1 -1
  214. package/build/web/SplashButtonWithDetails.js +1 -1
  215. package/build/web/StackView.js +1 -1
  216. package/build/web/Status.js +1 -1
  217. package/build/web/StepTracker.js +1 -1
  218. package/build/web/StoryCard.js +1 -1
  219. package/build/web/TabBar.js +1 -1
  220. package/build/web/TabBarItem.js +1 -1
  221. package/build/web/Table.js +5 -1
  222. package/build/web/Tabs.js +1 -1
  223. package/build/web/TabsItem.js +1 -1
  224. package/build/web/Tags.js +1 -1
  225. package/build/web/TagsItem.js +1 -1
  226. package/build/web/TermsAndConditions.js +1 -1
  227. package/build/web/Testimonial.js +1 -1
  228. package/build/web/TextArea.js +1 -1
  229. package/build/web/TextInput.js +1 -1
  230. package/build/web/Timeline.js +1 -1
  231. package/build/web/Toast.js +1 -1
  232. package/build/web/ToggleSwitch.js +1 -1
  233. package/build/web/ToggleSwitchGroup.js +1 -1
  234. package/build/web/Tooltip.js +1 -1
  235. package/build/web/TooltipButton.js +1 -1
  236. package/build/web/Typography.js +1 -1
  237. package/build/web/Video.js +1 -1
  238. package/build/web/VideoButton.js +1 -1
  239. package/build/web/VideoControlBar.js +1 -1
  240. package/build/web/VideoMenu.js +1 -1
  241. package/build/web/VideoMiddleControlButton.js +1 -1
  242. package/build/web/VideoPicker.js +1 -1
  243. package/build/web/VideoPickerSlider.js +1 -1
  244. package/build/web/VideoPickerThumbnail.js +1 -1
  245. package/build/web/VideoProgressBar.js +1 -1
  246. package/build/web/VideoVolumeSlider.js +1 -1
  247. package/build/web/WaffleGrid.js +1 -1
  248. package/build/web/index.js +1 -1
  249. package/build/web/schema.json +965 -878
  250. package/build/web/spacingScale.js +1 -1
  251. package/build/web/theme.js +99 -69
  252. package/package.json +4 -4
  253. package/theme.json +127 -74
@@ -11,7 +11,10 @@
11
11
  "moveRight",
12
12
  "moveUp",
13
13
  "play",
14
- "subtract"
14
+ "subtract",
15
+ "menu",
16
+ "cart",
17
+ "profile"
15
18
  ]
16
19
  },
17
20
  "compact": {
@@ -50,6 +53,30 @@
50
53
  }
51
54
  },
52
55
  "rules": [
56
+ {
57
+ "if": {
58
+ "action": "menu"
59
+ },
60
+ "tokens": {
61
+ "icon": "PaletteIconBurger"
62
+ }
63
+ },
64
+ {
65
+ "if": {
66
+ "action": "cart"
67
+ },
68
+ "tokens": {
69
+ "icon": "PaletteIconCart"
70
+ }
71
+ },
72
+ {
73
+ "if": {
74
+ "action": "profile"
75
+ },
76
+ "tokens": {
77
+ "icon": "PaletteIconUser"
78
+ }
79
+ },
53
80
  {
54
81
  "if": {
55
82
  "action": "add"
@@ -19,142 +19,197 @@
19
19
  "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.",
20
20
  "values": [true, false],
21
21
  "type": "state"
22
+ },
23
+ "style": {
24
+ "type": "variant",
25
+ "values": ["default", "lightest", "light"]
22
26
  }
23
27
  },
24
28
  "rules": [
25
29
  {
26
30
  "if": {
27
- "current": true,
28
- "isChild": false
31
+ "style": "default"
29
32
  },
30
33
  "tokens": {
31
- "groupBackgroundColor": {
32
- "red": 0.95294,
33
- "green": 0.61569,
34
- "blue": 0.50196,
35
- "alpha": 1
36
- },
37
- "groupColor": {
38
- "red": 0.22353,
39
- "green": 0.25098,
40
- "blue": 0.33725,
41
- "alpha": 1
42
- },
43
- "itemBackgroundColor": {
44
- "red": 0.95294,
45
- "green": 0.61569,
46
- "blue": 0.50196,
34
+ "containerBackgroundColor": {
35
+ "red": 0,
36
+ "green": 0,
37
+ "blue": 0,
38
+ "alpha": 0
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "if": {
44
+ "style": "lightest"
45
+ },
46
+ "tokens": {
47
+ "containerBackgroundColor": {
48
+ "red": 0.99608,
49
+ "green": 0.99608,
50
+ "blue": 0.98824,
47
51
  "alpha": 1
48
- },
49
- "itemColor": {
50
- "red": 0.22353,
51
- "green": 0.25098,
52
- "blue": 0.33725,
52
+ }
53
+ }
54
+ },
55
+ {
56
+ "if": {
57
+ "style": "light"
58
+ },
59
+ "tokens": {
60
+ "containerBackgroundColor": {
61
+ "red": 0.99216,
62
+ "green": 0.98824,
63
+ "blue": 0.96471,
53
64
  "alpha": 1
54
65
  }
55
66
  }
56
67
  },
57
68
  {
58
69
  "if": {
59
- "current": true,
60
- "isChild": true
70
+ "pressed": true
61
71
  },
62
72
  "tokens": {
63
- "itemBackgroundColor": {
64
- "red": 0,
65
- "green": 0,
66
- "blue": 0,
67
- "alpha": 0
68
- },
69
- "itemBorderBottomWidth": 0,
70
- "itemBorderLeftColor": {
71
- "red": 0.95294,
72
- "green": 0.61569,
73
- "blue": 0.50196,
73
+ "groupBackgroundColor": {
74
+ "red": 0.97647,
75
+ "green": 0.80784,
76
+ "blue": 0.74902,
74
77
  "alpha": 1
75
78
  },
76
- "itemBorderLeftWidth": 4,
77
- "itemBorderTopWidth": 0
79
+ "itemBackgroundColor": {
80
+ "red": 0.97647,
81
+ "green": 0.80784,
82
+ "blue": 0.74902,
83
+ "alpha": 1
84
+ }
78
85
  }
79
86
  },
80
87
  {
81
88
  "if": {
82
- "current": true,
83
- "pressed": true
89
+ "current": true
84
90
  },
85
91
  "tokens": {
86
92
  "groupBackgroundColor": {
87
- "red": 0.38824,
88
- "green": 0.42353,
89
- "blue": 0.54902,
93
+ "red": 0.96471,
94
+ "green": 0.7098,
95
+ "blue": 0.62745,
90
96
  "alpha": 1
91
97
  },
92
98
  "groupColor": {
93
- "red": 0.97647,
94
- "green": 0.94902,
95
- "blue": 0.86667,
99
+ "red": 0.16863,
100
+ "green": 0.19216,
101
+ "blue": 0.27059,
96
102
  "alpha": 1
97
103
  },
98
104
  "itemBackgroundColor": {
99
- "red": 0.38824,
100
- "green": 0.42353,
101
- "blue": 0.54902,
105
+ "red": 0.96471,
106
+ "green": 0.7098,
107
+ "blue": 0.62745,
102
108
  "alpha": 1
103
109
  },
104
- "itemBorderLeftWidth": 4,
105
110
  "itemColor": {
106
- "red": 0.97647,
107
- "green": 0.94902,
108
- "blue": 0.86667,
111
+ "red": 0.16863,
112
+ "green": 0.19216,
113
+ "blue": 0.27059,
109
114
  "alpha": 1
110
115
  }
111
116
  }
112
117
  },
113
118
  {
114
119
  "if": {
115
- "current": false,
116
- "isChild": true
120
+ "expanded": true
117
121
  },
118
122
  "tokens": {
119
- "itemBorderBottomWidth": 0,
120
- "itemBorderLeftColor": {
121
- "red": 0.38824,
122
- "green": 0.42353,
123
- "blue": 0.54902,
123
+ "groupBackgroundColor": {
124
+ "red": 0.96471,
125
+ "green": 0.7098,
126
+ "blue": 0.62745,
127
+ "alpha": 1
128
+ },
129
+ "groupColor": {
130
+ "red": 0.16863,
131
+ "green": 0.19216,
132
+ "blue": 0.27059,
124
133
  "alpha": 1
125
134
  },
126
- "itemBorderLeftWidth": 4,
127
- "itemBorderTopWidth": 0
135
+ "groupIcon": "PaletteIconChevronUp"
128
136
  }
129
137
  },
130
138
  {
131
139
  "if": {
132
- "expanded": true
140
+ "current": true,
141
+ "pressed": true
133
142
  },
134
143
  "tokens": {
135
- "groupIcon": "PaletteIconChevronUp"
144
+ "itemBackgroundColor": {
145
+ "red": 0.97647,
146
+ "green": 0.80784,
147
+ "blue": 0.74902,
148
+ "alpha": 1
149
+ }
150
+ }
151
+ },
152
+ {
153
+ "if": {
154
+ "expanded": true,
155
+ "pressed": true
156
+ },
157
+ "tokens": {
158
+ "groupBackgroundColor": {
159
+ "red": 0.97647,
160
+ "green": 0.80784,
161
+ "blue": 0.74902,
162
+ "alpha": 1
163
+ }
136
164
  }
137
165
  }
138
166
  ],
139
167
  "tokens": {
168
+ "containerBackgroundColor": {
169
+ "red": 0,
170
+ "green": 0,
171
+ "blue": 0,
172
+ "alpha": 0
173
+ },
140
174
  "groupBackgroundColor": {
141
175
  "red": 0,
142
176
  "green": 0,
143
177
  "blue": 0,
144
178
  "alpha": 0
145
179
  },
146
- "groupBorderColor": {
180
+ "groupBorderBottomColor": {
147
181
  "red": 0,
148
182
  "green": 0,
149
183
  "blue": 0,
150
184
  "alpha": 0
151
185
  },
186
+ "groupBorderBottomWidth": 0,
187
+ "groupBorderLeftColor": {
188
+ "red": 0,
189
+ "green": 0,
190
+ "blue": 0,
191
+ "alpha": 0
192
+ },
193
+ "groupBorderLeftWidth": 4,
152
194
  "groupBorderRadius": 0,
153
- "groupBorderWidth": 1,
195
+ "groupBorderRightColor": {
196
+ "red": 0,
197
+ "green": 0,
198
+ "blue": 0,
199
+ "alpha": 0
200
+ },
201
+ "groupBorderRightWidth": 0,
202
+ "groupBorderTopColor": {
203
+ "red": 0,
204
+ "green": 0,
205
+ "blue": 0,
206
+ "alpha": 0
207
+ },
208
+ "groupBorderTopWidth": 0,
154
209
  "groupColor": {
155
- "red": 0.38824,
156
- "green": 0.42353,
157
- "blue": 0.54902,
210
+ "red": 0.22353,
211
+ "green": 0.25098,
212
+ "blue": 0.33725,
158
213
  "alpha": 1
159
214
  },
160
215
  "groupFontName": "SofiaPro",
@@ -203,9 +258,9 @@
203
258
  "itemBorderTopWidth": 1,
204
259
  "itemBorderWidth": 1,
205
260
  "itemColor": {
206
- "red": 0.38824,
207
- "green": 0.42353,
208
- "blue": 0.54902,
261
+ "red": 0.22353,
262
+ "green": 0.25098,
263
+ "blue": 0.33725,
209
264
  "alpha": 1
210
265
  },
211
266
  "itemDisplay": false,
@@ -160,6 +160,8 @@
160
160
  },
161
161
  "cellBorderTopWidth": 0,
162
162
  "cellBorderWidth": 0,
163
+ "cellBottomLeftBorderRadius": 0,
164
+ "cellBottomRightBorderRadius": 0,
163
165
  "cellBoxShadowColor": {
164
166
  "red": 0.80392,
165
167
  "green": 0.81176,
@@ -184,6 +186,8 @@
184
186
  "alpha": 0.1
185
187
  }
186
188
  },
189
+ "cellTopLeftBorderRadius": 0,
190
+ "cellTopRightBorderRadius": 0,
187
191
  "display": null,
188
192
  "fontColor": {
189
193
  "red": 0.22353,