@draftbit/core 46.4.4-7f27fb.2 → 46.4.4-9a666e.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 (33) hide show
  1. package/lib/commonjs/components/Container.js +5 -17
  2. package/lib/commonjs/index.js +0 -14
  3. package/lib/commonjs/mappings/Elements.js +129 -0
  4. package/lib/module/components/ToggleButton.js +3 -17
  5. package/lib/module/index.js +0 -1
  6. package/lib/module/mappings/Elements.js +121 -0
  7. package/lib/typescript/src/index.d.ts +0 -1
  8. package/lib/typescript/src/mappings/Elements.d.ts +49 -0
  9. package/package.json +5 -6
  10. package/src/index.js +0 -1
  11. package/src/index.tsx +0 -1
  12. package/src/mappings/Elements.js +143 -0
  13. package/src/mappings/Elements.ts +152 -0
  14. package/lib/commonjs/components/TabView/TabView.js +0 -102
  15. package/lib/commonjs/components/TabView/TabViewItem.js +0 -26
  16. package/lib/commonjs/components/TabView/index.js +0 -23
  17. package/lib/commonjs/mappings/TabView.js +0 -79
  18. package/lib/module/components/TabView/TabView.js +0 -87
  19. package/lib/module/components/TabView/TabViewItem.js +0 -18
  20. package/lib/module/components/TabView/index.js +0 -2
  21. package/lib/module/mappings/TabView.js +0 -70
  22. package/lib/typescript/src/components/TabView/TabView.d.ts +0 -19
  23. package/lib/typescript/src/components/TabView/TabViewItem.d.ts +0 -10
  24. package/lib/typescript/src/components/TabView/index.d.ts +0 -2
  25. package/lib/typescript/src/mappings/TabView.d.ts +0 -111
  26. package/src/components/TabView/TabView.js +0 -34
  27. package/src/components/TabView/TabView.tsx +0 -97
  28. package/src/components/TabView/TabViewItem.js +0 -5
  29. package/src/components/TabView/TabViewItem.tsx +0 -21
  30. package/src/components/TabView/index.js +0 -2
  31. package/src/components/TabView/index.tsx +0 -2
  32. package/src/mappings/TabView.js +0 -73
  33. package/src/mappings/TabView.ts +0 -80
@@ -19,6 +19,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
19
19
 
20
20
  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; }
21
21
 
