@telus-uds/theme-public-mobile 4.22.0 → 5.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/android/Card.json +0 -108
- package/build/android/CarouselThumbnail.json +1 -0
- package/build/android/ChevronLink.json +0 -62
- package/build/android/ExpandCollapseMiniControl.json +10 -16
- package/build/android/Link.json +0 -91
- package/build/android/ProgressBar.json +0 -35
- package/build/android/Ribbon.json +5 -21
- package/build/android/schema.json +797 -791
- package/build/android/theme.json +17 -341
- package/build/ios/Card.json +0 -108
- package/build/ios/CarouselThumbnail.json +1 -0
- package/build/ios/ChevronLink.json +0 -62
- package/build/ios/ExpandCollapseMiniControl.json +10 -16
- package/build/ios/Link.json +0 -91
- package/build/ios/ProgressBar.json +0 -35
- package/build/ios/Ribbon.json +5 -21
- package/build/ios/schema.json +797 -791
- package/build/ios/theme.json +17 -341
- package/build/rn/ActionCard.js +1 -1
- package/build/rn/ActivityIndicator.js +1 -1
- package/build/rn/Autocomplete.js +1 -1
- package/build/rn/Badge.js +1 -1
- package/build/rn/BlockQuote.js +1 -1
- package/build/rn/Box.js +1 -1
- package/build/rn/Breadcrumbs.js +1 -1
- package/build/rn/Button.js +1 -1
- package/build/rn/ButtonDropdown.js +1 -1
- package/build/rn/ButtonGroup.js +1 -1
- package/build/rn/ButtonGroupItem.js +1 -1
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +1 -29
- package/build/rn/CardGroup.js +1 -1
- package/build/rn/Carousel.js +1 -1
- package/build/rn/CarouselTabsPanelItem.js +1 -1
- package/build/rn/CarouselThumbnail.js +3 -2
- package/build/rn/Checkbox.js +1 -1
- package/build/rn/CheckboxCard.js +1 -1
- package/build/rn/CheckboxCardGroup.js +1 -1
- package/build/rn/CheckboxGroup.js +1 -1
- package/build/rn/ChevronLink.js +1 -37
- package/build/rn/ColourToggle.js +1 -1
- package/build/rn/Countdown.js +1 -1
- package/build/rn/DatePicker.js +1 -1
- package/build/rn/Disclaimer.js +1 -1
- package/build/rn/Divider.js +1 -1
- package/build/rn/DownloadApp.js +1 -1
- package/build/rn/ExpandCollapse.js +1 -1
- package/build/rn/ExpandCollapseControl.js +1 -1
- package/build/rn/ExpandCollapseMini.js +1 -1
- package/build/rn/ExpandCollapseMiniControl.js +7 -16
- package/build/rn/ExpandCollapsePanel.js +1 -1
- package/build/rn/Feedback.js +1 -1
- package/build/rn/Fieldset.js +1 -1
- package/build/rn/FileUpload.js +1 -1
- package/build/rn/Footnote.js +1 -1
- package/build/rn/FootnoteLink.js +1 -1
- package/build/rn/HorizontalScrollButton.js +1 -1
- package/build/rn/Icon.js +1 -1
- package/build/rn/IconButton.js +1 -1
- package/build/rn/Image.js +1 -1
- package/build/rn/InputLabel.js +1 -1
- package/build/rn/InputSupports.js +1 -1
- package/build/rn/Link.js +1 -73
- 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 -9
- 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 +7 -18
- package/build/rn/Search.js +1 -1
- package/build/rn/SearchButton.js +1 -1
- package/build/rn/Select.js +1 -1
- package/build/rn/Shortcuts.js +1 -1
- package/build/rn/ShortcutsItem.js +1 -1
- package/build/rn/SideNav.js +1 -1
- package/build/rn/SideNavItem.js +1 -1
- package/build/rn/SideNavItemsGroup.js +1 -1
- package/build/rn/Skeleton.js +1 -1
- package/build/rn/SkipLink.js +1 -1
- package/build/rn/Spinner.js +1 -1
- package/build/rn/SplashButton.js +1 -1
- package/build/rn/SplashButtonWithDetails.js +1 -1
- package/build/rn/StackView.js +1 -1
- package/build/rn/Status.js +1 -1
- package/build/rn/StepTracker.js +1 -1
- package/build/rn/StoryCard.js +1 -1
- package/build/rn/TabBar.js +1 -1
- package/build/rn/TabBarItem.js +1 -1
- package/build/rn/Table.js +1 -1
- package/build/rn/Tabs.js +1 -1
- package/build/rn/TabsItem.js +1 -1
- package/build/rn/Tags.js +1 -1
- package/build/rn/TagsItem.js +1 -1
- package/build/rn/TermsAndConditions.js +1 -1
- package/build/rn/Testimonial.js +1 -1
- package/build/rn/TextArea.js +1 -1
- package/build/rn/TextInput.js +1 -1
- package/build/rn/Timeline.js +1 -1
- package/build/rn/Toast.js +1 -1
- package/build/rn/ToggleSwitch.js +1 -1
- package/build/rn/ToggleSwitchGroup.js +1 -1
- package/build/rn/Tooltip.js +1 -1
- package/build/rn/TooltipButton.js +1 -1
- package/build/rn/Typography.js +1 -1
- package/build/rn/Video.js +1 -1
- package/build/rn/VideoButton.js +1 -1
- package/build/rn/VideoControlBar.js +1 -1
- package/build/rn/VideoMenu.js +1 -1
- package/build/rn/VideoMiddleControlButton.js +1 -1
- package/build/rn/VideoPicker.js +1 -1
- package/build/rn/VideoPickerSlider.js +1 -1
- package/build/rn/VideoPickerThumbnail.js +1 -1
- package/build/rn/VideoProgressBar.js +1 -1
- package/build/rn/VideoVolumeSlider.js +1 -1
- package/build/rn/WaffleGrid.js +1 -1
- package/build/rn/schema.json +797 -791
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +15 -201
- package/build/web/ActionCard.js +1 -1
- package/build/web/ActivityIndicator.js +1 -1
- package/build/web/Autocomplete.js +1 -1
- package/build/web/Badge.js +1 -1
- package/build/web/BlockQuote.js +1 -1
- package/build/web/Box.js +1 -1
- package/build/web/Breadcrumbs.js +1 -1
- package/build/web/Button.js +1 -1
- package/build/web/ButtonDropdown.js +1 -1
- package/build/web/ButtonGroup.js +1 -1
- package/build/web/ButtonGroupItem.js +1 -1
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +1 -29
- package/build/web/CardGroup.js +1 -1
- package/build/web/Carousel.js +1 -1
- package/build/web/CarouselTabsPanelItem.js +1 -1
- package/build/web/CarouselThumbnail.js +3 -2
- package/build/web/Checkbox.js +1 -1
- package/build/web/CheckboxCard.js +1 -1
- package/build/web/CheckboxCardGroup.js +1 -1
- package/build/web/CheckboxGroup.js +1 -1
- package/build/web/ChevronLink.js +1 -37
- package/build/web/ColourToggle.js +1 -1
- package/build/web/Countdown.js +1 -1
- package/build/web/DatePicker.js +1 -1
- package/build/web/Disclaimer.js +1 -1
- package/build/web/Divider.js +1 -1
- package/build/web/DownloadApp.js +1 -1
- package/build/web/ExpandCollapse.js +1 -1
- package/build/web/ExpandCollapseControl.js +1 -1
- package/build/web/ExpandCollapseMini.js +1 -1
- package/build/web/ExpandCollapseMiniControl.js +7 -16
- package/build/web/ExpandCollapsePanel.js +1 -1
- package/build/web/Feedback.js +1 -1
- package/build/web/Fieldset.js +1 -1
- package/build/web/FileUpload.js +1 -1
- package/build/web/Footnote.js +1 -1
- package/build/web/FootnoteLink.js +1 -1
- package/build/web/HorizontalScrollButton.js +1 -1
- package/build/web/Icon.js +1 -1
- package/build/web/IconButton.js +1 -1
- package/build/web/Image.js +1 -1
- package/build/web/InputLabel.js +1 -1
- package/build/web/InputSupports.js +1 -1
- package/build/web/Link.js +1 -73
- 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 -9
- 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 +7 -18
- package/build/web/Search.js +1 -1
- package/build/web/SearchButton.js +1 -1
- package/build/web/Select.js +1 -1
- package/build/web/Shortcuts.js +1 -1
- package/build/web/ShortcutsItem.js +1 -1
- package/build/web/SideNav.js +1 -1
- package/build/web/SideNavItem.js +1 -1
- package/build/web/SideNavItemsGroup.js +1 -1
- package/build/web/Skeleton.js +1 -1
- package/build/web/SkipLink.js +1 -1
- package/build/web/Spinner.js +1 -1
- package/build/web/SplashButton.js +1 -1
- package/build/web/SplashButtonWithDetails.js +1 -1
- package/build/web/StackView.js +1 -1
- package/build/web/Status.js +1 -1
- package/build/web/StepTracker.js +1 -1
- package/build/web/StoryCard.js +1 -1
- package/build/web/TabBar.js +1 -1
- package/build/web/TabBarItem.js +1 -1
- package/build/web/Table.js +1 -1
- package/build/web/Tabs.js +1 -1
- package/build/web/TabsItem.js +1 -1
- package/build/web/Tags.js +1 -1
- package/build/web/TagsItem.js +1 -1
- package/build/web/TermsAndConditions.js +1 -1
- package/build/web/Testimonial.js +1 -1
- package/build/web/TextArea.js +1 -1
- package/build/web/TextInput.js +1 -1
- package/build/web/Timeline.js +1 -1
- package/build/web/Toast.js +1 -1
- package/build/web/ToggleSwitch.js +1 -1
- package/build/web/ToggleSwitchGroup.js +1 -1
- package/build/web/Tooltip.js +1 -1
- package/build/web/TooltipButton.js +1 -1
- package/build/web/Typography.js +1 -1
- package/build/web/Video.js +1 -1
- package/build/web/VideoButton.js +1 -1
- package/build/web/VideoControlBar.js +1 -1
- package/build/web/VideoMenu.js +1 -1
- package/build/web/VideoMiddleControlButton.js +1 -1
- package/build/web/VideoPicker.js +1 -1
- package/build/web/VideoPickerSlider.js +1 -1
- package/build/web/VideoPickerThumbnail.js +1 -1
- package/build/web/VideoProgressBar.js +1 -1
- package/build/web/VideoVolumeSlider.js +1 -1
- package/build/web/WaffleGrid.js +1 -1
- package/build/web/index.js +1 -1
- package/build/web/schema.json +797 -791
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +15 -201
- package/package.json +4 -4
- package/theme.json +16 -405
package/build/web/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Fri, 10 Apr 2026 17:18:37 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -1284,17 +1284,6 @@ const theme = {
|
|
|
1284
1284
|
},
|
|
1285
1285
|
Card: {
|
|
1286
1286
|
appearances: {
|
|
1287
|
-
background: {
|
|
1288
|
-
type: 'variant',
|
|
1289
|
-
values: [
|
|
1290
|
-
'alternative',
|
|
1291
|
-
'subtle',
|
|
1292
|
-
'grid',
|
|
1293
|
-
'image',
|
|
1294
|
-
'feature',
|
|
1295
|
-
'plain'
|
|
1296
|
-
]
|
|
1297
|
-
},
|
|
1298
1287
|
borderRadius: { type: 'variant', values: [ 'none', 'small', 'large' ] },
|
|
1299
1288
|
focus: {
|
|
1300
1289
|
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.",
|
|
@@ -1391,30 +1380,6 @@ const theme = {
|
|
|
1391
1380
|
{ if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
|
|
1392
1381
|
{ if: { borderRadius: 'small' }, tokens: { borderRadius: 6 } },
|
|
1393
1382
|
{ if: { borderRadius: 'large' }, tokens: { borderRadius: 6 } },
|
|
1394
|
-
{
|
|
1395
|
-
if: { background: 'alternative' },
|
|
1396
|
-
tokens: { backgroundColor: '#fcf8ee', borderColor: '#cdcfd5' }
|
|
1397
|
-
},
|
|
1398
|
-
{
|
|
1399
|
-
if: { background: 'subtle' },
|
|
1400
|
-
tokens: { backgroundColor: '#fdfcf6', borderColor: '#f9f2dd' }
|
|
1401
|
-
},
|
|
1402
|
-
{
|
|
1403
|
-
if: { background: 'grid' },
|
|
1404
|
-
tokens: { backgroundColor: '#fcf8ee', borderWidth: 0 }
|
|
1405
|
-
},
|
|
1406
|
-
{
|
|
1407
|
-
if: { background: 'image' },
|
|
1408
|
-
tokens: { backgroundColor: '#ffffff', borderColor: '#cdcfd5' }
|
|
1409
|
-
},
|
|
1410
|
-
{
|
|
1411
|
-
if: { background: 'feature' },
|
|
1412
|
-
tokens: { backgroundColor: '#ffffff', borderColor: '#f39d80' }
|
|
1413
|
-
},
|
|
1414
|
-
{
|
|
1415
|
-
if: { background: 'plain' },
|
|
1416
|
-
tokens: { backgroundColor: '#fdfcf6', borderWidth: 0 }
|
|
1417
|
-
},
|
|
1418
1383
|
{
|
|
1419
1384
|
if: { style: 'grid' },
|
|
1420
1385
|
tokens: { backgroundColor: '#fcf8ee', borderWidth: 0 }
|
|
@@ -2004,6 +1969,7 @@ const theme = {
|
|
|
2004
1969
|
containerPaddingTop: 24,
|
|
2005
1970
|
margin: 4,
|
|
2006
1971
|
padding: 8,
|
|
1972
|
+
playIcon: PaletteIconPlaySolid,
|
|
2007
1973
|
selectedBorderColor: '#f39d80',
|
|
2008
1974
|
selectedBorderWidth: 2,
|
|
2009
1975
|
size: 56
|
|
@@ -2312,7 +2278,6 @@ const theme = {
|
|
|
2312
2278
|
},
|
|
2313
2279
|
ChevronLink: {
|
|
2314
2280
|
appearances: {
|
|
2315
|
-
alternative: { type: 'variant', values: [ true ] },
|
|
2316
2281
|
focus: {
|
|
2317
2282
|
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.",
|
|
2318
2283
|
platforms: [ 'rn', 'web' ],
|
|
@@ -2325,7 +2290,6 @@ const theme = {
|
|
|
2325
2290
|
type: 'state',
|
|
2326
2291
|
values: [ true, false ]
|
|
2327
2292
|
},
|
|
2328
|
-
inverse: { type: 'variant', values: [ true ] },
|
|
2329
2293
|
pressed: {
|
|
2330
2294
|
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.',
|
|
2331
2295
|
type: 'state',
|
|
@@ -2360,40 +2324,6 @@ const theme = {
|
|
|
2360
2324
|
if: { focus: true, pressed: true },
|
|
2361
2325
|
tokens: { color: '#394056', outerBorderColor: '#394056' }
|
|
2362
2326
|
},
|
|
2363
|
-
{ if: { alternative: true }, tokens: { color: '#394056' } },
|
|
2364
|
-
{
|
|
2365
|
-
if: { alternative: true, hover: true },
|
|
2366
|
-
tokens: { color: '#636c8c' }
|
|
2367
|
-
},
|
|
2368
|
-
{
|
|
2369
|
-
if: { alternative: true, pressed: true },
|
|
2370
|
-
tokens: { color: '#2b3145' }
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
if: { alternative: true, focus: true },
|
|
2374
|
-
tokens: { color: '#394056', outerBorderColor: '#394056' }
|
|
2375
|
-
},
|
|
2376
|
-
{
|
|
2377
|
-
if: { alternative: true, focus: true, pressed: true },
|
|
2378
|
-
tokens: { color: '#2b3145', outerBorderColor: '#2b3145' }
|
|
2379
|
-
},
|
|
2380
|
-
{ if: { inverse: true }, tokens: { color: '#f9f2dd' } },
|
|
2381
|
-
{
|
|
2382
|
-
if: { hover: true, inverse: true },
|
|
2383
|
-
tokens: { color: '#f9cebf' }
|
|
2384
|
-
},
|
|
2385
|
-
{
|
|
2386
|
-
if: { inverse: true, pressed: true },
|
|
2387
|
-
tokens: { color: '#f39d80' }
|
|
2388
|
-
},
|
|
2389
|
-
{
|
|
2390
|
-
if: { focus: true, inverse: true },
|
|
2391
|
-
tokens: { color: '#f9f2dd', outerBorderColor: '#f9f2dd' }
|
|
2392
|
-
},
|
|
2393
|
-
{
|
|
2394
|
-
if: { focus: true, inverse: true, pressed: true },
|
|
2395
|
-
tokens: { color: '#f39d80', outerBorderColor: '#f39d80' }
|
|
2396
|
-
},
|
|
2397
2327
|
{
|
|
2398
2328
|
if: { size: 'large' },
|
|
2399
2329
|
tokens: { blockLineHeight: 1.4, fontSize: 20, iconSize: 20 }
|
|
@@ -3077,11 +3007,6 @@ const theme = {
|
|
|
3077
3007
|
ExpandCollapseMini: { appearances: {}, rules: [], tokens: { borderWidth: 0 } },
|
|
3078
3008
|
ExpandCollapseMiniControl: {
|
|
3079
3009
|
appearances: {
|
|
3080
|
-
alternative: {
|
|
3081
|
-
description: 'Replaces the default colour with black.',
|
|
3082
|
-
type: 'variant',
|
|
3083
|
-
values: [ true ]
|
|
3084
|
-
},
|
|
3085
3010
|
expanded: {
|
|
3086
3011
|
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
3087
3012
|
type: 'state',
|
|
@@ -3093,17 +3018,13 @@ const theme = {
|
|
|
3093
3018
|
type: 'state',
|
|
3094
3019
|
values: [ true, false ]
|
|
3095
3020
|
},
|
|
3096
|
-
inverse: {
|
|
3097
|
-
description: 'Replaces the default colour with white.',
|
|
3098
|
-
type: 'variant',
|
|
3099
|
-
values: [ true ]
|
|
3100
|
-
},
|
|
3101
3021
|
quiet: {
|
|
3102
3022
|
description: 'When it is true, it does not show the decoration',
|
|
3103
3023
|
type: 'state',
|
|
3104
3024
|
values: [ true, false ]
|
|
3105
3025
|
},
|
|
3106
|
-
size: { type: 'variant', values: [ 'micro', 'small', 'large' ] }
|
|
3026
|
+
size: { type: 'variant', values: [ 'micro', 'small', 'large' ] },
|
|
3027
|
+
style: { type: 'variant', values: [ 'subtle', 'inverse' ] }
|
|
3107
3028
|
},
|
|
3108
3029
|
rules: [
|
|
3109
3030
|
{
|
|
@@ -3111,11 +3032,11 @@ const theme = {
|
|
|
3111
3032
|
tokens: { icon: PaletteIconChevronUp }
|
|
3112
3033
|
},
|
|
3113
3034
|
{
|
|
3114
|
-
if: {
|
|
3035
|
+
if: { style: 'subtle' },
|
|
3115
3036
|
tokens: { color: '#394056', iconColor: '#394056' }
|
|
3116
3037
|
},
|
|
3117
3038
|
{
|
|
3118
|
-
if: {
|
|
3039
|
+
if: { style: 'inverse' },
|
|
3119
3040
|
tokens: { color: '#ffffff', iconColor: '#ffffff' }
|
|
3120
3041
|
},
|
|
3121
3042
|
{
|
|
@@ -3136,11 +3057,11 @@ const theme = {
|
|
|
3136
3057
|
},
|
|
3137
3058
|
{ if: { quiet: true }, tokens: { textLine: 'none' } },
|
|
3138
3059
|
{
|
|
3139
|
-
if: {
|
|
3060
|
+
if: { quiet: true, style: 'subtle' },
|
|
3140
3061
|
tokens: { color: '#394056', iconColor: '#394056', textLine: 'none' }
|
|
3141
3062
|
},
|
|
3142
3063
|
{
|
|
3143
|
-
if: {
|
|
3064
|
+
if: { quiet: true, style: 'inverse' },
|
|
3144
3065
|
tokens: { color: '#ffffff', iconColor: '#ffffff', textLine: 'none' }
|
|
3145
3066
|
}
|
|
3146
3067
|
],
|
|
@@ -4493,7 +4414,6 @@ const theme = {
|
|
|
4493
4414
|
InputSupports: { appearances: {}, rules: [], tokens: { space: 1 } },
|
|
4494
4415
|
Link: {
|
|
4495
4416
|
appearances: {
|
|
4496
|
-
alternative: { type: 'variant', values: [ true ] },
|
|
4497
4417
|
focus: {
|
|
4498
4418
|
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.",
|
|
4499
4419
|
platforms: [ 'rn', 'web' ],
|
|
@@ -4511,7 +4431,6 @@ const theme = {
|
|
|
4511
4431
|
type: 'state',
|
|
4512
4432
|
values: [ 'left', 'right', 'inline' ]
|
|
4513
4433
|
},
|
|
4514
|
-
inverse: { type: 'variant', values: [ true ] },
|
|
4515
4434
|
pressed: {
|
|
4516
4435
|
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.',
|
|
4517
4436
|
type: 'state',
|
|
@@ -4551,78 +4470,6 @@ const theme = {
|
|
|
4551
4470
|
if: { pressed: true },
|
|
4552
4471
|
tokens: { color: '#2b3145', textLine: 'none' }
|
|
4553
4472
|
},
|
|
4554
|
-
{ if: { alternative: true }, tokens: { color: '#394056' } },
|
|
4555
|
-
{
|
|
4556
|
-
if: { alternative: true, hover: true },
|
|
4557
|
-
tokens: { color: '#2b3145' }
|
|
4558
|
-
},
|
|
4559
|
-
{
|
|
4560
|
-
if: { alternative: true, pressed: true },
|
|
4561
|
-
tokens: { color: '#2b3145', outerBorderWidth: 0 }
|
|
4562
|
-
},
|
|
4563
|
-
{
|
|
4564
|
-
if: { alternative: true, focus: true, pressed: true },
|
|
4565
|
-
tokens: { color: '#2b3145' }
|
|
4566
|
-
},
|
|
4567
|
-
{
|
|
4568
|
-
if: { alternative: true, focus: true },
|
|
4569
|
-
tokens: { color: '#394056', outerBorderColor: '#394056' }
|
|
4570
|
-
},
|
|
4571
|
-
{
|
|
4572
|
-
if: { alternative: true, focus: false, pressed: true },
|
|
4573
|
-
tokens: { color: '#2b3145' }
|
|
4574
|
-
},
|
|
4575
|
-
{
|
|
4576
|
-
if: {
|
|
4577
|
-
alternative: true,
|
|
4578
|
-
focus: true,
|
|
4579
|
-
hover: true,
|
|
4580
|
-
pressed: true
|
|
4581
|
-
},
|
|
4582
|
-
tokens: { color: '#2b3145', outerBorderColor: '#2b3145' }
|
|
4583
|
-
},
|
|
4584
|
-
{
|
|
4585
|
-
if: {
|
|
4586
|
-
alternative: true,
|
|
4587
|
-
focus: false,
|
|
4588
|
-
hover: true,
|
|
4589
|
-
pressed: false
|
|
4590
|
-
},
|
|
4591
|
-
tokens: { color: '#636c8c' }
|
|
4592
|
-
},
|
|
4593
|
-
{
|
|
4594
|
-
if: { alternative: true, focus: true, pressed: true },
|
|
4595
|
-
tokens: { color: '#636c8c' }
|
|
4596
|
-
},
|
|
4597
|
-
{
|
|
4598
|
-
if: { alternative: true, focus: true },
|
|
4599
|
-
tokens: {
|
|
4600
|
-
color: '#636c8c',
|
|
4601
|
-
outerBorderColor: '#636c8c',
|
|
4602
|
-
outerBorderWidth: 1
|
|
4603
|
-
}
|
|
4604
|
-
},
|
|
4605
|
-
{
|
|
4606
|
-
if: { alternative: true, pressed: true },
|
|
4607
|
-
tokens: { color: '#2b3145' }
|
|
4608
|
-
},
|
|
4609
|
-
{ if: { inverse: true }, tokens: { color: '#f9f2dd' } },
|
|
4610
|
-
{
|
|
4611
|
-
if: { focus: true, inverse: true },
|
|
4612
|
-
tokens: { color: '#f9f2dd', outerBorderColor: '#f9f2dd' }
|
|
4613
|
-
},
|
|
4614
|
-
{
|
|
4615
|
-
if: { focus: true, inverse: true, pressed: true },
|
|
4616
|
-
tokens: { color: '#f39d80', outerBorderColor: '#f39d80' }
|
|
4617
|
-
},
|
|
4618
|
-
{
|
|
4619
|
-
if: { hover: true, inverse: true },
|
|
4620
|
-
tokens: { color: '#f9cebf' }
|
|
4621
|
-
},
|
|
4622
|
-
{
|
|
4623
|
-
if: { inverse: true, pressed: true },
|
|
4624
|
-
tokens: { color: '#f39d80' }
|
|
4625
|
-
},
|
|
4626
4473
|
{
|
|
4627
4474
|
if: { size: 'micro' },
|
|
4628
4475
|
tokens: {
|
|
@@ -4658,14 +4505,6 @@ const theme = {
|
|
|
4658
4505
|
if: { focus: true, pressed: true, quiet: true },
|
|
4659
4506
|
tokens: { color: '#2b3145', textLine: 'underline' }
|
|
4660
4507
|
},
|
|
4661
|
-
{
|
|
4662
|
-
if: { alternative: true, hover: true, quiet: true },
|
|
4663
|
-
tokens: { color: '#2b3145', textLine: 'underline' }
|
|
4664
|
-
},
|
|
4665
|
-
{
|
|
4666
|
-
if: { hover: true, inverse: true, quiet: true },
|
|
4667
|
-
tokens: { color: '#f9cebf', textLine: 'underline' }
|
|
4668
|
-
},
|
|
4669
4508
|
{ if: { style: 'inline' }, tokens: { color: '#394056' } },
|
|
4670
4509
|
{
|
|
4671
4510
|
if: { focus: true, style: 'inline' },
|
|
@@ -6334,12 +6173,6 @@ const theme = {
|
|
|
6334
6173
|
},
|
|
6335
6174
|
ProgressBar: {
|
|
6336
6175
|
appearances: {
|
|
6337
|
-
inactive: {
|
|
6338
|
-
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
6339
|
-
type: 'state',
|
|
6340
|
-
values: [ true ]
|
|
6341
|
-
},
|
|
6342
|
-
negative: { type: 'variant', values: [ true ] },
|
|
6343
6176
|
style: {
|
|
6344
6177
|
description: 'Configure `style` variant for `ProgressBar`',
|
|
6345
6178
|
type: 'variant',
|
|
@@ -6347,14 +6180,6 @@ const theme = {
|
|
|
6347
6180
|
}
|
|
6348
6181
|
},
|
|
6349
6182
|
rules: [
|
|
6350
|
-
{
|
|
6351
|
-
if: { inactive: true },
|
|
6352
|
-
tokens: { backgroundColor: '#cdcfd5' }
|
|
6353
|
-
},
|
|
6354
|
-
{
|
|
6355
|
-
if: { negative: true },
|
|
6356
|
-
tokens: { backgroundColor: '#bf1722' }
|
|
6357
|
-
},
|
|
6358
6183
|
{
|
|
6359
6184
|
if: { style: 'subtle' },
|
|
6360
6185
|
tokens: {
|
|
@@ -7096,8 +6921,7 @@ const theme = {
|
|
|
7096
6921
|
purpose: {
|
|
7097
6922
|
type: 'variant',
|
|
7098
6923
|
values: [ 'offer', 'default', 'editorial', 'subtle' ]
|
|
7099
|
-
}
|
|
7100
|
-
wrap: { type: 'variant', values: [ true ] }
|
|
6924
|
+
}
|
|
7101
6925
|
},
|
|
7102
6926
|
rules: [
|
|
7103
6927
|
{
|
|
@@ -7111,23 +6935,13 @@ const theme = {
|
|
|
7111
6935
|
{
|
|
7112
6936
|
if: { purpose: 'subtle' },
|
|
7113
6937
|
tokens: { backgroundColor: '#394056' }
|
|
7114
|
-
},
|
|
7115
|
-
{
|
|
7116
|
-
if: { wrap: true },
|
|
7117
|
-
tokens: {
|
|
7118
|
-
borderRadius: null,
|
|
7119
|
-
borderRadiusBottomLeft: 8,
|
|
7120
|
-
borderRadiusBottomRight: 8,
|
|
7121
|
-
paddingBottom: 6,
|
|
7122
|
-
paddingTop: 6
|
|
7123
|
-
}
|
|
7124
6938
|
}
|
|
7125
6939
|
],
|
|
7126
6940
|
tokens: {
|
|
7127
6941
|
backgroundColor: '#394056',
|
|
7128
|
-
borderRadius:
|
|
7129
|
-
borderRadiusBottomLeft:
|
|
7130
|
-
borderRadiusBottomRight:
|
|
6942
|
+
borderRadius: null,
|
|
6943
|
+
borderRadiusBottomLeft: 8,
|
|
6944
|
+
borderRadiusBottomRight: 8,
|
|
7131
6945
|
boxShadowColor: null,
|
|
7132
6946
|
boxShadowPaddingBottom: null,
|
|
7133
6947
|
boxShadowPaddingLeft: null,
|
|
@@ -7147,10 +6961,10 @@ const theme = {
|
|
|
7147
6961
|
fontWeight: '700',
|
|
7148
6962
|
gradient: null,
|
|
7149
6963
|
lineHeight: 1.4285714285714286,
|
|
7150
|
-
paddingBottom:
|
|
6964
|
+
paddingBottom: 6,
|
|
7151
6965
|
paddingLeft: 12,
|
|
7152
6966
|
paddingRight: 12,
|
|
7153
|
-
paddingTop:
|
|
6967
|
+
paddingTop: 6
|
|
7154
6968
|
}
|
|
7155
6969
|
},
|
|
7156
6970
|
Search: {
|
|
@@ -9800,6 +9614,6 @@ const theme = {
|
|
|
9800
9614
|
tokens: { size: 80 }
|
|
9801
9615
|
}
|
|
9802
9616
|
},
|
|
9803
|
-
metadata: { name: 'theme-public-mobile', themeTokensVersion: '
|
|
9617
|
+
metadata: { name: 'theme-public-mobile', themeTokensVersion: '5.0.0-alpha.1' }
|
|
9804
9618
|
}
|
|
9805
9619
|
export default theme
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-public-mobile",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-alpha.1",
|
|
4
4
|
"description": "Public Mobile theme",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"public mobile"
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"theme.json"
|
|
16
16
|
],
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@telus-uds/palette-public-mobile": "^
|
|
19
|
-
"@telus-uds/system-theme-tokens": "^
|
|
18
|
+
"@telus-uds/palette-public-mobile": "^4.0.0-alpha.1",
|
|
19
|
+
"@telus-uds/system-theme-tokens": "^5.0.0-alpha.1"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@telus-uds/palette-public-mobile": "^
|
|
22
|
+
"@telus-uds/palette-public-mobile": "^4.0.0-alpha.1"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|