@telus-uds/theme-allium 6.3.0 → 7.0.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/Badge.json +29 -0
- package/build/android/Table.json +23 -0
- package/build/android/schema.json +1055 -1048
- package/build/android/theme.json +53 -1
- package/build/ios/Badge.json +29 -0
- package/build/ios/Table.json +23 -0
- package/build/ios/schema.json +1055 -1048
- package/build/ios/theme.json +53 -1
- package/build/rn/ActionCard.js +6 -6
- package/build/rn/ActivityIndicator.js +3 -3
- package/build/rn/Autocomplete.js +3 -3
- package/build/rn/Badge.js +25 -4
- package/build/rn/BlockQuote.js +3 -3
- package/build/rn/Box.js +3 -3
- package/build/rn/Breadcrumbs.js +4 -4
- package/build/rn/Button.js +3 -3
- package/build/rn/ButtonDropdown.js +5 -5
- package/build/rn/ButtonGroup.js +3 -3
- package/build/rn/ButtonGroupItem.js +3 -3
- package/build/rn/Callout.js +3 -3
- package/build/rn/Card.js +4 -4
- package/build/rn/CardGroup.js +3 -3
- package/build/rn/Carousel.js +7 -7
- package/build/rn/CarouselTabsPanelItem.js +3 -3
- package/build/rn/CarouselThumbnail.js +3 -3
- package/build/rn/Checkbox.js +4 -4
- package/build/rn/CheckboxCard.js +3 -3
- package/build/rn/CheckboxCardGroup.js +3 -3
- package/build/rn/CheckboxGroup.js +3 -3
- package/build/rn/ChevronLink.js +5 -5
- package/build/rn/ColourToggle.js +3 -3
- package/build/rn/Countdown.js +3 -3
- package/build/rn/DatePicker.js +5 -5
- package/build/rn/Disclaimer.js +3 -3
- package/build/rn/Divider.js +3 -3
- package/build/rn/DownloadApp.js +7 -7
- package/build/rn/ExpandCollapse.js +3 -3
- package/build/rn/ExpandCollapseControl.js +5 -5
- package/build/rn/ExpandCollapseMini.js +3 -3
- package/build/rn/ExpandCollapseMiniControl.js +5 -5
- package/build/rn/ExpandCollapsePanel.js +3 -3
- package/build/rn/Feedback.js +5 -5
- package/build/rn/Fieldset.js +3 -3
- package/build/rn/FileUpload.js +3 -3
- package/build/rn/Footnote.js +4 -4
- package/build/rn/FootnoteLink.js +3 -3
- package/build/rn/HorizontalScrollButton.js +3 -3
- package/build/rn/Icon.js +3 -3
- package/build/rn/IconButton.js +12 -12
- package/build/rn/Image.js +3 -3
- package/build/rn/InputLabel.js +3 -3
- package/build/rn/InputSupports.js +3 -3
- package/build/rn/Link.js +3 -3
- package/build/rn/List.js +4 -4
- package/build/rn/Listbox.js +5 -5
- package/build/rn/Modal.js +4 -4
- package/build/rn/MultiSelectFilter.js +3 -3
- package/build/rn/NavigationBar.js +5 -5
- package/build/rn/Notification.js +8 -8
- package/build/rn/OrderedList.js +3 -3
- package/build/rn/Pagination.js +3 -3
- package/build/rn/PaginationPageButton.js +3 -3
- package/build/rn/PaginationSideButton.js +5 -5
- package/build/rn/PreviewCard.js +3 -3
- package/build/rn/PriceLockup.js +3 -3
- package/build/rn/ProductCard.js +4 -4
- package/build/rn/Progress.js +3 -3
- package/build/rn/ProgressBar.js +3 -3
- package/build/rn/QuantitySelector.js +3 -3
- package/build/rn/QuantitySelectorSideButton.js +5 -5
- package/build/rn/QuickLinks.js +3 -3
- package/build/rn/QuickLinksButton.js +3 -3
- package/build/rn/QuickLinksCard.js +3 -3
- package/build/rn/QuickLinksFeature.js +3 -3
- package/build/rn/QuickLinksFeatureItem.js +3 -3
- package/build/rn/QuickLinksList.js +3 -3
- package/build/rn/Radio.js +3 -3
- package/build/rn/RadioCard.js +3 -3
- package/build/rn/RadioCardGroup.js +3 -3
- package/build/rn/RadioGroup.js +3 -3
- package/build/rn/Ribbon.js +3 -3
- package/build/rn/Search.js +5 -5
- package/build/rn/SearchButton.js +3 -3
- package/build/rn/Select.js +7 -7
- package/build/rn/SideNav.js +3 -3
- package/build/rn/SideNavItem.js +3 -3
- package/build/rn/SideNavItemsGroup.js +5 -5
- package/build/rn/Skeleton.js +3 -3
- package/build/rn/SkipLink.js +3 -3
- package/build/rn/Spinner.js +3 -3
- package/build/rn/SplashButton.js +4 -4
- package/build/rn/SplashButtonWithDetails.js +4 -4
- package/build/rn/StackView.js +3 -3
- package/build/rn/Status.js +7 -7
- package/build/rn/StepTracker.js +3 -3
- package/build/rn/StoryCard.js +3 -3
- package/build/rn/TabBar.js +3 -3
- package/build/rn/TabBarItem.js +3 -3
- package/build/rn/Table.js +9 -3
- package/build/rn/Tabs.js +5 -5
- package/build/rn/TabsItem.js +3 -3
- package/build/rn/Tags.js +3 -3
- package/build/rn/TagsItem.js +5 -5
- package/build/rn/TermsAndConditions.js +5 -5
- package/build/rn/Testimonial.js +5 -5
- package/build/rn/TextArea.js +3 -3
- package/build/rn/TextInput.js +12 -12
- package/build/rn/Timeline.js +3 -3
- package/build/rn/Toast.js +3 -3
- package/build/rn/ToggleSwitch.js +4 -4
- package/build/rn/ToggleSwitchGroup.js +3 -3
- package/build/rn/Tooltip.js +3 -3
- package/build/rn/TooltipButton.js +4 -4
- package/build/rn/Typography.js +3 -3
- package/build/rn/Video.js +6 -6
- package/build/rn/VideoButton.js +3 -3
- package/build/rn/VideoControlBar.js +7 -7
- package/build/rn/VideoMenu.js +4 -4
- package/build/rn/VideoMiddleControlButton.js +3 -3
- package/build/rn/VideoPicker.js +3 -3
- package/build/rn/VideoPickerSlider.js +5 -5
- package/build/rn/VideoPickerThumbnail.js +3 -3
- package/build/rn/VideoProgressBar.js +3 -3
- package/build/rn/VideoVolumeSlider.js +5 -5
- package/build/rn/WaffleGrid.js +3 -3
- package/build/rn/schema.json +1055 -1048
- package/build/rn/spacingScale.js +3 -3
- package/build/rn/theme.js +73 -46
- package/build/web/ActionCard.js +1 -1
- package/build/web/ActivityIndicator.js +1 -1
- package/build/web/Autocomplete.js +1 -1
- package/build/web/Badge.js +23 -2
- 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/DownloadApp.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/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 +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 +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 +1 -1
- package/build/web/TabBarItem.js +1 -1
- package/build/web/Table.js +7 -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 +1 -1
- package/build/web/schema.json +1055 -1048
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +30 -3
- package/package.json +5 -14
- package/theme.json +42 -0
package/build/web/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on Fri,
|
|
4
|
+
* Generated on Fri, 31 Jan 2025 20:48:26 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -150,7 +150,8 @@ const theme = {
|
|
|
150
150
|
alternative: { type: 'variant', values: [ true ] },
|
|
151
151
|
inverse: { type: 'variant', values: [ true ] },
|
|
152
152
|
outline: { type: 'variant', values: [ true ] },
|
|
153
|
-
purpose: { type: 'variant', values: [ 'offer', 'editorial', 'subtle' ] }
|
|
153
|
+
purpose: { type: 'variant', values: [ 'offer', 'editorial', 'subtle' ] },
|
|
154
|
+
size: { type: 'variant', values: [ 'compact' ] }
|
|
154
155
|
},
|
|
155
156
|
rules: [
|
|
156
157
|
{
|
|
@@ -247,6 +248,26 @@ const theme = {
|
|
|
247
248
|
paddingRight: 8,
|
|
248
249
|
paddingTop: 2
|
|
249
250
|
}
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
if: { size: 'compact' },
|
|
254
|
+
tokens: {
|
|
255
|
+
fontSize: 12,
|
|
256
|
+
paddingBottom: 0,
|
|
257
|
+
paddingLeft: 3,
|
|
258
|
+
paddingRight: 3,
|
|
259
|
+
paddingTop: 0
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
if: { purpose: 'offer', size: 'compact' },
|
|
264
|
+
tokens: {
|
|
265
|
+
fontSize: 12,
|
|
266
|
+
paddingBottom: 2,
|
|
267
|
+
paddingLeft: 3,
|
|
268
|
+
paddingRight: 3,
|
|
269
|
+
paddingTop: 2
|
|
270
|
+
}
|
|
250
271
|
}
|
|
251
272
|
],
|
|
252
273
|
tokens: {
|
|
@@ -6672,6 +6693,7 @@ const theme = {
|
|
|
6672
6693
|
},
|
|
6673
6694
|
Table: {
|
|
6674
6695
|
appearances: {
|
|
6696
|
+
highlight: { type: 'variant', values: [ 'row' ] },
|
|
6675
6697
|
spacing: {
|
|
6676
6698
|
description: 'Adjusts the height of the table cell',
|
|
6677
6699
|
type: 'variant',
|
|
@@ -6684,6 +6706,10 @@ const theme = {
|
|
|
6684
6706
|
}
|
|
6685
6707
|
},
|
|
6686
6708
|
rules: [
|
|
6709
|
+
{
|
|
6710
|
+
if: { highlight: 'row' },
|
|
6711
|
+
tokens: { rowHoverBackgroundColor: 'rgba(0, 0, 0, 0.05)' }
|
|
6712
|
+
},
|
|
6687
6713
|
{
|
|
6688
6714
|
if: { spacing: 'compact', type: 'default' },
|
|
6689
6715
|
tokens: {
|
|
@@ -6802,6 +6828,7 @@ const theme = {
|
|
|
6802
6828
|
fontSize: 16,
|
|
6803
6829
|
fontWeight: '400',
|
|
6804
6830
|
lineHeight: 1.5,
|
|
6831
|
+
rowHoverBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6805
6832
|
stickyBackgroundColor: '#ffffff',
|
|
6806
6833
|
tablePaddingBottom: 24
|
|
6807
6834
|
}
|
|
@@ -8315,6 +8342,6 @@ const theme = {
|
|
|
8315
8342
|
tokens: { size: 96 }
|
|
8316
8343
|
}
|
|
8317
8344
|
},
|
|
8318
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '
|
|
8345
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '4.0.0' }
|
|
8319
8346
|
}
|
|
8320
8347
|
export default theme
|
package/package.json
CHANGED
|
@@ -1,29 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"
|
|
4
|
-
"version": "6.3.0",
|
|
3
|
+
"version": "7.0.0",
|
|
5
4
|
"description": "Allium theme",
|
|
6
5
|
"author": "TELUS Digital",
|
|
7
6
|
"homepage": "https://github.com/telus/allium-design-system#readme",
|
|
8
7
|
"license": "MIT",
|
|
9
8
|
"main": "build/rn/theme.js",
|
|
10
9
|
"module": "build/web/index.js",
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"import": "./build/rn/theme.js",
|
|
14
|
-
"default": "./build/rn/theme.js"
|
|
15
|
-
},
|
|
16
|
-
"./package.json": "./package.json",
|
|
17
|
-
"./build/*": "./build/*"
|
|
18
|
-
},
|
|
19
10
|
"dependencies": {},
|
|
20
11
|
"devDependencies": {
|
|
21
|
-
"@telus-uds/palette-allium": "^
|
|
22
|
-
"@telus-uds/system-theme-tokens": "^
|
|
23
|
-
"@telus-uds/system-tokens": "^1.1.
|
|
12
|
+
"@telus-uds/palette-allium": "^5.0.0",
|
|
13
|
+
"@telus-uds/system-theme-tokens": "^4.0.0",
|
|
14
|
+
"@telus-uds/system-tokens": "^1.1.1"
|
|
24
15
|
},
|
|
25
16
|
"peerDependencies": {
|
|
26
|
-
"@telus-uds/palette-allium": "^
|
|
17
|
+
"@telus-uds/palette-allium": "^5.0.0"
|
|
27
18
|
},
|
|
28
19
|
"files": [
|
|
29
20
|
"build",
|
package/theme.json
CHANGED
|
@@ -134,6 +134,10 @@
|
|
|
134
134
|
"purpose": {
|
|
135
135
|
"type": "variant",
|
|
136
136
|
"values": ["offer", "editorial", "subtle"]
|
|
137
|
+
},
|
|
138
|
+
"size": {
|
|
139
|
+
"type": "variant",
|
|
140
|
+
"values": ["compact"]
|
|
137
141
|
}
|
|
138
142
|
},
|
|
139
143
|
"rules": [
|
|
@@ -234,6 +238,31 @@
|
|
|
234
238
|
"paddingRight": "{palette.size.size8}",
|
|
235
239
|
"paddingTop": "{palette.size.size2}"
|
|
236
240
|
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"if": {
|
|
244
|
+
"size": "compact"
|
|
245
|
+
},
|
|
246
|
+
"tokens": {
|
|
247
|
+
"fontSize": "{palette.fontSize.size12}",
|
|
248
|
+
"paddingBottom": "{palette.size.size0}",
|
|
249
|
+
"paddingLeft": "{palette.size.size3}",
|
|
250
|
+
"paddingRight": "{palette.size.size3}",
|
|
251
|
+
"paddingTop": "{palette.size.size0}"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"if": {
|
|
256
|
+
"purpose": "offer",
|
|
257
|
+
"size": "compact"
|
|
258
|
+
},
|
|
259
|
+
"tokens": {
|
|
260
|
+
"fontSize": "{palette.fontSize.size12}",
|
|
261
|
+
"paddingBottom": "{palette.size.size2}",
|
|
262
|
+
"paddingLeft": "{palette.size.size3}",
|
|
263
|
+
"paddingRight": "{palette.size.size3}",
|
|
264
|
+
"paddingTop": "{palette.size.size2}"
|
|
265
|
+
}
|
|
237
266
|
}
|
|
238
267
|
],
|
|
239
268
|
"tokens": {
|
|
@@ -8117,6 +8146,10 @@
|
|
|
8117
8146
|
},
|
|
8118
8147
|
"Table": {
|
|
8119
8148
|
"appearances": {
|
|
8149
|
+
"highlight": {
|
|
8150
|
+
"type": "variant",
|
|
8151
|
+
"values": ["row"]
|
|
8152
|
+
},
|
|
8120
8153
|
"spacing": {
|
|
8121
8154
|
"description": "Adjusts the height of the table cell",
|
|
8122
8155
|
"type": "variant",
|
|
@@ -8132,6 +8165,14 @@
|
|
|
8132
8165
|
}
|
|
8133
8166
|
},
|
|
8134
8167
|
"rules": [
|
|
8168
|
+
{
|
|
8169
|
+
"if": {
|
|
8170
|
+
"highlight": "row"
|
|
8171
|
+
},
|
|
8172
|
+
"tokens": {
|
|
8173
|
+
"rowHoverBackgroundColor": "{palette.color.dark5}"
|
|
8174
|
+
}
|
|
8175
|
+
},
|
|
8135
8176
|
{
|
|
8136
8177
|
"if": {
|
|
8137
8178
|
"spacing": "compact",
|
|
@@ -8280,6 +8321,7 @@
|
|
|
8280
8321
|
"fontSize": "{palette.fontSize.size16}",
|
|
8281
8322
|
"fontWeight": "{palette.fontWeight.weight400}",
|
|
8282
8323
|
"lineHeight": "{palette.lineHeight.ratio3to2}",
|
|
8324
|
+
"rowHoverBackgroundColor": "{palette.color.transparent}",
|
|
8283
8325
|
"stickyBackgroundColor": "{palette.color.white}",
|
|
8284
8326
|
"tablePaddingBottom": "{palette.size.size24}"
|
|
8285
8327
|
}
|