ivt 0.4.7 → 0.4.8
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/accordion/index.mjs +15 -15
- package/dist/alert/index.mjs +2 -2
- package/dist/alert-dialog/index.mjs +17 -17
- package/dist/aspect-ratio/index.mjs +1 -1
- package/dist/avatar/index.mjs +7 -7
- package/dist/badge/index.mjs +3 -3
- package/dist/base/index.d.ts +9 -35
- package/dist/base/index.mjs +63 -64
- package/dist/base/index.mjs.map +1 -1
- package/dist/breadcrumb/index.mjs +5 -5
- package/dist/button/index.mjs +3 -3
- package/dist/calendar/index.mjs +8 -8
- package/dist/card/index.mjs +2 -2
- package/dist/carousel/index.mjs +4 -4
- package/dist/chart/index.mjs +4 -4
- package/dist/checkbox/index.mjs +13 -13
- package/dist/chunks/{Container-Bk36x55h.mjs → Container-Bk3WDmXq.mjs} +2 -2
- package/dist/chunks/{Container-Bk36x55h.mjs.map → Container-Bk3WDmXq.mjs.map} +1 -1
- package/dist/chunks/{_commonjsHelpers-B6NPw-gB.mjs → _commonjsHelpers-7oHtoXzW.mjs} +1 -1
- package/dist/chunks/_commonjsHelpers-7oHtoXzW.mjs.map +1 -0
- package/dist/chunks/{accordion-DkQil9br.mjs → accordion-O8UQxSxk.mjs} +11 -11
- package/dist/chunks/{accordion-DkQil9br.mjs.map → accordion-O8UQxSxk.mjs.map} +1 -1
- package/dist/chunks/{badge-DDmxqVIu.mjs → badge-DK4Kv-Pv.mjs} +2 -2
- package/dist/chunks/{badge-DDmxqVIu.mjs.map → badge-DK4Kv-Pv.mjs.map} +1 -1
- package/dist/chunks/{bundle-mjs-Bj6M7Bh5.mjs → bundle-mjs-DH6vf6gy.mjs} +1 -1
- package/dist/chunks/{bundle-mjs-Bj6M7Bh5.mjs.map → bundle-mjs-DH6vf6gy.mjs.map} +1 -1
- package/dist/chunks/{button-DUnGULhS.mjs → button-By6p3Bsx.mjs} +2 -2
- package/dist/chunks/{button-DUnGULhS.mjs.map → button-By6p3Bsx.mjs.map} +1 -1
- package/dist/chunks/{calendar-Cgi4uVPL.mjs → calendar-BMDZ5epm.mjs} +23 -8
- package/dist/chunks/{calendar-Cgi4uVPL.mjs.map → calendar-BMDZ5epm.mjs.map} +1 -1
- package/dist/chunks/{check-D7XegcNq.mjs → check-I-Hz86Bu.mjs} +2 -2
- package/dist/chunks/{check-D7XegcNq.mjs.map → check-I-Hz86Bu.mjs.map} +1 -1
- package/dist/chunks/{chevron-down-B7w8j1qi.mjs → chevron-down-BChdO0uD.mjs} +2 -2
- package/dist/chunks/{chevron-down-B7w8j1qi.mjs.map → chevron-down-BChdO0uD.mjs.map} +1 -1
- package/dist/chunks/{chevron-left-P-VgJSoP.mjs → chevron-left-DTNQBpUD.mjs} +2 -2
- package/dist/chunks/{chevron-left-P-VgJSoP.mjs.map → chevron-left-DTNQBpUD.mjs.map} +1 -1
- package/dist/chunks/{chevron-right-D8I8B3al.mjs → chevron-right-Cc8XUA4m.mjs} +2 -2
- package/dist/chunks/{chevron-right-D8I8B3al.mjs.map → chevron-right-Cc8XUA4m.mjs.map} +1 -1
- package/dist/chunks/{chevrons-up-down-BJzgHrFv.mjs → chevrons-up-down-D7M3-587.mjs} +2 -2
- package/dist/chunks/{chevrons-up-down-BJzgHrFv.mjs.map → chevrons-up-down-D7M3-587.mjs.map} +1 -1
- package/dist/chunks/{command-B2Q7vPrV.mjs → command-0Ir07spf.mjs} +8 -8
- package/dist/chunks/{command-B2Q7vPrV.mjs.map → command-0Ir07spf.mjs.map} +1 -1
- package/dist/chunks/{createLucideIcon-BnuYhciy.mjs → createLucideIcon-C_iAsC8V.mjs} +1 -1
- package/dist/chunks/{createLucideIcon-BnuYhciy.mjs.map → createLucideIcon-C_iAsC8V.mjs.map} +1 -1
- package/dist/chunks/{dialog-5R8jYrH2.mjs → dialog-DgjQIzg0.mjs} +4 -4
- package/dist/chunks/{dialog-5R8jYrH2.mjs.map → dialog-DgjQIzg0.mjs.map} +1 -1
- package/dist/chunks/{ellipsis-rAfolw0i.mjs → ellipsis-DZCE7oYT.mjs} +2 -2
- package/dist/chunks/{ellipsis-rAfolw0i.mjs.map → ellipsis-DZCE7oYT.mjs.map} +1 -1
- package/dist/chunks/{hover-card-IMC6GmGl.mjs → hover-card-kziSplk3.mjs} +11 -11
- package/dist/chunks/{hover-card-IMC6GmGl.mjs.map → hover-card-kziSplk3.mjs.map} +1 -1
- package/dist/chunks/{index-BtzrdXXu.mjs → index-B9cFm0ac.mjs} +1 -1
- package/dist/chunks/{index-BtzrdXXu.mjs.map → index-B9cFm0ac.mjs.map} +1 -1
- package/dist/chunks/{index-Bfqp6L57.mjs → index-BF-RSDzg.mjs} +1 -1
- package/dist/chunks/{index-Bfqp6L57.mjs.map → index-BF-RSDzg.mjs.map} +1 -1
- package/dist/chunks/{index-xgPrRc3G.mjs → index-BQaJNtas.mjs} +5 -5
- package/dist/chunks/{index-xgPrRc3G.mjs.map → index-BQaJNtas.mjs.map} +1 -1
- package/dist/chunks/{index-D02u4jwi.mjs → index-BYwOnxY9.mjs} +1 -1
- package/dist/chunks/{index-D02u4jwi.mjs.map → index-BYwOnxY9.mjs.map} +1 -1
- package/dist/chunks/{index-Cx4XlYKf.mjs → index-B_sik0X8.mjs} +1 -1
- package/dist/chunks/{index-Cx4XlYKf.mjs.map → index-B_sik0X8.mjs.map} +1 -1
- package/dist/chunks/{index-DKuVLbq1.mjs → index-Bfm-YFEU.mjs} +1 -1
- package/dist/chunks/{index-DKuVLbq1.mjs.map → index-Bfm-YFEU.mjs.map} +1 -1
- package/dist/chunks/{index-x0TwBXvJ.mjs → index-Bhg2_PY7.mjs} +1 -1
- package/dist/chunks/{index-x0TwBXvJ.mjs.map → index-Bhg2_PY7.mjs.map} +1 -1
- package/dist/chunks/{index-C-eBEzsd.mjs → index-Bq7RTW2y.mjs} +11 -11
- package/dist/chunks/{index-C-eBEzsd.mjs.map → index-Bq7RTW2y.mjs.map} +1 -1
- package/dist/chunks/{index-Bhy5-l7L.mjs → index-C8MYZd8G.mjs} +2 -2
- package/dist/chunks/{index-Bhy5-l7L.mjs.map → index-C8MYZd8G.mjs.map} +1 -1
- package/dist/chunks/{index-CI7Tnqaf.mjs → index-CIezYkdT.mjs} +1 -1
- package/dist/chunks/{index-CI7Tnqaf.mjs.map → index-CIezYkdT.mjs.map} +1 -1
- package/dist/chunks/{index-AD2ohxjm.mjs → index-CZ5Lcw2b.mjs} +1 -1
- package/dist/chunks/{index-AD2ohxjm.mjs.map → index-CZ5Lcw2b.mjs.map} +1 -1
- package/dist/chunks/{index-CiJHmWph.mjs → index-Ch7F9sXl.mjs} +2 -2
- package/dist/chunks/{index-CiJHmWph.mjs.map → index-Ch7F9sXl.mjs.map} +1 -1
- package/dist/chunks/{index-j8BDMqXg.mjs → index-D6oieYoA.mjs} +9 -9
- package/dist/chunks/{index-j8BDMqXg.mjs.map → index-D6oieYoA.mjs.map} +1 -1
- package/dist/chunks/{index-BL6I2O8I.mjs → index-DmfDMAo5.mjs} +1 -1
- package/dist/chunks/{index-BL6I2O8I.mjs.map → index-DmfDMAo5.mjs.map} +1 -1
- package/dist/chunks/{index-CIlaxeML.mjs → index-DvGV9EWr.mjs} +3 -3
- package/dist/chunks/{index-CIlaxeML.mjs.map → index-DvGV9EWr.mjs.map} +1 -1
- package/dist/chunks/{index-CxpHOtv2.mjs → index-DwkdRROB.mjs} +7 -7
- package/dist/chunks/{index-CxpHOtv2.mjs.map → index-DwkdRROB.mjs.map} +1 -1
- package/dist/chunks/{index-CsVkG_9K.mjs → index-Dx_b8MUs.mjs} +9 -9
- package/dist/chunks/{index-CsVkG_9K.mjs.map → index-Dx_b8MUs.mjs.map} +1 -1
- package/dist/chunks/{index-KCHKKCqw.mjs → index-QmLTwiGV.mjs} +2 -2
- package/dist/chunks/{index-KCHKKCqw.mjs.map → index-QmLTwiGV.mjs.map} +1 -1
- package/dist/chunks/{index-Dj2mKKII.mjs → index-THb_GTJh.mjs} +2 -2
- package/dist/chunks/{index-Dj2mKKII.mjs.map → index-THb_GTJh.mjs.map} +1 -1
- package/dist/chunks/{index-gB-FKFqi.mjs → index-fWNPF8HK.mjs} +15 -15
- package/dist/chunks/{index-gB-FKFqi.mjs.map → index-fWNPF8HK.mjs.map} +1 -1
- package/dist/chunks/{index-CUUcgAWS.mjs → index-kx2sJ01P.mjs} +1 -1
- package/dist/chunks/{index-CUUcgAWS.mjs.map → index-kx2sJ01P.mjs.map} +1 -1
- package/dist/chunks/{index-DGB6xduL.mjs → index-qjWZItTF.mjs} +5 -5
- package/dist/chunks/{index-DGB6xduL.mjs.map → index-qjWZItTF.mjs.map} +1 -1
- package/dist/chunks/{index-plymPSgY.mjs → index-vM3wkbBM.mjs} +3 -3
- package/dist/chunks/{index-plymPSgY.mjs.map → index-vM3wkbBM.mjs.map} +1 -1
- package/dist/chunks/{input-TuCGqI_P.mjs → input-Ck6shWlC.mjs} +2 -2
- package/dist/chunks/{input-TuCGqI_P.mjs.map → input-Ck6shWlC.mjs.map} +1 -1
- package/dist/chunks/{label-C3diPSrP.mjs → label-VIPrkCET.mjs} +3 -3
- package/dist/chunks/{label-C3diPSrP.mjs.map → label-VIPrkCET.mjs.map} +1 -1
- package/dist/chunks/{pagination-CFPUC8_E.mjs → pagination-Dm7nWzum.mjs} +6 -6
- package/dist/chunks/{pagination-CFPUC8_E.mjs.map → pagination-Dm7nWzum.mjs.map} +1 -1
- package/dist/chunks/{popover-BLkBJEBi.mjs → popover-C9351eP_.mjs} +13 -13
- package/dist/chunks/{popover-BLkBJEBi.mjs.map → popover-C9351eP_.mjs.map} +1 -1
- package/dist/chunks/{progress-BCXpEea-.mjs → progress-mirm5NVY.mjs} +4 -4
- package/dist/chunks/{progress-BCXpEea-.mjs.map → progress-mirm5NVY.mjs.map} +1 -1
- package/dist/chunks/pt-BR-BaLtJ-uU.mjs +3275 -0
- package/dist/chunks/pt-BR-BaLtJ-uU.mjs.map +1 -0
- package/dist/chunks/{scroll-area-DfDHXrMl.mjs → scroll-area-NkdCgHkI.mjs} +11 -11
- package/dist/chunks/{scroll-area-DfDHXrMl.mjs.map → scroll-area-NkdCgHkI.mjs.map} +1 -1
- package/dist/chunks/{select-Dm61g3Di.mjs → select-CGW1Mv2b.mjs} +5 -5
- package/dist/chunks/{select-Dm61g3Di.mjs.map → select-CGW1Mv2b.mjs.map} +1 -1
- package/dist/chunks/{separator-D9zU7ztA.mjs → separator-DOKWXYm4.mjs} +3 -3
- package/dist/chunks/{separator-D9zU7ztA.mjs.map → separator-DOKWXYm4.mjs.map} +1 -1
- package/dist/chunks/{sheet-CG9T6jEm.mjs → sheet-BeOnCTry.mjs} +4 -4
- package/dist/chunks/{sheet-CG9T6jEm.mjs.map → sheet-BeOnCTry.mjs.map} +1 -1
- package/dist/chunks/{skeleton-BBrPlJZ6.mjs → skeleton-A7SmFyPS.mjs} +2 -2
- package/dist/chunks/{skeleton-BBrPlJZ6.mjs.map → skeleton-A7SmFyPS.mjs.map} +1 -1
- package/dist/chunks/{sortable-C5sg2z09.mjs → sortable-BZWn10dE.mjs} +3 -3
- package/dist/chunks/{sortable-C5sg2z09.mjs.map → sortable-BZWn10dE.mjs.map} +1 -1
- package/dist/chunks/{table-D8dawH6l.mjs → table-0T2vOBFN.mjs} +2 -2
- package/dist/chunks/{table-D8dawH6l.mjs.map → table-0T2vOBFN.mjs.map} +1 -1
- package/dist/chunks/{toggle-BNDwy3fI.mjs → toggle-DXexQScO.mjs} +5 -5
- package/dist/chunks/{toggle-BNDwy3fI.mjs.map → toggle-DXexQScO.mjs.map} +1 -1
- package/dist/chunks/{tooltip-SoLw7T22.mjs → tooltip-Dj5aSMd4.mjs} +13 -13
- package/dist/chunks/{tooltip-SoLw7T22.mjs.map → tooltip-Dj5aSMd4.mjs.map} +1 -1
- package/dist/chunks/{trash-2-C_bzpesE.mjs → trash-2-DKEuKNiO.mjs} +2 -2
- package/dist/chunks/{trash-2-C_bzpesE.mjs.map → trash-2-DKEuKNiO.mjs.map} +1 -1
- package/dist/chunks/{tslib.es6-dgoTq-4a.mjs → tslib.es6-BAF7iAx8.mjs} +1 -1
- package/dist/chunks/{tslib.es6-dgoTq-4a.mjs.map → tslib.es6-BAF7iAx8.mjs.map} +1 -1
- package/dist/chunks/{utils-DiIQyE9g.mjs → utils-ieFmv4d0.mjs} +2 -2
- package/dist/chunks/{utils-DiIQyE9g.mjs.map → utils-ieFmv4d0.mjs.map} +1 -1
- package/dist/chunks/{x-BCPCYl4o.mjs → x-UYJwiGZL.mjs} +2 -2
- package/dist/chunks/{x-BCPCYl4o.mjs.map → x-UYJwiGZL.mjs.map} +1 -1
- package/dist/collapsible/index.mjs +9 -9
- package/dist/combobox/index.mjs +26 -26
- package/dist/command/index.mjs +20 -20
- package/dist/context-menu/index.mjs +23 -23
- package/dist/data-table/index.mjs +35 -35
- package/dist/date-picker/index.d.ts +7 -20
- package/dist/date-picker/index.mjs +38 -38
- package/dist/date-picker/index.mjs.map +1 -1
- package/dist/dialog/index.mjs +19 -19
- package/dist/drawer/index.mjs +16 -16
- package/dist/dropdown-menu/index.mjs +23 -23
- package/dist/dropzone/index.mjs +18 -18
- package/dist/form/index.mjs +4 -4
- package/dist/hover-card/index.mjs +15 -15
- package/dist/icon/index.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/input/index.mjs +3 -3
- package/dist/input-otp/index.mjs +3 -3
- package/dist/label/index.mjs +4 -4
- package/dist/layout/index.mjs +5 -5
- package/dist/menubar/index.mjs +23 -23
- package/dist/multi-select/index.mjs +30 -30
- package/dist/navigation-menu/index.mjs +17 -17
- package/dist/pagination/index.mjs +8 -8
- package/dist/popover/index.mjs +18 -18
- package/dist/progress/index.mjs +5 -5
- package/dist/radio-group/index.mjs +17 -17
- package/dist/resizable/index.mjs +3 -3
- package/dist/scroll-area/index.mjs +12 -12
- package/dist/select/index.mjs +6 -6
- package/dist/separator/index.mjs +4 -4
- package/dist/shared/index.mjs +5 -5
- package/dist/sheet/index.mjs +19 -19
- package/dist/sidebar/index.mjs +27 -27
- package/dist/skeleton/index.mjs +3 -3
- package/dist/skeleton-component/index.mjs +4 -4
- package/dist/slider/index.mjs +12 -12
- package/dist/sortable/index.mjs +4 -4
- package/dist/switch/index.mjs +10 -10
- package/dist/table/index.mjs +3 -3
- package/dist/tabs/index.mjs +13 -13
- package/dist/textarea/index.mjs +2 -2
- package/dist/toast/index.mjs +15 -15
- package/dist/toggle/index.mjs +7 -7
- package/dist/toggle-group/index.mjs +13 -13
- package/dist/tooltip/index.mjs +17 -17
- package/package.json +1 -2
- package/dist/chunks/_commonjsHelpers-B6NPw-gB.mjs.map +0 -1
- package/dist/chunks/pt-BR-dv9Ki026.mjs +0 -608
- package/dist/chunks/pt-BR-dv9Ki026.mjs.map +0 -1
package/dist/combobox/index.mjs
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { c as cn } from '../chunks/utils-
|
|
3
|
-
import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-
|
|
4
|
-
import { C as Check } from '../chunks/check-
|
|
5
|
-
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-
|
|
6
|
-
import { B as Button } from '../chunks/button-
|
|
7
|
-
import { C as Command, b as CommandInput, c as CommandList, d as CommandEmpty, e as CommandGroup, f as CommandItem } from '../chunks/command-
|
|
8
|
-
import '../chunks/bundle-mjs-
|
|
9
|
-
import '../chunks/createLucideIcon-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
12
|
-
import '../chunks/index-
|
|
2
|
+
import { c as cn } from '../chunks/utils-ieFmv4d0.mjs';
|
|
3
|
+
import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-D7M3-587.mjs';
|
|
4
|
+
import { C as Check } from '../chunks/check-I-Hz86Bu.mjs';
|
|
5
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-C9351eP_.mjs';
|
|
6
|
+
import { B as Button } from '../chunks/button-By6p3Bsx.mjs';
|
|
7
|
+
import { C as Command, b as CommandInput, c as CommandList, d as CommandEmpty, e as CommandGroup, f as CommandItem } from '../chunks/command-0Ir07spf.mjs';
|
|
8
|
+
import '../chunks/bundle-mjs-DH6vf6gy.mjs';
|
|
9
|
+
import '../chunks/createLucideIcon-C_iAsC8V.mjs';
|
|
10
|
+
import '../chunks/index-DmfDMAo5.mjs';
|
|
11
|
+
import '../chunks/index-Bhg2_PY7.mjs';
|
|
12
|
+
import '../chunks/index-BF-RSDzg.mjs';
|
|
13
13
|
import 'react/jsx-runtime';
|
|
14
|
-
import '../chunks/index-
|
|
15
|
-
import '../chunks/index-
|
|
14
|
+
import '../chunks/index-qjWZItTF.mjs';
|
|
15
|
+
import '../chunks/index-B_sik0X8.mjs';
|
|
16
16
|
import 'react-dom';
|
|
17
17
|
import '@radix-ui/react-slot';
|
|
18
|
-
import '../chunks/index-
|
|
19
|
-
import '../chunks/index-
|
|
20
|
-
import '../chunks/tslib.es6-
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/index-
|
|
23
|
-
import '../chunks/index-
|
|
24
|
-
import '../chunks/index-
|
|
25
|
-
import '../chunks/index-
|
|
26
|
-
import '../chunks/index-
|
|
27
|
-
import '../chunks/index-
|
|
18
|
+
import '../chunks/index-B9cFm0ac.mjs';
|
|
19
|
+
import '../chunks/index-BQaJNtas.mjs';
|
|
20
|
+
import '../chunks/tslib.es6-BAF7iAx8.mjs';
|
|
21
|
+
import '../chunks/index-Ch7F9sXl.mjs';
|
|
22
|
+
import '../chunks/index-CZ5Lcw2b.mjs';
|
|
23
|
+
import '../chunks/index-DwkdRROB.mjs';
|
|
24
|
+
import '../chunks/index-C8MYZd8G.mjs';
|
|
25
|
+
import '../chunks/index-vM3wkbBM.mjs';
|
|
26
|
+
import '../chunks/index-DvGV9EWr.mjs';
|
|
27
|
+
import '../chunks/index-THb_GTJh.mjs';
|
|
28
28
|
import 'class-variance-authority';
|
|
29
|
-
import '../chunks/index-
|
|
30
|
-
import '../chunks/dialog-
|
|
31
|
-
import '../chunks/x-
|
|
29
|
+
import '../chunks/index-Bq7RTW2y.mjs';
|
|
30
|
+
import '../chunks/dialog-DgjQIzg0.mjs';
|
|
31
|
+
import '../chunks/x-UYJwiGZL.mjs';
|
|
32
32
|
|
|
33
33
|
function Combobox({ items, value, onValueChange, placeholder = "Select item...", searchPlaceholder = "Search item...", emptyMessage = "No item found.", widthClassName = "w-fit", className, groupHeading }) {
|
|
34
34
|
const [open, setOpen] = React.useState(false);
|
package/dist/command/index.mjs
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export { C as Command, a as CommandDialog, d as CommandEmpty, e as CommandGroup, b as CommandInput, f as CommandItem, c as CommandList, h as CommandSeparator, g as CommandShortcut } from '../chunks/command-
|
|
2
|
-
import '../chunks/utils-
|
|
3
|
-
import '../chunks/bundle-mjs-
|
|
4
|
-
import '../chunks/index-
|
|
1
|
+
export { C as Command, a as CommandDialog, d as CommandEmpty, e as CommandGroup, b as CommandInput, f as CommandItem, c as CommandList, h as CommandSeparator, g as CommandShortcut } from '../chunks/command-0Ir07spf.mjs';
|
|
2
|
+
import '../chunks/utils-ieFmv4d0.mjs';
|
|
3
|
+
import '../chunks/bundle-mjs-DH6vf6gy.mjs';
|
|
4
|
+
import '../chunks/index-Bq7RTW2y.mjs';
|
|
5
5
|
import 'react';
|
|
6
|
-
import '../chunks/index-
|
|
7
|
-
import '../chunks/index-
|
|
8
|
-
import '../chunks/index-
|
|
6
|
+
import '../chunks/index-DmfDMAo5.mjs';
|
|
7
|
+
import '../chunks/index-Bhg2_PY7.mjs';
|
|
8
|
+
import '../chunks/index-BF-RSDzg.mjs';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
12
|
-
import '../chunks/index-
|
|
13
|
-
import '../chunks/index-
|
|
14
|
-
import '../chunks/index-
|
|
10
|
+
import '../chunks/index-Ch7F9sXl.mjs';
|
|
11
|
+
import '../chunks/index-CZ5Lcw2b.mjs';
|
|
12
|
+
import '../chunks/index-THb_GTJh.mjs';
|
|
13
|
+
import '../chunks/index-qjWZItTF.mjs';
|
|
14
|
+
import '../chunks/index-B_sik0X8.mjs';
|
|
15
15
|
import 'react-dom';
|
|
16
16
|
import '@radix-ui/react-slot';
|
|
17
|
-
import '../chunks/index-
|
|
18
|
-
import '../chunks/index-
|
|
19
|
-
import '../chunks/tslib.es6-
|
|
20
|
-
import '../chunks/index-
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/dialog-
|
|
23
|
-
import '../chunks/x-
|
|
24
|
-
import '../chunks/createLucideIcon-
|
|
17
|
+
import '../chunks/index-B9cFm0ac.mjs';
|
|
18
|
+
import '../chunks/index-BQaJNtas.mjs';
|
|
19
|
+
import '../chunks/tslib.es6-BAF7iAx8.mjs';
|
|
20
|
+
import '../chunks/index-vM3wkbBM.mjs';
|
|
21
|
+
import '../chunks/index-DvGV9EWr.mjs';
|
|
22
|
+
import '../chunks/dialog-DgjQIzg0.mjs';
|
|
23
|
+
import '../chunks/x-UYJwiGZL.mjs';
|
|
24
|
+
import '../chunks/createLucideIcon-C_iAsC8V.mjs';
|
|
25
25
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { c as composeEventHandlers } from '../chunks/index-
|
|
3
|
-
import { c as createContextScope } from '../chunks/index-
|
|
4
|
-
import { P as Primitive } from '../chunks/index-
|
|
5
|
-
import { c as createMenuScope, R as Root3, A as Anchor2, P as Portal, C as Content2$1, I as Item2$1, a as CheckboxItem, b as ItemIndicator, d as RadioItem, L as Label, S as Separator, G as Group, e as Sub, f as SubContent, g as SubTrigger, h as RadioGroup, i as Arrow2, j as Circle } from '../chunks/index-
|
|
6
|
-
import { u as useCallbackRef } from '../chunks/index-
|
|
7
|
-
import { u as useControllableState } from '../chunks/index-
|
|
2
|
+
import { c as composeEventHandlers } from '../chunks/index-DmfDMAo5.mjs';
|
|
3
|
+
import { c as createContextScope } from '../chunks/index-BF-RSDzg.mjs';
|
|
4
|
+
import { P as Primitive } from '../chunks/index-B_sik0X8.mjs';
|
|
5
|
+
import { c as createMenuScope, R as Root3, A as Anchor2, P as Portal, C as Content2$1, I as Item2$1, a as CheckboxItem, b as ItemIndicator, d as RadioItem, L as Label, S as Separator, G as Group, e as Sub, f as SubContent, g as SubTrigger, h as RadioGroup, i as Arrow2, j as Circle } from '../chunks/index-fWNPF8HK.mjs';
|
|
6
|
+
import { u as useCallbackRef } from '../chunks/index-B9cFm0ac.mjs';
|
|
7
|
+
import { u as useControllableState } from '../chunks/index-THb_GTJh.mjs';
|
|
8
8
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
|
-
import { c as cn } from '../chunks/utils-
|
|
10
|
-
import { C as Check } from '../chunks/check-
|
|
11
|
-
import { C as ChevronRight } from '../chunks/chevron-right-
|
|
9
|
+
import { c as cn } from '../chunks/utils-ieFmv4d0.mjs';
|
|
10
|
+
import { C as Check } from '../chunks/check-I-Hz86Bu.mjs';
|
|
11
|
+
import { C as ChevronRight } from '../chunks/chevron-right-Cc8XUA4m.mjs';
|
|
12
12
|
import 'react-dom';
|
|
13
13
|
import '@radix-ui/react-slot';
|
|
14
|
-
import '../chunks/createLucideIcon-
|
|
14
|
+
import '../chunks/createLucideIcon-C_iAsC8V.mjs';
|
|
15
15
|
import '@radix-ui/react-collection';
|
|
16
|
-
import '../chunks/index-
|
|
17
|
-
import '../chunks/index-
|
|
18
|
-
import '../chunks/index-
|
|
19
|
-
import '../chunks/index-
|
|
20
|
-
import '../chunks/tslib.es6-
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/index-
|
|
23
|
-
import '../chunks/index-
|
|
24
|
-
import '../chunks/index-
|
|
25
|
-
import '../chunks/index-
|
|
26
|
-
import '../chunks/index-
|
|
27
|
-
import '../chunks/index-
|
|
28
|
-
import '../chunks/bundle-mjs-
|
|
16
|
+
import '../chunks/index-Bhg2_PY7.mjs';
|
|
17
|
+
import '../chunks/index-CIezYkdT.mjs';
|
|
18
|
+
import '../chunks/index-qjWZItTF.mjs';
|
|
19
|
+
import '../chunks/index-BQaJNtas.mjs';
|
|
20
|
+
import '../chunks/tslib.es6-BAF7iAx8.mjs';
|
|
21
|
+
import '../chunks/index-Ch7F9sXl.mjs';
|
|
22
|
+
import '../chunks/index-CZ5Lcw2b.mjs';
|
|
23
|
+
import '../chunks/index-DwkdRROB.mjs';
|
|
24
|
+
import '../chunks/index-C8MYZd8G.mjs';
|
|
25
|
+
import '../chunks/index-vM3wkbBM.mjs';
|
|
26
|
+
import '../chunks/index-DvGV9EWr.mjs';
|
|
27
|
+
import '../chunks/index-Dx_b8MUs.mjs';
|
|
28
|
+
import '../chunks/bundle-mjs-DH6vf6gy.mjs';
|
|
29
29
|
|
|
30
30
|
var CONTEXT_MENU_NAME = "ContextMenu";
|
|
31
31
|
var [createContextMenuContext] = createContextScope(CONTEXT_MENU_NAME, [
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { forwardRef, createElement } from 'react';
|
|
3
|
-
import { c as cn } from '../chunks/utils-
|
|
4
|
-
import { C as ChevronDown } from '../chunks/chevron-down-
|
|
5
|
-
import { C as Check } from '../chunks/check-
|
|
6
|
-
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-
|
|
7
|
-
import { B as Button } from '../chunks/button-
|
|
8
|
-
import { C as Command, b as CommandInput, c as CommandList, d as CommandEmpty, e as CommandGroup, f as CommandItem, S as Search } from '../chunks/command-
|
|
9
|
-
import { I as Input } from '../chunks/input-
|
|
10
|
-
import { S as Select, h as SelectTrigger, i as SelectValue, a as SelectContent, c as SelectItem } from '../chunks/select-
|
|
11
|
-
import { C as ChevronLeft } from '../chunks/chevron-left-
|
|
12
|
-
import { C as ChevronRight } from '../chunks/chevron-right-
|
|
13
|
-
import { c as PaginationItem, f as PaginationEllipsis } from '../chunks/pagination-
|
|
14
|
-
import { S as Skeleton } from '../chunks/skeleton-
|
|
15
|
-
import { e as TableRow, f as TableCell, T as Table, a as TableHeader, d as TableHead, b as TableBody } from '../chunks/table-
|
|
16
|
-
import { c as createLucideIcon } from '../chunks/createLucideIcon-
|
|
17
|
-
import { S as Sortable, b as SortableItem } from '../chunks/sortable-
|
|
18
|
-
import '../chunks/bundle-mjs-
|
|
19
|
-
import '../chunks/index-
|
|
20
|
-
import '../chunks/index-
|
|
21
|
-
import '../chunks/index-
|
|
3
|
+
import { c as cn } from '../chunks/utils-ieFmv4d0.mjs';
|
|
4
|
+
import { C as ChevronDown } from '../chunks/chevron-down-BChdO0uD.mjs';
|
|
5
|
+
import { C as Check } from '../chunks/check-I-Hz86Bu.mjs';
|
|
6
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-C9351eP_.mjs';
|
|
7
|
+
import { B as Button } from '../chunks/button-By6p3Bsx.mjs';
|
|
8
|
+
import { C as Command, b as CommandInput, c as CommandList, d as CommandEmpty, e as CommandGroup, f as CommandItem, S as Search } from '../chunks/command-0Ir07spf.mjs';
|
|
9
|
+
import { I as Input } from '../chunks/input-Ck6shWlC.mjs';
|
|
10
|
+
import { S as Select, h as SelectTrigger, i as SelectValue, a as SelectContent, c as SelectItem } from '../chunks/select-CGW1Mv2b.mjs';
|
|
11
|
+
import { C as ChevronLeft } from '../chunks/chevron-left-DTNQBpUD.mjs';
|
|
12
|
+
import { C as ChevronRight } from '../chunks/chevron-right-Cc8XUA4m.mjs';
|
|
13
|
+
import { c as PaginationItem, f as PaginationEllipsis } from '../chunks/pagination-Dm7nWzum.mjs';
|
|
14
|
+
import { S as Skeleton } from '../chunks/skeleton-A7SmFyPS.mjs';
|
|
15
|
+
import { e as TableRow, f as TableCell, T as Table, a as TableHeader, d as TableHead, b as TableBody } from '../chunks/table-0T2vOBFN.mjs';
|
|
16
|
+
import { c as createLucideIcon } from '../chunks/createLucideIcon-C_iAsC8V.mjs';
|
|
17
|
+
import { S as Sortable, b as SortableItem } from '../chunks/sortable-BZWn10dE.mjs';
|
|
18
|
+
import '../chunks/bundle-mjs-DH6vf6gy.mjs';
|
|
19
|
+
import '../chunks/index-DmfDMAo5.mjs';
|
|
20
|
+
import '../chunks/index-Bhg2_PY7.mjs';
|
|
21
|
+
import '../chunks/index-BF-RSDzg.mjs';
|
|
22
22
|
import 'react/jsx-runtime';
|
|
23
|
-
import '../chunks/index-
|
|
24
|
-
import '../chunks/index-
|
|
23
|
+
import '../chunks/index-qjWZItTF.mjs';
|
|
24
|
+
import '../chunks/index-B_sik0X8.mjs';
|
|
25
25
|
import 'react-dom';
|
|
26
26
|
import '@radix-ui/react-slot';
|
|
27
|
-
import '../chunks/index-
|
|
28
|
-
import '../chunks/index-
|
|
29
|
-
import '../chunks/tslib.es6-
|
|
30
|
-
import '../chunks/index-
|
|
31
|
-
import '../chunks/index-
|
|
32
|
-
import '../chunks/index-
|
|
33
|
-
import '../chunks/index-
|
|
34
|
-
import '../chunks/index-
|
|
35
|
-
import '../chunks/index-
|
|
36
|
-
import '../chunks/index-
|
|
27
|
+
import '../chunks/index-B9cFm0ac.mjs';
|
|
28
|
+
import '../chunks/index-BQaJNtas.mjs';
|
|
29
|
+
import '../chunks/tslib.es6-BAF7iAx8.mjs';
|
|
30
|
+
import '../chunks/index-Ch7F9sXl.mjs';
|
|
31
|
+
import '../chunks/index-CZ5Lcw2b.mjs';
|
|
32
|
+
import '../chunks/index-DwkdRROB.mjs';
|
|
33
|
+
import '../chunks/index-C8MYZd8G.mjs';
|
|
34
|
+
import '../chunks/index-vM3wkbBM.mjs';
|
|
35
|
+
import '../chunks/index-DvGV9EWr.mjs';
|
|
36
|
+
import '../chunks/index-THb_GTJh.mjs';
|
|
37
37
|
import 'class-variance-authority';
|
|
38
|
-
import '../chunks/index-
|
|
39
|
-
import '../chunks/dialog-
|
|
40
|
-
import '../chunks/x-
|
|
38
|
+
import '../chunks/index-Bq7RTW2y.mjs';
|
|
39
|
+
import '../chunks/dialog-DgjQIzg0.mjs';
|
|
40
|
+
import '../chunks/x-UYJwiGZL.mjs';
|
|
41
41
|
import '@radix-ui/react-select';
|
|
42
|
-
import '../chunks/ellipsis-
|
|
42
|
+
import '../chunks/ellipsis-DZCE7oYT.mjs';
|
|
43
43
|
|
|
44
44
|
const __iconNode$1 = [
|
|
45
45
|
[
|
|
@@ -1,38 +1,25 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ButtonProps } from '../button/index.js';
|
|
3
|
+
import { Calendar } from '../calendar/index.js';
|
|
3
4
|
import { Popover } from '../popover/index.js';
|
|
4
5
|
import React__default from 'react';
|
|
5
6
|
import 'class-variance-authority/types';
|
|
6
7
|
import 'class-variance-authority';
|
|
8
|
+
import 'react-day-picker';
|
|
7
9
|
import '@radix-ui/react-popover';
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
date: Date | undefined;
|
|
12
|
-
/** Callback chamado quando uma nova data é escolhida */
|
|
11
|
+
interface DatePickerProps extends Omit<React__default.ComponentProps<typeof Calendar>, "mode" | "selected" | "onSelect"> {
|
|
12
|
+
date: Date | string | undefined;
|
|
13
13
|
setDate: (date: Date | undefined) => void;
|
|
14
14
|
placeholder?: string;
|
|
15
|
-
/** ID opcional para o botão */
|
|
16
15
|
id?: string;
|
|
17
|
-
/** Props adicionais para o botão */
|
|
18
16
|
buttonProps?: ButtonProps;
|
|
19
|
-
/** Classes extras aplicadas ao botão */
|
|
20
|
-
buttonClassName?: string;
|
|
21
|
-
/** Props adicionais para o popover */
|
|
22
17
|
popoverProps?: React__default.ComponentProps<typeof Popover>;
|
|
23
|
-
/** Classes extras aplicadas ao conteúdo do popover */
|
|
24
18
|
popoverContentClassName?: string;
|
|
25
|
-
/** Número de meses exibidos no calendário (default: 1) */
|
|
26
|
-
numberOfMonths?: number;
|
|
27
|
-
/** Ano inicial permitido */
|
|
28
|
-
fromYear?: number;
|
|
29
|
-
/** Ano final permitido */
|
|
30
|
-
toYear?: number;
|
|
31
|
-
/** Classes extras para o contêiner */
|
|
32
19
|
className?: string;
|
|
33
|
-
/** Desabilita o botão */
|
|
34
20
|
disabled?: boolean;
|
|
35
|
-
}
|
|
36
|
-
declare function DatePicker({ date, setDate, placeholder, id, buttonProps,
|
|
21
|
+
}
|
|
22
|
+
declare function DatePicker({ date, setDate, placeholder, id, buttonProps, popoverProps, popoverContentClassName, className, disabled, ...props }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
37
23
|
|
|
38
24
|
export { DatePicker };
|
|
25
|
+
export type { DatePickerProps };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import { c as cn } from '../chunks/utils-
|
|
1
|
+
import { c as cn } from '../chunks/utils-ieFmv4d0.mjs';
|
|
2
|
+
import { t as tryParseDate, C as CalendarDays, p as ptBR } from '../chunks/pt-BR-BaLtJ-uU.mjs';
|
|
2
3
|
import React__default from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import '../chunks/
|
|
8
|
-
import '../chunks/
|
|
9
|
-
import '../chunks/index-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-Bfqp6L57.mjs';
|
|
4
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-C9351eP_.mjs';
|
|
5
|
+
import { B as Button } from '../chunks/button-By6p3Bsx.mjs';
|
|
6
|
+
import { f as format, C as Calendar } from '../chunks/calendar-BMDZ5epm.mjs';
|
|
7
|
+
import '../chunks/bundle-mjs-DH6vf6gy.mjs';
|
|
8
|
+
import '../chunks/createLucideIcon-C_iAsC8V.mjs';
|
|
9
|
+
import '../chunks/index-DmfDMAo5.mjs';
|
|
10
|
+
import '../chunks/index-Bhg2_PY7.mjs';
|
|
11
|
+
import '../chunks/index-BF-RSDzg.mjs';
|
|
12
12
|
import 'react/jsx-runtime';
|
|
13
|
-
import '../chunks/index-
|
|
14
|
-
import '../chunks/index-
|
|
13
|
+
import '../chunks/index-qjWZItTF.mjs';
|
|
14
|
+
import '../chunks/index-B_sik0X8.mjs';
|
|
15
15
|
import 'react-dom';
|
|
16
16
|
import '@radix-ui/react-slot';
|
|
17
|
-
import '../chunks/index-
|
|
18
|
-
import '../chunks/index-
|
|
19
|
-
import '../chunks/tslib.es6-
|
|
20
|
-
import '../chunks/index-
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/index-
|
|
23
|
-
import '../chunks/index-
|
|
24
|
-
import '../chunks/index-
|
|
25
|
-
import '../chunks/index-
|
|
26
|
-
import '../chunks/index-
|
|
17
|
+
import '../chunks/index-B9cFm0ac.mjs';
|
|
18
|
+
import '../chunks/index-BQaJNtas.mjs';
|
|
19
|
+
import '../chunks/tslib.es6-BAF7iAx8.mjs';
|
|
20
|
+
import '../chunks/index-Ch7F9sXl.mjs';
|
|
21
|
+
import '../chunks/index-CZ5Lcw2b.mjs';
|
|
22
|
+
import '../chunks/index-DwkdRROB.mjs';
|
|
23
|
+
import '../chunks/index-C8MYZd8G.mjs';
|
|
24
|
+
import '../chunks/index-vM3wkbBM.mjs';
|
|
25
|
+
import '../chunks/index-DvGV9EWr.mjs';
|
|
26
|
+
import '../chunks/index-THb_GTJh.mjs';
|
|
27
27
|
import 'class-variance-authority';
|
|
28
|
-
import '../chunks/chevron-left-
|
|
29
|
-
import '../chunks/chevron-right-
|
|
30
|
-
import '../chunks/chevron-down-
|
|
28
|
+
import '../chunks/chevron-left-DTNQBpUD.mjs';
|
|
29
|
+
import '../chunks/chevron-right-Cc8XUA4m.mjs';
|
|
30
|
+
import '../chunks/chevron-down-BChdO0uD.mjs';
|
|
31
31
|
|
|
32
|
-
function DatePicker({ date, setDate, placeholder = "Selecione uma data", id = "date-picker", buttonProps,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}, /*#__PURE__*/ React__default.createElement(Popover, popoverProps, /*#__PURE__*/ React__default.createElement(PopoverTrigger, {
|
|
32
|
+
function DatePicker({ date, setDate, placeholder = "Selecione uma data", id = "date-picker", buttonProps, popoverProps, popoverContentClassName, className, disabled, ...props }) {
|
|
33
|
+
const validDate = tryParseDate(date);
|
|
34
|
+
return /*#__PURE__*/ React__default.createElement(Popover, popoverProps, /*#__PURE__*/ React__default.createElement(PopoverTrigger, {
|
|
36
35
|
asChild: true
|
|
37
36
|
}, /*#__PURE__*/ React__default.createElement(Button, {
|
|
38
37
|
id: id,
|
|
39
38
|
variant: "outline",
|
|
40
|
-
className: cn("hover:text-foreground
|
|
39
|
+
className: cn("hover:text-foreground justify-start text-left font-normal", !validDate && "text-muted-foreground hover:text-muted-foreground", className),
|
|
41
40
|
disabled: disabled,
|
|
42
41
|
...buttonProps
|
|
43
42
|
}, /*#__PURE__*/ React__default.createElement(CalendarDays, {
|
|
44
43
|
className: "size-4"
|
|
45
|
-
}),
|
|
44
|
+
}), validDate ? format(validDate, "P", {
|
|
46
45
|
locale: ptBR
|
|
47
46
|
}) : /*#__PURE__*/ React__default.createElement("span", null, placeholder))), /*#__PURE__*/ React__default.createElement(PopoverContent, {
|
|
48
47
|
className: cn("w-auto p-0", popoverContentClassName),
|
|
49
48
|
align: "start"
|
|
50
49
|
}, /*#__PURE__*/ React__default.createElement(Calendar, {
|
|
51
50
|
autoFocus: true,
|
|
52
|
-
mode: "single",
|
|
53
51
|
captionLayout: "dropdown",
|
|
54
|
-
selected:
|
|
52
|
+
selected: validDate,
|
|
55
53
|
onSelect: setDate,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
54
|
+
locale: ptBR,
|
|
55
|
+
numberOfMonths: 1,
|
|
56
|
+
fromYear: 2010,
|
|
57
|
+
toYear: 2040,
|
|
58
|
+
...props,
|
|
59
|
+
mode: "single"
|
|
60
|
+
})));
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
export { DatePicker };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../src/components/ui/date-picker/date-picker.tsx"],"sourcesContent":["\"use client\";\n\nimport { Button, type ButtonProps } from \"@/components/ui/button\";\nimport { Calendar } from \"@/components/ui/calendar\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"@/components/ui/popover\";\nimport { cn } from \"@/lib/utils\";\nimport { format } from \"date-fns\";\nimport { ptBR } from \"date-fns/locale\";\nimport { CalendarDaysIcon } from \"lucide-react\";\nimport React from \"react\";\n\
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../src/components/ui/date-picker/date-picker.tsx"],"sourcesContent":["\"use client\";\n\nimport { Button, type ButtonProps } from \"@/components/ui/button\";\nimport { Calendar } from \"@/components/ui/calendar\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"@/components/ui/popover\";\nimport { cn } from \"@/lib/utils\";\nimport { tryParseDate } from \"@/utils/date\";\nimport { format } from \"date-fns\";\nimport { ptBR } from \"date-fns/locale\";\nimport { CalendarDaysIcon } from \"lucide-react\";\nimport React from \"react\";\n\nexport interface DatePickerProps\n\textends Omit<React.ComponentProps<typeof Calendar>, \"mode\" | \"selected\" | \"onSelect\"> {\n\tdate: Date | string | undefined;\n\tsetDate: (date: Date | undefined) => void;\n\tplaceholder?: string;\n\tid?: string;\n\tbuttonProps?: ButtonProps;\n\tpopoverProps?: React.ComponentProps<typeof Popover>;\n\tpopoverContentClassName?: string;\n\tclassName?: string;\n\tdisabled?: boolean;\n}\n\nexport function DatePicker({\n\tdate,\n\tsetDate,\n\tplaceholder = \"Selecione uma data\",\n\tid = \"date-picker\",\n\tbuttonProps,\n\tpopoverProps,\n\tpopoverContentClassName,\n\tclassName,\n\tdisabled,\n\t...props\n}: DatePickerProps) {\n\tconst validDate = tryParseDate(date);\n\n\treturn (\n\t\t<Popover {...popoverProps}>\n\t\t\t<PopoverTrigger asChild>\n\t\t\t\t<Button\n\t\t\t\t\tid={id}\n\t\t\t\t\tvariant=\"outline\"\n\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\"hover:text-foreground justify-start text-left font-normal\",\n\t\t\t\t\t\t!validDate && \"text-muted-foreground hover:text-muted-foreground\",\n\t\t\t\t\t\tclassName,\n\t\t\t\t\t)}\n\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t{...buttonProps}\n\t\t\t\t>\n\t\t\t\t\t<CalendarDaysIcon className=\"size-4\" />\n\t\t\t\t\t{validDate ? format(validDate, \"P\", { locale: ptBR }) : <span>{placeholder}</span>}\n\t\t\t\t</Button>\n\t\t\t</PopoverTrigger>\n\n\t\t\t<PopoverContent className={cn(\"w-auto p-0\", popoverContentClassName)} align=\"start\">\n\t\t\t\t<Calendar\n\t\t\t\t\tautoFocus\n\t\t\t\t\tcaptionLayout=\"dropdown\"\n\t\t\t\t\tselected={validDate}\n\t\t\t\t\tonSelect={setDate}\n\t\t\t\t\tlocale={ptBR}\n\t\t\t\t\tnumberOfMonths={1}\n\t\t\t\t\tfromYear={2010}\n\t\t\t\t\ttoYear={2040}\n\t\t\t\t\t{...props}\n\t\t\t\t\tmode=\"single\"\n\t\t\t\t/>\n\t\t\t</PopoverContent>\n\t\t</Popover>\n\t);\n}\n"],"names":["DatePicker","date","setDate","placeholder","id","buttonProps","popoverProps","popoverContentClassName","className","disabled","props","validDate","tryParseDate","React","Popover","PopoverTrigger","asChild","Button","variant","cn","CalendarDaysIcon","format","locale","ptBR","span","PopoverContent","align","Calendar","autoFocus","captionLayout","selected","onSelect","numberOfMonths","fromYear","toYear","mode"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBO,SAASA,UAAAA,CAAW,EAC1BC,IAAI,EACJC,OAAO,EACPC,WAAAA,GAAc,oBAAoB,EAClCC,EAAAA,GAAK,aAAa,EAClBC,WAAW,EACXC,YAAY,EACZC,uBAAuB,EACvBC,SAAS,EACTC,QAAQ,EACR,GAAGC,KAAAA,EACc,EAAA;AACjB,IAAA,MAAMC,YAAYC,YAAAA,CAAaX,IAAAA,CAAAA;IAE/B,qBACCY,cAAA,CAAA,aAAA,CAACC,OAAAA,EAAYR,YAAAA,gBACZO,cAAA,CAAA,aAAA,CAACE,cAAAA,EAAAA;QAAeC,OAAAA,EAAAA;qBACfH,cAAA,CAAA,aAAA,CAACI,MAAAA,EAAAA;QACAb,EAAAA,EAAIA,EAAAA;QACJc,OAAAA,EAAQ,SAAA;AACRV,QAAAA,SAAAA,EAAWW,EAAAA,CACV,2DAAA,EACA,CAACR,SAAAA,IAAa,mDAAA,EACdH,SAAAA,CAAAA;QAEDC,QAAAA,EAAUA,QAAAA;AACT,QAAA,GAAGJ;qBAEJQ,cAAA,CAAA,aAAA,CAACO,YAAAA,EAAAA;QAAiBZ,SAAAA,EAAU;QAC3BG,SAAAA,GAAYU,MAAAA,CAAOV,WAAW,GAAA,EAAK;QAAEW,MAAAA,EAAQC;KAAK,CAAA,iBAAKV,cAAA,CAAA,aAAA,CAACW,MAAAA,EAAAA,IAAAA,EAAMrB,WAAAA,CAAAA,CAAAA,CAAAA,gBAIjEU,cAAA,CAAA,aAAA,CAACY,cAAAA,EAAAA;AAAejB,QAAAA,SAAAA,EAAWW,GAAG,YAAA,EAAcZ,uBAAAA,CAAAA;QAA0BmB,KAAAA,EAAM;qBAC3Eb,cAAA,CAAA,aAAA,CAACc,QAAAA,EAAAA;QACAC,SAAAA,EAAAA,IAAAA;QACAC,aAAAA,EAAc,UAAA;QACdC,QAAAA,EAAUnB,SAAAA;QACVoB,QAAAA,EAAU7B,OAAAA;QACVoB,MAAAA,EAAQC,IAAAA;QACRS,cAAAA,EAAgB,CAAA;QAChBC,QAAAA,EAAU,IAAA;QACVC,MAAAA,EAAQ,IAAA;AACP,QAAA,GAAGxB,KAAK;QACTyB,IAAAA,EAAK;;AAKV;;;;"}
|
package/dist/dialog/index.mjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export { D as Dialog, a as DialogClose, b as DialogContent, c as DialogDescription, d as DialogFooter, e as DialogHeader, f as DialogOverlay, g as DialogPortal, h as DialogTitle, i as DialogTrigger } from '../chunks/dialog-
|
|
2
|
-
import '../chunks/utils-
|
|
3
|
-
import '../chunks/bundle-mjs-
|
|
4
|
-
import '../chunks/index-
|
|
1
|
+
export { D as Dialog, a as DialogClose, b as DialogContent, c as DialogDescription, d as DialogFooter, e as DialogHeader, f as DialogOverlay, g as DialogPortal, h as DialogTitle, i as DialogTrigger } from '../chunks/dialog-DgjQIzg0.mjs';
|
|
2
|
+
import '../chunks/utils-ieFmv4d0.mjs';
|
|
3
|
+
import '../chunks/bundle-mjs-DH6vf6gy.mjs';
|
|
4
|
+
import '../chunks/index-Bq7RTW2y.mjs';
|
|
5
5
|
import 'react';
|
|
6
|
-
import '../chunks/index-
|
|
7
|
-
import '../chunks/index-
|
|
8
|
-
import '../chunks/index-
|
|
6
|
+
import '../chunks/index-DmfDMAo5.mjs';
|
|
7
|
+
import '../chunks/index-Bhg2_PY7.mjs';
|
|
8
|
+
import '../chunks/index-BF-RSDzg.mjs';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
12
|
-
import '../chunks/index-
|
|
13
|
-
import '../chunks/index-
|
|
14
|
-
import '../chunks/index-
|
|
10
|
+
import '../chunks/index-Ch7F9sXl.mjs';
|
|
11
|
+
import '../chunks/index-CZ5Lcw2b.mjs';
|
|
12
|
+
import '../chunks/index-THb_GTJh.mjs';
|
|
13
|
+
import '../chunks/index-qjWZItTF.mjs';
|
|
14
|
+
import '../chunks/index-B_sik0X8.mjs';
|
|
15
15
|
import 'react-dom';
|
|
16
16
|
import '@radix-ui/react-slot';
|
|
17
|
-
import '../chunks/index-
|
|
18
|
-
import '../chunks/index-
|
|
19
|
-
import '../chunks/tslib.es6-
|
|
20
|
-
import '../chunks/index-
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/x-
|
|
23
|
-
import '../chunks/createLucideIcon-
|
|
17
|
+
import '../chunks/index-B9cFm0ac.mjs';
|
|
18
|
+
import '../chunks/index-BQaJNtas.mjs';
|
|
19
|
+
import '../chunks/tslib.es6-BAF7iAx8.mjs';
|
|
20
|
+
import '../chunks/index-vM3wkbBM.mjs';
|
|
21
|
+
import '../chunks/index-DvGV9EWr.mjs';
|
|
22
|
+
import '../chunks/x-UYJwiGZL.mjs';
|
|
23
|
+
import '../chunks/createLucideIcon-C_iAsC8V.mjs';
|
|
24
24
|
//# sourceMappingURL=index.mjs.map
|
package/dist/drawer/index.mjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { useLayoutEffect, useEffect, useMemo } from 'react';
|
|
3
|
-
import { b as Trigger, C as Close, T as Title, D as Description, R as Root$1, P as Portal$1, O as Overlay$1, a as Content$1 } from '../chunks/index-
|
|
4
|
-
import { c as cn } from '../chunks/utils-
|
|
5
|
-
import '../chunks/index-
|
|
6
|
-
import '../chunks/index-
|
|
7
|
-
import '../chunks/index-
|
|
3
|
+
import { b as Trigger, C as Close, T as Title, D as Description, R as Root$1, P as Portal$1, O as Overlay$1, a as Content$1 } from '../chunks/index-Bq7RTW2y.mjs';
|
|
4
|
+
import { c as cn } from '../chunks/utils-ieFmv4d0.mjs';
|
|
5
|
+
import '../chunks/index-DmfDMAo5.mjs';
|
|
6
|
+
import '../chunks/index-Bhg2_PY7.mjs';
|
|
7
|
+
import '../chunks/index-BF-RSDzg.mjs';
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
|
-
import '../chunks/index-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
12
|
-
import '../chunks/index-
|
|
13
|
-
import '../chunks/index-
|
|
9
|
+
import '../chunks/index-Ch7F9sXl.mjs';
|
|
10
|
+
import '../chunks/index-CZ5Lcw2b.mjs';
|
|
11
|
+
import '../chunks/index-THb_GTJh.mjs';
|
|
12
|
+
import '../chunks/index-qjWZItTF.mjs';
|
|
13
|
+
import '../chunks/index-B_sik0X8.mjs';
|
|
14
14
|
import 'react-dom';
|
|
15
15
|
import '@radix-ui/react-slot';
|
|
16
|
-
import '../chunks/index-
|
|
17
|
-
import '../chunks/index-
|
|
18
|
-
import '../chunks/tslib.es6-
|
|
19
|
-
import '../chunks/index-
|
|
20
|
-
import '../chunks/index-
|
|
21
|
-
import '../chunks/bundle-mjs-
|
|
16
|
+
import '../chunks/index-B9cFm0ac.mjs';
|
|
17
|
+
import '../chunks/index-BQaJNtas.mjs';
|
|
18
|
+
import '../chunks/tslib.es6-BAF7iAx8.mjs';
|
|
19
|
+
import '../chunks/index-vM3wkbBM.mjs';
|
|
20
|
+
import '../chunks/index-DvGV9EWr.mjs';
|
|
21
|
+
import '../chunks/bundle-mjs-DH6vf6gy.mjs';
|
|
22
22
|
|
|
23
23
|
function __insertCSS(code) {
|
|
24
24
|
if (typeof document == 'undefined') return;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { c as cn } from '../chunks/utils-
|
|
1
|
+
import { c as cn } from '../chunks/utils-ieFmv4d0.mjs';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { c as composeEventHandlers } from '../chunks/index-
|
|
5
|
-
import { c as composeRefs } from '../chunks/index-
|
|
6
|
-
import { c as createContextScope } from '../chunks/index-
|
|
7
|
-
import { u as useControllableState } from '../chunks/index-
|
|
8
|
-
import { P as Primitive } from '../chunks/index-
|
|
9
|
-
import { c as createMenuScope, R as Root3, P as Portal, A as Anchor2, C as Content2$1, G as Group, L as Label, I as Item2$1, a as CheckboxItem, b as ItemIndicator, h as RadioGroup, d as RadioItem, S as Separator, e as Sub, g as SubTrigger, f as SubContent, i as Arrow2, j as Circle } from '../chunks/index-
|
|
10
|
-
import { u as useId } from '../chunks/index-
|
|
4
|
+
import { c as composeEventHandlers } from '../chunks/index-DmfDMAo5.mjs';
|
|
5
|
+
import { c as composeRefs } from '../chunks/index-Bhg2_PY7.mjs';
|
|
6
|
+
import { c as createContextScope } from '../chunks/index-BF-RSDzg.mjs';
|
|
7
|
+
import { u as useControllableState } from '../chunks/index-THb_GTJh.mjs';
|
|
8
|
+
import { P as Primitive } from '../chunks/index-B_sik0X8.mjs';
|
|
9
|
+
import { c as createMenuScope, R as Root3, P as Portal, A as Anchor2, C as Content2$1, G as Group, L as Label, I as Item2$1, a as CheckboxItem, b as ItemIndicator, h as RadioGroup, d as RadioItem, S as Separator, e as Sub, g as SubTrigger, f as SubContent, i as Arrow2, j as Circle } from '../chunks/index-fWNPF8HK.mjs';
|
|
10
|
+
import { u as useId } from '../chunks/index-Ch7F9sXl.mjs';
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
|
-
import { C as Check } from '../chunks/check-
|
|
13
|
-
import { C as ChevronRight } from '../chunks/chevron-right-
|
|
14
|
-
import '../chunks/bundle-mjs-
|
|
15
|
-
import '../chunks/index-
|
|
12
|
+
import { C as Check } from '../chunks/check-I-Hz86Bu.mjs';
|
|
13
|
+
import { C as ChevronRight } from '../chunks/chevron-right-Cc8XUA4m.mjs';
|
|
14
|
+
import '../chunks/bundle-mjs-DH6vf6gy.mjs';
|
|
15
|
+
import '../chunks/index-CZ5Lcw2b.mjs';
|
|
16
16
|
import 'react-dom';
|
|
17
17
|
import '@radix-ui/react-slot';
|
|
18
|
-
import '../chunks/createLucideIcon-
|
|
18
|
+
import '../chunks/createLucideIcon-C_iAsC8V.mjs';
|
|
19
19
|
import '@radix-ui/react-collection';
|
|
20
|
-
import '../chunks/index-
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/index-
|
|
23
|
-
import '../chunks/index-
|
|
24
|
-
import '../chunks/tslib.es6-
|
|
25
|
-
import '../chunks/index-
|
|
26
|
-
import '../chunks/index-
|
|
27
|
-
import '../chunks/index-
|
|
28
|
-
import '../chunks/index-
|
|
29
|
-
import '../chunks/index-
|
|
20
|
+
import '../chunks/index-CIezYkdT.mjs';
|
|
21
|
+
import '../chunks/index-qjWZItTF.mjs';
|
|
22
|
+
import '../chunks/index-B9cFm0ac.mjs';
|
|
23
|
+
import '../chunks/index-BQaJNtas.mjs';
|
|
24
|
+
import '../chunks/tslib.es6-BAF7iAx8.mjs';
|
|
25
|
+
import '../chunks/index-DwkdRROB.mjs';
|
|
26
|
+
import '../chunks/index-C8MYZd8G.mjs';
|
|
27
|
+
import '../chunks/index-vM3wkbBM.mjs';
|
|
28
|
+
import '../chunks/index-DvGV9EWr.mjs';
|
|
29
|
+
import '../chunks/index-Dx_b8MUs.mjs';
|
|
30
30
|
|
|
31
31
|
var DROPDOWN_MENU_NAME = "DropdownMenu";
|
|
32
32
|
var [createDropdownMenuContext] = createContextScope(DROPDOWN_MENU_NAME, [
|