@byomakase/omakase-player 1.2.0 → 1.2.1-SNAPSHOT.1789551246
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/dist/omakase-player.es.d.ts +28 -0
- package/dist/omakase-player.es.js +8674 -8630
- package/dist/omakase-player.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -2126,6 +2126,10 @@ export declare abstract class BaseTimelineLane<C extends TimelineLaneConfig, S e
|
|
|
2126
2126
|
protected _description?: string | undefined;
|
|
2127
2127
|
protected _leftBgRect: default_3.Rect;
|
|
2128
2128
|
protected _rightBgRect: default_3.Rect;
|
|
2129
|
+
protected _leftBorderTopLine: default_3.Line;
|
|
2130
|
+
protected _leftBorderBottomLine: default_3.Line;
|
|
2131
|
+
protected _rightBorderTopLine: default_3.Line;
|
|
2132
|
+
protected _rightBorderBottomLine: default_3.Line;
|
|
2129
2133
|
protected _timecodedGroup?: default_3.Group;
|
|
2130
2134
|
protected _loadingGroup?: default_3.Group;
|
|
2131
2135
|
protected _loadingAnimation?: default_3.Animation;
|
|
@@ -2150,6 +2154,14 @@ export declare abstract class BaseTimelineLane<C extends TimelineLaneConfig, S e
|
|
|
2150
2154
|
protected abstract settleLayout(): void;
|
|
2151
2155
|
prepareForTimeline(timeline: TimelineImpl, player: PlayerApi, ompProvider: OmpProvider): void;
|
|
2152
2156
|
protected handleStyleUpdate(): void;
|
|
2157
|
+
/**
|
|
2158
|
+
* Konva strokes are centered on the path, so each line is inset by half its own
|
|
2159
|
+
* strokeWidth to stay fully inside the pane's box, flush with the edge — matching
|
|
2160
|
+
* how CSS border-top/border-bottom render, and avoiding a stroke half-clipped by
|
|
2161
|
+
* the right pane's clipFunc or bleeding outside the left pane's (unclipped) box.
|
|
2162
|
+
*/
|
|
2163
|
+
protected repositionBorderLines(bgRect: default_3.Rect, topLine: default_3.Line, bottomLine: default_3.Line): void;
|
|
2164
|
+
protected applyBorderStyle(line: default_3.Line, border: TimelineLaneBorderStyle | undefined): void;
|
|
2153
2165
|
protected handleTimelineZoom(): void;
|
|
2154
2166
|
protected handleTimelineScroll(): void;
|
|
2155
2167
|
protected createMainLeftFlexGroup(): KonvaFlexGroup;
|
|
@@ -11454,6 +11466,18 @@ export declare interface TimelineApi extends Destroyable {
|
|
|
11454
11466
|
/* Excluded from this release type: getTimecodedRect */
|
|
11455
11467
|
}
|
|
11456
11468
|
|
|
11469
|
+
declare interface TimelineLaneBorderEdges {
|
|
11470
|
+
top?: TimelineLaneBorderStyle;
|
|
11471
|
+
bottom?: TimelineLaneBorderStyle;
|
|
11472
|
+
}
|
|
11473
|
+
|
|
11474
|
+
declare interface TimelineLaneBorderStyle {
|
|
11475
|
+
width: Size;
|
|
11476
|
+
/** Defaults to `'solid'` when omitted. */
|
|
11477
|
+
style?: 'solid' | number[];
|
|
11478
|
+
color: Color;
|
|
11479
|
+
}
|
|
11480
|
+
|
|
11457
11481
|
export declare interface TimelineLaneComponentConfig {
|
|
11458
11482
|
/**
|
|
11459
11483
|
* {@link TimelineNode} to add
|
|
@@ -11507,6 +11531,10 @@ export declare interface TimelineApi extends Destroyable {
|
|
|
11507
11531
|
leftBackgroundOpacity?: Size | undefined;
|
|
11508
11532
|
rightBackgroundFill?: Color | undefined;
|
|
11509
11533
|
rightBackgroundOpacity?: Size | undefined;
|
|
11534
|
+
/** Shared top/bottom border for both panes; overridden per-pane by {@link leftBorder}/{@link rightBorder}. */
|
|
11535
|
+
border?: TimelineLaneBorderEdges;
|
|
11536
|
+
leftBorder?: TimelineLaneBorderEdges;
|
|
11537
|
+
rightBorder?: TimelineLaneBorderEdges;
|
|
11510
11538
|
loadingAnimationFill?: Color | undefined;
|
|
11511
11539
|
loadingAnimationSpeed?: Size | undefined;
|
|
11512
11540
|
loadingAnimationType?: 'pulse' | 'gradient' | undefined;
|