@dgshahr/ui-kit 0.0.89 → 0.0.90
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/FieldBottomInfo-CE1uBAqq.cjs +1 -0
- package/dist/FieldBottomInfo-CJ8_Kr25.js +49 -0
- package/dist/Form/FileUploader/index.cjs +1 -1
- package/dist/Form/FileUploader/index.d.ts.map +1 -1
- package/dist/Form/FileUploader/index.mjs +80 -80
- package/dist/Form/FileUploader/types.d.ts +2 -1
- package/dist/Form/FileUploader/types.d.ts.map +1 -1
- package/dist/Form/Input/index.cjs +1 -1
- package/dist/Form/Input/index.mjs +1 -1
- package/dist/Form/OtpInput/index.cjs +1 -1
- package/dist/Form/OtpInput/index.mjs +2 -2
- package/dist/Form/Select/Options.d.ts.map +1 -1
- package/dist/Form/Select/index.cjs +1 -1
- package/dist/Form/Select/index.mjs +25 -21
- package/dist/Form/Textarea/index.cjs +1 -1
- package/dist/Form/Textarea/index.mjs +1 -1
- package/dist/IconInfoCircleOutline-0ef3qbeI.cjs +1 -0
- package/dist/IconInfoCircleOutline-aO1F3qnG.js +35 -0
- package/dist/Table/Header.d.ts +7 -0
- package/dist/Table/Header.d.ts.map +1 -0
- package/dist/Table/TBody.d.ts +11 -0
- package/dist/Table/TBody.d.ts.map +1 -0
- package/dist/Table/THead.d.ts +11 -0
- package/dist/Table/THead.d.ts.map +1 -0
- package/dist/Table/index.cjs +1 -0
- package/dist/Table/index.d.ts +5 -0
- package/dist/Table/index.d.ts.map +1 -0
- package/dist/Table/index.mjs +329 -0
- package/dist/Table/types.d.ts +54 -0
- package/dist/Table/types.d.ts.map +1 -0
- package/dist/Table/utils.d.ts +8 -0
- package/dist/Table/utils.d.ts.map +1 -0
- package/dist/{TextFieldWrapper-K0g1kAl1.cjs → TextFieldWrapper-CQbBbmlX.cjs} +1 -1
- package/dist/{TextFieldWrapper-44165bs_.js → TextFieldWrapper-CQgQsfMJ.js} +1 -1
- package/dist/Tooltip/index.cjs +1 -1
- package/dist/Tooltip/index.d.ts +1 -0
- package/dist/Tooltip/index.d.ts.map +1 -1
- package/dist/Tooltip/index.mjs +36 -27
- package/dist/assets/styles.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +12 -10
- package/package.json +6 -1
- package/dist/FieldBottomInfo-7YeZbp0-.cjs +0 -1
- package/dist/FieldBottomInfo-B1n-gK3T.js +0 -78
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),r=require("./clsx-C11secjj.cjs"),u=l=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...l,children:[e.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.25 3.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5M2.5 12a9.75 9.75 0 0 1 9.75-9.75A9.75 9.75 0 0 1 22 12c0 5.384-4.365 9.75-9.75 9.75S2.5 17.384 2.5 12",clipRule:"evenodd"}),e.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.25 7.541a.75.75 0 0 1 .75.75v.063a.75.75 0 0 1-1.5 0v-.063a.75.75 0 0 1 .75-.75m.006 3.103a.75.75 0 0 1 .75.75v4.3a.75.75 0 0 1-1.5 0v-4.3a.75.75 0 0 1 .75-.75",clipRule:"evenodd"})]}),o=l=>{const{errorMessage:i,hintMessage:t,extraHelper:s,disabled:d,className:n}=l;return e.jsxs("div",{className:r.clsx("dgs-ui-kit-flex dgs-ui-kit-font-p3-regular",{"dgs-ui-kit-justify-between":(i??t)&&s,"dgs-ui-kit-justify-start":(i??t)&&!s,"dgs-ui-kit-justify-end":!(i??t)&&s,"dgs-ui-kit-text-gray-400":d},i?"dgs-ui-kit-text-error-500":"dgs-ui-kit-text-gray-500",n),children:[(i||t)&&e.jsxs("div",{className:r.clsx("dgs-ui-kit-flex dgs-ui-kit-items-center dgs-ui-kit-gap-2 dgs-ui-kit-font-light",{"dgs-ui-kit-text-gray-400":d}),children:[e.jsx(u,{width:16,height:16}),e.jsx("span",{children:i??t})]}),s]})};exports.FieldBottomInfo=o;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { jsxs as d, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as a } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
const o = (l) => /* @__PURE__ */ d(
|
|
4
|
-
"svg",
|
|
5
|
-
{
|
|
6
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
-
width: "1em",
|
|
8
|
-
height: "1em",
|
|
9
|
-
fill: "none",
|
|
10
|
-
viewBox: "0 0 24 24",
|
|
11
|
-
...l,
|
|
12
|
-
children: [
|
|
13
|
-
/* @__PURE__ */ s(
|
|
14
|
-
"path",
|
|
15
|
-
{
|
|
16
|
-
fill: "currentColor",
|
|
17
|
-
fillRule: "evenodd",
|
|
18
|
-
d: "M12.25 3.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5M2.5 12a9.75 9.75 0 0 1 9.75-9.75A9.75 9.75 0 0 1 22 12c0 5.384-4.365 9.75-9.75 9.75S2.5 17.384 2.5 12",
|
|
19
|
-
clipRule: "evenodd"
|
|
20
|
-
}
|
|
21
|
-
),
|
|
22
|
-
/* @__PURE__ */ s(
|
|
23
|
-
"path",
|
|
24
|
-
{
|
|
25
|
-
fill: "currentColor",
|
|
26
|
-
fillRule: "evenodd",
|
|
27
|
-
d: "M12.25 7.541a.75.75 0 0 1 .75.75v.063a.75.75 0 0 1-1.5 0v-.063a.75.75 0 0 1 .75-.75m.006 3.103a.75.75 0 0 1 .75.75v4.3a.75.75 0 0 1-1.5 0v-4.3a.75.75 0 0 1 .75-.75",
|
|
28
|
-
clipRule: "evenodd"
|
|
29
|
-
}
|
|
30
|
-
)
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
), c = (l) => {
|
|
34
|
-
const { errorMessage: e, hintMessage: i, extraHelper: t, disabled: r, className: n } = l;
|
|
35
|
-
return /* @__PURE__ */ d(
|
|
36
|
-
"div",
|
|
37
|
-
{
|
|
38
|
-
className: a(
|
|
39
|
-
"dgs-ui-kit-flex dgs-ui-kit-font-p3-regular",
|
|
40
|
-
{
|
|
41
|
-
"dgs-ui-kit-justify-between": (e ?? i) && t,
|
|
42
|
-
"dgs-ui-kit-justify-start": (e ?? i) && !t,
|
|
43
|
-
"dgs-ui-kit-justify-end": !(e ?? i) && t,
|
|
44
|
-
"dgs-ui-kit-text-gray-400": r
|
|
45
|
-
},
|
|
46
|
-
e ? "dgs-ui-kit-text-error-500" : "dgs-ui-kit-text-gray-500",
|
|
47
|
-
n
|
|
48
|
-
),
|
|
49
|
-
children: [
|
|
50
|
-
(e || i) && /* @__PURE__ */ d(
|
|
51
|
-
"div",
|
|
52
|
-
{
|
|
53
|
-
className: a(
|
|
54
|
-
"dgs-ui-kit-flex dgs-ui-kit-items-center dgs-ui-kit-gap-2 dgs-ui-kit-font-light",
|
|
55
|
-
{
|
|
56
|
-
"dgs-ui-kit-text-gray-400": r
|
|
57
|
-
}
|
|
58
|
-
),
|
|
59
|
-
children: [
|
|
60
|
-
/* @__PURE__ */ s(
|
|
61
|
-
o,
|
|
62
|
-
{
|
|
63
|
-
width: 16,
|
|
64
|
-
height: 16
|
|
65
|
-
}
|
|
66
|
-
),
|
|
67
|
-
/* @__PURE__ */ s("span", { children: e ?? i })
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
),
|
|
71
|
-
t
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
|
-
);
|
|
75
|
-
};
|
|
76
|
-
export {
|
|
77
|
-
c as F
|
|
78
|
-
};
|