@fuf-stack/uniform 1.18.0 → 1.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Checkboxes/index.d.cts +1 -1
- package/dist/Checkboxes/index.d.ts +1 -1
- package/dist/FieldArray/index.d.cts +1 -1
- package/dist/FieldArray/index.d.ts +1 -1
- package/dist/FieldCard/index.d.cts +1 -1
- package/dist/FieldCard/index.d.ts +1 -1
- package/dist/Form/index.d.cts +1 -1
- package/dist/Form/index.d.ts +1 -1
- package/dist/Grid/index.d.cts +1 -1
- package/dist/Grid/index.d.ts +1 -1
- package/dist/Input/index.d.cts +1 -1
- package/dist/Input/index.d.ts +1 -1
- package/dist/RadioBoxes/index.d.cts +1 -1
- package/dist/RadioBoxes/index.d.ts +1 -1
- package/dist/RadioTabs/index.d.cts +1 -1
- package/dist/RadioTabs/index.d.ts +1 -1
- package/dist/Radios/index.d.cts +1 -1
- package/dist/Radios/index.d.ts +1 -1
- package/dist/Select/index.d.cts +1 -1
- package/dist/Select/index.d.ts +1 -1
- package/dist/Slider/index.d.cts +1 -1
- package/dist/Slider/index.d.ts +1 -1
- package/dist/SubmitButton/index.d.cts +1 -1
- package/dist/SubmitButton/index.d.ts +1 -1
- package/dist/Switch/index.d.cts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/SwitchBox/index.cjs +1 -1
- package/dist/SwitchBox/index.d.cts +1 -1
- package/dist/SwitchBox/index.d.ts +1 -1
- package/dist/SwitchBox/index.js +1 -1
- package/dist/{SwitchBox-RfkVRDrE.js → SwitchBox-C-aLl2nX.js} +3 -3
- package/dist/SwitchBox-C-aLl2nX.js.map +1 -0
- package/dist/{SwitchBox-4G_qcERZ.cjs → SwitchBox-mGUPvJE0.cjs} +2 -2
- package/dist/SwitchBox-mGUPvJE0.cjs.map +1 -0
- package/dist/TextArea/index.d.cts +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/{index-BI_rLLgx.d.ts → index--NM5Ctp6.d.ts} +3 -3
- package/dist/{index-BI_rLLgx.d.ts.map → index--NM5Ctp6.d.ts.map} +1 -1
- package/dist/{index-B0WNiTKF.d.cts → index-B3ly1uwg.d.ts} +6 -6
- package/dist/{index-B_OYOLtc.d.ts.map → index-B3ly1uwg.d.ts.map} +1 -1
- package/dist/{index-CjbJYNFd.d.cts → index-BE6hzbN3.d.cts} +3 -3
- package/dist/{index-CjbJYNFd.d.cts.map → index-BE6hzbN3.d.cts.map} +1 -1
- package/dist/{index-Bi0RH8tW.d.ts → index-BRvTllFR.d.cts} +7 -7
- package/dist/{index-Dp-7JoRm.d.cts.map → index-BRvTllFR.d.cts.map} +1 -1
- package/dist/{index-Cbz1wgYP.d.ts → index-BdrSpcmR.d.ts} +4 -4
- package/dist/{index-Cbz1wgYP.d.ts.map → index-BdrSpcmR.d.ts.map} +1 -1
- package/dist/{index-DrKDlcRp.d.cts → index-Bg3AbFZf.d.ts} +6 -6
- package/dist/{index-BySLJ5JG.d.ts.map → index-Bg3AbFZf.d.ts.map} +1 -1
- package/dist/{index-DUbBP1s0.d.cts → index-BtX5upPu.d.cts} +34 -34
- package/dist/{index-DUbBP1s0.d.cts.map → index-BtX5upPu.d.cts.map} +1 -1
- package/dist/{index-BdTKCS0O.d.ts → index-BvRjEXt-.d.ts} +48 -48
- package/dist/{index-BdTKCS0O.d.ts.map → index-BvRjEXt-.d.ts.map} +1 -1
- package/dist/{index-DWK4jUn6.d.cts → index-C6iTO4TR.d.cts} +35 -35
- package/dist/{index-DWK4jUn6.d.cts.map → index-C6iTO4TR.d.cts.map} +1 -1
- package/dist/{index-BUbrPNtL.d.ts → index-CC2Rnywy.d.cts} +3 -3
- package/dist/index-CC2Rnywy.d.cts.map +1 -0
- package/dist/{index-BPc0O2Ds.d.ts → index-CHACvIcy.d.ts} +35 -35
- package/dist/{index-BPc0O2Ds.d.ts.map → index-CHACvIcy.d.ts.map} +1 -1
- package/dist/index-CM7UugT3.d.cts +278 -0
- package/dist/{index-C7t64NIn.d.cts.map → index-CM7UugT3.d.cts.map} +1 -1
- package/dist/{index-B3DXQvAA.d.cts → index-CUIi5IqH.d.cts} +3 -3
- package/dist/{index-B3DXQvAA.d.cts.map → index-CUIi5IqH.d.cts.map} +1 -1
- package/dist/{index-Dp-7JoRm.d.cts → index-CYbsLxVV.d.ts} +22 -22
- package/dist/{index-Bi0RH8tW.d.ts.map → index-CYbsLxVV.d.ts.map} +1 -1
- package/dist/{index-MThhiwEy.d.ts → index-C_EyZKET.d.cts} +6 -6
- package/dist/{index-DYSdHsro.d.cts.map → index-C_EyZKET.d.cts.map} +1 -1
- package/dist/index-Ca2ovPTq.d.ts +278 -0
- package/dist/{index-ChOoZHFX.d.ts.map → index-Ca2ovPTq.d.ts.map} +1 -1
- package/dist/{index-Nzma24Py.d.ts → index-CuNl43Zr.d.ts} +3 -3
- package/dist/{index-Nzma24Py.d.ts.map → index-CuNl43Zr.d.ts.map} +1 -1
- package/dist/{index-B_OYOLtc.d.ts → index-CxeYvJ7m.d.cts} +6 -6
- package/dist/{index-B0WNiTKF.d.cts.map → index-CxeYvJ7m.d.cts.map} +1 -1
- package/dist/{index-CDdjrJRs.d.ts → index-D0OJCk7N.d.ts} +34 -34
- package/dist/{index-CDdjrJRs.d.ts.map → index-D0OJCk7N.d.ts.map} +1 -1
- package/dist/{index-CELx_Pr_.d.ts → index-D3L2S2b3.d.cts} +20 -20
- package/dist/{index-CwtoC1DE.d.cts.map → index-D3L2S2b3.d.cts.map} +1 -1
- package/dist/{index-DYSdHsro.d.cts → index-D6strMx0.d.ts} +6 -6
- package/dist/{index-MThhiwEy.d.ts.map → index-D6strMx0.d.ts.map} +1 -1
- package/dist/{index-BuJ4i2G8.d.cts → index-DIMnCRyt.d.ts} +2 -2
- package/dist/{index-ABoI1QMc.d.ts.map → index-DIMnCRyt.d.ts.map} +1 -1
- package/dist/{index-BySLJ5JG.d.ts → index-D_iyWuBa.d.cts} +7 -7
- package/dist/{index-DrKDlcRp.d.cts.map → index-D_iyWuBa.d.cts.map} +1 -1
- package/dist/{index-Box1ZCLh.d.ts → index-DelQykFp.d.ts} +3 -3
- package/dist/{index-Box1ZCLh.d.ts.map → index-DelQykFp.d.ts.map} +1 -1
- package/dist/{index-htE4x59X.d.ts → index-DhayQWKz.d.ts} +6 -6
- package/dist/{index-htE4x59X.d.ts.map → index-DhayQWKz.d.ts.map} +1 -1
- package/dist/{index-CwtoC1DE.d.cts → index-DiFA3eG2.d.ts} +21 -21
- package/dist/{index-CELx_Pr_.d.ts.map → index-DiFA3eG2.d.ts.map} +1 -1
- package/dist/{index-BxTjmOVI.d.ts → index-Dkfbf-VN.d.ts} +36 -36
- package/dist/{index-BxTjmOVI.d.ts.map → index-Dkfbf-VN.d.ts.map} +1 -1
- package/dist/{index-CYMw1FYm.d.cts → index-DmlsX2k6.d.ts} +3 -3
- package/dist/index-DmlsX2k6.d.ts.map +1 -0
- package/dist/{index-CAMcAf2p.d.cts → index-DqY28C4j.d.cts} +4 -4
- package/dist/{index-CAMcAf2p.d.cts.map → index-DqY28C4j.d.cts.map} +1 -1
- package/dist/{index-SrU5788P.d.cts → index-DuJr42nE.d.cts} +3 -3
- package/dist/{index-SrU5788P.d.cts.map → index-DuJr42nE.d.cts.map} +1 -1
- package/dist/{index-RJd0nXDb.d.cts → index-HfbCo9ep.d.cts} +48 -48
- package/dist/{index-RJd0nXDb.d.cts.map → index-HfbCo9ep.d.cts.map} +1 -1
- package/dist/{index-ABoI1QMc.d.ts → index-NykXDzr-.d.cts} +3 -3
- package/dist/{index-BuJ4i2G8.d.cts.map → index-NykXDzr-.d.cts.map} +1 -1
- package/dist/{index-CluXcbJV.d.cts → index-QFAAtvOV.d.cts} +6 -6
- package/dist/{index-CluXcbJV.d.cts.map → index-QFAAtvOV.d.cts.map} +1 -1
- package/dist/{index-CGjAL8dg.d.cts → index-_6c2OwSa.d.cts} +36 -36
- package/dist/{index-CGjAL8dg.d.cts.map → index-_6c2OwSa.d.cts.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +17 -17
- package/dist/index.d.ts +17 -17
- package/dist/index.js +1 -1
- package/dist/partials/FieldCopyTestIdButton/index.d.cts +1 -1
- package/dist/partials/FieldCopyTestIdButton/index.d.ts +1 -1
- package/dist/partials/FieldValidationError/index.d.cts +1 -1
- package/dist/partials/FieldValidationError/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/SwitchBox-4G_qcERZ.cjs.map +0 -1
- package/dist/SwitchBox-RfkVRDrE.js.map +0 -1
- package/dist/index-BUbrPNtL.d.ts.map +0 -1
- package/dist/index-C7t64NIn.d.cts +0 -278
- package/dist/index-CYMw1FYm.d.cts.map +0 -1
- package/dist/index-ChOoZHFX.d.ts +0 -278
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "../index-
|
|
1
|
+
import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "../index-D_iyWuBa.cjs";
|
|
2
2
|
export { CheckboxOption, Checkboxes, Checkboxes as default, CheckboxesProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "../index-
|
|
1
|
+
import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "../index-Bg3AbFZf.js";
|
|
2
2
|
export { CheckboxOption, Checkboxes, Checkboxes as default, CheckboxesProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "../index-
|
|
1
|
+
import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "../index-CxeYvJ7m.cjs";
|
|
2
2
|
export { FieldArray, FieldArray as default, FieldArrayChildrenRenderFn, FieldArrayFeatures, FieldArrayProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "../index-
|
|
1
|
+
import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "../index-B3ly1uwg.js";
|
|
2
2
|
export { FieldArray, FieldArray as default, FieldArrayChildrenRenderFn, FieldArrayFeatures, FieldArrayProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "../index-
|
|
1
|
+
import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "../index-QFAAtvOV.cjs";
|
|
2
2
|
export { FieldCard, FieldCardProps, fieldCardVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "../index-
|
|
1
|
+
import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "../index-DhayQWKz.js";
|
|
2
2
|
export { FieldCard, FieldCardProps, fieldCardVariants };
|
package/dist/Form/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FormProps, t as Form } from "../index-
|
|
1
|
+
import { n as FormProps, t as Form } from "../index-BE6hzbN3.cjs";
|
|
2
2
|
export { Form, Form as default, FormProps };
|
package/dist/Form/index.d.ts
CHANGED
package/dist/Grid/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as GridProps, t as Grid } from "../index-
|
|
1
|
+
import { n as GridProps, t as Grid } from "../index-CUIi5IqH.cjs";
|
|
2
2
|
export { Grid, Grid as default, GridProps };
|
package/dist/Grid/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as GridProps, t as Grid } from "../index-
|
|
1
|
+
import { n as GridProps, t as Grid } from "../index-DelQykFp.js";
|
|
2
2
|
export { Grid, Grid as default, GridProps };
|
package/dist/Input/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as InputProps, t as Input } from "../index-
|
|
1
|
+
import { n as InputProps, t as Input } from "../index-BRvTllFR.cjs";
|
|
2
2
|
export { Input, Input as default, InputProps };
|
package/dist/Input/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as InputProps, t as Input } from "../index-
|
|
1
|
+
import { n as InputProps, t as Input } from "../index-CYbsLxVV.js";
|
|
2
2
|
export { Input, Input as default, InputProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "../index-
|
|
1
|
+
import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "../index-C6iTO4TR.cjs";
|
|
2
2
|
export { RadioBoxes, RadioBoxes as default, RadioBoxesProps, radioBoxVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "../index-
|
|
1
|
+
import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "../index-CHACvIcy.js";
|
|
2
2
|
export { RadioBoxes, RadioBoxes as default, RadioBoxesProps, radioBoxVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RadioTabsProps, t as RadioTabs } from "../index-
|
|
1
|
+
import { n as RadioTabsProps, t as RadioTabs } from "../index-DqY28C4j.cjs";
|
|
2
2
|
export { RadioTabs, RadioTabs as default, RadioTabsProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RadioTabsProps, t as RadioTabs } from "../index-
|
|
1
|
+
import { n as RadioTabsProps, t as RadioTabs } from "../index-BdrSpcmR.js";
|
|
2
2
|
export { RadioTabs, RadioTabs as default, RadioTabsProps };
|
package/dist/Radios/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RadiosProps, t as Radios } from "../index-
|
|
1
|
+
import { n as RadiosProps, t as Radios } from "../index-BtX5upPu.cjs";
|
|
2
2
|
export { Radios, Radios as default, RadiosProps };
|
package/dist/Radios/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RadiosProps, t as Radios } from "../index-
|
|
1
|
+
import { n as RadiosProps, t as Radios } from "../index-D0OJCk7N.js";
|
|
2
2
|
export { Radios, Radios as default, RadiosProps };
|
package/dist/Select/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SelectProps, t as Select } from "../index-
|
|
1
|
+
import { n as SelectProps, t as Select } from "../index-CM7UugT3.cjs";
|
|
2
2
|
export { Select, Select as default, SelectProps };
|
package/dist/Select/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SelectProps, t as Select } from "../index-
|
|
1
|
+
import { n as SelectProps, t as Select } from "../index-Ca2ovPTq.js";
|
|
2
2
|
export { Select, Select as default, SelectProps };
|
package/dist/Slider/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SliderProps, t as Slider } from "../index-
|
|
1
|
+
import { n as SliderProps, t as Slider } from "../index-HfbCo9ep.cjs";
|
|
2
2
|
export { Slider, Slider as default, SliderProps };
|
package/dist/Slider/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SliderProps, t as Slider } from "../index-
|
|
1
|
+
import { n as SliderProps, t as Slider } from "../index-BvRjEXt-.js";
|
|
2
2
|
export { Slider, Slider as default, SliderProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SubmitButtonProps, t as SubmitButton } from "../index-
|
|
1
|
+
import { n as SubmitButtonProps, t as SubmitButton } from "../index-NykXDzr-.cjs";
|
|
2
2
|
export { SubmitButton, SubmitButton as default, SubmitButtonProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SubmitButtonProps, t as SubmitButton } from "../index-
|
|
1
|
+
import { n as SubmitButtonProps, t as SubmitButton } from "../index-DIMnCRyt.js";
|
|
2
2
|
export { SubmitButton, SubmitButton as default, SubmitButtonProps };
|
package/dist/Switch/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SwitchProps, t as Switch } from "../index-
|
|
1
|
+
import { n as SwitchProps, t as Switch } from "../index-_6c2OwSa.cjs";
|
|
2
2
|
export { Switch, Switch as default, SwitchProps };
|
package/dist/Switch/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SwitchProps, t as Switch } from "../index-
|
|
1
|
+
import { n as SwitchProps, t as Switch } from "../index-Dkfbf-VN.js";
|
|
2
2
|
export { Switch, Switch as default, SwitchProps };
|
package/dist/SwitchBox/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const require_SwitchBox = require('../SwitchBox-
|
|
2
|
+
const require_SwitchBox = require('../SwitchBox-mGUPvJE0.cjs');
|
|
3
3
|
|
|
4
4
|
exports.SwitchBox = require_SwitchBox.SwitchBox_default$1;
|
|
5
5
|
exports.default = require_SwitchBox.SwitchBox_default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "../index-
|
|
1
|
+
import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "../index-C_EyZKET.cjs";
|
|
2
2
|
export { SwitchBox, SwitchBox as default, SwitchBoxProps, switchBoxVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "../index-
|
|
1
|
+
import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "../index-D6strMx0.js";
|
|
2
2
|
export { SwitchBox, SwitchBox as default, SwitchBoxProps, switchBoxVariants };
|
package/dist/SwitchBox/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as SwitchBox_default, r as switchBoxVariants, t as SwitchBox_default$1 } from "../SwitchBox-
|
|
1
|
+
import { n as SwitchBox_default, r as switchBoxVariants, t as SwitchBox_default$1 } from "../SwitchBox-C-aLl2nX.js";
|
|
2
2
|
|
|
3
3
|
export { SwitchBox_default as SwitchBox, SwitchBox_default$1 as default, switchBoxVariants };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as useUniformField } from "./useUniformField-C-Xyu-8v.js";
|
|
2
2
|
import { cn, tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
|
|
3
3
|
import { useRef } from "react";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { VisuallyHidden } from "@react-aria/visually-hidden";
|
|
6
6
|
import { useSwitch } from "@heroui/switch";
|
|
7
7
|
|
|
@@ -65,7 +65,7 @@ const SwitchBox = ({ className = void 0, description = void 0, icon = void 0, na
|
|
|
65
65
|
isInvalid: invalid,
|
|
66
66
|
size
|
|
67
67
|
}), className, "box");
|
|
68
|
-
return /* @__PURE__ */ jsxs(
|
|
68
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(Component, {
|
|
69
69
|
...getBaseProps(),
|
|
70
70
|
className: classNames.box,
|
|
71
71
|
"data-invalid": invalid,
|
|
@@ -153,4 +153,4 @@ var SwitchBox_default = SwitchBox_default$1;
|
|
|
153
153
|
|
|
154
154
|
//#endregion
|
|
155
155
|
export { SwitchBox_default$1 as n, switchBoxVariants as r, SwitchBox_default as t };
|
|
156
|
-
//# sourceMappingURL=SwitchBox-
|
|
156
|
+
//# sourceMappingURL=SwitchBox-C-aLl2nX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwitchBox-C-aLl2nX.js","names":["SwitchBox"],"sources":["../src/SwitchBox/SwitchBox.tsx","../src/SwitchBox/index.ts"],"sourcesContent":["import type { TVClassName } from '@fuf-stack/pixel-utils';\nimport type { SwitchProps as HeroSwitchProps } from '@heroui/switch';\nimport type { ReactNode } from 'react';\n\nimport { useRef } from 'react';\n\nimport { useSwitch } from '@heroui/switch';\nimport { VisuallyHidden } from '@react-aria/visually-hidden';\n\nimport { cn, tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\nimport { useUniformField } from '../hooks/useUniformField';\n\nexport const switchBoxVariants = tv({\n slots: {\n box: 'group inline-flex w-full cursor-pointer items-center justify-between rounded-lg border-2 border-default hover:bg-content2 data-[selected=true]:border-focus',\n description: 'text-foreground opacity-70',\n icon: '',\n label:\n 'font-medium text-foreground group-data-[required=true]:after:ml-0.5 group-data-[required=true]:after:text-danger group-data-[required=true]:after:content-[\"*\"]',\n wrapper: '',\n thumb: '',\n thumbIcon: '',\n },\n variants: {\n isDisabled: {\n true: {\n box: 'pointer-events-none opacity-disabled',\n },\n },\n isInvalid: {\n true: {\n box: '!border-danger',\n label: '!text-danger',\n },\n },\n size: {\n sm: {\n box: 'gap-2 p-3',\n description: 'text-xs',\n label: 'text-xs',\n },\n md: {\n box: 'gap-4 p-4',\n description: 'text-small',\n label: 'text-sm',\n },\n lg: {\n box: 'gap-4 p-5',\n description: 'text-small',\n label: 'text-base',\n },\n },\n },\n defaultVariants: {\n size: 'md',\n },\n});\n\ntype ClassName = TVClassName<typeof switchBoxVariants>;\n\nexport interface SwitchBoxProps {\n /** CSS class name */\n className?: ClassName;\n /** Description text displayed below the label */\n description?: ReactNode;\n /** whether the switch should be disabled */\n disabled?: boolean;\n /** Icon to be displayed in the box */\n icon?: ReactNode;\n /** component displayed as the label */\n label?: ReactNode;\n /** name the field is registered under */\n name: string;\n /** whether the field is required */\n required?: boolean;\n /* Size of the switch */\n size?: 'sm' | 'md' | 'lg';\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n /** Icon to be displayed inside the thumb */\n thumbIcon?: HeroSwitchProps['thumbIcon'];\n}\n\n/**\n * SwitchBox component - A card-like box with a switch control\n */\nconst SwitchBox = ({\n className = undefined,\n description = undefined,\n icon = undefined,\n name,\n size = undefined,\n thumbIcon = undefined,\n ...uniformFieldProps\n}: SwitchBoxProps) => {\n const {\n defaultValue,\n disabled,\n errorMessage,\n field,\n getErrorMessageProps,\n getHelperWrapperProps,\n invalid,\n label,\n onBlur,\n onChange,\n ref,\n required,\n testId,\n } = useUniformField({\n name,\n ...uniformFieldProps,\n });\n\n // Ref for the visual switch to forward focus\n const visualSwitchRef = useRef<HTMLInputElement>(null);\n\n // Use the useSwitch hook to get access to all the necessary props\n const {\n Component,\n slots,\n isSelected,\n getBaseProps,\n getInputProps,\n getWrapperProps,\n } = useSwitch({\n defaultSelected: !!defaultValue,\n isDisabled: disabled,\n isSelected: !!field.value,\n name: `${name}_switch`,\n onValueChange: onChange,\n size,\n thumbIcon,\n });\n\n // classNames from slots\n const variants = switchBoxVariants({\n isDisabled: disabled,\n isInvalid: invalid,\n size,\n });\n const classNames = variantsToClassNames(variants, className, 'box');\n\n return (\n <>\n <Component\n {...getBaseProps()}\n className={classNames.box}\n data-invalid={invalid}\n data-required={required}\n data-testid={testId}\n >\n <VisuallyHidden>\n <input\n ref={ref}\n aria-label={typeof label === 'string' ? label : name}\n checked={!!field.value}\n name={name}\n tabIndex={-1}\n type=\"checkbox\"\n onChange={(e) => {\n onChange(e.target.checked);\n }}\n onFocus={() => {\n // When RHF focuses this hidden input (e.g., on validation error),\n // forward focus to the visual switch to show focus ring\n visualSwitchRef.current?.focus();\n }}\n />\n {/* Visual switch input for focus ring */}\n <input\n ref={visualSwitchRef}\n {...getInputProps()}\n onBlur={(e) => {\n // Call HeroUI's internal onBlur to clear focus state and remove focus ring\n getInputProps().onBlur?.(e);\n // Then call RHF's onBlur to mark field as touched\n onBlur();\n }}\n />\n </VisuallyHidden>\n {!icon ? (\n <span\n {...getWrapperProps()}\n className={cn(getWrapperProps().className, classNames.wrapper)}\n >\n <span className={cn(slots.thumb({ class: classNames.thumb }))}>\n {thumbIcon && typeof thumbIcon === 'function'\n ? thumbIcon({\n isSelected: !!isSelected,\n className: slots.thumbIcon({ class: classNames.thumbIcon }),\n width: '1em',\n height: '1em',\n 'data-checked': isSelected ? 'true' : 'false',\n })\n : thumbIcon}\n </span>\n </span>\n ) : null}\n {icon ? <div className={classNames.icon}>{icon}</div> : null}\n <div className=\"grow\">\n {label ? <div className={classNames.label}>{label}</div> : null}\n {description ? (\n <div className={classNames.description}>{description}</div>\n ) : null}\n </div>\n {icon ? (\n <span\n {...getWrapperProps()}\n className={cn(getWrapperProps().className, classNames.wrapper)}\n >\n <span className={cn(slots.thumb({ class: classNames.thumb }))}>\n {thumbIcon && typeof thumbIcon === 'function'\n ? thumbIcon({\n isSelected: !!isSelected,\n className: slots.thumbIcon({ class: classNames.thumbIcon }),\n width: '1em',\n height: '1em',\n 'data-checked': isSelected ? 'true' : 'false',\n })\n : thumbIcon}\n </span>\n </span>\n ) : null}\n </Component>\n {invalid ? (\n <div\n {...getHelperWrapperProps()}\n className={cn(\n getHelperWrapperProps()?.className,\n // force helper to be visible (for some reason it's hidden by default) and remove margin\n 'ml-0 block',\n )}\n >\n <div {...getErrorMessageProps()}>{errorMessage}</div>\n </div>\n ) : null}\n </>\n );\n};\n\nexport default SwitchBox;\n","import SwitchBox from './SwitchBox';\n\nexport type { SwitchBoxProps } from './SwitchBox';\n\nexport { switchBoxVariants } from './SwitchBox';\nexport { SwitchBox };\n\nexport default SwitchBox;\n"],"mappings":"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"}
|
|
@@ -66,7 +66,7 @@ const SwitchBox = ({ className = void 0, description = void 0, icon = void 0, na
|
|
|
66
66
|
isInvalid: invalid,
|
|
67
67
|
size
|
|
68
68
|
}), className, "box");
|
|
69
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(
|
|
69
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(Component, {
|
|
70
70
|
...getBaseProps(),
|
|
71
71
|
className: classNames.box,
|
|
72
72
|
"data-invalid": invalid,
|
|
@@ -171,4 +171,4 @@ Object.defineProperty(exports, 'switchBoxVariants', {
|
|
|
171
171
|
return switchBoxVariants;
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
|
-
//# sourceMappingURL=SwitchBox-
|
|
174
|
+
//# sourceMappingURL=SwitchBox-mGUPvJE0.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwitchBox-mGUPvJE0.cjs","names":["useUniformField","VisuallyHidden","SwitchBox"],"sources":["../src/SwitchBox/SwitchBox.tsx","../src/SwitchBox/index.ts"],"sourcesContent":["import type { TVClassName } from '@fuf-stack/pixel-utils';\nimport type { SwitchProps as HeroSwitchProps } from '@heroui/switch';\nimport type { ReactNode } from 'react';\n\nimport { useRef } from 'react';\n\nimport { useSwitch } from '@heroui/switch';\nimport { VisuallyHidden } from '@react-aria/visually-hidden';\n\nimport { cn, tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\nimport { useUniformField } from '../hooks/useUniformField';\n\nexport const switchBoxVariants = tv({\n slots: {\n box: 'group inline-flex w-full cursor-pointer items-center justify-between rounded-lg border-2 border-default hover:bg-content2 data-[selected=true]:border-focus',\n description: 'text-foreground opacity-70',\n icon: '',\n label:\n 'font-medium text-foreground group-data-[required=true]:after:ml-0.5 group-data-[required=true]:after:text-danger group-data-[required=true]:after:content-[\"*\"]',\n wrapper: '',\n thumb: '',\n thumbIcon: '',\n },\n variants: {\n isDisabled: {\n true: {\n box: 'pointer-events-none opacity-disabled',\n },\n },\n isInvalid: {\n true: {\n box: '!border-danger',\n label: '!text-danger',\n },\n },\n size: {\n sm: {\n box: 'gap-2 p-3',\n description: 'text-xs',\n label: 'text-xs',\n },\n md: {\n box: 'gap-4 p-4',\n description: 'text-small',\n label: 'text-sm',\n },\n lg: {\n box: 'gap-4 p-5',\n description: 'text-small',\n label: 'text-base',\n },\n },\n },\n defaultVariants: {\n size: 'md',\n },\n});\n\ntype ClassName = TVClassName<typeof switchBoxVariants>;\n\nexport interface SwitchBoxProps {\n /** CSS class name */\n className?: ClassName;\n /** Description text displayed below the label */\n description?: ReactNode;\n /** whether the switch should be disabled */\n disabled?: boolean;\n /** Icon to be displayed in the box */\n icon?: ReactNode;\n /** component displayed as the label */\n label?: ReactNode;\n /** name the field is registered under */\n name: string;\n /** whether the field is required */\n required?: boolean;\n /* Size of the switch */\n size?: 'sm' | 'md' | 'lg';\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n /** Icon to be displayed inside the thumb */\n thumbIcon?: HeroSwitchProps['thumbIcon'];\n}\n\n/**\n * SwitchBox component - A card-like box with a switch control\n */\nconst SwitchBox = ({\n className = undefined,\n description = undefined,\n icon = undefined,\n name,\n size = undefined,\n thumbIcon = undefined,\n ...uniformFieldProps\n}: SwitchBoxProps) => {\n const {\n defaultValue,\n disabled,\n errorMessage,\n field,\n getErrorMessageProps,\n getHelperWrapperProps,\n invalid,\n label,\n onBlur,\n onChange,\n ref,\n required,\n testId,\n } = useUniformField({\n name,\n ...uniformFieldProps,\n });\n\n // Ref for the visual switch to forward focus\n const visualSwitchRef = useRef<HTMLInputElement>(null);\n\n // Use the useSwitch hook to get access to all the necessary props\n const {\n Component,\n slots,\n isSelected,\n getBaseProps,\n getInputProps,\n getWrapperProps,\n } = useSwitch({\n defaultSelected: !!defaultValue,\n isDisabled: disabled,\n isSelected: !!field.value,\n name: `${name}_switch`,\n onValueChange: onChange,\n size,\n thumbIcon,\n });\n\n // classNames from slots\n const variants = switchBoxVariants({\n isDisabled: disabled,\n isInvalid: invalid,\n size,\n });\n const classNames = variantsToClassNames(variants, className, 'box');\n\n return (\n <>\n <Component\n {...getBaseProps()}\n className={classNames.box}\n data-invalid={invalid}\n data-required={required}\n data-testid={testId}\n >\n <VisuallyHidden>\n <input\n ref={ref}\n aria-label={typeof label === 'string' ? label : name}\n checked={!!field.value}\n name={name}\n tabIndex={-1}\n type=\"checkbox\"\n onChange={(e) => {\n onChange(e.target.checked);\n }}\n onFocus={() => {\n // When RHF focuses this hidden input (e.g., on validation error),\n // forward focus to the visual switch to show focus ring\n visualSwitchRef.current?.focus();\n }}\n />\n {/* Visual switch input for focus ring */}\n <input\n ref={visualSwitchRef}\n {...getInputProps()}\n onBlur={(e) => {\n // Call HeroUI's internal onBlur to clear focus state and remove focus ring\n getInputProps().onBlur?.(e);\n // Then call RHF's onBlur to mark field as touched\n onBlur();\n }}\n />\n </VisuallyHidden>\n {!icon ? (\n <span\n {...getWrapperProps()}\n className={cn(getWrapperProps().className, classNames.wrapper)}\n >\n <span className={cn(slots.thumb({ class: classNames.thumb }))}>\n {thumbIcon && typeof thumbIcon === 'function'\n ? thumbIcon({\n isSelected: !!isSelected,\n className: slots.thumbIcon({ class: classNames.thumbIcon }),\n width: '1em',\n height: '1em',\n 'data-checked': isSelected ? 'true' : 'false',\n })\n : thumbIcon}\n </span>\n </span>\n ) : null}\n {icon ? <div className={classNames.icon}>{icon}</div> : null}\n <div className=\"grow\">\n {label ? <div className={classNames.label}>{label}</div> : null}\n {description ? (\n <div className={classNames.description}>{description}</div>\n ) : null}\n </div>\n {icon ? (\n <span\n {...getWrapperProps()}\n className={cn(getWrapperProps().className, classNames.wrapper)}\n >\n <span className={cn(slots.thumb({ class: classNames.thumb }))}>\n {thumbIcon && typeof thumbIcon === 'function'\n ? thumbIcon({\n isSelected: !!isSelected,\n className: slots.thumbIcon({ class: classNames.thumbIcon }),\n width: '1em',\n height: '1em',\n 'data-checked': isSelected ? 'true' : 'false',\n })\n : thumbIcon}\n </span>\n </span>\n ) : null}\n </Component>\n {invalid ? (\n <div\n {...getHelperWrapperProps()}\n className={cn(\n getHelperWrapperProps()?.className,\n // force helper to be visible (for some reason it's hidden by default) and remove margin\n 'ml-0 block',\n )}\n >\n <div {...getErrorMessageProps()}>{errorMessage}</div>\n </div>\n ) : null}\n </>\n );\n};\n\nexport default SwitchBox;\n","import SwitchBox from './SwitchBox';\n\nexport type { SwitchBoxProps } from './SwitchBox';\n\nexport { switchBoxVariants } from './SwitchBox';\nexport { SwitchBox };\n\nexport default SwitchBox;\n"],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TextAreaProps, t as TextArea } from "../index-
|
|
1
|
+
import { n as TextAreaProps, t as TextArea } from "../index-D3L2S2b3.cjs";
|
|
2
2
|
export { TextArea, TextArea as default, TextAreaProps };
|
package/dist/TextArea/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TextAreaProps, t as TextArea } from "../index-
|
|
1
|
+
import { n as TextAreaProps, t as TextArea } from "../index-DiFA3eG2.js";
|
|
2
2
|
export { TextArea, TextArea as default, TextAreaProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as DebugModeSettings } from "./FormContext-CCe8drkp.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
4
4
|
import { FieldValues, SubmitHandler } from "react-hook-form";
|
|
5
5
|
import { VetoInstance } from "@fuf-stack/veto";
|
|
6
6
|
|
|
@@ -38,7 +38,7 @@ declare const Form: ({
|
|
|
38
38
|
testId,
|
|
39
39
|
validation,
|
|
40
40
|
validationTrigger
|
|
41
|
-
}: FormProps) =>
|
|
41
|
+
}: FormProps) => react_jsx_runtime6.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { FormProps as n, Form as t };
|
|
44
|
-
//# sourceMappingURL=index
|
|
44
|
+
//# sourceMappingURL=index--NM5Ctp6.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index
|
|
1
|
+
{"version":3,"file":"index--NM5Ctp6.d.ts","names":[],"sources":["../src/Form/Form.tsx"],"mappings":";;;;;;;UAYiB,SAAA;;EAEf,QAAA,EAAU,SAAA,GAAY,SAAA;EAFP;EAIf,SAAA;;EAEA,KAAA,GAAQ,iBAAA;EAJc;EAMtB,aAAA,GAAgB,WAAA;EAAA;EAEhB,IAAA;EAEU;EAAV,QAAA,EAAU,aAAA,CAAc,WAAA;EAIC;EAFzB,MAAA;EAZA;EAcA,UAAA,GAAa,YAAA;EAdS;EAgBtB,iBAAA;AAAA;;;;cAMI,IAAA;EAAQ,QAAA;EAAA,SAAA;EAAA,KAAA;EAAA,aAAA;EAAA,IAAA;EAAA,QAAA;EAAA,MAAA;EAAA,UAAA;EAAA;AAAA,GAUX,SAAA,KAAS,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as tailwind_variants235 from "tailwind-variants";
|
|
2
|
-
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
3
1
|
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
4
2
|
import { CSSProperties, JSX, ReactNode } from "react";
|
|
3
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
4
|
+
import * as tailwind_variants96 from "tailwind-variants";
|
|
5
5
|
|
|
6
6
|
//#region src/FieldArray/subcomponents/FieldArrayElement.d.ts
|
|
7
7
|
interface FieldArrayElementMethods {
|
|
@@ -56,7 +56,7 @@ interface FieldArrayProps extends FieldArrayFeatures, VariantProps {
|
|
|
56
56
|
}
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/FieldArray/FieldArray.d.ts
|
|
59
|
-
declare const fieldArrayVariants:
|
|
59
|
+
declare const fieldArrayVariants: tailwind_variants96.TVReturnType<{
|
|
60
60
|
hasLabel: {
|
|
61
61
|
false: {
|
|
62
62
|
actionsMenuButton: string;
|
|
@@ -96,7 +96,7 @@ declare const fieldArrayVariants: tailwind_variants235.TVReturnType<{
|
|
|
96
96
|
listItemInner: string[]; /** class for the remove button */
|
|
97
97
|
removeButton: string[]; /** class for the sort drag handle */
|
|
98
98
|
sortDragHandle: string[];
|
|
99
|
-
},
|
|
99
|
+
}, tailwind_variants96.TVReturnType<{
|
|
100
100
|
hasLabel: {
|
|
101
101
|
false: {
|
|
102
102
|
actionsMenuButton: string;
|
|
@@ -133,7 +133,7 @@ declare const FieldArray: ({
|
|
|
133
133
|
name,
|
|
134
134
|
sortable,
|
|
135
135
|
...uniformFieldProps
|
|
136
|
-
}: FieldArrayProps) =>
|
|
136
|
+
}: FieldArrayProps) => react_jsx_runtime5.JSX.Element;
|
|
137
137
|
//#endregion
|
|
138
138
|
export { FieldArrayProps as i, FieldArrayChildrenRenderFn as n, FieldArrayFeatures as r, FieldArray as t };
|
|
139
|
-
//# sourceMappingURL=index-
|
|
139
|
+
//# sourceMappingURL=index-B3ly1uwg.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-B3ly1uwg.d.ts","names":[],"sources":["../src/FieldArray/subcomponents/FieldArrayElement.tsx","../src/FieldArray/types.ts","../src/FieldArray/FieldArray.tsx"],"mappings":";;;;;;UAiBiB,wBAAA;;EAEf,MAAA;;EAEA,SAAA;EAJuC;EAMvC,MAAA;EANuC;EAQvC,MAAA;AAAA;;;KCpBG,YAAA,GAAe,OAAA,QAAe,kBAAA;AAAA,KAC9B,SAAA,GAAY,WAAA,QAAmB,kBAAA;ADWpC;AAAA,KCRY,0BAAA,IAA8B,IAAA;wDAExC,KAAA,UDQA;ECNA,MAAA,UDUA;ECRA,OAAA,EAAS,wBAAA,EDUH;ECRN,IAAA;EAEA,MAAA;AAAA,MACI,GAAA,CAAI,OAAA;AAAA,UAEO,kBAAA;EAjBA;EAmBf,SAAA;EAnBkB;EAqBlB,WAAA;EApBG;EAsBH,QAAA;AAAA;AAAA,UAGe,eAAA,SAAwB,kBAAA,EAAoB,YAAA;EAzBP;EA2BpD,gBAAA;EAxBoC;EA0BpC,QAAA,EAAU,0BAAA;EAfK;EAiBf,SAAA,GAAY,SAAA;EAEZ,mBAAA;EAKA,mBAAA,GAAsB,aAAA;EA7Bb;EA+BT,IAAA;EA3BA;EA6BA,KAAA,GAAQ,SAAA;EA5BJ;EA8BJ,uBAAA;EA9Be;EAgCf,IAAA;EA9Be;EAgCf,MAAA;AAAA;;;cCzCW,kBAAA,EA0FX,mBAAA,CA1F6B,YAAA;;;;;;;;;EFM7B,6DAIA;+BAEM;;;mBCpBS;kBAAG;yBACf;;2BAAiD;0BAGhB;;;;;;;;;;;EAW5B,6DAAO;+BAEkB;0BAAA;+BAIjC;mBAEQ;kBAGO;;sBAMH;2BAWJ;0BAjBmD;;GCwE3D,mBAAA,CAAA,YAAA;;;;;;;;;ED3DA,6DAEA;+BAEQ;0BAIR;+BAEM;;;yBCiDN;sBA1F6B;;;;;;;;cA+FzB,UAAA;EAAc,gBAAA;EAAA,QAAA;EAAA,SAAA,EAAA,UAAA;EAAA,SAAA;EAAA,mBAAA,EAAA,oBAAA;EAAA,mBAAA;EAAA,IAAA;EAAA,WAAA;EAAA,uBAAA;EAAA,IAAA;EAAA,QAAA;EAAA,GAAA;AAAA,GAajB,eAAA,KAAe,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as DebugModeSettings } from "./FormContext-RSA21aDt.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { VetoInstance } from "@fuf-stack/veto";
|
|
5
5
|
import { FieldValues, SubmitHandler } from "react-hook-form";
|
|
@@ -38,7 +38,7 @@ declare const Form: ({
|
|
|
38
38
|
testId,
|
|
39
39
|
validation,
|
|
40
40
|
validationTrigger
|
|
41
|
-
}: FormProps) =>
|
|
41
|
+
}: FormProps) => react_jsx_runtime3.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { FormProps as n, Form as t };
|
|
44
|
-
//# sourceMappingURL=index-
|
|
44
|
+
//# sourceMappingURL=index-BE6hzbN3.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BE6hzbN3.d.cts","names":[],"sources":["../src/Form/Form.tsx"],"mappings":";;;;;;;UAYiB,SAAA;;EAEf,QAAA,EAAU,SAAA,GAAY,SAAA;EAFP;EAIf,SAAA;;EAEA,KAAA,GAAQ,iBAAA;EAJc;EAMtB,aAAA,GAAgB,WAAA;EAAA;EAEhB,IAAA;EAEU;EAAV,QAAA,EAAU,aAAA,CAAc,WAAA;EAIC;EAFzB,MAAA;EAZA;EAcA,UAAA,GAAa,YAAA;EAdS;EAgBtB,iBAAA;AAAA;;;;cAMI,IAAA;EAAQ,QAAA;EAAA,SAAA;EAAA,KAAA;EAAA,aAAA;EAAA,IAAA;EAAA,QAAA;EAAA,MAAA;EAAA,UAAA;EAAA;AAAA,GAUX,SAAA,KAAS,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as InputValueTransform } from "./useInputValueTransform-
|
|
1
|
+
import { t as InputValueTransform } from "./useInputValueTransform-CNCBU7a9.cjs";
|
|
2
|
+
import * as tailwind_variants0 from "tailwind-variants";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
4
|
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
3
5
|
import { ReactNode } from "react";
|
|
4
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
-
import * as tailwind_variants0 from "tailwind-variants";
|
|
6
6
|
|
|
7
7
|
//#region src/Input/Input.d.ts
|
|
8
8
|
declare const inputVariants: tailwind_variants0.TVReturnType<{
|
|
9
9
|
[key: string]: {
|
|
10
10
|
[key: string]: tailwind_variants0.ClassValue | {
|
|
11
11
|
base?: tailwind_variants0.ClassValue;
|
|
12
|
-
clearButton?: tailwind_variants0.ClassValue;
|
|
13
12
|
input?: tailwind_variants0.ClassValue;
|
|
13
|
+
clearButton?: tailwind_variants0.ClassValue;
|
|
14
14
|
inputWrapper?: tailwind_variants0.ClassValue;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
@@ -18,8 +18,8 @@ declare const inputVariants: tailwind_variants0.TVReturnType<{
|
|
|
18
18
|
[x: string]: {
|
|
19
19
|
[x: string]: tailwind_variants0.ClassValue | {
|
|
20
20
|
base?: tailwind_variants0.ClassValue;
|
|
21
|
-
clearButton?: tailwind_variants0.ClassValue;
|
|
22
21
|
input?: tailwind_variants0.ClassValue;
|
|
22
|
+
clearButton?: tailwind_variants0.ClassValue;
|
|
23
23
|
inputWrapper?: tailwind_variants0.ClassValue;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
@@ -32,8 +32,8 @@ declare const inputVariants: tailwind_variants0.TVReturnType<{
|
|
|
32
32
|
[key: string]: {
|
|
33
33
|
[key: string]: tailwind_variants0.ClassValue | {
|
|
34
34
|
base?: tailwind_variants0.ClassValue;
|
|
35
|
-
clearButton?: tailwind_variants0.ClassValue;
|
|
36
35
|
input?: tailwind_variants0.ClassValue;
|
|
36
|
+
clearButton?: tailwind_variants0.ClassValue;
|
|
37
37
|
inputWrapper?: tailwind_variants0.ClassValue;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
@@ -100,4 +100,4 @@ declare const Input: ({
|
|
|
100
100
|
}: InputProps) => react_jsx_runtime0.JSX.Element;
|
|
101
101
|
//#endregion
|
|
102
102
|
export { InputProps as n, Input as t };
|
|
103
|
-
//# sourceMappingURL=index-
|
|
103
|
+
//# sourceMappingURL=index-BRvTllFR.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BRvTllFR.d.cts","names":[],"sources":["../src/Input/Input.tsx"],"mappings":";;;;;;;cAca,aAAA,qBAAa,YAAA;EAAA;mBAWxB,kBAAA,CAAA,UAAA;;;;;;;;;;;;;;;;;;;iBAXwB;;;;;;;;;;;;;;;;;;;;;;KAarB,YAAA,GAAe,OAAA,QAAe,aAAA;AAAA,KAC9B,SAAA,GAAY,WAAA,QAAmB,aAAA;AAAA,UAEnB,UAAA,SAAmB,YAAA;;EAElC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,SAAA;;EAEA,aAAA;;EAEA,QAAA;;EAEA,UAAA,GAAa,SAAA;;EAEb,KAAA,GAAQ,SAAA;;EAER,IAAA;;EAEA,OAAA;EArBe;EAuBf,WAAA;EAvBkB;EAyBlB,IAAA;EAxBG;EA0BH,YAAA,GAAe,SAAA;;EAEf,MAAA;EA5B+C;EA8B/C,SAAA,GAAY,mBAAA;EA5Bc;EA8B1B,IAAA;AAAA;;;;cAMI,KAAA;EAAS,SAAA,EAAA,UAAA;EAAA,SAAA;EAAA,aAAA;EAAA,UAAA;EAAA,IAAA;EAAA,OAAA;EAAA,WAAA;EAAA,IAAA;EAAA,YAAA;EAAA,IAAA;EAAA,GAAA;AAAA,GAYZ,UAAA,KAAU,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
2
2
|
import { ReactElement, ReactNode } from "react";
|
|
3
3
|
import { TabsProps } from "@fuf-stack/pixels";
|
|
4
|
-
import * as
|
|
4
|
+
import * as tailwind_variants94 from "tailwind-variants";
|
|
5
5
|
|
|
6
6
|
//#region src/RadioTabs/RadioTabs.d.ts
|
|
7
|
-
declare const radioTabsVariants:
|
|
7
|
+
declare const radioTabsVariants: tailwind_variants94.TVReturnType<{
|
|
8
8
|
hasContent: {
|
|
9
9
|
true: {
|
|
10
10
|
base: string;
|
|
@@ -62,7 +62,7 @@ declare const radioTabsVariants: tailwind_variants60.TVReturnType<{
|
|
|
62
62
|
tabPanel: string;
|
|
63
63
|
tabWrapper: string;
|
|
64
64
|
wrapper: string;
|
|
65
|
-
},
|
|
65
|
+
}, tailwind_variants94.TVReturnType<{
|
|
66
66
|
hasContent: {
|
|
67
67
|
true: {
|
|
68
68
|
base: string;
|
|
@@ -145,4 +145,4 @@ declare const RadioTabs: ({
|
|
|
145
145
|
}: RadioTabsProps) => ReactElement;
|
|
146
146
|
//#endregion
|
|
147
147
|
export { RadioTabsProps as n, RadioTabs as t };
|
|
148
|
-
//# sourceMappingURL=index-
|
|
148
|
+
//# sourceMappingURL=index-BdrSpcmR.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BdrSpcmR.d.ts","names":[],"sources":["../src/RadioTabs/RadioTabs.tsx"],"mappings":";;;;;;cAgBa,iBAAA,EAsCX,mBAAA,CAtC4B,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsC5B,mBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEG,YAAA,GAAe,OAAA,QAAe,iBAAA;AAAA,KAC9B,SAAA,GAAY,WAAA,QAAmB,iBAAA;AAAA,UAEnB,eAAA;EAQC;EANhB,OAAA,GAAU,SAAA;EAAA;EAEV,QAAA;EAEA;EAAA,KAAA,GAAQ,SAAA;EAER;EAAA,IAAA,GAAO,SAAA;EAEP;EAAA,MAAA;EAEK;EAAL,KAAA;AAAA;AAAA,UAGe,cAAA,SAAuB,IAAA,CAAK,YAAA;;EAE3C,SAAA;EAEY;EAAZ,SAAA,GAAY,SAAA;EAYH;EAVT,QAAA;EANsC;EAQtC,SAAA;EAR0C;EAU1C,MAAA;EAV2C;EAY3C,KAAA,GAAQ,SAAA;EARR;EAUA,IAAA;EARA;EAUA,OAAA,EAAS,eAAA;EANT;EAQA,MAAA;EANQ;EAQR,OAAA,GAAU,SAAA;AAAA;;;;;cAON,SAAA;EAAa,SAAA;EAAA,SAAA;EAAA,MAAA;EAAA,IAAA;EAAA,OAAA;EAAA,OAAA;EAAA,GAAA;AAAA,GAQhB,cAAA,KAAiB,YAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as InputValueTransform } from "./useInputValueTransform-
|
|
2
|
-
import * as tailwind_variants256 from "tailwind-variants";
|
|
3
|
-
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
1
|
+
import { t as InputValueTransform } from "./useInputValueTransform-tsMNM7g_.js";
|
|
4
2
|
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
5
3
|
import { ReactNode } from "react";
|
|
4
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
5
|
+
import * as tailwind_variants180 from "tailwind-variants";
|
|
6
6
|
|
|
7
7
|
//#region src/Checkboxes/Checkboxes.d.ts
|
|
8
|
-
declare const checkboxesVariants:
|
|
8
|
+
declare const checkboxesVariants: tailwind_variants180.TVReturnType<{
|
|
9
9
|
color: {
|
|
10
10
|
readonly default: {
|
|
11
11
|
wrapper: string;
|
|
@@ -85,7 +85,7 @@ declare const checkboxesVariants: tailwind_variants256.TVReturnType<{
|
|
|
85
85
|
optionLabelSubline: string;
|
|
86
86
|
optionWrapper: string;
|
|
87
87
|
wrapper: string;
|
|
88
|
-
},
|
|
88
|
+
}, tailwind_variants180.TVReturnType<{
|
|
89
89
|
color: {
|
|
90
90
|
readonly default: {
|
|
91
91
|
wrapper: string;
|
|
@@ -178,4 +178,4 @@ declare const Checkboxes: ({
|
|
|
178
178
|
}: CheckboxesProps) => react_jsx_runtime12.JSX.Element;
|
|
179
179
|
//#endregion
|
|
180
180
|
export { Checkboxes as n, CheckboxesProps as r, CheckboxOption as t };
|
|
181
|
-
//# sourceMappingURL=index-
|
|
181
|
+
//# sourceMappingURL=index-Bg3AbFZf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-Bg3AbFZf.d.ts","names":[],"sources":["../src/Checkboxes/Checkboxes.tsx"],"mappings":";;;;;;;cAoBa,kBAAA,EAmCX,oBAAA,CAnC6B,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmC7B,oBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEG,YAAA,GAAe,OAAA,QAAe,kBAAA;AAAA,KAC9B,SAAA,GAAY,WAAA,QAAmB,kBAAA;AAAA,UAEnB,cAAA;EAyBP;EAvBR,KAAA,GAAQ,SAAA;EAiCI;EA/BZ,YAAA,GAAe,SAAA;EASoC;EAPnD,KAAA;EAOuC;EALvC,QAAA;EASA;EAPA,MAAA;AAAA;AAAA,UAGe,eAAA,SAAwB,YAAA;EAQvC;EANA,SAAA;EAUA;EARA,SAAA,GAAY,SAAA;EAUZ;EARA,KAAA,GAAQ,YAAA;EAYR;EAVA,QAAA;EAYA;EAVA,MAAA;EAYY;EAVZ,KAAA,GAAQ,SAAA;EAUuB;EAR/B,WAAA;EAuID;EArIC,IAAA;EAYkB;EAVlB,OAAA,EAAS,cAAA;EAUS;EARlB,MAAA;EAQkB;EANlB,SAAA,GAAY,mBAAA;AAAA;;;;cAMR,UAAA;EAAc,SAAA;EAAA,KAAA;EAAA,MAAA;EAAA,WAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,GAQjB,eAAA,KAAe,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants245 from "tailwind-variants";
|
|
2
2
|
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
3
3
|
import { ReactElement, ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/Radios/Radios.d.ts
|
|
6
|
-
declare const radiosVariants:
|
|
6
|
+
declare const radiosVariants: tailwind_variants245.TVReturnType<{
|
|
7
7
|
[key: string]: {
|
|
8
|
-
[key: string]:
|
|
9
|
-
base?:
|
|
10
|
-
label?:
|
|
11
|
-
wrapper?:
|
|
12
|
-
itemBase?:
|
|
13
|
-
itemControl?:
|
|
14
|
-
itemDescription?:
|
|
15
|
-
itemLabel?:
|
|
16
|
-
itemLabelWrapper?:
|
|
17
|
-
itemWrapper?:
|
|
8
|
+
[key: string]: tailwind_variants245.ClassValue | {
|
|
9
|
+
base?: tailwind_variants245.ClassValue;
|
|
10
|
+
label?: tailwind_variants245.ClassValue;
|
|
11
|
+
wrapper?: tailwind_variants245.ClassValue;
|
|
12
|
+
itemBase?: tailwind_variants245.ClassValue;
|
|
13
|
+
itemControl?: tailwind_variants245.ClassValue;
|
|
14
|
+
itemDescription?: tailwind_variants245.ClassValue;
|
|
15
|
+
itemLabel?: tailwind_variants245.ClassValue;
|
|
16
|
+
itemLabelWrapper?: tailwind_variants245.ClassValue;
|
|
17
|
+
itemWrapper?: tailwind_variants245.ClassValue;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
} | {
|
|
21
21
|
[x: string]: {
|
|
22
|
-
[x: string]:
|
|
23
|
-
base?:
|
|
24
|
-
label?:
|
|
25
|
-
wrapper?:
|
|
26
|
-
itemBase?:
|
|
27
|
-
itemControl?:
|
|
28
|
-
itemDescription?:
|
|
29
|
-
itemLabel?:
|
|
30
|
-
itemLabelWrapper?:
|
|
31
|
-
itemWrapper?:
|
|
22
|
+
[x: string]: tailwind_variants245.ClassValue | {
|
|
23
|
+
base?: tailwind_variants245.ClassValue;
|
|
24
|
+
label?: tailwind_variants245.ClassValue;
|
|
25
|
+
wrapper?: tailwind_variants245.ClassValue;
|
|
26
|
+
itemBase?: tailwind_variants245.ClassValue;
|
|
27
|
+
itemControl?: tailwind_variants245.ClassValue;
|
|
28
|
+
itemDescription?: tailwind_variants245.ClassValue;
|
|
29
|
+
itemLabel?: tailwind_variants245.ClassValue;
|
|
30
|
+
itemLabelWrapper?: tailwind_variants245.ClassValue;
|
|
31
|
+
itemWrapper?: tailwind_variants245.ClassValue;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
} | {}, {
|
|
@@ -43,16 +43,16 @@ declare const radiosVariants: tailwind_variants0.TVReturnType<{
|
|
|
43
43
|
wrapper: string;
|
|
44
44
|
}, undefined, {
|
|
45
45
|
[key: string]: {
|
|
46
|
-
[key: string]:
|
|
47
|
-
base?:
|
|
48
|
-
label?:
|
|
49
|
-
wrapper?:
|
|
50
|
-
itemBase?:
|
|
51
|
-
itemControl?:
|
|
52
|
-
itemDescription?:
|
|
53
|
-
itemLabel?:
|
|
54
|
-
itemLabelWrapper?:
|
|
55
|
-
itemWrapper?:
|
|
46
|
+
[key: string]: tailwind_variants245.ClassValue | {
|
|
47
|
+
base?: tailwind_variants245.ClassValue;
|
|
48
|
+
label?: tailwind_variants245.ClassValue;
|
|
49
|
+
wrapper?: tailwind_variants245.ClassValue;
|
|
50
|
+
itemBase?: tailwind_variants245.ClassValue;
|
|
51
|
+
itemControl?: tailwind_variants245.ClassValue;
|
|
52
|
+
itemDescription?: tailwind_variants245.ClassValue;
|
|
53
|
+
itemLabel?: tailwind_variants245.ClassValue;
|
|
54
|
+
itemLabelWrapper?: tailwind_variants245.ClassValue;
|
|
55
|
+
itemWrapper?: tailwind_variants245.ClassValue;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
58
|
} | {}, {
|
|
@@ -65,7 +65,7 @@ declare const radiosVariants: tailwind_variants0.TVReturnType<{
|
|
|
65
65
|
itemWrapper: string;
|
|
66
66
|
label: string;
|
|
67
67
|
wrapper: string;
|
|
68
|
-
},
|
|
68
|
+
}, tailwind_variants245.TVReturnType<unknown, {
|
|
69
69
|
base: string;
|
|
70
70
|
itemBase: string;
|
|
71
71
|
itemControl: string;
|
|
@@ -120,4 +120,4 @@ declare const Radios: ({
|
|
|
120
120
|
}: RadiosProps) => ReactElement;
|
|
121
121
|
//#endregion
|
|
122
122
|
export { RadiosProps as n, Radios as t };
|
|
123
|
-
//# sourceMappingURL=index-
|
|
123
|
+
//# sourceMappingURL=index-BtX5upPu.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BtX5upPu.d.cts","names":[],"sources":["../src/Radios/Radios.tsx"],"mappings":";;;;;cAaa,cAAA,uBAAc,YAAA;EAAA;mBAgBzB,oBAAA,CAAA,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEG,YAAA,GAAe,OAAA,QAAe,cAAA;AAAA,KAC9B,SAAA,GAAY,WAAA,QAAmB,cAAA;AAAA,UAEnB,WAAA;;EAEf,QAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,IAAA,GAAO,SAAA;;EAEP,MAAA;;EAEA,KAAA;AAAA;AAAA,UAGe,WAAA,SAAoB,YAAA;;EAEnC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,QAAA;;EAEA,MAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,IAAA;;EAEA,OAAA,EAAS,WAAA;;EAET,MAAA;AAAA;;;;cAMI,MAAA;EAAU,SAAA;EAAA,MAAA;EAAA,IAAA;EAAA,OAAA;EAAA,GAAA;AAAA,GAMb,WAAA,KAAc,YAAA"}
|