@telus-uds/theme-public-mobile 2.20.1 → 2.22.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/Card.json +161 -0
- package/build/android/CardGroup.json +52 -0
- package/build/android/Carousel.json +2 -0
- package/build/android/QuickLinksFeature.json +17 -2
- package/build/android/QuickLinksFeatureItem.json +1 -1
- package/build/android/Radio.json +13 -0
- package/build/android/schema.json +948 -702
- package/build/android/theme.json +247 -4
- package/build/ios/Card.json +161 -0
- package/build/ios/CardGroup.json +52 -0
- package/build/ios/Carousel.json +2 -0
- package/build/ios/QuickLinksFeature.json +17 -2
- package/build/ios/QuickLinksFeatureItem.json +1 -1
- package/build/ios/Radio.json +13 -0
- package/build/ios/schema.json +948 -702
- package/build/ios/theme.json +247 -4
- 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 +85 -3
- package/build/rn/CardGroup.js +62 -0
- package/build/rn/Carousel.js +5 -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 +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 +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 -1
- package/build/rn/List.js +1 -1
- package/build/rn/Listbox.js +1 -1
- package/build/rn/Modal.js +1 -1
- package/build/rn/MultiSelectFilter.js +1 -1
- package/build/rn/NavigationBar.js +1 -1
- package/build/rn/Notification.js +1 -1
- package/build/rn/OrderedList.js +1 -1
- package/build/rn/Pagination.js +1 -1
- package/build/rn/PaginationPageButton.js +1 -1
- package/build/rn/PaginationSideButton.js +1 -1
- package/build/rn/PreviewCard.js +1 -1
- package/build/rn/PriceLockup.js +1 -1
- package/build/rn/ProductCard.js +1 -1
- package/build/rn/Progress.js +1 -1
- package/build/rn/ProgressBar.js +1 -1
- package/build/rn/QuantitySelector.js +1 -1
- package/build/rn/QuantitySelectorSideButton.js +1 -1
- package/build/rn/QuickLinks.js +1 -1
- package/build/rn/QuickLinksButton.js +1 -1
- package/build/rn/QuickLinksCard.js +1 -1
- package/build/rn/QuickLinksFeature.js +9 -3
- package/build/rn/QuickLinksFeatureItem.js +2 -2
- package/build/rn/QuickLinksList.js +1 -1
- package/build/rn/Radio.js +4 -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 +948 -702
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +155 -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 +85 -3
- package/build/web/CardGroup.js +62 -0
- package/build/web/Carousel.js +5 -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 +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 +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 -1
- package/build/web/List.js +1 -1
- package/build/web/Listbox.js +1 -1
- package/build/web/Modal.js +1 -1
- package/build/web/MultiSelectFilter.js +1 -1
- package/build/web/NavigationBar.js +1 -1
- package/build/web/Notification.js +1 -1
- package/build/web/OrderedList.js +1 -1
- package/build/web/Pagination.js +1 -1
- package/build/web/PaginationPageButton.js +1 -1
- package/build/web/PaginationSideButton.js +1 -1
- package/build/web/PreviewCard.js +1 -1
- package/build/web/PriceLockup.js +1 -1
- package/build/web/ProductCard.js +1 -1
- package/build/web/Progress.js +1 -1
- package/build/web/ProgressBar.js +1 -1
- package/build/web/QuantitySelector.js +1 -1
- package/build/web/QuantitySelectorSideButton.js +1 -1
- package/build/web/QuickLinks.js +1 -1
- package/build/web/QuickLinksButton.js +1 -1
- package/build/web/QuickLinksCard.js +1 -1
- package/build/web/QuickLinksFeature.js +9 -3
- package/build/web/QuickLinksFeatureItem.js +2 -2
- package/build/web/QuickLinksList.js +1 -1
- package/build/web/Radio.js +4 -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 +948 -702
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +155 -9
- package/package.json +4 -4
- package/theme.json +161 -3
package/build/ios/theme.json
CHANGED
|
@@ -1904,6 +1904,10 @@
|
|
|
1904
1904
|
"type": "variant",
|
|
1905
1905
|
"values": [true]
|
|
1906
1906
|
},
|
|
1907
|
+
"isControl": {
|
|
1908
|
+
"type": "variant",
|
|
1909
|
+
"values": [true, false]
|
|
1910
|
+
},
|
|
1907
1911
|
"padding": {
|
|
1908
1912
|
"type": "variant",
|
|
1909
1913
|
"values": ["narrow", "intermediate", "compact", "custom"]
|
|
@@ -1913,6 +1917,11 @@
|
|
|
1913
1917
|
"values": [true, false],
|
|
1914
1918
|
"type": "state"
|
|
1915
1919
|
},
|
|
1920
|
+
"selected": {
|
|
1921
|
+
"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`.",
|
|
1922
|
+
"values": [true],
|
|
1923
|
+
"type": "state"
|
|
1924
|
+
},
|
|
1916
1925
|
"viewport": {
|
|
1917
1926
|
"description": "The size label for the current screen viewport based on the current screen width",
|
|
1918
1927
|
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
@@ -1920,6 +1929,77 @@
|
|
|
1920
1929
|
}
|
|
1921
1930
|
},
|
|
1922
1931
|
"rules": [
|
|
1932
|
+
{
|
|
1933
|
+
"if": {
|
|
1934
|
+
"interactive": true,
|
|
1935
|
+
"isControl": true
|
|
1936
|
+
},
|
|
1937
|
+
"tokens": {
|
|
1938
|
+
"borderColor": {
|
|
1939
|
+
"red": 0.80392,
|
|
1940
|
+
"green": 0.81176,
|
|
1941
|
+
"blue": 0.83529,
|
|
1942
|
+
"alpha": 1
|
|
1943
|
+
},
|
|
1944
|
+
"borderWidth": 1
|
|
1945
|
+
}
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
"if": {
|
|
1949
|
+
"interactive": true,
|
|
1950
|
+
"isControl": true,
|
|
1951
|
+
"selected": true
|
|
1952
|
+
},
|
|
1953
|
+
"tokens": {
|
|
1954
|
+
"backgroundColor": {
|
|
1955
|
+
"red": 0.96078,
|
|
1956
|
+
"green": 0.96078,
|
|
1957
|
+
"blue": 0.96863,
|
|
1958
|
+
"alpha": 1
|
|
1959
|
+
},
|
|
1960
|
+
"borderColor": {
|
|
1961
|
+
"red": 0.22353,
|
|
1962
|
+
"green": 0.25098,
|
|
1963
|
+
"blue": 0.33725,
|
|
1964
|
+
"alpha": 1
|
|
1965
|
+
},
|
|
1966
|
+
"borderWidth": 1,
|
|
1967
|
+
"iconBackgroundColor": {
|
|
1968
|
+
"red": 0.80392,
|
|
1969
|
+
"green": 0.81176,
|
|
1970
|
+
"blue": 0.83529,
|
|
1971
|
+
"alpha": 1
|
|
1972
|
+
},
|
|
1973
|
+
"iconColor": {
|
|
1974
|
+
"red": 0.22353,
|
|
1975
|
+
"green": 0.25098,
|
|
1976
|
+
"blue": 0.33725,
|
|
1977
|
+
"alpha": 1
|
|
1978
|
+
},
|
|
1979
|
+
"inputBackgroundColor": {
|
|
1980
|
+
"red": 0.80392,
|
|
1981
|
+
"green": 0.81176,
|
|
1982
|
+
"blue": 0.83529,
|
|
1983
|
+
"alpha": 1
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
"if": {
|
|
1989
|
+
"interactive": true,
|
|
1990
|
+
"isControl": true,
|
|
1991
|
+
"pressed": false
|
|
1992
|
+
},
|
|
1993
|
+
"tokens": {
|
|
1994
|
+
"borderColor": {
|
|
1995
|
+
"red": 0,
|
|
1996
|
+
"green": 0,
|
|
1997
|
+
"blue": 0,
|
|
1998
|
+
"alpha": 0
|
|
1999
|
+
},
|
|
2000
|
+
"borderWidth": 2
|
|
2001
|
+
}
|
|
2002
|
+
},
|
|
1923
2003
|
{
|
|
1924
2004
|
"if": {
|
|
1925
2005
|
"borderRadius": "none"
|
|
@@ -2116,6 +2196,7 @@
|
|
|
2116
2196
|
{
|
|
2117
2197
|
"if": {
|
|
2118
2198
|
"interactive": true,
|
|
2199
|
+
"isControl": false,
|
|
2119
2200
|
"pressed": false
|
|
2120
2201
|
},
|
|
2121
2202
|
"tokens": {
|
|
@@ -2128,6 +2209,21 @@
|
|
|
2128
2209
|
"borderWidth": 2
|
|
2129
2210
|
}
|
|
2130
2211
|
},
|
|
2212
|
+
{
|
|
2213
|
+
"if": {
|
|
2214
|
+
"interactive": true,
|
|
2215
|
+
"pressed": false
|
|
2216
|
+
},
|
|
2217
|
+
"tokens": {
|
|
2218
|
+
"borderColor": {
|
|
2219
|
+
"red": 0,
|
|
2220
|
+
"green": 0,
|
|
2221
|
+
"blue": 0,
|
|
2222
|
+
"alpha": 0
|
|
2223
|
+
},
|
|
2224
|
+
"borderWidth": 2
|
|
2225
|
+
}
|
|
2226
|
+
},
|
|
2131
2227
|
{
|
|
2132
2228
|
"if": {
|
|
2133
2229
|
"interactive": true,
|
|
@@ -2148,6 +2244,28 @@
|
|
|
2148
2244
|
},
|
|
2149
2245
|
"borderWidth": 2
|
|
2150
2246
|
}
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
"if": {
|
|
2250
|
+
"interactive": true,
|
|
2251
|
+
"isControl": false,
|
|
2252
|
+
"selected": true
|
|
2253
|
+
},
|
|
2254
|
+
"tokens": {
|
|
2255
|
+
"backgroundColor": {
|
|
2256
|
+
"red": 0.96078,
|
|
2257
|
+
"green": 0.96078,
|
|
2258
|
+
"blue": 0.96863,
|
|
2259
|
+
"alpha": 1
|
|
2260
|
+
},
|
|
2261
|
+
"borderColor": {
|
|
2262
|
+
"red": 0.22353,
|
|
2263
|
+
"green": 0.25098,
|
|
2264
|
+
"blue": 0.33725,
|
|
2265
|
+
"alpha": 1
|
|
2266
|
+
},
|
|
2267
|
+
"borderWidth": 1
|
|
2268
|
+
}
|
|
2151
2269
|
}
|
|
2152
2270
|
],
|
|
2153
2271
|
"tokens": {
|
|
@@ -2171,6 +2289,49 @@
|
|
|
2171
2289
|
"contentJustifyContent": "flex-start",
|
|
2172
2290
|
"flex": 1,
|
|
2173
2291
|
"gradient": null,
|
|
2292
|
+
"icon": "PaletteIconMobileCheckmark",
|
|
2293
|
+
"iconBackgroundColor": {
|
|
2294
|
+
"red": 0.96078,
|
|
2295
|
+
"green": 0.96078,
|
|
2296
|
+
"blue": 0.96863,
|
|
2297
|
+
"alpha": 1
|
|
2298
|
+
},
|
|
2299
|
+
"iconColor": {
|
|
2300
|
+
"red": 0.22353,
|
|
2301
|
+
"green": 0.25098,
|
|
2302
|
+
"blue": 0.33725,
|
|
2303
|
+
"alpha": 1
|
|
2304
|
+
},
|
|
2305
|
+
"iconSize": 20,
|
|
2306
|
+
"inputBackgroundColor": {
|
|
2307
|
+
"red": 0.96078,
|
|
2308
|
+
"green": 0.96078,
|
|
2309
|
+
"blue": 0.96863,
|
|
2310
|
+
"alpha": 1
|
|
2311
|
+
},
|
|
2312
|
+
"inputBorderColor": {
|
|
2313
|
+
"red": 0,
|
|
2314
|
+
"green": 0,
|
|
2315
|
+
"blue": 0,
|
|
2316
|
+
"alpha": 0
|
|
2317
|
+
},
|
|
2318
|
+
"inputBorderRadius": 4,
|
|
2319
|
+
"inputBorderWidth": 0,
|
|
2320
|
+
"inputHeight": 32,
|
|
2321
|
+
"inputShadow": {
|
|
2322
|
+
"inset": true,
|
|
2323
|
+
"offsetX": 0,
|
|
2324
|
+
"offsetY": 2,
|
|
2325
|
+
"blur": 2,
|
|
2326
|
+
"spread": 0,
|
|
2327
|
+
"color": {
|
|
2328
|
+
"red": 0,
|
|
2329
|
+
"green": 0,
|
|
2330
|
+
"blue": 0,
|
|
2331
|
+
"alpha": 0.1
|
|
2332
|
+
}
|
|
2333
|
+
},
|
|
2334
|
+
"inputWidth": 32,
|
|
2174
2335
|
"minWidth": null,
|
|
2175
2336
|
"paddingBottom": 32,
|
|
2176
2337
|
"paddingLeft": 24,
|
|
@@ -2179,6 +2340,58 @@
|
|
|
2179
2340
|
"shadow": null
|
|
2180
2341
|
}
|
|
2181
2342
|
},
|
|
2343
|
+
"CardGroup": {
|
|
2344
|
+
"appearances": {
|
|
2345
|
+
"pressed": {
|
|
2346
|
+
"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.",
|
|
2347
|
+
"values": [true, false],
|
|
2348
|
+
"type": "state"
|
|
2349
|
+
},
|
|
2350
|
+
"selected": {
|
|
2351
|
+
"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`.",
|
|
2352
|
+
"values": [true],
|
|
2353
|
+
"type": "state"
|
|
2354
|
+
},
|
|
2355
|
+
"viewport": {
|
|
2356
|
+
"description": "The size label for the current screen viewport based on the current screen width",
|
|
2357
|
+
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
2358
|
+
"type": "state"
|
|
2359
|
+
}
|
|
2360
|
+
},
|
|
2361
|
+
"rules": [
|
|
2362
|
+
{
|
|
2363
|
+
"if": {
|
|
2364
|
+
"viewport": ["lg", "xl"]
|
|
2365
|
+
},
|
|
2366
|
+
"tokens": {
|
|
2367
|
+
"direction": "row",
|
|
2368
|
+
"space": 5
|
|
2369
|
+
}
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
"if": {
|
|
2373
|
+
"viewport": ["xs", "sm", "md"]
|
|
2374
|
+
},
|
|
2375
|
+
"tokens": {
|
|
2376
|
+
"direction": "column",
|
|
2377
|
+
"fieldSpace": 3,
|
|
2378
|
+
"space": 3
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
],
|
|
2382
|
+
"tokens": {
|
|
2383
|
+
"borderBottomLeftRadius": 1,
|
|
2384
|
+
"borderBottomRightRadius": 1,
|
|
2385
|
+
"borderTopLeftRadius": 1,
|
|
2386
|
+
"borderTopRightRadius": 1,
|
|
2387
|
+
"direction": "column",
|
|
2388
|
+
"fieldSpace": 3,
|
|
2389
|
+
"outlineOffset": 8,
|
|
2390
|
+
"outlineWidth": 1,
|
|
2391
|
+
"showIcon": true,
|
|
2392
|
+
"space": 3
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
2182
2395
|
"Carousel": {
|
|
2183
2396
|
"appearances": {
|
|
2184
2397
|
"viewport": {
|
|
@@ -2212,6 +2425,8 @@
|
|
|
2212
2425
|
"alpha": 1
|
|
2213
2426
|
},
|
|
2214
2427
|
"nextIcon": "PaletteIconChevronRight",
|
|
2428
|
+
"pauseIcon": "PaletteIconPause",
|
|
2429
|
+
"playIcon": "PaletteIconPlaySolid",
|
|
2215
2430
|
"previousIcon": "PaletteIconChevronLeft",
|
|
2216
2431
|
"showPanelNavigation": true,
|
|
2217
2432
|
"showPanelTabs": true,
|
|
@@ -7679,8 +7894,23 @@
|
|
|
7679
7894
|
}
|
|
7680
7895
|
},
|
|
7681
7896
|
"QuickLinksFeature": {
|
|
7682
|
-
"appearances": {
|
|
7683
|
-
|
|
7897
|
+
"appearances": {
|
|
7898
|
+
"viewport": {
|
|
7899
|
+
"description": "The size label for the current screen viewport based on the current screen width",
|
|
7900
|
+
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
7901
|
+
"type": "state"
|
|
7902
|
+
}
|
|
7903
|
+
},
|
|
7904
|
+
"rules": [
|
|
7905
|
+
{
|
|
7906
|
+
"if": {
|
|
7907
|
+
"viewport": "xs"
|
|
7908
|
+
},
|
|
7909
|
+
"tokens": {
|
|
7910
|
+
"stackSpace": 4
|
|
7911
|
+
}
|
|
7912
|
+
}
|
|
7913
|
+
],
|
|
7684
7914
|
"tokens": {
|
|
7685
7915
|
"stackGap": 5,
|
|
7686
7916
|
"stackJustify": "center",
|
|
@@ -7745,7 +7975,7 @@
|
|
|
7745
7975
|
"fontName": "SofiaPro",
|
|
7746
7976
|
"fontSize": 18,
|
|
7747
7977
|
"fontWeight": 700,
|
|
7748
|
-
"gap":
|
|
7978
|
+
"gap": 5,
|
|
7749
7979
|
"imageDimension": 140,
|
|
7750
7980
|
"outerBorderColor": {
|
|
7751
7981
|
"red": 0,
|
|
@@ -7940,6 +8170,19 @@
|
|
|
7940
8170
|
"descriptionFontWeight": 400,
|
|
7941
8171
|
"descriptionLineHeight": 1.5,
|
|
7942
8172
|
"descriptionMarginLeft": null,
|
|
8173
|
+
"icon": null,
|
|
8174
|
+
"iconBackgroundColor": {
|
|
8175
|
+
"red": 0,
|
|
8176
|
+
"green": 0,
|
|
8177
|
+
"blue": 0,
|
|
8178
|
+
"alpha": 0
|
|
8179
|
+
},
|
|
8180
|
+
"iconColor": {
|
|
8181
|
+
"red": 0,
|
|
8182
|
+
"green": 0,
|
|
8183
|
+
"blue": 0,
|
|
8184
|
+
"alpha": 0
|
|
8185
|
+
},
|
|
7943
8186
|
"inputBackgroundColor": {
|
|
7944
8187
|
"red": 1,
|
|
7945
8188
|
"green": 1,
|
|
@@ -12090,7 +12333,7 @@
|
|
|
12090
12333
|
}
|
|
12091
12334
|
},
|
|
12092
12335
|
"metadata": {
|
|
12093
|
-
"themeTokensVersion": "2.
|
|
12336
|
+
"themeTokensVersion": "2.56.0",
|
|
12094
12337
|
"name": "theme-public-mobile"
|
|
12095
12338
|
}
|
|
12096
12339
|
}
|
package/build/rn/Badge.js
CHANGED
package/build/rn/BlockQuote.js
CHANGED
package/build/rn/Box.js
CHANGED
package/build/rn/Breadcrumbs.js
CHANGED
package/build/rn/Button.js
CHANGED
package/build/rn/ButtonGroup.js
CHANGED
package/build/rn/Callout.js
CHANGED
package/build/rn/Card.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Fri, 17 May 2024 16:23:28 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
const PaletteIconMobileCheckmark = require('@telus-uds/palette-public-mobile/build/rn/icons/MobileCheckmark')
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
11
|
appearances: {
|
|
@@ -27,6 +27,7 @@ module.exports = {
|
|
|
27
27
|
values: [ true, false ]
|
|
28
28
|
},
|
|
29
29
|
interactive: { type: 'variant', values: [ true ] },
|
|
30
|
+
isControl: { type: 'variant', values: [ true, false ] },
|
|
30
31
|
padding: {
|
|
31
32
|
type: 'variant',
|
|
32
33
|
values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
|
|
@@ -36,6 +37,11 @@ module.exports = {
|
|
|
36
37
|
type: 'state',
|
|
37
38
|
values: [ true, false ]
|
|
38
39
|
},
|
|
40
|
+
selected: {
|
|
41
|
+
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`.',
|
|
42
|
+
type: 'state',
|
|
43
|
+
values: [ true ]
|
|
44
|
+
},
|
|
39
45
|
viewport: {
|
|
40
46
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
41
47
|
type: 'state',
|
|
@@ -43,6 +49,47 @@ module.exports = {
|
|
|
43
49
|
}
|
|
44
50
|
},
|
|
45
51
|
rules: [
|
|
52
|
+
{
|
|
53
|
+
if: { interactive: true, isControl: true },
|
|
54
|
+
tokens: { borderColor: '#cdcfd5', borderWidth: 1 }
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
if: { interactive: true, isControl: true, selected: true },
|
|
58
|
+
tokens: {
|
|
59
|
+
backgroundColor: '#f5f5f7',
|
|
60
|
+
borderColor: '#394056',
|
|
61
|
+
borderWidth: 1,
|
|
62
|
+
iconBackgroundColor: '#cdcfd5',
|
|
63
|
+
iconColor: '#394056',
|
|
64
|
+
inputBackgroundColor: '#cdcfd5'
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
if: { hover: true, interactive: true, isControl: true },
|
|
69
|
+
tokens: { iconColor: '#394056' }
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
if: {
|
|
73
|
+
focus: false,
|
|
74
|
+
interactive: true,
|
|
75
|
+
isControl: true,
|
|
76
|
+
pressed: false
|
|
77
|
+
},
|
|
78
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
if: {
|
|
82
|
+
hover: true,
|
|
83
|
+
interactive: true,
|
|
84
|
+
isControl: true,
|
|
85
|
+
selected: true
|
|
86
|
+
},
|
|
87
|
+
tokens: {
|
|
88
|
+
iconBackgroundColor: '#cdcfd5',
|
|
89
|
+
iconColor: '#394056',
|
|
90
|
+
inputBackgroundColor: '#cdcfd5'
|
|
91
|
+
}
|
|
92
|
+
},
|
|
46
93
|
{ if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
|
|
47
94
|
{ if: { borderRadius: 'small' }, tokens: { borderRadius: 6 } },
|
|
48
95
|
{ if: { borderRadius: 'large' }, tokens: { borderRadius: 6 } },
|
|
@@ -130,9 +177,18 @@ module.exports = {
|
|
|
130
177
|
}
|
|
131
178
|
},
|
|
132
179
|
{
|
|
133
|
-
if: {
|
|
180
|
+
if: {
|
|
181
|
+
focus: false,
|
|
182
|
+
interactive: true,
|
|
183
|
+
isControl: false,
|
|
184
|
+
pressed: false
|
|
185
|
+
},
|
|
134
186
|
tokens: { borderColor: '#ffffff', borderWidth: 2 }
|
|
135
187
|
},
|
|
188
|
+
{
|
|
189
|
+
if: { focus: false, interactive: true, pressed: false },
|
|
190
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
|
|
191
|
+
},
|
|
136
192
|
{
|
|
137
193
|
if: { hover: true, interactive: true },
|
|
138
194
|
tokens: {
|
|
@@ -151,6 +207,14 @@ module.exports = {
|
|
|
151
207
|
borderColor: '#cdcfd5',
|
|
152
208
|
borderWidth: 2
|
|
153
209
|
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
if: { interactive: true, isControl: false, selected: true },
|
|
213
|
+
tokens: {
|
|
214
|
+
backgroundColor: '#f5f5f7',
|
|
215
|
+
borderColor: '#394056',
|
|
216
|
+
borderWidth: 1
|
|
217
|
+
}
|
|
154
218
|
}
|
|
155
219
|
],
|
|
156
220
|
tokens: {
|
|
@@ -164,6 +228,24 @@ module.exports = {
|
|
|
164
228
|
contentJustifyContent: 'flex-start',
|
|
165
229
|
flex: 1,
|
|
166
230
|
gradient: null,
|
|
231
|
+
icon: PaletteIconMobileCheckmark,
|
|
232
|
+
iconBackgroundColor: '#f5f5f7',
|
|
233
|
+
iconColor: '#394056',
|
|
234
|
+
iconSize: 20,
|
|
235
|
+
inputBackgroundColor: '#f5f5f7',
|
|
236
|
+
inputBorderColor: 'rgba(0, 0, 0, 0)',
|
|
237
|
+
inputBorderRadius: 4,
|
|
238
|
+
inputBorderWidth: 0,
|
|
239
|
+
inputHeight: 32,
|
|
240
|
+
inputShadow: {
|
|
241
|
+
blur: 2,
|
|
242
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
243
|
+
inset: true,
|
|
244
|
+
offsetX: 0,
|
|
245
|
+
offsetY: 2,
|
|
246
|
+
spread: 0
|
|
247
|
+
},
|
|
248
|
+
inputWidth: 32,
|
|
167
249
|
minWidth: null,
|
|
168
250
|
paddingBottom: 32,
|
|
169
251
|
paddingLeft: 24,
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Fri, 17 May 2024 16:23:28 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
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
|
+
},
|
|
24
|
+
pressed: {
|
|
25
|
+
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.',
|
|
26
|
+
type: 'state',
|
|
27
|
+
values: [ true, false ]
|
|
28
|
+
},
|
|
29
|
+
selected: {
|
|
30
|
+
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`.',
|
|
31
|
+
type: 'state',
|
|
32
|
+
values: [ true ]
|
|
33
|
+
},
|
|
34
|
+
viewport: {
|
|
35
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
36
|
+
type: 'state',
|
|
37
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
rules: [
|
|
41
|
+
{
|
|
42
|
+
if: { viewport: [ 'lg', 'xl' ] },
|
|
43
|
+
tokens: { direction: 'row', space: 5 }
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
if: { viewport: [ 'xs', 'sm', 'md' ] },
|
|
47
|
+
tokens: { direction: 'column', fieldSpace: 3, space: 3 }
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
tokens: {
|
|
51
|
+
borderBottomLeftRadius: 1,
|
|
52
|
+
borderBottomRightRadius: 1,
|
|
53
|
+
borderTopLeftRadius: 1,
|
|
54
|
+
borderTopRightRadius: 1,
|
|
55
|
+
direction: 'column',
|
|
56
|
+
fieldSpace: 3,
|
|
57
|
+
outlineOffset: 8,
|
|
58
|
+
outlineWidth: 1,
|
|
59
|
+
showIcon: true,
|
|
60
|
+
space: 3
|
|
61
|
+
}
|
|
62
|
+
}
|
package/build/rn/Carousel.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Fri, 17 May 2024 16:23:28 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
const PaletteIconChevronRight = require('@telus-uds/palette-public-mobile/build/rn/icons/ChevronRight')
|
|
9
|
+
const PaletteIconPause = require('@telus-uds/palette-public-mobile/build/rn/icons/Pause')
|
|
10
|
+
const PaletteIconPlaySolid = require('@telus-uds/palette-public-mobile/build/rn/icons/PlaySolid')
|
|
9
11
|
const PaletteIconChevronLeft = require('@telus-uds/palette-public-mobile/build/rn/icons/ChevronLeft')
|
|
10
12
|
|
|
11
13
|
module.exports = {
|
|
@@ -32,6 +34,8 @@ module.exports = {
|
|
|
32
34
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
33
35
|
iconBackgroundColor: '#fefefc',
|
|
34
36
|
nextIcon: PaletteIconChevronRight,
|
|
37
|
+
pauseIcon: PaletteIconPause,
|
|
38
|
+
playIcon: PaletteIconPlaySolid,
|
|
35
39
|
previousIcon: PaletteIconChevronLeft,
|
|
36
40
|
showPanelNavigation: true,
|
|
37
41
|
showPanelTabs: true,
|