@telus-uds/theme-allium 4.30.0 → 4.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/android/Card.json +161 -0
- package/build/android/CardGroup.json +52 -0
- package/build/android/QuickLinksFeature.json +17 -2
- package/build/android/QuickLinksFeatureItem.json +1 -1
- package/build/android/Radio.json +13 -0
- package/build/android/schema.json +1210 -978
- package/build/android/theme.json +245 -4
- package/build/ios/Card.json +161 -0
- package/build/ios/CardGroup.json +52 -0
- package/build/ios/QuickLinksFeature.json +17 -2
- package/build/ios/QuickLinksFeatureItem.json +1 -1
- package/build/ios/Radio.json +13 -0
- package/build/ios/schema.json +1210 -978
- package/build/ios/theme.json +245 -4
- package/build/rn/ActivityIndicator.js +1 -1
- package/build/rn/Badge.js +1 -1
- package/build/rn/BlockQuote.js +1 -1
- package/build/rn/Box.js +1 -1
- package/build/rn/Breadcrumbs.js +1 -1
- package/build/rn/Button.js +1 -1
- package/build/rn/ButtonDropdown.js +1 -1
- package/build/rn/ButtonGroup.js +1 -1
- package/build/rn/ButtonGroupItem.js +1 -1
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +85 -3
- package/build/rn/CardGroup.js +62 -0
- package/build/rn/Carousel.js +1 -1
- package/build/rn/CarouselTabsPanelItem.js +1 -1
- package/build/rn/CarouselThumbnail.js +1 -1
- package/build/rn/Checkbox.js +1 -1
- package/build/rn/CheckboxCard.js +1 -1
- package/build/rn/CheckboxCardGroup.js +1 -1
- package/build/rn/CheckboxGroup.js +1 -1
- package/build/rn/ChevronLink.js +1 -1
- package/build/rn/ColourToggle.js +1 -1
- package/build/rn/Countdown.js +1 -1
- package/build/rn/DatePicker.js +1 -1
- package/build/rn/Disclaimer.js +1 -1
- package/build/rn/Divider.js +1 -1
- package/build/rn/ExpandCollapse.js +1 -1
- package/build/rn/ExpandCollapseControl.js +1 -1
- package/build/rn/ExpandCollapseMini.js +1 -1
- package/build/rn/ExpandCollapseMiniControl.js +1 -1
- package/build/rn/ExpandCollapsePanel.js +1 -1
- package/build/rn/Feedback.js +1 -1
- package/build/rn/Fieldset.js +1 -1
- package/build/rn/Footnote.js +1 -1
- package/build/rn/FootnoteLink.js +1 -1
- package/build/rn/HorizontalScrollButton.js +1 -1
- package/build/rn/Icon.js +1 -1
- package/build/rn/IconButton.js +1 -1
- package/build/rn/Image.js +1 -1
- package/build/rn/InputLabel.js +1 -1
- package/build/rn/InputSupports.js +1 -1
- package/build/rn/Link.js +1 -1
- package/build/rn/List.js +1 -1
- package/build/rn/Listbox.js +1 -1
- package/build/rn/Modal.js +1 -1
- package/build/rn/MultiSelectFilter.js +1 -1
- package/build/rn/NavigationBar.js +1 -1
- package/build/rn/Notification.js +1 -1
- package/build/rn/OrderedList.js +1 -1
- package/build/rn/Pagination.js +1 -1
- package/build/rn/PaginationPageButton.js +1 -1
- package/build/rn/PaginationSideButton.js +1 -1
- package/build/rn/PreviewCard.js +1 -1
- package/build/rn/PriceLockup.js +1 -1
- package/build/rn/ProductCard.js +1 -1
- package/build/rn/Progress.js +1 -1
- package/build/rn/ProgressBar.js +1 -1
- package/build/rn/QuantitySelector.js +1 -1
- package/build/rn/QuantitySelectorSideButton.js +1 -1
- package/build/rn/QuickLinks.js +1 -1
- package/build/rn/QuickLinksButton.js +1 -1
- package/build/rn/QuickLinksCard.js +1 -1
- package/build/rn/QuickLinksFeature.js +9 -3
- package/build/rn/QuickLinksFeatureItem.js +2 -2
- package/build/rn/QuickLinksList.js +1 -1
- package/build/rn/Radio.js +4 -1
- package/build/rn/RadioCard.js +1 -1
- package/build/rn/RadioCardGroup.js +1 -1
- package/build/rn/RadioGroup.js +1 -1
- package/build/rn/Ribbon.js +1 -1
- package/build/rn/Search.js +1 -1
- package/build/rn/SearchButton.js +1 -1
- package/build/rn/Select.js +1 -1
- package/build/rn/SideNav.js +1 -1
- package/build/rn/SideNavItem.js +1 -1
- package/build/rn/SideNavItemsGroup.js +1 -1
- package/build/rn/Skeleton.js +1 -1
- package/build/rn/SkipLink.js +1 -1
- package/build/rn/Spinner.js +1 -1
- package/build/rn/SplashButton.js +1 -1
- package/build/rn/SplashButtonWithDetails.js +1 -1
- package/build/rn/StackView.js +1 -1
- package/build/rn/StepTracker.js +1 -1
- package/build/rn/StoryCard.js +1 -1
- package/build/rn/Table.js +1 -1
- package/build/rn/Tabs.js +1 -1
- package/build/rn/TabsItem.js +1 -1
- package/build/rn/Tags.js +1 -1
- package/build/rn/TagsItem.js +1 -1
- package/build/rn/TermsAndConditions.js +1 -1
- package/build/rn/Testimonial.js +1 -1
- package/build/rn/TextArea.js +1 -1
- package/build/rn/TextInput.js +1 -1
- package/build/rn/Timeline.js +1 -1
- package/build/rn/Toast.js +1 -1
- package/build/rn/ToggleSwitch.js +1 -1
- package/build/rn/ToggleSwitchGroup.js +1 -1
- package/build/rn/Tooltip.js +1 -1
- package/build/rn/TooltipButton.js +1 -1
- package/build/rn/Typography.js +1 -1
- package/build/rn/Video.js +1 -1
- package/build/rn/VideoButton.js +1 -1
- package/build/rn/VideoControlBar.js +1 -1
- package/build/rn/VideoMenu.js +1 -1
- package/build/rn/VideoMiddleControlButton.js +1 -1
- package/build/rn/VideoPicker.js +1 -1
- package/build/rn/VideoPickerSlider.js +1 -1
- package/build/rn/VideoPickerThumbnail.js +1 -1
- package/build/rn/VideoProgressBar.js +1 -1
- package/build/rn/VideoVolumeSlider.js +1 -1
- package/build/rn/WaffleGrid.js +1 -1
- package/build/rn/schema.json +1210 -978
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +151 -7
- package/build/web/ActivityIndicator.js +1 -1
- package/build/web/Badge.js +1 -1
- package/build/web/BlockQuote.js +1 -1
- package/build/web/Box.js +1 -1
- package/build/web/Breadcrumbs.js +1 -1
- package/build/web/Button.js +1 -1
- package/build/web/ButtonDropdown.js +1 -1
- package/build/web/ButtonGroup.js +1 -1
- package/build/web/ButtonGroupItem.js +1 -1
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +85 -3
- package/build/web/CardGroup.js +62 -0
- package/build/web/Carousel.js +1 -1
- package/build/web/CarouselTabsPanelItem.js +1 -1
- package/build/web/CarouselThumbnail.js +1 -1
- package/build/web/Checkbox.js +1 -1
- package/build/web/CheckboxCard.js +1 -1
- package/build/web/CheckboxCardGroup.js +1 -1
- package/build/web/CheckboxGroup.js +1 -1
- package/build/web/ChevronLink.js +1 -1
- package/build/web/ColourToggle.js +1 -1
- package/build/web/Countdown.js +1 -1
- package/build/web/DatePicker.js +1 -1
- package/build/web/Disclaimer.js +1 -1
- package/build/web/Divider.js +1 -1
- package/build/web/ExpandCollapse.js +1 -1
- package/build/web/ExpandCollapseControl.js +1 -1
- package/build/web/ExpandCollapseMini.js +1 -1
- package/build/web/ExpandCollapseMiniControl.js +1 -1
- package/build/web/ExpandCollapsePanel.js +1 -1
- package/build/web/Feedback.js +1 -1
- package/build/web/Fieldset.js +1 -1
- package/build/web/Footnote.js +1 -1
- package/build/web/FootnoteLink.js +1 -1
- package/build/web/HorizontalScrollButton.js +1 -1
- package/build/web/Icon.js +1 -1
- package/build/web/IconButton.js +1 -1
- package/build/web/Image.js +1 -1
- package/build/web/InputLabel.js +1 -1
- package/build/web/InputSupports.js +1 -1
- package/build/web/Link.js +1 -1
- package/build/web/List.js +1 -1
- package/build/web/Listbox.js +1 -1
- package/build/web/Modal.js +1 -1
- package/build/web/MultiSelectFilter.js +1 -1
- package/build/web/NavigationBar.js +1 -1
- package/build/web/Notification.js +1 -1
- package/build/web/OrderedList.js +1 -1
- package/build/web/Pagination.js +1 -1
- package/build/web/PaginationPageButton.js +1 -1
- package/build/web/PaginationSideButton.js +1 -1
- package/build/web/PreviewCard.js +1 -1
- package/build/web/PriceLockup.js +1 -1
- package/build/web/ProductCard.js +1 -1
- package/build/web/Progress.js +1 -1
- package/build/web/ProgressBar.js +1 -1
- package/build/web/QuantitySelector.js +1 -1
- package/build/web/QuantitySelectorSideButton.js +1 -1
- package/build/web/QuickLinks.js +1 -1
- package/build/web/QuickLinksButton.js +1 -1
- package/build/web/QuickLinksCard.js +1 -1
- package/build/web/QuickLinksFeature.js +9 -3
- package/build/web/QuickLinksFeatureItem.js +2 -2
- package/build/web/QuickLinksList.js +1 -1
- package/build/web/Radio.js +4 -1
- package/build/web/RadioCard.js +1 -1
- package/build/web/RadioCardGroup.js +1 -1
- package/build/web/RadioGroup.js +1 -1
- package/build/web/Ribbon.js +1 -1
- package/build/web/Search.js +1 -1
- package/build/web/SearchButton.js +1 -1
- package/build/web/Select.js +1 -1
- package/build/web/SideNav.js +1 -1
- package/build/web/SideNavItem.js +1 -1
- package/build/web/SideNavItemsGroup.js +1 -1
- package/build/web/Skeleton.js +1 -1
- package/build/web/SkipLink.js +1 -1
- package/build/web/Spinner.js +1 -1
- package/build/web/SplashButton.js +1 -1
- package/build/web/SplashButtonWithDetails.js +1 -1
- package/build/web/StackView.js +1 -1
- package/build/web/StepTracker.js +1 -1
- package/build/web/StoryCard.js +1 -1
- package/build/web/Table.js +1 -1
- package/build/web/Tabs.js +1 -1
- package/build/web/TabsItem.js +1 -1
- package/build/web/Tags.js +1 -1
- package/build/web/TagsItem.js +1 -1
- package/build/web/TermsAndConditions.js +1 -1
- package/build/web/Testimonial.js +1 -1
- package/build/web/TextArea.js +1 -1
- package/build/web/TextInput.js +1 -1
- package/build/web/Timeline.js +1 -1
- package/build/web/Toast.js +1 -1
- package/build/web/ToggleSwitch.js +1 -1
- package/build/web/ToggleSwitchGroup.js +1 -1
- package/build/web/Tooltip.js +1 -1
- package/build/web/TooltipButton.js +1 -1
- package/build/web/Typography.js +1 -1
- package/build/web/Video.js +1 -1
- package/build/web/VideoButton.js +1 -1
- package/build/web/VideoControlBar.js +1 -1
- package/build/web/VideoMenu.js +1 -1
- package/build/web/VideoMiddleControlButton.js +1 -1
- package/build/web/VideoPicker.js +1 -1
- package/build/web/VideoPickerSlider.js +1 -1
- package/build/web/VideoPickerThumbnail.js +1 -1
- package/build/web/VideoProgressBar.js +1 -1
- package/build/web/VideoVolumeSlider.js +1 -1
- package/build/web/WaffleGrid.js +1 -1
- package/build/web/index.js +2 -1
- package/build/web/schema.json +1210 -978
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +151 -7
- package/package.json +5 -5
- package/theme.json +159 -3
package/build/web/theme.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Fri, 17 May 2024 16:24:36 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import PaletteIconChevronRight from '@telus-uds/palette-allium/build/rn/icons/ChevronRight'
|
|
9
9
|
import PaletteIconCaretDown from '@telus-uds/palette-allium/build/rn/icons/CaretDown'
|
|
10
10
|
import PaletteIconCaretUp from '@telus-uds/palette-allium/build/rn/icons/CaretUp'
|
|
11
|
+
import PaletteIconCheckmark from '@telus-uds/palette-allium/build/rn/icons/Checkmark'
|
|
11
12
|
import PaletteIconArrowRight from '@telus-uds/palette-allium/build/rn/icons/ArrowRight'
|
|
12
13
|
import PaletteIconPause from '@telus-uds/palette-allium/build/rn/icons/Pause'
|
|
13
14
|
import PaletteIconPlayVideo from '@telus-uds/palette-allium/build/rn/icons/PlayVideo'
|
|
14
15
|
import PaletteIconArrowLeft from '@telus-uds/palette-allium/build/rn/icons/ArrowLeft'
|
|
15
|
-
import PaletteIconCheckmark from '@telus-uds/palette-allium/build/rn/icons/Checkmark'
|
|
16
16
|
import PaletteIconStatusSuccess from '@telus-uds/palette-allium/build/rn/icons/StatusSuccess'
|
|
17
17
|
import PaletteIconStatusError from '@telus-uds/palette-allium/build/rn/icons/StatusError'
|
|
18
18
|
import PaletteIconClose from '@telus-uds/palette-allium/build/rn/icons/Close'
|
|
@@ -1102,6 +1102,7 @@ const theme = {
|
|
|
1102
1102
|
values: [ true, false ]
|
|
1103
1103
|
},
|
|
1104
1104
|
interactive: { type: 'variant', values: [ true ] },
|
|
1105
|
+
isControl: { type: 'variant', values: [ true, false ] },
|
|
1105
1106
|
padding: {
|
|
1106
1107
|
type: 'variant',
|
|
1107
1108
|
values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
|
|
@@ -1111,6 +1112,11 @@ const theme = {
|
|
|
1111
1112
|
type: 'state',
|
|
1112
1113
|
values: [ true, false ]
|
|
1113
1114
|
},
|
|
1115
|
+
selected: {
|
|
1116
|
+
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`.',
|
|
1117
|
+
type: 'state',
|
|
1118
|
+
values: [ true ]
|
|
1119
|
+
},
|
|
1114
1120
|
viewport: {
|
|
1115
1121
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1116
1122
|
type: 'state',
|
|
@@ -1118,6 +1124,47 @@ const theme = {
|
|
|
1118
1124
|
}
|
|
1119
1125
|
},
|
|
1120
1126
|
rules: [
|
|
1127
|
+
{
|
|
1128
|
+
if: { interactive: true, isControl: true },
|
|
1129
|
+
tokens: { borderColor: '#b2b9bf', borderWidth: 1 }
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
if: { interactive: true, isControl: true, selected: true },
|
|
1133
|
+
tokens: {
|
|
1134
|
+
backgroundColor: '#f4f4f7',
|
|
1135
|
+
borderColor: '#4b286d',
|
|
1136
|
+
borderWidth: 1,
|
|
1137
|
+
iconBackgroundColor: '#e3e6e8',
|
|
1138
|
+
iconColor: '#4b286d',
|
|
1139
|
+
inputBackgroundColor: '#e3e6e8'
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
if: { hover: true, interactive: true, isControl: true },
|
|
1144
|
+
tokens: { iconColor: '#414547' }
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
if: {
|
|
1148
|
+
focus: false,
|
|
1149
|
+
interactive: true,
|
|
1150
|
+
isControl: true,
|
|
1151
|
+
pressed: false
|
|
1152
|
+
},
|
|
1153
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
if: {
|
|
1157
|
+
hover: true,
|
|
1158
|
+
interactive: true,
|
|
1159
|
+
isControl: true,
|
|
1160
|
+
selected: true
|
|
1161
|
+
},
|
|
1162
|
+
tokens: {
|
|
1163
|
+
iconBackgroundColor: '#e3e6e8',
|
|
1164
|
+
iconColor: '#414547',
|
|
1165
|
+
inputBackgroundColor: '#e3e6e8'
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1121
1168
|
{ if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
|
|
1122
1169
|
{ if: { borderRadius: 'small' }, tokens: { borderRadius: 6 } },
|
|
1123
1170
|
{ if: { borderRadius: 'large' }, tokens: { borderRadius: 12 } },
|
|
@@ -1212,9 +1259,18 @@ const theme = {
|
|
|
1212
1259
|
}
|
|
1213
1260
|
},
|
|
1214
1261
|
{
|
|
1215
|
-
if: {
|
|
1262
|
+
if: {
|
|
1263
|
+
focus: false,
|
|
1264
|
+
interactive: true,
|
|
1265
|
+
isControl: false,
|
|
1266
|
+
pressed: false
|
|
1267
|
+
},
|
|
1216
1268
|
tokens: { borderColor: '#ffffff', borderWidth: 2 }
|
|
1217
1269
|
},
|
|
1270
|
+
{
|
|
1271
|
+
if: { focus: false, interactive: true, pressed: false },
|
|
1272
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
|
|
1273
|
+
},
|
|
1218
1274
|
{
|
|
1219
1275
|
if: { hover: true, interactive: true },
|
|
1220
1276
|
tokens: {
|
|
@@ -1233,6 +1289,14 @@ const theme = {
|
|
|
1233
1289
|
borderColor: '#e3e6e8',
|
|
1234
1290
|
borderWidth: 2
|
|
1235
1291
|
}
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
if: { interactive: true, isControl: false, selected: true },
|
|
1295
|
+
tokens: {
|
|
1296
|
+
backgroundColor: '#f4f4f7',
|
|
1297
|
+
borderColor: '#4b286d',
|
|
1298
|
+
borderWidth: 1
|
|
1299
|
+
}
|
|
1236
1300
|
}
|
|
1237
1301
|
],
|
|
1238
1302
|
tokens: {
|
|
@@ -1246,6 +1310,24 @@ const theme = {
|
|
|
1246
1310
|
contentJustifyContent: 'flex-start',
|
|
1247
1311
|
flex: 1,
|
|
1248
1312
|
gradient: null,
|
|
1313
|
+
icon: PaletteIconCheckmark,
|
|
1314
|
+
iconBackgroundColor: '#f4f4f7',
|
|
1315
|
+
iconColor: '#4b286d',
|
|
1316
|
+
iconSize: 20,
|
|
1317
|
+
inputBackgroundColor: '#f4f4f7',
|
|
1318
|
+
inputBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1319
|
+
inputBorderRadius: 4,
|
|
1320
|
+
inputBorderWidth: 0,
|
|
1321
|
+
inputHeight: 32,
|
|
1322
|
+
inputShadow: {
|
|
1323
|
+
blur: 2,
|
|
1324
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
1325
|
+
inset: true,
|
|
1326
|
+
offsetX: 0,
|
|
1327
|
+
offsetY: 2,
|
|
1328
|
+
spread: 0
|
|
1329
|
+
},
|
|
1330
|
+
inputWidth: 32,
|
|
1249
1331
|
minWidth: null,
|
|
1250
1332
|
paddingBottom: 32,
|
|
1251
1333
|
paddingLeft: 24,
|
|
@@ -1254,6 +1336,59 @@ const theme = {
|
|
|
1254
1336
|
shadow: null
|
|
1255
1337
|
}
|
|
1256
1338
|
},
|
|
1339
|
+
CardGroup: {
|
|
1340
|
+
appearances: {
|
|
1341
|
+
focus: {
|
|
1342
|
+
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.",
|
|
1343
|
+
platforms: [ 'rn', 'web' ],
|
|
1344
|
+
type: 'state',
|
|
1345
|
+
values: [ true, false ]
|
|
1346
|
+
},
|
|
1347
|
+
hover: {
|
|
1348
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1349
|
+
platforms: [ 'rn', 'web' ],
|
|
1350
|
+
type: 'state',
|
|
1351
|
+
values: [ true, false ]
|
|
1352
|
+
},
|
|
1353
|
+
pressed: {
|
|
1354
|
+
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.',
|
|
1355
|
+
type: 'state',
|
|
1356
|
+
values: [ true, false ]
|
|
1357
|
+
},
|
|
1358
|
+
selected: {
|
|
1359
|
+
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`.',
|
|
1360
|
+
type: 'state',
|
|
1361
|
+
values: [ true ]
|
|
1362
|
+
},
|
|
1363
|
+
viewport: {
|
|
1364
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1365
|
+
type: 'state',
|
|
1366
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1367
|
+
}
|
|
1368
|
+
},
|
|
1369
|
+
rules: [
|
|
1370
|
+
{
|
|
1371
|
+
if: { viewport: [ 'lg', 'xl' ] },
|
|
1372
|
+
tokens: { direction: 'row', space: 5 }
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
if: { viewport: [ 'xs', 'sm', 'md' ] },
|
|
1376
|
+
tokens: { direction: 'column', fieldSpace: 3, space: 3 }
|
|
1377
|
+
}
|
|
1378
|
+
],
|
|
1379
|
+
tokens: {
|
|
1380
|
+
borderBottomLeftRadius: 1,
|
|
1381
|
+
borderBottomRightRadius: 1,
|
|
1382
|
+
borderTopLeftRadius: 1,
|
|
1383
|
+
borderTopRightRadius: 1,
|
|
1384
|
+
direction: 'column',
|
|
1385
|
+
fieldSpace: 3,
|
|
1386
|
+
outlineOffset: 8,
|
|
1387
|
+
outlineWidth: 1,
|
|
1388
|
+
showIcon: true,
|
|
1389
|
+
space: 3
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1257
1392
|
Carousel: {
|
|
1258
1393
|
appearances: {
|
|
1259
1394
|
viewport: {
|
|
@@ -4646,8 +4781,14 @@ const theme = {
|
|
|
4646
4781
|
}
|
|
4647
4782
|
},
|
|
4648
4783
|
QuickLinksFeature: {
|
|
4649
|
-
appearances: {
|
|
4650
|
-
|
|
4784
|
+
appearances: {
|
|
4785
|
+
viewport: {
|
|
4786
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
4787
|
+
type: 'state',
|
|
4788
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
4789
|
+
}
|
|
4790
|
+
},
|
|
4791
|
+
rules: [ { if: { viewport: 'xs' }, tokens: { stackSpace: 4 } } ],
|
|
4651
4792
|
tokens: { stackGap: 5, stackJustify: 'center', stackSpace: 5 }
|
|
4652
4793
|
},
|
|
4653
4794
|
QuickLinksFeatureItem: {
|
|
@@ -4714,7 +4855,7 @@ const theme = {
|
|
|
4714
4855
|
fontName: 'HelveticaNow',
|
|
4715
4856
|
fontSize: 16,
|
|
4716
4857
|
fontWeight: '700',
|
|
4717
|
-
gap:
|
|
4858
|
+
gap: 5,
|
|
4718
4859
|
imageDimension: 128,
|
|
4719
4860
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4720
4861
|
textAlign: 'center',
|
|
@@ -4866,6 +5007,9 @@ const theme = {
|
|
|
4866
5007
|
descriptionFontWeight: '400',
|
|
4867
5008
|
descriptionLineHeight: 1.42857142857,
|
|
4868
5009
|
descriptionMarginLeft: null,
|
|
5010
|
+
icon: null,
|
|
5011
|
+
iconBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
5012
|
+
iconColor: 'rgba(0, 0, 0, 0)',
|
|
4869
5013
|
inputBackgroundColor: '#ffffff',
|
|
4870
5014
|
inputBorderColor: '#676e73',
|
|
4871
5015
|
inputBorderWidth: 1,
|
|
@@ -7450,6 +7594,6 @@ const theme = {
|
|
|
7450
7594
|
tokens: { size: 96 }
|
|
7451
7595
|
}
|
|
7452
7596
|
},
|
|
7453
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
7597
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.56.0' }
|
|
7454
7598
|
}
|
|
7455
7599
|
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.31.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.32.0",
|
|
13
|
+
"@telus-uds/system-theme-tokens": "^2.56.0",
|
|
14
|
+
"@telus-uds/system-tokens": "^0.8.2"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@telus-uds/palette-allium": "^2.
|
|
17
|
+
"@telus-uds/palette-allium": "^2.32.0"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"build",
|
package/theme.json
CHANGED
|
@@ -1335,14 +1335,79 @@
|
|
|
1335
1335
|
"type": "variant",
|
|
1336
1336
|
"values": [true]
|
|
1337
1337
|
},
|
|
1338
|
+
"isControl": {
|
|
1339
|
+
"type": "variant",
|
|
1340
|
+
"values": [true, false]
|
|
1341
|
+
},
|
|
1338
1342
|
"padding": {
|
|
1339
1343
|
"type": "variant",
|
|
1340
1344
|
"values": ["narrow", "intermediate", "compact", "custom"]
|
|
1341
1345
|
},
|
|
1342
1346
|
"pressed": "{appearances.Card.pressed}",
|
|
1347
|
+
"selected": "{appearances.Card.selected}",
|
|
1343
1348
|
"viewport": "{appearances.system.viewport}"
|
|
1344
1349
|
},
|
|
1345
1350
|
"rules": [
|
|
1351
|
+
{
|
|
1352
|
+
"if": {
|
|
1353
|
+
"interactive": true,
|
|
1354
|
+
"isControl": true
|
|
1355
|
+
},
|
|
1356
|
+
"tokens": {
|
|
1357
|
+
"borderColor": "{palette.color.greyCloud}",
|
|
1358
|
+
"borderWidth": "{palette.border.border1}"
|
|
1359
|
+
}
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
"if": {
|
|
1363
|
+
"interactive": true,
|
|
1364
|
+
"isControl": true,
|
|
1365
|
+
"selected": true
|
|
1366
|
+
},
|
|
1367
|
+
"tokens": {
|
|
1368
|
+
"backgroundColor": "{palette.color.greyAthens}",
|
|
1369
|
+
"borderColor": "{palette.color.purpleTelus}",
|
|
1370
|
+
"borderWidth": "{palette.border.border1}",
|
|
1371
|
+
"iconBackgroundColor": "{palette.color.greyMystic}",
|
|
1372
|
+
"iconColor": "{palette.color.purpleTelus}",
|
|
1373
|
+
"inputBackgroundColor": "{palette.color.greyMystic}"
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"if": {
|
|
1378
|
+
"hover": true,
|
|
1379
|
+
"interactive": true,
|
|
1380
|
+
"isControl": true
|
|
1381
|
+
},
|
|
1382
|
+
"tokens": {
|
|
1383
|
+
"iconColor": "{palette.color.greyCharcoal}"
|
|
1384
|
+
}
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"if": {
|
|
1388
|
+
"focus": false,
|
|
1389
|
+
"interactive": true,
|
|
1390
|
+
"isControl": true,
|
|
1391
|
+
"pressed": false
|
|
1392
|
+
},
|
|
1393
|
+
"tokens": {
|
|
1394
|
+
"borderColor": "{palette.color.transparent}",
|
|
1395
|
+
"borderWidth": "{palette.border.border2}"
|
|
1396
|
+
}
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"if": {
|
|
1400
|
+
"hover": true,
|
|
1401
|
+
"interactive": true,
|
|
1402
|
+
"isControl": true,
|
|
1403
|
+
"selected": true
|
|
1404
|
+
},
|
|
1405
|
+
"tokens": {
|
|
1406
|
+
"iconBackgroundColor": "{palette.color.greyMystic}",
|
|
1407
|
+
"iconColor": "{palette.color.greyCharcoal}",
|
|
1408
|
+
"inputBackgroundColor": "{palette.color.greyMystic}"
|
|
1409
|
+
}
|
|
1410
|
+
},
|
|
1346
1411
|
{
|
|
1347
1412
|
"if": {
|
|
1348
1413
|
"borderRadius": "none"
|
|
@@ -1485,6 +1550,7 @@
|
|
|
1485
1550
|
"if": {
|
|
1486
1551
|
"focus": false,
|
|
1487
1552
|
"interactive": true,
|
|
1553
|
+
"isControl": false,
|
|
1488
1554
|
"pressed": false
|
|
1489
1555
|
},
|
|
1490
1556
|
"tokens": {
|
|
@@ -1492,6 +1558,17 @@
|
|
|
1492
1558
|
"borderWidth": "{palette.border.border2}"
|
|
1493
1559
|
}
|
|
1494
1560
|
},
|
|
1561
|
+
{
|
|
1562
|
+
"if": {
|
|
1563
|
+
"focus": false,
|
|
1564
|
+
"interactive": true,
|
|
1565
|
+
"pressed": false
|
|
1566
|
+
},
|
|
1567
|
+
"tokens": {
|
|
1568
|
+
"borderColor": "{palette.color.transparent}",
|
|
1569
|
+
"borderWidth": "{palette.border.border2}"
|
|
1570
|
+
}
|
|
1571
|
+
},
|
|
1495
1572
|
{
|
|
1496
1573
|
"if": {
|
|
1497
1574
|
"hover": true,
|
|
@@ -1522,6 +1599,18 @@
|
|
|
1522
1599
|
"borderColor": "{palette.color.greyMystic}",
|
|
1523
1600
|
"borderWidth": "{palette.border.border2}"
|
|
1524
1601
|
}
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"if": {
|
|
1605
|
+
"interactive": true,
|
|
1606
|
+
"isControl": false,
|
|
1607
|
+
"selected": true
|
|
1608
|
+
},
|
|
1609
|
+
"tokens": {
|
|
1610
|
+
"backgroundColor": "{palette.color.greyAthens}",
|
|
1611
|
+
"borderColor": "{palette.color.purpleTelus}",
|
|
1612
|
+
"borderWidth": "{palette.border.border1}"
|
|
1613
|
+
}
|
|
1525
1614
|
}
|
|
1526
1615
|
],
|
|
1527
1616
|
"tokens": {
|
|
@@ -1535,6 +1624,17 @@
|
|
|
1535
1624
|
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
1536
1625
|
"flex": "{system.integer.1}",
|
|
1537
1626
|
"gradient": "{system.gradient.none}",
|
|
1627
|
+
"icon": "{palette.icon.Checkmark}",
|
|
1628
|
+
"iconBackgroundColor": "{palette.color.greyAthens}",
|
|
1629
|
+
"iconColor": "{palette.color.purpleTelus}",
|
|
1630
|
+
"iconSize": "{palette.size.size20}",
|
|
1631
|
+
"inputBackgroundColor": "{palette.color.greyAthens}",
|
|
1632
|
+
"inputBorderColor": "{palette.color.transparent}",
|
|
1633
|
+
"inputBorderRadius": "{palette.radius.radius4}",
|
|
1634
|
+
"inputBorderWidth": "{palette.border.none}",
|
|
1635
|
+
"inputHeight": "{palette.size.size32}",
|
|
1636
|
+
"inputShadow": "{palette.shadow.surfaceInset}",
|
|
1637
|
+
"inputWidth": "{palette.size.size32}",
|
|
1538
1638
|
"minWidth": "{system.size.none}",
|
|
1539
1639
|
"paddingBottom": "{palette.size.size32}",
|
|
1540
1640
|
"paddingLeft": "{palette.size.size24}",
|
|
@@ -1543,6 +1643,48 @@
|
|
|
1543
1643
|
"shadow": "{system.shadow.none}"
|
|
1544
1644
|
}
|
|
1545
1645
|
},
|
|
1646
|
+
"CardGroup": {
|
|
1647
|
+
"appearances": {
|
|
1648
|
+
"focus": "{appearances.CardGroup.focus}",
|
|
1649
|
+
"hover": "{appearances.CardGroup.hover}",
|
|
1650
|
+
"pressed": "{appearances.CardGroup.pressed}",
|
|
1651
|
+
"selected": "{appearances.CardGroup.selected}",
|
|
1652
|
+
"viewport": "{appearances.system.viewport}"
|
|
1653
|
+
},
|
|
1654
|
+
"rules": [
|
|
1655
|
+
{
|
|
1656
|
+
"if": {
|
|
1657
|
+
"viewport": ["lg", "xl"]
|
|
1658
|
+
},
|
|
1659
|
+
"tokens": {
|
|
1660
|
+
"direction": "{system.direction.row}",
|
|
1661
|
+
"space": "{system.integer.5}"
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"if": {
|
|
1666
|
+
"viewport": ["xs", "sm", "md"]
|
|
1667
|
+
},
|
|
1668
|
+
"tokens": {
|
|
1669
|
+
"direction": "{system.direction.column}",
|
|
1670
|
+
"fieldSpace": "{system.integer.3}",
|
|
1671
|
+
"space": "{system.integer.3}"
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
],
|
|
1675
|
+
"tokens": {
|
|
1676
|
+
"borderBottomLeftRadius": "{palette.radius.radius1}",
|
|
1677
|
+
"borderBottomRightRadius": "{palette.radius.radius1}",
|
|
1678
|
+
"borderTopLeftRadius": "{palette.radius.radius1}",
|
|
1679
|
+
"borderTopRightRadius": "{palette.radius.radius1}",
|
|
1680
|
+
"direction": "{system.direction.column}",
|
|
1681
|
+
"fieldSpace": "{system.integer.3}",
|
|
1682
|
+
"outlineOffset": "{palette.size.size8}",
|
|
1683
|
+
"outlineWidth": "{palette.border.border1}",
|
|
1684
|
+
"showIcon": "{system.show.true}",
|
|
1685
|
+
"space": "{system.integer.3}"
|
|
1686
|
+
}
|
|
1687
|
+
},
|
|
1546
1688
|
"Carousel": {
|
|
1547
1689
|
"appearances": {
|
|
1548
1690
|
"viewport": "{appearances.system.viewport}"
|
|
@@ -5886,8 +6028,19 @@
|
|
|
5886
6028
|
}
|
|
5887
6029
|
},
|
|
5888
6030
|
"QuickLinksFeature": {
|
|
5889
|
-
"appearances": {
|
|
5890
|
-
|
|
6031
|
+
"appearances": {
|
|
6032
|
+
"viewport": "{appearances.system.viewport}"
|
|
6033
|
+
},
|
|
6034
|
+
"rules": [
|
|
6035
|
+
{
|
|
6036
|
+
"if": {
|
|
6037
|
+
"viewport": "xs"
|
|
6038
|
+
},
|
|
6039
|
+
"tokens": {
|
|
6040
|
+
"stackSpace": "{system.integer.4}"
|
|
6041
|
+
}
|
|
6042
|
+
}
|
|
6043
|
+
],
|
|
5891
6044
|
"tokens": {
|
|
5892
6045
|
"stackGap": "{system.integer.5}",
|
|
5893
6046
|
"stackJustify": "{system.flexJustifyContent.center}",
|
|
@@ -5968,7 +6121,7 @@
|
|
|
5968
6121
|
"fontName": "{palette.fontName.HelveticaNow}",
|
|
5969
6122
|
"fontSize": "{palette.fontSize.size16}",
|
|
5970
6123
|
"fontWeight": "{palette.fontWeight.weight700}",
|
|
5971
|
-
"gap": "{palette.size.
|
|
6124
|
+
"gap": "{palette.size.size5}",
|
|
5972
6125
|
"imageDimension": "{palette.size.size128}",
|
|
5973
6126
|
"outerBorderColor": "{palette.color.transparent}",
|
|
5974
6127
|
"textAlign": "{system.textAlign.center}",
|
|
@@ -6113,6 +6266,9 @@
|
|
|
6113
6266
|
"descriptionFontWeight": "{palette.fontWeight.weight400}",
|
|
6114
6267
|
"descriptionLineHeight": "{palette.lineHeight.ratio10to7}",
|
|
6115
6268
|
"descriptionMarginLeft": "{system.size.none}",
|
|
6269
|
+
"icon": "{system.icon.none}",
|
|
6270
|
+
"iconBackgroundColor": "{palette.color.transparent}",
|
|
6271
|
+
"iconColor": "{palette.color.transparent}",
|
|
6116
6272
|
"inputBackgroundColor": "{palette.color.white}",
|
|
6117
6273
|
"inputBorderColor": "{palette.color.greyShuttle}",
|
|
6118
6274
|
"inputBorderWidth": "{palette.border.border1}",
|