@developer_tribe/react-builder 1.2.0 → 1.2.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/dist/hooks/useExtractTextStyle.d.ts +9 -0
- package/dist/hooks/useExtractViewStyle.d.ts +9 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.cjs.js +1 -1
- package/dist/index.native.cjs.js.map +1 -1
- package/dist/index.native.d.ts +1 -0
- package/dist/index.native.esm.js +1 -1
- package/dist/index.native.esm.js.map +1 -1
- package/dist/pages/ProjectPage.d.ts +10 -3
- package/dist/types/Fonts.d.ts +5 -1
- package/dist/utils/extractTextStyle/extractTextStyle.d.ts +9 -0
- package/dist/utils/extractTextStyle.d.ts +2 -10
- package/dist/utils/extractViewStyle/extractViewStyle.d.ts +9 -0
- package/dist/utils/extractViewStyle.d.ts +2 -9
- package/package.json +1 -1
- package/src/build-components/BIcon/BIcon.tsx +5 -6
- package/src/build-components/BackgroundImage/BackgroundImage.tsx +2 -5
- package/src/build-components/Button/Button.tsx +20 -15
- package/src/build-components/Carousel/Carousel.tsx +5 -5
- package/src/build-components/CarouselButtons/CarouselButtons.tsx +3 -6
- package/src/build-components/CarouselDots/CarouselDots.tsx +3 -5
- package/src/build-components/CarouselItem/CarouselItem.tsx +3 -6
- package/src/build-components/CarouselProvider/CarouselProvider.tsx +2 -5
- package/src/build-components/Main/Main.tsx +5 -9
- package/src/build-components/OnboardButton/OnboardButton.tsx +5 -5
- package/src/build-components/OnboardButtons/OnboardButtons.tsx +6 -6
- package/src/build-components/OnboardDot/OnboardDot.tsx +8 -4
- package/src/build-components/OnboardFooter/OnboardFooter.tsx +10 -10
- package/src/build-components/OnboardImage/OnboardImage.tsx +6 -6
- package/src/build-components/OnboardItem/OnboardItem.tsx +5 -6
- package/src/build-components/OnboardProvider/OnboardProvider.tsx +13 -10
- package/src/build-components/PaywallBackground/PaywallBackground.tsx +2 -5
- package/src/build-components/PaywallCloseButton/PaywallCloseButton.tsx +5 -5
- package/src/build-components/PaywallOptions/PaywallOptionButton.tsx +2 -5
- package/src/build-components/PaywallProvider/PaywallProvider.tsx +5 -5
- package/src/build-components/PaywallSubscribeButton/PaywallSubscribeButton.tsx +5 -5
- package/src/build-components/RadioButton/RadioButton.tsx +5 -5
- package/src/build-components/Text/Text.tsx +2 -5
- package/src/build-components/View/View.tsx +3 -6
- package/src/hooks/useExtractTextStyle.ts +30 -0
- package/src/hooks/useExtractViewStyle.ts +28 -0
- package/src/index.native.ts +3 -0
- package/src/index.ts +2 -0
- package/src/pages/ProjectPage.tsx +15 -5
- package/src/types/Fonts.ts +5 -1
- package/src/utils/extractTextStyle/extractTextStyle.ts +160 -0
- package/src/utils/extractTextStyle.ts +2 -160
- package/src/utils/extractViewStyle/extractViewStyle.ts +145 -0
- package/src/utils/extractViewStyle.ts +2 -145
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export { RenderErrorBoundary } from './components/RenderErrorBoundary';
|
|
|
7
7
|
export { useParams } from './hooks/useParams';
|
|
8
8
|
export { useLocalizationParams } from './hooks/useLocalizationParams';
|
|
9
9
|
export { useLocalize } from './hooks/useLocalize';
|
|
10
|
+
export { useExtractTextStyle } from './hooks/useExtractTextStyle';
|
|
11
|
+
export { useExtractViewStyle } from './hooks/useExtractViewStyle';
|
|
10
12
|
export type { TargetedScreenSize } from './types/TargetedScreenSize';
|
|
11
13
|
export type { Node, NodeData, NodeDefaultAttribute } from './types/Node';
|
|
12
14
|
export type { Project, ProjectColors } from './types/Project';
|