@gem-sdk/components 17.0.0-dev.28 → 17.0.0-dev.29
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 +3 -2
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -149,6 +149,7 @@ type TextProps = BasePropsWrap<TextSettingProps, TextStyleProps> & Omit<React.Co
|
|
|
149
149
|
};
|
|
150
150
|
|
|
151
151
|
type ObjectFit$2 = 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
152
|
+
type IImageStorageType = 'THEME' | 'FILE_CONTENT' | 'SHOPIFY_CDN';
|
|
152
153
|
type BaseImageData = {
|
|
153
154
|
alt?: string;
|
|
154
155
|
src?: string;
|
|
@@ -157,7 +158,7 @@ type BaseImageData = {
|
|
|
157
158
|
base64?: string;
|
|
158
159
|
backupFileKey?: string;
|
|
159
160
|
backupFilePath?: string;
|
|
160
|
-
storage?:
|
|
161
|
+
storage?: IImageStorageType;
|
|
161
162
|
metafieldDefinitionKey?: string;
|
|
162
163
|
};
|
|
163
164
|
type SharedProps = {
|
|
@@ -2135,7 +2136,7 @@ type ImageComparisonItem = {
|
|
|
2135
2136
|
height?: number;
|
|
2136
2137
|
backupFileKey?: string;
|
|
2137
2138
|
backupFilePath?: string;
|
|
2138
|
-
storage?:
|
|
2139
|
+
storage?: IImageStorageType;
|
|
2139
2140
|
metafieldDefinitionKey?: string;
|
|
2140
2141
|
};
|
|
2141
2142
|
type ImageTab = 'left' | 'right';
|