@mieweb/ui 0.7.3-dev.13 → 0.7.3-dev.15

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 (113) hide show
  1. package/dist/{chunk-WUPT5SUN.js → chunk-2DP6BZ7A.js} +46 -6
  2. package/dist/chunk-2DP6BZ7A.js.map +1 -0
  3. package/dist/{chunk-ERTT36K3.js → chunk-33TQ25IK.js} +7 -7
  4. package/dist/{chunk-ERTT36K3.js.map → chunk-33TQ25IK.js.map} +1 -1
  5. package/dist/{chunk-UCY5YD6F.cjs → chunk-35HHCXWC.cjs} +36 -36
  6. package/dist/{chunk-UCY5YD6F.cjs.map → chunk-35HHCXWC.cjs.map} +1 -1
  7. package/dist/{chunk-FXTNCCD2.js → chunk-3IMM2PM4.js} +20 -4
  8. package/dist/chunk-3IMM2PM4.js.map +1 -0
  9. package/dist/{chunk-T7SDFBUT.cjs → chunk-56QJHQ5C.cjs} +17 -6
  10. package/dist/chunk-56QJHQ5C.cjs.map +1 -0
  11. package/dist/{chunk-DMIQS5KK.js → chunk-753Z3NXL.js} +3 -3
  12. package/dist/{chunk-DMIQS5KK.js.map → chunk-753Z3NXL.js.map} +1 -1
  13. package/dist/{chunk-SMGNJGFT.cjs → chunk-7AECNMYV.cjs} +5 -5
  14. package/dist/{chunk-SMGNJGFT.cjs.map → chunk-7AECNMYV.cjs.map} +1 -1
  15. package/dist/{chunk-PMHS4BJF.js → chunk-A5YOIJKL.js} +5 -5
  16. package/dist/{chunk-PMHS4BJF.js.map → chunk-A5YOIJKL.js.map} +1 -1
  17. package/dist/{chunk-N7JVAXHD.cjs → chunk-BOW7ZGI2.cjs} +4 -4
  18. package/dist/{chunk-N7JVAXHD.cjs.map → chunk-BOW7ZGI2.cjs.map} +1 -1
  19. package/dist/{chunk-NHR33YWI.cjs → chunk-BSDBI6H7.cjs} +17 -6
  20. package/dist/chunk-BSDBI6H7.cjs.map +1 -0
  21. package/dist/{chunk-CLT4ASY7.js → chunk-EPSB4WTL.js} +3 -3
  22. package/dist/{chunk-CLT4ASY7.js.map → chunk-EPSB4WTL.js.map} +1 -1
  23. package/dist/{chunk-G6GJXVQC.cjs → chunk-G7EQ3JPX.cjs} +5 -5
  24. package/dist/{chunk-G6GJXVQC.cjs.map → chunk-G7EQ3JPX.cjs.map} +1 -1
  25. package/dist/{chunk-PCWIN32O.cjs → chunk-GQVL2JKQ.cjs} +4 -4
  26. package/dist/{chunk-PCWIN32O.cjs.map → chunk-GQVL2JKQ.cjs.map} +1 -1
  27. package/dist/{chunk-6H7NO5XX.js → chunk-GXODR6V4.js} +3 -3
  28. package/dist/{chunk-6H7NO5XX.js.map → chunk-GXODR6V4.js.map} +1 -1
  29. package/dist/{chunk-GP5CRU2I.js → chunk-H3YO5GBM.js} +17 -6
  30. package/dist/chunk-H3YO5GBM.js.map +1 -0
  31. package/dist/{chunk-UHVNVZ7L.js → chunk-IILJGFI5.js} +5 -4
  32. package/dist/chunk-IILJGFI5.js.map +1 -0
  33. package/dist/{chunk-LFSP53TY.cjs → chunk-KVE7PQ5P.cjs} +7 -7
  34. package/dist/{chunk-LFSP53TY.cjs.map → chunk-KVE7PQ5P.cjs.map} +1 -1
  35. package/dist/{chunk-EM5FMB7L.cjs → chunk-LQHI44OZ.cjs} +13 -13
  36. package/dist/{chunk-EM5FMB7L.cjs.map → chunk-LQHI44OZ.cjs.map} +1 -1
  37. package/dist/{chunk-UZJDXFQE.cjs → chunk-LRFH6KM3.cjs} +46 -6
  38. package/dist/chunk-LRFH6KM3.cjs.map +1 -0
  39. package/dist/{chunk-GV3DE6KR.js → chunk-LZU7YBXG.js} +3 -3
  40. package/dist/{chunk-GV3DE6KR.js.map → chunk-LZU7YBXG.js.map} +1 -1
  41. package/dist/{chunk-ICMR3TYV.js → chunk-QHTDWIED.js} +3 -3
  42. package/dist/{chunk-ICMR3TYV.js.map → chunk-QHTDWIED.js.map} +1 -1
  43. package/dist/{chunk-3KY5W3ZN.cjs → chunk-U5TTXN45.cjs} +9 -8
  44. package/dist/chunk-U5TTXN45.cjs.map +1 -0
  45. package/dist/{chunk-DM57NTOQ.js → chunk-XBKOZRDO.js} +17 -6
  46. package/dist/chunk-XBKOZRDO.js.map +1 -0
  47. package/dist/{chunk-F7CQ5RO7.cjs → chunk-Z5S5JEJD.cjs} +20 -3
  48. package/dist/chunk-Z5S5JEJD.cjs.map +1 -0
  49. package/dist/components/Alert/index.d.cts +1 -1
  50. package/dist/components/Alert/index.d.ts +1 -1
  51. package/dist/components/Autocomplete/index.cjs +3 -3
  52. package/dist/components/Autocomplete/index.d.cts +20 -3
  53. package/dist/components/Autocomplete/index.d.ts +20 -3
  54. package/dist/components/Autocomplete/index.js +2 -2
  55. package/dist/components/Badge/index.d.cts +1 -1
  56. package/dist/components/Badge/index.d.ts +1 -1
  57. package/dist/components/Card/index.d.cts +1 -1
  58. package/dist/components/Card/index.d.ts +1 -1
  59. package/dist/components/Checkbox/index.cjs +5 -5
  60. package/dist/components/Checkbox/index.js +2 -2
  61. package/dist/components/DateInput/index.cjs +3 -3
  62. package/dist/components/DateInput/index.d.cts +1 -0
  63. package/dist/components/DateInput/index.d.ts +1 -0
  64. package/dist/components/DateInput/index.js +2 -2
  65. package/dist/components/Dropdown/index.cjs +8 -8
  66. package/dist/components/Dropdown/index.js +2 -2
  67. package/dist/components/Input/index.cjs +10 -6
  68. package/dist/components/Input/index.d.cts +13 -1
  69. package/dist/components/Input/index.d.ts +13 -1
  70. package/dist/components/Input/index.js +1 -1
  71. package/dist/components/MediaEditor/index.cjs +9 -9
  72. package/dist/components/MediaEditor/index.js +4 -4
  73. package/dist/components/PhoneInput/index.cjs +4 -4
  74. package/dist/components/PhoneInput/index.js +2 -2
  75. package/dist/components/Progress/index.d.cts +1 -1
  76. package/dist/components/Progress/index.d.ts +1 -1
  77. package/dist/components/Radio/index.cjs +5 -5
  78. package/dist/components/Radio/index.js +2 -2
  79. package/dist/components/RichTextEditor/index.cjs +6 -6
  80. package/dist/components/RichTextEditor/index.js +3 -3
  81. package/dist/components/Select/index.cjs +5 -3
  82. package/dist/components/Select/index.d.cts +10 -0
  83. package/dist/components/Select/index.d.ts +10 -0
  84. package/dist/components/Select/index.js +3 -1
  85. package/dist/components/Slider/index.d.cts +2 -2
  86. package/dist/components/Slider/index.d.ts +2 -2
  87. package/dist/components/Spinner/index.d.cts +1 -1
  88. package/dist/components/Spinner/index.d.ts +1 -1
  89. package/dist/components/SuperChat/index.cjs +6 -6
  90. package/dist/components/SuperChat/index.js +2 -2
  91. package/dist/components/Text/index.d.cts +1 -1
  92. package/dist/components/Text/index.d.ts +1 -1
  93. package/dist/components/Textarea/index.cjs +5 -3
  94. package/dist/components/Textarea/index.d.cts +8 -0
  95. package/dist/components/Textarea/index.d.ts +8 -0
  96. package/dist/components/Textarea/index.js +3 -1
  97. package/dist/esheet.cjs +9 -9
  98. package/dist/esheet.js +6 -6
  99. package/dist/index.cjs +295 -291
  100. package/dist/index.d.cts +6 -6
  101. package/dist/index.d.ts +6 -6
  102. package/dist/index.js +20 -20
  103. package/package.json +1 -1
  104. package/dist/chunk-3KY5W3ZN.cjs.map +0 -1
  105. package/dist/chunk-DM57NTOQ.js.map +0 -1
  106. package/dist/chunk-F7CQ5RO7.cjs.map +0 -1
  107. package/dist/chunk-FXTNCCD2.js.map +0 -1
  108. package/dist/chunk-GP5CRU2I.js.map +0 -1
  109. package/dist/chunk-NHR33YWI.cjs.map +0 -1
  110. package/dist/chunk-T7SDFBUT.cjs.map +0 -1
  111. package/dist/chunk-UHVNVZ7L.js.map +0 -1
  112. package/dist/chunk-UZJDXFQE.cjs.map +0 -1
  113. package/dist/chunk-WUPT5SUN.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { inputVariants } from '../Input/index.js';
