@telus-uds/theme-koodo 5.19.0 → 5.21.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 (271) hide show
  1. package/build/android/ButtonDropdown.json +3 -3
  2. package/build/android/ButtonGroup.json +31 -0
  3. package/build/android/ButtonGroupItem.json +68 -1
  4. package/build/android/CardGroup.json +4 -0
  5. package/build/android/DownloadApp.json +41 -0
  6. package/build/android/FileUpload.json +65 -0
  7. package/build/android/Icon.json +3 -3
  8. package/build/android/Link.json +1 -1
  9. package/build/android/MultiSelectFilter.json +8 -2
  10. package/build/android/Status.json +1 -0
  11. package/build/android/TabBar.json +40 -0
  12. package/build/android/TabBarItem.json +119 -0
  13. package/build/android/ToggleSwitch.json +6 -6
  14. package/build/android/schema.json +1463 -761
  15. package/build/android/theme.json +391 -17
  16. package/build/ios/ButtonDropdown.json +3 -3
  17. package/build/ios/ButtonGroup.json +31 -0
  18. package/build/ios/ButtonGroupItem.json +68 -1
  19. package/build/ios/CardGroup.json +4 -0
  20. package/build/ios/DownloadApp.json +41 -0
  21. package/build/ios/FileUpload.json +65 -0
  22. package/build/ios/Icon.json +3 -3
  23. package/build/ios/Link.json +1 -1
  24. package/build/ios/MultiSelectFilter.json +8 -2
  25. package/build/ios/Status.json +1 -0
  26. package/build/ios/TabBar.json +40 -0
  27. package/build/ios/TabBarItem.json +119 -0
  28. package/build/ios/ToggleSwitch.json +6 -6
  29. package/build/ios/schema.json +1463 -761
  30. package/build/ios/theme.json +391 -17
  31. package/build/rn/ActionCard.js +1 -1
  32. package/build/rn/ActivityIndicator.js +1 -1
  33. package/build/rn/Badge.js +1 -1
  34. package/build/rn/BlockQuote.js +1 -1
  35. package/build/rn/Box.js +1 -1
  36. package/build/rn/Breadcrumbs.js +1 -1
  37. package/build/rn/Button.js +1 -1
  38. package/build/rn/ButtonDropdown.js +2 -2
  39. package/build/rn/ButtonGroup.js +20 -2
  40. package/build/rn/ButtonGroupItem.js +53 -3
  41. package/build/rn/Callout.js +1 -1
  42. package/build/rn/Card.js +1 -1
  43. package/build/rn/CardGroup.js +5 -1
  44. package/build/rn/Carousel.js +1 -1
  45. package/build/rn/CarouselTabsPanelItem.js +1 -1
  46. package/build/rn/CarouselThumbnail.js +1 -1
  47. package/build/rn/Checkbox.js +1 -1
  48. package/build/rn/CheckboxCard.js +1 -1
  49. package/build/rn/CheckboxCardGroup.js +1 -1
  50. package/build/rn/CheckboxGroup.js +1 -1
  51. package/build/rn/ChevronLink.js +1 -1
  52. package/build/rn/ColourToggle.js +1 -1
  53. package/build/rn/Countdown.js +1 -1
  54. package/build/rn/DatePicker.js +1 -1
  55. package/build/rn/Disclaimer.js +1 -1
  56. package/build/rn/Divider.js +1 -1
  57. package/build/rn/DownloadApp.js +62 -0
  58. package/build/rn/ExpandCollapse.js +1 -1
  59. package/build/rn/ExpandCollapseControl.js +1 -1
  60. package/build/rn/ExpandCollapseMini.js +1 -1
  61. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  62. package/build/rn/ExpandCollapsePanel.js +1 -1
  63. package/build/rn/Feedback.js +1 -1
  64. package/build/rn/Fieldset.js +1 -1
  65. package/build/rn/FileUpload.js +34 -0
  66. package/build/rn/Footnote.js +1 -1
  67. package/build/rn/FootnoteLink.js +1 -1
  68. package/build/rn/HorizontalScrollButton.js +1 -1
  69. package/build/rn/Icon.js +2 -2
  70. package/build/rn/IconButton.js +1 -1
  71. package/build/rn/Image.js +1 -1
  72. package/build/rn/InputLabel.js +1 -1
  73. package/build/rn/InputSupports.js +1 -1
  74. package/build/rn/Link.js +2 -2
  75. package/build/rn/List.js +1 -1
  76. package/build/rn/Listbox.js +1 -1
  77. package/build/rn/Modal.js +1 -1
  78. package/build/rn/MultiSelectFilter.js +9 -3
  79. package/build/rn/NavigationBar.js +1 -1
  80. package/build/rn/Notification.js +1 -1
  81. package/build/rn/OrderedList.js +1 -1
  82. package/build/rn/Pagination.js +1 -1
  83. package/build/rn/PaginationPageButton.js +1 -1
  84. package/build/rn/PaginationSideButton.js +1 -1
  85. package/build/rn/PreviewCard.js +1 -1
  86. package/build/rn/PriceLockup.js +1 -1
  87. package/build/rn/ProductCard.js +1 -1
  88. package/build/rn/Progress.js +1 -1
  89. package/build/rn/ProgressBar.js +1 -1
  90. package/build/rn/QuantitySelector.js +1 -1
  91. package/build/rn/QuantitySelectorSideButton.js +1 -1
  92. package/build/rn/QuickLinks.js +1 -1
  93. package/build/rn/QuickLinksButton.js +1 -1
  94. package/build/rn/QuickLinksCard.js +1 -1
  95. package/build/rn/QuickLinksFeature.js +1 -1
  96. package/build/rn/QuickLinksFeatureItem.js +1 -1
  97. package/build/rn/QuickLinksList.js +1 -1
  98. package/build/rn/Radio.js +1 -1
  99. package/build/rn/RadioCard.js +1 -1
  100. package/build/rn/RadioCardGroup.js +1 -1
  101. package/build/rn/RadioGroup.js +1 -1
  102. package/build/rn/Ribbon.js +1 -1
  103. package/build/rn/Search.js +1 -1
  104. package/build/rn/SearchButton.js +1 -1
  105. package/build/rn/Select.js +1 -1
  106. package/build/rn/SideNav.js +1 -1
  107. package/build/rn/SideNavItem.js +1 -1
  108. package/build/rn/SideNavItemsGroup.js +1 -1
  109. package/build/rn/Skeleton.js +1 -1
  110. package/build/rn/SkipLink.js +1 -1
  111. package/build/rn/Spinner.js +1 -1
  112. package/build/rn/SplashButton.js +1 -1
  113. package/build/rn/SplashButtonWithDetails.js +1 -1
  114. package/build/rn/StackView.js +1 -1
  115. package/build/rn/Status.js +2 -1
  116. package/build/rn/StepTracker.js +1 -1
  117. package/build/rn/StoryCard.js +1 -1
  118. package/build/rn/TabBar.js +34 -0
  119. package/build/rn/TabBarItem.js +67 -0
  120. package/build/rn/Table.js +1 -1
  121. package/build/rn/Tabs.js +1 -1
  122. package/build/rn/TabsItem.js +1 -1
  123. package/build/rn/Tags.js +1 -1
  124. package/build/rn/TagsItem.js +1 -1
  125. package/build/rn/TermsAndConditions.js +1 -1
  126. package/build/rn/Testimonial.js +1 -1
  127. package/build/rn/TextArea.js +1 -1
  128. package/build/rn/TextInput.js +1 -1
  129. package/build/rn/Timeline.js +1 -1
  130. package/build/rn/Toast.js +1 -1
  131. package/build/rn/ToggleSwitch.js +5 -5
  132. package/build/rn/ToggleSwitchGroup.js +1 -1
  133. package/build/rn/Tooltip.js +1 -1
  134. package/build/rn/TooltipButton.js +1 -1
  135. package/build/rn/Typography.js +1 -1
  136. package/build/rn/Video.js +1 -1
  137. package/build/rn/VideoButton.js +1 -1
  138. package/build/rn/VideoControlBar.js +1 -1
  139. package/build/rn/VideoMenu.js +1 -1
  140. package/build/rn/VideoMiddleControlButton.js +1 -1
  141. package/build/rn/VideoPicker.js +1 -1
  142. package/build/rn/VideoPickerSlider.js +1 -1
  143. package/build/rn/VideoPickerThumbnail.js +1 -1
  144. package/build/rn/VideoProgressBar.js +1 -1
  145. package/build/rn/VideoVolumeSlider.js +1 -1
  146. package/build/rn/WaffleGrid.js +1 -1
  147. package/build/rn/schema.json +1463 -761
  148. package/build/rn/spacingScale.js +1 -1
  149. package/build/rn/theme.js +262 -14
  150. package/build/web/ActionCard.js +1 -1
  151. package/build/web/ActivityIndicator.js +1 -1
  152. package/build/web/Badge.js +1 -1
  153. package/build/web/BlockQuote.js +1 -1
  154. package/build/web/Box.js +1 -1
  155. package/build/web/Breadcrumbs.js +1 -1
  156. package/build/web/Button.js +1 -1
  157. package/build/web/ButtonDropdown.js +2 -2
  158. package/build/web/ButtonGroup.js +20 -2
  159. package/build/web/ButtonGroupItem.js +53 -3
  160. package/build/web/Callout.js +1 -1
  161. package/build/web/Card.js +1 -1
  162. package/build/web/CardGroup.js +5 -1
  163. package/build/web/Carousel.js +1 -1
  164. package/build/web/CarouselTabsPanelItem.js +1 -1
  165. package/build/web/CarouselThumbnail.js +1 -1
  166. package/build/web/Checkbox.js +1 -1
  167. package/build/web/CheckboxCard.js +1 -1
  168. package/build/web/CheckboxCardGroup.js +1 -1
  169. package/build/web/CheckboxGroup.js +1 -1
  170. package/build/web/ChevronLink.js +1 -1
  171. package/build/web/ColourToggle.js +1 -1
  172. package/build/web/Countdown.js +1 -1
  173. package/build/web/DatePicker.js +1 -1
  174. package/build/web/Disclaimer.js +1 -1
  175. package/build/web/Divider.js +1 -1
  176. package/build/web/DownloadApp.js +62 -0
  177. package/build/web/ExpandCollapse.js +1 -1
  178. package/build/web/ExpandCollapseControl.js +1 -1
  179. package/build/web/ExpandCollapseMini.js +1 -1
  180. package/build/web/ExpandCollapseMiniControl.js +1 -1
  181. package/build/web/ExpandCollapsePanel.js +1 -1
  182. package/build/web/Feedback.js +1 -1
  183. package/build/web/Fieldset.js +1 -1
  184. package/build/web/FileUpload.js +34 -0
  185. package/build/web/Footnote.js +1 -1
  186. package/build/web/FootnoteLink.js +1 -1
  187. package/build/web/HorizontalScrollButton.js +1 -1
  188. package/build/web/Icon.js +2 -2
  189. package/build/web/IconButton.js +1 -1
  190. package/build/web/Image.js +1 -1
  191. package/build/web/InputLabel.js +1 -1
  192. package/build/web/InputSupports.js +1 -1
  193. package/build/web/Link.js +2 -2
  194. package/build/web/List.js +1 -1
  195. package/build/web/Listbox.js +1 -1
  196. package/build/web/Modal.js +1 -1
  197. package/build/web/MultiSelectFilter.js +9 -3
  198. package/build/web/NavigationBar.js +1 -1
  199. package/build/web/Notification.js +1 -1
  200. package/build/web/OrderedList.js +1 -1
  201. package/build/web/Pagination.js +1 -1
  202. package/build/web/PaginationPageButton.js +1 -1
  203. package/build/web/PaginationSideButton.js +1 -1
  204. package/build/web/PreviewCard.js +1 -1
  205. package/build/web/PriceLockup.js +1 -1
  206. package/build/web/ProductCard.js +1 -1
  207. package/build/web/Progress.js +1 -1
  208. package/build/web/ProgressBar.js +1 -1
  209. package/build/web/QuantitySelector.js +1 -1
  210. package/build/web/QuantitySelectorSideButton.js +1 -1
  211. package/build/web/QuickLinks.js +1 -1
  212. package/build/web/QuickLinksButton.js +1 -1
  213. package/build/web/QuickLinksCard.js +1 -1
  214. package/build/web/QuickLinksFeature.js +1 -1
  215. package/build/web/QuickLinksFeatureItem.js +1 -1
  216. package/build/web/QuickLinksList.js +1 -1
  217. package/build/web/Radio.js +1 -1
  218. package/build/web/RadioCard.js +1 -1
  219. package/build/web/RadioCardGroup.js +1 -1
  220. package/build/web/RadioGroup.js +1 -1
  221. package/build/web/Ribbon.js +1 -1
  222. package/build/web/Search.js +1 -1
  223. package/build/web/SearchButton.js +1 -1
  224. package/build/web/Select.js +1 -1
  225. package/build/web/SideNav.js +1 -1
  226. package/build/web/SideNavItem.js +1 -1
  227. package/build/web/SideNavItemsGroup.js +1 -1
  228. package/build/web/Skeleton.js +1 -1
  229. package/build/web/SkipLink.js +1 -1
  230. package/build/web/Spinner.js +1 -1
  231. package/build/web/SplashButton.js +1 -1
  232. package/build/web/SplashButtonWithDetails.js +1 -1
  233. package/build/web/StackView.js +1 -1
  234. package/build/web/Status.js +2 -1
  235. package/build/web/StepTracker.js +1 -1
  236. package/build/web/StoryCard.js +1 -1
  237. package/build/web/TabBar.js +34 -0
  238. package/build/web/TabBarItem.js +67 -0
  239. package/build/web/Table.js +1 -1
  240. package/build/web/Tabs.js +1 -1
  241. package/build/web/TabsItem.js +1 -1
  242. package/build/web/Tags.js +1 -1
  243. package/build/web/TagsItem.js +1 -1
  244. package/build/web/TermsAndConditions.js +1 -1
  245. package/build/web/Testimonial.js +1 -1
  246. package/build/web/TextArea.js +1 -1
  247. package/build/web/TextInput.js +1 -1
  248. package/build/web/Timeline.js +1 -1
  249. package/build/web/Toast.js +1 -1
  250. package/build/web/ToggleSwitch.js +5 -5
  251. package/build/web/ToggleSwitchGroup.js +1 -1
  252. package/build/web/Tooltip.js +1 -1
  253. package/build/web/TooltipButton.js +1 -1
  254. package/build/web/Typography.js +1 -1
  255. package/build/web/Video.js +1 -1
  256. package/build/web/VideoButton.js +1 -1
  257. package/build/web/VideoControlBar.js +1 -1
  258. package/build/web/VideoMenu.js +1 -1
  259. package/build/web/VideoMiddleControlButton.js +1 -1
  260. package/build/web/VideoPicker.js +1 -1
  261. package/build/web/VideoPickerSlider.js +1 -1
  262. package/build/web/VideoPickerThumbnail.js +1 -1
  263. package/build/web/VideoProgressBar.js +1 -1
  264. package/build/web/VideoVolumeSlider.js +1 -1
  265. package/build/web/WaffleGrid.js +1 -1
  266. package/build/web/index.js +5 -1
  267. package/build/web/schema.json +1463 -761
  268. package/build/web/spacingScale.js +1 -1
  269. package/build/web/theme.js +262 -14
  270. package/package.json +4 -4
  271. package/theme.json +283 -8
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 22 Aug 2024 18:15:48 GMT
4
+ * Generated on Wed, 25 Sep 2024 16:55:50 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 22 Aug 2024 18:15:48 GMT
4
+ * Generated on Wed, 25 Sep 2024 16:55:50 GMT
5
5
  *
