@mieweb/ui 0.9.0-dev.2 → 0.9.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/{Animated-Cs-naa2g.d.cts → Animated-XmH6k8pZ.d.cts} +16 -3
- package/dist/{Animated-Cs-naa2g.d.ts → Animated-XmH6k8pZ.d.ts} +16 -3
- package/dist/{chunk-XUVEF2RQ.js → chunk-24SEAAOH.js} +2 -2
- package/dist/{chunk-XUVEF2RQ.js.map → chunk-24SEAAOH.js.map} +1 -1
- package/dist/{chunk-FUFBRKOG.cjs → chunk-2WBPNXO2.cjs} +21 -21
- package/dist/{chunk-FUFBRKOG.cjs.map → chunk-2WBPNXO2.cjs.map} +1 -1
- package/dist/{chunk-IUDY6S7I.cjs → chunk-37UZHCLM.cjs} +35 -14
- package/dist/chunk-37UZHCLM.cjs.map +1 -0
- package/dist/{chunk-O425FKDI.cjs → chunk-3MHG4HYB.cjs} +5 -4
- package/dist/chunk-3MHG4HYB.cjs.map +1 -0
- package/dist/{chunk-L52N6BEN.cjs → chunk-AUOTJQGO.cjs} +7 -7
- package/dist/{chunk-L52N6BEN.cjs.map → chunk-AUOTJQGO.cjs.map} +1 -1
- package/dist/{chunk-KATEJG2F.js → chunk-DG6LIEUJ.js} +51 -5
- package/dist/chunk-DG6LIEUJ.js.map +1 -0
- package/dist/{chunk-2A2FLQJC.cjs → chunk-DH7I5HMK.cjs} +56 -10
- package/dist/chunk-DH7I5HMK.cjs.map +1 -0
- package/dist/{chunk-ADUEASXF.cjs → chunk-E7G22IQM.cjs} +27 -27
- package/dist/{chunk-ADUEASXF.cjs.map → chunk-E7G22IQM.cjs.map} +1 -1
- package/dist/{chunk-ONNY7UO4.js → chunk-JDJQTKTX.js} +3 -3
- package/dist/{chunk-ONNY7UO4.js.map → chunk-JDJQTKTX.js.map} +1 -1
- package/dist/{chunk-BJKAVWED.js → chunk-MBWF36DJ.js} +35 -14
- package/dist/chunk-MBWF36DJ.js.map +1 -0
- package/dist/chunk-NV2CWBI2.cjs +290 -0
- package/dist/chunk-NV2CWBI2.cjs.map +1 -0
- package/dist/{chunk-7KN6J7XV.cjs → chunk-OMAACCFW.cjs} +7 -7
- package/dist/{chunk-7KN6J7XV.cjs.map → chunk-OMAACCFW.cjs.map} +1 -1
- package/dist/{chunk-YJP6DUFO.cjs → chunk-PKD3JLS2.cjs} +6 -6
- package/dist/{chunk-YJP6DUFO.cjs.map → chunk-PKD3JLS2.cjs.map} +1 -1
- package/dist/{chunk-5H7SAEQO.js → chunk-QKFJDQEK.js} +3 -3
- package/dist/{chunk-5H7SAEQO.js.map → chunk-QKFJDQEK.js.map} +1 -1
- package/dist/{chunk-XJTFZLWH.cjs → chunk-QO6PRHDX.cjs} +2 -2
- package/dist/{chunk-XJTFZLWH.cjs.map → chunk-QO6PRHDX.cjs.map} +1 -1
- package/dist/{chunk-OHDIJOGG.js → chunk-RD3JDFYJ.js} +3 -3
- package/dist/{chunk-OHDIJOGG.js.map → chunk-RD3JDFYJ.js.map} +1 -1
- package/dist/{chunk-4SM3I7WE.cjs → chunk-RXPEZXAB.cjs} +67 -38
- package/dist/chunk-RXPEZXAB.cjs.map +1 -0
- package/dist/{chunk-VTR2KGLY.cjs → chunk-S3BCHPXT.cjs} +9 -9
- package/dist/{chunk-VTR2KGLY.cjs.map → chunk-S3BCHPXT.cjs.map} +1 -1
- package/dist/{chunk-KU3XRHWA.js → chunk-TZX76ZNZ.js} +67 -38
- package/dist/chunk-TZX76ZNZ.js.map +1 -0
- package/dist/{chunk-RPG2ZP2T.js → chunk-USZ3VEPE.js} +5 -4
- package/dist/chunk-USZ3VEPE.js.map +1 -0
- package/dist/{chunk-Q7G56ZIO.js → chunk-WUBMDOTG.js} +3 -3
- package/dist/{chunk-Q7G56ZIO.js.map → chunk-WUBMDOTG.js.map} +1 -1
- package/dist/chunk-XCP454Q6.js +263 -0
- package/dist/chunk-XCP454Q6.js.map +1 -0
- package/dist/{chunk-KI5ES4GR.js → chunk-XEZCHQHB.js} +11 -2
- package/dist/chunk-XEZCHQHB.js.map +1 -0
- package/dist/{chunk-I3DQXUSC.js → chunk-Y6DFMDMH.js} +3 -3
- package/dist/{chunk-I3DQXUSC.js.map → chunk-Y6DFMDMH.js.map} +1 -1
- package/dist/{chunk-2KQWEROH.js → chunk-YSEMAI4I.js} +3 -3
- package/dist/{chunk-2KQWEROH.js.map → chunk-YSEMAI4I.js.map} +1 -1
- package/dist/{chunk-XRKBHECB.cjs → chunk-Z3RYJWSV.cjs} +11 -2
- package/dist/chunk-Z3RYJWSV.cjs.map +1 -0
- package/dist/components/AlertDialog/index.cjs +4 -4
- package/dist/components/AlertDialog/index.js +3 -3
- package/dist/components/Collapsible/index.cjs +6 -4
- package/dist/components/Collapsible/index.js +3 -1
- package/dist/components/Dropdown/index.cjs +9 -8
- package/dist/components/Dropdown/index.js +2 -1
- package/dist/components/KeyboardShortcutsOverlay/index.cjs +5 -5
- package/dist/components/KeyboardShortcutsOverlay/index.js +3 -3
- package/dist/components/MediaEditor/index.cjs +8 -8
- package/dist/components/MediaEditor/index.js +3 -3
- package/dist/components/Modal/index.cjs +10 -10
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/RichTextEditor/index.cjs +6 -5
- package/dist/components/RichTextEditor/index.js +3 -2
- package/dist/components/SuperChat/index.cjs +14 -13
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.js +3 -2
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +2 -2
- package/dist/components/SuperChat/plugins/index.js +1 -1
- package/dist/esheet.cjs +6 -6
- package/dist/esheet.js +3 -3
- package/dist/hooks/index.cjs +13 -13
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +1068 -1048
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -2
- package/dist/index.d.ts +28 -2
- package/dist/index.js +689 -669
- package/dist/index.js.map +1 -1
- package/dist/motion.cjs +7 -7
- package/dist/motion.d.cts +1 -1
- package/dist/motion.d.ts +1 -1
- package/dist/motion.js +2 -2
- 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-2A2FLQJC.cjs.map +0 -1
- package/dist/chunk-4SM3I7WE.cjs.map +0 -1
- package/dist/chunk-BJKAVWED.js.map +0 -1
- package/dist/chunk-BN75TLUN.cjs +0 -163
- package/dist/chunk-BN75TLUN.cjs.map +0 -1
- package/dist/chunk-IUDY6S7I.cjs.map +0 -1
- package/dist/chunk-KATEJG2F.js.map +0 -1
- package/dist/chunk-KI5ES4GR.js.map +0 -1
- package/dist/chunk-KU3XRHWA.js.map +0 -1
- package/dist/chunk-O425FKDI.cjs.map +0 -1
- package/dist/chunk-RPG2ZP2T.js.map +0 -1
- package/dist/chunk-WYMO3IIK.js +0 -136
- package/dist/chunk-WYMO3IIK.js.map +0 -1
- package/dist/chunk-XRKBHECB.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -80,7 +80,7 @@ export { Accessibility as AccessibilityIcon, Activity as ActivityIcon, AlertCirc
|
|
|
80
80
|
export { R as ResolvedTheme, T as Theme, u as useTheme } from './useTheme-B9SWu6ui.cjs';
|
|
81
81
|
export { A as AnchoredPlacement, U as UseAnchoredPositionOptions, a as UseAnchoredPositionReturn, u as useAnchoredPosition } from './useAnchoredPosition-CKwLSQW8.cjs';
|
|
82
82
|
export { D as DEFAULT_FILLER_WORDS, a as DEFAULT_MIN_SILENCE_MS, b as DEFAULT_NL_SILENCE_MS, F as FillerAnalysis, S as SilenceThresholdCount, T as TranscriptClipboard, c as TranscriptEditStats, U as UseTranscriptEditsOptions, d as UseTranscriptEditsResult, e as buildPlaybackSegments, g as getSpeedAtIndex, i as initEditableWords, f as insertSilences, u as useTranscriptEdits } from './useTranscriptEdits-CGzlemHT.cjs';
|
|
83
|
-
export { A as Animated, a as AnimatedPresence, b as AnimatedProps,
|
|
83
|
+
export { A as Animated, a as AnimatedPresence, b as AnimatedProps, M as MotionEdge, e as MotionPresenceProps, c as MotionPreset, f as MotionPresetDefinition, d as MotionRuntime, g as MotionVariant, m as motionPresets, u as useMotionRuntime } from './Animated-XmH6k8pZ.cjs';
|
|
84
84
|
export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, miewebUITwMergeConflicts, parseDateValue, unformatPhoneNumber } from './utils/index.cjs';
|
|
85
85
|
export { i as isHtmlEmpty, s as stripHtmlTags } from './html-MdxqSzjD.cjs';
|
|
86
86
|
export { default as miewebUIPreset, miewebUISafelist } from './tailwind-preset.cjs';
|
|
@@ -3326,6 +3326,20 @@ interface ChatComposerProps {
|
|
|
3326
3326
|
* Omit to disable mentions entirely (default).
|
|
3327
3327
|
*/
|
|
3328
3328
|
mentionOptions?: MentionOption[];
|
|
3329
|
+
/**
|
|
3330
|
+
* Message being replied to. When set, a dismissible preview row renders at
|
|
3331
|
+
* the top of the card, the input is focused, and the sent `NewMessage`
|
|
3332
|
+
* carries `replyToId`. The host owns the state: sending does not clear it
|
|
3333
|
+
* (clear it in `onSend`), and the preview's close button only calls
|
|
3334
|
+
* `onCancelReply`. Same contract as `MessageComposer`.
|
|
3335
|
+
*/
|
|
3336
|
+
replyTo?: {
|
|
3337
|
+
id: string;
|
|
3338
|
+
content: string;
|
|
3339
|
+
senderName: string;
|
|
3340
|
+
} | null;
|
|
3341
|
+
/** Called when the reply preview's cancel button is clicked. */
|
|
3342
|
+
onCancelReply?: () => void;
|
|
3329
3343
|
/** Show the built-in mic button. @default false */
|
|
3330
3344
|
showMic?: boolean;
|
|
3331
3345
|
/** Called when the built-in mic button is clicked. */
|
|
@@ -3389,6 +3403,10 @@ interface ChatComposerProps {
|
|
|
3389
3403
|
mentionListLabel?: string;
|
|
3390
3404
|
/** Overlay text shown while dragging files over the composer. @default 'Drop files here' */
|
|
3391
3405
|
dropFilesLabel?: string;
|
|
3406
|
+
/** Prefix shown before the sender name in the reply preview. @default 'Replying to' */
|
|
3407
|
+
replyingToLabel?: string;
|
|
3408
|
+
/** Accessible label for the reply preview's cancel button. @default 'Cancel reply' */
|
|
3409
|
+
cancelReplyLabel?: string;
|
|
3392
3410
|
className?: string;
|
|
3393
3411
|
}
|
|
3394
3412
|
/**
|
|
@@ -10929,6 +10947,14 @@ interface ToastProps extends ToastData {
|
|
|
10929
10947
|
/** Called when the toast is dismissed */
|
|
10930
10948
|
onClose: () => void;
|
|
10931
10949
|
}
|
|
10950
|
+
/**
|
|
10951
|
+
* A single toast surface.
|
|
10952
|
+
*
|
|
10953
|
+
* Entering and leaving are **not** this component's job — they belong to
|
|
10954
|
+
* {@link ToastContainer}, which owns the stack and is the only place an exit
|
|
10955
|
+
* can be held open long enough to animate. Rendering a bare `<Toast>` outside a
|
|
10956
|
+
* container therefore shows it immediately, with no transition.
|
|
10957
|
+
*/
|
|
10932
10958
|
declare function Toast({ title, message, variant, dismissible, action, icon, onClose, }: ToastProps): React__default.JSX.Element;
|
|
10933
10959
|
interface ToastContainerProps {
|
|
10934
10960
|
/** Toasts to display */
|
|
@@ -10943,7 +10969,7 @@ interface ToastContainerProps {
|
|
|
10943
10969
|
/** Called when a toast should be dismissed */
|
|
10944
10970
|
onDismiss: (id: string) => void;
|
|
10945
10971
|
}
|
|
10946
|
-
declare function ToastContainer({ toasts, position, onDismiss, }: ToastContainerProps): React__default.JSX.Element
|
|
10972
|
+
declare function ToastContainer({ toasts, position, onDismiss, }: ToastContainerProps): React__default.JSX.Element;
|
|
10947
10973
|
|
|
10948
10974
|
interface SystemReport {
|
|
10949
10975
|
/** Report ID */
|
package/dist/index.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ export { Accessibility as AccessibilityIcon, Activity as ActivityIcon, AlertCirc
|
|
|
80
80
|
export { R as ResolvedTheme, T as Theme, u as useTheme } from './useTheme-B9SWu6ui.js';
|
|
81
81
|
export { A as AnchoredPlacement, U as UseAnchoredPositionOptions, a as UseAnchoredPositionReturn, u as useAnchoredPosition } from './useAnchoredPosition-CKwLSQW8.js';
|
|
82
82
|
export { D as DEFAULT_FILLER_WORDS, a as DEFAULT_MIN_SILENCE_MS, b as DEFAULT_NL_SILENCE_MS, F as FillerAnalysis, S as SilenceThresholdCount, T as TranscriptClipboard, c as TranscriptEditStats, U as UseTranscriptEditsOptions, d as UseTranscriptEditsResult, e as buildPlaybackSegments, g as getSpeedAtIndex, i as initEditableWords, f as insertSilences, u as useTranscriptEdits } from './useTranscriptEdits-D32bLs0l.js';
|
|
83
|
-
export { A as Animated, a as AnimatedPresence, b as AnimatedProps,
|
|
83
|
+
export { A as Animated, a as AnimatedPresence, b as AnimatedProps, M as MotionEdge, e as MotionPresenceProps, c as MotionPreset, f as MotionPresetDefinition, d as MotionRuntime, g as MotionVariant, m as motionPresets, u as useMotionRuntime } from './Animated-XmH6k8pZ.js';
|
|
84
84
|
export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, miewebUITwMergeConflicts, parseDateValue, unformatPhoneNumber } from './utils/index.js';
|
|
85
85
|
export { i as isHtmlEmpty, s as stripHtmlTags } from './html-MdxqSzjD.js';
|
|
86
86
|
export { default as miewebUIPreset, miewebUISafelist } from './tailwind-preset.js';
|
|
@@ -3326,6 +3326,20 @@ interface ChatComposerProps {
|
|
|
3326
3326
|
* Omit to disable mentions entirely (default).
|
|
3327
3327
|
*/
|
|
3328
3328
|
mentionOptions?: MentionOption[];
|
|
3329
|
+
/**
|
|
3330
|
+
* Message being replied to. When set, a dismissible preview row renders at
|
|
3331
|
+
* the top of the card, the input is focused, and the sent `NewMessage`
|
|
3332
|
+
* carries `replyToId`. The host owns the state: sending does not clear it
|
|
3333
|
+
* (clear it in `onSend`), and the preview's close button only calls
|
|
3334
|
+
* `onCancelReply`. Same contract as `MessageComposer`.
|
|
3335
|
+
*/
|
|
3336
|
+
replyTo?: {
|
|
3337
|
+
id: string;
|
|
3338
|
+
content: string;
|
|
3339
|
+
senderName: string;
|
|
3340
|
+
} | null;
|
|
3341
|
+
/** Called when the reply preview's cancel button is clicked. */
|
|
3342
|
+
onCancelReply?: () => void;
|
|
3329
3343
|
/** Show the built-in mic button. @default false */
|
|
3330
3344
|
showMic?: boolean;
|
|
3331
3345
|
/** Called when the built-in mic button is clicked. */
|
|
@@ -3389,6 +3403,10 @@ interface ChatComposerProps {
|
|
|
3389
3403
|
mentionListLabel?: string;
|
|
3390
3404
|
/** Overlay text shown while dragging files over the composer. @default 'Drop files here' */
|
|
3391
3405
|
dropFilesLabel?: string;
|
|
3406
|
+
/** Prefix shown before the sender name in the reply preview. @default 'Replying to' */
|
|
3407
|
+
replyingToLabel?: string;
|
|
3408
|
+
/** Accessible label for the reply preview's cancel button. @default 'Cancel reply' */
|
|
3409
|
+
cancelReplyLabel?: string;
|
|
3392
3410
|
className?: string;
|
|
3393
3411
|
}
|
|
3394
3412
|
/**
|
|
@@ -10929,6 +10947,14 @@ interface ToastProps extends ToastData {
|
|
|
10929
10947
|
/** Called when the toast is dismissed */
|
|
10930
10948
|
onClose: () => void;
|
|
10931
10949
|
}
|
|
10950
|
+
/**
|
|
10951
|
+
* A single toast surface.
|
|
10952
|
+
*
|
|
10953
|
+
* Entering and leaving are **not** this component's job — they belong to
|
|
10954
|
+
* {@link ToastContainer}, which owns the stack and is the only place an exit
|
|
10955
|
+
* can be held open long enough to animate. Rendering a bare `<Toast>` outside a
|
|
10956
|
+
* container therefore shows it immediately, with no transition.
|
|
10957
|
+
*/
|
|
10932
10958
|
declare function Toast({ title, message, variant, dismissible, action, icon, onClose, }: ToastProps): React__default.JSX.Element;
|
|
10933
10959
|
interface ToastContainerProps {
|
|
10934
10960
|
/** Toasts to display */
|
|
@@ -10943,7 +10969,7 @@ interface ToastContainerProps {
|
|
|
10943
10969
|
/** Called when a toast should be dismissed */
|
|
10944
10970
|
onDismiss: (id: string) => void;
|
|
10945
10971
|
}
|
|
10946
|
-
declare function ToastContainer({ toasts, position, onDismiss, }: ToastContainerProps): React__default.JSX.Element
|
|
10972
|
+
declare function ToastContainer({ toasts, position, onDismiss, }: ToastContainerProps): React__default.JSX.Element;
|
|
10947
10973
|
|
|
10948
10974
|
interface SystemReport {
|
|
10949
10975
|
/** Report ID */
|