@telus-uds/theme-allium 4.30.0 → 4.31.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 +1210 -978
  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 +1210 -978
  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 +1210 -978
  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 +1210 -978
  240. package/build/web/spacingScale.js +1 -1
  241. package/build/web/theme.js +151 -7
  242. package/package.json +5 -5
  243. package/theme.json +159 -3
@@ -2173,6 +2173,10 @@
2173
2173
  "type": "variant",
2174
2174
  "values": [true]
2175
2175
  },
2176
+ "isControl": {
2177
+ "type": "variant",
2178
+ "values": [true, false]
2179
+ },
2176
2180
  "padding": {
2177
2181
  "type": "variant",
2178
2182
  "values": ["narrow", "intermediate", "compact", "custom"]
@@ -2182,6 +2186,11 @@
2182
2186
  "values": [true, false],
2183
2187
  "type": "state"
2184
2188
  },
2189
+ "selected": {
2190
+ "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`.",
2191
+ "values": [true],
2192
+ "type": "state"
2193
+ },
2185
2194
  "viewport": {
2186
2195
  "description": "The size label for the current screen viewport based on the current screen width",
2187
2196
  "values": ["xs", "sm", "md", "lg", "xl"],
@@ -2189,6 +2198,77 @@
2189
2198
  }
2190
2199
  },
