@povio/ui 6.0.0-rc.1 → 6.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/MIGRATION.md +28 -0
- package/README.md +10 -37
- package/dist/{Accordion-DQRdeDs1.js → Accordion-DycXjzGK.js} +6 -6
- package/dist/{Alert-Cee_nKWj.d.ts → Alert-BpPHCE5-.d.ts} +2 -2
- package/dist/{AlertDialog-uNDUIyng.d.ts → AlertDialog-CDCbfARJ.d.ts} +3 -3
- package/dist/{Autocomplete-D_4gEL7D.d.ts → Autocomplete-BUslodfn.d.ts} +1 -1
- package/dist/{Autocomplete-CWU9Ev3J.js → Autocomplete-DSwAc7jF.js} +7 -7
- package/dist/{Autocomplete.bound-CqhZtdd8.d.ts → Autocomplete.bound-Db5C6Jph.d.ts} +1 -1
- package/dist/{Autocomplete.bound-D0pgmsHB.js → Autocomplete.bound-e5WbxlBm.js} +1 -1
- package/dist/{Badge-C4HI9XX4.d.ts → Badge-Dp091PcC.d.ts} +2 -2
- package/dist/{BadgeButton-h3MeQYcp.d.ts → BadgeButton-DZm_aw29.d.ts} +2 -2
- package/dist/{BottomSheet-BQXSdxoX.d.ts → BottomSheet-C-jdDmO7.d.ts} +1 -1
- package/dist/{BottomSheet-z5brMtDt.js → BottomSheet-DB0Cdlgx.js} +5 -5
- package/dist/{BottomSheet.lazy-BzvLg8Ea.d.ts → BottomSheet.lazy-C0_6p_UQ.d.ts} +1 -1
- package/dist/{Breadcrumbs-B9O0_VSN.d.ts → Breadcrumbs-CuupIZuv.d.ts} +1 -1
- package/dist/{Breadcrumbs-AbUBqBTq.js → Breadcrumbs-V-Bea_bs.js} +10 -7
- package/dist/{Button-f7FPTaiN.d.ts → Button-BL5ils-5.d.ts} +1 -1
- package/dist/{Button-DER_6cxv.js → Button-DU1Q8GDB.js} +1 -1
- package/dist/{ButtonBase-CeFSNcVs.js → ButtonBase-BhlpPPDi.js} +5 -4
- package/dist/{ButtonBase-CYTFS-xK.d.ts → ButtonBase-C_ODj77A.d.ts} +3 -3
- package/dist/{ButtonContent-c7lJayVQ.js → ButtonContent-BBup-vN6.js} +4 -13
- package/dist/{Calendar-DRQ536wk.js → Calendar-ChmIflXX.js} +20 -24
- package/dist/{CheckContent-D7sZPmzx.js → CheckContent-DHKG_FY6.js} +1 -1
- package/dist/{Checkbox-CCvC7OVT.d.ts → Checkbox-BjZVQ-6_.d.ts} +1 -1
- package/dist/{Checkbox-BI3DQPLa.js → Checkbox-Bo03jrPX.js} +5 -5
- package/dist/{Checkbox.bound-CMZnF2_d.js → Checkbox.bound-DN4OVaMs.js} +1 -1
- package/dist/{Checkbox.bound-DBt33Inx.d.ts → Checkbox.bound-DTO008Tl.d.ts} +1 -1
- package/dist/{CheckboxCheckmark-BzT6MwH5.js → CheckboxCheckmark-C4yFclkZ.js} +5 -8
- package/dist/{CheckboxGroup-MJ6crCZk.d.ts → CheckboxGroup-B_rzZgta.d.ts} +3 -3
- package/dist/{CheckboxGroup-DQw4hsFa.js → CheckboxGroup-D3LxgocB.js} +5 -5
- package/dist/{CheckboxGroup.bound-CTCdezUN.js → CheckboxGroup.bound-8hjoP-xP.js} +1 -1
- package/dist/{CheckboxGroup.bound-j2Sc8QtU.d.ts → CheckboxGroup.bound-CiA60XsD.d.ts} +1 -1
- package/dist/{DatePicker-umTISfvn.d.ts → DatePicker-B_caFHFY.d.ts} +3 -3
- package/dist/{DatePicker-CSm9c37c.js → DatePicker-Bc_E4UZ1.js} +9 -9
- package/dist/{DatePicker.bound-KLyoWNcX.d.ts → DatePicker.bound-C5-DL4SJ.d.ts} +1 -1
- package/dist/{DatePicker.bound-Yqckg7Mk.js → DatePicker.bound-CtBL5w-8.js} +1 -1
- package/dist/{DatePickerInput-DwHQvLzi.d.ts → DatePickerInput-8gKhZdGY.d.ts} +3 -3
- package/dist/{DatePickerInput-Cs9RwZfy.js → DatePickerInput-TND0rEMc.js} +38 -30
- package/dist/{DateRangePicker-s_4n-F_P.js → DateRangePicker-BNMTOQ2N.js} +16 -16
- package/dist/{DateRangePicker-hV_U1IK0.d.ts → DateRangePicker-CzWwO5bA.d.ts} +3 -3
- package/dist/{DateRangePicker.bound-D-GPENNe.d.ts → DateRangePicker.bound-C4mHtr-b.d.ts} +1 -1
- package/dist/{DateRangePicker.bound-C1klxYW0.js → DateRangePicker.bound-GeRw9Iuj.js} +1 -1
- package/dist/{DateTimePicker-411pU7VF.js → DateTimePicker-B3YjV4uj.js} +9 -9
- package/dist/{DateTimePicker-wgV0SUeZ.d.ts → DateTimePicker-CzGdmamp.d.ts} +3 -3
- package/dist/{DateTimePicker.bound-BDyUzidV.js → DateTimePicker.bound-ByjHsAnf.js} +1 -1
- package/dist/{DateTimePicker.bound-cF2X_ncj.d.ts → DateTimePicker.bound-DwClL-pe.d.ts} +1 -1
- package/dist/{Dialog-V-2cgGk1.d.ts → Dialog-2XpWsphI.d.ts} +1 -1
- package/dist/{Dialog-DSl1Fkqi.js → Dialog-COvYzwNU.js} +4 -4
- package/dist/{DropdownMenu-DH7E2aXb.js → DropdownMenu-DtZdv5mo.js} +4 -4
- package/dist/{DropdownMenu-Bl_C5W_E.d.ts → DropdownMenu-gKIXzj63.d.ts} +2 -2
- package/dist/{DropdownMenuDesktop-nMoCa6N5.js → DropdownMenuDesktop-BMkiHEuY.js} +2 -2
- package/dist/{FileInput-Q72yXorH.d.ts → FileInput-0o8-IJUh.d.ts} +6 -6
- package/dist/{FileInput-CqRrQRM-.js → FileInput-Bpm2HJSB.js} +16 -15
- package/dist/{FileInput.bound-BZ7-g-dq.js → FileInput.bound-B6oGPCP8.js} +1 -1
- package/dist/{FileInput.bound-CG2G5E2K.d.ts → FileInput.bound-BEeceBBO.d.ts} +1 -1
- package/dist/{FileUpload-B4ibHWQn.d.ts → FileUpload--AQJW3vz.d.ts} +1 -1
- package/dist/{FileUpload-CG60c6wM.js → FileUpload-G7tdtNKN.js} +48 -48
- package/dist/{FileUpload.bound-DQ6uuH2W.js → FileUpload.bound-DqqPejvc.js} +1 -1
- package/dist/{FileUpload.bound-C-Zy1n5Y.d.ts → FileUpload.bound-i5zfLhoY.d.ts} +2 -2
- package/dist/{FileUploadContainer-CtUhDntB.d.ts → FileUploadContainer-D1eYflb2.d.ts} +1 -1
- package/dist/{FormField-BIRMlgu4.d.ts → FormField-BsR2Cjxm.d.ts} +1 -1
- package/dist/{FormField-D7KKJ6kG.js → FormField-DyqEbqx3.js} +16 -18
- package/dist/{FormFieldError-Bqjg9cMb.js → FormFieldError-BaVgIKrv.js} +1 -1
- package/dist/{FormFieldHeaderTooltip-k8Snf_oM.js → FormFieldHeaderTooltip-Bxc4f9i4.js} +3 -3
- package/dist/{IconButton-BM2DUNtN.d.ts → IconButton-DdvODpP7.d.ts} +1 -1
- package/dist/{IconSlot-DSK7qNxc.js → IconSlot-Cuvpj1gd.js} +2 -2
- package/dist/{InlineTooltipWrapper-DBuQX2yo.js → InlineTooltipWrapper-HDHIaQtS.js} +1 -1
- package/dist/{Input-CG4Irgae.js → Input-BdCci6BF.js} +6 -6
- package/dist/{Input-BX3sZBEp.d.ts → Input-Bu4G9gcn.d.ts} +3 -3
- package/dist/{Input.bound-jZx8gJro.js → Input.bound-CnqI-L-b.js} +1 -1
- package/dist/{Input.bound-BE-espm0.d.ts → Input.bound-CxfKRXzI.d.ts} +1 -1
- package/dist/{InputContent-DDFr0kml.d.ts → InputContent-BGTEvv6a.d.ts} +3 -3
- package/dist/{InputContent-KhD4_YvO.js → InputContent-Ca4oVqIe.js} +15 -15
- package/dist/{Link-Bw2m9W4B.d.ts → Link-D0Kk3F5w.d.ts} +2 -2
- package/dist/{MenuItem-DPZzOqp2.d.ts → MenuItem-Bo5a7_Nw.d.ts} +1 -1
- package/dist/{NumberField-CxwTlqud.js → NumberField-BLAwsjns.js} +6 -6
- package/dist/{NumberField-qjvHhCfN.d.ts → NumberField-DCMQZPY9.d.ts} +3 -3
- package/dist/{NumberField.bound-zySl-v_q.js → NumberField.bound-DiDYEZM4.js} +1 -1
- package/dist/{NumberField.bound-DXPGF5YK.d.ts → NumberField.bound-fZLE6Odv.d.ts} +1 -1
- package/dist/{NumberRangeInput-CS4Kn427.d.ts → NumberRangeInput-CtSYPK2e.d.ts} +2 -2
- package/dist/{NumberRangeInput-BrW03wC6.js → NumberRangeInput-al32ZeSy.js} +12 -12
- package/dist/{NumberRangeInput.bound-CKywKEKI.js → NumberRangeInput.bound-B0e7yUDI.js} +1 -1
- package/dist/{NumberRangeInput.bound-C8I7m1cW.d.ts → NumberRangeInput.bound-CxAk_1_K.d.ts} +1 -1
- package/dist/{Pagination-DkpAg2x6.d.ts → Pagination-DikJEIWD.d.ts} +1 -1
- package/dist/{PaginationList-DNmZRcS6.d.ts → PaginationList-D7PVQ5WX.d.ts} +1 -1
- package/dist/{PaginationList-PjOxNQwB.js → PaginationList-vfqgyTIP.js} +109 -70
- package/dist/{PasswordInput-BHPFkVbM.d.ts → PasswordInput-Dy5hMeFP.d.ts} +1 -1
- package/dist/{PasswordInput.bound-DC57m4NT.d.ts → PasswordInput.bound-B5sHHU26.d.ts} +1 -1
- package/dist/{PasswordInput.bound-CrXKvfil.js → PasswordInput.bound-Bj3WO1zC.js} +1 -1
- package/dist/{Popover-pjd0Hu61.d.ts → Popover-DxTsc2y6.d.ts} +2 -2
- package/dist/{Progress-1WGRZE8l.d.ts → Progress-CtxPBAgr.d.ts} +3 -3
- package/dist/{Progress-De76pCfX.js → Progress-ZsKwo9ne.js} +2 -2
- package/dist/{RadioGroup-DEwQ6B1F.d.ts → RadioGroup-BYS8ha2C.d.ts} +3 -3
- package/dist/{RadioGroup-BPSvcre6.js → RadioGroup-D0X47mm7.js} +5 -5
- package/dist/{RadioGroup.bound-Dj6CEG6M.d.ts → RadioGroup.bound-CibzUsQL.d.ts} +1 -1
- package/dist/{RadioGroup.bound-CN4K9dV2.js → RadioGroup.bound-aK3GC6i7.js} +1 -1
- package/dist/{RichTextEditor-hJtuB7Y6.d.ts → RichTextEditor-k9LvNCjg.d.ts} +1 -1
- package/dist/{RichTextEditor-BYIQW8QA.js → RichTextEditor-qoxzWBFP.js} +16 -16
- package/dist/{Select-Br_3eecr.js → Select-BAlYMh4h.js} +43 -36
- package/dist/{Select-DHYddedn.d.ts → Select-NNohxr1t.d.ts} +3 -3
- package/dist/{Select.bound-CgLKMzLn.js → Select.bound-CQPG2sWV.js} +1 -1
- package/dist/{Select.bound-CJ-tCsmX.d.ts → Select.bound-Dh5kywfV.d.ts} +1 -1
- package/dist/{Slider-CqB2TPTR.js → Slider-DMrnZn3I.js} +8 -9
- package/dist/{Slider-CcoNTFVN.d.ts → Slider-zbLmrW6J.d.ts} +1 -1
- package/dist/{Slider.bound-8B5qzQ-8.d.ts → Slider.bound-BaJHbE6d.d.ts} +1 -1
- package/dist/{Slider.bound-Bp7Zrs9_.js → Slider.bound-BoIYW8I5.js} +1 -1
- package/dist/{Spinner-BeVTUzzx.js → Spinner-CFj5Iu77.js} +28 -40
- package/dist/{Spinner-B-crRcdG.d.ts → Spinner-b365xHHG.d.ts} +4 -4
- package/dist/{SplitButton-BzhbtpFA.d.ts → SplitButton-CzvD7LIK.d.ts} +3 -3
- package/dist/{Stepper-LORgYAJr.d.ts → Stepper-Bk1JUf6K.d.ts} +17 -17
- package/dist/{Stepper-CMw6QnCu.js → Stepper-DlyScdAM.js} +10 -9
- package/dist/{Switch-R0kAicgM.js → Switch-Ck_zSDuw.js} +5 -5
- package/dist/{Switch-CSitpm4o.d.ts → Switch-uqTGk-H6.d.ts} +1 -1
- package/dist/{Switch.bound-Dk-BmxJd.js → Switch.bound-Brw5UUA6.js} +1 -1
- package/dist/{Switch.bound-DVjqsum1.d.ts → Switch.bound-DWuDmr2C.d.ts} +1 -1
- package/dist/Tag--FasSNEh.d.ts +44 -0
- package/dist/{TextArea-DCnqXuHC.js → TextArea-33uOXvnc.js} +4 -4
- package/dist/{TextArea-e8sQm205.d.ts → TextArea-t5IYaVds.d.ts} +2 -2
- package/dist/{TextArea.bound-BJZ9m_FE.js → TextArea.bound-DPALjcvO.js} +1 -1
- package/dist/{TextArea.bound-DEZuRYm_.d.ts → TextArea.bound-DcflHR7X.d.ts} +1 -1
- package/dist/{TimePicker-Zi7B6VTr.d.ts → TimePicker-BK4AnHQa.d.ts} +2 -2
- package/dist/{TimePicker-BwF-Crbg.js → TimePicker-CmBGkxDC.js} +13 -13
- package/dist/{TimePicker.bound-B-BVLNbk.js → TimePicker.bound-3i1DJgrU.js} +1 -1
- package/dist/{TimePicker.bound-Bxtb6uJL.d.ts → TimePicker.bound-BMZWRtpJ.d.ts} +1 -1
- package/dist/{Toast-Dl6KMa58.d.ts → Toast-6rYk8AAG.d.ts} +1 -1
- package/dist/{ToastContainer-BDvta6st.js → ToastContainer-D1Jl3PPk.js} +3 -3
- package/dist/{ToggleButton-Cce9bnBw.d.ts → ToggleButton-DZ340rQr.d.ts} +1 -1
- package/dist/{ToggleGroup-BJ8cqXaO.d.ts → ToggleGroup-BTqYh6FH.d.ts} +3 -3
- package/dist/{ToggleGroup-s5sDSB6l.js → ToggleGroup-cvzIyIhi.js} +6 -6
- package/dist/{ToggleGroup.bound-Cv09n91n.d.ts → ToggleGroup.bound-BEtnF-L-.d.ts} +1 -1
- package/dist/{ToggleGroup.bound-DEc7rdNF.js → ToggleGroup.bound-DjwakG--.js} +1 -1
- package/dist/{Tooltip-CMigoyri.js → Tooltip-CqbyoJhl.js} +4 -4
- package/dist/{Tooltip-BiS7isYB.d.ts → Tooltip-DP5RDkXs.d.ts} +1 -1
- package/dist/{TooltipWrapper-D7HUZLsP.js → TooltipWrapper-BrftXInI.js} +6 -6
- package/dist/{Typography-D2FfZr7a.d.ts → Typography-BD-MSuTp.d.ts} +1 -1
- package/dist/{Typography-LU4z2pR1.js → Typography-Ba5l4rmj.js} +1 -1
- package/dist/{accordion.cva-CeBWV9EO.js → accordion.cva-C-gUiXk5.js} +16 -24
- package/dist/badgeButton.cva-C1BuYx1N.js +138 -0
- package/dist/{badgeButton.cva-B8EQLwPv.d.ts → badgeButton.cva-Cj5AWgfv.d.ts} +7 -7
- package/dist/{breadcrumbs.cva-DPwJJK_D.js → breadcrumbs.cva-DCAdmxWR.js} +8 -8
- package/dist/{button.cva-CBckM91c.d.ts → button.cva-YpNNY6C-.d.ts} +20 -15
- package/dist/button.cva-fkUW5b2d.js +267 -0
- package/dist/{buttonContent.cva-DG-4lRz4.d.ts → buttonContent.cva-CxgT-rxJ.d.ts} +1 -1
- package/dist/{checkbox.cva-CJy87xUo.d.ts → checkbox.cva-CZnnBl8g.d.ts} +5 -5
- package/dist/{checkbox.cva-D-D9Qgaf.js → checkbox.cva-DCVi4-4z.js} +23 -32
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +97 -102
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +10 -10
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge-button.d.ts +1 -1
- package/dist/components/badge-button.js +2 -2
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +6 -6
- package/dist/components/bottom-sheet-header.d.ts +1 -1
- package/dist/components/bottom-sheet-header.js +11 -10
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +1 -1
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-time-picker.d.ts +1 -1
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/drawer.js +2 -2
- package/dist/components/dropdown-menu.d.ts +2 -2
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/file-input.d.ts +1 -1
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload-container.d.ts +2 -2
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.d.ts +2 -2
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +1 -1
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +2 -2
- package/dist/components/icon-slot.d.ts +1 -1
- package/dist/components/icon-slot.js +1 -1
- package/dist/components/input-frame.d.ts +4 -4
- package/dist/components/input-frame.js +15 -15
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/number-field.d.ts +1 -1
- package/dist/components/number-field.js +1 -1
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/pagination-list.d.ts +1 -1
- package/dist/components/pagination-list.js +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/pagination.js +7 -7
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/password-input.js +1 -1
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.d.ts +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/select.d.ts +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/slider.d.ts +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +2 -2
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/style-definitions.d.ts +1 -1
- package/dist/components/style-definitions.js +27 -27
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +5 -5
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +2 -2
- package/dist/components/toast.js +2 -2
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button.js +1 -1
- package/dist/components/toggle-group.d.ts +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/typography.d.ts +2 -2
- package/dist/components/typography.js +1 -1
- package/dist/components/use-toast.d.ts +1 -1
- package/dist/components/use-toast.js +2 -2
- package/dist/config/component-configuration.d.ts +1 -1
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/link-context.d.ts +2 -2
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/{confirmation.context-B2z9A1v3.d.ts → confirmation.context-DdxzxDWB.d.ts} +1 -1
- package/dist/{datePickerInput.cva-Cd7UUN61.js → datePickerInput.cva--gCeAsRx.js} +1 -1
- package/dist/{datePickerValue.utils-OAQBDk1R.js → datePickerValue.utils-BxHR_BQZ.js} +9 -9
- package/dist/{dialog.cva-sioU_5R7.js → dialog.cva-DzJlaK5a.js} +6 -6
- package/dist/{dist-CAFUM34b.js → dist-D35rjADF.js} +14 -13
- package/dist/dropdownMenu.cva-CS5Q2b_3.js +31 -0
- package/dist/{fileUpload.cva-ujmStxB1.js → fileUpload.cva-DVJcCCYz.js} +10 -10
- package/dist/{fileUpload.types-BT8P1o7a.d.ts → fileUpload.types-DKICER1J.d.ts} +2 -2
- package/dist/{formFieldError.cva-CTl0VeyG.js → formFieldError.cva-Cc-dELdU.js} +2 -2
- package/dist/{formFieldHelper.cva-CxAmrG2H.js → formFieldHelper.cva-5YaiUEcL.js} +29 -29
- package/dist/{iconSlot.cva-BA9NahZH.d.ts → iconSlot.cva-BrT0X2qq.d.ts} +3 -3
- package/dist/icons.d.ts +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +70 -70
- package/dist/index.js +70 -70
- package/dist/input.cva-AHLI_M3K.js +185 -0
- package/dist/{input.cva-L7jKDv6q.d.ts → input.cva-CEFEpKml.d.ts} +9 -9
- package/dist/{link.context-C4fE_aMo.d.ts → link.context-pIX2TUSb.d.ts} +1 -1
- package/dist/link.cva-isgDrId6.js +12 -0
- package/dist/outline.clsx-DGGQQRkM.js +6 -0
- package/dist/{popover.cva-Bhud1wnp.js → popover.cva-Ciu9Ro5G.js} +1 -1
- package/dist/{progress.cva-D7iiX6Lh.js → progress.cva-D0PKV_ET.js} +6 -6
- package/dist/{radio.cva-Ctdop1xV.js → radio.cva-Dn2Auqxw.js} +14 -17
- package/dist/{radio.cva-DO3UEac-.d.ts → radio.cva-VUie6k1Y.d.ts} +3 -3
- package/dist/rich-text-editor.d.ts +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/{selectDesktop.cva-RzxvSBkd.js → selectDesktop.cva-CGBkscBY.js} +1 -1
- package/dist/selectItem.cva-Ch6oK4jP.js +27 -0
- package/dist/{staticDateTimeSegments-Bt5wCZvg.js → staticDateTimeSegments-CA_lwN-O.js} +8 -8
- package/dist/{status.cva-BFGMKZO_.js → status.cva-CUpcOT4W.js} +20 -20
- package/dist/{stepper.cva-CpRi0fGb.js → stepper.cva-CQGechUm.js} +22 -34
- package/dist/{style-definitions-_RXJdSk-.d.ts → style-definitions-DzsmGccZ.d.ts} +147 -142
- package/dist/styles/editor.css +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/styles/outline.js +1 -1
- package/dist/switch.cva-C9bO_QI-.js +24 -0
- package/dist/switch.cva-x4SdjrQp.d.ts +16 -0
- package/dist/table.cva-BMIizuGy.js +111 -0
- package/dist/{table.cva-CmfeWLyW.d.ts → table.cva-HHTd92di.d.ts} +17 -17
- package/dist/tag.cva-BVa0EWBU.js +24 -0
- package/dist/tanstack/autocomplete.d.ts +2 -2
- package/dist/tanstack/autocomplete.js +1 -1
- package/dist/tanstack/checkbox-group.d.ts +2 -2
- package/dist/tanstack/checkbox-group.js +1 -1
- package/dist/tanstack/checkbox.d.ts +2 -2
- package/dist/tanstack/checkbox.js +1 -1
- package/dist/tanstack/date-picker.d.ts +2 -2
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.d.ts +2 -2
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.d.ts +2 -2
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/file-input.d.ts +2 -2
- package/dist/tanstack/file-input.js +1 -1
- package/dist/tanstack/file-upload.d.ts +3 -3
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/input.d.ts +2 -2
- package/dist/tanstack/input.js +1 -1
- package/dist/tanstack/number-field.d.ts +2 -2
- package/dist/tanstack/number-field.js +1 -1
- package/dist/tanstack/number-range-input.d.ts +2 -2
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/password-input.d.ts +1 -1
- package/dist/tanstack/password-input.js +1 -1
- package/dist/tanstack/radio-group.d.ts +2 -2
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/rich-text-editor.d.ts +1 -1
- package/dist/tanstack/rich-text-editor.js +1 -1
- package/dist/tanstack/select.d.ts +2 -2
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.d.ts +2 -2
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/switch.d.ts +2 -2
- package/dist/tanstack/switch.js +1 -1
- package/dist/tanstack/table.d.ts +2 -2
- package/dist/tanstack/table.js +1 -1
- package/dist/tanstack/text-area.d.ts +2 -2
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/time-picker.d.ts +2 -2
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle-group.d.ts +2 -2
- package/dist/tanstack/toggle-group.js +1 -1
- package/dist/{tanstack-DQu9PNjn.d.ts → tanstack-CSiB125i.d.ts} +90 -90
- package/dist/tanstack.d.ts +70 -70
- package/dist/tanstack.js +70 -70
- package/dist/{toast.cva-L0k_TBiW.d.ts → toast.cva-B8i61tEN.d.ts} +9 -9
- package/dist/{toast.cva-aC4NMpLb.js → toast.cva-BMOx7_9f.js} +21 -37
- package/dist/{toast.runtime-DKOeUnk6.js → toast.runtime-D18gn2Ty.js} +1 -1
- package/dist/toggleGroup.cva-C9Y5-kpk.js +26 -0
- package/dist/{tooltip.cva-ClcaR72U.js → tooltip.cva-Clfcn_r2.js} +10 -10
- package/dist/typography.cva-CKCCpIMj.d.ts +36 -0
- package/dist/typography.cva-CXolEQdT.js +31 -0
- package/dist/{uiConfig.context-CQU9Tzq_.d.ts → uiConfig.context-B1SCCG5j.d.ts} +9 -9
- package/dist/{uiConfig.context-CT9EVqC5.js → uiConfig.context-dxsO9puE.js} +9 -9
- package/dist/{useBreakpoint-BzYqQEBO.js → useBreakpoint-DOUmXVZ2.js} +5 -5
- package/dist/{useTableColumnConfig-CUINwVTR.js → useTableColumnConfig-DoTYVxqG.js} +13 -12
- package/dist/{useTableNav-rU9WmCj6.d.ts → useTableNav-D2zCwy63.d.ts} +2 -2
- package/dist/{useToast-DfQif03I.d.ts → useToast-CA0BGCDK.d.ts} +1 -1
- package/package.json +2 -3
- package/dist/Tag-CoqCTZRm.d.ts +0 -44
- package/dist/badgeButton.cva-BPyVejxO.js +0 -300
- package/dist/button.cva-vO0fPUTn.js +0 -423
- package/dist/dropdownMenu.cva-Bi3a21lO.js +0 -34
- package/dist/input.cva-w7ZEVQAM.js +0 -227
- package/dist/link.cva-D3XRgcAv.js +0 -12
- package/dist/outline.clsx-50W_vNDl.js +0 -6
- package/dist/selectItem.cva-BWfEkNs_.js +0 -36
- package/dist/styles/color-utilities.css +0 -20
- package/dist/switch.cva-BsJ4iAFl.js +0 -27
- package/dist/switch.cva-psw67dK9.d.ts +0 -16
- package/dist/table.cva-DFQM8VbM.js +0 -111
- package/dist/tag.cva-BCCH7ku3.js +0 -55
- package/dist/toggleGroup.cva-CEhjMT4j.js +0 -35
- package/dist/typography.cva-GpC6QQNx.d.ts +0 -36
- package/dist/typography.cva-iD15k56p.js +0 -51
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
2
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
+
import { t as UIConfig } from "./uiConfig.context-dxsO9puE.js";
|
|
3
|
+
import { t as Check } from "./check-DYMBkp_Z.js";
|
|
3
4
|
import { t as ChevronDown } from "./chevron-down-B4Pr8bD3.js";
|
|
4
|
-
import { t as CheckboxCheckmark } from "./CheckboxCheckmark-
|
|
5
|
+
import { t as CheckboxCheckmark } from "./CheckboxCheckmark-C4yFclkZ.js";
|
|
5
6
|
import { t as X } from "./x-B6vfz8Ps.js";
|
|
6
7
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
7
8
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
8
|
-
import { t as IconSlot } from "./IconSlot-
|
|
9
|
+
import { t as IconSlot } from "./IconSlot-Cuvpj1gd.js";
|
|
9
10
|
import { l as $542a13ca2fa5b484$export$5b6b19405a83ff9d, m as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5, p as $263ab7fc0f95ccdb$export$2dbbd341daed716d, t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "./Dialog-lFYX-7Ax.js";
|
|
10
11
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-C1YB5dOw.js";
|
|
11
12
|
import { n as $dbdc5e6e7ce01b4b$export$c02625b26074192c, t as $dbdc5e6e7ce01b4b$export$72b9695b8216309a } from "./ComboBox-DFlz6HJ8.js";
|
|
@@ -13,23 +14,23 @@ import { n as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "./Input-BG0Xjw5X
|
|
|
13
14
|
import { i as $928221da08ecbc62$export$a11e76429ed99b4, t as $928221da08ecbc62$export$41f133550aa26f48 } from "./ListBox-CoUk0kkt.js";
|
|
14
15
|
import { i as $a3be900807531178$re_export$useFilter, n as $a3be900807531178$re_export$ListLayout, r as $a3be900807531178$re_export$Rect } from "./exports-BNrTn8Tj.js";
|
|
15
16
|
import "./popoverAnimation-DEZSvKP8.js";
|
|
16
|
-
import { t as Spinner } from "./Spinner-
|
|
17
|
-
import { t as Button } from "./Button-
|
|
17
|
+
import { t as Spinner } from "./Spinner-CFj5Iu77.js";
|
|
18
|
+
import { t as Button } from "./Button-DU1Q8GDB.js";
|
|
18
19
|
import { BottomSheet } from "./components/bottom-sheet.js";
|
|
19
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
20
|
+
import { t as useBreakpoint } from "./useBreakpoint-DOUmXVZ2.js";
|
|
20
21
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
21
|
-
import { n as FormFieldLabel, t as FormField } from "./FormField-
|
|
22
|
-
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-
|
|
22
|
+
import { n as FormFieldLabel, t as FormField } from "./FormField-DyqEbqx3.js";
|
|
23
|
+
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-AHLI_M3K.js";
|
|
23
24
|
import "./i18n-BjNKHh_D.js";
|
|
24
25
|
import { n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "./useStaticInputHandoff-DyYxfwv6.js";
|
|
25
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
26
|
-
import { t as popoverDefinition } from "./popover.cva-
|
|
26
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-BrftXInI.js";
|
|
27
|
+
import { t as popoverDefinition } from "./popover.cva-Ciu9Ro5G.js";
|
|
27
28
|
import { InputFrame } from "./components/input-frame.js";
|
|
28
29
|
import { Tag } from "./components/tag.js";
|
|
29
|
-
import { n as selectInputTagsContentWrapperDefinition, t as selectPopoverDefinition } from "./selectDesktop.cva-
|
|
30
|
-
import { t as selectListBoxItemDefinition } from "./selectItem.cva-
|
|
30
|
+
import { n as selectInputTagsContentWrapperDefinition, t as selectPopoverDefinition } from "./selectDesktop.cva-CGBkscBY.js";
|
|
31
|
+
import { t as selectListBoxItemDefinition } from "./selectItem.cva-Ch6oK4jP.js";
|
|
31
32
|
import { t as useIntersectionObserver } from "./useIntersectionObserver-DYfHnGGU.js";
|
|
32
|
-
import { t as Input } from "./Input-
|
|
33
|
+
import { t as Input } from "./Input-BdCci6BF.js";
|
|
33
34
|
import $ahdqC$react, { Fragment, createContext, use, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
34
35
|
import { c } from "react/compiler-runtime";
|
|
35
36
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -717,7 +718,7 @@ const SelectInput = ({ ref, placeholder, variant, as, size, isDisabled, isInvali
|
|
|
717
718
|
...focusWithinProps,
|
|
718
719
|
children: [
|
|
719
720
|
/* @__PURE__ */ jsxs("div", {
|
|
720
|
-
className: clsx("relative flex flex-1 items-center gap-
|
|
721
|
+
className: clsx("relative flex flex-1 items-center gap-2 truncate pr-2!", !isDisabled && isSearchable && "cursor-text", !isDisabled && !isSearchable && "cursor-pointer", inputSizeCva({
|
|
721
722
|
as,
|
|
722
723
|
size,
|
|
723
724
|
...props
|
|
@@ -730,7 +731,7 @@ const SelectInput = ({ ref, placeholder, variant, as, size, isDisabled, isInvali
|
|
|
730
731
|
labelProps
|
|
731
732
|
}),
|
|
732
733
|
leadingContent && /* @__PURE__ */ jsx("div", {
|
|
733
|
-
className: "
|
|
734
|
+
className: "flex shrink-0 items-center",
|
|
734
735
|
children: leadingContent
|
|
735
736
|
}),
|
|
736
737
|
(showTags || isSearchable) && /* @__PURE__ */ jsxs("div", {
|
|
@@ -745,7 +746,7 @@ const SelectInput = ({ ref, placeholder, variant, as, size, isDisabled, isInvali
|
|
|
745
746
|
ref: inputRef,
|
|
746
747
|
placeholder: as === "floating" ? void 0 : placeholder,
|
|
747
748
|
onBlur,
|
|
748
|
-
className: clsx("min-w-0 w-full flex-1 bg-transparent outline-none placeholder:text-
|
|
749
|
+
className: clsx("min-w-0 w-full flex-1 bg-transparent outline-none placeholder:text-muted-foreground", "disabled:text-inherit disabled:placeholder:text-muted-foreground", inputClassName),
|
|
749
750
|
onKeyDown,
|
|
750
751
|
onKeyDownCapture: onInputKeyDownCapture,
|
|
751
752
|
...fieldProps
|
|
@@ -760,7 +761,7 @@ const SelectInput = ({ ref, placeholder, variant, as, size, isDisabled, isInvali
|
|
|
760
761
|
onKeyDown: onTriggerKeyDown,
|
|
761
762
|
...fieldProps,
|
|
762
763
|
children: [(as === "floating" && isEmpty || isMultiple && !isEmpty) && /* @__PURE__ */ jsx(Fragment$1, { children: "\xA0" }), (isEmpty || !isMultiple) && (as !== "floating" || !isEmpty) && /* @__PURE__ */ jsxs("span", {
|
|
763
|
-
className: clsx("block truncate empty:before:inline-block empty:before:content-['']", isEmpty && "text-
|
|
764
|
+
className: clsx("block truncate empty:before:inline-block empty:before:content-['']", isEmpty && "text-muted-foreground"),
|
|
764
765
|
children: [isEmpty && placeholder, !isEmpty && (showSelectionContent ? selectedItems[0].content : selectedItems[0].label)]
|
|
765
766
|
})]
|
|
766
767
|
})
|
|
@@ -771,7 +772,8 @@ const SelectInput = ({ ref, placeholder, variant, as, size, isDisabled, isInvali
|
|
|
771
772
|
onClear();
|
|
772
773
|
},
|
|
773
774
|
as,
|
|
774
|
-
show: showClearButton
|
|
775
|
+
show: showClearButton,
|
|
776
|
+
className: "mr-2"
|
|
775
777
|
}),
|
|
776
778
|
trailingContent && /* @__PURE__ */ jsx("div", {
|
|
777
779
|
className: "flex shrink-0 items-center",
|
|
@@ -780,15 +782,14 @@ const SelectInput = ({ ref, placeholder, variant, as, size, isDisabled, isInvali
|
|
|
780
782
|
!hideDropdownIcon && /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
781
783
|
excludeFromTabOrder: true,
|
|
782
784
|
"aria-label": t(($) => isOpen ? $.ui.closeAlt : $.ui.openAlt),
|
|
783
|
-
className: clsx("flex shrink-0 items-center justify-center self-stretch py-0! pl-
|
|
785
|
+
className: clsx("flex shrink-0 items-center justify-center self-stretch py-0! pl-0! outline-none disabled:text-inherit", inputSizeCva({ size })),
|
|
784
786
|
isDisabled,
|
|
785
787
|
onPress: () => {
|
|
786
788
|
if (!isSearchable) setIsOpen(!isOpen);
|
|
787
789
|
},
|
|
788
790
|
children: /* @__PURE__ */ jsx(IconSlot, {
|
|
789
791
|
icon: ChevronDown,
|
|
790
|
-
className: clsx("
|
|
791
|
-
iconClassName: "fill-current stroke-0",
|
|
792
|
+
className: clsx("opacity-50 transition-transform", isOpen && "rotate-180"),
|
|
792
793
|
"aria-hidden": "true"
|
|
793
794
|
})
|
|
794
795
|
})
|
|
@@ -835,7 +836,12 @@ const SelectListBoxItem = ({ isSearchable, isNewItem, newItemRender, id, label,
|
|
|
835
836
|
className: "group-focus-visible:outline-none!"
|
|
836
837
|
})
|
|
837
838
|
}),
|
|
838
|
-
itemContent
|
|
839
|
+
itemContent,
|
|
840
|
+
!isMultiple && /* @__PURE__ */ jsx("span", {
|
|
841
|
+
"aria-hidden": true,
|
|
842
|
+
className: "pointer-events-none absolute right-2 flex size-3.5 items-center justify-center opacity-0 group-selected:opacity-100",
|
|
843
|
+
children: /* @__PURE__ */ jsx(Check, { className: "size-4" })
|
|
844
|
+
})
|
|
839
845
|
]
|
|
840
846
|
});
|
|
841
847
|
};
|
|
@@ -889,7 +895,7 @@ const SelectListBoxLoadingItem = ({ id, label, onLoadMore }) => {
|
|
|
889
895
|
className: selectListItemCva({}),
|
|
890
896
|
children: /* @__PURE__ */ jsx("div", {
|
|
891
897
|
ref,
|
|
892
|
-
className: "flex flex-1 justify-center text-
|
|
898
|
+
className: "flex flex-1 justify-center text-muted-foreground",
|
|
893
899
|
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
894
900
|
})
|
|
895
901
|
});
|
|
@@ -1018,7 +1024,7 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
1018
1024
|
...props,
|
|
1019
1025
|
"aria-label": label,
|
|
1020
1026
|
selectionMode,
|
|
1021
|
-
className: clsx("flex-1 outline-none
|
|
1027
|
+
className: clsx("flex-1 p-1 outline-none", isScrollable ? "max-h-full overflow-y-auto overflow-x-hidden" : "overflow-hidden", className),
|
|
1022
1028
|
items: displayedListItems,
|
|
1023
1029
|
selectedKeys: selectedIds,
|
|
1024
1030
|
onSelectionChange,
|
|
@@ -1033,7 +1039,7 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
1033
1039
|
...props,
|
|
1034
1040
|
"aria-label": label,
|
|
1035
1041
|
selectionMode,
|
|
1036
|
-
className: clsx("flex-1 outline-none
|
|
1042
|
+
className: clsx("flex-1 p-1 outline-none", isScrollable ? "max-h-full overflow-y-auto overflow-x-hidden" : "overflow-hidden", className),
|
|
1037
1043
|
items: displayedListItems,
|
|
1038
1044
|
selectedKeys: selectedIds,
|
|
1039
1045
|
onSelectionChange,
|
|
@@ -1225,10 +1231,10 @@ const FormFieldHeaderClose = ({ onClose }) => {
|
|
|
1225
1231
|
return /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
1226
1232
|
onPress: onClose,
|
|
1227
1233
|
"aria-label": t(($) => $.ui.closeAlt),
|
|
1228
|
-
className: "shrink-0 focus-visible:
|
|
1234
|
+
className: "shrink-0 rounded-sm opacity-70 transition-opacity outline-none hover:opacity-100 focus-visible:ring-[3px] focus-visible:ring-ring/50",
|
|
1229
1235
|
children: /* @__PURE__ */ jsx(IconSlot, {
|
|
1230
1236
|
icon: X,
|
|
1231
|
-
className: "text-
|
|
1237
|
+
className: "text-muted-foreground"
|
|
1232
1238
|
})
|
|
1233
1239
|
});
|
|
1234
1240
|
};
|
|
@@ -1238,7 +1244,7 @@ const SelectListBoxSelectionBar = ({ className }) => {
|
|
|
1238
1244
|
const { t } = useTranslation("ui");
|
|
1239
1245
|
const { onClear, onSelectAll } = SelectContext.useSelect();
|
|
1240
1246
|
return /* @__PURE__ */ jsxs("div", {
|
|
1241
|
-
className: clsx("flex items-center justify-between border-border
|
|
1247
|
+
className: clsx("flex items-center justify-between border-border border-b px-4 py-3", className),
|
|
1242
1248
|
children: [/* @__PURE__ */ jsx(Button, {
|
|
1243
1249
|
type: "button",
|
|
1244
1250
|
color: "primary",
|
|
@@ -1354,8 +1360,8 @@ const SelectMobile = ({ ref, error, showSelectionContent, inputClassName, contai
|
|
|
1354
1360
|
onChange: onInputChange,
|
|
1355
1361
|
rightContent: /* @__PURE__ */ jsx(FormFieldHeaderClose, { onClose: close }),
|
|
1356
1362
|
inputClassName,
|
|
1357
|
-
className: "mb-
|
|
1358
|
-
leadingIcon: !hideSearchIcon ? /* @__PURE__ */ jsx(Search, { className: "size-
|
|
1363
|
+
className: "mb-2 px-4",
|
|
1364
|
+
leadingIcon: !hideSearchIcon ? /* @__PURE__ */ jsx(Search, { className: "size-4" }) : void 0,
|
|
1359
1365
|
isClearable
|
|
1360
1366
|
}), /* @__PURE__ */ jsx(SelectListBox, {
|
|
1361
1367
|
...props,
|
|
@@ -1410,13 +1416,12 @@ const StaticSelectTrailingContent = ({ trailingContent, hideDropdownIcon, size,
|
|
|
1410
1416
|
}), !hideDropdownIcon ? /* @__PURE__ */ jsx("button", {
|
|
1411
1417
|
type: "button",
|
|
1412
1418
|
tabIndex: -1,
|
|
1413
|
-
className: clsx("flex shrink-0 items-center justify-center self-stretch border-0! py-0! pl-
|
|
1419
|
+
className: clsx("flex shrink-0 items-center justify-center self-stretch border-0! py-0! pl-0! outline-none disabled:text-inherit", inputSizeCva({ size })),
|
|
1414
1420
|
disabled: isDisabled,
|
|
1415
1421
|
"aria-hidden": "true",
|
|
1416
1422
|
children: /* @__PURE__ */ jsx(IconSlot, {
|
|
1417
1423
|
icon: ChevronDown,
|
|
1418
|
-
className: "
|
|
1419
|
-
iconClassName: "fill-current stroke-0"
|
|
1424
|
+
className: "opacity-50"
|
|
1420
1425
|
})
|
|
1421
1426
|
}) : void 0] });
|
|
1422
1427
|
};
|
|
@@ -1541,7 +1546,7 @@ function SelectInner({ renderStaticInput, isFormControlDisabled, list, ...inputP
|
|
|
1541
1546
|
dataHasSearch: false
|
|
1542
1547
|
};
|
|
1543
1548
|
const buttonContent = as === "floating" && isEmpty || isMultiple && !isEmpty ? /* @__PURE__ */ jsx(Fragment$1, { children: "\xA0" }) : isEmpty ? /* @__PURE__ */ jsx("span", {
|
|
1544
|
-
className: "block truncate text-
|
|
1549
|
+
className: "block truncate text-muted-foreground empty:before:inline-block empty:before:content-['']",
|
|
1545
1550
|
children: placeholder
|
|
1546
1551
|
}) : /* @__PURE__ */ jsx("span", {
|
|
1547
1552
|
className: "block truncate",
|
|
@@ -1555,13 +1560,15 @@ function SelectInner({ renderStaticInput, isFormControlDisabled, list, ...inputP
|
|
|
1555
1560
|
inputClassName: clsx(props.className, props.inputClassName),
|
|
1556
1561
|
contentWrapperClassName: selectInputTagsContentWrapperCva({ isSearchable }),
|
|
1557
1562
|
contentGroup: "select",
|
|
1563
|
+
contentClassName: "pr-2!",
|
|
1564
|
+
clearClassName: "mr-2",
|
|
1558
1565
|
labelPlacement: "content-row",
|
|
1559
1566
|
dataAttributes,
|
|
1560
1567
|
wrapTrailingContent: false,
|
|
1561
1568
|
onStaticInteract: renderRealInput,
|
|
1562
1569
|
onStaticPress: replayStaticInputPress,
|
|
1563
1570
|
leadingContent: props.leadingContent && /* @__PURE__ */ jsx("div", {
|
|
1564
|
-
className: "
|
|
1571
|
+
className: "flex shrink-0 items-center",
|
|
1565
1572
|
children: props.leadingContent
|
|
1566
1573
|
}),
|
|
1567
1574
|
onClear: () => props.onChange?.(isMultiple ? [] : null),
|
|
@@ -1576,7 +1583,7 @@ function SelectInner({ renderStaticInput, isFormControlDisabled, list, ...inputP
|
|
|
1576
1583
|
"aria-expanded": false,
|
|
1577
1584
|
value: inputValue,
|
|
1578
1585
|
placeholder: shouldRenderPlaceholderAfterValue ? props.placeholder : placeholder ?? void 0,
|
|
1579
|
-
className: clsx("min-w-0 w-full flex-1 bg-transparent outline-none placeholder:text-
|
|
1586
|
+
className: clsx("min-w-0 w-full flex-1 bg-transparent outline-none placeholder:text-muted-foreground disabled:text-inherit", props.inputClassName),
|
|
1580
1587
|
onChange: (event) => replayStaticInputChange(event.target.value),
|
|
1581
1588
|
...dataAttributeProps,
|
|
1582
1589
|
"data-rac": true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as BottomSheetProps } from "./BottomSheet-
|
|
2
|
-
import { n as FormFieldProps } from "./FormField-
|
|
3
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
1
|
+
import { t as BottomSheetProps } from "./BottomSheet-C-jdDmO7.js";
|
|
2
|
+
import { n as FormFieldProps } from "./FormField-BsR2Cjxm.js";
|
|
3
|
+
import { n as InputVariantProps } from "./input.cva-CEFEpKml.js";
|
|
4
4
|
import { s as OmitDiscriminatedUnion } from "./common-UBFya8WY.js";
|
|
5
5
|
import { t as AsyncList } from "./useAsyncList-Cu-Y8If2.js";
|
|
6
6
|
import { FocusEventHandler, MouseEventHandler, ReactElement, ReactNode, Ref } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as SelectInner } from "./Select-
|
|
1
|
+
import { n as SelectInner } from "./Select-BAlYMh4h.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,5 +1,5 @@
|
|
|
1
1
|
import { s as OmitDiscriminatedUnion } from "./common-UBFya8WY.js";
|
|
2
|
-
import { a as SelectProps$1, c as MultiSelectProps, f as SingleSelectProps, n as SelectDataProps, o as DefaultInitialSelectItem, s as GroupedSelectProps } from "./Select-
|
|
2
|
+
import { a as SelectProps$1, c as MultiSelectProps, f as SingleSelectProps, n as SelectDataProps, o as DefaultInitialSelectItem, s as GroupedSelectProps } from "./Select-NNohxr1t.js";
|
|
3
3
|
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
4
4
|
import { ReactElement } from "react";
|
|
5
5
|
import { Key } from "react-aria-components";
|
|
@@ -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: "";
|
|
@@ -2,8 +2,9 @@ import { t as Check } from "./check-DYMBkp_Z.js";
|
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
3
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
4
4
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-C1YB5dOw.js";
|
|
5
|
-
import { t as Typography } from "./Typography-
|
|
6
|
-
import {
|
|
5
|
+
import { t as Typography } from "./Typography-Ba5l4rmj.js";
|
|
6
|
+
import { n as uiOutlineClass } from "./outline.clsx-DGGQQRkM.js";
|
|
7
|
+
import { a as stepperSeparatorDefinition, i as stepperNumberDefinition, n as stepperIconDefinition, o as stepperSubtextDefinition, r as stepperItemDefinition, s as stepperTitleDefinition, t as stepperDefinition } from "./stepper.cva-CQGechUm.js";
|
|
7
8
|
import { Fragment } from "react";
|
|
8
9
|
import { c } from "react/compiler-runtime";
|
|
9
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -27,9 +28,9 @@ const StepperItem = (t0) => {
|
|
|
27
28
|
} else t1 = $[2];
|
|
28
29
|
let t2;
|
|
29
30
|
if ($[3] !== status || $[4] !== stepNumber || $[5] !== stepperNumberCva) {
|
|
30
|
-
t2 = status === "completed" ? /* @__PURE__ */ jsx(Check, { className: "size-
|
|
31
|
-
className: clsx(stepperNumberCva({ status }), "font-
|
|
32
|
-
size: "
|
|
31
|
+
t2 = status === "completed" ? /* @__PURE__ */ jsx(Check, { className: "size-4" }) : /* @__PURE__ */ jsx(Typography, {
|
|
32
|
+
className: clsx(stepperNumberCva({ status }), "font-medium"),
|
|
33
|
+
size: "body",
|
|
33
34
|
children: stepNumber
|
|
34
35
|
});
|
|
35
36
|
$[3] = status;
|
|
@@ -50,14 +51,14 @@ const StepperItem = (t0) => {
|
|
|
50
51
|
let t4;
|
|
51
52
|
if ($[10] !== showSubtext || $[11] !== showTitle || $[12] !== status || $[13] !== step || $[14] !== stepperSubtextCva || $[15] !== stepperTitleCva) {
|
|
52
53
|
t4 = showTitle && /* @__PURE__ */ jsxs("div", {
|
|
53
|
-
className: "flex flex-col gap-
|
|
54
|
+
className: "flex flex-col gap-0.5",
|
|
54
55
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
55
56
|
className: stepperTitleCva({ status }),
|
|
56
|
-
size: "
|
|
57
|
+
size: "body",
|
|
57
58
|
children: step.title
|
|
58
59
|
}), showSubtext && /* @__PURE__ */ jsx(Typography, {
|
|
59
60
|
className: stepperSubtextCva({ status }),
|
|
60
|
-
size: "
|
|
61
|
+
size: "body",
|
|
61
62
|
children: step.subtext
|
|
62
63
|
})]
|
|
63
64
|
});
|
|
@@ -86,7 +87,7 @@ const StepperItem = (t0) => {
|
|
|
86
87
|
if (onPress) {
|
|
87
88
|
t6 = /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
88
89
|
onPress,
|
|
89
|
-
className: clsx("group cursor-pointer", className),
|
|
90
|
+
className: clsx("group cursor-pointer rounded-md", uiOutlineClass, className),
|
|
90
91
|
"aria-current": status === "active" ? "step" : void 0,
|
|
91
92
|
children: content
|
|
92
93
|
});
|