@developer_tribe/react-builder 0.1.4 → 0.1.8

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 (110) hide show
  1. package/dist/build-components/Button/Button.d.ts +1 -5
  2. package/dist/build-components/Button/ButtonProps.generated.d.ts +4 -0
  3. package/dist/build-components/Carousel/Carousel.d.ts +1 -5
  4. package/dist/build-components/Carousel/CarouselProps.generated.d.ts +4 -0
  5. package/dist/build-components/CarouselButtons/CarouselButtons.d.ts +1 -5
  6. package/dist/build-components/CarouselButtons/CarouselButtonsProps.generated.d.ts +4 -0
  7. package/dist/build-components/CarouselDots/CarouselDots.d.ts +1 -5
  8. package/dist/build-components/CarouselDots/CarouselDotsProps.generated.d.ts +4 -0
  9. package/dist/build-components/CarouselItem/CarouselItem.d.ts +1 -5
  10. package/dist/build-components/CarouselItem/CarouselItemProps.generated.d.ts +4 -0
  11. package/dist/build-components/CarouselProvider/CarouselProvider.d.ts +1 -5
  12. package/dist/build-components/CarouselProvider/CarouselProviderProps.generated.d.ts +4 -0
  13. package/dist/build-components/Image/Image.d.ts +1 -5
  14. package/dist/build-components/Image/ImageProps.generated.d.ts +4 -0
  15. package/dist/build-components/Onboard/Onboard.d.ts +1 -5
  16. package/dist/build-components/Onboard/OnboardProps.generated.d.ts +4 -0
  17. package/dist/build-components/OnboardBoardTitle/OnboardBoardTitle.d.ts +1 -5
  18. package/dist/build-components/OnboardBoardTitle/OnboardBoardTitleProps.generated.d.ts +4 -0
  19. package/dist/build-components/OnboardButton/OnboardButton.d.ts +1 -5
  20. package/dist/build-components/OnboardButton/OnboardButtonProps.generated.d.ts +4 -0
  21. package/dist/build-components/OnboardButtons/OnboardButtons.d.ts +1 -5
  22. package/dist/build-components/OnboardButtons/OnboardButtonsProps.generated.d.ts +4 -0
  23. package/dist/build-components/OnboardDot/OnboardDot.d.ts +5 -0
  24. package/dist/build-components/OnboardDot/OnboardDotProps.generated.d.ts +10 -0
  25. package/dist/build-components/OnboardDot/OnboardExpandingDotProps.generated.d.ts +10 -0
  26. package/dist/build-components/OnboardFooter/OnboardFooter.d.ts +1 -5
  27. package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +4 -0
  28. package/dist/build-components/OnboardImage/OnboardImage.d.ts +1 -5
  29. package/dist/build-components/OnboardImage/OnboardImageProps.generated.d.ts +4 -0
  30. package/dist/build-components/OnboardItem/OnboardItem.d.ts +1 -5
  31. package/dist/build-components/OnboardItem/OnboardItemProps.generated.d.ts +4 -0
  32. package/dist/build-components/OnboardProvider/OnboardProvider.d.ts +1 -5
  33. package/dist/build-components/OnboardProvider/OnboardProviderProps.generated.d.ts +4 -0
  34. package/dist/build-components/OnboardSubtitle/OnboardSubtitle.d.ts +1 -5
  35. package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +4 -0
  36. package/dist/build-components/Text/Text.d.ts +1 -5
  37. package/dist/build-components/Text/TextProps.generated.d.ts +4 -0
  38. package/dist/build-components/View/View.d.ts +1 -5
  39. package/dist/build-components/View/ViewProps.generated.d.ts +4 -0
  40. package/dist/build-components/index.d.ts +19 -0
  41. package/dist/index.cjs.js +1 -1
  42. package/dist/index.d.ts +1 -0
  43. package/dist/index.esm.js +1 -1
  44. package/package.json +4 -3
  45. package/scripts/prebuild/build-components.js +20 -502
  46. package/scripts/prebuild/utils/createBuildComponentsIndex.js +24 -0
  47. package/scripts/prebuild/utils/createComponentTsx.js +21 -0
  48. package/scripts/prebuild/utils/createGeneratedProps.js +65 -0
  49. package/scripts/prebuild/utils/createRenderNodeGenerated.js +69 -0
  50. package/scripts/prebuild/utils/ensureDir.js +5 -0
  51. package/scripts/prebuild/utils/ensurePropsTs.js +15 -0
  52. package/scripts/prebuild/utils/fail.js +7 -0
  53. package/scripts/prebuild/utils/formatAllSourceFiles.js +39 -0
  54. package/scripts/prebuild/utils/formatWithPrettier.js +10 -0
  55. package/scripts/prebuild/utils/index.js +15 -0
  56. package/scripts/prebuild/utils/lintNonGeneratedOrThrow.js +27 -0
  57. package/scripts/prebuild/utils/validateAllComponentsOrThrow.js +156 -0
  58. package/scripts/prebuild/utils/validateExistingComponentTsx.js +40 -0
  59. package/scripts/prebuild/utils/validatePatternJson.js +77 -0
  60. package/scripts/public/bin.js +1 -6
  61. package/scripts/public/scripts/build/index.js +15 -4
  62. package/scripts/public/scripts/build/info.json +6 -0
  63. package/src/build-components/Button/Button.tsx +1 -6
  64. package/src/build-components/Button/ButtonProps.generated.ts +6 -0
  65. package/src/build-components/Carousel/Carousel.tsx +1 -6
  66. package/src/build-components/Carousel/CarouselProps.generated.ts +6 -0
  67. package/src/build-components/CarouselButtons/CarouselButtons.tsx +1 -6
  68. package/src/build-components/CarouselButtons/CarouselButtonsProps.generated.ts +6 -0
  69. package/src/build-components/CarouselDots/CarouselDots.tsx +1 -6
  70. package/src/build-components/CarouselDots/CarouselDotsProps.generated.ts +6 -0
  71. package/src/build-components/CarouselItem/CarouselItem.tsx +1 -6
  72. package/src/build-components/CarouselItem/CarouselItemProps.generated.ts +6 -0
  73. package/src/build-components/CarouselProvider/CarouselProvider.tsx +1 -5
  74. package/src/build-components/CarouselProvider/CarouselProviderProps.generated.ts +6 -0
  75. package/src/build-components/Image/Image.tsx +1 -6
  76. package/src/build-components/Image/ImageProps.generated.ts +6 -0
  77. package/src/build-components/Onboard/Onboard.tsx +1 -6
  78. package/src/build-components/Onboard/OnboardProps.generated.ts +6 -0
  79. package/src/build-components/OnboardBoardTitle/OnboardBoardTitle.tsx +1 -6
  80. package/src/build-components/OnboardBoardTitle/OnboardBoardTitleProps.generated.ts +6 -0
  81. package/src/build-components/OnboardButton/OnboardButton.tsx +1 -6
  82. package/src/build-components/OnboardButton/OnboardButtonProps.generated.ts +6 -0
  83. package/src/build-components/OnboardButtons/OnboardButtons.tsx +2 -6
  84. package/src/build-components/OnboardButtons/OnboardButtonsProps.generated.ts +6 -0
  85. package/src/build-components/OnboardDot/OnboardDot.tsx +9 -0
  86. package/src/build-components/OnboardDot/OnboardDotProps.generated.ts +20 -0
  87. package/src/build-components/{OnboardExpandingDot → OnboardDot}/OnboardExpandingDotProps.generated.ts +7 -1
  88. package/src/build-components/{OnboardExpandingDot → OnboardDot}/pattern.json +1 -1
  89. package/src/build-components/OnboardFooter/OnboardFooter.tsx +1 -6
  90. package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +6 -0
  91. package/src/build-components/OnboardImage/OnboardImage.tsx +1 -6
  92. package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +6 -0
  93. package/src/build-components/OnboardItem/OnboardItem.tsx +1 -5
  94. package/src/build-components/OnboardItem/OnboardItemProps.generated.ts +6 -0
  95. package/src/build-components/OnboardProvider/OnboardProvider.tsx +1 -5
  96. package/src/build-components/OnboardProvider/OnboardProviderProps.generated.ts +6 -0
  97. package/src/build-components/OnboardSubtitle/OnboardSubtitle.tsx +1 -6
  98. package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +6 -0
  99. package/src/build-components/RenderNode.generated.tsx +3 -3
  100. package/src/build-components/Text/Text.tsx +1 -6
  101. package/src/build-components/Text/TextProps.generated.ts +6 -0
  102. package/src/build-components/View/View.tsx +5 -6
  103. package/src/build-components/View/ViewProps.generated.ts +6 -0
  104. package/src/build-components/index.ts +78 -0
  105. package/src/index.ts +1 -0
  106. package/src/utils/novaToJson.ts +1 -1
  107. package/src/utils/patterns.ts +1 -1
  108. package/dist/build-components/OnboardExpandingDot/OnboardExpandingDot.d.ts +0 -9
  109. package/dist/build-components/OnboardExpandingDot/OnboardExpandingDotProps.generated.d.ts +0 -6
  110. package/src/build-components/OnboardExpandingDot/OnboardExpandingDot.tsx +0 -14
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { ButtonPropsGenerated } from './ButtonProps.generated';
4
- type ButtonComponentProps = {
5
- node: NodeData<ButtonPropsGenerated['attributes']>;
6
- };
2
+ import type { ButtonComponentProps } from './ButtonProps.generated';
7
3
  declare function Button({ node }: ButtonComponentProps): string;
