ochre-sdk 0.22.0 → 0.22.1

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 CHANGED
@@ -1045,6 +1045,7 @@ type WebElementComponent = {
1045
1045
  }> | null;
1046
1046
  variant: "detailed" | "card" | "tile" | "showcase";
1047
1047
  paginationVariant: "default" | "numeric";
1048
+ loadingVariant: "spinner" | "skeleton" | "animation" | "none";
1048
1049
  layout: "image-top" | "image-bottom" | "image-start" | "image-end";
1049
1050
  imageQuality: "high" | "low";
1050
1051
  isSortDisplayed: boolean;
package/dist/index.mjs CHANGED
@@ -4389,6 +4389,8 @@ function parseWebElementProperties(componentProperty, elementResource) {
4389
4389
  variant ??= "detailed";
4390
4390
  let paginationVariant = getPropertyValueContentByLabel(componentProperty.properties, "pagination-variant");
4391
4391
  paginationVariant ??= "default";
4392
+ let loadingVariant = getPropertyValueContentByLabel(componentProperty.properties, "loading-variant");
4393
+ loadingVariant ??= "spinner";
4392
4394
  let imageQuality = getPropertyValueContentByLabel(componentProperty.properties, "image-quality");
4393
4395
  imageQuality ??= "low";
4394
4396
  let isUsingQueryParams = getPropertyValueContentByLabel(componentProperty.properties, "is-using-query-params");
@@ -4440,6 +4442,7 @@ function parseWebElementProperties(componentProperty, elementResource) {
4440
4442
  })) ?? null,
4441
4443
  variant,
4442
4444
  paginationVariant,
4445
+ loadingVariant,
4443
4446
  layout,
4444
4447
  imageQuality,
4445
4448
  isUsingQueryParams,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ochre-sdk",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Node.js library for working with OCHRE (Online Cultural and Historical Research Environment) data",
@@ -49,7 +49,7 @@
49
49
  "zod": "^4.3.6"
50
50
  },
51
51
  "devDependencies": {
52
- "@antfu/eslint-config": "^8.0.0",
52
+ "@antfu/eslint-config": "^8.1.0",
53
53
  "@types/node": "^24.12.2",
54
54
  "bumpp": "^11.0.1",
55
55
  "eslint": "^10.2.0",