@povio/ui 6.0.0-rc.1 → 6.0.0-rc.11
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-ORBin0EZ.js} +12 -118
- package/dist/{Alert-Cee_nKWj.d.ts → Alert-D4X7OWiv.d.ts} +3 -3
- package/dist/{AlertDialog-uNDUIyng.d.ts → AlertDialog-DklLDjmw.d.ts} +3 -3
- package/dist/{Autocomplete-D_4gEL7D.d.ts → Autocomplete-BgFz3kuR.d.ts} +1 -1
- package/dist/{Autocomplete-CWU9Ev3J.js → Autocomplete-BxRjxjtp.js} +15 -12
- package/dist/{Autocomplete.bound-CqhZtdd8.d.ts → Autocomplete.bound-CpHZZ3C9.d.ts} +1 -1
- package/dist/{Autocomplete.bound-D0pgmsHB.js → Autocomplete.bound-DweyHUI5.js} +2 -2
- package/dist/{Badge-C4HI9XX4.d.ts → Badge-Db1ndK67.d.ts} +2 -2
- package/dist/{BadgeButton-h3MeQYcp.d.ts → BadgeButton-BPhWDAnc.d.ts} +2 -2
- package/dist/{BottomSheet-BQXSdxoX.d.ts → BottomSheet-BZmDJBR-.d.ts} +1 -1
- package/dist/{BottomSheet-z5brMtDt.js → BottomSheet-CGipksM_.js} +10 -10
- package/dist/{BottomSheet.lazy-BzvLg8Ea.d.ts → BottomSheet.lazy-CuJMUeJP.d.ts} +1 -1
- package/dist/{Breadcrumbs-B9O0_VSN.d.ts → Breadcrumbs-CcB0oOF8.d.ts} +1 -1
- package/dist/{Breadcrumbs-AbUBqBTq.js → Breadcrumbs-a1-q_he0.js} +15 -12
- package/dist/{Button-f7FPTaiN.d.ts → Button-0SswSdDg.d.ts} +1 -1
- package/dist/{Button-DER_6cxv.js → Button-BaODzvZd.js} +1 -1
- package/dist/{ButtonBase-CYTFS-xK.d.ts → ButtonBase-CZuEy3Pk.d.ts} +3 -3
- package/dist/{ButtonBase-CeFSNcVs.js → ButtonBase-s-VV7oCa.js} +8 -7
- package/dist/{ButtonContent-c7lJayVQ.js → ButtonContent-Dztbuz3q.js} +5 -14
- package/dist/{Calendar-DRQ536wk.js → Calendar-DX0dVo6z.js} +25 -181
- package/dist/Calendar.lazy-W51M56GQ.js +131 -0
- package/dist/{CheckContent-D7sZPmzx.js → CheckContent-BKLnTPZr.js} +2 -2
- package/dist/{Checkbox-BI3DQPLa.js → Checkbox-Bjsbx-wK.js} +6 -6
- package/dist/{Checkbox-CCvC7OVT.d.ts → Checkbox-w2j5hLOQ.d.ts} +1 -1
- package/dist/{Checkbox.bound-CMZnF2_d.js → Checkbox.bound-D2nBglJz.js} +2 -2
- package/dist/{Checkbox.bound-DBt33Inx.d.ts → Checkbox.bound-DD_RCjVm.d.ts} +1 -1
- package/dist/CheckboxCheckmark-DWsYVZuu.js +25 -0
- package/dist/{CheckboxGroup-DQw4hsFa.js → CheckboxGroup-B3O3IUiu.js} +10 -8
- package/dist/{CheckboxGroup-MJ6crCZk.d.ts → CheckboxGroup-BYI15Y09.d.ts} +3 -3
- package/dist/{CheckboxGroup.bound-CTCdezUN.js → CheckboxGroup.bound-DY0HKGSh.js} +2 -2
- package/dist/{CheckboxGroup.bound-j2Sc8QtU.d.ts → CheckboxGroup.bound-QiJ-P0KR.d.ts} +1 -1
- package/dist/{ComboBox-DFlz6HJ8.js → ComboBox-ChsdI0lt.js} +2 -2
- package/dist/{DatePicker-CSm9c37c.js → DatePicker-CqNS7lgR.js} +17 -14
- package/dist/{DatePicker-umTISfvn.d.ts → DatePicker-QzfQf21b.d.ts} +3 -3
- package/dist/{DatePicker.bound-KLyoWNcX.d.ts → DatePicker.bound-DoCAqhM4.d.ts} +1 -1
- package/dist/{DatePicker.bound-Yqckg7Mk.js → DatePicker.bound-Dxg2LM89.js} +2 -2
- package/dist/{DatePickerInput-Cs9RwZfy.js → DatePickerInput-B2Pc_aJr.js} +41 -288
- package/dist/{DatePickerInput-DwHQvLzi.d.ts → DatePickerInput-vLlL5ATh.d.ts} +3 -3
- package/dist/{DateRangePicker-hV_U1IK0.d.ts → DateRangePicker-32D4pWJg.d.ts} +5 -5
- package/dist/{DateRangePicker-s_4n-F_P.js → DateRangePicker-C3ClfSfj.js} +133 -327
- package/dist/{DateRangePicker.bound-D-GPENNe.d.ts → DateRangePicker.bound-CVtoVsho.d.ts} +1 -1
- package/dist/{DateRangePicker.bound-C1klxYW0.js → DateRangePicker.bound-PR9rBoXc.js} +2 -2
- package/dist/{DateTimePicker-wgV0SUeZ.d.ts → DateTimePicker-BTRIUagV.d.ts} +3 -3
- package/dist/{DateTimePicker-411pU7VF.js → DateTimePicker-CYa2J-1r.js} +17 -14
- package/dist/{DateTimePicker.bound-BDyUzidV.js → DateTimePicker.bound-CQxnRveH.js} +2 -2
- package/dist/{DateTimePicker.bound-cF2X_ncj.d.ts → DateTimePicker.bound-X4DTyQ1b.d.ts} +1 -1
- package/dist/{Dialog-DSl1Fkqi.js → Dialog-96c4Pzfm.js} +9 -9
- package/dist/{Dialog-lFYX-7Ax.js → Dialog-C9H9_BmK.js} +35 -6
- package/dist/{Dialog-V-2cgGk1.d.ts → Dialog-CO9xljD3.d.ts} +1 -1
- package/dist/Disclosure-BRSkMbZQ.js +109 -0
- package/dist/{DropdownMenu-DH7E2aXb.js → DropdownMenu-DS0RaEfH.js} +11 -29
- package/dist/{DropdownMenu-Bl_C5W_E.d.ts → DropdownMenu-D_9z9ond.d.ts} +2 -2
- package/dist/{DropdownMenuDesktop-nMoCa6N5.js → DropdownMenuDesktop-DGPIfex-.js} +6 -27
- package/dist/{FileInput-Q72yXorH.d.ts → FileInput-BEaECoBS.d.ts} +7 -7
- package/dist/{FileInput-CqRrQRM-.js → FileInput-IRM0C9W6.js} +20 -19
- package/dist/{FileInput.bound-BZ7-g-dq.js → FileInput.bound-CctyulN9.js} +2 -2
- package/dist/{FileInput.bound-CG2G5E2K.d.ts → FileInput.bound-D2HuuqSb.d.ts} +1 -1
- package/dist/{FileTrigger-DBX1Io6E.js → FileTrigger-DlryDp2T.js} +1 -30
- package/dist/{FileUpload-B4ibHWQn.d.ts → FileUpload-BUTSqHVk.d.ts} +1 -1
- package/dist/{FileUpload-CG60c6wM.js → FileUpload-Dfs3FvJ7.js} +53 -134
- package/dist/{FileUpload.bound-C-Zy1n5Y.d.ts → FileUpload.bound-CGQXb4iT.d.ts} +2 -2
- package/dist/{FileUpload.bound-DQ6uuH2W.js → FileUpload.bound-vik_sTkm.js} +2 -2
- package/dist/{FileUploadContainer-CtUhDntB.d.ts → FileUploadContainer-Dzg5aXXZ.d.ts} +1 -1
- package/dist/{FormField-BIRMlgu4.d.ts → FormField-DGyCDxOp.d.ts} +5 -2
- package/dist/{FormField-D7KKJ6kG.js → FormField-dduTMkNH.js} +58 -37
- package/dist/{FormFieldError-Bqjg9cMb.js → FormFieldError-DTT5TUQ1.js} +2 -2
- package/dist/FormFieldHeaderTooltip-Dt-g40Tc.js +17 -0
- package/dist/FormLayout-CBYgWvwW.d.ts +47 -0
- package/dist/{IconButton-BM2DUNtN.d.ts → IconButton-shH_9wcl.d.ts} +1 -1
- package/dist/{IconSlot-DSK7qNxc.js → IconSlot-CqNuZl0E.js} +4 -4
- package/dist/{iconSlot.cva-BA9NahZH.d.ts → IconSlot-DcEDPaNb.d.ts} +3 -11
- package/dist/{InlineTooltipWrapper-DBuQX2yo.js → InlineTooltipWrapper-CKTiFpZn.js} +3 -3
- package/dist/{Input-BX3sZBEp.d.ts → Input-CTp_9mS9.d.ts} +3 -3
- package/dist/{Input-CG4Irgae.js → Input-UbFhc_J2.js} +29 -13
- package/dist/{Input.bound-jZx8gJro.js → Input.bound-0iJO2-ia.js} +2 -2
- package/dist/{Input.bound-BE-espm0.d.ts → Input.bound-B9a62ylL.d.ts} +1 -1
- package/dist/{InputContent-DDFr0kml.d.ts → InputContent-BCNkN4Fx.d.ts} +4 -4
- package/dist/{InputContent-KhD4_YvO.js → InputContent-D7lnNLWk.js} +35 -22
- package/dist/{Link-Bw2m9W4B.d.ts → Link-PvYB_M-j.d.ts} +5 -3
- package/dist/{ListBox-CoUk0kkt.js → ListBox-DhR5kojP.js} +3 -3
- package/dist/{MenuItem-DPZzOqp2.d.ts → MenuItem-U3-pu1j5.d.ts} +1 -1
- package/dist/{Modal-B4p1zFqi.js → Modal-DcLWF9cB.js} +1 -1
- package/dist/{NumberField-qjvHhCfN.d.ts → NumberField-WXebfxjK.d.ts} +4 -4
- package/dist/{NumberField-CxwTlqud.js → NumberField-twW8zuJ9.js} +38 -14
- package/dist/{NumberField.bound-zySl-v_q.js → NumberField.bound-DHDsBNvI.js} +2 -2
- package/dist/{NumberField.bound-DXPGF5YK.d.ts → NumberField.bound-Dy0A5iVc.d.ts} +1 -1
- package/dist/{NumberRangeInput-CS4Kn427.d.ts → NumberRangeInput-BCKQaGpy.d.ts} +2 -2
- package/dist/{NumberRangeInput-BrW03wC6.js → NumberRangeInput-gT6gEJIz.js} +18 -17
- package/dist/{NumberRangeInput.bound-CKywKEKI.js → NumberRangeInput.bound-5Yv3Og73.js} +2 -2
- package/dist/{NumberRangeInput.bound-C8I7m1cW.d.ts → NumberRangeInput.bound-BNXxIQ0b.d.ts} +1 -1
- package/dist/PageHeader-DTfzf-dA.d.ts +61 -0
- package/dist/{Pagination-DkpAg2x6.d.ts → Pagination-BCGUVYOF.d.ts} +1 -1
- package/dist/{PaginationList-DNmZRcS6.d.ts → PaginationList-CvlSkJGn.d.ts} +1 -1
- package/dist/{PaginationList-PjOxNQwB.js → PaginationList-D7SRwySe.js} +75 -74
- package/dist/{PasswordInput-BHPFkVbM.d.ts → PasswordInput-EhQjYyJS.d.ts} +1 -1
- package/dist/{PasswordInput.bound-DC57m4NT.d.ts → PasswordInput.bound-CK5GwKL4.d.ts} +1 -1
- package/dist/{PasswordInput.bound-CrXKvfil.js → PasswordInput.bound-CXtbMCD6.js} +3 -3
- package/dist/{Popover-pjd0Hu61.d.ts → Popover-D_t1XDPA.d.ts} +2 -2
- package/dist/{Progress-1WGRZE8l.d.ts → Progress-Ckfpi_-M.d.ts} +4 -4
- package/dist/{Progress-De76pCfX.js → Progress-RiEGGxNG.js} +3 -3
- package/dist/{RadioGroup-DEwQ6B1F.d.ts → RadioGroup-6e-Z6jW8.d.ts} +3 -3
- package/dist/{RadioGroup-BPSvcre6.js → RadioGroup-IL4Y8XHO.js} +11 -9
- package/dist/{RadioGroup.bound-CN4K9dV2.js → RadioGroup.bound-BFWSq-on.js} +2 -2
- package/dist/{RadioGroup.bound-Dj6CEG6M.d.ts → RadioGroup.bound-w3SZqSkH.d.ts} +1 -1
- package/dist/RangeCalendar-0W1YFZqn.js +288 -0
- package/dist/{RichTextEditor-BYIQW8QA.js → RichTextEditor-BuqZth3X.js} +32 -409
- package/dist/{RichTextEditor-hJtuB7Y6.d.ts → RichTextEditor-DHhuBeT6.d.ts} +1 -1
- package/dist/{Select-Br_3eecr.js → Select-B-TuE_Fh.js} +217 -468
- package/dist/{Select-DHYddedn.d.ts → Select-C34ENdjq.d.ts} +5 -3
- package/dist/{Select.bound-CgLKMzLn.js → Select.bound-CNCChZww.js} +2 -2
- package/dist/{Select.bound-CJ-tCsmX.d.ts → Select.bound-qOihchei.d.ts} +1 -1
- package/dist/SelectListBox-Dlonoc5z.js +390 -0
- package/dist/SelectionIndicator-C3hniBa2.js +18 -0
- package/dist/SharedElementTransition-CZ2bE7yo.js +96 -0
- package/dist/SidebarWorkspaces-DDHJAdNH.d.ts +132 -0
- package/dist/SidebarWorkspaces-DJknAfS9.js +1298 -0
- package/dist/{Slider-CqB2TPTR.js → Slider-DCsCCPFx.js} +10 -11
- package/dist/{Slider-CcoNTFVN.d.ts → Slider-DRg8zKRM.d.ts} +1 -1
- package/dist/{Slider.bound-Bp7Zrs9_.js → Slider.bound-CByTXPTr.js} +2 -2
- package/dist/{Slider.bound-8B5qzQ-8.d.ts → Slider.bound-CaEF19um.d.ts} +1 -1
- package/dist/{Spinner-B-crRcdG.d.ts → Spinner-Cvy_6zgD.d.ts} +5 -5
- package/dist/{Spinner-BeVTUzzx.js → Spinner-DqjP06T1.js} +29 -41
- package/dist/{SplitButton-BzhbtpFA.d.ts → SplitButton-V1f2NWfh.d.ts} +3 -3
- package/dist/{Stepper-CMw6QnCu.js → Stepper-Dyhxp0Tl.js} +13 -12
- package/dist/{Stepper-LORgYAJr.d.ts → Stepper-k91x_m-E.d.ts} +18 -18
- package/dist/{Switch-R0kAicgM.js → Switch-BfpSMMpv.js} +6 -6
- package/dist/{Switch-CSitpm4o.d.ts → Switch-ELVPkPx0.d.ts} +1 -1
- package/dist/{Switch.bound-DVjqsum1.d.ts → Switch.bound-DeEdVvZV.d.ts} +1 -1
- package/dist/{Switch.bound-Dk-BmxJd.js → Switch.bound-Dv0cHsMM.js} +2 -2
- package/dist/TableRowDetails-D8HFTghI.d.ts +109 -0
- package/dist/TabsFilters-CWUNeqYa.js +223 -0
- package/dist/TabsFilters-DePddjCk.d.ts +30 -0
- package/dist/Tag-B2_ZiSE-.d.ts +44 -0
- package/dist/{TextArea-DCnqXuHC.js → TextArea-DakA3nzZ.js} +8 -7
- package/dist/{TextArea-e8sQm205.d.ts → TextArea-iqUeB2QY.d.ts} +2 -2
- package/dist/{TextArea.bound-DEZuRYm_.d.ts → TextArea.bound-BJHyCogp.d.ts} +1 -1
- package/dist/{TextArea.bound-BJZ9m_FE.js → TextArea.bound-CDVPP_qb.js} +2 -2
- package/dist/{TextArea.cva-Bb73hriz.js → TextArea.cva-ENXI55ec.js} +1 -1
- package/dist/{TimePicker-Zi7B6VTr.d.ts → TimePicker-BZ1ocsBX.d.ts} +2 -2
- package/dist/{TimePicker-BwF-Crbg.js → TimePicker-RFzfDezn.js} +20 -18
- package/dist/{TimePicker.bound-Bxtb6uJL.d.ts → TimePicker.bound-8DmjMXuE.d.ts} +1 -1
- package/dist/{TimePicker.bound-B-BVLNbk.js → TimePicker.bound-DPia51Qs.js} +2 -2
- package/dist/{datePickerValue.utils-OAQBDk1R.js → TimePickerForm-DohOZViU.js} +12 -16
- package/dist/{Toast-Dl6KMa58.d.ts → Toast-D9pdadZ4.d.ts} +1 -1
- package/dist/{ToastContainer-BDvta6st.js → ToastContainer-Dd0LPykL.js} +5 -5
- package/dist/{ToggleButton-Cce9bnBw.d.ts → ToggleButton-HUZ8ij6i.d.ts} +1 -1
- package/dist/{ToggleButton-DUQ8nwKY.js → ToggleButton-P1z1pxzT.js} +2 -2
- package/dist/{ToggleGroup-s5sDSB6l.js → ToggleGroup-CrDoeLN0.js} +127 -114
- package/dist/{ToggleGroup-BJ8cqXaO.d.ts → ToggleGroup-DvjnSinl.d.ts} +5 -23
- package/dist/{ToggleGroup.bound-Cv09n91n.d.ts → ToggleGroup.bound-B03ISHQ8.d.ts} +1 -1
- package/dist/{ToggleGroup.bound-DEc7rdNF.js → ToggleGroup.bound-DCnYwmBt.js} +2 -2
- package/dist/{Tooltip-BiS7isYB.d.ts → Tooltip-B8DTURLQ.d.ts} +1 -1
- package/dist/{Tooltip-CMigoyri.js → Tooltip-DRB6lo0U.js} +8 -44
- package/dist/{TooltipWrapper-D7HUZLsP.js → TooltipWrapper-DLBksJsF.js} +21 -10
- package/dist/{Typography-LU4z2pR1.js → Typography-DCLnPa3P.js} +2 -2
- package/dist/{Typography-D2FfZr7a.d.ts → Typography-DJojwiXV.d.ts} +2 -2
- package/dist/{accordion.cva-CeBWV9EO.js → accordion.cva-DwxY-k1e.js} +17 -25
- package/dist/{badgeButton.cva-B8EQLwPv.d.ts → badgeButton.cva-CBFIhr1S.d.ts} +8 -8
- package/dist/badgeButton.cva-t5PQOH4M.js +138 -0
- package/dist/{breadcrumbs.cva-DPwJJK_D.js → breadcrumbs.cva-CnBIZUB3.js} +9 -9
- package/dist/{button.cva-CBckM91c.d.ts → button.cva-C8LGtNJ3.d.ts} +21 -16
- package/dist/button.cva-Ciga0rdG.js +267 -0
- package/dist/{buttonContent.cva-DG-4lRz4.d.ts → buttonContent.cva-BapnODby.d.ts} +2 -2
- package/dist/{checkbox.cva-CJy87xUo.d.ts → checkbox.cva-CCh_UlrC.d.ts} +6 -6
- package/dist/{checkbox.cva-D-D9Qgaf.js → checkbox.cva-aLJS7v4z.js} +24 -33
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +98 -103
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +11 -11
- 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 +5 -5
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +9 -9
- package/dist/components/bottom-sheet-header.d.ts +1 -1
- package/dist/components/bottom-sheet-header.js +13 -12
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +3 -3
- 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 +16 -2
- package/dist/components/date-range-picker.js +2 -2
- 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 +4 -4
- 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/form-layout.d.ts +2 -0
- package/dist/components/form-layout.js +80 -0
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +2 -2
- package/dist/components/icon-slot.d.ts +2 -1
- package/dist/components/icon-slot.js +1 -1
- package/dist/components/input-frame.d.ts +5 -4
- package/dist/components/input-frame.js +48 -33
- 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 +3 -3
- 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/page-header.d.ts +2 -0
- package/dist/components/page-header.js +210 -0
- 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 +8 -8
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/password-input.js +3 -3
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +4 -4
- 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/sidebar.d.ts +2 -0
- package/dist/components/sidebar.js +2 -0
- 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 +3 -3
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/style-definitions.d.ts +2 -2
- package/dist/components/style-definitions.js +31 -30
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tabs-filters.d.ts +2 -0
- package/dist/components/tabs-filters.js +2 -0
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +8 -8
- 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 +2 -2
- 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 +2 -2
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/confirmation.js +1 -1
- package/dist/config/link-context.d.ts +2 -2
- package/dist/config/link-context.js +1 -1
- package/dist/config/resources.d.ts +1 -1
- package/dist/config/resources.js +1 -1
- package/dist/config/theme-context.js +1 -1
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/config/ui-overrides.d.ts +1 -1
- package/dist/config/ui-overrides.js +1 -1
- package/dist/config/ui-router.js +1 -1
- package/dist/{confirmation.context-BSn1s-ip.js → confirmation.context-BwlIEVeF.js} +2 -2
- package/dist/{confirmation.context-B2z9A1v3.d.ts → confirmation.context-C_GDRn3a.d.ts} +1 -1
- package/dist/{datePickerInput.cva-Cd7UUN61.js → datePickerInput.cva-Du0Zn04v.js} +2 -2
- package/dist/datePickerValue.utils-CkmPaD6I.js +4 -0
- package/dist/{dialog.cva-sioU_5R7.js → dialog.cva-BIpz6HcA.js} +7 -7
- package/dist/{dist-CAFUM34b.js → dist-DEZzXa0W.js} +15 -14
- package/dist/dropdownMenu.cva-DwSOcbmR.js +31 -0
- package/dist/{fileUpload.cva-ujmStxB1.js → fileUpload.cva-BYzXGc9C.js} +11 -11
- package/dist/{fileUpload.types-BT8P1o7a.d.ts → fileUpload.types-C-ke21yY.d.ts} +2 -2
- package/dist/{form.binding-B-2id68q.js → form.binding-DOR5gIQf.js} +1 -1
- package/dist/{formFieldError.cva-CTl0VeyG.js → formFieldError.cva-BB6Ghqwq.js} +3 -3
- package/dist/formFieldHelper.cva-DRmSyRZN.js +14 -0
- package/dist/formLayout.context--CN08Mtb.js +14 -0
- package/dist/hooks/use-async-list.js +1 -1
- package/dist/hooks/use-filters.js +1 -1
- package/dist/hooks/use-local-storage.js +1 -1
- package/dist/{i18n-BjNKHh_D.js → i18n-BE9Wvs9L.js} +6 -2
- package/dist/{i18n-2z5on9No.d.ts → i18n-EDC8xyfH.d.ts} +8 -0
- package/dist/iconSlot.cva-CLB5Tlsr.d.ts +9 -0
- package/dist/icons.d.ts +2 -1
- package/dist/icons.js +3 -3
- package/dist/import-Dkfk7PHt.js +255 -0
- package/dist/index.d.ts +78 -73
- package/dist/index.js +95 -91
- package/dist/{input.cva-L7jKDv6q.d.ts → input.cva-BjuHsDGy.d.ts} +11 -11
- package/dist/input.cva-DZii82eS.js +185 -0
- package/dist/inputLayout-KdAtunGk.js +5 -0
- package/dist/label.cva-DTfT6FrX.js +85 -0
- package/dist/{link.context-C4fE_aMo.d.ts → link.context-BCHn7NSy.d.ts} +1 -1
- package/dist/link.cva-C24YVAsJ.js +16 -0
- package/dist/outline.clsx-DGGQQRkM.js +6 -0
- package/dist/popover.cva-DAbfSma6.js +5 -0
- package/dist/{progress.cva-D7iiX6Lh.js → progress.cva-CsGaGVJ-.js} +7 -7
- package/dist/{radio.cva-DO3UEac-.d.ts → radio.cva-D7M1hqLe.d.ts} +9 -5
- package/dist/{radio.cva-Ctdop1xV.js → radio.cva-DistaZtZ.js} +33 -19
- 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-DStkOdwm.js} +2 -2
- package/dist/selectItem.cva-B6vxey2R.js +27 -0
- package/dist/{staticDateTimeSegments-Bt5wCZvg.js → staticDateTimeSegments-4tIzPL8l.js} +12 -12
- package/dist/{status.cva-BFGMKZO_.js → status.cva-CYgi3Htz.js} +21 -21
- package/dist/{stepper.cva-CpRi0fGb.js → stepper.cva-Cecphqeo.js} +23 -35
- package/dist/{style-definitions-_RXJdSk-.d.ts → style-definitions-Dx6aFDiR.d.ts} +159 -144
- 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-BT0kGRIk.js +24 -0
- package/dist/switch.cva-r6vcS25Q.d.ts +16 -0
- package/dist/table.cva-DkcsOmZG.js +147 -0
- package/dist/tag.cva-ExMNsTN-.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/form.js +2 -2
- 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 +2 -2
- 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 +3 -3
- 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-CmbhAoHU.js → tanstack-Bgdv0qU1.js} +2 -1
- package/dist/{tanstack-DQu9PNjn.d.ts → tanstack-CtuKX9Ss.d.ts} +195 -96
- package/dist/tanstack.d.ts +78 -73
- package/dist/tanstack.js +95 -91
- package/dist/{theme.context-B3wQDJ-i.js → theme.context--VEyStJB.js} +2 -2
- package/dist/{toast.cva-L0k_TBiW.d.ts → toast.cva-AmLw6Cf5.d.ts} +10 -10
- package/dist/{toast.cva-aC4NMpLb.js → toast.cva-B6NXTwbZ.js} +22 -38
- package/dist/{toast.runtime-DKOeUnk6.js → toast.runtime-Drd2IJ_j.js} +1 -1
- package/dist/toggleGroup.cva-CJ-3Ps7j.js +35 -0
- package/dist/toggleGroup.cva-DA4U21gn.d.ts +26 -0
- package/dist/{tooltip.cva-ClcaR72U.js → tooltip.cva-BEyxvcG2.js} +11 -11
- package/dist/{tooltipWrapper.cva-BBQ4ic3D.js → tooltipWrapper.cva-t4NQ9zz9.js} +1 -1
- package/dist/typography.cva-BCHlTHdM.d.ts +36 -0
- package/dist/typography.cva-CHsHX_Wp.js +31 -0
- package/dist/{uiConfig.context-CT9EVqC5.js → uiConfig.context-3DN9w6oU.js} +19 -114
- package/dist/{uiConfig.context-CQU9Tzq_.d.ts → uiConfig.context-BnCORTNm.d.ts} +22 -9
- package/dist/{uiOverrides.context-Dmev7iRS.d.ts → uiOverrides.context-DHHzLSnq.d.ts} +23 -0
- package/dist/{useBreakpoint-BzYqQEBO.js → useBreakpoint-CJ3mx7UF.js} +6 -6
- package/dist/{useFilters-HIngImwn.js → useFilters-DMi94RZK.js} +2 -2
- package/dist/{useFormAutosave-XEQqk1lK.js → useFormAutosave-BPGlChiY.js} +1 -1
- package/dist/useScrollableListBox-oYKqU3Hp.js +47 -0
- package/dist/{useStaticInputHandoff-DyYxfwv6.js → useStaticInputHandoff-BN0fOerH.js} +9 -10
- package/dist/useTableColumnConfig-D3KH4Rpo.js +2060 -0
- package/dist/{useTableNav-rU9WmCj6.d.ts → useTableNav-H5DrogZU.d.ts} +29 -44
- package/dist/{useToast-DfQif03I.d.ts → useToast-DsA8CVoY.d.ts} +1 -1
- package/package.json +22 -5
- package/dist/CheckboxCheckmark-BzT6MwH5.js +0 -47
- package/dist/FormFieldHeaderTooltip-k8Snf_oM.js +0 -47
- package/dist/SelectionIndicator-B7C5Y0JM.js +0 -5
- package/dist/SharedElementTransition-DJ9CCbEa.js +0 -12
- 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/check-DYMBkp_Z.js +0 -20
- package/dist/chevron-down-B4Pr8bD3.js +0 -20
- package/dist/chevron-right-3nKJR5Bb.js +0 -20
- package/dist/chevrons-right-DJPPn2fD.js +0 -44
- package/dist/createLucideIcon-LcezOE4z.js +0 -240
- package/dist/dropdownMenu.cva-Bi3a21lO.js +0 -34
- package/dist/eye-BA4nRlMX.js +0 -57
- package/dist/formFieldHelper.cva-CxAmrG2H.js +0 -97
- 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/popover.cva-Bhud1wnp.js +0 -5
- 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-CmfeWLyW.d.ts +0 -84
- 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
- package/dist/useTableColumnConfig-CUINwVTR.js +0 -1348
- package/dist/x-B6vfz8Ps.js +0 -23
- package/dist/{dom.utils-BbfrA6RP.js → dom.utils-BPooTXtC.js} +1 -1
- package/dist/{link.context-J7aQtMOr.js → link.context-TPjDtjw3.js} +1 -1
- package/dist/{router.context-B4FvsTim.js → router.context-MckTbHw9.js} +1 -1
- package/dist/{uiOverrides.context-BTCH9y5a.js → uiOverrides.context-DNEQlTx0.js} +1 -1
- package/dist/{useAsyncList-yHz7twsj.js → useAsyncList-Ct74ve3i.js} +1 -1
- package/dist/{useForm-eW4KpH1u.js → useForm-Cb7KWLds.js} +1 -1
- package/dist/{useIntersectionObserver-DYfHnGGU.js → useIntersectionObserver-DFAhTsV0.js} +1 -1
- package/dist/{useLocalStorage-PlcaJ1tP.js → useLocalStorage-CctQvyqD.js} +1 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
|
-
import { t as UIOverrides } from "./uiOverrides.context-
|
|
3
|
-
import { t as IconSlot } from "./IconSlot-
|
|
4
|
-
import { n as $bc25b811ec97a172$export$40258cc1d95ff477, t as $75afe627ae0cc0fa$export$d2b052e7b4be1756 } from "./ToggleButton-
|
|
5
|
-
import { t as Typography } from "./Typography-
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
|
+
import { t as IconSlot } from "./IconSlot-CqNuZl0E.js";
|
|
4
|
+
import { n as $bc25b811ec97a172$export$40258cc1d95ff477, t as $75afe627ae0cc0fa$export$d2b052e7b4be1756 } from "./ToggleButton-P1z1pxzT.js";
|
|
5
|
+
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
6
|
+
import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
|
|
6
7
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
7
|
-
import { t as FormField } from "./FormField-
|
|
8
|
+
import { t as FormField } from "./FormField-dduTMkNH.js";
|
|
8
9
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
9
|
-
import { n as toggleGroupItemDefinition, t as toggleGroupDefinition } from "./toggleGroup.cva-
|
|
10
|
-
import { Fragment, useMemo, useRef } from "react";
|
|
10
|
+
import { n as toggleGroupItemDefinition, t as toggleGroupDefinition } from "./toggleGroup.cva-CJ-3Ps7j.js";
|
|
11
11
|
import { c } from "react/compiler-runtime";
|
|
12
|
+
import { Fragment, useMemo, useRef } from "react";
|
|
12
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
14
|
import { useToggleButtonGroup } from "react-aria";
|
|
14
15
|
//#region ../../node_modules/.bun/react-stately@3.51.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/toggle/useToggleGroupState.mjs
|
|
@@ -37,15 +38,16 @@ function $3d8ad31c4c1725e9$export$8deac67f4addf270(props) {
|
|
|
37
38
|
//#endregion
|
|
38
39
|
//#region src/components/ToggleGroup/ToggleGroupItem.tsx
|
|
39
40
|
const ToggleGroupItem = (t0) => {
|
|
40
|
-
const $ = c(
|
|
41
|
+
const $ = c(24);
|
|
41
42
|
let className;
|
|
42
43
|
let icon;
|
|
43
44
|
let id;
|
|
44
45
|
let isDisabled;
|
|
45
46
|
let label;
|
|
46
47
|
let props;
|
|
48
|
+
let size;
|
|
47
49
|
if ($[0] !== t0) {
|
|
48
|
-
({label, icon, id, isDisabled, className, ...props} = t0);
|
|
50
|
+
({label, icon, id, isDisabled, className, size, ...props} = t0);
|
|
49
51
|
$[0] = t0;
|
|
50
52
|
$[1] = className;
|
|
51
53
|
$[2] = icon;
|
|
@@ -53,6 +55,7 @@ const ToggleGroupItem = (t0) => {
|
|
|
53
55
|
$[4] = isDisabled;
|
|
54
56
|
$[5] = label;
|
|
55
57
|
$[6] = props;
|
|
58
|
+
$[7] = size;
|
|
56
59
|
} else {
|
|
57
60
|
className = $[1];
|
|
58
61
|
icon = $[2];
|
|
@@ -60,39 +63,42 @@ const ToggleGroupItem = (t0) => {
|
|
|
60
63
|
isDisabled = $[4];
|
|
61
64
|
label = $[5];
|
|
62
65
|
props = $[6];
|
|
66
|
+
size = $[7];
|
|
63
67
|
}
|
|
64
68
|
const iconOnly = !!(icon && !label);
|
|
65
69
|
const toggleGroupItemCva = UIOverrides.useCva("toggleGroup.itemCva", toggleGroupItemDefinition);
|
|
66
70
|
let t1;
|
|
67
|
-
if ($[
|
|
71
|
+
if ($[8] !== className || $[9] !== iconOnly || $[10] !== size || $[11] !== toggleGroupItemCva) {
|
|
68
72
|
t1 = toggleGroupItemCva({
|
|
69
73
|
iconOnly,
|
|
74
|
+
size,
|
|
70
75
|
className
|
|
71
76
|
});
|
|
72
|
-
$[
|
|
73
|
-
$[
|
|
74
|
-
$[
|
|
75
|
-
$[
|
|
76
|
-
|
|
77
|
+
$[8] = className;
|
|
78
|
+
$[9] = iconOnly;
|
|
79
|
+
$[10] = size;
|
|
80
|
+
$[11] = toggleGroupItemCva;
|
|
81
|
+
$[12] = t1;
|
|
82
|
+
} else t1 = $[12];
|
|
77
83
|
let t2;
|
|
78
|
-
if ($[
|
|
84
|
+
if ($[13] !== icon) {
|
|
79
85
|
t2 = icon && /* @__PURE__ */ jsx(IconSlot, { icon });
|
|
80
|
-
$[
|
|
81
|
-
$[
|
|
82
|
-
} else t2 = $[
|
|
86
|
+
$[13] = icon;
|
|
87
|
+
$[14] = t2;
|
|
88
|
+
} else t2 = $[14];
|
|
83
89
|
let t3;
|
|
84
|
-
if ($[
|
|
90
|
+
if ($[15] !== label) {
|
|
85
91
|
t3 = label && /* @__PURE__ */ jsx(Typography, {
|
|
86
|
-
size: "
|
|
92
|
+
size: "body",
|
|
87
93
|
as: "span",
|
|
88
94
|
className: "overflow-hidden text-ellipsis text-center",
|
|
89
95
|
children: label
|
|
90
96
|
});
|
|
91
|
-
$[
|
|
92
|
-
$[
|
|
93
|
-
} else t3 = $[
|
|
97
|
+
$[15] = label;
|
|
98
|
+
$[16] = t3;
|
|
99
|
+
} else t3 = $[16];
|
|
94
100
|
let t4;
|
|
95
|
-
if ($[
|
|
101
|
+
if ($[17] !== id || $[18] !== isDisabled || $[19] !== props || $[20] !== t1 || $[21] !== t2 || $[22] !== t3) {
|
|
96
102
|
t4 = /* @__PURE__ */ jsxs($75afe627ae0cc0fa$export$d2b052e7b4be1756, {
|
|
97
103
|
...props,
|
|
98
104
|
id,
|
|
@@ -100,20 +106,20 @@ const ToggleGroupItem = (t0) => {
|
|
|
100
106
|
isDisabled,
|
|
101
107
|
children: [t2, t3]
|
|
102
108
|
});
|
|
103
|
-
$[
|
|
104
|
-
$[
|
|
105
|
-
$[
|
|
106
|
-
$[
|
|
107
|
-
$[
|
|
108
|
-
$[
|
|
109
|
-
$[
|
|
110
|
-
} else t4 = $[
|
|
109
|
+
$[17] = id;
|
|
110
|
+
$[18] = isDisabled;
|
|
111
|
+
$[19] = props;
|
|
112
|
+
$[20] = t1;
|
|
113
|
+
$[21] = t2;
|
|
114
|
+
$[22] = t3;
|
|
115
|
+
$[23] = t4;
|
|
116
|
+
} else t4 = $[23];
|
|
111
117
|
return t4;
|
|
112
118
|
};
|
|
113
119
|
//#endregion
|
|
114
120
|
//#region src/components/ToggleGroup/ToggleGroup.tsx
|
|
115
121
|
const ToggleGroupBase = (t0) => {
|
|
116
|
-
const $ = c(
|
|
122
|
+
const $ = c(59);
|
|
117
123
|
let className;
|
|
118
124
|
let defaultValue;
|
|
119
125
|
let error;
|
|
@@ -122,10 +128,11 @@ const ToggleGroupBase = (t0) => {
|
|
|
122
128
|
let onChange;
|
|
123
129
|
let ref;
|
|
124
130
|
let rest;
|
|
131
|
+
let sizeProp;
|
|
125
132
|
let toggleGroupItemClassName;
|
|
126
133
|
let value;
|
|
127
134
|
if ($[0] !== t0) {
|
|
128
|
-
({className, ref, onBlur, items, error, onChange, value, defaultValue, toggleGroupItemClassName, ...rest} = t0);
|
|
135
|
+
({className, ref, onBlur, items, error, onChange, value, defaultValue, toggleGroupItemClassName, size: sizeProp, ...rest} = t0);
|
|
129
136
|
$[0] = t0;
|
|
130
137
|
$[1] = className;
|
|
131
138
|
$[2] = defaultValue;
|
|
@@ -135,8 +142,9 @@ const ToggleGroupBase = (t0) => {
|
|
|
135
142
|
$[6] = onChange;
|
|
136
143
|
$[7] = ref;
|
|
137
144
|
$[8] = rest;
|
|
138
|
-
$[9] =
|
|
139
|
-
$[10] =
|
|
145
|
+
$[9] = sizeProp;
|
|
146
|
+
$[10] = toggleGroupItemClassName;
|
|
147
|
+
$[11] = value;
|
|
140
148
|
} else {
|
|
141
149
|
className = $[1];
|
|
142
150
|
defaultValue = $[2];
|
|
@@ -146,111 +154,115 @@ const ToggleGroupBase = (t0) => {
|
|
|
146
154
|
onChange = $[6];
|
|
147
155
|
ref = $[7];
|
|
148
156
|
rest = $[8];
|
|
149
|
-
|
|
150
|
-
|
|
157
|
+
sizeProp = $[9];
|
|
158
|
+
toggleGroupItemClassName = $[10];
|
|
159
|
+
value = $[11];
|
|
151
160
|
}
|
|
161
|
+
const ui = UIConfig.useConfig();
|
|
162
|
+
const size = sizeProp ?? ui.toggleGroup.size ?? ui.input.size;
|
|
152
163
|
let t1;
|
|
153
|
-
if ($[
|
|
164
|
+
if ($[12] !== defaultValue) {
|
|
154
165
|
t1 = defaultValue === void 0 ? void 0 : defaultValue === null ? [] : Array.isArray(defaultValue) ? defaultValue : [defaultValue];
|
|
155
|
-
$[
|
|
156
|
-
$[
|
|
157
|
-
} else t1 = $[
|
|
166
|
+
$[12] = defaultValue;
|
|
167
|
+
$[13] = t1;
|
|
168
|
+
} else t1 = $[13];
|
|
158
169
|
let t2;
|
|
159
|
-
if ($[
|
|
170
|
+
if ($[14] !== value) {
|
|
160
171
|
t2 = value === void 0 ? void 0 : value === null ? [] : Array.isArray(value) ? value : [value];
|
|
161
|
-
$[
|
|
162
|
-
$[
|
|
163
|
-
} else t2 = $[
|
|
172
|
+
$[14] = value;
|
|
173
|
+
$[15] = t2;
|
|
174
|
+
} else t2 = $[15];
|
|
164
175
|
let t3;
|
|
165
|
-
if ($[
|
|
176
|
+
if ($[16] !== rest || $[17] !== t1 || $[18] !== t2) {
|
|
166
177
|
t3 = {
|
|
167
178
|
...rest,
|
|
168
179
|
defaultSelectedKeys: t1,
|
|
169
180
|
selectedKeys: t2
|
|
170
181
|
};
|
|
171
|
-
$[
|
|
172
|
-
$[
|
|
173
|
-
$[
|
|
174
|
-
$[
|
|
175
|
-
} else t3 = $[
|
|
182
|
+
$[16] = rest;
|
|
183
|
+
$[17] = t1;
|
|
184
|
+
$[18] = t2;
|
|
185
|
+
$[19] = t3;
|
|
186
|
+
} else t3 = $[19];
|
|
176
187
|
const props = t3;
|
|
177
188
|
const buttonGroupRef = useRef(null);
|
|
178
189
|
const state = $3d8ad31c4c1725e9$export$8deac67f4addf270(props);
|
|
179
190
|
const { groupProps } = useToggleButtonGroup(props, state, buttonGroupRef);
|
|
180
191
|
const toggleGroupCva = UIOverrides.useCva("toggleGroup.cva", toggleGroupDefinition);
|
|
181
192
|
let t4;
|
|
182
|
-
if ($[
|
|
193
|
+
if ($[20] !== error || $[21] !== props.isDisabled) {
|
|
183
194
|
t4 = {
|
|
184
195
|
error,
|
|
185
196
|
label: "",
|
|
186
197
|
hideLabel: true,
|
|
187
198
|
isDisabled: props.isDisabled
|
|
188
199
|
};
|
|
189
|
-
$[
|
|
190
|
-
$[
|
|
191
|
-
$[
|
|
192
|
-
} else t4 = $[
|
|
200
|
+
$[20] = error;
|
|
201
|
+
$[21] = props.isDisabled;
|
|
202
|
+
$[22] = t4;
|
|
203
|
+
} else t4 = $[22];
|
|
193
204
|
const formFieldProps = t4;
|
|
194
205
|
let t5;
|
|
195
|
-
if ($[
|
|
206
|
+
if ($[23] !== onChange || $[24] !== props.selectionMode) {
|
|
196
207
|
t5 = (keys) => {
|
|
197
208
|
if (props.selectionMode === "multiple") onChange?.(Array.from(keys.values()));
|
|
198
209
|
else onChange?.(Array.from(keys.values())[0] ?? null);
|
|
199
210
|
};
|
|
200
|
-
$[
|
|
201
|
-
$[
|
|
202
|
-
$[
|
|
203
|
-
} else t5 = $[
|
|
211
|
+
$[23] = onChange;
|
|
212
|
+
$[24] = props.selectionMode;
|
|
213
|
+
$[25] = t5;
|
|
214
|
+
} else t5 = $[25];
|
|
204
215
|
const onSelectionChange = t5;
|
|
205
216
|
let t6;
|
|
206
|
-
if ($[
|
|
217
|
+
if ($[26] !== items.length) {
|
|
207
218
|
t6 = items.length > 2 ? Array.from({ length: items.length * 2 - 1 }, _temp).join(" ") : `repeat(${items.length}, 1fr)`;
|
|
208
|
-
$[
|
|
209
|
-
$[
|
|
210
|
-
} else t6 = $[
|
|
219
|
+
$[26] = items.length;
|
|
220
|
+
$[27] = t6;
|
|
221
|
+
} else t6 = $[27];
|
|
211
222
|
const gridTemplateColumns = t6;
|
|
212
223
|
let t7;
|
|
213
|
-
if ($[
|
|
224
|
+
if ($[28] !== onBlur) {
|
|
214
225
|
t7 = (event) => {
|
|
215
226
|
if (!event.currentTarget.contains(event.relatedTarget)) onBlur?.(event);
|
|
216
227
|
};
|
|
217
|
-
$[
|
|
218
|
-
$[
|
|
219
|
-
} else t7 = $[
|
|
228
|
+
$[28] = onBlur;
|
|
229
|
+
$[29] = t7;
|
|
230
|
+
} else t7 = $[29];
|
|
220
231
|
let t8;
|
|
221
|
-
if ($[
|
|
232
|
+
if ($[30] !== className) {
|
|
222
233
|
t8 = clsx("relative w-full", className);
|
|
223
|
-
$[
|
|
224
|
-
$[
|
|
225
|
-
} else t8 = $[
|
|
234
|
+
$[30] = className;
|
|
235
|
+
$[31] = t8;
|
|
236
|
+
} else t8 = $[31];
|
|
226
237
|
const t9 = ref;
|
|
227
238
|
let t10;
|
|
228
|
-
if ($[
|
|
239
|
+
if ($[32] !== t9) {
|
|
229
240
|
t10 = $a8ea2faf2ebe4d2f$re_export$mergeRefs(t9, buttonGroupRef);
|
|
230
|
-
$[
|
|
231
|
-
$[
|
|
232
|
-
} else t10 = $[
|
|
241
|
+
$[32] = t9;
|
|
242
|
+
$[33] = t10;
|
|
243
|
+
} else t10 = $[33];
|
|
233
244
|
let t11;
|
|
234
|
-
if ($[
|
|
245
|
+
if ($[34] !== className || $[35] !== props || $[36] !== toggleGroupCva) {
|
|
235
246
|
t11 = toggleGroupCva({
|
|
236
247
|
...props,
|
|
237
248
|
className
|
|
238
249
|
});
|
|
239
|
-
$[
|
|
240
|
-
$[
|
|
241
|
-
$[
|
|
242
|
-
$[
|
|
243
|
-
} else t11 = $[
|
|
250
|
+
$[34] = className;
|
|
251
|
+
$[35] = props;
|
|
252
|
+
$[36] = toggleGroupCva;
|
|
253
|
+
$[37] = t11;
|
|
254
|
+
} else t11 = $[37];
|
|
244
255
|
let t12;
|
|
245
|
-
if ($[
|
|
256
|
+
if ($[38] !== gridTemplateColumns) {
|
|
246
257
|
t12 = { gridTemplateColumns };
|
|
247
|
-
$[
|
|
248
|
-
$[
|
|
249
|
-
} else t12 = $[
|
|
258
|
+
$[38] = gridTemplateColumns;
|
|
259
|
+
$[39] = t12;
|
|
260
|
+
} else t12 = $[39];
|
|
250
261
|
let t13;
|
|
251
|
-
if ($[
|
|
262
|
+
if ($[40] !== items || $[41] !== props.isDisabled || $[42] !== size || $[43] !== state || $[44] !== toggleGroupItemClassName) {
|
|
252
263
|
t13 = items.map((item, index) => /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(ToggleGroupItem, {
|
|
253
264
|
...item,
|
|
265
|
+
size,
|
|
254
266
|
className: clsx(item.className, toggleGroupItemClassName),
|
|
255
267
|
isDisabled: item.isDisabled || props.isDisabled,
|
|
256
268
|
isSelected: state.selectedKeys.has(item.id),
|
|
@@ -258,17 +270,18 @@ const ToggleGroupBase = (t0) => {
|
|
|
258
270
|
state.toggleKey(item.id);
|
|
259
271
|
}
|
|
260
272
|
}), index !== items.length - 1 && items.length > 2 && /* @__PURE__ */ jsx("div", {
|
|
261
|
-
className: clsx("h-5 w-px rounded-2xl", !state.selectedKeys.has(item.id) && !state.selectedKeys.has(items[index + 1].id) && "bg-border
|
|
273
|
+
className: clsx("h-5 w-px rounded-2xl", !state.selectedKeys.has(item.id) && !state.selectedKeys.has(items[index + 1].id) && "bg-border"),
|
|
262
274
|
children: /* @__PURE__ */ jsx("span", { className: "flex h-full w-px" })
|
|
263
275
|
})] }, item.id));
|
|
264
|
-
$[
|
|
265
|
-
$[
|
|
266
|
-
$[
|
|
267
|
-
$[
|
|
268
|
-
$[
|
|
269
|
-
|
|
276
|
+
$[40] = items;
|
|
277
|
+
$[41] = props.isDisabled;
|
|
278
|
+
$[42] = size;
|
|
279
|
+
$[43] = state;
|
|
280
|
+
$[44] = toggleGroupItemClassName;
|
|
281
|
+
$[45] = t13;
|
|
282
|
+
} else t13 = $[45];
|
|
270
283
|
let t14;
|
|
271
|
-
if ($[
|
|
284
|
+
if ($[46] !== groupProps || $[47] !== onSelectionChange || $[48] !== props || $[49] !== t10 || $[50] !== t11 || $[51] !== t12 || $[52] !== t13) {
|
|
272
285
|
t14 = /* @__PURE__ */ jsx($bc25b811ec97a172$export$40258cc1d95ff477, {
|
|
273
286
|
...props,
|
|
274
287
|
...groupProps,
|
|
@@ -278,29 +291,29 @@ const ToggleGroupBase = (t0) => {
|
|
|
278
291
|
style: t12,
|
|
279
292
|
children: t13
|
|
280
293
|
});
|
|
281
|
-
$[
|
|
282
|
-
$[
|
|
283
|
-
$[
|
|
284
|
-
$[
|
|
285
|
-
$[
|
|
286
|
-
$[
|
|
287
|
-
$[
|
|
288
|
-
$[
|
|
289
|
-
} else t14 = $[
|
|
294
|
+
$[46] = groupProps;
|
|
295
|
+
$[47] = onSelectionChange;
|
|
296
|
+
$[48] = props;
|
|
297
|
+
$[49] = t10;
|
|
298
|
+
$[50] = t11;
|
|
299
|
+
$[51] = t12;
|
|
300
|
+
$[52] = t13;
|
|
301
|
+
$[53] = t14;
|
|
302
|
+
} else t14 = $[53];
|
|
290
303
|
let t15;
|
|
291
|
-
if ($[
|
|
304
|
+
if ($[54] !== formFieldProps || $[55] !== t14 || $[56] !== t7 || $[57] !== t8) {
|
|
292
305
|
t15 = /* @__PURE__ */ jsx(FormField, {
|
|
293
306
|
onBlurCapture: t7,
|
|
294
307
|
...formFieldProps,
|
|
295
308
|
className: t8,
|
|
296
309
|
children: t14
|
|
297
310
|
});
|
|
298
|
-
$[
|
|
299
|
-
$[
|
|
300
|
-
$[
|
|
301
|
-
$[
|
|
302
|
-
$[
|
|
303
|
-
} else t15 = $[
|
|
311
|
+
$[54] = formFieldProps;
|
|
312
|
+
$[55] = t14;
|
|
313
|
+
$[56] = t7;
|
|
314
|
+
$[57] = t8;
|
|
315
|
+
$[58] = t15;
|
|
316
|
+
} else t15 = $[58];
|
|
304
317
|
return t15;
|
|
305
318
|
};
|
|
306
319
|
function ToggleGroup(props) {
|
|
@@ -1,26 +1,6 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import "./style-definitions-_RXJdSk-.js";
|
|
1
|
+
import { n as ToggleGroupVariantProps, t as ToggleGroupItemVariantProps } from "./toggleGroup.cva-DA4U21gn.js";
|
|
3
2
|
import { FC, FocusEventHandler, ReactElement, Ref, SVGProps } from "react";
|
|
4
3
|
import { Key, ToggleButtonGroupProps, ToggleButtonProps } from "react-aria-components";
|
|
5
|
-
//#region src/components/ToggleGroup/toggleGroup.cva.d.ts
|
|
6
|
-
declare const toggleGroupDefinition: {
|
|
7
|
-
base: string[];
|
|
8
|
-
config?: StyleMergeUtils.Config<Record<never, never>>;
|
|
9
|
-
};
|
|
10
|
-
type ToggleGroupConfig = NonNullable<typeof toggleGroupDefinition.config>;
|
|
11
|
-
interface ToggleGroupVariantProps extends UIOverrides.VariantProps<ToggleGroupConfig> {}
|
|
12
|
-
declare const toggleGroupItemDefinition: {
|
|
13
|
-
base: string[];
|
|
14
|
-
config: StyleMergeUtils.Config<{
|
|
15
|
-
readonly iconOnly: {
|
|
16
|
-
readonly true: "px-segmented-control-height-segment";
|
|
17
|
-
readonly false: "px-segmented-control-side-segment";
|
|
18
|
-
};
|
|
19
|
-
}>;
|
|
20
|
-
};
|
|
21
|
-
type ToggleGroupItemConfig = NonNullable<typeof toggleGroupItemDefinition.config>;
|
|
22
|
-
interface ToggleGroupItemVariantProps extends UIOverrides.VariantProps<ToggleGroupItemConfig> {}
|
|
23
|
-
//#endregion
|
|
24
4
|
//#region src/components/ToggleGroup/toggleGroup.types.d.ts
|
|
25
5
|
interface ToggleGroupItem<TKey extends Key = Key> extends ToggleButtonProps, ToggleGroupItemVariantProps {
|
|
26
6
|
id: TKey;
|
|
@@ -46,15 +26,17 @@ type ToggleGroupProps<TKey extends Key = Key> = Omit<ToggleButtonGroupProps & To
|
|
|
46
26
|
items: ToggleGroupItem<TKey>[];
|
|
47
27
|
className?: string;
|
|
48
28
|
toggleGroupItemClassName?: string;
|
|
29
|
+
/** Item height. Falls back to `UIConfig.toggleGroup.size`, then `UIConfig.input.size`. */
|
|
30
|
+
size?: ToggleGroupItemVariantProps["size"];
|
|
49
31
|
error?: string;
|
|
50
32
|
} & GroupedToggleGroupProps<TKey> & {
|
|
51
33
|
field?: never;
|
|
52
34
|
};
|
|
53
35
|
//#endregion
|
|
54
36
|
//#region src/components/ToggleGroup/ToggleGroup.d.ts
|
|
55
|
-
declare const ToggleGroupBase: <TKey extends Key = Key>({ className, ref, onBlur, items, error, onChange, value, defaultValue, toggleGroupItemClassName, ...rest }: ToggleGroupProps<TKey>) => import("react").JSX.Element;
|
|
37
|
+
declare const ToggleGroupBase: <TKey extends Key = Key>({ className, ref, onBlur, items, error, onChange, value, defaultValue, toggleGroupItemClassName, size: sizeProp, ...rest }: ToggleGroupProps<TKey>) => import("react").JSX.Element;
|
|
56
38
|
declare function ToggleGroup<TKey extends Key = Key>(props: ToggleGroupProps<TKey> & {
|
|
57
39
|
field?: never;
|
|
58
40
|
}): import("react").JSX.Element;
|
|
59
41
|
//#endregion
|
|
60
|
-
export { ToggleGroupProps as a, SingleToggleGroupProps as i, ToggleGroupBase as n,
|
|
42
|
+
export { ToggleGroupProps as a, SingleToggleGroupProps as i, ToggleGroupBase as n, MultiToggleGroupProps as r, ToggleGroup as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
2
|
-
import { a as ToggleGroupProps$1, i as SingleToggleGroupProps, r as MultiToggleGroupProps } from "./ToggleGroup-
|
|
2
|
+
import { a as ToggleGroupProps$1, i as SingleToggleGroupProps, r as MultiToggleGroupProps } from "./ToggleGroup-DvjnSinl.js";
|
|
3
3
|
import { Key } from "react-aria-components";
|
|
4
4
|
//#region src/components/ToggleGroup/ToggleGroup.bound.d.ts
|
|
5
5
|
type ControlledToggleGroupProps<TFieldValues extends FieldValues, TKey extends Key = Key> = FormControlProps<ToggleGroupProps$1<TKey> & SingleToggleGroupProps<TKey>, TFieldValues> | FormControlProps<ToggleGroupProps$1<TKey> & MultiToggleGroupProps<TKey>, TFieldValues>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
-
import { n as ToggleGroupBase } from "./ToggleGroup-
|
|
2
|
+
import { t as FieldController } from "./form.binding-DOR5gIQf.js";
|
|
3
|
+
import { n as ToggleGroupBase } from "./ToggleGroup-CrDoeLN0.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ToggleGroup/ToggleGroup.bound.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as TooltipVariantProps } from "./style-definitions-
|
|
1
|
+
import { i as TooltipVariantProps } from "./style-definitions-Dx6aFDiR.js";
|
|
2
2
|
import { PropsWithChildren, ReactNode } from "react";
|
|
3
3
|
import { TooltipProps } from "react-aria-components";
|
|
4
4
|
//#region src/components/overlays/Tooltip/Tooltip.d.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
2
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
-
import { t as UIOverrides } from "./uiOverrides.context-
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
4
3
|
import { 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";
|
|
5
4
|
import { n as $4fcfe18fac72dabd$export$746d02f47f4d381, t as $4fcfe18fac72dabd$export$2de4954e8ae13b9f } from "./OverlayArrow-DF0jMwul.js";
|
|
6
|
-
import { i as tooltipTextDefinition, n as tooltipPointerHorizontalDefinition, r as tooltipPointerVerticalDefinition, t as tooltipDefinition } from "./tooltip.cva-
|
|
7
|
-
import { t as Typography } from "./Typography-
|
|
8
|
-
import
|
|
5
|
+
import { i as tooltipTextDefinition, n as tooltipPointerHorizontalDefinition, r as tooltipPointerVerticalDefinition, t as tooltipDefinition } from "./tooltip.cva-BEyxvcG2.js";
|
|
6
|
+
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
7
|
+
import { ChevronLeft, ChevronUp } from "lucide-react";
|
|
9
8
|
import { c } from "react/compiler-runtime";
|
|
9
|
+
import $ahdqC$react, { Fragment, createContext, forwardRef, useContext, useRef } from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { mergeProps } from "react-aria/mergeProps";
|
|
12
12
|
import { filterDOMProps } from "react-aria/filterDOMProps";
|
|
@@ -17,42 +17,6 @@ import { useOverlayPosition } from "react-aria/useOverlayPosition";
|
|
|
17
17
|
import { OverlayContainer } from "react-aria/private/overlays/useModal";
|
|
18
18
|
import { useTooltip, useTooltipTrigger } from "react-aria/useTooltipTrigger";
|
|
19
19
|
import { useFocusable } from "react-aria";
|
|
20
|
-
//#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/chevron-left.mjs
|
|
21
|
-
/**
|
|
22
|
-
* @license lucide-react v1.43.0 - ISC
|
|
23
|
-
*
|
|
24
|
-
* This source code is licensed under the ISC license.
|
|
25
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/
|
|
27
|
-
const __iconData$1 = {
|
|
28
|
-
name: "chevron-left",
|
|
29
|
-
size: 24,
|
|
30
|
-
node: [["path", {
|
|
31
|
-
d: "m15 18-6-6 6-6",
|
|
32
|
-
key: "1wnfg3"
|
|
33
|
-
}]]
|
|
34
|
-
};
|
|
35
|
-
__iconData$1.node;
|
|
36
|
-
const ChevronLeft = createLucideIcon(__iconData$1);
|
|
37
|
-
//#endregion
|
|
38
|
-
//#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/chevron-up.mjs
|
|
39
|
-
/**
|
|
40
|
-
* @license lucide-react v1.43.0 - ISC
|
|
41
|
-
*
|
|
42
|
-
* This source code is licensed under the ISC license.
|
|
43
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
44
|
-
*/
|
|
45
|
-
const __iconData = {
|
|
46
|
-
name: "chevron-up",
|
|
47
|
-
size: 24,
|
|
48
|
-
node: [["path", {
|
|
49
|
-
d: "m18 15-6-6-6 6",
|
|
50
|
-
key: "153udz"
|
|
51
|
-
}]]
|
|
52
|
-
};
|
|
53
|
-
__iconData.node;
|
|
54
|
-
const ChevronUp = createLucideIcon(__iconData);
|
|
55
|
-
//#endregion
|
|
56
20
|
//#region ../../node_modules/.bun/react-aria-components@1.22.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/Tooltip.mjs
|
|
57
21
|
const $05a50f7d78b03ad9$export$7a7623236eec67fa = /*#__PURE__*/ createContext(null);
|
|
58
22
|
const $05a50f7d78b03ad9$export$39ae08fa83328b12 = /*#__PURE__*/ createContext(null);
|
|
@@ -239,7 +203,7 @@ const Tooltip = (t0) => {
|
|
|
239
203
|
} else t9 = $[18];
|
|
240
204
|
let t10;
|
|
241
205
|
if ($[19] !== color || $[20] !== tooltipTextCva) {
|
|
242
|
-
t10 =
|
|
206
|
+
t10 = tooltipTextCva({ color });
|
|
243
207
|
$[19] = color;
|
|
244
208
|
$[20] = tooltipTextCva;
|
|
245
209
|
$[21] = t10;
|
|
@@ -247,7 +211,7 @@ const Tooltip = (t0) => {
|
|
|
247
211
|
let t11;
|
|
248
212
|
if ($[22] !== t10 || $[23] !== text) {
|
|
249
213
|
t11 = /* @__PURE__ */ jsx(Typography, {
|
|
250
|
-
size: "
|
|
214
|
+
size: "small",
|
|
251
215
|
className: t10,
|
|
252
216
|
children: text
|
|
253
217
|
});
|
|
@@ -289,4 +253,4 @@ const Tooltip = (t0) => {
|
|
|
289
253
|
return t13;
|
|
290
254
|
};
|
|
291
255
|
//#endregion
|
|
292
|
-
export {
|
|
256
|
+
export { Tooltip as t };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-CT9EVqC5.js";
|
|
2
|
-
import { t as X } from "./x-B6vfz8Ps.js";
|
|
3
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import { t as UIOverrides } from "./uiOverrides.context-
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
|
+
import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
|
|
4
|
+
import { n as inputClearClassDefinition } from "./input.cva-DZii82eS.js";
|
|
5
|
+
import "./i18n-BE9Wvs9L.js";
|
|
6
|
+
import { t as tooltipWrapperTriggerDefinition } from "./tooltipWrapper.cva-t4NQ9zz9.js";
|
|
7
|
+
import { X } from "lucide-react";
|
|
7
8
|
import { Suspense, lazy } from "react";
|
|
8
9
|
import { jsx } from "react/jsx-runtime";
|
|
9
10
|
import { useTranslation } from "react-i18next";
|
|
@@ -13,7 +14,7 @@ const InputClear = ({ onClear, as, className, style, show, renderStatic }) => {
|
|
|
13
14
|
const inputClearClassCva = UIOverrides.useCva("input.clearClassCva", inputClearClassDefinition);
|
|
14
15
|
const { t } = useTranslation("ui");
|
|
15
16
|
const alwaysShowClear = ui.input.alwaysShowClear;
|
|
16
|
-
const clearClassName = clsx("relative z-raised flex cursor-pointer items-center border-0 bg-transparent p-0 text-
|
|
17
|
+
const clearClassName = clsx("relative z-raised flex cursor-pointer items-center rounded-sm border-0 bg-transparent p-0 text-muted-foreground transition-colors hover:text-foreground", !alwaysShowClear && "md:invisible group-focus-within:visible group-hover/date-picker-content:visible group-hover/select-content:visible group-hover/text-area:visible group-hover:visible", !show && "invisible!", inputClearClassCva({ as }), className);
|
|
17
18
|
if (renderStatic) return /* @__PURE__ */ jsx("button", {
|
|
18
19
|
type: "button",
|
|
19
20
|
"aria-hidden": !show,
|
|
@@ -23,7 +24,7 @@ const InputClear = ({ onClear, as, className, style, show, renderStatic }) => {
|
|
|
23
24
|
onClick: onClear,
|
|
24
25
|
className: clsx("group inline-flex justify-center", clearClassName),
|
|
25
26
|
style,
|
|
26
|
-
children: /* @__PURE__ */ jsx(X, { className: "size-
|
|
27
|
+
children: /* @__PURE__ */ jsx(X, { className: "size-4 shrink-0" })
|
|
27
28
|
});
|
|
28
29
|
return /* @__PURE__ */ jsx(InputClearButton, {
|
|
29
30
|
onClear,
|
|
@@ -41,16 +42,26 @@ const InputClearButton = ({ onClear, className, style }) => {
|
|
|
41
42
|
onMouseDown: (e) => e.preventDefault(),
|
|
42
43
|
tabIndex: -1,
|
|
43
44
|
style,
|
|
44
|
-
children: /* @__PURE__ */ jsx(X, { className: "size-
|
|
45
|
+
children: /* @__PURE__ */ jsx(X, { className: "size-4 shrink-0" })
|
|
45
46
|
});
|
|
46
47
|
};
|
|
47
48
|
//#endregion
|
|
48
49
|
//#region src/components/inputs/shared/TooltipWrapper.tsx
|
|
49
|
-
const InlineTooltipWrapper = lazy(() => import("./InlineTooltipWrapper-
|
|
50
|
+
const InlineTooltipWrapper = lazy(() => import("./InlineTooltipWrapper-CKTiFpZn.js"));
|
|
51
|
+
const InlineTooltipFallback = ({ children, triggerClassName }) => {
|
|
52
|
+
const triggerCva = UIOverrides.useCva("tooltipWrapper.triggerCva", tooltipWrapperTriggerDefinition);
|
|
53
|
+
return /* @__PURE__ */ jsx("div", {
|
|
54
|
+
className: clsx("inline-flex", triggerCva({ className: triggerClassName })),
|
|
55
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
56
|
+
className: triggerCva({}),
|
|
57
|
+
children
|
|
58
|
+
})
|
|
59
|
+
});
|
|
60
|
+
};
|
|
50
61
|
const TooltipWrapper = (props) => {
|
|
51
62
|
if (props.as !== "inline") return props.children;
|
|
52
63
|
return /* @__PURE__ */ jsx(Suspense, {
|
|
53
|
-
fallback: props
|
|
64
|
+
fallback: /* @__PURE__ */ jsx(InlineTooltipFallback, { ...props }),
|
|
54
65
|
children: /* @__PURE__ */ jsx(InlineTooltipWrapper, { ...props })
|
|
55
66
|
});
|
|
56
67
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as UIOverrides } from "./uiOverrides.context-
|
|
2
|
-
import { t as typographyDefinition } from "./typography.cva-
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
2
|
+
import { t as typographyDefinition } from "./typography.cva-CHsHX_Wp.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/text/Typography/Typography.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as TypographyVariantProps } from "./typography.cva-
|
|
1
|
+
import { t as TypographyVariantProps } from "./typography.cva-BCHlTHdM.js";
|
|
2
2
|
import { HTMLAttributes, Ref } from "react";
|
|
3
3
|
//#region src/components/text/Typography/Typography.d.ts
|
|
4
|
-
type TypographyTag = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "div";
|
|
4
|
+
type TypographyTag = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "div" | "dt" | "dd";
|
|
5
5
|
interface TypographyPropsCva extends Omit<TypographyVariantProps, "size">, Required<Pick<TypographyVariantProps, "size">> {}
|
|
6
6
|
interface TypographyProps extends TypographyPropsCva, HTMLAttributes<HTMLElement> {
|
|
7
7
|
ref?: Ref<HTMLHeadingElement>;
|