@fuf-stack/uniform 0.15.0 → 0.16.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/CheckboxGroup/index.cjs +6 -6
- package/dist/CheckboxGroup/index.d.cts +2 -2
- package/dist/CheckboxGroup/index.d.ts +2 -2
- package/dist/CheckboxGroup/index.js +5 -5
- package/dist/{CheckboxGroup-o-qWkWe1.d.cts → CheckboxGroup-fAdey3Td.d.cts} +1 -1
- package/dist/{CheckboxGroup-o-qWkWe1.d.ts → CheckboxGroup-fAdey3Td.d.ts} +1 -1
- package/dist/Controller/index.cjs +3 -3
- package/dist/Controller/index.js +2 -2
- package/dist/FieldArray/index.cjs +5 -5
- package/dist/FieldArray/index.d.cts +2 -2
- package/dist/FieldArray/index.d.ts +2 -2
- package/dist/FieldArray/index.js +4 -4
- package/dist/{FieldArray-AqM2XKIh.d.cts → FieldArray-jMjSqCZV.d.cts} +10 -4
- package/dist/{FieldArray-AqM2XKIh.d.ts → FieldArray-jMjSqCZV.d.ts} +10 -4
- package/dist/Form/index.cjs +4 -4
- package/dist/Form/index.js +3 -3
- package/dist/Input/index.cjs +6 -6
- package/dist/Input/index.d.cts +2 -2
- package/dist/Input/index.d.ts +2 -2
- package/dist/Input/index.js +5 -5
- package/dist/{Input-IkWP4cWg.d.cts → Input-B_wjhY9e.d.cts} +1 -1
- package/dist/{Input-IkWP4cWg.d.ts → Input-B_wjhY9e.d.ts} +1 -1
- package/dist/RadioGroup/index.cjs +6 -6
- package/dist/RadioGroup/index.d.cts +2 -2
- package/dist/RadioGroup/index.d.ts +2 -2
- package/dist/RadioGroup/index.js +5 -5
- package/dist/{RadioGroup-1J39ASHa.d.cts → RadioGroup-Dxd2FPQj.d.cts} +1 -1
- package/dist/{RadioGroup-1J39ASHa.d.ts → RadioGroup-Dxd2FPQj.d.ts} +1 -1
- package/dist/Select/index.cjs +6 -6
- package/dist/Select/index.d.cts +2 -2
- package/dist/Select/index.d.ts +2 -2
- package/dist/Select/index.js +5 -5
- package/dist/{Select-BhS4z0Pj.d.cts → Select-JRwrSDew.d.cts} +1 -1
- package/dist/{Select-BhS4z0Pj.d.ts → Select-JRwrSDew.d.ts} +1 -1
- package/dist/SubmitButton/index.cjs +4 -4
- package/dist/SubmitButton/index.js +3 -3
- package/dist/Switch/index.cjs +6 -6
- package/dist/Switch/index.d.cts +2 -2
- package/dist/Switch/index.d.ts +2 -2
- package/dist/Switch/index.js +5 -5
- package/dist/{Switch-Fdldj8LV.d.cts → Switch-mdolzzEc.d.cts} +1 -1
- package/dist/{Switch-Fdldj8LV.d.ts → Switch-mdolzzEc.d.ts} +1 -1
- package/dist/TextArea/index.cjs +6 -6
- package/dist/TextArea/index.d.cts +2 -2
- package/dist/TextArea/index.d.ts +2 -2
- package/dist/TextArea/index.js +5 -5
- package/dist/{TextArea-B-sKvTkd.d.cts → TextArea-DNpInDsW.d.cts} +1 -1
- package/dist/{TextArea-B-sKvTkd.d.ts → TextArea-DNpInDsW.d.ts} +1 -1
- package/dist/{chunk-U26GTLKF.js → chunk-3QBYSFDX.js} +6 -6
- package/dist/chunk-3QBYSFDX.js.map +1 -0
- package/dist/{chunk-WAXJ64P7.js → chunk-5YDNHSEU.js} +39 -36
- package/dist/chunk-5YDNHSEU.js.map +1 -0
- package/dist/chunk-7ROOJK7G.cjs +110 -0
- package/dist/chunk-7ROOJK7G.cjs.map +1 -0
- package/dist/{chunk-VX76MJAI.js → chunk-ASPOGQPS.js} +2 -5
- package/dist/chunk-ASPOGQPS.js.map +1 -0
- package/dist/{chunk-FLX6VIO7.cjs → chunk-BDVAK232.cjs} +11 -16
- package/dist/chunk-BDVAK232.cjs.map +1 -0
- package/dist/{chunk-4AXNPSXG.cjs → chunk-CESGUF6F.cjs} +3 -22
- package/dist/chunk-CESGUF6F.cjs.map +1 -0
- package/dist/{chunk-P4PRVNCH.js → chunk-DS7GUNDT.js} +4 -5
- package/dist/chunk-DS7GUNDT.js.map +1 -0
- package/dist/{chunk-W66BVPTB.js → chunk-ECDLVJLZ.js} +9 -11
- package/dist/chunk-ECDLVJLZ.js.map +1 -0
- package/dist/{chunk-UJYXA5AD.js → chunk-GNDW3TAU.js} +3 -6
- package/dist/chunk-GNDW3TAU.js.map +1 -0
- package/dist/{chunk-V7LRZ5GK.cjs → chunk-H65I56SI.cjs} +4 -7
- package/dist/chunk-H65I56SI.cjs.map +1 -0
- package/dist/{chunk-K43U2JVG.cjs → chunk-HCQJGNWT.cjs} +12 -14
- package/dist/chunk-HCQJGNWT.cjs.map +1 -0
- package/dist/{chunk-2NSCPLAA.cjs → chunk-IUVEFLF3.cjs} +6 -6
- package/dist/chunk-IUVEFLF3.cjs.map +1 -0
- package/dist/{chunk-4M6F2O2K.cjs → chunk-KIAIGPG7.cjs} +8 -8
- package/dist/chunk-KIAIGPG7.cjs.map +1 -0
- package/dist/{chunk-4EP3IGSK.cjs → chunk-M45PRDZB.cjs} +26 -24
- package/dist/chunk-M45PRDZB.cjs.map +1 -0
- package/dist/{chunk-3Q37222E.js → chunk-MEK7YR46.js} +6 -6
- package/dist/chunk-MEK7YR46.js.map +1 -0
- package/dist/{chunk-C4RM2JSD.cjs → chunk-OE5IW4ZG.cjs} +4 -7
- package/dist/chunk-OE5IW4ZG.cjs.map +1 -0
- package/dist/{chunk-V5HTEMWZ.cjs → chunk-PHGFXKPU.cjs} +4 -4
- package/dist/{chunk-V5HTEMWZ.cjs.map → chunk-PHGFXKPU.cjs.map} +1 -1
- package/dist/{chunk-QLQR44AD.cjs → chunk-Q23XGBJ5.cjs} +7 -8
- package/dist/chunk-Q23XGBJ5.cjs.map +1 -0
- package/dist/{chunk-2LAPLELO.js → chunk-STU7SBQX.js} +10 -12
- package/dist/chunk-STU7SBQX.js.map +1 -0
- package/dist/{chunk-MRXNKY72.js → chunk-T4N6TMUL.js} +4 -4
- package/dist/chunk-T4N6TMUL.js.map +1 -0
- package/dist/{chunk-IEF2GJ22.js → chunk-UAV6PVB4.js} +2 -21
- package/dist/chunk-UAV6PVB4.js.map +1 -0
- package/dist/{chunk-7HK64PN5.js → chunk-WKJN5A2E.js} +9 -14
- package/dist/chunk-WKJN5A2E.js.map +1 -0
- package/dist/{chunk-MF4JB3YT.cjs → chunk-WRIXKFKW.cjs} +13 -15
- package/dist/chunk-WRIXKFKW.cjs.map +1 -0
- package/dist/{chunk-OBQDQ4RX.js → chunk-XHN2YAIC.js} +18 -16
- package/dist/chunk-XHN2YAIC.js.map +1 -0
- package/dist/{chunk-Y4AUJ2YA.cjs → chunk-Y7MJBI4A.cjs} +8 -8
- package/dist/chunk-Y7MJBI4A.cjs.map +1 -0
- package/dist/{chunk-4EJS5FXY.js → chunk-ZI22WT2P.js} +2 -2
- package/dist/helpers/index.cjs +2 -4
- package/dist/helpers/index.cjs.map +1 -1
- package/dist/helpers/index.d.cts +1 -5
- package/dist/helpers/index.d.ts +1 -5
- package/dist/helpers/index.js +1 -3
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.d.cts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +14 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -10
- package/dist/index.d.ts +9 -10
- package/dist/index.js +15 -17
- package/dist/partials/FieldValidationError/index.cjs +2 -3
- package/dist/partials/FieldValidationError/index.cjs.map +1 -1
- package/dist/partials/FieldValidationError/index.js +1 -2
- package/package.json +19 -21
- package/dist/chunk-2LAPLELO.js.map +0 -1
- package/dist/chunk-2NSCPLAA.cjs.map +0 -1
- package/dist/chunk-3Q37222E.js.map +0 -1
- package/dist/chunk-4AXNPSXG.cjs.map +0 -1
- package/dist/chunk-4EP3IGSK.cjs.map +0 -1
- package/dist/chunk-4M6F2O2K.cjs.map +0 -1
- package/dist/chunk-7HK64PN5.js.map +0 -1
- package/dist/chunk-C4RM2JSD.cjs.map +0 -1
- package/dist/chunk-F6KTQXWG.cjs +0 -107
- package/dist/chunk-F6KTQXWG.cjs.map +0 -1
- package/dist/chunk-FLX6VIO7.cjs.map +0 -1
- package/dist/chunk-IEF2GJ22.js.map +0 -1
- package/dist/chunk-K43U2JVG.cjs.map +0 -1
- package/dist/chunk-MF4JB3YT.cjs.map +0 -1
- package/dist/chunk-MRXNKY72.js.map +0 -1
- package/dist/chunk-OBQDQ4RX.js.map +0 -1
- package/dist/chunk-P4PRVNCH.js.map +0 -1
- package/dist/chunk-QLQR44AD.cjs.map +0 -1
- package/dist/chunk-U26GTLKF.js.map +0 -1
- package/dist/chunk-UJYXA5AD.js.map +0 -1
- package/dist/chunk-V7LRZ5GK.cjs.map +0 -1
- package/dist/chunk-VX76MJAI.js.map +0 -1
- package/dist/chunk-W66BVPTB.js.map +0 -1
- package/dist/chunk-WAXJ64P7.js.map +0 -1
- package/dist/chunk-Y4AUJ2YA.cjs.map +0 -1
- /package/dist/{chunk-4EJS5FXY.js.map → chunk-ZI22WT2P.js.map} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkBDVAK232cjs = require('../chunk-BDVAK232.cjs');
|
|
5
|
+
require('../chunk-PHGFXKPU.cjs');
|
|
6
6
|
require('../chunk-JU5RT22Y.cjs');
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-OE5IW4ZG.cjs');
|
|
8
|
+
require('../chunk-IUVEFLF3.cjs');
|
|
9
|
+
require('../chunk-CESGUF6F.cjs');
|
|
10
10
|
require('../chunk-4DAZAO6Y.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.CheckboxGroup =
|
|
14
|
+
exports.CheckboxGroup = _chunkBDVAK232cjs.CheckboxGroup_default; exports.default = _chunkBDVAK232cjs.CheckboxGroup_default2;
|
|
15
15
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CheckboxGroup } from '../CheckboxGroup-
|
|
2
|
-
export { b as CheckboxGroupOption, a as CheckboxGroupProps } from '../CheckboxGroup-
|
|
1
|
+
import { C as CheckboxGroup } from '../CheckboxGroup-fAdey3Td.cjs';
|
|
2
|
+
export { b as CheckboxGroupOption, a as CheckboxGroupProps } from '../CheckboxGroup-fAdey3Td.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CheckboxGroup } from '../CheckboxGroup-
|
|
2
|
-
export { b as CheckboxGroupOption, a as CheckboxGroupProps } from '../CheckboxGroup-
|
|
1
|
+
import { C as CheckboxGroup } from '../CheckboxGroup-fAdey3Td.js';
|
|
2
|
+
export { b as CheckboxGroupOption, a as CheckboxGroupProps } from '../CheckboxGroup-fAdey3Td.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CheckboxGroup_default,
|
|
3
3
|
CheckboxGroup_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-WKJN5A2E.js";
|
|
5
|
+
import "../chunk-ZI22WT2P.js";
|
|
6
6
|
import "../chunk-2CRY7VDQ.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-ASPOGQPS.js";
|
|
8
|
+
import "../chunk-T4N6TMUL.js";
|
|
9
|
+
import "../chunk-UAV6PVB4.js";
|
|
10
10
|
import "../chunk-CRTRMMJ7.js";
|
|
11
11
|
export {
|
|
12
12
|
CheckboxGroup_default as CheckboxGroup,
|
|
@@ -123,7 +123,7 @@ interface CheckboxGroupProps extends VariantProps {
|
|
|
123
123
|
testId?: string;
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
|
-
* CheckboxGroup component based on [
|
|
126
|
+
* CheckboxGroup component based on [HeroUI CheckboxGroup](https://www.heroui.com//docs/components/checkbox-group)
|
|
127
127
|
*/
|
|
128
128
|
declare const CheckboxGroup: ({ className, label, options, disabled, name, testId: _testId, }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
|
|
129
129
|
|
|
@@ -123,7 +123,7 @@ interface CheckboxGroupProps extends VariantProps {
|
|
|
123
123
|
testId?: string;
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
|
-
* CheckboxGroup component based on [
|
|
126
|
+
* CheckboxGroup component based on [HeroUI CheckboxGroup](https://www.heroui.com//docs/components/checkbox-group)
|
|
127
127
|
*/
|
|
128
128
|
declare const CheckboxGroup: ({ className, label, options, disabled, name, testId: _testId, }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
|
|
129
129
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkPHGFXKPUcjs = require('../chunk-PHGFXKPU.cjs');
|
|
5
|
+
require('../chunk-CESGUF6F.cjs');
|
|
6
6
|
require('../chunk-4DAZAO6Y.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Controller =
|
|
10
|
+
exports.Controller = _chunkPHGFXKPUcjs.Controller_default; exports.default = _chunkPHGFXKPUcjs.Controller_default2;
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Controller/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Controller_default,
|
|
3
3
|
Controller_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-ZI22WT2P.js";
|
|
5
|
+
import "../chunk-UAV6PVB4.js";
|
|
6
6
|
import "../chunk-CRTRMMJ7.js";
|
|
7
7
|
export {
|
|
8
8
|
Controller_default as Controller,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkM45PRDZBcjs = require('../chunk-M45PRDZB.cjs');
|
|
5
5
|
require('../chunk-JU5RT22Y.cjs');
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-OE5IW4ZG.cjs');
|
|
7
|
+
require('../chunk-IUVEFLF3.cjs');
|
|
8
|
+
require('../chunk-CESGUF6F.cjs');
|
|
9
9
|
require('../chunk-4DAZAO6Y.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.FieldArray =
|
|
13
|
+
exports.FieldArray = _chunkM45PRDZBcjs.FieldArray_default; exports.default = _chunkM45PRDZBcjs.FieldArray_default2;
|
|
14
14
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FieldArray } from '../FieldArray-
|
|
2
|
-
export { a as FieldArrayChildrenRenderFn, b as FieldArrayFeatures, c as FieldArrayProps } from '../FieldArray-
|
|
1
|
+
import { F as FieldArray } from '../FieldArray-jMjSqCZV.cjs';
|
|
2
|
+
export { a as FieldArrayChildrenRenderFn, b as FieldArrayFeatures, c as FieldArrayProps } from '../FieldArray-jMjSqCZV.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FieldArray } from '../FieldArray-
|
|
2
|
-
export { a as FieldArrayChildrenRenderFn, b as FieldArrayFeatures, c as FieldArrayProps } from '../FieldArray-
|
|
1
|
+
import { F as FieldArray } from '../FieldArray-jMjSqCZV.js';
|
|
2
|
+
export { a as FieldArrayChildrenRenderFn, b as FieldArrayFeatures, c as FieldArrayProps } from '../FieldArray-jMjSqCZV.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
package/dist/FieldArray/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FieldArray_default,
|
|
3
3
|
FieldArray_default2
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-XHN2YAIC.js";
|
|
5
5
|
import "../chunk-2CRY7VDQ.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-ASPOGQPS.js";
|
|
7
|
+
import "../chunk-T4N6TMUL.js";
|
|
8
|
+
import "../chunk-UAV6PVB4.js";
|
|
9
9
|
import "../chunk-CRTRMMJ7.js";
|
|
10
10
|
export {
|
|
11
11
|
FieldArray_default as FieldArray,
|
|
@@ -17,11 +17,17 @@ type FieldArrayElementMethods = {
|
|
|
17
17
|
|
|
18
18
|
type VariantProps = TVProps<typeof fieldArrayVariants>;
|
|
19
19
|
type ClassName = TVClassName<typeof fieldArrayVariants>;
|
|
20
|
+
/** provided all data and methods to render a field array element */
|
|
20
21
|
type FieldArrayChildrenRenderFn = (args: {
|
|
22
|
+
/** index of the current element in the field array */
|
|
21
23
|
index: number;
|
|
24
|
+
/** total length of the field array */
|
|
22
25
|
length: number;
|
|
26
|
+
/** methods of the current element to change the field array */
|
|
23
27
|
methods: FieldArrayElementMethods;
|
|
28
|
+
/** HTML data-testid attribute used in e2e tests of the current element */
|
|
24
29
|
name: string;
|
|
30
|
+
/** field name of the current element */
|
|
25
31
|
testId: string;
|
|
26
32
|
}) => JSX.Element;
|
|
27
33
|
interface FieldArrayFeatures {
|
|
@@ -42,8 +48,8 @@ interface FieldArrayProps extends FieldArrayFeatures, VariantProps {
|
|
|
42
48
|
elementInitialValue?: unknown;
|
|
43
49
|
/** label of the field array */
|
|
44
50
|
label?: React.ReactNode;
|
|
45
|
-
/** when true last element can not be
|
|
46
|
-
|
|
51
|
+
/** when true (default false) last element can not be removed and will be shown even if field array is empty */
|
|
52
|
+
lastElementNotRemovable?: boolean;
|
|
47
53
|
/** form field name */
|
|
48
54
|
name: string;
|
|
49
55
|
/** HTML data-testid attribute used in e2e tests */
|
|
@@ -144,8 +150,8 @@ declare const fieldArrayVariants: tailwind_variants.TVReturnType<{
|
|
|
144
150
|
};
|
|
145
151
|
} | {}>, unknown, unknown, undefined>>;
|
|
146
152
|
/**
|
|
147
|
-
* FieldArray component
|
|
153
|
+
* FieldArray component based in [RHF useFieldArray](https://react-hook-form.com/docs/usefieldarray)
|
|
148
154
|
*/
|
|
149
|
-
declare const FieldArray: ({ appendButtonText, children, className: _className, duplicate, elementInitialValue: _elementInitialValue, insertAfter, label: _label,
|
|
155
|
+
declare const FieldArray: ({ appendButtonText, children, className: _className, duplicate, elementInitialValue: _elementInitialValue, insertAfter, label: _label, lastElementNotRemovable, name, sortable, testId: _testId, }: FieldArrayProps) => react_jsx_runtime.JSX.Element;
|
|
150
156
|
|
|
151
157
|
export { FieldArray as F, type FieldArrayChildrenRenderFn as a, type FieldArrayFeatures as b, type FieldArrayProps as c };
|
|
@@ -17,11 +17,17 @@ type FieldArrayElementMethods = {
|
|
|
17
17
|
|
|
18
18
|
type VariantProps = TVProps<typeof fieldArrayVariants>;
|
|
19
19
|
type ClassName = TVClassName<typeof fieldArrayVariants>;
|
|
20
|
+
/** provided all data and methods to render a field array element */
|
|
20
21
|
type FieldArrayChildrenRenderFn = (args: {
|
|
22
|
+
/** index of the current element in the field array */
|
|
21
23
|
index: number;
|
|
24
|
+
/** total length of the field array */
|
|
22
25
|
length: number;
|
|
26
|
+
/** methods of the current element to change the field array */
|
|
23
27
|
methods: FieldArrayElementMethods;
|
|
28
|
+
/** HTML data-testid attribute used in e2e tests of the current element */
|
|
24
29
|
name: string;
|
|
30
|
+
/** field name of the current element */
|
|
25
31
|
testId: string;
|
|
26
32
|
}) => JSX.Element;
|
|
27
33
|
interface FieldArrayFeatures {
|
|
@@ -42,8 +48,8 @@ interface FieldArrayProps extends FieldArrayFeatures, VariantProps {
|
|
|
42
48
|
elementInitialValue?: unknown;
|
|
43
49
|
/** label of the field array */
|
|
44
50
|
label?: React.ReactNode;
|
|
45
|
-
/** when true last element can not be
|
|
46
|
-
|
|
51
|
+
/** when true (default false) last element can not be removed and will be shown even if field array is empty */
|
|
52
|
+
lastElementNotRemovable?: boolean;
|
|
47
53
|
/** form field name */
|
|
48
54
|
name: string;
|
|
49
55
|
/** HTML data-testid attribute used in e2e tests */
|
|
@@ -144,8 +150,8 @@ declare const fieldArrayVariants: tailwind_variants.TVReturnType<{
|
|
|
144
150
|
};
|
|
145
151
|
} | {}>, unknown, unknown, undefined>>;
|
|
146
152
|
/**
|
|
147
|
-
* FieldArray component
|
|
153
|
+
* FieldArray component based in [RHF useFieldArray](https://react-hook-form.com/docs/usefieldarray)
|
|
148
154
|
*/
|
|
149
|
-
declare const FieldArray: ({ appendButtonText, children, className: _className, duplicate, elementInitialValue: _elementInitialValue, insertAfter, label: _label,
|
|
155
|
+
declare const FieldArray: ({ appendButtonText, children, className: _className, duplicate, elementInitialValue: _elementInitialValue, insertAfter, label: _label, lastElementNotRemovable, name, sortable, testId: _testId, }: FieldArrayProps) => react_jsx_runtime.JSX.Element;
|
|
150
156
|
|
|
151
157
|
export { FieldArray as F, type FieldArrayChildrenRenderFn as a, type FieldArrayFeatures as b, type FieldArrayProps as c };
|
package/dist/Form/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
4
|
+
var _chunkQ23XGBJ5cjs = require('../chunk-Q23XGBJ5.cjs');
|
|
5
|
+
require('../chunk-IUVEFLF3.cjs');
|
|
6
|
+
require('../chunk-CESGUF6F.cjs');
|
|
7
7
|
require('../chunk-4DAZAO6Y.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Form =
|
|
11
|
+
exports.Form = _chunkQ23XGBJ5cjs.Form_default; exports.default = _chunkQ23XGBJ5cjs.Form_default2;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Form/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Form_default,
|
|
3
3
|
Form_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-DS7GUNDT.js";
|
|
5
|
+
import "../chunk-T4N6TMUL.js";
|
|
6
|
+
import "../chunk-UAV6PVB4.js";
|
|
7
7
|
import "../chunk-CRTRMMJ7.js";
|
|
8
8
|
export {
|
|
9
9
|
Form_default as Form,
|
package/dist/Input/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkY7MJBI4Acjs = require('../chunk-Y7MJBI4A.cjs');
|
|
5
|
+
require('../chunk-PHGFXKPU.cjs');
|
|
6
6
|
require('../chunk-JU5RT22Y.cjs');
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-OE5IW4ZG.cjs');
|
|
8
|
+
require('../chunk-IUVEFLF3.cjs');
|
|
9
|
+
require('../chunk-CESGUF6F.cjs');
|
|
10
10
|
require('../chunk-4DAZAO6Y.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.Input =
|
|
14
|
+
exports.Input = _chunkY7MJBI4Acjs.Input_default; exports.default = _chunkY7MJBI4Acjs.Input_default2;
|
|
15
15
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Input/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as Input } from '../Input-
|
|
2
|
-
export { a as InputProps } from '../Input-
|
|
1
|
+
import { I as Input } from '../Input-B_wjhY9e.cjs';
|
|
2
|
+
export { a as InputProps } from '../Input-B_wjhY9e.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
package/dist/Input/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as Input } from '../Input-
|
|
2
|
-
export { a as InputProps } from '../Input-
|
|
1
|
+
import { I as Input } from '../Input-B_wjhY9e.js';
|
|
2
|
+
export { a as InputProps } from '../Input-B_wjhY9e.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
package/dist/Input/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Input_default,
|
|
3
3
|
Input_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-MEK7YR46.js";
|
|
5
|
+
import "../chunk-ZI22WT2P.js";
|
|
6
6
|
import "../chunk-2CRY7VDQ.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-ASPOGQPS.js";
|
|
8
|
+
import "../chunk-T4N6TMUL.js";
|
|
9
|
+
import "../chunk-UAV6PVB4.js";
|
|
10
10
|
import "../chunk-CRTRMMJ7.js";
|
|
11
11
|
export {
|
|
12
12
|
Input_default as Input,
|
|
@@ -29,7 +29,7 @@ interface InputProps {
|
|
|
29
29
|
type?: 'number' | 'password';
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
* Input component based on [
|
|
32
|
+
* Input component based on [HeroUI Input](https://www.heroui.com//docs/components/input)
|
|
33
33
|
*/
|
|
34
34
|
declare const Input: ({ className, disabled, endContent, label, name, placeholder, startContent, testId: _testId, transformValue, type, }: InputProps) => react_jsx_runtime.JSX.Element;
|
|
35
35
|
|
|
@@ -29,7 +29,7 @@ interface InputProps {
|
|
|
29
29
|
type?: 'number' | 'password';
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
* Input component based on [
|
|
32
|
+
* Input component based on [HeroUI Input](https://www.heroui.com//docs/components/input)
|
|
33
33
|
*/
|
|
34
34
|
declare const Input: ({ className, disabled, endContent, label, name, placeholder, startContent, testId: _testId, transformValue, type, }: InputProps) => react_jsx_runtime.JSX.Element;
|
|
35
35
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkWRIXKFKWcjs = require('../chunk-WRIXKFKW.cjs');
|
|
5
|
+
require('../chunk-PHGFXKPU.cjs');
|
|
6
6
|
require('../chunk-JU5RT22Y.cjs');
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-OE5IW4ZG.cjs');
|
|
8
|
+
require('../chunk-IUVEFLF3.cjs');
|
|
9
|
+
require('../chunk-CESGUF6F.cjs');
|
|
10
10
|
require('../chunk-4DAZAO6Y.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.RadioGroup =
|
|
14
|
+
exports.RadioGroup = _chunkWRIXKFKWcjs.RadioGroup_default; exports.default = _chunkWRIXKFKWcjs.RadioGroup_default2;
|
|
15
15
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RadioGroup } from '../RadioGroup-
|
|
2
|
-
export { a as RadioGroupProps } from '../RadioGroup-
|
|
1
|
+
import { R as RadioGroup } from '../RadioGroup-Dxd2FPQj.cjs';
|
|
2
|
+
export { a as RadioGroupProps } from '../RadioGroup-Dxd2FPQj.cjs';
|
|
3
3
|
import 'tailwind-variants/dist/config.js';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import '@fuf-stack/pixel-utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RadioGroup } from '../RadioGroup-
|
|
2
|
-
export { a as RadioGroupProps } from '../RadioGroup-
|
|
1
|
+
import { R as RadioGroup } from '../RadioGroup-Dxd2FPQj.js';
|
|
2
|
+
export { a as RadioGroupProps } from '../RadioGroup-Dxd2FPQj.js';
|
|
3
3
|
import 'tailwind-variants/dist/config.js';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import '@fuf-stack/pixel-utils';
|
package/dist/RadioGroup/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RadioGroup_default,
|
|
3
3
|
RadioGroup_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-STU7SBQX.js";
|
|
5
|
+
import "../chunk-ZI22WT2P.js";
|
|
6
6
|
import "../chunk-2CRY7VDQ.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-ASPOGQPS.js";
|
|
8
|
+
import "../chunk-T4N6TMUL.js";
|
|
9
|
+
import "../chunk-UAV6PVB4.js";
|
|
10
10
|
import "../chunk-CRTRMMJ7.js";
|
|
11
11
|
export {
|
|
12
12
|
RadioGroup_default as RadioGroup,
|
|
@@ -196,7 +196,7 @@ interface RadioGroupProps<V extends 'default' | 'radioBox' | 'radioButton' | 'ta
|
|
|
196
196
|
variant?: V;
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
|
-
* RadioGroup component based on [
|
|
199
|
+
* RadioGroup component based on [HeroUI RadioGroup](https://www.heroui.com//docs/components/radio-group)
|
|
200
200
|
*/
|
|
201
201
|
declare const RadioGroup: ({ className, disabled, inline, label, name, options, testId: _testId, variant, }: RadioGroupProps<"default" | "radioBox" | "radioButton" | "tabs">) => ReactElement;
|
|
202
202
|
|
|
@@ -196,7 +196,7 @@ interface RadioGroupProps<V extends 'default' | 'radioBox' | 'radioButton' | 'ta
|
|
|
196
196
|
variant?: V;
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
|
-
* RadioGroup component based on [
|
|
199
|
+
* RadioGroup component based on [HeroUI RadioGroup](https://www.heroui.com//docs/components/radio-group)
|
|
200
200
|
*/
|
|
201
201
|
declare const RadioGroup: ({ className, disabled, inline, label, name, options, testId: _testId, variant, }: RadioGroupProps<"default" | "radioBox" | "radioButton" | "tabs">) => ReactElement;
|
|
202
202
|
|
package/dist/Select/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkHCQJGNWTcjs = require('../chunk-HCQJGNWT.cjs');
|
|
5
|
+
require('../chunk-PHGFXKPU.cjs');
|
|
6
6
|
require('../chunk-JU5RT22Y.cjs');
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-OE5IW4ZG.cjs');
|
|
8
|
+
require('../chunk-IUVEFLF3.cjs');
|
|
9
|
+
require('../chunk-CESGUF6F.cjs');
|
|
10
10
|
require('../chunk-4DAZAO6Y.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.Select =
|
|
14
|
+
exports.Select = _chunkHCQJGNWTcjs.Select_default; exports.default = _chunkHCQJGNWTcjs.Select_default2;
|
|
15
15
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Select/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Select } from '../Select-
|
|
2
|
-
export { a as SelectProps } from '../Select-
|
|
1
|
+
import { S as Select } from '../Select-JRwrSDew.cjs';
|
|
2
|
+
export { a as SelectProps } from '../Select-JRwrSDew.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
package/dist/Select/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Select } from '../Select-
|
|
2
|
-
export { a as SelectProps } from '../Select-
|
|
1
|
+
import { S as Select } from '../Select-JRwrSDew.js';
|
|
2
|
+
export { a as SelectProps } from '../Select-JRwrSDew.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
package/dist/Select/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Select_default,
|
|
3
3
|
Select_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-ECDLVJLZ.js";
|
|
5
|
+
import "../chunk-ZI22WT2P.js";
|
|
6
6
|
import "../chunk-2CRY7VDQ.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-ASPOGQPS.js";
|
|
8
|
+
import "../chunk-T4N6TMUL.js";
|
|
9
|
+
import "../chunk-UAV6PVB4.js";
|
|
10
10
|
import "../chunk-CRTRMMJ7.js";
|
|
11
11
|
export {
|
|
12
12
|
Select_default as Select,
|
|
@@ -311,7 +311,7 @@ interface SelectProps extends VariantProps {
|
|
|
311
311
|
/** HTML data-testid attribute used in e2e tests */
|
|
312
312
|
testId?: string;
|
|
313
313
|
}
|
|
314
|
-
/** Select component based on [
|
|
314
|
+
/** Select component based on [HeroUI Select](https://www.heroui.com//docs/components/select) and [React-Select](https://react-select.com/home) */
|
|
315
315
|
declare const Select: ({ className, clearable, disabled, filterOption, renderOptionLabel, inputValue, label: _label, loading, multiSelect, name, onInputChange, options, placeholder, testId: _testId, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
|
316
316
|
|
|
317
317
|
export { Select as S, type SelectProps as a };
|
|
@@ -311,7 +311,7 @@ interface SelectProps extends VariantProps {
|
|
|
311
311
|
/** HTML data-testid attribute used in e2e tests */
|
|
312
312
|
testId?: string;
|
|
313
313
|
}
|
|
314
|
-
/** Select component based on [
|
|
314
|
+
/** Select component based on [HeroUI Select](https://www.heroui.com//docs/components/select) and [React-Select](https://react-select.com/home) */
|
|
315
315
|
declare const Select: ({ className, clearable, disabled, filterOption, renderOptionLabel, inputValue, label: _label, loading, multiSelect, name, onInputChange, options, placeholder, testId: _testId, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
|
316
316
|
|
|
317
317
|
export { Select as S, type SelectProps as a };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
4
|
+
var _chunkH65I56SIcjs = require('../chunk-H65I56SI.cjs');
|
|
5
|
+
require('../chunk-IUVEFLF3.cjs');
|
|
6
|
+
require('../chunk-CESGUF6F.cjs');
|
|
7
7
|
require('../chunk-4DAZAO6Y.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.SubmitButton =
|
|
11
|
+
exports.SubmitButton = _chunkH65I56SIcjs.SubmitButton_default; exports.default = _chunkH65I56SIcjs.SubmitButton_default2;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SubmitButton_default,
|
|
3
3
|
SubmitButton_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-GNDW3TAU.js";
|
|
5
|
+
import "../chunk-T4N6TMUL.js";
|
|
6
|
+
import "../chunk-UAV6PVB4.js";
|
|
7
7
|
import "../chunk-CRTRMMJ7.js";
|
|
8
8
|
export {
|
|
9
9
|
SubmitButton_default as SubmitButton,
|
package/dist/Switch/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunk7ROOJK7Gcjs = require('../chunk-7ROOJK7G.cjs');
|
|
5
|
+
require('../chunk-PHGFXKPU.cjs');
|
|
6
6
|
require('../chunk-JU5RT22Y.cjs');
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-OE5IW4ZG.cjs');
|
|
8
|
+
require('../chunk-IUVEFLF3.cjs');
|
|
9
|
+
require('../chunk-CESGUF6F.cjs');
|
|
10
10
|
require('../chunk-4DAZAO6Y.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.Switch =
|
|
14
|
+
exports.Switch = _chunk7ROOJK7Gcjs.Switch_default; exports.default = _chunk7ROOJK7Gcjs.Switch_default2;
|
|
15
15
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Switch/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Switch } from '../Switch-
|
|
2
|
-
export { a as SwitchProps } from '../Switch-
|
|
1
|
+
import { S as Switch } from '../Switch-mdolzzEc.cjs';
|
|
2
|
+
export { a as SwitchProps } from '../Switch-mdolzzEc.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
package/dist/Switch/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Switch } from '../Switch-
|
|
2
|
-
export { a as SwitchProps } from '../Switch-
|
|
1
|
+
import { S as Switch } from '../Switch-mdolzzEc.js';
|
|
2
|
+
export { a as SwitchProps } from '../Switch-mdolzzEc.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
package/dist/Switch/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Switch_default,
|
|
3
3
|
Switch_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-5YDNHSEU.js";
|
|
5
|
+
import "../chunk-ZI22WT2P.js";
|
|
6
6
|
import "../chunk-2CRY7VDQ.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-ASPOGQPS.js";
|
|
8
|
+
import "../chunk-T4N6TMUL.js";
|
|
9
|
+
import "../chunk-UAV6PVB4.js";
|
|
10
10
|
import "../chunk-CRTRMMJ7.js";
|
|
11
11
|
export {
|
|
12
12
|
Switch_default as Switch,
|