4
+ import { inputVariants, RequiredMarkVariant } from '../Input/index.js';
5
5
  import 'class-variance-authority/types';
6
6
 
7
7
  interface AutocompleteProps<T> extends Pick<VariantProps<typeof inputVariants>, 'size'> {
@@ -41,6 +41,23 @@ interface AutocompleteProps<T> extends Pick<VariantProps<typeof inputVariants>,
41
41
  clearOnSelect?: boolean;
42
42
  /** Disable the input. */
43
43
  disabled?: boolean;
44
+ /** Label for the input. */
45
+ label?: string;
46
+ /**
47
+ * How the label is rendered.
48
+ * - `stacked` (default): label above the input.
49
+ * - `floating`: label rests inside the input like a placeholder and floats
50
+ * to the top of the field when focused or filled. Ignores `placeholder`.
51
+ */
52
+ labelVariant?: 'stacked' | 'floating';
53
+ /** Whether the input is required. */
54
+ required?: boolean;
55
+ /**
56
+ * Color of the required asterisk.
57
+ * - `default`: destructive (hard requirement).
58
+ * - `warning`: warning color (soft requirement / recommended).
59
+ */
60
+ requiredVariant?: RequiredMarkVariant;
44
61
  /** Accessible label for the combobox input. */
45
62
  'aria-label'?: string;
46
63
  /** Class applied to the outer wrapper. */
@@ -50,7 +67,7 @@ interface AutocompleteProps<T> extends Pick<VariantProps<typeof inputVariants>,
50
67
  /** Forwarded ref to the underlying input. */
51
68
  inputRef?: React.Ref<HTMLInputElement>;
52
69
  /** Additional props forwarded to the input element. */
53
- inputProps?: Omit<React.InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultValue' | 'onChange' | 'size' | 'placeholder' | 'disabled' | 'aria-label'>;
70
+ inputProps?: Omit<React.InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultValue' | 'onChange' | 'size' | 'placeholder' | 'disabled' | 'required' | 'aria-label'>;
54
71
  }
