@draftbit/core 43.4.5-e035fd.1 → 43.4.6-f4bf57.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/Elevation.js +3 -14
- package/lib/commonjs/components/Elevation.js.map +1 -1
- package/lib/commonjs/components/FieldSearchBarFull.js.map +1 -1
- package/lib/commonjs/components/NumberInput.js +39 -28
- package/lib/commonjs/components/NumberInput.js.map +1 -1
- package/lib/commonjs/components/Portal/PortalManager.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButton.js +9 -8
- package/lib/commonjs/components/RadioButton/RadioButton.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButtonGroup.js +13 -12
- package/lib/commonjs/components/RadioButton/RadioButtonGroup.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js +9 -6
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js.map +1 -1
- package/lib/commonjs/index.js +0 -8
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/mappings/CheckboxRow.js +1 -1
- package/lib/commonjs/mappings/CheckboxRow.js.map +1 -1
- package/lib/commonjs/mappings/RowBodyIcon.js.map +1 -1
- package/lib/commonjs/mappings/RowHeadlineImageIcon.js.map +1 -1
- package/lib/commonjs/mappings/TextInput.js +7 -2
- package/lib/commonjs/mappings/TextInput.js.map +1 -1
- package/lib/commonjs/utilities.js +13 -0
- package/lib/commonjs/utilities.js.map +1 -1
- package/lib/module/components/Elevation.js +15 -4
- package/lib/module/components/Elevation.js.map +1 -1
- package/lib/module/components/NumberInput.js +36 -25
- package/lib/module/components/NumberInput.js.map +1 -1
- package/lib/module/components/Picker/PickerComponent.android.js +7 -10
- package/lib/module/components/Picker/PickerComponent.android.js.map +1 -1
- package/lib/module/components/RadioButton/RadioButton.js +8 -8
- package/lib/module/components/RadioButton/RadioButton.js.map +1 -1
- package/lib/module/components/RadioButton/RadioButtonGroup.js +12 -12
- package/lib/module/components/RadioButton/RadioButtonGroup.js.map +1 -1
- package/lib/module/components/RadioButton/RadioButtonRow.js +10 -7
- package/lib/module/components/RadioButton/RadioButtonRow.js.map +1 -1
- package/lib/module/index.js +0 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/mappings/CheckboxRow.js +1 -1
- package/lib/module/mappings/CheckboxRow.js.map +1 -1
- package/lib/module/mappings/LinearGradient.js.map +1 -1
- package/lib/module/mappings/TextInput.js +8 -3
- package/lib/module/mappings/TextInput.js.map +1 -1
- package/lib/module/utilities.js +10 -0
- package/lib/module/utilities.js.map +1 -1
- package/lib/typescript/src/components/NumberInput.d.ts +3 -3
- package/lib/typescript/src/components/RadioButton/RadioButton.d.ts +2 -2
- package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts +2 -2
- package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts +1 -1
- package/lib/typescript/src/index.d.ts +0 -1
- package/lib/typescript/src/mappings/TextInput.d.ts +38 -38
- package/lib/typescript/src/utilities.d.ts +1 -0
- package/package.json +2 -3
- package/src/components/NumberInput.js +32 -21
- package/src/components/NumberInput.tsx +46 -28
- package/src/components/RadioButton/RadioButton.js +7 -6
- package/src/components/RadioButton/RadioButton.tsx +11 -12
- package/src/components/RadioButton/RadioButtonGroup.js +10 -10
- package/src/components/RadioButton/RadioButtonGroup.tsx +18 -17
- package/src/components/RadioButton/RadioButtonRow.js +8 -5
- package/src/components/RadioButton/RadioButtonRow.tsx +12 -10
- package/src/index.js +0 -1
- package/src/index.tsx +0 -1
- package/src/mappings/CheckboxRow.js +1 -1
- package/src/mappings/CheckboxRow.ts +1 -1
- package/src/mappings/TextInput.js +7 -2
- package/src/mappings/TextInput.ts +7 -1
- package/src/utilities.js +12 -0
- package/src/utilities.ts +11 -0
- package/lib/commonjs/components/Markdown.js +0 -30
- package/lib/commonjs/components/Markdown.js.map +0 -1
- package/lib/commonjs/mappings/Markdown.js +0 -24
- package/lib/commonjs/mappings/Markdown.js.map +0 -1
- package/lib/module/components/Markdown.js +0 -13
- package/lib/module/components/Markdown.js.map +0 -1
- package/lib/module/mappings/Markdown.js +0 -15
- package/lib/module/mappings/Markdown.js.map +0 -1
- package/lib/typescript/src/components/Markdown.d.ts +0 -12
- package/lib/typescript/src/mappings/Markdown.d.ts +0 -9
- package/src/components/Markdown.js +0 -7
- package/src/components/Markdown.tsx +0 -14
- package/src/mappings/Markdown.js +0 -14
- package/src/mappings/Markdown.ts +0 -15
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Markdown.ts"],"names":["SEED_DATA","name","tag","description","category","COMPONENT_TYPES","basic","props","content","label","defaultValue"],"mappings":";;;;;;;AAAA;;AAEO,MAAMA,SAAS,GAAG;AACvBC,EAAAA,IAAI,EAAE,UADiB;AAEvBC,EAAAA,GAAG,EAAE,mBAFkB;AAGvBC,EAAAA,WAAW,EAAE,sBAHU;AAIvBC,EAAAA,QAAQ,EAAEC,uBAAgBC,KAJH;AAKvBC,EAAAA,KAAK,EAAE;AACLC,IAAAA,OAAO,EAAE,2BAAe;AACtBC,MAAAA,KAAK,EAAE,eADe;AAEtBN,MAAAA,WAAW,EAAE,eAFS;AAGtBO,MAAAA,YAAY,EAAE;AAHQ,KAAf;AADJ;AALgB,CAAlB","sourcesContent":["import { COMPONENT_TYPES, createTextProp } from \"@draftbit/types\";\n\nexport const SEED_DATA = {\n name: \"Markdown\",\n tag: \"MarkdownComponent\",\n description: \"A markdown component\",\n category: COMPONENT_TYPES.basic,\n props: {\n content: createTextProp({\n label: \"Markdown Text\",\n description: \"Markdown Text\",\n defaultValue: null,\n }),\n },\n};\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import Markdown from "react-native-markdown-display";
|
|
3
|
-
import { withTheme } from "../theming";
|
|
4
|
-
|
|
5
|
-
const MarkdownComponent = _ref => {
|
|
6
|
-
let {
|
|
7
|
-
content
|
|
8
|
-
} = _ref;
|
|
9
|
-
return /*#__PURE__*/React.createElement(Markdown, null, content);
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export default withTheme(MarkdownComponent);
|
|
13
|
-
//# sourceMappingURL=Markdown.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Markdown.tsx"],"names":["React","Markdown","withTheme","MarkdownComponent","content"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,QAAP,MAAqB,+BAArB;AAEA,SAASC,SAAT,QAA0B,YAA1B;;AAMA,MAAMC,iBAAkC,GAAG,QAAiB;AAAA,MAAhB;AAAEC,IAAAA;AAAF,GAAgB;AAC1D,sBAAO,oBAAC,QAAD,QAAWA,OAAX,CAAP;AACD,CAFD;;AAIA,eAAeF,SAAS,CAACC,iBAAD,CAAxB","sourcesContent":["import * as React from \"react\";\nimport Markdown from \"react-native-markdown-display\";\n\nimport { withTheme } from \"../theming\";\n\ntype Props = {\n content?: string;\n};\n\nconst MarkdownComponent: React.FC<Props> = ({ content }) => {\n return <Markdown>{content}</Markdown>;\n};\n\nexport default withTheme(MarkdownComponent);\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createTextProp } from "@draftbit/types";
|
|
2
|
-
export const SEED_DATA = {
|
|
3
|
-
name: "Markdown",
|
|
4
|
-
tag: "MarkdownComponent",
|
|
5
|
-
description: "A markdown component",
|
|
6
|
-
category: COMPONENT_TYPES.basic,
|
|
7
|
-
props: {
|
|
8
|
-
content: createTextProp({
|
|
9
|
-
label: "Markdown Text",
|
|
10
|
-
description: "Markdown Text",
|
|
11
|
-
defaultValue: null
|
|
12
|
-
})
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=Markdown.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Markdown.ts"],"names":["COMPONENT_TYPES","createTextProp","SEED_DATA","name","tag","description","category","basic","props","content","label","defaultValue"],"mappings":"AAAA,SAASA,eAAT,EAA0BC,cAA1B,QAAgD,iBAAhD;AAEA,OAAO,MAAMC,SAAS,GAAG;AACvBC,EAAAA,IAAI,EAAE,UADiB;AAEvBC,EAAAA,GAAG,EAAE,mBAFkB;AAGvBC,EAAAA,WAAW,EAAE,sBAHU;AAIvBC,EAAAA,QAAQ,EAAEN,eAAe,CAACO,KAJH;AAKvBC,EAAAA,KAAK,EAAE;AACLC,IAAAA,OAAO,EAAER,cAAc,CAAC;AACtBS,MAAAA,KAAK,EAAE,eADe;AAEtBL,MAAAA,WAAW,EAAE,eAFS;AAGtBM,MAAAA,YAAY,EAAE;AAHQ,KAAD;AADlB;AALgB,CAAlB","sourcesContent":["import { COMPONENT_TYPES, createTextProp } from \"@draftbit/types\";\n\nexport const SEED_DATA = {\n name: \"Markdown\",\n tag: \"MarkdownComponent\",\n description: \"A markdown component\",\n category: COMPONENT_TYPES.basic,\n props: {\n content: createTextProp({\n label: \"Markdown Text\",\n description: \"Markdown Text\",\n defaultValue: null,\n }),\n },\n};\n"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
declare type Props = {
|
|
3
|
-
content?: string;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<{
|
|
6
|
-
theme: any;
|
|
7
|
-
}, "theme"> & {
|
|
8
|
-
theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
|
|
9
|
-
}> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<{
|
|
10
|
-
theme: any;
|
|
11
|
-
}> & React.FC<Props>, {}>;
|
|
12
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import Markdown from "react-native-markdown-display";
|
|
3
|
-
import { withTheme } from "../theming";
|
|
4
|
-
const MarkdownComponent = ({ content }) => {
|
|
5
|
-
return React.createElement(Markdown, null, content);
|
|
6
|
-
};
|
|
7
|
-
export default withTheme(MarkdownComponent);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import Markdown from "react-native-markdown-display";
|
|
3
|
-
|
|
4
|
-
import { withTheme } from "../theming";
|
|
5
|
-
|
|
6
|
-
type Props = {
|
|
7
|
-
content?: string;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
const MarkdownComponent: React.FC<Props> = ({ content }) => {
|
|
11
|
-
return <Markdown>{content}</Markdown>;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export default withTheme(MarkdownComponent);
|
package/src/mappings/Markdown.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createTextProp } from "@draftbit/types";
|
|
2
|
-
export const SEED_DATA = {
|
|
3
|
-
name: "Markdown",
|
|
4
|
-
tag: "MarkdownComponent",
|
|
5
|
-
description: "A markdown component",
|
|
6
|
-
category: COMPONENT_TYPES.basic,
|
|
7
|
-
props: {
|
|
8
|
-
content: createTextProp({
|
|
9
|
-
label: "Markdown Text",
|
|
10
|
-
description: "Markdown Text",
|
|
11
|
-
defaultValue: null,
|
|
12
|
-
}),
|
|
13
|
-
},
|
|
14
|
-
};
|
package/src/mappings/Markdown.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createTextProp } from "@draftbit/types";
|
|
2
|
-
|
|
3
|
-
export const SEED_DATA = {
|
|
4
|
-
name: "Markdown",
|
|
5
|
-
tag: "MarkdownComponent",
|
|
6
|
-
description: "A markdown component",
|
|
7
|
-
category: COMPONENT_TYPES.basic,
|
|
8
|
-
props: {
|
|
9
|
-
content: createTextProp({
|
|
10
|
-
label: "Markdown Text",
|
|
11
|
-
description: "Markdown Text",
|
|
12
|
-
defaultValue: null,
|
|
13
|
-
}),
|
|
14
|
-
},
|
|
15
|
-
};
|