@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
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:07:57 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,25 @@ const theme = {
|
|
|
31
43
|
}
|
|
32
44
|
},
|
|
33
45
|
rules: [
|
|
46
|
+
{
|
|
47
|
+
if: { focus: false, hover: true, pressed: false },
|
|
48
|
+
tokens: {
|
|
49
|
+
groupBackgroundColor: '#efefef',
|
|
50
|
+
groupBorderColor: 'rgba(0, 0, 0, 0)',
|
|
51
|
+
itemBackgroundColor: '#efefef'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
if: { focus: true, pressed: false },
|
|
56
|
+
tokens: {
|
|
57
|
+
groupBorderColor: '#7a3dfc',
|
|
58
|
+
groupColor: '#7a3dfc',
|
|
59
|
+
itemBorderBottomColor: '#7a3dfc',
|
|
60
|
+
itemBorderLeftColor: '#7a3dfc',
|
|
61
|
+
itemBorderRightColor: '#7a3dfc',
|
|
62
|
+
itemBorderTopColor: '#7a3dfc'
|
|
63
|
+
}
|
|
64
|
+
},
|
|
34
65
|
{
|
|
35
66
|
if: { current: true },
|
|
36
67
|
tokens: {
|
|
@@ -81,6 +112,78 @@ const theme = {
|
|
|
81
112
|
itemColor: '#ffffff'
|
|
82
113
|
}
|
|
83
114
|
},
|
|
115
|
+
{
|
|
116
|
+
if: { current: true, focus: false, hover: true },
|
|
117
|
+
tokens: {
|
|
118
|
+
itemBackgroundColor: '#efefef',
|
|
119
|
+
itemBorderLeftColor: '#efefef',
|
|
120
|
+
itemColor: '#666666'
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
if: { current: true, focus: true, hover: true },
|
|
125
|
+
tokens: {
|
|
126
|
+
itemBackgroundColor: '#ffffff',
|
|
127
|
+
itemBorderLeftColor: '#7a3dfc'
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
if: { focus: true, isChild: true },
|
|
132
|
+
tokens: {
|
|
133
|
+
itemBackgroundColor: '#ffffff',
|
|
134
|
+
itemBorderBottomColor: '#7a3dfc',
|
|
135
|
+
itemBorderBottomWidth: 1,
|
|
136
|
+
itemBorderLeftColor: '#7a3dfc',
|
|
137
|
+
itemBorderRightColor: '#7a3dfc',
|
|
138
|
+
itemBorderRightWidth: 1,
|
|
139
|
+
itemBorderTopColor: '#7a3dfc',
|
|
140
|
+
itemBorderTopWidth: 1,
|
|
141
|
+
itemColor: '#666666'
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
if: { hover: true, isChild: true },
|
|
146
|
+
tokens: {
|
|
147
|
+
itemBackgroundColor: '#efefef',
|
|
148
|
+
itemBorderBottomWidth: 0,
|
|
149
|
+
itemBorderLeftColor: '#666666',
|
|
150
|
+
itemBorderRightWidth: 0,
|
|
151
|
+
itemBorderTopWidth: 0,
|
|
152
|
+
itemColor: '#666666'
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
if: { current: true, expanded: true, focus: true },
|
|
157
|
+
tokens: {
|
|
158
|
+
groupBackgroundColor: '#000000',
|
|
159
|
+
groupBorderColor: '#7a3dfc',
|
|
160
|
+
itemBorderLeftColor: '#7a3dfc',
|
|
161
|
+
itemColor: '#666666'
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
if: { current: true, expanded: true, hover: true },
|
|
166
|
+
tokens: {
|
|
167
|
+
groupBackgroundColor: '#efefef',
|
|
168
|
+
groupColor: '#666666',
|
|
169
|
+
itemBackgroundColor: '#efefef',
|
|
170
|
+
itemColor: '#666666'
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
if: { focus: true },
|
|
175
|
+
tokens: {
|
|
176
|
+
groupBackgroundColor: '#ffffff',
|
|
177
|
+
groupBorderColor: '#7a3dfc',
|
|
178
|
+
groupColor: '#666666',
|
|
179
|
+
itemBackgroundColor: '#ffffff',
|
|
180
|
+
itemBorderBottomColor: '#7a3dfc',
|
|
181
|
+
itemBorderLeftColor: '#7a3dfc',
|
|
182
|
+
itemBorderRightColor: '#7a3dfc',
|
|
183
|
+
itemBorderTopColor: '#7a3dfc',
|
|
184
|
+
itemColor: '#666666'
|
|
185
|
+
}
|
|
186
|
+
},
|
|
84
187
|
{
|
|
85
188
|
if: { pressed: true },
|
|
86
189
|
tokens: {
|
package/build/web/Modal.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
|
|
|
@@ -14,6 +14,18 @@ const theme = {
|
|
|
14
14
|
type: 'state',
|
|
15
15
|
values: [ true, false ]
|
|
16
16
|
},
|
|
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
|
pressed: {
|
|
18
30
|
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.',
|
|
19
31
|
type: 'state',
|
|
@@ -42,6 +54,27 @@ const theme = {
|
|
|
42
54
|
outerBorderColor: '#000000'
|
|
43
55
|
}
|
|
44
56
|
},
|
|
57
|
+
{
|
|
58
|
+
if: { focus: true },
|
|
59
|
+
tokens: { borderColor: '#000000', borderWidth: 4 }
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
if: { focus: true, pressed: true },
|
|
63
|
+
tokens: {
|
|
64
|
+
backgroundColor: '#595959',
|
|
65
|
+
borderColor: '#595959',
|
|
66
|
+
borderWidth: 1,
|
|
67
|
+
color: '#c9c8c8'
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
if: { hover: true },
|
|
72
|
+
tokens: {
|
|
73
|
+
backgroundColor: '#404040',
|
|
74
|
+
borderColor: '#404040',
|
|
75
|
+
color: '#ffffff'
|
|
76
|
+
}
|
|
77
|
+
},
|
|
45
78
|
{
|
|
46
79
|
if: { pressed: true },
|
|
47
80
|
tokens: {
|
|
@@ -55,6 +88,16 @@ const theme = {
|
|
|
55
88
|
if: { viewport: [ 'xs', 'sm', 'md' ] },
|
|
56
89
|
tokens: { textAlign: 'space-between', width: 288 }
|
|
57
90
|
},
|
|
91
|
+
{
|
|
92
|
+
if: { hover: true, selected: true },
|
|
93
|
+
tokens: {
|
|
94
|
+
backgroundColor: '#404040',
|
|
95
|
+
borderColor: '#404040',
|
|
96
|
+
color: '#ffffff',
|
|
97
|
+
fontName: 'StagSans',
|
|
98
|
+
fontWeight: '600'
|
|
99
|
+
}
|
|
100
|
+
},
|
|
58
101
|
{
|
|
59
102
|
if: { pressed: true, selected: true },
|
|
60
103
|
tokens: {
|
package/build/web/OrderedList.js
CHANGED
package/build/web/Pagination.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',
|
|
@@ -20,6 +32,11 @@ const theme = {
|
|
|
20
32
|
}
|
|
21
33
|
},
|
|
22
34
|
rules: [
|
|
35
|
+
{
|
|
36
|
+
if: { hover: true },
|
|
37
|
+
tokens: { borderColor: '#000000', textLine: 'none' }
|
|
38
|
+
},
|
|
39
|
+
{ if: { focus: true }, tokens: { borderColor: '#000000' } },
|
|
23
40
|
{
|
|
24
41
|
if: { selected: true },
|
|
25
42
|
tokens: {
|
|
@@ -28,6 +45,14 @@ const theme = {
|
|
|
28
45
|
textLine: 'none'
|
|
29
46
|
}
|
|
30
47
|
},
|
|
48
|
+
{
|
|
49
|
+
if: { hover: true, selected: true },
|
|
50
|
+
tokens: { borderColor: '#7a3dfc' }
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
if: { focus: true, selected: true },
|
|
54
|
+
tokens: { borderColor: '#7a3dfc' }
|
|
55
|
+
},
|
|
31
56
|
{
|
|
32
57
|
if: { pressed: true },
|
|
33
58
|
tokens: {
|
|
@@ -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
|
|
|
@@ -19,6 +19,18 @@ const theme = {
|
|
|
19
19
|
type: 'state',
|
|
20
20
|
values: [ 'previous', 'next' ]
|
|
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
|
pressed: {
|
|
23
35
|
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.',
|
|
24
36
|
type: 'state',
|
|
@@ -48,6 +60,28 @@ const theme = {
|
|
|
48
60
|
paddingTop: 8
|
|
49
61
|
}
|
|
50
62
|
},
|
|
63
|
+
{
|
|
64
|
+
if: { hover: true },
|
|
65
|
+
tokens: {
|
|
66
|
+
borderBottomWidth: 1,
|
|
67
|
+
borderColor: '#000000',
|
|
68
|
+
borderLeftWidth: 1,
|
|
69
|
+
borderRightWidth: 1,
|
|
70
|
+
borderTopWidth: 1,
|
|
71
|
+
iconDisplace: 4,
|
|
72
|
+
textLine: 'none'
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
if: { focus: true },
|
|
77
|
+
tokens: {
|
|
78
|
+
borderBottomWidth: 1,
|
|
79
|
+
borderColor: '#000000',
|
|
80
|
+
borderLeftWidth: 1,
|
|
81
|
+
borderRightWidth: 1,
|
|
82
|
+
borderTopWidth: 1
|
|
83
|
+
}
|
|
84
|
+
},
|
|
51
85
|
{
|
|
52
86
|
if: { pressed: true },
|
|
53
87
|
tokens: { backgroundColor: '#000000', color: '#666666' }
|
package/build/web/PreviewCard.js
CHANGED
|
@@ -1,14 +1,54 @@
|
|
|
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
|
-
appearances: {
|
|
11
|
-
|
|
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: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
25
|
+
platforms: [ 'rn', 'web' ],
|
|
26
|
+
type: 'state',
|
|
27
|
+
values: [ true, false ]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
rules: [
|
|
31
|
+
{
|
|
32
|
+
if: { hover: true },
|
|
33
|
+
tokens: { borderColor: '#efefef', borderWidth: 3 }
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
if: { focus: true },
|
|
37
|
+
tokens: {
|
|
38
|
+
outerBorderColor: '#000000',
|
|
39
|
+
outerBorderGap: 2,
|
|
40
|
+
outerBorderWidth: 2
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
if: { pressed: true },
|
|
45
|
+
tokens: {
|
|
46
|
+
backgroundColor: '#efefef',
|
|
47
|
+
borderColor: 'transparent',
|
|
48
|
+
outerBorderColor: '#000000'
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
],
|
|
12
52
|
tokens: {
|
|
13
53
|
backgroundColor: '#ffffff',
|
|
14
54
|
borderColor: '#efefef',
|
package/build/web/PriceLockup.js
CHANGED
package/build/web/Progress.js
CHANGED
package/build/web/ProgressBar.js
CHANGED
package/build/web/QuickLinks.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,7 @@ const theme = {
|
|
|
15
27
|
}
|
|
16
28
|
},
|
|
17
29
|
rules: [
|
|
30
|
+
{ if: { hover: true }, tokens: { borderWidth: 3 } },
|
|
18
31
|
{
|
|
19
32
|
if: { pressed: true },
|
|
20
33
|
tokens: {
|
|
@@ -22,6 +35,11 @@ const theme = {
|
|
|
22
35
|
borderColor: '#666666',
|
|
23
36
|
iconColor: '#666666'
|
|
24
37
|
}
|
|
38
|
+
},
|
|
39
|
+
{ if: { focus: true }, tokens: { outerBorderColor: '#666666' } },
|
|
40
|
+
{
|
|
41
|
+
if: { focus: true, pressed: true },
|
|
42
|
+
tokens: { borderWidth: 1, outerBorderColor: '#666666' }
|
|
25
43
|
}
|
|
26
44
|
],
|
|
27
45
|
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: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',
|
|
@@ -24,6 +36,14 @@ const theme = {
|
|
|
24
36
|
if: { viewport: 'xl' },
|
|
25
37
|
tokens: { contentMaxDimension: 184, imageDimension: 168 }
|
|
26
38
|
},
|
|
39
|
+
{
|
|
40
|
+
if: { hover: true },
|
|
41
|
+
tokens: { color: '#404040', imageDimension: 140, textLine: 'underline' }
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
if: { focus: true },
|
|
45
|
+
tokens: { color: '#000000', outerBorderColor: '#000000' }
|
|
46
|
+
},
|
|
27
47
|
{
|
|
28
48
|
if: { pressed: true },
|
|
29
49
|
tokens: {
|
|
@@ -31,6 +51,14 @@ const theme = {
|
|
|
31
51
|
outerBorderColor: '#595959',
|
|
32
52
|
textLine: 'underline'
|
|
33
53
|
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
if: { focus: true, pressed: true },
|
|
57
|
+
tokens: {
|
|
58
|
+
color: '#595959',
|
|
59
|
+
outerBorderColor: '#595959',
|
|
60
|
+
textLine: 'underline'
|
|
61
|
+
}
|
|
34
62
|
}
|
|
35
63
|
],
|
|
36
64
|
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: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,8 @@ const theme = {
|
|
|
15
27
|
}
|
|
16
28
|
},
|
|
17
29
|
rules: [
|
|
30
|
+
{ if: { hover: true }, tokens: { backgroundColor: '#efefef' } },
|
|
31
|
+
{ if: { focus: true }, tokens: { backgroundColor: '#efefef' } },
|
|
18
32
|
{
|
|
19
33
|
if: { pressed: true },
|
|
20
34
|
tokens: { backgroundColor: '#c9c8c8', itemIconColor: '#000000' }
|
package/build/web/Radio.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
|
|
|
@@ -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',
|
|
@@ -32,6 +44,15 @@ const theme = {
|
|
|
32
44
|
outerBorderWidth: 0
|
|
33
45
|
}
|
|
34
46
|
},
|
|
47
|
+
{
|
|
48
|
+
if: { focus: true },
|
|
49
|
+
tokens: {
|
|
50
|
+
outerBorderColor: '#000000',
|
|
51
|
+
outerBorderGap: 5,
|
|
52
|
+
outerBorderWidth: 1
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{ if: { hover: true }, tokens: { outerBorderColor: '#000000' } },
|
|
35
56
|
{
|
|
36
57
|
if: { inactive: true },
|
|
37
58
|
tokens: {
|