@gem-sdk/core 1.9.64 → 1.10.1

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.
@@ -33,6 +33,9 @@ const ComponentWrapperPreview = ({ children , ...props })=>{
33
33
  if (editorConfigs.component?.noSetting) {
34
34
  customProps['data-component-no-setting'] = true;
35
35
  }
36
+ if (editorConfigs.component?.isThirdParty) {
37
+ customProps['data-component-is-third-party'] = true;
38
+ }
36
39
  if (editorConfigs.toolbar?.hide) {
37
40
  customProps['data-toolbar-hide'] = true;
38
41
  }
@@ -29,6 +29,9 @@ const ComponentWrapperPreview = ({ children , ...props })=>{
29
29
  if (editorConfigs.component?.noSetting) {
30
30
  customProps['data-component-no-setting'] = true;
31
31
  }
32
+ if (editorConfigs.component?.isThirdParty) {
33
+ customProps['data-component-is-third-party'] = true;
34
+ }
32
35
  if (editorConfigs.toolbar?.hide) {
33
36
  customProps['data-toolbar-hide'] = true;
34
37
  }
@@ -840,6 +840,7 @@ type ComponentSetting<P extends BaseProps> = {
840
840
  noDuplicate?: boolean;
841
841
  noDragDrop?: boolean;
842
842
  noSetting?: boolean;
843
+ isThirdParty?: boolean;
843
844
  };
844
845
  slots?: {
845
846
  children: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.9.64",
3
+ "version": "1.10.1",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",