@orangelogic/design-system 4.32.0 → 4.34.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.Dt3rHy1I.js → block-width.C4eA970k.js} +2 -2
- package/library/chunks/{color-swatch-group.DQ0J-XI-.js → color-swatch-group.BF_AFUh6.js} +1084 -1080
- package/library/chunks/{config-manager.D_OHYD1k.js → config-manager.DS9hzkG8.js} +2 -2
- package/library/chunks/{configs-controller.CvDG3a6j.js → configs-controller.saCTvDW1.js} +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +4 -4
- package/library/package.json +1 -1
- package/library/packages/events/src/cx-video-segment.d.ts +41 -0
- package/library/packages/events/src/events.d.ts +1 -0
- package/library/packages/hybrid/video-advanced/src/react/components/ControlBarTimeControls/ControlBarTimeControls.d.ts +3 -1
- package/library/packages/hybrid/video-advanced/src/react/components/SegmentPlayerControls/ChapterTrack.d.ts +13 -0
- package/library/packages/hybrid/video-advanced/src/react/components/SegmentPlayerControls/SegmentPlayerControls.d.ts +37 -0
- package/library/packages/hybrid/video-advanced/src/react/components/SegmentPlayerControls/SegmentPlayerControls.styles.d.ts +2 -0
- package/library/packages/hybrid/video-advanced/src/react/constants.d.ts +7 -0
- package/library/packages/hybrid/video-advanced/src/react/context/annotationCommentContext.d.ts +1 -0
- package/library/packages/hybrid/video-advanced/src/react/context.d.ts +2 -1
- package/library/packages/hybrid/video-advanced/src/react/hooks/useControlBar.d.ts +2 -2
- package/library/packages/hybrid/video-advanced/src/react/plugins/Chapters/Select.d.ts +3 -1
- package/library/packages/hybrid/video-advanced/src/react/plugins/PlaybackSlider/PlaybackSlider.d.ts +4 -1
- package/library/packages/hybrid/video-advanced/src/react/plugins/SettingsMenu/RewindMenu.d.ts +1 -0
- package/library/packages/hybrid/video-advanced/src/react/plugins/SettingsMenu/SettingsMenu.d.ts +4 -1
- package/library/packages/hybrid/video-advanced/src/react/type.d.ts +86 -1
- package/library/packages/hybrid/video-advanced/src/react/utils/frameUtils.d.ts +7 -0
- package/library/packages/hybrid/video-advanced/src/react/utils/segmentTime.d.ts +8 -0
- package/library/packages/hybrid/video-advanced/src/react/utils/useMenuKeyboardBoundary.d.ts +2 -0
- package/library/packages/hybrid/video-advanced/src/video-advanced/video-advanced.d.ts +45 -2
- package/library/packages/molecules/src/multi-select/multi-select.d.ts +1 -0
- package/library/packages/molecules/src/multi-select/utils/base.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +1 -1
- package/library/packages/tools/src/tiptap/utils/md/schema.d.ts +1 -1
- package/library/packages/types/src/board.d.ts +5 -0
- package/library/packages/types/src/video-advanced.d.ts +29 -0
- package/library/react-web-component.d.ts +35 -3
- package/package.json +1 -1
|
@@ -1,10 +1,39 @@
|
|
|
1
|
+
export declare enum VideoPlayerVariant {
|
|
2
|
+
Classic = "classic",
|
|
3
|
+
Default = "default",
|
|
4
|
+
Modern = "modern"
|
|
5
|
+
}
|
|
1
6
|
export declare enum VideoContextOutputKey {
|
|
7
|
+
ActiveTimelineSegmentId = "activeTimelineSegmentId",
|
|
2
8
|
AnnotationLayer = "annotationLayer",
|
|
3
9
|
EditMode = "editMode",
|
|
4
10
|
EnableAnnotation = "enableAnnotation",
|
|
5
11
|
EnableComment = "enableComment",
|
|
6
12
|
IsCommentAnchorActive = "isCommentAnchorActive",
|
|
7
13
|
ShowCommentSidebar = "showCommentSidebar",
|
|
14
|
+
ShowSegmentSidebar = "showSegmentSidebar",
|
|
8
15
|
StartPosition = "startPosition",
|
|
9
16
|
StopPosition = "stopPosition"
|
|
10
17
|
}
|
|
18
|
+
/** Segments on the source asset, independent of video-editor clips. Times are seconds. */
|
|
19
|
+
export interface VideoTimelineSegment {
|
|
20
|
+
color?: string;
|
|
21
|
+
end: number;
|
|
22
|
+
id: string;
|
|
23
|
+
label: string;
|
|
24
|
+
start: number;
|
|
25
|
+
typeId?: string;
|
|
26
|
+
}
|
|
27
|
+
/** Consumer-owned inputs; visibility/format choices are local to a view session. */
|
|
28
|
+
export interface VideoSegmentUIConfig {
|
|
29
|
+
activeId: string | null;
|
|
30
|
+
dropFrame: boolean;
|
|
31
|
+
enableSegmentCreation?: boolean;
|
|
32
|
+
enableSubclips?: boolean;
|
|
33
|
+
enabled: boolean;
|
|
34
|
+
label: string;
|
|
35
|
+
panelOpen: boolean;
|
|
36
|
+
segments: VideoTimelineSegment[];
|
|
37
|
+
session: number;
|
|
38
|
+
timecodeMode: string;
|
|
39
|
+
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
export type CxMasonryMasonryItem = { "alt": string; "backgroundColor": string; "extension": string; "hasError": boolean; "id": string; "loading": boolean; "maxWidth": string; "objectFit": "contain" | "cover" | "fill" | "none" | "scale-down"; "size": string; "src": string; "srcset": string; };
|
|
28
28
|
export type CxMasonryMasonryItemAction = { "color": string; "event": string; "icon": string; "src": string; "tooltip": string; };
|
|
29
29
|
export type CxMentionsAutocompleteItem = { "id": string; "label": string; "name": string; "suffixContent": string; "suffixIcon": string; "suffixTooltip": string; "suffixType": "badge"; "title": string; "type": string; };
|
|
30
|
-
export type CxMultiSelectColumnData = { "dividerColor": string; "id": string; "items": { "disabled": boolean; "group": string; "id": string; "index": string; "metadata": dictionary; "text": string; "tooltip": string; "type": string; }[]; "sort": boolean; "title": string; };
|
|
30
|
+
export type CxMultiSelectColumnData = { "dividerColor": string; "id": string; "items": { "disabled": boolean; "group": string; "id": string; "index": string; "metadata": dictionary; "multiValueMetadata": dictionary; "text": string; "tooltip": string; "type": string; }[]; "sort": boolean; "title": string; };
|
|
31
31
|
export type CxShareOptionListShareOptionListItem = { "disabled": boolean; "icon": string; "id": string; "name": string; "tooltip": string; };
|
|
32
32
|
export type CxStepperWizardStepData = { "color": string; "description": string; "icon": string; "iconVariant": "outlined" | "filled" | "fa"; "id": string; "name": string; "readonly": boolean; "state": "Done" | "Active" | "None" | "Disabled"; };
|
|
33
33
|
export type CxAssetLinkFormatAsset = { "allowATSLink": boolean; "docSubType": string; "docType": "Album" | "Audio" | "Audio segment" | "Image" | "Multimedia" | "ProjectDocument" | "Story" | "Video" | "Widget"; "extension": string; "height": string; "id": string; "identifier": string; "imageUrl": string; "name": string; "scrubUrl": string; "size": string; "width": string; };
|
|
@@ -11276,6 +11276,34 @@
|
|
|
11276
11276
|
*/
|
|
11277
11277
|
interface CxVideoAdvancedAttributes extends HTMLAttributes<CxVideoAdvanced> {
|
|
11278
11278
|
|
|
11279
|
+
/**
|
|
11280
|
+
* Selected marker ID is retained even when the consumer filters it out. @defaultValue null
|
|
11281
|
+
*/
|
|
11282
|
+
activeTimelineSegmentId?: string;
|
|
11283
|
+
/**
|
|
11284
|
+
* Consumer-owned panel visibility. Closing it cancels the segment draft. @defaultValue false
|
|
11285
|
+
*/
|
|
11286
|
+
showSegmentSidebar?: boolean;
|
|
11287
|
+
/**
|
|
11288
|
+
* Account-specific display label; API terminology remains segments. @defaultValue 'Subclips'
|
|
11289
|
+
*/
|
|
11290
|
+
segmentLabel?: string;
|
|
11291
|
+
/**
|
|
11292
|
+
* Show Subclips controls in the new UI. @defaultValue false
|
|
11293
|
+
*/
|
|
11294
|
+
enableSubclips?: boolean;
|
|
11295
|
+
/**
|
|
11296
|
+
* Show the timeline handles that start a new segment; enable only for users allowed to create segments. @defaultValue false
|
|
11297
|
+
*/
|
|
11298
|
+
enableSegmentCreation?: boolean;
|
|
11299
|
+
/**
|
|
11300
|
+
* Workspace configuration: hide segment markers by default. @defaultValue false
|
|
11301
|
+
*/
|
|
11302
|
+
noSegmentTimelineMarkers?: boolean;
|
|
11303
|
+
/**
|
|
11304
|
+
* Explicit source metadata: SMPTE drop-frame numbering at 29.97/59.94 fps. @defaultValue false
|
|
11305
|
+
*/
|
|
11306
|
+
dropFrame?: boolean;
|
|
11279
11307
|
/**
|
|
11280
11308
|
* — strings —
|
|
11281
11309
|
*/
|
|
@@ -11449,9 +11477,13 @@
|
|
|
11449
11477
|
*/
|
|
11450
11478
|
darkMode?: boolean;
|
|
11451
11479
|
/**
|
|
11452
|
-
*
|
|
11480
|
+
* Hide the comment sidebar toolbar button while keeping the other collab controls. @defaultValue false
|
|
11481
|
+
*/
|
|
11482
|
+
hideCommentButton?: boolean;
|
|
11483
|
+
/**
|
|
11484
|
+
* Player layout. Classic enables chapter editing and selected ranges; modern uses the redesigned controls. @defaultValue 'default'
|
|
11453
11485
|
*/
|
|
11454
|
-
|
|
11486
|
+
variant?: "classic" | "default" | "modern";
|
|
11455
11487
|
/**
|
|
11456
11488
|
*
|
|
11457
11489
|
*/
|