@ttoss/forms 0.24.9 → 0.24.10
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.
|
@@ -2269,7 +2269,7 @@ var {
|
|
|
2269
2269
|
} = IconifyIconComponent;
|
|
2270
2270
|
|
|
2271
2271
|
// ../../node_modules/.pnpm/@iconify-icon+react@2.1.0_react@18.3.1/node_modules/@iconify-icon/react/dist/iconify.mjs
|
|
2272
|
-
var Icon =
|
|
2272
|
+
var Icon = React.forwardRef((props, ref) => {
|
|
2273
2273
|
const newProps = {
|
|
2274
2274
|
...props,
|
|
2275
2275
|
ref
|
|
@@ -2283,12 +2283,12 @@ var Icon = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
2283
2283
|
if (props.className) {
|
|
2284
2284
|
newProps["class"] = props.className;
|
|
2285
2285
|
}
|
|
2286
|
-
return
|
|
2286
|
+
return React.createElement("iconify-icon", newProps);
|
|
2287
2287
|
});
|
|
2288
2288
|
|
|
2289
2289
|
// ../react-icons/src/Icon.tsx
|
|
2290
2290
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
2291
|
-
var Icon2 =
|
|
2291
|
+
var Icon2 = React2.forwardRef((props, ref) => {
|
|
2292
2292
|
return /* @__PURE__ */jsx6(Icon, {
|
|
2293
2293
|
ref,
|
|
2294
2294
|
"data-testid": "iconify-icon",
|
|
@@ -249,7 +249,7 @@ var FormField = ({
|
|
|
249
249
|
tooltip,
|
|
250
250
|
onTooltipClick,
|
|
251
251
|
children: label
|
|
252
|
-
}),
|
|
252
|
+
}), React.createElement(child.type, {
|
|
253
253
|
id,
|
|
254
254
|
...child.props
|
|
255
255
|
})]
|
|
@@ -621,7 +621,7 @@ var FormFieldTextarea = ({
|
|
|
621
621
|
import * as React2 from "react";
|
|
622
622
|
import { Box as Box3, Flex as Flex4, Text } from "@ttoss/ui";
|
|
623
623
|
import { jsx as jsx15, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
624
|
-
var FormGroupLevelsManagerContext =
|
|
624
|
+
var FormGroupLevelsManagerContext = React2.createContext({
|
|
625
625
|
levelsLength: 1,
|
|
626
626
|
registerChild: () => {
|
|
627
627
|
return null;
|
|
@@ -644,7 +644,7 @@ var FormGroupLevelsManager = ({
|
|
|
644
644
|
children
|
|
645
645
|
});
|
|
646
646
|
};
|
|
647
|
-
var FormGroupContext =
|
|
647
|
+
var FormGroupContext = React2.createContext({});
|
|
648
648
|
var useFormGroup = () => {
|
|
649
649
|
const {
|
|
650
650
|
parentLevel
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/forms",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.10",
|
|
4
4
|
"author": "ttoss",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Pedro Arantes <pedro@arantespp.com> (https://arantespp.com/contact)"
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">=16.8.0",
|
|
44
|
-
"@ttoss/
|
|
45
|
-
"@ttoss/
|
|
44
|
+
"@ttoss/ui": "^4.1.17",
|
|
45
|
+
"@ttoss/react-i18n": "^1.26.15"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/jest": "^29.5.12",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"react-error-boundary": "^4.0.13",
|
|
53
53
|
"tsup": "^8.2.4",
|
|
54
54
|
"yup": "^1.4.0",
|
|
55
|
-
"@ttoss/
|
|
56
|
-
"@ttoss/
|
|
57
|
-
"@ttoss/test-utils": "^2.1.
|
|
58
|
-
"@ttoss/react-i18n": "^1.26.
|
|
59
|
-
"@ttoss/react-icons": "^0.3.
|
|
60
|
-
"@ttoss/ui": "^4.1.
|
|
55
|
+
"@ttoss/i18n-cli": "^0.7.18",
|
|
56
|
+
"@ttoss/config": "^1.32.9",
|
|
57
|
+
"@ttoss/test-utils": "^2.1.13",
|
|
58
|
+
"@ttoss/react-i18n": "^1.26.15",
|
|
59
|
+
"@ttoss/react-icons": "^0.3.13",
|
|
60
|
+
"@ttoss/ui": "^4.1.17"
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public",
|
|
@@ -66,6 +66,6 @@
|
|
|
66
66
|
"gitHead": "e2b509ee8717f07f7365191b651dcbb5f080e05a",
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "tsup",
|
|
69
|
-
"test": "jest"
|
|
69
|
+
"test": "jest --projects tests/unit"
|
|
70
70
|
}
|
|
71
71
|
}
|