@mieweb/ui 0.10.0-dev.11 → 0.10.0-dev.13

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 (130) hide show
  1. package/dist/Input-yN516s5_.d.cts +3 -0
  2. package/dist/Input-yN516s5_.d.ts +3 -0
  3. package/dist/ag-grid.d.cts +142 -1
  4. package/dist/ag-grid.d.ts +142 -1
  5. package/dist/{chunk-3M7TAXNR.js → chunk-3YFJBUX4.js} +3 -3
  6. package/dist/{chunk-3M7TAXNR.js.map → chunk-3YFJBUX4.js.map} +1 -1
  7. package/dist/{chunk-ACCAXVOG.js → chunk-4CXGT3P7.js} +61 -41
  8. package/dist/chunk-4CXGT3P7.js.map +1 -0
  9. package/dist/{chunk-OD47TTAW.cjs → chunk-V43ZFGCE.cjs} +9 -9
  10. package/dist/{chunk-OD47TTAW.cjs.map → chunk-V43ZFGCE.cjs.map} +1 -1
  11. package/dist/{chunk-X4XPNTCZ.cjs → chunk-YQ2NQV5C.cjs} +61 -41
  12. package/dist/chunk-YQ2NQV5C.cjs.map +1 -0
  13. package/dist/components/Alert/index.d.cts +1 -1
  14. package/dist/components/Alert/index.d.ts +1 -1
  15. package/dist/components/AlertDialog/index.d.cts +28 -3
  16. package/dist/components/AlertDialog/index.d.ts +28 -3
  17. package/dist/components/AudioRecorder/index.d.cts +2 -2
  18. package/dist/components/AudioRecorder/index.d.ts +2 -2
  19. package/dist/components/Autocomplete/index.d.cts +8 -2
  20. package/dist/components/Autocomplete/index.d.ts +8 -2
  21. package/dist/components/Avatar/index.d.cts +1 -1
  22. package/dist/components/Avatar/index.d.ts +1 -1
  23. package/dist/components/Badge/index.d.cts +1 -1
  24. package/dist/components/Badge/index.d.ts +1 -1
  25. package/dist/components/BoardView/index.d.cts +91 -4
  26. package/dist/components/BoardView/index.d.ts +91 -4
  27. package/dist/components/Button/index.d.cts +1 -1
  28. package/dist/components/Button/index.d.ts +1 -1
  29. package/dist/components/CalendarView/index.d.cts +1 -2
  30. package/dist/components/CalendarView/index.d.ts +1 -2
  31. package/dist/components/Card/index.d.cts +3 -3
  32. package/dist/components/Card/index.d.ts +3 -3
  33. package/dist/components/Dropdown/index.d.cts +2 -1
  34. package/dist/components/Dropdown/index.d.ts +2 -1
  35. package/dist/components/GanttView/index.d.cts +1 -2
  36. package/dist/components/GanttView/index.d.ts +1 -2
  37. package/dist/components/ListView/index.d.cts +2 -3
  38. package/dist/components/ListView/index.d.ts +2 -3
  39. package/dist/components/MediaEditor/index.d.cts +91 -2
  40. package/dist/components/MediaEditor/index.d.ts +91 -2
  41. package/dist/components/MediaPlayer/index.d.cts +1 -1
  42. package/dist/components/MediaPlayer/index.d.ts +1 -1
  43. package/dist/components/Pagination/index.d.cts +1 -1
  44. package/dist/components/Pagination/index.d.ts +1 -1
  45. package/dist/components/PhoneInput/index.d.cts +36 -3
  46. package/dist/components/PhoneInput/index.d.ts +36 -3
  47. package/dist/components/Progress/index.d.cts +1 -1
  48. package/dist/components/Progress/index.d.ts +1 -1
  49. package/dist/components/Q/index.d.cts +2 -2
  50. package/dist/components/Q/index.d.ts +2 -2
  51. package/dist/components/QuickAction/index.d.cts +1 -1
  52. package/dist/components/QuickAction/index.d.ts +1 -1
  53. package/dist/components/RecordButton/index.d.cts +1 -1
  54. package/dist/components/RecordButton/index.d.ts +1 -1
  55. package/dist/components/RichTextEditor/index.d.cts +7 -2
  56. package/dist/components/RichTextEditor/index.d.ts +7 -2
  57. package/dist/components/ScrollArea/index.d.cts +1 -1
  58. package/dist/components/ScrollArea/index.d.ts +1 -1
  59. package/dist/components/Select/index.d.cts +1 -2
  60. package/dist/components/Select/index.d.ts +1 -2
  61. package/dist/components/Skeleton/index.d.cts +1 -1
  62. package/dist/components/Skeleton/index.d.ts +1 -1
  63. package/dist/components/Slider/index.d.cts +2 -2
  64. package/dist/components/Slider/index.d.ts +2 -2
  65. package/dist/components/Spinner/index.d.cts +2 -2
  66. package/dist/components/Spinner/index.d.ts +2 -2
  67. package/dist/components/SuperChat/index.cjs +3 -3
  68. package/dist/components/SuperChat/index.d.cts +2 -4
  69. package/dist/components/SuperChat/index.d.ts +2 -4
  70. package/dist/components/SuperChat/index.js +1 -1
  71. package/dist/components/SuperChat/plugins/index.cjs +3 -3
  72. package/dist/components/SuperChat/plugins/index.d.cts +2 -3
  73. package/dist/components/SuperChat/plugins/index.d.ts +2 -3
  74. package/dist/components/SuperChat/plugins/index.js +2 -2
  75. package/dist/components/Text/index.d.cts +3 -3
  76. package/dist/components/Text/index.d.ts +3 -3
  77. package/dist/components/Textarea/index.d.cts +1 -2
  78. package/dist/components/Textarea/index.d.ts +1 -2
  79. package/dist/components/ThemeProvider/index.d.cts +3 -1
  80. package/dist/components/ThemeProvider/index.d.ts +3 -1
  81. package/dist/components/TranscriptView/index.d.cts +85 -4
  82. package/dist/components/TranscriptView/index.d.ts +85 -4
  83. package/dist/components/ViewSet/index.d.cts +120 -9
  84. package/dist/components/ViewSet/index.d.ts +120 -9
  85. package/dist/components/ViewSwitcher/index.d.cts +4 -40
  86. package/dist/components/ViewSwitcher/index.d.ts +4 -40
  87. package/dist/datavis.d.cts +167 -13
  88. package/dist/datavis.d.ts +167 -13
  89. package/dist/esheet.d.cts +183 -1
  90. package/dist/esheet.d.ts +183 -1
  91. package/dist/hooks/index.d.cts +383 -31
  92. package/dist/hooks/index.d.ts +383 -31
  93. package/dist/index-DoYYWsNc.d.cts +127 -0
  94. package/dist/index-DoYYWsNc.d.ts +127 -0
  95. package/dist/index.cjs +47 -47
  96. package/dist/index.d.cts +7600 -414
  97. package/dist/index.d.ts +7600 -414
  98. package/dist/index.js +4 -4
  99. package/dist/motion.d.cts +186 -2
  100. package/dist/motion.d.ts +186 -2
  101. package/dist/q.d.cts +25 -3
  102. package/dist/q.d.ts +25 -3
  103. package/dist/styles.css +1 -1
  104. package/dist/{types-B97JNRNQ.d.cts → types-DOxdTwmq.d.cts} +170 -2
  105. package/dist/{types-gZXrfLj6.d.ts → types-DOxdTwmq.d.ts} +170 -2
  106. package/dist/{types-CbWXIKbe.d.cts → types-DsdZvEI1.d.cts} +1 -28
  107. package/dist/{types-CbWXIKbe.d.ts → types-DsdZvEI1.d.ts} +1 -28
  108. package/dist/utils/index.d.cts +13 -2
  109. package/dist/utils/index.d.ts +13 -2
  110. package/package.json +3 -2
  111. package/dist/Animated-XmH6k8pZ.d.cts +0 -188
  112. package/dist/Animated-XmH6k8pZ.d.ts +0 -188
  113. package/dist/MedicationEditor-Bp4NLy7y.d.cts +0 -352
  114. package/dist/MedicationEditor-Bp4NLy7y.d.ts +0 -352
  115. package/dist/chunk-ACCAXVOG.js.map +0 -1
  116. package/dist/chunk-X4XPNTCZ.cjs.map +0 -1
  117. package/dist/html-MdxqSzjD.d.cts +0 -13
  118. package/dist/html-MdxqSzjD.d.ts +0 -13
  119. package/dist/orderRows-BUJYgSc7.d.cts +0 -221
  120. package/dist/orderRows-BUJYgSc7.d.ts +0 -221
  121. package/dist/transcript-Cg7uSW-C.d.cts +0 -84
  122. package/dist/transcript-Cg7uSW-C.d.ts +0 -84
  123. package/dist/types-CnPEwzlp.d.cts +0 -254
  124. package/dist/types-CnPEwzlp.d.ts +0 -254
  125. package/dist/useAnchoredPosition-CKwLSQW8.d.cts +0 -76
  126. package/dist/useAnchoredPosition-CKwLSQW8.d.ts +0 -76
  127. package/dist/useTheme-B9SWu6ui.d.cts +0 -24
  128. package/dist/useTheme-B9SWu6ui.d.ts +0 -24
  129. package/dist/useTranscriptEdits-CGzlemHT.d.cts +0 -182
  130. package/dist/useTranscriptEdits-D32bLs0l.d.ts +0 -182
