@mieweb/ui 0.8.0-dev.22 → 0.8.0-dev.24
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 +175 -0
- package/dist/Animated-Cs-naa2g.d.ts +175 -0
- package/dist/brands/index.cjs +7 -7
- package/dist/brands/index.js +2 -2
- package/dist/{chunk-YIOZQEMV.cjs → chunk-3LHICE4I.cjs} +3 -3
- package/dist/{chunk-YIOZQEMV.cjs.map → chunk-3LHICE4I.cjs.map} +1 -1
- package/dist/{chunk-DWRIU4MW.js → chunk-3RB35GYK.js} +3 -3
- package/dist/{chunk-DWRIU4MW.js.map → chunk-3RB35GYK.js.map} +1 -1
- package/dist/{chunk-BT7SXNZU.cjs → chunk-4SM3I7WE.cjs} +3 -3
- package/dist/{chunk-BT7SXNZU.cjs.map → chunk-4SM3I7WE.cjs.map} +1 -1
- package/dist/{chunk-JWB4UA4J.cjs → chunk-5BVFVXHN.cjs} +197 -147
- package/dist/chunk-5BVFVXHN.cjs.map +1 -0
- package/dist/{chunk-62FT5JRH.js → chunk-5H7SAEQO.js} +4 -4
- package/dist/{chunk-62FT5JRH.js.map → chunk-5H7SAEQO.js.map} +1 -1
- package/dist/{chunk-KRYJJMYN.js → chunk-6SAYPXHX.js} +3 -3
- package/dist/{chunk-KRYJJMYN.js.map → chunk-6SAYPXHX.js.map} +1 -1
- package/dist/{chunk-KTJETOOH.cjs → chunk-6XDPJWSC.cjs} +36 -36
- package/dist/{chunk-KTJETOOH.cjs.map → chunk-6XDPJWSC.cjs.map} +1 -1
- package/dist/{chunk-WUKXQZZR.cjs → chunk-7KN6J7XV.cjs} +8 -8
- package/dist/{chunk-WUKXQZZR.cjs.map → chunk-7KN6J7XV.cjs.map} +1 -1
- package/dist/chunk-BN75TLUN.cjs +163 -0
- package/dist/chunk-BN75TLUN.cjs.map +1 -0
- package/dist/{chunk-WWJIW2IH.cjs → chunk-BVMABVC4.cjs} +3 -3
- package/dist/{chunk-WWJIW2IH.cjs.map → chunk-BVMABVC4.cjs.map} +1 -1
- package/dist/{chunk-RS5VA6QU.cjs → chunk-C3DUS2VE.cjs} +3 -3
- package/dist/{chunk-RS5VA6QU.cjs.map → chunk-C3DUS2VE.cjs.map} +1 -1
- package/dist/{chunk-VIE7UI2R.cjs → chunk-CXDMZT45.cjs} +4 -2
- package/dist/chunk-CXDMZT45.cjs.map +1 -0
- package/dist/{chunk-TXRQQMG5.js → chunk-CYMZ2QS5.js} +2 -2
- package/dist/{chunk-TXRQQMG5.js.map → chunk-CYMZ2QS5.js.map} +1 -1
- package/dist/{chunk-KY2CZK5F.js → chunk-D25WH7MH.js} +2 -2
- package/dist/{chunk-KY2CZK5F.js.map → chunk-D25WH7MH.js.map} +1 -1
- package/dist/{chunk-ATOWMVZH.js → chunk-DFYMIRMW.js} +3 -3
- package/dist/{chunk-ATOWMVZH.js.map → chunk-DFYMIRMW.js.map} +1 -1
- package/dist/{chunk-PDS7OM73.js → chunk-DGRXAIWK.js} +4 -2
- package/dist/chunk-DGRXAIWK.js.map +1 -0
- package/dist/{chunk-JHR4PNUA.cjs → chunk-FQBTGS3E.cjs} +5 -5
- package/dist/{chunk-JHR4PNUA.cjs.map → chunk-FQBTGS3E.cjs.map} +1 -1
- package/dist/{chunk-W3N5XENB.cjs → chunk-FUFBRKOG.cjs} +24 -24
- package/dist/{chunk-W3N5XENB.cjs.map → chunk-FUFBRKOG.cjs.map} +1 -1
- package/dist/{chunk-UEDTZYGI.cjs → chunk-H4AVMUOC.cjs} +3 -3
- package/dist/{chunk-UEDTZYGI.cjs.map → chunk-H4AVMUOC.cjs.map} +1 -1
- package/dist/{chunk-X5ZPYYMS.js → chunk-I3DQXUSC.js} +3 -3
- package/dist/{chunk-X5ZPYYMS.js.map → chunk-I3DQXUSC.js.map} +1 -1
- package/dist/{chunk-LZVPVY5P.js → chunk-KU3XRHWA.js} +3 -3
- package/dist/{chunk-LZVPVY5P.js.map → chunk-KU3XRHWA.js.map} +1 -1
- package/dist/{chunk-P2VTQ5AR.cjs → chunk-L52N6BEN.cjs} +39 -23
- package/dist/chunk-L52N6BEN.cjs.map +1 -0
- package/dist/{chunk-SRMTRD7F.js → chunk-L5W7TJQ5.js} +3 -3
- package/dist/{chunk-SRMTRD7F.js.map → chunk-L5W7TJQ5.js.map} +1 -1
- package/dist/{chunk-Z5KFXHDP.cjs → chunk-MM7QKUE3.cjs} +5 -5
- package/dist/{chunk-Z5KFXHDP.cjs.map → chunk-MM7QKUE3.cjs.map} +1 -1
- package/dist/{chunk-FJ7YPVKV.js → chunk-MUIDWFYJ.js} +3 -3
- package/dist/{chunk-FJ7YPVKV.js.map → chunk-MUIDWFYJ.js.map} +1 -1
- package/dist/{chunk-L2LH4CEN.js → chunk-MXQ7J4BB.js} +3 -3
- package/dist/{chunk-L2LH4CEN.js.map → chunk-MXQ7J4BB.js.map} +1 -1
- package/dist/{chunk-R4E6DMZS.js → chunk-O6GJ4IYS.js} +195 -147
- package/dist/chunk-O6GJ4IYS.js.map +1 -0
- package/dist/{chunk-MX46D4UJ.cjs → chunk-O7XHHTTP.cjs} +2 -2
- package/dist/{chunk-MX46D4UJ.cjs.map → chunk-O7XHHTTP.cjs.map} +1 -1
- package/dist/{chunk-7IBZA7G6.js → chunk-OAZUDUGX.js} +4 -4
- package/dist/{chunk-7IBZA7G6.js.map → chunk-OAZUDUGX.js.map} +1 -1
- package/dist/{chunk-NFKX6QJP.cjs → chunk-OCV33S5Q.cjs} +3 -3
- package/dist/{chunk-NFKX6QJP.cjs.map → chunk-OCV33S5Q.cjs.map} +1 -1
- package/dist/{chunk-334BUQMR.js → chunk-ODYQYLO2.js} +7 -7
- package/dist/{chunk-334BUQMR.js.map → chunk-ODYQYLO2.js.map} +1 -1
- package/dist/{chunk-FK2WTX7D.js → chunk-OHDIJOGG.js} +3 -3
- package/dist/{chunk-FK2WTX7D.js.map → chunk-OHDIJOGG.js.map} +1 -1
- package/dist/{chunk-GQVL2JKQ.cjs → chunk-OHKO5THF.cjs} +3 -3
- package/dist/{chunk-GQVL2JKQ.cjs.map → chunk-OHKO5THF.cjs.map} +1 -1
- package/dist/{chunk-LMBXJZLG.js → chunk-ON4JULCA.js} +3 -3
- package/dist/{chunk-LMBXJZLG.js.map → chunk-ON4JULCA.js.map} +1 -1
- package/dist/{chunk-57DPXKUV.js → chunk-ONNY7UO4.js} +4 -4
- package/dist/{chunk-57DPXKUV.js.map → chunk-ONNY7UO4.js.map} +1 -1
- package/dist/{chunk-KFEN2SRZ.js → chunk-PHK4XBO5.js} +3 -3
- package/dist/{chunk-KFEN2SRZ.js.map → chunk-PHK4XBO5.js.map} +1 -1
- package/dist/{chunk-XMCIXHGH.js → chunk-Q7G56ZIO.js} +39 -23
- package/dist/chunk-Q7G56ZIO.js.map +1 -0
- package/dist/{chunk-T5BBZQ66.js → chunk-QAKASRE6.js} +3 -3
- package/dist/{chunk-T5BBZQ66.js.map → chunk-QAKASRE6.js.map} +1 -1
- package/dist/{chunk-UBOVDAD7.js → chunk-QAQOCS2J.js} +3 -3
- package/dist/{chunk-UBOVDAD7.js.map → chunk-QAQOCS2J.js.map} +1 -1
- package/dist/{chunk-GLEIVJQB.cjs → chunk-QKAYRHWP.cjs} +9 -9
- package/dist/{chunk-GLEIVJQB.cjs.map → chunk-QKAYRHWP.cjs.map} +1 -1
- package/dist/{chunk-JWTCEWQ4.cjs → chunk-SNEQXSC5.cjs} +2 -2
- package/dist/{chunk-JWTCEWQ4.cjs.map → chunk-SNEQXSC5.cjs.map} +1 -1
- package/dist/{chunk-ZSGEGISB.cjs → chunk-SRA2L3SQ.cjs} +4 -4
- package/dist/{chunk-ZSGEGISB.cjs.map → chunk-SRA2L3SQ.cjs.map} +1 -1
- package/dist/{chunk-3SHLOF4V.cjs → chunk-VTR2KGLY.cjs} +9 -9
- package/dist/{chunk-3SHLOF4V.cjs.map → chunk-VTR2KGLY.cjs.map} +1 -1
- package/dist/chunk-WYMO3IIK.js +136 -0
- package/dist/chunk-WYMO3IIK.js.map +1 -0
- package/dist/{chunk-CFI3TQMA.cjs → chunk-X5QRRMGB.cjs} +3 -3
- package/dist/{chunk-CFI3TQMA.cjs.map → chunk-X5QRRMGB.cjs.map} +1 -1
- package/dist/{chunk-SH6B4MG5.js → chunk-XBXDUAIM.js} +4 -4
- package/dist/{chunk-SH6B4MG5.js.map → chunk-XBXDUAIM.js.map} +1 -1
- package/dist/{chunk-K5GQPTTA.cjs → chunk-XEEVDZDK.cjs} +3 -3
- package/dist/{chunk-K5GQPTTA.cjs.map → chunk-XEEVDZDK.cjs.map} +1 -1
- package/dist/{chunk-GXODR6V4.js → chunk-XOIIUO6O.js} +3 -3
- package/dist/{chunk-GXODR6V4.js.map → chunk-XOIIUO6O.js.map} +1 -1
- package/dist/{chunk-AHHFFXJR.cjs → chunk-XTHMC76F.cjs} +3 -3
- package/dist/{chunk-AHHFFXJR.cjs.map → chunk-XTHMC76F.cjs.map} +1 -1
- package/dist/{chunk-64SSWBJN.cjs → chunk-YJP6DUFO.cjs} +6 -6
- package/dist/{chunk-64SSWBJN.cjs.map → chunk-YJP6DUFO.cjs.map} +1 -1
- package/dist/components/Alert/index.d.cts +1 -1
- package/dist/components/Alert/index.d.ts +1 -1
- package/dist/components/AlertDialog/index.cjs +5 -4
- package/dist/components/AlertDialog/index.js +4 -3
- package/dist/components/Autocomplete/index.cjs +3 -3
- package/dist/components/Autocomplete/index.js +2 -2
- package/dist/components/Badge/index.d.cts +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Card/index.d.cts +2 -2
- package/dist/components/Card/index.d.ts +2 -2
- package/dist/components/CountryCodeDropdown/index.cjs +5 -5
- package/dist/components/CountryCodeDropdown/index.js +2 -2
- package/dist/components/CustomizableDashboard/index.cjs +10 -10
- package/dist/components/CustomizableDashboard/index.js +3 -3
- package/dist/components/DateInput/index.cjs +4 -4
- package/dist/components/DateInput/index.js +3 -3
- package/dist/components/Dropdown/index.cjs +9 -9
- package/dist/components/Dropdown/index.js +2 -2
- package/dist/components/GlossaryTooltip/index.cjs +3 -3
- package/dist/components/GlossaryTooltip/index.js +2 -2
- package/dist/components/KeyboardShortcutsOverlay/index.cjs +6 -5
- package/dist/components/KeyboardShortcutsOverlay/index.js +4 -3
- package/dist/components/Markdown/index.cjs +10 -10
- package/dist/components/Markdown/index.js +2 -2
- package/dist/components/MediaEditor/index.cjs +11 -10
- package/dist/components/MediaEditor/index.js +6 -5
- package/dist/components/MediaPlayer/index.cjs +1 -1
- package/dist/components/MediaPlayer/index.js +1 -1
- package/dist/components/Modal/index.cjs +11 -10
- package/dist/components/Modal/index.d.cts +1 -1
- package/dist/components/Modal/index.d.ts +1 -1
- package/dist/components/Modal/index.js +3 -2
- package/dist/components/Pagination/index.d.cts +1 -1
- package/dist/components/Pagination/index.d.ts +1 -1
- package/dist/components/PhoneInput/index.cjs +4 -4
- package/dist/components/PhoneInput/index.js +2 -2
- package/dist/components/Progress/index.d.cts +1 -1
- package/dist/components/Progress/index.d.ts +1 -1
- package/dist/components/RecordButton/index.d.cts +1 -1
- package/dist/components/RecordButton/index.d.ts +1 -1
- package/dist/components/RichTextEditor/index.cjs +7 -7
- package/dist/components/RichTextEditor/index.js +4 -4
- package/dist/components/SectionSpyNav/index.cjs +3 -3
- package/dist/components/SectionSpyNav/index.js +2 -2
- package/dist/components/Select/index.cjs +4 -4
- package/dist/components/Select/index.js +2 -2
- package/dist/components/Sheet/index.cjs +11 -11
- package/dist/components/Sheet/index.js +2 -2
- package/dist/components/Slider/index.d.cts +2 -2
- package/dist/components/Slider/index.d.ts +2 -2
- package/dist/components/SourceTip/index.cjs +3 -3
- package/dist/components/SourceTip/index.js +2 -2
- package/dist/components/SuperChat/index.cjs +10 -10
- package/dist/components/SuperChat/index.js +4 -4
- package/dist/components/SuperChat/plugins/index.cjs +4 -4
- package/dist/components/SuperChat/plugins/index.js +3 -3
- package/dist/components/Text/index.d.cts +1 -1
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/ThemeProvider/index.cjs +9 -9
- package/dist/components/ThemeProvider/index.d.cts +1 -1
- package/dist/components/ThemeProvider/index.d.ts +1 -1
- package/dist/components/ThemeProvider/index.js +3 -3
- package/dist/components/Toggle/index.d.cts +1 -1
- package/dist/components/Toggle/index.d.ts +1 -1
- package/dist/components/Tooltip/index.cjs +3 -3
- package/dist/components/Tooltip/index.js +2 -2
- package/dist/esheet.cjs +12 -11
- package/dist/esheet.cjs.map +1 -1
- package/dist/esheet.js +9 -8
- package/dist/esheet.js.map +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +722 -620
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +38 -24
- package/dist/index.d.ts +38 -24
- package/dist/index.js +216 -129
- package/dist/index.js.map +1 -1
- package/dist/motion.cjs +87 -0
- package/dist/motion.cjs.map +1 -0
- package/dist/motion.d.cts +52 -0
- package/dist/motion.d.ts +52 -0
- package/dist/motion.js +50 -0
- package/dist/motion.js.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +16 -1
- package/dist/chunk-JWB4UA4J.cjs.map +0 -1
- package/dist/chunk-P2VTQ5AR.cjs.map +0 -1
- package/dist/chunk-PDS7OM73.js.map +0 -1
- package/dist/chunk-R4E6DMZS.js.map +0 -1
- package/dist/chunk-VIE7UI2R.cjs.map +0 -1
- package/dist/chunk-XMCIXHGH.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -80,6 +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, d as MotionPresenceProps, M as MotionPreset, e as MotionPresetDefinition, c as MotionRuntime, f as MotionVariant, m as motionPresets, u as useMotionRuntime } from './Animated-Cs-naa2g.cjs';
|
|
83
84
|
export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, miewebUITwMergeConflicts, parseDateValue, unformatPhoneNumber } from './utils/index.cjs';
|
|
84
85
|
export { i as isHtmlEmpty, s as stripHtmlTags } from './html-MdxqSzjD.cjs';
|
|
85
86
|
export { default as miewebUIPreset, miewebUISafelist } from './tailwind-preset.cjs';
|
|
@@ -606,6 +607,25 @@ interface AIMessageDisplayProps {
|
|
|
606
607
|
*/
|
|
607
608
|
declare function AIMessageDisplay({ message, userName, showAvatar, showTimestamp, onLinkClick, renderTextContent, renderMessageFooter, className, }: AIMessageDisplayProps): react_jsx_runtime.JSX.Element;
|
|
608
609
|
|
|
610
|
+
/**
|
|
611
|
+
* A candidate for the composer's `@mention` autocomplete. Generic so any
|
|
612
|
+
* surface (multi-party chat, agent picker, …) can supply its own list.
|
|
613
|
+
*/
|
|
614
|
+
interface MentionOption {
|
|
615
|
+
/** Stable unique key for the suggestion list. */
|
|
616
|
+
id: string;
|
|
617
|
+
/** Display name shown in the suggestion list. */
|
|
618
|
+
label: string;
|
|
619
|
+
/** Text inserted after `@` on selection. Defaults to the first word of `label`. */
|
|
620
|
+
value?: string;
|
|
621
|
+
/** Optional secondary text shown after the label. */
|
|
622
|
+
description?: string;
|
|
623
|
+
/** Optional leading node (e.g. an avatar). */
|
|
624
|
+
icon?: React$1.ReactNode;
|
|
625
|
+
/** Optional trailing meta text (e.g. a kind tag). */
|
|
626
|
+
meta?: string;
|
|
627
|
+
}
|
|
628
|
+
|
|
609
629
|
/**
|
|
610
630
|
* Messaging Component Types
|
|
611
631
|
*
|
|
@@ -868,24 +888,6 @@ interface MessageGroup {
|
|
|
868
888
|
messages: Message[];
|
|
869
889
|
}
|
|
870
890
|
|
|
871
|
-
/**
|
|
872
|
-
* A candidate for the composer's `@mention` autocomplete. Generic so any
|
|
873
|
-
* surface (multi-party chat, agent picker, …) can supply its own list.
|
|
874
|
-
*/
|
|
875
|
-
interface MentionOption {
|
|
876
|
-
/** Stable id (returned to the host so it can map a selection back). */
|
|
877
|
-
id: string;
|
|
878
|
-
/** Display name shown in the suggestion list. */
|
|
879
|
-
label: string;
|
|
880
|
-
/** Text inserted after `@` on selection. Defaults to the first word of `label`. */
|
|
881
|
-
value?: string;
|
|
882
|
-
/** Optional secondary text shown after the label. */
|
|
883
|
-
description?: string;
|
|
884
|
-
/** Optional leading node (e.g. an avatar). */
|
|
885
|
-
icon?: React$1.ReactNode;
|
|
886
|
-
/** Optional trailing meta text (e.g. a kind tag). */
|
|
887
|
-
meta?: string;
|
|
888
|
-
}
|
|
889
891
|
interface CharacterCounterProps {
|
|
890
892
|
current: number;
|
|
891
893
|
max: number;
|
|
@@ -990,7 +992,7 @@ interface SuggestedActionsProps {
|
|
|
990
992
|
}
|
|
991
993
|
declare function SuggestedActions({ actions, onSelect, className, }: SuggestedActionsProps): react_jsx_runtime.JSX.Element;
|
|
992
994
|
declare const chatVariants: (props?: ({
|
|
993
|
-
variant?: "
|
|
995
|
+
variant?: "default" | "floating" | "embedded" | null | undefined;
|
|
994
996
|
size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
995
997
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
996
998
|
interface AIChatProps extends VariantProps<typeof chatVariants>, AIChatCallbacks {
|
|
@@ -3308,7 +3310,7 @@ interface ChatComposerProps {
|
|
|
3308
3310
|
textareaProps?: Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, 'value' | 'defaultValue'>;
|
|
3309
3311
|
/** Extra entries for the `+` menu, rendered after the built-in items. */
|
|
3310
3312
|
addMenuItems?: ChatComposerMenuItem[];
|
|
3311
|
-
/** Enable file attachments (built-in "Attach files" menu item, paste-to-attach, chips). @default true */
|
|
3313
|
+
/** Enable file attachments (built-in "Attach files" menu item, paste-to-attach, drag-and-drop, chips). @default true */
|
|
3312
3314
|
allowAttachments?: boolean;
|
|
3313
3315
|
/** Accepted file types for the picker/paste validation (native `accept` tokens). */
|
|
3314
3316
|
acceptedFileTypes?: string[];
|
|
@@ -3316,6 +3318,12 @@ interface ChatComposerProps {
|
|
|
3316
3318
|
maxFileSize?: number;
|
|
3317
3319
|
/** Maximum number of staged attachments. @default 10 */
|
|
3318
3320
|
maxAttachments?: number;
|
|
3321
|
+
/**
|
|
3322
|
+
* Candidates for `@mention` autocomplete. When provided (non-empty), typing
|
|
3323
|
+
* `@` opens a suggestion listbox (same behavior as `MessageComposer`).
|
|
3324
|
+
* Omit to disable mentions entirely (default).
|
|
3325
|
+
*/
|
|
3326
|
+
mentionOptions?: MentionOption[];
|
|
3319
3327
|
/** Show the built-in mic button. @default false */
|
|
3320
3328
|
showMic?: boolean;
|
|
3321
3329
|
/** Called when the built-in mic button is clicked. */
|
|
@@ -3375,6 +3383,10 @@ interface ChatComposerProps {
|
|
|
3375
3383
|
stopLabel?: string;
|
|
3376
3384
|
/** Accessible label / empty-state text for the agent selector. @default 'Select agent' */
|
|
3377
3385
|
agentSelectorLabel?: string;
|
|
3386
|
+
/** Accessible label for the `@mention` suggestion listbox. @default 'Mention' */
|
|
3387
|
+
mentionListLabel?: string;
|
|
3388
|
+
/** Overlay text shown while dragging files over the composer. @default 'Drop files here' */
|
|
3389
|
+
dropFilesLabel?: string;
|
|
3378
3390
|
className?: string;
|
|
3379
3391
|
}
|
|
3380
3392
|
/**
|
|
@@ -6567,7 +6579,7 @@ declare const selectorVariants: (props?: ({
|
|
|
6567
6579
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6568
6580
|
declare const buttonVariants: (props?: ({
|
|
6569
6581
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6570
|
-
variant?: "
|
|
6582
|
+
variant?: "default" | "ghost" | "minimal" | null | undefined;
|
|
6571
6583
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6572
6584
|
interface LanguageSelectorProps extends VariantProps<typeof selectorVariants>, VariantProps<typeof buttonVariants> {
|
|
6573
6585
|
/** Currently selected language code */
|
|
@@ -7075,6 +7087,8 @@ interface DragDropZoneProps {
|
|
|
7075
7087
|
disabled?: boolean;
|
|
7076
7088
|
/** Called when an error occurs */
|
|
7077
7089
|
onError?: (error: string) => void;
|
|
7090
|
+
/** Overlay text shown while dragging files over the zone. @default 'Drop files here' */
|
|
7091
|
+
overlayLabel?: string;
|
|
7078
7092
|
/** Children to render inside the zone */
|
|
7079
7093
|
children: React$1.ReactNode;
|
|
7080
7094
|
className?: string;
|
|
@@ -7082,7 +7096,7 @@ interface DragDropZoneProps {
|
|
|
7082
7096
|
/**
|
|
7083
7097
|
* A wrapper component that accepts drag-and-drop files.
|
|
7084
7098
|
*/
|
|
7085
|
-
declare function DragDropZone({ onFilesDropped, acceptedTypes, maxFileSize, maxFiles, disabled, onError, children, className, }: DragDropZoneProps): react_jsx_runtime.JSX.Element;
|
|
7099
|
+
declare function DragDropZone({ onFilesDropped, acceptedTypes, maxFileSize, maxFiles, disabled, onError, overlayLabel, children, className, }: DragDropZoneProps): react_jsx_runtime.JSX.Element;
|
|
7086
7100
|
declare namespace DragDropZone {
|
|
7087
7101
|
var displayName: string;
|
|
7088
7102
|
}
|
|
@@ -9688,7 +9702,7 @@ interface ServiceListProps {
|
|
|
9688
9702
|
declare function ServiceList({ services, basePath, onServiceClick, columns, showCounts, className, }: ServiceListProps): react_jsx_runtime.JSX.Element;
|
|
9689
9703
|
|
|
9690
9704
|
declare const serviceBadgeVariants: (props?: ({
|
|
9691
|
-
variant?: "
|
|
9705
|
+
variant?: "default" | "secondary" | "ghost" | "outline" | "danger" | "warning" | "success" | "info" | null | undefined;
|
|
9692
9706
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
9693
9707
|
interactive?: boolean | null | undefined;
|
|
9694
9708
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -10323,7 +10337,7 @@ interface DisclaimerTextProps {
|
|
|
10323
10337
|
}
|
|
10324
10338
|
declare function DisclaimerText({ children, variant, className, }: DisclaimerTextProps): react_jsx_runtime.JSX.Element;
|
|
10325
10339
|
declare const footerVariants: (props?: ({
|
|
10326
|
-
variant?: "
|
|
10340
|
+
variant?: "default" | "primary" | "white" | "dark" | null | undefined;
|
|
10327
10341
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10328
10342
|
interface SiteFooterProps extends VariantProps<typeof footerVariants> {
|
|
10329
10343
|
logo?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -80,6 +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, d as MotionPresenceProps, M as MotionPreset, e as MotionPresetDefinition, c as MotionRuntime, f as MotionVariant, m as motionPresets, u as useMotionRuntime } from './Animated-Cs-naa2g.js';
|
|
83
84
|
export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, miewebUITwMergeConflicts, parseDateValue, unformatPhoneNumber } from './utils/index.js';
|
|
84
85
|
export { i as isHtmlEmpty, s as stripHtmlTags } from './html-MdxqSzjD.js';
|
|
85
86
|
export { default as miewebUIPreset, miewebUISafelist } from './tailwind-preset.js';
|
|
@@ -606,6 +607,25 @@ interface AIMessageDisplayProps {
|
|
|
606
607
|
*/
|
|
607
608
|
declare function AIMessageDisplay({ message, userName, showAvatar, showTimestamp, onLinkClick, renderTextContent, renderMessageFooter, className, }: AIMessageDisplayProps): react_jsx_runtime.JSX.Element;
|
|
608
609
|
|
|
610
|
+
/**
|
|
611
|
+
* A candidate for the composer's `@mention` autocomplete. Generic so any
|
|
612
|
+
* surface (multi-party chat, agent picker, …) can supply its own list.
|
|
613
|
+
*/
|
|
614
|
+
interface MentionOption {
|
|
615
|
+
/** Stable unique key for the suggestion list. */
|
|
616
|
+
id: string;
|
|
617
|
+
/** Display name shown in the suggestion list. */
|
|
618
|
+
label: string;
|
|
619
|
+
/** Text inserted after `@` on selection. Defaults to the first word of `label`. */
|
|
620
|
+
value?: string;
|
|
621
|
+
/** Optional secondary text shown after the label. */
|
|
622
|
+
description?: string;
|
|
623
|
+
/** Optional leading node (e.g. an avatar). */
|
|
624
|
+
icon?: React$1.ReactNode;
|
|
625
|
+
/** Optional trailing meta text (e.g. a kind tag). */
|
|
626
|
+
meta?: string;
|
|
627
|
+
}
|
|
628
|
+
|
|
609
629
|
/**
|
|
610
630
|
* Messaging Component Types
|
|
611
631
|
*
|
|
@@ -868,24 +888,6 @@ interface MessageGroup {
|
|
|
868
888
|
messages: Message[];
|
|
869
889
|
}
|
|
870
890
|
|
|
871
|
-
/**
|
|
872
|
-
* A candidate for the composer's `@mention` autocomplete. Generic so any
|
|
873
|
-
* surface (multi-party chat, agent picker, …) can supply its own list.
|
|
874
|
-
*/
|
|
875
|
-
interface MentionOption {
|
|
876
|
-
/** Stable id (returned to the host so it can map a selection back). */
|
|
877
|
-
id: string;
|
|
878
|
-
/** Display name shown in the suggestion list. */
|
|
879
|
-
label: string;
|
|
880
|
-
/** Text inserted after `@` on selection. Defaults to the first word of `label`. */
|
|
881
|
-
value?: string;
|
|
882
|
-
/** Optional secondary text shown after the label. */
|
|
883
|
-
description?: string;
|
|
884
|
-
/** Optional leading node (e.g. an avatar). */
|
|
885
|
-
icon?: React$1.ReactNode;
|
|
886
|
-
/** Optional trailing meta text (e.g. a kind tag). */
|
|
887
|
-
meta?: string;
|
|
888
|
-
}
|
|
889
891
|
interface CharacterCounterProps {
|
|
890
892
|
current: number;
|
|
891
893
|
max: number;
|
|
@@ -990,7 +992,7 @@ interface SuggestedActionsProps {
|
|
|
990
992
|
}
|
|
991
993
|
declare function SuggestedActions({ actions, onSelect, className, }: SuggestedActionsProps): react_jsx_runtime.JSX.Element;
|
|
992
994
|
declare const chatVariants: (props?: ({
|
|
993
|
-
variant?: "
|
|
995
|
+
variant?: "default" | "floating" | "embedded" | null | undefined;
|
|
994
996
|
size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
995
997
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
996
998
|
interface AIChatProps extends VariantProps<typeof chatVariants>, AIChatCallbacks {
|
|
@@ -3308,7 +3310,7 @@ interface ChatComposerProps {
|
|
|
3308
3310
|
textareaProps?: Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, 'value' | 'defaultValue'>;
|
|
3309
3311
|
/** Extra entries for the `+` menu, rendered after the built-in items. */
|
|
3310
3312
|
addMenuItems?: ChatComposerMenuItem[];
|
|
3311
|
-
/** Enable file attachments (built-in "Attach files" menu item, paste-to-attach, chips). @default true */
|
|
3313
|
+
/** Enable file attachments (built-in "Attach files" menu item, paste-to-attach, drag-and-drop, chips). @default true */
|
|
3312
3314
|
allowAttachments?: boolean;
|
|
3313
3315
|
/** Accepted file types for the picker/paste validation (native `accept` tokens). */
|
|
3314
3316
|
acceptedFileTypes?: string[];
|
|
@@ -3316,6 +3318,12 @@ interface ChatComposerProps {
|
|
|
3316
3318
|
maxFileSize?: number;
|
|
3317
3319
|
/** Maximum number of staged attachments. @default 10 */
|
|
3318
3320
|
maxAttachments?: number;
|
|
3321
|
+
/**
|
|
3322
|
+
* Candidates for `@mention` autocomplete. When provided (non-empty), typing
|
|
3323
|
+
* `@` opens a suggestion listbox (same behavior as `MessageComposer`).
|
|
3324
|
+
* Omit to disable mentions entirely (default).
|
|
3325
|
+
*/
|
|
3326
|
+
mentionOptions?: MentionOption[];
|
|
3319
3327
|
/** Show the built-in mic button. @default false */
|
|
3320
3328
|
showMic?: boolean;
|
|
3321
3329
|
/** Called when the built-in mic button is clicked. */
|
|
@@ -3375,6 +3383,10 @@ interface ChatComposerProps {
|
|
|
3375
3383
|
stopLabel?: string;
|
|
3376
3384
|
/** Accessible label / empty-state text for the agent selector. @default 'Select agent' */
|
|
3377
3385
|
agentSelectorLabel?: string;
|
|
3386
|
+
/** Accessible label for the `@mention` suggestion listbox. @default 'Mention' */
|
|
3387
|
+
mentionListLabel?: string;
|
|
3388
|
+
/** Overlay text shown while dragging files over the composer. @default 'Drop files here' */
|
|
3389
|
+
dropFilesLabel?: string;
|
|
3378
3390
|
className?: string;
|
|
3379
3391
|
}
|
|
3380
3392
|
/**
|
|
@@ -6567,7 +6579,7 @@ declare const selectorVariants: (props?: ({
|
|
|
6567
6579
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6568
6580
|
declare const buttonVariants: (props?: ({
|
|
6569
6581
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6570
|
-
variant?: "
|
|
6582
|
+
variant?: "default" | "ghost" | "minimal" | null | undefined;
|
|
6571
6583
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6572
6584
|
interface LanguageSelectorProps extends VariantProps<typeof selectorVariants>, VariantProps<typeof buttonVariants> {
|
|
6573
6585
|
/** Currently selected language code */
|
|
@@ -7075,6 +7087,8 @@ interface DragDropZoneProps {
|
|
|
7075
7087
|
disabled?: boolean;
|
|
7076
7088
|
/** Called when an error occurs */
|
|
7077
7089
|
onError?: (error: string) => void;
|
|
7090
|
+
/** Overlay text shown while dragging files over the zone. @default 'Drop files here' */
|
|
7091
|
+
overlayLabel?: string;
|
|
7078
7092
|
/** Children to render inside the zone */
|
|
7079
7093
|
children: React$1.ReactNode;
|
|
7080
7094
|
className?: string;
|
|
@@ -7082,7 +7096,7 @@ interface DragDropZoneProps {
|
|
|
7082
7096
|
/**
|
|
7083
7097
|
* A wrapper component that accepts drag-and-drop files.
|
|
7084
7098
|
*/
|
|
7085
|
-
declare function DragDropZone({ onFilesDropped, acceptedTypes, maxFileSize, maxFiles, disabled, onError, children, className, }: DragDropZoneProps): react_jsx_runtime.JSX.Element;
|
|
7099
|
+
declare function DragDropZone({ onFilesDropped, acceptedTypes, maxFileSize, maxFiles, disabled, onError, overlayLabel, children, className, }: DragDropZoneProps): react_jsx_runtime.JSX.Element;
|
|
7086
7100
|
declare namespace DragDropZone {
|
|
7087
7101
|
var displayName: string;
|
|
7088
7102
|
}
|
|
@@ -9688,7 +9702,7 @@ interface ServiceListProps {
|
|
|
9688
9702
|
declare function ServiceList({ services, basePath, onServiceClick, columns, showCounts, className, }: ServiceListProps): react_jsx_runtime.JSX.Element;
|
|
9689
9703
|
|
|
9690
9704
|
declare const serviceBadgeVariants: (props?: ({
|
|
9691
|
-
variant?: "
|
|
9705
|
+
variant?: "default" | "secondary" | "ghost" | "outline" | "danger" | "warning" | "success" | "info" | null | undefined;
|
|
9692
9706
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
9693
9707
|
interactive?: boolean | null | undefined;
|
|
9694
9708
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -10323,7 +10337,7 @@ interface DisclaimerTextProps {
|
|
|
10323
10337
|
}
|
|
10324
10338
|
declare function DisclaimerText({ children, variant, className, }: DisclaimerTextProps): react_jsx_runtime.JSX.Element;
|
|
10325
10339
|
declare const footerVariants: (props?: ({
|
|
10326
|
-
variant?: "
|
|
10340
|
+
variant?: "default" | "primary" | "white" | "dark" | null | undefined;
|
|
10327
10341
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10328
10342
|
interface SiteFooterProps extends VariantProps<typeof footerVariants> {
|
|
10329
10343
|
logo?: {
|