@ornikar/bumper 3.0.1 → 3.0.2
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 +9 -0
- package/dist/definitions/system/content/typography/Typography.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +8 -6
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +8 -6
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.22.cjs.js +9 -3
- package/dist/index-node-22.22.cjs.js.map +1 -1
- package/dist/index-node-22.22.cjs.web.js +9 -3
- package/dist/index-node-22.22.cjs.web.js.map +1 -1
- package/dist/index-node-22.22.es.mjs +9 -3
- package/dist/index-node-22.22.es.mjs.map +1 -1
- package/dist/index-node-22.22.es.web.mjs +9 -3
- package/dist/index-node-22.22.es.web.mjs.map +1 -1
- package/dist/index.es.js +7 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +7 -5
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/system/content/icon/__snapshots__/Icon.features.stories.tsx.snap +11 -11
- package/src/system/content/icon/__snapshots_web__/Icon.features.stories.tsx.snap +11 -11
- package/src/system/content/typography/Typography.features.stories.tsx +4 -0
- package/src/system/content/typography/Typography.tsx +4 -4
- package/src/system/content/typography/__snapshots__/Typography.features.stories.tsx.snap +67 -2
- package/src/system/content/typography/__snapshots__/TypographyIcon.features.stories.tsx.snap +24 -24
- package/src/system/content/typography/__snapshots__/TypographyLink.features.stories.tsx.snap +37 -8
- package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap +68 -38
- package/src/system/content/typography/__snapshots_web__/TypographyIcon.features.stories.tsx.snap +24 -24
- package/src/system/content/typography/__snapshots_web__/TypographyLink.features.stories.tsx.snap +8 -8
- package/src/system/core/primitives/ScrollView/__snapshots__/ScrollView.features.stories.tsx.snap +74 -37
- package/src/system/core/primitives/ScrollView/__snapshots__/ScrollView.stories.tsx.snap +20 -10
- package/src/system/core/primitives/ScrollView/__snapshots_web__/ScrollView.features.stories.tsx.snap +37 -37
- package/src/system/core/primitives/ScrollView/__snapshots_web__/ScrollView.stories.tsx.snap +10 -10
- package/src/system/core/primitives/__snapshots__/Center.features.stories.tsx.snap +1 -1
- package/src/system/core/primitives/__snapshots__/Center.stories.tsx.snap +5 -1
- package/src/system/core/primitives/__snapshots__/Pressable.features.stories.tsx.snap +7 -6
- package/src/system/core/primitives/__snapshots__/Pressable.stories.tsx.snap +4 -1
- package/src/system/core/primitives/__snapshots__/Stack.features.stories.tsx.snap +41 -30
- package/src/system/core/primitives/__snapshots__/Stack.stories.tsx.snap +6 -3
- package/src/system/core/primitives/__snapshots__/View.features.stories.tsx.snap +97 -60
- package/src/system/core/primitives/__snapshots_web__/Center.features.stories.tsx.snap +1 -1
- package/src/system/core/primitives/__snapshots_web__/Center.stories.tsx.snap +1 -1
- package/src/system/core/primitives/__snapshots_web__/Pressable.features.stories.tsx.snap +6 -6
- package/src/system/core/primitives/__snapshots_web__/Pressable.stories.tsx.snap +1 -1
- package/src/system/core/primitives/__snapshots_web__/Stack.features.stories.tsx.snap +33 -33
- package/src/system/core/primitives/__snapshots_web__/Stack.stories.tsx.snap +3 -3
- package/src/system/core/primitives/__snapshots_web__/View.features.stories.tsx.snap +60 -60
- package/src/system/core/themes/light/__snapshots__/light.stories.tsx.snap +111 -56
- package/src/system/core/themes/light/__snapshots_web__/light.stories.tsx.snap +111 -111
- package/src/system/core/tokens/__snapshots__/breakpoints.stories.tsx.snap +11 -6
- package/src/system/core/tokens/__snapshots__/bumperIcon.stories.tsx.snap +7 -4
- package/src/system/core/tokens/__snapshots__/fonts.stories.tsx.snap +75 -29
- package/src/system/core/tokens/__snapshots__/radius.stories.tsx.snap +11 -6
- package/src/system/core/tokens/__snapshots__/size.stories.tsx.snap +25 -13
- package/src/system/core/tokens/__snapshots__/space.stories.tsx.snap +28 -14
- package/src/system/core/tokens/__snapshots_web__/breakpoints.stories.tsx.snap +11 -11
- package/src/system/core/tokens/__snapshots_web__/bumperIcon.stories.tsx.snap +7 -7
- package/src/system/core/tokens/__snapshots_web__/fonts.stories.tsx.snap +70 -70
- package/src/system/core/tokens/__snapshots_web__/radius.stories.tsx.snap +11 -11
- package/src/system/core/tokens/__snapshots_web__/size.stories.tsx.snap +25 -25
- package/src/system/core/tokens/__snapshots_web__/space.stories.tsx.snap +28 -28
- package/src/system/core/tokens/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +133 -67
- package/src/system/core/tokens/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +133 -133
- package/src/system/loading/loader/__snapshots__/Loader.features.stories.tsx.snap +2 -2
- package/src/system/loading/loader/__snapshots_web__/Loader.features.stories.tsx.snap +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ornikar/bumper",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "@ornikar/bumper",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"react-native-reanimated": "3.18.0",
|
|
74
74
|
"react-native-svg": "15.11.2",
|
|
75
75
|
"react-test-renderer": "19.0.0",
|
|
76
|
-
"storybook": "8.6.
|
|
76
|
+
"storybook": "8.6.17"
|
|
77
77
|
},
|
|
78
78
|
"expo": {
|
|
79
79
|
"install": {
|
|
@@ -47,7 +47,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
47
47
|
style={
|
|
48
48
|
{
|
|
49
49
|
"color": "#505050",
|
|
50
|
-
"fontFamily": "
|
|
50
|
+
"fontFamily": "GTStandardRegular",
|
|
51
51
|
"fontSize": 12,
|
|
52
52
|
"letterSpacing": 0.3,
|
|
53
53
|
"lineHeight": 16,
|
|
@@ -84,7 +84,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
84
84
|
style={
|
|
85
85
|
{
|
|
86
86
|
"color": "#505050",
|
|
87
|
-
"fontFamily": "
|
|
87
|
+
"fontFamily": "GTStandardRegular",
|
|
88
88
|
"fontSize": 12,
|
|
89
89
|
"letterSpacing": 0.3,
|
|
90
90
|
"lineHeight": 16,
|
|
@@ -121,7 +121,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
121
121
|
style={
|
|
122
122
|
{
|
|
123
123
|
"color": "#505050",
|
|
124
|
-
"fontFamily": "
|
|
124
|
+
"fontFamily": "GTStandardRegular",
|
|
125
125
|
"fontSize": 12,
|
|
126
126
|
"letterSpacing": 0.3,
|
|
127
127
|
"lineHeight": 16,
|
|
@@ -158,7 +158,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
158
158
|
style={
|
|
159
159
|
{
|
|
160
160
|
"color": "#505050",
|
|
161
|
-
"fontFamily": "
|
|
161
|
+
"fontFamily": "GTStandardRegular",
|
|
162
162
|
"fontSize": 12,
|
|
163
163
|
"letterSpacing": 0.3,
|
|
164
164
|
"lineHeight": 16,
|
|
@@ -195,7 +195,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
195
195
|
style={
|
|
196
196
|
{
|
|
197
197
|
"color": "#505050",
|
|
198
|
-
"fontFamily": "
|
|
198
|
+
"fontFamily": "GTStandardRegular",
|
|
199
199
|
"fontSize": 12,
|
|
200
200
|
"letterSpacing": 0.3,
|
|
201
201
|
"lineHeight": 16,
|
|
@@ -232,7 +232,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
232
232
|
style={
|
|
233
233
|
{
|
|
234
234
|
"color": "#505050",
|
|
235
|
-
"fontFamily": "
|
|
235
|
+
"fontFamily": "GTStandardRegular",
|
|
236
236
|
"fontSize": 12,
|
|
237
237
|
"letterSpacing": 0.3,
|
|
238
238
|
"lineHeight": 16,
|
|
@@ -269,7 +269,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
269
269
|
style={
|
|
270
270
|
{
|
|
271
271
|
"color": "#505050",
|
|
272
|
-
"fontFamily": "
|
|
272
|
+
"fontFamily": "GTStandardRegular",
|
|
273
273
|
"fontSize": 12,
|
|
274
274
|
"letterSpacing": 0.3,
|
|
275
275
|
"lineHeight": 16,
|
|
@@ -306,7 +306,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
306
306
|
style={
|
|
307
307
|
{
|
|
308
308
|
"color": "#505050",
|
|
309
|
-
"fontFamily": "
|
|
309
|
+
"fontFamily": "GTStandardRegular",
|
|
310
310
|
"fontSize": 12,
|
|
311
311
|
"letterSpacing": 0.3,
|
|
312
312
|
"lineHeight": 16,
|
|
@@ -368,7 +368,7 @@ exports[`Bumper/Content/Icon/Features Sizes 1`] = `
|
|
|
368
368
|
style={
|
|
369
369
|
{
|
|
370
370
|
"color": "#505050",
|
|
371
|
-
"fontFamily": "
|
|
371
|
+
"fontFamily": "GTStandardRegular",
|
|
372
372
|
"fontSize": 12,
|
|
373
373
|
"letterSpacing": 0.3,
|
|
374
374
|
"lineHeight": 16,
|
|
@@ -405,7 +405,7 @@ exports[`Bumper/Content/Icon/Features Sizes 1`] = `
|
|
|
405
405
|
style={
|
|
406
406
|
{
|
|
407
407
|
"color": "#505050",
|
|
408
|
-
"fontFamily": "
|
|
408
|
+
"fontFamily": "GTStandardRegular",
|
|
409
409
|
"fontSize": 12,
|
|
410
410
|
"letterSpacing": 0.3,
|
|
411
411
|
"lineHeight": 16,
|
|
@@ -442,7 +442,7 @@ exports[`Bumper/Content/Icon/Features Sizes 1`] = `
|
|
|
442
442
|
style={
|
|
443
443
|
{
|
|
444
444
|
"color": "#505050",
|
|
445
|
-
"fontFamily": "
|
|
445
|
+
"fontFamily": "GTStandardRegular",
|
|
446
446
|
"fontSize": 12,
|
|
447
447
|
"letterSpacing": 0.3,
|
|
448
448
|
"lineHeight": 16,
|
|
@@ -32,7 +32,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
32
32
|
/>
|
|
33
33
|
</div>
|
|
34
34
|
<span
|
|
35
|
-
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-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
35
|
+
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 _fw-f-weight-re98715119 _fs-f-size-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
36
36
|
data-disable-theme="true"
|
|
37
37
|
>
|
|
38
38
|
base.hi
|
|
@@ -50,7 +50,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
50
50
|
/>
|
|
51
51
|
</div>
|
|
52
52
|
<span
|
|
53
|
-
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-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
53
|
+
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 _fw-f-weight-re98715119 _fs-f-size-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
54
54
|
data-disable-theme="true"
|
|
55
55
|
>
|
|
56
56
|
base.mid
|
|
@@ -68,7 +68,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
68
68
|
/>
|
|
69
69
|
</div>
|
|
70
70
|
<span
|
|
71
|
-
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-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
71
|
+
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 _fw-f-weight-re98715119 _fs-f-size-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
72
72
|
data-disable-theme="true"
|
|
73
73
|
>
|
|
74
74
|
base.low
|
|
@@ -86,7 +86,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
86
86
|
/>
|
|
87
87
|
</div>
|
|
88
88
|
<span
|
|
89
|
-
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-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
89
|
+
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 _fw-f-weight-re98715119 _fs-f-size-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
90
90
|
data-disable-theme="true"
|
|
91
91
|
>
|
|
92
92
|
accent
|
|
@@ -104,7 +104,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
104
104
|
/>
|
|
105
105
|
</div>
|
|
106
106
|
<span
|
|
107
|
-
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-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
107
|
+
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 _fw-f-weight-re98715119 _fs-f-size-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
108
108
|
data-disable-theme="true"
|
|
109
109
|
>
|
|
110
110
|
success
|
|
@@ -122,7 +122,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
122
122
|
/>
|
|
123
123
|
</div>
|
|
124
124
|
<span
|
|
125
|
-
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-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
125
|
+
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 _fw-f-weight-re98715119 _fs-f-size-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
126
126
|
data-disable-theme="true"
|
|
127
127
|
>
|
|
128
128
|
warning
|
|
@@ -140,7 +140,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
140
140
|
/>
|
|
141
141
|
</div>
|
|
142
142
|
<span
|
|
143
|
-
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-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
143
|
+
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 _fw-f-weight-re98715119 _fs-f-size-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
144
144
|
data-disable-theme="true"
|
|
145
145
|
>
|
|
146
146
|
danger
|
|
@@ -158,7 +158,7 @@ exports[`Bumper/Content/Icon/Features Colors 1`] = `
|
|
|
158
158
|
/>
|
|
159
159
|
</div>
|
|
160
160
|
<span
|
|
161
|
-
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-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
161
|
+
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 _fw-f-weight-re98715119 _fs-f-size-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
162
162
|
data-disable-theme="true"
|
|
163
163
|
>
|
|
164
164
|
info
|
|
@@ -204,7 +204,7 @@ exports[`Bumper/Content/Icon/Features Sizes 1`] = `
|
|
|
204
204
|
/>
|
|
205
205
|
</div>
|
|
206
206
|
<span
|
|
207
|
-
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-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
207
|
+
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 _fw-f-weight-re98715119 _fs-f-size-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
208
208
|
data-disable-theme="true"
|
|
209
209
|
>
|
|
210
210
|
s (16)
|
|
@@ -222,7 +222,7 @@ exports[`Bumper/Content/Icon/Features Sizes 1`] = `
|
|
|
222
222
|
/>
|
|
223
223
|
</div>
|
|
224
224
|
<span
|
|
225
|
-
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-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
225
|
+
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 _fw-f-weight-re98715119 _fs-f-size-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
226
226
|
data-disable-theme="true"
|
|
227
227
|
>
|
|
228
228
|
m (20)
|
|
@@ -240,7 +240,7 @@ exports[`Bumper/Content/Icon/Features Sizes 1`] = `
|
|
|
240
240
|
/>
|
|
241
241
|
</div>
|
|
242
242
|
<span
|
|
243
|
-
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-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
243
|
+
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 _fw-f-weight-re98715119 _fs-f-size-body47080 _lh-f-lineHeigh1960620717 _ls-f-letterSpa260968488 _col-content--ba1918259606"
|
|
244
244
|
data-disable-theme="true"
|
|
245
245
|
>
|
|
246
246
|
l (24)
|
|
@@ -11,6 +11,10 @@ const meta: Meta<Extract<TypographyTextProps, BodyProps>> = {
|
|
|
11
11
|
export default meta;
|
|
12
12
|
type Story = StoryObj<typeof meta>;
|
|
13
13
|
|
|
14
|
+
export const DefaultValues: Story = {
|
|
15
|
+
render: () => <Typography.Text>Default values - body-m regular</Typography.Text>,
|
|
16
|
+
};
|
|
17
|
+
|
|
14
18
|
export const HeadingVariants: Story = {
|
|
15
19
|
render: () => (
|
|
16
20
|
<VStack gap="$space.16">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ColorTokens, GetProps,
|
|
1
|
+
import type { ColorTokens, GetProps, TamaguiComponent } from '@tamagui/core';
|
|
2
2
|
import { Text, styled } from '@tamagui/core';
|
|
3
3
|
import { type Except } from 'type-fest';
|
|
4
4
|
import type { BodyFontVariants, HeadingFontVariants, LabelFontVariants } from '../../core/tokens/GTStandardFont';
|
|
@@ -106,9 +106,9 @@ export const TypographyBase = InternalTypography.styleable<TypographyTextProps,
|
|
|
106
106
|
<InternalTypography
|
|
107
107
|
ref={ref}
|
|
108
108
|
{...props}
|
|
109
|
-
|
|
110
|
-
weight
|
|
111
|
-
variant
|
|
109
|
+
{...(color ? { color } : undefined)}
|
|
110
|
+
{...(weight ? { weight } : undefined)}
|
|
111
|
+
{...(variant ? { variant } : undefined)}
|
|
112
112
|
/>
|
|
113
113
|
);
|
|
114
114
|
|
|
@@ -23,6 +23,7 @@ exports[`Bumper/Content/Typography/Features BodyVariants 1`] = `
|
|
|
23
23
|
<Text
|
|
24
24
|
style={
|
|
25
25
|
{
|
|
26
|
+
"color": "#101010",
|
|
26
27
|
"fontFamily": "GTStandardRegular",
|
|
27
28
|
"fontSize": 24,
|
|
28
29
|
"letterSpacing": 0.3,
|
|
@@ -36,6 +37,7 @@ exports[`Bumper/Content/Typography/Features BodyVariants 1`] = `
|
|
|
36
37
|
<Text
|
|
37
38
|
style={
|
|
38
39
|
{
|
|
40
|
+
"color": "#101010",
|
|
39
41
|
"fontFamily": "GTStandardRegular",
|
|
40
42
|
"fontSize": 18,
|
|
41
43
|
"letterSpacing": 0.3,
|
|
@@ -49,6 +51,7 @@ exports[`Bumper/Content/Typography/Features BodyVariants 1`] = `
|
|
|
49
51
|
<Text
|
|
50
52
|
style={
|
|
51
53
|
{
|
|
54
|
+
"color": "#101010",
|
|
52
55
|
"fontFamily": "GTStandardRegular",
|
|
53
56
|
"fontSize": 16,
|
|
54
57
|
"letterSpacing": 0.3,
|
|
@@ -62,6 +65,7 @@ exports[`Bumper/Content/Typography/Features BodyVariants 1`] = `
|
|
|
62
65
|
<Text
|
|
63
66
|
style={
|
|
64
67
|
{
|
|
68
|
+
"color": "#101010",
|
|
65
69
|
"fontFamily": "GTStandardRegular",
|
|
66
70
|
"fontSize": 14,
|
|
67
71
|
"letterSpacing": 0.3,
|
|
@@ -75,6 +79,7 @@ exports[`Bumper/Content/Typography/Features BodyVariants 1`] = `
|
|
|
75
79
|
<Text
|
|
76
80
|
style={
|
|
77
81
|
{
|
|
82
|
+
"color": "#101010",
|
|
78
83
|
"fontFamily": "GTStandardRegular",
|
|
79
84
|
"fontSize": 12,
|
|
80
85
|
"letterSpacing": 0.3,
|
|
@@ -112,6 +117,7 @@ exports[`Bumper/Content/Typography/Features BodyVariantsBold 1`] = `
|
|
|
112
117
|
<Text
|
|
113
118
|
style={
|
|
114
119
|
{
|
|
120
|
+
"color": "#101010",
|
|
115
121
|
"fontFamily": "GTStandardBold",
|
|
116
122
|
"fontSize": 24,
|
|
117
123
|
"letterSpacing": 0.3,
|
|
@@ -125,6 +131,7 @@ exports[`Bumper/Content/Typography/Features BodyVariantsBold 1`] = `
|
|
|
125
131
|
<Text
|
|
126
132
|
style={
|
|
127
133
|
{
|
|
134
|
+
"color": "#101010",
|
|
128
135
|
"fontFamily": "GTStandardBold",
|
|
129
136
|
"fontSize": 18,
|
|
130
137
|
"letterSpacing": 0.3,
|
|
@@ -138,6 +145,7 @@ exports[`Bumper/Content/Typography/Features BodyVariantsBold 1`] = `
|
|
|
138
145
|
<Text
|
|
139
146
|
style={
|
|
140
147
|
{
|
|
148
|
+
"color": "#101010",
|
|
141
149
|
"fontFamily": "GTStandardBold",
|
|
142
150
|
"fontSize": 16,
|
|
143
151
|
"letterSpacing": 0.3,
|
|
@@ -151,6 +159,7 @@ exports[`Bumper/Content/Typography/Features BodyVariantsBold 1`] = `
|
|
|
151
159
|
<Text
|
|
152
160
|
style={
|
|
153
161
|
{
|
|
162
|
+
"color": "#101010",
|
|
154
163
|
"fontFamily": "GTStandardBold",
|
|
155
164
|
"fontSize": 14,
|
|
156
165
|
"letterSpacing": 0.3,
|
|
@@ -164,6 +173,7 @@ exports[`Bumper/Content/Typography/Features BodyVariantsBold 1`] = `
|
|
|
164
173
|
<Text
|
|
165
174
|
style={
|
|
166
175
|
{
|
|
176
|
+
"color": "#101010",
|
|
167
177
|
"fontFamily": "GTStandardBold",
|
|
168
178
|
"fontSize": 12,
|
|
169
179
|
"letterSpacing": 0.3,
|
|
@@ -201,6 +211,7 @@ exports[`Bumper/Content/Typography/Features ContentCapsVariants 1`] = `
|
|
|
201
211
|
<Text
|
|
202
212
|
style={
|
|
203
213
|
{
|
|
214
|
+
"color": "#101010",
|
|
204
215
|
"fontFamily": "GTStandardNarrowBold",
|
|
205
216
|
"fontSize": 40,
|
|
206
217
|
"letterSpacing": 0,
|
|
@@ -215,6 +226,7 @@ exports[`Bumper/Content/Typography/Features ContentCapsVariants 1`] = `
|
|
|
215
226
|
<Text
|
|
216
227
|
style={
|
|
217
228
|
{
|
|
229
|
+
"color": "#101010",
|
|
218
230
|
"fontFamily": "GTStandardNarrowBold",
|
|
219
231
|
"fontSize": 32,
|
|
220
232
|
"letterSpacing": 0,
|
|
@@ -229,6 +241,7 @@ exports[`Bumper/Content/Typography/Features ContentCapsVariants 1`] = `
|
|
|
229
241
|
<Text
|
|
230
242
|
style={
|
|
231
243
|
{
|
|
244
|
+
"color": "#101010",
|
|
232
245
|
"fontFamily": "GTStandardNarrowBold",
|
|
233
246
|
"fontSize": 24,
|
|
234
247
|
"letterSpacing": 0,
|
|
@@ -243,6 +256,7 @@ exports[`Bumper/Content/Typography/Features ContentCapsVariants 1`] = `
|
|
|
243
256
|
<Text
|
|
244
257
|
style={
|
|
245
258
|
{
|
|
259
|
+
"color": "#101010",
|
|
246
260
|
"fontFamily": "GTStandardNarrowBold",
|
|
247
261
|
"fontSize": 18,
|
|
248
262
|
"letterSpacing": 0,
|
|
@@ -257,6 +271,7 @@ exports[`Bumper/Content/Typography/Features ContentCapsVariants 1`] = `
|
|
|
257
271
|
<Text
|
|
258
272
|
style={
|
|
259
273
|
{
|
|
274
|
+
"color": "#101010",
|
|
260
275
|
"fontFamily": "GTStandardNarrowBold",
|
|
261
276
|
"fontSize": 16,
|
|
262
277
|
"letterSpacing": 0,
|
|
@@ -271,6 +286,7 @@ exports[`Bumper/Content/Typography/Features ContentCapsVariants 1`] = `
|
|
|
271
286
|
<Text
|
|
272
287
|
style={
|
|
273
288
|
{
|
|
289
|
+
"color": "#101010",
|
|
274
290
|
"fontFamily": "GTStandardNarrowBold",
|
|
275
291
|
"fontSize": 14,
|
|
276
292
|
"letterSpacing": 0,
|
|
@@ -285,6 +301,7 @@ exports[`Bumper/Content/Typography/Features ContentCapsVariants 1`] = `
|
|
|
285
301
|
<Text
|
|
286
302
|
style={
|
|
287
303
|
{
|
|
304
|
+
"color": "#101010",
|
|
288
305
|
"fontFamily": "GTStandardNarrowBold",
|
|
289
306
|
"fontSize": 12,
|
|
290
307
|
"letterSpacing": 0,
|
|
@@ -396,6 +413,7 @@ exports[`Bumper/Content/Typography/Features ContextInheritance 1`] = `
|
|
|
396
413
|
<Text
|
|
397
414
|
style={
|
|
398
415
|
{
|
|
416
|
+
"color": "#101010",
|
|
399
417
|
"fontFamily": "GTStandardBold",
|
|
400
418
|
"fontSize": 16,
|
|
401
419
|
"letterSpacing": 0.3,
|
|
@@ -408,6 +426,7 @@ exports[`Bumper/Content/Typography/Features ContextInheritance 1`] = `
|
|
|
408
426
|
<Text
|
|
409
427
|
style={
|
|
410
428
|
{
|
|
429
|
+
"color": "#101010",
|
|
411
430
|
"fontFamily": "GTStandardBold",
|
|
412
431
|
"fontSize": 16,
|
|
413
432
|
"letterSpacing": 0.3,
|
|
@@ -446,7 +465,7 @@ exports[`Bumper/Content/Typography/Features ContextInheritance 1`] = `
|
|
|
446
465
|
style={
|
|
447
466
|
{
|
|
448
467
|
"color": "#357105",
|
|
449
|
-
"fontFamily": "
|
|
468
|
+
"fontFamily": "GTStandardRegular",
|
|
450
469
|
"fontSize": 16,
|
|
451
470
|
"letterSpacing": 0.3,
|
|
452
471
|
"lineHeight": 24,
|
|
@@ -459,7 +478,7 @@ exports[`Bumper/Content/Typography/Features ContextInheritance 1`] = `
|
|
|
459
478
|
style={
|
|
460
479
|
{
|
|
461
480
|
"color": "#357105",
|
|
462
|
-
"fontFamily": "
|
|
481
|
+
"fontFamily": "GTStandardRegular",
|
|
463
482
|
"fontSize": 16,
|
|
464
483
|
"letterSpacing": 0.3,
|
|
465
484
|
"lineHeight": 24,
|
|
@@ -527,6 +546,35 @@ exports[`Bumper/Content/Typography/Features ContextInheritance 1`] = `
|
|
|
527
546
|
</RNCSafeAreaProvider>
|
|
528
547
|
`;
|
|
529
548
|
|
|
549
|
+
exports[`Bumper/Content/Typography/Features DefaultValues 1`] = `
|
|
550
|
+
<RNCSafeAreaProvider
|
|
551
|
+
onInsetsChange={[Function]}
|
|
552
|
+
style={
|
|
553
|
+
[
|
|
554
|
+
{
|
|
555
|
+
"flex": 1,
|
|
556
|
+
},
|
|
557
|
+
undefined,
|
|
558
|
+
]
|
|
559
|
+
}
|
|
560
|
+
>
|
|
561
|
+
<Text
|
|
562
|
+
style={
|
|
563
|
+
{
|
|
564
|
+
"color": "#101010",
|
|
565
|
+
"fontFamily": "GTStandardRegular",
|
|
566
|
+
"fontSize": 16,
|
|
567
|
+
"letterSpacing": 0.3,
|
|
568
|
+
"lineHeight": 24,
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
suppressHighlighting={true}
|
|
572
|
+
>
|
|
573
|
+
Default values - body-m regular
|
|
574
|
+
</Text>
|
|
575
|
+
</RNCSafeAreaProvider>
|
|
576
|
+
`;
|
|
577
|
+
|
|
530
578
|
exports[`Bumper/Content/Typography/Features HeaderComponents 1`] = `
|
|
531
579
|
<RNCSafeAreaProvider
|
|
532
580
|
onInsetsChange={[Function]}
|
|
@@ -552,6 +600,7 @@ exports[`Bumper/Content/Typography/Features HeaderComponents 1`] = `
|
|
|
552
600
|
role="heading"
|
|
553
601
|
style={
|
|
554
602
|
{
|
|
603
|
+
"color": "#101010",
|
|
555
604
|
"fontFamily": "GTStandardSemibold",
|
|
556
605
|
"fontSize": 56,
|
|
557
606
|
"letterSpacing": 0,
|
|
@@ -567,6 +616,7 @@ exports[`Bumper/Content/Typography/Features HeaderComponents 1`] = `
|
|
|
567
616
|
role="heading"
|
|
568
617
|
style={
|
|
569
618
|
{
|
|
619
|
+
"color": "#101010",
|
|
570
620
|
"fontFamily": "GTStandardSemibold",
|
|
571
621
|
"fontSize": 48,
|
|
572
622
|
"letterSpacing": 0,
|
|
@@ -582,6 +632,7 @@ exports[`Bumper/Content/Typography/Features HeaderComponents 1`] = `
|
|
|
582
632
|
role="heading"
|
|
583
633
|
style={
|
|
584
634
|
{
|
|
635
|
+
"color": "#101010",
|
|
585
636
|
"fontFamily": "GTStandardSemibold",
|
|
586
637
|
"fontSize": 38,
|
|
587
638
|
"letterSpacing": 0,
|
|
@@ -597,6 +648,7 @@ exports[`Bumper/Content/Typography/Features HeaderComponents 1`] = `
|
|
|
597
648
|
role="heading"
|
|
598
649
|
style={
|
|
599
650
|
{
|
|
651
|
+
"color": "#101010",
|
|
600
652
|
"fontFamily": "GTStandardSemibold",
|
|
601
653
|
"fontSize": 28,
|
|
602
654
|
"letterSpacing": 0,
|
|
@@ -612,6 +664,7 @@ exports[`Bumper/Content/Typography/Features HeaderComponents 1`] = `
|
|
|
612
664
|
role="heading"
|
|
613
665
|
style={
|
|
614
666
|
{
|
|
667
|
+
"color": "#101010",
|
|
615
668
|
"fontFamily": "GTStandardSemibold",
|
|
616
669
|
"fontSize": 24,
|
|
617
670
|
"letterSpacing": 0,
|
|
@@ -627,6 +680,7 @@ exports[`Bumper/Content/Typography/Features HeaderComponents 1`] = `
|
|
|
627
680
|
role="heading"
|
|
628
681
|
style={
|
|
629
682
|
{
|
|
683
|
+
"color": "#101010",
|
|
630
684
|
"fontFamily": "GTStandardSemibold",
|
|
631
685
|
"fontSize": 20,
|
|
632
686
|
"letterSpacing": 0,
|
|
@@ -664,6 +718,7 @@ exports[`Bumper/Content/Typography/Features HeadingVariants 1`] = `
|
|
|
664
718
|
<Text
|
|
665
719
|
style={
|
|
666
720
|
{
|
|
721
|
+
"color": "#101010",
|
|
667
722
|
"fontFamily": "GTStandardSemibold",
|
|
668
723
|
"fontSize": 56,
|
|
669
724
|
"letterSpacing": 0,
|
|
@@ -677,6 +732,7 @@ exports[`Bumper/Content/Typography/Features HeadingVariants 1`] = `
|
|
|
677
732
|
<Text
|
|
678
733
|
style={
|
|
679
734
|
{
|
|
735
|
+
"color": "#101010",
|
|
680
736
|
"fontFamily": "GTStandardSemibold",
|
|
681
737
|
"fontSize": 48,
|
|
682
738
|
"letterSpacing": 0,
|
|
@@ -690,6 +746,7 @@ exports[`Bumper/Content/Typography/Features HeadingVariants 1`] = `
|
|
|
690
746
|
<Text
|
|
691
747
|
style={
|
|
692
748
|
{
|
|
749
|
+
"color": "#101010",
|
|
693
750
|
"fontFamily": "GTStandardSemibold",
|
|
694
751
|
"fontSize": 38,
|
|
695
752
|
"letterSpacing": 0,
|
|
@@ -703,6 +760,7 @@ exports[`Bumper/Content/Typography/Features HeadingVariants 1`] = `
|
|
|
703
760
|
<Text
|
|
704
761
|
style={
|
|
705
762
|
{
|
|
763
|
+
"color": "#101010",
|
|
706
764
|
"fontFamily": "GTStandardSemibold",
|
|
707
765
|
"fontSize": 28,
|
|
708
766
|
"letterSpacing": 0,
|
|
@@ -716,6 +774,7 @@ exports[`Bumper/Content/Typography/Features HeadingVariants 1`] = `
|
|
|
716
774
|
<Text
|
|
717
775
|
style={
|
|
718
776
|
{
|
|
777
|
+
"color": "#101010",
|
|
719
778
|
"fontFamily": "GTStandardSemibold",
|
|
720
779
|
"fontSize": 24,
|
|
721
780
|
"letterSpacing": 0,
|
|
@@ -729,6 +788,7 @@ exports[`Bumper/Content/Typography/Features HeadingVariants 1`] = `
|
|
|
729
788
|
<Text
|
|
730
789
|
style={
|
|
731
790
|
{
|
|
791
|
+
"color": "#101010",
|
|
732
792
|
"fontFamily": "GTStandardSemibold",
|
|
733
793
|
"fontSize": 20,
|
|
734
794
|
"letterSpacing": 0,
|
|
@@ -742,6 +802,7 @@ exports[`Bumper/Content/Typography/Features HeadingVariants 1`] = `
|
|
|
742
802
|
<Text
|
|
743
803
|
style={
|
|
744
804
|
{
|
|
805
|
+
"color": "#101010",
|
|
745
806
|
"fontFamily": "GTStandardSemibold",
|
|
746
807
|
"fontSize": 20,
|
|
747
808
|
"letterSpacing": 0,
|
|
@@ -779,6 +840,7 @@ exports[`Bumper/Content/Typography/Features LabelVariants 1`] = `
|
|
|
779
840
|
<Text
|
|
780
841
|
style={
|
|
781
842
|
{
|
|
843
|
+
"color": "#101010",
|
|
782
844
|
"fontFamily": "GTStandardSemibold",
|
|
783
845
|
"fontSize": 18,
|
|
784
846
|
"letterSpacing": 0,
|
|
@@ -792,6 +854,7 @@ exports[`Bumper/Content/Typography/Features LabelVariants 1`] = `
|
|
|
792
854
|
<Text
|
|
793
855
|
style={
|
|
794
856
|
{
|
|
857
|
+
"color": "#101010",
|
|
795
858
|
"fontFamily": "GTStandardSemibold",
|
|
796
859
|
"fontSize": 16,
|
|
797
860
|
"letterSpacing": 0,
|
|
@@ -805,6 +868,7 @@ exports[`Bumper/Content/Typography/Features LabelVariants 1`] = `
|
|
|
805
868
|
<Text
|
|
806
869
|
style={
|
|
807
870
|
{
|
|
871
|
+
"color": "#101010",
|
|
808
872
|
"fontFamily": "GTStandardSemibold",
|
|
809
873
|
"fontSize": 14,
|
|
810
874
|
"letterSpacing": 0,
|
|
@@ -818,6 +882,7 @@ exports[`Bumper/Content/Typography/Features LabelVariants 1`] = `
|
|
|
818
882
|
<Text
|
|
819
883
|
style={
|
|
820
884
|
{
|
|
885
|
+
"color": "#101010",
|
|
821
886
|
"fontFamily": "GTStandardSemibold",
|
|
822
887
|
"fontSize": 12,
|
|
823
888
|
"letterSpacing": 0,
|