2191
2200
  "rules": [
2201
+ {
2202
+ "if": {
2203
+ "interactive": true,
2204
+ "isControl": true
2205
+ },
2206
+ "tokens": {
2207
+ "borderColor": {
2208
+ "red": 0.69804,
2209
+ "green": 0.72549,
2210
+ "blue": 0.74902,
2211
+ "alpha": 1
2212
+ },
2213
+ "borderWidth": 1
2214
+ }
2215
+ },
2216
+ {
2217
+ "if": {
2218
+ "interactive": true,
2219
+ "isControl": true,
2220
+ "selected": true
2221
+ },
2222
+ "tokens": {
2223
+ "backgroundColor": {
2224
+ "red": 0.95686,
2225
+ "green": 0.95686,
2226
+ "blue": 0.96863,
2227
+ "alpha": 1
2228
+ },
2229
+ "borderColor": {
2230
+ "red": 0.29412,
2231
+ "green": 0.15686,
2232
+ "blue": 0.42745,
2233
+ "alpha": 1
2234
+ },
2235
+ "borderWidth": 1,
2236
+ "iconBackgroundColor": {
2237
+ "red": 0.8902,
2238
+ "green": 0.90196,
2239
+ "blue": 0.9098,
2240
+ "alpha": 1
2241
+ },
2242
+ "iconColor": {
2243
+ "red": 0.29412,
2244
+ "green": 0.15686,
2245
+ "blue": 0.42745,
2246
+ "alpha": 1
2247
+ },
2248
+ "inputBackgroundColor": {
2249
+ "red": 0.8902,
2250
+ "green": 0.90196,
2251
+ "blue": 0.9098,
2252
+ "alpha": 1
2253
+ }
2254
+ }
2255
+ },
2256
+ {
2257
+ "if": {
2258
+ "interactive": true,
2259
+ "isControl": true,
2260
+ "pressed": false
2261
+ },
2262
+ "tokens": {
2263
+ "borderColor": {
2264
+ "red": 0,
2265
+ "green": 0,
2266
+ "blue": 0,
2267
+ "alpha": 0
2268
+ },
2269
+ "borderWidth": 2
2270
+ }
2271
+ },
2192
2272
  {
2193
2273
  "if": {
2194
2274
  "borderRadius": "none"
@@ -2373,6 +2453,7 @@
2373
2453
  {
2374
2454
  "if": {
2375
2455
  "interactive": true,
2456
+ "isControl": false,
2376
2457
  "pressed": false
2377
2458
  },
2378
2459
  "tokens": {
@@ -2385,6 +2466,21 @@
2385
2466
  "borderWidth": 2
2386
2467
  }
2387
2468
  },
2469
+ {
2470
+ "if": {
2471
+ "interactive": true,
2472
+ "pressed": false
2473
+ },
2474
+ "tokens": {
2475
+ "borderColor": {
2476
+ "red": 0,
2477
+ "green": 0,
2478
+ "blue": 0,
2479
+ "alpha": 0
2480
+ },
2481
+ "borderWidth": 2
2482
+ }
2483
+ },
2388
2484
  {
2389
2485
  "if": {
2390
2486
  "interactive": true,
@@ -2405,6 +2501,28 @@
2405
2501
  },
2406
2502
  "borderWidth": 2
2407
2503
  }
2504
+ },
2505
+ {
2506
+ "if": {
2507
+ "interactive": true,
2508
+ "isControl": false,
2509
+ "selected": true
2510
+ },
2511
+ "tokens": {
2512
+ "backgroundColor": {
2513
+ "red": 0.95686,
2514
+ "green": 0.95686,
2515
+ "blue": 0.96863,
2516
+ "alpha": 1
2517
+ },
2518
+ "borderColor": {
2519
+ "red": 0.29412,
2520
+ "green": 0.15686,
2521
+ "blue": 0.42745,
2522
+ "alpha": 1
2523
+ },
2524
+ "borderWidth": 1
2525
+ }
2408
2526
  }
2409
2527
  ],
2410
2528
  "tokens": {
@@ -2428,6 +2546,49 @@
2428
2546
  "contentJustifyContent": "flex-start",
2429
2547
  "flex": 1,
2430
2548
  "gradient": null,
2549
+ "icon": "PaletteIconCheckmark",
2550
+ "iconBackgroundColor": {
2551
+ "red": 0.95686,
2552
+ "green": 0.95686,
2553
+ "blue": 0.96863,
2554
+ "alpha": 1
2555
+ },
2556
+ "iconColor": {
2557
+ "red": 0.29412,
2558
+ "green": 0.15686,
2559
+ "blue": 0.42745,
2560
+ "alpha": 1
2561
+ },
2562
+ "iconSize": 20,
2563
+ "inputBackgroundColor": {
2564
+ "red": 0.95686,
2565
+ "green": 0.95686,
2566
+ "blue": 0.96863,
2567
+ "alpha": 1
2568
+ },
2569
+ "inputBorderColor": {
2570
+ "red": 0,
2571
+ "green": 0,
2572
+ "blue": 0,
2573
+ "alpha": 0
2574
+ },
2575
+ "inputBorderRadius": 4,
2576
+ "inputBorderWidth": 0,
2577
+ "inputHeight": 32,
2578
+ "inputShadow": {
2579
+ "inset": true,
2580
+ "offsetX": 0,
2581
+ "offsetY": 2,
2582
+ "blur": 2,
2583
+ "spread": 0,
2584
+ "color": {
2585
+ "red": 0,
2586
+ "green": 0,
2587
+ "blue": 0,
2588
+ "alpha": 0.1
2589
+ }
2590
+ },
2591
+ "inputWidth": 32,
2431
2592
  "minWidth": null,
2432
2593
  "paddingBottom": 32,
2433
2594
  "paddingLeft": 24,
@@ -2436,6 +2597,58 @@
2436
2597
  "shadow": null
2437
2598
  }
2438
2599
  },
