@telus-uds/theme-koodo 5.10.0 → 5.12.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 (241) hide show
  1. package/build/android/Feedback.json +1 -1
  2. package/build/android/Icon.json +148 -1
  3. package/build/android/Link.json +9 -1
  4. package/build/android/Notification.json +2 -2
  5. package/build/android/ProductCard.json +35 -0
  6. package/build/android/schema.json +814 -683
  7. package/build/android/theme.json +196 -6
  8. package/build/ios/Feedback.json +1 -1
  9. package/build/ios/Icon.json +148 -1
  10. package/build/ios/Link.json +9 -1
  11. package/build/ios/Notification.json +2 -2
  12. package/build/ios/ProductCard.json +35 -0
  13. package/build/ios/schema.json +814 -683
  14. package/build/ios/theme.json +196 -6
  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 +1 -1
  26. package/build/rn/Carousel.js +1 -1
  27. package/build/rn/CarouselTabsPanelItem.js +1 -1
  28. package/build/rn/CarouselThumbnail.js +1 -1
  29. package/build/rn/Checkbox.js +1 -1
  30. package/build/rn/CheckboxCard.js +1 -1
  31. package/build/rn/CheckboxCardGroup.js +1 -1
  32. package/build/rn/CheckboxGroup.js +1 -1
  33. package/build/rn/ChevronLink.js +1 -1
  34. package/build/rn/ColourToggle.js +1 -1
  35. package/build/rn/Countdown.js +1 -1
  36. package/build/rn/DatePicker.js +1 -1
  37. package/build/rn/Disclaimer.js +1 -1
  38. package/build/rn/Divider.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 +3 -3
  45. package/build/rn/Fieldset.js +1 -1
  46. package/build/rn/Footnote.js +1 -1
  47. package/build/rn/FootnoteLink.js +1 -1
  48. package/build/rn/HorizontalScrollButton.js +1 -1
  49. package/build/rn/Icon.js +64 -2
  50. package/build/rn/IconButton.js +1 -1
  51. package/build/rn/Image.js +1 -1
  52. package/build/rn/InputLabel.js +1 -1
  53. package/build/rn/InputSupports.js +1 -1
  54. package/build/rn/Link.js +3 -2
  55. package/build/rn/List.js +1 -1
  56. package/build/rn/Listbox.js +1 -1
  57. package/build/rn/Modal.js +1 -1
  58. package/build/rn/MultiSelectFilter.js +1 -1
  59. package/build/rn/NavigationBar.js +1 -1
  60. package/build/rn/Notification.js +4 -4
  61. package/build/rn/OrderedList.js +1 -1
  62. package/build/rn/Pagination.js +1 -1
  63. package/build/rn/PaginationPageButton.js +1 -1
  64. package/build/rn/PaginationSideButton.js +1 -1
  65. package/build/rn/PreviewCard.js +1 -1
  66. package/build/rn/PriceLockup.js +1 -1
  67. package/build/rn/ProductCard.js +33 -0
  68. package/build/rn/Progress.js +1 -1
  69. package/build/rn/ProgressBar.js +1 -1
  70. package/build/rn/QuantitySelector.js +1 -1
  71. package/build/rn/QuantitySelectorSideButton.js +1 -1
  72. package/build/rn/QuickLinks.js +1 -1
  73. package/build/rn/QuickLinksButton.js +1 -1
  74. package/build/rn/QuickLinksCard.js +1 -1
  75. package/build/rn/QuickLinksFeature.js +1 -1
  76. package/build/rn/QuickLinksFeatureItem.js +1 -1
  77. package/build/rn/QuickLinksList.js +1 -1
  78. package/build/rn/Radio.js +1 -1
  79. package/build/rn/RadioCard.js +1 -1
  80. package/build/rn/RadioCardGroup.js +1 -1
  81. package/build/rn/RadioGroup.js +1 -1
  82. package/build/rn/Ribbon.js +1 -1
  83. package/build/rn/Search.js +1 -1
  84. package/build/rn/SearchButton.js +1 -1
  85. package/build/rn/Select.js +1 -1
  86. package/build/rn/SideNav.js +1 -1
  87. package/build/rn/SideNavItem.js +1 -1
  88. package/build/rn/SideNavItemsGroup.js +1 -1
  89. package/build/rn/Skeleton.js +1 -1
  90. package/build/rn/SkipLink.js +1 -1
  91. package/build/rn/Spinner.js +1 -1
  92. package/build/rn/SplashButton.js +1 -1
  93. package/build/rn/SplashButtonWithDetails.js +1 -1
  94. package/build/rn/StackView.js +1 -1
  95. package/build/rn/StepTracker.js +1 -1
  96. package/build/rn/StoryCard.js +1 -1
  97. package/build/rn/Table.js +1 -1
  98. package/build/rn/Tabs.js +1 -1
  99. package/build/rn/TabsItem.js +1 -1
  100. package/build/rn/Tags.js +1 -1
  101. package/build/rn/TagsItem.js +1 -1
  102. package/build/rn/TermsAndConditions.js +1 -1
  103. package/build/rn/Testimonial.js +1 -1
  104. package/build/rn/TextArea.js +1 -1
  105. package/build/rn/TextInput.js +1 -1
  106. package/build/rn/Timeline.js +1 -1
  107. package/build/rn/Toast.js +1 -1
  108. package/build/rn/ToggleSwitch.js +1 -1
  109. package/build/rn/ToggleSwitchGroup.js +1 -1
  110. package/build/rn/Tooltip.js +1 -1
  111. package/build/rn/TooltipButton.js +1 -1
  112. package/build/rn/Typography.js +1 -1
  113. package/build/rn/Video.js +1 -1
  114. package/build/rn/VideoButton.js +1 -1
  115. package/build/rn/VideoControlBar.js +1 -1
  116. package/build/rn/VideoMenu.js +1 -1
  117. package/build/rn/VideoMiddleControlButton.js +1 -1
  118. package/build/rn/VideoPicker.js +1 -1
  119. package/build/rn/VideoPickerSlider.js +1 -1
  120. package/build/rn/VideoPickerThumbnail.js +1 -1
  121. package/build/rn/VideoProgressBar.js +1 -1
  122. package/build/rn/VideoVolumeSlider.js +1 -1
  123. package/build/rn/WaffleGrid.js +1 -1
  124. package/build/rn/schema.json +814 -683
  125. package/build/rn/spacingScale.js +1 -1
  126. package/build/rn/theme.js +98 -9
  127. package/build/web/ActivityIndicator.js +1 -1
  128. package/build/web/Badge.js +1 -1
  129. package/build/web/BlockQuote.js +1 -1
  130. package/build/web/Box.js +1 -1
  131. package/build/web/Breadcrumbs.js +1 -1
  132. package/build/web/Button.js +1 -1
  133. package/build/web/ButtonDropdown.js +1 -1
  134. package/build/web/ButtonGroup.js +1 -1
  135. package/build/web/ButtonGroupItem.js +1 -1
  136. package/build/web/Callout.js +1 -1
  137. package/build/web/Card.js +1 -1
  138. package/build/web/Carousel.js +1 -1
  139. package/build/web/CarouselTabsPanelItem.js +1 -1
  140. package/build/web/CarouselThumbnail.js +1 -1
  141. package/build/web/Checkbox.js +1 -1
  142. package/build/web/CheckboxCard.js +1 -1
  143. package/build/web/CheckboxCardGroup.js +1 -1
  144. package/build/web/CheckboxGroup.js +1 -1
  145. package/build/web/ChevronLink.js +1 -1
  146. package/build/web/ColourToggle.js +1 -1
  147. package/build/web/Countdown.js +1 -1
  148. package/build/web/DatePicker.js +1 -1
  149. package/build/web/Disclaimer.js +1 -1
  150. package/build/web/Divider.js +1 -1
  151. package/build/web/ExpandCollapse.js +1 -1
  152. package/build/web/ExpandCollapseControl.js +1 -1
  153. package/build/web/ExpandCollapseMini.js +1 -1
  154. package/build/web/ExpandCollapseMiniControl.js +1 -1
  155. package/build/web/ExpandCollapsePanel.js +1 -1
  156. package/build/web/Feedback.js +3 -3
  157. package/build/web/Fieldset.js +1 -1
  158. package/build/web/Footnote.js +1 -1
  159. package/build/web/FootnoteLink.js +1 -1
  160. package/build/web/HorizontalScrollButton.js +1 -1
  161. package/build/web/Icon.js +64 -2
  162. package/build/web/IconButton.js +1 -1
  163. package/build/web/Image.js +1 -1
  164. package/build/web/InputLabel.js +1 -1
  165. package/build/web/InputSupports.js +1 -1
  166. package/build/web/Link.js +3 -2
  167. package/build/web/List.js +1 -1
  168. package/build/web/Listbox.js +1 -1
  169. package/build/web/Modal.js +1 -1
  170. package/build/web/MultiSelectFilter.js +1 -1
  171. package/build/web/NavigationBar.js +1 -1
  172. package/build/web/Notification.js +4 -4
  173. package/build/web/OrderedList.js +1 -1
  174. package/build/web/Pagination.js +1 -1
  175. package/build/web/PaginationPageButton.js +1 -1
  176. package/build/web/PaginationSideButton.js +1 -1
  177. package/build/web/PreviewCard.js +1 -1
  178. package/build/web/PriceLockup.js +1 -1
  179. package/build/web/ProductCard.js +33 -0
  180. package/build/web/Progress.js +1 -1
  181. package/build/web/ProgressBar.js +1 -1
  182. package/build/web/QuantitySelector.js +1 -1
  183. package/build/web/QuantitySelectorSideButton.js +1 -1
  184. package/build/web/QuickLinks.js +1 -1
  185. package/build/web/QuickLinksButton.js +1 -1
  186. package/build/web/QuickLinksCard.js +1 -1
  187. package/build/web/QuickLinksFeature.js +1 -1
  188. package/build/web/QuickLinksFeatureItem.js +1 -1
  189. package/build/web/QuickLinksList.js +1 -1
  190. package/build/web/Radio.js +1 -1
  191. package/build/web/RadioCard.js +1 -1
  192. package/build/web/RadioCardGroup.js +1 -1
  193. package/build/web/RadioGroup.js +1 -1
  194. package/build/web/Ribbon.js +1 -1
  195. package/build/web/Search.js +1 -1
  196. package/build/web/SearchButton.js +1 -1
  197. package/build/web/Select.js +1 -1
  198. package/build/web/SideNav.js +1 -1
  199. package/build/web/SideNavItem.js +1 -1
  200. package/build/web/SideNavItemsGroup.js +1 -1
  201. package/build/web/Skeleton.js +1 -1
  202. package/build/web/SkipLink.js +1 -1
  203. package/build/web/Spinner.js +1 -1
  204. package/build/web/SplashButton.js +1 -1
  205. package/build/web/SplashButtonWithDetails.js +1 -1
  206. package/build/web/StackView.js +1 -1
  207. package/build/web/StepTracker.js +1 -1
  208. package/build/web/StoryCard.js +1 -1
  209. package/build/web/Table.js +1 -1
  210. package/build/web/Tabs.js +1 -1
  211. package/build/web/TabsItem.js +1 -1
  212. package/build/web/Tags.js +1 -1
  213. package/build/web/TagsItem.js +1 -1
  214. package/build/web/TermsAndConditions.js +1 -1
  215. package/build/web/Testimonial.js +1 -1
  216. package/build/web/TextArea.js +1 -1
  217. package/build/web/TextInput.js +1 -1
  218. package/build/web/Timeline.js +1 -1
  219. package/build/web/Toast.js +1 -1
  220. package/build/web/ToggleSwitch.js +1 -1
  221. package/build/web/ToggleSwitchGroup.js +1 -1
  222. package/build/web/Tooltip.js +1 -1
  223. package/build/web/TooltipButton.js +1 -1
  224. package/build/web/Typography.js +1 -1
  225. package/build/web/Video.js +1 -1
  226. package/build/web/VideoButton.js +1 -1
  227. package/build/web/VideoControlBar.js +1 -1
  228. package/build/web/VideoMenu.js +1 -1
  229. package/build/web/VideoMiddleControlButton.js +1 -1
  230. package/build/web/VideoPicker.js +1 -1
  231. package/build/web/VideoPickerSlider.js +1 -1
  232. package/build/web/VideoPickerThumbnail.js +1 -1
  233. package/build/web/VideoProgressBar.js +1 -1
  234. package/build/web/VideoVolumeSlider.js +1 -1
  235. package/build/web/WaffleGrid.js +1 -1
  236. package/build/web/index.js +2 -1
  237. package/build/web/schema.json +814 -683
  238. package/build/web/spacingScale.js +1 -1
  239. package/build/web/theme.js +98 -9
  240. package/package.json +4 -4
  241. package/theme.json +156 -5
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Tue, 12 Mar 2024 22:20:47 GMT
4
+ * Generated on Wed, 24 Apr 2024 16:27:06 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Tue, 12 Mar 2024 22:20:47 GMT
4
+ * Generated on Wed, 24 Apr 2024 16:27:07 GMT
5
5
  *
