@ornikar/bumper 3.9.1 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/definitions/system/core/tokens/palettes/deepPurpleColorPalette.d.ts +70 -69
- package/dist/definitions/system/core/tokens/palettes/deepPurpleColorPalette.d.ts.map +1 -1
- package/dist/definitions/tamagui.config.d.ts +142 -2
- package/dist/definitions/tamagui.config.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +83 -82
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +83 -82
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.22.cjs.js +83 -82
- package/dist/index-node-22.22.cjs.js.map +1 -1
- package/dist/index-node-22.22.cjs.web.js +83 -82
- package/dist/index-node-22.22.cjs.web.js.map +1 -1
- package/dist/index-node-22.22.es.mjs +83 -82
- package/dist/index-node-22.22.es.mjs.map +1 -1
- package/dist/index-node-22.22.es.web.mjs +83 -82
- package/dist/index-node-22.22.es.web.mjs.map +1 -1
- package/dist/index.es.js +83 -82
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +83 -82
- package/dist/index.es.web.js.map +1 -1
- package/dist/storybook-metro.es.android.js +81 -80
- package/dist/storybook-metro.es.android.js.map +1 -1
- package/dist/storybook-metro.es.ios.js +81 -80
- package/dist/storybook-metro.es.ios.js.map +1 -1
- package/dist/storybook-node-22.22.cjs.js +81 -80
- package/dist/storybook-node-22.22.cjs.js.map +1 -1
- package/dist/storybook-node-22.22.cjs.web.js +81 -80
- package/dist/storybook-node-22.22.cjs.web.js.map +1 -1
- package/dist/storybook-node-22.22.es.mjs +81 -80
- package/dist/storybook-node-22.22.es.mjs.map +1 -1
- package/dist/storybook-node-22.22.es.web.mjs +81 -80
- package/dist/storybook-node-22.22.es.web.mjs.map +1 -1
- package/dist/storybook.es.js +81 -80
- package/dist/storybook.es.js.map +1 -1
- package/dist/storybook.es.web.js +81 -80
- package/dist/storybook.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/docs/migration/Typography.md +49 -27
- package/package.json +1 -1
- package/src/system/actions/Button/Button.mdx +1 -1
- package/src/system/actions/Button/Button.tsx +1 -1
- package/src/system/actions/Button/__snapshots__/Button.features.stories.tsx.snap +10 -10
- package/src/system/actions/Button/__snapshots_web__/Button.features.stories.tsx.snap +2 -2
- package/src/system/actions/Button/utils/contentColor.ts +1 -1
- package/src/system/actions/IconButton/__snapshots__/IconButton.features.stories.tsx.snap +10 -10
- package/src/system/actions/IconButton/__snapshots_web__/IconButton.features.stories.tsx.snap +2 -2
- package/src/system/core/themes/light/__snapshots__/light.stories.tsx.snap +7 -7
- package/src/system/core/themes/light/__snapshots_web__/light.stories.tsx.snap +7 -7
- package/src/system/core/themes/light/light.ts +73 -73
- package/src/system/core/tokens/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +141 -70
- package/src/system/core/tokens/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +91 -70
- package/src/system/core/tokens/palettes/deepPurpleColorPalette.ts +9 -8
- package/src/tamagui.config.ts +2 -1
|
@@ -24,23 +24,23 @@ import { Typography } from '@ornikar/bumper';
|
|
|
24
24
|
|
|
25
25
|
### Typography.Text / Typography.Header\*
|
|
26
26
|
|
|
27
|
-
| Source Prop | Target Prop
|
|
28
|
-
| --------------------------------------------- |
|
|
29
|
-
| `base="body-m"` | `variant="body-m"`
|
|
30
|
-
| `base` + `medium` + `large` etc. | `variant` + `$
|
|
31
|
-
| `type={{ base: "body-m", medium: "body-l" }}` | `variant="body-m" $
|
|
32
|
-
| `variant="regular"` | `weight="regular"`
|
|
33
|
-
| `variant="bold"` | `weight="bold"`
|
|
34
|
-
| `variant="semibold"` | Remove
|
|
35
|
-
| `color="black"` | `color="$content.base.hi"`
|
|
36
|
-
| `accessibilityRole` | Remove
|
|
37
|
-
| `textAlign` | `textAlign`
|
|
38
|
-
| `textTransform` | `textTransform`
|
|
39
|
-
| `underline` | `textDecorationLine="underline"`
|
|
40
|
-
| `strikeThrough` | `textDecorationLine="line-through"`
|
|
41
|
-
| `_web={{ ... }}` | `$platform-web={{ ... }}`
|
|
42
|
-
| `_ios={{ ... }}` | `$platform-native={{ ... }}`
|
|
43
|
-
| `_android={{ ... }}` | `$platform-native={{ ... }}`
|
|
27
|
+
| Source Prop | Target Prop | Transform | Notes |
|
|
28
|
+
| --------------------------------------------- | -------------------------------------------------- | ------------------------------------------------------ | ------------------------------------------------------------------------------------ |
|
|
29
|
+
| `base="body-m"` | `variant="body-m"` | Rename prop `base` → `variant` | When used as the only size prop (non-responsive) |
|
|
30
|
+
| `base` + `medium` + `large` etc. | `variant` + `$medium` + `$large` etc. | See [Responsive Typography](#responsive-typography) | Legacy breakpoint props become Tamagui media props |
|
|
31
|
+
| `type={{ base: "body-m", medium: "body-l" }}` | `variant="body-m" $medium={{ variant: "body-l" }}` | Destructure `type` object into `variant` + media props | See [Responsive Typography](#responsive-typography) |
|
|
32
|
+
| `variant="regular"` | `weight="regular"` | Rename prop `variant` → `weight` | Only applies to body variants |
|
|
33
|
+
| `variant="bold"` | `weight="bold"` | Rename prop `variant` → `weight` | Only applies to body variants |
|
|
34
|
+
| `variant="semibold"` | Remove | Remove prop | Headings/labels are always semibold by default; body variants don't support semibold |
|
|
35
|
+
| `color="black"` | `color="$content.base.hi"` | Map color value | See [Color Mapping](#color-mapping) |
|
|
36
|
+
| `accessibilityRole` | Remove | Remove prop | Sub-components handle roles automatically |
|
|
37
|
+
| `textAlign` | `textAlign` | Keep as-is | Same API |
|
|
38
|
+
| `textTransform` | `textTransform` | Keep as-is | content-caps auto-applies uppercase in both |
|
|
39
|
+
| `underline` | `textDecorationLine="underline"` | Convert boolean to style prop | — |
|
|
40
|
+
| `strikeThrough` | `textDecorationLine="line-through"` | Convert boolean to style prop | — |
|
|
41
|
+
| `_web={{ ... }}` | `$platform-web={{ ... }}` | Rename platform prop | Tamagui media query syntax |
|
|
42
|
+
| `_ios={{ ... }}` | `$platform-native={{ ... }}` | Rename platform prop | No iOS-specific prop; use platform-native |
|
|
43
|
+
| `_android={{ ... }}` | `$platform-native={{ ... }}` | Rename platform prop | No Android-specific prop; use platform-native |
|
|
44
44
|
|
|
45
45
|
### TypographyLink → Typography.Link
|
|
46
46
|
|
|
@@ -179,12 +179,22 @@ Source uses legacy breakpoint props or a `type` object. Target uses Tamagui medi
|
|
|
179
179
|
|
|
180
180
|
```
|
|
181
181
|
base → variant (the base/default value)
|
|
182
|
-
small → $
|
|
183
|
-
medium → $
|
|
184
|
-
large → $
|
|
185
|
-
wide → $
|
|
182
|
+
small → $small={{ variant: "..." }}
|
|
183
|
+
medium → $medium={{ variant: "..." }}
|
|
184
|
+
large → $large={{ variant: "..." }}
|
|
185
|
+
wide → $wide={{ variant: "..." }}
|
|
186
186
|
```
|
|
187
187
|
|
|
188
|
+
### Platform Props Mapping
|
|
189
|
+
|
|
190
|
+
```
|
|
191
|
+
_web={{ ... }} → $platform-web={{ ... }}
|
|
192
|
+
_ios={{ ... }} → $platform-native={{ ... }}
|
|
193
|
+
_android={{ ... }} → $platform-native={{ ... }}
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
**Important**: `_ios` and `_android` are both mapped to `$platform-native`. There is no per-platform native prop in Tamagui — if the source had different iOS and Android overrides, they must be reconciled into a single `$platform-native` value.
|
|
197
|
+
|
|
188
198
|
### Examples
|
|
189
199
|
|
|
190
200
|
```tsx
|
|
@@ -194,7 +204,7 @@ wide → $xl={{ variant: "..." }}
|
|
|
194
204
|
</Typography.Text>
|
|
195
205
|
|
|
196
206
|
// After
|
|
197
|
-
<Typography.Text variant="body-s" $
|
|
207
|
+
<Typography.Text variant="body-s" $medium={{ variant: "body-l" }}>
|
|
198
208
|
Responsive text
|
|
199
209
|
</Typography.Text>
|
|
200
210
|
```
|
|
@@ -206,11 +216,23 @@ wide → $xl={{ variant: "..." }}
|
|
|
206
216
|
</Typography.Text>
|
|
207
217
|
|
|
208
218
|
// After
|
|
209
|
-
<Typography.Text variant="body-s" $
|
|
219
|
+
<Typography.Text variant="body-s" $medium={{ variant: "body-m" }} $large={{ variant: "body-l" }}>
|
|
210
220
|
Responsive text
|
|
211
221
|
</Typography.Text>
|
|
212
222
|
```
|
|
213
223
|
|
|
224
|
+
```tsx
|
|
225
|
+
// Before — platform-specific props
|
|
226
|
+
<Typography.Text base="body-m" _web={{ style: { cursor: 'pointer' } }} _ios={{ style: { paddingTop: 2 } }}>
|
|
227
|
+
Platform text
|
|
228
|
+
</Typography.Text>
|
|
229
|
+
|
|
230
|
+
// After
|
|
231
|
+
<Typography.Text variant="body-m" $platform-web={{ style: { cursor: 'pointer' } }} $platform-native={{ style: { paddingTop: 2 } }}>
|
|
232
|
+
Platform text
|
|
233
|
+
</Typography.Text>
|
|
234
|
+
```
|
|
235
|
+
|
|
214
236
|
## Children & Composition
|
|
215
237
|
|
|
216
238
|
Children patterns are largely identical between source and target. Both accept:
|
|
@@ -288,9 +310,9 @@ Key differences:
|
|
|
288
310
|
4. **No Typography.Paragraph**: Target has no Paragraph sub-component. Use Typography.Text.
|
|
289
311
|
5. **No SetDefaultColor**: Target has no context provider for default colors. Colors must be set on each component individually.
|
|
290
312
|
6. **No TypographyEmoji**: Target has no emoji sub-component.
|
|
291
|
-
7. **Platform props syntax**: `_web
|
|
313
|
+
7. **Platform props syntax**: `_web` → `$platform-web`, `_ios`/`_android` → `$platform-native`. Note that both `_ios` and `_android` map to the same `$platform-native` prop — Tamagui has no per-platform native distinction. If the source used different values for iOS and Android, they must be reconciled manually.
|
|
292
314
|
8. **Color inheritance**: Both support color inheritance via context, but the context APIs differ internally. Behavior is equivalent.
|
|
293
|
-
9. **Responsive API**: Source uses breakpoint props (`base`, `medium`, `large`) or `type` object. Target uses Tamagui media props (`$
|
|
315
|
+
9. **Responsive API**: Source uses breakpoint props (`base`, `medium`, `large`) or `type` object. Target uses Tamagui media props (`$small`, `$medium`, `$large`).
|
|
294
316
|
10. **TypographyLink/TypographyIcon**: Source exports as standalone components. Target uses compound component pattern (`Typography.Link`, `Typography.Icon`).
|
|
295
317
|
11. **Icon color="inherit"**: Source supports `color="inherit"`. Target does not — simply omit the color prop to inherit from parent.
|
|
296
318
|
|
|
@@ -464,8 +486,8 @@ const color = getTypographyColor(state); // should return '$content.accent', '$c
|
|
|
464
486
|
14. **Rename platform prop**: `_web={{ ... }}` → `$platform-web={{ ... }}`
|
|
465
487
|
15. **Rename platform prop**: `_ios={{ ... }}` → `$platform-native={{ ... }}`
|
|
466
488
|
16. **Rename platform prop**: `_android={{ ... }}` → `$platform-native={{ ... }}`
|
|
467
|
-
17. **Convert responsive**: `type={{ base: X, small: Y, medium: Z, large: W, wide: V }}` → `variant={X} $
|
|
468
|
-
18. **Convert responsive shorthand**: `small="X"` → `$
|
|
489
|
+
17. **Convert responsive**: `type={{ base: X, small: Y, medium: Z, large: W, wide: V }}` → `variant={X} $small={{ variant: Y }} $medium={{ variant: Z }} $large={{ variant: W }} $wide={{ variant: V }}`
|
|
490
|
+
18. **Convert responsive shorthand**: `small="X"` → `$small={{ variant: "X" }}`; `medium="X"` → `$medium={{ variant: "X" }}`; `large="X"` → `$large={{ variant: "X" }}`; `wide="X"` → `$wide={{ variant: "X" }}`
|
|
469
491
|
19. **Map variant values**: Apply value mapping table (e.g. `heading-xxs` → `heading-2xs`, `label-small` → `label-s`)
|
|
470
492
|
20. **Map color values**: Apply color mapping table (e.g. `"black"` → `"$content.base.hi"`, `"kitt.bumper.X"` → `"$X"`)
|
|
471
493
|
21. **Remove weight on headings/labels**: If target `variant` is a heading or label type, remove the `weight` prop (it's fixed)
|
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@ Append `Button.Badge` after `Button.Text` to surface a count or dot indicator. P
|
|
|
39
39
|
|
|
40
40
|
## Disabled
|
|
41
41
|
|
|
42
|
-
Set `disabled` to prevent interaction. Pointer events and focus are removed, and `aria-disabled` is set. The visual treatment differs by type — `primary` uses `$bg.disabled.
|
|
42
|
+
Set `disabled` to prevent interaction. Pointer events and focus are removed, and `aria-disabled` is set. The visual treatment differs by type — `primary` uses `$bg.disabled.hi` with `$content.disabled.onContrasted` label for contrast, while `secondary` and `danger` show a `$border.disabled` outline.
|
|
43
43
|
|
|
44
44
|
<Canvas of={ButtonFeatures.Disabled} />
|
|
45
45
|
|
|
@@ -38,7 +38,7 @@ exports[`Bumper/Actions/Button/Features Disabled 1`] = `
|
|
|
38
38
|
{
|
|
39
39
|
"alignItems": "center",
|
|
40
40
|
"alignSelf": "flex-start",
|
|
41
|
-
"backgroundColor": "#
|
|
41
|
+
"backgroundColor": "#BABABA",
|
|
42
42
|
"borderBottomColor": "transparent",
|
|
43
43
|
"borderBottomLeftRadius": 4,
|
|
44
44
|
"borderBottomRightRadius": 4,
|
|
@@ -73,7 +73,7 @@ exports[`Bumper/Actions/Button/Features Disabled 1`] = `
|
|
|
73
73
|
<Text
|
|
74
74
|
style={
|
|
75
75
|
{
|
|
76
|
-
"color": "#
|
|
76
|
+
"color": "#ffffff",
|
|
77
77
|
"fontFamily": "GTStandardSemibold",
|
|
78
78
|
"fontSize": 16,
|
|
79
79
|
"letterSpacing": 0,
|
|
@@ -103,16 +103,16 @@ exports[`Bumper/Actions/Button/Features Disabled 1`] = `
|
|
|
103
103
|
{
|
|
104
104
|
"alignItems": "center",
|
|
105
105
|
"alignSelf": "flex-start",
|
|
106
|
-
"borderBottomColor": "#
|
|
106
|
+
"borderBottomColor": "#DCDCDC",
|
|
107
107
|
"borderBottomLeftRadius": 4,
|
|
108
108
|
"borderBottomRightRadius": 4,
|
|
109
109
|
"borderBottomWidth": 1,
|
|
110
|
-
"borderLeftColor": "#
|
|
110
|
+
"borderLeftColor": "#DCDCDC",
|
|
111
111
|
"borderLeftWidth": 1,
|
|
112
|
-
"borderRightColor": "#
|
|
112
|
+
"borderRightColor": "#DCDCDC",
|
|
113
113
|
"borderRightWidth": 1,
|
|
114
114
|
"borderStyle": "solid",
|
|
115
|
-
"borderTopColor": "#
|
|
115
|
+
"borderTopColor": "#DCDCDC",
|
|
116
116
|
"borderTopLeftRadius": 4,
|
|
117
117
|
"borderTopRightRadius": 4,
|
|
118
118
|
"borderTopWidth": 1,
|
|
@@ -241,16 +241,16 @@ exports[`Bumper/Actions/Button/Features Disabled 1`] = `
|
|
|
241
241
|
{
|
|
242
242
|
"alignItems": "center",
|
|
243
243
|
"alignSelf": "flex-start",
|
|
244
|
-
"borderBottomColor": "#
|
|
244
|
+
"borderBottomColor": "#DCDCDC",
|
|
245
245
|
"borderBottomLeftRadius": 4,
|
|
246
246
|
"borderBottomRightRadius": 4,
|
|
247
247
|
"borderBottomWidth": 1,
|
|
248
|
-
"borderLeftColor": "#
|
|
248
|
+
"borderLeftColor": "#DCDCDC",
|
|
249
249
|
"borderLeftWidth": 1,
|
|
250
|
-
"borderRightColor": "#
|
|
250
|
+
"borderRightColor": "#DCDCDC",
|
|
251
251
|
"borderRightWidth": 1,
|
|
252
252
|
"borderStyle": "solid",
|
|
253
|
-
"borderTopColor": "#
|
|
253
|
+
"borderTopColor": "#DCDCDC",
|
|
254
254
|
"borderTopLeftRadius": 4,
|
|
255
255
|
"borderTopRightRadius": 4,
|
|
256
256
|
"borderTopWidth": 1,
|
|
@@ -22,7 +22,7 @@ exports[`Bumper/Actions/Button/Features Disabled 1`] = `
|
|
|
22
22
|
>
|
|
23
23
|
<div
|
|
24
24
|
aria-disabled="true"
|
|
25
|
-
class="is_Button _outlineWidth-0focus-visible-3px _outlineColor-0focus-visible-border--foc3742 _outlineStyle-0focus-visible-solid _backgroundColor-0hover-button--bg-27634925 _backgroundColor-0active-button--bg-27634925 _dsp-flex _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _fd-row _alignItems-center _justifyContent-center _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410 _alignSelf-flex-start _gap-t-space-spa94482166 _cur-pointer _btc-border--tra718859951 _brc-border--tra718859951 _borderBottomColor-border--tra718859951 _borderLeftColor-border--tra718859951 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _height-48px _paddingRight-16px _paddingLeft-16px _paddingTop-14px _paddingBottom-14px _pe-none _backgroundColor-bg--
|
|
25
|
+
class="is_Button _outlineWidth-0focus-visible-3px _outlineColor-0focus-visible-border--foc3742 _outlineStyle-0focus-visible-solid _backgroundColor-0hover-button--bg-27634925 _backgroundColor-0active-button--bg-27634925 _dsp-flex _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _fd-row _alignItems-center _justifyContent-center _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410 _alignSelf-flex-start _gap-t-space-spa94482166 _cur-pointer _btc-border--tra718859951 _brc-border--tra718859951 _borderBottomColor-border--tra718859951 _borderLeftColor-border--tra718859951 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _height-48px _paddingRight-16px _paddingLeft-16px _paddingTop-14px _paddingBottom-14px _pe-none _backgroundColor-bg--disable93739269 _borderBottomStyle-solid _borderTopStyle-solid _borderLeftStyle-solid _borderRightStyle-solid"
|
|
26
26
|
data-disable-theme="true"
|
|
27
27
|
role="button"
|
|
28
28
|
tabindex="-1"
|
|
@@ -31,7 +31,7 @@ exports[`Bumper/Actions/Button/Features Disabled 1`] = `
|
|
|
31
31
|
class="is_VStack _dsp-flex _alignItems-stretch _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _fd-column"
|
|
32
32
|
>
|
|
33
33
|
<span
|
|
34
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-labe105291 _lh-f-lineHeigh1842530170 _ls-f-letterSpa379059035 _fw-f-weight-se1074390495 _textAlign-left _col-content--
|
|
34
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-labe105291 _lh-f-lineHeigh1842530170 _ls-f-letterSpa379059035 _fw-f-weight-se1074390495 _textAlign-left _col-content--di396036745"
|
|
35
35
|
>
|
|
36
36
|
Primary
|
|
37
37
|
</span>
|
|
@@ -3,7 +3,7 @@ import type { ButtonType } from '../types';
|
|
|
3
3
|
|
|
4
4
|
export function getButtonContentColor(type: ButtonType, disabled?: boolean, isOnContrasted?: boolean): ColorTokens {
|
|
5
5
|
if (disabled) {
|
|
6
|
-
return '$content.disabled';
|
|
6
|
+
return type === 'primary' ? '$content.disabled.onContrasted' : '$content.disabled';
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
switch (type) {
|
|
@@ -38,7 +38,7 @@ exports[`Bumper/Actions/IconButton/Features Disabled 1`] = `
|
|
|
38
38
|
{
|
|
39
39
|
"alignItems": "center",
|
|
40
40
|
"alignSelf": "flex-start",
|
|
41
|
-
"backgroundColor": "#
|
|
41
|
+
"backgroundColor": "#BABABA",
|
|
42
42
|
"borderBottomColor": "transparent",
|
|
43
43
|
"borderBottomLeftRadius": 4,
|
|
44
44
|
"borderBottomRightRadius": 4,
|
|
@@ -73,7 +73,7 @@ exports[`Bumper/Actions/IconButton/Features Disabled 1`] = `
|
|
|
73
73
|
}
|
|
74
74
|
>
|
|
75
75
|
<svg
|
|
76
|
-
color="#
|
|
76
|
+
color="#ffffff"
|
|
77
77
|
data-file-name="star.inline.svg"
|
|
78
78
|
/>
|
|
79
79
|
</View>
|
|
@@ -94,16 +94,16 @@ exports[`Bumper/Actions/IconButton/Features Disabled 1`] = `
|
|
|
94
94
|
{
|
|
95
95
|
"alignItems": "center",
|
|
96
96
|
"alignSelf": "flex-start",
|
|
97
|
-
"borderBottomColor": "#
|
|
97
|
+
"borderBottomColor": "#DCDCDC",
|
|
98
98
|
"borderBottomLeftRadius": 4,
|
|
99
99
|
"borderBottomRightRadius": 4,
|
|
100
100
|
"borderBottomWidth": 1,
|
|
101
|
-
"borderLeftColor": "#
|
|
101
|
+
"borderLeftColor": "#DCDCDC",
|
|
102
102
|
"borderLeftWidth": 1,
|
|
103
|
-
"borderRightColor": "#
|
|
103
|
+
"borderRightColor": "#DCDCDC",
|
|
104
104
|
"borderRightWidth": 1,
|
|
105
105
|
"borderStyle": "solid",
|
|
106
|
-
"borderTopColor": "#
|
|
106
|
+
"borderTopColor": "#DCDCDC",
|
|
107
107
|
"borderTopLeftRadius": 4,
|
|
108
108
|
"borderTopRightRadius": 4,
|
|
109
109
|
"borderTopWidth": 1,
|
|
@@ -205,16 +205,16 @@ exports[`Bumper/Actions/IconButton/Features Disabled 1`] = `
|
|
|
205
205
|
{
|
|
206
206
|
"alignItems": "center",
|
|
207
207
|
"alignSelf": "flex-start",
|
|
208
|
-
"borderBottomColor": "#
|
|
208
|
+
"borderBottomColor": "#DCDCDC",
|
|
209
209
|
"borderBottomLeftRadius": 4,
|
|
210
210
|
"borderBottomRightRadius": 4,
|
|
211
211
|
"borderBottomWidth": 1,
|
|
212
|
-
"borderLeftColor": "#
|
|
212
|
+
"borderLeftColor": "#DCDCDC",
|
|
213
213
|
"borderLeftWidth": 1,
|
|
214
|
-
"borderRightColor": "#
|
|
214
|
+
"borderRightColor": "#DCDCDC",
|
|
215
215
|
"borderRightWidth": 1,
|
|
216
216
|
"borderStyle": "solid",
|
|
217
|
-
"borderTopColor": "#
|
|
217
|
+
"borderTopColor": "#DCDCDC",
|
|
218
218
|
"borderTopLeftRadius": 4,
|
|
219
219
|
"borderTopRightRadius": 4,
|
|
220
220
|
"borderTopWidth": 1,
|
package/src/system/actions/IconButton/__snapshots_web__/IconButton.features.stories.tsx.snap
CHANGED
|
@@ -22,7 +22,7 @@ exports[`Bumper/Actions/IconButton/Features Disabled 1`] = `
|
|
|
22
22
|
>
|
|
23
23
|
<div
|
|
24
24
|
aria-disabled="true"
|
|
25
|
-
class="is_Button _outlineWidth-0focus-visible-3px _outlineColor-0focus-visible-border--foc3742 _outlineStyle-0focus-visible-solid _backgroundColor-0hover-button--bg-27634925 _backgroundColor-0active-button--bg-27634925 _dsp-flex _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _fd-row _alignItems-center _justifyContent-center _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410 _alignSelf-flex-start _gap-t-space-spa94482166 _cur-pointer _btc-border--tra718859951 _brc-border--tra718859951 _borderBottomColor-border--tra718859951 _borderLeftColor-border--tra718859951 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _pe-none _height-48px _paddingRight-14px _paddingLeft-14px _paddingTop-14px _paddingBottom-14px _backgroundColor-bg--
|
|
25
|
+
class="is_Button _outlineWidth-0focus-visible-3px _outlineColor-0focus-visible-border--foc3742 _outlineStyle-0focus-visible-solid _backgroundColor-0hover-button--bg-27634925 _backgroundColor-0active-button--bg-27634925 _dsp-flex _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _fd-row _alignItems-center _justifyContent-center _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410 _alignSelf-flex-start _gap-t-space-spa94482166 _cur-pointer _btc-border--tra718859951 _brc-border--tra718859951 _borderBottomColor-border--tra718859951 _borderLeftColor-border--tra718859951 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _pe-none _height-48px _paddingRight-14px _paddingLeft-14px _paddingTop-14px _paddingBottom-14px _backgroundColor-bg--disable93739269 _width-48px _borderBottomStyle-solid _borderTopStyle-solid _borderLeftStyle-solid _borderRightStyle-solid"
|
|
26
26
|
data-disable-theme="true"
|
|
27
27
|
role="button"
|
|
28
28
|
tabindex="-1"
|
|
@@ -31,7 +31,7 @@ exports[`Bumper/Actions/IconButton/Features Disabled 1`] = `
|
|
|
31
31
|
class="is_Icon _dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-bumperIco1504282965 _height-t-bumperIco1504282965"
|
|
32
32
|
>
|
|
33
33
|
<svg
|
|
34
|
-
color="var(--content--disabled)"
|
|
34
|
+
color="var(--content--disabled--onContrasted)"
|
|
35
35
|
data-file-name="star.inline.svg"
|
|
36
36
|
/>
|
|
37
37
|
</div>
|
|
@@ -1207,7 +1207,7 @@ exports[`Bumper/Core/Themes Light 1`] = `
|
|
|
1207
1207
|
style={
|
|
1208
1208
|
{
|
|
1209
1209
|
"alignItems": "center",
|
|
1210
|
-
"backgroundColor": "#
|
|
1210
|
+
"backgroundColor": "#ffffff",
|
|
1211
1211
|
"borderBottomColor": "#F1ECE4",
|
|
1212
1212
|
"borderBottomLeftRadius": 4,
|
|
1213
1213
|
"borderBottomRightRadius": 4,
|
|
@@ -1230,7 +1230,7 @@ exports[`Bumper/Core/Themes Light 1`] = `
|
|
|
1230
1230
|
<View
|
|
1231
1231
|
style={
|
|
1232
1232
|
{
|
|
1233
|
-
"backgroundColor": "#
|
|
1233
|
+
"backgroundColor": "#563B56",
|
|
1234
1234
|
"borderBottomLeftRadius": 2,
|
|
1235
1235
|
"borderBottomRightRadius": 2,
|
|
1236
1236
|
"borderTopLeftRadius": 2,
|
|
@@ -1278,7 +1278,7 @@ exports[`Bumper/Core/Themes Light 1`] = `
|
|
|
1278
1278
|
}
|
|
1279
1279
|
suppressHighlighting={true}
|
|
1280
1280
|
>
|
|
1281
|
-
#
|
|
1281
|
+
#ffffff
|
|
1282
1282
|
</Text>
|
|
1283
1283
|
</View>
|
|
1284
1284
|
<View
|
|
@@ -3119,7 +3119,7 @@ exports[`Bumper/Core/Themes Light 1`] = `
|
|
|
3119
3119
|
style={
|
|
3120
3120
|
{
|
|
3121
3121
|
"alignItems": "center",
|
|
3122
|
-
"backgroundColor": "#
|
|
3122
|
+
"backgroundColor": "#BABABA",
|
|
3123
3123
|
"borderBottomColor": "#F1ECE4",
|
|
3124
3124
|
"borderBottomLeftRadius": 4,
|
|
3125
3125
|
"borderBottomRightRadius": 4,
|
|
@@ -3176,7 +3176,7 @@ exports[`Bumper/Core/Themes Light 1`] = `
|
|
|
3176
3176
|
}
|
|
3177
3177
|
suppressHighlighting={true}
|
|
3178
3178
|
>
|
|
3179
|
-
#
|
|
3179
|
+
#BABABA
|
|
3180
3180
|
</Text>
|
|
3181
3181
|
</View>
|
|
3182
3182
|
<View
|
|
@@ -4023,7 +4023,7 @@ exports[`Bumper/Core/Themes Light 1`] = `
|
|
|
4023
4023
|
style={
|
|
4024
4024
|
{
|
|
4025
4025
|
"alignItems": "center",
|
|
4026
|
-
"backgroundColor": "#
|
|
4026
|
+
"backgroundColor": "#DCDCDC",
|
|
4027
4027
|
"borderBottomColor": "#F1ECE4",
|
|
4028
4028
|
"borderBottomLeftRadius": 4,
|
|
4029
4029
|
"borderBottomRightRadius": 4,
|
|
@@ -4080,7 +4080,7 @@ exports[`Bumper/Core/Themes Light 1`] = `
|
|
|
4080
4080
|
}
|
|
4081
4081
|
suppressHighlighting={true}
|
|
4082
4082
|
>
|
|
4083
|
-
#
|
|
4083
|
+
#DCDCDC
|
|
4084
4084
|
</Text>
|
|
4085
4085
|
</View>
|
|
4086
4086
|
<View
|
|
@@ -363,10 +363,10 @@ exports[`Bumper/Core/Themes Light 1`] = `
|
|
|
363
363
|
class="is_HStack _dsp-flex _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _fd-row _gap-t-space-spa1366020313 _alignItems-center"
|
|
364
364
|
>
|
|
365
365
|
<div
|
|
366
|
-
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385508 _height-t-size-size1385508 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410 _backgroundColor-
|
|
366
|
+
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385508 _height-t-size-size1385508 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410 _backgroundColor-ffffff35 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _btc-border--bas1360416657 _brc-border--bas1360416657 _borderBottomColor-border--bas1360416657 _borderLeftColor-border--bas1360416657 _alignItems-center _justifyContent-center _borderBottomStyle-solid _borderTopStyle-solid _borderLeftStyle-solid _borderRightStyle-solid"
|
|
367
367
|
>
|
|
368
368
|
<div
|
|
369
|
-
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385442 _height-t-size-size1385442 _btlr-t-radius-ra1673638416 _btrr-t-radius-ra1673638416 _bbrr-t-radius-ra1673638416 _bblr-t-radius-ra1673638416 _backgroundColor-bg--
|
|
369
|
+
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385442 _height-t-size-size1385442 _btlr-t-radius-ra1673638416 _btrr-t-radius-ra1673638416 _bbrr-t-radius-ra1673638416 _bblr-t-radius-ra1673638416 _backgroundColor-bg--accent-1633109644"
|
|
370
370
|
/>
|
|
371
371
|
</div>
|
|
372
372
|
<div
|
|
@@ -381,7 +381,7 @@ exports[`Bumper/Core/Themes Light 1`] = `
|
|
|
381
381
|
<span
|
|
382
382
|
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-re98715119 _textAlign-left _col-content--ba1918259606"
|
|
383
383
|
>
|
|
384
|
-
#
|
|
384
|
+
#ffffff
|
|
385
385
|
</span>
|
|
386
386
|
</div>
|
|
387
387
|
<div
|
|
@@ -913,7 +913,7 @@ exports[`Bumper/Core/Themes Light 1`] = `
|
|
|
913
913
|
class="is_HStack _dsp-flex _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _fd-row _gap-t-space-spa1366020313 _alignItems-center"
|
|
914
914
|
>
|
|
915
915
|
<div
|
|
916
|
-
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385508 _height-t-size-size1385508 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410 _backgroundColor-
|
|
916
|
+
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385508 _height-t-size-size1385508 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410 _backgroundColor-BABABA35 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _btc-border--bas1360416657 _brc-border--bas1360416657 _borderBottomColor-border--bas1360416657 _borderLeftColor-border--bas1360416657 _alignItems-center _justifyContent-center _borderBottomStyle-solid _borderTopStyle-solid _borderLeftStyle-solid _borderRightStyle-solid"
|
|
917
917
|
/>
|
|
918
918
|
<div
|
|
919
919
|
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-280px"
|
|
@@ -927,7 +927,7 @@ exports[`Bumper/Core/Themes Light 1`] = `
|
|
|
927
927
|
<span
|
|
928
928
|
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-re98715119 _textAlign-left _col-content--ba1918259606"
|
|
929
929
|
>
|
|
930
|
-
#
|
|
930
|
+
#BABABA
|
|
931
931
|
</span>
|
|
932
932
|
</div>
|
|
933
933
|
<div
|
|
@@ -1173,7 +1173,7 @@ exports[`Bumper/Core/Themes Light 1`] = `
|
|
|
1173
1173
|
class="is_HStack _dsp-flex _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _fd-row _gap-t-space-spa1366020313 _alignItems-center"
|
|
1174
1174
|
>
|
|
1175
1175
|
<div
|
|
1176
|
-
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385508 _height-t-size-size1385508 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410 _backgroundColor-
|
|
1176
|
+
class="_dsp-flex _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385508 _height-t-size-size1385508 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410 _backgroundColor-DCDCDC35 _btw-1px _brw-1px _borderBottomWidth-1px _borderLeftWidth-1px _btc-border--bas1360416657 _brc-border--bas1360416657 _borderBottomColor-border--bas1360416657 _borderLeftColor-border--bas1360416657 _alignItems-center _justifyContent-center _borderBottomStyle-solid _borderTopStyle-solid _borderLeftStyle-solid _borderRightStyle-solid"
|
|
1177
1177
|
/>
|
|
1178
1178
|
<div
|
|
1179
1179
|
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-280px"
|
|
@@ -1187,7 +1187,7 @@ exports[`Bumper/Core/Themes Light 1`] = `
|
|
|
1187
1187
|
<span
|
|
1188
1188
|
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-re98715119 _textAlign-left _col-content--ba1918259606"
|
|
1189
1189
|
>
|
|
1190
|
-
#
|
|
1190
|
+
#DCDCDC
|
|
1191
1191
|
</span>
|
|
1192
1192
|
</div>
|
|
1193
1193
|
<div
|