@povio/ui 4.0.2 → 5.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.rulesync/rules/ui-buttons-and-content.md +54 -0
- package/.rulesync/rules/ui-inputs-and-forms.md +62 -0
- package/.rulesync/rules/ui-overlays-navigation-and-styling.md +49 -0
- package/.rulesync/rules/ui-overview.md +33 -0
- package/README.md +41 -10
- 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 +9 -2
- package/rulesync.jsonc +11 -0
- package/scripts/generate-rules.mjs +34 -0
- 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,7 +1,7 @@
|
|
|
1
|
-
import { t as DropdownMenu } from "../DropdownMenu-
|
|
1
|
+
import { t as DropdownMenu } from "../DropdownMenu-zrodtd44.js";
|
|
2
2
|
import { t as ChevronDown } from "../chevron-down-B4Pr8bD3.js";
|
|
3
3
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
4
|
-
import { t as Button } from "../Button-
|
|
4
|
+
import { t as Button } from "../Button-sn52l1Yv.js";
|
|
5
5
|
import { IconButton } from "./icon-button.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as StepItem, r as StepperProps, t as Stepper } from "../Stepper-
|
|
1
|
+
import { n as StepItem, r as StepperProps, t as Stepper } from "../Stepper-hlhViuaK.js";
|
|
2
2
|
export { type StepItem, Stepper, type StepperProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Stepper } from "../Stepper-
|
|
1
|
+
import { t as Stepper } from "../Stepper-C1YPgTBG.js";
|
|
2
2
|
export { Stepper };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Switch, r as SwitchProps, t as ControlledSwitchProps } from "../Switch-
|
|
1
|
+
import { n as Switch, r as SwitchProps, t as ControlledSwitchProps } from "../Switch-DPftmB1b.js";
|
|
2
2
|
export { ControlledSwitchProps, Switch, SwitchProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Switch } from "../Switch-
|
|
1
|
+
import { t as Switch } from "../Switch-JxRmH1dX.js";
|
|
2
2
|
export { Switch };
|
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-Cch_68QO.js";
|
|
2
2
|
export { Tag, TagProps };
|
package/dist/components/tag.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Tag } from "../Tag-
|
|
1
|
+
import { t as Tag } from "../Tag-HiDH438e.js";
|
|
2
2
|
export { Tag };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TextArea, r as TextAreaProps, t as ControlledTextAreaProps } from "../TextArea-
|
|
1
|
+
import { n as TextArea, r as TextAreaProps, t as ControlledTextAreaProps } from "../TextArea-BhrCBGbq.js";
|
|
2
2
|
export { ControlledTextAreaProps, TextArea, TextAreaProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TextArea } from "../TextArea-
|
|
1
|
+
import { t as TextArea } from "../TextArea-gikUKKDl.js";
|
|
2
2
|
export { TextArea };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TextButtonProps, t as TextButton } from "../TextButton-
|
|
1
|
+
import { n as TextButtonProps, t as TextButton } from "../TextButton-DnXRykhF.js";
|
|
2
2
|
export { TextButton, TextButtonProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Button } from "../Button-
|
|
1
|
+
import { t as Button } from "../Button-sn52l1Yv.js";
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/buttons/TextButton/TextButton.tsx
|
|
@@ -21,7 +21,6 @@ const TextButton = (t0) => {
|
|
|
21
21
|
t2 = /* @__PURE__ */ jsx(Button, {
|
|
22
22
|
...props,
|
|
23
23
|
variant: "text",
|
|
24
|
-
size: "none",
|
|
25
24
|
width: t1,
|
|
26
25
|
children
|
|
27
26
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TimePicker, r as TimePickerProps, t as ControlledTimePickerProps } from "../TimePicker-
|
|
1
|
+
import { n as TimePicker, r as TimePickerProps, t as ControlledTimePickerProps } from "../TimePicker-CmT89X7v.js";
|
|
2
2
|
export { type ControlledTimePickerProps, TimePicker, type TimePickerProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TimePicker } from "../TimePicker-
|
|
1
|
+
import { t as TimePicker } from "../TimePicker-DtNTOOGr.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-Cj6o2Rmu.js";
|
|
2
|
+
import { n as ToastAction, r as ToastProps, t as Toast } from "../Toast-B4cXs2rj.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-B8h0VT0E.js";
|
|
2
|
+
import { n as ToastProvider, t as ToastContainer } from "../ToastContainer-BbsMIwtC.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-BGuzPJDO.js";
|
|
2
2
|
export { ToggleButton, ToggleButtonProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ToggleGroup } from "../ToggleGroup-
|
|
1
|
+
import { t as ToggleGroup } from "../ToggleGroup-Cl0NS3fe.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-D7dNwGy9.js";
|
|
2
2
|
export { Tooltip, TooltipProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Tooltip } from "../Tooltip-
|
|
1
|
+
import { t as Tooltip } from "../Tooltip-aE1Vswxz.js";
|
|
2
2
|
export { Tooltip };
|
|
@@ -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-jtp6WWUH.js";
|
|
2
|
+
import { n as TypographyProps, t as Typography } from "../Typography-BiuidzDC.js";
|
|
3
3
|
export { Typography, type TypographyProps, type TypographyVariantProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Typography } from "../Typography-
|
|
1
|
+
import { t as Typography } from "../Typography-B0Gp1lpc.js";
|
|
2
2
|
export { Typography };
|
|
@@ -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-DMSm59Y6.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-CIKvmkjo.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-CIKvmkjo.js").then(({ dismissToast }) => dismissToast(id));
|
|
26
26
|
}, []);
|
|
27
27
|
return useMemo(() => ({
|
|
28
28
|
successToast,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Confirmation } from "../confirmation.context-
|
|
1
|
+
import { t as Confirmation } from "../confirmation.context-DPAKsLYl.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-QYpprkN1.js";
|
|
2
|
+
import { t as LinkContext } from "../link.context-CDZn6oL2.js";
|
|
3
3
|
export { LinkContext, type LinkNavigationProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as DateRangeResolvedValue, i as DateRangeRelativeOption } from "../DateRangePicker-
|
|
2
|
-
import { t as UIConfig } from "../uiConfig.context-
|
|
1
|
+
import { a as DateRangeResolvedValue, i as DateRangeRelativeOption } from "../DateRangePicker-DKkc2B3n.js";
|
|
2
|
+
import { t as UIConfig } from "../uiConfig.context-aoarCLYX.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-D2eUIPHn.js";
|
|
2
2
|
export { UIConfig };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as DatePickerProps } from "./DatePicker-
|
|
1
|
+
import { r as DatePickerProps } from "./DatePicker-B3l9TEjW.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as DateRangePickerProps } from "./DateRangePicker-
|
|
1
|
+
import { r as DateRangePickerProps } from "./DateRangePicker-DKkc2B3n.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as DateTimePickerProps } from "./DateTimePicker-
|
|
1
|
+
import { r as DateTimePickerProps } from "./DateTimePicker-IHr-wPq8.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
@@ -2,10 +2,10 @@ import { t as ChevronDown } from "./chevron-down-B4Pr8bD3.js";
|
|
|
2
2
|
import { t as ChevronUp } from "./chevron-up-D_Gqpb5M.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./useControlledState-DQxX6LMN.js";
|
|
5
|
-
import { _ as $d51706f903be7eab$export$1315d136e6f7581, u as getPlaceholder, y as $7541913c0284d84b$export$4c842f6a241dc825 } from "./staticDateTimeSegments-
|
|
6
|
-
import { t as Typography } from "./Typography-
|
|
5
|
+
import { _ as $d51706f903be7eab$export$1315d136e6f7581, u as getPlaceholder, y as $7541913c0284d84b$export$4c842f6a241dc825 } from "./staticDateTimeSegments-DR8bJw-F.js";
|
|
6
|
+
import { t as Typography } from "./Typography-B0Gp1lpc.js";
|
|
7
7
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
8
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
8
|
+
import { t as useBreakpoint } from "./useBreakpoint-BOA-MyoT.js";
|
|
9
9
|
import { useEffect, useRef } from "react";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
11
11
|
import { Time } from "@internationalized/date";
|
|
@@ -148,9 +148,8 @@ const TimeSegmentInput = ({ segment, state, autoFocus }) => {
|
|
|
148
148
|
ref,
|
|
149
149
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
150
150
|
as: "span",
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
className: "text-text-default-2",
|
|
151
|
+
size: "small",
|
|
152
|
+
className: "text-surface-default-foreground font-bold",
|
|
154
153
|
children: segment.text
|
|
155
154
|
})
|
|
156
155
|
});
|
|
@@ -160,7 +159,7 @@ const TimeSegmentInput = ({ segment, state, autoFocus }) => {
|
|
|
160
159
|
children: /* @__PURE__ */ jsx("div", {
|
|
161
160
|
ref,
|
|
162
161
|
...isDesktop && segmentProps,
|
|
163
|
-
className: clsx("w-11 rounded-input-rounding-default bg-
|
|
162
|
+
className: clsx("w-11 rounded-input-rounding-default bg-surface-default-popover py-input-height-small text-center", "font-body font-bold text-surface-default-popover-foreground", "border border-border-default-input border-solid", "not-focus-within:hover:border-tint-border-default-input/80 not-focus-within:hover:bg-tint-surface-default-popover/80 not-focus-within:hover:text-tint-surface-default-popover-foreground/80", "focus-within:border-interactive-ring focus-within:bg-surface-default-background focus-within:text-surface-default-card-foreground focus-within:outline-none"),
|
|
164
163
|
children: getPlaceholder(segment) ?? segment.text
|
|
165
164
|
})
|
|
166
165
|
});
|
|
@@ -195,9 +194,8 @@ const TimeSegmentButton = ({ segment, state, type }) => {
|
|
|
195
194
|
className: "flex shrink-0",
|
|
196
195
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
197
196
|
as: "span",
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
className: "invisible text-text-default-2",
|
|
197
|
+
size: "small",
|
|
198
|
+
className: "invisible text-surface-default-foreground font-bold",
|
|
201
199
|
"aria-hidden": true,
|
|
202
200
|
children: segment.text
|
|
203
201
|
})
|
|
@@ -4,7 +4,7 @@ const dialogContentDefinition = UIOverrides.defineConfig({
|
|
|
4
4
|
base: [
|
|
5
5
|
"relative flex flex-col items-center gap-modal-gap-content px-modal-side-mobile py-modal-height-mobile md:px-modal-side-desktop md:py-modal-height-desktop",
|
|
6
6
|
"w-fit max-w-full [&>*]:max-w-full",
|
|
7
|
-
"border-
|
|
7
|
+
"border-border-default-subtle bg-surface-default-card outline-none",
|
|
8
8
|
"pointer-events-auto"
|
|
9
9
|
],
|
|
10
10
|
config: {
|
|
@@ -1,10 +1,10 @@
|
|
|
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 Typography } from "./Typography-
|
|
5
|
-
import { t as Spinner } from "./Spinner-
|
|
4
|
+
import { t as Typography } from "./Typography-B0Gp1lpc.js";
|
|
5
|
+
import { t as Spinner } from "./Spinner-BEYBu85B.js";
|
|
6
6
|
import { t as compoundMapper } from "./compoundMapper-Di3SKZnS.js";
|
|
7
|
-
import { t as Button } from "./Button-
|
|
7
|
+
import { t as Button } from "./Button-sn52l1Yv.js";
|
|
8
8
|
import $ahdqC$react, { cloneElement, isValidElement, useEffect, useLayoutEffect, useRef, useState, useSyncExternalStore } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region src/components/status/Toast/toast.cva.ts
|
|
@@ -25,8 +25,8 @@ const toastDefinition = UIOverrides.defineConfig({
|
|
|
25
25
|
config: {
|
|
26
26
|
variants: {
|
|
27
27
|
variant: {
|
|
28
|
-
outlined: "border bg-
|
|
29
|
-
contained: "
|
|
28
|
+
outlined: "border bg-surface-default-card text-surface-default-card-foreground",
|
|
29
|
+
contained: ""
|
|
30
30
|
},
|
|
31
31
|
color: {
|
|
32
32
|
neutral: "",
|
|
@@ -47,42 +47,42 @@ const toastDefinition = UIOverrides.defineConfig({
|
|
|
47
47
|
{
|
|
48
48
|
variant: "outlined",
|
|
49
49
|
color: "neutral",
|
|
50
|
-
className: "border-
|
|
50
|
+
className: "border-border-default-subtle"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
variant: "outlined",
|
|
54
54
|
color: "success",
|
|
55
|
-
className: "border-
|
|
55
|
+
className: "border-surface-success-base"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
variant: "outlined",
|
|
59
59
|
color: "warning",
|
|
60
|
-
className: "border-
|
|
60
|
+
className: "border-surface-warning-base"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
variant: "outlined",
|
|
64
64
|
color: "error",
|
|
65
|
-
className: "border-
|
|
65
|
+
className: "border-surface-destructive-base"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
variant: "contained",
|
|
69
69
|
color: "neutral",
|
|
70
|
-
className: "bg-
|
|
70
|
+
className: "bg-surface-inverted-card text-surface-inverted-card-foreground"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
variant: "contained",
|
|
74
74
|
color: "success",
|
|
75
|
-
className: "bg-
|
|
75
|
+
className: "bg-surface-success-base text-surface-success-inverted-base"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
variant: "contained",
|
|
79
79
|
color: "warning",
|
|
80
|
-
className: "bg-
|
|
80
|
+
className: "bg-surface-warning-base text-surface-warning-inverted-base"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
variant: "contained",
|
|
84
84
|
color: "error",
|
|
85
|
-
className: "bg-
|
|
85
|
+
className: "bg-surface-destructive-base text-surface-destructive-inverted-base"
|
|
86
86
|
}
|
|
87
87
|
],
|
|
88
88
|
defaultVariants: {
|
|
@@ -92,65 +92,17 @@ const toastDefinition = UIOverrides.defineConfig({
|
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
94
|
const buttonColorVariant = compoundMapper({
|
|
95
|
-
compoundVariants: [
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
color: "
|
|
99
|
-
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
variant: "outlined",
|
|
103
|
-
color: "success",
|
|
104
|
-
value: { color: "success" }
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
variant: "outlined",
|
|
108
|
-
color: "warning",
|
|
109
|
-
value: { color: "warning" }
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
variant: "outlined",
|
|
113
|
-
color: "error",
|
|
114
|
-
value: { color: "error" }
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
variant: "contained",
|
|
118
|
-
color: "neutral",
|
|
119
|
-
value: {
|
|
120
|
-
color: "primary",
|
|
121
|
-
inverted: true
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
variant: "contained",
|
|
126
|
-
color: "success",
|
|
127
|
-
value: {
|
|
128
|
-
color: "success",
|
|
129
|
-
inverted: true
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
variant: "contained",
|
|
134
|
-
color: "warning",
|
|
135
|
-
value: {
|
|
136
|
-
color: "warning",
|
|
137
|
-
inverted: true
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
variant: "contained",
|
|
142
|
-
color: "error",
|
|
143
|
-
value: {
|
|
144
|
-
color: "error",
|
|
145
|
-
inverted: true
|
|
146
|
-
}
|
|
95
|
+
compoundVariants: [{
|
|
96
|
+
variant: "contained",
|
|
97
|
+
value: {
|
|
98
|
+
color: "primary",
|
|
99
|
+
inverted: true
|
|
147
100
|
}
|
|
148
|
-
],
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
-
default: { color: "secondary" }
|
|
101
|
+
}],
|
|
102
|
+
default: {
|
|
103
|
+
color: "primary",
|
|
104
|
+
inverted: false
|
|
105
|
+
}
|
|
154
106
|
});
|
|
155
107
|
const statusIconDefinition = UIOverrides.defineConfig({
|
|
156
108
|
base: ["size-6 shrink-0"],
|
|
@@ -158,7 +110,7 @@ const statusIconDefinition = UIOverrides.defineConfig({
|
|
|
158
110
|
variants: {
|
|
159
111
|
variant: {
|
|
160
112
|
outlined: "",
|
|
161
|
-
contained: "text-
|
|
113
|
+
contained: "text-inherit"
|
|
162
114
|
},
|
|
163
115
|
color: {
|
|
164
116
|
neutral: "",
|
|
@@ -171,22 +123,22 @@ const statusIconDefinition = UIOverrides.defineConfig({
|
|
|
171
123
|
{
|
|
172
124
|
variant: "outlined",
|
|
173
125
|
color: "neutral",
|
|
174
|
-
className: "text-
|
|
126
|
+
className: "text-surface-default-foreground"
|
|
175
127
|
},
|
|
176
128
|
{
|
|
177
129
|
variant: "outlined",
|
|
178
130
|
color: "success",
|
|
179
|
-
className: "text-
|
|
131
|
+
className: "text-surface-success-base"
|
|
180
132
|
},
|
|
181
133
|
{
|
|
182
134
|
variant: "outlined",
|
|
183
135
|
color: "warning",
|
|
184
|
-
className: "text-
|
|
136
|
+
className: "text-surface-warning-base"
|
|
185
137
|
},
|
|
186
138
|
{
|
|
187
139
|
variant: "outlined",
|
|
188
140
|
color: "error",
|
|
189
|
-
className: "text-
|
|
141
|
+
className: "text-surface-destructive-base"
|
|
190
142
|
}
|
|
191
143
|
],
|
|
192
144
|
defaultVariants: {
|
|
@@ -204,10 +156,10 @@ const statusSeparatorDefinition = UIOverrides.defineConfig({
|
|
|
204
156
|
contained: "hidden"
|
|
205
157
|
},
|
|
206
158
|
color: {
|
|
207
|
-
neutral: "bg-
|
|
208
|
-
success: "bg-
|
|
209
|
-
warning: "bg-
|
|
210
|
-
error: "bg-
|
|
159
|
+
neutral: "bg-border-default-subtle",
|
|
160
|
+
success: "bg-surface-success-base",
|
|
161
|
+
warning: "bg-surface-warning-base",
|
|
162
|
+
error: "bg-surface-destructive-base"
|
|
211
163
|
}
|
|
212
164
|
},
|
|
213
165
|
defaultVariants: { color: "neutral" }
|
|
@@ -237,7 +189,7 @@ const Toast = ({ text, isLoading = false, actions = [], icon: Icon, ...props })
|
|
|
237
189
|
}),
|
|
238
190
|
!isLoading && Icon && /* @__PURE__ */ jsx(Icon, { className: iconCva(variantProps) }),
|
|
239
191
|
/* @__PURE__ */ jsx(Typography, {
|
|
240
|
-
size: "
|
|
192
|
+
size: "small",
|
|
241
193
|
children: text
|
|
242
194
|
})
|
|
243
195
|
]
|
|
@@ -247,7 +199,7 @@ const Toast = ({ text, isLoading = false, actions = [], icon: Icon, ...props })
|
|
|
247
199
|
onPress,
|
|
248
200
|
...buttonColor(variantProps),
|
|
249
201
|
variant: "text",
|
|
250
|
-
size: "
|
|
202
|
+
size: "sm",
|
|
251
203
|
width: "hug",
|
|
252
204
|
children: buttonText
|
|
253
205
|
}, buttonText))
|