@telus-uds/theme-allium 5.0.0 → 5.2.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.
- package/build/android/ButtonGroup.json +41 -1
- package/build/android/ButtonGroupItem.json +62 -1
- package/build/android/CardGroup.json +4 -0
- package/build/android/DownloadApp.json +41 -0
- package/build/android/FileUpload.json +65 -0
- package/build/android/Icon.json +16 -2
- package/build/android/Link.json +9 -1
- package/build/android/MultiSelectFilter.json +8 -2
- package/build/android/Status.json +4 -3
- package/build/android/TabBar.json +40 -0
- package/build/android/TabBarItem.json +75 -0
- package/build/android/schema.json +1793 -1031
- package/build/android/theme.json +366 -11
- package/build/ios/ButtonGroup.json +41 -1
- package/build/ios/ButtonGroupItem.json +62 -1
- package/build/ios/CardGroup.json +4 -0
- package/build/ios/DownloadApp.json +41 -0
- package/build/ios/FileUpload.json +65 -0
- package/build/ios/Icon.json +16 -2
- package/build/ios/Link.json +9 -1
- package/build/ios/MultiSelectFilter.json +8 -2
- package/build/ios/Status.json +4 -3
- package/build/ios/TabBar.json +40 -0
- package/build/ios/TabBarItem.json +75 -0
- package/build/ios/schema.json +1793 -1031
- package/build/ios/theme.json +366 -11
- package/build/rn/ActionCard.js +1 -1
- package/build/rn/ActivityIndicator.js +1 -1
- package/build/rn/Badge.js +1 -1
- package/build/rn/BlockQuote.js +1 -1
- package/build/rn/Box.js +1 -1
- package/build/rn/Breadcrumbs.js +1 -1
- package/build/rn/Button.js +1 -1
- package/build/rn/ButtonDropdown.js +1 -1
- package/build/rn/ButtonGroup.js +28 -3
- package/build/rn/ButtonGroupItem.js +54 -3
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +1 -1
- package/build/rn/CardGroup.js +5 -1
- package/build/rn/Carousel.js +1 -1
- package/build/rn/CarouselTabsPanelItem.js +1 -1
- package/build/rn/CarouselThumbnail.js +1 -1
- package/build/rn/Checkbox.js +1 -1
- package/build/rn/CheckboxCard.js +1 -1
- package/build/rn/CheckboxCardGroup.js +1 -1
- package/build/rn/CheckboxGroup.js +1 -1
- package/build/rn/ChevronLink.js +1 -1
- package/build/rn/ColourToggle.js +1 -1
- package/build/rn/Countdown.js +1 -1
- package/build/rn/DatePicker.js +1 -1
- package/build/rn/Disclaimer.js +1 -1
- package/build/rn/Divider.js +1 -1
- package/build/rn/DownloadApp.js +62 -0
- package/build/rn/ExpandCollapse.js +1 -1
- package/build/rn/ExpandCollapseControl.js +1 -1
- package/build/rn/ExpandCollapseMini.js +1 -1
- package/build/rn/ExpandCollapseMiniControl.js +1 -1
- package/build/rn/ExpandCollapsePanel.js +1 -1
- package/build/rn/Feedback.js +1 -1
- package/build/rn/Fieldset.js +1 -1
- package/build/rn/FileUpload.js +34 -0
- package/build/rn/Footnote.js +1 -1
- package/build/rn/FootnoteLink.js +1 -1
- package/build/rn/HorizontalScrollButton.js +1 -1
- package/build/rn/Icon.js +5 -4
- package/build/rn/IconButton.js +1 -1
- package/build/rn/Image.js +1 -1
- package/build/rn/InputLabel.js +1 -1
- package/build/rn/InputSupports.js +1 -1
- package/build/rn/Link.js +3 -2
- package/build/rn/List.js +1 -1
- package/build/rn/Listbox.js +1 -1
- package/build/rn/Modal.js +1 -1
- package/build/rn/MultiSelectFilter.js +9 -3
- package/build/rn/NavigationBar.js +1 -1
- package/build/rn/Notification.js +1 -1
- package/build/rn/OrderedList.js +1 -1
- package/build/rn/Pagination.js +1 -1
- package/build/rn/PaginationPageButton.js +1 -1
- package/build/rn/PaginationSideButton.js +1 -1
- package/build/rn/PreviewCard.js +1 -1
- package/build/rn/PriceLockup.js +1 -1
- package/build/rn/ProductCard.js +1 -1
- package/build/rn/Progress.js +1 -1
- package/build/rn/ProgressBar.js +1 -1
- package/build/rn/QuantitySelector.js +1 -1
- package/build/rn/QuantitySelectorSideButton.js +1 -1
- package/build/rn/QuickLinks.js +1 -1
- package/build/rn/QuickLinksButton.js +1 -1
- package/build/rn/QuickLinksCard.js +1 -1
- package/build/rn/QuickLinksFeature.js +1 -1
- package/build/rn/QuickLinksFeatureItem.js +1 -1
- package/build/rn/QuickLinksList.js +1 -1
- package/build/rn/Radio.js +1 -1
- package/build/rn/RadioCard.js +1 -1
- package/build/rn/RadioCardGroup.js +1 -1
- package/build/rn/RadioGroup.js +1 -1
- package/build/rn/Ribbon.js +1 -1
- package/build/rn/Search.js +1 -1
- package/build/rn/SearchButton.js +1 -1
- package/build/rn/Select.js +1 -1
- package/build/rn/SideNav.js +1 -1
- package/build/rn/SideNavItem.js +1 -1
- package/build/rn/SideNavItemsGroup.js +1 -1
- package/build/rn/Skeleton.js +1 -1
- package/build/rn/SkipLink.js +1 -1
- package/build/rn/Spinner.js +1 -1
- package/build/rn/SplashButton.js +1 -1
- package/build/rn/SplashButtonWithDetails.js +1 -1
- package/build/rn/StackView.js +1 -1
- package/build/rn/Status.js +3 -2
- package/build/rn/StepTracker.js +1 -1
- package/build/rn/StoryCard.js +1 -1
- package/build/rn/TabBar.js +34 -0
- package/build/rn/TabBarItem.js +69 -0
- package/build/rn/Table.js +1 -1
- package/build/rn/Tabs.js +1 -1
- package/build/rn/TabsItem.js +1 -1
- package/build/rn/Tags.js +1 -1
- package/build/rn/TagsItem.js +1 -1
- package/build/rn/TermsAndConditions.js +1 -1
- package/build/rn/Testimonial.js +1 -1
- package/build/rn/TextArea.js +1 -1
- package/build/rn/TextInput.js +1 -1
- package/build/rn/Timeline.js +1 -1
- package/build/rn/Toast.js +1 -1
- package/build/rn/ToggleSwitch.js +1 -1
- package/build/rn/ToggleSwitchGroup.js +1 -1
- package/build/rn/Tooltip.js +1 -1
- package/build/rn/TooltipButton.js +1 -1
- package/build/rn/Typography.js +1 -1
- package/build/rn/Video.js +1 -1
- package/build/rn/VideoButton.js +1 -1
- package/build/rn/VideoControlBar.js +1 -1
- package/build/rn/VideoMenu.js +1 -1
- package/build/rn/VideoMiddleControlButton.js +1 -1
- package/build/rn/VideoPicker.js +1 -1
- package/build/rn/VideoPickerSlider.js +1 -1
- package/build/rn/VideoPickerThumbnail.js +1 -1
- package/build/rn/VideoProgressBar.js +1 -1
- package/build/rn/VideoVolumeSlider.js +1 -1
- package/build/rn/WaffleGrid.js +1 -1
- package/build/rn/schema.json +1793 -1031
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +273 -13
- package/build/web/ActionCard.js +1 -1
- package/build/web/ActivityIndicator.js +1 -1
- package/build/web/Badge.js +1 -1
- package/build/web/BlockQuote.js +1 -1
- package/build/web/Box.js +1 -1
- package/build/web/Breadcrumbs.js +1 -1
- package/build/web/Button.js +1 -1
- package/build/web/ButtonDropdown.js +1 -1
- package/build/web/ButtonGroup.js +28 -3
- package/build/web/ButtonGroupItem.js +54 -3
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +1 -1
- package/build/web/CardGroup.js +5 -1
- package/build/web/Carousel.js +1 -1
- package/build/web/CarouselTabsPanelItem.js +1 -1
- package/build/web/CarouselThumbnail.js +1 -1
- package/build/web/Checkbox.js +1 -1
- package/build/web/CheckboxCard.js +1 -1
- package/build/web/CheckboxCardGroup.js +1 -1
- package/build/web/CheckboxGroup.js +1 -1
- package/build/web/ChevronLink.js +1 -1
- package/build/web/ColourToggle.js +1 -1
- package/build/web/Countdown.js +1 -1
- package/build/web/DatePicker.js +1 -1
- package/build/web/Disclaimer.js +1 -1
- package/build/web/Divider.js +1 -1
- package/build/web/DownloadApp.js +62 -0
- package/build/web/ExpandCollapse.js +1 -1
- package/build/web/ExpandCollapseControl.js +1 -1
- package/build/web/ExpandCollapseMini.js +1 -1
- package/build/web/ExpandCollapseMiniControl.js +1 -1
- package/build/web/ExpandCollapsePanel.js +1 -1
- package/build/web/Feedback.js +1 -1
- package/build/web/Fieldset.js +1 -1
- package/build/web/FileUpload.js +34 -0
- package/build/web/Footnote.js +1 -1
- package/build/web/FootnoteLink.js +1 -1
- package/build/web/HorizontalScrollButton.js +1 -1
- package/build/web/Icon.js +5 -4
- package/build/web/IconButton.js +1 -1
- package/build/web/Image.js +1 -1
- package/build/web/InputLabel.js +1 -1
- package/build/web/InputSupports.js +1 -1
- package/build/web/Link.js +3 -2
- package/build/web/List.js +1 -1
- package/build/web/Listbox.js +1 -1
- package/build/web/Modal.js +1 -1
- package/build/web/MultiSelectFilter.js +9 -3
- package/build/web/NavigationBar.js +1 -1
- package/build/web/Notification.js +1 -1
- package/build/web/OrderedList.js +1 -1
- package/build/web/Pagination.js +1 -1
- package/build/web/PaginationPageButton.js +1 -1
- package/build/web/PaginationSideButton.js +1 -1
- package/build/web/PreviewCard.js +1 -1
- package/build/web/PriceLockup.js +1 -1
- package/build/web/ProductCard.js +1 -1
- package/build/web/Progress.js +1 -1
- package/build/web/ProgressBar.js +1 -1
- package/build/web/QuantitySelector.js +1 -1
- package/build/web/QuantitySelectorSideButton.js +1 -1
- package/build/web/QuickLinks.js +1 -1
- package/build/web/QuickLinksButton.js +1 -1
- package/build/web/QuickLinksCard.js +1 -1
- package/build/web/QuickLinksFeature.js +1 -1
- package/build/web/QuickLinksFeatureItem.js +1 -1
- package/build/web/QuickLinksList.js +1 -1
- package/build/web/Radio.js +1 -1
- package/build/web/RadioCard.js +1 -1
- package/build/web/RadioCardGroup.js +1 -1
- package/build/web/RadioGroup.js +1 -1
- package/build/web/Ribbon.js +1 -1
- package/build/web/Search.js +1 -1
- package/build/web/SearchButton.js +1 -1
- package/build/web/Select.js +1 -1
- package/build/web/SideNav.js +1 -1
- package/build/web/SideNavItem.js +1 -1
- package/build/web/SideNavItemsGroup.js +1 -1
- package/build/web/Skeleton.js +1 -1
- package/build/web/SkipLink.js +1 -1
- package/build/web/Spinner.js +1 -1
- package/build/web/SplashButton.js +1 -1
- package/build/web/SplashButtonWithDetails.js +1 -1
- package/build/web/StackView.js +1 -1
- package/build/web/Status.js +3 -2
- package/build/web/StepTracker.js +1 -1
- package/build/web/StoryCard.js +1 -1
- package/build/web/TabBar.js +34 -0
- package/build/web/TabBarItem.js +69 -0
- package/build/web/Table.js +1 -1
- package/build/web/Tabs.js +1 -1
- package/build/web/TabsItem.js +1 -1
- package/build/web/Tags.js +1 -1
- package/build/web/TagsItem.js +1 -1
- package/build/web/TermsAndConditions.js +1 -1
- package/build/web/Testimonial.js +1 -1
- package/build/web/TextArea.js +1 -1
- package/build/web/TextInput.js +1 -1
- package/build/web/Timeline.js +1 -1
- package/build/web/Toast.js +1 -1
- package/build/web/ToggleSwitch.js +1 -1
- package/build/web/ToggleSwitchGroup.js +1 -1
- package/build/web/Tooltip.js +1 -1
- package/build/web/TooltipButton.js +1 -1
- package/build/web/Typography.js +1 -1
- package/build/web/Video.js +1 -1
- package/build/web/VideoButton.js +1 -1
- package/build/web/VideoControlBar.js +1 -1
- package/build/web/VideoMenu.js +1 -1
- package/build/web/VideoMiddleControlButton.js +1 -1
- package/build/web/VideoPicker.js +1 -1
- package/build/web/VideoPickerSlider.js +1 -1
- package/build/web/VideoPickerThumbnail.js +1 -1
- package/build/web/VideoProgressBar.js +1 -1
- package/build/web/VideoVolumeSlider.js +1 -1
- package/build/web/WaffleGrid.js +1 -1
- package/build/web/index.js +5 -1
- package/build/web/schema.json +1793 -1031
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +273 -13
- package/package.json +5 -5
- package/theme.json +313 -4
package/build/rn/spacingScale.js
CHANGED
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 25 Sep 2024 16:56:19 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -15,6 +15,10 @@ const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/C
|
|
|
15
15
|
const PaletteIconPause = require('@telus-uds/palette-allium/build/rn/icons/Pause')
|
|
16
16
|
const PaletteIconPlayVideo = require('@telus-uds/palette-allium/build/rn/icons/PlayVideo')
|
|
17
17
|
const PaletteIconArrowLeft = require('@telus-uds/palette-allium/build/rn/icons/ArrowLeft')
|
|
18
|
+
const PaletteIconAndroidEN = require('@telus-uds/palette-allium/build/rn/icons/AndroidEN')
|
|
19
|
+
const PaletteIconAndroidFR = require('@telus-uds/palette-allium/build/rn/icons/AndroidFR')
|
|
20
|
+
const PaletteIconIOSEN = require('@telus-uds/palette-allium/build/rn/icons/IOSEN')
|
|
21
|
+
const PaletteIconIOSFR = require('@telus-uds/palette-allium/build/rn/icons/IOSFR')
|
|
18
22
|
const PaletteIconStatusSuccess = require('@telus-uds/palette-allium/build/rn/icons/StatusSuccess')
|
|
19
23
|
const PaletteIconClose = require('@telus-uds/palette-allium/build/rn/icons/Close')
|
|
20
24
|
const PaletteIconAdd = require('@telus-uds/palette-allium/build/rn/icons/Add')
|
|
@@ -989,6 +993,11 @@ module.exports = {
|
|
|
989
993
|
},
|
|
990
994
|
ButtonGroup: {
|
|
991
995
|
appearances: {
|
|
996
|
+
style: {
|
|
997
|
+
description: 'Configure `style` variant for `ButtonGroup`',
|
|
998
|
+
type: 'variant',
|
|
999
|
+
values: [ 'contained' ]
|
|
1000
|
+
},
|
|
992
1001
|
viewport: {
|
|
993
1002
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
994
1003
|
type: 'state',
|
|
@@ -1001,20 +1010,43 @@ module.exports = {
|
|
|
1001
1010
|
}
|
|
1002
1011
|
},
|
|
1003
1012
|
rules: [
|
|
1004
|
-
{
|
|
1013
|
+
{
|
|
1014
|
+
if: { viewport: [ 'lg', 'xl' ] },
|
|
1015
|
+
tokens: { gap: 3, space: 3 }
|
|
1016
|
+
},
|
|
1005
1017
|
{
|
|
1006
1018
|
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
1007
1019
|
tokens: { alignItems: 'stretch', direction: 'column' }
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
if: { style: 'contained' },
|
|
1023
|
+
tokens: {
|
|
1024
|
+
backgroundColor: 'rgba(0, 0, 0, 0.05)',
|
|
1025
|
+
borderRadius: 99,
|
|
1026
|
+
padding: 8,
|
|
1027
|
+
space: 2
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
if: {
|
|
1032
|
+
style: 'contained',
|
|
1033
|
+
viewport: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1034
|
+
},
|
|
1035
|
+
tokens: { borderRadius: 24 }
|
|
1008
1036
|
}
|
|
1009
1037
|
],
|
|
1010
1038
|
tokens: {
|
|
1011
1039
|
alignItems: 'center',
|
|
1040
|
+
backgroundColor: null,
|
|
1041
|
+
borderRadius: 0,
|
|
1012
1042
|
direction: 'row',
|
|
1013
1043
|
fieldSpace: 2,
|
|
1014
1044
|
flexGrow: 0,
|
|
1015
1045
|
flexShrink: 0,
|
|
1046
|
+
gap: 2,
|
|
1016
1047
|
justifyContent: 'flex-start',
|
|
1017
|
-
|
|
1048
|
+
padding: 0,
|
|
1049
|
+
space: 2
|
|
1018
1050
|
}
|
|
1019
1051
|
},
|
|
1020
1052
|
ButtonGroupItem: {
|
|
@@ -1034,7 +1066,7 @@ module.exports = {
|
|
|
1034
1066
|
iconPosition: {
|
|
1035
1067
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
1036
1068
|
type: 'state',
|
|
1037
|
-
values: [ 'left', 'right' ]
|
|
1069
|
+
values: [ 'left', 'right', 'inline' ]
|
|
1038
1070
|
},
|
|
1039
1071
|
inactive: {
|
|
1040
1072
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -1051,6 +1083,11 @@ module.exports = {
|
|
|
1051
1083
|
type: 'state',
|
|
1052
1084
|
values: [ true ]
|
|
1053
1085
|
},
|
|
1086
|
+
style: {
|
|
1087
|
+
description: 'Configure `style` variant for `ButtonGroupItem`',
|
|
1088
|
+
type: 'variant',
|
|
1089
|
+
values: [ 'contained' ]
|
|
1090
|
+
},
|
|
1054
1091
|
width: {
|
|
1055
1092
|
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
1056
1093
|
type: 'variant',
|
|
@@ -1110,7 +1147,57 @@ module.exports = {
|
|
|
1110
1147
|
}
|
|
1111
1148
|
},
|
|
1112
1149
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
1113
|
-
{ if: { width: 'responsive' }, tokens: { width: '100%' } }
|
|
1150
|
+
{ if: { width: 'responsive' }, tokens: { width: '100%' } },
|
|
1151
|
+
{
|
|
1152
|
+
if: { style: 'contained' },
|
|
1153
|
+
tokens: {
|
|
1154
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1155
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1156
|
+
borderWidth: 0,
|
|
1157
|
+
height: 32
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
if: { hover: true, style: 'contained' },
|
|
1162
|
+
tokens: {
|
|
1163
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1164
|
+
borderColor: '#676e73',
|
|
1165
|
+
borderWidth: 3
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
if: { selected: true, style: 'contained' },
|
|
1170
|
+
tokens: {
|
|
1171
|
+
backgroundColor: '#4b286d',
|
|
1172
|
+
color: '#ffffff',
|
|
1173
|
+
outerBorderWidth: 0
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
if: { focus: true, style: 'contained' },
|
|
1178
|
+
tokens: {
|
|
1179
|
+
borderColor: '#676e73',
|
|
1180
|
+
borderWidth: 1,
|
|
1181
|
+
outerBorderWidth: 0
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
if: { hover: true, selected: true, style: 'contained' },
|
|
1186
|
+
tokens: {
|
|
1187
|
+
backgroundColor: '#7c53a5',
|
|
1188
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1189
|
+
color: '#ffffff',
|
|
1190
|
+
outerBorderWidth: 0
|
|
1191
|
+
}
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
if: { focus: true, selected: true, style: 'contained' },
|
|
1195
|
+
tokens: { outerBorderColor: '#4b286d', outerBorderWidth: 2 }
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
if: { pressed: true, style: 'contained' },
|
|
1199
|
+
tokens: { backgroundColor: '#3f2a54' }
|
|
1200
|
+
}
|
|
1114
1201
|
],
|
|
1115
1202
|
tokens: {
|
|
1116
1203
|
alignSelf: 'flex-start',
|
|
@@ -1471,6 +1558,10 @@ module.exports = {
|
|
|
1471
1558
|
fieldSpace: 3,
|
|
1472
1559
|
outlineOffset: 8,
|
|
1473
1560
|
outlineWidth: 1,
|
|
1561
|
+
paddingBottom: 24,
|
|
1562
|
+
paddingLeft: 24,
|
|
1563
|
+
paddingRight: 24,
|
|
1564
|
+
paddingTop: 24,
|
|
1474
1565
|
showIcon: true,
|
|
1475
1566
|
space: 3
|
|
1476
1567
|
}
|
|
@@ -2340,6 +2431,56 @@ module.exports = {
|
|
|
2340
2431
|
],
|
|
2341
2432
|
tokens: { color: '#676e73', width: 1 }
|
|
2342
2433
|
},
|
|
2434
|
+
DownloadApp: {
|
|
2435
|
+
appearances: {
|
|
2436
|
+
focus: {
|
|
2437
|
+
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.",
|
|
2438
|
+
platforms: [ 'rn', 'web' ],
|
|
2439
|
+
type: 'state',
|
|
2440
|
+
values: [ true, false ]
|
|
2441
|
+
},
|
|
2442
|
+
hover: {
|
|
2443
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2444
|
+
platforms: [ 'rn', 'web' ],
|
|
2445
|
+
type: 'state',
|
|
2446
|
+
values: [ true, false ]
|
|
2447
|
+
},
|
|
2448
|
+
pressed: {
|
|
2449
|
+
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.',
|
|
2450
|
+
type: 'state',
|
|
2451
|
+
values: [ true, false ]
|
|
2452
|
+
}
|
|
2453
|
+
},
|
|
2454
|
+
rules: [
|
|
2455
|
+
{
|
|
2456
|
+
if: { focus: true },
|
|
2457
|
+
tokens: { borderColor: '#2b8000', borderRadius: 4 }
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
if: { hover: true },
|
|
2461
|
+
tokens: { borderColor: '#b2b9bf', borderRadius: 4 }
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
if: { pressed: true },
|
|
2465
|
+
tokens: { borderColor: '#1f5c09', borderRadius: 4 }
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
if: { focus: true, pressed: true },
|
|
2469
|
+
tokens: { borderColor: '#1f5c09', borderRadius: 4 }
|
|
2470
|
+
}
|
|
2471
|
+
],
|
|
2472
|
+
tokens: {
|
|
2473
|
+
androidENIcon: PaletteIconAndroidEN,
|
|
2474
|
+
androidFRIcon: PaletteIconAndroidFR,
|
|
2475
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
2476
|
+
borderGap: 2,
|
|
2477
|
+
borderRadius: 0,
|
|
2478
|
+
borderWidth: 1,
|
|
2479
|
+
iosENIcon: PaletteIconIOSEN,
|
|
2480
|
+
iosFRIcon: PaletteIconIOSFR,
|
|
2481
|
+
padding: 1
|
|
2482
|
+
}
|
|
2483
|
+
},
|
|
2343
2484
|
ExpandCollapse: {
|
|
2344
2485
|
appearances: {},
|
|
2345
2486
|
rules: [],
|
|
@@ -2645,6 +2786,31 @@ module.exports = {
|
|
|
2645
2786
|
paddingTop: 0
|
|
2646
2787
|
}
|
|
2647
2788
|
},
|
|
2789
|
+
FileUpload: {
|
|
2790
|
+
appearances: {},
|
|
2791
|
+
rules: [],
|
|
2792
|
+
tokens: {
|
|
2793
|
+
buttonBackgroundColor: null,
|
|
2794
|
+
buttonBorderColor: null,
|
|
2795
|
+
buttonBorderRadius: null,
|
|
2796
|
+
buttonBorderWidth: null,
|
|
2797
|
+
buttonHeight: null,
|
|
2798
|
+
buttonMinWidth: null,
|
|
2799
|
+
buttonTextColor: null,
|
|
2800
|
+
buttonWidth: null,
|
|
2801
|
+
notificationBackgroundColor: null,
|
|
2802
|
+
notificationBorderColor: null,
|
|
2803
|
+
notificationBorderRadius: null,
|
|
2804
|
+
notificationDismissButtonGap: null,
|
|
2805
|
+
notificationDismissIcon: null,
|
|
2806
|
+
notificationDismissIconColor: null,
|
|
2807
|
+
notificationIcon: null,
|
|
2808
|
+
notificationIconColor: null,
|
|
2809
|
+
notificationIconGap: null,
|
|
2810
|
+
notificationIconSize: null,
|
|
2811
|
+
notificationTextColor: '#414547'
|
|
2812
|
+
}
|
|
2813
|
+
},
|
|
2648
2814
|
Footnote: {
|
|
2649
2815
|
appearances: {
|
|
2650
2816
|
viewport: {
|
|
@@ -2856,10 +3022,10 @@ module.exports = {
|
|
|
2856
3022
|
color: {
|
|
2857
3023
|
type: 'variant',
|
|
2858
3024
|
values: [
|
|
2859
|
-
'brand', '
|
|
2860
|
-
'
|
|
3025
|
+
'brand', 'subtle',
|
|
3026
|
+
'offer', 'success',
|
|
2861
3027
|
'danger', 'warning',
|
|
2862
|
-
'inverse'
|
|
3028
|
+
'inverse', 'default'
|
|
2863
3029
|
]
|
|
2864
3030
|
},
|
|
2865
3031
|
padding: {
|
|
@@ -2939,6 +3105,7 @@ module.exports = {
|
|
|
2939
3105
|
{ if: { color: 'danger' }, tokens: { color: '#c12335' } },
|
|
2940
3106
|
{ if: { color: 'warning' }, tokens: { color: '#b4872c' } },
|
|
2941
3107
|
{ if: { color: 'inverse' }, tokens: { color: '#ffffff' } },
|
|
3108
|
+
{ if: { color: 'offer' }, tokens: { color: '#4b286d' } },
|
|
2942
3109
|
{ if: { size: 'extraLarge' }, tokens: { size: 48 } },
|
|
2943
3110
|
{ if: { rank: 'primary' }, tokens: { color: '#4b286d' } }
|
|
2944
3111
|
],
|
|
@@ -3299,7 +3466,7 @@ module.exports = {
|
|
|
3299
3466
|
iconPosition: {
|
|
3300
3467
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
3301
3468
|
type: 'state',
|
|
3302
|
-
values: [ 'left', 'right' ]
|
|
3469
|
+
values: [ 'left', 'right', 'inline' ]
|
|
3303
3470
|
},
|
|
3304
3471
|
inverse: {
|
|
3305
3472
|
description: 'Styles the link white for use on dark backgrounds.',
|
|
@@ -3330,6 +3497,7 @@ module.exports = {
|
|
|
3330
3497
|
rules: [
|
|
3331
3498
|
{ if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
|
|
3332
3499
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
3500
|
+
{ if: { iconPosition: 'inline' }, tokens: { iconSpace: 2 } },
|
|
3333
3501
|
{
|
|
3334
3502
|
if: { focus: true },
|
|
3335
3503
|
tokens: { outerBorderColor: '#2b8000', outerBorderOutline: 'none' }
|
|
@@ -3869,14 +4037,20 @@ module.exports = {
|
|
|
3869
4037
|
],
|
|
3870
4038
|
tokens: {
|
|
3871
4039
|
buttonDirection: 'row',
|
|
4040
|
+
contentMarginBottom: 32,
|
|
4041
|
+
contentMarginLeft: 16,
|
|
4042
|
+
contentMarginRight: 16,
|
|
4043
|
+
contentMarginTop: 24,
|
|
4044
|
+
contentPaddingLeft: 16,
|
|
4045
|
+
contentPaddingRight: 16,
|
|
3872
4046
|
headerFontColor: '#414547',
|
|
3873
4047
|
headerFontName: 'HNforTELUSSA',
|
|
3874
4048
|
headerFontSize: 16,
|
|
3875
4049
|
headerFontWeight: '500',
|
|
3876
4050
|
headerLineHeight: 1.5,
|
|
3877
|
-
maxHeightSize:
|
|
4051
|
+
maxHeightSize: 480,
|
|
3878
4052
|
maxWidthSize: 0,
|
|
3879
|
-
minHeight:
|
|
4053
|
+
minHeight: 0,
|
|
3880
4054
|
minWidth: 320,
|
|
3881
4055
|
subHeaderFontName: 'HNforTELUSSA',
|
|
3882
4056
|
subHeaderFontSize: 14,
|
|
@@ -6043,7 +6217,7 @@ module.exports = {
|
|
|
6043
6217
|
},
|
|
6044
6218
|
{
|
|
6045
6219
|
if: { priority: 'low', purpose: 'brand' },
|
|
6046
|
-
tokens: { backgroundColor: '#
|
|
6220
|
+
tokens: { backgroundColor: '#efedff' }
|
|
6047
6221
|
},
|
|
6048
6222
|
{
|
|
6049
6223
|
if: { priority: 'high', purpose: 'brand' },
|
|
@@ -6131,6 +6305,7 @@ module.exports = {
|
|
|
6131
6305
|
icon: PaletteIconStatusInfo,
|
|
6132
6306
|
iconColor: '#414547',
|
|
6133
6307
|
iconGradient: null,
|
|
6308
|
+
marginLeft: 8,
|
|
6134
6309
|
paddingBottom: 0,
|
|
6135
6310
|
paddingLeft: 0,
|
|
6136
6311
|
paddingRight: 0,
|
|
@@ -6282,6 +6457,91 @@ module.exports = {
|
|
|
6282
6457
|
shadow: null
|
|
6283
6458
|
}
|
|
6284
6459
|
},
|
|
6460
|
+
TabBar: {
|
|
6461
|
+
appearances: {
|
|
6462
|
+
pressed: {
|
|
6463
|
+
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.',
|
|
6464
|
+
type: 'state',
|
|
6465
|
+
values: [ true, false ]
|
|
6466
|
+
}
|
|
6467
|
+
},
|
|
6468
|
+
rules: [
|
|
6469
|
+
{
|
|
6470
|
+
if: { pressed: true },
|
|
6471
|
+
tokens: { paddingBottom: 0, paddingTop: 0 }
|
|
6472
|
+
}
|
|
6473
|
+
],
|
|
6474
|
+
tokens: {
|
|
6475
|
+
backgroundColor: '#fafafa',
|
|
6476
|
+
borderTopColor: '#e3e6e8',
|
|
6477
|
+
borderTopWidth: 1,
|
|
6478
|
+
gap: 8,
|
|
6479
|
+
paddingBottom: 4,
|
|
6480
|
+
paddingLeft: 8,
|
|
6481
|
+
paddingRight: 8,
|
|
6482
|
+
paddingTop: 4
|
|
6483
|
+
}
|
|
6484
|
+
},
|
|
6485
|
+
TabBarItem: {
|
|
6486
|
+
appearances: {
|
|
6487
|
+
focus: {
|
|
6488
|
+
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.",
|
|
6489
|
+
platforms: [ 'rn', 'web' ],
|
|
6490
|
+
type: 'state',
|
|
6491
|
+
values: [ true, false ]
|
|
6492
|
+
},
|
|
6493
|
+
hover: {
|
|
6494
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
6495
|
+
platforms: [ 'rn', 'web' ],
|
|
6496
|
+
type: 'state',
|
|
6497
|
+
values: [ true, false ]
|
|
6498
|
+
},
|
|
6499
|
+
pressed: {
|
|
6500
|
+
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.',
|
|
6501
|
+
type: 'state',
|
|
6502
|
+
values: [ true, false ]
|
|
6503
|
+
},
|
|
6504
|
+
selected: {
|
|
6505
|
+
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`.',
|
|
6506
|
+
type: 'state',
|
|
6507
|
+
values: [ true ]
|
|
6508
|
+
}
|
|
6509
|
+
},
|
|
6510
|
+
rules: [
|
|
6511
|
+
{
|
|
6512
|
+
if: { focus: true },
|
|
6513
|
+
tokens: {
|
|
6514
|
+
backgroundColor: '#f4f4f7',
|
|
6515
|
+
color: '#414547',
|
|
6516
|
+
iconColor: '#414547',
|
|
6517
|
+
iconSize: 26
|
|
6518
|
+
}
|
|
6519
|
+
},
|
|
6520
|
+
{
|
|
6521
|
+
if: { pressed: true },
|
|
6522
|
+
tokens: {
|
|
6523
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6524
|
+
color: '#4b286d',
|
|
6525
|
+
iconColor: '#4b286d',
|
|
6526
|
+
iconSize: 22
|
|
6527
|
+
}
|
|
6528
|
+
},
|
|
6529
|
+
{ if: { hover: true }, tokens: { iconSize: 26 } }
|
|
6530
|
+
],
|
|
6531
|
+
tokens: {
|
|
6532
|
+
activeColor: '#4b286d',
|
|
6533
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6534
|
+
borderRadius: 4,
|
|
6535
|
+
color: '#676e73',
|
|
6536
|
+
fontName: 'HNforTELUSSA',
|
|
6537
|
+
fontWeight: '500',
|
|
6538
|
+
iconColor: '#676e73',
|
|
6539
|
+
iconSize: 24,
|
|
6540
|
+
lineHeight: 1.14285714286,
|
|
6541
|
+
paddingBottom: 4,
|
|
6542
|
+
paddingTop: 4
|
|
6543
|
+
}
|
|
6544
|
+
},
|
|
6285
6545
|
Table: {
|
|
6286
6546
|
appearances: {
|
|
6287
6547
|
spacing: {
|
|
@@ -7915,5 +8175,5 @@ module.exports = {
|
|
|
7915
8175
|
tokens: { size: 96 }
|
|
7916
8176
|
}
|
|
7917
8177
|
},
|
|
7918
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
8178
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.64.0' }
|
|
7919
8179
|
}
|
package/build/web/ActionCard.js
CHANGED
package/build/web/Badge.js
CHANGED
package/build/web/BlockQuote.js
CHANGED
package/build/web/Box.js
CHANGED
package/build/web/Breadcrumbs.js
CHANGED
package/build/web/Button.js
CHANGED
package/build/web/ButtonGroup.js
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 25 Sep 2024 16:56:43 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
const theme = {
|
|
10
10
|
appearances: {
|
|
11
|
+
style: {
|
|
12
|
+
description: 'Configure `style` variant for `ButtonGroup`',
|
|
13
|
+
type: 'variant',
|
|
14
|
+
values: [ 'contained' ]
|
|
15
|
+
},
|
|
11
16
|
viewport: {
|
|
12
17
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
13
18
|
type: 'state',
|
|
@@ -20,20 +25,40 @@ const theme = {
|
|
|
20
25
|
}
|
|
21
26
|
},
|
|
22
27
|
rules: [
|
|
23
|
-
{ if: { viewport: [ 'lg', 'xl' ] }, tokens: { space: 3 } },
|
|
28
|
+
{ if: { viewport: [ 'lg', 'xl' ] }, tokens: { gap: 3, space: 3 } },
|
|
24
29
|
{
|
|
25
30
|
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
26
31
|
tokens: { alignItems: 'stretch', direction: 'column' }
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
if: { style: 'contained' },
|
|
35
|
+
tokens: {
|
|
36
|
+
backgroundColor: 'rgba(0, 0, 0, 0.05)',
|
|
37
|
+
borderRadius: 99,
|
|
38
|
+
padding: 8,
|
|
39
|
+
space: 2
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
if: {
|
|
44
|
+
style: 'contained',
|
|
45
|
+
viewport: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
46
|
+
},
|
|
47
|
+
tokens: { borderRadius: 24 }
|
|
27
48
|
}
|
|
28
49
|
],
|
|
29
50
|
tokens: {
|
|
30
51
|
alignItems: 'center',
|
|
52
|
+
backgroundColor: null,
|
|
53
|
+
borderRadius: 0,
|
|
31
54
|
direction: 'row',
|
|
32
55
|
fieldSpace: 2,
|
|
33
56
|
flexGrow: 0,
|
|
34
57
|
flexShrink: 0,
|
|
58
|
+
gap: 2,
|
|
35
59
|
justifyContent: 'flex-start',
|
|
36
|
-
|
|
60
|
+
padding: 0,
|
|
61
|
+
space: 2
|
|
37
62
|
}
|
|
38
63
|
}
|
|
39
64
|
export default theme
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 25 Sep 2024 16:56:43 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -23,7 +23,7 @@ const theme = {
|
|
|
23
23
|
iconPosition: {
|
|
24
24
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
25
25
|
type: 'state',
|
|
26
|
-
values: [ 'left', 'right' ]
|
|
26
|
+
values: [ 'left', 'right', 'inline' ]
|
|
27
27
|
},
|
|
28
28
|
inactive: {
|
|
29
29
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -40,6 +40,11 @@ const theme = {
|
|
|
40
40
|
type: 'state',
|
|
41
41
|
values: [ true ]
|
|
42
42
|
},
|
|
43
|
+
style: {
|
|
44
|
+
description: 'Configure `style` variant for `ButtonGroupItem`',
|
|
45
|
+
type: 'variant',
|
|
46
|
+
values: [ 'contained' ]
|
|
47
|
+
},
|
|
43
48
|
width: {
|
|
44
49
|
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
45
50
|
type: 'variant',
|
|
@@ -91,7 +96,53 @@ const theme = {
|
|
|
91
96
|
tokens: { backgroundColor: '#b2b9bf', borderWidth: 0, color: '#ffffff' }
|
|
92
97
|
},
|
|
93
98
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
94
|
-
{ if: { width: 'responsive' }, tokens: { width: '100%' } }
|
|
99
|
+
{ if: { width: 'responsive' }, tokens: { width: '100%' } },
|
|
100
|
+
{
|
|
101
|
+
if: { style: 'contained' },
|
|
102
|
+
tokens: {
|
|
103
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
104
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
105
|
+
borderWidth: 0,
|
|
106
|
+
height: 32
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
if: { hover: true, style: 'contained' },
|
|
111
|
+
tokens: {
|
|
112
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
113
|
+
borderColor: '#676e73',
|
|
114
|
+
borderWidth: 3
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
if: { selected: true, style: 'contained' },
|
|
119
|
+
tokens: {
|
|
120
|
+
backgroundColor: '#4b286d',
|
|
121
|
+
color: '#ffffff',
|
|
122
|
+
outerBorderWidth: 0
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
if: { focus: true, style: 'contained' },
|
|
127
|
+
tokens: { borderColor: '#676e73', borderWidth: 1, outerBorderWidth: 0 }
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
if: { hover: true, selected: true, style: 'contained' },
|
|
131
|
+
tokens: {
|
|
132
|
+
backgroundColor: '#7c53a5',
|
|
133
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
134
|
+
color: '#ffffff',
|
|
135
|
+
outerBorderWidth: 0
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
if: { focus: true, selected: true, style: 'contained' },
|
|
140
|
+
tokens: { outerBorderColor: '#4b286d', outerBorderWidth: 2 }
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
if: { pressed: true, style: 'contained' },
|
|
144
|
+
tokens: { backgroundColor: '#3f2a54' }
|
|
145
|
+
}
|
|
95
146
|
],
|
|
96
147
|
tokens: {
|
|
97
148
|
alignSelf: 'flex-start',
|
package/build/web/Callout.js
CHANGED