@orangelogic/design-system 2.151.0 → 2.152.0

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.151.0",
4
+ "version": "2.152.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -39,6 +39,13 @@ export default class CxAssetLinkFormat extends CortexElement {
39
39
  'cx-space': typeof CxSpace;
40
40
  'cx-typography': typeof CxTypography;
41
41
  };
42
+ /**
43
+ * Transform requests must resolve to a web-displayable image (the browser renders the
44
+ * response directly), so extensions like PSD/TIFF/AI that the source asset may carry are not
45
+ * valid targets for the transformed link — fall back to JPG for those, same as the source
46
+ * extension fallback in asset-transformation-dialog.
47
+ */
48
+ private static getTransformExtension;
42
49
  private readonly localize;
43
50
  /**
44
51
  * The base URL for the asset service.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.151.0",
4
+ "version": "2.152.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {