@telus-uds/theme-public-mobile 2.21.0 → 2.22.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 (243) hide show
  1. package/build/android/Card.json +161 -0
  2. package/build/android/CardGroup.json +52 -0
  3. package/build/android/QuickLinksFeature.json +17 -2
  4. package/build/android/QuickLinksFeatureItem.json +1 -1
  5. package/build/android/Radio.json +13 -0
  6. package/build/android/schema.json +934 -702
  7. package/build/android/theme.json +245 -4
  8. package/build/ios/Card.json +161 -0
  9. package/build/ios/CardGroup.json +52 -0
  10. package/build/ios/QuickLinksFeature.json +17 -2
  11. package/build/ios/QuickLinksFeatureItem.json +1 -1
  12. package/build/ios/Radio.json +13 -0
  13. package/build/ios/schema.json +934 -702
  14. package/build/ios/theme.json +245 -4
  15. package/build/rn/ActivityIndicator.js +1 -1
  16. package/build/rn/Badge.js +1 -1
  17. package/build/rn/BlockQuote.js +1 -1
  18. package/build/rn/Box.js +1 -1
  19. package/build/rn/Breadcrumbs.js +1 -1
  20. package/build/rn/Button.js +1 -1
  21. package/build/rn/ButtonDropdown.js +1 -1
  22. package/build/rn/ButtonGroup.js +1 -1
  23. package/build/rn/ButtonGroupItem.js +1 -1
  24. package/build/rn/Callout.js +1 -1
  25. package/build/rn/Card.js +85 -3
  26. package/build/rn/CardGroup.js +62 -0
  27. package/build/rn/Carousel.js +1 -1
  28. package/build/rn/CarouselTabsPanelItem.js +1 -1
  29. package/build/rn/CarouselThumbnail.js +1 -1
  30. package/build/rn/Checkbox.js +1 -1
  31. package/build/rn/CheckboxCard.js +1 -1
  32. package/build/rn/CheckboxCardGroup.js +1 -1
  33. package/build/rn/CheckboxGroup.js +1 -1
  34. package/build/rn/ChevronLink.js +1 -1
  35. package/build/rn/ColourToggle.js +1 -1
  36. package/build/rn/Countdown.js +1 -1
  37. package/build/rn/DatePicker.js +1 -1
  38. package/build/rn/Disclaimer.js +1 -1
  39. package/build/rn/Divider.js +1 -1
  40. package/build/rn/ExpandCollapse.js +1 -1
  41. package/build/rn/ExpandCollapseControl.js +1 -1
  42. package/build/rn/ExpandCollapseMini.js +1 -1
  43. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  44. package/build/rn/ExpandCollapsePanel.js +1 -1
  45. package/build/rn/Feedback.js +1 -1
  46. package/build/rn/Fieldset.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 +1 -1
  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 +1 -1
  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 +9 -3
  77. package/build/rn/QuickLinksFeatureItem.js +2 -2
  78. package/build/rn/QuickLinksList.js +1 -1
  79. package/build/rn/Radio.js +4 -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/StepTracker.js +1 -1
  97. package/build/rn/StoryCard.js +1 -1
  98. package/build/rn/Table.js +1 -1
  99. package/build/rn/Tabs.js +1 -1
  100. package/build/rn/TabsItem.js +1 -1
  101. package/build/rn/Tags.js +1 -1
  102. package/build/rn/TagsItem.js +1 -1
  103. package/build/rn/TermsAndConditions.js +1 -1
  104. package/build/rn/Testimonial.js +1 -1
  105. package/build/rn/TextArea.js +1 -1
  106. package/build/rn/TextInput.js +1 -1
  107. package/build/rn/Timeline.js +1 -1
  108. package/build/rn/Toast.js +1 -1
  109. package/build/rn/ToggleSwitch.js +1 -1
  110. package/build/rn/ToggleSwitchGroup.js +1 -1
  111. package/build/rn/Tooltip.js +1 -1
  112. package/build/rn/TooltipButton.js +1 -1
  113. package/build/rn/Typography.js +1 -1
  114. package/build/rn/Video.js +1 -1
  115. package/build/rn/VideoButton.js +1 -1
  116. package/build/rn/VideoControlBar.js +1 -1
  117. package/build/rn/VideoMenu.js +1 -1
  118. package/build/rn/VideoMiddleControlButton.js +1 -1
  119. package/build/rn/VideoPicker.js +1 -1
  120. package/build/rn/VideoPickerSlider.js +1 -1
  121. package/build/rn/VideoPickerThumbnail.js +1 -1
  122. package/build/rn/VideoProgressBar.js +1 -1
  123. package/build/rn/VideoVolumeSlider.js +1 -1
  124. package/build/rn/WaffleGrid.js +1 -1
  125. package/build/rn/schema.json +934 -702
  126. package/build/rn/spacingScale.js +1 -1
  127. package/build/rn/theme.js +151 -7
  128. package/build/web/ActivityIndicator.js +1 -1
  129. package/build/web/Badge.js +1 -1
  130. package/build/web/BlockQuote.js +1 -1
  131. package/build/web/Box.js +1 -1
  132. package/build/web/Breadcrumbs.js +1 -1
  133. package/build/web/Button.js +1 -1
  134. package/build/web/ButtonDropdown.js +1 -1
  135. package/build/web/ButtonGroup.js +1 -1
  136. package/build/web/ButtonGroupItem.js +1 -1
  137. package/build/web/Callout.js +1 -1
  138. package/build/web/Card.js +85 -3
  139. package/build/web/CardGroup.js +62 -0
  140. package/build/web/Carousel.js +1 -1
  141. package/build/web/CarouselTabsPanelItem.js +1 -1
  142. package/build/web/CarouselThumbnail.js +1 -1
  143. package/build/web/Checkbox.js +1 -1
  144. package/build/web/CheckboxCard.js +1 -1
  145. package/build/web/CheckboxCardGroup.js +1 -1
  146. package/build/web/CheckboxGroup.js +1 -1
  147. package/build/web/ChevronLink.js +1 -1
  148. package/build/web/ColourToggle.js +1 -1
  149. package/build/web/Countdown.js +1 -1
  150. package/build/web/DatePicker.js +1 -1
  151. package/build/web/Disclaimer.js +1 -1
  152. package/build/web/Divider.js +1 -1
  153. package/build/web/ExpandCollapse.js +1 -1
  154. package/build/web/ExpandCollapseControl.js +1 -1
  155. package/build/web/ExpandCollapseMini.js +1 -1
  156. package/build/web/ExpandCollapseMiniControl.js +1 -1
  157. package/build/web/ExpandCollapsePanel.js +1 -1
  158. package/build/web/Feedback.js +1 -1
  159. package/build/web/Fieldset.js +1 -1
  160. package/build/web/Footnote.js +1 -1
  161. package/build/web/FootnoteLink.js +1 -1
  162. package/build/web/HorizontalScrollButton.js +1 -1
  163. package/build/web/Icon.js +1 -1
  164. package/build/web/IconButton.js +1 -1
  165. package/build/web/Image.js +1 -1
  166. package/build/web/InputLabel.js +1 -1
  167. package/build/web/InputSupports.js +1 -1
  168. package/build/web/Link.js +1 -1
  169. package/build/web/List.js +1 -1
  170. package/build/web/Listbox.js +1 -1
  171. package/build/web/Modal.js +1 -1
  172. package/build/web/MultiSelectFilter.js +1 -1
  173. package/build/web/NavigationBar.js +1 -1
  174. package/build/web/Notification.js +1 -1
  175. package/build/web/OrderedList.js +1 -1
  176. package/build/web/Pagination.js +1 -1
  177. package/build/web/PaginationPageButton.js +1 -1
  178. package/build/web/PaginationSideButton.js +1 -1
  179. package/build/web/PreviewCard.js +1 -1
  180. package/build/web/PriceLockup.js +1 -1
  181. package/build/web/ProductCard.js +1 -1
  182. package/build/web/Progress.js +1 -1
  183. package/build/web/ProgressBar.js +1 -1
  184. package/build/web/QuantitySelector.js +1 -1
  185. package/build/web/QuantitySelectorSideButton.js +1 -1
  186. package/build/web/QuickLinks.js +1 -1
  187. package/build/web/QuickLinksButton.js +1 -1
  188. package/build/web/QuickLinksCard.js +1 -1
  189. package/build/web/QuickLinksFeature.js +9 -3
  190. package/build/web/QuickLinksFeatureItem.js +2 -2
  191. package/build/web/QuickLinksList.js +1 -1
  192. package/build/web/Radio.js +4 -1
  193. package/build/web/RadioCard.js +1 -1
  194. package/build/web/RadioCardGroup.js +1 -1
  195. package/build/web/RadioGroup.js +1 -1
  196. package/build/web/Ribbon.js +1 -1
  197. package/build/web/Search.js +1 -1
  198. package/build/web/SearchButton.js +1 -1
  199. package/build/web/Select.js +1 -1
  200. package/build/web/SideNav.js +1 -1
  201. package/build/web/SideNavItem.js +1 -1
  202. package/build/web/SideNavItemsGroup.js +1 -1
  203. package/build/web/Skeleton.js +1 -1
  204. package/build/web/SkipLink.js +1 -1
  205. package/build/web/Spinner.js +1 -1
  206. package/build/web/SplashButton.js +1 -1
  207. package/build/web/SplashButtonWithDetails.js +1 -1
  208. package/build/web/StackView.js +1 -1
  209. package/build/web/StepTracker.js +1 -1
  210. package/build/web/StoryCard.js +1 -1
  211. package/build/web/Table.js +1 -1
  212. package/build/web/Tabs.js +1 -1
  213. package/build/web/TabsItem.js +1 -1
  214. package/build/web/Tags.js +1 -1
  215. package/build/web/TagsItem.js +1 -1
  216. package/build/web/TermsAndConditions.js +1 -1
  217. package/build/web/Testimonial.js +1 -1
  218. package/build/web/TextArea.js +1 -1
  219. package/build/web/TextInput.js +1 -1
  220. package/build/web/Timeline.js +1 -1
  221. package/build/web/Toast.js +1 -1
  222. package/build/web/ToggleSwitch.js +1 -1
  223. package/build/web/ToggleSwitchGroup.js +1 -1
  224. package/build/web/Tooltip.js +1 -1
  225. package/build/web/TooltipButton.js +1 -1
  226. package/build/web/Typography.js +1 -1
  227. package/build/web/Video.js +1 -1
  228. package/build/web/VideoButton.js +1 -1
  229. package/build/web/VideoControlBar.js +1 -1
  230. package/build/web/VideoMenu.js +1 -1
  231. package/build/web/VideoMiddleControlButton.js +1 -1
  232. package/build/web/VideoPicker.js +1 -1
  233. package/build/web/VideoPickerSlider.js +1 -1
  234. package/build/web/VideoPickerThumbnail.js +1 -1
  235. package/build/web/VideoProgressBar.js +1 -1
  236. package/build/web/VideoVolumeSlider.js +1 -1
  237. package/build/web/WaffleGrid.js +1 -1
  238. package/build/web/index.js +2 -1
  239. package/build/web/schema.json +934 -702
  240. package/build/web/spacingScale.js +1 -1
  241. package/build/web/theme.js +151 -7
  242. package/package.json +4 -4
  243. package/theme.json +159 -3
