@orangelogic/design-system 2.152.0 → 2.153.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
  import { _ as kd, a as Sa, b as Be, c as Je } from "../chunks/inheritsLoose.BuSn_CvZ.js";
2
2
  import { c as ps, a as Bn } from "../chunks/_commonjsHelpers.DQNKXVTB.js";
3
3
  import { r as Sb } from "../chunks/___vite-browser-external_commonjs-proxy.C2tf3HsQ.js";
4
- import { C as Cb } from "../chunks/image.DYRVQgG1.js";
4
+ import { C as Cb } from "../chunks/image.DazATuAV.js";
5
5
  import Mb from "./resize-observer.js";
6
6
  import { r as Db, R as Pb, a as Rp, b as Lb } from "../chunks/resizable-component.styles.CAfXABBc.js";
7
7
  import { c as Rb } from "../chunks/component.styles.CRO4Odto.js";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.152.0",
4
+ "version": "2.153.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -104,6 +104,12 @@ export default class CxImage extends ResizableElement {
104
104
  * The loading attribute of the image.
105
105
  */
106
106
  htmlLoading: 'eager' | 'lazy';
107
+ /**
108
+ * When true, omits the `crossorigin` attribute on the underlying `<img>`, disabling the
109
+ * CORS request mode. Defaults to false, i.e. the image loads with `crossorigin="anonymous"`
110
+ * (e.g. set `no-crossorigin` in Site Builder contexts where CORS headers are absent).
111
+ */
112
+ noCrossorigin: boolean;
107
113
  /**
108
114
  * The type of click handler to use.
109
115
  * - automatic: The click handler is automatically handled by the image.
@@ -143,6 +149,7 @@ export default class CxImage extends ResizableElement {
143
149
  'image--has-action': boolean;
144
150
  'image--hidden': boolean;
145
151
  };
152
+ /** The crossorigin value for the `<img>`; `undefined` (attribute omitted) when `noCrossorigin` is set. */
146
153
  get crossorigin(): string | undefined;
147
154
  /**
148
155
  * Whether the image have zoom action.
@@ -97,6 +97,11 @@ export default class CxGalleryItem extends HighlightableElement {
97
97
  * The object fit style for the image.
98
98
  */
99
99
  objectFit: ObjectFit;
100
+ /**
101
+ * When true, forwards `no-crossorigin` to the inner `<cx-image>`, disabling CORS mode.
102
+ * Defaults to false (the image loads with `crossorigin="anonymous"`).
103
+ */
104
+ noCrossorigin: boolean;
100
105
  /**
101
106
  * Whether to open the link in a new tab.
102
107
  */
@@ -6,7 +6,7 @@ import { default as CxXmlEditorPacketEditor } from './components/packet-editor/p
6
6
  import { default as CxXmlEditorViewer } from './components/viewer/viewer';
7
7
 
8
8
  /**
9
- * @summary Structured tree editor for the `<FetchRules>` XML rule schema: expand/collapse, add/copy/paste/delete
9
+ * @summary Structured tree editor for the FetchRules XML rule schema: expand/collapse, add/copy/paste/delete
10
10
  * elements, edit `Packet` search rules, and preview the resulting XML. Replaces the legacy React `orangelogic-react-xmleditor`
11
11
  * component; the host page owns persistence and listens for `cx-xml-editor-change`.
12
12
  *
@@ -2525,6 +2525,10 @@
2525
2525
  * The loading attribute of the image.
2526
2526
  */
2527
2527
  htmlLoading?: 'eager' | 'lazy';
2528
+ /**
2529
+ * When true, omits the `crossorigin` attribute on the underlying `img`, disabling the CORS request mode. Defaults to false, i.e. the image loads with `crossorigin="anonymous"` (e.g. set `no-crossorigin` in Site Builder contexts where CORS headers are absent).
2530
+ */
2531
+ noCrossorigin?: boolean;
2528
2532
  /**
2529
2533
  * The type of click handler to use. - automatic: The click handler is automatically handled by the image. - manual: The click handler is manually handled by the parent element.
2530
2534
  */
@@ -10299,7 +10303,7 @@
10299
10303
  preRender?: boolean;
10300
10304
  }
10301
10305
  /**
10302
- * Structured tree editor for the `<FetchRules>` XML rule schema: expand/collapse, add/copy/paste/delete elements, edit `Packet` search rules, and preview the resulting XML. Replaces the legacy React `orangelogic-react-xmleditor` component; the host page owns persistence and listens for `cx-xml-editor-change`.
10306
+ * Structured tree editor for the FetchRules XML rule schema: expand/collapse, add/copy/paste/delete elements, edit `Packet` search rules, and preview the resulting XML. Replaces the legacy React `orangelogic-react-xmleditor` component; the host page owns persistence and listens for `cx-xml-editor-change`.
10303
10307
  */
10304
10308
  interface CxXmlEditorAttributes extends HTMLAttributes<CxXmlEditor> {
10305
10309
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.152.0",
4
+ "version": "2.153.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {