ochre-sdk 0.22.13 → 0.22.14
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.d.mts +1 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -4822,6 +4822,7 @@ function parseWebsiteProperties(properties, websiteTree, sidebar) {
|
|
|
4822
4822
|
status,
|
|
4823
4823
|
privacy,
|
|
4824
4824
|
contact: null,
|
|
4825
|
+
loadingVariant: "spinner",
|
|
4825
4826
|
theme: {
|
|
4826
4827
|
isThemeToggleDisplayed: true,
|
|
4827
4828
|
defaultTheme: "system"
|
|
@@ -4873,6 +4874,7 @@ function parseWebsiteProperties(properties, websiteTree, sidebar) {
|
|
|
4873
4874
|
};
|
|
4874
4875
|
else throw new Error(`Contact property must be in the format “name;email”, but got “${contactProperty.values[0]?.content}”`);
|
|
4875
4876
|
}
|
|
4877
|
+
returnProperties.loadingVariant = getPropertyValueContentByLabel(websiteProperties, "loading-variant") ?? "spinner";
|
|
4876
4878
|
returnProperties.theme.isThemeToggleDisplayed = getPropertyValueContentByLabel(websiteProperties, "supports-theme-toggle") ?? true;
|
|
4877
4879
|
returnProperties.theme.defaultTheme = getPropertyValueContentByLabel(websiteProperties, "default-theme") ?? "system";
|
|
4878
4880
|
returnProperties.icon.logoUuid = getPropertyByLabel(websiteProperties, "navbar-logo")?.values[0]?.uuid ?? null;
|