@telus-uds/theme-allium 7.18.0 → 7.19.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/Card.json +4 -0
- package/build/android/CheckboxCard.json +4 -0
- package/build/android/Listbox.json +117 -1
- package/build/android/RadioCard.json +4 -0
- package/build/android/Shortcuts.json +44 -0
- package/build/android/ShortcutsItem.json +77 -0
- package/build/android/schema.json +1668 -1109
- package/build/android/theme.json +251 -2
- package/build/ios/Card.json +4 -0
- package/build/ios/CheckboxCard.json +4 -0
- package/build/ios/Listbox.json +117 -1
- package/build/ios/RadioCard.json +4 -0
- package/build/ios/Shortcuts.json +44 -0
- package/build/ios/ShortcutsItem.json +77 -0
- package/build/ios/schema.json +1668 -1109
- package/build/ios/theme.json +251 -2
- package/build/rn/ActionCard.js +1 -1
- package/build/rn/ActivityIndicator.js +1 -1
- package/build/rn/Autocomplete.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 +1 -1
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +9 -1
- package/build/rn/CardGroup.js +1 -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 +5 -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 +1 -1
- 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 +1 -1
- package/build/rn/List.js +1 -1
- package/build/rn/Listbox.js +55 -3
- 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 +5 -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/Shortcuts.js +33 -0
- package/build/rn/ShortcutsItem.js +65 -0
- 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 +1 -1
- package/build/rn/TabBarItem.js +1 -1
- 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 +1668 -1109
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +150 -4
- package/build/web/ActionCard.js +1 -1
- package/build/web/ActivityIndicator.js +1 -1
- package/build/web/Autocomplete.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 +1 -1
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +9 -1
- package/build/web/CardGroup.js +1 -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 +5 -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 +1 -1
- 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 +1 -1
- package/build/web/List.js +1 -1
- package/build/web/Listbox.js +55 -3
- 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 +5 -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/Shortcuts.js +33 -0
- package/build/web/ShortcutsItem.js +65 -0
- 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 +1 -1
- package/build/web/TabBarItem.js +1 -1
- 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 +3 -1
- package/build/web/schema.json +1668 -1109
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +150 -4
- package/package.json +5 -5
- package/theme.json +180 -1
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 Fri, 12 Dec 2025 05:36:23 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -29,7 +29,6 @@ import PaletteIconSubtract from '@telus-uds/palette-allium/build/rn/icons/Subtra
|
|
|
29
29
|
import PaletteIconExpand from '@telus-uds/palette-allium/build/rn/icons/Expand'
|
|
30
30
|
import PaletteIconChevronLeft from '@telus-uds/palette-allium/build/rn/icons/ChevronLeft'
|
|
31
31
|
import PaletteIconBulletFill from '@telus-uds/palette-allium/build/rn/icons/BulletFill'
|
|
32
|
-
import PaletteIconChevronDown from '@telus-uds/palette-allium/build/rn/icons/ChevronDown'
|
|
33
32
|
import PaletteIconChevronUp from '@telus-uds/palette-allium/build/rn/icons/ChevronUp'
|
|
34
33
|
import PaletteIconStatusInfo from '@telus-uds/palette-allium/build/rn/icons/StatusInfo'
|
|
35
34
|
import PaletteIconTagFilled from '@telus-uds/palette-allium/build/rn/icons/TagFilled'
|
|
@@ -1771,6 +1770,10 @@ const theme = {
|
|
|
1771
1770
|
if: { hover: true, interactive: true, style: 'darkest' },
|
|
1772
1771
|
tokens: { backgroundColor: 'rgba(255, 255, 255, 0.1)' }
|
|
1773
1772
|
},
|
|
1773
|
+
{
|
|
1774
|
+
if: { hover: true, interactive: true, style: 'feature' },
|
|
1775
|
+
tokens: { backgroundColor: 'rgba(0, 0, 0, 0.05)' }
|
|
1776
|
+
},
|
|
1774
1777
|
{
|
|
1775
1778
|
if: { interactive: true, pressed: true, style: 'dark' },
|
|
1776
1779
|
tokens: { backgroundColor: 'rgba(255, 255, 255, 0.2)' }
|
|
@@ -1814,6 +1817,10 @@ const theme = {
|
|
|
1814
1817
|
spread: 0
|
|
1815
1818
|
},
|
|
1816
1819
|
inputWidth: 32,
|
|
1820
|
+
marginBottom: 0,
|
|
1821
|
+
marginLeft: 0,
|
|
1822
|
+
marginRight: 0,
|
|
1823
|
+
marginTop: 0,
|
|
1817
1824
|
maxHeight: '100%',
|
|
1818
1825
|
minWidth: null,
|
|
1819
1826
|
overflowY: 'visible',
|
|
@@ -2336,6 +2343,10 @@ const theme = {
|
|
|
2336
2343
|
fontWeight: '500',
|
|
2337
2344
|
letterSpacing: 0,
|
|
2338
2345
|
lineHeight: 1.4,
|
|
2346
|
+
marginBottom: 0,
|
|
2347
|
+
marginLeft: 0,
|
|
2348
|
+
marginRight: 0,
|
|
2349
|
+
marginTop: 0,
|
|
2339
2350
|
minWidth: 264,
|
|
2340
2351
|
outerBorderColor: 'transparent',
|
|
2341
2352
|
outerBorderGap: 0,
|
|
@@ -4687,6 +4698,7 @@ const theme = {
|
|
|
4687
4698
|
type: 'state',
|
|
4688
4699
|
values: [ true, false ]
|
|
4689
4700
|
},
|
|
4701
|
+
secondLevel: { type: 'variant', values: [ true ] },
|
|
4690
4702
|
style: { type: 'variant', values: [ 'default', 'lightest', 'light' ] }
|
|
4691
4703
|
},
|
|
4692
4704
|
rules: [
|
|
@@ -4881,9 +4893,38 @@ const theme = {
|
|
|
4881
4893
|
itemBorderTopWidth: 1,
|
|
4882
4894
|
itemColor: '#4b286d'
|
|
4883
4895
|
}
|
|
4896
|
+
},
|
|
4897
|
+
{
|
|
4898
|
+
if: { secondLevel: true },
|
|
4899
|
+
tokens: {
|
|
4900
|
+
groupBorderBottomColor: 'rgba(0, 0, 0, 0)',
|
|
4901
|
+
groupBorderBottomWidth: 0,
|
|
4902
|
+
groupBorderLeftColor: 'rgba(0, 0, 0, 0)',
|
|
4903
|
+
groupBorderLeftWidth: 0,
|
|
4904
|
+
groupBorderRightColor: 'rgba(0, 0, 0, 0)',
|
|
4905
|
+
groupBorderRightWidth: 0,
|
|
4906
|
+
groupBorderTopColor: 'rgba(0, 0, 0, 0)',
|
|
4907
|
+
groupBorderTopWidth: 0,
|
|
4908
|
+
itemBorderBottomColor: 'rgba(0, 0, 0, 0)',
|
|
4909
|
+
itemBorderBottomWidth: 0,
|
|
4910
|
+
itemBorderLeftColor: 'rgba(0, 0, 0, 0)',
|
|
4911
|
+
itemBorderLeftWidth: 0,
|
|
4912
|
+
itemBorderRightColor: 'rgba(0, 0, 0, 0)',
|
|
4913
|
+
itemBorderRightWidth: 0,
|
|
4914
|
+
itemBorderTopColor: 'rgba(0, 0, 0, 0)',
|
|
4915
|
+
itemBorderTopWidth: 0
|
|
4916
|
+
}
|
|
4917
|
+
},
|
|
4918
|
+
{
|
|
4919
|
+
if: { secondLevel: true },
|
|
4920
|
+
tokens: {
|
|
4921
|
+
groupIcon: PaletteIconChevronRight,
|
|
4922
|
+
secondLevelParentIcon: PaletteIconChevronRight
|
|
4923
|
+
}
|
|
4884
4924
|
}
|
|
4885
4925
|
],
|
|
4886
4926
|
tokens: {
|
|
4927
|
+
borderRadius: 6,
|
|
4887
4928
|
containerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4888
4929
|
groupBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4889
4930
|
groupBorderBottomColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -4900,7 +4941,7 @@ const theme = {
|
|
|
4900
4941
|
groupFontSize: 14,
|
|
4901
4942
|
groupFontWeight: '400',
|
|
4902
4943
|
groupHeight: 40,
|
|
4903
|
-
groupIcon:
|
|
4944
|
+
groupIcon: PaletteIconCaretDown,
|
|
4904
4945
|
groupPaddingBottom: 12,
|
|
4905
4946
|
groupPaddingLeft: 16,
|
|
4906
4947
|
groupPaddingRight: 16,
|
|
@@ -4931,6 +4972,25 @@ const theme = {
|
|
|
4931
4972
|
lineHeight: 1.14285714286,
|
|
4932
4973
|
minHeight: '100%',
|
|
4933
4974
|
minWidth: '100%',
|
|
4975
|
+
secondLevelBackIcon: PaletteIconChevronLeft,
|
|
4976
|
+
secondLevelBackIconColor: '#414547',
|
|
4977
|
+
secondLevelBackIconSize: 16,
|
|
4978
|
+
secondLevelBackLinkColor: '#414547',
|
|
4979
|
+
secondLevelBackLinkFontName: 'HNforTELUSSA',
|
|
4980
|
+
secondLevelBackLinkFontSize: 14,
|
|
4981
|
+
secondLevelBackLinkFontWeight: '400',
|
|
4982
|
+
secondLevelCloseButtonBorderWidth: 1,
|
|
4983
|
+
secondLevelCloseButtonPadding: 8,
|
|
4984
|
+
secondLevelCloseIcon: PaletteIconClose,
|
|
4985
|
+
secondLevelCloseIconSize: 16,
|
|
4986
|
+
secondLevelDividerColor: 'rgba(0, 0, 0, 0.2)',
|
|
4987
|
+
secondLevelDividerWidth: 1,
|
|
4988
|
+
secondLevelHeaderBackgroundColor: '#ffffff',
|
|
4989
|
+
secondLevelHeaderPaddingBottom: 12,
|
|
4990
|
+
secondLevelHeaderPaddingLeft: 16,
|
|
4991
|
+
secondLevelHeaderPaddingRight: 16,
|
|
4992
|
+
secondLevelHeaderPaddingTop: 8,
|
|
4993
|
+
secondLevelParentIcon: PaletteIconChevronRight,
|
|
4934
4994
|
shadow: {
|
|
4935
4995
|
blur: 8,
|
|
4936
4996
|
color: 'rgba(0, 0, 0, 0.1)',
|
|
@@ -6705,6 +6765,10 @@ const theme = {
|
|
|
6705
6765
|
fontWeight: '500',
|
|
6706
6766
|
letterSpacing: 0,
|
|
6707
6767
|
lineHeight: 1.4,
|
|
6768
|
+
marginBottom: 0,
|
|
6769
|
+
marginLeft: 0,
|
|
6770
|
+
marginRight: 0,
|
|
6771
|
+
marginTop: 0,
|
|
6708
6772
|
minWidth: 264,
|
|
6709
6773
|
outerBorderColor: 'transparent',
|
|
6710
6774
|
outerBorderGap: 0,
|
|
@@ -7107,6 +7171,88 @@ const theme = {
|
|
|
7107
7171
|
validationIconSize: 20
|
|
7108
7172
|
}
|
|
7109
7173
|
},
|
|
7174
|
+
Shortcuts: {
|
|
7175
|
+
appearances: {
|
|
7176
|
+
viewport: {
|
|
7177
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
7178
|
+
type: 'state',
|
|
7179
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
7180
|
+
}
|
|
7181
|
+
},
|
|
7182
|
+
rules: [
|
|
7183
|
+
{ if: { viewport: 'md' }, tokens: { mainContainerGap: 16 } },
|
|
7184
|
+
{ if: { viewport: 'lg' }, tokens: { mainContainerGap: 16 } },
|
|
7185
|
+
{ if: { viewport: 'xl' }, tokens: { mainContainerGap: 16 } }
|
|
7186
|
+
],
|
|
7187
|
+
tokens: {
|
|
7188
|
+
mainContainerBottomPadding: 0,
|
|
7189
|
+
mainContainerGap: 8,
|
|
7190
|
+
mainContainerLeftPadding: 16,
|
|
7191
|
+
mainContainerRightPadding: 16,
|
|
7192
|
+
mainContainerTopPadding: 0,
|
|
7193
|
+
nextIcon: PaletteIconArrowRight,
|
|
7194
|
+
previousIcon: PaletteIconArrowLeft
|
|
7195
|
+
}
|
|
7196
|
+
},
|
|
7197
|
+
ShortcutsItem: {
|
|
7198
|
+
appearances: {
|
|
7199
|
+
focus: {
|
|
7200
|
+
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.",
|
|
7201
|
+
platforms: [ 'rn', 'web' ],
|
|
7202
|
+
type: 'state',
|
|
7203
|
+
values: [ true, false ]
|
|
7204
|
+
},
|
|
7205
|
+
hover: {
|
|
7206
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
7207
|
+
platforms: [ 'rn', 'web' ],
|
|
7208
|
+
type: 'state',
|
|
7209
|
+
values: [ true, false ]
|
|
7210
|
+
},
|
|
7211
|
+
pressed: {
|
|
7212
|
+
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.',
|
|
7213
|
+
type: 'state',
|
|
7214
|
+
values: [ true, false ]
|
|
7215
|
+
}
|
|
7216
|
+
},
|
|
7217
|
+
rules: [
|
|
7218
|
+
{
|
|
7219
|
+
if: { hover: true },
|
|
7220
|
+
tokens: { labelUnderline: 'underline' }
|
|
7221
|
+
},
|
|
7222
|
+
{ if: { focus: true }, tokens: { borderColor: '#2b8000' } },
|
|
7223
|
+
{
|
|
7224
|
+
if: { pressed: true },
|
|
7225
|
+
tokens: { iconColor: '#b2b9bf', labelFontColor: '#b2b9bf' }
|
|
7226
|
+
}
|
|
7227
|
+
],
|
|
7228
|
+
tokens: {
|
|
7229
|
+
borderColor: 'transparent',
|
|
7230
|
+
borderRadius: 4,
|
|
7231
|
+
borderWidth: 1,
|
|
7232
|
+
iconBackgroundColor: '#f4f4f7',
|
|
7233
|
+
iconColor: '#414547',
|
|
7234
|
+
iconContainerPaddingBottom: 8,
|
|
7235
|
+
iconContainerPaddingLeft: 8,
|
|
7236
|
+
iconContainerPaddingRight: 8,
|
|
7237
|
+
iconContainerPaddingTop: 8,
|
|
7238
|
+
iconSize: 24,
|
|
7239
|
+
iconWidth: 16,
|
|
7240
|
+
imageHeight: 56,
|
|
7241
|
+
imageWidth: 56,
|
|
7242
|
+
labelContainerPaddingBottom: 0,
|
|
7243
|
+
labelContainerPaddingLeft: 8,
|
|
7244
|
+
labelContainerPaddingRight: 8,
|
|
7245
|
+
labelContainerPaddingTop: 0,
|
|
7246
|
+
labelFontColor: '#2c2e30',
|
|
7247
|
+
labelFontName: 'HNforTELUSSA',
|
|
7248
|
+
labelFontSize: 14,
|
|
7249
|
+
labelFontWeight: '400',
|
|
7250
|
+
labelLineHeight: 1.42857142857,
|
|
7251
|
+
labelTextAlign: 'center',
|
|
7252
|
+
labelUnderline: 'none',
|
|
7253
|
+
width: 72
|
|
7254
|
+
}
|
|
7255
|
+
},
|
|
7110
7256
|
SideNav: {
|
|
7111
7257
|
appearances: {},
|
|
7112
7258
|
rules: [],
|
|
@@ -9561,6 +9707,6 @@ const theme = {
|
|
|
9561
9707
|
tokens: { size: 96 }
|
|
9562
9708
|
}
|
|
9563
9709
|
},
|
|
9564
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '4.
|
|
9710
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '4.17.0' }
|
|
9565
9711
|
}
|
|
9566
9712
|
export default theme
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.19.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": "^5.13.
|
|
13
|
-
"@telus-uds/system-theme-tokens": "^4.
|
|
14
|
-
"@telus-uds/system-tokens": "^1.4.
|
|
12
|
+
"@telus-uds/palette-allium": "^5.13.1",
|
|
13
|
+
"@telus-uds/system-theme-tokens": "^4.17.0",
|
|
14
|
+
"@telus-uds/system-tokens": "^1.4.11"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@telus-uds/palette-allium": "^5.13.
|
|
17
|
+
"@telus-uds/palette-allium": "^5.13.1"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"build",
|
package/theme.json
CHANGED
|
@@ -2220,6 +2220,16 @@
|
|
|
2220
2220
|
"backgroundColor": "{palette.color.light10}"
|
|
2221
2221
|
}
|
|
2222
2222
|
},
|
|
2223
|
+
{
|
|
2224
|
+
"if": {
|
|
2225
|
+
"hover": true,
|
|
2226
|
+
"interactive": true,
|
|
2227
|
+
"style": "feature"
|
|
2228
|
+
},
|
|
2229
|
+
"tokens": {
|
|
2230
|
+
"backgroundColor": "{palette.color.dark5}"
|
|
2231
|
+
}
|
|
2232
|
+
},
|
|
2223
2233
|
{
|
|
2224
2234
|
"if": {
|
|
2225
2235
|
"interactive": true,
|
|
@@ -2274,6 +2284,10 @@
|
|
|
2274
2284
|
"inputHeight": "{palette.size.size32}",
|
|
2275
2285
|
"inputShadow": "{palette.shadow.surfaceInset}",
|
|
2276
2286
|
"inputWidth": "{palette.size.size32}",
|
|
2287
|
+
"marginBottom": "{palette.size.size0}",
|
|
2288
|
+
"marginLeft": "{palette.size.size0}",
|
|
2289
|
+
"marginRight": "{palette.size.size0}",
|
|
2290
|
+
"marginTop": "{palette.size.size0}",
|
|
2277
2291
|
"maxHeight": "{system.size.full}",
|
|
2278
2292
|
"minWidth": "{system.size.none}",
|
|
2279
2293
|
"overflowY": "{system.overflow.visible}",
|
|
@@ -2808,6 +2822,10 @@
|
|
|
2808
2822
|
"fontWeight": "{palette.fontWeight.weight500}",
|
|
2809
2823
|
"letterSpacing": "{system.letterSpacing.none}",
|
|
2810
2824
|
"lineHeight": "{palette.lineHeight.ratio7to5}",
|
|
2825
|
+
"marginBottom": "{palette.size.size0}",
|
|
2826
|
+
"marginLeft": "{palette.size.size0}",
|
|
2827
|
+
"marginRight": "{palette.size.size0}",
|
|
2828
|
+
"marginTop": "{palette.size.size0}",
|
|
2811
2829
|
"minWidth": "{palette.size.size264}",
|
|
2812
2830
|
"outerBorderColor": "{system.color.transparent}",
|
|
2813
2831
|
"outerBorderGap": "{system.size.zero}",
|
|
@@ -6661,6 +6679,10 @@
|
|
|
6661
6679
|
"hover": "{appearances.Listbox.hover}",
|
|
6662
6680
|
"isChild": "{appearances.Listbox.isChild}",
|
|
6663
6681
|
"pressed": "{appearances.Listbox.pressed}",
|
|
6682
|
+
"secondLevel": {
|
|
6683
|
+
"type": "variant",
|
|
6684
|
+
"values": [true]
|
|
6685
|
+
},
|
|
6664
6686
|
"style": {
|
|
6665
6687
|
"type": "variant",
|
|
6666
6688
|
"values": ["default", "lightest", "light"]
|
|
@@ -6899,9 +6921,42 @@
|
|
|
6899
6921
|
"itemBorderTopWidth": "{palette.border.border1}",
|
|
6900
6922
|
"itemColor": "{palette.color.purpleTelus}"
|
|
6901
6923
|
}
|
|
6924
|
+
},
|
|
6925
|
+
{
|
|
6926
|
+
"if": {
|
|
6927
|
+
"secondLevel": true
|
|
6928
|
+
},
|
|
6929
|
+
"tokens": {
|
|
6930
|
+
"groupBorderBottomColor": "{palette.color.transparent}",
|
|
6931
|
+
"groupBorderBottomWidth": "{palette.border.none}",
|
|
6932
|
+
"groupBorderLeftColor": "{palette.color.transparent}",
|
|
6933
|
+
"groupBorderLeftWidth": "{palette.border.none}",
|
|
6934
|
+
"groupBorderRightColor": "{palette.color.transparent}",
|
|
6935
|
+
"groupBorderRightWidth": "{palette.border.none}",
|
|
6936
|
+
"groupBorderTopColor": "{palette.color.transparent}",
|
|
6937
|
+
"groupBorderTopWidth": "{palette.border.none}",
|
|
6938
|
+
"itemBorderBottomColor": "{palette.color.transparent}",
|
|
6939
|
+
"itemBorderBottomWidth": "{palette.border.none}",
|
|
6940
|
+
"itemBorderLeftColor": "{palette.color.transparent}",
|
|
6941
|
+
"itemBorderLeftWidth": "{palette.border.none}",
|
|
6942
|
+
"itemBorderRightColor": "{palette.color.transparent}",
|
|
6943
|
+
"itemBorderRightWidth": "{palette.border.none}",
|
|
6944
|
+
"itemBorderTopColor": "{palette.color.transparent}",
|
|
6945
|
+
"itemBorderTopWidth": "{palette.border.none}"
|
|
6946
|
+
}
|
|
6947
|
+
},
|
|
6948
|
+
{
|
|
6949
|
+
"if": {
|
|
6950
|
+
"secondLevel": true
|
|
6951
|
+
},
|
|
6952
|
+
"tokens": {
|
|
6953
|
+
"groupIcon": "{palette.icon.ChevronRight}",
|
|
6954
|
+
"secondLevelParentIcon": "{palette.icon.ChevronRight}"
|
|
6955
|
+
}
|
|
6902
6956
|
}
|
|
6903
6957
|
],
|
|
6904
6958
|
"tokens": {
|
|
6959
|
+
"borderRadius": "{palette.radius.radius6}",
|
|
6905
6960
|
"containerBackgroundColor": "{palette.color.transparent}",
|
|
6906
6961
|
"groupBackgroundColor": "{palette.color.transparent}",
|
|
6907
6962
|
"groupBorderBottomColor": "{palette.color.transparent}",
|
|
@@ -6918,7 +6973,7 @@
|
|
|
6918
6973
|
"groupFontSize": "{palette.size.size14}",
|
|
6919
6974
|
"groupFontWeight": "{palette.fontWeight.weight400}",
|
|
6920
6975
|
"groupHeight": "{palette.size.size40}",
|
|
6921
|
-
"groupIcon": "{palette.icon.
|
|
6976
|
+
"groupIcon": "{palette.icon.CaretDown}",
|
|
6922
6977
|
"groupPaddingBottom": "{palette.size.size12}",
|
|
6923
6978
|
"groupPaddingLeft": "{palette.size.size16}",
|
|
6924
6979
|
"groupPaddingRight": "{palette.size.size16}",
|
|
@@ -6949,6 +7004,25 @@
|
|
|
6949
7004
|
"lineHeight": "{palette.lineHeight.ratio8to7}",
|
|
6950
7005
|
"minHeight": "{system.size.full}",
|
|
6951
7006
|
"minWidth": "{system.size.full}",
|
|
7007
|
+
"secondLevelBackIcon": "{palette.icon.ChevronLeft}",
|
|
7008
|
+
"secondLevelBackIconColor": "{palette.color.greyCharcoal}",
|
|
7009
|
+
"secondLevelBackIconSize": "{palette.size.size16}",
|
|
7010
|
+
"secondLevelBackLinkColor": "{palette.color.greyCharcoal}",
|
|
7011
|
+
"secondLevelBackLinkFontName": "{palette.fontName.HNforTELUSSA}",
|
|
7012
|
+
"secondLevelBackLinkFontSize": "{palette.size.size14}",
|
|
7013
|
+
"secondLevelBackLinkFontWeight": "{palette.fontWeight.weight400}",
|
|
7014
|
+
"secondLevelCloseButtonBorderWidth": "{palette.border.border1}",
|
|
7015
|
+
"secondLevelCloseButtonPadding": "{palette.size.size8}",
|
|
7016
|
+
"secondLevelCloseIcon": "{palette.icon.Close}",
|
|
7017
|
+
"secondLevelCloseIconSize": "{palette.size.size16}",
|
|
7018
|
+
"secondLevelDividerColor": "{palette.color.dark20}",
|
|
7019
|
+
"secondLevelDividerWidth": "{palette.size.size1}",
|
|
7020
|
+
"secondLevelHeaderBackgroundColor": "{palette.color.white}",
|
|
7021
|
+
"secondLevelHeaderPaddingBottom": "{palette.size.size12}",
|
|
7022
|
+
"secondLevelHeaderPaddingLeft": "{palette.size.size16}",
|
|
7023
|
+
"secondLevelHeaderPaddingRight": "{palette.size.size16}",
|
|
7024
|
+
"secondLevelHeaderPaddingTop": "{palette.size.size8}",
|
|
7025
|
+
"secondLevelParentIcon": "{palette.icon.ChevronRight}",
|
|
6952
7026
|
"shadow": "{palette.shadow.elevation1}"
|
|
6953
7027
|
}
|
|
6954
7028
|
},
|
|
@@ -8901,6 +8975,10 @@
|
|
|
8901
8975
|
"fontWeight": "{palette.fontWeight.weight500}",
|
|
8902
8976
|
"letterSpacing": "{system.letterSpacing.none}",
|
|
8903
8977
|
"lineHeight": "{palette.lineHeight.ratio7to5}",
|
|
8978
|
+
"marginBottom": "{palette.size.size0}",
|
|
8979
|
+
"marginLeft": "{palette.size.size0}",
|
|
8980
|
+
"marginRight": "{palette.size.size0}",
|
|
8981
|
+
"marginTop": "{palette.size.size0}",
|
|
8904
8982
|
"minWidth": "{palette.size.size264}",
|
|
8905
8983
|
"outerBorderColor": "{system.color.transparent}",
|
|
8906
8984
|
"outerBorderGap": "{system.size.zero}",
|
|
@@ -9310,6 +9388,107 @@
|
|
|
9310
9388
|
"validationIconSize": "{palette.size.size20}"
|
|
9311
9389
|
}
|
|
9312
9390
|
},
|
|
9391
|
+
"Shortcuts": {
|
|
9392
|
+
"appearances": {
|
|
9393
|
+
"viewport": "{appearances.system.viewport}"
|
|
9394
|
+
},
|
|
9395
|
+
"rules": [
|
|
9396
|
+
{
|
|
9397
|
+
"if": {
|
|
9398
|
+
"viewport": "md"
|
|
9399
|
+
},
|
|
9400
|
+
"tokens": {
|
|
9401
|
+
"mainContainerGap": "{palette.size.size16}"
|
|
9402
|
+
}
|
|
9403
|
+
},
|
|
9404
|
+
{
|
|
9405
|
+
"if": {
|
|
9406
|
+
"viewport": "lg"
|
|
9407
|
+
},
|
|
9408
|
+
"tokens": {
|
|
9409
|
+
"mainContainerGap": "{palette.size.size16}"
|
|
9410
|
+
}
|
|
9411
|
+
},
|
|
9412
|
+
{
|
|
9413
|
+
"if": {
|
|
9414
|
+
"viewport": "xl"
|
|
9415
|
+
},
|
|
9416
|
+
"tokens": {
|
|
9417
|
+
"mainContainerGap": "{palette.size.size16}"
|
|
9418
|
+
}
|
|
9419
|
+
}
|
|
9420
|
+
],
|
|
9421
|
+
"tokens": {
|
|
9422
|
+
"mainContainerBottomPadding": "{system.size.zero}",
|
|
9423
|
+
"mainContainerGap": "{palette.size.size8}",
|
|
9424
|
+
"mainContainerLeftPadding": "{palette.size.size16}",
|
|
9425
|
+
"mainContainerRightPadding": "{palette.size.size16}",
|
|
9426
|
+
"mainContainerTopPadding": "{system.size.zero}",
|
|
9427
|
+
"nextIcon": "{palette.icon.ArrowRight}",
|
|
9428
|
+
"previousIcon": "{palette.icon.ArrowLeft}"
|
|
9429
|
+
}
|
|
9430
|
+
},
|
|
9431
|
+
"ShortcutsItem": {
|
|
9432
|
+
"appearances": {
|
|
9433
|
+
"focus": "{appearances.ShortcutsItem.focus}",
|
|
9434
|
+
"hover": "{appearances.ShortcutsItem.hover}",
|
|
9435
|
+
"pressed": "{appearances.ShortcutsItem.pressed}"
|
|
9436
|
+
},
|
|
9437
|
+
"rules": [
|
|
9438
|
+
{
|
|
9439
|
+
"if": {
|
|
9440
|
+
"hover": true
|
|
9441
|
+
},
|
|
9442
|
+
"tokens": {
|
|
9443
|
+
"labelUnderline": "{system.textLine.underline}"
|
|
9444
|
+
}
|
|
9445
|
+
},
|
|
9446
|
+
{
|
|
9447
|
+
"if": {
|
|
9448
|
+
"focus": true
|
|
9449
|
+
},
|
|
9450
|
+
"tokens": {
|
|
9451
|
+
"borderColor": "{palette.color.greenAccessible}"
|
|
9452
|
+
}
|
|
9453
|
+
},
|
|
9454
|
+
{
|
|
9455
|
+
"if": {
|
|
9456
|
+
"pressed": true
|
|
9457
|
+
},
|
|
9458
|
+
"tokens": {
|
|
9459
|
+
"iconColor": "{palette.color.greyCloud}",
|
|
9460
|
+
"labelFontColor": "{palette.color.greyCloud}"
|
|
9461
|
+
}
|
|
9462
|
+
}
|
|
9463
|
+
],
|
|
9464
|
+
"tokens": {
|
|
9465
|
+
"borderColor": "{system.color.transparent}",
|
|
9466
|
+
"borderRadius": "{palette.radius.radius4}",
|
|
9467
|
+
"borderWidth": "{palette.border.border1}",
|
|
9468
|
+
"iconBackgroundColor": "{palette.color.greyAthens}",
|
|
9469
|
+
"iconColor": "{palette.color.greyCharcoal}",
|
|
9470
|
+
"iconContainerPaddingBottom": "{palette.size.size8}",
|
|
9471
|
+
"iconContainerPaddingLeft": "{palette.size.size8}",
|
|
9472
|
+
"iconContainerPaddingRight": "{palette.size.size8}",
|
|
9473
|
+
"iconContainerPaddingTop": "{palette.size.size8}",
|
|
9474
|
+
"iconSize": "{palette.size.size24}",
|
|
9475
|
+
"iconWidth": "{palette.size.size16}",
|
|
9476
|
+
"imageHeight": "{palette.size.size56}",
|
|
9477
|
+
"imageWidth": "{palette.size.size56}",
|
|
9478
|
+
"labelContainerPaddingBottom": "{system.size.zero}",
|
|
9479
|
+
"labelContainerPaddingLeft": "{palette.size.size8}",
|
|
9480
|
+
"labelContainerPaddingRight": "{palette.size.size8}",
|
|
9481
|
+
"labelContainerPaddingTop": "{system.size.zero}",
|
|
9482
|
+
"labelFontColor": "{palette.color.greyThunder}",
|
|
9483
|
+
"labelFontName": "{palette.fontName.HNforTELUSSA}",
|
|
9484
|
+
"labelFontSize": "{palette.fontSize.size14}",
|
|
9485
|
+
"labelFontWeight": "{palette.fontWeight.weight400}",
|
|
9486
|
+
"labelLineHeight": "{palette.lineHeight.ratio10to7}",
|
|
9487
|
+
"labelTextAlign": "{system.flexJustifyContent.center}",
|
|
9488
|
+
"labelUnderline": "{system.textLine.none}",
|
|
9489
|
+
"width": "{palette.size.size72}"
|
|
9490
|
+
}
|
|
9491
|
+
},
|
|
9313
9492
|
"SideNav": {
|
|
9314
9493
|
"appearances": {},
|
|
9315
9494
|
"rules": [],
|