gasp-components 1.0.10 → 1.0.12
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/UploadOutlined-9WKjHsqa.js +878 -0
- package/dist/components/ag-grid-table/index.js +57877 -38314
- package/dist/components/button/index.js +18 -18
- package/dist/components/checklist/checklist-item.js +3 -3
- package/dist/components/checklist/index.js +5 -5
- package/dist/components/date-picker/index.js +9 -5022
- package/dist/components/dragger/index.js +28 -28
- package/dist/components/dropdown/index.js +10 -11
- package/dist/components/form/index.js +8 -9
- package/dist/components/form-item/index.js +10 -10
- package/dist/components/input/index.js +8 -8
- package/dist/components/modal/index.js +18 -20
- package/dist/components/password-input/index.js +2 -2
- package/dist/components/progress/index.js +16 -18
- package/dist/components/progress-circle/index.js +3 -3
- package/dist/components/radio-button/index.js +8 -8
- package/dist/components/result-popup/index.js +13 -14
- package/dist/components/select/index.js +1 -1
- package/dist/components/side-menu/index.js +2 -2
- package/dist/components/side-menu/menu-item.js +4 -6
- package/dist/components/steps/index.js +9 -9
- package/dist/components/table/index.js +16 -9298
- package/dist/components/tabs/index.js +10 -10
- package/dist/components/tabs/tab.js +7 -8
- package/dist/components/tag/index.js +9 -258
- package/dist/components/timeline-horizontal/index.js +7 -7
- package/dist/components/upload/index.js +62 -77
- package/dist/index-WlPrqxgY.js +87 -0
- package/dist/main.js +69 -457
- package/package.json +1 -1
- package/dist/CheckCircleFilled-xt-0R96Z.js +0 -16
- package/dist/CheckOutlined-EgxCAgj_.js +0 -16
- package/dist/CloseCircleFilled-bIgIULWb.js +0 -16
- package/dist/CloseOutlined-Q3kC3EZS.js +0 -16
- package/dist/Compact-fdEKV_mF.js +0 -180
- package/dist/ExclamationCircleFilled-XzDBEGmA.js +0 -16
- package/dist/KeyCode-qFRXB1-n.js +0 -517
- package/dist/LoadingOutlined-6Ipqn0og.js +0 -16
- package/dist/Overflow-JFdXKgCr.js +0 -231
- package/dist/PurePanel-hLGnXbul.js +0 -60
- package/dist/SearchOutlined-rJTFGXUi.js +0 -16
- package/dist/TextArea-n3dknzTq.js +0 -716
- package/dist/UploadOutlined-D8jfLEgv.js +0 -27
- package/dist/asyncToGenerator-t4sKr8R4.js +0 -340
- package/dist/button-LN5ZDad8.js +0 -819
- package/dist/collapse-ilv4Tji1.js +0 -20
- package/dist/colors-opGg9oSz.js +0 -25
- package/dist/compact-item-jjuVmDBH.js +0 -61
- package/dist/context-h3WSVDPz.js +0 -2087
- package/dist/createFormattedComponent-FcpICAm8.js +0 -3260
- package/dist/index--6VfGMUo.js +0 -402
- package/dist/index-0mpuHoS5.js +0 -996
- package/dist/index-1KQbTQJ2.js +0 -4405
- package/dist/index-5Uo03BMk.js +0 -681
- package/dist/index-BFgxz47K.js +0 -89
- package/dist/index-D3LMPWyJ.js +0 -1437
- package/dist/index-DVS_nWxv.js +0 -3026
- package/dist/index-ELHBhuK9.js +0 -100
- package/dist/index-Fn8q8B3V.js +0 -107
- package/dist/index-GgkQrebz.js +0 -950
- package/dist/index-L-MzVDcK.js +0 -616
- package/dist/index-M3WnMjiA.js +0 -230
- package/dist/index-NQd_zMf0.js +0 -69
- package/dist/index-ZT64Ec6u.js +0 -267
- package/dist/index-aawDqn9q.js +0 -3337
- package/dist/index-k04G4nlS.js +0 -1416
- package/dist/index-s3u4YBl4.js +0 -8
- package/dist/index-vtDVJV8q.js +0 -19571
- package/dist/isVisible-Qi9l15Ty.js +0 -232
- package/dist/motion-0ToOu81j.js +0 -226
- package/dist/motion-NQme0FJ_.js +0 -32
- package/dist/omit-ylWA0ZLZ.js +0 -10
- package/dist/pickAttrs-zaQzRTqh.js +0 -42
- package/dist/progress-a1_pwKVT.js +0 -722
- package/dist/reactNode-R20zZQk1.js +0 -18
- package/dist/responsiveObserver-V1_1G14X.js +0 -71
- package/dist/roundedArrow-p1Pmd9av.js +0 -64
- package/dist/row-sPFiFm0C.js +0 -230
- package/dist/slide-mFXPRHku.js +0 -265
- package/dist/styleChecker-pZ3k2IiY.js +0 -37
- package/dist/useCSSVarCls-GwZT_WiF.js +0 -9
- package/dist/useClosable-4G12n4Bp.js +0 -15
- package/dist/useLocale-eThlLZJw.js +0 -16
- package/dist/useMergedState-qUafLuUa.js +0 -23
- package/dist/useVariants-s0IcneBD.js +0 -25
- package/dist/zoom-Ps8y0jNW.js +0 -174
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
children:
|
|
6
|
-
type:
|
|
7
|
-
danger:
|
|
8
|
-
className:
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { Button as a } from "antd";
|
|
3
|
+
import i from "classnames";
|
|
4
|
+
const f = ({
|
|
5
|
+
children: d,
|
|
6
|
+
type: e = "default",
|
|
7
|
+
danger: t = !1,
|
|
8
|
+
className: s,
|
|
9
9
|
...l
|
|
10
10
|
}) => {
|
|
11
|
-
const o =
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
-
|
|
11
|
+
const o = e === "default", r = e === "primary";
|
|
12
|
+
return /* @__PURE__ */ u(
|
|
13
|
+
a,
|
|
14
14
|
{
|
|
15
15
|
...l,
|
|
16
|
-
danger:
|
|
16
|
+
danger: t,
|
|
17
17
|
className: i(
|
|
18
|
-
|
|
18
|
+
s,
|
|
19
19
|
"rounded-lg h-auto shadow-none font-semibold",
|
|
20
20
|
{
|
|
21
21
|
"bg-white border border-dodgerBlue": o,
|
|
22
22
|
"text-dodgerBlue hover:!text-dodgerBlue": o,
|
|
23
|
-
"bg-dodgerBlue border-0": !
|
|
24
|
-
"text-white enabled:hover:!text-white": !
|
|
25
|
-
"bg-coral !text-white":
|
|
23
|
+
"bg-dodgerBlue border-0": !t && r,
|
|
24
|
+
"text-white enabled:hover:!text-white": !t && r,
|
|
25
|
+
"bg-coral !text-white": t
|
|
26
26
|
}
|
|
27
27
|
),
|
|
28
|
-
children:
|
|
28
|
+
children: d
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
31
|
};
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
f as Button
|
|
34
34
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import { Space as c } from "antd";
|
|
3
|
+
import i from "../../icons/check-icon/index.js";
|
|
4
4
|
const n = ({
|
|
5
5
|
children: r,
|
|
6
6
|
checked: o = !1,
|
|
@@ -13,7 +13,7 @@ const n = ({
|
|
|
13
13
|
align: "start",
|
|
14
14
|
onClick: e,
|
|
15
15
|
children: [
|
|
16
|
-
/* @__PURE__ */ t(
|
|
16
|
+
/* @__PURE__ */ t(i, { color: o ? "#42C75E" : void 0 }),
|
|
17
17
|
r
|
|
18
18
|
]
|
|
19
19
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
2
|
+
import { Space as m } from "antd";
|
|
3
|
+
import { CheckListItem as p } from "./checklist-item.js";
|
|
4
|
+
const a = ({
|
|
5
5
|
items: e,
|
|
6
6
|
className: i
|
|
7
|
-
}) => /* @__PURE__ */ r(
|
|
7
|
+
}) => /* @__PURE__ */ r(m, { direction: "vertical", size: 16, className: i, children: e.map(({ content: t, ...o }, c) => /* @__PURE__ */ r(p, { ...o, children: t }, c)) });
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
a as CheckList
|
|
10
10
|
};
|