ochre-sdk 0.22.7 → 0.22.8

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
@@ -802,6 +802,7 @@ type StylesheetCategory = Extract<DataCategory, "propertyVariable" | "propertyVa
802
802
  type StylesheetItem = {
803
803
  uuid: string;
804
804
  category: "propertyVariable";
805
+ icon: string | null;
805
806
  styles: {
806
807
  default: Array<Style>;
807
808
  tablet: Array<Style>;
@@ -811,6 +812,7 @@ type StylesheetItem = {
811
812
  uuid: string;
812
813
  category: "propertyValue";
813
814
  variableUuid: string;
815
+ icon: string | null;
814
816
  styles: {
815
817
  default: Array<Style>;
816
818
  tablet: Array<Style>;
package/dist/index.mjs CHANGED
@@ -3747,12 +3747,14 @@ function parseStylesheets(styles) {
3747
3747
  uuid: style.valueUuid,
3748
3748
  category: "propertyValue",
3749
3749
  variableUuid: style.variableUuid,
3750
+ icon: style.lucideIcon ?? null,
3750
3751
  styles: stylesByViewport
3751
3752
  };
3752
3753
  }
3753
3754
  return {
3754
3755
  uuid: style.variableUuid,
3755
3756
  category: "propertyVariable",
3757
+ icon: style.lucideIcon ?? null,
3756
3758
  styles: stylesByViewport
3757
3759
  };
3758
3760
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ochre-sdk",
3
- "version": "0.22.7",
3
+ "version": "0.22.8",
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",