@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,34 +1,27 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
-
import { t as
|
|
3
|
-
import { r as ChevronLeft } from "./Tooltip-CMigoyri.js";
|
|
4
|
-
import { t as ChevronRight } from "./chevron-right-3nKJR5Bb.js";
|
|
5
|
-
import { n as ChevronsLeft, t as ChevronsRight } from "./chevrons-right-DJPPn2fD.js";
|
|
6
|
-
import { t as Select } from "./Select-Br_3eecr.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-Cs9RwZfy.js";
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-dxsO9puE.js";
|
|
2
|
+
import { a as $dd602d3c757202f2$export$4f5203c0d889109e, c as $dd602d3c757202f2$export$f4a51ff076cc9a09, i as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, n as renderDatePickerTodayIcon, o as $dd602d3c757202f2$export$a1d3911297b952d7, r as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, s as $dd602d3c757202f2$export$eac50920cf2fd59a, t as DatePickerInput } from "./DatePickerInput-B0e_huQt.js";
|
|
8
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
9
4
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
10
5
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-C1YB5dOw.js";
|
|
11
|
-
import { t as Switch } from "./Switch-
|
|
12
|
-
import { t as Typography } from "./Typography-
|
|
13
|
-
import {
|
|
14
|
-
import { BadgeButton } from "./components/badge-button.js";
|
|
6
|
+
import { t as Switch } from "./Switch-Ck_zSDuw.js";
|
|
7
|
+
import { t as Typography } from "./Typography-Ba5l4rmj.js";
|
|
8
|
+
import { t as Spinner } from "./Spinner-CFj5Iu77.js";
|
|
15
9
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
16
10
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
17
|
-
import { t as FormField } from "./FormField-
|
|
11
|
+
import { t as FormField } from "./FormField-DyqEbqx3.js";
|
|
18
12
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
19
13
|
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-
|
|
14
|
+
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-FE-F61iH.js";
|
|
15
|
+
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
16
|
+
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva--gCeAsRx.js";
|
|
21
17
|
import "./i18n-BjNKHh_D.js";
|
|
18
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-BrftXInI.js";
|
|
22
19
|
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-DyYxfwv6.js";
|
|
23
|
-
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
24
|
-
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-Cd7UUN61.js";
|
|
25
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-D7HUZLsP.js";
|
|
26
20
|
import { InputFrame } from "./components/input-frame.js";
|
|
27
|
-
import { memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
21
|
+
import { Suspense, lazy, memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
28
22
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
29
23
|
import { DateFormatter, GregorianCalendar, createCalendar, endOfMonth, endOfWeek, endOfYear, getLocalTimeZone, maxDate, minDate, startOfMonth, startOfWeek, startOfYear, toCalendar, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
|
|
30
24
|
import { useDateRangePicker, useLocale } from "react-aria";
|
|
31
|
-
import { useRangeCalendar } from "@react-aria/calendar";
|
|
32
25
|
import { useTranslation } from "react-i18next";
|
|
33
26
|
//#region ../../node_modules/.bun/react-stately@3.51.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/calendar/useRangeCalendarState.mjs
|
|
34
27
|
function $a0a87fb6fcfb22ec$export$9a987164d97ecc90(props) {
|
|
@@ -374,281 +367,24 @@ function $6de3e3f1a7663217$var$isCompleteRange(value) {
|
|
|
374
367
|
return value?.start != null && value.end != null;
|
|
375
368
|
}
|
|
376
369
|
//#endregion
|
|
377
|
-
//#region src/components/inputs/DateTime/shared/
|
|
378
|
-
const
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
const formatter = $1697a7ad3db7b79f$re_export$useDateFormatter({
|
|
384
|
-
month: "long",
|
|
385
|
-
timeZone: state.timeZone
|
|
386
|
-
});
|
|
387
|
-
const numMonths = state.focusedDate.calendar.getMonthsInYear(state.focusedDate);
|
|
388
|
-
const MONTHS = useMemo(() => {
|
|
389
|
-
const months = [];
|
|
390
|
-
for (let i = 1; i <= numMonths; i++) {
|
|
391
|
-
const date = state.focusedDate.set({ month: i });
|
|
392
|
-
months.push(formatter.format(date.toDate(state.timeZone)));
|
|
393
|
-
}
|
|
394
|
-
return months;
|
|
395
|
-
}, [
|
|
396
|
-
formatter,
|
|
397
|
-
numMonths,
|
|
398
|
-
state.focusedDate,
|
|
399
|
-
state.timeZone
|
|
400
|
-
]);
|
|
401
|
-
const years = Array.from({ length: 201 }, (_, i) => currentYear - 100 + i);
|
|
402
|
-
const getAvailableMonths = () => {
|
|
403
|
-
return MONTHS.map((month, i) => {
|
|
404
|
-
const monthDate = displayDate.set({ month: i + 1 });
|
|
405
|
-
let isDisabled = false;
|
|
406
|
-
if (maxDate) isDisabled = monthDate.year > maxDate.year || monthDate.year === maxDate.year && monthDate.month >= maxDate.month;
|
|
407
|
-
if (minDate) isDisabled = monthDate.year < minDate.year || monthDate.year === minDate.year && monthDate.month <= minDate.month;
|
|
408
|
-
return {
|
|
409
|
-
month,
|
|
410
|
-
value: i,
|
|
411
|
-
isDisabled
|
|
412
|
-
};
|
|
413
|
-
});
|
|
414
|
-
};
|
|
415
|
-
const getAvailableYears = () => {
|
|
416
|
-
return years.map((year) => {
|
|
417
|
-
let isDisabled = false;
|
|
418
|
-
if (maxDate) isDisabled = year > maxDate.year || year === maxDate.year && displayDate.month >= maxDate.month;
|
|
419
|
-
if (minDate && !isDisabled) isDisabled = year < minDate.year || year === minDate.year && displayDate.month <= minDate.month;
|
|
420
|
-
return {
|
|
421
|
-
year,
|
|
422
|
-
isDisabled
|
|
423
|
-
};
|
|
424
|
-
});
|
|
425
|
-
};
|
|
426
|
-
const availableMonths = getAvailableMonths();
|
|
427
|
-
const availableYears = getAvailableYears();
|
|
428
|
-
const handleMonthChange = (value) => {
|
|
429
|
-
if (value === null) return;
|
|
430
|
-
const newDate = displayDate.set({ month: value + 1 });
|
|
431
|
-
onNavigate?.(newDate);
|
|
432
|
-
};
|
|
433
|
-
const handleYearChange = (value) => {
|
|
434
|
-
if (value === null) return;
|
|
435
|
-
const newDate = displayDate.set({ year: value });
|
|
436
|
-
onNavigate?.(newDate);
|
|
437
|
-
};
|
|
438
|
-
const handlePrevMonth = (e) => {
|
|
439
|
-
e.preventDefault();
|
|
440
|
-
e.stopPropagation();
|
|
441
|
-
const newDate = displayDate.subtract({ months: 1 });
|
|
442
|
-
onNavigate?.(newDate);
|
|
443
|
-
};
|
|
444
|
-
const handleNextMonth = (e) => {
|
|
445
|
-
e.preventDefault();
|
|
446
|
-
e.stopPropagation();
|
|
447
|
-
const newDate = displayDate.add({ months: 1 });
|
|
448
|
-
onNavigate?.(newDate);
|
|
449
|
-
};
|
|
450
|
-
const handlePrevYear = (e) => {
|
|
451
|
-
e.preventDefault();
|
|
452
|
-
e.stopPropagation();
|
|
453
|
-
const newDate = displayDate.subtract({ years: 1 });
|
|
454
|
-
onNavigate?.(newDate);
|
|
455
|
-
};
|
|
456
|
-
const handleNextYear = (e) => {
|
|
457
|
-
e.preventDefault();
|
|
458
|
-
e.stopPropagation();
|
|
459
|
-
const newDate = displayDate.add({ years: 1 });
|
|
460
|
-
onNavigate?.(newDate);
|
|
461
|
-
};
|
|
462
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
463
|
-
className: "flex w-full items-center justify-between gap-3 border-border-default-subtle border-b border-solid px-3 py-2.5",
|
|
464
|
-
children: [
|
|
465
|
-
/* @__PURE__ */ jsxs("div", {
|
|
466
|
-
className: "flex items-center",
|
|
467
|
-
children: [/* @__PURE__ */ jsx(IconButton, {
|
|
468
|
-
color: "secondary",
|
|
469
|
-
isDisabled: isPrevYearDisabled,
|
|
470
|
-
onClick: handlePrevYear,
|
|
471
|
-
icon: ChevronsLeft,
|
|
472
|
-
label: t(($) => $.ui.datePicker.navigation.previousYear),
|
|
473
|
-
variant: "text",
|
|
474
|
-
width: "hug",
|
|
475
|
-
disableTooltip: true,
|
|
476
|
-
size: "sm"
|
|
477
|
-
}), /* @__PURE__ */ jsx(IconButton, {
|
|
478
|
-
color: "secondary",
|
|
479
|
-
isDisabled: isPrevMonthDisabled,
|
|
480
|
-
onClick: handlePrevMonth,
|
|
481
|
-
icon: ChevronLeft,
|
|
482
|
-
label: t(($) => $.ui.datePicker.navigation.previousMonth),
|
|
483
|
-
variant: "text",
|
|
484
|
-
width: "hug",
|
|
485
|
-
disableTooltip: true,
|
|
486
|
-
size: "sm"
|
|
487
|
-
})]
|
|
488
|
-
}),
|
|
489
|
-
/* @__PURE__ */ jsxs("div", {
|
|
490
|
-
className: "flex gap-2",
|
|
491
|
-
children: [/* @__PURE__ */ jsx(Select, {
|
|
492
|
-
label: "Month",
|
|
493
|
-
hideLabel: true,
|
|
494
|
-
customTrigger: /* @__PURE__ */ jsx(BadgeButton, {
|
|
495
|
-
color: "secondary",
|
|
496
|
-
variant: "subtle",
|
|
497
|
-
iconPosition: "right",
|
|
498
|
-
icon: ChevronDown,
|
|
499
|
-
children: MONTHS[currentMonth].slice(0, 3)
|
|
500
|
-
}),
|
|
501
|
-
ignoreTriggerWidth: true,
|
|
502
|
-
items: availableMonths.map(({ month, value, isDisabled }) => ({
|
|
503
|
-
label: month,
|
|
504
|
-
id: value,
|
|
505
|
-
isDisabled
|
|
506
|
-
})).filter(({ isDisabled }) => !isDisabled),
|
|
507
|
-
value: currentMonth,
|
|
508
|
-
onChange: handleMonthChange
|
|
509
|
-
}), /* @__PURE__ */ jsx(Select, {
|
|
510
|
-
label: "Year",
|
|
511
|
-
hideLabel: true,
|
|
512
|
-
customTrigger: /* @__PURE__ */ jsx(BadgeButton, {
|
|
513
|
-
color: "secondary",
|
|
514
|
-
variant: "subtle",
|
|
515
|
-
iconPosition: "right",
|
|
516
|
-
icon: ChevronDown,
|
|
517
|
-
children: currentYear.toString()
|
|
518
|
-
}),
|
|
519
|
-
items: availableYears.map(({ year, isDisabled }) => ({
|
|
520
|
-
label: year.toString(),
|
|
521
|
-
id: year,
|
|
522
|
-
isDisabled
|
|
523
|
-
})).filter(({ isDisabled }) => !isDisabled),
|
|
524
|
-
value: currentYear,
|
|
525
|
-
onChange: handleYearChange
|
|
526
|
-
})]
|
|
527
|
-
}),
|
|
528
|
-
/* @__PURE__ */ jsxs("div", {
|
|
529
|
-
className: "flex items-center",
|
|
530
|
-
children: [/* @__PURE__ */ jsx(IconButton, {
|
|
531
|
-
color: "secondary",
|
|
532
|
-
isDisabled: isNextMonthDisabled,
|
|
533
|
-
onClick: handleNextMonth,
|
|
534
|
-
icon: ChevronRight,
|
|
535
|
-
label: t(($) => $.ui.datePicker.navigation.nextMonth),
|
|
536
|
-
variant: "text",
|
|
537
|
-
width: "hug",
|
|
538
|
-
disableTooltip: true,
|
|
539
|
-
size: "sm"
|
|
540
|
-
}), /* @__PURE__ */ jsx(IconButton, {
|
|
541
|
-
color: "secondary",
|
|
542
|
-
isDisabled: isNextYearDisabled,
|
|
543
|
-
onClick: handleNextYear,
|
|
544
|
-
icon: ChevronsRight,
|
|
545
|
-
label: t(($) => $.ui.datePicker.navigation.nextYear),
|
|
546
|
-
variant: "text",
|
|
547
|
-
width: "hug",
|
|
548
|
-
disableTooltip: true,
|
|
549
|
-
size: "sm"
|
|
550
|
-
})]
|
|
551
|
-
})
|
|
552
|
-
]
|
|
553
|
-
});
|
|
554
|
-
};
|
|
555
|
-
//#endregion
|
|
556
|
-
//#region src/components/inputs/DateTime/shared/RangeCalendar.tsx
|
|
557
|
-
const RangeCalendar = ({ showWeekNumbers, className, leftCalendarState, rightCalendarState, calendarProps, onApply, onRangeChange: _onRangeChange, onDateSelection, onDateHover, rangeSelection, hoverDate, onKeyboardNavigation, isRangeSelectionDisabled }) => {
|
|
558
|
-
const leftRef = useRef(null);
|
|
559
|
-
const rightRef = useRef(null);
|
|
560
|
-
const { calendarProps: leftCalendarAriaProps } = useRangeCalendar(calendarProps, leftCalendarState, leftRef);
|
|
561
|
-
const { calendarProps: rightCalendarAriaProps } = useRangeCalendar(calendarProps, rightCalendarState, rightRef);
|
|
562
|
-
const leftDate = leftCalendarState.visibleRange.start;
|
|
563
|
-
const rightDate = rightCalendarState.visibleRange.start;
|
|
564
|
-
const handleLeftKeyboardNavigation = (event, date) => {
|
|
565
|
-
return onKeyboardNavigation?.(event, date, "left") ?? false;
|
|
566
|
-
};
|
|
567
|
-
const handleRightKeyboardNavigation = (event, date) => {
|
|
568
|
-
return onKeyboardNavigation?.(event, date, "right") ?? false;
|
|
569
|
-
};
|
|
570
|
-
const handleLeftNavigate = (newDate) => {
|
|
571
|
-
const rightCurrentDate = rightCalendarState.visibleRange.start;
|
|
572
|
-
if (newDate.year < rightCurrentDate.year || newDate.year === rightCurrentDate.year && newDate.month < rightCurrentDate.month) leftCalendarState.setFocusedDate(newDate);
|
|
573
|
-
else {
|
|
574
|
-
const closestValidDate = rightCurrentDate.subtract({ months: 1 });
|
|
575
|
-
leftCalendarState.setFocusedDate(closestValidDate);
|
|
576
|
-
}
|
|
577
|
-
};
|
|
578
|
-
const handleRightNavigate = (newDate) => {
|
|
579
|
-
const leftCurrentDate = leftCalendarState.visibleRange.start;
|
|
580
|
-
if (newDate.year > leftCurrentDate.year || newDate.year === leftCurrentDate.year && newDate.month > leftCurrentDate.month) rightCalendarState.setFocusedDate(newDate);
|
|
581
|
-
else {
|
|
582
|
-
const closestValidDate = leftCurrentDate.add({ months: 1 });
|
|
583
|
-
rightCalendarState.setFocusedDate(closestValidDate);
|
|
584
|
-
}
|
|
585
|
-
};
|
|
586
|
-
const isNextDisabled = useMemo(() => {
|
|
587
|
-
const leftNextDate = leftDate.add({ months: 1 });
|
|
588
|
-
return leftNextDate.year > rightDate.year || leftNextDate.year === rightDate.year && leftNextDate.month === rightDate.month;
|
|
589
|
-
}, [leftDate, rightDate]);
|
|
590
|
-
const isPrevDisabled = useMemo(() => {
|
|
591
|
-
const rightPrevDate = rightDate.subtract({ months: 1 });
|
|
592
|
-
return rightPrevDate.year < leftDate.year || rightPrevDate.year === leftDate.year && rightPrevDate.month === leftDate.month;
|
|
593
|
-
}, [leftDate, rightDate]);
|
|
594
|
-
return /* @__PURE__ */ jsx("div", {
|
|
595
|
-
className: clsx("flex flex-col items-center bg-surface-default-card", showWeekNumbers ? "w-full max-w-[336px] md:w-fit md:max-w-none" : "w-fit", className),
|
|
596
|
-
children: /* @__PURE__ */ jsxs("div", {
|
|
597
|
-
className: clsx("flex", showWeekNumbers && "w-full"),
|
|
598
|
-
children: [/* @__PURE__ */ jsxs("div", {
|
|
599
|
-
...leftCalendarAriaProps,
|
|
600
|
-
ref: leftRef,
|
|
601
|
-
className: clsx("flex flex-col items-center", showWeekNumbers && "w-full"),
|
|
602
|
-
children: [/* @__PURE__ */ jsx(CalendarSelectHeader, {
|
|
603
|
-
state: leftCalendarState,
|
|
604
|
-
isNextMonthDisabled: isNextDisabled,
|
|
605
|
-
isNextYearDisabled: isNextDisabled,
|
|
606
|
-
onNavigate: handleLeftNavigate,
|
|
607
|
-
maxDate: rightDate
|
|
608
|
-
}), /* @__PURE__ */ jsx(CalendarGrid, {
|
|
609
|
-
showWeekNumbers,
|
|
610
|
-
firstDayOfWeek: calendarProps.firstDayOfWeek,
|
|
611
|
-
state: leftCalendarState,
|
|
612
|
-
onApply,
|
|
613
|
-
shouldCloseOnSelect: false,
|
|
614
|
-
onDateSelection,
|
|
615
|
-
rangeSelection,
|
|
616
|
-
onDateHover,
|
|
617
|
-
hoverDate,
|
|
618
|
-
onKeyboardNavigation: handleLeftKeyboardNavigation,
|
|
619
|
-
className: clsx("h-64", showWeekNumbers ? "w-full md:w-[336px]!" : "w-[304px]!", isRangeSelectionDisabled && "pointer-events-none opacity-50"),
|
|
620
|
-
calendarSide: "left",
|
|
621
|
-
isSelectionDisabled: isRangeSelectionDisabled
|
|
622
|
-
})]
|
|
623
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
624
|
-
...rightCalendarAriaProps,
|
|
625
|
-
ref: rightRef,
|
|
626
|
-
className: "hidden flex-col items-center md:flex",
|
|
627
|
-
children: [/* @__PURE__ */ jsx(CalendarSelectHeader, {
|
|
628
|
-
state: rightCalendarState,
|
|
629
|
-
isPrevMonthDisabled: isPrevDisabled,
|
|
630
|
-
isPrevYearDisabled: isPrevDisabled,
|
|
631
|
-
onNavigate: handleRightNavigate,
|
|
632
|
-
minDate: leftDate
|
|
633
|
-
}), /* @__PURE__ */ jsx(CalendarGrid, {
|
|
634
|
-
showWeekNumbers,
|
|
635
|
-
firstDayOfWeek: calendarProps.firstDayOfWeek,
|
|
636
|
-
state: rightCalendarState,
|
|
637
|
-
onApply,
|
|
638
|
-
shouldCloseOnSelect: false,
|
|
639
|
-
onDateSelection,
|
|
640
|
-
rangeSelection,
|
|
641
|
-
onDateHover,
|
|
642
|
-
hoverDate,
|
|
643
|
-
onKeyboardNavigation: handleRightKeyboardNavigation,
|
|
644
|
-
className: clsx("h-64", showWeekNumbers ? "w-full md:w-[336px]!" : "w-[304px]!", isRangeSelectionDisabled && "pointer-events-none opacity-50"),
|
|
645
|
-
calendarSide: "right",
|
|
646
|
-
isSelectionDisabled: isRangeSelectionDisabled
|
|
647
|
-
})]
|
|
648
|
-
})]
|
|
649
|
-
})
|
|
650
|
-
});
|
|
370
|
+
//#region src/components/inputs/DateTime/shared/RangeCalendar.lazy.tsx
|
|
371
|
+
const loadRangeCalendar = () => import("./RangeCalendar-CXLwzK5Z.js");
|
|
372
|
+
const RangeCalendarRenderer = lazy(() => loadRangeCalendar().then(({ RangeCalendar }) => ({ default: RangeCalendar })));
|
|
373
|
+
/** Fetches the range calendar chunk ahead of the dialog opening (hover, focus). */
|
|
374
|
+
const preloadRangeCalendar = () => {
|
|
375
|
+
loadRangeCalendar();
|
|
651
376
|
};
|
|
377
|
+
/**
|
|
378
|
+
* Range calendar that only loads its two grids when the range picker dialog opens.
|
|
379
|
+
* The fallback reserves the size of both grids on desktop and one grid on mobile.
|
|
380
|
+
*/
|
|
381
|
+
const RangeCalendar = (props) => /* @__PURE__ */ jsx(Suspense, {
|
|
382
|
+
fallback: /* @__PURE__ */ jsx("div", {
|
|
383
|
+
className: "flex h-72 w-[304px] items-center justify-center md:w-[608px]",
|
|
384
|
+
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
385
|
+
}),
|
|
386
|
+
children: /* @__PURE__ */ jsx(RangeCalendarRenderer, { ...props })
|
|
387
|
+
});
|
|
652
388
|
//#endregion
|
|
653
389
|
//#region src/components/inputs/DateTime/DateRangePicker/dateRangePreset.utils.ts
|
|
654
390
|
const dateRangePresetValues = [
|
|
@@ -1353,6 +1089,8 @@ const DateRangePickerBase = (props) => {
|
|
|
1353
1089
|
labelProps,
|
|
1354
1090
|
className: clsx("group relative flex w-full flex-col text-left", className),
|
|
1355
1091
|
tabIndex: as === "inline" ? -1 : void 0,
|
|
1092
|
+
onMouseEnter: preloadRangeCalendar,
|
|
1093
|
+
onFocusCapture: preloadRangeCalendar,
|
|
1356
1094
|
children: [/* @__PURE__ */ jsx(DatePickerInput, {
|
|
1357
1095
|
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, datePickerInputRef),
|
|
1358
1096
|
as,
|
|
@@ -1417,16 +1155,16 @@ const DateRangePickerBase = (props) => {
|
|
|
1417
1155
|
}), /* @__PURE__ */ jsx(DateTimeDialog, {
|
|
1418
1156
|
hideSidebar,
|
|
1419
1157
|
sidebar: /* @__PURE__ */ jsxs("div", {
|
|
1420
|
-
className: "flex w-full flex-row overflow-auto border-border
|
|
1158
|
+
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
1159
|
children: [enableRelativeMode && /* @__PURE__ */ jsx(Switch, {
|
|
1422
1160
|
isSelected: mode === "relative",
|
|
1423
1161
|
onChange: onModeChange,
|
|
1424
|
-
className: "shrink-0 px-2 py-2 md:px-
|
|
1162
|
+
className: "shrink-0 px-2 py-2 md:px-2",
|
|
1425
1163
|
children: t(($) => $.ui.datePicker.relativeMode, { ns: "ui" })
|
|
1426
1164
|
}), presets.map((preset) => /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
1427
1165
|
isDisabled: preset.isDisabled,
|
|
1428
1166
|
onClick: () => selectPreset(preset),
|
|
1429
|
-
className: clsx("w-full px-2 py-1 text-left md:px-
|
|
1167
|
+
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
1168
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
1431
1169
|
size: "small",
|
|
1432
1170
|
sizeMobile: "small",
|
|
@@ -1622,7 +1360,7 @@ const DateRangePickerInner = ({ fullIso = true, minValue, maxValue, renderStatic
|
|
|
1622
1360
|
},
|
|
1623
1361
|
isDisabled,
|
|
1624
1362
|
className: clsx("group relative flex w-full flex-col text-left", props.className),
|
|
1625
|
-
inputClassName: clsx("min-w-
|
|
1363
|
+
inputClassName: clsx("min-w-51", props.inputClassName),
|
|
1626
1364
|
contentClassName: "pr-0!",
|
|
1627
1365
|
contentWrapperClassName: datePickerInputContentRowCva({ size }),
|
|
1628
1366
|
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-4CrjSCAx.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 {
|
|
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, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, s as DateTimeDialog } 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, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, s as DateTimeDialog } 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, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -190,6 +190,8 @@ const DateTimePickerBase = (props) => {
|
|
|
190
190
|
labelProps,
|
|
191
191
|
className: "group relative flex w-full flex-col text-left",
|
|
192
192
|
tabIndex: as === "inline" ? -1 : void 0,
|
|
193
|
+
onMouseEnter: preloadCalendar,
|
|
194
|
+
onFocusCapture: preloadCalendar,
|
|
193
195
|
children: [/* @__PURE__ */ jsx(DatePickerInput, {
|
|
194
196
|
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, datePickerInputRef),
|
|
195
197
|
as,
|
|
@@ -331,7 +333,7 @@ const DateTimePickerInner = ({ defaultValue: _defaultValue, renderStaticInput, i
|
|
|
331
333
|
},
|
|
332
334
|
isDisabled,
|
|
333
335
|
className: clsx("group relative flex w-full flex-col text-left", props.className),
|
|
334
|
-
inputClassName: clsx(props.shouldShrinkInput ? "min-w-0" : "min-w-
|
|
336
|
+
inputClassName: clsx(props.shouldShrinkInput ? "min-w-0" : "min-w-51", props.inputClassName),
|
|
335
337
|
contentClassName: "pr-0!",
|
|
336
338
|
contentWrapperClassName: datePickerInputContentRowCva({ size }),
|
|
337
339
|
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-CtU096IU.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
|
})
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
2
|
-
import { r as MenuItem, t as DropdownMenuDesktop } from "./DropdownMenuDesktop-
|
|
2
|
+
import { r as MenuItem, t as DropdownMenuDesktop } from "./DropdownMenuDesktop-BMkiHEuY.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
5
|
-
import { t as IconSlot } from "./IconSlot-
|
|
5
|
+
import { t as IconSlot } from "./IconSlot-Cuvpj1gd.js";
|
|
6
6
|
import { s as $49319ee1285aa241$export$d9b273488cd8ce6f } from "./Dialog-lFYX-7Ax.js";
|
|
7
7
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-C1YB5dOw.js";
|
|
8
|
-
import { n as menuItemDefinition, t as dropdownMenuDefinition } from "./dropdownMenu.cva-
|
|
8
|
+
import { n as menuItemDefinition, t as dropdownMenuDefinition } from "./dropdownMenu.cva-CS5Q2b_3.js";
|
|
9
9
|
import { BottomSheet } from "./components/bottom-sheet.js";
|
|
10
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
10
|
+
import { t as useBreakpoint } from "./useBreakpoint-DOUmXVZ2.js";
|
|
11
11
|
import { useRef, useState } from "react";
|
|
12
12
|
import { c } from "react/compiler-runtime";
|
|
13
13
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as MenuPopoverWrapperVariantProps, h as MenuPopoverVariantProps, m as MenuItemVariantProps, p as DropdownMenuCvaVariantProps } from "./style-definitions-
|
|
2
|
-
import { t as BottomSheetProps } from "./BottomSheet-
|
|
1
|
+
import { g as MenuPopoverWrapperVariantProps, h as MenuPopoverVariantProps, m as MenuItemVariantProps, p as DropdownMenuCvaVariantProps } from "./style-definitions-DzsmGccZ.js";
|
|
2
|
+
import { t as BottomSheetProps } from "./BottomSheet-C-jdDmO7.js";
|
|
3
3
|
import { ReactElement } from "react";
|
|
4
4
|
import { Key, MenuItemProps } from "react-aria-components";
|
|
5
5
|
import { Placement } from "react-aria";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
3
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
4
|
-
import { t as IconSlot } from "./IconSlot-
|
|
4
|
+
import { t as IconSlot } from "./IconSlot-Cuvpj1gd.js";
|
|
5
5
|
import { a as $49319ee1285aa241$export$27d2ad3c5815583e, c as $49319ee1285aa241$export$ecabc99eeffab7ca, l as $542a13ca2fa5b484$export$5b6b19405a83ff9d, o as $49319ee1285aa241$export$2ce376c2cc3355c8, s as $49319ee1285aa241$export$d9b273488cd8ce6f } from "./Dialog-lFYX-7Ax.js";
|
|
6
|
-
import { i as menuPopoverWrapperDefinition, n as menuItemDefinition, r as menuPopoverDefinition, t as dropdownMenuDefinition } from "./dropdownMenu.cva-
|
|
6
|
+
import { i as menuPopoverWrapperDefinition, n as menuItemDefinition, r as menuPopoverDefinition, t as dropdownMenuDefinition } from "./dropdownMenu.cva-CS5Q2b_3.js";
|
|
7
7
|
import { t as popoverAnimationClassName } from "./popoverAnimation-DEZSvKP8.js";
|
|
8
8
|
import { useRef } from "react";
|
|
9
9
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-Dmev7iRS.js";
|
|
2
|
-
import "./style-definitions-
|
|
3
|
-
import "./button.cva-
|
|
4
|
-
import { n as FormFieldProps } from "./FormField-
|
|
5
|
-
import { t as InputSizeProps } from "./input.cva-
|
|
2
|
+
import "./style-definitions-DzsmGccZ.js";
|
|
3
|
+
import "./button.cva-YpNNY6C-.js";
|
|
4
|
+
import { n as FormFieldProps } from "./FormField-BsR2Cjxm.js";
|
|
5
|
+
import { t as InputSizeProps } from "./input.cva-CEFEpKml.js";
|
|
6
6
|
import { FocusEventHandler, Ref } from "react";
|
|
7
7
|
import { DropZoneProps, FileTriggerProps } from "react-aria-components";
|
|
8
8
|
import { ClassProp } from "class-variance-authority/types";
|
|
@@ -22,8 +22,8 @@ declare const fileInputDropZoneDefinition: {
|
|
|
22
22
|
base: string[];
|
|
23
23
|
config: StyleMergeUtils.Config<{
|
|
24
24
|
readonly variant: {
|
|
25
|
-
default: ["rounded-
|
|
26
|
-
nested: ["rounded-
|
|
25
|
+
default: ["rounded-md border border-input border-solid bg-transparent shadow-xs dark:bg-input/30"];
|
|
26
|
+
nested: ["rounded-md border border-input border-solid bg-transparent shadow-xs dark:bg-input/30"];
|
|
27
27
|
};
|
|
28
28
|
}>;
|
|
29
29
|
};
|