@draftbit/core 43.2.5-0ce498.3 → 43.2.5-6f3224.3

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 (49) hide show
  1. package/lib/commonjs/components/AspectRatio.js +3 -16
  2. package/lib/commonjs/components/AspectRatio.js.map +1 -1
  3. package/lib/commonjs/components/Carousel.js +14 -8
  4. package/lib/commonjs/components/Carousel.js.map +1 -1
  5. package/lib/commonjs/components/DatePicker/DatePickerComponent.js.map +1 -1
  6. package/lib/commonjs/components/DeprecatedCardWrapper.js +2 -14
  7. package/lib/commonjs/components/DeprecatedCardWrapper.js.map +1 -1
  8. package/lib/commonjs/components/Divider.js +13 -3
  9. package/lib/commonjs/components/Divider.js.map +1 -1
  10. package/lib/commonjs/components/ProgressCircle.js.map +1 -1
  11. package/lib/commonjs/index.js +0 -8
  12. package/lib/commonjs/index.js.map +1 -1
  13. package/lib/commonjs/mappings/AudioPlayer.js.map +1 -1
  14. package/lib/commonjs/mappings/CustomCode.js.map +1 -1
  15. package/lib/commonjs/mappings/FAB.js.map +1 -1
  16. package/lib/commonjs/mappings/LinearGradient.js.map +1 -1
  17. package/lib/commonjs/mappings/Modal.js.map +1 -1
  18. package/lib/commonjs/mappings/RadioButtonRow.js.map +1 -1
  19. package/lib/module/components/Carousel.js +14 -8
  20. package/lib/module/components/Carousel.js.map +1 -1
  21. package/lib/module/components/CircularProgress.js.map +1 -1
  22. package/lib/module/components/DatePicker/DatePickerComponent.web.js.map +1 -1
  23. package/lib/module/components/Picker/PickerComponent.ios.js +7 -10
  24. package/lib/module/components/Picker/PickerComponent.ios.js.map +1 -1
  25. package/lib/module/components/ProgressBar.js +16 -3
  26. package/lib/module/index.js +0 -1
  27. package/lib/module/index.js.map +1 -1
  28. package/lib/module/mappings/CardContainer.js.map +1 -1
  29. package/lib/module/mappings/CardContainerRating.js.map +1 -1
  30. package/lib/typescript/src/index.d.ts +0 -1
  31. package/package.json +2 -3
  32. package/src/components/Carousel.js +17 -7
  33. package/src/components/Carousel.tsx +22 -7
  34. package/src/index.js +0 -1
  35. package/src/index.tsx +0 -1
  36. package/lib/commonjs/components/Markdown.js +0 -30
  37. package/lib/commonjs/components/Markdown.js.map +0 -1
  38. package/lib/commonjs/mappings/Markdown.js +0 -24
  39. package/lib/commonjs/mappings/Markdown.js.map +0 -1
  40. package/lib/module/components/Markdown.js +0 -13
  41. package/lib/module/components/Markdown.js.map +0 -1
  42. package/lib/module/mappings/Markdown.js +0 -15
  43. package/lib/module/mappings/Markdown.js.map +0 -1
  44. package/lib/typescript/src/components/Markdown.d.ts +0 -12
  45. package/lib/typescript/src/mappings/Markdown.d.ts +0 -9
  46. package/src/components/Markdown.js +0 -7
  47. package/src/components/Markdown.tsx +0 -14
  48. package/src/mappings/Markdown.js +0 -14
  49. package/src/mappings/Markdown.ts +0 -15
@@ -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
- };