@@ -1904,6 +1904,10 @@
1904
1904
  "type": "variant",
1905
1905
  "values": [true]
1906
1906
  },
1907
+ "isControl": {
1908
+ "type": "variant",
1909
+ "values": [true, false]
1910
+ },
1907
1911
  "padding": {
1908
1912
  "type": "variant",
1909
1913
  "values": ["narrow", "intermediate", "compact", "custom"]
@@ -1913,6 +1917,11 @@
1913
1917
  "values": [true, false],
1914
1918
  "type": "state"
1915
1919
  },
1920
+ "selected": {
1921
+ "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`.",
1922
+ "values": [true],
1923
+ "type": "state"
1924
+ },
1916
1925
  "viewport": {
1917
1926
  "description": "The size label for the current screen viewport based on the current screen width",
1918
1927
  "values": ["xs", "sm", "md", "lg", "xl"],
@@ -1920,6 +1929,77 @@
1920
1929
  }
1921
1930
  },
1922
1931
  "rules": [
1932
+ {
1933
+ "if": {
1934
+ "interactive": true,
1935
+ "isControl": true
1936
+ },
1937
+ "tokens": {
1938
+ "borderColor": {
1939
+ "red": 0.80392,
1940
+ "green": 0.81176,
1941
+ "blue": 0.83529,
1942
+ "alpha": 1
1943
+ },
1944
+ "borderWidth": 1
1945
+ }
1946
+ },
1947
+ {
1948
+ "if": {
1949
+ "interactive": true,
1950
+ "isControl": true,
1951
+ "selected": true
1952
+ },
1953
+ "tokens": {
1954
+ "backgroundColor": {
1955
+ "red": 0.96078,
1956
+ "green": 0.96078,
1957
+ "blue": 0.96863,
1958
+ "alpha": 1
1959
+ },
1960
+ "borderColor": {
1961
+ "red": 0.22353,
1962
+ "green": 0.25098,
1963
+ "blue": 0.33725,
1964
+ "alpha": 1
1965
+ },
1966
+ "borderWidth": 1,
1967
+ "iconBackgroundColor": {
1968
+ "red": 0.80392,
1969
+ "green": 0.81176,
1970
+ "blue": 0.83529,
1971
+ "alpha": 1
1972
+ },
1973
+ "iconColor": {
1974
+ "red": 0.22353,
1975
+ "green": 0.25098,
1976
+ "blue": 0.33725,
1977
+ "alpha": 1
1978
+ },
1979
+ "inputBackgroundColor": {
1980
+ "red": 0.80392,
1981
+ "green": 0.81176,
1982
+ "blue": 0.83529,
1983
+ "alpha": 1
1984
+ }
1985
+ }
1986
+ },
1987
+ {
1988
+ "if": {
1989
+ "interactive": true,
1990
+ "isControl": true,
1991
+ "pressed": false
1992
+ },
1993
+ "tokens": {
1994
+ "borderColor": {
1995
+ "red": 0,
1996
+ "green": 0,
1997
+ "blue": 0,
1998
+ "alpha": 0
1999
+ },
2000
+ "borderWidth": 2
2001
+ }
2002
+ },
1923
2003
  {
1924
2004
  "if": {
1925
2005
  "borderRadius": "none"
@@ -2116,6 +2196,7 @@
2116
2196
  {
2117
2197
  "if": {
2118
2198
  "interactive": true,
2199
+ "isControl": false,
2119
2200
  "pressed": false
2120
2201
  },
2121
2202
  "tokens": {
@@ -2128,6 +2209,21 @@
2128
2209
  "borderWidth": 2
2129
2210
  }
2130
2211
  },
2212
+ {
2213
+ "if": {
2214
+ "interactive": true,
2215
+ "pressed": false
2216
+ },
2217
+ "tokens": {
2218
+ "borderColor": {
2219
+ "red": 0,
2220
+ "green": 0,
2221
+ "blue": 0,
2222
+ "alpha": 0
2223
+ },
2224
+ "borderWidth": 2
2225
+ }
2226
+ },
2131
2227
  {
2132
2228
  "if": {
2133
2229
  "interactive": true,
@@ -2148,6 +2244,28 @@
2148
2244
  },
2149
2245
  "borderWidth": 2
2150
2246
  }
2247
+ },
2248
+ {
2249
+ "if": {
2250
+ "interactive": true,
2251
+ "isControl": false,
2252
+ "selected": true
2253
+ },
2254
+ "tokens": {
2255
+ "backgroundColor": {
2256
+ "red": 0.96078,
2257
+ "green": 0.96078,
2258
+ "blue": 0.96863,
2259
+ "alpha": 1
2260
+ },
2261
+ "borderColor": {
2262
+ "red": 0.22353,
2263
+ "green": 0.25098,
2264
+ "blue": 0.33725,
2265
+ "alpha": 1
2266
+ },
2267
+ "borderWidth": 1
2268
+ }
2151
2269
  }
2152
2270
  ],
2153
2271
  "tokens": {
@@ -2171,6 +2289,49 @@
2171
2289
  "contentJustifyContent": "flex-start",
2172
2290
  "flex": 1,
2173
2291
  "gradient": null,
2292
+ "icon": "PaletteIconMobileCheckmark",
2293
+ "iconBackgroundColor": {
2294
+ "red": 0.96078,
2295
+ "green": 0.96078,
2296
+ "blue": 0.96863,
2297
+ "alpha": 1
2298
+ },
2299
+ "iconColor": {
2300
+ "red": 0.22353,
2301
+ "green": 0.25098,
2302
+ "blue": 0.33725,
2303
+ "alpha": 1
2304
+ },
2305
+ "iconSize": 20,
2306
+ "inputBackgroundColor": {
2307
+ "red": 0.96078,
2308
+ "green": 0.96078,
2309
+ "blue": 0.96863,
2310
+ "alpha": 1
2311
+ },
2312
+ "inputBorderColor": {
2313
+ "red": 0,
2314
+ "green": 0,
2315
+ "blue": 0,
2316
+ "alpha": 0
2317
+ },
2318
+ "inputBorderRadius": 4,
2319
+ "inputBorderWidth": 0,
2320
+ "inputHeight": 32,
2321
+ "inputShadow": {
2322
+ "inset": true,
2323
+ "offsetX": 0,
2324
+ "offsetY": 2,
2325
+ "blur": 2,
2326
+ "spread": 0,
2327
+ "color": {
2328
+ "red": 0,
2329
+ "green": 0,
2330
+ "blue": 0,
2331
+ "alpha": 0.1
2332
+ }
2333
+ },
2334
+ "inputWidth": 32,
2174
2335
  "minWidth": null,
2175
2336
  "paddingBottom": 32,
2176
2337
  "paddingLeft": 24,
@@ -2179,6 +2340,58 @@
2179
2340
  "shadow": null
2180
2341
  }
2181
2342
  },
