@telus-uds/theme-koodo 5.5.0 → 5.6.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/CarouselThumbnail.json +2 -2
- package/build/android/IconButton.json +10 -4
- package/build/android/Link.json +4 -4
- package/build/android/TermsAndConditions.json +51 -0
- package/build/android/schema.json +738 -673
- package/build/android/theme.json +68 -11
- package/build/ios/CarouselThumbnail.json +2 -2
- package/build/ios/IconButton.json +10 -4
- package/build/ios/Link.json +4 -4
- package/build/ios/TermsAndConditions.json +51 -0
- package/build/ios/schema.json +738 -673
- package/build/ios/theme.json +68 -11
- 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 +3 -3
- package/build/rn/ButtonDropdown.js +3 -3
- package/build/rn/ButtonGroup.js +1 -1
- package/build/rn/ButtonGroupItem.js +3 -3
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +3 -3
- package/build/rn/Carousel.js +1 -1
- package/build/rn/CarouselTabsPanelItem.js +3 -3
- package/build/rn/CarouselThumbnail.js +5 -5
- package/build/rn/Checkbox.js +3 -3
- package/build/rn/CheckboxCard.js +3 -3
- package/build/rn/CheckboxCardGroup.js +1 -1
- package/build/rn/CheckboxGroup.js +1 -1
- package/build/rn/ChevronLink.js +3 -3
- package/build/rn/ColourToggle.js +3 -3
- 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 +3 -3
- package/build/rn/Icon.js +1 -1
- package/build/rn/IconButton.js +9 -5
- 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 +7 -7
- package/build/rn/List.js +1 -1
- package/build/rn/Listbox.js +3 -3
- package/build/rn/Modal.js +1 -1
- package/build/rn/MultiSelectFilter.js +1 -1
- package/build/rn/NavigationBar.js +3 -3
- 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 +3 -3
- package/build/rn/PaginationSideButton.js +3 -3
- package/build/rn/PreviewCard.js +4 -4
- package/build/rn/PriceLockup.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 +3 -3
- package/build/rn/QuickLinksCard.js +1 -1
- package/build/rn/QuickLinksFeature.js +1 -1
- 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 +1 -1
- package/build/rn/RadioGroup.js +1 -1
- package/build/rn/Ribbon.js +1 -1
- package/build/rn/Search.js +2 -2
- package/build/rn/SearchButton.js +3 -3
- package/build/rn/Select.js +2 -2
- package/build/rn/SideNav.js +1 -1
- package/build/rn/SideNavItem.js +3 -3
- package/build/rn/SideNavItemsGroup.js +1 -1
- package/build/rn/Skeleton.js +1 -1
- package/build/rn/SkipLink.js +2 -2
- package/build/rn/Spinner.js +1 -1
- package/build/rn/SplashButton.js +2 -2
- package/build/rn/SplashButtonWithDetails.js +2 -2
- package/build/rn/StackView.js +1 -1
- package/build/rn/StepTracker.js +1 -1
- package/build/rn/StoryCard.js +3 -3
- package/build/rn/Table.js +1 -1
- package/build/rn/Tabs.js +1 -1
- package/build/rn/TabsItem.js +3 -3
- package/build/rn/Tags.js +1 -1
- package/build/rn/TagsItem.js +3 -3
- package/build/rn/TermsAndConditions.js +56 -1
- package/build/rn/Testimonial.js +1 -1
- package/build/rn/TextArea.js +1 -1
- package/build/rn/TextInput.js +2 -2
- package/build/rn/Timeline.js +1 -1
- package/build/rn/Toast.js +1 -1
- package/build/rn/ToggleSwitch.js +3 -3
- package/build/rn/ToggleSwitchGroup.js +1 -1
- package/build/rn/Tooltip.js +1 -1
- package/build/rn/TooltipButton.js +3 -3
- 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 +3 -3
- 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 +738 -673
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +138 -79
- 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 +149 -1
- package/build/web/ButtonDropdown.js +48 -1
- package/build/web/ButtonGroup.js +1 -1
- package/build/web/ButtonGroupItem.js +34 -1
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +25 -2
- package/build/web/Carousel.js +1 -1
- package/build/web/CarouselTabsPanelItem.js +53 -1
- package/build/web/CarouselThumbnail.js +20 -3
- package/build/web/Checkbox.js +21 -1
- package/build/web/CheckboxCard.js +37 -1
- package/build/web/CheckboxCardGroup.js +1 -1
- package/build/web/CheckboxGroup.js +1 -1
- package/build/web/ChevronLink.js +49 -1
- package/build/web/ColourToggle.js +29 -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 +21 -1
- package/build/web/Icon.js +1 -1
- package/build/web/IconButton.js +56 -3
- 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 +70 -6
- package/build/web/List.js +1 -1
- package/build/web/Listbox.js +104 -1
- package/build/web/Modal.js +1 -1
- package/build/web/MultiSelectFilter.js +1 -1
- package/build/web/NavigationBar.js +44 -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 +26 -1
- package/build/web/PaginationSideButton.js +35 -1
- package/build/web/PreviewCard.js +43 -3
- package/build/web/PriceLockup.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 +19 -1
- package/build/web/QuickLinksCard.js +1 -1
- package/build/web/QuickLinksFeature.js +1 -1
- package/build/web/QuickLinksFeatureItem.js +29 -1
- package/build/web/QuickLinksList.js +15 -1
- package/build/web/Radio.js +22 -1
- package/build/web/RadioCard.js +37 -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 +8 -1
- package/build/web/SearchButton.js +30 -1
- package/build/web/Select.js +15 -1
- package/build/web/SideNav.js +1 -1
- package/build/web/SideNavItem.js +19 -1
- package/build/web/SideNavItemsGroup.js +1 -1
- package/build/web/Skeleton.js +1 -1
- package/build/web/SkipLink.js +13 -2
- package/build/web/Spinner.js +1 -1
- package/build/web/SplashButton.js +9 -2
- package/build/web/SplashButtonWithDetails.js +15 -3
- package/build/web/StackView.js +1 -1
- package/build/web/StepTracker.js +1 -1
- package/build/web/StoryCard.js +25 -2
- package/build/web/Table.js +1 -1
- package/build/web/Tabs.js +1 -1
- package/build/web/TabsItem.js +49 -1
- package/build/web/Tags.js +1 -1
- package/build/web/TagsItem.js +57 -1
- package/build/web/TermsAndConditions.js +56 -1
- package/build/web/Testimonial.js +1 -1
- package/build/web/TextArea.js +1 -1
- package/build/web/TextInput.js +30 -3
- package/build/web/Timeline.js +1 -1
- package/build/web/Toast.js +1 -1
- package/build/web/ToggleSwitch.js +63 -1
- package/build/web/ToggleSwitchGroup.js +1 -1
- package/build/web/Tooltip.js +1 -1
- package/build/web/TooltipButton.js +33 -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 +25 -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 +738 -673
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +1440 -34
- package/package.json +4 -4
- package/theme.json +59 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 07 Feb 2024 19:07:57 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -14,6 +14,18 @@ const theme = {
|
|
|
14
14
|
values: [ true ]
|
|
15
15
|
},
|
|
16
16
|
error: { type: 'state', values: [ true ] },
|
|
17
|
+
focus: {
|
|
18
|
+
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.",
|
|
19
|
+
platforms: [ 'rn', 'web' ],
|
|
20
|
+
type: 'state',
|
|
21
|
+
values: [ true, false ]
|
|
22
|
+
},
|
|
23
|
+
hover: {
|
|
24
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
25
|
+
platforms: [ 'rn', 'web' ],
|
|
26
|
+
type: 'state',
|
|
27
|
+
values: [ true, false ]
|
|
28
|
+
},
|
|
17
29
|
inactive: {
|
|
18
30
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
19
31
|
type: 'state',
|
|
@@ -42,6 +54,17 @@ const theme = {
|
|
|
42
54
|
paddingTop: 16
|
|
43
55
|
}
|
|
44
56
|
},
|
|
57
|
+
{
|
|
58
|
+
if: { hover: true },
|
|
59
|
+
tokens: {
|
|
60
|
+
borderColor: '#666666',
|
|
61
|
+
checkboxOuterBorderColor: '#000000',
|
|
62
|
+
checkboxOuterBorderGap: 2,
|
|
63
|
+
checkboxOuterBorderWidth: 1,
|
|
64
|
+
outerBorderColor: '#c9c8c8',
|
|
65
|
+
outerBorderWidth: 2
|
|
66
|
+
}
|
|
67
|
+
},
|
|
45
68
|
{
|
|
46
69
|
if: { checked: true },
|
|
47
70
|
tokens: {
|
|
@@ -51,6 +74,19 @@ const theme = {
|
|
|
51
74
|
checkboxInputBorderWidth: 2
|
|
52
75
|
}
|
|
53
76
|
},
|
|
77
|
+
{
|
|
78
|
+
if: { focus: true },
|
|
79
|
+
tokens: {
|
|
80
|
+
borderColor: '#666666',
|
|
81
|
+
checkboxInputBorderColor: '#000000',
|
|
82
|
+
checkboxOuterBorderColor: '#000000',
|
|
83
|
+
checkboxOuterBorderGap: 2,
|
|
84
|
+
checkboxOuterBorderWidth: 1,
|
|
85
|
+
outerBorderColor: '#000000',
|
|
86
|
+
outerBorderGap: 2,
|
|
87
|
+
outerBorderWidth: 2
|
|
88
|
+
}
|
|
89
|
+
},
|
|
54
90
|
{
|
|
55
91
|
description: 'Pressed state matches hover state plus light grey background',
|
|
56
92
|
if: { pressed: true },
|
package/build/web/ChevronLink.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 07 Feb 2024 19:07:57 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -10,6 +10,18 @@ import PaletteIconChevronRight from '@telus-uds/palette-koodo/build/rn/icons/Che
|
|
|
10
10
|
const theme = {
|
|
11
11
|
appearances: {
|
|
12
12
|
alternative: { type: 'variant', values: [ true ] },
|
|
13
|
+
focus: {
|
|
14
|
+
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.",
|
|
15
|
+
platforms: [ 'rn', 'web' ],
|
|
16
|
+
type: 'state',
|
|
17
|
+
values: [ true, false ]
|
|
18
|
+
},
|
|
19
|
+
hover: {
|
|
20
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
21
|
+
platforms: [ 'rn', 'web' ],
|
|
22
|
+
type: 'state',
|
|
23
|
+
values: [ true, false ]
|
|
24
|
+
},
|
|
13
25
|
inverse: { type: 'variant', values: [ true ] },
|
|
14
26
|
pressed: {
|
|
15
27
|
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.',
|
|
@@ -23,17 +35,53 @@ const theme = {
|
|
|
23
35
|
}
|
|
24
36
|
},
|
|
25
37
|
rules: [
|
|
38
|
+
{
|
|
39
|
+
if: { hover: true },
|
|
40
|
+
tokens: { color: '#404040', iconDisplace: 4 }
|
|
41
|
+
},
|
|
26
42
|
{ if: { pressed: true }, tokens: { color: '#666666' } },
|
|
43
|
+
{
|
|
44
|
+
if: { focus: true },
|
|
45
|
+
tokens: { color: '#000000', outerBorderColor: '#000000' }
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
if: { focus: true, pressed: true },
|
|
49
|
+
tokens: { color: '#666666', outerBorderColor: '#666666' }
|
|
50
|
+
},
|
|
27
51
|
{ if: { alternative: true }, tokens: { color: '#7a3dfc' } },
|
|
52
|
+
{
|
|
53
|
+
if: { alternative: true, hover: true },
|
|
54
|
+
tokens: { color: '#5b2bc2' }
|
|
55
|
+
},
|
|
28
56
|
{
|
|
29
57
|
if: { alternative: true, pressed: true },
|
|
30
58
|
tokens: { color: '#666666' }
|
|
31
59
|
},
|
|
60
|
+
{
|
|
61
|
+
if: { alternative: true, focus: true },
|
|
62
|
+
tokens: { color: '#7a3dfc', outerBorderColor: '#7a3dfc' }
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
if: { alternative: true, focus: true, pressed: true },
|
|
66
|
+
tokens: { color: '#666666', outerBorderColor: '#666666' }
|
|
67
|
+
},
|
|
32
68
|
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
69
|
+
{
|
|
70
|
+
if: { hover: true, inverse: true },
|
|
71
|
+
tokens: { color: '#efefef' }
|
|
72
|
+
},
|
|
33
73
|
{
|
|
34
74
|
if: { inverse: true, pressed: true },
|
|
35
75
|
tokens: { color: '#c9c8c8' }
|
|
36
76
|
},
|
|
77
|
+
{
|
|
78
|
+
if: { focus: true, inverse: true },
|
|
79
|
+
tokens: { color: '#ffffff', outerBorderColor: '#ffffff' }
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
if: { focus: true, inverse: true, pressed: true },
|
|
83
|
+
tokens: { color: '#c9c8c8', outerBorderColor: '#c9c8c8' }
|
|
84
|
+
},
|
|
37
85
|
{
|
|
38
86
|
if: { size: 'large' },
|
|
39
87
|
tokens: { blockLineHeight: 1.4, fontSize: 20, iconSize: 20 }
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 07 Feb 2024 19:07:57 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
const theme = {
|
|
10
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
|
+
},
|
|
11
23
|
pressed: {
|
|
12
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.',
|
|
13
25
|
type: 'state',
|
|
@@ -20,6 +32,22 @@ const theme = {
|
|
|
20
32
|
}
|
|
21
33
|
},
|
|
22
34
|
rules: [
|
|
35
|
+
{
|
|
36
|
+
if: { hover: true },
|
|
37
|
+
tokens: {
|
|
38
|
+
bubbleBorderColor: '#c9c8c8',
|
|
39
|
+
bubbleBorderRadius: 45,
|
|
40
|
+
bubbleBorderWidth: 1
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
if: { focus: true },
|
|
45
|
+
tokens: {
|
|
46
|
+
bubbleBorderColor: '#7a3dfc',
|
|
47
|
+
bubbleBorderRadius: 45,
|
|
48
|
+
bubbleBorderWidth: 1
|
|
49
|
+
}
|
|
50
|
+
},
|
|
23
51
|
{
|
|
24
52
|
if: { pressed: true },
|
|
25
53
|
tokens: {
|
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/Feedback.js
CHANGED
package/build/web/Fieldset.js
CHANGED
package/build/web/Footnote.js
CHANGED
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 07 Feb 2024 19:07:57 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
const theme = {
|
|
10
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
|
+
},
|
|
11
23
|
pressed: {
|
|
12
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.',
|
|
13
25
|
type: 'state',
|
|
@@ -15,6 +27,14 @@ const theme = {
|
|
|
15
27
|
}
|
|
16
28
|
},
|
|
17
29
|
rules: [
|
|
30
|
+
{
|
|
31
|
+
if: { hover: true },
|
|
32
|
+
tokens: {
|
|
33
|
+
backgroundColor: '#000000',
|
|
34
|
+
borderColor: '#000000',
|
|
35
|
+
iconColor: '#ffffff'
|
|
36
|
+
}
|
|
37
|
+
},
|
|
18
38
|
{
|
|
19
39
|
if: { pressed: true },
|
|
20
40
|
tokens: {
|
package/build/web/Icon.js
CHANGED
package/build/web/IconButton.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 07 Feb 2024 19:07:57 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -31,6 +31,18 @@ const theme = {
|
|
|
31
31
|
type: 'variant',
|
|
32
32
|
values: [ true ]
|
|
33
33
|
},
|
|
34
|
+
focus: {
|
|
35
|
+
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.",
|
|
36
|
+
platforms: [ 'rn', 'web' ],
|
|
37
|
+
type: 'state',
|
|
38
|
+
values: [ true, false ]
|
|
39
|
+
},
|
|
40
|
+
hover: {
|
|
41
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
42
|
+
platforms: [ 'rn', 'web' ],
|
|
43
|
+
type: 'state',
|
|
44
|
+
values: [ true, false ]
|
|
45
|
+
},
|
|
34
46
|
inactive: {
|
|
35
47
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
36
48
|
type: 'state',
|
|
@@ -115,9 +127,48 @@ const theme = {
|
|
|
115
127
|
},
|
|
116
128
|
{
|
|
117
129
|
if: { inverse: true },
|
|
118
|
-
tokens: {
|
|
130
|
+
tokens: {
|
|
131
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
132
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
133
|
+
iconColor: '#ffffff'
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
if: { hover: true },
|
|
138
|
+
tokens: {
|
|
139
|
+
backgroundColor: '#000000',
|
|
140
|
+
iconColor: '#ffffff',
|
|
141
|
+
iconScale: 1.1
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
if: { hover: true, inverse: true },
|
|
146
|
+
tokens: { backgroundColor: '#ffffff', iconColor: '#000000' }
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
if: { focus: true },
|
|
150
|
+
tokens: {
|
|
151
|
+
backgroundColor: 'transparent',
|
|
152
|
+
borderColor: '#000000',
|
|
153
|
+
iconColor: '#000000',
|
|
154
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
if: { focus: true, inverse: true },
|
|
159
|
+
tokens: {
|
|
160
|
+
backgroundColor: 'transparent',
|
|
161
|
+
borderColor: '#ffffff',
|
|
162
|
+
iconColor: '#ffffff',
|
|
163
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
164
|
+
outerBorderWidth: 0
|
|
165
|
+
}
|
|
119
166
|
},
|
|
120
167
|
{ if: { password: true }, tokens: { borderColor: 'transparent' } },
|
|
168
|
+
{
|
|
169
|
+
if: { focus: true, password: true },
|
|
170
|
+
tokens: { borderColor: '#000000', borderWidth: 3, outerBorderWidth: 0 }
|
|
171
|
+
},
|
|
121
172
|
{
|
|
122
173
|
if: { inactive: null, pressed: true },
|
|
123
174
|
tokens: { backgroundColor: '#404040', iconColor: '#666666' }
|
|
@@ -157,11 +208,13 @@ const theme = {
|
|
|
157
208
|
}
|
|
158
209
|
}
|
|
159
210
|
},
|
|
211
|
+
{ if: { hover: true, raised: true }, tokens: {} },
|
|
160
212
|
{
|
|
161
213
|
if: { raised: true, size: 'large' },
|
|
162
214
|
tokens: { iconSize: 24, padding: 12 }
|
|
163
215
|
},
|
|
164
216
|
{ if: { raised: true, size: 'small' }, tokens: { padding: 8 } },
|
|
217
|
+
{ if: { focus: true, raised: true }, tokens: { borderWidth: 3 } },
|
|
165
218
|
{
|
|
166
219
|
if: { pressed: true, raised: true },
|
|
167
220
|
tokens: { backgroundColor: '#000000', iconColor: '#666666' }
|
|
@@ -178,7 +231,7 @@ const theme = {
|
|
|
178
231
|
}
|
|
179
232
|
],
|
|
180
233
|
tokens: {
|
|
181
|
-
backgroundColor: '
|
|
234
|
+
backgroundColor: '#ffffff',
|
|
182
235
|
borderBottomLeftRadius: null,
|
|
183
236
|
borderBottomRightRadius: null,
|
|
184
237
|
borderBottomWidth: null,
|
package/build/web/Image.js
CHANGED
package/build/web/InputLabel.js
CHANGED
package/build/web/Link.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 07 Feb 2024 19:07:57 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -9,6 +9,18 @@
|
|
|
9
9
|
const theme = {
|
|
10
10
|
appearances: {
|
|
11
11
|
alternative: { type: 'variant', values: [ true ] },
|
|
12
|
+
focus: {
|
|
13
|
+
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.",
|
|
14
|
+
platforms: [ 'rn', 'web' ],
|
|
15
|
+
type: 'state',
|
|
16
|
+
values: [ true, false ]
|
|
17
|
+
},
|
|
18
|
+
hover: {
|
|
19
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
20
|
+
platforms: [ 'rn', 'web' ],
|
|
21
|
+
type: 'state',
|
|
22
|
+
values: [ true, false ]
|
|
23
|
+
},
|
|
12
24
|
iconPosition: {
|
|
13
25
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
14
26
|
type: 'state',
|
|
@@ -33,16 +45,56 @@ const theme = {
|
|
|
33
45
|
},
|
|
34
46
|
rules: [
|
|
35
47
|
{ if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
|
|
48
|
+
{
|
|
49
|
+
if: { focus: true },
|
|
50
|
+
tokens: {
|
|
51
|
+
color: '#000000',
|
|
52
|
+
outerBorderColor: '#000000',
|
|
53
|
+
outerBorderOutline: 'none'
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
if: { focus: true, pressed: true },
|
|
58
|
+
tokens: { color: '#666666', outerBorderColor: '#666666' }
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
if: { hover: true },
|
|
62
|
+
tokens: { color: '#404040', textLine: 'none' }
|
|
63
|
+
},
|
|
36
64
|
{
|
|
37
65
|
if: { pressed: true },
|
|
38
66
|
tokens: { color: '#666666', textLine: 'none' }
|
|
39
67
|
},
|
|
40
68
|
{ if: { alternative: true }, tokens: { color: '#7a3dfc' } },
|
|
69
|
+
{
|
|
70
|
+
if: { alternative: true, focus: true },
|
|
71
|
+
tokens: { color: '#7a3dfc', outerBorderColor: '#7a3dfc' }
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
if: { alternative: true, hover: true },
|
|
75
|
+
tokens: { color: '#5b2bc2' }
|
|
76
|
+
},
|
|
41
77
|
{
|
|
42
78
|
if: { alternative: true, pressed: true },
|
|
43
79
|
tokens: { color: '#666666' }
|
|
44
80
|
},
|
|
81
|
+
{
|
|
82
|
+
if: { alternative: true, focus: true, pressed: true },
|
|
83
|
+
tokens: { color: '#666666', outerBorderColor: '#666666' }
|
|
84
|
+
},
|
|
45
85
|
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
86
|
+
{
|
|
87
|
+
if: { focus: true, inverse: true },
|
|
88
|
+
tokens: { color: '#ffffff', outerBorderColor: '#ffffff' }
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
if: { focus: true, inverse: true, pressed: true },
|
|
92
|
+
tokens: { color: '#c9c8c8', outerBorderColor: '#c9c8c8' }
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
if: { hover: true, inverse: true },
|
|
96
|
+
tokens: { color: '#efefef' }
|
|
97
|
+
},
|
|
46
98
|
{
|
|
47
99
|
if: { inverse: true, pressed: true },
|
|
48
100
|
tokens: { color: '#c9c8c8' }
|
|
@@ -53,8 +105,8 @@ const theme = {
|
|
|
53
105
|
blockFontName: 'StagSans',
|
|
54
106
|
blockFontSize: 12,
|
|
55
107
|
blockFontWeight: '600',
|
|
56
|
-
blockLineHeight: 1.
|
|
57
|
-
iconSize:
|
|
108
|
+
blockLineHeight: 1.33333333333,
|
|
109
|
+
iconSize: 12
|
|
58
110
|
}
|
|
59
111
|
},
|
|
60
112
|
{
|
|
@@ -62,14 +114,26 @@ const theme = {
|
|
|
62
114
|
tokens: {
|
|
63
115
|
blockFontSize: 14,
|
|
64
116
|
blockLineHeight: 1.42857142857,
|
|
65
|
-
iconSize:
|
|
117
|
+
iconSize: 14
|
|
66
118
|
}
|
|
67
119
|
},
|
|
68
120
|
{
|
|
69
121
|
if: { size: 'large' },
|
|
70
122
|
tokens: { blockFontSize: 20, blockLineHeight: 1.4, iconSize: 24 }
|
|
71
123
|
},
|
|
72
|
-
{ if: { quiet: true }, tokens: { textLine: 'none' } }
|
|
124
|
+
{ if: { quiet: true }, tokens: { textLine: 'none' } },
|
|
125
|
+
{
|
|
126
|
+
if: { hover: true, quiet: true },
|
|
127
|
+
tokens: { color: '#404040', textLine: 'underline' }
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
if: { alternative: true, hover: true, quiet: true },
|
|
131
|
+
tokens: { color: '#5b2bc2', textLine: 'underline' }
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
if: { hover: true, inverse: true, quiet: true },
|
|
135
|
+
tokens: { color: '#efefef', textLine: 'underline' }
|
|
136
|
+
}
|
|
73
137
|
],
|
|
74
138
|
tokens: {
|
|
75
139
|
alignSelf: 'flex-start',
|
|
@@ -80,7 +144,7 @@ const theme = {
|
|
|
80
144
|
borderRadius: 4,
|
|
81
145
|
color: '#000000',
|
|
82
146
|
icon: null,
|
|
83
|
-
iconSize:
|
|
147
|
+
iconSize: 16,
|
|
84
148
|
iconSpace: 1,
|
|
85
149
|
iconTranslateX: 0,
|
|
86
150
|
iconTranslateY: 0,
|