@telus-uds/theme-allium 4.30.0 → 4.32.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/ExpandCollapseControl.json +24 -1
- package/build/android/ExpandCollapsePanel.json +4 -1
- package/build/android/List.json +6 -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 +1217 -978
- package/build/android/theme.json +279 -6
- package/build/ios/Card.json +161 -0
- package/build/ios/CardGroup.json +52 -0
- package/build/ios/ExpandCollapseControl.json +24 -1
- package/build/ios/ExpandCollapsePanel.json +4 -1
- package/build/ios/List.json +6 -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 +1217 -978
- package/build/ios/theme.json +279 -6
- package/build/rn/ActivityIndicator.js +1 -1
- package/build/rn/Badge.js +1 -1
- package/build/rn/BlockQuote.js +1 -1
- package/build/rn/Box.js +1 -1
- package/build/rn/Breadcrumbs.js +1 -1
- package/build/rn/Button.js +1 -1
- package/build/rn/ButtonDropdown.js +1 -1
- package/build/rn/ButtonGroup.js +1 -1
- package/build/rn/ButtonGroupItem.js +1 -1
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +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 +21 -2
- package/build/rn/ExpandCollapseMini.js +1 -1
- package/build/rn/ExpandCollapseMiniControl.js +1 -1
- package/build/rn/ExpandCollapsePanel.js +10 -2
- 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 +2 -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 +1217 -978
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +181 -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 +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 +21 -2
- package/build/web/ExpandCollapseMini.js +1 -1
- package/build/web/ExpandCollapseMiniControl.js +1 -1
- package/build/web/ExpandCollapsePanel.js +10 -2
- 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 +2 -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 +1217 -978
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +181 -9
- package/package.json +5 -5
- package/theme.json +189 -5
package/build/ios/theme.json
CHANGED
|
@@ -2173,6 +2173,10 @@
|
|
|
2173
2173
|
"type": "variant",
|
|
2174
2174
|
"values": [true]
|
|
2175
2175
|
},
|
|
2176
|
+
"isControl": {
|
|
2177
|
+
"type": "variant",
|
|
2178
|
+
"values": [true, false]
|
|
2179
|
+
},
|
|
2176
2180
|
"padding": {
|
|
2177
2181
|
"type": "variant",
|
|
2178
2182
|
"values": ["narrow", "intermediate", "compact", "custom"]
|
|
@@ -2182,6 +2186,11 @@
|
|
|
2182
2186
|
"values": [true, false],
|
|
2183
2187
|
"type": "state"
|
|
2184
2188
|
},
|
|
2189
|
+
"selected": {
|
|
2190
|
+
"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`.",
|
|
2191
|
+
"values": [true],
|
|
2192
|
+
"type": "state"
|
|
2193
|
+
},
|
|
2185
2194
|
"viewport": {
|
|
2186
2195
|
"description": "The size label for the current screen viewport based on the current screen width",
|
|
2187
2196
|
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
@@ -2189,6 +2198,77 @@
|
|
|
2189
2198
|
}
|
|
2190
2199
|
},
|
|
2191
2200
|
"rules": [
|
|
2201
|
+
{
|
|
2202
|
+
"if": {
|
|
2203
|
+
"interactive": true,
|
|
2204
|
+
"isControl": true
|
|
2205
|
+
},
|
|
2206
|
+
"tokens": {
|
|
2207
|
+
"borderColor": {
|
|
2208
|
+
"red": 0.69804,
|
|
2209
|
+
"green": 0.72549,
|
|
2210
|
+
"blue": 0.74902,
|
|
2211
|
+
"alpha": 1
|
|
2212
|
+
},
|
|
2213
|
+
"borderWidth": 1
|
|
2214
|
+
}
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
"if": {
|
|
2218
|
+
"interactive": true,
|
|
2219
|
+
"isControl": true,
|
|
2220
|
+
"selected": true
|
|
2221
|
+
},
|
|
2222
|
+
"tokens": {
|
|
2223
|
+
"backgroundColor": {
|
|
2224
|
+
"red": 0.95686,
|
|
2225
|
+
"green": 0.95686,
|
|
2226
|
+
"blue": 0.96863,
|
|
2227
|
+
"alpha": 1
|
|
2228
|
+
},
|
|
2229
|
+
"borderColor": {
|
|
2230
|
+
"red": 0.29412,
|
|
2231
|
+
"green": 0.15686,
|
|
2232
|
+
"blue": 0.42745,
|
|
2233
|
+
"alpha": 1
|
|
2234
|
+
},
|
|
2235
|
+
"borderWidth": 1,
|
|
2236
|
+
"iconBackgroundColor": {
|
|
2237
|
+
"red": 0.8902,
|
|
2238
|
+
"green": 0.90196,
|
|
2239
|
+
"blue": 0.9098,
|
|
2240
|
+
"alpha": 1
|
|
2241
|
+
},
|
|
2242
|
+
"iconColor": {
|
|
2243
|
+
"red": 0.29412,
|
|
2244
|
+
"green": 0.15686,
|
|
2245
|
+
"blue": 0.42745,
|
|
2246
|
+
"alpha": 1
|
|
2247
|
+
},
|
|
2248
|
+
"inputBackgroundColor": {
|
|
2249
|
+
"red": 0.8902,
|
|
2250
|
+
"green": 0.90196,
|
|
2251
|
+
"blue": 0.9098,
|
|
2252
|
+
"alpha": 1
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
"if": {
|
|
2258
|
+
"interactive": true,
|
|
2259
|
+
"isControl": true,
|
|
2260
|
+
"pressed": false
|
|
2261
|
+
},
|
|
2262
|
+
"tokens": {
|
|
2263
|
+
"borderColor": {
|
|
2264
|
+
"red": 0,
|
|
2265
|
+
"green": 0,
|
|
2266
|
+
"blue": 0,
|
|
2267
|
+
"alpha": 0
|
|
2268
|
+
},
|
|
2269
|
+
"borderWidth": 2
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2192
2272
|
{
|
|
2193
2273
|
"if": {
|
|
2194
2274
|
"borderRadius": "none"
|
|
@@ -2373,6 +2453,7 @@
|
|
|
2373
2453
|
{
|
|
2374
2454
|
"if": {
|
|
2375
2455
|
"interactive": true,
|
|
2456
|
+
"isControl": false,
|
|
2376
2457
|
"pressed": false
|
|
2377
2458
|
},
|
|
2378
2459
|
"tokens": {
|
|
@@ -2385,6 +2466,21 @@
|
|
|
2385
2466
|
"borderWidth": 2
|
|
2386
2467
|
}
|
|
2387
2468
|
},
|
|
2469
|
+
{
|
|
2470
|
+
"if": {
|
|
2471
|
+
"interactive": true,
|
|
2472
|
+
"pressed": false
|
|
2473
|
+
},
|
|
2474
|
+
"tokens": {
|
|
2475
|
+
"borderColor": {
|
|
2476
|
+
"red": 0,
|
|
2477
|
+
"green": 0,
|
|
2478
|
+
"blue": 0,
|
|
2479
|
+
"alpha": 0
|
|
2480
|
+
},
|
|
2481
|
+
"borderWidth": 2
|
|
2482
|
+
}
|
|
2483
|
+
},
|
|
2388
2484
|
{
|
|
2389
2485
|
"if": {
|
|
2390
2486
|
"interactive": true,
|
|
@@ -2405,6 +2501,28 @@
|
|
|
2405
2501
|
},
|
|
2406
2502
|
"borderWidth": 2
|
|
2407
2503
|
}
|
|
2504
|
+
},
|
|
2505
|
+
{
|
|
2506
|
+
"if": {
|
|
2507
|
+
"interactive": true,
|
|
2508
|
+
"isControl": false,
|
|
2509
|
+
"selected": true
|
|
2510
|
+
},
|
|
2511
|
+
"tokens": {
|
|
2512
|
+
"backgroundColor": {
|
|
2513
|
+
"red": 0.95686,
|
|
2514
|
+
"green": 0.95686,
|
|
2515
|
+
"blue": 0.96863,
|
|
2516
|
+
"alpha": 1
|
|
2517
|
+
},
|
|
2518
|
+
"borderColor": {
|
|
2519
|
+
"red": 0.29412,
|
|
2520
|
+
"green": 0.15686,
|
|
2521
|
+
"blue": 0.42745,
|
|
2522
|
+
"alpha": 1
|
|
2523
|
+
},
|
|
2524
|
+
"borderWidth": 1
|
|
2525
|
+
}
|
|
2408
2526
|
}
|
|
2409
2527
|
],
|
|
2410
2528
|
"tokens": {
|
|
@@ -2428,6 +2546,49 @@
|
|
|
2428
2546
|
"contentJustifyContent": "flex-start",
|
|
2429
2547
|
"flex": 1,
|
|
2430
2548
|
"gradient": null,
|
|
2549
|
+
"icon": "PaletteIconCheckmark",
|
|
2550
|
+
"iconBackgroundColor": {
|
|
2551
|
+
"red": 0.95686,
|
|
2552
|
+
"green": 0.95686,
|
|
2553
|
+
"blue": 0.96863,
|
|
2554
|
+
"alpha": 1
|
|
2555
|
+
},
|
|
2556
|
+
"iconColor": {
|
|
2557
|
+
"red": 0.29412,
|
|
2558
|
+
"green": 0.15686,
|
|
2559
|
+
"blue": 0.42745,
|
|
2560
|
+
"alpha": 1
|
|
2561
|
+
},
|
|
2562
|
+
"iconSize": 20,
|
|
2563
|
+
"inputBackgroundColor": {
|
|
2564
|
+
"red": 0.95686,
|
|
2565
|
+
"green": 0.95686,
|
|
2566
|
+
"blue": 0.96863,
|
|
2567
|
+
"alpha": 1
|
|
2568
|
+
},
|
|
2569
|
+
"inputBorderColor": {
|
|
2570
|
+
"red": 0,
|
|
2571
|
+
"green": 0,
|
|
2572
|
+
"blue": 0,
|
|
2573
|
+
"alpha": 0
|
|
2574
|
+
},
|
|
2575
|
+
"inputBorderRadius": 4,
|
|
2576
|
+
"inputBorderWidth": 0,
|
|
2577
|
+
"inputHeight": 32,
|
|
2578
|
+
"inputShadow": {
|
|
2579
|
+
"inset": true,
|
|
2580
|
+
"offsetX": 0,
|
|
2581
|
+
"offsetY": 2,
|
|
2582
|
+
"blur": 2,
|
|
2583
|
+
"spread": 0,
|
|
2584
|
+
"color": {
|
|
2585
|
+
"red": 0,
|
|
2586
|
+
"green": 0,
|
|
2587
|
+
"blue": 0,
|
|
2588
|
+
"alpha": 0.1
|
|
2589
|
+
}
|
|
2590
|
+
},
|
|
2591
|
+
"inputWidth": 32,
|
|
2431
2592
|
"minWidth": null,
|
|
2432
2593
|
"paddingBottom": 32,
|
|
2433
2594
|
"paddingLeft": 24,
|
|
@@ -2436,6 +2597,58 @@
|
|
|
2436
2597
|
"shadow": null
|
|
2437
2598
|
}
|
|
2438
2599
|
},
|
|
2600
|
+
"CardGroup": {
|
|
2601
|
+
"appearances": {
|
|
2602
|
+
"pressed": {
|
|
2603
|
+
"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.",
|
|
2604
|
+
"values": [true, false],
|
|
2605
|
+
"type": "state"
|
|
2606
|
+
},
|
|
2607
|
+
"selected": {
|
|
2608
|
+
"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`.",
|
|
2609
|
+
"values": [true],
|
|
2610
|
+
"type": "state"
|
|
2611
|
+
},
|
|
2612
|
+
"viewport": {
|
|
2613
|
+
"description": "The size label for the current screen viewport based on the current screen width",
|
|
2614
|
+
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
2615
|
+
"type": "state"
|
|
2616
|
+
}
|
|
2617
|
+
},
|
|
2618
|
+
"rules": [
|
|
2619
|
+
{
|
|
2620
|
+
"if": {
|
|
2621
|
+
"viewport": ["lg", "xl"]
|
|
2622
|
+
},
|
|
2623
|
+
"tokens": {
|
|
2624
|
+
"direction": "row",
|
|
2625
|
+
"space": 5
|
|
2626
|
+
}
|
|
2627
|
+
},
|
|
2628
|
+
{
|
|
2629
|
+
"if": {
|
|
2630
|
+
"viewport": ["xs", "sm", "md"]
|
|
2631
|
+
},
|
|
2632
|
+
"tokens": {
|
|
2633
|
+
"direction": "column",
|
|
2634
|
+
"fieldSpace": 3,
|
|
2635
|
+
"space": 3
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
],
|
|
2639
|
+
"tokens": {
|
|
2640
|
+
"borderBottomLeftRadius": 1,
|
|
2641
|
+
"borderBottomRightRadius": 1,
|
|
2642
|
+
"borderTopLeftRadius": 1,
|
|
2643
|
+
"borderTopRightRadius": 1,
|
|
2644
|
+
"direction": "column",
|
|
2645
|
+
"fieldSpace": 3,
|
|
2646
|
+
"outlineOffset": 8,
|
|
2647
|
+
"outlineWidth": 1,
|
|
2648
|
+
"showIcon": true,
|
|
2649
|
+
"space": 3
|
|
2650
|
+
}
|
|
2651
|
+
},
|
|
2439
2652
|
"Carousel": {
|
|
2440
2653
|
"appearances": {
|
|
2441
2654
|
"viewport": {
|
|
@@ -3889,7 +4102,9 @@
|
|
|
3889
4102
|
"mini": true
|
|
3890
4103
|
},
|
|
3891
4104
|
"tokens": {
|
|
3892
|
-
"
|
|
4105
|
+
"borderWidth": null,
|
|
4106
|
+
"paddingBottom": 0,
|
|
4107
|
+
"paddingTop": 0
|
|
3893
4108
|
}
|
|
3894
4109
|
},
|
|
3895
4110
|
{
|
|
@@ -3911,6 +4126,27 @@
|
|
|
3911
4126
|
},
|
|
3912
4127
|
"borderWidth": 1
|
|
3913
4128
|
}
|
|
4129
|
+
},
|
|
4130
|
+
{
|
|
4131
|
+
"if": {
|
|
4132
|
+
"mini": true,
|
|
4133
|
+
"pressed": true
|
|
4134
|
+
},
|
|
4135
|
+
"tokens": {
|
|
4136
|
+
"backgroundColor": {
|
|
4137
|
+
"red": 0.8902,
|
|
4138
|
+
"green": 0.90196,
|
|
4139
|
+
"blue": 0.9098,
|
|
4140
|
+
"alpha": 1
|
|
4141
|
+
},
|
|
4142
|
+
"borderColor": {
|
|
4143
|
+
"red": 0.40392,
|
|
4144
|
+
"green": 0.43137,
|
|
4145
|
+
"blue": 0.45098,
|
|
4146
|
+
"alpha": 1
|
|
4147
|
+
},
|
|
4148
|
+
"borderWidth": null
|
|
4149
|
+
}
|
|
3914
4150
|
}
|
|
3915
4151
|
],
|
|
3916
4152
|
"tokens": {
|
|
@@ -4116,7 +4352,10 @@
|
|
|
4116
4352
|
"mini": true
|
|
4117
4353
|
},
|
|
4118
4354
|
"tokens": {
|
|
4119
|
-
"
|
|
4355
|
+
"contentPaddingBottom": 0,
|
|
4356
|
+
"contentPaddingLeft": 0,
|
|
4357
|
+
"contentPanelPaddingBottom": 0,
|
|
4358
|
+
"contentPanelPaddingTop": 0
|
|
4120
4359
|
}
|
|
4121
4360
|
}
|
|
4122
4361
|
],
|
|
@@ -5852,6 +6091,12 @@
|
|
|
5852
6091
|
},
|
|
5853
6092
|
"itemIconSize": 24,
|
|
5854
6093
|
"itemLineHeight": 1.5,
|
|
6094
|
+
"itemTextColor": {
|
|
6095
|
+
"red": 0.2549,
|
|
6096
|
+
"green": 0.27059,
|
|
6097
|
+
"blue": 0.27843,
|
|
6098
|
+
"alpha": 1
|
|
6099
|
+
},
|
|
5855
6100
|
"listGutter": 8
|
|
5856
6101
|
}
|
|
5857
6102
|
},
|
|
@@ -7982,8 +8227,23 @@
|
|
|
7982
8227
|
}
|
|
7983
8228
|
},
|
|
7984
8229
|
"QuickLinksFeature": {
|
|
7985
|
-
"appearances": {
|
|
7986
|
-
|
|
8230
|
+
"appearances": {
|
|
8231
|
+
"viewport": {
|
|
8232
|
+
"description": "The size label for the current screen viewport based on the current screen width",
|
|
8233
|
+
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
8234
|
+
"type": "state"
|
|
8235
|
+
}
|
|
8236
|
+
},
|
|
8237
|
+
"rules": [
|
|
8238
|
+
{
|
|
8239
|
+
"if": {
|
|
8240
|
+
"viewport": "xs"
|
|
8241
|
+
},
|
|
8242
|
+
"tokens": {
|
|
8243
|
+
"stackSpace": 4
|
|
8244
|
+
}
|
|
8245
|
+
}
|
|
8246
|
+
],
|
|
7987
8247
|
"tokens": {
|
|
7988
8248
|
"stackGap": 5,
|
|
7989
8249
|
"stackJustify": "center",
|
|
@@ -8042,7 +8302,7 @@
|
|
|
8042
8302
|
"fontName": "HelveticaNow",
|
|
8043
8303
|
"fontSize": 16,
|
|
8044
8304
|
"fontWeight": 700,
|
|
8045
|
-
"gap":
|
|
8305
|
+
"gap": 5,
|
|
8046
8306
|
"imageDimension": 128,
|
|
8047
8307
|
"outerBorderColor": {
|
|
8048
8308
|
"red": 0,
|
|
@@ -8256,6 +8516,19 @@
|
|
|
8256
8516
|
"descriptionFontWeight": 400,
|
|
8257
8517
|
"descriptionLineHeight": 1.42857142857,
|
|
8258
8518
|
"descriptionMarginLeft": null,
|
|
8519
|
+
"icon": null,
|
|
8520
|
+
"iconBackgroundColor": {
|
|
8521
|
+
"red": 0,
|
|
8522
|
+
"green": 0,
|
|
8523
|
+
"blue": 0,
|
|
8524
|
+
"alpha": 0
|
|
8525
|
+
},
|
|
8526
|
+
"iconColor": {
|
|
8527
|
+
"red": 0,
|
|
8528
|
+
"green": 0,
|
|
8529
|
+
"blue": 0,
|
|
8530
|
+
"alpha": 0
|
|
8531
|
+
},
|
|
8259
8532
|
"inputBackgroundColor": {
|
|
8260
8533
|
"red": 1,
|
|
8261
8534
|
"green": 1,
|
|
@@ -12897,7 +13170,7 @@
|
|
|
12897
13170
|
}
|
|
12898
13171
|
},
|
|
12899
13172
|
"metadata": {
|
|
12900
|
-
"themeTokensVersion": "2.
|
|
13173
|
+
"themeTokensVersion": "2.57.0",
|
|
12901
13174
|
"name": "theme-allium"
|
|
12902
13175
|
}
|
|
12903
13176
|
}
|
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, 07 Jun 2024 22:34:53 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/Checkmark')
|
|
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: '#b2b9bf', borderWidth: 1 }
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
if: { interactive: true, isControl: true, selected: true },
|
|
58
|
+
tokens: {
|
|
59
|
+
backgroundColor: '#f4f4f7',
|
|
60
|
+
borderColor: '#4b286d',
|
|
61
|
+
borderWidth: 1,
|
|
62
|
+
iconBackgroundColor: '#e3e6e8',
|
|
63
|
+
iconColor: '#4b286d',
|
|
64
|
+
inputBackgroundColor: '#e3e6e8'
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
if: { hover: true, interactive: true, isControl: true },
|
|
69
|
+
tokens: { iconColor: '#414547' }
|
|
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: '#e3e6e8',
|
|
89
|
+
iconColor: '#414547',
|
|
90
|
+
inputBackgroundColor: '#e3e6e8'
|
|
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: 12 } },
|
|
@@ -137,9 +184,18 @@ module.exports = {
|
|
|
137
184
|
}
|
|
138
185
|
},
|
|
139
186
|
{
|
|
140
|
-
if: {
|
|
187
|
+
if: {
|
|
188
|
+
focus: false,
|
|
189
|
+
interactive: true,
|
|
190
|
+
isControl: false,
|
|
191
|
+
pressed: false
|
|
192
|
+
},
|
|
141
193
|
tokens: { borderColor: '#ffffff', borderWidth: 2 }
|
|
142
194
|
},
|
|
195
|
+
{
|
|
196
|
+
if: { focus: false, interactive: true, pressed: false },
|
|
197
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
|
|
198
|
+
},
|
|
143
199
|
{
|
|
144
200
|
if: { hover: true, interactive: true },
|
|
145
201
|
tokens: {
|
|
@@ -158,6 +214,14 @@ module.exports = {
|
|
|
158
214
|
borderColor: '#e3e6e8',
|
|
159
215
|
borderWidth: 2
|
|
160
216
|
}
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
if: { interactive: true, isControl: false, selected: true },
|
|
220
|
+
tokens: {
|
|
221
|
+
backgroundColor: '#f4f4f7',
|
|
222
|
+
borderColor: '#4b286d',
|
|
223
|
+
borderWidth: 1
|
|
224
|
+
}
|
|
161
225
|
}
|
|
162
226
|
],
|
|
163
227
|
tokens: {
|
|
@@ -171,6 +235,24 @@ module.exports = {
|
|
|
171
235
|
contentJustifyContent: 'flex-start',
|
|
172
236
|
flex: 1,
|
|
173
237
|
gradient: null,
|
|
238
|
+
icon: PaletteIconCheckmark,
|
|
239
|
+
iconBackgroundColor: '#f4f4f7',
|
|
240
|
+
iconColor: '#4b286d',
|
|
241
|
+
iconSize: 20,
|
|
242
|
+
inputBackgroundColor: '#f4f4f7',
|
|
243
|
+
inputBorderColor: 'rgba(0, 0, 0, 0)',
|
|
244
|
+
inputBorderRadius: 4,
|
|
245
|
+
inputBorderWidth: 0,
|
|
246
|
+
inputHeight: 32,
|
|
247
|
+
inputShadow: {
|
|
248
|
+
blur: 2,
|
|
249
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
250
|
+
inset: true,
|
|
251
|
+
offsetX: 0,
|
|
252
|
+
offsetY: 2,
|
|
253
|
+
spread: 0
|
|
254
|
+
},
|
|
255
|
+
inputWidth: 32,
|
|
174
256
|
minWidth: null,
|
|
175
257
|
paddingBottom: 32,
|
|
176
258
|
paddingLeft: 24,
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Fri, 07 Jun 2024 22:34:53 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
|
+
}
|