55
72
  /**
56
73
  * A data-agnostic, presentational combobox. It renders a search input with a
@@ -69,7 +86,7 @@ interface AutocompleteProps<T> extends Pick<VariantProps<typeof inputVariants>,
69
86
  * />
70
87
  * ```
71
88
  */
72
- declare function Autocomplete<T>({ items, onSelect, getItemKey, renderItem, filter, value: controlledValue, defaultValue, onValueChange, placeholder, emptyMessage, createLabel, onCreate, minQueryLength, clearOnSelect, disabled, size, className, inputClassName, inputRef, inputProps, 'aria-label': ariaLabel, }: AutocompleteProps<T>): react_jsx_runtime.JSX.Element;
89
+ declare function Autocomplete<T>({ items, onSelect, getItemKey, renderItem, filter, value: controlledValue, defaultValue, onValueChange, placeholder, emptyMessage, createLabel, onCreate, minQueryLength, clearOnSelect, disabled, label, labelVariant, required, requiredVariant, size, className, inputClassName, inputRef, inputProps, 'aria-label': ariaLabel, }: AutocompleteProps<T>): react_jsx_runtime.JSX.Element;
73
90
  declare namespace Autocomplete {
74
91
  var displayName: string;
75
92
  }
@@ -1,6 +1,6 @@
1
- export { Autocomplete } from '../../chunk-WUPT5SUN.js';
1
+ export { Autocomplete } from '../../chunk-2DP6BZ7A.js';
2
2
  import '../../chunk-6NZXWKUE.js';
3
- import '../../chunk-FXTNCCD2.js';
3
+ import '../../chunk-3IMM2PM4.js';
4
4
  import '../../chunk-62ZOA6PX.js';
5
5
  import '../../chunk-BOOJDRJO.js';
