@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.
Files changed (51) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/definitions/shared/storybook/StoryTitle.d.ts +1 -1
  3. package/dist/definitions/system/content/typography/Typography.d.ts +2 -2
  4. package/dist/definitions/system/content/typography/TypographyLink.d.ts +1 -1
  5. package/dist/definitions/system/content/typography/index.d.ts +2 -2
  6. package/dist/definitions/system/core/tokens/GTStandardFont.d.ts +1 -1
  7. package/dist/definitions/system/core/tokens/GTStandardFont.d.ts.map +1 -1
  8. package/dist/definitions/system/core/tokens/fonts.d.ts +1 -1
  9. package/dist/definitions/system/core/tokens/fonts.d.ts.map +1 -1
  10. package/dist/index-metro.es.android.js +2 -5
  11. package/dist/index-metro.es.android.js.map +1 -1
  12. package/dist/index-metro.es.ios.js +2 -5
  13. package/dist/index-metro.es.ios.js.map +1 -1
  14. package/dist/index-node-22.22.cjs.js +2 -5
  15. package/dist/index-node-22.22.cjs.js.map +1 -1
  16. package/dist/index-node-22.22.cjs.web.js +2 -5
  17. package/dist/index-node-22.22.cjs.web.js.map +1 -1
  18. package/dist/index-node-22.22.es.mjs +2 -5
  19. package/dist/index-node-22.22.es.mjs.map +1 -1
  20. package/dist/index-node-22.22.es.web.mjs +2 -5
  21. package/dist/index-node-22.22.es.web.mjs.map +1 -1
  22. package/dist/index.es.js +2 -5
  23. package/dist/index.es.js.map +1 -1
  24. package/dist/index.es.web.js +2 -5
  25. package/dist/index.es.web.js.map +1 -1
  26. package/dist/storybook-metro.es.android.js +1 -4
  27. package/dist/storybook-metro.es.android.js.map +1 -1
  28. package/dist/storybook-metro.es.ios.js +1 -4
  29. package/dist/storybook-metro.es.ios.js.map +1 -1
  30. package/dist/storybook-node-22.22.cjs.js +1 -4
  31. package/dist/storybook-node-22.22.cjs.js.map +1 -1
  32. package/dist/storybook-node-22.22.cjs.web.js +1 -4
  33. package/dist/storybook-node-22.22.cjs.web.js.map +1 -1
  34. package/dist/storybook-node-22.22.es.mjs +1 -4
  35. package/dist/storybook-node-22.22.es.mjs.map +1 -1
  36. package/dist/storybook-node-22.22.es.web.mjs +1 -4
  37. package/dist/storybook-node-22.22.es.web.mjs.map +1 -1
  38. package/dist/storybook.es.js +1 -4
  39. package/dist/storybook.es.js.map +1 -1
  40. package/dist/storybook.es.web.js +1 -4
  41. package/dist/storybook.es.web.js.map +1 -1
  42. package/dist/tsbuildinfo +1 -1
  43. package/package.json +1 -1
  44. package/src/system/content/typography/Typography.features.stories.tsx +0 -1
  45. package/src/system/content/typography/Typography.stories.tsx +0 -1
  46. package/src/system/content/typography/TypographyLink.stories.tsx +0 -1
  47. package/src/system/content/typography/__snapshots__/Typography.features.stories.tsx.snap +1 -15
  48. package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap +0 -6
  49. package/src/system/core/tokens/GTStandardFont.ts +2 -5
  50. package/src/system/core/tokens/__snapshots__/fonts.stories.tsx.snap +2 -73
  51. package/src/system/core/tokens/__snapshots_web__/fonts.stories.tsx.snap +1 -31
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/bumper",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "directory": "@ornikar/bumper",
@@ -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>
@@ -23,7 +23,6 @@ const meta: Meta<Extract<TypographyTextProps, BodyProps>> = {
23
23
  'body-m',
24
24
  'body-s',
25
25
  'body-xs',
26
- 'label-xl',
27
26
  'label-l',
28
27
  'label-m',
29
28
  'label-s',
@@ -22,7 +22,6 @@ const meta: Meta<typeof TypographyLink> = {
22
22
  'body-m',
23
23
  'body-s',
24
24
  'body-xs',
25
- 'label-xl',
26
25
  'label-l',
27
26
  'label-m',
28
27
  'label-s',
@@ -804,7 +804,7 @@ exports[`Bumper/Content/Typography/Features HeadingVariants 1`] = `
804
804
  {
805
805
  "color": "#101010",
806
806
  "fontFamily": "GTStandardSemibold",
807
- "fontSize": 20,
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
  {
@@ -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-xl', 'label-l', 'label-m', 'label-s'] as const;
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': 20,
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
- 20
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": 20,
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
- 20px / 20px
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
  >