@telus-uds/theme-koodo 7.24.0 → 8.0.0-alpha.1
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 +0 -77
- package/build/android/CarouselThumbnail.json +1 -0
- package/build/android/ChevronLink.json +0 -62
- package/build/android/ExpandCollapseMiniControl.json +10 -16
- package/build/android/Link.json +0 -62
- package/build/android/ProgressBar.json +0 -47
- package/build/android/Ribbon.json +2 -15
- package/build/android/schema.json +960 -829
- package/build/android/theme.json +14 -280
- package/build/ios/Card.json +0 -77
- package/build/ios/CarouselThumbnail.json +1 -0
- package/build/ios/ChevronLink.json +0 -62
- package/build/ios/ExpandCollapseMiniControl.json +10 -16
- package/build/ios/Link.json +0 -62
- package/build/ios/ProgressBar.json +0 -47
- package/build/ios/Ribbon.json +2 -15
- package/build/ios/schema.json +960 -829
- package/build/ios/theme.json +14 -280
- 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 +1 -26
- 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 +3 -2
- 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 -37
- 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 +7 -16
- 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 -45
- 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 -15
- 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 +5 -7
- 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 +1 -1
- package/build/rn/ShortcutsItem.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 +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 +960 -829
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +13 -153
- 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 +1 -26
- 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 +3 -2
- 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 -37
- 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 +7 -16
- 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 -45
- 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 -15
- 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 +5 -7
- 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 +1 -1
- package/build/web/ShortcutsItem.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 +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 +1 -1
- package/build/web/schema.json +960 -829
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +13 -153
- package/package.json +4 -4
- package/theme.json +13 -332
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, 10 Apr 2026 17:18:49 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -15,6 +15,7 @@ import PaletteIconCheck from '@telus-uds/palette-koodo/build/rn/icons/Check'
|
|
|
15
15
|
import PaletteIconPause from '@telus-uds/palette-koodo/build/rn/icons/Pause'
|
|
16
16
|
import PaletteIconPlay from '@telus-uds/palette-koodo/build/rn/icons/Play'
|
|
17
17
|
import PaletteIconChevronLeft from '@telus-uds/palette-koodo/build/rn/icons/ChevronLeft'
|
|
18
|
+
import PaletteIconPlaySolid from '@telus-uds/palette-koodo/build/rn/icons/PlaySolid'
|
|
18
19
|
import PaletteIconAndroidEN from '@telus-uds/palette-koodo/build/rn/icons/AndroidEN'
|
|
19
20
|
import PaletteIconAndroidFR from '@telus-uds/palette-koodo/build/rn/icons/AndroidFR'
|
|
20
21
|
import PaletteIconIOSEN from '@telus-uds/palette-koodo/build/rn/icons/IOSEN'
|
|
@@ -34,7 +35,6 @@ import PaletteIconTimes from '@telus-uds/palette-koodo/build/rn/icons/Times'
|
|
|
34
35
|
import PaletteIconTagFilled from '@telus-uds/palette-koodo/build/rn/icons/TagFilled'
|
|
35
36
|
import PaletteIconSpyglass from '@telus-uds/palette-koodo/build/rn/icons/Spyglass'
|
|
36
37
|
import PaletteIconArrowLeft from '@telus-uds/palette-koodo/build/rn/icons/ArrowLeft'
|
|
37
|
-
import PaletteIconPlaySolid from '@telus-uds/palette-koodo/build/rn/icons/PlaySolid'
|
|
38
38
|
import PaletteIconToolTipFilled from '@telus-uds/palette-koodo/build/rn/icons/ToolTipFilled'
|
|
39
39
|
import PaletteIconTooltip from '@telus-uds/palette-koodo/build/rn/icons/Tooltip'
|
|
40
40
|
import PaletteIconCheckCircledFilled from '@telus-uds/palette-koodo/build/rn/icons/CheckCircledFilled'
|
|
@@ -1332,11 +1332,6 @@ const theme = {
|
|
|
1332
1332
|
},
|
|
1333
1333
|
Card: {
|
|
1334
1334
|
appearances: {
|
|
1335
|
-
background: {
|
|
1336
|
-
description: 'Defines background related attributes of Card',
|
|
1337
|
-
type: 'variant',
|
|
1338
|
-
values: [ 'alternative', 'subtle', 'grid', 'feature', 'plain' ]
|
|
1339
|
-
},
|
|
1340
1335
|
borderRadius: { type: 'variant', values: [ 'none', 'small', 'large' ] },
|
|
1341
1336
|
focus: {
|
|
1342
1337
|
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.",
|
|
@@ -1433,34 +1428,6 @@ const theme = {
|
|
|
1433
1428
|
{ if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
|
|
1434
1429
|
{ if: { borderRadius: 'small' }, tokens: { borderRadius: 4 } },
|
|
1435
1430
|
{ if: { borderRadius: 'large' }, tokens: { borderRadius: 8 } },
|
|
1436
|
-
{
|
|
1437
|
-
if: { background: 'alternative' },
|
|
1438
|
-
tokens: {
|
|
1439
|
-
backgroundColor: '#e0d8fc',
|
|
1440
|
-
borderRadius: 8,
|
|
1441
|
-
borderWidth: 0
|
|
1442
|
-
}
|
|
1443
|
-
},
|
|
1444
|
-
{
|
|
1445
|
-
if: { background: 'subtle' },
|
|
1446
|
-
tokens: { backgroundColor: '#a1ed00', borderWidth: 0 }
|
|
1447
|
-
},
|
|
1448
|
-
{
|
|
1449
|
-
if: { background: 'grid' },
|
|
1450
|
-
tokens: { borderColor: '#000000', borderWidth: 1 }
|
|
1451
|
-
},
|
|
1452
|
-
{
|
|
1453
|
-
if: { background: 'feature' },
|
|
1454
|
-
tokens: {
|
|
1455
|
-
backgroundColor: '#ffad00',
|
|
1456
|
-
borderRadius: 8,
|
|
1457
|
-
borderWidth: 0
|
|
1458
|
-
}
|
|
1459
|
-
},
|
|
1460
|
-
{
|
|
1461
|
-
if: { background: 'plain' },
|
|
1462
|
-
tokens: { backgroundColor: '#ffffff', borderWidth: 0 }
|
|
1463
|
-
},
|
|
1464
1431
|
{
|
|
1465
1432
|
if: { style: 'grid' },
|
|
1466
1433
|
tokens: { borderColor: '#000000', borderWidth: 1 }
|
|
@@ -2072,6 +2039,7 @@ const theme = {
|
|
|
2072
2039
|
containerPaddingTop: 24,
|
|
2073
2040
|
margin: 4,
|
|
2074
2041
|
padding: 8,
|
|
2042
|
+
playIcon: PaletteIconPlaySolid,
|
|
2075
2043
|
selectedBorderColor: '#000000',
|
|
2076
2044
|
selectedBorderWidth: 2,
|
|
2077
2045
|
size: 56
|
|
@@ -2385,7 +2353,6 @@ const theme = {
|
|
|
2385
2353
|
},
|
|
2386
2354
|
ChevronLink: {
|
|
2387
2355
|
appearances: {
|
|
2388
|
-
alternative: { type: 'variant', values: [ true ] },
|
|
2389
2356
|
focus: {
|
|
2390
2357
|
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.",
|
|
2391
2358
|
platforms: [ 'rn', 'web' ],
|
|
@@ -2398,7 +2365,6 @@ const theme = {
|
|
|
2398
2365
|
type: 'state',
|
|
2399
2366
|
values: [ true, false ]
|
|
2400
2367
|
},
|
|
2401
|
-
inverse: { type: 'variant', values: [ true ] },
|
|
2402
2368
|
pressed: {
|
|
2403
2369
|
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.',
|
|
2404
2370
|
type: 'state',
|
|
@@ -2433,40 +2399,6 @@ const theme = {
|
|
|
2433
2399
|
if: { focus: true, pressed: true },
|
|
2434
2400
|
tokens: { color: '#666666', outerBorderColor: '#666666' }
|
|
2435
2401
|
},
|
|
2436
|
-
{ if: { alternative: true }, tokens: { color: '#7a3dfc' } },
|
|
2437
|
-
{
|
|
2438
|
-
if: { alternative: true, hover: true },
|
|
2439
|
-
tokens: { color: '#5b2bc2' }
|
|
2440
|
-
},
|
|
2441
|
-
{
|
|
2442
|
-
if: { alternative: true, pressed: true },
|
|
2443
|
-
tokens: { color: '#666666' }
|
|
2444
|
-
},
|
|
2445
|
-
{
|
|
2446
|
-
if: { alternative: true, focus: true },
|
|
2447
|
-
tokens: { color: '#7a3dfc', outerBorderColor: '#7a3dfc' }
|
|
2448
|
-
},
|
|
2449
|
-
{
|
|
2450
|
-
if: { alternative: true, focus: true, pressed: true },
|
|
2451
|
-
tokens: { color: '#666666', outerBorderColor: '#666666' }
|
|
2452
|
-
},
|
|
2453
|
-
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
2454
|
-
{
|
|
2455
|
-
if: { hover: true, inverse: true },
|
|
2456
|
-
tokens: { color: '#efefef' }
|
|
2457
|
-
},
|
|
2458
|
-
{
|
|
2459
|
-
if: { inverse: true, pressed: true },
|
|
2460
|
-
tokens: { color: '#c9c8c8' }
|
|
2461
|
-
},
|
|
2462
|
-
{
|
|
2463
|
-
if: { focus: true, inverse: true },
|
|
2464
|
-
tokens: { color: '#ffffff', outerBorderColor: '#ffffff' }
|
|
2465
|
-
},
|
|
2466
|
-
{
|
|
2467
|
-
if: { focus: true, inverse: true, pressed: true },
|
|
2468
|
-
tokens: { color: '#c9c8c8', outerBorderColor: '#c9c8c8' }
|
|
2469
|
-
},
|
|
2470
2402
|
{
|
|
2471
2403
|
if: { size: 'large' },
|
|
2472
2404
|
tokens: { blockLineHeight: 1.4, fontSize: 20, iconSize: 20 }
|
|
@@ -3185,36 +3117,27 @@ const theme = {
|
|
|
3185
3117
|
ExpandCollapseMini: { appearances: {}, rules: [], tokens: { borderWidth: 0 } },
|
|
3186
3118
|
ExpandCollapseMiniControl: {
|
|
3187
3119
|
appearances: {
|
|
3188
|
-
alternative: {
|
|
3189
|
-
description: 'Replaces the default green colour with black',
|
|
3190
|
-
type: 'variant',
|
|
3191
|
-
values: [ true ]
|
|
3192
|
-
},
|
|
3193
3120
|
expanded: {
|
|
3194
3121
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
3195
3122
|
type: 'state',
|
|
3196
3123
|
values: [ true, false ]
|
|
3197
3124
|
},
|
|
3198
|
-
inverse: {
|
|
3199
|
-
description: 'Replaces the default green colour with white. Useful for dark backgrounds.',
|
|
3200
|
-
type: 'variant',
|
|
3201
|
-
values: [ true ]
|
|
3202
|
-
},
|
|
3203
3125
|
quiet: {
|
|
3204
3126
|
description: 'When it is true, it does not show the decoration',
|
|
3205
3127
|
type: 'state',
|
|
3206
3128
|
values: [ true, false ]
|
|
3207
3129
|
},
|
|
3208
|
-
size: { type: 'variant', values: [ 'micro', 'small', 'large' ] }
|
|
3130
|
+
size: { type: 'variant', values: [ 'micro', 'small', 'large' ] },
|
|
3131
|
+
style: { type: 'variant', values: [ 'subtle', 'inverse' ] }
|
|
3209
3132
|
},
|
|
3210
3133
|
rules: [
|
|
3211
3134
|
{
|
|
3212
3135
|
if: { expanded: true },
|
|
3213
3136
|
tokens: { icon: PaletteIconChevronUp }
|
|
3214
3137
|
},
|
|
3215
|
-
{ if: {
|
|
3138
|
+
{ if: { style: 'subtle' }, tokens: { color: '#666666' } },
|
|
3216
3139
|
{
|
|
3217
|
-
if: {
|
|
3140
|
+
if: { style: 'inverse' },
|
|
3218
3141
|
tokens: { color: '#ffffff', iconColor: '#ffffff' }
|
|
3219
3142
|
},
|
|
3220
3143
|
{
|
|
@@ -3231,11 +3154,11 @@ const theme = {
|
|
|
3231
3154
|
},
|
|
3232
3155
|
{ if: { quiet: true }, tokens: { textLine: 'none' } },
|
|
3233
3156
|
{
|
|
3234
|
-
if: {
|
|
3157
|
+
if: { quiet: true, style: 'subtle' },
|
|
3235
3158
|
tokens: { color: '#666666', textLine: 'none' }
|
|
3236
3159
|
},
|
|
3237
3160
|
{
|
|
3238
|
-
if: {
|
|
3161
|
+
if: { quiet: true, style: 'inverse' },
|
|
3239
3162
|
tokens: { color: '#ffffff', iconColor: '#ffffff', textLine: 'none' }
|
|
3240
3163
|
}
|
|
3241
3164
|
],
|
|
@@ -4668,7 +4591,6 @@ const theme = {
|
|
|
4668
4591
|
InputSupports: { appearances: {}, rules: [], tokens: { space: 1 } },
|
|
4669
4592
|
Link: {
|
|
4670
4593
|
appearances: {
|
|
4671
|
-
alternative: { type: 'variant', values: [ true ] },
|
|
4672
4594
|
focus: {
|
|
4673
4595
|
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.",
|
|
4674
4596
|
platforms: [ 'rn', 'web' ],
|
|
@@ -4686,7 +4608,6 @@ const theme = {
|
|
|
4686
4608
|
type: 'state',
|
|
4687
4609
|
values: [ 'left', 'right', 'inline' ]
|
|
4688
4610
|
},
|
|
4689
|
-
inverse: { type: 'variant', values: [ true ] },
|
|
4690
4611
|
pressed: {
|
|
4691
4612
|
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.',
|
|
4692
4613
|
type: 'state',
|
|
@@ -4730,40 +4651,6 @@ const theme = {
|
|
|
4730
4651
|
if: { pressed: true },
|
|
4731
4652
|
tokens: { color: '#666666', textLine: 'none' }
|
|
4732
4653
|
},
|
|
4733
|
-
{ if: { alternative: true }, tokens: { color: '#595959' } },
|
|
4734
|
-
{
|
|
4735
|
-
if: { alternative: true, focus: true },
|
|
4736
|
-
tokens: { color: '#595959', outerBorderColor: '#595959' }
|
|
4737
|
-
},
|
|
4738
|
-
{
|
|
4739
|
-
if: { alternative: true, hover: true },
|
|
4740
|
-
tokens: { color: '#404040' }
|
|
4741
|
-
},
|
|
4742
|
-
{
|
|
4743
|
-
if: { alternative: true, pressed: true },
|
|
4744
|
-
tokens: { color: '#404040' }
|
|
4745
|
-
},
|
|
4746
|
-
{
|
|
4747
|
-
if: { alternative: true, focus: true, pressed: true },
|
|
4748
|
-
tokens: { color: '#404040', outerBorderColor: '#404040' }
|
|
4749
|
-
},
|
|
4750
|
-
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
4751
|
-
{
|
|
4752
|
-
if: { focus: true, inverse: true },
|
|
4753
|
-
tokens: { color: '#ffffff', outerBorderColor: '#ffffff' }
|
|
4754
|
-
},
|
|
4755
|
-
{
|
|
4756
|
-
if: { focus: true, inverse: true, pressed: true },
|
|
4757
|
-
tokens: { color: '#c9c8c8', outerBorderColor: '#c9c8c8' }
|
|
4758
|
-
},
|
|
4759
|
-
{
|
|
4760
|
-
if: { hover: true, inverse: true },
|
|
4761
|
-
tokens: { color: '#efefef' }
|
|
4762
|
-
},
|
|
4763
|
-
{
|
|
4764
|
-
if: { inverse: true, pressed: true },
|
|
4765
|
-
tokens: { color: '#c9c8c8' }
|
|
4766
|
-
},
|
|
4767
4654
|
{
|
|
4768
4655
|
if: { size: 'micro' },
|
|
4769
4656
|
tokens: {
|
|
@@ -4803,14 +4690,6 @@ const theme = {
|
|
|
4803
4690
|
if: { focus: true, pressed: true, quiet: true },
|
|
4804
4691
|
tokens: { color: '#595959', textLine: 'underline' }
|
|
4805
4692
|
},
|
|
4806
|
-
{
|
|
4807
|
-
if: { alternative: true, hover: true, quiet: true },
|
|
4808
|
-
tokens: { color: '#595959', textLine: 'underline' }
|
|
4809
|
-
},
|
|
4810
|
-
{
|
|
4811
|
-
if: { hover: true, inverse: true, quiet: true },
|
|
4812
|
-
tokens: { color: '#efefef', textLine: 'underline' }
|
|
4813
|
-
},
|
|
4814
4693
|
{ if: { style: 'inline' }, tokens: { color: '#000000' } },
|
|
4815
4694
|
{
|
|
4816
4695
|
if: { focus: true, style: 'inline' },
|
|
@@ -6500,12 +6379,6 @@ const theme = {
|
|
|
6500
6379
|
},
|
|
6501
6380
|
ProgressBar: {
|
|
6502
6381
|
appearances: {
|
|
6503
|
-
inactive: {
|
|
6504
|
-
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
6505
|
-
type: 'state',
|
|
6506
|
-
values: [ true ]
|
|
6507
|
-
},
|
|
6508
|
-
negative: { type: 'variant', values: [ true ] },
|
|
6509
6382
|
style: {
|
|
6510
6383
|
description: 'Configure `style` variant for `ProgressBar`',
|
|
6511
6384
|
type: 'variant',
|
|
@@ -6513,14 +6386,6 @@ const theme = {
|
|
|
6513
6386
|
}
|
|
6514
6387
|
},
|
|
6515
6388
|
rules: [
|
|
6516
|
-
{
|
|
6517
|
-
if: { inactive: true },
|
|
6518
|
-
tokens: { backgroundColor: '#c9c8c8', outlineColor: '#595959' }
|
|
6519
|
-
},
|
|
6520
|
-
{
|
|
6521
|
-
if: { negative: true },
|
|
6522
|
-
tokens: { backgroundColor: '#c9370b', outlineColor: '#595959' }
|
|
6523
|
-
},
|
|
6524
6389
|
{
|
|
6525
6390
|
if: { style: 'subtle' },
|
|
6526
6391
|
tokens: {
|
|
@@ -7288,8 +7153,7 @@ const theme = {
|
|
|
7288
7153
|
purpose: {
|
|
7289
7154
|
type: 'variant',
|
|
7290
7155
|
values: [ 'offer', 'default', 'editorial', 'subtle' ]
|
|
7291
|
-
}
|
|
7292
|
-
wrap: { type: 'variant', values: [ true ] }
|
|
7156
|
+
}
|
|
7293
7157
|
},
|
|
7294
7158
|
rules: [
|
|
7295
7159
|
{
|
|
@@ -7303,10 +7167,6 @@ const theme = {
|
|
|
7303
7167
|
{
|
|
7304
7168
|
if: { purpose: 'subtle' },
|
|
7305
7169
|
tokens: { backgroundColor: '#a1ed00' }
|
|
7306
|
-
},
|
|
7307
|
-
{
|
|
7308
|
-
if: { wrap: true },
|
|
7309
|
-
tokens: { paddingBottom: 6, paddingTop: 6 }
|
|
7310
7170
|
}
|
|
7311
7171
|
],
|
|
7312
7172
|
tokens: {
|
|
@@ -7333,10 +7193,10 @@ const theme = {
|
|
|
7333
7193
|
fontWeight: '600',
|
|
7334
7194
|
gradient: null,
|
|
7335
7195
|
lineHeight: 1.42857142857,
|
|
7336
|
-
paddingBottom:
|
|
7196
|
+
paddingBottom: 6,
|
|
7337
7197
|
paddingLeft: 12,
|
|
7338
7198
|
paddingRight: 12,
|
|
7339
|
-
paddingTop:
|
|
7199
|
+
paddingTop: 6
|
|
7340
7200
|
}
|
|
7341
7201
|
},
|
|
7342
7202
|
Search: {
|
|
@@ -10175,6 +10035,6 @@ const theme = {
|
|
|
10175
10035
|
tokens: { size: 96 }
|
|
10176
10036
|
}
|
|
10177
10037
|
},
|
|
10178
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '
|
|
10038
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '5.0.0-alpha.1' }
|
|
10179
10039
|
}
|
|
10180
10040
|
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": "^
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^
|
|
8
|
+
"@telus-uds/palette-koodo": "^4.0.0-alpha.1",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^5.0.0-alpha.1"
|
|
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": "^
|
|
24
|
+
"@telus-uds/palette-koodo": "^4.0.0-alpha.1"
|
|
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": "
|
|
35
|
+
"version": "8.0.0-alpha.1"
|
|
36
36
|
}
|