@telus-uds/theme-public-mobile 2.18.0 → 2.20.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 (239) hide show
  1. package/build/android/FootnoteLink.json +129 -2
  2. package/build/android/Icon.json +148 -1
  3. package/build/android/Notification.json +1 -1
  4. package/build/android/ProductCard.json +35 -0
  5. package/build/android/schema.json +272 -141
  6. package/build/android/theme.json +314 -5
  7. package/build/ios/FootnoteLink.json +129 -2
  8. package/build/ios/Icon.json +148 -1
  9. package/build/ios/Notification.json +1 -1
  10. package/build/ios/ProductCard.json +35 -0
  11. package/build/ios/schema.json +272 -141
  12. package/build/ios/theme.json +314 -5
  13. package/build/rn/ActivityIndicator.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/Carousel.js +1 -1
  25. package/build/rn/CarouselTabsPanelItem.js +1 -1
  26. package/build/rn/CarouselThumbnail.js +1 -1
  27. package/build/rn/Checkbox.js +1 -1
  28. package/build/rn/CheckboxCard.js +1 -1
  29. package/build/rn/CheckboxCardGroup.js +1 -1
  30. package/build/rn/CheckboxGroup.js +1 -1
  31. package/build/rn/ChevronLink.js +1 -1
  32. package/build/rn/ColourToggle.js +1 -1
  33. package/build/rn/Countdown.js +1 -1
  34. package/build/rn/DatePicker.js +1 -1
  35. package/build/rn/Disclaimer.js +1 -1
  36. package/build/rn/Divider.js +1 -1
  37. package/build/rn/ExpandCollapse.js +1 -1
  38. package/build/rn/ExpandCollapseControl.js +1 -1
  39. package/build/rn/ExpandCollapseMini.js +1 -1
  40. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  41. package/build/rn/ExpandCollapsePanel.js +1 -1
  42. package/build/rn/Feedback.js +1 -1
  43. package/build/rn/Fieldset.js +1 -1
  44. package/build/rn/Footnote.js +1 -1
  45. package/build/rn/FootnoteLink.js +34 -3
  46. package/build/rn/HorizontalScrollButton.js +1 -1
  47. package/build/rn/Icon.js +64 -2
  48. package/build/rn/IconButton.js +1 -1
  49. package/build/rn/Image.js +1 -1
  50. package/build/rn/InputLabel.js +1 -1
  51. package/build/rn/InputSupports.js +1 -1
  52. package/build/rn/Link.js +1 -1
  53. package/build/rn/List.js +1 -1
  54. package/build/rn/Listbox.js +1 -1
  55. package/build/rn/Modal.js +1 -1
  56. package/build/rn/MultiSelectFilter.js +1 -1
  57. package/build/rn/NavigationBar.js +1 -1
  58. package/build/rn/Notification.js +2 -2
  59. package/build/rn/OrderedList.js +1 -1
  60. package/build/rn/Pagination.js +1 -1
  61. package/build/rn/PaginationPageButton.js +1 -1
  62. package/build/rn/PaginationSideButton.js +1 -1
  63. package/build/rn/PreviewCard.js +1 -1
  64. package/build/rn/PriceLockup.js +1 -1
  65. package/build/rn/ProductCard.js +33 -0
  66. package/build/rn/Progress.js +1 -1
  67. package/build/rn/ProgressBar.js +1 -1
  68. package/build/rn/QuantitySelector.js +1 -1
  69. package/build/rn/QuantitySelectorSideButton.js +1 -1
  70. package/build/rn/QuickLinks.js +1 -1
  71. package/build/rn/QuickLinksButton.js +1 -1
  72. package/build/rn/QuickLinksCard.js +1 -1
  73. package/build/rn/QuickLinksFeature.js +1 -1
  74. package/build/rn/QuickLinksFeatureItem.js +1 -1
  75. package/build/rn/QuickLinksList.js +1 -1
  76. package/build/rn/Radio.js +1 -1
  77. package/build/rn/RadioCard.js +1 -1
  78. package/build/rn/RadioCardGroup.js +1 -1
  79. package/build/rn/RadioGroup.js +1 -1
  80. package/build/rn/Ribbon.js +1 -1
  81. package/build/rn/Search.js +1 -1
  82. package/build/rn/SearchButton.js +1 -1
  83. package/build/rn/Select.js +1 -1
  84. package/build/rn/SideNav.js +1 -1
  85. package/build/rn/SideNavItem.js +1 -1
  86. package/build/rn/SideNavItemsGroup.js +1 -1
  87. package/build/rn/Skeleton.js +1 -1
  88. package/build/rn/SkipLink.js +1 -1
  89. package/build/rn/Spinner.js +1 -1
  90. package/build/rn/SplashButton.js +1 -1
  91. package/build/rn/SplashButtonWithDetails.js +1 -1
  92. package/build/rn/StackView.js +1 -1
  93. package/build/rn/StepTracker.js +1 -1
  94. package/build/rn/StoryCard.js +1 -1
  95. package/build/rn/Table.js +1 -1
  96. package/build/rn/Tabs.js +1 -1
  97. package/build/rn/TabsItem.js +1 -1
  98. package/build/rn/Tags.js +1 -1
  99. package/build/rn/TagsItem.js +1 -1
  100. package/build/rn/TermsAndConditions.js +1 -1
  101. package/build/rn/Testimonial.js +1 -1
  102. package/build/rn/TextArea.js +1 -1
  103. package/build/rn/TextInput.js +1 -1
  104. package/build/rn/Timeline.js +1 -1
  105. package/build/rn/Toast.js +1 -1
  106. package/build/rn/ToggleSwitch.js +1 -1
  107. package/build/rn/ToggleSwitchGroup.js +1 -1
  108. package/build/rn/Tooltip.js +1 -1
  109. package/build/rn/TooltipButton.js +1 -1
  110. package/build/rn/Typography.js +1 -1
  111. package/build/rn/Video.js +1 -1
  112. package/build/rn/VideoButton.js +1 -1
  113. package/build/rn/VideoControlBar.js +1 -1
  114. package/build/rn/VideoMenu.js +1 -1
  115. package/build/rn/VideoMiddleControlButton.js +1 -1
  116. package/build/rn/VideoPicker.js +1 -1
  117. package/build/rn/VideoPickerSlider.js +1 -1
  118. package/build/rn/VideoPickerThumbnail.js +1 -1
  119. package/build/rn/VideoProgressBar.js +1 -1
  120. package/build/rn/VideoVolumeSlider.js +1 -1
  121. package/build/rn/WaffleGrid.js +1 -1
  122. package/build/rn/schema.json +272 -141
  123. package/build/rn/spacingScale.js +1 -1
  124. package/build/rn/theme.js +144 -6
  125. package/build/web/ActivityIndicator.js +1 -1
  126. package/build/web/Badge.js +1 -1
  127. package/build/web/BlockQuote.js +1 -1
  128. package/build/web/Box.js +1 -1
  129. package/build/web/Breadcrumbs.js +1 -1
  130. package/build/web/Button.js +1 -1
  131. package/build/web/ButtonDropdown.js +1 -1
  132. package/build/web/ButtonGroup.js +1 -1
  133. package/build/web/ButtonGroupItem.js +1 -1
  134. package/build/web/Callout.js +1 -1
  135. package/build/web/Card.js +1 -1
  136. package/build/web/Carousel.js +1 -1
  137. package/build/web/CarouselTabsPanelItem.js +1 -1
  138. package/build/web/CarouselThumbnail.js +1 -1
  139. package/build/web/Checkbox.js +1 -1
  140. package/build/web/CheckboxCard.js +1 -1
  141. package/build/web/CheckboxCardGroup.js +1 -1
  142. package/build/web/CheckboxGroup.js +1 -1
  143. package/build/web/ChevronLink.js +1 -1
  144. package/build/web/ColourToggle.js +1 -1
  145. package/build/web/Countdown.js +1 -1
  146. package/build/web/DatePicker.js +1 -1
  147. package/build/web/Disclaimer.js +1 -1
  148. package/build/web/Divider.js +1 -1
  149. package/build/web/ExpandCollapse.js +1 -1
  150. package/build/web/ExpandCollapseControl.js +1 -1
  151. package/build/web/ExpandCollapseMini.js +1 -1
  152. package/build/web/ExpandCollapseMiniControl.js +1 -1
  153. package/build/web/ExpandCollapsePanel.js +1 -1
  154. package/build/web/Feedback.js +1 -1
  155. package/build/web/Fieldset.js +1 -1
  156. package/build/web/Footnote.js +1 -1
  157. package/build/web/FootnoteLink.js +34 -3
  158. package/build/web/HorizontalScrollButton.js +1 -1
  159. package/build/web/Icon.js +64 -2
  160. package/build/web/IconButton.js +1 -1
  161. package/build/web/Image.js +1 -1
  162. package/build/web/InputLabel.js +1 -1
  163. package/build/web/InputSupports.js +1 -1
  164. package/build/web/Link.js +1 -1
  165. package/build/web/List.js +1 -1
  166. package/build/web/Listbox.js +1 -1
  167. package/build/web/Modal.js +1 -1
  168. package/build/web/MultiSelectFilter.js +1 -1
  169. package/build/web/NavigationBar.js +1 -1
  170. package/build/web/Notification.js +2 -2
  171. package/build/web/OrderedList.js +1 -1
  172. package/build/web/Pagination.js +1 -1
  173. package/build/web/PaginationPageButton.js +1 -1
  174. package/build/web/PaginationSideButton.js +1 -1
  175. package/build/web/PreviewCard.js +1 -1
  176. package/build/web/PriceLockup.js +1 -1
  177. package/build/web/ProductCard.js +33 -0
  178. package/build/web/Progress.js +1 -1
  179. package/build/web/ProgressBar.js +1 -1
  180. package/build/web/QuantitySelector.js +1 -1
  181. package/build/web/QuantitySelectorSideButton.js +1 -1
  182. package/build/web/QuickLinks.js +1 -1
  183. package/build/web/QuickLinksButton.js +1 -1
  184. package/build/web/QuickLinksCard.js +1 -1
  185. package/build/web/QuickLinksFeature.js +1 -1
  186. package/build/web/QuickLinksFeatureItem.js +1 -1
  187. package/build/web/QuickLinksList.js +1 -1
  188. package/build/web/Radio.js +1 -1
  189. package/build/web/RadioCard.js +1 -1
  190. package/build/web/RadioCardGroup.js +1 -1
  191. package/build/web/RadioGroup.js +1 -1
  192. package/build/web/Ribbon.js +1 -1
  193. package/build/web/Search.js +1 -1
  194. package/build/web/SearchButton.js +1 -1
  195. package/build/web/Select.js +1 -1
  196. package/build/web/SideNav.js +1 -1
  197. package/build/web/SideNavItem.js +1 -1
  198. package/build/web/SideNavItemsGroup.js +1 -1
  199. package/build/web/Skeleton.js +1 -1
  200. package/build/web/SkipLink.js +1 -1
  201. package/build/web/Spinner.js +1 -1
  202. package/build/web/SplashButton.js +1 -1
  203. package/build/web/SplashButtonWithDetails.js +1 -1
  204. package/build/web/StackView.js +1 -1
  205. package/build/web/StepTracker.js +1 -1
  206. package/build/web/StoryCard.js +1 -1
  207. package/build/web/Table.js +1 -1
  208. package/build/web/Tabs.js +1 -1
  209. package/build/web/TabsItem.js +1 -1
  210. package/build/web/Tags.js +1 -1
  211. package/build/web/TagsItem.js +1 -1
  212. package/build/web/TermsAndConditions.js +1 -1
  213. package/build/web/Testimonial.js +1 -1
  214. package/build/web/TextArea.js +1 -1
  215. package/build/web/TextInput.js +1 -1
  216. package/build/web/Timeline.js +1 -1
  217. package/build/web/Toast.js +1 -1
  218. package/build/web/ToggleSwitch.js +1 -1
  219. package/build/web/ToggleSwitchGroup.js +1 -1
  220. package/build/web/Tooltip.js +1 -1
  221. package/build/web/TooltipButton.js +1 -1
  222. package/build/web/Typography.js +1 -1
  223. package/build/web/Video.js +1 -1
  224. package/build/web/VideoButton.js +1 -1
  225. package/build/web/VideoControlBar.js +1 -1
  226. package/build/web/VideoMenu.js +1 -1
  227. package/build/web/VideoMiddleControlButton.js +1 -1
  228. package/build/web/VideoPicker.js +1 -1
  229. package/build/web/VideoPickerSlider.js +1 -1
  230. package/build/web/VideoPickerThumbnail.js +1 -1
  231. package/build/web/VideoProgressBar.js +1 -1
  232. package/build/web/VideoVolumeSlider.js +1 -1
  233. package/build/web/WaffleGrid.js +1 -1
  234. package/build/web/index.js +2 -1
  235. package/build/web/schema.json +272 -141
  236. package/build/web/spacingScale.js +1 -1
  237. package/build/web/theme.js +144 -6
  238. package/package.json +2 -2
  239. package/theme.json +276 -6
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Wed, 06 Mar 2024 00:01:14 GMT
4
+ * Generated on Fri, 05 Apr 2024 17:08:52 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Wed, 06 Mar 2024 00:01:14 GMT
4
+ * Generated on Fri, 05 Apr 2024 17:08:52 GMT
5
5
  *
