@ornikar/bumper 2.8.1-canary.1768839311.501438316959a9593513e74c70cb87b0597f2db6.0 → 2.8.1-canary.1769087114.a46790da1b5b6361954b6ad25766074d3ed69784.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.
Files changed (123) hide show
  1. package/CHANGELOG.md +6 -6
  2. package/dist/definitions/index.d.ts +5 -1
  3. package/dist/definitions/index.d.ts.map +1 -1
  4. package/dist/definitions/shared/storybook/StoryTitle.d.ts +1 -1
  5. package/dist/definitions/shared/storybook/helpers/argsHelpers.d.ts +8 -0
  6. package/dist/definitions/shared/storybook/helpers/argsHelpers.d.ts.map +1 -0
  7. package/dist/definitions/system/content/icon/Icon.d.ts +4 -7
  8. package/dist/definitions/system/content/icon/Icon.d.ts.map +1 -1
  9. package/dist/definitions/system/content/typography/Typography.d.ts +11 -19
  10. package/dist/definitions/system/content/typography/Typography.d.ts.map +1 -1
  11. package/dist/definitions/system/content/typography/TypographyIcon.d.ts +9 -0
  12. package/dist/definitions/system/content/typography/TypographyIcon.d.ts.map +1 -0
  13. package/dist/definitions/system/content/typography/TypographyLink.d.ts +9 -0
  14. package/dist/definitions/system/content/typography/TypographyLink.d.ts.map +1 -0
  15. package/dist/definitions/system/content/typography/TypographyView.d.ts +18 -0
  16. package/dist/definitions/system/content/typography/TypographyView.d.ts.map +1 -0
  17. package/dist/definitions/system/content/typography/index.d.ts +21 -0
  18. package/dist/definitions/system/content/typography/index.d.ts.map +1 -0
  19. package/dist/definitions/system/content/typography/utils/getVariantAndWeightValues.d.ts +2 -1
  20. package/dist/definitions/system/content/typography/utils/getVariantAndWeightValues.d.ts.map +1 -1
  21. package/dist/definitions/system/content/typography/utils/typographyContext.d.ts +16 -0
  22. package/dist/definitions/system/content/typography/utils/typographyContext.d.ts.map +1 -0
  23. package/dist/definitions/system/core/primitives/Image/Image.d.ts +3 -0
  24. package/dist/definitions/system/core/primitives/Image/Image.d.ts.map +1 -0
  25. package/dist/definitions/system/core/themes/light/light.d.ts +3 -0
  26. package/dist/definitions/system/core/themes/light/light.d.ts.map +1 -0
  27. package/dist/definitions/system/core/themes/themes.d.ts +6 -0
  28. package/dist/definitions/system/core/themes/themes.d.ts.map +1 -0
  29. package/dist/definitions/tamagui.config.d.ts +1 -57
  30. package/dist/definitions/tamagui.config.d.ts.map +1 -1
  31. package/dist/index-metro.es.android.js +151 -12
  32. package/dist/index-metro.es.android.js.map +1 -1
  33. package/dist/index-metro.es.ios.js +151 -12
  34. package/dist/index-metro.es.ios.js.map +1 -1
  35. package/dist/index-node-22.22.cjs.js +154 -8
  36. package/dist/index-node-22.22.cjs.js.map +1 -1
  37. package/dist/index-node-22.22.cjs.web.js +154 -8
  38. package/dist/index-node-22.22.cjs.web.js.map +1 -1
  39. package/dist/index-node-22.22.es.mjs +155 -10
  40. package/dist/index-node-22.22.es.mjs.map +1 -1
  41. package/dist/index-node-22.22.es.web.mjs +155 -10
  42. package/dist/index-node-22.22.es.web.mjs.map +1 -1
  43. package/dist/index.es.js +149 -12
  44. package/dist/index.es.js.map +1 -1
  45. package/dist/index.es.web.js +149 -12
  46. package/dist/index.es.web.js.map +1 -1
  47. package/dist/tsbuildinfo +1 -1
  48. package/package.json +11 -10
  49. package/src/index.ts +5 -1
  50. package/src/shared/storybook/StoryTitle.tsx +1 -1
  51. package/src/shared/storybook/helpers/argsHelpers.ts +47 -0
  52. package/src/system/content/icon/Icon.features.stories.tsx +1 -1
  53. package/src/system/content/icon/Icon.stories.tsx +3 -22
  54. package/src/system/content/icon/Icon.tsx +4 -14
  55. package/src/system/content/icon/__snapshots_web__/Icon.features.stories.tsx.snap +2 -2
  56. package/src/system/content/icon/__snapshots_web__/Icon.stories.tsx.snap +1 -1
  57. package/src/system/content/typography/Typography.features.stories.tsx +1 -1
  58. package/src/system/content/typography/Typography.stories.tsx +3 -23
  59. package/src/system/content/typography/Typography.tsx +24 -27
  60. package/src/system/content/typography/TypographyIcon.features.stories.tsx +163 -0
  61. package/src/system/content/typography/TypographyIcon.stories.tsx +35 -0
  62. package/src/system/content/typography/TypographyIcon.tsx +33 -0
  63. package/src/system/content/typography/TypographyLink.features.stories.tsx +62 -0
  64. package/src/system/content/typography/TypographyLink.stories.tsx +72 -0
  65. package/src/system/content/typography/TypographyLink.tsx +38 -0
  66. package/src/system/content/typography/TypographyView.tsx +34 -0
  67. package/src/system/content/typography/__snapshots__/TypographyIcon.features.stories.tsx.snap +839 -0
  68. package/src/system/content/typography/__snapshots__/TypographyIcon.stories.tsx.snap +31 -0
  69. package/src/system/content/typography/__snapshots__/TypographyLink.features.stories.tsx.snap +229 -0
  70. package/src/system/content/typography/__snapshots__/TypographyLink.stories.tsx.snap +41 -0
  71. package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap +7 -7
  72. package/src/system/content/typography/__snapshots_web__/Typography.stories.tsx.snap +1 -1
  73. package/src/system/content/typography/__snapshots_web__/TypographyIcon.features.stories.tsx.snap +543 -0
  74. package/src/system/content/typography/__snapshots_web__/TypographyIcon.stories.tsx.snap +37 -0
  75. package/src/system/content/typography/__snapshots_web__/TypographyLink.features.stories.tsx.snap +196 -0
  76. package/src/system/content/typography/__snapshots_web__/TypographyLink.stories.tsx.snap +33 -0
  77. package/src/system/content/typography/index.ts +15 -0
  78. package/src/system/content/typography/utils/getVariantAndWeightValues.tsx +2 -6
  79. package/src/system/content/typography/utils/typographyContext.ts +29 -0
  80. package/src/system/core/primitives/Center.features.stories.tsx +1 -1
  81. package/src/system/core/primitives/Center.stories.tsx +6 -89
  82. package/src/system/core/primitives/Image/Image.stories.tsx +34 -0
  83. package/src/system/core/primitives/Image/Image.ts +2 -0
  84. package/src/system/core/primitives/Image/__snapshots__/Image.stories.tsx.snap +30 -0
  85. package/src/system/core/primitives/Image/__snapshots_web__/Image.stories.tsx.snap +40 -0
  86. package/src/system/core/primitives/Pressable.features.stories.tsx +1 -1
  87. package/src/system/core/primitives/Pressable.stories.tsx +4 -53
  88. package/src/system/core/primitives/ScrollView/ScrollView.features.stories.tsx +1 -1
  89. package/src/system/core/primitives/ScrollView/ScrollView.stories.tsx +3 -6
  90. package/src/system/core/primitives/ScrollView/__snapshots_web__/ScrollView.features.stories.tsx.snap +11 -11
  91. package/src/system/core/primitives/ScrollView/__snapshots_web__/ScrollView.stories.tsx.snap +3 -3
  92. package/src/system/core/primitives/Stack.features.stories.tsx +1 -1
  93. package/src/system/core/primitives/Stack.stories.tsx +4 -39
  94. package/src/system/core/primitives/View.features.stories.tsx +1 -1
  95. package/src/system/core/primitives/View.stories.tsx +6 -107
  96. package/src/system/core/primitives/__snapshots_web__/Center.features.stories.tsx.snap +2 -2
  97. package/src/system/core/primitives/__snapshots_web__/Center.stories.tsx.snap +1 -1
  98. package/src/system/core/primitives/__snapshots_web__/Pressable.features.stories.tsx.snap +3 -3
  99. package/src/system/core/primitives/__snapshots_web__/Pressable.stories.tsx.snap +1 -1
  100. package/src/system/core/primitives/__snapshots_web__/Stack.features.stories.tsx.snap +6 -6
  101. package/src/system/core/primitives/__snapshots_web__/Stack.stories.tsx.snap +1 -1
  102. package/src/system/core/primitives/__snapshots_web__/View.features.stories.tsx.snap +11 -11
  103. package/src/system/core/primitives/__snapshots_web__/View.stories.tsx.snap +1 -1
  104. package/src/system/core/themes/{__snapshots_web__ → light/__snapshots_web__}/light.stories.tsx.snap +1 -1
  105. package/src/system/core/themes/{light.stories.tsx → light/light.stories.tsx} +5 -5
  106. package/src/system/core/themes/{light.ts → light/light.ts} +3 -2
  107. package/src/system/core/themes/themes.ts +69 -0
  108. package/src/system/core/tokens/__snapshots_web__/breakpoints.stories.tsx.snap +1 -1
  109. package/src/system/core/tokens/__snapshots_web__/fonts.stories.tsx.snap +1 -1
  110. package/src/system/core/tokens/__snapshots_web__/radius.stories.tsx.snap +1 -1
  111. package/src/system/core/tokens/__snapshots_web__/size.stories.tsx.snap +1 -1
  112. package/src/system/core/tokens/__snapshots_web__/space.stories.tsx.snap +1 -1
  113. package/src/system/core/tokens/breakpoints.stories.tsx +1 -1
  114. package/src/system/core/tokens/fonts.stories.tsx +1 -1
  115. package/src/system/core/tokens/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +1 -1
  116. package/src/system/core/tokens/palettes/deepPurpleColorPalette.stories.tsx +1 -1
  117. package/src/system/core/tokens/radius.stories.tsx +1 -1
  118. package/src/system/core/tokens/size.stories.tsx +1 -1
  119. package/src/system/core/tokens/space.stories.tsx +1 -1
  120. package/src/tamagui.config.ts +1 -1
  121. package/dist/definitions/system/core/themes/light.d.ts +0 -58
  122. package/dist/definitions/system/core/themes/light.d.ts.map +0 -1
  123. /package/src/system/core/themes/{__snapshots__ → light/__snapshots__}/light.stories.tsx.snap +0 -0
