@flodesk/grain 2.7.5 → 2.7.6
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/es/components/box/index.js +78 -0
- package/es/types/index.js +2 -1
- package/package.json +1 -1
|
@@ -178,6 +178,28 @@ Box.__docgenInfo = {
|
|
|
178
178
|
"required": false,
|
|
179
179
|
"description": ""
|
|
180
180
|
},
|
|
181
|
+
"backgroundColor": {
|
|
182
|
+
"type": {
|
|
183
|
+
"name": "union",
|
|
184
|
+
"value": [{
|
|
185
|
+
"name": "enum",
|
|
186
|
+
"value": [{
|
|
187
|
+
"value": "\"greys\"",
|
|
188
|
+
"computed": false
|
|
189
|
+
}, {
|
|
190
|
+
"value": "\"baseColors\"",
|
|
191
|
+
"computed": false
|
|
192
|
+
}, {
|
|
193
|
+
"value": "\"semanticColors\"",
|
|
194
|
+
"computed": false
|
|
195
|
+
}]
|
|
196
|
+
}, {
|
|
197
|
+
"name": "string"
|
|
198
|
+
}]
|
|
199
|
+
},
|
|
200
|
+
"required": false,
|
|
201
|
+
"description": ""
|
|
202
|
+
},
|
|
181
203
|
"borderSide": {
|
|
182
204
|
"type": {
|
|
183
205
|
"name": "enum",
|
|
@@ -207,6 +229,40 @@ Box.__docgenInfo = {
|
|
|
207
229
|
"required": false,
|
|
208
230
|
"description": ""
|
|
209
231
|
},
|
|
232
|
+
"borderWidth": {
|
|
233
|
+
"type": {
|
|
234
|
+
"name": "union",
|
|
235
|
+
"value": [{
|
|
236
|
+
"name": "number"
|
|
237
|
+
}, {
|
|
238
|
+
"name": "string"
|
|
239
|
+
}]
|
|
240
|
+
},
|
|
241
|
+
"required": false,
|
|
242
|
+
"description": ""
|
|
243
|
+
},
|
|
244
|
+
"borderColor": {
|
|
245
|
+
"type": {
|
|
246
|
+
"name": "union",
|
|
247
|
+
"value": [{
|
|
248
|
+
"name": "enum",
|
|
249
|
+
"value": [{
|
|
250
|
+
"value": "\"greys\"",
|
|
251
|
+
"computed": false
|
|
252
|
+
}, {
|
|
253
|
+
"value": "\"baseColors\"",
|
|
254
|
+
"computed": false
|
|
255
|
+
}, {
|
|
256
|
+
"value": "\"semanticColors\"",
|
|
257
|
+
"computed": false
|
|
258
|
+
}]
|
|
259
|
+
}, {
|
|
260
|
+
"name": "string"
|
|
261
|
+
}]
|
|
262
|
+
},
|
|
263
|
+
"required": false,
|
|
264
|
+
"description": ""
|
|
265
|
+
},
|
|
210
266
|
"width": {
|
|
211
267
|
"type": {
|
|
212
268
|
"name": "union",
|
|
@@ -253,6 +309,28 @@ Box.__docgenInfo = {
|
|
|
253
309
|
"required": false,
|
|
254
310
|
"description": ""
|
|
255
311
|
},
|
|
312
|
+
"shadow": {
|
|
313
|
+
"type": {
|
|
314
|
+
"name": "union",
|
|
315
|
+
"value": [{
|
|
316
|
+
"name": "enum",
|
|
317
|
+
"value": [{
|
|
318
|
+
"value": "\"s\"",
|
|
319
|
+
"computed": false
|
|
320
|
+
}, {
|
|
321
|
+
"value": "\"m\"",
|
|
322
|
+
"computed": false
|
|
323
|
+
}, {
|
|
324
|
+
"value": "\"l\"",
|
|
325
|
+
"computed": false
|
|
326
|
+
}]
|
|
327
|
+
}, {
|
|
328
|
+
"name": "string"
|
|
329
|
+
}]
|
|
330
|
+
},
|
|
331
|
+
"required": false,
|
|
332
|
+
"description": ""
|
|
333
|
+
},
|
|
256
334
|
"padding": {
|
|
257
335
|
"type": {
|
|
258
336
|
"name": "union",
|
package/es/types/index.js
CHANGED
|
@@ -20,7 +20,8 @@ var types = {
|
|
|
20
20
|
space: _propTypes.default.oneOfType([_propTypes.default.oneOf(Object.keys(_variables.vars.spaces)), _propTypes.default.number, _propTypes.default.string]),
|
|
21
21
|
dimension: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
22
22
|
side: _propTypes.default.oneOf(["all", "left", "right", "top", "bottom", "x", "y"]),
|
|
23
|
-
radius: _propTypes.default.oneOfType([_propTypes.default.oneOf(
|
|
23
|
+
radius: _propTypes.default.oneOfType([_propTypes.default.oneOf(Object.keys(_variables.vars.radiuses)), _propTypes.default.string]),
|
|
24
|
+
shadow: _propTypes.default.oneOfType([_propTypes.default.oneOf(Object.keys(_variables.vars.shadows)), _propTypes.default.string]),
|
|
24
25
|
position: _propTypes.default.oneOf(["static", "relative", "fixed", "absolute", "sticky"]),
|
|
25
26
|
textSize: _propTypes.default.oneOfType([_propTypes.default.oneOf(Object.keys(_variables.vars.textSizes)), _propTypes.default.number, _propTypes.default.string]),
|
|
26
27
|
weight: _propTypes.default.oneOf(Object.keys(_variables.vars.weights)),
|