@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/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 Wed, 07 Feb 2024 19:07:57 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
|
inactive: {
|
|
17
29
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
18
30
|
type: 'state',
|
|
@@ -86,10 +98,77 @@ const theme = {
|
|
|
86
98
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)'
|
|
87
99
|
}
|
|
88
100
|
},
|
|
101
|
+
{
|
|
102
|
+
if: { hover: true },
|
|
103
|
+
tokens: { backgroundColor: '#404040', color: '#ffffff' }
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
if: { focus: true },
|
|
107
|
+
tokens: {
|
|
108
|
+
borderBottomWidth: 1,
|
|
109
|
+
borderColor: '#000000',
|
|
110
|
+
borderLeftWidth: 1,
|
|
111
|
+
borderRightWidth: 1,
|
|
112
|
+
borderTopWidth: 1,
|
|
113
|
+
color: '#ffffff',
|
|
114
|
+
outerBorderColor: '#000000',
|
|
115
|
+
outerBorderGap: 4,
|
|
116
|
+
outerBorderWidth: 1
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
if: { hover: true, priority: 'low' },
|
|
121
|
+
tokens: { borderBottomWidth: 1, outerBorderColor: '#000000' }
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
if: { focus: true, priority: 'low' },
|
|
125
|
+
tokens: { color: '#000000' }
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
if: { focus: true, hover: true, priority: 'low' },
|
|
129
|
+
tokens: { color: '#ffffff' }
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
if: { danger: true, focus: true },
|
|
133
|
+
tokens: {
|
|
134
|
+
borderBottomWidth: 1,
|
|
135
|
+
borderColor: '#c9370b',
|
|
136
|
+
borderLeftWidth: 1,
|
|
137
|
+
borderRightWidth: 1,
|
|
138
|
+
borderTopWidth: 1,
|
|
139
|
+
borderWidth: 1,
|
|
140
|
+
color: '#c9370b',
|
|
141
|
+
outerBorderColor: '#c9370b',
|
|
142
|
+
outerBorderGap: 2
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
if: { hover: true, inverse: true },
|
|
147
|
+
tokens: {
|
|
148
|
+
backgroundColor: '#c9c8c8',
|
|
149
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
150
|
+
color: '#404040',
|
|
151
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
152
|
+
outerBorderWidth: 1
|
|
153
|
+
}
|
|
154
|
+
},
|
|
89
155
|
{
|
|
90
156
|
if: { inverse: true, pressed: true },
|
|
91
157
|
tokens: { backgroundColor: '#c9c8c8', color: '#666666' }
|
|
92
158
|
},
|
|
159
|
+
{
|
|
160
|
+
if: { focus: true, inverse: true },
|
|
161
|
+
tokens: {
|
|
162
|
+
borderBottomWidth: 1,
|
|
163
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
164
|
+
borderLeftWidth: 1,
|
|
165
|
+
borderRightWidth: 1,
|
|
166
|
+
borderTopWidth: 1,
|
|
167
|
+
color: '#000000',
|
|
168
|
+
outerBorderColor: '#ffffff',
|
|
169
|
+
outerBorderGap: 2
|
|
170
|
+
}
|
|
171
|
+
},
|
|
93
172
|
{
|
|
94
173
|
if: { danger: true, inverse: true },
|
|
95
174
|
tokens: {
|
|
@@ -102,6 +181,15 @@ const theme = {
|
|
|
102
181
|
color: '#c9370b'
|
|
103
182
|
}
|
|
104
183
|
},
|
|
184
|
+
{
|
|
185
|
+
if: { focus: true, inverse: true, pressed: true },
|
|
186
|
+
tokens: {
|
|
187
|
+
backgroundColor: '#c9c8c8',
|
|
188
|
+
borderColor: '#c9c8c8',
|
|
189
|
+
color: '#666666',
|
|
190
|
+
outerBorderGap: 2
|
|
191
|
+
}
|
|
192
|
+
},
|
|
105
193
|
{ if: { width: 'full' }, tokens: { width: '100%' } },
|
|
106
194
|
{
|
|
107
195
|
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
@@ -130,7 +218,31 @@ const theme = {
|
|
|
130
218
|
textLine: 'underline'
|
|
131
219
|
}
|
|
132
220
|
},
|
|
221
|
+
{
|
|
222
|
+
if: { focus: true, text: true },
|
|
223
|
+
tokens: {
|
|
224
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
225
|
+
color: '#000000',
|
|
226
|
+
outerBorderColor: '#000000'
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
if: { hover: true, text: true },
|
|
231
|
+
tokens: { color: '#404040', textLine: 'none' }
|
|
232
|
+
},
|
|
133
233
|
{ if: { danger: true, text: true }, tokens: { color: '#c9370b' } },
|
|
234
|
+
{
|
|
235
|
+
if: { danger: true, focus: true, text: true },
|
|
236
|
+
tokens: {
|
|
237
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
238
|
+
color: '#c9370b',
|
|
239
|
+
outerBorderColor: '#c9370b'
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
if: { hover: true, priority: 'low' },
|
|
244
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 0 }
|
|
245
|
+
},
|
|
134
246
|
{
|
|
135
247
|
if: { pressed: true, text: true },
|
|
136
248
|
tokens: {
|
|
@@ -139,6 +251,18 @@ const theme = {
|
|
|
139
251
|
textLine: 'none'
|
|
140
252
|
}
|
|
141
253
|
},
|
|
254
|
+
{
|
|
255
|
+
if: { danger: true, hover: true },
|
|
256
|
+
tokens: { backgroundColor: '#f3592b', color: '#ffffff' }
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
if: { danger: true, hover: true, text: true },
|
|
260
|
+
tokens: {
|
|
261
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
262
|
+
color: '#f3592b',
|
|
263
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
264
|
+
}
|
|
265
|
+
},
|
|
142
266
|
{
|
|
143
267
|
if: { danger: true, pressed: true },
|
|
144
268
|
tokens: {
|
|
@@ -161,6 +285,18 @@ const theme = {
|
|
|
161
285
|
if: { inverse: true, text: true },
|
|
162
286
|
tokens: { backgroundColor: 'rgba(0, 0, 0, 0)', color: '#ffffff' }
|
|
163
287
|
},
|
|
288
|
+
{
|
|
289
|
+
if: { focus: true, inverse: true, text: true },
|
|
290
|
+
tokens: {
|
|
291
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
292
|
+
color: '#ffffff',
|
|
293
|
+
outerBorderColor: '#ffffff'
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
if: { hover: true, inverse: true, text: true },
|
|
298
|
+
tokens: { color: '#c9c8c8' }
|
|
299
|
+
},
|
|
164
300
|
{
|
|
165
301
|
if: { inverse: true, pressed: true, text: true },
|
|
166
302
|
tokens: {
|
|
@@ -196,6 +332,18 @@ const theme = {
|
|
|
196
332
|
if: { priority: 'low', text: true },
|
|
197
333
|
tokens: { color: '#7a3dfc' }
|
|
198
334
|
},
|
|
335
|
+
{
|
|
336
|
+
if: { hover: true, priority: 'low', text: true },
|
|
337
|
+
tokens: { color: '#5b2bc2', outerBorderColor: 'rgba(0, 0, 0, 0)' }
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
if: { focus: true, priority: 'low', text: true },
|
|
341
|
+
tokens: {
|
|
342
|
+
color: '#7a3dfc',
|
|
343
|
+
outerBorderColor: '#7a3dfc',
|
|
344
|
+
outerBorderWidth: 1
|
|
345
|
+
}
|
|
346
|
+
},
|
|
199
347
|
{
|
|
200
348
|
if: { pressed: true, priority: 'low', text: true },
|
|
201
349
|
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
|
|
|
@@ -9,6 +9,18 @@ import PaletteIconChevronDown from '@telus-uds/palette-koodo/build/rn/icons/Chev
|
|
|
9
9
|
import PaletteIconChevronUp from '@telus-uds/palette-koodo/build/rn/icons/ChevronUp'
|
|
10
10
|
const theme = {
|
|
11
11
|
appearances: {
|
|
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
|
inactive: {
|
|
13
25
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
14
26
|
type: 'state',
|
|
@@ -32,6 +44,7 @@ const theme = {
|
|
|
32
44
|
},
|
|
33
45
|
rules: [
|
|
34
46
|
{ if: { open: true }, tokens: { icon: PaletteIconChevronUp } },
|
|
47
|
+
{ if: { focus: true }, tokens: { outerBorderColor: '#000000' } },
|
|
35
48
|
{
|
|
36
49
|
if: { pressed: true },
|
|
37
50
|
tokens: {
|
|
@@ -41,6 +54,14 @@ const theme = {
|
|
|
41
54
|
iconColor: '#666666'
|
|
42
55
|
}
|
|
43
56
|
},
|
|
57
|
+
{
|
|
58
|
+
if: { focus: false, hover: true, pressed: false },
|
|
59
|
+
tokens: { backgroundColor: '#404040', borderColor: 'rgba(0, 0, 0, 0)' }
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
if: { focus: true, hover: true, pressed: false },
|
|
63
|
+
tokens: { backgroundColor: '#404040', borderColor: 'rgba(0, 0, 0, 0)' }
|
|
64
|
+
},
|
|
44
65
|
{
|
|
45
66
|
if: { inactive: true },
|
|
46
67
|
tokens: {
|
|
@@ -58,6 +79,32 @@ const theme = {
|
|
|
58
79
|
iconColor: '#ffffff',
|
|
59
80
|
outerBorderColor: 'transparent'
|
|
60
81
|
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
if: { hover: true, selected: true },
|
|
85
|
+
tokens: { backgroundColor: '#404040' }
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
if: { focus: true, hover: false, selected: true },
|
|
89
|
+
tokens: {
|
|
90
|
+
backgroundColor: '#000000',
|
|
91
|
+
outerBorderColor: '#000000',
|
|
92
|
+
outerBorderGap: 2,
|
|
93
|
+
outerBorderWidth: 1
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
if: { hover: true, pressed: true, selected: true },
|
|
98
|
+
tokens: {
|
|
99
|
+
backgroundColor: '#404040',
|
|
100
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
101
|
+
color: '#666666',
|
|
102
|
+
iconColor: '#666666'
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
if: { focus: true, pressed: true, selected: true },
|
|
107
|
+
tokens: { backgroundColor: '#404040', outerBorderColor: '#404040' }
|
|
61
108
|
}
|
|
62
109
|
],
|
|
63
110
|
tokens: {
|
package/build/web/ButtonGroup.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
|
iconPosition: {
|
|
12
24
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
13
25
|
type: 'state',
|
|
@@ -35,6 +47,15 @@ const theme = {
|
|
|
35
47
|
}
|
|
36
48
|
},
|
|
37
49
|
rules: [
|
|
50
|
+
{ if: { focus: true }, tokens: { outerBorderColor: '#000000' } },
|
|
51
|
+
{
|
|
52
|
+
if: { hover: true },
|
|
53
|
+
tokens: {
|
|
54
|
+
backgroundColor: '#404040',
|
|
55
|
+
borderColor: '#404040',
|
|
56
|
+
color: '#ffffff'
|
|
57
|
+
}
|
|
58
|
+
},
|
|
38
59
|
{
|
|
39
60
|
if: { selected: true },
|
|
40
61
|
tokens: { backgroundColor: '#7a3dfc', color: '#ffffff' }
|
|
@@ -43,6 +64,18 @@ const theme = {
|
|
|
43
64
|
if: { pressed: true },
|
|
44
65
|
tokens: { backgroundColor: '#404040', color: '#666666' }
|
|
45
66
|
},
|
|
67
|
+
{
|
|
68
|
+
if: { focus: true, selected: true },
|
|
69
|
+
tokens: {
|
|
70
|
+
backgroundColor: '#7a3dfc',
|
|
71
|
+
color: '#ffffff',
|
|
72
|
+
outerBorderColor: '#7a3dfc'
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
if: { hover: true, selected: true },
|
|
77
|
+
tokens: { backgroundColor: '#5b2bc2', color: '#ffffff' }
|
|
78
|
+
},
|
|
46
79
|
{
|
|
47
80
|
if: { pressed: true, selected: true },
|
|
48
81
|
tokens: { backgroundColor: '#404040', color: '#666666' }
|
package/build/web/Callout.js
CHANGED
package/build/web/Card.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: [ 'alternative', 'subtle', 'grid', 'feature' ]
|
|
15
15
|
},
|
|
16
16
|
borderRadius: { type: 'variant', values: [ 'none', 'small', 'large' ] },
|
|
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
|
interactive: { type: 'variant', values: [ true ] },
|
|
18
30
|
padding: {
|
|
19
31
|
type: 'variant',
|
|
@@ -114,9 +126,20 @@ const theme = {
|
|
|
114
126
|
}
|
|
115
127
|
},
|
|
116
128
|
{
|
|
117
|
-
if: { interactive: true, pressed: false },
|
|
129
|
+
if: { focus: false, interactive: true, pressed: false },
|
|
118
130
|
tokens: { borderColor: '#ffffff', borderWidth: 2 }
|
|
119
131
|
},
|
|
132
|
+
{
|
|
133
|
+
if: { hover: true, interactive: true },
|
|
134
|
+
tokens: {
|
|
135
|
+
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
|
136
|
+
borderColor: 'transparent'
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
if: { focus: true, interactive: true },
|
|
141
|
+
tokens: { borderColor: '#000000', borderWidth: 2 }
|
|
142
|
+
},
|
|
120
143
|
{
|
|
121
144
|
if: { interactive: true, pressed: true },
|
|
122
145
|
tokens: {
|
package/build/web/Carousel.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
|
inactive: {
|
|
12
24
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
13
25
|
type: 'state',
|
|
@@ -26,6 +38,22 @@ const theme = {
|
|
|
26
38
|
}
|
|
27
39
|
},
|
|
28
40
|
rules: [
|
|
41
|
+
{
|
|
42
|
+
if: { hover: true },
|
|
43
|
+
tokens: {
|
|
44
|
+
borderBottomColor: '#404040',
|
|
45
|
+
borderBottomWidth: 2,
|
|
46
|
+
color: '#404040'
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
if: { focus: true },
|
|
51
|
+
tokens: {
|
|
52
|
+
borderBottomColor: '#000000',
|
|
53
|
+
borderBottomWidth: 4,
|
|
54
|
+
color: '#000000'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
29
57
|
{
|
|
30
58
|
if: { pressed: true },
|
|
31
59
|
tokens: {
|
|
@@ -34,6 +62,10 @@ const theme = {
|
|
|
34
62
|
color: '#666666'
|
|
35
63
|
}
|
|
36
64
|
},
|
|
65
|
+
{
|
|
66
|
+
if: { focus: true, pressed: true },
|
|
67
|
+
tokens: { borderBottomWidth: 4 }
|
|
68
|
+
},
|
|
37
69
|
{
|
|
38
70
|
if: { inactive: true },
|
|
39
71
|
tokens: {
|
|
@@ -50,6 +82,22 @@ const theme = {
|
|
|
50
82
|
color: '#000000'
|
|
51
83
|
}
|
|
52
84
|
},
|
|
85
|
+
{
|
|
86
|
+
if: { hover: true, inverse: true },
|
|
87
|
+
tokens: {
|
|
88
|
+
borderBottomColor: '#ffffff',
|
|
89
|
+
borderBottomWidth: 2,
|
|
90
|
+
color: '#ffffff'
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
if: { focus: true, inverse: true },
|
|
95
|
+
tokens: {
|
|
96
|
+
borderBottomColor: '#ffffff',
|
|
97
|
+
borderBottomWidth: 4,
|
|
98
|
+
color: '#ffffff'
|
|
99
|
+
}
|
|
100
|
+
},
|
|
53
101
|
{
|
|
54
102
|
if: { inverse: true, pressed: true },
|
|
55
103
|
tokens: {
|
|
@@ -59,6 +107,10 @@ const theme = {
|
|
|
59
107
|
}
|
|
60
108
|
},
|
|
61
109
|
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
110
|
+
{
|
|
111
|
+
if: { focus: true, inverse: true, pressed: true },
|
|
112
|
+
tokens: { borderBottomWidth: 4 }
|
|
113
|
+
},
|
|
62
114
|
{
|
|
63
115
|
if: { inactive: true, inverse: true },
|
|
64
116
|
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',
|
|
@@ -22,7 +34,12 @@ const theme = {
|
|
|
22
34
|
rules: [
|
|
23
35
|
{
|
|
24
36
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
25
|
-
tokens: { alignItems: 'flex-start', size:
|
|
37
|
+
tokens: { alignItems: 'flex-start', size: 32 }
|
|
38
|
+
},
|
|
39
|
+
{ if: { hover: true }, tokens: { borderColor: '#404040' } },
|
|
40
|
+
{
|
|
41
|
+
if: { focus: true },
|
|
42
|
+
tokens: { borderColor: '#000000', borderWidth: 2 }
|
|
26
43
|
},
|
|
27
44
|
{
|
|
28
45
|
if: { pressed: true },
|
|
@@ -39,7 +56,7 @@ const theme = {
|
|
|
39
56
|
padding: 8,
|
|
40
57
|
selectedBorderColor: '#000000',
|
|
41
58
|
selectedBorderWidth: 2,
|
|
42
|
-
size:
|
|
59
|
+
size: 56
|
|
43
60
|
}
|
|
44
61
|
}
|
|
45
62
|
export default theme
|
package/build/web/Checkbox.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',
|
|
@@ -21,6 +33,14 @@ const theme = {
|
|
|
21
33
|
}
|
|
22
34
|
},
|
|
23
35
|
rules: [
|
|
36
|
+
{
|
|
37
|
+
if: { focus: true },
|
|
38
|
+
tokens: { inputOutlineColor: '#000000', inputOutlineWidth: 1 }
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
if: { hover: true },
|
|
42
|
+
tokens: { inputOutlineColor: '#000000', inputOutlineWidth: 1 }
|
|
43
|
+
},
|
|
24
44
|
{
|
|
25
45
|
if: { inactive: true },
|
|
26
46
|
tokens: {
|