@contentful/experiences-core 1.16.1-dev-20240924T1718-56de7e1.0 → 1.16.1-dev-20240925T1613-f291cf8.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.
@@ -1,6 +1,12 @@
1
+ type ComponentAllowOnRoot = {
2
+ type?: string;
3
+ category?: string;
4
+ componentId?: string;
5
+ };
6
+ declare const isPatternComponent: (type?: string) => boolean;
1
7
  declare const isContentfulStructureComponent: (componentId?: string) => boolean;
2
8
  declare const isContentfulComponent: (componentId?: string) => boolean;
3
- declare const isComponentAllowedOnRoot: (componentId?: string) => boolean;
9
+ declare const isComponentAllowedOnRoot: ({ type, category, componentId }: ComponentAllowOnRoot) => boolean;
4
10
  declare const isStructureWithRelativeHeight: (componentId?: string, height?: string | number) => boolean;
5
11
 
6
- export { isComponentAllowedOnRoot, isContentfulComponent, isContentfulStructureComponent, isStructureWithRelativeHeight };
12
+ export { isComponentAllowedOnRoot, isContentfulComponent, isContentfulStructureComponent, isPatternComponent, isStructureWithRelativeHeight };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experiences-core",
3
- "version": "1.16.1-dev-20240924T1718-56de7e1.0",
3
+ "version": "1.16.1-dev-20240925T1613-f291cf8.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -69,11 +69,11 @@
69
69
  "vitest": "^1.0.4"
70
70
  },
71
71
  "dependencies": {
72
- "@contentful/experiences-validators": "1.16.1-dev-20240924T1718-56de7e1.0",
72
+ "@contentful/experiences-validators": "1.16.1-dev-20240925T1613-f291cf8.0",
73
73
  "@contentful/rich-text-types": "^16.3.0"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "contentful": ">=10.6.0"
77
77
  },
78
- "gitHead": "194a8327eeb4a3f3e912d03ec8345bd029406cbb"
78
+ "gitHead": "62583800a77fcffcdd5e2c5f19bb199d65050c59"
79
79
  }