@povio/ui 6.0.0-rc.1 → 6.0.0-rc.2
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/MIGRATION.md +28 -0
- package/README.md +10 -37
- package/dist/{Accordion-DQRdeDs1.js → Accordion-DycXjzGK.js} +6 -6
- package/dist/{Alert-Cee_nKWj.d.ts → Alert-BpPHCE5-.d.ts} +2 -2
- package/dist/{AlertDialog-uNDUIyng.d.ts → AlertDialog-CDCbfARJ.d.ts} +3 -3
- package/dist/{Autocomplete-D_4gEL7D.d.ts → Autocomplete-BUslodfn.d.ts} +1 -1
- package/dist/{Autocomplete-CWU9Ev3J.js → Autocomplete-DSwAc7jF.js} +7 -7
- package/dist/{Autocomplete.bound-CqhZtdd8.d.ts → Autocomplete.bound-Db5C6Jph.d.ts} +1 -1
- package/dist/{Autocomplete.bound-D0pgmsHB.js → Autocomplete.bound-e5WbxlBm.js} +1 -1
- package/dist/{Badge-C4HI9XX4.d.ts → Badge-Dp091PcC.d.ts} +2 -2
- package/dist/{BadgeButton-h3MeQYcp.d.ts → BadgeButton-DZm_aw29.d.ts} +2 -2
- package/dist/{BottomSheet-BQXSdxoX.d.ts → BottomSheet-C-jdDmO7.d.ts} +1 -1
- package/dist/{BottomSheet-z5brMtDt.js → BottomSheet-DB0Cdlgx.js} +5 -5
- package/dist/{BottomSheet.lazy-BzvLg8Ea.d.ts → BottomSheet.lazy-C0_6p_UQ.d.ts} +1 -1
- package/dist/{Breadcrumbs-B9O0_VSN.d.ts → Breadcrumbs-CuupIZuv.d.ts} +1 -1
- package/dist/{Breadcrumbs-AbUBqBTq.js → Breadcrumbs-V-Bea_bs.js} +10 -7
- package/dist/{Button-f7FPTaiN.d.ts → Button-BL5ils-5.d.ts} +1 -1
- package/dist/{Button-DER_6cxv.js → Button-DU1Q8GDB.js} +1 -1
- package/dist/{ButtonBase-CeFSNcVs.js → ButtonBase-BhlpPPDi.js} +5 -4
- package/dist/{ButtonBase-CYTFS-xK.d.ts → ButtonBase-C_ODj77A.d.ts} +3 -3
- package/dist/{ButtonContent-c7lJayVQ.js → ButtonContent-BBup-vN6.js} +4 -13
- package/dist/{Calendar-DRQ536wk.js → Calendar-ChmIflXX.js} +20 -24
- package/dist/{CheckContent-D7sZPmzx.js → CheckContent-DHKG_FY6.js} +1 -1
- package/dist/{Checkbox-CCvC7OVT.d.ts → Checkbox-BjZVQ-6_.d.ts} +1 -1
- package/dist/{Checkbox-BI3DQPLa.js → Checkbox-Bo03jrPX.js} +5 -5
- package/dist/{Checkbox.bound-CMZnF2_d.js → Checkbox.bound-DN4OVaMs.js} +1 -1
- package/dist/{Checkbox.bound-DBt33Inx.d.ts → Checkbox.bound-DTO008Tl.d.ts} +1 -1
- package/dist/{CheckboxCheckmark-BzT6MwH5.js → CheckboxCheckmark-C4yFclkZ.js} +5 -8
- package/dist/{CheckboxGroup-MJ6crCZk.d.ts → CheckboxGroup-B_rzZgta.d.ts} +3 -3
- package/dist/{CheckboxGroup-DQw4hsFa.js → CheckboxGroup-D3LxgocB.js} +5 -5
- package/dist/{CheckboxGroup.bound-CTCdezUN.js → CheckboxGroup.bound-8hjoP-xP.js} +1 -1
- package/dist/{CheckboxGroup.bound-j2Sc8QtU.d.ts → CheckboxGroup.bound-CiA60XsD.d.ts} +1 -1
- package/dist/{DatePicker-umTISfvn.d.ts → DatePicker-B_caFHFY.d.ts} +3 -3
- package/dist/{DatePicker-CSm9c37c.js → DatePicker-Bc_E4UZ1.js} +9 -9
- package/dist/{DatePicker.bound-KLyoWNcX.d.ts → DatePicker.bound-C5-DL4SJ.d.ts} +1 -1
- package/dist/{DatePicker.bound-Yqckg7Mk.js → DatePicker.bound-CtBL5w-8.js} +1 -1
- package/dist/{DatePickerInput-DwHQvLzi.d.ts → DatePickerInput-8gKhZdGY.d.ts} +3 -3
- package/dist/{DatePickerInput-Cs9RwZfy.js → DatePickerInput-TND0rEMc.js} +38 -30
- package/dist/{DateRangePicker-s_4n-F_P.js → DateRangePicker-BNMTOQ2N.js} +16 -16
- package/dist/{DateRangePicker-hV_U1IK0.d.ts → DateRangePicker-CzWwO5bA.d.ts} +3 -3
- package/dist/{DateRangePicker.bound-D-GPENNe.d.ts → DateRangePicker.bound-C4mHtr-b.d.ts} +1 -1
- package/dist/{DateRangePicker.bound-C1klxYW0.js → DateRangePicker.bound-GeRw9Iuj.js} +1 -1
- package/dist/{DateTimePicker-411pU7VF.js → DateTimePicker-B3YjV4uj.js} +9 -9
- package/dist/{DateTimePicker-wgV0SUeZ.d.ts → DateTimePicker-CzGdmamp.d.ts} +3 -3
- package/dist/{DateTimePicker.bound-BDyUzidV.js → DateTimePicker.bound-ByjHsAnf.js} +1 -1
- package/dist/{DateTimePicker.bound-cF2X_ncj.d.ts → DateTimePicker.bound-DwClL-pe.d.ts} +1 -1
- package/dist/{Dialog-V-2cgGk1.d.ts → Dialog-2XpWsphI.d.ts} +1 -1
- package/dist/{Dialog-DSl1Fkqi.js → Dialog-COvYzwNU.js} +4 -4
- package/dist/{DropdownMenu-DH7E2aXb.js → DropdownMenu-DtZdv5mo.js} +4 -4
- package/dist/{DropdownMenu-Bl_C5W_E.d.ts → DropdownMenu-gKIXzj63.d.ts} +2 -2
- package/dist/{DropdownMenuDesktop-nMoCa6N5.js → DropdownMenuDesktop-BMkiHEuY.js} +2 -2
- package/dist/{FileInput-Q72yXorH.d.ts → FileInput-0o8-IJUh.d.ts} +6 -6
- package/dist/{FileInput-CqRrQRM-.js → FileInput-Bpm2HJSB.js} +16 -15
- package/dist/{FileInput.bound-BZ7-g-dq.js → FileInput.bound-B6oGPCP8.js} +1 -1
- package/dist/{FileInput.bound-CG2G5E2K.d.ts → FileInput.bound-BEeceBBO.d.ts} +1 -1
- package/dist/{FileUpload-B4ibHWQn.d.ts → FileUpload--AQJW3vz.d.ts} +1 -1
- package/dist/{FileUpload-CG60c6wM.js → FileUpload-G7tdtNKN.js} +48 -48
- package/dist/{FileUpload.bound-DQ6uuH2W.js → FileUpload.bound-DqqPejvc.js} +1 -1
- package/dist/{FileUpload.bound-C-Zy1n5Y.d.ts → FileUpload.bound-i5zfLhoY.d.ts} +2 -2
- package/dist/{FileUploadContainer-CtUhDntB.d.ts → FileUploadContainer-D1eYflb2.d.ts} +1 -1
- package/dist/{FormField-BIRMlgu4.d.ts → FormField-BsR2Cjxm.d.ts} +1 -1
- package/dist/{FormField-D7KKJ6kG.js → FormField-DyqEbqx3.js} +16 -18
- package/dist/{FormFieldError-Bqjg9cMb.js → FormFieldError-BaVgIKrv.js} +1 -1
- package/dist/{FormFieldHeaderTooltip-k8Snf_oM.js → FormFieldHeaderTooltip-Bxc4f9i4.js} +3 -3
- package/dist/{IconButton-BM2DUNtN.d.ts → IconButton-DdvODpP7.d.ts} +1 -1
- package/dist/{IconSlot-DSK7qNxc.js → IconSlot-Cuvpj1gd.js} +2 -2
- package/dist/{InlineTooltipWrapper-DBuQX2yo.js → InlineTooltipWrapper-HDHIaQtS.js} +1 -1
- package/dist/{Input-CG4Irgae.js → Input-BdCci6BF.js} +6 -6
- package/dist/{Input-BX3sZBEp.d.ts → Input-Bu4G9gcn.d.ts} +3 -3
- package/dist/{Input.bound-jZx8gJro.js → Input.bound-CnqI-L-b.js} +1 -1
- package/dist/{Input.bound-BE-espm0.d.ts → Input.bound-CxfKRXzI.d.ts} +1 -1
- package/dist/{InputContent-DDFr0kml.d.ts → InputContent-BGTEvv6a.d.ts} +3 -3
- package/dist/{InputContent-KhD4_YvO.js → InputContent-Ca4oVqIe.js} +15 -15
- package/dist/{Link-Bw2m9W4B.d.ts → Link-D0Kk3F5w.d.ts} +2 -2
- package/dist/{MenuItem-DPZzOqp2.d.ts → MenuItem-Bo5a7_Nw.d.ts} +1 -1
- package/dist/{NumberField-CxwTlqud.js → NumberField-BLAwsjns.js} +6 -6
- package/dist/{NumberField-qjvHhCfN.d.ts → NumberField-DCMQZPY9.d.ts} +3 -3
- package/dist/{NumberField.bound-zySl-v_q.js → NumberField.bound-DiDYEZM4.js} +1 -1
- package/dist/{NumberField.bound-DXPGF5YK.d.ts → NumberField.bound-fZLE6Odv.d.ts} +1 -1
- package/dist/{NumberRangeInput-CS4Kn427.d.ts → NumberRangeInput-CtSYPK2e.d.ts} +2 -2
- package/dist/{NumberRangeInput-BrW03wC6.js → NumberRangeInput-al32ZeSy.js} +12 -12
- package/dist/{NumberRangeInput.bound-CKywKEKI.js → NumberRangeInput.bound-B0e7yUDI.js} +1 -1
- package/dist/{NumberRangeInput.bound-C8I7m1cW.d.ts → NumberRangeInput.bound-CxAk_1_K.d.ts} +1 -1
- package/dist/{Pagination-DkpAg2x6.d.ts → Pagination-DikJEIWD.d.ts} +1 -1
- package/dist/{PaginationList-DNmZRcS6.d.ts → PaginationList-D7PVQ5WX.d.ts} +1 -1
- package/dist/{PaginationList-PjOxNQwB.js → PaginationList-vfqgyTIP.js} +109 -70
- package/dist/{PasswordInput-BHPFkVbM.d.ts → PasswordInput-Dy5hMeFP.d.ts} +1 -1
- package/dist/{PasswordInput.bound-DC57m4NT.d.ts → PasswordInput.bound-B5sHHU26.d.ts} +1 -1
- package/dist/{PasswordInput.bound-CrXKvfil.js → PasswordInput.bound-Bj3WO1zC.js} +1 -1
- package/dist/{Popover-pjd0Hu61.d.ts → Popover-DxTsc2y6.d.ts} +2 -2
- package/dist/{Progress-1WGRZE8l.d.ts → Progress-CtxPBAgr.d.ts} +3 -3
- package/dist/{Progress-De76pCfX.js → Progress-ZsKwo9ne.js} +2 -2
- package/dist/{RadioGroup-DEwQ6B1F.d.ts → RadioGroup-BYS8ha2C.d.ts} +3 -3
- package/dist/{RadioGroup-BPSvcre6.js → RadioGroup-D0X47mm7.js} +5 -5
- package/dist/{RadioGroup.bound-Dj6CEG6M.d.ts → RadioGroup.bound-CibzUsQL.d.ts} +1 -1
- package/dist/{RadioGroup.bound-CN4K9dV2.js → RadioGroup.bound-aK3GC6i7.js} +1 -1
- package/dist/{RichTextEditor-hJtuB7Y6.d.ts → RichTextEditor-k9LvNCjg.d.ts} +1 -1
- package/dist/{RichTextEditor-BYIQW8QA.js → RichTextEditor-qoxzWBFP.js} +16 -16
- package/dist/{Select-Br_3eecr.js → Select-BAlYMh4h.js} +43 -36
- package/dist/{Select-DHYddedn.d.ts → Select-NNohxr1t.d.ts} +3 -3
- package/dist/{Select.bound-CgLKMzLn.js → Select.bound-CQPG2sWV.js} +1 -1
- package/dist/{Select.bound-CJ-tCsmX.d.ts → Select.bound-Dh5kywfV.d.ts} +1 -1
- package/dist/{Slider-CqB2TPTR.js → Slider-DMrnZn3I.js} +8 -9
- package/dist/{Slider-CcoNTFVN.d.ts → Slider-zbLmrW6J.d.ts} +1 -1
- package/dist/{Slider.bound-8B5qzQ-8.d.ts → Slider.bound-BaJHbE6d.d.ts} +1 -1
- package/dist/{Slider.bound-Bp7Zrs9_.js → Slider.bound-BoIYW8I5.js} +1 -1
- package/dist/{Spinner-BeVTUzzx.js → Spinner-CFj5Iu77.js} +28 -40
- package/dist/{Spinner-B-crRcdG.d.ts → Spinner-b365xHHG.d.ts} +4 -4
- package/dist/{SplitButton-BzhbtpFA.d.ts → SplitButton-CzvD7LIK.d.ts} +3 -3
- package/dist/{Stepper-LORgYAJr.d.ts → Stepper-Bk1JUf6K.d.ts} +17 -17
- package/dist/{Stepper-CMw6QnCu.js → Stepper-DlyScdAM.js} +10 -9
- package/dist/{Switch-R0kAicgM.js → Switch-Ck_zSDuw.js} +5 -5
- package/dist/{Switch-CSitpm4o.d.ts → Switch-uqTGk-H6.d.ts} +1 -1
- package/dist/{Switch.bound-Dk-BmxJd.js → Switch.bound-Brw5UUA6.js} +1 -1
- package/dist/{Switch.bound-DVjqsum1.d.ts → Switch.bound-DWuDmr2C.d.ts} +1 -1
- package/dist/Tag--FasSNEh.d.ts +44 -0
- package/dist/{TextArea-DCnqXuHC.js → TextArea-33uOXvnc.js} +4 -4
- package/dist/{TextArea-e8sQm205.d.ts → TextArea-t5IYaVds.d.ts} +2 -2
- package/dist/{TextArea.bound-BJZ9m_FE.js → TextArea.bound-DPALjcvO.js} +1 -1
- package/dist/{TextArea.bound-DEZuRYm_.d.ts → TextArea.bound-DcflHR7X.d.ts} +1 -1
- package/dist/{TimePicker-Zi7B6VTr.d.ts → TimePicker-BK4AnHQa.d.ts} +2 -2
- package/dist/{TimePicker-BwF-Crbg.js → TimePicker-CmBGkxDC.js} +13 -13
- package/dist/{TimePicker.bound-B-BVLNbk.js → TimePicker.bound-3i1DJgrU.js} +1 -1
- package/dist/{TimePicker.bound-Bxtb6uJL.d.ts → TimePicker.bound-BMZWRtpJ.d.ts} +1 -1
- package/dist/{Toast-Dl6KMa58.d.ts → Toast-6rYk8AAG.d.ts} +1 -1
- package/dist/{ToastContainer-BDvta6st.js → ToastContainer-D1Jl3PPk.js} +3 -3
- package/dist/{ToggleButton-Cce9bnBw.d.ts → ToggleButton-DZ340rQr.d.ts} +1 -1
- package/dist/{ToggleGroup-BJ8cqXaO.d.ts → ToggleGroup-BTqYh6FH.d.ts} +3 -3
- package/dist/{ToggleGroup-s5sDSB6l.js → ToggleGroup-cvzIyIhi.js} +6 -6
- package/dist/{ToggleGroup.bound-Cv09n91n.d.ts → ToggleGroup.bound-BEtnF-L-.d.ts} +1 -1
- package/dist/{ToggleGroup.bound-DEc7rdNF.js → ToggleGroup.bound-DjwakG--.js} +1 -1
- package/dist/{Tooltip-CMigoyri.js → Tooltip-CqbyoJhl.js} +4 -4
- package/dist/{Tooltip-BiS7isYB.d.ts → Tooltip-DP5RDkXs.d.ts} +1 -1
- package/dist/{TooltipWrapper-D7HUZLsP.js → TooltipWrapper-BrftXInI.js} +6 -6
- package/dist/{Typography-D2FfZr7a.d.ts → Typography-BD-MSuTp.d.ts} +1 -1
- package/dist/{Typography-LU4z2pR1.js → Typography-Ba5l4rmj.js} +1 -1
- package/dist/{accordion.cva-CeBWV9EO.js → accordion.cva-C-gUiXk5.js} +16 -24
- package/dist/badgeButton.cva-C1BuYx1N.js +138 -0
- package/dist/{badgeButton.cva-B8EQLwPv.d.ts → badgeButton.cva-Cj5AWgfv.d.ts} +7 -7
- package/dist/{breadcrumbs.cva-DPwJJK_D.js → breadcrumbs.cva-DCAdmxWR.js} +8 -8
- package/dist/{button.cva-CBckM91c.d.ts → button.cva-YpNNY6C-.d.ts} +20 -15
- package/dist/button.cva-fkUW5b2d.js +267 -0
- package/dist/{buttonContent.cva-DG-4lRz4.d.ts → buttonContent.cva-CxgT-rxJ.d.ts} +1 -1
- package/dist/{checkbox.cva-CJy87xUo.d.ts → checkbox.cva-CZnnBl8g.d.ts} +5 -5
- package/dist/{checkbox.cva-D-D9Qgaf.js → checkbox.cva-DCVi4-4z.js} +23 -32
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +97 -102
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +10 -10
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge-button.d.ts +1 -1
- package/dist/components/badge-button.js +2 -2
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +6 -6
- package/dist/components/bottom-sheet-header.d.ts +1 -1
- package/dist/components/bottom-sheet-header.js +11 -10
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +1 -1
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-time-picker.d.ts +1 -1
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/drawer.js +2 -2
- package/dist/components/dropdown-menu.d.ts +2 -2
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/file-input.d.ts +1 -1
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload-container.d.ts +2 -2
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.d.ts +2 -2
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +1 -1
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +2 -2
- package/dist/components/icon-slot.d.ts +1 -1
- package/dist/components/icon-slot.js +1 -1
- package/dist/components/input-frame.d.ts +4 -4
- package/dist/components/input-frame.js +15 -15
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/number-field.d.ts +1 -1
- package/dist/components/number-field.js +1 -1
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/pagination-list.d.ts +1 -1
- package/dist/components/pagination-list.js +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/pagination.js +7 -7
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/password-input.js +1 -1
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.d.ts +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/select.d.ts +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/slider.d.ts +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +2 -2
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/style-definitions.d.ts +1 -1
- package/dist/components/style-definitions.js +27 -27
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +5 -5
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +2 -2
- package/dist/components/toast.js +2 -2
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button.js +1 -1
- package/dist/components/toggle-group.d.ts +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/typography.d.ts +2 -2
- package/dist/components/typography.js +1 -1
- package/dist/components/use-toast.d.ts +1 -1
- package/dist/components/use-toast.js +2 -2
- package/dist/config/component-configuration.d.ts +1 -1
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/link-context.d.ts +2 -2
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/{confirmation.context-B2z9A1v3.d.ts → confirmation.context-DdxzxDWB.d.ts} +1 -1
- package/dist/{datePickerInput.cva-Cd7UUN61.js → datePickerInput.cva--gCeAsRx.js} +1 -1
- package/dist/{datePickerValue.utils-OAQBDk1R.js → datePickerValue.utils-BxHR_BQZ.js} +9 -9
- package/dist/{dialog.cva-sioU_5R7.js → dialog.cva-DzJlaK5a.js} +6 -6
- package/dist/{dist-CAFUM34b.js → dist-D35rjADF.js} +14 -13
- package/dist/dropdownMenu.cva-CS5Q2b_3.js +31 -0
- package/dist/{fileUpload.cva-ujmStxB1.js → fileUpload.cva-DVJcCCYz.js} +10 -10
- package/dist/{fileUpload.types-BT8P1o7a.d.ts → fileUpload.types-DKICER1J.d.ts} +2 -2
- package/dist/{formFieldError.cva-CTl0VeyG.js → formFieldError.cva-Cc-dELdU.js} +2 -2
- package/dist/{formFieldHelper.cva-CxAmrG2H.js → formFieldHelper.cva-5YaiUEcL.js} +29 -29
- package/dist/{iconSlot.cva-BA9NahZH.d.ts → iconSlot.cva-BrT0X2qq.d.ts} +3 -3
- package/dist/icons.d.ts +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +70 -70
- package/dist/index.js +70 -70
- package/dist/input.cva-AHLI_M3K.js +185 -0
- package/dist/{input.cva-L7jKDv6q.d.ts → input.cva-CEFEpKml.d.ts} +9 -9
- package/dist/{link.context-C4fE_aMo.d.ts → link.context-pIX2TUSb.d.ts} +1 -1
- package/dist/link.cva-isgDrId6.js +12 -0
- package/dist/outline.clsx-DGGQQRkM.js +6 -0
- package/dist/{popover.cva-Bhud1wnp.js → popover.cva-Ciu9Ro5G.js} +1 -1
- package/dist/{progress.cva-D7iiX6Lh.js → progress.cva-D0PKV_ET.js} +6 -6
- package/dist/{radio.cva-Ctdop1xV.js → radio.cva-Dn2Auqxw.js} +14 -17
- package/dist/{radio.cva-DO3UEac-.d.ts → radio.cva-VUie6k1Y.d.ts} +3 -3
- package/dist/rich-text-editor.d.ts +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/{selectDesktop.cva-RzxvSBkd.js → selectDesktop.cva-CGBkscBY.js} +1 -1
- package/dist/selectItem.cva-Ch6oK4jP.js +27 -0
- package/dist/{staticDateTimeSegments-Bt5wCZvg.js → staticDateTimeSegments-CA_lwN-O.js} +8 -8
- package/dist/{status.cva-BFGMKZO_.js → status.cva-CUpcOT4W.js} +20 -20
- package/dist/{stepper.cva-CpRi0fGb.js → stepper.cva-CQGechUm.js} +22 -34
- package/dist/{style-definitions-_RXJdSk-.d.ts → style-definitions-DzsmGccZ.d.ts} +147 -142
- package/dist/styles/editor.css +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/styles/outline.js +1 -1
- package/dist/switch.cva-C9bO_QI-.js +24 -0
- package/dist/switch.cva-x4SdjrQp.d.ts +16 -0
- package/dist/table.cva-BMIizuGy.js +111 -0
- package/dist/{table.cva-CmfeWLyW.d.ts → table.cva-HHTd92di.d.ts} +17 -17
- package/dist/tag.cva-BVa0EWBU.js +24 -0
- package/dist/tanstack/autocomplete.d.ts +2 -2
- package/dist/tanstack/autocomplete.js +1 -1
- package/dist/tanstack/checkbox-group.d.ts +2 -2
- package/dist/tanstack/checkbox-group.js +1 -1
- package/dist/tanstack/checkbox.d.ts +2 -2
- package/dist/tanstack/checkbox.js +1 -1
- package/dist/tanstack/date-picker.d.ts +2 -2
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.d.ts +2 -2
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.d.ts +2 -2
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/file-input.d.ts +2 -2
- package/dist/tanstack/file-input.js +1 -1
- package/dist/tanstack/file-upload.d.ts +3 -3
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/input.d.ts +2 -2
- package/dist/tanstack/input.js +1 -1
- package/dist/tanstack/number-field.d.ts +2 -2
- package/dist/tanstack/number-field.js +1 -1
- package/dist/tanstack/number-range-input.d.ts +2 -2
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/password-input.d.ts +1 -1
- package/dist/tanstack/password-input.js +1 -1
- package/dist/tanstack/radio-group.d.ts +2 -2
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/rich-text-editor.d.ts +1 -1
- package/dist/tanstack/rich-text-editor.js +1 -1
- package/dist/tanstack/select.d.ts +2 -2
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.d.ts +2 -2
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/switch.d.ts +2 -2
- package/dist/tanstack/switch.js +1 -1
- package/dist/tanstack/table.d.ts +2 -2
- package/dist/tanstack/table.js +1 -1
- package/dist/tanstack/text-area.d.ts +2 -2
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/time-picker.d.ts +2 -2
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle-group.d.ts +2 -2
- package/dist/tanstack/toggle-group.js +1 -1
- package/dist/{tanstack-DQu9PNjn.d.ts → tanstack-CSiB125i.d.ts} +90 -90
- package/dist/tanstack.d.ts +70 -70
- package/dist/tanstack.js +70 -70
- package/dist/{toast.cva-L0k_TBiW.d.ts → toast.cva-B8i61tEN.d.ts} +9 -9
- package/dist/{toast.cva-aC4NMpLb.js → toast.cva-BMOx7_9f.js} +21 -37
- package/dist/{toast.runtime-DKOeUnk6.js → toast.runtime-D18gn2Ty.js} +1 -1
- package/dist/toggleGroup.cva-C9Y5-kpk.js +26 -0
- package/dist/{tooltip.cva-ClcaR72U.js → tooltip.cva-Clfcn_r2.js} +10 -10
- package/dist/typography.cva-CKCCpIMj.d.ts +36 -0
- package/dist/typography.cva-CXolEQdT.js +31 -0
- package/dist/{uiConfig.context-CQU9Tzq_.d.ts → uiConfig.context-B1SCCG5j.d.ts} +9 -9
- package/dist/{uiConfig.context-CT9EVqC5.js → uiConfig.context-dxsO9puE.js} +9 -9
- package/dist/{useBreakpoint-BzYqQEBO.js → useBreakpoint-DOUmXVZ2.js} +5 -5
- package/dist/{useTableColumnConfig-CUINwVTR.js → useTableColumnConfig-DoTYVxqG.js} +13 -12
- package/dist/{useTableNav-rU9WmCj6.d.ts → useTableNav-D2zCwy63.d.ts} +2 -2
- package/dist/{useToast-DfQif03I.d.ts → useToast-CA0BGCDK.d.ts} +1 -1
- package/package.json +2 -3
- package/dist/Tag-CoqCTZRm.d.ts +0 -44
- package/dist/badgeButton.cva-BPyVejxO.js +0 -300
- package/dist/button.cva-vO0fPUTn.js +0 -423
- package/dist/dropdownMenu.cva-Bi3a21lO.js +0 -34
- package/dist/input.cva-w7ZEVQAM.js +0 -227
- package/dist/link.cva-D3XRgcAv.js +0 -12
- package/dist/outline.clsx-50W_vNDl.js +0 -6
- package/dist/selectItem.cva-BWfEkNs_.js +0 -36
- package/dist/styles/color-utilities.css +0 -20
- package/dist/switch.cva-BsJ4iAFl.js +0 -27
- package/dist/switch.cva-psw67dK9.d.ts +0 -16
- package/dist/table.cva-DFQM8VbM.js +0 -111
- package/dist/tag.cva-BCCH7ku3.js +0 -55
- package/dist/toggleGroup.cva-CEhjMT4j.js +0 -35
- package/dist/typography.cva-GpC6QQNx.d.ts +0 -36
- package/dist/typography.cva-iD15k56p.js +0 -51
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as FormFieldErrorProps } from "./FormFieldError-BT4uxbKY.js";
|
|
2
|
-
import { t as CheckboxVariantProps } from "./checkbox.cva-
|
|
2
|
+
import { t as CheckboxVariantProps } from "./checkbox.cva-CZnnBl8g.js";
|
|
3
3
|
import { ComponentType, ReactNode, Ref, SVGProps } from "react";
|
|
4
4
|
import { CheckboxProps } from "react-aria-components";
|
|
5
5
|
//#region src/components/inputs/Checkbox/Checkbox.d.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
-
import { t as CheckboxCheckmark } from "./CheckboxCheckmark-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-dxsO9puE.js";
|
|
2
|
+
import { t as CheckboxCheckmark } from "./CheckboxCheckmark-C4yFclkZ.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
5
5
|
import { c as $7230ffa83bc0c2cf$export$ef03459518577ad4, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-BkLF-JA3.js";
|
|
6
6
|
import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-BGvF9vWx.js";
|
|
7
7
|
import { t as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-D72yc4S6.js";
|
|
8
8
|
import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03, t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-CqF1SaVw.js";
|
|
9
|
-
import { c as checkboxTypography, s as checkboxIndicatorClass, t as checkboxContentClassName } from "./checkbox.cva-
|
|
10
|
-
import { t as FormFieldError } from "./FormFieldError-
|
|
11
|
-
import { t as CheckContent } from "./CheckContent-
|
|
9
|
+
import { c as checkboxTypography, s as checkboxIndicatorClass, t as checkboxContentClassName } from "./checkbox.cva-DCVi4-4z.js";
|
|
10
|
+
import { t as FormFieldError } from "./FormFieldError-BaVgIKrv.js";
|
|
11
|
+
import { t as CheckContent } from "./CheckContent-DHKG_FY6.js";
|
|
12
12
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
13
13
|
import $ahdqC$react, { createContext, forwardRef, memo, useContext, useMemo } from "react";
|
|
14
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as CheckboxBase } from "./Checkbox-
|
|
1
|
+
import { n as CheckboxBase } from "./Checkbox-Bo03jrPX.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
3
3
|
import { t as FieldController } from "./form.binding-B-2id68q.js";
|
|
4
4
|
import { memo } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CheckboxProps$1 } from "./Checkbox-
|
|
1
|
+
import { a as CheckboxProps$1 } from "./Checkbox-BjZVQ-6_.js";
|
|
2
2
|
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
3
3
|
//#region src/components/inputs/Checkbox/Checkbox.bound.d.ts
|
|
4
4
|
type ControlledCheckboxProps<TFieldValues extends FieldValues> = FormControlProps<CheckboxProps$1, TFieldValues, "isSelected">;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
2
2
|
import { t as Check } from "./check-DYMBkp_Z.js";
|
|
3
3
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
4
|
-
import { i as checkboxDefinition, o as checkboxIconDefinition } from "./checkbox.cva-
|
|
4
|
+
import { i as checkboxDefinition, o as checkboxIconDefinition } from "./checkbox.cva-DCVi4-4z.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/minus.mjs
|
|
7
7
|
/**
|
|
@@ -31,13 +31,10 @@ const CheckboxCheckmark = ({ variant, className, selectedIcon: SelectedIcon = Ch
|
|
|
31
31
|
...props,
|
|
32
32
|
className
|
|
33
33
|
}),
|
|
34
|
-
children: [/* @__PURE__ */ jsx(SelectedIcon, {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}),
|
|
39
|
-
strokeWidth: 3
|
|
40
|
-
}), /* @__PURE__ */ jsx(IndeterminateIcon, { className: checkboxIconCva({
|
|
34
|
+
children: [/* @__PURE__ */ jsx(SelectedIcon, { className: checkboxIconCva({
|
|
35
|
+
...props,
|
|
36
|
+
iconVariant: "selected"
|
|
37
|
+
}) }), /* @__PURE__ */ jsx(IndeterminateIcon, { className: checkboxIconCva({
|
|
41
38
|
...props,
|
|
42
39
|
iconVariant: "indeterminate"
|
|
43
40
|
}) })]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as FormFieldProps } from "./FormField-
|
|
2
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
3
|
-
import { t as CheckboxVariantProps } from "./checkbox.cva-
|
|
1
|
+
import { n as FormFieldProps } from "./FormField-BsR2Cjxm.js";
|
|
2
|
+
import { n as InputVariantProps } from "./input.cva-CEFEpKml.js";
|
|
3
|
+
import { t as CheckboxVariantProps } from "./checkbox.cva-CZnnBl8g.js";
|
|
4
4
|
import { ReactElement, Ref } from "react";
|
|
5
5
|
import { CheckboxGroupProps } from "react-aria-components";
|
|
6
6
|
//#region src/components/inputs/Checkbox/CheckboxGroup.d.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-dxsO9puE.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
3
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
4
|
-
import { n as CheckboxBase, r as $ed8ccb2e23e76301$export$4aa08d5625cb8ead } from "./Checkbox-
|
|
5
|
-
import { a as checkboxGroupLabelDefinition, n as checkboxContentRowDefinition, r as checkboxContentWrapperDefinition } from "./checkbox.cva-
|
|
6
|
-
import { n as FormFieldLabel, t as FormField } from "./FormField-
|
|
7
|
-
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-
|
|
4
|
+
import { n as CheckboxBase, r as $ed8ccb2e23e76301$export$4aa08d5625cb8ead } from "./Checkbox-Bo03jrPX.js";
|
|
5
|
+
import { a as checkboxGroupLabelDefinition, n as checkboxContentRowDefinition, r as checkboxContentWrapperDefinition } from "./checkbox.cva-DCVi4-4z.js";
|
|
6
|
+
import { n as FormFieldLabel, t as FormField } from "./FormField-DyqEbqx3.js";
|
|
7
|
+
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-AHLI_M3K.js";
|
|
8
8
|
import { memo } from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useLabel } from "@react-aria/label";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
2
|
import { t as FieldController } from "./form.binding-B-2id68q.js";
|
|
3
|
-
import { n as CheckboxGroupBase } from "./CheckboxGroup-
|
|
3
|
+
import { n as CheckboxGroupBase } from "./CheckboxGroup-D3LxgocB.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/Checkbox/CheckboxGroup.bound.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as CheckboxGroupProps$1 } from "./CheckboxGroup-
|
|
1
|
+
import { i as CheckboxGroupProps$1 } from "./CheckboxGroup-B_rzZgta.js";
|
|
2
2
|
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
3
3
|
//#region src/components/inputs/Checkbox/CheckboxGroup.bound.d.ts
|
|
4
4
|
type ControlledCheckboxGroupProps<TFieldValues extends FieldValues> = FormControlProps<CheckboxGroupProps$1, TFieldValues>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as FormFieldProps } from "./FormField-
|
|
2
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
3
|
-
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-
|
|
1
|
+
import { n as FormFieldProps } from "./FormField-BsR2Cjxm.js";
|
|
2
|
+
import { n as InputVariantProps } from "./input.cva-CEFEpKml.js";
|
|
3
|
+
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-8gKhZdGY.js";
|
|
4
4
|
import { FocusEvent, Ref } from "react";
|
|
5
5
|
import { CalendarDate, DateValue } from "@internationalized/date";
|
|
6
6
|
import { DatePickerStateOptions } from "react-stately";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
-
import { n as renderDatePickerTodayIcon, o as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-dxsO9puE.js";
|
|
2
|
+
import { n as renderDatePickerTodayIcon, o as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-TND0rEMc.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
5
5
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
6
6
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
7
|
-
import { t as FormField } from "./FormField-
|
|
8
|
-
import { i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-
|
|
9
|
-
import { r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-
|
|
7
|
+
import { t as FormField } from "./FormField-DyqEbqx3.js";
|
|
8
|
+
import { i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-CA_lwN-O.js";
|
|
9
|
+
import { r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-ChmIflXX.js";
|
|
10
10
|
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-DyYxfwv6.js";
|
|
11
|
-
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-
|
|
11
|
+
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-BxHR_BQZ.js";
|
|
12
12
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
13
|
-
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva
|
|
14
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
13
|
+
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva--gCeAsRx.js";
|
|
14
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-BrftXInI.js";
|
|
15
15
|
import { InputFrame } from "./components/input-frame.js";
|
|
16
16
|
import { memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -370,7 +370,7 @@ const DatePickerInner = ({ defaultValue: _defaultValue, fullIso = true, granular
|
|
|
370
370
|
},
|
|
371
371
|
isDisabled,
|
|
372
372
|
className: clsx("group relative flex w-full flex-col text-left", props.className),
|
|
373
|
-
inputClassName: clsx("min-w-
|
|
373
|
+
inputClassName: clsx("min-w-51", props.inputClassName),
|
|
374
374
|
contentClassName: "pr-0!",
|
|
375
375
|
contentWrapperClassName: datePickerInputContentRowCva({ size }),
|
|
376
376
|
contentGroup: "date-picker",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as DatePickerProps$1 } from "./DatePicker-
|
|
1
|
+
import { i as DatePickerProps$1 } from "./DatePicker-B_caFHFY.js";
|
|
2
2
|
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
3
3
|
//#region src/components/inputs/DateTime/DatePicker/DatePicker.bound.d.ts
|
|
4
4
|
type ControlledDatePickerProps<TFieldValues extends FieldValues> = FormControlProps<DatePickerProps$1, TFieldValues>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
2
|
import { t as FieldController } from "./form.binding-B-2id68q.js";
|
|
3
|
-
import { n as DatePickerInner } from "./DatePicker-
|
|
3
|
+
import { n as DatePickerInner } from "./DatePicker-Bc_E4UZ1.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/DateTime/DatePicker/DatePicker.bound.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as IconButtonProps } from "./IconButton-
|
|
2
|
-
import "./FormField-
|
|
3
|
-
import "./input.cva-
|
|
1
|
+
import { n as IconButtonProps } from "./IconButton-DdvODpP7.js";
|
|
2
|
+
import "./FormField-BsR2Cjxm.js";
|
|
3
|
+
import "./input.cva-CEFEpKml.js";
|
|
4
4
|
import { ReactNode, Ref } from "react";
|
|
5
5
|
import "react-aria";
|
|
6
6
|
//#region src/components/inputs/DateTime/shared/datePicker.types.d.ts
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
2
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
+
import { t as UIConfig } from "./uiConfig.context-dxsO9puE.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
5
5
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-C1YB5dOw.js";
|
|
6
|
-
import { t as Typography } from "./Typography-
|
|
6
|
+
import { t as Typography } from "./Typography-Ba5l4rmj.js";
|
|
7
7
|
import { IconButton } from "./components/icon-button.js";
|
|
8
8
|
import { n as $a8ea2faf2ebe4d2f$re_export$mergeProps } from "./import-D_3dPATF.js";
|
|
9
|
-
import { n as FormFieldLabel } from "./FormField-
|
|
10
|
-
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-
|
|
9
|
+
import { n as FormFieldLabel } from "./FormField-DyqEbqx3.js";
|
|
10
|
+
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-AHLI_M3K.js";
|
|
11
11
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
12
|
-
import { c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, l as DateSegmentItem } from "./staticDateTimeSegments-
|
|
12
|
+
import { c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, l as DateSegmentItem } from "./staticDateTimeSegments-CA_lwN-O.js";
|
|
13
13
|
import "./i18n-BjNKHh_D.js";
|
|
14
14
|
import { r as $32daac5f69beb98a$re_export$useFocusRing } from "./useStaticInputHandoff-DyYxfwv6.js";
|
|
15
15
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
16
16
|
import { t as DateUtils } from "./date.utils-B8_QF9y6.js";
|
|
17
|
-
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva
|
|
18
|
-
import { n as InputClear } from "./TooltipWrapper-
|
|
17
|
+
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva--gCeAsRx.js";
|
|
18
|
+
import { n as InputClear } from "./TooltipWrapper-BrftXInI.js";
|
|
19
19
|
import { useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
20
20
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
21
|
-
import { CalendarDate, CalendarDateTime, DateFormatter, GregorianCalendar, createCalendar, endOfMonth, endOfWeek, getDayOfWeek, getLocalTimeZone, getWeeksInMonth, isEqualCalendar, isSameDay, maxDate, minDate, startOfMonth, startOfWeek, startOfYear, toCalendar, toCalendarDate, today } from "@internationalized/date";
|
|
21
|
+
import { CalendarDate, CalendarDateTime, DateFormatter, GregorianCalendar, createCalendar, endOfMonth, endOfWeek, getDayOfWeek, getLocalTimeZone, getWeeksInMonth, isEqualCalendar, isSameDay, isToday, maxDate, minDate, startOfMonth, startOfWeek, startOfYear, toCalendar, toCalendarDate, today } from "@internationalized/date";
|
|
22
22
|
import "react-aria/I18nProvider";
|
|
23
23
|
import "react-aria/useNumberFormatter";
|
|
24
24
|
import "react-aria/useCollator";
|
|
@@ -410,7 +410,7 @@ const isRange = (state) => {
|
|
|
410
410
|
};
|
|
411
411
|
const CalendarCell = ({ state, onApply, onDoubleClickApply, shouldApplyOnDateSelection = true, shouldCloseOnSelect = true, onDateSelection, onDateHover, rangeSelection, hoverDate, onKeyboardNavigation, ...props }) => {
|
|
412
412
|
const ref = useRef(null);
|
|
413
|
-
const { cellProps, buttonProps, formattedDate, isSelected, isDisabled, isOutsideVisibleRange
|
|
413
|
+
const { cellProps, buttonProps, formattedDate, isSelected, isDisabled, isOutsideVisibleRange } = useCalendarCell(props, state, ref);
|
|
414
414
|
const { focusProps } = $32daac5f69beb98a$re_export$useFocusRing();
|
|
415
415
|
const onClick = useCallback((event) => {
|
|
416
416
|
buttonProps.onClick?.(event);
|
|
@@ -508,18 +508,25 @@ const CalendarCell = ({ state, onApply, onDoubleClickApply, shouldApplyOnDateSel
|
|
|
508
508
|
const onMouseLeave = useCallback(() => {
|
|
509
509
|
if (onDateHover && selectionState.isSelectingMode) onDateHover(null);
|
|
510
510
|
}, [onDateHover, selectionState.isSelectingMode]);
|
|
511
|
+
const isTodayCell = isToday(props.date, getLocalTimeZone());
|
|
511
512
|
const cellClassName = useMemo(() => {
|
|
512
513
|
const { isSelectedCell, isInRange, isHoverRange, isSelectingMode, isSelectionStart, isSelectionEnd } = selectionState;
|
|
513
|
-
|
|
514
|
+
const isVisibleSelected = isSelectedCell && !isOutsideVisibleRange;
|
|
515
|
+
const isVisibleRangeMiddle = (isInRange || isHoverRange) && !isOutsideVisibleRange && !isVisibleSelected;
|
|
516
|
+
const isRangeStart = isVisibleSelected && !!rangeSelection && !rangeSelection.isSelecting && isSelectionStart && !isSelectionEnd;
|
|
517
|
+
const isRangeEnd = isVisibleSelected && !!rangeSelection && !rangeSelection.isSelecting && isSelectionEnd && !isSelectionStart;
|
|
518
|
+
const isRangeEdge = isRangeStart || isRangeEnd;
|
|
519
|
+
return clsx("mx-auto flex items-center justify-center p-0 text-sm font-normal transition-[color,box-shadow]", "outline-none focus-visible:relative focus-visible:z-10 focus-visible:ring-[3px] focus-visible:ring-ring/50", isVisibleRangeMiddle || isRangeEdge ? "h-8 w-full" : "size-8", isVisibleRangeMiddle && "rounded-none", isRangeStart && "rounded-l-md", isRangeEnd && "rounded-r-md", !isVisibleRangeMiddle && !isRangeEdge && "rounded-md", isOutsideVisibleRange && "text-muted-foreground opacity-50", isVisibleSelected && "bg-primary text-primary-foreground", isVisibleSelected && isDisabled && "opacity-50", isVisibleRangeMiddle && "bg-accent text-accent-foreground", !isOutsideVisibleRange && !isVisibleSelected && !isVisibleRangeMiddle && isDisabled && "text-muted-foreground opacity-50", !isOutsideVisibleRange && !isVisibleSelected && !isVisibleRangeMiddle && !isDisabled && isTodayCell && "bg-accent text-accent-foreground", !isOutsideVisibleRange && !isVisibleSelected && !isVisibleRangeMiddle && !isDisabled && !isTodayCell && "text-foreground [@media(pointer:fine)]:hover:bg-accent [@media(pointer:fine)]:hover:text-accent-foreground", isDisabled && !isOutsideVisibleRange && "cursor-default", isSelectingMode && !isVisibleSelected && !isVisibleRangeMiddle && !isDisabled && "duration-75");
|
|
514
520
|
}, [
|
|
515
521
|
selectionState,
|
|
516
522
|
isOutsideVisibleRange,
|
|
517
523
|
rangeSelection,
|
|
518
524
|
isDisabled,
|
|
519
|
-
|
|
525
|
+
isTodayCell
|
|
520
526
|
]);
|
|
521
527
|
return /* @__PURE__ */ jsx("td", {
|
|
522
528
|
...cellProps,
|
|
529
|
+
className: "p-0 py-0.5",
|
|
523
530
|
children: /* @__PURE__ */ jsx("div", {
|
|
524
531
|
ref,
|
|
525
532
|
...$a8ea2faf2ebe4d2f$re_export$mergeProps(buttonProps, focusProps),
|
|
@@ -532,8 +539,8 @@ const CalendarCell = ({ state, onApply, onDoubleClickApply, shouldApplyOnDateSel
|
|
|
532
539
|
onKeyDown: (e) => handleEvent(e, () => onKeyboardNavigation?.(e, props.date)),
|
|
533
540
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
534
541
|
as: "span",
|
|
535
|
-
size: "
|
|
536
|
-
className: "block
|
|
542
|
+
size: "body",
|
|
543
|
+
className: "block overflow-hidden text-ellipsis text-center",
|
|
537
544
|
children: formattedDate
|
|
538
545
|
})
|
|
539
546
|
})
|
|
@@ -562,7 +569,7 @@ const CalendarGrid = ({ state, showWeekNumbers = false, onApply, onDoubleClickAp
|
|
|
562
569
|
onDateSelection?.(date, calendarSide);
|
|
563
570
|
};
|
|
564
571
|
return /* @__PURE__ */ jsx("div", {
|
|
565
|
-
className: clsx("h-72 w-full px-3
|
|
572
|
+
className: clsx("h-72 w-full px-3 pb-3", showWeekNumbers ? "md:w-[352px]" : "md:w-80", className),
|
|
566
573
|
inert: isSelectionDisabled || void 0,
|
|
567
574
|
"aria-disabled": isSelectionDisabled || void 0,
|
|
568
575
|
children: /* @__PURE__ */ jsxs("table", {
|
|
@@ -573,32 +580,33 @@ const CalendarGrid = ({ state, showWeekNumbers = false, onApply, onDoubleClickAp
|
|
|
573
580
|
...headerProps,
|
|
574
581
|
children: /* @__PURE__ */ jsxs("tr", { children: [showWeekNumbers && /* @__PURE__ */ jsx("th", {
|
|
575
582
|
scope: "col",
|
|
576
|
-
className: "w-8 border-border-
|
|
583
|
+
className: "w-8 border-r border-border font-normal",
|
|
577
584
|
"aria-label": t(($) => $.ui.datePicker.weekNumberLabel, { ns: "ui" }),
|
|
578
|
-
children: /* @__PURE__ */ jsx(
|
|
579
|
-
|
|
580
|
-
className: "py-2 text-content-secondary",
|
|
585
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
586
|
+
className: "block py-2 text-[0.8rem] font-normal text-muted-foreground",
|
|
581
587
|
children: t(($) => $.ui.datePicker.weekNumberHeading, { ns: "ui" })
|
|
582
588
|
})
|
|
583
|
-
}), weekDays.map((day) => /* @__PURE__ */ jsx("th", {
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
589
|
+
}), weekDays.map((day) => /* @__PURE__ */ jsx("th", {
|
|
590
|
+
className: "font-normal",
|
|
591
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
592
|
+
className: "block py-2 text-[0.8rem] font-normal text-muted-foreground",
|
|
593
|
+
children: day.substring(0, 2)
|
|
594
|
+
})
|
|
595
|
+
}, day))] })
|
|
588
596
|
}), /* @__PURE__ */ jsx("tbody", { children: WEEK_INDICES.map((weekIndex) => {
|
|
589
597
|
const dates = state.getDatesInWeek(weekIndex, startDate);
|
|
590
598
|
const firstDate = dates.find((date) => date !== null);
|
|
591
599
|
const week = firstDate ? getISOWeekNumber(firstDate) : null;
|
|
592
600
|
return /* @__PURE__ */ jsxs("tr", { children: [showWeekNumbers && /* @__PURE__ */ jsx("th", {
|
|
593
601
|
scope: "row",
|
|
594
|
-
className: "w-8 border-border-
|
|
602
|
+
className: "w-8 border-r border-border font-normal",
|
|
595
603
|
"aria-label": week === null ? void 0 : t(($) => $.ui.datePicker.weekNumber, {
|
|
596
604
|
ns: "ui",
|
|
597
605
|
week
|
|
598
606
|
}),
|
|
599
607
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
600
608
|
size: "small",
|
|
601
|
-
className: "text-
|
|
609
|
+
className: "text-muted-foreground tabular-nums",
|
|
602
610
|
children: week
|
|
603
611
|
})
|
|
604
612
|
}), dates.map((date, i) => date ? /* @__PURE__ */ jsx(CalendarCell, {
|
|
@@ -886,7 +894,7 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
|
|
|
886
894
|
...groupProps,
|
|
887
895
|
...focusWithinProps,
|
|
888
896
|
...hoverProps,
|
|
889
|
-
className: clsx("group group/date-picker-content relative flex items-center justify-between gap-2", shouldShrinkInput ? "min-w-0" : "min-w-
|
|
897
|
+
className: clsx("group group/date-picker-content relative flex items-center justify-between gap-2", shouldShrinkInput ? "min-w-0" : "min-w-51", groupProps.className, inputBaseCva({
|
|
890
898
|
variant,
|
|
891
899
|
as,
|
|
892
900
|
...props
|
|
@@ -906,7 +914,7 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
|
|
|
906
914
|
"data-is-required": isRequired || void 0,
|
|
907
915
|
"data-is-filled": hasDisplayedValue || void 0,
|
|
908
916
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
909
|
-
className: clsx("flex items-center gap-
|
|
917
|
+
className: clsx("flex items-center gap-2 pr-0!", shouldShrinkInput ? "min-w-0 flex-1 w-full" : "w-full", inputSizeCva({
|
|
910
918
|
size,
|
|
911
919
|
as
|
|
912
920
|
})),
|
|
@@ -930,7 +938,7 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
|
|
|
930
938
|
!shouldRenderTodayIconWithFieldLabel && todayIconButton,
|
|
931
939
|
displayContent ? displayContent : disableManualEntry && placeholder && !fieldProps.value ? /* @__PURE__ */ jsx(Typography, {
|
|
932
940
|
size: "large",
|
|
933
|
-
className: "text-
|
|
941
|
+
className: "text-muted-foreground",
|
|
934
942
|
children: placeholder
|
|
935
943
|
}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(DateField, {
|
|
936
944
|
ref: dateFieldRef,
|
|
@@ -947,7 +955,7 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
|
|
|
947
955
|
timeZone: effectiveTimeZone,
|
|
948
956
|
segmentGroup: normalizedEndFieldProps ? "start" : void 0
|
|
949
957
|
}), normalizedEndFieldProps && /* @__PURE__ */ jsxs(Fragment$1, { children: [!((as === "floating" || as === "filter") && hidePlaceholder) && /* @__PURE__ */ jsx("span", {
|
|
950
|
-
className: clsx("pointer-events-none select-none", !hasDisplayedValue && "text-
|
|
958
|
+
className: clsx("pointer-events-none select-none", !hasDisplayedValue && "text-muted-foreground"),
|
|
951
959
|
children: "–"
|
|
952
960
|
}), /* @__PURE__ */ jsx(DateField, {
|
|
953
961
|
ref: endDateFieldRef,
|
|
@@ -969,7 +977,7 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
|
|
|
969
977
|
className: clsx(inputSizeCva({
|
|
970
978
|
size,
|
|
971
979
|
as
|
|
972
|
-
}), "flex items-center gap-
|
|
980
|
+
}), "flex items-center gap-1 py-0! pl-0!"),
|
|
973
981
|
children: [isClearable && /* @__PURE__ */ jsx(InputClear, {
|
|
974
982
|
onClear: clearInput,
|
|
975
983
|
show: showClear
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-dxsO9puE.js";
|
|
2
2
|
import { t as ChevronDown } from "./chevron-down-B4Pr8bD3.js";
|
|
3
|
-
import { r as ChevronLeft } from "./Tooltip-
|
|
3
|
+
import { r as ChevronLeft } from "./Tooltip-CqbyoJhl.js";
|
|
4
4
|
import { t as ChevronRight } from "./chevron-right-3nKJR5Bb.js";
|
|
5
5
|
import { n as ChevronsLeft, t as ChevronsRight } from "./chevrons-right-DJPPn2fD.js";
|
|
6
|
-
import { t as Select } from "./Select-
|
|
7
|
-
import { a as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, c as $dd602d3c757202f2$export$a1d3911297b952d7, i as CalendarGrid, l as $dd602d3c757202f2$export$eac50920cf2fd59a, n as renderDatePickerTodayIcon, o as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, r as $1697a7ad3db7b79f$re_export$useDateFormatter, s as $dd602d3c757202f2$export$4f5203c0d889109e, t as DatePickerInput, u as $dd602d3c757202f2$export$f4a51ff076cc9a09 } from "./DatePickerInput-
|
|
6
|
+
import { t as Select } from "./Select-BAlYMh4h.js";
|
|
7
|
+
import { a as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, c as $dd602d3c757202f2$export$a1d3911297b952d7, i as CalendarGrid, l as $dd602d3c757202f2$export$eac50920cf2fd59a, n as renderDatePickerTodayIcon, o as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, r as $1697a7ad3db7b79f$re_export$useDateFormatter, s as $dd602d3c757202f2$export$4f5203c0d889109e, t as DatePickerInput, u as $dd602d3c757202f2$export$f4a51ff076cc9a09 } from "./DatePickerInput-TND0rEMc.js";
|
|
8
8
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
9
9
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
10
10
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-C1YB5dOw.js";
|
|
11
|
-
import { t as Switch } from "./Switch-
|
|
12
|
-
import { t as Typography } from "./Typography-
|
|
11
|
+
import { t as Switch } from "./Switch-Ck_zSDuw.js";
|
|
12
|
+
import { t as Typography } from "./Typography-Ba5l4rmj.js";
|
|
13
13
|
import { IconButton } from "./components/icon-button.js";
|
|
14
14
|
import { BadgeButton } from "./components/badge-button.js";
|
|
15
15
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
16
16
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
17
|
-
import { t as FormField } from "./FormField-
|
|
17
|
+
import { t as FormField } from "./FormField-DyqEbqx3.js";
|
|
18
18
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
19
19
|
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10 } from "./NumberFormatter-DYarfm5F.js";
|
|
20
|
-
import { f as $8b141f2f71e88f85$export$2440da353cedad43, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, i as getStaticDateTimeFocusTarget, m as $8b141f2f71e88f85$export$80ff8fc0ae339c13, o as DateTimeDialogFooter, p as $8b141f2f71e88f85$export$7e319ea407e63bc0, r as getStaticDateRangeSegments, s as DateTimeDialog } from "./staticDateTimeSegments-
|
|
20
|
+
import { f as $8b141f2f71e88f85$export$2440da353cedad43, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, i as getStaticDateTimeFocusTarget, m as $8b141f2f71e88f85$export$80ff8fc0ae339c13, o as DateTimeDialogFooter, p as $8b141f2f71e88f85$export$7e319ea407e63bc0, r as getStaticDateRangeSegments, s as DateTimeDialog } from "./staticDateTimeSegments-CA_lwN-O.js";
|
|
21
21
|
import "./i18n-BjNKHh_D.js";
|
|
22
22
|
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-DyYxfwv6.js";
|
|
23
23
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
24
|
-
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva
|
|
25
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
24
|
+
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva--gCeAsRx.js";
|
|
25
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-BrftXInI.js";
|
|
26
26
|
import { InputFrame } from "./components/input-frame.js";
|
|
27
27
|
import { memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
28
28
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -460,7 +460,7 @@ const CalendarSelectHeader = ({ state, isPrevMonthDisabled, isPrevYearDisabled,
|
|
|
460
460
|
onNavigate?.(newDate);
|
|
461
461
|
};
|
|
462
462
|
return /* @__PURE__ */ jsxs("div", {
|
|
463
|
-
className: "flex w-full items-center justify-between gap-3
|
|
463
|
+
className: "flex w-full items-center justify-between gap-3 p-3",
|
|
464
464
|
children: [
|
|
465
465
|
/* @__PURE__ */ jsxs("div", {
|
|
466
466
|
className: "flex items-center",
|
|
@@ -592,7 +592,7 @@ const RangeCalendar = ({ showWeekNumbers, className, leftCalendarState, rightCal
|
|
|
592
592
|
return rightPrevDate.year < leftDate.year || rightPrevDate.year === leftDate.year && rightPrevDate.month === leftDate.month;
|
|
593
593
|
}, [leftDate, rightDate]);
|
|
594
594
|
return /* @__PURE__ */ jsx("div", {
|
|
595
|
-
className: clsx("flex flex-col items-center bg-
|
|
595
|
+
className: clsx("flex flex-col items-center bg-popover text-popover-foreground", showWeekNumbers ? "w-full max-w-[336px] md:w-fit md:max-w-none" : "w-fit", className),
|
|
596
596
|
children: /* @__PURE__ */ jsxs("div", {
|
|
597
597
|
className: clsx("flex", showWeekNumbers && "w-full"),
|
|
598
598
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -1417,16 +1417,16 @@ const DateRangePickerBase = (props) => {
|
|
|
1417
1417
|
}), /* @__PURE__ */ jsx(DateTimeDialog, {
|
|
1418
1418
|
hideSidebar,
|
|
1419
1419
|
sidebar: /* @__PURE__ */ jsxs("div", {
|
|
1420
|
-
className: "flex w-full flex-row overflow-auto border-border
|
|
1420
|
+
className: "flex w-full flex-row overflow-auto border-border border-solid [-ms-overflow-style:none] [scrollbar-width:none] md:w-[156px] md:flex-col md:border-r [&::-webkit-scrollbar]:hidden",
|
|
1421
1421
|
children: [enableRelativeMode && /* @__PURE__ */ jsx(Switch, {
|
|
1422
1422
|
isSelected: mode === "relative",
|
|
1423
1423
|
onChange: onModeChange,
|
|
1424
|
-
className: "shrink-0 px-2 py-2 md:px-
|
|
1424
|
+
className: "shrink-0 px-2 py-2 md:px-2",
|
|
1425
1425
|
children: t(($) => $.ui.datePicker.relativeMode, { ns: "ui" })
|
|
1426
1426
|
}), presets.map((preset) => /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
1427
1427
|
isDisabled: preset.isDisabled,
|
|
1428
1428
|
onClick: () => selectPreset(preset),
|
|
1429
|
-
className: clsx("w-full px-2 py-1 text-left md:px-
|
|
1429
|
+
className: clsx("w-full px-2 py-1 text-left md:px-2 md:py-1.5 disabled:text-foreground!", activePreset !== (mode === "relative" ? preset.value : preset.label) && "text-foreground hover:text-foreground", activePreset === (mode === "relative" ? preset.value : preset.label) && "bg-primary text-primary-foreground"),
|
|
1430
1430
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
1431
1431
|
size: "small",
|
|
1432
1432
|
sizeMobile: "small",
|
|
@@ -1622,7 +1622,7 @@ const DateRangePickerInner = ({ fullIso = true, minValue, maxValue, renderStatic
|
|
|
1622
1622
|
},
|
|
1623
1623
|
isDisabled,
|
|
1624
1624
|
className: clsx("group relative flex w-full flex-col text-left", props.className),
|
|
1625
|
-
inputClassName: clsx("min-w-
|
|
1625
|
+
inputClassName: clsx("min-w-51", props.inputClassName),
|
|
1626
1626
|
contentClassName: "pr-0!",
|
|
1627
1627
|
contentWrapperClassName: datePickerInputContentRowCva({ size }),
|
|
1628
1628
|
contentGroup: "date-picker",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as FormFieldProps } from "./FormField-
|
|
2
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
3
|
-
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-
|
|
1
|
+
import { n as FormFieldProps } from "./FormField-BsR2Cjxm.js";
|
|
2
|
+
import { n as InputVariantProps } from "./input.cva-CEFEpKml.js";
|
|
3
|
+
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-8gKhZdGY.js";
|
|
4
4
|
import { FocusEvent, Ref } from "react";
|
|
5
5
|
import { DateValue } from "react-aria";
|
|
6
6
|
import { CalendarDate } from "@internationalized/date";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DateRangePickerProps$1 } from "./DateRangePicker-
|
|
1
|
+
import { a as DateRangePickerProps$1 } from "./DateRangePicker-CzWwO5bA.js";
|
|
2
2
|
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
3
3
|
//#region src/components/inputs/DateTime/DateRangePicker/DateRangePicker.bound.d.ts
|
|
4
4
|
type ControlledDateRangePickerProps<TFieldValues extends FieldValues> = FormControlProps<DateRangePickerProps$1, TFieldValues>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
2
|
import { t as FieldController } from "./form.binding-B-2id68q.js";
|
|
3
|
-
import { n as DateRangePickerInner } from "./DateRangePicker-
|
|
3
|
+
import { n as DateRangePickerInner } from "./DateRangePicker-BNMTOQ2N.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/DateTime/DateRangePicker/DateRangePicker.bound.tsx
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
-
import { n as renderDatePickerTodayIcon, o as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-dxsO9puE.js";
|
|
2
|
+
import { n as renderDatePickerTodayIcon, o as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-TND0rEMc.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
5
5
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
6
6
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
7
|
-
import { t as FormField } from "./FormField-
|
|
8
|
-
import { i as getStaticDateTimeFocusTarget, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-
|
|
9
|
-
import { r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-
|
|
7
|
+
import { t as FormField } from "./FormField-DyqEbqx3.js";
|
|
8
|
+
import { i as getStaticDateTimeFocusTarget, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-CA_lwN-O.js";
|
|
9
|
+
import { r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-ChmIflXX.js";
|
|
10
10
|
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-DyYxfwv6.js";
|
|
11
|
-
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-
|
|
11
|
+
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-BxHR_BQZ.js";
|
|
12
12
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
13
|
-
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva
|
|
14
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
13
|
+
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva--gCeAsRx.js";
|
|
14
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-BrftXInI.js";
|
|
15
15
|
import { InputFrame } from "./components/input-frame.js";
|
|
16
16
|
import { memo, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -331,7 +331,7 @@ const DateTimePickerInner = ({ defaultValue: _defaultValue, renderStaticInput, i
|
|
|
331
331
|
},
|
|
332
332
|
isDisabled,
|
|
333
333
|
className: clsx("group relative flex w-full flex-col text-left", props.className),
|
|
334
|
-
inputClassName: clsx(props.shouldShrinkInput ? "min-w-0" : "min-w-
|
|
334
|
+
inputClassName: clsx(props.shouldShrinkInput ? "min-w-0" : "min-w-51", props.inputClassName),
|
|
335
335
|
contentClassName: "pr-0!",
|
|
336
336
|
contentWrapperClassName: datePickerInputContentRowCva({ size }),
|
|
337
337
|
contentGroup: "date-picker",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as FormFieldProps } from "./FormField-
|
|
2
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
3
|
-
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-
|
|
1
|
+
import { n as FormFieldProps } from "./FormField-BsR2Cjxm.js";
|
|
2
|
+
import { n as InputVariantProps } from "./input.cva-CEFEpKml.js";
|
|
3
|
+
import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-8gKhZdGY.js";
|
|
4
4
|
import { FocusEvent, Ref } from "react";
|
|
5
5
|
import { DateValue } from "react-aria";
|
|
6
6
|
import { DatePickerStateOptions } from "react-stately";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
2
|
import { t as FieldController } from "./form.binding-B-2id68q.js";
|
|
3
|
-
import { n as DateTimePickerInner } from "./DateTimePicker-
|
|
3
|
+
import { n as DateTimePickerInner } from "./DateTimePicker-B3YjV4uj.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/DateTime/DateTimePicker/DateTimePicker.bound.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as DateTimePickerProps$1 } from "./DateTimePicker-
|
|
1
|
+
import { i as DateTimePickerProps$1 } from "./DateTimePicker-CzGdmamp.js";
|
|
2
2
|
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
3
3
|
//#region src/components/inputs/DateTime/DateTimePicker/DateTimePicker.bound.d.ts
|
|
4
4
|
type ControlledDateTimePickerProps<TFieldValues extends FieldValues> = FormControlProps<DateTimePickerProps$1, TFieldValues>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as DialogVariantProps } from "./style-definitions-
|
|
1
|
+
import { l as DialogVariantProps } from "./style-definitions-DzsmGccZ.js";
|
|
2
2
|
import { PropsWithChildren, RefObject } from "react";
|
|
3
3
|
import { DialogProps } from "react-aria-components";
|
|
4
4
|
//#region src/components/overlays/Dialog/Dialog.d.ts
|
|
@@ -5,7 +5,7 @@ import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-lFYX-7A
|
|
|
5
5
|
import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "./Modal-B4p1zFqi.js";
|
|
6
6
|
import { IconButton } from "./components/icon-button.js";
|
|
7
7
|
import "./i18n-BjNKHh_D.js";
|
|
8
|
-
import { i as dialogOverlayDefinition, n as dialogMainDefinition, t as dialogContentDefinition } from "./dialog.cva-
|
|
8
|
+
import { i as dialogOverlayDefinition, n as dialogMainDefinition, t as dialogContentDefinition } from "./dialog.cva-DzJlaK5a.js";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
//#region src/components/overlays/Dialog/Dialog.tsx
|
|
@@ -48,12 +48,12 @@ const Dialog = ({ isOpen, portalContainerRef, onClose, onOpenChange, aside, chil
|
|
|
48
48
|
color: "secondary",
|
|
49
49
|
onPress: () => handleOpenChange(false),
|
|
50
50
|
icon: X,
|
|
51
|
-
className: clsx("absolute top-
|
|
51
|
+
className: clsx("absolute top-4 right-4 size-4 rounded-xs opacity-70 hover:opacity-100", closeIconClassName),
|
|
52
52
|
label: t(($) => $.ui.modal.closeBtn),
|
|
53
|
-
variant: "
|
|
53
|
+
variant: "ghost",
|
|
54
54
|
width: "hug",
|
|
55
55
|
disableTooltip: true,
|
|
56
|
-
size: "
|
|
56
|
+
size: "none"
|
|
57
57
|
}), children]
|
|
58
58
|
})
|
|
59
59
|
})
|