ivt 0.7.6 → 0.7.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 +13 -13
- package/dist/accordion-table/index.mjs +25 -25
- package/dist/alert/index.mjs +3 -3
- package/dist/alert-dialog/index.mjs +15 -15
- package/dist/auto-complete-multi-select/index.mjs +31 -31
- package/dist/avatar/index.mjs +5 -5
- package/dist/badge/index.mjs +3 -3
- package/dist/base/index.d.ts +20 -7
- package/dist/base/index.mjs +56 -125
- package/dist/base/index.mjs.map +1 -1
- package/dist/breadcrumb/index.mjs +5 -5
- 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 +12 -12
- package/dist/chunks/CalendarPopover-BPnKgAnl.mjs +215 -0
- package/dist/chunks/CalendarPopover-BPnKgAnl.mjs.map +1 -0
- package/dist/chunks/CalendarRange-BjO5LGdp.mjs +132 -0
- package/dist/chunks/CalendarRange-BjO5LGdp.mjs.map +1 -0
- package/dist/chunks/{ComboboxField-CzJlHHXv.mjs → ComboboxField-BKcI8gkc.mjs} +9 -9
- package/dist/chunks/{ComboboxField-CzJlHHXv.mjs.map → ComboboxField-BKcI8gkc.mjs.map} +1 -1
- package/dist/chunks/{Container-77E_UFi2.mjs → Container-C4IhVJWZ.mjs} +2 -2
- package/dist/chunks/{Container-77E_UFi2.mjs.map → Container-C4IhVJWZ.mjs.map} +1 -1
- package/dist/chunks/{DeleteConfirmationModal-DQK05Srx.mjs → DeleteConfirmationModal-wEjd_27O.mjs} +10 -7
- package/dist/chunks/DeleteConfirmationModal-wEjd_27O.mjs.map +1 -0
- package/dist/chunks/{ListItem-B0_5JcsU.mjs → ListItem-CEV3xaDC.mjs} +4 -4
- package/dist/chunks/{ListItem-B0_5JcsU.mjs.map → ListItem-CEV3xaDC.mjs.map} +1 -1
- package/dist/chunks/{TooltipIndicator-Db1poSJI.mjs → TooltipIndicator-DzJ-KT7j.mjs} +4 -4
- package/dist/chunks/{TooltipIndicator-Db1poSJI.mjs.map → TooltipIndicator-DzJ-KT7j.mjs.map} +1 -1
- package/dist/chunks/{_commonjsHelpers-DkfSKqYE.mjs → _commonjsHelpers-IKd7PXVE.mjs} +1 -1
- package/dist/chunks/_commonjsHelpers-IKd7PXVE.mjs.map +1 -0
- package/dist/chunks/{accordion-DSn7k_RQ.mjs → accordion-B8O5XXwF.mjs} +9 -9
- package/dist/chunks/{accordion-DSn7k_RQ.mjs.map → accordion-B8O5XXwF.mjs.map} +1 -1
- package/dist/chunks/{alert-aP6n7wtq.mjs → alert-Cxm8gzzN.mjs} +2 -2
- package/dist/chunks/{alert-aP6n7wtq.mjs.map → alert-Cxm8gzzN.mjs.map} +1 -1
- package/dist/chunks/{badge-CsUuqHNu.mjs → badge-CxQ5ZKqp.mjs} +2 -2
- package/dist/chunks/{badge-CsUuqHNu.mjs.map → badge-CxQ5ZKqp.mjs.map} +1 -1
- package/dist/chunks/{bundle-mjs-BRbxNcQb.mjs → bundle-mjs-BiaozTdA.mjs} +1 -1
- package/dist/chunks/{bundle-mjs-BRbxNcQb.mjs.map → bundle-mjs-BiaozTdA.mjs.map} +1 -1
- package/dist/chunks/{button-BW9I4XWU.mjs → button-BGLMcJB4.mjs} +2 -2
- package/dist/chunks/{button-BW9I4XWU.mjs.map → button-BGLMcJB4.mjs.map} +1 -1
- package/dist/chunks/{calendar-C549VT55.mjs → calendar-BHnUBKme.mjs} +7 -7
- package/dist/chunks/{calendar-C549VT55.mjs.map → calendar-BHnUBKme.mjs.map} +1 -1
- package/dist/chunks/{calendar-days-BSzlDBsi.mjs → calendar-days-DpQ1KTDs.mjs} +2 -2
- package/dist/chunks/{calendar-days-BSzlDBsi.mjs.map → calendar-days-DpQ1KTDs.mjs.map} +1 -1
- package/dist/chunks/{card-Dqm2EuWU.mjs → card-DoX5FG2O.mjs} +2 -2
- package/dist/chunks/{card-Dqm2EuWU.mjs.map → card-DoX5FG2O.mjs.map} +1 -1
- package/dist/chunks/{check-CKdwsuVA.mjs → check-IxYxu2m2.mjs} +2 -2
- package/dist/chunks/{check-CKdwsuVA.mjs.map → check-IxYxu2m2.mjs.map} +1 -1
- package/dist/chunks/{checkbox-CvaPsjy3.mjs → checkbox-CcH0_U11.mjs} +9 -9
- package/dist/chunks/{checkbox-CvaPsjy3.mjs.map → checkbox-CcH0_U11.mjs.map} +1 -1
- package/dist/chunks/{chevron-down-o7NUBnJ4.mjs → chevron-down-CB9XJBvO.mjs} +2 -2
- package/dist/chunks/{chevron-down-o7NUBnJ4.mjs.map → chevron-down-CB9XJBvO.mjs.map} +1 -1
- package/dist/chunks/{chevron-left-BZ8X7kLy.mjs → chevron-left-BZhF9_sl.mjs} +2 -2
- package/dist/chunks/{chevron-left-BZ8X7kLy.mjs.map → chevron-left-BZhF9_sl.mjs.map} +1 -1
- package/dist/chunks/{chevron-right-jAScR3zY.mjs → chevron-right-DxKHTEw4.mjs} +2 -2
- package/dist/chunks/{chevron-right-jAScR3zY.mjs.map → chevron-right-DxKHTEw4.mjs.map} +1 -1
- package/dist/chunks/{chevrons-up-down-BSIPdamI.mjs → chevrons-up-down-9G5Tfe5n.mjs} +2 -2
- package/dist/chunks/{chevrons-up-down-BSIPdamI.mjs.map → chevrons-up-down-9G5Tfe5n.mjs.map} +1 -1
- package/dist/chunks/{command-B29vdoVO.mjs → command-CTzwZjgu.mjs} +8 -8
- package/dist/chunks/{command-B29vdoVO.mjs.map → command-CTzwZjgu.mjs.map} +1 -1
- package/dist/chunks/{createLucideIcon-CkP7424r.mjs → createLucideIcon-ewcrPOXc.mjs} +1 -1
- package/dist/chunks/{createLucideIcon-CkP7424r.mjs.map → createLucideIcon-ewcrPOXc.mjs.map} +1 -1
- package/dist/chunks/{date-Y_hKMQVr.mjs → date-C6d9uc1Y.mjs} +2 -2
- package/dist/chunks/{date-Y_hKMQVr.mjs.map → date-C6d9uc1Y.mjs.map} +1 -1
- package/dist/chunks/{dialog-BhaHMQnG.mjs → dialog-DKVGIMhp.mjs} +4 -4
- package/dist/chunks/{dialog-BhaHMQnG.mjs.map → dialog-DKVGIMhp.mjs.map} +1 -1
- package/dist/chunks/{ellipsis-DHAz8TrI.mjs → ellipsis-Cdoml4pe.mjs} +2 -2
- package/dist/chunks/{ellipsis-DHAz8TrI.mjs.map → ellipsis-Cdoml4pe.mjs.map} +1 -1
- package/dist/chunks/{form-BAxhKbgh.mjs → form-CTy6kC8K.mjs} +4 -4
- package/dist/chunks/{form-BAxhKbgh.mjs.map → form-CTy6kC8K.mjs.map} +1 -1
- package/dist/chunks/{format-CR4Q6BSq.mjs → format-BP0DJO__.mjs} +1 -1
- package/dist/chunks/{format-CR4Q6BSq.mjs.map → format-BP0DJO__.mjs.map} +1 -1
- package/dist/chunks/{format-numbers-CWj9Vf7x.mjs → format-numbers-B91zDt6T.mjs} +7 -2
- package/dist/chunks/format-numbers-B91zDt6T.mjs.map +1 -0
- package/dist/chunks/{hover-card-DVmQc78n.mjs → hover-card-B4cs9oXS.mjs} +9 -9
- package/dist/chunks/{hover-card-DVmQc78n.mjs.map → hover-card-B4cs9oXS.mjs.map} +1 -1
- package/dist/chunks/{index-D_e6adwb.mjs → index-B4j_iklN.mjs} +5 -5
- package/dist/chunks/{index-D_e6adwb.mjs.map → index-B4j_iklN.mjs.map} +1 -1
- package/dist/chunks/{index-Bt1elORc.mjs → index-BGPzxkoe.mjs} +9 -9
- package/dist/chunks/{index-Bt1elORc.mjs.map → index-BGPzxkoe.mjs.map} +1 -1
- package/dist/chunks/{index-CvVBB5ll.mjs → index-BLoHFcsP.mjs} +4 -4
- package/dist/chunks/{index-CvVBB5ll.mjs.map → index-BLoHFcsP.mjs.map} +1 -1
- package/dist/chunks/{index-D8mA4n7w.mjs → index-BZ0Ie5MZ.mjs} +1 -1
- package/dist/chunks/{index-D8mA4n7w.mjs.map → index-BZ0Ie5MZ.mjs.map} +1 -1
- package/dist/chunks/{index-Cs9A0tpU.mjs → index-B_3r0YSW.mjs} +1 -1
- package/dist/chunks/{index-Cs9A0tpU.mjs.map → index-B_3r0YSW.mjs.map} +1 -1
- package/dist/chunks/{index-D2DYiX9D.mjs → index-Bb4e5TVB.mjs} +2 -2
- package/dist/chunks/{index-D2DYiX9D.mjs.map → index-Bb4e5TVB.mjs.map} +1 -1
- package/dist/chunks/{index-oX_tk439.mjs → index-Bnj8ioO3.mjs} +1 -1
- package/dist/chunks/{index-oX_tk439.mjs.map → index-Bnj8ioO3.mjs.map} +1 -1
- package/dist/chunks/{index-CVjOpozG.mjs → index-C4tnAHs-.mjs} +1 -1
- package/dist/chunks/{index-CVjOpozG.mjs.map → index-C4tnAHs-.mjs.map} +1 -1
- package/dist/chunks/{index-D1CSAowX.mjs → index-CA3EW8n0.mjs} +13 -13
- package/dist/chunks/{index-D1CSAowX.mjs.map → index-CA3EW8n0.mjs.map} +1 -1
- package/dist/chunks/{index-DNMhNzeD.mjs → index-CCFTOvCH.mjs} +7 -7
- package/dist/chunks/{index-DNMhNzeD.mjs.map → index-CCFTOvCH.mjs.map} +1 -1
- package/dist/chunks/{index-CS2Lzoed.mjs → index-CIRLMBnb.mjs} +7 -7
- package/dist/chunks/{index-CS2Lzoed.mjs.map → index-CIRLMBnb.mjs.map} +1 -1
- package/dist/chunks/{index-DQD35Ges.mjs → index-CNHbSQGn.mjs} +3 -3
- package/dist/chunks/{index-DQD35Ges.mjs.map → index-CNHbSQGn.mjs.map} +1 -1
- package/dist/chunks/{index-Ct610FOk.mjs → index-CfjLzNC8.mjs} +2 -2
- package/dist/chunks/{index-Ct610FOk.mjs.map → index-CfjLzNC8.mjs.map} +1 -1
- package/dist/chunks/{index-4pJ77hyF.mjs → index-CndkPmYf.mjs} +1 -1
- package/dist/chunks/{index-4pJ77hyF.mjs.map → index-CndkPmYf.mjs.map} +1 -1
- package/dist/chunks/{index-Dp_0m03a.mjs → index-D5_t-fKG.mjs} +2 -2
- package/dist/chunks/{index-Dp_0m03a.mjs.map → index-D5_t-fKG.mjs.map} +1 -1
- package/dist/chunks/{index-DLqxy-dg.mjs → index-DC7c4AzA.mjs} +1 -1
- package/dist/chunks/{index-DLqxy-dg.mjs.map → index-DC7c4AzA.mjs.map} +1 -1
- package/dist/chunks/{index-D_Q4NGnO.mjs → index-DH-l6Yti.mjs} +1 -1
- package/dist/chunks/{index-D_Q4NGnO.mjs.map → index-DH-l6Yti.mjs.map} +1 -1
- package/dist/chunks/{index-CByz7d8q.mjs → index-DaAUrbME.mjs} +3 -3
- package/dist/chunks/{index-CByz7d8q.mjs.map → index-DaAUrbME.mjs.map} +1 -1
- package/dist/chunks/{index-BN17NQCv.mjs → index-Dc4CRwOt.mjs} +1 -1
- package/dist/chunks/{index-BN17NQCv.mjs.map → index-Dc4CRwOt.mjs.map} +1 -1
- package/dist/chunks/{index-DhI6OG_H.mjs → index-DdfdKSbi.mjs} +2 -2
- package/dist/chunks/{index-DhI6OG_H.mjs.map → index-DdfdKSbi.mjs.map} +1 -1
- package/dist/chunks/{index-DCDDoDjL.mjs → index-DtnGGiEV.mjs} +6 -6
- package/dist/chunks/{index-DCDDoDjL.mjs.map → index-DtnGGiEV.mjs.map} +1 -1
- package/dist/chunks/{index.module-Df4mRjmZ.mjs → index.module-fxamV_I3.mjs} +1 -1
- package/dist/chunks/{index.module-Df4mRjmZ.mjs.map → index.module-fxamV_I3.mjs.map} +1 -1
- package/dist/chunks/{input-YpoAHnXb.mjs → input-mj8FNZRk.mjs} +3 -3
- package/dist/chunks/input-mj8FNZRk.mjs.map +1 -0
- package/dist/chunks/{input-otp-BKqdZwNx.mjs → input-otp-CxJXIrNl.mjs} +3 -3
- package/dist/chunks/{input-otp-BKqdZwNx.mjs.map → input-otp-CxJXIrNl.mjs.map} +1 -1
- package/dist/chunks/{label-D5s6d0et.mjs → label-W3UdMW3v.mjs} +2 -2
- package/dist/chunks/{label-D5s6d0et.mjs.map → label-W3UdMW3v.mjs.map} +1 -1
- package/dist/chunks/{loader-circle-C7StEOZI.mjs → loader-circle-B5QJLuO1.mjs} +2 -2
- package/dist/chunks/{loader-circle-C7StEOZI.mjs.map → loader-circle-B5QJLuO1.mjs.map} +1 -1
- package/dist/chunks/{menubar-ySifmjAG.mjs → menubar-BuGJ5Q_L.mjs} +11 -11
- package/dist/chunks/{menubar-ySifmjAG.mjs.map → menubar-BuGJ5Q_L.mjs.map} +1 -1
- package/dist/chunks/{multi-select-BsnRMfg7.mjs → multi-select-DuV3FdDt.mjs} +13 -13
- package/dist/chunks/{multi-select-BsnRMfg7.mjs.map → multi-select-DuV3FdDt.mjs.map} +1 -1
- package/dist/chunks/{pagination-CV6N_Qu_.mjs → pagination-Cs3wizCp.mjs} +6 -6
- package/dist/chunks/{pagination-CV6N_Qu_.mjs.map → pagination-Cs3wizCp.mjs.map} +1 -1
- package/dist/chunks/{popover-D3JC54Y3.mjs → popover-DGsxKyJF.mjs} +11 -11
- package/dist/chunks/{popover-D3JC54Y3.mjs.map → popover-DGsxKyJF.mjs.map} +1 -1
- package/dist/chunks/{progress-D_Enl4tV.mjs → progress-SZ0Pxizm.mjs} +2 -2
- package/dist/chunks/{progress-D_Enl4tV.mjs.map → progress-SZ0Pxizm.mjs.map} +1 -1
- package/dist/chunks/{radio-group-yF1QEewC.mjs → radio-group-C1jMnmVw.mjs} +11 -11
- package/dist/chunks/{radio-group-yF1QEewC.mjs.map → radio-group-C1jMnmVw.mjs.map} +1 -1
- package/dist/chunks/{react-number-format.es-C3uDZhRo.mjs → react-number-format.es-C7U7ioZd.mjs} +1 -1
- package/dist/chunks/{react-number-format.es-C3uDZhRo.mjs.map → react-number-format.es-C7U7ioZd.mjs.map} +1 -1
- package/dist/chunks/{scroll-area-CdGRe--S.mjs → scroll-area-CUDaTfWT.mjs} +9 -9
- package/dist/chunks/{scroll-area-CdGRe--S.mjs.map → scroll-area-CUDaTfWT.mjs.map} +1 -1
- package/dist/chunks/{select-B8JYuJE5.mjs → select-Dq8fqu37.mjs} +5 -5
- package/dist/chunks/{select-B8JYuJE5.mjs.map → select-Dq8fqu37.mjs.map} +1 -1
- package/dist/chunks/{separator-sWF5eZgM.mjs → separator-D5TE10m_.mjs} +2 -2
- package/dist/chunks/{separator-sWF5eZgM.mjs.map → separator-D5TE10m_.mjs.map} +1 -1
- package/dist/chunks/{sheet-D-4XWzUo.mjs → sheet-EDu9DDDi.mjs} +4 -4
- package/dist/chunks/{sheet-D-4XWzUo.mjs.map → sheet-EDu9DDDi.mjs.map} +1 -1
- package/dist/chunks/{skeleton-CQlSHSfr.mjs → skeleton-Cz_OILBE.mjs} +2 -2
- package/dist/chunks/{skeleton-CQlSHSfr.mjs.map → skeleton-Cz_OILBE.mjs.map} +1 -1
- package/dist/chunks/{slider-CaliGouI.mjs → slider-C6EvwR3U.mjs} +9 -9
- package/dist/chunks/{slider-CaliGouI.mjs.map → slider-C6EvwR3U.mjs.map} +1 -1
- package/dist/chunks/{sortable-BoTUMXD0.mjs → sortable-Ceay6Tmc.mjs} +3 -3
- package/dist/chunks/{sortable-BoTUMXD0.mjs.map → sortable-Ceay6Tmc.mjs.map} +1 -1
- package/dist/chunks/{switch-szutUcvb.mjs → switch-BABOR3Vk.mjs} +7 -7
- package/dist/chunks/{switch-szutUcvb.mjs.map → switch-BABOR3Vk.mjs.map} +1 -1
- package/dist/chunks/{table-wwce3IsC.mjs → table-nQAquZ8k.mjs} +2 -2
- package/dist/chunks/{table-wwce3IsC.mjs.map → table-nQAquZ8k.mjs.map} +1 -1
- package/dist/chunks/{tabs-BDPMoWeJ.mjs → tabs-GSWcI42N.mjs} +9 -9
- package/dist/chunks/{tabs-BDPMoWeJ.mjs.map → tabs-GSWcI42N.mjs.map} +1 -1
- package/dist/chunks/{textarea-DYBOxg35.mjs → textarea-BUZrMDDh.mjs} +2 -2
- package/dist/chunks/{textarea-DYBOxg35.mjs.map → textarea-BUZrMDDh.mjs.map} +1 -1
- package/dist/chunks/{toast-S15TT7Q2.mjs → toast-D2mMO1Oy.mjs} +12 -12
- package/dist/chunks/{toast-S15TT7Q2.mjs.map → toast-D2mMO1Oy.mjs.map} +1 -1
- package/dist/chunks/{toggle-GXtKRhvr.mjs → toggle-CSIe5d_e.mjs} +4 -4
- package/dist/chunks/{toggle-GXtKRhvr.mjs.map → toggle-CSIe5d_e.mjs.map} +1 -1
- package/dist/chunks/{tooltip-z43eMlPO.mjs → tooltip-D50Fk8bI.mjs} +11 -11
- package/dist/chunks/{tooltip-z43eMlPO.mjs.map → tooltip-D50Fk8bI.mjs.map} +1 -1
- package/dist/chunks/{trash-2-CZE_1bXY.mjs → trash-2-DFf6yPsG.mjs} +2 -2
- package/dist/chunks/{trash-2-CZE_1bXY.mjs.map → trash-2-DFf6yPsG.mjs.map} +1 -1
- package/dist/chunks/{triangle-alert-BeczCtiG.mjs → triangle-alert-Ca2MyX53.mjs} +2 -2
- package/dist/chunks/{triangle-alert-BeczCtiG.mjs.map → triangle-alert-Ca2MyX53.mjs.map} +1 -1
- package/dist/chunks/{tslib.es6-B20VGjW7.mjs → tslib.es6-CaQRI2iG.mjs} +1 -1
- package/dist/chunks/{tslib.es6-B20VGjW7.mjs.map → tslib.es6-CaQRI2iG.mjs.map} +1 -1
- package/dist/chunks/{use-toast-C3gJQZ0s.mjs → use-toast-DZKgupxt.mjs} +1 -1
- package/dist/chunks/{use-toast-C3gJQZ0s.mjs.map → use-toast-DZKgupxt.mjs.map} +1 -1
- package/dist/chunks/{utils-uOfHPBdi.mjs → utils-BXrVBwA6.mjs} +2 -2
- package/dist/chunks/{utils-uOfHPBdi.mjs.map → utils-BXrVBwA6.mjs.map} +1 -1
- package/dist/chunks/{wand-sparkles-COk3z6HL.mjs → wand-sparkles-BLl4JIU2.mjs} +2 -2
- package/dist/chunks/{wand-sparkles-COk3z6HL.mjs.map → wand-sparkles-BLl4JIU2.mjs.map} +1 -1
- package/dist/chunks/{x-D5HL_X5m.mjs → x-DDyHTJQn.mjs} +2 -2
- package/dist/chunks/{x-D5HL_X5m.mjs.map → x-DDyHTJQn.mjs.map} +1 -1
- package/dist/collapsible/index.mjs +7 -7
- package/dist/combobox/index.mjs +24 -24
- package/dist/command/index.mjs +18 -18
- package/dist/context-menu/index.mjs +21 -21
- package/dist/dash/index.mjs +23 -24
- package/dist/dash/index.mjs.map +1 -1
- package/dist/data-table/index.mjs +33 -33
- package/dist/date-picker/index.mjs +25 -25
- package/dist/dialog/index.mjs +17 -17
- package/dist/drawer/index.mjs +14 -14
- package/dist/dropdown-menu/index.mjs +21 -21
- package/dist/dropzone/index.mjs +17 -17
- package/dist/editable-table/index.mjs +18 -18
- package/dist/empty/index.mjs +2 -2
- package/dist/field/index.mjs +4 -4
- package/dist/form/index.mjs +4 -4
- package/dist/form-fields/index.mjs +26 -26
- package/dist/form-layout/index.d.ts +17 -1
- package/dist/form-layout/index.mjs +314 -168
- package/dist/form-layout/index.mjs.map +1 -1
- package/dist/hover-card/index.mjs +13 -13
- 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 +4 -4
- package/dist/item/index.mjs +3 -3
- package/dist/ivt.css +1 -1
- package/dist/kbd/index.mjs +2 -2
- package/dist/label/index.mjs +3 -3
- package/dist/layout/index.mjs +21 -21
- package/dist/menubar/index.mjs +22 -22
- package/dist/multi-input-list/index.mjs +28 -28
- package/dist/multi-select/index.mjs +31 -31
- package/dist/navigation-menu/index.mjs +15 -15
- package/dist/pagination/index.mjs +8 -8
- package/dist/popover/index.mjs +16 -16
- package/dist/progress/index.mjs +3 -3
- package/dist/radio-group/index.mjs +16 -16
- package/dist/resizable/index.mjs +3 -3
- package/dist/scroll-area/index.mjs +10 -10
- package/dist/select/index.mjs +6 -6
- package/dist/separator/index.mjs +3 -3
- package/dist/shared/index.mjs +5 -5
- package/dist/sheet/index.mjs +17 -17
- package/dist/sidebar/index.mjs +25 -25
- package/dist/skeleton/index.mjs +3 -3
- package/dist/skeleton-component/index.mjs +4 -4
- package/dist/slider/index.mjs +11 -11
- package/dist/sortable/index.mjs +4 -4
- package/dist/spinner/index.mjs +4 -4
- package/dist/switch/index.mjs +9 -9
- package/dist/table/index.mjs +3 -3
- package/dist/table-filter/index.mjs +51 -52
- package/dist/table-filter/index.mjs.map +1 -1
- package/dist/tabs/index.mjs +12 -12
- package/dist/textarea/index.mjs +3 -3
- package/dist/toast/index.mjs +14 -14
- package/dist/toaster/index.mjs +15 -15
- package/dist/toggle/index.mjs +6 -6
- package/dist/toggle-group/index.mjs +11 -11
- package/dist/tooltip/index.mjs +15 -15
- package/package.json +1 -1
- package/dist/chunks/AutoComplete-BpwnFm_u.mjs +0 -106
- package/dist/chunks/AutoComplete-BpwnFm_u.mjs.map +0 -1
- package/dist/chunks/CalendarRange-BGP7p-ma.mjs +0 -89
- package/dist/chunks/CalendarRange-BGP7p-ma.mjs.map +0 -1
- package/dist/chunks/DeleteConfirmationModal-DQK05Srx.mjs.map +0 -1
- package/dist/chunks/_commonjsHelpers-DkfSKqYE.mjs.map +0 -1
- package/dist/chunks/format-numbers-CWj9Vf7x.mjs.map +0 -1
- package/dist/chunks/input-YpoAHnXb.mjs.map +0 -1
- package/dist/chunks/styles-C5sFcbz4.mjs +0 -6
- package/dist/chunks/styles-C5sFcbz4.mjs.map +0 -1
package/dist/accordion/index.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { A as Accordion, c as AccordionContent, a as AccordionItem, b as AccordionTrigger } from '../chunks/accordion-
|
|
1
|
+
export { A as Accordion, c as AccordionContent, a as AccordionItem, b as AccordionTrigger } from '../chunks/accordion-B8O5XXwF.mjs';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../chunks/index-
|
|
3
|
+
import '../chunks/index-C4tnAHs-.mjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import '@radix-ui/react-collection';
|
|
6
|
-
import '../chunks/index-
|
|
6
|
+
import '../chunks/index-DC7c4AzA.mjs';
|
|
7
7
|
import 'react-dom';
|
|
8
8
|
import '@radix-ui/react-slot';
|
|
9
|
-
import '../chunks/index-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
12
|
-
import '../chunks/index-
|
|
13
|
-
import '../chunks/index-
|
|
14
|
-
import '../chunks/index-
|
|
15
|
-
import '../chunks/utils-
|
|
16
|
-
import '../chunks/bundle-mjs-
|
|
17
|
-
import '../chunks/chevron-down-
|
|
18
|
-
import '../chunks/createLucideIcon-
|
|
9
|
+
import '../chunks/index-Bb4e5TVB.mjs';
|
|
10
|
+
import '../chunks/index-CndkPmYf.mjs';
|
|
11
|
+
import '../chunks/index-CCFTOvCH.mjs';
|
|
12
|
+
import '../chunks/index-DaAUrbME.mjs';
|
|
13
|
+
import '../chunks/index-D5_t-fKG.mjs';
|
|
14
|
+
import '../chunks/index-DH-l6Yti.mjs';
|
|
15
|
+
import '../chunks/utils-BXrVBwA6.mjs';
|
|
16
|
+
import '../chunks/bundle-mjs-BiaozTdA.mjs';
|
|
17
|
+
import '../chunks/chevron-down-CB9XJBvO.mjs';
|
|
18
|
+
import '../chunks/createLucideIcon-ewcrPOXc.mjs';
|
|
19
19
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { c as cn } from '../chunks/utils-
|
|
3
|
-
import { D as DeleteConfirmationModal } from '../chunks/DeleteConfirmationModal-
|
|
4
|
-
import { c as createLucideIcon } from '../chunks/createLucideIcon-
|
|
5
|
-
import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-
|
|
6
|
-
import { B as Badge } from '../chunks/badge-
|
|
7
|
-
import { B as Button } from '../chunks/button-
|
|
8
|
-
import '../chunks/bundle-mjs-
|
|
9
|
-
import '../chunks/dialog-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
2
|
+
import { c as cn } from '../chunks/utils-BXrVBwA6.mjs';
|
|
3
|
+
import { D as DeleteConfirmationModal } from '../chunks/DeleteConfirmationModal-wEjd_27O.mjs';
|
|
4
|
+
import { c as createLucideIcon } from '../chunks/createLucideIcon-ewcrPOXc.mjs';
|
|
5
|
+
import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-B8O5XXwF.mjs';
|
|
6
|
+
import { B as Badge } from '../chunks/badge-CxQ5ZKqp.mjs';
|
|
7
|
+
import { B as Button } from '../chunks/button-BGLMcJB4.mjs';
|
|
8
|
+
import '../chunks/bundle-mjs-BiaozTdA.mjs';
|
|
9
|
+
import '../chunks/dialog-DKVGIMhp.mjs';
|
|
10
|
+
import '../chunks/index-BGPzxkoe.mjs';
|
|
11
|
+
import '../chunks/index-DC7c4AzA.mjs';
|
|
12
12
|
import 'react-dom';
|
|
13
13
|
import '@radix-ui/react-slot';
|
|
14
14
|
import 'react/jsx-runtime';
|
|
15
|
-
import '../chunks/index-
|
|
16
|
-
import '../chunks/index-
|
|
17
|
-
import '../chunks/index-
|
|
18
|
-
import '../chunks/index-
|
|
19
|
-
import '../chunks/index-
|
|
20
|
-
import '../chunks/index-
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/tslib.es6-
|
|
23
|
-
import '../chunks/index-
|
|
24
|
-
import '../chunks/index-
|
|
25
|
-
import '../chunks/x-
|
|
26
|
-
import '../chunks/trash-2-
|
|
15
|
+
import '../chunks/index-C4tnAHs-.mjs';
|
|
16
|
+
import '../chunks/index-D5_t-fKG.mjs';
|
|
17
|
+
import '../chunks/index-CndkPmYf.mjs';
|
|
18
|
+
import '../chunks/index-Bb4e5TVB.mjs';
|
|
19
|
+
import '../chunks/index-BLoHFcsP.mjs';
|
|
20
|
+
import '../chunks/index-B_3r0YSW.mjs';
|
|
21
|
+
import '../chunks/index-B4j_iklN.mjs';
|
|
22
|
+
import '../chunks/tslib.es6-CaQRI2iG.mjs';
|
|
23
|
+
import '../chunks/index-CNHbSQGn.mjs';
|
|
24
|
+
import '../chunks/index-DaAUrbME.mjs';
|
|
25
|
+
import '../chunks/x-DDyHTJQn.mjs';
|
|
26
|
+
import '../chunks/trash-2-DFf6yPsG.mjs';
|
|
27
27
|
import '@radix-ui/react-collection';
|
|
28
|
-
import '../chunks/index-
|
|
29
|
-
import '../chunks/index-
|
|
30
|
-
import '../chunks/chevron-down-
|
|
28
|
+
import '../chunks/index-CCFTOvCH.mjs';
|
|
29
|
+
import '../chunks/index-DH-l6Yti.mjs';
|
|
30
|
+
import '../chunks/chevron-down-CB9XJBvO.mjs';
|
|
31
31
|
import 'class-variance-authority';
|
|
32
32
|
|
|
33
33
|
const __iconNode = [
|
package/dist/alert/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as Alert, b as AlertDescription, a as AlertTitle } from '../chunks/alert-
|
|
1
|
+
export { A as Alert, b as AlertDescription, a as AlertTitle } from '../chunks/alert-Cxm8gzzN.mjs';
|
|
2
2
|
import 'class-variance-authority';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../chunks/utils-
|
|
5
|
-
import '../chunks/bundle-mjs-
|
|
4
|
+
import '../chunks/utils-BXrVBwA6.mjs';
|
|
5
|
+
import '../chunks/bundle-mjs-BiaozTdA.mjs';
|
|
6
6
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { u as useComposedRefs, c as createContextScope } from '../chunks/index-
|
|
3
|
-
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-
|
|
4
|
-
import { c as composeEventHandlers } from '../chunks/index-
|
|
2
|
+
import { u as useComposedRefs, c as createContextScope } from '../chunks/index-C4tnAHs-.mjs';
|
|
3
|
+
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-BGPzxkoe.mjs';
|
|
4
|
+
import { c as composeEventHandlers } from '../chunks/index-DC7c4AzA.mjs';
|
|
5
5
|
import { createSlottable } from '@radix-ui/react-slot';
|
|
6
6
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
|
-
import { c as cn } from '../chunks/utils-
|
|
8
|
-
import { b as buttonVariants } from '../chunks/button-
|
|
9
|
-
import '../chunks/index-
|
|
10
|
-
import '../chunks/index-
|
|
11
|
-
import '../chunks/index-
|
|
12
|
-
import '../chunks/index-
|
|
13
|
-
import '../chunks/index-
|
|
14
|
-
import '../chunks/index-
|
|
15
|
-
import '../chunks/tslib.es6-
|
|
16
|
-
import '../chunks/index-
|
|
7
|
+
import { c as cn } from '../chunks/utils-BXrVBwA6.mjs';
|
|
8
|
+
import { b as buttonVariants } from '../chunks/button-BGLMcJB4.mjs';
|
|
9
|
+
import '../chunks/index-D5_t-fKG.mjs';
|
|
10
|
+
import '../chunks/index-CndkPmYf.mjs';
|
|
11
|
+
import '../chunks/index-Bb4e5TVB.mjs';
|
|
12
|
+
import '../chunks/index-BLoHFcsP.mjs';
|
|
13
|
+
import '../chunks/index-B_3r0YSW.mjs';
|
|
14
|
+
import '../chunks/index-B4j_iklN.mjs';
|
|
15
|
+
import '../chunks/tslib.es6-CaQRI2iG.mjs';
|
|
16
|
+
import '../chunks/index-CNHbSQGn.mjs';
|
|
17
17
|
import 'react-dom';
|
|
18
|
-
import '../chunks/index-
|
|
19
|
-
import '../chunks/bundle-mjs-
|
|
18
|
+
import '../chunks/index-DaAUrbME.mjs';
|
|
19
|
+
import '../chunks/bundle-mjs-BiaozTdA.mjs';
|
|
20
20
|
import 'class-variance-authority';
|
|
21
21
|
|
|
22
22
|
var ROOT_NAME = "AlertDialog";
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { cva } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { c } from '../chunks/index.module-
|
|
4
|
-
import { c as cn } from '../chunks/utils-
|
|
5
|
-
import { L as Label } from '../chunks/label-
|
|
6
|
-
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-
|
|
7
|
-
import { B as Button } from '../chunks/button-
|
|
8
|
-
import { B as Badge } from '../chunks/badge-
|
|
9
|
-
import { X } from '../chunks/x-
|
|
10
|
-
import { c as TooltipProvider, T as Tooltip, a as TooltipTrigger, b as TooltipContent } from '../chunks/tooltip-
|
|
11
|
-
import { S as Separator } from '../chunks/separator-
|
|
12
|
-
import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-
|
|
13
|
-
import { C as Command, b as CommandInput, c as CommandList, d as CommandEmpty, e as CommandGroup, f as CommandItem, h as CommandSeparator } from '../chunks/command-
|
|
14
|
-
import { C as Check } from '../chunks/check-
|
|
15
|
-
import { W as WandSparkles } from '../chunks/wand-sparkles-
|
|
16
|
-
import '../chunks/bundle-mjs-
|
|
3
|
+
import { c } from '../chunks/index.module-fxamV_I3.mjs';
|
|
4
|
+
import { c as cn } from '../chunks/utils-BXrVBwA6.mjs';
|
|
5
|
+
import { L as Label } from '../chunks/label-W3UdMW3v.mjs';
|
|
6
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-DGsxKyJF.mjs';
|
|
7
|
+
import { B as Button } from '../chunks/button-BGLMcJB4.mjs';
|
|
8
|
+
import { B as Badge } from '../chunks/badge-CxQ5ZKqp.mjs';
|
|
9
|
+
import { X } from '../chunks/x-DDyHTJQn.mjs';
|
|
10
|
+
import { c as TooltipProvider, T as Tooltip, a as TooltipTrigger, b as TooltipContent } from '../chunks/tooltip-D50Fk8bI.mjs';
|
|
11
|
+
import { S as Separator } from '../chunks/separator-D5TE10m_.mjs';
|
|
12
|
+
import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-9G5Tfe5n.mjs';
|
|
13
|
+
import { C as Command, b as CommandInput, c as CommandList, d as CommandEmpty, e as CommandGroup, f as CommandItem, h as CommandSeparator } from '../chunks/command-CTzwZjgu.mjs';
|
|
14
|
+
import { C as Check } from '../chunks/check-IxYxu2m2.mjs';
|
|
15
|
+
import { W as WandSparkles } from '../chunks/wand-sparkles-BLl4JIU2.mjs';
|
|
16
|
+
import '../chunks/bundle-mjs-BiaozTdA.mjs';
|
|
17
17
|
import 'react-dom';
|
|
18
18
|
import '@radix-ui/react-slot';
|
|
19
19
|
import 'react/jsx-runtime';
|
|
20
|
-
import '../chunks/index-
|
|
21
|
-
import '../chunks/index-
|
|
22
|
-
import '../chunks/index-
|
|
23
|
-
import '../chunks/index-
|
|
24
|
-
import '../chunks/index-
|
|
25
|
-
import '../chunks/tslib.es6-
|
|
26
|
-
import '../chunks/index-
|
|
27
|
-
import '../chunks/index-
|
|
28
|
-
import '../chunks/index-
|
|
29
|
-
import '../chunks/index-
|
|
30
|
-
import '../chunks/index-
|
|
31
|
-
import '../chunks/index-
|
|
32
|
-
import '../chunks/index-
|
|
33
|
-
import '../chunks/createLucideIcon-
|
|
34
|
-
import '../chunks/index-
|
|
35
|
-
import '../chunks/index-
|
|
36
|
-
import '../chunks/dialog-
|
|
20
|
+
import '../chunks/index-DC7c4AzA.mjs';
|
|
21
|
+
import '../chunks/index-C4tnAHs-.mjs';
|
|
22
|
+
import '../chunks/index-BLoHFcsP.mjs';
|
|
23
|
+
import '../chunks/index-B_3r0YSW.mjs';
|
|
24
|
+
import '../chunks/index-B4j_iklN.mjs';
|
|
25
|
+
import '../chunks/tslib.es6-CaQRI2iG.mjs';
|
|
26
|
+
import '../chunks/index-D5_t-fKG.mjs';
|
|
27
|
+
import '../chunks/index-CndkPmYf.mjs';
|
|
28
|
+
import '../chunks/index-DtnGGiEV.mjs';
|
|
29
|
+
import '../chunks/index-DdfdKSbi.mjs';
|
|
30
|
+
import '../chunks/index-CNHbSQGn.mjs';
|
|
31
|
+
import '../chunks/index-DaAUrbME.mjs';
|
|
32
|
+
import '../chunks/index-Bb4e5TVB.mjs';
|
|
33
|
+
import '../chunks/createLucideIcon-ewcrPOXc.mjs';
|
|
34
|
+
import '../chunks/index-CfjLzNC8.mjs';
|
|
35
|
+
import '../chunks/index-BGPzxkoe.mjs';
|
|
36
|
+
import '../chunks/dialog-DKVGIMhp.mjs';
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Variants for the multi-select component to handle different styles.
|
package/dist/avatar/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { u as useCallbackRef } from '../chunks/index-
|
|
4
|
-
import { u as useLayoutEffect2 } from '../chunks/index-
|
|
3
|
+
import { u as useCallbackRef } from '../chunks/index-B_3r0YSW.mjs';
|
|
4
|
+
import { u as useLayoutEffect2 } from '../chunks/index-CndkPmYf.mjs';
|
|
5
5
|
import 'react-dom';
|
|
6
6
|
import { createSlot } from '@radix-ui/react-slot';
|
|
7
|
-
import { r as requireShim } from '../chunks/index-
|
|
8
|
-
import { c as cn } from '../chunks/utils-
|
|
9
|
-
import '../chunks/bundle-mjs-
|
|
7
|
+
import { r as requireShim } from '../chunks/index-Dc4CRwOt.mjs';
|
|
8
|
+
import { c as cn } from '../chunks/utils-BXrVBwA6.mjs';
|
|
9
|
+
import '../chunks/bundle-mjs-BiaozTdA.mjs';
|
|
10
10
|
|
|
11
11
|
// src/create-context.tsx
|
|
12
12
|
function createContextScope(scopeName, createContextScopeDeps = []) {
|
package/dist/badge/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { B as Badge, b as badgeVariants } from '../chunks/badge-
|
|
1
|
+
export { B as Badge, b as badgeVariants } from '../chunks/badge-CxQ5ZKqp.mjs';
|
|
2
2
|
import '@radix-ui/react-slot';
|
|
3
3
|
import 'class-variance-authority';
|
|
4
4
|
import 'react';
|
|
5
|
-
import '../chunks/utils-
|
|
6
|
-
import '../chunks/bundle-mjs-
|
|
5
|
+
import '../chunks/utils-BXrVBwA6.mjs';
|
|
6
|
+
import '../chunks/bundle-mjs-BiaozTdA.mjs';
|
|
7
7
|
//# sourceMappingURL=index.mjs.map
|
package/dist/base/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import React__default, { ReactNode } from 'react';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
import { DayPicker, DateRange } from 'react-day-picker';
|
|
6
|
+
import { DayPicker, DateRange, Matcher } from 'react-day-picker';
|
|
7
7
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
8
8
|
|
|
9
9
|
interface AutoCompleteProps<T> {
|
|
@@ -28,7 +28,7 @@ type BadgeVariants = VariantProps<typeof badgeVariants>["variant"];
|
|
|
28
28
|
interface BadgeProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
29
29
|
}
|
|
30
30
|
declare const badgeVariants: (props?: ({
|
|
31
|
-
variant?: "default" | "
|
|
31
|
+
variant?: "default" | "secondary" | "destructive" | "positive" | "warning" | "info" | "outline" | null | undefined;
|
|
32
32
|
subtle?: boolean | null | undefined;
|
|
33
33
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
34
34
|
|
|
@@ -52,7 +52,7 @@ interface BadgeListLimitedProps {
|
|
|
52
52
|
declare const BadgeListLimited: React__default.FC<BadgeListLimitedProps>;
|
|
53
53
|
|
|
54
54
|
declare const buttonVariants: (props?: ({
|
|
55
|
-
variant?: "default" | "
|
|
55
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "selection" | "upload" | "ghost" | "link" | "table" | null | undefined;
|
|
56
56
|
size?: "default" | "sm" | "lg" | "icon" | "normal" | "icon-sm" | "icon-lg" | null | undefined;
|
|
57
57
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
58
58
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -111,10 +111,20 @@ interface CalendarPopoverProps extends Omit<React__default.ComponentProps<typeof
|
|
|
111
111
|
* Por padrão, será o mês atual.
|
|
112
112
|
*/
|
|
113
113
|
defaultMonth?: Date;
|
|
114
|
+
/**
|
|
115
|
+
* Se true, desabilita datas futuras.
|
|
116
|
+
* @default true
|
|
117
|
+
*/
|
|
118
|
+
disableFuture?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Se true, desabilita fins de semana.
|
|
121
|
+
* @default true
|
|
122
|
+
*/
|
|
123
|
+
disableWeekends?: boolean;
|
|
114
124
|
}
|
|
115
125
|
declare const CalendarPopover: React__default.FC<CalendarPopoverProps>;
|
|
116
126
|
|
|
117
|
-
interface CalendarRangeProps extends Omit<React.ComponentProps<typeof Calendar>, "mode" | "selected" | "onSelect"> {
|
|
127
|
+
interface CalendarRangeProps extends Omit<React.ComponentProps<typeof Calendar>, "mode" | "selected" | "onSelect" | "disabled"> {
|
|
118
128
|
/** Intervalo de datas selecionado (com `from` e `to`) */
|
|
119
129
|
value: DateRange | undefined;
|
|
120
130
|
/** Função chamada ao alterar o intervalo de datas selecionado */
|
|
@@ -132,14 +142,16 @@ interface CalendarRangeProps extends Omit<React.ComponentProps<typeof Calendar>,
|
|
|
132
142
|
/** Classe extra para o botão */
|
|
133
143
|
className?: string;
|
|
134
144
|
/** Desabilita o botão e impede a seleção de datas */
|
|
135
|
-
disabled?: boolean;
|
|
145
|
+
disabled?: Matcher | Matcher[] | boolean;
|
|
146
|
+
/** Função para retornar mensagem de tooltip para datas desabilitadas */
|
|
147
|
+
disabledDateTooltip?: (date: Date) => string | undefined;
|
|
136
148
|
/**
|
|
137
149
|
* Mês padrão a ser mostrado (caso nenhuma data esteja selecionada)
|
|
138
150
|
* Por padrão, será o mês atual.
|
|
139
151
|
*/
|
|
140
152
|
defaultMonth?: Date;
|
|
141
153
|
}
|
|
142
|
-
declare function CalendarRange({ value, onChange, placeholder, id, buttonProps, popoverProps, popoverContentClassName, className, disabled, ...props }: CalendarRangeProps): react_jsx_runtime.JSX.Element;
|
|
154
|
+
declare function CalendarRange({ value, onChange, placeholder, id, buttonProps, popoverProps, popoverContentClassName, className, disabled, disabledDateTooltip, ...props }: CalendarRangeProps): react_jsx_runtime.JSX.Element;
|
|
143
155
|
|
|
144
156
|
interface CollapsibleHelpProps {
|
|
145
157
|
children?: React__default.ReactNode;
|
|
@@ -201,8 +213,9 @@ interface DeleteConfirmationModalProps {
|
|
|
201
213
|
confirmIcon?: React__default.ComponentType<{
|
|
202
214
|
className?: string;
|
|
203
215
|
}> | null;
|
|
216
|
+
subtle?: boolean;
|
|
204
217
|
}
|
|
205
|
-
declare function DeleteConfirmationModal({ onConfirm, title, description, confirmText, cancelText, disabled, children, confirmIcon, }: DeleteConfirmationModalProps): react_jsx_runtime.JSX.Element;
|
|
218
|
+
declare function DeleteConfirmationModal({ onConfirm, title, description, confirmText, cancelText, disabled, children, confirmIcon, subtle, }: DeleteConfirmationModalProps): react_jsx_runtime.JSX.Element;
|
|
206
219
|
|
|
207
220
|
type MenuItemConfig = {
|
|
208
221
|
value: string;
|
package/dist/base/index.mjs
CHANGED
|
@@ -1,88 +1,64 @@
|
|
|
1
|
-
export { A as AutoComplete } from '../chunks/
|
|
1
|
+
export { A as AutoComplete, C as CalendarPopover, n as normalizeDate } from '../chunks/CalendarPopover-BPnKgAnl.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { B as Badge } from '../chunks/badge-
|
|
4
|
-
import { c as TooltipProvider, T as Tooltip, a as TooltipTrigger, b as TooltipContent } from '../chunks/tooltip-
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import '../chunks/index
|
|
31
|
-
import '../chunks/
|
|
32
|
-
import '../chunks/createLucideIcon-CkP7424r.mjs';
|
|
33
|
-
import '../chunks/check-CKdwsuVA.mjs';
|
|
34
|
-
import '../chunks/command-B29vdoVO.mjs';
|
|
35
|
-
import '../chunks/index-Bt1elORc.mjs';
|
|
36
|
-
import '../chunks/index-DLqxy-dg.mjs';
|
|
3
|
+
import { B as Badge } from '../chunks/badge-CxQ5ZKqp.mjs';
|
|
4
|
+
import { c as TooltipProvider, T as Tooltip, a as TooltipTrigger, b as TooltipContent } from '../chunks/tooltip-D50Fk8bI.mjs';
|
|
5
|
+
export { C as CalendarRange } from '../chunks/CalendarRange-BjO5LGdp.mjs';
|
|
6
|
+
import { c as cn } from '../chunks/utils-BXrVBwA6.mjs';
|
|
7
|
+
import { A as Alert, a as AlertTitle, b as AlertDescription } from '../chunks/alert-Cxm8gzzN.mjs';
|
|
8
|
+
import { I as Info } from '../chunks/TooltipIndicator-DzJ-KT7j.mjs';
|
|
9
|
+
export { T as TooltipIndicator } from '../chunks/TooltipIndicator-DzJ-KT7j.mjs';
|
|
10
|
+
import { X } from '../chunks/x-DDyHTJQn.mjs';
|
|
11
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-DGsxKyJF.mjs';
|
|
12
|
+
import { B as Button } from '../chunks/button-BGLMcJB4.mjs';
|
|
13
|
+
import { D as Dialog, i as DialogTrigger, b as DialogContent, e as DialogHeader, h as DialogTitle, c as DialogDescription, d as DialogFooter } from '../chunks/dialog-DKVGIMhp.mjs';
|
|
14
|
+
import { L as ListItem } from '../chunks/ListItem-CEV3xaDC.mjs';
|
|
15
|
+
export { D as DeleteConfirmationModal } from '../chunks/DeleteConfirmationModal-wEjd_27O.mjs';
|
|
16
|
+
import { M as Menubar, b as MenubarMenu, c as MenubarTrigger, d as MenubarContent, h as MenubarItem } from '../chunks/menubar-BuGJ5Q_L.mjs';
|
|
17
|
+
import { T as Table, a as TableHeader, e as TableRow, d as TableHead, b as TableBody, f as TableCell } from '../chunks/table-nQAquZ8k.mjs';
|
|
18
|
+
import { T as Tabs, a as TabsList, b as TabsTrigger } from '../chunks/tabs-GSWcI42N.mjs';
|
|
19
|
+
import { S as ScrollArea, a as ScrollBar } from '../chunks/scroll-area-CUDaTfWT.mjs';
|
|
20
|
+
import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-B8O5XXwF.mjs';
|
|
21
|
+
import { t as twMerge } from '../chunks/bundle-mjs-BiaozTdA.mjs';
|
|
22
|
+
import { H as HoverCard, a as HoverCardTrigger, b as HoverCardContent } from '../chunks/hover-card-B4cs9oXS.mjs';
|
|
23
|
+
import { C as ChevronLeft } from '../chunks/chevron-left-BZhF9_sl.mjs';
|
|
24
|
+
import { C as ChevronRight } from '../chunks/chevron-right-DxKHTEw4.mjs';
|
|
25
|
+
import '../chunks/index.module-fxamV_I3.mjs';
|
|
26
|
+
import '../chunks/chevrons-up-down-9G5Tfe5n.mjs';
|
|
27
|
+
import '../chunks/createLucideIcon-ewcrPOXc.mjs';
|
|
28
|
+
import '../chunks/check-IxYxu2m2.mjs';
|
|
29
|
+
import '../chunks/command-CTzwZjgu.mjs';
|
|
30
|
+
import '../chunks/index-BGPzxkoe.mjs';
|
|
31
|
+
import '../chunks/index-DC7c4AzA.mjs';
|
|
37
32
|
import 'react-dom';
|
|
38
33
|
import '@radix-ui/react-slot';
|
|
39
34
|
import 'react/jsx-runtime';
|
|
40
|
-
import '../chunks/index-
|
|
41
|
-
import '../chunks/index-
|
|
42
|
-
import '../chunks/index-
|
|
43
|
-
import '../chunks/index-
|
|
44
|
-
import '../chunks/index-
|
|
45
|
-
import '../chunks/index-
|
|
46
|
-
import '../chunks/index-
|
|
47
|
-
import '../chunks/tslib.es6-
|
|
48
|
-
import '../chunks/index-
|
|
49
|
-
import '../chunks/index-
|
|
35
|
+
import '../chunks/index-C4tnAHs-.mjs';
|
|
36
|
+
import '../chunks/index-D5_t-fKG.mjs';
|
|
37
|
+
import '../chunks/index-CndkPmYf.mjs';
|
|
38
|
+
import '../chunks/index-Bb4e5TVB.mjs';
|
|
39
|
+
import '../chunks/index-BLoHFcsP.mjs';
|
|
40
|
+
import '../chunks/index-B_3r0YSW.mjs';
|
|
41
|
+
import '../chunks/index-B4j_iklN.mjs';
|
|
42
|
+
import '../chunks/tslib.es6-CaQRI2iG.mjs';
|
|
43
|
+
import '../chunks/index-CNHbSQGn.mjs';
|
|
44
|
+
import '../chunks/index-DaAUrbME.mjs';
|
|
45
|
+
import '../chunks/date-C6d9uc1Y.mjs';
|
|
46
|
+
import '../chunks/format-BP0DJO__.mjs';
|
|
47
|
+
import '../chunks/loader-circle-B5QJLuO1.mjs';
|
|
48
|
+
import '../chunks/calendar-days-DpQ1KTDs.mjs';
|
|
49
|
+
import '../chunks/calendar-BHnUBKme.mjs';
|
|
50
|
+
import '../chunks/chevron-down-CB9XJBvO.mjs';
|
|
50
51
|
import 'class-variance-authority';
|
|
51
|
-
import '../chunks/index-
|
|
52
|
-
import '../chunks/index-
|
|
53
|
-
import '../chunks/index-
|
|
54
|
-
import '../chunks/
|
|
55
|
-
import '../chunks/trash-2-CZE_1bXY.mjs';
|
|
52
|
+
import '../chunks/index-DtnGGiEV.mjs';
|
|
53
|
+
import '../chunks/index-DdfdKSbi.mjs';
|
|
54
|
+
import '../chunks/index-CfjLzNC8.mjs';
|
|
55
|
+
import '../chunks/trash-2-DFf6yPsG.mjs';
|
|
56
56
|
import '@radix-ui/react-collection';
|
|
57
|
-
import '../chunks/index-
|
|
58
|
-
import '../chunks/index-
|
|
59
|
-
import '../chunks/index-
|
|
60
|
-
import '../chunks/index-
|
|
61
|
-
import '../chunks/index-
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* The {@link isWeekend} function options.
|
|
65
|
-
*/ /**
|
|
66
|
-
* @name isWeekend
|
|
67
|
-
* @category Weekday Helpers
|
|
68
|
-
* @summary Does the given date fall on a weekend?
|
|
69
|
-
*
|
|
70
|
-
* @description
|
|
71
|
-
* Does the given date fall on a weekend? A weekend is either Saturday (`6`) or Sunday (`0`).
|
|
72
|
-
*
|
|
73
|
-
* @param date - The date to check
|
|
74
|
-
* @param options - An object with options
|
|
75
|
-
*
|
|
76
|
-
* @returns The date falls on a weekend
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* // Does 5 October 2014 fall on a weekend?
|
|
80
|
-
* const result = isWeekend(new Date(2014, 9, 5))
|
|
81
|
-
* //=> true
|
|
82
|
-
*/ function isWeekend(date, options) {
|
|
83
|
-
const day = toDate(date, options?.in).getDay();
|
|
84
|
-
return day === 0 || day === 6;
|
|
85
|
-
}
|
|
57
|
+
import '../chunks/index-DH-l6Yti.mjs';
|
|
58
|
+
import '../chunks/index-CA3EW8n0.mjs';
|
|
59
|
+
import '../chunks/index-CIRLMBnb.mjs';
|
|
60
|
+
import '../chunks/index-Bnj8ioO3.mjs';
|
|
61
|
+
import '../chunks/index-CCFTOvCH.mjs';
|
|
86
62
|
|
|
87
63
|
/**
|
|
88
64
|
* Componente que exibe uma lista de Badges com limite de itens visíveis.
|
|
@@ -120,51 +96,6 @@ import '../chunks/index-DNMhNzeD.mjs';
|
|
|
120
96
|
}, "+", remainingCount)));
|
|
121
97
|
};
|
|
122
98
|
|
|
123
|
-
function normalizeDate(date) {
|
|
124
|
-
return format(date, "yyyy-MM-dd");
|
|
125
|
-
}
|
|
126
|
-
const CalendarPopover = ({ date, setDate, placeholder = "Selecione uma data", id = "calendar-popover", buttonProps, popoverProps, popoverContentClassName, className, disabled, isLoading, disabledDates, isLoadingTable, ...props })=>{
|
|
127
|
-
const validDate = tryParseDate(date);
|
|
128
|
-
return /*#__PURE__*/ React__default.createElement(Popover, popoverProps, /*#__PURE__*/ React__default.createElement(PopoverTrigger, {
|
|
129
|
-
asChild: true
|
|
130
|
-
}, /*#__PURE__*/ React__default.createElement(Button, {
|
|
131
|
-
id: id,
|
|
132
|
-
variant: "outline",
|
|
133
|
-
className: cn("hover:text-foreground justify-start text-left font-normal", !validDate && "text-muted-foreground hover:text-muted-foreground", className),
|
|
134
|
-
disabled: typeof disabled === "boolean" ? disabled : undefined,
|
|
135
|
-
...buttonProps
|
|
136
|
-
}, isLoading ? /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, /*#__PURE__*/ React__default.createElement(LoaderCircle, {
|
|
137
|
-
className: "size-4 animate-spin"
|
|
138
|
-
}), /*#__PURE__*/ React__default.createElement("span", null, "carregando...")) : /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, /*#__PURE__*/ React__default.createElement(CalendarDays, {
|
|
139
|
-
className: "size-4"
|
|
140
|
-
}), validDate ? format(validDate, "P", {
|
|
141
|
-
locale: ptBR
|
|
142
|
-
}) : /*#__PURE__*/ React__default.createElement("span", null, placeholder)))), /*#__PURE__*/ React__default.createElement(PopoverContent, {
|
|
143
|
-
className: cn("w-auto p-0", popoverContentClassName),
|
|
144
|
-
align: "start"
|
|
145
|
-
}, /*#__PURE__*/ React__default.createElement(Calendar, {
|
|
146
|
-
autoFocus: true,
|
|
147
|
-
captionLayout: "dropdown",
|
|
148
|
-
selected: validDate,
|
|
149
|
-
onSelect: setDate,
|
|
150
|
-
locale: ptBR,
|
|
151
|
-
numberOfMonths: 1,
|
|
152
|
-
fromYear: 2010,
|
|
153
|
-
toYear: 2040,
|
|
154
|
-
disabled: (currentDate)=>{
|
|
155
|
-
if (isLoading || isLoadingTable) return true;
|
|
156
|
-
const normalizedCurrentDate = normalizeDate(currentDate);
|
|
157
|
-
const isHoliday = disabledDates?.has(normalizedCurrentDate);
|
|
158
|
-
const isWeekendDay = isWeekend(currentDate);
|
|
159
|
-
const isFutureDate = currentDate > new Date();
|
|
160
|
-
return isHoliday || isWeekendDay || isFutureDate;
|
|
161
|
-
},
|
|
162
|
-
defaultMonth: validDate ?? props.defaultMonth ?? new Date(),
|
|
163
|
-
...props,
|
|
164
|
-
mode: "single"
|
|
165
|
-
})));
|
|
166
|
-
};
|
|
167
|
-
|
|
168
99
|
/**
|
|
169
100
|
* A simpler CollapsibleHelp component that uses a Popover for the help content.
|
|
170
101
|
* It manages its own open state internally.
|
|
@@ -500,5 +431,5 @@ const TextWrap = ({ children, className, ...props })=>{
|
|
|
500
431
|
}, children);
|
|
501
432
|
};
|
|
502
433
|
|
|
503
|
-
export { BadgeListLimited,
|
|
434
|
+
export { BadgeListLimited, CollapsibleHelp, ConfirmSave, GenericHeadingMenubar, GenericTable, GenericTabs, Header, HoverBadge, RuleFilterBuilder, StepNavigator, TextWrap };
|
|
504
435
|
//# sourceMappingURL=index.mjs.map
|