@telus-uds/theme-koodo 5.5.0 → 5.6.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/CarouselThumbnail.json +2 -2
- package/build/android/IconButton.json +10 -4
- package/build/android/Link.json +4 -4
- package/build/android/TermsAndConditions.json +51 -0
- package/build/android/schema.json +738 -673
- package/build/android/theme.json +68 -11
- package/build/ios/CarouselThumbnail.json +2 -2
- package/build/ios/IconButton.json +10 -4
- package/build/ios/Link.json +4 -4
- package/build/ios/TermsAndConditions.json +51 -0
- package/build/ios/schema.json +738 -673
- package/build/ios/theme.json +68 -11
- 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 +3 -3
- package/build/rn/ButtonDropdown.js +3 -3
- package/build/rn/ButtonGroup.js +1 -1
- package/build/rn/ButtonGroupItem.js +3 -3
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +3 -3
- package/build/rn/Carousel.js +1 -1
- package/build/rn/CarouselTabsPanelItem.js +3 -3
- package/build/rn/CarouselThumbnail.js +5 -5
- package/build/rn/Checkbox.js +3 -3
- package/build/rn/CheckboxCard.js +3 -3
- package/build/rn/CheckboxCardGroup.js +1 -1
- package/build/rn/CheckboxGroup.js +1 -1
- package/build/rn/ChevronLink.js +3 -3
- package/build/rn/ColourToggle.js +3 -3
- 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/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/Footnote.js +1 -1
- package/build/rn/FootnoteLink.js +1 -1
- package/build/rn/HorizontalScrollButton.js +3 -3
- package/build/rn/Icon.js +1 -1
- package/build/rn/IconButton.js +9 -5
- 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 +7 -7
- package/build/rn/List.js +1 -1
- package/build/rn/Listbox.js +3 -3
- package/build/rn/Modal.js +1 -1
- package/build/rn/MultiSelectFilter.js +1 -1
- package/build/rn/NavigationBar.js +3 -3
- 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 +3 -3
- package/build/rn/PaginationSideButton.js +3 -3
- package/build/rn/PreviewCard.js +4 -4
- package/build/rn/PriceLockup.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 +3 -3
- package/build/rn/QuickLinksCard.js +1 -1
- package/build/rn/QuickLinksFeature.js +1 -1
- package/build/rn/QuickLinksFeatureItem.js +3 -3
- package/build/rn/QuickLinksList.js +3 -3
- package/build/rn/Radio.js +3 -3
- package/build/rn/RadioCard.js +3 -3
- 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 +2 -2
- package/build/rn/SearchButton.js +3 -3
- package/build/rn/Select.js +2 -2
- package/build/rn/SideNav.js +1 -1
- package/build/rn/SideNavItem.js +3 -3
- package/build/rn/SideNavItemsGroup.js +1 -1
- package/build/rn/Skeleton.js +1 -1
- package/build/rn/SkipLink.js +2 -2
- package/build/rn/Spinner.js +1 -1
- package/build/rn/SplashButton.js +2 -2
- package/build/rn/SplashButtonWithDetails.js +2 -2
- package/build/rn/StackView.js +1 -1
- package/build/rn/StepTracker.js +1 -1
- package/build/rn/StoryCard.js +3 -3
- package/build/rn/Table.js +1 -1
- package/build/rn/Tabs.js +1 -1
- package/build/rn/TabsItem.js +3 -3
- package/build/rn/Tags.js +1 -1
- package/build/rn/TagsItem.js +3 -3
- package/build/rn/TermsAndConditions.js +56 -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 +3 -3
- package/build/rn/ToggleSwitchGroup.js +1 -1
- package/build/rn/Tooltip.js +1 -1
- package/build/rn/TooltipButton.js +3 -3
- 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 +3 -3
- 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 +738 -673
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +138 -79
- 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 +149 -1
- package/build/web/ButtonDropdown.js +48 -1
- package/build/web/ButtonGroup.js +1 -1
- package/build/web/ButtonGroupItem.js +34 -1
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +25 -2
- package/build/web/Carousel.js +1 -1
- package/build/web/CarouselTabsPanelItem.js +53 -1
- package/build/web/CarouselThumbnail.js +20 -3
- package/build/web/Checkbox.js +21 -1
- package/build/web/CheckboxCard.js +37 -1
- package/build/web/CheckboxCardGroup.js +1 -1
- package/build/web/CheckboxGroup.js +1 -1
- package/build/web/ChevronLink.js +49 -1
- package/build/web/ColourToggle.js +29 -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/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/Footnote.js +1 -1
- package/build/web/FootnoteLink.js +1 -1
- package/build/web/HorizontalScrollButton.js +21 -1
- package/build/web/Icon.js +1 -1
- package/build/web/IconButton.js +56 -3
- 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 +70 -6
- package/build/web/List.js +1 -1
- package/build/web/Listbox.js +104 -1
- package/build/web/Modal.js +1 -1
- package/build/web/MultiSelectFilter.js +1 -1
- package/build/web/NavigationBar.js +44 -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 +26 -1
- package/build/web/PaginationSideButton.js +35 -1
- package/build/web/PreviewCard.js +43 -3
- package/build/web/PriceLockup.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 +19 -1
- package/build/web/QuickLinksCard.js +1 -1
- package/build/web/QuickLinksFeature.js +1 -1
- package/build/web/QuickLinksFeatureItem.js +29 -1
- package/build/web/QuickLinksList.js +15 -1
- package/build/web/Radio.js +22 -1
- package/build/web/RadioCard.js +37 -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 +8 -1
- package/build/web/SearchButton.js +30 -1
- package/build/web/Select.js +15 -1
- package/build/web/SideNav.js +1 -1
- package/build/web/SideNavItem.js +19 -1
- package/build/web/SideNavItemsGroup.js +1 -1
- package/build/web/Skeleton.js +1 -1
- package/build/web/SkipLink.js +13 -2
- package/build/web/Spinner.js +1 -1
- package/build/web/SplashButton.js +9 -2
- package/build/web/SplashButtonWithDetails.js +15 -3
- package/build/web/StackView.js +1 -1
- package/build/web/StepTracker.js +1 -1
- package/build/web/StoryCard.js +25 -2
- package/build/web/Table.js +1 -1
- package/build/web/Tabs.js +1 -1
- package/build/web/TabsItem.js +49 -1
- package/build/web/Tags.js +1 -1
- package/build/web/TagsItem.js +57 -1
- package/build/web/TermsAndConditions.js +56 -1
- package/build/web/Testimonial.js +1 -1
- package/build/web/TextArea.js +1 -1
- package/build/web/TextInput.js +30 -3
- package/build/web/Timeline.js +1 -1
- package/build/web/Toast.js +1 -1
- package/build/web/ToggleSwitch.js +63 -1
- package/build/web/ToggleSwitchGroup.js +1 -1
- package/build/web/Tooltip.js +1 -1
- package/build/web/TooltipButton.js +33 -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 +25 -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 +738 -673
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +1440 -34
- package/package.json +4 -4
- package/theme.json +59 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 07 Feb 2024 19:07:57 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -14,6 +14,23 @@ const theme = {
|
|
|
14
14
|
type: 'state',
|
|
15
15
|
values: [ true, false ]
|
|
16
16
|
},
|
|
17
|
+
focus: {
|
|
18
|
+
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.",
|
|
19
|
+
platforms: [ 'rn', 'web' ],
|
|
20
|
+
type: 'state',
|
|
21
|
+
values: [ true, false ]
|
|
22
|
+
},
|
|
23
|
+
hover: {
|
|
24
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
25
|
+
platforms: [ 'rn', 'web' ],
|
|
26
|
+
type: 'state',
|
|
27
|
+
values: [ true, false ]
|
|
28
|
+
},
|
|
29
|
+
pressed: {
|
|
30
|
+
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.',
|
|
31
|
+
type: 'state',
|
|
32
|
+
values: [ true, false ]
|
|
33
|
+
},
|
|
17
34
|
viewport: {
|
|
18
35
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
19
36
|
type: 'state',
|
|
@@ -32,6 +49,38 @@ const theme = {
|
|
|
32
49
|
{
|
|
33
50
|
if: { expanded: true },
|
|
34
51
|
tokens: { icon: PaletteIconChevronUp }
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
if: { hover: true },
|
|
55
|
+
tokens: {
|
|
56
|
+
iconBackgroundColor: '#000000',
|
|
57
|
+
iconColor: '#ffffff',
|
|
58
|
+
iconOuterBorderGap: 2
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
if: { pressed: true },
|
|
63
|
+
tokens: {
|
|
64
|
+
iconBackgroundColor: '#404040',
|
|
65
|
+
iconColor: '#ffffff',
|
|
66
|
+
iconOuterBorderGap: 2
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
if: { focus: true },
|
|
71
|
+
tokens: {
|
|
72
|
+
iconOuterBorderColor: '#000000',
|
|
73
|
+
iconOuterBorderGap: 2,
|
|
74
|
+
iconOuterBorderWidth: 1
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
if: { focus: true, pressed: true },
|
|
79
|
+
tokens: {
|
|
80
|
+
iconBackgroundColor: '#404040',
|
|
81
|
+
iconColor: '#404040',
|
|
82
|
+
iconOuterBorderGap: 2
|
|
83
|
+
}
|
|
35
84
|
}
|
|
36
85
|
],
|
|
37
86
|
tokens: {
|
|
@@ -65,6 +114,12 @@ const theme = {
|
|
|
65
114
|
expandTitlePaddingLeft: 0,
|
|
66
115
|
expandTitleUnderline: 'none',
|
|
67
116
|
icon: PaletteIconChevronDown,
|
|
117
|
+
iconBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
118
|
+
iconBorderColor: 'rgba(0, 0, 0, 0)',
|
|
119
|
+
iconColor: '#000000',
|
|
120
|
+
iconOuterBorderColor: 'rgba(0, 0, 0, 0)',
|
|
121
|
+
iconOuterBorderGap: 0,
|
|
122
|
+
iconOuterBorderWidth: 0,
|
|
68
123
|
listColor: '#000000',
|
|
69
124
|
listFontName: 'StagSans',
|
|
70
125
|
listFontSize: 14,
|
package/build/web/Testimonial.js
CHANGED
package/build/web/TextArea.js
CHANGED
package/build/web/TextInput.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 07 Feb 2024 19:07:57 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -21,6 +21,12 @@ const theme = {
|
|
|
21
21
|
type: 'state',
|
|
22
22
|
values: [ true ]
|
|
23
23
|
},
|
|
24
|
+
hover: {
|
|
25
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
26
|
+
platforms: [ 'rn', 'web' ],
|
|
27
|
+
type: 'state',
|
|
28
|
+
values: [ true, false ]
|
|
29
|
+
},
|
|
24
30
|
inactive: {
|
|
25
31
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
26
32
|
type: 'state',
|
|
@@ -44,7 +50,28 @@ const theme = {
|
|
|
44
50
|
},
|
|
45
51
|
rules: [
|
|
46
52
|
{
|
|
47
|
-
if: {
|
|
53
|
+
if: { hover: true, inactive: null },
|
|
54
|
+
tokens: { backgroundColor: '#efefef', borderColor: '#000000' }
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
if: { hover: true, validation: 'success' },
|
|
58
|
+
tokens: {
|
|
59
|
+
backgroundColor: '#efefef',
|
|
60
|
+
borderColor: '#000000',
|
|
61
|
+
icon: PaletteIconCheckCircleFilled,
|
|
62
|
+
iconColor: '#1c7b2b'
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
if: { hover: true, validation: 'error' },
|
|
67
|
+
tokens: {
|
|
68
|
+
backgroundColor: '#efefef',
|
|
69
|
+
borderColor: '#000000',
|
|
70
|
+
iconColor: '#c9370b'
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
if: { hover: false, validation: 'success' },
|
|
48
75
|
tokens: {
|
|
49
76
|
borderColor: '#1c7b2b',
|
|
50
77
|
icon: PaletteIconCheckCircleFilled,
|
|
@@ -52,7 +79,7 @@ const theme = {
|
|
|
52
79
|
}
|
|
53
80
|
},
|
|
54
81
|
{
|
|
55
|
-
if: { validation: 'error' },
|
|
82
|
+
if: { hover: false, validation: 'error' },
|
|
56
83
|
tokens: {
|
|
57
84
|
borderColor: '#c9370b',
|
|
58
85
|
icon: PaletteIconExclamationOctagon,
|
package/build/web/Timeline.js
CHANGED
package/build/web/Toast.js
CHANGED
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 07 Feb 2024 19:07:57 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import PaletteIconCheck from '@telus-uds/palette-koodo/build/rn/icons/Check'
|
|
9
9
|
const theme = {
|
|
10
10
|
appearances: {
|
|
11
|
+
focus: {
|
|
12
|
+
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.",
|
|
13
|
+
platforms: [ 'rn', 'web' ],
|
|
14
|
+
type: 'state',
|
|
15
|
+
values: [ true, false ]
|
|
16
|
+
},
|
|
17
|
+
hover: {
|
|
18
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
19
|
+
platforms: [ 'rn', 'web' ],
|
|
20
|
+
type: 'state',
|
|
21
|
+
values: [ true, false ]
|
|
22
|
+
},
|
|
11
23
|
inactive: {
|
|
12
24
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
13
25
|
type: 'state',
|
|
@@ -25,10 +37,24 @@ const theme = {
|
|
|
25
37
|
}
|
|
26
38
|
},
|
|
27
39
|
rules: [
|
|
40
|
+
{
|
|
41
|
+
if: { hover: true },
|
|
42
|
+
tokens: { backgroundColor: '#c9c8c8', switchColor: '#666666' }
|
|
43
|
+
},
|
|
28
44
|
{
|
|
29
45
|
if: { pressed: true },
|
|
30
46
|
tokens: { backgroundColor: '#c9c8c8', switchColor: '#595959' }
|
|
31
47
|
},
|
|
48
|
+
{
|
|
49
|
+
if: { focus: true },
|
|
50
|
+
tokens: {
|
|
51
|
+
backgroundColor: '#c9c8c8',
|
|
52
|
+
outerBorderColor: '#000000',
|
|
53
|
+
outerBorderGap: 3,
|
|
54
|
+
outerBorderWidth: 1,
|
|
55
|
+
switchColor: '#666666'
|
|
56
|
+
}
|
|
57
|
+
},
|
|
32
58
|
{
|
|
33
59
|
if: { selected: true },
|
|
34
60
|
tokens: {
|
|
@@ -39,10 +65,46 @@ const theme = {
|
|
|
39
65
|
switchColor: '#000000'
|
|
40
66
|
}
|
|
41
67
|
},
|
|
68
|
+
{
|
|
69
|
+
if: { hover: true, selected: true },
|
|
70
|
+
tokens: { backgroundColor: '#efefef', switchColor: '#404040' }
|
|
71
|
+
},
|
|
42
72
|
{
|
|
43
73
|
if: { pressed: true, selected: true },
|
|
44
74
|
tokens: { backgroundColor: '#c9c8c8', switchColor: '#666666' }
|
|
45
75
|
},
|
|
76
|
+
{
|
|
77
|
+
if: { focus: true, selected: true },
|
|
78
|
+
tokens: {
|
|
79
|
+
backgroundColor: '#efefef',
|
|
80
|
+
icon: PaletteIconCheck,
|
|
81
|
+
iconColor: '#ffffff',
|
|
82
|
+
outerBorderColor: '#000000',
|
|
83
|
+
outerBorderWidth: 1,
|
|
84
|
+
switchBorderColor: 'rgba(0, 0, 0, 0)',
|
|
85
|
+
switchColor: '#000000'
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
if: { focus: true, pressed: true },
|
|
90
|
+
tokens: {
|
|
91
|
+
outerBorderColor: '#000000',
|
|
92
|
+
outerBorderGap: 3,
|
|
93
|
+
outerBorderWidth: 1
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
if: { focus: true, pressed: true, selected: true },
|
|
98
|
+
tokens: {
|
|
99
|
+
backgroundColor: '#c9c8c8',
|
|
100
|
+
icon: PaletteIconCheck,
|
|
101
|
+
iconColor: '#ffffff',
|
|
102
|
+
outerBorderColor: '#000000',
|
|
103
|
+
outerBorderGap: 3,
|
|
104
|
+
outerBorderWidth: 1,
|
|
105
|
+
switchColor: '#666666'
|
|
106
|
+
}
|
|
107
|
+
},
|
|
46
108
|
{
|
|
47
109
|
if: { inactive: true },
|
|
48
110
|
tokens: {
|
package/build/web/Tooltip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 07 Feb 2024 19:07:57 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -9,6 +9,18 @@ import PaletteIconTooltip from '@telus-uds/palette-koodo/build/rn/icons/Tooltip'
|
|
|
9
9
|
import PaletteIconTooltipSymbol from '@telus-uds/palette-koodo/build/rn/icons/TooltipSymbol'
|
|
10
10
|
const theme = {
|
|
11
11
|
appearances: {
|
|
12
|
+
focus: {
|
|
13
|
+
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.",
|
|
14
|
+
platforms: [ 'rn', 'web' ],
|
|
15
|
+
type: 'state',
|
|
16
|
+
values: [ true, false ]
|
|
17
|
+
},
|
|
18
|
+
hover: {
|
|
19
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
20
|
+
platforms: [ 'rn', 'web' ],
|
|
21
|
+
type: 'state',
|
|
22
|
+
values: [ true, false ]
|
|
23
|
+
},
|
|
12
24
|
inverse: { type: 'variant', values: [ true ] },
|
|
13
25
|
pressed: {
|
|
14
26
|
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.',
|
|
@@ -17,10 +29,30 @@ const theme = {
|
|
|
17
29
|
}
|
|
18
30
|
},
|
|
19
31
|
rules: [
|
|
32
|
+
{
|
|
33
|
+
if: { hover: true },
|
|
34
|
+
tokens: {
|
|
35
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
36
|
+
iconColor: '#7a3dfc',
|
|
37
|
+
iconScale: 1.25
|
|
38
|
+
}
|
|
39
|
+
},
|
|
20
40
|
{
|
|
21
41
|
if: { inverse: true },
|
|
22
42
|
tokens: { backgroundColor: 'rgba(0, 0, 0, 0)', iconColor: '#ffffff' }
|
|
23
43
|
},
|
|
44
|
+
{
|
|
45
|
+
if: { hover: true, inverse: true },
|
|
46
|
+
tokens: { iconColor: '#ffffff' }
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
if: { focus: true, inverse: true },
|
|
50
|
+
tokens: { outerBorderColor: '#ffffff' }
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
if: { focus: true, inverse: null },
|
|
54
|
+
tokens: { outerBorderColor: '#000000' }
|
|
55
|
+
},
|
|
24
56
|
{
|
|
25
57
|
if: { inverse: true, pressed: true },
|
|
26
58
|
tokens: {
|
package/build/web/Typography.js
CHANGED
package/build/web/Video.js
CHANGED
package/build/web/VideoButton.js
CHANGED
package/build/web/VideoMenu.js
CHANGED
package/build/web/VideoPicker.js
CHANGED
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 07 Feb 2024 19:07:57 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
const theme = {
|
|
10
10
|
appearances: {
|
|
11
|
+
focus: {
|
|
12
|
+
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.",
|
|
13
|
+
platforms: [ 'rn', 'web' ],
|
|
14
|
+
type: 'state',
|
|
15
|
+
values: [ true, false ]
|
|
16
|
+
},
|
|
17
|
+
hover: {
|
|
18
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
19
|
+
platforms: [ 'rn', 'web' ],
|
|
20
|
+
type: 'state',
|
|
21
|
+
values: [ true, false ]
|
|
22
|
+
},
|
|
11
23
|
pressed: {
|
|
12
24
|
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.',
|
|
13
25
|
type: 'state',
|
|
@@ -20,6 +32,18 @@ const theme = {
|
|
|
20
32
|
}
|
|
21
33
|
},
|
|
22
34
|
rules: [
|
|
35
|
+
{
|
|
36
|
+
if: { focus: true },
|
|
37
|
+
tokens: {
|
|
38
|
+
borderColor: '#595959',
|
|
39
|
+
borderWidth: 1,
|
|
40
|
+
outerBorderColor: '#000000'
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
if: { hover: true },
|
|
45
|
+
tokens: { borderColor: '#c9c8c8', borderWidth: 3 }
|
|
46
|
+
},
|
|
23
47
|
{
|
|
24
48
|
if: { pressed: true },
|
|
25
49
|
tokens: {
|
package/build/web/WaffleGrid.js
CHANGED
package/build/web/index.js
CHANGED
|
@@ -107,5 +107,5 @@ export { default as VideoProgressBar } from './VideoProgressBar'
|
|
|
107
107
|
export { default as VideoVolumeSlider } from './VideoVolumeSlider'
|
|
108
108
|
export { default as WaffleGrid } from './WaffleGrid'
|
|
109
109
|
export { default as spacingScale } from './spacingScale'
|
|
110
|
-
export const metadata = { name: 'theme-koodo', themeTokensVersion: '2.50.
|
|
110
|
+
export const metadata = { name: 'theme-koodo', themeTokensVersion: '2.50.1'}
|
|
111
111
|
export { default } from './theme'
|