imbric-theme 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (245) hide show
  1. package/.babelrc.json +3 -0
  2. package/.commitlintrc.json +3 -0
  3. package/.editorconfig +13 -0
  4. package/.eslintcache +1 -0
  5. package/.eslintrc.json +36 -0
  6. package/.huskyrc.json +6 -0
  7. package/.lintstagedrc.json +5 -0
  8. package/.nvmrc +1 -0
  9. package/.prettierrc.json +4 -0
  10. package/.releaserc.json +13 -0
  11. package/.storybook/main.js +9 -0
  12. package/.storybook/preview-head.html +2 -0
  13. package/.storybook/preview.js +32 -0
  14. package/.stylelintrc.json +14 -0
  15. package/.vscode/launch.json +15 -0
  16. package/CHANGELOG.md +0 -0
  17. package/README.md +69 -0
  18. package/atoms/Avatar/Avatar.js +36 -0
  19. package/atoms/Avatar/Avatar.module.css +3 -0
  20. package/atoms/Avatar/Avatar.stories.js +29 -0
  21. package/atoms/Avatar/__snapshots__/Avatar.stories.js.snap +105 -0
  22. package/atoms/Avatar/constants.js +3 -0
  23. package/atoms/Avatar/helpers.js +7 -0
  24. package/atoms/Avatar/index.js +3 -0
  25. package/atoms/Button/Button.js +68 -0
  26. package/atoms/Button/Button.module.css +63 -0
  27. package/atoms/Button/Button.stories.js +47 -0
  28. package/atoms/Button/Button.test.js +60 -0
  29. package/atoms/Button/__snapshots__/Button.stories.js.snap +191 -0
  30. package/atoms/Button/constants.js +3 -0
  31. package/atoms/Button/index.js +3 -0
  32. package/atoms/Card/Card.js +48 -0
  33. package/atoms/Card/Card.module.css +52 -0
  34. package/atoms/Card/Card.stories.js +41 -0
  35. package/atoms/Card/__snapshots__/Card.stories.js.snap +136 -0
  36. package/atoms/Card/constants.js +4 -0
  37. package/atoms/Card/index.js +3 -0
  38. package/atoms/Check/Check.js +26 -0
  39. package/atoms/Check/Check.module.css +11 -0
  40. package/atoms/Check/Check.stories.js +15 -0
  41. package/atoms/Check/__snapshots__/Check.stories.js.snap +67 -0
  42. package/atoms/Check/index.js +2 -0
  43. package/atoms/Divider/Divider.js +19 -0
  44. package/atoms/Divider/Divider.module.css +5 -0
  45. package/atoms/Divider/Divider.stories.js +12 -0
  46. package/atoms/Divider/__snapshots__/Divider.stories.js.snap +22 -0
  47. package/atoms/Divider/index.js +2 -0
  48. package/atoms/Heading/Heading.js +37 -0
  49. package/atoms/Heading/Heading.module.css +66 -0
  50. package/atoms/Heading/Heading.stories.js +46 -0
  51. package/atoms/Heading/__snapshots__/Heading.stories.js.snap +189 -0
  52. package/atoms/Heading/constants.js +5 -0
  53. package/atoms/Heading/index.js +3 -0
  54. package/atoms/Icon/Icon.js +66 -0
  55. package/atoms/Icon/Icon.module.css +112 -0
  56. package/atoms/Icon/Icon.stories.js +48 -0
  57. package/atoms/Icon/__snapshots__/Icon.stories.js.snap +1311 -0
  58. package/atoms/Icon/constants.js +486 -0
  59. package/atoms/Icon/helpers.js +9 -0
  60. package/atoms/Icon/index.js +3 -0
  61. package/atoms/Input/Input.js +49 -0
  62. package/atoms/Input/Input.module.css +27 -0
  63. package/atoms/Input/Input.stories.js +32 -0
  64. package/atoms/Input/__snapshots__/Input.stories.js.snap +101 -0
  65. package/atoms/Input/constants.js +3 -0
  66. package/atoms/Input/index.js +3 -0
  67. package/atoms/Link/Link.js +33 -0
  68. package/atoms/Link/Link.module.css +14 -0
  69. package/atoms/Link/Link.stories.js +30 -0
  70. package/atoms/Link/__snapshots__/Link.stories.js.snap +118 -0
  71. package/atoms/Link/constants.js +5 -0
  72. package/atoms/Link/index.js +3 -0
  73. package/atoms/Loading/Loading.js +30 -0
  74. package/atoms/Loading/Loading.module.css +51 -0
  75. package/atoms/Loading/Loading.stories.js +17 -0
  76. package/atoms/Loading/__snapshots__/Loading.stories.js.snap +26 -0
  77. package/atoms/Loading/index.js +2 -0
  78. package/atoms/Modal/Modal.js +98 -0
  79. package/atoms/Modal/Modal.module.css +85 -0
  80. package/atoms/Modal/Modal.stories.js +43 -0
  81. package/atoms/Modal/__snapshots__/Modal.stories.js.snap +239 -0
  82. package/atoms/Modal/constants.js +1 -0
  83. package/atoms/Modal/index.js +3 -0
  84. package/atoms/Paragraph/Paragraph.js +56 -0
  85. package/atoms/Paragraph/Paragraph.module.css +68 -0
  86. package/atoms/Paragraph/Paragraph.stories.js +52 -0
  87. package/atoms/Paragraph/__snapshots__/Paragraph.stories.js.snap +230 -0
  88. package/atoms/Paragraph/constants.js +5 -0
  89. package/atoms/Paragraph/index.js +3 -0
  90. package/atoms/Picture/Picture.js +40 -0
  91. package/atoms/Picture/Picture.module.css +16 -0
  92. package/atoms/Picture/Picture.stories.js +32 -0
  93. package/atoms/Picture/__snapshots__/Picture.stories.js.snap +156 -0
  94. package/atoms/Picture/index.js +2 -0
  95. package/atoms/Textarea/Textarea.js +46 -0
  96. package/atoms/Textarea/Textarea.module.css +25 -0
  97. package/atoms/Textarea/Textarea.stories.js +16 -0
  98. package/atoms/Textarea/__snapshots__/Textarea.stories.js.snap +25 -0
  99. package/atoms/Textarea/index.js +2 -0
  100. package/codecov.yml +2 -0
  101. package/helpers/storybook.js +29 -0
  102. package/helpers/storybook.test.js +40 -0
  103. package/helpers/styles.js +37 -0
  104. package/helpers/styles.test.js +222 -0
  105. package/hocs/withStyles.js +17 -0
  106. package/hook/useMedia.js +22 -0
  107. package/index.js +31 -0
  108. package/jest.config.js +23 -0
  109. package/jest.setup.js +13 -0
  110. package/layout/CenteredContent/CenteredContent.js +30 -0
  111. package/layout/CenteredContent/CenteredContent.module.css +12 -0
  112. package/layout/CenteredContent/CenteredContent.stories.js +22 -0
  113. package/layout/CenteredContent/__snapshots__/CenteredContent.stories.js.snap +27 -0
  114. package/layout/CenteredContent/index.js +2 -0
  115. package/layout/Container/Container.js +29 -0
  116. package/layout/Container/Container.module.css +14 -0
  117. package/layout/Container/Container.stories.js +22 -0
  118. package/layout/Container/__snapshots__/Container.stories.js.snap +27 -0
  119. package/layout/Container/index.js +2 -0
  120. package/layout/FullHeightContent/FullHeightContent.js +40 -0
  121. package/layout/FullHeightContent/FullHeightContent.module.css +21 -0
  122. package/layout/FullHeightContent/FullHeightContent.stories.js +22 -0
  123. package/layout/FullHeightContent/__snapshots__/FullHeightContent.stories.js.snap +41 -0
  124. package/layout/FullHeightContent/index.js +2 -0
  125. package/layout/Spacer/Spacer.js +40 -0
  126. package/layout/Spacer/Spacer.module.css +12 -0
  127. package/layout/Spacer/Spacer.stories.js +25 -0
  128. package/layout/Spacer/__snapshots__/Spacer.stories.js.snap +97 -0
  129. package/layout/Spacer/components/Horizontal/Horizontal.js +43 -0
  130. package/layout/Spacer/components/Horizontal/Horizontal.stories.js +32 -0
  131. package/layout/Spacer/components/Horizontal/__snapshots__/Horizontal.stories.js.snap +97 -0
  132. package/layout/Spacer/components/Horizontal/index.js +1 -0
  133. package/layout/Spacer/components/Vertical/Vertical.js +31 -0
  134. package/layout/Spacer/components/Vertical/Vertical.stories.js +25 -0
  135. package/layout/Spacer/components/Vertical/__snapshots__/Vertical.stories.js.snap +85 -0
  136. package/layout/Spacer/components/Vertical/index.js +1 -0
  137. package/layout/Spacer/components/index.js +2 -0
  138. package/layout/Spacer/constants.js +5 -0
  139. package/layout/Spacer/helpers.js +3 -0
  140. package/layout/Spacer/index.js +3 -0
  141. package/molecules/Accordion/Accordion.js +70 -0
  142. package/molecules/Accordion/Accordion.module.css +12 -0
  143. package/molecules/Accordion/Accordion.stories.js +31 -0
  144. package/molecules/Accordion/__snapshots__/Accordion.stories.js.snap +228 -0
  145. package/molecules/Accordion/index.js +2 -0
  146. package/molecules/AddButton/AddButton.js +137 -0
  147. package/molecules/AddButton/AddButton.module.css +128 -0
  148. package/molecules/AddButton/AddButton.stories.js +47 -0
  149. package/molecules/AddButton/__snapshots__/AddButton.stories.js.snap +326 -0
  150. package/molecules/AddButton/constants.js +6 -0
  151. package/molecules/AddButton/handlers.js +58 -0
  152. package/molecules/AddButton/handlers.test.js +19 -0
  153. package/molecules/AddButton/helpers.js +6 -0
  154. package/molecules/AddButton/helpers.test.js +41 -0
  155. package/molecules/AddButton/hooks.js +14 -0
  156. package/molecules/AddButton/index.js +3 -0
  157. package/molecules/ButtonIcon/ButtonIcon.js +41 -0
  158. package/molecules/ButtonIcon/ButtonIcon.stories.js +27 -0
  159. package/molecules/ButtonIcon/__snapshots__/ButtonIcon.stories.js.snap +178 -0
  160. package/molecules/ButtonIcon/constants.js +6 -0
  161. package/molecules/ButtonIcon/index.js +2 -0
  162. package/molecules/Dropdown/Dropdown.js +59 -0
  163. package/molecules/Dropdown/Dropdown.module.css +34 -0
  164. package/molecules/Dropdown/Dropdown.stories.js +41 -0
  165. package/molecules/Dropdown/__snapshots__/Dropdown.stories.js.snap +181 -0
  166. package/molecules/Dropdown/index.js +2 -0
  167. package/molecules/Error/Error.js +35 -0
  168. package/molecules/Error/Error.module.css +11 -0
  169. package/molecules/Error/Error.stories.js +18 -0
  170. package/molecules/Error/__snapshots__/Error.stories.js.snap +134 -0
  171. package/molecules/Error/index.js +2 -0
  172. package/molecules/IconLabel/IconLabel.js +83 -0
  173. package/molecules/IconLabel/IconLabel.module.css +16 -0
  174. package/molecules/IconLabel/IconLabel.stories.js +25 -0
  175. package/molecules/IconLabel/__snapshots__/IconLabel.stories.js.snap +211 -0
  176. package/molecules/IconLabel/constants.js +6 -0
  177. package/molecules/IconLabel/index.js +3 -0
  178. package/molecules/LoadingError/LoadingError.js +31 -0
  179. package/molecules/LoadingError/LoadingError.stories.js +24 -0
  180. package/molecules/LoadingError/__snapshots__/LoadingError.stories.js.snap +109 -0
  181. package/molecules/LoadingError/index.js +1 -0
  182. package/molecules/Score/Score.js +61 -0
  183. package/molecules/Score/Score.module.css +11 -0
  184. package/molecules/Score/Score.stories.js +13 -0
  185. package/molecules/Score/__snapshots__/Score.stories.js.snap +100 -0
  186. package/molecules/Score/faces/happy.svg +7 -0
  187. package/molecules/Score/faces/normal.svg +6 -0
  188. package/molecules/Score/faces/sad.svg +6 -0
  189. package/molecules/Score/index.js +2 -0
  190. package/molecules/Task/Task.js +114 -0
  191. package/molecules/Task/Task.module.css +47 -0
  192. package/molecules/Task/Task.stories.js +47 -0
  193. package/molecules/Task/__snapshots__/Task.stories.js.snap +953 -0
  194. package/molecules/Task/constants.js +1 -0
  195. package/molecules/Task/index.js +3 -0
  196. package/molecules/TaskCounter/TaskCounter.js +74 -0
  197. package/molecules/TaskCounter/TaskCounter.module.css +11 -0
  198. package/molecules/TaskCounter/TaskCounter.stories.js +26 -0
  199. package/molecules/TaskCounter/__snapshots__/TaskCounter.stories.js.snap +177 -0
  200. package/molecules/TaskCounter/index.js +2 -0
  201. package/package.json +102 -0
  202. package/scripts/build-tokens.js +40 -0
  203. package/scripts/create-component.js +127 -0
  204. package/storybook.test.js +13 -0
  205. package/styles/globals.css +10 -0
  206. package/styles/tokens.css +390 -0
  207. package/templates/component/Component.js +22 -0
  208. package/templates/component/Component.module.css +3 -0
  209. package/templates/component/Component.stories.js +23 -0
  210. package/templates/component/constants.js +1 -0
  211. package/templates/component/index.js +3 -0
  212. package/tokens/Token/Helper.js +30 -0
  213. package/tokens/Token/Token.js +13 -0
  214. package/tokens/Token/Token.module.css +64 -0
  215. package/tokens/Token/components/Color.js +21 -0
  216. package/tokens/Token/components/Color.stories.js +126 -0
  217. package/tokens/Token/components/FontFamily.js +24 -0
  218. package/tokens/Token/components/FontFamily.stories.js +32 -0
  219. package/tokens/Token/components/FontSize.js +24 -0
  220. package/tokens/Token/components/FontSize.stories.js +31 -0
  221. package/tokens/Token/components/FontWeight.js +24 -0
  222. package/tokens/Token/components/FontWeight.stories.js +31 -0
  223. package/tokens/Token/components/Spacing.js +24 -0
  224. package/tokens/Token/components/Spacing.stories.js +29 -0
  225. package/tokens/Token/components/__snapshots__/Color.stories.js.snap +7169 -0
  226. package/tokens/Token/components/__snapshots__/FontFamily.stories.js.snap +133 -0
  227. package/tokens/Token/components/__snapshots__/FontSize.stories.js.snap +261 -0
  228. package/tokens/Token/components/__snapshots__/FontWeight.stories.js.snap +317 -0
  229. package/tokens/Token/components/__snapshots__/Spacing.stories.js.snap +229 -0
  230. package/tokens/Token/components/index.js +5 -0
  231. package/tokens/Token/helpers.js +17 -0
  232. package/tokens/Token/index.js +1 -0
  233. package/tokens/index.js +471 -0
  234. package/utils/isEmpty.js +28 -0
  235. package/utils/isEmpty.test.js +125 -0
  236. package/utils/isObject.js +4 -0
  237. package/utils/keyboardCodes.js +6 -0
  238. package/utils/testUtils/matchMediaMock.js +14 -0
  239. package/utils/testUtils/svgrMock.js +2 -0
  240. package/utils/toCapitalize.js +4 -0
  241. package/utils/toKebabCase.js +8 -0
  242. package/utils/toPascalCase.js +20 -0
  243. package/webpack/cssModules.js +30 -0
  244. package/webpack/loadConfigs.js +6 -0
  245. package/webpack/reactInlineSvg.js +22 -0
