@versini/ui-textarea 5.1.7 → 6.0.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 (2) hide show
  1. package/dist/index.js +17 -5
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  /*!
2
- @versini/ui-textarea v5.1.7
2
+ @versini/ui-textarea v6.0.0
3
3
  © 2025 gizmette.com
4
4
  */
5
5
  try {
6
6
  if (!window.__VERSINI_UI_TEXTAREA__) {
7
7
  window.__VERSINI_UI_TEXTAREA__ = {
8
- version: "5.1.7",
9
- buildTime: "12/15/2025 06:40 PM EST",
8
+ version: "6.0.0",
9
+ buildTime: "12/16/2025 06:23 PM EST",
10
10
  homepage: "https://www.npmjs.com/package/@versini/ui-textarea",
11
11
  license: "MIT",
12
12
  };
@@ -16,7 +16,10 @@ try {
16
16
  }
17
17
 
18
18
  import { jsx, jsxs } from "react/jsx-runtime";
19
- import { useMergeRefs, useResizeObserver, useUncontrolled, useUniqueId } from "@versini/ui-hooks";
19
+ import { useMergeRefs } from "@versini/ui-hooks/use-merge-refs";
20
+ import { useResizeObserver } from "@versini/ui-hooks/use-resize-observer";
21
+ import { useUncontrolled } from "@versini/ui-hooks/use-uncontrolled";
22
+ import { useUniqueId } from "@versini/ui-hooks/use-unique-id";
20
23
  import { LiveRegion } from "@versini/ui-liveregion";
21
24
  import react, { useLayoutEffect, useRef, useState } from "react";
22
25
  import clsx from "clsx";
@@ -30,7 +33,13 @@ const TEXT_AREA_CONTROL_LEFT_CLASSNAME = "av-text-area__control--left";
30
33
 
31
34
  ;// CONCATENATED MODULE: external "react/jsx-runtime"
32
35
 
33
- ;// CONCATENATED MODULE: external "@versini/ui-hooks"
36
+ ;// CONCATENATED MODULE: external "@versini/ui-hooks/use-merge-refs"
37
+
38
+ ;// CONCATENATED MODULE: external "@versini/ui-hooks/use-resize-observer"
39
+
40
+ ;// CONCATENATED MODULE: external "@versini/ui-hooks/use-uncontrolled"
41
+
42
+ ;// CONCATENATED MODULE: external "@versini/ui-hooks/use-unique-id"
34
43
 
35
44
  ;// CONCATENATED MODULE: external "@versini/ui-liveregion"
36
45
 
@@ -188,6 +197,9 @@ const adjustLabelAndHelperText = ({ scrollHeight, currentHeight, currentLabelOff
188
197
 
189
198
 
190
199
 
200
+
201
+
202
+
191
203
  const TextArea = /*#__PURE__*/ react.forwardRef(({ id, name, label, error = false, raw = false, className, textAreaClassName, mode = "system", focusMode = "system", value, defaultValue, disabled = false, noBorder = false, labelId, helperText = "", helperTextOnFocus = false, rightElement, leftElement, onChange, onFocus, onBlur, ...extraProps }, ref)=>{
192
204
  const textAreaRef = useRef(null);
193
205
  const mergedTextAreaRef = useMergeRefs([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-textarea",
3
- "version": "5.1.7",
3
+ "version": "6.0.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@tailwindcss/typography": "0.5.19",
45
- "@versini/ui-hooks": "5.3.1",
45
+ "@versini/ui-hooks": "6.0.0",
46
46
  "@versini/ui-liveregion": "3.1.3",
47
47
  "clsx": "2.1.1",
48
48
  "tailwindcss": "4.1.18"
@@ -50,5 +50,5 @@
50
50
  "sideEffects": [
51
51
  "**/*.css"
52
52
  ],
53
- "gitHead": "e525a00f1bf7288dffb5c49451e075cedc22aaa0"
53
+ "gitHead": "30d86d13d4369cc841fc267c970cca423d27bf2f"
54
54
  }