6
6
  */
7
7
 
@@ -2456,8 +2456,57 @@ const theme = {
2456
2456
  }
2457
2457
  },
2458
2458
  FootnoteLink: {
2459
- appearances: {},
2460
- rules: [],
2459
+ appearances: {
2460
+ size: {
2461
+ type: 'variant',
2462
+ values: [
2463
+ 'micro', 'small',
2464
+ 'medium', 'large',
2465
+ 'h1', 'h2',
2466
+ 'h3', 'h4',
2467
+ 'h5', 'h6',
2468
+ 'display1', 'display2'
2469
+ ]
2470
+ }
2471
+ },
2472
+ rules: [
2473
+ {
2474
+ if: { size: 'display1' },
2475
+ tokens: { fontSize: 20, lineHeight: 1.2 }
2476
+ },
2477
+ {
2478
+ if: { size: 'display2' },
2479
+ tokens: { fontSize: 20, lineHeight: 1.2 }
2480
+ },
2481
+ {
2482
+ if: { size: 'h1' },
2483
+ tokens: { fontSize: 20, lineHeight: 1.2 }
2484
+ },
2485
+ {
2486
+ if: { size: 'h2' },
2487
+ tokens: { fontSize: 20, lineHeight: 1.2 }
2488
+ },
2489
+ { if: { size: 'h3' }, tokens: { fontSize: 14, lineHeight: 1 } },
2490
+ { if: { size: 'h4' }, tokens: { fontSize: 14, lineHeight: 1 } },
2491
+ { if: { size: 'h5' }, tokens: { fontSize: 14, lineHeight: 1 } },
2492
+ { if: { size: 'h6' }, tokens: { fontSize: 14, lineHeight: 1 } },
2493
+ {
2494
+ if: { size: 'micro' },
2495
+ tokens: { fontSize: 12, lineHeight: 1 }
2496
+ },
2497
+ {
2498
+ if: { size: 'small' },
2499
+ tokens: { fontSize: 12, lineHeight: 1 }
2500
+ },
2501
+ {
2502
+ if: { size: 'medium' },
2503
+ tokens: { fontSize: 12, lineHeight: 1 }
2504
+ },
2505
+ {
2506
+ if: { size: 'large' },
2507
+ tokens: { fontSize: 12, lineHeight: 1 }
2508
+ }
2509
+ ],
2461
2510
  tokens: {
2462
2511
  color: null,
2463
2512
  fontName: 'SofiaPro',
@@ -2508,6 +2557,7 @@ const theme = {
2508
2557
  },
2509
2558
  Icon: {
2510
2559
  appearances: {
2560
+ background: { type: 'variant', values: [ true ] },
2511
2561
  color: {
2512
2562
  description: 'Use colour to change the colour',
2513
2563
  type: 'variant',
@@ -2518,6 +2568,10 @@ const theme = {
2518
2568
  'inverse'
2519
2569
  ]
2520
2570
  },
2571
+ padding: {
2572
+ type: 'variant',
2573
+ values: [ 'micro', 'small', 'medium', 'large', 'extraLarge' ]
2574
+ },
2521
2575
  size: {
2522
2576
  description: 'Use size to change the dimension of the icon',
2523
2577
  type: 'variant',
@@ -2525,6 +2579,62 @@ const theme = {
2525
2579
  }
2526
2580
  },
2527
2581
  rules: [
2582
+ { if: { padding: 'micro' }, tokens: { padding: 4, width: 4 } },
2583
+ { if: { padding: 'small' }, tokens: { padding: 4, width: 8 } },
2584
+ {
2585
+ if: { padding: 'medium' },
2586
+ tokens: { padding: 4, width: 16 }
2587
+ },
2588
+ { if: { padding: 'large' }, tokens: { padding: 4, width: 24 } },
2589
+ {
2590
+ if: { padding: 'extraLarge' },
2591
+ tokens: { padding: 4, width: 32 }
2592
+ },
2593
+ {
2594
+ if: { background: true, padding: 'micro' },
2595
+ tokens: {
2596
+ backgroundColor: '#f5f5f7',
2597
+ borderRadius: 45,
2598
+ padding: 4,
2599
+ width: 4
2600
+ }
2601
+ },
2602
+ {
2603
+ if: { background: true, padding: 'small' },
2604
+ tokens: {
2605
+ backgroundColor: '#f5f5f7',
2606
+ borderRadius: 45,
2607
+ padding: 4,
2608
+ width: 8
2609
+ }
2610
+ },
2611
+ {
2612
+ if: { background: true, padding: 'medium' },
2613
+ tokens: {
2614
+ backgroundColor: '#f5f5f7',
2615
+ borderRadius: 45,
2616
+ padding: 4,
2617
+ width: 16
2618
+ }
2619
+ },
2620
+ {
2621
+ if: { background: true, padding: 'large' },
2622
+ tokens: {
2623
+ backgroundColor: '#f5f5f7',
2624
+ borderRadius: 45,
2625
+ padding: 4,
2626
+ width: 24
2627
+ }
2628
+ },
2629
+ {
2630
+ if: { background: true, padding: 'extraLarge' },
2631
+ tokens: {
2632
+ backgroundColor: '#f5f5f7',
2633
+ borderRadius: 45,
2634
+ padding: 4,
2635
+ width: 32
2636
+ }
2637
+ },
2528
2638
  { if: { size: 'micro' }, tokens: { size: 16 } },
2529
2639
  { if: { size: 'small' }, tokens: { size: 20 } },
2530
2640
  { if: { size: 'large' }, tokens: { size: 32 } },
@@ -2538,11 +2648,15 @@ const theme = {
2538
2648
  { if: { color: 'inverse' }, tokens: { color: '#ffffff' } }
2539
2649
  ],
2540
2650
  tokens: {
2651
+ backgroundColor: 'transparent',
2652
+ borderRadius: 0,
2541
2653
  color: '#394056',
2654
+ padding: 0,
2542
2655
  scale: 1,
2543
2656
  size: 24,
2544
2657
  translateX: 0,
2545
- translateY: 0
2658
+ translateY: 0,
2659
+ width: 0
2546
2660
  }
2547
2661
  },
2548
2662
  IconButton: {
@@ -3689,7 +3803,7 @@ const theme = {
3689
3803
  tokens: {
3690
3804
  borderBottomWidth: 0,
3691
3805
  borderLeftWidth: 0,
3692
- borderRadius: 0,
3806
+ borderRadius: 6,
3693
3807
  borderRightWidth: 0,
3694
3808
  borderTopWidth: 0,
3695
3809
  iconGap: 16,
@@ -4249,6 +4363,30 @@ const theme = {
4249
4363
  topTextMarginBottom: 4
4250
4364
  }
4251
4365
  },
4366
+ ProductCard: {
4367
+ appearances: {
4368
+ viewport: {
4369
+ description: 'The size label for the current screen viewport based on the current screen width',
4370
+ type: 'state',
4371
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
4372
+ }
4373
+ },
4374
+ rules: [
4375
+ {
4376
+ if: { viewport: [ 'xs', 'sm', 'md' ] },
4377
+ tokens: { borderWidth: 0, paddingHorizontal: 24, paddingVertical: 0 }
4378
+ }
4379
+ ],
4380
+ tokens: {
4381
+ borderColor: '#9c9faa',
4382
+ borderRadius: 6,
4383
+ borderStyle: 'solid',
4384
+ borderWidth: 1,
4385
+ paddingHorizontal: 24,
4386
+ paddingVertical: 24,
4387
+ selectedButtonIcon: PaletteIconCheckMark
4388
+ }
4389
+ },
4252
4390
  Progress: {
4253
4391
  appearances: { size: { type: 'variant', values: [ 'mini' ] } },
4254
4392
  rules: [ { if: { size: 'mini' }, tokens: { height: 8 } } ],
@@ -7154,6 +7292,6 @@ const theme = {
7154
7292
  tokens: { size: 80 }
7155
7293
  }
7156
7294
  },
7157
- metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.53.0' }
7295
+ metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.54.0' }
7158
7296
  }
7159
7297
  export default theme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-public-mobile",
3
- "version": "2.18.0",
3
+ "version": "2.20.0",
4
4
  "description": "Public Mobile theme",
5
5
  "keywords": [
6
6
  "public mobile"
@@ -15,7 +15,7 @@
15
15
  ],
16
16
  "devDependencies": {
17
17
  "@telus-uds/palette-public-mobile": "^1.8.0",
18
- "@telus-uds/system-theme-tokens": "^2.53.0"
18
+ "@telus-uds/system-theme-tokens": "^2.54.0"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "@telus-uds/palette-public-mobile": "^1.8.0"
package/theme.json CHANGED
@@ -3070,8 +3070,135 @@
3070
3070
  }
3071
3071
  },
3072
3072
  "FootnoteLink": {
3073
- "appearances": {},
3074
- "rules": [],
3073
+ "appearances": {
3074
+ "size": {
3075
+ "type": "variant",
3076
+ "values": [
3077
+ "micro",
3078
+ "small",
3079
+ "medium",
3080
+ "large",
3081
+ "h1",
3082
+ "h2",
3083
+ "h3",
3084
+ "h4",
3085
+ "h5",
3086
+ "h6",
3087
+ "display1",
3088
+ "display2"
3089
+ ]
3090
+ }
3091
+ },
3092
+ "rules": [
3093
+ {
3094
+ "if": {
3095
+ "size": "display1"
3096
+ },
3097
+ "tokens": {
3098
+ "fontSize": "{palette.fontSize.size20}",
3099
+ "lineHeight": "{palette.lineHeight.ratio6to5}"
3100
+ }
3101
+ },
3102
+ {
3103
+ "if": {
3104
+ "size": "display2"
3105
+ },
3106
+ "tokens": {
3107
+ "fontSize": "{palette.fontSize.size20}",
3108
+ "lineHeight": "{palette.lineHeight.ratio6to5}"
3109
+ }
3110
+ },
3111
+ {
3112
+ "if": {
3113
+ "size": "h1"
3114
+ },
3115
+ "tokens": {
3116
+ "fontSize": "{palette.fontSize.size20}",
3117
+ "lineHeight": "{palette.lineHeight.ratio6to5}"
3118
+ }
3119
+ },
3120
+ {
3121
+ "if": {
3122
+ "size": "h2"
3123
+ },
3124
+ "tokens": {
3125
+ "fontSize": "{palette.fontSize.size20}",
3126
+ "lineHeight": "{palette.lineHeight.ratio6to5}"
3127
+ }
3128
+ },
3129
+ {
3130
+ "if": {
3131
+ "size": "h3"
3132
+ },
3133
+ "tokens": {
3134
+ "fontSize": "{palette.fontSize.size14}",
3135
+ "lineHeight": "{palette.lineHeight.ratio1to1}"
3136
+ }
3137
+ },
3138
+ {
3139
+ "if": {
3140
+ "size": "h4"
3141
+ },
3142
+ "tokens": {
3143
+ "fontSize": "{palette.fontSize.size14}",
3144
+ "lineHeight": "{palette.lineHeight.ratio1to1}"
3145
+ }
3146
+ },
3147
+ {
3148
+ "if": {
3149
+ "size": "h5"
3150
+ },
3151
+ "tokens": {
3152
+ "fontSize": "{palette.fontSize.size14}",
3153
+ "lineHeight": "{palette.lineHeight.ratio1to1}"
3154
+ }
3155
+ },
3156
+ {
3157
+ "if": {
3158
+ "size": "h6"
3159
+ },
3160
+ "tokens": {
3161
+ "fontSize": "{palette.fontSize.size14}",
3162
+ "lineHeight": "{palette.lineHeight.ratio1to1}"
3163
+ }
3164
+ },
3165
+ {
3166
+ "if": {
3167
+ "size": "micro"
3168
+ },
3169
+ "tokens": {
3170
+ "fontSize": "{palette.fontSize.size12}",
3171
+ "lineHeight": "{palette.lineHeight.ratio1to1}"
3172
+ }
3173
+ },
3174
+ {
3175
+ "if": {
3176
+ "size": "small"
3177
+ },
3178
+ "tokens": {
3179
+ "fontSize": "{palette.fontSize.size12}",
3180
+ "lineHeight": "{palette.lineHeight.ratio1to1}"
3181
+ }
3182
+ },
3183
+ {
3184
+ "if": {
3185
+ "size": "medium"
3186
+ },
3187
+ "tokens": {
3188
+ "fontSize": "{palette.fontSize.size12}",
3189
+ "lineHeight": "{palette.lineHeight.ratio1to1}"
3190
+ }
3191
+ },
3192
+ {
3193
+ "if": {
3194
+ "size": "large"
3195
+ },
3196
+ "tokens": {
3197
+ "fontSize": "{palette.fontSize.size12}",
3198
+ "lineHeight": "{palette.lineHeight.ratio1to1}"
3199
+ }
3200
+ }
3201
+ ],
3075
3202
  "tokens": {
3076
3203
  "color": "{system.color.none}",
3077
3204
  "fontName": "{palette.fontName.SofiaPro}",
@@ -3108,11 +3235,19 @@
3108
3235
  },
3109
3236
  "Icon": {
3110
3237
  "appearances": {
3238
+ "background": {
3239
+ "type": "variant",
3240
+ "values": [true]
3241
+ },
3111
3242
  "color": {
3112
3243
  "description": "Use colour to change the colour",
3113
3244
  "type": "variant",
3114
3245
  "values": ["brand", "subtle", "offer", "success", "danger", "warning", "inverse"]
3115
3246
  },
3247
+ "padding": {
3248
+ "type": "variant",
3249
+ "values": ["micro", "small", "medium", "large", "extraLarge"]
3250
+ },
3116
3251
  "size": {
3117
3252
  "description": "Use size to change the dimension of the icon",
3118
3253
  "type": "variant",
@@ -3120,6 +3255,111 @@
3120
3255
  }
3121
3256
  },
3122
3257
  "rules": [
3258
+ {
3259
+ "if": {
3260
+ "padding": "micro"
3261
+ },
3262
+ "tokens": {
3263
+ "padding": "{palette.size.size4}",
3264
+ "width": "{palette.size.size4}"
3265
+ }
3266
+ },
3267
+ {
3268
+ "if": {
3269
+ "padding": "small"
3270
+ },
3271
+ "tokens": {
3272
+ "padding": "{palette.size.size4}",
3273
+ "width": "{palette.size.size8}"
3274
+ }
3275
+ },
3276
+ {
3277
+ "if": {
3278
+ "padding": "medium"
3279
+ },
3280
+ "tokens": {
3281
+ "padding": "{palette.size.size4}",
3282
+ "width": "{palette.size.size16}"
3283
+ }
3284
+ },
3285
+ {
3286
+ "if": {
3287
+ "padding": "large"
3288
+ },
3289
+ "tokens": {
3290
+ "padding": "{palette.size.size4}",
3291
+ "width": "{palette.size.size24}"
3292
+ }
3293
+ },
3294
+ {
3295
+ "if": {
3296
+ "padding": "extraLarge"
3297
+ },
3298
+ "tokens": {
3299
+ "padding": "{palette.size.size4}",
3300
+ "width": "{palette.size.size32}"
3301
+ }
3302
+ },
3303
+ {
3304
+ "if": {
3305
+ "background": true,
3306
+ "padding": "micro"
3307
+ },
3308
+ "tokens": {
3309
+ "backgroundColor": "{palette.color.slate5}",
3310
+ "borderRadius": "{palette.radius.radius45}",
3311
+ "padding": "{palette.size.size4}",
3312
+ "width": "{palette.size.size4}"
3313
+ }
3314
+ },
3315
+ {
3316
+ "if": {
3317
+ "background": true,
3318
+ "padding": "small"
3319
+ },
3320
+ "tokens": {
3321
+ "backgroundColor": "{palette.color.slate5}",
3322
+ "borderRadius": "{palette.radius.radius45}",
3323
+ "padding": "{palette.size.size4}",
3324
+ "width": "{palette.size.size8}"
3325
+ }
3326
+ },
3327
+ {
3328
+ "if": {
3329
+ "background": true,
3330
+ "padding": "medium"
3331
+ },
3332
+ "tokens": {
3333
+ "backgroundColor": "{palette.color.slate5}",
3334
+ "borderRadius": "{palette.radius.radius45}",
3335
+ "padding": "{palette.size.size4}",
3336
+ "width": "{palette.size.size16}"
3337
+ }
3338
+ },
3339
+ {
3340
+ "if": {
3341
+ "background": true,
3342
+ "padding": "large"
3343
+ },
3344
+ "tokens": {
3345
+ "backgroundColor": "{palette.color.slate5}",
3346
+ "borderRadius": "{palette.radius.radius45}",
3347
+ "padding": "{palette.size.size4}",
3348
+ "width": "{palette.size.size24}"
3349
+ }
3350
+ },
3351
+ {
3352
+ "if": {
3353
+ "background": true,
3354
+ "padding": "extraLarge"
3355
+ },
3356
+ "tokens": {
3357
+ "backgroundColor": "{palette.color.slate5}",
3358
+ "borderRadius": "{palette.radius.radius45}",
3359
+ "padding": "{palette.size.size4}",
3360
+ "width": "{palette.size.size32}"
3361
+ }
3362
+ },
3123
3363
  {
3124
3364
  "if": {
3125
3365
  "size": "micro"
@@ -3210,11 +3450,15 @@
3210
3450
  }
3211
3451
  ],
3212
3452
  "tokens": {
3453
+ "backgroundColor": "{system.color.transparent}",
3454
+ "borderRadius": "{palette.radius.none}",
3213
3455
  "color": "{palette.color.slate100}",
3456
+ "padding": "{palette.size.size0}",
3214
3457
  "scale": "{system.integer.1}",
3215
3458
  "size": "{palette.size.size24}",
3216
3459
  "translateX": "{system.size.zero}",
3217
- "translateY": "{system.size.zero}"
3460
+ "translateY": "{system.size.zero}",
3461
+ "width": "{palette.size.size0}"
3218
3462
  }
3219
3463
  },
3220
3464
  "IconButton": {
@@ -4671,7 +4915,7 @@
4671
4915
  },
4672
4916
  "tokens": {
4673
4917
  "borderLeftWidth": "{system.border.zero}",
4674
- "borderRadius": "{system.radius.zero}",
4918
+ "borderRadius": "{palette.radius.none}",
4675
4919
  "borderRightWidth": "{system.border.zero}",
4676
4920
  "borderTopWidth": "{system.border.zero}",
4677
4921
  "iconGap": "{palette.size.size16}",
@@ -4687,7 +4931,7 @@
4687
4931
  },
4688
4932
  "tokens": {
4689
4933
  "borderLeftWidth": "{system.border.zero}",
4690
- "borderRadius": "{system.radius.zero}",
4934
+ "borderRadius": "{palette.radius.none}",
4691
4935
  "borderRightWidth": "{system.border.zero}",
4692
4936
  "borderTopWidth": "{system.border.zero}",
4693
4937
  "iconGap": "{palette.size.size16}",
@@ -4704,7 +4948,7 @@
4704
4948
  "tokens": {
4705
4949
  "borderBottomWidth": "{system.border.zero}",
4706
4950
  "borderLeftWidth": "{system.border.zero}",
4707
- "borderRadius": "{system.radius.zero}",
4951
+ "borderRadius": "{palette.radius.radius6}",
4708
4952
  "borderRightWidth": "{system.border.zero}",
4709
4953
  "borderTopWidth": "{system.border.zero}",
4710
4954
  "iconGap": "{palette.size.size16}",
@@ -5317,6 +5561,32 @@
5317
5561
  "topTextMarginBottom": "{palette.size.size4}"
5318
5562
  }
5319
5563
  },
5564
+ "ProductCard": {
5565
+ "appearances": {
5566
+ "viewport": "{appearances.system.viewport}"
5567
+ },
5568
+ "rules": [
5569
+ {
5570
+ "if": {
5571
+ "viewport": ["xs", "sm", "md"]
5572
+ },
5573
+ "tokens": {
5574
+ "borderWidth": "{palette.border.none}",
5575
+ "paddingHorizontal": "{palette.size.size24}",
5576
+ "paddingVertical": "{palette.size.size0}"
5577
+ }
5578
+ }
5579
+ ],
5580
+ "tokens": {
5581
+ "borderColor": "{palette.color.slate50}",
5582
+ "borderRadius": "{palette.radius.radius6}",
5583
+ "borderStyle": "{system.borderStyle.solid}",
5584
+ "borderWidth": "{palette.border.border1}",
5585
+ "paddingHorizontal": "{palette.size.size24}",
5586
+ "paddingVertical": "{palette.size.size24}",
5587
+ "selectedButtonIcon": "{palette.icon.CheckMark}"
5588
+ }
5589
+ },
5320
5590
  "Progress": {
5321
5591
  "appearances": {
5322
5592
  "size": {