@draftbit/core 46.8.1-c77269.2 → 46.8.1-d2585a.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.
@@ -0,0 +1,193 @@
1
+ import { COMPONENT_TYPES, createTextProp, FORM_TYPES, PROP_TYPES, GROUPS, StylesPanelSections, Triggers, } from "@draftbit/types";
2
+ const SEED_DATA_TRIGGERS = [Triggers.OnValueChange];
3
+ const ELEMENT_SEED_DATA = {
4
+ doc_link: "https://www.npmjs.com/package/@expo/html-elements",
5
+ code_link: "https://github.com/expo/expo/tree/master/packages/html-elements",
6
+ packageName: "@expo/html-elements",
7
+ stylesPanelSections: [
8
+ StylesPanelSections.Typography,
9
+ StylesPanelSections.LayoutSelectedItem,
10
+ StylesPanelSections.MarginsAndPaddings,
11
+ StylesPanelSections.Effects,
12
+ ],
13
+ layout: {
14
+ margin: 0,
15
+ },
16
+ triggers: SEED_DATA_TRIGGERS,
17
+ category: COMPONENT_TYPES.webelement,
18
+ };
19
+ const HEADING_SEED_DATA = {
20
+ ...ELEMENT_SEED_DATA,
21
+ category: COMPONENT_TYPES.text,
22
+ props: {
23
+ accessibilityLabel: {
24
+ group: GROUPS.accessibility,
25
+ name: "accessibilityLabel",
26
+ label: "accessibilityLabel",
27
+ description: "Overrides the text that's read by the screen reader when the user interacts with the element. By default, the label is constructed by traversing all the children and accumulating all the Text nodes separated by space.",
28
+ editable: true,
29
+ required: false,
30
+ formType: FORM_TYPES.string,
31
+ propType: PROP_TYPES.STRING,
32
+ defaultValue: null,
33
+ },
34
+ selectable: {
35
+ group: GROUPS.advanced,
36
+ name: "selectable",
37
+ label: "selectable",
38
+ description: "Lets the user select text, to use the native copy and paste functionality.",
39
+ editable: true,
40
+ required: false,
41
+ formType: FORM_TYPES.boolean,
42
+ propType: PROP_TYPES.BOOLEAN,
43
+ defaultValue: null,
44
+ },
45
+ children: {
46
+ group: GROUPS.data,
47
+ label: "Text",
48
+ description: "Text",
49
+ editable: true,
50
+ required: true,
51
+ formType: FORM_TYPES.string,
52
+ propType: PROP_TYPES.STRING,
53
+ defaultValue: "Your Headline Here",
54
+ },
55
+ },
56
+ };
57
+ const TEXT_SEED_DATA = {
58
+ ...ELEMENT_SEED_DATA,
59
+ category: COMPONENT_TYPES.text,
60
+ props: {
61
+ children: {
62
+ group: GROUPS.data,
63
+ label: "Text",
64
+ description: "Text",
65
+ defaultValue: "Your Text Here",
66
+ editable: true,
67
+ required: true,
68
+ formType: FORM_TYPES.string,
69
+ propType: PROP_TYPES.STRING,
70
+ },
71
+ },
72
+ };
73
+ export const SEED_DATA = [
74
+ {
75
+ name: "H1",
76
+ tag: "H1",
77
+ ...HEADING_SEED_DATA,
78
+ },
79
+ {
80
+ name: "H2",
81
+ tag: "H2",
82
+ ...HEADING_SEED_DATA,
83
+ },
84
+ {
85
+ name: "H3",
86
+ tag: "H3",
87
+ ...HEADING_SEED_DATA,
88
+ },
89
+ {
90
+ name: "H4",
91
+ tag: "H4",
92
+ ...HEADING_SEED_DATA,
93
+ },
94
+ {
95
+ name: "H5",
96
+ tag: "H5",
97
+ ...HEADING_SEED_DATA,
98
+ },
99
+ {
100
+ name: "H6",
101
+ tag: "H6",
102
+ ...HEADING_SEED_DATA,
103
+ },
104
+ {
105
+ name: "Anchor",
106
+ tag: "A",
107
+ ...TEXT_SEED_DATA,
108
+ props: {
109
+ href: createTextProp({
110
+ label: "href",
111
+ description: "Specify the URL",
112
+ defaultValue: "",
113
+ }),
114
+ target: {
115
+ group: GROUPS.basic,
116
+ label: "target",
117
+ description: "decide where link should open",
118
+ formType: FORM_TYPES.flatArray,
119
+ defaultValue: "_blank",
120
+ options: ["_blank", "_self", "_parent", "_top"],
121
+ },
122
+ },
123
+ },
124
+ {
125
+ name: "Paragraph",
126
+ tag: "P",
127
+ ...TEXT_SEED_DATA,
128
+ props: {
129
+ // NOTE - Keeping the props commented until we figure out a way to use this props from draftbit side.
130
+ // strong: createBoolProp({
131
+ // label: "Strong",
132
+ // description: "Strong",
133
+ // }),
134
+ // strike: createBoolProp({
135
+ // label: "Strike",
136
+ // description: "Strike through",
137
+ // }),
138
+ // italic: createBoolProp({
139
+ // label: "Italic",
140
+ // description: "Italic Fonts",
141
+ // }),
142
+ // bold: createBoolProp({
143
+ // label: "Bold",
144
+ // description: "Bold",
145
+ // }),
146
+ },
147
+ },
148
+ {
149
+ name: "Code",
150
+ tag: "Code",
151
+ ...TEXT_SEED_DATA,
152
+ },
153
+ {
154
+ name: "Pre",
155
+ tag: "Pre",
156
+ ...TEXT_SEED_DATA,
157
+ },
158
+ {
159
+ name: "Mark",
160
+ tag: "Mark",
161
+ ...TEXT_SEED_DATA,
162
+ },
163
+ {
164
+ name: "BR",
165
+ tag: "BR",
166
+ ...TEXT_SEED_DATA,
167
+ },
168
+ {
169
+ name: "BlockQuote",
170
+ tag: "BlockQuote",
171
+ ...TEXT_SEED_DATA,
172
+ },
173
+ {
174
+ name: "HR",
175
+ tag: "HR",
176
+ ...TEXT_SEED_DATA,
177
+ },
178
+ {
179
+ name: "Time",
180
+ tag: "Time",
181
+ ...ELEMENT_SEED_DATA,
182
+ },
183
+ {
184
+ name: "UL",
185
+ tag: "UL",
186
+ ...ELEMENT_SEED_DATA,
187
+ },
188
+ {
189
+ name: "LI",
190
+ tag: "LI",
191
+ ...ELEMENT_SEED_DATA,
192
+ },
193
+ ];
@@ -0,0 +1,207 @@
1
+ import {
2
+ COMPONENT_TYPES,
3
+ createTextProp,
4
+ FORM_TYPES,
5
+ PROP_TYPES,
6
+ GROUPS,
7
+ StylesPanelSections,
8
+ Triggers,
9
+ } from "@draftbit/types";
10
+ const SEED_DATA_TRIGGERS = [Triggers.OnValueChange];
11
+
12
+ const ELEMENT_SEED_DATA = {
13
+ doc_link: "https://www.npmjs.com/package/@expo/html-elements",
14
+ code_link: "https://github.com/expo/expo/tree/master/packages/html-elements",
15
+ packageName: "@expo/html-elements",
16
+ stylesPanelSections: [
17
+ StylesPanelSections.Typography,
18
+ StylesPanelSections.LayoutSelectedItem,
19
+ StylesPanelSections.MarginsAndPaddings,
20
+ StylesPanelSections.Effects,
21
+ ],
22
+ layout: {
23
+ margin: 0,
24
+ },
25
+ triggers: SEED_DATA_TRIGGERS,
26
+ category: COMPONENT_TYPES.webelement,
27
+ };
28
+
29
+ const HEADING_SEED_DATA = {
30
+ ...ELEMENT_SEED_DATA,
31
+ category: COMPONENT_TYPES.text,
32
+ props: {
33
+ accessibilityLabel: {
34
+ group: GROUPS.accessibility,
35
+ name: "accessibilityLabel",
36
+ label: "accessibilityLabel",
37
+ description:
38
+ "Overrides the text that's read by the screen reader when the user interacts with the element. By default, the label is constructed by traversing all the children and accumulating all the Text nodes separated by space.",
39
+ editable: true,
40
+ required: false,
41
+ formType: FORM_TYPES.string,
42
+ propType: PROP_TYPES.STRING,
43
+ defaultValue: null,
44
+ },
45
+ selectable: {
46
+ group: GROUPS.advanced,
47
+ name: "selectable",
48
+ label: "selectable",
49
+ description:
50
+ "Lets the user select text, to use the native copy and paste functionality.",
51
+ editable: true,
52
+ required: false,
53
+ formType: FORM_TYPES.boolean,
54
+ propType: PROP_TYPES.BOOLEAN,
55
+ defaultValue: null,
56
+ },
57
+ children: {
58
+ group: GROUPS.data,
59
+ label: "Text",
60
+ description: "Text",
61
+ editable: true,
62
+ required: true,
63
+ formType: FORM_TYPES.string,
64
+ propType: PROP_TYPES.STRING,
65
+ defaultValue: "Your Headline Here",
66
+ },
67
+ },
68
+ };
69
+
70
+ const TEXT_SEED_DATA = {
71
+ ...ELEMENT_SEED_DATA,
72
+ category: COMPONENT_TYPES.text,
73
+ props: {
74
+ children: {
75
+ group: GROUPS.data,
76
+ label: "Text",
77
+ description: "Text",
78
+ defaultValue: "Your Text Here",
79
+ editable: true,
80
+ required: true,
81
+ formType: FORM_TYPES.string,
82
+ propType: PROP_TYPES.STRING,
83
+ },
84
+ },
85
+ };
86
+
87
+ export const SEED_DATA = [
88
+ {
89
+ name: "H1",
90
+ tag: "H1",
91
+ ...HEADING_SEED_DATA,
92
+ },
93
+ {
94
+ name: "H2",
95
+ tag: "H2",
96
+ ...HEADING_SEED_DATA,
97
+ },
98
+ {
99
+ name: "H3",
100
+ tag: "H3",
101
+ ...HEADING_SEED_DATA,
102
+ },
103
+ {
104
+ name: "H4",
105
+ tag: "H4",
106
+ ...HEADING_SEED_DATA,
107
+ },
108
+ {
109
+ name: "H5",
110
+ tag: "H5",
111
+ ...HEADING_SEED_DATA,
112
+ },
113
+ {
114
+ name: "H6",
115
+ tag: "H6",
116
+ ...HEADING_SEED_DATA,
117
+ },
118
+ {
119
+ name: "Anchor",
120
+ tag: "A",
121
+ ...TEXT_SEED_DATA,
122
+ props: {
123
+ href: createTextProp({
124
+ label: "href",
125
+ description: "Specify the URL",
126
+ defaultValue: "",
127
+ }),
128
+ target: {
129
+ group: GROUPS.basic,
130
+ label: "target",
131
+ description: "decide where link should open",
132
+ formType: FORM_TYPES.flatArray,
133
+ defaultValue: "_blank",
134
+ options: ["_blank", "_self", "_parent", "_top"],
135
+ },
136
+ },
137
+ },
138
+ {
139
+ name: "Paragraph",
140
+ tag: "P",
141
+ ...TEXT_SEED_DATA,
142
+ props: {
143
+ // NOTE - Keeping the props commented until we figure out a way to use this props from draftbit side.
144
+ // strong: createBoolProp({
145
+ // label: "Strong",
146
+ // description: "Strong",
147
+ // }),
148
+ // strike: createBoolProp({
149
+ // label: "Strike",
150
+ // description: "Strike through",
151
+ // }),
152
+ // italic: createBoolProp({
153
+ // label: "Italic",
154
+ // description: "Italic Fonts",
155
+ // }),
156
+ // bold: createBoolProp({
157
+ // label: "Bold",
158
+ // description: "Bold",
159
+ // }),
160
+ },
161
+ },
162
+ {
163
+ name: "Code",
164
+ tag: "Code",
165
+ ...TEXT_SEED_DATA,
166
+ },
167
+ {
168
+ name: "Pre",
169
+ tag: "Pre",
170
+ ...TEXT_SEED_DATA,
171
+ },
172
+ {
173
+ name: "Mark",
174
+ tag: "Mark",
175
+ ...TEXT_SEED_DATA,
176
+ },
177
+ {
178
+ name: "BR",
179
+ tag: "BR",
180
+ ...TEXT_SEED_DATA,
181
+ },
182
+ {
183
+ name: "BlockQuote",
184
+ tag: "BlockQuote",
185
+ ...TEXT_SEED_DATA,
186
+ },
187
+ {
188
+ name: "HR",
189
+ tag: "HR",
190
+ ...TEXT_SEED_DATA,
191
+ },
192
+ {
193
+ name: "Time",
194
+ tag: "Time",
195
+ ...ELEMENT_SEED_DATA,
196
+ },
197
+ {
198
+ name: "UL",
199
+ tag: "UL",
200
+ ...ELEMENT_SEED_DATA,
201
+ },
202
+ {
203
+ name: "LI",
204
+ tag: "LI",
205
+ ...ELEMENT_SEED_DATA,
206
+ },
207
+ ];
@@ -1,48 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _reactNativeShadow = require("react-native-shadow-2");
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
11
- const Shadow = _ref => {
12
- let {
13
- offsetX = 0,
14
- offsetY = 0,
15
- showShadowSideStart = true,
16
- showShadowSideEnd = true,
17
- showShadowSideTop = true,
18
- showShadowSideBottom = true,
19
- showShadowCornerTopStart = true,
20
- showShadowCornerTopEnd = true,
21
- showShadowCornerBottomStart = true,
22
- showShadowCornerBottomEnd = true,
23
- paintInside = false,
24
- stretch = false,
25
- style,
26
- ...rest
27
- } = _ref;
28
- return /*#__PURE__*/_react.default.createElement(_reactNativeShadow.Shadow, _extends({
29
- offset: [offsetX, offsetY],
30
- sides: {
31
- start: showShadowSideStart,
32
- end: showShadowSideEnd,
33
- top: showShadowSideTop,
34
- bottom: showShadowSideBottom
35
- },
36
- corners: {
37
- topStart: showShadowCornerTopStart,
38
- topEnd: showShadowCornerTopEnd,
39
- bottomStart: showShadowCornerBottomStart,
40
- bottomEnd: showShadowCornerBottomEnd
41
- },
42
- containerStyle: style,
43
- paintInside: paintInside,
44
- stretch: stretch
45
- }, rest));
46
- };
47
- var _default = Shadow;
48
- exports.default = _default;
@@ -1,94 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.SEED_DATA = void 0;
7
- var _types = require("@draftbit/types");
8
- const SEED_DATA = {
9
- name: "Shadow",
10
- tag: "Shadow",
11
- description: "A cross-platform, universal shadow.",
12
- category: _types.COMPONENT_TYPES.view,
13
- stylesPanelSections: _types.CONTAINER_COMPONENT_STYLES_SECTIONS,
14
- props: {
15
- disabled: (0, _types.createDisabledProp)({
16
- description: "Disables the shadow."
17
- }),
18
- startColor: (0, _types.createColorProp)({
19
- label: "Start Color",
20
- description: "The initial gradient color of the shadow.",
21
- defaultValue: null
22
- }),
23
- endColor: (0, _types.createColorProp)({
24
- label: "End Color",
25
- description: "The final gradient color of the shadow.",
26
- defaultValue: null
27
- }),
28
- distance: (0, _types.createStaticNumberProp)({
29
- label: "Distance",
30
- description: "The distance of the shadow."
31
- }),
32
- paintInside: (0, _types.createStaticBoolProp)({
33
- label: "Paint Inside",
34
- description: "Apply the shadow below/inside the content.",
35
- defaultValue: false
36
- }),
37
- stretch: (0, _types.createStaticBoolProp)({
38
- label: "Stretch",
39
- description: "Force children to occupy all available horizontal space.",
40
- defaultValue: false
41
- }),
42
- offsetX: (0, _types.createStaticNumberProp)({
43
- label: "Offset X",
44
- description: "Moves the shadow in the x direction",
45
- defeaultValue: 0
46
- }),
47
- offsetY: (0, _types.createStaticNumberProp)({
48
- label: "Offset Y",
49
- description: "Moves the shadow in the y direction",
50
- defeaultValue: 0
51
- }),
52
- showShadowSideStart: (0, _types.createStaticBoolProp)({
53
- label: "Show Shadow Start",
54
- description: "Whether to show shadow on the start side or not",
55
- defaultValue: true
56
- }),
57
- showShadowSideEnd: (0, _types.createStaticBoolProp)({
58
- label: "Show Shadow End",
59
- description: "Whether to show shadow on the end side or not",
60
- defaultValue: true
61
- }),
62
- showShadowSideTop: (0, _types.createStaticBoolProp)({
63
- label: "Show Shadow Top",
64
- description: "Whether to show shadow on the top side or not",
65
- defaultValue: true
66
- }),
67
- showShadowSideBottom: (0, _types.createStaticBoolProp)({
68
- label: "Show Shadow Bottom",
69
- description: "Whether to show shadow on the bottom side or not",
70
- defaultValue: true
71
- }),
72
- showShadowCornerTopStart: (0, _types.createStaticBoolProp)({
73
- label: "Show Shadow Top Start Corner",
74
- description: "Whether to show shadow on the top start corner or not",
75
- defaultValue: true
76
- }),
77
- showShadowCornerTopEnd: (0, _types.createStaticBoolProp)({
78
- label: "Show Shadow Top End Corner",
79
- description: "Whether to show shadow on the top end corner or not",
80
- defaultValue: true
81
- }),
82
- showShadowCornerBottomStart: (0, _types.createStaticBoolProp)({
83
- label: "Show Shadow Bottom Start Corner",
84
- description: "Whether to show shadow on the bottom start corner or not",
85
- defaultValue: true
86
- }),
87
- showShadowCornerBottomEnd: (0, _types.createStaticBoolProp)({
88
- label: "Show Shadow Bottom End Corner",
89
- description: "Whether to show shadow on the bottom end corner or not",
90
- defaultValue: true
91
- })
92
- }
93
- };
94
- exports.SEED_DATA = SEED_DATA;
@@ -1,40 +0,0 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- import React from "react";
3
- import { Shadow as ShadowComponent } from "react-native-shadow-2";
4
- const Shadow = _ref => {
5
- let {
6
- offsetX = 0,
7
- offsetY = 0,
8
- showShadowSideStart = true,
9
- showShadowSideEnd = true,
10
- showShadowSideTop = true,
11
- showShadowSideBottom = true,
12
- showShadowCornerTopStart = true,
13
- showShadowCornerTopEnd = true,
14
- showShadowCornerBottomStart = true,
15
- showShadowCornerBottomEnd = true,
16
- paintInside = false,
17
- stretch = false,
18
- style,
19
- ...rest
20
- } = _ref;
21
- return /*#__PURE__*/React.createElement(ShadowComponent, _extends({
22
- offset: [offsetX, offsetY],
23
- sides: {
24
- start: showShadowSideStart,
25
- end: showShadowSideEnd,
26
- top: showShadowSideTop,
27
- bottom: showShadowSideBottom
28
- },
29
- corners: {
30
- topStart: showShadowCornerTopStart,
31
- topEnd: showShadowCornerTopEnd,
32
- bottomStart: showShadowCornerBottomStart,
33
- bottomEnd: showShadowCornerBottomEnd
34
- },
35
- containerStyle: style,
36
- paintInside: paintInside,
37
- stretch: stretch
38
- }, rest));
39
- };
40
- export default Shadow;
@@ -1,87 +0,0 @@
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: false
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
- };
@@ -1,24 +0,0 @@
1
- import React from "react";
2
- import { StyleProp, ViewStyle } from "react-native";
3
- interface ShadowProps {
4
- disabled?: boolean;
5
- startColor?: string;
6
- endColor?: string;
7
- distance?: number;
8
- paintInside?: boolean;
9
- stretch?: boolean;
10
- offsetX?: number;
11
- offsetY?: number;
12
- showShadowSideStart?: boolean;
13
- showShadowSideEnd?: boolean;
14
- showShadowSideTop?: boolean;
15
- showShadowSideBottom?: boolean;
16
- showShadowCornerTopStart?: boolean;
17
- showShadowCornerTopEnd?: boolean;
18
- showShadowCornerBottomStart?: boolean;
19
- showShadowCornerBottomEnd?: boolean;
20
- style?: StyleProp<ViewStyle>;
21
- }
22
- declare const Shadow: React.FC<React.PropsWithChildren<ShadowProps>>;
23
- export default Shadow;
24
- //# sourceMappingURL=Shadow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Shadow.d.ts","sourceRoot":"","sources":["../../../../src/components/Shadow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAqC1D,CAAC;AAEF,eAAe,MAAM,CAAC"}