@telus-uds/theme-koodo 5.13.0 → 5.14.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/QuickLinksFeature.json +17 -2
- package/build/android/QuickLinksFeatureItem.json +1 -1
- package/build/android/Radio.json +13 -0
- package/build/android/schema.json +920 -688
- package/build/android/theme.json +245 -4
- package/build/ios/Card.json +161 -0
- package/build/ios/CardGroup.json +52 -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 +920 -688
- package/build/ios/theme.json +245 -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 +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 +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 +920 -688
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +151 -7
- 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 +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 +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 +920 -688
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +151 -7
- package/package.json +4 -4
- package/theme.json +159 -3
package/build/ios/theme.json
CHANGED
|
@@ -1963,6 +1963,10 @@
|
|
|
1963
1963
|
"type": "variant",
|
|
1964
1964
|
"values": [true]
|
|
1965
1965
|
},
|
|
1966
|
+
"isControl": {
|
|
1967
|
+
"type": "variant",
|
|
1968
|
+
"values": [true, false]
|
|
1969
|
+
},
|
|
1966
1970
|
"padding": {
|
|
1967
1971
|
"type": "variant",
|
|
1968
1972
|
"values": ["narrow", "intermediate", "compact", "custom"]
|
|
@@ -1972,6 +1976,11 @@
|
|
|
1972
1976
|
"values": [true, false],
|
|
1973
1977
|
"type": "state"
|
|
1974
1978
|
},
|
|
1979
|
+
"selected": {
|
|
1980
|
+
"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`.",
|
|
1981
|
+
"values": [true],
|
|
1982
|
+
"type": "state"
|
|
1983
|
+
},
|
|
1975
1984
|
"viewport": {
|
|
1976
1985
|
"description": "The size label for the current screen viewport based on the current screen width",
|
|
1977
1986
|
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
@@ -1979,6 +1988,77 @@
|
|
|
1979
1988
|
}
|
|
1980
1989
|
},
|
|
1981
1990
|
"rules": [
|
|
1991
|
+
{
|
|
1992
|
+
"if": {
|
|
1993
|
+
"interactive": true,
|
|
1994
|
+
"isControl": true
|
|
1995
|
+
},
|
|
1996
|
+
"tokens": {
|
|
1997
|
+
"borderColor": {
|
|
1998
|
+
"red": 0.78824,
|
|
1999
|
+
"green": 0.78431,
|
|
2000
|
+
"blue": 0.78431,
|
|
2001
|
+
"alpha": 1
|
|
2002
|
+
},
|
|
2003
|
+
"borderWidth": 1
|
|
2004
|
+
}
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"if": {
|
|
2008
|
+
"interactive": true,
|
|
2009
|
+
"isControl": true,
|
|
2010
|
+
"selected": true
|
|
2011
|
+
},
|
|
2012
|
+
"tokens": {
|
|
2013
|
+
"backgroundColor": {
|
|
2014
|
+
"red": 0.93725,
|
|
2015
|
+
"green": 0.93725,
|
|
2016
|
+
"blue": 0.93725,
|
|
2017
|
+
"alpha": 1
|
|
2018
|
+
},
|
|
2019
|
+
"borderColor": {
|
|
2020
|
+
"red": 0,
|
|
2021
|
+
"green": 0,
|
|
2022
|
+
"blue": 0,
|
|
2023
|
+
"alpha": 1
|
|
2024
|
+
},
|
|
2025
|
+
"borderWidth": 1,
|
|
2026
|
+
"iconBackgroundColor": {
|
|
2027
|
+
"red": 0.78824,
|
|
2028
|
+
"green": 0.78431,
|
|
2029
|
+
"blue": 0.78431,
|
|
2030
|
+
"alpha": 1
|
|
2031
|
+
},
|
|
2032
|
+
"iconColor": {
|
|
2033
|
+
"red": 0,
|
|
2034
|
+
"green": 0,
|
|
2035
|
+
"blue": 0,
|
|
2036
|
+
"alpha": 1
|
|
2037
|
+
},
|
|
2038
|
+
"inputBackgroundColor": {
|
|
2039
|
+
"red": 0.78824,
|
|
2040
|
+
"green": 0.78431,
|
|
2041
|
+
"blue": 0.78431,
|
|
2042
|
+
"alpha": 1
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
"if": {
|
|
2048
|
+
"interactive": true,
|
|
2049
|
+
"isControl": true,
|
|
2050
|
+
"pressed": false
|
|
2051
|
+
},
|
|
2052
|
+
"tokens": {
|
|
2053
|
+
"borderColor": {
|
|
2054
|
+
"red": 0,
|
|
2055
|
+
"green": 0,
|
|
2056
|
+
"blue": 0,
|
|
2057
|
+
"alpha": 0
|
|
2058
|
+
},
|
|
2059
|
+
"borderWidth": 2
|
|
2060
|
+
}
|
|
2061
|
+
},
|
|
1982
2062
|
{
|
|
1983
2063
|
"if": {
|
|
1984
2064
|
"borderRadius": "none"
|
|
@@ -2143,6 +2223,7 @@
|
|
|
2143
2223
|
{
|
|
2144
2224
|
"if": {
|
|
2145
2225
|
"interactive": true,
|
|
2226
|
+
"isControl": false,
|
|
2146
2227
|
"pressed": false
|
|
2147
2228
|
},
|
|
2148
2229
|
"tokens": {
|
|
@@ -2155,6 +2236,21 @@
|
|
|
2155
2236
|
"borderWidth": 2
|
|
2156
2237
|
}
|
|
2157
2238
|
},
|
|
2239
|
+
{
|
|
2240
|
+
"if": {
|
|
2241
|
+
"interactive": true,
|
|
2242
|
+
"pressed": false
|
|
2243
|
+
},
|
|
2244
|
+
"tokens": {
|
|
2245
|
+
"borderColor": {
|
|
2246
|
+
"red": 0,
|
|
2247
|
+
"green": 0,
|
|
2248
|
+
"blue": 0,
|
|
2249
|
+
"alpha": 0
|
|
2250
|
+
},
|
|
2251
|
+
"borderWidth": 2
|
|
2252
|
+
}
|
|
2253
|
+
},
|
|
2158
2254
|
{
|
|
2159
2255
|
"if": {
|
|
2160
2256
|
"interactive": true,
|
|
@@ -2175,6 +2271,28 @@
|
|
|
2175
2271
|
},
|
|
2176
2272
|
"borderWidth": 2
|
|
2177
2273
|
}
|
|
2274
|
+
},
|
|
2275
|
+
{
|
|
2276
|
+
"if": {
|
|
2277
|
+
"interactive": true,
|
|
2278
|
+
"isControl": false,
|
|
2279
|
+
"selected": true
|
|
2280
|
+
},
|
|
2281
|
+
"tokens": {
|
|
2282
|
+
"backgroundColor": {
|
|
2283
|
+
"red": 0.93725,
|
|
2284
|
+
"green": 0.93725,
|
|
2285
|
+
"blue": 0.93725,
|
|
2286
|
+
"alpha": 1
|
|
2287
|
+
},
|
|
2288
|
+
"borderColor": {
|
|
2289
|
+
"red": 0,
|
|
2290
|
+
"green": 0,
|
|
2291
|
+
"blue": 0,
|
|
2292
|
+
"alpha": 1
|
|
2293
|
+
},
|
|
2294
|
+
"borderWidth": 1
|
|
2295
|
+
}
|
|
2178
2296
|
}
|
|
2179
2297
|
],
|
|
2180
2298
|
"tokens": {
|
|
@@ -2198,6 +2316,49 @@
|
|
|
2198
2316
|
"contentJustifyContent": "flex-start",
|
|
2199
2317
|
"flex": 1,
|
|
2200
2318
|
"gradient": null,
|
|
2319
|
+
"icon": "PaletteIconCheck",
|
|
2320
|
+
"iconBackgroundColor": {
|
|
2321
|
+
"red": 0.93725,
|
|
2322
|
+
"green": 0.93725,
|
|
2323
|
+
"blue": 0.93725,
|
|
2324
|
+
"alpha": 1
|
|
2325
|
+
},
|
|
2326
|
+
"iconColor": {
|
|
2327
|
+
"red": 0,
|
|
2328
|
+
"green": 0,
|
|
2329
|
+
"blue": 0,
|
|
2330
|
+
"alpha": 1
|
|
2331
|
+
},
|
|
2332
|
+
"iconSize": 20,
|
|
2333
|
+
"inputBackgroundColor": {
|
|
2334
|
+
"red": 0.93725,
|
|
2335
|
+
"green": 0.93725,
|
|
2336
|
+
"blue": 0.93725,
|
|
2337
|
+
"alpha": 1
|
|
2338
|
+
},
|
|
2339
|
+
"inputBorderColor": {
|
|
2340
|
+
"red": 0,
|
|
2341
|
+
"green": 0,
|
|
2342
|
+
"blue": 0,
|
|
2343
|
+
"alpha": 0
|
|
2344
|
+
},
|
|
2345
|
+
"inputBorderRadius": 4,
|
|
2346
|
+
"inputBorderWidth": 0,
|
|
2347
|
+
"inputHeight": 32,
|
|
2348
|
+
"inputShadow": {
|
|
2349
|
+
"inset": true,
|
|
2350
|
+
"offsetX": 0,
|
|
2351
|
+
"offsetY": 2,
|
|
2352
|
+
"blur": 2,
|
|
2353
|
+
"spread": 0,
|
|
2354
|
+
"color": {
|
|
2355
|
+
"red": 0,
|
|
2356
|
+
"green": 0,
|
|
2357
|
+
"blue": 0,
|
|
2358
|
+
"alpha": 0.1
|
|
2359
|
+
}
|
|
2360
|
+
},
|
|
2361
|
+
"inputWidth": 32,
|
|
2201
2362
|
"minWidth": null,
|
|
2202
2363
|
"paddingBottom": 32,
|
|
2203
2364
|
"paddingLeft": 24,
|
|
@@ -2206,6 +2367,58 @@
|
|
|
2206
2367
|
"shadow": null
|
|
2207
2368
|
}
|
|
2208
2369
|
},
|
|
2370
|
+
"CardGroup": {
|
|
2371
|
+
"appearances": {
|
|
2372
|
+
"pressed": {
|
|
2373
|
+
"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.",
|
|
2374
|
+
"values": [true, false],
|
|
2375
|
+
"type": "state"
|
|
2376
|
+
},
|
|
2377
|
+
"selected": {
|
|
2378
|
+
"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`.",
|
|
2379
|
+
"values": [true],
|
|
2380
|
+
"type": "state"
|
|
2381
|
+
},
|
|
2382
|
+
"viewport": {
|
|
2383
|
+
"description": "The size label for the current screen viewport based on the current screen width",
|
|
2384
|
+
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
2385
|
+
"type": "state"
|
|
2386
|
+
}
|
|
2387
|
+
},
|
|
2388
|
+
"rules": [
|
|
2389
|
+
{
|
|
2390
|
+
"if": {
|
|
2391
|
+
"viewport": ["lg", "xl"]
|
|
2392
|
+
},
|
|
2393
|
+
"tokens": {
|
|
2394
|
+
"direction": "row",
|
|
2395
|
+
"space": 5
|
|
2396
|
+
}
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
"if": {
|
|
2400
|
+
"viewport": ["xs", "sm", "md"]
|
|
2401
|
+
},
|
|
2402
|
+
"tokens": {
|
|
2403
|
+
"direction": "column",
|
|
2404
|
+
"fieldSpace": 3,
|
|
2405
|
+
"space": 3
|
|
2406
|
+
}
|
|
2407
|
+
}
|
|
2408
|
+
],
|
|
2409
|
+
"tokens": {
|
|
2410
|
+
"borderBottomLeftRadius": 1,
|
|
2411
|
+
"borderBottomRightRadius": 1,
|
|
2412
|
+
"borderTopLeftRadius": 1,
|
|
2413
|
+
"borderTopRightRadius": 1,
|
|
2414
|
+
"direction": "column",
|
|
2415
|
+
"fieldSpace": 3,
|
|
2416
|
+
"outlineOffset": 8,
|
|
2417
|
+
"outlineWidth": 1,
|
|
2418
|
+
"showIcon": true,
|
|
2419
|
+
"space": 3
|
|
2420
|
+
}
|
|
2421
|
+
},
|
|
2209
2422
|
"Carousel": {
|
|
2210
2423
|
"appearances": {
|
|
2211
2424
|
"viewport": {
|
|
@@ -7856,8 +8069,23 @@
|
|
|
7856
8069
|
}
|
|
7857
8070
|
},
|
|
7858
8071
|
"QuickLinksFeature": {
|
|
7859
|
-
"appearances": {
|
|
7860
|
-
|
|
8072
|
+
"appearances": {
|
|
8073
|
+
"viewport": {
|
|
8074
|
+
"description": "The size label for the current screen viewport based on the current screen width",
|
|
8075
|
+
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
8076
|
+
"type": "state"
|
|
8077
|
+
}
|
|
8078
|
+
},
|
|
8079
|
+
"rules": [
|
|
8080
|
+
{
|
|
8081
|
+
"if": {
|
|
8082
|
+
"viewport": "xs"
|
|
8083
|
+
},
|
|
8084
|
+
"tokens": {
|
|
8085
|
+
"stackSpace": 4
|
|
8086
|
+
}
|
|
8087
|
+
}
|
|
8088
|
+
],
|
|
7861
8089
|
"tokens": {
|
|
7862
8090
|
"stackGap": 5,
|
|
7863
8091
|
"stackJustify": "center",
|
|
@@ -7922,7 +8150,7 @@
|
|
|
7922
8150
|
"fontName": "StagSans",
|
|
7923
8151
|
"fontSize": 16,
|
|
7924
8152
|
"fontWeight": 600,
|
|
7925
|
-
"gap":
|
|
8153
|
+
"gap": 5,
|
|
7926
8154
|
"imageDimension": 128,
|
|
7927
8155
|
"outerBorderColor": {
|
|
7928
8156
|
"red": 0,
|
|
@@ -8171,6 +8399,19 @@
|
|
|
8171
8399
|
"descriptionFontWeight": 400,
|
|
8172
8400
|
"descriptionLineHeight": 1.4,
|
|
8173
8401
|
"descriptionMarginLeft": null,
|
|
8402
|
+
"icon": null,
|
|
8403
|
+
"iconBackgroundColor": {
|
|
8404
|
+
"red": 0,
|
|
8405
|
+
"green": 0,
|
|
8406
|
+
"blue": 0,
|
|
8407
|
+
"alpha": 0
|
|
8408
|
+
},
|
|
8409
|
+
"iconColor": {
|
|
8410
|
+
"red": 0,
|
|
8411
|
+
"green": 0,
|
|
8412
|
+
"blue": 0,
|
|
8413
|
+
"alpha": 0
|
|
8414
|
+
},
|
|
8174
8415
|
"inputBackgroundColor": {
|
|
8175
8416
|
"red": 1,
|
|
8176
8417
|
"green": 1,
|
|
@@ -12529,7 +12770,7 @@
|
|
|
12529
12770
|
}
|
|
12530
12771
|
},
|
|
12531
12772
|
"metadata": {
|
|
12532
|
-
"themeTokensVersion": "2.
|
|
12773
|
+
"themeTokensVersion": "2.56.0",
|
|
12533
12774
|
"name": "theme-koodo"
|
|
12534
12775
|
}
|
|
12535
12776
|
}
|
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:25 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
const PaletteIconCheck = require('@telus-uds/palette-koodo/build/rn/icons/Check')
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
11
|
appearances: {
|
|
@@ -28,6 +28,7 @@ module.exports = {
|
|
|
28
28
|
values: [ true, false ]
|
|
29
29
|
},
|
|
30
30
|
interactive: { type: 'variant', values: [ true ] },
|
|
31
|
+
isControl: { type: 'variant', values: [ true, false ] },
|
|
31
32
|
padding: {
|
|
32
33
|
type: 'variant',
|
|
33
34
|
values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
|
|
@@ -37,6 +38,11 @@ module.exports = {
|
|
|
37
38
|
type: 'state',
|
|
38
39
|
values: [ true, false ]
|
|
39
40
|
},
|
|
41
|
+
selected: {
|
|
42
|
+
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`.',
|
|
43
|
+
type: 'state',
|
|
44
|
+
values: [ true ]
|
|
45
|
+
},
|
|
40
46
|
viewport: {
|
|
41
47
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
42
48
|
type: 'state',
|
|
@@ -44,6 +50,47 @@ module.exports = {
|
|
|
44
50
|
}
|
|
45
51
|
},
|
|
46
52
|
rules: [
|
|
53
|
+
{
|
|
54
|
+
if: { interactive: true, isControl: true },
|
|
55
|
+
tokens: { borderColor: '#c9c8c8', borderWidth: 1 }
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
if: { interactive: true, isControl: true, selected: true },
|
|
59
|
+
tokens: {
|
|
60
|
+
backgroundColor: '#efefef',
|
|
61
|
+
borderColor: '#000000',
|
|
62
|
+
borderWidth: 1,
|
|
63
|
+
iconBackgroundColor: '#c9c8c8',
|
|
64
|
+
iconColor: '#000000',
|
|
65
|
+
inputBackgroundColor: '#c9c8c8'
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
if: { hover: true, interactive: true, isControl: true },
|
|
70
|
+
tokens: { iconColor: '#000000' }
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
if: {
|
|
74
|
+
focus: false,
|
|
75
|
+
interactive: true,
|
|
76
|
+
isControl: true,
|
|
77
|
+
pressed: false
|
|
78
|
+
},
|
|
79
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
if: {
|
|
83
|
+
hover: true,
|
|
84
|
+
interactive: true,
|
|
85
|
+
isControl: true,
|
|
86
|
+
selected: true
|
|
87
|
+
},
|
|
88
|
+
tokens: {
|
|
89
|
+
iconBackgroundColor: '#c9c8c8',
|
|
90
|
+
iconColor: '#000000',
|
|
91
|
+
inputBackgroundColor: '#c9c8c8'
|
|
92
|
+
}
|
|
93
|
+
},
|
|
47
94
|
{ if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
|
|
48
95
|
{ if: { borderRadius: 'small' }, tokens: { borderRadius: 4 } },
|
|
49
96
|
{ if: { borderRadius: 'large' }, tokens: { borderRadius: 8 } },
|
|
@@ -127,9 +174,18 @@ module.exports = {
|
|
|
127
174
|
}
|
|
128
175
|
},
|
|
129
176
|
{
|
|
130
|
-
if: {
|
|
177
|
+
if: {
|
|
178
|
+
focus: false,
|
|
179
|
+
interactive: true,
|
|
180
|
+
isControl: false,
|
|
181
|
+
pressed: false
|
|
182
|
+
},
|
|
131
183
|
tokens: { borderColor: '#ffffff', borderWidth: 2 }
|
|
132
184
|
},
|
|
185
|
+
{
|
|
186
|
+
if: { focus: false, interactive: true, pressed: false },
|
|
187
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
|
|
188
|
+
},
|
|
133
189
|
{
|
|
134
190
|
if: { hover: true, interactive: true },
|
|
135
191
|
tokens: {
|
|
@@ -148,6 +204,14 @@ module.exports = {
|
|
|
148
204
|
borderColor: '#c9c8c8',
|
|
149
205
|
borderWidth: 2
|
|
150
206
|
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
if: { interactive: true, isControl: false, selected: true },
|
|
210
|
+
tokens: {
|
|
211
|
+
backgroundColor: '#efefef',
|
|
212
|
+
borderColor: '#000000',
|
|
213
|
+
borderWidth: 1
|
|
214
|
+
}
|
|
151
215
|
}
|
|
152
216
|
],
|
|
153
217
|
tokens: {
|
|
@@ -161,6 +225,24 @@ module.exports = {
|
|
|
161
225
|
contentJustifyContent: 'flex-start',
|
|
162
226
|
flex: 1,
|
|
163
227
|
gradient: null,
|
|
228
|
+
icon: PaletteIconCheck,
|
|
229
|
+
iconBackgroundColor: '#efefef',
|
|
230
|
+
iconColor: '#000000',
|
|
231
|
+
iconSize: 20,
|
|
232
|
+
inputBackgroundColor: '#efefef',
|
|
233
|
+
inputBorderColor: 'rgba(0, 0, 0, 0)',
|
|
234
|
+
inputBorderRadius: 4,
|
|
235
|
+
inputBorderWidth: 0,
|
|
236
|
+
inputHeight: 32,
|
|
237
|
+
inputShadow: {
|
|
238
|
+
blur: 2,
|
|
239
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
240
|
+
inset: true,
|
|
241
|
+
offsetX: 0,
|
|
242
|
+
offsetY: 2,
|
|
243
|
+
spread: 0
|
|
244
|
+
},
|
|
245
|
+
inputWidth: 32,
|
|
164
246
|
minWidth: null,
|
|
165
247
|
paddingBottom: 32,
|
|
166
248
|
paddingLeft: 24,
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Fri, 17 May 2024 16:23:25 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
package/build/rn/Checkbox.js
CHANGED
package/build/rn/CheckboxCard.js
CHANGED