@mieweb/ui 0.7.3-dev.13 → 0.7.3-dev.14
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-ERTT36K3.js → chunk-33TQ25IK.js} +7 -7
- package/dist/{chunk-ERTT36K3.js.map → chunk-33TQ25IK.js.map} +1 -1
- package/dist/{chunk-UCY5YD6F.cjs → chunk-35HHCXWC.cjs} +36 -36
- package/dist/{chunk-UCY5YD6F.cjs.map → chunk-35HHCXWC.cjs.map} +1 -1
- package/dist/{chunk-FXTNCCD2.js → chunk-3IMM2PM4.js} +20 -4
- package/dist/chunk-3IMM2PM4.js.map +1 -0
- package/dist/{chunk-T7SDFBUT.cjs → chunk-56QJHQ5C.cjs} +17 -6
- package/dist/chunk-56QJHQ5C.cjs.map +1 -0
- package/dist/{chunk-DMIQS5KK.js → chunk-753Z3NXL.js} +3 -3
- package/dist/{chunk-DMIQS5KK.js.map → chunk-753Z3NXL.js.map} +1 -1
- package/dist/{chunk-SMGNJGFT.cjs → chunk-7AECNMYV.cjs} +5 -5
- package/dist/{chunk-SMGNJGFT.cjs.map → chunk-7AECNMYV.cjs.map} +1 -1
- package/dist/{chunk-PMHS4BJF.js → chunk-A5YOIJKL.js} +5 -5
- package/dist/{chunk-PMHS4BJF.js.map → chunk-A5YOIJKL.js.map} +1 -1
- package/dist/{chunk-N7JVAXHD.cjs → chunk-BOW7ZGI2.cjs} +4 -4
- package/dist/{chunk-N7JVAXHD.cjs.map → chunk-BOW7ZGI2.cjs.map} +1 -1
- package/dist/{chunk-NHR33YWI.cjs → chunk-BSDBI6H7.cjs} +17 -6
- package/dist/chunk-BSDBI6H7.cjs.map +1 -0
- package/dist/{chunk-CLT4ASY7.js → chunk-EPSB4WTL.js} +3 -3
- package/dist/{chunk-CLT4ASY7.js.map → chunk-EPSB4WTL.js.map} +1 -1
- package/dist/{chunk-G6GJXVQC.cjs → chunk-G7EQ3JPX.cjs} +5 -5
- package/dist/{chunk-G6GJXVQC.cjs.map → chunk-G7EQ3JPX.cjs.map} +1 -1
- package/dist/{chunk-PCWIN32O.cjs → chunk-GQVL2JKQ.cjs} +4 -4
- package/dist/{chunk-PCWIN32O.cjs.map → chunk-GQVL2JKQ.cjs.map} +1 -1
- package/dist/{chunk-6H7NO5XX.js → chunk-GXODR6V4.js} +3 -3
- package/dist/{chunk-6H7NO5XX.js.map → chunk-GXODR6V4.js.map} +1 -1
- package/dist/{chunk-GP5CRU2I.js → chunk-H3YO5GBM.js} +17 -6
- package/dist/chunk-H3YO5GBM.js.map +1 -0
- package/dist/{chunk-UZJDXFQE.cjs → chunk-HUDYTCTT.cjs} +4 -4
- package/dist/{chunk-UZJDXFQE.cjs.map → chunk-HUDYTCTT.cjs.map} +1 -1
- package/dist/{chunk-UHVNVZ7L.js → chunk-IILJGFI5.js} +5 -4
- package/dist/chunk-IILJGFI5.js.map +1 -0
- package/dist/{chunk-LFSP53TY.cjs → chunk-KVE7PQ5P.cjs} +7 -7
- package/dist/{chunk-LFSP53TY.cjs.map → chunk-KVE7PQ5P.cjs.map} +1 -1
- package/dist/{chunk-EM5FMB7L.cjs → chunk-LQHI44OZ.cjs} +13 -13
- package/dist/{chunk-EM5FMB7L.cjs.map → chunk-LQHI44OZ.cjs.map} +1 -1
- package/dist/{chunk-GV3DE6KR.js → chunk-LZU7YBXG.js} +3 -3
- package/dist/{chunk-GV3DE6KR.js.map → chunk-LZU7YBXG.js.map} +1 -1
- package/dist/{chunk-ICMR3TYV.js → chunk-QHTDWIED.js} +3 -3
- package/dist/{chunk-ICMR3TYV.js.map → chunk-QHTDWIED.js.map} +1 -1
- package/dist/{chunk-3KY5W3ZN.cjs → chunk-U5TTXN45.cjs} +9 -8
- package/dist/chunk-U5TTXN45.cjs.map +1 -0
- package/dist/{chunk-DM57NTOQ.js → chunk-XBKOZRDO.js} +17 -6
- package/dist/chunk-XBKOZRDO.js.map +1 -0
- package/dist/{chunk-F7CQ5RO7.cjs → chunk-Z5S5JEJD.cjs} +20 -3
- package/dist/chunk-Z5S5JEJD.cjs.map +1 -0
- package/dist/{chunk-WUPT5SUN.js → chunk-ZIE52CWX.js} +3 -3
- package/dist/{chunk-WUPT5SUN.js.map → chunk-ZIE52CWX.js.map} +1 -1
- package/dist/components/Alert/index.d.cts +1 -1
- package/dist/components/Alert/index.d.ts +1 -1
- 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 +1 -1
- package/dist/components/Card/index.d.ts +1 -1
- package/dist/components/Checkbox/index.cjs +5 -5
- package/dist/components/Checkbox/index.js +2 -2
- package/dist/components/DateInput/index.cjs +3 -3
- package/dist/components/DateInput/index.d.cts +1 -0
- package/dist/components/DateInput/index.d.ts +1 -0
- package/dist/components/DateInput/index.js +2 -2
- package/dist/components/Dropdown/index.cjs +8 -8
- package/dist/components/Dropdown/index.js +2 -2
- package/dist/components/Input/index.cjs +10 -6
- package/dist/components/Input/index.d.cts +13 -1
- package/dist/components/Input/index.d.ts +13 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/MediaEditor/index.cjs +9 -9
- package/dist/components/MediaEditor/index.js +4 -4
- 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/Radio/index.cjs +5 -5
- package/dist/components/Radio/index.js +2 -2
- package/dist/components/RichTextEditor/index.cjs +6 -6
- package/dist/components/RichTextEditor/index.js +3 -3
- package/dist/components/Select/index.cjs +5 -3
- package/dist/components/Select/index.d.cts +10 -0
- package/dist/components/Select/index.d.ts +10 -0
- package/dist/components/Select/index.js +3 -1
- package/dist/components/Slider/index.d.cts +2 -2
- package/dist/components/Slider/index.d.ts +2 -2
- package/dist/components/Spinner/index.d.cts +1 -1
- package/dist/components/Spinner/index.d.ts +1 -1
- package/dist/components/SuperChat/index.cjs +6 -6
- package/dist/components/SuperChat/index.js +2 -2
- package/dist/components/Text/index.d.cts +1 -1
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/Textarea/index.cjs +5 -3
- package/dist/components/Textarea/index.d.cts +8 -0
- package/dist/components/Textarea/index.d.ts +8 -0
- package/dist/components/Textarea/index.js +3 -1
- package/dist/esheet.cjs +9 -9
- package/dist/esheet.js +6 -6
- package/dist/index.cjs +295 -291
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +20 -20
- package/package.json +1 -1
- package/dist/chunk-3KY5W3ZN.cjs.map +0 -1
- package/dist/chunk-DM57NTOQ.js.map +0 -1
- package/dist/chunk-F7CQ5RO7.cjs.map +0 -1
- package/dist/chunk-FXTNCCD2.js.map +0 -1
- package/dist/chunk-GP5CRU2I.js.map +0 -1
- package/dist/chunk-NHR33YWI.cjs.map +0 -1
- package/dist/chunk-T7SDFBUT.cjs.map +0 -1
- package/dist/chunk-UHVNVZ7L.js.map +0 -1
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
var chunkJFLC7SHM_cjs = require('../../chunk-JFLC7SHM.cjs');
|
|
4
4
|
var chunkXS35KPBZ_cjs = require('../../chunk-XS35KPBZ.cjs');
|
|
5
5
|
var chunk26DPQUSB_cjs = require('../../chunk-26DPQUSB.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkBOW7ZGI2_cjs = require('../../chunk-BOW7ZGI2.cjs');
|
|
7
7
|
require('../../chunk-ZZJ4ZVYR.cjs');
|
|
8
8
|
var chunkU3JU6BI5_cjs = require('../../chunk-U3JU6BI5.cjs');
|
|
9
9
|
require('../../chunk-VBWRH4UW.cjs');
|
|
10
10
|
require('../../chunk-I44YNYI6.cjs');
|
|
11
|
-
require('../../chunk-
|
|
11
|
+
require('../../chunk-Z5S5JEJD.cjs');
|
|
12
12
|
var chunkYVL3XATO_cjs = require('../../chunk-YVL3XATO.cjs');
|
|
13
13
|
require('../../chunk-FHY3K6PL.cjs');
|
|
14
14
|
require('../../chunk-FSGEDDF2.cjs');
|
|
@@ -538,7 +538,7 @@ function CopyMenu({ isSelf, markdown, getHtml, getText }) {
|
|
|
538
538
|
open ? "z-[60]" : "z-10"
|
|
539
539
|
),
|
|
540
540
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
541
|
-
|
|
541
|
+
chunkBOW7ZGI2_cjs.Dropdown,
|
|
542
542
|
{
|
|
543
543
|
open,
|
|
544
544
|
onOpenChange: setOpen,
|
|
@@ -554,18 +554,18 @@ function CopyMenu({ isSelf, markdown, getHtml, getText }) {
|
|
|
554
554
|
}
|
|
555
555
|
),
|
|
556
556
|
children: [
|
|
557
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
557
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBOW7ZGI2_cjs.DropdownItem, { onClick: () => run(writeBoth), children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex flex-col items-start", children: [
|
|
558
558
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Copy" }),
|
|
559
559
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-normal text-neutral-400", children: "Rich text + Markdown" })
|
|
560
560
|
] }) }),
|
|
561
561
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
562
|
-
|
|
562
|
+
chunkBOW7ZGI2_cjs.DropdownItem,
|
|
563
563
|
{
|
|
564
564
|
onClick: () => run(() => writeText(markdown || getText())),
|
|
565
565
|
children: "Copy as Markdown"
|
|
566
566
|
}
|
|
567
567
|
),
|
|
568
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
568
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBOW7ZGI2_cjs.DropdownItem, { onClick: () => run(() => writeText(getText())), children: "Copy as plain text" })
|
|
569
569
|
]
|
|
570
570
|
}
|
|
571
571
|
)
|
|
@@ -2,12 +2,12 @@ import { TextRenderContext } from '../../chunk-I6CY5C6A.js';
|
|
|
2
2
|
export { TextRenderContext, useTextRenderContext } from '../../chunk-I6CY5C6A.js';
|
|
3
3
|
import { ChatBubble, MCPToolCallDisplay, AITypingIndicator, SparklesIcon, CloseIcon } from '../../chunk-RZJXCI53.js';
|
|
4
4
|
import { MessageComposer } from '../../chunk-EKRT7K2K.js';
|
|
5
|
-
import { Dropdown, DropdownItem } from '../../chunk-
|
|
5
|
+
import { Dropdown, DropdownItem } from '../../chunk-LZU7YBXG.js';
|
|
6
6
|
import '../../chunk-XO3WLK65.js';
|
|
7
7
|
import { Avatar } from '../../chunk-DCBMTFLE.js';
|
|
8
8
|
import '../../chunk-IQ4KQJAO.js';
|
|
9
9
|
import '../../chunk-6NZXWKUE.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-3IMM2PM4.js';
|
|
11
11
|
import { Badge } from '../../chunk-BMSG4NBH.js';
|
|
12
12
|
import '../../chunk-T4ME7QCT.js';
|
|
13
13
|
import '../../chunk-62ZOA6PX.js';
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const textVariants: (props?: ({
|
|
6
|
-
variant?: "primary" | "default" | "
|
|
6
|
+
variant?: "primary" | "default" | "warning" | "success" | "destructive" | "muted" | null | undefined;
|
|
7
7
|
size?: "base" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "xs" | null | undefined;
|
|
8
8
|
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
9
9
|
align?: "left" | "start" | "right" | "end" | "center" | null | undefined;
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const textVariants: (props?: ({
|
|
6
|
-
variant?: "primary" | "default" | "
|
|
6
|
+
variant?: "primary" | "default" | "warning" | "success" | "destructive" | "muted" | null | undefined;
|
|
7
7
|
size?: "base" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "xs" | null | undefined;
|
|
8
8
|
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
9
9
|
align?: "left" | "start" | "right" | "end" | "center" | null | undefined;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBSDBI6H7_cjs = require('../../chunk-BSDBI6H7.cjs');
|
|
4
|
+
require('../../chunk-I44YNYI6.cjs');
|
|
5
|
+
require('../../chunk-Z5S5JEJD.cjs');
|
|
4
6
|
require('../../chunk-S5RVSXDV.cjs');
|
|
5
7
|
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
Object.defineProperty(exports, "Textarea", {
|
|
9
11
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkBSDBI6H7_cjs.Textarea; }
|
|
11
13
|
});
|
|
12
14
|
Object.defineProperty(exports, "textareaVariants", {
|
|
13
15
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkBSDBI6H7_cjs.textareaVariants; }
|
|
15
17
|
});
|
|
16
18
|
//# sourceMappingURL=index.cjs.map
|
|
17
19
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { RequiredMarkVariant } from '../Input/index.cjs';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
4
6
|
|
|
5
7
|
declare const textareaVariants: (props?: ({
|
|
6
8
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
@@ -32,6 +34,12 @@ interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaEl
|
|
|
32
34
|
showCount?: boolean;
|
|
33
35
|
/** Auto-resize based on content */
|
|
34
36
|
autoResize?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Color of the required asterisk.
|
|
39
|
+
* - `default`: destructive (hard requirement).
|
|
40
|
+
* - `warning`: warning color (soft requirement / recommended).
|
|
41
|
+
*/
|
|
42
|
+
requiredVariant?: RequiredMarkVariant;
|
|
35
43
|
}
|
|
36
44
|
/**
|
|
37
45
|
* A multi-line text input component with character count and auto-resize.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { RequiredMarkVariant } from '../Input/index.js';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
4
6
|
|
|
5
7
|
declare const textareaVariants: (props?: ({
|
|
6
8
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
@@ -32,6 +34,12 @@ interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaEl
|
|
|
32
34
|
showCount?: boolean;
|
|
33
35
|
/** Auto-resize based on content */
|
|
34
36
|
autoResize?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Color of the required asterisk.
|
|
39
|
+
* - `default`: destructive (hard requirement).
|
|
40
|
+
* - `warning`: warning color (soft requirement / recommended).
|
|
41
|
+
*/
|
|
42
|
+
requiredVariant?: RequiredMarkVariant;
|
|
35
43
|
}
|
|
36
44
|
/**
|
|
37
45
|
* A multi-line text input component with character count and auto-resize.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export { Textarea, textareaVariants } from '../../chunk-
|
|
1
|
+
export { Textarea, textareaVariants } from '../../chunk-H3YO5GBM.js';
|
|
2
|
+
import '../../chunk-6NZXWKUE.js';
|
|
3
|
+
import '../../chunk-3IMM2PM4.js';
|
|
2
4
|
import '../../chunk-TQONQSJO.js';
|
|
3
5
|
//# sourceMappingURL=index.js.map
|
|
4
6
|
//# sourceMappingURL=index.js.map
|
package/dist/esheet.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk35HHCXWC_cjs = require('./chunk-35HHCXWC.cjs');
|
|
4
|
+
require('./chunk-BSDBI6H7.cjs');
|
|
5
5
|
require('./chunk-WWJIW2IH.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-G7EQ3JPX.cjs');
|
|
7
7
|
require('./chunk-AIJAFPGJ.cjs');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-56QJHQ5C.cjs');
|
|
9
9
|
require('./chunk-MJWFNV3L.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-U5TTXN45.cjs');
|
|
11
11
|
require('./chunk-P2VTQ5AR.cjs');
|
|
12
12
|
require('./chunk-I44YNYI6.cjs');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-Z5S5JEJD.cjs');
|
|
14
14
|
require('./chunk-PAM5UUBL.cjs');
|
|
15
15
|
require('./chunk-RDGRKYQ5.cjs');
|
|
16
16
|
require('./chunk-YVL3XATO.cjs');
|
|
@@ -78,7 +78,7 @@ function MedicationListField({
|
|
|
78
78
|
return definition.medications ?? [];
|
|
79
79
|
}, [response?.answer, definition.medications]);
|
|
80
80
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
81
|
-
|
|
81
|
+
chunk35HHCXWC_cjs.MedicationReconciliation,
|
|
82
82
|
{
|
|
83
83
|
medications,
|
|
84
84
|
onChange: (next) => onResponse({ answer: JSON.stringify({ medications: next }) }),
|
|
@@ -135,7 +135,7 @@ function AllergyListField({
|
|
|
135
135
|
codeLookup
|
|
136
136
|
}) {
|
|
137
137
|
const definition = field.definition;
|
|
138
|
-
const ambientCodeLookup =
|
|
138
|
+
const ambientCodeLookup = chunk35HHCXWC_cjs.useCodeLookupConfig();
|
|
139
139
|
const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
|
|
140
140
|
const value = React__namespace.useMemo(() => {
|
|
141
141
|
if (response?.answer) return parseValue2(response.answer);
|
|
@@ -145,7 +145,7 @@ function AllergyListField({
|
|
|
145
145
|
onResponse({ answer: JSON.stringify(next) });
|
|
146
146
|
};
|
|
147
147
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
148
|
-
|
|
148
|
+
chunk35HHCXWC_cjs.AllergyManager,
|
|
149
149
|
{
|
|
150
150
|
allergies: value.allergies,
|
|
151
151
|
onChange: (allergies) => commit({
|
package/dist/esheet.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-33TQ25IK.js';
|
|
2
|
+
import './chunk-H3YO5GBM.js';
|
|
3
3
|
import './chunk-FJ7YPVKV.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-EPSB4WTL.js';
|
|
5
5
|
import './chunk-I3WGZPI6.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-XBKOZRDO.js';
|
|
7
7
|
import './chunk-QYSUYB3S.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-IILJGFI5.js';
|
|
9
9
|
import './chunk-XMCIXHGH.js';
|
|
10
10
|
import './chunk-6NZXWKUE.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-3IMM2PM4.js';
|
|
12
12
|
import './chunk-3PXOIAF6.js';
|
|
13
13
|
import './chunk-D2GID3YK.js';
|
|
14
14
|
import './chunk-BMSG4NBH.js';
|