@povio/ui 4.0.3 → 5.0.0-rc.10
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 +56 -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 +128 -10
- package/dist/{Accordion-CB1F5YAY.js → Accordion-BzwO4_ml.js} +22 -140
- package/dist/{Alert-BALBsBrP.js → Alert-CnvEb1D_.js} +34 -30
- package/dist/{Alert-CbEhRaU5.d.ts → Alert-DfiJbKH0.d.ts} +4 -3
- package/dist/{AlertDialog-PjYM6lDo.d.ts → AlertDialog-OWTbR4km.d.ts} +3 -3
- package/dist/AppCanvasPage-BEER5hHp.js +2421 -0
- package/dist/AppCanvasPage-BIFYeEeS.d.ts +80 -0
- package/dist/{Autocomplete-DE2lQi5o.d.ts → Autocomplete-C6RRxImn.d.ts} +1 -1
- package/dist/{Badge-CjPpYa50.d.ts → Badge-CBNpj823.d.ts} +8 -6
- package/dist/BadgeButton-Ccgt3oGO.d.ts +15 -0
- package/dist/{BottomSheet-CVTF1wQe.js → BottomSheet-BXLE3161.js} +15 -14
- package/dist/{BottomSheet-CT0zuola.d.ts → BottomSheet-DbQuzfAB.d.ts} +1 -1
- package/dist/{BottomSheet.lazy-7AwnB4vS.d.ts → BottomSheet.lazy-D9LCEo7s.d.ts} +1 -1
- package/dist/{Breadcrumbs-D-3YEuem.d.ts → Breadcrumbs-CUV6CU8Q.d.ts} +1 -1
- package/dist/{Breadcrumbs-C-mZtdCc.js → Breadcrumbs-FF8hMfXd.js} +26 -42
- package/dist/Button-C5rv4Cr2.js +506 -0
- package/dist/{Button-DTNjsGx5.d.ts → Button-D-4qb0IR.d.ts} +3 -3
- package/dist/{ButtonContent-CohuJJzG.js → ButtonContent-c7lJayVQ.js} +12 -10
- package/dist/{Calendar-BYcN64W5.js → Calendar-DRHruqr_.js} +28 -20
- package/dist/{CheckContent-DzWpxKGq.js → CheckContent-D7sZPmzx.js} +4 -5
- package/dist/{Checkbox-DBV_Nxtq.js → Checkbox-D3f2Plbc.js} +6 -6
- package/dist/{Checkbox-CBybJbLm.d.ts → Checkbox-x2MuL477.d.ts} +1 -1
- package/dist/{CheckboxCheckmark-DJue5Aej.js → CheckboxCheckmark-FwKjPVbV.js} +34 -55
- package/dist/{CheckboxGroup-4xoWgmxr.d.ts → CheckboxGroup-Dio2rvF5.d.ts} +3 -3
- package/dist/ComponentGallery-CMFrbwEN.js +3513 -0
- package/dist/{DatePicker-CjmXaZ9T.d.ts → DatePicker-1LJ2LqST.d.ts} +3 -3
- package/dist/{DatePicker-DGlMtlvy.js → DatePicker-xDEqzNJv.js} +12 -11
- package/dist/{DatePickerInput-Nj_rVUyU.js → DatePickerInput-B0fEeCOf.js} +27 -40
- package/dist/{DatePickerInput-CdCtVE9z.d.ts → DatePickerInput-ai4apf8B.d.ts} +3 -3
- package/dist/{DateRangePicker-D1kjkFfS.d.ts → DateRangePicker-Dfptit_Z.d.ts} +3 -3
- package/dist/{DateRangePicker-CE9XvAy9.js → DateRangePicker-DxuVhRaf.js} +25 -22
- package/dist/{DateTimePicker-CtUPjVp1.js → DateTimePicker-4N1Pka07.js} +11 -10
- package/dist/{DateTimePicker-CT_Pm3KB.d.ts → DateTimePicker-DpsfukpQ.d.ts} +3 -3
- package/dist/{Dialog-BE9BSDDl.js → Dialog-9manOgMA.js} +4 -4
- package/dist/{Dialog-CXoVeIkU.js → Dialog-CKLkS00H.js} +10 -2
- package/dist/{Dialog-DEbI_9S-.d.ts → Dialog-CW93T9X1.d.ts} +3 -2
- package/dist/{DropdownMenu-tuf1W-IL.js → DropdownMenu-5jmtgLXd.js} +8 -6
- package/dist/{DropdownMenu-CZQRzOBb.d.ts → DropdownMenu-JNpYT4-3.d.ts} +4 -3
- package/dist/{DropdownMenuDesktop-C9ttysuk.js → DropdownMenuDesktop-Cl9gZVq0.js} +9 -38
- package/dist/{FileInput-BUs7wL0_.js → FileInput-DUyc_sVu.js} +20 -22
- package/dist/{FileInput-CI8D_wf_.d.ts → FileInput-Dt3UDg2s.d.ts} +7 -6
- package/dist/{FileTrigger-CDXcQthK.js → FileTrigger-Cthk5_Wp.js} +1 -30
- package/dist/{FileUpload-BrnJdN3M.d.ts → FileUpload-BXlKtQ4L.d.ts} +1 -1
- package/dist/{FileUpload-C3HzeFeb.js → FileUpload-Cx98L1jz.js} +76 -173
- package/dist/{FileUploadContainer-CkBENy6n.d.ts → FileUploadContainer-BURZAS2M.d.ts} +1 -1
- package/dist/{Form-mzpVGNjX.d.ts → Form-DmcByQts.d.ts} +1 -1
- package/dist/{FormField-DTO2cbXC.js → FormField-9h3JAhaY.js} +40 -38
- package/dist/{FormField-DTDj3F0A.d.ts → FormField-C8_T6by9.d.ts} +1 -1
- package/dist/{FormFieldError-CFg0Wn3i.js → FormFieldError-DeOHHLo2.js} +3 -3
- package/dist/FormFieldHeaderTooltip-BV2Ju4oB.js +17 -0
- package/dist/{IconButton-CYazzM7I.d.ts → IconButton-D4thBurp.d.ts} +2 -2
- package/dist/IconSlot-DSK7qNxc.js +79 -0
- package/dist/{InlineIconButton-Rp5bXWcQ.d.ts → InlineIconButton-BeJCjl-q.d.ts} +2 -2
- package/dist/{InlineTooltipWrapper-Ct6zi24f.js → InlineTooltipWrapper-BpApaGXV.js} +3 -3
- package/dist/{Input-DSHFNEVl.d.ts → Input-CHD67H4o.d.ts} +3 -3
- package/dist/{InputContent-CvWm6GAv.d.ts → InputContent-B6CIQNnE.d.ts} +3 -3
- package/dist/{InputItem-DAunP0iy.js → InputItem-Cv19Hwnx.js} +11 -11
- package/dist/{Inputs-CHEDcuP0.d.ts → Inputs-C0sUmuPv.d.ts} +1 -1
- package/dist/{Inputs-_IqA6JRE.js → Inputs-D1aE_J9f.js} +1 -1
- package/dist/{Link-DS9-0Ijl.d.ts → Link-Ow9H7kNv.d.ts} +3 -2
- package/dist/{ListBox-B7DW1S7n.js → ListBox-CL8Ar4Q_.js} +5 -4
- package/dist/{MenuItem-CROWrE2A.d.ts → MenuItem-DHyqOqln.d.ts} +1 -1
- package/dist/{Modal-CoFt5PGP.js → Modal-w60dVQcb.js} +1 -1
- package/dist/{NumberField-BICDQ2gN.d.ts → NumberField-4SX3R6IR.d.ts} +3 -3
- package/dist/{NumberRangeInput-Bu-3Y0zf.js → NumberRangeInput-Bzfe-RlV.js} +8 -8
- package/dist/{NumberRangeInput-BlGXChNR.d.ts → NumberRangeInput-CKmLfgVD.d.ts} +2 -2
- package/dist/{Pagination-CumQED8X.d.ts → Pagination-CwQu5Py8.d.ts} +1 -1
- package/dist/{PaginationList-D79ApWLm.d.ts → PaginationList-DMRUGtf8.d.ts} +2 -2
- package/dist/{PaginationList-CmOJo2r2.js → PaginationList-DtvuP63b.js} +13 -21
- package/dist/{PasswordInput-BdrYD1D3.d.ts → PasswordInput-tLGcHS6H.d.ts} +1 -1
- package/dist/{Popover-C0_-TLl_.d.ts → Popover-BTHPteIh.d.ts} +2 -2
- package/dist/{Progress-_jkt2pQw.js → Progress-B3mY9rIP.js} +6 -7
- package/dist/{Progress-CYfDXJKs.d.ts → Progress-CjWOR38H.d.ts} +3 -2
- package/dist/{QuerySelect-Bpz-qI9h.d.ts → QuerySelect-CgfnA3d-.d.ts} +2 -2
- package/dist/{RadioGroup-WHWosz7K.d.ts → RadioGroup-CvmI9i_U.d.ts} +3 -3
- package/dist/{RadioGroup-DiF7ILto.js → RadioGroup-efBKgTYA.js} +21 -24
- package/dist/{RichTextEditor-eM9d2umr.js → RichTextEditor-Bd7F5D8f.js} +68 -141
- package/dist/{RichTextEditor-CbgjRfiU.d.ts → RichTextEditor-CsDZcgyf.d.ts} +1 -1
- package/dist/{Select-CyBtGHk9.js → Select-CgIhoWgk.js} +10 -15
- package/dist/{Select-wzB2aQ_X.d.ts → Select-DKBPfNUe.d.ts} +1 -1
- package/dist/{SelectBase-DefgAEzh.d.ts → SelectBase-BkIhS9Dg.d.ts} +3 -3
- package/dist/{Slider-CZMNmk6P.d.ts → Slider-BtUXzztJ.d.ts} +1 -1
- package/dist/{Slider-KkWtEm09.js → Slider-CMg0BXJO.js} +12 -12
- package/dist/{Spinner-owSXOEzg.js → Spinner-BeVTUzzx.js} +2 -2
- package/dist/{Spinner-BOgO9bS6.d.ts → Spinner-DbXeDOa2.d.ts} +3 -2
- package/dist/{SplitButton-BPZbQeYC.d.ts → SplitButton-D9ngY1rJ.d.ts} +3 -3
- package/dist/{Stepper-BbO9TlOM.js → Stepper-Cp5vbL5g.js} +9 -125
- package/dist/{Stepper-PcHlxDD5.d.ts → Stepper-TATlHZhQ.d.ts} +13 -12
- package/dist/{Switch-Cylpjatb.js → Switch-CqnGEdeD.js} +17 -25
- package/dist/{Switch-C0S5Juhf.d.ts → Switch-s_EPn0Jz.d.ts} +1 -1
- package/dist/Table-BN2_J_Ne.js +636 -0
- package/dist/Tag-AHfV_XSf.d.ts +44 -0
- package/dist/Tag-DPg5sL1Z.js +146 -0
- package/dist/{TextArea-CBWJ7w-p.d.ts → TextArea-D6kcAwGn.d.ts} +2 -2
- package/dist/{TextArea-DvqDGp4M.js → TextArea-uPffb457.js} +9 -9
- package/dist/{TextButton-D7e_YBLe.d.ts → TextButton-XUhV_1s0.d.ts} +4 -4
- package/dist/{TimePicker-WirUMDrH.js → TimePicker-DN-i98z5.js} +12 -12
- package/dist/{TimePicker-BZ4WrI5Z.d.ts → TimePicker-Dex9aU7D.d.ts} +2 -2
- package/dist/Toast-DtG3pA61.js +53 -0
- package/dist/{Toast-DIlYlUQk.d.ts → Toast-ruXqONDA.d.ts} +1 -1
- package/dist/{ToastContainer-8X5jGBe7.js → ToastContainer-qgpzMFD4.js} +4 -3
- package/dist/{ToggleButton-D4y2fLmN.d.ts → ToggleButton-7aP8Jb11.d.ts} +2 -2
- package/dist/{ToggleGroup-D9CFdM5-.d.ts → ToggleGroup-CRFDIPGZ.d.ts} +1 -1
- package/dist/{ToggleGroup-BK6Ka7WA.js → ToggleGroup-DmVPNWok.js} +27 -55
- package/dist/{Tooltip--PSxkQA3.js → Tooltip-CpG1nz7Y.js} +7 -49
- package/dist/{Tooltip-B-2AxyjP.d.ts → Tooltip-DHv6vAqW.d.ts} +10 -9
- package/dist/{TooltipWrapper-BVc_Aln-.js → TooltipWrapper-CDHFaUKZ.js} +5 -5
- package/dist/{Typography-AcUd9df8.js → Typography-LU4z2pR1.js} +2 -2
- package/dist/{Typography-BWmZd20e.d.ts → Typography-XljT9s02.d.ts} +1 -1
- package/dist/UIConfigurator-CTlq-hrG.js +6704 -0
- package/dist/accordion.cva-CL1bVscW.js +129 -0
- package/dist/{autocomplete-CaQSVRrw.d.ts → autocomplete-B-JuxTYN.d.ts} +2 -2
- package/dist/badgeButton.cva-B2bgCQP6.d.ts +41 -0
- package/dist/badgeButton.cva-CvN4CTx5.js +300 -0
- package/dist/breadcrumbs.cva-7zzdDhVR.js +27 -0
- package/dist/{button.cva-ChabF4Am.d.ts → button.cva-C7kEhgoA.d.ts} +15 -32
- package/dist/{buttonContent.cva-CP857foM.d.ts → buttonContent.cva-DPIlROA9.d.ts} +2 -2
- package/dist/{checkbox-D8CPWRlM.d.ts → checkbox-CRP4QRfP.d.ts} +1 -1
- package/dist/{checkbox-group-BuPUA_Qj.d.ts → checkbox-group-BI_RwIJ4.d.ts} +1 -1
- package/dist/{checkbox.cva-DwnPS5df.d.ts → checkbox.cva-DBqfmYHY.d.ts} +6 -7
- 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 +6 -5
- package/dist/components/badge-button.d.ts +2 -0
- package/dist/components/{pill-button.js → badge-button.js} +13 -12
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +56 -40
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +2 -2
- 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 +6 -6
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-time-picker.d.ts +1 -1
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/drawer.js +4 -4
- 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/icon-slot.d.ts +2 -0
- package/dist/components/icon-slot.js +2 -0
- 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 +7 -7
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +32 -1
- package/dist/components/number-field.d.ts +1 -1
- package/dist/components/number-field.js +7 -7
- 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 +36 -33
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +6 -5
- 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 +10 -5
- 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 +3 -3
- 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.d.ts +2 -2
- 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/app-canvas-tanstack.d.ts +23 -0
- package/dist/config/app-canvas-tanstack.js +62 -0
- package/dist/config/app-canvas.d.ts +12 -0
- package/dist/config/app-canvas.js +2 -0
- 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/config/ui-configurator-theme.d.ts +2 -0
- package/dist/config/ui-configurator-theme.js +2 -0
- package/dist/config/ui-configurator-vite.d.ts +10 -0
- package/dist/config/ui-configurator-vite.js +174 -0
- package/dist/config/ui-configurator.d.ts +15 -0
- package/dist/config/ui-configurator.js +3 -0
- package/dist/config/ui-overrides.d.ts +1 -1
- package/dist/config/ui-overrides.js +1 -1
- package/dist/configuration.context-DP4p1cIe.d.ts +926 -0
- package/dist/{confirmation.context-fKfUTsLF.d.ts → confirmation.context-BOeEVczb.d.ts} +1 -1
- package/dist/{date-picker-MXt02b7Z.d.ts → date-picker-BhIA01qs.d.ts} +1 -1
- package/dist/{date-range-picker-BjT0t21q.d.ts → date-range-picker-BsuZ2h_3.d.ts} +1 -1
- package/dist/{date-time-picker-CMmIuZtT.d.ts → date-time-picker-Bi-qW6vO.d.ts} +1 -1
- package/dist/datePickerInput.cva-Cd7UUN61.js +14 -0
- package/dist/{datePickerValue.utils-1z4mwZZs.js → datePickerValue.utils-QWR2q5Vv.js} +9 -11
- package/dist/{dialog.cva-5qNq9YfM.js → dialog.cva-COhDZaVl.js} +4 -4
- package/dist/{dist-C6GfeeEC.js → dist-CAdwxJbe.js} +1 -256
- package/dist/{dom.utils-D3mELNBA.js → dom.utils-D1AopHx9.js} +1 -1
- package/dist/dropdownMenu.cva-DvEmX0bs.js +34 -0
- package/dist/{dynamicInputs-CQMTixlW.d.ts → dynamicInputs-DdcsSoYu.d.ts} +112 -111
- package/dist/{fieldAdapter-BYVPxvYi.js → fieldAdapter-DjYls12j.js} +1 -1
- package/dist/{file-input-D-46wS5j.d.ts → file-input-BTYsGgr7.d.ts} +1 -1
- package/dist/{file-upload-BG20Bhrn.d.ts → file-upload-CqGdt1Ue.d.ts} +2 -2
- package/dist/fileUpload.cva-ujmStxB1.js +42 -0
- package/dist/{fileUpload.types-xFzuCT_m.d.ts → fileUpload.types-rIGu4MgY.d.ts} +2 -2
- package/dist/iconSlot.cva-CnpFzAOR.d.ts +21 -0
- package/dist/icons.d.ts +2 -1
- package/dist/icons.js +2 -1
- package/dist/index.d.ts +87 -86
- package/dist/index.js +55 -44
- package/dist/info-iUmX3uDk.js +32 -0
- package/dist/{input-CKGPYwfB.d.ts → input-CqNMORk8.d.ts} +1 -1
- package/dist/{input.cva-ByFuAEIS.d.ts → input.cva-CQPV5gW7.d.ts} +6 -9
- package/dist/input.cva-CbMTwuQU.js +227 -0
- package/dist/{link.context-C5ZgwVM5.d.ts → link.context-D5qyz9Rf.d.ts} +1 -1
- package/dist/link.cva-DMTHZiJG.js +12 -0
- package/dist/{number-field-CyP6XgJh.d.ts → number-field-BcMnahI8.d.ts} +1 -1
- package/dist/{number-range-input-DMmlk7Bl.d.ts → number-range-input-CLfuacKv.d.ts} +1 -1
- package/dist/{password-input-BWpfQe0G.d.ts → password-input-BV1Amdc8.d.ts} +1 -1
- package/dist/popover.cva-Bhud1wnp.js +5 -0
- package/dist/popoverAnimation-DEZSvKP8.js +4 -0
- package/dist/{query-autocomplete-DV8fEkK2.d.ts → query-autocomplete-CJSJeSXW.d.ts} +2 -2
- package/dist/{query-select-BZ3-5WTu.d.ts → query-select-B-VLz1PW.d.ts} +2 -2
- package/dist/{queryAutocomplete.types-Dm8Ttx4v.d.ts → queryAutocomplete.types-D2w1_hau.d.ts} +2 -2
- package/dist/{radio-group-CmUtsjqP.d.ts → radio-group-DZZdQMub.d.ts} +1 -1
- package/dist/{radio.cva-DAq2M13H.d.ts → radio.cva-DN9VQ3Kb.d.ts} +4 -3
- 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.d.ts +2 -2
- package/dist/rhf/toggle-group.js +2 -2
- package/dist/{rhf-1_ZO8GhU.js → rhf-t348TCCL.js} +1 -1
- package/dist/rhf.d.ts +87 -86
- package/dist/rhf.js +55 -44
- package/dist/{rich-text-editor-Db3XWWFo.d.ts → rich-text-editor-Cp5dYHQI.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-FjDx5oe4.d.ts} +2 -2
- package/dist/selectDesktop.cva-CHAMxhfO.js +69 -0
- package/dist/{slider-JQh0ypfU.d.ts → slider-BVJiBswZ.d.ts} +1 -1
- package/dist/{staticDateTimeSegments-vP2f1woD.js → staticDateTimeSegments-BWea3HAt.js} +34 -33
- package/dist/{staticSelect.utils-DOt6f-ck.js → staticSelect.utils-BfTCi26B.js} +41 -92
- package/dist/stepper.cva-CZ0Kj-s7.js +116 -0
- package/dist/style-merge.util-zLimKwt6.d.ts +40 -0
- package/dist/styles/app-canvas.css +740 -0
- package/dist/styles/color-utilities.css +20 -0
- package/dist/styles/configurator.css +3280 -0
- package/dist/styles/editor.css +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/{switch-Lm3xl1rQ.d.ts → switch-C--iWnY8.d.ts} +1 -1
- package/dist/switch.cva-CWNzmdRc.d.ts +16 -0
- package/dist/table.cva-D5oQ-QvA.js +101 -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 +2 -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.d.ts +2 -2
- package/dist/tanstack/toggle-group.js +1 -1
- package/dist/tanstack.d.ts +71 -70
- package/dist/tanstack.js +66 -53
- package/dist/{text-area-I5MNcGp_.d.ts → text-area-DhSVRB6X.d.ts} +1 -1
- package/dist/theme-model-DtYPxNvH.js +406 -0
- package/dist/theme-model-T1zIdBg8.d.ts +12 -0
- package/dist/{time-picker-DdhW8GmD.d.ts → time-picker-DhnDKh97.d.ts} +1 -1
- package/dist/{toast.cva-LU7TGprV.d.ts → toast.cva-By5lvAfr.d.ts} +10 -9
- package/dist/toast.cva-C_L_RffH.js +163 -0
- package/dist/{toast.runtime-QMYrNvoQ.js → toast.runtime-cxex9e4E.js} +2 -1
- package/dist/{toggle-group-CPkKHm1t.d.ts → toggle-group-C1nMDOwz.d.ts} +1 -1
- package/dist/toggleGroup.cva-MbpaEBg1.js +35 -0
- package/dist/{toggleGroup.types-DD6uRI5G.d.ts → toggleGroup.types-Bp43zbSQ.d.ts} +2 -1
- package/dist/tooltip.cva-BIzlOXHH.js +48 -0
- package/dist/{tooltipWrapper.cva-CUu8pI-a.js → tooltipWrapper.cva-BBQ4ic3D.js} +1 -1
- package/dist/typography.cva-D1JOEYl-.d.ts +36 -0
- package/dist/typography.cva-iD15k56p.js +51 -0
- package/dist/{uiConfig.context-RFvaQYzD.js → uiConfig.context-BS3r_kTS.js} +12 -21
- package/dist/{uiConfig.context-CIoMqe1_.d.ts → uiConfig.context-BqKWd_MO.d.ts} +11 -12
- package/dist/{uiOverrides.context-Bfm2n-n8.js → uiOverrides.context-BTCH9y5a.js} +2 -2
- package/dist/{uiOverrides.context-C3xb4Ttq.d.ts → uiOverrides.context-DEp139He.d.ts} +11 -44
- package/dist/underline-66hmELxa.js +81 -0
- package/dist/upload-CXU83BJ4.js +30 -0
- package/dist/{useBreakpoint-3kpqzjoC.js → useBreakpoint-DQoMN-BG.js} +1 -1
- package/dist/{useFieldAccessibility-BTs_WC_5.js → useFieldAccessibility-B-bjtrNw.js} +18 -12
- package/dist/{useFormAutosave-BRlM0nmq.js → useFormAutosave-pmh35PXp.js} +2 -2
- package/dist/{useStaticInputHandoff-_stbpoX4.js → useStaticInputHandoff-B7DEm75m.js} +18 -16
- package/dist/useTableColumnConfig-6zn3zKl3.js +892 -0
- package/dist/{useTableNav-Tu8UZxHA.d.ts → useTableNav-Ckj5PBRk.d.ts} +9 -8
- package/dist/{useToast-NBGlVeFP.d.ts → useToast-yreVCUer.d.ts} +1 -1
- package/package.json +54 -6
- package/rulesync.jsonc +11 -0
- package/scripts/generate-rules.mjs +34 -0
- package/src/configurator/README.md +77 -0
- package/dist/Button-CcZBqoQp.js +0 -761
- package/dist/FormFieldHeaderTooltip-h6e5hq9V.js +0 -45
- package/dist/Link-C5YsZ4pr.js +0 -42
- package/dist/PillButton-CihEPQye.d.ts +0 -15
- package/dist/Tag-CgPeLVXM.d.ts +0 -44
- package/dist/Tag-DNuHvt6J.js +0 -148
- package/dist/components/pill-button.d.ts +0 -2
- package/dist/input.cva-KYGD4Bdz.js +0 -324
- package/dist/pillButton.cva-6tjADUQ6.js +0 -265
- package/dist/pillButton.cva-BVsxGnqF.d.ts +0 -36
- package/dist/popover.cva-CXha_UMQ.js +0 -5
- 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
- package/dist/useTableColumnConfig-CiAr7Dbi.js +0 -1627
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
2
|
-
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
-
import { t as Tooltip } from "./Tooltip--PSxkQA3.js";
|
|
4
|
-
import { t as $a3be900807531178$re_export$Focusable } from "./exports-BNrTn8Tj.js";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
//#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/info.mjs
|
|
7
|
-
/**
|
|
8
|
-
* @license lucide-react v1.43.0 - ISC
|
|
9
|
-
*
|
|
10
|
-
* This source code is licensed under the ISC license.
|
|
11
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
12
|
-
*/
|
|
13
|
-
const __iconData = {
|
|
14
|
-
name: "info",
|
|
15
|
-
size: 24,
|
|
16
|
-
node: [
|
|
17
|
-
["circle", {
|
|
18
|
-
cx: "12",
|
|
19
|
-
cy: "12",
|
|
20
|
-
r: "10",
|
|
21
|
-
key: "1mglay"
|
|
22
|
-
}],
|
|
23
|
-
["path", {
|
|
24
|
-
d: "M12 16v-4",
|
|
25
|
-
key: "1dtifu"
|
|
26
|
-
}],
|
|
27
|
-
["path", {
|
|
28
|
-
d: "M12 8h.01",
|
|
29
|
-
key: "e9boi3"
|
|
30
|
-
}]
|
|
31
|
-
]
|
|
32
|
-
};
|
|
33
|
-
__iconData.node;
|
|
34
|
-
const Info = createLucideIcon(__iconData);
|
|
35
|
-
//#endregion
|
|
36
|
-
//#region src/components/inputs/FormField/FormFieldHeaderTooltip.tsx
|
|
37
|
-
const FormFieldHeaderTooltip = ({ text, isDisabled }) => /* @__PURE__ */ jsx(Tooltip, {
|
|
38
|
-
text,
|
|
39
|
-
children: /* @__PURE__ */ jsx($a3be900807531178$re_export$Focusable, { children: /* @__PURE__ */ jsx(Info, {
|
|
40
|
-
className: clsx("size-6", isDisabled ? "text-interactive-text-secondary-disabled" : "text-interactive-text-secondary-idle hover:text-interactive-text-secondary-hover"),
|
|
41
|
-
tabIndex: 0
|
|
42
|
-
}) })
|
|
43
|
-
});
|
|
44
|
-
//#endregion
|
|
45
|
-
export { FormFieldHeaderTooltip as default };
|
package/dist/Link-C5YsZ4pr.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { t as $984a1fc08f87e4f3$export$a6c7ac8248d6e38a } from "./Link-FupWOW1f.js";
|
|
2
|
-
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
3
|
-
import { t as LinkContext } from "./link.context-J7aQtMOr.js";
|
|
4
|
-
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
//#region src/components/text/Link/link.cva.ts
|
|
8
|
-
const linkDefinition = UIOverrides.defineConfig({
|
|
9
|
-
base: ["underline", uiOutlineClass],
|
|
10
|
-
config: {
|
|
11
|
-
variants: { variant: { default: ["text-interactive-text-primary-idle focus-visible:outline-interactive-text-primary-focus", "hover:text-interactive-text-primary-hover focus-visible:text-interactive-text-primary-focus active:text-interactive-text-primary-pressed"] } },
|
|
12
|
-
defaultVariants: { variant: "default" }
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region src/components/text/Link/Link.tsx
|
|
17
|
-
const Link = (t0) => {
|
|
18
|
-
const $ = c(4);
|
|
19
|
-
const { variant, ...props } = t0;
|
|
20
|
-
const linkContext = LinkContext.useLinkContext();
|
|
21
|
-
const linkCva = UIOverrides.useCva("link.cva", linkDefinition);
|
|
22
|
-
const LinkComponent = linkContext?.LinkComponent ?? $984a1fc08f87e4f3$export$a6c7ac8248d6e38a;
|
|
23
|
-
if (!props.to && props.href) props.to = props.href;
|
|
24
|
-
const t1 = linkCva({
|
|
25
|
-
variant,
|
|
26
|
-
className: props.className
|
|
27
|
-
});
|
|
28
|
-
let t2;
|
|
29
|
-
if ($[0] !== LinkComponent || $[1] !== props || $[2] !== t1) {
|
|
30
|
-
t2 = /* @__PURE__ */ jsx(LinkComponent, {
|
|
31
|
-
...props,
|
|
32
|
-
className: t1
|
|
33
|
-
});
|
|
34
|
-
$[0] = LinkComponent;
|
|
35
|
-
$[1] = props;
|
|
36
|
-
$[2] = t1;
|
|
37
|
-
$[3] = t2;
|
|
38
|
-
} else t2 = $[3];
|
|
39
|
-
return t2;
|
|
40
|
-
};
|
|
41
|
-
//#endregion
|
|
42
|
-
export { linkDefinition as n, Link as t };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { t as ButtonContentVariantProps } from "./buttonContent.cva-CP857foM.js";
|
|
2
|
-
import { t as PillButtonVariants } from "./pillButton.cva-BVsxGnqF.js";
|
|
3
|
-
import { FC, ReactNode, Ref, SVGProps } from "react";
|
|
4
|
-
import { ButtonProps, ToggleButtonProps } from "react-aria-components";
|
|
5
|
-
//#region src/components/buttons/PillButton/PillButton.d.ts
|
|
6
|
-
interface PillButtonProps extends ButtonProps, Omit<ToggleButtonProps, keyof ButtonProps>, ButtonContentVariantProps, PillButtonVariants {
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
dismissable?: boolean;
|
|
9
|
-
toggle?: boolean;
|
|
10
|
-
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
11
|
-
contentRef?: Ref<HTMLElement>;
|
|
12
|
-
}
|
|
13
|
-
declare const PillButton: ({ children, dismissable, toggle, icon, iconPosition, contentRef, ...props }: PillButtonProps) => import("react").JSX.Element;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { PillButtonProps as n, PillButton as t };
|
package/dist/Tag-CgPeLVXM.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-C3xb4Ttq.js";
|
|
2
|
-
import { n as TypographyProps } from "./Typography-BWmZd20e.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-idle text-interactive-subtle-primary-on-idle", "hover:bg-interactive-subtle-primary-hover hover:text-interactive-subtle-primary-on-hover", "pressed:bg-interactive-subtle-primary-pressed pressed:text-interactive-subtle-primary-on-pressed", "disabled:bg-interactive-subtle-primary-disabled disabled:text-interactive-subtle-primary-on-disabled", "focus-visible:outline-interactive-contained-primary-focus"];
|
|
11
|
-
secondary: ["bg-interactive-subtle-secondary-idle text-interactive-subtle-secondary-on-idle", "hover:bg-interactive-subtle-secondary-hover hover:text-interactive-subtle-secondary-on-hover", "pressed:bg-interactive-subtle-secondary-pressed pressed:text-interactive-subtle-secondary-on-pressed", "disabled:bg-interactive-subtle-secondary-disabled disabled:text-interactive-subtle-secondary-on-disabled", "focus-visible:outline-interactive-contained-primary-focus"];
|
|
12
|
-
success: ["bg-interactive-subtle-success-idle text-interactive-subtle-success-on-idle", "hover:bg-interactive-subtle-success-hover hover:text-interactive-subtle-success-on-hover", "pressed:bg-interactive-subtle-success-pressed pressed:text-interactive-subtle-success-on-pressed", "disabled:bg-interactive-subtle-success-disabled disabled:text-interactive-subtle-success-on-disabled", "focus-visible:outline-interactive-contained-primary-focus"];
|
|
13
|
-
warning: ["bg-interactive-subtle-warning-idle text-interactive-subtle-warning-on-idle", "hover:bg-interactive-subtle-warning-hover hover:text-interactive-subtle-warning-on-hover", "pressed:bg-interactive-subtle-warning-pressed pressed:text-interactive-subtle-warning-on-pressed", "disabled:bg-interactive-subtle-warning-disabled disabled:text-interactive-subtle-warning-on-disabled", "focus-visible:outline-interactive-contained-primary-focus"];
|
|
14
|
-
error: ["bg-interactive-subtle-error-idle text-interactive-subtle-error-on-idle", "hover:bg-interactive-subtle-error-hover hover:text-interactive-subtle-error-on-hover", "pressed:bg-interactive-subtle-error-pressed pressed:text-interactive-subtle-error-on-pressed", "disabled:bg-interactive-subtle-error-disabled disabled:text-interactive-subtle-error-on-disabled", "focus-visible:outline-interactive-contained-primary-focus"];
|
|
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
|
-
textVariant?: TypographyProps["variant"];
|
|
32
|
-
textSize?: TypographyProps["size"];
|
|
33
|
-
/** Preferred callback name. */
|
|
34
|
-
onRemove?: () => void;
|
|
35
|
-
onDismiss?: () => void;
|
|
36
|
-
/** Props applied to the actual dismiss button, when one is rendered. */
|
|
37
|
-
dismissButtonProps?: Omit<ButtonProps, "children" | "onPress">;
|
|
38
|
-
excludeFromTabOrder?: boolean;
|
|
39
|
-
/** Compatibility callback for the historical button-like prop surface. */
|
|
40
|
-
onPress?: ButtonProps["onPress"];
|
|
41
|
-
}
|
|
42
|
-
declare const Tag: ({ className, children, dismissible, dismissable, isDisabled, disabled, onRemove, onDismiss, dismissButtonProps, excludeFromTabOrder, onPress, contentRef, textVariant: textVariantProp, textSize: textSizeProp, ...appearanceProps }: TagProps) => import("react").JSX.Element;
|
|
43
|
-
//#endregion
|
|
44
|
-
export { tagDefinition as i, TagProps as n, TagVariantProps as r, Tag as t };
|
package/dist/Tag-DNuHvt6J.js
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-RFvaQYzD.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-AcUd9df8.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-idle text-interactive-subtle-primary-on-idle",
|
|
26
|
-
"hover:bg-interactive-subtle-primary-hover hover:text-interactive-subtle-primary-on-hover",
|
|
27
|
-
"pressed:bg-interactive-subtle-primary-pressed pressed:text-interactive-subtle-primary-on-pressed",
|
|
28
|
-
"disabled:bg-interactive-subtle-primary-disabled disabled:text-interactive-subtle-primary-on-disabled",
|
|
29
|
-
"focus-visible:outline-interactive-contained-primary-focus"
|
|
30
|
-
],
|
|
31
|
-
secondary: [
|
|
32
|
-
"bg-interactive-subtle-secondary-idle text-interactive-subtle-secondary-on-idle",
|
|
33
|
-
"hover:bg-interactive-subtle-secondary-hover hover:text-interactive-subtle-secondary-on-hover",
|
|
34
|
-
"pressed:bg-interactive-subtle-secondary-pressed pressed:text-interactive-subtle-secondary-on-pressed",
|
|
35
|
-
"disabled:bg-interactive-subtle-secondary-disabled disabled:text-interactive-subtle-secondary-on-disabled",
|
|
36
|
-
"focus-visible:outline-interactive-contained-primary-focus"
|
|
37
|
-
],
|
|
38
|
-
success: [
|
|
39
|
-
"bg-interactive-subtle-success-idle text-interactive-subtle-success-on-idle",
|
|
40
|
-
"hover:bg-interactive-subtle-success-hover hover:text-interactive-subtle-success-on-hover",
|
|
41
|
-
"pressed:bg-interactive-subtle-success-pressed pressed:text-interactive-subtle-success-on-pressed",
|
|
42
|
-
"disabled:bg-interactive-subtle-success-disabled disabled:text-interactive-subtle-success-on-disabled",
|
|
43
|
-
"focus-visible:outline-interactive-contained-primary-focus"
|
|
44
|
-
],
|
|
45
|
-
warning: [
|
|
46
|
-
"bg-interactive-subtle-warning-idle text-interactive-subtle-warning-on-idle",
|
|
47
|
-
"hover:bg-interactive-subtle-warning-hover hover:text-interactive-subtle-warning-on-hover",
|
|
48
|
-
"pressed:bg-interactive-subtle-warning-pressed pressed:text-interactive-subtle-warning-on-pressed",
|
|
49
|
-
"disabled:bg-interactive-subtle-warning-disabled disabled:text-interactive-subtle-warning-on-disabled",
|
|
50
|
-
"focus-visible:outline-interactive-contained-primary-focus"
|
|
51
|
-
],
|
|
52
|
-
error: [
|
|
53
|
-
"bg-interactive-subtle-error-idle text-interactive-subtle-error-on-idle",
|
|
54
|
-
"hover:bg-interactive-subtle-error-hover hover:text-interactive-subtle-error-on-hover",
|
|
55
|
-
"pressed:bg-interactive-subtle-error-pressed pressed:text-interactive-subtle-error-on-pressed",
|
|
56
|
-
"disabled:bg-interactive-subtle-error-disabled disabled:text-interactive-subtle-error-on-disabled",
|
|
57
|
-
"focus-visible:outline-interactive-contained-primary-focus"
|
|
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(20);
|
|
67
|
-
const { className, children, dismissible, dismissable, isDisabled, disabled, onRemove, onDismiss, dismissButtonProps, excludeFromTabOrder, onPress, contentRef, textVariant: textVariantProp, textSize: textSizeProp, ...appearanceProps } = t0;
|
|
68
|
-
const uiConfig = UIConfig.useConfig();
|
|
69
|
-
const textVariant = textVariantProp ?? uiConfig.tag.textVariant;
|
|
70
|
-
const textSize = textSizeProp ?? uiConfig.tag.textSize;
|
|
71
|
-
const isDismissible = dismissible ?? dismissable ?? false;
|
|
72
|
-
const resolvedIsDisabled = isDisabled ?? disabled;
|
|
73
|
-
const tagCva = UIOverrides.useCva("tag.cva", tagDefinition);
|
|
74
|
-
const { t } = useTranslation("ui");
|
|
75
|
-
const t1 = onRemove ?? onDismiss ?? onPress;
|
|
76
|
-
let t2;
|
|
77
|
-
if ($[0] !== t) {
|
|
78
|
-
t2 = t(_temp);
|
|
79
|
-
$[0] = t;
|
|
80
|
-
$[1] = t2;
|
|
81
|
-
} else t2 = $[1];
|
|
82
|
-
let t3;
|
|
83
|
-
if ($[2] !== dismissButtonProps || $[3] !== excludeFromTabOrder || $[4] !== resolvedIsDisabled || $[5] !== t1 || $[6] !== t2) {
|
|
84
|
-
t3 = {
|
|
85
|
-
...dismissButtonProps,
|
|
86
|
-
excludeFromTabOrder,
|
|
87
|
-
isDisabled: resolvedIsDisabled,
|
|
88
|
-
onPress: t1,
|
|
89
|
-
"aria-label": t2
|
|
90
|
-
};
|
|
91
|
-
$[2] = dismissButtonProps;
|
|
92
|
-
$[3] = excludeFromTabOrder;
|
|
93
|
-
$[4] = resolvedIsDisabled;
|
|
94
|
-
$[5] = t1;
|
|
95
|
-
$[6] = t2;
|
|
96
|
-
$[7] = t3;
|
|
97
|
-
} else t3 = $[7];
|
|
98
|
-
const buttonProps = t3;
|
|
99
|
-
const t4 = tagCva({
|
|
100
|
-
...appearanceProps,
|
|
101
|
-
className: clsx("pointer-events-none", className)
|
|
102
|
-
});
|
|
103
|
-
const t5 = contentRef;
|
|
104
|
-
let t6;
|
|
105
|
-
if ($[8] !== children || $[9] !== t5 || $[10] !== textSize || $[11] !== textVariant) {
|
|
106
|
-
t6 = /* @__PURE__ */ jsx(Typography, {
|
|
107
|
-
ref: t5,
|
|
108
|
-
variant: textVariant,
|
|
109
|
-
size: textSize,
|
|
110
|
-
as: "span",
|
|
111
|
-
className: "truncate",
|
|
112
|
-
children
|
|
113
|
-
});
|
|
114
|
-
$[8] = children;
|
|
115
|
-
$[9] = t5;
|
|
116
|
-
$[10] = textSize;
|
|
117
|
-
$[11] = textVariant;
|
|
118
|
-
$[12] = t6;
|
|
119
|
-
} else t6 = $[12];
|
|
120
|
-
let t7;
|
|
121
|
-
if ($[13] !== buttonProps || $[14] !== isDismissible) {
|
|
122
|
-
t7 = isDismissible && /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
123
|
-
...buttonProps,
|
|
124
|
-
className: "pointer-events-auto shrink-0",
|
|
125
|
-
children: /* @__PURE__ */ jsx(X, { className: "size-4" })
|
|
126
|
-
});
|
|
127
|
-
$[13] = buttonProps;
|
|
128
|
-
$[14] = isDismissible;
|
|
129
|
-
$[15] = t7;
|
|
130
|
-
} else t7 = $[15];
|
|
131
|
-
let t8;
|
|
132
|
-
if ($[16] !== t4 || $[17] !== t6 || $[18] !== t7) {
|
|
133
|
-
t8 = /* @__PURE__ */ jsxs("div", {
|
|
134
|
-
className: t4,
|
|
135
|
-
children: [t6, t7]
|
|
136
|
-
});
|
|
137
|
-
$[16] = t4;
|
|
138
|
-
$[17] = t6;
|
|
139
|
-
$[18] = t7;
|
|
140
|
-
$[19] = t8;
|
|
141
|
-
} else t8 = $[19];
|
|
142
|
-
return t8;
|
|
143
|
-
};
|
|
144
|
-
function _temp($) {
|
|
145
|
-
return $.ui.tag.dismiss;
|
|
146
|
-
}
|
|
147
|
-
//#endregion
|
|
148
|
-
export { tagDefinition as n, Tag as t };
|
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
|
-
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
3
|
-
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
4
|
-
//#region src/components/inputs/shared/input.cva.ts
|
|
5
|
-
const inputBaseDefinition = UIOverrides.defineConfig({
|
|
6
|
-
base: [uiOutlineClass, "flex w-full not-[textarea]:truncate"],
|
|
7
|
-
config: {
|
|
8
|
-
variants: {
|
|
9
|
-
variant: {
|
|
10
|
-
outlined: "",
|
|
11
|
-
filled: ""
|
|
12
|
-
},
|
|
13
|
-
as: {
|
|
14
|
-
default: "rounded-input-rounding-default",
|
|
15
|
-
floating: "rounded-input-rounding-default",
|
|
16
|
-
filter: "rounded-input-rounding-default",
|
|
17
|
-
inline: [
|
|
18
|
-
"h-full",
|
|
19
|
-
"border-transparent border-b-0 bg-transparent text-text-default-1",
|
|
20
|
-
"hover:border-input-outlined-outline-hover",
|
|
21
|
-
"focus-within:border-input-outlined-outline-active",
|
|
22
|
-
"invalid:border-input-outlined-outline-error",
|
|
23
|
-
"has-invalid:border-input-outlined-outline-error",
|
|
24
|
-
"disabled:hover:border-transparent",
|
|
25
|
-
"has-disabled:hover:border-transparent"
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
compoundVariants: [
|
|
30
|
-
{
|
|
31
|
-
variant: "outlined",
|
|
32
|
-
as: "default",
|
|
33
|
-
className: [
|
|
34
|
-
"border border-input-outlined-outline-idle border-solid bg-input-outlined-idle text-text-default-1",
|
|
35
|
-
"hover:border-input-outlined-outline-hover hover:border-solid hover:bg-input-outlined-hover hover:text-text-default-1",
|
|
36
|
-
"focus-within:border-input-outlined-outline-active focus-within:border-solid focus-within:bg-input-outlined-active focus-within:text-text-default-1",
|
|
37
|
-
"invalid:border-input-outlined-outline-error invalid:border-solid invalid:bg-input-outlined-error invalid:text-text-default-1",
|
|
38
|
-
"has-invalid:border-input-outlined-outline-error has-invalid:border-solid has-invalid:bg-input-outlined-error has-invalid:text-text-default-1",
|
|
39
|
-
"disabled:border-input-outlined-outline-disabled disabled:border-solid disabled:bg-input-outlined-disabled disabled:text-text-default-3",
|
|
40
|
-
"has-disabled:border-input-outlined-outline-disabled has-disabled:border-solid has-disabled:bg-input-outlined-disabled has-disabled:text-text-default-3",
|
|
41
|
-
"placeholder:text-text-default-3",
|
|
42
|
-
"disabled:placeholder:text-interactive-text-secondary-disabled",
|
|
43
|
-
"has-disabled:placeholder:text-interactive-text-secondary-disabled",
|
|
44
|
-
"focus-visible:outline-interactive-contained-primary-focus",
|
|
45
|
-
"has-focus-visible:outline-interactive-contained-primary-focus"
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
variant: "filled",
|
|
50
|
-
as: "default",
|
|
51
|
-
className: [
|
|
52
|
-
"border border-transparent border-solid bg-input-filled-idle text-text-default-1",
|
|
53
|
-
"hover:border-input-filled-outline-hover hover:border-solid hover:bg-input-filled-hover hover:text-text-default-1",
|
|
54
|
-
"focus-within:border-input-filled-outline-active focus-within:border-solid focus-within:bg-input-filled-active focus-within:text-text-default-1",
|
|
55
|
-
"invalid:border-input-filled-outline-error invalid:border-solid invalid:bg-input-filled-error invalid:text-text-default-1",
|
|
56
|
-
"has-invalid:border-input-filled-outline-error has-invalid:border-solid has-invalid:bg-input-filled-error has-invalid:text-text-default-1",
|
|
57
|
-
"disabled:bg-input-filled-disabled disabled:text-text-default-3",
|
|
58
|
-
"has-disabled:bg-input-filled-disabled has-disabled:text-text-default-3",
|
|
59
|
-
"placeholder:text-text-default-3",
|
|
60
|
-
"disabled:placeholder:text-interactive-text-secondary-disabled",
|
|
61
|
-
"has-disabled:placeholder:text-interactive-text-secondary-disabled",
|
|
62
|
-
"focus-visible:outline-interactive-contained-primary-focus",
|
|
63
|
-
"has-focus-visible:outline-interactive-contained-primary-focus"
|
|
64
|
-
]
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
variant: "outlined",
|
|
68
|
-
as: "floating",
|
|
69
|
-
className: [
|
|
70
|
-
"border border-input-outlined-outline-idle border-solid bg-input-outlined-idle text-text-default-1",
|
|
71
|
-
"hover:border-input-outlined-outline-hover hover:border-solid hover:bg-input-outlined-hover hover:text-text-default-1",
|
|
72
|
-
"focus-within:border-input-outlined-outline-active focus-within:border-solid focus-within:bg-input-outlined-active focus-within:text-text-default-1",
|
|
73
|
-
"invalid:border-input-outlined-outline-error invalid:border-solid invalid:bg-input-outlined-error invalid:text-text-default-1",
|
|
74
|
-
"has-invalid:border-input-outlined-outline-error has-invalid:border-solid has-invalid:bg-input-outlined-error has-invalid:text-text-default-1",
|
|
75
|
-
"disabled:border-input-outlined-outline-disabled disabled:border-solid disabled:bg-input-outlined-disabled disabled:text-text-default-3",
|
|
76
|
-
"has-disabled:border-input-outlined-outline-disabled has-disabled:border-solid has-disabled:bg-input-outlined-disabled has-disabled:text-text-default-3",
|
|
77
|
-
"placeholder:text-text-default-3",
|
|
78
|
-
"disabled:placeholder:text-interactive-text-secondary-disabled",
|
|
79
|
-
"has-disabled:placeholder:text-interactive-text-secondary-disabled",
|
|
80
|
-
"focus-visible:outline-interactive-contained-primary-focus",
|
|
81
|
-
"has-focus-visible:outline-interactive-contained-primary-focus"
|
|
82
|
-
]
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
variant: "filled",
|
|
86
|
-
as: "floating",
|
|
87
|
-
className: [
|
|
88
|
-
"border border-transparent border-solid bg-input-filled-idle text-text-default-1",
|
|
89
|
-
"hover:border-input-filled-outline-hover hover:border-solid hover:bg-input-filled-hover hover:text-text-default-1",
|
|
90
|
-
"focus-within:border-input-outlined-outline-active focus-within:border-solid focus-within:bg-input-outlined-idle focus-within:text-text-default-1",
|
|
91
|
-
"invalid:border-input-filled-outline-error invalid:border-solid invalid:bg-input-filled-error invalid:text-text-default-1",
|
|
92
|
-
"has-invalid:border-input-filled-outline-error has-invalid:border-solid has-invalid:bg-input-filled-error has-invalid:text-text-default-1",
|
|
93
|
-
"disabled:bg-input-filled-disabled disabled:text-text-default-3",
|
|
94
|
-
"has-disabled:bg-input-filled-disabled has-disabled:text-text-default-3",
|
|
95
|
-
"placeholder:text-text-default-3",
|
|
96
|
-
"disabled:placeholder:text-interactive-text-secondary-disabled",
|
|
97
|
-
"has-disabled:placeholder:text-interactive-text-secondary-disabled",
|
|
98
|
-
"focus-visible:outline-interactive-contained-primary-focus",
|
|
99
|
-
"has-focus-visible:outline-interactive-contained-primary-focus"
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
variant: "outlined",
|
|
104
|
-
as: "filter",
|
|
105
|
-
className: [
|
|
106
|
-
"border border-input-outlined-outline-idle border-solid bg-input-outlined-idle text-text-default-1",
|
|
107
|
-
"hover:border-input-outlined-outline-hover hover:border-solid hover:bg-input-outlined-hover hover:text-text-default-1",
|
|
108
|
-
"focus-within:border-input-outlined-outline-active focus-within:border-solid focus-within:bg-input-outlined-active focus-within:text-text-default-1",
|
|
109
|
-
"invalid:border-input-outlined-outline-error invalid:border-solid invalid:bg-input-outlined-error invalid:text-text-default-1",
|
|
110
|
-
"has-invalid:border-input-outlined-outline-error has-invalid:border-solid has-invalid:bg-input-outlined-error has-invalid:text-text-default-1",
|
|
111
|
-
"disabled:border-input-outlined-outline-disabled disabled:border-solid disabled:bg-input-outlined-disabled disabled:text-text-default-3",
|
|
112
|
-
"has-disabled:border-input-outlined-outline-disabled has-disabled:border-solid has-disabled:bg-input-outlined-disabled has-disabled:text-text-default-3",
|
|
113
|
-
"placeholder:text-text-default-3",
|
|
114
|
-
"disabled:placeholder:text-interactive-text-secondary-disabled",
|
|
115
|
-
"has-disabled:placeholder:text-interactive-text-secondary-disabled",
|
|
116
|
-
"focus-visible:outline-interactive-contained-primary-focus",
|
|
117
|
-
"has-focus-visible:outline-interactive-contained-primary-focus"
|
|
118
|
-
]
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
variant: "filled",
|
|
122
|
-
as: "filter",
|
|
123
|
-
className: [
|
|
124
|
-
"border border-transparent border-solid bg-input-filled-idle text-text-default-1",
|
|
125
|
-
"hover:border-input-filled-outline-hover hover:border-solid hover:bg-input-filled-hover hover:text-text-default-1",
|
|
126
|
-
"focus-within:border-input-filled-outline-active focus-within:border-solid focus-within:bg-input-filled-active focus-within:text-text-default-1",
|
|
127
|
-
"has-invalid:border-input-filled-outline-error has-invalid:border-solid has-invalid:bg-input-filled-error has-invalid:text-text-default-1",
|
|
128
|
-
"invalid:border-input-filled-outline-error invalid:border-solid invalid:bg-input-filled-error invalid:text-text-default-1",
|
|
129
|
-
"disabled:bg-input-filled-disabled disabled:text-text-default-1",
|
|
130
|
-
"has-disabled:bg-input-filled-disabled has-disabled:text-text-default-1",
|
|
131
|
-
"placeholder:text-text-default-3",
|
|
132
|
-
"disabled:placeholder:text-interactive-text-secondary-disabled",
|
|
133
|
-
"has-disabled:placeholder:text-interactive-text-secondary-disabled",
|
|
134
|
-
"focus-visible:outline-interactive-contained-primary-focus",
|
|
135
|
-
"has-focus-visible:outline-interactive-contained-primary-focus"
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
defaultVariants: {
|
|
140
|
-
variant: "outlined",
|
|
141
|
-
as: "default"
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
const inputSizeDefinition = UIOverrides.defineConfig({
|
|
146
|
-
base: [""],
|
|
147
|
-
config: {
|
|
148
|
-
variants: {
|
|
149
|
-
size: {
|
|
150
|
-
"extra-small": "text-label-1",
|
|
151
|
-
small: "text-label-1",
|
|
152
|
-
default: "text-label-1",
|
|
153
|
-
large: "text-label-1"
|
|
154
|
-
},
|
|
155
|
-
as: {
|
|
156
|
-
default: "",
|
|
157
|
-
floating: [
|
|
158
|
-
"px-input-side-m",
|
|
159
|
-
"py-floating-label-input-height-empty",
|
|
160
|
-
"input-filled:pb-[calc(var(--spacing-floating-label-input-height-filled)+var(--spacing-floating-label-input-offset-bottom))]",
|
|
161
|
-
"input-filled:pt-[calc(var(--spacing-floating-label-input-height-filled)+var(--spacing-floating-label-input-offset-top)+var(--text-label-3--line-height)*var(--text-label-3))]"
|
|
162
|
-
],
|
|
163
|
-
filter: "",
|
|
164
|
-
inline: ""
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
compoundVariants: [
|
|
168
|
-
{
|
|
169
|
-
as: [
|
|
170
|
-
"default",
|
|
171
|
-
"filter",
|
|
172
|
-
"inline"
|
|
173
|
-
],
|
|
174
|
-
size: "extra-small",
|
|
175
|
-
className: "px-input-side-xs py-input-height-xs"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
as: [
|
|
179
|
-
"default",
|
|
180
|
-
"filter",
|
|
181
|
-
"inline"
|
|
182
|
-
],
|
|
183
|
-
size: "small",
|
|
184
|
-
className: "px-input-side-s py-input-height-s"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
as: [
|
|
188
|
-
"default",
|
|
189
|
-
"filter",
|
|
190
|
-
"inline"
|
|
191
|
-
],
|
|
192
|
-
size: "default",
|
|
193
|
-
className: "px-input-side-m py-input-height-m"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
as: [
|
|
197
|
-
"default",
|
|
198
|
-
"filter",
|
|
199
|
-
"inline"
|
|
200
|
-
],
|
|
201
|
-
size: "large",
|
|
202
|
-
className: "px-input-side-l py-input-height-l"
|
|
203
|
-
}
|
|
204
|
-
],
|
|
205
|
-
defaultVariants: {
|
|
206
|
-
size: "default",
|
|
207
|
-
as: "default"
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
});
|
|
211
|
-
const inputContentWrapperDefinition = UIOverrides.defineConfig({
|
|
212
|
-
base: ["flex min-w-0 w-full"],
|
|
213
|
-
config: {
|
|
214
|
-
variants: { as: {
|
|
215
|
-
default: "",
|
|
216
|
-
floating: "flex-col",
|
|
217
|
-
filter: "gap-input-gap-input-text-to-elements",
|
|
218
|
-
inline: ""
|
|
219
|
-
} },
|
|
220
|
-
defaultVariants: { as: "default" }
|
|
221
|
-
}
|
|
222
|
-
});
|
|
223
|
-
const inputClearClassDefinition = UIOverrides.defineConfig({
|
|
224
|
-
base: [""],
|
|
225
|
-
config: {
|
|
226
|
-
variants: { as: {
|
|
227
|
-
default: "",
|
|
228
|
-
floating: "",
|
|
229
|
-
filter: "",
|
|
230
|
-
inline: ""
|
|
231
|
-
} },
|
|
232
|
-
defaultVariants: { as: "default" }
|
|
233
|
-
}
|
|
234
|
-
});
|
|
235
|
-
const inputSideDefinition = UIOverrides.defineConfig({
|
|
236
|
-
base: [""],
|
|
237
|
-
config: {
|
|
238
|
-
variants: {
|
|
239
|
-
size: {
|
|
240
|
-
"extra-small": "",
|
|
241
|
-
small: "",
|
|
242
|
-
default: "",
|
|
243
|
-
large: ""
|
|
244
|
-
},
|
|
245
|
-
type: {
|
|
246
|
-
left: "",
|
|
247
|
-
right: "",
|
|
248
|
-
var: ""
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
compoundVariants: [
|
|
252
|
-
{
|
|
253
|
-
type: "left",
|
|
254
|
-
size: "extra-small",
|
|
255
|
-
className: "left-input-side-xs"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
type: "right",
|
|
259
|
-
size: "extra-small",
|
|
260
|
-
className: "right-input-side-xs"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
type: "var",
|
|
264
|
-
size: "extra-small",
|
|
265
|
-
className: "--spacing-input-side-xs"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
type: "left",
|
|
269
|
-
size: "small",
|
|
270
|
-
className: "left-input-side-s"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
type: "right",
|
|
274
|
-
size: "small",
|
|
275
|
-
className: "right-input-side-s"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
type: "var",
|
|
279
|
-
size: "small",
|
|
280
|
-
className: "--spacing-input-side-s"
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
type: "left",
|
|
284
|
-
size: "default",
|
|
285
|
-
className: "left-input-side-m"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
type: "right",
|
|
289
|
-
size: "default",
|
|
290
|
-
className: "right-input-side-m"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
type: "var",
|
|
294
|
-
size: "default",
|
|
295
|
-
className: "--spacing-input-side-m"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
type: "left",
|
|
299
|
-
size: "large",
|
|
300
|
-
className: "left-input-side-l"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
type: "right",
|
|
304
|
-
size: "large",
|
|
305
|
-
className: "right-input-side-l"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
type: "var",
|
|
309
|
-
size: "large",
|
|
310
|
-
className: "--spacing-input-side-l"
|
|
311
|
-
}
|
|
312
|
-
],
|
|
313
|
-
defaultVariants: { size: "default" }
|
|
314
|
-
}
|
|
315
|
-
});
|
|
316
|
-
const useInputCva = () => {
|
|
317
|
-
const inputBaseCva = UIOverrides.useCva("input.baseCva", inputBaseDefinition);
|
|
318
|
-
const inputSizeCva = UIOverrides.useCva("input.sizeCva", inputSizeDefinition);
|
|
319
|
-
return ({ className, ...rest }) => {
|
|
320
|
-
return clsx(inputBaseCva(rest), inputSizeCva(rest), className);
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
//#endregion
|
|
324
|
-
export { inputSizeDefinition as a, inputSideDefinition as i, inputClearClassDefinition as n, useInputCva as o, inputContentWrapperDefinition as r, inputBaseDefinition as t };
|