@@ -0,0 +1,133 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`Storyshots Tokens/FontFamily Default 1`] = `
4
+ <div
5
+ style={
6
+ Object {
7
+ "alignContent": "flex-start",
8
+ "display": "flex",
9
+ "flexDirection": "column",
10
+ "flexWrap": "wrap",
11
+ "gap": "10px 30px",
12
+ "height": "100%",
13
+ "justifyContent": "flex-start",
14
+ "maxHeight": "auto",
15
+ }
16
+ }
17
+ >
18
+ <div
19
+ className="container"
20
+ >
21
+ <div
22
+ className="font-family"
23
+ style={
24
+ Object {
25
+ "fontFamily": Array [
26
+ "Exo",
27
+ "Arial",
28
+ "sans-serif",
29
+ ],
30
+ }
31
+ }
32
+ >
33
+ Depend noticed bones Edge disturbing flesh heard cream. Morninged facial judgment Hobbit fortress. Camp flatten buy dagger Sit. Leagues sweeter 1400 mean friend unlost Déagol trade stuffing? Smithy's jiffy merely treacherous cozy interesting ask seat Thror's.
34
+ </div>
35
+ <div
36
+ className="description"
37
+ >
38
+ <span
39
+ className="label"
40
+ >
41
+ var(--font-family-sans)
42
+ </span>
43
+ <span
44
+ className="label"
45
+ >
46
+ Exo, Arial, sans-serif
47
+ </span>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ `;
52
+
53
+ exports[`Storyshots Tokens/FontFamily Types 1`] = `
54
+ <div
55
+ style={
56
+ Object {
57
+ "alignContent": "flex-start",
58
+ "display": "flex",
59
+ "flexDirection": "column",
60
+ "flexWrap": "wrap",
61
+ "gap": "10px 30px",
62
+ "height": "100%",
63
+ "justifyContent": "flex-start",
64
+ "maxHeight": "auto",
65
+ }
66
+ }
67
+ >
68
+ <div
69
+ className="container"
70
+ >
71
+ <div
72
+ className="font-family"
73
+ style={
74
+ Object {
75
+ "fontFamily": Array [
76
+ "Exo",
77
+ "Arial",
78
+ "sans-serif",
79
+ ],
80
+ }
81
+ }
82
+ >
83
+ Depend noticed bones Edge disturbing flesh heard cream. Morninged facial judgment Hobbit fortress. Camp flatten buy dagger Sit. Leagues sweeter 1400 mean friend unlost Déagol trade stuffing? Smithy's jiffy merely treacherous cozy interesting ask seat Thror's.
84
+ </div>
85
+ <div
86
+ className="description"
87
+ >
88
+ <span
89
+ className="label"
90
+ >
91
+ var(--font-family-sans)
92
+ </span>
93
+ <span
94
+ className="label"
95
+ >
96
+ Exo, Arial, sans-serif
97
+ </span>
98
+ </div>
99
+ </div>
100
+ <div
101
+ className="container"
102
+ >
103
+ <div
104
+ className="font-family"
105
+ style={
106
+ Object {
107
+ "fontFamily": Array [
108
+ "'Roboto Mono'",
109
+ "'Courier New'",
110
+ "monospace",
111
+ ],
112
+ }
113
+ }
114
+ >
115
+ Depend noticed bones Edge disturbing flesh heard cream. Morninged facial judgment Hobbit fortress. Camp flatten buy dagger Sit. Leagues sweeter 1400 mean friend unlost Déagol trade stuffing? Smithy's jiffy merely treacherous cozy interesting ask seat Thror's.
116
+ </div>
117
+ <div
118
+ className="description"
119
+ >
120
+ <span
121
+ className="label"
122
+ >
123
+ var(--font-family-mono)
124
+ </span>
125
+ <span
126
+ className="label"
127
+ >
128
+ 'Roboto Mono', 'Courier New', monospace
129
+ </span>
130
+ </div>
131
+ </div>
132
+ </div>
133
+ `;
@@ -0,0 +1,261 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`Storyshots Tokens/FontSize Default 1`] = `
4
+ <div
5
+ style={
6
+ Object {
7
+ "alignContent": "flex-start",
8
+ "display": "flex",
9
+ "flexDirection": "column",
10
+ "flexWrap": "wrap",
11
+ "gap": "10px 30px",
12
+ "height": "100%",
13
+ "justifyContent": "flex-start",
14
+ "maxHeight": "auto",
15
+ }
16
+ }
17
+ >
18
+ <div
19
+ className="container"
20
+ >
21
+ <div
22
+ className="font-size"
23
+ style={
24
+ Object {
25
+ "fontSize": "14px",
26
+ }
27
+ }
28
+ >
29
+ Woodland lasted crowned holiday pirate brother wrath.
30
+ </div>
31
+ <div
32
+ className="description"
33
+ >
34
+ <span
35
+ className="label"
36
+ >
37
+ var(--font-size-base)
38
+ </span>
39
+ <span
40
+ className="label"
41
+ >
42
+ 14px
43
+ </span>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ `;
48
+
49
+ exports[`Storyshots Tokens/FontSize Sizes 1`] = `
50
+ <div
51
+ style={
52
+ Object {
53
+ "alignContent": "flex-start",
54
+ "display": "flex",
55
+ "flexDirection": "column",
56
+ "flexWrap": "wrap",
57
+ "gap": "10px 30px",
58
+ "height": "100%",
59
+ "justifyContent": "flex-start",
60
+ "maxHeight": "auto",
61
+ }
62
+ }
63
+ >
64
+ <div
65
+ className="container"
66
+ >
67
+ <div
68
+ className="font-size"
69
+ style={
70
+ Object {
71
+ "fontSize": "14px",
72
+ }
73
+ }
74
+ >
75
+ Woodland lasted crowned holiday pirate brother wrath.
76
+ </div>
77
+ <div
78
+ className="description"
79
+ >
80
+ <span
81
+ className="label"
82
+ >
83
+ var(--font-size-base)
84
+ </span>
85
+ <span
86
+ className="label"
87
+ >
88
+ 14px
89
+ </span>
90
+ </div>
91
+ </div>
92
+ <div
93
+ className="container"
94
+ >
95
+ <div
96
+ className="font-size"
97
+ style={
98
+ Object {
99
+ "fontSize": "1.2rem",
100
+ }
101
+ }
102
+ >
103
+ Woodland lasted crowned holiday pirate brother wrath.
104
+ </div>
105
+ <div
106
+ className="description"
107
+ >
108
+ <span
109
+ className="label"
110
+ >
111
+ var(--font-size-xs)
112
+ </span>
113
+ <span
114
+ className="label"
115
+ >
116
+ 1.2rem
117
+ </span>
118
+ </div>
119
+ </div>
120
+ <div
121
+ className="container"
122
+ >
123
+ <div
124
+ className="font-size"
125
+ style={
126
+ Object {
127
+ "fontSize": "1.4rem",
128
+ }
129
+ }
130
+ >
131
+ Woodland lasted crowned holiday pirate brother wrath.
132
+ </div>
133
+ <div
134
+ className="description"
135
+ >
136
+ <span
137
+ className="label"
138
+ >
139
+ var(--font-size-sm)
140
+ </span>
141
+ <span
142
+ className="label"
143
+ >
144
+ 1.4rem
145
+ </span>
146
+ </div>
147
+ </div>
148
+ <div
149
+ className="container"
150
+ >
151
+ <div
152
+ className="font-size"
153
+ style={
154
+ Object {
155
+ "fontSize": "1.6rem",
156
+ }
157
+ }
158
+ >
159
+ Woodland lasted crowned holiday pirate brother wrath.
160
+ </div>
161
+ <div
162
+ className="description"
163
+ >
164
+ <span
165
+ className="label"
166
+ >
167
+ var(--font-size-md)
168
+ </span>
169
+ <span
170
+ className="label"
171
+ >
172
+ 1.6rem
173
+ </span>
174
+ </div>
175
+ </div>
176
+ <div
177
+ className="container"
178
+ >
179
+ <div
180
+ className="font-size"
181
+ style={
182
+ Object {
183
+ "fontSize": "1.8rem",
184
+ }
185
+ }
186
+ >
187
+ Woodland lasted crowned holiday pirate brother wrath.
188
+ </div>
189
+ <div
190
+ className="description"
191
+ >
192
+ <span
193
+ className="label"
194
+ >
195
+ var(--font-size-lg)
196
+ </span>
197
+ <span
198
+ className="label"
199
+ >
200
+ 1.8rem
201
+ </span>
202
+ </div>
203
+ </div>
204
+ <div
205
+ className="container"
206
+ >
207
+ <div
208
+ className="font-size"
209
+ style={
210
+ Object {
211
+ "fontSize": "2.2rem",
212
+ }
213
+ }
214
+ >
215
+ Woodland lasted crowned holiday pirate brother wrath.
216
+ </div>
217
+ <div
218
+ className="description"
219
+ >
220
+ <span
221
+ className="label"
222
+ >
223
+ var(--font-size-xl)
224
+ </span>
225
+ <span
226
+ className="label"
227
+ >
228
+ 2.2rem
229
+ </span>
230
+ </div>
231
+ </div>
232
+ <div
233
+ className="container"
234
+ >
235
+ <div
236
+ className="font-size"
237
+ style={
238
+ Object {
239
+ "fontSize": "6rem",
240
+ }
241
+ }
242
+ >
243
+ Woodland lasted crowned holiday pirate brother wrath.
244
+ </div>
245
+ <div
246
+ className="description"
247
+ >
248
+ <span
249
+ className="label"
250
+ >
251
+ var(--font-size-2xl)
252
+ </span>
253
+ <span
254
+ className="label"
255
+ >
256
+ 6rem
257
+ </span>
258
+ </div>
259
+ </div>
260
+ </div>
261
+ `;
@@ -0,0 +1,317 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`Storyshots Tokens/FontWeight Default 1`] = `
4
+ <div
5
+ style={
6
+ Object {
7
+ "alignContent": "flex-start",
8
+ "display": "flex",
9
+ "flexDirection": "column",
10
+ "flexWrap": "wrap",
11
+ "gap": "10px 30px",
12
+ "height": "100%",
13
+ "justifyContent": "flex-start",
14
+ "maxHeight": "auto",
15
+ }
16
+ }
17
+ >
18
+ <div
19
+ className="container"
20
+ >
21
+ <div
22
+ className="font-weight"
23
+ style={
24
+ Object {
25
+ "fontWeight": 400,
26
+ }
27
+ }
28
+ >
29
+ Cheap doors deny rune Mithrandir spawning brown dishes?
30
+ </div>
31
+ <div
32
+ className="description"
33
+ >
34
+ <span
35
+ className="label"
36
+ >
37
+ var(--font-weight-normal)
38
+ </span>
39
+ <span
40
+ className="label"
41
+ >
42
+ 400
43
+ </span>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ `;
48
+
49
+ exports[`Storyshots Tokens/FontWeight Sizes 1`] = `
50
+ <div
51
+ style={
52
+ Object {
53
+ "alignContent": "flex-start",
54
+ "display": "flex",
55
+ "flexDirection": "column",
56
+ "flexWrap": "wrap",
57
+ "gap": "10px 30px",
58
+ "height": "100%",
59
+ "justifyContent": "flex-start",
60
+ "maxHeight": "auto",
61
+ }
62
+ }
63
+ >
64
+ <div
65
+ className="container"
66
+ >
67
+ <div
68
+ className="font-weight"
69
+ style={
70
+ Object {
71
+ "fontWeight": 100,
72
+ }
73
+ }
74
+ >
75
+ Cheap doors deny rune Mithrandir spawning brown dishes?
76
+ </div>
77
+ <div
78
+ className="description"
79
+ >
80
+ <span
81
+ className="label"
82
+ >
83
+ var(--font-weight-hairline)
84
+ </span>
85
+ <span
86
+ className="label"
87
+ >
88
+ 100
89
+ </span>
90
+ </div>
91
+ </div>
92
+ <div
93
+ className="container"
94
+ >
95
+ <div
96
+ className="font-weight"
97
+ style={
98
+ Object {
99
+ "fontWeight": 200,
100
+ }
101
+ }
102
+ >
103
+ Cheap doors deny rune Mithrandir spawning brown dishes?
104
+ </div>
105
+ <div
106
+ className="description"
107
+ >
108
+ <span
109
+ className="label"
110
+ >
111
+ var(--font-weight-thin)
112
+ </span>
113
+ <span
114
+ className="label"
115
+ >
116
+ 200
117
+ </span>
118
+ </div>
119
+ </div>
120
+ <div
121
+ className="container"
122
+ >
123
+ <div
124
+ className="font-weight"
125
+ style={
126
+ Object {
127
+ "fontWeight": 300,
128
+ }
129
+ }
130
+ >
131
+ Cheap doors deny rune Mithrandir spawning brown dishes?
132
+ </div>
133
+ <div
134
+ className="description"
135
+ >
136
+ <span
137
+ className="label"
138
+ >
139
+ var(--font-weight-light)
140
+ </span>
141
+ <span
142
+ className="label"
143
+ >
144
+ 300
145
+ </span>
146
+ </div>
147
+ </div>
148
+ <div
149
+ className="container"
150
+ >
151
+ <div
152
+ className="font-weight"
153
+ style={
154
+ Object {
155
+ "fontWeight": 400,
156
+ }
157
+ }
158
+ >
159
+ Cheap doors deny rune Mithrandir spawning brown dishes?
160
+ </div>
161
+ <div
162
+ className="description"
163
+ >
164
+ <span
165
+ className="label"
166
+ >
167
+ var(--font-weight-normal)
168
+ </span>
169
+ <span
170
+ className="label"
171
+ >
172
+ 400
173
+ </span>
174
+ </div>
175
+ </div>
176
+ <div
177
+ className="container"
178
+ >
179
+ <div
180
+ className="font-weight"
181
+ style={
182
+ Object {
183
+ "fontWeight": 500,
184
+ }
185
+ }
186
+ >
187
+ Cheap doors deny rune Mithrandir spawning brown dishes?
188
+ </div>
189
+ <div
190
+ className="description"
191
+ >
192
+ <span
193
+ className="label"
194
+ >
195
+ var(--font-weight-medium)
196
+ </span>
197
+ <span
198
+ className="label"
199
+ >
200
+ 500
201
+ </span>
202
+ </div>
203
+ </div>
204
+ <div
205
+ className="container"
206
+ >
207
+ <div
208
+ className="font-weight"
209
+ style={
210
+ Object {
211
+ "fontWeight": 600,
212
+ }
213
+ }
214
+ >
215
+ Cheap doors deny rune Mithrandir spawning brown dishes?
216
+ </div>
217
+ <div
218
+ className="description"
219
+ >
220
+ <span
221
+ className="label"
222
+ >
223
+ var(--font-weight-semibold)
224
+ </span>
225
+ <span
226
+ className="label"
227
+ >
228
+ 600
229
+ </span>
230
+ </div>
231
+ </div>
232
+ <div
233
+ className="container"
234
+ >
235
+ <div
236
+ className="font-weight"
237
+ style={
238
+ Object {
239
+ "fontWeight": 700,
240
+ }
241
+ }
242
+ >
243
+ Cheap doors deny rune Mithrandir spawning brown dishes?
244
+ </div>
245
+ <div
246
+ className="description"
247
+ >
248
+ <span
249
+ className="label"
250
+ >
251
+ var(--font-weight-bold)
252
+ </span>
253
+ <span
254
+ className="label"
255
+ >
256
+ 700
257
+ </span>
258
+ </div>
259
+ </div>
260
+ <div
261
+ className="container"
262
+ >
263
+ <div
264
+ className="font-weight"
265
+ style={
266
+ Object {
267
+ "fontWeight": 800,
268
+ }
269
+ }
270
+ >
271
+ Cheap doors deny rune Mithrandir spawning brown dishes?
272
+ </div>
273
+ <div
274
+ className="description"
275
+ >
276
+ <span
277
+ className="label"
278
+ >
279
+ var(--font-weight-extrabold)
280
+ </span>
281
+ <span
282
+ className="label"
283
+ >
284
+ 800
285
+ </span>
286
+ </div>
287
+ </div>
288
+ <div
289
+ className="container"
290
+ >
291
+ <div
292
+ className="font-weight"
293
+ style={
294
+ Object {
295
+ "fontWeight": 900,
296
+ }
297
+ }
298
+ >
299
+ Cheap doors deny rune Mithrandir spawning brown dishes?
300
+ </div>
301
+ <div
302
+ className="description"
303
+ >
304
+ <span
305
+ className="label"
306
+ >
307
+ var(--font-weight-black)
308
+ </span>
309
+ <span
310
+ className="label"
311
+ >
312
+ 900
313
+ </span>
314
+ </div>
315
+ </div>
316
+ </div>
317
+ `;