2343
+ "CardGroup": {
2344
+ "appearances": {
2345
+ "pressed": {
2346
+ "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.",
2347
+ "values": [true, false],
2348
+ "type": "state"
2349
+ },
2350
+ "selected": {
2351
+ "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`.",
2352
+ "values": [true],
2353
+ "type": "state"
2354
+ },
2355
+ "viewport": {
2356
+ "description": "The size label for the current screen viewport based on the current screen width",
2357
+ "values": ["xs", "sm", "md", "lg", "xl"],
2358
+ "type": "state"
2359
+ }
2360
+ },
2361
+ "rules": [
2362
+ {
2363
+ "if": {
2364
+ "viewport": ["lg", "xl"]
2365
+ },
2366
+ "tokens": {
2367
+ "direction": "row",
2368
+ "space": 5
2369
+ }
2370
+ },
2371
+ {
2372
+ "if": {
2373
+ "viewport": ["xs", "sm", "md"]
2374
+ },
2375
+ "tokens": {
2376
+ "direction": "column",
2377
+ "fieldSpace": 3,
2378
+ "space": 3
2379
+ }
2380
+ }
2381
+ ],
2382
+ "tokens": {
2383
+ "borderBottomLeftRadius": 1,
2384
+ "borderBottomRightRadius": 1,
2385
+ "borderTopLeftRadius": 1,
2386
+ "borderTopRightRadius": 1,
2387
+ "direction": "column",
2388
+ "fieldSpace": 3,
2389
+ "outlineOffset": 8,
2390
+ "outlineWidth": 1,
2391
+ "showIcon": true,
2392
+ "space": 3
2393
+ }
2394
+ },
2182
2395
  "Carousel": {
2183
2396
  "appearances": {
2184
2397
  "viewport": {
@@ -7681,8 +7894,23 @@
7681
7894
  }
7682
7895
  },
7683
7896
  "QuickLinksFeature": {
7684
- "appearances": {},
7685
- "rules": [],
7897
+ "appearances": {
7898
+ "viewport": {
7899
+ "description": "The size label for the current screen viewport based on the current screen width",
7900
+ "values": ["xs", "sm", "md", "lg", "xl"],
7901
+ "type": "state"
7902
+ }
7903
+ },
7904
+ "rules": [
7905
+ {
7906
+ "if": {
7907
+ "viewport": "xs"
7908
+ },
7909
+ "tokens": {
7910
+ "stackSpace": 4
7911
+ }
7912
+ }
7913
+ ],
7686
7914
  "tokens": {
7687
7915
  "stackGap": 5,
7688
7916
  "stackJustify": "center",
@@ -7747,7 +7975,7 @@
7747
7975
  "fontName": "SofiaPro",
7748
7976
  "fontSize": 18,
7749
7977
  "fontWeight": 700,
7750
- "gap": 32,
7978
+ "gap": 5,
7751
7979
  "imageDimension": 140,
7752
7980
  "outerBorderColor": {
7753
7981
  "red": 0,
@@ -7942,6 +8170,19 @@
7942
8170
  "descriptionFontWeight": 400,
7943
8171
  "descriptionLineHeight": 1.5,
7944
8172
  "descriptionMarginLeft": null,
8173
+ "icon": null,
8174
+ "iconBackgroundColor": {
8175
+ "red": 0,
8176
+ "green": 0,
8177
+ "blue": 0,
8178
+ "alpha": 0
8179
+ },
8180
+ "iconColor": {
8181
+ "red": 0,
8182
+ "green": 0,
8183
+ "blue": 0,
8184
+ "alpha": 0
8185
+ },
7945
8186
  "inputBackgroundColor": {
7946
8187
  "red": 1,
7947
8188
  "green": 1,
@@ -12092,7 +12333,7 @@
12092
12333
  }
12093
12334
  },
12094
12335
  "metadata": {
12095
- "themeTokensVersion": "2.55.0",
12336
+ "themeTokensVersion": "2.56.0",
12096
12337
  "name": "theme-public-mobile"
12097
12338
  }
12098
12339
  }
@@ -12,6 +12,10 @@
12
12
  "type": "variant",
13
13
  "values": [true]
14
14
  },
15
+ "isControl": {
16
+ "type": "variant",
17
+ "values": [true, false]
18
+ },
15
19
  "padding": {
16
20
  "type": "variant",
17
21
  "values": ["narrow", "intermediate", "compact", "custom"]
@@ -21,6 +25,11 @@
21
25
  "values": [true, false],
22
26
  "type": "state"
23
27
  },
28
+ "selected": {
29
+ "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`.",
30
+ "values": [true],
31
+ "type": "state"
32
+ },
24
33
  "viewport": {
25
34
  "description": "The size label for the current screen viewport based on the current screen width",
26
35
  "values": ["xs", "sm", "md", "lg", "xl"],
@@ -28,6 +37,77 @@
28
37
  }
29
38
  },