2600
+ "CardGroup": {
2601
+ "appearances": {
2602
+ "pressed": {
2603
+ "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.",
2604
+ "values": [true, false],
2605
+ "type": "state"
2606
+ },
2607
+ "selected": {
2608
+ "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`.",
2609
+ "values": [true],
2610
+ "type": "state"
2611
+ },
2612
+ "viewport": {
2613
+ "description": "The size label for the current screen viewport based on the current screen width",
2614
+ "values": ["xs", "sm", "md", "lg", "xl"],
2615
+ "type": "state"
2616
+ }
2617
+ },
2618
+ "rules": [
2619
+ {
2620
+ "if": {
2621
+ "viewport": ["lg", "xl"]
2622
+ },
2623
+ "tokens": {
2624
+ "direction": "row",
2625
+ "space": 5
2626
+ }
2627
+ },
2628
+ {
2629
+ "if": {
2630
+ "viewport": ["xs", "sm", "md"]
2631
+ },
2632
+ "tokens": {
2633
+ "direction": "column",
2634
+ "fieldSpace": 3,
2635
+ "space": 3
2636
+ }
2637
+ }
2638
+ ],
2639
+ "tokens": {
2640
+ "borderBottomLeftRadius": 1,
2641
+ "borderBottomRightRadius": 1,
2642
+ "borderTopLeftRadius": 1,
2643
+ "borderTopRightRadius": 1,
2644
+ "direction": "column",
2645
+ "fieldSpace": 3,
2646
+ "outlineOffset": 8,
2647
+ "outlineWidth": 1,
2648
+ "showIcon": true,
2649
+ "space": 3
2650
+ }
2651
+ },
2439
2652
  "Carousel": {
2440
2653
  "appearances": {
2441
2654
  "viewport": {
@@ -7982,8 +8195,23 @@
7982
8195
  }
7983
8196
  },
7984
8197
  "QuickLinksFeature": {
7985
- "appearances": {},
7986
- "rules": [],
8198
+ "appearances": {
8199
+ "viewport": {
8200
+ "description": "The size label for the current screen viewport based on the current screen width",
8201
+ "values": ["xs", "sm", "md", "lg", "xl"],
8202
+ "type": "state"
8203
+ }
8204
+ },
8205
+ "rules": [
8206
+ {
8207
+ "if": {
8208
+ "viewport": "xs"
8209
+ },
8210
+ "tokens": {
8211
+ "stackSpace": 4
8212
+ }
8213
+ }
8214
+ ],
7987
8215
  "tokens": {
7988
8216
  "stackGap": 5,
7989
8217
  "stackJustify": "center",
@@ -8042,7 +8270,7 @@
8042
8270
  "fontName": "HelveticaNow",
8043
8271
  "fontSize": 16,
8044
8272
  "fontWeight": 700,
8045
- "gap": 32,
8273
+ "gap": 5,
8046
8274
  "imageDimension": 128,
8047
8275
  "outerBorderColor": {
8048
8276
  "red": 0,
@@ -8256,6 +8484,19 @@
8256
8484
  "descriptionFontWeight": 400,
8257
8485
  "descriptionLineHeight": 1.42857142857,
8258
8486
  "descriptionMarginLeft": null,
8487
+ "icon": null,
8488
+ "iconBackgroundColor": {
8489
+ "red": 0,
8490
+ "green": 0,
8491
+ "blue": 0,
8492
+ "alpha": 0
8493
+ },
8494
+ "iconColor": {
8495
+ "red": 0,
8496
+ "green": 0,
8497
+ "blue": 0,
8498
+ "alpha": 0
8499
+ },
8259
8500
  "inputBackgroundColor": {
8260
8501
  "red": 1,
8261
8502
  "green": 1,
@@ -12897,7 +13138,7 @@
12897
13138
  }
12898
13139
  },
12899
13140
  "metadata": {
12900
- "themeTokensVersion": "2.55.0",
13141
+ "themeTokensVersion": "2.56.0",
12901
13142
  "name": "theme-allium"
12902
13143
  }
12903
13144
  }
@@ -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.69804,
48
+ "green": 0.72549,
49
+ "blue": 0.74902,
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.95686,
64
+ "green": 0.95686,
65
+ "blue": 0.96863,
66
+ "alpha": 1
67
+ },
68
+ "borderColor": {
69
+ "red": 0.29412,
70
+ "green": 0.15686,
71
+ "blue": 0.42745,
72
+ "alpha": 1
73
+ },
74
+ "borderWidth": 1,
75
+ "iconBackgroundColor": {
76
+ "red": 0.8902,
77
+ "green": 0.90196,
78
+ "blue": 0.9098,
79
+ "alpha": 1
80
+ },
81
+ "iconColor": {
82
+ "red": 0.29412,
83
+ "green": 0.15686,
84
+ "blue": 0.42745,
85
+ "alpha": 1
86
+ },
87
+ "inputBackgroundColor": {
88
+ "red": 0.8902,
89
+ "green": 0.90196,
90
+ "blue": 0.9098,
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"
@@ -212,6 +292,7 @@
212
292
  {
213
293
  "if": {
214
294
  "interactive": true,
295
+ "isControl": false,
215
296
  "pressed": false
216
297
  },
217
298
  "tokens": {
@@ -224,6 +305,21 @@
224
305
  "borderWidth": 2
225
306
  }
226
307
  },
308
+ {
309
+ "if": {
310
+ "interactive": true,
311
+ "pressed": false
312
+ },
313
+ "tokens": {
314
+ "borderColor": {
315
+ "red": 0,
316
+ "green": 0,
317
+ "blue": 0,
318
+ "alpha": 0
319
+ },
320
+ "borderWidth": 2
321
+ }
322
+ },
227
323
  {
228
324
  "if": {
229
325
  "interactive": true,
@@ -244,6 +340,28 @@
244
340
  },
245
341
  "borderWidth": 2
246
342
  }
343
+ },
344
+ {
345
+ "if": {
346
+ "interactive": true,
347
+ "isControl": false,
348
+ "selected": true
349
+ },
350
+ "tokens": {
351
+ "backgroundColor": {
352
+ "red": 0.95686,
353
+ "green": 0.95686,
354
+ "blue": 0.96863,
355
+ "alpha": 1
356
+ },
357
+ "borderColor": {
358
+ "red": 0.29412,
359
+ "green": 0.15686,
360
+ "blue": 0.42745,
361
+ "alpha": 1
362
+ },
363
+ "borderWidth": 1
364
+ }
247
365
  }
248
366
  ],
