@azmr/ui 0.1.0 → 0.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.
Files changed (91) hide show
  1. package/README.md +171 -0
  2. package/dist/avatar.d.ts +58 -0
  3. package/dist/avatar.js +84 -0
  4. package/dist/breadcrumb.d.ts +47 -0
  5. package/dist/breadcrumb.js +120 -0
  6. package/dist/button-CYt2Zw3D.d.ts +64 -0
  7. package/dist/button.d.ts +54 -0
  8. package/dist/button.js +19 -0
  9. package/dist/chunk-2RIWL363.js +27 -0
  10. package/dist/chunk-2TQSHVXA.js +12 -0
  11. package/dist/chunk-7EOSDFS3.js +10 -0
  12. package/dist/chunk-C2HKIPLQ.js +118 -0
  13. package/dist/chunk-CAJLW6K2.js +16 -0
  14. package/dist/chunk-CZJZYN54.js +36 -0
  15. package/dist/chunk-EE4V6XMB.js +35 -0
  16. package/dist/chunk-EFHRRLAW.js +211 -0
  17. package/dist/chunk-GLB75NT3.js +21 -0
  18. package/dist/chunk-GX2YEJ43.js +36 -0
  19. package/dist/chunk-LTOLV67A.js +19 -0
  20. package/dist/chunk-LZMX27IZ.js +10 -0
  21. package/dist/chunk-NIIDYIZA.js +1 -0
  22. package/dist/chunk-Q4PPM2SU.js +97 -0
  23. package/dist/chunk-WVE2E37B.js +20 -0
  24. package/dist/chunk-XRZHP6BD.js +92 -0
  25. package/dist/disclosure.d.ts +72 -0
  26. package/dist/disclosure.js +221 -0
  27. package/dist/display.d.ts +111 -0
  28. package/dist/display.js +237 -0
  29. package/dist/floating.d.ts +81 -0
  30. package/dist/floating.js +231 -0
  31. package/dist/hooks.d.ts +33 -0
  32. package/dist/hooks.js +55 -0
  33. package/dist/icons/lucide.d.ts +77 -0
  34. package/dist/icons/lucide.js +135 -0
  35. package/dist/icons/mui-map.d.ts +1268 -0
  36. package/dist/icons/mui-map.js +352 -0
  37. package/dist/icons.d.ts +48 -0
  38. package/dist/icons.js +19 -0
  39. package/dist/index.d.ts +238 -3
  40. package/dist/index.js +242 -15
  41. package/dist/input.d.ts +14 -0
  42. package/dist/input.js +8 -0
  43. package/dist/layout/mui-map.d.ts +80 -0
  44. package/dist/layout/mui-map.js +104 -0
  45. package/dist/layout.d.ts +89 -0
  46. package/dist/layout.js +455 -0
  47. package/dist/lib.d.ts +11 -0
  48. package/dist/lib.js +6 -0
  49. package/dist/menu.d.ts +105 -0
  50. package/dist/menu.js +56 -0
  51. package/dist/modal.d.ts +105 -0
  52. package/dist/modal.js +273 -0
  53. package/dist/motion.css +295 -0
  54. package/dist/pagination.d.ts +82 -0
  55. package/dist/pagination.js +211 -0
  56. package/dist/presets.d.ts +97 -0
  57. package/dist/presets.js +94 -0
  58. package/dist/progress.d.ts +70 -0
  59. package/dist/progress.js +138 -0
  60. package/dist/react.d.ts +81 -0
  61. package/dist/react.js +281 -0
  62. package/dist/responsive-YJBnvsjt.d.ts +69 -0
  63. package/dist/scroll-area.d.ts +30 -0
  64. package/dist/scroll-area.js +80 -0
  65. package/dist/shared-Fkx-sjPt.d.ts +15 -0
  66. package/dist/spinner.d.ts +18 -0
  67. package/dist/spinner.js +39 -0
  68. package/dist/split-button.d.ts +32 -0
  69. package/dist/split-button.js +54 -0
  70. package/dist/stepper.d.ts +27 -0
  71. package/dist/stepper.js +104 -0
  72. package/dist/styles.css +24 -0
  73. package/dist/table.d.ts +52 -0
  74. package/dist/table.js +124 -0
  75. package/dist/theme.d.ts +111 -0
  76. package/dist/theme.js +414 -0
  77. package/dist/toast.d.ts +77 -0
  78. package/dist/toast.js +203 -0
  79. package/dist/toggle.d.ts +55 -0
  80. package/dist/toggle.js +88 -0
  81. package/dist/tokens.css +337 -0
  82. package/dist/transition.d.ts +51 -0
  83. package/dist/transition.js +79 -0
  84. package/dist/types-BBudf463.d.ts +39 -0
  85. package/dist/typography/mui-map.d.ts +91 -0
  86. package/dist/typography/mui-map.js +62 -0
  87. package/dist/typography.d.ts +90 -0
  88. package/dist/typography.js +193 -0
  89. package/dist/useSignal-C-3ZGURN.d.ts +21 -0
  90. package/dist/variants-De0c0ucO.d.ts +60 -0
  91. package/package.json +167 -12
