@mieweb/ui 0.7.3-dev.13 → 0.7.3-dev.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-ERTT36K3.js → chunk-33TQ25IK.js} +7 -7
- package/dist/{chunk-ERTT36K3.js.map → chunk-33TQ25IK.js.map} +1 -1
- package/dist/{chunk-UCY5YD6F.cjs → chunk-35HHCXWC.cjs} +36 -36
- package/dist/{chunk-UCY5YD6F.cjs.map → chunk-35HHCXWC.cjs.map} +1 -1
- package/dist/{chunk-FXTNCCD2.js → chunk-3IMM2PM4.js} +20 -4
- package/dist/chunk-3IMM2PM4.js.map +1 -0
- package/dist/{chunk-T7SDFBUT.cjs → chunk-56QJHQ5C.cjs} +17 -6
- package/dist/chunk-56QJHQ5C.cjs.map +1 -0
- package/dist/{chunk-DMIQS5KK.js → chunk-753Z3NXL.js} +3 -3
- package/dist/{chunk-DMIQS5KK.js.map → chunk-753Z3NXL.js.map} +1 -1
- package/dist/{chunk-SMGNJGFT.cjs → chunk-7AECNMYV.cjs} +5 -5
- package/dist/{chunk-SMGNJGFT.cjs.map → chunk-7AECNMYV.cjs.map} +1 -1
- package/dist/{chunk-PMHS4BJF.js → chunk-A5YOIJKL.js} +5 -5
- package/dist/{chunk-PMHS4BJF.js.map → chunk-A5YOIJKL.js.map} +1 -1
- package/dist/{chunk-N7JVAXHD.cjs → chunk-BOW7ZGI2.cjs} +4 -4
- package/dist/{chunk-N7JVAXHD.cjs.map → chunk-BOW7ZGI2.cjs.map} +1 -1
- package/dist/{chunk-NHR33YWI.cjs → chunk-BSDBI6H7.cjs} +17 -6
- package/dist/chunk-BSDBI6H7.cjs.map +1 -0
- package/dist/{chunk-CLT4ASY7.js → chunk-EPSB4WTL.js} +3 -3
- package/dist/{chunk-CLT4ASY7.js.map → chunk-EPSB4WTL.js.map} +1 -1
- package/dist/{chunk-G6GJXVQC.cjs → chunk-G7EQ3JPX.cjs} +5 -5
- package/dist/{chunk-G6GJXVQC.cjs.map → chunk-G7EQ3JPX.cjs.map} +1 -1
- package/dist/{chunk-PCWIN32O.cjs → chunk-GQVL2JKQ.cjs} +4 -4
- package/dist/{chunk-PCWIN32O.cjs.map → chunk-GQVL2JKQ.cjs.map} +1 -1
- package/dist/{chunk-6H7NO5XX.js → chunk-GXODR6V4.js} +3 -3
- package/dist/{chunk-6H7NO5XX.js.map → chunk-GXODR6V4.js.map} +1 -1
- package/dist/{chunk-GP5CRU2I.js → chunk-H3YO5GBM.js} +17 -6
- package/dist/chunk-H3YO5GBM.js.map +1 -0
- package/dist/{chunk-UZJDXFQE.cjs → chunk-HUDYTCTT.cjs} +4 -4
- package/dist/{chunk-UZJDXFQE.cjs.map → chunk-HUDYTCTT.cjs.map} +1 -1
- package/dist/{chunk-UHVNVZ7L.js → chunk-IILJGFI5.js} +5 -4
- package/dist/chunk-IILJGFI5.js.map +1 -0
- package/dist/{chunk-LFSP53TY.cjs → chunk-KVE7PQ5P.cjs} +7 -7
- package/dist/{chunk-LFSP53TY.cjs.map → chunk-KVE7PQ5P.cjs.map} +1 -1
- package/dist/{chunk-EM5FMB7L.cjs → chunk-LQHI44OZ.cjs} +13 -13
- package/dist/{chunk-EM5FMB7L.cjs.map → chunk-LQHI44OZ.cjs.map} +1 -1
- package/dist/{chunk-GV3DE6KR.js → chunk-LZU7YBXG.js} +3 -3
- package/dist/{chunk-GV3DE6KR.js.map → chunk-LZU7YBXG.js.map} +1 -1
- package/dist/{chunk-ICMR3TYV.js → chunk-QHTDWIED.js} +3 -3
- package/dist/{chunk-ICMR3TYV.js.map → chunk-QHTDWIED.js.map} +1 -1
- package/dist/{chunk-3KY5W3ZN.cjs → chunk-U5TTXN45.cjs} +9 -8
- package/dist/chunk-U5TTXN45.cjs.map +1 -0
- package/dist/{chunk-DM57NTOQ.js → chunk-XBKOZRDO.js} +17 -6
- package/dist/chunk-XBKOZRDO.js.map +1 -0
- package/dist/{chunk-F7CQ5RO7.cjs → chunk-Z5S5JEJD.cjs} +20 -3
- package/dist/chunk-Z5S5JEJD.cjs.map +1 -0
- package/dist/{chunk-WUPT5SUN.js → chunk-ZIE52CWX.js} +3 -3
- package/dist/{chunk-WUPT5SUN.js.map → chunk-ZIE52CWX.js.map} +1 -1
- package/dist/components/Alert/index.d.cts +1 -1
- package/dist/components/Alert/index.d.ts +1 -1
- package/dist/components/Autocomplete/index.cjs +3 -3
- package/dist/components/Autocomplete/index.js +2 -2
- package/dist/components/Badge/index.d.cts +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Card/index.d.cts +1 -1
- package/dist/components/Card/index.d.ts +1 -1
- package/dist/components/Checkbox/index.cjs +5 -5
- package/dist/components/Checkbox/index.js +2 -2
- package/dist/components/DateInput/index.cjs +3 -3
- package/dist/components/DateInput/index.d.cts +1 -0
- package/dist/components/DateInput/index.d.ts +1 -0
- package/dist/components/DateInput/index.js +2 -2
- package/dist/components/Dropdown/index.cjs +8 -8
- package/dist/components/Dropdown/index.js +2 -2
- package/dist/components/Input/index.cjs +10 -6
- package/dist/components/Input/index.d.cts +13 -1
- package/dist/components/Input/index.d.ts +13 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/MediaEditor/index.cjs +9 -9
- package/dist/components/MediaEditor/index.js +4 -4
- package/dist/components/PhoneInput/index.cjs +4 -4
- package/dist/components/PhoneInput/index.js +2 -2
- package/dist/components/Progress/index.d.cts +1 -1
- package/dist/components/Progress/index.d.ts +1 -1
- package/dist/components/Radio/index.cjs +5 -5
- package/dist/components/Radio/index.js +2 -2
- package/dist/components/RichTextEditor/index.cjs +6 -6
- package/dist/components/RichTextEditor/index.js +3 -3
- package/dist/components/Select/index.cjs +5 -3
- package/dist/components/Select/index.d.cts +10 -0
- package/dist/components/Select/index.d.ts +10 -0
- package/dist/components/Select/index.js +3 -1
- package/dist/components/Slider/index.d.cts +2 -2
- package/dist/components/Slider/index.d.ts +2 -2
- package/dist/components/Spinner/index.d.cts +1 -1
- package/dist/components/Spinner/index.d.ts +1 -1
- package/dist/components/SuperChat/index.cjs +6 -6
- package/dist/components/SuperChat/index.js +2 -2
- package/dist/components/Text/index.d.cts +1 -1
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/Textarea/index.cjs +5 -3
- package/dist/components/Textarea/index.d.cts +8 -0
- package/dist/components/Textarea/index.d.ts +8 -0
- package/dist/components/Textarea/index.js +3 -1
- package/dist/esheet.cjs +9 -9
- package/dist/esheet.js +6 -6
- package/dist/index.cjs +295 -291
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +20 -20
- package/package.json +1 -1
- package/dist/chunk-3KY5W3ZN.cjs.map +0 -1
- package/dist/chunk-DM57NTOQ.js.map +0 -1
- package/dist/chunk-F7CQ5RO7.cjs.map +0 -1
- package/dist/chunk-FXTNCCD2.js.map +0 -1
- package/dist/chunk-GP5CRU2I.js.map +0 -1
- package/dist/chunk-NHR33YWI.cjs.map +0 -1
- package/dist/chunk-T7SDFBUT.cjs.map +0 -1
- package/dist/chunk-UHVNVZ7L.js.map +0 -1
|
@@ -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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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
|
|
4
|
-
require('../../chunk-
|
|
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
|
|
11
|
+
get: function () { return chunk7AECNMYV_cjs.Checkbox; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "CheckboxGroup", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk7AECNMYV_cjs.CheckboxGroup; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "checkboxVariants", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
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-
|
|
2
|
-
import '../../chunk-
|
|
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
|
|
3
|
+
var chunkU5TTXN45_cjs = require('../../chunk-U5TTXN45.cjs');
|
|
4
4
|
require('../../chunk-I44YNYI6.cjs');
|
|
5
|
-
require('../../chunk-
|
|
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
|
|
14
|
+
get: function () { return chunkU5TTXN45_cjs.DateInput; }
|
|
15
15
|
});
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
|
17
17
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { DateInput } from '../../chunk-
|
|
1
|
+
export { DateInput } from '../../chunk-IILJGFI5.js';
|
|
2
2
|
import '../../chunk-6NZXWKUE.js';
|
|
3
|
-
import '../../chunk-
|
|
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
|
|
3
|
+
var chunkBOW7ZGI2_cjs = require('../../chunk-BOW7ZGI2.cjs');
|
|
4
4
|
require('../../chunk-I44YNYI6.cjs');
|
|
5
|
-
require('../../chunk-
|
|
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
|
|
15
|
+
get: function () { return chunkBOW7ZGI2_cjs.Dropdown; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "DropdownContent", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkBOW7ZGI2_cjs.DropdownContent; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "DropdownHeader", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkBOW7ZGI2_cjs.DropdownHeader; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "DropdownItem", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkBOW7ZGI2_cjs.DropdownItem; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "DropdownLabel", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkBOW7ZGI2_cjs.DropdownLabel; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "DropdownSeparator", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
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-
|
|
1
|
+
export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator } from '../../chunk-LZU7YBXG.js';
|
|
2
2
|
import '../../chunk-6NZXWKUE.js';
|
|
3
|
-
import '../../chunk-
|
|
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
|
|
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
|
|
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
|
|
19
|
+
get: function () { return chunkZ5S5JEJD_cjs.floatingGroupLabelVariants; }
|
|
16
20
|
});
|
|
17
21
|
Object.defineProperty(exports, "floatingGroupVariants", {
|
|
18
22
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkZ5S5JEJD_cjs.floatingGroupVariants; }
|
|
20
24
|
});
|
|
21
25
|
Object.defineProperty(exports, "floatingLabelVariants", {
|
|
22
26
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkZ5S5JEJD_cjs.floatingLabelVariants; }
|
|
24
28
|
});
|
|
25
29
|
Object.defineProperty(exports, "inputVariants", {
|
|
26
30
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
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-
|
|
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
|
|
3
|
+
var chunkLQHI44OZ_cjs = require('../../chunk-LQHI44OZ.cjs');
|
|
4
4
|
require('../../chunk-YMHOF6WA.cjs');
|
|
5
5
|
require('../../chunk-JP5SGIXA.cjs');
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
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-
|
|
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
|
|
26
|
+
get: function () { return chunkLQHI44OZ_cjs.FillerWordsModal; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "MediaEditor", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkLQHI44OZ_cjs.MediaEditor; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "SilenceSettingsModal", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkLQHI44OZ_cjs.SilenceSettingsModal; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "SpeedMarkerMenu", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkLQHI44OZ_cjs.SpeedMarkerMenu; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "WordEditorModal", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
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-
|
|
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-
|
|
5
|
-
import '../../chunk-
|
|
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-
|
|
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
|
|
3
|
+
var chunkGQVL2JKQ_cjs = require('../../chunk-GQVL2JKQ.cjs');
|
|
4
4
|
require('../../chunk-I44YNYI6.cjs');
|
|
5
|
-
require('../../chunk-
|
|
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
|
|
13
|
+
get: function () { return chunkGQVL2JKQ_cjs.PhoneInput; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PhoneInputGroup", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
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-
|
|
1
|
+
export { PhoneInput, PhoneInputGroup } from '../../chunk-GXODR6V4.js';
|
|
2
2
|
import '../../chunk-6NZXWKUE.js';
|
|
3
|
-
import '../../chunk-
|
|
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" | "
|
|
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" | "
|
|
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
|
|
4
|
-
require('../../chunk-
|
|
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
|
|
11
|
+
get: function () { return chunkG7EQ3JPX_cjs.Radio; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "RadioGroup", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkG7EQ3JPX_cjs.RadioGroup; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "radioVariants", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
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-
|
|
2
|
-
import '../../chunk-
|
|
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
|
|
3
|
+
var chunkKVE7PQ5P_cjs = require('../../chunk-KVE7PQ5P.cjs');
|
|
4
4
|
require('../../chunk-YP5T6NZD.cjs');
|
|
5
|
-
require('../../chunk-
|
|
5
|
+
require('../../chunk-BOW7ZGI2.cjs');
|
|
6
6
|
require('../../chunk-I44YNYI6.cjs');
|
|
7
|
-
require('../../chunk-
|
|
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
|
|
19
|
+
get: function () { return chunkKVE7PQ5P_cjs.RichTextEditor; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "convertAngleBracketsToMustache", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkKVE7PQ5P_cjs.convertAngleBracketsToMustache; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "processDictation", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
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-
|
|
1
|
+
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-QHTDWIED.js';
|
|
2
2
|
import '../../chunk-OQWZYKJM.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-LZU7YBXG.js';
|
|
4
4
|
import '../../chunk-6NZXWKUE.js';
|
|
5
|
-
import '../../chunk-
|
|
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
|
|
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
|
|
15
|
+
get: function () { return chunk56QJHQ5C_cjs.Select; }
|
|
14
16
|
});
|
|
15
17
|
Object.defineProperty(exports, "selectTriggerVariants", {
|
|
16
18
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
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 */
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export { Select, selectTriggerVariants } from '../../chunk-
|
|
1
|
+
export { Select, selectTriggerVariants } from '../../chunk-XBKOZRDO.js';
|
|
2
|
+
import '../../chunk-6NZXWKUE.js';
|
|
3
|
+
import '../../chunk-3IMM2PM4.js';
|
|
2
4
|
import '../../chunk-T4ME7QCT.js';
|
|
3
5
|
import '../../chunk-62ZOA6PX.js';
|
|
4
6
|
import '../../chunk-BOOJDRJO.js';
|
|
@@ -6,11 +6,11 @@ declare const sliderTrackVariants: (props?: ({
|
|
|
6
6
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
declare const sliderRangeVariants: (props?: ({
|
|
9
|
-
variant?: "danger" | "default" | "
|
|
9
|
+
variant?: "danger" | "default" | "warning" | "success" | "neutral" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
11
|
declare const sliderThumbVariants: (props?: ({
|
|
12
12
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
13
|
-
variant?: "danger" | "default" | "
|
|
13
|
+
variant?: "danger" | "default" | "warning" | "success" | "neutral" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
15
|
interface SliderProps extends VariantProps<typeof sliderTrackVariants>, VariantProps<typeof sliderRangeVariants> {
|
|
16
16
|
/** Current value (controlled) */
|
|
@@ -6,11 +6,11 @@ declare const sliderTrackVariants: (props?: ({
|
|
|
6
6
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
declare const sliderRangeVariants: (props?: ({
|
|
9
|
-
variant?: "danger" | "default" | "
|
|
9
|
+
variant?: "danger" | "default" | "warning" | "success" | "neutral" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
11
|
declare const sliderThumbVariants: (props?: ({
|
|
12
12
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
13
|
-
variant?: "danger" | "default" | "
|
|
13
|
+
variant?: "danger" | "default" | "warning" | "success" | "neutral" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
15
|
interface SliderProps extends VariantProps<typeof sliderTrackVariants>, VariantProps<typeof sliderRangeVariants> {
|
|
16
16
|
/** Current value (controlled) */
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare const spinnerVariants: (props?: ({
|
|
7
7
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
8
|
-
variant?: "
|
|
8
|
+
variant?: "default" | "white" | "muted" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
|
|
11
11
|
/** Accessible label for the spinner */
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare const spinnerVariants: (props?: ({
|
|
7
7
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
8
|
-
variant?: "
|
|
8
|
+
variant?: "default" | "white" | "muted" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
|
|
11
11
|
/** Accessible label for the spinner */
|