laif-ds 0.2.69 → 0.2.70
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/components/ui/app-kanban.js +155 -112
- package/dist/components/ui/kanban.js +414 -285
- package/dist/components/ui/textarea.js +21 -20
- package/dist/index.d.ts +1 -0
- package/dist/styles.v3.css +1 -1
- package/package.json +1 -1
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { designTokens as
|
|
4
|
-
import { Label as
|
|
5
|
-
import { cn as
|
|
6
|
-
function
|
|
2
|
+
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import { designTokens as e } from "../design-tokens.js";
|
|
4
|
+
import { Label as x } from "./label.js";
|
|
5
|
+
import { cn as a } from "../../lib/utils.js";
|
|
6
|
+
function h({
|
|
7
7
|
wrpClassName: o,
|
|
8
|
-
className:
|
|
9
|
-
label:
|
|
8
|
+
className: s,
|
|
9
|
+
label: t,
|
|
10
10
|
labelClassName: n,
|
|
11
11
|
id: d,
|
|
12
12
|
...l
|
|
13
13
|
}) {
|
|
14
|
-
const i = d || (
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
-
|
|
14
|
+
const i = d || (t ? `textarea-${Math.random().toString(36).substring(2, 9)}` : void 0);
|
|
15
|
+
return /* @__PURE__ */ m("div", { className: a("space-y-1.5", o), children: [
|
|
16
|
+
t && /* @__PURE__ */ r(x, { htmlFor: i, className: n, children: t }),
|
|
17
17
|
/* @__PURE__ */ r(
|
|
18
18
|
"textarea",
|
|
19
19
|
{
|
|
20
20
|
id: i,
|
|
21
21
|
"data-slot": "textarea",
|
|
22
|
-
className:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"flex
|
|
22
|
+
className: a(
|
|
23
|
+
e.input.base,
|
|
24
|
+
e.radius.default,
|
|
25
|
+
e.text.base,
|
|
26
|
+
e.text.placeholder,
|
|
27
|
+
e.interaction.disabled,
|
|
28
|
+
"flex min-h-16 w-full min-w-0 max-w-full px-3 py-2 shadow-xs transition-[color,box-shadow] outline-none md:text-sm",
|
|
29
|
+
"whitespace-pre-wrap break-words overflow-x-hidden",
|
|
29
30
|
// Focus states
|
|
30
31
|
"focus-visible:ring-d-ring/50 focus-visible:border-d-ring focus-visible:ring-[3px]",
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
e.input.invalid,
|
|
33
|
+
s
|
|
33
34
|
),
|
|
34
35
|
...l
|
|
35
36
|
}
|
|
@@ -37,5 +38,5 @@ function b({
|
|
|
37
38
|
] });
|
|
38
39
|
}
|
|
39
40
|
export {
|
|
40
|
-
|
|
41
|
+
h as Textarea
|
|
41
42
|
};
|
package/dist/index.d.ts
CHANGED