@hyperframes/studio 0.8.147 → 0.8.149
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/assets/{hyperframes-player-_eMxRXF_.js → hyperframes-player-C-2YwYre.js} +1 -1
- package/dist/assets/{index-bXzd7tvF.js → index-ByJU5J6n.js} +115 -115
- package/dist/assets/{index-CEq9KmY2.js → index-BybGk67U.js} +1 -1
- package/dist/assets/{index-6okhHdnH.js → index-Cfs2r3fz.js} +1 -1
- package/dist/assets/{index-CVd4O6eH.css → index-DkQKsFxx.css} +1 -1
- package/dist/{chunk-PHGBG7OG.js → chunk-4UHZLLQL.js} +1 -1
- package/dist/{chunk-PVFBY7KR.js → chunk-FF5DM7BQ.js} +4 -1
- package/dist/index.html +2 -2
- package/dist/index.js +642 -657
- package/dist/player.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/ui.d.ts +3 -1
- package/dist/ui.js +1 -1
- package/package.json +8 -8
- package/src/components/ui/Popover.tsx +8 -1
- package/src/hooks/timelineEditingHelpers.test.ts +20 -0
- package/src/hooks/timelineEditingHelpers.ts +2 -1
- package/src/player/components/ShortcutsPanel.test.tsx +73 -20
- package/src/player/components/ShortcutsPanel.tsx +41 -62
- package/src/utils/authoredSource.test.ts +10 -0
|
@@ -477,16 +477,18 @@ function Popover({
|
|
|
477
477
|
align = "center",
|
|
478
478
|
arrow = false,
|
|
479
479
|
sideOffset = arrow ? SIDE_OFFSET3 + ARROW_PX : SIDE_OFFSET3,
|
|
480
|
+
collisionAvoidance,
|
|
480
481
|
container,
|
|
481
482
|
className,
|
|
482
483
|
initialFocus,
|
|
483
484
|
"aria-label": ariaLabel,
|
|
485
|
+
"aria-describedby": describedBy,
|
|
484
486
|
"data-preview-state": previewState,
|
|
485
487
|
...root
|
|
486
488
|
}) {
|
|
487
489
|
const inline = useInlinePortal(container);
|
|
488
490
|
return /* @__PURE__ */ jsxs6(BasePopover.Root, { ...root, children: [
|
|
489
|
-
/* @__PURE__ */ jsx8(BasePopover.Trigger, { render: trigger }),
|
|
491
|
+
/* @__PURE__ */ jsx8(BasePopover.Trigger, { render: trigger, "aria-describedby": describedBy }),
|
|
490
492
|
inline.host,
|
|
491
493
|
/* @__PURE__ */ jsx8(BasePopover.Portal, { ...inline.portal, children: /* @__PURE__ */ jsx8(
|
|
492
494
|
BasePopover.Positioner,
|
|
@@ -495,6 +497,7 @@ function Popover({
|
|
|
495
497
|
align,
|
|
496
498
|
sideOffset,
|
|
497
499
|
collisionPadding: VIEWPORT_MARGIN3,
|
|
500
|
+
collisionAvoidance,
|
|
498
501
|
arrowPadding: ARROW_CORNER_CLEARANCE,
|
|
499
502
|
className: POPUP_LAYER,
|
|
500
503
|
children: /* @__PURE__ */ jsxs6(
|
package/dist/index.html
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
document.documentElement.dataset.theme = "paper";
|
|
15
15
|
}
|
|
16
16
|
</script>
|
|
17
|
-
<script type="module" crossorigin src="/assets/index-
|
|
18
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-ByJU5J6n.js"></script>
|
|
18
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DkQKsFxx.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
21
21
|
<div data-hf-id="hf-aph5" id="root"></div>
|