@nexub/icons 2.0.0 → 2.2.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 CHANGED
@@ -21,6 +21,7 @@ declare const ChevronsUpDown: react.FC<IconProps>;
21
21
  declare const Check: react.FC<IconProps>;
22
22
  declare const CheckCircle2: react.FC<IconProps>;
23
23
  declare const X: react.FC<IconProps>;
24
+ declare const Delete: react.FC<IconProps>;
24
25
  declare const XCircle: react.FC<IconProps>;
25
26
  declare const AlertCircle: react.FC<IconProps>;
26
27
  declare const AlertTriangle: react.FC<IconProps>;
@@ -147,4 +148,4 @@ declare const MCA: react.FC<IconProps>;
147
148
 
148
149
  declare const GST: react.FC<IconProps>;
149
150
 
150
- export { ACRA, Activity, AlertCircle, AlertTriangle, Apps, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, BarChart3, Bell, Bookmark, BookubMark, Briefcase, Building2, Calendar, CalendarDays, Camera, Check, CheckCircle2, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ChevronsUpDown, Clock, Code, Code2, Command, Copy, CreditCard, Crown, Database, DollarSign, Download, Edit, Edit2, Edit3, ExternalLink, Eye, EyeOff, FileCheck, FileText, FileX, Filter, Flag, Folder, FounderubMark, GST, Globe, Heart, HelpCircle, Home, IRAS, type IconProps, Image, Info, Laptop, Layers, LeapMark, LifeBuoy, LineChart, Link, Loader2, Lock, LogIn, LogOut, MCA, Mail, MapPin, Menu, MessageSquare, Mic, Minus, Monitor, Moon, MoreHorizontal, MoreVertical, NexubMark, type NexubMarkProps, Package, Paperclip, Pause, PayubMark, Pencil, Phone, PieChart, Pin, Play, Plus, Receipt, RefreshCw, Save, Search, Send, Server, Settings, Settings2, Shield, ShieldCheck, ShoppingCart, SkipBack, SkipForward, SlidersHorizontal, Smartphone, Sparkles, Star, Sun, Tag, Terminal, ThumbsDown, ThumbsUp, Trash2, TrendingDown, TrendingUp, Unlock, Upload, User, UserPlus, Users, Video, Volume2, Wallet, X, XCircle, Zap };
151
+ export { ACRA, Activity, AlertCircle, AlertTriangle, Apps, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, BarChart3, Bell, Bookmark, BookubMark, Briefcase, Building2, Calendar, CalendarDays, Camera, Check, CheckCircle2, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ChevronsUpDown, Clock, Code, Code2, Command, Copy, CreditCard, Crown, Database, Delete, DollarSign, Download, Edit, Edit2, Edit3, ExternalLink, Eye, EyeOff, FileCheck, FileText, FileX, Filter, Flag, Folder, FounderubMark, GST, Globe, Heart, HelpCircle, Home, IRAS, type IconProps, Image, Info, Laptop, Layers, LeapMark, LifeBuoy, LineChart, Link, Loader2, Lock, LogIn, LogOut, MCA, Mail, MapPin, Menu, MessageSquare, Mic, Minus, Monitor, Moon, MoreHorizontal, MoreVertical, NexubMark, type NexubMarkProps, Package, Paperclip, Pause, PayubMark, Pencil, Phone, PieChart, Pin, Play, Plus, Receipt, RefreshCw, Save, Search, Send, Server, Settings, Settings2, Shield, ShieldCheck, ShoppingCart, SkipBack, SkipForward, SlidersHorizontal, Smartphone, Sparkles, Star, Sun, Tag, Terminal, ThumbsDown, ThumbsUp, Trash2, TrendingDown, TrendingUp, Unlock, Upload, User, UserPlus, Users, Video, Volume2, Wallet, X, XCircle, Zap };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { LucideArrowRight, LucideArrowLeft, LucideArrowUp, LucideArrowDown, LucideArrowUpRight, LucideChevronDown, LucideChevronRight, LucideChevronLeft, LucideChevronUp, LucideChevronsUpDown, LucideCheck, LucideCheckCircle2, LucideX, LucideXCircle, LucideAlertCircle, LucideAlertTriangle, LucideInfo, LucideHelpCircle, LucideLifeBuoy, LucideThumbsUp, LucideThumbsDown, LucideSearch, LucideMenu, LucideMoreHorizontal, LucideMoreVertical, LucidePlus, LucideMinus, LucideFilter, LucideSlidersHorizontal, LucideSettings, LucideSettings2, LucideCommand, LucideCamera, LucideLayers, LucideCalendar, LucideCalendarDays, LucideClock, LucideUser, LucideUsers, LucideUserPlus, LucideBuilding2, LucideBriefcase, LucideFileText, LucideFileCheck, LucideFileX, LucideFolder, LucidePaperclip, LucideImage, LucideVideo, LucideDownload, LucideUpload, LucideExternalLink, LucideLink, LucideCopy, LucideSave, LucideRefreshCw, LucideEdit, LucideEdit2, LucideEdit3, LucideTrash2, LucidePencil, LucideStar, LucideHeart, LucideEye, LucideEyeOff, LucideBookmark, LucidePin, LucideSend, LucideCrown, LucideTag, LucideFlag, LucideLock, LucideUnlock, LucideShield, LucideShieldCheck, LucideMail, LucidePhone, LucideMessageSquare, LucideBell, LucideHome, LucideGlobe, LucideMapPin, LucideLogIn, LucideLogOut, LucideCreditCard, LucideReceipt, LucideShoppingCart, LucidePackage, LucideWallet, LucideDollarSign, LucideTrendingUp, LucideTrendingDown, LucideBarChart3, LucidePieChart, LucideLineChart, LucideActivity, LucideDatabase, LucideServer, LucideCode, LucideCode2, LucideTerminal, LucideSun, LucideMoon, LucideMonitor, LucideSmartphone, LucideLaptop, LucideZap, LucideSparkles, LucideMic, LucideVolume2, LucidePlay, LucidePause, LucideSkipForward, LucideSkipBack, LucideLoader2, LucideGrip } from 'lucide-react';
1
+ import { LucideArrowRight, LucideArrowLeft, LucideArrowUp, LucideArrowDown, LucideArrowUpRight, LucideChevronDown, LucideChevronRight, LucideChevronLeft, LucideChevronUp, LucideChevronsUpDown, LucideCheck, LucideCheckCircle2, LucideX, LucideDelete, LucideXCircle, LucideAlertCircle, LucideAlertTriangle, LucideInfo, LucideHelpCircle, LucideLifeBuoy, LucideThumbsUp, LucideThumbsDown, LucideSearch, LucideMenu, LucideMoreHorizontal, LucideMoreVertical, LucidePlus, LucideMinus, LucideFilter, LucideSlidersHorizontal, LucideSettings, LucideSettings2, LucideCommand, LucideCamera, LucideLayers, LucideCalendar, LucideCalendarDays, LucideClock, LucideUser, LucideUsers, LucideUserPlus, LucideBuilding2, LucideBriefcase, LucideFileText, LucideFileCheck, LucideFileX, LucideFolder, LucidePaperclip, LucideImage, LucideVideo, LucideDownload, LucideUpload, LucideExternalLink, LucideLink, LucideCopy, LucideSave, LucideRefreshCw, LucideEdit, LucideEdit2, LucideEdit3, LucideTrash2, LucidePencil, LucideStar, LucideHeart, LucideEye, LucideEyeOff, LucideBookmark, LucidePin, LucideSend, LucideCrown, LucideTag, LucideFlag, LucideLock, LucideUnlock, LucideShield, LucideShieldCheck, LucideMail, LucidePhone, LucideMessageSquare, LucideBell, LucideHome, LucideGlobe, LucideMapPin, LucideLogIn, LucideLogOut, LucideCreditCard, LucideReceipt, LucideShoppingCart, LucidePackage, LucideWallet, LucideDollarSign, LucideTrendingUp, LucideTrendingDown, LucideBarChart3, LucidePieChart, LucideLineChart, LucideActivity, LucideDatabase, LucideServer, LucideCode, LucideCode2, LucideTerminal, LucideSun, LucideMoon, LucideMonitor, LucideSmartphone, LucideLaptop, LucideZap, LucideSparkles, LucideMic, LucideVolume2, LucidePlay, LucidePause, LucideSkipForward, LucideSkipBack, LucideLoader2, LucideGrip } from 'lucide-react';
2
2
  import { forwardRef, useId } from 'react';
