@mieweb/ui 0.6.1-dev.125 → 0.6.1-dev.131

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 (144) hide show
  1. package/dist/brands/index.cjs +12 -12
  2. package/dist/brands/index.js +3 -3
  3. package/dist/{chunk-MPOWJVV4.js → chunk-3OHVUXDG.js} +3 -3
  4. package/dist/{chunk-MPOWJVV4.js.map → chunk-3OHVUXDG.js.map} +1 -1
  5. package/dist/chunk-44CK4CT2.cjs +336 -0
  6. package/dist/chunk-44CK4CT2.cjs.map +1 -0
  7. package/dist/chunk-4LVPQ44A.js +228 -0
  8. package/dist/chunk-4LVPQ44A.js.map +1 -0
  9. package/dist/chunk-7XUN3OQT.js +3 -0
  10. package/dist/{chunk-V2DF2GUE.js.map → chunk-7XUN3OQT.js.map} +1 -1
  11. package/dist/chunk-AEGYWRSL.js +513 -0
  12. package/dist/chunk-AEGYWRSL.js.map +1 -0
  13. package/dist/chunk-AFKKJEV5.cjs +72 -0
  14. package/dist/chunk-AFKKJEV5.cjs.map +1 -0
  15. package/dist/chunk-AT732HC6.cjs +4 -0
  16. package/dist/{chunk-74K3RRU7.cjs.map → chunk-AT732HC6.cjs.map} +1 -1
  17. package/dist/chunk-BIT27PPD.js +49 -0
  18. package/dist/chunk-BIT27PPD.js.map +1 -0
  19. package/dist/chunk-BT3ZQJGT.cjs +130 -0
  20. package/dist/chunk-BT3ZQJGT.cjs.map +1 -0
  21. package/dist/chunk-BX6BTDTR.js +34 -0
  22. package/dist/chunk-BX6BTDTR.js.map +1 -0
  23. package/dist/chunk-C2544GKZ.js +313 -0
  24. package/dist/chunk-C2544GKZ.js.map +1 -0
  25. package/dist/chunk-C7RVKV25.cjs +25 -0
  26. package/dist/chunk-C7RVKV25.cjs.map +1 -0
  27. package/dist/{chunk-CV4CVGLO.cjs → chunk-DFT7TYKL.cjs} +3 -3
  28. package/dist/{chunk-CV4CVGLO.cjs.map → chunk-DFT7TYKL.cjs.map} +1 -1
  29. package/dist/chunk-DLNJLCNO.cjs +101 -0
  30. package/dist/chunk-DLNJLCNO.cjs.map +1 -0
  31. package/dist/chunk-DUPR6FEL.js +43 -0
  32. package/dist/chunk-DUPR6FEL.js.map +1 -0
  33. package/dist/chunk-EJUPJGKA.js +78 -0
  34. package/dist/chunk-EJUPJGKA.js.map +1 -0
  35. package/dist/chunk-ERLPVXOV.js +22 -0
  36. package/dist/chunk-ERLPVXOV.js.map +1 -0
  37. package/dist/chunk-KJ5BSGEO.cjs +258 -0
  38. package/dist/chunk-KJ5BSGEO.cjs.map +1 -0
  39. package/dist/chunk-MARLXJQO.cjs +537 -0
  40. package/dist/chunk-MARLXJQO.cjs.map +1 -0
  41. package/dist/{chunk-WFS6R2F5.js → chunk-OVQKCUTZ.js} +3 -3
  42. package/dist/{chunk-WFS6R2F5.js.map → chunk-OVQKCUTZ.js.map} +1 -1
  43. package/dist/chunk-OXYFTCRW.cjs +57 -0
  44. package/dist/chunk-OXYFTCRW.cjs.map +1 -0
  45. package/dist/chunk-PI3KOYAT.js +192 -0
  46. package/dist/chunk-PI3KOYAT.js.map +1 -0
  47. package/dist/chunk-QKAPKIXI.cjs +80 -0
  48. package/dist/chunk-QKAPKIXI.cjs.map +1 -0
  49. package/dist/{chunk-MV337VA7.js → chunk-R6PBBPU3.js} +2 -2
  50. package/dist/{chunk-MV337VA7.js.map → chunk-R6PBBPU3.js.map} +1 -1
  51. package/dist/chunk-ROXYP3BZ.cjs +214 -0
  52. package/dist/chunk-ROXYP3BZ.cjs.map +1 -0
  53. package/dist/chunk-T3C4RNJ4.js +106 -0
  54. package/dist/chunk-T3C4RNJ4.js.map +1 -0
  55. package/dist/{chunk-7BARESXI.cjs → chunk-ULF4PWHW.cjs} +3 -3
  56. package/dist/{chunk-7BARESXI.cjs.map → chunk-ULF4PWHW.cjs.map} +1 -1
  57. package/dist/chunk-UOOH356R.cjs +66 -0
  58. package/dist/chunk-UOOH356R.cjs.map +1 -0
  59. package/dist/chunk-Y2S6QMKU.js +78 -0
  60. package/dist/chunk-Y2S6QMKU.js.map +1 -0
  61. package/dist/{chunk-JLQTPLSY.cjs → chunk-Z6NRP4Z5.cjs} +2 -2
  62. package/dist/{chunk-JLQTPLSY.cjs.map → chunk-Z6NRP4Z5.cjs.map} +1 -1
  63. package/dist/components/AlertDialog/index.cjs +18 -0
  64. package/dist/components/AlertDialog/index.cjs.map +1 -0
  65. package/dist/components/AlertDialog/index.d.cts +56 -0
  66. package/dist/components/AlertDialog/index.d.ts +56 -0
  67. package/dist/components/AlertDialog/index.js +9 -0
  68. package/dist/components/AlertDialog/index.js.map +1 -0
  69. package/dist/components/Autocomplete/index.cjs +15 -0
  70. package/dist/components/Autocomplete/index.cjs.map +1 -0
  71. package/dist/components/Autocomplete/index.d.cts +77 -0
  72. package/dist/components/Autocomplete/index.d.ts +77 -0
  73. package/dist/components/Autocomplete/index.js +6 -0
  74. package/dist/components/Autocomplete/index.js.map +1 -0
  75. package/dist/components/Collapsible/index.cjs +21 -0
  76. package/dist/components/Collapsible/index.cjs.map +1 -0
  77. package/dist/components/Collapsible/index.d.cts +33 -0
  78. package/dist/components/Collapsible/index.d.ts +33 -0
  79. package/dist/components/Collapsible/index.js +4 -0
  80. package/dist/components/Collapsible/index.js.map +1 -0
  81. package/dist/components/CountryCodeDropdown/index.cjs +5 -5
  82. package/dist/components/CountryCodeDropdown/index.js +2 -2
  83. package/dist/components/Dropdown/index.cjs +8 -8
  84. package/dist/components/Dropdown/index.js +2 -2
  85. package/dist/components/FloatingWindow/index.cjs +18 -0
  86. package/dist/components/FloatingWindow/index.cjs.map +1 -0
  87. package/dist/components/FloatingWindow/index.d.cts +64 -0
  88. package/dist/components/FloatingWindow/index.d.ts +64 -0
  89. package/dist/components/FloatingWindow/index.js +5 -0
  90. package/dist/components/FloatingWindow/index.js.map +1 -0
  91. package/dist/components/Label/index.cjs +17 -0
  92. package/dist/components/Label/index.cjs.map +1 -0
  93. package/dist/components/Label/index.d.cts +23 -0
  94. package/dist/components/Label/index.d.ts +23 -0
  95. package/dist/components/Label/index.js +4 -0
  96. package/dist/components/Label/index.js.map +1 -0
  97. package/dist/components/RichTextEditor/index.cjs +32 -0
  98. package/dist/components/RichTextEditor/index.cjs.map +1 -0
  99. package/dist/components/RichTextEditor/index.d.cts +62 -0
  100. package/dist/components/RichTextEditor/index.d.ts +62 -0
  101. package/dist/components/RichTextEditor/index.js +11 -0
  102. package/dist/components/RichTextEditor/index.js.map +1 -0
  103. package/dist/components/ScrollArea/index.cjs +17 -0
  104. package/dist/components/ScrollArea/index.cjs.map +1 -0
  105. package/dist/components/ScrollArea/index.d.cts +22 -0
  106. package/dist/components/ScrollArea/index.d.ts +22 -0
  107. package/dist/components/ScrollArea/index.js +4 -0
  108. package/dist/components/ScrollArea/index.js.map +1 -0
  109. package/dist/components/Separator/index.cjs +17 -0
  110. package/dist/components/Separator/index.cjs.map +1 -0
  111. package/dist/components/Separator/index.d.cts +27 -0
  112. package/dist/components/Separator/index.d.ts +27 -0
  113. package/dist/components/Separator/index.js +4 -0
  114. package/dist/components/Separator/index.js.map +1 -0
  115. package/dist/components/Sheet/index.cjs +48 -0
  116. package/dist/components/Sheet/index.cjs.map +1 -0
  117. package/dist/components/Sheet/index.d.cts +62 -0
  118. package/dist/components/Sheet/index.d.ts +62 -0
  119. package/dist/components/Sheet/index.js +7 -0
  120. package/dist/components/Sheet/index.js.map +1 -0
  121. package/dist/components/Toggle/index.cjs +17 -0
  122. package/dist/components/Toggle/index.cjs.map +1 -0
  123. package/dist/components/Toggle/index.d.cts +28 -0
  124. package/dist/components/Toggle/index.d.ts +28 -0
  125. package/dist/components/Toggle/index.js +4 -0
  126. package/dist/components/Toggle/index.js.map +1 -0
  127. package/dist/hooks/index.cjs +5 -5
  128. package/dist/hooks/index.js +1 -1
  129. package/dist/html-MdxqSzjD.d.cts +13 -0
  130. package/dist/html-MdxqSzjD.d.ts +13 -0
  131. package/dist/index.cjs +352 -225
  132. package/dist/index.cjs.map +1 -1
  133. package/dist/index.d.cts +11 -0
  134. package/dist/index.d.ts +11 -0
  135. package/dist/index.js +43 -32
  136. package/dist/index.js.map +1 -1
  137. package/dist/styles.css +1 -1
  138. package/dist/utils/index.cjs +27 -18
  139. package/dist/utils/index.d.cts +1 -0
  140. package/dist/utils/index.d.ts +1 -0
  141. package/dist/utils/index.js +3 -2
  142. package/package.json +2 -2
  143. package/dist/chunk-74K3RRU7.cjs +0 -4
  144. package/dist/chunk-V2DF2GUE.js +0 -3
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ var chunk44CK4CT2_cjs = require('../../chunk-44CK4CT2.cjs');
4
+ require('../../chunk-A2QVQF54.cjs');
5
+ require('../../chunk-OR5DRJCW.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "FloatingWindow", {
10
+ enumerable: true,
11
+ get: function () { return chunk44CK4CT2_cjs.FloatingWindow; }
12
+ });
13
+ Object.defineProperty(exports, "MinimizedWindow", {
14
+ enumerable: true,
15
+ get: function () { return chunk44CK4CT2_cjs.MinimizedWindow; }
16
+ });
17
+ //# sourceMappingURL=index.cjs.map
18
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,64 @@
1
+ import * as React from 'react';
2
+
3
+ interface FloatingWindowProps {
4
+ /** Whether the window is rendered. */
5
+ open: boolean;
6
+ /** Whether the window is collapsed to a minimized bar (renders nothing). */
7
+ minimized?: boolean;
8
+ /** Window title shown in the header. */
9
+ title: React.ReactNode;
10
+ /** Window body content. */
11
+ children: React.ReactNode;
12
+ /** Footer content, typically action buttons. */
13
+ footer?: React.ReactNode;
14
+ /** Called when the close control is activated. */
15
+ onClose: () => void;
16
+ /** Called when the minimize control is activated. Hidden when omitted. */
17
+ onMinimize?: () => void;
18
+ /** Called when the pop-out control is activated. Hidden when omitted. */
19
+ onPopOut?: () => void;
20
+ /**
21
+ * When `true` the window floats at a draggable position. When `false`
22
+ * (default) it is centered over a dimmed overlay like a modal.
23
+ */
24
+ draggable?: boolean;
25
+ /** Whether the window can be resized from its edges/corners. Default true. */
26
+ resizable?: boolean;
27
+ /** Initial width in pixels. Default 1024. */
28
+ defaultWidth?: number;
29
+ /** Initial height in pixels. Default 600. */
30
+ defaultHeight?: number;
31
+ /** Minimum width in pixels. Default 600. */
32
+ minWidth?: number;
33
+ /** Minimum height in pixels. Default 400. */
34
+ minHeight?: number;
35
+ /** Class applied to the window container. */
36
+ className?: string;
37
+ /** Accessible label for the dialog when the title is not text. */
38
+ 'aria-label'?: string;
39
+ }
40
+ /**
41
+ * A presentational floating window shell used for pop-out editors (notes,
42
+ * letters, etc.). It can render as a centered modal-style window or as a
43
+ * draggable, freely-positioned window, and supports edge/corner resizing.
44
+ * Open/minimize/close state and footer actions are controlled via props so it
45
+ * can be wired to any store.
46
+ */
47
+ declare const FloatingWindow: React.ForwardRefExoticComponent<FloatingWindowProps & React.RefAttributes<HTMLDivElement>>;
48
+ interface MinimizedWindowProps {
49
+ /** Title shown on the minimized bar. */
50
+ title: React.ReactNode;
51
+ /** Called when the bar is activated to restore the window. */
52
+ onRestore: () => void;
53
+ /** Called when the close control is activated. */
54
+ onClose: () => void;
55
+ /** Additional class for the minimized bar. */
56
+ className?: string;
57
+ }
58
+ /**
59
+ * A compact bar representing a minimized {@link FloatingWindow}. Render this
60
+ * (typically in a docked tray) while the corresponding window is minimized.
61
+ */
62
+ declare const MinimizedWindow: React.ForwardRefExoticComponent<MinimizedWindowProps & React.RefAttributes<HTMLDivElement>>;
63
+
64
+ export { FloatingWindow, type FloatingWindowProps, MinimizedWindow, type MinimizedWindowProps };
@@ -0,0 +1,64 @@
1
+ import * as React from 'react';
2
+
3
+ interface FloatingWindowProps {
4
+ /** Whether the window is rendered. */
5
+ open: boolean;
6
+ /** Whether the window is collapsed to a minimized bar (renders nothing). */
7
+ minimized?: boolean;
8
+ /** Window title shown in the header. */
9
+ title: React.ReactNode;
10
+ /** Window body content. */
11
+ children: React.ReactNode;
12
+ /** Footer content, typically action buttons. */
13
+ footer?: React.ReactNode;
14
+ /** Called when the close control is activated. */
15
+ onClose: () => void;
16
+ /** Called when the minimize control is activated. Hidden when omitted. */
17
+ onMinimize?: () => void;
18
+ /** Called when the pop-out control is activated. Hidden when omitted. */
19
+ onPopOut?: () => void;
20
+ /**
21
+ * When `true` the window floats at a draggable position. When `false`
22
+ * (default) it is centered over a dimmed overlay like a modal.
23
+ */
24
+ draggable?: boolean;
25
+ /** Whether the window can be resized from its edges/corners. Default true. */
26
+ resizable?: boolean;
27
+ /** Initial width in pixels. Default 1024. */
28
+ defaultWidth?: number;
29
+ /** Initial height in pixels. Default 600. */
30
+ defaultHeight?: number;
31
+ /** Minimum width in pixels. Default 600. */
32
+ minWidth?: number;
33
+ /** Minimum height in pixels. Default 400. */
34
+ minHeight?: number;
35
+ /** Class applied to the window container. */
36
+ className?: string;
37
+ /** Accessible label for the dialog when the title is not text. */
38
+ 'aria-label'?: string;
39
+ }
40
+ /**
41
+ * A presentational floating window shell used for pop-out editors (notes,
42
+ * letters, etc.). It can render as a centered modal-style window or as a
43
+ * draggable, freely-positioned window, and supports edge/corner resizing.
44
+ * Open/minimize/close state and footer actions are controlled via props so it
45
+ * can be wired to any store.
46
+ */
47
+ declare const FloatingWindow: React.ForwardRefExoticComponent<FloatingWindowProps & React.RefAttributes<HTMLDivElement>>;
48
+ interface MinimizedWindowProps {
49
+ /** Title shown on the minimized bar. */
50
+ title: React.ReactNode;
51
+ /** Called when the bar is activated to restore the window. */
52
+ onRestore: () => void;
53
+ /** Called when the close control is activated. */
54
+ onClose: () => void;
55
+ /** Additional class for the minimized bar. */
56
+ className?: string;
57
+ }
58
+ /**
59
+ * A compact bar representing a minimized {@link FloatingWindow}. Render this
60
+ * (typically in a docked tray) while the corresponding window is minimized.
61
+ */
62
+ declare const MinimizedWindow: React.ForwardRefExoticComponent<MinimizedWindowProps & React.RefAttributes<HTMLDivElement>>;
63
+
64
+ export { FloatingWindow, type FloatingWindowProps, MinimizedWindow, type MinimizedWindowProps };
@@ -0,0 +1,5 @@
1
+ export { FloatingWindow, MinimizedWindow } from '../../chunk-C2544GKZ.js';
2
+ import '../../chunk-ZVSW2KS6.js';
3
+ import '../../chunk-F3SOEIN2.js';
4
+ //# sourceMappingURL=index.js.map
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var chunkUOOH356R_cjs = require('../../chunk-UOOH356R.cjs');
4
+ require('../../chunk-OR5DRJCW.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "Label", {
9
+ enumerable: true,
10
+ get: function () { return chunkUOOH356R_cjs.Label; }
11
+ });
12
+ Object.defineProperty(exports, "labelVariants", {
13
+ enumerable: true,
14
+ get: function () { return chunkUOOH356R_cjs.labelVariants; }
15
+ });
16
+ //# sourceMappingURL=index.cjs.map
17
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,23 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare const labelVariants: (props?: ({
6
+ size?: "sm" | "md" | "lg" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>, VariantProps<typeof labelVariants> {
9
+ /** Marks the associated field as required, rendering an asterisk */
10
+ required?: boolean;
11
+ }
12
+ /**
13
+ * An accessible form label that associates text with a form control via `htmlFor`.
14
+ *
15
+ * @example
16
+ * ```tsx
17
+ * <Label htmlFor="email" required>Email</Label>
18
+ * <input id="email" type="email" />
19
+ * ```
20
+ */
21
+ declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
22
+
23
+ export { Label, type LabelProps, labelVariants };
@@ -0,0 +1,23 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare const labelVariants: (props?: ({
6
+ size?: "sm" | "md" | "lg" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>, VariantProps<typeof labelVariants> {
9
+ /** Marks the associated field as required, rendering an asterisk */
10
+ required?: boolean;
11
+ }
12
+ /**
13
+ * An accessible form label that associates text with a form control via `htmlFor`.
14
+ *
15
+ * @example
16
+ * ```tsx
17
+ * <Label htmlFor="email" required>Email</Label>
18
+ * <input id="email" type="email" />
19
+ * ```
20
+ */
21
+ declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
22
+
23
+ export { Label, type LabelProps, labelVariants };
@@ -0,0 +1,4 @@
1
+ export { Label, labelVariants } from '../../chunk-DUPR6FEL.js';
2
+ import '../../chunk-F3SOEIN2.js';
3
+ //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,32 @@
1
+ 'use strict';
2
+
3
+ var chunkMARLXJQO_cjs = require('../../chunk-MARLXJQO.cjs');
4
+ require('../../chunk-OXYFTCRW.cjs');
5
+ require('../../chunk-DFT7TYKL.cjs');
6
+ require('../../chunk-MSRU3XBH.cjs');
7
+ require('../../chunk-A2QVQF54.cjs');
8
+ require('../../chunk-FHY3K6PL.cjs');
9
+ require('../../chunk-IKMR2ADM.cjs');
10
+ var chunkC7RVKV25_cjs = require('../../chunk-C7RVKV25.cjs');
11
+ require('../../chunk-OR5DRJCW.cjs');
12
+
13
+
14
+
15
+ Object.defineProperty(exports, "RichTextEditor", {
16
+ enumerable: true,
17
+ get: function () { return chunkMARLXJQO_cjs.RichTextEditor; }
18
+ });
19
+ Object.defineProperty(exports, "convertAngleBracketsToMustache", {
20
+ enumerable: true,
21
+ get: function () { return chunkMARLXJQO_cjs.convertAngleBracketsToMustache; }
22
+ });
23
+ Object.defineProperty(exports, "processDictation", {
24
+ enumerable: true,
25
+ get: function () { return chunkMARLXJQO_cjs.processDictation; }
26
+ });
27
+ Object.defineProperty(exports, "isHtmlEmpty", {
28
+ enumerable: true,
29
+ get: function () { return chunkC7RVKV25_cjs.isHtmlEmpty; }
30
+ });
31
+ //# sourceMappingURL=index.cjs.map
32
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,62 @@
1
+ import * as React from 'react';
2
+ export { i as isHtmlEmpty } from '../../html-MdxqSzjD.cjs';
3
+
4
+ interface RichTextVariable {
5
+ /** Human-readable label shown in the variable menu. */
6
+ label: string;
7
+ /** The token displayed for the variable (e.g. `{{employee.name}}`). */
8
+ value: string;
9
+ /** Optional text inserted instead of `value` (e.g. an expanded group). */
10
+ insertValue?: string;
11
+ }
12
+ interface RichTextVariableGroup {
13
+ /** Group heading shown in the variable menu. */
14
+ label: string;
15
+ /** Variables belonging to the group. */
16
+ variables: RichTextVariable[];
17
+ }
18
+ interface RichTextEditorProps {
19
+ /** Current HTML value of the editor. */
20
+ value: string;
21
+ /** Called with the updated HTML whenever the content changes. */
22
+ onChange: (value: string) => void;
23
+ /** Placeholder shown when the editor is empty. */
24
+ placeholder?: string;
25
+ /** Additional class for the editor wrapper. */
26
+ className?: string;
27
+ /**
28
+ * Variable groups for the "Insert variable" menu. When omitted the variable
29
+ * menu and the `<< >>` → `{{ }}` convert button are hidden.
30
+ */
31
+ variableGroups?: RichTextVariableGroup[];
32
+ /** Enable the speech-to-text dictation button. Defaults to true. */
33
+ enableDictation?: boolean;
34
+ /** Called when dictation cannot start (replaces native alerts). */
35
+ onDictationError?: (message: string) => void;
36
+ /** Disable editing and toolbar actions. */
37
+ disabled?: boolean;
38
+ /** Accessible label for the editable region. */
39
+ 'aria-label'?: string;
40
+ }
41
+ /**
42
+ * A presentational rich-text editor with formatting, template-variable
43
+ * insertion and optional speech-to-text dictation. Content is supplied and
44
+ * surfaced via `value`/`onChange` so it can be wired to any store. The variable
45
+ * menu is data-agnostic — pass `variableGroups` to populate it.
46
+ */
47
+ declare const RichTextEditor: React.ForwardRefExoticComponent<RichTextEditorProps & React.RefAttributes<HTMLDivElement>>;
48
+
49
+ /**
50
+ * Converts spoken punctuation words (e.g. "period", "comma") into the
51
+ * corresponding characters, using lightweight context heuristics so that words
52
+ * like "time period" or "the colon" are left intact. Pure and side-effect free
53
+ * so it can be unit tested independently of the editor.
54
+ */
55
+ declare function processDictation(text: string): string;
56
+ /**
57
+ * Converts `<<field>>` (and the HTML-encoded `&lt;&lt;field&gt;&gt;`) syntax
58
+ * into mustache `{{field}}` syntax. Pure helper operating on an HTML string.
59
+ */
60
+ declare function convertAngleBracketsToMustache(html: string): string;
61
+
62
+ export { RichTextEditor, type RichTextEditorProps, type RichTextVariable, type RichTextVariableGroup, convertAngleBracketsToMustache, processDictation };
@@ -0,0 +1,62 @@
1
+ import * as React from 'react';
2
+ export { i as isHtmlEmpty } from '../../html-MdxqSzjD.js';
3
+
4
+ interface RichTextVariable {
5
+ /** Human-readable label shown in the variable menu. */
6
+ label: string;
7
+ /** The token displayed for the variable (e.g. `{{employee.name}}`). */
8
+ value: string;
9
+ /** Optional text inserted instead of `value` (e.g. an expanded group). */
10
+ insertValue?: string;
11
+ }
12
+ interface RichTextVariableGroup {
13
+ /** Group heading shown in the variable menu. */
14
+ label: string;
15
+ /** Variables belonging to the group. */
16
+ variables: RichTextVariable[];
17
+ }
18
+ interface RichTextEditorProps {
19
+ /** Current HTML value of the editor. */
20
+ value: string;
21
+ /** Called with the updated HTML whenever the content changes. */
22
+ onChange: (value: string) => void;
23
+ /** Placeholder shown when the editor is empty. */
24
+ placeholder?: string;
25
+ /** Additional class for the editor wrapper. */
26
+ className?: string;
27
+ /**
28
+ * Variable groups for the "Insert variable" menu. When omitted the variable
29
+ * menu and the `<< >>` → `{{ }}` convert button are hidden.
30
+ */
31
+ variableGroups?: RichTextVariableGroup[];
32
+ /** Enable the speech-to-text dictation button. Defaults to true. */
33
+ enableDictation?: boolean;
34
+ /** Called when dictation cannot start (replaces native alerts). */
35
+ onDictationError?: (message: string) => void;
36
+ /** Disable editing and toolbar actions. */
37
+ disabled?: boolean;
38
+ /** Accessible label for the editable region. */
39
+ 'aria-label'?: string;
40
+ }
41
+ /**
42
+ * A presentational rich-text editor with formatting, template-variable
43
+ * insertion and optional speech-to-text dictation. Content is supplied and
44
+ * surfaced via `value`/`onChange` so it can be wired to any store. The variable
45
+ * menu is data-agnostic — pass `variableGroups` to populate it.
46
+ */
47
+ declare const RichTextEditor: React.ForwardRefExoticComponent<RichTextEditorProps & React.RefAttributes<HTMLDivElement>>;
48
+
49
+ /**
50
+ * Converts spoken punctuation words (e.g. "period", "comma") into the
51
+ * corresponding characters, using lightweight context heuristics so that words
52
+ * like "time period" or "the colon" are left intact. Pure and side-effect free
53
+ * so it can be unit tested independently of the editor.
54
+ */
55
+ declare function processDictation(text: string): string;
56
+ /**
57
+ * Converts `<<field>>` (and the HTML-encoded `&lt;&lt;field&gt;&gt;`) syntax
58
+ * into mustache `{{field}}` syntax. Pure helper operating on an HTML string.
59
+ */
60
+ declare function convertAngleBracketsToMustache(html: string): string;
61
+
62
+ export { RichTextEditor, type RichTextEditorProps, type RichTextVariable, type RichTextVariableGroup, convertAngleBracketsToMustache, processDictation };
@@ -0,0 +1,11 @@
1
+ export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-AEGYWRSL.js';
2
+ import '../../chunk-BX6BTDTR.js';
3
+ import '../../chunk-3OHVUXDG.js';
4
+ import '../../chunk-PVUDXJAI.js';
5
+ import '../../chunk-ZVSW2KS6.js';
6
+ import '../../chunk-T4ME7QCT.js';
7
+ import '../../chunk-OKBR6PX4.js';
8
+ export { isHtmlEmpty } from '../../chunk-ERLPVXOV.js';
9
+ import '../../chunk-F3SOEIN2.js';
10
+ //# sourceMappingURL=index.js.map
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var chunkAFKKJEV5_cjs = require('../../chunk-AFKKJEV5.cjs');
4
+ require('../../chunk-OR5DRJCW.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "ScrollArea", {
9
+ enumerable: true,
10
+ get: function () { return chunkAFKKJEV5_cjs.ScrollArea; }
11
+ });
12
+ Object.defineProperty(exports, "scrollAreaVariants", {
13
+ enumerable: true,
14
+ get: function () { return chunkAFKKJEV5_cjs.scrollAreaVariants; }
15
+ });
16
+ //# sourceMappingURL=index.cjs.map
17
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,22 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare const scrollAreaVariants: (props?: ({
6
+ orientation?: "both" | "horizontal" | "vertical" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ interface ScrollAreaProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof scrollAreaVariants> {
9
+ }
10
+ /**
11
+ * A scrollable container with consistent, theme-aware scrollbar styling.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * <ScrollArea className="h-64">
16
+ * <LongContent />
17
+ * </ScrollArea>
18
+ * ```
19
+ */
20
+ declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaProps & React.RefAttributes<HTMLDivElement>>;
21
+
22
+ export { ScrollArea, type ScrollAreaProps, scrollAreaVariants };
@@ -0,0 +1,22 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare const scrollAreaVariants: (props?: ({
6
+ orientation?: "both" | "horizontal" | "vertical" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ interface ScrollAreaProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof scrollAreaVariants> {
9
+ }
10
+ /**
11
+ * A scrollable container with consistent, theme-aware scrollbar styling.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * <ScrollArea className="h-64">
16
+ * <LongContent />
17
+ * </ScrollArea>
18
+ * ```
19
+ */
20
+ declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaProps & React.RefAttributes<HTMLDivElement>>;
21
+
22
+ export { ScrollArea, type ScrollAreaProps, scrollAreaVariants };
@@ -0,0 +1,4 @@
1
+ export { ScrollArea, scrollAreaVariants } from '../../chunk-BIT27PPD.js';
2
+ import '../../chunk-F3SOEIN2.js';
3
+ //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var chunkOXYFTCRW_cjs = require('../../chunk-OXYFTCRW.cjs');
4
+ require('../../chunk-OR5DRJCW.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "Separator", {
9
+ enumerable: true,
10
+ get: function () { return chunkOXYFTCRW_cjs.Separator; }
11
+ });
12
+ Object.defineProperty(exports, "separatorVariants", {
13
+ enumerable: true,
14
+ get: function () { return chunkOXYFTCRW_cjs.separatorVariants; }
15
+ });
16
+ //# sourceMappingURL=index.cjs.map
17
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,27 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare const separatorVariants: (props?: ({
6
+ orientation?: "horizontal" | "vertical" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ interface SeparatorProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof separatorVariants> {
9
+ /**
10
+ * Whether the separator is purely decorative. When `true` (default) the
11
+ * separator is hidden from assistive technologies. Set to `false` when the
12
+ * separator conveys meaningful structure.
13
+ */
14
+ decorative?: boolean;
15
+ }
16
+ /**
17
+ * A visual or semantic divider between content.
18
+ *
19
+ * @example
20
+ * ```tsx
21
+ * <Separator />
22
+ * <Separator orientation="vertical" />
23
+ * ```
24
+ */
25
+ declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
26
+
27
+ export { Separator, type SeparatorProps, separatorVariants };
@@ -0,0 +1,27 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare const separatorVariants: (props?: ({
6
+ orientation?: "horizontal" | "vertical" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ interface SeparatorProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof separatorVariants> {
9
+ /**
10
+ * Whether the separator is purely decorative. When `true` (default) the
11
+ * separator is hidden from assistive technologies. Set to `false` when the
12
+ * separator conveys meaningful structure.
13
+ */
14
+ decorative?: boolean;
15
+ }
16
+ /**
17
+ * A visual or semantic divider between content.
18
+ *
19
+ * @example
20
+ * ```tsx
21
+ * <Separator />
22
+ * <Separator orientation="vertical" />
23
+ * ```
24
+ */
25
+ declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
26
+
27
+ export { Separator, type SeparatorProps, separatorVariants };
@@ -0,0 +1,4 @@
1
+ export { Separator, separatorVariants } from '../../chunk-BX6BTDTR.js';
2
+ import '../../chunk-F3SOEIN2.js';
3
+ //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,48 @@
1
+ 'use strict';
2
+
3
+ var chunkKJ5BSGEO_cjs = require('../../chunk-KJ5BSGEO.cjs');
4
+ require('../../chunk-NNEFAUHV.cjs');
5
+ require('../../chunk-FHY3K6PL.cjs');
6
+ require('../../chunk-SCV7C55E.cjs');
7
+ require('../../chunk-OR5DRJCW.cjs');
8
+
9
+
10
+
11
+ Object.defineProperty(exports, "Sheet", {
12
+ enumerable: true,
13
+ get: function () { return chunkKJ5BSGEO_cjs.Sheet; }
14
+ });
15
+ Object.defineProperty(exports, "SheetBody", {
16
+ enumerable: true,
17
+ get: function () { return chunkKJ5BSGEO_cjs.SheetBody; }
18
+ });
19
+ Object.defineProperty(exports, "SheetClose", {
20
+ enumerable: true,
21
+ get: function () { return chunkKJ5BSGEO_cjs.SheetClose; }
22
+ });
23
+ Object.defineProperty(exports, "SheetDescription", {
24
+ enumerable: true,
25
+ get: function () { return chunkKJ5BSGEO_cjs.SheetDescription; }
26
+ });
27
+ Object.defineProperty(exports, "SheetFooter", {
28
+ enumerable: true,
29
+ get: function () { return chunkKJ5BSGEO_cjs.SheetFooter; }
30
+ });
31
+ Object.defineProperty(exports, "SheetHeader", {
32
+ enumerable: true,
33
+ get: function () { return chunkKJ5BSGEO_cjs.SheetHeader; }
34
+ });
35
+ Object.defineProperty(exports, "SheetTitle", {
36
+ enumerable: true,
37
+ get: function () { return chunkKJ5BSGEO_cjs.SheetTitle; }
38
+ });
39
+ Object.defineProperty(exports, "sheetContentVariants", {
40
+ enumerable: true,
41
+ get: function () { return chunkKJ5BSGEO_cjs.sheetContentVariants; }
42
+ });
43
+ Object.defineProperty(exports, "sheetOverlayVariants", {
44
+ enumerable: true,
45
+ get: function () { return chunkKJ5BSGEO_cjs.sheetOverlayVariants; }
46
+ });
47
+ //# sourceMappingURL=index.cjs.map
48
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}