@orangelogic/design-system 4.42.0 → 4.43.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/{block-width.Di5s5CkQ.js → block-width.e6gi5gdK.js} +1 -1
- package/library/chunks/{config-manager.h-KN_Efl.js → config-manager.DCxcRDo5.js} +1 -1
- package/library/chunks/{markdown.CrAalbNm.js → markdown.Evcme-Lw.js} +566 -566
- package/library/chunks/{src.fE9Cl6UM.js → src.CkVx3FOe.js} +1 -1
- package/library/components/atoms.js +2 -2
- package/library/components/markdown.js +1 -1
- package/library/components/types.js +9332 -9322
- package/library/package.json +1 -1
- package/library/packages/hybrid/video-advanced/src/react/plugins/CommentLine/CommentLine.d.ts +2 -0
- package/library/packages/hybrid/video-advanced/src/react/type.d.ts +2 -0
- package/library/packages/hybrid/video-advanced/src/video-advanced/video-advanced.d.ts +2 -2
- package/library/packages/molecules/src/markdown-viewer/markdown-viewer.d.ts +5 -1
- package/library/packages/molecules/src/markdown-viewer/prism-global.d.ts +1 -0
- package/library/packages/molecules/src/markdown-viewer/prism-global.mock.d.ts +2 -0
- package/library/react-web-component.d.ts +1 -1
- package/package.json +1 -1
package/library/package.json
CHANGED
package/library/packages/hybrid/video-advanced/src/react/plugins/CommentLine/CommentLine.d.ts
CHANGED
|
@@ -3,12 +3,14 @@ interface ICommentLineProps {
|
|
|
3
3
|
comments: IComment[];
|
|
4
4
|
onCommentClick: (args: {
|
|
5
5
|
id: string;
|
|
6
|
+
subClipId?: string;
|
|
6
7
|
}, marker: HTMLElement) => void;
|
|
7
8
|
onCommentMouseLeave: (args: {
|
|
8
9
|
id: string;
|
|
9
10
|
}) => void;
|
|
10
11
|
onCommentMouseOver: (args: {
|
|
11
12
|
id: string;
|
|
13
|
+
subClipId?: string;
|
|
12
14
|
}, marker: HTMLElement) => void;
|
|
13
15
|
seekToTime: (time: number) => void;
|
|
14
16
|
}
|
|
@@ -16,6 +16,7 @@ export interface IComment {
|
|
|
16
16
|
id: string;
|
|
17
17
|
occurrenceId?: string;
|
|
18
18
|
startTime: number;
|
|
19
|
+
subClipId?: string;
|
|
19
20
|
subClipIds?: string[];
|
|
20
21
|
}
|
|
21
22
|
export type TimelineMarker = IComment & {
|
|
@@ -25,6 +26,7 @@ export type CommentMarkerEventArgs = {
|
|
|
25
26
|
id: string;
|
|
26
27
|
markerCenterX?: number;
|
|
27
28
|
markerTop?: number;
|
|
29
|
+
subClipId?: string;
|
|
28
30
|
timelineLeft?: number;
|
|
29
31
|
timelineRight?: number;
|
|
30
32
|
};
|
|
@@ -46,8 +46,8 @@ import { default as CxVideoEditor } from '../video-editor/video-editor';
|
|
|
46
46
|
* @event cx-video-prev-frame - Fired when stepping to the previous frame.
|
|
47
47
|
* @event cx-video-enter-fullscreen - Fired when entering fullscreen.
|
|
48
48
|
* @event cx-video-exit-fullscreen - Fired when exiting fullscreen.
|
|
49
|
-
* @event {{ id: string; markerCenterX?: number; markerTop?: number; timelineLeft?: number; timelineRight?: number }} cx-video-comment-click - Fired when a comment is clicked.
|
|
50
|
-
* @event {{ id: string; markerCenterX?: number; markerTop?: number; timelineLeft?: number; timelineRight?: number }} cx-video-comment-mouseover - Fired when hovering a comment marker.
|
|
49
|
+
* @event {{ id: string; markerCenterX?: number; markerTop?: number; subClipId?: string; timelineLeft?: number; timelineRight?: number }} cx-video-comment-click - Fired when a comment is clicked.
|
|
50
|
+
* @event {{ id: string; markerCenterX?: number; markerTop?: number; subClipId?: string; timelineLeft?: number; timelineRight?: number }} cx-video-comment-mouseover - Fired when hovering a comment marker.
|
|
51
51
|
* @event {{ id: string }} cx-video-comment-mouseleave - Fired when leaving a comment marker.
|
|
52
52
|
* @event {{ name: string; data: unknown }} cx-video-event - Generic player event bridge.
|
|
53
53
|
* @event {{ layer: HTMLElement | null }} cx-video-annotation-layer-change - Fired when the player (re)mounts its annotation layer div; hosts mount annotators into this element.
|
|
@@ -110,7 +110,11 @@ export default class CxMarkdownViewer extends CortexElement {
|
|
|
110
110
|
* byte-exact. One ending for the whole document: a mixed-ending source comes back uniformly CRLF.
|
|
111
111
|
*/
|
|
112
112
|
private restoreLineEndings;
|
|
113
|
-
/**
|
|
113
|
+
/**
|
|
114
|
+
* Prism escapes its input, so the result is safe to pass to `unsafeHTML` unsanitized. Without the
|
|
115
|
+
* markdown grammar the source is shown escaped and unhighlighted: `highlight` would throw and
|
|
116
|
+
* leave the whole viewer unrendered.
|
|
117
|
+
*/
|
|
114
118
|
private highlightSource;
|
|
115
119
|
/** Formatting and table controls for the rich view. */
|
|
116
120
|
private renderFormatToolbar;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function restorePrismGlobal(): void;
|
|
@@ -11487,7 +11487,7 @@
|
|
|
11487
11487
|
/**
|
|
11488
11488
|
*
|
|
11489
11489
|
*/
|
|
11490
|
-
comments?: { "createUserId": string; "editTimestamp": number; "endTime": number; "id": string; "occurrenceId": string; "startTime": number; "subClipIds": string[]; }[];
|
|
11490
|
+
comments?: { "createUserId": string; "editTimestamp": number; "endTime": number; "id": string; "occurrenceId": string; "startTime": number; "subClipId": string; "subClipIds": string[]; }[];
|
|
11491
11491
|
/**
|
|
11492
11492
|
*
|
|
11493
11493
|
*/
|