@mieweb/ui 0.8.0-dev.21 → 0.8.0-dev.23
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-62FT5JRH.js → chunk-5H7SAEQO.js} +4 -4
- package/dist/{chunk-62FT5JRH.js.map → chunk-5H7SAEQO.js.map} +1 -1
- package/dist/{chunk-L2LH4CEN.js → chunk-5KJYGLVU.js} +3 -3
- package/dist/{chunk-L2LH4CEN.js.map → chunk-5KJYGLVU.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-R4E6DMZS.js → chunk-AZLDTPYK.js} +3 -3
- package/dist/{chunk-R4E6DMZS.js.map → chunk-AZLDTPYK.js.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-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-JHR4PNUA.cjs → chunk-HIMVH5OH.cjs} +5 -5
- package/dist/{chunk-JHR4PNUA.cjs.map → chunk-HIMVH5OH.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-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-JWB4UA4J.cjs → chunk-QEJHAU7N.cjs} +3 -3
- package/dist/{chunk-JWB4UA4J.cjs.map → chunk-QEJHAU7N.cjs.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 +631 -570
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +125 -79
- 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-P2VTQ5AR.cjs.map +0 -1
- package/dist/chunk-PDS7OM73.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';
|
|
@@ -990,7 +991,7 @@ interface SuggestedActionsProps {
|
|
|
990
991
|
}
|
|
991
992
|
declare function SuggestedActions({ actions, onSelect, className, }: SuggestedActionsProps): react_jsx_runtime.JSX.Element;
|
|
992
993
|
declare const chatVariants: (props?: ({
|
|
993
|
-
variant?: "
|
|
994
|
+
variant?: "default" | "floating" | "embedded" | null | undefined;
|
|
994
995
|
size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
995
996
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
996
997
|
interface AIChatProps extends VariantProps<typeof chatVariants>, AIChatCallbacks {
|
|
@@ -6567,7 +6568,7 @@ declare const selectorVariants: (props?: ({
|
|
|
6567
6568
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6568
6569
|
declare const buttonVariants: (props?: ({
|
|
6569
6570
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6570
|
-
variant?: "
|
|
6571
|
+
variant?: "default" | "ghost" | "minimal" | null | undefined;
|
|
6571
6572
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6572
6573
|
interface LanguageSelectorProps extends VariantProps<typeof selectorVariants>, VariantProps<typeof buttonVariants> {
|
|
6573
6574
|
/** Currently selected language code */
|
|
@@ -9688,7 +9689,7 @@ interface ServiceListProps {
|
|
|
9688
9689
|
declare function ServiceList({ services, basePath, onServiceClick, columns, showCounts, className, }: ServiceListProps): react_jsx_runtime.JSX.Element;
|
|
9689
9690
|
|
|
9690
9691
|
declare const serviceBadgeVariants: (props?: ({
|
|
9691
|
-
variant?: "
|
|
9692
|
+
variant?: "default" | "secondary" | "ghost" | "outline" | "danger" | "warning" | "success" | "info" | null | undefined;
|
|
9692
9693
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
9693
9694
|
interactive?: boolean | null | undefined;
|
|
9694
9695
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -10323,7 +10324,7 @@ interface DisclaimerTextProps {
|
|
|
10323
10324
|
}
|
|
10324
10325
|
declare function DisclaimerText({ children, variant, className, }: DisclaimerTextProps): react_jsx_runtime.JSX.Element;
|
|
10325
10326
|
declare const footerVariants: (props?: ({
|
|
10326
|
-
variant?: "
|
|
10327
|
+
variant?: "default" | "primary" | "white" | "dark" | null | undefined;
|
|
10327
10328
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10328
10329
|
interface SiteFooterProps extends VariantProps<typeof footerVariants> {
|
|
10329
10330
|
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';
|
|
@@ -990,7 +991,7 @@ interface SuggestedActionsProps {
|
|
|
990
991
|
}
|
|
991
992
|
declare function SuggestedActions({ actions, onSelect, className, }: SuggestedActionsProps): react_jsx_runtime.JSX.Element;
|
|
992
993
|
declare const chatVariants: (props?: ({
|
|
993
|
-
variant?: "
|
|
994
|
+
variant?: "default" | "floating" | "embedded" | null | undefined;
|
|
994
995
|
size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
995
996
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
996
997
|
interface AIChatProps extends VariantProps<typeof chatVariants>, AIChatCallbacks {
|
|
@@ -6567,7 +6568,7 @@ declare const selectorVariants: (props?: ({
|
|
|
6567
6568
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6568
6569
|
declare const buttonVariants: (props?: ({
|
|
6569
6570
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6570
|
-
variant?: "
|
|
6571
|
+
variant?: "default" | "ghost" | "minimal" | null | undefined;
|
|
6571
6572
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6572
6573
|
interface LanguageSelectorProps extends VariantProps<typeof selectorVariants>, VariantProps<typeof buttonVariants> {
|
|
6573
6574
|
/** Currently selected language code */
|
|
@@ -9688,7 +9689,7 @@ interface ServiceListProps {
|
|
|
9688
9689
|
declare function ServiceList({ services, basePath, onServiceClick, columns, showCounts, className, }: ServiceListProps): react_jsx_runtime.JSX.Element;
|
|
9689
9690
|
|
|
9690
9691
|
declare const serviceBadgeVariants: (props?: ({
|
|
9691
|
-
variant?: "
|
|
9692
|
+
variant?: "default" | "secondary" | "ghost" | "outline" | "danger" | "warning" | "success" | "info" | null | undefined;
|
|
9692
9693
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
9693
9694
|
interactive?: boolean | null | undefined;
|
|
9694
9695
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -10323,7 +10324,7 @@ interface DisclaimerTextProps {
|
|
|
10323
10324
|
}
|
|
10324
10325
|
declare function DisclaimerText({ children, variant, className, }: DisclaimerTextProps): react_jsx_runtime.JSX.Element;
|
|
10325
10326
|
declare const footerVariants: (props?: ({
|
|
10326
|
-
variant?: "
|
|
10327
|
+
variant?: "default" | "primary" | "white" | "dark" | null | undefined;
|
|
10327
10328
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10328
10329
|
interface SiteFooterProps extends VariantProps<typeof footerVariants> {
|
|
10329
10330
|
logo?: {
|
package/dist/index.js
CHANGED
|
@@ -1,73 +1,76 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { VisuallyHidden } from './chunk-H2CIKJQI.js';
|
|
2
|
+
export { brands } from './chunk-CYMZ2QS5.js';
|
|
3
|
+
export { webchartBrand } from './chunk-CW66SO5O.js';
|
|
2
4
|
export { defaultBrand } from './chunk-PSTGFXQG.js';
|
|
3
5
|
export { enterpriseHealthBrand } from './chunk-MTZPVOP6.js';
|
|
4
6
|
export { miewebBrand } from './chunk-NERS5ZT6.js';
|
|
5
7
|
export { wagglelineBrand } from './chunk-2NTYAALC.js';
|
|
6
|
-
export { webchartBrand } from './chunk-CW66SO5O.js';
|
|
7
8
|
export { createBrandPreset, generateBrandCSS, generateTailwindTheme } from './chunk-WOYUQ4AT.js';
|
|
8
9
|
export { bluehiveBrand } from './chunk-3T7QGLNB.js';
|
|
9
10
|
export { ccmeBrand } from './chunk-SCQRJPSV.js';
|
|
10
11
|
export { ozwellBrand } from './chunk-5YUBQIC7.js';
|
|
11
12
|
import { getModelBytes } from './chunk-6I7IDZ4A.js';
|
|
13
|
+
import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-TNUL4LGG.js';
|
|
14
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-TNUL4LGG.js';
|
|
12
15
|
import { Tabs, TabsList, TabsTrigger, TabsContent } from './chunk-DVOQ3JNO.js';
|
|
13
16
|
export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants, tabsTriggerVariants } from './chunk-DVOQ3JNO.js';
|
|
14
17
|
import { Text } from './chunk-3YSIZ2CK.js';
|
|
15
18
|
export { SmallMuted, Text, textVariants } from './chunk-3YSIZ2CK.js';
|
|
16
|
-
export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-
|
|
19
|
+
export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-XBXDUAIM.js';
|
|
17
20
|
export { Toggle, toggleVariants } from './chunk-PTZB2GKL.js';
|
|
18
21
|
export { TranscriptView, formatTimestampMs } from './chunk-LAEIVOIY.js';
|
|
19
|
-
|
|
20
|
-
export {
|
|
22
|
+
import { Skeleton } from './chunk-ZIUADGAR.js';
|
|
23
|
+
export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-ZIUADGAR.js';
|
|
24
|
+
export { SourceTip } from './chunk-PHK4XBO5.js';
|
|
21
25
|
export { Sparkline } from './chunk-CG4ZKJLE.js';
|
|
22
26
|
import { Spinner, SpinnerWithLabel } from './chunk-UA7E7PDS.js';
|
|
23
27
|
export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-UA7E7PDS.js';
|
|
24
28
|
import { SparklesIcon, RefreshIcon, CloseIcon, AIMessageDisplay } from './chunk-22CYDCXA.js';
|
|
25
29
|
export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChevronIcon, CloseIcon, CollapsiblePill, MCPToolCallDisplay, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, getToolIcon } from './chunk-22CYDCXA.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 { validateFile, getFileType, generateAttachmentId, AttachmentPreviewItem, MessageComposer } from './chunk-
|
|
29
|
-
export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-
|
|
30
|
-
import {
|
|
31
|
-
export {
|
|
32
|
-
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-
|
|
30
|
+
import { EmptyState } from './chunk-5KJYGLVU.js';
|
|
31
|
+
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-5KJYGLVU.js';
|
|
32
|
+
import { validateFile, getFileType, generateAttachmentId, AttachmentPreviewItem, MessageComposer } from './chunk-AZLDTPYK.js';
|
|
33
|
+
export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-AZLDTPYK.js';
|
|
34
|
+
import { RecordButton } from './chunk-VNWJTCBQ.js';
|
|
35
|
+
export { RecordButton, formatDuration, recordButtonVariants } from './chunk-VNWJTCBQ.js';
|
|
36
|
+
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-5H7SAEQO.js';
|
|
33
37
|
export { DateButton, DatePicker, RadioOption, SchedulePicker, TimeButton, TimePicker, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './chunk-23AYDOCH.js';
|
|
34
38
|
export { ScrollArea, scrollAreaVariants } from './chunk-HS25RPDW.js';
|
|
35
|
-
export { SectionSpyNav } from './chunk-
|
|
39
|
+
export { SectionSpyNav } from './chunk-3RB35GYK.js';
|
|
36
40
|
export { Separator, separatorVariants } from './chunk-OQWZYKJM.js';
|
|
37
|
-
import { Skeleton } from './chunk-ZIUADGAR.js';
|
|
38
|
-
export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-ZIUADGAR.js';
|
|
39
41
|
export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-PFKRHNYV.js';
|
|
40
|
-
export { PhoneInput, PhoneInputGroup } from './chunk-
|
|
42
|
+
export { PhoneInput, PhoneInputGroup } from './chunk-XOIIUO6O.js';
|
|
41
43
|
import { Progress } from './chunk-CEQJGUAS.js';
|
|
42
44
|
export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-CEQJGUAS.js';
|
|
43
45
|
export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-TQDZLRIE.js';
|
|
44
46
|
export { ReadingProgressBar } from './chunk-WKSUL2ZN.js';
|
|
45
|
-
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
49
|
-
export {
|
|
47
|
+
export { FreshnessBadge, FreshnessDot, daysSince, freshnessLevel } from './chunk-HQ3XPCHG.js';
|
|
48
|
+
export { GlossaryTooltip } from './chunk-L5W7TJQ5.js';
|
|
49
|
+
export { Kbd, KeyboardShortcutsOverlay } from './chunk-I3DQXUSC.js';
|
|
50
|
+
export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from './chunk-D25WH7MH.js';
|
|
51
|
+
export { CsvBlock } from './chunk-NHN6A3ZO.js';
|
|
50
52
|
export { HtmlPreviewBlock } from './chunk-EG7XFZ3W.js';
|
|
51
53
|
export { MermaidBlock } from './chunk-ZB54MTMQ.js';
|
|
52
54
|
export { SurveyBlock } from './chunk-OSPTA4UR.js';
|
|
53
|
-
export { CsvBlock } from './chunk-NHN6A3ZO.js';
|
|
54
55
|
export { FenceBlock } from './chunk-CK3KLRNF.js';
|
|
55
|
-
export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from './chunk-
|
|
56
|
+
export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from './chunk-ONNY7UO4.js';
|
|
56
57
|
export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-2BPIVWAK.js';
|
|
57
58
|
import './chunk-RISZWWEQ.js';
|
|
58
59
|
export { MediaPlayer, inferMediaKind, mediaPlayerVariants } from './chunk-5WOB4UBD.js';
|
|
60
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-BJKAVWED.js';
|
|
59
61
|
export { CopyButton } from './chunk-5QZ73PZC.js';
|
|
60
|
-
import { CountryDropdownBase } from './chunk-
|
|
61
|
-
export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-
|
|
62
|
-
export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './chunk-
|
|
62
|
+
import { CountryDropdownBase } from './chunk-QAKASRE6.js';
|
|
63
|
+
export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-QAKASRE6.js';
|
|
64
|
+
export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './chunk-6SAYPXHX.js';
|
|
63
65
|
import { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
|
|
64
66
|
export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
|
|
65
|
-
export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-
|
|
66
|
-
import { Dropdown, DropdownItem, DropdownSeparator, DropdownContent, DropdownHeader } from './chunk-
|
|
67
|
-
export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator, DropdownSubmenu } from './chunk-
|
|
67
|
+
export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-ON4JULCA.js';
|
|
68
|
+
import { Dropdown, DropdownItem, DropdownSeparator, DropdownContent, DropdownHeader } from './chunk-KU3XRHWA.js';
|
|
69
|
+
export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator, DropdownSubmenu } from './chunk-KU3XRHWA.js';
|
|
68
70
|
export { FilterSummaryBar } from './chunk-6SCQ7FKT.js';
|
|
69
71
|
export { FloatingWindow, MinimizedWindow } from './chunk-PYHFVYVZ.js';
|
|
70
|
-
|
|
72
|
+
import { Avatar } from './chunk-HZ4MBUC3.js';
|
|
73
|
+
export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-HZ4MBUC3.js';
|
|
71
74
|
import './chunk-IQ4KQJAO.js';
|
|
72
75
|
export { Breadcrumb, BreadcrumbSlash } from './chunk-SCXELRRZ.js';
|
|
73
76
|
import './chunk-OF7NTZ2I.js';
|
|
@@ -75,38 +78,40 @@ import { Checkbox } from './chunk-753Z3NXL.js';
|
|
|
75
78
|
export { Checkbox, CheckboxGroup, checkboxVariants } from './chunk-753Z3NXL.js';
|
|
76
79
|
export { ClampedText } from './chunk-L6MDULYB.js';
|
|
77
80
|
export { CollabStatus, defaultCollabStatusLabels, useYjsCollabStatus } from './chunk-SVSHA7XV.js';
|
|
78
|
-
|
|
79
|
-
export {
|
|
81
|
+
import './chunk-7XUN3OQT.js';
|
|
82
|
+
export { isHtmlEmpty, stripHtmlTags } from './chunk-ERLPVXOV.js';
|
|
83
|
+
export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
|
|
84
|
+
export { miewebUIPreset, miewebUISafelist } from './chunk-DGRXAIWK.js';
|
|
80
85
|
export { Accordion } from './chunk-KRU6IGV7.js';
|
|
81
86
|
import { Alert, AlertTitle, AlertDescription } from './chunk-3JWAABYI.js';
|
|
82
87
|
export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-3JWAABYI.js';
|
|
83
|
-
import { AlertDialog } from './chunk-
|
|
84
|
-
export { AlertDialog } from './chunk-
|
|
88
|
+
import { AlertDialog } from './chunk-OHDIJOGG.js';
|
|
89
|
+
export { AlertDialog } from './chunk-OHDIJOGG.js';
|
|
85
90
|
export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudioTime, playButtonVariants } from './chunk-VVDE4CHU.js';
|
|
86
91
|
export { AudioRecorder, audioRecorderVariants, controlButtonVariants, formatTime, waveformContainerVariants } from './chunk-2DW4PUJD.js';
|
|
87
|
-
export { Autocomplete } from './chunk-
|
|
88
|
-
import { Avatar } from './chunk-HZ4MBUC3.js';
|
|
89
|
-
export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-HZ4MBUC3.js';
|
|
92
|
+
export { Autocomplete } from './chunk-QAQOCS2J.js';
|
|
90
93
|
import { evaluateDue, completedKeys, normalizeOrders } from './chunk-Y5KEFV5O.js';
|
|
91
94
|
export { buildChartOrderRows, buildEncounterOrderRows, dueForOrder, evaluateDue, evaluateProgram, isApplicable } from './chunk-Y5KEFV5O.js';
|
|
92
|
-
import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-
|
|
93
|
-
export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-
|
|
95
|
+
import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-ODYQYLO2.js';
|
|
96
|
+
export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-ODYQYLO2.js';
|
|
94
97
|
import { Textarea } from './chunk-H3YO5GBM.js';
|
|
95
98
|
export { Textarea, textareaVariants } from './chunk-H3YO5GBM.js';
|
|
96
|
-
import { Tooltip } from './chunk-
|
|
97
|
-
export { Tooltip } from './chunk-
|
|
99
|
+
import { Tooltip } from './chunk-MUIDWFYJ.js';
|
|
100
|
+
export { Tooltip } from './chunk-MUIDWFYJ.js';
|
|
98
101
|
import { RadioGroup, Radio } from './chunk-EPSB4WTL.js';
|
|
99
102
|
export { Radio, RadioGroup, radioVariants } from './chunk-EPSB4WTL.js';
|
|
100
103
|
import { Label } from './chunk-I3WGZPI6.js';
|
|
101
104
|
export { Label, labelVariants } from './chunk-I3WGZPI6.js';
|
|
102
|
-
import { Select } from './chunk-
|
|
103
|
-
export { Select, selectTriggerVariants } from './chunk-
|
|
104
|
-
import { DateInput } from './chunk-
|
|
105
|
-
export { DateInput } from './chunk-
|
|
105
|
+
import { Select } from './chunk-DFYMIRMW.js';
|
|
106
|
+
export { Select, selectTriggerVariants } from './chunk-DFYMIRMW.js';
|
|
107
|
+
import { DateInput } from './chunk-OAZUDUGX.js';
|
|
108
|
+
export { DateInput } from './chunk-OAZUDUGX.js';
|
|
106
109
|
import { Card, CardHeader, CardContent, CardTitle } from './chunk-QYSUYB3S.js';
|
|
107
110
|
export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from './chunk-QYSUYB3S.js';
|
|
108
|
-
import {
|
|
109
|
-
export {
|
|
111
|
+
import { dateToDisplayFormat, isValidDate, displayFormatToDateString } from './chunk-RC2YMOMS.js';
|
|
112
|
+
export { calculateAge, dateToDisplayFormat, displayFormatToDateString, formatDateValue, isDateEmpty, isDateInFuture, isDateInPast, isValidDate, isValidDrivingAge, parseDateValue } from './chunk-RC2YMOMS.js';
|
|
113
|
+
import { Modal, ModalHeader, ModalTitle, ModalClose, ModalBody, ModalFooter } from './chunk-Q7G56ZIO.js';
|
|
114
|
+
export { Modal, ModalBody, ModalClose, ModalFooter, ModalHeader, ModalTitle, modalContentVariants, modalOverlayVariants } from './chunk-Q7G56ZIO.js';
|
|
110
115
|
import './chunk-6NZXWKUE.js';
|
|
111
116
|
import { Input, inputVariants } from './chunk-3IMM2PM4.js';
|
|
112
117
|
export { Input, RequiredMark, floatingGroupLabelVariants, floatingGroupVariants, floatingLabelVariants, inputVariants } from './chunk-3IMM2PM4.js';
|
|
@@ -116,7 +121,11 @@ import { Badge } from './chunk-BMSG4NBH.js';
|
|
|
116
121
|
export { Badge, badgeVariants } from './chunk-BMSG4NBH.js';
|
|
117
122
|
import { Button, buttonVariants } from './chunk-KREUYVMZ.js';
|
|
118
123
|
export { Button, buttonVariants } from './chunk-KREUYVMZ.js';
|
|
119
|
-
import {
|
|
124
|
+
import { AnimatedPresence, Animated } from './chunk-WYMO3IIK.js';
|
|
125
|
+
export { Animated, AnimatedPresence, motionPresets, useMotionRuntime } from './chunk-WYMO3IIK.js';
|
|
126
|
+
import { cn } from './chunk-TQONQSJO.js';
|
|
127
|
+
export { cn, miewebUITwMergeConflicts } from './chunk-TQONQSJO.js';
|
|
128
|
+
import { useCommandK, useIsMobile, useMediaQuery, useDirection } from './chunk-XUVEF2RQ.js';
|
|
120
129
|
export { RTL_LOCALES, isRtlLocale, useCommandK, useDirection, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useMediaQuery } from './chunk-XUVEF2RQ.js';
|
|
121
130
|
export { useTheme } from './chunk-KJZNEVYM.js';
|
|
122
131
|
import { useScrollSpy } from './chunk-WBGUYSWY.js';
|
|
@@ -131,20 +140,13 @@ import { useFocusTrap } from './chunk-4SMSH4OY.js';
|
|
|
131
140
|
export { useFocusTrap } from './chunk-4SMSH4OY.js';
|
|
132
141
|
import { useEscapeKey } from './chunk-T4ME7QCT.js';
|
|
133
142
|
export { useEscapeKey } from './chunk-T4ME7QCT.js';
|
|
143
|
+
import { isStorybookDocsMode } from './chunk-VSQF22GL.js';
|
|
144
|
+
export { isStorybookDocsMode } from './chunk-VSQF22GL.js';
|
|
134
145
|
import { useClickOutside } from './chunk-62ZOA6PX.js';
|
|
135
146
|
export { useClickOutside } from './chunk-62ZOA6PX.js';
|
|
136
147
|
import { useAnchoredPosition } from './chunk-WSNMQQ4P.js';
|
|
137
148
|
export { useAnchoredPosition } from './chunk-WSNMQQ4P.js';
|
|
138
149
|
export { isDarkMode, useIsDarkMode } from './chunk-RUGHNFQG.js';
|
|
139
|
-
import './chunk-7XUN3OQT.js';
|
|
140
|
-
export { isHtmlEmpty, stripHtmlTags } from './chunk-ERLPVXOV.js';
|
|
141
|
-
export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
|
|
142
|
-
import { dateToDisplayFormat, isValidDate, displayFormatToDateString } from './chunk-RC2YMOMS.js';
|
|
143
|
-
export { calculateAge, dateToDisplayFormat, displayFormatToDateString, formatDateValue, isDateEmpty, isDateInFuture, isDateInPast, isValidDate, isValidDrivingAge, parseDateValue } from './chunk-RC2YMOMS.js';
|
|
144
|
-
import { cn } from './chunk-TQONQSJO.js';
|
|
145
|
-
export { cn, miewebUITwMergeConflicts } from './chunk-TQONQSJO.js';
|
|
146
|
-
import { isStorybookDocsMode } from './chunk-VSQF22GL.js';
|
|
147
|
-
export { isStorybookDocsMode } from './chunk-VSQF22GL.js';
|
|
148
150
|
import * as React13 from 'react';
|
|
149
151
|
import React13__default, { createContext, useState, useEffect, useCallback, useMemo, useContext, useRef } from 'react';
|
|
150
152
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -12724,7 +12726,7 @@ var ChatComposer = React13.forwardRef(function ChatComposer2({
|
|
|
12724
12726
|
"div",
|
|
12725
12727
|
{
|
|
12726
12728
|
"data-slot": "chat-composer",
|
|
12727
|
-
role: "
|
|
12729
|
+
role: "status",
|
|
12728
12730
|
className: cn(
|
|
12729
12731
|
"flex items-center gap-2 rounded-xl border px-4 py-3 text-sm",
|
|
12730
12732
|
"border-amber-300 bg-amber-50 text-amber-900",
|
|
@@ -41564,33 +41566,49 @@ function Sidebar({
|
|
|
41564
41566
|
"data-testid": testId = "sidebar"
|
|
41565
41567
|
}) {
|
|
41566
41568
|
const { isCollapsed, isMobileOpen, closeMobile, isMobileViewport } = useSidebar();
|
|
41569
|
+
const navRef = useRef(null);
|
|
41570
|
+
const isRtl = useDirection(navRef) === "rtl";
|
|
41567
41571
|
const width = isMobileViewport ? expandedWidth : isCollapsed ? collapsedWidth : expandedWidth;
|
|
41568
41572
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
41569
|
-
isMobileViewport && isMobileOpen && /* @__PURE__ */ jsx(
|
|
41570
|
-
|
|
41573
|
+
isMobileViewport && /* @__PURE__ */ jsx(AnimatedPresence, { children: isMobileOpen && /* @__PURE__ */ jsx(
|
|
41574
|
+
Animated,
|
|
41571
41575
|
{
|
|
41576
|
+
preset: "overlay",
|
|
41577
|
+
mode: "presence",
|
|
41572
41578
|
"data-slot": "sidebar-backdrop",
|
|
41573
|
-
className: "fixed inset-0 z-40 bg-black/50
|
|
41579
|
+
className: "fixed inset-0 z-40 bg-black/50",
|
|
41574
41580
|
onClick: closeMobile,
|
|
41575
41581
|
"aria-hidden": "true"
|
|
41576
|
-
}
|
|
41577
|
-
|
|
41582
|
+
},
|
|
41583
|
+
"sidebar-backdrop"
|
|
41584
|
+
) }),
|
|
41578
41585
|
/* @__PURE__ */ jsx(
|
|
41579
|
-
|
|
41586
|
+
Animated,
|
|
41580
41587
|
{
|
|
41588
|
+
ref: navRef,
|
|
41589
|
+
as: "nav",
|
|
41590
|
+
preset: "drawerStart",
|
|
41591
|
+
mode: "toggle",
|
|
41592
|
+
enabled: isMobileViewport,
|
|
41593
|
+
open: isMobileOpen,
|
|
41594
|
+
custom: isRtl,
|
|
41581
41595
|
"data-slot": "sidebar",
|
|
41582
41596
|
"data-testid": testId,
|
|
41583
41597
|
className: cn(
|
|
41584
41598
|
"flex h-screen flex-col",
|
|
41585
41599
|
"border-e border-neutral-200 bg-white dark:border-neutral-700 dark:bg-neutral-900",
|
|
41586
|
-
"transition-all duration-300 ease-in-out",
|
|
41587
41600
|
// Mobile positioning (start-pinned; off-canvas direction flips in RTL)
|
|
41588
41601
|
isMobileViewport && "fixed start-0 top-0 z-50",
|
|
41589
|
-
|
|
41590
|
-
//
|
|
41591
|
-
|
|
41602
|
+
// Desktop positioning. Collapsing animates `width`, which motion does
|
|
41603
|
+
// not drive, so this transition belongs on both paths — but scoped to
|
|
41604
|
+
// desktop, where width is the only thing that changes.
|
|
41605
|
+
!isMobileViewport && "relative transition-[width,min-width] duration-300 ease-in-out",
|
|
41592
41606
|
className
|
|
41593
41607
|
),
|
|
41608
|
+
fallbackClassName: cn(
|
|
41609
|
+
isMobileViewport && "transition-transform duration-300 ease-in-out",
|
|
41610
|
+
isMobileViewport && (isMobileOpen ? "translate-x-0" : "-translate-x-full rtl:translate-x-full")
|
|
41611
|
+
),
|
|
41594
41612
|
style: {
|
|
41595
41613
|
width,
|
|
41596
41614
|
minWidth: width,
|
|
@@ -41633,7 +41651,7 @@ function SidebarHeader({
|
|
|
41633
41651
|
"button",
|
|
41634
41652
|
{
|
|
41635
41653
|
onClick: closeMobile,
|
|
41636
|
-
className: "-me-2 rounded-lg p-2 text-neutral-500 transition-colors hover:bg-neutral-100
|
|
41654
|
+
className: "-me-2 rounded-lg p-2 text-neutral-500 transition-colors hover:bg-neutral-100 dark:hover:bg-neutral-800",
|
|
41637
41655
|
"aria-label": "Close navigation",
|
|
41638
41656
|
children: /* @__PURE__ */ jsx(XIcon4, {})
|
|
41639
41657
|
}
|
|
@@ -41725,17 +41743,31 @@ function SidebarNavGroup({
|
|
|
41725
41743
|
children: icon
|
|
41726
41744
|
}
|
|
41727
41745
|
),
|
|
41728
|
-
|
|
41729
|
-
/* @__PURE__ */ jsx(
|
|
41730
|
-
|
|
41731
|
-
|
|
41746
|
+
/* @__PURE__ */ jsxs(AnimatedPresence, { initial: false, children: [
|
|
41747
|
+
!showCollapsed && /* @__PURE__ */ jsx(
|
|
41748
|
+
Animated,
|
|
41749
|
+
{
|
|
41750
|
+
as: "span",
|
|
41751
|
+
preset: "sidebarLabel",
|
|
41752
|
+
mode: "presence",
|
|
41753
|
+
className: "flex-1 truncate text-start",
|
|
41754
|
+
children: label
|
|
41755
|
+
},
|
|
41756
|
+
"label"
|
|
41757
|
+
),
|
|
41758
|
+
!showCollapsed && /* @__PURE__ */ jsx(
|
|
41759
|
+
Animated,
|
|
41732
41760
|
{
|
|
41761
|
+
as: "span",
|
|
41762
|
+
preset: "sidebarLabel",
|
|
41763
|
+
mode: "presence",
|
|
41733
41764
|
className: cn(
|
|
41734
41765
|
"ms-2 flex-shrink-0 transition-transform duration-200",
|
|
41735
41766
|
effectiveExpanded && "rotate-180"
|
|
41736
41767
|
),
|
|
41737
41768
|
children: /* @__PURE__ */ jsx(ChevronDownIcon4, {})
|
|
41738
|
-
}
|
|
41769
|
+
},
|
|
41770
|
+
"chevron"
|
|
41739
41771
|
)
|
|
41740
41772
|
] })
|
|
41741
41773
|
]
|
|
@@ -41785,17 +41817,31 @@ function SidebarNavItem({
|
|
|
41785
41817
|
children: icon
|
|
41786
41818
|
}
|
|
41787
41819
|
),
|
|
41788
|
-
|
|
41789
|
-
/* @__PURE__ */ jsx(
|
|
41790
|
-
|
|
41791
|
-
|
|
41820
|
+
/* @__PURE__ */ jsxs(AnimatedPresence, { initial: false, children: [
|
|
41821
|
+
!showCollapsed && /* @__PURE__ */ jsx(
|
|
41822
|
+
Animated,
|
|
41823
|
+
{
|
|
41824
|
+
as: "span",
|
|
41825
|
+
preset: "sidebarLabel",
|
|
41826
|
+
mode: "presence",
|
|
41827
|
+
className: "flex-1 truncate text-start",
|
|
41828
|
+
children: label
|
|
41829
|
+
},
|
|
41830
|
+
"label"
|
|
41831
|
+
),
|
|
41832
|
+
!showCollapsed && badge && /* @__PURE__ */ jsx(
|
|
41833
|
+
Animated,
|
|
41792
41834
|
{
|
|
41835
|
+
as: "span",
|
|
41836
|
+
preset: "sidebarLabel",
|
|
41837
|
+
mode: "presence",
|
|
41793
41838
|
className: cn(
|
|
41794
41839
|
"ms-2 rounded-full px-2 py-0.5 text-xs font-medium",
|
|
41795
41840
|
isActive ? "bg-primary-100 dark:bg-primary-900/30 text-primary-700 dark:text-primary-300" : "bg-neutral-100 text-neutral-600 dark:bg-neutral-700 dark:text-neutral-400"
|
|
41796
41841
|
),
|
|
41797
41842
|
children: badge
|
|
41798
|
-
}
|
|
41843
|
+
},
|
|
41844
|
+
"badge"
|
|
41799
41845
|
)
|
|
41800
41846
|
] })
|
|
41801
41847
|
] });
|