@mieweb/ui 0.8.0-dev.2 → 0.8.0-dev.4
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-VQ5HJCTP.js → chunk-CJOPRFGI.js} +34 -3
- package/dist/chunk-CJOPRFGI.js.map +1 -0
- package/dist/{chunk-LDCFNWJC.cjs → chunk-D6UXVOPS.cjs} +23 -20
- package/dist/chunk-D6UXVOPS.cjs.map +1 -0
- 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-EK6DYGFG.js → chunk-GPZDP2IA.js} +21 -18
- package/dist/chunk-GPZDP2IA.js.map +1 -0
- package/dist/{chunk-UJS3JTVT.js → chunk-KLLRTTC5.js} +10 -10
- package/dist/chunk-KLLRTTC5.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-5BPUZK2B.cjs → chunk-TKF3ENZS.cjs} +34 -3
- package/dist/chunk-TKF3ENZS.cjs.map +1 -0
- package/dist/{chunk-DG7KE4YJ.cjs → chunk-VA3WQ5KJ.cjs} +3 -3
- package/dist/{chunk-DG7KE4YJ.cjs.map → chunk-VA3WQ5KJ.cjs.map} +1 -1
- package/dist/{chunk-G52YRAJC.cjs → chunk-ZONEAWPR.cjs} +10 -10
- package/dist/chunk-ZONEAWPR.cjs.map +1 -0
- package/dist/components/MediaEditor/index.cjs +6 -6
- package/dist/components/MediaEditor/index.js +1 -1
- package/dist/components/SuperChat/index.cjs +2 -2
- package/dist/components/SuperChat/index.js +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +3 -3
- package/dist/components/SuperChat/plugins/index.js +2 -2
- package/dist/components/TranscriptView/index.cjs +3 -3
- package/dist/components/TranscriptView/index.js +1 -1
- package/dist/index.cjs +88 -82
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -4
- package/dist/index.d.ts +15 -4
- package/dist/index.js +39 -33
- 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-5BPUZK2B.cjs.map +0 -1
- package/dist/chunk-EK6DYGFG.js.map +0 -1
- package/dist/chunk-G52YRAJC.cjs.map +0 -1
- package/dist/chunk-LDCFNWJC.cjs.map +0 -1
- package/dist/chunk-UJS3JTVT.js.map +0 -1
- package/dist/chunk-VQ5HJCTP.js.map +0 -1
|
@@ -590,7 +590,7 @@ var SpeedMarkerMenu = ({
|
|
|
590
590
|
"button",
|
|
591
591
|
{
|
|
592
592
|
type: "button",
|
|
593
|
-
className: `focus-visible:ring-ring flex items-center justify-between gap-2 rounded-md px-2.5 py-1 text-
|
|
593
|
+
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"}`,
|
|
594
594
|
onClick: () => {
|
|
595
595
|
onSetSpeed(speed);
|
|
596
596
|
onClose();
|
|
@@ -609,7 +609,7 @@ var SpeedMarkerMenu = ({
|
|
|
609
609
|
"button",
|
|
610
610
|
{
|
|
611
611
|
type: "button",
|
|
612
|
-
className: "border-border text-destructive hover:bg-destructive/10 focus-visible:ring-ring w-full border-t px-2.5 py-1.5 text-
|
|
612
|
+
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",
|
|
613
613
|
onClick: () => {
|
|
614
614
|
onRemoveMarker();
|
|
615
615
|
onClose();
|
|
@@ -731,7 +731,7 @@ var ScriptPanel = ({
|
|
|
731
731
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
732
732
|
"aside",
|
|
733
733
|
{
|
|
734
|
-
className: `border-border bg-card flex w-80 shrink-0 flex-col border-
|
|
734
|
+
className: `border-border bg-card flex w-80 shrink-0 flex-col border-s lg:w-96 ${className ?? ""}`,
|
|
735
735
|
"aria-label": "Transcript script",
|
|
736
736
|
children: [
|
|
737
737
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-border flex shrink-0 flex-wrap items-center gap-1.5 border-b px-3 py-2", children: [
|
|
@@ -754,7 +754,7 @@ var ScriptPanel = ({
|
|
|
754
754
|
children: format.toUpperCase()
|
|
755
755
|
}
|
|
756
756
|
),
|
|
757
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
757
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground ms-auto text-[10px]", children: readOnly ? "read-only" : dirty ? "edited" : "live" }),
|
|
758
758
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
759
759
|
chunkRDGRKYQ5_cjs.Button,
|
|
760
760
|
{
|
|
@@ -896,7 +896,7 @@ function wordClassName(s) {
|
|
|
896
896
|
}
|
|
897
897
|
}
|
|
898
898
|
if (s.hasSpeedMarker) {
|
|
899
|
-
parts.push("
|
|
899
|
+
parts.push("ms-0.5 border-s-[3px] border-s-warning ps-1.5");
|
|
900
900
|
}
|
|
901
901
|
if (s.isSped) {
|
|
902
902
|
parts.push(
|
|
@@ -909,7 +909,7 @@ var Caret = ({ side }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
|
909
909
|
"span",
|
|
910
910
|
{
|
|
911
911
|
"aria-hidden": "true",
|
|
912
|
-
className: `bg-primary-500 absolute top-0.5 bottom-0.5 w-0.5 motion-safe:animate-pulse ${side === "before" ? "-
|
|
912
|
+
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"}`
|
|
913
913
|
}
|
|
914
914
|
);
|
|
915
915
|
var MediaEditor = React6__namespace.forwardRef(
|
|
@@ -1692,7 +1692,7 @@ var MediaEditor = React6__namespace.forwardRef(
|
|
|
1692
1692
|
hasSpeedMarker && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1693
1693
|
"span",
|
|
1694
1694
|
{
|
|
1695
|
-
className: "border-warning/50 bg-warning/20 text-warning-foreground
|
|
1695
|
+
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",
|
|
1696
1696
|
title: `Speed: ${speedMarker.speed}x from here`,
|
|
1697
1697
|
children: [
|
|
1698
1698
|
speedMarker.speed,
|
|
@@ -1724,7 +1724,7 @@ var MediaEditor = React6__namespace.forwardRef(
|
|
|
1724
1724
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1725
1725
|
"div",
|
|
1726
1726
|
{
|
|
1727
|
-
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-
|
|
1727
|
+
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%]"}`,
|
|
1728
1728
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1729
1729
|
chunkJP5SGIXA_cjs.MediaPlayer,
|
|
1730
1730
|
{
|
|
@@ -2025,5 +2025,5 @@ exports.MediaEditor = MediaEditor;
|
|
|
2025
2025
|
exports.SilenceSettingsModal = SilenceSettingsModal;
|
|
2026
2026
|
exports.SpeedMarkerMenu = SpeedMarkerMenu;
|
|
2027
2027
|
exports.WordEditorModal = WordEditorModal;
|
|
2028
|
-
//# sourceMappingURL=chunk-
|
|
2029
|
-
//# sourceMappingURL=chunk-
|
|
2028
|
+
//# sourceMappingURL=chunk-7LJTW7KF.cjs.map
|
|
2029
|
+
//# sourceMappingURL=chunk-7LJTW7KF.cjs.map
|