@draftbit/core 46.8.1-61264d.2 → 46.8.1-a386d4.2

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 (57) hide show
  1. package/lib/commonjs/components/Picker/PickerComponent.android.js +3 -20
  2. package/lib/commonjs/components/Pressable.js +2 -15
  3. package/lib/commonjs/components/Shadow.js +46 -0
  4. package/lib/commonjs/index.js +7 -19
  5. package/lib/commonjs/mappings/Shadow.js +94 -0
  6. package/lib/module/components/NumberInput.js +11 -3
  7. package/lib/module/components/Shadow.js +38 -0
  8. package/lib/module/index.js +1 -1
  9. package/lib/module/mappings/Shadow.js +87 -0
  10. package/lib/typescript/src/components/Shadow.d.ts +24 -0
  11. package/lib/typescript/src/components/Shadow.d.ts.map +1 -0
  12. package/lib/typescript/src/index.d.ts +1 -1
  13. package/lib/typescript/src/index.d.ts.map +1 -1
  14. package/lib/typescript/src/mappings/{Table.d.ts → Shadow.d.ts} +26 -167
  15. package/lib/typescript/src/mappings/Shadow.d.ts.map +1 -0
  16. package/package.json +4 -3
  17. package/src/components/Shadow.js +16 -0
  18. package/src/components/Shadow.tsx +62 -0
  19. package/src/index.js +1 -1
  20. package/src/index.tsx +2 -2
  21. package/src/mappings/Shadow.js +87 -0
  22. package/src/mappings/Shadow.ts +95 -0
  23. package/lib/commonjs/components/Table/Table.js +0 -65
  24. package/lib/commonjs/components/Table/TableCell.js +0 -48
  25. package/lib/commonjs/components/Table/TableCommon.js +0 -25
  26. package/lib/commonjs/components/Table/TableRow.js +0 -63
  27. package/lib/commonjs/components/Table/index.js +0 -27
  28. package/lib/commonjs/mappings/Table.js +0 -143
  29. package/lib/module/components/Table/Table.js +0 -57
  30. package/lib/module/components/Table/TableCell.js +0 -40
  31. package/lib/module/components/Table/TableCommon.js +0 -19
  32. package/lib/module/components/Table/TableRow.js +0 -55
  33. package/lib/module/components/Table/index.js +0 -3
  34. package/lib/module/mappings/Table.js +0 -136
  35. package/lib/typescript/src/components/Table/Table.d.ts +0 -15
  36. package/lib/typescript/src/components/Table/Table.d.ts.map +0 -1
  37. package/lib/typescript/src/components/Table/TableCell.d.ts +0 -11
  38. package/lib/typescript/src/components/Table/TableCell.d.ts.map +0 -1
  39. package/lib/typescript/src/components/Table/TableCommon.d.ts +0 -14
  40. package/lib/typescript/src/components/Table/TableCommon.d.ts.map +0 -1
  41. package/lib/typescript/src/components/Table/TableRow.d.ts +0 -11
  42. package/lib/typescript/src/components/Table/TableRow.d.ts.map +0 -1
  43. package/lib/typescript/src/components/Table/index.d.ts +0 -4
  44. package/lib/typescript/src/components/Table/index.d.ts.map +0 -1
  45. package/lib/typescript/src/mappings/Table.d.ts.map +0 -1
  46. package/src/components/Table/Table.js +0 -46
  47. package/src/components/Table/Table.tsx +0 -83
  48. package/src/components/Table/TableCell.js +0 -30
  49. package/src/components/Table/TableCell.tsx +0 -57
  50. package/src/components/Table/TableCommon.js +0 -10
  51. package/src/components/Table/TableCommon.ts +0 -32
  52. package/src/components/Table/TableRow.js +0 -45
  53. package/src/components/Table/TableRow.tsx +0 -77
  54. package/src/components/Table/index.js +0 -3
  55. package/src/components/Table/index.tsx +0 -3
  56. package/src/mappings/Table.js +0 -137
  57. package/src/mappings/Table.ts +0 -161
