@fuf-stack/uniform 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/FieldArray/index.cjs +13 -0
  2. package/dist/FieldArray/index.cjs.map +1 -0
  3. package/dist/FieldArray/index.d.cts +8 -0
  4. package/dist/FieldArray/index.d.ts +8 -0
  5. package/dist/FieldArray/index.js +13 -0
  6. package/dist/FieldArray/index.js.map +1 -0
  7. package/dist/FieldArray-DUvn98Fe.d.cts +27 -0
  8. package/dist/FieldArray-DUvn98Fe.d.ts +27 -0
  9. package/dist/Input/index.cjs +3 -3
  10. package/dist/Input/index.js +2 -2
  11. package/dist/RadioGroup/index.cjs +13 -0
  12. package/dist/RadioGroup/index.cjs.map +1 -0
  13. package/dist/RadioGroup/index.d.cts +7 -0
  14. package/dist/RadioGroup/index.d.ts +7 -0
  15. package/dist/RadioGroup/index.js +13 -0
  16. package/dist/RadioGroup/index.js.map +1 -0
  17. package/dist/RadioGroup-BU4K9cnS.d.cts +40 -0
  18. package/dist/RadioGroup-BU4K9cnS.d.ts +40 -0
  19. package/dist/Select/index.cjs +13 -0
  20. package/dist/Select/index.cjs.map +1 -0
  21. package/dist/Select/index.d.cts +8 -0
  22. package/dist/Select/index.d.ts +8 -0
  23. package/dist/Select/index.js +13 -0
  24. package/dist/Select/index.js.map +1 -0
  25. package/dist/Select-Mp6Y00dT.d.cts +40 -0
  26. package/dist/Select-Mp6Y00dT.d.ts +40 -0
  27. package/dist/Switch/index.cjs +13 -0
  28. package/dist/Switch/index.cjs.map +1 -0
  29. package/dist/Switch/index.d.cts +7 -0
  30. package/dist/Switch/index.d.ts +7 -0
  31. package/dist/Switch/index.js +13 -0
  32. package/dist/Switch/index.js.map +1 -0
  33. package/dist/Switch-DmjDKgKs.d.cts +20 -0
  34. package/dist/Switch-DmjDKgKs.d.ts +20 -0
  35. package/dist/TextArea/index.cjs +13 -0
  36. package/dist/TextArea/index.cjs.map +1 -0
  37. package/dist/TextArea/index.d.cts +8 -0
  38. package/dist/TextArea/index.d.ts +8 -0
  39. package/dist/TextArea/index.js +13 -0
  40. package/dist/TextArea/index.js.map +1 -0
  41. package/dist/TextArea-B-sKvTkd.d.cts +25 -0
  42. package/dist/TextArea-B-sKvTkd.d.ts +25 -0
  43. package/dist/{chunk-OYXZQOGU.js → chunk-2Z3YMYNN.js} +4 -4
  44. package/dist/chunk-4IT2WVQK.cjs +76 -0
  45. package/dist/chunk-4IT2WVQK.cjs.map +1 -0
  46. package/dist/chunk-6NZVSPFX.js +76 -0
  47. package/dist/chunk-6NZVSPFX.js.map +1 -0
  48. package/dist/chunk-BIJVBXOG.js +205 -0
  49. package/dist/chunk-BIJVBXOG.js.map +1 -0
  50. package/dist/chunk-CRKMTDKU.js +239 -0
  51. package/dist/chunk-CRKMTDKU.js.map +1 -0
  52. package/dist/chunk-EXYTFHEJ.js +81 -0
  53. package/dist/chunk-EXYTFHEJ.js.map +1 -0
  54. package/dist/chunk-I22ICCUC.cjs +205 -0
  55. package/dist/chunk-I22ICCUC.cjs.map +1 -0
  56. package/dist/chunk-I26DVRVR.js +287 -0
  57. package/dist/chunk-I26DVRVR.js.map +1 -0
  58. package/dist/chunk-NVJKXQ5W.cjs +239 -0
  59. package/dist/chunk-NVJKXQ5W.cjs.map +1 -0
  60. package/dist/chunk-OS4SMYPO.cjs +287 -0
  61. package/dist/chunk-OS4SMYPO.cjs.map +1 -0
  62. package/dist/{chunk-2CKPLOCK.cjs → chunk-VO7ZM3KY.cjs} +4 -4
  63. package/dist/chunk-XY7ZZARS.cjs +81 -0
  64. package/dist/chunk-XY7ZZARS.cjs.map +1 -0
  65. package/dist/hooks/index.d.cts +2 -2
  66. package/dist/hooks/index.d.ts +2 -2
  67. package/dist/index.cjs +24 -4
  68. package/dist/index.d.cts +7 -1
  69. package/dist/index.d.ts +7 -1
  70. package/dist/index.js +26 -6
  71. package/package.json +38 -13
  72. /package/dist/{chunk-OYXZQOGU.js.map → chunk-2Z3YMYNN.js.map} +0 -0
  73. /package/dist/{chunk-2CKPLOCK.cjs.map → chunk-VO7ZM3KY.cjs.map} +0 -0
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkOS4SMYPOcjs = require('../chunk-OS4SMYPO.cjs');
5
+ require('../chunk-HT3LKDHX.cjs');
6
+ require('../chunk-QTL5FREE.cjs');
7
+ require('../chunk-WQRM7G4C.cjs');
8
+ require('../chunk-BBB4FEY6.cjs');
9
+
10
+
11
+
12
+ exports.FieldArray = _chunkOS4SMYPOcjs.FieldArray_default; exports.default = _chunkOS4SMYPOcjs.FieldArray_default2;
13
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { F as FieldArray } from '../FieldArray-DUvn98Fe.cjs';
2
+ export { c as FieldArrayFieldChildren, b as FieldArrayHideOption, a as FieldArrayProps } from '../FieldArray-DUvn98Fe.cjs';
3
+ import 'react/jsx-runtime';
4
+ import 'react-hook-form';
5
+
6
+
7
+
8
+ export { FieldArray, FieldArray as default };
@@ -0,0 +1,8 @@
1
+ import { F as FieldArray } from '../FieldArray-DUvn98Fe.js';
2
+ export { c as FieldArrayFieldChildren, b as FieldArrayHideOption, a as FieldArrayProps } from '../FieldArray-DUvn98Fe.js';
3
+ import 'react/jsx-runtime';
4
+ import 'react-hook-form';
5
+
6
+
7
+
8
+ export { FieldArray, FieldArray as default };
@@ -0,0 +1,13 @@
1
+ import {
2
+ FieldArray_default,
3
+ FieldArray_default2
4
+ } from "../chunk-I26DVRVR.js";
5
+ import "../chunk-OV5RMSYD.js";
6
+ import "../chunk-DBLODROX.js";
7
+ import "../chunk-BCMPSLSG.js";
8
+ import "../chunk-V46BHM2U.js";
9
+ export {
10
+ FieldArray_default as FieldArray,
11
+ FieldArray_default2 as default
12
+ };
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,27 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { UseFieldArrayMove, UseFieldArrayInsert, FieldValues, UseFieldArrayRemove } from 'react-hook-form';
3
+
4
+ type FieldArrayHideOption = 'add' | 'remove' | 'move' | 'insert' | 'all';
5
+ type FieldArrayFieldChildren = (name: string, index: number, length: number, move: UseFieldArrayMove, insert: UseFieldArrayInsert<FieldValues, string>, remove: UseFieldArrayRemove, duplicate: (i: number) => void) => JSX.Element;
6
+ type MoveField = 'drag-drop' | 'button';
7
+ interface FieldArrayProps {
8
+ /** function that renders the children with provided Properties. */
9
+ children: FieldArrayFieldChildren;
10
+ /** Hide a set of buttons. */
11
+ hideButtons?: FieldArrayHideOption[];
12
+ /** label of the FieldArray. */
13
+ label?: React.ReactNode;
14
+ /** stops user from deleting all items. */
15
+ lastNotDeletable?: boolean;
16
+ /** name the FieldArray is registered in RHF */
17
+ name: string;
18
+ /** ID for test purposes. */
19
+ testId?: string;
20
+ moveField: MoveField[];
21
+ }
22
+ /**
23
+ * FieldArray component using react-hook-form
24
+ */
25
+ declare const FieldArray: ({ children, hideButtons, label: _label, lastNotDeletable, name, testId: _testId, moveField, }: FieldArrayProps) => react_jsx_runtime.JSX.Element;
26
+
27
+ export { FieldArray as F, type FieldArrayProps as a, type FieldArrayHideOption as b, type FieldArrayFieldChildren as c };
@@ -0,0 +1,27 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { UseFieldArrayMove, UseFieldArrayInsert, FieldValues, UseFieldArrayRemove } from 'react-hook-form';
3
+
4
+ type FieldArrayHideOption = 'add' | 'remove' | 'move' | 'insert' | 'all';
5
+ type FieldArrayFieldChildren = (name: string, index: number, length: number, move: UseFieldArrayMove, insert: UseFieldArrayInsert<FieldValues, string>, remove: UseFieldArrayRemove, duplicate: (i: number) => void) => JSX.Element;
6
+ type MoveField = 'drag-drop' | 'button';
7
+ interface FieldArrayProps {
8
+ /** function that renders the children with provided Properties. */
9
+ children: FieldArrayFieldChildren;
10
+ /** Hide a set of buttons. */
11
+ hideButtons?: FieldArrayHideOption[];
12
+ /** label of the FieldArray. */
13
+ label?: React.ReactNode;
14
+ /** stops user from deleting all items. */
15
+ lastNotDeletable?: boolean;
16
+ /** name the FieldArray is registered in RHF */
17
+ name: string;
18
+ /** ID for test purposes. */
19
+ testId?: string;
20
+ moveField: MoveField[];
21
+ }
22
+ /**
23
+ * FieldArray component using react-hook-form
24
+ */
25
+ declare const FieldArray: ({ children, hideButtons, label: _label, lastNotDeletable, name, testId: _testId, moveField, }: FieldArrayProps) => react_jsx_runtime.JSX.Element;
26
+
27
+ export { FieldArray as F, type FieldArrayProps as a, type FieldArrayHideOption as b, type FieldArrayFieldChildren as c };
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk2CKPLOCKcjs = require('../chunk-2CKPLOCK.cjs');
4
+ var _chunkVO7ZM3KYcjs = require('../chunk-VO7ZM3KY.cjs');
5
+ require('../chunk-HT3LKDHX.cjs');
5
6
  require('../chunk-QTL5FREE.cjs');
