@telus-uds/theme-koodo 7.18.2 → 7.20.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/Button.json +4 -4
- package/build/android/Card.json +4 -0
- package/build/android/CheckboxCard.json +4 -0
- package/build/android/IconButton.json +28 -1
- package/build/android/Listbox.json +162 -136
- package/build/android/RadioCard.json +4 -0
- package/build/android/Shortcuts.json +44 -0
- package/build/android/ShortcutsItem.json +77 -0
- package/build/android/Table.json +4 -0
- package/build/android/schema.json +1601 -885
- package/build/android/spacingScale.json +1 -1
- package/build/android/theme.json +333 -143
- package/build/ios/Button.json +4 -4
- package/build/ios/Card.json +4 -0
- package/build/ios/CheckboxCard.json +4 -0
- package/build/ios/IconButton.json +28 -1
- package/build/ios/Listbox.json +162 -136
- package/build/ios/RadioCard.json +4 -0
- package/build/ios/Shortcuts.json +44 -0
- package/build/ios/ShortcutsItem.json +77 -0
- package/build/ios/Table.json +4 -0
- package/build/ios/schema.json +1601 -885
- package/build/ios/spacingScale.json +1 -1
- package/build/ios/theme.json +333 -143
- 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 +2 -2
- 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 +5 -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 +12 -2
- 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 +121 -113
- 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 +68 -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 +5 -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 +1601 -885
- package/build/rn/spacingScale.js +2 -2
- package/build/rn/theme.js +239 -118
- 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 +2 -2
- 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 +5 -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 +12 -2
- 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 +121 -113
- 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 +68 -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 +5 -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 +1601 -885
- package/build/web/spacingScale.js +2 -2
- package/build/web/theme.js +239 -118
- package/package.json +4 -4
- package/theme.json +279 -130
|
@@ -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:35:43 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -26,7 +26,7 @@ const theme = {
|
|
|
26
26
|
rules: [
|
|
27
27
|
{ if: { viewport: [ 'lg', 'xl' ] }, tokens: { size: 120 } },
|
|
28
28
|
{ if: { space: 12 }, tokens: { size: 120 } },
|
|
29
|
-
{ if: { space: 11 }, tokens: { size:
|
|
29
|
+
{ if: { space: 11 }, tokens: { size: 96 } },
|
|
30
30
|
{ if: { space: 10 }, tokens: { size: 80 } },
|
|
31
31
|
{ if: { space: 9 }, tokens: { size: 64 } },
|
|
32
32
|
{ if: { space: 8 }, tokens: { size: 48 } },
|
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:35:43 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -22,6 +22,9 @@ import PaletteIconIOSFR from '@telus-uds/palette-koodo/build/rn/icons/IOSFR'
|
|
|
22
22
|
import PaletteIconCheckCircleFilled from '@telus-uds/palette-koodo/build/rn/icons/CheckCircleFilled'
|
|
23
23
|
import PaletteIconClose from '@telus-uds/palette-koodo/build/rn/icons/Close'
|
|
24
24
|
import PaletteIconAdd from '@telus-uds/palette-koodo/build/rn/icons/Add'
|
|
25
|
+
import PaletteIconHamburger from '@telus-uds/palette-koodo/build/rn/icons/Hamburger'
|
|
26
|
+
import PaletteIconCart from '@telus-uds/palette-koodo/build/rn/icons/Cart'
|
|
27
|
+
import PaletteIconUser from '@telus-uds/palette-koodo/build/rn/icons/User'
|
|
25
28
|
import PaletteIconSubtract from '@telus-uds/palette-koodo/build/rn/icons/Subtract'
|
|
26
29
|
import PaletteIconExpand from '@telus-uds/palette-koodo/build/rn/icons/Expand'
|
|
27
30
|
import PaletteIconPlayVideo from '@telus-uds/palette-koodo/build/rn/icons/PlayVideo'
|
|
@@ -29,6 +32,7 @@ import PaletteIconBullet from '@telus-uds/palette-koodo/build/rn/icons/Bullet'
|
|
|
29
32
|
import PaletteIconTimes from '@telus-uds/palette-koodo/build/rn/icons/Times'
|
|
30
33
|
import PaletteIconTagFilled from '@telus-uds/palette-koodo/build/rn/icons/TagFilled'
|
|
31
34
|
import PaletteIconSpyglass from '@telus-uds/palette-koodo/build/rn/icons/Spyglass'
|
|
35
|
+
import PaletteIconArrowLeft from '@telus-uds/palette-koodo/build/rn/icons/ArrowLeft'
|
|
32
36
|
import PaletteIconPlaySolid from '@telus-uds/palette-koodo/build/rn/icons/PlaySolid'
|
|
33
37
|
import PaletteIconToolTipFilled from '@telus-uds/palette-koodo/build/rn/icons/ToolTipFilled'
|
|
34
38
|
import PaletteIconTooltip from '@telus-uds/palette-koodo/build/rn/icons/Tooltip'
|
|
@@ -47,7 +51,6 @@ import PaletteIconClosedCaptions from '@telus-uds/palette-koodo/build/rn/icons/C
|
|
|
47
51
|
import PaletteIconFullscreenExpand from '@telus-uds/palette-koodo/build/rn/icons/FullscreenExpand'
|
|
48
52
|
import PaletteIconFullscreenMinimize from '@telus-uds/palette-koodo/build/rn/icons/FullscreenMinimize'
|
|
49
53
|
import PaletteIconSettingsSolid from '@telus-uds/palette-koodo/build/rn/icons/SettingsSolid'
|
|
50
|
-
import PaletteIconArrowLeft from '@telus-uds/palette-koodo/build/rn/icons/ArrowLeft'
|
|
51
54
|
import PaletteIconMuted from '@telus-uds/palette-koodo/build/rn/icons/Muted'
|
|
52
55
|
import PaletteIconUnmuted from '@telus-uds/palette-koodo/build/rn/icons/Unmuted'
|
|
53
56
|
const theme = {
|
|
@@ -538,7 +541,7 @@ const theme = {
|
|
|
538
541
|
{
|
|
539
542
|
if: { priority: 'low' },
|
|
540
543
|
tokens: {
|
|
541
|
-
backgroundColor: '
|
|
544
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
542
545
|
borderBottomWidth: 1,
|
|
543
546
|
borderColor: '#000000',
|
|
544
547
|
color: '#000000',
|
|
@@ -1758,6 +1761,10 @@ const theme = {
|
|
|
1758
1761
|
spread: 0
|
|
1759
1762
|
},
|
|
1760
1763
|
inputWidth: 32,
|
|
1764
|
+
marginBottom: 0,
|
|
1765
|
+
marginLeft: 0,
|
|
1766
|
+
marginRight: 0,
|
|
1767
|
+
marginTop: 0,
|
|
1761
1768
|
maxHeight: '100%',
|
|
1762
1769
|
minWidth: null,
|
|
1763
1770
|
overflowY: 'visible',
|
|
@@ -2281,6 +2288,10 @@ const theme = {
|
|
|
2281
2288
|
fontWeight: '700',
|
|
2282
2289
|
letterSpacing: 0,
|
|
2283
2290
|
lineHeight: 1.4,
|
|
2291
|
+
marginBottom: 0,
|
|
2292
|
+
marginLeft: 0,
|
|
2293
|
+
marginRight: 0,
|
|
2294
|
+
marginTop: 0,
|
|
2284
2295
|
minWidth: 288,
|
|
2285
2296
|
outerBorderColor: 'transparent',
|
|
2286
2297
|
outerBorderGap: 0,
|
|
@@ -3815,7 +3826,8 @@ const theme = {
|
|
|
3815
3826
|
'expand', 'moveDown',
|
|
3816
3827
|
'moveLeft', 'moveRight',
|
|
3817
3828
|
'moveUp', 'play',
|
|
3818
|
-
'subtract'
|
|
3829
|
+
'subtract', 'menu',
|
|
3830
|
+
'cart', 'profile'
|
|
3819
3831
|
]
|
|
3820
3832
|
},
|
|
3821
3833
|
compact: {
|
|
@@ -3863,6 +3875,15 @@ const theme = {
|
|
|
3863
3875
|
size: { type: 'variant', values: [ 'small', 'large' ] }
|
|
3864
3876
|
},
|
|
3865
3877
|
rules: [
|
|
3878
|
+
{
|
|
3879
|
+
if: { action: 'menu' },
|
|
3880
|
+
tokens: { icon: PaletteIconHamburger }
|
|
3881
|
+
},
|
|
3882
|
+
{ if: { action: 'cart' }, tokens: { icon: PaletteIconCart } },
|
|
3883
|
+
{
|
|
3884
|
+
if: { action: 'profile' },
|
|
3885
|
+
tokens: { icon: PaletteIconUser }
|
|
3886
|
+
},
|
|
3866
3887
|
{ if: { action: 'add' }, tokens: { icon: PaletteIconAdd } },
|
|
3867
3888
|
{
|
|
3868
3889
|
if: { action: 'subtract' },
|
|
@@ -4598,171 +4619,162 @@ const theme = {
|
|
|
4598
4619
|
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.',
|
|
4599
4620
|
type: 'state',
|
|
4600
4621
|
values: [ true, false ]
|
|
4601
|
-
}
|
|
4622
|
+
},
|
|
4623
|
+
secondLevel: { type: 'variant', values: [ true ] },
|
|
4624
|
+
style: { type: 'variant', values: [ 'default', 'lightest', 'light' ] }
|
|
4602
4625
|
},
|
|
4603
4626
|
rules: [
|
|
4604
4627
|
{
|
|
4605
|
-
if: {
|
|
4606
|
-
tokens: {
|
|
4607
|
-
groupBackgroundColor: '#efefef',
|
|
4608
|
-
groupBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4609
|
-
itemBackgroundColor: '#efefef'
|
|
4610
|
-
}
|
|
4611
|
-
},
|
|
4612
|
-
{
|
|
4613
|
-
if: { focus: true, pressed: false },
|
|
4614
|
-
tokens: {
|
|
4615
|
-
groupBorderColor: '#7a3dfc',
|
|
4616
|
-
groupColor: '#7a3dfc',
|
|
4617
|
-
itemBorderBottomColor: '#7a3dfc',
|
|
4618
|
-
itemBorderLeftColor: '#7a3dfc',
|
|
4619
|
-
itemBorderRightColor: '#7a3dfc',
|
|
4620
|
-
itemBorderTopColor: '#7a3dfc'
|
|
4621
|
-
}
|
|
4628
|
+
if: { style: 'default' },
|
|
4629
|
+
tokens: { containerBackgroundColor: 'rgba(0, 0, 0, 0)' }
|
|
4622
4630
|
},
|
|
4623
4631
|
{
|
|
4624
|
-
if: {
|
|
4625
|
-
tokens: {
|
|
4626
|
-
groupBackgroundColor: '#000000',
|
|
4627
|
-
groupBorderColor: '#000000',
|
|
4628
|
-
groupColor: '#ffffff',
|
|
4629
|
-
itemBackgroundColor: '#000000',
|
|
4630
|
-
itemColor: '#ffffff'
|
|
4631
|
-
}
|
|
4632
|
+
if: { style: 'lightest' },
|
|
4633
|
+
tokens: { containerBackgroundColor: '#ffffff' }
|
|
4632
4634
|
},
|
|
4633
4635
|
{
|
|
4634
|
-
if: {
|
|
4635
|
-
tokens: {
|
|
4636
|
+
if: { style: 'light' },
|
|
4637
|
+
tokens: { containerBackgroundColor: '#efefef' }
|
|
4636
4638
|
},
|
|
4637
4639
|
{
|
|
4638
|
-
if: {
|
|
4640
|
+
if: { hover: true },
|
|
4639
4641
|
tokens: {
|
|
4640
|
-
|
|
4642
|
+
groupBackgroundColor: 'rgba(0, 0, 0, 0.1)',
|
|
4643
|
+
groupBorderLeftColor: '#000000',
|
|
4644
|
+
groupBorderLeftWidth: 4,
|
|
4645
|
+
itemBackgroundColor: 'rgba(0, 0, 0, 0.1)',
|
|
4641
4646
|
itemBorderLeftColor: '#000000',
|
|
4642
|
-
itemBorderLeftWidth: 4
|
|
4643
|
-
itemBorderTopWidth: 1
|
|
4647
|
+
itemBorderLeftWidth: 4
|
|
4644
4648
|
}
|
|
4645
4649
|
},
|
|
4646
4650
|
{
|
|
4647
|
-
if: {
|
|
4651
|
+
if: { pressed: true },
|
|
4648
4652
|
tokens: {
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
+
groupBackgroundColor: 'rgba(0, 0, 0, 0.2)',
|
|
4654
|
+
groupBorderLeftColor: '#000000',
|
|
4655
|
+
groupBorderLeftWidth: 4,
|
|
4656
|
+
itemBackgroundColor: 'rgba(0, 0, 0, 0.2)',
|
|
4657
|
+
itemBorderLeftColor: '#000000',
|
|
4658
|
+
itemBorderLeftWidth: 4
|
|
4653
4659
|
}
|
|
4654
4660
|
},
|
|
4655
4661
|
{
|
|
4656
|
-
if: {
|
|
4662
|
+
if: { current: true },
|
|
4657
4663
|
tokens: {
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4664
|
+
groupBorderLeftColor: '#ff0076',
|
|
4665
|
+
groupBorderLeftWidth: 4,
|
|
4666
|
+
groupFontName: 'StagSans',
|
|
4667
|
+
groupFontWeight: '600',
|
|
4668
|
+
itemBorderLeftColor: '#ff0076',
|
|
4669
|
+
itemBorderLeftWidth: 4,
|
|
4670
|
+
itemFontName: 'StagSans',
|
|
4671
|
+
itemFontWeight: '600'
|
|
4663
4672
|
}
|
|
4664
4673
|
},
|
|
4665
4674
|
{
|
|
4666
|
-
if: { current:
|
|
4675
|
+
if: { current: false, focus: true, hover: false, pressed: false },
|
|
4667
4676
|
tokens: {
|
|
4668
|
-
|
|
4677
|
+
itemBorderBottomColor: '#000000',
|
|
4678
|
+
itemBorderBottomWidth: 1,
|
|
4669
4679
|
itemBorderLeftColor: '#000000',
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
tokens: {
|
|
4676
|
-
itemBackgroundColor: '#efefef',
|
|
4677
|
-
itemBorderLeftColor: '#efefef',
|
|
4678
|
-
itemColor: '#666666'
|
|
4680
|
+
itemBorderLeftWidth: 4,
|
|
4681
|
+
itemBorderRightColor: '#000000',
|
|
4682
|
+
itemBorderRightWidth: 1,
|
|
4683
|
+
itemBorderTopColor: '#000000',
|
|
4684
|
+
itemBorderTopWidth: 1
|
|
4679
4685
|
}
|
|
4680
4686
|
},
|
|
4681
4687
|
{
|
|
4682
|
-
if: {
|
|
4688
|
+
if: {
|
|
4689
|
+
expanded: false,
|
|
4690
|
+
focus: true,
|
|
4691
|
+
hover: false,
|
|
4692
|
+
pressed: false
|
|
4693
|
+
},
|
|
4683
4694
|
tokens: {
|
|
4684
|
-
|
|
4685
|
-
|
|
4695
|
+
groupBorderBottomColor: '#000000',
|
|
4696
|
+
groupBorderBottomWidth: 1,
|
|
4697
|
+
groupBorderLeftColor: '#000000',
|
|
4698
|
+
groupBorderLeftWidth: 4,
|
|
4699
|
+
groupBorderRightColor: '#000000',
|
|
4700
|
+
groupBorderRightWidth: 1,
|
|
4701
|
+
groupBorderTopColor: '#000000',
|
|
4702
|
+
groupBorderTopWidth: 1
|
|
4686
4703
|
}
|
|
4687
4704
|
},
|
|
4688
4705
|
{
|
|
4689
|
-
if: {
|
|
4706
|
+
if: { current: true, focus: true, hover: false, pressed: false },
|
|
4690
4707
|
tokens: {
|
|
4691
|
-
|
|
4692
|
-
itemBorderBottomColor: '#7a3dfc',
|
|
4708
|
+
itemBorderBottomColor: '#000000',
|
|
4693
4709
|
itemBorderBottomWidth: 1,
|
|
4694
|
-
itemBorderLeftColor: '#
|
|
4695
|
-
|
|
4710
|
+
itemBorderLeftColor: '#ff0076',
|
|
4711
|
+
itemBorderLeftWidth: 4,
|
|
4712
|
+
itemBorderRightColor: '#000000',
|
|
4696
4713
|
itemBorderRightWidth: 1,
|
|
4697
|
-
itemBorderTopColor: '#
|
|
4698
|
-
itemBorderTopWidth: 1
|
|
4699
|
-
itemColor: '#666666'
|
|
4714
|
+
itemBorderTopColor: '#000000',
|
|
4715
|
+
itemBorderTopWidth: 1
|
|
4700
4716
|
}
|
|
4701
4717
|
},
|
|
4702
4718
|
{
|
|
4703
|
-
if: {
|
|
4719
|
+
if: { expanded: true, focus: true, hover: false, pressed: false },
|
|
4704
4720
|
tokens: {
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4721
|
+
groupBorderBottomColor: '#000000',
|
|
4722
|
+
groupBorderBottomWidth: 1,
|
|
4723
|
+
groupBorderLeftColor: '#ff0076',
|
|
4724
|
+
groupBorderLeftWidth: 4,
|
|
4725
|
+
groupBorderRightColor: '#000000',
|
|
4726
|
+
groupBorderRightWidth: 1,
|
|
4727
|
+
groupBorderTopColor: '#000000',
|
|
4728
|
+
groupBorderTopWidth: 1
|
|
4711
4729
|
}
|
|
4712
4730
|
},
|
|
4713
4731
|
{
|
|
4714
|
-
if: {
|
|
4732
|
+
if: { expanded: true },
|
|
4715
4733
|
tokens: {
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4734
|
+
groupBorderLeftColor: '#ff0076',
|
|
4735
|
+
groupBorderLeftWidth: 4,
|
|
4736
|
+
groupFontName: 'StagSans',
|
|
4737
|
+
groupFontWeight: '600',
|
|
4738
|
+
groupIcon: PaletteIconChevronUp,
|
|
4739
|
+
itemBorderLeftColor: '#ff0076',
|
|
4740
|
+
itemBorderLeftWidth: 4,
|
|
4741
|
+
itemFontName: 'StagSans',
|
|
4742
|
+
itemFontWeight: '600'
|
|
4720
4743
|
}
|
|
4721
4744
|
},
|
|
4722
4745
|
{
|
|
4723
|
-
if: {
|
|
4746
|
+
if: { secondLevel: true },
|
|
4724
4747
|
tokens: {
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
itemBackgroundColor: '#efefef',
|
|
4728
|
-
itemColor: '#666666'
|
|
4748
|
+
groupIcon: PaletteIconChevronRight,
|
|
4749
|
+
secondLevelParentIcon: PaletteIconChevronRight
|
|
4729
4750
|
}
|
|
4730
4751
|
},
|
|
4731
4752
|
{
|
|
4732
|
-
if: {
|
|
4753
|
+
if: { secondLevel: true },
|
|
4733
4754
|
tokens: {
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
groupColor: '#666666',
|
|
4737
|
-
itemBackgroundColor: '#ffffff',
|
|
4738
|
-
itemBorderBottomColor: '#7a3dfc',
|
|
4739
|
-
itemBorderLeftColor: '#7a3dfc',
|
|
4740
|
-
itemBorderRightColor: '#7a3dfc',
|
|
4741
|
-
itemBorderTopColor: '#7a3dfc',
|
|
4742
|
-
itemColor: '#666666'
|
|
4743
|
-
}
|
|
4744
|
-
},
|
|
4745
|
-
{
|
|
4746
|
-
if: { pressed: true },
|
|
4747
|
-
tokens: {
|
|
4748
|
-
groupBackgroundColor: '#404040',
|
|
4749
|
-
groupColor: '#666666',
|
|
4750
|
-
itemBackgroundColor: '#404040',
|
|
4751
|
-
itemBorderLeftColor: '#404040',
|
|
4752
|
-
itemColor: '#666666'
|
|
4755
|
+
groupIcon: PaletteIconChevronRight,
|
|
4756
|
+
secondLevelParentIcon: PaletteIconChevronRight
|
|
4753
4757
|
}
|
|
4754
4758
|
}
|
|
4755
4759
|
],
|
|
4756
4760
|
tokens: {
|
|
4761
|
+
borderRadius: 4,
|
|
4762
|
+
containerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4757
4763
|
groupBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4758
|
-
|
|
4764
|
+
groupBorderBottomColor: 'rgba(0, 0, 0, 0)',
|
|
4765
|
+
groupBorderBottomWidth: 0,
|
|
4766
|
+
groupBorderLeftColor: 'rgba(0, 0, 0, 0)',
|
|
4767
|
+
groupBorderLeftWidth: 4,
|
|
4759
4768
|
groupBorderRadius: 0,
|
|
4760
|
-
|
|
4761
|
-
|
|
4769
|
+
groupBorderRightColor: 'rgba(0, 0, 0, 0)',
|
|
4770
|
+
groupBorderRightWidth: 0,
|
|
4771
|
+
groupBorderTopColor: 'rgba(0, 0, 0, 0)',
|
|
4772
|
+
groupBorderTopWidth: 0,
|
|
4773
|
+
groupColor: '#000000',
|
|
4762
4774
|
groupFontName: 'StagSans',
|
|
4763
4775
|
groupFontSize: 16,
|
|
4764
4776
|
groupFontWeight: '400',
|
|
4765
|
-
groupHeight:
|
|
4777
|
+
groupHeight: 40,
|
|
4766
4778
|
groupIcon: PaletteIconChevronDown,
|
|
4767
4779
|
groupPaddingBottom: 12,
|
|
4768
4780
|
groupPaddingLeft: 16,
|
|
@@ -4770,21 +4782,21 @@ const theme = {
|
|
|
4770
4782
|
groupPaddingTop: 12,
|
|
4771
4783
|
itemBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4772
4784
|
itemBorderBottomColor: 'rgba(0, 0, 0, 0)',
|
|
4773
|
-
itemBorderBottomWidth:
|
|
4785
|
+
itemBorderBottomWidth: 0,
|
|
4774
4786
|
itemBorderLeftColor: 'rgba(0, 0, 0, 0)',
|
|
4775
|
-
itemBorderLeftWidth:
|
|
4787
|
+
itemBorderLeftWidth: 4,
|
|
4776
4788
|
itemBorderRadius: 0,
|
|
4777
4789
|
itemBorderRightColor: 'rgba(0, 0, 0, 0)',
|
|
4778
|
-
itemBorderRightWidth:
|
|
4790
|
+
itemBorderRightWidth: 0,
|
|
4779
4791
|
itemBorderTopColor: 'rgba(0, 0, 0, 0)',
|
|
4780
|
-
itemBorderTopWidth:
|
|
4792
|
+
itemBorderTopWidth: 0,
|
|
4781
4793
|
itemBorderWidth: 0,
|
|
4782
|
-
itemColor: '#
|
|
4794
|
+
itemColor: '#000000',
|
|
4783
4795
|
itemDisplay: false,
|
|
4784
4796
|
itemFontName: 'StagSans',
|
|
4785
4797
|
itemFontSize: 16,
|
|
4786
4798
|
itemFontWeight: '400',
|
|
4787
|
-
itemHeight:
|
|
4799
|
+
itemHeight: 40,
|
|
4788
4800
|
itemOutline: 0,
|
|
4789
4801
|
itemPaddingBottom: 8,
|
|
4790
4802
|
itemPaddingLeft: 16,
|
|
@@ -4794,6 +4806,25 @@ const theme = {
|
|
|
4794
4806
|
lineHeight: 1.5,
|
|
4795
4807
|
minHeight: '100%',
|
|
4796
4808
|
minWidth: '100%',
|
|
4809
|
+
secondLevelBackIcon: PaletteIconChevronLeft,
|
|
4810
|
+
secondLevelBackIconColor: '#000000',
|
|
4811
|
+
secondLevelBackIconSize: 16,
|
|
4812
|
+
secondLevelBackLinkColor: '#000000',
|
|
4813
|
+
secondLevelBackLinkFontName: 'StagSans',
|
|
4814
|
+
secondLevelBackLinkFontSize: 16,
|
|
4815
|
+
secondLevelBackLinkFontWeight: '600',
|
|
4816
|
+
secondLevelCloseButtonBorderWidth: 0,
|
|
4817
|
+
secondLevelCloseButtonPadding: 8,
|
|
4818
|
+
secondLevelCloseIcon: PaletteIconClose,
|
|
4819
|
+
secondLevelCloseIconSize: 16,
|
|
4820
|
+
secondLevelDividerColor: '#c9c8c8',
|
|
4821
|
+
secondLevelDividerWidth: 1,
|
|
4822
|
+
secondLevelHeaderBackgroundColor: '#ffffff',
|
|
4823
|
+
secondLevelHeaderPaddingBottom: 4,
|
|
4824
|
+
secondLevelHeaderPaddingLeft: 16,
|
|
4825
|
+
secondLevelHeaderPaddingRight: 16,
|
|
4826
|
+
secondLevelHeaderPaddingTop: 4,
|
|
4827
|
+
secondLevelParentIcon: PaletteIconChevronRight,
|
|
4797
4828
|
shadow: {
|
|
4798
4829
|
blur: 2,
|
|
4799
4830
|
color: 'rgba(0, 0, 0, 0.2)',
|
|
@@ -6602,6 +6633,10 @@ const theme = {
|
|
|
6602
6633
|
fontWeight: '700',
|
|
6603
6634
|
letterSpacing: 0,
|
|
6604
6635
|
lineHeight: 1.4,
|
|
6636
|
+
marginBottom: 0,
|
|
6637
|
+
marginLeft: 0,
|
|
6638
|
+
marginRight: 0,
|
|
6639
|
+
marginTop: 0,
|
|
6605
6640
|
minWidth: 288,
|
|
6606
6641
|
outerBorderColor: 'transparent',
|
|
6607
6642
|
outerBorderGap: 0,
|
|
@@ -6974,6 +7009,88 @@ const theme = {
|
|
|
6974
7009
|
validationIconSize: 24
|
|
6975
7010
|
}
|
|
6976
7011
|
},
|
|
7012
|
+
Shortcuts: {
|
|
7013
|
+
appearances: {
|
|
7014
|
+
viewport: {
|
|
7015
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
7016
|
+
type: 'state',
|
|
7017
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
7018
|
+
}
|
|
7019
|
+
},
|
|
7020
|
+
rules: [
|
|
7021
|
+
{ if: { viewport: 'md' }, tokens: { mainContainerGap: 16 } },
|
|
7022
|
+
{ if: { viewport: 'lg' }, tokens: { mainContainerGap: 16 } },
|
|
7023
|
+
{ if: { viewport: 'xl' }, tokens: { mainContainerGap: 16 } }
|
|
7024
|
+
],
|
|
7025
|
+
tokens: {
|
|
7026
|
+
mainContainerBottomPadding: 0,
|
|
7027
|
+
mainContainerGap: 8,
|
|
7028
|
+
mainContainerLeftPadding: 16,
|
|
7029
|
+
mainContainerRightPadding: 16,
|
|
7030
|
+
mainContainerTopPadding: 0,
|
|
7031
|
+
nextIcon: PaletteIconArrowRight,
|
|
7032
|
+
previousIcon: PaletteIconArrowLeft
|
|
7033
|
+
}
|
|
7034
|
+
},
|
|
7035
|
+
ShortcutsItem: {
|
|
7036
|
+
appearances: {
|
|
7037
|
+
focus: {
|
|
7038
|
+
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.",
|
|
7039
|
+
platforms: [ 'rn', 'web' ],
|
|
7040
|
+
type: 'state',
|
|
7041
|
+
values: [ true, false ]
|
|
7042
|
+
},
|
|
7043
|
+
hover: {
|
|
7044
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
7045
|
+
platforms: [ 'rn', 'web' ],
|
|
7046
|
+
type: 'state',
|
|
7047
|
+
values: [ true, false ]
|
|
7048
|
+
},
|
|
7049
|
+
pressed: {
|
|
7050
|
+
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.',
|
|
7051
|
+
type: 'state',
|
|
7052
|
+
values: [ true, false ]
|
|
7053
|
+
}
|
|
7054
|
+
},
|
|
7055
|
+
rules: [
|
|
7056
|
+
{
|
|
7057
|
+
if: { hover: true },
|
|
7058
|
+
tokens: { borderColor: '#000000', labelUnderline: 'underline' }
|
|
7059
|
+
},
|
|
7060
|
+
{ if: { focus: true }, tokens: { borderColor: '#000000' } },
|
|
7061
|
+
{
|
|
7062
|
+
if: { pressed: true },
|
|
7063
|
+
tokens: { iconColor: '#666666', labelFontColor: '#666666' }
|
|
7064
|
+
}
|
|
7065
|
+
],
|
|
7066
|
+
tokens: {
|
|
7067
|
+
borderColor: 'transparent',
|
|
7068
|
+
borderRadius: 4,
|
|
7069
|
+
borderWidth: 1,
|
|
7070
|
+
iconBackgroundColor: '#efefef',
|
|
7071
|
+
iconColor: '#000000',
|
|
7072
|
+
iconContainerPaddingBottom: 8,
|
|
7073
|
+
iconContainerPaddingLeft: 8,
|
|
7074
|
+
iconContainerPaddingRight: 8,
|
|
7075
|
+
iconContainerPaddingTop: 8,
|
|
7076
|
+
iconSize: 24,
|
|
7077
|
+
iconWidth: 16,
|
|
7078
|
+
imageHeight: 56,
|
|
7079
|
+
imageWidth: 56,
|
|
7080
|
+
labelContainerPaddingBottom: 0,
|
|
7081
|
+
labelContainerPaddingLeft: 8,
|
|
7082
|
+
labelContainerPaddingRight: 8,
|
|
7083
|
+
labelContainerPaddingTop: 0,
|
|
7084
|
+
labelFontColor: '#000000',
|
|
7085
|
+
labelFontName: 'StagSans',
|
|
7086
|
+
labelFontSize: 14,
|
|
7087
|
+
labelFontWeight: '400',
|
|
7088
|
+
labelLineHeight: 1.42857142857,
|
|
7089
|
+
labelTextAlign: 'center',
|
|
7090
|
+
labelUnderline: 'none',
|
|
7091
|
+
width: 72
|
|
7092
|
+
}
|
|
7093
|
+
},
|
|
6977
7094
|
SideNav: {
|
|
6978
7095
|
appearances: {},
|
|
6979
7096
|
rules: [],
|
|
@@ -7783,6 +7900,8 @@ const theme = {
|
|
|
7783
7900
|
cellBorderColor: 'rgba(0, 0, 0, 0)',
|
|
7784
7901
|
cellBorderTopWidth: 0,
|
|
7785
7902
|
cellBorderWidth: 0,
|
|
7903
|
+
cellBottomLeftBorderRadius: 0,
|
|
7904
|
+
cellBottomRightBorderRadius: 0,
|
|
7786
7905
|
cellBoxShadowColor: '#efefef',
|
|
7787
7906
|
cellMinWidth: 0,
|
|
7788
7907
|
cellPaddingBottom: 16,
|
|
@@ -7797,6 +7916,8 @@ const theme = {
|
|
|
7797
7916
|
offsetY: 4,
|
|
7798
7917
|
spread: 0
|
|
7799
7918
|
},
|
|
7919
|
+
cellTopLeftBorderRadius: 0,
|
|
7920
|
+
cellTopRightBorderRadius: 0,
|
|
7800
7921
|
display: null,
|
|
7801
7922
|
fontColor: '#000000',
|
|
7802
7923
|
fontName: 'StagSans',
|
|
@@ -9433,7 +9554,7 @@ const theme = {
|
|
|
9433
9554
|
rules: [
|
|
9434
9555
|
{ if: { viewport: [ 'lg', 'xl' ] }, tokens: { size: 120 } },
|
|
9435
9556
|
{ if: { space: 12 }, tokens: { size: 120 } },
|
|
9436
|
-
{ if: { space: 11 }, tokens: { size:
|
|
9557
|
+
{ if: { space: 11 }, tokens: { size: 96 } },
|
|
9437
9558
|
{ if: { space: 10 }, tokens: { size: 80 } },
|
|
9438
9559
|
{ if: { space: 9 }, tokens: { size: 64 } },
|
|
9439
9560
|
{ if: { space: 8 }, tokens: { size: 48 } },
|
|
@@ -9473,6 +9594,6 @@ const theme = {
|
|
|
9473
9594
|
tokens: { size: 96 }
|
|
9474
9595
|
}
|
|
9475
9596
|
},
|
|
9476
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '4.
|
|
9597
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '4.17.0' }
|
|
9477
9598
|
}
|
|
9478
9599
|
export default theme
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
},
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@telus-uds/palette-koodo": "^3.
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^4.
|
|
8
|
+
"@telus-uds/palette-koodo": "^3.10.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^4.17.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"module": "build/web/index.js",
|
|
22
22
|
"name": "@telus-uds/theme-koodo",
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@telus-uds/palette-koodo": "^3.
|
|
24
|
+
"@telus-uds/palette-koodo": "^3.10.0"
|
|
25
25
|
},
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
|
|
33
33
|
"dev": "nodemon -w src -x 'npm run build'"
|
|
34
34
|
},
|
|
35
|
-
"version": "7.
|
|
35
|
+
"version": "7.20.0"
|
|
36
36
|
}
|