@povio/ui 5.0.0 → 5.1.0-rc.1
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/README.md +23 -0
- package/dist/{Alert-24ruR0iF.d.ts → Alert-DJ7J4ZFJ.d.ts} +2 -2
- package/dist/{AlertDialog-Co3gNMwE.d.ts → AlertDialog-Cg63pVUa.d.ts} +3 -3
- package/dist/{Autocomplete-BQ9ZQoJt.d.ts → Autocomplete-C2XybizC.d.ts} +1 -1
- package/dist/{Autocomplete-DbALLWP0.js → Autocomplete-D-g3ok8P.js} +4 -4
- package/dist/{Autocomplete.bound-DCbFBXjJ.d.ts → Autocomplete.bound-BaJYZGJp.d.ts} +1 -1
- package/dist/{Autocomplete.bound-DCPZBYKR.js → Autocomplete.bound-CJVuetm8.js} +1 -1
- package/dist/{Badge-DZLVacMd.d.ts → Badge-BSH4YVD_.d.ts} +2 -2
- package/dist/{BadgeButton-coK9Fzoc.d.ts → BadgeButton-Bwq0SSef.d.ts} +2 -2
- package/dist/{BottomSheet-CGipksM_.js → BottomSheet-D6S4vH_L.js} +1 -1
- package/dist/{BottomSheet-BlcmdfAT.d.ts → BottomSheet-DdHoUvNv.d.ts} +1 -1
- package/dist/{BottomSheet.lazy-CGjuurej.d.ts → BottomSheet.lazy-BLCi51_F.d.ts} +1 -1
- package/dist/{Breadcrumbs-DfREVuAC.d.ts → Breadcrumbs-qAYF_jG0.d.ts} +1 -1
- package/dist/{Button-dRFJundh.js → Button-BQkrCpgq.js} +1 -1
- package/dist/{Button-Cphxmj43.d.ts → Button-zLy_nLM2.d.ts} +1 -1
- package/dist/{ButtonBase-BCYFCbSV.js → ButtonBase-7s_flUU5.js} +1 -1
- package/dist/{ButtonBase-CfSqmiom.d.ts → ButtonBase-B0t70Brt.d.ts} +3 -3
- package/dist/{Calendar-B9jqOJB6.js → Calendar-DpI8K7xm.js} +38 -18
- package/dist/{Calendar.lazy-4d7pbB4k.js → Calendar.lazy-Dg50nZQY.js} +3 -3
- package/dist/{Checkbox-DYeofZzs.js → Checkbox-CZ9_SfXz.js} +2 -2
- package/dist/{Checkbox-D2VVq5Bi.d.ts → Checkbox-Df6NfL5V.d.ts} +1 -1
- package/dist/{Checkbox.bound-DyQFIVCw.js → Checkbox.bound-C5GA4K6k.js} +1 -1
- package/dist/{Checkbox.bound-Hdvnrnwb.d.ts → Checkbox.bound-DmHYarAO.d.ts} +1 -1
- package/dist/{CheckboxCheckmark-DYhxLfZN.js → CheckboxCheckmark-Bqp1iJtc.js} +2 -2
- package/dist/{CheckboxGroup-CK_tTvvI.js → CheckboxGroup-C6FbtubK.js} +2 -2
- package/dist/{CheckboxGroup-CTkBMnBN.d.ts → CheckboxGroup-DXMP1Fex.d.ts} +3 -3
- package/dist/{CheckboxGroup.bound-DyCp83EI.js → CheckboxGroup.bound-Dj0aSHC8.js} +1 -1
- package/dist/{CheckboxGroup.bound-C6e91DCT.d.ts → CheckboxGroup.bound-R_k5mYm8.d.ts} +1 -1
- package/dist/ColumnConfigContent-DkMScfib.js +1025 -0
- package/dist/ColumnListContent-DBQ09rAa.js +410 -0
- package/dist/{DatePicker-CJj3Gp_S.js → DatePicker-BHU6CDtz.js} +45 -12
- package/dist/{DatePicker-1VbVBI4l.d.ts → DatePicker-BISGiQSI.d.ts} +3 -3
- package/dist/{DatePicker.bound-ZvJi_V8D.d.ts → DatePicker.bound-Cw6scTAM.d.ts} +1 -1
- package/dist/{DatePicker.bound-BWPOirPV.js → DatePicker.bound-RgShEA8L.js} +1 -1
- package/dist/{DatePickerInput-B8UhMVP6.d.ts → DatePickerInput-2sNgmuoN.d.ts} +3 -3
- package/dist/{DatePickerInput-C5-kkdpq.js → DatePickerInput-BLTKP3tx.js} +9 -7
- package/dist/{DateRangePicker-B8O8nA1M.d.ts → DateRangePicker-BaB2DNLG.d.ts} +3 -3
- package/dist/{DateRangePicker-BO92JO3A.js → DateRangePicker-DXxtyr0r.js} +9 -8
- package/dist/{DateRangePicker.bound-cDWQPCUj.js → DateRangePicker.bound-DjVRKJcK.js} +1 -1
- package/dist/{DateRangePicker.bound-B_Lg8Tna.d.ts → DateRangePicker.bound-QCTKDVl_.d.ts} +1 -1
- package/dist/{DateTimePicker-DSzd33fp.js → DateTimePicker-CjcXV8rE.js} +7 -6
- package/dist/{DateTimePicker-BRy_VN63.d.ts → DateTimePicker-hszpbYIl.d.ts} +3 -3
- package/dist/{DateTimePicker.bound-BQUJXvBQ.js → DateTimePicker.bound-CzCsHpRR.js} +1 -1
- package/dist/{DateTimePicker.bound-Bt9wdYeR.d.ts → DateTimePicker.bound-ZCaPwW0Y.d.ts} +1 -1
- package/dist/{Dialog-DN5703sy.js → Dialog-C1Bx2GEV.js} +1 -1
- package/dist/{Dialog-CDiUZFcf.d.ts → Dialog-Ds0TI_Td.d.ts} +1 -1
- package/dist/{DropdownMenu-oJzwpMXL.d.ts → DropdownMenu-DB7o7x8-.d.ts} +2 -2
- package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-RxtMVBps.js} +1 -1
- package/dist/{FileInput-dTcR3V93.js → FileInput-Ckhcg51P.js} +3 -3
- package/dist/{FileInput-Bm3_nNb4.d.ts → FileInput-DfxsB0a1.d.ts} +5 -5
- package/dist/{FileInput.bound-puNboLYc.d.ts → FileInput.bound-CLhQYqpj.d.ts} +1 -1
- package/dist/{FileInput.bound-B5b7BLGg.js → FileInput.bound-wgeflaxC.js} +1 -1
- package/dist/{FileUpload-ksjKICmv.d.ts → FileUpload-3-6Qglu_.d.ts} +1 -1
- package/dist/{FileUpload-JogkVfav.js → FileUpload-Lx_SbMx3.js} +518 -42
- package/dist/{FileUpload.bound-D4sr1tsH.d.ts → FileUpload.bound-13y385n5.d.ts} +2 -2
- package/dist/{FileUpload.bound-TTr9FNMS.js → FileUpload.bound-Bc5UpoqY.js} +1 -1
- package/dist/{FileUploadContainer-DRIxUmp2.d.ts → FileUploadContainer-BkWliwMs.d.ts} +1 -1
- package/dist/{FormField-DHCcfchm.d.ts → FormField-DudIjynh.d.ts} +1 -1
- package/dist/{IconButton-BqmX_sMz.d.ts → IconButton-DjSMQQ21.d.ts} +1 -1
- package/dist/{Input-Dq2Raco6.js → Input-B5gqqeY2.js} +5 -4
- package/dist/{Input-DKNzGXy-.d.ts → Input-DOcHgfnC.d.ts} +3 -3
- package/dist/{Input.bound-BxngTsaq.d.ts → Input.bound-BQ5qmiic.d.ts} +1 -1
- package/dist/{Input.bound-CB0WNCLI.js → Input.bound-Dh_r-cuO.js} +1 -1
- package/dist/{InputContent-5WKp0yNK.js → InputContent-C-Ehc3a1.js} +6 -4
- package/dist/{InputContent-C5wdgK9u.d.ts → InputContent-DPk9z1ok.d.ts} +3 -3
- package/dist/{Link-n1MxiBY_.d.ts → Link-BLfof_56.d.ts} +2 -2
- package/dist/{MenuItem-Cj7ytjH0.d.ts → MenuItem-CcTiVJwA.d.ts} +1 -1
- package/dist/{NumberField-BQwc6a7u.js → NumberField-BV7btNsa.js} +5 -4
- package/dist/{NumberField-BUTmx-kv.d.ts → NumberField-twNxAPIR.d.ts} +3 -3
- package/dist/{NumberField.bound-DhGXXd4v.d.ts → NumberField.bound-CEDt5Qal.d.ts} +1 -1
- package/dist/{NumberField.bound-Ha6jrlsv.js → NumberField.bound-m0TMCT0p.js} +1 -1
- package/dist/{NumberRangeInput-KngK-OvN.js → NumberRangeInput-Bpe21Zud.js} +4 -3
- package/dist/{NumberRangeInput-BwUPbB0M.d.ts → NumberRangeInput-CPorXVrd.d.ts} +2 -2
- package/dist/{NumberRangeInput.bound-j_WC6iJC.d.ts → NumberRangeInput.bound-4rJn1cqj.d.ts} +1 -1
- package/dist/{NumberRangeInput.bound-VafOPEAu.js → NumberRangeInput.bound-YNjx-mcx.js} +1 -1
- package/dist/{PageHeader-DtV-4JEh.d.ts → PageHeader--_hyMRiw.d.ts} +2 -2
- package/dist/{PasswordInput-DNt_CfI8.d.ts → PasswordInput-RaHAwisG.d.ts} +1 -1
- package/dist/{PasswordInput.bound-EOqjNEVC.d.ts → PasswordInput.bound-CY6PTSDk.d.ts} +1 -1
- package/dist/{PasswordInput.bound-D4tGX20e.js → PasswordInput.bound-CiJodOlN.js} +2 -2
- package/dist/{Popover-DRqROtxR.d.ts → Popover-C4GKBeaX.d.ts} +2 -2
- package/dist/{Progress-uzAAtLNk.d.ts → Progress-CnckNLA0.d.ts} +2 -2
- package/dist/{RadioGroup-Dvq0TiEB.js → RadioGroup-C5oxb7Zu.js} +1 -1
- package/dist/{RadioGroup-skcBf54J.d.ts → RadioGroup-CzE2pv1Z.d.ts} +3 -3
- package/dist/{RadioGroup.bound-CpxN2p6t.d.ts → RadioGroup.bound-DxYpHGgd.d.ts} +1 -1
- package/dist/{RadioGroup.bound-B-xm1dwo.js → RadioGroup.bound-YnYV2ADL.js} +1 -1
- package/dist/{RangeCalendar-p7ajg_wH.js → RangeCalendar-Bmeu-aDS.js} +4 -4
- package/dist/{RichTextEditor-DLBfexN_.js → RichTextEditor-60wfzqDv.js} +13 -9
- package/dist/{RichTextEditor-B9zaBMWl.d.ts → RichTextEditor-jHcEEeUf.d.ts} +1 -1
- package/dist/{Select-DNF-GpuC.d.ts → Select-B3uIrS07.d.ts} +3 -3
- package/dist/{Select-hIRIXRz1.js → Select-Dd5yAUMX.js} +26 -12
- package/dist/{Select.bound-CpN6KalY.d.ts → Select.bound-7yT5eT1D.d.ts} +1 -1
- package/dist/{Select.bound-BrAIDjfv.js → Select.bound-B5BABhqc.js} +1 -1
- package/dist/{SelectListBox-ysubv-kl.js → SelectListBox-Ci3VXYDB.js} +23 -11
- package/dist/{SidebarWorkspaces-DJknAfS9.js → SidebarWorkspaces-DjprMXTK.js} +1 -1
- package/dist/{SidebarWorkspaces-Drgog0IO.d.ts → SidebarWorkspaces-j4eNE3Dc.d.ts} +1 -1
- package/dist/{Slider-DCsCCPFx.js → Slider-Cyg3xUIy.js} +1 -1
- package/dist/{Slider-JlRCD72s.d.ts → Slider-DPkwrTPB.d.ts} +1 -1
- package/dist/{Slider.bound-CByTXPTr.js → Slider.bound-DR4CDKah.js} +1 -1
- package/dist/{Slider.bound-BChOUGvm.d.ts → Slider.bound-mDyKpk5b.d.ts} +1 -1
- package/dist/{Spinner-DNguPtBP.d.ts → Spinner-DDIGQMdy.d.ts} +2 -2
- package/dist/{SplitButton-BTuc5oYU.d.ts → SplitButton-Cl0OotCy.d.ts} +3 -3
- package/dist/{Stepper-DNu5YlbG.d.ts → Stepper-C42LqWVY.d.ts} +2 -2
- package/dist/{Switch-CVt-dT9Z.d.ts → Switch-AzzCGybn.d.ts} +1 -1
- package/dist/{Switch-BfpSMMpv.js → Switch-C0JkyNRc.js} +1 -1
- package/dist/{Switch.bound-Dv0cHsMM.js → Switch.bound-Akzh7yLe.js} +1 -1
- package/dist/{Switch.bound-56C86rOe.d.ts → Switch.bound-BN6VZFIu.d.ts} +1 -1
- package/dist/TableDnd-lKAzjdMo.js +224 -0
- package/dist/TableDragHandle-Dypn1H3e.js +42 -0
- package/dist/{TableRowDetails-A_FdBE_d.d.ts → TableRowDetails-BUjTAaX_.d.ts} +9 -5
- package/dist/{TabsFilters-BDoCGfRA.d.ts → TabsFilters-D5_GTSUn.d.ts} +1 -1
- package/dist/{TabsFilters-ka2sUZPi.js → TabsFilters-DinXME1z.js} +2 -2
- package/dist/{Tag-BxYYX-i7.d.ts → Tag-BT_DWubz.d.ts} +3 -3
- package/dist/{TextArea-DxAHDgz4.d.ts → TextArea-BLBtdME_.d.ts} +2 -2
- package/dist/{TextArea-CqT0_Bn-.js → TextArea-BuZ7-sl8.js} +2 -2
- package/dist/{TextArea.bound-kHkY_d9o.js → TextArea.bound-Cq9ygf7N.js} +1 -1
- package/dist/{TextArea.bound-oSnqk1Un.d.ts → TextArea.bound-DNIv0B6x.d.ts} +1 -1
- package/dist/{TimePicker-Duw94UIt.js → TimePicker-CWXawTn4.js} +11 -9
- package/dist/{TimePicker-Yg84ntZH.d.ts → TimePicker-NjamhLJ4.d.ts} +2 -2
- package/dist/{TimePicker.bound-5b_qcmeo.d.ts → TimePicker.bound-BX86D4HJ.d.ts} +1 -1
- package/dist/{TimePicker.bound-DX5pXlgZ.js → TimePicker.bound-DINg3Eqe.js} +1 -1
- package/dist/{TimePickerForm-BiWPFcsD.js → TimePickerForm-Csp_0tIY.js} +13 -8
- package/dist/{Toast-DbIZorlS.d.ts → Toast-DzsNOMnh.d.ts} +1 -1
- package/dist/{ToastContainer-DtpZaefx.js → ToastContainer-J4y5mLdO.js} +3 -3
- package/dist/{ToggleButton-CdcLn-PW.d.ts → ToggleButton-BOjC9UCs.d.ts} +1 -1
- package/dist/{ToggleGroup-Co1-A0Ti.js → ToggleGroup-BSl6K-jV.js} +1 -1
- package/dist/{ToggleGroup-Cbx9Keza.d.ts → ToggleGroup-z8vtwj1Y.d.ts} +1 -1
- package/dist/{ToggleGroup.bound-DphkH_jH.js → ToggleGroup.bound-Bbk2CqZi.js} +1 -1
- package/dist/{ToggleGroup.bound-dDLGgcJm.d.ts → ToggleGroup.bound-pTKJagth.d.ts} +1 -1
- package/dist/{Tooltip-Bg9AFtGw.d.ts → Tooltip-B_Tt4Bck.d.ts} +1 -1
- package/dist/{TooltipWrapper-DcrEabVw.js → TooltipWrapper-D6sJYclQ.js} +2 -2
- package/dist/{Typography-MkA6LnHW.d.ts → Typography-kfXNpNVv.d.ts} +1 -1
- package/dist/{badgeButton.cva-Bjhs4ops.d.ts → badgeButton.cva-CPQAbZ8Y.d.ts} +3 -3
- package/dist/{badgeButton.cva-CqaR8KBt.js → badgeButton.cva-DbGx8oRe.js} +3 -2
- package/dist/{button.cva-DoDFPTm5.d.ts → button.cva-BDd6y8E8.d.ts} +3 -3
- package/dist/{buttonContent.cva-Dj7Eve71.d.ts → buttonContent.cva-CbHXH_yh.d.ts} +2 -2
- package/dist/calendar.cva-BEQxOs-f.js +195 -0
- package/dist/calendarHeader.cva-D3sXR7ox.js +23 -0
- package/dist/{checkbox.cva-DUvQJdT-.d.ts → checkbox.cva-Cd4qZzud.d.ts} +3 -3
- package/dist/columnConfig.cva-CERwSZRN.js +29 -0
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +3 -3
- package/dist/components/alert.d.ts +1 -1
- 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 +28 -21
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +3 -3
- package/dist/components/bottom-sheet-header.d.ts +1 -1
- package/dist/components/bottom-sheet-header.js +22 -18
- 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/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/dropdown-menu.d.ts +2 -2
- package/dist/components/dropdown-menu.js +1 -1
- 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/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +1 -1
- package/dist/components/icon-slot.d.ts +1 -1
- package/dist/components/input-frame.d.ts +4 -4
- package/dist/components/input-frame.js +7 -6
- 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/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 +1 -1
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/password-input.js +2 -2
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.d.ts +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 +1 -1
- package/dist/components/sidebar.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/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/style-definitions.d.ts +2 -2
- package/dist/components/style-definitions.js +31 -4
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tabs-filters.d.ts +1 -1
- package/dist/components/tabs-filters.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +2 -2
- 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.d.ts +1 -1
- package/dist/components/typography.d.ts +2 -2
- 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/resources.d.ts +1 -1
- package/dist/config/resources.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/{confirmation.context-Bc2yEVp_.js → confirmation.context-CzsTRZem.js} +1 -1
- package/dist/{confirmation.context-CAt_T5qZ.d.ts → confirmation.context-DiFWm5XR.d.ts} +1 -1
- package/dist/{dist-fFtzh872.js → dist-xgJbeZHj.js} +12 -8
- package/dist/{fileUpload.types-CfUkihds.d.ts → fileUpload.types-J2_-C028.d.ts} +2 -2
- package/dist/hooks/use-async-list.js +1 -1
- package/dist/{i18n-DM-PUcxQ.d.ts → i18n-ChMvQtCN.d.ts} +34 -4
- package/dist/{i18n-D8vXIoiq.js → i18n-x5Ncs165.js} +36 -6
- package/dist/{iconSlot.cva-I0pFwkGy.d.ts → iconSlot.cva-Ce-gT2l9.d.ts} +2 -2
- package/dist/icons.d.ts +1 -1
- package/dist/{import-C7W0Wv2r.js → import-BTw4QXEc.js} +39 -15
- package/dist/index.d.ts +76 -75
- package/dist/index.js +45 -44
- package/dist/{input.cva-cNv7yhcp.d.ts → input.cva-CrHUbtM5.d.ts} +2 -2
- package/dist/inputRow.clsx-BbcaXVta.js +6 -0
- package/dist/{link.context-LSbvpZCL.d.ts → link.context-i4nBN7Vz.d.ts} +1 -1
- package/dist/{radio.cva-CtBwM88n.d.ts → radio.cva-CrEoyom3.d.ts} +3 -3
- package/dist/rich-text-editor.d.ts +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/{selectItem.cva-B6vxey2R.js → selectItem.cva-DsOZSSPx.js} +2 -1
- package/dist/{staticDateTimeSegments-BVvFHWOs.js → staticDateTimeSegments-B0svHpvh.js} +29 -14
- package/dist/{style-definitions-DJOlAxCG.d.ts → style-definitions-BcKPX5mb.d.ts} +120 -4
- package/dist/styles/input.d.ts +1 -1
- package/dist/{switch.cva-DmuYW9tg.d.ts → switch.cva-CRU1tzXQ.d.ts} +3 -3
- package/dist/{table.cva-DkcsOmZG.js → table.cva-DJhjptlL.js} +58 -17
- package/dist/tableCells.cva-Br0_kgRM.js +18 -0
- package/dist/tableColumnConfigStorage-7W1CssoX.js +215 -0
- package/dist/tableVirtualStore-whSmFzTV.js +67 -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-context.d.ts +2 -0
- package/dist/tanstack/table-context.js +2 -0
- package/dist/tanstack/table-types.d.ts +55 -0
- package/dist/tanstack/table.d.ts +4 -3
- package/dist/tanstack/table.js +3 -2
- 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-CJKor9l-.d.ts → tanstack-Ci8mM89Q.d.ts} +67 -67
- package/dist/tanstack-table-DQhB9xMa.d.ts +656 -0
- package/dist/tanstack-table-iAD6ZDHR.js +5004 -0
- package/dist/tanstack.d.ts +76 -75
- package/dist/tanstack.js +45 -44
- package/dist/{toast.cva-BnXRIWVy.d.ts → toast.cva-BXdt_pK4.d.ts} +3 -3
- package/dist/{toast.cva-B6NXTwbZ.js → toast.cva-Bc90e3cT.js} +5 -1
- package/dist/{toast.runtime-BWQLlbZW.js → toast.runtime-DUT7yTvj.js} +1 -1
- package/dist/{toggleGroup.cva-BZcOUjIS.d.ts → toggleGroup.cva-CZ-Nr2qS.d.ts} +2 -2
- package/dist/{typography.cva-DcBCiskp.d.ts → typography.cva-DbNNkjuR.d.ts} +2 -2
- package/dist/{uiConfig.context-3DN9w6oU.js → uiConfig.context-BsLQ10JQ.js} +58 -3
- package/dist/uiConfig.context-CEuWPygU.d.ts +250 -0
- package/dist/{uiOverrides.context-DHHzLSnq.d.ts → uiOverrides.context-CO9peDGD.d.ts} +101 -0
- package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-BVZ1va2U.js} +67 -14
- package/dist/{useBreakpoint-CJ3mx7UF.js → useBreakpoint-C9N7g37E.js} +2 -2
- package/dist/{useScrollableListBox-oYKqU3Hp.js → useScrollableListBox-CZg2YIi8.js} +1 -1
- package/dist/useTableVirtualizer-B5g8oTj1.d.ts +160 -0
- package/dist/{useToast-CjyrMHdh.d.ts → useToast-UqFXSmK_.d.ts} +1 -1
- package/package.json +13 -1
- package/dist/TableDnd-CuHxANWh.js +0 -133
- package/dist/uiConfig.context-CoE2HBL4.d.ts +0 -133
- package/dist/useTableColumnConfig-D4BGhlBT.js +0 -1906
- package/dist/useTableNav-hQCt_TbI.d.ts +0 -197
|
@@ -4,13 +4,13 @@ import { m as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5, p as $263ab7fc0f95ccdb$
|
|
|
4
4
|
import { i as $928221da08ecbc62$export$a11e76429ed99b4, t as $928221da08ecbc62$export$41f133550aa26f48 } from "./ListBox-DhR5kojP.js";
|
|
5
5
|
import { n as $a3be900807531178$re_export$ListLayout, r as $a3be900807531178$re_export$Rect } from "./exports-BNrTn8Tj.js";
|
|
6
6
|
import { t as Spinner } from "./Spinner-DqjP06T1.js";
|
|
7
|
-
import { t as CheckboxCheckmark } from "./CheckboxCheckmark-
|
|
8
|
-
import "./i18n-
|
|
9
|
-
import {
|
|
10
|
-
import { c as LoadingItemId, o as SelectContext } from "./Select-
|
|
7
|
+
import { t as CheckboxCheckmark } from "./CheckboxCheckmark-Bqp1iJtc.js";
|
|
8
|
+
import "./i18n-x5Ncs165.js";
|
|
9
|
+
import { n as selectListBoxItemDefinition, t as selectListBoxDefinition } from "./selectItem.cva-DsOZSSPx.js";
|
|
10
|
+
import { c as LoadingItemId, o as SelectContext } from "./Select-Dd5yAUMX.js";
|
|
11
11
|
import { t as useIntersectionObserver } from "./useIntersectionObserver-DFAhTsV0.js";
|
|
12
12
|
import { Check } from "lucide-react";
|
|
13
|
-
import $ahdqC$react, { createContext, useCallback, useContext, useLayoutEffect, useMemo, useRef } from "react";
|
|
13
|
+
import $ahdqC$react, { createContext, useCallback, useContext, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
import { useVirtualizerState } from "react-stately/useVirtualizerState";
|
|
16
16
|
import { useScrollView } from "react-aria/private/virtualizer/ScrollView";
|
|
@@ -230,6 +230,7 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
230
230
|
const { fieldState, onChange, listItems, selectableListItems, selectedIds, isMultiple, onClear, onSelectAll, hasLoadMore, isLoading } = SelectContext.useSelect();
|
|
231
231
|
const listBoxRef = useRef(null);
|
|
232
232
|
const hasRequestedAtTopRef = useRef(false);
|
|
233
|
+
const isLoadMorePendingRef = useRef(false);
|
|
233
234
|
const isReverseScrollAnchoredRef = useRef(!isReversed);
|
|
234
235
|
const reverseScrollBottomOffsetRef = useRef(0);
|
|
235
236
|
const previousLoadedItemIdsRef = useRef([]);
|
|
@@ -250,7 +251,10 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
250
251
|
isReversed,
|
|
251
252
|
onLoadMore
|
|
252
253
|
]);
|
|
253
|
-
const
|
|
254
|
+
const [hasVirtualized, setHasVirtualized] = useState(false);
|
|
255
|
+
const listBoxCva = UIOverrides.useCva("select.listBoxCva", selectListBoxDefinition);
|
|
256
|
+
const shouldVirtualize = hasVirtualized || !!virtualizerOptions || (totalItems ?? listItems.length) > 100 || hasLoadMore;
|
|
257
|
+
if (shouldVirtualize && !hasVirtualized) setHasVirtualized(true);
|
|
254
258
|
const usesReversedLayout = isReversed && isSearchable && shouldVirtualize;
|
|
255
259
|
const displayedListItems = isReversed && !usesReversedLayout ? listItems.toReversed() : listItems;
|
|
256
260
|
const loadedItemIds = useMemo(() => listItems.filter((item) => item.id !== LoadingItemId).map((item) => item.id), [listItems]);
|
|
@@ -258,6 +262,13 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
258
262
|
useLayoutEffect(() => {
|
|
259
263
|
hasRequestedAtTopRef.current = false;
|
|
260
264
|
}, [loadMoreResetKey]);
|
|
265
|
+
useLayoutEffect(() => {
|
|
266
|
+
if (!isLoading) isLoadMorePendingRef.current = false;
|
|
267
|
+
}, [
|
|
268
|
+
isLoading,
|
|
269
|
+
hasLoadMore,
|
|
270
|
+
loadMoreResetKey
|
|
271
|
+
]);
|
|
261
272
|
useLayoutEffect(() => {
|
|
262
273
|
const previousLoadedItemIds = previousLoadedItemIdsRef.current;
|
|
263
274
|
const preservesExistingItems = previousLoadedItemIds.length > 0 && previousLoadedItemIds.every((itemId, index) => loadedItemIds[index] === itemId);
|
|
@@ -269,7 +280,7 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
269
280
|
return;
|
|
270
281
|
}
|
|
271
282
|
if (!isReversed) {
|
|
272
|
-
listBox.scrollTop = 0;
|
|
283
|
+
if (!preservesExistingItems) listBox.scrollTop = 0;
|
|
273
284
|
isReverseScrollAnchoredRef.current = true;
|
|
274
285
|
return;
|
|
275
286
|
}
|
|
@@ -316,10 +327,11 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
316
327
|
};
|
|
317
328
|
const requestLoadMore = useCallback(() => {
|
|
318
329
|
const current = loadMoreStateRef.current;
|
|
319
|
-
if (!current || current.isLoading || !current.hasLoadMore) return;
|
|
330
|
+
if (!current || current.isLoading || !current.hasLoadMore || !current.onLoadMore || isLoadMorePendingRef.current) return;
|
|
320
331
|
if (current.isReversed && (!isReverseScrollAnchoredRef.current || (listBoxRef.current?.scrollTop ?? 0) > 1 || hasRequestedAtTopRef.current)) return;
|
|
321
332
|
if (current.isReversed) hasRequestedAtTopRef.current = true;
|
|
322
|
-
current
|
|
333
|
+
isLoadMorePendingRef.current = true;
|
|
334
|
+
current.onLoadMore();
|
|
323
335
|
}, []);
|
|
324
336
|
const onScroll = (event) => {
|
|
325
337
|
if (!isReversed || !hasLoadMore || !isReverseScrollAnchoredRef.current) return;
|
|
@@ -351,7 +363,7 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
351
363
|
...props,
|
|
352
364
|
"aria-label": label,
|
|
353
365
|
selectionMode,
|
|
354
|
-
className: clsx(
|
|
366
|
+
className: clsx(listBoxCva({}), isScrollable ? "max-h-full overflow-y-auto overflow-x-hidden" : "overflow-hidden", className),
|
|
355
367
|
dependencies: [
|
|
356
368
|
isSearchable,
|
|
357
369
|
newItemRender,
|
|
@@ -371,7 +383,7 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
371
383
|
...props,
|
|
372
384
|
"aria-label": label,
|
|
373
385
|
selectionMode,
|
|
374
|
-
className: clsx(
|
|
386
|
+
className: clsx(listBoxCva({}), isScrollable ? "max-h-full overflow-y-auto overflow-x-hidden" : "overflow-hidden", className),
|
|
375
387
|
dependencies: [
|
|
376
388
|
isSearchable,
|
|
377
389
|
newItemRender,
|
|
@@ -12,7 +12,7 @@ import { t as Tooltip } from "./Tooltip-DRB6lo0U.js";
|
|
|
12
12
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
13
13
|
import { t as LinkContext } from "./link.context-TPjDtjw3.js";
|
|
14
14
|
import { IconButton } from "./components/icon-button.js";
|
|
15
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
15
|
+
import { t as useBreakpoint } from "./useBreakpoint-C9N7g37E.js";
|
|
16
16
|
import { r as dialogOverlay } from "./dialog.cva-BIpz6HcA.js";
|
|
17
17
|
import { ChevronDown, ChevronsLeft, ChevronsRight, Menu, Plus } from "lucide-react";
|
|
18
18
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as LinkNavigationProps } from "./Link-
|
|
1
|
+
import { n as LinkNavigationProps } from "./Link-BLfof_56.js";
|
|
2
2
|
import { n as IconSlotIcon } from "./IconSlot-DcEDPaNb.js";
|
|
3
3
|
import { HTMLAttributes, ReactNode } from "react";
|
|
4
4
|
import { ButtonProps, Key } from "react-aria-components";
|
|
@@ -2,7 +2,7 @@ import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
|
2
2
|
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";
|
|
3
3
|
import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-BGvF9vWx.js";
|
|
4
4
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
5
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
5
|
+
import { t as UIConfig } from "./uiConfig.context-BsLQ10JQ.js";
|
|
6
6
|
import { t as FormField } from "./FormField-dduTMkNH.js";
|
|
7
7
|
import $ahdqC$react, { createContext, forwardRef, useContext, useRef } from "react";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as FormFieldProps } from "./FormField-
|
|
1
|
+
import { n as FormFieldProps } from "./FormField-DudIjynh.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 { n as SliderBase } from "./Slider-
|
|
1
|
+
import { n as SliderBase } from "./Slider-Cyg3xUIy.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
3
3
|
import { t as FieldController } from "./form.binding-DOR5gIQf.js";
|
|
4
4
|
import { memo } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as SliderProps$1 } from "./Slider-
|
|
1
|
+
import { r as SliderProps$1 } from "./Slider-DPkwrTPB.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,5 +1,5 @@
|
|
|
1
|
-
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-
|
|
2
|
-
import "./style-definitions-
|
|
1
|
+
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-CO9peDGD.js";
|
|
2
|
+
import "./style-definitions-BcKPX5mb.js";
|
|
3
3
|
import { SVGProps } from "react";
|
|
4
4
|
//#region src/components/status/Spinner/spinner.cva.d.ts
|
|
5
5
|
declare const spinnerWrapperDefinition: {
|
|
@@ -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-BLfof_56.js";
|
|
2
|
+
import { n as ButtonVariantProps } from "./button.cva-BDd6y8E8.js";
|
|
3
|
+
import { r as MenuItem } from "./DropdownMenu-DB7o7x8-.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,5 +1,5 @@
|
|
|
1
|
-
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-
|
|
2
|
-
import "./style-definitions-
|
|
1
|
+
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-CO9peDGD.js";
|
|
2
|
+
import "./style-definitions-BcKPX5mb.js";
|
|
3
3
|
//#region src/components/navigation/Stepper/stepper.cva.d.ts
|
|
4
4
|
declare const stepperDefinition: {
|
|
5
5
|
base: string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as FormFieldErrorProps } from "./FormFieldError-BT4uxbKY.js";
|
|
2
|
-
import { t as SwitchVariantProps } from "./switch.cva-
|
|
2
|
+
import { t as SwitchVariantProps } from "./switch.cva-CRU1tzXQ.js";
|
|
3
3
|
import { Ref } from "react";
|
|
4
4
|
import { SwitchProps } from "react-aria-components";
|
|
5
5
|
//#region src/components/inputs/Switch/Switch.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
2
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
3
|
import { c as $7230ffa83bc0c2cf$export$ef03459518577ad4, 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
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
4
|
+
import { t as UIConfig } from "./uiConfig.context-BsLQ10JQ.js";
|
|
5
5
|
import { t as FormFieldError } from "./FormFieldError-DTT5TUQ1.js";
|
|
6
6
|
import { t as CheckContent } from "./CheckContent-BKLnTPZr.js";
|
|
7
7
|
import { n as switchDefinition, r as switchTypography, t as switchContentClassName } from "./switch.cva-BT0kGRIk.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as SwitchBase } from "./Switch-
|
|
1
|
+
import { n as SwitchBase } from "./Switch-C0JkyNRc.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
3
3
|
import { t as FieldController } from "./form.binding-DOR5gIQf.js";
|
|
4
4
|
import { memo } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as SwitchProps$1 } from "./Switch-
|
|
1
|
+
import { i as SwitchProps$1 } from "./Switch-AzzCGybn.js";
|
|
2
2
|
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
3
3
|
//#region src/components/inputs/Switch/Switch.bound.d.ts
|
|
4
4
|
type ControlledSwitchProps<TFieldValues extends FieldValues> = FormControlProps<SwitchProps$1, TFieldValues, "isSelected">;
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { t as DragHandleButton } from "./TableDragHandle-Dypn1H3e.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { createContext, useContext } from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { DndContext, KeyboardSensor, MouseSensor, TouchSensor, closestCenter, useSensor, useSensors } from "@dnd-kit/core";
|
|
6
|
+
import { SortableContext, useSortable, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
|
7
|
+
import { CSS } from "@dnd-kit/utilities";
|
|
8
|
+
import { restrictToVerticalAxis } from "@dnd-kit/modifiers";
|
|
9
|
+
//#region src/components/table/TableDnd.tsx
|
|
10
|
+
const DndProvider = (t0) => {
|
|
11
|
+
const $ = c(6);
|
|
12
|
+
const { children, onDragEnd, onDragStart } = t0;
|
|
13
|
+
const sensors = useSensors(useSensor(MouseSensor), useSensor(TouchSensor), useSensor(KeyboardSensor));
|
|
14
|
+
let t1;
|
|
15
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
16
|
+
t1 = [restrictToVerticalAxis];
|
|
17
|
+
$[0] = t1;
|
|
18
|
+
} else t1 = $[0];
|
|
19
|
+
let t2;
|
|
20
|
+
if ($[1] !== children || $[2] !== onDragEnd || $[3] !== onDragStart || $[4] !== sensors) {
|
|
21
|
+
t2 = /* @__PURE__ */ jsx(DndContext, {
|
|
22
|
+
collisionDetection: closestCenter,
|
|
23
|
+
modifiers: t1,
|
|
24
|
+
onDragEnd,
|
|
25
|
+
onDragStart,
|
|
26
|
+
sensors,
|
|
27
|
+
children
|
|
28
|
+
});
|
|
29
|
+
$[1] = children;
|
|
30
|
+
$[2] = onDragEnd;
|
|
31
|
+
$[3] = onDragStart;
|
|
32
|
+
$[4] = sensors;
|
|
33
|
+
$[5] = t2;
|
|
34
|
+
} else t2 = $[5];
|
|
35
|
+
return t2;
|
|
36
|
+
};
|
|
37
|
+
const SortableRows = (t0) => {
|
|
38
|
+
const $ = c(3);
|
|
39
|
+
const { children, items } = t0;
|
|
40
|
+
let t1;
|
|
41
|
+
if ($[0] !== children || $[1] !== items) {
|
|
42
|
+
t1 = /* @__PURE__ */ jsx(SortableContext, {
|
|
43
|
+
items,
|
|
44
|
+
strategy: verticalListSortingStrategy,
|
|
45
|
+
children
|
|
46
|
+
});
|
|
47
|
+
$[0] = children;
|
|
48
|
+
$[1] = items;
|
|
49
|
+
$[2] = t1;
|
|
50
|
+
} else t1 = $[2];
|
|
51
|
+
return t1;
|
|
52
|
+
};
|
|
53
|
+
const SortableRowHandleContext = createContext(null);
|
|
54
|
+
/** Registers a row with the sortable context and hands the drag styling to the element it renders. */
|
|
55
|
+
const SortableRow = (t0) => {
|
|
56
|
+
const $ = c(22);
|
|
57
|
+
const { id, translateOnly: t1, children } = t0;
|
|
58
|
+
const translateOnly = t1 === void 0 ? false : t1;
|
|
59
|
+
let t2;
|
|
60
|
+
if ($[0] !== id) {
|
|
61
|
+
t2 = { id };
|
|
62
|
+
$[0] = id;
|
|
63
|
+
$[1] = t2;
|
|
64
|
+
} else t2 = $[1];
|
|
65
|
+
const { transform, transition, setNodeRef, isDragging, attributes, listeners } = useSortable(t2);
|
|
66
|
+
let t3;
|
|
67
|
+
if ($[2] !== attributes || $[3] !== listeners) {
|
|
68
|
+
t3 = {
|
|
69
|
+
attributes,
|
|
70
|
+
listeners
|
|
71
|
+
};
|
|
72
|
+
$[2] = attributes;
|
|
73
|
+
$[3] = listeners;
|
|
74
|
+
$[4] = t3;
|
|
75
|
+
} else t3 = $[4];
|
|
76
|
+
const dragHandleProps = t3;
|
|
77
|
+
let t4;
|
|
78
|
+
if ($[5] !== attributes || $[6] !== children || $[7] !== dragHandleProps || $[8] !== id || $[9] !== isDragging || $[10] !== listeners || $[11] !== setNodeRef || $[12] !== transform || $[13] !== transition || $[14] !== translateOnly) {
|
|
79
|
+
const style = {
|
|
80
|
+
transform: translateOnly ? CSS.Translate.toString(transform) : CSS.Transform.toString(transform),
|
|
81
|
+
transition,
|
|
82
|
+
opacity: isDragging ? .8 : 1,
|
|
83
|
+
zIndex: isDragging ? 1 : 0,
|
|
84
|
+
position: "relative"
|
|
85
|
+
};
|
|
86
|
+
let t5;
|
|
87
|
+
if ($[16] !== attributes || $[17] !== listeners) {
|
|
88
|
+
t5 = {
|
|
89
|
+
...attributes,
|
|
90
|
+
...listeners
|
|
91
|
+
};
|
|
92
|
+
$[16] = attributes;
|
|
93
|
+
$[17] = listeners;
|
|
94
|
+
$[18] = t5;
|
|
95
|
+
} else t5 = $[18];
|
|
96
|
+
let t6;
|
|
97
|
+
if ($[19] !== id || $[20] !== t5) {
|
|
98
|
+
t6 = {
|
|
99
|
+
id,
|
|
100
|
+
props: t5
|
|
101
|
+
};
|
|
102
|
+
$[19] = id;
|
|
103
|
+
$[20] = t5;
|
|
104
|
+
$[21] = t6;
|
|
105
|
+
} else t6 = $[21];
|
|
106
|
+
t4 = /* @__PURE__ */ jsx(SortableRowHandleContext, {
|
|
107
|
+
value: t6,
|
|
108
|
+
children: children({
|
|
109
|
+
setNodeRef,
|
|
110
|
+
style,
|
|
111
|
+
isDragging,
|
|
112
|
+
dragHandleProps
|
|
113
|
+
})
|
|
114
|
+
});
|
|
115
|
+
$[5] = attributes;
|
|
116
|
+
$[6] = children;
|
|
117
|
+
$[7] = dragHandleProps;
|
|
118
|
+
$[8] = id;
|
|
119
|
+
$[9] = isDragging;
|
|
120
|
+
$[10] = listeners;
|
|
121
|
+
$[11] = setNodeRef;
|
|
122
|
+
$[12] = transform;
|
|
123
|
+
$[13] = transition;
|
|
124
|
+
$[14] = translateOnly;
|
|
125
|
+
$[15] = t4;
|
|
126
|
+
} else t4 = $[15];
|
|
127
|
+
return t4;
|
|
128
|
+
};
|
|
129
|
+
const SortableItem = (t0) => {
|
|
130
|
+
const $ = c(10);
|
|
131
|
+
const { id, children } = t0;
|
|
132
|
+
let t1;
|
|
133
|
+
if ($[0] !== id) {
|
|
134
|
+
t1 = { id };
|
|
135
|
+
$[0] = id;
|
|
136
|
+
$[1] = t1;
|
|
137
|
+
} else t1 = $[1];
|
|
138
|
+
const { attributes, listeners, setNodeRef, transform, transition, isDragging } = useSortable(t1);
|
|
139
|
+
let t2;
|
|
140
|
+
if ($[2] !== attributes || $[3] !== children || $[4] !== isDragging || $[5] !== listeners || $[6] !== setNodeRef || $[7] !== transform || $[8] !== transition) {
|
|
141
|
+
t2 = children({
|
|
142
|
+
ref: setNodeRef,
|
|
143
|
+
style: {
|
|
144
|
+
transform: CSS.Transform.toString(transform),
|
|
145
|
+
transition,
|
|
146
|
+
zIndex: isDragging ? 1 : 0,
|
|
147
|
+
position: "relative"
|
|
148
|
+
},
|
|
149
|
+
isDragging,
|
|
150
|
+
handleProps: {
|
|
151
|
+
...attributes,
|
|
152
|
+
...listeners
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
$[2] = attributes;
|
|
156
|
+
$[3] = children;
|
|
157
|
+
$[4] = isDragging;
|
|
158
|
+
$[5] = listeners;
|
|
159
|
+
$[6] = setNodeRef;
|
|
160
|
+
$[7] = transform;
|
|
161
|
+
$[8] = transition;
|
|
162
|
+
$[9] = t2;
|
|
163
|
+
} else t2 = $[9];
|
|
164
|
+
return t2;
|
|
165
|
+
};
|
|
166
|
+
const RegisteredDragHandle = (t0) => {
|
|
167
|
+
const $ = c(6);
|
|
168
|
+
const { id, children } = t0;
|
|
169
|
+
let t1;
|
|
170
|
+
if ($[0] !== id) {
|
|
171
|
+
t1 = { id };
|
|
172
|
+
$[0] = id;
|
|
173
|
+
$[1] = t1;
|
|
174
|
+
} else t1 = $[1];
|
|
175
|
+
const { attributes, listeners } = useSortable(t1);
|
|
176
|
+
let t2;
|
|
177
|
+
if ($[2] !== attributes || $[3] !== children || $[4] !== listeners) {
|
|
178
|
+
t2 = children({
|
|
179
|
+
...attributes,
|
|
180
|
+
...listeners
|
|
181
|
+
});
|
|
182
|
+
$[2] = attributes;
|
|
183
|
+
$[3] = children;
|
|
184
|
+
$[4] = listeners;
|
|
185
|
+
$[5] = t2;
|
|
186
|
+
} else t2 = $[5];
|
|
187
|
+
return t2;
|
|
188
|
+
};
|
|
189
|
+
const DragHandle = (t0) => {
|
|
190
|
+
const $ = c(4);
|
|
191
|
+
const { id, children } = t0;
|
|
192
|
+
const row = useContext(SortableRowHandleContext);
|
|
193
|
+
let t1;
|
|
194
|
+
if ($[0] !== children || $[1] !== id || $[2] !== row) {
|
|
195
|
+
t1 = row?.id === id ? children(row.props) : /* @__PURE__ */ jsx(RegisteredDragHandle, {
|
|
196
|
+
id,
|
|
197
|
+
children
|
|
198
|
+
});
|
|
199
|
+
$[0] = children;
|
|
200
|
+
$[1] = id;
|
|
201
|
+
$[2] = row;
|
|
202
|
+
$[3] = t1;
|
|
203
|
+
} else t1 = $[3];
|
|
204
|
+
return t1;
|
|
205
|
+
};
|
|
206
|
+
const RowDragHandle = (t0) => {
|
|
207
|
+
const $ = c(2);
|
|
208
|
+
const { rowId } = t0;
|
|
209
|
+
let t1;
|
|
210
|
+
if ($[0] !== rowId) {
|
|
211
|
+
t1 = /* @__PURE__ */ jsx(DragHandle, {
|
|
212
|
+
id: rowId,
|
|
213
|
+
children: _temp
|
|
214
|
+
});
|
|
215
|
+
$[0] = rowId;
|
|
216
|
+
$[1] = t1;
|
|
217
|
+
} else t1 = $[1];
|
|
218
|
+
return t1;
|
|
219
|
+
};
|
|
220
|
+
function _temp(dragProps) {
|
|
221
|
+
return /* @__PURE__ */ jsx(DragHandleButton, { ...dragProps });
|
|
222
|
+
}
|
|
223
|
+
//#endregion
|
|
224
|
+
export { DndProvider, DragHandle, RowDragHandle, SortableItem, SortableRow, SortableRows };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
2
|
+
import { t as UIConfig } from "./uiConfig.context-BsLQ10JQ.js";
|
|
3
|
+
import { IconButton } from "./components/icon-button.js";
|
|
4
|
+
import { s as tableDragHandleDefinition } from "./table.cva-DJhjptlL.js";
|
|
5
|
+
import { GripVertical } from "lucide-react";
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
//#region src/components/table/TableDragHandle.tsx
|
|
9
|
+
/** The drag handle button. Without drag props (dnd-kit still loading) it holds the layout but can't drag. */
|
|
10
|
+
const DragHandleButton = (dragProps) => {
|
|
11
|
+
const $ = c(7);
|
|
12
|
+
const dragHandleCva = UIOverrides.useCva("table.dragHandleCva", tableDragHandleDefinition);
|
|
13
|
+
const { dragHandleIcon, dragHandleSize } = UIConfig.useConfig().table;
|
|
14
|
+
let t0;
|
|
15
|
+
if ($[0] !== dragHandleCva) {
|
|
16
|
+
t0 = dragHandleCva({});
|
|
17
|
+
$[0] = dragHandleCva;
|
|
18
|
+
$[1] = t0;
|
|
19
|
+
} else t0 = $[1];
|
|
20
|
+
const t1 = dragHandleIcon ?? GripVertical;
|
|
21
|
+
let t2;
|
|
22
|
+
if ($[2] !== dragHandleSize || $[3] !== dragProps || $[4] !== t0 || $[5] !== t1) {
|
|
23
|
+
t2 = /* @__PURE__ */ jsx(IconButton, {
|
|
24
|
+
...dragProps,
|
|
25
|
+
className: t0,
|
|
26
|
+
label: "Drag handle",
|
|
27
|
+
icon: t1,
|
|
28
|
+
variant: "text",
|
|
29
|
+
width: "hug",
|
|
30
|
+
disableTooltip: true,
|
|
31
|
+
size: dragHandleSize
|
|
32
|
+
});
|
|
33
|
+
$[2] = dragHandleSize;
|
|
34
|
+
$[3] = dragProps;
|
|
35
|
+
$[4] = t0;
|
|
36
|
+
$[5] = t1;
|
|
37
|
+
$[6] = t2;
|
|
38
|
+
} else t2 = $[6];
|
|
39
|
+
return t2;
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
export { DragHandleButton as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-
|
|
2
|
-
import "./style-definitions-
|
|
1
|
+
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-CO9peDGD.js";
|
|
2
|
+
import "./style-definitions-BcKPX5mb.js";
|
|
3
3
|
import { CSSProperties, Dispatch, ReactNode, RefObject, SetStateAction } from "react";
|
|
4
4
|
import { ExpandedState, RowData } from "@tanstack/react-table";
|
|
5
5
|
//#region src/components/table/table.cva.d.ts
|
|
@@ -22,13 +22,17 @@ declare const tableRowDefinition: {
|
|
|
22
22
|
readonly rounded: "";
|
|
23
23
|
readonly verticals: "";
|
|
24
24
|
readonly horizontals: "";
|
|
25
|
-
readonly zebra: "
|
|
25
|
+
readonly zebra: "data-[row-parity=even]:bg-muted/50 data-[row-parity=even]:not-selected:not-disabled:hover:bg-muted";
|
|
26
26
|
readonly "striped-columns": "";
|
|
27
27
|
readonly inner: "";
|
|
28
28
|
};
|
|
29
29
|
readonly alternatingBackground: {
|
|
30
|
-
readonly even: "
|
|
31
|
-
readonly odd: "
|
|
30
|
+
readonly even: "data-[row-parity=even]:bg-muted/50 data-[row-parity=even]:not-selected:not-disabled:hover:bg-muted";
|
|
31
|
+
readonly odd: "data-[row-parity=odd]:bg-muted/50 data-[row-parity=odd]:not-selected:not-disabled:hover:bg-muted";
|
|
32
|
+
};
|
|
33
|
+
readonly highlightFocused: {
|
|
34
|
+
readonly true: "not-selected:not-disabled:focus-within:bg-muted/50";
|
|
35
|
+
readonly false: "";
|
|
32
36
|
};
|
|
33
37
|
}>;
|
|
34
38
|
};
|
|
@@ -3,8 +3,8 @@ import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
|
3
3
|
import { t as $792f28e438b9ad5f$export$758399f318e6385a } from "./SharedElementTransition-CZ2bE7yo.js";
|
|
4
4
|
import { t as $91fe5e721c7f36c1$export$17f80983afe4e444 } from "./SelectionIndicator-C3hniBa2.js";
|
|
5
5
|
import { n as uiOutlineClass } from "./outline.clsx-DGGQQRkM.js";
|
|
6
|
-
import { t as Button } from "./Button-
|
|
7
|
-
import "./i18n-
|
|
6
|
+
import { t as Button } from "./Button-BQkrCpgq.js";
|
|
7
|
+
import "./i18n-x5Ncs165.js";
|
|
8
8
|
import { Link } from "./components/link.js";
|
|
9
9
|
import { Badge } from "./components/badge.js";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-
|
|
2
|
-
import "./style-definitions-
|
|
3
|
-
import { n as TypographyProps } from "./Typography-
|
|
1
|
+
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-CO9peDGD.js";
|
|
2
|
+
import "./style-definitions-BcKPX5mb.js";
|
|
3
|
+
import { n as TypographyProps } from "./Typography-kfXNpNVv.js";
|
|
4
4
|
import { Ref } from "react";
|
|
5
5
|
import { ButtonProps } from "react-aria-components";
|
|
6
6
|
//#region src/components/text/Tag/tag.cva.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as FormFieldProps } from "./FormField-
|
|
2
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
1
|
+
import { n as FormFieldProps } from "./FormField-DudIjynh.js";
|
|
2
|
+
import { n as InputVariantProps } from "./input.cva-CrHUbtM5.js";
|
|
3
3
|
import { Ref } from "react";
|
|
4
4
|
import { TextAreaProps } from "react-aria-components";
|
|
5
5
|
import { AriaTextFieldProps } from "@react-aria/textfield";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
2
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
3
|
import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-BkLF-JA3.js";
|
|
4
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
4
|
+
import { t as UIConfig } from "./uiConfig.context-BsLQ10JQ.js";
|
|
5
5
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
6
6
|
import { n as FormFieldLabel, t as FormField } from "./FormField-dduTMkNH.js";
|
|
7
7
|
import { a as inputSizeDefinition, i as inputSideDefinition, o as useInputCva } from "./input.cva-2C6_W5jD.js";
|
|
8
8
|
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
9
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
9
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-D6sJYclQ.js";
|
|
10
10
|
import { t as textAreaWrapperDefinition } from "./TextArea.cva-ENXI55ec.js";
|
|
11
11
|
import $ahdqC$react, { createContext, forwardRef, memo, useRef, useState } from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TextAreaBase } from "./TextArea-
|
|
1
|
+
import { n as TextAreaBase } from "./TextArea-BuZ7-sl8.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
3
3
|
import { t as FieldController } from "./form.binding-DOR5gIQf.js";
|
|
4
4
|
import { memo } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
2
|
-
import { i as TextAreaProps$1 } from "./TextArea-
|
|
2
|
+
import { i as TextAreaProps$1 } from "./TextArea-BLBtdME_.js";
|
|
3
3
|
//#region src/components/inputs/Input/TextArea/TextArea.bound.d.ts
|
|
4
4
|
type ControlledTextAreaProps<TFieldValues extends FieldValues> = FormControlProps<TextAreaProps$1, TFieldValues>;
|
|
5
5
|
type TextAreaProps<TFieldValues extends FieldValues = FieldValues> = ControlledTextAreaProps<TFieldValues>;
|
|
@@ -2,7 +2,7 @@ import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
|
2
2
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
3
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-C1YB5dOw.js";
|
|
4
4
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
5
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
5
|
+
import { t as UIConfig } from "./uiConfig.context-BsLQ10JQ.js";
|
|
6
6
|
import { IconButton } from "./components/icon-button.js";
|
|
7
7
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
8
8
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
@@ -10,14 +10,15 @@ import { n as FormFieldLabel, t as FormField } from "./FormField-dduTMkNH.js";
|
|
|
10
10
|
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-2C6_W5jD.js";
|
|
11
11
|
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
12
12
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
13
|
-
import { a as getStaticTimeSegments, c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, i as getStaticDateTimeFocusTarget, l as DateSegmentItem, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-
|
|
13
|
+
import { a as getStaticTimeSegments, c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, i as getStaticDateTimeFocusTarget, l as DateSegmentItem, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-B0svHpvh.js";
|
|
14
14
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
15
15
|
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-CWkV2fut.js";
|
|
16
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
16
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-D6sJYclQ.js";
|
|
17
|
+
import { n as inputTrailingRowClass, r as inputTrailingRowInsetClass, t as inputContentRowClass } from "./inputRow.clsx-BbcaXVta.js";
|
|
17
18
|
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-CkmPaD6I.js";
|
|
18
19
|
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-BN0fOerH.js";
|
|
19
20
|
import { InputFrame } from "./components/input-frame.js";
|
|
20
|
-
import { t as TimePickerForm } from "./TimePickerForm-
|
|
21
|
+
import { t as TimePickerForm } from "./TimePickerForm-Csp_0tIY.js";
|
|
21
22
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
22
23
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
23
24
|
import { GregorianCalendar, Time, getLocalTimeZone, now, toCalendarDateTime, toTime, toZoned, today } from "@internationalized/date";
|
|
@@ -123,10 +124,10 @@ const TimePickerInput = ({ ref, as, fieldProps, state, isDisabled, isDirty, isRe
|
|
|
123
124
|
...focusWithinProps,
|
|
124
125
|
...hoverProps,
|
|
125
126
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
126
|
-
className: clsx(inputSizeCva({
|
|
127
|
+
className: clsx(inputContentRowClass, "pr-0!", inputSizeCva({
|
|
127
128
|
size,
|
|
128
129
|
as
|
|
129
|
-
})
|
|
130
|
+
})),
|
|
130
131
|
children: [
|
|
131
132
|
disableManualEntry && /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
132
133
|
onPress,
|
|
@@ -153,15 +154,16 @@ const TimePickerInput = ({ ref, as, fieldProps, state, isDisabled, isDirty, isRe
|
|
|
153
154
|
}) })
|
|
154
155
|
]
|
|
155
156
|
}), /* @__PURE__ */ jsxs("div", {
|
|
156
|
-
className: clsx(inputSizeCva({
|
|
157
|
+
className: clsx(inputTrailingRowClass, inputSizeCva({
|
|
157
158
|
size,
|
|
158
159
|
as
|
|
159
|
-
}),
|
|
160
|
+
}), inputTrailingRowInsetClass),
|
|
160
161
|
children: [isClearable && /* @__PURE__ */ jsx(InputClear, {
|
|
161
162
|
onClear: () => {
|
|
162
163
|
if (onClear) onClear();
|
|
163
164
|
else state.setValue(null);
|
|
164
165
|
},
|
|
166
|
+
as,
|
|
165
167
|
show: canClear && (!isDisabled || isClearableIfDisabled === true)
|
|
166
168
|
}), (!disableDropdown || disableManualEntry) && /* @__PURE__ */ jsx(IconButton, {
|
|
167
169
|
label: headerProps?.label ?? "Open time picker",
|
|
@@ -407,7 +409,7 @@ const TimePickerInner = ({ defaultValue: _defaultValue, renderStaticInput, isFor
|
|
|
407
409
|
staticPressTarget: "action",
|
|
408
410
|
showClear: timeValue != null,
|
|
409
411
|
wrapContentAndTrailing: true,
|
|
410
|
-
trailingClassName:
|
|
412
|
+
trailingClassName: inputTrailingRowInsetClass,
|
|
411
413
|
action: showDropdown ? {
|
|
412
414
|
icon: ui.dateInput.timeIcon,
|
|
413
415
|
onClick: () => {},
|