@@ -0,0 +1,352 @@
1
+ // src/icons/mui-map.ts
2
+ var muiIconMap = {
3
+ // Navigation and actions
4
+ Home: { lucide: "house", tabler: "IconHome" },
5
+ Menu: { lucide: "menu", tabler: "IconMenu2" },
6
+ MoreVert: { lucide: "ellipsis-vertical", tabler: "IconDotsVertical" },
7
+ MoreHoriz: { lucide: "ellipsis", tabler: "IconDots" },
8
+ Close: { lucide: "x", tabler: "IconX" },
9
+ Clear: { lucide: "x", tabler: "IconX" },
10
+ Add: { lucide: "plus", tabler: "IconPlus" },
11
+ AddCircle: { lucide: "circle-plus", tabler: "IconCirclePlus" },
12
+ Remove: { lucide: "minus", tabler: "IconMinus" },
13
+ RemoveCircle: { lucide: "circle-minus", tabler: "IconCircleMinus" },
14
+ Check: { lucide: "check", tabler: "IconCheck" },
15
+ Done: { lucide: "check", tabler: "IconCheck" },
16
+ DoneAll: { lucide: "check-check", tabler: "IconChecks" },
17
+ CheckCircle: { lucide: "circle-check", tabler: "IconCircleCheck" },
18
+ Cancel: { lucide: "circle-x", tabler: "IconCircleX" },
19
+ Delete: { lucide: "trash-2", tabler: "IconTrash" },
20
+ DeleteForever: { lucide: "trash-2", tabler: "IconTrash" },
21
+ Edit: { lucide: "pencil", tabler: "IconPencil" },
22
+ Save: { lucide: "save", tabler: "IconDeviceFloppy" },
23
+ Search: { lucide: "search", tabler: "IconSearch" },
24
+ FilterList: { lucide: "list-filter", tabler: "IconFilter" },
25
+ FilterAlt: { lucide: "funnel", tabler: "IconFilter" },
26
+ Sort: { lucide: "arrow-up-down", tabler: "IconArrowsSort" },
27
+ SortByAlpha: { lucide: "arrow-down-a-z", tabler: "IconSortAscendingLetters" },
28
+ Refresh: { lucide: "refresh-cw", tabler: "IconRefresh" },
29
+ Sync: { lucide: "refresh-cw", tabler: "IconRefresh" },
30
+ Autorenew: { lucide: "refresh-cw", tabler: "IconRefresh" },
31
+ Cached: { lucide: "refresh-cw", tabler: "IconRefresh" },
32
+ Settings: { lucide: "settings", tabler: "IconSettings" },
33
+ Tune: { lucide: "sliders-horizontal", tabler: "IconAdjustmentsHorizontal" },
34
+ Info: { lucide: "info", tabler: "IconInfoCircle" },
35
+ Help: { lucide: "circle-help", tabler: "IconHelp" },
36
+ Warning: { lucide: "triangle-alert", tabler: "IconAlertTriangle" },
37
+ Error: { lucide: "circle-alert", tabler: "IconAlertCircle" },
38
+ Visibility: { lucide: "eye", tabler: "IconEye" },
39
+ VisibilityOff: { lucide: "eye-off", tabler: "IconEyeOff" },
40
+ Lock: { lucide: "lock", tabler: "IconLock" },
41
+ LockOpen: { lucide: "lock-open", tabler: "IconLockOpen" },
42
+ Key: { lucide: "key-round", tabler: "IconKey" },
43
+ VpnKey: { lucide: "key-round", tabler: "IconKey" },
44
+ Fingerprint: { lucide: "fingerprint-pattern", tabler: "IconFingerprint" },
45
+ Security: { lucide: "shield", tabler: "IconShield" },
46
+ Shield: { lucide: "shield", tabler: "IconShield" },
47
+ VerifiedUser: { lucide: "shield-check", tabler: "IconShieldCheck" },
48
+ AdminPanelSettings: { lucide: "shield-user", tabler: "IconShieldLock" },
49
+ // People and communication
50
+ Person: { lucide: "user", tabler: "IconUser" },
51
+ PersonAdd: { lucide: "user-plus", tabler: "IconUserPlus" },
52
+ PersonRemove: { lucide: "user-minus", tabler: "IconUserMinus" },
53
+ People: { lucide: "users", tabler: "IconUsers" },
54
+ Group: { lucide: "users", tabler: "IconUsers" },
55
+ AccountCircle: { lucide: "circle-user", tabler: "IconUserCircle" },
56
+ AccountBox: { lucide: "square-user", tabler: "IconUserSquare" },
57
+ Contacts: { lucide: "contact", tabler: "IconAddressBook" },
58
+ Badge: { lucide: "id-card", tabler: "IconId" },
59
+ Face: { lucide: "smile", tabler: "IconMoodSmile" },
60
+ Mood: { lucide: "smile", tabler: "IconMoodSmile" },
61
+ SentimentSatisfied: { lucide: "smile", tabler: "IconMoodSmile" },
62
+ SentimentDissatisfied: { lucide: "frown", tabler: "IconMoodSad" },
63
+ Logout: { lucide: "log-out", tabler: "IconLogout" },
64
+ ExitToApp: { lucide: "log-out", tabler: "IconLogout" },
65
+ Login: { lucide: "log-in", tabler: "IconLogin" },
66
+ Mail: { lucide: "mail", tabler: "IconMail" },
67
+ Email: { lucide: "mail", tabler: "IconMail" },
68
+ Drafts: { lucide: "mail-open", tabler: "IconMailOpened" },
69
+ MarkEmailRead: { lucide: "mail-check", tabler: "IconMailCheck" },
70
+ Inbox: { lucide: "inbox", tabler: "IconInbox" },
71
+ Send: { lucide: "send", tabler: "IconSend" },
72
+ Phone: { lucide: "phone", tabler: "IconPhone" },
73
+ Call: { lucide: "phone", tabler: "IconPhone" },
74
+ Chat: { lucide: "message-square", tabler: "IconMessage" },
75
+ Comment: { lucide: "message-square", tabler: "IconMessage" },
76
+ Notifications: { lucide: "bell", tabler: "IconBell" },
77
+ NotificationsNone: { lucide: "bell", tabler: "IconBell" },
78
+ NotificationsActive: { lucide: "bell-ring", tabler: "IconBellRinging" },
79
+ Star: { lucide: "star", tabler: "IconStar" },
80
+ StarBorder: { lucide: "star", tabler: "IconStar" },
81
+ Favorite: { lucide: "heart", tabler: "IconHeart" },
82
+ FavoriteBorder: { lucide: "heart", tabler: "IconHeart" },
83
+ ThumbUp: { lucide: "thumbs-up", tabler: "IconThumbUp" },
84
+ ThumbDown: { lucide: "thumbs-down", tabler: "IconThumbDown" },
85
+ Share: { lucide: "share-2", tabler: "IconShare" },
86
+ Reply: { lucide: "reply", tabler: "IconArrowBackUp" },
87
+ Forward: { lucide: "forward", tabler: "IconArrowForwardUp" },
88
+ // Files, content and editing
89
+ Link: { lucide: "link", tabler: "IconLink" },
90
+ LinkOff: { lucide: "unlink", tabler: "IconLinkOff" },
91
+ OpenInNew: { lucide: "external-link", tabler: "IconExternalLink" },
92
+ Launch: { lucide: "external-link", tabler: "IconExternalLink" },
93
+ Download: { lucide: "download", tabler: "IconDownload" },
94
+ FileDownload: { lucide: "download", tabler: "IconDownload" },
95
+ Upload: { lucide: "upload", tabler: "IconUpload" },
96
+ FileUpload: { lucide: "upload", tabler: "IconUpload" },
97
+ CloudUpload: { lucide: "cloud-upload", tabler: "IconCloudUpload" },
98
+ CloudDownload: { lucide: "cloud-download", tabler: "IconCloudDownload" },
99
+ Cloud: { lucide: "cloud", tabler: "IconCloud" },
100
+ Print: { lucide: "printer", tabler: "IconPrinter" },
101
+ ContentCopy: { lucide: "copy", tabler: "IconCopy" },
102
+ FileCopy: { lucide: "copy", tabler: "IconCopy" },
103
+ ContentPaste: { lucide: "clipboard-paste", tabler: "IconClipboard" },
104
+ ContentCut: { lucide: "scissors", tabler: "IconScissors" },
105
+ Undo: { lucide: "undo-2", tabler: "IconArrowBackUp" },
106
+ Redo: { lucide: "redo-2", tabler: "IconArrowForwardUp" },
107
+ Attachment: { lucide: "paperclip", tabler: "IconPaperclip" },
108
+ AttachFile: { lucide: "paperclip", tabler: "IconPaperclip" },
109
+ Image: { lucide: "image", tabler: "IconPhoto" },
110
+ Photo: { lucide: "image", tabler: "IconPhoto" },
111
+ PhotoCamera: { lucide: "camera", tabler: "IconCamera" },
112
+ CameraAlt: { lucide: "camera", tabler: "IconCamera" },
113
+ Videocam: { lucide: "video", tabler: "IconVideo" },
114
+ Mic: { lucide: "mic", tabler: "IconMicrophone" },
115
+ MicOff: { lucide: "mic-off", tabler: "IconMicrophoneOff" },
116
+ VolumeUp: { lucide: "volume-2", tabler: "IconVolume" },
117
+ VolumeOff: { lucide: "volume-x", tabler: "IconVolumeOff" },
118
+ VolumeMute: { lucide: "volume-x", tabler: "IconVolumeOff" },
119
+ PlayArrow: { lucide: "play", tabler: "IconPlayerPlay" },
120
+ Pause: { lucide: "pause", tabler: "IconPlayerPause" },
121
+ Stop: { lucide: "square", tabler: "IconPlayerStop" },
122
+ SkipNext: { lucide: "skip-forward", tabler: "IconPlayerSkipForward" },
123
+ SkipPrevious: { lucide: "skip-back", tabler: "IconPlayerSkipBack" },
124
+ FastForward: { lucide: "fast-forward", tabler: "IconPlayerTrackNext" },
125
+ FastRewind: { lucide: "rewind", tabler: "IconPlayerTrackPrev" },
126
+ Folder: { lucide: "folder", tabler: "IconFolder" },
127
+ FolderOpen: { lucide: "folder-open", tabler: "IconFolderOpen" },
128
+ CreateNewFolder: { lucide: "folder-plus", tabler: "IconFolderPlus" },
129
+ InsertDriveFile: { lucide: "file", tabler: "IconFile" },
130
+ Description: { lucide: "file-text", tabler: "IconFileText" },
131
+ PictureAsPdf: { lucide: "file-text", tabler: "IconFileTypePdf" },
132
+ Article: { lucide: "newspaper", tabler: "IconArticle" },
133
+ Archive: { lucide: "archive", tabler: "IconArchive" },
134
+ Unarchive: { lucide: "archive-restore", tabler: "IconArchiveOff" },
135
+ Bookmark: { lucide: "bookmark", tabler: "IconBookmark" },
136
+ BookmarkBorder: { lucide: "bookmark", tabler: "IconBookmark" },
137
+ PushPin: { lucide: "pin", tabler: "IconPin" },
138
+ Flag: { lucide: "flag", tabler: "IconFlag" },
139
+ Label: { lucide: "tag", tabler: "IconTag" },
140
+ LocalOffer: { lucide: "tag", tabler: "IconTag" },
141
+ FormatBold: { lucide: "bold", tabler: "IconBold" },
142
+ FormatItalic: { lucide: "italic", tabler: "IconItalic" },
143
+ FormatUnderlined: { lucide: "underline", tabler: "IconUnderline" },
144
+ FormatStrikethrough: { lucide: "strikethrough", tabler: "IconStrikethrough" },
145
+ FormatAlignLeft: { lucide: "align-left", tabler: "IconAlignLeft" },
146
+ FormatAlignCenter: { lucide: "align-center", tabler: "IconAlignCenter" },
147
+ FormatAlignRight: { lucide: "align-right", tabler: "IconAlignRight" },
148
+ FormatAlignJustify: { lucide: "align-justify", tabler: "IconAlignJustified" },
149
+ FormatQuote: { lucide: "quote", tabler: "IconQuote" },
150
+ FormatListBulleted: { lucide: "list", tabler: "IconList" },
151
+ FormatListNumbered: { lucide: "list-ordered", tabler: "IconListNumbers" },
152
+ List: { lucide: "list", tabler: "IconList" },
153
+ ListAlt: { lucide: "list", tabler: "IconListDetails" },
154
+ ViewList: { lucide: "list", tabler: "IconList" },
155
+ ViewModule: { lucide: "layout-grid", tabler: "IconLayoutGrid" },
156
+ GridView: { lucide: "layout-grid", tabler: "IconLayoutGrid" },
157
+ ViewColumn: { lucide: "columns-3", tabler: "IconColumns3" },
158
+ TableChart: { lucide: "table", tabler: "IconTable" },
159
+ Dashboard: { lucide: "layout-dashboard", tabler: "IconLayoutDashboard" },
160
+ // Data, business and commerce
161
+ BarChart: { lucide: "chart-column", tabler: "IconChartBar" },
162
+ ShowChart: { lucide: "chart-line", tabler: "IconChartLine" },
163
+ Timeline: { lucide: "chart-line", tabler: "IconChartLine" },
164
+ PieChart: { lucide: "chart-pie", tabler: "IconChartPie" },
165
+ Assessment: { lucide: "chart-column", tabler: "IconChartBar" },
166
+ Analytics: { lucide: "chart-column", tabler: "IconChartBar" },
167
+ TrendingUp: { lucide: "trending-up", tabler: "IconTrendingUp" },
168
+ TrendingDown: { lucide: "trending-down", tabler: "IconTrendingDown" },
169
+ Assignment: { lucide: "clipboard-list", tabler: "IconClipboardList" },
170
+ AssignmentTurnedIn: { lucide: "clipboard-check", tabler: "IconClipboardCheck" },
171
+ Receipt: { lucide: "receipt", tabler: "IconReceipt" },
172
+ ReceiptLong: { lucide: "receipt-text", tabler: "IconReceipt2" },
173
+ Payment: { lucide: "credit-card", tabler: "IconCreditCard" },
174
+ CreditCard: { lucide: "credit-card", tabler: "IconCreditCard" },
175
+ AttachMoney: { lucide: "dollar-sign", tabler: "IconCurrencyDollar" },
176
+ MonetizationOn: { lucide: "circle-dollar-sign", tabler: "IconCoin" },
177
+ AccountBalance: { lucide: "landmark", tabler: "IconBuildingBank" },
178
+ AccountBalanceWallet: { lucide: "wallet", tabler: "IconWallet" },
179
+ ShoppingCart: { lucide: "shopping-cart", tabler: "IconShoppingCart" },
180
+ ShoppingBag: { lucide: "shopping-bag", tabler: "IconShoppingBag" },
181
+ Store: { lucide: "store", tabler: "IconBuildingStore" },
182
+ LocalShipping: { lucide: "truck", tabler: "IconTruck" },
183
+ Inventory: { lucide: "package", tabler: "IconPackage" },
184
+ Inventory2: { lucide: "package", tabler: "IconPackage" },
185
+ Category: { lucide: "shapes", tabler: "IconCategory" },
186
+ Business: { lucide: "building-2", tabler: "IconBuilding" },
187
+ Domain: { lucide: "building-2", tabler: "IconBuilding" },
188
+ Apartment: { lucide: "building", tabler: "IconBuildingSkyscraper" },
189
+ Work: { lucide: "briefcase", tabler: "IconBriefcase" },
190
+ BusinessCenter: { lucide: "briefcase-business", tabler: "IconBriefcase" },
191
+ School: { lucide: "graduation-cap", tabler: "IconSchool" },
192
+ // Time, place and travel
193
+ CalendarToday: { lucide: "calendar", tabler: "IconCalendar" },
194
+ CalendarMonth: { lucide: "calendar-days", tabler: "IconCalendarMonth" },
195
+ Event: { lucide: "calendar", tabler: "IconCalendarEvent" },
196
+ DateRange: { lucide: "calendar-range", tabler: "IconCalendarStats" },
197
+ Today: { lucide: "calendar-check", tabler: "IconCalendarCheck" },
198
+ Schedule: { lucide: "clock", tabler: "IconClock" },
199
+ AccessTime: { lucide: "clock", tabler: "IconClock" },
200
+ Timer: { lucide: "timer", tabler: "IconStopwatch" },
201
+ Alarm: { lucide: "alarm-clock", tabler: "IconAlarm" },
202
+ History: { lucide: "history", tabler: "IconHistory" },
203
+ HourglassEmpty: { lucide: "hourglass", tabler: "IconHourglass" },
204
+ Place: { lucide: "map-pin", tabler: "IconMapPin" },
205
+ LocationOn: { lucide: "map-pin", tabler: "IconMapPin" },
206
+ MyLocation: { lucide: "locate-fixed", tabler: "IconCurrentLocation" },
207
+ Map: { lucide: "map", tabler: "IconMap" },
208
+ Navigation: { lucide: "navigation", tabler: "IconNavigation" },
209
+ Public: { lucide: "globe", tabler: "IconWorld" },
210
+ Language: { lucide: "globe", tabler: "IconWorld" },
211
+ Translate: { lucide: "languages", tabler: "IconLanguage" },
212
+ Flight: { lucide: "plane", tabler: "IconPlane" },
213
+ DirectionsCar: { lucide: "car", tabler: "IconCar" },
214
+ DirectionsBus: { lucide: "bus", tabler: "IconBus" },
215
+ Train: { lucide: "train-front", tabler: "IconTrain" },
216
+ Hotel: { lucide: "bed", tabler: "IconBed" },
217
+ Restaurant: { lucide: "utensils", tabler: "IconToolsKitchen2" },
218
+ Coffee: { lucide: "coffee", tabler: "IconCoffee" },
219
+ LocalCafe: { lucide: "coffee", tabler: "IconCoffee" },
220
+ LocalHospital: { lucide: "hospital", tabler: "IconBuildingHospital" },
221
+ MedicalServices: { lucide: "briefcase-medical", tabler: "IconFirstAidKit" },
222
+ Park: { lucide: "trees", tabler: "IconTrees" },
223
+ Pets: { lucide: "paw-print", tabler: "IconPaw" },
224
+ WaterDrop: { lucide: "droplet", tabler: "IconDroplet" },
225
+ Whatshot: { lucide: "flame", tabler: "IconFlame" },
226
+ // Devices, system and developer
227
+ Wifi: { lucide: "wifi", tabler: "IconWifi" },
228
+ WifiOff: { lucide: "wifi-off", tabler: "IconWifiOff" },
229
+ Bluetooth: { lucide: "bluetooth", tabler: "IconBluetooth" },
230
+ SignalCellularAlt: { lucide: "signal", tabler: "IconAntennaBars5" },
231
+ BatteryFull: { lucide: "battery-full", tabler: "IconBattery4" },
232
+ Power: { lucide: "power", tabler: "IconPower" },
233
+ PowerSettingsNew: { lucide: "power", tabler: "IconPower" },
234
+ Bolt: { lucide: "zap", tabler: "IconBolt" },
235
+ FlashOn: { lucide: "zap", tabler: "IconBolt" },
236
+ Lightbulb: { lucide: "lightbulb", tabler: "IconBulb" },
237
+ LightMode: { lucide: "sun", tabler: "IconSun" },
238
+ Brightness7: { lucide: "sun", tabler: "IconSun" },
239
+ DarkMode: { lucide: "moon", tabler: "IconMoon" },
240
+ Brightness4: { lucide: "moon", tabler: "IconMoon" },
241
+ SettingsBrightness: { lucide: "sun-moon", tabler: "IconSunMoon" },
242
+ Palette: { lucide: "palette", tabler: "IconPalette" },
243
+ Brush: { lucide: "brush", tabler: "IconBrush" },
244
+ FormatPaint: { lucide: "paint-roller", tabler: "IconPaint" },
245
+ Code: { lucide: "code", tabler: "IconCode" },
246
+ Terminal: { lucide: "terminal", tabler: "IconTerminal" },
247
+ BugReport: { lucide: "bug", tabler: "IconBug" },
248
+ Build: { lucide: "wrench", tabler: "IconTool" },
249
+ Construction: { lucide: "construction", tabler: "IconBarrierBlock" },
250
+ Extension: { lucide: "puzzle", tabler: "IconPuzzle" },
251
+ Storage: { lucide: "database", tabler: "IconDatabase" },
252
+ Dns: { lucide: "server", tabler: "IconServer" },
253
+ Memory: { lucide: "cpu", tabler: "IconCpu" },
254
+ Computer: { lucide: "monitor", tabler: "IconDeviceDesktop" },
255
+ DesktopWindows: { lucide: "monitor", tabler: "IconDeviceDesktop" },
256
+ Laptop: { lucide: "laptop", tabler: "IconDeviceLaptop" },
257
+ Smartphone: { lucide: "smartphone", tabler: "IconDeviceMobile" },
258
+ PhoneAndroid: { lucide: "smartphone", tabler: "IconDeviceMobile" },
259
+ Tablet: { lucide: "tablet", tabler: "IconDeviceTablet" },
260
+ Keyboard: { lucide: "keyboard", tabler: "IconKeyboard" },
261
+ Mouse: { lucide: "mouse", tabler: "IconMouse" },
262
+ // Arrows, chevrons and controls
263
+ ArrowBack: { lucide: "arrow-left", tabler: "IconArrowLeft" },
264
+ ArrowForward: { lucide: "arrow-right", tabler: "IconArrowRight" },
265
+ ArrowUpward: { lucide: "arrow-up", tabler: "IconArrowUp" },
266
+ ArrowDownward: { lucide: "arrow-down", tabler: "IconArrowDown" },
267
+ ArrowBackIos: { lucide: "chevron-left", tabler: "IconChevronLeft" },
268
+ ArrowForwardIos: { lucide: "chevron-right", tabler: "IconChevronRight" },
269
+ ArrowDropDown: { lucide: "chevron-down", tabler: "IconChevronDown" },
270
+ ArrowDropUp: { lucide: "chevron-up", tabler: "IconChevronUp" },
271
+ ChevronLeft: { lucide: "chevron-left", tabler: "IconChevronLeft" },
272
+ ChevronRight: { lucide: "chevron-right", tabler: "IconChevronRight" },
273
+ ExpandMore: { lucide: "chevron-down", tabler: "IconChevronDown" },
274
+ ExpandLess: { lucide: "chevron-up", tabler: "IconChevronUp" },
275
+ KeyboardArrowDown: { lucide: "chevron-down", tabler: "IconChevronDown" },
276
+ KeyboardArrowUp: { lucide: "chevron-up", tabler: "IconChevronUp" },
277
+ KeyboardArrowLeft: { lucide: "chevron-left", tabler: "IconChevronLeft" },
278
+ KeyboardArrowRight: { lucide: "chevron-right", tabler: "IconChevronRight" },
279
+ KeyboardDoubleArrowLeft: { lucide: "chevrons-left", tabler: "IconChevronsLeft" },
280
+ KeyboardDoubleArrowRight: { lucide: "chevrons-right", tabler: "IconChevronsRight" },
281
+ UnfoldMore: { lucide: "chevrons-up-down", tabler: "IconSelector" },
282
+ FirstPage: { lucide: "chevrons-left", tabler: "IconChevronsLeft" },
283
+ LastPage: { lucide: "chevrons-right", tabler: "IconChevronsRight" },
284
+ SwapVert: { lucide: "arrow-up-down", tabler: "IconArrowsUpDown" },
285
+ SwapHoriz: { lucide: "arrow-left-right", tabler: "IconArrowsLeftRight" },
286
+ CompareArrows: { lucide: "arrow-left-right", tabler: "IconArrowsLeftRight" },
287
+ Loop: { lucide: "repeat", tabler: "IconRepeat" },
288
+ Repeat: { lucide: "repeat", tabler: "IconRepeat" },
289
+ Shuffle: { lucide: "shuffle", tabler: "IconArrowsShuffle" },
290
+ DragIndicator: { lucide: "grip-vertical", tabler: "IconGripVertical" },
291
+ DragHandle: { lucide: "grip-horizontal", tabler: "IconGripHorizontal" },
292
+ ZoomIn: { lucide: "zoom-in", tabler: "IconZoomIn" },
293
+ ZoomOut: { lucide: "zoom-out", tabler: "IconZoomOut" },
294
+ Fullscreen: { lucide: "maximize", tabler: "IconMaximize" },
295
+ FullscreenExit: { lucide: "minimize", tabler: "IconMinimize" },
296
+ OpenInFull: { lucide: "maximize-2", tabler: "IconArrowsMaximize" },
297
+ CloseFullscreen: { lucide: "minimize-2", tabler: "IconArrowsMinimize" },
298
+ Circle: { lucide: "circle", tabler: "IconCircle" },
299
+ Lens: { lucide: "circle", tabler: "IconCircle" },
300
+ FiberManualRecord: { lucide: "circle", tabler: "IconCircleFilled" },
301
+ RadioButtonChecked: { lucide: "circle-dot", tabler: "IconCircleDot" },
302
+ RadioButtonUnchecked: { lucide: "circle", tabler: "IconCircle" },
303
+ CheckBox: { lucide: "square-check", tabler: "IconSquareCheck" },
304
+ CheckBoxOutlineBlank: { lucide: "square", tabler: "IconSquare" },
305
+ IndeterminateCheckBox: { lucide: "square-minus", tabler: "IconSquareMinus" },
306
+ ToggleOn: { lucide: "toggle-right", tabler: "IconToggleRight" },
307
+ ToggleOff: { lucide: "toggle-left", tabler: "IconToggleLeft" },
308
+ // Brands: Lucide dropped brand icons, so these map to the optional Tabler pack only
309
+ GitHub: { tabler: "IconBrandGithub" },
310
+ Google: { tabler: "IconBrandGoogle" },
311
+ Facebook: { tabler: "IconBrandFacebook" },
312
+ Twitter: { tabler: "IconBrandTwitter" },
313
+ LinkedIn: { tabler: "IconBrandLinkedin" },
314
+ Instagram: { tabler: "IconBrandInstagram" },
315
+ YouTube: { tabler: "IconBrandYoutube" },
316
+ Apple: { tabler: "IconBrandApple" },
317
+ Android: { tabler: "IconBrandAndroid" },
318
+ WhatsApp: { tabler: "IconBrandWhatsapp" },
319
+ Telegram: { tabler: "IconBrandTelegram" },
320
+ Microsoft: { tabler: "IconBrandWindows" }
321
+ };
322
+ var unmappedMuiIcons = [
323
+ "Pending",
324
+ "TrendingFlat",
325
+ "Widgets",
326
+ "Wysiwyg",
327
+ "Gesture",
328
+ "Rowing",
329
+ "Pinch",
330
+ "SupportAgent",
331
+ "Handyman",
332
+ "Anchor"
333
+ ];
334
+ var VARIANT_SUFFIX = /(Outlined|Outline|Rounded|Sharp|TwoTone)$/;
335
+ var hasOwn = (name) => Object.hasOwn(muiIconMap, name);
336
+ function resolveMuiIcon(muiName) {
337
+ if (hasOwn(muiName)) return { name: muiName, ...muiIconMap[muiName] };
338
+ const match = VARIANT_SUFFIX.exec(muiName);
339
+ if (!match) return void 0;
340
+ const base = muiName.slice(0, -match[0].length);
341
+ if (!base || !hasOwn(base)) return void 0;
342
+ return {
343
+ name: base,
344
+ variant: match[1] === "Outline" ? "outlined" : (match[1] ?? "").toLowerCase(),
345
+ ...muiIconMap[base]
346
+ };
347
+ }
348
+ export {
349
+ muiIconMap,
350
+ resolveMuiIcon,
351
+ unmappedMuiIcons
352
+ };
@@ -0,0 +1,48 @@
1
+ import * as react from 'react';
2
+ import { I as IconProps, a as IconComponent } from './types-BBudf463.js';
3
+ export { b as IconRenderProps, c as IconSize } from './types-BBudf463.js';
4
+
5
+ type SetIconProps<Name extends string> = Omit<IconProps, "icon" | "name"> & {
6
+ name: Name;
7
+ };
8
+ /**
9
+ * Builds an `<Icon name="...">` bound to a fixed set of icons, with the names type-checked.
10
+ * Unlike `registerIcons`, nothing is global and only the icons you list are bundled.
11
+ *
12
+ * ```tsx
13
+ * const { Icon } = createIconSet({ check: Check, "my-logo": MyLogo });
14
+ * <Icon name="check" />
15
+ * ```
16
+ */
17
+ declare function createIconSet<const T extends Record<string, IconComponent>>(icons: T): {
18
+ Icon: react.ForwardRefExoticComponent<Omit<IconProps, "name" | "icon"> & {
19
+ name: keyof T & string;
20
+ } & react.RefAttributes<SVGSVGElement>>;
21
+ names: readonly (keyof T & string)[];
22
+ };
23
+
24
+ /** Tailwind classes, spelled out in full so the scanner finds them in `dist`. */
25
+ declare const iconSizes: {
26
+ readonly xs: "size-3";
27
+ readonly sm: "size-3.5";
28
+ readonly md: "size-4";
29
+ readonly lg: "size-5";
30
+ readonly xl: "size-6";
31
+ };
32
+ /**
33
+ * Renders an icon component (Lucide, Tabler or your own SVG) with consistent size, stroke,
34
+ * motion and accessibility. Server-safe: no hooks, no `"use client"`.
35
+ *
36
+ * Decorative by default; `aria-label` / `aria-labelledby` make it a labelled image.
37
+ */
38
+ declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
39
+
40
+ /**
41
+ * Registers custom icons for `<Icon name="..." />`. A later registration replaces an earlier one
42
+ * with the same name. Validated up front and atomic: if any entry is invalid, none is registered.
43
+ */
44
+ declare function registerIcons(icons: Record<string, IconComponent>): void;
45
+ declare function getIcon(name: string): IconComponent | undefined;
46
+ declare function registeredIconNames(): string[];
47
+
48
+ export { Icon, IconComponent, IconProps, type SetIconProps, createIconSet, getIcon, iconSizes, registerIcons, registeredIconNames };
package/dist/icons.js ADDED
@@ -0,0 +1,19 @@
1
+ import {
2
+ createIconSet
3
+ } from "./chunk-2RIWL363.js";
4
+ import {
5
+ Icon,
6
+ getIcon,
7
+ iconSizes,
8
+ registerIcons,
9
+ registeredIconNames
10
+ } from "./chunk-Q4PPM2SU.js";
11
+ import "./chunk-7EOSDFS3.js";
12
+ export {
13
+ Icon,
14
+ createIconSet,
15
+ getIcon,
16
+ iconSizes,
17
+ registerIcons,
18
+ registeredIconNames
19
+ };