gasp-components 1.0.16 → 1.0.18
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/ag-grid-table/index.js +18 -107389
- package/dist/components/checklist/checklist-item.d.ts +1 -0
- package/dist/components/checklist/checklist-item.js +26 -14
- package/dist/components/checklist/index.d.ts +1 -0
- package/dist/icons/close-outlined-icon/index.d.ts +4 -1
- package/dist/icons/close-outlined-icon/index.js +8 -6
- package/package.json +1 -1
|
@@ -1,24 +1,36 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Space as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Space as l } from "antd";
|
|
3
|
+
import c from "../../icons/check-icon/index.js";
|
|
4
|
+
import m from "classnames";
|
|
5
|
+
import a from "../../icons/close-outlined-icon/index.js";
|
|
6
|
+
const u = ({
|
|
7
|
+
children: e,
|
|
8
|
+
checked: s = !1,
|
|
9
|
+
rejected: r = !1,
|
|
10
|
+
onClick: t
|
|
11
|
+
}) => /* @__PURE__ */ i(
|
|
12
|
+
l,
|
|
10
13
|
{
|
|
11
14
|
className: "hover:cursor-pointer",
|
|
12
15
|
size: 18,
|
|
13
16
|
align: "start",
|
|
14
|
-
onClick:
|
|
17
|
+
onClick: t,
|
|
15
18
|
children: [
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
|
|
19
|
+
r && /* @__PURE__ */ o(
|
|
20
|
+
"div",
|
|
21
|
+
{
|
|
22
|
+
className: m(
|
|
23
|
+
"bg-coral h-6 w-6 rounded-full flex items-center justify-center"
|
|
24
|
+
),
|
|
25
|
+
children: /* @__PURE__ */ o(a, { color: "white" })
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
!r && /* @__PURE__ */ o(c, { color: s ? "#42C75E" : void 0 }),
|
|
29
|
+
e
|
|
18
30
|
]
|
|
19
31
|
}
|
|
20
32
|
);
|
|
21
33
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
34
|
+
u as CheckListItem,
|
|
35
|
+
u as default
|
|
24
36
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
const r = (
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
const r = ({
|
|
3
|
+
color: t = "#64748B"
|
|
4
|
+
}) => /* @__PURE__ */ o(
|
|
3
5
|
"svg",
|
|
4
6
|
{
|
|
5
7
|
width: "12",
|
|
@@ -8,21 +10,21 @@ const r = () => /* @__PURE__ */ t(
|
|
|
8
10
|
fill: "none",
|
|
9
11
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
12
|
children: [
|
|
11
|
-
/* @__PURE__ */
|
|
13
|
+
/* @__PURE__ */ e(
|
|
12
14
|
"path",
|
|
13
15
|
{
|
|
14
16
|
d: "M1.05035 1.0498L10.9498 10.9493",
|
|
15
|
-
stroke:
|
|
17
|
+
stroke: t,
|
|
16
18
|
strokeWidth: "1.5",
|
|
17
19
|
strokeLinecap: "round",
|
|
18
20
|
strokeLinejoin: "round"
|
|
19
21
|
}
|
|
20
22
|
),
|
|
21
|
-
/* @__PURE__ */
|
|
23
|
+
/* @__PURE__ */ e(
|
|
22
24
|
"path",
|
|
23
25
|
{
|
|
24
26
|
d: "M10.9498 1.0498L1.05033 10.9493",
|
|
25
|
-
stroke:
|
|
27
|
+
stroke: t,
|
|
26
28
|
strokeWidth: "1.5",
|
|
27
29
|
strokeLinecap: "round",
|
|
28
30
|
strokeLinejoin: "round"
|