249
367
  "tokens": {
@@ -267,6 +385,49 @@
267
385
  "contentJustifyContent": "flex-start",
268
386
  "flex": 1,
269
387
  "gradient": null,
388
+ "icon": "PaletteIconCheckmark",
389
+ "iconBackgroundColor": {
390
+ "red": 0.95686,
391
+ "green": 0.95686,
392
+ "blue": 0.96863,
393
+ "alpha": 1
394
+ },
395
+ "iconColor": {
396
+ "red": 0.29412,
397
+ "green": 0.15686,
398
+ "blue": 0.42745,
399
+ "alpha": 1
400
+ },
401
+ "iconSize": 20,
402
+ "inputBackgroundColor": {
403
+ "red": 0.95686,
404
+ "green": 0.95686,
405
+ "blue": 0.96863,
406
+ "alpha": 1
407
+ },
408
+ "inputBorderColor": {
409
+ "red": 0,
410
+ "green": 0,
411
+ "blue": 0,
412
+ "alpha": 0
413
+ },
414
+ "inputBorderRadius": 4,
415
+ "inputBorderWidth": 0,
416
+ "inputHeight": 32,
417
+ "inputShadow": {
418
+ "inset": true,
419
+ "offsetX": 0,
420
+ "offsetY": 2,
421
+ "blur": 2,
422
+ "spread": 0,
423
+ "color": {
424
+ "red": 0,
425
+ "green": 0,
426
+ "blue": 0,
427
+ "alpha": 0.1
428
+ }
429
+ },
430
+ "inputWidth": 32,
270
431
  "minWidth": null,
271
432
  "paddingBottom": 32,
272
433
  "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",
@@ -50,7 +50,7 @@
50
50
  "fontName": "HelveticaNow",
51
51
  "fontSize": 16,
52
52
  "fontWeight": 700,
53
- "gap": 32,
53
+ "gap": 5,
54
54
  "imageDimension": 128,
55
55
  "outerBorderColor": {
56
56
  "red": 0,
@@ -106,6 +106,19 @@
106
106
  "descriptionFontWeight": 400,
107
107
  "descriptionLineHeight": 1.42857142857,
108
108
  "descriptionMarginLeft": null,
109
+ "icon": null,
110
+ "iconBackgroundColor": {
111
+ "red": 0,
112
+ "green": 0,
113
+ "blue": 0,
114
+ "alpha": 0
115
+ },
116
+ "iconColor": {
117
+ "red": 0,
118
+ "green": 0,
119
+ "blue": 0,
120
+ "alpha": 0
121
+ },
109
122
  "inputBackgroundColor": {
110
123
  "red": 1,
111
124
  "green": 1,