@fuf-stack/uniform 1.10.4 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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-0l1ioOFh.d.cts +177 -0
- package/dist/index-0l1ioOFh.d.cts.map +1 -0
- package/dist/index-ATMELmS_.d.ts +44 -0
- package/dist/index-ATMELmS_.d.ts.map +1 -0
- package/dist/index-B3Z8gdjC.d.ts +1 -0
- package/dist/index-B5K7Sos4.d.ts +104 -0
- package/dist/index-B5K7Sos4.d.ts.map +1 -0
- package/dist/index-BCXuFO6D.d.ts +123 -0
- package/dist/index-BCXuFO6D.d.ts.map +1 -0
- package/dist/index-BDBmlcs9.d.ts +177 -0
- package/dist/index-BDBmlcs9.d.ts.map +1 -0
- package/dist/index-BFMNC6rA.d.cts +44 -0
- package/dist/index-BFMNC6rA.d.cts.map +1 -0
- package/dist/index-BIt4xz_x.d.cts +118 -0
- package/dist/index-BIt4xz_x.d.cts.map +1 -0
- package/dist/index-BJ7tmJCw.d.cts +181 -0
- package/dist/index-BJ7tmJCw.d.cts.map +1 -0
- package/dist/index-BLREDRDJ.d.cts +1 -0
- package/dist/index-BLmXGxoy.d.ts +169 -0
- package/dist/index-BLmXGxoy.d.ts.map +1 -0
- package/dist/index-BMSwSLB0.d.ts +178 -0
- package/dist/index-BMSwSLB0.d.ts.map +1 -0
- package/dist/index-BNdmJR51.d.cts +264 -0
- package/dist/index-BNdmJR51.d.cts.map +1 -0
- package/dist/index-BO2gua86.d.ts +156 -0
- package/dist/index-BO2gua86.d.ts.map +1 -0
- package/dist/index-BSJlD_z1.d.ts +23 -0
- package/dist/index-BSJlD_z1.d.ts.map +1 -0
- package/dist/index-BXpMZvwA.d.cts +1 -0
- package/dist/index-BYrmFhKl.d.ts +1 -0
- package/dist/index-BmW4khHl.d.cts +169 -0
- package/dist/index-BmW4khHl.d.cts.map +1 -0
- package/dist/index-ByDAUZR8.d.cts +23 -0
- package/dist/index-ByDAUZR8.d.cts.map +1 -0
- package/dist/index-C1GCfD5q.d.cts +97 -0
- package/dist/index-C1GCfD5q.d.cts.map +1 -0
- package/dist/index-C32OyAvG.d.ts +118 -0
- package/dist/index-C32OyAvG.d.ts.map +1 -0
- package/dist/index-CJNLQVjx.d.ts +1 -0
- package/dist/index-CQXf1sXV.d.ts +39 -0
- package/dist/index-CQXf1sXV.d.ts.map +1 -0
- package/dist/index-Cb0AgRRa.d.cts +39 -0
- package/dist/index-Cb0AgRRa.d.cts.map +1 -0
- package/dist/index-Ce5d5ud1.d.ts +148 -0
- package/dist/index-Ce5d5ud1.d.ts.map +1 -0
- package/dist/index-CpPCHyTk.d.cts +115 -0
- package/dist/index-CpPCHyTk.d.cts.map +1 -0
- package/dist/index-CqIAvXWT.d.ts +115 -0
- package/dist/index-CqIAvXWT.d.ts.map +1 -0
- package/dist/index-CuZ0szCF.d.cts +148 -0
- package/dist/index-CuZ0szCF.d.cts.map +1 -0
- package/dist/index-CwSIy_W-.d.cts +1 -0
- package/dist/index-D6qgJDAm.d.ts +16 -0
- package/dist/index-D6qgJDAm.d.ts.map +1 -0
- package/dist/index-DG83pAQU.d.cts +23 -0
- package/dist/index-DG83pAQU.d.cts.map +1 -0
- package/dist/index-DHTrsq8u.d.cts +156 -0
- package/dist/index-DHTrsq8u.d.cts.map +1 -0
- package/dist/index-DJFrZluU.d.ts +181 -0
- package/dist/index-DJFrZluU.d.ts.map +1 -0
- package/dist/index-DUAqAErG.d.cts +123 -0
- package/dist/index-DUAqAErG.d.cts.map +1 -0
- package/dist/index-Da-quK_d.d.ts +264 -0
- package/dist/index-Da-quK_d.d.ts.map +1 -0
- package/dist/index-DiC-e6iW.d.ts +97 -0
- package/dist/index-DiC-e6iW.d.ts.map +1 -0
- package/dist/index-DrAaB1si.d.cts +177 -0
- package/dist/index-DrAaB1si.d.cts.map +1 -0
- package/dist/index-G0IgQWoU.d.cts +134 -0
- package/dist/index-G0IgQWoU.d.cts.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-cda9yEEN.d.cts +16 -0
- package/dist/index-cda9yEEN.d.cts.map +1 -0
- package/dist/index-cvKMShf8.d.ts +23 -0
- package/dist/index-cvKMShf8.d.ts.map +1 -0
- package/dist/index-t8GMrjmp.d.cts +104 -0
- package/dist/index-t8GMrjmp.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-CbRkwhHc.d.ts +150 -0
- package/dist/useClientValidation-CbRkwhHc.d.ts.map +1 -0
- package/dist/useClientValidation-DdRlhoG1.d.cts +150 -0
- package/dist/useClientValidation-DdRlhoG1.d.cts.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-CFwuH4nn.d.cts +64 -0
- package/dist/useFormContext-CFwuH4nn.d.cts.map +1 -0
- package/dist/useFormContext-CWuN-_7P.cjs +134 -0
- package/dist/useFormContext-CWuN-_7P.cjs.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-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/useUniformField-u_7uBpco.d.cts +98 -0
- package/dist/useUniformField-u_7uBpco.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-D3lsJvhA.d.cts +79 -0
- package/dist/useUniformFieldArray-D3lsJvhA.d.cts.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-ELYGQTXB.js +0 -47
- package/dist/chunk-ELYGQTXB.js.map +0 -1
- package/dist/chunk-FBCGU6V6.js +0 -150
- package/dist/chunk-FBCGU6V6.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-LL5MUKJF.cjs +0 -150
- package/dist/chunk-LL5MUKJF.cjs.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,178 @@
|
|
|
1
|
+
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import "@heroui/radio";
|
|
5
|
+
import * as tailwind_variants1 from "tailwind-variants";
|
|
6
|
+
|
|
7
|
+
//#region src/RadioBoxes/RadioBoxes.d.ts
|
|
8
|
+
declare const radioBoxesVariants: tailwind_variants1.TVReturnType<{
|
|
9
|
+
[key: string]: {
|
|
10
|
+
[key: string]: tailwind_variants1.ClassValue | {
|
|
11
|
+
base?: tailwind_variants1.ClassValue;
|
|
12
|
+
label?: tailwind_variants1.ClassValue;
|
|
13
|
+
boxBase?: tailwind_variants1.ClassValue;
|
|
14
|
+
boxControl?: tailwind_variants1.ClassValue;
|
|
15
|
+
boxDescription?: tailwind_variants1.ClassValue;
|
|
16
|
+
boxLabel?: tailwind_variants1.ClassValue;
|
|
17
|
+
boxLabelWrapper?: tailwind_variants1.ClassValue;
|
|
18
|
+
wrapper?: tailwind_variants1.ClassValue;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
} | {
|
|
22
|
+
[x: string]: {
|
|
23
|
+
[x: string]: tailwind_variants1.ClassValue | {
|
|
24
|
+
base?: tailwind_variants1.ClassValue;
|
|
25
|
+
label?: tailwind_variants1.ClassValue;
|
|
26
|
+
boxBase?: tailwind_variants1.ClassValue;
|
|
27
|
+
boxControl?: tailwind_variants1.ClassValue;
|
|
28
|
+
boxDescription?: tailwind_variants1.ClassValue;
|
|
29
|
+
boxLabel?: tailwind_variants1.ClassValue;
|
|
30
|
+
boxLabelWrapper?: tailwind_variants1.ClassValue;
|
|
31
|
+
wrapper?: tailwind_variants1.ClassValue;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
} | {}, {
|
|
35
|
+
base: string;
|
|
36
|
+
boxBase: string;
|
|
37
|
+
boxControl: string;
|
|
38
|
+
boxDescription: string;
|
|
39
|
+
boxLabel: string;
|
|
40
|
+
boxLabelWrapper: string;
|
|
41
|
+
label: string;
|
|
42
|
+
wrapper: string;
|
|
43
|
+
}, undefined, {
|
|
44
|
+
[key: string]: {
|
|
45
|
+
[key: string]: tailwind_variants1.ClassValue | {
|
|
46
|
+
base?: tailwind_variants1.ClassValue;
|
|
47
|
+
label?: tailwind_variants1.ClassValue;
|
|
48
|
+
boxBase?: tailwind_variants1.ClassValue;
|
|
49
|
+
boxControl?: tailwind_variants1.ClassValue;
|
|
50
|
+
boxDescription?: tailwind_variants1.ClassValue;
|
|
51
|
+
boxLabel?: tailwind_variants1.ClassValue;
|
|
52
|
+
boxLabelWrapper?: tailwind_variants1.ClassValue;
|
|
53
|
+
wrapper?: tailwind_variants1.ClassValue;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
} | {}, {
|
|
57
|
+
base: string;
|
|
58
|
+
boxBase: string;
|
|
59
|
+
boxControl: string;
|
|
60
|
+
boxDescription: string;
|
|
61
|
+
boxLabel: string;
|
|
62
|
+
boxLabelWrapper: string;
|
|
63
|
+
label: string;
|
|
64
|
+
wrapper: string;
|
|
65
|
+
}, tailwind_variants1.TVReturnType<unknown, {
|
|
66
|
+
base: string;
|
|
67
|
+
boxBase: string;
|
|
68
|
+
boxControl: string;
|
|
69
|
+
boxDescription: string;
|
|
70
|
+
boxLabel: string;
|
|
71
|
+
boxLabelWrapper: string;
|
|
72
|
+
label: string;
|
|
73
|
+
wrapper: string;
|
|
74
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
75
|
+
type VariantProps = TVProps<typeof radioBoxesVariants>;
|
|
76
|
+
type ClassName = TVClassName<typeof radioBoxesVariants>;
|
|
77
|
+
interface RadioBoxesOption {
|
|
78
|
+
/** Description of the value. Works with variant radioBox. */
|
|
79
|
+
description?: ReactNode;
|
|
80
|
+
/** disables the option */
|
|
81
|
+
disabled?: boolean;
|
|
82
|
+
/** option label */
|
|
83
|
+
label?: ReactNode;
|
|
84
|
+
/** option icon */
|
|
85
|
+
icon?: ReactNode;
|
|
86
|
+
/** HTML data-testid attribute of the option */
|
|
87
|
+
testId?: string;
|
|
88
|
+
/** option value */
|
|
89
|
+
value: string;
|
|
90
|
+
}
|
|
91
|
+
interface RadioBoxesProps extends VariantProps {
|
|
92
|
+
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
93
|
+
ariaLabel?: string;
|
|
94
|
+
/** CSS class name */
|
|
95
|
+
className?: ClassName;
|
|
96
|
+
/** Determines if the Buttons are disabled or not. */
|
|
97
|
+
disabled?: boolean;
|
|
98
|
+
/** determines orientation of the Buttons. */
|
|
99
|
+
inline?: boolean;
|
|
100
|
+
/** Label displayed next to the RadioButton. */
|
|
101
|
+
label?: ReactNode;
|
|
102
|
+
/** Name the RadioButtons are registered at in HTML forms (react-hook-form). */
|
|
103
|
+
name: string;
|
|
104
|
+
/** Radio button configuration. */
|
|
105
|
+
options: RadioBoxesOption[];
|
|
106
|
+
/** Id to grab element in internal tests. */
|
|
107
|
+
testId?: string;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* RadioBoxes component based on [HeroUI RadioGroup](https://www.heroui.com//docs/components/radio-group)
|
|
111
|
+
*/
|
|
112
|
+
declare const RadioBoxes: ({
|
|
113
|
+
className,
|
|
114
|
+
inline,
|
|
115
|
+
name,
|
|
116
|
+
options,
|
|
117
|
+
...uniformFieldProps
|
|
118
|
+
}: RadioBoxesProps) => react_jsx_runtime0.JSX.Element;
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region src/RadioBoxes/RadioBox.d.ts
|
|
121
|
+
declare const radioBoxVariants: tailwind_variants1.TVReturnType<{
|
|
122
|
+
isDisabled: {
|
|
123
|
+
true: {
|
|
124
|
+
base: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
isInvalid: {
|
|
128
|
+
true: {
|
|
129
|
+
base: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
}, {
|
|
133
|
+
base: string;
|
|
134
|
+
control: string;
|
|
135
|
+
description: string;
|
|
136
|
+
icon: string;
|
|
137
|
+
label: string;
|
|
138
|
+
labelWrapper: string;
|
|
139
|
+
}, undefined, {
|
|
140
|
+
isDisabled: {
|
|
141
|
+
true: {
|
|
142
|
+
base: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
isInvalid: {
|
|
146
|
+
true: {
|
|
147
|
+
base: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
}, {
|
|
151
|
+
base: string;
|
|
152
|
+
control: string;
|
|
153
|
+
description: string;
|
|
154
|
+
icon: string;
|
|
155
|
+
label: string;
|
|
156
|
+
labelWrapper: string;
|
|
157
|
+
}, tailwind_variants1.TVReturnType<{
|
|
158
|
+
isDisabled: {
|
|
159
|
+
true: {
|
|
160
|
+
base: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
isInvalid: {
|
|
164
|
+
true: {
|
|
165
|
+
base: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
}, {
|
|
169
|
+
base: string;
|
|
170
|
+
control: string;
|
|
171
|
+
description: string;
|
|
172
|
+
icon: string;
|
|
173
|
+
label: string;
|
|
174
|
+
labelWrapper: string;
|
|
175
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
176
|
+
//#endregion
|
|
177
|
+
export { RadioBoxes as n, RadioBoxesProps as r, radioBoxVariants as t };
|
|
178
|
+
//# sourceMappingURL=index-BMSwSLB0.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BMSwSLB0.d.ts","names":[],"sources":["../src/RadioBoxes/RadioBoxes.tsx","../src/RadioBoxes/RadioBox.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAYa,uCAAkB;;mBAc7B,kBAAA,CAAA,UAAA;;;MAdW,OAAA,CAAA,+BAcX;MAAA,UAAA,CAAA,+BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAd6B,EAAA,SAAA,EAAA;EAgB1B,CAAA,GAAA,EAAA,MAAA,CAAA,EAAY;IACZ,CAAA,GAAA,EAAA,MAAS,CAAA,kCAAc;MAEX,IAAA,CAAA,+BAAgB;MAEjB,KAAA,CAAA,+BAAA;MAIN,OAAA,CAAA,+BAAA;MAED,UAAA,CAAA,+BAAA;MAAS,cAAA,CAAA,+BAAA;MAOD,QAAA,CAAA,+BAAgB;MAInB,eAAA,CAAA,+BAAA;MAMJ,OAAA,CAAA,+BAAA;IAIC,CAAA;EAd8B,CAAA;CAAY,GAAA,CAAA,CAAA,EAAA;EAsB/C,IAAA,EAAA,MAAA;EAAc,OAAA,EAAA,MAAA;EAAA,UAAA,EAAA,MAAA;EAAA,cAAA,EAAA,MAAA;EAAA,QAAA,EAAA,MAAA;EAMjB,eAAA,EAAA,MAAA;EAAe,KAAA,EAAA,MAAA;EA2EjB,OAAA,EAAA,MAAA;;;;EC5IY,UAAA,EAAA,MAAA;;;;;;;KDmBR,YAAA,GAAe,eAAe;KAC9B,SAAA,GAAY,mBAAmB;UAEnB,gBAAA;;gBAED;;;;UAIN;;SAED;;;;;;UAOQ,eAAA,SAAwB;;;;cAI3B;;;;;;UAMJ;;;;WAIC;;;;;;;cAQL;;;;;;GAMH,oBAAe,kBAAA,CAAA,GAAA,CAAA;;;cCjEL,kBAqBX,kBAAA,CArB2B;;;;IDGhB,CAAA;EAcX,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAd6B,KAAA,EAAA,MAAA;EAgB1B,YAAA,EAAA,MAAY;AAAU,CAAA,ECEzB,kBAAA,CAAA,YDDkC,CAAA;EAEnB,UAAA,EAAA;IAED,IAAA,EAAA;MAIN,IAAA,EAAA,MAAA;IAED,CAAA;EAAS,CAAA;EAOD,SAAA,EAAA;IAIH,IAAA,EAAA;MAMJ,IAAA,EAAA,MAAA;IAIC,CAAA;EAd8B,CAAA;CAAY,EAAA;EAsB/C,IAAA,EAAA,MAAA;EAAc,OAAA,EAAA,MAAA;EAAA,WAAA,EAAA,MAAA;EAAA,IAAA,EAAA,MAAA;EAAA,KAAA,EAAA,MAAA;EAMjB,YAAA,EAAA,MAAA;CAAe,EAAA,SAAA,EAAA,OAAA,EAAA,OAAA,EAAA,SAAA,CAAA,CAAA"}
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import * as tailwind_variants83 from "tailwind-variants";
|
|
2
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
3
|
+
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
4
|
+
import { ReactNode } from "react";
|
|
5
|
+
import { Props } from "react-select";
|
|
6
|
+
|
|
7
|
+
//#region src/Select/Select.d.ts
|
|
8
|
+
declare const selectVariants: tailwind_variants83.TVReturnType<{
|
|
9
|
+
[key: string]: {
|
|
10
|
+
[key: string]: tailwind_variants83.ClassValue | {
|
|
11
|
+
base?: tailwind_variants83.ClassValue;
|
|
12
|
+
label?: tailwind_variants83.ClassValue;
|
|
13
|
+
control?: tailwind_variants83.ClassValue;
|
|
14
|
+
input?: tailwind_variants83.ClassValue;
|
|
15
|
+
menu?: tailwind_variants83.ClassValue;
|
|
16
|
+
option?: tailwind_variants83.ClassValue;
|
|
17
|
+
placeholder?: tailwind_variants83.ClassValue;
|
|
18
|
+
group?: tailwind_variants83.ClassValue;
|
|
19
|
+
clearIndicator?: tailwind_variants83.ClassValue;
|
|
20
|
+
control_focused?: tailwind_variants83.ClassValue;
|
|
21
|
+
crossIcon?: tailwind_variants83.ClassValue;
|
|
22
|
+
downChevron?: tailwind_variants83.ClassValue;
|
|
23
|
+
dropdownIndicator?: tailwind_variants83.ClassValue;
|
|
24
|
+
groupHeading?: tailwind_variants83.ClassValue;
|
|
25
|
+
indicatorsContainer?: tailwind_variants83.ClassValue;
|
|
26
|
+
indicatorSeparator?: tailwind_variants83.ClassValue;
|
|
27
|
+
loadingIndicator?: tailwind_variants83.ClassValue;
|
|
28
|
+
loadingMessage?: tailwind_variants83.ClassValue;
|
|
29
|
+
menuList?: tailwind_variants83.ClassValue;
|
|
30
|
+
menuPortal?: tailwind_variants83.ClassValue;
|
|
31
|
+
multiValue?: tailwind_variants83.ClassValue;
|
|
32
|
+
multiValueContainer?: tailwind_variants83.ClassValue;
|
|
33
|
+
multiValueLabel?: tailwind_variants83.ClassValue;
|
|
34
|
+
multiValueRemove?: tailwind_variants83.ClassValue;
|
|
35
|
+
noOptionsMessage?: tailwind_variants83.ClassValue;
|
|
36
|
+
option_focused?: tailwind_variants83.ClassValue;
|
|
37
|
+
option_selected?: tailwind_variants83.ClassValue;
|
|
38
|
+
selectContainer?: tailwind_variants83.ClassValue;
|
|
39
|
+
singleValue?: tailwind_variants83.ClassValue;
|
|
40
|
+
valueContainer?: tailwind_variants83.ClassValue;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
} | {
|
|
44
|
+
[x: string]: {
|
|
45
|
+
[x: string]: tailwind_variants83.ClassValue | {
|
|
46
|
+
base?: tailwind_variants83.ClassValue;
|
|
47
|
+
label?: tailwind_variants83.ClassValue;
|
|
48
|
+
control?: tailwind_variants83.ClassValue;
|
|
49
|
+
input?: tailwind_variants83.ClassValue;
|
|
50
|
+
menu?: tailwind_variants83.ClassValue;
|
|
51
|
+
option?: tailwind_variants83.ClassValue;
|
|
52
|
+
placeholder?: tailwind_variants83.ClassValue;
|
|
53
|
+
group?: tailwind_variants83.ClassValue;
|
|
54
|
+
clearIndicator?: tailwind_variants83.ClassValue;
|
|
55
|
+
control_focused?: tailwind_variants83.ClassValue;
|
|
56
|
+
crossIcon?: tailwind_variants83.ClassValue;
|
|
57
|
+
downChevron?: tailwind_variants83.ClassValue;
|
|
58
|
+
dropdownIndicator?: tailwind_variants83.ClassValue;
|
|
59
|
+
groupHeading?: tailwind_variants83.ClassValue;
|
|
60
|
+
indicatorsContainer?: tailwind_variants83.ClassValue;
|
|
61
|
+
indicatorSeparator?: tailwind_variants83.ClassValue;
|
|
62
|
+
loadingIndicator?: tailwind_variants83.ClassValue;
|
|
63
|
+
loadingMessage?: tailwind_variants83.ClassValue;
|
|
64
|
+
menuList?: tailwind_variants83.ClassValue;
|
|
65
|
+
menuPortal?: tailwind_variants83.ClassValue;
|
|
66
|
+
multiValue?: tailwind_variants83.ClassValue;
|
|
67
|
+
multiValueContainer?: tailwind_variants83.ClassValue;
|
|
68
|
+
multiValueLabel?: tailwind_variants83.ClassValue;
|
|
69
|
+
multiValueRemove?: tailwind_variants83.ClassValue;
|
|
70
|
+
noOptionsMessage?: tailwind_variants83.ClassValue;
|
|
71
|
+
option_focused?: tailwind_variants83.ClassValue;
|
|
72
|
+
option_selected?: tailwind_variants83.ClassValue;
|
|
73
|
+
selectContainer?: tailwind_variants83.ClassValue;
|
|
74
|
+
singleValue?: tailwind_variants83.ClassValue;
|
|
75
|
+
valueContainer?: tailwind_variants83.ClassValue;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
} | {}, {
|
|
79
|
+
base: string;
|
|
80
|
+
clearIndicator: string;
|
|
81
|
+
control: string;
|
|
82
|
+
control_focused: string;
|
|
83
|
+
crossIcon: string;
|
|
84
|
+
downChevron: string;
|
|
85
|
+
dropdownIndicator: string;
|
|
86
|
+
group: string;
|
|
87
|
+
groupHeading: string;
|
|
88
|
+
indicatorsContainer: string;
|
|
89
|
+
indicatorSeparator: string;
|
|
90
|
+
input: string;
|
|
91
|
+
label: string;
|
|
92
|
+
loadingIndicator: string;
|
|
93
|
+
loadingMessage: string;
|
|
94
|
+
menu: string;
|
|
95
|
+
menuList: string;
|
|
96
|
+
menuPortal: string;
|
|
97
|
+
multiValue: string;
|
|
98
|
+
multiValueContainer: string;
|
|
99
|
+
multiValueLabel: string;
|
|
100
|
+
multiValueRemove: string;
|
|
101
|
+
noOptionsMessage: string;
|
|
102
|
+
option_focused: string;
|
|
103
|
+
option_selected: string;
|
|
104
|
+
option: string;
|
|
105
|
+
placeholder: string;
|
|
106
|
+
selectContainer: string;
|
|
107
|
+
singleValue: string;
|
|
108
|
+
valueContainer: string;
|
|
109
|
+
}, undefined, {
|
|
110
|
+
[key: string]: {
|
|
111
|
+
[key: string]: tailwind_variants83.ClassValue | {
|
|
112
|
+
base?: tailwind_variants83.ClassValue;
|
|
113
|
+
label?: tailwind_variants83.ClassValue;
|
|
114
|
+
control?: tailwind_variants83.ClassValue;
|
|
115
|
+
input?: tailwind_variants83.ClassValue;
|
|
116
|
+
menu?: tailwind_variants83.ClassValue;
|
|
117
|
+
option?: tailwind_variants83.ClassValue;
|
|
118
|
+
placeholder?: tailwind_variants83.ClassValue;
|
|
119
|
+
group?: tailwind_variants83.ClassValue;
|
|
120
|
+
clearIndicator?: tailwind_variants83.ClassValue;
|
|
121
|
+
control_focused?: tailwind_variants83.ClassValue;
|
|
122
|
+
crossIcon?: tailwind_variants83.ClassValue;
|
|
123
|
+
downChevron?: tailwind_variants83.ClassValue;
|
|
124
|
+
dropdownIndicator?: tailwind_variants83.ClassValue;
|
|
125
|
+
groupHeading?: tailwind_variants83.ClassValue;
|
|
126
|
+
indicatorsContainer?: tailwind_variants83.ClassValue;
|
|
127
|
+
indicatorSeparator?: tailwind_variants83.ClassValue;
|
|
128
|
+
loadingIndicator?: tailwind_variants83.ClassValue;
|
|
129
|
+
loadingMessage?: tailwind_variants83.ClassValue;
|
|
130
|
+
menuList?: tailwind_variants83.ClassValue;
|
|
131
|
+
menuPortal?: tailwind_variants83.ClassValue;
|
|
132
|
+
multiValue?: tailwind_variants83.ClassValue;
|
|
133
|
+
multiValueContainer?: tailwind_variants83.ClassValue;
|
|
134
|
+
multiValueLabel?: tailwind_variants83.ClassValue;
|
|
135
|
+
multiValueRemove?: tailwind_variants83.ClassValue;
|
|
136
|
+
noOptionsMessage?: tailwind_variants83.ClassValue;
|
|
137
|
+
option_focused?: tailwind_variants83.ClassValue;
|
|
138
|
+
option_selected?: tailwind_variants83.ClassValue;
|
|
139
|
+
selectContainer?: tailwind_variants83.ClassValue;
|
|
140
|
+
singleValue?: tailwind_variants83.ClassValue;
|
|
141
|
+
valueContainer?: tailwind_variants83.ClassValue;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
} | {}, {
|
|
145
|
+
base: string;
|
|
146
|
+
clearIndicator: string;
|
|
147
|
+
control: string;
|
|
148
|
+
control_focused: string;
|
|
149
|
+
crossIcon: string;
|
|
150
|
+
downChevron: string;
|
|
151
|
+
dropdownIndicator: string;
|
|
152
|
+
group: string;
|
|
153
|
+
groupHeading: string;
|
|
154
|
+
indicatorsContainer: string;
|
|
155
|
+
indicatorSeparator: string;
|
|
156
|
+
input: string;
|
|
157
|
+
label: string;
|
|
158
|
+
loadingIndicator: string;
|
|
159
|
+
loadingMessage: string;
|
|
160
|
+
menu: string;
|
|
161
|
+
menuList: string;
|
|
162
|
+
menuPortal: string;
|
|
163
|
+
multiValue: string;
|
|
164
|
+
multiValueContainer: string;
|
|
165
|
+
multiValueLabel: string;
|
|
166
|
+
multiValueRemove: string;
|
|
167
|
+
noOptionsMessage: string;
|
|
168
|
+
option_focused: string;
|
|
169
|
+
option_selected: string;
|
|
170
|
+
option: string;
|
|
171
|
+
placeholder: string;
|
|
172
|
+
selectContainer: string;
|
|
173
|
+
singleValue: string;
|
|
174
|
+
valueContainer: string;
|
|
175
|
+
}, tailwind_variants83.TVReturnType<unknown, {
|
|
176
|
+
base: string;
|
|
177
|
+
clearIndicator: string;
|
|
178
|
+
control: string;
|
|
179
|
+
control_focused: string;
|
|
180
|
+
crossIcon: string;
|
|
181
|
+
downChevron: string;
|
|
182
|
+
dropdownIndicator: string;
|
|
183
|
+
group: string;
|
|
184
|
+
groupHeading: string;
|
|
185
|
+
indicatorsContainer: string;
|
|
186
|
+
indicatorSeparator: string;
|
|
187
|
+
input: string;
|
|
188
|
+
label: string;
|
|
189
|
+
loadingIndicator: string;
|
|
190
|
+
loadingMessage: string;
|
|
191
|
+
menu: string;
|
|
192
|
+
menuList: string;
|
|
193
|
+
menuPortal: string;
|
|
194
|
+
multiValue: string;
|
|
195
|
+
multiValueContainer: string;
|
|
196
|
+
multiValueLabel: string;
|
|
197
|
+
multiValueRemove: string;
|
|
198
|
+
noOptionsMessage: string;
|
|
199
|
+
option_focused: string;
|
|
200
|
+
option_selected: string;
|
|
201
|
+
option: string;
|
|
202
|
+
placeholder: string;
|
|
203
|
+
selectContainer: string;
|
|
204
|
+
singleValue: string;
|
|
205
|
+
valueContainer: string;
|
|
206
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
207
|
+
interface SelectOption {
|
|
208
|
+
/** option label */
|
|
209
|
+
label?: ReactNode;
|
|
210
|
+
/** option value */
|
|
211
|
+
value: string;
|
|
212
|
+
}
|
|
213
|
+
type VariantProps = TVProps<typeof selectVariants>;
|
|
214
|
+
type ClassName = TVClassName<typeof selectVariants>;
|
|
215
|
+
interface SelectProps extends VariantProps {
|
|
216
|
+
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
217
|
+
ariaLabel?: string;
|
|
218
|
+
/** CSS class name */
|
|
219
|
+
className?: ClassName;
|
|
220
|
+
/** Determine if the */
|
|
221
|
+
clearable?: boolean;
|
|
222
|
+
/** Set the select to disabled state. */
|
|
223
|
+
disabled?: boolean;
|
|
224
|
+
/** Filter Select Options */
|
|
225
|
+
filterOption?: undefined | ((option?: SelectOption, inputValue?: string) => boolean);
|
|
226
|
+
/** Format the label of the option */
|
|
227
|
+
renderOptionLabel?: undefined | Props['formatOptionLabel'];
|
|
228
|
+
/** The value of the search input */
|
|
229
|
+
inputValue?: string;
|
|
230
|
+
/** Label that should be associated with the select. */
|
|
231
|
+
label?: ReactNode;
|
|
232
|
+
/** Set the select to a loading state. */
|
|
233
|
+
loading?: boolean;
|
|
234
|
+
/** switch between single and multi select mode. */
|
|
235
|
+
multiSelect?: boolean;
|
|
236
|
+
/** The name for the Select component, used by react-hook-form */
|
|
237
|
+
name: string;
|
|
238
|
+
/** Placeholder that is displayed when nothing is selected */
|
|
239
|
+
placeholder?: string;
|
|
240
|
+
/** The options for the Select component */
|
|
241
|
+
options: SelectOption[];
|
|
242
|
+
/** Handle change events on the input */
|
|
243
|
+
onInputChange?: Props['onInputChange'];
|
|
244
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
245
|
+
testId?: string;
|
|
246
|
+
}
|
|
247
|
+
/** Select component based on [HeroUI Select](https://www.heroui.com//docs/components/select) and [React-Select](https://react-select.com/home) */
|
|
248
|
+
declare const Select: ({
|
|
249
|
+
className,
|
|
250
|
+
clearable,
|
|
251
|
+
filterOption,
|
|
252
|
+
renderOptionLabel,
|
|
253
|
+
inputValue,
|
|
254
|
+
loading,
|
|
255
|
+
multiSelect,
|
|
256
|
+
name,
|
|
257
|
+
onInputChange,
|
|
258
|
+
options,
|
|
259
|
+
placeholder,
|
|
260
|
+
...uniformFieldProps
|
|
261
|
+
}: SelectProps) => react_jsx_runtime10.JSX.Element;
|
|
262
|
+
//#endregion
|
|
263
|
+
export { SelectProps as n, Select as t };
|
|
264
|
+
//# sourceMappingURL=index-BNdmJR51.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BNdmJR51.d.cts","names":[],"sources":["../src/Select/Select.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAca,oCAAc;;mBA0CzB,mBAAA,CAAA,UAAA;;MA1CW,KAAA,CAAA,gCA0CX;MAAA,OAAA,CAAA,gCAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA1CyB;EAAA,cAAA,EAAA,MAAA;AA0CxB,CAAA,EAAA,SAEO,EAAA;EAOL,CAAA,GAAA,EAAA,MAAA,CAAA,EAAY;IACZ,CAAA,GAAA,EAAA,MAAS,CAAA,mCAAc;MAEX,IAAA,CAAA,gCAAY;MAIf,KAAA,CAAA,gCAAA;MAQG,OAAA,CAAA,gCAAA;MAEiB,KAAA,CAAA,gCAAA;MAIxB,IAAA,CAAA,gCAAA;MAUC,MAAA,CAAA,gCAAA;MAEO,WAAA,CAAA,gCAAA;MA9BmB,KAAA,CAAA,gCAAA;MAAY,cAAA,CAAA,gCAAA;MAkF3C,eA4NL,CAAA,gCAAA;MA5Ne,SAAA,CAAA,gCAAA;MAAA,WAAA,CAAA,gCAAA;MAAA,iBAAA,CAAA,gCAAA;MAAA,YAAA,CAAA,gCAAA;MAAA,mBAAA,CAAA,gCAAA;MAAA,kBAAA,CAAA,gCAAA;MAAA,gBAAA,CAAA,gCAAA;MAAA,cAAA,CAAA,gCAAA;MAAA,QAAA,CAAA,gCAAA;MAAA,UAAA,CAAA,gCAAA;MAAA,UAAA,CAAA,gCAAA;MAab,mBAAA,CAAA,gCAAA;MAAW,eAAA,CAAA,gCAAA;MA+Mb,gBAAA,CAAA,gCAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAxTS,YAAA;;UAEA;;;;KAKL,YAAA,GAAe,eAAe;KAC9B,SAAA,GAAY,mBAAmB;UAEnB,WAAA,SAAoB;;;;cAIvB;;;;;;wCAQG;;kCAEiB;;;;UAIxB;;;;;;;;;;WAUC;;kBAEO;;;;;cAoDZ;;;;;;;;;;;;;GAaH,gBAAW,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { TVClassName } from "@fuf-stack/pixel-utils";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
4
|
+
import { SwitchProps } from "@heroui/switch";
|
|
5
|
+
import * as tailwind_variants53 from "tailwind-variants";
|
|
6
|
+
|
|
7
|
+
//#region src/SwitchBox/SwitchBox.d.ts
|
|
8
|
+
declare const switchBoxVariants: tailwind_variants53.TVReturnType<{
|
|
9
|
+
isDisabled: {
|
|
10
|
+
true: {
|
|
11
|
+
box: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
isInvalid: {
|
|
15
|
+
true: {
|
|
16
|
+
box: string;
|
|
17
|
+
label: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
size: {
|
|
21
|
+
sm: {
|
|
22
|
+
box: string;
|
|
23
|
+
description: string;
|
|
24
|
+
label: string;
|
|
25
|
+
};
|
|
26
|
+
md: {
|
|
27
|
+
box: string;
|
|
28
|
+
description: string;
|
|
29
|
+
label: string;
|
|
30
|
+
};
|
|
31
|
+
lg: {
|
|
32
|
+
box: string;
|
|
33
|
+
description: string;
|
|
34
|
+
label: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
box: string;
|
|
39
|
+
description: string;
|
|
40
|
+
icon: string;
|
|
41
|
+
label: string;
|
|
42
|
+
wrapper: string;
|
|
43
|
+
thumb: string;
|
|
44
|
+
thumbIcon: string;
|
|
45
|
+
}, undefined, {
|
|
46
|
+
isDisabled: {
|
|
47
|
+
true: {
|
|
48
|
+
box: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
isInvalid: {
|
|
52
|
+
true: {
|
|
53
|
+
box: string;
|
|
54
|
+
label: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
size: {
|
|
58
|
+
sm: {
|
|
59
|
+
box: string;
|
|
60
|
+
description: string;
|
|
61
|
+
label: string;
|
|
62
|
+
};
|
|
63
|
+
md: {
|
|
64
|
+
box: string;
|
|
65
|
+
description: string;
|
|
66
|
+
label: string;
|
|
67
|
+
};
|
|
68
|
+
lg: {
|
|
69
|
+
box: string;
|
|
70
|
+
description: string;
|
|
71
|
+
label: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
}, {
|
|
75
|
+
box: string;
|
|
76
|
+
description: string;
|
|
77
|
+
icon: string;
|
|
78
|
+
label: string;
|
|
79
|
+
wrapper: string;
|
|
80
|
+
thumb: string;
|
|
81
|
+
thumbIcon: string;
|
|
82
|
+
}, tailwind_variants53.TVReturnType<{
|
|
83
|
+
isDisabled: {
|
|
84
|
+
true: {
|
|
85
|
+
box: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
isInvalid: {
|
|
89
|
+
true: {
|
|
90
|
+
box: string;
|
|
91
|
+
label: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
size: {
|
|
95
|
+
sm: {
|
|
96
|
+
box: string;
|
|
97
|
+
description: string;
|
|
98
|
+
label: string;
|
|
99
|
+
};
|
|
100
|
+
md: {
|
|
101
|
+
box: string;
|
|
102
|
+
description: string;
|
|
103
|
+
label: string;
|
|
104
|
+
};
|
|
105
|
+
lg: {
|
|
106
|
+
box: string;
|
|
107
|
+
description: string;
|
|
108
|
+
label: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}, {
|
|
112
|
+
box: string;
|
|
113
|
+
description: string;
|
|
114
|
+
icon: string;
|
|
115
|
+
label: string;
|
|
116
|
+
wrapper: string;
|
|
117
|
+
thumb: string;
|
|
118
|
+
thumbIcon: string;
|
|
119
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
120
|
+
type ClassName = TVClassName<typeof switchBoxVariants>;
|
|
121
|
+
interface SwitchBoxProps {
|
|
122
|
+
/** CSS class name */
|
|
123
|
+
className?: ClassName;
|
|
124
|
+
/** Description text displayed below the label */
|
|
125
|
+
description?: ReactNode;
|
|
126
|
+
/** whether the switch should be disabled */
|
|
127
|
+
disabled?: boolean;
|
|
128
|
+
/** Icon to be displayed in the box */
|
|
129
|
+
icon?: ReactNode;
|
|
130
|
+
/** component displayed as the label */
|
|
131
|
+
label?: ReactNode;
|
|
132
|
+
/** name the field is registered under */
|
|
133
|
+
name: string;
|
|
134
|
+
/** whether the field is required */
|
|
135
|
+
required?: boolean;
|
|
136
|
+
size?: 'sm' | 'md' | 'lg';
|
|
137
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
138
|
+
testId?: string;
|
|
139
|
+
/** Icon to be displayed inside the thumb */
|
|
140
|
+
thumbIcon?: SwitchProps['thumbIcon'];
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* SwitchBox component - A card-like box with a switch control
|
|
144
|
+
*/
|
|
145
|
+
declare const SwitchBox: ({
|
|
146
|
+
className,
|
|
147
|
+
description,
|
|
148
|
+
icon,
|
|
149
|
+
name,
|
|
150
|
+
size,
|
|
151
|
+
thumbIcon,
|
|
152
|
+
...uniformFieldProps
|
|
153
|
+
}: SwitchBoxProps) => react_jsx_runtime9.JSX.Element;
|
|
154
|
+
//#endregion
|
|
155
|
+
export { SwitchBoxProps as n, switchBoxVariants as r, SwitchBox as t };
|
|
156
|
+
//# sourceMappingURL=index-BO2gua86.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BO2gua86.d.ts","names":[],"sources":["../src/SwitchBox/SwitchBox.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAaa,mBA4CX,mBAAA,CA5C4B;;;;IAAjB,CAAA;EA8CR,CAAA;EAEY,SAAA,EAAA;IAEH,IAAA,EAAA;MAEE,GAAA,EAAA,MAAA;MAIP,KAAA,EAAA,MAAA;IAEC,CAAA;EAUI,CAAA;EAAe,IAAA,EAAA;IAMvB,EAAA,EAAA;MAAa,GAAA,EAAA,MAAA;MAAA,WAAA,EAAA,MAAA;MAAA,KAAA,EAAA,MAAA;IAAA,CAAA;IAAA,EAAA,EAAA;MAAA,GAAA,EAAA,MAAA;MAQhB,WAAA,EAAA,MAAA;MAAc,KAAA,EAAA,MAAA;IAiJhB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAvLC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEG,SAAA,GAAY,mBAAmB;UAEnB,cAAA;;cAEH;;gBAEE;;;;SAIP;;UAEC;;;;;;;;;cAUI;;;;;cAMR;;;;;;;;GAQH,mBAAc,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import * as react_jsx_runtime6 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_runtime6.JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { GridProps as n, Grid as t };
|
|
23
|
+
//# sourceMappingURL=index-BSJlD_z1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BSJlD_z1.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,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|