@mieweb/ui 0.8.0-dev.3 → 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/index.js CHANGED
@@ -15,7 +15,7 @@ import { Text } from './chunk-3YSIZ2CK.js';
15
15
  export { SmallMuted, Text, textVariants } from './chunk-3YSIZ2CK.js';
16
16
  export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-SH6B4MG5.js';
17
17
  export { Toggle, toggleVariants } from './chunk-PTZB2GKL.js';
18
- export { TranscriptView, formatTimestampMs } from './chunk-SEPYBAML.js';
18
+ export { TranscriptView, formatTimestampMs } from './chunk-RVGTI4F6.js';
19
19
  export { VisuallyHidden } from './chunk-H2CIKJQI.js';
20
20
  export { SourceTip } from './chunk-KFEN2SRZ.js';
21
21
  export { Sparkline } from './chunk-CG4ZKJLE.js';
@@ -52,7 +52,7 @@ export { MermaidBlock } from './chunk-EHQ77LL5.js';
52
52
  export { SurveyBlock } from './chunk-DWCYEPTT.js';
53
53
  export { CsvBlock } from './chunk-5J5PEUUA.js';
54
54
  export { FenceBlock } from './chunk-NLBT5O2X.js';
55
- export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from './chunk-LDQ2T27A.js';
55
+ export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from './chunk-DWRYYTWT.js';
56
56
  export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-OTQ72WX3.js';
57
57
  import './chunk-RISZWWEQ.js';
58
58
  export { MediaPlayer, inferMediaKind, mediaPlayerVariants } from './chunk-EMMYFHOT.js';
@@ -76,7 +76,7 @@ export { Checkbox, CheckboxGroup, checkboxVariants } from './chunk-753Z3NXL.js';
76
76
  export { ClampedText } from './chunk-L6MDULYB.js';
77
77
  export { CollabStatus, defaultCollabStatusLabels, useYjsCollabStatus } from './chunk-SVSHA7XV.js';
78
78
  export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-BJKAVWED.js';
79
- export { miewebUIPreset, miewebUISafelist } from './chunk-2HQTUWJU.js';
79
+ export { miewebUIPreset, miewebUISafelist } from './chunk-CJOPRFGI.js';
80
80
  export { Accordion } from './chunk-Y6YSJPVC.js';
81
81
  import { Alert, AlertTitle, AlertDescription } from './chunk-6EWJGRC3.js';
82
82
  export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-6EWJGRC3.js';
