@trackunit/react-form-components 0.0.414 → 0.0.416

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 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, 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: () => {
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, 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: () => {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-form-components",
3
- "version": "0.0.414",
3
+ "version": "0.0.416",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -2,8 +2,8 @@
2
2
 
3
3
  var translation = {
4
4
  "clearIndicator.icon.tooltip.clearAll": "Clear all",
5
- "dropzone.input.title": "Drag-and-drop file input",
6
- "dropzone.label.default": "<clickable>Browse</clickable> or drag files here...",
5
+ "dropzone.input.title": "Перетаскивание ввода файла",
6
+ "dropzone.label.default": "<clickable>Просмотрите</clickable> или перетащите файлы сюда...",
7
7
  "phoneField.error.INVALID_COUNTRY": "Код страны недействителен",
8
8
  "phoneField.error.INVALID_LENGTH": "Номер телефона недействителен",
9
9
  "phoneField.error.INVALID_NUMBER": "Номер телефона недействителен",
@@ -2,8 +2,8 @@
2
2
 
3
3
  var translation = {
4
4
  "clearIndicator.icon.tooltip.clearAll": "Clear all",
5
- "dropzone.input.title": "Drag-and-drop file input",
6
- "dropzone.label.default": "<clickable>Browse</clickable> or drag files here...",
5
+ "dropzone.input.title": "ลากและวางอินพุตไฟล์",
6
+ "dropzone.label.default": "<clickable>เรียกดู</clickable> หรือลากไฟล์มาที่นี่...",
7
7
  "phoneField.error.INVALID_COUNTRY": "รหัสประเทศไม่ถูกต้อง",
8
8
  "phoneField.error.INVALID_LENGTH": "หมายเลขโทรศัพท์ไม่ถูกต้อง",
9
9
  "phoneField.error.INVALID_NUMBER": "หมายเลขโทรศัพท์ไม่ถูกต้อง",
@@ -2,8 +2,8 @@
2
2
 
3
3
  var translation = {
4
4
  "clearIndicator.icon.tooltip.clearAll": "Clear all",
5
- "dropzone.input.title": "Drag-and-drop file input",
6
- "dropzone.label.default": "<clickable>Browse</clickable> or drag files here...",
5
+ "dropzone.input.title": "Filinput via drag-and-drop",
6
+ "dropzone.label.default": "<clickable>Gennemse</clickable> eller træk filer her...",
7
7
  "phoneField.error.INVALID_COUNTRY": "Landekoden er ikke gyldig.",
8
8
  "phoneField.error.INVALID_LENGTH": "Telefonnummeret er ikke gyldigt.",
9
9
  "phoneField.error.INVALID_NUMBER": "Telefonnummeret er ikke gyldigt",
@@ -2,8 +2,8 @@
2
2
 
3
3
  var translation = {
4
4
  "clearIndicator.icon.tooltip.clearAll": "Clear all",
5
- "dropzone.input.title": "Drag-and-drop file input",
6
- "dropzone.label.default": "<clickable>Browse</clickable> or drag files here...",
5
+ "dropzone.input.title": "Drag-en-drop bestandsinvoer",
6
+ "dropzone.label.default": "<clickable>Bladeren</clickable> of sleep bestanden hier naartoe...",
7
7
  "phoneField.error.INVALID_COUNTRY": "De landcode is niet geldig",
8
8
  "phoneField.error.INVALID_LENGTH": "Het telefoonnummer is niet geldig",
9
9
  "phoneField.error.INVALID_NUMBER": "Het telefoonnummer is niet geldig",
@@ -1,7 +1,7 @@
1
1
  var translation = {
2
2
  "clearIndicator.icon.tooltip.clearAll": "Clear all",
3
- "dropzone.input.title": "Drag-and-drop file input",
4
- "dropzone.label.default": "<clickable>Browse</clickable> or drag files here...",
3
+ "dropzone.input.title": "Перетаскивание ввода файла",
4
+ "dropzone.label.default": "<clickable>Просмотрите</clickable> или перетащите файлы сюда...",
5
5
  "phoneField.error.INVALID_COUNTRY": "Код страны недействителен",
6
6
  "phoneField.error.INVALID_LENGTH": "Номер телефона недействителен",
7
7
  "phoneField.error.INVALID_NUMBER": "Номер телефона недействителен",
@@ -1,7 +1,7 @@
1
1
  var translation = {
2
2
  "clearIndicator.icon.tooltip.clearAll": "Clear all",
3
- "dropzone.input.title": "Drag-and-drop file input",
4
- "dropzone.label.default": "<clickable>Browse</clickable> or drag files here...",
3
+ "dropzone.input.title": "ลากและวางอินพุตไฟล์",
4
+ "dropzone.label.default": "<clickable>เรียกดู</clickable> หรือลากไฟล์มาที่นี่...",
5
5
  "phoneField.error.INVALID_COUNTRY": "รหัสประเทศไม่ถูกต้อง",
6
6
  "phoneField.error.INVALID_LENGTH": "หมายเลขโทรศัพท์ไม่ถูกต้อง",
7
7
  "phoneField.error.INVALID_NUMBER": "หมายเลขโทรศัพท์ไม่ถูกต้อง",
@@ -1,7 +1,7 @@
1
1
  var translation = {
2
2
  "clearIndicator.icon.tooltip.clearAll": "Clear all",
3
- "dropzone.input.title": "Drag-and-drop file input",
4
- "dropzone.label.default": "<clickable>Browse</clickable> or drag files here...",
3
+ "dropzone.input.title": "Filinput via drag-and-drop",
4
+ "dropzone.label.default": "<clickable>Gennemse</clickable> eller træk filer her...",
5
5
  "phoneField.error.INVALID_COUNTRY": "Landekoden er ikke gyldig.",
6
6
  "phoneField.error.INVALID_LENGTH": "Telefonnummeret er ikke gyldigt.",
7
7
  "phoneField.error.INVALID_NUMBER": "Telefonnummeret er ikke gyldigt",
@@ -1,7 +1,7 @@
1
1
  var translation = {
2
2
  "clearIndicator.icon.tooltip.clearAll": "Clear all",
3
- "dropzone.input.title": "Drag-and-drop file input",
4
- "dropzone.label.default": "<clickable>Browse</clickable> or drag files here...",
3
+ "dropzone.input.title": "Drag-en-drop bestandsinvoer",
4
+ "dropzone.label.default": "<clickable>Bladeren</clickable> of sleep bestanden hier naartoe...",
5
5
  "phoneField.error.INVALID_COUNTRY": "De landcode is niet geldig",
6
6
  "phoneField.error.INVALID_LENGTH": "Het telefoonnummer is niet geldig",
7
7
  "phoneField.error.INVALID_NUMBER": "Het telefoonnummer is niet geldig",