@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
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
import { t as Check } from "./check-DYMBkp_Z.js";
|
|
2
|
+
import { t as CheckboxCheckmark } from "./CheckboxCheckmark-C4yFclkZ.js";
|
|
3
|
+
import { c as LoadingItemId, o as SelectContext } from "./Select-DbZOJ-0u.js";
|
|
4
|
+
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
5
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
6
|
+
import { m as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5, p as $263ab7fc0f95ccdb$export$2dbbd341daed716d } from "./Dialog-lFYX-7Ax.js";
|
|
7
|
+
import { i as $928221da08ecbc62$export$a11e76429ed99b4, t as $928221da08ecbc62$export$41f133550aa26f48 } from "./ListBox-CoUk0kkt.js";
|
|
8
|
+
import { n as $a3be900807531178$re_export$ListLayout, r as $a3be900807531178$re_export$Rect } from "./exports-BNrTn8Tj.js";
|
|
9
|
+
import { t as Spinner } from "./Spinner-CFj5Iu77.js";
|
|
10
|
+
import "./i18n-BjNKHh_D.js";
|
|
11
|
+
import { t as selectListBoxItemDefinition } from "./selectItem.cva-Ch6oK4jP.js";
|
|
12
|
+
import { t as useIntersectionObserver } from "./useIntersectionObserver-DYfHnGGU.js";
|
|
13
|
+
import $ahdqC$react, { createContext, useCallback, useContext, useLayoutEffect, useMemo, useRef } from "react";
|
|
14
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
+
import { useVirtualizerState } from "react-stately/useVirtualizerState";
|
|
16
|
+
import { useScrollView } from "react-aria/private/virtualizer/ScrollView";
|
|
17
|
+
import { VirtualizerItem } from "react-aria/private/virtualizer/VirtualizerItem";
|
|
18
|
+
import { useTranslation } from "react-i18next";
|
|
19
|
+
//#region ../../node_modules/.bun/react-aria-components@1.22.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/Virtualizer.mjs
|
|
20
|
+
const $143fb904d86051ce$var$VirtualizerContext = /*#__PURE__*/ createContext(null);
|
|
21
|
+
const $143fb904d86051ce$var$VirtualizerOptionsContext = /*#__PURE__*/ createContext(null);
|
|
22
|
+
function $143fb904d86051ce$export$89be5a243e59c4b2(props) {
|
|
23
|
+
let { children, layout: layoutProp, layoutOptions, shouldObserveItemSize } = props;
|
|
24
|
+
let layout = useMemo(() => typeof layoutProp === "function" ? new layoutProp() : layoutProp, [layoutProp]);
|
|
25
|
+
let renderer = useMemo(() => ({
|
|
26
|
+
isVirtualized: true,
|
|
27
|
+
layoutDelegate: layout,
|
|
28
|
+
dropTargetDelegate: layout.getDropTargetFromPoint ? layout : void 0,
|
|
29
|
+
CollectionRoot: $143fb904d86051ce$var$CollectionRoot,
|
|
30
|
+
CollectionBranch: $143fb904d86051ce$var$CollectionBranch
|
|
31
|
+
}), [layout]);
|
|
32
|
+
return /*#__PURE__*/ $ahdqC$react.createElement($263ab7fc0f95ccdb$export$4feb769f8ddf26c5.Provider, { value: renderer }, /*#__PURE__*/ $ahdqC$react.createElement($143fb904d86051ce$var$VirtualizerOptionsContext.Provider, { value: {
|
|
33
|
+
layout,
|
|
34
|
+
layoutOptions,
|
|
35
|
+
shouldObserveItemSize
|
|
36
|
+
} }, children));
|
|
37
|
+
}
|
|
38
|
+
function $143fb904d86051ce$var$CollectionRoot({ collection, persistedKeys, scrollRef, renderDropIndicator }) {
|
|
39
|
+
let { layout, layoutOptions, shouldObserveItemSize } = useContext($143fb904d86051ce$var$VirtualizerOptionsContext);
|
|
40
|
+
let layoutOptions2 = layout.useLayoutOptions?.();
|
|
41
|
+
let state = useVirtualizerState({
|
|
42
|
+
allowsWindowScrolling: true,
|
|
43
|
+
layout,
|
|
44
|
+
collection,
|
|
45
|
+
renderView: (type, item) => {
|
|
46
|
+
return item?.render?.(item);
|
|
47
|
+
},
|
|
48
|
+
onVisibleRectChange(rect) {
|
|
49
|
+
let element = scrollRef?.current;
|
|
50
|
+
if (element) {
|
|
51
|
+
element.scrollLeft = rect.x;
|
|
52
|
+
element.scrollTop = rect.y;
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
persistedKeys,
|
|
56
|
+
layoutOptions: useMemo(() => layoutOptions && layoutOptions2 ? {
|
|
57
|
+
...layoutOptions,
|
|
58
|
+
...layoutOptions2
|
|
59
|
+
} : layoutOptions || layoutOptions2, [layoutOptions, layoutOptions2])
|
|
60
|
+
});
|
|
61
|
+
let { contentProps } = useScrollView({
|
|
62
|
+
onVisibleRectChange: state.setVisibleRect,
|
|
63
|
+
onSizeChange: state.setSize,
|
|
64
|
+
contentSize: state.contentSize,
|
|
65
|
+
onScrollStart: state.startScrolling,
|
|
66
|
+
onScrollEnd: state.endScrolling,
|
|
67
|
+
allowsWindowScrolling: true
|
|
68
|
+
}, scrollRef);
|
|
69
|
+
return /*#__PURE__*/ $ahdqC$react.createElement("div", contentProps, /*#__PURE__*/ $ahdqC$react.createElement($143fb904d86051ce$var$VirtualizerContext.Provider, { value: state }, $143fb904d86051ce$var$renderChildren(null, state.visibleViews, renderDropIndicator, shouldObserveItemSize)));
|
|
70
|
+
}
|
|
71
|
+
function $143fb904d86051ce$var$CollectionBranch({ parent, renderDropIndicator }) {
|
|
72
|
+
let parentView = useContext($143fb904d86051ce$var$VirtualizerContext).virtualizer.getVisibleView(parent.key);
|
|
73
|
+
let { shouldObserveItemSize } = useContext($143fb904d86051ce$var$VirtualizerOptionsContext);
|
|
74
|
+
return $143fb904d86051ce$var$renderChildren(parentView, Array.from(parentView.children), renderDropIndicator, shouldObserveItemSize);
|
|
75
|
+
}
|
|
76
|
+
function $143fb904d86051ce$var$renderChildren(parent, children, renderDropIndicator, shouldObserveItemSize) {
|
|
77
|
+
return children.map((view) => $143fb904d86051ce$var$renderWrapper(parent, view, renderDropIndicator, shouldObserveItemSize));
|
|
78
|
+
}
|
|
79
|
+
function $143fb904d86051ce$var$renderWrapper(parent, reusableView, renderDropIndicator, shouldObserveItemSize) {
|
|
80
|
+
let rendered = /*#__PURE__*/ $ahdqC$react.createElement(VirtualizerItem, {
|
|
81
|
+
key: reusableView.key,
|
|
82
|
+
layoutInfo: reusableView.layoutInfo,
|
|
83
|
+
virtualizer: reusableView.virtualizer,
|
|
84
|
+
parent: parent?.layoutInfo,
|
|
85
|
+
shouldObserveItemSize
|
|
86
|
+
}, reusableView.rendered);
|
|
87
|
+
let { collection, layout } = reusableView.virtualizer;
|
|
88
|
+
let node = reusableView.content;
|
|
89
|
+
if (node?.type === "item" && renderDropIndicator && layout.getDropTargetLayoutInfo) rendered = /*#__PURE__*/ $ahdqC$react.createElement($ahdqC$react.Fragment, { key: reusableView.key }, $143fb904d86051ce$var$renderDropIndicatorWrapper(parent, reusableView, {
|
|
90
|
+
type: "item",
|
|
91
|
+
key: reusableView.content.key,
|
|
92
|
+
dropPosition: "before"
|
|
93
|
+
}, renderDropIndicator), rendered, $263ab7fc0f95ccdb$export$2dbbd341daed716d(collection, node, (target) => $143fb904d86051ce$var$renderDropIndicatorWrapper(parent, reusableView, target, renderDropIndicator)));
|
|
94
|
+
return rendered;
|
|
95
|
+
}
|
|
96
|
+
function $143fb904d86051ce$var$renderDropIndicatorWrapper(parent, reusableView, target, renderDropIndicator) {
|
|
97
|
+
let indicator = renderDropIndicator(target);
|
|
98
|
+
if (indicator) {
|
|
99
|
+
let layoutInfo = reusableView.virtualizer.layout.getDropTargetLayoutInfo(target);
|
|
100
|
+
indicator = /*#__PURE__*/ $ahdqC$react.createElement(VirtualizerItem, {
|
|
101
|
+
layoutInfo,
|
|
102
|
+
virtualizer: reusableView.virtualizer,
|
|
103
|
+
parent: parent?.layoutInfo
|
|
104
|
+
}, indicator);
|
|
105
|
+
}
|
|
106
|
+
return indicator;
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region src/components/inputs/Selection/shared/SelectListBoxItem.tsx
|
|
110
|
+
const SelectListBoxItem = ({ isSearchable, isNewItem, newItemRender, id, label, content, isDisabled }) => {
|
|
111
|
+
const selectListItemCva = UIOverrides.useCva("select.listBoxItemCva", selectListBoxItemDefinition);
|
|
112
|
+
const ref = useRef(null);
|
|
113
|
+
const { t } = useTranslation("ui");
|
|
114
|
+
const { selectedIds, isMultiple } = SelectContext.useSelect();
|
|
115
|
+
const itemContent = useMemo(() => {
|
|
116
|
+
if (isNewItem) return newItemRender?.(label) ?? `${t(($) => $.ui.autocomplete.createNewBtn)} '${label}'`;
|
|
117
|
+
return content ?? label;
|
|
118
|
+
}, [
|
|
119
|
+
isNewItem,
|
|
120
|
+
newItemRender,
|
|
121
|
+
label,
|
|
122
|
+
content,
|
|
123
|
+
t
|
|
124
|
+
]);
|
|
125
|
+
return /* @__PURE__ */ jsxs($928221da08ecbc62$export$a11e76429ed99b4, {
|
|
126
|
+
ref,
|
|
127
|
+
id,
|
|
128
|
+
textValue: label,
|
|
129
|
+
isDisabled,
|
|
130
|
+
className: selectListItemCva({
|
|
131
|
+
isSingle: !isMultiple,
|
|
132
|
+
isNewItem
|
|
133
|
+
}),
|
|
134
|
+
children: [
|
|
135
|
+
isMultiple && !isSearchable && /* @__PURE__ */ jsx(CheckboxCheckmark, {
|
|
136
|
+
variant: "default",
|
|
137
|
+
className: "group-focus-visible:outline-none!"
|
|
138
|
+
}),
|
|
139
|
+
isMultiple && isSearchable && /* @__PURE__ */ jsx("div", {
|
|
140
|
+
className: "group",
|
|
141
|
+
"data-rac": "",
|
|
142
|
+
"data-selected": selectedIds.includes(id) || void 0,
|
|
143
|
+
children: /* @__PURE__ */ jsx(CheckboxCheckmark, {
|
|
144
|
+
variant: "default",
|
|
145
|
+
className: "group-focus-visible:outline-none!"
|
|
146
|
+
})
|
|
147
|
+
}),
|
|
148
|
+
itemContent,
|
|
149
|
+
!isMultiple && /* @__PURE__ */ jsx("span", {
|
|
150
|
+
"aria-hidden": true,
|
|
151
|
+
className: "pointer-events-none absolute right-2 flex size-3.5 items-center justify-center opacity-0 group-selected:opacity-100",
|
|
152
|
+
children: /* @__PURE__ */ jsx(Check, { className: "size-4" })
|
|
153
|
+
})
|
|
154
|
+
]
|
|
155
|
+
});
|
|
156
|
+
};
|
|
157
|
+
//#endregion
|
|
158
|
+
//#region src/components/inputs/Selection/shared/SelectListBoxItemSelectAll.tsx
|
|
159
|
+
const SelectListBoxItemSelectAll = ({ id, label, isDisabled }) => {
|
|
160
|
+
const selectListItemCva = UIOverrides.useCva("select.listBoxItemCva", selectListBoxItemDefinition);
|
|
161
|
+
const ref = useRef(null);
|
|
162
|
+
const { t } = useTranslation("ui");
|
|
163
|
+
const { selectableListItems, selectedIds } = SelectContext.useSelect();
|
|
164
|
+
return /* @__PURE__ */ jsxs($928221da08ecbc62$export$a11e76429ed99b4, {
|
|
165
|
+
ref,
|
|
166
|
+
id,
|
|
167
|
+
textValue: label || t(($) => $.ui.select.allOption),
|
|
168
|
+
isDisabled,
|
|
169
|
+
className: selectListItemCva({}),
|
|
170
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
171
|
+
className: "group",
|
|
172
|
+
"data-rac": "",
|
|
173
|
+
"data-selected": selectedIds.length === selectableListItems.length || void 0,
|
|
174
|
+
"data-indeterminate": selectedIds.length > 0 && selectedIds.length < selectableListItems.length || void 0,
|
|
175
|
+
children: /* @__PURE__ */ jsx(CheckboxCheckmark, {
|
|
176
|
+
variant: "default",
|
|
177
|
+
className: "group-focus-visible:outline-none!"
|
|
178
|
+
})
|
|
179
|
+
}), t(($) => $.ui.select.allOption)]
|
|
180
|
+
});
|
|
181
|
+
};
|
|
182
|
+
//#endregion
|
|
183
|
+
//#region src/components/inputs/Selection/shared/SelectListBoxLoadingItem.tsx
|
|
184
|
+
const SelectListBoxLoadingItem = ({ id, label, onLoadMore }) => {
|
|
185
|
+
const selectListItemCva = UIOverrides.useCva("select.listBoxItemCva", selectListBoxItemDefinition);
|
|
186
|
+
const { t } = useTranslation("ui");
|
|
187
|
+
const { isDebouncing, isLoading, hasLoadMore } = SelectContext.useSelect();
|
|
188
|
+
const onIntersection = useCallback(() => {
|
|
189
|
+
if (!isDebouncing && !isLoading && hasLoadMore) onLoadMore?.();
|
|
190
|
+
}, [
|
|
191
|
+
isDebouncing,
|
|
192
|
+
isLoading,
|
|
193
|
+
hasLoadMore,
|
|
194
|
+
onLoadMore
|
|
195
|
+
]);
|
|
196
|
+
const { ref } = useIntersectionObserver({
|
|
197
|
+
onIntersection,
|
|
198
|
+
rootMargin: "40px"
|
|
199
|
+
});
|
|
200
|
+
return /* @__PURE__ */ jsx($928221da08ecbc62$export$a11e76429ed99b4, {
|
|
201
|
+
id,
|
|
202
|
+
textValue: label || t(($) => $.ui.loadingState.text),
|
|
203
|
+
isDisabled: true,
|
|
204
|
+
className: selectListItemCva({}),
|
|
205
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
206
|
+
ref,
|
|
207
|
+
className: "flex flex-1 justify-center text-muted-foreground",
|
|
208
|
+
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
209
|
+
})
|
|
210
|
+
});
|
|
211
|
+
};
|
|
212
|
+
//#endregion
|
|
213
|
+
//#region src/components/inputs/Selection/shared/SelectListBox.tsx
|
|
214
|
+
var ReversedListLayout = class extends $a3be900807531178$re_export$ListLayout {
|
|
215
|
+
reverseLayoutInfo(layoutInfo) {
|
|
216
|
+
const reversedLayoutInfo = layoutInfo.copy();
|
|
217
|
+
reversedLayoutInfo.rect.y = this.getContentSize().height - reversedLayoutInfo.rect.maxY;
|
|
218
|
+
return reversedLayoutInfo;
|
|
219
|
+
}
|
|
220
|
+
getLayoutInfo(key) {
|
|
221
|
+
const layoutInfo = super.getLayoutInfo(key);
|
|
222
|
+
return layoutInfo ? this.reverseLayoutInfo(layoutInfo) : null;
|
|
223
|
+
}
|
|
224
|
+
getVisibleLayoutInfos(rect) {
|
|
225
|
+
const mirroredRect = new $a3be900807531178$re_export$Rect(rect.x, Math.max(0, this.getContentSize().height - rect.maxY), rect.width, rect.height);
|
|
226
|
+
return super.getVisibleLayoutInfos(mirroredRect).map((layoutInfo) => this.reverseLayoutInfo(layoutInfo));
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true, isReversed = false, virtualizerOptions, totalItems, newItemRender, onLoadMore, className, onClose, ...props }) => {
|
|
230
|
+
const { fieldState, onChange, listItems, selectableListItems, selectedIds, isMultiple, onClear, onSelectAll, hasLoadMore, isLoading } = SelectContext.useSelect();
|
|
231
|
+
const listBoxRef = useRef(null);
|
|
232
|
+
const hasRequestedAtTopRef = useRef(false);
|
|
233
|
+
const isReverseScrollAnchoredRef = useRef(!isReversed);
|
|
234
|
+
const reverseScrollBottomOffsetRef = useRef(0);
|
|
235
|
+
const previousLoadedItemIdsRef = useRef([]);
|
|
236
|
+
const shouldVirtualize = !!virtualizerOptions || (totalItems ?? listItems.length) > 100 || hasLoadMore;
|
|
237
|
+
const usesReversedLayout = isReversed && isSearchable && shouldVirtualize;
|
|
238
|
+
const displayedListItems = isReversed && !usesReversedLayout ? listItems.toReversed() : listItems;
|
|
239
|
+
const loadedItemIds = useMemo(() => listItems.filter((item) => item.id !== LoadingItemId).map((item) => item.id), [listItems]);
|
|
240
|
+
const loadMoreResetKey = loadedItemIds.join("\0");
|
|
241
|
+
useLayoutEffect(() => {
|
|
242
|
+
hasRequestedAtTopRef.current = false;
|
|
243
|
+
}, [loadMoreResetKey]);
|
|
244
|
+
useLayoutEffect(() => {
|
|
245
|
+
const previousLoadedItemIds = previousLoadedItemIdsRef.current;
|
|
246
|
+
const preservesExistingItems = previousLoadedItemIds.length > 0 && previousLoadedItemIds.every((itemId, index) => loadedItemIds[index] === itemId);
|
|
247
|
+
previousLoadedItemIdsRef.current = loadedItemIds;
|
|
248
|
+
if (!preservesExistingItems) reverseScrollBottomOffsetRef.current = 0;
|
|
249
|
+
const listBox = listBoxRef.current;
|
|
250
|
+
if (!listBox) {
|
|
251
|
+
isReverseScrollAnchoredRef.current = true;
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
if (!isReversed) {
|
|
255
|
+
listBox.scrollTop = 0;
|
|
256
|
+
isReverseScrollAnchoredRef.current = true;
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
isReverseScrollAnchoredRef.current = false;
|
|
260
|
+
const finishAnchoring = () => {
|
|
261
|
+
if (listBox.scrollHeight <= listBox.clientHeight) return false;
|
|
262
|
+
listBox.scrollTop = listBox.scrollHeight - listBox.clientHeight - reverseScrollBottomOffsetRef.current;
|
|
263
|
+
isReverseScrollAnchoredRef.current = true;
|
|
264
|
+
return true;
|
|
265
|
+
};
|
|
266
|
+
let scrollFrame = requestAnimationFrame(() => {
|
|
267
|
+
scrollFrame = requestAnimationFrame(() => {
|
|
268
|
+
if (!finishAnchoring()) isReverseScrollAnchoredRef.current = true;
|
|
269
|
+
});
|
|
270
|
+
});
|
|
271
|
+
return () => {
|
|
272
|
+
cancelAnimationFrame(scrollFrame);
|
|
273
|
+
reverseScrollBottomOffsetRef.current = listBox.scrollHeight - listBox.clientHeight - listBox.scrollTop;
|
|
274
|
+
};
|
|
275
|
+
}, [
|
|
276
|
+
isReversed,
|
|
277
|
+
loadMoreResetKey,
|
|
278
|
+
loadedItemIds
|
|
279
|
+
]);
|
|
280
|
+
const onSelectionChange = (value) => {
|
|
281
|
+
const ids = Array.from(value);
|
|
282
|
+
if (!isMultiple && ids.length === 0) {
|
|
283
|
+
if (fieldState.value) {
|
|
284
|
+
onClose?.();
|
|
285
|
+
onChange(fieldState.value);
|
|
286
|
+
}
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
if (isMultiple && ids.includes("all-item-id")) {
|
|
290
|
+
if (ids.length > selectableListItems.length) onClear();
|
|
291
|
+
else onSelectAll();
|
|
292
|
+
return;
|
|
293
|
+
}
|
|
294
|
+
if (isMultiple) onChange(ids);
|
|
295
|
+
else {
|
|
296
|
+
onClose?.();
|
|
297
|
+
onChange(ids[0]);
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
const requestLoadMore = useCallback(() => {
|
|
301
|
+
if (isLoading) return;
|
|
302
|
+
if (isReversed && (!isReverseScrollAnchoredRef.current || (listBoxRef.current?.scrollTop ?? 0) > 1 || hasRequestedAtTopRef.current)) return;
|
|
303
|
+
if (isReversed) hasRequestedAtTopRef.current = true;
|
|
304
|
+
onLoadMore?.();
|
|
305
|
+
}, [
|
|
306
|
+
isLoading,
|
|
307
|
+
isReversed,
|
|
308
|
+
onLoadMore
|
|
309
|
+
]);
|
|
310
|
+
const onScroll = (event) => {
|
|
311
|
+
if (!isReversed || !hasLoadMore || !isReverseScrollAnchoredRef.current) return;
|
|
312
|
+
if (event.currentTarget.scrollTop > 48) hasRequestedAtTopRef.current = false;
|
|
313
|
+
else requestLoadMore();
|
|
314
|
+
};
|
|
315
|
+
const renderItem = (item) => {
|
|
316
|
+
if (item.isSelectAllItem) return /* @__PURE__ */ jsx(SelectListBoxItemSelectAll, { ...item }, item.id);
|
|
317
|
+
if (item.isLoadingItem) return /* @__PURE__ */ jsx(SelectListBoxLoadingItem, {
|
|
318
|
+
...item,
|
|
319
|
+
onLoadMore: requestLoadMore
|
|
320
|
+
}, item.id);
|
|
321
|
+
return /* @__PURE__ */ jsx(SelectListBoxItem, {
|
|
322
|
+
...item,
|
|
323
|
+
isSearchable,
|
|
324
|
+
isNewItem: item.isNewItem,
|
|
325
|
+
newItemRender
|
|
326
|
+
}, item.id);
|
|
327
|
+
};
|
|
328
|
+
if (shouldVirtualize) return /* @__PURE__ */ jsx($143fb904d86051ce$export$89be5a243e59c4b2, {
|
|
329
|
+
layout: usesReversedLayout ? ReversedListLayout : $a3be900807531178$re_export$ListLayout,
|
|
330
|
+
layoutOptions: virtualizerOptions,
|
|
331
|
+
children: /* @__PURE__ */ jsx($928221da08ecbc62$export$41f133550aa26f48, {
|
|
332
|
+
ref: listBoxRef,
|
|
333
|
+
...props,
|
|
334
|
+
"aria-label": label,
|
|
335
|
+
selectionMode,
|
|
336
|
+
className: clsx("flex-1 p-1 outline-none", isScrollable ? "max-h-full overflow-y-auto overflow-x-hidden" : "overflow-hidden", className),
|
|
337
|
+
items: displayedListItems,
|
|
338
|
+
selectedKeys: selectedIds,
|
|
339
|
+
onSelectionChange,
|
|
340
|
+
onScroll,
|
|
341
|
+
escapeKeyBehavior: "none",
|
|
342
|
+
shouldSelectOnPressUp: true,
|
|
343
|
+
children: renderItem
|
|
344
|
+
})
|
|
345
|
+
});
|
|
346
|
+
return /* @__PURE__ */ jsx($928221da08ecbc62$export$41f133550aa26f48, {
|
|
347
|
+
ref: listBoxRef,
|
|
348
|
+
...props,
|
|
349
|
+
"aria-label": label,
|
|
350
|
+
selectionMode,
|
|
351
|
+
className: clsx("flex-1 p-1 outline-none", isScrollable ? "max-h-full overflow-y-auto overflow-x-hidden" : "overflow-hidden", className),
|
|
352
|
+
items: displayedListItems,
|
|
353
|
+
selectedKeys: selectedIds,
|
|
354
|
+
onSelectionChange,
|
|
355
|
+
onScroll,
|
|
356
|
+
escapeKeyBehavior: "none",
|
|
357
|
+
shouldSelectOnPressUp: true,
|
|
358
|
+
children: renderItem
|
|
359
|
+
});
|
|
360
|
+
};
|
|
361
|
+
//#endregion
|
|
362
|
+
export { SelectListBox };
|
|
@@ -1,10 +1,9 @@
|
|
|
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 { 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";
|
|
4
4
|
import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-BGvF9vWx.js";
|
|
5
|
-
import { t as Typography } from "./Typography-
|
|
6
|
-
import {
|
|
7
|
-
import { t as FormField } from "./FormField-D7KKJ6kG.js";
|
|
5
|
+
import { t as Typography } from "./Typography-Ba5l4rmj.js";
|
|
6
|
+
import { t as FormField } from "./FormField-DyqEbqx3.js";
|
|
8
7
|
import $ahdqC$react, { createContext, forwardRef, useContext, useRef } from "react";
|
|
9
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
9
|
import { mergeProps } from "react-aria/mergeProps";
|
|
@@ -187,27 +186,27 @@ const SliderBase = (props) => {
|
|
|
187
186
|
className: "flex items-center justify-between",
|
|
188
187
|
children: [
|
|
189
188
|
/* @__PURE__ */ jsxs(Typography, {
|
|
190
|
-
className: "min-w-10
|
|
189
|
+
className: "min-w-10 py-2.5 text-center text-muted-foreground",
|
|
191
190
|
size: "large",
|
|
192
191
|
children: [minValue, unit]
|
|
193
192
|
}),
|
|
194
193
|
/* @__PURE__ */ jsx($806e559d0c2c64a0$export$105594979f116971, {
|
|
195
194
|
className: "relative h-6 w-full",
|
|
196
195
|
children: ({ state }) => /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
|
|
197
|
-
className: "absolute top-1/2 h-1 w-full -translate-y-1/2 overflow-hidden rounded-full bg-
|
|
196
|
+
className: "absolute top-1/2 h-1.5 w-full -translate-y-1/2 overflow-hidden rounded-full bg-muted",
|
|
198
197
|
children: /* @__PURE__ */ jsx("div", {
|
|
199
|
-
className:
|
|
198
|
+
className: "absolute top-0 h-full bg-primary",
|
|
200
199
|
style: getTrackFillStyle(state)
|
|
201
200
|
})
|
|
202
201
|
}), state.values.map((_, i) => /* @__PURE__ */ jsx($806e559d0c2c64a0$export$2c1b491743890dec, {
|
|
203
202
|
index: i,
|
|
204
|
-
className: clsx("absolute top-1/2 size-4 cursor-pointer rounded-full
|
|
203
|
+
className: clsx("absolute top-1/2 block size-4 shrink-0 cursor-pointer rounded-full border border-primary bg-white shadow-sm transition-[color,box-shadow]", "ring-ring/50 outline-none hover:ring-4 focus-visible:ring-4 dragging:ring-4 disabled:pointer-events-none"),
|
|
205
204
|
isDisabled,
|
|
206
205
|
onBlur: (event) => onBlur?.(event)
|
|
207
206
|
}, i))] })
|
|
208
207
|
}),
|
|
209
208
|
/* @__PURE__ */ jsxs(Typography, {
|
|
210
|
-
className: "min-w-10
|
|
209
|
+
className: "min-w-10 py-2.5 text-center text-muted-foreground",
|
|
211
210
|
size: "large",
|
|
212
211
|
children: [maxValue, unit]
|
|
213
212
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as FormFieldProps } from "./FormField-
|
|
1
|
+
import { n as FormFieldProps } from "./FormField-BsR2Cjxm.js";
|
|
2
2
|
import { FocusEvent, Ref } from "react";
|
|
3
3
|
import { SliderProps } from "react-aria-components";
|
|
4
4
|
//#region src/components/inputs/Slider/Slider.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as SliderProps$1 } from "./Slider-
|
|
1
|
+
import { r as SliderProps$1 } from "./Slider-zbLmrW6J.js";
|
|
2
2
|
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
3
3
|
//#region src/components/inputs/Slider/Slider.bound.d.ts
|
|
4
4
|
type ControlledSliderProps<TFieldValues extends FieldValues, IsRange extends boolean = false> = FormControlProps<SliderProps$1<IsRange>, TFieldValues>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as SliderBase } from "./Slider-
|
|
1
|
+
import { n as SliderBase } from "./Slider-DMrnZn3I.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,23 +1,23 @@
|
|
|
1
1
|
import { r as cva, t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
|
-
import { jsx
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/status/Spinner/spinner.cva.ts
|
|
5
5
|
const spinnerWrapperDefinition = UIOverrides.defineConfig({
|
|
6
6
|
base: ["flex items-center justify-center"],
|
|
7
7
|
config: {
|
|
8
8
|
variants: { size: {
|
|
9
|
-
default: "size-
|
|
10
|
-
l: "size-
|
|
9
|
+
default: "size-4",
|
|
10
|
+
l: "size-8"
|
|
11
11
|
} },
|
|
12
12
|
defaultVariants: { size: "default" }
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
const spinnerWrapper = cva(spinnerWrapperDefinition.base, spinnerWrapperDefinition.config);
|
|
16
16
|
const spinnerDefinition = UIOverrides.defineConfig({
|
|
17
|
-
base: ["animate-
|
|
17
|
+
base: ["animate-spin"],
|
|
18
18
|
config: {
|
|
19
19
|
variants: { size: {
|
|
20
|
-
default: "size-
|
|
20
|
+
default: "size-4",
|
|
21
21
|
l: "size-8"
|
|
22
22
|
} },
|
|
23
23
|
defaultVariants: { size: "default" }
|
|
@@ -27,7 +27,7 @@ const spinner = cva(spinnerDefinition.base, spinnerDefinition.config);
|
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/components/status/Spinner/Spinner.tsx
|
|
29
29
|
const Spinner = (t0) => {
|
|
30
|
-
const $ = c(
|
|
30
|
+
const $ = c(17);
|
|
31
31
|
let className;
|
|
32
32
|
let props;
|
|
33
33
|
let size;
|
|
@@ -63,51 +63,39 @@ const Spinner = (t0) => {
|
|
|
63
63
|
$[9] = t2;
|
|
64
64
|
} else t2 = $[9];
|
|
65
65
|
let t3;
|
|
66
|
-
let t4;
|
|
67
66
|
if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
|
|
68
|
-
t3 = /* @__PURE__ */ jsx("
|
|
69
|
-
className: "opacity-20",
|
|
70
|
-
cx: "12",
|
|
71
|
-
cy: "12",
|
|
72
|
-
r: "10",
|
|
73
|
-
stroke: "currentColor",
|
|
74
|
-
strokeWidth: "4"
|
|
75
|
-
});
|
|
76
|
-
t4 = /* @__PURE__ */ jsx("path", {
|
|
77
|
-
fill: "currentColor",
|
|
78
|
-
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
79
|
-
});
|
|
67
|
+
t3 = /* @__PURE__ */ jsx("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" });
|
|
80
68
|
$[10] = t3;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
t4 =
|
|
85
|
-
}
|
|
86
|
-
let t5;
|
|
87
|
-
if ($[12] !== props || $[13] !== t2) {
|
|
88
|
-
t5 = /* @__PURE__ */ jsxs("svg", {
|
|
69
|
+
} else t3 = $[10];
|
|
70
|
+
let t4;
|
|
71
|
+
if ($[11] !== props || $[12] !== t2) {
|
|
72
|
+
t4 = /* @__PURE__ */ jsx("svg", {
|
|
89
73
|
className: t2,
|
|
90
74
|
xmlns: "http://www.w3.org/2000/svg",
|
|
91
75
|
fill: "none",
|
|
92
76
|
viewBox: "0 0 24 24",
|
|
77
|
+
stroke: "currentColor",
|
|
78
|
+
strokeWidth: "2",
|
|
79
|
+
strokeLinecap: "round",
|
|
80
|
+
strokeLinejoin: "round",
|
|
93
81
|
...props,
|
|
94
|
-
children:
|
|
82
|
+
children: t3
|
|
95
83
|
});
|
|
96
|
-
$[
|
|
97
|
-
$[
|
|
98
|
-
$[
|
|
99
|
-
} else
|
|
100
|
-
let
|
|
101
|
-
if ($[
|
|
102
|
-
|
|
84
|
+
$[11] = props;
|
|
85
|
+
$[12] = t2;
|
|
86
|
+
$[13] = t4;
|
|
87
|
+
} else t4 = $[13];
|
|
88
|
+
let t5;
|
|
89
|
+
if ($[14] !== t1 || $[15] !== t4) {
|
|
90
|
+
t5 = /* @__PURE__ */ jsx("div", {
|
|
103
91
|
className: t1,
|
|
104
|
-
children:
|
|
92
|
+
children: t4
|
|
105
93
|
});
|
|
106
|
-
$[
|
|
94
|
+
$[14] = t1;
|
|
95
|
+
$[15] = t4;
|
|
107
96
|
$[16] = t5;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
return t6;
|
|
97
|
+
} else t5 = $[16];
|
|
98
|
+
return t5;
|
|
111
99
|
};
|
|
112
100
|
//#endregion
|
|
113
101
|
export { spinnerDefinition as n, spinnerWrapperDefinition as r, Spinner as t };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-Dmev7iRS.js";
|
|
2
|
-
import "./style-definitions-
|
|
2
|
+
import "./style-definitions-DzsmGccZ.js";
|
|
3
3
|
import { SVGProps } from "react";
|
|
4
4
|
//#region src/components/status/Spinner/spinner.cva.d.ts
|
|
5
5
|
declare const spinnerWrapperDefinition: {
|
|
6
6
|
base: string[];
|
|
7
7
|
config: StyleMergeUtils.Config<{
|
|
8
8
|
readonly size: {
|
|
9
|
-
readonly default: "size-
|
|
10
|
-
readonly l: "size-
|
|
9
|
+
readonly default: "size-4";
|
|
10
|
+
readonly l: "size-8";
|
|
11
11
|
};
|
|
12
12
|
}>;
|
|
13
13
|
};
|
|
@@ -15,7 +15,7 @@ declare const spinnerDefinition: {
|
|
|
15
15
|
base: string[];
|
|
16
16
|
config: StyleMergeUtils.Config<{
|
|
17
17
|
readonly size: {
|
|
18
|
-
readonly default: "size-
|
|
18
|
+
readonly default: "size-4";
|
|
19
19
|
readonly l: "size-8";
|
|
20
20
|
};
|
|
21
21
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as LinkNavigationProps } from "./Link-
|
|
2
|
-
import { n as ButtonVariantProps } from "./button.cva-
|
|
3
|
-
import { r as MenuItem } from "./DropdownMenu-
|
|
1
|
+
import { n as LinkNavigationProps } from "./Link-D0Kk3F5w.js";
|
|
2
|
+
import { n as ButtonVariantProps } from "./button.cva-YpNNY6C-.js";
|
|
3
|
+
import { r as MenuItem } from "./DropdownMenu-gKIXzj63.js";
|
|
4
4
|
import { ButtonProps } from "react-aria-components";
|
|
5
5
|
//#region src/components/buttons/SplitButton/SplitButton.d.ts
|
|
6
6
|
interface SplitButtonProps extends ButtonVariantProps, Omit<ButtonProps, "children"> {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-Dmev7iRS.js";
|
|
2
|
-
import "./style-definitions-
|
|
2
|
+
import "./style-definitions-DzsmGccZ.js";
|
|
3
3
|
//#region src/components/navigation/Stepper/stepper.cva.d.ts
|
|
4
4
|
declare const stepperDefinition: {
|
|
5
5
|
base: string[];
|
|
6
6
|
config: StyleMergeUtils.Config<{
|
|
7
7
|
readonly orientation: {
|
|
8
|
-
readonly horizontal: "flex flex-row items-center gap-
|
|
9
|
-
readonly vertical: "inline-flex flex-col gap-
|
|
8
|
+
readonly horizontal: "flex flex-row items-center gap-4";
|
|
9
|
+
readonly vertical: "inline-flex flex-col gap-2";
|
|
10
10
|
};
|
|
11
11
|
}>;
|
|
12
12
|
};
|
|
@@ -16,8 +16,8 @@ declare const stepperItemDefinition: {
|
|
|
16
16
|
base: string[];
|
|
17
17
|
config: StyleMergeUtils.Config<{
|
|
18
18
|
readonly contentOrientation: {
|
|
19
|
-
readonly horizontal: "flex-row items-center gap-
|
|
20
|
-
readonly vertical: "flex-col items-center gap-
|
|
19
|
+
readonly horizontal: "flex-row items-center gap-3 text-left";
|
|
20
|
+
readonly vertical: "flex-col items-center gap-2 text-center";
|
|
21
21
|
};
|
|
22
22
|
}>;
|
|
23
23
|
};
|
|
@@ -27,9 +27,9 @@ declare const stepperIconDefinition: {
|
|
|
27
27
|
base: string[];
|
|
28
28
|
config: StyleMergeUtils.Config<{
|
|
29
29
|
readonly status: {
|
|
30
|
-
readonly completed:
|
|
31
|
-
readonly active: "border
|
|
32
|
-
readonly todo: "border
|
|
30
|
+
readonly completed: "border-primary bg-primary text-primary-foreground group-hover:bg-primary/90";
|
|
31
|
+
readonly active: "border-primary bg-primary text-primary-foreground";
|
|
32
|
+
readonly todo: "border-input bg-background text-muted-foreground";
|
|
33
33
|
};
|
|
34
34
|
}>;
|
|
35
35
|
};
|
|
@@ -38,8 +38,8 @@ declare const stepperNumberDefinition: {
|
|
|
38
38
|
config: StyleMergeUtils.Config<{
|
|
39
39
|
readonly status: {
|
|
40
40
|
readonly completed: "";
|
|
41
|
-
readonly active: "
|
|
42
|
-
readonly todo: "
|
|
41
|
+
readonly active: "";
|
|
42
|
+
readonly todo: "";
|
|
43
43
|
};
|
|
44
44
|
}>;
|
|
45
45
|
};
|
|
@@ -47,9 +47,9 @@ declare const stepperTitleDefinition: {
|
|
|
47
47
|
base: string[];
|
|
48
48
|
config: StyleMergeUtils.Config<{
|
|
49
49
|
readonly status: {
|
|
50
|
-
readonly completed:
|
|
51
|
-
readonly active: "text-
|
|
52
|
-
readonly todo: "text-
|
|
50
|
+
readonly completed: "text-foreground underline-offset-4 group-hover:underline";
|
|
51
|
+
readonly active: "text-foreground";
|
|
52
|
+
readonly todo: "text-muted-foreground";
|
|
53
53
|
};
|
|
54
54
|
}>;
|
|
55
55
|
};
|
|
@@ -57,9 +57,9 @@ declare const stepperSubtextDefinition: {
|
|
|
57
57
|
base: string[];
|
|
58
58
|
config: StyleMergeUtils.Config<{
|
|
59
59
|
readonly status: {
|
|
60
|
-
readonly completed:
|
|
61
|
-
readonly active: "
|
|
62
|
-
readonly todo: "
|
|
60
|
+
readonly completed: "";
|
|
61
|
+
readonly active: "";
|
|
62
|
+
readonly todo: "";
|
|
63
63
|
};
|
|
64
64
|
}>;
|
|
65
65
|
};
|
|
@@ -68,7 +68,7 @@ declare const stepperSeparatorDefinition: {
|
|
|
68
68
|
config: StyleMergeUtils.Config<{
|
|
69
69
|
readonly orientation: {
|
|
70
70
|
readonly horizontal: "h-px min-w-4 flex-1";
|
|
71
|
-
readonly vertical: "min-h-
|
|
71
|
+
readonly vertical: "min-h-8 w-px";
|
|
72
72
|
};
|
|
73
73
|
readonly contentOrientation: {
|
|
74
74
|
readonly horizontal: "";
|