6
6
  */
7
7
 
@@ -11,7 +11,7 @@ import PaletteIconChevronUp from '@telus-uds/palette-koodo/build/rn/icons/Chevro
11
11
  import PaletteIconChevronLeft from '@telus-uds/palette-koodo/build/rn/icons/ChevronLeft'
12
12
  import PaletteIconCheck from '@telus-uds/palette-koodo/build/rn/icons/Check'
13
13
  import PaletteIconCheckCircleFilled from '@telus-uds/palette-koodo/build/rn/icons/CheckCircleFilled'
14
- import PaletteIconCaution from '@telus-uds/palette-koodo/build/rn/icons/Caution'
14
+ import PaletteIconExclamationOctagon from '@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon'
15
15
  import PaletteIconClose from '@telus-uds/palette-koodo/build/rn/icons/Close'
16
16
  import PaletteIconAdd from '@telus-uds/palette-koodo/build/rn/icons/Add'
17
17
  import PaletteIconSubtract from '@telus-uds/palette-koodo/build/rn/icons/Subtract'
@@ -21,7 +21,6 @@ import PaletteIconBulletFill from '@telus-uds/palette-koodo/build/rn/icons/Bulle
21
21
  import PaletteIconTimes from '@telus-uds/palette-koodo/build/rn/icons/Times'
