@swell/apps-sdk 1.0.77 → 1.0.79
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/index.cjs +41 -41
- package/dist/index.cjs.map +3 -3
- package/dist/index.js +41 -41
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +17 -17
- package/dist/index.mjs.map +3 -3
- package/dist/src/theme/theme-loader.d.ts +3 -0
- package/dist/src/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -58,6 +58,9 @@ export declare class ThemeLoader {
|
|
|
58
58
|
private fetchThemeConfigsFromSource;
|
|
59
59
|
/**
|
|
60
60
|
* Fetches one theme config via Swell Backend API.
|
|
61
|
+
* This is used when a hash entry cannot be found.
|
|
62
|
+
* We may override the cached hash in order to ensure it is found on reload,
|
|
63
|
+
* but we probably need to find why that happens in the first place (TODO).
|
|
61
64
|
*/
|
|
62
65
|
private fetchThemeConfigsFromSourceByPath;
|
|
63
66
|
/**
|
|
@@ -19,6 +19,6 @@ export declare function stringifyQueryParams(queryParams: SwellData): string;
|
|
|
19
19
|
export declare function scopeCustomCSS(custom_css: string | string[], sectionID: string): string;
|
|
20
20
|
export declare function extractSettingsFromForm(form: Record<string, {
|
|
21
21
|
value: unknown;
|
|
22
|
-
} | undefined>,
|
|
22
|
+
} | undefined>, currentSettings: Record<string, unknown>): ThemeSettings;
|
|
23
23
|
export declare const SECTION_GROUP_CONTENT = "ContentSections";
|
|
24
24
|
export declare function getSectionGroupProp(sectionId: string): string;
|