@povio/ui 6.0.0-rc.1 → 6.0.0-rc.3
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-DuCidYx5.js} +7 -7
- package/dist/{Autocomplete.bound-D0pgmsHB.js → Autocomplete.bound-DTKSW9Sb.js} +1 -1
- package/dist/{Autocomplete.bound-CqhZtdd8.d.ts → Autocomplete.bound-Db5C6Jph.d.ts} +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-u-UcoZhB.js} +22 -176
- package/dist/Calendar.lazy-B9YqgHbn.js +131 -0
- 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-BaLQOOJJ.js} +12 -10
- package/dist/{DatePicker.bound-KLyoWNcX.d.ts → DatePicker.bound-C5-DL4SJ.d.ts} +1 -1
- package/dist/{DatePicker.bound-Yqckg7Mk.js → DatePicker.bound-NquZAtFK.js} +1 -1
- package/dist/{DatePickerInput-DwHQvLzi.d.ts → DatePickerInput-8gKhZdGY.d.ts} +3 -3
- package/dist/{DatePickerInput-Cs9RwZfy.js → DatePickerInput-B0e_huQt.js} +16 -252
- package/dist/{DateRangePicker-s_4n-F_P.js → DateRangePicker-4CrjSCAx.js} +34 -296
- 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-D530tUJL.js} +1 -1
- package/dist/{DateTimePicker-411pU7VF.js → DateTimePicker-CtU096IU.js} +12 -10
- package/dist/{DateTimePicker-wgV0SUeZ.d.ts → DateTimePicker-CzGdmamp.d.ts} +3 -3
- package/dist/{DateTimePicker.bound-BDyUzidV.js → DateTimePicker.bound-BJzw56_u.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-BX3sZBEp.d.ts → Input-Bu4G9gcn.d.ts} +3 -3
- package/dist/{Input-CG4Irgae.js → Input-CPPDOg7b.js} +6 -6
- package/dist/{Input.bound-BE-espm0.d.ts → Input.bound-CxfKRXzI.d.ts} +1 -1
- package/dist/{Input.bound-jZx8gJro.js → Input.bound-DCTT5J62.js} +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-BbeePjH2.js} +7 -7
- package/dist/{NumberField-qjvHhCfN.d.ts → NumberField-DCMQZPY9.d.ts} +3 -3
- package/dist/{NumberField.bound-zySl-v_q.js → NumberField.bound-CQcKgZ--.js} +1 -1
- package/dist/{NumberField.bound-DXPGF5YK.d.ts → NumberField.bound-fZLE6Odv.d.ts} +1 -1
- package/dist/{NumberRangeInput-BrW03wC6.js → NumberRangeInput-Cpqrom84.js} +13 -13
- package/dist/{NumberRangeInput-CS4Kn427.d.ts → NumberRangeInput-CtSYPK2e.d.ts} +2 -2
- package/dist/{NumberRangeInput.bound-C8I7m1cW.d.ts → NumberRangeInput.bound-CxAk_1_K.d.ts} +1 -1
- package/dist/{NumberRangeInput.bound-CKywKEKI.js → NumberRangeInput.bound-D-Lj5_KL.js} +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-WJ_VYQpn.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/RangeCalendar-CXLwzK5Z.js +291 -0
- package/dist/{RichTextEditor-BYIQW8QA.js → RichTextEditor-DDGSNZyF.js} +17 -17
- package/dist/{RichTextEditor-hJtuB7Y6.d.ts → RichTextEditor-k9LvNCjg.d.ts} +1 -1
- package/dist/{Select-Br_3eecr.js → Select-DbZOJ-0u.js} +61 -381
- package/dist/{Select-DHYddedn.d.ts → Select-NNohxr1t.d.ts} +3 -3
- package/dist/{Select.bound-CgLKMzLn.js → Select.bound-B9c9mP8o.js} +1 -1
- package/dist/{Select.bound-CJ-tCsmX.d.ts → Select.bound-Dh5kywfV.d.ts} +1 -1
- package/dist/SelectListBox-CFOH3brT.js +362 -0
- 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-BjWuzBv_.js} +15 -14
- package/dist/{TimePicker.bound-Bxtb6uJL.d.ts → TimePicker.bound-BMZWRtpJ.d.ts} +1 -1
- package/dist/{TimePicker.bound-B-BVLNbk.js → TimePicker.bound-DBovZwLJ.js} +1 -1
- package/dist/{datePickerValue.utils-OAQBDk1R.js → TimePickerForm-BReCXELG.js} +10 -13
- 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-CkmPaD6I.js +4 -0
- 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/import-DflE4Gl2.js +251 -0
- package/dist/index.d.ts +70 -70
- package/dist/index.js +73 -73
- 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-FE-F61iH.js} +9 -9
- 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 +73 -73
- 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/useScrollableListBox-BfCLMZgv.js +47 -0
- package/dist/{useTableColumnConfig-CUINwVTR.js → useTableColumnConfig-CGtkUBG8.js} +15 -14
- 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,130 +1,25 @@
|
|
|
1
1
|
import { t as ChevronDown } from "./chevron-down-B4Pr8bD3.js";
|
|
2
|
-
import { n as ChevronUp, r as ChevronLeft } from "./Tooltip-
|
|
2
|
+
import { n as ChevronUp, r as ChevronLeft } from "./Tooltip-CqbyoJhl.js";
|
|
3
3
|
import { t as ChevronRight } from "./chevron-right-3nKJR5Bb.js";
|
|
4
|
-
import { a as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, i as CalendarGrid, r as $1697a7ad3db7b79f$re_export$useDateFormatter } from "./DatePickerInput-Cs9RwZfy.js";
|
|
5
4
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
6
|
-
import { t as IconSlot } from "./IconSlot-
|
|
5
|
+
import { t as IconSlot } from "./IconSlot-Cuvpj1gd.js";
|
|
7
6
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-C1YB5dOw.js";
|
|
8
7
|
import { i as $928221da08ecbc62$export$a11e76429ed99b4, t as $928221da08ecbc62$export$41f133550aa26f48 } from "./ListBox-CoUk0kkt.js";
|
|
9
8
|
import { n as $bc25b811ec97a172$export$40258cc1d95ff477 } from "./ToggleButton-DUQ8nwKY.js";
|
|
10
|
-
import { t as Typography } from "./Typography-
|
|
9
|
+
import { t as Typography } from "./Typography-Ba5l4rmj.js";
|
|
10
|
+
import { n as uiOutlineClass } from "./outline.clsx-DGGQQRkM.js";
|
|
11
11
|
import { BadgeButton } from "./components/badge-button.js";
|
|
12
|
-
import { t as useBreakpoint } from "./useBreakpoint-BzYqQEBO.js";
|
|
13
|
-
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
14
|
-
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10 } from "./NumberFormatter-DYarfm5F.js";
|
|
15
|
-
import { f as $8b141f2f71e88f85$export$2440da353cedad43, g as $8b141f2f71e88f85$export$f18627323ab57ac0, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, p as $8b141f2f71e88f85$export$7e319ea407e63bc0 } from "./staticDateTimeSegments-Bt5wCZvg.js";
|
|
16
12
|
import "./i18n-BjNKHh_D.js";
|
|
17
|
-
import {
|
|
13
|
+
import { t as TimePickerForm } from "./TimePickerForm-BReCXELG.js";
|
|
14
|
+
import { t as useScrollableListBox } from "./useScrollableListBox-BfCLMZgv.js";
|
|
15
|
+
import { n as CalendarGrid, t as $1697a7ad3db7b79f$re_export$useDateFormatter } from "./import-DflE4Gl2.js";
|
|
18
16
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
19
|
-
import { c } from "react/compiler-runtime";
|
|
20
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
21
|
-
import { CalendarDateTime,
|
|
22
|
-
import { useCalendar } from "@react-aria/calendar";
|
|
18
|
+
import { CalendarDateTime, Time, today } from "@internationalized/date";
|
|
23
19
|
import { useTranslation } from "react-i18next";
|
|
24
|
-
|
|
25
|
-
function $28aae683a942e141$export$87194bb378cc3ac2(props) {
|
|
26
|
-
let overlayState = $f11fb0bcf1b2687a$export$61c6a8c84e605fb6(props);
|
|
27
|
-
let [value, setValue] = $3e6197669829fe11$export$40bfa8c7b0832715(props.value, props.defaultValue || null, props.onChange);
|
|
28
|
-
let [initialValue] = useState(value);
|
|
29
|
-
let v = value || props.placeholderValue || null;
|
|
30
|
-
let [granularity, defaultTimeZone] = $8b141f2f71e88f85$export$2440da353cedad43(v, props.granularity);
|
|
31
|
-
let dateValue = value != null ? value.toDate(defaultTimeZone ?? "UTC") : null;
|
|
32
|
-
let hasTime = granularity === "hour" || granularity === "minute" || granularity === "second";
|
|
33
|
-
let shouldCloseOnSelect = props.shouldCloseOnSelect ?? true;
|
|
34
|
-
let [selectedDate, setSelectedDate] = useState(null);
|
|
35
|
-
let [selectedTime, setSelectedTime] = useState(null);
|
|
36
|
-
if (value) {
|
|
37
|
-
selectedDate = value;
|
|
38
|
-
if ("hour" in value) selectedTime = value;
|
|
39
|
-
}
|
|
40
|
-
if (v && !(granularity in v)) throw new Error("Invalid granularity " + granularity + " for value " + v.toString());
|
|
41
|
-
let showEra = value?.calendar.identifier === "gregory" && value.era === "BC";
|
|
42
|
-
let formatOpts = useMemo(() => ({
|
|
43
|
-
granularity,
|
|
44
|
-
timeZone: defaultTimeZone,
|
|
45
|
-
hideTimeZone: props.hideTimeZone,
|
|
46
|
-
hourCycle: props.hourCycle,
|
|
47
|
-
shouldForceLeadingZeros: props.shouldForceLeadingZeros,
|
|
48
|
-
showEra
|
|
49
|
-
}), [
|
|
50
|
-
granularity,
|
|
51
|
-
props.hourCycle,
|
|
52
|
-
props.shouldForceLeadingZeros,
|
|
53
|
-
defaultTimeZone,
|
|
54
|
-
props.hideTimeZone,
|
|
55
|
-
showEra
|
|
56
|
-
]);
|
|
57
|
-
let { minValue, maxValue, isDateUnavailable } = props;
|
|
58
|
-
let builtinValidation = useMemo(() => $8b141f2f71e88f85$export$f18627323ab57ac0(value, minValue, maxValue, isDateUnavailable, formatOpts), [
|
|
59
|
-
value,
|
|
60
|
-
minValue,
|
|
61
|
-
maxValue,
|
|
62
|
-
isDateUnavailable,
|
|
63
|
-
formatOpts
|
|
64
|
-
]);
|
|
65
|
-
let validation = $fd2148440a13ec26$export$fc1a364ae1f3ff10({
|
|
66
|
-
...props,
|
|
67
|
-
value,
|
|
68
|
-
builtinValidation
|
|
69
|
-
});
|
|
70
|
-
let isValueInvalid = validation.displayValidation.isInvalid;
|
|
71
|
-
let validationState = props.validationState || (isValueInvalid ? "invalid" : null);
|
|
72
|
-
let commitValue = (date, time) => {
|
|
73
|
-
setValue("timeZone" in time ? time.set(toCalendarDate(date)) : toCalendarDateTime(date, time));
|
|
74
|
-
setSelectedDate(null);
|
|
75
|
-
setSelectedTime(null);
|
|
76
|
-
validation.commitValidation();
|
|
77
|
-
};
|
|
78
|
-
let selectDate = (newValue) => {
|
|
79
|
-
let shouldClose = typeof shouldCloseOnSelect === "function" ? shouldCloseOnSelect() : shouldCloseOnSelect;
|
|
80
|
-
if (hasTime) {
|
|
81
|
-
if (selectedTime || shouldClose) commitValue(newValue, selectedTime || $8b141f2f71e88f85$export$c5221a78ef73c5e9(props.defaultValue || props.placeholderValue));
|
|
82
|
-
else setSelectedDate(newValue);
|
|
83
|
-
} else {
|
|
84
|
-
setValue(newValue);
|
|
85
|
-
validation.commitValidation();
|
|
86
|
-
}
|
|
87
|
-
if (shouldClose) overlayState.setOpen(false);
|
|
88
|
-
};
|
|
89
|
-
let selectTime = (newValue) => {
|
|
90
|
-
if (selectedDate && newValue) commitValue(selectedDate, newValue);
|
|
91
|
-
else setSelectedTime(newValue);
|
|
92
|
-
};
|
|
93
|
-
return {
|
|
94
|
-
...validation,
|
|
95
|
-
value,
|
|
96
|
-
defaultValue: props.defaultValue ?? initialValue,
|
|
97
|
-
setValue,
|
|
98
|
-
dateValue: selectedDate,
|
|
99
|
-
timeValue: selectedTime,
|
|
100
|
-
setDateValue: selectDate,
|
|
101
|
-
setTimeValue: selectTime,
|
|
102
|
-
granularity,
|
|
103
|
-
hasTime,
|
|
104
|
-
...overlayState,
|
|
105
|
-
setOpen(isOpen) {
|
|
106
|
-
if (!isOpen && !value && selectedDate && hasTime) commitValue(selectedDate, selectedTime || $8b141f2f71e88f85$export$c5221a78ef73c5e9(props.defaultValue || props.placeholderValue));
|
|
107
|
-
overlayState.setOpen(isOpen);
|
|
108
|
-
},
|
|
109
|
-
validationState,
|
|
110
|
-
isInvalid: isValueInvalid,
|
|
111
|
-
formatValue(locale, fieldOptions) {
|
|
112
|
-
if (!dateValue) return "";
|
|
113
|
-
let formatOptions = $8b141f2f71e88f85$export$7e319ea407e63bc0(fieldOptions, formatOpts);
|
|
114
|
-
return new DateFormatter(locale, formatOptions).format(dateValue);
|
|
115
|
-
},
|
|
116
|
-
getDateFormatter(locale, formatOptions) {
|
|
117
|
-
let newOptions = {
|
|
118
|
-
...formatOpts,
|
|
119
|
-
...formatOptions
|
|
120
|
-
};
|
|
121
|
-
let newFormatOptions = $8b141f2f71e88f85$export$7e319ea407e63bc0({}, newOptions);
|
|
122
|
-
return new DateFormatter(locale, newFormatOptions);
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
//#endregion
|
|
20
|
+
import { useCalendar } from "@react-aria/calendar";
|
|
127
21
|
//#region src/components/inputs/DateTime/shared/CalendarHeader.tsx
|
|
22
|
+
const calendarNavButtonClassName = clsx("inline-flex size-8 shrink-0 items-center justify-center rounded-md p-0 transition-all select-none", "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50 disabled:pointer-events-none", uiOutlineClass);
|
|
128
23
|
const HourCycle = {
|
|
129
24
|
12: "h12",
|
|
130
25
|
24: "h23"
|
|
@@ -153,18 +48,15 @@ const CalendarHeader = ({ calendarState, datePickerState, prevButtonProps, nextB
|
|
|
153
48
|
timeLabel = timeFormatter.format(date);
|
|
154
49
|
}
|
|
155
50
|
return /* @__PURE__ */ jsxs("div", {
|
|
156
|
-
className: "
|
|
51
|
+
className: "flex w-full items-center justify-between gap-1 p-3",
|
|
157
52
|
children: [
|
|
158
53
|
/* @__PURE__ */ jsx("div", {
|
|
159
|
-
className:
|
|
54
|
+
className: "inline-flex items-center",
|
|
160
55
|
children: /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
161
56
|
...prevButtonProps,
|
|
162
57
|
isDisabled: !!toggleState,
|
|
163
|
-
className: clsx(
|
|
164
|
-
children: /* @__PURE__ */ jsx(IconSlot, {
|
|
165
|
-
icon: ChevronLeft,
|
|
166
|
-
className: "text-interactive-subtle-primary-foreground"
|
|
167
|
-
})
|
|
58
|
+
className: clsx(calendarNavButtonClassName, !!toggleState && "opacity-0"),
|
|
59
|
+
children: /* @__PURE__ */ jsx(IconSlot, { icon: ChevronLeft })
|
|
168
60
|
})
|
|
169
61
|
}),
|
|
170
62
|
/* @__PURE__ */ jsxs($bc25b811ec97a172$export$40258cc1d95ff477, {
|
|
@@ -228,15 +120,12 @@ const CalendarHeader = ({ calendarState, datePickerState, prevButtonProps, nextB
|
|
|
228
120
|
]
|
|
229
121
|
}),
|
|
230
122
|
/* @__PURE__ */ jsx("div", {
|
|
231
|
-
className:
|
|
123
|
+
className: "inline-flex items-center",
|
|
232
124
|
children: /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
233
125
|
...nextButtonProps,
|
|
234
126
|
isDisabled: !!toggleState,
|
|
235
|
-
className: clsx(
|
|
236
|
-
children: /* @__PURE__ */ jsx(IconSlot, {
|
|
237
|
-
icon: ChevronRight,
|
|
238
|
-
className: "text-interactive-subtle-primary-foreground"
|
|
239
|
-
})
|
|
127
|
+
className: clsx(calendarNavButtonClassName, !!toggleState && "opacity-0"),
|
|
128
|
+
children: /* @__PURE__ */ jsx(IconSlot, { icon: ChevronRight })
|
|
240
129
|
})
|
|
241
130
|
})
|
|
242
131
|
]
|
|
@@ -315,10 +204,10 @@ const MonthPicker = ({ state, onSelectionChange, onDateChange, onCommit, selecte
|
|
|
315
204
|
if (monthNumber !== selectedMonth) return;
|
|
316
205
|
onCommit?.();
|
|
317
206
|
},
|
|
318
|
-
className: clsx("flex items-center justify-center text-
|
|
207
|
+
className: clsx("flex items-center justify-center rounded-md border border-solid text-sm font-medium shadow-xs transition-all", "not-selected:border-border not-selected:bg-background not-selected:text-foreground", "dark:not-selected:border-input dark:not-selected:bg-input/30", "not-selected:not-disabled:hover:bg-accent not-selected:not-disabled:hover:text-accent-foreground", "dark:not-selected:not-disabled:hover:bg-input/50", "selected:border-primary selected:bg-primary selected:text-primary-foreground", uiOutlineClass, "not-selected:focus-visible:border-ring", isDisabled ? "cursor-default opacity-50" : "cursor-pointer"),
|
|
319
208
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
320
209
|
as: "span",
|
|
321
|
-
size: "
|
|
210
|
+
size: "body",
|
|
322
211
|
children: month
|
|
323
212
|
})
|
|
324
213
|
}, monthNumber);
|
|
@@ -326,49 +215,6 @@ const MonthPicker = ({ state, onSelectionChange, onDateChange, onCommit, selecte
|
|
|
326
215
|
});
|
|
327
216
|
};
|
|
328
217
|
//#endregion
|
|
329
|
-
//#region src/hooks/useScrollableListBox.ts
|
|
330
|
-
function useScrollableListBox() {
|
|
331
|
-
const $ = c(4);
|
|
332
|
-
const ref = useRef(null);
|
|
333
|
-
const isDesktop = useBreakpoint("md");
|
|
334
|
-
let t0;
|
|
335
|
-
let t1;
|
|
336
|
-
if ($[0] !== isDesktop) {
|
|
337
|
-
t0 = () => {
|
|
338
|
-
const node = ref.current;
|
|
339
|
-
if (!node || isDesktop) return;
|
|
340
|
-
const onPointerDownCapture = _temp;
|
|
341
|
-
const onClickCapture = _temp2;
|
|
342
|
-
node.addEventListener("pointerdown", onPointerDownCapture);
|
|
343
|
-
node.addEventListener("click", onClickCapture);
|
|
344
|
-
return () => {
|
|
345
|
-
node.removeEventListener("pointerdown", onPointerDownCapture);
|
|
346
|
-
node.removeEventListener("click", onClickCapture);
|
|
347
|
-
};
|
|
348
|
-
};
|
|
349
|
-
t1 = [ref, isDesktop];
|
|
350
|
-
$[0] = isDesktop;
|
|
351
|
-
$[1] = t0;
|
|
352
|
-
$[2] = t1;
|
|
353
|
-
} else {
|
|
354
|
-
t0 = $[1];
|
|
355
|
-
t1 = $[2];
|
|
356
|
-
}
|
|
357
|
-
useEffect(t0, t1);
|
|
358
|
-
let t2;
|
|
359
|
-
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
360
|
-
t2 = { ref };
|
|
361
|
-
$[3] = t2;
|
|
362
|
-
} else t2 = $[3];
|
|
363
|
-
return t2;
|
|
364
|
-
}
|
|
365
|
-
function _temp2(e_0) {
|
|
366
|
-
if (e_0.currentTarget?.contains(e_0.target) && e_0.target !== e_0.currentTarget) e_0.target.click();
|
|
367
|
-
}
|
|
368
|
-
function _temp(e) {
|
|
369
|
-
e.stopPropagation();
|
|
370
|
-
}
|
|
371
|
-
//#endregion
|
|
372
218
|
//#region src/components/inputs/DateTime/shared/YearPicker.tsx
|
|
373
219
|
const YearPicker = ({ state, onSelectionChange, onDateChange, onCommit, selectedDate }) => {
|
|
374
220
|
const formatter = $1697a7ad3db7b79f$re_export$useDateFormatter({
|
|
@@ -449,10 +295,10 @@ const YearPicker = ({ state, onSelectionChange, onDateChange, onCommit, selected
|
|
|
449
295
|
if (index !== selectedYearIndex) return;
|
|
450
296
|
onCommit?.();
|
|
451
297
|
},
|
|
452
|
-
className: clsx("flex px-4 py-2 text-
|
|
298
|
+
className: clsx("flex border-b border-border border-solid px-4 py-2 text-sm outline-none last:border-b-0", "not-selected:text-foreground", "not-selected:not-disabled:hover:bg-accent not-selected:not-disabled:hover:text-accent-foreground", "not-selected:focus-visible:bg-accent not-selected:focus-visible:text-accent-foreground", "selected:bg-primary selected:text-primary-foreground", isDisabled ? "cursor-default opacity-50" : "cursor-pointer"),
|
|
453
299
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
454
300
|
as: "span",
|
|
455
|
-
size: "
|
|
301
|
+
size: "body",
|
|
456
302
|
children: year.formatted
|
|
457
303
|
})
|
|
458
304
|
}, index);
|
|
@@ -632,4 +478,4 @@ const Calendar = ({ showWeekNumbers, className, includesTime, datePickerState, h
|
|
|
632
478
|
});
|
|
633
479
|
};
|
|
634
480
|
//#endregion
|
|
635
|
-
export {
|
|
481
|
+
export { Calendar };
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { r as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6 } from "./DatePickerInput-B0e_huQt.js";
|
|
2
|
+
import { t as Spinner } from "./Spinner-CFj5Iu77.js";
|
|
3
|
+
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
4
|
+
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10 } from "./NumberFormatter-DYarfm5F.js";
|
|
5
|
+
import { f as $8b141f2f71e88f85$export$2440da353cedad43, g as $8b141f2f71e88f85$export$f18627323ab57ac0, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, p as $8b141f2f71e88f85$export$7e319ea407e63bc0 } from "./staticDateTimeSegments-FE-F61iH.js";
|
|
6
|
+
import { Suspense, lazy, useMemo, useState } from "react";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
import { DateFormatter, toCalendarDate, toCalendarDateTime } from "@internationalized/date";
|
|
9
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/datepicker/useDatePickerState.mjs
|
|
10
|
+
function $28aae683a942e141$export$87194bb378cc3ac2(props) {
|
|
11
|
+
let overlayState = $f11fb0bcf1b2687a$export$61c6a8c84e605fb6(props);
|
|
12
|
+
let [value, setValue] = $3e6197669829fe11$export$40bfa8c7b0832715(props.value, props.defaultValue || null, props.onChange);
|
|
13
|
+
let [initialValue] = useState(value);
|
|
14
|
+
let v = value || props.placeholderValue || null;
|
|
15
|
+
let [granularity, defaultTimeZone] = $8b141f2f71e88f85$export$2440da353cedad43(v, props.granularity);
|
|
16
|
+
let dateValue = value != null ? value.toDate(defaultTimeZone ?? "UTC") : null;
|
|
17
|
+
let hasTime = granularity === "hour" || granularity === "minute" || granularity === "second";
|
|
18
|
+
let shouldCloseOnSelect = props.shouldCloseOnSelect ?? true;
|
|
19
|
+
let [selectedDate, setSelectedDate] = useState(null);
|
|
20
|
+
let [selectedTime, setSelectedTime] = useState(null);
|
|
21
|
+
if (value) {
|
|
22
|
+
selectedDate = value;
|
|
23
|
+
if ("hour" in value) selectedTime = value;
|
|
24
|
+
}
|
|
25
|
+
if (v && !(granularity in v)) throw new Error("Invalid granularity " + granularity + " for value " + v.toString());
|
|
26
|
+
let showEra = value?.calendar.identifier === "gregory" && value.era === "BC";
|
|
27
|
+
let formatOpts = useMemo(() => ({
|
|
28
|
+
granularity,
|
|
29
|
+
timeZone: defaultTimeZone,
|
|
30
|
+
hideTimeZone: props.hideTimeZone,
|
|
31
|
+
hourCycle: props.hourCycle,
|
|
32
|
+
shouldForceLeadingZeros: props.shouldForceLeadingZeros,
|
|
33
|
+
showEra
|
|
34
|
+
}), [
|
|
35
|
+
granularity,
|
|
36
|
+
props.hourCycle,
|
|
37
|
+
props.shouldForceLeadingZeros,
|
|
38
|
+
defaultTimeZone,
|
|
39
|
+
props.hideTimeZone,
|
|
40
|
+
showEra
|
|
41
|
+
]);
|
|
42
|
+
let { minValue, maxValue, isDateUnavailable } = props;
|
|
43
|
+
let builtinValidation = useMemo(() => $8b141f2f71e88f85$export$f18627323ab57ac0(value, minValue, maxValue, isDateUnavailable, formatOpts), [
|
|
44
|
+
value,
|
|
45
|
+
minValue,
|
|
46
|
+
maxValue,
|
|
47
|
+
isDateUnavailable,
|
|
48
|
+
formatOpts
|
|
49
|
+
]);
|
|
50
|
+
let validation = $fd2148440a13ec26$export$fc1a364ae1f3ff10({
|
|
51
|
+
...props,
|
|
52
|
+
value,
|
|
53
|
+
builtinValidation
|
|
54
|
+
});
|
|
55
|
+
let isValueInvalid = validation.displayValidation.isInvalid;
|
|
56
|
+
let validationState = props.validationState || (isValueInvalid ? "invalid" : null);
|
|
57
|
+
let commitValue = (date, time) => {
|
|
58
|
+
setValue("timeZone" in time ? time.set(toCalendarDate(date)) : toCalendarDateTime(date, time));
|
|
59
|
+
setSelectedDate(null);
|
|
60
|
+
setSelectedTime(null);
|
|
61
|
+
validation.commitValidation();
|
|
62
|
+
};
|
|
63
|
+
let selectDate = (newValue) => {
|
|
64
|
+
let shouldClose = typeof shouldCloseOnSelect === "function" ? shouldCloseOnSelect() : shouldCloseOnSelect;
|
|
65
|
+
if (hasTime) {
|
|
66
|
+
if (selectedTime || shouldClose) commitValue(newValue, selectedTime || $8b141f2f71e88f85$export$c5221a78ef73c5e9(props.defaultValue || props.placeholderValue));
|
|
67
|
+
else setSelectedDate(newValue);
|
|
68
|
+
} else {
|
|
69
|
+
setValue(newValue);
|
|
70
|
+
validation.commitValidation();
|
|
71
|
+
}
|
|
72
|
+
if (shouldClose) overlayState.setOpen(false);
|
|
73
|
+
};
|
|
74
|
+
let selectTime = (newValue) => {
|
|
75
|
+
if (selectedDate && newValue) commitValue(selectedDate, newValue);
|
|
76
|
+
else setSelectedTime(newValue);
|
|
77
|
+
};
|
|
78
|
+
return {
|
|
79
|
+
...validation,
|
|
80
|
+
value,
|
|
81
|
+
defaultValue: props.defaultValue ?? initialValue,
|
|
82
|
+
setValue,
|
|
83
|
+
dateValue: selectedDate,
|
|
84
|
+
timeValue: selectedTime,
|
|
85
|
+
setDateValue: selectDate,
|
|
86
|
+
setTimeValue: selectTime,
|
|
87
|
+
granularity,
|
|
88
|
+
hasTime,
|
|
89
|
+
...overlayState,
|
|
90
|
+
setOpen(isOpen) {
|
|
91
|
+
if (!isOpen && !value && selectedDate && hasTime) commitValue(selectedDate, selectedTime || $8b141f2f71e88f85$export$c5221a78ef73c5e9(props.defaultValue || props.placeholderValue));
|
|
92
|
+
overlayState.setOpen(isOpen);
|
|
93
|
+
},
|
|
94
|
+
validationState,
|
|
95
|
+
isInvalid: isValueInvalid,
|
|
96
|
+
formatValue(locale, fieldOptions) {
|
|
97
|
+
if (!dateValue) return "";
|
|
98
|
+
let formatOptions = $8b141f2f71e88f85$export$7e319ea407e63bc0(fieldOptions, formatOpts);
|
|
99
|
+
return new DateFormatter(locale, formatOptions).format(dateValue);
|
|
100
|
+
},
|
|
101
|
+
getDateFormatter(locale, formatOptions) {
|
|
102
|
+
let newOptions = {
|
|
103
|
+
...formatOpts,
|
|
104
|
+
...formatOptions
|
|
105
|
+
};
|
|
106
|
+
let newFormatOptions = $8b141f2f71e88f85$export$7e319ea407e63bc0({}, newOptions);
|
|
107
|
+
return new DateFormatter(locale, newFormatOptions);
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/components/inputs/DateTime/shared/Calendar.lazy.tsx
|
|
113
|
+
const loadCalendar = () => import("./Calendar-u-UcoZhB.js");
|
|
114
|
+
const CalendarRenderer = lazy(() => loadCalendar().then(({ Calendar }) => ({ default: Calendar })));
|
|
115
|
+
/** Fetches the calendar chunk ahead of the dialog opening (hover, focus). */
|
|
116
|
+
const preloadCalendar = () => {
|
|
117
|
+
loadCalendar();
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Calendar that only loads its grid, month/year pickers and time form when a picker dialog opens.
|
|
121
|
+
* The fallback reserves the grid's size so the popover does not jump once the chunk arrives.
|
|
122
|
+
*/
|
|
123
|
+
const Calendar = (props) => /* @__PURE__ */ jsx(Suspense, {
|
|
124
|
+
fallback: /* @__PURE__ */ jsx("div", {
|
|
125
|
+
className: "flex h-72 w-full items-center justify-center md:w-80",
|
|
126
|
+
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
127
|
+
}),
|
|
128
|
+
children: /* @__PURE__ */ jsx(CalendarRenderer, { ...props })
|
|
129
|
+
});
|
|
130
|
+
//#endregion
|
|
131
|
+
export { preloadCalendar as n, $28aae683a942e141$export$87194bb378cc3ac2 as r, Calendar as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
2
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
3
|
-
import { t as typographyDefinition } from "./typography.cva-
|
|
3
|
+
import { t as typographyDefinition } from "./typography.cva-CXolEQdT.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/inputs/shared/CheckContent.tsx
|
|
6
6
|
const CheckContent = ({ children, className, contentClassName, ...props }) => {
|
|
@@ -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 {
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-dxsO9puE.js";
|
|
2
|
+
import { i as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, n as renderDatePickerTodayIcon, t as DatePickerInput } from "./DatePickerInput-B0e_huQt.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-
|
|
10
|
-
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-DyYxfwv6.js";
|
|
11
|
-
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-OAQBDk1R.js";
|
|
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-FE-F61iH.js";
|
|
9
|
+
import { n as preloadCalendar, r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar.lazy-B9YqgHbn.js";
|
|
12
10
|
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-
|
|
11
|
+
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva--gCeAsRx.js";
|
|
12
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-BrftXInI.js";
|
|
13
|
+
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-CkmPaD6I.js";
|
|
14
|
+
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-DyYxfwv6.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";
|
|
@@ -211,6 +211,8 @@ const DatePickerBase = (props) => {
|
|
|
211
211
|
labelProps,
|
|
212
212
|
className: clsx("group relative flex w-full flex-col text-left", className),
|
|
213
213
|
tabIndex: as === "inline" ? -1 : void 0,
|
|
214
|
+
onMouseEnter: preloadCalendar,
|
|
215
|
+
onFocusCapture: preloadCalendar,
|
|
214
216
|
children: [/* @__PURE__ */ jsx(DatePickerInput, {
|
|
215
217
|
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, datePickerInputRef),
|
|
216
218
|
as,
|
|
@@ -370,7 +372,7 @@ const DatePickerInner = ({ defaultValue: _defaultValue, fullIso = true, granular
|
|
|
370
372
|
},
|
|
371
373
|
isDisabled,
|
|
372
374
|
className: clsx("group relative flex w-full flex-col text-left", props.className),
|
|
373
|
-
inputClassName: clsx("min-w-
|
|
375
|
+
inputClassName: clsx("min-w-51", props.inputClassName),
|
|
374
376
|
contentClassName: "pr-0!",
|
|
375
377
|
contentWrapperClassName: datePickerInputContentRowCva({ size }),
|
|
376
378
|
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-BaLQOOJJ.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
|