@@ -17631,7 +17631,7 @@ function FilePreviewItem({ file, onRemove, disabled }) {
17631
17631
  "span",
17632
17632
  {
17633
17633
  className: cn(
17634
- "absolute bottom-2 left-2 px-2 py-0.5",
17634
+ "absolute start-2 bottom-2 px-2 py-0.5",
17635
17635
  "rounded-full text-xs font-medium",
17636
17636
  "bg-black/50 text-white",
17637
17637
  "capitalize"
@@ -18188,15 +18188,15 @@ function DocumentDetectionOverlay({
18188
18188
  {
18189
18189
  className: `absolute inset-4 rounded-lg border-4 transition-colors duration-300 ${borderColor}`,
18190
18190
  children: [
18191
- /* @__PURE__ */ jsx("div", { className: "absolute -top-1 -left-1 h-6 w-6 rounded-tl border-t-4 border-l-4 border-current" }),
18192
- /* @__PURE__ */ jsx("div", { className: "absolute -top-1 -right-1 h-6 w-6 rounded-tr border-t-4 border-r-4 border-current" }),
18193
- /* @__PURE__ */ jsx("div", { className: "absolute -bottom-1 -left-1 h-6 w-6 rounded-bl border-b-4 border-l-4 border-current" }),
18194
- /* @__PURE__ */ jsx("div", { className: "absolute -right-1 -bottom-1 h-6 w-6 rounded-br border-r-4 border-b-4 border-current" })
18191
+ /* @__PURE__ */ jsx("div", { className: "absolute -start-1 -top-1 h-6 w-6 rounded-ss border-s-4 border-t-4 border-current" }),
18192
+ /* @__PURE__ */ jsx("div", { className: "absolute -end-1 -top-1 h-6 w-6 rounded-se border-e-4 border-t-4 border-current" }),
18193
+ /* @__PURE__ */ jsx("div", { className: "absolute -start-1 -bottom-1 h-6 w-6 rounded-es border-s-4 border-b-4 border-current" }),
18194
+ /* @__PURE__ */ jsx("div", { className: "absolute -end-1 -bottom-1 h-6 w-6 rounded-ee border-e-4 border-b-4 border-current" })
18195
18195
  ]
18196
18196
  }
18197
18197
  ),
18198
18198
  /* @__PURE__ */ jsx(CountdownDisplay, { seconds: captureCountdown }),
18199
- /* @__PURE__ */ jsxs("div", { className: "absolute top-3 right-3 left-3", children: [
18199
+ /* @__PURE__ */ jsxs("div", { className: "absolute start-3 end-3 top-3", children: [
18200
18200
  /* @__PURE__ */ jsx(
18201
18201
  "div",
18202
18202
  {
@@ -18212,7 +18212,7 @@ function DocumentDetectionOverlay({
18212
18212
  }
18213
18213
  ) })
18214
18214
  ] }),
18215
- showDetailedMetrics && /* @__PURE__ */ jsx("div", { className: "absolute right-3 bottom-3 left-3", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap justify-center gap-2 rounded-lg bg-black/60 p-2 backdrop-blur-sm", children: [
18215
+ showDetailedMetrics && /* @__PURE__ */ jsx("div", { className: "absolute start-3 end-3 bottom-3", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap justify-center gap-2 rounded-lg bg-black/60 p-2 backdrop-blur-sm", children: [
18216
18216
  /* @__PURE__ */ jsx(StatusPill, { label: "Focus", isOk: isInFocus, value: focusScore }),
18217
18217
  /* @__PURE__ */ jsx(
18218
18218
  StatusPill,
@@ -18253,12 +18253,12 @@ function CameraViewfinder({
18253
18253
  isReady && detectionOverlay,
18254
18254
  isReady && !detectionOverlay && /* @__PURE__ */ jsxs("div", { className: "pointer-events-none absolute inset-0", children: [
18255
18255
  /* @__PURE__ */ jsxs("div", { className: "absolute inset-8 rounded-lg border-2 border-white/30", children: [
18256
- /* @__PURE__ */ jsx("div", { className: "absolute -top-0.5 -left-0.5 h-6 w-6 rounded-tl-lg border-t-4 border-l-4 border-white" }),
18257
- /* @__PURE__ */ jsx("div", { className: "absolute -top-0.5 -right-0.5 h-6 w-6 rounded-tr-lg border-t-4 border-r-4 border-white" }),
18258
- /* @__PURE__ */ jsx("div", { className: "absolute -bottom-0.5 -left-0.5 h-6 w-6 rounded-bl-lg border-b-4 border-l-4 border-white" }),
18259
- /* @__PURE__ */ jsx("div", { className: "absolute -right-0.5 -bottom-0.5 h-6 w-6 rounded-br-lg border-r-4 border-b-4 border-white" })
18256
+ /* @__PURE__ */ jsx("div", { className: "absolute -start-0.5 -top-0.5 h-6 w-6 rounded-ss-lg border-s-4 border-t-4 border-white" }),
18257
+ /* @__PURE__ */ jsx("div", { className: "absolute -end-0.5 -top-0.5 h-6 w-6 rounded-se-lg border-e-4 border-t-4 border-white" }),
18258
+ /* @__PURE__ */ jsx("div", { className: "absolute -start-0.5 -bottom-0.5 h-6 w-6 rounded-es-lg border-s-4 border-b-4 border-white" }),
18259
+ /* @__PURE__ */ jsx("div", { className: "absolute -end-0.5 -bottom-0.5 h-6 w-6 rounded-ee-lg border-e-4 border-b-4 border-white" })
18260
18260
  ] }),
18261
- /* @__PURE__ */ jsx("div", { className: "absolute right-0 bottom-4 left-0 text-center", children: /* @__PURE__ */ jsx("span", { className: "rounded-full bg-black/50 px-3 py-1 text-sm text-white", children: "Position document within the frame" }) })
18261
+ /* @__PURE__ */ jsx("div", { className: "absolute start-0 end-0 bottom-4 text-center", children: /* @__PURE__ */ jsx("span", { className: "rounded-full bg-black/50 px-3 py-1 text-sm text-white", children: "Position document within the frame" }) })
18262
18262
  ] })
18263
18263
  ] });
18264
18264
  }
@@ -18271,7 +18271,7 @@ function PermissionDeniedMessage({ onRetry }) {
18271
18271
  ] }),
18272
18272
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 text-center", children: [
18273
18273
  /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "To enable camera access:" }),
18274
- /* @__PURE__ */ jsxs("ol", { className: "text-muted-foreground list-inside list-decimal space-y-1 text-left text-sm", children: [
18274
+ /* @__PURE__ */ jsxs("ol", { className: "text-muted-foreground list-inside list-decimal space-y-1 text-start text-sm", children: [
18275
18275
  /* @__PURE__ */ jsx("li", { children: "Click the camera/lock icon in your browser's address bar" }),
18276
18276
  /* @__PURE__ */ jsx("li", { children: "Allow camera access for this site" }),
18277
18277
  /* @__PURE__ */ jsx("li", { children: "Click the button below to try again" })