@gem-sdk/core 1.5.41 → 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.
- package/dist/types/index.d.ts +9 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -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
|
|
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;
|