@gem-sdk/core 1.5.40 → 1.5.43

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.
@@ -44,7 +44,8 @@ const Render = ({ uid , builder , components , ...passProps })=>{
44
44
  children: item.childrens.map((id)=>Render({
45
45
  uid: id,
46
46
  builder,
47
- components
47
+ components,
48
+ parentId: uid
48
49
  })).join('')
49
50
  });
50
51
  }, ()=>Component({
@@ -40,7 +40,8 @@ const Render = ({ uid , builder , components , ...passProps })=>{
40
40
  children: item.childrens.map((id)=>Render({
41
41
  uid: id,
42
42
  builder,
43
- components
43
+ components,
44
+ parentId: uid
44
45
  })).join('')
45
46
  });
46
47
  }, ()=>Component({
@@ -399,6 +399,7 @@ type RangeControlType<T> = SharedControlType<T> & {
399
399
  readonly?: boolean;
400
400
  units?: string[];
401
401
  disableOnChange?: boolean;
402
+ ignoreUnit?: boolean;
402
403
  };
403
404
 
404
405
  type Option$2<T> = {
@@ -548,6 +549,7 @@ type TypographyControlType<T> = SharedControlType<T> & {
548
549
 
549
550
  type PickLinkControlType<T> = SharedControlType<T> & {
550
551
  type: 'pick-link';
552
+ pickLinkLabel?: string;
551
553
  };
552
554
 
553
555
  type BehaviorStateControlType<T> = {
@@ -760,7 +762,13 @@ type LayoutSegmentControlType<T> = {
760
762
  [K in keyof T]-?: Mapped<K, T[K]>;
761
763
  }[keyof T];
762
764
 
763
- type ControlProp<T> = AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | SelectControlType<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | CustomCodeEditor | LayoutSegmentControlType<T>;
765
+ type InputSpacing<T> = SharedControlType<T> & {
766
+ type: 'spacingInput';
767
+ placeholder?: string;
768
+ readonly?: boolean;
769
+ };
770
+
771
+ type ControlProp<T> = AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | SelectControlType<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | CustomCodeEditor | LayoutSegmentControlType<T> | InputSpacing<T>;
764
772
  type Setting<P extends BaseProps> = {
765
773
  id: 'setting';
766
774
  note?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.5.40",
3
+ "version": "1.5.43",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",