@@ -0,0 +1,3 @@
1
+ type RequiredMarkVariant = 'default' | 'warning';
2
+
3
+ export type { RequiredMarkVariant as R };
@@ -0,0 +1,3 @@
1
+ type RequiredMarkVariant = 'default' | 'warning';
2
+
3
+ export type { RequiredMarkVariant as R };
@@ -5,7 +5,148 @@ export { AgGridReact } from 'ag-grid-react';
5
5
  import { RowClickedEvent, RowSelectionOptions, ColDef as ColDef$1, ICellRendererParams } from 'ag-grid-community';
6
6
  export { ColDef as AGColDef, CellClickedEvent, CellValueChangedEvent, FilterChangedEvent, FirstDataRenderedEvent, GridApi, GridReadyEvent, RowClickedEvent, RowSelectedEvent, SelectionChangedEvent, SortChangedEvent } from 'ag-grid-community';
7
7
  import { VariantProps } from 'class-variance-authority';
8
- import { BrandConfig } from './brands/types.cjs';
8
+
9
+ /**
10
+ * @mieweb/ui Brand System Types
11
+ *
12
+ * This module provides type definitions and utilities for brand themes.
13
+ * Brands define colors, typography, spacing, and other design tokens that
14
+ * can be applied to @mieweb/ui components.
15
+ */
16
+ /**
17
+ * Primary color scale (50-950) following Tailwind conventions.
18
+ */
19
+ interface ColorScale {
20
+ 50: string;
21
+ 100: string;
22
+ 200: string;
23
+ 300: string;
24
+ 400: string;
25
+ 500: string;
26
+ 600: string;
27
+ 700: string;
28
+ 800: string;
29
+ 900: string;
30
+ 950: string;
31
+ }
32
+ /**
33
+ * Semantic colors for a specific color mode (light or dark).
34
+ */
35
+ interface SemanticColors {
36
+ /** Page background color */
37
+ background: string;
38
+ /** Primary text color */
39
+ foreground: string;
40
+ /** Card/panel background */
41
+ card: string;
42
+ /** Card text color */
43
+ cardForeground: string;
44
+ /** Muted/subtle background */
45
+ muted: string;
46
+ /** Muted/secondary text */
47
+ mutedForeground: string;
48
+ /** Border color */
49
+ border: string;
50
+ /** Input border color */
51
+ input: string;
52
+ /** Focus ring color */
53
+ ring: string;
54
+ /** Destructive/error color */
55
+ destructive: string;
56
+ /** Text on destructive backgrounds */
57
+ destructiveForeground: string;
58
+ /** Success color */
59
+ success: string;
60
+ /** Text on success backgrounds */
61
+ successForeground: string;
62
+ /** Warning color */
63
+ warning: string;
64
+ /** Text on warning backgrounds */
65
+ warningForeground: string;
66
+ }
67
+ /**
68
+ * Complete color configuration for a brand.
69
+ */
70
+ interface BrandColors {
71
+ /** Primary brand color scale */
72
+ primary: ColorScale;
73
+ /** Secondary color scale (optional — falls back to library defaults) */
74
+ secondary?: ColorScale;
75
+ /** Neutral / gray color scale (optional — falls back to library defaults) */
76
+ neutral?: ColorScale;
77
+ /** Destructive / error color scale (optional — falls back to library defaults) */
78
+ destructive?: ColorScale;
79
+ /** Success color scale (optional — falls back to library defaults) */
80
+ success?: ColorScale;
81
+ /** Warning color scale (optional — falls back to library defaults) */
82
+ warning?: ColorScale;
83
+ /** Info color scale (optional — falls back to library defaults) */
84
+ info?: ColorScale;
85
+ /**
86
+ * Brand accent (optional) — exposed as `--mieweb-accent`, `--mieweb-accent-light`
87
+ * and `--mieweb-accent-dark`. Components fall back to the primary scale when unset.
88
+ */
89
+ accent?: {
90
+ DEFAULT: string;
91
+ light?: string;
92
+ dark?: string;
93
+ };
94
+ /** Light mode semantic colors */
95
+ light: SemanticColors;
96
+ /** Dark mode semantic colors */
97
+ dark: SemanticColors;
98
+ }
99
+ /**
100
+ * Typography configuration for a brand.
101
+ */
102
+ interface BrandTypography {
103
+ /** Font family stack for body text */
104
+ fontFamily: {
105
+ sans: string[];
106
+ mono?: string[];
107
+ };
108
+ /** Base font size (usually 16px) */
109
+ baseFontSize?: string;
110
+ }
111
+ /**
112
+ * Border radius configuration.
113
+ */
114
+ interface BrandBorderRadius {
115
+ none: string;
116
+ sm: string;
117
+ md: string;
118
+ lg: string;
119
+ xl: string;
120
+ '2xl': string;
121
+ full: string;
122
+ }
123
+ /**
124
+ * Box shadow configuration.
125
+ */
126
+ interface BrandBoxShadow {
127
+ card: string;
128
+ dropdown: string;
129
+ modal: string;
130
+ }
131
+ /**
132
+ * Complete brand configuration.
133
+ */
134
+ interface BrandConfig {
135
+ /** Unique identifier (lowercase, no spaces) */
136
+ name: string;
137
+ /** Human-readable display name */
138
+ displayName: string;
139
+ /** Brand description */
140
+ description?: string;
141
+ /** Color configuration */
142
+ colors: BrandColors;
143
+ /** Typography settings */
144
+ typography: BrandTypography;
145
+ /** Border radius scale */
146
+ borderRadius: BrandBorderRadius;
147
+ /** Box shadow definitions */
148
+ boxShadow: BrandBoxShadow;
149
+ }
9
150
 
