@timmbr/icons 1.0.0-beta → 1.1.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/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +68 -45
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from './Icon';
|
|
2
2
|
export * from './Icon.types';
|
|
3
3
|
export * from './custom';
|
|
4
|
-
export { ChevronDown, ChevronUp, ChevronRight, ChevronLeft, Check, CheckCircle, X, AlertCircle, AlertTriangle, Info, Loader2, Sparkles, ArrowRight, ArrowLeft, Download, Heart, Search, Bell, Share2, Eye, EyeOff, TrendingUp, TrendingDown, MoreHorizontal, MoreVertical, } from 'lucide-react';
|
|
4
|
+
export { ChevronDown, ChevronUp, ChevronRight, ChevronLeft, ChevronsUpDown, Check, CheckCircle, Copy, X, AlertCircle, AlertTriangle, Info, Loader2, Sparkles, ArrowRight, ArrowLeft, Download, Heart, Search, Bell, Share2, Eye, EyeOff, TrendingUp, TrendingDown, MoreHorizontal, MoreVertical, LayoutDashboard, ShoppingCart, Package, Tag, Users, BarChart3, Megaphone, Percent, Settings, HelpCircle, LifeBuoy, LogOut, User, ExternalLink, Folder, Plus, Trash2, Filter, Menu, FileText, BookOpen, } from 'lucide-react';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AAGzB,OAAO,EACL,WAAW,EACX,SAAS,EACT,YAAY,EACZ,WAAW,EACX,KAAK,EACL,WAAW,EACX,CAAC,EACD,WAAW,EACX,aAAa,EACb,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,UAAU,EACV,SAAS,EACT,QAAQ,EACR,KAAK,EACL,MAAM,EACN,IAAI,EACJ,MAAM,EACN,GAAG,EACH,MAAM,EACN,UAAU,EACV,YAAY,EACZ,cAAc,EACd,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AAGzB,OAAO,EACL,WAAW,EACX,SAAS,EACT,YAAY,EACZ,WAAW,EACX,cAAc,EACd,KAAK,EACL,WAAW,EACX,IAAI,EACJ,CAAC,EACD,WAAW,EACX,aAAa,EACb,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,UAAU,EACV,SAAS,EACT,QAAQ,EACR,KAAK,EACL,MAAM,EACN,IAAI,EACJ,MAAM,EACN,GAAG,EACH,MAAM,EACN,UAAU,EACV,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,OAAO,EACP,GAAG,EACH,KAAK,EACL,SAAS,EACT,SAAS,EACT,OAAO,EACP,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,IAAI,EACJ,MAAM,EACN,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,QAAQ,GACT,MAAM,cAAc,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { cn as
|
|
4
|
-
import { AlertCircle as
|
|
5
|
-
const h =
|
|
6
|
-
({ icon: r, className: t, size:
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import * as c from "react";
|
|
3
|
+
import { cn as s } from "@timmbr/utils";
|
|
4
|
+
import { AlertCircle as m, AlertTriangle as u, ArrowLeft as v, ArrowRight as x, BarChart3 as L, Bell as y, BookOpen as M, Check as H, CheckCircle as I, ChevronDown as B, ChevronLeft as D, ChevronRight as S, ChevronUp as T, ChevronsUpDown as A, Copy as N, Download as U, ExternalLink as W, Eye as O, EyeOff as R, FileText as j, Filter as E, Folder as F, Heart as P, HelpCircle as V, Info as b, LayoutDashboard as X, LifeBuoy as q, Loader2 as G, LogOut as J, Megaphone as K, Menu as Q, MoreHorizontal as Y, MoreVertical as Z, Package as _, Percent as $, Plus as z, Search as rr, Settings as er, Share2 as or, ShoppingCart as nr, Sparkles as tr, Tag as ir, Trash2 as ar, TrendingDown as lr, TrendingUp as sr, User as cr, Users as hr, X as pr } from "lucide-react";
|
|
5
|
+
const h = c.forwardRef(
|
|
6
|
+
({ icon: r, className: t, size: o = 24, customSize: n = !1, ...i }, a) => /* @__PURE__ */ e(
|
|
7
7
|
r,
|
|
8
8
|
{
|
|
9
9
|
ref: a,
|
|
10
|
-
width: n ? void 0 :
|
|
11
|
-
height: n ? void 0 :
|
|
12
|
-
className:
|
|
10
|
+
width: n ? void 0 : o,
|
|
11
|
+
height: n ? void 0 : o,
|
|
12
|
+
className: s("shrink-0 text-current transition-transform", t),
|
|
13
13
|
...i
|
|
14
14
|
}
|
|
15
15
|
)
|
|
16
16
|
);
|
|
17
17
|
h.displayName = "Icon";
|
|
18
|
-
const
|
|
18
|
+
const p = (r) => /* @__PURE__ */ l(
|
|
19
19
|
"svg",
|
|
20
20
|
{
|
|
21
21
|
viewBox: "0 0 32 32",
|
|
@@ -23,8 +23,8 @@ const d = (r) => /* @__PURE__ */ c(
|
|
|
23
23
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24
24
|
...r,
|
|
25
25
|
children: [
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
/* @__PURE__ */
|
|
26
|
+
/* @__PURE__ */ e("rect", { width: "32", height: "32", rx: "8", fill: "currentColor", fillOpacity: "0.1" }),
|
|
27
|
+
/* @__PURE__ */ e(
|
|
28
28
|
"path",
|
|
29
29
|
{
|
|
30
30
|
d: "M8 10H24M16 10V24M11 24H21",
|
|
@@ -37,25 +37,25 @@ const d = (r) => /* @__PURE__ */ c(
|
|
|
37
37
|
]
|
|
38
38
|
}
|
|
39
39
|
);
|
|
40
|
-
|
|
41
|
-
const
|
|
40
|
+
p.displayName = "LogoIcon";
|
|
41
|
+
const d = ({
|
|
42
42
|
size: r,
|
|
43
43
|
width: t,
|
|
44
|
-
height:
|
|
44
|
+
height: o,
|
|
45
45
|
className: n,
|
|
46
46
|
...i
|
|
47
|
-
}) => /* @__PURE__ */
|
|
47
|
+
}) => /* @__PURE__ */ l(
|
|
48
48
|
"svg",
|
|
49
49
|
{
|
|
50
50
|
width: t ?? r ?? 24,
|
|
51
|
-
height:
|
|
51
|
+
height: o ?? r ?? 24,
|
|
52
52
|
viewBox: "0 0 24 24",
|
|
53
53
|
fill: "none",
|
|
54
54
|
xmlns: "http://www.w3.org/2000/svg",
|
|
55
|
-
className:
|
|
55
|
+
className: s("animate-spin", n),
|
|
56
56
|
...i,
|
|
57
57
|
children: [
|
|
58
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ e(
|
|
59
59
|
"circle",
|
|
60
60
|
{
|
|
61
61
|
cx: "12",
|
|
@@ -68,7 +68,7 @@ const p = ({
|
|
|
68
68
|
opacity: "0.25"
|
|
69
69
|
}
|
|
70
70
|
),
|
|
71
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ e(
|
|
72
72
|
"path",
|
|
73
73
|
{
|
|
74
74
|
d: "M12 2A10 10 0 0 1 22 12",
|
|
@@ -80,34 +80,57 @@ const p = ({
|
|
|
80
80
|
]
|
|
81
81
|
}
|
|
82
82
|
);
|
|
83
|
-
|
|
83
|
+
d.displayName = "SpinnerIcon";
|
|
84
84
|
export {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
m as AlertCircle,
|
|
86
|
+
u as AlertTriangle,
|
|
87
|
+
v as ArrowLeft,
|
|
88
|
+
x as ArrowRight,
|
|
89
|
+
L as BarChart3,
|
|
89
90
|
y as Bell,
|
|
90
|
-
|
|
91
|
+
M as BookOpen,
|
|
92
|
+
H as Check,
|
|
91
93
|
I as CheckCircle,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
B as ChevronDown,
|
|
95
|
+
D as ChevronLeft,
|
|
96
|
+
S as ChevronRight,
|
|
97
|
+
T as ChevronUp,
|
|
98
|
+
A as ChevronsUpDown,
|
|
99
|
+
N as Copy,
|
|
100
|
+
U as Download,
|
|
101
|
+
W as ExternalLink,
|
|
102
|
+
O as Eye,
|
|
98
103
|
R as EyeOff,
|
|
99
|
-
|
|
104
|
+
j as FileText,
|
|
105
|
+
E as Filter,
|
|
106
|
+
F as Folder,
|
|
107
|
+
P as Heart,
|
|
108
|
+
V as HelpCircle,
|
|
100
109
|
h as Icon,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
b as Info,
|
|
111
|
+
X as LayoutDashboard,
|
|
112
|
+
q as LifeBuoy,
|
|
113
|
+
G as Loader2,
|
|
114
|
+
J as LogOut,
|
|
115
|
+
p as LogoIcon,
|
|
116
|
+
K as Megaphone,
|
|
117
|
+
Q as Menu,
|
|
118
|
+
Y as MoreHorizontal,
|
|
119
|
+
Z as MoreVertical,
|
|
120
|
+
_ as Package,
|
|
121
|
+
$ as Percent,
|
|
122
|
+
z as Plus,
|
|
123
|
+
rr as Search,
|
|
124
|
+
er as Settings,
|
|
125
|
+
or as Share2,
|
|
126
|
+
nr as ShoppingCart,
|
|
127
|
+
tr as Sparkles,
|
|
128
|
+
d as SpinnerIcon,
|
|
129
|
+
ir as Tag,
|
|
130
|
+
ar as Trash2,
|
|
131
|
+
lr as TrendingDown,
|
|
132
|
+
sr as TrendingUp,
|
|
133
|
+
cr as User,
|
|
134
|
+
hr as Users,
|
|
135
|
+
pr as X
|
|
113
136
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timmbr/icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Unified icon system wrapping Lucide and custom SVGs for Timmbr Design System",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"lucide-react": "^1.16.0",
|
|
24
|
-
"@timmbr/utils": "1.
|
|
24
|
+
"@timmbr/utils": "1.1.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": ">=18.0.0",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "vite build && tsc --emitDeclarationOnly",
|
|
43
43
|
"dev": "vite build --watch",
|
|
44
|
+
"typecheck": "tsc --noEmit",
|
|
44
45
|
"clean": "rimraf dist"
|
|
45
46
|
}
|
|
46
47
|
}
|