22
+ 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); }
23
+
22
24
  const Container = _ref => {
23
25
  let {
24
26
  useThemeGutterPadding,
@@ -80,10 +82,9 @@ const Container = _ref => {
80
82
  };
81
83
  const Wrap = elevation ? _Elevation.default : _reactNative.View;
82
84
  if (elevation) containerStyle.elevation = elevation;
83
- return /*#__PURE__*/React.createElement(Wrap, {
84
- style: [containerStyle, style],
85
- ...rest
86
- }, backgroundImage ? /*#__PURE__*/React.createElement(_reactNative.ImageBackground, {
85
+ return /*#__PURE__*/React.createElement(Wrap, _extends({
86
+ style: [containerStyle, style]
87
+ }, rest), backgroundImage ? /*#__PURE__*/React.createElement(_reactNative.ImageBackground, {
87
88
  source: typeof backgroundImage === "string" ? {
88
89
  uri: backgroundImage
89
90
  } : backgroundImage,
@@ -100,17 +101,4 @@ const Container = _ref => {
100
101
 
101
102
  var _default = (0, _theming.withTheme)(Container);
102
103
 
103
- exports.default = _default;izeMode: backgroundImageResizeMode,
104
- style: {
105
- flex: 1
106
- }
107
- }, /*#__PURE__*/React.createElement(_reactNative.View, {
108
- style: innerStyle
109
- }, children)) : /*#__PURE__*/React.createElement(_reactNative.View, {
110
- style: innerStyle
111
- }, children));
112
- };
113
-
114
- var _default = (0, _theming.withTheme)(Container);
115
-
116
104
  exports.default = _default;
@@ -369,18 +369,6 @@ Object.defineProperty(exports, "SwitchRow", {
369
369
  return _Switch.SwitchRow;
370
370
  }
371
371
  });
372
- Object.defineProperty(exports, "TabView", {
373
- enumerable: true,
374
- get: function () {
375
- return _TabView.TabView;
376
- }
377
- });
378
- Object.defineProperty(exports, "TabViewItem", {
379
- enumerable: true,
380
- get: function () {
381
- return _TabView.TabViewItem;
382
- }
383
- });
384
372
  Object.defineProperty(exports, "TextField", {
385
373
  enumerable: true,
386
374
  get: function () {
@@ -484,8 +472,6 @@ var _ActionSheet = require("./components/ActionSheet");
484
472
 
485
473
  var _Swiper = require("./components/Swiper");
486
474
 
487
- var _TabView = require("./components/TabView");
488
-
489
475
  var _Layout = require("./components/Layout");
490
476
 
491
477
  var _index = require("./components/RadioButton/index");
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SEED_DATA = void 0;
7
+
8
+ var _types = require("@draftbit/types");
9
+
10
+ const SEED_DATA_TRIGGERS = [_types.Triggers.OnValueChange];
11
+ const ELEMENT_PROPS = {
12
+ category: _types.COMPONENT_TYPES.element,
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
+ stylesPanelSections: _types.BLOCK_STYLES_SECTIONS,
16
+ layout: {
17
+ margin: 0
18
+ },
19
+ triggers: SEED_DATA_TRIGGERS
20
+ };
21
+ const HEADING_PROPS = { ...ELEMENT_PROPS
22
+ };
23
+ const SEED_DATA = [{
24
+ name: "H1",
25
+ tag: "H1",
26
+ ...HEADING_PROPS
27
+ }, {
28
+ name: "H2",
29
+ tag: "H2",
30
+ ...HEADING_PROPS
31
+ }, {
32
+ name: "H3",
33
+ tag: "H3",
34
+ ...HEADING_PROPS
35
+ }, {
36
+ name: "H4",
37
+ tag: "H4",
38
+ ...HEADING_PROPS
39
+ }, {
40
+ name: "H5",
41
+ tag: "H5",
42
+ ...HEADING_PROPS
43
+ }, {
44
+ name: "H6",
45
+ tag: "H6",
46
+ ...HEADING_PROPS
47
+ }, {
48
+ name: "Anchor",
49
+ tag: "A",
50
+ ...ELEMENT_PROPS,
51
+ props: {
52
+ href: (0, _types.createTextProp)({
53
+ label: "href",
54
+ description: "Specify the URL",
55
+ defaultValue: ""
56
+ }),
57
+ target: {
58
+ group: _types.GROUPS.basic,
59
+ label: "target",
60
+ description: "decide where link should open",
61
+ formType: _types.FORM_TYPES.flatArray,
62
+ defaultValue: "_blank",
63
+ options: ["_blank", "_self", "_parent", "_top"]
64
+ }
65
+ }
66
+ }, {
67
+ name: "Paragraph",
68
+ tag: "P",
69
+ ...ELEMENT_PROPS,
70
+ props: {// NOTE - Keeping the props commented until we figure out a way to use this props from draftbit side.
71
+ // strong: createBoolProp({
72
+ // label: "Strong",
73
+ // description: "Strong",
74
+ // }),
75
+ // strike: createBoolProp({
76
+ // label: "Strike",
77
+ // description: "Strike through",
78
+ // }),
79
+ // italic: createBoolProp({
80
+ // label: "Italic",
81
+ // description: "Italic Fonts",
82
+ // }),
83
+ // bold: createBoolProp({
84
+ // label: "Bold",
85
+ // description: "Bold",
86
+ // }),
87
+ }
88
+ }, {
89
+ name: "Code",
90
+ tag: "Code",
91
+ ...ELEMENT_PROPS
92
+ }, {
93
+ name: "Pre",
94
+ tag: "Pre",
95
+ ...ELEMENT_PROPS
96
+ }, {
97
+ name: "Mark",
98
+ tag: "Mark",
99
+ ...ELEMENT_PROPS
100
+ }, {
101
+ name: "BR",
102
+ tag: "BR",
103
+ ...ELEMENT_PROPS
104
+ }, {
105
+ name: "Quote",
106
+ tag: "Q",
107
+ ...ELEMENT_PROPS
108
+ }, {
109
+ name: "BlockQuote",
110
+ tag: "BlockQuote",
111
+ ...ELEMENT_PROPS
112
+ }, {
113
+ name: "Time",
114
+ tag: "Time",
115
+ ...ELEMENT_PROPS
116
+ }, {
117
+ name: "UL",
118
+ tag: "UL",
119
+ ...ELEMENT_PROPS
120
+ }, {
121
+ name: "LI",
122
+ tag: "LI",
123
+ ...ELEMENT_PROPS
124
+ }, {
125
+ name: "HR",
126
+ tag: "HR",
127
+ ...ELEMENT_PROPS
128
+ }];
129
+ exports.SEED_DATA = SEED_DATA;
@@ -1,3 +1,5 @@
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
+
1
3
  import * as React from "react";
2
4
  import { withTheme } from "../theming";
3
5
  import { StyleSheet } from "react-native";
@@ -40,29 +42,13 @@ const ToggleButton = _ref => {
40
42
  onPress(!internalValue);
41
43
  };
42
44
 
43
- return /*#__PURE__*/React.createElement(IconButton, {
45
+ return /*#__PURE__*/React.createElement(IconButton, _extends({
44
46
  Icon: Icon,
45
47
  icon: icon,
46
48
  size: iconSize,
47
49
  color: internalValue ? colors[color] : colors[colorSecondary],
48
50
  onPress: handlePress,
49
51
  disabled: disabled,
50
- style: [styles.mainContainer, {
51
- width,
52
- height,
53
- backgroundColor: internalValue ? colors[colorSecondary] : colors[color],
54
- borderColor: colors[borderColor]
55
- }, style],
56
- ...rest
57
- });
58
- };
59
-
60
- const styles = StyleSheet.create({
61
- mainContainer: {
62
- borderWidth: 1
63
- }
64
- });
65
- export default withTheme(ToggleButton);: disabled,
66
52
  style: [styles.mainContainer, {
67
53
  width,
68
54
  height,
@@ -29,7 +29,6 @@ export { default as Touchable } from "./components/Touchable";
29
29
  export { AccordionGroup, AccordionItem } from "./components/Accordion";
30
30
  export { ActionSheet, ActionSheetItem, ActionSheetCancel } from "./components/ActionSheet";
31
31
  export { Swiper, SwiperItem } from "./components/Swiper";
32
- export { TabView, TabViewItem } from "./components/TabView";
33
32
  export { Center, Circle, Square, Row, Stack, Spacer } from "./components/Layout";
34
33
  export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup } from "./components/RadioButton/index";
35
34
  /* Deprecated: Fix or Delete! */
@@ -0,0 +1,121 @@
1
+ import { BLOCK_STYLES_SECTIONS, COMPONENT_TYPES, // createBoolProp,
2
+ createTextProp, FORM_TYPES, GROUPS, Triggers } from "@draftbit/types";
3
+ const SEED_DATA_TRIGGERS = [Triggers.OnValueChange];
4
+ const ELEMENT_PROPS = {
5
+ category: COMPONENT_TYPES.element,
6
+ doc_link: "https://www.npmjs.com/package/@expo/html-elements",
7
+ code_link: "https://github.com/expo/expo/tree/master/packages/html-elements",
8
+ stylesPanelSections: BLOCK_STYLES_SECTIONS,
9
+ layout: {
10
+ margin: 0
11
+ },
12
+ triggers: SEED_DATA_TRIGGERS
13
+ };
14
+ const HEADING_PROPS = { ...ELEMENT_PROPS
15
+ };
16
+ export const SEED_DATA = [{
17
+ name: "H1",
18
+ tag: "H1",
19
+ ...HEADING_PROPS
20
+ }, {
21
+ name: "H2",
22
+ tag: "H2",
23
+ ...HEADING_PROPS
24
+ }, {
25
+ name: "H3",
26
+ tag: "H3",
27
+ ...HEADING_PROPS
28
+ }, {
29
+ name: "H4",
30
+ tag: "H4",
31
+ ...HEADING_PROPS
32
+ }, {
33
+ name: "H5",
34
+ tag: "H5",
35
+ ...HEADING_PROPS
36
+ }, {
37
+ name: "H6",
38
+ tag: "H6",
39
+ ...HEADING_PROPS
40
+ }, {
41
+ name: "Anchor",
42
+ tag: "A",
43
+ ...ELEMENT_PROPS,
44
+ props: {
45
+ href: createTextProp({
46
+ label: "href",
47
+ description: "Specify the URL",
48
+ defaultValue: ""
49
+ }),
50
+ target: {
51
+ group: GROUPS.basic,
52
+ label: "target",
53
+ description: "decide where link should open",
54
+ formType: FORM_TYPES.flatArray,
55
+ defaultValue: "_blank",
56
+ options: ["_blank", "_self", "_parent", "_top"]
57
+ }
58
+ }
59
+ }, {
60
+ name: "Paragraph",
61
+ tag: "P",
62
+ ...ELEMENT_PROPS,
63
+ props: {// NOTE - Keeping the props commented until we figure out a way to use this props from draftbit side.
64
+ // strong: createBoolProp({
65
+ // label: "Strong",
66
+ // description: "Strong",
67
+ // }),
68
+ // strike: createBoolProp({
69
+ // label: "Strike",
70
+ // description: "Strike through",
71
+ // }),
72
+ // italic: createBoolProp({
73
+ // label: "Italic",
74
+ // description: "Italic Fonts",
75
+ // }),
76
+ // bold: createBoolProp({
77
+ // label: "Bold",
78
+ // description: "Bold",
79
+ // }),
80
+ }
81
+ }, {
82
+ name: "Code",
83
+ tag: "Code",
84
+ ...ELEMENT_PROPS
85
+ }, {
86
+ name: "Pre",
87
+ tag: "Pre",
88
+ ...ELEMENT_PROPS
89
+ }, {
90
+ name: "Mark",
91
+ tag: "Mark",
92
+ ...ELEMENT_PROPS
93
+ }, {
94
+ name: "BR",
95
+ tag: "BR",
96
+ ...ELEMENT_PROPS
97
+ }, {
98
+ name: "Quote",
99
+ tag: "Q",
100
+ ...ELEMENT_PROPS
101
+ }, {
102
+ name: "BlockQuote",
103
+ tag: "BlockQuote",
104
+ ...ELEMENT_PROPS
105
+ }, {
106
+ name: "Time",
107
+ tag: "Time",
108
+ ...ELEMENT_PROPS
109
+ }, {
110
+ name: "UL",
111
+ tag: "UL",
112
+ ...ELEMENT_PROPS
113
+ }, {
114
+ name: "LI",
115
+ tag: "LI",
116
+ ...ELEMENT_PROPS
117
+ }, {
118
+ name: "HR",
119
+ tag: "HR",
120
+ ...ELEMENT_PROPS
121
+ }];
@@ -29,7 +29,6 @@ export { default as Touchable } from "./components/Touchable";
29
29
  export { AccordionGroup, AccordionItem } from "./components/Accordion";
30
30
  export { ActionSheet, ActionSheetItem, ActionSheetCancel, } from "./components/ActionSheet";
31
31
  export { Swiper, SwiperItem } from "./components/Swiper";
32
- export { TabView, TabViewItem } from "./components/TabView";
33
32
  export { Center, Circle, Square, Row, Stack, Spacer, } from "./components/Layout";
34
33
  export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup, } from "./components/RadioButton/index";
35
34
  export { default as CardBlock } from "./components/CardBlock";
@@ -0,0 +1,49 @@
1
+ export declare const SEED_DATA: ({
2
+ category: string;
3
+ doc_link: string;
4
+ code_link: string;
5
+ stylesPanelSections: string[];
6
+ layout: {
7
+ margin: number;
8
+ };
9
+ triggers: string[];
10
+ name: string;
11
+ tag: string;
12
+ } | {
13
+ props: {
14
+ href: any;
15
+ target: {
16
+ group: string;
17
+ label: string;
18
+ description: string;
19
+ formType: string;
20
+ defaultValue: string;
21
+ options: string[];
22
+ };
23
+ };
24
+ category: string;
25
+ doc_link: string;
26
+ code_link: string;
27
+ stylesPanelSections: string[];
28
+ layout: {
29
+ margin: number;
30
+ };
31
+ triggers: string[];
32
+ name: string;
33
+ tag: string;
34
+ } | {
35
+ props: {
36
+ href?: undefined;
37
+ target?: undefined;
38
+ };
39
+ category: string;
40
+ doc_link: string;
41
+ code_link: string;
42
+ stylesPanelSections: string[];
43
+ layout: {
44
+ margin: number;
45
+ };
46
+ triggers: string[];
47
+ name: string;
48
+ tag: string;
49
+ })[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draftbit/core",
3
- "version": "46.4.4-7f27fb.2+7f27fbc",
3
+ "version": "46.4.4-9a666e.2+9a666e4",
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.4.4-7f27fb.2+7f27fbc",
44
+ "@draftbit/types": "^46.4.4-9a666e.2+9a666e4",
45
+ "@expo/html-elements": "^0.2.0",
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",
@@ -54,9 +55,7 @@
54
55
  "lodash.omit": "^4.5.0",
55
56
  "lodash.tonumber": "^4.0.3",
56
57
  "react-native-modal-datetime-picker": "^13.0.0",
57
- "react-native-pager-view": "5.4.24",
58
- "react-native-svg": "^12.3.0",
59
- "react-native-tab-view": "^3.0.0",
58
+ "react-native-svg": "12.3.0",
60
59
  "react-native-typography": "^1.4.1",
61
60
  "react-native-web-swiper": "^2.2.3"
62
61
  },
@@ -83,5 +82,5 @@
83
82
  ]
84
83
  ]
85
84
  },
86
- "gitHead": "7f27fbcfba08665618ffd741070ea655167cfafa"
85
+ "gitHead": "9a666e4ecef86b3d4122a10d5b0efd540f7cdb2b"
87
86
  }
package/src/index.js CHANGED
@@ -29,7 +29,6 @@ export { default as Touchable } from "./components/Touchable";
29
29
  export { AccordionGroup, AccordionItem } from "./components/Accordion";
30
30
  export { ActionSheet, ActionSheetItem, ActionSheetCancel, } from "./components/ActionSheet";
31
31
  export { Swiper, SwiperItem } from "./components/Swiper";
32
- export { TabView, TabViewItem } from "./components/TabView";
33
32
  export { Center, Circle, Square, Row, Stack, Spacer, } from "./components/Layout";
34
33
  export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup, } from "./components/RadioButton/index";
35
34
  /* Deprecated: Fix or Delete! */
package/src/index.tsx CHANGED
@@ -34,7 +34,6 @@ export {
34
34
  ActionSheetCancel,
35
35
  } from "./components/ActionSheet";
36
36
  export { Swiper, SwiperItem } from "./components/Swiper";
37
- export { TabView, TabViewItem } from "./components/TabView";
38
37
 
39
38
  export {
40
39
  Center,
@@ -0,0 +1,143 @@
1
+ import { BLOCK_STYLES_SECTIONS, COMPONENT_TYPES,
2
+ // createBoolProp,
3
+ createTextProp, FORM_TYPES, GROUPS, Triggers, } from "@draftbit/types";
4
+ const SEED_DATA_TRIGGERS = [Triggers.OnValueChange];
5
+ const ELEMENT_PROPS = {
6
+ category: COMPONENT_TYPES.element,
7
+ doc_link: "https://www.npmjs.com/package/@expo/html-elements",
8
+ code_link: "https://github.com/expo/expo/tree/master/packages/html-elements",
9
+ stylesPanelSections: BLOCK_STYLES_SECTIONS,
10
+ layout: {
11
+ margin: 0,
12
+ },
13
+ triggers: SEED_DATA_TRIGGERS,
14
+ };
15
+ const HEADING_PROPS = {
16
+ ...ELEMENT_PROPS,
17
+ };
18
+ export const SEED_DATA = [
19
+ {
20
+ name: "H1",
21
+ tag: "H1",
22
+ ...HEADING_PROPS,
23
+ },
24
+ {
25
+ name: "H2",
26
+ tag: "H2",
27
+ ...HEADING_PROPS,
28
+ },
29
+ {
30
+ name: "H3",
31
+ tag: "H3",
32
+ ...HEADING_PROPS,
33
+ },
34
+ {
35
+ name: "H4",
36
+ tag: "H4",
37
+ ...HEADING_PROPS,
38
+ },
39
+ {
40
+ name: "H5",
41
+ tag: "H5",
42
+ ...HEADING_PROPS,
43
+ },
44
+ {
45
+ name: "H6",
46
+ tag: "H6",
47
+ ...HEADING_PROPS,
48
+ },
49
+ {
50
+ name: "Anchor",
51
+ tag: "A",
52
+ ...ELEMENT_PROPS,
53
+ props: {
54
+ href: createTextProp({
55
+ label: "href",
56
+ description: "Specify the URL",
57
+ defaultValue: "",
58
+ }),
59
+ target: {
60
+ group: GROUPS.basic,
61
+ label: "target",
62
+ description: "decide where link should open",
63
+ formType: FORM_TYPES.flatArray,
64
+ defaultValue: "_blank",
65
+ options: ["_blank", "_self", "_parent", "_top"],
66
+ },
67
+ },
68
+ },
69
+ {
70
+ name: "Paragraph",
71
+ tag: "P",
72
+ ...ELEMENT_PROPS,
73
+ props: {
74
+ // NOTE - Keeping the props commented until we figure out a way to use this props from draftbit side.
75
+ // strong: createBoolProp({
76
+ // label: "Strong",
77
+ // description: "Strong",
78
+ // }),
79
+ // strike: createBoolProp({
80
+ // label: "Strike",
81
+ // description: "Strike through",
82
+ // }),
83
+ // italic: createBoolProp({
84
+ // label: "Italic",
85
+ // description: "Italic Fonts",
86
+ // }),
87
+ // bold: createBoolProp({
88
+ // label: "Bold",
89
+ // description: "Bold",
90
+ // }),
91
+ },
92
+ },
93
+ {
94
+ name: "Code",
95
+ tag: "Code",
96
+ ...ELEMENT_PROPS,
97
+ },
98
+ {
99
+ name: "Pre",
100
+ tag: "Pre",
101
+ ...ELEMENT_PROPS,
102
+ },
103
+ {
104
+ name: "Mark",
105
+ tag: "Mark",
106
+ ...ELEMENT_PROPS,
107
+ },
108
+ {
109
+ name: "BR",
110
+ tag: "BR",
111
+ ...ELEMENT_PROPS,
112
+ },
113
+ {
114
+ name: "Quote",
115
+ tag: "Q",
116
+ ...ELEMENT_PROPS,
117
+ },
118
+ {
119
+ name: "BlockQuote",
120
+ tag: "BlockQuote",
121
+ ...ELEMENT_PROPS,
122
+ },
123
+ {
124
+ name: "Time",
125
+ tag: "Time",
126
+ ...ELEMENT_PROPS,
127
+ },
128
+ {
129
+ name: "UL",
130
+ tag: "UL",
131
+ ...ELEMENT_PROPS,
132
+ },
133
+ {
134
+ name: "LI",
135
+ tag: "LI",
136
+ ...ELEMENT_PROPS,
137
+ },
138
+ {
139
+ name: "HR",
140
+ tag: "HR",
141
+ ...ELEMENT_PROPS,
142
+ },
143
+ ];