@draftbit/core 43.2.3-0b9a7a.0 → 43.2.3-0f04d4.0

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 (58) hide show
  1. package/lib/commonjs/components/Accordion/index.js.map +1 -1
  2. package/lib/commonjs/components/DeprecatedFAB.js +4 -20
  3. package/lib/commonjs/components/DeprecatedFAB.js.map +1 -1
  4. package/lib/commonjs/components/TabView/TabView.js +101 -0
  5. package/lib/commonjs/components/TabView/TabView.js.map +1 -0
  6. package/lib/commonjs/components/TabView/TabViewItem.js +23 -0
  7. package/lib/commonjs/components/TabView/TabViewItem.js.map +1 -0
  8. package/lib/commonjs/components/TabView/index.js +24 -0
  9. package/lib/commonjs/components/TabView/index.js.map +1 -0
  10. package/lib/commonjs/index.js +14 -8
  11. package/lib/commonjs/index.js.map +1 -1
  12. package/lib/commonjs/mappings/RadioButton.js.map +1 -1
  13. package/lib/commonjs/mappings/TabView.js +33 -0
  14. package/lib/commonjs/mappings/TabView.js.map +1 -0
  15. package/lib/module/components/Picker/PickerComponent.android.js +7 -10
  16. package/lib/module/components/Picker/PickerComponent.android.js.map +1 -1
  17. package/lib/module/components/StarRating.js +5 -23
  18. package/lib/module/components/StarRating.js.map +1 -1
  19. package/lib/module/components/TabView/TabView.js +80 -0
  20. package/lib/module/components/TabView/TabView.js.map +1 -0
  21. package/lib/module/components/TabView/TabViewItem.js +15 -0
  22. package/lib/module/components/TabView/TabViewItem.js.map +1 -0
  23. package/lib/module/components/TabView/index.js +3 -0
  24. package/lib/module/components/TabView/index.js.map +1 -0
  25. package/lib/module/index.js +1 -1
  26. package/lib/module/index.js.map +1 -1
  27. package/lib/module/mappings/TabView.js +24 -0
  28. package/lib/module/mappings/TabView.js.map +1 -0
  29. package/lib/typescript/src/components/TabView/TabView.d.ts +6 -0
  30. package/lib/typescript/src/components/TabView/TabViewItem.d.ts +8 -0
  31. package/lib/typescript/src/components/TabView/index.d.ts +2 -0
  32. package/lib/typescript/src/index.d.ts +1 -1
  33. package/lib/typescript/src/mappings/TabView.d.ts +19 -0
  34. package/package.json +4 -3
  35. package/src/components/TabView/TabView.js +54 -0
  36. package/src/components/TabView/TabView.tsx +90 -0
  37. package/src/components/TabView/TabViewItem.js +5 -0
  38. package/src/components/TabView/TabViewItem.tsx +13 -0
  39. package/src/components/TabView/index.js +2 -0
  40. package/src/components/TabView/index.ts +2 -0
  41. package/src/index.js +1 -1
  42. package/src/index.tsx +1 -1
  43. package/src/mappings/TabView.js +26 -0
  44. package/src/mappings/TabView.ts +27 -0
  45. package/lib/commonjs/components/Markdown.js +0 -30
  46. package/lib/commonjs/components/Markdown.js.map +0 -1
  47. package/lib/commonjs/mappings/Markdown.js +0 -24
  48. package/lib/commonjs/mappings/Markdown.js.map +0 -1
  49. package/lib/module/components/Markdown.js +0 -13
  50. package/lib/module/components/Markdown.js.map +0 -1
  51. package/lib/module/mappings/Markdown.js +0 -15
  52. package/lib/module/mappings/Markdown.js.map +0 -1
  53. package/lib/typescript/src/components/Markdown.d.ts +0 -12
  54. package/lib/typescript/src/mappings/Markdown.d.ts +0 -9
  55. package/src/components/Markdown.js +0 -7
  56. package/src/components/Markdown.tsx +0 -14
  57. package/src/mappings/Markdown.js +0 -14
  58. package/src/mappings/Markdown.ts +0 -15
@@ -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,9 +0,0 @@
1
- export declare const SEED_DATA: {
2
- name: string;
3
- tag: string;
4
- description: string;
5
- category: string;
6
- props: {
7
- content: any;
8
- };
9
- };
@@ -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);
@@ -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
- };
@@ -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
- };