@developer_tribe/react-builder 1.2.4 → 1.2.7
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/components/RenderErrorBoundary.d.ts +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +19 -23
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.cjs.js +28 -1
- package/dist/index.native.cjs.js.map +1 -1
- package/dist/index.native.d.ts +4 -0
- package/dist/index.native.esm.js +28 -1
- package/dist/index.native.esm.js.map +1 -1
- package/package.json +5 -1
- package/src/index.native.ts +4 -0
- package/src/index.ts +54 -42
package/dist/index.d.ts
CHANGED
|
@@ -1,36 +1,32 @@
|
|
|
1
1
|
import './styles/index.scss';
|
|
2
|
-
|
|
2
|
+
export { ProjectPage } from './pages/ProjectPage';
|
|
3
|
+
export { getSamples } from './assets/samples/getSamples';
|
|
4
|
+
export { defaultAppConfig } from './types/PreviewConfig';
|
|
5
|
+
export type { AppConfig } from './types/PreviewConfig';
|
|
6
|
+
export type { Project, ProjectColors } from './types/Project';
|
|
7
|
+
/**
|
|
8
|
+
* React Native-safe index. (trade-off for now)
|
|
9
|
+
*/
|
|
10
|
+
export type { TargetedScreenSize } from './types/TargetedScreenSize';
|
|
11
|
+
export type { Node, NodeData, NodeDefaultAttribute } from './types/Node';
|
|
12
|
+
export type { Device } from './types/Device';
|
|
13
|
+
export type { PaywallBenefitValue, PaywallBenefits, Product as PaywallProduct, PaywallModel, } from './paywall/types/paywall-types';
|
|
14
|
+
export { usePaywallCounter, useCloseStatusPaywall, useCarouselOptionsSeperator, useCalculateLocalizedPrice, useDiscountRate, } from './paywall/hooks';
|
|
3
15
|
export { BuilderProvider, useBuilderParams, } from './components/BuilderProvider';
|
|
4
16
|
export { ParamsProvider } from './components/ParamsProvider';
|
|
5
17
|
export { LocalizationParamsProvider } from './components/LocalizationParamsProvider';
|
|
6
|
-
export { RenderErrorBoundary } from './components/RenderErrorBoundary';
|
|
7
18
|
export { useParams } from './hooks/useParams';
|
|
8
19
|
export { useLocalizationParams } from './hooks/useLocalizationParams';
|
|
9
20
|
export { useLocalize } from './hooks/useLocalize';
|
|
10
21
|
export { useExtractTextStyle } from './hooks/useExtractTextStyle';
|
|
11
22
|
export { useExtractViewStyle } from './hooks/useExtractViewStyle';
|
|
12
23
|
export { useExtractImageStyle } from './hooks/useExtractImageStyle';
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export type { Project, ProjectColors } from './types/Project';
|
|
16
|
-
export type { Fonts, FontDefinition } from './types/Fonts';
|
|
17
|
-
export { isNodeNullOrUndefined, isNodeString, isNodeArray, isEmptyObject, analyseNode, } from './utils/analyseNode';
|
|
18
|
-
export { getSamples } from './assets/samples/getSamples';
|
|
19
|
-
export type { AppConfig, Localication } from './types/PreviewConfig';
|
|
20
|
-
export { defaultAppConfig } from './types/PreviewConfig';
|
|
24
|
+
export { isNodeNullOrUndefined, isNodeString, isNodeArray, isEmptyObject, analyseNode, analyseAndProccess, } from './utils/analyseNode';
|
|
25
|
+
export { novaToJson } from './utils/novaToJson';
|
|
21
26
|
export { getDevices, getDefaultDevice } from './utils/getDevices';
|
|
22
|
-
export type { Device } from './types/Device';
|
|
23
|
-
export { AttributesEditor };
|
|
24
|
-
export * from './build-components/index';
|
|
25
|
-
export { default as useNode } from './build-components/useNode';
|
|
26
27
|
export { querySelector } from './utils/querySelector';
|
|
27
|
-
export { extractViewStyle } from './utils/extractViewStyle';
|
|
28
|
-
export { extractImageStyle } from './utils/extractImageStyle';
|
|
29
|
-
export { extractTextStyle } from './utils/extractTextStyle';
|
|
30
28
|
export { getImage, TRIBE_ASSETS_BASE_URL, TribeAssetName, parseTribeAssetName, resolveImageSrc, } from './utils/getImage';
|
|
31
|
-
export {
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export type { PaywallBenefitValue, PaywallBenefits, Product as PaywallProduct, PaywallModel, } from './paywall/types/paywall-types';
|
|
36
|
-
export { usePaywallCounter, useCloseStatusPaywall, useCarouselOptionsSeperator, useCalculateLocalizedPrice, useDiscountRate, } from './paywall/hooks';
|
|
29
|
+
export { getPatternByType, getAttributeSchema, getAttributeMeta, getDefaultsForType, getTypeSchema, isPrimitiveType, getArrayItemType, } from './utils/patterns';
|
|
30
|
+
export { default as useNode } from './build-components/useNode';
|
|
31
|
+
export * from './build-components/index';
|
|
32
|
+
export { getBasicSamples, getOnboardSamples, } from './assets/samples/getSamples';
|