@telus-uds/theme-allium 5.1.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/ButtonGroupItem.json +1 -1
- package/build/android/CardGroup.json +4 -0
- package/build/android/DownloadApp.json +41 -0
- package/build/android/Link.json +9 -1
- package/build/android/TabBar.json +40 -0
- package/build/android/TabBarItem.json +75 -0
- package/build/android/schema.json +1475 -997
- package/build/android/theme.json +171 -3
- package/build/ios/ButtonGroupItem.json +1 -1
- package/build/ios/CardGroup.json +4 -0
- package/build/ios/DownloadApp.json +41 -0
- package/build/ios/Link.json +9 -1
- package/build/ios/TabBar.json +40 -0
- package/build/ios/TabBarItem.json +75 -0
- package/build/ios/schema.json +1475 -997
- package/build/ios/theme.json +171 -3
- 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 +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 +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 +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 +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 +1475 -997
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +148 -4
- 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 +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 +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 +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 +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 +1475 -997
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +148 -4
- package/package.json +5 -5
- package/theme.json +148 -0
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'
|
|
@@ -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.',
|
|
@@ -1553,6 +1557,10 @@ const theme = {
|
|
|
1553
1557
|
fieldSpace: 3,
|
|
1554
1558
|
outlineOffset: 8,
|
|
1555
1559
|
outlineWidth: 1,
|
|
1560
|
+
paddingBottom: 24,
|
|
1561
|
+
paddingLeft: 24,
|
|
1562
|
+
paddingRight: 24,
|
|
1563
|
+
paddingTop: 24,
|
|
1556
1564
|
showIcon: true,
|
|
1557
1565
|
space: 3
|
|
1558
1566
|
}
|
|
@@ -2422,6 +2430,56 @@ const theme = {
|
|
|
2422
2430
|
],
|
|
2423
2431
|
tokens: { color: '#676e73', width: 1 }
|
|
2424
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
|
+
},
|
|
2425
2483
|
ExpandCollapse: {
|
|
2426
2484
|
appearances: {},
|
|
2427
2485
|
rules: [],
|
|
@@ -3407,7 +3465,7 @@ const theme = {
|
|
|
3407
3465
|
iconPosition: {
|
|
3408
3466
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
3409
3467
|
type: 'state',
|
|
3410
|
-
values: [ 'left', 'right' ]
|
|
3468
|
+
values: [ 'left', 'right', 'inline' ]
|
|
3411
3469
|
},
|
|
3412
3470
|
inverse: {
|
|
3413
3471
|
description: 'Styles the link white for use on dark backgrounds.',
|
|
@@ -3438,6 +3496,7 @@ const theme = {
|
|
|
3438
3496
|
rules: [
|
|
3439
3497
|
{ if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
|
|
3440
3498
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
3499
|
+
{ if: { iconPosition: 'inline' }, tokens: { iconSpace: 2 } },
|
|
3441
3500
|
{
|
|
3442
3501
|
if: { focus: true },
|
|
3443
3502
|
tokens: { outerBorderColor: '#2b8000', outerBorderOutline: 'none' }
|
|
@@ -6397,6 +6456,91 @@ const theme = {
|
|
|
6397
6456
|
shadow: null
|
|
6398
6457
|
}
|
|
6399
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
|
+
},
|
|
6400
6544
|
Table: {
|
|
6401
6545
|
appearances: {
|
|
6402
6546
|
spacing: {
|
|
@@ -8030,6 +8174,6 @@ const theme = {
|
|
|
8030
8174
|
tokens: { size: 96 }
|
|
8031
8175
|
}
|
|
8032
8176
|
},
|
|
8033
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
8177
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.64.0' }
|
|
8034
8178
|
}
|
|
8035
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",
|
package/theme.json
CHANGED
|
@@ -1885,6 +1885,10 @@
|
|
|
1885
1885
|
"fieldSpace": "{system.integer.3}",
|
|
1886
1886
|
"outlineOffset": "{palette.size.size8}",
|
|
1887
1887
|
"outlineWidth": "{palette.border.border1}",
|
|
1888
|
+
"paddingBottom": "{palette.size.size24}",
|
|
1889
|
+
"paddingLeft": "{palette.size.size24}",
|
|
1890
|
+
"paddingRight": "{palette.size.size24}",
|
|
1891
|
+
"paddingTop": "{palette.size.size24}",
|
|
1888
1892
|
"showIcon": "{system.show.true}",
|
|
1889
1893
|
"space": "{system.integer.3}"
|
|
1890
1894
|
}
|
|
@@ -2889,6 +2893,63 @@
|
|
|
2889
2893
|
"width": "{palette.size.size1}"
|
|
2890
2894
|
}
|
|
2891
2895
|
},
|
|
2896
|
+
"DownloadApp": {
|
|
2897
|
+
"appearances": {
|
|
2898
|
+
"focus": "{appearances.DownloadApp.focus}",
|
|
2899
|
+
"hover": "{appearances.DownloadApp.hover}",
|
|
2900
|
+
"pressed": "{appearances.DownloadApp.pressed}"
|
|
2901
|
+
},
|
|
2902
|
+
"rules": [
|
|
2903
|
+
{
|
|
2904
|
+
"if": {
|
|
2905
|
+
"focus": true
|
|
2906
|
+
},
|
|
2907
|
+
"tokens": {
|
|
2908
|
+
"borderColor": "{palette.color.greenAccessible}",
|
|
2909
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2910
|
+
}
|
|
2911
|
+
},
|
|
2912
|
+
{
|
|
2913
|
+
"if": {
|
|
2914
|
+
"hover": true
|
|
2915
|
+
},
|
|
2916
|
+
"tokens": {
|
|
2917
|
+
"borderColor": "{palette.color.greyCloud}",
|
|
2918
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2919
|
+
}
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
"if": {
|
|
2923
|
+
"pressed": true
|
|
2924
|
+
},
|
|
2925
|
+
"tokens": {
|
|
2926
|
+
"borderColor": "{palette.color.greenSanFelix}",
|
|
2927
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2928
|
+
}
|
|
2929
|
+
},
|
|
2930
|
+
{
|
|
2931
|
+
"if": {
|
|
2932
|
+
"focus": true,
|
|
2933
|
+
"pressed": true
|
|
2934
|
+
},
|
|
2935
|
+
"tokens": {
|
|
2936
|
+
"borderColor": "{palette.color.greenSanFelix}",
|
|
2937
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
2938
|
+
}
|
|
2939
|
+
}
|
|
2940
|
+
],
|
|
2941
|
+
"tokens": {
|
|
2942
|
+
"androidENIcon": "{palette.icon.AndroidEN}",
|
|
2943
|
+
"androidFRIcon": "{palette.icon.AndroidFR}",
|
|
2944
|
+
"borderColor": "{palette.color.transparent}",
|
|
2945
|
+
"borderGap": "{palette.size.size2}",
|
|
2946
|
+
"borderRadius": "{palette.radius.none}",
|
|
2947
|
+
"borderWidth": "{palette.border.border1}",
|
|
2948
|
+
"iosENIcon": "{palette.icon.IOSEN}",
|
|
2949
|
+
"iosFRIcon": "{palette.icon.IOSFR}",
|
|
2950
|
+
"padding": "{palette.size.size1}"
|
|
2951
|
+
}
|
|
2952
|
+
},
|
|
2892
2953
|
"ExpandCollapse": {
|
|
2893
2954
|
"appearances": {},
|
|
2894
2955
|
"rules": [],
|
|
@@ -4400,6 +4461,14 @@
|
|
|
4400
4461
|
"iconSpace": "{system.integer.1}"
|
|
4401
4462
|
}
|
|
4402
4463
|
},
|
|
4464
|
+
{
|
|
4465
|
+
"if": {
|
|
4466
|
+
"iconPosition": "inline"
|
|
4467
|
+
},
|
|
4468
|
+
"tokens": {
|
|
4469
|
+
"iconSpace": "{system.integer.2}"
|
|
4470
|
+
}
|
|
4471
|
+
},
|
|
4403
4472
|
{
|
|
4404
4473
|
"if": {
|
|
4405
4474
|
"focus": true
|
|
@@ -7852,6 +7921,85 @@
|
|
|
7852
7921
|
"shadow": "{system.shadow.none}"
|
|
7853
7922
|
}
|
|
7854
7923
|
},
|
|
7924
|
+
"TabBar": {
|
|
7925
|
+
"appearances": {
|
|
7926
|
+
"pressed": "{appearances.TabBarItem.pressed}"
|
|
7927
|
+
},
|
|
7928
|
+
"rules": [
|
|
7929
|
+
{
|
|
7930
|
+
"if": {
|
|
7931
|
+
"pressed": true
|
|
7932
|
+
},
|
|
7933
|
+
"tokens": {
|
|
7934
|
+
"paddingBottom": "{palette.size.size0}",
|
|
7935
|
+
"paddingTop": "{palette.size.size0}"
|
|
7936
|
+
}
|
|
7937
|
+
}
|
|
7938
|
+
],
|
|
7939
|
+
"tokens": {
|
|
7940
|
+
"backgroundColor": "{palette.color.greyAlabaster}",
|
|
7941
|
+
"borderTopColor": "{palette.color.greyMystic}",
|
|
7942
|
+
"borderTopWidth": "{palette.border.border1}",
|
|
7943
|
+
"gap": "{palette.size.size8}",
|
|
7944
|
+
"paddingBottom": "{palette.size.size4}",
|
|
7945
|
+
"paddingLeft": "{palette.size.size8}",
|
|
7946
|
+
"paddingRight": "{palette.size.size8}",
|
|
7947
|
+
"paddingTop": "{palette.size.size4}"
|
|
7948
|
+
}
|
|
7949
|
+
},
|
|
7950
|
+
"TabBarItem": {
|
|
7951
|
+
"appearances": {
|
|
7952
|
+
"focus": "{appearances.TabBarItem.focus}",
|
|
7953
|
+
"hover": "{appearances.TabBarItem.hover}",
|
|
7954
|
+
"pressed": "{appearances.TabBarItem.pressed}",
|
|
7955
|
+
"selected": "{appearances.TabBarItem.selected}"
|
|
7956
|
+
},
|
|
7957
|
+
"rules": [
|
|
7958
|
+
{
|
|
7959
|
+
"if": {
|
|
7960
|
+
"focus": true
|
|
7961
|
+
},
|
|
7962
|
+
"tokens": {
|
|
7963
|
+
"backgroundColor": "{palette.color.greyAthens}",
|
|
7964
|
+
"color": "{palette.color.greyCharcoal}",
|
|
7965
|
+
"iconColor": "{palette.color.greyCharcoal}",
|
|
7966
|
+
"iconSize": "{palette.size.size26}"
|
|
7967
|
+
}
|
|
7968
|
+
},
|
|
7969
|
+
{
|
|
7970
|
+
"if": {
|
|
7971
|
+
"pressed": true
|
|
7972
|
+
},
|
|
7973
|
+
"tokens": {
|
|
7974
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
7975
|
+
"color": "{palette.color.purpleTelus}",
|
|
7976
|
+
"iconColor": "{palette.color.purpleTelus}",
|
|
7977
|
+
"iconSize": "{palette.size.size22}"
|
|
7978
|
+
}
|
|
7979
|
+
},
|
|
7980
|
+
{
|
|
7981
|
+
"if": {
|
|
7982
|
+
"hover": true
|
|
7983
|
+
},
|
|
7984
|
+
"tokens": {
|
|
7985
|
+
"iconSize": "{palette.size.size26}"
|
|
7986
|
+
}
|
|
7987
|
+
}
|
|
7988
|
+
],
|
|
7989
|
+
"tokens": {
|
|
7990
|
+
"activeColor": "{palette.color.purpleTelus}",
|
|
7991
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
7992
|
+
"borderRadius": "{palette.radius.radius4}",
|
|
7993
|
+
"color": "{palette.color.greyShuttle}",
|
|
7994
|
+
"fontName": "{palette.fontName.HNforTELUSSA}",
|
|
7995
|
+
"fontWeight": "{palette.fontWeight.weight500}",
|
|
7996
|
+
"iconColor": "{palette.color.greyShuttle}",
|
|
7997
|
+
"iconSize": "{palette.size.size24}",
|
|
7998
|
+
"lineHeight": "{palette.lineHeight.ratio8to7}",
|
|
7999
|
+
"paddingBottom": "{palette.size.size4}",
|
|
8000
|
+
"paddingTop": "{palette.size.size4}"
|
|
8001
|
+
}
|
|
8002
|
+
},
|
|
7855
8003
|
"Table": {
|
|
7856
8004
|
"appearances": {
|
|
7857
8005
|
"spacing": {
|