@telus-uds/theme-allium 5.1.0 → 5.3.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 +9 -1
- package/build/android/PriceLockup.json +1 -0
- package/build/android/Progress.json +14 -1
- package/build/android/ProgressBar.json +18 -3
- package/build/android/TabBar.json +40 -0
- package/build/android/TabBarItem.json +75 -0
- package/build/android/schema.json +1511 -1000
- package/build/android/theme.json +205 -7
- 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 +9 -1
- package/build/ios/PriceLockup.json +1 -0
- package/build/ios/Progress.json +14 -1
- package/build/ios/ProgressBar.json +18 -3
- package/build/ios/TabBar.json +40 -0
- package/build/ios/TabBarItem.json +75 -0
- package/build/ios/schema.json +1511 -1000
- package/build/ios/theme.json +205 -7
- 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 +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 +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 +14 -4
- 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 +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 +1511 -1000
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +172 -8
- 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 +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 +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 +14 -4
- 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 +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 +4 -1
- package/build/web/schema.json +1511 -1000
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +172 -8
- package/package.json +5 -5
- package/theme.json +158 -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 Sat, 12 Oct 2024 00:30:00 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'
|
|
@@ -1061,7 +1065,7 @@ const theme = {
|
|
|
1061
1065
|
iconPosition: {
|
|
1062
1066
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
1063
1067
|
type: 'state',
|
|
1064
|
-
values: [ 'left', 'right' ]
|
|
1068
|
+
values: [ 'left', 'right', 'inline' ]
|
|
1065
1069
|
},
|
|
1066
1070
|
inactive: {
|
|
1067
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.',
|
|
@@ -1469,6 +1473,7 @@ const theme = {
|
|
|
1469
1473
|
],
|
|
1470
1474
|
tokens: {
|
|
1471
1475
|
backgroundColor: '#ffffff',
|
|
1476
|
+
backgroundGradient: null,
|
|
1472
1477
|
borderColor: '#e3e6e8',
|
|
1473
1478
|
borderRadius: 6,
|
|
1474
1479
|
borderWidth: 1,
|
|
@@ -1553,6 +1558,10 @@ const theme = {
|
|
|
1553
1558
|
fieldSpace: 3,
|
|
1554
1559
|
outlineOffset: 8,
|
|
1555
1560
|
outlineWidth: 1,
|
|
1561
|
+
paddingBottom: 24,
|
|
1562
|
+
paddingLeft: 24,
|
|
1563
|
+
paddingRight: 24,
|
|
1564
|
+
paddingTop: 24,
|
|
1556
1565
|
showIcon: true,
|
|
1557
1566
|
space: 3
|
|
1558
1567
|
}
|
|
@@ -2422,6 +2431,56 @@ const theme = {
|
|
|
2422
2431
|
],
|
|
2423
2432
|
tokens: { color: '#676e73', width: 1 }
|
|
2424
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
|
+
},
|
|
2425
2484
|
ExpandCollapse: {
|
|
2426
2485
|
appearances: {},
|
|
2427
2486
|
rules: [],
|
|
@@ -3407,7 +3466,7 @@ const theme = {
|
|
|
3407
3466
|
iconPosition: {
|
|
3408
3467
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
3409
3468
|
type: 'state',
|
|
3410
|
-
values: [ 'left', 'right' ]
|
|
3469
|
+
values: [ 'left', 'right', 'inline' ]
|
|
3411
3470
|
},
|
|
3412
3471
|
inverse: {
|
|
3413
3472
|
description: 'Styles the link white for use on dark backgrounds.',
|
|
@@ -3438,6 +3497,7 @@ const theme = {
|
|
|
3438
3497
|
rules: [
|
|
3439
3498
|
{ if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
|
|
3440
3499
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
3500
|
+
{ if: { iconPosition: 'inline' }, tokens: { iconSpace: 2 } },
|
|
3441
3501
|
{
|
|
3442
3502
|
if: { focus: true },
|
|
3443
3503
|
tokens: { outerBorderColor: '#2b8000', outerBorderOutline: 'none' }
|
|
@@ -4687,6 +4747,7 @@ const theme = {
|
|
|
4687
4747
|
}
|
|
4688
4748
|
],
|
|
4689
4749
|
tokens: {
|
|
4750
|
+
alignItemsText: 'flex-start',
|
|
4690
4751
|
amountFontName: 'HNforTELUSSA',
|
|
4691
4752
|
amountFontSize: 40,
|
|
4692
4753
|
amountFontWeight: '300',
|
|
@@ -4762,7 +4823,15 @@ const theme = {
|
|
|
4762
4823
|
borderColor: '#b2b9bf',
|
|
4763
4824
|
borderRadius: 12,
|
|
4764
4825
|
borderWidth: 1,
|
|
4765
|
-
height: 16
|
|
4826
|
+
height: 16,
|
|
4827
|
+
shadow: {
|
|
4828
|
+
blur: 2,
|
|
4829
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
4830
|
+
inset: true,
|
|
4831
|
+
offsetX: 0,
|
|
4832
|
+
offsetY: 2,
|
|
4833
|
+
spread: 0
|
|
4834
|
+
}
|
|
4766
4835
|
}
|
|
4767
4836
|
},
|
|
4768
4837
|
ProgressBar: {
|
|
@@ -4780,7 +4849,8 @@ const theme = {
|
|
|
4780
4849
|
tokens: {
|
|
4781
4850
|
backgroundColor: '#b2b9bf',
|
|
4782
4851
|
gradient: null,
|
|
4783
|
-
outlineColor: '#2c2e30'
|
|
4852
|
+
outlineColor: '#2c2e30',
|
|
4853
|
+
shadow: null
|
|
4784
4854
|
}
|
|
4785
4855
|
},
|
|
4786
4856
|
{
|
|
@@ -4788,7 +4858,8 @@ const theme = {
|
|
|
4788
4858
|
tokens: {
|
|
4789
4859
|
backgroundColor: '#c12335',
|
|
4790
4860
|
gradient: null,
|
|
4791
|
-
outlineColor: '#c12335'
|
|
4861
|
+
outlineColor: '#c12335',
|
|
4862
|
+
shadow: null
|
|
4792
4863
|
}
|
|
4793
4864
|
}
|
|
4794
4865
|
],
|
|
@@ -4804,7 +4875,15 @@ const theme = {
|
|
|
4804
4875
|
type: 'linear'
|
|
4805
4876
|
},
|
|
4806
4877
|
outlineColor: '#2b8000',
|
|
4807
|
-
outlineWidth: 1
|
|
4878
|
+
outlineWidth: 1,
|
|
4879
|
+
shadow: {
|
|
4880
|
+
blur: 1,
|
|
4881
|
+
color: 'rgba(255, 255, 255, 0.8)',
|
|
4882
|
+
inset: true,
|
|
4883
|
+
offsetX: 0,
|
|
4884
|
+
offsetY: 1,
|
|
4885
|
+
spread: 0
|
|
4886
|
+
}
|
|
4808
4887
|
}
|
|
4809
4888
|
},
|
|
4810
4889
|
QuantitySelector: {
|
|
@@ -6397,6 +6476,91 @@ const theme = {
|
|
|
6397
6476
|
shadow: null
|
|
6398
6477
|
}
|
|
6399
6478
|
},
|
|
6479
|
+
TabBar: {
|
|
6480
|
+
appearances: {
|
|
6481
|
+
pressed: {
|
|
6482
|
+
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.',
|
|
6483
|
+
type: 'state',
|
|
6484
|
+
values: [ true, false ]
|
|
6485
|
+
}
|
|
6486
|
+
},
|
|
6487
|
+
rules: [
|
|
6488
|
+
{
|
|
6489
|
+
if: { pressed: true },
|
|
6490
|
+
tokens: { paddingBottom: 0, paddingTop: 0 }
|
|
6491
|
+
}
|
|
6492
|
+
],
|
|
6493
|
+
tokens: {
|
|
6494
|
+
backgroundColor: '#fafafa',
|
|
6495
|
+
borderTopColor: '#e3e6e8',
|
|
6496
|
+
borderTopWidth: 1,
|
|
6497
|
+
gap: 8,
|
|
6498
|
+
paddingBottom: 4,
|
|
6499
|
+
paddingLeft: 8,
|
|
6500
|
+
paddingRight: 8,
|
|
6501
|
+
paddingTop: 4
|
|
6502
|
+
}
|
|
6503
|
+
},
|
|
6504
|
+
TabBarItem: {
|
|
6505
|
+
appearances: {
|
|
6506
|
+
focus: {
|
|
6507
|
+
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.",
|
|
6508
|
+
platforms: [ 'rn', 'web' ],
|
|
6509
|
+
type: 'state',
|
|
6510
|
+
values: [ true, false ]
|
|
6511
|
+
},
|
|
6512
|
+
hover: {
|
|
6513
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
6514
|
+
platforms: [ 'rn', 'web' ],
|
|
6515
|
+
type: 'state',
|
|
6516
|
+
values: [ true, false ]
|
|
6517
|
+
},
|
|
6518
|
+
pressed: {
|
|
6519
|
+
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.',
|
|
6520
|
+
type: 'state',
|
|
6521
|
+
values: [ true, false ]
|
|
6522
|
+
},
|
|
6523
|
+
selected: {
|
|
6524
|
+
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`.',
|
|
6525
|
+
type: 'state',
|
|
6526
|
+
values: [ true ]
|
|
6527
|
+
}
|
|
6528
|
+
},
|
|
6529
|
+
rules: [
|
|
6530
|
+
{
|
|
6531
|
+
if: { focus: true },
|
|
6532
|
+
tokens: {
|
|
6533
|
+
backgroundColor: '#f4f4f7',
|
|
6534
|
+
color: '#414547',
|
|
6535
|
+
iconColor: '#414547',
|
|
6536
|
+
iconSize: 26
|
|
6537
|
+
}
|
|
6538
|
+
},
|
|
6539
|
+
{
|
|
6540
|
+
if: { pressed: true },
|
|
6541
|
+
tokens: {
|
|
6542
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6543
|
+
color: '#4b286d',
|
|
6544
|
+
iconColor: '#4b286d',
|
|
6545
|
+
iconSize: 22
|
|
6546
|
+
}
|
|
6547
|
+
},
|
|
6548
|
+
{ if: { hover: true }, tokens: { iconSize: 26 } }
|
|
6549
|
+
],
|
|
6550
|
+
tokens: {
|
|
6551
|
+
activeColor: '#4b286d',
|
|
6552
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6553
|
+
borderRadius: 4,
|
|
6554
|
+
color: '#676e73',
|
|
6555
|
+
fontName: 'HNforTELUSSA',
|
|
6556
|
+
fontWeight: '500',
|
|
6557
|
+
iconColor: '#676e73',
|
|
6558
|
+
iconSize: 24,
|
|
6559
|
+
lineHeight: 1.14285714286,
|
|
6560
|
+
paddingBottom: 4,
|
|
6561
|
+
paddingTop: 4
|
|
6562
|
+
}
|
|
6563
|
+
},
|
|
6400
6564
|
Table: {
|
|
6401
6565
|
appearances: {
|
|
6402
6566
|
spacing: {
|
|
@@ -8030,6 +8194,6 @@ const theme = {
|
|
|
8030
8194
|
tokens: { size: 96 }
|
|
8031
8195
|
}
|
|
8032
8196
|
},
|
|
8033
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
8197
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.65.0' }
|
|
8034
8198
|
}
|
|
8035
8199
|
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.3.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.3.0",
|
|
13
|
+
"@telus-uds/system-theme-tokens": "^2.65.0",
|
|
14
|
+
"@telus-uds/system-tokens": "^0.9.3"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@telus-uds/palette-allium": "^3.
|
|
17
|
+
"@telus-uds/palette-allium": "^3.3.0"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"build",
|
package/theme.json
CHANGED
|
@@ -1819,6 +1819,7 @@
|
|
|
1819
1819
|
],
|
|
1820
1820
|
"tokens": {
|
|
1821
1821
|
"backgroundColor": "{palette.color.white}",
|
|
1822
|
+
"backgroundGradient": "{system.gradient.none}",
|
|
1822
1823
|
"borderColor": "{palette.color.greyMystic}",
|
|
1823
1824
|
"borderRadius": "{palette.radius.radius6}",
|
|
1824
1825
|
"borderWidth": "{palette.border.border1}",
|
|
@@ -1885,6 +1886,10 @@
|
|
|
1885
1886
|
"fieldSpace": "{system.integer.3}",
|
|
1886
1887
|
"outlineOffset": "{palette.size.size8}",
|
|
1887
1888
|
"outlineWidth": "{palette.border.border1}",
|
|
1889
|
+
"paddingBottom": "{palette.size.size24}",
|
|
1890
|
+
"paddingLeft": "{palette.size.size24}",
|
|
1891
|
+
"paddingRight": "{palette.size.size24}",
|
|
1892
|
+
"paddingTop": "{palette.size.size24}",
|
|
1888
1893
|
"showIcon": "{system.show.true}",
|
|
1889
1894
|
"space": "{system.integer.3}"
|
|
1890
1895
|
}
|
|
@@ -2889,6 +2894,63 @@
|
|
|
2889
2894
|
"width": "{palette.size.size1}"
|
|
2890
2895
|
}
|
|
2891
2896
|
},
|
|
2897
|
+
"DownloadApp": {
|
|
2898
|
+
"appearances": {
|
|
2899
|
+
"focus": "{appearances.DownloadApp.focus}",
|
|
2900
|
+
"hover": "{appearances.DownloadApp.hover}",
|
|
2901
|
+
"pressed": "{appearances.DownloadApp.pressed}"
|
|
2902
|
+
},
|
|
2903
|
+
"rules": [
|
|
2904
|
+
{
|
|
2905
|
+
"if": {
|
|
2906
|
+
"focus": true
|
|
2907
|
+
},
|
|
2908
|
+
"tokens": {
|
|
2909
|
+
"borderColor": "{palette.color.greenAccessible}",
|
|
2910
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2911
|
+
}
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"if": {
|
|
2915
|
+
"hover": true
|
|
2916
|
+
},
|
|
2917
|
+
"tokens": {
|
|
2918
|
+
"borderColor": "{palette.color.greyCloud}",
|
|
2919
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2920
|
+
}
|
|
2921
|
+
},
|
|
2922
|
+
{
|
|
2923
|
+
"if": {
|
|
2924
|
+
"pressed": true
|
|
2925
|
+
},
|
|
2926
|
+
"tokens": {
|
|
2927
|
+
"borderColor": "{palette.color.greenSanFelix}",
|
|
2928
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2929
|
+
}
|
|
2930
|
+
},
|
|
2931
|
+
{
|
|
2932
|
+
"if": {
|
|
2933
|
+
"focus": true,
|
|
2934
|
+
"pressed": true
|
|
2935
|
+
},
|
|
2936
|
+
"tokens": {
|
|
2937
|
+
"borderColor": "{palette.color.greenSanFelix}",
|
|
2938
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2939
|
+
}
|
|
2940
|
+
}
|
|
2941
|
+
],
|
|
2942
|
+
"tokens": {
|
|
2943
|
+
"androidENIcon": "{palette.icon.AndroidEN}",
|
|
2944
|
+
"androidFRIcon": "{palette.icon.AndroidFR}",
|
|
2945
|
+
"borderColor": "{palette.color.transparent}",
|
|
2946
|
+
"borderGap": "{palette.size.size2}",
|
|
2947
|
+
"borderRadius": "{palette.radius.none}",
|
|
2948
|
+
"borderWidth": "{palette.border.border1}",
|
|
2949
|
+
"iosENIcon": "{palette.icon.IOSEN}",
|
|
2950
|
+
"iosFRIcon": "{palette.icon.IOSFR}",
|
|
2951
|
+
"padding": "{palette.size.size1}"
|
|
2952
|
+
}
|
|
2953
|
+
},
|
|
2892
2954
|
"ExpandCollapse": {
|
|
2893
2955
|
"appearances": {},
|
|
2894
2956
|
"rules": [],
|
|
@@ -4400,6 +4462,14 @@
|
|
|
4400
4462
|
"iconSpace": "{system.integer.1}"
|
|
4401
4463
|
}
|
|
4402
4464
|
},
|
|
4465
|
+
{
|
|
4466
|
+
"if": {
|
|
4467
|
+
"iconPosition": "inline"
|
|
4468
|
+
},
|
|
4469
|
+
"tokens": {
|
|
4470
|
+
"iconSpace": "{system.integer.2}"
|
|
4471
|
+
}
|
|
4472
|
+
},
|
|
4403
4473
|
{
|
|
4404
4474
|
"if": {
|
|
4405
4475
|
"focus": true
|
|
@@ -5866,6 +5936,7 @@
|
|
|
5866
5936
|
}
|
|
5867
5937
|
],
|
|
5868
5938
|
"tokens": {
|
|
5939
|
+
"alignItemsText": "{system.flexAlign.flexStart}",
|
|
5869
5940
|
"amountFontName": "{palette.fontName.HNforTELUSSA}",
|
|
5870
5941
|
"amountFontSize": "{palette.fontSize.size40}",
|
|
5871
5942
|
"amountFontWeight": "{palette.fontWeight.weight300}",
|
|
@@ -5957,7 +6028,8 @@
|
|
|
5957
6028
|
"borderColor": "{palette.color.greyCloud}",
|
|
5958
6029
|
"borderRadius": "{palette.radius.radius12}",
|
|
5959
6030
|
"borderWidth": "{palette.border.border1}",
|
|
5960
|
-
"height": "{palette.size.size16}"
|
|
6031
|
+
"height": "{palette.size.size16}",
|
|
6032
|
+
"shadow": "{palette.shadow.surfaceInset}"
|
|
5961
6033
|
}
|
|
5962
6034
|
},
|
|
5963
6035
|
"ProgressBar": {
|
|
@@ -5976,7 +6048,8 @@
|
|
|
5976
6048
|
"tokens": {
|
|
5977
6049
|
"backgroundColor": "{palette.color.greyCloud}",
|
|
5978
6050
|
"gradient": "{system.gradient.none}",
|
|
5979
|
-
"outlineColor": "{palette.color.greyThunder}"
|
|
6051
|
+
"outlineColor": "{palette.color.greyThunder}",
|
|
6052
|
+
"shadow": "{system.shadow.none}"
|
|
5980
6053
|
}
|
|
5981
6054
|
},
|
|
5982
6055
|
{
|
|
@@ -5986,7 +6059,8 @@
|
|
|
5986
6059
|
"tokens": {
|
|
5987
6060
|
"backgroundColor": "{palette.color.redDark}",
|
|
5988
6061
|
"gradient": "{system.gradient.none}",
|
|
5989
|
-
"outlineColor": "{palette.color.redDark}"
|
|
6062
|
+
"outlineColor": "{palette.color.redDark}",
|
|
6063
|
+
"shadow": "{system.shadow.none}"
|
|
5990
6064
|
}
|
|
5991
6065
|
}
|
|
5992
6066
|
],
|
|
@@ -5995,7 +6069,8 @@
|
|
|
5995
6069
|
"borderRadius": "{palette.radius.radius12}",
|
|
5996
6070
|
"gradient": "{palette.gradient.green}",
|
|
5997
6071
|
"outlineColor": "{palette.color.greenAccessible}",
|
|
5998
|
-
"outlineWidth": "{palette.border.border1}"
|
|
6072
|
+
"outlineWidth": "{palette.border.border1}",
|
|
6073
|
+
"shadow": "{palette.shadow.surfaceEmboss}"
|
|
5999
6074
|
}
|
|
6000
6075
|
},
|
|
6001
6076
|
"QuantitySelector": {
|
|
@@ -7852,6 +7927,85 @@
|
|
|
7852
7927
|
"shadow": "{system.shadow.none}"
|
|
7853
7928
|
}
|
|
7854
7929
|
},
|
|
7930
|
+
"TabBar": {
|
|
7931
|
+
"appearances": {
|
|
7932
|
+
"pressed": "{appearances.TabBarItem.pressed}"
|
|
7933
|
+
},
|
|
7934
|
+
"rules": [
|
|
7935
|
+
{
|
|
7936
|
+
"if": {
|
|
7937
|
+
"pressed": true
|
|
7938
|
+
},
|
|
7939
|
+
"tokens": {
|
|
7940
|
+
"paddingBottom": "{palette.size.size0}",
|
|
7941
|
+
"paddingTop": "{palette.size.size0}"
|
|
7942
|
+
}
|
|
7943
|
+
}
|
|
7944
|
+
],
|
|
7945
|
+
"tokens": {
|
|
7946
|
+
"backgroundColor": "{palette.color.greyAlabaster}",
|
|
7947
|
+
"borderTopColor": "{palette.color.greyMystic}",
|
|
7948
|
+
"borderTopWidth": "{palette.border.border1}",
|
|
7949
|
+
"gap": "{palette.size.size8}",
|
|
7950
|
+
"paddingBottom": "{palette.size.size4}",
|
|
7951
|
+
"paddingLeft": "{palette.size.size8}",
|
|
7952
|
+
"paddingRight": "{palette.size.size8}",
|
|
7953
|
+
"paddingTop": "{palette.size.size4}"
|
|
7954
|
+
}
|
|
7955
|
+
},
|
|
7956
|
+
"TabBarItem": {
|
|
7957
|
+
"appearances": {
|
|
7958
|
+
"focus": "{appearances.TabBarItem.focus}",
|
|
7959
|
+
"hover": "{appearances.TabBarItem.hover}",
|
|
7960
|
+
"pressed": "{appearances.TabBarItem.pressed}",
|
|
7961
|
+
"selected": "{appearances.TabBarItem.selected}"
|
|
7962
|
+
},
|
|
7963
|
+
"rules": [
|
|
7964
|
+
{
|
|
7965
|
+
"if": {
|
|
7966
|
+
"focus": true
|
|
7967
|
+
},
|
|
7968
|
+
"tokens": {
|
|
7969
|
+
"backgroundColor": "{palette.color.greyAthens}",
|
|
7970
|
+
"color": "{palette.color.greyCharcoal}",
|
|
7971
|
+
"iconColor": "{palette.color.greyCharcoal}",
|
|
7972
|
+
"iconSize": "{palette.size.size26}"
|
|
7973
|
+
}
|
|
7974
|
+
},
|
|
7975
|
+
{
|
|
7976
|
+
"if": {
|
|
7977
|
+
"pressed": true
|
|
7978
|
+
},
|
|
7979
|
+
"tokens": {
|
|
7980
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
7981
|
+
"color": "{palette.color.purpleTelus}",
|
|
7982
|
+
"iconColor": "{palette.color.purpleTelus}",
|
|
7983
|
+
"iconSize": "{palette.size.size22}"
|
|
7984
|
+
}
|
|
7985
|
+
},
|
|
7986
|
+
{
|
|
7987
|
+
"if": {
|
|
7988
|
+
"hover": true
|
|
7989
|
+
},
|
|
7990
|
+
"tokens": {
|
|
7991
|
+
"iconSize": "{palette.size.size26}"
|
|
7992
|
+
}
|
|
7993
|
+
}
|
|
7994
|
+
],
|
|
7995
|
+
"tokens": {
|
|
7996
|
+
"activeColor": "{palette.color.purpleTelus}",
|
|
7997
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
7998
|
+
"borderRadius": "{palette.radius.radius4}",
|
|
7999
|
+
"color": "{palette.color.greyShuttle}",
|
|
8000
|
+
"fontName": "{palette.fontName.HNforTELUSSA}",
|
|
8001
|
+
"fontWeight": "{palette.fontWeight.weight500}",
|
|
8002
|
+
"iconColor": "{palette.color.greyShuttle}",
|
|
8003
|
+
"iconSize": "{palette.size.size24}",
|
|
8004
|
+
"lineHeight": "{palette.lineHeight.ratio8to7}",
|
|
8005
|
+
"paddingBottom": "{palette.size.size4}",
|
|
8006
|
+
"paddingTop": "{palette.size.size4}"
|
|
8007
|
+
}
|
|
8008
|
+
},
|
|
7855
8009
|
"Table": {
|
|
7856
8010
|
"appearances": {
|
|
7857
8011
|
"spacing": {
|