@timmbr/icons 1.2.0 → 1.3.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/custom/AppleIcon.d.ts +4 -0
- package/dist/custom/AppleIcon.d.ts.map +1 -0
- package/dist/custom/GitHubIcon.d.ts +4 -0
- package/dist/custom/GitHubIcon.d.ts.map +1 -0
- package/dist/custom/GoogleIcon.d.ts +4 -0
- package/dist/custom/GoogleIcon.d.ts.map +1 -0
- package/dist/custom/index.d.ts +3 -0
- package/dist/custom/index.d.ts.map +1 -1
- package/dist/index.js +144 -75
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppleIcon.d.ts","sourceRoot":"","sources":["../../src/custom/AppleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,2CAA2C;AAC3C,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAY7D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GitHubIcon.d.ts","sourceRoot":"","sources":["../../src/custom/GitHubIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,4CAA4C;AAC5C,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAgB9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoogleIcon.d.ts","sourceRoot":"","sources":["../../src/custom/GoogleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,iFAAiF;AACjF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAmB9D,CAAC"}
|
package/dist/custom/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/custom/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/custom/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import { cn as
|
|
4
|
-
import { AlertCircle as
|
|
5
|
-
const
|
|
6
|
-
({ icon:
|
|
7
|
-
|
|
2
|
+
import * as h from "react";
|
|
3
|
+
import { cn as c } from "@timmbr/utils";
|
|
4
|
+
import { AlertCircle as x, AlertTriangle as y, ArrowLeft as I, ArrowRight as M, BarChart3 as L, Bell as H, BookOpen as A, Check as B, CheckCircle as N, ChevronDown as b, ChevronLeft as D, ChevronRight as F, ChevronUp as R, ChevronsUpDown as S, Copy as T, Download as U, ExternalLink as z, Eye as W, EyeOff as E, FileText as G, Film as O, Filter as P, Folder as V, Heart as j, HelpCircle as X, Image as q, Info as J, LayoutDashboard as K, LifeBuoy as Q, Loader2 as Y, LogOut as Z, Maximize2 as _, Megaphone as $, Menu as e2, MoreHorizontal as o2, MoreVertical as r2, Package as i2, Percent as t2, Play as n2, Plus as l2, Search as a2, Settings as c2, Share2 as h2, ShoppingCart as s2, Sparkles as d2, Tag as p2, Trash2 as f2, TrendingDown as g2, TrendingUp as u2, UploadCloud as C2, User as w2, Users as v2, Video as m2, X as k2 } from "lucide-react";
|
|
5
|
+
const s = h.forwardRef(
|
|
6
|
+
({ icon: o, className: t, size: r = 24, customSize: i = !1, ...n }, a) => /* @__PURE__ */ e(
|
|
7
|
+
o,
|
|
8
8
|
{
|
|
9
9
|
ref: a,
|
|
10
|
-
width:
|
|
11
|
-
height:
|
|
12
|
-
className:
|
|
13
|
-
...
|
|
10
|
+
width: i ? void 0 : r,
|
|
11
|
+
height: i ? void 0 : r,
|
|
12
|
+
className: c("shrink-0 text-current transition-transform", t),
|
|
13
|
+
...n
|
|
14
14
|
}
|
|
15
15
|
)
|
|
16
16
|
);
|
|
17
|
-
|
|
18
|
-
const d = (
|
|
17
|
+
s.displayName = "Icon";
|
|
18
|
+
const d = (o) => /* @__PURE__ */ l(
|
|
19
19
|
"svg",
|
|
20
20
|
{
|
|
21
21
|
viewBox: "0 0 32 32",
|
|
22
22
|
fill: "none",
|
|
23
23
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24
|
-
...
|
|
24
|
+
...o,
|
|
25
25
|
children: [
|
|
26
26
|
/* @__PURE__ */ e("rect", { width: "32", height: "32", rx: "8", fill: "currentColor", fillOpacity: "0.1" }),
|
|
27
27
|
/* @__PURE__ */ e(
|
|
@@ -39,21 +39,21 @@ const d = (r) => /* @__PURE__ */ l(
|
|
|
39
39
|
);
|
|
40
40
|
d.displayName = "LogoIcon";
|
|
41
41
|
const p = ({
|
|
42
|
-
size:
|
|
42
|
+
size: o,
|
|
43
43
|
width: t,
|
|
44
|
-
height:
|
|
45
|
-
className:
|
|
46
|
-
...
|
|
44
|
+
height: r,
|
|
45
|
+
className: i,
|
|
46
|
+
...n
|
|
47
47
|
}) => /* @__PURE__ */ l(
|
|
48
48
|
"svg",
|
|
49
49
|
{
|
|
50
|
-
width: t ??
|
|
51
|
-
height:
|
|
50
|
+
width: t ?? o ?? 24,
|
|
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:
|
|
56
|
-
...
|
|
55
|
+
className: c("animate-spin", i),
|
|
56
|
+
...n,
|
|
57
57
|
children: [
|
|
58
58
|
/* @__PURE__ */ e(
|
|
59
59
|
"circle",
|
|
@@ -81,62 +81,131 @@ const p = ({
|
|
|
81
81
|
}
|
|
82
82
|
);
|
|
83
83
|
p.displayName = "SpinnerIcon";
|
|
84
|
+
const f = (o) => /* @__PURE__ */ l("svg", { viewBox: "0 0 24 24", width: "20", height: "20", "aria-hidden": "true", focusable: "false", ...o, children: [
|
|
85
|
+
/* @__PURE__ */ e(
|
|
86
|
+
"path",
|
|
87
|
+
{
|
|
88
|
+
fill: "#4285F4",
|
|
89
|
+
d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"
|
|
90
|
+
}
|
|
91
|
+
),
|
|
92
|
+
/* @__PURE__ */ e(
|
|
93
|
+
"path",
|
|
94
|
+
{
|
|
95
|
+
fill: "#34A853",
|
|
96
|
+
d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"
|
|
97
|
+
}
|
|
98
|
+
),
|
|
99
|
+
/* @__PURE__ */ e(
|
|
100
|
+
"path",
|
|
101
|
+
{
|
|
102
|
+
fill: "#FBBC05",
|
|
103
|
+
d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.06H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.94l2.85-2.22.81-.63z"
|
|
104
|
+
}
|
|
105
|
+
),
|
|
106
|
+
/* @__PURE__ */ e(
|
|
107
|
+
"path",
|
|
108
|
+
{
|
|
109
|
+
fill: "#EA4335",
|
|
110
|
+
d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84c.87-2.6 3.3-4.52 6.16-4.52z"
|
|
111
|
+
}
|
|
112
|
+
)
|
|
113
|
+
] });
|
|
114
|
+
f.displayName = "GoogleIcon";
|
|
115
|
+
const g = (o) => /* @__PURE__ */ e(
|
|
116
|
+
"svg",
|
|
117
|
+
{
|
|
118
|
+
viewBox: "0 0 24 24",
|
|
119
|
+
width: "20",
|
|
120
|
+
height: "20",
|
|
121
|
+
fill: "currentColor",
|
|
122
|
+
"aria-hidden": "true",
|
|
123
|
+
focusable: "false",
|
|
124
|
+
...o,
|
|
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
|
+
}
|
|
127
|
+
);
|
|
128
|
+
g.displayName = "AppleIcon";
|
|
129
|
+
const u = (o) => /* @__PURE__ */ e(
|
|
130
|
+
"svg",
|
|
131
|
+
{
|
|
132
|
+
viewBox: "0 0 24 24",
|
|
133
|
+
width: "20",
|
|
134
|
+
height: "20",
|
|
135
|
+
fill: "currentColor",
|
|
136
|
+
"aria-hidden": "true",
|
|
137
|
+
focusable: "false",
|
|
138
|
+
...o,
|
|
139
|
+
children: /* @__PURE__ */ e(
|
|
140
|
+
"path",
|
|
141
|
+
{
|
|
142
|
+
fillRule: "evenodd",
|
|
143
|
+
clipRule: "evenodd",
|
|
144
|
+
d: "M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.53 1.032 1.53 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"
|
|
145
|
+
}
|
|
146
|
+
)
|
|
147
|
+
}
|
|
148
|
+
);
|
|
149
|
+
u.displayName = "GitHubIcon";
|
|
84
150
|
export {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
L as
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
151
|
+
x as AlertCircle,
|
|
152
|
+
y as AlertTriangle,
|
|
153
|
+
g as AppleIcon,
|
|
154
|
+
I as ArrowLeft,
|
|
155
|
+
M as ArrowRight,
|
|
156
|
+
L as BarChart3,
|
|
157
|
+
H as Bell,
|
|
158
|
+
A as BookOpen,
|
|
159
|
+
B as Check,
|
|
160
|
+
N as CheckCircle,
|
|
161
|
+
b as ChevronDown,
|
|
95
162
|
D as ChevronLeft,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
X as
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
J as
|
|
115
|
-
K as
|
|
116
|
-
Q as
|
|
163
|
+
F as ChevronRight,
|
|
164
|
+
R as ChevronUp,
|
|
165
|
+
S as ChevronsUpDown,
|
|
166
|
+
T as Copy,
|
|
167
|
+
U as Download,
|
|
168
|
+
z as ExternalLink,
|
|
169
|
+
W as Eye,
|
|
170
|
+
E as EyeOff,
|
|
171
|
+
G as FileText,
|
|
172
|
+
O as Film,
|
|
173
|
+
P as Filter,
|
|
174
|
+
V as Folder,
|
|
175
|
+
u as GitHubIcon,
|
|
176
|
+
f as GoogleIcon,
|
|
177
|
+
j as Heart,
|
|
178
|
+
X as HelpCircle,
|
|
179
|
+
s as Icon,
|
|
180
|
+
q as ImageIcon,
|
|
181
|
+
J as Info,
|
|
182
|
+
K as LayoutDashboard,
|
|
183
|
+
Q as LifeBuoy,
|
|
184
|
+
Y as Loader2,
|
|
185
|
+
Z as LogOut,
|
|
117
186
|
d as LogoIcon,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
187
|
+
_ as Maximize2,
|
|
188
|
+
$ as Megaphone,
|
|
189
|
+
e2 as Menu,
|
|
190
|
+
o2 as MoreHorizontal,
|
|
191
|
+
r2 as MoreVertical,
|
|
192
|
+
i2 as Package,
|
|
193
|
+
t2 as Percent,
|
|
194
|
+
n2 as Play,
|
|
195
|
+
l2 as Plus,
|
|
196
|
+
a2 as Search,
|
|
197
|
+
c2 as Settings,
|
|
198
|
+
h2 as Share2,
|
|
199
|
+
s2 as ShoppingCart,
|
|
200
|
+
d2 as Sparkles,
|
|
132
201
|
p as SpinnerIcon,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
202
|
+
p2 as Tag,
|
|
203
|
+
f2 as Trash2,
|
|
204
|
+
g2 as TrendingDown,
|
|
205
|
+
u2 as TrendingUp,
|
|
206
|
+
C2 as UploadCloud,
|
|
207
|
+
w2 as User,
|
|
208
|
+
v2 as Users,
|
|
209
|
+
m2 as Video,
|
|
210
|
+
k2 as X
|
|
142
211
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timmbr/icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.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.3.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": ">=18.0.0",
|