@tachui/forms 0.8.10-alpha.0 → 0.8.11
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/dist/modifiers/index.js +5 -5
- package/package.json +6 -6
package/dist/modifiers/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { registerModifierWithMetadata as s } from "@tachui/core/modifiers";
|
|
2
|
-
import { validateValue as
|
|
3
|
-
import { isSignal as
|
|
2
|
+
import { validateValue as T } from "../validation/index.js";
|
|
3
|
+
import { isSignal as h } from "@tachui/core";
|
|
4
4
|
const l = 74, c = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
function p(t) {
|
|
6
6
|
const e = [];
|
|
@@ -13,7 +13,7 @@ function m(t, e) {
|
|
|
13
13
|
}
|
|
14
14
|
function L(t, e) {
|
|
15
15
|
return () => {
|
|
16
|
-
const r = t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || t instanceof HTMLSelectElement ? t.value : t.textContent ?? "", i =
|
|
16
|
+
const r = t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || t instanceof HTMLSelectElement ? t.value : t.textContent ?? "", i = T(r, e);
|
|
17
17
|
m(t, i);
|
|
18
18
|
};
|
|
19
19
|
}
|
|
@@ -52,7 +52,7 @@ function b(t, e) {
|
|
|
52
52
|
}
|
|
53
53
|
const A = 70;
|
|
54
54
|
function H(t) {
|
|
55
|
-
return typeof t == "function" &&
|
|
55
|
+
return typeof t == "function" && h(t) || typeof t == "function" ? t() : t ?? "";
|
|
56
56
|
}
|
|
57
57
|
const u = /* @__PURE__ */ new WeakMap();
|
|
58
58
|
function d(t, e) {
|
|
@@ -136,7 +136,7 @@ function V(t, e) {
|
|
|
136
136
|
e
|
|
137
137
|
);
|
|
138
138
|
}
|
|
139
|
-
const S = "0.8.
|
|
139
|
+
const S = "0.8.11", O = S, _ = {
|
|
140
140
|
name: "@tachui/forms",
|
|
141
141
|
version: O,
|
|
142
142
|
author: "TachUI Team",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachui/forms",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.11",
|
|
4
4
|
"description": "Unified form components and validation system for tachUI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@tachui/core": ">=0.8.
|
|
45
|
+
"@tachui/core": ">=0.8.11"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/node": "^20.10.0",
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
"directory": "packages/forms"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@tachui/core": "0.8.
|
|
70
|
-
"@tachui/modifiers": "0.8.
|
|
71
|
-
"@tachui/primitives": "0.8.
|
|
72
|
-
"@tachui/registry": "0.8.
|
|
69
|
+
"@tachui/core": "0.8.11",
|
|
70
|
+
"@tachui/modifiers": "0.8.11",
|
|
71
|
+
"@tachui/primitives": "0.8.11",
|
|
72
|
+
"@tachui/registry": "0.8.11"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
75
|
"dev": "vite build --watch --mode development",
|