@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.
Files changed (44) hide show
  1. package/dist/{chunk-3RADKLLD.cjs → chunk-7LJTW7KF.cjs} +10 -10
  2. package/dist/{chunk-3RADKLLD.cjs.map → chunk-7LJTW7KF.cjs.map} +1 -1
  3. package/dist/{chunk-VQ5HJCTP.js → chunk-CJOPRFGI.js} +34 -3
  4. package/dist/chunk-CJOPRFGI.js.map +1 -0
  5. package/dist/{chunk-LDCFNWJC.cjs → chunk-D6UXVOPS.cjs} +23 -20
  6. package/dist/chunk-D6UXVOPS.cjs.map +1 -0
  7. package/dist/{chunk-LDQ2T27A.js → chunk-DWRYYTWT.js} +10 -10
  8. package/dist/{chunk-LDQ2T27A.js.map → chunk-DWRYYTWT.js.map} +1 -1
  9. package/dist/{chunk-EK6DYGFG.js → chunk-GPZDP2IA.js} +21 -18
  10. package/dist/chunk-GPZDP2IA.js.map +1 -0
  11. package/dist/{chunk-UJS3JTVT.js → chunk-KLLRTTC5.js} +10 -10
  12. package/dist/chunk-KLLRTTC5.js.map +1 -0
  13. package/dist/{chunk-SEPYBAML.js → chunk-RVGTI4F6.js} +3 -3
  14. package/dist/{chunk-SEPYBAML.js.map → chunk-RVGTI4F6.js.map} +1 -1
  15. package/dist/{chunk-5BPUZK2B.cjs → chunk-TKF3ENZS.cjs} +34 -3
  16. package/dist/chunk-TKF3ENZS.cjs.map +1 -0
  17. package/dist/{chunk-DG7KE4YJ.cjs → chunk-VA3WQ5KJ.cjs} +3 -3
  18. package/dist/{chunk-DG7KE4YJ.cjs.map → chunk-VA3WQ5KJ.cjs.map} +1 -1
  19. package/dist/{chunk-G52YRAJC.cjs → chunk-ZONEAWPR.cjs} +10 -10
  20. package/dist/chunk-ZONEAWPR.cjs.map +1 -0
  21. package/dist/components/MediaEditor/index.cjs +6 -6
  22. package/dist/components/MediaEditor/index.js +1 -1
  23. package/dist/components/SuperChat/index.cjs +2 -2
  24. package/dist/components/SuperChat/index.js +1 -1
  25. package/dist/components/SuperChat/plugins/index.cjs +3 -3
  26. package/dist/components/SuperChat/plugins/index.js +2 -2
  27. package/dist/components/TranscriptView/index.cjs +3 -3
  28. package/dist/components/TranscriptView/index.js +1 -1
  29. package/dist/index.cjs +88 -82
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.cts +15 -4
  32. package/dist/index.d.ts +15 -4
  33. package/dist/index.js +39 -33
  34. package/dist/index.js.map +1 -1
  35. package/dist/styles.css +1 -1
  36. package/dist/tailwind-preset.cjs +4 -4
  37. package/dist/tailwind-preset.js +1 -1
  38. package/package.json +1 -1
  39. package/dist/chunk-5BPUZK2B.cjs.map +0 -1
  40. package/dist/chunk-EK6DYGFG.js.map +0 -1
  41. package/dist/chunk-G52YRAJC.cjs.map +0 -1
  42. package/dist/chunk-LDCFNWJC.cjs.map +0 -1
  43. package/dist/chunk-UJS3JTVT.js.map +0 -1
  44. package/dist/chunk-VQ5HJCTP.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1456,8 +1456,13 @@ interface AIChatTriggerProps {
1456
1456
  pulse?: boolean;
1457
1457
  /** Badge count for notifications */
1458
1458
  badge?: number;
1459
- /** Position of the button */
1460
- position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
1459
+ /**
1460
+ * Position of the button. All values are direction-aware (logical):
1461
+ * `*-left`/`*-right` are aliases for `*-start`/`*-end` and mirror in RTL
1462
+ * documents. Prefer `start`/`end` values for clarity; pass a physical
1463
+ * inset via `className` if fixed positioning is required.
1464
+ */
1465
+ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | 'bottom-end' | 'bottom-start' | 'top-end' | 'top-start';
1461
1466
  /** Additional class name */
1462
1467
  className?: string;
1463
1468
  }
