@contentful/experiences-sdk-react 1.23.0-dev-20241127T2203-79f4a14.0 → 1.23.0-dev-20241202T1857-941b45c.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.
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/sdkVersion.js +1 -1
- package/dist/sdkVersion.js.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/sdkVersion.d.ts +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ import * as _contentful_experiences_core_constants from '@contentful/experiences
|
|
|
8
8
|
export { CF_STYLE_ATTRIBUTES, CONTENTFUL_COMPONENTS, LATEST_SCHEMA_VERSION } from '@contentful/experiences-core/constants';
|
|
9
9
|
import { ContentfulClientApi } from 'contentful';
|
|
10
10
|
|
|
11
|
+
declare const SDK_VERSION = "1.23.0-dev-20241202T1857-941b45c.0";
|
|
12
|
+
|
|
11
13
|
type ExperienceRootProps = {
|
|
12
14
|
experience?: Experience<EntityStore> | string | null;
|
|
13
15
|
locale: string;
|
|
@@ -65,4 +67,4 @@ declare const defineComponents: (componentRegistrations: ComponentRegistration[]
|
|
|
65
67
|
*/
|
|
66
68
|
declare const maintainBasicComponentIdsWithoutPrefix: () => void;
|
|
67
69
|
|
|
68
|
-
export { ExperienceRoot, defineComponents, maintainBasicComponentIdsWithoutPrefix, useFetchById, useFetchBySlug };
|
|
70
|
+
export { ExperienceRoot, defineComponents, maintainBasicComponentIdsWithoutPrefix, useFetchById, useFetchBySlug, SDK_VERSION as version };
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/index.ts"],"sourcesContent":["import { SDK_VERSION } from './sdkVersion';\n\nexport { ExperienceRoot } from './ExperienceRoot';\nexport { useFetchById, useFetchBySlug } from './hooks';\nexport { defineComponents, maintainBasicComponentIdsWithoutPrefix } from './core/componentRegistry';\nexport {\n defineDesignTokens,\n defineBreakpoints,\n VisualEditorMode,\n fetchById,\n fetchBySlug,\n createExperience,\n} from '@contentful/experiences-core';\nexport {\n CONTENTFUL_COMPONENTS,\n LATEST_SCHEMA_VERSION,\n CF_STYLE_ATTRIBUTES,\n} from '@contentful/experiences-core/constants';\n\n// Simple state store to store a few things that are needed across the SDK\nif (typeof window !== 'undefined') {\n if (!window.__EB__) {\n window.__EB__ = {};\n }\n window.__EB__.sdkVersion = SDK_VERSION;\n}\n\nexport type { ComponentDefinition } from '@contentful/experiences-core/types';\n\nexport { detachExperienceStyles } from '@contentful/experiences-core';\n"],"names":[],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/index.ts"],"sourcesContent":["import { SDK_VERSION } from './sdkVersion';\nexport { SDK_VERSION as version };\n\nexport { ExperienceRoot } from './ExperienceRoot';\nexport { useFetchById, useFetchBySlug } from './hooks';\nexport { defineComponents, maintainBasicComponentIdsWithoutPrefix } from './core/componentRegistry';\nexport {\n defineDesignTokens,\n defineBreakpoints,\n VisualEditorMode,\n fetchById,\n fetchBySlug,\n createExperience,\n} from '@contentful/experiences-core';\nexport {\n CONTENTFUL_COMPONENTS,\n LATEST_SCHEMA_VERSION,\n CF_STYLE_ATTRIBUTES,\n} from '@contentful/experiences-core/constants';\n\n// Simple state store to store a few things that are needed across the SDK\nif (typeof window !== 'undefined') {\n if (!window.__EB__) {\n window.__EB__ = {};\n }\n window.__EB__.sdkVersion = SDK_VERSION;\n}\n\nexport type { ComponentDefinition } from '@contentful/experiences-core/types';\n\nexport { detachExperienceStyles } from '@contentful/experiences-core';\n"],"names":[],"mappings":";;;;;;;;;AAoBA;AACA,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AACjC,IAAA,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE;AAClB,QAAA,MAAM,CAAC,MAAM,GAAG,EAAE,CAAC;KACpB;AACD,IAAA,MAAM,CAAC,MAAM,CAAC,UAAU,GAAG,WAAW,CAAC;AACzC;;;;"}
|
package/dist/sdkVersion.js
CHANGED
package/dist/sdkVersion.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdkVersion.js","sources":["../../src/sdkVersion.ts"],"sourcesContent":["export const SDK_VERSION = '1.23.0-dev-
|
|
1
|
+
{"version":3,"file":"sdkVersion.js","sources":["../../src/sdkVersion.ts"],"sourcesContent":["export const SDK_VERSION = '1.23.0-dev-20241202T1857-941b45c.0';\n"],"names":[],"mappings":"AAAO,MAAM,WAAW,GAAG;;;;"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { SDK_VERSION } from './sdkVersion';
|
|
2
|
+
export { SDK_VERSION as version };
|
|
1
3
|
export { ExperienceRoot } from './ExperienceRoot';
|
|
2
4
|
export { useFetchById, useFetchBySlug } from './hooks';
|
|
3
5
|
export { defineComponents, maintainBasicComponentIdsWithoutPrefix } from './core/componentRegistry';
|
package/dist/src/sdkVersion.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.23.0-dev-
|
|
1
|
+
export declare const SDK_VERSION = "1.23.0-dev-20241202T1857-941b45c.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experiences-sdk-react",
|
|
3
|
-
"version": "1.23.0-dev-
|
|
3
|
+
"version": "1.23.0-dev-20241202T1857-941b45c.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"typings": "./dist/src/index.d.ts",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"depcruise": "depcruise src"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@contentful/experiences-components-react": "1.23.0-dev-
|
|
45
|
-
"@contentful/experiences-core": "1.23.0-dev-
|
|
46
|
-
"@contentful/experiences-validators": "1.23.0-dev-
|
|
47
|
-
"@contentful/experiences-visual-editor-react": "1.23.0-dev-
|
|
44
|
+
"@contentful/experiences-components-react": "1.23.0-dev-20241202T1857-941b45c.0",
|
|
45
|
+
"@contentful/experiences-core": "1.23.0-dev-20241202T1857-941b45c.0",
|
|
46
|
+
"@contentful/experiences-validators": "1.23.0-dev-20241202T1857-941b45c.0",
|
|
47
|
+
"@contentful/experiences-visual-editor-react": "1.23.0-dev-20241202T1857-941b45c.0",
|
|
48
48
|
"@contentful/rich-text-types": "^16.2.1",
|
|
49
49
|
"classnames": "^2.3.2",
|
|
50
50
|
"csstype": "^3.1.2",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"dist",
|
|
103
103
|
"package.json"
|
|
104
104
|
],
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "e25794ee844a97cfc0d47adaad92fe59f0d75c51"
|
|
106
106
|
}
|