@mieweb/ui 0.8.0-dev.3 → 0.8.0-dev.5
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/{chunk-3RADKLLD.cjs → chunk-7LJTW7KF.cjs} +10 -10
- package/dist/{chunk-3RADKLLD.cjs.map → chunk-7LJTW7KF.cjs.map} +1 -1
- package/dist/{chunk-LDQ2T27A.js → chunk-DWRYYTWT.js} +10 -10
- package/dist/{chunk-LDQ2T27A.js.map → chunk-DWRYYTWT.js.map} +1 -1
- package/dist/{chunk-PBRXDB5K.cjs → chunk-E6BQVAHF.cjs} +27 -3
- package/dist/chunk-E6BQVAHF.cjs.map +1 -0
- package/dist/{chunk-2HQTUWJU.js → chunk-P3HQQNV3.js} +27 -3
- package/dist/chunk-P3HQQNV3.js.map +1 -0
- package/dist/{chunk-SEPYBAML.js → chunk-RVGTI4F6.js} +3 -3
- package/dist/{chunk-SEPYBAML.js.map → chunk-RVGTI4F6.js.map} +1 -1
- package/dist/{chunk-DG7KE4YJ.cjs → chunk-VA3WQ5KJ.cjs} +3 -3
- package/dist/{chunk-DG7KE4YJ.cjs.map → chunk-VA3WQ5KJ.cjs.map} +1 -1
- package/dist/components/MediaEditor/index.cjs +6 -6
- package/dist/components/MediaEditor/index.js +1 -1
- package/dist/components/TranscriptView/index.cjs +3 -3
- package/dist/components/TranscriptView/index.js +1 -1
- package/dist/index.cjs +59 -59
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +50 -50
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2HQTUWJU.js.map +0 -1
- package/dist/chunk-PBRXDB5K.cjs.map +0 -1
|
@@ -568,7 +568,7 @@ var SpeedMarkerMenu = ({
|
|
|
568
568
|
"button",
|
|
569
569
|
{
|
|
570
570
|
type: "button",
|
|
571
|
-
className: `focus-visible:ring-ring flex items-center justify-between gap-2 rounded-md px-2.5 py-1 text-
|
|
571
|
+
className: `focus-visible:ring-ring flex items-center justify-between gap-2 rounded-md px-2.5 py-1 text-start text-sm transition-colors focus-visible:ring-2 focus-visible:outline-none ${isActive ? "bg-primary-600 font-medium text-white" : "text-foreground hover:bg-muted"}`,
|
|
572
572
|
onClick: () => {
|
|
573
573
|
onSetSpeed(speed);
|
|
574
574
|
onClose();
|
|
@@ -587,7 +587,7 @@ var SpeedMarkerMenu = ({
|
|
|
587
587
|
"button",
|
|
588
588
|
{
|
|
589
589
|
type: "button",
|
|
590
|
-
className: "border-border text-destructive hover:bg-destructive/10 focus-visible:ring-ring w-full border-t px-2.5 py-1.5 text-
|
|
590
|
+
className: "border-border text-destructive hover:bg-destructive/10 focus-visible:ring-ring w-full border-t px-2.5 py-1.5 text-start text-sm transition-colors focus-visible:ring-2 focus-visible:outline-none",
|
|
591
591
|
onClick: () => {
|
|
592
592
|
onRemoveMarker();
|
|
593
593
|
onClose();
|
|
@@ -709,7 +709,7 @@ var ScriptPanel = ({
|
|
|
709
709
|
return /* @__PURE__ */ jsxs(
|
|
710
710
|
"aside",
|
|
711
711
|
{
|
|
712
|
-
className: `border-border bg-card flex w-80 shrink-0 flex-col border-
|
|
712
|
+
className: `border-border bg-card flex w-80 shrink-0 flex-col border-s lg:w-96 ${className ?? ""}`,
|
|
713
713
|
"aria-label": "Transcript script",
|
|
714
714
|
children: [
|
|
715
715
|
/* @__PURE__ */ jsxs("div", { className: "border-border flex shrink-0 flex-wrap items-center gap-1.5 border-b px-3 py-2", children: [
|
|
@@ -732,7 +732,7 @@ var ScriptPanel = ({
|
|
|
732
732
|
children: format.toUpperCase()
|
|
733
733
|
}
|
|
734
734
|
),
|
|
735
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
735
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground ms-auto text-[10px]", children: readOnly ? "read-only" : dirty ? "edited" : "live" }),
|
|
736
736
|
/* @__PURE__ */ jsx(
|
|
737
737
|
Button,
|
|
738
738
|
{
|
|
@@ -874,7 +874,7 @@ function wordClassName(s) {
|
|
|
874
874
|
}
|
|
875
875
|
}
|
|
876
876
|
if (s.hasSpeedMarker) {
|
|
877
|
-
parts.push("
|
|
877
|
+
parts.push("ms-0.5 border-s-[3px] border-s-warning ps-1.5");
|
|
878
878
|
}
|
|
879
879
|
if (s.isSped) {
|
|
880
880
|
parts.push(
|
|
@@ -887,7 +887,7 @@ var Caret = ({ side }) => /* @__PURE__ */ jsx(
|
|
|
887
887
|
"span",
|
|
888
888
|
{
|
|
889
889
|
"aria-hidden": "true",
|
|
890
|
-
className: `bg-primary-500 absolute top-0.5 bottom-0.5 w-0.5 motion-safe:animate-pulse ${side === "before" ? "-
|
|
890
|
+
className: `bg-primary-500 absolute top-0.5 bottom-0.5 w-0.5 motion-safe:animate-pulse ${side === "before" ? "-start-px" : "end-0.5"}`
|
|
891
891
|
}
|
|
892
892
|
);
|
|
893
893
|
var MediaEditor = React6.forwardRef(
|
|
@@ -1670,7 +1670,7 @@ var MediaEditor = React6.forwardRef(
|
|
|
1670
1670
|
hasSpeedMarker && /* @__PURE__ */ jsxs(
|
|
1671
1671
|
"span",
|
|
1672
1672
|
{
|
|
1673
|
-
className: "border-warning/50 bg-warning/20 text-warning-foreground
|
|
1673
|
+
className: "border-warning/50 bg-warning/20 text-warning-foreground me-1 inline-block rounded-sm border px-0.5 align-middle text-[9px] leading-snug font-semibold",
|
|
1674
1674
|
title: `Speed: ${speedMarker.speed}x from here`,
|
|
1675
1675
|
children: [
|
|
1676
1676
|
speedMarker.speed,
|
|
@@ -1702,7 +1702,7 @@ var MediaEditor = React6.forwardRef(
|
|
|
1702
1702
|
/* @__PURE__ */ jsx(
|
|
1703
1703
|
"div",
|
|
1704
1704
|
{
|
|
1705
|
-
className: `border-border bg-background flex min-h-0 shrink-0 ${splitLayout === "vertical" ? "max-h-[55dvh] md:max-h-none md:w-1/2 md:border-
|
|
1705
|
+
className: `border-border bg-background flex min-h-0 shrink-0 ${splitLayout === "vertical" ? "max-h-[55dvh] md:max-h-none md:w-1/2 md:border-e" : "max-h-[55dvh] border-b md:max-h-[50%]"}`,
|
|
1706
1706
|
children: /* @__PURE__ */ jsx(
|
|
1707
1707
|
MediaPlayer,
|
|
1708
1708
|
{
|
|
@@ -1999,5 +1999,5 @@ var MediaEditor = React6.forwardRef(
|
|
|
1999
1999
|
MediaEditor.displayName = "MediaEditor";
|
|
2000
2000
|
|
|
2001
2001
|
export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal };
|
|
2002
|
-
//# sourceMappingURL=chunk-
|
|
2003
|
-
//# sourceMappingURL=chunk-
|
|
2002
|
+
//# sourceMappingURL=chunk-DWRYYTWT.js.map
|
|
2003
|
+
//# sourceMappingURL=chunk-DWRYYTWT.js.map
|