ivt 0.5.3 → 0.5.5
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/accordion-table/index.d.ts +13 -0
- package/dist/accordion-table/index.mjs +120 -0
- package/dist/accordion-table/index.mjs.map +1 -0
- package/dist/alert/index.d.ts +1 -1
- package/dist/alert/index.mjs +5 -4
- package/dist/alert/index.mjs.map +1 -1
- 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.d.ts +1 -1
- package/dist/badge/index.mjs +3 -3
- package/dist/base/index.mjs +46 -81
- package/dist/base/index.mjs.map +1 -1
- package/dist/breadcrumb/index.mjs +5 -5
- package/dist/button/index.d.ts +1 -0
- package/dist/button/index.mjs +3 -3
- package/dist/button-group/index.mjs +3 -3
- package/dist/calendar/index.mjs +9 -9
- package/dist/card/index.mjs +3 -3
- package/dist/carousel/index.mjs +4 -4
- package/dist/chart/index.mjs +4 -4
- package/dist/checkbox/index.mjs +14 -14
- package/dist/chunks/CalendarRange-BVXhHs-f.mjs +89 -0
- package/dist/chunks/CalendarRange-BVXhHs-f.mjs.map +1 -0
- package/dist/chunks/{index-2wUt7vgM.mjs → Combination-D2wzO_UG.mjs} +168 -168
- package/dist/chunks/Combination-D2wzO_UG.mjs.map +1 -0
- package/dist/chunks/{ComboboxField-BTKXl9y7.mjs → ComboboxField-D_0Y0A5H.mjs} +9 -9
- package/dist/chunks/{ComboboxField-BTKXl9y7.mjs.map → ComboboxField-D_0Y0A5H.mjs.map} +1 -1
- package/dist/chunks/{Container-BUT39dlc.mjs → Container-D6PR2Pu_.mjs} +2 -2
- package/dist/chunks/{Container-BUT39dlc.mjs.map → Container-D6PR2Pu_.mjs.map} +1 -1
- package/dist/chunks/DeleteConfirmationModal-CVSYDAin.mjs +43 -0
- package/dist/chunks/DeleteConfirmationModal-CVSYDAin.mjs.map +1 -0
- package/dist/chunks/{TooltipIndicator-EfXM1ogO.mjs → TooltipIndicator-BlKtr3wZ.mjs} +4 -4
- package/dist/chunks/{TooltipIndicator-EfXM1ogO.mjs.map → TooltipIndicator-BlKtr3wZ.mjs.map} +1 -1
- package/dist/chunks/{_commonjsHelpers-DCzDIER3.mjs → _commonjsHelpers-Re7bJArt.mjs} +1 -1
- package/dist/chunks/_commonjsHelpers-Re7bJArt.mjs.map +1 -0
- package/dist/chunks/{accordion-BXurL6Pv.mjs → accordion-rwuuJZWp.mjs} +11 -11
- package/dist/chunks/{accordion-BXurL6Pv.mjs.map → accordion-rwuuJZWp.mjs.map} +1 -1
- package/dist/chunks/{badge-CpWQDnGV.mjs → badge-CLlfU-QT.mjs} +2 -2
- package/dist/chunks/{badge-CpWQDnGV.mjs.map → badge-CLlfU-QT.mjs.map} +1 -1
- package/dist/chunks/{bundle-mjs-C9OlPgmH.mjs → bundle-mjs-CWQvHGtg.mjs} +1 -1
- package/dist/chunks/{bundle-mjs-C9OlPgmH.mjs.map → bundle-mjs-CWQvHGtg.mjs.map} +1 -1
- package/dist/chunks/{button-BrmYbiY8.mjs → button-BOgyLhzN.mjs} +18 -6
- package/dist/chunks/button-BOgyLhzN.mjs.map +1 -0
- package/dist/chunks/{calendar-BQgywKTj.mjs → calendar-DVKfgF9Z.mjs} +8 -8
- package/dist/chunks/{calendar-BQgywKTj.mjs.map → calendar-DVKfgF9Z.mjs.map} +1 -1
- package/dist/chunks/{calendar-days-C_RzSweF.mjs → calendar-days-BbieAMGy.mjs} +2 -2
- package/dist/chunks/{calendar-days-C_RzSweF.mjs.map → calendar-days-BbieAMGy.mjs.map} +1 -1
- package/dist/chunks/{card-DeaeODxs.mjs → card-Dtdqzv51.mjs} +2 -2
- package/dist/chunks/{card-DeaeODxs.mjs.map → card-Dtdqzv51.mjs.map} +1 -1
- package/dist/chunks/{check-CP6BCwvU.mjs → check-C2JQIEoK.mjs} +2 -2
- package/dist/chunks/{check-CP6BCwvU.mjs.map → check-C2JQIEoK.mjs.map} +1 -1
- package/dist/chunks/{checkbox-BvnI-3Q6.mjs → checkbox-CAeH5mYv.mjs} +11 -11
- package/dist/chunks/{checkbox-BvnI-3Q6.mjs.map → checkbox-CAeH5mYv.mjs.map} +1 -1
- package/dist/chunks/{chevron-down-cCIwKwmA.mjs → chevron-down-GNWj-PsJ.mjs} +2 -2
- package/dist/chunks/{chevron-down-cCIwKwmA.mjs.map → chevron-down-GNWj-PsJ.mjs.map} +1 -1
- package/dist/chunks/{chevron-left-BPWGf-Mt.mjs → chevron-left-Ciw_Gg5L.mjs} +2 -2
- package/dist/chunks/{chevron-left-BPWGf-Mt.mjs.map → chevron-left-Ciw_Gg5L.mjs.map} +1 -1
- package/dist/chunks/{chevron-right-Bk4Jys-R.mjs → chevron-right-bGT4BvYz.mjs} +2 -2
- package/dist/chunks/{chevron-right-Bk4Jys-R.mjs.map → chevron-right-bGT4BvYz.mjs.map} +1 -1
- package/dist/chunks/{chevrons-up-down-BDmpiJmb.mjs → chevrons-up-down-BzxB-PsI.mjs} +2 -2
- package/dist/chunks/{chevrons-up-down-BDmpiJmb.mjs.map → chevrons-up-down-BzxB-PsI.mjs.map} +1 -1
- package/dist/chunks/{command-CTTPLJSd.mjs → command-DgZmCZLh.mjs} +8 -8
- package/dist/chunks/{command-CTTPLJSd.mjs.map → command-DgZmCZLh.mjs.map} +1 -1
- package/dist/chunks/{createLucideIcon-rdK7ReAV.mjs → createLucideIcon-CHz-fHlL.mjs} +1 -1
- package/dist/chunks/{createLucideIcon-rdK7ReAV.mjs.map → createLucideIcon-CHz-fHlL.mjs.map} +1 -1
- package/dist/chunks/{date-BF0VPeD6.mjs → date-CQyUFwrr.mjs} +2 -2
- package/dist/chunks/{date-BF0VPeD6.mjs.map → date-CQyUFwrr.mjs.map} +1 -1
- package/dist/chunks/{dialog-BZ1Bem1X.mjs → dialog-eFe5WShu.mjs} +4 -4
- package/dist/chunks/{dialog-BZ1Bem1X.mjs.map → dialog-eFe5WShu.mjs.map} +1 -1
- package/dist/chunks/{ellipsis-CvvEpdNm.mjs → ellipsis-CVES-umj.mjs} +2 -2
- package/dist/chunks/{ellipsis-CvvEpdNm.mjs.map → ellipsis-CVES-umj.mjs.map} +1 -1
- package/dist/chunks/{form-CLuajH9A.mjs → form-BDm5CO1Z.mjs} +3 -3
- package/dist/chunks/{form-CLuajH9A.mjs.map → form-BDm5CO1Z.mjs.map} +1 -1
- package/dist/chunks/{format-DvB2IToG.mjs → format-KTl_MBo2.mjs} +1 -1
- package/dist/chunks/{format-DvB2IToG.mjs.map → format-KTl_MBo2.mjs.map} +1 -1
- package/dist/chunks/{format-numbers-DtAwKNYo.mjs → format-numbers-Drbc33yW.mjs} +2 -2
- package/dist/chunks/{format-numbers-DtAwKNYo.mjs.map → format-numbers-Drbc33yW.mjs.map} +1 -1
- package/dist/chunks/{hover-card-Cwtai5wK.mjs → hover-card-B3lwPW8k.mjs} +11 -11
- package/dist/chunks/{hover-card-Cwtai5wK.mjs.map → hover-card-B3lwPW8k.mjs.map} +1 -1
- package/dist/chunks/{index-DFMyqwc8.mjs → index-B9X_JCGT.mjs} +2 -2
- package/dist/chunks/{index-DFMyqwc8.mjs.map → index-B9X_JCGT.mjs.map} +1 -1
- package/dist/chunks/{index-C5dQnmlR.mjs → index-BAW1lHJl.mjs} +9 -9
- package/dist/chunks/{index-C5dQnmlR.mjs.map → index-BAW1lHJl.mjs.map} +1 -1
- package/dist/chunks/{index-N54PlKgO.mjs → index-BKTFHAlc.mjs} +1 -1
- package/dist/chunks/{index-N54PlKgO.mjs.map → index-BKTFHAlc.mjs.map} +1 -1
- package/dist/chunks/{index-CdbLHZ-v.mjs → index-BQDEr8RX.mjs} +2 -2
- package/dist/chunks/{index-CdbLHZ-v.mjs.map → index-BQDEr8RX.mjs.map} +1 -1
- package/dist/chunks/{index-eIYpJRu_.mjs → index-BYLxYdaE.mjs} +15 -15
- package/dist/chunks/{index-eIYpJRu_.mjs.map → index-BYLxYdaE.mjs.map} +1 -1
- package/dist/chunks/{index-BpfkkunI.mjs → index-BbX-6yhg.mjs} +3 -3
- package/dist/chunks/{index-BpfkkunI.mjs.map → index-BbX-6yhg.mjs.map} +1 -1
- package/dist/chunks/{index-Dpe5NTKJ.mjs → index-Bfr3QSR6.mjs} +7 -7
- package/dist/chunks/{index-Dpe5NTKJ.mjs.map → index-Bfr3QSR6.mjs.map} +1 -1
- package/dist/chunks/{index-CJIjOsdz.mjs → index-CH4hzQx8.mjs} +1 -1
- package/dist/chunks/{index-CJIjOsdz.mjs.map → index-CH4hzQx8.mjs.map} +1 -1
- package/dist/chunks/{index-DEFfOyUE.mjs → index-CJmlDCYz.mjs} +1 -1
- package/dist/chunks/{index-DEFfOyUE.mjs.map → index-CJmlDCYz.mjs.map} +1 -1
- package/dist/chunks/{index-B1HovDby.mjs → index-CeGdyziS.mjs} +1 -1
- package/dist/chunks/{index-B1HovDby.mjs.map → index-CeGdyziS.mjs.map} +1 -1
- package/dist/chunks/{index-B0fljwsr.mjs → index-Cu3VwLIM.mjs} +1 -1
- package/dist/chunks/{index-B0fljwsr.mjs.map → index-Cu3VwLIM.mjs.map} +1 -1
- package/dist/chunks/{index-DymROPqb.mjs → index-CurKYqyH.mjs} +1 -1
- package/dist/chunks/{index-DymROPqb.mjs.map → index-CurKYqyH.mjs.map} +1 -1
- package/dist/chunks/{index-C7WDAsMc.mjs → index-D1-1o3ca.mjs} +2 -2
- package/dist/chunks/{index-C7WDAsMc.mjs.map → index-D1-1o3ca.mjs.map} +1 -1
- package/dist/chunks/{index-C8YG6ZVI.mjs → index-DEO2kkpO.mjs} +1 -1
- package/dist/chunks/{index-C8YG6ZVI.mjs.map → index-DEO2kkpO.mjs.map} +1 -1
- package/dist/chunks/{index-9Ejb37i6.mjs → index-DbTcqBW_.mjs} +2 -2
- package/dist/chunks/{index-9Ejb37i6.mjs.map → index-DbTcqBW_.mjs.map} +1 -1
- package/dist/chunks/{index-SHhYuecD.mjs → index-Dmxf1tuE.mjs} +1 -1
- package/dist/chunks/{index-SHhYuecD.mjs.map → index-Dmxf1tuE.mjs.map} +1 -1
- package/dist/chunks/{index-D4Y6_Jit.mjs → index-DsKPgtIv.mjs} +5 -5
- package/dist/chunks/{index-D4Y6_Jit.mjs.map → index-DsKPgtIv.mjs.map} +1 -1
- package/dist/chunks/{index-DNPAHxPV.mjs → index-Dvmx4xV6.mjs} +1 -1
- package/dist/chunks/{index-DNPAHxPV.mjs.map → index-Dvmx4xV6.mjs.map} +1 -1
- package/dist/chunks/{index-DkhtbUNc.mjs → index-Rj7dd-Qd.mjs} +1 -1
- package/dist/chunks/{index-DkhtbUNc.mjs.map → index-Rj7dd-Qd.mjs.map} +1 -1
- package/dist/chunks/{index-LOIUbp1N.mjs → index-eKeyN0nu.mjs} +3 -3
- package/dist/chunks/{index-LOIUbp1N.mjs.map → index-eKeyN0nu.mjs.map} +1 -1
- package/dist/chunks/{index-CN-1P6oe.mjs → index-gnBADg3r.mjs} +9 -9
- package/dist/chunks/{index-CN-1P6oe.mjs.map → index-gnBADg3r.mjs.map} +1 -1
- package/dist/chunks/{index-CcfhA3fh.mjs → index-tRp8REyd.mjs} +11 -11
- package/dist/chunks/{index-CcfhA3fh.mjs.map → index-tRp8REyd.mjs.map} +1 -1
- package/dist/chunks/{input-BRRi8JbN.mjs → input-BK_g0H-A.mjs} +2 -2
- package/dist/chunks/{input-BRRi8JbN.mjs.map → input-BK_g0H-A.mjs.map} +1 -1
- package/dist/chunks/{label-DyMdyPfF.mjs → label-Dh5EXQG3.mjs} +3 -3
- package/dist/chunks/{label-DyMdyPfF.mjs.map → label-Dh5EXQG3.mjs.map} +1 -1
- package/dist/chunks/{loader-circle-DlDf3jDF.mjs → loader-circle-HdVl9gTK.mjs} +2 -2
- package/dist/chunks/{loader-circle-DlDf3jDF.mjs.map → loader-circle-HdVl9gTK.mjs.map} +1 -1
- package/dist/chunks/{multi-select-Ek4Es0bm.mjs → multi-select-zxgO9_FK.mjs} +12 -12
- package/dist/chunks/{multi-select-Ek4Es0bm.mjs.map → multi-select-zxgO9_FK.mjs.map} +1 -1
- package/dist/chunks/{pagination-CoQF8H-y.mjs → pagination-Cotft18P.mjs} +6 -6
- package/dist/chunks/{pagination-CoQF8H-y.mjs.map → pagination-Cotft18P.mjs.map} +1 -1
- package/dist/chunks/{popover-Bx3Ak-qS.mjs → popover-BGTLw9yg.mjs} +13 -13
- package/dist/chunks/{popover-Bx3Ak-qS.mjs.map → popover-BGTLw9yg.mjs.map} +1 -1
- package/dist/chunks/{progress-Unv1Ywou.mjs → progress-DBlI7uQi.mjs} +4 -4
- package/dist/chunks/{progress-Unv1Ywou.mjs.map → progress-DBlI7uQi.mjs.map} +1 -1
- package/dist/chunks/react-number-format.es-CMk_daKs.mjs +1542 -0
- package/dist/chunks/react-number-format.es-CMk_daKs.mjs.map +1 -0
- package/dist/chunks/{scroll-area-Bu_eg6tq.mjs → scroll-area-WahR-NAJ.mjs} +11 -11
- package/dist/chunks/{scroll-area-Bu_eg6tq.mjs.map → scroll-area-WahR-NAJ.mjs.map} +1 -1
- package/dist/chunks/{select-VgTkuC8i.mjs → select-B9KImN17.mjs} +5 -5
- package/dist/chunks/{select-VgTkuC8i.mjs.map → select-B9KImN17.mjs.map} +1 -1
- package/dist/chunks/{separator-ChTsmHyH.mjs → separator-Nw9XSF7S.mjs} +3 -3
- package/dist/chunks/{separator-ChTsmHyH.mjs.map → separator-Nw9XSF7S.mjs.map} +1 -1
- package/dist/chunks/{sheet-CX9dlZuk.mjs → sheet-BUhlccXr.mjs} +4 -4
- package/dist/chunks/{sheet-CX9dlZuk.mjs.map → sheet-BUhlccXr.mjs.map} +1 -1
- package/dist/chunks/{skeleton-TvPSLZ-7.mjs → skeleton-DJUPQDI3.mjs} +2 -2
- package/dist/chunks/{skeleton-TvPSLZ-7.mjs.map → skeleton-DJUPQDI3.mjs.map} +1 -1
- package/dist/chunks/{sortable-DQ0ESvYM.mjs → sortable-BbcW1b3f.mjs} +3 -3
- package/dist/chunks/{sortable-DQ0ESvYM.mjs.map → sortable-BbcW1b3f.mjs.map} +1 -1
- package/dist/chunks/{table-5dae4DKj.mjs → table-CPHEPhht.mjs} +2 -2
- package/dist/chunks/{table-5dae4DKj.mjs.map → table-CPHEPhht.mjs.map} +1 -1
- package/dist/chunks/{textarea-C6sc9FNI.mjs → textarea-IsazgcBS.mjs} +2 -2
- package/dist/chunks/{textarea-C6sc9FNI.mjs.map → textarea-IsazgcBS.mjs.map} +1 -1
- package/dist/chunks/{toggle-SS3ISGud.mjs → toggle-DIVWhWr_.mjs} +5 -5
- package/dist/chunks/{toggle-SS3ISGud.mjs.map → toggle-DIVWhWr_.mjs.map} +1 -1
- package/dist/chunks/{tooltip-WyVePJR7.mjs → tooltip-BlwaLQuC.mjs} +13 -13
- package/dist/chunks/{tooltip-WyVePJR7.mjs.map → tooltip-BlwaLQuC.mjs.map} +1 -1
- package/dist/chunks/{trash-2-Dp8LY8vw.mjs → trash-2-CWR4QHjL.mjs} +2 -2
- package/dist/chunks/{trash-2-Dp8LY8vw.mjs.map → trash-2-CWR4QHjL.mjs.map} +1 -1
- package/dist/chunks/{triangle-alert-CpLMma6K.mjs → triangle-alert-CQ6V4_pV.mjs} +2 -2
- package/dist/chunks/{triangle-alert-CpLMma6K.mjs.map → triangle-alert-CQ6V4_pV.mjs.map} +1 -1
- package/dist/chunks/{tslib.es6-BgXxJBc3.mjs → tslib.es6-BqS_Tuh7.mjs} +1 -1
- package/dist/chunks/{tslib.es6-BgXxJBc3.mjs.map → tslib.es6-BqS_Tuh7.mjs.map} +1 -1
- package/dist/chunks/{utils-DfaTa-5f.mjs → utils-DbWlhojh.mjs} +2 -2
- package/dist/chunks/{utils-DfaTa-5f.mjs.map → utils-DbWlhojh.mjs.map} +1 -1
- package/dist/chunks/{x-BtRqeVV7.mjs → x-BvNSIFOu.mjs} +2 -2
- package/dist/chunks/{x-BtRqeVV7.mjs.map → x-BvNSIFOu.mjs.map} +1 -1
- package/dist/collapsible/index.mjs +9 -9
- package/dist/combobox/index.mjs +26 -26
- package/dist/command/index.d.ts +7 -7
- package/dist/command/index.mjs +20 -20
- package/dist/context-menu/index.mjs +23 -23
- package/dist/dash/index.mjs +25 -25
- package/dist/data-table/index.mjs +35 -35
- package/dist/date-picker/index.mjs +27 -27
- 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/editable-table/index.d.ts +28 -0
- package/dist/editable-table/index.mjs +149 -0
- package/dist/editable-table/index.mjs.map +1 -0
- package/dist/empty/index.mjs +2 -2
- package/dist/field/index.mjs +5 -5
- package/dist/form/index.mjs +5 -5
- package/dist/form-fields/index.mjs +28 -28
- 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-group/index.mjs +5 -5
- package/dist/input-otp/index.mjs +3 -3
- package/dist/item/index.mjs +4 -4
- package/dist/ivt.css +1 -1
- package/dist/kbd/index.mjs +2 -2
- package/dist/label/index.mjs +4 -4
- package/dist/layout/index.mjs +6 -6
- package/dist/menubar/index.mjs +23 -23
- package/dist/multi-select/index.mjs +31 -31
- 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/spinner/index.mjs +4 -4
- package/dist/switch/index.mjs +10 -10
- package/dist/table/index.mjs +3 -3
- package/dist/table-filter/index.mjs +64 -1604
- package/dist/table-filter/index.mjs.map +1 -1
- package/dist/tabs/index.mjs +13 -13
- package/dist/textarea/index.mjs +3 -3
- 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 +10 -2
- package/dist/chunks/CalendarRange-cGKHXdiT.mjs +0 -45
- package/dist/chunks/CalendarRange-cGKHXdiT.mjs.map +0 -1
- package/dist/chunks/_commonjsHelpers-DCzDIER3.mjs.map +0 -1
- package/dist/chunks/button-BrmYbiY8.mjs.map +0 -1
- package/dist/chunks/index-2wUt7vgM.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-rwuuJZWp.mjs';
|
|
2
|
+
import '../chunks/utils-DbWlhojh.mjs';
|
|
3
|
+
import '../chunks/bundle-mjs-CWQvHGtg.mjs';
|
|
4
4
|
import 'react';
|
|
5
|
-
import '../chunks/index-
|
|
5
|
+
import '../chunks/index-DEO2kkpO.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-Dmxf1tuE.mjs';
|
|
9
|
+
import '../chunks/index-CJmlDCYz.mjs';
|
|
10
|
+
import '../chunks/index-B9X_JCGT.mjs';
|
|
11
|
+
import '../chunks/index-CeGdyziS.mjs';
|
|
12
|
+
import '../chunks/index-Cu3VwLIM.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-gnBADg3r.mjs';
|
|
16
|
+
import '../chunks/index-eKeyN0nu.mjs';
|
|
17
|
+
import '../chunks/index-DbTcqBW_.mjs';
|
|
18
|
+
import '../chunks/index-CurKYqyH.mjs';
|
|
19
|
+
import '../chunks/chevron-down-GNWj-PsJ.mjs';
|
|
20
|
+
import '../chunks/createLucideIcon-CHz-fHlL.mjs';
|
|
21
21
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
|
|
4
|
+
interface AccordionTableProps<T> {
|
|
5
|
+
data: Record<string, Record<string, T>>;
|
|
6
|
+
renderContent: (item: T, category: string, date: string) => React__default.ReactNode;
|
|
7
|
+
getItemId: (item: T) => number | string;
|
|
8
|
+
onDelete?: (category: string, item: T) => void;
|
|
9
|
+
categoryTitle?: (category: string) => React__default.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
declare function AccordionTable<T>({ data, renderContent, getItemId, onDelete, categoryTitle, }: AccordionTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
12
|
+
|
|
13
|
+
export { AccordionTable };
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { c as cn } from '../chunks/utils-DbWlhojh.mjs';
|
|
3
|
+
import { D as DeleteConfirmationModal } from '../chunks/DeleteConfirmationModal-CVSYDAin.mjs';
|
|
4
|
+
import { c as createLucideIcon } from '../chunks/createLucideIcon-CHz-fHlL.mjs';
|
|
5
|
+
import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-rwuuJZWp.mjs';
|
|
6
|
+
import { B as Badge } from '../chunks/badge-CLlfU-QT.mjs';
|
|
7
|
+
import { B as Button } from '../chunks/button-BOgyLhzN.mjs';
|
|
8
|
+
import '../chunks/bundle-mjs-CWQvHGtg.mjs';
|
|
9
|
+
import '../chunks/dialog-eFe5WShu.mjs';
|
|
10
|
+
import '../chunks/index-tRp8REyd.mjs';
|
|
11
|
+
import '../chunks/index-CJmlDCYz.mjs';
|
|
12
|
+
import '../chunks/index-Dmxf1tuE.mjs';
|
|
13
|
+
import '../chunks/index-DEO2kkpO.mjs';
|
|
14
|
+
import 'react/jsx-runtime';
|
|
15
|
+
import '../chunks/index-DbTcqBW_.mjs';
|
|
16
|
+
import '../chunks/index-CeGdyziS.mjs';
|
|
17
|
+
import '../chunks/index-B9X_JCGT.mjs';
|
|
18
|
+
import '../chunks/index-DsKPgtIv.mjs';
|
|
19
|
+
import '../chunks/index-Cu3VwLIM.mjs';
|
|
20
|
+
import 'react-dom';
|
|
21
|
+
import '@radix-ui/react-slot';
|
|
22
|
+
import '../chunks/index-Dvmx4xV6.mjs';
|
|
23
|
+
import '../chunks/Combination-D2wzO_UG.mjs';
|
|
24
|
+
import '../chunks/tslib.es6-BqS_Tuh7.mjs';
|
|
25
|
+
import '../chunks/index-BbX-6yhg.mjs';
|
|
26
|
+
import '../chunks/index-eKeyN0nu.mjs';
|
|
27
|
+
import '../chunks/x-BvNSIFOu.mjs';
|
|
28
|
+
import '../chunks/trash-2-CWR4QHjL.mjs';
|
|
29
|
+
import '@radix-ui/react-collection';
|
|
30
|
+
import '../chunks/index-gnBADg3r.mjs';
|
|
31
|
+
import '../chunks/index-CurKYqyH.mjs';
|
|
32
|
+
import '../chunks/chevron-down-GNWj-PsJ.mjs';
|
|
33
|
+
import 'class-variance-authority';
|
|
34
|
+
|
|
35
|
+
const __iconNode = [
|
|
36
|
+
[
|
|
37
|
+
"path",
|
|
38
|
+
{
|
|
39
|
+
d: "M3 6h18",
|
|
40
|
+
key: "d0wm0j"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
[
|
|
44
|
+
"path",
|
|
45
|
+
{
|
|
46
|
+
d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",
|
|
47
|
+
key: "4alrt4"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
[
|
|
51
|
+
"path",
|
|
52
|
+
{
|
|
53
|
+
d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",
|
|
54
|
+
key: "v07s0e"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
];
|
|
58
|
+
const Trash = createLucideIcon("Trash", __iconNode);
|
|
59
|
+
|
|
60
|
+
function AccordionTable({ data, renderContent, getItemId, onDelete, categoryTitle = (cat)=>cat }) {
|
|
61
|
+
const [openChildByCategory, setOpenChildByCategory] = React__default.useState(()=>Object.fromEntries(Object.entries(data).map(([category, dates])=>[
|
|
62
|
+
category,
|
|
63
|
+
Object.keys(dates)[0] || null
|
|
64
|
+
])));
|
|
65
|
+
return /*#__PURE__*/ React__default.createElement(Accordion, {
|
|
66
|
+
type: "single",
|
|
67
|
+
className: "*:font-lato space-y-2 rounded-lg",
|
|
68
|
+
collapsible: true
|
|
69
|
+
}, Object.entries(data).map(([category, dates])=>{
|
|
70
|
+
const anyChildOpen = openChildByCategory[category] != null;
|
|
71
|
+
return /*#__PURE__*/ React__default.createElement(AccordionItem, {
|
|
72
|
+
key: category,
|
|
73
|
+
value: category,
|
|
74
|
+
className: cn("bg-sidebar group rounded-lg border last:border-b", "data-[state=open]:pb-2")
|
|
75
|
+
}, /*#__PURE__*/ React__default.createElement(AccordionTrigger, {
|
|
76
|
+
className: cn("hover:bg-sidebar/80 bg-sidebar rounded-lg px-4 hover:no-underline")
|
|
77
|
+
}, /*#__PURE__*/ React__default.createElement("span", {
|
|
78
|
+
className: "text-sm font-medium"
|
|
79
|
+
}, categoryTitle(category))), /*#__PURE__*/ React__default.createElement(AccordionContent, {
|
|
80
|
+
className: "rounded-lg border-0 pb-0 group-data-[state=open]:border-0"
|
|
81
|
+
}, /*#__PURE__*/ React__default.createElement(Accordion, {
|
|
82
|
+
type: "single",
|
|
83
|
+
className: cn("mx-2 overflow-hidden rounded-lg border"),
|
|
84
|
+
defaultValue: Object.keys(dates)[0],
|
|
85
|
+
collapsible: true,
|
|
86
|
+
onValueChange: (v)=>setOpenChildByCategory((prev)=>({
|
|
87
|
+
...prev,
|
|
88
|
+
[category]: v || null
|
|
89
|
+
}))
|
|
90
|
+
}, Object.entries(dates).map(([date, item])=>{
|
|
91
|
+
const itemId = getItemId(item);
|
|
92
|
+
return /*#__PURE__*/ React__default.createElement(AccordionItem, {
|
|
93
|
+
key: `${category}-${date}-${itemId}`,
|
|
94
|
+
value: date,
|
|
95
|
+
className: cn("bg-sidebar pt-1 pb-0.75", anyChildOpen && "p-0")
|
|
96
|
+
}, /*#__PURE__*/ React__default.createElement(AccordionTrigger, {
|
|
97
|
+
className: cn("bg-sidebar hover:text-foreground [&>svg]:text-muted-foreground group mx-0 my-0 rounded-lg rounded-br-none rounded-bl-none py-1.5 pr-4 transition-all hover:no-underline data-[state=open]:pb-4", anyChildOpen && "bg-sidebar data-[state=open]:m-0 data-[state=open]:mx-0 data-[state=open]:mt-0 data-[state=open]:pl-0")
|
|
98
|
+
}, /*#__PURE__*/ React__default.createElement("div", {
|
|
99
|
+
className: "flex w-full items-center justify-between pr-2"
|
|
100
|
+
}, /*#__PURE__*/ React__default.createElement("div", {
|
|
101
|
+
className: cn("ml-2.5 flex flex-wrap items-center gap-2 transition-all")
|
|
102
|
+
}, /*#__PURE__*/ React__default.createElement(Badge, {
|
|
103
|
+
variant: "outline",
|
|
104
|
+
className: "text-xs font-semibold"
|
|
105
|
+
}, date), onDelete && /*#__PURE__*/ React__default.createElement(DeleteConfirmationModal, {
|
|
106
|
+
onConfirm: ()=>onDelete(category, item)
|
|
107
|
+
}, /*#__PURE__*/ React__default.createElement(Button, {
|
|
108
|
+
variant: "table",
|
|
109
|
+
size: "icon"
|
|
110
|
+
}, /*#__PURE__*/ React__default.createElement(Trash, {
|
|
111
|
+
className: "text-destructive size-3.5"
|
|
112
|
+
})))))), /*#__PURE__*/ React__default.createElement(AccordionContent, null, /*#__PURE__*/ React__default.createElement("div", {
|
|
113
|
+
className: "bg-card mr-4 ml-2 rounded-lg border"
|
|
114
|
+
}, renderContent(item, category, date))));
|
|
115
|
+
}))));
|
|
116
|
+
}));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export { AccordionTable };
|
|
120
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../node_modules/lucide-react/dist/esm/icons/trash.js","../../src/components/default/accordion-table/AccordionTable.tsx"],"sourcesContent":["/**\n * @license lucide-react v0.479.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"path\", { d: \"M3 6h18\", key: \"d0wm0j\" }],\n [\"path\", { d: \"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\", key: \"4alrt4\" }],\n [\"path\", { d: \"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\", key: \"v07s0e\" }]\n];\nconst Trash = createLucideIcon(\"Trash\", __iconNode);\n\nexport { __iconNode, Trash as default };\n//# sourceMappingURL=trash.js.map\n","import React from \"react\";\nimport { cn } from \"@/lib/utils\";\nimport { TrashIcon } from \"lucide-react\";\nimport {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/components/ui/accordion\";\nimport { Badge } from \"@/components/ui/badge\";\nimport { Button } from \"@/components/ui/button\";\nimport { DeleteConfirmationModal } from \"@/components/default/base\";\n\ninterface AccordionTableProps<T> {\n data: Record<string, Record<string, T>>;\n renderContent: (item: T, category: string, date: string) => React.ReactNode;\n getItemId: (item: T) => number | string;\n onDelete?: (category: string, item: T) => void;\n categoryTitle?: (category: string) => React.ReactNode;\n}\n\nexport function AccordionTable<T>({\n data,\n renderContent,\n getItemId,\n onDelete,\n categoryTitle = (cat) => cat,\n}: AccordionTableProps<T>) {\n const [openChildByCategory, setOpenChildByCategory] = React.useState<\n Record<string, string | null>\n >(() =>\n Object.fromEntries(\n Object.entries(data).map(([category, dates]) => [\n category,\n Object.keys(dates)[0] || null,\n ]),\n ),\n );\n\n return (\n <Accordion\n type=\"single\"\n className=\"*:font-lato space-y-2 rounded-lg\"\n collapsible\n >\n {Object.entries(data).map(([category, dates]) => {\n const anyChildOpen = openChildByCategory[category] != null;\n\n return (\n <AccordionItem\n key={category}\n value={category}\n className={cn(\n \"bg-sidebar group rounded-lg border last:border-b\",\n \"data-[state=open]:pb-2\",\n )}\n >\n <AccordionTrigger\n className={cn(\n \"hover:bg-sidebar/80 bg-sidebar rounded-lg px-4 hover:no-underline\",\n )}\n >\n <span className=\"text-sm font-medium\">\n {categoryTitle(category)}\n </span>\n </AccordionTrigger>\n <AccordionContent className=\"rounded-lg border-0 pb-0 group-data-[state=open]:border-0\">\n <Accordion\n type=\"single\"\n className={cn(\"mx-2 overflow-hidden rounded-lg border\")}\n defaultValue={Object.keys(dates)[0]}\n collapsible\n onValueChange={(v) =>\n setOpenChildByCategory((prev) => ({\n ...prev,\n [category]: v || null,\n }))\n }\n >\n {Object.entries(dates).map(([date, item]) => {\n const itemId = getItemId(item);\n\n return (\n <AccordionItem\n key={`${category}-${date}-${itemId}`}\n value={date}\n className={cn(\n \"bg-sidebar pt-1 pb-0.75\",\n anyChildOpen && \"p-0\",\n )}\n >\n <AccordionTrigger\n className={cn(\n \"bg-sidebar hover:text-foreground [&>svg]:text-muted-foreground group mx-0 my-0 rounded-lg rounded-br-none rounded-bl-none py-1.5 pr-4 transition-all hover:no-underline data-[state=open]:pb-4\",\n anyChildOpen &&\n \"bg-sidebar data-[state=open]:m-0 data-[state=open]:mx-0 data-[state=open]:mt-0 data-[state=open]:pl-0\",\n )}\n >\n <div className=\"flex w-full items-center justify-between pr-2\">\n <div\n className={cn(\n \"ml-2.5 flex flex-wrap items-center gap-2 transition-all\",\n )}\n >\n <Badge\n variant=\"outline\"\n className=\"text-xs font-semibold\"\n >\n {date}\n </Badge>\n {onDelete && (\n <DeleteConfirmationModal\n onConfirm={() => onDelete(category, item)}\n >\n <Button variant=\"table\" size=\"icon\">\n <TrashIcon className=\"text-destructive size-3.5\" />\n </Button>\n </DeleteConfirmationModal>\n )}\n </div>\n </div>\n </AccordionTrigger>\n\n <AccordionContent>\n <div className=\"bg-card mr-4 ml-2 rounded-lg border\">\n {renderContent(item, category, date)}\n </div>\n </AccordionContent>\n </AccordionItem>\n );\n })}\n </Accordion>\n </AccordionContent>\n </AccordionItem>\n );\n })}\n </Accordion>\n );\n}\n"],"names":["AccordionTable","data","renderContent","getItemId","onDelete","categoryTitle","cat","openChildByCategory","setOpenChildByCategory","React","useState","Object","fromEntries","entries","map","category","dates","keys","Accordion","type","className","collapsible","anyChildOpen","AccordionItem","key","value","cn","AccordionTrigger","span","AccordionContent","defaultValue","onValueChange","v","prev","date","item","itemId","div","Badge","variant","DeleteConfirmationModal","onConfirm","Button","size","TrashIcon"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/alert/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
|
|
6
6
|
declare const alertVariants: (props?: ({
|
|
7
|
-
variant?: "default" | "destructive" | "warning" | null | undefined;
|
|
7
|
+
variant?: "default" | "destructive" | "warning" | "info" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
declare function Alert({ className, variant, ...props }: React__default.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
|
|
10
10
|
declare function AlertTitle({ className, ...props }: React__default.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
package/dist/alert/index.mjs
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { c as cn } from '../chunks/utils-
|
|
1
|
+
import { c as cn } from '../chunks/utils-DbWlhojh.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-CWQvHGtg.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: {
|
|
8
8
|
variant: {
|
|
9
|
-
default: "
|
|
9
|
+
default: "bg-card text-card-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-card-foreground/90",
|
|
10
10
|
destructive: "text-destructive border-destructive bg-destructive-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90",
|
|
11
|
-
warning: "text-warning border-warning bg-warning-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-warning/90"
|
|
11
|
+
warning: "text-warning border-warning bg-warning-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-warning/90",
|
|
12
|
+
info: "text-foreground bg-info-foreground border-info [&>svg]:text-info *:data-[slot=alert-description]:text-foreground"
|
|
12
13
|
}
|
|
13
14
|
},
|
|
14
15
|
defaultVariants: {
|
package/dist/alert/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../src/components/ui/alert/alert.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils\";\nimport { type VariantProps, cva } from \"class-variance-authority\";\nimport React from \"react\";\n\nconst alertVariants = cva(\n\t\"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\",\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault:\n\t\t\t\t\t\"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../src/components/ui/alert/alert.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils\";\nimport { type VariantProps, cva } from \"class-variance-authority\";\nimport React from \"react\";\n\nconst alertVariants = cva(\n\t\"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\",\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault:\n\t\t\t\t\t\"bg-card text-card-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-card-foreground/90\",\n\t\t\t\tdestructive:\n\t\t\t\t\t\"text-destructive border-destructive bg-destructive-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90\",\n\t\t\t\twarning:\n\t\t\t\t\t\"text-warning border-warning bg-warning-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-warning/90\",\n\t\t\t\tinfo: \"text-foreground bg-info-foreground border-info [&>svg]:text-info *:data-[slot=alert-description]:text-foreground\",\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\tvariant: \"default\",\n\t\t},\n\t},\n);\n\nfunction Alert({\n\tclassName,\n\tvariant,\n\t...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof alertVariants>) {\n\treturn (\n\t\t<div\n\t\t\tdata-slot=\"alert\"\n\t\t\trole=\"alert\"\n\t\t\tclassName={cn(alertVariants({ variant }), className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction AlertTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n\treturn (\n\t\t<div\n\t\t\tdata-slot=\"alert-title\"\n\t\t\tclassName={cn(\"col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight\", className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction AlertDescription({ className, ...props }: React.ComponentProps<\"div\">) {\n\treturn (\n\t\t<div\n\t\t\tdata-slot=\"alert-description\"\n\t\t\tclassName={cn(\n\t\t\t\t\"text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport { Alert, AlertTitle, AlertDescription };\n"],"names":["alertVariants","cva","variants","variant","default","destructive","warning","info","defaultVariants","Alert","className","props","React","div","data-slot","role","cn","AlertTitle","AlertDescription"],"mappings":";;;;;AAIA,MAAMA,aAAAA,GAAgBC,IACrB,mOAAA,EACA;IACCC,QAAAA,EAAU;QACTC,OAAAA,EAAS;YACRC,OAAAA,EACC,2GAAA;YACDC,WAAAA,EACC,wIAAA;YACDC,OAAAA,EACC,wHAAA;YACDC,IAAAA,EAAM;AACP;AACD,KAAA;IACAC,eAAAA,EAAiB;QAChBL,OAAAA,EAAS;AACV;AACD,CAAA,CAAA;AAGD,SAASM,MAAM,EACdC,SAAS,EACTP,OAAO,EACP,GAAGQ,KAAAA,EAC+D,EAAA;AAClE,IAAA,qBACCC,cAAA,CAAA,aAAA,CAACC,KAAAA,EAAAA;QACAC,WAAAA,EAAU,OAAA;QACVC,IAAAA,EAAK,OAAA;AACLL,QAAAA,SAAAA,EAAWM,GAAGhB,aAAAA,CAAc;AAAEG,YAAAA;SAAQ,CAAA,EAAIO,SAAAA,CAAAA;AACzC,QAAA,GAAGC;;AAGP;AAEA,SAASM,UAAAA,CAAW,EAAEP,SAAS,EAAE,GAAGC,KAAAA,EAAoC,EAAA;AACvE,IAAA,qBACCC,cAAA,CAAA,aAAA,CAACC,KAAAA,EAAAA;QACAC,WAAAA,EAAU,aAAA;AACVJ,QAAAA,SAAAA,EAAWM,GAAG,6DAAA,EAA+DN,SAAAA,CAAAA;AAC5E,QAAA,GAAGC;;AAGP;AAEA,SAASO,gBAAAA,CAAiB,EAAER,SAAS,EAAE,GAAGC,KAAAA,EAAoC,EAAA;AAC7E,IAAA,qBACCC,cAAA,CAAA,aAAA,CAACC,KAAAA,EAAAA;QACAC,WAAAA,EAAU,mBAAA;AACVJ,QAAAA,SAAAA,EAAWM,GACV,gGAAA,EACAN,SAAAA,CAAAA;AAEA,QAAA,GAAGC;;AAGP;;;;"}
|
|
@@ -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-DEO2kkpO.mjs';
|
|
3
|
+
import { u as useComposedRefs } from '../chunks/index-Dmxf1tuE.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-tRp8REyd.mjs';
|
|
5
|
+
import { c as composeEventHandlers } from '../chunks/index-CJmlDCYz.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-DbWlhojh.mjs';
|
|
9
|
+
import { b as buttonVariants } from '../chunks/button-BOgyLhzN.mjs';
|
|
10
|
+
import '../chunks/index-DbTcqBW_.mjs';
|
|
11
|
+
import '../chunks/index-CeGdyziS.mjs';
|
|
12
|
+
import '../chunks/index-B9X_JCGT.mjs';
|
|
13
|
+
import '../chunks/index-DsKPgtIv.mjs';
|
|
14
|
+
import '../chunks/index-Cu3VwLIM.mjs';
|
|
15
15
|
import 'react-dom';
|
|
16
|
-
import '../chunks/index-
|
|
17
|
-
import '../chunks/
|
|
18
|
-
import '../chunks/tslib.es6-
|
|
19
|
-
import '../chunks/index-
|
|
20
|
-
import '../chunks/index-
|
|
21
|
-
import '../chunks/bundle-mjs-
|
|
16
|
+
import '../chunks/index-Dvmx4xV6.mjs';
|
|
17
|
+
import '../chunks/Combination-D2wzO_UG.mjs';
|
|
18
|
+
import '../chunks/tslib.es6-BqS_Tuh7.mjs';
|
|
19
|
+
import '../chunks/index-BbX-6yhg.mjs';
|
|
20
|
+
import '../chunks/index-eKeyN0nu.mjs';
|
|
21
|
+
import '../chunks/bundle-mjs-CWQvHGtg.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-DEO2kkpO.mjs';
|
|
3
|
+
import { u as useCallbackRef } from '../chunks/index-Dvmx4xV6.mjs';
|
|
4
|
+
import { u as useLayoutEffect2 } from '../chunks/index-CeGdyziS.mjs';
|
|
5
|
+
import { P as Primitive } from '../chunks/index-Cu3VwLIM.mjs';
|
|
6
|
+
import { r as requireShim } from '../chunks/index-BKTFHAlc.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-DbWlhojh.mjs';
|
|
9
9
|
import 'react-dom';
|
|
10
10
|
import '@radix-ui/react-slot';
|
|
11
|
-
import '../chunks/bundle-mjs-
|
|
11
|
+
import '../chunks/bundle-mjs-CWQvHGtg.mjs';
|
|
12
12
|
|
|
13
13
|
var shimExports = requireShim();
|
|
14
14
|
|
package/dist/badge/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ type BadgeVariants = VariantProps<typeof badgeVariants>["variant"];
|
|
|
7
7
|
interface BadgeProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
8
8
|
}
|
|
9
9
|
declare const badgeVariants: (props?: ({
|
|
10
|
-
variant?: "default" | "
|
|
10
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "positive" | "warning" | "info" | null | undefined;
|
|
11
11
|
subtle?: boolean | null | undefined;
|
|
12
12
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
13
13
|
declare function Badge({ className, variant, subtle, asChild, ...props }: React__default.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
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-CLlfU-QT.mjs';
|
|
2
|
+
import '../chunks/utils-DbWlhojh.mjs';
|
|
3
|
+
import '../chunks/bundle-mjs-CWQvHGtg.mjs';
|
|
4
4
|
import '@radix-ui/react-slot';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
6
|
import 'react';
|
package/dist/base/index.mjs
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
import { c as cn } from '../chunks/utils-
|
|
1
|
+
import { c as cn } from '../chunks/utils-DbWlhojh.mjs';
|
|
2
2
|
import React__default, { useRef, useEffect, useMemo } from 'react';
|
|
3
|
-
import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-
|
|
4
|
-
import { t as tryParseDate, p as ptBR } from '../chunks/date-
|
|
5
|
-
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-
|
|
6
|
-
import { L as LoaderCircle } from '../chunks/loader-circle-
|
|
7
|
-
import { C as CalendarDays } from '../chunks/calendar-days-
|
|
8
|
-
import { C as Calendar } from '../chunks/calendar-
|
|
9
|
-
import { t as toDate, f as format } from '../chunks/format-
|
|
10
|
-
import { B as Button } from '../chunks/button-
|
|
11
|
-
import { t as twMerge } from '../chunks/bundle-mjs-
|
|
12
|
-
import { H as HoverCard, a as HoverCardTrigger, b as HoverCardContent } from '../chunks/hover-card-
|
|
13
|
-
import { B as Badge } from '../chunks/badge-
|
|
14
|
-
export { C as CalendarRange } from '../chunks/CalendarRange-
|
|
15
|
-
import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-
|
|
16
|
-
import { C as Command, b as CommandInput, d as CommandEmpty, c as CommandList, e as CommandGroup, f as CommandItem } from '../chunks/command-
|
|
17
|
-
import { C as Check } from '../chunks/check-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
import '../chunks/index-C8YG6ZVI.mjs';
|
|
3
|
+
import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-rwuuJZWp.mjs';
|
|
4
|
+
import { t as tryParseDate, p as ptBR } from '../chunks/date-CQyUFwrr.mjs';
|
|
5
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-BGTLw9yg.mjs';
|
|
6
|
+
import { L as LoaderCircle } from '../chunks/loader-circle-HdVl9gTK.mjs';
|
|
7
|
+
import { C as CalendarDays } from '../chunks/calendar-days-BbieAMGy.mjs';
|
|
8
|
+
import { C as Calendar } from '../chunks/calendar-DVKfgF9Z.mjs';
|
|
9
|
+
import { t as toDate, f as format } from '../chunks/format-KTl_MBo2.mjs';
|
|
10
|
+
import { B as Button } from '../chunks/button-BOgyLhzN.mjs';
|
|
11
|
+
import { t as twMerge } from '../chunks/bundle-mjs-CWQvHGtg.mjs';
|
|
12
|
+
import { H as HoverCard, a as HoverCardTrigger, b as HoverCardContent } from '../chunks/hover-card-B3lwPW8k.mjs';
|
|
13
|
+
import { B as Badge } from '../chunks/badge-CLlfU-QT.mjs';
|
|
14
|
+
export { C as CalendarRange } from '../chunks/CalendarRange-BVXhHs-f.mjs';
|
|
15
|
+
import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-BzxB-PsI.mjs';
|
|
16
|
+
import { C as Command, b as CommandInput, d as CommandEmpty, c as CommandList, e as CommandGroup, f as CommandItem } from '../chunks/command-DgZmCZLh.mjs';
|
|
17
|
+
import { C as Check } from '../chunks/check-C2JQIEoK.mjs';
|
|
18
|
+
export { D as DeleteConfirmationModal } from '../chunks/DeleteConfirmationModal-CVSYDAin.mjs';
|
|
19
|
+
export { T as TooltipIndicator } from '../chunks/TooltipIndicator-BlKtr3wZ.mjs';
|
|
20
|
+
import '../chunks/index-DEO2kkpO.mjs';
|
|
22
21
|
import 'react/jsx-runtime';
|
|
23
22
|
import '@radix-ui/react-collection';
|
|
24
|
-
import '../chunks/index-
|
|
25
|
-
import '../chunks/index-
|
|
26
|
-
import '../chunks/index-
|
|
27
|
-
import '../chunks/index-
|
|
28
|
-
import '../chunks/index-
|
|
23
|
+
import '../chunks/index-Dmxf1tuE.mjs';
|
|
24
|
+
import '../chunks/index-CJmlDCYz.mjs';
|
|
25
|
+
import '../chunks/index-B9X_JCGT.mjs';
|
|
26
|
+
import '../chunks/index-CeGdyziS.mjs';
|
|
27
|
+
import '../chunks/index-Cu3VwLIM.mjs';
|
|
29
28
|
import 'react-dom';
|
|
30
29
|
import '@radix-ui/react-slot';
|
|
31
|
-
import '../chunks/index-
|
|
32
|
-
import '../chunks/index-
|
|
33
|
-
import '../chunks/index-
|
|
34
|
-
import '../chunks/index-
|
|
35
|
-
import '../chunks/chevron-down-
|
|
36
|
-
import '../chunks/createLucideIcon-
|
|
37
|
-
import '../chunks/index-
|
|
38
|
-
import '../chunks/index-
|
|
39
|
-
import '../chunks/
|
|
40
|
-
import '../chunks/tslib.es6-
|
|
41
|
-
import '../chunks/index-
|
|
42
|
-
import '../chunks/index-
|
|
43
|
-
import '../chunks/index-
|
|
44
|
-
import '../chunks/chevron-left-
|
|
45
|
-
import '../chunks/chevron-right-
|
|
30
|
+
import '../chunks/index-gnBADg3r.mjs';
|
|
31
|
+
import '../chunks/index-eKeyN0nu.mjs';
|
|
32
|
+
import '../chunks/index-DbTcqBW_.mjs';
|
|
33
|
+
import '../chunks/index-CurKYqyH.mjs';
|
|
34
|
+
import '../chunks/chevron-down-GNWj-PsJ.mjs';
|
|
35
|
+
import '../chunks/createLucideIcon-CHz-fHlL.mjs';
|
|
36
|
+
import '../chunks/index-DsKPgtIv.mjs';
|
|
37
|
+
import '../chunks/index-Dvmx4xV6.mjs';
|
|
38
|
+
import '../chunks/Combination-D2wzO_UG.mjs';
|
|
39
|
+
import '../chunks/tslib.es6-BqS_Tuh7.mjs';
|
|
40
|
+
import '../chunks/index-Bfr3QSR6.mjs';
|
|
41
|
+
import '../chunks/index-D1-1o3ca.mjs';
|
|
42
|
+
import '../chunks/index-BbX-6yhg.mjs';
|
|
43
|
+
import '../chunks/chevron-left-Ciw_Gg5L.mjs';
|
|
44
|
+
import '../chunks/chevron-right-bGT4BvYz.mjs';
|
|
46
45
|
import 'class-variance-authority';
|
|
47
|
-
import '../chunks/index-
|
|
48
|
-
import '../chunks/
|
|
49
|
-
import '../chunks/
|
|
50
|
-
import '../chunks/
|
|
46
|
+
import '../chunks/index-tRp8REyd.mjs';
|
|
47
|
+
import '../chunks/dialog-eFe5WShu.mjs';
|
|
48
|
+
import '../chunks/x-BvNSIFOu.mjs';
|
|
49
|
+
import '../chunks/trash-2-CWR4QHjL.mjs';
|
|
50
|
+
import '../chunks/tooltip-BlwaLQuC.mjs';
|
|
51
|
+
import '../chunks/index-BQDEr8RX.mjs';
|
|
51
52
|
|
|
52
53
|
const TextWrap = ({ children, className, ...props })=>{
|
|
53
54
|
return /*#__PURE__*/ React__default.createElement("div", {
|
|
@@ -307,41 +308,5 @@ function AutoComplete({ value, onChange, placeholder, searchPlaceholder, open, o
|
|
|
307
308
|
}))))));
|
|
308
309
|
}
|
|
309
310
|
|
|
310
|
-
|
|
311
|
-
const [isPending, startTransition] = React__default.useTransition();
|
|
312
|
-
const handleConfirm = ()=>{
|
|
313
|
-
startTransition(async ()=>{
|
|
314
|
-
await onConfirm();
|
|
315
|
-
});
|
|
316
|
-
};
|
|
317
|
-
return /*#__PURE__*/ React__default.createElement(Dialog, null, /*#__PURE__*/ React__default.createElement(DialogTrigger, {
|
|
318
|
-
className: "*:font-lato",
|
|
319
|
-
asChild: true
|
|
320
|
-
}, children ? children : /*#__PURE__*/ React__default.createElement(Button, {
|
|
321
|
-
variant: "ghost",
|
|
322
|
-
className: "text-destructive hover:text-destructive w-full items-start justify-start px-2",
|
|
323
|
-
disabled: disabled
|
|
324
|
-
}, confirmText)), /*#__PURE__*/ React__default.createElement(DialogContent, {
|
|
325
|
-
className: "*:font-lato max-w-[425px]"
|
|
326
|
-
}, /*#__PURE__*/ React__default.createElement(DialogHeader, {
|
|
327
|
-
className: "text-left"
|
|
328
|
-
}, /*#__PURE__*/ React__default.createElement(DialogTitle, null, title), /*#__PURE__*/ React__default.createElement(DialogDescription, null, description)), /*#__PURE__*/ React__default.createElement(DialogFooter, {
|
|
329
|
-
className: "flex flex-row flex-wrap items-start justify-between sm:justify-between"
|
|
330
|
-
}, /*#__PURE__*/ React__default.createElement(DialogClose, {
|
|
331
|
-
asChild: true
|
|
332
|
-
}, /*#__PURE__*/ React__default.createElement(Button, {
|
|
333
|
-
variant: "outline",
|
|
334
|
-
disabled: isPending
|
|
335
|
-
}, cancelText)), /*#__PURE__*/ React__default.createElement(DialogClose, {
|
|
336
|
-
asChild: true
|
|
337
|
-
}, /*#__PURE__*/ React__default.createElement(Button, {
|
|
338
|
-
variant: "destructive",
|
|
339
|
-
onClick: handleConfirm,
|
|
340
|
-
disabled: disabled || isPending
|
|
341
|
-
}, /*#__PURE__*/ React__default.createElement(Trash2, {
|
|
342
|
-
className: "h-4 w-4"
|
|
343
|
-
}), confirmText)))));
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
export { AutoComplete, CalendarPopover, DeleteConfirmationModal, Header, HoverBadge, TextWrap, normalizeDate };
|
|
311
|
+
export { AutoComplete, CalendarPopover, Header, HoverBadge, TextWrap, normalizeDate };
|
|
347
312
|
//# sourceMappingURL=index.mjs.map
|