@fuf-stack/uniform 1.10.3 → 1.11.0
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/dist/Checkboxes/index.cjs +4 -18
- package/dist/Checkboxes/index.d.cts +2 -11
- package/dist/Checkboxes/index.d.ts +2 -11
- package/dist/Checkboxes/index.js +3 -19
- package/dist/Checkboxes-CGWhnpBp.js +115 -0
- package/dist/Checkboxes-CGWhnpBp.js.map +1 -0
- package/dist/Checkboxes-Ds6bzl6p.cjs +127 -0
- package/dist/Checkboxes-Ds6bzl6p.cjs.map +1 -0
- package/dist/FieldArray/index.cjs +4 -21
- package/dist/FieldArray/index.d.cts +2 -10
- package/dist/FieldArray/index.d.ts +2 -10
- package/dist/FieldArray/index.js +3 -22
- package/dist/FieldArray-BexXN9bO.cjs +515 -0
- package/dist/FieldArray-BexXN9bO.cjs.map +1 -0
- package/dist/FieldArray-D3iUaRLo.js +503 -0
- package/dist/FieldArray-D3iUaRLo.js.map +1 -0
- package/dist/FieldCard/index.cjs +3 -18
- package/dist/FieldCard/index.d.cts +2 -97
- package/dist/FieldCard/index.d.ts +2 -97
- package/dist/FieldCard/index.js +3 -19
- package/dist/FieldCard-mpmErfDK.js +121 -0
- package/dist/FieldCard-mpmErfDK.js.map +1 -0
- package/dist/FieldCard-pP7aniZU.cjs +133 -0
- package/dist/FieldCard-pP7aniZU.cjs.map +1 -0
- package/dist/FieldCopyTestIdButton-AaLwu_8y.cjs +41 -0
- package/dist/FieldCopyTestIdButton-AaLwu_8y.cjs.map +1 -0
- package/dist/FieldCopyTestIdButton-Cx8AXJhO.js +29 -0
- package/dist/FieldCopyTestIdButton-Cx8AXJhO.js.map +1 -0
- package/dist/FieldValidationError-Cq6aI0tE.cjs +65 -0
- package/dist/FieldValidationError-Cq6aI0tE.cjs.map +1 -0
- package/dist/FieldValidationError-D86DPSOH.js +53 -0
- package/dist/FieldValidationError-D86DPSOH.js.map +1 -0
- package/dist/Form/index.cjs +4 -13
- package/dist/Form/index.d.cts +2 -11
- package/dist/Form/index.d.ts +3 -11
- package/dist/Form/index.js +3 -14
- package/dist/Form-CFmCTl60.js +119 -0
- package/dist/Form-CFmCTl60.js.map +1 -0
- package/dist/Form-FvN3SXfF.cjs +130 -0
- package/dist/Form-FvN3SXfF.cjs.map +1 -0
- package/dist/FormContext-C2_WMi_v.d.ts +18 -0
- package/dist/FormContext-C2_WMi_v.d.ts.map +1 -0
- package/dist/FormContext-C3GymQOA.cjs +275 -0
- package/dist/FormContext-C3GymQOA.cjs.map +1 -0
- package/dist/FormContext-CN9n_KdE.js +229 -0
- package/dist/FormContext-CN9n_KdE.js.map +1 -0
- package/dist/FormContext-Dl7KL_wl.d.cts +18 -0
- package/dist/FormContext-Dl7KL_wl.d.cts.map +1 -0
- package/dist/Grid/index.cjs +4 -9
- package/dist/Grid/index.d.cts +2 -8
- package/dist/Grid/index.d.ts +2 -8
- package/dist/Grid/index.js +3 -10
- package/dist/Grid-DEH7Sezi.js +23 -0
- package/dist/Grid-DEH7Sezi.js.map +1 -0
- package/dist/Grid-DG60vYYG.cjs +35 -0
- package/dist/Grid-DG60vYYG.cjs.map +1 -0
- package/dist/Input/index.cjs +4 -19
- package/dist/Input/index.d.cts +2 -11
- package/dist/Input/index.d.ts +2 -11
- package/dist/Input/index.js +3 -20
- package/dist/Input--h5t7Sbl.js +94 -0
- package/dist/Input--h5t7Sbl.js.map +1 -0
- package/dist/Input-DKfFFOpo.cjs +106 -0
- package/dist/Input-DKfFFOpo.cjs.map +1 -0
- package/dist/RadioBoxes/index.cjs +5 -20
- package/dist/RadioBoxes/index.d.cts +2 -10
- package/dist/RadioBoxes/index.d.ts +2 -10
- package/dist/RadioBoxes/index.js +3 -21
- package/dist/RadioBoxes-7qdHj3ti.js +138 -0
- package/dist/RadioBoxes-7qdHj3ti.js.map +1 -0
- package/dist/RadioBoxes-Bd9ahl4i.cjs +156 -0
- package/dist/RadioBoxes-Bd9ahl4i.cjs.map +1 -0
- package/dist/RadioTabs/index.cjs +4 -18
- package/dist/RadioTabs/index.d.cts +2 -10
- package/dist/RadioTabs/index.d.ts +2 -10
- package/dist/RadioTabs/index.js +3 -19
- package/dist/RadioTabs-DXs98jng.js +119 -0
- package/dist/RadioTabs-DXs98jng.js.map +1 -0
- package/dist/RadioTabs-DcEUdW7r.cjs +132 -0
- package/dist/RadioTabs-DcEUdW7r.cjs.map +1 -0
- package/dist/Radios/index.cjs +4 -18
- package/dist/Radios/index.d.cts +2 -9
- package/dist/Radios/index.d.ts +2 -9
- package/dist/Radios/index.js +3 -19
- package/dist/Radios-BIx06mzU.js +75 -0
- package/dist/Radios-BIx06mzU.js.map +1 -0
- package/dist/Radios-CIPNqPzi.cjs +87 -0
- package/dist/Radios-CIPNqPzi.cjs.map +1 -0
- package/dist/Select/index.cjs +4 -19
- package/dist/Select/index.d.cts +2 -11
- package/dist/Select/index.d.ts +2 -11
- package/dist/Select/index.js +3 -20
- package/dist/Select-BsL7qn2v.cjs +246 -0
- package/dist/Select-BsL7qn2v.cjs.map +1 -0
- package/dist/Select-CBjqYDcs.js +233 -0
- package/dist/Select-CBjqYDcs.js.map +1 -0
- package/dist/Slider/index.cjs +4 -18
- package/dist/Slider/index.d.cts +2 -10
- package/dist/Slider/index.d.ts +2 -10
- package/dist/Slider/index.js +3 -19
- package/dist/Slider-BDLbD7d5.cjs +123 -0
- package/dist/Slider-BDLbD7d5.cjs.map +1 -0
- package/dist/Slider-BHjHSoIk.js +111 -0
- package/dist/Slider-BHjHSoIk.js.map +1 -0
- package/dist/SubmitButton/index.cjs +4 -13
- package/dist/SubmitButton/index.d.cts +2 -9
- package/dist/SubmitButton/index.d.ts +2 -9
- package/dist/SubmitButton/index.js +3 -14
- package/dist/SubmitButton-7iOaKzhB.js +34 -0
- package/dist/SubmitButton-7iOaKzhB.js.map +1 -0
- package/dist/SubmitButton-DhtPJuro.cjs +46 -0
- package/dist/SubmitButton-DhtPJuro.cjs.map +1 -0
- package/dist/Switch/index.cjs +4 -18
- package/dist/Switch/index.d.cts +2 -11
- package/dist/Switch/index.d.ts +2 -11
- package/dist/Switch/index.js +3 -19
- package/dist/Switch-DCxAgt_L.js +84 -0
- package/dist/Switch-DCxAgt_L.js.map +1 -0
- package/dist/Switch-Dczzog3v.cjs +96 -0
- package/dist/Switch-Dczzog3v.cjs.map +1 -0
- package/dist/SwitchBox/index.cjs +5 -20
- package/dist/SwitchBox/index.d.cts +2 -11
- package/dist/SwitchBox/index.d.ts +2 -11
- package/dist/SwitchBox/index.js +3 -21
- package/dist/SwitchBox-DPHryDOM.js +156 -0
- package/dist/SwitchBox-DPHryDOM.js.map +1 -0
- package/dist/SwitchBox-DqVmZYId.cjs +174 -0
- package/dist/SwitchBox-DqVmZYId.cjs.map +1 -0
- package/dist/TextArea/index.cjs +4 -19
- package/dist/TextArea/index.d.cts +2 -10
- package/dist/TextArea/index.d.ts +2 -10
- package/dist/TextArea/index.js +3 -20
- package/dist/TextArea-BR6e-Fio.js +64 -0
- package/dist/TextArea-BR6e-Fio.js.map +1 -0
- package/dist/TextArea-CH-F6_ax.cjs +76 -0
- package/dist/TextArea-CH-F6_ax.cjs.map +1 -0
- package/dist/helpers/index.cjs +8 -18
- package/dist/helpers/index.d.cts +2 -132
- package/dist/helpers/index.d.ts +2 -132
- package/dist/helpers/index.js +3 -18
- package/dist/helpers-B-CJOBt3.js +236 -0
- package/dist/helpers-B-CJOBt3.js.map +1 -0
- package/dist/helpers-KTgXi0lA.cjs +272 -0
- package/dist/helpers-KTgXi0lA.cjs.map +1 -0
- package/dist/hooks/useClientValidation/index.cjs +6 -10
- package/dist/hooks/useClientValidation/index.cjs.map +1 -1
- package/dist/hooks/useClientValidation/index.d.cts +2 -147
- package/dist/hooks/useClientValidation/index.d.ts +2 -147
- package/dist/hooks/useClientValidation/index.js +7 -12
- package/dist/hooks/useClientValidation/index.js.map +1 -1
- package/dist/hooks/useController/index.cjs +5 -7
- package/dist/hooks/useController/index.cjs.map +1 -1
- package/dist/hooks/useController/index.d.cts +2 -29
- package/dist/hooks/useController/index.d.ts +3 -29
- package/dist/hooks/useController/index.js +7 -9
- package/dist/hooks/useController/index.js.map +1 -1
- package/dist/hooks/useFormContext/index.cjs +3 -12
- package/dist/hooks/useFormContext/index.d.cts +2 -62
- package/dist/hooks/useFormContext/index.d.ts +4 -62
- package/dist/hooks/useFormContext/index.js +3 -13
- package/dist/hooks/useInput/index.cjs +11 -5
- package/dist/hooks/useInput/index.cjs.map +1 -1
- package/dist/hooks/useInput/index.d.cts +2 -1
- package/dist/hooks/useInput/index.d.ts +2 -1
- package/dist/hooks/useInput/index.js +7 -7
- package/dist/hooks/useInput/index.js.map +1 -1
- package/dist/hooks/useInputValueDebounce/index.cjs +2 -7
- package/dist/hooks/useInputValueDebounce/index.d.cts +2 -55
- package/dist/hooks/useInputValueDebounce/index.d.ts +2 -55
- package/dist/hooks/useInputValueDebounce/index.js +3 -8
- package/dist/hooks/useInputValueTransform/index.cjs +5 -5
- package/dist/hooks/useInputValueTransform/index.cjs.map +1 -1
- package/dist/hooks/useInputValueTransform/index.d.cts +2 -102
- package/dist/hooks/useInputValueTransform/index.d.ts +2 -102
- package/dist/hooks/useInputValueTransform/index.js +7 -7
- package/dist/hooks/useInputValueTransform/index.js.map +1 -1
- package/dist/hooks/useUniformField/index.cjs +2 -15
- package/dist/hooks/useUniformField/index.d.cts +2 -98
- package/dist/hooks/useUniformField/index.d.ts +6 -98
- package/dist/hooks/useUniformField/index.js +3 -16
- package/dist/hooks/useUniformFieldArray/index.cjs +2 -17
- package/dist/hooks/useUniformFieldArray/index.d.cts +2 -71
- package/dist/hooks/useUniformFieldArray/index.d.ts +7 -71
- package/dist/hooks/useUniformFieldArray/index.js +3 -18
- package/dist/hooks/useWatchUserChange/index.cjs +5 -8
- package/dist/hooks/useWatchUserChange/index.cjs.map +1 -1
- package/dist/hooks/useWatchUserChange/index.d.cts +2 -73
- package/dist/hooks/useWatchUserChange/index.d.ts +2 -73
- package/dist/hooks/useWatchUserChange/index.js +7 -10
- package/dist/hooks/useWatchUserChange/index.js.map +1 -1
- package/dist/index-1gPh6Uoh.d.cts +16 -0
- package/dist/index-1gPh6Uoh.d.cts.map +1 -0
- package/dist/index-B3Z8gdjC.d.ts +1 -0
- package/dist/index-B4Wkijem.d.ts +169 -0
- package/dist/index-B4Wkijem.d.ts.map +1 -0
- package/dist/index-B74QlCAy.d.cts +169 -0
- package/dist/index-B74QlCAy.d.cts.map +1 -0
- package/dist/index-BLREDRDJ.d.cts +1 -0
- package/dist/index-BM4XWo1K.d.ts +118 -0
- package/dist/index-BM4XWo1K.d.ts.map +1 -0
- package/dist/index-BMN2XNyT.d.cts +23 -0
- package/dist/index-BMN2XNyT.d.cts.map +1 -0
- package/dist/index-BOI0cy-n.d.cts +118 -0
- package/dist/index-BOI0cy-n.d.cts.map +1 -0
- package/dist/index-BTEsKen4.d.ts +264 -0
- package/dist/index-BTEsKen4.d.ts.map +1 -0
- package/dist/index-BW9EUWZE.d.cts +23 -0
- package/dist/index-BW9EUWZE.d.cts.map +1 -0
- package/dist/index-BXpMZvwA.d.cts +1 -0
- package/dist/index-BYrmFhKl.d.ts +1 -0
- package/dist/index-BaBZGCqS.d.cts +177 -0
- package/dist/index-BaBZGCqS.d.cts.map +1 -0
- package/dist/index-C1fYmoY0.d.ts +123 -0
- package/dist/index-C1fYmoY0.d.ts.map +1 -0
- package/dist/index-C56I3SOi.d.cts +148 -0
- package/dist/index-C56I3SOi.d.cts.map +1 -0
- package/dist/index-CHmS3ri3.d.ts +16 -0
- package/dist/index-CHmS3ri3.d.ts.map +1 -0
- package/dist/index-CI9QBUoM.d.cts +97 -0
- package/dist/index-CI9QBUoM.d.cts.map +1 -0
- package/dist/index-CJNLQVjx.d.ts +1 -0
- package/dist/index-CO-l7RmT.d.cts +181 -0
- package/dist/index-CO-l7RmT.d.cts.map +1 -0
- package/dist/index-CQWoxgWk.d.ts +23 -0
- package/dist/index-CQWoxgWk.d.ts.map +1 -0
- package/dist/index-CVY05bZf.d.ts +39 -0
- package/dist/index-CVY05bZf.d.ts.map +1 -0
- package/dist/index-C_ATGeaX.d.ts +104 -0
- package/dist/index-C_ATGeaX.d.ts.map +1 -0
- package/dist/index-CbAh0Kfo.d.cts +39 -0
- package/dist/index-CbAh0Kfo.d.cts.map +1 -0
- package/dist/index-CqV2Q3da.d.cts +264 -0
- package/dist/index-CqV2Q3da.d.cts.map +1 -0
- package/dist/index-CraZe1qS.d.ts +97 -0
- package/dist/index-CraZe1qS.d.ts.map +1 -0
- package/dist/index-CvA5yKx9.d.ts +177 -0
- package/dist/index-CvA5yKx9.d.ts.map +1 -0
- package/dist/index-CwSIy_W-.d.cts +1 -0
- package/dist/index-CzypMcVS.d.cts +104 -0
- package/dist/index-CzypMcVS.d.cts.map +1 -0
- package/dist/index-D6RB3b5L.d.ts +148 -0
- package/dist/index-D6RB3b5L.d.ts.map +1 -0
- package/dist/index-DA5um0u6.d.cts +123 -0
- package/dist/index-DA5um0u6.d.cts.map +1 -0
- package/dist/index-DHHBSmJb.d.ts +23 -0
- package/dist/index-DHHBSmJb.d.ts.map +1 -0
- package/dist/index-DhMSgdwM.d.ts +156 -0
- package/dist/index-DhMSgdwM.d.ts.map +1 -0
- package/dist/index-Dklb-p_1.d.cts +156 -0
- package/dist/index-Dklb-p_1.d.cts.map +1 -0
- package/dist/index-DpD4MxGD.d.cts +177 -0
- package/dist/index-DpD4MxGD.d.cts.map +1 -0
- package/dist/index-Drl7euco.d.ts +115 -0
- package/dist/index-Drl7euco.d.ts.map +1 -0
- package/dist/index-DzuP5q-2.d.ts +181 -0
- package/dist/index-DzuP5q-2.d.ts.map +1 -0
- package/dist/index-G0IgQWoU.d.cts +134 -0
- package/dist/index-G0IgQWoU.d.cts.map +1 -0
- package/dist/index-RvYO46Vg.d.ts +178 -0
- package/dist/index-RvYO46Vg.d.ts.map +1 -0
- package/dist/index-UjKqRe-8.d.ts +134 -0
- package/dist/index-UjKqRe-8.d.ts.map +1 -0
- package/dist/index-aHcGnXHf.d.ts +44 -0
- package/dist/index-aHcGnXHf.d.ts.map +1 -0
- package/dist/index-iuLEYAix.d.cts +115 -0
- package/dist/index-iuLEYAix.d.cts.map +1 -0
- package/dist/index-jmQP58tO.d.cts +44 -0
- package/dist/index-jmQP58tO.d.cts.map +1 -0
- package/dist/index.cjs +75 -133
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -38
- package/dist/index.d.ts +31 -38
- package/dist/index.js +33 -133
- package/dist/index.js.map +1 -1
- package/dist/partials/FieldCopyTestIdButton/index.cjs +4 -9
- package/dist/partials/FieldCopyTestIdButton/index.d.cts +2 -7
- package/dist/partials/FieldCopyTestIdButton/index.d.ts +2 -7
- package/dist/partials/FieldCopyTestIdButton/index.js +3 -10
- package/dist/partials/FieldValidationError/index.cjs +4 -9
- package/dist/partials/FieldValidationError/index.d.cts +2 -8
- package/dist/partials/FieldValidationError/index.d.ts +2 -8
- package/dist/partials/FieldValidationError/index.js +3 -10
- package/dist/useClientValidation-BnnscAEe.js +179 -0
- package/dist/useClientValidation-BnnscAEe.js.map +1 -0
- package/dist/useClientValidation-C3Q5UCy9.d.cts +150 -0
- package/dist/useClientValidation-C3Q5UCy9.d.cts.map +1 -0
- package/dist/useClientValidation-CkBtUSco.d.ts +150 -0
- package/dist/useClientValidation-CkBtUSco.d.ts.map +1 -0
- package/dist/useClientValidation-oZd4_ocQ.cjs +191 -0
- package/dist/useClientValidation-oZd4_ocQ.cjs.map +1 -0
- package/dist/useController-BzkCcbSo.cjs +48 -0
- package/dist/useController-BzkCcbSo.cjs.map +1 -0
- package/dist/useController-C_MZLZIp.d.cts +31 -0
- package/dist/useController-C_MZLZIp.d.cts.map +1 -0
- package/dist/useController-CumIERks.js +43 -0
- package/dist/useController-CumIERks.js.map +1 -0
- package/dist/useController-hjpJQf0w.d.ts +31 -0
- package/dist/useController-hjpJQf0w.d.ts.map +1 -0
- package/dist/useFormContext-356X5XAY.js +6 -0
- package/dist/useFormContext-356X5XAY.js.map +1 -0
- package/dist/useFormContext-3AAPT6eZ.d.ts +64 -0
- package/dist/useFormContext-3AAPT6eZ.d.ts.map +1 -0
- package/dist/useFormContext-CWuN-_7P.cjs +134 -0
- package/dist/useFormContext-CWuN-_7P.cjs.map +1 -0
- package/dist/useFormContext-CZh7pv8f.d.cts +64 -0
- package/dist/useFormContext-CZh7pv8f.d.cts.map +1 -0
- package/dist/useFormContext-CkeSOfWD.cjs +6 -0
- package/dist/useFormContext-CkeSOfWD.cjs.map +1 -0
- package/dist/useFormContext-JCm1UR_e.js +123 -0
- package/dist/useFormContext-JCm1UR_e.js.map +1 -0
- package/dist/useInput-DZ6KGBxw.js +3 -0
- package/dist/useInput-IGJqJ2tR.d.ts +2 -0
- package/dist/useInput-NMHJNZ5A.d.cts +2 -0
- package/dist/useInputValueDebounce-B2RzCWty.d.cts +62 -0
- package/dist/useInputValueDebounce-B2RzCWty.d.cts.map +1 -0
- package/dist/useInputValueDebounce-C7_bvNGH.d.ts +62 -0
- package/dist/useInputValueDebounce-C7_bvNGH.d.ts.map +1 -0
- package/dist/useInputValueDebounce-DaH5ONlQ.js +84 -0
- package/dist/useInputValueDebounce-DaH5ONlQ.js.map +1 -0
- package/dist/useInputValueDebounce-tL8maIp8.cjs +90 -0
- package/dist/useInputValueDebounce-tL8maIp8.cjs.map +1 -0
- package/dist/useInputValueTransform-BID-CQ-y.d.cts +107 -0
- package/dist/useInputValueTransform-BID-CQ-y.d.cts.map +1 -0
- package/dist/useInputValueTransform-C-uSW8Y3.cjs +116 -0
- package/dist/useInputValueTransform-C-uSW8Y3.cjs.map +1 -0
- package/dist/useInputValueTransform-D7LfyYRe.d.ts +107 -0
- package/dist/useInputValueTransform-D7LfyYRe.d.ts.map +1 -0
- package/dist/useInputValueTransform-aiIf8lq5.js +110 -0
- package/dist/useInputValueTransform-aiIf8lq5.js.map +1 -0
- package/dist/useUniformField-BMvnRC_r.cjs +136 -0
- package/dist/useUniformField-BMvnRC_r.cjs.map +1 -0
- package/dist/useUniformField-Be3kdnhK.d.cts +98 -0
- package/dist/useUniformField-Be3kdnhK.d.cts.map +1 -0
- package/dist/useUniformField-ClprfrES.js +129 -0
- package/dist/useUniformField-ClprfrES.js.map +1 -0
- package/dist/useUniformField-DDHQ5B11.d.ts +98 -0
- package/dist/useUniformField-DDHQ5B11.d.ts.map +1 -0
- package/dist/useUniformFieldArray-BBFw08qL.d.cts +79 -0
- package/dist/useUniformFieldArray-BBFw08qL.d.cts.map +1 -0
- package/dist/useUniformFieldArray-BhPi3gPv.d.ts +79 -0
- package/dist/useUniformFieldArray-BhPi3gPv.d.ts.map +1 -0
- package/dist/useUniformFieldArray-C-0OXG3N.js +84 -0
- package/dist/useUniformFieldArray-C-0OXG3N.js.map +1 -0
- package/dist/useUniformFieldArray-btjvJdZ6.cjs +90 -0
- package/dist/useUniformFieldArray-btjvJdZ6.cjs.map +1 -0
- package/dist/useWatchUserChange-BAdiqg2q.d.ts +78 -0
- package/dist/useWatchUserChange-BAdiqg2q.d.ts.map +1 -0
- package/dist/useWatchUserChange-C1ezpj0t.js +83 -0
- package/dist/useWatchUserChange-C1ezpj0t.js.map +1 -0
- package/dist/useWatchUserChange-C5dr12By.cjs +89 -0
- package/dist/useWatchUserChange-C5dr12By.cjs.map +1 -0
- package/dist/useWatchUserChange-COVdHmki.d.cts +78 -0
- package/dist/useWatchUserChange-COVdHmki.d.cts.map +1 -0
- package/package.json +73 -100
- package/dist/Checkboxes/index.cjs.map +0 -1
- package/dist/Checkboxes/index.js.map +0 -1
- package/dist/Checkboxes-CBgO9itq.d.cts +0 -171
- package/dist/Checkboxes-CFbsc6zg.d.ts +0 -171
- package/dist/FieldArray/index.cjs.map +0 -1
- package/dist/FieldArray/index.js.map +0 -1
- package/dist/FieldArray-72vn2MG9.d.cts +0 -160
- package/dist/FieldArray-72vn2MG9.d.ts +0 -160
- package/dist/FieldCard/index.cjs.map +0 -1
- package/dist/FieldCard/index.js.map +0 -1
- package/dist/FieldCopyTestIdButton-_TDlmw0L.d.cts +0 -11
- package/dist/FieldCopyTestIdButton-_TDlmw0L.d.ts +0 -11
- package/dist/FieldValidationError-DwtLkGMo.d.cts +0 -17
- package/dist/FieldValidationError-DwtLkGMo.d.ts +0 -17
- package/dist/Form/index.cjs.map +0 -1
- package/dist/Form/index.js.map +0 -1
- package/dist/Form-BZZJPLsi.d.cts +0 -32
- package/dist/Form-zsUjI2yq.d.ts +0 -32
- package/dist/FormContext-9Firwt4k.d.cts +0 -14
- package/dist/FormContext-9Firwt4k.d.ts +0 -14
- package/dist/Grid/index.cjs.map +0 -1
- package/dist/Grid/index.js.map +0 -1
- package/dist/Grid-DF3L9NF3.d.cts +0 -17
- package/dist/Grid-DF3L9NF3.d.ts +0 -17
- package/dist/Input/index.cjs.map +0 -1
- package/dist/Input/index.js.map +0 -1
- package/dist/Input-BGYDOpbo.d.cts +0 -101
- package/dist/Input-__SqMh2n.d.ts +0 -101
- package/dist/RadioBox-DnqCiTR1.d.cts +0 -168
- package/dist/RadioBox-DnqCiTR1.d.ts +0 -168
- package/dist/RadioBoxes/index.cjs.map +0 -1
- package/dist/RadioBoxes/index.js.map +0 -1
- package/dist/RadioTabs/index.cjs.map +0 -1
- package/dist/RadioTabs/index.js.map +0 -1
- package/dist/RadioTabs-DkR5fvl4.d.cts +0 -138
- package/dist/RadioTabs-DkR5fvl4.d.ts +0 -138
- package/dist/Radios/index.cjs.map +0 -1
- package/dist/Radios/index.js.map +0 -1
- package/dist/Radios-lLVlvY_B.d.cts +0 -115
- package/dist/Radios-lLVlvY_B.d.ts +0 -115
- package/dist/Select/index.cjs.map +0 -1
- package/dist/Select/index.js.map +0 -1
- package/dist/Select-DWlnKj5c.d.cts +0 -249
- package/dist/Select-DWlnKj5c.d.ts +0 -249
- package/dist/Slider/index.cjs.map +0 -1
- package/dist/Slider/index.js.map +0 -1
- package/dist/Slider-CxHvafJA.d.cts +0 -155
- package/dist/Slider-CxHvafJA.d.ts +0 -155
- package/dist/SubmitButton/index.cjs.map +0 -1
- package/dist/SubmitButton/index.js.map +0 -1
- package/dist/SubmitButton-DqaxyVpp.d.cts +0 -28
- package/dist/SubmitButton-DqaxyVpp.d.ts +0 -28
- package/dist/Switch/index.cjs.map +0 -1
- package/dist/Switch/index.js.map +0 -1
- package/dist/Switch-B4AuHAMX.d.cts +0 -108
- package/dist/Switch-B4AuHAMX.d.ts +0 -108
- package/dist/SwitchBox/index.cjs.map +0 -1
- package/dist/SwitchBox/index.js.map +0 -1
- package/dist/SwitchBox-q1I7a0NX.d.cts +0 -146
- package/dist/SwitchBox-q1I7a0NX.d.ts +0 -146
- package/dist/TextArea/index.cjs.map +0 -1
- package/dist/TextArea/index.js.map +0 -1
- package/dist/TextArea-CYcFOcun.d.cts +0 -88
- package/dist/TextArea-CYcFOcun.d.ts +0 -88
- package/dist/chunk-264VRHMT.js +0 -105
- package/dist/chunk-264VRHMT.js.map +0 -1
- package/dist/chunk-26VE4IGU.js +0 -68
- package/dist/chunk-26VE4IGU.js.map +0 -1
- package/dist/chunk-2HDXHQOC.js +0 -215
- package/dist/chunk-2HDXHQOC.js.map +0 -1
- package/dist/chunk-2UQCRQEJ.cjs +0 -68
- package/dist/chunk-2UQCRQEJ.cjs.map +0 -1
- package/dist/chunk-36LBVB45.js +0 -1
- package/dist/chunk-36LBVB45.js.map +0 -1
- package/dist/chunk-3JAVQAL5.cjs +0 -1
- package/dist/chunk-3JAVQAL5.cjs.map +0 -1
- package/dist/chunk-3ZQXSGR2.cjs +0 -67
- package/dist/chunk-3ZQXSGR2.cjs.map +0 -1
- package/dist/chunk-4CQWTUQR.js +0 -292
- package/dist/chunk-4CQWTUQR.js.map +0 -1
- package/dist/chunk-4HFPBJ3O.cjs +0 -171
- package/dist/chunk-4HFPBJ3O.cjs.map +0 -1
- package/dist/chunk-4RQJCFM7.js +0 -154
- package/dist/chunk-4RQJCFM7.js.map +0 -1
- package/dist/chunk-555JRYCS.cjs +0 -61
- package/dist/chunk-555JRYCS.cjs.map +0 -1
- package/dist/chunk-55VJM3KD.cjs +0 -118
- package/dist/chunk-55VJM3KD.cjs.map +0 -1
- package/dist/chunk-56TQOKG7.cjs +0 -48
- package/dist/chunk-56TQOKG7.cjs.map +0 -1
- package/dist/chunk-5MTIQ6WD.js +0 -41
- package/dist/chunk-5MTIQ6WD.js.map +0 -1
- package/dist/chunk-6AWHOBNL.cjs +0 -41
- package/dist/chunk-6AWHOBNL.cjs.map +0 -1
- package/dist/chunk-6GN62PBG.cjs +0 -182
- package/dist/chunk-6GN62PBG.cjs.map +0 -1
- package/dist/chunk-7MOAXLQZ.js +0 -103
- package/dist/chunk-7MOAXLQZ.js.map +0 -1
- package/dist/chunk-7OMJ26AT.js +0 -165
- package/dist/chunk-7OMJ26AT.js.map +0 -1
- package/dist/chunk-7ZE7IZ5R.cjs +0 -103
- package/dist/chunk-7ZE7IZ5R.cjs.map +0 -1
- package/dist/chunk-AHJJIANM.js +0 -7
- package/dist/chunk-AHJJIANM.js.map +0 -1
- package/dist/chunk-AQJLKHAE.cjs +0 -277
- package/dist/chunk-AQJLKHAE.cjs.map +0 -1
- package/dist/chunk-B62HKKMS.js +0 -20
- package/dist/chunk-B62HKKMS.js.map +0 -1
- package/dist/chunk-C6WYP35Z.js +0 -219
- package/dist/chunk-C6WYP35Z.js.map +0 -1
- package/dist/chunk-CNTOODUQ.js +0 -48
- package/dist/chunk-CNTOODUQ.js.map +0 -1
- package/dist/chunk-ECUVOZGQ.cjs +0 -148
- package/dist/chunk-ECUVOZGQ.cjs.map +0 -1
- package/dist/chunk-ELYGQTXB.js +0 -47
- package/dist/chunk-ELYGQTXB.js.map +0 -1
- package/dist/chunk-EVASKP6Q.js +0 -148
- package/dist/chunk-EVASKP6Q.js.map +0 -1
- package/dist/chunk-FYN7ZWLW.cjs +0 -115
- package/dist/chunk-FYN7ZWLW.cjs.map +0 -1
- package/dist/chunk-GEC75GNL.js +0 -137
- package/dist/chunk-GEC75GNL.js.map +0 -1
- package/dist/chunk-HEPNEBRF.cjs +0 -26
- package/dist/chunk-HEPNEBRF.cjs.map +0 -1
- package/dist/chunk-IR75YRIZ.js +0 -171
- package/dist/chunk-IR75YRIZ.js.map +0 -1
- package/dist/chunk-IV45K4WU.js +0 -277
- package/dist/chunk-IV45K4WU.js.map +0 -1
- package/dist/chunk-K2V4ULA2.js +0 -61
- package/dist/chunk-K2V4ULA2.js.map +0 -1
- package/dist/chunk-KBKMMDLM.js +0 -118
- package/dist/chunk-KBKMMDLM.js.map +0 -1
- package/dist/chunk-KDNO5YO5.cjs +0 -105
- package/dist/chunk-KDNO5YO5.cjs.map +0 -1
- package/dist/chunk-LEMQGDFE.js +0 -67
- package/dist/chunk-LEMQGDFE.js.map +0 -1
- package/dist/chunk-LO7UKHOS.js +0 -26
- package/dist/chunk-LO7UKHOS.js.map +0 -1
- package/dist/chunk-LWPZZ2AW.cjs +0 -172
- package/dist/chunk-LWPZZ2AW.cjs.map +0 -1
- package/dist/chunk-NG3CJ3UE.js +0 -699
- package/dist/chunk-NG3CJ3UE.js.map +0 -1
- package/dist/chunk-NHEZXA4H.cjs +0 -47
- package/dist/chunk-NHEZXA4H.cjs.map +0 -1
- package/dist/chunk-NTDKZW4E.js +0 -35
- package/dist/chunk-NTDKZW4E.js.map +0 -1
- package/dist/chunk-O2XJNQQK.js +0 -154
- package/dist/chunk-O2XJNQQK.js.map +0 -1
- package/dist/chunk-OE5BOGGX.cjs +0 -35
- package/dist/chunk-OE5BOGGX.cjs.map +0 -1
- package/dist/chunk-OKJWLH7T.cjs +0 -154
- package/dist/chunk-OKJWLH7T.cjs.map +0 -1
- package/dist/chunk-OORASWXL.js +0 -49
- package/dist/chunk-OORASWXL.js.map +0 -1
- package/dist/chunk-OT3A4LEE.cjs +0 -154
- package/dist/chunk-OT3A4LEE.cjs.map +0 -1
- package/dist/chunk-PCTYJUY7.cjs +0 -7
- package/dist/chunk-PCTYJUY7.cjs.map +0 -1
- package/dist/chunk-PRUIH5LI.js +0 -131
- package/dist/chunk-PRUIH5LI.js.map +0 -1
- package/dist/chunk-QLNJZDVF.js +0 -182
- package/dist/chunk-QLNJZDVF.js.map +0 -1
- package/dist/chunk-RVBTLB5G.cjs +0 -131
- package/dist/chunk-RVBTLB5G.cjs.map +0 -1
- package/dist/chunk-SJWL6EMI.js +0 -115
- package/dist/chunk-SJWL6EMI.js.map +0 -1
- package/dist/chunk-SW3NGBCE.cjs +0 -215
- package/dist/chunk-SW3NGBCE.cjs.map +0 -1
- package/dist/chunk-THDHNYP7.cjs +0 -219
- package/dist/chunk-THDHNYP7.cjs.map +0 -1
- package/dist/chunk-TTD3KL6E.cjs +0 -20
- package/dist/chunk-TTD3KL6E.cjs.map +0 -1
- package/dist/chunk-UB7CSOZU.js +0 -172
- package/dist/chunk-UB7CSOZU.js.map +0 -1
- package/dist/chunk-V3M7HL26.cjs +0 -137
- package/dist/chunk-V3M7HL26.cjs.map +0 -1
- package/dist/chunk-WXSISX5Y.cjs +0 -49
- package/dist/chunk-WXSISX5Y.cjs.map +0 -1
- package/dist/chunk-WYM6IAIJ.cjs +0 -292
- package/dist/chunk-WYM6IAIJ.cjs.map +0 -1
- package/dist/chunk-YYR23V5P.cjs +0 -165
- package/dist/chunk-YYR23V5P.cjs.map +0 -1
- package/dist/chunk-Z6QACVK7.cjs +0 -699
- package/dist/chunk-Z6QACVK7.cjs.map +0 -1
- package/dist/helpers/index.cjs.map +0 -1
- package/dist/helpers/index.js.map +0 -1
- package/dist/hooks/useFormContext/index.cjs.map +0 -1
- package/dist/hooks/useFormContext/index.js.map +0 -1
- package/dist/hooks/useInputValueDebounce/index.cjs.map +0 -1
- package/dist/hooks/useInputValueDebounce/index.js.map +0 -1
- package/dist/hooks/useUniformField/index.cjs.map +0 -1
- package/dist/hooks/useUniformField/index.js.map +0 -1
- package/dist/hooks/useUniformFieldArray/index.cjs.map +0 -1
- package/dist/hooks/useUniformFieldArray/index.js.map +0 -1
- package/dist/partials/FieldCopyTestIdButton/index.cjs.map +0 -1
- package/dist/partials/FieldCopyTestIdButton/index.js.map +0 -1
- package/dist/partials/FieldValidationError/index.cjs.map +0 -1
- package/dist/partials/FieldValidationError/index.js.map +0 -1
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import * as tailwind_variants191 from "tailwind-variants";
|
|
2
|
+
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
3
|
+
import { ReactElement, ReactNode } from "react";
|
|
4
|
+
import { TabsProps } from "@fuf-stack/pixels";
|
|
5
|
+
|
|
6
|
+
//#region src/RadioTabs/RadioTabs.d.ts
|
|
7
|
+
declare const radioTabsVariants: tailwind_variants191.TVReturnType<{
|
|
8
|
+
hasContent: {
|
|
9
|
+
true: {
|
|
10
|
+
base: string;
|
|
11
|
+
tabBase: string;
|
|
12
|
+
tabWrapper: string[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
fullWidth: {
|
|
16
|
+
true: {
|
|
17
|
+
tabWrapper: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
isInvalid: {
|
|
21
|
+
true: {
|
|
22
|
+
tabWrapper: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}, {
|
|
26
|
+
base: string;
|
|
27
|
+
cursor: string;
|
|
28
|
+
label: string;
|
|
29
|
+
tab: string;
|
|
30
|
+
tabBase: string;
|
|
31
|
+
tabContent: string;
|
|
32
|
+
tabList: string;
|
|
33
|
+
tabPanel: string;
|
|
34
|
+
tabWrapper: string;
|
|
35
|
+
wrapper: string;
|
|
36
|
+
}, undefined, {
|
|
37
|
+
hasContent: {
|
|
38
|
+
true: {
|
|
39
|
+
base: string;
|
|
40
|
+
tabBase: string;
|
|
41
|
+
tabWrapper: string[];
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
fullWidth: {
|
|
45
|
+
true: {
|
|
46
|
+
tabWrapper: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
isInvalid: {
|
|
50
|
+
true: {
|
|
51
|
+
tabWrapper: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}, {
|
|
55
|
+
base: string;
|
|
56
|
+
cursor: string;
|
|
57
|
+
label: string;
|
|
58
|
+
tab: string;
|
|
59
|
+
tabBase: string;
|
|
60
|
+
tabContent: string;
|
|
61
|
+
tabList: string;
|
|
62
|
+
tabPanel: string;
|
|
63
|
+
tabWrapper: string;
|
|
64
|
+
wrapper: string;
|
|
65
|
+
}, tailwind_variants191.TVReturnType<{
|
|
66
|
+
hasContent: {
|
|
67
|
+
true: {
|
|
68
|
+
base: string;
|
|
69
|
+
tabBase: string;
|
|
70
|
+
tabWrapper: string[];
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
fullWidth: {
|
|
74
|
+
true: {
|
|
75
|
+
tabWrapper: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
isInvalid: {
|
|
79
|
+
true: {
|
|
80
|
+
tabWrapper: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
}, {
|
|
84
|
+
base: string;
|
|
85
|
+
cursor: string;
|
|
86
|
+
label: string;
|
|
87
|
+
tab: string;
|
|
88
|
+
tabBase: string;
|
|
89
|
+
tabContent: string;
|
|
90
|
+
tabList: string;
|
|
91
|
+
tabPanel: string;
|
|
92
|
+
tabWrapper: string;
|
|
93
|
+
wrapper: string;
|
|
94
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
95
|
+
type VariantProps = TVProps<typeof radioTabsVariants>;
|
|
96
|
+
type ClassName = TVClassName<typeof radioTabsVariants>;
|
|
97
|
+
interface RadioTabsOption {
|
|
98
|
+
/** Optional content inside of the tab */
|
|
99
|
+
content?: ReactNode;
|
|
100
|
+
/** disables the option */
|
|
101
|
+
disabled?: boolean;
|
|
102
|
+
/** option label */
|
|
103
|
+
label?: ReactNode;
|
|
104
|
+
/** option icon */
|
|
105
|
+
icon?: ReactNode;
|
|
106
|
+
/** HTML data-testid attribute of the option */
|
|
107
|
+
testId?: string;
|
|
108
|
+
/** option value */
|
|
109
|
+
value: string;
|
|
110
|
+
}
|
|
111
|
+
interface RadioTabsProps extends Omit<VariantProps, 'hasContent'> {
|
|
112
|
+
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
113
|
+
ariaLabel?: string;
|
|
114
|
+
/** CSS class name */
|
|
115
|
+
className?: ClassName;
|
|
116
|
+
/** Determines if the Buttons are disabled or not. */
|
|
117
|
+
disabled?: boolean;
|
|
118
|
+
/** Whether tabs should take up full container width */
|
|
119
|
+
fullWidth?: boolean;
|
|
120
|
+
/** determines orientation of the Buttons. */
|
|
121
|
+
inline?: boolean;
|
|
122
|
+
/** Label displayed next to the RadioButton. */
|
|
123
|
+
label?: ReactNode;
|
|
124
|
+
/** Name the RadioButtons are registered at in HTML forms (react-hook-form). */
|
|
125
|
+
name: string;
|
|
126
|
+
/** Radio button configuration. */
|
|
127
|
+
options: RadioTabsOption[];
|
|
128
|
+
/** Id to grab element in internal tests. */
|
|
129
|
+
testId?: string;
|
|
130
|
+
/** How the RadioTabs should look like. */
|
|
131
|
+
variant?: TabsProps['variant'];
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* RadioTabs component based on [HeroUI RadioGroup](https://www.heroui.com//docs/components/radio-group)
|
|
135
|
+
* and [HeroUI Tabs](https://www.heroui.com//docs/components/tabs)
|
|
136
|
+
*/
|
|
137
|
+
declare const RadioTabs: ({
|
|
138
|
+
className,
|
|
139
|
+
fullWidth,
|
|
140
|
+
inline,
|
|
141
|
+
name,
|
|
142
|
+
options,
|
|
143
|
+
variant,
|
|
144
|
+
...uniformFieldProps
|
|
145
|
+
}: RadioTabsProps) => ReactElement;
|
|
146
|
+
//#endregion
|
|
147
|
+
export { RadioTabsProps as n, RadioTabs as t };
|
|
148
|
+
//# sourceMappingURL=index-C56I3SOi.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-C56I3SOi.d.cts","names":[],"sources":["../src/RadioTabs/RadioTabs.tsx"],"sourcesContent":[],"mappings":";;;;;;cAea,mBAsCX,oBAAA,CAtC4B;;;MAAjB,IAAA,EAAA,MAsCX;MAEG,OAAY,EAAA,MAAA;MACZ,UAAS,EAAA,MAAsB,EAAA;IAEnB,CAAA;EAEL,CAAA;EAIF,SAAA,EAAA;IAED,IAAA,EAAA;MAAS,UAAA,EAAA,MAAA;IAOD,CAAA;EAA4B,CAAA;EAI/B,SAAA,EAAA;IAQJ,IAAA,EAAA;MAIC,UAAA,EAAA,MAAA;IAIC,CAAA;EApB4B,CAAA;CAAI,EAAA;EA2BtC,IAAA,EAAA,MAyHL;EAzHkB,MAAA,EAAA,MAAA;EAAA,KAAA,EAAA,MAAA;EAAA,GAAA,EAAA,MAAA;EAAA,OAAA,EAAA,MAAA;EAAA,UAAA,EAAA,MAAA;EAAA,OAAA,EAAA,MAAA;EAQhB,QAAA,EAAA,MAAA;EAAiB,UAAA,EAAA,MAAA;EAiHnB,OAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAxKC,oBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEG,YAAA,GAAe,eAAe;KAC9B,SAAA,GAAY,mBAAmB;UAEnB,eAAA;;YAEL;;;;UAIF;;SAED;;;;;;UAOQ,cAAA,SAAuB,KAAK;;;;cAI/B;;;;;;;;UAQJ;;;;WAIC;;;;YAIC;;;;;;cAON;;;;;;;;GAQH,mBAAiB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/partials/FieldCopyTestIdButton/FieldCopyTestIdButton.d.ts
|
|
4
|
+
interface FieldCopyTestIdButtonProps {
|
|
5
|
+
/** CSS class name */
|
|
6
|
+
className?: string;
|
|
7
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
8
|
+
testId: string;
|
|
9
|
+
}
|
|
10
|
+
declare const FieldCopyTestIdButton: ({
|
|
11
|
+
className,
|
|
12
|
+
testId
|
|
13
|
+
}: FieldCopyTestIdButtonProps) => react_jsx_runtime1.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { FieldCopyTestIdButtonProps as n, FieldCopyTestIdButton as t };
|
|
16
|
+
//# sourceMappingURL=index-CHmS3ri3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CHmS3ri3.d.ts","names":[],"sources":["../src/partials/FieldCopyTestIdButton/FieldCopyTestIdButton.tsx"],"sourcesContent":[],"mappings":";;;UAKiB,0BAAA;;;EAAA;EAOX,MAAA,EAAA,MAAA;;cAAA,qBAAyB,EAAA,CAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAG5B,0BAH4B,EAAA,GAGF,kBAAA,CAAA,GAAA,CAAA,OAHE"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import * as tailwind_variants260 from "tailwind-variants";
|
|
2
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
3
|
+
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
4
|
+
import { ReactNode } from "react";
|
|
5
|
+
|
|
6
|
+
//#region src/TextArea/TextArea.d.ts
|
|
7
|
+
declare const textAreaVariants: tailwind_variants260.TVReturnType<{
|
|
8
|
+
[key: string]: {
|
|
9
|
+
[key: string]: tailwind_variants260.ClassValue | {
|
|
10
|
+
base?: tailwind_variants260.ClassValue;
|
|
11
|
+
input?: tailwind_variants260.ClassValue;
|
|
12
|
+
inputWrapper?: tailwind_variants260.ClassValue;
|
|
13
|
+
clearButton?: tailwind_variants260.ClassValue;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
} | {
|
|
17
|
+
[x: string]: {
|
|
18
|
+
[x: string]: tailwind_variants260.ClassValue | {
|
|
19
|
+
base?: tailwind_variants260.ClassValue;
|
|
20
|
+
input?: tailwind_variants260.ClassValue;
|
|
21
|
+
inputWrapper?: tailwind_variants260.ClassValue;
|
|
22
|
+
clearButton?: tailwind_variants260.ClassValue;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
} | {}, {
|
|
26
|
+
/** wrapper around the whole input */
|
|
27
|
+
base: string;
|
|
28
|
+
/** clear button */
|
|
29
|
+
clearButton: string;
|
|
30
|
+
/** actual input element */
|
|
31
|
+
input: string;
|
|
32
|
+
/** inner wrapper (HeroUI inputWrapper slot) */
|
|
33
|
+
inputWrapper: string;
|
|
34
|
+
}, undefined, {
|
|
35
|
+
[key: string]: {
|
|
36
|
+
[key: string]: tailwind_variants260.ClassValue | {
|
|
37
|
+
base?: tailwind_variants260.ClassValue;
|
|
38
|
+
input?: tailwind_variants260.ClassValue;
|
|
39
|
+
inputWrapper?: tailwind_variants260.ClassValue;
|
|
40
|
+
clearButton?: tailwind_variants260.ClassValue;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
} | {}, {
|
|
44
|
+
/** wrapper around the whole input */
|
|
45
|
+
base: string;
|
|
46
|
+
/** clear button */
|
|
47
|
+
clearButton: string;
|
|
48
|
+
/** actual input element */
|
|
49
|
+
input: string;
|
|
50
|
+
/** inner wrapper (HeroUI inputWrapper slot) */
|
|
51
|
+
inputWrapper: string;
|
|
52
|
+
}, tailwind_variants260.TVReturnType<unknown, {
|
|
53
|
+
/** wrapper around the whole input */
|
|
54
|
+
base: string;
|
|
55
|
+
/** clear button */
|
|
56
|
+
clearButton: string;
|
|
57
|
+
/** actual input element */
|
|
58
|
+
input: string;
|
|
59
|
+
/** inner wrapper (HeroUI inputWrapper slot) */
|
|
60
|
+
inputWrapper: string;
|
|
61
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
62
|
+
type VariantProps = TVProps<typeof textAreaVariants>;
|
|
63
|
+
type ClassName = TVClassName<typeof textAreaVariants>;
|
|
64
|
+
interface TextAreaProps extends VariantProps {
|
|
65
|
+
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
66
|
+
ariaLabel?: string;
|
|
67
|
+
/** Child components. The content of the textarea. */
|
|
68
|
+
children?: ReactNode;
|
|
69
|
+
/** CSS class name */
|
|
70
|
+
className?: ClassName;
|
|
71
|
+
/** debounce delay in milliseconds for form state updates (default: 300ms) */
|
|
72
|
+
debounceDelay?: number;
|
|
73
|
+
/** Determines if the TextArea is disabled or not. */
|
|
74
|
+
disabled?: boolean;
|
|
75
|
+
/** Label displayed above the TextArea. */
|
|
76
|
+
label?: ReactNode;
|
|
77
|
+
/** Name the TextArea is registered at in HTML forms (react-hook-form). */
|
|
78
|
+
name: string;
|
|
79
|
+
/** placeholder for the textArea content. */
|
|
80
|
+
placeholder?: string;
|
|
81
|
+
/** Id to grab element in internal tests. */
|
|
82
|
+
testId?: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* TextArea component based on [HeroUI TextArea](https://www.heroui.com//docs/components/textarea)
|
|
86
|
+
*/
|
|
87
|
+
declare const TextArea: ({
|
|
88
|
+
children,
|
|
89
|
+
className: _className,
|
|
90
|
+
debounceDelay,
|
|
91
|
+
name,
|
|
92
|
+
placeholder,
|
|
93
|
+
...uniformFieldProps
|
|
94
|
+
}: TextAreaProps) => react_jsx_runtime14.JSX.Element;
|
|
95
|
+
//#endregion
|
|
96
|
+
export { TextAreaProps as n, TextArea as t };
|
|
97
|
+
//# sourceMappingURL=index-CI9QBUoM.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CI9QBUoM.d.cts","names":[],"sources":["../src/TextArea/TextArea.tsx"],"sourcesContent":[],"mappings":";;;;;;cAWa,uCAAgB;;mBAW3B,oBAAA,CAAA,UAAA;;MAXW,KAAA,CAAA,iCAWX;MAAA,YAAA,CAAA,iCAAA;;;;;;;;;;;;;;;;;EAX2B,WAAA,EAAA,MAAA;EAaxB;EACA,KAAA,EAAA,MAAS;EAEG;EAIJ,YAAA,EAAA,MAAA;CAEC,EAAA,SAAA,EAAA;EAMJ,CAAA,GAAA,EAAA,MAAA,CAAA,EAAA;IAZ6B,CAAA,GAAA,EAAA,MAAA,CAAA,oCAAA;MAAY,IAAA,CAAA,iCAAA;MAwB7C,KAqEL,CAAA,iCAAA;MArEiB,YAAA,CAAA,iCAAA;MAAA,WAAA,CAAA,iCAAA;IAAA,CAAA;EAAA,CAAA;CAAA,GAAA,CAAA,CAAA,EAAA;EAOf;EAAa,IAAA,EAAA,MAAA;EA8Df;;;;;;;;;;;;;;;;KAhGI,YAAA,GAAe,eAAe;KAC9B,SAAA,GAAY,mBAAmB;UAEnB,aAAA,SAAsB;;;;aAI1B;;cAEC;;;;;;UAMJ;;;;;;;;;;;cAYJ;;aAAY;;;;;GAOf,kBAAa,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { t as InputValueTransform } from "./useInputValueTransform-BID-CQ-y.cjs";
|
|
2
|
+
import * as tailwind_variants189 from "tailwind-variants";
|
|
3
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
4
|
+
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
5
|
+
import { ReactNode } from "react";
|
|
6
|
+
|
|
7
|
+
//#region src/Checkboxes/Checkboxes.d.ts
|
|
8
|
+
declare const checkboxesVariants: tailwind_variants189.TVReturnType<{
|
|
9
|
+
color: {
|
|
10
|
+
readonly default: {
|
|
11
|
+
wrapper: string;
|
|
12
|
+
};
|
|
13
|
+
readonly primary: {
|
|
14
|
+
wrapper: string;
|
|
15
|
+
};
|
|
16
|
+
readonly secondary: {
|
|
17
|
+
wrapper: string;
|
|
18
|
+
};
|
|
19
|
+
readonly success: {
|
|
20
|
+
wrapper: string;
|
|
21
|
+
};
|
|
22
|
+
readonly warning: {
|
|
23
|
+
wrapper: string;
|
|
24
|
+
};
|
|
25
|
+
readonly danger: {
|
|
26
|
+
wrapper: string;
|
|
27
|
+
};
|
|
28
|
+
readonly info: {
|
|
29
|
+
readonly wrapper: "text-info-foreground after:bg-info after:text-info-foreground";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
lineThrough: {
|
|
33
|
+
true: {
|
|
34
|
+
optionLabel: string[];
|
|
35
|
+
optionLabelSubline: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
base: string;
|
|
40
|
+
errorMessage: string;
|
|
41
|
+
label: string;
|
|
42
|
+
optionBase: string;
|
|
43
|
+
optionIcon: string;
|
|
44
|
+
optionLabel: string;
|
|
45
|
+
optionLabelSubline: string;
|
|
46
|
+
optionWrapper: string;
|
|
47
|
+
wrapper: string;
|
|
48
|
+
}, undefined, {
|
|
49
|
+
color: {
|
|
50
|
+
readonly default: {
|
|
51
|
+
wrapper: string;
|
|
52
|
+
};
|
|
53
|
+
readonly primary: {
|
|
54
|
+
wrapper: string;
|
|
55
|
+
};
|
|
56
|
+
readonly secondary: {
|
|
57
|
+
wrapper: string;
|
|
58
|
+
};
|
|
59
|
+
readonly success: {
|
|
60
|
+
wrapper: string;
|
|
61
|
+
};
|
|
62
|
+
readonly warning: {
|
|
63
|
+
wrapper: string;
|
|
64
|
+
};
|
|
65
|
+
readonly danger: {
|
|
66
|
+
wrapper: string;
|
|
67
|
+
};
|
|
68
|
+
readonly info: {
|
|
69
|
+
readonly wrapper: "text-info-foreground after:bg-info after:text-info-foreground";
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
lineThrough: {
|
|
73
|
+
true: {
|
|
74
|
+
optionLabel: string[];
|
|
75
|
+
optionLabelSubline: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
}, {
|
|
79
|
+
base: string;
|
|
80
|
+
errorMessage: string;
|
|
81
|
+
label: string;
|
|
82
|
+
optionBase: string;
|
|
83
|
+
optionIcon: string;
|
|
84
|
+
optionLabel: string;
|
|
85
|
+
optionLabelSubline: string;
|
|
86
|
+
optionWrapper: string;
|
|
87
|
+
wrapper: string;
|
|
88
|
+
}, tailwind_variants189.TVReturnType<{
|
|
89
|
+
color: {
|
|
90
|
+
readonly default: {
|
|
91
|
+
wrapper: string;
|
|
92
|
+
};
|
|
93
|
+
readonly primary: {
|
|
94
|
+
wrapper: string;
|
|
95
|
+
};
|
|
96
|
+
readonly secondary: {
|
|
97
|
+
wrapper: string;
|
|
98
|
+
};
|
|
99
|
+
readonly success: {
|
|
100
|
+
wrapper: string;
|
|
101
|
+
};
|
|
102
|
+
readonly warning: {
|
|
103
|
+
wrapper: string;
|
|
104
|
+
};
|
|
105
|
+
readonly danger: {
|
|
106
|
+
wrapper: string;
|
|
107
|
+
};
|
|
108
|
+
readonly info: {
|
|
109
|
+
readonly wrapper: "text-info-foreground after:bg-info after:text-info-foreground";
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
lineThrough: {
|
|
113
|
+
true: {
|
|
114
|
+
optionLabel: string[];
|
|
115
|
+
optionLabelSubline: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
}, {
|
|
119
|
+
base: string;
|
|
120
|
+
errorMessage: string;
|
|
121
|
+
label: string;
|
|
122
|
+
optionBase: string;
|
|
123
|
+
optionIcon: string;
|
|
124
|
+
optionLabel: string;
|
|
125
|
+
optionLabelSubline: string;
|
|
126
|
+
optionWrapper: string;
|
|
127
|
+
wrapper: string;
|
|
128
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
129
|
+
type VariantProps = TVProps<typeof checkboxesVariants>;
|
|
130
|
+
type ClassName = TVClassName<typeof checkboxesVariants>;
|
|
131
|
+
interface CheckboxOption {
|
|
132
|
+
/** option label */
|
|
133
|
+
label?: ReactNode;
|
|
134
|
+
/** subline displayed below the label */
|
|
135
|
+
labelSubline?: ReactNode;
|
|
136
|
+
/** option value */
|
|
137
|
+
value: string;
|
|
138
|
+
/** disables the option */
|
|
139
|
+
disabled?: boolean;
|
|
140
|
+
/** HTML data-testid attribute of the option */
|
|
141
|
+
testId?: string;
|
|
142
|
+
}
|
|
143
|
+
interface CheckboxesProps extends VariantProps {
|
|
144
|
+
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
145
|
+
ariaLabel?: string;
|
|
146
|
+
/** CSS class name */
|
|
147
|
+
className?: ClassName;
|
|
148
|
+
/** Color scheme of the checkboxes */
|
|
149
|
+
color?: VariantProps['color'];
|
|
150
|
+
/** Sets all checkboxes disabled */
|
|
151
|
+
disabled?: boolean;
|
|
152
|
+
/** Orientation of the checkboxes */
|
|
153
|
+
inline?: boolean;
|
|
154
|
+
/** Label displayed above the checkboxes */
|
|
155
|
+
label?: ReactNode;
|
|
156
|
+
/** Whether the checkboxes label should be crossed out */
|
|
157
|
+
lineThrough?: boolean;
|
|
158
|
+
/** Name the Field is registered on the form */
|
|
159
|
+
name: string;
|
|
160
|
+
/** Checkboxes that should be displayed. */
|
|
161
|
+
options: CheckboxOption[];
|
|
162
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
163
|
+
testId?: string;
|
|
164
|
+
/** allows disentangled display and form values for a field */
|
|
165
|
+
transform?: InputValueTransform<string[]>;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Checkboxes component based on [HeroUI CheckboxGroup](https://www.heroui.com//docs/components/checkbox-group)
|
|
169
|
+
*/
|
|
170
|
+
declare const Checkboxes: ({
|
|
171
|
+
className,
|
|
172
|
+
color,
|
|
173
|
+
inline,
|
|
174
|
+
lineThrough,
|
|
175
|
+
options,
|
|
176
|
+
name,
|
|
177
|
+
...uniformFieldProps
|
|
178
|
+
}: CheckboxesProps) => react_jsx_runtime6.JSX.Element;
|
|
179
|
+
//#endregion
|
|
180
|
+
export { Checkboxes as n, CheckboxesProps as r, CheckboxOption as t };
|
|
181
|
+
//# sourceMappingURL=index-CO-l7RmT.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CO-l7RmT.d.cts","names":[],"sources":["../src/Checkboxes/Checkboxes.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAoBa,oBAmCX,oBAAA,CAnC6B;;;;IAAlB,CAAA;IAqCR,SAAA,OAAY,EAAA;MACZ,OAAS,EAAA,MAAA;IAEG,CAAA;IAaA,SAAA,SAAgB,EAAA;MAInB,OAAA,EAAA,MAAA;IAEJ,CAAA;IAMA,SAAA,OAAA,EAAA;MAMC,OAAA,EAAA,MAAA;IAIG,CAAA;IAtB2B,SAAA,OAAA,EAAA;MAAY,OAAA,EAAA,MAAA;IA4B/C,CAAA;IAAc,SAAA,MAAA,EAAA;MAAA,OAAA,EAAA,MAAA;IAAA,CAAA;IAAA,SAAA,IAAA,EAAA;MAAA,SAAA,OAAA,EAAA,+DAAA;IAAA,CAAA;EAQjB,CAAA;EAAe,WAAA,EAAA;IAiHjB,IAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAvKC,oBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEG,YAAA,GAAe,eAAe;KAC9B,SAAA,GAAY,mBAAmB;UAEnB,cAAA;;UAEP;;iBAEO;;;;;;;;UASA,eAAA,SAAwB;;;;cAI3B;;UAEJ;;;;;;UAMA;;;;;;WAMC;;;;cAIG;;;;;cAMR;;;;;;;;GAQH,oBAAe,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/Grid/Grid.d.ts
|
|
5
|
+
interface GridProps {
|
|
6
|
+
/** child components */
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
/** CSS class name */
|
|
9
|
+
className?: string;
|
|
10
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
11
|
+
testId?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Defines the default grid for form components
|
|
15
|
+
*/
|
|
16
|
+
declare const Grid: ({
|
|
17
|
+
children,
|
|
18
|
+
className,
|
|
19
|
+
testId
|
|
20
|
+
}: GridProps) => react_jsx_runtime13.JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { GridProps as n, Grid as t };
|
|
23
|
+
//# sourceMappingURL=index-CQWoxgWk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CQWoxgWk.d.ts","names":[],"sources":["../src/Grid/Grid.tsx"],"sourcesContent":[],"mappings":";;;;UAIiB,SAAA;;aAEJ;EAFI;EAYX,SAUL,CAAA,EAAA,MAAA;EAVa;EAAA,MAAA,CAAA,EAAA,MAAA;;;;;cAAR;;;;GAIH,cAAS,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { ButtonProps } from "@fuf-stack/pixels";
|
|
3
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/SubmitButton/SubmitButton.d.ts
|
|
6
|
+
interface SubmitButtonProps {
|
|
7
|
+
/** sets HTML aria-label attribute */
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
/** child components */
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
/** CSS class name */
|
|
12
|
+
className?: string;
|
|
13
|
+
/** color of the submit button */
|
|
14
|
+
color?: ButtonProps['color'];
|
|
15
|
+
/** icon of the submit button */
|
|
16
|
+
icon?: ButtonProps['icon'];
|
|
17
|
+
/** If set loading animation is shown */
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
/** size of the submit button */
|
|
20
|
+
size?: ButtonProps['size'];
|
|
21
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
22
|
+
testId?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* From SubmitButton
|
|
26
|
+
*/
|
|
27
|
+
declare const SubmitButton: ({
|
|
28
|
+
ariaLabel,
|
|
29
|
+
children,
|
|
30
|
+
className,
|
|
31
|
+
color,
|
|
32
|
+
icon,
|
|
33
|
+
loading,
|
|
34
|
+
size,
|
|
35
|
+
testId
|
|
36
|
+
}: SubmitButtonProps) => react_jsx_runtime7.JSX.Element;
|
|
37
|
+
//#endregion
|
|
38
|
+
export { SubmitButtonProps as n, SubmitButton as t };
|
|
39
|
+
//# sourceMappingURL=index-CVY05bZf.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CVY05bZf.d.ts","names":[],"sources":["../src/SubmitButton/SubmitButton.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,iBAAA;;;EAAA;EAIJ,QAAA,CAAA,EAAA,SAAA;EAIH;EAED,SAAA,CAAA,EAAA,MAAA;EAIA;EAAW,KAAA,CAAA,EANV,WAMU,CAAA,OAAA,CAAA;EAQd;EAAgB,IAAA,CAAA,EAZb,WAYa,CAAA,MAAA,CAAA;EAAA;EAAA,OAAA,CAAA,EAAA,OAAA;EAAA;EAAA,IAAA,CAAA,EARb,WAQa,CAAA,MAAA,CAAA;EAAA;EAAA,MAAA,CAAA,EAAA,MAAA;;;;;cAAhB;;;;;;;;;GASH,sBAAiB,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { TVClassName } from "@fuf-stack/pixel-utils";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
4
|
+
import * as tailwind_variants254 from "tailwind-variants";
|
|
5
|
+
|
|
6
|
+
//#region src/FieldCard/FieldCard.d.ts
|
|
7
|
+
declare const fieldCardVariants: tailwind_variants254.TVReturnType<{
|
|
8
|
+
invalid: {
|
|
9
|
+
true: {
|
|
10
|
+
base: string;
|
|
11
|
+
label: string;
|
|
12
|
+
errorFooter: string;
|
|
13
|
+
};
|
|
14
|
+
false: {
|
|
15
|
+
base: string;
|
|
16
|
+
label: string;
|
|
17
|
+
errorFooter: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}, {
|
|
21
|
+
/** base class for the field card wrapper */
|
|
22
|
+
base: string[];
|
|
23
|
+
/** class for the label/header */
|
|
24
|
+
label: string[];
|
|
25
|
+
/** class for the content */
|
|
26
|
+
content: string[];
|
|
27
|
+
/** class for the error footer wrapper */
|
|
28
|
+
errorFooter: string[];
|
|
29
|
+
}, undefined, {
|
|
30
|
+
invalid: {
|
|
31
|
+
true: {
|
|
32
|
+
base: string;
|
|
33
|
+
label: string;
|
|
34
|
+
errorFooter: string;
|
|
35
|
+
};
|
|
36
|
+
false: {
|
|
37
|
+
base: string;
|
|
38
|
+
label: string;
|
|
39
|
+
errorFooter: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}, {
|
|
43
|
+
/** base class for the field card wrapper */
|
|
44
|
+
base: string[];
|
|
45
|
+
/** class for the label/header */
|
|
46
|
+
label: string[];
|
|
47
|
+
/** class for the content */
|
|
48
|
+
content: string[];
|
|
49
|
+
/** class for the error footer wrapper */
|
|
50
|
+
errorFooter: string[];
|
|
51
|
+
}, tailwind_variants254.TVReturnType<{
|
|
52
|
+
invalid: {
|
|
53
|
+
true: {
|
|
54
|
+
base: string;
|
|
55
|
+
label: string;
|
|
56
|
+
errorFooter: string;
|
|
57
|
+
};
|
|
58
|
+
false: {
|
|
59
|
+
base: string;
|
|
60
|
+
label: string;
|
|
61
|
+
errorFooter: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
}, {
|
|
65
|
+
/** base class for the field card wrapper */
|
|
66
|
+
base: string[];
|
|
67
|
+
/** class for the label/header */
|
|
68
|
+
label: string[];
|
|
69
|
+
/** class for the content */
|
|
70
|
+
content: string[];
|
|
71
|
+
/** class for the error footer wrapper */
|
|
72
|
+
errorFooter: string[];
|
|
73
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
74
|
+
type ClassName = TVClassName<typeof fieldCardVariants>;
|
|
75
|
+
interface FieldCardProps {
|
|
76
|
+
/** Content to render inside the card */
|
|
77
|
+
children: ReactNode;
|
|
78
|
+
/** CSS class name */
|
|
79
|
+
className?: ClassName;
|
|
80
|
+
/** Label content for the card header */
|
|
81
|
+
label: ReactNode;
|
|
82
|
+
/** Field name for validation */
|
|
83
|
+
name: string;
|
|
84
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
85
|
+
testId?: string;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* FieldCard component - A card-styled container with label header and error footer
|
|
89
|
+
*
|
|
90
|
+
* Displays form field content in a card layout with:
|
|
91
|
+
* - Label/title in the header
|
|
92
|
+
* - Content in the body
|
|
93
|
+
* - Validation errors in the footer
|
|
94
|
+
* - Danger outline when validation errors exist
|
|
95
|
+
*/
|
|
96
|
+
declare const FieldCard: ({
|
|
97
|
+
children,
|
|
98
|
+
className: _className,
|
|
99
|
+
name,
|
|
100
|
+
...uniformFieldProps
|
|
101
|
+
}: FieldCardProps) => react_jsx_runtime11.JSX.Element;
|
|
102
|
+
//#endregion
|
|
103
|
+
export { FieldCardProps as n, fieldCardVariants as r, FieldCard as t };
|
|
104
|
+
//# sourceMappingURL=index-C_ATGeaX.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-C_ATGeaX.d.ts","names":[],"sources":["../src/FieldCard/FieldCard.tsx"],"sourcesContent":[],"mappings":";;;;;;cAQa,mBA+CX,oBAAA,CA/C4B;;;;MAAjB,KAAA,EAAA,MA+CX;MAEG,WAAS,EAAA,MAAsB;IAEnB,CAAA;IAEL,KAAA,EAAA;MAEE,IAAA,EAAA,MAAA;MAEL,KAAA,EAAA,MAAA;MAAS,WAAA,EAAA,MAAA;IAgBZ,CAAA;EAAa,CAAA;CAAA,EAAA;EAAA;EAKhB,IAAA,EAAA,MAAA,EAAA;EAAc;EAkChB,KAAA,EAAA,MAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GAjEC,oBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;KAEG,SAAA,GAAY,mBAAmB;UAEnB,cAAA;;YAEL;;cAEE;;SAEL;;;;;;;;;;;;;;;cAgBH;;aAAa;;;GAKhB,mBAAc,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
import { ButtonProps } from "@fuf-stack/pixels";
|
|
4
|
+
|
|
5
|
+
//#region src/SubmitButton/SubmitButton.d.ts
|
|
6
|
+
interface SubmitButtonProps {
|
|
7
|
+
/** sets HTML aria-label attribute */
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
/** child components */
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
/** CSS class name */
|
|
12
|
+
className?: string;
|
|
13
|
+
/** color of the submit button */
|
|
14
|
+
color?: ButtonProps['color'];
|
|
15
|
+
/** icon of the submit button */
|
|
16
|
+
icon?: ButtonProps['icon'];
|
|
17
|
+
/** If set loading animation is shown */
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
/** size of the submit button */
|
|
20
|
+
size?: ButtonProps['size'];
|
|
21
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
22
|
+
testId?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* From SubmitButton
|
|
26
|
+
*/
|
|
27
|
+
declare const SubmitButton: ({
|
|
28
|
+
ariaLabel,
|
|
29
|
+
children,
|
|
30
|
+
className,
|
|
31
|
+
color,
|
|
32
|
+
icon,
|
|
33
|
+
loading,
|
|
34
|
+
size,
|
|
35
|
+
testId
|
|
36
|
+
}: SubmitButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
37
|
+
//#endregion
|
|
38
|
+
export { SubmitButtonProps as n, SubmitButton as t };
|
|
39
|
+
//# sourceMappingURL=index-CbAh0Kfo.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CbAh0Kfo.d.cts","names":[],"sources":["../src/SubmitButton/SubmitButton.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,iBAAA;;;EAAA;EAIJ,QAAA,CAAA,EAAA,SAAA;EAIH;EAED,SAAA,CAAA,EAAA,MAAA;EAIA;EAAW,KAAA,CAAA,EANV,WAMU,CAAA,OAAA,CAAA;EAQd;EAAgB,IAAA,CAAA,EAZb,WAYa,CAAA,MAAA,CAAA;EAAA;EAAA,OAAA,CAAA,EAAA,OAAA;EAAA;EAAA,IAAA,CAAA,EARb,WAQa,CAAA,MAAA,CAAA;EAAA;EAAA,MAAA,CAAA,EAAA,MAAA;;;;;cAAhB;;;;;;;;;GASH,sBAAiB,kBAAA,CAAA,GAAA,CAAA"}
|