@telus-uds/theme-koodo 5.10.0 → 5.12.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/Feedback.json +1 -1
- package/build/android/Icon.json +148 -1
- package/build/android/Link.json +9 -1
- package/build/android/Notification.json +2 -2
- package/build/android/ProductCard.json +35 -0
- package/build/android/schema.json +814 -683
- package/build/android/theme.json +196 -6
- package/build/ios/Feedback.json +1 -1
- package/build/ios/Icon.json +148 -1
- package/build/ios/Link.json +9 -1
- package/build/ios/Notification.json +2 -2
- package/build/ios/ProductCard.json +35 -0
- package/build/ios/schema.json +814 -683
- package/build/ios/theme.json +196 -6
- 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 +1 -1
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +1 -1
- package/build/rn/Carousel.js +1 -1
- package/build/rn/CarouselTabsPanelItem.js +1 -1
- package/build/rn/CarouselThumbnail.js +1 -1
- package/build/rn/Checkbox.js +1 -1
- package/build/rn/CheckboxCard.js +1 -1
- package/build/rn/CheckboxCardGroup.js +1 -1
- package/build/rn/CheckboxGroup.js +1 -1
- package/build/rn/ChevronLink.js +1 -1
- package/build/rn/ColourToggle.js +1 -1
- package/build/rn/Countdown.js +1 -1
- package/build/rn/DatePicker.js +1 -1
- package/build/rn/Disclaimer.js +1 -1
- package/build/rn/Divider.js +1 -1
- package/build/rn/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 +3 -3
- 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 +1 -1
- package/build/rn/Icon.js +64 -2
- package/build/rn/IconButton.js +1 -1
- package/build/rn/Image.js +1 -1
- package/build/rn/InputLabel.js +1 -1
- package/build/rn/InputSupports.js +1 -1
- package/build/rn/Link.js +3 -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 +4 -4
- 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 +33 -0
- 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/StepTracker.js +1 -1
- package/build/rn/StoryCard.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 +814 -683
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +98 -9
- 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 +1 -1
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +1 -1
- package/build/web/Carousel.js +1 -1
- package/build/web/CarouselTabsPanelItem.js +1 -1
- package/build/web/CarouselThumbnail.js +1 -1
- package/build/web/Checkbox.js +1 -1
- package/build/web/CheckboxCard.js +1 -1
- package/build/web/CheckboxCardGroup.js +1 -1
- package/build/web/CheckboxGroup.js +1 -1
- package/build/web/ChevronLink.js +1 -1
- package/build/web/ColourToggle.js +1 -1
- package/build/web/Countdown.js +1 -1
- package/build/web/DatePicker.js +1 -1
- package/build/web/Disclaimer.js +1 -1
- package/build/web/Divider.js +1 -1
- package/build/web/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 +3 -3
- 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 +1 -1
- package/build/web/Icon.js +64 -2
- package/build/web/IconButton.js +1 -1
- package/build/web/Image.js +1 -1
- package/build/web/InputLabel.js +1 -1
- package/build/web/InputSupports.js +1 -1
- package/build/web/Link.js +3 -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 +4 -4
- 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 +33 -0
- 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/StepTracker.js +1 -1
- package/build/web/StoryCard.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 +2 -1
- package/build/web/schema.json +814 -683
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +98 -9
- package/package.json +4 -4
- package/theme.json +156 -5
package/build/web/Icon.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 24 Apr 2024 16:27:06 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
const theme = {
|
|
10
10
|
appearances: {
|
|
11
|
+
background: { type: 'variant', values: [ true ] },
|
|
11
12
|
color: {
|
|
12
13
|
type: 'variant',
|
|
13
14
|
values: [
|
|
@@ -17,6 +18,10 @@ const theme = {
|
|
|
17
18
|
'inverse'
|
|
18
19
|
]
|
|
19
20
|
},
|
|
21
|
+
padding: {
|
|
22
|
+
type: 'variant',
|
|
23
|
+
values: [ 'micro', 'small', 'medium', 'large', 'extraLarge' ]
|
|
24
|
+
},
|
|
20
25
|
size: {
|
|
21
26
|
type: 'variant',
|
|
22
27
|
values: [ 'micro', 'small', 'large', 'extraLarge' ]
|
|
@@ -28,6 +33,59 @@ const theme = {
|
|
|
28
33
|
}
|
|
29
34
|
},
|
|
30
35
|
rules: [
|
|
36
|
+
{ if: { padding: 'micro' }, tokens: { padding: 4, width: 4 } },
|
|
37
|
+
{ if: { padding: 'small' }, tokens: { padding: 4, width: 8 } },
|
|
38
|
+
{ if: { padding: 'medium' }, tokens: { padding: 4, width: 16 } },
|
|
39
|
+
{ if: { padding: 'large' }, tokens: { padding: 4, width: 24 } },
|
|
40
|
+
{
|
|
41
|
+
if: { padding: 'extraLarge' },
|
|
42
|
+
tokens: { padding: 4, width: 32 }
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
if: { background: true, padding: 'micro' },
|
|
46
|
+
tokens: {
|
|
47
|
+
backgroundColor: '#efefef',
|
|
48
|
+
borderRadius: 45,
|
|
49
|
+
padding: 4,
|
|
50
|
+
width: 4
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
if: { background: true, padding: 'small' },
|
|
55
|
+
tokens: {
|
|
56
|
+
backgroundColor: '#efefef',
|
|
57
|
+
borderRadius: 45,
|
|
58
|
+
padding: 4,
|
|
59
|
+
width: 8
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
if: { background: true, padding: 'medium' },
|
|
64
|
+
tokens: {
|
|
65
|
+
backgroundColor: '#efefef',
|
|
66
|
+
borderRadius: 45,
|
|
67
|
+
padding: 4,
|
|
68
|
+
width: 16
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
if: { background: true, padding: 'large' },
|
|
73
|
+
tokens: {
|
|
74
|
+
backgroundColor: '#efefef',
|
|
75
|
+
borderRadius: 45,
|
|
76
|
+
padding: 4,
|
|
77
|
+
width: 24
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
if: { background: true, padding: 'extraLarge' },
|
|
82
|
+
tokens: {
|
|
83
|
+
backgroundColor: '#efefef',
|
|
84
|
+
borderRadius: 45,
|
|
85
|
+
padding: 4,
|
|
86
|
+
width: 32
|
|
87
|
+
}
|
|
88
|
+
},
|
|
31
89
|
{ if: { size: 'micro' }, tokens: { size: 16 } },
|
|
32
90
|
{ if: { size: 'small' }, tokens: { size: 20 } },
|
|
33
91
|
{ if: { size: 'large' }, tokens: { size: 32 } },
|
|
@@ -43,11 +101,15 @@ const theme = {
|
|
|
43
101
|
{ if: { status: 'error' }, tokens: { color: '#c9370b' } }
|
|
44
102
|
],
|
|
45
103
|
tokens: {
|
|
104
|
+
backgroundColor: 'transparent',
|
|
105
|
+
borderRadius: 0,
|
|
46
106
|
color: '#000000',
|
|
107
|
+
padding: 0,
|
|
47
108
|
scale: 1,
|
|
48
109
|
size: 24,
|
|
49
110
|
translateX: 0,
|
|
50
|
-
translateY: 0
|
|
111
|
+
translateY: 0,
|
|
112
|
+
width: 0
|
|
51
113
|
}
|
|
52
114
|
}
|
|
53
115
|
export default theme
|
package/build/web/IconButton.js
CHANGED
package/build/web/Image.js
CHANGED
package/build/web/InputLabel.js
CHANGED
package/build/web/Link.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 24 Apr 2024 16:27:06 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -45,6 +45,7 @@ const theme = {
|
|
|
45
45
|
},
|
|
46
46
|
rules: [
|
|
47
47
|
{ if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
|
|
48
|
+
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
48
49
|
{
|
|
49
50
|
if: { focus: true },
|
|
50
51
|
tokens: {
|
|
@@ -145,7 +146,7 @@ const theme = {
|
|
|
145
146
|
color: '#000000',
|
|
146
147
|
icon: null,
|
|
147
148
|
iconSize: 16,
|
|
148
|
-
iconSpace:
|
|
149
|
+
iconSpace: 0,
|
|
149
150
|
iconTranslateX: 0,
|
|
150
151
|
iconTranslateY: 0,
|
|
151
152
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
package/build/web/List.js
CHANGED
package/build/web/Listbox.js
CHANGED
package/build/web/Modal.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 24 Apr 2024 16:27:06 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import PaletteIconClose from '@telus-uds/palette-koodo/build/rn/icons/Close'
|
|
9
9
|
import PaletteIconCheckCircleFilled from '@telus-uds/palette-koodo/build/rn/icons/CheckCircleFilled'
|
|
10
10
|
import PaletteIconExclamationTriangle from '@telus-uds/palette-koodo/build/rn/icons/ExclamationTriangle'
|
|
11
|
-
import
|
|
11
|
+
import PaletteIconExclamationOctagon from '@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon'
|
|
12
12
|
const theme = {
|
|
13
13
|
appearances: {
|
|
14
14
|
style: {
|
|
@@ -124,7 +124,7 @@ const theme = {
|
|
|
124
124
|
borderColor: '#c9370b',
|
|
125
125
|
color: '#000000',
|
|
126
126
|
dismissIcon: null,
|
|
127
|
-
icon:
|
|
127
|
+
icon: PaletteIconExclamationOctagon,
|
|
128
128
|
iconColor: '#c9370b'
|
|
129
129
|
}
|
|
130
130
|
},
|
|
@@ -135,7 +135,7 @@ const theme = {
|
|
|
135
135
|
borderColor: '#c9370b',
|
|
136
136
|
color: '#000000',
|
|
137
137
|
dismissIcon: null,
|
|
138
|
-
icon:
|
|
138
|
+
icon: PaletteIconExclamationOctagon,
|
|
139
139
|
iconColor: '#c9370b'
|
|
140
140
|
}
|
|
141
141
|
}
|
package/build/web/OrderedList.js
CHANGED
package/build/web/Pagination.js
CHANGED
package/build/web/PreviewCard.js
CHANGED
package/build/web/PriceLockup.js
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Wed, 24 Apr 2024 16:27:06 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import PaletteIconCheck from '@telus-uds/palette-koodo/build/rn/icons/Check'
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: {
|
|
11
|
+
viewport: {
|
|
12
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
13
|
+
type: 'state',
|
|
14
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
rules: [
|
|
18
|
+
{
|
|
19
|
+
if: { viewport: [ 'xs', 'sm', 'md' ] },
|
|
20
|
+
tokens: { borderWidth: 0, paddingHorizontal: 24, paddingVertical: 0 }
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
tokens: {
|
|
24
|
+
borderColor: '#efefef',
|
|
25
|
+
borderRadius: 6,
|
|
26
|
+
borderStyle: 'solid',
|
|
27
|
+
borderWidth: 1,
|
|
28
|
+
paddingHorizontal: 24,
|
|
29
|
+
paddingVertical: 24,
|
|
30
|
+
selectedButtonIcon: PaletteIconCheck
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export default theme
|
package/build/web/Progress.js
CHANGED
package/build/web/ProgressBar.js
CHANGED
package/build/web/QuickLinks.js
CHANGED
package/build/web/Radio.js
CHANGED
package/build/web/RadioCard.js
CHANGED
package/build/web/RadioGroup.js
CHANGED
package/build/web/Ribbon.js
CHANGED
package/build/web/Search.js
CHANGED
package/build/web/Select.js
CHANGED
package/build/web/SideNav.js
CHANGED
package/build/web/SideNavItem.js
CHANGED
package/build/web/Skeleton.js
CHANGED
package/build/web/SkipLink.js
CHANGED
package/build/web/Spinner.js
CHANGED
package/build/web/StackView.js
CHANGED
package/build/web/StepTracker.js
CHANGED
package/build/web/StoryCard.js
CHANGED