@mieweb/ui 0.7.1-dev.6 → 0.7.1-dev.8

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.
Files changed (34) hide show
  1. package/dist/brands/index.cjs +7 -7
  2. package/dist/brands/index.js +2 -2
  3. package/dist/{chunk-Y3ZZEDIU.js → chunk-2YDKLURF.js} +25 -2
  4. package/dist/chunk-2YDKLURF.js.map +1 -0
  5. package/dist/chunk-3MGHTTZW.js +487 -0
  6. package/dist/chunk-3MGHTTZW.js.map +1 -0
  7. package/dist/{chunk-VIWEV6TJ.cjs → chunk-3OME4UHL.cjs} +25 -2
  8. package/dist/chunk-3OME4UHL.cjs.map +1 -0
  9. package/dist/chunk-6NXQSQ3A.cjs +511 -0
  10. package/dist/chunk-6NXQSQ3A.cjs.map +1 -0
  11. package/dist/{chunk-CYMZ2QS5.js → chunk-BCJFOSZX.js} +2 -2
  12. package/dist/{chunk-CYMZ2QS5.js.map → chunk-BCJFOSZX.js.map} +1 -1
  13. package/dist/{chunk-SNEQXSC5.cjs → chunk-VA7QN4DX.cjs} +2 -2
  14. package/dist/{chunk-SNEQXSC5.cjs.map → chunk-VA7QN4DX.cjs.map} +1 -1
  15. package/dist/components/CollabStatus/index.cjs +21 -0
  16. package/dist/components/CollabStatus/index.cjs.map +1 -0
  17. package/dist/components/CollabStatus/index.d.cts +222 -0
  18. package/dist/components/CollabStatus/index.d.ts +222 -0
  19. package/dist/components/CollabStatus/index.js +4 -0
  20. package/dist/components/CollabStatus/index.js.map +1 -0
  21. package/dist/index.cjs +68 -55
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.d.cts +22 -0
  24. package/dist/index.d.ts +22 -0
  25. package/dist/index.js +10 -9
  26. package/dist/index.js.map +1 -1
  27. package/dist/styles.css +1 -1
  28. package/dist/tailwind-preset.cjs +4 -4
  29. package/dist/tailwind-preset.js +1 -1
  30. package/dist/utils/index.cjs +9 -9
  31. package/dist/utils/index.js +1 -1
  32. package/package.json +2 -1
  33. package/dist/chunk-VIWEV6TJ.cjs.map +0 -1
  34. package/dist/chunk-Y3ZZEDIU.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -18,6 +18,7 @@ export { Breadcrumb, BreadcrumbItem, BreadcrumbProps, BreadcrumbSlash } from './
18
18
  export { Button, ButtonProps, buttonVariants } from './components/Button/index.cjs';
19
19
  export { Card, CardActions, CardActionsProps, CardBadge, CardBadgeProps, CardCollapsible, CardCollapsibleProps, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardMediaProps, CardProps, CardStat, CardStatProps, CardTitle, CardTitleProps, cardAccentVariants, cardVariants } from './components/Card/index.cjs';
20
20
  export { Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, checkboxVariants } from './components/Checkbox/index.cjs';
21
+ export { CollabLogEntry, CollabLogKind, CollabPeer, CollabRemoteEdit, CollabRoomInfo, CollabStatus, CollabStatusLabels, CollabStatusProps, UseYjsCollabStatusOptions, YjsAwarenessLike, YjsCollabStatus, YjsDocLike, YjsProviderLike, defaultCollabStatusLabels, useYjsCollabStatus } from './components/CollabStatus/index.cjs';
21
22
  export { Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerProps } from './components/Collapsible/index.cjs';
22
23
  export { CountryCodeDropdown, CountryCodeDropdownProps, CountryData, formatE164, validatePhoneNumber } from './components/CountryCodeDropdown/index.cjs';
23
24
  export { DateInput, DateInputMode, DateInputProps, DateInputType } from './components/DateInput/index.cjs';
