@telus-uds/theme-allium 4.29.1 → 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/Carousel.json +2 -0
- package/build/android/ExpandCollapseControl.json +26 -1
- 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 +1224 -978
- package/build/android/theme.json +273 -5
- package/build/ios/Card.json +161 -0
- package/build/ios/CardGroup.json +52 -0
- package/build/ios/Carousel.json +2 -0
- package/build/ios/ExpandCollapseControl.json +26 -1
- 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 +1224 -978
- package/build/ios/theme.json +273 -5
- 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 +5 -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 +45 -4
- 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 +1224 -978
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +199 -12
- 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 +5 -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 +45 -4
- 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 +1224 -978
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +199 -12
- package/package.json +5 -5
- package/theme.json +205 -5
package/build/rn/spacingScale.js
CHANGED
package/build/rn/theme.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Fri, 17 May 2024 16:24:13 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
const PaletteIconChevronRight = require('@telus-uds/palette-allium/build/rn/icons/ChevronRight')
|
|
9
9
|
const PaletteIconCaretDown = require('@telus-uds/palette-allium/build/rn/icons/CaretDown')
|
|
10
10
|
const PaletteIconCaretUp = require('@telus-uds/palette-allium/build/rn/icons/CaretUp')
|
|
11
|
+
const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/Checkmark')
|
|
11
12
|
const PaletteIconArrowRight = require('@telus-uds/palette-allium/build/rn/icons/ArrowRight')
|
|
13
|
+
const PaletteIconPause = require('@telus-uds/palette-allium/build/rn/icons/Pause')
|
|
14
|
+
const PaletteIconPlayVideo = require('@telus-uds/palette-allium/build/rn/icons/PlayVideo')
|
|
12
15
|
const PaletteIconArrowLeft = require('@telus-uds/palette-allium/build/rn/icons/ArrowLeft')
|
|
13
|
-
const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/Checkmark')
|
|
14
16
|
const PaletteIconStatusSuccess = require('@telus-uds/palette-allium/build/rn/icons/StatusSuccess')
|
|
15
17
|
const PaletteIconStatusError = require('@telus-uds/palette-allium/build/rn/icons/StatusError')
|
|
16
18
|
const PaletteIconClose = require('@telus-uds/palette-allium/build/rn/icons/Close')
|
|
@@ -18,7 +20,6 @@ const PaletteIconAdd = require('@telus-uds/palette-allium/build/rn/icons/Add')
|
|
|
18
20
|
const PaletteIconSubtract = require('@telus-uds/palette-allium/build/rn/icons/Subtract')
|
|
19
21
|
const PaletteIconExpand = require('@telus-uds/palette-allium/build/rn/icons/Expand')
|
|
20
22
|
const PaletteIconChevronLeft = require('@telus-uds/palette-allium/build/rn/icons/ChevronLeft')
|
|
21
|
-
const PaletteIconPlayVideo = require('@telus-uds/palette-allium/build/rn/icons/PlayVideo')
|
|
22
23
|
const PaletteIconBulletFill = require('@telus-uds/palette-allium/build/rn/icons/BulletFill')
|
|
23
24
|
const PaletteIconStatusInfo = require('@telus-uds/palette-allium/build/rn/icons/StatusInfo')
|
|
24
25
|
const PaletteIconStatusWarning = require('@telus-uds/palette-allium/build/rn/icons/StatusWarning')
|
|
@@ -34,7 +35,6 @@ const PaletteIconInvisible = require('@telus-uds/palette-allium/build/rn/icons/I
|
|
|
34
35
|
const PaletteIconVisible = require('@telus-uds/palette-allium/build/rn/icons/Visible')
|
|
35
36
|
const PaletteIconVisa = require('@telus-uds/palette-allium/build/rn/icons/Visa')
|
|
36
37
|
const PaletteIconQuestion = require('@telus-uds/palette-allium/build/rn/icons/Question')
|
|
37
|
-
const PaletteIconPause = require('@telus-uds/palette-allium/build/rn/icons/Pause')
|
|
38
38
|
const PaletteIconReplay = require('@telus-uds/palette-allium/build/rn/icons/Replay')
|
|
39
39
|
const PaletteIconClosedCaptions = require('@telus-uds/palette-allium/build/rn/icons/ClosedCaptions')
|
|
40
40
|
const PaletteIconFullscreenExpand = require('@telus-uds/palette-allium/build/rn/icons/FullscreenExpand')
|
|
@@ -1103,6 +1103,7 @@ module.exports = {
|
|
|
1103
1103
|
values: [ true, false ]
|
|
1104
1104
|
},
|
|
1105
1105
|
interactive: { type: 'variant', values: [ true ] },
|
|
1106
|
+
isControl: { type: 'variant', values: [ true, false ] },
|
|
1106
1107
|
padding: {
|
|
1107
1108
|
type: 'variant',
|
|
1108
1109
|
values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
|
|
@@ -1112,6 +1113,11 @@ module.exports = {
|
|
|
1112
1113
|
type: 'state',
|
|
1113
1114
|
values: [ true, false ]
|
|
1114
1115
|
},
|
|
1116
|
+
selected: {
|
|
1117
|
+
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`.',
|
|
1118
|
+
type: 'state',
|
|
1119
|
+
values: [ true ]
|
|
1120
|
+
},
|
|
1115
1121
|
viewport: {
|
|
1116
1122
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1117
1123
|
type: 'state',
|
|
@@ -1119,6 +1125,47 @@ module.exports = {
|
|
|
1119
1125
|
}
|
|
1120
1126
|
},
|
|
1121
1127
|
rules: [
|
|
1128
|
+
{
|
|
1129
|
+
if: { interactive: true, isControl: true },
|
|
1130
|
+
tokens: { borderColor: '#b2b9bf', borderWidth: 1 }
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
if: { interactive: true, isControl: true, selected: true },
|
|
1134
|
+
tokens: {
|
|
1135
|
+
backgroundColor: '#f4f4f7',
|
|
1136
|
+
borderColor: '#4b286d',
|
|
1137
|
+
borderWidth: 1,
|
|
1138
|
+
iconBackgroundColor: '#e3e6e8',
|
|
1139
|
+
iconColor: '#4b286d',
|
|
1140
|
+
inputBackgroundColor: '#e3e6e8'
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
if: { hover: true, interactive: true, isControl: true },
|
|
1145
|
+
tokens: { iconColor: '#414547' }
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
if: {
|
|
1149
|
+
focus: false,
|
|
1150
|
+
interactive: true,
|
|
1151
|
+
isControl: true,
|
|
1152
|
+
pressed: false
|
|
1153
|
+
},
|
|
1154
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
if: {
|
|
1158
|
+
hover: true,
|
|
1159
|
+
interactive: true,
|
|
1160
|
+
isControl: true,
|
|
1161
|
+
selected: true
|
|
1162
|
+
},
|
|
1163
|
+
tokens: {
|
|
1164
|
+
iconBackgroundColor: '#e3e6e8',
|
|
1165
|
+
iconColor: '#414547',
|
|
1166
|
+
inputBackgroundColor: '#e3e6e8'
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1122
1169
|
{ if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
|
|
1123
1170
|
{ if: { borderRadius: 'small' }, tokens: { borderRadius: 6 } },
|
|
1124
1171
|
{ if: { borderRadius: 'large' }, tokens: { borderRadius: 12 } },
|
|
@@ -1213,9 +1260,18 @@ module.exports = {
|
|
|
1213
1260
|
}
|
|
1214
1261
|
},
|
|
1215
1262
|
{
|
|
1216
|
-
if: {
|
|
1263
|
+
if: {
|
|
1264
|
+
focus: false,
|
|
1265
|
+
interactive: true,
|
|
1266
|
+
isControl: false,
|
|
1267
|
+
pressed: false
|
|
1268
|
+
},
|
|
1217
1269
|
tokens: { borderColor: '#ffffff', borderWidth: 2 }
|
|
1218
1270
|
},
|
|
1271
|
+
{
|
|
1272
|
+
if: { focus: false, interactive: true, pressed: false },
|
|
1273
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
|
|
1274
|
+
},
|
|
1219
1275
|
{
|
|
1220
1276
|
if: { hover: true, interactive: true },
|
|
1221
1277
|
tokens: {
|
|
@@ -1234,6 +1290,14 @@ module.exports = {
|
|
|
1234
1290
|
borderColor: '#e3e6e8',
|
|
1235
1291
|
borderWidth: 2
|
|
1236
1292
|
}
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
if: { interactive: true, isControl: false, selected: true },
|
|
1296
|
+
tokens: {
|
|
1297
|
+
backgroundColor: '#f4f4f7',
|
|
1298
|
+
borderColor: '#4b286d',
|
|
1299
|
+
borderWidth: 1
|
|
1300
|
+
}
|
|
1237
1301
|
}
|
|
1238
1302
|
],
|
|
1239
1303
|
tokens: {
|
|
@@ -1247,6 +1311,24 @@ module.exports = {
|
|
|
1247
1311
|
contentJustifyContent: 'flex-start',
|
|
1248
1312
|
flex: 1,
|
|
1249
1313
|
gradient: null,
|
|
1314
|
+
icon: PaletteIconCheckmark,
|
|
1315
|
+
iconBackgroundColor: '#f4f4f7',
|
|
1316
|
+
iconColor: '#4b286d',
|
|
1317
|
+
iconSize: 20,
|
|
1318
|
+
inputBackgroundColor: '#f4f4f7',
|
|
1319
|
+
inputBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1320
|
+
inputBorderRadius: 4,
|
|
1321
|
+
inputBorderWidth: 0,
|
|
1322
|
+
inputHeight: 32,
|
|
1323
|
+
inputShadow: {
|
|
1324
|
+
blur: 2,
|
|
1325
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
1326
|
+
inset: true,
|
|
1327
|
+
offsetX: 0,
|
|
1328
|
+
offsetY: 2,
|
|
1329
|
+
spread: 0
|
|
1330
|
+
},
|
|
1331
|
+
inputWidth: 32,
|
|
1250
1332
|
minWidth: null,
|
|
1251
1333
|
paddingBottom: 32,
|
|
1252
1334
|
paddingLeft: 24,
|
|
@@ -1255,6 +1337,59 @@ module.exports = {
|
|
|
1255
1337
|
shadow: null
|
|
1256
1338
|
}
|
|
1257
1339
|
},
|
|
1340
|
+
CardGroup: {
|
|
1341
|
+
appearances: {
|
|
1342
|
+
focus: {
|
|
1343
|
+
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.",
|
|
1344
|
+
platforms: [ 'rn', 'web' ],
|
|
1345
|
+
type: 'state',
|
|
1346
|
+
values: [ true, false ]
|
|
1347
|
+
},
|
|
1348
|
+
hover: {
|
|
1349
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1350
|
+
platforms: [ 'rn', 'web' ],
|
|
1351
|
+
type: 'state',
|
|
1352
|
+
values: [ true, false ]
|
|
1353
|
+
},
|
|
1354
|
+
pressed: {
|
|
1355
|
+
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.',
|
|
1356
|
+
type: 'state',
|
|
1357
|
+
values: [ true, false ]
|
|
1358
|
+
},
|
|
1359
|
+
selected: {
|
|
1360
|
+
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`.',
|
|
1361
|
+
type: 'state',
|
|
1362
|
+
values: [ true ]
|
|
1363
|
+
},
|
|
1364
|
+
viewport: {
|
|
1365
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1366
|
+
type: 'state',
|
|
1367
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1370
|
+
rules: [
|
|
1371
|
+
{
|
|
1372
|
+
if: { viewport: [ 'lg', 'xl' ] },
|
|
1373
|
+
tokens: { direction: 'row', space: 5 }
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
if: { viewport: [ 'xs', 'sm', 'md' ] },
|
|
1377
|
+
tokens: { direction: 'column', fieldSpace: 3, space: 3 }
|
|
1378
|
+
}
|
|
1379
|
+
],
|
|
1380
|
+
tokens: {
|
|
1381
|
+
borderBottomLeftRadius: 1,
|
|
1382
|
+
borderBottomRightRadius: 1,
|
|
1383
|
+
borderTopLeftRadius: 1,
|
|
1384
|
+
borderTopRightRadius: 1,
|
|
1385
|
+
direction: 'column',
|
|
1386
|
+
fieldSpace: 3,
|
|
1387
|
+
outlineOffset: 8,
|
|
1388
|
+
outlineWidth: 1,
|
|
1389
|
+
showIcon: true,
|
|
1390
|
+
space: 3
|
|
1391
|
+
}
|
|
1392
|
+
},
|
|
1258
1393
|
Carousel: {
|
|
1259
1394
|
appearances: {
|
|
1260
1395
|
viewport: {
|
|
@@ -1273,6 +1408,8 @@ module.exports = {
|
|
|
1273
1408
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1274
1409
|
iconBackgroundColor: '#ffffff',
|
|
1275
1410
|
nextIcon: PaletteIconArrowRight,
|
|
1411
|
+
pauseIcon: PaletteIconPause,
|
|
1412
|
+
playIcon: PaletteIconPlayVideo,
|
|
1276
1413
|
previousIcon: PaletteIconArrowLeft,
|
|
1277
1414
|
showPanelNavigation: true,
|
|
1278
1415
|
showPanelTabs: true,
|
|
@@ -2131,7 +2268,24 @@ module.exports = {
|
|
|
2131
2268
|
type: 'state',
|
|
2132
2269
|
values: [ true, false ]
|
|
2133
2270
|
},
|
|
2134
|
-
|
|
2271
|
+
focus: {
|
|
2272
|
+
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.",
|
|
2273
|
+
platforms: [ 'rn', 'web' ],
|
|
2274
|
+
type: 'state',
|
|
2275
|
+
values: [ true, false ]
|
|
2276
|
+
},
|
|
2277
|
+
hover: {
|
|
2278
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2279
|
+
platforms: [ 'rn', 'web' ],
|
|
2280
|
+
type: 'state',
|
|
2281
|
+
values: [ true, false ]
|
|
2282
|
+
},
|
|
2283
|
+
mini: { type: 'variant', values: [ true ] },
|
|
2284
|
+
pressed: {
|
|
2285
|
+
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.',
|
|
2286
|
+
type: 'state',
|
|
2287
|
+
values: [ true, false ]
|
|
2288
|
+
}
|
|
2135
2289
|
},
|
|
2136
2290
|
rules: [
|
|
2137
2291
|
{
|
|
@@ -2147,7 +2301,31 @@ module.exports = {
|
|
|
2147
2301
|
paddingTop: 8
|
|
2148
2302
|
}
|
|
2149
2303
|
},
|
|
2150
|
-
{ if: { mini: true }, tokens: { paddingBottom: 0 } }
|
|
2304
|
+
{ if: { mini: true }, tokens: { paddingBottom: 0 } },
|
|
2305
|
+
{
|
|
2306
|
+
if: { focus: true },
|
|
2307
|
+
tokens: {
|
|
2308
|
+
backgroundColor: '#f4f4f7',
|
|
2309
|
+
borderColor: '#676e73',
|
|
2310
|
+
borderWidth: 1
|
|
2311
|
+
}
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
if: { hover: true },
|
|
2315
|
+
tokens: { backgroundColor: '#fafafa', iconPaddingTop: 8 }
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
if: { expanded: true, hover: true },
|
|
2319
|
+
tokens: { backgroundColor: '#fafafa', iconPaddingTop: 0 }
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
if: { pressed: true },
|
|
2323
|
+
tokens: {
|
|
2324
|
+
backgroundColor: '#e3e6e8',
|
|
2325
|
+
borderColor: '#676e73',
|
|
2326
|
+
borderWidth: 1
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2151
2329
|
],
|
|
2152
2330
|
tokens: {
|
|
2153
2331
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -2156,7 +2334,7 @@ module.exports = {
|
|
|
2156
2334
|
borderColor: 'rgba(0, 0, 0, 0)',
|
|
2157
2335
|
borderTopLeftRadius: 0,
|
|
2158
2336
|
borderTopRightRadius: 0,
|
|
2159
|
-
borderWidth:
|
|
2337
|
+
borderWidth: 1,
|
|
2160
2338
|
icon: PaletteIconCaretDown,
|
|
2161
2339
|
iconColor: '#2b8000',
|
|
2162
2340
|
iconGap: 8,
|
|
@@ -4604,8 +4782,14 @@ module.exports = {
|
|
|
4604
4782
|
}
|
|
4605
4783
|
},
|
|
4606
4784
|
QuickLinksFeature: {
|
|
4607
|
-
appearances: {
|
|
4608
|
-
|
|
4785
|
+
appearances: {
|
|
4786
|
+
viewport: {
|
|
4787
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
4788
|
+
type: 'state',
|
|
4789
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
4790
|
+
}
|
|
4791
|
+
},
|
|
4792
|
+
rules: [ { if: { viewport: 'xs' }, tokens: { stackSpace: 4 } } ],
|
|
4609
4793
|
tokens: { stackGap: 5, stackJustify: 'center', stackSpace: 5 }
|
|
4610
4794
|
},
|
|
4611
4795
|
QuickLinksFeatureItem: {
|
|
@@ -4672,7 +4856,7 @@ module.exports = {
|
|
|
4672
4856
|
fontName: 'HelveticaNow',
|
|
4673
4857
|
fontSize: 16,
|
|
4674
4858
|
fontWeight: '700',
|
|
4675
|
-
gap:
|
|
4859
|
+
gap: 5,
|
|
4676
4860
|
imageDimension: 128,
|
|
4677
4861
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4678
4862
|
textAlign: 'center',
|
|
@@ -4824,6 +5008,9 @@ module.exports = {
|
|
|
4824
5008
|
descriptionFontWeight: '400',
|
|
4825
5009
|
descriptionLineHeight: 1.42857142857,
|
|
4826
5010
|
descriptionMarginLeft: null,
|
|
5011
|
+
icon: null,
|
|
5012
|
+
iconBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
5013
|
+
iconColor: 'rgba(0, 0, 0, 0)',
|
|
4827
5014
|
inputBackgroundColor: '#ffffff',
|
|
4828
5015
|
inputBorderColor: '#676e73',
|
|
4829
5016
|
inputBorderWidth: 1,
|
|
@@ -7408,5 +7595,5 @@ module.exports = {
|
|
|
7408
7595
|
tokens: { size: 96 }
|
|
7409
7596
|
}
|
|
7410
7597
|
},
|
|
7411
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
7598
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.56.0' }
|
|
7412
7599
|
}
|
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
package/build/web/Callout.js
CHANGED
package/build/web/Card.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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 PaletteIconCheckmark from '@telus-uds/palette-allium/build/rn/icons/Checkmark'
|
|
9
9
|
const theme = {
|
|
10
10
|
appearances: {
|
|
11
11
|
background: {
|
|
@@ -26,6 +26,7 @@ const theme = {
|
|
|
26
26
|
values: [ true, false ]
|
|
27
27
|
},
|
|
28
28
|
interactive: { type: 'variant', values: [ true ] },
|
|
29
|
+
isControl: { type: 'variant', values: [ true, false ] },
|
|
29
30
|
padding: {
|
|
30
31
|
type: 'variant',
|
|
31
32
|
values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
|
|
@@ -35,6 +36,11 @@ const theme = {
|
|
|
35
36
|
type: 'state',
|
|
36
37
|
values: [ true, false ]
|
|
37
38
|
},
|
|
39
|
+
selected: {
|
|
40
|
+
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`.',
|
|
41
|
+
type: 'state',
|
|
42
|
+
values: [ true ]
|
|
43
|
+
},
|
|
38
44
|
viewport: {
|
|
39
45
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
40
46
|
type: 'state',
|
|
@@ -42,6 +48,47 @@ const theme = {
|
|
|
42
48
|
}
|
|
43
49
|
},
|
|
44
50
|
rules: [
|
|
51
|
+
{
|
|
52
|
+
if: { interactive: true, isControl: true },
|
|
53
|
+
tokens: { borderColor: '#b2b9bf', borderWidth: 1 }
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
if: { interactive: true, isControl: true, selected: true },
|
|
57
|
+
tokens: {
|
|
58
|
+
backgroundColor: '#f4f4f7',
|
|
59
|
+
borderColor: '#4b286d',
|
|
60
|
+
borderWidth: 1,
|
|
61
|
+
iconBackgroundColor: '#e3e6e8',
|
|
62
|
+
iconColor: '#4b286d',
|
|
63
|
+
inputBackgroundColor: '#e3e6e8'
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
if: { hover: true, interactive: true, isControl: true },
|
|
68
|
+
tokens: { iconColor: '#414547' }
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
if: {
|
|
72
|
+
focus: false,
|
|
73
|
+
interactive: true,
|
|
74
|
+
isControl: true,
|
|
75
|
+
pressed: false
|
|
76
|
+
},
|
|
77
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
if: {
|
|
81
|
+
hover: true,
|
|
82
|
+
interactive: true,
|
|
83
|
+
isControl: true,
|
|
84
|
+
selected: true
|
|
85
|
+
},
|
|
86
|
+
tokens: {
|
|
87
|
+
iconBackgroundColor: '#e3e6e8',
|
|
88
|
+
iconColor: '#414547',
|
|
89
|
+
inputBackgroundColor: '#e3e6e8'
|
|
90
|
+
}
|
|
91
|
+
},
|
|
45
92
|
{ if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
|
|
46
93
|
{ if: { borderRadius: 'small' }, tokens: { borderRadius: 6 } },
|
|
47
94
|
{ if: { borderRadius: 'large' }, tokens: { borderRadius: 12 } },
|
|
@@ -136,9 +183,18 @@ const theme = {
|
|
|
136
183
|
}
|
|
137
184
|
},
|
|
138
185
|
{
|
|
139
|
-
if: {
|
|
186
|
+
if: {
|
|
187
|
+
focus: false,
|
|
188
|
+
interactive: true,
|
|
189
|
+
isControl: false,
|
|
190
|
+
pressed: false
|
|
191
|
+
},
|
|
140
192
|
tokens: { borderColor: '#ffffff', borderWidth: 2 }
|
|
141
193
|
},
|
|
194
|
+
{
|
|
195
|
+
if: { focus: false, interactive: true, pressed: false },
|
|
196
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
|
|
197
|
+
},
|
|
142
198
|
{
|
|
143
199
|
if: { hover: true, interactive: true },
|
|
144
200
|
tokens: {
|
|
@@ -157,6 +213,14 @@ const theme = {
|
|
|
157
213
|
borderColor: '#e3e6e8',
|
|
158
214
|
borderWidth: 2
|
|
159
215
|
}
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
if: { interactive: true, isControl: false, selected: true },
|
|
219
|
+
tokens: {
|
|
220
|
+
backgroundColor: '#f4f4f7',
|
|
221
|
+
borderColor: '#4b286d',
|
|
222
|
+
borderWidth: 1
|
|
223
|
+
}
|
|
160
224
|
}
|
|
161
225
|
],
|
|
162
226
|
tokens: {
|
|
@@ -170,6 +234,24 @@ const theme = {
|
|
|
170
234
|
contentJustifyContent: 'flex-start',
|
|
171
235
|
flex: 1,
|
|
172
236
|
gradient: null,
|
|
237
|
+
icon: PaletteIconCheckmark,
|
|
238
|
+
iconBackgroundColor: '#f4f4f7',
|
|
239
|
+
iconColor: '#4b286d',
|
|
240
|
+
iconSize: 20,
|
|
241
|
+
inputBackgroundColor: '#f4f4f7',
|
|
242
|
+
inputBorderColor: 'rgba(0, 0, 0, 0)',
|
|
243
|
+
inputBorderRadius: 4,
|
|
244
|
+
inputBorderWidth: 0,
|
|
245
|
+
inputHeight: 32,
|
|
246
|
+
inputShadow: {
|
|
247
|
+
blur: 2,
|
|
248
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
249
|
+
inset: true,
|
|
250
|
+
offsetX: 0,
|
|
251
|
+
offsetY: 2,
|
|
252
|
+
spread: 0
|
|
253
|
+
},
|
|
254
|
+
inputWidth: 32,
|
|
173
255
|
minWidth: null,
|
|
174
256
|
paddingBottom: 32,
|
|
175
257
|
paddingLeft: 24,
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Fri, 17 May 2024 16:24:36 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: {
|
|
11
|
+
focus: {
|
|
12
|
+
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.",
|
|
13
|
+
platforms: [ 'rn', 'web' ],
|
|
14
|
+
type: 'state',
|
|
15
|
+
values: [ true, false ]
|
|
16
|
+
},
|
|
17
|
+
hover: {
|
|
18
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
19
|
+
platforms: [ 'rn', 'web' ],
|
|
20
|
+
type: 'state',
|
|
21
|
+
values: [ true, false ]
|
|
22
|
+
},
|
|
23
|
+
pressed: {
|
|
24
|
+
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.',
|
|
25
|
+
type: 'state',
|
|
26
|
+
values: [ true, false ]
|
|
27
|
+
},
|
|
28
|
+
selected: {
|
|
29
|
+
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`.',
|
|
30
|
+
type: 'state',
|
|
31
|
+
values: [ true ]
|
|
32
|
+
},
|
|
33
|
+
viewport: {
|
|
34
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
35
|
+
type: 'state',
|
|
36
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
rules: [
|
|
40
|
+
{
|
|
41
|
+
if: { viewport: [ 'lg', 'xl' ] },
|
|
42
|
+
tokens: { direction: 'row', space: 5 }
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
if: { viewport: [ 'xs', 'sm', 'md' ] },
|
|
46
|
+
tokens: { direction: 'column', fieldSpace: 3, space: 3 }
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
tokens: {
|
|
50
|
+
borderBottomLeftRadius: 1,
|
|
51
|
+
borderBottomRightRadius: 1,
|
|
52
|
+
borderTopLeftRadius: 1,
|
|
53
|
+
borderTopRightRadius: 1,
|
|
54
|
+
direction: 'column',
|
|
55
|
+
fieldSpace: 3,
|
|
56
|
+
outlineOffset: 8,
|
|
57
|
+
outlineWidth: 1,
|
|
58
|
+
showIcon: true,
|
|
59
|
+
space: 3
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export default theme
|
package/build/web/Carousel.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
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 PaletteIconArrowRight from '@telus-uds/palette-allium/build/rn/icons/ArrowRight'
|
|
9
|
+
import PaletteIconPause from '@telus-uds/palette-allium/build/rn/icons/Pause'
|
|
10
|
+
import PaletteIconPlayVideo from '@telus-uds/palette-allium/build/rn/icons/PlayVideo'
|
|
9
11
|
import PaletteIconArrowLeft from '@telus-uds/palette-allium/build/rn/icons/ArrowLeft'
|
|
10
12
|
const theme = {
|
|
11
13
|
appearances: {
|
|
@@ -25,6 +27,8 @@ const theme = {
|
|
|
25
27
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
26
28
|
iconBackgroundColor: '#ffffff',
|
|
27
29
|
nextIcon: PaletteIconArrowRight,
|
|
30
|
+
pauseIcon: PaletteIconPause,
|
|
31
|
+
playIcon: PaletteIconPlayVideo,
|
|
28
32
|
previousIcon: PaletteIconArrowLeft,
|
|
29
33
|
showPanelNavigation: true,
|
|
30
34
|
showPanelTabs: true,
|