@gem-sdk/core 1.23.0 → 1.23.3
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/types/index.d.ts +2 -11
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -175,7 +175,6 @@ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
175
175
|
};
|
|
176
176
|
devices?: ResponsiveConfig<U>;
|
|
177
177
|
emptyOnClear?: boolean;
|
|
178
|
-
showVideo?: boolean;
|
|
179
178
|
} : {
|
|
180
179
|
id: K;
|
|
181
180
|
label?: string;
|
|
@@ -207,7 +206,6 @@ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
207
206
|
active?: boolean;
|
|
208
207
|
};
|
|
209
208
|
emptyOnClear?: boolean;
|
|
210
|
-
showVideo?: boolean;
|
|
211
209
|
default?: T;
|
|
212
210
|
};
|
|
213
211
|
type SharedControlType<T> = {
|
|
@@ -615,7 +613,7 @@ type BackgroundControlType<T> = SharedControlType<T> & {
|
|
|
615
613
|
value?: Background;
|
|
616
614
|
};
|
|
617
615
|
type Background = {
|
|
618
|
-
type: 'color' | 'image'
|
|
616
|
+
type: 'color' | 'image';
|
|
619
617
|
color?: string;
|
|
620
618
|
image?: {
|
|
621
619
|
src?: string;
|
|
@@ -627,9 +625,6 @@ type Background = {
|
|
|
627
625
|
position?: BgPosition;
|
|
628
626
|
repeat?: BgRepeat;
|
|
629
627
|
attachment?: BgAttachment;
|
|
630
|
-
video?: string;
|
|
631
|
-
loop?: boolean;
|
|
632
|
-
lazyLoad?: boolean;
|
|
633
628
|
};
|
|
634
629
|
type BgSize = 'cover' | 'contain';
|
|
635
630
|
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
@@ -774,10 +769,6 @@ type SwatchesLinkControlType<T> = SharedControlType<T> & {
|
|
|
774
769
|
id?: string;
|
|
775
770
|
type: 'swatchesLink';
|
|
776
771
|
};
|
|
777
|
-
type VariantSwatchesPresetControlType<T> = SharedControlType<T> & {
|
|
778
|
-
id?: string;
|
|
779
|
-
type: 'variant:presets';
|
|
780
|
-
};
|
|
781
772
|
|
|
782
773
|
type LayoutControlType<T> = SharedControlType<T> & {
|
|
783
774
|
type: 'layout';
|
|
@@ -884,7 +875,7 @@ type GridArrange<T> = SharedControlType<T> & {
|
|
|
884
875
|
readonly?: boolean;
|
|
885
876
|
};
|
|
886
877
|
|
|
887
|
-
type ControlProp<T> = AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<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> | TypographyV2ControlType<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> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | SwatchesLinkControlType<T> |
|
|
878
|
+
type ControlProp<T> = AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<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> | TypographyV2ControlType<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> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | SwatchesLinkControlType<T> | ProductListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T>;
|
|
888
879
|
type Setting<P extends BaseProps> = {
|
|
889
880
|
id: 'setting';
|
|
890
881
|
note?: string;
|