@@ -1467,8 +1472,14 @@ interface AIChatModalProps extends Omit<AIChatProps, 'variant' | 'size'> {
1467
1472
  open: boolean;
1468
1473
  /** Callback when the modal should close */
1469
1474
  onOpenChange: (open: boolean) => void;
1470
- /** Position of the modal */
1471
- position?: 'bottom-right' | 'bottom-left' | 'center';
1475
+ /**
1476
+ * Position of the modal. All values are direction-aware (logical):
1477
+ * `bottom-left`/`bottom-right` are aliases for `bottom-start`/`bottom-end`
1478
+ * and mirror in RTL documents. Prefer `start`/`end` values for clarity;
1479
+ * pass a physical inset via `modalClassName` if fixed positioning is
1480
+ * required. `center` is direction-neutral.
1481
+ */
1482
+ position?: 'bottom-right' | 'bottom-left' | 'bottom-end' | 'bottom-start' | 'center';
1472
1483
  /** Width of the modal */
1473
1484
  width?: string | number;
1474
1485
  /** Height of the modal */
package/dist/index.d.ts CHANGED
@@ -1456,8 +1456,13 @@ interface AIChatTriggerProps {
1456
1456
  pulse?: boolean;
1457
1457
  /** Badge count for notifications */
1458
1458
  badge?: number;
1459
- /** Position of the button */
1460
- position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
1459
+ /**
1460
+ * Position of the button. All values are direction-aware (logical):
1461
+ * `*-left`/`*-right` are aliases for `*-start`/`*-end` and mirror in RTL
1462
+ * documents. Prefer `start`/`end` values for clarity; pass a physical
1463
+ * inset via `className` if fixed positioning is required.
1464
+ */
1465
+ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | 'bottom-end' | 'bottom-start' | 'top-end' | 'top-start';
1461
1466
  /** Additional class name */
1462
1467
  className?: string;
1463
1468
  }
@@ -1467,8 +1472,14 @@ interface AIChatModalProps extends Omit<AIChatProps, 'variant' | 'size'> {
1467
1472
  open: boolean;
1468
1473
  /** Callback when the modal should close */
1469
1474
  onOpenChange: (open: boolean) => void;
1470
- /** Position of the modal */
1471
- position?: 'bottom-right' | 'bottom-left' | 'center';
1475
+ /**
1476
+ * Position of the modal. All values are direction-aware (logical):
1477
+ * `bottom-left`/`bottom-right` are aliases for `bottom-start`/`bottom-end`
1478
+ * and mirror in RTL documents. Prefer `start`/`end` values for clarity;
1479
+ * pass a physical inset via `modalClassName` if fixed positioning is
1480
+ * required. `center` is direction-neutral.
1481
+ */
1482
+ position?: 'bottom-right' | 'bottom-left' | 'bottom-end' | 'bottom-start' | 'center';
1472
1483
  /** Width of the modal */
1473
1484
  width?: string | number;
1474
1485
  /** Height of the modal */
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';
@@ -23,10 +23,10 @@ import { Spinner, SpinnerWithLabel } from './chunk-UA7E7PDS.js';
23
23
  export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-UA7E7PDS.js';
24
24
  import { SparklesIcon, RefreshIcon, CloseIcon, AIMessageDisplay } from './chunk-RZJXCI53.js';
25
25
  export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChevronIcon, CloseIcon, CollapsiblePill, MCPToolCallDisplay, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, getToolIcon } from './chunk-RZJXCI53.js';
26
- import { EmptyState } from './chunk-EK6DYGFG.js';
27
- export { AttachmentPreview, ConversationHeader, ConversationListItem, ConversationListSkeleton, DateSeparator, EmptyState, LightboxModal, LoadMoreButton, MessageBubble, MessageList, MessageStatusIcon, MessageThread, MessagingSplitView, ReadReceiptIndicator, SkeletonMessage, TypingIndicator, bubbleVariants, formatDateLabel, formatFileSize, formatLastSeen, getConversationSubtitle, getConversationTitle, groupMessagesByDate, headerVariants, isSameSenderGroup, useMessageScroll, useMessages, useReadReceipts, useTypingIndicator } from './chunk-EK6DYGFG.js';
28
- import { MessageComposer } from './chunk-UJS3JTVT.js';
29
- export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-UJS3JTVT.js';
26
+ import { EmptyState } from './chunk-GPZDP2IA.js';
27
+ export { AttachmentPreview, ConversationHeader, ConversationListItem, ConversationListSkeleton, DateSeparator, EmptyState, LightboxModal, LoadMoreButton, MessageBubble, MessageList, MessageStatusIcon, MessageThread, MessagingSplitView, ReadReceiptIndicator, SkeletonMessage, TypingIndicator, bubbleVariants, formatDateLabel, formatFileSize, formatLastSeen, getConversationSubtitle, getConversationTitle, groupMessagesByDate, headerVariants, isSameSenderGroup, useMessageScroll, useMessages, useReadReceipts, useTypingIndicator } from './chunk-GPZDP2IA.js';
28
+ import { MessageComposer } from './chunk-KLLRTTC5.js';
29
+ export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-KLLRTTC5.js';
30
30
  import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-TNUL4LGG.js';
31
31
  export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-TNUL4LGG.js';
32
32
  export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-JQQABHDN.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-VQ5HJCTP.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';
@@ -3249,7 +3249,7 @@ function ItemLabel({ label, sub }) {
3249
3249
  ] });
