@misael703/ui 1.39.0 → 1.40.0
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-S5OEOR57.mjs → chunk-7HYCP6SX.mjs} +4 -3
- package/dist/chunk-7HYCP6SX.mjs.map +1 -0
- package/dist/{chunk-C7UG47HQ.js → chunk-BZSOS7QT.js} +3 -3
- package/dist/{chunk-C7UG47HQ.js.map → chunk-BZSOS7QT.js.map} +1 -1
- package/dist/{chunk-3JYYZOEJ.mjs → chunk-C3A6EWSR.mjs} +3 -3
- package/dist/{chunk-3JYYZOEJ.mjs.map → chunk-C3A6EWSR.mjs.map} +1 -1
- package/dist/{chunk-F3PTSBHH.js → chunk-DWLTIERK.js} +3 -3
- package/dist/{chunk-F3PTSBHH.js.map → chunk-DWLTIERK.js.map} +1 -1
- package/dist/{chunk-565UJQ2M.js → chunk-H4EL7J2O.js} +4 -4
- package/dist/{chunk-565UJQ2M.js.map → chunk-H4EL7J2O.js.map} +1 -1
- package/dist/{chunk-EKDK4ZBT.js → chunk-JFYTJUT3.js} +4 -3
- package/dist/chunk-JFYTJUT3.js.map +1 -0
- package/dist/{chunk-KSOWXLR4.mjs → chunk-JHSQYS7K.mjs} +4 -3
- package/dist/chunk-JHSQYS7K.mjs.map +1 -0
- package/dist/{chunk-VOSVV3LL.mjs → chunk-PJA77NAF.mjs} +3 -3
- package/dist/{chunk-VOSVV3LL.mjs.map → chunk-PJA77NAF.mjs.map} +1 -1
- package/dist/{chunk-KWXF6OQW.js → chunk-UOWBU443.js} +4 -3
- package/dist/chunk-UOWBU443.js.map +1 -0
- package/dist/{chunk-FD3Y5IP7.mjs → chunk-UQJMVWM5.mjs} +3 -3
- package/dist/{chunk-FD3Y5IP7.mjs.map → chunk-UQJMVWM5.mjs.map} +1 -1
- package/dist/{chunk-JJ54RD36.js → chunk-WA4OHLWQ.js} +4 -4
- package/dist/{chunk-JJ54RD36.js.map → chunk-WA4OHLWQ.js.map} +1 -1
- package/dist/{chunk-63LUAWJS.mjs → chunk-ZXKYAHSH.mjs} +3 -3
- package/dist/{chunk-63LUAWJS.mjs.map → chunk-ZXKYAHSH.mjs.map} +1 -1
- package/dist/components/AdvancedPickers.d.mts +10 -1
- package/dist/components/AdvancedPickers.d.ts +10 -1
- package/dist/components/AdvancedPickers.js +5 -5
- package/dist/components/AdvancedPickers.mjs +1 -1
- package/dist/components/AppShell.js +4 -4
- package/dist/components/AppShell.mjs +2 -2
- package/dist/components/Commerce.js +14 -14
- package/dist/components/Commerce.mjs +3 -3
- package/dist/components/Editing.js +8 -8
- package/dist/components/Editing.mjs +3 -3
- package/dist/components/Overlay.js +4 -4
- package/dist/components/Overlay.mjs +2 -2
- package/dist/components/Pickers.d.mts +10 -1
- package/dist/components/Pickers.d.ts +10 -1
- package/dist/components/Pickers.js +6 -6
- package/dist/components/Pickers.mjs +1 -1
- package/dist/hooks/index.js +5 -5
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +37 -37
- package/dist/index.mjs +8 -8
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-EKDK4ZBT.js.map +0 -1
- package/dist/chunk-KSOWXLR4.mjs.map +0 -1
- package/dist/chunk-KWXF6OQW.js.map +0 -1
- package/dist/chunk-S5OEOR57.mjs.map +0 -1
|
@@ -47,6 +47,15 @@ interface DateRangePickerProps {
|
|
|
47
47
|
onOpenChange?: (open: boolean) => void;
|
|
48
48
|
minDate?: Date;
|
|
49
49
|
maxDate?: Date;
|
|
50
|
+
/**
|
|
51
|
+
* Disable arbitrary days (holidays, blackout dates, specific weekdays). A
|
|
52
|
+
* day for which this returns `true` renders disabled — greyed, not
|
|
53
|
+
* focusable, not clickable. Composes with `minDate`/`maxDate`. A range
|
|
54
|
+
* endpoint can never land on a disabled day; a disabled day that falls
|
|
55
|
+
* inside an otherwise-valid span stays greyed but is included visually
|
|
56
|
+
* (the span is allowed). E.g. disable Sundays: `d => d.getDay() === 0`.
|
|
57
|
+
*/
|
|
58
|
+
isDateDisabled?: (date: Date) => boolean;
|
|
50
59
|
presets?: Array<{
|
|
51
60
|
label: string;
|
|
52
61
|
range: () => DateRange;
|
|
@@ -60,7 +69,7 @@ interface DateRangePickerProps {
|
|
|
60
69
|
*/
|
|
61
70
|
format?: DateFormat;
|
|
62
71
|
}
|
|
63
|
-
declare function DateRangePicker({ value, onChange, defaultValue, onApply, onOpenChange, minDate, maxDate, presets, invalid, disabled, className, id, format, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
72
|
+
declare function DateRangePicker({ value, onChange, defaultValue, onApply, onOpenChange, minDate, maxDate, isDateDisabled, presets, invalid, disabled, className, id, format, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
64
73
|
interface CommandItem {
|
|
65
74
|
id: string;
|
|
66
75
|
label: string;
|
|
@@ -47,6 +47,15 @@ interface DateRangePickerProps {
|
|
|
47
47
|
onOpenChange?: (open: boolean) => void;
|
|
48
48
|
minDate?: Date;
|
|
49
49
|
maxDate?: Date;
|
|
50
|
+
/**
|
|
51
|
+
* Disable arbitrary days (holidays, blackout dates, specific weekdays). A
|
|
52
|
+
* day for which this returns `true` renders disabled — greyed, not
|
|
53
|
+
* focusable, not clickable. Composes with `minDate`/`maxDate`. A range
|
|
54
|
+
* endpoint can never land on a disabled day; a disabled day that falls
|
|
55
|
+
* inside an otherwise-valid span stays greyed but is included visually
|
|
56
|
+
* (the span is allowed). E.g. disable Sundays: `d => d.getDay() === 0`.
|
|
57
|
+
*/
|
|
58
|
+
isDateDisabled?: (date: Date) => boolean;
|
|
50
59
|
presets?: Array<{
|
|
51
60
|
label: string;
|
|
52
61
|
range: () => DateRange;
|
|
@@ -60,7 +69,7 @@ interface DateRangePickerProps {
|
|
|
60
69
|
*/
|
|
61
70
|
format?: DateFormat;
|
|
62
71
|
}
|
|
63
|
-
declare function DateRangePicker({ value, onChange, defaultValue, onApply, onOpenChange, minDate, maxDate, presets, invalid, disabled, className, id, format, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
72
|
+
declare function DateRangePicker({ value, onChange, defaultValue, onApply, onOpenChange, minDate, maxDate, isDateDisabled, presets, invalid, disabled, className, id, format, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
64
73
|
interface CommandItem {
|
|
65
74
|
id: string;
|
|
66
75
|
label: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkUOWBU443_js = require('../chunk-UOWBU443.js');
|
|
5
5
|
require('../chunk-W725MLGN.js');
|
|
6
6
|
require('../chunk-MVJITG75.js');
|
|
7
7
|
require('../chunk-WAGWB35Q.js');
|
|
@@ -16,19 +16,19 @@ require('../chunk-PASF6T4H.js');
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, "CommandPalette", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkUOWBU443_js.CommandPalette; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "DateRangePicker", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkUOWBU443_js.DateRangePicker; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "MultiCombobox", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkUOWBU443_js.MultiCombobox; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "useCommandPalette", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkUOWBU443_js.useCommandPalette; }
|
|
32
32
|
});
|
|
33
33
|
//# sourceMappingURL=AdvancedPickers.js.map
|
|
34
34
|
//# sourceMappingURL=AdvancedPickers.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { CommandPalette, DateRangePicker, MultiCombobox, useCommandPalette } from '../chunk-
|
|
2
|
+
export { CommandPalette, DateRangePicker, MultiCombobox, useCommandPalette } from '../chunk-7HYCP6SX.mjs';
|
|
3
3
|
import '../chunk-OWIPC5NO.mjs';
|
|
4
4
|
import '../chunk-4QHE5H36.mjs';
|
|
5
5
|
import '../chunk-FKBQYQQD.mjs';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkBZSOS7QT_js = require('../chunk-BZSOS7QT.js');
|
|
5
5
|
require('../chunk-2KZ4NI3X.js');
|
|
6
|
+
require('../chunk-D2H4VZVL.js');
|
|
6
7
|
require('../chunk-FL4ZCWUF.js');
|
|
7
8
|
require('../chunk-NPXEZCTA.js');
|
|
8
9
|
require('../chunk-55P5FA5Q.js');
|
|
9
|
-
require('../chunk-D2H4VZVL.js');
|
|
10
10
|
require('../chunk-UBSBSZPB.js');
|
|
11
11
|
require('../chunk-XMLBKK7X.js');
|
|
12
12
|
require('../chunk-CRKYET66.js');
|
|
@@ -17,11 +17,11 @@ require('../chunk-PASF6T4H.js');
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "AppShell", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkBZSOS7QT_js.AppShell; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "PageHeader", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkBZSOS7QT_js.PageHeader; }
|
|
25
25
|
});
|
|
26
26
|
//# sourceMappingURL=AppShell.js.map
|
|
27
27
|
//# sourceMappingURL=AppShell.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { AppShell, PageHeader } from '../chunk-
|
|
2
|
+
export { AppShell, PageHeader } from '../chunk-ZXKYAHSH.mjs';
|
|
3
3
|
import '../chunk-QQE3XOEM.mjs';
|
|
4
|
+
import '../chunk-R5DCDEB5.mjs';
|
|
4
5
|
import '../chunk-U3JH4T3A.mjs';
|
|
5
6
|
import '../chunk-6W7ZGWNA.mjs';
|
|
6
7
|
import '../chunk-XOV4D6J3.mjs';
|
|
7
|
-
import '../chunk-R5DCDEB5.mjs';
|
|
8
8
|
import '../chunk-SXAGF7EG.mjs';
|
|
9
9
|
import '../chunk-6P2TKRTL.mjs';
|
|
10
10
|
import '../chunk-5XT2LX3I.mjs';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkWA4OHLWQ_js = require('../chunk-WA4OHLWQ.js');
|
|
5
|
+
require('../chunk-DWLTIERK.js');
|
|
6
6
|
require('../chunk-W725MLGN.js');
|
|
7
7
|
require('../chunk-3PXYCXDW.js');
|
|
8
8
|
require('../chunk-2KZ4NI3X.js');
|
|
9
|
+
require('../chunk-D2H4VZVL.js');
|
|
9
10
|
require('../chunk-FL4ZCWUF.js');
|
|
10
11
|
require('../chunk-NPXEZCTA.js');
|
|
11
12
|
require('../chunk-55P5FA5Q.js');
|
|
12
|
-
require('../chunk-D2H4VZVL.js');
|
|
13
13
|
require('../chunk-UBSBSZPB.js');
|
|
14
14
|
require('../chunk-XMLBKK7X.js');
|
|
15
15
|
require('../chunk-CRKYET66.js');
|
|
@@ -20,47 +20,47 @@ require('../chunk-PASF6T4H.js');
|
|
|
20
20
|
|
|
21
21
|
Object.defineProperty(exports, "AddressForm", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkWA4OHLWQ_js.AddressForm; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "CartDrawer", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkWA4OHLWQ_js.CartDrawer; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "CompareTable", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkWA4OHLWQ_js.CompareTable; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "FreeShippingProgress", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkWA4OHLWQ_js.FreeShippingProgress; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "OrderSummary", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkWA4OHLWQ_js.OrderSummary; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "PriceDisplay", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkWA4OHLWQ_js.PriceDisplay; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "PromoCodeInput", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkWA4OHLWQ_js.PromoCodeInput; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "QuantitySelector", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkWA4OHLWQ_js.QuantitySelector; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "Rating", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkWA4OHLWQ_js.Rating; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "VariantSelector", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkWA4OHLWQ_js.VariantSelector; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "WishlistButton", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkWA4OHLWQ_js.WishlistButton; }
|
|
64
64
|
});
|
|
65
65
|
//# sourceMappingURL=Commerce.js.map
|
|
66
66
|
//# sourceMappingURL=Commerce.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { AddressForm, CartDrawer, CompareTable, FreeShippingProgress, OrderSummary, PriceDisplay, PromoCodeInput, QuantitySelector, Rating, VariantSelector, WishlistButton } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { AddressForm, CartDrawer, CompareTable, FreeShippingProgress, OrderSummary, PriceDisplay, PromoCodeInput, QuantitySelector, Rating, VariantSelector, WishlistButton } from '../chunk-UQJMVWM5.mjs';
|
|
3
|
+
import '../chunk-PJA77NAF.mjs';
|
|
4
4
|
import '../chunk-OWIPC5NO.mjs';
|
|
5
5
|
import '../chunk-5GEWIK4T.mjs';
|
|
6
6
|
import '../chunk-QQE3XOEM.mjs';
|
|
7
|
+
import '../chunk-R5DCDEB5.mjs';
|
|
7
8
|
import '../chunk-U3JH4T3A.mjs';
|
|
8
9
|
import '../chunk-6W7ZGWNA.mjs';
|
|
9
10
|
import '../chunk-XOV4D6J3.mjs';
|
|
10
|
-
import '../chunk-R5DCDEB5.mjs';
|
|
11
11
|
import '../chunk-SXAGF7EG.mjs';
|
|
12
12
|
import '../chunk-6P2TKRTL.mjs';
|
|
13
13
|
import '../chunk-5XT2LX3I.mjs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkH4EL7J2O_js = require('../chunk-H4EL7J2O.js');
|
|
5
|
+
require('../chunk-DWLTIERK.js');
|
|
6
6
|
require('../chunk-6SSTTJV4.js');
|
|
7
7
|
require('../chunk-2KZ4NI3X.js');
|
|
8
|
+
require('../chunk-D2H4VZVL.js');
|
|
8
9
|
require('../chunk-FL4ZCWUF.js');
|
|
9
10
|
require('../chunk-NPXEZCTA.js');
|
|
10
11
|
require('../chunk-55P5FA5Q.js');
|
|
11
|
-
require('../chunk-D2H4VZVL.js');
|
|
12
12
|
require('../chunk-UBSBSZPB.js');
|
|
13
13
|
require('../chunk-XMLBKK7X.js');
|
|
14
14
|
require('../chunk-CRKYET66.js');
|
|
@@ -19,23 +19,23 @@ require('../chunk-PASF6T4H.js');
|
|
|
19
19
|
|
|
20
20
|
Object.defineProperty(exports, "ConfirmDialog", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkH4EL7J2O_js.ConfirmDialog; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "DescriptionList", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkH4EL7J2O_js.DescriptionList; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "DescriptionListItem", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkH4EL7J2O_js.DescriptionListItem; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "DiffViewer", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkH4EL7J2O_js.DiffViewer; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "TransferList", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkH4EL7J2O_js.TransferList; }
|
|
39
39
|
});
|
|
40
40
|
//# sourceMappingURL=Editing.js.map
|
|
41
41
|
//# sourceMappingURL=Editing.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { ConfirmDialog, DescriptionList, DescriptionListItem, DiffViewer, TransferList } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { ConfirmDialog, DescriptionList, DescriptionListItem, DiffViewer, TransferList } from '../chunk-C3A6EWSR.mjs';
|
|
3
|
+
import '../chunk-PJA77NAF.mjs';
|
|
4
4
|
import '../chunk-SUQLII3F.mjs';
|
|
5
5
|
import '../chunk-QQE3XOEM.mjs';
|
|
6
|
+
import '../chunk-R5DCDEB5.mjs';
|
|
6
7
|
import '../chunk-U3JH4T3A.mjs';
|
|
7
8
|
import '../chunk-6W7ZGWNA.mjs';
|
|
8
9
|
import '../chunk-XOV4D6J3.mjs';
|
|
9
|
-
import '../chunk-R5DCDEB5.mjs';
|
|
10
10
|
import '../chunk-SXAGF7EG.mjs';
|
|
11
11
|
import '../chunk-6P2TKRTL.mjs';
|
|
12
12
|
import '../chunk-5XT2LX3I.mjs';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkDWLTIERK_js = require('../chunk-DWLTIERK.js');
|
|
5
5
|
require('../chunk-2KZ4NI3X.js');
|
|
6
|
+
require('../chunk-D2H4VZVL.js');
|
|
6
7
|
require('../chunk-FL4ZCWUF.js');
|
|
7
8
|
require('../chunk-NPXEZCTA.js');
|
|
8
9
|
require('../chunk-55P5FA5Q.js');
|
|
9
|
-
require('../chunk-D2H4VZVL.js');
|
|
10
10
|
require('../chunk-UBSBSZPB.js');
|
|
11
11
|
require('../chunk-XMLBKK7X.js');
|
|
12
12
|
require('../chunk-CRKYET66.js');
|
|
@@ -17,11 +17,11 @@ require('../chunk-PASF6T4H.js');
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "Drawer", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkDWLTIERK_js.Drawer; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "Modal", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkDWLTIERK_js.Modal; }
|
|
25
25
|
});
|
|
26
26
|
//# sourceMappingURL=Overlay.js.map
|
|
27
27
|
//# sourceMappingURL=Overlay.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { Drawer, Modal } from '../chunk-
|
|
2
|
+
export { Drawer, Modal } from '../chunk-PJA77NAF.mjs';
|
|
3
3
|
import '../chunk-QQE3XOEM.mjs';
|
|
4
|
+
import '../chunk-R5DCDEB5.mjs';
|
|
4
5
|
import '../chunk-U3JH4T3A.mjs';
|
|
5
6
|
import '../chunk-6W7ZGWNA.mjs';
|
|
6
7
|
import '../chunk-XOV4D6J3.mjs';
|
|
7
|
-
import '../chunk-R5DCDEB5.mjs';
|
|
8
8
|
import '../chunk-SXAGF7EG.mjs';
|
|
9
9
|
import '../chunk-6P2TKRTL.mjs';
|
|
10
10
|
import '../chunk-5XT2LX3I.mjs';
|
|
@@ -41,6 +41,15 @@ interface DatePickerProps {
|
|
|
41
41
|
onChange: (date: Date | null) => void;
|
|
42
42
|
minDate?: Date;
|
|
43
43
|
maxDate?: Date;
|
|
44
|
+
/**
|
|
45
|
+
* Disable arbitrary days (holidays, blackout dates, specific weekdays). A
|
|
46
|
+
* day for which this returns `true` renders disabled — greyed, not
|
|
47
|
+
* focusable (keyboard Tab skips it), not clickable, and never emitted via
|
|
48
|
+
* `onChange`. Composes with `minDate`/`maxDate`: a day is disabled if it
|
|
49
|
+
* falls outside the range OR the predicate marks it. E.g. disable Sundays:
|
|
50
|
+
* `d => d.getDay() === 0`.
|
|
51
|
+
*/
|
|
52
|
+
isDateDisabled?: (date: Date) => boolean;
|
|
44
53
|
placeholder?: string;
|
|
45
54
|
disabled?: boolean;
|
|
46
55
|
invalid?: boolean;
|
|
@@ -52,7 +61,7 @@ interface DatePickerProps {
|
|
|
52
61
|
*/
|
|
53
62
|
format?: DateFormat;
|
|
54
63
|
}
|
|
55
|
-
declare function DatePicker({ value, onChange, minDate, maxDate, placeholder, disabled, invalid, className, id, format, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
64
|
+
declare function DatePicker({ value, onChange, minDate, maxDate, isDateDisabled, placeholder, disabled, invalid, className, id, format, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
56
65
|
interface FileUploadProps {
|
|
57
66
|
onFiles: (files: File[]) => void;
|
|
58
67
|
accept?: string;
|
|
@@ -41,6 +41,15 @@ interface DatePickerProps {
|
|
|
41
41
|
onChange: (date: Date | null) => void;
|
|
42
42
|
minDate?: Date;
|
|
43
43
|
maxDate?: Date;
|
|
44
|
+
/**
|
|
45
|
+
* Disable arbitrary days (holidays, blackout dates, specific weekdays). A
|
|
46
|
+
* day for which this returns `true` renders disabled — greyed, not
|
|
47
|
+
* focusable (keyboard Tab skips it), not clickable, and never emitted via
|
|
48
|
+
* `onChange`. Composes with `minDate`/`maxDate`: a day is disabled if it
|
|
49
|
+
* falls outside the range OR the predicate marks it. E.g. disable Sundays:
|
|
50
|
+
* `d => d.getDay() === 0`.
|
|
51
|
+
*/
|
|
52
|
+
isDateDisabled?: (date: Date) => boolean;
|
|
44
53
|
placeholder?: string;
|
|
45
54
|
disabled?: boolean;
|
|
46
55
|
invalid?: boolean;
|
|
@@ -52,7 +61,7 @@ interface DatePickerProps {
|
|
|
52
61
|
*/
|
|
53
62
|
format?: DateFormat;
|
|
54
63
|
}
|
|
55
|
-
declare function DatePicker({ value, onChange, minDate, maxDate, placeholder, disabled, invalid, className, id, format, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
64
|
+
declare function DatePicker({ value, onChange, minDate, maxDate, isDateDisabled, placeholder, disabled, invalid, className, id, format, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
56
65
|
interface FileUploadProps {
|
|
57
66
|
onFiles: (files: File[]) => void;
|
|
58
67
|
accept?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkJFYTJUT3_js = require('../chunk-JFYTJUT3.js');
|
|
5
5
|
require('../chunk-MVJITG75.js');
|
|
6
6
|
require('../chunk-WAGWB35Q.js');
|
|
7
7
|
require('../chunk-3PXYCXDW.js');
|
|
@@ -15,23 +15,23 @@ require('../chunk-PASF6T4H.js');
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "Combobox", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkJFYTJUT3_js.Combobox; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "DatePicker", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkJFYTJUT3_js.DatePicker; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "FileUpload", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkJFYTJUT3_js.FileUpload; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "MonthPicker", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkJFYTJUT3_js.MonthPicker; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "YearPicker", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkJFYTJUT3_js.YearPicker; }
|
|
35
35
|
});
|
|
36
36
|
//# sourceMappingURL=Pickers.js.map
|
|
37
37
|
//# sourceMappingURL=Pickers.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { Combobox, DatePicker, FileUpload, MonthPicker, YearPicker } from '../chunk-
|
|
2
|
+
export { Combobox, DatePicker, FileUpload, MonthPicker, YearPicker } from '../chunk-JHSQYS7K.mjs';
|
|
3
3
|
import '../chunk-4QHE5H36.mjs';
|
|
4
4
|
import '../chunk-FKBQYQQD.mjs';
|
|
5
5
|
import '../chunk-5GEWIK4T.mjs';
|
package/dist/hooks/index.js
CHANGED
|
@@ -2,15 +2,19 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
require('../chunk-2KZ4NI3X.js');
|
|
5
|
+
var chunkD2H4VZVL_js = require('../chunk-D2H4VZVL.js');
|
|
5
6
|
var chunkFL4ZCWUF_js = require('../chunk-FL4ZCWUF.js');
|
|
6
7
|
var chunkNPXEZCTA_js = require('../chunk-NPXEZCTA.js');
|
|
7
8
|
var chunk55P5FA5Q_js = require('../chunk-55P5FA5Q.js');
|
|
8
|
-
var chunkD2H4VZVL_js = require('../chunk-D2H4VZVL.js');
|
|
9
9
|
var chunkXMLBKK7X_js = require('../chunk-XMLBKK7X.js');
|
|
10
10
|
var chunkCRKYET66_js = require('../chunk-CRKYET66.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
Object.defineProperty(exports, "useScrollLock", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkD2H4VZVL_js.useScrollLock; }
|
|
17
|
+
});
|
|
14
18
|
Object.defineProperty(exports, "useDelayedUnmount", {
|
|
15
19
|
enumerable: true,
|
|
16
20
|
get: function () { return chunkFL4ZCWUF_js.useDelayedUnmount; }
|
|
@@ -23,10 +27,6 @@ Object.defineProperty(exports, "useFocusTrap", {
|
|
|
23
27
|
enumerable: true,
|
|
24
28
|
get: function () { return chunk55P5FA5Q_js.useFocusTrap; }
|
|
25
29
|
});
|
|
26
|
-
Object.defineProperty(exports, "useScrollLock", {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function () { return chunkD2H4VZVL_js.useScrollLock; }
|
|
29
|
-
});
|
|
30
30
|
Object.defineProperty(exports, "useDismiss", {
|
|
31
31
|
enumerable: true,
|
|
32
32
|
get: function () { return chunkXMLBKK7X_js.useDismiss; }
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import '../chunk-QQE3XOEM.mjs';
|
|
3
|
+
export { useScrollLock } from '../chunk-R5DCDEB5.mjs';
|
|
3
4
|
export { useDelayedUnmount } from '../chunk-U3JH4T3A.mjs';
|
|
4
5
|
export { useEscape } from '../chunk-6W7ZGWNA.mjs';
|
|
5
6
|
export { useFocusTrap } from '../chunk-XOV4D6J3.mjs';
|
|
6
|
-
export { useScrollLock } from '../chunk-R5DCDEB5.mjs';
|
|
7
7
|
export { useDismiss } from '../chunk-6P2TKRTL.mjs';
|
|
8
8
|
export { usePopoverPosition } from '../chunk-5XT2LX3I.mjs';
|
|
9
9
|
//# sourceMappingURL=index.mjs.map
|