@@ -2868,6 +2869,13 @@ interface CodifyResult {
2868
2869
  */
2869
2870
 
2870
2871
  type CodifyDomain = 'condition' | 'med' | 'lab' | 'procedure' | 'vaccine' | 'occupational' | 'quality';
2872
+ /** One choice in the user-facing coding-system filter (`codetypeOptions`). */
2873
+ interface CodetypeOption {
2874
+ /** User-visible label (externalize/translate in the consumer), e.g. 'ICD-10' */
2875
+ label: string;
2876
+ /** Coding systems this option restricts to (e.g. ['ICD10']); omit for "all" */
2877
+ codetypes?: string[];
2878
+ }
2871
2879
  /**
2872
2880
  * Per-instance tuning for the "Frequently used" memory picklist: focusing the
2873
2881
  * empty search box lists the user's most-picked codes for this context.
@@ -2929,6 +2937,20 @@ interface CodeLookupProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, '
2929
2937
  * and SNOMED entries are dropped. Other domains are unaffected.
2930
2938
  */
2931
2939
  billableOnly?: boolean;
2940
+ /**
2941
+ * Restrict results to these coding systems at query time (e.g. ['ICD10']
2942
+ * for an ICD-10-only picker; ['ICD11'] once the shards carry ICD-11 rows).
2943
+ * Applies to the drill-down too. Ignored while `codetypeOptions` is
2944
+ * rendered — the user's pick wins.
2945
+ */
2946
+ searchCodetypes?: string[];
2947
+ /**
2948
+ * Let the user pick the coding-system filter: renders a segmented control
2949
+ * above the search box. The first option is selected initially — give it
2950
+ * no `codetypes` for "all systems". E.g.
2951
+ * `[{ label: 'All' }, { label: 'ICD-10', codetypes: ['ICD10'] }]`.
2952
+ */
2953
+ codetypeOptions?: CodetypeOption[];
2932
2954
  /** Called when a result is picked */
2933
2955
  onSelect?: (result: CodifyResult) => void;
2934
2956
  /**
package/dist/index.d.ts CHANGED
@@ -18,6 +18,7 @@ export { Breadcrumb, BreadcrumbItem, BreadcrumbProps, BreadcrumbSlash } from './
18
18
  export { Button, ButtonProps, buttonVariants } from './components/Button/index.js';
19
19
  export { Card, CardActions, CardActionsProps, CardBadge, CardBadgeProps, CardCollapsible, CardCollapsibleProps, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardMediaProps, CardProps, CardStat, CardStatProps, CardTitle, CardTitleProps, cardAccentVariants, cardVariants } from './components/Card/index.js';
20
20
  export { Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, checkboxVariants } from './components/Checkbox/index.js';
21
+ export { CollabLogEntry, CollabLogKind, CollabPeer, CollabRemoteEdit, CollabRoomInfo, CollabStatus, CollabStatusLabels, CollabStatusProps, UseYjsCollabStatusOptions, YjsAwarenessLike, YjsCollabStatus, YjsDocLike, YjsProviderLike, defaultCollabStatusLabels, useYjsCollabStatus } from './components/CollabStatus/index.js';
21
22
  export { Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerProps } from './components/Collapsible/index.js';
22
23
  export { CountryCodeDropdown, CountryCodeDropdownProps, CountryData, formatE164, validatePhoneNumber } from './components/CountryCodeDropdown/index.js';
23
24
  export { DateInput, DateInputMode, DateInputProps, DateInputType } from './components/DateInput/index.js';
@@ -2868,6 +2869,13 @@ interface CodifyResult {
2868
2869
  */
2869
2870
 
2870
2871
  type CodifyDomain = 'condition' | 'med' | 'lab' | 'procedure' | 'vaccine' | 'occupational' | 'quality';
2872
+ /** One choice in the user-facing coding-system filter (`codetypeOptions`). */
2873
+ interface CodetypeOption {
2874
+ /** User-visible label (externalize/translate in the consumer), e.g. 'ICD-10' */
2875
+ label: string;
2876
+ /** Coding systems this option restricts to (e.g. ['ICD10']); omit for "all" */
2877
+ codetypes?: string[];
2878
+ }
2871
2879
  /**
2872
2880
  * Per-instance tuning for the "Frequently used" memory picklist: focusing the
2873
2881
  * empty search box lists the user's most-picked codes for this context.
@@ -2929,6 +2937,20 @@ interface CodeLookupProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, '
2929
2937
  * and SNOMED entries are dropped. Other domains are unaffected.
2930
2938
  */
2931
2939
  billableOnly?: boolean;
2940
+ /**
2941
+ * Restrict results to these coding systems at query time (e.g. ['ICD10']
2942
+ * for an ICD-10-only picker; ['ICD11'] once the shards carry ICD-11 rows).
2943
+ * Applies to the drill-down too. Ignored while `codetypeOptions` is
2944
+ * rendered — the user's pick wins.
2945
+ */
2946
+ searchCodetypes?: string[];
2947
+ /**
2948
+ * Let the user pick the coding-system filter: renders a segmented control
2949
+ * above the search box. The first option is selected initially — give it
2950
+ * no `codetypes` for "all systems". E.g.
2951
+ * `[{ label: 'All' }, { label: 'ICD-10', codetypes: ['ICD10'] }]`.
2952
+ */
2953
+ codetypeOptions?: CodetypeOption[];
2932
2954
  /** Called when a result is picked */
2933
2955
  onSelect?: (result: CodifyResult) => void;
2934
2956
  /**
package/dist/index.js CHANGED
@@ -1,15 +1,18 @@
1
+ export { TranscriptView, formatTimestampMs } from './chunk-SEPYBAML.js';
1
2
  export { VisuallyHidden } from './chunk-H2CIKJQI.js';
2
- export { brands } from './chunk-CYMZ2QS5.js';
3
+ export { brands } from './chunk-BCJFOSZX.js';
4
+ export { wagglelineBrand } from './chunk-2NTYAALC.js';
3
5
  export { webchartBrand } from './chunk-CW66SO5O.js';
4
6
  export { defaultBrand } from './chunk-PSTGFXQG.js';
5
7
  export { enterpriseHealthBrand } from './chunk-MTZPVOP6.js';
6
8
  export { miewebBrand } from './chunk-NERS5ZT6.js';
7
- export { wagglelineBrand } from './chunk-2NTYAALC.js';
8
9
  export { createBrandPreset, generateBrandCSS, generateTailwindTheme } from './chunk-WOYUQ4AT.js';
9
10
  export { bluehiveBrand } from './chunk-3T7QGLNB.js';
10
11
  export { ccmeBrand } from './chunk-SCQRJPSV.js';
11
12
  export { ozwellBrand } from './chunk-5YUBQIC7.js';
12
13
  import { getModelBytes } from './chunk-6I7IDZ4A.js';
14
+ import { Switch, switchThumbVariants, switchTrackVariants } from './chunk-43GBCUSQ.js';
15
+ export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-43GBCUSQ.js';
13
16
  import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-KL2S36FM.js';
14
17
  export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-KL2S36FM.js';
15
18
  import { Tabs, TabsList, TabsTrigger, TabsContent } from './chunk-MUYTGWGE.js';
@@ -18,7 +21,6 @@ import { Text } from './chunk-JLBT76WH.js';
18
21
  export { SmallMuted, Text, textVariants } from './chunk-JLBT76WH.js';
19
22
  export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-XDFDVF2O.js';
20
23
  export { Toggle, toggleVariants } from './chunk-Y2S6QMKU.js';
21
- export { TranscriptView, formatTimestampMs } from './chunk-SEPYBAML.js';
22
24
  export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-4LVPQ44A.js';
23
25
  import { Skeleton } from './chunk-4Z6ZZKIY.js';
24
26
  export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-4Z6ZZKIY.js';
@@ -30,8 +32,7 @@ import { EmptyState } from './chunk-JHYFHEHS.js';
30
32
  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-JHYFHEHS.js';
31
33
  import { MessageComposer } from './chunk-UM6NA7HL.js';
32
34
  export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-UM6NA7HL.js';
33
- import { Switch, switchThumbVariants, switchTrackVariants } from './chunk-43GBCUSQ.js';
34
- export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-43GBCUSQ.js';
35
+ export { PhoneInput, PhoneInputGroup } from './chunk-OX2RIVN7.js';
35
36
  import { Progress } from './chunk-IYIYL2SQ.js';
36
37
  export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-IYIYL2SQ.js';
37
38
  export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-3CJBUAJ4.js';
@@ -41,6 +42,7 @@ export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from
41
42
  export { Separator, separatorVariants } from './chunk-BX6BTDTR.js';
42
43
  export { DateButton, DatePicker, RadioOption, SchedulePicker, TimeButton, TimePicker, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './chunk-4DMZAVB2.js';
43
44
  export { ScrollArea, scrollAreaVariants } from './chunk-BIT27PPD.js';
45
+ export { FloatingWindow, MinimizedWindow } from './chunk-C2544GKZ.js';
44
46
  export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from './chunk-XL7TTKHP.js';
45
47
  export { CsvBlock } from './chunk-7WMSUXOQ.js';
46
48
  export { HtmlPreviewBlock } from './chunk-UFYXU7KV.js';
@@ -52,15 +54,14 @@ export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants }
52
54
  import './chunk-RISZWWEQ.js';
53
55
  export { MediaPlayer, inferMediaKind, mediaPlayerVariants } from './chunk-KOCTIB6U.js';
54
56
  export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-J3BU3JBX.js';
55
- export { PhoneInput, PhoneInputGroup } from './chunk-OX2RIVN7.js';
56
57
  import './chunk-OF7NTZ2I.js';
57
58
  import { Checkbox } from './chunk-XCLQZ4FV.js';
58
59
  export { Checkbox, CheckboxGroup, checkboxVariants } from './chunk-XCLQZ4FV.js';
60
+ export { CollabStatus, defaultCollabStatusLabels, useYjsCollabStatus } from './chunk-3MGHTTZW.js';
59
61
  export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-T3C4RNJ4.js';
60
62
  export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-MKWGKASO.js';
61
63
  import { Dropdown, DropdownItem, DropdownSeparator, DropdownHeader } from './chunk-YZT62IMX.js';
62
64
  export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator } from './chunk-YZT62IMX.js';
63
- export { FloatingWindow, MinimizedWindow } from './chunk-C2544GKZ.js';
64
65
  import { Alert, AlertTitle, AlertDescription } from './chunk-MV3MTHWQ.js';
65
66
  export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-MV3MTHWQ.js';
66
67
  import { AlertDialog } from './chunk-6AHYYWVB.js';
@@ -117,15 +118,15 @@ export { useClickOutside } from './chunk-62ZOA6PX.js';
117
118
  import { useAnchoredPosition } from './chunk-QA6ZDHFP.js';
118
119
  export { useAnchoredPosition } from './chunk-QA6ZDHFP.js';
119
120
  import './chunk-7XUN3OQT.js';
120
- export { isHtmlEmpty, stripHtmlTags } from './chunk-ERLPVXOV.js';
121
121
  export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
122
+ export { isHtmlEmpty, stripHtmlTags } from './chunk-ERLPVXOV.js';
122
123
  import { dateToDisplayFormat, isValidDate, displayFormatToDateString } from './chunk-RC2YMOMS.js';
123
124
  export { calculateAge, dateToDisplayFormat, displayFormatToDateString, formatDateValue, isDateEmpty, isDateInFuture, isDateInPast, isValidDate, isValidDrivingAge, parseDateValue } from './chunk-RC2YMOMS.js';
124
125
  import { cn } from './chunk-F3SOEIN2.js';
125
126
  export { cn } from './chunk-F3SOEIN2.js';
126
127
  import { isStorybookDocsMode } from './chunk-VSQF22GL.js';
127
128
  export { isStorybookDocsMode } from './chunk-VSQF22GL.js';
128
- export { miewebUIPreset, miewebUISafelist } from './chunk-Y3ZZEDIU.js';
129
+ export { miewebUIPreset, miewebUISafelist } from './chunk-2YDKLURF.js';
129
130
  import * as React10 from 'react';
130
131
  import React10__default, { createContext, useState, useEffect, useCallback, useMemo, useContext, useRef } from 'react';
131
132
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';