22
22
  import PaletteIconExclamationTriangle from '@telus-uds/palette-koodo/build/rn/icons/ExclamationTriangle'
23
23
  import PaletteIconSpyglass from '@telus-uds/palette-koodo/build/rn/icons/Spyglass'
24
- import PaletteIconExclamationOctagon from '@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon'
25
24
  import PaletteIconPlaySolid from '@telus-uds/palette-koodo/build/rn/icons/PlaySolid'
26
25
  import PaletteIconQuoteLeft from '@telus-uds/palette-koodo/build/rn/icons/QuoteLeft'
27
26
  import PaletteIconQuoteRightArrow from '@telus-uds/palette-koodo/build/rn/icons/QuoteRightArrow'
@@ -2406,7 +2405,7 @@ const theme = {
2406
2405
  if: { icon: true, validation: 'error' },
2407
2406
  tokens: {
2408
2407
  backgroundColor: '#fcd3c6',
2409
- icon: PaletteIconCaution,
2408
+ icon: PaletteIconExclamationOctagon,
2410
2409
  iconColor: '#c9370b'
2411
2410
  }
2412
2411
  }
@@ -2645,6 +2644,7 @@ const theme = {
2645
2644
  },
2646
2645
  Icon: {
2647
2646
  appearances: {
2647
+ background: { type: 'variant', values: [ true ] },
2648
2648
  color: {
2649
2649
  type: 'variant',
2650
2650
  values: [
@@ -2654,6 +2654,10 @@ const theme = {
2654
2654
  'inverse'
2655
2655
  ]
2656
2656
  },
2657
+ padding: {
2658
+ type: 'variant',
2659
+ values: [ 'micro', 'small', 'medium', 'large', 'extraLarge' ]
2660
+ },
2657
2661
  size: {
2658
2662
  type: 'variant',
2659
2663
  values: [ 'micro', 'small', 'large', 'extraLarge' ]
@@ -2665,6 +2669,62 @@ const theme = {
2665
2669
  }
2666
2670
  },
2667
2671
  rules: [
2672
+ { if: { padding: 'micro' }, tokens: { padding: 4, width: 4 } },
2673
+ { if: { padding: 'small' }, tokens: { padding: 4, width: 8 } },
2674
+ {
2675
+ if: { padding: 'medium' },
2676
+ tokens: { padding: 4, width: 16 }
2677
+ },
2678
+ { if: { padding: 'large' }, tokens: { padding: 4, width: 24 } },
2679
+ {
2680
+ if: { padding: 'extraLarge' },
2681
+ tokens: { padding: 4, width: 32 }
2682
+ },
2683
+ {
2684
+ if: { background: true, padding: 'micro' },
2685
+ tokens: {
2686
+ backgroundColor: '#efefef',
2687
+ borderRadius: 45,
2688
+ padding: 4,
2689
+ width: 4
2690
+ }
2691
+ },
2692
+ {
2693
+ if: { background: true, padding: 'small' },
2694
+ tokens: {
2695
+ backgroundColor: '#efefef',
2696
+ borderRadius: 45,
2697
+ padding: 4,
2698
+ width: 8
2699
+ }
2700
+ },
2701
+ {
2702
+ if: { background: true, padding: 'medium' },
2703
+ tokens: {
2704
+ backgroundColor: '#efefef',
2705
+ borderRadius: 45,
2706
+ padding: 4,
2707
+ width: 16
2708
+ }
2709
+ },
2710
+ {
2711
+ if: { background: true, padding: 'large' },
2712
+ tokens: {
2713
+ backgroundColor: '#efefef',
2714
+ borderRadius: 45,
2715
+ padding: 4,
2716
+ width: 24
2717
+ }
2718
+ },
2719
+ {
2720
+ if: { background: true, padding: 'extraLarge' },
2721
+ tokens: {
2722
+ backgroundColor: '#efefef',
2723
+ borderRadius: 45,
2724
+ padding: 4,
2725
+ width: 32
2726
+ }
2727
+ },
2668
2728
  { if: { size: 'micro' }, tokens: { size: 16 } },
2669
2729
  { if: { size: 'small' }, tokens: { size: 20 } },
2670
2730
  { if: { size: 'large' }, tokens: { size: 32 } },
@@ -2680,11 +2740,15 @@ const theme = {
2680
2740
  { if: { status: 'error' }, tokens: { color: '#c9370b' } }
2681
2741
  ],
2682
2742
  tokens: {
2743
+ backgroundColor: 'transparent',
2744
+ borderRadius: 0,
2683
2745
  color: '#000000',
2746
+ padding: 0,
2684
2747
  scale: 1,
2685
2748
  size: 24,
2686
2749
  translateX: 0,
2687
- translateY: 0
2750
+ translateY: 0,
2751
+ width: 0
2688
2752
  }
2689
2753
  },
2690
2754
  IconButton: {
@@ -3014,6 +3078,7 @@ const theme = {
3014
3078
  },
3015
3079
  rules: [
3016
3080
  { if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
3081
+ { if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
3017
3082
  {
3018
3083
  if: { focus: true },
3019
3084
  tokens: {
@@ -3114,7 +3179,7 @@ const theme = {
3114
3179
  color: '#000000',
3115
3180
  icon: null,
3116
3181
  iconSize: 16,
3117
- iconSpace: 1,
3182
+ iconSpace: 0,
3118
3183
  iconTranslateX: 0,
3119
3184
  iconTranslateY: 0,
3120
3185
  outerBorderColor: 'rgba(0, 0, 0, 0)',
@@ -3869,7 +3934,7 @@ const theme = {
3869
3934
  borderColor: '#c9370b',
3870
3935
  color: '#000000',
3871
3936
  dismissIcon: null,
3872
- icon: PaletteIconCaution,
3937
+ icon: PaletteIconExclamationOctagon,
3873
3938
  iconColor: '#c9370b'
3874
3939
  }
3875
3940
  },
@@ -3880,7 +3945,7 @@ const theme = {
3880
3945
  borderColor: '#c9370b',
3881
3946
  color: '#000000',
3882
3947
  dismissIcon: null,
3883
- icon: PaletteIconCaution,
3948
+ icon: PaletteIconExclamationOctagon,
3884
3949
  iconColor: '#c9370b'
3885
3950
  }
3886
3951
  }
@@ -4349,6 +4414,30 @@ const theme = {
4349
4414
  topTextMarginBottom: 4
4350
4415
  }
4351
4416
  },
4417
+ ProductCard: {
4418
+ appearances: {
4419
+ viewport: {
4420
+ description: 'The size label for the current screen viewport based on the current screen width',
4421
+ type: 'state',
4422
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
4423
+ }
4424
+ },
4425
+ rules: [
4426
+ {
4427
+ if: { viewport: [ 'xs', 'sm', 'md' ] },
4428
+ tokens: { borderWidth: 0, paddingHorizontal: 24, paddingVertical: 0 }
4429
+ }
4430
+ ],
4431
+ tokens: {
4432
+ borderColor: '#efefef',
4433
+ borderRadius: 6,
4434
+ borderStyle: 'solid',
4435
+ borderWidth: 1,
4436
+ paddingHorizontal: 24,
4437
+ paddingVertical: 24,
4438
+ selectedButtonIcon: PaletteIconCheck
4439
+ }
4440
+ },
4352
4441
  Progress: {
4353
4442
  appearances: { size: { type: 'variant', values: [ 'mini' ] } },
4354
4443
  rules: [ { if: { size: 'mini' }, tokens: { height: 8 } } ],
@@ -7424,6 +7513,6 @@ const theme = {
7424
7513
  tokens: { size: 96 }
7425
7514
  }
7426
7515
  },
7427
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.53.0' }
7516
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.54.0' }
7428
7517
  }
7429
7518
  export default theme
package/package.json CHANGED
@@ -5,8 +5,8 @@
5
5
  },
6
6
  "description": "Koodo theme",
7
7
  "devDependencies": {
8
- "@telus-uds/palette-koodo": "^1.1.3",
9
- "@telus-uds/system-theme-tokens": "^2.53.0"
8
+ "@telus-uds/palette-koodo": "^1.1.4",
9
+ "@telus-uds/system-theme-tokens": "^2.54.0"
10
10
  },
11
11
  "files": [
12
12
  "build",
@@ -20,7 +20,7 @@
20
20
  "main": "build/rn/theme.js",
21
21
  "name": "@telus-uds/theme-koodo",
22
22
  "peerDependencies": {
23
- "@telus-uds/palette-koodo": "^1.1.3"
23
+ "@telus-uds/palette-koodo": "^1.1.4"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",
@@ -31,5 +31,5 @@
31
31
  "build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
32
32
  "dev": "nodemon -w src -x 'npm run build'"
33
33
  },
34
- "version": "5.10.0"
34
+ "version": "5.12.0"
35
35
  }
package/theme.json CHANGED
@@ -3026,7 +3026,7 @@
3026
3026
  },
3027
3027
  "tokens": {
3028
3028
  "backgroundColor": "{palette.color.dangerLight}",
3029
- "icon": "{palette.icon.Caution}",
3029
+ "icon": "{palette.icon.ExclamationOctagon}",
3030
3030
  "iconColor": "{palette.color.danger}"
3031
3031
  }
3032
3032
  }
@@ -3347,10 +3347,18 @@
3347
3347
  },
3348
3348
  "Icon": {
3349
3349
  "appearances": {
3350
+ "background": {
3351
+ "type": "variant",
3352
+ "values": [true]
3353
+ },
3350
3354
  "color": {
3351
3355
  "type": "variant",
3352
3356
  "values": ["brand", "subtle", "offer", "success", "danger", "warning", "inverse"]
3353
3357
  },
3358
+ "padding": {
3359
+ "type": "variant",
3360
+ "values": ["micro", "small", "medium", "large", "extraLarge"]
3361
+ },
3354
3362
  "size": {
3355
3363
  "type": "variant",
3356
3364
  "values": ["micro", "small", "large", "extraLarge"]
@@ -3362,6 +3370,111 @@
3362
3370
  }
3363
3371
  },
3364
3372
  "rules": [
3373
+ {
3374
+ "if": {
3375
+ "padding": "micro"
3376
+ },
3377
+ "tokens": {
3378
+ "padding": "{palette.size.size4}",
3379
+ "width": "{palette.size.size4}"
3380
+ }
3381
+ },
3382
+ {
3383
+ "if": {
3384
+ "padding": "small"
3385
+ },
3386
+ "tokens": {
3387
+ "padding": "{palette.size.size4}",
3388
+ "width": "{palette.size.size8}"
3389
+ }
3390
+ },
3391
+ {
3392
+ "if": {
3393
+ "padding": "medium"
3394
+ },
3395
+ "tokens": {
3396
+ "padding": "{palette.size.size4}",
3397
+ "width": "{palette.size.size16}"
3398
+ }
3399
+ },
3400
+ {
3401
+ "if": {
3402
+ "padding": "large"
3403
+ },
3404
+ "tokens": {
3405
+ "padding": "{palette.size.size4}",
3406
+ "width": "{palette.size.size24}"
3407
+ }
3408
+ },
3409
+ {
3410
+ "if": {
3411
+ "padding": "extraLarge"
3412
+ },
3413
+ "tokens": {
3414
+ "padding": "{palette.size.size4}",
3415
+ "width": "{palette.size.size32}"
3416
+ }
3417
+ },
3418
+ {
3419
+ "if": {
3420
+ "background": true,
3421
+ "padding": "micro"
3422
+ },
3423
+ "tokens": {
3424
+ "backgroundColor": "{palette.color.gallery}",
3425
+ "borderRadius": "{palette.radius.radius45}",
3426
+ "padding": "{palette.size.size4}",
3427
+ "width": "{palette.size.size4}"
3428
+ }
3429
+ },
3430
+ {
3431
+ "if": {
3432
+ "background": true,
3433
+ "padding": "small"
3434
+ },
3435
+ "tokens": {
3436
+ "backgroundColor": "{palette.color.gallery}",
3437
+ "borderRadius": "{palette.radius.radius45}",
3438
+ "padding": "{palette.size.size4}",
3439
+ "width": "{palette.size.size8}"
3440
+ }
3441
+ },
3442
+ {
3443
+ "if": {
3444
+ "background": true,
3445
+ "padding": "medium"
3446
+ },
3447
+ "tokens": {
3448
+ "backgroundColor": "{palette.color.gallery}",
3449
+ "borderRadius": "{palette.radius.radius45}",
3450
+ "padding": "{palette.size.size4}",
3451
+ "width": "{palette.size.size16}"
3452
+ }
3453
+ },
3454
+ {
3455
+ "if": {
3456
+ "background": true,
3457
+ "padding": "large"
3458
+ },
3459
+ "tokens": {
3460
+ "backgroundColor": "{palette.color.gallery}",
3461
+ "borderRadius": "{palette.radius.radius45}",
3462
+ "padding": "{palette.size.size4}",
3463
+ "width": "{palette.size.size24}"
3464
+ }
3465
+ },
3466
+ {
3467
+ "if": {
3468
+ "background": true,
3469
+ "padding": "extraLarge"
3470
+ },
3471
+ "tokens": {
3472
+ "backgroundColor": "{palette.color.gallery}",
3473
+ "borderRadius": "{palette.radius.radius45}",
3474
+ "padding": "{palette.size.size4}",
3475
+ "width": "{palette.size.size32}"
3476
+ }
3477
+ },
3365
3478
  {
3366
3479
  "if": {
3367
3480
  "size": "micro"
@@ -3468,11 +3581,15 @@
3468
3581
  }
3469
3582
  ],
3470
3583
  "tokens": {
3584
+ "backgroundColor": "{system.color.transparent}",
3585
+ "borderRadius": "{palette.radius.none}",
3471
3586
  "color": "{palette.color.black}",
3587
+ "padding": "{palette.size.size0}",
3472
3588
  "scale": "{system.integer.1}",
3473
3589
  "size": "{palette.size.size24}",
3474
3590
  "translateX": "{system.size.zero}",
3475
- "translateY": "{system.size.zero}"
3591
+ "translateY": "{system.size.zero}",
3592
+ "width": "{palette.size.size0}"
3476
3593
  }
3477
3594
  },
3478
3595
  "IconButton": {
@@ -3958,6 +4075,14 @@
3958
4075
  "iconSpace": "{system.integer.2}"
3959
4076
  }
3960
4077
  },
4078
+ {
4079
+ "if": {
4080
+ "iconPosition": "right"
4081
+ },
4082
+ "tokens": {
4083
+ "iconSpace": "{system.integer.1}"
4084
+ }
4085
+ },
3961
4086
  {
3962
4087
  "if": {
3963
4088
  "focus": true
@@ -4173,7 +4298,7 @@
4173
4298
  "color": "{palette.color.black}",
4174
4299
  "icon": "{system.icon.none}",
4175
4300
  "iconSize": "{palette.size.size16}",
4176
- "iconSpace": "{system.integer.1}",
4301
+ "iconSpace": "{system.integer.0}",
4177
4302
  "iconTranslateX": "{system.size.zero}",
4178
4303
  "iconTranslateY": "{system.size.zero}",
4179
4304
  "outerBorderColor": "{palette.color.transparent}",
@@ -4986,7 +5111,7 @@
4986
5111
  "borderColor": "{palette.color.danger}",
4987
5112
  "color": "{palette.color.black}",
4988
5113
  "dismissIcon": "{system.icon.none}",
4989
- "icon": "{palette.icon.Caution}",
5114
+ "icon": "{palette.icon.ExclamationOctagon}",
4990
5115
  "iconColor": "{palette.color.danger}"
4991
5116
  }
4992
5117
  },
@@ -4999,7 +5124,7 @@
4999
5124
  "borderColor": "{palette.color.danger}",
5000
5125
  "color": "{palette.color.black}",
5001
5126
  "dismissIcon": "{system.icon.none}",
5002
- "icon": "{palette.icon.Caution}",
5127
+ "icon": "{palette.icon.ExclamationOctagon}",
5003
5128
  "iconColor": "{palette.color.danger}"
5004
5129
  }
5005
5130
  }