3250
3250
  }
3251
3251
  var itemClasses = cn(
3252
- "flex w-full items-center gap-3 rounded-lg px-3 py-2 text-left text-sm",
3252
+ "flex w-full items-center gap-3 rounded-lg px-3 py-2 text-start text-sm",
3253
3253
  "transition-colors duration-150 focus:outline-none",
3254
3254
  "text-neutral-700 dark:text-neutral-300",
3255
3255
  "hover:bg-neutral-100 dark:hover:bg-neutral-700",
@@ -5360,10 +5360,14 @@ function AIChatTrigger({
5360
5360
  className
5361
5361
  }) {
5362
5362
  const positionClasses = {
5363
- "bottom-right": "bottom-4 right-4",
5364
- "bottom-left": "bottom-4 left-4",
5365
- "top-right": "top-4 right-4",
5366
- "top-left": "top-4 left-4"
5363
+ "bottom-right": "bottom-4 end-4",
5364
+ "bottom-left": "bottom-4 start-4",
5365
+ "top-right": "top-4 end-4",
5366
+ "top-left": "top-4 start-4",
5367
+ "bottom-end": "bottom-4 end-4",
5368
+ "bottom-start": "bottom-4 start-4",
5369
+ "top-end": "top-4 end-4",
5370
+ "top-start": "top-4 start-4"
5367
5371
  };
5368
5372
  return /* @__PURE__ */ jsxs(
5369
5373
  "button",
@@ -5388,7 +5392,7 @@ function AIChatTrigger({
5388
5392
  "span",
5389
5393
  {
5390
5394
  "data-slot": "ai-chat-trigger-badge",
5391
- className: "absolute -top-1 -right-1 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-xs font-bold",
5395
+ className: "absolute -end-1 -top-1 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-xs font-bold",
5392
5396
  children: badge > 9 ? "9+" : badge
5393
5397
  }
5394
5398
  ),
@@ -5412,8 +5416,10 @@ function AIChatModal({
5412
5416
  });
5413
5417
  if (!open) return null;
5414
5418
  const positionClasses = {
5415
- "bottom-right": "bottom-20 right-4",
5416
- "bottom-left": "bottom-20 left-4",
5419
+ "bottom-right": "bottom-20 end-4",
5420
+ "bottom-left": "bottom-20 start-4",
5421
+ "bottom-end": "bottom-20 end-4",
5422
+ "bottom-start": "bottom-20 start-4",
5417
5423
  center: "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"
5418
5424
  };
5419
5425
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -5759,7 +5765,7 @@ function VoiceSetup({
5759
5765
  {
5760
5766
  variant: "ghost",
5761
5767
  size: "sm",
5762
- className: "text-muted-foreground absolute top-4 left-4",
5768
+ className: "text-muted-foreground absolute start-4 top-4",
5763
5769
  onClick: () => {
5764
5770
  oz.cancel();
5765
5771
  onCancel();
@@ -6010,7 +6016,7 @@ function VoiceManager({ logoSrc }) {
6010
6016
  /* @__PURE__ */ jsx("div", { className: "mt-[22px] flex w-full max-w-[460px] flex-col gap-2.5", children: voices.map((v) => /* @__PURE__ */ jsxs(
6011
6017
  "div",
6012
6018
  {
6013
- className: "border-border bg-card flex items-center gap-3 rounded-2xl border px-4 py-3 text-left",
6019
+ className: "border-border bg-card flex items-center gap-3 rounded-2xl border px-4 py-3 text-start",
6014
6020
  children: [
6015
6021
  /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
6016
6022
  editingId === v.id ? /* @__PURE__ */ jsx(
@@ -6557,7 +6563,7 @@ function VisitScribe({
6557
6563
  /* @__PURE__ */ jsx(
6558
6564
  "span",
6559
6565
  {
6560
- className: "mr-2 inline-block h-2.5 w-2.5 animate-pulse rounded-full bg-white",
6566
+ className: "me-2 inline-block h-2.5 w-2.5 animate-pulse rounded-full bg-white",
6561
6567
  "aria-hidden": "true"
6562
6568
  }
6563
6569
  ),
@@ -6653,7 +6659,7 @@ function VisitScribe({
6653
6659
  recording && /* @__PURE__ */ jsx(
6654
6660
  "span",
6655
6661
  {
6656
- className: "mr-2 inline-block h-2 w-2 animate-pulse rounded-full bg-red-500 align-middle",
6662
+ className: "me-2 inline-block h-2 w-2 animate-pulse rounded-full bg-red-500 align-middle",
6657
6663
  "aria-hidden": "true"
6658
6664
  }
6659
6665
  ),
@@ -6923,7 +6929,7 @@ function ReconciliationProposalRow({
6923
6929
  proposal.required && /* @__PURE__ */ jsx(
6924
6930
  "span",
6925
6931
  {
6926
- className: "text-muted-foreground ml-1 text-xs font-normal",
6932
+ className: "text-muted-foreground ms-1 text-xs font-normal",
6927
6933
  "aria-label": "required",
6928
6934
  children: "(required)"
6929
6935
  }
@@ -17625,7 +17631,7 @@ function FilePreviewItem({ file, onRemove, disabled }) {
17625
17631
  "span",
17626
17632
  {
17627
17633
  className: cn(
17628
- "absolute bottom-2 left-2 px-2 py-0.5",
17634
+ "absolute start-2 bottom-2 px-2 py-0.5",
17629
17635
  "rounded-full text-xs font-medium",
17630
17636
  "bg-black/50 text-white",
17631
17637
  "capitalize"
@@ -18182,15 +18188,15 @@ function DocumentDetectionOverlay({
18182
18188
  {
18183
18189
  className: `absolute inset-4 rounded-lg border-4 transition-colors duration-300 ${borderColor}`,
18184
18190
  children: [
18185
- /* @__PURE__ */ jsx("div", { className: "absolute -top-1 -left-1 h-6 w-6 rounded-tl border-t-4 border-l-4 border-current" }),
18186
- /* @__PURE__ */ jsx("div", { className: "absolute -top-1 -right-1 h-6 w-6 rounded-tr border-t-4 border-r-4 border-current" }),
18187
- /* @__PURE__ */ jsx("div", { className: "absolute -bottom-1 -left-1 h-6 w-6 rounded-bl border-b-4 border-l-4 border-current" }),
18188
- /* @__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" })
18189
18195
  ]
18190
18196
  }
18191
18197
  ),
18192
18198
  /* @__PURE__ */ jsx(CountdownDisplay, { seconds: captureCountdown }),
18193
- /* @__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: [
18194
18200
  /* @__PURE__ */ jsx(
18195
18201
  "div",
18196
18202
  {
@@ -18206,7 +18212,7 @@ function DocumentDetectionOverlay({
18206
18212
  }
18207
18213
  ) })
18208
18214
  ] }),
18209
- 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: [
18210
18216
  /* @__PURE__ */ jsx(StatusPill, { label: "Focus", isOk: isInFocus, value: focusScore }),
18211
18217
  /* @__PURE__ */ jsx(
18212
18218
  StatusPill,
@@ -18247,12 +18253,12 @@ function CameraViewfinder({
18247
18253
  isReady && detectionOverlay,
18248
18254
  isReady && !detectionOverlay && /* @__PURE__ */ jsxs("div", { className: "pointer-events-none absolute inset-0", children: [
18249
18255
  /* @__PURE__ */ jsxs("div", { className: "absolute inset-8 rounded-lg border-2 border-white/30", children: [
18250
- /* @__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" }),
18251
- /* @__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" }),
18252
- /* @__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" }),
18253
- /* @__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" })
18254
18260
  ] }),
18255
- /* @__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" }) })
18256
18262
  ] })
18257
18263
  ] });
18258
18264
  }
@@ -18265,7 +18271,7 @@ function PermissionDeniedMessage({ onRetry }) {
18265
18271
  ] }),
18266
18272
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 text-center", children: [
18267
18273
  /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "To enable camera access:" }),
18268
- /* @__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: [
18269
18275
  /* @__PURE__ */ jsx("li", { children: "Click the camera/lock icon in your browser's address bar" }),
18270
18276
  /* @__PURE__ */ jsx("li", { children: "Allow camera access for this site" }),
18271
18277
  /* @__PURE__ */ jsx("li", { children: "Click the button below to try again" })