@telus-uds/theme-public-mobile 2.29.0 → 2.31.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/ButtonGroupItem.json +1 -1
- package/build/android/Card.json +1 -0
- package/build/android/CardGroup.json +4 -0
- package/build/android/DownloadApp.json +41 -0
- package/build/android/Link.json +1 -1
- package/build/android/List.json +1 -1
- package/build/android/PriceLockup.json +1 -0
- package/build/android/Progress.json +14 -1
- package/build/android/ProgressBar.json +2 -1
- package/build/android/TabBar.json +40 -0
- package/build/android/TabBarItem.json +119 -0
- package/build/android/schema.json +1201 -740
- package/build/android/theme.json +226 -6
- package/build/ios/ButtonGroupItem.json +1 -1
- package/build/ios/Card.json +1 -0
- package/build/ios/CardGroup.json +4 -0
- package/build/ios/DownloadApp.json +41 -0
- package/build/ios/Link.json +1 -1
- package/build/ios/List.json +1 -1
- package/build/ios/PriceLockup.json +1 -0
- package/build/ios/Progress.json +14 -1
- package/build/ios/ProgressBar.json +2 -1
- package/build/ios/TabBar.json +40 -0
- package/build/ios/TabBarItem.json +119 -0
- package/build/ios/schema.json +1201 -740
- package/build/ios/theme.json +226 -6
- 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 +1 -1
- package/build/rn/ButtonGroupItem.js +2 -2
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +2 -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 +1 -1
- 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 +2 -2
- package/build/rn/Listbox.js +1 -1
- package/build/rn/Modal.js +1 -1
- package/build/rn/MultiSelectFilter.js +1 -1
- 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 +2 -1
- package/build/rn/ProductCard.js +1 -1
- package/build/rn/Progress.js +10 -2
- package/build/rn/ProgressBar.js +3 -2
- 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 +1 -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 +1201 -740
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +159 -7
- 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 +1 -1
- package/build/web/ButtonGroupItem.js +2 -2
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +2 -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 +1 -1
- 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 +2 -2
- package/build/web/Listbox.js +1 -1
- package/build/web/Modal.js +1 -1
- package/build/web/MultiSelectFilter.js +1 -1
- 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 +2 -1
- package/build/web/ProductCard.js +1 -1
- package/build/web/Progress.js +10 -2
- package/build/web/ProgressBar.js +3 -2
- 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 +1 -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 +4 -1
- package/build/web/schema.json +1201 -740
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +159 -7
- package/package.json +4 -4
- package/theme.json +147 -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 Sat, 12 Oct 2024 00:29:19 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'
|
|
@@ -987,7 +991,7 @@ const theme = {
|
|
|
987
991
|
iconPosition: {
|
|
988
992
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
989
993
|
type: 'state',
|
|
990
|
-
values: [ 'left', 'right' ]
|
|
994
|
+
values: [ 'left', 'right', 'inline' ]
|
|
991
995
|
},
|
|
992
996
|
inactive: {
|
|
993
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.',
|
|
@@ -1414,6 +1418,7 @@ const theme = {
|
|
|
1414
1418
|
],
|
|
1415
1419
|
tokens: {
|
|
1416
1420
|
backgroundColor: '#ffffff',
|
|
1421
|
+
backgroundGradient: null,
|
|
1417
1422
|
borderColor: '#cdcfd5',
|
|
1418
1423
|
borderRadius: 6,
|
|
1419
1424
|
borderWidth: 1,
|
|
@@ -1498,6 +1503,10 @@ const theme = {
|
|
|
1498
1503
|
fieldSpace: 3,
|
|
1499
1504
|
outlineOffset: 8,
|
|
1500
1505
|
outlineWidth: 1,
|
|
1506
|
+
paddingBottom: 24,
|
|
1507
|
+
paddingLeft: 24,
|
|
1508
|
+
paddingRight: 24,
|
|
1509
|
+
paddingTop: 24,
|
|
1501
1510
|
showIcon: true,
|
|
1502
1511
|
space: 3
|
|
1503
1512
|
}
|
|
@@ -2358,6 +2367,56 @@ const theme = {
|
|
|
2358
2367
|
],
|
|
2359
2368
|
tokens: { color: '#9c9faa', width: 1 }
|
|
2360
2369
|
},
|
|
2370
|
+
DownloadApp: {
|
|
2371
|
+
appearances: {
|
|
2372
|
+
focus: {
|
|
2373
|
+
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.",
|
|
2374
|
+
platforms: [ 'rn', 'web' ],
|
|
2375
|
+
type: 'state',
|
|
2376
|
+
values: [ true, false ]
|
|
2377
|
+
},
|
|
2378
|
+
hover: {
|
|
2379
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2380
|
+
platforms: [ 'rn', 'web' ],
|
|
2381
|
+
type: 'state',
|
|
2382
|
+
values: [ true, false ]
|
|
2383
|
+
},
|
|
2384
|
+
pressed: {
|
|
2385
|
+
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.',
|
|
2386
|
+
type: 'state',
|
|
2387
|
+
values: [ true, false ]
|
|
2388
|
+
}
|
|
2389
|
+
},
|
|
2390
|
+
rules: [
|
|
2391
|
+
{
|
|
2392
|
+
if: { focus: true },
|
|
2393
|
+
tokens: { borderColor: '#636c8c', borderRadius: 4 }
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
if: { hover: true },
|
|
2397
|
+
tokens: { borderColor: '#b1b5c5', borderRadius: 4 }
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
if: { pressed: true },
|
|
2401
|
+
tokens: { borderColor: '#b1b5c5', borderRadius: 4 }
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
if: { focus: true, pressed: true },
|
|
2405
|
+
tokens: { borderColor: '#b1b5c5', borderRadius: 4 }
|
|
2406
|
+
}
|
|
2407
|
+
],
|
|
2408
|
+
tokens: {
|
|
2409
|
+
androidENIcon: PaletteIconAndroidEN,
|
|
2410
|
+
androidFRIcon: PaletteIconAndroidFR,
|
|
2411
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
2412
|
+
borderGap: 2,
|
|
2413
|
+
borderRadius: 0,
|
|
2414
|
+
borderWidth: 1,
|
|
2415
|
+
iosENIcon: PaletteIconIOSEN,
|
|
2416
|
+
iosFRIcon: PaletteIconIOSFR,
|
|
2417
|
+
padding: 1
|
|
2418
|
+
}
|
|
2419
|
+
},
|
|
2361
2420
|
ExpandCollapse: {
|
|
2362
2421
|
appearances: {},
|
|
2363
2422
|
rules: [],
|
|
@@ -3375,7 +3434,7 @@ const theme = {
|
|
|
3375
3434
|
iconPosition: {
|
|
3376
3435
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
3377
3436
|
type: 'state',
|
|
3378
|
-
values: [ 'left', 'right' ]
|
|
3437
|
+
values: [ 'left', 'right', 'inline' ]
|
|
3379
3438
|
},
|
|
3380
3439
|
inverse: { type: 'variant', values: [ true ] },
|
|
3381
3440
|
pressed: {
|
|
@@ -3599,7 +3658,7 @@ const theme = {
|
|
|
3599
3658
|
itemFontSize: 16,
|
|
3600
3659
|
itemFontWeight: '400',
|
|
3601
3660
|
itemIconColor: '#394056',
|
|
3602
|
-
itemIconSize:
|
|
3661
|
+
itemIconSize: 24,
|
|
3603
3662
|
itemLineHeight: 1.5,
|
|
3604
3663
|
itemTextColor: '#394056',
|
|
3605
3664
|
listGutter: 16
|
|
@@ -4720,6 +4779,7 @@ const theme = {
|
|
|
4720
4779
|
}
|
|
4721
4780
|
],
|
|
4722
4781
|
tokens: {
|
|
4782
|
+
alignItemsText: 'flex-start',
|
|
4723
4783
|
amountFontName: 'BystanderSans',
|
|
4724
4784
|
amountFontSize: 48,
|
|
4725
4785
|
amountFontWeight: '700',
|
|
@@ -4795,7 +4855,15 @@ const theme = {
|
|
|
4795
4855
|
borderColor: '#9c9faa',
|
|
4796
4856
|
borderRadius: 12,
|
|
4797
4857
|
borderWidth: 1,
|
|
4798
|
-
height: 16
|
|
4858
|
+
height: 16,
|
|
4859
|
+
shadow: {
|
|
4860
|
+
blur: 2,
|
|
4861
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
4862
|
+
inset: true,
|
|
4863
|
+
offsetX: 0,
|
|
4864
|
+
offsetY: 2,
|
|
4865
|
+
spread: 0
|
|
4866
|
+
}
|
|
4799
4867
|
}
|
|
4800
4868
|
},
|
|
4801
4869
|
ProgressBar: {
|
|
@@ -4822,7 +4890,8 @@ const theme = {
|
|
|
4822
4890
|
borderRadius: 12,
|
|
4823
4891
|
gradient: null,
|
|
4824
4892
|
outlineColor: '#394056',
|
|
4825
|
-
outlineWidth: 1
|
|
4893
|
+
outlineWidth: 1,
|
|
4894
|
+
shadow: null
|
|
4826
4895
|
}
|
|
4827
4896
|
},
|
|
4828
4897
|
QuantitySelector: {
|
|
@@ -6364,6 +6433,89 @@ const theme = {
|
|
|
6364
6433
|
shadow: null
|
|
6365
6434
|
}
|
|
6366
6435
|
},
|
|
6436
|
+
TabBar: {
|
|
6437
|
+
appearances: {
|
|
6438
|
+
pressed: {
|
|
6439
|
+
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.',
|
|
6440
|
+
type: 'state',
|
|
6441
|
+
values: [ true, false ]
|
|
6442
|
+
}
|
|
6443
|
+
},
|
|
6444
|
+
rules: [
|
|
6445
|
+
{
|
|
6446
|
+
if: { pressed: true },
|
|
6447
|
+
tokens: { paddingBottom: 0, paddingTop: 0 }
|
|
6448
|
+
}
|
|
6449
|
+
],
|
|
6450
|
+
tokens: {
|
|
6451
|
+
backgroundColor: '#fafafa',
|
|
6452
|
+
borderTopColor: '#e3e6e8',
|
|
6453
|
+
borderTopWidth: 1,
|
|
6454
|
+
gap: 8,
|
|
6455
|
+
paddingBottom: 4,
|
|
6456
|
+
paddingLeft: 8,
|
|
6457
|
+
paddingRight: 8,
|
|
6458
|
+
paddingTop: 4
|
|
6459
|
+
}
|
|
6460
|
+
},
|
|
6461
|
+
TabBarItem: {
|
|
6462
|
+
appearances: {
|
|
6463
|
+
focus: {
|
|
6464
|
+
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.',
|
|
6465
|
+
type: 'state',
|
|
6466
|
+
values: [ true, false ]
|
|
6467
|
+
},
|
|
6468
|
+
hover: {
|
|
6469
|
+
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.',
|
|
6470
|
+
type: 'state',
|
|
6471
|
+
values: [ true, false ]
|
|
6472
|
+
},
|
|
6473
|
+
pressed: {
|
|
6474
|
+
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.',
|
|
6475
|
+
type: 'state',
|
|
6476
|
+
values: [ true, false ]
|
|
6477
|
+
},
|
|
6478
|
+
selected: {
|
|
6479
|
+
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.',
|
|
6480
|
+
type: 'state',
|
|
6481
|
+
values: [ true, false ]
|
|
6482
|
+
}
|
|
6483
|
+
},
|
|
6484
|
+
rules: [
|
|
6485
|
+
{
|
|
6486
|
+
if: { focus: true },
|
|
6487
|
+
tokens: {
|
|
6488
|
+
backgroundColor: '#f5f5f7',
|
|
6489
|
+
color: '#2b3145',
|
|
6490
|
+
iconColor: '#2b3145',
|
|
6491
|
+
iconSize: 26
|
|
6492
|
+
}
|
|
6493
|
+
},
|
|
6494
|
+
{
|
|
6495
|
+
if: { pressed: true },
|
|
6496
|
+
tokens: {
|
|
6497
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6498
|
+
color: '#cdcfd5',
|
|
6499
|
+
iconColor: '#cdcfd5',
|
|
6500
|
+
iconSize: 22
|
|
6501
|
+
}
|
|
6502
|
+
},
|
|
6503
|
+
{ if: { hover: true }, tokens: { iconSize: 26 } }
|
|
6504
|
+
],
|
|
6505
|
+
tokens: {
|
|
6506
|
+
activeColor: '#394056',
|
|
6507
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6508
|
+
borderRadius: 4,
|
|
6509
|
+
color: '#6a7080',
|
|
6510
|
+
fontName: 'SofiaPro',
|
|
6511
|
+
fontWeight: '400',
|
|
6512
|
+
iconColor: '#6a7080',
|
|
6513
|
+
iconSize: 24,
|
|
6514
|
+
lineHeight: 1.3333333333333333,
|
|
6515
|
+
paddingBottom: 4,
|
|
6516
|
+
paddingTop: 4
|
|
6517
|
+
}
|
|
6518
|
+
},
|
|
6367
6519
|
Table: {
|
|
6368
6520
|
appearances: {
|
|
6369
6521
|
spacing: {
|
|
@@ -7888,6 +8040,6 @@ const theme = {
|
|
|
7888
8040
|
tokens: { size: 80 }
|
|
7889
8041
|
}
|
|
7890
8042
|
},
|
|
7891
|
-
metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.
|
|
8043
|
+
metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.65.0' }
|
|
7892
8044
|
}
|
|
7893
8045
|
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.31.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.15.0",
|
|
18
|
+
"@telus-uds/system-theme-tokens": "^2.65.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@telus-uds/palette-public-mobile": "^1.
|
|
21
|
+
"@telus-uds/palette-public-mobile": "^1.15.0"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
package/theme.json
CHANGED
|
@@ -1837,6 +1837,7 @@
|
|
|
1837
1837
|
],
|
|
1838
1838
|
"tokens": {
|
|
1839
1839
|
"backgroundColor": "{palette.color.white}",
|
|
1840
|
+
"backgroundGradient": "{system.gradient.none}",
|
|
1840
1841
|
"borderColor": "{palette.color.slate25}",
|
|
1841
1842
|
"borderRadius": "{palette.radius.radius6}",
|
|
1842
1843
|
"borderWidth": "{palette.border.border1}",
|
|
@@ -1903,6 +1904,10 @@
|
|
|
1903
1904
|
"fieldSpace": "{system.integer.3}",
|
|
1904
1905
|
"outlineOffset": "{palette.size.size8}",
|
|
1905
1906
|
"outlineWidth": "{palette.border.border1}",
|
|
1907
|
+
"paddingBottom": "{palette.size.size24}",
|
|
1908
|
+
"paddingLeft": "{palette.size.size24}",
|
|
1909
|
+
"paddingRight": "{palette.size.size24}",
|
|
1910
|
+
"paddingTop": "{palette.size.size24}",
|
|
1906
1911
|
"showIcon": "{system.show.true}",
|
|
1907
1912
|
"space": "{system.integer.3}"
|
|
1908
1913
|
}
|
|
@@ -2903,6 +2908,63 @@
|
|
|
2903
2908
|
"width": "{palette.size.size1}"
|
|
2904
2909
|
}
|
|
2905
2910
|
},
|
|
2911
|
+
"DownloadApp": {
|
|
2912
|
+
"appearances": {
|
|
2913
|
+
"focus": "{appearances.DownloadApp.focus}",
|
|
2914
|
+
"hover": "{appearances.DownloadApp.hover}",
|
|
2915
|
+
"pressed": "{appearances.DownloadApp.pressed}"
|
|
2916
|
+
},
|
|
2917
|
+
"rules": [
|
|
2918
|
+
{
|
|
2919
|
+
"if": {
|
|
2920
|
+
"focus": true
|
|
2921
|
+
},
|
|
2922
|
+
"tokens": {
|
|
2923
|
+
"borderColor": "{palette.color.link100}",
|
|
2924
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2925
|
+
}
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
"if": {
|
|
2929
|
+
"hover": true
|
|
2930
|
+
},
|
|
2931
|
+
"tokens": {
|
|
2932
|
+
"borderColor": "{palette.color.link50}",
|
|
2933
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2934
|
+
}
|
|
2935
|
+
},
|
|
2936
|
+
{
|
|
2937
|
+
"if": {
|
|
2938
|
+
"pressed": true
|
|
2939
|
+
},
|
|
2940
|
+
"tokens": {
|
|
2941
|
+
"borderColor": "{palette.color.link50}",
|
|
2942
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2943
|
+
}
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
"if": {
|
|
2947
|
+
"focus": true,
|
|
2948
|
+
"pressed": true
|
|
2949
|
+
},
|
|
2950
|
+
"tokens": {
|
|
2951
|
+
"borderColor": "{palette.color.link50}",
|
|
2952
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2953
|
+
}
|
|
2954
|
+
}
|
|
2955
|
+
],
|
|
2956
|
+
"tokens": {
|
|
2957
|
+
"androidENIcon": "{palette.icon.AndroidEN}",
|
|
2958
|
+
"androidFRIcon": "{palette.icon.AndroidFR}",
|
|
2959
|
+
"borderColor": "{palette.color.transparent}",
|
|
2960
|
+
"borderGap": "{palette.size.size2}",
|
|
2961
|
+
"borderRadius": "{palette.radius.none}",
|
|
2962
|
+
"borderWidth": "{palette.border.border1}",
|
|
2963
|
+
"iosENIcon": "{palette.icon.IOSEN}",
|
|
2964
|
+
"iosFRIcon": "{palette.icon.IOSFR}",
|
|
2965
|
+
"padding": "{palette.size.size1}"
|
|
2966
|
+
}
|
|
2967
|
+
},
|
|
2906
2968
|
"ExpandCollapse": {
|
|
2907
2969
|
"appearances": {},
|
|
2908
2970
|
"rules": [],
|
|
@@ -4773,7 +4835,7 @@
|
|
|
4773
4835
|
"itemFontSize": "{palette.fontSize.size16}",
|
|
4774
4836
|
"itemFontWeight": "{palette.fontWeight.weight400}",
|
|
4775
4837
|
"itemIconColor": "{palette.color.slate100}",
|
|
4776
|
-
"itemIconSize": "{palette.size.
|
|
4838
|
+
"itemIconSize": "{palette.size.size24}",
|
|
4777
4839
|
"itemLineHeight": "{palette.lineHeight.ratio3to2}",
|
|
4778
4840
|
"itemTextColor": "{palette.color.slate100}",
|
|
4779
4841
|
"listGutter": "{palette.size.size16}"
|
|
@@ -5959,6 +6021,7 @@
|
|
|
5959
6021
|
}
|
|
5960
6022
|
],
|
|
5961
6023
|
"tokens": {
|
|
6024
|
+
"alignItemsText": "{system.flexAlign.flexStart}",
|
|
5962
6025
|
"amountFontName": "{palette.fontName.BystanderSans}",
|
|
5963
6026
|
"amountFontSize": "{palette.fontSize.size48}",
|
|
5964
6027
|
"amountFontWeight": "{palette.fontWeight.weight700}",
|
|
@@ -6050,7 +6113,8 @@
|
|
|
6050
6113
|
"borderColor": "{palette.color.slate50}",
|
|
6051
6114
|
"borderRadius": "{palette.radius.radius12}",
|
|
6052
6115
|
"borderWidth": "{palette.border.border1}",
|
|
6053
|
-
"height": "{palette.size.size16}"
|
|
6116
|
+
"height": "{palette.size.size16}",
|
|
6117
|
+
"shadow": "{palette.shadow.surfaceInset}"
|
|
6054
6118
|
}
|
|
6055
6119
|
},
|
|
6056
6120
|
"ProgressBar": {
|
|
@@ -6084,7 +6148,8 @@
|
|
|
6084
6148
|
"borderRadius": "{palette.radius.radius12}",
|
|
6085
6149
|
"gradient": "{system.gradient.none}",
|
|
6086
6150
|
"outlineColor": "{palette.color.slate100}",
|
|
6087
|
-
"outlineWidth": "{palette.border.border1}"
|
|
6151
|
+
"outlineWidth": "{palette.border.border1}",
|
|
6152
|
+
"shadow": "{system.shadow.none}"
|
|
6088
6153
|
}
|
|
6089
6154
|
},
|
|
6090
6155
|
"QuantitySelector": {
|
|
@@ -7871,6 +7936,85 @@
|
|
|
7871
7936
|
"shadow": "{system.shadow.none}"
|
|
7872
7937
|
}
|
|
7873
7938
|
},
|
|
7939
|
+
"TabBar": {
|
|
7940
|
+
"appearances": {
|
|
7941
|
+
"pressed": "{appearances.TabBarItem.pressed}"
|
|
7942
|
+
},
|
|
7943
|
+
"rules": [
|
|
7944
|
+
{
|
|
7945
|
+
"if": {
|
|
7946
|
+
"pressed": true
|
|
7947
|
+
},
|
|
7948
|
+
"tokens": {
|
|
7949
|
+
"paddingBottom": "{palette.size.size0}",
|
|
7950
|
+
"paddingTop": "{palette.size.size0}"
|
|
7951
|
+
}
|
|
7952
|
+
}
|
|
7953
|
+
],
|
|
7954
|
+
"tokens": {
|
|
7955
|
+
"backgroundColor": "{palette.color.greyAlabaster}",
|
|
7956
|
+
"borderTopColor": "{palette.color.greyMystic}",
|
|
7957
|
+
"borderTopWidth": "{palette.border.border1}",
|
|
7958
|
+
"gap": "{palette.size.size8}",
|
|
7959
|
+
"paddingBottom": "{palette.size.size4}",
|
|
7960
|
+
"paddingLeft": "{palette.size.size8}",
|
|
7961
|
+
"paddingRight": "{palette.size.size8}",
|
|
7962
|
+
"paddingTop": "{palette.size.size4}"
|
|
7963
|
+
}
|
|
7964
|
+
},
|
|
7965
|
+
"TabBarItem": {
|
|
7966
|
+
"appearances": {
|
|
7967
|
+
"focus": "{appearances.TabBarItem.pressed}",
|
|
7968
|
+
"hover": "{appearances.TabBarItem.pressed}",
|
|
7969
|
+
"pressed": "{appearances.TabBarItem.pressed}",
|
|
7970
|
+
"selected": "{appearances.TabBarItem.pressed}"
|
|
7971
|
+
},
|
|
7972
|
+
"rules": [
|
|
7973
|
+
{
|
|
7974
|
+
"if": {
|
|
7975
|
+
"focus": true
|
|
7976
|
+
},
|
|
7977
|
+
"tokens": {
|
|
7978
|
+
"backgroundColor": "{palette.color.slate5}",
|
|
7979
|
+
"color": "{palette.color.slate120}",
|
|
7980
|
+
"iconColor": "{palette.color.slate120}",
|
|
7981
|
+
"iconSize": "{palette.size.size26}"
|
|
7982
|
+
}
|
|
7983
|
+
},
|
|
7984
|
+
{
|
|
7985
|
+
"if": {
|
|
7986
|
+
"pressed": true
|
|
7987
|
+
},
|
|
7988
|
+
"tokens": {
|
|
7989
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
7990
|
+
"color": "{palette.color.slate25}",
|
|
7991
|
+
"iconColor": "{palette.color.slate25}",
|
|
7992
|
+
"iconSize": "{palette.size.size22}"
|
|
7993
|
+
}
|
|
7994
|
+
},
|
|
7995
|
+
{
|
|
7996
|
+
"if": {
|
|
7997
|
+
"hover": true
|
|
7998
|
+
},
|
|
7999
|
+
"tokens": {
|
|
8000
|
+
"iconSize": "{palette.size.size26}"
|
|
8001
|
+
}
|
|
8002
|
+
}
|
|
8003
|
+
],
|
|
8004
|
+
"tokens": {
|
|
8005
|
+
"activeColor": "{palette.color.slate100}",
|
|
8006
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
8007
|
+
"borderRadius": "{palette.radius.radius4}",
|
|
8008
|
+
"color": "{palette.color.slate75}",
|
|
8009
|
+
"fontName": "{palette.fontName.SofiaPro}",
|
|
8010
|
+
"fontWeight": "{palette.fontWeight.weight400}",
|
|
8011
|
+
"iconColor": "{palette.color.slate75}",
|
|
8012
|
+
"iconSize": "{palette.size.size24}",
|
|
8013
|
+
"lineHeight": "{palette.lineHeight.ratio4to3}",
|
|
8014
|
+
"paddingBottom": "{palette.size.size4}",
|
|
8015
|
+
"paddingTop": "{palette.size.size4}"
|
|
8016
|
+
}
|
|
8017
|
+
},
|
|
7874
8018
|
"Table": {
|
|
7875
8019
|
"appearances": {
|
|
7876
8020
|
"spacing": {
|