8
4
  declare const _default: React.MemoExoticComponent<typeof Button>;
9
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface ButtonPropsGenerated {
2
3
  child: string;
3
4
  attributes: {
@@ -6,3 +7,6 @@ export interface ButtonPropsGenerated {
6
7
  fontWeight?: 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
7
8
  };
8
9
  }
10
+ export interface ButtonComponentProps {
11
+ node: NodeData<ButtonPropsGenerated['attributes']>;
12
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { CarouselPropsGenerated } from './CarouselProps.generated';
4
- type CarouselComponentProps = {
5
- node: NodeData<CarouselPropsGenerated['attributes']>;
6
- };
2
+ import type { CarouselComponentProps } from './CarouselProps.generated';
7
3
  declare function Carousel({ node }: CarouselComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof Carousel>;
9
5
  export default _default;
@@ -1,4 +1,8 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface CarouselPropsGenerated {
2
3
  child: string;
3
4
  attributes: {};
4
5
  }
6
+ export interface CarouselComponentProps {
7
+ node: NodeData<CarouselPropsGenerated['attributes']>;
8
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { CarouselButtonsPropsGenerated } from './CarouselButtonsProps.generated';
4
- type CarouselButtonsComponentProps = {
5
- node: NodeData<CarouselButtonsPropsGenerated['attributes']>;
6
- };
2
+ import type { CarouselButtonsComponentProps } from './CarouselButtonsProps.generated';
7
3
  declare function CarouselButtons({ node }: CarouselButtonsComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof CarouselButtons>;
9
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface CarouselButtonsPropsGenerated {
2
3
  child: string;
3
4
  attributes: {
@@ -5,3 +6,6 @@ export interface CarouselButtonsPropsGenerated {
5
6
  skipNumber?: number;
6
7
  };
7
8
  }
9
+ export interface CarouselButtonsComponentProps {
10
+ node: NodeData<CarouselButtonsPropsGenerated['attributes']>;
11
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { CarouselDotsPropsGenerated } from './CarouselDotsProps.generated';
4
- type CarouselDotsComponentProps = {
5
- node: NodeData<CarouselDotsPropsGenerated['attributes']>;
6
- };
2
+ import type { CarouselDotsComponentProps } from './CarouselDotsProps.generated';
7
3
  declare function CarouselDots({ node }: CarouselDotsComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof CarouselDots>;
9
5
  export default _default;
@@ -1,6 +1,10 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface CarouselDotsPropsGenerated {
2
3
  child: string;
3
4
  attributes: {
4
5
  dotType?: 'expanding_dot' | 'normal_dot' | 'scaling_dot' | 'sliding_border' | 'sliding_dot' | 'liquid_like';
5
6
  };
6
7
  }
8
+ export interface CarouselDotsComponentProps {
9
+ node: NodeData<CarouselDotsPropsGenerated['attributes']>;
10
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { CarouselItemPropsGenerated } from './CarouselItemProps.generated';
4
- type CarouselItemComponentProps = {
5
- node: NodeData<CarouselItemPropsGenerated['attributes']>;
6
- };
2
+ import type { CarouselItemComponentProps } from './CarouselItemProps.generated';
7
3
  export declare function CarouselItem({ node }: CarouselItemComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof CarouselItem>;
9
5
  export default _default;
@@ -1,4 +1,8 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface CarouselItemPropsGenerated {
2
3
  child: string;
3
4
  attributes: {};
4
5
  }
6
+ export interface CarouselItemComponentProps {
7
+ node: NodeData<CarouselItemPropsGenerated['attributes']>;
8
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { CarouselProviderPropsGenerated } from './CarouselProviderProps.generated';
4
- type CarouselProviderComponentProps = {
5
- node: NodeData<CarouselProviderPropsGenerated['attributes']>;
6
- };
2
+ import type { CarouselProviderComponentProps } from './CarouselProviderProps.generated';
7
3
  export declare const carouselContext: React.Context<any>;
8
4
  declare function CarouselProvider({ node }: CarouselProviderComponentProps): import("react/jsx-runtime").JSX.Element;
9
5
  declare const _default: React.MemoExoticComponent<typeof CarouselProvider>;
@@ -1,4 +1,8 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface CarouselProviderPropsGenerated {
2
3
  child: string;
3
4
  attributes: {};
4
5
  }
6
+ export interface CarouselProviderComponentProps {
7
+ node: NodeData<CarouselProviderPropsGenerated['attributes']>;
8
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { ImagePropsGenerated } from './ImageProps.generated';
4
- type ImageComponentProps = {
5
- node: NodeData<ImagePropsGenerated['attributes']>;
6
- };
2
+ import type { ImageComponentProps } from './ImageProps.generated';
7
3
  declare function Image({ node }: ImageComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof Image>;
9
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface ImagePropsGenerated {
2
3
  child: string;
3
4
  attributes: {
@@ -8,3 +9,6 @@ export interface ImagePropsGenerated {
8
9
  borderRadius?: number;
9
10
  };
10
11
  }
12
+ export interface ImageComponentProps {
13
+ node: NodeData<ImagePropsGenerated['attributes']>;
14
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { OnboardPropsGenerated } from './OnboardProps.generated';
4
- type OnboardComponentProps = {
5
- node: NodeData<OnboardPropsGenerated['attributes']>;
6
- };
2
+ import type { OnboardComponentProps } from './OnboardProps.generated';
7
3
  declare function Onboard({ node }: OnboardComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof Onboard>;
9
5
  export default _default;
@@ -1,4 +1,8 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface OnboardPropsGenerated {
2
3
  child: string;
3
4
  attributes: {};
4
5
  }
6
+ export interface OnboardComponentProps {
7
+ node: NodeData<OnboardPropsGenerated['attributes']>;
8
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { OnboardBoardTitlePropsGenerated } from './OnboardBoardTitleProps.generated';
4
- type OnboardBoardTitleComponentProps = {
5
- node: NodeData<OnboardBoardTitlePropsGenerated['attributes']>;
6
- };
2
+ import type { OnboardBoardTitleComponentProps } from './OnboardBoardTitleProps.generated';
7
3
  declare function OnboardBoardTitle({ node }: OnboardBoardTitleComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof OnboardBoardTitle>;
9
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface OnboardBoardTitlePropsGenerated {
2
3
  child: string;
3
4
  attributes: {
@@ -6,3 +7,6 @@ export interface OnboardBoardTitlePropsGenerated {
6
7
  fontWeight?: 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
7
8
  };
8
9
  }
10
+ export interface OnboardBoardTitleComponentProps {
11
+ node: NodeData<OnboardBoardTitlePropsGenerated['attributes']>;
12
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { OnboardButtonPropsGenerated } from './OnboardButtonProps.generated';
4
- type OnboardButtonComponentProps = {
5
- node: NodeData<OnboardButtonPropsGenerated['attributes']>;
6
- };
2
+ import type { OnboardButtonComponentProps } from './OnboardButtonProps.generated';
7
3
  declare function OnboardButton({ node }: OnboardButtonComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof OnboardButton>;
9
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface OnboardButtonPropsGenerated {
2
3
  child: string;
3
4
  attributes: {
@@ -9,3 +10,6 @@ export interface OnboardButtonPropsGenerated {
9
10
  events?: string;
10
11
  };
11
12
  }
13
+ export interface OnboardButtonComponentProps {
14
+ node: NodeData<OnboardButtonPropsGenerated['attributes']>;
15
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { OnboardButtonsPropsGenerated } from './OnboardButtonsProps.generated';
4
- type OnboardButtonsComponentProps = {
5
- node: NodeData<OnboardButtonsPropsGenerated['attributes']>;
6
- };
2
+ import type { OnboardButtonsComponentProps } from './OnboardButtonsProps.generated';
7
3
  declare function OnboardButtons({ node }: OnboardButtonsComponentProps): import("react/jsx-runtime").JSX.Element | null;
8
4
  declare const _default: React.MemoExoticComponent<typeof OnboardButtons>;
9
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface OnboardButtonsPropsGenerated {
2
3
  child: string;
3
4
  attributes: {
@@ -8,3 +9,6 @@ export interface OnboardButtonsPropsGenerated {
8
9
  seperatorColor?: string;
9
10
  };
10
11
  }
12
+ export interface OnboardButtonsComponentProps {
13
+ node: NodeData<OnboardButtonsPropsGenerated['attributes']>;
14
+ }
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { OnboardDotComponentProps } from './OnboardExpandingDotProps.generated';
3
+ declare function OnboardDot({ node }: OnboardDotComponentProps): import("react/jsx-runtime").JSX.Element;
4
+ declare const _default: React.MemoExoticComponent<typeof OnboardDot>;
5
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import type { NodeData } from '../../types/Node';
2
+ export interface OnboardDotPropsGenerated {
3
+ child: string;
4
+ attributes: {
5
+ dotType?: 'expanding_dot' | 'normal_dot' | 'scaling_dot' | 'sliding_border' | 'sliding_dot' | 'liquid_like';
6
+ };
7
+ }
8
+ export interface OnboardDotComponentProps {
9
+ node: NodeData<OnboardDotPropsGenerated['attributes']>;
10
+ }
@@ -0,0 +1,10 @@
1
+ import type { NodeData } from '../../types/Node';
2
+ export interface OnboardDotPropsGenerated {
3
+ child: string;
4
+ attributes: {
5
+ dotType?: 'expanding_dot' | 'normal_dot' | 'scaling_dot' | 'sliding_border' | 'sliding_dot' | 'liquid_like';
6
+ };
7
+ }
8
+ export interface OnboardDotComponentProps {
9
+ node: NodeData<OnboardDotPropsGenerated['attributes']>;
10
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { OnboardFooterPropsGenerated } from './OnboardFooterProps.generated';
4
- type OnboardFooterComponentProps = {
5
- node: NodeData<OnboardFooterPropsGenerated['attributes']>;
6
- };
2
+ import type { OnboardFooterComponentProps } from './OnboardFooterProps.generated';
7
3
  declare function OnboardFooter({ node }: OnboardFooterComponentProps): string;
8
4
  declare const _default: React.MemoExoticComponent<typeof OnboardFooter>;
9
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface OnboardFooterPropsGenerated {
2
3
  child: string;
3
4
  attributes: {
@@ -14,3 +15,6 @@ export interface OnboardFooterPropsGenerated {
14
15
  height?: number;
15
16
  };
16
17
  }
18
+ export interface OnboardFooterComponentProps {
19
+ node: NodeData<OnboardFooterPropsGenerated['attributes']>;
20
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { OnboardImagePropsGenerated } from './OnboardImageProps.generated';
4
- type OnboardImageComponentProps = {
5
- node: NodeData<OnboardImagePropsGenerated['attributes']>;
6
- };
2
+ import type { OnboardImageComponentProps } from './OnboardImageProps.generated';
7
3
  declare function OnboardImage({ node }: OnboardImageComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof OnboardImage>;
9
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface OnboardImagePropsGenerated {
2
3
  child: string;
3
4
  attributes: {
@@ -8,3 +9,6 @@ export interface OnboardImagePropsGenerated {
8
9
  borderRadius?: number;
9
10
  };
10
11
  }
12
+ export interface OnboardImageComponentProps {
13
+ node: NodeData<OnboardImagePropsGenerated['attributes']>;
14
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { OnboardItemPropsGenerated } from './OnboardItemProps.generated';
4
- type OnboardItemComponentProps = {
5
- node: NodeData<OnboardItemPropsGenerated['attributes']>;
6
- };
2
+ import type { OnboardItemComponentProps } from './OnboardItemProps.generated';
7
3
  declare function OnboardItem({ node }: OnboardItemComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof OnboardItem>;
9
5
  export default _default;
@@ -1,4 +1,8 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface OnboardItemPropsGenerated {
2
3
  child: string;
3
4
  attributes: {};
4
5
  }
6
+ export interface OnboardItemComponentProps {
7
+ node: NodeData<OnboardItemPropsGenerated['attributes']>;
8
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { OnboardProviderPropsGenerated } from './OnboardProviderProps.generated';
4
- type OnboardProviderComponentProps = {
5
- node: NodeData<OnboardProviderPropsGenerated['attributes']>;
6
- };
2
+ import type { OnboardProviderComponentProps } from './OnboardProviderProps.generated';
7
3
  declare function OnboardProvider({ node }: OnboardProviderComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof OnboardProvider>;
9
5
  export default _default;
@@ -1,4 +1,8 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface OnboardProviderPropsGenerated {
2
3
  child: string;
3
4
  attributes: {};
4
5
  }
6
+ export interface OnboardProviderComponentProps {
7
+ node: NodeData<OnboardProviderPropsGenerated['attributes']>;
8
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { OnboardSubtitlePropsGenerated } from './OnboardSubtitleProps.generated';
4
- type OnboardSubtitleComponentProps = {
5
- node: NodeData<OnboardSubtitlePropsGenerated['attributes']>;
6
- };
2
+ import type { OnboardSubtitleComponentProps } from './OnboardSubtitleProps.generated';
7
3
  declare function OnboardSubtitle({ node }: OnboardSubtitleComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof OnboardSubtitle>;
9
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface OnboardSubtitlePropsGenerated {
2
3
  child: string;
3
4
  attributes: {
@@ -6,3 +7,6 @@ export interface OnboardSubtitlePropsGenerated {
6
7
  fontWeight?: 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
7
8
  };
8
9
  }
10
+ export interface OnboardSubtitleComponentProps {
11
+ node: NodeData<OnboardSubtitlePropsGenerated['attributes']>;
12
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { NodeData } from '../../types/Node';
3
- import type { TextPropsGenerated } from './TextProps.generated';
4
- type TextComponentProps = {
5
- node: NodeData<TextPropsGenerated['attributes']>;
6
- };
2
+ import type { TextComponentProps } from './TextProps.generated';
7
3
  declare function Text({ node }: TextComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof Text>;
9
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface TextPropsGenerated {
2
3
  child: string;
3
4
  attributes: {
@@ -6,3 +7,6 @@ export interface TextPropsGenerated {
6
7
  fontWeight?: 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
7
8
  };
8
9
  }
10
+ export interface TextComponentProps {
11
+ node: NodeData<TextPropsGenerated['attributes']>;
12
+ }
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- import type { ViewPropsGenerated } from './ViewProps.generated';
3
- import { NodeData } from '../../types/Node';
4
- type ViewComponentProps = {
5
- node: NodeData<ViewPropsGenerated['attributes']>;
6
- };
2
+ import type { ViewComponentProps } from './ViewProps.generated';
7
3
  export declare function View({ node }: ViewComponentProps): import("react/jsx-runtime").JSX.Element;
8
4
  declare const _default: React.MemoExoticComponent<typeof View>;
9
5
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { NodeData } from '../../types/Node';
1
2
  export interface ViewPropsGenerated {
2
3
  child: string;
3
4
  attributes: {
@@ -14,3 +15,6 @@ export interface ViewPropsGenerated {
14
15
  height?: number;
15
16
  };
16
17
  }
18
+ export interface ViewComponentProps {
19
+ node: NodeData<ViewPropsGenerated['attributes']>;
20
+ }
@@ -0,0 +1,19 @@
1
+ export type { ButtonPropsGenerated, ButtonComponentProps, } from './Button/ButtonProps.generated';
2
+ export type { CarouselPropsGenerated, CarouselComponentProps, } from './Carousel/CarouselProps.generated';
3
+ export type { CarouselButtonsPropsGenerated, CarouselButtonsComponentProps, } from './CarouselButtons/CarouselButtonsProps.generated';
4
+ export type { CarouselDotsPropsGenerated, CarouselDotsComponentProps, } from './CarouselDots/CarouselDotsProps.generated';
5
+ export type { CarouselItemPropsGenerated, CarouselItemComponentProps, } from './CarouselItem/CarouselItemProps.generated';
6
+ export type { CarouselProviderPropsGenerated, CarouselProviderComponentProps, } from './CarouselProvider/CarouselProviderProps.generated';
7
+ export type { ImagePropsGenerated, ImageComponentProps, } from './Image/ImageProps.generated';
8
+ export type { OnboardPropsGenerated, OnboardComponentProps, } from './Onboard/OnboardProps.generated';
9
+ export type { OnboardBoardTitlePropsGenerated, OnboardBoardTitleComponentProps, } from './OnboardBoardTitle/OnboardBoardTitleProps.generated';
10
+ export type { OnboardButtonPropsGenerated, OnboardButtonComponentProps, } from './OnboardButton/OnboardButtonProps.generated';
11
+ export type { OnboardButtonsPropsGenerated, OnboardButtonsComponentProps, } from './OnboardButtons/OnboardButtonsProps.generated';
12
+ export type { OnboardDotPropsGenerated, OnboardDotComponentProps, } from './OnboardDot/OnboardDotProps.generated';
13
+ export type { OnboardFooterPropsGenerated, OnboardFooterComponentProps, } from './OnboardFooter/OnboardFooterProps.generated';
14
+ export type { OnboardImagePropsGenerated, OnboardImageComponentProps, } from './OnboardImage/OnboardImageProps.generated';
15
+ export type { OnboardItemPropsGenerated, OnboardItemComponentProps, } from './OnboardItem/OnboardItemProps.generated';
16
+ export type { OnboardProviderPropsGenerated, OnboardProviderComponentProps, } from './OnboardProvider/OnboardProviderProps.generated';
17
+ export type { OnboardSubtitlePropsGenerated, OnboardSubtitleComponentProps, } from './OnboardSubtitle/OnboardSubtitleProps.generated';
18
+ export type { TextPropsGenerated, TextComponentProps, } from './Text/TextProps.generated';
19
+ export type { ViewPropsGenerated, ViewComponentProps, } from './View/ViewProps.generated';