@gem-sdk/core 2.0.0-dev.251 → 2.0.0-dev.264
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 +12 -1
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -7769,6 +7769,8 @@ type ImageControlType<T> = SharedControlType<T> & {
|
|
|
7769
7769
|
type InputControlType<T> = SharedControlType<T> & {
|
|
7770
7770
|
type: 'input';
|
|
7771
7771
|
placeholder?: string;
|
|
7772
|
+
defaultValue?: string;
|
|
7773
|
+
clearButton?: boolean;
|
|
7772
7774
|
datalist?: {
|
|
7773
7775
|
value: any;
|
|
7774
7776
|
}[];
|
|
@@ -8144,6 +8146,7 @@ type SettingUIControl = {
|
|
|
8144
8146
|
state?: SettingStateType;
|
|
8145
8147
|
}[];
|
|
8146
8148
|
toggleStyle?: 'switch' | 'option';
|
|
8149
|
+
clearButton?: boolean;
|
|
8147
8150
|
};
|
|
8148
8151
|
setting?: {
|
|
8149
8152
|
id: string;
|
|
@@ -8187,6 +8190,7 @@ type SettingUICompo = {
|
|
|
8187
8190
|
popoverLabel?: LabelWithLang;
|
|
8188
8191
|
comboType?: 'color' | 'image';
|
|
8189
8192
|
isHideClear?: boolean;
|
|
8193
|
+
disableClearMessage?: string;
|
|
8190
8194
|
};
|
|
8191
8195
|
type SettingUIMoreSetting = {
|
|
8192
8196
|
label?: LabelWithLang;
|
|
@@ -8792,7 +8796,14 @@ type ProductInputCurrencyUnitControlType<T> = SharedControlType<T> & {
|
|
|
8792
8796
|
useOnlyUnitInit?: boolean;
|
|
8793
8797
|
};
|
|
8794
8798
|
|
|
8795
|
-
|
|
8799
|
+
declare enum PostPurchaseFontSizeValue {
|
|
8800
|
+
Default = "default",
|
|
8801
|
+
Small = "small",
|
|
8802
|
+
Medium = "medium",
|
|
8803
|
+
Large = "large",
|
|
8804
|
+
XLarge = "xlarge"
|
|
8805
|
+
}
|
|
8806
|
+
type PostPurchaseFontSize = PostPurchaseFontSizeValue;
|
|
8796
8807
|
type PostPurchaseFontWeight = 'normal' | 'bold';
|
|
8797
8808
|
type PostPurchaseTextTransform = 'none' | 'uppercase' | 'capitalize' | 'lowercase';
|
|
8798
8809
|
type PostPurchaseTextColor = 'success' | 'warning' | 'critical' | 'default' | 'defaultButton' | 'defaultLink';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.264",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@gem-sdk/adapter-shopify": "2.0.0-dev.234",
|
|
31
|
-
"@gem-sdk/styles": "2.0.0-dev.
|
|
31
|
+
"@gem-sdk/styles": "2.0.0-dev.263",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|