@ornikar/bumper 3.0.2 → 3.0.3
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/shared/storybook/StoryTitle.d.ts +1 -1
- package/dist/definitions/system/content/typography/Typography.d.ts +2 -2
- package/dist/definitions/system/content/typography/TypographyLink.d.ts +1 -1
- package/dist/definitions/system/content/typography/index.d.ts +2 -2
- package/dist/definitions/system/core/tokens/GTStandardFont.d.ts +1 -1
- package/dist/definitions/system/core/tokens/GTStandardFont.d.ts.map +1 -1
- package/dist/definitions/system/core/tokens/fonts.d.ts +1 -1
- package/dist/definitions/system/core/tokens/fonts.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +2 -5
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +2 -5
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.22.cjs.js +2 -5
- package/dist/index-node-22.22.cjs.js.map +1 -1
- package/dist/index-node-22.22.cjs.web.js +2 -5
- package/dist/index-node-22.22.cjs.web.js.map +1 -1
- package/dist/index-node-22.22.es.mjs +2 -5
- package/dist/index-node-22.22.es.mjs.map +1 -1
- package/dist/index-node-22.22.es.web.mjs +2 -5
- package/dist/index-node-22.22.es.web.mjs.map +1 -1
- package/dist/index.es.js +2 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +2 -5
- package/dist/index.es.web.js.map +1 -1
- package/dist/storybook-metro.es.android.js +1 -4
- package/dist/storybook-metro.es.android.js.map +1 -1
- package/dist/storybook-metro.es.ios.js +1 -4
- package/dist/storybook-metro.es.ios.js.map +1 -1
- package/dist/storybook-node-22.22.cjs.js +1 -4
- package/dist/storybook-node-22.22.cjs.js.map +1 -1
- package/dist/storybook-node-22.22.cjs.web.js +1 -4
- package/dist/storybook-node-22.22.cjs.web.js.map +1 -1
- package/dist/storybook-node-22.22.es.mjs +1 -4
- package/dist/storybook-node-22.22.es.mjs.map +1 -1
- package/dist/storybook-node-22.22.es.web.mjs +1 -4
- package/dist/storybook-node-22.22.es.web.mjs.map +1 -1
- package/dist/storybook.es.js +1 -4
- package/dist/storybook.es.js.map +1 -1
- package/dist/storybook.es.web.js +1 -4
- package/dist/storybook.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/system/content/typography/Typography.features.stories.tsx +0 -1
- package/src/system/content/typography/Typography.stories.tsx +0 -1
- package/src/system/content/typography/TypographyLink.stories.tsx +0 -1
- package/src/system/content/typography/__snapshots__/Typography.features.stories.tsx.snap +1 -15
- package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap +0 -6
- package/src/system/core/tokens/GTStandardFont.ts +2 -5
- package/src/system/core/tokens/__snapshots__/fonts.stories.tsx.snap +2 -73
- package/src/system/core/tokens/__snapshots_web__/fonts.stories.tsx.snap +1 -31
package/package.json
CHANGED
|
@@ -76,7 +76,6 @@ export const BodyVariantsBold: Story = {
|
|
|
76
76
|
export const LabelVariants: Story = {
|
|
77
77
|
render: () => (
|
|
78
78
|
<VStack gap="$space.16">
|
|
79
|
-
<Typography.Text variant="label-xl">Label XL - Semibold</Typography.Text>
|
|
80
79
|
<Typography.Text variant="label-l">Label L - Semibold</Typography.Text>
|
|
81
80
|
<Typography.Text variant="label-m">Label M - Semibold</Typography.Text>
|
|
82
81
|
<Typography.Text variant="label-s">Label S - Semibold</Typography.Text>
|
|
@@ -804,7 +804,7 @@ exports[`Bumper/Content/Typography/Features HeadingVariants 1`] = `
|
|
|
804
804
|
{
|
|
805
805
|
"color": "#101010",
|
|
806
806
|
"fontFamily": "GTStandardSemibold",
|
|
807
|
-
"fontSize":
|
|
807
|
+
"fontSize": 16,
|
|
808
808
|
"letterSpacing": 0,
|
|
809
809
|
"lineHeight": 20,
|
|
810
810
|
}
|
|
@@ -837,20 +837,6 @@ exports[`Bumper/Content/Typography/Features LabelVariants 1`] = `
|
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
839
|
>
|
|
840
|
-
<Text
|
|
841
|
-
style={
|
|
842
|
-
{
|
|
843
|
-
"color": "#101010",
|
|
844
|
-
"fontFamily": "GTStandardSemibold",
|
|
845
|
-
"fontSize": 18,
|
|
846
|
-
"letterSpacing": 0,
|
|
847
|
-
"lineHeight": 26,
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
suppressHighlighting={true}
|
|
851
|
-
>
|
|
852
|
-
Label XL - Semibold
|
|
853
|
-
</Text>
|
|
854
840
|
<Text
|
|
855
841
|
style={
|
|
856
842
|
{
|
package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap
CHANGED
|
@@ -498,12 +498,6 @@ exports[`Bumper/Content/Typography/Features LabelVariants 1`] = `
|
|
|
498
498
|
<div
|
|
499
499
|
class="is_VStack _dsp-flex _alignItems-stretch _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _fd-column _gap-t-space-spa1366020313"
|
|
500
500
|
>
|
|
501
|
-
<span
|
|
502
|
-
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 _col-content--ba907952141 _fs-f-size-labe3264501 _lh-f-lineHeigh1283860902 _ls-f-letterSpa1134072283 _fw-f-weight-se1074390495"
|
|
503
|
-
data-disable-theme="true"
|
|
504
|
-
>
|
|
505
|
-
Label XL - Semibold
|
|
506
|
-
</span>
|
|
507
501
|
<span
|
|
508
502
|
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 _col-content--ba907952141 _fs-f-size-labe105291 _lh-f-lineHeigh1842530170 _ls-f-letterSpa379059035 _fw-f-weight-se1074390495"
|
|
509
503
|
data-disable-theme="true"
|
|
@@ -8,7 +8,7 @@ export const HEADING_VARIANTS = [
|
|
|
8
8
|
'heading-2xs',
|
|
9
9
|
] as const;
|
|
10
10
|
export const BODY_VARIANTS = ['body-xl', 'body-l', 'body-m', 'body-s', 'body-xs'] as const;
|
|
11
|
-
export const LABEL_VARIANTS = ['label-
|
|
11
|
+
export const LABEL_VARIANTS = ['label-l', 'label-m', 'label-s'] as const;
|
|
12
12
|
|
|
13
13
|
export type GTStandardVariants =
|
|
14
14
|
| (typeof HEADING_VARIANTS)[number]
|
|
@@ -33,13 +33,12 @@ export const GTStandardSizes: Record<GTStandardVariants, number> = {
|
|
|
33
33
|
'heading-m': 28,
|
|
34
34
|
'heading-s': 24,
|
|
35
35
|
'heading-xs': 20,
|
|
36
|
-
'heading-2xs':
|
|
36
|
+
'heading-2xs': 16,
|
|
37
37
|
'body-xl': 24,
|
|
38
38
|
'body-l': 18,
|
|
39
39
|
'body-m': 16,
|
|
40
40
|
'body-s': 14,
|
|
41
41
|
'body-xs': 12,
|
|
42
|
-
'label-xl': 18,
|
|
43
42
|
'label-l': 16,
|
|
44
43
|
'label-m': 14,
|
|
45
44
|
'label-s': 12,
|
|
@@ -58,7 +57,6 @@ export const GTStandardLineHeights: Record<GTStandardVariants, number> = {
|
|
|
58
57
|
'body-m': 24,
|
|
59
58
|
'body-s': 20,
|
|
60
59
|
'body-xs': 16,
|
|
61
|
-
'label-xl': 26,
|
|
62
60
|
'label-l': 20,
|
|
63
61
|
'label-m': 18,
|
|
64
62
|
'label-s': 14,
|
|
@@ -77,7 +75,6 @@ export const GTStandardLetterSpacings: Record<GTStandardVariants, number> = {
|
|
|
77
75
|
'body-m': 0.3,
|
|
78
76
|
'body-s': 0.3,
|
|
79
77
|
'body-xs': 0.3,
|
|
80
|
-
'label-xl': 0,
|
|
81
78
|
'label-l': 0,
|
|
82
79
|
'label-m': 0,
|
|
83
80
|
'label-s': 0,
|
|
@@ -518,7 +518,7 @@ exports[`Bumper/Core/Tokens Fonts 1`] = `
|
|
|
518
518
|
}
|
|
519
519
|
suppressHighlighting={true}
|
|
520
520
|
>
|
|
521
|
-
|
|
521
|
+
16
|
|
522
522
|
px /
|
|
523
523
|
20
|
|
524
524
|
px
|
|
@@ -529,7 +529,7 @@ exports[`Bumper/Core/Tokens Fonts 1`] = `
|
|
|
529
529
|
{
|
|
530
530
|
"color": "#101010",
|
|
531
531
|
"fontFamily": "GTStandardSemibold",
|
|
532
|
-
"fontSize":
|
|
532
|
+
"fontSize": 16,
|
|
533
533
|
"letterSpacing": 0,
|
|
534
534
|
"lineHeight": 20,
|
|
535
535
|
}
|
|
@@ -894,77 +894,6 @@ exports[`Bumper/Core/Tokens Fonts 1`] = `
|
|
|
894
894
|
The quick brown fox
|
|
895
895
|
</Text>
|
|
896
896
|
</View>
|
|
897
|
-
<View
|
|
898
|
-
style={
|
|
899
|
-
{
|
|
900
|
-
"alignItems": "center",
|
|
901
|
-
"flexDirection": "row",
|
|
902
|
-
"gap": 16,
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
>
|
|
906
|
-
<View
|
|
907
|
-
style={
|
|
908
|
-
{
|
|
909
|
-
"width": 180,
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
>
|
|
913
|
-
<Text
|
|
914
|
-
style={
|
|
915
|
-
{
|
|
916
|
-
"color": "#101010",
|
|
917
|
-
"fontFamily": "GTStandardBold",
|
|
918
|
-
"fontSize": 14,
|
|
919
|
-
"letterSpacing": 0.3,
|
|
920
|
-
"lineHeight": 20,
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
suppressHighlighting={true}
|
|
924
|
-
>
|
|
925
|
-
label-xl
|
|
926
|
-
</Text>
|
|
927
|
-
</View>
|
|
928
|
-
<View
|
|
929
|
-
style={
|
|
930
|
-
{
|
|
931
|
-
"width": 80,
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
>
|
|
935
|
-
<Text
|
|
936
|
-
style={
|
|
937
|
-
{
|
|
938
|
-
"color": "#505050",
|
|
939
|
-
"fontFamily": "GTStandardRegular",
|
|
940
|
-
"fontSize": 12,
|
|
941
|
-
"letterSpacing": 0.3,
|
|
942
|
-
"lineHeight": 16,
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
suppressHighlighting={true}
|
|
946
|
-
>
|
|
947
|
-
18
|
|
948
|
-
px /
|
|
949
|
-
26
|
|
950
|
-
px
|
|
951
|
-
</Text>
|
|
952
|
-
</View>
|
|
953
|
-
<Text
|
|
954
|
-
style={
|
|
955
|
-
{
|
|
956
|
-
"color": "#101010",
|
|
957
|
-
"fontFamily": "GTStandardSemibold",
|
|
958
|
-
"fontSize": 18,
|
|
959
|
-
"letterSpacing": 0,
|
|
960
|
-
"lineHeight": 26,
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
suppressHighlighting={true}
|
|
964
|
-
>
|
|
965
|
-
The quick brown fox
|
|
966
|
-
</Text>
|
|
967
|
-
</View>
|
|
968
897
|
<View
|
|
969
898
|
style={
|
|
970
899
|
{
|
|
@@ -229,7 +229,7 @@ exports[`Bumper/Core/Tokens Fonts 1`] = `
|
|
|
229
229
|
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"
|
|
230
230
|
data-disable-theme="true"
|
|
231
231
|
>
|
|
232
|
-
|
|
232
|
+
16px / 20px
|
|
233
233
|
</span>
|
|
234
234
|
</div>
|
|
235
235
|
<span
|
|
@@ -389,36 +389,6 @@ exports[`Bumper/Core/Tokens Fonts 1`] = `
|
|
|
389
389
|
The quick brown fox
|
|
390
390
|
</span>
|
|
391
391
|
</div>
|
|
392
|
-
<div
|
|
393
|
-
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"
|
|
394
|
-
>
|
|
395
|
-
<div
|
|
396
|
-
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-180px"
|
|
397
|
-
>
|
|
398
|
-
<span
|
|
399
|
-
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 _col-content--ba907952141 _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-bo3448"
|
|
400
|
-
data-disable-theme="true"
|
|
401
|
-
>
|
|
402
|
-
label-xl
|
|
403
|
-
</span>
|
|
404
|
-
</div>
|
|
405
|
-
<div
|
|
406
|
-
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-80px"
|
|
407
|
-
>
|
|
408
|
-
<span
|
|
409
|
-
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"
|
|
410
|
-
data-disable-theme="true"
|
|
411
|
-
>
|
|
412
|
-
18px / 26px
|
|
413
|
-
</span>
|
|
414
|
-
</div>
|
|
415
|
-
<span
|
|
416
|
-
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 _col-content--ba907952141 _fs-f-size-labe3264501 _lh-f-lineHeigh1283860902 _ls-f-letterSpa1134072283 _fw-f-weight-se1074390495"
|
|
417
|
-
data-disable-theme="true"
|
|
418
|
-
>
|
|
419
|
-
The quick brown fox
|
|
420
|
-
</span>
|
|
421
|
-
</div>
|
|
422
392
|
<div
|
|
423
393
|
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"
|
|
424
394
|
>
|