@mieweb/ui 0.11.0-dev.4 → 0.11.0-dev.6
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-IJYTASQQ.cjs → chunk-3AD4HFYI.cjs} +15 -7
- package/dist/chunk-3AD4HFYI.cjs.map +1 -0
- package/dist/{chunk-CFI3TQMA.cjs → chunk-56C7K4MV.cjs} +9 -4
- package/dist/chunk-56C7K4MV.cjs.map +1 -0
- package/dist/{chunk-TNUL4LGG.js → chunk-5ILCNY74.js} +15 -7
- package/dist/chunk-5ILCNY74.js.map +1 -0
- package/dist/{chunk-AFDW64EF.cjs → chunk-5K7PRPSV.cjs} +30 -2
- package/dist/chunk-5K7PRPSV.cjs.map +1 -0
- package/dist/{chunk-QQCHM7BZ.cjs → chunk-5VA2HJ5B.cjs} +6 -6
- package/dist/{chunk-QQCHM7BZ.cjs.map → chunk-5VA2HJ5B.cjs.map} +1 -1
- package/dist/{chunk-AG5EKCE4.js → chunk-EBQG3NGT.js} +30 -2
- package/dist/chunk-EBQG3NGT.js.map +1 -0
- package/dist/{chunk-7IBZA7G6.js → chunk-I6Y2KLTZ.js} +5 -2
- package/dist/chunk-I6Y2KLTZ.js.map +1 -0
- package/dist/{chunk-OHKO5THF.cjs → chunk-MGFRGPWI.cjs} +3 -2
- package/dist/chunk-MGFRGPWI.cjs.map +1 -0
- package/dist/{chunk-VYNFJVRZ.js → chunk-N6XBE47W.js} +3 -3
- package/dist/{chunk-VYNFJVRZ.js.map → chunk-N6XBE47W.js.map} +1 -1
- package/dist/{chunk-T5BBZQ66.js → chunk-OTIKWEFZ.js} +9 -4
- package/dist/chunk-OTIKWEFZ.js.map +1 -0
- package/dist/{chunk-ZSGEGISB.cjs → chunk-PHUTJKHL.cjs} +5 -2
- package/dist/chunk-PHUTJKHL.cjs.map +1 -0
- package/dist/{chunk-XOIIUO6O.js → chunk-QDNHN7R2.js} +3 -2
- package/dist/chunk-QDNHN7R2.js.map +1 -0
- package/dist/components/CountryCodeDropdown/index.cjs +4 -4
- package/dist/components/CountryCodeDropdown/index.js +1 -1
- package/dist/components/DateInput/index.cjs +2 -2
- package/dist/components/DateInput/index.js +1 -1
- package/dist/components/PhoneInput/index.cjs +3 -3
- package/dist/components/PhoneInput/index.js +1 -1
- package/dist/components/Table/index.cjs +9 -9
- package/dist/components/Table/index.d.cts +17 -1
- package/dist/components/Table/index.d.ts +17 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/deck.cjs +1 -1
- package/dist/deck.cjs.map +1 -1
- package/dist/deck.js +1 -1
- package/dist/deck.js.map +1 -1
- package/dist/esheet.cjs +5 -5
- package/dist/esheet.js +2 -2
- package/dist/index.cjs +107 -106
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +14 -13
- package/dist/index.js.map +1 -1
- package/dist/styles/init.css +39 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-7IBZA7G6.js.map +0 -1
- package/dist/chunk-AFDW64EF.cjs.map +0 -1
- package/dist/chunk-AG5EKCE4.js.map +0 -1
- package/dist/chunk-CFI3TQMA.cjs.map +0 -1
- package/dist/chunk-IJYTASQQ.cjs.map +0 -1
- package/dist/chunk-OHKO5THF.cjs.map +0 -1
- package/dist/chunk-T5BBZQ66.js.map +0 -1
- package/dist/chunk-TNUL4LGG.js.map +0 -1
- package/dist/chunk-XOIIUO6O.js.map +0 -1
- package/dist/chunk-ZSGEGISB.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -17377,9 +17377,25 @@ interface TableHeadProps extends React$1.ThHTMLAttributes<HTMLTableCellElement>
|
|
|
17377
17377
|
sortDirection?: 'asc' | 'desc' | null;
|
|
17378
17378
|
/** Callback when sort is triggered */
|
|
17379
17379
|
onSort?: () => void;
|
|
17380
|
+
/**
|
|
17381
|
+
* Marks the header of a numeric column. The cell becomes a `dir="ltr"`
|
|
17382
|
+
* island aligned to the physical right, matching `TableCell numeric`,
|
|
17383
|
+
* so numeric columns line up the same way in LTR and RTL. The label is
|
|
17384
|
+
* wrapped in `<bdi>` so RTL-script header text keeps its natural
|
|
17385
|
+
* direction inside the island.
|
|
17386
|
+
*/
|
|
17387
|
+
numeric?: boolean;
|
|
17380
17388
|
}
|
|
17381
17389
|
declare const TableHead: React$1.ForwardRefExoticComponent<TableHeadProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
17382
|
-
|
|
17390
|
+
interface TableCellProps extends React$1.TdHTMLAttributes<HTMLTableCellElement> {
|
|
17391
|
+
/**
|
|
17392
|
+
* Marks a numeric cell as a `dir="ltr"` island: digits, minus signs, and
|
|
17393
|
+
* separators render left-to-right even in RTL, and the value aligns to the
|
|
17394
|
+
* physical right in both directions (with `tabular-nums` for column
|
|
17395
|
+
* alignment). Pair with `numeric` on the column's `TableHead`.
|
|
17396
|
+
*/
|
|
17397
|
+
numeric?: boolean;
|
|
17398
|
+
}
|
|
17383
17399
|
declare const TableCell: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
17384
17400
|
type TableCaptionProps = React$1.HTMLAttributes<HTMLTableCaptionElement>;
|
|
17385
17401
|
declare const TableCaption: React$1.ForwardRefExoticComponent<TableCaptionProps & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -17377,9 +17377,25 @@ interface TableHeadProps extends React$1.ThHTMLAttributes<HTMLTableCellElement>
|
|
|
17377
17377
|
sortDirection?: 'asc' | 'desc' | null;
|
|
17378
17378
|
/** Callback when sort is triggered */
|
|
17379
17379
|
onSort?: () => void;
|
|
17380
|
+
/**
|
|
17381
|
+
* Marks the header of a numeric column. The cell becomes a `dir="ltr"`
|
|
17382
|
+
* island aligned to the physical right, matching `TableCell numeric`,
|
|
17383
|
+
* so numeric columns line up the same way in LTR and RTL. The label is
|
|
17384
|
+
* wrapped in `<bdi>` so RTL-script header text keeps its natural
|
|
17385
|
+
* direction inside the island.
|
|
17386
|
+
*/
|
|
17387
|
+
numeric?: boolean;
|
|
17380
17388
|
}
|
|
17381
17389
|
declare const TableHead: React$1.ForwardRefExoticComponent<TableHeadProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
17382
|
-
|
|
17390
|
+
interface TableCellProps extends React$1.TdHTMLAttributes<HTMLTableCellElement> {
|
|
17391
|
+
/**
|
|
17392
|
+
* Marks a numeric cell as a `dir="ltr"` island: digits, minus signs, and
|
|
17393
|
+
* separators render left-to-right even in RTL, and the value aligns to the
|
|
17394
|
+
* physical right in both directions (with `tabular-nums` for column
|
|
17395
|
+
* alignment). Pair with `numeric` on the column's `TableHead`.
|
|
17396
|
+
*/
|
|
17397
|
+
numeric?: boolean;
|
|
17398
|
+
}
|
|
17383
17399
|
declare const TableCell: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
17384
17400
|
type TableCaptionProps = React$1.HTMLAttributes<HTMLTableCaptionElement>;
|
|
17385
17401
|
declare const TableCaption: React$1.ForwardRefExoticComponent<TableCaptionProps & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
package/dist/index.js
CHANGED
|
@@ -48,15 +48,15 @@ import { useTypingEmulation, EmptyState } from './chunk-NKG2UNXE.js';
|
|
|
48
48
|
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, useTypingEmulation, useTypingIndicator } from './chunk-NKG2UNXE.js';
|
|
49
49
|
import { notifyComposerMigrationOnce, ChatComposer, DEFAULT_MAX_FILE_SIZE, DEFAULT_ACCEPTED_FILE_TYPES } from './chunk-GJPCWR4C.js';
|
|
50
50
|
export { AttachmentPicker, AttachmentPreviewItem, CameraButton, ChatComposer, ComposerModelSelector, DragDropZone, generateAttachmentId, getFileType, validateFile } from './chunk-GJPCWR4C.js';
|
|
51
|
-
import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-
|
|
52
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-
|
|
51
|
+
import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-5ILCNY74.js';
|
|
52
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-5ILCNY74.js';
|
|
53
53
|
export { DateButton, DatePicker, RadioOption, SchedulePicker, TimeButton, TimePicker, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './chunk-23AYDOCH.js';
|
|
54
54
|
export { ScrollArea, scrollAreaVariants } from './chunk-HS25RPDW.js';
|
|
55
55
|
export { SectionSpyNav } from './chunk-FIKO4WR6.js';
|
|
56
56
|
export { AnimatedNumber, SliderCalculator } from './chunk-DT3X3RBM.js';
|
|
57
57
|
import { Skeleton } from './chunk-ZIUADGAR.js';
|
|
58
58
|
export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-ZIUADGAR.js';
|
|
59
|
-
export { PhoneInput, PhoneInputGroup } from './chunk-
|
|
59
|
+
export { PhoneInput, PhoneInputGroup } from './chunk-QDNHN7R2.js';
|
|
60
60
|
import { Progress } from './chunk-P4E3K3ND.js';
|
|
61
61
|
export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-P4E3K3ND.js';
|
|
62
62
|
export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-TQDZLRIE.js';
|
|
@@ -85,8 +85,8 @@ export { MermaidBlock } from './chunk-7QW6TU4X.js';
|
|
|
85
85
|
export { SurveyBlock } from './chunk-RSJGTWLM.js';
|
|
86
86
|
export { FenceBlock } from './chunk-HDY7YQFX.js';
|
|
87
87
|
export { CopyButton } from './chunk-5QZ73PZC.js';
|
|
88
|
-
import { CountryDropdownBase } from './chunk-
|
|
89
|
-
export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-
|
|
88
|
+
import { CountryDropdownBase } from './chunk-OTIKWEFZ.js';
|
|
89
|
+
export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-OTIKWEFZ.js';
|
|
90
90
|
export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './chunk-F6W62K4J.js';
|
|
91
91
|
export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-LMBXJZLG.js';
|
|
92
92
|
export { EMAIL_BLOCK_TYPES, EmailEditor, createDefaultDesignSettings, createEmailBlock, createEmailHtmlSanitizer, createEmptyEmailContentTree, defaultEmailEditorLabels, generateEmailBlockId, renderEmailMjml } from './chunk-LAN5VWGC.js';
|
|
@@ -137,7 +137,7 @@ export { useUrlTab } from './chunk-CVNPNZMX.js';
|
|
|
137
137
|
import './chunk-7XUN3OQT.js';
|
|
138
138
|
export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
|
|
139
139
|
export { isHtmlEmpty, stripHtmlTags } from './chunk-ERLPVXOV.js';
|
|
140
|
-
export { miewebUIPreset, miewebUISafelist } from './chunk-
|
|
140
|
+
export { miewebUIPreset, miewebUISafelist } from './chunk-EBQG3NGT.js';
|
|
141
141
|
export { Accordion } from './chunk-JUJGWUAN.js';
|
|
142
142
|
import './chunk-H2Y7HZV5.js';
|
|
143
143
|
export { AvatarGroup, defaultAvatarGroupLabels } from './chunk-DVDT7TX7.js';
|
|
@@ -148,16 +148,16 @@ import { Spinner, SpinnerWithLabel } from './chunk-UA7E7PDS.js';
|
|
|
148
148
|
export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-UA7E7PDS.js';
|
|
149
149
|
import { evaluateDue, completedKeys, normalizeOrders } from './chunk-Y5KEFV5O.js';
|
|
150
150
|
export { buildChartOrderRows, buildEncounterOrderRows, dueForOrder, evaluateDue, evaluateProgram, isApplicable } from './chunk-Y5KEFV5O.js';
|
|
151
|
-
import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-
|
|
152
|
-
export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-
|
|
151
|
+
import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-N6XBE47W.js';
|
|
152
|
+
export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-N6XBE47W.js';
|
|
153
153
|
import { Tooltip } from './chunk-YFWDS6MX.js';
|
|
154
154
|
export { Tooltip } from './chunk-YFWDS6MX.js';
|
|
155
155
|
import { RadioGroup, Radio } from './chunk-EPSB4WTL.js';
|
|
156
156
|
export { Radio, RadioGroup, radioVariants } from './chunk-EPSB4WTL.js';
|
|
157
157
|
import { Label } from './chunk-I3WGZPI6.js';
|
|
158
158
|
export { Label, labelVariants } from './chunk-I3WGZPI6.js';
|
|
159
|
-
import { DateInput } from './chunk-
|
|
160
|
-
export { DateInput } from './chunk-
|
|
159
|
+
import { DateInput } from './chunk-I6Y2KLTZ.js';
|
|
160
|
+
export { DateInput } from './chunk-I6Y2KLTZ.js';
|
|
161
161
|
import { Textarea } from './chunk-H3YO5GBM.js';
|
|
162
162
|
export { Textarea, textareaVariants } from './chunk-H3YO5GBM.js';
|
|
163
163
|
import { Select } from './chunk-VCI2Y7ST.js';
|
|
@@ -9971,7 +9971,7 @@ function ConsentSwitch({
|
|
|
9971
9971
|
"data-slot": "consent-switch-thumb",
|
|
9972
9972
|
className: cn(
|
|
9973
9973
|
"pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow ring-0 transition-transform duration-200 ease-in-out",
|
|
9974
|
-
checked ? "translate-x-5" : "translate-x-0.5"
|
|
9974
|
+
checked ? "translate-x-5 rtl:-translate-x-5" : "translate-x-0.5 rtl:-translate-x-0.5"
|
|
9975
9975
|
)
|
|
9976
9976
|
}
|
|
9977
9977
|
)
|
|
@@ -26309,7 +26309,7 @@ function LoadingBar({
|
|
|
26309
26309
|
"div",
|
|
26310
26310
|
{
|
|
26311
26311
|
className: cn(
|
|
26312
|
-
"animate-loading-bar h-full w-1/3 rounded-full",
|
|
26312
|
+
"animate-loading-bar rtl:animate-loading-bar-rtl h-full w-1/3 rounded-full",
|
|
26313
26313
|
barColor
|
|
26314
26314
|
)
|
|
26315
26315
|
}
|
|
@@ -26431,7 +26431,7 @@ function LoadingSkeleton({
|
|
|
26431
26431
|
const baseClasses = cn(
|
|
26432
26432
|
"bg-gray-200 dark:bg-gray-700",
|
|
26433
26433
|
animation === "pulse" && "animate-pulse",
|
|
26434
|
-
animation === "wave" && "animate-shimmer bg-gradient-to-r from-gray-200 via-gray-100 to-gray-200 dark:from-gray-700 dark:via-gray-600 dark:to-gray-700 bg-[length:200%_100%]"
|
|
26434
|
+
animation === "wave" && "animate-shimmer rtl:animate-shimmer-rtl bg-gradient-to-r from-gray-200 via-gray-100 to-gray-200 dark:from-gray-700 dark:via-gray-600 dark:to-gray-700 bg-[length:200%_100%]"
|
|
26435
26435
|
);
|
|
26436
26436
|
const variantClasses = {
|
|
26437
26437
|
text: "h-4 rounded",
|
|
@@ -44650,6 +44650,7 @@ var WebsiteInput = React13.forwardRef(
|
|
|
44650
44650
|
inputMode: "url",
|
|
44651
44651
|
autoComplete: "url",
|
|
44652
44652
|
placeholder: "https://example.com",
|
|
44653
|
+
dir: "ltr",
|
|
44653
44654
|
value,
|
|
44654
44655
|
onChange: handleChange,
|
|
44655
44656
|
onBlur: handleBlur,
|