@telus-uds/theme-allium 5.1.0 → 5.2.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/ButtonGroupItem.json +1 -1
- package/build/android/CardGroup.json +4 -0
- package/build/android/DownloadApp.json +41 -0
- package/build/android/Link.json +9 -1
- package/build/android/TabBar.json +40 -0
- package/build/android/TabBarItem.json +75 -0
- package/build/android/schema.json +1475 -997
- package/build/android/theme.json +171 -3
- package/build/ios/ButtonGroupItem.json +1 -1
- package/build/ios/CardGroup.json +4 -0
- package/build/ios/DownloadApp.json +41 -0
- package/build/ios/Link.json +9 -1
- package/build/ios/TabBar.json +40 -0
- package/build/ios/TabBarItem.json +75 -0
- package/build/ios/schema.json +1475 -997
- package/build/ios/theme.json +171 -3
- package/build/rn/ActionCard.js +1 -1
- 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 +2 -2
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +1 -1
- package/build/rn/CardGroup.js +5 -1
- package/build/rn/Carousel.js +1 -1
- package/build/rn/CarouselTabsPanelItem.js +1 -1
- package/build/rn/CarouselThumbnail.js +1 -1
- package/build/rn/Checkbox.js +1 -1
- package/build/rn/CheckboxCard.js +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/DownloadApp.js +62 -0
- package/build/rn/ExpandCollapse.js +1 -1
- package/build/rn/ExpandCollapseControl.js +1 -1
- package/build/rn/ExpandCollapseMini.js +1 -1
- package/build/rn/ExpandCollapseMiniControl.js +1 -1
- package/build/rn/ExpandCollapsePanel.js +1 -1
- package/build/rn/Feedback.js +1 -1
- package/build/rn/Fieldset.js +1 -1
- package/build/rn/FileUpload.js +1 -1
- package/build/rn/Footnote.js +1 -1
- package/build/rn/FootnoteLink.js +1 -1
- package/build/rn/HorizontalScrollButton.js +1 -1
- package/build/rn/Icon.js +1 -1
- package/build/rn/IconButton.js +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 +3 -2
- 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 +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 +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/Status.js +1 -1
- package/build/rn/StepTracker.js +1 -1
- package/build/rn/StoryCard.js +1 -1
- package/build/rn/TabBar.js +34 -0
- package/build/rn/TabBarItem.js +69 -0
- 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 +1475 -997
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +148 -4
- package/build/web/ActionCard.js +1 -1
- 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 +2 -2
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +1 -1
- package/build/web/CardGroup.js +5 -1
- package/build/web/Carousel.js +1 -1
- package/build/web/CarouselTabsPanelItem.js +1 -1
- package/build/web/CarouselThumbnail.js +1 -1
- package/build/web/Checkbox.js +1 -1
- package/build/web/CheckboxCard.js +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/DownloadApp.js +62 -0
- package/build/web/ExpandCollapse.js +1 -1
- package/build/web/ExpandCollapseControl.js +1 -1
- package/build/web/ExpandCollapseMini.js +1 -1
- package/build/web/ExpandCollapseMiniControl.js +1 -1
- package/build/web/ExpandCollapsePanel.js +1 -1
- package/build/web/Feedback.js +1 -1
- package/build/web/Fieldset.js +1 -1
- package/build/web/FileUpload.js +1 -1
- package/build/web/Footnote.js +1 -1
- package/build/web/FootnoteLink.js +1 -1
- package/build/web/HorizontalScrollButton.js +1 -1
- package/build/web/Icon.js +1 -1
- package/build/web/IconButton.js +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 +3 -2
- 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 +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 +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/Status.js +1 -1
- package/build/web/StepTracker.js +1 -1
- package/build/web/StoryCard.js +1 -1
- package/build/web/TabBar.js +34 -0
- package/build/web/TabBarItem.js +69 -0
- 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 +4 -1
- package/build/web/schema.json +1475 -997
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +148 -4
- package/package.json +5 -5
- package/theme.json +148 -0
package/build/rn/spacingScale.js
CHANGED
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 25 Sep 2024 16:56:19 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -15,6 +15,10 @@ const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/C
|
|
|
15
15
|
const PaletteIconPause = require('@telus-uds/palette-allium/build/rn/icons/Pause')
|
|
16
16
|
const PaletteIconPlayVideo = require('@telus-uds/palette-allium/build/rn/icons/PlayVideo')
|
|
17
17
|
const PaletteIconArrowLeft = require('@telus-uds/palette-allium/build/rn/icons/ArrowLeft')
|
|
18
|
+
const PaletteIconAndroidEN = require('@telus-uds/palette-allium/build/rn/icons/AndroidEN')
|
|
19
|
+
const PaletteIconAndroidFR = require('@telus-uds/palette-allium/build/rn/icons/AndroidFR')
|
|
20
|
+
const PaletteIconIOSEN = require('@telus-uds/palette-allium/build/rn/icons/IOSEN')
|
|
21
|
+
const PaletteIconIOSFR = require('@telus-uds/palette-allium/build/rn/icons/IOSFR')
|
|
18
22
|
const PaletteIconStatusSuccess = require('@telus-uds/palette-allium/build/rn/icons/StatusSuccess')
|
|
19
23
|
const PaletteIconClose = require('@telus-uds/palette-allium/build/rn/icons/Close')
|
|
20
24
|
const PaletteIconAdd = require('@telus-uds/palette-allium/build/rn/icons/Add')
|
|
@@ -1062,7 +1066,7 @@ module.exports = {
|
|
|
1062
1066
|
iconPosition: {
|
|
1063
1067
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
1064
1068
|
type: 'state',
|
|
1065
|
-
values: [ 'left', 'right' ]
|
|
1069
|
+
values: [ 'left', 'right', 'inline' ]
|
|
1066
1070
|
},
|
|
1067
1071
|
inactive: {
|
|
1068
1072
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -1554,6 +1558,10 @@ module.exports = {
|
|
|
1554
1558
|
fieldSpace: 3,
|
|
1555
1559
|
outlineOffset: 8,
|
|
1556
1560
|
outlineWidth: 1,
|
|
1561
|
+
paddingBottom: 24,
|
|
1562
|
+
paddingLeft: 24,
|
|
1563
|
+
paddingRight: 24,
|
|
1564
|
+
paddingTop: 24,
|
|
1557
1565
|
showIcon: true,
|
|
1558
1566
|
space: 3
|
|
1559
1567
|
}
|
|
@@ -2423,6 +2431,56 @@ module.exports = {
|
|
|
2423
2431
|
],
|
|
2424
2432
|
tokens: { color: '#676e73', width: 1 }
|
|
2425
2433
|
},
|
|
2434
|
+
DownloadApp: {
|
|
2435
|
+
appearances: {
|
|
2436
|
+
focus: {
|
|
2437
|
+
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.",
|
|
2438
|
+
platforms: [ 'rn', 'web' ],
|
|
2439
|
+
type: 'state',
|
|
2440
|
+
values: [ true, false ]
|
|
2441
|
+
},
|
|
2442
|
+
hover: {
|
|
2443
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2444
|
+
platforms: [ 'rn', 'web' ],
|
|
2445
|
+
type: 'state',
|
|
2446
|
+
values: [ true, false ]
|
|
2447
|
+
},
|
|
2448
|
+
pressed: {
|
|
2449
|
+
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.',
|
|
2450
|
+
type: 'state',
|
|
2451
|
+
values: [ true, false ]
|
|
2452
|
+
}
|
|
2453
|
+
},
|
|
2454
|
+
rules: [
|
|
2455
|
+
{
|
|
2456
|
+
if: { focus: true },
|
|
2457
|
+
tokens: { borderColor: '#2b8000', borderRadius: 4 }
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
if: { hover: true },
|
|
2461
|
+
tokens: { borderColor: '#b2b9bf', borderRadius: 4 }
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
if: { pressed: true },
|
|
2465
|
+
tokens: { borderColor: '#1f5c09', borderRadius: 4 }
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
if: { focus: true, pressed: true },
|
|
2469
|
+
tokens: { borderColor: '#1f5c09', borderRadius: 4 }
|
|
2470
|
+
}
|
|
2471
|
+
],
|
|
2472
|
+
tokens: {
|
|
2473
|
+
androidENIcon: PaletteIconAndroidEN,
|
|
2474
|
+
androidFRIcon: PaletteIconAndroidFR,
|
|
2475
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
2476
|
+
borderGap: 2,
|
|
2477
|
+
borderRadius: 0,
|
|
2478
|
+
borderWidth: 1,
|
|
2479
|
+
iosENIcon: PaletteIconIOSEN,
|
|
2480
|
+
iosFRIcon: PaletteIconIOSFR,
|
|
2481
|
+
padding: 1
|
|
2482
|
+
}
|
|
2483
|
+
},
|
|
2426
2484
|
ExpandCollapse: {
|
|
2427
2485
|
appearances: {},
|
|
2428
2486
|
rules: [],
|
|
@@ -3408,7 +3466,7 @@ module.exports = {
|
|
|
3408
3466
|
iconPosition: {
|
|
3409
3467
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
3410
3468
|
type: 'state',
|
|
3411
|
-
values: [ 'left', 'right' ]
|
|
3469
|
+
values: [ 'left', 'right', 'inline' ]
|
|
3412
3470
|
},
|
|
3413
3471
|
inverse: {
|
|
3414
3472
|
description: 'Styles the link white for use on dark backgrounds.',
|
|
@@ -3439,6 +3497,7 @@ module.exports = {
|
|
|
3439
3497
|
rules: [
|
|
3440
3498
|
{ if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
|
|
3441
3499
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
3500
|
+
{ if: { iconPosition: 'inline' }, tokens: { iconSpace: 2 } },
|
|
3442
3501
|
{
|
|
3443
3502
|
if: { focus: true },
|
|
3444
3503
|
tokens: { outerBorderColor: '#2b8000', outerBorderOutline: 'none' }
|
|
@@ -6398,6 +6457,91 @@ module.exports = {
|
|
|
6398
6457
|
shadow: null
|
|
6399
6458
|
}
|
|
6400
6459
|
},
|
|
6460
|
+
TabBar: {
|
|
6461
|
+
appearances: {
|
|
6462
|
+
pressed: {
|
|
6463
|
+
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.',
|
|
6464
|
+
type: 'state',
|
|
6465
|
+
values: [ true, false ]
|
|
6466
|
+
}
|
|
6467
|
+
},
|
|
6468
|
+
rules: [
|
|
6469
|
+
{
|
|
6470
|
+
if: { pressed: true },
|
|
6471
|
+
tokens: { paddingBottom: 0, paddingTop: 0 }
|
|
6472
|
+
}
|
|
6473
|
+
],
|
|
6474
|
+
tokens: {
|
|
6475
|
+
backgroundColor: '#fafafa',
|
|
6476
|
+
borderTopColor: '#e3e6e8',
|
|
6477
|
+
borderTopWidth: 1,
|
|
6478
|
+
gap: 8,
|
|
6479
|
+
paddingBottom: 4,
|
|
6480
|
+
paddingLeft: 8,
|
|
6481
|
+
paddingRight: 8,
|
|
6482
|
+
paddingTop: 4
|
|
6483
|
+
}
|
|
6484
|
+
},
|
|
6485
|
+
TabBarItem: {
|
|
6486
|
+
appearances: {
|
|
6487
|
+
focus: {
|
|
6488
|
+
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.",
|
|
6489
|
+
platforms: [ 'rn', 'web' ],
|
|
6490
|
+
type: 'state',
|
|
6491
|
+
values: [ true, false ]
|
|
6492
|
+
},
|
|
6493
|
+
hover: {
|
|
6494
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
6495
|
+
platforms: [ 'rn', 'web' ],
|
|
6496
|
+
type: 'state',
|
|
6497
|
+
values: [ true, false ]
|
|
6498
|
+
},
|
|
6499
|
+
pressed: {
|
|
6500
|
+
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.',
|
|
6501
|
+
type: 'state',
|
|
6502
|
+
values: [ true, false ]
|
|
6503
|
+
},
|
|
6504
|
+
selected: {
|
|
6505
|
+
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`.',
|
|
6506
|
+
type: 'state',
|
|
6507
|
+
values: [ true ]
|
|
6508
|
+
}
|
|
6509
|
+
},
|
|
6510
|
+
rules: [
|
|
6511
|
+
{
|
|
6512
|
+
if: { focus: true },
|
|
6513
|
+
tokens: {
|
|
6514
|
+
backgroundColor: '#f4f4f7',
|
|
6515
|
+
color: '#414547',
|
|
6516
|
+
iconColor: '#414547',
|
|
6517
|
+
iconSize: 26
|
|
6518
|
+
}
|
|
6519
|
+
},
|
|
6520
|
+
{
|
|
6521
|
+
if: { pressed: true },
|
|
6522
|
+
tokens: {
|
|
6523
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6524
|
+
color: '#4b286d',
|
|
6525
|
+
iconColor: '#4b286d',
|
|
6526
|
+
iconSize: 22
|
|
6527
|
+
}
|
|
6528
|
+
},
|
|
6529
|
+
{ if: { hover: true }, tokens: { iconSize: 26 } }
|
|
6530
|
+
],
|
|
6531
|
+
tokens: {
|
|
6532
|
+
activeColor: '#4b286d',
|
|
6533
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6534
|
+
borderRadius: 4,
|
|
6535
|
+
color: '#676e73',
|
|
6536
|
+
fontName: 'HNforTELUSSA',
|
|
6537
|
+
fontWeight: '500',
|
|
6538
|
+
iconColor: '#676e73',
|
|
6539
|
+
iconSize: 24,
|
|
6540
|
+
lineHeight: 1.14285714286,
|
|
6541
|
+
paddingBottom: 4,
|
|
6542
|
+
paddingTop: 4
|
|
6543
|
+
}
|
|
6544
|
+
},
|
|
6401
6545
|
Table: {
|
|
6402
6546
|
appearances: {
|
|
6403
6547
|
spacing: {
|
|
@@ -8031,5 +8175,5 @@ module.exports = {
|
|
|
8031
8175
|
tokens: { size: 96 }
|
|
8032
8176
|
}
|
|
8033
8177
|
},
|
|
8034
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
8178
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.64.0' }
|
|
8035
8179
|
}
|
package/build/web/ActionCard.js
CHANGED
package/build/web/Badge.js
CHANGED
package/build/web/BlockQuote.js
CHANGED
package/build/web/Box.js
CHANGED
package/build/web/Breadcrumbs.js
CHANGED
package/build/web/Button.js
CHANGED
package/build/web/ButtonGroup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 25 Sep 2024 16:56:43 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -23,7 +23,7 @@ const theme = {
|
|
|
23
23
|
iconPosition: {
|
|
24
24
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
25
25
|
type: 'state',
|
|
26
|
-
values: [ 'left', 'right' ]
|
|
26
|
+
values: [ 'left', 'right', 'inline' ]
|
|
27
27
|
},
|
|
28
28
|
inactive: {
|
|
29
29
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
package/build/web/Callout.js
CHANGED
package/build/web/Card.js
CHANGED
package/build/web/CardGroup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 25 Sep 2024 16:56:43 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -55,6 +55,10 @@ const theme = {
|
|
|
55
55
|
fieldSpace: 3,
|
|
56
56
|
outlineOffset: 8,
|
|
57
57
|
outlineWidth: 1,
|
|
58
|
+
paddingBottom: 24,
|
|
59
|
+
paddingLeft: 24,
|
|
60
|
+
paddingRight: 24,
|
|
61
|
+
paddingTop: 24,
|
|
58
62
|
showIcon: true,
|
|
59
63
|
space: 3
|
|
60
64
|
}
|
package/build/web/Carousel.js
CHANGED
package/build/web/Checkbox.js
CHANGED
package/build/web/ChevronLink.js
CHANGED
package/build/web/Countdown.js
CHANGED
package/build/web/DatePicker.js
CHANGED
package/build/web/Disclaimer.js
CHANGED
package/build/web/Divider.js
CHANGED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Wed, 25 Sep 2024 16:56:43 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import PaletteIconAndroidEN from '@telus-uds/palette-allium/build/rn/icons/AndroidEN'
|
|
9
|
+
import PaletteIconAndroidFR from '@telus-uds/palette-allium/build/rn/icons/AndroidFR'
|
|
10
|
+
import PaletteIconIOSEN from '@telus-uds/palette-allium/build/rn/icons/IOSEN'
|
|
11
|
+
import PaletteIconIOSFR from '@telus-uds/palette-allium/build/rn/icons/IOSFR'
|
|
12
|
+
const theme = {
|
|
13
|
+
appearances: {
|
|
14
|
+
focus: {
|
|
15
|
+
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.",
|
|
16
|
+
platforms: [ 'rn', 'web' ],
|
|
17
|
+
type: 'state',
|
|
18
|
+
values: [ true, false ]
|
|
19
|
+
},
|
|
20
|
+
hover: {
|
|
21
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
22
|
+
platforms: [ 'rn', 'web' ],
|
|
23
|
+
type: 'state',
|
|
24
|
+
values: [ true, false ]
|
|
25
|
+
},
|
|
26
|
+
pressed: {
|
|
27
|
+
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.',
|
|
28
|
+
type: 'state',
|
|
29
|
+
values: [ true, false ]
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
rules: [
|
|
33
|
+
{
|
|
34
|
+
if: { focus: true },
|
|
35
|
+
tokens: { borderColor: '#2b8000', borderRadius: 4 }
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
if: { hover: true },
|
|
39
|
+
tokens: { borderColor: '#b2b9bf', borderRadius: 4 }
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
if: { pressed: true },
|
|
43
|
+
tokens: { borderColor: '#1f5c09', borderRadius: 4 }
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
if: { focus: true, pressed: true },
|
|
47
|
+
tokens: { borderColor: '#1f5c09', borderRadius: 4 }
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
tokens: {
|
|
51
|
+
androidENIcon: PaletteIconAndroidEN,
|
|
52
|
+
androidFRIcon: PaletteIconAndroidFR,
|
|
53
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
54
|
+
borderGap: 2,
|
|
55
|
+
borderRadius: 0,
|
|
56
|
+
borderWidth: 1,
|
|
57
|
+
iosENIcon: PaletteIconIOSEN,
|
|
58
|
+
iosFRIcon: PaletteIconIOSFR,
|
|
59
|
+
padding: 1
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export default theme
|
package/build/web/Feedback.js
CHANGED
package/build/web/Fieldset.js
CHANGED
package/build/web/FileUpload.js
CHANGED
package/build/web/Footnote.js
CHANGED