@timmbr/icons 1.2.1 → 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.
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ /** Apple logo, drawn in `currentColor`. */
3
+ export declare const AppleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4
+ //# sourceMappingURL=AppleIcon.d.ts.map
@@ -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,4 @@
1
+ import * as React from 'react';
2
+ /** GitHub mark, drawn in `currentColor`. */
3
+ export declare const GitHubIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4
+ //# sourceMappingURL=GitHubIcon.d.ts.map
@@ -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,4 @@
1
+ import * as React from 'react';
2
+ /** Google "G" mark. Keeps Google's official brand colours (not theme tokens). */
3
+ export declare const GoogleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4
+ //# sourceMappingURL=GoogleIcon.d.ts.map
@@ -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"}
@@ -1,3 +1,6 @@
1
1
  export * from './LogoIcon';
2
2
  export * from './SpinnerIcon';
3
+ export * from './GoogleIcon';
4
+ export * from './AppleIcon';
5
+ export * from './GitHubIcon';
3
6
  //# sourceMappingURL=index.d.ts.map
@@ -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.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
@@ -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,GACV,MAAM,cAAc,CAAC"}
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,27 +1,27 @@
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 C, AlertTriangle as u, ArrowLeft as x, ArrowRight as v, BarChart3 as y, Bell as L, BookOpen as I, Check as M, CheckCircle as H, ChevronDown as B, ChevronLeft as D, ChevronRight as S, ChevronUp as T, ChevronsUpDown as U, Copy as A, Download as N, ExternalLink as W, Eye as F, EyeOff as O, FileText as P, Film as R, Filter as j, Folder as E, Heart as V, HelpCircle as b, Image as X, Info as q, LayoutDashboard as G, LifeBuoy as J, Loader2 as K, LogOut as Q, Maximize2 as Y, Megaphone as Z, Menu as _, MoreHorizontal as $, MoreVertical as z, Package as rr, Percent as er, Play as or, Plus as nr, Search as tr, Settings as ir, Share2 as ar, ShoppingCart as lr, Sparkles as sr, Tag as cr, Trash2 as hr, TrendingDown as dr, TrendingUp as pr, UploadCloud as gr, User as fr, Users as wr, Video as mr, X as kr } from "lucide-react";
5
- const h = c.forwardRef(
6
- ({ icon: r, className: t, size: o = 24, customSize: n = !1, ...i }, a) => /* @__PURE__ */ e(
7
- r,
1
+ import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
+ import * as h from "react";
3
+ import { cn as c } from "@timmbr/utils";
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
+ const s = h.forwardRef(
6
+ ({ icon: o, className: i, size: r = 24, customSize: t = !1, ...n }, l) => /* @__PURE__ */ e(
7
+ o,
8
8
  {
9
- ref: a,
10
- width: n ? void 0 : o,
11
- height: n ? void 0 : o,
12
- className: s("shrink-0 text-current transition-transform", t),
13
- ...i
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
+ ...n
14
14
  }
15
15
  )
16
16
  );
17
- h.displayName = "Icon";
18
- const d = (r) => /* @__PURE__ */ l(
17
+ s.displayName = "Icon";
18
+ const d = (o) => /* @__PURE__ */ a(
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
- ...r,
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: r,
43
- width: t,
44
- height: o,
45
- className: n,
46
- ...i
47
- }) => /* @__PURE__ */ l(
42
+ size: o,
43
+ width: i,
44
+ height: r,
45
+ className: t,
46
+ ...n
47
+ }) => /* @__PURE__ */ a(
48
48
  "svg",
49
49
  {
50
- width: t ?? r ?? 24,
51
- height: o ?? r ?? 24,
50
+ width: i ?? 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: s("animate-spin", n),
56
- ...i,
55
+ className: c("animate-spin", t),
56
+ ...n,
57
57
  children: [
58
58
  /* @__PURE__ */ e(
59
59
  "circle",
@@ -81,62 +81,146 @@ const p = ({
81
81
  }
82
82
  );
83
83
  p.displayName = "SpinnerIcon";
84
+ const g = (o) => /* @__PURE__ */ a("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
+ g.displayName = "GoogleIcon";
115
+ const f = (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
+ f.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
- C as AlertCircle,
86
- u as AlertTriangle,
87
- x as ArrowLeft,
88
- v as ArrowRight,
89
- y as BarChart3,
90
- L as Bell,
91
- I as BookOpen,
92
- M as Check,
93
- H as CheckCircle,
94
- B as ChevronDown,
95
- D as ChevronLeft,
96
- S as ChevronRight,
97
- T as ChevronUp,
98
- U as ChevronsUpDown,
99
- A as Copy,
100
- N as Download,
101
- W as ExternalLink,
102
- F as Eye,
103
- O as EyeOff,
104
- P as FileText,
105
- R as Film,
106
- j as Filter,
107
- E as Folder,
108
- V as Heart,
109
- b as HelpCircle,
110
- h as Icon,
111
- X as ImageIcon,
112
- q as Info,
113
- G as LayoutDashboard,
114
- J as LifeBuoy,
115
- K as Loader2,
116
- Q as LogOut,
151
+ M as AlertCircle,
152
+ x as AlertTriangle,
153
+ f as AppleIcon,
154
+ y as ArrowLeft,
155
+ I as ArrowRight,
156
+ L as BarChart3,
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
+ V as Folder,
175
+ u as GitHubIcon,
176
+ g as GoogleIcon,
177
+ j as Heart,
178
+ q as HelpCircle,
179
+ s as Icon,
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,
117
189
  d as LogoIcon,
118
- Y as Maximize2,
119
- Z as Megaphone,
120
- _ as Menu,
121
- $ as MoreHorizontal,
122
- z as MoreVertical,
123
- rr as Package,
124
- er as Percent,
125
- or as Play,
126
- nr as Plus,
127
- tr as Search,
128
- ir as Settings,
129
- ar as Share2,
130
- lr as ShoppingCart,
131
- sr as Sparkles,
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,
132
214
  p as SpinnerIcon,
133
- cr as Tag,
134
- hr as Trash2,
135
- dr as TrendingDown,
136
- pr as TrendingUp,
137
- gr as UploadCloud,
138
- fr as User,
139
- wr as Users,
140
- mr as Video,
141
- kr as X
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
142
226
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timmbr/icons",
3
- "version": "1.2.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.2.0"
24
+ "@timmbr/utils": "1.4.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": ">=18.0.0",