@versini/ui-textinput 5.1.8 → 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 +12 -5
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  /*!
2
- @versini/ui-textinput v5.1.8
2
+ @versini/ui-textinput v6.0.0
3
3
  © 2025 gizmette.com
4
4
  */
5
5
  try {
6
6
  if (!window.__VERSINI_UI_TEXTINPUT__) {
7
7
  window.__VERSINI_UI_TEXTINPUT__ = {
8
- version: "5.1.8",
9
- buildTime: "12/16/2025 01:49 PM EST",
8
+ version: "6.0.0",
9
+ buildTime: "12/16/2025 06:22 PM EST",
10
10
  homepage: "https://www.npmjs.com/package/@versini/ui-textinput",
11
11
  license: "MIT",
12
12
  };
@@ -16,10 +16,12 @@ try {
16
16
  }
17
17
 
18
18
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
19
- import { useMergeRefs, useResizeObserver, useUniqueId } from "@versini/ui-hooks";
19
+ import { useResizeObserver } from "@versini/ui-hooks/use-resize-observer";
20
+ import { useUniqueId } from "@versini/ui-hooks/use-unique-id";
20
21
  import { LiveRegion } from "@versini/ui-liveregion";
21
22
  import react, { useEffect, useLayoutEffect, useRef, useState } from "react";
22
23
  import clsx from "clsx";
24
+ import { useMergeRefs } from "@versini/ui-hooks/use-merge-refs";
23
25
 
24
26
  ;// CONCATENATED MODULE: ./src/common/constants.ts
25
27
  const TEXT_INPUT_CLASSNAME = "av-text-input";
@@ -29,7 +31,9 @@ const TEXT_INPUT_HELPER_TEXT_CLASSNAME = "av-text-input-helper-text";
29
31
 
30
32
  ;// CONCATENATED MODULE: external "react/jsx-runtime"
31
33
 
32
- ;// CONCATENATED MODULE: external "@versini/ui-hooks"
34
+ ;// CONCATENATED MODULE: external "@versini/ui-hooks/use-resize-observer"
35
+
36
+ ;// CONCATENATED MODULE: external "@versini/ui-hooks/use-unique-id"
33
37
 
34
38
  ;// CONCATENATED MODULE: external "@versini/ui-liveregion"
35
39
 
@@ -173,6 +177,7 @@ const getTextInputClasses = ({ className, inputClassName, raw, disabled, noBorde
173
177
 
174
178
 
175
179
 
180
+
176
181
  const TextInput = /*#__PURE__*/ react.forwardRef(({ id, name, label, error = false, raw = false, className, inputClassName, mode = "system", focusMode = "system", disabled = false, noBorder = false, labelId, labelHidden = false, type = "text", helperText = "", rightElement, rightElementClassName, size = "md", ...extraProps }, ref)=>{
177
182
  const [rightElementRef, rect] = useResizeObserver();
178
183
  const [inputPaddingRight, setInputPaddingRight] = useState(0);
@@ -298,6 +303,8 @@ const TextInput = /*#__PURE__*/ react.forwardRef(({ id, name, label, error = fal
298
303
  });
299
304
  TextInput.displayName = "TextInput";
300
305
 
306
+ ;// CONCATENATED MODULE: external "@versini/ui-hooks/use-merge-refs"
307
+
301
308
  ;// CONCATENATED MODULE: ./src/components/TextInput/TextInputMask.tsx
302
309
 
303
310
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-textinput",
3
- "version": "5.1.8",
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.2",
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": "ef4323fa1f14f9f2a5471d71f063519230762aec"
53
+ "gitHead": "30d86d13d4369cc841fc267c970cca423d27bf2f"
54
54
  }