@@ -1,64 +1,41 @@
1
- export declare const SEED_DATA: ({
1
+ export declare const SEED_DATA: {
2
2
  name: string;
3
3
  tag: string;
4
4
  description: string;
5
5
  category: string;
6
6
  stylesPanelSections: string[];
7
7
  props: {
8
- borderWidth: {
9
- defaultValue: number;
8
+ disabled: {
10
9
  label: string;
11
10
  description: string;
12
- formType: string;
13
- propType: string;
14
11
  group: string;
15
12
  editable: boolean;
16
13
  required: boolean;
17
- step: number;
18
- };
19
- borderColor: {
20
- defaultValue: string;
21
- group: string;
22
- label: string;
23
- description: string;
24
- editable: boolean;
25
- required: boolean;
26
14
  formType: string;
27
15
  propType: string;
16
+ defaultValue: null;
28
17
  };
29
- borderStyle: {
30
- defaultValue: string;
18
+ startColor: {
31
19
  group: string;
32
20
  label: string;
33
21
  description: string;
34
22
  editable: boolean;
35
23
  required: boolean;
24
+ defaultValue: null;
36
25
  formType: string;
37
26
  propType: string;
38
- options: never[];
39
27
  };
40
- drawTopBorder: {
41
- defaultValue: boolean;
28
+ endColor: {
29
+ group: string;
42
30
  label: string;
43
31
  description: string;
44
- formType: string;
45
- propType: string;
46
32
  editable: boolean;
47
33
  required: boolean;
48
- group: string;
49
- };
50
- cellVerticalPadding: {
51
- label: string;
52
- description: string;
34
+ defaultValue: null;
53
35
  formType: string;
54
36
  propType: string;
55
- group: string;
56
- defaultValue: null;
57
- editable: boolean;
58
- required: boolean;
59
- step: number;
60
37
  };
61
- callHorizontalPadding: {
38
+ distance: {
62
39
  label: string;
63
40
  description: string;
64
41
  formType: string;
@@ -69,17 +46,7 @@ export declare const SEED_DATA: ({
69
46
  required: boolean;
70
47
  step: number;
71
48
  };
72
- drawBottomBorder: {
73
- label: string;
74
- description: string;
75
- formType: string;
76
- propType: string;
77
- defaultValue: boolean;
78
- editable: boolean;
79
- required: boolean;
80
- group: string;
81
- };
82
- drawStartBorder: {
49
+ paintInside: {
83
50
  label: string;
84
51
  description: string;
85
52
  formType: string;
@@ -89,7 +56,7 @@ export declare const SEED_DATA: ({
89
56
  required: boolean;
90
57
  group: string;
91
58
  };
92
- drawEndBorder: {
59
+ stretch: {
93
60
  label: string;
94
61
  description: string;
95
62
  formType: string;
@@ -99,36 +66,7 @@ export declare const SEED_DATA: ({
99
66
  required: boolean;
100
67
  group: string;
101
68
  };
102
- };
103
- layout?: undefined;
104
- } | {
105
- name: string;
106
- tag: string;
107
- description: string;
108
- category: string;
109
- stylesPanelSections: string[];
110
- props: {
111
- drawStartBorder: {
112
- defaultValue: boolean;
113
- label: string;
114
- description: string;
115
- formType: string;
116
- propType: string;
117
- editable: boolean;
118
- required: boolean;
119
- group: string;
120
- };
121
- drawBottomBorder: {
122
- defaultValue: boolean;
123
- label: string;
124
- description: string;
125
- formType: string;
126
- propType: string;
127
- editable: boolean;
128
- required: boolean;
129
- group: string;
130
- };
131
- cellVerticalPadding: {
69
+ offsetX: {
132
70
  label: string;
133
71
  description: string;
134
72
  formType: string;
@@ -139,7 +77,7 @@ export declare const SEED_DATA: ({
139
77
  required: boolean;
140
78
  step: number;
141
79
  };
142
- callHorizontalPadding: {
80
+ offsetY: {
143
81
  label: string;
144
82
  description: string;
145
83
  formType: string;
@@ -150,39 +88,7 @@ export declare const SEED_DATA: ({
150
88
  required: boolean;
151
89
  step: number;
152
90
  };
153
- borderWidth: {
154
- label: string;
155
- description: string;
156
- formType: string;
157
- propType: string;
158
- group: string;
159
- defaultValue: null;
160
- editable: boolean;
161
- required: boolean;
162
- step: number;
163
- };
164
- borderColor: {
165
- group: string;
166
- label: string;
167
- description: string;
168
- editable: boolean;
169
- required: boolean;
170
- defaultValue: null;
171
- formType: string;
172
- propType: string;
173
- };
174
- borderStyle: {
175
- group: string;
176
- label: string;
177
- description: string;
178
- editable: boolean;
179
- required: boolean;
180
- formType: string;
181
- propType: string;
182
- defaultValue: null;
183
- options: never[];
184
- };
185
- drawTopBorder: {
91
+ showShadowSideStart: {
186
92
  label: string;
187
93
  description: string;
188
94
  formType: string;
@@ -192,7 +98,7 @@ export declare const SEED_DATA: ({
192
98
  required: boolean;
193
99
  group: string;
194
100
  };
195
- drawEndBorder: {
101
+ showShadowSideEnd: {
196
102
  label: string;
197
103
  description: string;
198
104
  formType: string;
@@ -202,84 +108,37 @@ export declare const SEED_DATA: ({
202
108
  required: boolean;
203
109
  group: string;
204
110
  };
205
- };
206
- layout?: undefined;
207
- } | {
208
- name: string;
209
- tag: string;
210
- description: string;
211
- category: string;
212
- stylesPanelSections: string[];
213
- layout: {
214
- flex: number;
215
- flexDirection: string;
216
- };
217
- props: {
218
- drawEndBorder: {
219
- defaultValue: boolean;
111
+ showShadowSideTop: {
220
112
  label: string;
221
113
  description: string;
222
114
  formType: string;
223
115
  propType: string;
116
+ defaultValue: boolean;
224
117
  editable: boolean;
225
118
  required: boolean;
226
119
  group: string;
227
120
  };
228
- verticalPadding: {
121
+ showShadowSideBottom: {
229
122
  label: string;
230
123
  description: string;
231
124
  formType: string;
232
125
  propType: string;
233
- group: string;
234
- defaultValue: null;
126
+ defaultValue: boolean;
235
127
  editable: boolean;
236
128
  required: boolean;
237
- step: number;
238
- };
239
- horizontalPadding: {
240
- label: string;
241
- description: string;
242
- formType: string;
243
- propType: string;
244
129
  group: string;
245
- defaultValue: null;
246
- editable: boolean;
247
- required: boolean;
248
- step: number;
249
130
  };
250
- borderWidth: {
131
+ showShadowCornerTopStart: {
251
132
  label: string;
252
133
  description: string;
253
134
  formType: string;
254
135
  propType: string;
255
- group: string;
256
- defaultValue: null;
257
- editable: boolean;
258
- required: boolean;
259
- step: number;
260
- };
261
- borderColor: {
262
- group: string;
263
- label: string;
264
- description: string;
136
+ defaultValue: boolean;
265
137
  editable: boolean;
266
138
  required: boolean;
267
- defaultValue: null;
268
- formType: string;
269
- propType: string;
270
- };
271
- borderStyle: {
272
139
  group: string;
273
- label: string;
274
- description: string;
275
- editable: boolean;
276
- required: boolean;
277
- formType: string;
278
- propType: string;
279
- defaultValue: null;
280
- options: never[];
281
140
  };
282
- drawTopBorder: {
141
+ showShadowCornerTopEnd: {
283
142
  label: string;
284
143
  description: string;
285
144
  formType: string;
@@ -289,7 +148,7 @@ export declare const SEED_DATA: ({
289
148
  required: boolean;
290
149
  group: string;
291
150
  };
292
- drawBottomBorder: {
151
+ showShadowCornerBottomStart: {
293
152
  label: string;
294
153
  description: string;
295
154
  formType: string;
@@ -299,7 +158,7 @@ export declare const SEED_DATA: ({
299
158
  required: boolean;
300
159
  group: string;
301
160
  };
302
- drawStartBorder: {
161
+ showShadowCornerBottomEnd: {
303
162
  label: string;
304
163
  description: string;
305
164
  formType: string;
@@ -310,5 +169,5 @@ export declare const SEED_DATA: ({
310
169
  group: string;
311
170
  };
312
171
  };
313
- })[];
314
- //# sourceMappingURL=Table.d.ts.map
172
+ };
173
+ //# sourceMappingURL=Shadow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Shadow.d.ts","sourceRoot":"","sources":["../../../../src/mappings/Shadow.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFrB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draftbit/core",
3
- "version": "46.8.1-61264d.2+61264d3",
3
+ "version": "46.8.1-a386d4.2+a386d44",
4
4
  "description": "Core (non-native) Components",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@date-io/date-fns": "^1.3.13",
43
43
  "@draftbit/react-theme-provider": "^2.1.1",
44
- "@draftbit/types": "^46.8.1-61264d.2+61264d3",
44
+ "@draftbit/types": "^46.8.1-a386d4.2+a386d44",
45
45
  "@material-ui/core": "^4.11.0",
46
46
  "@material-ui/pickers": "^3.2.10",
47
47
  "@react-native-community/slider": "4.2.3",
@@ -55,6 +55,7 @@
55
55
  "lodash.tonumber": "^4.0.3",
56
56
  "react-native-deck-swiper": "^2.0.12",
57
57
  "react-native-modal-datetime-picker": "^13.0.0",
58
+ "react-native-shadow-2": "^7.0.6",
58
59
  "react-native-svg": "12.3.0",
59
60
  "react-native-typography": "^1.4.1",
60
61
  "react-native-web-swiper": "^2.2.3"
@@ -92,5 +93,5 @@
92
93
  ]
93
94
  ]
94
95
  },
95
- "gitHead": "61264d30c8d88a2b2f3ef07bd44d44f682b838d4"
96
+ "gitHead": "a386d44888799fa19a963b71ea2a3bdd62b96237"
96
97
  }
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import { Shadow as ShadowComponent } from "react-native-shadow-2";
3
+ const Shadow = ({ offsetX = 0, offsetY = 0, showShadowSideStart = true, showShadowSideEnd = true, showShadowSideTop = true, showShadowSideBottom = true, showShadowCornerTopStart = true, showShadowCornerTopEnd = true, showShadowCornerBottomStart = true, showShadowCornerBottomEnd = true, paintInside = false, style, ...rest }) => {
4
+ return (React.createElement(ShadowComponent, { offset: [offsetX, offsetY], sides: {
5
+ start: showShadowSideStart,
6
+ end: showShadowSideEnd,
7
+ top: showShadowSideTop,
8
+ bottom: showShadowSideBottom,
9
+ }, corners: {
10
+ topStart: showShadowCornerTopStart,
11
+ topEnd: showShadowCornerTopEnd,
12
+ bottomStart: showShadowCornerBottomStart,
13
+ bottomEnd: showShadowCornerBottomEnd,
14
+ }, containerStyle: style, paintInside: paintInside, ...rest }));
15
+ };
16
+ export default Shadow;
@@ -0,0 +1,62 @@
1
+ import React from "react";
2
+ import { StyleProp, ViewStyle } from "react-native";
3
+ import { Shadow as ShadowComponent } from "react-native-shadow-2";
4
+
5
+ interface ShadowProps {
6
+ disabled?: boolean;
7
+ startColor?: string;
8
+ endColor?: string;
9
+ distance?: number;
10
+ paintInside?: boolean;
11
+ stretch?: boolean;
12
+ offsetX?: number;
13
+ offsetY?: number;
14
+ showShadowSideStart?: boolean;
15
+ showShadowSideEnd?: boolean;
16
+ showShadowSideTop?: boolean;
17
+ showShadowSideBottom?: boolean;
18
+ showShadowCornerTopStart?: boolean;
19
+ showShadowCornerTopEnd?: boolean;
20
+ showShadowCornerBottomStart?: boolean;
21
+ showShadowCornerBottomEnd?: boolean;
22
+ style?: StyleProp<ViewStyle>;
23
+ }
24
+
25
+ const Shadow: React.FC<React.PropsWithChildren<ShadowProps>> = ({
26
+ offsetX = 0,
27
+ offsetY = 0,
28
+ showShadowSideStart = true,
29
+ showShadowSideEnd = true,
30
+ showShadowSideTop = true,
31
+ showShadowSideBottom = true,
32
+ showShadowCornerTopStart = true,
33
+ showShadowCornerTopEnd = true,
34
+ showShadowCornerBottomStart = true,
35
+ showShadowCornerBottomEnd = true,
36
+ paintInside = false,
37
+ style,
38
+ ...rest
39
+ }) => {
40
+ return (
41
+ <ShadowComponent
42
+ offset={[offsetX, offsetY]}
43
+ sides={{
44
+ start: showShadowSideStart,
45
+ end: showShadowSideEnd,
46
+ top: showShadowSideTop,
47
+ bottom: showShadowSideBottom,
48
+ }}
49
+ corners={{
50
+ topStart: showShadowCornerTopStart,
51
+ topEnd: showShadowCornerTopEnd,
52
+ bottomStart: showShadowCornerBottomStart,
53
+ bottomEnd: showShadowCornerBottomEnd,
54
+ }}
55
+ containerStyle={style}
56
+ paintInside={paintInside}
57
+ {...rest}
58
+ />
59
+ );
60
+ };
61
+
62
+ export default Shadow;
package/src/index.js CHANGED
@@ -31,8 +31,8 @@ export { ActionSheet, ActionSheetItem, ActionSheetCancel, } from "./components/A
31
31
  export { Swiper, SwiperItem } from "./components/Swiper";
32
32
  export { Center, Circle, Square, Row, Stack, Spacer, } from "./components/Layout";
33
33
  export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup, } from "./components/RadioButton/index";
34
+ export { default as Shadow } from "./components/Shadow";
34
35
  export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
35
- export { Table, TableRow, TableCell } from "./components/Table";
36
36
  /* Deprecated: Fix or Delete! */
37
37
  export { default as DatePicker } from "./components/DatePicker/DatePicker";
38
38
  export { default as Picker } from "./components/Picker/Picker";
package/src/index.tsx CHANGED
@@ -51,9 +51,9 @@ export {
51
51
  RadioButtonFieldGroup,
52
52
  } from "./components/RadioButton/index";
53
53
 
54
- export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
54
+ export { default as Shadow } from "./components/Shadow";
55
55
 
56
- export { Table, TableRow, TableCell } from "./components/Table";
56
+ export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
57
57
 
58
58
  /* Deprecated: Fix or Delete! */
59
59
  export { default as DatePicker } from "./components/DatePicker/DatePicker";
@@ -0,0 +1,87 @@
1
+ import { COMPONENT_TYPES, CONTAINER_COMPONENT_STYLES_SECTIONS, createColorProp, createStaticNumberProp, createStaticBoolProp, createDisabledProp, } from "@draftbit/types";
2
+ export const SEED_DATA = {
3
+ name: "Shadow",
4
+ tag: "Shadow",
5
+ description: "A cross-platform, universal shadow.",
6
+ category: COMPONENT_TYPES.view,
7
+ stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
8
+ props: {
9
+ disabled: createDisabledProp({
10
+ description: "Disables the shadow.",
11
+ }),
12
+ startColor: createColorProp({
13
+ label: "Start Color",
14
+ description: "The initial gradient color of the shadow.",
15
+ defaultValue: null,
16
+ }),
17
+ endColor: createColorProp({
18
+ label: "End Color",
19
+ description: "The final gradient color of the shadow.",
20
+ defaultValue: null,
21
+ }),
22
+ distance: createStaticNumberProp({
23
+ label: "Distance",
24
+ description: "The distance of the shadow.",
25
+ }),
26
+ paintInside: createStaticBoolProp({
27
+ label: "Paint Inside",
28
+ description: "Apply the shadow below/inside the content.",
29
+ defaultValue: false,
30
+ }),
31
+ stretch: createStaticBoolProp({
32
+ label: "Stretch",
33
+ description: "Force children to occupy all available horizontal space.",
34
+ defaultValue: null,
35
+ }),
36
+ offsetX: createStaticNumberProp({
37
+ label: "Offset X",
38
+ description: "Moves the shadow in the x direction",
39
+ defeaultValue: 0,
40
+ }),
41
+ offsetY: createStaticNumberProp({
42
+ label: "Offset Y",
43
+ description: "Moves the shadow in the y direction",
44
+ defeaultValue: 0,
45
+ }),
46
+ showShadowSideStart: createStaticBoolProp({
47
+ label: "Show Shadow Start",
48
+ description: "Whether to show shadow on the start side or not",
49
+ defaultValue: true,
50
+ }),
51
+ showShadowSideEnd: createStaticBoolProp({
52
+ label: "Show Shadow End",
53
+ description: "Whether to show shadow on the end side or not",
54
+ defaultValue: true,
55
+ }),
56
+ showShadowSideTop: createStaticBoolProp({
57
+ label: "Show Shadow Top",
58
+ description: "Whether to show shadow on the top side or not",
59
+ defaultValue: true,
60
+ }),
61
+ showShadowSideBottom: createStaticBoolProp({
62
+ label: "Show Shadow Bottom",
63
+ description: "Whether to show shadow on the bottom side or not",
64
+ defaultValue: true,
65
+ }),
66
+ showShadowCornerTopStart: createStaticBoolProp({
67
+ label: "Show Shadow Top Start Corner",
68
+ description: "Whether to show shadow on the top start corner or not",
69
+ defaultValue: true,
70
+ }),
71
+ showShadowCornerTopEnd: createStaticBoolProp({
72
+ label: "Show Shadow Top End Corner",
73
+ description: "Whether to show shadow on the top end corner or not",
74
+ defaultValue: true,
75
+ }),
76
+ showShadowCornerBottomStart: createStaticBoolProp({
77
+ label: "Show Shadow Bottom Start Corner",
78
+ description: "Whether to show shadow on the bottom start corner or not",
79
+ defaultValue: true,
80
+ }),
81
+ showShadowCornerBottomEnd: createStaticBoolProp({
82
+ label: "Show Shadow Bottom End Corner",
83
+ description: "Whether to show shadow on the bottom end corner or not",
84
+ defaultValue: true,
85
+ }),
86
+ },
87
+ };
@@ -0,0 +1,95 @@
1
+ import {
2
+ COMPONENT_TYPES,
3
+ CONTAINER_COMPONENT_STYLES_SECTIONS,
4
+ createColorProp,
5
+ createStaticNumberProp,
6
+ createStaticBoolProp,
7
+ createDisabledProp,
8
+ } from "@draftbit/types";
9
+
10
+ export const SEED_DATA = {
11
+ name: "Shadow",
12
+ tag: "Shadow",
13
+ description: "A cross-platform, universal shadow.",
14
+ category: COMPONENT_TYPES.view,
15
+ stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
16
+ props: {
17
+ disabled: createDisabledProp({
18
+ description: "Disables the shadow.",
19
+ }),
20
+ startColor: createColorProp({
21
+ label: "Start Color",
22
+ description: "The initial gradient color of the shadow.",
23
+ defaultValue: null,
24
+ }),
25
+ endColor: createColorProp({
26
+ label: "End Color",
27
+ description: "The final gradient color of the shadow.",
28
+ defaultValue: null,
29
+ }),
30
+ distance: createStaticNumberProp({
31
+ label: "Distance",
32
+ description: "The distance of the shadow.",
33
+ }),
34
+ paintInside: createStaticBoolProp({
35
+ label: "Paint Inside",
36
+ description: "Apply the shadow below/inside the content.",
37
+ defaultValue: false,
38
+ }),
39
+ stretch: createStaticBoolProp({
40
+ label: "Stretch",
41
+ description: "Force children to occupy all available horizontal space.",
42
+ defaultValue: null,
43
+ }),
44
+ offsetX: createStaticNumberProp({
45
+ label: "Offset X",
46
+ description: "Moves the shadow in the x direction",
47
+ defeaultValue: 0,
48
+ }),
49
+ offsetY: createStaticNumberProp({
50
+ label: "Offset Y",
51
+ description: "Moves the shadow in the y direction",
52
+ defeaultValue: 0,
53
+ }),
54
+ showShadowSideStart: createStaticBoolProp({
55
+ label: "Show Shadow Start",
56
+ description: "Whether to show shadow on the start side or not",
57
+ defaultValue: true,
58
+ }),
59
+ showShadowSideEnd: createStaticBoolProp({
60
+ label: "Show Shadow End",
61
+ description: "Whether to show shadow on the end side or not",
62
+ defaultValue: true,
63
+ }),
64
+ showShadowSideTop: createStaticBoolProp({
65
+ label: "Show Shadow Top",
66
+ description: "Whether to show shadow on the top side or not",
67
+ defaultValue: true,
68
+ }),
69
+ showShadowSideBottom: createStaticBoolProp({
70
+ label: "Show Shadow Bottom",
71
+ description: "Whether to show shadow on the bottom side or not",
72
+ defaultValue: true,
73
+ }),
74
+ showShadowCornerTopStart: createStaticBoolProp({
75
+ label: "Show Shadow Top Start Corner",
76
+ description: "Whether to show shadow on the top start corner or not",
77
+ defaultValue: true,
78
+ }),
79
+ showShadowCornerTopEnd: createStaticBoolProp({
80
+ label: "Show Shadow Top End Corner",
81
+ description: "Whether to show shadow on the top end corner or not",
82
+ defaultValue: true,
83
+ }),
84
+ showShadowCornerBottomStart: createStaticBoolProp({
85
+ label: "Show Shadow Bottom Start Corner",
86
+ description: "Whether to show shadow on the bottom start corner or not",
87
+ defaultValue: true,
88
+ }),
89
+ showShadowCornerBottomEnd: createStaticBoolProp({
90
+ label: "Show Shadow Bottom End Corner",
91
+ description: "Whether to show shadow on the bottom end corner or not",
92
+ defaultValue: true,
93
+ }),
94
+ },
95
+ };