@mieweb/ui 0.8.0-dev.2 → 0.8.0-dev.3
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-VQ5HJCTP.js → chunk-2HQTUWJU.js} +14 -2
- package/dist/chunk-2HQTUWJU.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-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-5BPUZK2B.cjs → chunk-PBRXDB5K.cjs} +14 -2
- package/dist/chunk-PBRXDB5K.cjs.map +1 -0
- package/dist/{chunk-G52YRAJC.cjs → chunk-ZONEAWPR.cjs} +10 -10
- package/dist/chunk-ZONEAWPR.cjs.map +1 -0
- 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/index.cjs +66 -60
- 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 +24 -18
- 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
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
|
-
/**
|
|
1460
|
-
|
|
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
|
-
/**
|
|
1471
|
-
|
|
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
|
-
/**
|
|
1460
|
-
|
|
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
|
-
/**
|
|
1471
|
-
|
|
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
|
@@ -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-
|
|
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-
|
|
28
|
-
import { MessageComposer } from './chunk-
|
|
29
|
-
export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-
|
|
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';
|
|
@@ -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-
|
|
79
|
+
export { miewebUIPreset, miewebUISafelist } from './chunk-2HQTUWJU.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-
|
|
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
|
|
5364
|
-
"bottom-left": "bottom-4
|
|
5365
|
-
"top-right": "top-4
|
|
5366
|
-
"top-left": "top-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 -
|
|
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
|
|
5416
|
-
"bottom-left": "bottom-20
|
|
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
|
|
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-
|
|
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: "
|
|
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: "
|
|
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
|
|
6932
|
+
className: "text-muted-foreground ms-1 text-xs font-normal",
|
|
6927
6933
|
"aria-label": "required",
|
|
6928
6934
|
children: "(required)"
|
|
6929
6935
|
}
|