6
6
  import '../../chunk-TQONQSJO.js';
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const badgeVariants: (props?: ({
6
- variant?: "secondary" | "outline" | "danger" | "default" | "success" | "warning" | null | undefined;
6
+ variant?: "secondary" | "outline" | "danger" | "default" | "warning" | "success" | null | undefined;
7
7
  size?: "sm" | "md" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const badgeVariants: (props?: ({
6
- variant?: "secondary" | "outline" | "danger" | "default" | "success" | "warning" | null | undefined;
6
+ variant?: "secondary" | "outline" | "danger" | "default" | "warning" | "success" | null | undefined;
7
7
  size?: "sm" | "md" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
@@ -10,7 +10,7 @@ declare const cardVariants: (props?: ({
10
10
  orientation?: "horizontal" | "vertical" | null | undefined;
11
11
  } & class_variance_authority_types.ClassProp) | undefined) => string;
12
12
  declare const cardAccentVariants: (props?: ({
13
- color?: "primary" | "success" | "info" | "warning" | "destructive" | null | undefined;
13
+ color?: "primary" | "warning" | "success" | "info" | "destructive" | null | undefined;
14
14
  } & class_variance_authority_types.ClassProp) | undefined) => string;
15
15
  interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
16
16
  /** Semantic HTML element to render as */
@@ -10,7 +10,7 @@ declare const cardVariants: (props?: ({
10
10
  orientation?: "horizontal" | "vertical" | null | undefined;
11
11
  } & class_variance_authority_types.ClassProp) | undefined) => string;
12
12
  declare const cardAccentVariants: (props?: ({
13
- color?: "primary" | "success" | "info" | "warning" | "destructive" | null | undefined;
13
+ color?: "primary" | "warning" | "success" | "info" | "destructive" | null | undefined;
14
14
  } & class_variance_authority_types.ClassProp) | undefined) => string;
15
15
  interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
16
16
  /** Semantic HTML element to render as */
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
 
3
- var chunkSMGNJGFT_cjs = require('../../chunk-SMGNJGFT.cjs');
4
- require('../../chunk-F7CQ5RO7.cjs');
3
+ var chunk7AECNMYV_cjs = require('../../chunk-7AECNMYV.cjs');
4
+ require('../../chunk-Z5S5JEJD.cjs');
5
5
  require('../../chunk-S5RVSXDV.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "Checkbox", {
10
10
  enumerable: true,
11
- get: function () { return chunkSMGNJGFT_cjs.Checkbox; }
11
+ get: function () { return chunk7AECNMYV_cjs.Checkbox; }
12
12
  });
13
13
  Object.defineProperty(exports, "CheckboxGroup", {
14
14
  enumerable: true,
15
- get: function () { return chunkSMGNJGFT_cjs.CheckboxGroup; }
15
+ get: function () { return chunk7AECNMYV_cjs.CheckboxGroup; }
16
16
  });
17
17
  Object.defineProperty(exports, "checkboxVariants", {
18
18
  enumerable: true,
19
- get: function () { return chunkSMGNJGFT_cjs.checkboxVariants; }
19
+ get: function () { return chunk7AECNMYV_cjs.checkboxVariants; }
20
20
  });
21
21
  //# sourceMappingURL=index.cjs.map
22
22
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- export { Checkbox, CheckboxGroup, checkboxVariants } from '../../chunk-DMIQS5KK.js';
2
- import '../../chunk-FXTNCCD2.js';
1
+ export { Checkbox, CheckboxGroup, checkboxVariants } from '../../chunk-753Z3NXL.js';
2
+ import '../../chunk-3IMM2PM4.js';
3
3
  import '../../chunk-TQONQSJO.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunk3KY5W3ZN_cjs = require('../../chunk-3KY5W3ZN.cjs');
3
+ var chunkU5TTXN45_cjs = require('../../chunk-U5TTXN45.cjs');
4
4
  require('../../chunk-I44YNYI6.cjs');
5
- require('../../chunk-F7CQ5RO7.cjs');
5
+ require('../../chunk-Z5S5JEJD.cjs');
6
6
  require('../../chunk-MYFZYUPR.cjs');
7
7
  require('../../chunk-CW75IKA6.cjs');
8
8
  require('../../chunk-S5RVSXDV.cjs');
@@ -11,7 +11,7 @@ require('../../chunk-S5RVSXDV.cjs');
11
11
 
12
12
  Object.defineProperty(exports, "DateInput", {
13
13
  enumerable: true,
14
- get: function () { return chunk3KY5W3ZN_cjs.DateInput; }
14
+ get: function () { return chunkU5TTXN45_cjs.DateInput; }
15
15
  });
16
16
  //# sourceMappingURL=index.cjs.map
17
17
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { InputProps } from '../Input/index.cjs';
3
+ import 'react/jsx-runtime';
3
4
  import 'class-variance-authority/types';
4
5
  import 'class-variance-authority';
5
6
 
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { InputProps } from '../Input/index.js';
3
+ import 'react/jsx-runtime';
3
4
  import 'class-variance-authority/types';
4
5
  import 'class-variance-authority';
5
6
 
@@ -1,6 +1,6 @@
1
- export { DateInput } from '../../chunk-UHVNVZ7L.js';
1
+ export { DateInput } from '../../chunk-IILJGFI5.js';
2
2
  import '../../chunk-6NZXWKUE.js';
3
- import '../../chunk-FXTNCCD2.js';
3
+ import '../../chunk-3IMM2PM4.js';
4
4
  import '../../chunk-BOOJDRJO.js';
5
5
  import '../../chunk-RC2YMOMS.js';
6
6
  import '../../chunk-TQONQSJO.js';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkN7JVAXHD_cjs = require('../../chunk-N7JVAXHD.cjs');
3
+ var chunkBOW7ZGI2_cjs = require('../../chunk-BOW7ZGI2.cjs');
4
4
  require('../../chunk-I44YNYI6.cjs');
5
- require('../../chunk-F7CQ5RO7.cjs');
5
+ require('../../chunk-Z5S5JEJD.cjs');
6
6
  require('../../chunk-FHY3K6PL.cjs');
7
7
  require('../../chunk-FSGEDDF2.cjs');
8
8
  require('../../chunk-MYFZYUPR.cjs');
@@ -12,27 +12,27 @@ require('../../chunk-S5RVSXDV.cjs');
12
12
 
13
13
  Object.defineProperty(exports, "Dropdown", {
14
14
  enumerable: true,
15
- get: function () { return chunkN7JVAXHD_cjs.Dropdown; }
15
+ get: function () { return chunkBOW7ZGI2_cjs.Dropdown; }
16
16
  });
17
17
  Object.defineProperty(exports, "DropdownContent", {
18
18
  enumerable: true,
19
- get: function () { return chunkN7JVAXHD_cjs.DropdownContent; }
19
+ get: function () { return chunkBOW7ZGI2_cjs.DropdownContent; }
20
20
  });
21
21
  Object.defineProperty(exports, "DropdownHeader", {
22
22
  enumerable: true,
23
- get: function () { return chunkN7JVAXHD_cjs.DropdownHeader; }
23
+ get: function () { return chunkBOW7ZGI2_cjs.DropdownHeader; }
24
24
  });
25
25
  Object.defineProperty(exports, "DropdownItem", {
26
26
  enumerable: true,
27
- get: function () { return chunkN7JVAXHD_cjs.DropdownItem; }
27
+ get: function () { return chunkBOW7ZGI2_cjs.DropdownItem; }
28
28
  });
29
29
  Object.defineProperty(exports, "DropdownLabel", {
30
30
  enumerable: true,
31
- get: function () { return chunkN7JVAXHD_cjs.DropdownLabel; }
31
+ get: function () { return chunkBOW7ZGI2_cjs.DropdownLabel; }
32
32
  });
33
33
  Object.defineProperty(exports, "DropdownSeparator", {
34
34
  enumerable: true,
35
- get: function () { return chunkN7JVAXHD_cjs.DropdownSeparator; }
35
+ get: function () { return chunkBOW7ZGI2_cjs.DropdownSeparator; }
36
36
  });
37
37
  //# sourceMappingURL=index.cjs.map
38
38
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,6 @@
1
- export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator } from '../../chunk-GV3DE6KR.js';
1
+ export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator } from '../../chunk-LZU7YBXG.js';
2
2
  import '../../chunk-6NZXWKUE.js';
3
- import '../../chunk-FXTNCCD2.js';
3
+ import '../../chunk-3IMM2PM4.js';
4
4
  import '../../chunk-T4ME7QCT.js';
5
5
  import '../../chunk-62ZOA6PX.js';
6
6
  import '../../chunk-BOOJDRJO.js';
@@ -1,30 +1,34 @@
1
1
  'use strict';
2
2
 
3
3
  require('../../chunk-I44YNYI6.cjs');
4
- var chunkF7CQ5RO7_cjs = require('../../chunk-F7CQ5RO7.cjs');
4
+ var chunkZ5S5JEJD_cjs = require('../../chunk-Z5S5JEJD.cjs');
5
5
  require('../../chunk-S5RVSXDV.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "Input", {
10
10
  enumerable: true,
11
- get: function () { return chunkF7CQ5RO7_cjs.Input; }
11
+ get: function () { return chunkZ5S5JEJD_cjs.Input; }
12
+ });
13
+ Object.defineProperty(exports, "RequiredMark", {
14
+ enumerable: true,
15
+ get: function () { return chunkZ5S5JEJD_cjs.RequiredMark; }
12
16
  });
13
17
  Object.defineProperty(exports, "floatingGroupLabelVariants", {
14
18
  enumerable: true,
15
- get: function () { return chunkF7CQ5RO7_cjs.floatingGroupLabelVariants; }
19
+ get: function () { return chunkZ5S5JEJD_cjs.floatingGroupLabelVariants; }
16
20
  });
17
21
  Object.defineProperty(exports, "floatingGroupVariants", {
18
22
  enumerable: true,
19
- get: function () { return chunkF7CQ5RO7_cjs.floatingGroupVariants; }
23
+ get: function () { return chunkZ5S5JEJD_cjs.floatingGroupVariants; }
20
24
  });
21
25
  Object.defineProperty(exports, "floatingLabelVariants", {
22
26
  enumerable: true,
23
- get: function () { return chunkF7CQ5RO7_cjs.floatingLabelVariants; }
27
+ get: function () { return chunkZ5S5JEJD_cjs.floatingLabelVariants; }
24
28
  });
25
29
  Object.defineProperty(exports, "inputVariants", {
26
30
  enumerable: true,
27
- get: function () { return chunkF7CQ5RO7_cjs.inputVariants; }
31
+ get: function () { return chunkZ5S5JEJD_cjs.inputVariants; }
28
32
  });
29
33
  //# sourceMappingURL=index.cjs.map
30
34
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,4 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
3
  import * as React from 'react';
3
4
  import { VariantProps } from 'class-variance-authority';
@@ -39,7 +40,18 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, '
39
40
  hideLabel?: boolean;
40
41
  /** Whether the input is required */
41
42
  required?: boolean;
43
+ /**
44
+ * Color of the required asterisk.
45
+ * - `default`: destructive (hard requirement).
46
+ * - `warning`: warning color (soft requirement / recommended).
47
+ */
48
+ requiredVariant?: RequiredMarkVariant;
42
49
  }
50
+ type RequiredMarkVariant = 'default' | 'warning';
51
+ /** Asterisk rendered next to a label when the field is required. */
52
+ declare function RequiredMark({ variant, }: {
53
+ variant?: RequiredMarkVariant;
54
+ }): react_jsx_runtime.JSX.Element;
43
55
  /**
44
56
  * A styled input component with support for labels, errors, and helper text.
45
57
  *
@@ -52,4 +64,4 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, '
52
64
  */
53
65
  declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
54
66
 
55
- export { Input, type InputProps, floatingGroupLabelVariants, floatingGroupVariants, floatingLabelVariants, inputVariants };
67
+ export { Input, type InputProps, RequiredMark, type RequiredMarkVariant, floatingGroupLabelVariants, floatingGroupVariants, floatingLabelVariants, inputVariants };
@@ -1,3 +1,4 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
3
  import * as React from 'react';
3
4
  import { VariantProps } from 'class-variance-authority';
@@ -39,7 +40,18 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, '
39
40
  hideLabel?: boolean;
40
41
  /** Whether the input is required */
41
42
  required?: boolean;
43
+ /**
44
+ * Color of the required asterisk.
45
+ * - `default`: destructive (hard requirement).
46
+ * - `warning`: warning color (soft requirement / recommended).
47
+ */
48
+ requiredVariant?: RequiredMarkVariant;
42
49
  }