6
6
  */
7
7
 
@@ -15,6 +15,10 @@ import PaletteIconCheck from '@telus-uds/palette-koodo/build/rn/icons/Check'
15
15
  import PaletteIconPause from '@telus-uds/palette-koodo/build/rn/icons/Pause'
16
16
  import PaletteIconPlay from '@telus-uds/palette-koodo/build/rn/icons/Play'
17
17
  import PaletteIconChevronLeft from '@telus-uds/palette-koodo/build/rn/icons/ChevronLeft'
18
+ import PaletteIconAndroidEN from '@telus-uds/palette-koodo/build/rn/icons/AndroidEN'
19
+ import PaletteIconAndroidFR from '@telus-uds/palette-koodo/build/rn/icons/AndroidFR'
20
+ import PaletteIconIOSEN from '@telus-uds/palette-koodo/build/rn/icons/IOSEN'
21
+ import PaletteIconIOSFR from '@telus-uds/palette-koodo/build/rn/icons/IOSFR'
18
22
  import PaletteIconCheckCircleFilled from '@telus-uds/palette-koodo/build/rn/icons/CheckCircleFilled'
19
23
  import PaletteIconClose from '@telus-uds/palette-koodo/build/rn/icons/Close'
20
24
  import PaletteIconAdd from '@telus-uds/palette-koodo/build/rn/icons/Add'