3
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
4
 
@@ -58,6 +58,7 @@ var ChevronsUpDown = /* @__PURE__ */ createIcon(LucideChevronsUpDown, "ChevronsU
58
58
  var Check = /* @__PURE__ */ createIcon(LucideCheck, "Check");
59
59
  var CheckCircle2 = /* @__PURE__ */ createIcon(LucideCheckCircle2, "CheckCircle2");
60
60
  var X = /* @__PURE__ */ createIcon(LucideX, "X");
61
+ var Delete = /* @__PURE__ */ createIcon(LucideDelete, "Delete");
61
62
  var XCircle = /* @__PURE__ */ createIcon(LucideXCircle, "XCircle");
62
63
  var AlertCircle = /* @__PURE__ */ createIcon(LucideAlertCircle, "AlertCircle");
63
64
  var AlertTriangle = /* @__PURE__ */ createIcon(LucideAlertTriangle, "AlertTriangle");
@@ -759,4 +760,4 @@ var GSTSvg = /* @__PURE__ */ forwardRef(
759
760
  );
760
761
  var GST = /* @__PURE__ */ createIcon(GSTSvg, "GST");
761
762
 
762
- export { ACRA, Activity, AlertCircle, AlertTriangle, Apps, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, BarChart3, Bell, Bookmark, BookubMark, Briefcase, Building2, Calendar, CalendarDays, Camera, Check, CheckCircle2, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ChevronsUpDown, Clock, Code, Code2, Command, Copy, CreditCard, Crown, Database, DollarSign, Download, Edit, Edit2, Edit3, ExternalLink, Eye, EyeOff, FileCheck, FileText, FileX, Filter, Flag, Folder, FounderubMark, GST, Globe, Heart, HelpCircle, Home, IRAS, Image, Info, Laptop, Layers, LeapMark, LifeBuoy, LineChart, Link, Loader2, Lock, LogIn, LogOut, MCA, Mail, MapPin, Menu, MessageSquare, Mic, Minus, Monitor, Moon, MoreHorizontal, MoreVertical, NexubMark, Package, Paperclip, Pause, PayubMark, Pencil, Phone, PieChart, Pin, Play, Plus, Receipt, RefreshCw, Save, Search, Send, Server, Settings, Settings2, Shield, ShieldCheck, ShoppingCart, SkipBack, SkipForward, SlidersHorizontal, Smartphone, Sparkles, Star, Sun, Tag, Terminal, ThumbsDown, ThumbsUp, Trash2, TrendingDown, TrendingUp, Unlock, Upload, User, UserPlus, Users, Video, Volume2, Wallet, X, XCircle, Zap };
763
+ export { ACRA, Activity, AlertCircle, AlertTriangle, Apps, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, BarChart3, Bell, Bookmark, BookubMark, Briefcase, Building2, Calendar, CalendarDays, Camera, Check, CheckCircle2, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ChevronsUpDown, Clock, Code, Code2, Command, Copy, CreditCard, Crown, Database, Delete, DollarSign, Download, Edit, Edit2, Edit3, ExternalLink, Eye, EyeOff, FileCheck, FileText, FileX, Filter, Flag, Folder, FounderubMark, GST, Globe, Heart, HelpCircle, Home, IRAS, Image, Info, Laptop, Layers, LeapMark, LifeBuoy, LineChart, Link, Loader2, Lock, LogIn, LogOut, MCA, Mail, MapPin, Menu, MessageSquare, Mic, Minus, Monitor, Moon, MoreHorizontal, MoreVertical, NexubMark, Package, Paperclip, Pause, PayubMark, Pencil, Phone, PieChart, Pin, Play, Plus, Receipt, RefreshCw, Save, Search, Send, Server, Settings, Settings2, Shield, ShieldCheck, ShoppingCart, SkipBack, SkipForward, SlidersHorizontal, Smartphone, Sparkles, Star, Sun, Tag, Terminal, ThumbsDown, ThumbsUp, Trash2, TrendingDown, TrendingUp, Unlock, Upload, User, UserPlus, Users, Video, Volume2, Wallet, X, XCircle, Zap };
@@ -0,0 +1,140 @@
1
+ import * as react from 'react';
2
+ import { ComponentType } from 'react';
3
+ import { SvgProps } from 'react-native-svg';
4
+
5
+ declare const SIZE_MAP: {
6
+ readonly xs: 12;
7
+ readonly sm: 16;
8
+ readonly md: 20;
9
+ readonly lg: 24;
10
+ readonly xl: 32;
11
+ };
12
+ interface NativeIconProps extends Omit<SvgProps, 'color' | 'width' | 'height'> {
13
+ size?: keyof typeof SIZE_MAP | number;
14
+ /** Any colour. Inside @nexub/react-native use its `Icon` with `tone` instead. */
15
+ color?: string;
16
+ strokeWidth?: number;
17
+ /** Accessible name. Without it the icon is decorative and hidden from screen readers. */
18
+ label?: string;
19
+ }
20
+ declare function createIcon(Component: ComponentType<any>, displayName: string): ComponentType<NativeIconProps>;
21
+
22
+ declare const ArrowRight: react.ComponentType<NativeIconProps>;
23
+ declare const ArrowLeft: react.ComponentType<NativeIconProps>;
24
+ declare const ArrowUp: react.ComponentType<NativeIconProps>;
25
+ declare const ArrowDown: react.ComponentType<NativeIconProps>;
26
+ declare const ArrowUpRight: react.ComponentType<NativeIconProps>;
27
+ declare const ChevronDown: react.ComponentType<NativeIconProps>;
28
+ declare const ChevronRight: react.ComponentType<NativeIconProps>;
29
+ declare const ChevronLeft: react.ComponentType<NativeIconProps>;
30
+ declare const ChevronUp: react.ComponentType<NativeIconProps>;
31
+ declare const ChevronsUpDown: react.ComponentType<NativeIconProps>;
32
+ declare const Check: react.ComponentType<NativeIconProps>;
33
+ declare const CheckCircle2: react.ComponentType<NativeIconProps>;
34
+ declare const X: react.ComponentType<NativeIconProps>;
35
+ declare const Delete: react.ComponentType<NativeIconProps>;
36
+ declare const XCircle: react.ComponentType<NativeIconProps>;
37
+ declare const AlertCircle: react.ComponentType<NativeIconProps>;
38
+ declare const AlertTriangle: react.ComponentType<NativeIconProps>;
39
+ declare const Info: react.ComponentType<NativeIconProps>;
40
+ declare const HelpCircle: react.ComponentType<NativeIconProps>;
41
+ declare const LifeBuoy: react.ComponentType<NativeIconProps>;
42
+ declare const ThumbsUp: react.ComponentType<NativeIconProps>;
43
+ declare const ThumbsDown: react.ComponentType<NativeIconProps>;
44
+ declare const Search: react.ComponentType<NativeIconProps>;
45
+ declare const Menu: react.ComponentType<NativeIconProps>;
46
+ declare const MoreHorizontal: react.ComponentType<NativeIconProps>;
47
+ declare const MoreVertical: react.ComponentType<NativeIconProps>;
48
+ declare const Plus: react.ComponentType<NativeIconProps>;
49
+ declare const Minus: react.ComponentType<NativeIconProps>;
50
+ declare const Filter: react.ComponentType<NativeIconProps>;
51
+ declare const SlidersHorizontal: react.ComponentType<NativeIconProps>;
52
+ declare const Settings: react.ComponentType<NativeIconProps>;
53
+ declare const Settings2: react.ComponentType<NativeIconProps>;
54
+ declare const Command: react.ComponentType<NativeIconProps>;
55
+ declare const Camera: react.ComponentType<NativeIconProps>;
56
+ declare const Layers: react.ComponentType<NativeIconProps>;
57
+ declare const Calendar: react.ComponentType<NativeIconProps>;
58
+ declare const CalendarDays: react.ComponentType<NativeIconProps>;
59
+ declare const Clock: react.ComponentType<NativeIconProps>;
60
+ declare const User: react.ComponentType<NativeIconProps>;
61
+ declare const Users: react.ComponentType<NativeIconProps>;
62
+ declare const UserPlus: react.ComponentType<NativeIconProps>;
63
+ declare const Building2: react.ComponentType<NativeIconProps>;
64
+ declare const Briefcase: react.ComponentType<NativeIconProps>;
65
+ declare const FileText: react.ComponentType<NativeIconProps>;
66
+ declare const FileCheck: react.ComponentType<NativeIconProps>;
67
+ declare const FileX: react.ComponentType<NativeIconProps>;
68
+ declare const Folder: react.ComponentType<NativeIconProps>;
69
+ declare const Paperclip: react.ComponentType<NativeIconProps>;
70
+ declare const Image: react.ComponentType<NativeIconProps>;
71
+ declare const Video: react.ComponentType<NativeIconProps>;
72
+ declare const Download: react.ComponentType<NativeIconProps>;
73
+ declare const Upload: react.ComponentType<NativeIconProps>;
74
+ declare const ExternalLink: react.ComponentType<NativeIconProps>;
75
+ declare const Link: react.ComponentType<NativeIconProps>;
76
+ declare const Copy: react.ComponentType<NativeIconProps>;
77
+ declare const Save: react.ComponentType<NativeIconProps>;
78
+ declare const RefreshCw: react.ComponentType<NativeIconProps>;
79
+ declare const Edit: react.ComponentType<NativeIconProps>;
80
+ declare const Edit2: react.ComponentType<NativeIconProps>;
81
+ declare const Edit3: react.ComponentType<NativeIconProps>;
82
+ declare const Trash2: react.ComponentType<NativeIconProps>;
83
+ declare const Pencil: react.ComponentType<NativeIconProps>;
84
+ declare const Star: react.ComponentType<NativeIconProps>;
85
+ declare const Heart: react.ComponentType<NativeIconProps>;
86
+ declare const Eye: react.ComponentType<NativeIconProps>;
87
+ declare const EyeOff: react.ComponentType<NativeIconProps>;
88
+ declare const Bookmark: react.ComponentType<NativeIconProps>;
89
+ declare const Pin: react.ComponentType<NativeIconProps>;
90
+ declare const Send: react.ComponentType<NativeIconProps>;
91
+ declare const Crown: react.ComponentType<NativeIconProps>;
92
+ declare const Tag: react.ComponentType<NativeIconProps>;
93
+ declare const Flag: react.ComponentType<NativeIconProps>;
94
+ declare const Lock: react.ComponentType<NativeIconProps>;
95
+ declare const Unlock: react.ComponentType<NativeIconProps>;
96
+ declare const Shield: react.ComponentType<NativeIconProps>;
97
+ declare const ShieldCheck: react.ComponentType<NativeIconProps>;
98
+ declare const Mail: react.ComponentType<NativeIconProps>;
99
+ declare const Phone: react.ComponentType<NativeIconProps>;
100
+ declare const MessageSquare: react.ComponentType<NativeIconProps>;
101
+ declare const Bell: react.ComponentType<NativeIconProps>;
102
+ declare const Home: react.ComponentType<NativeIconProps>;
103
+ declare const Globe: react.ComponentType<NativeIconProps>;
104
+ declare const MapPin: react.ComponentType<NativeIconProps>;
105
+ declare const LogIn: react.ComponentType<NativeIconProps>;
106
+ declare const LogOut: react.ComponentType<NativeIconProps>;
107
+ declare const CreditCard: react.ComponentType<NativeIconProps>;
108
+ declare const Receipt: react.ComponentType<NativeIconProps>;
109
+ declare const ShoppingCart: react.ComponentType<NativeIconProps>;
110
+ declare const Package: react.ComponentType<NativeIconProps>;
111
+ declare const Wallet: react.ComponentType<NativeIconProps>;
112
+ declare const DollarSign: react.ComponentType<NativeIconProps>;
113
+ declare const TrendingUp: react.ComponentType<NativeIconProps>;
114
+ declare const TrendingDown: react.ComponentType<NativeIconProps>;
115
+ declare const BarChart3: react.ComponentType<NativeIconProps>;
116
+ declare const PieChart: react.ComponentType<NativeIconProps>;
117
+ declare const LineChart: react.ComponentType<NativeIconProps>;
118
+ declare const Activity: react.ComponentType<NativeIconProps>;
119
+ declare const Database: react.ComponentType<NativeIconProps>;
120
+ declare const Server: react.ComponentType<NativeIconProps>;
121
+ declare const Code: react.ComponentType<NativeIconProps>;
122
+ declare const Code2: react.ComponentType<NativeIconProps>;
123
+ declare const Terminal: react.ComponentType<NativeIconProps>;
124
+ declare const Sun: react.ComponentType<NativeIconProps>;
125
+ declare const Moon: react.ComponentType<NativeIconProps>;
126
+ declare const Monitor: react.ComponentType<NativeIconProps>;
127
+ declare const Smartphone: react.ComponentType<NativeIconProps>;
128
+ declare const Laptop: react.ComponentType<NativeIconProps>;
129
+ declare const Zap: react.ComponentType<NativeIconProps>;
130
+ declare const Sparkles: react.ComponentType<NativeIconProps>;
131
+ declare const Mic: react.ComponentType<NativeIconProps>;
132
+ declare const Volume2: react.ComponentType<NativeIconProps>;
133
+ declare const Play: react.ComponentType<NativeIconProps>;
134
+ declare const Pause: react.ComponentType<NativeIconProps>;
135
+ declare const SkipForward: react.ComponentType<NativeIconProps>;
136
+ declare const SkipBack: react.ComponentType<NativeIconProps>;
137
+ declare const Loader2: react.ComponentType<NativeIconProps>;
138
+ declare const Apps: react.ComponentType<NativeIconProps>;
139
+
140
+ export { Activity, AlertCircle, AlertTriangle, Apps, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, BarChart3, Bell, Bookmark, Briefcase, Building2, Calendar, CalendarDays, Camera, Check, CheckCircle2, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ChevronsUpDown, Clock, Code, Code2, Command, Copy, CreditCard, Crown, Database, Delete, DollarSign, Download, Edit, Edit2, Edit3, ExternalLink, Eye, EyeOff, FileCheck, FileText, FileX, Filter, Flag, Folder, Globe, Heart, HelpCircle, Home, Image, Info, Laptop, Layers, LifeBuoy, LineChart, Link, Loader2, Lock, LogIn, LogOut, Mail, MapPin, Menu, MessageSquare, Mic, Minus, Monitor, Moon, MoreHorizontal, MoreVertical, type NativeIconProps, Package, Paperclip, Pause, Pencil, Phone, PieChart, Pin, Play, Plus, Receipt, RefreshCw, Save, Search, Send, Server, Settings, Settings2, Shield, ShieldCheck, ShoppingCart, SkipBack, SkipForward, SlidersHorizontal, Smartphone, Sparkles, Star, Sun, Tag, Terminal, ThumbsDown, ThumbsUp, Trash2, TrendingDown, TrendingUp, Unlock, Upload, User, UserPlus, Users, Video, Volume2, Wallet, X, XCircle, Zap, createIcon };
@@ -0,0 +1,133 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { LucideArrowRight, LucideArrowLeft, LucideArrowUp, LucideArrowDown, LucideArrowUpRight, LucideChevronDown, LucideChevronRight, LucideChevronLeft, LucideChevronUp, LucideChevronsUpDown, LucideCheck, LucideCheckCircle2, LucideX, LucideDelete, LucideXCircle, LucideAlertCircle, LucideAlertTriangle, LucideInfo, LucideHelpCircle, LucideLifeBuoy, LucideThumbsUp, LucideThumbsDown, LucideSearch, LucideMenu, LucideMoreHorizontal, LucideMoreVertical, LucidePlus, LucideMinus, LucideFilter, LucideSlidersHorizontal, LucideSettings, LucideSettings2, LucideCommand, LucideCamera, LucideLayers, LucideCalendar, LucideCalendarDays, LucideClock, LucideUser, LucideUsers, LucideUserPlus, LucideBuilding2, LucideBriefcase, LucideFileText, LucideFileCheck, LucideFileX, LucideFolder, LucidePaperclip, LucideImage, LucideVideo, LucideDownload, LucideUpload, LucideExternalLink, LucideLink, LucideCopy, LucideSave, LucideRefreshCw, LucideEdit, LucideEdit2, LucideEdit3, LucideTrash2, LucidePencil, LucideStar, LucideHeart, LucideEye, LucideEyeOff, LucideBookmark, LucidePin, LucideSend, LucideCrown, LucideTag, LucideFlag, LucideLock, LucideUnlock, LucideShield, LucideShieldCheck, LucideMail, LucidePhone, LucideMessageSquare, LucideBell, LucideHome, LucideGlobe, LucideMapPin, LucideLogIn, LucideLogOut, LucideCreditCard, LucideReceipt, LucideShoppingCart, LucidePackage, LucideWallet, LucideDollarSign, LucideTrendingUp, LucideTrendingDown, LucideBarChart3, LucidePieChart, LucideLineChart, LucideActivity, LucideDatabase, LucideServer, LucideCode, LucideCode2, LucideTerminal, LucideSun, LucideMoon, LucideMonitor, LucideSmartphone, LucideLaptop, LucideZap, LucideSparkles, LucideMic, LucideVolume2, LucidePlay, LucidePause, LucideSkipForward, LucideSkipBack, LucideLoader2, LucideGrip } from 'lucide-react-native';
3
+
4
+ // src/native/createIcon.tsx
5
+ var SIZE_MAP = { xs: 12, sm: 16, md: 20, lg: 24, xl: 32 };
6
+ function createIcon(Component, displayName) {
7
+ function NexubIcon({ size = "md", strokeWidth = 1.75, color = "#000", label, ...rest }) {
8
+ const px = typeof size === "number" ? size : SIZE_MAP[size];
9
+ const a11y = label ? { accessible: true, accessibilityRole: "image", accessibilityLabel: label } : { accessible: false, accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants" };
10
+ return /* @__PURE__ */ jsx(Component, { size: px, strokeWidth, color, ...a11y, ...rest });
11
+ }
12
+ NexubIcon.displayName = displayName;
13
+ return NexubIcon;
14
+ }
15
+ var ArrowRight = /* @__PURE__ */ createIcon(LucideArrowRight, "ArrowRight");
16
+ var ArrowLeft = /* @__PURE__ */ createIcon(LucideArrowLeft, "ArrowLeft");
17
+ var ArrowUp = /* @__PURE__ */ createIcon(LucideArrowUp, "ArrowUp");
18
+ var ArrowDown = /* @__PURE__ */ createIcon(LucideArrowDown, "ArrowDown");
19
+ var ArrowUpRight = /* @__PURE__ */ createIcon(LucideArrowUpRight, "ArrowUpRight");
20
+ var ChevronDown = /* @__PURE__ */ createIcon(LucideChevronDown, "ChevronDown");
21
+ var ChevronRight = /* @__PURE__ */ createIcon(LucideChevronRight, "ChevronRight");
22
+ var ChevronLeft = /* @__PURE__ */ createIcon(LucideChevronLeft, "ChevronLeft");
23
+ var ChevronUp = /* @__PURE__ */ createIcon(LucideChevronUp, "ChevronUp");
24
+ var ChevronsUpDown = /* @__PURE__ */ createIcon(LucideChevronsUpDown, "ChevronsUpDown");
25
+ var Check = /* @__PURE__ */ createIcon(LucideCheck, "Check");
26
+ var CheckCircle2 = /* @__PURE__ */ createIcon(LucideCheckCircle2, "CheckCircle2");
27
+ var X = /* @__PURE__ */ createIcon(LucideX, "X");
28
+ var Delete = /* @__PURE__ */ createIcon(LucideDelete, "Delete");
29
+ var XCircle = /* @__PURE__ */ createIcon(LucideXCircle, "XCircle");
30
+ var AlertCircle = /* @__PURE__ */ createIcon(LucideAlertCircle, "AlertCircle");
31
+ var AlertTriangle = /* @__PURE__ */ createIcon(LucideAlertTriangle, "AlertTriangle");
32
+ var Info = /* @__PURE__ */ createIcon(LucideInfo, "Info");
33
+ var HelpCircle = /* @__PURE__ */ createIcon(LucideHelpCircle, "HelpCircle");
34
+ var LifeBuoy = /* @__PURE__ */ createIcon(LucideLifeBuoy, "LifeBuoy");
35
+ var ThumbsUp = /* @__PURE__ */ createIcon(LucideThumbsUp, "ThumbsUp");
36
+ var ThumbsDown = /* @__PURE__ */ createIcon(LucideThumbsDown, "ThumbsDown");
37
+ var Search = /* @__PURE__ */ createIcon(LucideSearch, "Search");
38
+ var Menu = /* @__PURE__ */ createIcon(LucideMenu, "Menu");
39
+ var MoreHorizontal = /* @__PURE__ */ createIcon(LucideMoreHorizontal, "MoreHorizontal");
40
+ var MoreVertical = /* @__PURE__ */ createIcon(LucideMoreVertical, "MoreVertical");
41
+ var Plus = /* @__PURE__ */ createIcon(LucidePlus, "Plus");
42
+ var Minus = /* @__PURE__ */ createIcon(LucideMinus, "Minus");
43
+ var Filter = /* @__PURE__ */ createIcon(LucideFilter, "Filter");
44
+ var SlidersHorizontal = /* @__PURE__ */ createIcon(LucideSlidersHorizontal, "SlidersHorizontal");
45
+ var Settings = /* @__PURE__ */ createIcon(LucideSettings, "Settings");
46
+ var Settings2 = /* @__PURE__ */ createIcon(LucideSettings2, "Settings2");
47
+ var Command = /* @__PURE__ */ createIcon(LucideCommand, "Command");
48
+ var Camera = /* @__PURE__ */ createIcon(LucideCamera, "Camera");
49
+ var Layers = /* @__PURE__ */ createIcon(LucideLayers, "Layers");
50
+ var Calendar = /* @__PURE__ */ createIcon(LucideCalendar, "Calendar");
51
+ var CalendarDays = /* @__PURE__ */ createIcon(LucideCalendarDays, "CalendarDays");
52
+ var Clock = /* @__PURE__ */ createIcon(LucideClock, "Clock");
53
+ var User = /* @__PURE__ */ createIcon(LucideUser, "User");
54
+ var Users = /* @__PURE__ */ createIcon(LucideUsers, "Users");
55
+ var UserPlus = /* @__PURE__ */ createIcon(LucideUserPlus, "UserPlus");
56
+ var Building2 = /* @__PURE__ */ createIcon(LucideBuilding2, "Building2");
57
+ var Briefcase = /* @__PURE__ */ createIcon(LucideBriefcase, "Briefcase");
58
+ var FileText = /* @__PURE__ */ createIcon(LucideFileText, "FileText");
59
+ var FileCheck = /* @__PURE__ */ createIcon(LucideFileCheck, "FileCheck");
60
+ var FileX = /* @__PURE__ */ createIcon(LucideFileX, "FileX");
61
+ var Folder = /* @__PURE__ */ createIcon(LucideFolder, "Folder");
62
+ var Paperclip = /* @__PURE__ */ createIcon(LucidePaperclip, "Paperclip");
63
+ var Image = /* @__PURE__ */ createIcon(LucideImage, "Image");
64
+ var Video = /* @__PURE__ */ createIcon(LucideVideo, "Video");
65
+ var Download = /* @__PURE__ */ createIcon(LucideDownload, "Download");
66
+ var Upload = /* @__PURE__ */ createIcon(LucideUpload, "Upload");
67
+ var ExternalLink = /* @__PURE__ */ createIcon(LucideExternalLink, "ExternalLink");
68
+ var Link = /* @__PURE__ */ createIcon(LucideLink, "Link");
69
+ var Copy = /* @__PURE__ */ createIcon(LucideCopy, "Copy");
70
+ var Save = /* @__PURE__ */ createIcon(LucideSave, "Save");
71
+ var RefreshCw = /* @__PURE__ */ createIcon(LucideRefreshCw, "RefreshCw");
72
+ var Edit = /* @__PURE__ */ createIcon(LucideEdit, "Edit");
73
+ var Edit2 = /* @__PURE__ */ createIcon(LucideEdit2, "Edit2");
74
+ var Edit3 = /* @__PURE__ */ createIcon(LucideEdit3, "Edit3");
75
+ var Trash2 = /* @__PURE__ */ createIcon(LucideTrash2, "Trash2");
76
+ var Pencil = /* @__PURE__ */ createIcon(LucidePencil, "Pencil");
77
+ var Star = /* @__PURE__ */ createIcon(LucideStar, "Star");
78
+ var Heart = /* @__PURE__ */ createIcon(LucideHeart, "Heart");
79
+ var Eye = /* @__PURE__ */ createIcon(LucideEye, "Eye");
80
+ var EyeOff = /* @__PURE__ */ createIcon(LucideEyeOff, "EyeOff");
81
+ var Bookmark = /* @__PURE__ */ createIcon(LucideBookmark, "Bookmark");
82
+ var Pin = /* @__PURE__ */ createIcon(LucidePin, "Pin");
83
+ var Send = /* @__PURE__ */ createIcon(LucideSend, "Send");
84
+ var Crown = /* @__PURE__ */ createIcon(LucideCrown, "Crown");
85
+ var Tag = /* @__PURE__ */ createIcon(LucideTag, "Tag");
86
+ var Flag = /* @__PURE__ */ createIcon(LucideFlag, "Flag");
87
+ var Lock = /* @__PURE__ */ createIcon(LucideLock, "Lock");
88
+ var Unlock = /* @__PURE__ */ createIcon(LucideUnlock, "Unlock");
89
+ var Shield = /* @__PURE__ */ createIcon(LucideShield, "Shield");
90
+ var ShieldCheck = /* @__PURE__ */ createIcon(LucideShieldCheck, "ShieldCheck");
91
+ var Mail = /* @__PURE__ */ createIcon(LucideMail, "Mail");
92
+ var Phone = /* @__PURE__ */ createIcon(LucidePhone, "Phone");
93
+ var MessageSquare = /* @__PURE__ */ createIcon(LucideMessageSquare, "MessageSquare");
94
+ var Bell = /* @__PURE__ */ createIcon(LucideBell, "Bell");
95
+ var Home = /* @__PURE__ */ createIcon(LucideHome, "Home");
96
+ var Globe = /* @__PURE__ */ createIcon(LucideGlobe, "Globe");
97
+ var MapPin = /* @__PURE__ */ createIcon(LucideMapPin, "MapPin");
98
+ var LogIn = /* @__PURE__ */ createIcon(LucideLogIn, "LogIn");
99
+ var LogOut = /* @__PURE__ */ createIcon(LucideLogOut, "LogOut");
100
+ var CreditCard = /* @__PURE__ */ createIcon(LucideCreditCard, "CreditCard");
101
+ var Receipt = /* @__PURE__ */ createIcon(LucideReceipt, "Receipt");
102
+ var ShoppingCart = /* @__PURE__ */ createIcon(LucideShoppingCart, "ShoppingCart");
103
+ var Package = /* @__PURE__ */ createIcon(LucidePackage, "Package");
104
+ var Wallet = /* @__PURE__ */ createIcon(LucideWallet, "Wallet");
105
+ var DollarSign = /* @__PURE__ */ createIcon(LucideDollarSign, "DollarSign");
106
+ var TrendingUp = /* @__PURE__ */ createIcon(LucideTrendingUp, "TrendingUp");
107
+ var TrendingDown = /* @__PURE__ */ createIcon(LucideTrendingDown, "TrendingDown");
108
+ var BarChart3 = /* @__PURE__ */ createIcon(LucideBarChart3, "BarChart3");
109
+ var PieChart = /* @__PURE__ */ createIcon(LucidePieChart, "PieChart");
110
+ var LineChart = /* @__PURE__ */ createIcon(LucideLineChart, "LineChart");
111
+ var Activity = /* @__PURE__ */ createIcon(LucideActivity, "Activity");
112
+ var Database = /* @__PURE__ */ createIcon(LucideDatabase, "Database");
113
+ var Server = /* @__PURE__ */ createIcon(LucideServer, "Server");
114
+ var Code = /* @__PURE__ */ createIcon(LucideCode, "Code");
115
+ var Code2 = /* @__PURE__ */ createIcon(LucideCode2, "Code2");
116
+ var Terminal = /* @__PURE__ */ createIcon(LucideTerminal, "Terminal");
117
+ var Sun = /* @__PURE__ */ createIcon(LucideSun, "Sun");
118
+ var Moon = /* @__PURE__ */ createIcon(LucideMoon, "Moon");
119
+ var Monitor = /* @__PURE__ */ createIcon(LucideMonitor, "Monitor");
120
+ var Smartphone = /* @__PURE__ */ createIcon(LucideSmartphone, "Smartphone");
121
+ var Laptop = /* @__PURE__ */ createIcon(LucideLaptop, "Laptop");
122
+ var Zap = /* @__PURE__ */ createIcon(LucideZap, "Zap");
123
+ var Sparkles = /* @__PURE__ */ createIcon(LucideSparkles, "Sparkles");
124
+ var Mic = /* @__PURE__ */ createIcon(LucideMic, "Mic");
125
+ var Volume2 = /* @__PURE__ */ createIcon(LucideVolume2, "Volume2");
126
+ var Play = /* @__PURE__ */ createIcon(LucidePlay, "Play");
127
+ var Pause = /* @__PURE__ */ createIcon(LucidePause, "Pause");
128
+ var SkipForward = /* @__PURE__ */ createIcon(LucideSkipForward, "SkipForward");
129
+ var SkipBack = /* @__PURE__ */ createIcon(LucideSkipBack, "SkipBack");
130
+ var Loader2 = /* @__PURE__ */ createIcon(LucideLoader2, "Loader2");
131
+ var Apps = /* @__PURE__ */ createIcon(LucideGrip, "Apps");
132
+
133
+ export { Activity, AlertCircle, AlertTriangle, Apps, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, BarChart3, Bell, Bookmark, Briefcase, Building2, Calendar, CalendarDays, Camera, Check, CheckCircle2, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ChevronsUpDown, Clock, Code, Code2, Command, Copy, CreditCard, Crown, Database, Delete, DollarSign, Download, Edit, Edit2, Edit3, ExternalLink, Eye, EyeOff, FileCheck, FileText, FileX, Filter, Flag, Folder, Globe, Heart, HelpCircle, Home, Image, Info, Laptop, Layers, LifeBuoy, LineChart, Link, Loader2, Lock, LogIn, LogOut, Mail, MapPin, Menu, MessageSquare, Mic, Minus, Monitor, Moon, MoreHorizontal, MoreVertical, Package, Paperclip, Pause, Pencil, Phone, PieChart, Pin, Play, Plus, Receipt, RefreshCw, Save, Search, Send, Server, Settings, Settings2, Shield, ShieldCheck, ShoppingCart, SkipBack, SkipForward, SlidersHorizontal, Smartphone, Sparkles, Star, Sun, Tag, Terminal, ThumbsDown, ThumbsUp, Trash2, TrendingDown, TrendingUp, Unlock, Upload, User, UserPlus, Users, Video, Volume2, Wallet, X, XCircle, Zap, createIcon };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nexub/icons",
3
- "version": "2.0.0",
4
- "description": "Icon components for Nexub Design System — tree-shakeable React wrappers around Lucide icons with design-system size tokens.",
3
+ "version": "2.2.0",
4
+ "description": "Icon components for Nexub Design System — tree-shakeable wrappers around Lucide icons with design-system size tokens, for React (web) and React Native (@nexub/icons/native).",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/Nexub-AI/nexub-ds#readme",
@@ -29,13 +29,21 @@
29
29
  "types": "./dist/index.d.ts",
30
30
  "default": "./dist/index.js"
31
31
  },
32
+ "./native": {
33
+ "types": "./dist/native/index.d.ts",
34
+ "react-native": "./dist/native/index.js",
35
+ "default": "./dist/native/index.js"
36
+ },
32
37
  "./package.json": "./package.json"
33
38
  },
