@telus-uds/theme-koodo 7.8.0 → 7.10.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/Button.json +1 -0
- package/build/android/ButtonGroup.json +4 -3
- package/build/android/ButtonGroupItem.json +40 -5
- package/build/android/MultiSelectFilter.json +12 -0
- package/build/android/ToggleSwitch.json +4 -0
- package/build/android/schema.json +883 -759
- package/build/android/theme.json +62 -9
- package/build/ios/Button.json +1 -0
- package/build/ios/ButtonGroup.json +4 -3
- package/build/ios/ButtonGroupItem.json +40 -5
- package/build/ios/MultiSelectFilter.json +12 -0
- package/build/ios/ToggleSwitch.json +4 -0
- package/build/ios/schema.json +883 -759
- package/build/ios/theme.json +62 -9
- package/build/rn/ActionCard.js +1 -1
- package/build/rn/ActivityIndicator.js +1 -1
- package/build/rn/Autocomplete.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 +2 -1
- package/build/rn/ButtonDropdown.js +1 -1
- package/build/rn/ButtonGroup.js +8 -5
- package/build/rn/ButtonGroupItem.js +18 -6
- 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/DownloadApp.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/FileUpload.js +1 -1
- package/build/rn/Footnote.js +1 -1
- package/build/rn/FootnoteLink.js +1 -1
- package/build/rn/HorizontalScrollButton.js +1 -1
- package/build/rn/Icon.js +1 -1
- package/build/rn/IconButton.js +1 -1
- package/build/rn/Image.js +1 -1
- package/build/rn/InputLabel.js +1 -1
- package/build/rn/InputSupports.js +1 -1
- package/build/rn/Link.js +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 +3 -1
- package/build/rn/NavigationBar.js +1 -1
- package/build/rn/Notification.js +1 -1
- package/build/rn/OrderedList.js +1 -1
- package/build/rn/Pagination.js +1 -1
- package/build/rn/PaginationPageButton.js +1 -1
- package/build/rn/PaginationSideButton.js +1 -1
- package/build/rn/PreviewCard.js +1 -1
- package/build/rn/PriceLockup.js +1 -1
- package/build/rn/ProductCard.js +1 -1
- package/build/rn/Progress.js +1 -1
- package/build/rn/ProgressBar.js +1 -1
- package/build/rn/QuantitySelector.js +1 -1
- package/build/rn/QuantitySelectorSideButton.js +1 -1
- package/build/rn/QuickLinks.js +1 -1
- package/build/rn/QuickLinksButton.js +1 -1
- package/build/rn/QuickLinksCard.js +1 -1
- package/build/rn/QuickLinksFeature.js +1 -1
- package/build/rn/QuickLinksFeatureItem.js +1 -1
- package/build/rn/QuickLinksList.js +1 -1
- package/build/rn/Radio.js +1 -1
- package/build/rn/RadioCard.js +1 -1
- package/build/rn/RadioCardGroup.js +1 -1
- package/build/rn/RadioGroup.js +1 -1
- package/build/rn/Ribbon.js +1 -1
- package/build/rn/Search.js +1 -1
- package/build/rn/SearchButton.js +1 -1
- package/build/rn/Select.js +1 -1
- package/build/rn/SideNav.js +1 -1
- package/build/rn/SideNavItem.js +1 -1
- package/build/rn/SideNavItemsGroup.js +1 -1
- package/build/rn/Skeleton.js +1 -1
- package/build/rn/SkipLink.js +1 -1
- package/build/rn/Spinner.js +1 -1
- package/build/rn/SplashButton.js +1 -1
- package/build/rn/SplashButtonWithDetails.js +1 -1
- package/build/rn/StackView.js +1 -1
- package/build/rn/Status.js +1 -1
- package/build/rn/StepTracker.js +1 -1
- package/build/rn/StoryCard.js +1 -1
- package/build/rn/TabBar.js +1 -1
- package/build/rn/TabBarItem.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 +5 -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 +883 -759
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +30 -11
- 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 +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 +2 -1
- package/build/web/ButtonDropdown.js +1 -1
- package/build/web/ButtonGroup.js +8 -5
- package/build/web/ButtonGroupItem.js +18 -6
- 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 +3 -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 +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 +5 -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 +883 -759
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +30 -11
- package/package.json +4 -4
- package/theme.json +51 -8
package/build/rn/spacingScale.js
CHANGED
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Tue, 24 Jun 2025 18:51:55 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -866,6 +866,7 @@ module.exports = {
|
|
|
866
866
|
borderTopWidth: 1,
|
|
867
867
|
borderWidth: 1,
|
|
868
868
|
color: '#ffffff',
|
|
869
|
+
flex: 0,
|
|
869
870
|
fontName: 'StagSans',
|
|
870
871
|
fontSize: 16,
|
|
871
872
|
fontWeight: '600',
|
|
@@ -1055,19 +1056,19 @@ module.exports = {
|
|
|
1055
1056
|
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1056
1057
|
},
|
|
1057
1058
|
width: {
|
|
1058
|
-
description: 'Available in default, or
|
|
1059
|
+
description: 'Available in default, responsive or equal. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport, equal divide the available width equally among `ButtonGroup`',
|
|
1059
1060
|
type: 'variant',
|
|
1060
|
-
values: [ 'responsive' ]
|
|
1061
|
+
values: [ 'responsive', 'equal' ]
|
|
1061
1062
|
}
|
|
1062
1063
|
},
|
|
1063
1064
|
rules: [
|
|
1064
1065
|
{
|
|
1065
1066
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
1066
|
-
tokens: { gap:
|
|
1067
|
+
tokens: { gap: 2, space: 2 }
|
|
1067
1068
|
},
|
|
1068
1069
|
{
|
|
1069
1070
|
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
1070
|
-
tokens: { space: 3 }
|
|
1071
|
+
tokens: { gap: 3, space: 3 }
|
|
1071
1072
|
},
|
|
1072
1073
|
{
|
|
1073
1074
|
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
@@ -1131,18 +1132,24 @@ module.exports = {
|
|
|
1131
1132
|
type: 'state',
|
|
1132
1133
|
values: [ true ]
|
|
1133
1134
|
},
|
|
1135
|
+
size: { type: 'variant', values: [ 'small' ] },
|
|
1134
1136
|
style: {
|
|
1135
1137
|
description: 'Configure `style` variant for `ButtonGroupItem`',
|
|
1136
1138
|
type: 'variant',
|
|
1137
1139
|
values: [ 'contained' ]
|
|
1138
1140
|
},
|
|
1139
1141
|
width: {
|
|
1140
|
-
description: 'Available in default, or
|
|
1142
|
+
description: 'Available in default, responsive or equal. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport, equal divide the available width equally among `ButtonGroup`',
|
|
1141
1143
|
type: 'variant',
|
|
1142
|
-
values: [ 'responsive' ]
|
|
1144
|
+
values: [ 'responsive', 'equal' ]
|
|
1143
1145
|
}
|
|
1144
1146
|
},
|
|
1145
1147
|
rules: [
|
|
1148
|
+
{ if: { width: 'equal' }, tokens: { width: '100%' } },
|
|
1149
|
+
{
|
|
1150
|
+
if: { size: 'small' },
|
|
1151
|
+
tokens: { height: 32, paddingBottom: 4, paddingTop: 4 }
|
|
1152
|
+
},
|
|
1146
1153
|
{
|
|
1147
1154
|
if: { focus: true },
|
|
1148
1155
|
tokens: { outerBorderColor: '#000000' }
|
|
@@ -1195,9 +1202,15 @@ module.exports = {
|
|
|
1195
1202
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1196
1203
|
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1197
1204
|
borderWidth: 0,
|
|
1198
|
-
height: 40
|
|
1205
|
+
height: 40,
|
|
1206
|
+
paddingBottom: 8,
|
|
1207
|
+
paddingTop: 8
|
|
1199
1208
|
}
|
|
1200
1209
|
},
|
|
1210
|
+
{
|
|
1211
|
+
if: { size: 'small', style: 'contained' },
|
|
1212
|
+
tokens: { height: 32, paddingBottom: 6, paddingTop: 6 }
|
|
1213
|
+
},
|
|
1201
1214
|
{
|
|
1202
1215
|
if: { hover: true, style: 'contained' },
|
|
1203
1216
|
tokens: {
|
|
@@ -1259,10 +1272,10 @@ module.exports = {
|
|
|
1259
1272
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1260
1273
|
outerBorderGap: 3,
|
|
1261
1274
|
outerBorderWidth: 1,
|
|
1262
|
-
paddingBottom:
|
|
1275
|
+
paddingBottom: 12,
|
|
1263
1276
|
paddingLeft: 24,
|
|
1264
1277
|
paddingRight: 24,
|
|
1265
|
-
paddingTop:
|
|
1278
|
+
paddingTop: 12,
|
|
1266
1279
|
shadow: null,
|
|
1267
1280
|
textAlign: 'center',
|
|
1268
1281
|
width: null
|
|
@@ -4753,12 +4766,14 @@ module.exports = {
|
|
|
4753
4766
|
buttonIconBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4754
4767
|
buttonIconPadding: 4,
|
|
4755
4768
|
buttonIconSize: 20,
|
|
4769
|
+
containerBorderColor: '#c9c8c8',
|
|
4756
4770
|
contentMarginBottom: 32,
|
|
4757
4771
|
contentMarginLeft: 16,
|
|
4758
4772
|
contentMarginRight: 16,
|
|
4759
4773
|
contentMarginTop: 24,
|
|
4760
4774
|
contentPaddingLeft: 16,
|
|
4761
4775
|
contentPaddingRight: 16,
|
|
4776
|
+
dividerColor: '#c9c8c8',
|
|
4762
4777
|
headerFontColor: '#000000',
|
|
4763
4778
|
headerFontName: 'StagSans',
|
|
4764
4779
|
headerFontSize: 14,
|
|
@@ -8384,6 +8399,10 @@ module.exports = {
|
|
|
8384
8399
|
labelFontWeight: '600',
|
|
8385
8400
|
labelLineHeight: 1.5,
|
|
8386
8401
|
labelMarginLeft: 0,
|
|
8402
|
+
mobileSwitchSize: 24,
|
|
8403
|
+
mobileTrackBorderWidth: 4,
|
|
8404
|
+
mobileTrackHeight: 32,
|
|
8405
|
+
mobileWidth: 48,
|
|
8387
8406
|
opacity: 1,
|
|
8388
8407
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
8389
8408
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -9057,5 +9076,5 @@ module.exports = {
|
|
|
9057
9076
|
tokens: { size: 96 }
|
|
9058
9077
|
}
|
|
9059
9078
|
},
|
|
9060
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '4.
|
|
9079
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '4.8.0' }
|
|
9061
9080
|
}
|
package/build/web/ActionCard.js
CHANGED
package/build/web/Badge.js
CHANGED
package/build/web/BlockQuote.js
CHANGED
package/build/web/Box.js
CHANGED
package/build/web/Breadcrumbs.js
CHANGED
package/build/web/Button.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Tue, 24 Jun 2025 18:52:14 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -415,6 +415,7 @@ const theme = {
|
|
|
415
415
|
borderTopWidth: 1,
|
|
416
416
|
borderWidth: 1,
|
|
417
417
|
color: '#ffffff',
|
|
418
|
+
flex: 0,
|
|
418
419
|
fontName: 'StagSans',
|
|
419
420
|
fontSize: 16,
|
|
420
421
|
fontWeight: '600',
|
package/build/web/ButtonGroup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Tue, 24 Jun 2025 18:52:14 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -19,14 +19,17 @@ const theme = {
|
|
|
19
19
|
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
20
20
|
},
|
|
21
21
|
width: {
|
|
22
|
-
description: 'Available in default, or
|
|
22
|
+
description: 'Available in default, responsive or equal. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport, equal divide the available width equally among `ButtonGroup`',
|
|
23
23
|
type: 'variant',
|
|
24
|
-
values: [ 'responsive' ]
|
|
24
|
+
values: [ 'responsive', 'equal' ]
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
rules: [
|
|
28
|
-
{ if: { viewport: [ 'xs', 'sm' ] }, tokens: { gap:
|
|
29
|
-
{
|
|
28
|
+
{ if: { viewport: [ 'xs', 'sm' ] }, tokens: { gap: 2, space: 2 } },
|
|
29
|
+
{
|
|
30
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
31
|
+
tokens: { gap: 3, space: 3 }
|
|
32
|
+
},
|
|
30
33
|
{
|
|
31
34
|
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
32
35
|
tokens: { alignItems: 'stretch', direction: 'column' }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Tue, 24 Jun 2025 18:52:14 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -40,18 +40,24 @@ const theme = {
|
|
|
40
40
|
type: 'state',
|
|
41
41
|
values: [ true ]
|
|
42
42
|
},
|
|
43
|
+
size: { type: 'variant', values: [ 'small' ] },
|
|
43
44
|
style: {
|
|
44
45
|
description: 'Configure `style` variant for `ButtonGroupItem`',
|
|
45
46
|
type: 'variant',
|
|
46
47
|
values: [ 'contained' ]
|
|
47
48
|
},
|
|
48
49
|
width: {
|
|
49
|
-
description: 'Available in default, or
|
|
50
|
+
description: 'Available in default, responsive or equal. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport, equal divide the available width equally among `ButtonGroup`',
|
|
50
51
|
type: 'variant',
|
|
51
|
-
values: [ 'responsive' ]
|
|
52
|
+
values: [ 'responsive', 'equal' ]
|
|
52
53
|
}
|
|
53
54
|
},
|
|
54
55
|
rules: [
|
|
56
|
+
{ if: { width: 'equal' }, tokens: { width: '100%' } },
|
|
57
|
+
{
|
|
58
|
+
if: { size: 'small' },
|
|
59
|
+
tokens: { height: 32, paddingBottom: 4, paddingTop: 4 }
|
|
60
|
+
},
|
|
55
61
|
{ if: { focus: true }, tokens: { outerBorderColor: '#000000' } },
|
|
56
62
|
{
|
|
57
63
|
if: { hover: true },
|
|
@@ -97,9 +103,15 @@ const theme = {
|
|
|
97
103
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
98
104
|
borderColor: 'rgba(0, 0, 0, 0)',
|
|
99
105
|
borderWidth: 0,
|
|
100
|
-
height: 40
|
|
106
|
+
height: 40,
|
|
107
|
+
paddingBottom: 8,
|
|
108
|
+
paddingTop: 8
|
|
101
109
|
}
|
|
102
110
|
},
|
|
111
|
+
{
|
|
112
|
+
if: { size: 'small', style: 'contained' },
|
|
113
|
+
tokens: { height: 32, paddingBottom: 6, paddingTop: 6 }
|
|
114
|
+
},
|
|
103
115
|
{
|
|
104
116
|
if: { hover: true, style: 'contained' },
|
|
105
117
|
tokens: {
|
|
@@ -157,10 +169,10 @@ const theme = {
|
|
|
157
169
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
158
170
|
outerBorderGap: 3,
|
|
159
171
|
outerBorderWidth: 1,
|
|
160
|
-
paddingBottom:
|
|
172
|
+
paddingBottom: 12,
|
|
161
173
|
paddingLeft: 24,
|
|
162
174
|
paddingRight: 24,
|
|
163
|
-
paddingTop:
|
|
175
|
+
paddingTop: 12,
|
|
164
176
|
shadow: null,
|
|
165
177
|
textAlign: 'center',
|
|
166
178
|
width: null
|
package/build/web/Callout.js
CHANGED
package/build/web/Card.js
CHANGED
package/build/web/CardGroup.js
CHANGED
package/build/web/Carousel.js
CHANGED
package/build/web/Checkbox.js
CHANGED
package/build/web/ChevronLink.js
CHANGED
package/build/web/Countdown.js
CHANGED
package/build/web/DatePicker.js
CHANGED
package/build/web/Disclaimer.js
CHANGED
package/build/web/Divider.js
CHANGED
package/build/web/DownloadApp.js
CHANGED
package/build/web/Feedback.js
CHANGED
package/build/web/Fieldset.js
CHANGED
package/build/web/FileUpload.js
CHANGED
package/build/web/Footnote.js
CHANGED
package/build/web/Icon.js
CHANGED
package/build/web/IconButton.js
CHANGED