@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
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Switch } from "../Switch-
|
|
1
|
+
import { t as Switch } from "../Switch-C0JkyNRc.js";
|
|
2
2
|
export { Switch };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TabsFiltersPlacement, i as TabsFilters, n as ListTabs, o as TabsFiltersProps, r as ListTabsProps, t as ListTab } from "../TabsFilters-
|
|
1
|
+
import { a as TabsFiltersPlacement, i as TabsFilters, n as ListTabs, o as TabsFiltersProps, r as ListTabsProps, t as ListTab } from "../TabsFilters-D5_GTSUn.js";
|
|
2
2
|
export { ListTab, ListTabs, ListTabsProps, TabsFilters, TabsFiltersPlacement, TabsFiltersProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TabsFilters, t as ListTabs } from "../TabsFilters-
|
|
1
|
+
import { n as TabsFilters, t as ListTabs } from "../TabsFilters-DinXME1z.js";
|
|
2
2
|
export { ListTabs, TabsFilters };
|
package/dist/components/tag.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TagProps, t as Tag } from "../Tag-
|
|
1
|
+
import { n as TagProps, t as Tag } from "../Tag-BT_DWubz.js";
|
|
2
2
|
export { Tag, TagProps };
|
package/dist/components/tag.js
CHANGED
|
@@ -3,8 +3,8 @@ import { t as UIOverrides } from "../uiOverrides.context-DNEQlTx0.js";
|
|
|
3
3
|
import { t as IconSlot } from "../IconSlot-CqNuZl0E.js";
|
|
4
4
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../Button-C1YB5dOw.js";
|
|
5
5
|
import { t as Typography } from "../Typography-DCLnPa3P.js";
|
|
6
|
-
import { t as UIConfig } from "../uiConfig.context-
|
|
7
|
-
import "../i18n-
|
|
6
|
+
import { t as UIConfig } from "../uiConfig.context-BsLQ10JQ.js";
|
|
7
|
+
import "../i18n-x5Ncs165.js";
|
|
8
8
|
import { t as tagDefinition } from "../tag.cva-ExMNsTN-.js";
|
|
9
9
|
import { X } from "lucide-react";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as TextAreaProps, n as TextAreaBase, r as TextAreaComponent, t as TextArea } from "../TextArea-
|
|
1
|
+
import { i as TextAreaProps, n as TextAreaBase, r as TextAreaComponent, t as TextArea } from "../TextArea-BLBtdME_.js";
|
|
2
2
|
export { TextArea, type TextAreaBase, type TextAreaComponent, type TextAreaProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TextArea } from "../TextArea-
|
|
1
|
+
import { t as TextArea } from "../TextArea-BuZ7-sl8.js";
|
|
2
2
|
export { TextArea };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as TimePickerProps, n as TimePickerComponent, r as TimePickerInner, t as TimePicker } from "../TimePicker-
|
|
1
|
+
import { i as TimePickerProps, n as TimePickerComponent, r as TimePickerInner, t as TimePicker } from "../TimePicker-NjamhLJ4.js";
|
|
2
2
|
export { TimePicker, type TimePickerComponent, type TimePickerInner, type TimePickerProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TimePicker } from "../TimePicker-
|
|
1
|
+
import { t as TimePicker } from "../TimePicker-CWXawTn4.js";
|
|
2
2
|
export { TimePicker };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ToastVariantProps } from "../toast.cva-
|
|
2
|
-
import { n as ToastAction, r as ToastProps, t as Toast } from "../Toast-
|
|
1
|
+
import { t as ToastVariantProps } from "../toast.cva-BXdt_pK4.js";
|
|
2
|
+
import { n as ToastAction, r as ToastProps, t as Toast } from "../Toast-DzsNOMnh.js";
|
|
3
3
|
import { n as ToastProvider, t as ToastContainer } from "../ToastContainer-1H_IxvyH.js";
|
|
4
4
|
export { Toast, type ToastAction, ToastContainer, type ToastProps, ToastProvider, type ToastVariantProps };
|
package/dist/components/toast.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as Toast } from "../dist-
|
|
2
|
-
import { n as ToastProvider, t as ToastContainer } from "../ToastContainer-
|
|
1
|
+
import { r as Toast } from "../dist-xgJbeZHj.js";
|
|
2
|
+
import { n as ToastProvider, t as ToastContainer } from "../ToastContainer-J4y5mLdO.js";
|
|
3
3
|
export { Toast, ToastContainer, ToastProvider };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ToggleButtonProps, t as ToggleButton } from "../ToggleButton-
|
|
1
|
+
import { n as ToggleButtonProps, t as ToggleButton } from "../ToggleButton-BOjC9UCs.js";
|
|
2
2
|
export { ToggleButton, ToggleButtonProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ButtonBase } from "../ButtonBase-
|
|
1
|
+
import { t as ButtonBase } from "../ButtonBase-7s_flUU5.js";
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/buttons/ToggleButton/ToggleButton.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ToggleGroupProps, t as ToggleGroup } from "../ToggleGroup-
|
|
1
|
+
import { a as ToggleGroupProps, t as ToggleGroup } from "../ToggleGroup-z8vtwj1Y.js";
|
|
2
2
|
export { ToggleGroup, type ToggleGroupProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ToggleGroup } from "../ToggleGroup-
|
|
1
|
+
import { t as ToggleGroup } from "../ToggleGroup-BSl6K-jV.js";
|
|
2
2
|
export { ToggleGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TooltipProps, t as Tooltip } from "../Tooltip-
|
|
1
|
+
import { n as TooltipProps, t as Tooltip } from "../Tooltip-B_Tt4Bck.js";
|
|
2
2
|
export { Tooltip, TooltipProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as TypographyVariantProps } from "../typography.cva-
|
|
2
|
-
import { n as TypographyProps, t as Typography } from "../Typography-
|
|
1
|
+
import { t as TypographyVariantProps } from "../typography.cva-DbNNkjuR.js";
|
|
2
|
+
import { n as TypographyProps, t as Typography } from "../Typography-kfXNpNVv.js";
|
|
3
3
|
export { Typography, type TypographyProps, type TypographyVariantProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ToastParams, r as useToast, t as ToastOptions } from "../useToast-
|
|
1
|
+
import { n as ToastParams, r as useToast, t as ToastOptions } from "../useToast-UqFXSmK_.js";
|
|
2
2
|
export { ToastOptions, ToastParams, useToast };
|
|
@@ -5,7 +5,7 @@ let nextToastId = 0;
|
|
|
5
5
|
const enqueueToast = (color, params, options) => {
|
|
6
6
|
const id = `povio-toast-${++nextToastId}`;
|
|
7
7
|
activateToastRenderer();
|
|
8
|
-
import("../toast.runtime-
|
|
8
|
+
import("../toast.runtime-DUT7yTvj.js").then(({ showToast }) => showToast(id, color, params, options));
|
|
9
9
|
return id;
|
|
10
10
|
};
|
|
11
11
|
const useToast = () => {
|
|
@@ -22,7 +22,7 @@ const useToast = () => {
|
|
|
22
22
|
return enqueueToast("neutral", params_2, options_2);
|
|
23
23
|
}, []);
|
|
24
24
|
const closeToast = useCallback((id) => {
|
|
25
|
-
import("../toast.runtime-
|
|
25
|
+
import("../toast.runtime-DUT7yTvj.js").then(({ dismissToast }) => dismissToast(id));
|
|
26
26
|
}, []);
|
|
27
27
|
return useMemo(() => ({
|
|
28
28
|
successToast,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as UIOverrides } from "../uiOverrides.context-
|
|
2
|
-
import { t as UIConfig } from "../uiConfig.context-
|
|
1
|
+
import { t as UIOverrides } from "../uiOverrides.context-CO9peDGD.js";
|
|
2
|
+
import { t as UIConfig } from "../uiConfig.context-CEuWPygU.js";
|
|
3
3
|
//#region src/config/component-configuration.d.ts
|
|
4
4
|
interface CvaDefinition {
|
|
5
5
|
base: string[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Confirmation } from "../confirmation.context-
|
|
1
|
+
import { t as Confirmation } from "../confirmation.context-DiFWm5XR.js";
|
|
2
2
|
export { Confirmation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Confirmation } from "../confirmation.context-
|
|
1
|
+
import { t as Confirmation } from "../confirmation.context-CzsTRZem.js";
|
|
2
2
|
export { Confirmation };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as LinkNavigationProps } from "../Link-
|
|
2
|
-
import { t as LinkContext } from "../link.context-
|
|
1
|
+
import { n as LinkNavigationProps } from "../Link-BLfof_56.js";
|
|
2
|
+
import { t as LinkContext } from "../link.context-i4nBN7Vz.js";
|
|
3
3
|
export { LinkContext, type LinkNavigationProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as resources, t as ns } from "../i18n-
|
|
1
|
+
import { n as resources, t as ns } from "../i18n-ChMvQtCN.js";
|
|
2
2
|
export { ns, resources };
|
package/dist/config/resources.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as resources, t as ns } from "../i18n-
|
|
1
|
+
import { n as resources, t as ns } from "../i18n-x5Ncs165.js";
|
|
2
2
|
export { ns, resources };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as UIConfig } from "../uiConfig.context-
|
|
2
|
-
import { o as DateRangeRelativeOption, s as DateRangeResolvedValue } from "../DateRangePicker-
|
|
1
|
+
import { t as UIConfig } from "../uiConfig.context-CEuWPygU.js";
|
|
2
|
+
import { o as DateRangeRelativeOption, s as DateRangeResolvedValue } from "../DateRangePicker-BaB2DNLG.js";
|
|
3
3
|
export { type DateRangeRelativeOption, type DateRangeResolvedValue, UIConfig };
|
package/dist/config/ui-config.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as UIConfig } from "../uiConfig.context-
|
|
1
|
+
import { t as UIConfig } from "../uiConfig.context-BsLQ10JQ.js";
|
|
2
2
|
export { UIConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as UIOverrides } from "../uiOverrides.context-
|
|
1
|
+
import { t as UIOverrides } from "../uiOverrides.context-CO9peDGD.js";
|
|
2
2
|
export { UIOverrides };
|
|
@@ -3,9 +3,9 @@ import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
|
3
3
|
import { t as IconSlot } from "./IconSlot-CqNuZl0E.js";
|
|
4
4
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
5
5
|
import { t as Spinner } from "./Spinner-DqjP06T1.js";
|
|
6
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
7
|
-
import { t as Button } from "./Button-
|
|
8
|
-
import {
|
|
6
|
+
import { t as UIConfig } from "./uiConfig.context-BsLQ10JQ.js";
|
|
7
|
+
import { t as Button } from "./Button-BQkrCpgq.js";
|
|
8
|
+
import { c as toastSpinnerDefinition, i as toastActionsDefinition, l as toastTextDefinition, n as statusIconDefinition, o as toastContentDefinition, r as statusSeparatorDefinition, s as toastDefinition, t as buttonColorVariant } from "./toast.cva-Bc90e3cT.js";
|
|
9
9
|
import $ahdqC$react, { cloneElement, isValidElement, useEffect, useLayoutEffect, useRef, useState, useSyncExternalStore } from "react";
|
|
10
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region src/components/status/Toast/Toast.tsx
|
|
@@ -16,6 +16,10 @@ const Toast = ({ text, isLoading = false, actions = [], icon: Icon, ...props })
|
|
|
16
16
|
const buttonColor = UIOverrides.useMapper("toast.buttonColor", buttonColorVariant);
|
|
17
17
|
const iconCva = UIOverrides.useCva("status.iconCva", statusIconDefinition);
|
|
18
18
|
const separatorCva = UIOverrides.useCva("status.separatorCva", statusSeparatorDefinition);
|
|
19
|
+
const contentCva = UIOverrides.useCva("toast.contentCva", toastContentDefinition);
|
|
20
|
+
const spinnerCva = UIOverrides.useCva("toast.spinnerCva", toastSpinnerDefinition);
|
|
21
|
+
const textCva = UIOverrides.useCva("toast.textCva", toastTextDefinition);
|
|
22
|
+
const actionsCva = UIOverrides.useCva("toast.actionsCva", toastActionsDefinition);
|
|
19
23
|
const variantProps = {
|
|
20
24
|
variant,
|
|
21
25
|
...restProps
|
|
@@ -23,10 +27,10 @@ const Toast = ({ text, isLoading = false, actions = [], icon: Icon, ...props })
|
|
|
23
27
|
return /* @__PURE__ */ jsxs("div", {
|
|
24
28
|
className: toastCva(variantProps),
|
|
25
29
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
26
|
-
className:
|
|
30
|
+
className: contentCva(variantProps),
|
|
27
31
|
children: [
|
|
28
32
|
isLoading && /* @__PURE__ */ jsx("span", {
|
|
29
|
-
className:
|
|
33
|
+
className: spinnerCva(variantProps),
|
|
30
34
|
children: /* @__PURE__ */ jsx(Spinner, { size: "default" })
|
|
31
35
|
}),
|
|
32
36
|
!isLoading && Icon && /* @__PURE__ */ jsx(IconSlot, {
|
|
@@ -35,17 +39,17 @@ const Toast = ({ text, isLoading = false, actions = [], icon: Icon, ...props })
|
|
|
35
39
|
}),
|
|
36
40
|
/* @__PURE__ */ jsx(Typography, {
|
|
37
41
|
size: "large",
|
|
38
|
-
className:
|
|
42
|
+
className: textCva(variantProps),
|
|
39
43
|
children: text
|
|
40
44
|
})
|
|
41
45
|
]
|
|
42
46
|
}), actions.length > 0 && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", { className: separatorCva(variantProps) }), /* @__PURE__ */ jsx("div", {
|
|
43
|
-
className:
|
|
47
|
+
className: actionsCva(variantProps),
|
|
44
48
|
children: actions.map(({ text: buttonText, onPress }) => /* @__PURE__ */ jsx(Button, {
|
|
45
49
|
onPress,
|
|
50
|
+
size: "sm",
|
|
46
51
|
...buttonColor(variantProps),
|
|
47
52
|
variant: "contained",
|
|
48
|
-
size: "sm",
|
|
49
53
|
width: "hug",
|
|
50
54
|
children: buttonText
|
|
51
55
|
}, buttonText))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ButtonProps$1 } from "./Button-
|
|
2
|
-
import { n as FormFieldProps } from "./FormField-
|
|
1
|
+
import { n as ButtonProps$1 } from "./Button-zLy_nLM2.js";
|
|
2
|
+
import { n as FormFieldProps } from "./FormField-DudIjynh.js";
|
|
3
3
|
import { FocusEventHandler, ReactNode, Ref } from "react";
|
|
4
4
|
import { DropZoneProps, FileTriggerProps } from "react-aria-components";
|
|
5
5
|
//#region src/types/error-handling.d.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as useAsyncList } from "../useAsyncList-
|
|
1
|
+
import { t as useAsyncList } from "../useAsyncList-BVZ1va2U.js";
|
|
2
2
|
export { useAsyncList };
|
|
@@ -118,9 +118,24 @@ declare const resources: {
|
|
|
118
118
|
cancel: string;
|
|
119
119
|
};
|
|
120
120
|
table: {
|
|
121
|
-
column: string;
|
|
122
|
-
show: string;
|
|
123
121
|
configureColumns: string;
|
|
122
|
+
configureColumnsDescription: string;
|
|
123
|
+
visibleCount: string;
|
|
124
|
+
showAll: string;
|
|
125
|
+
reorderColumn: string;
|
|
126
|
+
reset: string;
|
|
127
|
+
done: string;
|
|
128
|
+
defaultOrderColumn: string;
|
|
129
|
+
noDefaultOrder: string;
|
|
130
|
+
orderDirection: string;
|
|
131
|
+
ascending: string;
|
|
132
|
+
descending: string;
|
|
133
|
+
pinnedLeft: string;
|
|
134
|
+
scrollable: string;
|
|
135
|
+
pinnedRight: string;
|
|
136
|
+
dropColumnsHere: string;
|
|
137
|
+
dragHandle: string;
|
|
138
|
+
loading: string;
|
|
124
139
|
};
|
|
125
140
|
tabsFilters: {
|
|
126
141
|
clearFilters: string;
|
|
@@ -280,9 +295,24 @@ declare const resources: {
|
|
|
280
295
|
cancel: string;
|
|
281
296
|
};
|
|
282
297
|
table: {
|
|
283
|
-
column: string;
|
|
284
|
-
show: string;
|
|
285
298
|
configureColumns: string;
|
|
299
|
+
configureColumnsDescription: string;
|
|
300
|
+
visibleCount: string;
|
|
301
|
+
showAll: string;
|
|
302
|
+
reorderColumn: string;
|
|
303
|
+
reset: string;
|
|
304
|
+
done: string;
|
|
305
|
+
defaultOrderColumn: string;
|
|
306
|
+
noDefaultOrder: string;
|
|
307
|
+
orderDirection: string;
|
|
308
|
+
ascending: string;
|
|
309
|
+
descending: string;
|
|
310
|
+
pinnedLeft: string;
|
|
311
|
+
scrollable: string;
|
|
312
|
+
pinnedRight: string;
|
|
313
|
+
dropColumnsHere: string;
|
|
314
|
+
dragHandle: string;
|
|
315
|
+
loading: string;
|
|
286
316
|
};
|
|
287
317
|
tabsFilters: {
|
|
288
318
|
clearFilters: string;
|
|
@@ -105,9 +105,24 @@ var translation_default$1 = {
|
|
|
105
105
|
"cancel": "Cancel"
|
|
106
106
|
},
|
|
107
107
|
"table": {
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
108
|
+
"configureColumns": "Configure columns",
|
|
109
|
+
"configureColumnsDescription": "Choose which columns to show and drag to reorder them.",
|
|
110
|
+
"visibleCount": "{{visible}} of {{total}} visible",
|
|
111
|
+
"showAll": "Show all",
|
|
112
|
+
"reorderColumn": "Reorder {{column}}",
|
|
113
|
+
"reset": "Reset",
|
|
114
|
+
"done": "Done",
|
|
115
|
+
"defaultOrderColumn": "Default sorting",
|
|
116
|
+
"noDefaultOrder": "Use table default",
|
|
117
|
+
"orderDirection": "Order direction",
|
|
118
|
+
"ascending": "Ascending",
|
|
119
|
+
"descending": "Descending",
|
|
120
|
+
"pinnedLeft": "Pinned left",
|
|
121
|
+
"scrollable": "Scrollable",
|
|
122
|
+
"pinnedRight": "Pinned right",
|
|
123
|
+
"dropColumnsHere": "Drop columns here",
|
|
124
|
+
"dragHandle": "Drag handle",
|
|
125
|
+
"loading": "Loading"
|
|
111
126
|
},
|
|
112
127
|
"tabsFilters": { "clearFilters": "Clear filters" }
|
|
113
128
|
},
|
|
@@ -257,9 +272,24 @@ var translation_default = {
|
|
|
257
272
|
"cancel": "Prekliči"
|
|
258
273
|
},
|
|
259
274
|
"table": {
|
|
260
|
-
"
|
|
261
|
-
"
|
|
262
|
-
"
|
|
275
|
+
"configureColumns": "Nastavi stolpce",
|
|
276
|
+
"configureColumnsDescription": "Izberi, katere stolpce želiš prikazati, in jih razvrsti z vlečenjem.",
|
|
277
|
+
"visibleCount": "Vidnih: {{visible}} od {{total}}",
|
|
278
|
+
"showAll": "Prikaži vse",
|
|
279
|
+
"reorderColumn": "Premakni {{column}}",
|
|
280
|
+
"reset": "Ponastavi",
|
|
281
|
+
"done": "Končano",
|
|
282
|
+
"defaultOrderColumn": "Privzeto razvrščanje",
|
|
283
|
+
"noDefaultOrder": "Uporabi privzeto razvrščanje tabele",
|
|
284
|
+
"orderDirection": "Smer razvrščanja",
|
|
285
|
+
"ascending": "Naraščajoče",
|
|
286
|
+
"descending": "Padajoče",
|
|
287
|
+
"pinnedLeft": "Pripeto levo",
|
|
288
|
+
"scrollable": "Drsno",
|
|
289
|
+
"pinnedRight": "Pripeto desno",
|
|
290
|
+
"dropColumnsHere": "Spusti stolpce sem",
|
|
291
|
+
"dragHandle": "Ročaj za vlečenje",
|
|
292
|
+
"loading": "Nalaganje"
|
|
263
293
|
},
|
|
264
294
|
"tabsFilters": { "clearFilters": "Počisti filtre" }
|
|
265
295
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as StyleMergeUtils } from "./uiOverrides.context-
|
|
2
|
-
import "./style-definitions-
|
|
1
|
+
import { n as StyleMergeUtils } from "./uiOverrides.context-CO9peDGD.js";
|
|
2
|
+
import "./style-definitions-BcKPX5mb.js";
|
|
3
3
|
//#region src/components/shared/IconSlot/iconSlot.cva.d.ts
|
|
4
4
|
declare const iconSlotDefinition: {
|
|
5
5
|
base: string[];
|
package/dist/icons.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { n as IconSlotIcon, r as IconSlotProps, t as IconSlot } from "./IconSlot-DcEDPaNb.js";
|
|
2
|
-
import { t as iconSlotDefinition } from "./iconSlot.cva-
|
|
2
|
+
import { t as iconSlotDefinition } from "./iconSlot.cva-Ce-gT2l9.js";
|
|
3
3
|
import { X as CloseIcon } from "lucide-react";
|
|
4
4
|
export { CloseIcon, IconSlot, type IconSlotIcon, type IconSlotProps, iconSlotDefinition };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
2
2
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
3
3
|
import { n as $a8ea2faf2ebe4d2f$re_export$mergeProps } from "./import-D_3dPATF.js";
|
|
4
|
-
import "./
|
|
4
|
+
import { c as calendarWeekNumberDefinition, i as calendarGridDefinition, l as calendarWeekdayDefinition, n as calendarCellTypography, r as calendarCellWrapperDefinition, s as calendarWeekNumberCellDefinition, t as calendarCellDefinition } from "./calendar.cva-BEQxOs-f.js";
|
|
5
|
+
import "./i18n-x5Ncs165.js";
|
|
5
6
|
import { r as $32daac5f69beb98a$re_export$useFocusRing } from "./useStaticInputHandoff-BN0fOerH.js";
|
|
6
7
|
import { useCallback, useMemo, useRef } from "react";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -31,7 +32,10 @@ const isRange = (state) => {
|
|
|
31
32
|
};
|
|
32
33
|
const CalendarCell = ({ state, onApply, onDoubleClickApply, shouldApplyOnDateSelection = true, shouldCloseOnSelect = true, onDateSelection, onDateHover, rangeSelection, hoverDate, onKeyboardNavigation, getSelectedDateLabel, ...props }) => {
|
|
33
34
|
const ref = useRef(null);
|
|
34
|
-
const
|
|
35
|
+
const cellCva = UIOverrides.useCva("calendar.cellCva", calendarCellDefinition);
|
|
36
|
+
const cellWrapperCva = UIOverrides.useCva("calendar.cellWrapperCva", calendarCellWrapperDefinition);
|
|
37
|
+
const cellTypography = UIOverrides.useMapper("calendar.cellTypography", calendarCellTypography);
|
|
38
|
+
const { cellProps, buttonProps, formattedDate, isSelected, isDisabled, isOutsideVisibleRange, isFocused } = useCalendarCell(props, state, ref);
|
|
35
39
|
const { focusProps } = $32daac5f69beb98a$re_export$useFocusRing();
|
|
36
40
|
const onClick = useCallback((event) => {
|
|
37
41
|
buttonProps.onClick?.(event);
|
|
@@ -136,19 +140,32 @@ const CalendarCell = ({ state, onApply, onDoubleClickApply, shouldApplyOnDateSel
|
|
|
136
140
|
const isVisibleRangeMiddle = (isInRange || isHoverRange) && !isOutsideVisibleRange && !isVisibleSelected;
|
|
137
141
|
const isRangeStart = isVisibleSelected && !!rangeSelection && !rangeSelection.isSelecting && isSelectionStart && !isSelectionEnd;
|
|
138
142
|
const isRangeEnd = isVisibleSelected && !!rangeSelection && !rangeSelection.isSelecting && isSelectionEnd && !isSelectionStart;
|
|
139
|
-
|
|
140
|
-
|
|
143
|
+
return cellCva({
|
|
144
|
+
isSelected: !!isSelectedCell,
|
|
145
|
+
isOutside: !!isOutsideVisibleRange,
|
|
146
|
+
isRangeMiddle: !!isVisibleRangeMiddle,
|
|
147
|
+
isRangeStart: !!isRangeStart,
|
|
148
|
+
isRangeEnd: !!isRangeEnd,
|
|
149
|
+
isInRange: !!isInRange,
|
|
150
|
+
isHoverRange: !!isHoverRange,
|
|
151
|
+
isSelectingMode: !!isSelectingMode,
|
|
152
|
+
isDisabled: !!isDisabled,
|
|
153
|
+
isToday: isTodayCell,
|
|
154
|
+
isFocused: !!isFocused
|
|
155
|
+
});
|
|
141
156
|
}, [
|
|
157
|
+
cellCva,
|
|
142
158
|
selectionState,
|
|
143
159
|
isOutsideVisibleRange,
|
|
144
160
|
rangeSelection,
|
|
145
161
|
isDisabled,
|
|
146
|
-
isTodayCell
|
|
162
|
+
isTodayCell,
|
|
163
|
+
isFocused
|
|
147
164
|
]);
|
|
148
165
|
const selectedDateLabel = selectionState.isSelectedCell && !isOutsideVisibleRange ? getSelectedDateLabel?.(props.date) : void 0;
|
|
149
166
|
return /* @__PURE__ */ jsx("td", {
|
|
150
167
|
...cellProps,
|
|
151
|
-
className:
|
|
168
|
+
className: cellWrapperCva(),
|
|
152
169
|
children: /* @__PURE__ */ jsxs("div", {
|
|
153
170
|
ref,
|
|
154
171
|
...$a8ea2faf2ebe4d2f$re_export$mergeProps(buttonProps, focusProps),
|
|
@@ -165,8 +182,8 @@ const CalendarCell = ({ state, onApply, onDoubleClickApply, shouldApplyOnDateSel
|
|
|
165
182
|
children: selectedDateLabel
|
|
166
183
|
}), /* @__PURE__ */ jsx(Typography, {
|
|
167
184
|
as: "span",
|
|
168
|
-
size: "body",
|
|
169
|
-
className:
|
|
185
|
+
size: cellTypography({})?.size ?? "body",
|
|
186
|
+
className: cellTypography({})?.className,
|
|
170
187
|
children: formattedDate
|
|
171
188
|
})]
|
|
172
189
|
})
|
|
@@ -185,6 +202,10 @@ const WEEK_INDICES = [
|
|
|
185
202
|
const NO_CALENDAR_OFFSET = {};
|
|
186
203
|
const CalendarGrid = ({ state, showWeekNumbers = false, onApply, onDoubleClickApply, shouldApplyOnDateSelection, shouldCloseOnSelect, offset = NO_CALENDAR_OFFSET, onDateSelection, onDateHover, rangeSelection, hoverDate, onKeyboardNavigation, className, calendarSide, getSelectedDateLabel, ...props }) => {
|
|
187
204
|
const { t } = useTranslation();
|
|
205
|
+
const gridCva = UIOverrides.useCva("calendar.gridCva", calendarGridDefinition);
|
|
206
|
+
const weekdayCva = UIOverrides.useCva("calendar.weekdayCva", calendarWeekdayDefinition);
|
|
207
|
+
const weekNumberCellCva = UIOverrides.useCva("calendar.weekNumberCellCva", calendarWeekNumberCellDefinition);
|
|
208
|
+
const weekNumberCva = UIOverrides.useCva("calendar.weekNumberCva", calendarWeekNumberDefinition);
|
|
188
209
|
const { gridProps, headerProps, weekDays } = useCalendarGrid({
|
|
189
210
|
...props,
|
|
190
211
|
weekdayStyle: "short",
|
|
@@ -195,7 +216,10 @@ const CalendarGrid = ({ state, showWeekNumbers = false, onApply, onDoubleClickAp
|
|
|
195
216
|
onDateSelection?.(date, calendarSide);
|
|
196
217
|
};
|
|
197
218
|
return /* @__PURE__ */ jsx("div", {
|
|
198
|
-
className:
|
|
219
|
+
className: gridCva({
|
|
220
|
+
showWeekNumbers,
|
|
221
|
+
className
|
|
222
|
+
}),
|
|
199
223
|
children: /* @__PURE__ */ jsxs("table", {
|
|
200
224
|
...gridProps,
|
|
201
225
|
cellPadding: "0",
|
|
@@ -204,16 +228,16 @@ const CalendarGrid = ({ state, showWeekNumbers = false, onApply, onDoubleClickAp
|
|
|
204
228
|
...headerProps,
|
|
205
229
|
children: /* @__PURE__ */ jsxs("tr", { children: [showWeekNumbers && /* @__PURE__ */ jsx("th", {
|
|
206
230
|
scope: "col",
|
|
207
|
-
className:
|
|
231
|
+
className: weekNumberCellCva(),
|
|
208
232
|
"aria-label": t(($) => $.ui.datePicker.weekNumberLabel, { ns: "ui" }),
|
|
209
233
|
children: /* @__PURE__ */ jsx("span", {
|
|
210
|
-
className:
|
|
234
|
+
className: weekdayCva(),
|
|
211
235
|
children: t(($) => $.ui.datePicker.weekNumberHeading, { ns: "ui" })
|
|
212
236
|
})
|
|
213
237
|
}), weekDays.map((day) => /* @__PURE__ */ jsx("th", {
|
|
214
238
|
className: "font-normal",
|
|
215
239
|
children: /* @__PURE__ */ jsx("span", {
|
|
216
|
-
className:
|
|
240
|
+
className: weekdayCva(),
|
|
217
241
|
children: day.substring(0, 2)
|
|
218
242
|
})
|
|
219
243
|
}, day))] })
|
|
@@ -223,14 +247,14 @@ const CalendarGrid = ({ state, showWeekNumbers = false, onApply, onDoubleClickAp
|
|
|
223
247
|
const week = firstDate ? getISOWeekNumber(firstDate) : null;
|
|
224
248
|
return /* @__PURE__ */ jsxs("tr", { children: [showWeekNumbers && /* @__PURE__ */ jsx("th", {
|
|
225
249
|
scope: "row",
|
|
226
|
-
className:
|
|
250
|
+
className: weekNumberCellCva(),
|
|
227
251
|
"aria-label": week === null ? void 0 : t(($) => $.ui.datePicker.weekNumber, {
|
|
228
252
|
ns: "ui",
|
|
229
253
|
week
|
|
230
254
|
}),
|
|
231
255
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
232
256
|
size: "small",
|
|
233
|
-
className:
|
|
257
|
+
className: weekNumberCva(),
|
|
234
258
|
children: week
|
|
235
259
|
})
|
|
236
260
|
}), dates.map((date, i) => date ? /* @__PURE__ */ jsx(CalendarCell, {
|