@ornikar/bumper 2.4.2-canary.9a20239c7f70ea30ccc58f4e866b2322585529c6.0 → 2.5.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 +4 -2
- package/dist/definitions/components/primitives/Center.d.ts +5 -0
- package/dist/definitions/components/primitives/Center.d.ts.map +1 -0
- package/dist/definitions/components/primitives/{Stacks.d.ts → Stack.d.ts} +2 -3
- package/dist/definitions/components/primitives/Stack.d.ts.map +1 -0
- package/dist/definitions/components/primitives/View.d.ts +1 -3
- package/dist/definitions/components/primitives/View.d.ts.map +1 -1
- package/dist/definitions/index.d.ts +4 -2
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/story-components/StorySection.d.ts +1 -1
- package/dist/definitions/story-components/StorySection.d.ts.map +1 -1
- package/dist/definitions/tamagui.config.d.ts +65 -44
- package/dist/definitions/tamagui.config.d.ts.map +1 -1
- package/dist/definitions/{themes → tokens}/palettes/deepPurpleColorPalette.d.ts.map +1 -1
- package/dist/definitions/tokens/radius.d.ts +8 -0
- package/dist/definitions/tokens/radius.d.ts.map +1 -0
- package/dist/definitions/tokens/size.d.ts +12 -8
- package/dist/definitions/tokens/size.d.ts.map +1 -1
- package/dist/definitions/tokens/space.d.ts +13 -13
- package/dist/index-metro.es.android.js +43 -25
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +43 -25
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +42 -23
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +42 -23
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +43 -25
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +43 -25
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +43 -25
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +43 -25
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/primitives/Center.stories.tsx +17 -0
- package/src/components/primitives/Center.ts +10 -0
- package/src/components/primitives/Stack.stories.tsx +38 -51
- package/src/components/primitives/{Stacks.ts → Stack.tsx} +2 -2
- package/src/components/primitives/View.stories.tsx +4 -3
- package/src/components/primitives/View.ts +1 -4
- package/src/components/primitives/__snapshots__/Center.stories.tsx.snap +37 -0
- package/src/components/primitives/__snapshots__/Stack.stories.tsx.snap +58 -297
- package/src/components/primitives/__snapshots__/View.stories.tsx.snap +4 -4
- package/src/components/primitives/__snapshots_web__/Center.stories.tsx.snap +32 -0
- package/src/components/primitives/__snapshots_web__/Stack.stories.tsx.snap +16 -155
- package/src/components/primitives/__snapshots_web__/View.stories.tsx.snap +2 -2
- package/src/components/typography/Typography.stories.tsx +3 -3
- package/src/components/typography/__snapshots__/Typography.stories.tsx.snap +20 -20
- package/src/components/typography/__snapshots_web__/Typography.stories.tsx.snap +56 -56
- package/src/index.ts +4 -2
- package/src/story-components/StorySection.tsx +5 -5
- package/src/story-components/StoryTitle.tsx +3 -3
- package/src/tamagui.config.ts +3 -1
- package/src/themes/__snapshots_web__/light.stories.tsx.snap +112 -112
- package/src/themes/light.stories.tsx +4 -4
- package/src/themes/light.ts +1 -1
- package/src/{themes → tokens}/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +134 -134
- package/src/{themes → tokens}/palettes/deepPurpleColorPalette.stories.tsx +3 -3
- package/src/tokens/radius.ts +7 -0
- package/src/tokens/size.ts +12 -8
- package/src/tokens/space.ts +13 -13
- package/tsconfig.json +0 -1
- package/dist/definitions/components/primitives/Stacks.d.ts.map +0 -1
- /package/dist/definitions/{themes → tokens}/palettes/deepPurpleColorPalette.d.ts +0 -0
- /package/src/{themes → tokens}/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +0 -0
- /package/src/{themes → tokens}/palettes/deepPurpleColorPalette.ts +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`bumper/Primitives Center 1`] = `
|
|
4
|
+
<DocumentFragment>
|
|
5
|
+
<div
|
|
6
|
+
class="css-view-175oi2r r-flex-13awgt0"
|
|
7
|
+
>
|
|
8
|
+
<span
|
|
9
|
+
class=""
|
|
10
|
+
style="display: contents;"
|
|
11
|
+
>
|
|
12
|
+
<span
|
|
13
|
+
class=" "
|
|
14
|
+
style="display: contents;"
|
|
15
|
+
>
|
|
16
|
+
<span
|
|
17
|
+
class=" t_light is_Theme"
|
|
18
|
+
style="display: contents;"
|
|
19
|
+
>
|
|
20
|
+
<div
|
|
21
|
+
class="_display-flex _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _justifyContent-center _alignItems-center _width-t-size-size42947727 _height-t-size-size42947727 _backgroundColor-bg--accent-1633109644"
|
|
22
|
+
>
|
|
23
|
+
<div
|
|
24
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385413 _height-t-size-size1385413 _backgroundColor-bg--base--m757972454"
|
|
25
|
+
/>
|
|
26
|
+
</div>
|
|
27
|
+
</span>
|
|
28
|
+
</span>
|
|
29
|
+
</span>
|
|
30
|
+
</div>
|
|
31
|
+
</DocumentFragment>
|
|
32
|
+
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
2
|
|
|
3
|
-
exports[`bumper/Primitives
|
|
3
|
+
exports[`bumper/Primitives Stack 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
class="css-view-175oi2r r-flex-13awgt0"
|
|
@@ -17,170 +17,31 @@ exports[`bumper/Primitives/Stacks Stacks 1`] = `
|
|
|
17
17
|
class=" t_light is_Theme"
|
|
18
18
|
style="display: contents;"
|
|
19
19
|
>
|
|
20
|
-
<span
|
|
21
|
-
class="font_unset _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px"
|
|
22
|
-
>
|
|
23
|
-
- space is deprecated, use gap instead - direction from NB is now flexDirection- reversed from NB is now direction (rtl/ltr)
|
|
24
|
-
</span>
|
|
25
20
|
<div
|
|
26
|
-
class="
|
|
21
|
+
class="is_HStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-row _gap-t-space-spa94482162"
|
|
27
22
|
>
|
|
28
|
-
<span
|
|
29
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347201 _lineHeight-f-lineHeigh1544154440 _letterSpacing-f-letterSpa1195674547 _fontWeight-f-weight-se1074390495"
|
|
30
|
-
data-disable-theme="true"
|
|
31
|
-
>
|
|
32
|
-
Stack
|
|
33
|
-
</span>
|
|
34
23
|
<div
|
|
35
|
-
class="
|
|
36
|
-
|
|
37
|
-
<span
|
|
38
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347202 _lineHeight-f-lineHeigh1544154441 _letterSpacing-f-letterSpa1195674548 _fontWeight-f-weight-se1074390495"
|
|
39
|
-
data-disable-theme="true"
|
|
40
|
-
>
|
|
41
|
-
Demo
|
|
42
|
-
</span>
|
|
43
|
-
<div
|
|
44
|
-
class="_display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column-reve113220 _gap-t-space-2"
|
|
45
|
-
>
|
|
46
|
-
<span
|
|
47
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
48
|
-
data-disable-theme="true"
|
|
49
|
-
>
|
|
50
|
-
1
|
|
51
|
-
</span>
|
|
52
|
-
<span
|
|
53
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
54
|
-
data-disable-theme="true"
|
|
55
|
-
>
|
|
56
|
-
2
|
|
57
|
-
</span>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
<div
|
|
62
|
-
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _paddingTop-t-space-4 _paddingBottom-t-space-4 _paddingRight-t-space-4 _paddingLeft-t-space-4"
|
|
63
|
-
>
|
|
64
|
-
<span
|
|
65
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347201 _lineHeight-f-lineHeigh1544154440 _letterSpacing-f-letterSpa1195674547 _fontWeight-f-weight-se1074390495"
|
|
66
|
-
data-disable-theme="true"
|
|
67
|
-
>
|
|
68
|
-
HStack
|
|
69
|
-
</span>
|
|
24
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385566 _height-t-size-size1385438 _backgroundColor-bg--accent-1633109644 _paddingTop-t-space-spa94482162 _paddingRight-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingLeft-t-space-spa94482162 _borderTopLeftRadius-t-radius-ra1673638416 _borderTopRightRadius-t-radius-ra1673638416 _borderBottomRightRadius-t-radius-ra1673638416 _borderBottomLeftRadius-t-radius-ra1673638416"
|
|
25
|
+
/>
|
|
70
26
|
<div
|
|
71
|
-
class="
|
|
72
|
-
|
|
73
|
-
<span
|
|
74
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347202 _lineHeight-f-lineHeigh1544154441 _letterSpacing-f-letterSpa1195674548 _fontWeight-f-weight-se1074390495"
|
|
75
|
-
data-disable-theme="true"
|
|
76
|
-
>
|
|
77
|
-
Default
|
|
78
|
-
</span>
|
|
79
|
-
<div
|
|
80
|
-
class="is_HStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-row"
|
|
81
|
-
>
|
|
82
|
-
<span
|
|
83
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
84
|
-
data-disable-theme="true"
|
|
85
|
-
>
|
|
86
|
-
1
|
|
87
|
-
</span>
|
|
88
|
-
<span
|
|
89
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
90
|
-
data-disable-theme="true"
|
|
91
|
-
>
|
|
92
|
-
2
|
|
93
|
-
</span>
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
27
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385566 _height-t-size-size1385438 _backgroundColor-bg--highlig2124217748 _paddingTop-t-space-spa94482162 _paddingRight-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingLeft-t-space-spa94482162 _borderTopLeftRadius-t-radius-ra1673638416 _borderTopRightRadius-t-radius-ra1673638416 _borderBottomRightRadius-t-radius-ra1673638416 _borderBottomLeftRadius-t-radius-ra1673638416"
|
|
28
|
+
/>
|
|
96
29
|
<div
|
|
97
|
-
class="
|
|
98
|
-
|
|
99
|
-
<span
|
|
100
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347202 _lineHeight-f-lineHeigh1544154441 _letterSpacing-f-letterSpa1195674548 _fontWeight-f-weight-se1074390495"
|
|
101
|
-
data-disable-theme="true"
|
|
102
|
-
>
|
|
103
|
-
With gap (space)
|
|
104
|
-
</span>
|
|
105
|
-
<div
|
|
106
|
-
class="is_HStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-row _gap-t-space-2"
|
|
107
|
-
>
|
|
108
|
-
<span
|
|
109
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _backgroundColor-bg--accent-1633109644"
|
|
110
|
-
data-disable-theme="true"
|
|
111
|
-
>
|
|
112
|
-
1
|
|
113
|
-
</span>
|
|
114
|
-
<span
|
|
115
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _backgroundColor-bg--accent-1633109644"
|
|
116
|
-
data-disable-theme="true"
|
|
117
|
-
>
|
|
118
|
-
2
|
|
119
|
-
</span>
|
|
120
|
-
</div>
|
|
121
|
-
</div>
|
|
30
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385566 _height-t-size-size1385438 _backgroundColor-bg--highlig1870923013 _paddingTop-t-space-spa94482162 _paddingRight-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingLeft-t-space-spa94482162 _borderTopLeftRadius-t-radius-ra1673638416 _borderTopRightRadius-t-radius-ra1673638416 _borderBottomRightRadius-t-radius-ra1673638416 _borderBottomLeftRadius-t-radius-ra1673638416"
|
|
31
|
+
/>
|
|
122
32
|
</div>
|
|
123
33
|
<div
|
|
124
|
-
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column
|
|
34
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _gap-t-space-spa94482162 _marginTop-t-space-spa1366020313"
|
|
125
35
|
>
|
|
126
|
-
<span
|
|
127
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347201 _lineHeight-f-lineHeigh1544154440 _letterSpacing-f-letterSpa1195674547 _fontWeight-f-weight-se1074390495"
|
|
128
|
-
data-disable-theme="true"
|
|
129
|
-
>
|
|
130
|
-
VStack
|
|
131
|
-
</span>
|
|
132
36
|
<div
|
|
133
|
-
class="
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
>
|
|
139
|
-
Default
|
|
140
|
-
</span>
|
|
141
|
-
<div
|
|
142
|
-
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column"
|
|
143
|
-
>
|
|
144
|
-
<span
|
|
145
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
146
|
-
data-disable-theme="true"
|
|
147
|
-
>
|
|
148
|
-
1
|
|
149
|
-
</span>
|
|
150
|
-
<span
|
|
151
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
152
|
-
data-disable-theme="true"
|
|
153
|
-
>
|
|
154
|
-
2
|
|
155
|
-
</span>
|
|
156
|
-
</div>
|
|
157
|
-
</div>
|
|
37
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385566 _height-t-size-size1385438 _backgroundColor-bg--accent-1633109644 _paddingTop-t-space-spa94482162 _paddingRight-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingLeft-t-space-spa94482162 _borderTopLeftRadius-t-radius-ra1673638416 _borderTopRightRadius-t-radius-ra1673638416 _borderBottomRightRadius-t-radius-ra1673638416 _borderBottomLeftRadius-t-radius-ra1673638416"
|
|
38
|
+
/>
|
|
39
|
+
<div
|
|
40
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385566 _height-t-size-size1385438 _backgroundColor-bg--highlig2124217748 _paddingTop-t-space-spa94482162 _paddingRight-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingLeft-t-space-spa94482162 _borderTopLeftRadius-t-radius-ra1673638416 _borderTopRightRadius-t-radius-ra1673638416 _borderBottomRightRadius-t-radius-ra1673638416 _borderBottomLeftRadius-t-radius-ra1673638416"
|
|
41
|
+
/>
|
|
158
42
|
<div
|
|
159
|
-
class="
|
|
160
|
-
|
|
161
|
-
<span
|
|
162
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-4 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347202 _lineHeight-f-lineHeigh1544154441 _letterSpacing-f-letterSpa1195674548 _fontWeight-f-weight-se1074390495"
|
|
163
|
-
data-disable-theme="true"
|
|
164
|
-
>
|
|
165
|
-
With gap (space)
|
|
166
|
-
</span>
|
|
167
|
-
<div
|
|
168
|
-
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _gap-t-space-2"
|
|
169
|
-
>
|
|
170
|
-
<span
|
|
171
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _backgroundColor-bg--accent-1633109644"
|
|
172
|
-
data-disable-theme="true"
|
|
173
|
-
>
|
|
174
|
-
1
|
|
175
|
-
</span>
|
|
176
|
-
<span
|
|
177
|
-
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _backgroundColor-bg--accent-1633109644"
|
|
178
|
-
data-disable-theme="true"
|
|
179
|
-
>
|
|
180
|
-
2
|
|
181
|
-
</span>
|
|
182
|
-
</div>
|
|
183
|
-
</div>
|
|
43
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size1385566 _height-t-size-size1385438 _backgroundColor-bg--highlig1870923013 _paddingTop-t-space-spa94482162 _paddingRight-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingLeft-t-space-spa94482162 _borderTopLeftRadius-t-radius-ra1673638416 _borderTopRightRadius-t-radius-ra1673638416 _borderBottomRightRadius-t-radius-ra1673638416 _borderBottomLeftRadius-t-radius-ra1673638416"
|
|
44
|
+
/>
|
|
184
45
|
</div>
|
|
185
46
|
</span>
|
|
186
47
|
</span>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
2
|
|
|
3
|
-
exports[`bumper/Primitives
|
|
3
|
+
exports[`bumper/Primitives View 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
class="css-view-175oi2r r-flex-13awgt0"
|
|
@@ -18,7 +18,7 @@ exports[`bumper/Primitives/View View 1`] = `
|
|
|
18
18
|
style="display: contents;"
|
|
19
19
|
>
|
|
20
20
|
<div
|
|
21
|
-
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-
|
|
21
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _width-t-size-size42947727 _height-t-size-size42947727 _backgroundColor-bg--accent-1633109644"
|
|
22
22
|
/>
|
|
23
23
|
</span>
|
|
24
24
|
</span>
|
|
@@ -2,7 +2,7 @@ import type { ComponentStory, Meta } from '@storybook/react';
|
|
|
2
2
|
import type { FC } from 'react';
|
|
3
3
|
import { StorySection } from '../../story-components/StorySection';
|
|
4
4
|
import type { BodyFontVariants, FontVariants, HeadingFontVariants, LabelFontVariants } from '../../tokens/fonts';
|
|
5
|
-
import { VStack } from '../primitives/
|
|
5
|
+
import { VStack } from '../primitives/Stack';
|
|
6
6
|
import { View } from '../primitives/View';
|
|
7
7
|
import type { TypographyTextProps } from './Typograhy';
|
|
8
8
|
import { Typography } from './Typograhy';
|
|
@@ -51,14 +51,14 @@ function TypographyVariants({ types }: TypographyTypesProps) {
|
|
|
51
51
|
<>
|
|
52
52
|
{types.map((type) => {
|
|
53
53
|
return type.weights.map((weight) => (
|
|
54
|
-
<VStack key={`${type.variant}-${weight}`} marginBottom="$
|
|
54
|
+
<VStack key={`${type.variant}-${weight}`} marginBottom="$space.16">
|
|
55
55
|
<Typography.Text variant="heading-s">{`${type.variant.split('-').join(' ')} - ${
|
|
56
56
|
weight || 'semibold'
|
|
57
57
|
}`}</Typography.Text>
|
|
58
58
|
<View
|
|
59
59
|
paddingVertical="$space.4"
|
|
60
60
|
paddingHorizontal="$space.8"
|
|
61
|
-
borderRadius="$
|
|
61
|
+
borderRadius="$radius.m"
|
|
62
62
|
backgroundColor="$bg.base.mid.default"
|
|
63
63
|
marginTop="$space.4"
|
|
64
64
|
>
|
|
@@ -377,7 +377,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
377
377
|
style={
|
|
378
378
|
{
|
|
379
379
|
"flexDirection": "column",
|
|
380
|
-
"marginBottom":
|
|
380
|
+
"marginBottom": 16,
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
>
|
|
@@ -429,7 +429,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
429
429
|
style={
|
|
430
430
|
{
|
|
431
431
|
"flexDirection": "column",
|
|
432
|
-
"marginBottom":
|
|
432
|
+
"marginBottom": 16,
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
435
|
>
|
|
@@ -481,7 +481,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
481
481
|
style={
|
|
482
482
|
{
|
|
483
483
|
"flexDirection": "column",
|
|
484
|
-
"marginBottom":
|
|
484
|
+
"marginBottom": 16,
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
487
|
>
|
|
@@ -533,7 +533,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
533
533
|
style={
|
|
534
534
|
{
|
|
535
535
|
"flexDirection": "column",
|
|
536
|
-
"marginBottom":
|
|
536
|
+
"marginBottom": 16,
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
>
|
|
@@ -585,7 +585,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
585
585
|
style={
|
|
586
586
|
{
|
|
587
587
|
"flexDirection": "column",
|
|
588
|
-
"marginBottom":
|
|
588
|
+
"marginBottom": 16,
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
>
|
|
@@ -637,7 +637,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
637
637
|
style={
|
|
638
638
|
{
|
|
639
639
|
"flexDirection": "column",
|
|
640
|
-
"marginBottom":
|
|
640
|
+
"marginBottom": 16,
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
643
|
>
|
|
@@ -715,7 +715,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
715
715
|
style={
|
|
716
716
|
{
|
|
717
717
|
"flexDirection": "column",
|
|
718
|
-
"marginBottom":
|
|
718
|
+
"marginBottom": 16,
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
721
|
>
|
|
@@ -767,7 +767,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
767
767
|
style={
|
|
768
768
|
{
|
|
769
769
|
"flexDirection": "column",
|
|
770
|
-
"marginBottom":
|
|
770
|
+
"marginBottom": 16,
|
|
771
771
|
}
|
|
772
772
|
}
|
|
773
773
|
>
|
|
@@ -819,7 +819,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
819
819
|
style={
|
|
820
820
|
{
|
|
821
821
|
"flexDirection": "column",
|
|
822
|
-
"marginBottom":
|
|
822
|
+
"marginBottom": 16,
|
|
823
823
|
}
|
|
824
824
|
}
|
|
825
825
|
>
|
|
@@ -871,7 +871,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
871
871
|
style={
|
|
872
872
|
{
|
|
873
873
|
"flexDirection": "column",
|
|
874
|
-
"marginBottom":
|
|
874
|
+
"marginBottom": 16,
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
877
|
>
|
|
@@ -923,7 +923,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
923
923
|
style={
|
|
924
924
|
{
|
|
925
925
|
"flexDirection": "column",
|
|
926
|
-
"marginBottom":
|
|
926
|
+
"marginBottom": 16,
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
929
|
>
|
|
@@ -975,7 +975,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
975
975
|
style={
|
|
976
976
|
{
|
|
977
977
|
"flexDirection": "column",
|
|
978
|
-
"marginBottom":
|
|
978
|
+
"marginBottom": 16,
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
981
|
>
|
|
@@ -1027,7 +1027,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
1027
1027
|
style={
|
|
1028
1028
|
{
|
|
1029
1029
|
"flexDirection": "column",
|
|
1030
|
-
"marginBottom":
|
|
1030
|
+
"marginBottom": 16,
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
1033
1033
|
>
|
|
@@ -1079,7 +1079,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
1079
1079
|
style={
|
|
1080
1080
|
{
|
|
1081
1081
|
"flexDirection": "column",
|
|
1082
|
-
"marginBottom":
|
|
1082
|
+
"marginBottom": 16,
|
|
1083
1083
|
}
|
|
1084
1084
|
}
|
|
1085
1085
|
>
|
|
@@ -1131,7 +1131,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
1131
1131
|
style={
|
|
1132
1132
|
{
|
|
1133
1133
|
"flexDirection": "column",
|
|
1134
|
-
"marginBottom":
|
|
1134
|
+
"marginBottom": 16,
|
|
1135
1135
|
}
|
|
1136
1136
|
}
|
|
1137
1137
|
>
|
|
@@ -1183,7 +1183,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
1183
1183
|
style={
|
|
1184
1184
|
{
|
|
1185
1185
|
"flexDirection": "column",
|
|
1186
|
-
"marginBottom":
|
|
1186
|
+
"marginBottom": 16,
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
1189
1189
|
>
|
|
@@ -1261,7 +1261,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
1261
1261
|
style={
|
|
1262
1262
|
{
|
|
1263
1263
|
"flexDirection": "column",
|
|
1264
|
-
"marginBottom":
|
|
1264
|
+
"marginBottom": 16,
|
|
1265
1265
|
}
|
|
1266
1266
|
}
|
|
1267
1267
|
>
|
|
@@ -1313,7 +1313,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
1313
1313
|
style={
|
|
1314
1314
|
{
|
|
1315
1315
|
"flexDirection": "column",
|
|
1316
|
-
"marginBottom":
|
|
1316
|
+
"marginBottom": 16,
|
|
1317
1317
|
}
|
|
1318
1318
|
}
|
|
1319
1319
|
>
|
|
@@ -1365,7 +1365,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
1365
1365
|
style={
|
|
1366
1366
|
{
|
|
1367
1367
|
"flexDirection": "column",
|
|
1368
|
-
"marginBottom":
|
|
1368
|
+
"marginBottom": 16,
|
|
1369
1369
|
}
|
|
1370
1370
|
}
|
|
1371
1371
|
>
|
|
@@ -1417,7 +1417,7 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
1417
1417
|
style={
|
|
1418
1418
|
{
|
|
1419
1419
|
"flexDirection": "column",
|
|
1420
|
-
"marginBottom":
|
|
1420
|
+
"marginBottom": 16,
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
1423
1423
|
>
|