@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.
- package/lib/commonjs/components/NumberInput.js +12 -3
- package/lib/commonjs/components/Surface.js +2 -14
- package/lib/commonjs/components/ToggleButton.js +15 -2
- package/lib/commonjs/index.js +0 -7
- package/lib/commonjs/mappings/HtmlElements.js +177 -0
- package/lib/module/index.js +0 -1
- package/lib/module/mappings/HtmlElements.js +170 -0
- package/lib/typescript/src/index.d.ts +0 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/mappings/HtmlElements.d.ts +77 -0
- package/lib/typescript/src/mappings/HtmlElements.d.ts.map +1 -0
- package/package.json +4 -4
- package/src/index.js +0 -1
- package/src/index.tsx +0 -2
- package/src/mappings/HtmlElements.js +193 -0
- package/src/mappings/HtmlElements.ts +207 -0
- package/lib/commonjs/components/Shadow.js +0 -48
- package/lib/commonjs/mappings/Shadow.js +0 -94
- package/lib/module/components/Shadow.js +0 -40
- package/lib/module/mappings/Shadow.js +0 -87
- package/lib/typescript/src/components/Shadow.d.ts +0 -24
- package/lib/typescript/src/components/Shadow.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Shadow.d.ts +0 -173
- package/lib/typescript/src/mappings/Shadow.d.ts.map +0 -1
- package/src/components/Shadow.js +0 -16
- package/src/components/Shadow.tsx +0 -64
- package/src/mappings/Shadow.js +0 -87
- package/src/mappings/Shadow.ts +0 -95
|
@@ -9,7 +9,6 @@ var _reactNative = require("react-native");
|
|
|
9
9
|
var _lodash = require("lodash");
|
|
10
10
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
11
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
|
-
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); }
|
|
13
12
|
const NumberInput = _ref => {
|
|
14
13
|
let {
|
|
15
14
|
onChangeText,
|
|
@@ -40,7 +39,6 @@ const NumberInput = _ref => {
|
|
|
40
39
|
setCurrentStringNumberValue(newStringNumberValue);
|
|
41
40
|
onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText(number);
|
|
42
41
|
};
|
|
43
|
-
|
|
44
42
|
// run handleChangeText with value prop only when value prop changes (and first render to reset currentStringNumberValue)
|
|
45
43
|
(0, _react.useEffect)(() => {
|
|
46
44
|
const nextStringNumberValue = formatValueToStringNumber(value);
|
|
@@ -49,7 +47,6 @@ const NumberInput = _ref => {
|
|
|
49
47
|
}
|
|
50
48
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
51
49
|
}, [value]);
|
|
52
|
-
|
|
53
50
|
// set currentStringNumberValue as defaultValue prop if there is a differnce on first render only
|
|
54
51
|
(0, _react.useEffect)(() => {
|
|
55
52
|
const defaultStringNumberValue = formatValueToStringNumber(defaultValue);
|
|
@@ -58,6 +55,18 @@ const NumberInput = _ref => {
|
|
|
58
55
|
}
|
|
59
56
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
60
57
|
}, []);
|
|
58
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.TextInput, {
|
|
59
|
+
keyboardType: "numeric",
|
|
60
|
+
value: currentStringNumberValue,
|
|
61
|
+
onChangeText: handleChangeText,
|
|
62
|
+
...props
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
var _default = NumberInput;
|
|
66
|
+
exports.default = _default;erValue);
|
|
67
|
+
}
|
|
68
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
69
|
+
}, []);
|
|
61
70
|
return /*#__PURE__*/_react.default.createElement(_reactNative.TextInput, _extends({
|
|
62
71
|
keyboardType: "numeric",
|
|
63
72
|
value: currentStringNumberValue,
|
|
@@ -12,8 +12,7 @@ var _theming = require("../theming");
|
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
14
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
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); }
|
|
17
16
|
const Surface = _ref => {
|
|
18
17
|
let {
|
|
19
18
|
elevation: propElevation,
|
|
@@ -43,18 +42,7 @@ const Surface = _ref => {
|
|
|
43
42
|
return colors.surface;
|
|
44
43
|
}
|
|
45
44
|
};
|
|
46
|
-
return /*#__PURE__*/React.createElement(_reactNative.Animated.View, {
|
|
47
|
-
...rest,
|
|
48
|
-
style: [{
|
|
49
|
-
backgroundColor: getBackgroundColor(),
|
|
50
|
-
elevation,
|
|
51
|
-
...evalationStyles,
|
|
52
|
-
...restStyle
|
|
53
|
-
}]
|
|
54
|
-
}, children);
|
|
55
|
-
};
|
|
56
|
-
var _default = (0, _theming.withTheme)(Surface);
|
|
57
|
-
exports.default = _default;xtends({}, rest, {
|
|
45
|
+
return /*#__PURE__*/React.createElement(_reactNative.Animated.View, _extends({}, rest, {
|
|
58
46
|
style: [{
|
|
59
47
|
backgroundColor: getBackgroundColor(),
|
|
60
48
|
elevation,
|
|
@@ -11,7 +11,6 @@ var _IconButton = _interopRequireDefault(require("./IconButton"));
|
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
13
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
-
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); }
|
|
15
14
|
const ToggleButton = _ref => {
|
|
16
15
|
let {
|
|
17
16
|
Icon,
|
|
@@ -47,7 +46,7 @@ const ToggleButton = _ref => {
|
|
|
47
46
|
setInternalValue(!internalValue);
|
|
48
47
|
onPress(!internalValue);
|
|
49
48
|
};
|
|
50
|
-
return /*#__PURE__*/React.createElement(_IconButton.default,
|
|
49
|
+
return /*#__PURE__*/React.createElement(_IconButton.default, {
|
|
51
50
|
Icon: Icon,
|
|
52
51
|
icon: icon,
|
|
53
52
|
size: iconSize,
|
|
@@ -59,6 +58,20 @@ const ToggleButton = _ref => {
|
|
|
59
58
|
height,
|
|
60
59
|
backgroundColor: internalValue ? colors[colorSecondary] : colors[color],
|
|
61
60
|
borderColor: colors[borderColor]
|
|
61
|
+
}, style],
|
|
62
|
+
...rest
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
const styles = _reactNative.StyleSheet.create({
|
|
66
|
+
mainContainer: {
|
|
67
|
+
borderWidth: 1
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
var _default = (0, _theming.withTheme)(ToggleButton);
|
|
71
|
+
exports.default = _default;idth,
|
|
72
|
+
height,
|
|
73
|
+
backgroundColor: internalValue ? colors[colorSecondary] : colors[color],
|
|
74
|
+
borderColor: colors[borderColor]
|
|
62
75
|
}, style]
|
|
63
76
|
}, rest));
|
|
64
77
|
};
|
package/lib/commonjs/index.js
CHANGED
|
@@ -273,12 +273,6 @@ Object.defineProperty(exports, "ScreenContainer", {
|
|
|
273
273
|
return _ScreenContainer.default;
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
Object.defineProperty(exports, "Shadow", {
|
|
277
|
-
enumerable: true,
|
|
278
|
-
get: function () {
|
|
279
|
-
return _Shadow.default;
|
|
280
|
-
}
|
|
281
|
-
});
|
|
282
276
|
Object.defineProperty(exports, "Slider", {
|
|
283
277
|
enumerable: true,
|
|
284
278
|
get: function () {
|
|
@@ -419,7 +413,6 @@ var _ActionSheet = require("./components/ActionSheet");
|
|
|
419
413
|
var _Swiper = require("./components/Swiper");
|
|
420
414
|
var _Layout = require("./components/Layout");
|
|
421
415
|
var _index = require("./components/RadioButton/index");
|
|
422
|
-
var _Shadow = _interopRequireDefault(require("./components/Shadow"));
|
|
423
416
|
var _DeckSwiper = require("./components/DeckSwiper");
|
|
424
417
|
var _DatePicker = _interopRequireDefault(require("./components/DatePicker/DatePicker"));
|
|
425
418
|
var _Picker = _interopRequireDefault(require("./components/Picker/Picker"));
|
|
@@ -0,0 +1,177 @@
|
|
|
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_TRIGGERS = [_types.Triggers.OnValueChange];
|
|
9
|
+
const ELEMENT_SEED_DATA = {
|
|
10
|
+
doc_link: "https://www.npmjs.com/package/@expo/html-elements",
|
|
11
|
+
code_link: "https://github.com/expo/expo/tree/master/packages/html-elements",
|
|
12
|
+
packageName: "@expo/html-elements",
|
|
13
|
+
stylesPanelSections: [_types.StylesPanelSections.Typography, _types.StylesPanelSections.LayoutSelectedItem, _types.StylesPanelSections.MarginsAndPaddings, _types.StylesPanelSections.Effects],
|
|
14
|
+
layout: {
|
|
15
|
+
margin: 0
|
|
16
|
+
},
|
|
17
|
+
triggers: SEED_DATA_TRIGGERS,
|
|
18
|
+
category: _types.COMPONENT_TYPES.webelement
|
|
19
|
+
};
|
|
20
|
+
const HEADING_SEED_DATA = {
|
|
21
|
+
...ELEMENT_SEED_DATA,
|
|
22
|
+
category: _types.COMPONENT_TYPES.text,
|
|
23
|
+
props: {
|
|
24
|
+
accessibilityLabel: {
|
|
25
|
+
group: _types.GROUPS.accessibility,
|
|
26
|
+
name: "accessibilityLabel",
|
|
27
|
+
label: "accessibilityLabel",
|
|
28
|
+
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.",
|
|
29
|
+
editable: true,
|
|
30
|
+
required: false,
|
|
31
|
+
formType: _types.FORM_TYPES.string,
|
|
32
|
+
propType: _types.PROP_TYPES.STRING,
|
|
33
|
+
defaultValue: null
|
|
34
|
+
},
|
|
35
|
+
selectable: {
|
|
36
|
+
group: _types.GROUPS.advanced,
|
|
37
|
+
name: "selectable",
|
|
38
|
+
label: "selectable",
|
|
39
|
+
description: "Lets the user select text, to use the native copy and paste functionality.",
|
|
40
|
+
editable: true,
|
|
41
|
+
required: false,
|
|
42
|
+
formType: _types.FORM_TYPES.boolean,
|
|
43
|
+
propType: _types.PROP_TYPES.BOOLEAN,
|
|
44
|
+
defaultValue: null
|
|
45
|
+
},
|
|
46
|
+
children: {
|
|
47
|
+
group: _types.GROUPS.data,
|
|
48
|
+
label: "Text",
|
|
49
|
+
description: "Text",
|
|
50
|
+
editable: true,
|
|
51
|
+
required: true,
|
|
52
|
+
formType: _types.FORM_TYPES.string,
|
|
53
|
+
propType: _types.PROP_TYPES.STRING,
|
|
54
|
+
defaultValue: "Your Headline Here"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
const TEXT_SEED_DATA = {
|
|
59
|
+
...ELEMENT_SEED_DATA,
|
|
60
|
+
category: _types.COMPONENT_TYPES.text,
|
|
61
|
+
props: {
|
|
62
|
+
children: {
|
|
63
|
+
group: _types.GROUPS.data,
|
|
64
|
+
label: "Text",
|
|
65
|
+
description: "Text",
|
|
66
|
+
defaultValue: "Your Text Here",
|
|
67
|
+
editable: true,
|
|
68
|
+
required: true,
|
|
69
|
+
formType: _types.FORM_TYPES.string,
|
|
70
|
+
propType: _types.PROP_TYPES.STRING
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
const SEED_DATA = [{
|
|
75
|
+
name: "H1",
|
|
76
|
+
tag: "H1",
|
|
77
|
+
...HEADING_SEED_DATA
|
|
78
|
+
}, {
|
|
79
|
+
name: "H2",
|
|
80
|
+
tag: "H2",
|
|
81
|
+
...HEADING_SEED_DATA
|
|
82
|
+
}, {
|
|
83
|
+
name: "H3",
|
|
84
|
+
tag: "H3",
|
|
85
|
+
...HEADING_SEED_DATA
|
|
86
|
+
}, {
|
|
87
|
+
name: "H4",
|
|
88
|
+
tag: "H4",
|
|
89
|
+
...HEADING_SEED_DATA
|
|
90
|
+
}, {
|
|
91
|
+
name: "H5",
|
|
92
|
+
tag: "H5",
|
|
93
|
+
...HEADING_SEED_DATA
|
|
94
|
+
}, {
|
|
95
|
+
name: "H6",
|
|
96
|
+
tag: "H6",
|
|
97
|
+
...HEADING_SEED_DATA
|
|
98
|
+
}, {
|
|
99
|
+
name: "Anchor",
|
|
100
|
+
tag: "A",
|
|
101
|
+
...TEXT_SEED_DATA,
|
|
102
|
+
props: {
|
|
103
|
+
href: (0, _types.createTextProp)({
|
|
104
|
+
label: "href",
|
|
105
|
+
description: "Specify the URL",
|
|
106
|
+
defaultValue: ""
|
|
107
|
+
}),
|
|
108
|
+
target: {
|
|
109
|
+
group: _types.GROUPS.basic,
|
|
110
|
+
label: "target",
|
|
111
|
+
description: "decide where link should open",
|
|
112
|
+
formType: _types.FORM_TYPES.flatArray,
|
|
113
|
+
defaultValue: "_blank",
|
|
114
|
+
options: ["_blank", "_self", "_parent", "_top"]
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}, {
|
|
118
|
+
name: "Paragraph",
|
|
119
|
+
tag: "P",
|
|
120
|
+
...TEXT_SEED_DATA,
|
|
121
|
+
props: {
|
|
122
|
+
// NOTE - Keeping the props commented until we figure out a way to use this props from draftbit side.
|
|
123
|
+
// strong: createBoolProp({
|
|
124
|
+
// label: "Strong",
|
|
125
|
+
// description: "Strong",
|
|
126
|
+
// }),
|
|
127
|
+
// strike: createBoolProp({
|
|
128
|
+
// label: "Strike",
|
|
129
|
+
// description: "Strike through",
|
|
130
|
+
// }),
|
|
131
|
+
// italic: createBoolProp({
|
|
132
|
+
// label: "Italic",
|
|
133
|
+
// description: "Italic Fonts",
|
|
134
|
+
// }),
|
|
135
|
+
// bold: createBoolProp({
|
|
136
|
+
// label: "Bold",
|
|
137
|
+
// description: "Bold",
|
|
138
|
+
// }),
|
|
139
|
+
}
|
|
140
|
+
}, {
|
|
141
|
+
name: "Code",
|
|
142
|
+
tag: "Code",
|
|
143
|
+
...TEXT_SEED_DATA
|
|
144
|
+
}, {
|
|
145
|
+
name: "Pre",
|
|
146
|
+
tag: "Pre",
|
|
147
|
+
...TEXT_SEED_DATA
|
|
148
|
+
}, {
|
|
149
|
+
name: "Mark",
|
|
150
|
+
tag: "Mark",
|
|
151
|
+
...TEXT_SEED_DATA
|
|
152
|
+
}, {
|
|
153
|
+
name: "BR",
|
|
154
|
+
tag: "BR",
|
|
155
|
+
...TEXT_SEED_DATA
|
|
156
|
+
}, {
|
|
157
|
+
name: "BlockQuote",
|
|
158
|
+
tag: "BlockQuote",
|
|
159
|
+
...TEXT_SEED_DATA
|
|
160
|
+
}, {
|
|
161
|
+
name: "HR",
|
|
162
|
+
tag: "HR",
|
|
163
|
+
...TEXT_SEED_DATA
|
|
164
|
+
}, {
|
|
165
|
+
name: "Time",
|
|
166
|
+
tag: "Time",
|
|
167
|
+
...ELEMENT_SEED_DATA
|
|
168
|
+
}, {
|
|
169
|
+
name: "UL",
|
|
170
|
+
tag: "UL",
|
|
171
|
+
...ELEMENT_SEED_DATA
|
|
172
|
+
}, {
|
|
173
|
+
name: "LI",
|
|
174
|
+
tag: "LI",
|
|
175
|
+
...ELEMENT_SEED_DATA
|
|
176
|
+
}];
|
|
177
|
+
exports.SEED_DATA = SEED_DATA;
|
package/lib/module/index.js
CHANGED
|
@@ -31,7 +31,6 @@ export { ActionSheet, ActionSheetItem, ActionSheetCancel } from "./components/Ac
|
|
|
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";
|
|
35
34
|
export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
|
|
36
35
|
|
|
37
36
|
/* Deprecated: Fix or Delete! */
|
|
@@ -0,0 +1,170 @@
|
|
|
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: [StylesPanelSections.Typography, StylesPanelSections.LayoutSelectedItem, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Effects],
|
|
8
|
+
layout: {
|
|
9
|
+
margin: 0
|
|
10
|
+
},
|
|
11
|
+
triggers: SEED_DATA_TRIGGERS,
|
|
12
|
+
category: COMPONENT_TYPES.webelement
|
|
13
|
+
};
|
|
14
|
+
const HEADING_SEED_DATA = {
|
|
15
|
+
...ELEMENT_SEED_DATA,
|
|
16
|
+
category: COMPONENT_TYPES.text,
|
|
17
|
+
props: {
|
|
18
|
+
accessibilityLabel: {
|
|
19
|
+
group: GROUPS.accessibility,
|
|
20
|
+
name: "accessibilityLabel",
|
|
21
|
+
label: "accessibilityLabel",
|
|
22
|
+
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.",
|
|
23
|
+
editable: true,
|
|
24
|
+
required: false,
|
|
25
|
+
formType: FORM_TYPES.string,
|
|
26
|
+
propType: PROP_TYPES.STRING,
|
|
27
|
+
defaultValue: null
|
|
28
|
+
},
|
|
29
|
+
selectable: {
|
|
30
|
+
group: GROUPS.advanced,
|
|
31
|
+
name: "selectable",
|
|
32
|
+
label: "selectable",
|
|
33
|
+
description: "Lets the user select text, to use the native copy and paste functionality.",
|
|
34
|
+
editable: true,
|
|
35
|
+
required: false,
|
|
36
|
+
formType: FORM_TYPES.boolean,
|
|
37
|
+
propType: PROP_TYPES.BOOLEAN,
|
|
38
|
+
defaultValue: null
|
|
39
|
+
},
|
|
40
|
+
children: {
|
|
41
|
+
group: GROUPS.data,
|
|
42
|
+
label: "Text",
|
|
43
|
+
description: "Text",
|
|
44
|
+
editable: true,
|
|
45
|
+
required: true,
|
|
46
|
+
formType: FORM_TYPES.string,
|
|
47
|
+
propType: PROP_TYPES.STRING,
|
|
48
|
+
defaultValue: "Your Headline Here"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
const TEXT_SEED_DATA = {
|
|
53
|
+
...ELEMENT_SEED_DATA,
|
|
54
|
+
category: COMPONENT_TYPES.text,
|
|
55
|
+
props: {
|
|
56
|
+
children: {
|
|
57
|
+
group: GROUPS.data,
|
|
58
|
+
label: "Text",
|
|
59
|
+
description: "Text",
|
|
60
|
+
defaultValue: "Your Text Here",
|
|
61
|
+
editable: true,
|
|
62
|
+
required: true,
|
|
63
|
+
formType: FORM_TYPES.string,
|
|
64
|
+
propType: PROP_TYPES.STRING
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
export const SEED_DATA = [{
|
|
69
|
+
name: "H1",
|
|
70
|
+
tag: "H1",
|
|
71
|
+
...HEADING_SEED_DATA
|
|
72
|
+
}, {
|
|
73
|
+
name: "H2",
|
|
74
|
+
tag: "H2",
|
|
75
|
+
...HEADING_SEED_DATA
|
|
76
|
+
}, {
|
|
77
|
+
name: "H3",
|
|
78
|
+
tag: "H3",
|
|
79
|
+
...HEADING_SEED_DATA
|
|
80
|
+
}, {
|
|
81
|
+
name: "H4",
|
|
82
|
+
tag: "H4",
|
|
83
|
+
...HEADING_SEED_DATA
|
|
84
|
+
}, {
|
|
85
|
+
name: "H5",
|
|
86
|
+
tag: "H5",
|
|
87
|
+
...HEADING_SEED_DATA
|
|
88
|
+
}, {
|
|
89
|
+
name: "H6",
|
|
90
|
+
tag: "H6",
|
|
91
|
+
...HEADING_SEED_DATA
|
|
92
|
+
}, {
|
|
93
|
+
name: "Anchor",
|
|
94
|
+
tag: "A",
|
|
95
|
+
...TEXT_SEED_DATA,
|
|
96
|
+
props: {
|
|
97
|
+
href: createTextProp({
|
|
98
|
+
label: "href",
|
|
99
|
+
description: "Specify the URL",
|
|
100
|
+
defaultValue: ""
|
|
101
|
+
}),
|
|
102
|
+
target: {
|
|
103
|
+
group: GROUPS.basic,
|
|
104
|
+
label: "target",
|
|
105
|
+
description: "decide where link should open",
|
|
106
|
+
formType: FORM_TYPES.flatArray,
|
|
107
|
+
defaultValue: "_blank",
|
|
108
|
+
options: ["_blank", "_self", "_parent", "_top"]
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}, {
|
|
112
|
+
name: "Paragraph",
|
|
113
|
+
tag: "P",
|
|
114
|
+
...TEXT_SEED_DATA,
|
|
115
|
+
props: {
|
|
116
|
+
// NOTE - Keeping the props commented until we figure out a way to use this props from draftbit side.
|
|
117
|
+
// strong: createBoolProp({
|
|
118
|
+
// label: "Strong",
|
|
119
|
+
// description: "Strong",
|
|
120
|
+
// }),
|
|
121
|
+
// strike: createBoolProp({
|
|
122
|
+
// label: "Strike",
|
|
123
|
+
// description: "Strike through",
|
|
124
|
+
// }),
|
|
125
|
+
// italic: createBoolProp({
|
|
126
|
+
// label: "Italic",
|
|
127
|
+
// description: "Italic Fonts",
|
|
128
|
+
// }),
|
|
129
|
+
// bold: createBoolProp({
|
|
130
|
+
// label: "Bold",
|
|
131
|
+
// description: "Bold",
|
|
132
|
+
// }),
|
|
133
|
+
}
|
|
134
|
+
}, {
|
|
135
|
+
name: "Code",
|
|
136
|
+
tag: "Code",
|
|
137
|
+
...TEXT_SEED_DATA
|
|
138
|
+
}, {
|
|
139
|
+
name: "Pre",
|
|
140
|
+
tag: "Pre",
|
|
141
|
+
...TEXT_SEED_DATA
|
|
142
|
+
}, {
|
|
143
|
+
name: "Mark",
|
|
144
|
+
tag: "Mark",
|
|
145
|
+
...TEXT_SEED_DATA
|
|
146
|
+
}, {
|
|
147
|
+
name: "BR",
|
|
148
|
+
tag: "BR",
|
|
149
|
+
...TEXT_SEED_DATA
|
|
150
|
+
}, {
|
|
151
|
+
name: "BlockQuote",
|
|
152
|
+
tag: "BlockQuote",
|
|
153
|
+
...TEXT_SEED_DATA
|
|
154
|
+
}, {
|
|
155
|
+
name: "HR",
|
|
156
|
+
tag: "HR",
|
|
157
|
+
...TEXT_SEED_DATA
|
|
158
|
+
}, {
|
|
159
|
+
name: "Time",
|
|
160
|
+
tag: "Time",
|
|
161
|
+
...ELEMENT_SEED_DATA
|
|
162
|
+
}, {
|
|
163
|
+
name: "UL",
|
|
164
|
+
tag: "UL",
|
|
165
|
+
...ELEMENT_SEED_DATA
|
|
166
|
+
}, {
|
|
167
|
+
name: "LI",
|
|
168
|
+
tag: "LI",
|
|
169
|
+
...ELEMENT_SEED_DATA
|
|
170
|
+
}];
|
|
@@ -31,7 +31,6 @@ 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";
|
|
35
34
|
export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
|
|
36
35
|
export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
37
36
|
export { default as Picker } from "./components/Picker/Picker";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEhE,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,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C;AAExC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAGrE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export declare const SEED_DATA: ({
|
|
2
|
+
props: {
|
|
3
|
+
href: any;
|
|
4
|
+
target: {
|
|
5
|
+
group: string;
|
|
6
|
+
label: string;
|
|
7
|
+
description: string;
|
|
8
|
+
formType: string;
|
|
9
|
+
defaultValue: string;
|
|
10
|
+
options: string[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
category: string;
|
|
14
|
+
doc_link: string;
|
|
15
|
+
code_link: string;
|
|
16
|
+
packageName: string;
|
|
17
|
+
stylesPanelSections: string[];
|
|
18
|
+
layout: {
|
|
19
|
+
margin: number;
|
|
20
|
+
};
|
|
21
|
+
triggers: string[];
|
|
22
|
+
name: string;
|
|
23
|
+
tag: string;
|
|
24
|
+
} | {
|
|
25
|
+
props: {
|
|
26
|
+
href?: undefined;
|
|
27
|
+
target?: undefined;
|
|
28
|
+
};
|
|
29
|
+
category: string;
|
|
30
|
+
doc_link: string;
|
|
31
|
+
code_link: string;
|
|
32
|
+
packageName: string;
|
|
33
|
+
stylesPanelSections: string[];
|
|
34
|
+
layout: {
|
|
35
|
+
margin: number;
|
|
36
|
+
};
|
|
37
|
+
triggers: string[];
|
|
38
|
+
name: string;
|
|
39
|
+
tag: string;
|
|
40
|
+
} | {
|
|
41
|
+
category: string;
|
|
42
|
+
props: {
|
|
43
|
+
children: {
|
|
44
|
+
group: string;
|
|
45
|
+
label: string;
|
|
46
|
+
description: string;
|
|
47
|
+
defaultValue: string;
|
|
48
|
+
editable: boolean;
|
|
49
|
+
required: boolean;
|
|
50
|
+
formType: string;
|
|
51
|
+
propType: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
doc_link: string;
|
|
55
|
+
code_link: string;
|
|
56
|
+
packageName: string;
|
|
57
|
+
stylesPanelSections: string[];
|
|
58
|
+
layout: {
|
|
59
|
+
margin: number;
|
|
60
|
+
};
|
|
61
|
+
triggers: string[];
|
|
62
|
+
name: string;
|
|
63
|
+
tag: string;
|
|
64
|
+
} | {
|
|
65
|
+
doc_link: string;
|
|
66
|
+
code_link: string;
|
|
67
|
+
packageName: string;
|
|
68
|
+
stylesPanelSections: string[];
|
|
69
|
+
layout: {
|
|
70
|
+
margin: number;
|
|
71
|
+
};
|
|
72
|
+
triggers: string[];
|
|
73
|
+
category: string;
|
|
74
|
+
name: string;
|
|
75
|
+
tag: string;
|
|
76
|
+
})[];
|
|
77
|
+
//# sourceMappingURL=HtmlElements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HtmlElements.d.ts","sourceRoot":"","sources":["../../../../src/mappings/HtmlElements.ts"],"names":[],"mappings":"AAsFA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwHrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@draftbit/core",
|
|
3
|
-
"version": "46.8.1-
|
|
3
|
+
"version": "46.8.1-d2585a.2+d2585a8",
|
|
4
4
|
"description": "Core (non-native) Components",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -41,7 +41,8 @@
|
|
|
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-
|
|
44
|
+
"@draftbit/types": "^46.8.1-d2585a.2+d2585a8",
|
|
45
|
+
"@expo/html-elements": "^0.3.1",
|
|
45
46
|
"@material-ui/core": "^4.11.0",
|
|
46
47
|
"@material-ui/pickers": "^3.2.10",
|
|
47
48
|
"@react-native-community/slider": "4.2.3",
|
|
@@ -55,7 +56,6 @@
|
|
|
55
56
|
"lodash.tonumber": "^4.0.3",
|
|
56
57
|
"react-native-deck-swiper": "^2.0.12",
|
|
57
58
|
"react-native-modal-datetime-picker": "^13.0.0",
|
|
58
|
-
"react-native-shadow-2": "^7.0.6",
|
|
59
59
|
"react-native-svg": "12.3.0",
|
|
60
60
|
"react-native-typography": "^1.4.1",
|
|
61
61
|
"react-native-web-swiper": "^2.2.3"
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
]
|
|
94
94
|
]
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "d2585a89f100db8b2652d8251caaa71734e3038b"
|
|
97
97
|
}
|
package/src/index.js
CHANGED
|
@@ -31,7 +31,6 @@ 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";
|
|
35
34
|
export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
|
|
36
35
|
/* Deprecated: Fix or Delete! */
|
|
37
36
|
export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
package/src/index.tsx
CHANGED