@record-evolution/widget-image 1.1.19 → 1.1.20

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.
@@ -645,7 +645,7 @@ var te = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, _ = (r, t,
645
645
  };
646
646
  let m = class extends H {
647
647
  constructor() {
648
- super(...arguments), this.elementWidth = 0, this.elementHeight = 0, this.version = "1.1.19";
648
+ super(...arguments), this.elementWidth = 0, this.elementHeight = 0, this.version = "1.1.20";
649
649
  }
650
650
  disconnectedCallback() {
651
651
  super.disconnectedCallback(), this.resizeObserver && this.resizeObserver.disconnect();
@@ -890,7 +890,7 @@ _([
890
890
  Yt(".wrapper")
891
891
  ], m.prototype, "wrapper", 2);
892
892
  m = _([
893
- Jt("widget-image-1.1.19")
893
+ Jt("widget-image-1.1.20")
894
894
  ], m);
895
895
  export {
896
896
  m as WidgetImage
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent widget-image following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "widget-image",
6
- "version": "1.1.19",
6
+ "version": "1.1.20",
7
7
  "engines": {
8
8
  "node": ">=24.9.0",
9
9
  "npm": ">=10.0.2"
@@ -28,7 +28,7 @@
28
28
  "release": "npm run build && npm run types && npm version patch --tag-version-prefix='' && git push && git push --tag && npm run build"
29
29
  },
30
30
  "dependencies": {
31
- "lit": "^3.3.2",
31
+ "lit": "^3.3.3",
32
32
  "tslib": "^2.8.1"
33
33
  },
34
34
  "devDependencies": {
@@ -30,7 +30,7 @@ export type Gap = number;
30
30
  */
31
31
  export type ImageLabelFontSize = number;
32
32
  /**
33
- * Direct URL to the image file for single-image mode (e.g., 'https://example.com/image.jpg'). Can be bound to a data column for dynamic image sources. Used when 'Use image upload' is disabled.
33
+ * Image source for single-image mode. Accepts a direct URL (e.g., 'https://example.com/image.jpg') or a base64-encoded image supplied as a data URI. Can be bound to a data column for dynamic image sources (e.g. a database column). Base64 values MUST include the data-URI prefix with the correct MIME type: 'data:image/png;base64,<data>' (or image/jpeg, image/gif, image/svg+xml, etc.) — a raw base64 string without this prefix will not render. The base64 payload must contain no whitespace or line breaks. Used when 'Use image upload' is disabled.
34
34
  */
35
35
  export type ImageURL = string;
36
36
  /**
@@ -42,7 +42,7 @@ export type UseImageUpload = boolean;
42
42
  */
43
43
  export type Timestamp = number;
44
44
  /**
45
- * Full URL to the image file. Must be a valid, accessible URL starting with http:// or https://.
45
+ * Image source for this entry. Either a full, accessible URL starting with http:// or https://, or a base64-encoded image supplied as a data URI. Can be bound to a data column (e.g. a database column). Base64 values MUST include the data-URI prefix with the correct MIME type: 'data:image/png;base64,<data>' (or image/jpeg, image/gif, image/svg+xml, etc.) — a raw base64 string without this prefix will not render. The base64 payload must contain no whitespace or line breaks.
46
46
  */
47
47
  export type ImageURL1 = string;
48
48
  /**
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "imageUrl": {
49
49
  "title": "Image URL",
50
- "description": "Direct URL to the image file for single-image mode (e.g., 'https://example.com/image.jpg'). Can be bound to a data column for dynamic image sources. Used when 'Use image upload' is disabled.",
50
+ "description": "Image source for single-image mode. Accepts a direct URL (e.g., 'https://example.com/image.jpg') or a base64-encoded image supplied as a data URI. Can be bound to a data column for dynamic image sources (e.g. a database column). Base64 values MUST include the data-URI prefix with the correct MIME type: 'data:image/png;base64,<data>' (or image/jpeg, image/gif, image/svg+xml, etc.) — a raw base64 string without this prefix will not render. The base64 payload must contain no whitespace or line breaks. Used when 'Use image upload' is disabled.",
51
51
  "order": 7,
52
52
  "condition": {
53
53
  "relativePath": "../multiImage",
@@ -97,7 +97,7 @@
97
97
  },
98
98
  "imageUrl": {
99
99
  "title": "Image URL",
100
- "description": "Full URL to the image file. Must be a valid, accessible URL starting with http:// or https://.",
100
+ "description": "Image source for this entry. Either a full, accessible URL starting with http:// or https://, or a base64-encoded image supplied as a data URI. Can be bound to a data column (e.g. a database column). Base64 values MUST include the data-URI prefix with the correct MIME type: 'data:image/png;base64,<data>' (or image/jpeg, image/gif, image/svg+xml, etc.) — a raw base64 string without this prefix will not render. The base64 payload must contain no whitespace or line breaks.",
101
101
  "type": "string",
102
102
  "order": 2
103
103
  },