@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,10 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
2
|
-
import { l as selectInputTagsContentWrapperDefinition, n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "./staticSelect.utils-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-D2eUIPHn.js";
|
|
2
|
+
import { l as selectInputTagsContentWrapperDefinition, n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "./staticSelect.utils-Cm7MoDVG.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
5
|
-
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
6
5
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
7
6
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
8
|
-
import { i as InputFrame, n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "./useStaticInputHandoff-
|
|
7
|
+
import { i as InputFrame, n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "./useStaticInputHandoff-DB9PgioW.js";
|
|
9
8
|
import { memo, useRef, useState } from "react";
|
|
10
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
//#region src/components/inputs/Selection/Select/Select.tsx
|
|
@@ -62,14 +61,10 @@ function SelectInner({ renderStaticInput, isFormControlDisabled, ...props }) {
|
|
|
62
61
|
dataHasSelection: !isEmpty,
|
|
63
62
|
dataHasSearch: false
|
|
64
63
|
};
|
|
65
|
-
const buttonContent = isMultiple && !isEmpty ? /* @__PURE__ */ jsx(Fragment$1, { children: "\xA0" }) : isEmpty ? /* @__PURE__ */ jsx(
|
|
66
|
-
|
|
67
|
-
as: "span",
|
|
68
|
-
className: "block truncate text-text-default-3",
|
|
64
|
+
const buttonContent = isMultiple && !isEmpty ? /* @__PURE__ */ jsx(Fragment$1, { children: "\xA0" }) : isEmpty ? /* @__PURE__ */ jsx("span", {
|
|
65
|
+
className: "block truncate text-surface-default-popover-foreground",
|
|
69
66
|
children: placeholder
|
|
70
|
-
}) : /* @__PURE__ */ jsx(
|
|
71
|
-
size: "label-1",
|
|
72
|
-
as: "span",
|
|
67
|
+
}) : /* @__PURE__ */ jsx("span", {
|
|
73
68
|
className: "block truncate",
|
|
74
69
|
children: displayValue
|
|
75
70
|
});
|
|
@@ -81,7 +76,6 @@ function SelectInner({ renderStaticInput, isFormControlDisabled, ...props }) {
|
|
|
81
76
|
inputClassName: clsx(props.className, props.inputClassName),
|
|
82
77
|
contentWrapperClassName: selectInputTagsContentWrapperCva({ isSearchable }),
|
|
83
78
|
contentGroup: "select",
|
|
84
|
-
typographySize: "label-1",
|
|
85
79
|
labelPlacement: "content-row",
|
|
86
80
|
dataAttributes,
|
|
87
81
|
wrapTrailingContent: false,
|
|
@@ -103,7 +97,7 @@ function SelectInner({ renderStaticInput, isFormControlDisabled, ...props }) {
|
|
|
103
97
|
"aria-expanded": false,
|
|
104
98
|
value: inputValue,
|
|
105
99
|
placeholder: shouldRenderPlaceholderAfterValue ? props.placeholder : placeholder ?? void 0,
|
|
106
|
-
className: clsx("w-full flex-1 bg-transparent outline-none placeholder:text-
|
|
100
|
+
className: clsx("w-full flex-1 bg-transparent outline-none placeholder:text-surface-default-popover-foreground disabled:text-inherit", props.inputClassName),
|
|
107
101
|
onChange: (event) => replayStaticInputChange(event.target.value),
|
|
108
102
|
...dataAttributeProps,
|
|
109
103
|
"data-rac": true
|
|
@@ -112,7 +106,7 @@ function SelectInner({ renderStaticInput, isFormControlDisabled, ...props }) {
|
|
|
112
106
|
disabled: isDisabled,
|
|
113
107
|
tabIndex: -1,
|
|
114
108
|
"data-type": "select-trigger",
|
|
115
|
-
className: clsx("w-full truncate bg-transparent text-start outline-none disabled:text-
|
|
109
|
+
className: clsx("w-full truncate bg-transparent text-start outline-none disabled:text-inherit", isMultiple && !isEmpty && "absolute inset-0 z-0"),
|
|
116
110
|
onClick: replayStaticInputPress,
|
|
117
111
|
...dataAttributeProps,
|
|
118
112
|
"data-rac": true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
|
-
import { a as SelectAsyncProps, n as GroupedSelectControlProps, o as SelectBaseProps, r as GroupedSelectProps, t as DefaultInitialSelectItem } from "./SelectBase-
|
|
2
|
+
import { a as SelectAsyncProps, n as GroupedSelectControlProps, o as SelectBaseProps, r as GroupedSelectProps, t as DefaultInitialSelectItem } from "./SelectBase-7SE9Za2r.js";
|
|
3
3
|
import { s as OmitDiscriminatedUnion } from "./common-UBFya8WY.js";
|
|
4
4
|
import { ReactElement } from "react";
|
|
5
5
|
import { Key } from "react-aria-components";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as BottomSheetProps } from "./BottomSheet-
|
|
1
|
+
import { t as BottomSheetProps } from "./BottomSheet-xaymO7aQ.js";
|
|
2
2
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
3
3
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
4
|
-
import { n as FormFieldProps } from "./FormField-
|
|
5
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
4
|
+
import { n as FormFieldProps } from "./FormField-B0miX3gu.js";
|
|
5
|
+
import { n as InputVariantProps } from "./input.cva-BhDJxc7r.js";
|
|
6
6
|
import { FocusEventHandler, MouseEventHandler, ReactElement, ReactNode, Ref } from "react";
|
|
7
7
|
import { Key } from "react-aria-components";
|
|
8
8
|
import { AriaButtonProps } from "react-aria";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
3
|
-
import { n as FormFieldProps } from "./FormField-
|
|
3
|
+
import { n as FormFieldProps } from "./FormField-B0miX3gu.js";
|
|
4
4
|
import { FocusEvent, Ref } from "react";
|
|
5
5
|
import { SliderProps } from "react-aria-components";
|
|
6
6
|
//#region src/components/inputs/Slider/Slider.d.ts
|
|
@@ -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 { i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-Czcqspm7.js";
|
|
4
4
|
import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-B2-B-uFY.js";
|
|
5
|
-
import { t as Typography } from "./Typography-
|
|
5
|
+
import { t as Typography } from "./Typography-B0Gp1lpc.js";
|
|
6
6
|
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
7
7
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
8
8
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
9
|
-
import { t as FormField } from "./FormField-
|
|
9
|
+
import { t as FormField } from "./FormField-CHD4OJOt.js";
|
|
10
10
|
import $ahdqC$react, { createContext, forwardRef, memo, useContext, useRef } from "react";
|
|
11
11
|
import { mergeProps } from "react-aria/mergeProps";
|
|
12
12
|
import { filterDOMProps } from "react-aria/filterDOMProps";
|
|
@@ -189,28 +189,28 @@ const SliderBase = (props) => {
|
|
|
189
189
|
className: "flex items-center justify-between",
|
|
190
190
|
children: [
|
|
191
191
|
/* @__PURE__ */ jsxs(Typography, {
|
|
192
|
-
className: "min-w-10 px-slider-side-leading-and-trailing py-slider-height-leading-and-trailing text-
|
|
193
|
-
size: "
|
|
192
|
+
className: "min-w-10 px-slider-side-leading-and-trailing py-slider-height-leading-and-trailing text-surface-default-popover-foreground",
|
|
193
|
+
size: "small",
|
|
194
194
|
children: [minValue, unit]
|
|
195
195
|
}),
|
|
196
196
|
/* @__PURE__ */ jsx($806e559d0c2c64a0$export$105594979f116971, {
|
|
197
197
|
className: "relative mx-2 h-6 w-full",
|
|
198
198
|
children: ({ state }) => /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
|
|
199
|
-
className: "absolute top-1/2 h-1 w-full -translate-y-1/2 overflow-hidden rounded-full bg-
|
|
199
|
+
className: "absolute top-1/2 h-1 w-full -translate-y-1/2 overflow-hidden rounded-full bg-border-default-subtle",
|
|
200
200
|
children: /* @__PURE__ */ jsx("div", {
|
|
201
|
-
className: clsx("absolute top-0 h-1 rounded-full", props.isDisabled ? "bg-interactive-
|
|
201
|
+
className: clsx("absolute top-0 h-1 rounded-full", props.isDisabled ? "bg-tint-interactive-primary-background/50" : "bg-interactive-primary-background"),
|
|
202
202
|
style: getTrackFillStyle(state)
|
|
203
203
|
})
|
|
204
204
|
}), state.values.map((_, i) => /* @__PURE__ */ jsx($806e559d0c2c64a0$export$2c1b491743890dec, {
|
|
205
205
|
index: i,
|
|
206
|
-
className: clsx("absolute top-1/2 size-4 cursor-pointer rounded-full bg-interactive-
|
|
206
|
+
className: clsx("absolute top-1/2 size-4 cursor-pointer rounded-full bg-interactive-primary-background disabled:cursor-default", "not-disabled:dragging:bg-tint-interactive-primary-background/70 not-disabled:not-dragging:hover:bg-tint-interactive-primary-background/80 focus-visible:outline-interactive-ring disabled:bg-tint-interactive-primary-background/50", uiOutlineClass),
|
|
207
207
|
isDisabled,
|
|
208
208
|
onBlur: (event) => onBlur?.({ target: event.target })
|
|
209
209
|
}, i))] })
|
|
210
210
|
}),
|
|
211
211
|
/* @__PURE__ */ jsxs(Typography, {
|
|
212
|
-
className: "min-w-10 px-slider-side-leading-and-trailing py-slider-height-leading-and-trailing text-
|
|
213
|
-
size: "
|
|
212
|
+
className: "min-w-10 px-slider-side-leading-and-trailing py-slider-height-leading-and-trailing text-surface-default-popover-foreground",
|
|
213
|
+
size: "small",
|
|
214
214
|
children: [maxValue, unit]
|
|
215
215
|
})
|
|
216
216
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as LinkNavigationProps } from "./Link-
|
|
2
|
-
import { n as ButtonVariantProps } from "./button.cva-
|
|
3
|
-
import { r as MenuItem } from "./DropdownMenu-
|
|
1
|
+
import { n as LinkNavigationProps } from "./Link-QYpprkN1.js";
|
|
2
|
+
import { n as ButtonVariantProps } from "./button.cva-BvRI-3Gn.js";
|
|
3
|
+
import { r as MenuItem } from "./DropdownMenu-CWDhk3XA.js";
|
|
4
4
|
import { ButtonProps } from "react-aria-components";
|
|
5
5
|
//#region src/components/buttons/SplitButton/SplitButton.d.ts
|
|
6
6
|
interface SplitButtonProps extends ButtonVariantProps, Omit<ButtonProps, "children"> {
|
|
@@ -2,7 +2,7 @@ import { t as Check } from "./check-DYMBkp_Z.js";
|
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
3
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
5
|
-
import { t as Typography } from "./Typography-
|
|
5
|
+
import { t as Typography } from "./Typography-B0Gp1lpc.js";
|
|
6
6
|
import { Fragment } from "react";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -32,12 +32,12 @@ const stepperIconDefinition = UIOverrides.defineConfig({
|
|
|
32
32
|
config: {
|
|
33
33
|
variants: { status: {
|
|
34
34
|
completed: [
|
|
35
|
-
"border border-interactive-
|
|
36
|
-
"group-hover:border-interactive-
|
|
37
|
-
"group-pressed:border-interactive-
|
|
35
|
+
"border border-interactive-primary-background border-solid bg-interactive-primary-background",
|
|
36
|
+
"group-hover:border-tint-interactive-primary-background/80 group-hover:bg-tint-interactive-primary-background/80",
|
|
37
|
+
"group-pressed:border-tint-interactive-primary-background/70 group-pressed:bg-tint-interactive-primary-background/70"
|
|
38
38
|
],
|
|
39
|
-
active: "border border-interactive-
|
|
40
|
-
todo: "border border-interactive-
|
|
39
|
+
active: "border border-interactive-subtle-primary-foreground border-solid bg-support-transparent-outline",
|
|
40
|
+
todo: "border border-tint-interactive-subtle-primary-foreground/50 border-solid bg-support-transparent-outline"
|
|
41
41
|
} },
|
|
42
42
|
defaultVariants: { status: "todo" }
|
|
43
43
|
}
|
|
@@ -47,8 +47,8 @@ const stepperNumberDefinition = UIOverrides.defineConfig({
|
|
|
47
47
|
config: {
|
|
48
48
|
variants: { status: {
|
|
49
49
|
completed: "",
|
|
50
|
-
active: "text-interactive-
|
|
51
|
-
todo: "text-interactive-
|
|
50
|
+
active: "text-interactive-subtle-primary-foreground",
|
|
51
|
+
todo: "text-tint-interactive-subtle-primary-foreground/50"
|
|
52
52
|
} },
|
|
53
53
|
defaultVariants: { status: "todo" }
|
|
54
54
|
}
|
|
@@ -58,12 +58,12 @@ const stepperTitleDefinition = UIOverrides.defineConfig({
|
|
|
58
58
|
config: {
|
|
59
59
|
variants: { status: {
|
|
60
60
|
completed: [
|
|
61
|
-
"text-
|
|
62
|
-
"group-hover:text-
|
|
63
|
-
"group-pressed:text-
|
|
61
|
+
"text-surface-default-foreground",
|
|
62
|
+
"group-hover:text-tint-surface-default-foreground/80",
|
|
63
|
+
"group-pressed:text-tint-surface-default-foreground/70"
|
|
64
64
|
],
|
|
65
|
-
active: "text-interactive-
|
|
66
|
-
todo: "text-
|
|
65
|
+
active: "text-interactive-primary-background",
|
|
66
|
+
todo: "text-tint-surface-default-popover-foreground/50"
|
|
67
67
|
} },
|
|
68
68
|
defaultVariants: { status: "todo" }
|
|
69
69
|
}
|
|
@@ -73,18 +73,18 @@ const stepperSubtextDefinition = UIOverrides.defineConfig({
|
|
|
73
73
|
config: {
|
|
74
74
|
variants: { status: {
|
|
75
75
|
completed: [
|
|
76
|
-
"text-
|
|
77
|
-
"group-hover:text-
|
|
78
|
-
"group-pressed:text-
|
|
76
|
+
"text-surface-default-foreground",
|
|
77
|
+
"group-hover:text-tint-surface-default-foreground/80",
|
|
78
|
+
"group-pressed:text-tint-surface-default-foreground/70"
|
|
79
79
|
],
|
|
80
|
-
active: "text-
|
|
81
|
-
todo: "text-
|
|
80
|
+
active: "text-surface-default-foreground",
|
|
81
|
+
todo: "text-tint-surface-default-popover-foreground/50"
|
|
82
82
|
} },
|
|
83
83
|
defaultVariants: { status: "todo" }
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
const stepperSeparatorDefinition = UIOverrides.defineConfig({
|
|
87
|
-
base: ["bg-
|
|
87
|
+
base: ["bg-border-default-subtle"],
|
|
88
88
|
config: {
|
|
89
89
|
variants: {
|
|
90
90
|
orientation: {
|
|
@@ -104,7 +104,7 @@ const stepperSeparatorDefinition = UIOverrides.defineConfig({
|
|
|
104
104
|
{
|
|
105
105
|
orientation: "horizontal",
|
|
106
106
|
contentOrientation: "vertical",
|
|
107
|
-
className: "mt-
|
|
107
|
+
className: "mt-2.5 self-start"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
orientation: "vertical",
|
|
@@ -114,7 +114,7 @@ const stepperSeparatorDefinition = UIOverrides.defineConfig({
|
|
|
114
114
|
{
|
|
115
115
|
orientation: "vertical",
|
|
116
116
|
contentOrientation: "horizontal",
|
|
117
|
-
className: "ml-
|
|
117
|
+
className: "ml-2.5"
|
|
118
118
|
}
|
|
119
119
|
]
|
|
120
120
|
}
|
|
@@ -140,10 +140,9 @@ const StepperItem = (t0) => {
|
|
|
140
140
|
} else t1 = $[2];
|
|
141
141
|
let t2;
|
|
142
142
|
if ($[3] !== status || $[4] !== stepNumber || $[5] !== stepperNumberCva) {
|
|
143
|
-
t2 = status === "completed" ? /* @__PURE__ */ jsx(Check, { className: "size-5 text-interactive-
|
|
144
|
-
className: stepperNumberCva({ status }),
|
|
145
|
-
|
|
146
|
-
size: "label-3",
|
|
143
|
+
t2 = status === "completed" ? /* @__PURE__ */ jsx(Check, { className: "size-5 text-interactive-primary-foreground" }) : /* @__PURE__ */ jsx(Typography, {
|
|
144
|
+
className: clsx(stepperNumberCva({ status }), "font-bold"),
|
|
145
|
+
size: "small",
|
|
147
146
|
children: stepNumber
|
|
148
147
|
});
|
|
149
148
|
$[3] = status;
|
|
@@ -167,13 +166,11 @@ const StepperItem = (t0) => {
|
|
|
167
166
|
className: "flex flex-col gap-stepper-gap-text-to-subtext",
|
|
168
167
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
169
168
|
className: stepperTitleCva({ status }),
|
|
170
|
-
size: "
|
|
171
|
-
variant: "default",
|
|
169
|
+
size: "small",
|
|
172
170
|
children: step.title
|
|
173
171
|
}), showSubtext && /* @__PURE__ */ jsx(Typography, {
|
|
174
172
|
className: stepperSubtextCva({ status }),
|
|
175
|
-
size: "
|
|
176
|
-
variant: "default",
|
|
173
|
+
size: "small",
|
|
177
174
|
children: step.subtext
|
|
178
175
|
})]
|
|
179
176
|
});
|
|
@@ -26,9 +26,9 @@ declare const stepperIconDefinition: {
|
|
|
26
26
|
base: string[];
|
|
27
27
|
config: StyleMergeUtils.Config<{
|
|
28
28
|
readonly status: {
|
|
29
|
-
readonly completed: ["border border-interactive-
|
|
30
|
-
readonly active: "border border-interactive-
|
|
31
|
-
readonly todo: "border border-interactive-
|
|
29
|
+
readonly completed: ["border border-interactive-primary-background border-solid bg-interactive-primary-background", "group-hover:border-tint-interactive-primary-background/80 group-hover:bg-tint-interactive-primary-background/80", "group-pressed:border-tint-interactive-primary-background/70 group-pressed:bg-tint-interactive-primary-background/70"];
|
|
30
|
+
readonly active: "border border-interactive-subtle-primary-foreground border-solid bg-support-transparent-outline";
|
|
31
|
+
readonly todo: "border border-tint-interactive-subtle-primary-foreground/50 border-solid bg-support-transparent-outline";
|
|
32
32
|
};
|
|
33
33
|
}>;
|
|
34
34
|
};
|
|
@@ -37,8 +37,8 @@ declare const stepperNumberDefinition: {
|
|
|
37
37
|
config: StyleMergeUtils.Config<{
|
|
38
38
|
readonly status: {
|
|
39
39
|
readonly completed: "";
|
|
40
|
-
readonly active: "text-interactive-
|
|
41
|
-
readonly todo: "text-interactive-
|
|
40
|
+
readonly active: "text-interactive-subtle-primary-foreground";
|
|
41
|
+
readonly todo: "text-tint-interactive-subtle-primary-foreground/50";
|
|
42
42
|
};
|
|
43
43
|
}>;
|
|
44
44
|
};
|
|
@@ -46,9 +46,9 @@ declare const stepperTitleDefinition: {
|
|
|
46
46
|
base: string[];
|
|
47
47
|
config: StyleMergeUtils.Config<{
|
|
48
48
|
readonly status: {
|
|
49
|
-
readonly completed: ["text-
|
|
50
|
-
readonly active: "text-interactive-
|
|
51
|
-
readonly todo: "text-
|
|
49
|
+
readonly completed: ["text-surface-default-foreground", "group-hover:text-tint-surface-default-foreground/80", "group-pressed:text-tint-surface-default-foreground/70"];
|
|
50
|
+
readonly active: "text-interactive-primary-background";
|
|
51
|
+
readonly todo: "text-tint-surface-default-popover-foreground/50";
|
|
52
52
|
};
|
|
53
53
|
}>;
|
|
54
54
|
};
|
|
@@ -56,9 +56,9 @@ declare const stepperSubtextDefinition: {
|
|
|
56
56
|
base: string[];
|
|
57
57
|
config: StyleMergeUtils.Config<{
|
|
58
58
|
readonly status: {
|
|
59
|
-
readonly completed: ["text-
|
|
60
|
-
readonly active: "text-
|
|
61
|
-
readonly todo: "text-
|
|
59
|
+
readonly completed: ["text-surface-default-foreground", "group-hover:text-tint-surface-default-foreground/80", "group-pressed:text-tint-surface-default-foreground/70"];
|
|
60
|
+
readonly active: "text-surface-default-foreground";
|
|
61
|
+
readonly todo: "text-tint-surface-default-popover-foreground/50";
|
|
62
62
|
};
|
|
63
63
|
}>;
|
|
64
64
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { t as FormFieldErrorProps } from "./FormFieldError-BT4uxbKY.js";
|
|
3
3
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
4
|
-
import { t as SwitchVariantProps } from "./switch.cva-
|
|
4
|
+
import { t as SwitchVariantProps } from "./switch.cva-8T0fw31t.js";
|
|
5
5
|
import { Ref } from "react";
|
|
6
6
|
import { SwitchProps } from "react-aria-components";
|
|
7
7
|
//#region src/components/inputs/Switch/Switch.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
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 { c as $7230ffa83bc0c2cf$export$ef03459518577ad4, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-Czcqspm7.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
@@ -6,8 +6,8 @@ import { t as uiGroupOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
|
6
6
|
import { t as compoundMapper } from "./compoundMapper-Di3SKZnS.js";
|
|
7
7
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
8
8
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
9
|
-
import { t as FormFieldError } from "./FormFieldError-
|
|
10
|
-
import { t as CheckContent } from "./CheckContent-
|
|
9
|
+
import { t as FormFieldError } from "./FormFieldError-QRAFHUTt.js";
|
|
10
|
+
import { t as CheckContent } from "./CheckContent-DZ7Gk8GS.js";
|
|
11
11
|
import $ahdqC$react, { createContext, forwardRef, memo, useContext, useMemo } from "react";
|
|
12
12
|
import { mergeProps } from "react-aria/mergeProps";
|
|
13
13
|
import { mergeRefs } from "react-aria/mergeRefs";
|
|
@@ -90,34 +90,26 @@ const $24585aa46d6ffdff$export$72111f742dee7cb8 = /*#__PURE__*/ forwardRef(funct
|
|
|
90
90
|
//#endregion
|
|
91
91
|
//#region src/components/inputs/Switch/switch.cva.ts
|
|
92
92
|
const switchDefinition = UIOverrides.defineConfig({
|
|
93
|
-
base: ["h-6 w-10 rounded-full before:m-0
|
|
93
|
+
base: ["h-6 w-10 rounded-full before:m-0.5 before:block before:aspect-square before:h-5 before:rounded-full before:transition-transform before:content-[''] group-selected:before:translate-x-4", uiGroupOutlineClass],
|
|
94
94
|
config: {
|
|
95
95
|
variants: { variant: { default: [
|
|
96
|
-
"bg-interactive-
|
|
97
|
-
"group-disabled:bg-interactive-
|
|
98
|
-
"group-
|
|
99
|
-
"group-
|
|
100
|
-
"group-
|
|
101
|
-
"group-
|
|
102
|
-
"group-selected:group-
|
|
103
|
-
"group-
|
|
104
|
-
"before:bg-interactive-contained-secondary-on-idle",
|
|
105
|
-
"group-hover:before:bg-interactive-contained-secondary-on-hover",
|
|
106
|
-
"group-disabled:before:bg-interactive-contained-secondary-on-disabled",
|
|
107
|
-
"group-selected:before:bg-interactive-contained-primary-on-idle",
|
|
108
|
-
"group-selected:group-hover:before:bg-interactive-contained-primary-on-hover",
|
|
109
|
-
"group-selected:group-pressed:before:bg-interactive-contained-primary-on-pressed",
|
|
110
|
-
"group-selected:group-disabled:bg-interactive-contained-primary-disabled"
|
|
96
|
+
"bg-tint-interactive-primary-background/50 before:bg-interactive-primary-foreground",
|
|
97
|
+
"group-not-disabled:group-selected:bg-interactive-primary-background",
|
|
98
|
+
"group-disabled:bg-tint-interactive-secondary-background/50 group-disabled:before:bg-interactive-secondary-foreground",
|
|
99
|
+
"group-focus-visible:outline-interactive-ring",
|
|
100
|
+
"group-not-disabled:group-hover:bg-tint-interactive-primary-background/80",
|
|
101
|
+
"group-not-disabled:group-pressed:bg-tint-interactive-primary-background/70",
|
|
102
|
+
"group-not-disabled:group-selected:group-hover:bg-tint-interactive-primary-background/80",
|
|
103
|
+
"group-not-disabled:group-selected:group-pressed:bg-tint-interactive-primary-background/70"
|
|
111
104
|
] } },
|
|
112
105
|
defaultVariants: { variant: "default" }
|
|
113
106
|
}
|
|
114
107
|
});
|
|
115
108
|
const switchTypography = compoundMapper({ default: {
|
|
116
|
-
size: "
|
|
117
|
-
sizeMobile: "
|
|
118
|
-
variant: "default"
|
|
109
|
+
size: "large",
|
|
110
|
+
sizeMobile: "large"
|
|
119
111
|
} });
|
|
120
|
-
const switchContentClassName = compoundMapper({ default: "text-
|
|
112
|
+
const switchContentClassName = compoundMapper({ default: "text-surface-default-foreground" });
|
|
121
113
|
//#endregion
|
|
122
114
|
//#region src/components/inputs/Switch/Switch.tsx
|
|
123
115
|
const SwitchBase = (props) => {
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-C3xb4Ttq.js";
|
|
2
|
+
import { n as TypographyProps } from "./Typography-BiuidzDC.js";
|
|
3
|
+
import { Ref } from "react";
|
|
4
|
+
import { ButtonProps } from "react-aria-components";
|
|
5
|
+
//#region src/components/text/Tag/tag.cva.d.ts
|
|
6
|
+
declare const tagDefinition: {
|
|
7
|
+
base: string[];
|
|
8
|
+
config: StyleMergeUtils.Config<{
|
|
9
|
+
readonly color: {
|
|
10
|
+
primary: ["bg-interactive-subtle-primary-background text-interactive-subtle-primary-foreground", "not-disabled:not-pressed:hover:bg-tint-interactive-subtle-primary-background/80 not-disabled:not-pressed:hover:text-tint-interactive-subtle-primary-foreground/80", "not-disabled:pressed:bg-tint-interactive-subtle-primary-background/70 not-disabled:pressed:text-tint-interactive-subtle-primary-foreground/70", "disabled:bg-tint-interactive-subtle-primary-background/50 disabled:text-tint-interactive-subtle-primary-foreground/50", "focus-visible:outline-interactive-ring"];
|
|
11
|
+
secondary: ["bg-interactive-subtle-secondary-background text-interactive-subtle-secondary-foreground", "not-disabled:not-pressed:hover:bg-tint-interactive-subtle-secondary-background/80 not-disabled:not-pressed:hover:text-tint-interactive-subtle-secondary-foreground/80", "not-disabled:pressed:bg-tint-interactive-subtle-secondary-background/70 not-disabled:pressed:text-tint-interactive-subtle-secondary-foreground/70", "disabled:bg-tint-interactive-subtle-secondary-background/50 disabled:text-tint-interactive-subtle-secondary-foreground/50", "focus-visible:outline-interactive-ring"];
|
|
12
|
+
success: ["bg-surface-success-inverted-base text-surface-success-base", "not-disabled:not-pressed:hover:bg-tint-surface-success-inverted-base/80 not-disabled:not-pressed:hover:text-tint-surface-success-base/80", "not-disabled:pressed:bg-tint-surface-success-inverted-base/70 not-disabled:pressed:text-tint-surface-success-base/70", "disabled:bg-tint-surface-success-inverted-base/50 disabled:text-tint-surface-success-base/50", "focus-visible:outline-interactive-ring"];
|
|
13
|
+
warning: ["bg-surface-warning-inverted-base text-surface-warning-base", "not-disabled:not-pressed:hover:bg-tint-surface-warning-inverted-base/80 not-disabled:not-pressed:hover:text-tint-surface-warning-base/80", "not-disabled:pressed:bg-tint-surface-warning-inverted-base/70 not-disabled:pressed:text-tint-surface-warning-base/70", "disabled:bg-tint-surface-warning-inverted-base/50 disabled:text-tint-surface-warning-base/50", "focus-visible:outline-interactive-ring"];
|
|
14
|
+
error: ["bg-interactive-subtle-destructive-background text-interactive-subtle-destructive-foreground", "not-disabled:not-pressed:hover:bg-tint-interactive-subtle-destructive-background/80 not-disabled:not-pressed:hover:text-tint-interactive-subtle-destructive-foreground/80", "not-disabled:pressed:bg-tint-interactive-subtle-destructive-background/70 not-disabled:pressed:text-tint-interactive-subtle-destructive-foreground/70", "disabled:bg-tint-interactive-subtle-destructive-background/50 disabled:text-tint-interactive-subtle-destructive-foreground/50", "focus-visible:outline-interactive-ring"];
|
|
15
|
+
};
|
|
16
|
+
}>;
|
|
17
|
+
};
|
|
18
|
+
type TagConfig = NonNullable<typeof tagDefinition.config>;
|
|
19
|
+
interface TagVariantProps extends UIOverrides.VariantProps<TagConfig> {}
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/components/text/Tag/Tag.d.ts
|
|
22
|
+
interface TagProps extends TagVariantProps {
|
|
23
|
+
className?: string;
|
|
24
|
+
children: string;
|
|
25
|
+
/** Preferred spelling. `dismissable` remains supported. */
|
|
26
|
+
dismissible?: boolean;
|
|
27
|
+
dismissable?: boolean;
|
|
28
|
+
isDisabled?: boolean;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
contentRef?: Ref<HTMLElement>;
|
|
31
|
+
textSize?: TypographyProps["size"];
|
|
32
|
+
/** Preferred callback name. */
|
|
33
|
+
onRemove?: () => void;
|
|
34
|
+
onDismiss?: () => void;
|
|
35
|
+
/** Props applied to the actual dismiss button, when one is rendered. */
|
|
36
|
+
dismissButtonProps?: Omit<ButtonProps, "children" | "onPress">;
|
|
37
|
+
excludeFromTabOrder?: boolean;
|
|
38
|
+
/** Compatibility callback for the historical button-like prop surface. */
|
|
39
|
+
onPress?: ButtonProps["onPress"];
|
|
40
|
+
}
|
|
41
|
+
declare const Tag: ({ className, children, dismissible, dismissable, isDisabled, disabled, onRemove, onDismiss, dismissButtonProps, excludeFromTabOrder, onPress, contentRef, textSize: textSizeProp, ...appearanceProps }: TagProps) => import("react").JSX.Element;
|
|
42
|
+
//#endregion
|
|
43
|
+
export { tagDefinition as i, TagProps as n, TagVariantProps as r, Tag as t };
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-D2eUIPHn.js";
|
|
2
|
+
import { t as X } from "./x-B6vfz8Ps.js";
|
|
3
|
+
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
|
|
5
|
+
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
6
|
+
import { t as Typography } from "./Typography-B0Gp1lpc.js";
|
|
7
|
+
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
8
|
+
import "./i18n-CX2EjhJI.js";
|
|
9
|
+
import { c } from "react/compiler-runtime";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { useTranslation } from "react-i18next";
|
|
12
|
+
//#region src/components/text/Tag/tag.cva.ts
|
|
13
|
+
const tagDefinition = UIOverrides.defineConfig({
|
|
14
|
+
base: [
|
|
15
|
+
uiOutlineClass,
|
|
16
|
+
"inline-flex items-center gap-list-gap-icon-to-label",
|
|
17
|
+
"p-pill-height-s px-1.5",
|
|
18
|
+
"rounded-pill-rounding-default",
|
|
19
|
+
"overflow-hidden",
|
|
20
|
+
"disabled:cursor-default"
|
|
21
|
+
],
|
|
22
|
+
config: {
|
|
23
|
+
variants: { color: {
|
|
24
|
+
primary: [
|
|
25
|
+
"bg-interactive-subtle-primary-background text-interactive-subtle-primary-foreground",
|
|
26
|
+
"not-disabled:not-pressed:hover:bg-tint-interactive-subtle-primary-background/80 not-disabled:not-pressed:hover:text-tint-interactive-subtle-primary-foreground/80",
|
|
27
|
+
"not-disabled:pressed:bg-tint-interactive-subtle-primary-background/70 not-disabled:pressed:text-tint-interactive-subtle-primary-foreground/70",
|
|
28
|
+
"disabled:bg-tint-interactive-subtle-primary-background/50 disabled:text-tint-interactive-subtle-primary-foreground/50",
|
|
29
|
+
"focus-visible:outline-interactive-ring"
|
|
30
|
+
],
|
|
31
|
+
secondary: [
|
|
32
|
+
"bg-interactive-subtle-secondary-background text-interactive-subtle-secondary-foreground",
|
|
33
|
+
"not-disabled:not-pressed:hover:bg-tint-interactive-subtle-secondary-background/80 not-disabled:not-pressed:hover:text-tint-interactive-subtle-secondary-foreground/80",
|
|
34
|
+
"not-disabled:pressed:bg-tint-interactive-subtle-secondary-background/70 not-disabled:pressed:text-tint-interactive-subtle-secondary-foreground/70",
|
|
35
|
+
"disabled:bg-tint-interactive-subtle-secondary-background/50 disabled:text-tint-interactive-subtle-secondary-foreground/50",
|
|
36
|
+
"focus-visible:outline-interactive-ring"
|
|
37
|
+
],
|
|
38
|
+
success: [
|
|
39
|
+
"bg-surface-success-inverted-base text-surface-success-base",
|
|
40
|
+
"not-disabled:not-pressed:hover:bg-tint-surface-success-inverted-base/80 not-disabled:not-pressed:hover:text-tint-surface-success-base/80",
|
|
41
|
+
"not-disabled:pressed:bg-tint-surface-success-inverted-base/70 not-disabled:pressed:text-tint-surface-success-base/70",
|
|
42
|
+
"disabled:bg-tint-surface-success-inverted-base/50 disabled:text-tint-surface-success-base/50",
|
|
43
|
+
"focus-visible:outline-interactive-ring"
|
|
44
|
+
],
|
|
45
|
+
warning: [
|
|
46
|
+
"bg-surface-warning-inverted-base text-surface-warning-base",
|
|
47
|
+
"not-disabled:not-pressed:hover:bg-tint-surface-warning-inverted-base/80 not-disabled:not-pressed:hover:text-tint-surface-warning-base/80",
|
|
48
|
+
"not-disabled:pressed:bg-tint-surface-warning-inverted-base/70 not-disabled:pressed:text-tint-surface-warning-base/70",
|
|
49
|
+
"disabled:bg-tint-surface-warning-inverted-base/50 disabled:text-tint-surface-warning-base/50",
|
|
50
|
+
"focus-visible:outline-interactive-ring"
|
|
51
|
+
],
|
|
52
|
+
error: [
|
|
53
|
+
"bg-interactive-subtle-destructive-background text-interactive-subtle-destructive-foreground",
|
|
54
|
+
"not-disabled:not-pressed:hover:bg-tint-interactive-subtle-destructive-background/80 not-disabled:not-pressed:hover:text-tint-interactive-subtle-destructive-foreground/80",
|
|
55
|
+
"not-disabled:pressed:bg-tint-interactive-subtle-destructive-background/70 not-disabled:pressed:text-tint-interactive-subtle-destructive-foreground/70",
|
|
56
|
+
"disabled:bg-tint-interactive-subtle-destructive-background/50 disabled:text-tint-interactive-subtle-destructive-foreground/50",
|
|
57
|
+
"focus-visible:outline-interactive-ring"
|
|
58
|
+
]
|
|
59
|
+
} },
|
|
60
|
+
defaultVariants: { color: "primary" }
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/components/text/Tag/Tag.tsx
|
|
65
|
+
const Tag = (t0) => {
|
|
66
|
+
const $ = c(19);
|
|
67
|
+
const { className, children, dismissible, dismissable, isDisabled, disabled, onRemove, onDismiss, dismissButtonProps, excludeFromTabOrder, onPress, contentRef, textSize: textSizeProp, ...appearanceProps } = t0;
|
|
68
|
+
const uiConfig = UIConfig.useConfig();
|
|
69
|
+
const textSize = textSizeProp ?? uiConfig.tag.textSize;
|
|
70
|
+
const isDismissible = dismissible ?? dismissable ?? false;
|
|
71
|
+
const resolvedIsDisabled = isDisabled ?? disabled;
|
|
72
|
+
const tagCva = UIOverrides.useCva("tag.cva", tagDefinition);
|
|
73
|
+
const { t } = useTranslation("ui");
|
|
74
|
+
const t1 = onRemove ?? onDismiss ?? onPress;
|
|
75
|
+
let t2;
|
|
76
|
+
if ($[0] !== t) {
|
|
77
|
+
t2 = t(_temp);
|
|
78
|
+
$[0] = t;
|
|
79
|
+
$[1] = t2;
|
|
80
|
+
} else t2 = $[1];
|
|
81
|
+
let t3;
|
|
82
|
+
if ($[2] !== dismissButtonProps || $[3] !== excludeFromTabOrder || $[4] !== resolvedIsDisabled || $[5] !== t1 || $[6] !== t2) {
|
|
83
|
+
t3 = {
|
|
84
|
+
...dismissButtonProps,
|
|
85
|
+
excludeFromTabOrder,
|
|
86
|
+
isDisabled: resolvedIsDisabled,
|
|
87
|
+
onPress: t1,
|
|
88
|
+
"aria-label": t2
|
|
89
|
+
};
|
|
90
|
+
$[2] = dismissButtonProps;
|
|
91
|
+
$[3] = excludeFromTabOrder;
|
|
92
|
+
$[4] = resolvedIsDisabled;
|
|
93
|
+
$[5] = t1;
|
|
94
|
+
$[6] = t2;
|
|
95
|
+
$[7] = t3;
|
|
96
|
+
} else t3 = $[7];
|
|
97
|
+
const buttonProps = t3;
|
|
98
|
+
const t4 = tagCva({
|
|
99
|
+
...appearanceProps,
|
|
100
|
+
className: clsx("pointer-events-none", className)
|
|
101
|
+
});
|
|
102
|
+
const t5 = contentRef;
|
|
103
|
+
let t6;
|
|
104
|
+
if ($[8] !== children || $[9] !== t5 || $[10] !== textSize) {
|
|
105
|
+
t6 = /* @__PURE__ */ jsx(Typography, {
|
|
106
|
+
ref: t5,
|
|
107
|
+
size: textSize,
|
|
108
|
+
as: "span",
|
|
109
|
+
className: "truncate",
|
|
110
|
+
children
|
|
111
|
+
});
|
|
112
|
+
$[8] = children;
|
|
113
|
+
$[9] = t5;
|
|
114
|
+
$[10] = textSize;
|
|
115
|
+
$[11] = t6;
|
|
116
|
+
} else t6 = $[11];
|
|
117
|
+
let t7;
|
|
118
|
+
if ($[12] !== buttonProps || $[13] !== isDismissible) {
|
|
119
|
+
t7 = isDismissible && /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
120
|
+
...buttonProps,
|
|
121
|
+
className: "pointer-events-auto shrink-0",
|
|
122
|
+
children: /* @__PURE__ */ jsx(X, { className: "size-4" })
|
|
123
|
+
});
|
|
124
|
+
$[12] = buttonProps;
|
|
125
|
+
$[13] = isDismissible;
|
|
126
|
+
$[14] = t7;
|
|
127
|
+
} else t7 = $[14];
|
|
128
|
+
let t8;
|
|
129
|
+
if ($[15] !== t4 || $[16] !== t6 || $[17] !== t7) {
|
|
130
|
+
t8 = /* @__PURE__ */ jsxs("div", {
|
|
131
|
+
className: t4,
|
|
132
|
+
children: [t6, t7]
|
|
133
|
+
});
|
|
134
|
+
$[15] = t4;
|
|
135
|
+
$[16] = t6;
|
|
136
|
+
$[17] = t7;
|
|
137
|
+
$[18] = t8;
|
|
138
|
+
} else t8 = $[18];
|
|
139
|
+
return t8;
|
|
140
|
+
};
|
|
141
|
+
function _temp($) {
|
|
142
|
+
return $.ui.tag.dismiss;
|
|
143
|
+
}
|
|
144
|
+
//#endregion
|
|
145
|
+
export { tagDefinition as n, Tag as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
3
|
-
import { n as FormFieldProps } from "./FormField-
|
|
4
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
3
|
+
import { n as FormFieldProps } from "./FormField-B0miX3gu.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-BhDJxc7r.js";
|
|
5
5
|
import { Ref } from "react";
|
|
6
6
|
import { TextAreaProps } from "react-aria-components";
|
|
7
7
|
import { AriaTextFieldProps } from "@react-aria/textfield";
|