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/accordion/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { A as Accordion, c as AccordionContent, a as AccordionItem, b as AccordionTrigger } from '../chunks/accordion-
|
|
2
|
-
import '../chunks/utils-
|
|
3
|
-
import '../chunks/bundle-mjs-
|
|
1
|
+
export { A as Accordion, c as AccordionContent, a as AccordionItem, b as AccordionTrigger } from '../chunks/accordion-O8UQxSxk.mjs';
|
|
2
|
+
import '../chunks/utils-ieFmv4d0.mjs';
|
|
3
|
+
import '../chunks/bundle-mjs-DH6vf6gy.mjs';
|
|
4
4
|
import 'react';
|
|
5
|
-
import '../chunks/index-
|
|
5
|
+
import '../chunks/index-BF-RSDzg.mjs';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import '@radix-ui/react-collection';
|
|
8
|
-
import '../chunks/index-
|
|
9
|
-
import '../chunks/index-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
12
|
-
import '../chunks/index-
|
|
8
|
+
import '../chunks/index-Bhg2_PY7.mjs';
|
|
9
|
+
import '../chunks/index-DmfDMAo5.mjs';
|
|
10
|
+
import '../chunks/index-THb_GTJh.mjs';
|
|
11
|
+
import '../chunks/index-CZ5Lcw2b.mjs';
|
|
12
|
+
import '../chunks/index-B_sik0X8.mjs';
|
|
13
13
|
import 'react-dom';
|
|
14
14
|
import '@radix-ui/react-slot';
|
|
15
|
-
import '../chunks/index-
|
|
16
|
-
import '../chunks/index-
|
|
17
|
-
import '../chunks/index-
|
|
18
|
-
import '../chunks/index-
|
|
19
|
-
import '../chunks/chevron-down-
|
|
20
|
-
import '../chunks/createLucideIcon-
|
|
15
|
+
import '../chunks/index-D6oieYoA.mjs';
|
|
16
|
+
import '../chunks/index-DvGV9EWr.mjs';
|
|
17
|
+
import '../chunks/index-Ch7F9sXl.mjs';
|
|
18
|
+
import '../chunks/index-CIezYkdT.mjs';
|
|
19
|
+
import '../chunks/chevron-down-BChdO0uD.mjs';
|
|
20
|
+
import '../chunks/createLucideIcon-C_iAsC8V.mjs';
|
|
21
21
|
//# sourceMappingURL=index.mjs.map
|
package/dist/alert/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as cn } from '../chunks/utils-
|
|
1
|
+
import { c as cn } from '../chunks/utils-ieFmv4d0.mjs';
|
|
2
2
|
import { cva } from 'class-variance-authority';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import '../chunks/bundle-mjs-
|
|
4
|
+
import '../chunks/bundle-mjs-DH6vf6gy.mjs';
|
|
5
5
|
|
|
6
6
|
const alertVariants = cva("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
|
|
7
7
|
variants: {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { c as createContextScope } from '../chunks/index-
|
|
3
|
-
import { u as useComposedRefs } from '../chunks/index-
|
|
4
|
-
import { c as createDialogScope, R as Root, P as Portal, O as Overlay, b as Trigger, W as WarningProvider, a as Content, T as Title, D as Description, C as Close } from '../chunks/index-
|
|
5
|
-
import { c as composeEventHandlers } from '../chunks/index-
|
|
2
|
+
import { c as createContextScope } from '../chunks/index-BF-RSDzg.mjs';
|
|
3
|
+
import { u as useComposedRefs } from '../chunks/index-Bhg2_PY7.mjs';
|
|
4
|
+
import { c as createDialogScope, R as Root, P as Portal, O as Overlay, b as Trigger, W as WarningProvider, a as Content, T as Title, D as Description, C as Close } from '../chunks/index-Bq7RTW2y.mjs';
|
|
5
|
+
import { c as composeEventHandlers } from '../chunks/index-DmfDMAo5.mjs';
|
|
6
6
|
import { createSlottable } from '@radix-ui/react-slot';
|
|
7
7
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
|
-
import { c as cn } from '../chunks/utils-
|
|
9
|
-
import { b as buttonVariants } from '../chunks/button-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
12
|
-
import '../chunks/index-
|
|
13
|
-
import '../chunks/index-
|
|
14
|
-
import '../chunks/index-
|
|
8
|
+
import { c as cn } from '../chunks/utils-ieFmv4d0.mjs';
|
|
9
|
+
import { b as buttonVariants } from '../chunks/button-By6p3Bsx.mjs';
|
|
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
|
-
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
|
import 'class-variance-authority';
|
|
23
23
|
|
|
24
24
|
var ROOT_NAME = "AlertDialog";
|
package/dist/avatar/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { c as createContextScope } from '../chunks/index-
|
|
3
|
-
import { u as useCallbackRef } from '../chunks/index-
|
|
4
|
-
import { u as useLayoutEffect2 } from '../chunks/index-
|
|
5
|
-
import { P as Primitive } from '../chunks/index-
|
|
6
|
-
import { r as requireShim } from '../chunks/index-
|
|
2
|
+
import { c as createContextScope } from '../chunks/index-BF-RSDzg.mjs';
|
|
3
|
+
import { u as useCallbackRef } from '../chunks/index-B9cFm0ac.mjs';
|
|
4
|
+
import { u as useLayoutEffect2 } from '../chunks/index-CZ5Lcw2b.mjs';
|
|
5
|
+
import { P as Primitive } from '../chunks/index-B_sik0X8.mjs';
|
|
6
|
+
import { r as requireShim } from '../chunks/index-BYwOnxY9.mjs';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
|
-
import { c as cn } from '../chunks/utils-
|
|
8
|
+
import { c as cn } from '../chunks/utils-ieFmv4d0.mjs';
|
|
9
9
|
import 'react-dom';
|
|
10
10
|
import '@radix-ui/react-slot';
|
|
11
|
-
import '../chunks/bundle-mjs-
|
|
11
|
+
import '../chunks/bundle-mjs-DH6vf6gy.mjs';
|
|
12
12
|
|
|
13
13
|
var shimExports = requireShim();
|
|
14
14
|
|
package/dist/badge/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { B as Badge, b as badgeVariants } from '../chunks/badge-
|
|
2
|
-
import '../chunks/utils-
|
|
3
|
-
import '../chunks/bundle-mjs-
|
|
1
|
+
export { B as Badge, b as badgeVariants } from '../chunks/badge-DK4Kv-Pv.mjs';
|
|
2
|
+
import '../chunks/utils-ieFmv4d0.mjs';
|
|
3
|
+
import '../chunks/bundle-mjs-DH6vf6gy.mjs';
|
|
4
4
|
import '@radix-ui/react-slot';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
6
|
import 'react';
|
package/dist/base/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { ButtonProps } from '../button/index.js';
|
|
4
|
+
import { Calendar } from '../calendar/index.js';
|
|
4
5
|
import { Popover } from '../popover/index.js';
|
|
5
6
|
import { BadgeProps } from '../badge/index.js';
|
|
6
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -25,44 +26,21 @@ interface HeaderProps {
|
|
|
25
26
|
}
|
|
26
27
|
declare const Header: React__default.FC<HeaderProps>;
|
|
27
28
|
|
|
28
|
-
type CaptionLayout = "label" | "dropdown";
|
|
29
29
|
declare function normalizeDate(date: Date): string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
date: Date | undefined;
|
|
33
|
-
/** Callback chamado quando uma data é selecionada */
|
|
34
|
-
setDate: (newDate: Date | undefined) => void;
|
|
35
|
-
/** Texto exibido quando nenhuma data está selecionada */
|
|
30
|
+
interface CalendarPopoverProps extends Omit<React__default.ComponentProps<typeof Calendar>, "mode" | "selected" | "onSelect"> {
|
|
31
|
+
date: Date | string | undefined;
|
|
32
|
+
setDate: (date: Date | undefined) => void;
|
|
36
33
|
placeholder?: string;
|
|
37
|
-
/** ID opcional para o botão */
|
|
38
34
|
id?: string;
|
|
39
|
-
/** Props adicionais para o botão */
|
|
40
35
|
buttonProps?: ButtonProps;
|
|
41
|
-
/** Classes extras aplicadas ao botão */
|
|
42
|
-
buttonClassName?: string;
|
|
43
|
-
/** Props adicionais para o popover */
|
|
44
36
|
popoverProps?: React__default.ComponentProps<typeof Popover>;
|
|
45
|
-
/** Classes extras aplicadas ao conteúdo do popover */
|
|
46
37
|
popoverContentClassName?: string;
|
|
47
|
-
/** Número de meses exibidos no calendário (default: 1) */
|
|
48
|
-
numberOfMonths?: number;
|
|
49
|
-
/** Ano inicial permitido */
|
|
50
|
-
fromYear?: number;
|
|
51
|
-
/** Ano final permitido */
|
|
52
|
-
toYear?: number;
|
|
53
|
-
/** Classes extras para o contêiner */
|
|
54
38
|
className?: string;
|
|
55
|
-
/** Desabilita o botão */
|
|
56
39
|
disabled?: boolean;
|
|
57
|
-
/** Define se está carregando */
|
|
58
40
|
isLoading?: boolean;
|
|
59
|
-
/** Define se está carregando dentro de calendar */
|
|
60
41
|
isLoadingTable?: boolean;
|
|
61
|
-
/** Deixa desabilitado datas específicas customizadas */
|
|
62
42
|
disabledDates?: Set<string>;
|
|
63
|
-
|
|
64
|
-
captionLayout?: CaptionLayout;
|
|
65
|
-
};
|
|
43
|
+
}
|
|
66
44
|
declare const CalendarPopover: React__default.FC<CalendarPopoverProps>;
|
|
67
45
|
|
|
68
46
|
interface HoverBadgeProps {
|
|
@@ -75,23 +53,18 @@ interface HoverBadgeProps {
|
|
|
75
53
|
}
|
|
76
54
|
declare const HoverBadge: React__default.FC<HoverBadgeProps>;
|
|
77
55
|
|
|
78
|
-
|
|
56
|
+
interface CalendarRangeProps extends Omit<React.ComponentProps<typeof Calendar>, "mode" | "selected" | "onSelect"> {
|
|
79
57
|
value: DateRange | undefined;
|
|
80
58
|
onChange: (range: DateRange | undefined) => void;
|
|
81
59
|
placeholder?: string;
|
|
82
60
|
id?: string;
|
|
83
61
|
buttonProps?: ButtonProps;
|
|
84
|
-
buttonClassName?: string;
|
|
85
62
|
popoverProps?: React.ComponentProps<typeof Popover>;
|
|
86
63
|
popoverContentClassName?: string;
|
|
87
|
-
numberOfMonths?: number;
|
|
88
|
-
fromYear?: number;
|
|
89
|
-
toYear?: number;
|
|
90
|
-
toDate?: Date;
|
|
91
64
|
className?: string;
|
|
92
65
|
disabled?: boolean;
|
|
93
|
-
}
|
|
94
|
-
declare function CalendarRange({ value, onChange, placeholder, id, buttonProps,
|
|
66
|
+
}
|
|
67
|
+
declare function CalendarRange({ value, onChange, placeholder, id, buttonProps, popoverProps, popoverContentClassName, className, disabled, ...props }: CalendarRangeProps): react_jsx_runtime.JSX.Element;
|
|
95
68
|
|
|
96
69
|
interface AutoCompleteProps<T> {
|
|
97
70
|
value: T | null;
|
|
@@ -122,3 +95,4 @@ interface DeleteConfirmationModalProps {
|
|
|
122
95
|
declare function DeleteConfirmationModal({ onConfirm, title, description, confirmText, cancelText, disabled, children, }: DeleteConfirmationModalProps): react_jsx_runtime.JSX.Element;
|
|
123
96
|
|
|
124
97
|
export { AutoComplete, CalendarPopover, CalendarRange, DeleteConfirmationModal, Header, HoverBadge, TextWrap, normalizeDate };
|
|
98
|
+
export type { CalendarPopoverProps, CalendarRangeProps };
|
package/dist/base/index.mjs
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
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, { useRef, useEffect, useMemo } from 'react';
|
|
4
|
-
import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as toDate, f as format, C as Calendar } from '../chunks/calendar-
|
|
9
|
-
import { B as Button } from '../chunks/button-
|
|
10
|
-
import { t as twMerge } from '../chunks/bundle-mjs-
|
|
11
|
-
import { H as HoverCard, a as HoverCardTrigger, b as HoverCardContent } from '../chunks/hover-card-
|
|
12
|
-
import { B as Badge } from '../chunks/badge-
|
|
13
|
-
import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-
|
|
14
|
-
import { C as Command, b as CommandInput, d as CommandEmpty, c as CommandList, e as CommandGroup, f as CommandItem } from '../chunks/command-
|
|
15
|
-
import { C as Check } from '../chunks/check-
|
|
16
|
-
import { D as Dialog, i as DialogTrigger, b as DialogContent, e as DialogHeader, h as DialogTitle, c as DialogDescription, d as DialogFooter, a as DialogClose } from '../chunks/dialog-
|
|
17
|
-
import { T as Trash2 } from '../chunks/trash-2-
|
|
18
|
-
import '../chunks/index-
|
|
4
|
+
import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-O8UQxSxk.mjs';
|
|
5
|
+
import { t as tryParseDate, C as CalendarDays, p as ptBR } from '../chunks/pt-BR-BaLtJ-uU.mjs';
|
|
6
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-C9351eP_.mjs';
|
|
7
|
+
import { c as createLucideIcon } from '../chunks/createLucideIcon-C_iAsC8V.mjs';
|
|
8
|
+
import { t as toDate, f as format, C as Calendar } from '../chunks/calendar-BMDZ5epm.mjs';
|
|
9
|
+
import { B as Button } from '../chunks/button-By6p3Bsx.mjs';
|
|
10
|
+
import { t as twMerge } from '../chunks/bundle-mjs-DH6vf6gy.mjs';
|
|
11
|
+
import { H as HoverCard, a as HoverCardTrigger, b as HoverCardContent } from '../chunks/hover-card-kziSplk3.mjs';
|
|
12
|
+
import { B as Badge } from '../chunks/badge-DK4Kv-Pv.mjs';
|
|
13
|
+
import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-D7M3-587.mjs';
|
|
14
|
+
import { C as Command, b as CommandInput, d as CommandEmpty, c as CommandList, e as CommandGroup, f as CommandItem } from '../chunks/command-0Ir07spf.mjs';
|
|
15
|
+
import { C as Check } from '../chunks/check-I-Hz86Bu.mjs';
|
|
16
|
+
import { D as Dialog, i as DialogTrigger, b as DialogContent, e as DialogHeader, h as DialogTitle, c as DialogDescription, d as DialogFooter, a as DialogClose } from '../chunks/dialog-DgjQIzg0.mjs';
|
|
17
|
+
import { T as Trash2 } from '../chunks/trash-2-DKEuKNiO.mjs';
|
|
18
|
+
import '../chunks/index-BF-RSDzg.mjs';
|
|
19
19
|
import 'react/jsx-runtime';
|
|
20
20
|
import '@radix-ui/react-collection';
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/index-
|
|
23
|
-
import '../chunks/index-
|
|
24
|
-
import '../chunks/index-
|
|
25
|
-
import '../chunks/index-
|
|
21
|
+
import '../chunks/index-Bhg2_PY7.mjs';
|
|
22
|
+
import '../chunks/index-DmfDMAo5.mjs';
|
|
23
|
+
import '../chunks/index-THb_GTJh.mjs';
|
|
24
|
+
import '../chunks/index-CZ5Lcw2b.mjs';
|
|
25
|
+
import '../chunks/index-B_sik0X8.mjs';
|
|
26
26
|
import 'react-dom';
|
|
27
27
|
import '@radix-ui/react-slot';
|
|
28
|
-
import '../chunks/index-
|
|
29
|
-
import '../chunks/index-
|
|
30
|
-
import '../chunks/index-
|
|
31
|
-
import '../chunks/index-
|
|
32
|
-
import '../chunks/chevron-down-
|
|
33
|
-
import '../chunks/index-
|
|
34
|
-
import '../chunks/index-
|
|
35
|
-
import '../chunks/index-
|
|
36
|
-
import '../chunks/tslib.es6-
|
|
37
|
-
import '../chunks/index-
|
|
38
|
-
import '../chunks/index-
|
|
39
|
-
import '../chunks/index-
|
|
40
|
-
import '../chunks/chevron-left-
|
|
41
|
-
import '../chunks/chevron-right-
|
|
28
|
+
import '../chunks/index-D6oieYoA.mjs';
|
|
29
|
+
import '../chunks/index-DvGV9EWr.mjs';
|
|
30
|
+
import '../chunks/index-Ch7F9sXl.mjs';
|
|
31
|
+
import '../chunks/index-CIezYkdT.mjs';
|
|
32
|
+
import '../chunks/chevron-down-BChdO0uD.mjs';
|
|
33
|
+
import '../chunks/index-qjWZItTF.mjs';
|
|
34
|
+
import '../chunks/index-B9cFm0ac.mjs';
|
|
35
|
+
import '../chunks/index-BQaJNtas.mjs';
|
|
36
|
+
import '../chunks/tslib.es6-BAF7iAx8.mjs';
|
|
37
|
+
import '../chunks/index-DwkdRROB.mjs';
|
|
38
|
+
import '../chunks/index-C8MYZd8G.mjs';
|
|
39
|
+
import '../chunks/index-vM3wkbBM.mjs';
|
|
40
|
+
import '../chunks/chevron-left-DTNQBpUD.mjs';
|
|
41
|
+
import '../chunks/chevron-right-Cc8XUA4m.mjs';
|
|
42
42
|
import 'class-variance-authority';
|
|
43
|
-
import '../chunks/index-
|
|
44
|
-
import '../chunks/x-
|
|
43
|
+
import '../chunks/index-Bq7RTW2y.mjs';
|
|
44
|
+
import '../chunks/x-UYJwiGZL.mjs';
|
|
45
45
|
|
|
46
46
|
const __iconNode = [
|
|
47
47
|
[
|
|
@@ -109,36 +109,34 @@ const Header = ({ title, description, className, classNameDescription, children,
|
|
|
109
109
|
function normalizeDate(date) {
|
|
110
110
|
return format(date, "yyyy-MM-dd");
|
|
111
111
|
}
|
|
112
|
-
const CalendarPopover = ({ date, setDate, placeholder = "Selecione uma data", id = "calendar-popover", buttonProps,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}, /*#__PURE__*/ React__default.createElement(Popover, popoverProps, /*#__PURE__*/ React__default.createElement(PopoverTrigger, {
|
|
112
|
+
const CalendarPopover = ({ date, setDate, placeholder = "Selecione uma data", id = "calendar-popover", buttonProps, popoverProps, popoverContentClassName, className, disabled, isLoading, disabledDates, isLoadingTable, ...props })=>{
|
|
113
|
+
const validDate = tryParseDate(date);
|
|
114
|
+
return /*#__PURE__*/ React__default.createElement(Popover, popoverProps, /*#__PURE__*/ React__default.createElement(PopoverTrigger, {
|
|
116
115
|
asChild: true
|
|
117
116
|
}, /*#__PURE__*/ React__default.createElement(Button, {
|
|
118
117
|
id: id,
|
|
119
118
|
variant: "outline",
|
|
120
|
-
className: cn("hover:text-foreground
|
|
119
|
+
className: cn("hover:text-foreground justify-start text-left font-normal", !validDate && "text-muted-foreground hover:text-muted-foreground", className),
|
|
121
120
|
disabled: disabled,
|
|
122
121
|
...buttonProps
|
|
123
122
|
}, isLoading ? /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, /*#__PURE__*/ React__default.createElement(LoaderCircle, {
|
|
124
123
|
className: "size-4 animate-spin"
|
|
125
124
|
}), /*#__PURE__*/ React__default.createElement("span", null, "carregando...")) : /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, /*#__PURE__*/ React__default.createElement(CalendarDays, {
|
|
126
125
|
className: "size-4"
|
|
127
|
-
}),
|
|
126
|
+
}), validDate ? format(validDate, "P", {
|
|
128
127
|
locale: ptBR
|
|
129
128
|
}) : /*#__PURE__*/ React__default.createElement("span", null, placeholder)))), /*#__PURE__*/ React__default.createElement(PopoverContent, {
|
|
130
129
|
className: cn("w-auto p-0", popoverContentClassName),
|
|
131
130
|
align: "start"
|
|
132
131
|
}, /*#__PURE__*/ React__default.createElement(Calendar, {
|
|
133
132
|
autoFocus: true,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
selected: date,
|
|
133
|
+
captionLayout: "dropdown",
|
|
134
|
+
selected: validDate,
|
|
137
135
|
onSelect: setDate,
|
|
138
|
-
numberOfMonths: numberOfMonths,
|
|
139
|
-
fromYear: fromYear,
|
|
140
|
-
toYear: toYear,
|
|
141
136
|
locale: ptBR,
|
|
137
|
+
numberOfMonths: 1,
|
|
138
|
+
fromYear: 2010,
|
|
139
|
+
toYear: 2040,
|
|
142
140
|
disabled: (currentDate)=>{
|
|
143
141
|
if (isLoading || isLoadingTable) return true;
|
|
144
142
|
const normalizedCurrentDate = normalizeDate(currentDate);
|
|
@@ -146,8 +144,10 @@ const CalendarPopover = ({ date, setDate, placeholder = "Selecione uma data", id
|
|
|
146
144
|
const isWeekendDay = isWeekend(currentDate);
|
|
147
145
|
const isFutureDate = currentDate > new Date();
|
|
148
146
|
return isHoliday || isWeekendDay || isFutureDate;
|
|
149
|
-
}
|
|
150
|
-
|
|
147
|
+
},
|
|
148
|
+
...props,
|
|
149
|
+
mode: "single"
|
|
150
|
+
})));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
153
|
const HoverBadge = ({ title, description, variant, className, showTitleInDescription = true, subtle = false })=>{
|
|
@@ -163,15 +163,13 @@ const HoverBadge = ({ title, description, variant, className, showTitleInDescrip
|
|
|
163
163
|
}, description)));
|
|
164
164
|
};
|
|
165
165
|
|
|
166
|
-
function CalendarRange({ value, onChange, placeholder = "Selecione uma data", id = "date", buttonProps,
|
|
167
|
-
return /*#__PURE__*/ React.createElement(
|
|
168
|
-
className: cn("grid gap-2", className)
|
|
169
|
-
}, /*#__PURE__*/ React.createElement(Popover, popoverProps, /*#__PURE__*/ React.createElement(PopoverTrigger, {
|
|
166
|
+
function CalendarRange({ value, onChange, placeholder = "Selecione uma data", id = "date", buttonProps, popoverProps, popoverContentClassName, className, disabled, ...props }) {
|
|
167
|
+
return /*#__PURE__*/ React.createElement(Popover, popoverProps, /*#__PURE__*/ React.createElement(PopoverTrigger, {
|
|
170
168
|
asChild: true
|
|
171
169
|
}, /*#__PURE__*/ React.createElement(Button, {
|
|
172
170
|
id: id,
|
|
173
171
|
variant: "outline",
|
|
174
|
-
className: cn("hover:foreground
|
|
172
|
+
className: cn("hover:foreground justify-start text-left font-normal", !value && "text-muted-foreground hover:text-muted-foreground", className),
|
|
175
173
|
disabled: disabled,
|
|
176
174
|
...buttonProps
|
|
177
175
|
}, /*#__PURE__*/ React.createElement(CalendarDays, {
|
|
@@ -185,17 +183,18 @@ function CalendarRange({ value, onChange, placeholder = "Selecione uma data", id
|
|
|
185
183
|
align: "start"
|
|
186
184
|
}, /*#__PURE__*/ React.createElement(Calendar, {
|
|
187
185
|
autoFocus: true,
|
|
188
|
-
mode: "range",
|
|
189
186
|
captionLayout: "dropdown",
|
|
190
|
-
defaultMonth: value?.from,
|
|
191
187
|
selected: value,
|
|
192
188
|
onSelect: onChange,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
189
|
+
locale: ptBR,
|
|
190
|
+
numberOfMonths: 2,
|
|
191
|
+
fromYear: 2010,
|
|
192
|
+
toYear: 2040,
|
|
193
|
+
defaultMonth: value?.from,
|
|
194
|
+
toDate: new Date(2040, 11, 31),
|
|
195
|
+
...props,
|
|
196
|
+
mode: "range"
|
|
197
|
+
})));
|
|
199
198
|
}
|
|
200
199
|
|
|
201
200
|
function c(e, u, c, i) {
|