@versini/ui-textarea 4.0.8 → 4.0.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.
package/README.md CHANGED
@@ -28,7 +28,7 @@ The TextArea component provides multi-line text input with comprehensive form fe
28
28
  npm install @versini/ui-textarea
29
29
  ```
30
30
 
31
- > **Note**: This component requires TailwindCSS and the `@versini/ui-styles` plugin for proper styling. See the [root README](../../README.md#tailwindcss-setup) for complete setup instructions.
31
+ > **Note**: This component requires TailwindCSS and the `@versini/ui-styles` plugin for proper styling. See the [installation documentation](https://versini-org.github.io/ui-components/?path=/docs/getting-started-installation--docs) for complete setup instructions.
32
32
 
33
33
  ## Usage
34
34
 
@@ -183,13 +183,13 @@ function Ce({
183
183
  );
184
184
  }
185
185
  /*!
186
- @versini/ui-liveregion v2.0.8
186
+ @versini/ui-liveregion v2.0.10
187
187
  © 2025 gizmette.com
188
188
  */
189
189
  try {
190
190
  window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
191
- version: "2.0.8",
192
- buildTime: "08/14/2025 06:04 PM EDT",
191
+ version: "2.0.10",
192
+ buildTime: "08/23/2025 10:05 AM EDT",
193
193
  homepage: "https://github.com/aversini/ui-components",
194
194
  license: "MIT"
195
195
  });
@@ -370,10 +370,10 @@ const Ee = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
370
370
  leftElement: R,
371
371
  onChange: D,
372
372
  onFocus: H,
373
- onBlur: P,
373
+ onBlur: F,
374
374
  ...K
375
375
  }, Q) => {
376
- const x = f(null), Y = ge([Q, x]), [Z, L] = G(), [ee, k] = G(), $ = f(80), F = f(-25), O = f(null), M = f(30), U = f(null), C = Re({ id: e, prefix: `${W}-` }), [V, te] = v(0), [X, re] = v(0), [ne, j] = v(
376
+ const x = f(null), Y = ge([Q, x]), [Z, L] = G(), [ee, k] = G(), $ = f(80), P = f(-25), O = f(null), M = f(30), U = f(null), C = Re({ id: e, prefix: `${W}-` }), [V, te] = v(0), [X, re] = v(0), [ne, j] = v(
377
377
  !!(!N && u)
378
378
  ), ae = `${r} error, ${u}`, T = we({
379
379
  className: o,
@@ -402,7 +402,7 @@ const Ee = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
402
402
  }, ce = (d) => {
403
403
  N && u && j(!0), H && H(d);
404
404
  }, le = (d) => {
405
- N && u && !h && j(!1), P && P(d);
405
+ N && u && !h && j(!1), F && F(d);
406
406
  };
407
407
  return E(() => {
408
408
  L && L.width && te(L.width + 18 + 10);
@@ -422,10 +422,10 @@ const Ee = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
422
422
  const { labelOffset: d, helperTextOffset: I, scrollHeight: ie } = De({
423
423
  scrollHeight: x.current.scrollHeight,
424
424
  currentHeight: $.current,
425
- currentLabelOffset: F.current,
425
+ currentLabelOffset: P.current,
426
426
  currentHelperTextOffset: M.current
427
427
  });
428
- d && (F.current = d, O?.current?.style.setProperty(
428
+ d && (P.current = d, O?.current?.style.setProperty(
429
429
  "--av-text-area-label",
430
430
  `${d}px`
431
431
  )), I && (M.current = I, U?.current?.style.setProperty(
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { TEXT_AREA_CLASSNAME as T, TEXT_AREA_CONTROL_LEFT_CLASSNAME as R, TEXT_AREA_CONTROL_RIGHT_CLASSNAME as e, TEXT_AREA_HELPER_TEXT_CLASSNAME as S, TEXT_AREA_WRAPPER_CLASSNAME as i, TextArea as o } from "./components/TextArea/TextArea.js";
2
2
  /*!
3
- @versini/ui-textarea v4.0.8
3
+ @versini/ui-textarea v4.0.10
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_UI_TEXTAREA__ || (window.__VERSINI_UI_TEXTAREA__ = {
8
- version: "4.0.8",
9
- buildTime: "08/14/2025 06:05 PM EDT",
8
+ version: "4.0.10",
9
+ buildTime: "08/23/2025 10:06 AM EDT",
10
10
  homepage: "https://github.com/aversini/ui-components",
11
11
  license: "MIT"
12
12
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-textarea",
3
- "version": "4.0.8",
3
+ "version": "4.0.10",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -15,7 +15,8 @@
15
15
  "main": "dist/index.js",
16
16
  "types": "dist/index.d.ts",
17
17
  "files": [
18
- "dist"
18
+ "dist",
19
+ "README.md"
19
20
  ],
20
21
  "scripts": {
21
22
  "build:check": "tsc",
@@ -40,7 +41,7 @@
40
41
  "react-dom": "^18.3.1 || ^19.0.0"
41
42
  },
42
43
  "devDependencies": {
43
- "@testing-library/jest-dom": "6.7.0",
44
+ "@testing-library/jest-dom": "6.8.0",
44
45
  "@versini/ui-types": "../ui-types"
45
46
  },
46
47
  "dependencies": {
@@ -53,5 +54,5 @@
53
54
  "sideEffects": [
54
55
  "**/*.css"
55
56
  ],
56
- "gitHead": "a2a11904039a5bc55ff17a954e4a16073abbe0bf"
57
+ "gitHead": "a1afd6e4613b1da7abf61d10a72614611521fb39"
57
58
  }