50
+ type RequiredMarkVariant = 'default' | 'warning';
51
+ /** Asterisk rendered next to a label when the field is required. */
52
+ declare function RequiredMark({ variant, }: {
53
+ variant?: RequiredMarkVariant;
54
+ }): react_jsx_runtime.JSX.Element;
43
55
  /**
44
56
  * A styled input component with support for labels, errors, and helper text.
45
57
  *
@@ -52,4 +64,4 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, '
52
64
  */
53
65
  declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
54
66
 
55
- export { Input, type InputProps, floatingGroupLabelVariants, floatingGroupVariants, floatingLabelVariants, inputVariants };
67
+ export { Input, type InputProps, RequiredMark, type RequiredMarkVariant, floatingGroupLabelVariants, floatingGroupVariants, floatingLabelVariants, inputVariants };
@@ -1,5 +1,5 @@
1
1
  import '../../chunk-6NZXWKUE.js';
2
- export { Input, floatingGroupLabelVariants, floatingGroupVariants, floatingLabelVariants, inputVariants } from '../../chunk-FXTNCCD2.js';
2
+ export { Input, RequiredMark, floatingGroupLabelVariants, floatingGroupVariants, floatingLabelVariants, inputVariants } from '../../chunk-3IMM2PM4.js';
3
3
  import '../../chunk-TQONQSJO.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkEM5FMB7L_cjs = require('../../chunk-EM5FMB7L.cjs');
