@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/web/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:43 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -15,6 +15,10 @@ import PaletteIconCheckmark from '@telus-uds/palette-allium/build/rn/icons/Check
|
|
|
15
15
|
import PaletteIconPause from '@telus-uds/palette-allium/build/rn/icons/Pause'
|
|
16
16
|
import PaletteIconPlayVideo from '@telus-uds/palette-allium/build/rn/icons/PlayVideo'
|
|
17
17
|
import PaletteIconArrowLeft from '@telus-uds/palette-allium/build/rn/icons/ArrowLeft'
|
|
18
|
+
import PaletteIconAndroidEN from '@telus-uds/palette-allium/build/rn/icons/AndroidEN'
|
|
19
|
+
import PaletteIconAndroidFR from '@telus-uds/palette-allium/build/rn/icons/AndroidFR'
|
|
20
|
+
import PaletteIconIOSEN from '@telus-uds/palette-allium/build/rn/icons/IOSEN'
|
|
21
|
+
import PaletteIconIOSFR from '@telus-uds/palette-allium/build/rn/icons/IOSFR'
|
|
18
22
|
import PaletteIconStatusSuccess from '@telus-uds/palette-allium/build/rn/icons/StatusSuccess'
|
|
19
23
|
import PaletteIconClose from '@telus-uds/palette-allium/build/rn/icons/Close'
|
|
20
24
|
import PaletteIconAdd from '@telus-uds/palette-allium/build/rn/icons/Add'
|
|
@@ -988,6 +992,11 @@ const theme = {
|
|
|
988
992
|
},
|
|
989
993
|
ButtonGroup: {
|
|
990
994
|
appearances: {
|
|
995
|
+
style: {
|
|
996
|
+
description: 'Configure `style` variant for `ButtonGroup`',
|
|
997
|
+
type: 'variant',
|
|
998
|
+
values: [ 'contained' ]
|
|
999
|
+
},
|
|
991
1000
|
viewport: {
|
|
992
1001
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
993
1002
|
type: 'state',
|
|
@@ -1000,20 +1009,43 @@ const theme = {
|
|
|
1000
1009
|
}
|
|
1001
1010
|
},
|
|
1002
1011
|
rules: [
|
|
1003
|
-
{
|
|
1012
|
+
{
|
|
1013
|
+
if: { viewport: [ 'lg', 'xl' ] },
|
|
1014
|
+
tokens: { gap: 3, space: 3 }
|
|
1015
|
+
},
|
|
1004
1016
|
{
|
|
1005
1017
|
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
1006
1018
|
tokens: { alignItems: 'stretch', direction: 'column' }
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
if: { style: 'contained' },
|
|
1022
|
+
tokens: {
|
|
1023
|
+
backgroundColor: 'rgba(0, 0, 0, 0.05)',
|
|
1024
|
+
borderRadius: 99,
|
|
1025
|
+
padding: 8,
|
|
1026
|
+
space: 2
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
if: {
|
|
1031
|
+
style: 'contained',
|
|
1032
|
+
viewport: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1033
|
+
},
|
|
1034
|
+
tokens: { borderRadius: 24 }
|
|
1007
1035
|
}
|
|
1008
1036
|
],
|
|
1009
1037
|
tokens: {
|
|
1010
1038
|
alignItems: 'center',
|
|
1039
|
+
backgroundColor: null,
|
|
1040
|
+
borderRadius: 0,
|
|
1011
1041
|
direction: 'row',
|
|
1012
1042
|
fieldSpace: 2,
|
|
1013
1043
|
flexGrow: 0,
|
|
1014
1044
|
flexShrink: 0,
|
|
1045
|
+
gap: 2,
|
|
1015
1046
|
justifyContent: 'flex-start',
|
|
1016
|
-
|
|
1047
|
+
padding: 0,
|
|
1048
|
+
space: 2
|
|
1017
1049
|
}
|
|
1018
1050
|
},
|
|
1019
1051
|
ButtonGroupItem: {
|
|
@@ -1033,7 +1065,7 @@ const theme = {
|
|
|
1033
1065
|
iconPosition: {
|
|
1034
1066
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
1035
1067
|
type: 'state',
|
|
1036
|
-
values: [ 'left', 'right' ]
|
|
1068
|
+
values: [ 'left', 'right', 'inline' ]
|
|
1037
1069
|
},
|
|
1038
1070
|
inactive: {
|
|
1039
1071
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -1050,6 +1082,11 @@ const theme = {
|
|
|
1050
1082
|
type: 'state',
|
|
1051
1083
|
values: [ true ]
|
|
1052
1084
|
},
|
|
1085
|
+
style: {
|
|
1086
|
+
description: 'Configure `style` variant for `ButtonGroupItem`',
|
|
1087
|
+
type: 'variant',
|
|
1088
|
+
values: [ 'contained' ]
|
|
1089
|
+
},
|
|
1053
1090
|
width: {
|
|
1054
1091
|
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
1055
1092
|
type: 'variant',
|
|
@@ -1109,7 +1146,57 @@ const theme = {
|
|
|
1109
1146
|
}
|
|
1110
1147
|
},
|
|
1111
1148
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
1112
|
-
{ if: { width: 'responsive' }, tokens: { width: '100%' } }
|
|
1149
|
+
{ if: { width: 'responsive' }, tokens: { width: '100%' } },
|
|
1150
|
+
{
|
|
1151
|
+
if: { style: 'contained' },
|
|
1152
|
+
tokens: {
|
|
1153
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1154
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1155
|
+
borderWidth: 0,
|
|
1156
|
+
height: 32
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
if: { hover: true, style: 'contained' },
|
|
1161
|
+
tokens: {
|
|
1162
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1163
|
+
borderColor: '#676e73',
|
|
1164
|
+
borderWidth: 3
|
|
1165
|
+
}
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
if: { selected: true, style: 'contained' },
|
|
1169
|
+
tokens: {
|
|
1170
|
+
backgroundColor: '#4b286d',
|
|
1171
|
+
color: '#ffffff',
|
|
1172
|
+
outerBorderWidth: 0
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
if: { focus: true, style: 'contained' },
|
|
1177
|
+
tokens: {
|
|
1178
|
+
borderColor: '#676e73',
|
|
1179
|
+
borderWidth: 1,
|
|
1180
|
+
outerBorderWidth: 0
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
if: { hover: true, selected: true, style: 'contained' },
|
|
1185
|
+
tokens: {
|
|
1186
|
+
backgroundColor: '#7c53a5',
|
|
1187
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1188
|
+
color: '#ffffff',
|
|
1189
|
+
outerBorderWidth: 0
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
if: { focus: true, selected: true, style: 'contained' },
|
|
1194
|
+
tokens: { outerBorderColor: '#4b286d', outerBorderWidth: 2 }
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
if: { pressed: true, style: 'contained' },
|
|
1198
|
+
tokens: { backgroundColor: '#3f2a54' }
|
|
1199
|
+
}
|
|
1113
1200
|
],
|
|
1114
1201
|
tokens: {
|
|
1115
1202
|
alignSelf: 'flex-start',
|
|
@@ -1470,6 +1557,10 @@ const theme = {
|
|
|
1470
1557
|
fieldSpace: 3,
|
|
1471
1558
|
outlineOffset: 8,
|
|
1472
1559
|
outlineWidth: 1,
|
|
1560
|
+
paddingBottom: 24,
|
|
1561
|
+
paddingLeft: 24,
|
|
1562
|
+
paddingRight: 24,
|
|
1563
|
+
paddingTop: 24,
|
|
1473
1564
|
showIcon: true,
|
|
1474
1565
|
space: 3
|
|
1475
1566
|
}
|
|
@@ -2339,6 +2430,56 @@ const theme = {
|
|
|
2339
2430
|
],
|
|
2340
2431
|
tokens: { color: '#676e73', width: 1 }
|
|
2341
2432
|
},
|
|
2433
|
+
DownloadApp: {
|
|
2434
|
+
appearances: {
|
|
2435
|
+
focus: {
|
|
2436
|
+
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.",
|
|
2437
|
+
platforms: [ 'rn', 'web' ],
|
|
2438
|
+
type: 'state',
|
|
2439
|
+
values: [ true, false ]
|
|
2440
|
+
},
|
|
2441
|
+
hover: {
|
|
2442
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2443
|
+
platforms: [ 'rn', 'web' ],
|
|
2444
|
+
type: 'state',
|
|
2445
|
+
values: [ true, false ]
|
|
2446
|
+
},
|
|
2447
|
+
pressed: {
|
|
2448
|
+
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.',
|
|
2449
|
+
type: 'state',
|
|
2450
|
+
values: [ true, false ]
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
rules: [
|
|
2454
|
+
{
|
|
2455
|
+
if: { focus: true },
|
|
2456
|
+
tokens: { borderColor: '#2b8000', borderRadius: 4 }
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
if: { hover: true },
|
|
2460
|
+
tokens: { borderColor: '#b2b9bf', borderRadius: 4 }
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
if: { pressed: true },
|
|
2464
|
+
tokens: { borderColor: '#1f5c09', borderRadius: 4 }
|
|
2465
|
+
},
|
|
2466
|
+
{
|
|
2467
|
+
if: { focus: true, pressed: true },
|
|
2468
|
+
tokens: { borderColor: '#1f5c09', borderRadius: 4 }
|
|
2469
|
+
}
|
|
2470
|
+
],
|
|
2471
|
+
tokens: {
|
|
2472
|
+
androidENIcon: PaletteIconAndroidEN,
|
|
2473
|
+
androidFRIcon: PaletteIconAndroidFR,
|
|
2474
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
2475
|
+
borderGap: 2,
|
|
2476
|
+
borderRadius: 0,
|
|
2477
|
+
borderWidth: 1,
|
|
2478
|
+
iosENIcon: PaletteIconIOSEN,
|
|
2479
|
+
iosFRIcon: PaletteIconIOSFR,
|
|
2480
|
+
padding: 1
|
|
2481
|
+
}
|
|
2482
|
+
},
|
|
2342
2483
|
ExpandCollapse: {
|
|
2343
2484
|
appearances: {},
|
|
2344
2485
|
rules: [],
|
|
@@ -2644,6 +2785,31 @@ const theme = {
|
|
|
2644
2785
|
paddingTop: 0
|
|
2645
2786
|
}
|
|
2646
2787
|
},
|
|
2788
|
+
FileUpload: {
|
|
2789
|
+
appearances: {},
|
|
2790
|
+
rules: [],
|
|
2791
|
+
tokens: {
|
|
2792
|
+
buttonBackgroundColor: null,
|
|
2793
|
+
buttonBorderColor: null,
|
|
2794
|
+
buttonBorderRadius: null,
|
|
2795
|
+
buttonBorderWidth: null,
|
|
2796
|
+
buttonHeight: null,
|
|
2797
|
+
buttonMinWidth: null,
|
|
2798
|
+
buttonTextColor: null,
|
|
2799
|
+
buttonWidth: null,
|
|
2800
|
+
notificationBackgroundColor: null,
|
|
2801
|
+
notificationBorderColor: null,
|
|
2802
|
+
notificationBorderRadius: null,
|
|
2803
|
+
notificationDismissButtonGap: null,
|
|
2804
|
+
notificationDismissIcon: null,
|
|
2805
|
+
notificationDismissIconColor: null,
|
|
2806
|
+
notificationIcon: null,
|
|
2807
|
+
notificationIconColor: null,
|
|
2808
|
+
notificationIconGap: null,
|
|
2809
|
+
notificationIconSize: null,
|
|
2810
|
+
notificationTextColor: '#414547'
|
|
2811
|
+
}
|
|
2812
|
+
},
|
|
2647
2813
|
Footnote: {
|
|
2648
2814
|
appearances: {
|
|
2649
2815
|
viewport: {
|
|
@@ -2855,10 +3021,10 @@ const theme = {
|
|
|
2855
3021
|
color: {
|
|
2856
3022
|
type: 'variant',
|
|
2857
3023
|
values: [
|
|
2858
|
-
'brand', '
|
|
2859
|
-
'
|
|
3024
|
+
'brand', 'subtle',
|
|
3025
|
+
'offer', 'success',
|
|
2860
3026
|
'danger', 'warning',
|
|
2861
|
-
'inverse'
|
|
3027
|
+
'inverse', 'default'
|
|
2862
3028
|
]
|
|
2863
3029
|
},
|
|
2864
3030
|
padding: {
|
|
@@ -2938,6 +3104,7 @@ const theme = {
|
|
|
2938
3104
|
{ if: { color: 'danger' }, tokens: { color: '#c12335' } },
|
|
2939
3105
|
{ if: { color: 'warning' }, tokens: { color: '#b4872c' } },
|
|
2940
3106
|
{ if: { color: 'inverse' }, tokens: { color: '#ffffff' } },
|
|
3107
|
+
{ if: { color: 'offer' }, tokens: { color: '#4b286d' } },
|
|
2941
3108
|
{ if: { size: 'extraLarge' }, tokens: { size: 48 } },
|
|
2942
3109
|
{ if: { rank: 'primary' }, tokens: { color: '#4b286d' } }
|
|
2943
3110
|
],
|
|
@@ -3298,7 +3465,7 @@ const theme = {
|
|
|
3298
3465
|
iconPosition: {
|
|
3299
3466
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
3300
3467
|
type: 'state',
|
|
3301
|
-
values: [ 'left', 'right' ]
|
|
3468
|
+
values: [ 'left', 'right', 'inline' ]
|
|
3302
3469
|
},
|
|
3303
3470
|
inverse: {
|
|
3304
3471
|
description: 'Styles the link white for use on dark backgrounds.',
|
|
@@ -3329,6 +3496,7 @@ const theme = {
|
|
|
3329
3496
|
rules: [
|
|
3330
3497
|
{ if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
|
|
3331
3498
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
3499
|
+
{ if: { iconPosition: 'inline' }, tokens: { iconSpace: 2 } },
|
|
3332
3500
|
{
|
|
3333
3501
|
if: { focus: true },
|
|
3334
3502
|
tokens: { outerBorderColor: '#2b8000', outerBorderOutline: 'none' }
|
|
@@ -3868,14 +4036,20 @@ const theme = {
|
|
|
3868
4036
|
],
|
|
3869
4037
|
tokens: {
|
|
3870
4038
|
buttonDirection: 'row',
|
|
4039
|
+
contentMarginBottom: 32,
|
|
4040
|
+
contentMarginLeft: 16,
|
|
4041
|
+
contentMarginRight: 16,
|
|
4042
|
+
contentMarginTop: 24,
|
|
4043
|
+
contentPaddingLeft: 16,
|
|
4044
|
+
contentPaddingRight: 16,
|
|
3871
4045
|
headerFontColor: '#414547',
|
|
3872
4046
|
headerFontName: 'HNforTELUSSA',
|
|
3873
4047
|
headerFontSize: 16,
|
|
3874
4048
|
headerFontWeight: '500',
|
|
3875
4049
|
headerLineHeight: 1.5,
|
|
3876
|
-
maxHeightSize:
|
|
4050
|
+
maxHeightSize: 480,
|
|
3877
4051
|
maxWidthSize: 0,
|
|
3878
|
-
minHeight:
|
|
4052
|
+
minHeight: 0,
|
|
3879
4053
|
minWidth: 320,
|
|
3880
4054
|
subHeaderFontName: 'HNforTELUSSA',
|
|
3881
4055
|
subHeaderFontSize: 14,
|
|
@@ -6042,7 +6216,7 @@ const theme = {
|
|
|
6042
6216
|
},
|
|
6043
6217
|
{
|
|
6044
6218
|
if: { priority: 'low', purpose: 'brand' },
|
|
6045
|
-
tokens: { backgroundColor: '#
|
|
6219
|
+
tokens: { backgroundColor: '#efedff' }
|
|
6046
6220
|
},
|
|
6047
6221
|
{
|
|
6048
6222
|
if: { priority: 'high', purpose: 'brand' },
|
|
@@ -6130,6 +6304,7 @@ const theme = {
|
|
|
6130
6304
|
icon: PaletteIconStatusInfo,
|
|
6131
6305
|
iconColor: '#414547',
|
|
6132
6306
|
iconGradient: null,
|
|
6307
|
+
marginLeft: 8,
|
|
6133
6308
|
paddingBottom: 0,
|
|
6134
6309
|
paddingLeft: 0,
|
|
6135
6310
|
paddingRight: 0,
|
|
@@ -6281,6 +6456,91 @@ const theme = {
|
|
|
6281
6456
|
shadow: null
|
|
6282
6457
|
}
|
|
6283
6458
|
},
|
|
6459
|
+
TabBar: {
|
|
6460
|
+
appearances: {
|
|
6461
|
+
pressed: {
|
|
6462
|
+
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.',
|
|
6463
|
+
type: 'state',
|
|
6464
|
+
values: [ true, false ]
|
|
6465
|
+
}
|
|
6466
|
+
},
|
|
6467
|
+
rules: [
|
|
6468
|
+
{
|
|
6469
|
+
if: { pressed: true },
|
|
6470
|
+
tokens: { paddingBottom: 0, paddingTop: 0 }
|
|
6471
|
+
}
|
|
6472
|
+
],
|
|
6473
|
+
tokens: {
|
|
6474
|
+
backgroundColor: '#fafafa',
|
|
6475
|
+
borderTopColor: '#e3e6e8',
|
|
6476
|
+
borderTopWidth: 1,
|
|
6477
|
+
gap: 8,
|
|
6478
|
+
paddingBottom: 4,
|
|
6479
|
+
paddingLeft: 8,
|
|
6480
|
+
paddingRight: 8,
|
|
6481
|
+
paddingTop: 4
|
|
6482
|
+
}
|
|
6483
|
+
},
|
|
6484
|
+
TabBarItem: {
|
|
6485
|
+
appearances: {
|
|
6486
|
+
focus: {
|
|
6487
|
+
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.",
|
|
6488
|
+
platforms: [ 'rn', 'web' ],
|
|
6489
|
+
type: 'state',
|
|
6490
|
+
values: [ true, false ]
|
|
6491
|
+
},
|
|
6492
|
+
hover: {
|
|
6493
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
6494
|
+
platforms: [ 'rn', 'web' ],
|
|
6495
|
+
type: 'state',
|
|
6496
|
+
values: [ true, false ]
|
|
6497
|
+
},
|
|
6498
|
+
pressed: {
|
|
6499
|
+
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.',
|
|
6500
|
+
type: 'state',
|
|
6501
|
+
values: [ true, false ]
|
|
6502
|
+
},
|
|
6503
|
+
selected: {
|
|
6504
|
+
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`.',
|
|
6505
|
+
type: 'state',
|
|
6506
|
+
values: [ true ]
|
|
6507
|
+
}
|
|
6508
|
+
},
|
|
6509
|
+
rules: [
|
|
6510
|
+
{
|
|
6511
|
+
if: { focus: true },
|
|
6512
|
+
tokens: {
|
|
6513
|
+
backgroundColor: '#f4f4f7',
|
|
6514
|
+
color: '#414547',
|
|
6515
|
+
iconColor: '#414547',
|
|
6516
|
+
iconSize: 26
|
|
6517
|
+
}
|
|
6518
|
+
},
|
|
6519
|
+
{
|
|
6520
|
+
if: { pressed: true },
|
|
6521
|
+
tokens: {
|
|
6522
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6523
|
+
color: '#4b286d',
|
|
6524
|
+
iconColor: '#4b286d',
|
|
6525
|
+
iconSize: 22
|
|
6526
|
+
}
|
|
6527
|
+
},
|
|
6528
|
+
{ if: { hover: true }, tokens: { iconSize: 26 } }
|
|
6529
|
+
],
|
|
6530
|
+
tokens: {
|
|
6531
|
+
activeColor: '#4b286d',
|
|
6532
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6533
|
+
borderRadius: 4,
|
|
6534
|
+
color: '#676e73',
|
|
6535
|
+
fontName: 'HNforTELUSSA',
|
|
6536
|
+
fontWeight: '500',
|
|
6537
|
+
iconColor: '#676e73',
|
|
6538
|
+
iconSize: 24,
|
|
6539
|
+
lineHeight: 1.14285714286,
|
|
6540
|
+
paddingBottom: 4,
|
|
6541
|
+
paddingTop: 4
|
|
6542
|
+
}
|
|
6543
|
+
},
|
|
6284
6544
|
Table: {
|
|
6285
6545
|
appearances: {
|
|
6286
6546
|
spacing: {
|
|
@@ -7914,6 +8174,6 @@ const theme = {
|
|
|
7914
8174
|
tokens: { size: 96 }
|
|
7915
8175
|
}
|
|
7916
8176
|
},
|
|
7917
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
8177
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.64.0' }
|
|
7918
8178
|
}
|
|
7919
8179
|
export default theme
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "Allium theme",
|
|
5
5
|
"author": "TELUS Digital",
|
|
6
6
|
"homepage": "https://github.com/telus/allium-design-system#readme",
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"module": "build/web/index.js",
|
|
10
10
|
"dependencies": {},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@telus-uds/palette-allium": "^3.
|
|
13
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
14
|
-
"@telus-uds/system-tokens": "^0.9.
|
|
12
|
+
"@telus-uds/palette-allium": "^3.2.0",
|
|
13
|
+
"@telus-uds/system-theme-tokens": "^2.64.0",
|
|
14
|
+
"@telus-uds/system-tokens": "^0.9.2"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@telus-uds/palette-allium": "^3.
|
|
17
|
+
"@telus-uds/palette-allium": "^3.2.0"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"build",
|