@remotion/studio 4.0.467 → 4.0.469

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.
Files changed (77) hide show
  1. package/dist/components/AudioWaveform.d.ts +1 -0
  2. package/dist/components/AudioWaveform.js +23 -22
  3. package/dist/components/CompositionSelectorItem.js +1 -1
  4. package/dist/components/ContextMenu.d.ts +1 -0
  5. package/dist/components/ContextMenu.js +3 -2
  6. package/dist/components/EditorGuides/Guide.js +1 -1
  7. package/dist/components/ExpandedTracksProvider.js +3 -8
  8. package/dist/components/Menu/MenuItem.js +2 -2
  9. package/dist/components/Menu/MenuSubItem.js +5 -5
  10. package/dist/components/PreviewToolbar.js +2 -4
  11. package/dist/components/Timeline/Timeline.js +14 -13
  12. package/dist/components/Timeline/TimelineDragHandler.js +1 -1
  13. package/dist/components/Timeline/TimelineEffectFieldRow.d.ts +2 -0
  14. package/dist/components/Timeline/TimelineEffectFieldRow.js +9 -14
  15. package/dist/components/Timeline/TimelineEffectGroupRow.js +13 -4
  16. package/dist/components/Timeline/TimelineExpandedKeyframeRow.d.ts +11 -0
  17. package/dist/components/Timeline/TimelineExpandedKeyframeRow.js +23 -0
  18. package/dist/components/Timeline/TimelineExpandedRow.js +22 -6
  19. package/dist/components/Timeline/TimelineExpandedSection.js +2 -2
  20. package/dist/components/Timeline/TimelineExpandedTrackKeyframes.d.ts +2 -1
  21. package/dist/components/Timeline/TimelineExpandedTrackKeyframes.js +11 -116
  22. package/dist/components/Timeline/TimelineFieldLabel.d.ts +6 -0
  23. package/dist/components/Timeline/TimelineFieldLabel.js +30 -0
  24. package/dist/components/Timeline/TimelineFieldRow.d.ts +3 -2
  25. package/dist/components/Timeline/TimelineFieldRow.js +7 -13
  26. package/dist/components/Timeline/TimelineItemStack.d.ts +5 -0
  27. package/dist/components/Timeline/TimelineItemStack.js +82 -0
  28. package/dist/components/Timeline/TimelineKeyframeDiamond.d.ts +7 -0
  29. package/dist/components/Timeline/TimelineKeyframeDiamond.js +87 -0
  30. package/dist/components/Timeline/TimelineLayerEye.js +1 -0
  31. package/dist/components/Timeline/TimelineList.js +13 -9
  32. package/dist/components/Timeline/TimelineListItem.d.ts +0 -1
  33. package/dist/components/Timeline/TimelineListItem.js +100 -31
  34. package/dist/components/Timeline/TimelineMediaInfo.d.ts +13 -1
  35. package/dist/components/Timeline/TimelineMediaInfo.js +33 -80
  36. package/dist/components/Timeline/TimelineRowChrome.d.ts +8 -1
  37. package/dist/components/Timeline/TimelineRowChrome.js +46 -6
  38. package/dist/components/Timeline/TimelineSchemaField.js +7 -2
  39. package/dist/components/Timeline/TimelineSelection.d.ts +41 -0
  40. package/dist/components/Timeline/TimelineSelection.js +160 -0
  41. package/dist/components/Timeline/TimelineSequence.js +1 -1
  42. package/dist/components/Timeline/TimelineSequenceName.d.ts +7 -0
  43. package/dist/components/Timeline/TimelineSequenceName.js +50 -0
  44. package/dist/components/Timeline/TimelineTrack.d.ts +5 -0
  45. package/dist/components/Timeline/TimelineTrack.js +64 -0
  46. package/dist/components/Timeline/TimelineTracks.js +2 -16
  47. package/dist/components/Timeline/TimelineUvCoordinateField.d.ts +11 -0
  48. package/dist/components/Timeline/TimelineUvCoordinateField.js +126 -0
  49. package/dist/components/Timeline/TimelineVideoInfo.js +11 -12
  50. package/dist/components/Timeline/get-node-keyframes.d.ts +11 -0
  51. package/dist/components/Timeline/get-node-keyframes.js +23 -0
  52. package/dist/components/Timeline/get-timeline-keyframes.d.ts +1 -1
  53. package/dist/components/Timeline/get-timeline-keyframes.js +14 -9
  54. package/dist/components/Timeline/timeline-field-row-layout.d.ts +1 -0
  55. package/dist/components/Timeline/timeline-field-row-layout.js +11 -1
  56. package/dist/components/Timeline/use-expanded-track-keyframe-rows.d.ts +17 -0
  57. package/dist/components/Timeline/use-expanded-track-keyframe-rows.js +45 -0
  58. package/dist/components/Timeline/use-open-sequence-in-editor.d.ts +6 -0
  59. package/dist/components/Timeline/use-open-sequence-in-editor.js +31 -0
  60. package/dist/esm/{chunk-vwnse6c9.js → chunk-1mp51e0w.js} +3353 -2712
  61. package/dist/esm/chunk-6jf1natv.js +25 -0
  62. package/dist/esm/index.mjs +16 -0
  63. package/dist/esm/internals.mjs +3366 -2710
  64. package/dist/esm/previewEntry.mjs +3376 -2720
  65. package/dist/esm/renderEntry.mjs +4 -3
  66. package/dist/helpers/calculate-timeline.js +4 -0
  67. package/dist/helpers/colors.d.ts +1 -1
  68. package/dist/helpers/colors.js +1 -1
  69. package/dist/helpers/get-timeline-sequence-sort-key.d.ts +1 -0
  70. package/dist/helpers/timeline-layout.d.ts +8 -7
  71. package/dist/helpers/timeline-layout.js +9 -8
  72. package/dist/helpers/timeline-node-path-key.d.ts +2 -0
  73. package/dist/helpers/timeline-node-path-key.js +10 -0
  74. package/package.json +10 -10
  75. package/dist/components/Timeline/TimelineStack/index.d.ts +0 -8
  76. package/dist/components/Timeline/TimelineStack/index.js +0 -119
  77. package/dist/esm/chunk-5gtx3pza.js +0 -9