@@ -5500,6 +5625,32 @@
5500
5625
  "topTextMarginBottom": "{palette.size.size4}"
5501
5626
  }
5502
5627
  },
5628
+ "ProductCard": {
5629
+ "appearances": {
5630
+ "viewport": "{appearances.system.viewport}"
5631
+ },
5632
+ "rules": [
5633
+ {
5634
+ "if": {
5635
+ "viewport": ["xs", "sm", "md"]
5636
+ },
5637
+ "tokens": {
5638
+ "borderWidth": "{palette.border.none}",
5639
+ "paddingHorizontal": "{palette.size.size24}",
5640
+ "paddingVertical": "{palette.size.size0}"
5641
+ }
5642
+ }
5643
+ ],
5644
+ "tokens": {
5645
+ "borderColor": "{palette.color.gallery}",
5646
+ "borderRadius": "{palette.radius.radius6}",
5647
+ "borderStyle": "{system.borderStyle.solid}",
5648
+ "borderWidth": "{palette.border.border1}",
5649
+ "paddingHorizontal": "{palette.size.size24}",
5650
+ "paddingVertical": "{palette.size.size24}",
5651
+ "selectedButtonIcon": "{palette.icon.Check}"
5652
+ }
5653
+ },
5503
5654
  "Progress": {
5504
5655
  "appearances": {
5505
5656
  "size": {