10
151
  declare const agGridVariants: (props?: ({
11
152
  variant?: "default" | "bordered" | "striped" | "card" | null | undefined;
package/dist/ag-grid.d.ts CHANGED
@@ -5,7 +5,148 @@ export { AgGridReact } from 'ag-grid-react';
5
5
  import { RowClickedEvent, RowSelectionOptions, ColDef as ColDef$1, ICellRendererParams } from 'ag-grid-community';
6
6
  export { ColDef as AGColDef, CellClickedEvent, CellValueChangedEvent, FilterChangedEvent, FirstDataRenderedEvent, GridApi, GridReadyEvent, RowClickedEvent, RowSelectedEvent, SelectionChangedEvent, SortChangedEvent } from 'ag-grid-community';
7
7
  import { VariantProps } from 'class-variance-authority';
8
- import { BrandConfig } from './brands/types.js';
8
+
9
+ /**
10
+ * @mieweb/ui Brand System Types
11
+ *
12
+ * This module provides type definitions and utilities for brand themes.
13
+ * Brands define colors, typography, spacing, and other design tokens that
14
+ * can be applied to @mieweb/ui components.
15
+ */
16
+ /**
17
+ * Primary color scale (50-950) following Tailwind conventions.
18
+ */
19
+ interface ColorScale {
20
+ 50: string;
21
+ 100: string;
22
+ 200: string;
23
+ 300: string;
24
+ 400: string;
25
+ 500: string;
26
+ 600: string;
27
+ 700: string;
28
+ 800: string;
29
+ 900: string;
30
+ 950: string;
31
+ }
32
+ /**
33
+ * Semantic colors for a specific color mode (light or dark).
34
+ */
35
+ interface SemanticColors {
36
+ /** Page background color */
37
+ background: string;
38
+ /** Primary text color */
39
+ foreground: string;
40
+ /** Card/panel background */
41
+ card: string;
42
+ /** Card text color */
43
+ cardForeground: string;
44
+ /** Muted/subtle background */
45
+ muted: string;
46
+ /** Muted/secondary text */
47
+ mutedForeground: string;
48
+ /** Border color */
49
+ border: string;
50
+ /** Input border color */
51
+ input: string;
52
+ /** Focus ring color */
53
+ ring: string;
54
+ /** Destructive/error color */
55
+ destructive: string;
56
+ /** Text on destructive backgrounds */
57
+ destructiveForeground: string;
58
+ /** Success color */
59
+ success: string;
60
+ /** Text on success backgrounds */
61
+ successForeground: string;
62
+ /** Warning color */
63
+ warning: string;
64
+ /** Text on warning backgrounds */
65
+ warningForeground: string;
66
+ }
67
+ /**
68
+ * Complete color configuration for a brand.
69
+ */
70
+ interface BrandColors {
71
+ /** Primary brand color scale */
72
+ primary: ColorScale;
73
+ /** Secondary color scale (optional — falls back to library defaults) */
74
+ secondary?: ColorScale;
75
+ /** Neutral / gray color scale (optional — falls back to library defaults) */
76
+ neutral?: ColorScale;
77
+ /** Destructive / error color scale (optional — falls back to library defaults) */
78
+ destructive?: ColorScale;
79
+ /** Success color scale (optional — falls back to library defaults) */
80
+ success?: ColorScale;
81
+ /** Warning color scale (optional — falls back to library defaults) */
82
+ warning?: ColorScale;
83
+ /** Info color scale (optional — falls back to library defaults) */
84
+ info?: ColorScale;
85
+ /**
86
+ * Brand accent (optional) — exposed as `--mieweb-accent`, `--mieweb-accent-light`
87
+ * and `--mieweb-accent-dark`. Components fall back to the primary scale when unset.
88
+ */
89
+ accent?: {
90
+ DEFAULT: string;
91
+ light?: string;
92
+ dark?: string;
93
+ };
94
+ /** Light mode semantic colors */
95
+ light: SemanticColors;
96
+ /** Dark mode semantic colors */
97
+ dark: SemanticColors;
98
+ }
99
+ /**
100
+ * Typography configuration for a brand.
101
+ */
102
+ interface BrandTypography {
103
+ /** Font family stack for body text */
104
+ fontFamily: {
105
+ sans: string[];
106
+ mono?: string[];
107
+ };
108
+ /** Base font size (usually 16px) */
109
+ baseFontSize?: string;
110
+ }
111
+ /**
112
+ * Border radius configuration.
113
+ */
114
+ interface BrandBorderRadius {
115
+ none: string;
116
+ sm: string;
117
+ md: string;
118
+ lg: string;
119
+ xl: string;
120
+ '2xl': string;
121
+ full: string;
122
+ }
123
+ /**
124
+ * Box shadow configuration.
125
+ */
126
+ interface BrandBoxShadow {
127
+ card: string;
128
+ dropdown: string;
129
+ modal: string;
130
+ }
131
+ /**
132
+ * Complete brand configuration.
133
+ */
134
+ interface BrandConfig {
135
+ /** Unique identifier (lowercase, no spaces) */
136
+ name: string;
137
+ /** Human-readable display name */
138
+ displayName: string;
139
+ /** Brand description */
140
+ description?: string;
141
+ /** Color configuration */
142
+ colors: BrandColors;
143
+ /** Typography settings */
144
+ typography: BrandTypography;
145
+ /** Border radius scale */
146
+ borderRadius: BrandBorderRadius;
147
+ /** Box shadow definitions */
148
+ boxShadow: BrandBoxShadow;
149
+ }
9
150
 
10
151
  declare const agGridVariants: (props?: ({
11
152
  variant?: "default" | "bordered" | "striped" | "card" | null | undefined;
@@ -1,4 +1,4 @@
1
- import { notifyComposerMigrationOnce, DragDropZone, ChatComposer, DEFAULT_MAX_FILE_SIZE, DEFAULT_ACCEPTED_FILE_TYPES, CameraButton } from './chunk-ACCAXVOG.js';
1
+ import { notifyComposerMigrationOnce, DragDropZone, ChatComposer, DEFAULT_MAX_FILE_SIZE, DEFAULT_ACCEPTED_FILE_TYPES, CameraButton } from './chunk-4CXGT3P7.js';
2
2
  import { cn } from './chunk-TQONQSJO.js';
3
3
  import * as React from 'react';
4
4
  import { cva } from 'class-variance-authority';
@@ -2043,5 +2043,5 @@ function MessagingSplitView({
2043
2043
  MessagingSplitView.displayName = "MessagingSplitView";
2044
2044
 
2045
2045
  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 };
2046
- //# sourceMappingURL=chunk-3M7TAXNR.js.map
2047
- //# sourceMappingURL=chunk-3M7TAXNR.js.map
2046
+ //# sourceMappingURL=chunk-3YFJBUX4.js.map
2047
+ //# sourceMappingURL=chunk-3YFJBUX4.js.map