@@ -1,6 +1,7 @@
1
1
  import {
2
- __require
3
- } from "./chunk-5gtx3pza.js";
2
+ __require,
3
+ __toESM
4
+ } from "./chunk-6jf1natv.js";
4
5
 
5
6
  // src/renderEntry.tsx
6
7
  import { useContext, useEffect, useRef, useState } from "react";
@@ -206,7 +207,7 @@ var renderContent = (Root) => {
206
207
  renderToDOM(/* @__PURE__ */ jsx("div", {
207
208
  children: /* @__PURE__ */ jsx(DelayedSpinner, {})
208
209
  }));
209
- import("./chunk-vwnse6c9.js").then(({ StudioInternals }) => {
210
+ import("./chunk-1mp51e0w.js").then(({ StudioInternals }) => {
210
211
  window.remotion_isStudio = true;
211
212
  window.remotion_isReadOnlyStudio = true;
212
213
  window.remotion_inputProps = "{}";
@@ -46,6 +46,7 @@ const calculateTimeline = ({ sequences, overrideIdsToNodePaths, }) => {
46
46
  const visibleDuration = (0, get_sequence_visible_range_1.getTimelineVisibleDuration)(sequence, sortedSequences);
47
47
  const overrideId = (_b = (_a = sequence.controls) === null || _a === void 0 ? void 0 : _a.overrideId) !== null && _b !== void 0 ? _b : null;
48
48
  const nodePath = overrideId ? overrideIdsToNodePaths[overrideId] : null;
49
+ const hasKeyframeRows = sequence.controls !== null || sequence.effects.length > 0;
49
50
  tracks.push({
50
51
  sequence: {
51
52
  ...sequence,
@@ -59,6 +60,9 @@ const calculateTimeline = ({ sequences, overrideIdsToNodePaths, }) => {
59
60
  hash: actualHash,
60
61
  cascadedStart,
61
62
  cascadedDuration: sequence.duration,
63
+ keyframeDisplayOffset: hasKeyframeRows
64
+ ? cascadedStart - sequence.from
65
+ : 0,
62
66
  nodePathInfo: nodePath
63
67
  ? {
64
68
  sequenceSubscriptionKey: nodePath,
@@ -20,7 +20,7 @@ export declare const LIGHT_TRANSPARENT = "rgba(255, 255, 255, 0.7)";
20
20
  export declare const UNSELECTED_GUIDE = "#7e1219";
21
21
  export declare const SELECTED_GUIDE = "#d22d3a";
22
22
  export declare const LINE_COLOR = "#363A3E";
23
- export declare const TIMELINE_TRACK_SEPARATOR = "rgba(0, 0, 0, 0.3)";
23
+ export declare const TIMELINE_TRACK_SEPARATOR = "#13161B";
24
24
  export declare const getBackgroundFromHoverState: ({ selected, hovered, }: {
25
25
  selected: boolean;
26
26
  hovered: boolean;
@@ -24,7 +24,7 @@ exports.LIGHT_TRANSPARENT = 'rgba(255, 255, 255, 0.7)';
24
24
  exports.UNSELECTED_GUIDE = '#7e1219';
25
25
  exports.SELECTED_GUIDE = '#d22d3a';
26
26
  exports.LINE_COLOR = '#363A3E';
27
- exports.TIMELINE_TRACK_SEPARATOR = 'rgba(0, 0, 0, 0.3)';
27
+ exports.TIMELINE_TRACK_SEPARATOR = '#13161B';
28
28
  const getBackgroundFromHoverState = ({ selected, hovered, }) => {
29
29
  if (selected) {
30
30
  if (hovered) {
@@ -9,6 +9,7 @@ type Track = {
9
9
  sequence: TSequence;
10
10
  depth: number;
11
11
  nodePathInfo: SequenceNodePathInfo | null;
12
+ keyframeDisplayOffset: number;
12
13
  };
13
14
  export type TrackWithHash = Track & {
14
15
  hash: string;
@@ -52,10 +52,11 @@ export declare const getExpandedTrackHeight: ({ sequence, nodePathInfo, getIsExp
52
52
  getIsExpanded: GetIsExpanded;
53
53
  codeValues: CodeValues;
54
54
  }) => number;
55
- export declare const TIMELINE_LAYER_HEIGHT_VIDEO = 75;
56
- export declare const TIMELINE_LAYER_HEIGHT_IMAGE = 58;
57
- export declare const TIMELINE_LAYER_HEIGHT_AUDIO = 58;
58
- export declare const TIMELINE_LAYER_HEIGHT_DEFAULT = 25;
59
- export declare const TIMELINE_LIST_ITEM_ROW_HEIGHT = 25;
60
- export declare const TIMELINE_VIDEO_INFO_WAVEFORM_HEIGHT = 25;
61
- export declare const getTimelineLayerHeight: (type: "audio" | "image" | "other" | "sequence" | "video") => 25 | 58 | 75;
55
+ export declare const TIMELINE_LAYER_FILMSTRIP_HEIGHT = 26;
56
+ export declare const TIMELINE_VIDEO_INFO_WAVEFORM_HEIGHT = 17;
57
+ export declare const TIMELINE_LAYER_HEIGHT_VIDEO: number;
58
+ export declare const TIMELINE_LAYER_HEIGHT_IMAGE = 26;
59
+ export declare const TIMELINE_LAYER_HEIGHT_AUDIO = 34;
60
+ export declare const TIMELINE_LAYER_HEIGHT_DEFAULT = 21;
61
+ export declare const TIMELINE_LIST_ITEM_ROW_HEIGHT = 21;
62
+ export declare const getTimelineLayerHeight: (type: "audio" | "image" | "other" | "sequence" | "video") => number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getTimelineLayerHeight = exports.TIMELINE_VIDEO_INFO_WAVEFORM_HEIGHT = exports.TIMELINE_LIST_ITEM_ROW_HEIGHT = exports.TIMELINE_LAYER_HEIGHT_DEFAULT = exports.TIMELINE_LAYER_HEIGHT_AUDIO = exports.TIMELINE_LAYER_HEIGHT_IMAGE = exports.TIMELINE_LAYER_HEIGHT_VIDEO = exports.getExpandedTrackHeight = exports.getTreeRowHeight = exports.flattenVisibleTreeNodes = exports.buildTimelineTree = exports.EXPANDED_SECTION_PADDING_RIGHT = exports.TREE_GROUP_ROW_HEIGHT = exports.TIMELINE_TRACK_EXPANDED_HEIGHT = exports.TIMELINE_ITEM_BORDER_BOTTOM = exports.TIMELINE_BORDER = exports.TIMELINE_PADDING = exports.SCHEMA_FIELD_ROW_HEIGHT = exports.getFieldsToShow = exports.getEffectFieldsToShow = void 0;
3
+ exports.getTimelineLayerHeight = exports.TIMELINE_LIST_ITEM_ROW_HEIGHT = exports.TIMELINE_LAYER_HEIGHT_DEFAULT = exports.TIMELINE_LAYER_HEIGHT_AUDIO = exports.TIMELINE_LAYER_HEIGHT_IMAGE = exports.TIMELINE_LAYER_HEIGHT_VIDEO = exports.TIMELINE_VIDEO_INFO_WAVEFORM_HEIGHT = exports.TIMELINE_LAYER_FILMSTRIP_HEIGHT = exports.getExpandedTrackHeight = exports.getTreeRowHeight = exports.flattenVisibleTreeNodes = exports.buildTimelineTree = exports.EXPANDED_SECTION_PADDING_RIGHT = exports.TREE_GROUP_ROW_HEIGHT = exports.TIMELINE_TRACK_EXPANDED_HEIGHT = exports.TIMELINE_ITEM_BORDER_BOTTOM = exports.TIMELINE_BORDER = exports.TIMELINE_PADDING = exports.SCHEMA_FIELD_ROW_HEIGHT = exports.getFieldsToShow = exports.getEffectFieldsToShow = void 0;
4
4
  const studio_shared_1 = require("@remotion/studio-shared");
5
5
  const studio_shared_2 = require("@remotion/studio-shared");
6
6
  Object.defineProperty(exports, "getEffectFieldsToShow", { enumerable: true, get: function () { return studio_shared_2.getEffectFieldsToShow; } });
@@ -138,14 +138,15 @@ const getExpandedTrackHeight = ({ sequence, nodePathInfo, getIsExpanded, codeVal
138
138
  return totalRowsHeight + separators;
139
139
  };
140
140
  exports.getExpandedTrackHeight = getExpandedTrackHeight;
141
- exports.TIMELINE_LAYER_HEIGHT_VIDEO = 75;
142
- exports.TIMELINE_LAYER_HEIGHT_IMAGE = 58;
143
- exports.TIMELINE_LAYER_HEIGHT_AUDIO = 58;
144
- exports.TIMELINE_LAYER_HEIGHT_DEFAULT = 25;
145
- // The horizontal row inside a timeline list item (eye + arrow + label).
146
- exports.TIMELINE_LIST_ITEM_ROW_HEIGHT = 25;
141
+ exports.TIMELINE_LAYER_FILMSTRIP_HEIGHT = 26;
147
142
  // The waveform stripe rendered underneath the filmstrip in TimelineVideoInfo.
148
- exports.TIMELINE_VIDEO_INFO_WAVEFORM_HEIGHT = 25;
143
+ exports.TIMELINE_VIDEO_INFO_WAVEFORM_HEIGHT = 17;
144
+ exports.TIMELINE_LAYER_HEIGHT_VIDEO = 2 + exports.TIMELINE_LAYER_FILMSTRIP_HEIGHT + exports.TIMELINE_VIDEO_INFO_WAVEFORM_HEIGHT;
145
+ exports.TIMELINE_LAYER_HEIGHT_IMAGE = 26;
146
+ exports.TIMELINE_LAYER_HEIGHT_AUDIO = 34;
147
+ exports.TIMELINE_LAYER_HEIGHT_DEFAULT = 21;
148
+ // The horizontal row inside a timeline list item (eye + arrow + label).
149
+ exports.TIMELINE_LIST_ITEM_ROW_HEIGHT = 21;
149
150
  const getTimelineLayerHeight = (type) => {
150
151
  if (type === 'video') {
151
152
  return exports.TIMELINE_LAYER_HEIGHT_VIDEO;
@@ -0,0 +1,2 @@
1
+ import type { SequenceNodePathInfo } from './get-timeline-sequence-sort-key';
2
+ export declare const timelineNodePathInfoToKey: (info: SequenceNodePathInfo) => string;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.timelineNodePathInfoToKey = void 0;
4
+ const studio_shared_1 = require("@remotion/studio-shared");
5
+ const timelineNodePathInfoToKey = (info) => [
6
+ (0, studio_shared_1.stringifySequenceExpandedRowKey)(info.sequenceSubscriptionKey),
7
+ info.auxiliaryKeys.join('.'),
8
+ info.index,
9
+ ].join('.');
10
+ exports.timelineNodePathInfoToKey = timelineNodePathInfoToKey;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio"
4
4
  },
5
5
  "name": "@remotion/studio",
6
- "version": "4.0.467",
6
+ "version": "4.0.469",
7
7
  "description": "APIs for interacting with the Remotion Studio",
8
8
  "main": "dist",
9
9
  "scripts": {
@@ -25,14 +25,14 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "semver": "7.5.3",
28
- "remotion": "4.0.467",
29
- "@remotion/player": "4.0.467",
30
- "@remotion/media-utils": "4.0.467",
31
- "@remotion/renderer": "4.0.467",
32
- "@remotion/web-renderer": "4.0.467",
33
- "@remotion/studio-shared": "4.0.467",
34
- "@remotion/timeline-utils": "4.0.467",
35
- "@remotion/zod-types": "4.0.467",
28
+ "remotion": "4.0.469",
29
+ "@remotion/player": "4.0.469",
30
+ "@remotion/media-utils": "4.0.469",
31
+ "@remotion/renderer": "4.0.469",
32
+ "@remotion/web-renderer": "4.0.469",
33
+ "@remotion/studio-shared": "4.0.469",
34
+ "@remotion/timeline-utils": "4.0.469",
35
+ "@remotion/zod-types": "4.0.469",
36
36
  "@jridgewell/trace-mapping": "0.3.31",
37
37
  "mediabunny": "1.45.0",
38
38
  "memfs": "3.4.3",
@@ -43,7 +43,7 @@
43
43
  "react": "19.2.3",
44
44
  "react-dom": "19.2.3",
45
45
  "@types/semver": "7.5.3",
46
- "@remotion/eslint-config-internal": "4.0.467",
46
+ "@remotion/eslint-config-internal": "4.0.469",
47
47
  "eslint": "9.19.0",
48
48
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
49
49
  },
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import type { TSequence } from 'remotion';
3
- import type { OriginalPosition } from '../../../error-overlay/react-overlay/utils/get-source-map';
4
- export declare const TimelineStack: React.FC<{
5
- readonly isCompact: boolean;
6
- readonly sequence: TSequence;
7
- readonly originalLocation: OriginalPosition | null;
8
- }>;
@@ -1,119 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TimelineStack = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_1 = require("react");
6
- const client_id_1 = require("../../../helpers/client-id");
7
- const colors_1 = require("../../../helpers/colors");
8
- const get_git_menu_item_1 = require("../../../helpers/get-git-menu-item");
9
- const open_in_editor_1 = require("../../../helpers/open-in-editor");
10
- const layout_1 = require("../../layout");
11
- const NotificationCenter_1 = require("../../Notifications/NotificationCenter");
12
- const Spinner_1 = require("../../Spinner");
13
- const source_attribution_1 = require("./source-attribution");
14
- const TimelineStack = ({ isCompact, sequence, originalLocation }) => {
15
- const [stackHovered, setStackHovered] = (0, react_1.useState)(false);
16
- const [titleHovered, setTitleHovered] = (0, react_1.useState)(false);
17
- const [opening, setOpening] = (0, react_1.useState)(false);
18
- const connectionStatus = (0, react_1.useContext)(client_id_1.StudioServerConnectionCtx)
19
- .previewServerState.type;
20
- const openEditor = (0, react_1.useCallback)(async (location) => {
21
- if (!window.remotion_editorName) {
22
- return;
23
- }
24
- setOpening(true);
25
- try {
26
- await (0, open_in_editor_1.openOriginalPositionInEditor)(location);
27
- }
28
- catch (err) {
29
- (0, NotificationCenter_1.showNotification)(err.message, 2000);
30
- }
31
- finally {
32
- setOpening(false);
33
- }
34
- }, []);
35
- const canOpenInEditor = window.remotion_editorName &&
36
- connectionStatus === 'connected' &&
37
- originalLocation;
38
- const canOpenInGitHub = window.remotion_gitSource && originalLocation;
39
- const { documentationLink } = sequence;
40
- const titleHoverable = documentationLink !== null;
41
- const stackHoverable = !isCompact && (canOpenInEditor || canOpenInGitHub);
42
- const onClickTitle = (0, react_1.useCallback)(() => {
43
- if (documentationLink === null) {
44
- return null;
45
- }
46
- window.open(documentationLink, '_blank', 'noopener,noreferrer');
47
- }, [documentationLink]);
48
- const onClickStack = (0, react_1.useCallback)(() => {
49
- if (!originalLocation) {
50
- return;
51
- }
52
- if (canOpenInEditor) {
53
- openEditor(originalLocation);
54
- return;
55
- }
56
- if (canOpenInGitHub) {
57
- window.open((0, get_git_menu_item_1.getGitRefUrl)(window.remotion_gitSource, originalLocation), '_blank');
58
- }
59
- }, [canOpenInEditor, canOpenInGitHub, openEditor, originalLocation]);
60
- const onStackPointerEnter = (0, react_1.useCallback)(() => {
61
- setStackHovered(true);
62
- }, []);
63
- const onStackPointerLeave = (0, react_1.useCallback)(() => {
64
- setStackHovered(false);
65
- }, []);
66
- const onTitlePointerEnter = (0, react_1.useCallback)(() => {
67
- setTitleHovered(true);
68
- }, []);
69
- const onTitlePointerLeave = (0, react_1.useCallback)(() => {
70
- setTitleHovered(false);
71
- }, []);
72
- const style = (0, react_1.useMemo)(() => {
73
- return {
74
- fontSize: 12,
75
- color: opening
76
- ? colors_1.VERY_LIGHT_TEXT
77
- : stackHovered && stackHoverable
78
- ? colors_1.LIGHT_TEXT
79
- : colors_1.VERY_LIGHT_TEXT,
80
- marginLeft: 5,
81
- cursor: stackHoverable ? 'pointer' : undefined,
82
- display: 'flex',
83
- flexDirection: 'row',
84
- alignItems: 'center',
85
- whiteSpace: 'nowrap',
86
- textOverflow: 'ellipsis',
87
- overflow: 'hidden',
88
- flexShrink: 100000,
89
- userSelect: 'none',
90
- WebkitUserSelect: 'none',
91
- };
92
- }, [opening, stackHovered, stackHoverable]);
93
- const titleStyle = (0, react_1.useMemo)(() => {
94
- const hoverEffect = titleHovered && titleHoverable;
95
- return {
96
- fontSize: 12,
97
- whiteSpace: 'nowrap',
98
- textOverflow: 'ellipsis',
99
- overflow: 'hidden',
100
- lineHeight: 1.2,
101
- color: opening && isCompact ? colors_1.VERY_LIGHT_TEXT : colors_1.LIGHT_COLOR,
102
- userSelect: 'none',
103
- WebkitUserSelect: 'none',
104
- textDecoration: hoverEffect ? 'underline' : 'none',
105
- textUnderlineOffset: 2,
106
- cursor: hoverEffect ? 'pointer' : undefined,
107
- };
108
- }, [titleHoverable, isCompact, opening, titleHovered]);
109
- const text = sequence.displayName.length > 1000
110
- ? sequence.displayName.slice(0, 1000) + '...'
111
- : sequence.displayName;
112
- return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [
113
- jsx_runtime_1.jsx("div", { onPointerEnter: onTitlePointerEnter, onPointerLeave: onTitlePointerLeave, title: documentationLink
114
- ? `Open documentation: ${documentationLink}`
115
- : text || '<Sequence>', style: titleStyle, onClick: onClickTitle, children: text || '<Sequence>' }), isCompact || !originalLocation ? null : (jsx_runtime_1.jsx("div", { onPointerEnter: onStackPointerEnter, onPointerLeave: onStackPointerLeave, onClick: onClickStack, style: style, children: (0, source_attribution_1.getOriginalSourceAttribution)(originalLocation) })), opening ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [
116
- jsx_runtime_1.jsx(layout_1.Spacing, { x: 0.5 }), jsx_runtime_1.jsx(Spinner_1.Spinner, { duration: 0.5, size: 12 })
117
- ] })) : null] }));
118
- };
119
- exports.TimelineStack = TimelineStack;
@@ -1,9 +0,0 @@
1
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
- }) : x)(function(x) {
4
- if (typeof require !== "undefined")
5
- return require.apply(this, arguments);
6
- throw Error('Dynamic require of "' + x + '" is not supported');
7
- });
8
-
9
- export { __require };