@telus-uds/theme-koodo 5.20.0 → 5.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/android/ButtonGroupItem.json +1 -1
- package/build/android/CardGroup.json +4 -0
- package/build/android/DownloadApp.json +41 -0
- package/build/android/Link.json +1 -1
- package/build/android/TabBar.json +40 -0
- package/build/android/TabBarItem.json +119 -0
- package/build/android/ToggleSwitch.json +6 -6
- package/build/android/schema.json +1123 -705
- package/build/android/theme.json +213 -9
- package/build/ios/ButtonGroupItem.json +1 -1
- package/build/ios/CardGroup.json +4 -0
- package/build/ios/DownloadApp.json +41 -0
- package/build/ios/Link.json +1 -1
- package/build/ios/TabBar.json +40 -0
- package/build/ios/TabBarItem.json +119 -0
- package/build/ios/ToggleSwitch.json +6 -6
- package/build/ios/schema.json +1123 -705
- package/build/ios/theme.json +213 -9
- package/build/rn/ActionCard.js +1 -1
- package/build/rn/ActivityIndicator.js +1 -1
- package/build/rn/Badge.js +1 -1
- package/build/rn/BlockQuote.js +1 -1
- package/build/rn/Box.js +1 -1
- package/build/rn/Breadcrumbs.js +1 -1
- package/build/rn/Button.js +1 -1
- package/build/rn/ButtonDropdown.js +1 -1
- package/build/rn/ButtonGroup.js +1 -1
- package/build/rn/ButtonGroupItem.js +2 -2
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +1 -1
- package/build/rn/CardGroup.js +5 -1
- package/build/rn/Carousel.js +1 -1
- package/build/rn/CarouselTabsPanelItem.js +1 -1
- package/build/rn/CarouselThumbnail.js +1 -1
- package/build/rn/Checkbox.js +1 -1
- package/build/rn/CheckboxCard.js +1 -1
- package/build/rn/CheckboxCardGroup.js +1 -1
- package/build/rn/CheckboxGroup.js +1 -1
- package/build/rn/ChevronLink.js +1 -1
- package/build/rn/ColourToggle.js +1 -1
- package/build/rn/Countdown.js +1 -1
- package/build/rn/DatePicker.js +1 -1
- package/build/rn/Disclaimer.js +1 -1
- package/build/rn/Divider.js +1 -1
- package/build/rn/DownloadApp.js +62 -0
- package/build/rn/ExpandCollapse.js +1 -1
- package/build/rn/ExpandCollapseControl.js +1 -1
- package/build/rn/ExpandCollapseMini.js +1 -1
- package/build/rn/ExpandCollapseMiniControl.js +1 -1
- package/build/rn/ExpandCollapsePanel.js +1 -1
- package/build/rn/Feedback.js +1 -1
- package/build/rn/Fieldset.js +1 -1
- package/build/rn/FileUpload.js +1 -1
- package/build/rn/Footnote.js +1 -1
- package/build/rn/FootnoteLink.js +1 -1
- package/build/rn/HorizontalScrollButton.js +1 -1
- package/build/rn/Icon.js +1 -1
- package/build/rn/IconButton.js +1 -1
- package/build/rn/Image.js +1 -1
- package/build/rn/InputLabel.js +1 -1
- package/build/rn/InputSupports.js +1 -1
- package/build/rn/Link.js +2 -2
- package/build/rn/List.js +1 -1
- package/build/rn/Listbox.js +1 -1
- package/build/rn/Modal.js +1 -1
- package/build/rn/MultiSelectFilter.js +1 -1
- package/build/rn/NavigationBar.js +1 -1
- package/build/rn/Notification.js +1 -1
- package/build/rn/OrderedList.js +1 -1
- package/build/rn/Pagination.js +1 -1
- package/build/rn/PaginationPageButton.js +1 -1
- package/build/rn/PaginationSideButton.js +1 -1
- package/build/rn/PreviewCard.js +1 -1
- package/build/rn/PriceLockup.js +1 -1
- package/build/rn/ProductCard.js +1 -1
- package/build/rn/Progress.js +1 -1
- package/build/rn/ProgressBar.js +1 -1
- package/build/rn/QuantitySelector.js +1 -1
- package/build/rn/QuantitySelectorSideButton.js +1 -1
- package/build/rn/QuickLinks.js +1 -1
- package/build/rn/QuickLinksButton.js +1 -1
- package/build/rn/QuickLinksCard.js +1 -1
- package/build/rn/QuickLinksFeature.js +1 -1
- package/build/rn/QuickLinksFeatureItem.js +1 -1
- package/build/rn/QuickLinksList.js +1 -1
- package/build/rn/Radio.js +1 -1
- package/build/rn/RadioCard.js +1 -1
- package/build/rn/RadioCardGroup.js +1 -1
- package/build/rn/RadioGroup.js +1 -1
- package/build/rn/Ribbon.js +1 -1
- package/build/rn/Search.js +1 -1
- package/build/rn/SearchButton.js +1 -1
- package/build/rn/Select.js +1 -1
- package/build/rn/SideNav.js +1 -1
- package/build/rn/SideNavItem.js +1 -1
- package/build/rn/SideNavItemsGroup.js +1 -1
- package/build/rn/Skeleton.js +1 -1
- package/build/rn/SkipLink.js +1 -1
- package/build/rn/Spinner.js +1 -1
- package/build/rn/SplashButton.js +1 -1
- package/build/rn/SplashButtonWithDetails.js +1 -1
- package/build/rn/StackView.js +1 -1
- package/build/rn/Status.js +1 -1
- package/build/rn/StepTracker.js +1 -1
- package/build/rn/StoryCard.js +1 -1
- package/build/rn/TabBar.js +34 -0
- package/build/rn/TabBarItem.js +67 -0
- package/build/rn/Table.js +1 -1
- package/build/rn/Tabs.js +1 -1
- package/build/rn/TabsItem.js +1 -1
- package/build/rn/Tags.js +1 -1
- package/build/rn/TagsItem.js +1 -1
- package/build/rn/TermsAndConditions.js +1 -1
- package/build/rn/Testimonial.js +1 -1
- package/build/rn/TextArea.js +1 -1
- package/build/rn/TextInput.js +1 -1
- package/build/rn/Timeline.js +1 -1
- package/build/rn/Toast.js +1 -1
- package/build/rn/ToggleSwitch.js +5 -5
- 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 +1123 -705
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +149 -8
- package/build/web/ActionCard.js +1 -1
- package/build/web/ActivityIndicator.js +1 -1
- package/build/web/Badge.js +1 -1
- package/build/web/BlockQuote.js +1 -1
- package/build/web/Box.js +1 -1
- package/build/web/Breadcrumbs.js +1 -1
- package/build/web/Button.js +1 -1
- package/build/web/ButtonDropdown.js +1 -1
- package/build/web/ButtonGroup.js +1 -1
- package/build/web/ButtonGroupItem.js +2 -2
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +1 -1
- package/build/web/CardGroup.js +5 -1
- package/build/web/Carousel.js +1 -1
- package/build/web/CarouselTabsPanelItem.js +1 -1
- package/build/web/CarouselThumbnail.js +1 -1
- package/build/web/Checkbox.js +1 -1
- package/build/web/CheckboxCard.js +1 -1
- package/build/web/CheckboxCardGroup.js +1 -1
- package/build/web/CheckboxGroup.js +1 -1
- package/build/web/ChevronLink.js +1 -1
- package/build/web/ColourToggle.js +1 -1
- package/build/web/Countdown.js +1 -1
- package/build/web/DatePicker.js +1 -1
- package/build/web/Disclaimer.js +1 -1
- package/build/web/Divider.js +1 -1
- package/build/web/DownloadApp.js +62 -0
- package/build/web/ExpandCollapse.js +1 -1
- package/build/web/ExpandCollapseControl.js +1 -1
- package/build/web/ExpandCollapseMini.js +1 -1
- package/build/web/ExpandCollapseMiniControl.js +1 -1
- package/build/web/ExpandCollapsePanel.js +1 -1
- package/build/web/Feedback.js +1 -1
- package/build/web/Fieldset.js +1 -1
- package/build/web/FileUpload.js +1 -1
- package/build/web/Footnote.js +1 -1
- package/build/web/FootnoteLink.js +1 -1
- package/build/web/HorizontalScrollButton.js +1 -1
- package/build/web/Icon.js +1 -1
- package/build/web/IconButton.js +1 -1
- package/build/web/Image.js +1 -1
- package/build/web/InputLabel.js +1 -1
- package/build/web/InputSupports.js +1 -1
- package/build/web/Link.js +2 -2
- package/build/web/List.js +1 -1
- package/build/web/Listbox.js +1 -1
- package/build/web/Modal.js +1 -1
- package/build/web/MultiSelectFilter.js +1 -1
- package/build/web/NavigationBar.js +1 -1
- package/build/web/Notification.js +1 -1
- package/build/web/OrderedList.js +1 -1
- package/build/web/Pagination.js +1 -1
- package/build/web/PaginationPageButton.js +1 -1
- package/build/web/PaginationSideButton.js +1 -1
- package/build/web/PreviewCard.js +1 -1
- package/build/web/PriceLockup.js +1 -1
- package/build/web/ProductCard.js +1 -1
- package/build/web/Progress.js +1 -1
- package/build/web/ProgressBar.js +1 -1
- package/build/web/QuantitySelector.js +1 -1
- package/build/web/QuantitySelectorSideButton.js +1 -1
- package/build/web/QuickLinks.js +1 -1
- package/build/web/QuickLinksButton.js +1 -1
- package/build/web/QuickLinksCard.js +1 -1
- package/build/web/QuickLinksFeature.js +1 -1
- package/build/web/QuickLinksFeatureItem.js +1 -1
- package/build/web/QuickLinksList.js +1 -1
- package/build/web/Radio.js +1 -1
- package/build/web/RadioCard.js +1 -1
- package/build/web/RadioCardGroup.js +1 -1
- package/build/web/RadioGroup.js +1 -1
- package/build/web/Ribbon.js +1 -1
- package/build/web/Search.js +1 -1
- package/build/web/SearchButton.js +1 -1
- package/build/web/Select.js +1 -1
- package/build/web/SideNav.js +1 -1
- package/build/web/SideNavItem.js +1 -1
- package/build/web/SideNavItemsGroup.js +1 -1
- package/build/web/Skeleton.js +1 -1
- package/build/web/SkipLink.js +1 -1
- package/build/web/Spinner.js +1 -1
- package/build/web/SplashButton.js +1 -1
- package/build/web/SplashButtonWithDetails.js +1 -1
- package/build/web/StackView.js +1 -1
- package/build/web/Status.js +1 -1
- package/build/web/StepTracker.js +1 -1
- package/build/web/StoryCard.js +1 -1
- package/build/web/TabBar.js +34 -0
- package/build/web/TabBarItem.js +67 -0
- package/build/web/Table.js +1 -1
- package/build/web/Tabs.js +1 -1
- package/build/web/TabsItem.js +1 -1
- package/build/web/Tags.js +1 -1
- package/build/web/TagsItem.js +1 -1
- package/build/web/TermsAndConditions.js +1 -1
- package/build/web/Testimonial.js +1 -1
- package/build/web/TextArea.js +1 -1
- package/build/web/TextInput.js +1 -1
- package/build/web/Timeline.js +1 -1
- package/build/web/Toast.js +1 -1
- package/build/web/ToggleSwitch.js +5 -5
- package/build/web/ToggleSwitchGroup.js +1 -1
- package/build/web/Tooltip.js +1 -1
- package/build/web/TooltipButton.js +1 -1
- package/build/web/Typography.js +1 -1
- package/build/web/Video.js +1 -1
- package/build/web/VideoButton.js +1 -1
- package/build/web/VideoControlBar.js +1 -1
- package/build/web/VideoMenu.js +1 -1
- package/build/web/VideoMiddleControlButton.js +1 -1
- package/build/web/VideoPicker.js +1 -1
- package/build/web/VideoPickerSlider.js +1 -1
- package/build/web/VideoPickerThumbnail.js +1 -1
- package/build/web/VideoProgressBar.js +1 -1
- package/build/web/VideoVolumeSlider.js +1 -1
- package/build/web/WaffleGrid.js +1 -1
- package/build/web/index.js +4 -1
- package/build/web/schema.json +1123 -705
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +149 -8
- package/package.json +4 -4
- package/theme.json +144 -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 Wed, 25 Sep 2024 16:55:50 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -15,6 +15,10 @@ 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 PaletteIconAndroidEN from '@telus-uds/palette-koodo/build/rn/icons/AndroidEN'
|
|
19
|
+
import PaletteIconAndroidFR from '@telus-uds/palette-koodo/build/rn/icons/AndroidFR'
|
|
20
|
+
import PaletteIconIOSEN from '@telus-uds/palette-koodo/build/rn/icons/IOSEN'
|
|
21
|
+
import PaletteIconIOSFR from '@telus-uds/palette-koodo/build/rn/icons/IOSFR'
|
|
18
22
|
import PaletteIconCheckCircleFilled from '@telus-uds/palette-koodo/build/rn/icons/CheckCircleFilled'
|
|
19
23
|
import PaletteIconClose from '@telus-uds/palette-koodo/build/rn/icons/Close'
|
|
20
24
|
import PaletteIconAdd from '@telus-uds/palette-koodo/build/rn/icons/Add'
|
|
@@ -1075,7 +1079,7 @@ const theme = {
|
|
|
1075
1079
|
iconPosition: {
|
|
1076
1080
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
1077
1081
|
type: 'state',
|
|
1078
|
-
values: [ 'left', 'right' ]
|
|
1082
|
+
values: [ 'left', 'right', 'inline' ]
|
|
1079
1083
|
},
|
|
1080
1084
|
inactive: {
|
|
1081
1085
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -1557,6 +1561,10 @@ const theme = {
|
|
|
1557
1561
|
fieldSpace: 3,
|
|
1558
1562
|
outlineOffset: 8,
|
|
1559
1563
|
outlineWidth: 1,
|
|
1564
|
+
paddingBottom: 24,
|
|
1565
|
+
paddingLeft: 24,
|
|
1566
|
+
paddingRight: 24,
|
|
1567
|
+
paddingTop: 24,
|
|
1560
1568
|
showIcon: true,
|
|
1561
1569
|
space: 3
|
|
1562
1570
|
}
|
|
@@ -2449,6 +2457,56 @@ const theme = {
|
|
|
2449
2457
|
],
|
|
2450
2458
|
tokens: { color: '#c9c8c8', width: 1 }
|
|
2451
2459
|
},
|
|
2460
|
+
DownloadApp: {
|
|
2461
|
+
appearances: {
|
|
2462
|
+
focus: {
|
|
2463
|
+
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.",
|
|
2464
|
+
platforms: [ 'rn', 'web' ],
|
|
2465
|
+
type: 'state',
|
|
2466
|
+
values: [ true, false ]
|
|
2467
|
+
},
|
|
2468
|
+
hover: {
|
|
2469
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2470
|
+
platforms: [ 'rn', 'web' ],
|
|
2471
|
+
type: 'state',
|
|
2472
|
+
values: [ true, false ]
|
|
2473
|
+
},
|
|
2474
|
+
pressed: {
|
|
2475
|
+
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.',
|
|
2476
|
+
type: 'state',
|
|
2477
|
+
values: [ true, false ]
|
|
2478
|
+
}
|
|
2479
|
+
},
|
|
2480
|
+
rules: [
|
|
2481
|
+
{
|
|
2482
|
+
if: { focus: true },
|
|
2483
|
+
tokens: { borderColor: '#000000', borderRadius: 4 }
|
|
2484
|
+
},
|
|
2485
|
+
{
|
|
2486
|
+
if: { hover: true },
|
|
2487
|
+
tokens: { borderColor: '#666666', borderRadius: 4 }
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
if: { pressed: true },
|
|
2491
|
+
tokens: { borderColor: '#666666', borderRadius: 4 }
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
if: { focus: true, pressed: true },
|
|
2495
|
+
tokens: { borderColor: '#666666', borderRadius: 4 }
|
|
2496
|
+
}
|
|
2497
|
+
],
|
|
2498
|
+
tokens: {
|
|
2499
|
+
androidENIcon: PaletteIconAndroidEN,
|
|
2500
|
+
androidFRIcon: PaletteIconAndroidFR,
|
|
2501
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
2502
|
+
borderGap: 2,
|
|
2503
|
+
borderRadius: 0,
|
|
2504
|
+
borderWidth: 1,
|
|
2505
|
+
iosENIcon: PaletteIconIOSEN,
|
|
2506
|
+
iosFRIcon: PaletteIconIOSFR,
|
|
2507
|
+
padding: 1
|
|
2508
|
+
}
|
|
2509
|
+
},
|
|
2452
2510
|
ExpandCollapse: {
|
|
2453
2511
|
appearances: {},
|
|
2454
2512
|
rules: [],
|
|
@@ -3413,7 +3471,7 @@ const theme = {
|
|
|
3413
3471
|
iconPosition: {
|
|
3414
3472
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
3415
3473
|
type: 'state',
|
|
3416
|
-
values: [ 'left', 'right' ]
|
|
3474
|
+
values: [ 'left', 'right', 'inline' ]
|
|
3417
3475
|
},
|
|
3418
3476
|
inverse: { type: 'variant', values: [ true ] },
|
|
3419
3477
|
pressed: {
|
|
@@ -6456,6 +6514,89 @@ const theme = {
|
|
|
6456
6514
|
}
|
|
6457
6515
|
}
|
|
6458
6516
|
},
|
|
6517
|
+
TabBar: {
|
|
6518
|
+
appearances: {
|
|
6519
|
+
pressed: {
|
|
6520
|
+
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.',
|
|
6521
|
+
type: 'state',
|
|
6522
|
+
values: [ true, false ]
|
|
6523
|
+
}
|
|
6524
|
+
},
|
|
6525
|
+
rules: [
|
|
6526
|
+
{
|
|
6527
|
+
if: { pressed: true },
|
|
6528
|
+
tokens: { paddingBottom: 0, paddingTop: 0 }
|
|
6529
|
+
}
|
|
6530
|
+
],
|
|
6531
|
+
tokens: {
|
|
6532
|
+
backgroundColor: '#fafafa',
|
|
6533
|
+
borderTopColor: '#efefef',
|
|
6534
|
+
borderTopWidth: 1,
|
|
6535
|
+
gap: 8,
|
|
6536
|
+
paddingBottom: 4,
|
|
6537
|
+
paddingLeft: 8,
|
|
6538
|
+
paddingRight: 8,
|
|
6539
|
+
paddingTop: 4
|
|
6540
|
+
}
|
|
6541
|
+
},
|
|
6542
|
+
TabBarItem: {
|
|
6543
|
+
appearances: {
|
|
6544
|
+
focus: {
|
|
6545
|
+
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.',
|
|
6546
|
+
type: 'state',
|
|
6547
|
+
values: [ true, false ]
|
|
6548
|
+
},
|
|
6549
|
+
hover: {
|
|
6550
|
+
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.',
|
|
6551
|
+
type: 'state',
|
|
6552
|
+
values: [ true, false ]
|
|
6553
|
+
},
|
|
6554
|
+
pressed: {
|
|
6555
|
+
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.',
|
|
6556
|
+
type: 'state',
|
|
6557
|
+
values: [ true, false ]
|
|
6558
|
+
},
|
|
6559
|
+
selected: {
|
|
6560
|
+
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.',
|
|
6561
|
+
type: 'state',
|
|
6562
|
+
values: [ true, false ]
|
|
6563
|
+
}
|
|
6564
|
+
},
|
|
6565
|
+
rules: [
|
|
6566
|
+
{
|
|
6567
|
+
if: { focus: true },
|
|
6568
|
+
tokens: {
|
|
6569
|
+
backgroundColor: '#efefef',
|
|
6570
|
+
color: '#000000',
|
|
6571
|
+
iconColor: '#000000',
|
|
6572
|
+
iconSize: 26
|
|
6573
|
+
}
|
|
6574
|
+
},
|
|
6575
|
+
{
|
|
6576
|
+
if: { pressed: true },
|
|
6577
|
+
tokens: {
|
|
6578
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6579
|
+
color: '#5b2bc2',
|
|
6580
|
+
iconColor: '#5b2bc2',
|
|
6581
|
+
iconSize: 22
|
|
6582
|
+
}
|
|
6583
|
+
},
|
|
6584
|
+
{ if: { hover: true }, tokens: { iconSize: 26 } }
|
|
6585
|
+
],
|
|
6586
|
+
tokens: {
|
|
6587
|
+
activeColor: '#7a3dfc',
|
|
6588
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6589
|
+
borderRadius: 4,
|
|
6590
|
+
color: '#000000',
|
|
6591
|
+
fontName: 'StagSans',
|
|
6592
|
+
fontWeight: '600',
|
|
6593
|
+
iconColor: '#000000',
|
|
6594
|
+
iconSize: 24,
|
|
6595
|
+
lineHeight: 1.33333333333,
|
|
6596
|
+
paddingBottom: 4,
|
|
6597
|
+
paddingTop: 4
|
|
6598
|
+
}
|
|
6599
|
+
},
|
|
6459
6600
|
Table: {
|
|
6460
6601
|
appearances: {
|
|
6461
6602
|
spacing: {
|
|
@@ -7360,7 +7501,7 @@ const theme = {
|
|
|
7360
7501
|
},
|
|
7361
7502
|
{
|
|
7362
7503
|
if: { hover: true, selected: true },
|
|
7363
|
-
tokens: { backgroundColor: '#
|
|
7504
|
+
tokens: { backgroundColor: '#c9c8c8', switchColor: '#404040' }
|
|
7364
7505
|
},
|
|
7365
7506
|
{
|
|
7366
7507
|
if: { pressed: true, selected: true },
|
|
@@ -7369,7 +7510,7 @@ const theme = {
|
|
|
7369
7510
|
{
|
|
7370
7511
|
if: { focus: true, selected: true },
|
|
7371
7512
|
tokens: {
|
|
7372
|
-
backgroundColor: '#
|
|
7513
|
+
backgroundColor: '#c9c8c8',
|
|
7373
7514
|
icon: PaletteIconCheck,
|
|
7374
7515
|
iconColor: '#ffffff',
|
|
7375
7516
|
outerBorderColor: '#000000',
|
|
@@ -7401,7 +7542,7 @@ const theme = {
|
|
|
7401
7542
|
{
|
|
7402
7543
|
if: { inactive: true },
|
|
7403
7544
|
tokens: {
|
|
7404
|
-
backgroundColor: '#
|
|
7545
|
+
backgroundColor: '#c9c8c8',
|
|
7405
7546
|
opacity: 0.5,
|
|
7406
7547
|
switchBorderColor: 'rgba(0, 0, 0, 0)',
|
|
7407
7548
|
switchColor: '#c9c8c8'
|
|
@@ -7410,7 +7551,7 @@ const theme = {
|
|
|
7410
7551
|
{
|
|
7411
7552
|
if: { inactive: true, selected: true },
|
|
7412
7553
|
tokens: {
|
|
7413
|
-
backgroundColor: '#
|
|
7554
|
+
backgroundColor: '#c9c8c8',
|
|
7414
7555
|
icon: PaletteIconCheck,
|
|
7415
7556
|
iconColor: '#ffffff',
|
|
7416
7557
|
opacity: 0.5,
|
|
@@ -8103,6 +8244,6 @@ const theme = {
|
|
|
8103
8244
|
tokens: { size: 96 }
|
|
8104
8245
|
}
|
|
8105
8246
|
},
|
|
8106
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
8247
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.64.0' }
|
|
8107
8248
|
}
|
|
8108
8249
|
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": "^1.
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
8
|
+
"@telus-uds/palette-koodo": "^1.8.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.64.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"main": "build/rn/theme.js",
|
|
21
21
|
"name": "@telus-uds/theme-koodo",
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@telus-uds/palette-koodo": "^1.
|
|
23
|
+
"@telus-uds/palette-koodo": "^1.8.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
|
|
32
32
|
"dev": "nodemon -w src -x 'npm run build'"
|
|
33
33
|
},
|
|
34
|
-
"version": "5.
|
|
34
|
+
"version": "5.21.0"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -1981,6 +1981,10 @@
|
|
|
1981
1981
|
"fieldSpace": "{system.integer.3}",
|
|
1982
1982
|
"outlineOffset": "{palette.size.size8}",
|
|
1983
1983
|
"outlineWidth": "{palette.border.border1}",
|
|
1984
|
+
"paddingBottom": "{palette.size.size24}",
|
|
1985
|
+
"paddingLeft": "{palette.size.size24}",
|
|
1986
|
+
"paddingRight": "{palette.size.size24}",
|
|
1987
|
+
"paddingTop": "{palette.size.size24}",
|
|
1984
1988
|
"showIcon": "{system.show.true}",
|
|
1985
1989
|
"space": "{system.integer.3}"
|
|
1986
1990
|
}
|
|
@@ -3032,6 +3036,63 @@
|
|
|
3032
3036
|
"width": "{palette.size.size1}"
|
|
3033
3037
|
}
|
|
3034
3038
|
},
|
|
3039
|
+
"DownloadApp": {
|
|
3040
|
+
"appearances": {
|
|
3041
|
+
"focus": "{appearances.DownloadApp.focus}",
|
|
3042
|
+
"hover": "{appearances.DownloadApp.hover}",
|
|
3043
|
+
"pressed": "{appearances.DownloadApp.pressed}"
|
|
3044
|
+
},
|
|
3045
|
+
"rules": [
|
|
3046
|
+
{
|
|
3047
|
+
"if": {
|
|
3048
|
+
"focus": true
|
|
3049
|
+
},
|
|
3050
|
+
"tokens": {
|
|
3051
|
+
"borderColor": "{palette.color.black}",
|
|
3052
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
3053
|
+
}
|
|
3054
|
+
},
|
|
3055
|
+
{
|
|
3056
|
+
"if": {
|
|
3057
|
+
"hover": true
|
|
3058
|
+
},
|
|
3059
|
+
"tokens": {
|
|
3060
|
+
"borderColor": "{palette.color.dove}",
|
|
3061
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
3062
|
+
}
|
|
3063
|
+
},
|
|
3064
|
+
{
|
|
3065
|
+
"if": {
|
|
3066
|
+
"pressed": true
|
|
3067
|
+
},
|
|
3068
|
+
"tokens": {
|
|
3069
|
+
"borderColor": "{palette.color.dove}",
|
|
3070
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
3071
|
+
}
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
"if": {
|
|
3075
|
+
"focus": true,
|
|
3076
|
+
"pressed": true
|
|
3077
|
+
},
|
|
3078
|
+
"tokens": {
|
|
3079
|
+
"borderColor": "{palette.color.dove}",
|
|
3080
|
+
"borderRadius": "{palette.radius.radius4}"
|
|
3081
|
+
}
|
|
3082
|
+
}
|
|
3083
|
+
],
|
|
3084
|
+
"tokens": {
|
|
3085
|
+
"androidENIcon": "{palette.icon.AndroidEN}",
|
|
3086
|
+
"androidFRIcon": "{palette.icon.AndroidFR}",
|
|
3087
|
+
"borderColor": "{palette.color.transparent}",
|
|
3088
|
+
"borderGap": "{palette.size.size2}",
|
|
3089
|
+
"borderRadius": "{palette.radius.none}",
|
|
3090
|
+
"borderWidth": "{palette.border.border1}",
|
|
3091
|
+
"iosENIcon": "{palette.icon.IOSEN}",
|
|
3092
|
+
"iosFRIcon": "{palette.icon.IOSFR}",
|
|
3093
|
+
"padding": "{palette.size.size1}"
|
|
3094
|
+
}
|
|
3095
|
+
},
|
|
3035
3096
|
"ExpandCollapse": {
|
|
3036
3097
|
"appearances": {},
|
|
3037
3098
|
"rules": [],
|
|
@@ -7984,6 +8045,85 @@
|
|
|
7984
8045
|
"shadow": "{palette.shadow.none}"
|
|
7985
8046
|
}
|
|
7986
8047
|
},
|
|
8048
|
+
"TabBar": {
|
|
8049
|
+
"appearances": {
|
|
8050
|
+
"pressed": "{appearances.TabBarItem.pressed}"
|
|
8051
|
+
},
|
|
8052
|
+
"rules": [
|
|
8053
|
+
{
|
|
8054
|
+
"if": {
|
|
8055
|
+
"pressed": true
|
|
8056
|
+
},
|
|
8057
|
+
"tokens": {
|
|
8058
|
+
"paddingBottom": "{palette.size.size0}",
|
|
8059
|
+
"paddingTop": "{palette.size.size0}"
|
|
8060
|
+
}
|
|
8061
|
+
}
|
|
8062
|
+
],
|
|
8063
|
+
"tokens": {
|
|
8064
|
+
"backgroundColor": "{palette.color.greyLight}",
|
|
8065
|
+
"borderTopColor": "{palette.color.gallery}",
|
|
8066
|
+
"borderTopWidth": "{palette.border.border1}",
|
|
8067
|
+
"gap": "{palette.size.size8}",
|
|
8068
|
+
"paddingBottom": "{palette.size.size4}",
|
|
8069
|
+
"paddingLeft": "{palette.size.size8}",
|
|
8070
|
+
"paddingRight": "{palette.size.size8}",
|
|
8071
|
+
"paddingTop": "{palette.size.size4}"
|
|
8072
|
+
}
|
|
8073
|
+
},
|
|
8074
|
+
"TabBarItem": {
|
|
8075
|
+
"appearances": {
|
|
8076
|
+
"focus": "{appearances.TabBarItem.pressed}",
|
|
8077
|
+
"hover": "{appearances.TabBarItem.pressed}",
|
|
8078
|
+
"pressed": "{appearances.TabBarItem.pressed}",
|
|
8079
|
+
"selected": "{appearances.TabBarItem.pressed}"
|
|
8080
|
+
},
|
|
8081
|
+
"rules": [
|
|
8082
|
+
{
|
|
8083
|
+
"if": {
|
|
8084
|
+
"focus": true
|
|
8085
|
+
},
|
|
8086
|
+
"tokens": {
|
|
8087
|
+
"backgroundColor": "{palette.color.gallery}",
|
|
8088
|
+
"color": "{palette.color.black}",
|
|
8089
|
+
"iconColor": "{palette.color.black}",
|
|
8090
|
+
"iconSize": "{palette.size.size26}"
|
|
8091
|
+
}
|
|
8092
|
+
},
|
|
8093
|
+
{
|
|
8094
|
+
"if": {
|
|
8095
|
+
"pressed": true
|
|
8096
|
+
},
|
|
8097
|
+
"tokens": {
|
|
8098
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
8099
|
+
"color": "{palette.color.purpleDark}",
|
|
8100
|
+
"iconColor": "{palette.color.purpleDark}",
|
|
8101
|
+
"iconSize": "{palette.size.size22}"
|
|
8102
|
+
}
|
|
8103
|
+
},
|
|
8104
|
+
{
|
|
8105
|
+
"if": {
|
|
8106
|
+
"hover": true
|
|
8107
|
+
},
|
|
8108
|
+
"tokens": {
|
|
8109
|
+
"iconSize": "{palette.size.size26}"
|
|
8110
|
+
}
|
|
8111
|
+
}
|
|
8112
|
+
],
|
|
8113
|
+
"tokens": {
|
|
8114
|
+
"activeColor": "{palette.color.purple}",
|
|
8115
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
8116
|
+
"borderRadius": "{palette.radius.radius4}",
|
|
8117
|
+
"color": "{palette.color.black}",
|
|
8118
|
+
"fontName": "{palette.fontName.StagSans}",
|
|
8119
|
+
"fontWeight": "{palette.fontWeight.weight600}",
|
|
8120
|
+
"iconColor": "{palette.color.black}",
|
|
8121
|
+
"iconSize": "{palette.size.size24}",
|
|
8122
|
+
"lineHeight": "{palette.lineHeight.ratio4to3}",
|
|
8123
|
+
"paddingBottom": "{palette.size.size4}",
|
|
8124
|
+
"paddingTop": "{palette.size.size4}"
|
|
8125
|
+
}
|
|
8126
|
+
},
|
|
7987
8127
|
"Table": {
|
|
7988
8128
|
"appearances": {
|
|
7989
8129
|
"spacing": {
|
|
@@ -8975,7 +9115,7 @@
|
|
|
8975
9115
|
"selected": true
|
|
8976
9116
|
},
|
|
8977
9117
|
"tokens": {
|
|
8978
|
-
"backgroundColor": "{palette.color.
|
|
9118
|
+
"backgroundColor": "{palette.color.silver}",
|
|
8979
9119
|
"switchColor": "{palette.color.blackLight}"
|
|
8980
9120
|
}
|
|
8981
9121
|
},
|
|
@@ -8995,7 +9135,7 @@
|
|
|
8995
9135
|
"selected": true
|
|
8996
9136
|
},
|
|
8997
9137
|
"tokens": {
|
|
8998
|
-
"backgroundColor": "{palette.color.
|
|
9138
|
+
"backgroundColor": "{palette.color.silver}",
|
|
8999
9139
|
"icon": "{palette.icon.Check}",
|
|
9000
9140
|
"iconColor": "{palette.color.white}",
|
|
9001
9141
|
"outerBorderColor": "{palette.color.black}",
|
|
@@ -9036,7 +9176,7 @@
|
|
|
9036
9176
|
"inactive": true
|
|
9037
9177
|
},
|
|
9038
9178
|
"tokens": {
|
|
9039
|
-
"backgroundColor": "{palette.color.
|
|
9179
|
+
"backgroundColor": "{palette.color.silver}",
|
|
9040
9180
|
"opacity": "{palette.opacity.opacity5}",
|
|
9041
9181
|
"switchBorderColor": "{palette.color.transparent}",
|
|
9042
9182
|
"switchColor": "{palette.color.silver}"
|
|
@@ -9048,7 +9188,7 @@
|
|
|
9048
9188
|
"selected": true
|
|
9049
9189
|
},
|
|
9050
9190
|
"tokens": {
|
|
9051
|
-
"backgroundColor": "{palette.color.
|
|
9191
|
+
"backgroundColor": "{palette.color.silver}",
|
|
9052
9192
|
"icon": "{palette.icon.Check}",
|
|
9053
9193
|
"iconColor": "{palette.color.white}",
|
|
9054
9194
|
"opacity": "{palette.opacity.opacity5}",
|