@timmbr/icons 1.3.0 → 1.4.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 +85 -70
- package/package.json +2 -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, 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, UploadCloud, Image as ImageIcon, Play, Film, Video, Maximize2, } 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, UploadCloud, Image as ImageIcon, Play, Film, Video, Maximize2, Truck, MapPin, Lock, Pencil, Receipt, ShoppingBag, ShieldCheck, Star, Palette, LocateFixed, KeyRound, Smartphone, MessageSquareText, Mail, MonitorSmartphone, } 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,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,EACR,WAAW,EACX,KAAK,IAAI,SAAS,EAClB,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,SAAS,
|
|
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,EACR,WAAW,EACX,KAAK,IAAI,SAAS,EAClB,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,SAAS,EAET,KAAK,EACL,MAAM,EACN,IAAI,EACJ,MAAM,EACN,OAAO,EACP,WAAW,EACX,WAAW,EAEX,IAAI,EACJ,OAAO,EACP,WAAW,EACX,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB,IAAI,EACJ,iBAAiB,GAClB,MAAM,cAAc,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import * as h from "react";
|
|
3
3
|
import { cn as c } from "@timmbr/utils";
|
|
4
|
-
import { AlertCircle as
|
|
4
|
+
import { AlertCircle as M, AlertTriangle as x, ArrowLeft as y, ArrowRight as I, BarChart3 as L, Bell as B, BookOpen as H, Check as S, CheckCircle as A, ChevronDown as N, ChevronLeft as R, ChevronRight as T, ChevronUp as F, ChevronsUpDown as P, Copy as b, Download as D, ExternalLink as U, Eye as z, EyeOff as W, FileText as E, Film as G, Filter as O, Folder as V, Heart as j, HelpCircle as q, Image as K, Info as X, KeyRound as J, LayoutDashboard as Q, LifeBuoy as Y, Loader2 as Z, LocateFixed as _, Lock as $, LogOut as e2, Mail as o2, MapPin as r2, Maximize2 as t2, Megaphone as i2, Menu as n2, MessageSquareText as a2, MonitorSmartphone as l2, MoreHorizontal as c2, MoreVertical as h2, Package as s2, Palette as d2, Pencil as p2, Percent as g2, Play as f2, Plus as u2, Receipt as C2, Search as w2, Settings as m2, Share2 as v2, ShieldCheck as k2, ShoppingBag as M2, ShoppingCart as x2, Smartphone as y2, Sparkles as I2, Star as L2, Tag as B2, Trash2 as H2, TrendingDown as S2, TrendingUp as A2, Truck as N2, UploadCloud as R2, User as T2, Users as F2, Video as P2, X as b2 } from "lucide-react";
|
|
5
5
|
const s = h.forwardRef(
|
|
6
|
-
({ icon: o, className:
|
|
6
|
+
({ icon: o, className: i, size: r = 24, customSize: t = !1, ...n }, l) => /* @__PURE__ */ e(
|
|
7
7
|
o,
|
|
8
8
|
{
|
|
9
|
-
ref:
|
|
10
|
-
width:
|
|
11
|
-
height:
|
|
12
|
-
className: c("shrink-0 text-current transition-transform",
|
|
9
|
+
ref: l,
|
|
10
|
+
width: t ? void 0 : r,
|
|
11
|
+
height: t ? void 0 : r,
|
|
12
|
+
className: c("shrink-0 text-current transition-transform", i),
|
|
13
13
|
...n
|
|
14
14
|
}
|
|
15
15
|
)
|
|
16
16
|
);
|
|
17
17
|
s.displayName = "Icon";
|
|
18
|
-
const d = (o) => /* @__PURE__ */
|
|
18
|
+
const d = (o) => /* @__PURE__ */ a(
|
|
19
19
|
"svg",
|
|
20
20
|
{
|
|
21
21
|
viewBox: "0 0 32 32",
|
|
@@ -40,19 +40,19 @@ const d = (o) => /* @__PURE__ */ l(
|
|
|
40
40
|
d.displayName = "LogoIcon";
|
|
41
41
|
const p = ({
|
|
42
42
|
size: o,
|
|
43
|
-
width:
|
|
43
|
+
width: i,
|
|
44
44
|
height: r,
|
|
45
|
-
className:
|
|
45
|
+
className: t,
|
|
46
46
|
...n
|
|
47
|
-
}) => /* @__PURE__ */
|
|
47
|
+
}) => /* @__PURE__ */ a(
|
|
48
48
|
"svg",
|
|
49
49
|
{
|
|
50
|
-
width:
|
|
50
|
+
width: i ?? o ?? 24,
|
|
51
51
|
height: r ?? o ?? 24,
|
|
52
52
|
viewBox: "0 0 24 24",
|
|
53
53
|
fill: "none",
|
|
54
54
|
xmlns: "http://www.w3.org/2000/svg",
|
|
55
|
-
className: c("animate-spin",
|
|
55
|
+
className: c("animate-spin", t),
|
|
56
56
|
...n,
|
|
57
57
|
children: [
|
|
58
58
|
/* @__PURE__ */ e(
|
|
@@ -81,7 +81,7 @@ const p = ({
|
|
|
81
81
|
}
|
|
82
82
|
);
|
|
83
83
|
p.displayName = "SpinnerIcon";
|
|
84
|
-
const
|
|
84
|
+
const g = (o) => /* @__PURE__ */ a("svg", { viewBox: "0 0 24 24", width: "20", height: "20", "aria-hidden": "true", focusable: "false", ...o, children: [
|
|
85
85
|
/* @__PURE__ */ e(
|
|
86
86
|
"path",
|
|
87
87
|
{
|
|
@@ -111,8 +111,8 @@ const f = (o) => /* @__PURE__ */ l("svg", { viewBox: "0 0 24 24", width: "20", h
|
|
|
111
111
|
}
|
|
112
112
|
)
|
|
113
113
|
] });
|
|
114
|
-
|
|
115
|
-
const
|
|
114
|
+
g.displayName = "GoogleIcon";
|
|
115
|
+
const f = (o) => /* @__PURE__ */ e(
|
|
116
116
|
"svg",
|
|
117
117
|
{
|
|
118
118
|
viewBox: "0 0 24 24",
|
|
@@ -125,7 +125,7 @@ const g = (o) => /* @__PURE__ */ e(
|
|
|
125
125
|
children: /* @__PURE__ */ e("path", { d: "M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M15.97 6.38c.62-.75 1.04-1.8 0.93-2.85-.9.04-1.99.6-2.63 1.35-.56.65-.99 1.7-0.86 2.73.99.08 2.02-.51 2.56-1.23z" })
|
|
126
126
|
}
|
|
127
127
|
);
|
|
128
|
-
|
|
128
|
+
f.displayName = "AppleIcon";
|
|
129
129
|
const u = (o) => /* @__PURE__ */ e(
|
|
130
130
|
"svg",
|
|
131
131
|
{
|
|
@@ -148,64 +148,79 @@ const u = (o) => /* @__PURE__ */ e(
|
|
|
148
148
|
);
|
|
149
149
|
u.displayName = "GitHubIcon";
|
|
150
150
|
export {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
151
|
+
M as AlertCircle,
|
|
152
|
+
x as AlertTriangle,
|
|
153
|
+
f as AppleIcon,
|
|
154
|
+
y as ArrowLeft,
|
|
155
|
+
I as ArrowRight,
|
|
156
156
|
L as BarChart3,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
157
|
+
B as Bell,
|
|
158
|
+
H as BookOpen,
|
|
159
|
+
S as Check,
|
|
160
|
+
A as CheckCircle,
|
|
161
|
+
N as ChevronDown,
|
|
162
|
+
R as ChevronLeft,
|
|
163
|
+
T as ChevronRight,
|
|
164
|
+
F as ChevronUp,
|
|
165
|
+
P as ChevronsUpDown,
|
|
166
|
+
b as Copy,
|
|
167
|
+
D as Download,
|
|
168
|
+
U as ExternalLink,
|
|
169
|
+
z as Eye,
|
|
170
|
+
W as EyeOff,
|
|
171
|
+
E as FileText,
|
|
172
|
+
G as Film,
|
|
173
|
+
O as Filter,
|
|
174
174
|
V as Folder,
|
|
175
175
|
u as GitHubIcon,
|
|
176
|
-
|
|
176
|
+
g as GoogleIcon,
|
|
177
177
|
j as Heart,
|
|
178
|
-
|
|
178
|
+
q as HelpCircle,
|
|
179
179
|
s as Icon,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
Q as
|
|
184
|
-
Y as
|
|
185
|
-
Z as
|
|
180
|
+
K as ImageIcon,
|
|
181
|
+
X as Info,
|
|
182
|
+
J as KeyRound,
|
|
183
|
+
Q as LayoutDashboard,
|
|
184
|
+
Y as LifeBuoy,
|
|
185
|
+
Z as Loader2,
|
|
186
|
+
_ as LocateFixed,
|
|
187
|
+
$ as Lock,
|
|
188
|
+
e2 as LogOut,
|
|
186
189
|
d as LogoIcon,
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
190
|
+
o2 as Mail,
|
|
191
|
+
r2 as MapPin,
|
|
192
|
+
t2 as Maximize2,
|
|
193
|
+
i2 as Megaphone,
|
|
194
|
+
n2 as Menu,
|
|
195
|
+
a2 as MessageSquareText,
|
|
196
|
+
l2 as MonitorSmartphone,
|
|
197
|
+
c2 as MoreHorizontal,
|
|
198
|
+
h2 as MoreVertical,
|
|
199
|
+
s2 as Package,
|
|
200
|
+
d2 as Palette,
|
|
201
|
+
p2 as Pencil,
|
|
202
|
+
g2 as Percent,
|
|
203
|
+
f2 as Play,
|
|
204
|
+
u2 as Plus,
|
|
205
|
+
C2 as Receipt,
|
|
206
|
+
w2 as Search,
|
|
207
|
+
m2 as Settings,
|
|
208
|
+
v2 as Share2,
|
|
209
|
+
k2 as ShieldCheck,
|
|
210
|
+
M2 as ShoppingBag,
|
|
211
|
+
x2 as ShoppingCart,
|
|
212
|
+
y2 as Smartphone,
|
|
213
|
+
I2 as Sparkles,
|
|
201
214
|
p as SpinnerIcon,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
215
|
+
L2 as Star,
|
|
216
|
+
B2 as Tag,
|
|
217
|
+
H2 as Trash2,
|
|
218
|
+
S2 as TrendingDown,
|
|
219
|
+
A2 as TrendingUp,
|
|
220
|
+
N2 as Truck,
|
|
221
|
+
R2 as UploadCloud,
|
|
222
|
+
T2 as User,
|
|
223
|
+
F2 as Users,
|
|
224
|
+
P2 as Video,
|
|
225
|
+
b2 as X
|
|
211
226
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timmbr/icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.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.4.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": ">=18.0.0",
|