@telus-uds/theme-allium 4.23.0 → 4.24.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/TermsAndConditions.json +57 -0
- package/build/android/schema.json +1004 -959
- package/build/android/theme.json +60 -3
- package/build/ios/CarouselThumbnail.json +2 -2
- package/build/ios/TermsAndConditions.json +57 -0
- package/build/ios/schema.json +1004 -959
- package/build/ios/theme.json +60 -3
- 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 +3 -3
- 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 +3 -3
- 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 +1 -1
- package/build/rn/Tags.js +1 -1
- package/build/rn/TagsItem.js +3 -3
- package/build/rn/TermsAndConditions.js +36 -2
- 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 +1004 -959
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +105 -71
- 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 +94 -1
- package/build/web/ButtonDropdown.js +36 -1
- package/build/web/ButtonGroup.js +1 -1
- package/build/web/ButtonGroupItem.js +35 -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 +57 -1
- package/build/web/CarouselThumbnail.js +20 -3
- package/build/web/Checkbox.js +30 -1
- package/build/web/CheckboxCard.js +35 -1
- package/build/web/CheckboxCardGroup.js +1 -1
- package/build/web/CheckboxGroup.js +1 -1
- package/build/web/ChevronLink.js +38 -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 +17 -1
- package/build/web/Icon.js +1 -1
- package/build/web/IconButton.js +76 -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 +70 -2
- package/build/web/List.js +1 -1
- package/build/web/Listbox.js +61 -1
- package/build/web/Modal.js +1 -1
- package/build/web/MultiSelectFilter.js +1 -1
- package/build/web/NavigationBar.js +40 -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 +27 -1
- package/build/web/PaginationSideButton.js +26 -1
- package/build/web/PreviewCard.js +33 -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 +17 -2
- 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 +29 -1
- package/build/web/Radio.js +18 -1
- package/build/web/RadioCard.js +35 -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 +11 -1
- package/build/web/SearchButton.js +30 -1
- package/build/web/Select.js +8 -1
- package/build/web/SideNav.js +1 -1
- package/build/web/SideNavItem.js +30 -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 +15 -3
- 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 +1 -1
- package/build/web/Tags.js +1 -1
- package/build/web/TagsItem.js +35 -1
- package/build/web/TermsAndConditions.js +36 -2
- package/build/web/Testimonial.js +1 -1
- package/build/web/TextArea.js +1 -1
- package/build/web/TextInput.js +11 -1
- package/build/web/Timeline.js +1 -1
- package/build/web/Toast.js +1 -1
- package/build/web/ToggleSwitch.js +42 -1
- package/build/web/ToggleSwitchGroup.js +1 -1
- package/build/web/Tooltip.js +1 -1
- package/build/web/TooltipButton.js +19 -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 +21 -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 +1004 -959
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +1203 -21
- package/package.json +5 -5
- package/theme.json +31 -2
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:08:44 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -10,6 +10,18 @@ import PaletteIconArrowRight from '@telus-uds/palette-allium/build/rn/icons/Arro
|
|
|
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,13 +35,25 @@ const theme = {
|
|
|
23
35
|
}
|
|
24
36
|
},
|
|
25
37
|
rules: [
|
|
38
|
+
{
|
|
39
|
+
if: { hover: true },
|
|
40
|
+
tokens: { color: '#1f5c09', iconDisplace: 4 }
|
|
41
|
+
},
|
|
26
42
|
{ if: { pressed: true }, tokens: { color: '#163e06' } },
|
|
27
43
|
{ if: { alternative: true }, tokens: { color: '#414547' } },
|
|
44
|
+
{
|
|
45
|
+
if: { alternative: true, hover: true },
|
|
46
|
+
tokens: { color: '#2c2e30' }
|
|
47
|
+
},
|
|
28
48
|
{
|
|
29
49
|
if: { alternative: true, pressed: true },
|
|
30
50
|
tokens: { color: '#2c2e30' }
|
|
31
51
|
},
|
|
32
52
|
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
53
|
+
{
|
|
54
|
+
if: { hover: true, inverse: true },
|
|
55
|
+
tokens: { color: '#f4f4f7' }
|
|
56
|
+
},
|
|
33
57
|
{
|
|
34
58
|
if: { inverse: true, pressed: true },
|
|
35
59
|
tokens: { color: '#e3e6e8' }
|
|
@@ -45,6 +69,19 @@ const theme = {
|
|
|
45
69
|
{
|
|
46
70
|
if: { size: 'micro' },
|
|
47
71
|
tokens: { blockLineHeight: 1.33333333333, fontSize: 12, iconSize: 16 }
|
|
72
|
+
},
|
|
73
|
+
{ if: { focus: true }, tokens: { outerBorderColor: '#2b8000' } },
|
|
74
|
+
{
|
|
75
|
+
if: { focus: true, pressed: true },
|
|
76
|
+
tokens: { outerBorderColor: '#163e06' }
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
if: { focus: true, inverse: true },
|
|
80
|
+
tokens: { outerBorderColor: '#ffffff' }
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
if: { alternative: true, focus: true },
|
|
84
|
+
tokens: { color: '#414547', outerBorderColor: '#414547' }
|
|
48
85
|
}
|
|
49
86
|
],
|
|
50
87
|
tokens: {
|
|
@@ -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:08:44 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: '#b2b9bf',
|
|
39
|
+
bubbleBorderRadius: 45,
|
|
40
|
+
bubbleBorderWidth: 1
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
if: { focus: true },
|
|
45
|
+
tokens: {
|
|
46
|
+
bubbleBorderColor: '#676e73',
|
|
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:08:44 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,10 @@ const theme = {
|
|
|
15
27
|
}
|
|
16
28
|
},
|
|
17
29
|
rules: [
|
|
30
|
+
{
|
|
31
|
+
if: { hover: true },
|
|
32
|
+
tokens: { borderColor: '#414547', iconColor: '#414547' }
|
|
33
|
+
},
|
|
18
34
|
{
|
|
19
35
|
if: { pressed: true },
|
|
20
36
|
tokens: { backgroundColor: '#676e73', iconColor: '#ffffff' }
|
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:08:44 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',
|
|
@@ -117,7 +129,54 @@ const theme = {
|
|
|
117
129
|
if: { inverse: true },
|
|
118
130
|
tokens: { borderColor: '#ffffff', iconColor: '#ffffff' }
|
|
119
131
|
},
|
|
132
|
+
{
|
|
133
|
+
if: { hover: true },
|
|
134
|
+
tokens: { borderColor: '#414547', iconColor: '#414547', iconScale: 1.1 }
|
|
135
|
+
},
|
|
136
|
+
{ if: { hover: true }, tokens: { iconScale: 1 } },
|
|
137
|
+
{
|
|
138
|
+
if: { hover: true, password: true },
|
|
139
|
+
tokens: {
|
|
140
|
+
backgroundColor: '#7c53a5',
|
|
141
|
+
borderColor: '#7c53a5',
|
|
142
|
+
iconColor: '#ffffff'
|
|
143
|
+
}
|
|
144
|
+
},
|
|
120
145
|
{ if: { password: true }, tokens: { borderColor: 'transparent' } },
|
|
146
|
+
{
|
|
147
|
+
if: { focus: true, password: true },
|
|
148
|
+
tokens: { borderColor: '#4b286d' }
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
if: { hover: true, inverse: true },
|
|
152
|
+
tokens: { borderColor: '#ffffff', iconColor: '#ffffff' }
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
if: { focus: true },
|
|
156
|
+
tokens: {
|
|
157
|
+
outerBorderColor: '#676e73',
|
|
158
|
+
outerBorderGap: 4,
|
|
159
|
+
outerBorderWidth: 1
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
if: { focus: true, password: true },
|
|
164
|
+
tokens: {
|
|
165
|
+
borderWidth: 3,
|
|
166
|
+
outerBorderColor: '#3f2a54',
|
|
167
|
+
outerBorderWidth: 0
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
if: { focus: true, inverse: true },
|
|
172
|
+
tokens: {
|
|
173
|
+
backgroundColor: 'transparent',
|
|
174
|
+
borderColor: '#ffffff',
|
|
175
|
+
iconColor: '#ffffff',
|
|
176
|
+
outerBorderColor: '#ffffff',
|
|
177
|
+
outerBorderWidth: 1
|
|
178
|
+
}
|
|
179
|
+
},
|
|
121
180
|
{
|
|
122
181
|
if: { pressed: true },
|
|
123
182
|
tokens: {
|
|
@@ -187,6 +246,22 @@ const theme = {
|
|
|
187
246
|
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
188
247
|
}
|
|
189
248
|
},
|
|
249
|
+
{
|
|
250
|
+
if: { hover: true, raised: true },
|
|
251
|
+
tokens: { borderColor: '#b2b9bf', borderWidth: 3 }
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
if: { focus: true, raised: true },
|
|
255
|
+
tokens: { borderColor: '#4b286d', borderWidth: 3, iconColor: '#4b286d' }
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
if: { focus: true, pressed: true, raised: true },
|
|
259
|
+
tokens: {
|
|
260
|
+
backgroundColor: '#4b286d',
|
|
261
|
+
borderWidth: 0,
|
|
262
|
+
iconColor: '#ffffff'
|
|
263
|
+
}
|
|
264
|
+
},
|
|
190
265
|
{ if: { compact: true }, tokens: { outerBorderGap: 0 } }
|
|
191
266
|
],
|
|
192
267
|
tokens: {
|
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:08:44 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -13,6 +13,18 @@ const theme = {
|
|
|
13
13
|
type: 'variant',
|
|
14
14
|
values: [ true ]
|
|
15
15
|
},
|
|
16
|
+
focus: {
|
|
17
|
+
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.",
|
|
18
|
+
platforms: [ 'rn', 'web' ],
|
|
19
|
+
type: 'state',
|
|
20
|
+
values: [ true, false ]
|
|
21
|
+
},
|
|
22
|
+
hover: {
|
|
23
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
24
|
+
platforms: [ 'rn', 'web' ],
|
|
25
|
+
type: 'state',
|
|
26
|
+
values: [ true, false ]
|
|
27
|
+
},
|
|
16
28
|
iconPosition: {
|
|
17
29
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
18
30
|
type: 'state',
|
|
@@ -46,10 +58,22 @@ const theme = {
|
|
|
46
58
|
},
|
|
47
59
|
rules: [
|
|
48
60
|
{ if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
|
|
61
|
+
{
|
|
62
|
+
if: { focus: true },
|
|
63
|
+
tokens: { outerBorderColor: '#2b8000', outerBorderOutline: 'none' }
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
if: { hover: true },
|
|
67
|
+
tokens: { color: '#1f5c09', textLine: 'none' }
|
|
68
|
+
},
|
|
49
69
|
{
|
|
50
70
|
if: { pressed: true },
|
|
51
71
|
tokens: { color: '#163e06', textLine: 'none' }
|
|
52
72
|
},
|
|
73
|
+
{
|
|
74
|
+
if: { focus: true, pressed: true },
|
|
75
|
+
tokens: { outerBorderColor: '#163e06' }
|
|
76
|
+
},
|
|
53
77
|
{
|
|
54
78
|
if: { size: 'large' },
|
|
55
79
|
tokens: { blockFontSize: 20, blockLineHeight: 1.25, iconSize: 24 }
|
|
@@ -69,17 +93,61 @@ const theme = {
|
|
|
69
93
|
}
|
|
70
94
|
},
|
|
71
95
|
{ if: { alternative: true }, tokens: { color: '#2c2e30' } },
|
|
96
|
+
{
|
|
97
|
+
if: { alternative: true, focus: true },
|
|
98
|
+
tokens: { color: '#414547', outerBorderColor: '#414547' }
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
if: { alternative: true, hover: true },
|
|
102
|
+
tokens: { color: '#2c2e30' }
|
|
103
|
+
},
|
|
72
104
|
{
|
|
73
105
|
if: { alternative: true, pressed: true },
|
|
74
106
|
tokens: { color: '#2c2e30' }
|
|
75
107
|
},
|
|
76
108
|
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
109
|
+
{
|
|
110
|
+
if: { hover: true, inverse: true },
|
|
111
|
+
tokens: { color: '#f4f4f7' }
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
if: { focus: true, inverse: true },
|
|
115
|
+
tokens: { outerBorderColor: '#ffffff', outerBorderOutline: 'none' }
|
|
116
|
+
},
|
|
77
117
|
{
|
|
78
118
|
if: { inverse: true, pressed: true },
|
|
79
119
|
tokens: { color: '#e3e6e8' }
|
|
80
120
|
},
|
|
121
|
+
{
|
|
122
|
+
if: { focus: true, inverse: true, pressed: true },
|
|
123
|
+
tokens: { color: '#e3e6e8', outerBorderColor: '#e3e6e8' }
|
|
124
|
+
},
|
|
81
125
|
{ if: { light: true }, tokens: { color: '#676e73' } },
|
|
82
|
-
{
|
|
126
|
+
{
|
|
127
|
+
if: { focus: true, light: true },
|
|
128
|
+
tokens: { color: '#676e73', outerBorderColor: '#676e73' }
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
if: { hover: true, light: true },
|
|
132
|
+
tokens: { color: '#414547', textLine: 'none' }
|
|
133
|
+
},
|
|
134
|
+
{ if: { quiet: true }, tokens: { textLine: 'none' } },
|
|
135
|
+
{
|
|
136
|
+
if: { hover: true, quiet: true },
|
|
137
|
+
tokens: { color: '#1f5c09', textLine: 'underline' }
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
if: { alternative: true, hover: true, quiet: true },
|
|
141
|
+
tokens: { color: '#2c2e30', textLine: 'underline' }
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
if: { hover: true, inverse: true, quiet: true },
|
|
145
|
+
tokens: { color: '#f4f4f7', textLine: 'underline' }
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
if: { hover: true, light: true, quiet: true },
|
|
149
|
+
tokens: { color: '#414547', textLine: 'underline' }
|
|
150
|
+
}
|
|
83
151
|
],
|
|
84
152
|
tokens: {
|
|
85
153
|
alignSelf: 'flex-start',
|
package/build/web/List.js
CHANGED
package/build/web/Listbox.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:08:44 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -19,6 +19,18 @@ const theme = {
|
|
|
19
19
|
type: 'state',
|
|
20
20
|
values: [ true, false ]
|
|
21
21
|
},
|
|
22
|
+
focus: {
|
|
23
|
+
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.",
|
|
24
|
+
platforms: [ 'rn', 'web' ],
|
|
25
|
+
type: 'state',
|
|
26
|
+
values: [ true, false ]
|
|
27
|
+
},
|
|
28
|
+
hover: {
|
|
29
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
30
|
+
platforms: [ 'rn', 'web' ],
|
|
31
|
+
type: 'state',
|
|
32
|
+
values: [ true, false ]
|
|
33
|
+
},
|
|
22
34
|
isChild: {
|
|
23
35
|
description: 'when the item is child of another child',
|
|
24
36
|
type: 'state',
|
|
@@ -31,6 +43,38 @@ const theme = {
|
|
|
31
43
|
}
|
|
32
44
|
},
|
|
33
45
|
rules: [
|
|
46
|
+
{
|
|
47
|
+
if: { focus: true, hover: true, pressed: true },
|
|
48
|
+
tokens: {
|
|
49
|
+
groupBackgroundColor: '#e3e6e8',
|
|
50
|
+
groupBorderColor: 'rgba(0, 0, 0, 0)',
|
|
51
|
+
groupColor: '#676e73',
|
|
52
|
+
itemBackgroundColor: '#e3e6e8',
|
|
53
|
+
itemColor: '#676e73'
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
if: { focus: false, hover: true, pressed: false },
|
|
58
|
+
tokens: {
|
|
59
|
+
groupBackgroundColor: '#f4f4f7',
|
|
60
|
+
groupColor: '#4b286d',
|
|
61
|
+
itemBackgroundColor: '#f4f4f7',
|
|
62
|
+
itemColor: '#4b286d'
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
if: { focus: true, pressed: false },
|
|
67
|
+
tokens: {
|
|
68
|
+
groupBorderColor: '#4b286d',
|
|
69
|
+
groupBorderWidth: 1,
|
|
70
|
+
groupColor: '#4b286d',
|
|
71
|
+
itemBorderBottomColor: '#4b286d',
|
|
72
|
+
itemBorderLeftColor: '#4b286d',
|
|
73
|
+
itemBorderRightColor: '#4b286d',
|
|
74
|
+
itemBorderTopColor: '#4b286d',
|
|
75
|
+
itemColor: '#4b286d'
|
|
76
|
+
}
|
|
77
|
+
},
|
|
34
78
|
{
|
|
35
79
|
if: { expanded: true },
|
|
36
80
|
tokens: { groupIcon: PaletteIconCaretUp }
|
|
@@ -67,6 +111,22 @@ const theme = {
|
|
|
67
111
|
itemBorderTopWidth: 0
|
|
68
112
|
}
|
|
69
113
|
},
|
|
114
|
+
{
|
|
115
|
+
if: { focus: true, isChild: true },
|
|
116
|
+
tokens: {
|
|
117
|
+
itemBorderBottomColor: '#4b286d',
|
|
118
|
+
itemBorderBottomWidth: 1,
|
|
119
|
+
itemBorderLeftColor: '#4b286d',
|
|
120
|
+
itemBorderRightColor: '#4b286d',
|
|
121
|
+
itemBorderRightWidth: 1,
|
|
122
|
+
itemBorderTopColor: '#4b286d',
|
|
123
|
+
itemBorderTopWidth: 1
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
if: { hover: true, isChild: true },
|
|
128
|
+
tokens: { itemBorderLeftColor: '#4b286d' }
|
|
129
|
+
},
|
|
70
130
|
{
|
|
71
131
|
if: { current: true, isChild: true },
|
|
72
132
|
tokens: { itemBorderLeftColor: '#4b286d' }
|
package/build/web/Modal.js
CHANGED