3
+ var chunkLQHI44OZ_cjs = require('../../chunk-LQHI44OZ.cjs');
4
4
  require('../../chunk-YMHOF6WA.cjs');
5
5
  require('../../chunk-JP5SGIXA.cjs');
6
- require('../../chunk-SMGNJGFT.cjs');
7
- require('../../chunk-T7SDFBUT.cjs');
6
+ require('../../chunk-7AECNMYV.cjs');
7
+ require('../../chunk-56QJHQ5C.cjs');
8
8
  require('../../chunk-P2VTQ5AR.cjs');
9
9
  require('../../chunk-I44YNYI6.cjs');
10
- require('../../chunk-F7CQ5RO7.cjs');
10
+ require('../../chunk-Z5S5JEJD.cjs');
11
11
  require('../../chunk-RDGRKYQ5.cjs');
12
12
  require('../../chunk-NPKPCYAT.cjs');
13
13
  require('../../chunk-NUFUV43P.cjs');
@@ -23,23 +23,23 @@ require('../../chunk-SCV7C55E.cjs');
23
23
 
24
24
  Object.defineProperty(exports, "FillerWordsModal", {
25
25
  enumerable: true,
26
- get: function () { return chunkEM5FMB7L_cjs.FillerWordsModal; }
26
+ get: function () { return chunkLQHI44OZ_cjs.FillerWordsModal; }
27
27
  });
28
28
  Object.defineProperty(exports, "MediaEditor", {
29
29
  enumerable: true,
30
- get: function () { return chunkEM5FMB7L_cjs.MediaEditor; }
30
+ get: function () { return chunkLQHI44OZ_cjs.MediaEditor; }
31
31
  });
32
32
  Object.defineProperty(exports, "SilenceSettingsModal", {
33
33
  enumerable: true,
34
- get: function () { return chunkEM5FMB7L_cjs.SilenceSettingsModal; }
34
+ get: function () { return chunkLQHI44OZ_cjs.SilenceSettingsModal; }
35
35
  });
36
36
  Object.defineProperty(exports, "SpeedMarkerMenu", {
37
37
  enumerable: true,
38
- get: function () { return chunkEM5FMB7L_cjs.SpeedMarkerMenu; }
38
+ get: function () { return chunkLQHI44OZ_cjs.SpeedMarkerMenu; }
39
39
  });
40
40
  Object.defineProperty(exports, "WordEditorModal", {
41
41
  enumerable: true,
42
- get: function () { return chunkEM5FMB7L_cjs.WordEditorModal; }
42
+ get: function () { return chunkLQHI44OZ_cjs.WordEditorModal; }
43
43
  });
44
44
  //# sourceMappingURL=index.cjs.map
45
45
  //# sourceMappingURL=index.cjs.map
@@ -1,11 +1,11 @@
1
- export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from '../../chunk-PMHS4BJF.js';
1
+ export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from '../../chunk-A5YOIJKL.js';
2
2
  import '../../chunk-OTQ72WX3.js';
3
3
  import '../../chunk-EMMYFHOT.js';
4
- import '../../chunk-DMIQS5KK.js';
5
- import '../../chunk-DM57NTOQ.js';
4
+ import '../../chunk-753Z3NXL.js';
5
+ import '../../chunk-XBKOZRDO.js';
6
6
  import '../../chunk-XMCIXHGH.js';
7
7
  import '../../chunk-6NZXWKUE.js';
