@telus-uds/theme-allium 7.7.0 → 7.9.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/ActionCard.json +7 -7
- package/build/android/ActivityIndicator.json +25 -4
- package/build/android/Feedback.json +1 -1
- package/build/android/Icon.json +3 -3
- package/build/android/MultiSelectFilter.json +12 -0
- package/build/android/Notification.json +46 -13
- package/build/android/Select.json +1 -1
- package/build/android/Status.json +6 -6
- package/build/android/TextInput.json +1 -1
- package/build/android/ToggleSwitch.json +4 -0
- package/build/android/Typography.json +3 -3
- package/build/android/schema.json +1108 -1054
- package/build/android/theme.json +110 -40
- package/build/ios/ActionCard.json +7 -7
- package/build/ios/ActivityIndicator.json +25 -4
- package/build/ios/Feedback.json +1 -1
- package/build/ios/Icon.json +3 -3
- package/build/ios/MultiSelectFilter.json +12 -0
- package/build/ios/Notification.json +46 -13
- package/build/ios/Select.json +1 -1
- package/build/ios/Status.json +6 -6
- package/build/ios/TextInput.json +1 -1
- package/build/ios/ToggleSwitch.json +4 -0
- package/build/ios/Typography.json +3 -3
- package/build/ios/schema.json +1108 -1054
- package/build/ios/theme.json +110 -40
- package/build/rn/ActionCard.js +4 -4
- package/build/rn/ActivityIndicator.js +18 -7
- 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 +1 -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 +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 +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 +2 -2
- 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 +2 -2
- 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 +1 -1
- package/build/rn/Modal.js +1 -1
- package/build/rn/MultiSelectFilter.js +3 -1
- package/build/rn/NavigationBar.js +1 -1
- package/build/rn/Notification.js +18 -6
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- package/build/rn/Timeline.js +1 -1
- package/build/rn/Toast.js +1 -1
- package/build/rn/ToggleSwitch.js +5 -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 +2 -2
- 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 +1108 -1054
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +52 -23
- package/build/web/ActionCard.js +4 -4
- package/build/web/ActivityIndicator.js +18 -7
- 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 +1 -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 +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 +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 +2 -2
- 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 +2 -2
- 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 +1 -1
- package/build/web/Modal.js +1 -1
- package/build/web/MultiSelectFilter.js +3 -1
- package/build/web/NavigationBar.js +1 -1
- package/build/web/Notification.js +18 -6
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- package/build/web/Timeline.js +1 -1
- package/build/web/Toast.js +1 -1
- package/build/web/ToggleSwitch.js +5 -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 +2 -2
- 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 +1 -1
- package/build/web/schema.json +1108 -1054
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +52 -23
- package/package.json +5 -5
- package/theme.json +39 -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 Tue, 10 Jun 2025 20:17:05 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -27,6 +27,7 @@ import PaletteIconExpand from '@telus-uds/palette-allium/build/rn/icons/Expand'
|
|
|
27
27
|
import PaletteIconChevronLeft from '@telus-uds/palette-allium/build/rn/icons/ChevronLeft'
|
|
28
28
|
import PaletteIconBulletFill from '@telus-uds/palette-allium/build/rn/icons/BulletFill'
|
|
29
29
|
import PaletteIconStatusInfo from '@telus-uds/palette-allium/build/rn/icons/StatusInfo'
|
|
30
|
+
import PaletteIconTagFilled from '@telus-uds/palette-allium/build/rn/icons/TagFilled'
|
|
30
31
|
import PaletteIconTimes from '@telus-uds/palette-allium/build/rn/icons/Times'
|
|
31
32
|
import PaletteIconSearchBold from '@telus-uds/palette-allium/build/rn/icons/SearchBold'
|
|
32
33
|
import PaletteIconPlaySolid from '@telus-uds/palette-allium/build/rn/icons/PlaySolid'
|
|
@@ -59,7 +60,7 @@ const theme = {
|
|
|
59
60
|
validation: {
|
|
60
61
|
description: 'Validation states for form inputs',
|
|
61
62
|
type: 'state',
|
|
62
|
-
values: [ 'error', 'success', 'warning' ]
|
|
63
|
+
values: [ 'error', 'success', 'warning', 'feature' ]
|
|
63
64
|
}
|
|
64
65
|
},
|
|
65
66
|
rules: [
|
|
@@ -69,9 +70,9 @@ const theme = {
|
|
|
69
70
|
tokens: {
|
|
70
71
|
actionIconMarginLeft: 8,
|
|
71
72
|
backgroundColor: '#fff9ee',
|
|
72
|
-
borderColor: '#
|
|
73
|
+
borderColor: '#c77539',
|
|
73
74
|
statusIcon: PaletteIconStatusWarning,
|
|
74
|
-
statusIconColor: '#
|
|
75
|
+
statusIconColor: '#c77539'
|
|
75
76
|
}
|
|
76
77
|
},
|
|
77
78
|
{
|
|
@@ -135,16 +136,27 @@ const theme = {
|
|
|
135
136
|
size: {
|
|
136
137
|
description: 'used for full-screen spinners',
|
|
137
138
|
type: 'variant',
|
|
138
|
-
values: [ 'large' ]
|
|
139
|
-
}
|
|
139
|
+
values: [ 'large', 'small' ]
|
|
140
|
+
},
|
|
141
|
+
style: { type: 'variant', values: [ 'dots' ] }
|
|
140
142
|
},
|
|
141
|
-
rules: [
|
|
143
|
+
rules: [
|
|
144
|
+
{
|
|
145
|
+
if: { size: 'large' },
|
|
146
|
+
tokens: { dotSize: 12, size: 48, thickness: 4 }
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
if: { size: 'small' },
|
|
150
|
+
tokens: { dotSize: 6, size: 24, thickness: 3 }
|
|
151
|
+
}
|
|
152
|
+
],
|
|
142
153
|
tokens: {
|
|
143
154
|
color: '#2b8000',
|
|
144
|
-
dotSize:
|
|
155
|
+
dotSize: 12,
|
|
156
|
+
fullScreenOverlayBackground: 'rgba(255, 255, 255, 0.97)',
|
|
145
157
|
indicatorBackgroundColor: '#e3f6d1',
|
|
146
|
-
size:
|
|
147
|
-
thickness:
|
|
158
|
+
size: 48,
|
|
159
|
+
thickness: 4
|
|
148
160
|
}
|
|
149
161
|
},
|
|
150
162
|
Autocomplete: {
|
|
@@ -3128,7 +3140,7 @@ const theme = {
|
|
|
3128
3140
|
validation: {
|
|
3129
3141
|
description: 'Validation states for form inputs',
|
|
3130
3142
|
type: 'state',
|
|
3131
|
-
values: [ 'error', 'success', 'warning' ]
|
|
3143
|
+
values: [ 'error', 'success', 'warning', 'feature' ]
|
|
3132
3144
|
}
|
|
3133
3145
|
},
|
|
3134
3146
|
rules: [
|
|
@@ -3513,7 +3525,7 @@ const theme = {
|
|
|
3513
3525
|
{ if: { color: 'subtle' }, tokens: { color: '#676e73' } },
|
|
3514
3526
|
{ if: { color: 'success' }, tokens: { color: '#2b8000' } },
|
|
3515
3527
|
{ if: { color: 'danger' }, tokens: { color: '#c12335' } },
|
|
3516
|
-
{ if: { color: 'warning' }, tokens: { color: '#
|
|
3528
|
+
{ if: { color: 'warning' }, tokens: { color: '#c77539' } },
|
|
3517
3529
|
{ if: { color: 'inverse' }, tokens: { color: '#ffffff' } },
|
|
3518
3530
|
{ if: { size: 'extraLarge' }, tokens: { size: 48 } },
|
|
3519
3531
|
{ if: { rank: 'primary' }, tokens: { color: '#4b286d' } },
|
|
@@ -4721,12 +4733,14 @@ const theme = {
|
|
|
4721
4733
|
buttonIconBackgroundColor: '#f4f4f7',
|
|
4722
4734
|
buttonIconPadding: 2,
|
|
4723
4735
|
buttonIconSize: 16,
|
|
4736
|
+
containerBorderColor: '#e3e6e8',
|
|
4724
4737
|
contentMarginBottom: 32,
|
|
4725
4738
|
contentMarginLeft: 16,
|
|
4726
4739
|
contentMarginRight: 16,
|
|
4727
4740
|
contentMarginTop: 24,
|
|
4728
4741
|
contentPaddingLeft: 16,
|
|
4729
4742
|
contentPaddingRight: 16,
|
|
4743
|
+
dividerColor: '#e3e6e8',
|
|
4730
4744
|
headerFontColor: '#414547',
|
|
4731
4745
|
headerFontName: 'HNforTELUSSA',
|
|
4732
4746
|
headerFontSize: 16,
|
|
@@ -4881,7 +4895,7 @@ const theme = {
|
|
|
4881
4895
|
validation: {
|
|
4882
4896
|
description: 'Validation states for form inputs',
|
|
4883
4897
|
type: 'state',
|
|
4884
|
-
values: [ 'error', 'success', 'warning' ]
|
|
4898
|
+
values: [ 'error', 'success', 'warning', 'feature' ]
|
|
4885
4899
|
},
|
|
4886
4900
|
viewport: {
|
|
4887
4901
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
@@ -4943,20 +4957,20 @@ const theme = {
|
|
|
4943
4957
|
if: { style: 'warning' },
|
|
4944
4958
|
tokens: {
|
|
4945
4959
|
backgroundColor: '#fff9ee',
|
|
4946
|
-
borderColor: '#
|
|
4960
|
+
borderColor: '#c77539',
|
|
4947
4961
|
dismissIcon: null,
|
|
4948
4962
|
icon: PaletteIconStatusWarning,
|
|
4949
|
-
iconColor: '#
|
|
4963
|
+
iconColor: '#c77539'
|
|
4950
4964
|
}
|
|
4951
4965
|
},
|
|
4952
4966
|
{
|
|
4953
4967
|
if: { validation: 'warning' },
|
|
4954
4968
|
tokens: {
|
|
4955
4969
|
backgroundColor: '#fff9ee',
|
|
4956
|
-
borderColor: '#
|
|
4970
|
+
borderColor: '#c77539',
|
|
4957
4971
|
dismissIcon: null,
|
|
4958
4972
|
icon: PaletteIconStatusWarning,
|
|
4959
|
-
iconColor: '#
|
|
4973
|
+
iconColor: '#c77539'
|
|
4960
4974
|
}
|
|
4961
4975
|
},
|
|
4962
4976
|
{
|
|
@@ -4978,6 +4992,17 @@ const theme = {
|
|
|
4978
4992
|
icon: PaletteIconStatusError,
|
|
4979
4993
|
iconColor: '#e12339'
|
|
4980
4994
|
}
|
|
4995
|
+
},
|
|
4996
|
+
{
|
|
4997
|
+
if: { validation: 'feature' },
|
|
4998
|
+
tokens: {
|
|
4999
|
+
backgroundColor: '#4b286d',
|
|
5000
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
5001
|
+
color: '#ffffff',
|
|
5002
|
+
dismissIcon: null,
|
|
5003
|
+
icon: PaletteIconTagFilled,
|
|
5004
|
+
iconColor: '#ffffff'
|
|
5005
|
+
}
|
|
4981
5006
|
}
|
|
4982
5007
|
],
|
|
4983
5008
|
tokens: {
|
|
@@ -6573,7 +6598,7 @@ const theme = {
|
|
|
6573
6598
|
validation: {
|
|
6574
6599
|
description: 'Validation states for form inputs',
|
|
6575
6600
|
type: 'state',
|
|
6576
|
-
values: [ 'error', 'success', 'warning' ]
|
|
6601
|
+
values: [ 'error', 'success', 'warning', 'feature' ]
|
|
6577
6602
|
}
|
|
6578
6603
|
},
|
|
6579
6604
|
rules: [
|
|
@@ -6950,7 +6975,7 @@ const theme = {
|
|
|
6950
6975
|
},
|
|
6951
6976
|
{
|
|
6952
6977
|
if: { purpose: 'warning' },
|
|
6953
|
-
tokens: { icon: PaletteIconStatusWarning, iconColor: '#
|
|
6978
|
+
tokens: { icon: PaletteIconStatusWarning, iconColor: '#c77539' }
|
|
6954
6979
|
},
|
|
6955
6980
|
{
|
|
6956
6981
|
if: { purpose: 'error' },
|
|
@@ -7018,7 +7043,7 @@ const theme = {
|
|
|
7018
7043
|
},
|
|
7019
7044
|
{
|
|
7020
7045
|
if: { priority: 'high', purpose: 'warning' },
|
|
7021
|
-
tokens: { backgroundColor: '#
|
|
7046
|
+
tokens: { backgroundColor: '#c77539' }
|
|
7022
7047
|
},
|
|
7023
7048
|
{
|
|
7024
7049
|
if: { priority: 'low', purpose: 'error' },
|
|
@@ -7958,7 +7983,7 @@ const theme = {
|
|
|
7958
7983
|
validation: {
|
|
7959
7984
|
description: 'Validation states for form inputs',
|
|
7960
7985
|
type: 'state',
|
|
7961
|
-
values: [ 'error', 'success', 'warning' ]
|
|
7986
|
+
values: [ 'error', 'success', 'warning', 'feature' ]
|
|
7962
7987
|
}
|
|
7963
7988
|
},
|
|
7964
7989
|
rules: [
|
|
@@ -8216,6 +8241,10 @@ const theme = {
|
|
|
8216
8241
|
labelFontWeight: '400',
|
|
8217
8242
|
labelLineHeight: 1.5,
|
|
8218
8243
|
labelMarginLeft: 0,
|
|
8244
|
+
mobileSwitchSize: 24,
|
|
8245
|
+
mobileTrackBorderWidth: 4,
|
|
8246
|
+
mobileTrackHeight: 32,
|
|
8247
|
+
mobileWidth: 48,
|
|
8219
8248
|
opacity: 1,
|
|
8220
8249
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
8221
8250
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -8665,7 +8694,7 @@ const theme = {
|
|
|
8665
8694
|
{ if: { colour: 'dark' }, tokens: { color: '#2c2e30' } },
|
|
8666
8695
|
{ if: { colour: 'light' }, tokens: { color: '#676e73' } },
|
|
8667
8696
|
{ if: { colour: 'positive' }, tokens: { color: '#2b8000' } },
|
|
8668
|
-
{ if: { colour: 'warning' }, tokens: { color: '#
|
|
8697
|
+
{ if: { colour: 'warning' }, tokens: { color: '#c77539' } },
|
|
8669
8698
|
{ if: { colour: 'danger' }, tokens: { color: '#c12335' } },
|
|
8670
8699
|
{ if: { colour: 'black' }, tokens: { color: '#000000' } },
|
|
8671
8700
|
{ if: { colour: 'white' }, tokens: { color: '#ffffff' } },
|
|
@@ -8976,6 +9005,6 @@ const theme = {
|
|
|
8976
9005
|
tokens: { size: 96 }
|
|
8977
9006
|
}
|
|
8978
9007
|
},
|
|
8979
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '4.
|
|
9008
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '4.7.0' }
|
|
8980
9009
|
}
|
|
8981
9010
|
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.9.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
|
-
"@telus-uds/system-theme-tokens": "^4.
|
|
14
|
-
"@telus-uds/system-tokens": "^1.
|
|
12
|
+
"@telus-uds/palette-allium": "^5.5.0",
|
|
13
|
+
"@telus-uds/system-theme-tokens": "^4.7.0",
|
|
14
|
+
"@telus-uds/system-tokens": "^1.4.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@telus-uds/palette-allium": "^5.
|
|
17
|
+
"@telus-uds/palette-allium": "^5.5.0"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"build",
|
package/theme.json
CHANGED
|
@@ -92,7 +92,11 @@
|
|
|
92
92
|
"size": {
|
|
93
93
|
"description": "used for full-screen spinners",
|
|
94
94
|
"type": "variant",
|
|
95
|
-
"values": ["large"]
|
|
95
|
+
"values": ["large", "small"]
|
|
96
|
+
},
|
|
97
|
+
"style": {
|
|
98
|
+
"type": "variant",
|
|
99
|
+
"values": ["dots"]
|
|
96
100
|
}
|
|
97
101
|
},
|
|
98
102
|
"rules": [
|
|
@@ -101,17 +105,29 @@
|
|
|
101
105
|
"size": "large"
|
|
102
106
|
},
|
|
103
107
|
"tokens": {
|
|
108
|
+
"dotSize": "{palette.size.size12}",
|
|
104
109
|
"size": "{palette.size.size48}",
|
|
105
110
|
"thickness": "{palette.border.border4}"
|
|
106
111
|
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"if": {
|
|
115
|
+
"size": "small"
|
|
116
|
+
},
|
|
117
|
+
"tokens": {
|
|
118
|
+
"dotSize": "{palette.size.size6}",
|
|
119
|
+
"size": "{palette.size.size24}",
|
|
120
|
+
"thickness": "{palette.border.border3}"
|
|
121
|
+
}
|
|
107
122
|
}
|
|
108
123
|
],
|
|
109
124
|
"tokens": {
|
|
110
125
|
"color": "{palette.color.greenAccessible}",
|
|
111
|
-
"dotSize": "{palette.size.
|
|
126
|
+
"dotSize": "{palette.size.size12}",
|
|
127
|
+
"fullScreenOverlayBackground": "{palette.color.light97}",
|
|
112
128
|
"indicatorBackgroundColor": "{palette.color.greenTusk}",
|
|
113
|
-
"size": "{palette.size.
|
|
114
|
-
"thickness": "{palette.border.
|
|
129
|
+
"size": "{palette.size.size48}",
|
|
130
|
+
"thickness": "{palette.border.border4}"
|
|
115
131
|
}
|
|
116
132
|
},
|
|
117
133
|
"Autocomplete": {
|
|
@@ -6576,12 +6592,14 @@
|
|
|
6576
6592
|
"buttonIconBackgroundColor": "{palette.color.greyAthens}",
|
|
6577
6593
|
"buttonIconPadding": "{palette.size.size2}",
|
|
6578
6594
|
"buttonIconSize": "{palette.size.size16}",
|
|
6595
|
+
"containerBorderColor": "{palette.color.greyMystic}",
|
|
6579
6596
|
"contentMarginBottom": "{palette.size.size32}",
|
|
6580
6597
|
"contentMarginLeft": "{palette.size.size16}",
|
|
6581
6598
|
"contentMarginRight": "{palette.size.size16}",
|
|
6582
6599
|
"contentMarginTop": "{palette.size.size24}",
|
|
6583
6600
|
"contentPaddingLeft": "{palette.size.size16}",
|
|
6584
6601
|
"contentPaddingRight": "{palette.size.size16}",
|
|
6602
|
+
"dividerColor": "{palette.color.greyMystic}",
|
|
6585
6603
|
"headerFontColor": "{palette.color.greyCharcoal}",
|
|
6586
6604
|
"headerFontName": "{palette.fontName.HNforTELUSSA}",
|
|
6587
6605
|
"headerFontSize": "{palette.fontSize.size16}",
|
|
@@ -6837,6 +6855,19 @@
|
|
|
6837
6855
|
"icon": "{palette.icon.StatusError}",
|
|
6838
6856
|
"iconColor": "{palette.color.red}"
|
|
6839
6857
|
}
|
|
6858
|
+
},
|
|
6859
|
+
{
|
|
6860
|
+
"if": {
|
|
6861
|
+
"validation": "feature"
|
|
6862
|
+
},
|
|
6863
|
+
"tokens": {
|
|
6864
|
+
"backgroundColor": "{palette.color.purpleTelus}",
|
|
6865
|
+
"borderColor": "{palette.color.transparent}",
|
|
6866
|
+
"color": "{palette.color.white}",
|
|
6867
|
+
"dismissIcon": "{system.icon.none}",
|
|
6868
|
+
"icon": "{palette.icon.TagFilled}",
|
|
6869
|
+
"iconColor": "{palette.color.white}"
|
|
6870
|
+
}
|
|
6840
6871
|
}
|
|
6841
6872
|
],
|
|
6842
6873
|
"tokens": {
|
|
@@ -10475,6 +10506,10 @@
|
|
|
10475
10506
|
"labelFontWeight": "{palette.fontWeight.weight400}",
|
|
10476
10507
|
"labelLineHeight": "{palette.lineHeight.ratio3to2}",
|
|
10477
10508
|
"labelMarginLeft": "{palette.size.size0}",
|
|
10509
|
+
"mobileSwitchSize": "{palette.size.size24}",
|
|
10510
|
+
"mobileTrackBorderWidth": "{palette.border.border4}",
|
|
10511
|
+
"mobileTrackHeight": "{palette.size.size32}",
|
|
10512
|
+
"mobileWidth": "{palette.size.size48}",
|
|
10478
10513
|
"opacity": "{system.opacity.opaque}",
|
|
10479
10514
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
10480
10515
|
"outerBorderColor": "{palette.color.transparent}",
|