@code0-tech/pictor 0.11.1 → 0.13.0
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/LICENSE +20 -0
- package/dist/assets/components/avatar/Avatar.style.css +1 -1
- package/dist/assets/components/card/Card.style.css +1 -1
- package/dist/assets/components/data-table/DataTable.style.css +1 -1
- package/dist/assets/components/form/Input.style.css +1 -1
- package/dist/assets/components/icon/Icon.style.css +1 -0
- package/dist/components/avatar/Avatar.js +17 -16
- package/dist/components/card/Card.d.ts +1 -0
- package/dist/components/card/Card.js +25 -23
- package/dist/components/data-table/DataTable.d.ts +4 -1
- package/dist/components/data-table/DataTable.js +53 -31
- package/dist/components/data-table/DataTableHeader.d.ts +14 -0
- package/dist/components/data-table/DataTableHeader.js +39 -0
- package/dist/components/data-table/DataTablePagination.d.ts +30 -0
- package/dist/components/data-table/DataTablePagination.js +75 -0
- package/dist/components/data-table/index.d.ts +2 -0
- package/dist/components/data-table/index.js +16 -5
- package/dist/components/form/PinInput.js +44 -47
- package/dist/components/icon/Icon.d.ts +36 -0
- package/dist/components/icon/Icon.js +44 -0
- package/dist/components/icon/codezero/codezero.svg.js +5 -0
- package/dist/components/icon/codezero/gls.svg.js +5 -0
- package/dist/components/icon/codezero/index.d.ts +7 -0
- package/dist/components/icon/codezero/index.js +14 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +205 -191
- package/dist/vite-env.d.js +1 -0
- package/package.json +13 -10
|
@@ -1,69 +1,66 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c
|
|
3
|
-
import { OneTimePasswordFieldInput as
|
|
1
|
+
import { jsx as a, jsxs as v, Fragment as F } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { OneTimePasswordFieldInput as x, OneTimePasswordFieldHiddenInput as C, OneTimePasswordField as M } from "@radix-ui/react-one-time-password-field";
|
|
4
4
|
import "../../utils/contextStore.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { mergeComponentProps as V } from "../../utils/component.js";
|
|
7
7
|
import "js-md5";
|
|
8
|
-
import { InputLabel as
|
|
9
|
-
import { InputDescription as
|
|
10
|
-
import { InputMessage as
|
|
8
|
+
import { InputLabel as T } from "./InputLabel.js";
|
|
9
|
+
import { InputDescription as _ } from "./InputDescription.js";
|
|
10
|
+
import { InputMessage as $ } from "./InputMessage.js";
|
|
11
11
|
import '../../assets/components/form/Input.style.css';/* empty css */
|
|
12
|
-
const
|
|
13
|
-
const e =
|
|
14
|
-
let t, i,
|
|
12
|
+
const z = (n) => {
|
|
13
|
+
const e = c.c(20);
|
|
14
|
+
let t, i, s, l, o;
|
|
15
15
|
if (e[0] !== n) {
|
|
16
16
|
const {
|
|
17
|
-
title:
|
|
18
|
-
description:
|
|
19
|
-
disabled:
|
|
20
|
-
formValidation:
|
|
21
|
-
...
|
|
22
|
-
} = n;
|
|
23
|
-
i =
|
|
17
|
+
title: u,
|
|
18
|
+
description: f,
|
|
19
|
+
disabled: g,
|
|
20
|
+
formValidation: h,
|
|
21
|
+
...p
|
|
22
|
+
} = n, P = g === void 0 ? !1 : g;
|
|
23
|
+
i = h === void 0 ? {
|
|
24
24
|
valid: !0,
|
|
25
25
|
notValidMessage: null,
|
|
26
|
-
setValue:
|
|
27
|
-
} :
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
g.onValueChange && g.onValueChange(v), i.setValue?.(v);
|
|
26
|
+
setValue: b
|
|
27
|
+
} : h, e[6] !== u ? (l = u ? /* @__PURE__ */ a(T, { children: u }) : null, e[6] = u, e[7] = l) : l = e[7], e[8] !== f ? (o = f ? /* @__PURE__ */ a(_, { children: f }) : null, e[8] = f, e[9] = o) : o = e[9], t = M, s = V(`pin-input ${i?.valid ? "" : "pin-input--not-valid"}`, {
|
|
28
|
+
...p,
|
|
29
|
+
disabled: P,
|
|
30
|
+
onValueChange: (I) => {
|
|
31
|
+
p.onValueChange && p.onValueChange(I), i.setValue?.(I);
|
|
33
32
|
}
|
|
34
|
-
}), e[0] = n, e[1] = t, e[2] = i, e[3] =
|
|
33
|
+
}), e[0] = n, e[1] = t, e[2] = i, e[3] = s, e[4] = l, e[5] = o;
|
|
35
34
|
} else
|
|
36
|
-
t = e[1], i = e[2],
|
|
37
|
-
let
|
|
38
|
-
e[
|
|
35
|
+
t = e[1], i = e[2], s = e[3], l = e[4], o = e[5];
|
|
36
|
+
let r;
|
|
37
|
+
e[10] !== t || e[11] !== s ? (r = /* @__PURE__ */ a(t, { ...s }), e[10] = t, e[11] = s, e[12] = r) : r = e[12];
|
|
38
|
+
let d;
|
|
39
|
+
e[13] !== i ? (d = !i?.valid && i?.notValidMessage ? /* @__PURE__ */ a($, { children: i.notValidMessage }) : null, e[13] = i, e[14] = d) : d = e[14];
|
|
39
40
|
let m;
|
|
40
|
-
e[
|
|
41
|
-
|
|
42
|
-
e[19] !== i ? (u = !i?.valid && i?.notValidMessage ? /* @__PURE__ */ r(w, { children: i.notValidMessage }) : null, e[19] = i, e[20] = u) : u = e[20];
|
|
43
|
-
let f;
|
|
44
|
-
return e[21] !== o || e[22] !== s || e[23] !== m || e[24] !== u ? (f = /* @__PURE__ */ F(x, { children: [
|
|
41
|
+
return e[15] !== l || e[16] !== o || e[17] !== r || e[18] !== d ? (m = /* @__PURE__ */ v(F, { children: [
|
|
42
|
+
l,
|
|
45
43
|
o,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
const e = I.c(4);
|
|
44
|
+
r,
|
|
45
|
+
d
|
|
46
|
+
] }), e[15] = l, e[16] = o, e[17] = r, e[18] = d, e[19] = m) : m = e[19], m;
|
|
47
|
+
}, A = (n) => {
|
|
48
|
+
const e = c.c(4);
|
|
52
49
|
let t;
|
|
53
|
-
e[0] !== n ? (t = V("
|
|
50
|
+
e[0] !== n ? (t = V("pin-input__field", n), e[0] = n, e[1] = t) : t = e[1];
|
|
54
51
|
let i;
|
|
55
|
-
return e[2] !== t ? (i = /* @__PURE__ */
|
|
56
|
-
},
|
|
57
|
-
const e =
|
|
52
|
+
return e[2] !== t ? (i = /* @__PURE__ */ a(x, { ...t }), e[2] = t, e[3] = i) : i = e[3], i;
|
|
53
|
+
}, B = (n) => {
|
|
54
|
+
const e = c.c(4);
|
|
58
55
|
let t;
|
|
59
56
|
e[0] !== n ? (t = V("pin-input__hidden-field", n), e[0] = n, e[1] = t) : t = e[1];
|
|
60
57
|
let i;
|
|
61
|
-
return e[2] !== t ? (i = /* @__PURE__ */
|
|
58
|
+
return e[2] !== t ? (i = /* @__PURE__ */ a(C, { ...t }), e[2] = t, e[3] = i) : i = e[3], i;
|
|
62
59
|
};
|
|
63
|
-
function
|
|
60
|
+
function b(n) {
|
|
64
61
|
}
|
|
65
62
|
export {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
z as PinInput,
|
|
64
|
+
A as PinInputField,
|
|
65
|
+
B as PinInputHiddenField
|
|
69
66
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Component } from '../../utils';
|
|
3
|
+
/**
|
|
4
|
+
* The common shape every resolved icon component is rendered with. All three
|
|
5
|
+
* sources (Tabler, Simple Icons, CodeZero) accept `size`/`color`; `stroke` is
|
|
6
|
+
* only honoured by Tabler icons and ignored by the others.
|
|
7
|
+
*/
|
|
8
|
+
export type IconComponent = React.FC<{
|
|
9
|
+
size?: number | string;
|
|
10
|
+
color?: string;
|
|
11
|
+
stroke?: number | string;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
} & Record<string, unknown>>;
|
|
15
|
+
/**
|
|
16
|
+
* A string reference to an icon, optionally prefixed with its source:
|
|
17
|
+
* - `tabler:<name>` (default when no prefix is given) e.g. `tabler:arrow-left`
|
|
18
|
+
* - `simple:<name>` e.g. `simple:github`
|
|
19
|
+
* - `codezero:<name>` e.g. `codezero:code0`
|
|
20
|
+
*
|
|
21
|
+
* Names are normalized, so `tabler:arrow-left`, `arrow-left`, `ArrowLeft` and
|
|
22
|
+
* `IconArrowLeft` all resolve to the same icon.
|
|
23
|
+
*/
|
|
24
|
+
export type IconString = `tabler:${string}` | `simple:${string}` | `codezero:${string}` | (string & {});
|
|
25
|
+
/**
|
|
26
|
+
* Resolves an {@link IconString} to its matching icon component from one of the
|
|
27
|
+
* registered sources. Falls back to Tabler's `IconNote` when no icon matches.
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveIcon: (icon?: IconString) => IconComponent;
|
|
30
|
+
export interface IconProps extends Omit<Component<SVGSVGElement>, "size"> {
|
|
31
|
+
icon: IconString;
|
|
32
|
+
size?: number | string;
|
|
33
|
+
color?: string;
|
|
34
|
+
stroke?: number | string;
|
|
35
|
+
}
|
|
36
|
+
export declare const Icon: React.FC<IconProps>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
+
import { c as h } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import * as a from "@tabler/icons-react";
|
|
4
|
+
import * as I from "@icons-pack/react-simple-icons";
|
|
5
|
+
import * as f from "./codezero/index.js";
|
|
6
|
+
import "../../utils/contextStore.js";
|
|
7
|
+
import "react";
|
|
8
|
+
import { mergeComponentProps as k } from "../../utils/component.js";
|
|
9
|
+
import "js-md5";
|
|
10
|
+
import '../../assets/components/icon/Icon.style.css';/* empty css */
|
|
11
|
+
const x = (r) => {
|
|
12
|
+
const o = a.IconNote;
|
|
13
|
+
if (r?.startsWith("codezero:")) {
|
|
14
|
+
const e = r.replace("codezero:", "").trim().toLowerCase(), t = Object.keys(f).find((i) => i.toLowerCase() === e);
|
|
15
|
+
return t ? f[t] : o;
|
|
16
|
+
}
|
|
17
|
+
if (r?.startsWith("simple:")) {
|
|
18
|
+
const e = r.replace("simple:", "").trim(), t = `Si${e.charAt(0).toUpperCase() + e.slice(1)}`;
|
|
19
|
+
return t in I ? I[t] : o;
|
|
20
|
+
}
|
|
21
|
+
const n = `Icon${(r?.replace("tabler:", "") ?? "Note").trim().replace(/^icon/i, "").split(/[\s_-]+/).filter(Boolean).map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join("")}`;
|
|
22
|
+
return n in a ? a[n] : o;
|
|
23
|
+
}, S = (r) => {
|
|
24
|
+
const o = h.c(14);
|
|
25
|
+
let n, c, e, t, s;
|
|
26
|
+
if (o[0] !== r) {
|
|
27
|
+
const {
|
|
28
|
+
icon: m,
|
|
29
|
+
size: p,
|
|
30
|
+
color: d,
|
|
31
|
+
stroke: v,
|
|
32
|
+
...z
|
|
33
|
+
} = r, C = p === void 0 ? 24 : p, u = d === void 0 ? "currentColor" : d;
|
|
34
|
+
let l;
|
|
35
|
+
o[6] !== m ? (l = x(m), o[6] = m, o[7] = l) : l = o[7], n = l, c = C, e = u, t = v, s = k("icon", z), o[0] = r, o[1] = n, o[2] = c, o[3] = e, o[4] = t, o[5] = s;
|
|
36
|
+
} else
|
|
37
|
+
n = o[1], c = o[2], e = o[3], t = o[4], s = o[5];
|
|
38
|
+
let i;
|
|
39
|
+
return o[8] !== n || o[9] !== c || o[10] !== e || o[11] !== t || o[12] !== s ? (i = /* @__PURE__ */ b(n, { size: c, color: e, stroke: t, ...s }), o[8] = n, o[9] = c, o[10] = e, o[11] = t, o[12] = s, o[13] = i) : i = o[13], i;
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
S as Icon,
|
|
43
|
+
x as resolveIcon
|
|
44
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as c from "react";
|
|
2
|
+
const e = (v) => /* @__PURE__ */ c.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", id: "c", viewBox: "8.01 8.97 23.83 23.83", ...v }, /* @__PURE__ */ c.createElement("path", { d: "M25.498,8.966h-11.132c-3.508,0-6.351,2.843-6.351,6.351v11.132c0,3.507,2.843,6.351,6.351,6.351h11.132c3.508,0,6.351-2.843,6.351-6.351v-11.132c0-3.507-2.843-6.351-6.351-6.351ZM24.829,15.569h-.379c-.454,0-.759.101-.915.303-.157.202-.234.514-.234.938v2.011c0,.525-.071.968-.212,1.331s-.423.676-.847.938c.424.262.706.575.847.938s.212.807.212,1.331v2.012c0,.423.078.736.234.937.156.202.461.303.915.303h.379v1.8h-.303c-.635,0-1.167-.061-1.596-.182-.429-.121-.771-.298-1.029-.53s-.441-.516-.552-.855c-.111-.337-.167-.724-.167-1.157v-2.285c0-.423-.101-.766-.303-1.028-.198-.258-.522-.387-.965-.391-.443.004-.766.132-.966.391-.201.262-.302.605-.302,1.028v2.285c0,.433-.056.819-.167,1.157-.111.338-.295.623-.552.855s-.6.408-1.029.53c-.428.12-.96.182-1.596.182h-.303v-1.8h.379c.454,0,.758-.101.915-.303.156-.201.234-.514.234-.937v-2.012c0-.524.07-.968.212-1.331.141-.363.423-.676.847-.938-.423-.262-.705-.575-.847-.938-.142-.363-.212-.806-.212-1.331v-2.011c0-.424-.078-.736-.234-.938-.157-.201-.461-.303-.915-.303h-.379v-1.799h.303c.635,0,1.167.06,1.596.182.429.12.771.297,1.029.529.257.233.441.517.552.855.111.338.167.724.167,1.158v2.284c0,.423.101.766.302,1.029.199.258.522.386.966.39.443-.004.766-.131.965-.39.202-.262.303-.606.303-1.029v-2.284c0-.434.055-.819.167-1.158.111-.337.295-.622.552-.855.257-.232.6-.408,1.029-.529.428-.121.96-.182,1.596-.182h.303v1.799Z" }));
|
|
3
|
+
export {
|
|
4
|
+
e as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as c from "react";
|
|
2
|
+
const e = (a) => /* @__PURE__ */ c.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...a }, /* @__PURE__ */ c.createElement("title", null, "GLS"), /* @__PURE__ */ c.createElement("path", { d: "M 5.089 8.207 c 0.398 0.02 0.787 0.074 1.179 0.148 c 0.21 0.04 0.42 0.085 0.625 0.153 c 0.031 0.011 0.062 0.026 0.094 0.034 c 0.028 0.009 0.037 0.023 0.037 0.054 v 2.025 l -0.352 -0.102 a 8 8 0 0 0 -1.136 -0.241 a 4 4 0 0 0 -1.062 -0.014 a 2.1 2.1 0 0 0 -0.863 0.287 a 1.6 1.6 0 0 0 -0.67 0.872 c -0.08 0.239 -0.116 0.486 -0.125 0.738 q -0.015 0.337 0.034 0.673 c 0.043 0.264 0.119 0.517 0.27 0.741 c 0.199 0.293 0.48 0.46 0.818 0.537 c 0.185 0.043 0.372 0.065 0.559 0.045 c 0.352 -0.034 0.662 -0.165 0.895 -0.446 a 0.2 0.2 0 0 0 0.028 -0.04 q 0.004 -0.005 0.003 -0.009 c -0.011 -0.006 -0.026 -0.003 -0.037 -0.003 H 4.037 c -0.031 0 -0.043 -0.006 -0.043 -0.04 v -1.65 c 0 -0.031 0.009 -0.04 0.04 -0.04 h 3.771 c 0.031 0 0.04 0.009 0.04 0.04 v 4.075 c 0 0.028 -0.006 0.037 -0.037 0.037 H 6.28 c -0.034 0 -0.04 -0.011 -0.04 -0.043 l 0.009 -1.073 q 0.002 -0.018 -0.006 -0.04 l -0.031 0.06 a 2 2 0 0 1 -0.665 0.707 a 3.05 3.05 0 0 1 -1.213 0.471 a 4 4 0 0 1 -0.383 0.04 c -0.014 0.006 -0.028 0 -0.043 0.003 h -0.293 c -0.346 0 -0.684 -0.057 -1.017 -0.153 q -0.281 -0.081 -0.545 -0.213 a 3 3 0 0 1 -0.662 -0.449 a 3.4 3.4 0 0 1 -0.579 -0.662 a 3.5 3.5 0 0 1 -0.426 -0.917 a 4 4 0 0 1 -0.136 -0.619 a 3 3 0 0 1 -0.043 -0.463 l -0.003 -0.136 v -0.415 a 4.05 4.05 0 0 1 0.429 -1.795 q 0.201 -0.397 0.497 -0.736 a 4 4 0 0 1 0.787 -0.693 c 0.281 -0.19 0.585 -0.338 0.903 -0.454 A 5 5 0 0 1 3.916 8.24 q 0.282 -0.041 0.565 -0.043 h 0.091 c 0.02 -0.003 0.043 0.003 0.062 -0.003 h 0.307 c 0.02 0.009 0.043 0.003 0.062 0.003 h 0.04 c 0.017 0.009 0.031 0.003 0.045 0.009 M 16.9 16.21 a 13 13 0 0 1 -0.645 -0.034 a 10 10 0 0 1 -0.863 -0.105 a 6 6 0 0 1 -0.738 -0.168 c -0.028 -0.009 -0.037 -0.02 -0.037 -0.051 V 13.816 c 0 -0.043 0 -0.043 0.04 -0.031 c 0.327 0.102 0.662 0.179 1 0.244 q 0.388 0.077 0.781 0.128 q 0.311 0.04 0.628 0.048 c 0.187 0.006 0.375 -0.003 0.559 -0.037 a 0.8 0.8 0 0 0 0.298 -0.111 c 0.125 -0.08 0.179 -0.199 0.153 -0.335 a 0.21 0.21 0 0 0 -0.105 -0.145 a 0.9 0.9 0 0 0 -0.284 -0.111 q -0.464 -0.107 -0.929 -0.21 a 4.5 4.5 0 0 1 -0.991 -0.321 c -0.341 -0.162 -0.642 -0.378 -0.866 -0.684 a 2 2 0 0 1 -0.352 -0.843 a 3 3 0 0 1 -0.043 -0.506 c 0 -0.46 0.082 -0.9 0.307 -1.306 a 2.4 2.4 0 0 1 1.014 -0.983 a 3.4 3.4 0 0 1 1.008 -0.335 c 0.204 -0.037 0.412 -0.057 0.619 -0.068 c 0.014 -0.006 0.028 0 0.04 -0.003 h 0.045 c 0.02 -0.003 0.037 0.003 0.057 -0.003 h 0.287 c 0.02 0.009 0.043 0.003 0.062 0.003 h 0.085 c 0.182 0 0.364 0.014 0.542 0.034 q 0.47 0.045 0.934 0.125 c 0.196 0.034 0.392 0.071 0.588 0.119 c 0.057 0.014 0.057 0.017 0.057 0.074 v 1.928 c 0 0.048 -0.006 0.051 -0.054 0.04 a 11 11 0 0 0 -0.684 -0.151 a 15 15 0 0 0 -0.775 -0.128 a 11 11 0 0 0 -0.54 -0.057 a 5 5 0 0 0 -0.474 -0.006 a 1.05 1.05 0 0 0 -0.474 0.111 c -0.094 0.051 -0.168 0.122 -0.19 0.23 c -0.026 0.116 0.02 0.213 0.125 0.281 a 0.8 0.8 0 0 0 0.25 0.105 c 0.256 0.065 0.511 0.122 0.77 0.185 c 0.236 0.057 0.474 0.108 0.704 0.185 c 0.329 0.111 0.645 0.253 0.923 0.469 c 0.298 0.23 0.523 0.52 0.653 0.875 q 0.114 0.316 0.142 0.653 q 0.022 0.255 0.006 0.511 a 2.37 2.37 0 0 1 -0.44 1.252 a 2.5 2.5 0 0 1 -0.594 0.576 a 3.2 3.2 0 0 1 -1.034 0.46 a 4.5 4.5 0 0 1 -1.076 0.137 h -0.409 c -0.028 -0.006 -0.054 0 -0.08 -0.006 m 6.896 -1.24 c -0.017 0.045 -0.017 0.097 -0.026 0.145 c -0.051 0.25 -0.159 0.466 -0.335 0.65 c -0.21 0.224 -0.469 0.361 -0.772 0.4 a 1.28 1.28 0 0 1 -1.099 -0.355 a 1.26 1.26 0 0 1 -0.386 -0.733 A 1.29 1.29 0 0 1 21.479 14 a 1.23 1.23 0 0 1 0.775 -0.437 c 0.506 -0.077 0.929 0.082 1.255 0.477 c 0.17 0.207 0.261 0.449 0.284 0.716 c 0.006 0.02 0 0.04 0.003 0.062 v 0.08 c 0.003 0.017 -0.003 0.034 0.003 0.051 q -0.004 0.01 -0.003 0.02 M 8.63 12.206 V 8.369 c 0 -0.034 0.009 -0.04 0.04 -0.04 h 2.406 c 0.031 0 0.037 0.009 0.037 0.04 v 5.649 c 0 0.045 0 0.045 0.045 0.045 h 2.627 c 0.034 0 0.04 0.009 0.04 0.04 v 1.942 c 0 0.034 -0.011 0.04 -0.043 0.04 H 8.67 c -0.037 0 -0.043 -0.009 -0.043 -0.045 q 0.004 -1.917 0.003 -3.834" }));
|
|
3
|
+
export {
|
|
4
|
+
e as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type CustomIconProps = {
|
|
3
|
+
size?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
} & Omit<React.SVGProps<SVGSVGElement>, "color">;
|
|
6
|
+
export declare const CodeZero: React.FC<CustomIconProps>;
|
|
7
|
+
export declare const Gls: React.FC<CustomIconProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import e from "./codezero.svg.js";
|
|
3
|
+
import s from "./gls.svg.js";
|
|
4
|
+
const r = (t) => function({
|
|
5
|
+
size: o = 24,
|
|
6
|
+
color: n = "currentColor",
|
|
7
|
+
...c
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ m(t, { width: o, height: o, fill: n, ...c });
|
|
10
|
+
}, p = r(e), C = r(s);
|
|
11
|
+
export {
|
|
12
|
+
p as CodeZero,
|
|
13
|
+
C as Gls
|
|
14
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from './components/form/index';
|
|
|
20
20
|
export * from './components/json-view/JsonView';
|
|
21
21
|
export * from './components/fullscreen/FullScreen';
|
|
22
22
|
export * from './components/gantt/Gantt';
|
|
23
|
+
export * from './components/icon/Icon';
|
|
23
24
|
export * from './components/layout/Layout';
|
|
24
25
|
export * from './components/menu/Menu';
|
|
25
26
|
export * from './components/progress/Progress';
|