@telus-uds/theme-public-mobile 2.28.0 → 2.30.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/ButtonDropdown.json +3 -3
- package/build/android/ButtonGroup.json +32 -0
- package/build/android/ButtonGroupItem.json +68 -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/Link.json +1 -1
- package/build/android/MultiSelectFilter.json +8 -2
- package/build/android/Status.json +1 -0
- package/build/android/TabBar.json +40 -0
- package/build/android/TabBarItem.json +119 -0
- package/build/android/schema.json +1498 -801
- package/build/android/theme.json +383 -8
- package/build/ios/ButtonDropdown.json +3 -3
- package/build/ios/ButtonGroup.json +32 -0
- package/build/ios/ButtonGroupItem.json +68 -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/Link.json +1 -1
- package/build/ios/MultiSelectFilter.json +8 -2
- package/build/ios/Status.json +1 -0
- package/build/ios/TabBar.json +40 -0
- package/build/ios/TabBarItem.json +119 -0
- package/build/ios/schema.json +1498 -801
- package/build/ios/theme.json +383 -8
- 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 +2 -2
- package/build/rn/ButtonGroup.js +21 -2
- package/build/rn/ButtonGroupItem.js +58 -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 +1 -1
- 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 +2 -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 +2 -1
- 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 +67 -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 +1498 -801
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +263 -9
- 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 +2 -2
- package/build/web/ButtonGroup.js +21 -2
- package/build/web/ButtonGroupItem.js +58 -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 +1 -1
- 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 +2 -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 +2 -1
- 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 +67 -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 +1498 -801
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +263 -9
- package/package.json +4 -4
- package/theme.json +281 -3
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:55:58 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -16,6 +16,10 @@ import PaletteIconPlaySolid from '@telus-uds/palette-public-mobile/build/rn/icon
|
|
|
16
16
|
import PaletteIconChevronLeft from '@telus-uds/palette-public-mobile/build/rn/icons/ChevronLeft'
|
|
17
17
|
import PaletteIconMobileArrowRight from '@telus-uds/palette-public-mobile/build/rn/icons/MobileArrowRight'
|
|
18
18
|
import PaletteIconMobileArrowBack from '@telus-uds/palette-public-mobile/build/rn/icons/MobileArrowBack'
|
|
19
|
+
import PaletteIconAndroidEN from '@telus-uds/palette-public-mobile/build/rn/icons/AndroidEN'
|
|
20
|
+
import PaletteIconAndroidFR from '@telus-uds/palette-public-mobile/build/rn/icons/AndroidFR'
|
|
21
|
+
import PaletteIconIOSEN from '@telus-uds/palette-public-mobile/build/rn/icons/IOSEN'
|
|
22
|
+
import PaletteIconIOSFR from '@telus-uds/palette-public-mobile/build/rn/icons/IOSFR'
|
|
19
23
|
import PaletteIconAddCircle from '@telus-uds/palette-public-mobile/build/rn/icons/AddCircle'
|
|
20
24
|
import PaletteIconDeduct from '@telus-uds/palette-public-mobile/build/rn/icons/Deduct'
|
|
21
25
|
import PaletteIconCheckMark from '@telus-uds/palette-public-mobile/build/rn/icons/CheckMark'
|
|
@@ -886,7 +890,7 @@ const theme = {
|
|
|
886
890
|
borderRadius: 8,
|
|
887
891
|
borderWidth: 1,
|
|
888
892
|
color: '#394056',
|
|
889
|
-
dividerColor: '#
|
|
893
|
+
dividerColor: '#cdcfd5',
|
|
890
894
|
fontName: 'SofiaPro',
|
|
891
895
|
fontSize: 18,
|
|
892
896
|
fontWeight: '400',
|
|
@@ -920,6 +924,11 @@ const theme = {
|
|
|
920
924
|
},
|
|
921
925
|
ButtonGroup: {
|
|
922
926
|
appearances: {
|
|
927
|
+
style: {
|
|
928
|
+
description: 'Configure `style` variant for `ButtonGroup`',
|
|
929
|
+
type: 'variant',
|
|
930
|
+
values: [ 'contained' ]
|
|
931
|
+
},
|
|
923
932
|
viewport: {
|
|
924
933
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
925
934
|
type: 'state',
|
|
@@ -932,19 +941,36 @@ const theme = {
|
|
|
932
941
|
}
|
|
933
942
|
},
|
|
934
943
|
rules: [
|
|
935
|
-
{
|
|
944
|
+
{
|
|
945
|
+
if: { viewport: [ 'lg', 'xl' ] },
|
|
946
|
+
tokens: { gap: 3, space: 3 }
|
|
947
|
+
},
|
|
936
948
|
{
|
|
937
949
|
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
938
950
|
tokens: { alignItems: 'stretch', direction: 'column' }
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
if: { style: 'contained' },
|
|
954
|
+
tokens: {
|
|
955
|
+
backgroundColor: '#d8dae2',
|
|
956
|
+
borderRadius: 12,
|
|
957
|
+
gap: 2,
|
|
958
|
+
padding: 8,
|
|
959
|
+
space: 2
|
|
960
|
+
}
|
|
939
961
|
}
|
|
940
962
|
],
|
|
941
963
|
tokens: {
|
|
942
964
|
alignItems: 'center',
|
|
965
|
+
backgroundColor: null,
|
|
966
|
+
borderRadius: 0,
|
|
943
967
|
direction: 'row',
|
|
944
968
|
fieldSpace: 2,
|
|
945
969
|
flexGrow: 0,
|
|
946
970
|
flexShrink: 0,
|
|
971
|
+
gap: 2,
|
|
947
972
|
justifyContent: 'flex-start',
|
|
973
|
+
padding: 0,
|
|
948
974
|
space: 1
|
|
949
975
|
}
|
|
950
976
|
},
|
|
@@ -965,7 +991,7 @@ const theme = {
|
|
|
965
991
|
iconPosition: {
|
|
966
992
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
967
993
|
type: 'state',
|
|
968
|
-
values: [ 'left', 'right' ]
|
|
994
|
+
values: [ 'left', 'right', 'inline' ]
|
|
969
995
|
},
|
|
970
996
|
inactive: {
|
|
971
997
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -982,6 +1008,11 @@ const theme = {
|
|
|
982
1008
|
type: 'state',
|
|
983
1009
|
values: [ true ]
|
|
984
1010
|
},
|
|
1011
|
+
style: {
|
|
1012
|
+
description: 'Configure `style` variant for `ButtonGroupItem`',
|
|
1013
|
+
type: 'variant',
|
|
1014
|
+
values: [ 'contained' ]
|
|
1015
|
+
},
|
|
985
1016
|
width: {
|
|
986
1017
|
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
987
1018
|
type: 'variant',
|
|
@@ -1056,7 +1087,61 @@ const theme = {
|
|
|
1056
1087
|
}
|
|
1057
1088
|
},
|
|
1058
1089
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
1059
|
-
{ if: { width: 'responsive' }, tokens: { width: '100%' } }
|
|
1090
|
+
{ if: { width: 'responsive' }, tokens: { width: '100%' } },
|
|
1091
|
+
{
|
|
1092
|
+
if: { style: 'contained' },
|
|
1093
|
+
tokens: {
|
|
1094
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1095
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1096
|
+
borderWidth: 0,
|
|
1097
|
+
height: 40
|
|
1098
|
+
}
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
if: { hover: true, style: 'contained' },
|
|
1102
|
+
tokens: {
|
|
1103
|
+
backgroundColor: '#636c8c',
|
|
1104
|
+
color: '#ffffff',
|
|
1105
|
+
outerBorderWidth: 0
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
if: { selected: true, style: 'contained' },
|
|
1110
|
+
tokens: {
|
|
1111
|
+
backgroundColor: '#394056',
|
|
1112
|
+
color: '#ffffff',
|
|
1113
|
+
outerBorderWidth: 0
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
if: { focus: true, style: 'contained' },
|
|
1118
|
+
tokens: {
|
|
1119
|
+
borderColor: '#636c8c',
|
|
1120
|
+
borderWidth: 1,
|
|
1121
|
+
outerBorderWidth: 0
|
|
1122
|
+
}
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
if: { hover: true, selected: true, style: 'contained' },
|
|
1126
|
+
tokens: {
|
|
1127
|
+
backgroundColor: '#636c8c',
|
|
1128
|
+
color: '#ffffff',
|
|
1129
|
+
outerBorderWidth: 0
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
if: { focus: true, selected: true, style: 'contained' },
|
|
1134
|
+
tokens: {
|
|
1135
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1136
|
+
color: '#394056',
|
|
1137
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1138
|
+
outerBorderWidth: 0
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
if: { pressed: true, style: 'contained' },
|
|
1143
|
+
tokens: { backgroundColor: '#2b3145', color: '#ffffff' }
|
|
1144
|
+
}
|
|
1060
1145
|
],
|
|
1061
1146
|
tokens: {
|
|
1062
1147
|
alignSelf: 'flex-start',
|
|
@@ -1417,6 +1502,10 @@ const theme = {
|
|
|
1417
1502
|
fieldSpace: 3,
|
|
1418
1503
|
outlineOffset: 8,
|
|
1419
1504
|
outlineWidth: 1,
|
|
1505
|
+
paddingBottom: 24,
|
|
1506
|
+
paddingLeft: 24,
|
|
1507
|
+
paddingRight: 24,
|
|
1508
|
+
paddingTop: 24,
|
|
1420
1509
|
showIcon: true,
|
|
1421
1510
|
space: 3
|
|
1422
1511
|
}
|
|
@@ -2277,6 +2366,56 @@ const theme = {
|
|
|
2277
2366
|
],
|
|
2278
2367
|
tokens: { color: '#9c9faa', width: 1 }
|
|
2279
2368
|
},
|
|
2369
|
+
DownloadApp: {
|
|
2370
|
+
appearances: {
|
|
2371
|
+
focus: {
|
|
2372
|
+
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.",
|
|
2373
|
+
platforms: [ 'rn', 'web' ],
|
|
2374
|
+
type: 'state',
|
|
2375
|
+
values: [ true, false ]
|
|
2376
|
+
},
|
|
2377
|
+
hover: {
|
|
2378
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2379
|
+
platforms: [ 'rn', 'web' ],
|
|
2380
|
+
type: 'state',
|
|
2381
|
+
values: [ true, false ]
|
|
2382
|
+
},
|
|
2383
|
+
pressed: {
|
|
2384
|
+
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.',
|
|
2385
|
+
type: 'state',
|
|
2386
|
+
values: [ true, false ]
|
|
2387
|
+
}
|
|
2388
|
+
},
|
|
2389
|
+
rules: [
|
|
2390
|
+
{
|
|
2391
|
+
if: { focus: true },
|
|
2392
|
+
tokens: { borderColor: '#636c8c', borderRadius: 4 }
|
|
2393
|
+
},
|
|
2394
|
+
{
|
|
2395
|
+
if: { hover: true },
|
|
2396
|
+
tokens: { borderColor: '#b1b5c5', borderRadius: 4 }
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
if: { pressed: true },
|
|
2400
|
+
tokens: { borderColor: '#b1b5c5', borderRadius: 4 }
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
if: { focus: true, pressed: true },
|
|
2404
|
+
tokens: { borderColor: '#b1b5c5', borderRadius: 4 }
|
|
2405
|
+
}
|
|
2406
|
+
],
|
|
2407
|
+
tokens: {
|
|
2408
|
+
androidENIcon: PaletteIconAndroidEN,
|
|
2409
|
+
androidFRIcon: PaletteIconAndroidFR,
|
|
2410
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
2411
|
+
borderGap: 2,
|
|
2412
|
+
borderRadius: 0,
|
|
2413
|
+
borderWidth: 1,
|
|
2414
|
+
iosENIcon: PaletteIconIOSEN,
|
|
2415
|
+
iosFRIcon: PaletteIconIOSFR,
|
|
2416
|
+
padding: 1
|
|
2417
|
+
}
|
|
2418
|
+
},
|
|
2280
2419
|
ExpandCollapse: {
|
|
2281
2420
|
appearances: {},
|
|
2282
2421
|
rules: [],
|
|
@@ -2611,6 +2750,31 @@ const theme = {
|
|
|
2611
2750
|
paddingTop: 0
|
|
2612
2751
|
}
|
|
2613
2752
|
},
|
|
2753
|
+
FileUpload: {
|
|
2754
|
+
appearances: {},
|
|
2755
|
+
rules: [],
|
|
2756
|
+
tokens: {
|
|
2757
|
+
buttonBackgroundColor: null,
|
|
2758
|
+
buttonBorderColor: null,
|
|
2759
|
+
buttonBorderRadius: null,
|
|
2760
|
+
buttonBorderWidth: null,
|
|
2761
|
+
buttonHeight: null,
|
|
2762
|
+
buttonMinWidth: null,
|
|
2763
|
+
buttonTextColor: null,
|
|
2764
|
+
buttonWidth: null,
|
|
2765
|
+
notificationBackgroundColor: null,
|
|
2766
|
+
notificationBorderColor: null,
|
|
2767
|
+
notificationBorderRadius: null,
|
|
2768
|
+
notificationDismissButtonGap: null,
|
|
2769
|
+
notificationDismissIcon: null,
|
|
2770
|
+
notificationDismissIconColor: null,
|
|
2771
|
+
notificationIcon: null,
|
|
2772
|
+
notificationIconColor: null,
|
|
2773
|
+
notificationIconGap: null,
|
|
2774
|
+
notificationIconSize: null,
|
|
2775
|
+
notificationTextColor: '#ffffff'
|
|
2776
|
+
}
|
|
2777
|
+
},
|
|
2614
2778
|
Footnote: {
|
|
2615
2779
|
appearances: {
|
|
2616
2780
|
viewport: {
|
|
@@ -3269,7 +3433,7 @@ const theme = {
|
|
|
3269
3433
|
iconPosition: {
|
|
3270
3434
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
3271
3435
|
type: 'state',
|
|
3272
|
-
values: [ 'left', 'right' ]
|
|
3436
|
+
values: [ 'left', 'right', 'inline' ]
|
|
3273
3437
|
},
|
|
3274
3438
|
inverse: { type: 'variant', values: [ true ] },
|
|
3275
3439
|
pressed: {
|
|
@@ -3859,14 +4023,20 @@ const theme = {
|
|
|
3859
4023
|
],
|
|
3860
4024
|
tokens: {
|
|
3861
4025
|
buttonDirection: 'row',
|
|
4026
|
+
contentMarginBottom: 32,
|
|
4027
|
+
contentMarginLeft: 16,
|
|
4028
|
+
contentMarginRight: 16,
|
|
4029
|
+
contentMarginTop: 24,
|
|
4030
|
+
contentPaddingLeft: 16,
|
|
4031
|
+
contentPaddingRight: 16,
|
|
3862
4032
|
headerFontColor: '#394056',
|
|
3863
4033
|
headerFontName: 'SofiaPro',
|
|
3864
4034
|
headerFontSize: 24,
|
|
3865
4035
|
headerFontWeight: '700',
|
|
3866
4036
|
headerLineHeight: 1.28571428571,
|
|
3867
|
-
maxHeightSize:
|
|
4037
|
+
maxHeightSize: 480,
|
|
3868
4038
|
maxWidthSize: 0,
|
|
3869
|
-
minHeight:
|
|
4039
|
+
minHeight: 0,
|
|
3870
4040
|
minWidth: 320,
|
|
3871
4041
|
subHeaderFontName: 'SofiaPro',
|
|
3872
4042
|
subHeaderFontSize: 18,
|
|
@@ -6100,6 +6270,7 @@ const theme = {
|
|
|
6100
6270
|
icon: PaletteIconWarningError,
|
|
6101
6271
|
iconColor: '#394056',
|
|
6102
6272
|
iconGradient: null,
|
|
6273
|
+
marginLeft: 8,
|
|
6103
6274
|
paddingBottom: 0,
|
|
6104
6275
|
paddingLeft: 0,
|
|
6105
6276
|
paddingRight: 0,
|
|
@@ -6251,6 +6422,89 @@ const theme = {
|
|
|
6251
6422
|
shadow: null
|
|
6252
6423
|
}
|
|
6253
6424
|
},
|
|
6425
|
+
TabBar: {
|
|
6426
|
+
appearances: {
|
|
6427
|
+
pressed: {
|
|
6428
|
+
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.',
|
|
6429
|
+
type: 'state',
|
|
6430
|
+
values: [ true, false ]
|
|
6431
|
+
}
|
|
6432
|
+
},
|
|
6433
|
+
rules: [
|
|
6434
|
+
{
|
|
6435
|
+
if: { pressed: true },
|
|
6436
|
+
tokens: { paddingBottom: 0, paddingTop: 0 }
|
|
6437
|
+
}
|
|
6438
|
+
],
|
|
6439
|
+
tokens: {
|
|
6440
|
+
backgroundColor: '#fafafa',
|
|
6441
|
+
borderTopColor: '#e3e6e8',
|
|
6442
|
+
borderTopWidth: 1,
|
|
6443
|
+
gap: 8,
|
|
6444
|
+
paddingBottom: 4,
|
|
6445
|
+
paddingLeft: 8,
|
|
6446
|
+
paddingRight: 8,
|
|
6447
|
+
paddingTop: 4
|
|
6448
|
+
}
|
|
6449
|
+
},
|
|
6450
|
+
TabBarItem: {
|
|
6451
|
+
appearances: {
|
|
6452
|
+
focus: {
|
|
6453
|
+
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.',
|
|
6454
|
+
type: 'state',
|
|
6455
|
+
values: [ true, false ]
|
|
6456
|
+
},
|
|
6457
|
+
hover: {
|
|
6458
|
+
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.',
|
|
6459
|
+
type: 'state',
|
|
6460
|
+
values: [ true, false ]
|
|
6461
|
+
},
|
|
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
|
+
selected: {
|
|
6468
|
+
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.',
|
|
6469
|
+
type: 'state',
|
|
6470
|
+
values: [ true, false ]
|
|
6471
|
+
}
|
|
6472
|
+
},
|
|
6473
|
+
rules: [
|
|
6474
|
+
{
|
|
6475
|
+
if: { focus: true },
|
|
6476
|
+
tokens: {
|
|
6477
|
+
backgroundColor: '#f5f5f7',
|
|
6478
|
+
color: '#2b3145',
|
|
6479
|
+
iconColor: '#2b3145',
|
|
6480
|
+
iconSize: 26
|
|
6481
|
+
}
|
|
6482
|
+
},
|
|
6483
|
+
{
|
|
6484
|
+
if: { pressed: true },
|
|
6485
|
+
tokens: {
|
|
6486
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6487
|
+
color: '#cdcfd5',
|
|
6488
|
+
iconColor: '#cdcfd5',
|
|
6489
|
+
iconSize: 22
|
|
6490
|
+
}
|
|
6491
|
+
},
|
|
6492
|
+
{ if: { hover: true }, tokens: { iconSize: 26 } }
|
|
6493
|
+
],
|
|
6494
|
+
tokens: {
|
|
6495
|
+
activeColor: '#394056',
|
|
6496
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6497
|
+
borderRadius: 4,
|
|
6498
|
+
color: '#6a7080',
|
|
6499
|
+
fontName: 'SofiaPro',
|
|
6500
|
+
fontWeight: '400',
|
|
6501
|
+
iconColor: '#6a7080',
|
|
6502
|
+
iconSize: 24,
|
|
6503
|
+
lineHeight: 1.3333333333333333,
|
|
6504
|
+
paddingBottom: 4,
|
|
6505
|
+
paddingTop: 4
|
|
6506
|
+
}
|
|
6507
|
+
},
|
|
6254
6508
|
Table: {
|
|
6255
6509
|
appearances: {
|
|
6256
6510
|
spacing: {
|
|
@@ -7775,6 +8029,6 @@ const theme = {
|
|
|
7775
8029
|
tokens: { size: 80 }
|
|
7776
8030
|
}
|
|
7777
8031
|
},
|
|
7778
|
-
metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.
|
|
8032
|
+
metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.64.0' }
|
|
7779
8033
|
}
|
|
7780
8034
|
export default theme
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-public-mobile",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.30.0",
|
|
4
4
|
"description": "Public Mobile theme",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"public mobile"
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"theme.json"
|
|
15
15
|
],
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@telus-uds/palette-public-mobile": "^1.
|
|
18
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
17
|
+
"@telus-uds/palette-public-mobile": "^1.14.0",
|
|
18
|
+
"@telus-uds/system-theme-tokens": "^2.64.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@telus-uds/palette-public-mobile": "^1.
|
|
21
|
+
"@telus-uds/palette-public-mobile": "^1.14.0"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|