34
39
  "main": "./dist/index.js",
35
40
  "types": "./dist/index.d.ts",
36
41
  "peerDependencies": {
37
42
  "react": ">=18 <20",
38
- "react-dom": ">=18 <20"
43
+ "react-dom": ">=18 <20",
44
+ "lucide-react-native": ">=1.60.0",
45
+ "react-native": ">=0.86.0",
46
+ "react-native-svg": ">=15.0.0"
39
47
  },
40
48
  "dependencies": {
41
49
  "lucide-react": "^0.468.0"
@@ -43,11 +51,28 @@
43
51
  "devDependencies": {
44
52
  "@types/react": "^19.3.0",
45
53
  "@types/react-dom": "^19.3.0",
54
+ "lucide-react-native": "1.64.0",
55
+ "react-native": "0.88.1",
56
+ "react-native-svg": "15.16.0",
46
57
  "tsup": "^8.5.1",
47
58
  "typescript": "^5.9.3"
48
59
  },
60
+ "peerDependenciesMeta": {
61
+ "react-dom": {
62
+ "optional": true
63
+ },
64
+ "lucide-react-native": {
65
+ "optional": true
66
+ },
67
+ "react-native": {
68
+ "optional": true
69
+ },
70
+ "react-native-svg": {
71
+ "optional": true
72
+ }
73
+ },
49
74
  "scripts": {
50
- "build": "tsup",
75
+ "build": "node scripts/gen-native.mjs && tsup",
51
76
  "dev": "tsup --watch",
52
77
  "clean": "rm -rf dist",
53
78
  "typecheck": "tsc --noEmit",