@@ -0,0 +1,31 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`Bumper/Content/TypographyIcon Default 1`] = `
4
+ <RNCSafeAreaProvider
5
+ onInsetsChange={[Function]}
6
+ style={
7
+ [
8
+ {
9
+ "flex": 1,
10
+ },
11
+ undefined,
12
+ ]
13
+ }
14
+ >
15
+ <View>
16
+ <View
17
+ style={
18
+ {
19
+ "height": 20,
20
+ "width": 20,
21
+ }
22
+ }
23
+ >
24
+ <svg
25
+ color="#101010"
26
+ data-file-name="star.inline.svg"
27
+ />
28
+ </View>
29
+ </View>
30
+ </RNCSafeAreaProvider>
31
+ `;
@@ -0,0 +1,229 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`Bumper/Content/TypographyLink/Features DisabledFalse 1`] = `
4
+ <RNCSafeAreaProvider
5
+ onInsetsChange={[Function]}
6
+ style={
7
+ [
8
+ {
9
+ "flex": 1,
10
+ },
11
+ undefined,
12
+ ]
13
+ }
14
+ >
15
+ <Text
16
+ onBlur={[Function]}
17
+ onClick={[Function]}
18
+ onFocus={[Function]}
19
+ onResponderGrant={[Function]}
20
+ onResponderMove={[Function]}
21
+ onResponderRelease={[Function]}
22
+ onResponderTerminate={[Function]}
23
+ onResponderTerminationRequest={[Function]}
24
+ onStartShouldSetResponder={[Function]}
25
+ role="link"
26
+ style={
27
+ {
28
+ "fontFamily": "GTStandard",
29
+ "textDecorationLine": "underline",
30
+ }
31
+ }
32
+ suppressHighlighting={true}
33
+ >
34
+ Enabled link (clickable with pointer cursor)
35
+ </Text>
36
+ </RNCSafeAreaProvider>
37
+ `;
38
+
39
+ exports[`Bumper/Content/TypographyLink/Features DisabledTrue 1`] = `
40
+ <RNCSafeAreaProvider
41
+ onInsetsChange={[Function]}
42
+ style={
43
+ [
44
+ {
45
+ "flex": 1,
46
+ },
47
+ undefined,
48
+ ]
49
+ }
50
+ >
51
+ <Text
52
+ role="link"
53
+ style={
54
+ {
55
+ "color": "#A8A8A8",
56
+ "fontFamily": "GTStandard",
57
+ "textDecorationLine": "underline",
58
+ }
59
+ }
60
+ suppressHighlighting={true}
61
+ >
62
+ Disabled link (not-allowed cursor, onPress removed)
63
+ </Text>
64
+ </RNCSafeAreaProvider>
65
+ `;
66
+
67
+ exports[`Bumper/Content/TypographyLink/Features NoUnderlineFalse 1`] = `
68
+ <RNCSafeAreaProvider
69
+ onInsetsChange={[Function]}
70
+ style={
71
+ [
72
+ {
73
+ "flex": 1,
74
+ },
75
+ undefined,
76
+ ]
77
+ }
78
+ >
79
+ <Text
80
+ onBlur={[Function]}
81
+ onClick={[Function]}
82
+ onFocus={[Function]}
83
+ onResponderGrant={[Function]}
84
+ onResponderMove={[Function]}
85
+ onResponderRelease={[Function]}
86
+ onResponderTerminate={[Function]}
87
+ onResponderTerminationRequest={[Function]}
88
+ onStartShouldSetResponder={[Function]}
89
+ role="link"
90
+ style={
91
+ {
92
+ "fontFamily": "GTStandard",
93
+ "textDecorationLine": "underline",
94
+ }
95
+ }
96
+ suppressHighlighting={true}
97
+ >
98
+ Link with underline (default)
99
+ </Text>
100
+ </RNCSafeAreaProvider>
101
+ `;
102
+
103
+ exports[`Bumper/Content/TypographyLink/Features NoUnderlineTrue 1`] = `
104
+ <RNCSafeAreaProvider
105
+ onInsetsChange={[Function]}
106
+ style={
107
+ [
108
+ {
109
+ "flex": 1,
110
+ },
111
+ undefined,
112
+ ]
113
+ }
114
+ >
115
+ <Text
116
+ onBlur={[Function]}
117
+ onClick={[Function]}
118
+ onFocus={[Function]}
119
+ onResponderGrant={[Function]}
120
+ onResponderMove={[Function]}
121
+ onResponderRelease={[Function]}
122
+ onResponderTerminate={[Function]}
123
+ onResponderTerminationRequest={[Function]}
124
+ onStartShouldSetResponder={[Function]}
125
+ role="link"
126
+ style={
127
+ {
128
+ "fontFamily": "GTStandard",
129
+ "textDecorationLine": "none",
130
+ }
131
+ }
132
+ suppressHighlighting={true}
133
+ >
134
+ Link without underline
135
+ </Text>
136
+ </RNCSafeAreaProvider>
137
+ `;
138
+
139
+ exports[`Bumper/Content/TypographyLink/Features StateHover 1`] = `
140
+ <RNCSafeAreaProvider
141
+ onInsetsChange={[Function]}
142
+ style={
143
+ [
144
+ {
145
+ "flex": 1,
146
+ },
147
+ undefined,
148
+ ]
149
+ }
150
+ >
151
+ <View
152
+ style={
153
+ {
154
+ "flexDirection": "column",
155
+ "gap": 16,
156
+ }
157
+ }
158
+ >
159
+ <Text
160
+ onBlur={[Function]}
161
+ onClick={[Function]}
162
+ onFocus={[Function]}
163
+ onResponderGrant={[Function]}
164
+ onResponderMove={[Function]}
165
+ onResponderRelease={[Function]}
166
+ onResponderTerminate={[Function]}
167
+ onResponderTerminationRequest={[Function]}
168
+ onStartShouldSetResponder={[Function]}
169
+ role="link"
170
+ style={
171
+ {
172
+ "fontFamily": "GTStandard",
173
+ "textDecorationLine": "none",
174
+ }
175
+ }
176
+ suppressHighlighting={true}
177
+ >
178
+ Forced hover state - underline removed (hoverStyle applied)
179
+ </Text>
180
+ <Text
181
+ onBlur={[Function]}
182
+ onClick={[Function]}
183
+ onFocus={[Function]}
184
+ onResponderGrant={[Function]}
185
+ onResponderMove={[Function]}
186
+ onResponderRelease={[Function]}
187
+ onResponderTerminate={[Function]}
188
+ onResponderTerminationRequest={[Function]}
189
+ onStartShouldSetResponder={[Function]}
190
+ role="link"
191
+ style={
192
+ {
193
+ "fontFamily": "GTStandard",
194
+ "textDecorationLine": "none",
195
+ }
196
+ }
197
+ suppressHighlighting={true}
198
+ >
199
+ Forced hover state with noUnderline - no visual change
200
+ </Text>
201
+ <Text
202
+ role="link"
203
+ style={
204
+ {
205
+ "color": "#A8A8A8",
206
+ "fontFamily": "GTStandard",
207
+ "textDecorationLine": "underline",
208
+ }
209
+ }
210
+ suppressHighlighting={true}
211
+ >
212
+ Forced hover state on disabled - underline removed (hoverStyle applied)
213
+ </Text>
214
+ <Text
215
+ role="link"
216
+ style={
217
+ {
218
+ "color": "#A8A8A8",
219
+ "fontFamily": "GTStandard",
220
+ "textDecorationLine": "none",
221
+ }
222
+ }
223
+ suppressHighlighting={true}
224
+ >
225
+ Forced hover state with noUnderline on disabled - no visual change
226
+ </Text>
227
+ </View>
228
+ </RNCSafeAreaProvider>
229
+ `;
@@ -0,0 +1,41 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`Bumper/Content/TypographyLink Default 1`] = `
4
+ <RNCSafeAreaProvider
5
+ onInsetsChange={[Function]}
6
+ style={
7
+ [
8
+ {
9
+ "flex": 1,
10
+ },
11
+ undefined,
12
+ ]
13
+ }
14
+ >
15
+ <Text
16
+ onBlur={[Function]}
17
+ onClick={[Function]}
18
+ onFocus={[Function]}
19
+ onResponderGrant={[Function]}
20
+ onResponderMove={[Function]}
21
+ onResponderRelease={[Function]}
22
+ onResponderTerminate={[Function]}
23
+ onResponderTerminationRequest={[Function]}
24
+ onStartShouldSetResponder={[Function]}
25
+ role="link"
26
+ style={
27
+ {
28
+ "color": "#563B56",
29
+ "fontFamily": "GTStandardRegular",
30
+ "fontSize": 16,
31
+ "letterSpacing": 0.3,
32
+ "lineHeight": 24,
33
+ "textDecorationLine": "underline",
34
+ }
35
+ }
36
+ suppressHighlighting={true}
37
+ >
38
+ This is a link
39
+ </Text>
40
+ </RNCSafeAreaProvider>
41
+ `;
@@ -3,7 +3,7 @@
3
3
  exports[`Bumper/Content/Typography/Features BodyVariants 1`] = `
4
4
  <DocumentFragment>
5
5
  <div
6
- class="css-view-g5y9jx r-flex-13awgt0"
6
+ class="css-view-175oi2r r-flex-13awgt0"
7
7
  >
8
8
  <span
9
9
  class=""
@@ -61,7 +61,7 @@ exports[`Bumper/Content/Typography/Features BodyVariants 1`] = `
61
61
  exports[`Bumper/Content/Typography/Features BodyVariantsBold 1`] = `
62
62
  <DocumentFragment>
63
63
  <div
64
- class="css-view-g5y9jx r-flex-13awgt0"
64
+ class="css-view-175oi2r r-flex-13awgt0"
65
65
  >
66
66
  <span
67
67
  class=""
@@ -119,7 +119,7 @@ exports[`Bumper/Content/Typography/Features BodyVariantsBold 1`] = `
119
119
  exports[`Bumper/Content/Typography/Features ContentCapsVariants 1`] = `
120
120
  <DocumentFragment>
121
121
  <div
122
- class="css-view-g5y9jx r-flex-13awgt0"
122
+ class="css-view-175oi2r r-flex-13awgt0"
123
123
  >
124
124
  <span
125
125
  class=""
@@ -189,7 +189,7 @@ exports[`Bumper/Content/Typography/Features ContentCapsVariants 1`] = `
189
189
  exports[`Bumper/Content/Typography/Features ContextInheritance 1`] = `
190
190
  <DocumentFragment>
191
191
  <div
192
- class="css-view-g5y9jx r-flex-13awgt0"
192
+ class="css-view-175oi2r r-flex-13awgt0"
193
193
  >
194
194
  <span
195
195
  class=""
@@ -305,7 +305,7 @@ exports[`Bumper/Content/Typography/Features ContextInheritance 1`] = `
305
305
  exports[`Bumper/Content/Typography/Features HeaderComponents 1`] = `
306
306
  <DocumentFragment>
307
307
  <div
308
- class="css-view-g5y9jx r-flex-13awgt0"
308
+ class="css-view-175oi2r r-flex-13awgt0"
309
309
  >
310
310
  <span
311
311
  class=""
@@ -381,7 +381,7 @@ exports[`Bumper/Content/Typography/Features HeaderComponents 1`] = `
381
381
  exports[`Bumper/Content/Typography/Features HeadingVariants 1`] = `
382
382
  <DocumentFragment>
383
383
  <div
384
- class="css-view-g5y9jx r-flex-13awgt0"
384
+ class="css-view-175oi2r r-flex-13awgt0"
385
385
  >
386
386
  <span
387
387
  class=""
@@ -451,7 +451,7 @@ exports[`Bumper/Content/Typography/Features HeadingVariants 1`] = `
451
451
  exports[`Bumper/Content/Typography/Features LabelVariants 1`] = `
452
452
  <DocumentFragment>
453
453
  <div
454
- class="css-view-g5y9jx r-flex-13awgt0"
454
+ class="css-view-175oi2r r-flex-13awgt0"
455
455
  >
456
456
  <span
457
457
  class=""
@@ -3,7 +3,7 @@
3
3
  exports[`Bumper/Content/Typography Default 1`] = `
4
4
  <DocumentFragment>
5
5
  <div
6
- class="css-view-g5y9jx r-flex-13awgt0"
6
+ class="css-view-175oi2r r-flex-13awgt0"
7
7
  >
8
8
  <span
9
9
  class=""