@telus-uds/theme-allium 4.31.0 → 4.33.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/ActionCard.json +148 -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/Notification.json +13 -0
- package/build/android/Typography.json +37 -61
- package/build/android/schema.json +1353 -979
- package/build/android/theme.json +233 -64
- package/build/ios/ActionCard.json +148 -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/Notification.json +13 -0
- package/build/ios/Typography.json +37 -61
- package/build/ios/schema.json +1353 -979
- package/build/ios/theme.json +233 -64
- package/build/rn/ActionCard.js +92 -0
- 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 +1 -1
- package/build/rn/CardGroup.js +1 -1
- package/build/rn/Carousel.js +1 -1
- package/build/rn/CarouselTabsPanelItem.js +1 -1
- package/build/rn/CarouselThumbnail.js +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 +11 -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/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 +38 -40
- 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 +1353 -979
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +163 -50
- package/build/web/ActionCard.js +92 -0
- 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 +1 -1
- package/build/web/CardGroup.js +1 -1
- package/build/web/Carousel.js +1 -1
- package/build/web/CarouselTabsPanelItem.js +1 -1
- package/build/web/CarouselThumbnail.js +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 +11 -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/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 +38 -40
- 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 +1353 -979
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +163 -50
- package/package.json +5 -5
- package/theme.json +163 -63
package/build/web/theme.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Mon, 24 Jun 2024 16:18:26 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
import PaletteIconArrowRight from '@telus-uds/palette-allium/build/rn/icons/ArrowRight'
|
|
9
|
+
import PaletteIconStatusWarning from '@telus-uds/palette-allium/build/rn/icons/StatusWarning'
|
|
10
|
+
import PaletteIconStatusError from '@telus-uds/palette-allium/build/rn/icons/StatusError'
|
|
8
11
|
import PaletteIconChevronRight from '@telus-uds/palette-allium/build/rn/icons/ChevronRight'
|
|
9
12
|
import PaletteIconCaretDown from '@telus-uds/palette-allium/build/rn/icons/CaretDown'
|
|
10
13
|
import PaletteIconCaretUp from '@telus-uds/palette-allium/build/rn/icons/CaretUp'
|
|
11
14
|
import PaletteIconCheckmark from '@telus-uds/palette-allium/build/rn/icons/Checkmark'
|
|
12
|
-
import PaletteIconArrowRight from '@telus-uds/palette-allium/build/rn/icons/ArrowRight'
|
|
13
15
|
import PaletteIconPause from '@telus-uds/palette-allium/build/rn/icons/Pause'
|
|
14
16
|
import PaletteIconPlayVideo from '@telus-uds/palette-allium/build/rn/icons/PlayVideo'
|
|
15
17
|
import PaletteIconArrowLeft from '@telus-uds/palette-allium/build/rn/icons/ArrowLeft'
|
|
16
18
|
import PaletteIconStatusSuccess from '@telus-uds/palette-allium/build/rn/icons/StatusSuccess'
|
|
17
|
-
import PaletteIconStatusError from '@telus-uds/palette-allium/build/rn/icons/StatusError'
|
|
18
19
|
import PaletteIconClose from '@telus-uds/palette-allium/build/rn/icons/Close'
|
|
19
20
|
import PaletteIconAdd from '@telus-uds/palette-allium/build/rn/icons/Add'
|
|
20
21
|
import PaletteIconSubtract from '@telus-uds/palette-allium/build/rn/icons/Subtract'
|
|
@@ -22,7 +23,6 @@ import PaletteIconExpand from '@telus-uds/palette-allium/build/rn/icons/Expand'
|
|
|
22
23
|
import PaletteIconChevronLeft from '@telus-uds/palette-allium/build/rn/icons/ChevronLeft'
|
|
23
24
|
import PaletteIconBulletFill from '@telus-uds/palette-allium/build/rn/icons/BulletFill'
|
|
24
25
|
import PaletteIconStatusInfo from '@telus-uds/palette-allium/build/rn/icons/StatusInfo'
|
|
25
|
-
import PaletteIconStatusWarning from '@telus-uds/palette-allium/build/rn/icons/StatusWarning'
|
|
26
26
|
import PaletteIconTimes from '@telus-uds/palette-allium/build/rn/icons/Times'
|
|
27
27
|
import PaletteIconSearchBold from '@telus-uds/palette-allium/build/rn/icons/SearchBold'
|
|
28
28
|
import PaletteIconPlaySolid from '@telus-uds/palette-allium/build/rn/icons/PlaySolid'
|
|
@@ -44,6 +44,87 @@ import PaletteIconMuted from '@telus-uds/palette-allium/build/rn/icons/Muted'
|
|
|
44
44
|
import PaletteIconUnmuted from '@telus-uds/palette-allium/build/rn/icons/Unmuted'
|
|
45
45
|
const theme = {
|
|
46
46
|
components: {
|
|
47
|
+
ActionCard: {
|
|
48
|
+
appearances: {
|
|
49
|
+
hover: {
|
|
50
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
51
|
+
platforms: [ 'rn', 'web' ],
|
|
52
|
+
type: 'state',
|
|
53
|
+
values: [ true, false ]
|
|
54
|
+
},
|
|
55
|
+
validation: {
|
|
56
|
+
description: 'Validation states for form inputs',
|
|
57
|
+
type: 'state',
|
|
58
|
+
values: [ 'error', 'success', 'warning' ]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
rules: [
|
|
62
|
+
{ if: { hover: true }, tokens: { actionIconTranslate: 4 } },
|
|
63
|
+
{
|
|
64
|
+
if: { validation: 'warning' },
|
|
65
|
+
tokens: {
|
|
66
|
+
actionIconMarginLeft: 8,
|
|
67
|
+
backgroundColor: '#fff9ee',
|
|
68
|
+
borderColor: '#b4872c',
|
|
69
|
+
statusIcon: PaletteIconStatusWarning,
|
|
70
|
+
statusIconColor: '#b4872c'
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
if: { validation: 'error' },
|
|
75
|
+
tokens: {
|
|
76
|
+
actionIconMarginLeft: 8,
|
|
77
|
+
backgroundColor: '#fff6f8',
|
|
78
|
+
borderColor: '#e12339',
|
|
79
|
+
statusIcon: PaletteIconStatusError,
|
|
80
|
+
statusIconColor: '#e12339'
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
tokens: {
|
|
85
|
+
actionIcon: PaletteIconArrowRight,
|
|
86
|
+
actionIconColor: '#414547',
|
|
87
|
+
actionIconMarginBottom: 8,
|
|
88
|
+
actionIconMarginLeft: 0,
|
|
89
|
+
actionIconMarginRight: 0,
|
|
90
|
+
actionIconMarginTop: 8,
|
|
91
|
+
actionIconTranslate: 4,
|
|
92
|
+
backgroundColor: null,
|
|
93
|
+
borderColor: null,
|
|
94
|
+
borderRadius: null,
|
|
95
|
+
borderWidth: null,
|
|
96
|
+
contentFontColor: '#414547',
|
|
97
|
+
contentFontName: 'HelveticaNow',
|
|
98
|
+
contentFontSize: 16,
|
|
99
|
+
contentFontWeight: '400',
|
|
100
|
+
contentLineHeight: 1.25,
|
|
101
|
+
contentMarginBottom: 8,
|
|
102
|
+
contentMarginLeft: 0,
|
|
103
|
+
contentMarginRight: 0,
|
|
104
|
+
contentMarginTop: 0,
|
|
105
|
+
iconBackgroundColor: 'rgba(0, 0, 0, 0.05)',
|
|
106
|
+
iconColor: '#414547',
|
|
107
|
+
iconMarginBottom: 0,
|
|
108
|
+
iconMarginLeft: 0,
|
|
109
|
+
iconMarginRight: 8,
|
|
110
|
+
iconMarginTop: 0,
|
|
111
|
+
paddingBottom: 16,
|
|
112
|
+
paddingLeft: 16,
|
|
113
|
+
paddingRight: 16,
|
|
114
|
+
paddingTop: 16,
|
|
115
|
+
statusIcon: null,
|
|
116
|
+
statusIconColor: null,
|
|
117
|
+
titleFontColor: '#414547',
|
|
118
|
+
titleFontName: 'HelveticaNow',
|
|
119
|
+
titleFontSize: 16,
|
|
120
|
+
titleFontWeight: '700',
|
|
121
|
+
titleLineHeight: 1.5,
|
|
122
|
+
titleMarginBottom: 8,
|
|
123
|
+
titleMarginLeft: 0,
|
|
124
|
+
titleMarginRight: 8,
|
|
125
|
+
titleMarginTop: 8
|
|
126
|
+
}
|
|
127
|
+
},
|
|
47
128
|
ActivityIndicator: {
|
|
48
129
|
appearances: {
|
|
49
130
|
size: {
|
|
@@ -2300,7 +2381,10 @@ const theme = {
|
|
|
2300
2381
|
paddingTop: 8
|
|
2301
2382
|
}
|
|
2302
2383
|
},
|
|
2303
|
-
{
|
|
2384
|
+
{
|
|
2385
|
+
if: { mini: true },
|
|
2386
|
+
tokens: { borderWidth: null, paddingBottom: 0, paddingTop: 0 }
|
|
2387
|
+
},
|
|
2304
2388
|
{
|
|
2305
2389
|
if: { focus: true },
|
|
2306
2390
|
tokens: {
|
|
@@ -2309,6 +2393,14 @@ const theme = {
|
|
|
2309
2393
|
borderWidth: 1
|
|
2310
2394
|
}
|
|
2311
2395
|
},
|
|
2396
|
+
{
|
|
2397
|
+
if: { focus: true, mini: true },
|
|
2398
|
+
tokens: {
|
|
2399
|
+
backgroundColor: '#f4f4f7',
|
|
2400
|
+
borderColor: '#676e73',
|
|
2401
|
+
borderWidth: null
|
|
2402
|
+
}
|
|
2403
|
+
},
|
|
2312
2404
|
{
|
|
2313
2405
|
if: { hover: true },
|
|
2314
2406
|
tokens: { backgroundColor: '#fafafa', iconPaddingTop: 8 }
|
|
@@ -2324,6 +2416,14 @@ const theme = {
|
|
|
2324
2416
|
borderColor: '#676e73',
|
|
2325
2417
|
borderWidth: 1
|
|
2326
2418
|
}
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
if: { mini: true, pressed: true },
|
|
2422
|
+
tokens: {
|
|
2423
|
+
backgroundColor: '#e3e6e8',
|
|
2424
|
+
borderColor: '#676e73',
|
|
2425
|
+
borderWidth: null
|
|
2426
|
+
}
|
|
2327
2427
|
}
|
|
2328
2428
|
],
|
|
2329
2429
|
tokens: {
|
|
@@ -2429,7 +2529,15 @@ const theme = {
|
|
|
2429
2529
|
contentPaddingTop: 8
|
|
2430
2530
|
}
|
|
2431
2531
|
},
|
|
2432
|
-
{
|
|
2532
|
+
{
|
|
2533
|
+
if: { mini: true },
|
|
2534
|
+
tokens: {
|
|
2535
|
+
contentPaddingBottom: 0,
|
|
2536
|
+
contentPaddingLeft: 0,
|
|
2537
|
+
contentPanelPaddingBottom: 0,
|
|
2538
|
+
contentPanelPaddingTop: 0
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2433
2541
|
],
|
|
2434
2542
|
tokens: {
|
|
2435
2543
|
borderColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -3392,6 +3500,7 @@ const theme = {
|
|
|
3392
3500
|
itemIconColor: '#4b286d',
|
|
3393
3501
|
itemIconSize: 24,
|
|
3394
3502
|
itemLineHeight: 1.5,
|
|
3503
|
+
itemTextColor: '#414547',
|
|
3395
3504
|
listGutter: 8
|
|
3396
3505
|
}
|
|
3397
3506
|
},
|
|
@@ -3907,6 +4016,14 @@ const theme = {
|
|
|
3907
4016
|
}
|
|
3908
4017
|
},
|
|
3909
4018
|
rules: [
|
|
4019
|
+
{
|
|
4020
|
+
if: { system: true, viewport: [ 'xl' ] },
|
|
4021
|
+
tokens: {
|
|
4022
|
+
containerPaddingLeft: 16,
|
|
4023
|
+
containerPaddingRight: 16,
|
|
4024
|
+
justifyContent: 'center'
|
|
4025
|
+
}
|
|
4026
|
+
},
|
|
3910
4027
|
{
|
|
3911
4028
|
if: { system: true },
|
|
3912
4029
|
tokens: {
|
|
@@ -4018,6 +4135,8 @@ const theme = {
|
|
|
4018
4135
|
borderRightWidth: 1,
|
|
4019
4136
|
borderTopWidth: 1,
|
|
4020
4137
|
color: '#414547',
|
|
4138
|
+
containerPaddingLeft: 16,
|
|
4139
|
+
containerPaddingRight: 16,
|
|
4021
4140
|
dismissButtonGap: 24,
|
|
4022
4141
|
dismissIcon: PaletteIconClose,
|
|
4023
4142
|
dismissIconColor: '#676e73',
|
|
@@ -7054,25 +7173,31 @@ const theme = {
|
|
|
7054
7173
|
{
|
|
7055
7174
|
if: { size: 'display1' },
|
|
7056
7175
|
tokens: {
|
|
7057
|
-
fontName: '
|
|
7176
|
+
fontName: 'HelveticaNowDisplay',
|
|
7058
7177
|
fontSize: 40,
|
|
7059
7178
|
fontWeight: '300',
|
|
7060
|
-
letterSpacing:
|
|
7179
|
+
letterSpacing: 0,
|
|
7061
7180
|
lineHeight: 1.2,
|
|
7062
7181
|
superScriptFontSize: 24
|
|
7063
7182
|
}
|
|
7064
7183
|
},
|
|
7065
7184
|
{
|
|
7066
7185
|
if: { size: 'display1', viewport: [ 'lg', 'xl' ] },
|
|
7067
|
-
tokens: {
|
|
7186
|
+
tokens: {
|
|
7187
|
+
fontName: 'HelveticaNowDisplay',
|
|
7188
|
+
fontSize: 64,
|
|
7189
|
+
fontWeight: '300',
|
|
7190
|
+
lineHeight: 1.2,
|
|
7191
|
+
superScriptFontSize: 32
|
|
7192
|
+
}
|
|
7068
7193
|
},
|
|
7069
7194
|
{
|
|
7070
7195
|
if: { size: 'display2' },
|
|
7071
7196
|
tokens: {
|
|
7072
|
-
fontName: '
|
|
7197
|
+
fontName: 'HelveticaNowDisplay',
|
|
7073
7198
|
fontSize: 36,
|
|
7074
|
-
fontWeight: '
|
|
7075
|
-
letterSpacing:
|
|
7199
|
+
fontWeight: '300',
|
|
7200
|
+
letterSpacing: 0,
|
|
7076
7201
|
lineHeight: 1.22222222222,
|
|
7077
7202
|
superScriptFontSize: 24
|
|
7078
7203
|
}
|
|
@@ -7080,10 +7205,9 @@ const theme = {
|
|
|
7080
7205
|
{
|
|
7081
7206
|
if: { size: 'display2', viewport: [ 'lg', 'xl' ] },
|
|
7082
7207
|
tokens: {
|
|
7083
|
-
fontName: '
|
|
7208
|
+
fontName: 'HelveticaNowDisplay',
|
|
7084
7209
|
fontSize: 56,
|
|
7085
7210
|
fontWeight: '300',
|
|
7086
|
-
letterSpacing: -0.039,
|
|
7087
7211
|
lineHeight: 1.14285714286,
|
|
7088
7212
|
superScriptFontSize: 32
|
|
7089
7213
|
}
|
|
@@ -7091,19 +7215,21 @@ const theme = {
|
|
|
7091
7215
|
{
|
|
7092
7216
|
if: { size: 'h1' },
|
|
7093
7217
|
tokens: {
|
|
7218
|
+
fontName: 'HelveticaNowDisplay',
|
|
7094
7219
|
fontSize: 28,
|
|
7095
|
-
|
|
7096
|
-
|
|
7220
|
+
fontWeight: '300',
|
|
7221
|
+
letterSpacing: 0,
|
|
7222
|
+
lineHeight: 1.22222222222,
|
|
7097
7223
|
superScriptFontSize: 20
|
|
7098
7224
|
}
|
|
7099
7225
|
},
|
|
7100
7226
|
{
|
|
7101
7227
|
if: { size: 'h1', viewport: [ 'lg', 'xl' ] },
|
|
7102
7228
|
tokens: {
|
|
7103
|
-
fontName: '
|
|
7229
|
+
fontName: 'HelveticaNowDisplay',
|
|
7104
7230
|
fontSize: 40,
|
|
7105
7231
|
fontWeight: '300',
|
|
7106
|
-
letterSpacing:
|
|
7232
|
+
letterSpacing: 0,
|
|
7107
7233
|
lineHeight: 1.2,
|
|
7108
7234
|
superScriptFontSize: 24
|
|
7109
7235
|
}
|
|
@@ -7111,19 +7237,22 @@ const theme = {
|
|
|
7111
7237
|
{
|
|
7112
7238
|
if: { size: 'h2' },
|
|
7113
7239
|
tokens: {
|
|
7114
|
-
fontName: '
|
|
7240
|
+
fontName: 'HelveticaNowDisplay',
|
|
7115
7241
|
fontSize: 24,
|
|
7116
|
-
fontWeight: '
|
|
7117
|
-
|
|
7242
|
+
fontWeight: '300',
|
|
7243
|
+
letterSpacing: 0,
|
|
7244
|
+
lineHeight: 1.2,
|
|
7118
7245
|
superScriptFontSize: 16
|
|
7119
7246
|
}
|
|
7120
7247
|
},
|
|
7121
7248
|
{
|
|
7122
7249
|
if: { size: 'h2', viewport: [ 'lg', 'xl' ] },
|
|
7123
7250
|
tokens: {
|
|
7251
|
+
fontName: 'HelveticaNowDisplay',
|
|
7124
7252
|
fontSize: 28,
|
|
7253
|
+
fontWeight: '300',
|
|
7125
7254
|
letterSpacing: -0.017,
|
|
7126
|
-
lineHeight: 1.
|
|
7255
|
+
lineHeight: 1.22222222222,
|
|
7127
7256
|
superScriptFontSize: 20
|
|
7128
7257
|
}
|
|
7129
7258
|
},
|
|
@@ -7133,20 +7262,18 @@ const theme = {
|
|
|
7133
7262
|
fontName: 'HelveticaNow',
|
|
7134
7263
|
fontSize: 20,
|
|
7135
7264
|
fontWeight: '500',
|
|
7136
|
-
|
|
7265
|
+
letterSpacing: 0,
|
|
7266
|
+
lineHeight: 1.2,
|
|
7137
7267
|
superScriptFontSize: 16
|
|
7138
7268
|
}
|
|
7139
7269
|
},
|
|
7140
|
-
{
|
|
7141
|
-
if: { size: 'h3', viewport: [ 'lg', 'xl' ] },
|
|
7142
|
-
tokens: { fontSize: 24, lineHeight: 1.33333333333 }
|
|
7143
|
-
},
|
|
7144
7270
|
{
|
|
7145
7271
|
if: { size: 'h4' },
|
|
7146
7272
|
tokens: {
|
|
7147
7273
|
fontName: 'HelveticaNow',
|
|
7148
7274
|
fontSize: 16,
|
|
7149
7275
|
fontWeight: '500',
|
|
7276
|
+
letterSpacing: 0,
|
|
7150
7277
|
lineHeight: 1.5,
|
|
7151
7278
|
superScriptFontSize: 16
|
|
7152
7279
|
}
|
|
@@ -7157,6 +7284,7 @@ const theme = {
|
|
|
7157
7284
|
fontName: 'HelveticaNow',
|
|
7158
7285
|
fontSize: 14,
|
|
7159
7286
|
fontWeight: '500',
|
|
7287
|
+
letterSpacing: 0,
|
|
7160
7288
|
lineHeight: 1.28571428571
|
|
7161
7289
|
}
|
|
7162
7290
|
},
|
|
@@ -7170,6 +7298,7 @@ const theme = {
|
|
|
7170
7298
|
fontName: 'HelveticaNow',
|
|
7171
7299
|
fontSize: 12,
|
|
7172
7300
|
fontWeight: '700',
|
|
7301
|
+
letterSpacing: 0,
|
|
7173
7302
|
lineHeight: 1.33333333333
|
|
7174
7303
|
}
|
|
7175
7304
|
},
|
|
@@ -7230,35 +7359,19 @@ const theme = {
|
|
|
7230
7359
|
},
|
|
7231
7360
|
{
|
|
7232
7361
|
if: { bold: true, size: 'display1' },
|
|
7233
|
-
tokens: { fontName: '
|
|
7362
|
+
tokens: { fontName: 'HelveticaNowDisplay', fontWeight: '700' }
|
|
7234
7363
|
},
|
|
7235
7364
|
{
|
|
7236
|
-
if: {
|
|
7237
|
-
|
|
7238
|
-
size: [ 'display2' ],
|
|
7239
|
-
viewport: [ 'xs', 'sm', 'md' ]
|
|
7240
|
-
},
|
|
7241
|
-
tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
|
|
7365
|
+
if: { bold: true, size: 'display2' },
|
|
7366
|
+
tokens: { fontName: 'HelveticaNowDisplay', fontWeight: '700' }
|
|
7242
7367
|
},
|
|
7243
7368
|
{
|
|
7244
|
-
if: {
|
|
7245
|
-
|
|
7246
|
-
size: [ 'display2' ],
|
|
7247
|
-
viewport: [ 'lg', 'xl' ]
|
|
7248
|
-
},
|
|
7249
|
-
tokens: { fontName: 'HelveticaNow', fontWeight: '400' }
|
|
7250
|
-
},
|
|
7251
|
-
{
|
|
7252
|
-
if: { bold: true, size: 'h1', viewport: [ 'xs', 'sm', 'md' ] },
|
|
7253
|
-
tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
|
|
7254
|
-
},
|
|
7255
|
-
{
|
|
7256
|
-
if: { bold: true, size: 'h1', viewport: [ 'lg', 'xl' ] },
|
|
7257
|
-
tokens: { fontName: 'HelveticaNow', fontWeight: '400' }
|
|
7369
|
+
if: { bold: true, size: 'h1' },
|
|
7370
|
+
tokens: { fontName: 'HelveticaNowDisplay', fontWeight: '700' }
|
|
7258
7371
|
},
|
|
7259
7372
|
{
|
|
7260
7373
|
if: { bold: true, size: 'h2' },
|
|
7261
|
-
tokens: { fontName: '
|
|
7374
|
+
tokens: { fontName: 'HelveticaNowDisplay', fontWeight: '700' }
|
|
7262
7375
|
},
|
|
7263
7376
|
{
|
|
7264
7377
|
if: { bold: true, size: 'h3' },
|
|
@@ -7594,6 +7707,6 @@ const theme = {
|
|
|
7594
7707
|
tokens: { size: 96 }
|
|
7595
7708
|
}
|
|
7596
7709
|
},
|
|
7597
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
7710
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.58.0' }
|
|
7598
7711
|
}
|
|
7599
7712
|
export default theme
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.33.0",
|
|
4
4
|
"description": "Allium theme",
|
|
5
5
|
"author": "TELUS Digital",
|
|
6
6
|
"homepage": "https://github.com/telus/allium-design-system#readme",
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"module": "build/web/index.js",
|
|
10
10
|
"dependencies": {},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@telus-uds/palette-allium": "^2.
|
|
13
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
14
|
-
"@telus-uds/system-tokens": "^0.8.
|
|
12
|
+
"@telus-uds/palette-allium": "^2.33.0",
|
|
13
|
+
"@telus-uds/system-theme-tokens": "^2.58.0",
|
|
14
|
+
"@telus-uds/system-tokens": "^0.8.4"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@telus-uds/palette-allium": "^2.
|
|
17
|
+
"@telus-uds/palette-allium": "^2.33.0"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"build",
|