8
- import '../../chunk-FXTNCCD2.js';
8
+ import '../../chunk-3IMM2PM4.js';
9
9
  import '../../chunk-D2GID3YK.js';
10
10
  import '../../chunk-UUI7WXI5.js';
11
11
  import '../../chunk-6CGM5H4J.js';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkPCWIN32O_cjs = require('../../chunk-PCWIN32O.cjs');
3
+ var chunkGQVL2JKQ_cjs = require('../../chunk-GQVL2JKQ.cjs');
4
4
  require('../../chunk-I44YNYI6.cjs');
5
- require('../../chunk-F7CQ5RO7.cjs');
5
+ require('../../chunk-Z5S5JEJD.cjs');
6
6
  require('../../chunk-L7YQBSEL.cjs');
7
7
  require('../../chunk-S5RVSXDV.cjs');
8
8
 
@@ -10,11 +10,11 @@ require('../../chunk-S5RVSXDV.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "PhoneInput", {
12
12
  enumerable: true,
13
- get: function () { return chunkPCWIN32O_cjs.PhoneInput; }
13
+ get: function () { return chunkGQVL2JKQ_cjs.PhoneInput; }
14
14
  });
15
15
  Object.defineProperty(exports, "PhoneInputGroup", {
16
16
  enumerable: true,
17
- get: function () { return chunkPCWIN32O_cjs.PhoneInputGroup; }
17
+ get: function () { return chunkGQVL2JKQ_cjs.PhoneInputGroup; }
18
18
  });
19
19
  //# sourceMappingURL=index.cjs.map
20
20
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,6 @@
1
- export { PhoneInput, PhoneInputGroup } from '../../chunk-6H7NO5XX.js';
1
+ export { PhoneInput, PhoneInputGroup } from '../../chunk-GXODR6V4.js';
2
2
  import '../../chunk-6NZXWKUE.js';
3
- import '../../chunk-FXTNCCD2.js';
3
+ import '../../chunk-3IMM2PM4.js';
4
4
  import '../../chunk-ZVPJ2MH6.js';
5
5
  import '../../chunk-TQONQSJO.js';
6
6
  //# sourceMappingURL=index.js.map