@@ -971,7 +975,7 @@ const theme = {
971
975
  borderRadius: 4,
972
976
  borderWidth: 1,
973
977
  color: '#000000',
974
- dividerColor: '#000000',
978
+ dividerColor: '#c9c8c8',
975
979
  fontName: 'StagSans',
976
980
  fontSize: 14,
977
981
  fontWeight: '600',
@@ -1005,6 +1009,11 @@ const theme = {
1005
1009
  },
1006
1010
  ButtonGroup: {
1007
1011
  appearances: {
1012
+ style: {
1013
+ description: 'Configure `style` variant for `ButtonGroup`',
1014
+ type: 'variant',
1015
+ values: [ 'contained' ]
1016
+ },
1008
1017
  viewport: {
1009
1018
  description: 'The size label for the current screen viewport based on the current screen width',
1010
1019
  type: 'state',
@@ -1017,7 +1026,10 @@ const theme = {
1017
1026
  }
1018
1027
  },
1019
1028
  rules: [
1020
- { if: { viewport: [ 'xs', 'sm' ] }, tokens: { space: 2 } },
1029
+ {
1030
+ if: { viewport: [ 'xs', 'sm' ] },
1031
+ tokens: { gap: 3, space: 2 }
1032
+ },
1021
1033
  {
1022
1034
  if: { viewport: [ 'md', 'lg', 'xl' ] },
1023
1035
  tokens: { space: 3 }
@@ -1025,15 +1037,28 @@ const theme = {
1025
1037
  {
1026
1038
  if: { viewport: [ 'xs' ], width: 'responsive' },
1027
1039
  tokens: { alignItems: 'stretch', direction: 'column' }
1040
+ },
1041
+ {
1042
+ if: { style: 'contained' },
1043
+ tokens: {
1044
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
1045
+ borderRadius: 8,
1046
+ padding: 8,
1047
+ space: 2
1048
+ }
1028
1049
  }
1029
1050
  ],
1030
1051
  tokens: {
1031
1052
  alignItems: 'center',
1053
+ backgroundColor: null,
1054
+ borderRadius: 0,
1032
1055
  direction: 'row',
1033
1056
  fieldSpace: 2,
1034
1057
  flexGrow: 0,
1035
1058
  flexShrink: 0,
1059
+ gap: 2,
1036
1060
  justifyContent: 'flex-start',
1061
+ padding: 0,
1037
1062
  space: 2
1038
1063
  }
1039
1064
  },
@@ -1054,7 +1079,7 @@ const theme = {
1054
1079
  iconPosition: {
1055
1080
  description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
1056
1081
  type: 'state',
1057
- values: [ 'left', 'right' ]
1082
+ values: [ 'left', 'right', 'inline' ]
1058
1083
  },
1059
1084
  inactive: {
1060
1085
  description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
@@ -1071,6 +1096,11 @@ const theme = {
1071
1096
  type: 'state',
1072
1097
  values: [ true ]
1073
1098
  },
1099
+ style: {
1100
+ description: 'Configure `style` variant for `ButtonGroupItem`',
1101
+ type: 'variant',
1102
+ values: [ 'contained' ]
1103
+ },
1074
1104
  width: {
1075
1105
  description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
1076
1106
  type: 'variant',
@@ -1123,7 +1153,56 @@ const theme = {
1123
1153
  }
1124
1154
  },
1125
1155
  { if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
1126
- { if: { width: 'responsive' }, tokens: { width: '100%' } }
1156
+ { if: { width: 'responsive' }, tokens: { width: '100%' } },
1157
+ {
1158
+ if: { style: 'contained' },
1159
+ tokens: {
1160
+ backgroundColor: 'rgba(0, 0, 0, 0)',
1161
+ borderColor: 'rgba(0, 0, 0, 0)',
1162
+ borderWidth: 0,
1163
+ height: 40
1164
+ }
1165
+ },
1166
+ {
1167
+ if: { hover: true, style: 'contained' },
1168
+ tokens: {
1169
+ backgroundColor: '#404040',
1170
+ color: '#ffffff',
1171
+ outerBorderWidth: 0
1172
+ }
1173
+ },
1174
+ {
1175
+ if: { selected: true, style: 'contained' },
1176
+ tokens: {
1177
+ backgroundColor: '#7a3dfc',
1178
+ color: '#ffffff',
1179
+ outerBorderWidth: 0
1180
+ }
1181
+ },
1182
+ {
1183
+ if: { focus: true, style: 'contained' },
1184
+ tokens: {
1185
+ borderColor: '#000000',
1186
+ borderWidth: 1,
1187
+ outerBorderWidth: 0
1188
+ }
1189
+ },
1190
+ {
1191
+ if: { hover: true, selected: true, style: 'contained' },
1192
+ tokens: {
1193
+ backgroundColor: '#5b2bc2',
1194
+ color: '#ffffff',
1195
+ outerBorderWidth: 0
1196
+ }
1197
+ },
1198
+ {
1199
+ if: { focus: true, selected: true, style: 'contained' },
1200
+ tokens: { outerBorderColor: '#7a3dfc', outerBorderWidth: 1 }
1201
+ },
1202
+ {
1203
+ if: { pressed: true, style: 'contained' },
1204
+ tokens: { backgroundColor: '#404040', color: '#666666' }
1205
+ }
1127
1206
  ],
1128
1207
  tokens: {
1129
1208
  alignSelf: 'flex-start',
@@ -1482,6 +1561,10 @@ const theme = {
1482
1561
  fieldSpace: 3,
1483
1562
  outlineOffset: 8,
1484
1563
  outlineWidth: 1,
1564
+ paddingBottom: 24,
1565
+ paddingLeft: 24,
1566
+ paddingRight: 24,
1567
+ paddingTop: 24,
1485
1568
  showIcon: true,
1486
1569
  space: 3
1487
1570
  }
@@ -2374,6 +2457,56 @@ const theme = {
2374
2457
  ],
2375
2458
  tokens: { color: '#c9c8c8', width: 1 }
2376
2459
  },
2460
+ DownloadApp: {
2461
+ appearances: {
2462
+ focus: {
2463
+ description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
2464
+ platforms: [ 'rn', 'web' ],
2465
+ type: 'state',
2466
+ values: [ true, false ]
2467
+ },
2468
+ hover: {
2469
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
2470
+ platforms: [ 'rn', 'web' ],
2471
+ type: 'state',
2472
+ values: [ true, false ]
2473
+ },
2474
+ pressed: {
2475
+ 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.',
2476
+ type: 'state',
2477
+ values: [ true, false ]
2478
+ }
2479
+ },
2480
+ rules: [
2481
+ {
2482
+ if: { focus: true },
2483
+ tokens: { borderColor: '#000000', borderRadius: 4 }
2484
+ },
2485
+ {
2486
+ if: { hover: true },
2487
+ tokens: { borderColor: '#666666', borderRadius: 4 }
2488
+ },
2489
+ {
2490
+ if: { pressed: true },
2491
+ tokens: { borderColor: '#666666', borderRadius: 4 }
2492
+ },
2493
+ {
2494
+ if: { focus: true, pressed: true },
2495
+ tokens: { borderColor: '#666666', borderRadius: 4 }
2496
+ }
2497
+ ],
2498
+ tokens: {
2499
+ androidENIcon: PaletteIconAndroidEN,
2500
+ androidFRIcon: PaletteIconAndroidFR,
2501
+ borderColor: 'rgba(0, 0, 0, 0)',
2502
+ borderGap: 2,
2503
+ borderRadius: 0,
2504
+ borderWidth: 1,
2505
+ iosENIcon: PaletteIconIOSEN,
2506
+ iosFRIcon: PaletteIconIOSFR,
2507
+ padding: 1
2508
+ }
2509
+ },
2377
2510
  ExpandCollapse: {
2378
2511
  appearances: {},
2379
2512
  rules: [],
@@ -2705,6 +2838,31 @@ const theme = {
2705
2838
  paddingTop: 0
2706
2839
  }
2707
2840
  },
2841
+ FileUpload: {
2842
+ appearances: {},
2843
+ rules: [],
2844
+ tokens: {
2845
+ buttonBackgroundColor: null,
2846
+ buttonBorderColor: null,
2847
+ buttonBorderRadius: null,
2848
+ buttonBorderWidth: null,
2849
+ buttonHeight: null,
2850
+ buttonMinWidth: null,
2851
+ buttonTextColor: null,
2852
+ buttonWidth: null,
2853
+ notificationBackgroundColor: null,
2854
+ notificationBorderColor: null,
2855
+ notificationBorderRadius: null,
2856
+ notificationDismissButtonGap: null,
2857
+ notificationDismissIcon: null,
2858
+ notificationDismissIconColor: null,
2859
+ notificationIcon: null,
2860
+ notificationIconColor: null,
2861
+ notificationIconGap: null,
2862
+ notificationIconSize: null,
2863
+ notificationTextColor: '#000000'
2864
+ }
2865
+ },
2708
2866
  Footnote: {
2709
2867
  appearances: {
2710
2868
  viewport: {
@@ -2987,7 +3145,7 @@ const theme = {
2987
3145
  { if: { size: 'extraLarge' }, tokens: { size: 48 } },
2988
3146
  { if: { color: 'brand' }, tokens: { color: '#ff0076' } },
2989
3147
  { if: { color: 'subtle' }, tokens: { color: '#666666' } },
2990
- { if: { color: 'offer' }, tokens: { color: '#ff0076' } },
3148
+ { if: { color: 'offer' }, tokens: { color: '#7a3dfc' } },
2991
3149
  { if: { color: 'success' }, tokens: { color: '#1c7b2b' } },
2992
3150
  { if: { color: 'danger' }, tokens: { color: '#c9370b' } },
2993
3151
  { if: { color: 'warning' }, tokens: { color: '#c9370b' } },
@@ -3313,7 +3471,7 @@ const theme = {
3313
3471
  iconPosition: {
3314
3472
  description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
3315
3473
  type: 'state',
3316
- values: [ 'left', 'right' ]
3474
+ values: [ 'left', 'right', 'inline' ]
3317
3475
  },
3318
3476
  inverse: { type: 'variant', values: [ true ] },
3319
3477
  pressed: {
@@ -3927,14 +4085,20 @@ const theme = {
3927
4085
  ],
3928
4086
  tokens: {
3929
4087
  buttonDirection: 'row',
4088
+ contentMarginBottom: 32,
4089
+ contentMarginLeft: 16,
4090
+ contentMarginRight: 16,
4091
+ contentMarginTop: 24,
4092
+ contentPaddingLeft: 16,
4093
+ contentPaddingRight: 16,
3930
4094
  headerFontColor: '#000000',
3931
4095
  headerFontName: 'StagSans',
3932
4096
  headerFontSize: 24,
3933
4097
  headerFontWeight: '700',
3934
4098
  headerLineHeight: 1.33333333333,
3935
- maxHeightSize: 0,
4099
+ maxHeightSize: 480,
3936
4100
  maxWidthSize: 0,
3937
- minHeight: 412,
4101
+ minHeight: 0,
3938
4102
  minWidth: 320,
3939
4103
  subHeaderFontName: 'StagSans',
3940
4104
  subHeaderFontSize: 16,
@@ -6189,6 +6353,7 @@ const theme = {
6189
6353
  icon: PaletteIconToolTipFilled,
6190
6354
  iconColor: '#000000',
6191
6355
  iconGradient: null,
6356
+ marginLeft: 8,
6192
6357
  paddingBottom: 0,
6193
6358
  paddingLeft: 0,
6194
6359
  paddingRight: 0,
@@ -6349,6 +6514,89 @@ const theme = {
6349
6514
  }
6350
6515
  }
6351
6516
  },
6517
+ TabBar: {
6518
+ appearances: {
6519
+ pressed: {
6520
+ 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.',
6521
+ type: 'state',
6522
+ values: [ true, false ]
6523
+ }
6524
+ },
6525
+ rules: [
6526
+ {
6527
+ if: { pressed: true },
6528
+ tokens: { paddingBottom: 0, paddingTop: 0 }
6529
+ }
6530
+ ],
6531
+ tokens: {
6532
+ backgroundColor: '#fafafa',
6533
+ borderTopColor: '#efefef',
6534
+ borderTopWidth: 1,
6535
+ gap: 8,
6536
+ paddingBottom: 4,
6537
+ paddingLeft: 8,
6538
+ paddingRight: 8,
6539
+ paddingTop: 4
6540
+ }
6541
+ },
6542
+ TabBarItem: {
6543
+ appearances: {
6544
+ focus: {
6545
+ 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.',
6546
+ type: 'state',
6547
+ values: [ true, false ]
6548
+ },
6549
+ hover: {
6550
+ 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.',
6551
+ type: 'state',
6552
+ values: [ true, false ]
6553
+ },
6554
+ pressed: {
6555
+ 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.',
6556
+ type: 'state',
6557
+ values: [ true, false ]
6558
+ },
6559
+ selected: {
6560
+ 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.',
6561
+ type: 'state',
6562
+ values: [ true, false ]
6563
+ }
6564
+ },
6565
+ rules: [
6566
+ {
6567
+ if: { focus: true },
6568
+ tokens: {
6569
+ backgroundColor: '#efefef',
6570
+ color: '#000000',
6571
+ iconColor: '#000000',
6572
+ iconSize: 26
6573
+ }
6574
+ },
6575
+ {
6576
+ if: { pressed: true },
6577
+ tokens: {
6578
+ backgroundColor: 'rgba(0, 0, 0, 0)',
6579
+ color: '#5b2bc2',
6580
+ iconColor: '#5b2bc2',
6581
+ iconSize: 22
6582
+ }
6583
+ },
6584
+ { if: { hover: true }, tokens: { iconSize: 26 } }
6585
+ ],
6586
+ tokens: {
6587
+ activeColor: '#7a3dfc',
6588
+ backgroundColor: 'rgba(0, 0, 0, 0)',
6589
+ borderRadius: 4,
6590
+ color: '#000000',
6591
+ fontName: 'StagSans',
6592
+ fontWeight: '600',
6593
+ iconColor: '#000000',
6594
+ iconSize: 24,
6595
+ lineHeight: 1.33333333333,
6596
+ paddingBottom: 4,
6597
+ paddingTop: 4
6598
+ }
6599
+ },
6352
6600
  Table: {
6353
6601
  appearances: {
6354
6602
  spacing: {
@@ -7253,7 +7501,7 @@ const theme = {
7253
7501
  },
7254
7502
  {
7255
7503
  if: { hover: true, selected: true },
7256
- tokens: { backgroundColor: '#efefef', switchColor: '#404040' }
7504
+ tokens: { backgroundColor: '#c9c8c8', switchColor: '#404040' }
7257
7505
  },
7258
7506
  {
7259
7507
  if: { pressed: true, selected: true },
@@ -7262,7 +7510,7 @@ const theme = {
7262
7510
  {
7263
7511
  if: { focus: true, selected: true },
7264
7512
  tokens: {
7265
- backgroundColor: '#efefef',
7513
+ backgroundColor: '#c9c8c8',
7266
7514
  icon: PaletteIconCheck,
7267
7515
  iconColor: '#ffffff',
7268
7516
  outerBorderColor: '#000000',
@@ -7294,7 +7542,7 @@ const theme = {
7294
7542
  {
7295
7543
  if: { inactive: true },
7296
7544
  tokens: {
7297
- backgroundColor: '#efefef',
7545
+ backgroundColor: '#c9c8c8',
7298
7546
  opacity: 0.5,
7299
7547
  switchBorderColor: 'rgba(0, 0, 0, 0)',
7300
7548
  switchColor: '#c9c8c8'
@@ -7303,7 +7551,7 @@ const theme = {
7303
7551
  {
7304
7552
  if: { inactive: true, selected: true },
7305
7553
  tokens: {
7306
- backgroundColor: '#efefef',
7554
+ backgroundColor: '#c9c8c8',
7307
7555
  icon: PaletteIconCheck,
7308
7556
  iconColor: '#ffffff',
7309
7557
  opacity: 0.5,
@@ -7996,6 +8244,6 @@ const theme = {
7996
8244
  tokens: { size: 96 }
7997
8245
  }
7998
8246
  },
7999
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.62.0' }
8247
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.64.0' }
8000
8248
  }
8001
8249
  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.6.0",
9
- "@telus-uds/system-theme-tokens": "^2.62.0"
8
+ "@telus-uds/palette-koodo": "^1.8.0",
9
+ "@telus-uds/system-theme-tokens": "^2.64.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.6.0"
23
+ "@telus-uds/palette-koodo": "^1.8.0"
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.19.0"
34
+ "version": "5.21.0"
35
35
  }