@trackunit/react-form-components 0.0.413 → 0.0.415
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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
- package/translation.cjs5.js +2 -2
- package/translation.esm5.js +2 -2
package/index.cjs.js
CHANGED
|
@@ -627,7 +627,7 @@ const ColorField = React.forwardRef((_a, ref) => {
|
|
|
627
627
|
disabled: false,
|
|
628
628
|
invalid: false,
|
|
629
629
|
className,
|
|
630
|
-
}), "data-testid": dataTestId && `${dataTestId}-container`, children: [jsxRuntime.jsx("input", { "aria-labelledby": htmlForId + "-label-text", className: cvaInputField({ disabled: false }), "data-testid": dataTestId
|
|
630
|
+
}), "data-testid": dataTestId && `${dataTestId}-container`, children: [jsxRuntime.jsx("input", { "aria-labelledby": htmlForId + "-label-text", className: cvaInputField({ disabled: false }), "data-testid": dataTestId && `${dataTestId}-textField`, onChange: handleChange, type: "text", value: value }), jsxRuntime.jsx("input", { "aria-labelledby": htmlForId + "-label", className: "mr-1 h-[25px] w-[25px] self-center bg-inherit", "data-testid": dataTestId, defaultValue: defaultValue, id: htmlForId, onChange: handleChange, ref: innerRef, type: "color", value: value }), jsxRuntime.jsx(reactComponents.IconButton, { className: "mr-1 self-center", icon: jsxRuntime.jsx(reactComponents.Icon, { name: "Pencil", type: "outline" }), onClick: () => {
|
|
631
631
|
if (innerRef === null || innerRef === void 0 ? void 0 : innerRef.current) {
|
|
632
632
|
innerRef.current.click();
|
|
633
633
|
}
|
package/index.esm.js
CHANGED
|
@@ -597,7 +597,7 @@ const ColorField = forwardRef((_a, ref) => {
|
|
|
597
597
|
disabled: false,
|
|
598
598
|
invalid: false,
|
|
599
599
|
className,
|
|
600
|
-
}), "data-testid": dataTestId && `${dataTestId}-container`, children: [jsx("input", { "aria-labelledby": htmlForId + "-label-text", className: cvaInputField({ disabled: false }), "data-testid": dataTestId
|
|
600
|
+
}), "data-testid": dataTestId && `${dataTestId}-container`, children: [jsx("input", { "aria-labelledby": htmlForId + "-label-text", className: cvaInputField({ disabled: false }), "data-testid": dataTestId && `${dataTestId}-textField`, onChange: handleChange, type: "text", value: value }), jsx("input", { "aria-labelledby": htmlForId + "-label", className: "mr-1 h-[25px] w-[25px] self-center bg-inherit", "data-testid": dataTestId, defaultValue: defaultValue, id: htmlForId, onChange: handleChange, ref: innerRef, type: "color", value: value }), jsx(IconButton, { className: "mr-1 self-center", icon: jsx(Icon, { name: "Pencil", type: "outline" }), onClick: () => {
|
|
601
601
|
if (innerRef === null || innerRef === void 0 ? void 0 : innerRef.current) {
|
|
602
602
|
innerRef.current.click();
|
|
603
603
|
}
|
package/package.json
CHANGED
package/translation.cjs5.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var translation = {
|
|
4
4
|
"clearIndicator.icon.tooltip.clearAll": "Clear all",
|
|
5
|
-
"dropzone.input.title": "
|
|
6
|
-
"dropzone.label.default": "<clickable>
|
|
5
|
+
"dropzone.input.title": "Ajout de fichiers par glisser-déposer",
|
|
6
|
+
"dropzone.label.default": "<clickable>Parcourir</clickable> ou faire glisser les fichiers ici...",
|
|
7
7
|
"phoneField.error.INVALID_COUNTRY": "L'indicatif du pays n'est pas valide",
|
|
8
8
|
"phoneField.error.INVALID_LENGTH": "Le numéro de téléphone n’est pas valide",
|
|
9
9
|
"phoneField.error.INVALID_NUMBER": "Le numéro de téléphone n’est pas valide",
|
package/translation.esm5.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var translation = {
|
|
2
2
|
"clearIndicator.icon.tooltip.clearAll": "Clear all",
|
|
3
|
-
"dropzone.input.title": "
|
|
4
|
-
"dropzone.label.default": "<clickable>
|
|
3
|
+
"dropzone.input.title": "Ajout de fichiers par glisser-déposer",
|
|
4
|
+
"dropzone.label.default": "<clickable>Parcourir</clickable> ou faire glisser les fichiers ici...",
|
|
5
5
|
"phoneField.error.INVALID_COUNTRY": "L'indicatif du pays n'est pas valide",
|
|
6
6
|
"phoneField.error.INVALID_LENGTH": "Le numéro de téléphone n’est pas valide",
|
|
7
7
|
"phoneField.error.INVALID_NUMBER": "Le numéro de téléphone n’est pas valide",
|