@swell/apps-sdk 1.0.92 → 1.0.94

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.
@@ -27,6 +27,12 @@ export declare function getEasyblocksPagePropsWithConfigs(themeGlobals: ThemeGlo
27
27
  id: string;
28
28
  };
29
29
  };
30
+ swell_locale: {
31
+ type: string;
32
+ widget: {
33
+ id: string;
34
+ };
35
+ };
30
36
  swell_boolean: {
31
37
  type: string;
32
38
  widget: {
@@ -1,4 +1,4 @@
1
- import type { SwellThemeConfig, ThemeLayoutSectionGroupConfig, ThemeSectionBase, ThemeSectionConfig, ThemeSectionGroup, ThemeSectionSchema, ThemeSectionSchemaData, ThemeSettingFieldSchema, ThemeSettings, ThemeSettingSectionSchema } from 'types/swell';
1
+ import type { SwellThemeConfig, SwellLocaleProp, ThemeLayoutSectionGroupConfig, ThemeSectionBase, ThemeSectionConfig, ThemeSectionGroup, ThemeSectionSchema, ThemeSectionSchemaData, ThemeSettingFieldSchema, ThemeSettings, ThemeSettingSectionSchema } from 'types/swell';
2
2
  import type { SwellTheme } from '../theme';
3
3
  import type { CompiledComponentConfigBase, ExternalSchemaProp } from '@swell/easyblocks-core';
4
4
  export declare function getAllSections(theme: SwellTheme, themeConfigs: SwellThemeConfig[]): Promise<ThemeSectionSchema[]>;
@@ -13,6 +13,7 @@ type ReactEasyblocksCompiledComponent = React.ReactElement<{
13
13
  }>;
14
14
  interface PageSectionComponentProps {
15
15
  Blocks?: ReactEasyblocksCompiledComponent[];
16
+ $locale?: SwellLocaleProp;
16
17
  [key: string]: unknown;
17
18
  }
18
19
  export declare function getSectionSettingsFromProps(props: PageSectionComponentProps, sectionSchema?: ThemeSectionSchema): ThemeSectionBase | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@swell/apps-sdk",
3
3
  "type": "module",
4
- "version": "1.0.92",
4
+ "version": "1.0.94",
5
5
  "description": "Swell SDK for building isomorphic apps.",
6
6
  "author": "Swell",
7
7
  "license": "MIT",
@@ -1,5 +0,0 @@
1
- export default class LiquidArray<T> extends Array<T> {
2
- constructor(items?: Iterable<T> | number);
3
- static from<T>(iterable: Iterable<T> | ArrayLike<T>): LiquidArray<T>;
4
- get size(): number;
5
- }