@povio/ui 4.0.2-rc.1 → 5.0.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 +37 -0
- package/dist/{Accordion-CB1F5YAY.js → Accordion-CzFKi8Bp.js} +14 -16
- package/dist/{Alert-BALBsBrP.js → Alert-T25LY8ZL.js} +22 -22
- package/dist/{Alert-CbEhRaU5.d.ts → Alert-f1dG-4Uy.d.ts} +2 -2
- package/dist/{AlertDialog-PjYM6lDo.d.ts → AlertDialog-B6R2MbNg.d.ts} +2 -2
- package/dist/{Autocomplete-DE2lQi5o.d.ts → Autocomplete-CQ63Cynd.d.ts} +1 -1
- package/dist/{Badge-CjPpYa50.d.ts → Badge-YKlKz-Jy.d.ts} +3 -4
- package/dist/{BottomSheet-CVTF1wQe.js → BottomSheet-DvqBvth_.js} +11 -11
- package/dist/{BottomSheet-CT0zuola.d.ts → BottomSheet-xaymO7aQ.d.ts} +1 -1
- package/dist/{BottomSheet.lazy-7AwnB4vS.d.ts → BottomSheet.lazy-CGBRPve_.d.ts} +1 -1
- package/dist/{Breadcrumbs-BibAIBhY.js → Breadcrumbs-DiIYJAWf.js} +10 -12
- package/dist/{Breadcrumbs-D-3YEuem.d.ts → Breadcrumbs-DyriI-Bi.d.ts} +1 -1
- package/dist/{Button-DTNjsGx5.d.ts → Button-BZ3is6IU.d.ts} +3 -3
- package/dist/Button-sn52l1Yv.js +506 -0
- package/dist/{ButtonContent-CohuJJzG.js → ButtonContent-B2_dZ6vA.js} +4 -4
- package/dist/{Calendar-kSEji28A.js → Calendar-DzQApBCy.js} +14 -14
- package/dist/{CheckContent-DzWpxKGq.js → CheckContent-DZ7Gk8GS.js} +3 -4
- package/dist/{Checkbox-DBV_Nxtq.js → Checkbox-BepzfVfK.js} +4 -4
- package/dist/{Checkbox-CBybJbLm.d.ts → Checkbox-CHpgW3fI.d.ts} +1 -1
- package/dist/{CheckboxCheckmark-DJue5Aej.js → CheckboxCheckmark-B3lnOjsU.js} +24 -48
- package/dist/{CheckboxGroup-4xoWgmxr.d.ts → CheckboxGroup-CXrR3A-c.d.ts} +3 -3
- package/dist/{DatePicker-CjmXaZ9T.d.ts → DatePicker-B3l9TEjW.d.ts} +3 -3
- package/dist/{DatePicker-BbdtBAGN.js → DatePicker-CI87jC4_.js} +8 -8
- package/dist/{DatePickerInput-CdCtVE9z.d.ts → DatePickerInput-CZTEsrS0.d.ts} +3 -3
- package/dist/{DatePickerInput-eyHwzKPm.js → DatePickerInput-UBZcTmdv.js} +24 -26
- package/dist/{DateRangePicker-Ct182qur.js → DateRangePicker-BX2O5zA8.js} +17 -17
- package/dist/{DateRangePicker-D1kjkFfS.d.ts → DateRangePicker-DKkc2B3n.d.ts} +3 -3
- package/dist/{DateTimePicker-taYHMMYi.js → DateTimePicker-CVfkp45w.js} +8 -8
- package/dist/{DateTimePicker-CT_Pm3KB.d.ts → DateTimePicker-IHr-wPq8.d.ts} +3 -3
- package/dist/{Dialog-BE9BSDDl.js → Dialog-DdRP4YFC.js} +1 -1
- package/dist/{DropdownMenu-CZQRzOBb.d.ts → DropdownMenu-CWDhk3XA.d.ts} +2 -2
- package/dist/{DropdownMenu-tuf1W-IL.js → DropdownMenu-zrodtd44.js} +2 -2
- package/dist/{DropdownMenuDesktop-C9ttysuk.js → DropdownMenuDesktop-CGYxsavQ.js} +9 -9
- package/dist/{FileInput-CI8D_wf_.d.ts → FileInput-BQbn77bE.d.ts} +5 -5
- package/dist/{FileInput-B-ADr0B3.js → FileInput-Dz1eESr_.js} +16 -20
- package/dist/{FileUpload-3-4Vt4f1.js → FileUpload-D3Io7Is5.js} +48 -58
- package/dist/{FileUpload-BrnJdN3M.d.ts → FileUpload-qySCMcLn.d.ts} +1 -1
- package/dist/{FileUploadContainer-CkBENy6n.d.ts → FileUploadContainer-qOyGvb5J.d.ts} +1 -1
- package/dist/{Form-mzpVGNjX.d.ts → Form-u_N_6mwo.d.ts} +1 -1
- package/dist/{FormField-DTDj3F0A.d.ts → FormField-B0miX3gu.d.ts} +1 -1
- package/dist/{FormField-CAcDJ4HC.js → FormField-CHD4OJOt.js} +38 -37
- package/dist/{FormFieldError-CFg0Wn3i.js → FormFieldError-QRAFHUTt.js} +2 -2
- package/dist/{FormFieldHeaderTooltip-C2IDI4ac.js → FormFieldHeaderTooltip-Dl24v4_j.js} +2 -2
- package/dist/{IconButton-CYazzM7I.d.ts → IconButton-KXecZgYX.d.ts} +2 -2
- package/dist/{InlineIconButton-Rp5bXWcQ.d.ts → InlineIconButton-CbKZ2U_a.d.ts} +2 -2
- package/dist/{InlineTooltipWrapper-7HG-g2X3.js → InlineTooltipWrapper-g5yoeH1B.js} +1 -1
- package/dist/{Input-DSHFNEVl.d.ts → Input-efmPwk8f.d.ts} +3 -3
- package/dist/{InputContent-CvWm6GAv.d.ts → InputContent-DuBa9FuI.d.ts} +3 -3
- package/dist/{InputItem-B3PlrjuD.js → InputItem-2zf6QI5L.js} +11 -11
- package/dist/{Inputs-WZmrBWrL.js → Inputs-BceDTmdT.js} +1 -1
- package/dist/{Inputs-CHEDcuP0.d.ts → Inputs-C-w03Q_F.d.ts} +1 -1
- package/dist/{Link-C5YsZ4pr.js → Link-Btxj2gzg.js} +1 -1
- package/dist/{Link-DS9-0Ijl.d.ts → Link-QYpprkN1.d.ts} +1 -1
- package/dist/{MenuItem-CROWrE2A.d.ts → MenuItem--Mjd_yK8.d.ts} +1 -1
- package/dist/{NumberField-BICDQ2gN.d.ts → NumberField-z2JatYK0.d.ts} +3 -3
- package/dist/{NumberRangeInput-X8G1zfNM.js → NumberRangeInput-BxVrHq8R.js} +7 -7
- package/dist/{NumberRangeInput-BlGXChNR.d.ts → NumberRangeInput-Chai3iEi.d.ts} +2 -2
- package/dist/{Pagination-CumQED8X.d.ts → Pagination-CXtIDclf.d.ts} +1 -1
- package/dist/{PaginationList-CmOJo2r2.js → PaginationList-0bAmvXC0.js} +12 -20
- package/dist/{PaginationList-D79ApWLm.d.ts → PaginationList-CXG4jWFD.d.ts} +2 -2
- package/dist/{PasswordInput-BdrYD1D3.d.ts → PasswordInput-ub2TQxef.d.ts} +1 -1
- package/dist/{PillButton-CihEPQye.d.ts → PillButton-DASBXLFB.d.ts} +2 -2
- package/dist/{Popover-C0_-TLl_.d.ts → Popover-DUKH0q9u.d.ts} +2 -2
- package/dist/{Progress-_jkt2pQw.js → Progress-DQWiFP0L.js} +5 -6
- package/dist/{Progress-CYfDXJKs.d.ts → Progress-Dho39FDs.d.ts} +1 -1
- package/dist/{QuerySelect-Bpz-qI9h.d.ts → QuerySelect-Bo1K6gi_.d.ts} +2 -2
- package/dist/{RadioGroup-WHWosz7K.d.ts → RadioGroup-B_zJdn4y.d.ts} +3 -3
- package/dist/{RadioGroup-DW_OQQDu.js → RadioGroup-SSZYch-J.js} +19 -22
- package/dist/{RichTextEditor-CbgjRfiU.d.ts → RichTextEditor-B_JX3nor.d.ts} +1 -1
- package/dist/{RichTextEditor-BOTitK7E.js → RichTextEditor-D6RewmRj.js} +25 -17
- package/dist/{Select-DmLkOMr1.js → Select-CuZDkeQs.js} +8 -14
- package/dist/{Select-wzB2aQ_X.d.ts → Select-DeapZMYx.d.ts} +1 -1
- package/dist/{SelectBase-DefgAEzh.d.ts → SelectBase-7SE9Za2r.d.ts} +3 -3
- package/dist/{Slider-CZMNmk6P.d.ts → Slider-BFViQmM3.d.ts} +1 -1
- package/dist/{Slider-Q87Hg_V2.js → Slider-DJ9K_a-x.js} +10 -10
- package/dist/{Spinner-owSXOEzg.js → Spinner-BEYBu85B.js} +1 -1
- package/dist/{Spinner-BOgO9bS6.d.ts → Spinner-BbcI6IOb.d.ts} +1 -1
- package/dist/{SplitButton-BPZbQeYC.d.ts → SplitButton-lL87EcBL.d.ts} +3 -3
- package/dist/{Stepper-BbO9TlOM.js → Stepper-C1YPgTBG.js} +26 -29
- package/dist/{Stepper-PcHlxDD5.d.ts → Stepper-hlhViuaK.d.ts} +11 -11
- package/dist/{Switch-C0S5Juhf.d.ts → Switch-DPftmB1b.d.ts} +1 -1
- package/dist/{Switch-Cylpjatb.js → Switch-JxRmH1dX.js} +15 -23
- package/dist/Tag-Cch_68QO.d.ts +43 -0
- package/dist/Tag-HiDH438e.js +145 -0
- package/dist/{TextArea-CBWJ7w-p.d.ts → TextArea-BhrCBGbq.d.ts} +2 -2
- package/dist/{TextArea-DZv6XaT0.js → TextArea-gikUKKDl.js} +6 -6
- package/dist/{TextButton-D7e_YBLe.d.ts → TextButton-DnXRykhF.d.ts} +4 -4
- package/dist/{TimePicker-BZ4WrI5Z.d.ts → TimePicker-CmT89X7v.d.ts} +2 -2
- package/dist/{TimePicker-DAoHgk8U.js → TimePicker-DtNTOOGr.js} +10 -10
- package/dist/{Toast-DIlYlUQk.d.ts → Toast-B4cXs2rj.d.ts} +1 -1
- package/dist/{ToastContainer-8X5jGBe7.js → ToastContainer-BbsMIwtC.js} +2 -2
- package/dist/{ToggleButton-D4y2fLmN.d.ts → ToggleButton-BGuzPJDO.d.ts} +2 -2
- package/dist/{ToggleGroup-Cho_oRZh.js → ToggleGroup-Cl0NS3fe.js} +16 -11
- package/dist/{Tooltip-B-2AxyjP.d.ts → Tooltip-D7dNwGy9.d.ts} +8 -8
- package/dist/{Tooltip-D94a1IQl.js → Tooltip-aE1Vswxz.js} +11 -12
- package/dist/{TooltipWrapper-S2JC-w4e.js → TooltipWrapper-CRf-JFeo.js} +4 -4
- package/dist/{Typography-AcUd9df8.js → Typography-B0Gp1lpc.js} +1 -1
- package/dist/{Typography-BWmZd20e.d.ts → Typography-BiuidzDC.d.ts} +1 -1
- package/dist/{autocomplete-CaQSVRrw.d.ts → autocomplete-BJ7rqWa4.d.ts} +2 -2
- package/dist/{button.cva-ChabF4Am.d.ts → button.cva-BvRI-3Gn.d.ts} +11 -29
- package/dist/{buttonContent.cva-CP857foM.d.ts → buttonContent.cva-BDT_CReI.d.ts} +1 -1
- package/dist/{checkbox-D8CPWRlM.d.ts → checkbox-BfcE8J5P.d.ts} +1 -1
- package/dist/{checkbox-group-BuPUA_Qj.d.ts → checkbox-group-CHs2wFHS.d.ts} +1 -1
- package/dist/{checkbox.cva-DwnPS5df.d.ts → checkbox.cva-gv87kr1W.d.ts} +3 -5
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +7 -7
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +4 -4
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +19 -22
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +1 -1
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group.js +5 -5
- 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.js +1 -1
- package/dist/components/drawer.js +2 -2
- package/dist/components/dropdown-menu.d.ts +2 -2
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/file-input.d.ts +1 -1
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload-container.d.ts +2 -2
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.d.ts +2 -2
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +1 -1
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +2 -2
- package/dist/components/inline-icon-button.d.ts +1 -1
- package/dist/components/inline-icon-button.js +2 -2
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +6 -6
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/number-field.d.ts +1 -1
- package/dist/components/number-field.js +6 -6
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/pagination-list.d.ts +1 -1
- package/dist/components/pagination-list.js +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/pagination.js +5 -6
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/pill-button.d.ts +1 -1
- package/dist/components/pill-button.js +2 -2
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.d.ts +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/query-autocomplete.d.ts +2 -2
- package/dist/components/query-autocomplete.js +2 -2
- package/dist/components/query-select.d.ts +1 -1
- package/dist/components/query-select.js +3 -3
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/slider.d.ts +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +2 -2
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/text-button.d.ts +1 -1
- package/dist/components/text-button.js +1 -2
- 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.js +1 -1
- package/dist/components/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/typography.d.ts +2 -2
- package/dist/components/typography.js +1 -1
- package/dist/components/use-toast.d.ts +1 -1
- package/dist/components/use-toast.js +2 -2
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/link-context.d.ts +2 -2
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/{confirmation.context-fKfUTsLF.d.ts → confirmation.context-DPAKsLYl.d.ts} +1 -1
- package/dist/{date-picker-MXt02b7Z.d.ts → date-picker-BYFWSbN8.d.ts} +1 -1
- package/dist/{date-range-picker-BjT0t21q.d.ts → date-range-picker-BaaXOObm.d.ts} +1 -1
- package/dist/{date-time-picker-CMmIuZtT.d.ts → date-time-picker-D42cTCgx.d.ts} +1 -1
- package/dist/{datePickerValue.utils-GADbSu7a.js → datePickerValue.utils-CFCY-fRJ.js} +8 -10
- package/dist/{dialog.cva-5qNq9YfM.js → dialog.cva---xiOXMQ.js} +1 -1
- package/dist/{dist-C6GfeeEC.js → dist-B8h0VT0E.js} +35 -83
- package/dist/{dom.utils-D3mELNBA.js → dom.utils-DjuRTR6U.js} +1 -1
- package/dist/{dynamicInputs-CQMTixlW.d.ts → dynamicInputs-wEEikYeg.d.ts} +104 -105
- package/dist/{fieldAdapter-BYVPxvYi.js → fieldAdapter-C0lCFmf0.js} +1 -1
- package/dist/{file-input-D-46wS5j.d.ts → file-input-C56GXRwz.d.ts} +1 -1
- package/dist/{file-upload-BG20Bhrn.d.ts → file-upload-Bx0X534g.d.ts} +2 -2
- package/dist/{fileUpload.types-xFzuCT_m.d.ts → fileUpload.types-DWuQKA2l.d.ts} +2 -2
- package/dist/index.d.ts +81 -81
- package/dist/index.js +40 -40
- package/dist/{input-CKGPYwfB.d.ts → input-D2kGX0hW.d.ts} +1 -1
- package/dist/input.cva-BcXyC1vZ.js +208 -0
- package/dist/{input.cva-ByFuAEIS.d.ts → input.cva-BhDJxc7r.d.ts} +4 -8
- package/dist/{link.context-C5ZgwVM5.d.ts → link.context-CDZn6oL2.d.ts} +1 -1
- package/dist/{number-field-CyP6XgJh.d.ts → number-field-Bw2GKr0s.d.ts} +1 -1
- package/dist/{number-range-input-DMmlk7Bl.d.ts → number-range-input-Dqe6x2dR.d.ts} +1 -1
- package/dist/{password-input-BWpfQe0G.d.ts → password-input-DepKyhh3.d.ts} +1 -1
- package/dist/{pillButton.cva-BVsxGnqF.d.ts → pillButton.cva-BEWuu0qm.d.ts} +1 -3
- package/dist/pillButton.cva-DlP5tOT5.js +197 -0
- package/dist/{popover.cva-CXha_UMQ.js → popover.cva-BJSkLndY.js} +1 -1
- package/dist/{query-autocomplete-DV8fEkK2.d.ts → query-autocomplete-BSpHin_R.d.ts} +2 -2
- package/dist/{query-select-BZ3-5WTu.d.ts → query-select-m1DCp4UF.d.ts} +2 -2
- package/dist/{queryAutocomplete.types-Dm8Ttx4v.d.ts → queryAutocomplete.types-CrbVUmvl.d.ts} +2 -2
- package/dist/{radio-group-CmUtsjqP.d.ts → radio-group-Civ3Fb70.d.ts} +1 -1
- package/dist/{radio.cva-DAq2M13H.d.ts → radio.cva-BlOrmxzf.d.ts} +2 -2
- package/dist/rhf/autocomplete.d.ts +2 -2
- package/dist/rhf/autocomplete.js +1 -1
- package/dist/rhf/checkbox-group.d.ts +2 -2
- package/dist/rhf/checkbox-group.js +1 -1
- package/dist/rhf/checkbox.d.ts +2 -2
- package/dist/rhf/checkbox.js +2 -2
- package/dist/rhf/date-picker.d.ts +2 -2
- package/dist/rhf/date-picker.js +2 -2
- package/dist/rhf/date-range-picker.d.ts +2 -2
- package/dist/rhf/date-range-picker.js +2 -2
- package/dist/rhf/date-time-picker.d.ts +2 -2
- package/dist/rhf/date-time-picker.js +2 -2
- package/dist/rhf/file-input.d.ts +2 -2
- package/dist/rhf/file-input.js +2 -2
- package/dist/rhf/file-upload.d.ts +2 -2
- package/dist/rhf/file-upload.js +2 -2
- package/dist/rhf/input.d.ts +2 -2
- package/dist/rhf/input.js +1 -1
- package/dist/rhf/inputs.d.ts +2 -2
- package/dist/rhf/number-field.d.ts +2 -2
- package/dist/rhf/number-field.js +1 -1
- package/dist/rhf/number-range-input.d.ts +2 -2
- package/dist/rhf/number-range-input.js +2 -2
- package/dist/rhf/password-input.d.ts +2 -2
- package/dist/rhf/password-input.js +1 -1
- package/dist/rhf/query-autocomplete.d.ts +1 -1
- package/dist/rhf/query-autocomplete.js +1 -1
- package/dist/rhf/query-select.d.ts +1 -1
- package/dist/rhf/query-select.js +1 -1
- package/dist/rhf/radio-group.d.ts +2 -2
- package/dist/rhf/radio-group.js +2 -2
- package/dist/rhf/rich-text-editor.d.ts +2 -2
- package/dist/rhf/rich-text-editor.js +2 -2
- package/dist/rhf/select.d.ts +2 -2
- package/dist/rhf/select.js +2 -2
- package/dist/rhf/slider.d.ts +2 -2
- package/dist/rhf/slider.js +2 -2
- package/dist/rhf/switch.d.ts +2 -2
- package/dist/rhf/switch.js +2 -2
- package/dist/rhf/text-area.d.ts +2 -2
- package/dist/rhf/text-area.js +2 -2
- package/dist/rhf/time-picker.d.ts +2 -2
- package/dist/rhf/time-picker.js +2 -2
- package/dist/rhf/toggle-group.js +2 -2
- package/dist/{rhf-1_ZO8GhU.js → rhf-D8B7mLO1.js} +1 -1
- package/dist/rhf.d.ts +81 -81
- package/dist/rhf.js +40 -40
- package/dist/{rich-text-editor-Db3XWWFo.d.ts → rich-text-editor-DvNEOIux.d.ts} +1 -1
- package/dist/rich-text-editor.d.ts +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/{select-DXGbGkZM.d.ts → select-DY5QtwqI.d.ts} +2 -2
- package/dist/{slider-JQh0ypfU.d.ts → slider-CrB-Gkcv.d.ts} +1 -1
- package/dist/{staticDateTimeSegments-BQoA94W-.js → staticDateTimeSegments-DR8bJw-F.js} +12 -10
- package/dist/{staticSelect.utils-ad60elvT.js → staticSelect.utils-Cm7MoDVG.js} +45 -37
- package/dist/styles/color-utilities.css +32 -0
- package/dist/styles/editor.css +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/{switch-Lm3xl1rQ.d.ts → switch-8WzXfTS8.d.ts} +1 -1
- package/dist/switch.cva-8T0fw31t.d.ts +15 -0
- package/dist/tanstack/autocomplete.d.ts +1 -1
- package/dist/tanstack/checkbox-group.d.ts +1 -1
- package/dist/tanstack/checkbox.d.ts +1 -1
- package/dist/tanstack/checkbox.js +1 -1
- package/dist/tanstack/date-picker.d.ts +1 -1
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.d.ts +1 -1
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.d.ts +1 -1
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/file-input.d.ts +1 -1
- package/dist/tanstack/file-input.js +1 -1
- package/dist/tanstack/file-upload.d.ts +2 -2
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/form.d.ts +1 -1
- package/dist/tanstack/form.js +1 -1
- package/dist/tanstack/input.d.ts +1 -1
- package/dist/tanstack/inputs.d.ts +3 -3
- package/dist/tanstack/inputs.js +1 -1
- package/dist/tanstack/number-field.d.ts +1 -1
- package/dist/tanstack/number-range-input.d.ts +1 -1
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/password-input.d.ts +1 -1
- package/dist/tanstack/query-select.d.ts +1 -1
- package/dist/tanstack/radio-group.d.ts +1 -1
- 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 +1 -1
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.d.ts +1 -1
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/switch.d.ts +1 -1
- package/dist/tanstack/switch.js +1 -1
- package/dist/tanstack/table.d.ts +1 -1
- package/dist/tanstack/table.js +1 -1
- package/dist/tanstack/text-area.d.ts +1 -1
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/time-picker.d.ts +1 -1
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle-group.js +1 -1
- package/dist/tanstack.d.ts +65 -65
- package/dist/tanstack.js +49 -49
- package/dist/{text-area-I5MNcGp_.d.ts → text-area-CqnKRWKq.d.ts} +1 -1
- package/dist/{time-picker-DdhW8GmD.d.ts → time-picker-Cz1GIzpF.d.ts} +1 -1
- package/dist/{toast.cva-LU7TGprV.d.ts → toast.cva-Cj6o2Rmu.d.ts} +8 -8
- package/dist/{toast.runtime-QMYrNvoQ.js → toast.runtime-CIKvmkjo.js} +1 -1
- package/dist/typography.cva-CJZZSGXW.js +51 -0
- package/dist/typography.cva-jtp6WWUH.d.ts +35 -0
- package/dist/{uiConfig.context-RFvaQYzD.js → uiConfig.context-D2eUIPHn.js} +11 -20
- package/dist/{uiConfig.context-CIoMqe1_.d.ts → uiConfig.context-aoarCLYX.d.ts} +11 -12
- package/dist/{useBreakpoint-3kpqzjoC.js → useBreakpoint-BOA-MyoT.js} +1 -1
- package/dist/{useFieldAccessibility-CtTdRX2u.js → useFieldAccessibility-D2_Qm26-.js} +10 -11
- package/dist/{useFormAutosave-DqP6lB4l.js → useFormAutosave-BYFn3LH8.js} +2 -2
- package/dist/{useStaticInputHandoff-BAaDW_0z.js → useStaticInputHandoff-DB9PgioW.js} +11 -12
- package/dist/{useTableColumnConfig-DVI_jVHz.js → useTableColumnConfig-CcJxu14U.js} +26 -28
- package/dist/{useTableNav-Tu8UZxHA.d.ts → useTableNav-D9mICzNW.d.ts} +7 -7
- package/dist/{useToast-NBGlVeFP.d.ts → useToast-DMSm59Y6.d.ts} +1 -1
- package/package.json +2 -1
- package/dist/Button-CcZBqoQp.js +0 -761
- package/dist/Tag-CgPeLVXM.d.ts +0 -44
- package/dist/Tag-DNuHvt6J.js +0 -148
- package/dist/input.cva-KYGD4Bdz.js +0 -324
- package/dist/pillButton.cva-6tjADUQ6.js +0 -265
- package/dist/switch.cva-BIioyegR.d.ts +0 -15
- package/dist/typography.cva-BI0FyIqm.js +0 -129
- package/dist/typography.cva-YaO6JLqU.d.ts +0 -51
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as TypographyVariantProps } from "./typography.cva-
|
|
2
|
-
import { n as ButtonVariantProps } from "./button.cva-
|
|
3
|
-
import { t as CheckboxVariantProps } from "./checkbox.cva-
|
|
4
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
5
|
-
import { t as RadioVariantProps } from "./radio.cva-
|
|
6
|
-
import { t as SwitchVariantProps } from "./switch.cva-
|
|
7
|
-
import { r as TypographyPropsCva } from "./Typography-
|
|
8
|
-
import { t as ToastVariantProps } from "./toast.cva-
|
|
1
|
+
import { t as TypographyVariantProps } from "./typography.cva-jtp6WWUH.js";
|
|
2
|
+
import { n as ButtonVariantProps } from "./button.cva-BvRI-3Gn.js";
|
|
3
|
+
import { t as CheckboxVariantProps } from "./checkbox.cva-gv87kr1W.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-BhDJxc7r.js";
|
|
5
|
+
import { t as RadioVariantProps } from "./radio.cva-BlOrmxzf.js";
|
|
6
|
+
import { t as SwitchVariantProps } from "./switch.cva-8T0fw31t.js";
|
|
7
|
+
import { r as TypographyPropsCva } from "./Typography-BiuidzDC.js";
|
|
8
|
+
import { t as ToastVariantProps } from "./toast.cva-Cj6o2Rmu.js";
|
|
9
9
|
import { FC, PropsWithChildren, ReactElement, SVGProps } from "react";
|
|
10
10
|
import { ToastPosition } from "react-toastify";
|
|
11
11
|
//#region src/config/uiConfig.types.d.ts
|
|
@@ -75,7 +75,7 @@ interface UIConfigOptions {
|
|
|
75
75
|
/** Show ISO week numbers in a leading column and start calendar weeks on Monday. */
|
|
76
76
|
showWeekNumbers?: boolean;
|
|
77
77
|
todayIcon?: DatePickerIcon;
|
|
78
|
-
todayIconButtonSize?: ButtonVariantProps["size"]
|
|
78
|
+
todayIconButtonSize?: ButtonVariantProps["size"];
|
|
79
79
|
todayIconButtonComponent?: "iconButton" | "inlineIconButton";
|
|
80
80
|
todayIconPlacement?: "content" | "fieldLabel";
|
|
81
81
|
shouldForceLeadingZeros?: boolean;
|
|
@@ -102,10 +102,9 @@ interface UIConfigOptions {
|
|
|
102
102
|
hideThumb?: boolean;
|
|
103
103
|
headerTypography?: TypographyVariantProps;
|
|
104
104
|
};
|
|
105
|
-
tableHeaderText: Pick<TypographyPropsCva, "
|
|
106
|
-
tableCellText: Pick<TypographyPropsCva, "
|
|
105
|
+
tableHeaderText: Pick<TypographyPropsCva, "size">;
|
|
106
|
+
tableCellText: Pick<TypographyPropsCva, "size">;
|
|
107
107
|
tag: {
|
|
108
|
-
textVariant?: TypographyVariantProps["variant"];
|
|
109
108
|
textSize?: TypographyVariantProps["size"];
|
|
110
109
|
};
|
|
111
110
|
toast: Pick<ToastVariantProps, "variant"> & {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
2
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
3
|
-
import { t as typographyDefinition } from "./typography.cva-
|
|
4
|
-
import { t as Spinner } from "./Spinner-
|
|
3
|
+
import { t as typographyDefinition } from "./typography.cva-CJZZSGXW.js";
|
|
4
|
+
import { t as Spinner } from "./Spinner-BEYBu85B.js";
|
|
5
5
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
6
|
-
import { r as FormFieldLabel } from "./FormField-
|
|
7
|
-
import { a as inputSizeDefinition, r as inputContentWrapperDefinition } from "./input.cva-
|
|
8
|
-
import { n as InputClear } from "./TooltipWrapper-
|
|
6
|
+
import { r as FormFieldLabel } from "./FormField-CHD4OJOt.js";
|
|
7
|
+
import { a as inputSizeDefinition, r as inputContentWrapperDefinition } from "./input.cva-BcXyC1vZ.js";
|
|
8
|
+
import { n as InputClear } from "./TooltipWrapper-CRf-JFeo.js";
|
|
9
9
|
import { isValidElement, useId } from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region src/components/inputs/Input/shared/InputContent.tsx
|
|
@@ -25,7 +25,7 @@ const InputContent = ({ leadingIcon: LeadingIcon, trailingIcon: TrailingIcon, un
|
|
|
25
25
|
})),
|
|
26
26
|
children: [LeadingIcon && /* @__PURE__ */ jsx("div", {
|
|
27
27
|
className: clsx(!isLeadingIconElement && "pointer-events-none"),
|
|
28
|
-
children: isLeadingIconElement ? LeadingIcon : /* @__PURE__ */ jsx(LeadingIcon, { className: "size-6 text-
|
|
28
|
+
children: isLeadingIconElement ? LeadingIcon : /* @__PURE__ */ jsx(LeadingIcon, { className: "size-6 text-inherit" })
|
|
29
29
|
}), /* @__PURE__ */ jsxs("div", {
|
|
30
30
|
className: inputContentWrapperCva({ as }),
|
|
31
31
|
children: [as && ["filter", "floating"].includes(as) && headerProps && /* @__PURE__ */ jsx(FormFieldLabel, {
|
|
@@ -49,10 +49,9 @@ const InputContent = ({ leadingIcon: LeadingIcon, trailingIcon: TrailingIcon, un
|
|
|
49
49
|
}),
|
|
50
50
|
unit && /* @__PURE__ */ jsx("span", {
|
|
51
51
|
className: typographyCva({
|
|
52
|
-
size: "
|
|
53
|
-
sizeMobile: "
|
|
54
|
-
|
|
55
|
-
className: "text-text-default-3"
|
|
52
|
+
size: "small",
|
|
53
|
+
sizeMobile: "small",
|
|
54
|
+
className: "text-inherit font-bold"
|
|
56
55
|
}),
|
|
57
56
|
children: unit
|
|
58
57
|
}),
|
|
@@ -70,7 +69,7 @@ const InputContent = ({ leadingIcon: LeadingIcon, trailingIcon: TrailingIcon, un
|
|
|
70
69
|
className: clsx("border-0!", action.className),
|
|
71
70
|
"data-static-press-action": ""
|
|
72
71
|
}),
|
|
73
|
-
!isLoading && !action && TrailingIcon && (isTrailingIconElement ? TrailingIcon : /* @__PURE__ */ jsx(TrailingIcon, { className: "size-6 text-
|
|
72
|
+
!isLoading && !action && TrailingIcon && (isTrailingIconElement ? TrailingIcon : /* @__PURE__ */ jsx(TrailingIcon, { className: "size-6 text-inherit" }))
|
|
74
73
|
]
|
|
75
74
|
})]
|
|
76
75
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as isEqual, o as ObjectUtils } from "./uiConfig.context-
|
|
1
|
+
import { a as isEqual, o as ObjectUtils } from "./uiConfig.context-D2eUIPHn.js";
|
|
2
2
|
import { n as useForm } from "./form.binding-CG1RPv6o.js";
|
|
3
3
|
import { t as StringUtils } from "./string.utils-BPgv6QwA.js";
|
|
4
4
|
import { t as ZodUtils } from "./zod.utils-DrrPDT9v.js";
|
|
5
5
|
import { n as getDefaultInputComponentType } from "./dynamicInputs-CRMWIpHA.js";
|
|
6
|
-
import { t as InputItem } from "./InputItem-
|
|
6
|
+
import { t as InputItem } from "./InputItem-2zf6QI5L.js";
|
|
7
7
|
import { useCallback, useEffect, useMemo, useRef } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-D2eUIPHn.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
3
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
4
|
-
import { t as typographyDefinition } from "./typography.cva-
|
|
5
|
-
import { t as Spinner } from "./Spinner-
|
|
4
|
+
import { t as typographyDefinition } from "./typography.cva-CJZZSGXW.js";
|
|
5
|
+
import { t as Spinner } from "./Spinner-BEYBu85B.js";
|
|
6
6
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
7
|
-
import { r as FormFieldLabel, t as FormField } from "./FormField-
|
|
8
|
-
import { a as inputSizeDefinition, r as inputContentWrapperDefinition, t as inputBaseDefinition } from "./input.cva-
|
|
9
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
7
|
+
import { r as FormFieldLabel, t as FormField } from "./FormField-CHD4OJOt.js";
|
|
8
|
+
import { a as inputSizeDefinition, r as inputContentWrapperDefinition, t as inputBaseDefinition } from "./input.cva-BcXyC1vZ.js";
|
|
9
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-CRf-JFeo.js";
|
|
10
10
|
import { isValidElement, useId, useLayoutEffect, useRef, useState } from "react";
|
|
11
11
|
import { useFocusRing as $32daac5f69beb98a$re_export$useFocusRing } from "react-aria/useFocusRing";
|
|
12
12
|
import "react-aria/FocusScope";
|
|
@@ -129,10 +129,9 @@ const InputFrame = (props) => {
|
|
|
129
129
|
trailingContent,
|
|
130
130
|
unit && /* @__PURE__ */ jsx("span", {
|
|
131
131
|
className: typographyCva({
|
|
132
|
-
size: "
|
|
133
|
-
sizeMobile: "
|
|
134
|
-
|
|
135
|
-
className: "text-text-default-3"
|
|
132
|
+
size: "small",
|
|
133
|
+
sizeMobile: "small",
|
|
134
|
+
className: "text-inherit font-bold"
|
|
136
135
|
}),
|
|
137
136
|
children: unit
|
|
138
137
|
}),
|
|
@@ -163,7 +162,7 @@ const InputFrame = (props) => {
|
|
|
163
162
|
className: clsx("flex items-center gap-input-gap-trailing-elements", inputSizeCva({
|
|
164
163
|
size,
|
|
165
164
|
as
|
|
166
|
-
}), !isTrailingInteractive && "pointer-events-none",
|
|
165
|
+
}), !isTrailingInteractive && "pointer-events-none", trailingClassName),
|
|
167
166
|
children: trailingContentNodes
|
|
168
167
|
}) : trailingContentNodes;
|
|
169
168
|
const inputFrameContent = wrapContentAndTrailing ? /* @__PURE__ */ jsxs("div", {
|
|
@@ -251,7 +250,7 @@ const inputFrameContentGroupClassNames = {
|
|
|
251
250
|
};
|
|
252
251
|
const renderIconVisual = (icon) => {
|
|
253
252
|
if (isValidElement(icon)) return icon;
|
|
254
|
-
return /* @__PURE__ */ jsx(icon, { className: "size-6 text-
|
|
253
|
+
return /* @__PURE__ */ jsx(icon, { className: "size-6 text-inherit" });
|
|
255
254
|
};
|
|
256
255
|
const getInputFrameDataAttributeProps = (dataAttributes) => ({
|
|
257
256
|
"data-is-empty": dataAttributes?.dataIsEmpty || void 0,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as logger } from "./logger-CqZjM-sn.js";
|
|
2
2
|
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
3
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
3
|
+
import { t as UIConfig } from "./uiConfig.context-D2eUIPHn.js";
|
|
4
4
|
import { t as ChevronDown } from "./chevron-down-B4Pr8bD3.js";
|
|
5
5
|
import { t as ChevronUp } from "./chevron-up-D_Gqpb5M.js";
|
|
6
6
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
7
|
-
import { t as Checkbox } from "./Checkbox-
|
|
7
|
+
import { t as Checkbox } from "./Checkbox-BepzfVfK.js";
|
|
8
8
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
9
|
-
import { t as Typography } from "./Typography-
|
|
10
|
-
import { t as Spinner } from "./Spinner-
|
|
9
|
+
import { t as Typography } from "./Typography-B0Gp1lpc.js";
|
|
10
|
+
import { t as Spinner } from "./Spinner-BEYBu85B.js";
|
|
11
11
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
12
12
|
import "./i18n-CX2EjhJI.js";
|
|
13
13
|
import { t as useIntersectionObserver } from "./useIntersectionObserver-DYfHnGGU.js";
|
|
@@ -15,7 +15,7 @@ import { t as IntlUtils } from "./intl.utils-zwAFoZ0U.js";
|
|
|
15
15
|
import { t as DateUtils } from "./date.utils-B8_QF9y6.js";
|
|
16
16
|
import { t as StringUtils } from "./string.utils-BPgv6QwA.js";
|
|
17
17
|
import { t as ZodUtils } from "./zod.utils-DrrPDT9v.js";
|
|
18
|
-
import { t as Dialog } from "./Dialog-
|
|
18
|
+
import { t as Dialog } from "./Dialog-DdRP4YFC.js";
|
|
19
19
|
import { Pagination } from "./components/pagination.js";
|
|
20
20
|
import { t as useTranslationMemo } from "./useTranslationMemo-CrZbeyBv.js";
|
|
21
21
|
import { t as UIRouter } from "./router.context-B0jTMtE0.js";
|
|
@@ -83,25 +83,25 @@ const GripVertical = createLucideIcon(__iconData);
|
|
|
83
83
|
const tableRowDefinition = UIOverrides.defineConfig({
|
|
84
84
|
base: [
|
|
85
85
|
"h-9 max-h-12",
|
|
86
|
-
"hover:bg-
|
|
86
|
+
"not-selected:not-disabled:hover:bg-surface-default-background",
|
|
87
87
|
"disabled:opacity-50",
|
|
88
|
-
"selected:bg-
|
|
89
|
-
"hover:
|
|
88
|
+
"selected:bg-interactive-subtle-secondary-background",
|
|
89
|
+
"selected:not-disabled:hover:bg-tint-interactive-subtle-secondary-background/80",
|
|
90
90
|
"data-clickable:cursor-pointer",
|
|
91
|
-
"focus-within:bg-
|
|
91
|
+
"not-disabled:focus-within:bg-tint-interactive-subtle-secondary-background/60"
|
|
92
92
|
],
|
|
93
93
|
config: { variants: { alternatingBackground: {
|
|
94
|
-
even: "even:bg-
|
|
95
|
-
odd: "odd:bg-
|
|
94
|
+
even: "even:bg-surface-inverted-alt/5",
|
|
95
|
+
odd: "odd:bg-surface-inverted-alt/5"
|
|
96
96
|
} } }
|
|
97
97
|
});
|
|
98
98
|
const theadDefinition = UIOverrides.defineConfig({ base: ["group/table-head sticky top-0 z-sticky data-is-sticky:shadow-2"] });
|
|
99
99
|
const tableHeadRowDefinition = UIOverrides.defineConfig({ base: ["h-8 w-full"] });
|
|
100
100
|
const tableHeadDataDefinition = UIOverrides.defineConfig({
|
|
101
|
-
base: ["border-b border-b-
|
|
101
|
+
base: ["border-b border-b-border-default-subtle border-solid px-table-header-cell-container-side-default py-table-header-cell-container-height-default text-left", "group-data-[is-sticky=true]/table-head:bg-surface-default-card"],
|
|
102
102
|
config: {
|
|
103
103
|
variants: { hasRightBorder: {
|
|
104
|
-
true: "border-l border-l-
|
|
104
|
+
true: "border-l border-l-border-default-subtle border-solid",
|
|
105
105
|
false: ""
|
|
106
106
|
} },
|
|
107
107
|
defaultVariants: { hasRightBorder: true }
|
|
@@ -109,32 +109,31 @@ const tableHeadDataDefinition = UIOverrides.defineConfig({
|
|
|
109
109
|
});
|
|
110
110
|
const tableDataDefinition = UIOverrides.defineConfig({
|
|
111
111
|
base: [
|
|
112
|
-
"relative h-0
|
|
113
|
-
"border-b border-b-
|
|
114
|
-
"has-[*>[data-hovered]:not([data-disabled])]:hover:border-b-
|
|
115
|
-
"has-[*>[data-invalid]]:border-b-
|
|
116
|
-
"has-[*>[data-focused]]:border-b-
|
|
112
|
+
"relative h-0.5 overflow-hidden text-ellipsis whitespace-nowrap border-t border-t-transparent px-2",
|
|
113
|
+
"border-b border-b-border-default-subtle",
|
|
114
|
+
"has-[*>[data-hovered]:not([data-disabled])]:hover:border-b-tint-border-default-input/80",
|
|
115
|
+
"has-[*>[data-invalid]]:border-b-border-destructive-base!",
|
|
116
|
+
"has-[*>[data-focused]]:border-b-interactive-ring"
|
|
117
117
|
],
|
|
118
118
|
config: {
|
|
119
119
|
variants: { hasRightBorder: {
|
|
120
|
-
true: "border-l border-l-
|
|
120
|
+
true: "border-l border-l-border-default-subtle",
|
|
121
121
|
false: ""
|
|
122
122
|
} },
|
|
123
123
|
defaultVariants: { hasRightBorder: true }
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
|
-
const tableHeaderTextDefinition = UIOverrides.defineConfig({ base: ["overflow-hidden text-ellipsis px-table-cell-content-side-m py-table-cell-content-height-m text-
|
|
127
|
-
const tableCellTextDefinition = UIOverrides.defineConfig({ base: ["block overflow-hidden text-ellipsis text-
|
|
126
|
+
const tableHeaderTextDefinition = UIOverrides.defineConfig({ base: ["overflow-hidden text-ellipsis px-table-cell-content-side-m py-table-cell-content-height-m text-surface-default-card-foreground"] });
|
|
127
|
+
const tableCellTextDefinition = UIOverrides.defineConfig({ base: ["block overflow-hidden text-ellipsis text-surface-default-foreground"] });
|
|
128
128
|
//#endregion
|
|
129
129
|
//#region src/components/table/CellText.tsx
|
|
130
130
|
const CellText = (props) => {
|
|
131
131
|
const uiConfig = UIConfig.useConfig();
|
|
132
|
-
const {
|
|
132
|
+
const { size = uiConfig.tableCellText.size, children, style, className } = props;
|
|
133
133
|
const cellTextCva = UIOverrides.useCva("table.cellTextCva", tableCellTextDefinition);
|
|
134
134
|
return /* @__PURE__ */ jsx(Typography, {
|
|
135
135
|
className: cellTextCva({ className }),
|
|
136
136
|
as: "span",
|
|
137
|
-
variant,
|
|
138
137
|
size,
|
|
139
138
|
style,
|
|
140
139
|
"data-rac": true,
|
|
@@ -145,12 +144,11 @@ const CellText = (props) => {
|
|
|
145
144
|
//#region src/components/table/HeaderText.tsx
|
|
146
145
|
const HeaderText = (props) => {
|
|
147
146
|
const uiConfig = UIConfig.useConfig();
|
|
148
|
-
const {
|
|
147
|
+
const { size = uiConfig.tableHeaderText.size, children, style, className } = props;
|
|
149
148
|
const headerTextCva = UIOverrides.useCva("table.headerTextCva", tableHeaderTextDefinition);
|
|
150
149
|
return /* @__PURE__ */ jsx(Typography, {
|
|
151
150
|
className: headerTextCva({ className }),
|
|
152
151
|
as: "span",
|
|
153
|
-
variant,
|
|
154
152
|
size,
|
|
155
153
|
style,
|
|
156
154
|
children
|
|
@@ -676,7 +674,7 @@ const Table = ({ items, showCellBorder, columns, onRowClick, onDoubleClick, clas
|
|
|
676
674
|
children: isAnyRowSelected ? /* @__PURE__ */ jsx(ActionHeader, { table }) : /* @__PURE__ */ jsxs("button", {
|
|
677
675
|
type: "button",
|
|
678
676
|
"aria-label": "Sort column",
|
|
679
|
-
className: clsx("flex select-none items-center gap-1 text-
|
|
677
|
+
className: clsx("flex select-none items-center gap-1 text-surface-default-card-foreground", header_0.column.getCanSort() ? "h-6 cursor-pointer rounded-xs px-1 hover:bg-surface-default-background" : "cursor-default", columnMeta.sortClass),
|
|
680
678
|
onClick: header_0.column.getToggleSortingHandler(),
|
|
681
679
|
children: [typeof header_0.column.columnDef.header === "function" ? flexRender(header_0.column.columnDef.header, header_0.getContext()) : /* @__PURE__ */ jsx(HeaderText, { children: header_0.column.columnDef.header }), {
|
|
682
680
|
asc: /* @__PURE__ */ jsx(ChevronUp, {
|
|
@@ -870,8 +868,8 @@ function ColumnConfigModal(t0) {
|
|
|
870
868
|
if ($[14] !== t7) {
|
|
871
869
|
t8 = /* @__PURE__ */ jsx(Typography, {
|
|
872
870
|
as: "h2",
|
|
873
|
-
|
|
874
|
-
size: "
|
|
871
|
+
className: "font-bold",
|
|
872
|
+
size: "lead",
|
|
875
873
|
children: t7
|
|
876
874
|
});
|
|
877
875
|
$[14] = t7;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-C3xb4Ttq.js";
|
|
2
2
|
import { t as FieldPath } from "./form.binding-DVJ5F0JE.js";
|
|
3
|
-
import { n as TypographyProps } from "./Typography-
|
|
3
|
+
import { n as TypographyProps } from "./Typography-BiuidzDC.js";
|
|
4
4
|
import { CSSProperties, ComponentType, Dispatch, FC, KeyboardEvent, ReactNode, SetStateAction } from "react";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { CellContext, ColumnDef, ColumnMeta, ColumnOrderState, ColumnVisibilityState, OnChangeFn, PaginationState, Row, RowData, RowSelectionState, SortingState, StockFeatures, Table } from "@tanstack/react-table";
|
|
7
7
|
import { DragEndEvent, UniqueIdentifier } from "@dnd-kit/core";
|
|
8
8
|
import { TFunction } from "i18next";
|
|
9
9
|
//#region src/components/table/CellText.d.ts
|
|
10
|
-
interface CellTextProps extends Partial<Pick<TypographyProps, "
|
|
10
|
+
interface CellTextProps extends Partial<Pick<TypographyProps, "size">> {
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
className?: string;
|
|
13
13
|
style?: CSSProperties;
|
|
@@ -28,7 +28,7 @@ interface ColumnConfigModalProps<TData extends RowData, TValue> {
|
|
|
28
28
|
declare function ColumnConfigModal<TData extends RowData, TValue>({ isOpen, onClose, configColumns, visibleColumns, onVisibilityChange, onOrderChange }: ColumnConfigModalProps<TData, TValue>): import("react").JSX.Element | null;
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/components/table/HeaderText.d.ts
|
|
31
|
-
interface HeaderTextProps extends Partial<Pick<TypographyProps, "
|
|
31
|
+
interface HeaderTextProps extends Partial<Pick<TypographyProps, "size">> {
|
|
32
32
|
children: ReactNode;
|
|
33
33
|
className?: string;
|
|
34
34
|
style?: CSSProperties;
|
|
@@ -40,8 +40,8 @@ declare const tableRowDefinition: {
|
|
|
40
40
|
base: string[];
|
|
41
41
|
config: StyleMergeUtils.Config<{
|
|
42
42
|
readonly alternatingBackground: {
|
|
43
|
-
readonly even: "even:bg-
|
|
44
|
-
readonly odd: "odd:bg-
|
|
43
|
+
readonly even: "even:bg-surface-inverted-alt/5";
|
|
44
|
+
readonly odd: "odd:bg-surface-inverted-alt/5";
|
|
45
45
|
};
|
|
46
46
|
}>;
|
|
47
47
|
};
|
|
@@ -55,7 +55,7 @@ declare const tableHeadDataDefinition: {
|
|
|
55
55
|
base: string[];
|
|
56
56
|
config: StyleMergeUtils.Config<{
|
|
57
57
|
readonly hasRightBorder: {
|
|
58
|
-
readonly true: "border-l border-l-
|
|
58
|
+
readonly true: "border-l border-l-border-default-subtle border-solid";
|
|
59
59
|
readonly false: "";
|
|
60
60
|
};
|
|
61
61
|
}>;
|
|
@@ -64,7 +64,7 @@ declare const tableDataDefinition: {
|
|
|
64
64
|
base: string[];
|
|
65
65
|
config: StyleMergeUtils.Config<{
|
|
66
66
|
readonly hasRightBorder: {
|
|
67
|
-
readonly true: "border-l border-l-
|
|
67
|
+
readonly true: "border-l border-l-border-default-subtle";
|
|
68
68
|
readonly false: "";
|
|
69
69
|
};
|
|
70
70
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ToastProps } from "./Toast-
|
|
1
|
+
import { r as ToastProps } from "./Toast-B4cXs2rj.js";
|
|
2
2
|
import { Id, ToastOptions, ToastPosition } from "react-toastify";
|
|
3
3
|
//#region src/components/status/Toast/useToast.d.ts
|
|
4
4
|
interface ToastParams extends Omit<ToastProps, "color"> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@povio/ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-rc.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -1304,6 +1304,7 @@
|
|
|
1304
1304
|
"default": "./dist/rich-text-editor.js"
|
|
1305
1305
|
},
|
|
1306
1306
|
"./rich-text-editor/styles": "./dist/styles/editor.css",
|
|
1307
|
+
"./color-utilities": "./dist/styles/color-utilities.css",
|
|
1307
1308
|
"./tw-ui-plugin": {
|
|
1308
1309
|
"types": "./dist/tw-ui-plugin.d.ts",
|
|
1309
1310
|
"import": "./dist/tw-ui-plugin.js",
|