@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.
- package/library/chunks/{document-viewer.DzwB_FfN.js → document-viewer.BN-OQfid.js} +1 -1
- package/library/chunks/{image.DYRVQgG1.js → image.DazATuAV.js} +90 -86
- package/library/components/atoms.js +2 -2
- package/library/components/document-viewer.js +2 -2
- package/library/components/image.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/types.js +526 -523
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/image/image.d.ts +7 -0
- package/library/packages/molecules/src/gallery-item/gallery-item.d.ts +5 -0
- package/library/packages/organisms/src/xml-editor/xml-editor.d.ts +1 -1
- package/library/react-web-component.d.ts +5 -1
- package/package.json +1 -1
|
@@ -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.
|
|
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";
|
package/library/package.json
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|