@wireweave/core 4.0.0-beta.0 → 4.0.0-beta.12
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/README.md +17 -462
- package/dist/app.cjs +31 -0
- package/dist/app.d.cts +488 -0
- package/dist/app.d.ts +488 -0
- package/dist/app.js +31 -0
- package/dist/chunk-3RWGG5EC.js +18088 -0
- package/dist/chunk-4TMDPWPR.cjs +196 -0
- package/dist/chunk-5DGRIQDU.cjs +842 -0
- package/dist/chunk-7VTK6LHL.cjs +4374 -0
- package/dist/chunk-ETV4XYOV.cjs +7 -0
- package/dist/chunk-IMUVIIJR.cjs +18088 -0
- package/dist/chunk-JJWAFHSV.js +842 -0
- package/dist/chunk-MD6MNOEQ.cjs +2905 -0
- package/dist/chunk-PKBMQBKP.js +7 -0
- package/dist/chunk-QOS4IC75.js +4374 -0
- package/dist/chunk-R5WBZWBC.js +196 -0
- package/dist/chunk-V3HVWC7C.js +2905 -0
- package/dist/chunk-WV724EAW.js +0 -0
- package/dist/chunk-XENFKHRC.cjs +1 -0
- package/dist/chunk-XYACLXXF.js +51612 -0
- package/dist/chunk-ZPHNXJRY.cjs +51612 -0
- package/dist/index-Br7pNaf3.d.cts +240 -0
- package/dist/index-CghCKUPx.d.ts +337 -0
- package/dist/index-Da_B3eoM.d.ts +240 -0
- package/dist/index-G906GEtg.d.cts +337 -0
- package/dist/index.cjs +1522 -58235
- package/dist/index.d.cts +556 -102
- package/dist/index.d.ts +556 -102
- package/dist/index.js +1414 -57982
- package/dist/interaction.cjs +17 -0
- package/dist/interaction.d.cts +3 -0
- package/dist/interaction.d.ts +3 -0
- package/dist/interaction.js +17 -0
- package/dist/parser.cjs +18 -6612
- package/dist/parser.d.cts +11 -2
- package/dist/parser.d.ts +11 -2
- package/dist/parser.js +16 -6580
- package/dist/renderer.cjs +7 -50481
- package/dist/renderer.d.cts +358 -133
- package/dist/renderer.d.ts +358 -133
- package/dist/renderer.js +49 -50480
- package/dist/spec.cjs +49 -0
- package/dist/spec.d.cts +301 -0
- package/dist/spec.d.ts +301 -0
- package/dist/spec.js +49 -0
- package/dist/types-Dkgr0Wyc.d.cts +75 -0
- package/dist/types-Dkgr0Wyc.d.ts +75 -0
- package/dist/{types-hEr_afgw.d.cts → types-vhPCZpAW.d.cts} +307 -27
- package/dist/{types-hEr_afgw.d.ts → types-vhPCZpAW.d.ts} +307 -27
- package/dist/v4-types-Baz9yqAS.d.cts +137 -0
- package/dist/v4-types-Baz9yqAS.d.ts +137 -0
- package/package.json +103 -24
|
@@ -0,0 +1,2905 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/spec/grammar-elements.generated.ts
|
|
2
|
+
var GRAMMAR_ELEMENTS = {
|
|
3
|
+
page: "Page",
|
|
4
|
+
layout: "Layout",
|
|
5
|
+
component: "Component",
|
|
6
|
+
use: "ComponentUse",
|
|
7
|
+
slot: "Slot",
|
|
8
|
+
repeat: "Repeat",
|
|
9
|
+
header: "Header",
|
|
10
|
+
main: "Main",
|
|
11
|
+
footer: "Footer",
|
|
12
|
+
sidebar: "Sidebar",
|
|
13
|
+
row: "Row",
|
|
14
|
+
col: "Col",
|
|
15
|
+
stack: "Stack",
|
|
16
|
+
relative: "Relative",
|
|
17
|
+
card: "Card",
|
|
18
|
+
modal: "Modal",
|
|
19
|
+
drawer: "Drawer",
|
|
20
|
+
accordion: "Accordion",
|
|
21
|
+
section: "Section",
|
|
22
|
+
text: "Text",
|
|
23
|
+
title: "Title",
|
|
24
|
+
link: "Link",
|
|
25
|
+
button: "Button",
|
|
26
|
+
input: "Input",
|
|
27
|
+
textarea: "Textarea",
|
|
28
|
+
select: "Select",
|
|
29
|
+
checkbox: "Checkbox",
|
|
30
|
+
radio: "Radio",
|
|
31
|
+
switch: "Switch",
|
|
32
|
+
slider: "Slider",
|
|
33
|
+
image: "Image",
|
|
34
|
+
placeholder: "Placeholder",
|
|
35
|
+
avatar: "Avatar",
|
|
36
|
+
badge: "Badge",
|
|
37
|
+
icon: "Icon",
|
|
38
|
+
table: "Table",
|
|
39
|
+
list: "List",
|
|
40
|
+
alert: "Alert",
|
|
41
|
+
toast: "Toast",
|
|
42
|
+
progress: "Progress",
|
|
43
|
+
spinner: "Spinner",
|
|
44
|
+
tooltip: "Tooltip",
|
|
45
|
+
popover: "Popover",
|
|
46
|
+
dropdown: "Dropdown",
|
|
47
|
+
nav: "Nav",
|
|
48
|
+
tabs: "Tabs",
|
|
49
|
+
breadcrumb: "Breadcrumb",
|
|
50
|
+
divider: "Divider",
|
|
51
|
+
marker: "Marker",
|
|
52
|
+
annotations: "Annotations",
|
|
53
|
+
item: "AnnotationItem"
|
|
54
|
+
};
|
|
55
|
+
var GRAMMAR_BLOCK_NODE_TYPES = ["ListItem", "DropdownItem", "NavGroup", "NavItem"];
|
|
56
|
+
var GRAMMAR_CHILD_KEYWORDS = [
|
|
57
|
+
"page",
|
|
58
|
+
"header",
|
|
59
|
+
"main",
|
|
60
|
+
"footer",
|
|
61
|
+
"sidebar",
|
|
62
|
+
"row",
|
|
63
|
+
"col",
|
|
64
|
+
"stack",
|
|
65
|
+
"relative",
|
|
66
|
+
"card",
|
|
67
|
+
"modal",
|
|
68
|
+
"drawer",
|
|
69
|
+
"accordion",
|
|
70
|
+
"section",
|
|
71
|
+
"text",
|
|
72
|
+
"link",
|
|
73
|
+
"button",
|
|
74
|
+
"input",
|
|
75
|
+
"textarea",
|
|
76
|
+
"select",
|
|
77
|
+
"checkbox",
|
|
78
|
+
"radio",
|
|
79
|
+
"switch",
|
|
80
|
+
"slider",
|
|
81
|
+
"image",
|
|
82
|
+
"avatar",
|
|
83
|
+
"badge",
|
|
84
|
+
"table",
|
|
85
|
+
"columns",
|
|
86
|
+
"list",
|
|
87
|
+
"item",
|
|
88
|
+
"alert",
|
|
89
|
+
"toast",
|
|
90
|
+
"progress",
|
|
91
|
+
"spinner",
|
|
92
|
+
"tooltip",
|
|
93
|
+
"popover",
|
|
94
|
+
"dropdown",
|
|
95
|
+
"divider",
|
|
96
|
+
"nav",
|
|
97
|
+
"tabs",
|
|
98
|
+
"tab",
|
|
99
|
+
"breadcrumb",
|
|
100
|
+
"group",
|
|
101
|
+
"marker",
|
|
102
|
+
"annotations",
|
|
103
|
+
"repeat",
|
|
104
|
+
"layout",
|
|
105
|
+
"component",
|
|
106
|
+
"use",
|
|
107
|
+
"fill",
|
|
108
|
+
"slot"
|
|
109
|
+
];
|
|
110
|
+
|
|
111
|
+
// src/spec/icon-names.generated.ts
|
|
112
|
+
var LUCIDE_ICON_NAMES = [
|
|
113
|
+
"a-arrow-down",
|
|
114
|
+
"a-arrow-up",
|
|
115
|
+
"a-large-small",
|
|
116
|
+
"accessibility",
|
|
117
|
+
"activity",
|
|
118
|
+
"air-vent",
|
|
119
|
+
"airplay",
|
|
120
|
+
"alarm-clock",
|
|
121
|
+
"alarm-clock-check",
|
|
122
|
+
"alarm-clock-minus",
|
|
123
|
+
"alarm-clock-off",
|
|
124
|
+
"alarm-clock-plus",
|
|
125
|
+
"alarm-smoke",
|
|
126
|
+
"album",
|
|
127
|
+
"align-center-horizontal",
|
|
128
|
+
"align-center-vertical",
|
|
129
|
+
"align-end-horizontal",
|
|
130
|
+
"align-end-vertical",
|
|
131
|
+
"align-horizontal-distribute-center",
|
|
132
|
+
"align-horizontal-distribute-end",
|
|
133
|
+
"align-horizontal-distribute-start",
|
|
134
|
+
"align-horizontal-justify-center",
|
|
135
|
+
"align-horizontal-justify-end",
|
|
136
|
+
"align-horizontal-justify-start",
|
|
137
|
+
"align-horizontal-space-around",
|
|
138
|
+
"align-horizontal-space-between",
|
|
139
|
+
"align-start-horizontal",
|
|
140
|
+
"align-start-vertical",
|
|
141
|
+
"align-vertical-distribute-center",
|
|
142
|
+
"align-vertical-distribute-end",
|
|
143
|
+
"align-vertical-distribute-start",
|
|
144
|
+
"align-vertical-justify-center",
|
|
145
|
+
"align-vertical-justify-end",
|
|
146
|
+
"align-vertical-justify-start",
|
|
147
|
+
"align-vertical-space-around",
|
|
148
|
+
"align-vertical-space-between",
|
|
149
|
+
"ambulance",
|
|
150
|
+
"ampersand",
|
|
151
|
+
"ampersands",
|
|
152
|
+
"amphora",
|
|
153
|
+
"anchor",
|
|
154
|
+
"angry",
|
|
155
|
+
"annoyed",
|
|
156
|
+
"antenna",
|
|
157
|
+
"anvil",
|
|
158
|
+
"aperture",
|
|
159
|
+
"app-window",
|
|
160
|
+
"app-window-mac",
|
|
161
|
+
"apple",
|
|
162
|
+
"archive",
|
|
163
|
+
"archive-restore",
|
|
164
|
+
"archive-x",
|
|
165
|
+
"armchair",
|
|
166
|
+
"arrow-big-down",
|
|
167
|
+
"arrow-big-down-dash",
|
|
168
|
+
"arrow-big-left",
|
|
169
|
+
"arrow-big-left-dash",
|
|
170
|
+
"arrow-big-right",
|
|
171
|
+
"arrow-big-right-dash",
|
|
172
|
+
"arrow-big-up",
|
|
173
|
+
"arrow-big-up-dash",
|
|
174
|
+
"arrow-down",
|
|
175
|
+
"arrow-down-0-1",
|
|
176
|
+
"arrow-down-1-0",
|
|
177
|
+
"arrow-down-a-z",
|
|
178
|
+
"arrow-down-from-line",
|
|
179
|
+
"arrow-down-left",
|
|
180
|
+
"arrow-down-narrow-wide",
|
|
181
|
+
"arrow-down-right",
|
|
182
|
+
"arrow-down-to-dot",
|
|
183
|
+
"arrow-down-to-line",
|
|
184
|
+
"arrow-down-up",
|
|
185
|
+
"arrow-down-wide-narrow",
|
|
186
|
+
"arrow-down-z-a",
|
|
187
|
+
"arrow-left",
|
|
188
|
+
"arrow-left-from-line",
|
|
189
|
+
"arrow-left-right",
|
|
190
|
+
"arrow-left-to-line",
|
|
191
|
+
"arrow-right",
|
|
192
|
+
"arrow-right-from-line",
|
|
193
|
+
"arrow-right-left",
|
|
194
|
+
"arrow-right-to-line",
|
|
195
|
+
"arrow-up",
|
|
196
|
+
"arrow-up-0-1",
|
|
197
|
+
"arrow-up-1-0",
|
|
198
|
+
"arrow-up-a-z",
|
|
199
|
+
"arrow-up-down",
|
|
200
|
+
"arrow-up-from-dot",
|
|
201
|
+
"arrow-up-from-line",
|
|
202
|
+
"arrow-up-left",
|
|
203
|
+
"arrow-up-narrow-wide",
|
|
204
|
+
"arrow-up-right",
|
|
205
|
+
"arrow-up-to-line",
|
|
206
|
+
"arrow-up-wide-narrow",
|
|
207
|
+
"arrow-up-z-a",
|
|
208
|
+
"arrows-up-from-line",
|
|
209
|
+
"asterisk",
|
|
210
|
+
"at-sign",
|
|
211
|
+
"atom",
|
|
212
|
+
"audio-lines",
|
|
213
|
+
"audio-waveform",
|
|
214
|
+
"award",
|
|
215
|
+
"axe",
|
|
216
|
+
"axis-3d",
|
|
217
|
+
"baby",
|
|
218
|
+
"backpack",
|
|
219
|
+
"badge",
|
|
220
|
+
"badge-alert",
|
|
221
|
+
"badge-cent",
|
|
222
|
+
"badge-check",
|
|
223
|
+
"badge-dollar-sign",
|
|
224
|
+
"badge-euro",
|
|
225
|
+
"badge-indian-rupee",
|
|
226
|
+
"badge-info",
|
|
227
|
+
"badge-japanese-yen",
|
|
228
|
+
"badge-minus",
|
|
229
|
+
"badge-percent",
|
|
230
|
+
"badge-plus",
|
|
231
|
+
"badge-pound-sterling",
|
|
232
|
+
"badge-question-mark",
|
|
233
|
+
"badge-russian-ruble",
|
|
234
|
+
"badge-swiss-franc",
|
|
235
|
+
"badge-turkish-lira",
|
|
236
|
+
"badge-x",
|
|
237
|
+
"baggage-claim",
|
|
238
|
+
"balloon",
|
|
239
|
+
"ban",
|
|
240
|
+
"banana",
|
|
241
|
+
"bandage",
|
|
242
|
+
"banknote",
|
|
243
|
+
"banknote-arrow-down",
|
|
244
|
+
"banknote-arrow-up",
|
|
245
|
+
"banknote-x",
|
|
246
|
+
"barcode",
|
|
247
|
+
"barrel",
|
|
248
|
+
"baseline",
|
|
249
|
+
"bath",
|
|
250
|
+
"battery",
|
|
251
|
+
"battery-charging",
|
|
252
|
+
"battery-full",
|
|
253
|
+
"battery-low",
|
|
254
|
+
"battery-medium",
|
|
255
|
+
"battery-plus",
|
|
256
|
+
"battery-warning",
|
|
257
|
+
"beaker",
|
|
258
|
+
"bean",
|
|
259
|
+
"bean-off",
|
|
260
|
+
"bed",
|
|
261
|
+
"bed-double",
|
|
262
|
+
"bed-single",
|
|
263
|
+
"beef",
|
|
264
|
+
"beer",
|
|
265
|
+
"beer-off",
|
|
266
|
+
"bell",
|
|
267
|
+
"bell-dot",
|
|
268
|
+
"bell-electric",
|
|
269
|
+
"bell-minus",
|
|
270
|
+
"bell-off",
|
|
271
|
+
"bell-plus",
|
|
272
|
+
"bell-ring",
|
|
273
|
+
"between-horizontal-end",
|
|
274
|
+
"between-horizontal-start",
|
|
275
|
+
"between-vertical-end",
|
|
276
|
+
"between-vertical-start",
|
|
277
|
+
"biceps-flexed",
|
|
278
|
+
"bike",
|
|
279
|
+
"binary",
|
|
280
|
+
"binoculars",
|
|
281
|
+
"biohazard",
|
|
282
|
+
"bird",
|
|
283
|
+
"birdhouse",
|
|
284
|
+
"bitcoin",
|
|
285
|
+
"blend",
|
|
286
|
+
"blinds",
|
|
287
|
+
"blocks",
|
|
288
|
+
"bluetooth",
|
|
289
|
+
"bluetooth-connected",
|
|
290
|
+
"bluetooth-off",
|
|
291
|
+
"bluetooth-searching",
|
|
292
|
+
"bold",
|
|
293
|
+
"bolt",
|
|
294
|
+
"bomb",
|
|
295
|
+
"bone",
|
|
296
|
+
"book",
|
|
297
|
+
"book-a",
|
|
298
|
+
"book-alert",
|
|
299
|
+
"book-audio",
|
|
300
|
+
"book-check",
|
|
301
|
+
"book-copy",
|
|
302
|
+
"book-dashed",
|
|
303
|
+
"book-down",
|
|
304
|
+
"book-headphones",
|
|
305
|
+
"book-heart",
|
|
306
|
+
"book-image",
|
|
307
|
+
"book-key",
|
|
308
|
+
"book-lock",
|
|
309
|
+
"book-marked",
|
|
310
|
+
"book-minus",
|
|
311
|
+
"book-open",
|
|
312
|
+
"book-open-check",
|
|
313
|
+
"book-open-text",
|
|
314
|
+
"book-plus",
|
|
315
|
+
"book-search",
|
|
316
|
+
"book-text",
|
|
317
|
+
"book-type",
|
|
318
|
+
"book-up",
|
|
319
|
+
"book-up-2",
|
|
320
|
+
"book-user",
|
|
321
|
+
"book-x",
|
|
322
|
+
"bookmark",
|
|
323
|
+
"bookmark-check",
|
|
324
|
+
"bookmark-minus",
|
|
325
|
+
"bookmark-plus",
|
|
326
|
+
"bookmark-x",
|
|
327
|
+
"boom-box",
|
|
328
|
+
"bot",
|
|
329
|
+
"bot-message-square",
|
|
330
|
+
"bot-off",
|
|
331
|
+
"bottle-wine",
|
|
332
|
+
"bow-arrow",
|
|
333
|
+
"box",
|
|
334
|
+
"boxes",
|
|
335
|
+
"braces",
|
|
336
|
+
"brackets",
|
|
337
|
+
"brain",
|
|
338
|
+
"brain-circuit",
|
|
339
|
+
"brain-cog",
|
|
340
|
+
"brick-wall",
|
|
341
|
+
"brick-wall-fire",
|
|
342
|
+
"brick-wall-shield",
|
|
343
|
+
"briefcase",
|
|
344
|
+
"briefcase-business",
|
|
345
|
+
"briefcase-conveyor-belt",
|
|
346
|
+
"briefcase-medical",
|
|
347
|
+
"bring-to-front",
|
|
348
|
+
"brush",
|
|
349
|
+
"brush-cleaning",
|
|
350
|
+
"bubbles",
|
|
351
|
+
"bug",
|
|
352
|
+
"bug-off",
|
|
353
|
+
"bug-play",
|
|
354
|
+
"building",
|
|
355
|
+
"building-2",
|
|
356
|
+
"bus",
|
|
357
|
+
"bus-front",
|
|
358
|
+
"cable",
|
|
359
|
+
"cable-car",
|
|
360
|
+
"cake",
|
|
361
|
+
"cake-slice",
|
|
362
|
+
"calculator",
|
|
363
|
+
"calendar",
|
|
364
|
+
"calendar-1",
|
|
365
|
+
"calendar-arrow-down",
|
|
366
|
+
"calendar-arrow-up",
|
|
367
|
+
"calendar-check",
|
|
368
|
+
"calendar-check-2",
|
|
369
|
+
"calendar-clock",
|
|
370
|
+
"calendar-cog",
|
|
371
|
+
"calendar-days",
|
|
372
|
+
"calendar-fold",
|
|
373
|
+
"calendar-heart",
|
|
374
|
+
"calendar-minus",
|
|
375
|
+
"calendar-minus-2",
|
|
376
|
+
"calendar-off",
|
|
377
|
+
"calendar-plus",
|
|
378
|
+
"calendar-plus-2",
|
|
379
|
+
"calendar-range",
|
|
380
|
+
"calendar-search",
|
|
381
|
+
"calendar-sync",
|
|
382
|
+
"calendar-x",
|
|
383
|
+
"calendar-x-2",
|
|
384
|
+
"calendars",
|
|
385
|
+
"camera",
|
|
386
|
+
"camera-off",
|
|
387
|
+
"candy",
|
|
388
|
+
"candy-cane",
|
|
389
|
+
"candy-off",
|
|
390
|
+
"cannabis",
|
|
391
|
+
"cannabis-off",
|
|
392
|
+
"captions",
|
|
393
|
+
"captions-off",
|
|
394
|
+
"car",
|
|
395
|
+
"car-front",
|
|
396
|
+
"car-taxi-front",
|
|
397
|
+
"caravan",
|
|
398
|
+
"card-sim",
|
|
399
|
+
"carrot",
|
|
400
|
+
"case-lower",
|
|
401
|
+
"case-sensitive",
|
|
402
|
+
"case-upper",
|
|
403
|
+
"cassette-tape",
|
|
404
|
+
"cast",
|
|
405
|
+
"castle",
|
|
406
|
+
"cat",
|
|
407
|
+
"cctv",
|
|
408
|
+
"chart-area",
|
|
409
|
+
"chart-bar",
|
|
410
|
+
"chart-bar-big",
|
|
411
|
+
"chart-bar-decreasing",
|
|
412
|
+
"chart-bar-increasing",
|
|
413
|
+
"chart-bar-stacked",
|
|
414
|
+
"chart-candlestick",
|
|
415
|
+
"chart-column",
|
|
416
|
+
"chart-column-big",
|
|
417
|
+
"chart-column-decreasing",
|
|
418
|
+
"chart-column-increasing",
|
|
419
|
+
"chart-column-stacked",
|
|
420
|
+
"chart-gantt",
|
|
421
|
+
"chart-line",
|
|
422
|
+
"chart-network",
|
|
423
|
+
"chart-no-axes-column",
|
|
424
|
+
"chart-no-axes-column-decreasing",
|
|
425
|
+
"chart-no-axes-column-increasing",
|
|
426
|
+
"chart-no-axes-combined",
|
|
427
|
+
"chart-no-axes-gantt",
|
|
428
|
+
"chart-pie",
|
|
429
|
+
"chart-scatter",
|
|
430
|
+
"chart-spline",
|
|
431
|
+
"check",
|
|
432
|
+
"check-check",
|
|
433
|
+
"check-line",
|
|
434
|
+
"chef-hat",
|
|
435
|
+
"cherry",
|
|
436
|
+
"chess-bishop",
|
|
437
|
+
"chess-king",
|
|
438
|
+
"chess-knight",
|
|
439
|
+
"chess-pawn",
|
|
440
|
+
"chess-queen",
|
|
441
|
+
"chess-rook",
|
|
442
|
+
"chevron-down",
|
|
443
|
+
"chevron-first",
|
|
444
|
+
"chevron-last",
|
|
445
|
+
"chevron-left",
|
|
446
|
+
"chevron-right",
|
|
447
|
+
"chevron-up",
|
|
448
|
+
"chevrons-down",
|
|
449
|
+
"chevrons-down-up",
|
|
450
|
+
"chevrons-left",
|
|
451
|
+
"chevrons-left-right",
|
|
452
|
+
"chevrons-left-right-ellipsis",
|
|
453
|
+
"chevrons-right",
|
|
454
|
+
"chevrons-right-left",
|
|
455
|
+
"chevrons-up",
|
|
456
|
+
"chevrons-up-down",
|
|
457
|
+
"chromium",
|
|
458
|
+
"church",
|
|
459
|
+
"cigarette",
|
|
460
|
+
"cigarette-off",
|
|
461
|
+
"circle",
|
|
462
|
+
"circle-alert",
|
|
463
|
+
"circle-arrow-down",
|
|
464
|
+
"circle-arrow-left",
|
|
465
|
+
"circle-arrow-out-down-left",
|
|
466
|
+
"circle-arrow-out-down-right",
|
|
467
|
+
"circle-arrow-out-up-left",
|
|
468
|
+
"circle-arrow-out-up-right",
|
|
469
|
+
"circle-arrow-right",
|
|
470
|
+
"circle-arrow-up",
|
|
471
|
+
"circle-check",
|
|
472
|
+
"circle-check-big",
|
|
473
|
+
"circle-chevron-down",
|
|
474
|
+
"circle-chevron-left",
|
|
475
|
+
"circle-chevron-right",
|
|
476
|
+
"circle-chevron-up",
|
|
477
|
+
"circle-dashed",
|
|
478
|
+
"circle-divide",
|
|
479
|
+
"circle-dollar-sign",
|
|
480
|
+
"circle-dot",
|
|
481
|
+
"circle-dot-dashed",
|
|
482
|
+
"circle-ellipsis",
|
|
483
|
+
"circle-equal",
|
|
484
|
+
"circle-fading-arrow-up",
|
|
485
|
+
"circle-fading-plus",
|
|
486
|
+
"circle-gauge",
|
|
487
|
+
"circle-help",
|
|
488
|
+
"circle-minus",
|
|
489
|
+
"circle-off",
|
|
490
|
+
"circle-parking",
|
|
491
|
+
"circle-parking-off",
|
|
492
|
+
"circle-pause",
|
|
493
|
+
"circle-percent",
|
|
494
|
+
"circle-pile",
|
|
495
|
+
"circle-play",
|
|
496
|
+
"circle-plus",
|
|
497
|
+
"circle-pound-sterling",
|
|
498
|
+
"circle-power",
|
|
499
|
+
"circle-question-mark",
|
|
500
|
+
"circle-slash",
|
|
501
|
+
"circle-slash-2",
|
|
502
|
+
"circle-small",
|
|
503
|
+
"circle-star",
|
|
504
|
+
"circle-stop",
|
|
505
|
+
"circle-user",
|
|
506
|
+
"circle-user-round",
|
|
507
|
+
"circle-x",
|
|
508
|
+
"circuit-board",
|
|
509
|
+
"citrus",
|
|
510
|
+
"clapperboard",
|
|
511
|
+
"clipboard",
|
|
512
|
+
"clipboard-check",
|
|
513
|
+
"clipboard-clock",
|
|
514
|
+
"clipboard-copy",
|
|
515
|
+
"clipboard-list",
|
|
516
|
+
"clipboard-minus",
|
|
517
|
+
"clipboard-paste",
|
|
518
|
+
"clipboard-pen",
|
|
519
|
+
"clipboard-pen-line",
|
|
520
|
+
"clipboard-plus",
|
|
521
|
+
"clipboard-type",
|
|
522
|
+
"clipboard-x",
|
|
523
|
+
"clock",
|
|
524
|
+
"clock-1",
|
|
525
|
+
"clock-10",
|
|
526
|
+
"clock-11",
|
|
527
|
+
"clock-12",
|
|
528
|
+
"clock-2",
|
|
529
|
+
"clock-3",
|
|
530
|
+
"clock-4",
|
|
531
|
+
"clock-5",
|
|
532
|
+
"clock-6",
|
|
533
|
+
"clock-7",
|
|
534
|
+
"clock-8",
|
|
535
|
+
"clock-9",
|
|
536
|
+
"clock-alert",
|
|
537
|
+
"clock-arrow-down",
|
|
538
|
+
"clock-arrow-up",
|
|
539
|
+
"clock-check",
|
|
540
|
+
"clock-fading",
|
|
541
|
+
"clock-plus",
|
|
542
|
+
"closed-caption",
|
|
543
|
+
"cloud",
|
|
544
|
+
"cloud-alert",
|
|
545
|
+
"cloud-backup",
|
|
546
|
+
"cloud-check",
|
|
547
|
+
"cloud-cog",
|
|
548
|
+
"cloud-download",
|
|
549
|
+
"cloud-drizzle",
|
|
550
|
+
"cloud-fog",
|
|
551
|
+
"cloud-hail",
|
|
552
|
+
"cloud-lightning",
|
|
553
|
+
"cloud-moon",
|
|
554
|
+
"cloud-moon-rain",
|
|
555
|
+
"cloud-off",
|
|
556
|
+
"cloud-rain",
|
|
557
|
+
"cloud-rain-wind",
|
|
558
|
+
"cloud-snow",
|
|
559
|
+
"cloud-sun",
|
|
560
|
+
"cloud-sun-rain",
|
|
561
|
+
"cloud-sync",
|
|
562
|
+
"cloud-upload",
|
|
563
|
+
"cloudy",
|
|
564
|
+
"clover",
|
|
565
|
+
"club",
|
|
566
|
+
"code",
|
|
567
|
+
"code-xml",
|
|
568
|
+
"codepen",
|
|
569
|
+
"codesandbox",
|
|
570
|
+
"coffee",
|
|
571
|
+
"cog",
|
|
572
|
+
"coins",
|
|
573
|
+
"columns-2",
|
|
574
|
+
"columns-3",
|
|
575
|
+
"columns-3-cog",
|
|
576
|
+
"columns-4",
|
|
577
|
+
"combine",
|
|
578
|
+
"command",
|
|
579
|
+
"compass",
|
|
580
|
+
"component",
|
|
581
|
+
"computer",
|
|
582
|
+
"concierge-bell",
|
|
583
|
+
"cone",
|
|
584
|
+
"construction",
|
|
585
|
+
"contact",
|
|
586
|
+
"contact-round",
|
|
587
|
+
"container",
|
|
588
|
+
"contrast",
|
|
589
|
+
"cookie",
|
|
590
|
+
"cooking-pot",
|
|
591
|
+
"copy",
|
|
592
|
+
"copy-check",
|
|
593
|
+
"copy-minus",
|
|
594
|
+
"copy-plus",
|
|
595
|
+
"copy-slash",
|
|
596
|
+
"copy-x",
|
|
597
|
+
"copyleft",
|
|
598
|
+
"copyright",
|
|
599
|
+
"corner-down-left",
|
|
600
|
+
"corner-down-right",
|
|
601
|
+
"corner-left-down",
|
|
602
|
+
"corner-left-up",
|
|
603
|
+
"corner-right-down",
|
|
604
|
+
"corner-right-up",
|
|
605
|
+
"corner-up-left",
|
|
606
|
+
"corner-up-right",
|
|
607
|
+
"cpu",
|
|
608
|
+
"creative-commons",
|
|
609
|
+
"credit-card",
|
|
610
|
+
"croissant",
|
|
611
|
+
"crop",
|
|
612
|
+
"cross",
|
|
613
|
+
"crosshair",
|
|
614
|
+
"crown",
|
|
615
|
+
"cuboid",
|
|
616
|
+
"cup-soda",
|
|
617
|
+
"currency",
|
|
618
|
+
"cylinder",
|
|
619
|
+
"dam",
|
|
620
|
+
"database",
|
|
621
|
+
"database-backup",
|
|
622
|
+
"database-zap",
|
|
623
|
+
"decimals-arrow-left",
|
|
624
|
+
"decimals-arrow-right",
|
|
625
|
+
"delete",
|
|
626
|
+
"dessert",
|
|
627
|
+
"diameter",
|
|
628
|
+
"diamond",
|
|
629
|
+
"diamond-minus",
|
|
630
|
+
"diamond-percent",
|
|
631
|
+
"diamond-plus",
|
|
632
|
+
"dice-1",
|
|
633
|
+
"dice-2",
|
|
634
|
+
"dice-3",
|
|
635
|
+
"dice-4",
|
|
636
|
+
"dice-5",
|
|
637
|
+
"dice-6",
|
|
638
|
+
"dices",
|
|
639
|
+
"diff",
|
|
640
|
+
"disc",
|
|
641
|
+
"disc-2",
|
|
642
|
+
"disc-3",
|
|
643
|
+
"disc-album",
|
|
644
|
+
"divide",
|
|
645
|
+
"dna",
|
|
646
|
+
"dna-off",
|
|
647
|
+
"dock",
|
|
648
|
+
"dog",
|
|
649
|
+
"dollar-sign",
|
|
650
|
+
"donut",
|
|
651
|
+
"door-closed",
|
|
652
|
+
"door-closed-locked",
|
|
653
|
+
"door-open",
|
|
654
|
+
"dot",
|
|
655
|
+
"download",
|
|
656
|
+
"drafting-compass",
|
|
657
|
+
"drama",
|
|
658
|
+
"dribbble",
|
|
659
|
+
"drill",
|
|
660
|
+
"drone",
|
|
661
|
+
"droplet",
|
|
662
|
+
"droplet-off",
|
|
663
|
+
"droplets",
|
|
664
|
+
"drum",
|
|
665
|
+
"drumstick",
|
|
666
|
+
"dumbbell",
|
|
667
|
+
"ear",
|
|
668
|
+
"ear-off",
|
|
669
|
+
"earth",
|
|
670
|
+
"earth-lock",
|
|
671
|
+
"eclipse",
|
|
672
|
+
"egg",
|
|
673
|
+
"egg-fried",
|
|
674
|
+
"egg-off",
|
|
675
|
+
"ellipsis",
|
|
676
|
+
"ellipsis-vertical",
|
|
677
|
+
"equal",
|
|
678
|
+
"equal-approximately",
|
|
679
|
+
"equal-not",
|
|
680
|
+
"eraser",
|
|
681
|
+
"ethernet-port",
|
|
682
|
+
"euro",
|
|
683
|
+
"ev-charger",
|
|
684
|
+
"expand",
|
|
685
|
+
"external-link",
|
|
686
|
+
"eye",
|
|
687
|
+
"eye-closed",
|
|
688
|
+
"eye-off",
|
|
689
|
+
"facebook",
|
|
690
|
+
"factory",
|
|
691
|
+
"fan",
|
|
692
|
+
"fast-forward",
|
|
693
|
+
"feather",
|
|
694
|
+
"fence",
|
|
695
|
+
"ferris-wheel",
|
|
696
|
+
"figma",
|
|
697
|
+
"file",
|
|
698
|
+
"file-archive",
|
|
699
|
+
"file-axis-3d",
|
|
700
|
+
"file-badge",
|
|
701
|
+
"file-box",
|
|
702
|
+
"file-braces",
|
|
703
|
+
"file-braces-corner",
|
|
704
|
+
"file-chart-column",
|
|
705
|
+
"file-chart-column-increasing",
|
|
706
|
+
"file-chart-line",
|
|
707
|
+
"file-chart-pie",
|
|
708
|
+
"file-check",
|
|
709
|
+
"file-check-corner",
|
|
710
|
+
"file-clock",
|
|
711
|
+
"file-code",
|
|
712
|
+
"file-code-corner",
|
|
713
|
+
"file-cog",
|
|
714
|
+
"file-diff",
|
|
715
|
+
"file-digit",
|
|
716
|
+
"file-down",
|
|
717
|
+
"file-exclamation-point",
|
|
718
|
+
"file-headphone",
|
|
719
|
+
"file-heart",
|
|
720
|
+
"file-image",
|
|
721
|
+
"file-input",
|
|
722
|
+
"file-key",
|
|
723
|
+
"file-lock",
|
|
724
|
+
"file-minus",
|
|
725
|
+
"file-minus-corner",
|
|
726
|
+
"file-music",
|
|
727
|
+
"file-output",
|
|
728
|
+
"file-pen",
|
|
729
|
+
"file-pen-line",
|
|
730
|
+
"file-play",
|
|
731
|
+
"file-plus",
|
|
732
|
+
"file-plus-corner",
|
|
733
|
+
"file-question-mark",
|
|
734
|
+
"file-scan",
|
|
735
|
+
"file-search",
|
|
736
|
+
"file-search-corner",
|
|
737
|
+
"file-signal",
|
|
738
|
+
"file-sliders",
|
|
739
|
+
"file-spreadsheet",
|
|
740
|
+
"file-stack",
|
|
741
|
+
"file-symlink",
|
|
742
|
+
"file-terminal",
|
|
743
|
+
"file-text",
|
|
744
|
+
"file-type",
|
|
745
|
+
"file-type-corner",
|
|
746
|
+
"file-up",
|
|
747
|
+
"file-user",
|
|
748
|
+
"file-video-camera",
|
|
749
|
+
"file-volume",
|
|
750
|
+
"file-x",
|
|
751
|
+
"file-x-corner",
|
|
752
|
+
"files",
|
|
753
|
+
"film",
|
|
754
|
+
"fingerprint-pattern",
|
|
755
|
+
"fire-extinguisher",
|
|
756
|
+
"fish",
|
|
757
|
+
"fish-off",
|
|
758
|
+
"fish-symbol",
|
|
759
|
+
"fishing-hook",
|
|
760
|
+
"flag",
|
|
761
|
+
"flag-off",
|
|
762
|
+
"flag-triangle-left",
|
|
763
|
+
"flag-triangle-right",
|
|
764
|
+
"flame",
|
|
765
|
+
"flame-kindling",
|
|
766
|
+
"flashlight",
|
|
767
|
+
"flashlight-off",
|
|
768
|
+
"flask-conical",
|
|
769
|
+
"flask-conical-off",
|
|
770
|
+
"flask-round",
|
|
771
|
+
"flip-horizontal",
|
|
772
|
+
"flip-horizontal-2",
|
|
773
|
+
"flip-vertical",
|
|
774
|
+
"flip-vertical-2",
|
|
775
|
+
"flower",
|
|
776
|
+
"flower-2",
|
|
777
|
+
"focus",
|
|
778
|
+
"fold-horizontal",
|
|
779
|
+
"fold-vertical",
|
|
780
|
+
"folder",
|
|
781
|
+
"folder-archive",
|
|
782
|
+
"folder-check",
|
|
783
|
+
"folder-clock",
|
|
784
|
+
"folder-closed",
|
|
785
|
+
"folder-code",
|
|
786
|
+
"folder-cog",
|
|
787
|
+
"folder-dot",
|
|
788
|
+
"folder-down",
|
|
789
|
+
"folder-git",
|
|
790
|
+
"folder-git-2",
|
|
791
|
+
"folder-heart",
|
|
792
|
+
"folder-input",
|
|
793
|
+
"folder-kanban",
|
|
794
|
+
"folder-key",
|
|
795
|
+
"folder-lock",
|
|
796
|
+
"folder-minus",
|
|
797
|
+
"folder-open",
|
|
798
|
+
"folder-open-dot",
|
|
799
|
+
"folder-output",
|
|
800
|
+
"folder-pen",
|
|
801
|
+
"folder-plus",
|
|
802
|
+
"folder-root",
|
|
803
|
+
"folder-search",
|
|
804
|
+
"folder-search-2",
|
|
805
|
+
"folder-symlink",
|
|
806
|
+
"folder-sync",
|
|
807
|
+
"folder-tree",
|
|
808
|
+
"folder-up",
|
|
809
|
+
"folder-x",
|
|
810
|
+
"folders",
|
|
811
|
+
"footprints",
|
|
812
|
+
"forklift",
|
|
813
|
+
"form",
|
|
814
|
+
"forward",
|
|
815
|
+
"frame",
|
|
816
|
+
"framer",
|
|
817
|
+
"frown",
|
|
818
|
+
"fuel",
|
|
819
|
+
"fullscreen",
|
|
820
|
+
"funnel",
|
|
821
|
+
"funnel-plus",
|
|
822
|
+
"funnel-x",
|
|
823
|
+
"gallery-horizontal",
|
|
824
|
+
"gallery-horizontal-end",
|
|
825
|
+
"gallery-thumbnails",
|
|
826
|
+
"gallery-vertical",
|
|
827
|
+
"gallery-vertical-end",
|
|
828
|
+
"gamepad",
|
|
829
|
+
"gamepad-2",
|
|
830
|
+
"gamepad-directional",
|
|
831
|
+
"gauge",
|
|
832
|
+
"gavel",
|
|
833
|
+
"gem",
|
|
834
|
+
"georgian-lari",
|
|
835
|
+
"ghost",
|
|
836
|
+
"gift",
|
|
837
|
+
"git-branch",
|
|
838
|
+
"git-branch-minus",
|
|
839
|
+
"git-branch-plus",
|
|
840
|
+
"git-commit-horizontal",
|
|
841
|
+
"git-commit-vertical",
|
|
842
|
+
"git-compare",
|
|
843
|
+
"git-compare-arrows",
|
|
844
|
+
"git-fork",
|
|
845
|
+
"git-graph",
|
|
846
|
+
"git-merge",
|
|
847
|
+
"git-pull-request",
|
|
848
|
+
"git-pull-request-arrow",
|
|
849
|
+
"git-pull-request-closed",
|
|
850
|
+
"git-pull-request-create",
|
|
851
|
+
"git-pull-request-create-arrow",
|
|
852
|
+
"git-pull-request-draft",
|
|
853
|
+
"github",
|
|
854
|
+
"gitlab",
|
|
855
|
+
"glass-water",
|
|
856
|
+
"glasses",
|
|
857
|
+
"globe",
|
|
858
|
+
"globe-lock",
|
|
859
|
+
"goal",
|
|
860
|
+
"gpu",
|
|
861
|
+
"graduation-cap",
|
|
862
|
+
"grape",
|
|
863
|
+
"grid-2x2",
|
|
864
|
+
"grid-2x2-check",
|
|
865
|
+
"grid-2x2-plus",
|
|
866
|
+
"grid-2x2-x",
|
|
867
|
+
"grid-3x2",
|
|
868
|
+
"grid-3x3",
|
|
869
|
+
"grip",
|
|
870
|
+
"grip-horizontal",
|
|
871
|
+
"grip-vertical",
|
|
872
|
+
"group",
|
|
873
|
+
"guitar",
|
|
874
|
+
"ham",
|
|
875
|
+
"hamburger",
|
|
876
|
+
"hammer",
|
|
877
|
+
"hand",
|
|
878
|
+
"hand-coins",
|
|
879
|
+
"hand-fist",
|
|
880
|
+
"hand-grab",
|
|
881
|
+
"hand-heart",
|
|
882
|
+
"hand-helping",
|
|
883
|
+
"hand-metal",
|
|
884
|
+
"hand-platter",
|
|
885
|
+
"handbag",
|
|
886
|
+
"handshake",
|
|
887
|
+
"hard-drive",
|
|
888
|
+
"hard-drive-download",
|
|
889
|
+
"hard-drive-upload",
|
|
890
|
+
"hard-hat",
|
|
891
|
+
"hash",
|
|
892
|
+
"hat-glasses",
|
|
893
|
+
"haze",
|
|
894
|
+
"hd",
|
|
895
|
+
"hdmi-port",
|
|
896
|
+
"heading",
|
|
897
|
+
"heading-1",
|
|
898
|
+
"heading-2",
|
|
899
|
+
"heading-3",
|
|
900
|
+
"heading-4",
|
|
901
|
+
"heading-5",
|
|
902
|
+
"heading-6",
|
|
903
|
+
"headphone-off",
|
|
904
|
+
"headphones",
|
|
905
|
+
"headset",
|
|
906
|
+
"heart",
|
|
907
|
+
"heart-crack",
|
|
908
|
+
"heart-handshake",
|
|
909
|
+
"heart-minus",
|
|
910
|
+
"heart-off",
|
|
911
|
+
"heart-plus",
|
|
912
|
+
"heart-pulse",
|
|
913
|
+
"heater",
|
|
914
|
+
"helicopter",
|
|
915
|
+
"hexagon",
|
|
916
|
+
"highlighter",
|
|
917
|
+
"history",
|
|
918
|
+
"hop",
|
|
919
|
+
"hop-off",
|
|
920
|
+
"hospital",
|
|
921
|
+
"hotel",
|
|
922
|
+
"hourglass",
|
|
923
|
+
"house",
|
|
924
|
+
"house-heart",
|
|
925
|
+
"house-plug",
|
|
926
|
+
"house-plus",
|
|
927
|
+
"house-wifi",
|
|
928
|
+
"ice-cream-bowl",
|
|
929
|
+
"ice-cream-cone",
|
|
930
|
+
"id-card",
|
|
931
|
+
"id-card-lanyard",
|
|
932
|
+
"image",
|
|
933
|
+
"image-down",
|
|
934
|
+
"image-minus",
|
|
935
|
+
"image-off",
|
|
936
|
+
"image-play",
|
|
937
|
+
"image-plus",
|
|
938
|
+
"image-up",
|
|
939
|
+
"image-upscale",
|
|
940
|
+
"images",
|
|
941
|
+
"import",
|
|
942
|
+
"inbox",
|
|
943
|
+
"indian-rupee",
|
|
944
|
+
"infinity",
|
|
945
|
+
"info",
|
|
946
|
+
"inspection-panel",
|
|
947
|
+
"instagram",
|
|
948
|
+
"italic",
|
|
949
|
+
"iteration-ccw",
|
|
950
|
+
"iteration-cw",
|
|
951
|
+
"japanese-yen",
|
|
952
|
+
"joystick",
|
|
953
|
+
"kanban",
|
|
954
|
+
"kayak",
|
|
955
|
+
"key",
|
|
956
|
+
"key-round",
|
|
957
|
+
"key-square",
|
|
958
|
+
"keyboard",
|
|
959
|
+
"keyboard-music",
|
|
960
|
+
"keyboard-off",
|
|
961
|
+
"lamp",
|
|
962
|
+
"lamp-ceiling",
|
|
963
|
+
"lamp-desk",
|
|
964
|
+
"lamp-floor",
|
|
965
|
+
"lamp-wall-down",
|
|
966
|
+
"lamp-wall-up",
|
|
967
|
+
"land-plot",
|
|
968
|
+
"landmark",
|
|
969
|
+
"languages",
|
|
970
|
+
"laptop",
|
|
971
|
+
"laptop-minimal",
|
|
972
|
+
"laptop-minimal-check",
|
|
973
|
+
"lasso",
|
|
974
|
+
"lasso-select",
|
|
975
|
+
"laugh",
|
|
976
|
+
"layers",
|
|
977
|
+
"layers-2",
|
|
978
|
+
"layers-plus",
|
|
979
|
+
"layout-dashboard",
|
|
980
|
+
"layout-grid",
|
|
981
|
+
"layout-list",
|
|
982
|
+
"layout-panel-left",
|
|
983
|
+
"layout-panel-top",
|
|
984
|
+
"layout-template",
|
|
985
|
+
"leaf",
|
|
986
|
+
"leafy-green",
|
|
987
|
+
"lectern",
|
|
988
|
+
"library",
|
|
989
|
+
"library-big",
|
|
990
|
+
"life-buoy",
|
|
991
|
+
"ligature",
|
|
992
|
+
"lightbulb",
|
|
993
|
+
"lightbulb-off",
|
|
994
|
+
"line-squiggle",
|
|
995
|
+
"link",
|
|
996
|
+
"link-2",
|
|
997
|
+
"link-2-off",
|
|
998
|
+
"linkedin",
|
|
999
|
+
"list",
|
|
1000
|
+
"list-check",
|
|
1001
|
+
"list-checks",
|
|
1002
|
+
"list-chevrons-down-up",
|
|
1003
|
+
"list-chevrons-up-down",
|
|
1004
|
+
"list-collapse",
|
|
1005
|
+
"list-end",
|
|
1006
|
+
"list-filter",
|
|
1007
|
+
"list-filter-plus",
|
|
1008
|
+
"list-indent-decrease",
|
|
1009
|
+
"list-indent-increase",
|
|
1010
|
+
"list-minus",
|
|
1011
|
+
"list-music",
|
|
1012
|
+
"list-ordered",
|
|
1013
|
+
"list-plus",
|
|
1014
|
+
"list-restart",
|
|
1015
|
+
"list-start",
|
|
1016
|
+
"list-todo",
|
|
1017
|
+
"list-tree",
|
|
1018
|
+
"list-video",
|
|
1019
|
+
"list-x",
|
|
1020
|
+
"loader",
|
|
1021
|
+
"loader-circle",
|
|
1022
|
+
"loader-pinwheel",
|
|
1023
|
+
"locate",
|
|
1024
|
+
"locate-fixed",
|
|
1025
|
+
"locate-off",
|
|
1026
|
+
"lock",
|
|
1027
|
+
"lock-keyhole",
|
|
1028
|
+
"lock-keyhole-open",
|
|
1029
|
+
"lock-open",
|
|
1030
|
+
"log-in",
|
|
1031
|
+
"log-out",
|
|
1032
|
+
"logs",
|
|
1033
|
+
"lollipop",
|
|
1034
|
+
"luggage",
|
|
1035
|
+
"magnet",
|
|
1036
|
+
"mail",
|
|
1037
|
+
"mail-check",
|
|
1038
|
+
"mail-minus",
|
|
1039
|
+
"mail-open",
|
|
1040
|
+
"mail-plus",
|
|
1041
|
+
"mail-question-mark",
|
|
1042
|
+
"mail-search",
|
|
1043
|
+
"mail-warning",
|
|
1044
|
+
"mail-x",
|
|
1045
|
+
"mailbox",
|
|
1046
|
+
"mails",
|
|
1047
|
+
"map",
|
|
1048
|
+
"map-minus",
|
|
1049
|
+
"map-pin",
|
|
1050
|
+
"map-pin-check",
|
|
1051
|
+
"map-pin-check-inside",
|
|
1052
|
+
"map-pin-house",
|
|
1053
|
+
"map-pin-minus",
|
|
1054
|
+
"map-pin-minus-inside",
|
|
1055
|
+
"map-pin-off",
|
|
1056
|
+
"map-pin-pen",
|
|
1057
|
+
"map-pin-plus",
|
|
1058
|
+
"map-pin-plus-inside",
|
|
1059
|
+
"map-pin-x",
|
|
1060
|
+
"map-pin-x-inside",
|
|
1061
|
+
"map-pinned",
|
|
1062
|
+
"map-plus",
|
|
1063
|
+
"mars",
|
|
1064
|
+
"mars-stroke",
|
|
1065
|
+
"martini",
|
|
1066
|
+
"maximize",
|
|
1067
|
+
"maximize-2",
|
|
1068
|
+
"medal",
|
|
1069
|
+
"megaphone",
|
|
1070
|
+
"megaphone-off",
|
|
1071
|
+
"meh",
|
|
1072
|
+
"memory-stick",
|
|
1073
|
+
"menu",
|
|
1074
|
+
"merge",
|
|
1075
|
+
"message-circle",
|
|
1076
|
+
"message-circle-code",
|
|
1077
|
+
"message-circle-dashed",
|
|
1078
|
+
"message-circle-heart",
|
|
1079
|
+
"message-circle-more",
|
|
1080
|
+
"message-circle-off",
|
|
1081
|
+
"message-circle-plus",
|
|
1082
|
+
"message-circle-question-mark",
|
|
1083
|
+
"message-circle-reply",
|
|
1084
|
+
"message-circle-warning",
|
|
1085
|
+
"message-circle-x",
|
|
1086
|
+
"message-square",
|
|
1087
|
+
"message-square-code",
|
|
1088
|
+
"message-square-dashed",
|
|
1089
|
+
"message-square-diff",
|
|
1090
|
+
"message-square-dot",
|
|
1091
|
+
"message-square-heart",
|
|
1092
|
+
"message-square-lock",
|
|
1093
|
+
"message-square-more",
|
|
1094
|
+
"message-square-off",
|
|
1095
|
+
"message-square-plus",
|
|
1096
|
+
"message-square-quote",
|
|
1097
|
+
"message-square-reply",
|
|
1098
|
+
"message-square-share",
|
|
1099
|
+
"message-square-text",
|
|
1100
|
+
"message-square-warning",
|
|
1101
|
+
"message-square-x",
|
|
1102
|
+
"messages-square",
|
|
1103
|
+
"mic",
|
|
1104
|
+
"mic-off",
|
|
1105
|
+
"mic-vocal",
|
|
1106
|
+
"microchip",
|
|
1107
|
+
"microscope",
|
|
1108
|
+
"microwave",
|
|
1109
|
+
"milestone",
|
|
1110
|
+
"milk",
|
|
1111
|
+
"milk-off",
|
|
1112
|
+
"minimize",
|
|
1113
|
+
"minimize-2",
|
|
1114
|
+
"minus",
|
|
1115
|
+
"monitor",
|
|
1116
|
+
"monitor-check",
|
|
1117
|
+
"monitor-cloud",
|
|
1118
|
+
"monitor-cog",
|
|
1119
|
+
"monitor-dot",
|
|
1120
|
+
"monitor-down",
|
|
1121
|
+
"monitor-off",
|
|
1122
|
+
"monitor-pause",
|
|
1123
|
+
"monitor-play",
|
|
1124
|
+
"monitor-smartphone",
|
|
1125
|
+
"monitor-speaker",
|
|
1126
|
+
"monitor-stop",
|
|
1127
|
+
"monitor-up",
|
|
1128
|
+
"monitor-x",
|
|
1129
|
+
"moon",
|
|
1130
|
+
"moon-star",
|
|
1131
|
+
"motorbike",
|
|
1132
|
+
"mountain",
|
|
1133
|
+
"mountain-snow",
|
|
1134
|
+
"mouse",
|
|
1135
|
+
"mouse-off",
|
|
1136
|
+
"mouse-pointer",
|
|
1137
|
+
"mouse-pointer-2",
|
|
1138
|
+
"mouse-pointer-2-off",
|
|
1139
|
+
"mouse-pointer-ban",
|
|
1140
|
+
"mouse-pointer-click",
|
|
1141
|
+
"move",
|
|
1142
|
+
"move-3d",
|
|
1143
|
+
"move-diagonal",
|
|
1144
|
+
"move-diagonal-2",
|
|
1145
|
+
"move-down",
|
|
1146
|
+
"move-down-left",
|
|
1147
|
+
"move-down-right",
|
|
1148
|
+
"move-horizontal",
|
|
1149
|
+
"move-left",
|
|
1150
|
+
"move-right",
|
|
1151
|
+
"move-up",
|
|
1152
|
+
"move-up-left",
|
|
1153
|
+
"move-up-right",
|
|
1154
|
+
"move-vertical",
|
|
1155
|
+
"music",
|
|
1156
|
+
"music-2",
|
|
1157
|
+
"music-3",
|
|
1158
|
+
"music-4",
|
|
1159
|
+
"navigation",
|
|
1160
|
+
"navigation-2",
|
|
1161
|
+
"navigation-2-off",
|
|
1162
|
+
"navigation-off",
|
|
1163
|
+
"network",
|
|
1164
|
+
"newspaper",
|
|
1165
|
+
"nfc",
|
|
1166
|
+
"non-binary",
|
|
1167
|
+
"notebook",
|
|
1168
|
+
"notebook-pen",
|
|
1169
|
+
"notebook-tabs",
|
|
1170
|
+
"notebook-text",
|
|
1171
|
+
"notepad-text",
|
|
1172
|
+
"notepad-text-dashed",
|
|
1173
|
+
"nut",
|
|
1174
|
+
"nut-off",
|
|
1175
|
+
"octagon",
|
|
1176
|
+
"octagon-alert",
|
|
1177
|
+
"octagon-minus",
|
|
1178
|
+
"octagon-pause",
|
|
1179
|
+
"octagon-x",
|
|
1180
|
+
"omega",
|
|
1181
|
+
"option",
|
|
1182
|
+
"orbit",
|
|
1183
|
+
"origami",
|
|
1184
|
+
"package",
|
|
1185
|
+
"package-2",
|
|
1186
|
+
"package-check",
|
|
1187
|
+
"package-minus",
|
|
1188
|
+
"package-open",
|
|
1189
|
+
"package-plus",
|
|
1190
|
+
"package-search",
|
|
1191
|
+
"package-x",
|
|
1192
|
+
"paint-bucket",
|
|
1193
|
+
"paint-roller",
|
|
1194
|
+
"paintbrush",
|
|
1195
|
+
"paintbrush-vertical",
|
|
1196
|
+
"palette",
|
|
1197
|
+
"panda",
|
|
1198
|
+
"panel-bottom",
|
|
1199
|
+
"panel-bottom-close",
|
|
1200
|
+
"panel-bottom-dashed",
|
|
1201
|
+
"panel-bottom-open",
|
|
1202
|
+
"panel-left",
|
|
1203
|
+
"panel-left-close",
|
|
1204
|
+
"panel-left-dashed",
|
|
1205
|
+
"panel-left-open",
|
|
1206
|
+
"panel-left-right-dashed",
|
|
1207
|
+
"panel-right",
|
|
1208
|
+
"panel-right-close",
|
|
1209
|
+
"panel-right-dashed",
|
|
1210
|
+
"panel-right-open",
|
|
1211
|
+
"panel-top",
|
|
1212
|
+
"panel-top-bottom-dashed",
|
|
1213
|
+
"panel-top-close",
|
|
1214
|
+
"panel-top-dashed",
|
|
1215
|
+
"panel-top-open",
|
|
1216
|
+
"panels-left-bottom",
|
|
1217
|
+
"panels-right-bottom",
|
|
1218
|
+
"panels-top-left",
|
|
1219
|
+
"paperclip",
|
|
1220
|
+
"parentheses",
|
|
1221
|
+
"parking-meter",
|
|
1222
|
+
"party-popper",
|
|
1223
|
+
"pause",
|
|
1224
|
+
"paw-print",
|
|
1225
|
+
"pc-case",
|
|
1226
|
+
"pen",
|
|
1227
|
+
"pen-line",
|
|
1228
|
+
"pen-off",
|
|
1229
|
+
"pen-tool",
|
|
1230
|
+
"pencil",
|
|
1231
|
+
"pencil-line",
|
|
1232
|
+
"pencil-off",
|
|
1233
|
+
"pencil-ruler",
|
|
1234
|
+
"pentagon",
|
|
1235
|
+
"percent",
|
|
1236
|
+
"person-standing",
|
|
1237
|
+
"philippine-peso",
|
|
1238
|
+
"phone",
|
|
1239
|
+
"phone-call",
|
|
1240
|
+
"phone-forwarded",
|
|
1241
|
+
"phone-incoming",
|
|
1242
|
+
"phone-missed",
|
|
1243
|
+
"phone-off",
|
|
1244
|
+
"phone-outgoing",
|
|
1245
|
+
"pi",
|
|
1246
|
+
"piano",
|
|
1247
|
+
"pickaxe",
|
|
1248
|
+
"picture-in-picture",
|
|
1249
|
+
"picture-in-picture-2",
|
|
1250
|
+
"piggy-bank",
|
|
1251
|
+
"pilcrow",
|
|
1252
|
+
"pilcrow-left",
|
|
1253
|
+
"pilcrow-right",
|
|
1254
|
+
"pill",
|
|
1255
|
+
"pill-bottle",
|
|
1256
|
+
"pin",
|
|
1257
|
+
"pin-off",
|
|
1258
|
+
"pipette",
|
|
1259
|
+
"pizza",
|
|
1260
|
+
"plane",
|
|
1261
|
+
"plane-landing",
|
|
1262
|
+
"plane-takeoff",
|
|
1263
|
+
"play",
|
|
1264
|
+
"plug",
|
|
1265
|
+
"plug-2",
|
|
1266
|
+
"plug-zap",
|
|
1267
|
+
"plus",
|
|
1268
|
+
"pocket",
|
|
1269
|
+
"pocket-knife",
|
|
1270
|
+
"podcast",
|
|
1271
|
+
"pointer",
|
|
1272
|
+
"pointer-off",
|
|
1273
|
+
"popcorn",
|
|
1274
|
+
"popsicle",
|
|
1275
|
+
"pound-sterling",
|
|
1276
|
+
"power",
|
|
1277
|
+
"power-off",
|
|
1278
|
+
"presentation",
|
|
1279
|
+
"printer",
|
|
1280
|
+
"printer-check",
|
|
1281
|
+
"projector",
|
|
1282
|
+
"proportions",
|
|
1283
|
+
"puzzle",
|
|
1284
|
+
"pyramid",
|
|
1285
|
+
"qr-code",
|
|
1286
|
+
"quote",
|
|
1287
|
+
"rabbit",
|
|
1288
|
+
"radar",
|
|
1289
|
+
"radiation",
|
|
1290
|
+
"radical",
|
|
1291
|
+
"radio",
|
|
1292
|
+
"radio-receiver",
|
|
1293
|
+
"radio-tower",
|
|
1294
|
+
"radius",
|
|
1295
|
+
"rail-symbol",
|
|
1296
|
+
"rainbow",
|
|
1297
|
+
"rat",
|
|
1298
|
+
"ratio",
|
|
1299
|
+
"receipt",
|
|
1300
|
+
"receipt-cent",
|
|
1301
|
+
"receipt-euro",
|
|
1302
|
+
"receipt-indian-rupee",
|
|
1303
|
+
"receipt-japanese-yen",
|
|
1304
|
+
"receipt-pound-sterling",
|
|
1305
|
+
"receipt-russian-ruble",
|
|
1306
|
+
"receipt-swiss-franc",
|
|
1307
|
+
"receipt-text",
|
|
1308
|
+
"receipt-turkish-lira",
|
|
1309
|
+
"rectangle-circle",
|
|
1310
|
+
"rectangle-ellipsis",
|
|
1311
|
+
"rectangle-goggles",
|
|
1312
|
+
"rectangle-horizontal",
|
|
1313
|
+
"rectangle-vertical",
|
|
1314
|
+
"recycle",
|
|
1315
|
+
"redo",
|
|
1316
|
+
"redo-2",
|
|
1317
|
+
"redo-dot",
|
|
1318
|
+
"refresh-ccw",
|
|
1319
|
+
"refresh-ccw-dot",
|
|
1320
|
+
"refresh-cw",
|
|
1321
|
+
"refresh-cw-off",
|
|
1322
|
+
"refrigerator",
|
|
1323
|
+
"regex",
|
|
1324
|
+
"remove-formatting",
|
|
1325
|
+
"repeat",
|
|
1326
|
+
"repeat-1",
|
|
1327
|
+
"repeat-2",
|
|
1328
|
+
"replace",
|
|
1329
|
+
"replace-all",
|
|
1330
|
+
"reply",
|
|
1331
|
+
"reply-all",
|
|
1332
|
+
"rewind",
|
|
1333
|
+
"ribbon",
|
|
1334
|
+
"rocket",
|
|
1335
|
+
"rocking-chair",
|
|
1336
|
+
"roller-coaster",
|
|
1337
|
+
"rose",
|
|
1338
|
+
"rotate-3d",
|
|
1339
|
+
"rotate-ccw",
|
|
1340
|
+
"rotate-ccw-key",
|
|
1341
|
+
"rotate-ccw-square",
|
|
1342
|
+
"rotate-cw",
|
|
1343
|
+
"rotate-cw-square",
|
|
1344
|
+
"route",
|
|
1345
|
+
"route-off",
|
|
1346
|
+
"router",
|
|
1347
|
+
"rows-2",
|
|
1348
|
+
"rows-3",
|
|
1349
|
+
"rows-4",
|
|
1350
|
+
"rss",
|
|
1351
|
+
"ruler",
|
|
1352
|
+
"ruler-dimension-line",
|
|
1353
|
+
"russian-ruble",
|
|
1354
|
+
"sailboat",
|
|
1355
|
+
"salad",
|
|
1356
|
+
"sandwich",
|
|
1357
|
+
"satellite",
|
|
1358
|
+
"satellite-dish",
|
|
1359
|
+
"saudi-riyal",
|
|
1360
|
+
"save",
|
|
1361
|
+
"save-all",
|
|
1362
|
+
"save-off",
|
|
1363
|
+
"scale",
|
|
1364
|
+
"scale-3d",
|
|
1365
|
+
"scaling",
|
|
1366
|
+
"scan",
|
|
1367
|
+
"scan-barcode",
|
|
1368
|
+
"scan-eye",
|
|
1369
|
+
"scan-face",
|
|
1370
|
+
"scan-heart",
|
|
1371
|
+
"scan-line",
|
|
1372
|
+
"scan-qr-code",
|
|
1373
|
+
"scan-search",
|
|
1374
|
+
"scan-text",
|
|
1375
|
+
"school",
|
|
1376
|
+
"scissors",
|
|
1377
|
+
"scissors-line-dashed",
|
|
1378
|
+
"scooter",
|
|
1379
|
+
"screen-share",
|
|
1380
|
+
"screen-share-off",
|
|
1381
|
+
"scroll",
|
|
1382
|
+
"scroll-text",
|
|
1383
|
+
"search",
|
|
1384
|
+
"search-alert",
|
|
1385
|
+
"search-check",
|
|
1386
|
+
"search-code",
|
|
1387
|
+
"search-slash",
|
|
1388
|
+
"search-x",
|
|
1389
|
+
"section",
|
|
1390
|
+
"send",
|
|
1391
|
+
"send-horizontal",
|
|
1392
|
+
"send-to-back",
|
|
1393
|
+
"separator-horizontal",
|
|
1394
|
+
"separator-vertical",
|
|
1395
|
+
"server",
|
|
1396
|
+
"server-cog",
|
|
1397
|
+
"server-crash",
|
|
1398
|
+
"server-off",
|
|
1399
|
+
"settings",
|
|
1400
|
+
"settings-2",
|
|
1401
|
+
"shapes",
|
|
1402
|
+
"share",
|
|
1403
|
+
"share-2",
|
|
1404
|
+
"sheet",
|
|
1405
|
+
"shell",
|
|
1406
|
+
"shield",
|
|
1407
|
+
"shield-alert",
|
|
1408
|
+
"shield-ban",
|
|
1409
|
+
"shield-check",
|
|
1410
|
+
"shield-ellipsis",
|
|
1411
|
+
"shield-half",
|
|
1412
|
+
"shield-minus",
|
|
1413
|
+
"shield-off",
|
|
1414
|
+
"shield-plus",
|
|
1415
|
+
"shield-question-mark",
|
|
1416
|
+
"shield-user",
|
|
1417
|
+
"shield-x",
|
|
1418
|
+
"ship",
|
|
1419
|
+
"ship-wheel",
|
|
1420
|
+
"shirt",
|
|
1421
|
+
"shopping-bag",
|
|
1422
|
+
"shopping-basket",
|
|
1423
|
+
"shopping-cart",
|
|
1424
|
+
"shovel",
|
|
1425
|
+
"shower-head",
|
|
1426
|
+
"shredder",
|
|
1427
|
+
"shrimp",
|
|
1428
|
+
"shrink",
|
|
1429
|
+
"shrub",
|
|
1430
|
+
"shuffle",
|
|
1431
|
+
"sigma",
|
|
1432
|
+
"signal",
|
|
1433
|
+
"signal-high",
|
|
1434
|
+
"signal-low",
|
|
1435
|
+
"signal-medium",
|
|
1436
|
+
"signal-zero",
|
|
1437
|
+
"signature",
|
|
1438
|
+
"signpost",
|
|
1439
|
+
"signpost-big",
|
|
1440
|
+
"siren",
|
|
1441
|
+
"skip-back",
|
|
1442
|
+
"skip-forward",
|
|
1443
|
+
"skull",
|
|
1444
|
+
"slack",
|
|
1445
|
+
"slash",
|
|
1446
|
+
"slice",
|
|
1447
|
+
"sliders-horizontal",
|
|
1448
|
+
"sliders-vertical",
|
|
1449
|
+
"smartphone",
|
|
1450
|
+
"smartphone-charging",
|
|
1451
|
+
"smartphone-nfc",
|
|
1452
|
+
"smile",
|
|
1453
|
+
"smile-plus",
|
|
1454
|
+
"snail",
|
|
1455
|
+
"snowflake",
|
|
1456
|
+
"soap-dispenser-droplet",
|
|
1457
|
+
"sofa",
|
|
1458
|
+
"solar-panel",
|
|
1459
|
+
"soup",
|
|
1460
|
+
"space",
|
|
1461
|
+
"spade",
|
|
1462
|
+
"sparkle",
|
|
1463
|
+
"sparkles",
|
|
1464
|
+
"speaker",
|
|
1465
|
+
"speech",
|
|
1466
|
+
"spell-check",
|
|
1467
|
+
"spell-check-2",
|
|
1468
|
+
"spline",
|
|
1469
|
+
"spline-pointer",
|
|
1470
|
+
"split",
|
|
1471
|
+
"spool",
|
|
1472
|
+
"spotlight",
|
|
1473
|
+
"spray-can",
|
|
1474
|
+
"sprout",
|
|
1475
|
+
"square",
|
|
1476
|
+
"square-activity",
|
|
1477
|
+
"square-arrow-down",
|
|
1478
|
+
"square-arrow-down-left",
|
|
1479
|
+
"square-arrow-down-right",
|
|
1480
|
+
"square-arrow-left",
|
|
1481
|
+
"square-arrow-out-down-left",
|
|
1482
|
+
"square-arrow-out-down-right",
|
|
1483
|
+
"square-arrow-out-up-left",
|
|
1484
|
+
"square-arrow-out-up-right",
|
|
1485
|
+
"square-arrow-right",
|
|
1486
|
+
"square-arrow-up",
|
|
1487
|
+
"square-arrow-up-left",
|
|
1488
|
+
"square-arrow-up-right",
|
|
1489
|
+
"square-asterisk",
|
|
1490
|
+
"square-bottom-dashed-scissors",
|
|
1491
|
+
"square-chart-gantt",
|
|
1492
|
+
"square-check",
|
|
1493
|
+
"square-check-big",
|
|
1494
|
+
"square-chevron-down",
|
|
1495
|
+
"square-chevron-left",
|
|
1496
|
+
"square-chevron-right",
|
|
1497
|
+
"square-chevron-up",
|
|
1498
|
+
"square-code",
|
|
1499
|
+
"square-dashed",
|
|
1500
|
+
"square-dashed-bottom",
|
|
1501
|
+
"square-dashed-bottom-code",
|
|
1502
|
+
"square-dashed-kanban",
|
|
1503
|
+
"square-dashed-mouse-pointer",
|
|
1504
|
+
"square-dashed-top-solid",
|
|
1505
|
+
"square-divide",
|
|
1506
|
+
"square-dot",
|
|
1507
|
+
"square-equal",
|
|
1508
|
+
"square-function",
|
|
1509
|
+
"square-kanban",
|
|
1510
|
+
"square-library",
|
|
1511
|
+
"square-m",
|
|
1512
|
+
"square-menu",
|
|
1513
|
+
"square-minus",
|
|
1514
|
+
"square-mouse-pointer",
|
|
1515
|
+
"square-parking",
|
|
1516
|
+
"square-parking-off",
|
|
1517
|
+
"square-pause",
|
|
1518
|
+
"square-pen",
|
|
1519
|
+
"square-percent",
|
|
1520
|
+
"square-pi",
|
|
1521
|
+
"square-pilcrow",
|
|
1522
|
+
"square-play",
|
|
1523
|
+
"square-plus",
|
|
1524
|
+
"square-power",
|
|
1525
|
+
"square-radical",
|
|
1526
|
+
"square-round-corner",
|
|
1527
|
+
"square-scissors",
|
|
1528
|
+
"square-sigma",
|
|
1529
|
+
"square-slash",
|
|
1530
|
+
"square-split-horizontal",
|
|
1531
|
+
"square-split-vertical",
|
|
1532
|
+
"square-square",
|
|
1533
|
+
"square-stack",
|
|
1534
|
+
"square-star",
|
|
1535
|
+
"square-stop",
|
|
1536
|
+
"square-terminal",
|
|
1537
|
+
"square-user",
|
|
1538
|
+
"square-user-round",
|
|
1539
|
+
"square-x",
|
|
1540
|
+
"squares-exclude",
|
|
1541
|
+
"squares-intersect",
|
|
1542
|
+
"squares-subtract",
|
|
1543
|
+
"squares-unite",
|
|
1544
|
+
"squircle",
|
|
1545
|
+
"squircle-dashed",
|
|
1546
|
+
"squirrel",
|
|
1547
|
+
"stamp",
|
|
1548
|
+
"star",
|
|
1549
|
+
"star-half",
|
|
1550
|
+
"star-off",
|
|
1551
|
+
"step-back",
|
|
1552
|
+
"step-forward",
|
|
1553
|
+
"stethoscope",
|
|
1554
|
+
"sticker",
|
|
1555
|
+
"sticky-note",
|
|
1556
|
+
"stone",
|
|
1557
|
+
"store",
|
|
1558
|
+
"stretch-horizontal",
|
|
1559
|
+
"stretch-vertical",
|
|
1560
|
+
"strikethrough",
|
|
1561
|
+
"subscript",
|
|
1562
|
+
"sun",
|
|
1563
|
+
"sun-dim",
|
|
1564
|
+
"sun-medium",
|
|
1565
|
+
"sun-moon",
|
|
1566
|
+
"sun-snow",
|
|
1567
|
+
"sunrise",
|
|
1568
|
+
"sunset",
|
|
1569
|
+
"superscript",
|
|
1570
|
+
"swatch-book",
|
|
1571
|
+
"swiss-franc",
|
|
1572
|
+
"switch-camera",
|
|
1573
|
+
"sword",
|
|
1574
|
+
"swords",
|
|
1575
|
+
"syringe",
|
|
1576
|
+
"table",
|
|
1577
|
+
"table-2",
|
|
1578
|
+
"table-cells-merge",
|
|
1579
|
+
"table-cells-split",
|
|
1580
|
+
"table-columns-split",
|
|
1581
|
+
"table-of-contents",
|
|
1582
|
+
"table-properties",
|
|
1583
|
+
"table-rows-split",
|
|
1584
|
+
"tablet",
|
|
1585
|
+
"tablet-smartphone",
|
|
1586
|
+
"tablets",
|
|
1587
|
+
"tag",
|
|
1588
|
+
"tags",
|
|
1589
|
+
"tally-1",
|
|
1590
|
+
"tally-2",
|
|
1591
|
+
"tally-3",
|
|
1592
|
+
"tally-4",
|
|
1593
|
+
"tally-5",
|
|
1594
|
+
"tangent",
|
|
1595
|
+
"target",
|
|
1596
|
+
"telescope",
|
|
1597
|
+
"tent",
|
|
1598
|
+
"tent-tree",
|
|
1599
|
+
"terminal",
|
|
1600
|
+
"test-tube",
|
|
1601
|
+
"test-tube-diagonal",
|
|
1602
|
+
"test-tubes",
|
|
1603
|
+
"text-align-center",
|
|
1604
|
+
"text-align-end",
|
|
1605
|
+
"text-align-justify",
|
|
1606
|
+
"text-align-start",
|
|
1607
|
+
"text-cursor",
|
|
1608
|
+
"text-cursor-input",
|
|
1609
|
+
"text-initial",
|
|
1610
|
+
"text-quote",
|
|
1611
|
+
"text-search",
|
|
1612
|
+
"text-select",
|
|
1613
|
+
"text-wrap",
|
|
1614
|
+
"theater",
|
|
1615
|
+
"thermometer",
|
|
1616
|
+
"thermometer-snowflake",
|
|
1617
|
+
"thermometer-sun",
|
|
1618
|
+
"thumbs-down",
|
|
1619
|
+
"thumbs-up",
|
|
1620
|
+
"ticket",
|
|
1621
|
+
"ticket-check",
|
|
1622
|
+
"ticket-minus",
|
|
1623
|
+
"ticket-percent",
|
|
1624
|
+
"ticket-plus",
|
|
1625
|
+
"ticket-slash",
|
|
1626
|
+
"ticket-x",
|
|
1627
|
+
"tickets",
|
|
1628
|
+
"tickets-plane",
|
|
1629
|
+
"timer",
|
|
1630
|
+
"timer-off",
|
|
1631
|
+
"timer-reset",
|
|
1632
|
+
"toggle-left",
|
|
1633
|
+
"toggle-right",
|
|
1634
|
+
"toilet",
|
|
1635
|
+
"tool-case",
|
|
1636
|
+
"toolbox",
|
|
1637
|
+
"tornado",
|
|
1638
|
+
"torus",
|
|
1639
|
+
"touchpad",
|
|
1640
|
+
"touchpad-off",
|
|
1641
|
+
"tower-control",
|
|
1642
|
+
"toy-brick",
|
|
1643
|
+
"tractor",
|
|
1644
|
+
"traffic-cone",
|
|
1645
|
+
"train-front",
|
|
1646
|
+
"train-front-tunnel",
|
|
1647
|
+
"train-track",
|
|
1648
|
+
"tram-front",
|
|
1649
|
+
"transgender",
|
|
1650
|
+
"trash",
|
|
1651
|
+
"trash-2",
|
|
1652
|
+
"tree-deciduous",
|
|
1653
|
+
"tree-palm",
|
|
1654
|
+
"tree-pine",
|
|
1655
|
+
"trees",
|
|
1656
|
+
"trello",
|
|
1657
|
+
"trending-down",
|
|
1658
|
+
"trending-up",
|
|
1659
|
+
"trending-up-down",
|
|
1660
|
+
"triangle",
|
|
1661
|
+
"triangle-alert",
|
|
1662
|
+
"triangle-dashed",
|
|
1663
|
+
"triangle-right",
|
|
1664
|
+
"trophy",
|
|
1665
|
+
"truck",
|
|
1666
|
+
"truck-electric",
|
|
1667
|
+
"turkish-lira",
|
|
1668
|
+
"turntable",
|
|
1669
|
+
"turtle",
|
|
1670
|
+
"tv",
|
|
1671
|
+
"tv-minimal",
|
|
1672
|
+
"tv-minimal-play",
|
|
1673
|
+
"twitch",
|
|
1674
|
+
"twitter",
|
|
1675
|
+
"type",
|
|
1676
|
+
"type-outline",
|
|
1677
|
+
"umbrella",
|
|
1678
|
+
"umbrella-off",
|
|
1679
|
+
"underline",
|
|
1680
|
+
"undo",
|
|
1681
|
+
"undo-2",
|
|
1682
|
+
"undo-dot",
|
|
1683
|
+
"unfold-horizontal",
|
|
1684
|
+
"unfold-vertical",
|
|
1685
|
+
"ungroup",
|
|
1686
|
+
"university",
|
|
1687
|
+
"unlink",
|
|
1688
|
+
"unlink-2",
|
|
1689
|
+
"unplug",
|
|
1690
|
+
"upload",
|
|
1691
|
+
"usb",
|
|
1692
|
+
"user",
|
|
1693
|
+
"user-check",
|
|
1694
|
+
"user-cog",
|
|
1695
|
+
"user-lock",
|
|
1696
|
+
"user-minus",
|
|
1697
|
+
"user-pen",
|
|
1698
|
+
"user-plus",
|
|
1699
|
+
"user-round",
|
|
1700
|
+
"user-round-check",
|
|
1701
|
+
"user-round-cog",
|
|
1702
|
+
"user-round-minus",
|
|
1703
|
+
"user-round-pen",
|
|
1704
|
+
"user-round-plus",
|
|
1705
|
+
"user-round-search",
|
|
1706
|
+
"user-round-x",
|
|
1707
|
+
"user-search",
|
|
1708
|
+
"user-star",
|
|
1709
|
+
"user-x",
|
|
1710
|
+
"users",
|
|
1711
|
+
"users-round",
|
|
1712
|
+
"utensils",
|
|
1713
|
+
"utensils-crossed",
|
|
1714
|
+
"utility-pole",
|
|
1715
|
+
"van",
|
|
1716
|
+
"variable",
|
|
1717
|
+
"vault",
|
|
1718
|
+
"vector-square",
|
|
1719
|
+
"vegan",
|
|
1720
|
+
"venetian-mask",
|
|
1721
|
+
"venus",
|
|
1722
|
+
"venus-and-mars",
|
|
1723
|
+
"vibrate",
|
|
1724
|
+
"vibrate-off",
|
|
1725
|
+
"video",
|
|
1726
|
+
"video-off",
|
|
1727
|
+
"videotape",
|
|
1728
|
+
"view",
|
|
1729
|
+
"voicemail",
|
|
1730
|
+
"volleyball",
|
|
1731
|
+
"volume",
|
|
1732
|
+
"volume-1",
|
|
1733
|
+
"volume-2",
|
|
1734
|
+
"volume-off",
|
|
1735
|
+
"volume-x",
|
|
1736
|
+
"vote",
|
|
1737
|
+
"wallet",
|
|
1738
|
+
"wallet-cards",
|
|
1739
|
+
"wallet-minimal",
|
|
1740
|
+
"wallpaper",
|
|
1741
|
+
"wand",
|
|
1742
|
+
"wand-sparkles",
|
|
1743
|
+
"warehouse",
|
|
1744
|
+
"washing-machine",
|
|
1745
|
+
"watch",
|
|
1746
|
+
"waves",
|
|
1747
|
+
"waves-arrow-down",
|
|
1748
|
+
"waves-arrow-up",
|
|
1749
|
+
"waves-ladder",
|
|
1750
|
+
"waypoints",
|
|
1751
|
+
"webcam",
|
|
1752
|
+
"webhook",
|
|
1753
|
+
"webhook-off",
|
|
1754
|
+
"weight",
|
|
1755
|
+
"weight-tilde",
|
|
1756
|
+
"wheat",
|
|
1757
|
+
"wheat-off",
|
|
1758
|
+
"whole-word",
|
|
1759
|
+
"wifi",
|
|
1760
|
+
"wifi-cog",
|
|
1761
|
+
"wifi-high",
|
|
1762
|
+
"wifi-low",
|
|
1763
|
+
"wifi-off",
|
|
1764
|
+
"wifi-pen",
|
|
1765
|
+
"wifi-sync",
|
|
1766
|
+
"wifi-zero",
|
|
1767
|
+
"wind",
|
|
1768
|
+
"wind-arrow-down",
|
|
1769
|
+
"wine",
|
|
1770
|
+
"wine-off",
|
|
1771
|
+
"workflow",
|
|
1772
|
+
"worm",
|
|
1773
|
+
"wrench",
|
|
1774
|
+
"x",
|
|
1775
|
+
"youtube",
|
|
1776
|
+
"zap",
|
|
1777
|
+
"zap-off",
|
|
1778
|
+
"zoom-in",
|
|
1779
|
+
"zoom-out"
|
|
1780
|
+
];
|
|
1781
|
+
|
|
1782
|
+
// src/viewport/presets.ts
|
|
1783
|
+
var DEVICE_PRESETS = {
|
|
1784
|
+
// Desktop
|
|
1785
|
+
"desktop-sm": { width: 1280, height: 800, label: "Small Laptop", category: "desktop" },
|
|
1786
|
+
desktop: { width: 1440, height: 900, label: "Desktop", category: "desktop" },
|
|
1787
|
+
"desktop-lg": { width: 1920, height: 1080, label: "Full HD", category: "desktop" },
|
|
1788
|
+
"desktop-xl": { width: 2560, height: 1440, label: "QHD", category: "desktop" },
|
|
1789
|
+
// Tablet
|
|
1790
|
+
ipad: { width: 1024, height: 768, label: "iPad (Landscape)", category: "tablet" },
|
|
1791
|
+
"ipad-portrait": { width: 768, height: 1024, label: "iPad (Portrait)", category: "tablet" },
|
|
1792
|
+
"ipad-pro": { width: 1366, height: 1024, label: 'iPad Pro 12.9"', category: "tablet" },
|
|
1793
|
+
"ipad-pro-portrait": {
|
|
1794
|
+
width: 1024,
|
|
1795
|
+
height: 1366,
|
|
1796
|
+
label: 'iPad Pro 12.9" (Portrait)',
|
|
1797
|
+
category: "tablet"
|
|
1798
|
+
},
|
|
1799
|
+
// Mobile
|
|
1800
|
+
"iphone-se": { width: 375, height: 667, label: "iPhone SE", category: "mobile" },
|
|
1801
|
+
iphone14: { width: 390, height: 844, label: "iPhone 14", category: "mobile" },
|
|
1802
|
+
"iphone14-pro": { width: 393, height: 852, label: "iPhone 14 Pro", category: "mobile" },
|
|
1803
|
+
"iphone14-pro-max": { width: 430, height: 932, label: "iPhone 14 Pro Max", category: "mobile" },
|
|
1804
|
+
android: { width: 360, height: 800, label: "Android", category: "mobile" },
|
|
1805
|
+
"android-lg": { width: 412, height: 915, label: "Android Large", category: "mobile" }
|
|
1806
|
+
};
|
|
1807
|
+
var DEFAULT_VIEWPORT = DEVICE_PRESETS["desktop"];
|
|
1808
|
+
function parseViewportString(value) {
|
|
1809
|
+
if (typeof value === "number") {
|
|
1810
|
+
return { width: value };
|
|
1811
|
+
}
|
|
1812
|
+
const match = value.match(/^(\d+)(?:x(\d+))?$/);
|
|
1813
|
+
if (!match) return null;
|
|
1814
|
+
const width = parseInt(match[1], 10);
|
|
1815
|
+
const height = match[2] ? parseInt(match[2], 10) : void 0;
|
|
1816
|
+
return { width, height };
|
|
1817
|
+
}
|
|
1818
|
+
function resolveViewport(viewport, device) {
|
|
1819
|
+
if (device && DEVICE_PRESETS[device]) {
|
|
1820
|
+
return DEVICE_PRESETS[device];
|
|
1821
|
+
}
|
|
1822
|
+
if (viewport !== void 0) {
|
|
1823
|
+
const parsed = parseViewportString(viewport);
|
|
1824
|
+
if (parsed) {
|
|
1825
|
+
return {
|
|
1826
|
+
width: parsed.width,
|
|
1827
|
+
height: parsed.height || DEFAULT_VIEWPORT.height,
|
|
1828
|
+
label: `${parsed.width}x${parsed.height || DEFAULT_VIEWPORT.height}`,
|
|
1829
|
+
category: parsed.width <= 430 ? "mobile" : parsed.width <= 1024 ? "tablet" : "desktop"
|
|
1830
|
+
};
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
return DEFAULT_VIEWPORT;
|
|
1834
|
+
}
|
|
1835
|
+
function getDevicePresets() {
|
|
1836
|
+
return { ...DEVICE_PRESETS };
|
|
1837
|
+
}
|
|
1838
|
+
function isValidDevicePreset(device) {
|
|
1839
|
+
return device in DEVICE_PRESETS;
|
|
1840
|
+
}
|
|
1841
|
+
function calculateViewportScale(viewport, containerWidth, containerHeight, maxScale = 1) {
|
|
1842
|
+
const scaleX = containerWidth / viewport.width;
|
|
1843
|
+
const scaleY = containerHeight ? containerHeight / viewport.height : Infinity;
|
|
1844
|
+
const scale = Math.min(scaleX, scaleY, maxScale);
|
|
1845
|
+
return Math.round(scale * 1e3) / 1e3;
|
|
1846
|
+
}
|
|
1847
|
+
function wrapInPreviewContainer(html, viewport, options = {}) {
|
|
1848
|
+
const {
|
|
1849
|
+
prefix = "wf",
|
|
1850
|
+
darkMode = false,
|
|
1851
|
+
containerWidth,
|
|
1852
|
+
containerHeight,
|
|
1853
|
+
scale: customScale
|
|
1854
|
+
} = options;
|
|
1855
|
+
const scale = customScale != null ? customScale : containerWidth ? calculateViewportScale(viewport, containerWidth, containerHeight) : 1;
|
|
1856
|
+
const previewClass = `${prefix}-viewport-preview${darkMode ? " dark" : ""}`;
|
|
1857
|
+
const wrapperStyle = `transform: scale(${scale}); width: ${viewport.width}px; height: ${viewport.height}px;`;
|
|
1858
|
+
return `<div class="${previewClass}" style="width: 100%; min-height: ${Math.round(viewport.height * scale)}px;">
|
|
1859
|
+
<div class="${prefix}-viewport-wrapper" style="${wrapperStyle}">
|
|
1860
|
+
${html}
|
|
1861
|
+
</div>
|
|
1862
|
+
</div>`;
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
// src/spec/attributes.ts
|
|
1866
|
+
var ATTRIBUTE_SPECS = [
|
|
1867
|
+
// ============================================
|
|
1868
|
+
// Spacing Attributes
|
|
1869
|
+
// ============================================
|
|
1870
|
+
{ name: "p", type: "number", description: "Padding (all sides)" },
|
|
1871
|
+
{ name: "px", type: "number", description: "Horizontal padding" },
|
|
1872
|
+
{ name: "py", type: "number", description: "Vertical padding" },
|
|
1873
|
+
{ name: "pt", type: "number", description: "Top padding" },
|
|
1874
|
+
{ name: "pr", type: "number", description: "Right padding" },
|
|
1875
|
+
{ name: "pb", type: "number", description: "Bottom padding" },
|
|
1876
|
+
{ name: "pl", type: "number", description: "Left padding" },
|
|
1877
|
+
{ name: "m", type: "number", description: "Margin (all sides)" },
|
|
1878
|
+
{ name: "mx", type: "string", description: 'Horizontal margin (number or "auto")' },
|
|
1879
|
+
{ name: "my", type: "number", description: "Vertical margin" },
|
|
1880
|
+
{ name: "mt", type: "number", description: "Top margin" },
|
|
1881
|
+
{ name: "mr", type: "number", description: "Right margin" },
|
|
1882
|
+
{ name: "mb", type: "number", description: "Bottom margin" },
|
|
1883
|
+
{ name: "ml", type: "number", description: "Left margin" },
|
|
1884
|
+
{ name: "gap", type: "number", description: "Gap between children" },
|
|
1885
|
+
// ============================================
|
|
1886
|
+
// Size Attributes
|
|
1887
|
+
// ============================================
|
|
1888
|
+
{
|
|
1889
|
+
name: "w",
|
|
1890
|
+
type: "string",
|
|
1891
|
+
values: ["full", "auto", "screen", "fit"],
|
|
1892
|
+
description: "Width \u2014 a number of pixels, or one of the size keywords"
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
name: "h",
|
|
1896
|
+
type: "string",
|
|
1897
|
+
values: ["full", "auto", "screen"],
|
|
1898
|
+
description: "Height \u2014 a number of pixels, or one of the size keywords"
|
|
1899
|
+
},
|
|
1900
|
+
{ name: "width", type: "number", description: "Width in pixels (page only)" },
|
|
1901
|
+
{ name: "height", type: "number", description: "Height in pixels (page only)" },
|
|
1902
|
+
{ name: "minW", type: "number", description: "Minimum width" },
|
|
1903
|
+
{ name: "maxW", type: "number", description: "Maximum width" },
|
|
1904
|
+
{ name: "minH", type: "number", description: "Minimum height" },
|
|
1905
|
+
{ name: "maxH", type: "number", description: "Maximum height" },
|
|
1906
|
+
// ============================================
|
|
1907
|
+
// Flex/Grid Layout Attributes
|
|
1908
|
+
// ============================================
|
|
1909
|
+
{ name: "flex", type: "boolean", description: "Enable flexbox" },
|
|
1910
|
+
{
|
|
1911
|
+
name: "direction",
|
|
1912
|
+
type: "enum",
|
|
1913
|
+
values: ["row", "column", "row-reverse", "column-reverse"],
|
|
1914
|
+
description: "Flex direction"
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
name: "justify",
|
|
1918
|
+
type: "enum",
|
|
1919
|
+
values: ["start", "center", "end", "between", "around", "evenly"],
|
|
1920
|
+
description: "Main axis alignment"
|
|
1921
|
+
},
|
|
1922
|
+
{
|
|
1923
|
+
name: "align",
|
|
1924
|
+
type: "enum",
|
|
1925
|
+
values: ["start", "center", "end", "stretch", "baseline"],
|
|
1926
|
+
description: "Cross axis alignment"
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
name: "wrap",
|
|
1930
|
+
type: "boolean",
|
|
1931
|
+
values: ["nowrap"],
|
|
1932
|
+
// `boolean | 'nowrap'` in the AST: bare `wrap` enables wrapping, and
|
|
1933
|
+
// `wrap=nowrap` opts a container out of it (`renderer/html/index.ts`
|
|
1934
|
+
// branches on the keyword). Both halves have to be stated or the keyword
|
|
1935
|
+
// reads as an unknown value to every editor downstream.
|
|
1936
|
+
description: "Enable flex wrap, or wrap=nowrap to force a single line"
|
|
1937
|
+
},
|
|
1938
|
+
{ name: "span", type: "number", description: "Grid column span (1-12)" },
|
|
1939
|
+
{ name: "sm", type: "number", description: "Responsive span at 576px+" },
|
|
1940
|
+
{ name: "md", type: "number", description: "Responsive span at 768px+" },
|
|
1941
|
+
{ name: "lg", type: "number", description: "Responsive span at 992px+" },
|
|
1942
|
+
{ name: "xl", type: "number", description: "Responsive span at 1200px+" },
|
|
1943
|
+
{ name: "order", type: "number", description: "Flex order" },
|
|
1944
|
+
// ============================================
|
|
1945
|
+
// Position Attributes
|
|
1946
|
+
// ============================================
|
|
1947
|
+
{ name: "x", type: "number", description: "Horizontal position" },
|
|
1948
|
+
{ name: "y", type: "number", description: "Vertical position" },
|
|
1949
|
+
{
|
|
1950
|
+
name: "position",
|
|
1951
|
+
type: "enum",
|
|
1952
|
+
values: [
|
|
1953
|
+
"left",
|
|
1954
|
+
"right",
|
|
1955
|
+
"top",
|
|
1956
|
+
"bottom",
|
|
1957
|
+
"top-left",
|
|
1958
|
+
"top-center",
|
|
1959
|
+
"top-right",
|
|
1960
|
+
"bottom-left",
|
|
1961
|
+
"bottom-center",
|
|
1962
|
+
"bottom-right"
|
|
1963
|
+
],
|
|
1964
|
+
description: "Position preset"
|
|
1965
|
+
},
|
|
1966
|
+
// ============================================
|
|
1967
|
+
// Visual Attributes
|
|
1968
|
+
// ============================================
|
|
1969
|
+
{ name: "border", type: "boolean", description: "Show border" },
|
|
1970
|
+
{ name: "rounded", type: "boolean", description: "Apply border radius" },
|
|
1971
|
+
{
|
|
1972
|
+
name: "shadow",
|
|
1973
|
+
type: "enum",
|
|
1974
|
+
values: ["none", "sm", "md", "lg", "xl"],
|
|
1975
|
+
description: "Box shadow"
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
name: "bg",
|
|
1979
|
+
type: "enum",
|
|
1980
|
+
values: ["muted", "primary", "secondary"],
|
|
1981
|
+
description: "Background variant"
|
|
1982
|
+
},
|
|
1983
|
+
// ============================================
|
|
1984
|
+
// Text Attributes
|
|
1985
|
+
// ============================================
|
|
1986
|
+
{
|
|
1987
|
+
name: "size",
|
|
1988
|
+
type: "enum",
|
|
1989
|
+
values: ["xs", "sm", "base", "md", "lg", "xl", "2xl", "3xl"],
|
|
1990
|
+
description: "Size preset"
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
name: "weight",
|
|
1994
|
+
type: "enum",
|
|
1995
|
+
values: ["normal", "medium", "semibold", "bold"],
|
|
1996
|
+
description: "Font weight"
|
|
1997
|
+
},
|
|
1998
|
+
{ name: "level", type: "number", description: "Heading level (1-6)" },
|
|
1999
|
+
{ name: "muted", type: "boolean", description: "Muted/dimmed style" },
|
|
2000
|
+
{ name: "bold", type: "boolean", description: "Bold text" },
|
|
2001
|
+
// ============================================
|
|
2002
|
+
// Button Variant Attributes
|
|
2003
|
+
// ============================================
|
|
2004
|
+
{ name: "primary", type: "boolean", description: "Primary style" },
|
|
2005
|
+
{ name: "secondary", type: "boolean", description: "Secondary style" },
|
|
2006
|
+
{ name: "outline", type: "boolean", description: "Outline style" },
|
|
2007
|
+
{ name: "ghost", type: "boolean", description: "Ghost/transparent style" },
|
|
2008
|
+
{ name: "danger", type: "boolean", description: "Danger/destructive style" },
|
|
2009
|
+
// ============================================
|
|
2010
|
+
// Status Variant Attributes
|
|
2011
|
+
// ============================================
|
|
2012
|
+
{
|
|
2013
|
+
name: "variant",
|
|
2014
|
+
type: "enum",
|
|
2015
|
+
values: ["default", "primary", "secondary", "success", "warning", "danger", "info"],
|
|
2016
|
+
description: "Status variant"
|
|
2017
|
+
},
|
|
2018
|
+
// ============================================
|
|
2019
|
+
// Form Attributes
|
|
2020
|
+
// ============================================
|
|
2021
|
+
{
|
|
2022
|
+
name: "inputType",
|
|
2023
|
+
type: "enum",
|
|
2024
|
+
values: ["text", "email", "password", "number", "tel", "url", "search", "date"],
|
|
2025
|
+
description: "Input field type"
|
|
2026
|
+
},
|
|
2027
|
+
{ name: "placeholder", type: "string", description: "Placeholder text" },
|
|
2028
|
+
{ name: "value", type: "string", description: "Default value" },
|
|
2029
|
+
{ name: "label", type: "string", description: "Field label" },
|
|
2030
|
+
/**
|
|
2031
|
+
* One row, three meanings, and the row states only what they share.
|
|
2032
|
+
*
|
|
2033
|
+
* This registry is a flat namespace: {@link ATTRIBUTE_MAP} and
|
|
2034
|
+
* {@link VALID_ATTRIBUTE_NAMES} are keyed by attribute name alone, with no
|
|
2035
|
+
* owning element, so a name can hold exactly one spec. `name` is written by
|
|
2036
|
+
* three unrelated elements — the group name on `radio`, the person's name an
|
|
2037
|
+
* `avatar` draws initials from, and the glyph an `icon` resolves — and a
|
|
2038
|
+
* second `name` row does not scope them apart, it silently shadows (last
|
|
2039
|
+
* write wins in the Map, while the count-based gates in
|
|
2040
|
+
* `packages/language-data` see a duplicate and go red). So this description
|
|
2041
|
+
* says what is true of all three and no more.
|
|
2042
|
+
*
|
|
2043
|
+
* What is true of only one of them goes in `attribute-overrides.ts`, keyed by
|
|
2044
|
+
* element, and is read through `attributeFor`. That is why the glyph domain is
|
|
2045
|
+
* not listed here: it holds on `icon` alone, and a `values` list on this row
|
|
2046
|
+
* would tell every element-blind consumer that a radio group must be called
|
|
2047
|
+
* `circle-alert`.
|
|
2048
|
+
*
|
|
2049
|
+
* Never add a second row for a name that already exists. Widen this one, and
|
|
2050
|
+
* put the narrow half in the override table.
|
|
2051
|
+
*/
|
|
2052
|
+
{
|
|
2053
|
+
name: "name",
|
|
2054
|
+
type: "string",
|
|
2055
|
+
description: "Name \u2014 what the element is called, or the named thing it resolves"
|
|
2056
|
+
},
|
|
2057
|
+
{ name: "required", type: "boolean", description: "Required field" },
|
|
2058
|
+
{ name: "disabled", type: "boolean", description: "Disabled state" },
|
|
2059
|
+
{ name: "readonly", type: "boolean", description: "Read-only state" },
|
|
2060
|
+
{ name: "checked", type: "boolean", description: "Checked state" },
|
|
2061
|
+
{ name: "loading", type: "boolean", description: "Loading state" },
|
|
2062
|
+
{ name: "rows", type: "number", description: "Textarea rows" },
|
|
2063
|
+
{ name: "min", type: "number", description: "Minimum value" },
|
|
2064
|
+
{ name: "max", type: "number", description: "Maximum value" },
|
|
2065
|
+
{ name: "step", type: "number", description: "Step increment" },
|
|
2066
|
+
// ============================================
|
|
2067
|
+
// Content Attributes
|
|
2068
|
+
// ============================================
|
|
2069
|
+
{ name: "title", type: "string", description: "Title text" },
|
|
2070
|
+
{ name: "src", type: "string", description: "Source URL" },
|
|
2071
|
+
{ name: "alt", type: "string", description: "Alt text" },
|
|
2072
|
+
{ name: "href", type: "string", description: "Link URL" },
|
|
2073
|
+
/**
|
|
2074
|
+
* Left open here on purpose. The glyph set is closed and known — see
|
|
2075
|
+
* `attribute-overrides.ts` — but a `values` list on this row is mirrored into
|
|
2076
|
+
* the editor's element-blind value vocabulary, which would colour 1,667 words
|
|
2077
|
+
* like `home` and `map` as language constants in every value position. Ask
|
|
2078
|
+
* `attributeFor(element, 'icon')` for the domain.
|
|
2079
|
+
*/
|
|
2080
|
+
{ name: "icon", type: "string", description: "Icon name" },
|
|
2081
|
+
{ name: "external", type: "boolean", description: "External link" },
|
|
2082
|
+
// ============================================
|
|
2083
|
+
// Accessibility Attributes
|
|
2084
|
+
// ============================================
|
|
2085
|
+
{
|
|
2086
|
+
name: "aria",
|
|
2087
|
+
type: "string",
|
|
2088
|
+
description: "Accessible name, rendered as aria-label (e.g. icon-only button)"
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
name: "aria-label",
|
|
2092
|
+
type: "string",
|
|
2093
|
+
description: "Accessible name (synonym for aria), rendered as aria-label"
|
|
2094
|
+
},
|
|
2095
|
+
// ============================================
|
|
2096
|
+
// State Attributes
|
|
2097
|
+
// ============================================
|
|
2098
|
+
{ name: "active", type: "number", description: "Active index" },
|
|
2099
|
+
{ name: "expanded", type: "boolean", description: "Expanded state" },
|
|
2100
|
+
{ name: "centered", type: "boolean", description: "Center content" },
|
|
2101
|
+
{ name: "vertical", type: "boolean", description: "Vertical orientation" },
|
|
2102
|
+
{ name: "scroll", type: "boolean", description: "Enable scrolling" },
|
|
2103
|
+
// ============================================
|
|
2104
|
+
// Feedback Attributes
|
|
2105
|
+
// ============================================
|
|
2106
|
+
{ name: "dismissible", type: "boolean", description: "Can be dismissed" },
|
|
2107
|
+
{ name: "indeterminate", type: "boolean", description: "Indeterminate state" },
|
|
2108
|
+
{ name: "pill", type: "boolean", description: "Pill/rounded style" },
|
|
2109
|
+
// ============================================
|
|
2110
|
+
// Data Attributes
|
|
2111
|
+
// ============================================
|
|
2112
|
+
{ name: "striped", type: "boolean", description: "Striped rows" },
|
|
2113
|
+
{ name: "bordered", type: "boolean", description: "Full borders" },
|
|
2114
|
+
{ name: "hover", type: "boolean", description: "Hover effect" },
|
|
2115
|
+
{ name: "ordered", type: "boolean", description: "Ordered list" },
|
|
2116
|
+
{ name: "none", type: "boolean", description: "No list markers" },
|
|
2117
|
+
// ============================================
|
|
2118
|
+
// Page/Viewport Attributes
|
|
2119
|
+
// ============================================
|
|
2120
|
+
{ name: "viewport", type: "string", description: 'Viewport size (e.g., "1440x900")' },
|
|
2121
|
+
{
|
|
2122
|
+
name: "device",
|
|
2123
|
+
type: "enum",
|
|
2124
|
+
// Derived, not transcribed: `resolveViewport` looks the value up in
|
|
2125
|
+
// `DEVICE_PRESETS` and silently falls back to the default when it misses, so
|
|
2126
|
+
// a hand-kept copy of the key list would turn every typo into a wireframe
|
|
2127
|
+
// rendered at the wrong width with no diagnostic.
|
|
2128
|
+
values: Object.keys(DEVICE_PRESETS),
|
|
2129
|
+
description: "Device preset"
|
|
2130
|
+
},
|
|
2131
|
+
// ============================================
|
|
2132
|
+
// Interaction Attributes
|
|
2133
|
+
// ============================================
|
|
2134
|
+
// The wire between two screens, or between a screen and one of its overlays.
|
|
2135
|
+
// `navigate` / `opens` / `toggles` resolve against an `id` (see below); the
|
|
2136
|
+
// AST counterpart is `InteractiveProps` in `src/ast/types.ts`.
|
|
2137
|
+
{
|
|
2138
|
+
name: "navigate",
|
|
2139
|
+
type: "string",
|
|
2140
|
+
description: "Screen this element navigates to \u2014 a page id, a page title, or a URL"
|
|
2141
|
+
},
|
|
2142
|
+
{ name: "opens", type: "string", description: "id of the modal or drawer this element opens" },
|
|
2143
|
+
{
|
|
2144
|
+
name: "toggles",
|
|
2145
|
+
type: "string",
|
|
2146
|
+
description: "id of the modal or drawer this element shows or hides"
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
name: "action",
|
|
2150
|
+
type: "string",
|
|
2151
|
+
description: "Named interaction with no target, e.g. back, close, submit"
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
name: "on",
|
|
2155
|
+
type: "object",
|
|
2156
|
+
description: "Typed click event with an optional equality guard and ordered effects"
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
name: "visibleWhen",
|
|
2160
|
+
type: "object",
|
|
2161
|
+
description: "Equality guard controlling whether this branch is visible"
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
name: "enabledWhen",
|
|
2165
|
+
type: "object",
|
|
2166
|
+
description: "Equality guard controlling whether this control is enabled"
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
name: "states",
|
|
2170
|
+
type: "object[]",
|
|
2171
|
+
description: "Typed application state declarations owned by a page or shared layout"
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
name: "variants",
|
|
2175
|
+
type: "string[]",
|
|
2176
|
+
description: "Named state variants of this page \u2014 each one renders the page again as a screen of its own"
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
name: "when",
|
|
2180
|
+
type: "string[]",
|
|
2181
|
+
description: "Variant boards this element is drawn on \u2014 when=loading, or when=[loading, empty] for both"
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
name: "id",
|
|
2185
|
+
type: "string",
|
|
2186
|
+
description: "Stable identifier this page or overlay is addressed by, as distinct from title"
|
|
2187
|
+
},
|
|
2188
|
+
// ============================================
|
|
2189
|
+
// Annotation Attributes
|
|
2190
|
+
// ============================================
|
|
2191
|
+
{
|
|
2192
|
+
name: "anchor",
|
|
2193
|
+
type: "enum",
|
|
2194
|
+
values: [
|
|
2195
|
+
"top-left",
|
|
2196
|
+
"top-center",
|
|
2197
|
+
"top-right",
|
|
2198
|
+
"center-left",
|
|
2199
|
+
"center",
|
|
2200
|
+
"center-right",
|
|
2201
|
+
"bottom-left",
|
|
2202
|
+
"bottom-center",
|
|
2203
|
+
"bottom-right"
|
|
2204
|
+
],
|
|
2205
|
+
description: "Corner or edge of the parent this element is pinned to"
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
name: "color",
|
|
2209
|
+
type: "enum",
|
|
2210
|
+
values: ["blue", "red", "green", "yellow", "purple", "orange"],
|
|
2211
|
+
description: "Marker color"
|
|
2212
|
+
},
|
|
2213
|
+
// ============================================
|
|
2214
|
+
// Reuse Attributes
|
|
2215
|
+
// ============================================
|
|
2216
|
+
{ name: "uses", type: "string", description: "Name of the layout a page is drawn inside" }
|
|
2217
|
+
];
|
|
2218
|
+
var VALID_ATTRIBUTE_NAMES = new Set(
|
|
2219
|
+
ATTRIBUTE_SPECS.map((attr) => attr.name)
|
|
2220
|
+
);
|
|
2221
|
+
var ATTRIBUTE_MAP = new Map(
|
|
2222
|
+
ATTRIBUTE_SPECS.map((attr) => [attr.name, attr])
|
|
2223
|
+
);
|
|
2224
|
+
var BOX_ATTRIBUTES = [
|
|
2225
|
+
// Guarded runtime outcomes
|
|
2226
|
+
"visibleWhen",
|
|
2227
|
+
"enabledWhen",
|
|
2228
|
+
// Build-time variant scope. Listed beside the guards because it reads like
|
|
2229
|
+
// them and is deliberately not one of them: a guard leaves the element in the
|
|
2230
|
+
// markup for the runtime to toggle, `when` decides whether the element is in
|
|
2231
|
+
// that board's markup at all. Every element takes it for the same reason
|
|
2232
|
+
// every element takes a guard — which boards a piece of a screen belongs to
|
|
2233
|
+
// is a property of the piece, not of what kind of piece it is.
|
|
2234
|
+
"when",
|
|
2235
|
+
// Spacing
|
|
2236
|
+
"p",
|
|
2237
|
+
"px",
|
|
2238
|
+
"py",
|
|
2239
|
+
"pt",
|
|
2240
|
+
"pr",
|
|
2241
|
+
"pb",
|
|
2242
|
+
"pl",
|
|
2243
|
+
"m",
|
|
2244
|
+
"mx",
|
|
2245
|
+
"my",
|
|
2246
|
+
"mt",
|
|
2247
|
+
"mr",
|
|
2248
|
+
"mb",
|
|
2249
|
+
"ml",
|
|
2250
|
+
"gap",
|
|
2251
|
+
// Size
|
|
2252
|
+
"w",
|
|
2253
|
+
"h",
|
|
2254
|
+
"minW",
|
|
2255
|
+
"maxW",
|
|
2256
|
+
"minH",
|
|
2257
|
+
"maxH",
|
|
2258
|
+
// Position
|
|
2259
|
+
"x",
|
|
2260
|
+
"y"
|
|
2261
|
+
];
|
|
2262
|
+
var CONTAINER_ATTRIBUTES = [
|
|
2263
|
+
// Flex
|
|
2264
|
+
"flex",
|
|
2265
|
+
"direction",
|
|
2266
|
+
"justify",
|
|
2267
|
+
"align",
|
|
2268
|
+
"wrap",
|
|
2269
|
+
// Decoration
|
|
2270
|
+
"bg",
|
|
2271
|
+
"border",
|
|
2272
|
+
"rounded"
|
|
2273
|
+
];
|
|
2274
|
+
var INTERACTIVE_ATTRIBUTES = [
|
|
2275
|
+
"navigate",
|
|
2276
|
+
"opens",
|
|
2277
|
+
"toggles",
|
|
2278
|
+
"action",
|
|
2279
|
+
"on"
|
|
2280
|
+
];
|
|
2281
|
+
|
|
2282
|
+
// src/spec/components.ts
|
|
2283
|
+
var COMPONENT_METADATA = {
|
|
2284
|
+
// ============================================
|
|
2285
|
+
// Layout Components
|
|
2286
|
+
// ============================================
|
|
2287
|
+
page: {
|
|
2288
|
+
category: "layout",
|
|
2289
|
+
attributes: [
|
|
2290
|
+
// `visibleWhen` / `enabledWhen` are filtered out of the spread rather than
|
|
2291
|
+
// inherited. They are guarded *outcomes*: the renderer emits
|
|
2292
|
+
// `data-wf-visible-when` / `data-wf-enabled-when` from the component path,
|
|
2293
|
+
// and the site runtime toggles the element they land on. A page is the
|
|
2294
|
+
// board that path renders *into* — nothing emits the attribute for it and
|
|
2295
|
+
// nothing would toggle it, so declaring it would let an author write a
|
|
2296
|
+
// guard on a page, pass `validate()`, and have the value silently dropped.
|
|
2297
|
+
// `when` is filtered out alongside the guards, for a reason of its own: a
|
|
2298
|
+
// page *is* a board, so scoping one to a variant would be a board saying
|
|
2299
|
+
// which board it is drawn on. The axis a page declares is `variants`, and
|
|
2300
|
+
// `when` names positions along it — the two sit at different levels and a
|
|
2301
|
+
// page carrying both would be asking `expandVariants` to filter a page
|
|
2302
|
+
// against a name it is itself the source of.
|
|
2303
|
+
...BOX_ATTRIBUTES.filter(
|
|
2304
|
+
(name) => name !== "visibleWhen" && name !== "enabledWhen" && name !== "when"
|
|
2305
|
+
),
|
|
2306
|
+
...CONTAINER_ATTRIBUTES,
|
|
2307
|
+
"id",
|
|
2308
|
+
"title",
|
|
2309
|
+
"width",
|
|
2310
|
+
"height",
|
|
2311
|
+
"viewport",
|
|
2312
|
+
"device",
|
|
2313
|
+
"centered",
|
|
2314
|
+
"uses",
|
|
2315
|
+
"states",
|
|
2316
|
+
"variants"
|
|
2317
|
+
],
|
|
2318
|
+
hasChildren: true,
|
|
2319
|
+
description: "Root container for a wireframe page. Multiple pages in one .wf file lay out side-by-side on a canvas; use at(x, y) for explicit placement, or omit for auto-flow. Give it uses=<layout> to draw it inside a shared layout instead of restating the shell."
|
|
2320
|
+
},
|
|
2321
|
+
// ============================================
|
|
2322
|
+
// Structure Definitions
|
|
2323
|
+
// ============================================
|
|
2324
|
+
layout: {
|
|
2325
|
+
category: "structure",
|
|
2326
|
+
attributes: ["states"],
|
|
2327
|
+
hasChildren: true,
|
|
2328
|
+
description: "Define a page shell once, under a name, so pages can reference it with uses= instead of repeating it. Mark where a referencing page's own content goes with slot: `layout app { header { \u2026 } slot footer { \u2026 } }`."
|
|
2329
|
+
},
|
|
2330
|
+
component: {
|
|
2331
|
+
category: "structure",
|
|
2332
|
+
attributes: [],
|
|
2333
|
+
hasChildren: true,
|
|
2334
|
+
description: "Define a named, reusable fragment with typed parameters and named slots so screens can invoke it explicitly."
|
|
2335
|
+
},
|
|
2336
|
+
use: {
|
|
2337
|
+
category: "structure",
|
|
2338
|
+
attributes: [],
|
|
2339
|
+
hasChildren: true,
|
|
2340
|
+
description: "Invoke a reusable component with named typed inputs and optional named slot fills. This is distinct from page uses=, which continues to reference layouts."
|
|
2341
|
+
},
|
|
2342
|
+
slot: {
|
|
2343
|
+
category: "structure",
|
|
2344
|
+
attributes: [],
|
|
2345
|
+
hasChildren: false,
|
|
2346
|
+
description: "Mark content insertion: bare inside a layout, or named inside a reusable component."
|
|
2347
|
+
},
|
|
2348
|
+
repeat: {
|
|
2349
|
+
category: "structure",
|
|
2350
|
+
attributes: [],
|
|
2351
|
+
hasChildren: true,
|
|
2352
|
+
description: "Draw the same body a fixed number of times: `repeat 6 { use skeletonCard() }`. The count is positional, and there is deliberately no index variable \u2014 every copy is identical, because copies that differ are data binding rather than a wireframe."
|
|
2353
|
+
},
|
|
2354
|
+
header: {
|
|
2355
|
+
category: "layout",
|
|
2356
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
|
|
2357
|
+
hasChildren: true,
|
|
2358
|
+
description: "Page header section"
|
|
2359
|
+
},
|
|
2360
|
+
main: {
|
|
2361
|
+
category: "layout",
|
|
2362
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "scroll"],
|
|
2363
|
+
hasChildren: true,
|
|
2364
|
+
description: "Main content section"
|
|
2365
|
+
},
|
|
2366
|
+
footer: {
|
|
2367
|
+
category: "layout",
|
|
2368
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
|
|
2369
|
+
hasChildren: true,
|
|
2370
|
+
description: "Page footer section"
|
|
2371
|
+
},
|
|
2372
|
+
sidebar: {
|
|
2373
|
+
category: "layout",
|
|
2374
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "position"],
|
|
2375
|
+
hasChildren: true,
|
|
2376
|
+
description: "Side navigation or content area"
|
|
2377
|
+
},
|
|
2378
|
+
section: {
|
|
2379
|
+
category: "layout",
|
|
2380
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "title", "expanded"],
|
|
2381
|
+
hasChildren: true,
|
|
2382
|
+
description: "Grouped content section"
|
|
2383
|
+
},
|
|
2384
|
+
// ============================================
|
|
2385
|
+
// Grid Components
|
|
2386
|
+
// ============================================
|
|
2387
|
+
row: {
|
|
2388
|
+
category: "grid",
|
|
2389
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
|
|
2390
|
+
hasChildren: true,
|
|
2391
|
+
description: "Horizontal flex container"
|
|
2392
|
+
},
|
|
2393
|
+
col: {
|
|
2394
|
+
category: "grid",
|
|
2395
|
+
attributes: [
|
|
2396
|
+
...BOX_ATTRIBUTES,
|
|
2397
|
+
...CONTAINER_ATTRIBUTES,
|
|
2398
|
+
// `span` sizes a grid column and does nothing on any other element, so it
|
|
2399
|
+
// is declared on the one element that reads it rather than on every one.
|
|
2400
|
+
"span",
|
|
2401
|
+
"sm",
|
|
2402
|
+
"md",
|
|
2403
|
+
"lg",
|
|
2404
|
+
"xl",
|
|
2405
|
+
"order",
|
|
2406
|
+
"scroll"
|
|
2407
|
+
],
|
|
2408
|
+
hasChildren: true,
|
|
2409
|
+
description: "Vertical flex container or grid column"
|
|
2410
|
+
},
|
|
2411
|
+
stack: {
|
|
2412
|
+
category: "grid",
|
|
2413
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
|
|
2414
|
+
hasChildren: true,
|
|
2415
|
+
description: "Vertical stack that only takes content height (unlike col which fills)"
|
|
2416
|
+
},
|
|
2417
|
+
relative: {
|
|
2418
|
+
category: "grid",
|
|
2419
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
|
|
2420
|
+
hasChildren: true,
|
|
2421
|
+
description: "Container for overlaying elements with absolute positioning"
|
|
2422
|
+
},
|
|
2423
|
+
// ============================================
|
|
2424
|
+
// Container Components
|
|
2425
|
+
// ============================================
|
|
2426
|
+
card: {
|
|
2427
|
+
category: "container",
|
|
2428
|
+
attributes: [
|
|
2429
|
+
...BOX_ATTRIBUTES,
|
|
2430
|
+
...CONTAINER_ATTRIBUTES,
|
|
2431
|
+
...INTERACTIVE_ATTRIBUTES,
|
|
2432
|
+
"title",
|
|
2433
|
+
"shadow"
|
|
2434
|
+
],
|
|
2435
|
+
hasChildren: true,
|
|
2436
|
+
description: "Card container with optional title"
|
|
2437
|
+
},
|
|
2438
|
+
modal: {
|
|
2439
|
+
category: "container",
|
|
2440
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "id", "title"],
|
|
2441
|
+
hasChildren: true,
|
|
2442
|
+
description: "Modal dialog overlay"
|
|
2443
|
+
},
|
|
2444
|
+
drawer: {
|
|
2445
|
+
category: "container",
|
|
2446
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "id", "title", "position"],
|
|
2447
|
+
hasChildren: true,
|
|
2448
|
+
description: "Slide-in drawer panel"
|
|
2449
|
+
},
|
|
2450
|
+
accordion: {
|
|
2451
|
+
category: "container",
|
|
2452
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "title"],
|
|
2453
|
+
hasChildren: true,
|
|
2454
|
+
description: "Collapsible sections container"
|
|
2455
|
+
},
|
|
2456
|
+
// ============================================
|
|
2457
|
+
// Text Components
|
|
2458
|
+
// ============================================
|
|
2459
|
+
text: {
|
|
2460
|
+
category: "text",
|
|
2461
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "size", "weight", "muted", "bold"],
|
|
2462
|
+
hasChildren: false,
|
|
2463
|
+
description: "Text content"
|
|
2464
|
+
},
|
|
2465
|
+
title: {
|
|
2466
|
+
category: "text",
|
|
2467
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "level", "size"],
|
|
2468
|
+
hasChildren: false,
|
|
2469
|
+
description: "Heading element (h1-h6)"
|
|
2470
|
+
},
|
|
2471
|
+
link: {
|
|
2472
|
+
category: "text",
|
|
2473
|
+
attributes: [
|
|
2474
|
+
...BOX_ATTRIBUTES,
|
|
2475
|
+
...CONTAINER_ATTRIBUTES,
|
|
2476
|
+
...INTERACTIVE_ATTRIBUTES,
|
|
2477
|
+
"href",
|
|
2478
|
+
"external"
|
|
2479
|
+
],
|
|
2480
|
+
hasChildren: false,
|
|
2481
|
+
description: "Hyperlink text"
|
|
2482
|
+
},
|
|
2483
|
+
// ============================================
|
|
2484
|
+
// Input Components
|
|
2485
|
+
// ============================================
|
|
2486
|
+
input: {
|
|
2487
|
+
category: "input",
|
|
2488
|
+
attributes: [
|
|
2489
|
+
...BOX_ATTRIBUTES,
|
|
2490
|
+
...CONTAINER_ATTRIBUTES,
|
|
2491
|
+
"label",
|
|
2492
|
+
"inputType",
|
|
2493
|
+
"placeholder",
|
|
2494
|
+
"value",
|
|
2495
|
+
"disabled",
|
|
2496
|
+
"required",
|
|
2497
|
+
"readonly",
|
|
2498
|
+
"icon",
|
|
2499
|
+
"size"
|
|
2500
|
+
],
|
|
2501
|
+
hasChildren: false,
|
|
2502
|
+
description: "Text input field"
|
|
2503
|
+
},
|
|
2504
|
+
textarea: {
|
|
2505
|
+
category: "input",
|
|
2506
|
+
attributes: [
|
|
2507
|
+
...BOX_ATTRIBUTES,
|
|
2508
|
+
...CONTAINER_ATTRIBUTES,
|
|
2509
|
+
"label",
|
|
2510
|
+
"placeholder",
|
|
2511
|
+
"value",
|
|
2512
|
+
"rows",
|
|
2513
|
+
"disabled",
|
|
2514
|
+
"required"
|
|
2515
|
+
],
|
|
2516
|
+
hasChildren: false,
|
|
2517
|
+
description: "Multi-line text input"
|
|
2518
|
+
},
|
|
2519
|
+
select: {
|
|
2520
|
+
category: "input",
|
|
2521
|
+
attributes: [
|
|
2522
|
+
...BOX_ATTRIBUTES,
|
|
2523
|
+
...CONTAINER_ATTRIBUTES,
|
|
2524
|
+
"label",
|
|
2525
|
+
"placeholder",
|
|
2526
|
+
"value",
|
|
2527
|
+
"disabled",
|
|
2528
|
+
"required"
|
|
2529
|
+
],
|
|
2530
|
+
hasChildren: false,
|
|
2531
|
+
description: "Dropdown select"
|
|
2532
|
+
},
|
|
2533
|
+
checkbox: {
|
|
2534
|
+
category: "input",
|
|
2535
|
+
attributes: [...BOX_ATTRIBUTES, "label", "checked", "disabled"],
|
|
2536
|
+
hasChildren: false,
|
|
2537
|
+
description: "Checkbox input"
|
|
2538
|
+
},
|
|
2539
|
+
radio: {
|
|
2540
|
+
category: "input",
|
|
2541
|
+
attributes: [...BOX_ATTRIBUTES, "label", "name", "checked", "disabled"],
|
|
2542
|
+
hasChildren: false,
|
|
2543
|
+
description: "Radio button input"
|
|
2544
|
+
},
|
|
2545
|
+
switch: {
|
|
2546
|
+
category: "input",
|
|
2547
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "label", "checked", "disabled"],
|
|
2548
|
+
hasChildren: false,
|
|
2549
|
+
description: "Toggle switch"
|
|
2550
|
+
},
|
|
2551
|
+
slider: {
|
|
2552
|
+
category: "input",
|
|
2553
|
+
attributes: [
|
|
2554
|
+
...BOX_ATTRIBUTES,
|
|
2555
|
+
...CONTAINER_ATTRIBUTES,
|
|
2556
|
+
"label",
|
|
2557
|
+
"min",
|
|
2558
|
+
"max",
|
|
2559
|
+
"value",
|
|
2560
|
+
"step",
|
|
2561
|
+
"disabled"
|
|
2562
|
+
],
|
|
2563
|
+
hasChildren: false,
|
|
2564
|
+
description: "Range slider"
|
|
2565
|
+
},
|
|
2566
|
+
button: {
|
|
2567
|
+
category: "input",
|
|
2568
|
+
attributes: [
|
|
2569
|
+
...BOX_ATTRIBUTES,
|
|
2570
|
+
...CONTAINER_ATTRIBUTES,
|
|
2571
|
+
...INTERACTIVE_ATTRIBUTES,
|
|
2572
|
+
"primary",
|
|
2573
|
+
"secondary",
|
|
2574
|
+
"outline",
|
|
2575
|
+
"ghost",
|
|
2576
|
+
"danger",
|
|
2577
|
+
"size",
|
|
2578
|
+
"icon",
|
|
2579
|
+
"disabled",
|
|
2580
|
+
"loading",
|
|
2581
|
+
// Accessibility: give icon-only buttons an accessible name / tooltip
|
|
2582
|
+
"aria",
|
|
2583
|
+
"aria-label",
|
|
2584
|
+
"title"
|
|
2585
|
+
],
|
|
2586
|
+
hasChildren: false,
|
|
2587
|
+
description: "Clickable button"
|
|
2588
|
+
},
|
|
2589
|
+
// ============================================
|
|
2590
|
+
// Display Components
|
|
2591
|
+
// ============================================
|
|
2592
|
+
image: {
|
|
2593
|
+
category: "display",
|
|
2594
|
+
attributes: [
|
|
2595
|
+
...BOX_ATTRIBUTES,
|
|
2596
|
+
...CONTAINER_ATTRIBUTES,
|
|
2597
|
+
...INTERACTIVE_ATTRIBUTES,
|
|
2598
|
+
"src",
|
|
2599
|
+
"alt"
|
|
2600
|
+
],
|
|
2601
|
+
hasChildren: false,
|
|
2602
|
+
description: "Image placeholder"
|
|
2603
|
+
},
|
|
2604
|
+
placeholder: {
|
|
2605
|
+
category: "display",
|
|
2606
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "label"],
|
|
2607
|
+
hasChildren: true,
|
|
2608
|
+
description: "Generic placeholder"
|
|
2609
|
+
},
|
|
2610
|
+
avatar: {
|
|
2611
|
+
category: "display",
|
|
2612
|
+
attributes: [
|
|
2613
|
+
...BOX_ATTRIBUTES,
|
|
2614
|
+
...CONTAINER_ATTRIBUTES,
|
|
2615
|
+
...INTERACTIVE_ATTRIBUTES,
|
|
2616
|
+
"name",
|
|
2617
|
+
"size"
|
|
2618
|
+
],
|
|
2619
|
+
hasChildren: false,
|
|
2620
|
+
description: "User avatar"
|
|
2621
|
+
},
|
|
2622
|
+
badge: {
|
|
2623
|
+
category: "display",
|
|
2624
|
+
attributes: [
|
|
2625
|
+
...BOX_ATTRIBUTES,
|
|
2626
|
+
...CONTAINER_ATTRIBUTES,
|
|
2627
|
+
...INTERACTIVE_ATTRIBUTES,
|
|
2628
|
+
"variant",
|
|
2629
|
+
"pill",
|
|
2630
|
+
"icon",
|
|
2631
|
+
"size",
|
|
2632
|
+
"anchor"
|
|
2633
|
+
],
|
|
2634
|
+
hasChildren: false,
|
|
2635
|
+
description: "Status badge"
|
|
2636
|
+
},
|
|
2637
|
+
icon: {
|
|
2638
|
+
category: "display",
|
|
2639
|
+
attributes: [
|
|
2640
|
+
...BOX_ATTRIBUTES,
|
|
2641
|
+
...CONTAINER_ATTRIBUTES,
|
|
2642
|
+
...INTERACTIVE_ATTRIBUTES,
|
|
2643
|
+
"name",
|
|
2644
|
+
"size",
|
|
2645
|
+
"muted"
|
|
2646
|
+
],
|
|
2647
|
+
hasChildren: false,
|
|
2648
|
+
description: "Lucide icon"
|
|
2649
|
+
},
|
|
2650
|
+
// ============================================
|
|
2651
|
+
// Data Components
|
|
2652
|
+
// ============================================
|
|
2653
|
+
table: {
|
|
2654
|
+
category: "data",
|
|
2655
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "striped", "bordered", "hover"],
|
|
2656
|
+
hasChildren: false,
|
|
2657
|
+
description: "Data table"
|
|
2658
|
+
},
|
|
2659
|
+
list: {
|
|
2660
|
+
category: "data",
|
|
2661
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "ordered", "none"],
|
|
2662
|
+
hasChildren: false,
|
|
2663
|
+
description: "List of items"
|
|
2664
|
+
},
|
|
2665
|
+
// ============================================
|
|
2666
|
+
// Feedback Components
|
|
2667
|
+
// ============================================
|
|
2668
|
+
alert: {
|
|
2669
|
+
category: "feedback",
|
|
2670
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "variant", "dismissible", "icon"],
|
|
2671
|
+
hasChildren: false,
|
|
2672
|
+
description: "Alert message"
|
|
2673
|
+
},
|
|
2674
|
+
toast: {
|
|
2675
|
+
category: "feedback",
|
|
2676
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "position", "variant"],
|
|
2677
|
+
hasChildren: false,
|
|
2678
|
+
description: "Toast notification"
|
|
2679
|
+
},
|
|
2680
|
+
progress: {
|
|
2681
|
+
category: "feedback",
|
|
2682
|
+
attributes: [
|
|
2683
|
+
...BOX_ATTRIBUTES,
|
|
2684
|
+
...CONTAINER_ATTRIBUTES,
|
|
2685
|
+
"value",
|
|
2686
|
+
"max",
|
|
2687
|
+
"label",
|
|
2688
|
+
"indeterminate"
|
|
2689
|
+
],
|
|
2690
|
+
hasChildren: false,
|
|
2691
|
+
description: "Progress bar"
|
|
2692
|
+
},
|
|
2693
|
+
spinner: {
|
|
2694
|
+
category: "feedback",
|
|
2695
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "label", "size"],
|
|
2696
|
+
hasChildren: false,
|
|
2697
|
+
description: "Loading spinner"
|
|
2698
|
+
},
|
|
2699
|
+
// ============================================
|
|
2700
|
+
// Overlay Components
|
|
2701
|
+
// ============================================
|
|
2702
|
+
tooltip: {
|
|
2703
|
+
category: "overlay",
|
|
2704
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "position"],
|
|
2705
|
+
hasChildren: false,
|
|
2706
|
+
description: "Tooltip on hover"
|
|
2707
|
+
},
|
|
2708
|
+
popover: {
|
|
2709
|
+
category: "overlay",
|
|
2710
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "title"],
|
|
2711
|
+
hasChildren: true,
|
|
2712
|
+
description: "Popover panel"
|
|
2713
|
+
},
|
|
2714
|
+
dropdown: {
|
|
2715
|
+
category: "overlay",
|
|
2716
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
|
|
2717
|
+
hasChildren: false,
|
|
2718
|
+
description: "Dropdown menu"
|
|
2719
|
+
},
|
|
2720
|
+
// ============================================
|
|
2721
|
+
// Navigation Components
|
|
2722
|
+
// ============================================
|
|
2723
|
+
nav: {
|
|
2724
|
+
category: "navigation",
|
|
2725
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "vertical"],
|
|
2726
|
+
hasChildren: false,
|
|
2727
|
+
description: "Navigation menu"
|
|
2728
|
+
},
|
|
2729
|
+
tabs: {
|
|
2730
|
+
category: "navigation",
|
|
2731
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES, "active"],
|
|
2732
|
+
hasChildren: true,
|
|
2733
|
+
description: "Tab navigation"
|
|
2734
|
+
},
|
|
2735
|
+
breadcrumb: {
|
|
2736
|
+
category: "navigation",
|
|
2737
|
+
attributes: [...BOX_ATTRIBUTES, ...CONTAINER_ATTRIBUTES],
|
|
2738
|
+
hasChildren: false,
|
|
2739
|
+
description: "Breadcrumb navigation"
|
|
2740
|
+
},
|
|
2741
|
+
// ============================================
|
|
2742
|
+
// Divider Component
|
|
2743
|
+
// ============================================
|
|
2744
|
+
divider: {
|
|
2745
|
+
category: "layout",
|
|
2746
|
+
attributes: [...BOX_ATTRIBUTES, "vertical"],
|
|
2747
|
+
hasChildren: false,
|
|
2748
|
+
description: "Horizontal separator"
|
|
2749
|
+
},
|
|
2750
|
+
// ============================================
|
|
2751
|
+
// Annotation Components
|
|
2752
|
+
// ============================================
|
|
2753
|
+
marker: {
|
|
2754
|
+
category: "annotation",
|
|
2755
|
+
attributes: [...BOX_ATTRIBUTES, "color", "anchor"],
|
|
2756
|
+
hasChildren: false,
|
|
2757
|
+
description: "Number marker for referencing in annotations"
|
|
2758
|
+
},
|
|
2759
|
+
annotations: {
|
|
2760
|
+
category: "annotation",
|
|
2761
|
+
attributes: [...BOX_ATTRIBUTES, "title"],
|
|
2762
|
+
hasChildren: true,
|
|
2763
|
+
description: "Documentation panel for screen specifications"
|
|
2764
|
+
},
|
|
2765
|
+
item: {
|
|
2766
|
+
category: "annotation",
|
|
2767
|
+
attributes: [],
|
|
2768
|
+
hasChildren: true,
|
|
2769
|
+
description: "Individual annotation entry with marker number and title"
|
|
2770
|
+
}
|
|
2771
|
+
};
|
|
2772
|
+
var COMPONENT_NAMES = Object.keys(COMPONENT_METADATA);
|
|
2773
|
+
var COMPONENT_SPECS = COMPONENT_NAMES.map((name) => ({
|
|
2774
|
+
name,
|
|
2775
|
+
nodeType: GRAMMAR_ELEMENTS[name],
|
|
2776
|
+
...COMPONENT_METADATA[name]
|
|
2777
|
+
}));
|
|
2778
|
+
var VALID_COMPONENT_NAMES = new Set(COMPONENT_NAMES);
|
|
2779
|
+
var COMPONENT_MAP = new Map(
|
|
2780
|
+
COMPONENT_SPECS.map((comp) => [comp.name, comp])
|
|
2781
|
+
);
|
|
2782
|
+
var BLOCK_NODE_METADATA = {
|
|
2783
|
+
NavItem: {
|
|
2784
|
+
keyword: "item",
|
|
2785
|
+
category: "navigation",
|
|
2786
|
+
attributes: [...INTERACTIVE_ATTRIBUTES, "icon", "href", "active", "disabled"],
|
|
2787
|
+
hasChildren: false,
|
|
2788
|
+
description: "Navigation entry inside a nav block"
|
|
2789
|
+
},
|
|
2790
|
+
NavGroup: {
|
|
2791
|
+
keyword: "group",
|
|
2792
|
+
category: "navigation",
|
|
2793
|
+
attributes: [],
|
|
2794
|
+
hasChildren: true,
|
|
2795
|
+
description: "Labelled group of navigation entries inside a nav block"
|
|
2796
|
+
},
|
|
2797
|
+
DropdownItem: {
|
|
2798
|
+
keyword: "item",
|
|
2799
|
+
category: "overlay",
|
|
2800
|
+
attributes: [...INTERACTIVE_ATTRIBUTES, "icon", "href", "danger", "disabled"],
|
|
2801
|
+
hasChildren: false,
|
|
2802
|
+
description: "Menu entry inside a dropdown"
|
|
2803
|
+
},
|
|
2804
|
+
ListItem: {
|
|
2805
|
+
keyword: "item",
|
|
2806
|
+
category: "data",
|
|
2807
|
+
attributes: ["icon"],
|
|
2808
|
+
hasChildren: true,
|
|
2809
|
+
description: "Entry inside a list block, optionally nesting a further list"
|
|
2810
|
+
}
|
|
2811
|
+
};
|
|
2812
|
+
var BLOCK_NODE_SPECS = GRAMMAR_BLOCK_NODE_TYPES.map(
|
|
2813
|
+
(nodeType) => {
|
|
2814
|
+
const { keyword, ...metadata } = BLOCK_NODE_METADATA[nodeType];
|
|
2815
|
+
return { name: keyword, nodeType, ...metadata };
|
|
2816
|
+
}
|
|
2817
|
+
);
|
|
2818
|
+
var NODE_TYPE_MAP = new Map(
|
|
2819
|
+
[...COMPONENT_SPECS, ...BLOCK_NODE_SPECS].map((comp) => [comp.nodeType, comp])
|
|
2820
|
+
);
|
|
2821
|
+
var ELEMENT_NODE_TYPE_MAP = new Map(
|
|
2822
|
+
COMPONENT_SPECS.map((comp) => [comp.nodeType, comp])
|
|
2823
|
+
);
|
|
2824
|
+
var COMPONENT_SPEC_BY_NAME = Object.fromEntries(COMPONENT_SPECS.map((comp) => [comp.name, comp]));
|
|
2825
|
+
function getValidAttributes(componentNameOrType) {
|
|
2826
|
+
var _a;
|
|
2827
|
+
const spec = (_a = COMPONENT_MAP.get(componentNameOrType)) != null ? _a : NODE_TYPE_MAP.get(componentNameOrType);
|
|
2828
|
+
return spec == null ? void 0 : spec.attributes;
|
|
2829
|
+
}
|
|
2830
|
+
function isValidAttribute(componentNameOrType, attributeName) {
|
|
2831
|
+
const validAttrs = getValidAttributes(componentNameOrType);
|
|
2832
|
+
if (!validAttrs) return false;
|
|
2833
|
+
return validAttrs.includes(attributeName);
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
// src/spec/attribute-overrides.ts
|
|
2837
|
+
var GLYPH_NAME = {
|
|
2838
|
+
type: "enum",
|
|
2839
|
+
values: LUCIDE_ICON_NAMES,
|
|
2840
|
+
description: "Icon name, from the Lucide set"
|
|
2841
|
+
};
|
|
2842
|
+
var GLYPH_VALUED_ATTRIBUTES = ["icon"];
|
|
2843
|
+
var GLYPH_VALUED_PAIRS = [
|
|
2844
|
+
["Icon", "name"]
|
|
2845
|
+
];
|
|
2846
|
+
function buildOverrides() {
|
|
2847
|
+
const overrides = {};
|
|
2848
|
+
const put = (nodeType, attribute, override) => {
|
|
2849
|
+
var _a;
|
|
2850
|
+
(_a = overrides[nodeType]) != null ? _a : overrides[nodeType] = {};
|
|
2851
|
+
overrides[nodeType][attribute] = override;
|
|
2852
|
+
};
|
|
2853
|
+
for (const spec of [...COMPONENT_SPECS, ...BLOCK_NODE_SPECS]) {
|
|
2854
|
+
for (const attribute of GLYPH_VALUED_ATTRIBUTES) {
|
|
2855
|
+
if (spec.attributes.includes(attribute)) put(spec.nodeType, attribute, GLYPH_NAME);
|
|
2856
|
+
}
|
|
2857
|
+
}
|
|
2858
|
+
for (const [nodeType, attribute] of GLYPH_VALUED_PAIRS) {
|
|
2859
|
+
put(nodeType, attribute, GLYPH_NAME);
|
|
2860
|
+
}
|
|
2861
|
+
return overrides;
|
|
2862
|
+
}
|
|
2863
|
+
var ATTRIBUTE_OVERRIDES = buildOverrides();
|
|
2864
|
+
function attributeFor(componentNameOrType, attributeName) {
|
|
2865
|
+
var _a, _b;
|
|
2866
|
+
const spec = (_a = COMPONENT_MAP.get(componentNameOrType)) != null ? _a : NODE_TYPE_MAP.get(componentNameOrType);
|
|
2867
|
+
if (!(spec == null ? void 0 : spec.attributes.includes(attributeName))) return void 0;
|
|
2868
|
+
const base = ATTRIBUTE_MAP.get(attributeName);
|
|
2869
|
+
if (!base) return void 0;
|
|
2870
|
+
const override = (_b = ATTRIBUTE_OVERRIDES[spec.nodeType]) == null ? void 0 : _b[attributeName];
|
|
2871
|
+
return override ? { ...base, ...override } : base;
|
|
2872
|
+
}
|
|
2873
|
+
|
|
2874
|
+
|
|
2875
|
+
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
|
|
2882
|
+
|
|
2883
|
+
|
|
2884
|
+
|
|
2885
|
+
|
|
2886
|
+
|
|
2887
|
+
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
|
|
2895
|
+
|
|
2896
|
+
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
|
|
2904
|
+
|
|
2905
|
+
exports.GRAMMAR_ELEMENTS = GRAMMAR_ELEMENTS; exports.GRAMMAR_BLOCK_NODE_TYPES = GRAMMAR_BLOCK_NODE_TYPES; exports.GRAMMAR_CHILD_KEYWORDS = GRAMMAR_CHILD_KEYWORDS; exports.DEVICE_PRESETS = DEVICE_PRESETS; exports.DEFAULT_VIEWPORT = DEFAULT_VIEWPORT; exports.parseViewportString = parseViewportString; exports.resolveViewport = resolveViewport; exports.getDevicePresets = getDevicePresets; exports.isValidDevicePreset = isValidDevicePreset; exports.calculateViewportScale = calculateViewportScale; exports.wrapInPreviewContainer = wrapInPreviewContainer; exports.LUCIDE_ICON_NAMES = LUCIDE_ICON_NAMES; exports.ATTRIBUTE_SPECS = ATTRIBUTE_SPECS; exports.VALID_ATTRIBUTE_NAMES = VALID_ATTRIBUTE_NAMES; exports.ATTRIBUTE_MAP = ATTRIBUTE_MAP; exports.BOX_ATTRIBUTES = BOX_ATTRIBUTES; exports.CONTAINER_ATTRIBUTES = CONTAINER_ATTRIBUTES; exports.INTERACTIVE_ATTRIBUTES = INTERACTIVE_ATTRIBUTES; exports.COMPONENT_NAMES = COMPONENT_NAMES; exports.COMPONENT_SPECS = COMPONENT_SPECS; exports.VALID_COMPONENT_NAMES = VALID_COMPONENT_NAMES; exports.COMPONENT_MAP = COMPONENT_MAP; exports.BLOCK_NODE_SPECS = BLOCK_NODE_SPECS; exports.NODE_TYPE_MAP = NODE_TYPE_MAP; exports.ELEMENT_NODE_TYPE_MAP = ELEMENT_NODE_TYPE_MAP; exports.COMPONENT_SPEC_BY_NAME = COMPONENT_SPEC_BY_NAME; exports.getValidAttributes = getValidAttributes; exports.isValidAttribute = isValidAttribute; exports.ATTRIBUTE_OVERRIDES = ATTRIBUTE_OVERRIDES; exports.attributeFor = attributeFor;
|