@gem-sdk/pages 1.53.0-dev.0 → 1.53.0-dev.139

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.
@@ -189,7 +189,9 @@ declare const BuilderPage: React.FC<BuilderPageProps>;
189
189
 
190
190
  declare const getStaticPaths: GetStaticPaths;
191
191
 
192
- type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
192
+ type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme' | 'bunny';
193
+
194
+ type FontType = 'bunny' | 'google';
193
195
 
194
196
  type FontItem = {
195
197
  type: TypographyV2FontFamilyType;
@@ -202,8 +204,8 @@ type FontOption = {
202
204
  subset?: string;
203
205
  effect?: string;
204
206
  };
205
- declare function getFonts(fonts: FontItem[], option?: FontOption, isImportFontByUrl?: boolean): Promise<string>;
206
- declare const getFontFromGlobalStyle: (data?: string) => "" | Promise<string>;
207
+ declare function getFonts(fonts: FontItem[], option?: FontOption, isImportFontByUrl?: boolean, fontType?: FontType): Promise<string>;
208
+ declare const getFontFromGlobalStyle: (data?: string, sourceFont?: FontType) => "" | Promise<string>;
207
209
 
208
210
  declare const getFontsFromDataBuilder: (dataBuilder: Record<string, any>) => FontItem[];
209
211
  declare const getFontFromGroupSetting: (fonts: FontItem[], groupSetting: Record<string, any>) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/pages",
3
- "version": "1.53.0-dev.0",
3
+ "version": "1.53.0-dev.139",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -26,10 +26,10 @@
26
26
  "next": "latest"
27
27
  },
28
28
  "devDependencies": {
29
- "@gem-sdk/core": "1.53.0-dev.0",
30
- "@gem-sdk/plugin-cookie-bar": "1.53.0-dev.0",
31
- "@gem-sdk/plugin-quick-view": "1.53.0-dev.0",
32
- "@gem-sdk/plugin-sticky-add-to-cart": "1.53.0-dev.0"
29
+ "@gem-sdk/core": "1.53.0-dev.139",
30
+ "@gem-sdk/plugin-cookie-bar": "1.53.0-dev.105",
31
+ "@gem-sdk/plugin-quick-view": "1.53.0-dev.105",
32
+ "@gem-sdk/plugin-sticky-add-to-cart": "1.53.0-dev.105"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "next": ">=13"