6
7
  require('../chunk-WQRM7G4C.cjs');
7
8
  require('../chunk-BBB4FEY6.cjs');
8
- require('../chunk-HT3LKDHX.cjs');
9
9
 
10
10
 
11
11
 
12
- exports.Input = _chunk2CKPLOCKcjs.Input_default; exports.default = _chunk2CKPLOCKcjs.Input_default2;
12
+ exports.Input = _chunkVO7ZM3KYcjs.Input_default; exports.default = _chunkVO7ZM3KYcjs.Input_default2;
13
13
  //# sourceMappingURL=index.cjs.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Input_default,
3
3
  Input_default2
4
- } from "../chunk-OYXZQOGU.js";
4
+ } from "../chunk-2Z3YMYNN.js";
5
+ import "../chunk-OV5RMSYD.js";
5
6
  import "../chunk-DBLODROX.js";
6
7
  import "../chunk-BCMPSLSG.js";
7
8
  import "../chunk-V46BHM2U.js";
8
- import "../chunk-OV5RMSYD.js";
9
9
  export {
10
10
  Input_default as Input,
11
11
  Input_default2 as default
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkI22ICCUCcjs = require('../chunk-I22ICCUC.cjs');
5
+ require('../chunk-HT3LKDHX.cjs');
6
+ require('../chunk-QTL5FREE.cjs');
7
+ require('../chunk-WQRM7G4C.cjs');
8
+ require('../chunk-BBB4FEY6.cjs');
9
+
10
+
11
+
12
+ exports.RadioGroup = _chunkI22ICCUCcjs.RadioGroup_default; exports.default = _chunkI22ICCUCcjs.RadioGroup_default2;
13
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { R as RadioGroup } from '../RadioGroup-BU4K9cnS.cjs';
2
+ export { a as RadioGroupProps } from '../RadioGroup-BU4K9cnS.cjs';
3
+ import 'react';
4
+
5
+
6
+
7
+ export { RadioGroup, RadioGroup as default };
@@ -0,0 +1,7 @@
1
+ import { R as RadioGroup } from '../RadioGroup-BU4K9cnS.js';
2
+ export { a as RadioGroupProps } from '../RadioGroup-BU4K9cnS.js';
3
+ import 'react';
4
+
5
+
6
+
7
+ export { RadioGroup, RadioGroup as default };
@@ -0,0 +1,13 @@
1
+ import {
2
+ RadioGroup_default,
3
+ RadioGroup_default2
4
+ } from "../chunk-BIJVBXOG.js";
5
+ import "../chunk-OV5RMSYD.js";
6
+ import "../chunk-DBLODROX.js";
7
+ import "../chunk-BCMPSLSG.js";
8
+ import "../chunk-V46BHM2U.js";
9
+ export {
10
+ RadioGroup_default as RadioGroup,
11
+ RadioGroup_default2 as default
12
+ };
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,40 @@
1
+ import { ReactNode, ReactElement } from 'react';
2
+
3
+ interface RadioGroupOption {
4
+ /** Description of the value. Works with variant radioBox. */
5
+ description?: React.ReactNode;
6
+ /** disables the option */
7
+ disabled?: boolean;
8
+ /** option label */
9
+ label?: React.ReactNode;
10
+ /** option icon */
11
+ icon?: ReactNode;
12
+ /** HTML data-testid attribute of the option */
13
+ testId?: string;
14
+ /** option value */
15
+ value: string;
16
+ }
17
+ interface RadioGroupProps {
18
+ /** CSS class name */
19
+ className?: string;
20
+ /** Determines if the Buttons are disabled or not. */
21
+ disabled?: boolean;
22
+ /** determines orientation of the Buttons. */
23
+ inline?: boolean;
24
+ /** Label displayed next to the RadioButton. */
25
+ label?: ReactNode;
26
+ /** Name the RadioButtons are registered at in HTML forms (react-hook-form). */
27
+ name: string;
28
+ /** Radio button configuration. */
29
+ options: RadioGroupOption[];
30
+ /** Id to grab element in internal tests. */
31
+ testId?: string;
32
+ /** How the RadioGroup should look like. */
33
+ variant?: 'default' | 'radioBox' | 'radioButton';
34
+ }
35
+ /**
36
+ * RadioGroup component based on [NextUI RadioGroup](https://nextui.org/docs/components/radio-group)
37
+ */
38
+ declare const RadioGroup: ({ className, disabled, inline, label, name, options, testId: _testId, variant, }: RadioGroupProps) => ReactElement;
39
+
40
+ export { RadioGroup as R, type RadioGroupProps as a };
@@ -0,0 +1,40 @@
1
+ import { ReactNode, ReactElement } from 'react';
2
+
3
+ interface RadioGroupOption {
4
+ /** Description of the value. Works with variant radioBox. */
5
+ description?: React.ReactNode;
6
+ /** disables the option */
7
+ disabled?: boolean;
8
+ /** option label */
9
+ label?: React.ReactNode;
10
+ /** option icon */
11
+ icon?: ReactNode;
12
+ /** HTML data-testid attribute of the option */
13
+ testId?: string;
14
+ /** option value */
15
+ value: string;
16
+ }
17
+ interface RadioGroupProps {
18
+ /** CSS class name */
19
+ className?: string;
20
+ /** Determines if the Buttons are disabled or not. */
21
+ disabled?: boolean;
22
+ /** determines orientation of the Buttons. */
23
+ inline?: boolean;
24
+ /** Label displayed next to the RadioButton. */
25
+ label?: ReactNode;
26
+ /** Name the RadioButtons are registered at in HTML forms (react-hook-form). */
27
+ name: string;
28
+ /** Radio button configuration. */
29
+ options: RadioGroupOption[];
30
+ /** Id to grab element in internal tests. */
31
+ testId?: string;
32
+ /** How the RadioGroup should look like. */
33
+ variant?: 'default' | 'radioBox' | 'radioButton';
34
+ }
35
+ /**
36
+ * RadioGroup component based on [NextUI RadioGroup](https://nextui.org/docs/components/radio-group)
37
+ */
38
+ declare const RadioGroup: ({ className, disabled, inline, label, name, options, testId: _testId, variant, }: RadioGroupProps) => ReactElement;
39
+
40
+ export { RadioGroup as R, type RadioGroupProps as a };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkNVJKXQ5Wcjs = require('../chunk-NVJKXQ5W.cjs');
5
+ require('../chunk-HT3LKDHX.cjs');
6
+ require('../chunk-QTL5FREE.cjs');
7
+ require('../chunk-WQRM7G4C.cjs');
8
+ require('../chunk-BBB4FEY6.cjs');
9
+
10
+
11
+
12
+ exports.Select = _chunkNVJKXQ5Wcjs.Select_default; exports.default = _chunkNVJKXQ5Wcjs.Select_default2;
13
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { S as Select } from '../Select-Mp6Y00dT.cjs';
2
+ export { a as SelectProps } from '../Select-Mp6Y00dT.cjs';
3
+ import 'react/jsx-runtime';
4
+ import 'react-select';
5
+
6
+
7
+
8
+ export { Select, Select as default };
@@ -0,0 +1,8 @@
1
+ import { S as Select } from '../Select-Mp6Y00dT.js';
2
+ export { a as SelectProps } from '../Select-Mp6Y00dT.js';
3
+ import 'react/jsx-runtime';
4
+ import 'react-select';
5
+
6
+
7
+
8
+ export { Select, Select as default };
@@ -0,0 +1,13 @@
1
+ import {
2
+ Select_default,
3
+ Select_default2
4
+ } from "../chunk-CRKMTDKU.js";
5
+ import "../chunk-OV5RMSYD.js";
6
+ import "../chunk-DBLODROX.js";
7
+ import "../chunk-BCMPSLSG.js";
8
+ import "../chunk-V46BHM2U.js";
9
+ export {
10
+ Select_default as Select,
11
+ Select_default2 as default
12
+ };
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,40 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { Props } from 'react-select';
3
+
4
+ type SelectOption = {
5
+ /** option label */
6
+ label?: React.ReactNode;
7
+ /** option value */
8
+ value: string;
9
+ };
10
+ interface SelectProps {
11
+ /** CSS class name */
12
+ className?: string;
13
+ /** Determine if the */
14
+ clearable?: boolean;
15
+ /** Set the select to disabled state. */
16
+ disabled?: boolean;
17
+ filterOption?: undefined | ((option?: SelectOption, inputValue?: string) => boolean);
18
+ /** The value of the search input */
19
+ inputValue?: string;
20
+ /** Label that should be associated with the select. */
21
+ label?: React.ReactNode;
22
+ /** Set the select to a loading state. */
23
+ loading?: boolean;
24
+ /** switch between single and multi select mode. */
25
+ multiSelect?: boolean;
26
+ /** The name for the Select component, used by react-hook-form */
27
+ name: string;
28
+ /** Placeholder that is displayed when nothing is selected */
29
+ placeholder?: string;
30
+ /** The options for the Select component */
31
+ options: SelectOption[];
32
+ /** Handle change events on the input */
33
+ onInputChange?: Props['onInputChange'];
34
+ /** HTML data-testid attribute used in e2e tests */
35
+ testId?: string;
36
+ }
37
+ /** Select component based on [NextUI Select](https://nextui.org/docs/components/select) and [React-Select](https://react-select.com/home) */
38
+ declare const Select: ({ className, clearable, disabled, filterOption, inputValue, label: _label, loading, multiSelect, name, onInputChange, options, placeholder, testId: _testId, }: SelectProps) => react_jsx_runtime.JSX.Element;
39
+
40
+ export { Select as S, type SelectProps as a };
@@ -0,0 +1,40 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { Props } from 'react-select';
3
+
4
+ type SelectOption = {
5
+ /** option label */
6
+ label?: React.ReactNode;
7
+ /** option value */
8
+ value: string;
9
+ };
10
+ interface SelectProps {
11
+ /** CSS class name */
12
+ className?: string;
13
+ /** Determine if the */
14
+ clearable?: boolean;
15
+ /** Set the select to disabled state. */
16
+ disabled?: boolean;
17
+ filterOption?: undefined | ((option?: SelectOption, inputValue?: string) => boolean);
18
+ /** The value of the search input */
19
+ inputValue?: string;
20
+ /** Label that should be associated with the select. */
21
+ label?: React.ReactNode;
22
+ /** Set the select to a loading state. */
23
+ loading?: boolean;
24
+ /** switch between single and multi select mode. */
25
+ multiSelect?: boolean;
26
+ /** The name for the Select component, used by react-hook-form */
27
+ name: string;
28
+ /** Placeholder that is displayed when nothing is selected */
29
+ placeholder?: string;
30
+ /** The options for the Select component */
31
+ options: SelectOption[];
32
+ /** Handle change events on the input */
33
+ onInputChange?: Props['onInputChange'];
34
+ /** HTML data-testid attribute used in e2e tests */
35
+ testId?: string;
36
+ }
37
+ /** Select component based on [NextUI Select](https://nextui.org/docs/components/select) and [React-Select](https://react-select.com/home) */
38
+ declare const Select: ({ className, clearable, disabled, filterOption, inputValue, label: _label, loading, multiSelect, name, onInputChange, options, placeholder, testId: _testId, }: SelectProps) => react_jsx_runtime.JSX.Element;
39
+
40
+ export { Select as S, type SelectProps as a };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkXY7ZZARScjs = require('../chunk-XY7ZZARS.cjs');
5
+ require('../chunk-HT3LKDHX.cjs');
6
+ require('../chunk-QTL5FREE.cjs');
7
+ require('../chunk-WQRM7G4C.cjs');
8
+ require('../chunk-BBB4FEY6.cjs');
9
+
10
+
11
+
12
+ exports.Switch = _chunkXY7ZZARScjs.Switch_default; exports.default = _chunkXY7ZZARScjs.Switch_default2;
13
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { S as Switch } from '../Switch-DmjDKgKs.cjs';
2
+ export { a as SwitchProps } from '../Switch-DmjDKgKs.cjs';
3
+ import 'react/jsx-runtime';
4
+
5
+
6
+
7
+ export { Switch, Switch as default };
@@ -0,0 +1,7 @@
1
+ import { S as Switch } from '../Switch-DmjDKgKs.js';
2
+ export { a as SwitchProps } from '../Switch-DmjDKgKs.js';
3
+ import 'react/jsx-runtime';
4
+
5
+
6
+
7
+ export { Switch, Switch as default };
@@ -0,0 +1,13 @@
1
+ import {
2
+ Switch_default,
3
+ Switch_default2
4
+ } from "../chunk-EXYTFHEJ.js";
5
+ import "../chunk-OV5RMSYD.js";
6
+ import "../chunk-DBLODROX.js";
7
+ import "../chunk-BCMPSLSG.js";
8
+ import "../chunk-V46BHM2U.js";
9
+ export {
10
+ Switch_default as Switch,
11
+ Switch_default2 as default
12
+ };
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,20 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ interface SwitchProps {
4
+ /** CSS class name */
5
+ className: string;
6
+ /** whether the select should be disabled */
7
+ disabled?: boolean;
8
+ /** component displayed next to the switch. */
9
+ label: React.ReactNode;
10
+ /** name the field is registered under */
11
+ name: string;
12
+ /** HTML data-testid attribute used in e2e tests */
13
+ testId?: string;
14
+ }
15
+ /**
16
+ * Switch component based on [NextUI Switch](https://nextui.org/docs/components/switch)
17
+ */
18
+ declare const Switch: ({ className, disabled, label: _label, name, testId: _testId, }: SwitchProps) => react_jsx_runtime.JSX.Element;
19
+
20
+ export { Switch as S, type SwitchProps as a };
@@ -0,0 +1,20 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ interface SwitchProps {
4
+ /** CSS class name */
5
+ className: string;
6
+ /** whether the select should be disabled */
7
+ disabled?: boolean;
8
+ /** component displayed next to the switch. */
9
+ label: React.ReactNode;
10
+ /** name the field is registered under */
11
+ name: string;
12
+ /** HTML data-testid attribute used in e2e tests */
13
+ testId?: string;
14
+ }
15
+ /**
16
+ * Switch component based on [NextUI Switch](https://nextui.org/docs/components/switch)
17
+ */
18
+ declare const Switch: ({ className, disabled, label: _label, name, testId: _testId, }: SwitchProps) => react_jsx_runtime.JSX.Element;
19
+
20
+ export { Switch as S, type SwitchProps as a };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunk4IT2WVQKcjs = require('../chunk-4IT2WVQK.cjs');
5
+ require('../chunk-HT3LKDHX.cjs');
6
+ require('../chunk-QTL5FREE.cjs');
7
+ require('../chunk-WQRM7G4C.cjs');
8
+ require('../chunk-BBB4FEY6.cjs');
9
+
10
+
11
+
12
+ exports.TextArea = _chunk4IT2WVQKcjs.TextArea_default; exports.default = _chunk4IT2WVQKcjs.TextArea_default2;
13
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { T as TextArea } from '../TextArea-B-sKvTkd.cjs';
2
+ export { a as TextAreaProps } from '../TextArea-B-sKvTkd.cjs';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
5
+
6
+
7
+
8
+ export { TextArea, TextArea as default };
@@ -0,0 +1,8 @@
1
+ import { T as TextArea } from '../TextArea-B-sKvTkd.js';
2
+ export { a as TextAreaProps } from '../TextArea-B-sKvTkd.js';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
5
+
6
+
7
+
8
+ export { TextArea, TextArea as default };
@@ -0,0 +1,13 @@
1
+ import {
2
+ TextArea_default,
3
+ TextArea_default2
4
+ } from "../chunk-6NZVSPFX.js";
5
+ import "../chunk-OV5RMSYD.js";
6
+ import "../chunk-DBLODROX.js";
7
+ import "../chunk-BCMPSLSG.js";
8
+ import "../chunk-V46BHM2U.js";
9
+ export {
10
+ TextArea_default as TextArea,
11
+ TextArea_default2 as default
12
+ };
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,25 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
3
+
4
+ interface TextAreaProps {
5
+ /** Child components. The content of the textarea. */
6
+ children?: ReactNode;
7
+ /** CSS class name */
8
+ className?: string;
9
+ /** Determines if the TextArea is disabled or not. */
10
+ disabled?: boolean;
11
+ /** Label displayed above the TextArea. */
12
+ label?: ReactNode;
13
+ /** Name the TextArea is registered at in HTML forms (react-hook-form). */
14
+ name: string;
15
+ /** placeholder for the textArea content. */
16
+ placeholder?: string;
17
+ /** Id to grab element in internal tests. */
18
+ testId?: string;
19
+ }
20
+ /**
21
+ * TextArea component based on [NextUI TextArea](https://nextui.org/docs/components/textarea)
22
+ */
23
+ declare const TextArea: ({ children, className, disabled, label, name, placeholder, testId: _testId, }: TextAreaProps) => react_jsx_runtime.JSX.Element;
24
+
25
+ export { TextArea as T, type TextAreaProps as a };
@@ -0,0 +1,25 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
3
+
4
+ interface TextAreaProps {
5
+ /** Child components. The content of the textarea. */
6
+ children?: ReactNode;
7
+ /** CSS class name */
8
+ className?: string;
9
+ /** Determines if the TextArea is disabled or not. */
10
+ disabled?: boolean;
11
+ /** Label displayed above the TextArea. */
12
+ label?: ReactNode;
13
+ /** Name the TextArea is registered at in HTML forms (react-hook-form). */
14
+ name: string;
15
+ /** placeholder for the textArea content. */
16
+ placeholder?: string;
17
+ /** Id to grab element in internal tests. */
18
+ testId?: string;
19
+ }
20
+ /**
21
+ * TextArea component based on [NextUI TextArea](https://nextui.org/docs/components/textarea)
22
+ */
23
+ declare const TextArea: ({ children, className, disabled, label, name, placeholder, testId: _testId, }: TextAreaProps) => react_jsx_runtime.JSX.Element;
24
+
25
+ export { TextArea as T, type TextAreaProps as a };
@@ -1,12 +1,12 @@
1
+ import {
2
+ FieldCopyTestIdButton_default
3
+ } from "./chunk-OV5RMSYD.js";
1
4
  import {
2
5
  FieldValidationError_default
3
6
  } from "./chunk-DBLODROX.js";
4
7
  import {
5
8
  useFormContext
6
9
  } from "./chunk-BCMPSLSG.js";
7
- import {
8
- FieldCopyTestIdButton_default
9
- } from "./chunk-OV5RMSYD.js";
10
10
 
11
11
  // src/Input/Input.tsx
12
12
  import { Controller } from "react-hook-form";
@@ -78,4 +78,4 @@ export {
78
78
  Input_default,
79
79
  Input_default2
80
80
  };
81
- //# sourceMappingURL=chunk-OYXZQOGU.js.map
81
+ //# sourceMappingURL=chunk-2Z3YMYNN.js.map