@ekanos/ui 0.1.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/dialog.js ADDED
@@ -0,0 +1,897 @@
1
+ 'use client';
2
+
3
+ // ../ui/src/shadcn/dialog.tsx
4
+ import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
5
+
6
+ // ../ui/src/custom/icon.tsx
7
+ import {
8
+ createContext,
9
+ useContext
10
+ } from "react";
11
+
12
+ // ../ui/src/lib/utils/cn.ts
13
+ import { clsx } from "clsx";
14
+ import { twMerge } from "tailwind-merge";
15
+ function cn(...inputs) {
16
+ return twMerge(clsx(inputs));
17
+ }
18
+
19
+ // ../ui/src/custom/lucide-fa-map.json
20
+ var lucide_fa_map_default = {
21
+ Activity: "fa-light fa-wave-pulse",
22
+ Airplay: "fa-light fa-airplay",
23
+ AlarmClock: "fa-light fa-alarm-clock",
24
+ Album: "fa-light fa-album",
25
+ Ampersand: "fa-light fa-ampersand",
26
+ Anchor: "fa-light fa-anchor",
27
+ Aperture: "fa-light fa-aperture",
28
+ Apple: "fa-brands fa-apple",
29
+ Archive: "fa-light fa-box-archive",
30
+ ArrowDown: "fa-light fa-arrow-down",
31
+ ArrowDownFromLine: "fa-light fa-arrow-down-from-line",
32
+ ArrowDownLeft: "fa-light fa-arrow-down-left",
33
+ ArrowDownRight: "fa-light fa-arrow-down-right",
34
+ ArrowDownToLine: "fa-light fa-arrow-down-to-line",
35
+ ArrowLeft: "fa-light fa-arrow-left",
36
+ ArrowLeftFromLine: "fa-light fa-arrow-left-from-line",
37
+ ArrowLeftRight: "fa-light fa-arrow-right-arrow-left",
38
+ ArrowLeftToLine: "fa-light fa-arrow-left-to-line",
39
+ ArrowRight: "fa-light fa-arrow-right",
40
+ ArrowRightFromLine: "fa-light fa-arrow-right-from-line",
41
+ ArrowRightToLine: "fa-light fa-arrow-right-to-line",
42
+ ArrowUp: "fa-light fa-arrow-up",
43
+ ArrowUpDown: "fa-light fa-arrow-up-arrow-down",
44
+ ArrowUpFromLine: "fa-light fa-arrow-up-from-line",
45
+ ArrowUpLeft: "fa-light fa-arrow-up-left",
46
+ ArrowUpRight: "fa-light fa-arrow-up-right",
47
+ ArrowUpToLine: "fa-light fa-arrow-up-to-line",
48
+ Asterisk: "fa-light fa-asterisk",
49
+ Atom: "fa-light fa-atom",
50
+ AtSign: "fa-light fa-at",
51
+ Award: "fa-light fa-award",
52
+ Axe: "fa-light fa-axe",
53
+ Baby: "fa-light fa-baby",
54
+ Backpack: "fa-light fa-backpack",
55
+ Badge: "fa-light fa-badge",
56
+ BadgeCheck: "fa-light fa-badge-check",
57
+ BadgeDollarSign: "fa-light fa-badge-dollar",
58
+ BadgePercent: "fa-light fa-badge-percent",
59
+ Balloon: "fa-light fa-balloon",
60
+ Ban: "fa-light fa-ban",
61
+ Banana: "fa-light fa-banana",
62
+ Bandage: "fa-light fa-bandage",
63
+ Banknote: "fa-light fa-money-bill",
64
+ Barcode: "fa-light fa-barcode",
65
+ Bath: "fa-light fa-bath",
66
+ Battery: "fa-light fa-battery-full",
67
+ BatteryFull: "fa-light fa-battery-full",
68
+ BatteryLow: "fa-light fa-battery-low",
69
+ Bed: "fa-light fa-bed",
70
+ Bell: "fa-light fa-bell",
71
+ BellPlus: "fa-light fa-bell-plus",
72
+ BellRing: "fa-light fa-bell-ring",
73
+ Binary: "fa-light fa-binary",
74
+ Binoculars: "fa-light fa-binoculars",
75
+ Biohazard: "fa-light fa-biohazard",
76
+ Bird: "fa-light fa-bird",
77
+ Bitcoin: "fa-brands fa-bitcoin",
78
+ Blinds: "fa-light fa-blinds",
79
+ Blocks: "fa-light fa-cubes",
80
+ Bluetooth: "fa-light fa-bluetooth",
81
+ Bold: "fa-light fa-bold",
82
+ Bolt: "fa-light fa-bolt",
83
+ Bomb: "fa-light fa-bomb",
84
+ Bone: "fa-light fa-bone",
85
+ Book: "fa-light fa-book",
86
+ BookCopy: "fa-light fa-book-copy",
87
+ BookHeart: "fa-light fa-book-heart",
88
+ Bookmark: "fa-light fa-bookmark",
89
+ BookmarkPlus: "fa-light fa-bookmark-plus",
90
+ BookOpen: "fa-light fa-book-open",
91
+ BookUser: "fa-light fa-book-user",
92
+ Bot: "fa-light fa-robot",
93
+ BowArrow: "fa-light fa-bow-arrow",
94
+ Box: "fa-light fa-box",
95
+ Boxes: "fa-light fa-boxes-stacked",
96
+ Brain: "fa-light fa-brain",
97
+ BrainCircuit: "fa-light fa-brain-circuit",
98
+ Briefcase: "fa-light fa-briefcase",
99
+ BriefcaseMedical: "fa-light fa-briefcase-medical",
100
+ Brush: "fa-light fa-brush",
101
+ Bug: "fa-light fa-bug",
102
+ Building: "fa-light fa-building",
103
+ Building2: "fa-light fa-building",
104
+ Bus: "fa-light fa-bus",
105
+ CableCar: "fa-light fa-cable-car",
106
+ CakeSlice: "fa-light fa-cake-slice",
107
+ Calculator: "fa-light fa-calculator",
108
+ Calendar: "fa-light fa-calendar",
109
+ CalendarArrowDown: "fa-light fa-calendar-arrow-down",
110
+ CalendarArrowUp: "fa-light fa-calendar-arrow-up",
111
+ CalendarCheck: "fa-light fa-calendar-check",
112
+ CalendarClock: "fa-light fa-calendar-clock",
113
+ CalendarDays: "fa-light fa-calendar-days",
114
+ CalendarHeart: "fa-light fa-calendar-heart",
115
+ CalendarMinus: "fa-light fa-calendar-minus",
116
+ CalendarPlus: "fa-light fa-calendar-plus",
117
+ CalendarRange: "fa-light fa-calendar-range",
118
+ Calendars: "fa-light fa-calendars",
119
+ Camera: "fa-light fa-camera",
120
+ Candy: "fa-light fa-candy",
121
+ CandyCane: "fa-light fa-candy-cane",
122
+ Cannabis: "fa-light fa-cannabis",
123
+ Car: "fa-light fa-car",
124
+ Caravan: "fa-light fa-caravan",
125
+ Carrot: "fa-light fa-carrot",
126
+ CassetteTape: "fa-light fa-cassette-tape",
127
+ Castle: "fa-light fa-castle",
128
+ Cat: "fa-light fa-cat",
129
+ ChartArea: "fa-light fa-chart-area",
130
+ ChartBar: "fa-light fa-chart-bar",
131
+ ChartCandlestick: "fa-light fa-chart-candlestick",
132
+ ChartColumn: "fa-light fa-chart-column",
133
+ ChartGantt: "fa-light fa-chart-gantt",
134
+ ChartLine: "fa-light fa-chart-line",
135
+ ChartNetwork: "fa-light fa-chart-network",
136
+ ChartPie: "fa-light fa-chart-pie",
137
+ ChartScatter: "fa-light fa-chart-scatter",
138
+ Check: "fa-light fa-check",
139
+ ChessBishop: "fa-light fa-chess-bishop",
140
+ ChessKing: "fa-light fa-chess-king",
141
+ ChessKnight: "fa-light fa-chess-knight",
142
+ ChessPawn: "fa-light fa-chess-pawn",
143
+ ChessQueen: "fa-light fa-chess-queen",
144
+ ChessRook: "fa-light fa-chess-rook",
145
+ ChevronDown: "fa-light fa-chevron-down",
146
+ ChevronLeft: "fa-light fa-chevron-left",
147
+ ChevronRight: "fa-light fa-chevron-right",
148
+ ChevronsDown: "fa-light fa-chevrons-down",
149
+ ChevronsLeft: "fa-light fa-angles-left",
150
+ ChevronsRight: "fa-light fa-angles-right",
151
+ ChevronsUp: "fa-light fa-chevrons-up",
152
+ ChevronsUpDown: "fa-light fa-up-down",
153
+ ChevronUp: "fa-light fa-chevron-up",
154
+ Church: "fa-light fa-church",
155
+ Circle: "fa-light fa-circle",
156
+ CircleArrowDown: "fa-light fa-circle-arrow-down",
157
+ CircleArrowLeft: "fa-light fa-circle-arrow-left",
158
+ CircleArrowRight: "fa-light fa-circle-arrow-right",
159
+ CircleArrowUp: "fa-light fa-circle-arrow-up",
160
+ CircleCheck: "fa-light fa-circle-check",
161
+ CircleChevronDown: "fa-light fa-circle-chevron-down",
162
+ CircleChevronLeft: "fa-light fa-circle-chevron-left",
163
+ CircleChevronRight: "fa-light fa-circle-chevron-right",
164
+ CircleChevronUp: "fa-light fa-circle-chevron-up",
165
+ CircleDashed: "fa-light fa-circle-dashed",
166
+ CircleDivide: "fa-light fa-circle-divide",
167
+ CircleDot: "fa-light fa-circle-dot",
168
+ CircleEllipsis: "fa-light fa-circle-ellipsis",
169
+ CircleMinus: "fa-light fa-circle-minus",
170
+ CircleParking: "fa-light fa-circle-parking",
171
+ CirclePause: "fa-light fa-circle-pause",
172
+ CirclePlay: "fa-light fa-circle-play",
173
+ CirclePlus: "fa-light fa-circle-plus",
174
+ CircleSmall: "fa-light fa-circle-small",
175
+ CircleStar: "fa-light fa-circle-star",
176
+ CircleStop: "fa-light fa-circle-stop",
177
+ CircleUser: "fa-light fa-circle-user",
178
+ CircleX: "fa-light fa-circle-x",
179
+ Citrus: "fa-light fa-citrus",
180
+ Clapperboard: "fa-light fa-clapperboard",
181
+ Clipboard: "fa-light fa-clipboard",
182
+ ClipboardCheck: "fa-light fa-clipboard-check",
183
+ ClipboardClock: "fa-light fa-clipboard-clock",
184
+ ClipboardList: "fa-light fa-clipboard-list",
185
+ Clock: "fa-light fa-clock",
186
+ Clock3: "fa-light fa-clock",
187
+ Cloud: "fa-light fa-cloud",
188
+ CloudCheck: "fa-light fa-cloud-check",
189
+ CloudDrizzle: "fa-light fa-cloud-drizzle",
190
+ CloudFog: "fa-light fa-cloud-fog",
191
+ CloudHail: "fa-light fa-cloud-hail",
192
+ CloudMoon: "fa-light fa-cloud-moon",
193
+ CloudMoonRain: "fa-light fa-cloud-moon-rain",
194
+ CloudRain: "fa-light fa-cloud-rain",
195
+ CloudSnow: "fa-light fa-cloud-snow",
196
+ CloudSun: "fa-light fa-cloud-sun",
197
+ CloudSunRain: "fa-light fa-cloud-sun-rain",
198
+ Clover: "fa-light fa-clover",
199
+ Club: "fa-light fa-club",
200
+ Code: "fa-light fa-code",
201
+ Codepen: "fa-brands fa-codepen",
202
+ Coffee: "fa-light fa-mug-saucer",
203
+ Cog: "fa-light fa-gear",
204
+ Coins: "fa-light fa-coins",
205
+ Command: "fa-light fa-command",
206
+ Compass: "fa-light fa-compass",
207
+ Computer: "fa-light fa-display",
208
+ Construction: "fa-light fa-person-digging",
209
+ Contact: "fa-light fa-address-book",
210
+ Cookie: "fa-light fa-cookie",
211
+ Copy: "fa-light fa-copy",
212
+ Copyright: "fa-light fa-copyright",
213
+ CornerDownLeft: "fa-light fa-arrow-turn-down-left",
214
+ CreativeCommons: "fa-brands fa-creative-commons",
215
+ CreditCard: "fa-light fa-credit-card",
216
+ Croissant: "fa-light fa-croissant",
217
+ Crop: "fa-light fa-crop",
218
+ Cross: "fa-light fa-cross",
219
+ Crown: "fa-light fa-crown",
220
+ Database: "fa-light fa-database",
221
+ Diamond: "fa-light fa-diamond",
222
+ Divide: "fa-light fa-divide",
223
+ Dna: "fa-light fa-dna",
224
+ Dog: "fa-light fa-dog",
225
+ DollarSign: "fa-light fa-dollar-sign",
226
+ Donut: "fa-light fa-donut",
227
+ DoorClosed: "fa-light fa-door-closed",
228
+ DoorOpen: "fa-light fa-door-open",
229
+ Dot: "fa-light fa-dot",
230
+ Download: "fa-light fa-download",
231
+ Dribbble: "fa-brands fa-dribbble",
232
+ Drone: "fa-light fa-drone",
233
+ Droplet: "fa-light fa-droplet",
234
+ Drum: "fa-light fa-drum",
235
+ Drumstick: "fa-light fa-drumstick",
236
+ Dumbbell: "fa-light fa-dumbbell",
237
+ Ear: "fa-light fa-ear",
238
+ Eclipse: "fa-light fa-eclipse",
239
+ Edit: "fa-light fa-pen-to-square",
240
+ Edit3: "fa-light fa-pencil",
241
+ Egg: "fa-light fa-egg",
242
+ EggFried: "fa-light fa-egg-fried",
243
+ Ellipsis: "fa-light fa-ellipsis",
244
+ EllipsisVertical: "fa-light fa-ellipsis-vertical",
245
+ Eraser: "fa-light fa-eraser",
246
+ Expand: "fa-light fa-expand",
247
+ ExternalLink: "fa-light fa-arrow-up-right-from-square",
248
+ Eye: "fa-light fa-eye",
249
+ EyeClosed: "fa-light fa-eye-closed",
250
+ EyeOff: "fa-light fa-eye-slash",
251
+ Facebook: "fa-brands fa-facebook",
252
+ Fan: "fa-light fa-fan",
253
+ Feather: "fa-light fa-feather",
254
+ Fence: "fa-light fa-fence",
255
+ FerrisWheel: "fa-light fa-ferris-wheel",
256
+ Figma: "fa-brands fa-figma",
257
+ File: "fa-light fa-file",
258
+ FileChartColumn: "fa-light fa-file-chart-column",
259
+ FileChartPie: "fa-light fa-file-chart-pie",
260
+ FileCheck: "fa-light fa-file-check",
261
+ FileCode: "fa-light fa-file-code",
262
+ FileHeart: "fa-light fa-file-heart",
263
+ FileImage: "fa-light fa-file-image",
264
+ FileLock: "fa-light fa-file-lock",
265
+ FileMinus: "fa-light fa-file-minus",
266
+ FileMusic: "fa-light fa-file-music",
267
+ FilePen: "fa-light fa-file-pen",
268
+ FilePlus: "fa-light fa-file-plus",
269
+ Files: "fa-light fa-files",
270
+ FileSpreadsheet: "fa-light fa-file-spreadsheet",
271
+ FileText: "fa-light fa-file-lines",
272
+ FileUser: "fa-light fa-file-user",
273
+ Film: "fa-light fa-film",
274
+ FireExtinguisher: "fa-light fa-fire-extinguisher",
275
+ Fish: "fa-light fa-fish",
276
+ Flag: "fa-light fa-flag",
277
+ Flashlight: "fa-light fa-flashlight",
278
+ Flower: "fa-light fa-flower",
279
+ Folder: "fa-light fa-folder",
280
+ FolderArchive: "fa-light fa-box-archive",
281
+ FolderCheck: "fa-light fa-folder-check",
282
+ FolderClosed: "fa-light fa-folder-closed",
283
+ FolderHeart: "fa-light fa-folder-heart",
284
+ FolderKanban: "fa-light fa-square-kanban",
285
+ FolderMinus: "fa-light fa-folder-minus",
286
+ FolderOpen: "fa-light fa-folder-open",
287
+ FolderPlus: "fa-light fa-folder-plus",
288
+ Folders: "fa-light fa-folders",
289
+ FolderTree: "fa-light fa-folder-tree",
290
+ Forklift: "fa-light fa-forklift",
291
+ Forward: "fa-light fa-forward",
292
+ Frame: "fa-light fa-frame",
293
+ GalleryThumbnails: "fa-light fa-gallery-thumbnails",
294
+ Gamepad: "fa-light fa-gamepad",
295
+ Gauge: "fa-light fa-gauge",
296
+ Gavel: "fa-light fa-gavel",
297
+ Gem: "fa-light fa-gem",
298
+ Ghost: "fa-light fa-ghost",
299
+ Gift: "fa-light fa-gift",
300
+ Github: "fa-brands fa-github",
301
+ Gitlab: "fa-brands fa-gitlab",
302
+ Glasses: "fa-light fa-glasses",
303
+ GlassWater: "fa-light fa-glass-water",
304
+ Globe: "fa-light fa-globe",
305
+ Gpu: "fa-light fa-gpu",
306
+ GraduationCap: "fa-light fa-graduation-cap",
307
+ Grid3X3: "fa-light fa-grid",
308
+ Grip: "fa-light fa-grip",
309
+ GripVertical: "fa-light fa-grip-vertical",
310
+ Guitar: "fa-light fa-guitar",
311
+ Hammer: "fa-light fa-hammer",
312
+ Hand: "fa-light fa-hand",
313
+ HandFist: "fa-light fa-hand-fist",
314
+ HandHeart: "fa-light fa-hand-heart",
315
+ Handshake: "fa-light fa-handshake",
316
+ HardDrive: "fa-light fa-hard-drive",
317
+ Hash: "fa-light fa-hashtag",
318
+ Heading: "fa-light fa-heading",
319
+ Headphones: "fa-light fa-headphones",
320
+ Headset: "fa-light fa-headset",
321
+ Heart: "fa-light fa-heart",
322
+ HeartCrack: "fa-light fa-heart-crack",
323
+ HeartPulse: "fa-light fa-heart-pulse",
324
+ Helicopter: "fa-light fa-helicopter",
325
+ Hexagon: "fa-light fa-hexagon",
326
+ Highlighter: "fa-light fa-highlighter",
327
+ History: "fa-light fa-clock-rotate-left",
328
+ Hospital: "fa-light fa-hospital",
329
+ Hotel: "fa-light fa-hotel",
330
+ Hourglass: "fa-light fa-hourglass",
331
+ House: "fa-light fa-house",
332
+ HouseHeart: "fa-light fa-house-heart",
333
+ IdCard: "fa-light fa-id-card",
334
+ Image: "fa-light fa-image",
335
+ Images: "fa-light fa-images",
336
+ Inbox: "fa-light fa-inbox",
337
+ Infinity: "fa-light fa-infinity",
338
+ Info: "fa-light fa-info",
339
+ Instagram: "fa-brands fa-instagram",
340
+ Italic: "fa-light fa-italic",
341
+ Joystick: "fa-light fa-joystick",
342
+ Kayak: "fa-light fa-kayak",
343
+ Key: "fa-light fa-key",
344
+ Keyboard: "fa-light fa-keyboard",
345
+ KeyRound: "fa-light fa-key",
346
+ Lamp: "fa-light fa-lamp",
347
+ LampDesk: "fa-light fa-lamp-desk",
348
+ LampFloor: "fa-light fa-lamp-floor",
349
+ Landmark: "fa-light fa-landmark",
350
+ Laptop: "fa-light fa-laptop",
351
+ Lasso: "fa-light fa-lasso",
352
+ Layers: "fa-light fa-layer-group",
353
+ Layout: "fa-light fa-table-layout",
354
+ LayoutDashboard: "fa-light fa-table-columns",
355
+ LayoutGrid: "fa-light fa-grid-2",
356
+ Leaf: "fa-light fa-leaf",
357
+ LeafyGreen: "fa-light fa-leafy-green",
358
+ Lightbulb: "fa-light fa-lightbulb",
359
+ Link: "fa-light fa-link",
360
+ Link2: "fa-light fa-link",
361
+ Linkedin: "fa-brands fa-linkedin",
362
+ List: "fa-light fa-list",
363
+ ListCheck: "fa-light fa-list-check",
364
+ ListMusic: "fa-light fa-list-music",
365
+ ListTree: "fa-light fa-list-tree",
366
+ Loader: "fa-light fa-loader",
367
+ Lock: "fa-light fa-lock",
368
+ LockKeyhole: "fa-light fa-lock-keyhole",
369
+ LockKeyholeOpen: "fa-light fa-lock-keyhole-open",
370
+ LockOpen: "fa-light fa-lock-open",
371
+ LogOut: "fa-light fa-right-from-bracket",
372
+ Lollipop: "fa-light fa-lollipop",
373
+ Magnet: "fa-light fa-magnet",
374
+ Mail: "fa-light fa-envelope",
375
+ Mailbox: "fa-light fa-mailbox",
376
+ Map: "fa-light fa-map",
377
+ MapPin: "fa-light fa-location-dot",
378
+ Mars: "fa-light fa-mars",
379
+ MarsStroke: "fa-light fa-mars-stroke",
380
+ Maximize: "fa-light fa-maximize",
381
+ Maximize2: "fa-light fa-expand",
382
+ Medal: "fa-light fa-medal",
383
+ Megaphone: "fa-light fa-bullhorn",
384
+ Menu: "fa-light fa-bars",
385
+ Merge: "fa-light fa-merge",
386
+ MessageCircle: "fa-light fa-comment",
387
+ MessageSquare: "fa-light fa-message",
388
+ Mic: "fa-light fa-microphone",
389
+ Microchip: "fa-light fa-microchip",
390
+ Microscope: "fa-light fa-microscope",
391
+ Microwave: "fa-light fa-microwave",
392
+ Minimize: "fa-light fa-minimize",
393
+ Minimize2: "fa-light fa-compress",
394
+ Minus: "fa-light fa-minus",
395
+ MinusCircle: "fa-light fa-circle-minus",
396
+ Monitor: "fa-light fa-display",
397
+ MonitorPlay: "fa-light fa-display",
398
+ Moon: "fa-light fa-moon",
399
+ MoonStar: "fa-light fa-moon-star",
400
+ Mountain: "fa-light fa-mountain",
401
+ Music: "fa-light fa-music",
402
+ Music2: "fa-light fa-music",
403
+ Newspaper: "fa-light fa-newspaper",
404
+ Nfc: "fa-light fa-nfc",
405
+ NonBinary: "fa-light fa-non-binary",
406
+ Notebook: "fa-light fa-notebook",
407
+ NotebookPen: "fa-light fa-notebook",
408
+ Octagon: "fa-light fa-octagon",
409
+ OctagonMinus: "fa-light fa-octagon-minus",
410
+ Omega: "fa-light fa-omega",
411
+ Option: "fa-light fa-option",
412
+ Package: "fa-light fa-box",
413
+ PackageOpen: "fa-light fa-box-open",
414
+ Paintbrush: "fa-light fa-paintbrush",
415
+ PaintRoller: "fa-light fa-paint-roller",
416
+ Palette: "fa-light fa-palette",
417
+ PanelLeft: "fa-light fa-table-columns",
418
+ PanelRightClose: "fa-light fa-sidebar-flip",
419
+ PanelRightOpen: "fa-light fa-sidebar",
420
+ Paperclip: "fa-light fa-paperclip",
421
+ Pause: "fa-light fa-pause",
422
+ Pen: "fa-light fa-pen",
423
+ Pencil: "fa-light fa-pencil",
424
+ PencilLine: "fa-light fa-pencil-line",
425
+ PenLine: "fa-light fa-pen-line",
426
+ Pentagon: "fa-light fa-pentagon",
427
+ Percent: "fa-light fa-percent",
428
+ Phone: "fa-light fa-phone",
429
+ PhoneMissed: "fa-light fa-phone-missed",
430
+ Pi: "fa-light fa-pi",
431
+ Piano: "fa-light fa-piano",
432
+ Pickaxe: "fa-light fa-pickaxe",
433
+ PictureInPicture: "fa-light fa-picture-in-picture",
434
+ PiggyBank: "fa-light fa-piggy-bank",
435
+ Pill: "fa-light fa-pills",
436
+ Pipette: "fa-light fa-eye-dropper",
437
+ Pizza: "fa-light fa-pizza",
438
+ Plane: "fa-light fa-plane",
439
+ Play: "fa-light fa-play",
440
+ Plug: "fa-light fa-plug",
441
+ PlugZap: "fa-light fa-plug-circle-bolt",
442
+ Plus: "fa-light fa-plus",
443
+ PlusCircle: "fa-light fa-circle-plus",
444
+ Podcast: "fa-light fa-podcast",
445
+ Popcorn: "fa-light fa-popcorn",
446
+ Popsicle: "fa-light fa-popsicle",
447
+ Power: "fa-light fa-power-off",
448
+ PowerOff: "fa-light fa-power-off",
449
+ Projector: "fa-light fa-projector",
450
+ Puzzle: "fa-light fa-puzzle",
451
+ Rabbit: "fa-light fa-rabbit",
452
+ Radar: "fa-light fa-radar",
453
+ Radiation: "fa-light fa-radiation",
454
+ Radio: "fa-light fa-radio",
455
+ Rainbow: "fa-light fa-rainbow",
456
+ Receipt: "fa-light fa-receipt",
457
+ RectangleVertical: "fa-light fa-rectangle-vertical",
458
+ Recycle: "fa-light fa-recycle",
459
+ RefreshCw: "fa-light fa-arrows-rotate",
460
+ Refrigerator: "fa-light fa-refrigerator",
461
+ Repeat: "fa-light fa-repeat",
462
+ Reply: "fa-light fa-reply",
463
+ ReplyAll: "fa-light fa-reply-all",
464
+ Ribbon: "fa-light fa-ribbon",
465
+ Rocket: "fa-light fa-rocket",
466
+ RollerCoaster: "fa-light fa-roller-coaster",
467
+ RotateCcw: "fa-light fa-rotate-left",
468
+ Route: "fa-light fa-route",
469
+ Router: "fa-light fa-router",
470
+ Rss: "fa-light fa-rss",
471
+ Ruler: "fa-light fa-ruler",
472
+ Sailboat: "fa-light fa-sailboat",
473
+ Salad: "fa-light fa-salad",
474
+ Sandwich: "fa-light fa-sandwich",
475
+ Satellite: "fa-light fa-satellite",
476
+ SatelliteDish: "fa-light fa-satellite-dish",
477
+ Save: "fa-light fa-floppy-disk",
478
+ School: "fa-light fa-school",
479
+ Scissors: "fa-light fa-scissors",
480
+ Scooter: "fa-light fa-scooter",
481
+ Scroll: "fa-light fa-scroll",
482
+ Search: "fa-light fa-magnifying-glass",
483
+ Section: "fa-light fa-section",
484
+ Send: "fa-light fa-paper-plane",
485
+ Server: "fa-light fa-server",
486
+ Settings: "fa-light fa-gear",
487
+ Shapes: "fa-light fa-shapes",
488
+ Share: "fa-light fa-share",
489
+ Shield: "fa-light fa-shield",
490
+ ShieldAlert: "fa-light fa-shield-exclamation",
491
+ ShieldCheck: "fa-light fa-shield-check",
492
+ ShieldMinus: "fa-light fa-shield-minus",
493
+ ShieldOff: "fa-light fa-shield-slash",
494
+ ShieldPlus: "fa-light fa-shield-plus",
495
+ ShieldUser: "fa-light fa-shield-user",
496
+ Ship: "fa-light fa-ship",
497
+ Shirt: "fa-light fa-shirt",
498
+ ShoppingBag: "fa-light fa-bag-shopping",
499
+ Shovel: "fa-light fa-shovel",
500
+ Shredder: "fa-light fa-shredder",
501
+ Shrimp: "fa-light fa-shrimp",
502
+ Shuffle: "fa-light fa-shuffle",
503
+ Sigma: "fa-light fa-sigma",
504
+ Signal: "fa-light fa-signal",
505
+ Signature: "fa-light fa-signature",
506
+ Siren: "fa-light fa-siren",
507
+ Skull: "fa-light fa-skull",
508
+ Slack: "fa-brands fa-slack",
509
+ Slash: "fa-light fa-slash",
510
+ SlidersHorizontal: "fa-light fa-sliders",
511
+ Snowflake: "fa-light fa-snowflake",
512
+ SolarPanel: "fa-light fa-solar-panel",
513
+ Spade: "fa-light fa-spade",
514
+ Sparkle: "fa-light fa-sparkle",
515
+ Sparkles: "fa-light fa-sparkles",
516
+ Speaker: "fa-light fa-speaker",
517
+ SpellCheck: "fa-light fa-spell-check",
518
+ Split: "fa-light fa-split",
519
+ SprayCan: "fa-light fa-spray-can",
520
+ Square: "fa-light fa-square",
521
+ SquareArrowDown: "fa-light fa-square-arrow-down",
522
+ SquareArrowDownLeft: "fa-light fa-square-arrow-down-left",
523
+ SquareArrowDownRight: "fa-light fa-square-arrow-down-right",
524
+ SquareArrowLeft: "fa-light fa-square-arrow-left",
525
+ SquareArrowRight: "fa-light fa-square-arrow-right",
526
+ SquareArrowUp: "fa-light fa-square-arrow-up",
527
+ SquareArrowUpLeft: "fa-light fa-square-arrow-up-left",
528
+ SquareArrowUpRight: "fa-light fa-square-arrow-up-right",
529
+ SquareCheck: "fa-light fa-square-check",
530
+ SquareChevronDown: "fa-light fa-square-chevron-down",
531
+ SquareChevronLeft: "fa-light fa-square-chevron-left",
532
+ SquareChevronRight: "fa-light fa-square-chevron-right",
533
+ SquareChevronUp: "fa-light fa-square-chevron-up",
534
+ SquareCode: "fa-light fa-square-code",
535
+ SquareDashed: "fa-light fa-square-dashed",
536
+ SquareDivide: "fa-light fa-square-divide",
537
+ SquareKanban: "fa-light fa-square-kanban",
538
+ SquareM: "fa-light fa-square-m",
539
+ SquareMinus: "fa-light fa-square-minus",
540
+ SquareParking: "fa-light fa-square-parking",
541
+ SquarePen: "fa-light fa-square-pen",
542
+ SquarePlus: "fa-light fa-square-plus",
543
+ SquareStar: "fa-light fa-square-star",
544
+ SquareTerminal: "fa-light fa-square-terminal",
545
+ SquareUser: "fa-light fa-square-user",
546
+ SquareX: "fa-light fa-square-x",
547
+ Squirrel: "fa-light fa-squirrel",
548
+ Stamp: "fa-light fa-stamp",
549
+ Star: "fa-light fa-star",
550
+ StarHalf: "fa-light fa-star-half",
551
+ Stethoscope: "fa-light fa-stethoscope",
552
+ Store: "fa-light fa-store",
553
+ Strikethrough: "fa-light fa-strikethrough",
554
+ Subscript: "fa-light fa-subscript",
555
+ Sun: "fa-light fa-sun",
556
+ Sunrise: "fa-light fa-sunrise",
557
+ Sunset: "fa-light fa-sunset",
558
+ Superscript: "fa-light fa-superscript",
559
+ Sword: "fa-light fa-sword",
560
+ Swords: "fa-light fa-swords",
561
+ Syringe: "fa-light fa-syringe",
562
+ Table: "fa-light fa-table",
563
+ TableCellsMerge: "fa-light fa-table-cells-merge",
564
+ TableCellsSplit: "fa-light fa-table-cells-split",
565
+ Tablet: "fa-light fa-tablet",
566
+ Tablets: "fa-light fa-tablets",
567
+ Tag: "fa-light fa-tag",
568
+ Tags: "fa-light fa-tags",
569
+ Telescope: "fa-light fa-telescope",
570
+ Tent: "fa-light fa-tent",
571
+ Terminal: "fa-light fa-terminal",
572
+ Thermometer: "fa-light fa-thermometer",
573
+ ThumbsDown: "fa-light fa-thumbs-down",
574
+ ThumbsUp: "fa-light fa-thumbs-up",
575
+ Ticket: "fa-light fa-ticket",
576
+ Tickets: "fa-light fa-tickets",
577
+ Timer: "fa-light fa-timer",
578
+ Toilet: "fa-light fa-toilet",
579
+ Tornado: "fa-light fa-tornado",
580
+ TowerControl: "fa-light fa-tower-control",
581
+ Tractor: "fa-light fa-tractor",
582
+ TrafficCone: "fa-light fa-traffic-cone",
583
+ TrainTrack: "fa-light fa-train-track",
584
+ Transgender: "fa-light fa-transgender",
585
+ Trash: "fa-light fa-trash",
586
+ Trash2: "fa-light fa-trash-can",
587
+ TreeDeciduous: "fa-light fa-tree-deciduous",
588
+ TreePalm: "fa-light fa-tree-palm",
589
+ Trees: "fa-light fa-trees",
590
+ Trello: "fa-brands fa-trello",
591
+ TrendingDown: "fa-light fa-arrow-trend-down",
592
+ TrendingUp: "fa-light fa-arrow-trend-up",
593
+ Triangle: "fa-light fa-triangle",
594
+ TriangleAlert: "fa-light fa-triangle-exclamation",
595
+ Trophy: "fa-light fa-trophy",
596
+ Truck: "fa-light fa-truck",
597
+ Turntable: "fa-light fa-turntable",
598
+ Turtle: "fa-light fa-turtle",
599
+ Tv: "fa-light fa-tv",
600
+ Twitch: "fa-brands fa-twitch",
601
+ Twitter: "fa-brands fa-twitter",
602
+ Umbrella: "fa-light fa-umbrella",
603
+ Underline: "fa-light fa-underline",
604
+ UnlockKeyhole: "fa-light fa-unlock-keyhole",
605
+ Upload: "fa-light fa-upload",
606
+ Usb: "fa-brands fa-usb",
607
+ User: "fa-light fa-user",
608
+ UserCheck: "fa-light fa-user-check",
609
+ UserCircle: "fa-light fa-circle-user",
610
+ UserCog: "fa-light fa-user-gear",
611
+ UserLock: "fa-light fa-user-lock",
612
+ UserMinus: "fa-light fa-user-minus",
613
+ UserPen: "fa-light fa-user-pen",
614
+ UserPlus: "fa-light fa-user-plus",
615
+ UserRound: "fa-light fa-user",
616
+ Users: "fa-light fa-users",
617
+ UsersRound: "fa-light fa-user-group",
618
+ Utensils: "fa-light fa-utensils",
619
+ UtilityPole: "fa-light fa-utility-pole",
620
+ Van: "fa-light fa-van",
621
+ Vault: "fa-light fa-vault",
622
+ Venus: "fa-light fa-venus",
623
+ Video: "fa-light fa-video",
624
+ Voicemail: "fa-light fa-voicemail",
625
+ Volleyball: "fa-light fa-volleyball",
626
+ Volume: "fa-light fa-volume",
627
+ VolumeOff: "fa-light fa-volume-off",
628
+ Wallet: "fa-light fa-wallet",
629
+ Wand: "fa-light fa-wand",
630
+ WandSparkles: "fa-light fa-wand-sparkles",
631
+ Warehouse: "fa-light fa-warehouse",
632
+ WashingMachine: "fa-light fa-washing-machine",
633
+ Watch: "fa-light fa-watch",
634
+ Webhook: "fa-light fa-webhook",
635
+ Wheat: "fa-light fa-wheat",
636
+ Wifi: "fa-light fa-wifi",
637
+ WifiOff: "fa-light fa-wifi-slash",
638
+ Wind: "fa-light fa-wind",
639
+ Worm: "fa-light fa-worm",
640
+ Wrench: "fa-light fa-wrench",
641
+ X: "fa-light fa-xmark",
642
+ Youtube: "fa-brands fa-youtube",
643
+ Zap: "fa-light fa-bolt"
644
+ };
645
+
646
+ // ../ui/src/custom/icon-shared.ts
647
+ var LUCIDE_FA_MAP = lucide_fa_map_default;
648
+ var FALLBACK_FA = "fa-light fa-shapes";
649
+ var FA_STYLE_CLASS = {
650
+ solid: "fa-solid",
651
+ regular: "fa-regular",
652
+ light: "fa-light",
653
+ duotone: "fa-duotone",
654
+ brands: "fa-brands"
655
+ };
656
+ var STYLE_CLASS_SET = new Set(Object.values(FA_STYLE_CLASS));
657
+ function isFaIcon(name) {
658
+ return typeof name === "string" && name.startsWith("fa-");
659
+ }
660
+ function toFaValue(name) {
661
+ if (!name) return FALLBACK_FA;
662
+ if (isFaIcon(name)) return name;
663
+ return LUCIDE_FA_MAP[name] ?? FALLBACK_FA;
664
+ }
665
+ function applyIconStyleOverride(value, override) {
666
+ if (!override) return value;
667
+ const tokens = value.split(/\s+/).filter(Boolean);
668
+ if (tokens.includes("fa-brands")) return value;
669
+ const overrideClass = FA_STYLE_CLASS[override];
670
+ let replaced = false;
671
+ const next = tokens.map((token) => {
672
+ if (STYLE_CLASS_SET.has(token)) {
673
+ replaced = true;
674
+ return overrideClass;
675
+ }
676
+ return token;
677
+ });
678
+ if (!replaced) next.unshift(overrideClass);
679
+ return next.join(" ");
680
+ }
681
+ var SIZE_TOKEN = /(?:^|\s)(?:size|h|w)-(\d+(?:\.\d+)?)\b/;
682
+ function faFontSize(className) {
683
+ const match = className?.match(SIZE_TOKEN);
684
+ if (!match) return 16;
685
+ const units = Number(match[1]);
686
+ return Number.isFinite(units) ? units * 4 : 16;
687
+ }
688
+
689
+ // ../ui/src/custom/icon.tsx
690
+ import { jsx } from "react/jsx-runtime";
691
+ var IconStyleOverrideContext = createContext(
692
+ null
693
+ );
694
+ function FaIcon({
695
+ value,
696
+ className,
697
+ style
698
+ }) {
699
+ const override = useContext(IconStyleOverrideContext);
700
+ const resolved = applyIconStyleOverride(value, override);
701
+ return /* @__PURE__ */ jsx(
702
+ "i",
703
+ {
704
+ className: cn(resolved, "inline-block leading-none", className),
705
+ style: { fontSize: faFontSize(className), ...style },
706
+ "aria-hidden": "true"
707
+ }
708
+ );
709
+ }
710
+ function Icon({ name, className, style }) {
711
+ return /* @__PURE__ */ jsx(FaIcon, { value: toFaValue(name), className, style });
712
+ }
713
+
714
+ // ../ui/src/shadcn/button.tsx
715
+ import { Button as ButtonPrimitive } from "@base-ui/react/button";
716
+ import { cva } from "class-variance-authority";
717
+ import { jsx as jsx2 } from "react/jsx-runtime";
718
+ var buttonVariants = cva(
719
+ "focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
720
+ {
721
+ variants: {
722
+ variant: {
723
+ default: "bg-primary-strong text-primary-foreground hover:bg-primary-strong/90",
724
+ destructive: "bg-destructive hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40 text-destructive-foreground",
725
+ outline: "bg-background hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50 border shadow-xs",
726
+ success: "bg-success-strong text-success-foreground hover:bg-success-strong/90 focus-visible:ring-success-strong/30",
727
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
728
+ ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
729
+ link: "text-primary underline-offset-4 hover:underline"
730
+ },
731
+ size: {
732
+ default: "h-9 px-4 py-2 has-[>svg]:px-3",
733
+ xs: "h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",
734
+ sm: "h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",
735
+ lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
736
+ icon: "size-9",
737
+ "icon-xs": "size-6 rounded-md [&_svg:not([class*='size-'])]:size-3",
738
+ "icon-sm": "size-8",
739
+ "icon-lg": "size-10"
740
+ }
741
+ },
742
+ defaultVariants: {
743
+ variant: "default",
744
+ size: "default"
745
+ }
746
+ }
747
+ );
748
+ function Button({
749
+ className,
750
+ variant = "default",
751
+ size = "default",
752
+ ...props
753
+ }) {
754
+ return /* @__PURE__ */ jsx2(
755
+ ButtonPrimitive,
756
+ {
757
+ "data-slot": "button",
758
+ "data-variant": variant,
759
+ "data-size": size,
760
+ className: cn(buttonVariants({ variant, size, className })),
761
+ ...props
762
+ }
763
+ );
764
+ }
765
+
766
+ // ../ui/src/shadcn/dialog.tsx
767
+ import { jsx as jsx3, jsxs } from "react/jsx-runtime";
768
+ function Dialog({ ...props }) {
769
+ return /* @__PURE__ */ jsx3(DialogPrimitive.Root, { "data-slot": "dialog", ...props });
770
+ }
771
+ function DialogTrigger({ ...props }) {
772
+ return /* @__PURE__ */ jsx3(DialogPrimitive.Trigger, { "data-slot": "dialog-trigger", ...props });
773
+ }
774
+ function DialogPortal({ ...props }) {
775
+ return /* @__PURE__ */ jsx3(DialogPrimitive.Portal, { "data-slot": "dialog-portal", ...props });
776
+ }
777
+ function DialogClose({ ...props }) {
778
+ return /* @__PURE__ */ jsx3(DialogPrimitive.Close, { "data-slot": "dialog-close", ...props });
779
+ }
780
+ function DialogOverlay({
781
+ className,
782
+ ...props
783
+ }) {
784
+ return /* @__PURE__ */ jsx3(
785
+ DialogPrimitive.Backdrop,
786
+ {
787
+ "data-slot": "dialog-overlay",
788
+ className: cn(
789
+ "fixed inset-0 z-50 bg-black/50 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0",
790
+ className
791
+ ),
792
+ ...props
793
+ }
794
+ );
795
+ }
796
+ function DialogContent({
797
+ className,
798
+ children,
799
+ showCloseButton = true,
800
+ ...props
801
+ }) {
802
+ return /* @__PURE__ */ jsxs(DialogPortal, { "data-slot": "dialog-portal", children: [
803
+ /* @__PURE__ */ jsx3(DialogOverlay, {}),
804
+ /* @__PURE__ */ jsxs(
805
+ DialogPrimitive.Popup,
806
+ {
807
+ "data-slot": "dialog-content",
808
+ className: cn(
809
+ "bg-background fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg transition-[opacity,scale] duration-200 outline-none data-ending-style:scale-95 data-ending-style:opacity-0 data-starting-style:scale-95 data-starting-style:opacity-0 sm:max-w-lg",
810
+ className
811
+ ),
812
+ ...props,
813
+ children: [
814
+ children,
815
+ showCloseButton && /* @__PURE__ */ jsxs(
816
+ DialogPrimitive.Close,
817
+ {
818
+ "data-slot": "dialog-close",
819
+ className: "ring-offset-background focus:ring-ring absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
820
+ children: [
821
+ /* @__PURE__ */ jsx3(Icon, { name: "fa-light fa-xmark" }),
822
+ /* @__PURE__ */ jsx3("span", { className: "sr-only", children: "Close" })
823
+ ]
824
+ }
825
+ )
826
+ ]
827
+ }
828
+ )
829
+ ] });
830
+ }
831
+ function DialogHeader({ className, ...props }) {
832
+ return /* @__PURE__ */ jsx3(
833
+ "div",
834
+ {
835
+ "data-slot": "dialog-header",
836
+ className: cn("flex flex-col gap-2 text-center sm:text-left", className),
837
+ ...props
838
+ }
839
+ );
840
+ }
841
+ function DialogFooter({
842
+ className,
843
+ showCloseButton = false,
844
+ children,
845
+ ...props
846
+ }) {
847
+ return /* @__PURE__ */ jsxs(
848
+ "div",
849
+ {
850
+ "data-slot": "dialog-footer",
851
+ className: cn(
852
+ "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
853
+ className
854
+ ),
855
+ ...props,
856
+ children: [
857
+ children,
858
+ showCloseButton && /* @__PURE__ */ jsx3(DialogPrimitive.Close, { render: /* @__PURE__ */ jsx3(Button, { variant: "outline" }), children: "Close" })
859
+ ]
860
+ }
861
+ );
862
+ }
863
+ function DialogTitle({ className, ...props }) {
864
+ return /* @__PURE__ */ jsx3(
865
+ DialogPrimitive.Title,
866
+ {
867
+ "data-slot": "dialog-title",
868
+ className: cn("text-lg leading-none font-semibold", className),
869
+ ...props
870
+ }
871
+ );
872
+ }
873
+ function DialogDescription({
874
+ className,
875
+ ...props
876
+ }) {
877
+ return /* @__PURE__ */ jsx3(
878
+ DialogPrimitive.Description,
879
+ {
880
+ "data-slot": "dialog-description",
881
+ className: cn("text-muted-foreground text-sm", className),
882
+ ...props
883
+ }
884
+ );
885
+ }
886
+ export {
887
+ Dialog,
888
+ DialogClose,
889
+ DialogContent,
890
+ DialogDescription,
891
+ DialogFooter,
892
+ DialogHeader,
893
+ DialogOverlay,
894
+ DialogPortal,
895
+ DialogTitle,
896
+ DialogTrigger
897
+ };