@@ -6,7 +6,7 @@ declare const progressBarTrackVariants: (props?: ({
6
6
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  declare const progressBarFillVariants: (props?: ({
9
- variant?: "danger" | "default" | "success" | "warning" | null | undefined;
9
+ variant?: "danger" | "default" | "warning" | "success" | null | undefined;
10
10
  animated?: boolean | null | undefined;
11
11
  striped?: boolean | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string;
@@ -6,7 +6,7 @@ declare const progressBarTrackVariants: (props?: ({
6
6
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  declare const progressBarFillVariants: (props?: ({
9
- variant?: "danger" | "default" | "success" | "warning" | null | undefined;
9
+ variant?: "danger" | "default" | "warning" | "success" | null | undefined;
10
10
  animated?: boolean | null | undefined;
11
11
  striped?: boolean | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string;
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
 
3
- var chunkG6GJXVQC_cjs = require('../../chunk-G6GJXVQC.cjs');
4
- require('../../chunk-F7CQ5RO7.cjs');
3
+ var chunkG7EQ3JPX_cjs = require('../../chunk-G7EQ3JPX.cjs');
4
+ require('../../chunk-Z5S5JEJD.cjs');
5
5
  require('../../chunk-S5RVSXDV.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "Radio", {
10
10
  enumerable: true,
11
- get: function () { return chunkG6GJXVQC_cjs.Radio; }
11
+ get: function () { return chunkG7EQ3JPX_cjs.Radio; }
12
12
  });
13
13
  Object.defineProperty(exports, "RadioGroup", {
14
14
  enumerable: true,
15
- get: function () { return chunkG6GJXVQC_cjs.RadioGroup; }
15
+ get: function () { return chunkG7EQ3JPX_cjs.RadioGroup; }
16
16
  });
17
17
  Object.defineProperty(exports, "radioVariants", {
18
18
  enumerable: true,
19
- get: function () { return chunkG6GJXVQC_cjs.radioVariants; }
19
+ get: function () { return chunkG7EQ3JPX_cjs.radioVariants; }
20
20
  });
21
21
  //# sourceMappingURL=index.cjs.map
22
22
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- export { Radio, RadioGroup, radioVariants } from '../../chunk-CLT4ASY7.js';
2
- import '../../chunk-FXTNCCD2.js';
1
+ export { Radio, RadioGroup, radioVariants } from '../../chunk-EPSB4WTL.js';
2
+ import '../../chunk-3IMM2PM4.js';
3
3
  import '../../chunk-TQONQSJO.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkLFSP53TY_cjs = require('../../chunk-LFSP53TY.cjs');
3
+ var chunkKVE7PQ5P_cjs = require('../../chunk-KVE7PQ5P.cjs');
4
4
  require('../../chunk-YP5T6NZD.cjs');
5
- require('../../chunk-N7JVAXHD.cjs');
5
+ require('../../chunk-BOW7ZGI2.cjs');
6
6
  require('../../chunk-I44YNYI6.cjs');
7
- require('../../chunk-F7CQ5RO7.cjs');
7
+ require('../../chunk-Z5S5JEJD.cjs');
8
8
  require('../../chunk-RDGRKYQ5.cjs');
9
9
  require('../../chunk-FHY3K6PL.cjs');
10
10
  require('../../chunk-FSGEDDF2.cjs');
@@ -16,15 +16,15 @@ require('../../chunk-S5RVSXDV.cjs');
16
16
 
17
17
  Object.defineProperty(exports, "RichTextEditor", {
18
18
  enumerable: true,
19
- get: function () { return chunkLFSP53TY_cjs.RichTextEditor; }
19
+ get: function () { return chunkKVE7PQ5P_cjs.RichTextEditor; }
20
20
  });
21
21
  Object.defineProperty(exports, "convertAngleBracketsToMustache", {
22
22
  enumerable: true,
23
- get: function () { return chunkLFSP53TY_cjs.convertAngleBracketsToMustache; }
23
+ get: function () { return chunkKVE7PQ5P_cjs.convertAngleBracketsToMustache; }
24
24
  });
25
25
  Object.defineProperty(exports, "processDictation", {
26
26
  enumerable: true,
27
- get: function () { return chunkLFSP53TY_cjs.processDictation; }
27
+ get: function () { return chunkKVE7PQ5P_cjs.processDictation; }
28
28
  });
29
29
  Object.defineProperty(exports, "isHtmlEmpty", {
30
30
  enumerable: true,
@@ -1,8 +1,8 @@
1
- export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-ICMR3TYV.js';
1
+ export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-QHTDWIED.js';
2
2
  import '../../chunk-OQWZYKJM.js';
3
- import '../../chunk-GV3DE6KR.js';
3
+ import '../../chunk-LZU7YBXG.js';
4
4
  import '../../chunk-6NZXWKUE.js';
5
- import '../../chunk-FXTNCCD2.js';
5
+ import '../../chunk-3IMM2PM4.js';
6
6
  import '../../chunk-D2GID3YK.js';
7
7
  import '../../chunk-T4ME7QCT.js';
8
8
  import '../../chunk-62ZOA6PX.js';
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkT7SDFBUT_cjs = require('../../chunk-T7SDFBUT.cjs');
3
+ var chunk56QJHQ5C_cjs = require('../../chunk-56QJHQ5C.cjs');
4
+ require('../../chunk-I44YNYI6.cjs');
5
+ require('../../chunk-Z5S5JEJD.cjs');
4
6
  require('../../chunk-FHY3K6PL.cjs');
5
7
  require('../../chunk-FSGEDDF2.cjs');
6
8
  require('../../chunk-MYFZYUPR.cjs');
@@ -10,11 +12,11 @@ require('../../chunk-S5RVSXDV.cjs');
10
12
 
11
13
  Object.defineProperty(exports, "Select", {
12
14
  enumerable: true,
13
- get: function () { return chunkT7SDFBUT_cjs.Select; }
15
+ get: function () { return chunk56QJHQ5C_cjs.Select; }
14
16
  });
15
17
  Object.defineProperty(exports, "selectTriggerVariants", {
16
18
  enumerable: true,
17
- get: function () { return chunkT7SDFBUT_cjs.selectTriggerVariants; }
19
+ get: function () { return chunk56QJHQ5C_cjs.selectTriggerVariants; }
18
20
  });
19
21
  //# sourceMappingURL=index.cjs.map
20
22
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
3
  import { VariantProps } from 'class-variance-authority';
4
+ import { RequiredMarkVariant } from '../Input/index.cjs';
5
+ import 'react';
4
6
 
5
7
  interface SelectOption {
6
8
  /** Unique value for the option */
@@ -51,6 +53,14 @@ interface SelectBaseProps extends Omit<VariantProps<typeof selectTriggerVariants
51
53
  error?: string;
52
54
  /** Helper text */
53
55
  helperText?: string;
56
+ /** Whether a selection is required (shows an asterisk next to the label) */
57
+ required?: boolean;
58
+ /**
59
+ * Color of the required asterisk.
60
+ * - `default`: destructive (hard requirement).
61
+ * - `warning`: warning color (soft requirement / recommended).
62
+ */
63
+ requiredVariant?: RequiredMarkVariant;
54
64
  /** Enable search/filter */
55
65
  searchable?: boolean;
56
66
  /** Search placeholder */
@@ -1,6 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
3
  import { VariantProps } from 'class-variance-authority';
4
+ import { RequiredMarkVariant } from '../Input/index.js';
5
+ import 'react';
4
6
 
5
7
  interface SelectOption {
6
8
  /** Unique value for the option */
@@ -51,6 +53,14 @@ interface SelectBaseProps extends Omit<VariantProps<typeof selectTriggerVariants
51
53
  error?: string;
52
54
  /** Helper text */
53
55
  helperText?: string;
56
+ /** Whether a selection is required (shows an asterisk next to the label) */
57
+ required?: boolean;
58
+ /**
59
+ * Color of the required asterisk.
60
+ * - `default`: destructive (hard requirement).
61
+ * - `warning`: warning color (soft requirement / recommended).
62
+ */
63
+ requiredVariant?: RequiredMarkVariant;
54
64
  /** Enable search/filter */
55
65
  searchable?: boolean;
56
66
  /** Search placeholder */