@telus-uds/theme-koodo 7.19.0 → 7.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/Button.json +4 -4
- package/build/android/Card.json +4 -0
- package/build/android/CheckboxCard.json +4 -0
- package/build/android/IconButton.json +320 -73
- package/build/android/Listbox.json +62 -0
- package/build/android/RadioCard.json +4 -0
- package/build/android/Shortcuts.json +44 -0
- package/build/android/ShortcutsItem.json +77 -0
- package/build/android/schema.json +1437 -797
- package/build/android/theme.json +520 -78
- package/build/ios/Button.json +4 -4
- package/build/ios/Card.json +4 -0
- package/build/ios/CheckboxCard.json +4 -0
- package/build/ios/IconButton.json +320 -73
- package/build/ios/Listbox.json +62 -0
- package/build/ios/RadioCard.json +4 -0
- package/build/ios/Shortcuts.json +44 -0
- package/build/ios/ShortcutsItem.json +77 -0
- package/build/ios/schema.json +1437 -797
- package/build/ios/theme.json +520 -78
- package/build/rn/ActionCard.js +1 -1
- package/build/rn/ActivityIndicator.js +1 -1
- package/build/rn/Autocomplete.js +1 -1
- package/build/rn/Badge.js +1 -1
- package/build/rn/BlockQuote.js +1 -1
- package/build/rn/Box.js +1 -1
- package/build/rn/Breadcrumbs.js +1 -1
- package/build/rn/Button.js +2 -2
- package/build/rn/ButtonDropdown.js +1 -1
- package/build/rn/ButtonGroup.js +1 -1
- package/build/rn/ButtonGroupItem.js +1 -1
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +5 -1
- package/build/rn/CardGroup.js +1 -1
- package/build/rn/Carousel.js +1 -1
- package/build/rn/CarouselTabsPanelItem.js +1 -1
- package/build/rn/CarouselThumbnail.js +1 -1
- package/build/rn/Checkbox.js +1 -1
- package/build/rn/CheckboxCard.js +5 -1
- package/build/rn/CheckboxCardGroup.js +1 -1
- package/build/rn/CheckboxGroup.js +1 -1
- package/build/rn/ChevronLink.js +1 -1
- package/build/rn/ColourToggle.js +1 -1
- package/build/rn/Countdown.js +1 -1
- package/build/rn/DatePicker.js +1 -1
- package/build/rn/Disclaimer.js +1 -1
- package/build/rn/Divider.js +1 -1
- package/build/rn/DownloadApp.js +1 -1
- package/build/rn/ExpandCollapse.js +1 -1
- package/build/rn/ExpandCollapseControl.js +1 -1
- package/build/rn/ExpandCollapseMini.js +1 -1
- package/build/rn/ExpandCollapseMiniControl.js +1 -1
- package/build/rn/ExpandCollapsePanel.js +1 -1
- package/build/rn/Feedback.js +1 -1
- package/build/rn/Fieldset.js +1 -1
- package/build/rn/FileUpload.js +1 -1
- package/build/rn/Footnote.js +1 -1
- package/build/rn/FootnoteLink.js +1 -1
- package/build/rn/HorizontalScrollButton.js +1 -1
- package/build/rn/Icon.js +1 -1
- package/build/rn/IconButton.js +219 -56
- package/build/rn/Image.js +1 -1
- package/build/rn/InputLabel.js +1 -1
- package/build/rn/InputSupports.js +1 -1
- package/build/rn/Link.js +1 -1
- package/build/rn/List.js +1 -1
- package/build/rn/Listbox.js +39 -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 +5 -1
- package/build/rn/RadioCardGroup.js +1 -1
- package/build/rn/RadioGroup.js +1 -1
- package/build/rn/Ribbon.js +1 -1
- package/build/rn/Search.js +1 -1
- package/build/rn/SearchButton.js +1 -1
- package/build/rn/Select.js +1 -1
- package/build/rn/Shortcuts.js +33 -0
- package/build/rn/ShortcutsItem.js +68 -0
- package/build/rn/SideNav.js +1 -1
- package/build/rn/SideNavItem.js +1 -1
- package/build/rn/SideNavItemsGroup.js +1 -1
- package/build/rn/Skeleton.js +1 -1
- package/build/rn/SkipLink.js +1 -1
- package/build/rn/Spinner.js +1 -1
- package/build/rn/SplashButton.js +1 -1
- package/build/rn/SplashButtonWithDetails.js +1 -1
- package/build/rn/StackView.js +1 -1
- package/build/rn/Status.js +1 -1
- package/build/rn/StepTracker.js +1 -1
- package/build/rn/StoryCard.js +1 -1
- package/build/rn/TabBar.js +1 -1
- package/build/rn/TabBarItem.js +1 -1
- package/build/rn/Table.js +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 +1437 -797
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +350 -65
- package/build/web/ActionCard.js +1 -1
- package/build/web/ActivityIndicator.js +1 -1
- package/build/web/Autocomplete.js +1 -1
- package/build/web/Badge.js +1 -1
- package/build/web/BlockQuote.js +1 -1
- package/build/web/Box.js +1 -1
- package/build/web/Breadcrumbs.js +1 -1
- package/build/web/Button.js +2 -2
- package/build/web/ButtonDropdown.js +1 -1
- package/build/web/ButtonGroup.js +1 -1
- package/build/web/ButtonGroupItem.js +1 -1
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +5 -1
- package/build/web/CardGroup.js +1 -1
- package/build/web/Carousel.js +1 -1
- package/build/web/CarouselTabsPanelItem.js +1 -1
- package/build/web/CarouselThumbnail.js +1 -1
- package/build/web/Checkbox.js +1 -1
- package/build/web/CheckboxCard.js +5 -1
- package/build/web/CheckboxCardGroup.js +1 -1
- package/build/web/CheckboxGroup.js +1 -1
- package/build/web/ChevronLink.js +1 -1
- package/build/web/ColourToggle.js +1 -1
- package/build/web/Countdown.js +1 -1
- package/build/web/DatePicker.js +1 -1
- package/build/web/Disclaimer.js +1 -1
- package/build/web/Divider.js +1 -1
- package/build/web/DownloadApp.js +1 -1
- package/build/web/ExpandCollapse.js +1 -1
- package/build/web/ExpandCollapseControl.js +1 -1
- package/build/web/ExpandCollapseMini.js +1 -1
- package/build/web/ExpandCollapseMiniControl.js +1 -1
- package/build/web/ExpandCollapsePanel.js +1 -1
- package/build/web/Feedback.js +1 -1
- package/build/web/Fieldset.js +1 -1
- package/build/web/FileUpload.js +1 -1
- package/build/web/Footnote.js +1 -1
- package/build/web/FootnoteLink.js +1 -1
- package/build/web/HorizontalScrollButton.js +1 -1
- package/build/web/Icon.js +1 -1
- package/build/web/IconButton.js +219 -56
- package/build/web/Image.js +1 -1
- package/build/web/InputLabel.js +1 -1
- package/build/web/InputSupports.js +1 -1
- package/build/web/Link.js +1 -1
- package/build/web/List.js +1 -1
- package/build/web/Listbox.js +39 -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 +5 -1
- package/build/web/RadioCardGroup.js +1 -1
- package/build/web/RadioGroup.js +1 -1
- package/build/web/Ribbon.js +1 -1
- package/build/web/Search.js +1 -1
- package/build/web/SearchButton.js +1 -1
- package/build/web/Select.js +1 -1
- package/build/web/Shortcuts.js +33 -0
- package/build/web/ShortcutsItem.js +68 -0
- package/build/web/SideNav.js +1 -1
- package/build/web/SideNavItem.js +1 -1
- package/build/web/SideNavItemsGroup.js +1 -1
- package/build/web/Skeleton.js +1 -1
- package/build/web/SkipLink.js +1 -1
- package/build/web/Spinner.js +1 -1
- package/build/web/SplashButton.js +1 -1
- package/build/web/SplashButtonWithDetails.js +1 -1
- package/build/web/StackView.js +1 -1
- package/build/web/Status.js +1 -1
- package/build/web/StepTracker.js +1 -1
- package/build/web/StoryCard.js +1 -1
- package/build/web/TabBar.js +1 -1
- package/build/web/TabBarItem.js +1 -1
- package/build/web/Table.js +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 +3 -1
- package/build/web/schema.json +1437 -797
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +350 -65
- package/package.json +4 -4
- package/theme.json +371 -68
package/build/web/IconButton.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Mon, 12 Jan 2026 14:53:37 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -17,17 +17,19 @@ import PaletteIconChevronLeft from '@telus-uds/palette-koodo/build/rn/icons/Chev
|
|
|
17
17
|
import PaletteIconChevronRight from '@telus-uds/palette-koodo/build/rn/icons/ChevronRight'
|
|
18
18
|
import PaletteIconChevronUp from '@telus-uds/palette-koodo/build/rn/icons/ChevronUp'
|
|
19
19
|
import PaletteIconPlayVideo from '@telus-uds/palette-koodo/build/rn/icons/PlayVideo'
|
|
20
|
+
import PaletteIconEyeUnmasked from '@telus-uds/palette-koodo/build/rn/icons/EyeUnmasked'
|
|
20
21
|
const theme = {
|
|
21
22
|
appearances: {
|
|
22
23
|
action: {
|
|
23
24
|
type: 'variant',
|
|
24
25
|
values: [
|
|
25
|
-
'add',
|
|
26
|
-
'expand',
|
|
27
|
-
'moveLeft',
|
|
28
|
-
'moveUp',
|
|
29
|
-
'subtract',
|
|
30
|
-
'cart',
|
|
26
|
+
'add', 'close',
|
|
27
|
+
'expand', 'moveDown',
|
|
28
|
+
'moveLeft', 'moveRight',
|
|
29
|
+
'moveUp', 'play',
|
|
30
|
+
'subtract', 'menu',
|
|
31
|
+
'cart', 'profile',
|
|
32
|
+
'visibility'
|
|
31
33
|
]
|
|
32
34
|
},
|
|
33
35
|
compact: {
|
|
@@ -35,6 +37,11 @@ const theme = {
|
|
|
35
37
|
type: 'variant',
|
|
36
38
|
values: [ true ]
|
|
37
39
|
},
|
|
40
|
+
contained: {
|
|
41
|
+
description: 'Filled background',
|
|
42
|
+
type: 'variant',
|
|
43
|
+
values: [ true ]
|
|
44
|
+
},
|
|
38
45
|
focus: {
|
|
39
46
|
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.",
|
|
40
47
|
platforms: [ 'rn', 'web' ],
|
|
@@ -72,6 +79,11 @@ const theme = {
|
|
|
72
79
|
type: 'variant',
|
|
73
80
|
values: [ true ]
|
|
74
81
|
},
|
|
82
|
+
selected: {
|
|
83
|
+
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
84
|
+
type: 'state',
|
|
85
|
+
values: [ true ]
|
|
86
|
+
},
|
|
75
87
|
size: { type: 'variant', values: [ 'small', 'large' ] }
|
|
76
88
|
},
|
|
77
89
|
rules: [
|
|
@@ -136,32 +148,86 @@ const theme = {
|
|
|
136
148
|
tokens: { icon: PaletteIconPlayVideo }
|
|
137
149
|
},
|
|
138
150
|
{
|
|
139
|
-
if: {
|
|
151
|
+
if: { action: 'visibility' },
|
|
152
|
+
tokens: { icon: PaletteIconEyeUnmasked }
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
if: { contained: true },
|
|
140
156
|
tokens: {
|
|
141
|
-
backgroundColor: '
|
|
142
|
-
borderColor: '
|
|
157
|
+
backgroundColor: '#ffffff',
|
|
158
|
+
borderColor: '#000000',
|
|
159
|
+
borderWidth: 1
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
if: { raised: true },
|
|
164
|
+
tokens: {
|
|
165
|
+
backgroundColor: 'transparent',
|
|
166
|
+
borderColor: '#000000',
|
|
167
|
+
borderRadius: 4,
|
|
168
|
+
borderWidth: 1,
|
|
169
|
+
iconColor: '#000000',
|
|
170
|
+
padding: 8,
|
|
171
|
+
shadow: {
|
|
172
|
+
blur: 2,
|
|
173
|
+
color: 'rgba(0, 0, 0, 0.2)',
|
|
174
|
+
inset: false,
|
|
175
|
+
offsetX: 0,
|
|
176
|
+
offsetY: 2,
|
|
177
|
+
spread: 0
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
{ if: { inverse: true }, tokens: { iconColor: '#ffffff' } },
|
|
182
|
+
{
|
|
183
|
+
if: { contained: true, inverse: true },
|
|
184
|
+
tokens: {
|
|
185
|
+
backgroundColor: 'transparent',
|
|
186
|
+
borderColor: '#ffffff',
|
|
187
|
+
borderWidth: 1,
|
|
143
188
|
iconColor: '#ffffff'
|
|
144
189
|
}
|
|
145
190
|
},
|
|
146
191
|
{
|
|
147
192
|
if: { hover: true },
|
|
193
|
+
tokens: { backgroundColor: 'rgba(0, 0, 0, 0.1)', borderWidth: null }
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
if: { focus: true },
|
|
148
197
|
tokens: {
|
|
149
|
-
backgroundColor: '
|
|
150
|
-
|
|
151
|
-
|
|
198
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
199
|
+
borderColor: '#000000',
|
|
200
|
+
borderWidth: 1
|
|
152
201
|
}
|
|
153
202
|
},
|
|
154
203
|
{
|
|
155
|
-
if: {
|
|
156
|
-
tokens: {
|
|
204
|
+
if: { pressed: true },
|
|
205
|
+
tokens: {
|
|
206
|
+
backgroundColor: 'rgba(0, 0, 0, 0.2)',
|
|
207
|
+
borderWidth: null,
|
|
208
|
+
iconColor: '#666666'
|
|
209
|
+
}
|
|
157
210
|
},
|
|
158
211
|
{
|
|
159
|
-
if: {
|
|
212
|
+
if: { selected: true },
|
|
160
213
|
tokens: {
|
|
161
|
-
backgroundColor: '
|
|
214
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
215
|
+
borderBottomWidth: 2,
|
|
162
216
|
borderColor: '#000000',
|
|
163
|
-
|
|
164
|
-
|
|
217
|
+
borderLeftWidth: null,
|
|
218
|
+
borderRadius: 0,
|
|
219
|
+
borderRightWidth: null,
|
|
220
|
+
borderTopWidth: null,
|
|
221
|
+
borderWidth: null,
|
|
222
|
+
iconColor: '#000000'
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
if: { hover: true, inverse: true },
|
|
227
|
+
tokens: {
|
|
228
|
+
backgroundColor: '#ffffff',
|
|
229
|
+
borderWidth: null,
|
|
230
|
+
iconColor: '#000000'
|
|
165
231
|
}
|
|
166
232
|
},
|
|
167
233
|
{
|
|
@@ -169,46 +235,111 @@ const theme = {
|
|
|
169
235
|
tokens: {
|
|
170
236
|
backgroundColor: 'transparent',
|
|
171
237
|
borderColor: '#ffffff',
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
outerBorderWidth: 0
|
|
238
|
+
borderWidth: 1,
|
|
239
|
+
iconColor: '#ffffff'
|
|
175
240
|
}
|
|
176
241
|
},
|
|
177
|
-
{ if: { password: true }, tokens: { borderColor: 'transparent' } },
|
|
178
242
|
{
|
|
179
|
-
if: {
|
|
180
|
-
tokens: {
|
|
243
|
+
if: { inverse: true, pressed: true },
|
|
244
|
+
tokens: {
|
|
245
|
+
backgroundColor: '#c9c8c8',
|
|
246
|
+
borderWidth: null,
|
|
247
|
+
iconColor: '#000000'
|
|
248
|
+
}
|
|
181
249
|
},
|
|
182
250
|
{
|
|
183
|
-
if: {
|
|
184
|
-
tokens: {
|
|
251
|
+
if: { inverse: true, selected: true },
|
|
252
|
+
tokens: {
|
|
253
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
254
|
+
borderBottomWidth: 2,
|
|
255
|
+
borderColor: '#ffffff',
|
|
256
|
+
borderLeftWidth: null,
|
|
257
|
+
borderRadius: 0,
|
|
258
|
+
borderRightWidth: null,
|
|
259
|
+
borderTopWidth: null,
|
|
260
|
+
borderWidth: null,
|
|
261
|
+
iconColor: '#ffffff'
|
|
262
|
+
}
|
|
185
263
|
},
|
|
186
264
|
{
|
|
187
|
-
if: {
|
|
265
|
+
if: { contained: true, hover: true },
|
|
188
266
|
tokens: {
|
|
189
|
-
backgroundColor: '
|
|
190
|
-
borderColor: '#
|
|
191
|
-
|
|
192
|
-
|
|
267
|
+
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
|
268
|
+
borderColor: '#000000',
|
|
269
|
+
borderWidth: 1,
|
|
270
|
+
iconColor: '#000000'
|
|
193
271
|
}
|
|
194
272
|
},
|
|
195
273
|
{
|
|
196
|
-
if: {
|
|
274
|
+
if: { contained: true, focus: true },
|
|
197
275
|
tokens: {
|
|
198
|
-
backgroundColor: '#
|
|
276
|
+
backgroundColor: '#ffffff',
|
|
199
277
|
borderColor: '#000000',
|
|
200
|
-
|
|
201
|
-
|
|
278
|
+
borderWidth: 3,
|
|
279
|
+
iconColor: '#000000'
|
|
202
280
|
}
|
|
203
281
|
},
|
|
204
|
-
{ if: { size: 'large' }, tokens: { iconSize: 24, padding: 12 } },
|
|
205
|
-
{ if: { size: 'small' }, tokens: { iconSize: 16, padding: 4 } },
|
|
206
282
|
{
|
|
207
|
-
|
|
208
|
-
|
|
283
|
+
if: { contained: true, pressed: true },
|
|
284
|
+
tokens: {
|
|
285
|
+
backgroundColor: 'rgba(0, 0, 0, 0.2)',
|
|
286
|
+
borderColor: '#000000',
|
|
287
|
+
borderWidth: 1,
|
|
288
|
+
iconColor: '#666666'
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
if: { contained: true, selected: true },
|
|
209
293
|
tokens: {
|
|
210
294
|
backgroundColor: '#ffffff',
|
|
295
|
+
borderBottomWidth: null,
|
|
211
296
|
borderColor: '#000000',
|
|
297
|
+
borderRadius: 4,
|
|
298
|
+
borderWidth: 1,
|
|
299
|
+
iconColor: '#000000'
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
if: { contained: true, hover: true, inverse: true },
|
|
304
|
+
tokens: {
|
|
305
|
+
backgroundColor: 'rgba(255, 255, 255, 0.2)',
|
|
306
|
+
borderColor: '#ffffff',
|
|
307
|
+
borderWidth: 1,
|
|
308
|
+
iconColor: '#ffffff'
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
if: { contained: true, focus: true, inverse: true },
|
|
313
|
+
tokens: {
|
|
314
|
+
backgroundColor: 'transparent',
|
|
315
|
+
borderColor: '#ffffff',
|
|
316
|
+
borderWidth: 3,
|
|
317
|
+
iconColor: '#ffffff'
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
if: { contained: true, inverse: true, pressed: true },
|
|
322
|
+
tokens: {
|
|
323
|
+
backgroundColor: 'rgba(255, 255, 255, 0.4)',
|
|
324
|
+
borderColor: '#ffffff',
|
|
325
|
+
borderWidth: 1,
|
|
326
|
+
iconColor: '#ffffff'
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
if: { contained: true, inverse: true, selected: true },
|
|
331
|
+
tokens: {
|
|
332
|
+
backgroundColor: '#ffffff',
|
|
333
|
+
borderWidth: null,
|
|
334
|
+
iconColor: '#000000'
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
if: { hover: true, raised: true },
|
|
339
|
+
tokens: {
|
|
340
|
+
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
|
341
|
+
borderColor: '#000000',
|
|
342
|
+
borderWidth: 1,
|
|
212
343
|
shadow: {
|
|
213
344
|
blur: 2,
|
|
214
345
|
color: 'rgba(0, 0, 0, 0.2)',
|
|
@@ -220,42 +351,74 @@ const theme = {
|
|
|
220
351
|
}
|
|
221
352
|
},
|
|
222
353
|
{
|
|
223
|
-
if: {
|
|
224
|
-
tokens: {
|
|
354
|
+
if: { focus: true, raised: true },
|
|
355
|
+
tokens: { borderColor: '#000000', borderWidth: 3, iconColor: '#000000' }
|
|
225
356
|
},
|
|
226
357
|
{
|
|
227
|
-
if: {
|
|
228
|
-
tokens: {
|
|
358
|
+
if: { pressed: true, raised: true },
|
|
359
|
+
tokens: {
|
|
360
|
+
backgroundColor: '#c9c8c8',
|
|
361
|
+
borderColor: '#000000',
|
|
362
|
+
borderWidth: 1,
|
|
363
|
+
iconColor: '#000000'
|
|
364
|
+
}
|
|
229
365
|
},
|
|
230
|
-
{ if: { raised: true, size: 'small' }, tokens: { padding: 8 } },
|
|
231
|
-
{ if: { focus: true, raised: true }, tokens: { borderWidth: 3 } },
|
|
232
366
|
{
|
|
233
|
-
if: {
|
|
367
|
+
if: { raised: true, selected: true },
|
|
234
368
|
tokens: {
|
|
235
|
-
backgroundColor: '#
|
|
236
|
-
|
|
237
|
-
|
|
369
|
+
backgroundColor: '#ffffff',
|
|
370
|
+
borderBottomWidth: null,
|
|
371
|
+
borderColor: '#000000',
|
|
372
|
+
borderRadius: 4,
|
|
373
|
+
borderWidth: 1,
|
|
374
|
+
iconColor: '#000000',
|
|
375
|
+
shadow: {
|
|
376
|
+
blur: 2,
|
|
377
|
+
color: 'rgba(0, 0, 0, 0.2)',
|
|
378
|
+
inset: false,
|
|
379
|
+
offsetX: 0,
|
|
380
|
+
offsetY: 2,
|
|
381
|
+
spread: 0
|
|
382
|
+
}
|
|
238
383
|
}
|
|
239
384
|
},
|
|
240
|
-
{ if: { compact: true }, tokens: { outerBorderGap: 0 } },
|
|
241
385
|
{
|
|
242
386
|
if: { inactive: true },
|
|
243
387
|
tokens: {
|
|
244
388
|
backgroundColor: '#efefef',
|
|
389
|
+
borderWidth: 0,
|
|
245
390
|
iconColor: '#c9c8c8',
|
|
246
|
-
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
247
|
-
outerBorderWidth: 0
|
|
391
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
248
392
|
}
|
|
249
|
-
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
if: { inactive: true, inverse: true },
|
|
396
|
+
tokens: {
|
|
397
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
398
|
+
borderWidth: 0,
|
|
399
|
+
iconColor: 'rgba(255, 255, 255, 0.4)',
|
|
400
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
if: { contained: true, inactive: true, inverse: true },
|
|
405
|
+
tokens: {
|
|
406
|
+
backgroundColor: 'rgba(255, 255, 255, 0.2)',
|
|
407
|
+
borderWidth: 0,
|
|
408
|
+
iconColor: 'rgba(255, 255, 255, 0.4)',
|
|
409
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
{ if: { size: 'large' }, tokens: { iconSize: 24, padding: 10 } }
|
|
250
413
|
],
|
|
251
414
|
tokens: {
|
|
252
|
-
backgroundColor: '
|
|
415
|
+
backgroundColor: 'transparent',
|
|
253
416
|
borderBottomLeftRadius: null,
|
|
254
417
|
borderBottomRightRadius: null,
|
|
255
418
|
borderBottomWidth: null,
|
|
256
419
|
borderColor: 'transparent',
|
|
257
420
|
borderLeftWidth: null,
|
|
258
|
-
borderRadius:
|
|
421
|
+
borderRadius: 4,
|
|
259
422
|
borderRightWidth: null,
|
|
260
423
|
borderTopLeftRadius: null,
|
|
261
424
|
borderTopRightRadius: null,
|
package/build/web/Image.js
CHANGED
package/build/web/InputLabel.js
CHANGED
package/build/web/Link.js
CHANGED
package/build/web/List.js
CHANGED
package/build/web/Listbox.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Mon, 12 Jan 2026 14:53:37 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import PaletteIconChevronDown from '@telus-uds/palette-koodo/build/rn/icons/ChevronDown'
|
|
9
|
+
import PaletteIconChevronLeft from '@telus-uds/palette-koodo/build/rn/icons/ChevronLeft'
|
|
10
|
+
import PaletteIconClose from '@telus-uds/palette-koodo/build/rn/icons/Close'
|
|
11
|
+
import PaletteIconChevronRight from '@telus-uds/palette-koodo/build/rn/icons/ChevronRight'
|
|
9
12
|
import PaletteIconChevronUp from '@telus-uds/palette-koodo/build/rn/icons/ChevronUp'
|
|
10
13
|
const theme = {
|
|
11
14
|
appearances: {
|
|
@@ -41,6 +44,7 @@ const theme = {
|
|
|
41
44
|
type: 'state',
|
|
42
45
|
values: [ true, false ]
|
|
43
46
|
},
|
|
47
|
+
secondLevel: { type: 'variant', values: [ true ] },
|
|
44
48
|
style: { type: 'variant', values: [ 'default', 'lightest', 'light' ] }
|
|
45
49
|
},
|
|
46
50
|
rules: [
|
|
@@ -156,9 +160,24 @@ const theme = {
|
|
|
156
160
|
itemFontName: 'StagSans',
|
|
157
161
|
itemFontWeight: '600'
|
|
158
162
|
}
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
if: { secondLevel: true },
|
|
166
|
+
tokens: {
|
|
167
|
+
groupIcon: PaletteIconChevronRight,
|
|
168
|
+
secondLevelParentIcon: PaletteIconChevronRight
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
if: { secondLevel: true },
|
|
173
|
+
tokens: {
|
|
174
|
+
groupIcon: PaletteIconChevronRight,
|
|
175
|
+
secondLevelParentIcon: PaletteIconChevronRight
|
|
176
|
+
}
|
|
159
177
|
}
|
|
160
178
|
],
|
|
161
179
|
tokens: {
|
|
180
|
+
borderRadius: 4,
|
|
162
181
|
containerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
163
182
|
groupBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
164
183
|
groupBorderBottomColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -206,6 +225,25 @@ const theme = {
|
|
|
206
225
|
lineHeight: 1.5,
|
|
207
226
|
minHeight: '100%',
|
|
208
227
|
minWidth: '100%',
|
|
228
|
+
secondLevelBackIcon: PaletteIconChevronLeft,
|
|
229
|
+
secondLevelBackIconColor: '#000000',
|
|
230
|
+
secondLevelBackIconSize: 16,
|
|
231
|
+
secondLevelBackLinkColor: '#000000',
|
|
232
|
+
secondLevelBackLinkFontName: 'StagSans',
|
|
233
|
+
secondLevelBackLinkFontSize: 16,
|
|
234
|
+
secondLevelBackLinkFontWeight: '600',
|
|
235
|
+
secondLevelCloseButtonBorderWidth: 0,
|
|
236
|
+
secondLevelCloseButtonPadding: 8,
|
|
237
|
+
secondLevelCloseIcon: PaletteIconClose,
|
|
238
|
+
secondLevelCloseIconSize: 16,
|
|
239
|
+
secondLevelDividerColor: '#c9c8c8',
|
|
240
|
+
secondLevelDividerWidth: 1,
|
|
241
|
+
secondLevelHeaderBackgroundColor: '#ffffff',
|
|
242
|
+
secondLevelHeaderPaddingBottom: 4,
|
|
243
|
+
secondLevelHeaderPaddingLeft: 16,
|
|
244
|
+
secondLevelHeaderPaddingRight: 16,
|
|
245
|
+
secondLevelHeaderPaddingTop: 4,
|
|
246
|
+
secondLevelParentIcon: PaletteIconChevronRight,
|
|
209
247
|
shadow: {
|
|
210
248
|
blur: 2,
|
|
211
249
|
color: 'rgba(0, 0, 0, 0.2)',
|
package/build/web/Modal.js
CHANGED
package/build/web/OrderedList.js
CHANGED
package/build/web/Pagination.js
CHANGED
package/build/web/PreviewCard.js
CHANGED
package/build/web/PriceLockup.js
CHANGED
package/build/web/ProductCard.js
CHANGED
package/build/web/Progress.js
CHANGED
package/build/web/ProgressBar.js
CHANGED
package/build/web/QuickLinks.js
CHANGED