30
39
  "rules": [
40
+ {
41
+ "if": {
42
+ "interactive": true,
43
+ "isControl": true
44
+ },
45
+ "tokens": {
46
+ "borderColor": {
47
+ "red": 0.80392,
48
+ "green": 0.81176,
49
+ "blue": 0.83529,
50
+ "alpha": 1
51
+ },
52
+ "borderWidth": 1
53
+ }
54
+ },
55
+ {
56
+ "if": {
57
+ "interactive": true,
58
+ "isControl": true,
59
+ "selected": true
60
+ },
61
+ "tokens": {
62
+ "backgroundColor": {
63
+ "red": 0.96078,
64
+ "green": 0.96078,
65
+ "blue": 0.96863,
66
+ "alpha": 1
67
+ },
68
+ "borderColor": {
69
+ "red": 0.22353,
70
+ "green": 0.25098,
71
+ "blue": 0.33725,
72
+ "alpha": 1
73
+ },
74
+ "borderWidth": 1,
75
+ "iconBackgroundColor": {
76
+ "red": 0.80392,
77
+ "green": 0.81176,
78
+ "blue": 0.83529,
79
+ "alpha": 1
80
+ },
81
+ "iconColor": {
82
+ "red": 0.22353,
83
+ "green": 0.25098,
84
+ "blue": 0.33725,
85
+ "alpha": 1
86
+ },
87
+ "inputBackgroundColor": {
88
+ "red": 0.80392,
89
+ "green": 0.81176,
90
+ "blue": 0.83529,
91
+ "alpha": 1
92
+ }
93
+ }
94
+ },
95
+ {
96
+ "if": {
97
+ "interactive": true,
98
+ "isControl": true,
99
+ "pressed": false
100
+ },
101
+ "tokens": {
102
+ "borderColor": {
103
+ "red": 0,
104
+ "green": 0,
105
+ "blue": 0,
106
+ "alpha": 0
107
+ },
108
+ "borderWidth": 2
109
+ }
110
+ },
31
111
  {
32
112
  "if": {
33
113
  "borderRadius": "none"
@@ -224,6 +304,7 @@
224
304
  {
225
305
  "if": {
226
306
  "interactive": true,
307
+ "isControl": false,
227
308
  "pressed": false
228
309
  },
229
310
  "tokens": {
@@ -236,6 +317,21 @@
236
317
  "borderWidth": 2
237
318
  }
238
319
  },
320
+ {
321
+ "if": {
322
+ "interactive": true,
323
+ "pressed": false
324
+ },
325
+ "tokens": {
326
+ "borderColor": {
327
+ "red": 0,
328
+ "green": 0,
329
+ "blue": 0,
330
+ "alpha": 0
331
+ },
332
+ "borderWidth": 2
333
+ }
334
+ },
239
335
  {
240
336
  "if": {
241
337
  "interactive": true,
@@ -256,6 +352,28 @@
256
352
  },
257
353
  "borderWidth": 2
258
354
  }
355
+ },
356
+ {
357
+ "if": {
358
+ "interactive": true,
359
+ "isControl": false,
360
+ "selected": true
361
+ },
362
+ "tokens": {
363
+ "backgroundColor": {
364
+ "red": 0.96078,
365
+ "green": 0.96078,
366
+ "blue": 0.96863,
367
+ "alpha": 1
368
+ },
369
+ "borderColor": {
370
+ "red": 0.22353,
371
+ "green": 0.25098,
372
+ "blue": 0.33725,
373
+ "alpha": 1
374
+ },
375
+ "borderWidth": 1
376
+ }
259
377
  }
260
378
  ],
261
379
  "tokens": {
@@ -279,6 +397,49 @@
279
397
  "contentJustifyContent": "flex-start",
280
398
  "flex": 1,
281
399
  "gradient": null,
400
+ "icon": "PaletteIconMobileCheckmark",
401
+ "iconBackgroundColor": {
402
+ "red": 0.96078,
403
+ "green": 0.96078,
404
+ "blue": 0.96863,
405
+ "alpha": 1
406
+ },
407
+ "iconColor": {
408
+ "red": 0.22353,
409
+ "green": 0.25098,
410
+ "blue": 0.33725,
411
+ "alpha": 1
412
+ },
413
+ "iconSize": 20,
414
+ "inputBackgroundColor": {
415
+ "red": 0.96078,
416
+ "green": 0.96078,
417
+ "blue": 0.96863,
418
+ "alpha": 1
419
+ },
420
+ "inputBorderColor": {
421
+ "red": 0,
422
+ "green": 0,
423
+ "blue": 0,
424
+ "alpha": 0
425
+ },
426
+ "inputBorderRadius": 4,
427
+ "inputBorderWidth": 0,
428
+ "inputHeight": 32,
429
+ "inputShadow": {
430
+ "inset": true,
431
+ "offsetX": 0,
432
+ "offsetY": 2,
433
+ "blur": 2,
434
+ "spread": 0,
435
+ "color": {
436
+ "red": 0,
437
+ "green": 0,
438
+ "blue": 0,
439
+ "alpha": 0.1
440
+ }
441
+ },
442
+ "inputWidth": 32,
282
443
  "minWidth": null,
283
444
  "paddingBottom": 32,
284
445
  "paddingLeft": 24,
@@ -0,0 +1,52 @@
1
+ {
2
+ "appearances": {
3
+ "pressed": {
4
+ "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.",
5
+ "values": [true, false],
6
+ "type": "state"
7
+ },
8
+ "selected": {
9
+ "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`.",
10
+ "values": [true],
11
+ "type": "state"
12
+ },
13
+ "viewport": {
14
+ "description": "The size label for the current screen viewport based on the current screen width",
15
+ "values": ["xs", "sm", "md", "lg", "xl"],
16
+ "type": "state"
17
+ }
18
+ },
19
+ "rules": [
20
+ {
21
+ "if": {
22
+ "viewport": ["lg", "xl"]
23
+ },
24
+ "tokens": {
25
+ "direction": "row",
26
+ "space": 5
27
+ }
28
+ },
29
+ {
30
+ "if": {
31
+ "viewport": ["xs", "sm", "md"]
32
+ },
33
+ "tokens": {
34
+ "direction": "column",
35
+ "fieldSpace": 3,
36
+ "space": 3
37
+ }
38
+ }
39
+ ],
40
+ "tokens": {
41
+ "borderBottomLeftRadius": 1,
42
+ "borderBottomRightRadius": 1,
43
+ "borderTopLeftRadius": 1,
44
+ "borderTopRightRadius": 1,
45
+ "direction": "column",
46
+ "fieldSpace": 3,
47
+ "outlineOffset": 8,
48
+ "outlineWidth": 1,
49
+ "showIcon": true,
50
+ "space": 3
51
+ }
52
+ }
@@ -1,6 +1,21 @@
1
1
  {
2
- "appearances": {},
3
- "rules": [],
2
+ "appearances": {
3
+ "viewport": {
4
+ "description": "The size label for the current screen viewport based on the current screen width",
5
+ "values": ["xs", "sm", "md", "lg", "xl"],
6
+ "type": "state"
7
+ }
8
+ },
9
+ "rules": [
10
+ {
11
+ "if": {
12
+ "viewport": "xs"
13
+ },
14
+ "tokens": {
15
+ "stackSpace": 4
16
+ }
17
+ }
18
+ ],
4
19
  "tokens": {
5
20
  "stackGap": 5,
6
21
  "stackJustify": "center",
@@ -56,7 +56,7 @@
56
56
  "fontName": "SofiaPro",
57
57
  "fontSize": 18,
58
58
  "fontWeight": 700,
59
- "gap": 32,
59
+ "gap": 5,
60
60
  "imageDimension": 140,
61
61
  "outerBorderColor": {
62
62
  "red": 0,
@@ -94,6 +94,19 @@
94
94
  "descriptionFontWeight": 400,
95
95
  "descriptionLineHeight": 1.5,
96
96
  "descriptionMarginLeft": null,
97
+ "icon": null,
98
+ "iconBackgroundColor": {
99
+ "red": 0,
100
+ "green": 0,
101
+ "blue": 0,
102
+ "alpha": 0
103
+ },
104
+ "iconColor": {
105
+ "red": 0,
106
+ "green": 0,
107
+ "blue": 0,
108
+ "alpha": 0
109
+ },
97
110
  "inputBackgroundColor": {
98
111
  "red": 1,
99
112
  "green": 1,