@booki-aui/icons 0.0.0-stage → 0.4.3
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/CHANGELOG.md +7 -0
- package/COVERAGE.md +185 -0
- package/LICENSE +21 -0
- package/README.md +46 -2
- package/agent-cursor.svg +1 -0
- package/archive.svg +1 -0
- package/arrow-right.svg +1 -0
- package/arrow-uturn.svg +1 -0
- package/arrows-exchange.svg +1 -0
- package/badge-check.svg +1 -0
- package/bank.svg +1 -0
- package/banknote.svg +1 -0
- package/barcode.svg +1 -0
- package/bell.svg +1 -0
- package/bolt.svg +1 -0
- package/book.svg +1 -0
- package/bot.svg +1 -0
- package/briefcase.svg +1 -0
- package/building.svg +1 -0
- package/calculator.svg +1 -0
- package/calendar-check.svg +1 -0
- package/calendar-dot.svg +1 -0
- package/calendar-range.svg +1 -0
- package/calendar.svg +1 -0
- package/camera.svg +1 -0
- package/cart.svg +1 -0
- package/chart-bar-stacked.svg +1 -0
- package/chart-bar.svg +1 -0
- package/chart-forecast.svg +1 -0
- package/chart-line-down.svg +1 -0
- package/chart-line.svg +1 -0
- package/chart-pie.svg +1 -0
- package/chart-waterfall.svg +1 -0
- package/chat-sparkle.svg +1 -0
- package/check.svg +1 -0
- package/chevron-down.svg +1 -0
- package/chevron-right.svg +1 -0
- package/circle-check.svg +1 -0
- package/circle-info.svg +1 -0
- package/circle-x.svg +1 -0
- package/clipboard.svg +1 -0
- package/clock.svg +1 -0
- package/code.svg +1 -0
- package/coins.svg +1 -0
- package/copy.svg +1 -0
- package/credit-card.svg +1 -0
- package/database.svg +1 -0
- package/dialog.svg +1 -0
- package/document-banknote.svg +1 -0
- package/document-check.svg +1 -0
- package/document-lines.svg +1 -0
- package/document-pen.svg +1 -0
- package/dots.svg +1 -0
- package/download.svg +1 -0
- package/envelope.svg +1 -0
- package/external-link.svg +1 -0
- package/eye-off.svg +1 -0
- package/eye.svg +1 -0
- package/fingerprint.svg +1 -0
- package/flag.svg +1 -0
- package/flask.svg +1 -0
- package/folder.svg +1 -0
- package/funnel.svg +1 -0
- package/gauge.svg +1 -0
- package/gavel.svg +1 -0
- package/gear.svg +1 -0
- package/globe.svg +1 -0
- package/hash.svg +1 -0
- package/history.svg +1 -0
- package/hourglass.svg +1 -0
- package/inbox.svg +1 -0
- package/input-field.svg +1 -0
- package/kanban.svg +1 -0
- package/key.svg +1 -0
- package/layers.svg +1 -0
- package/lib/index.d.ts +140 -0
- package/lib/index.js +563 -0
- package/lib/react.d.ts +262 -0
- package/lib/react.js +1115 -0
- package/link.svg +1 -0
- package/list-checks.svg +1 -0
- package/list-rows.svg +1 -0
- package/lock-open.svg +1 -0
- package/lock.svg +1 -0
- package/magnifier.svg +1 -0
- package/map.svg +1 -0
- package/octagon-pause.svg +1 -0
- package/package.json +57 -3
- package/package.svg +1 -0
- package/paper-plane.svg +1 -0
- package/paperclip.svg +1 -0
- package/pen-nib.svg +1 -0
- package/pencil.svg +1 -0
- package/percent.svg +1 -0
- package/play-window.svg +1 -0
- package/plug.svg +1 -0
- package/plus.svg +1 -0
- package/printer.svg +1 -0
- package/prompt.svg +1 -0
- package/puzzle.svg +1 -0
- package/receipt-minus.svg +1 -0
- package/receipt.svg +1 -0
- package/refresh.svg +1 -0
- package/repeat.svg +1 -0
- package/risk-matrix.svg +1 -0
- package/route.svg +1 -0
- package/sample.svg +1 -0
- package/scale.svg +1 -0
- package/scan.svg +1 -0
- package/shapes.svg +1 -0
- package/shield-check.svg +1 -0
- package/sitemap.svg +1 -0
- package/sliders.svg +1 -0
- package/sparkles.svg +1 -0
- package/speech-bubble.svg +1 -0
- package/stack.svg +1 -0
- package/stamp.svg +1 -0
- package/sticky-note.svg +1 -0
- package/stopwatch.svg +1 -0
- package/store.svg +1 -0
- package/table.svg +1 -0
- package/tag.svg +1 -0
- package/target.svg +1 -0
- package/timeline.svg +1 -0
- package/token.svg +1 -0
- package/trash.svg +1 -0
- package/triangle-alert.svg +1 -0
- package/truck.svg +1 -0
- package/upload.svg +1 -0
- package/wallet.svg +1 -0
- package/wrench.svg +1 -0
- package/x.svg +1 -0
package/input-field.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><g fill="currentColor" stroke="none" opacity="0.2"><path d="M12 6.25L19.75 6.25A1.5 1.5 0 0 1 21.25 7.75L21.25 16.25A1.5 1.5 0 0 1 19.75 17.75L4.25 17.75A1.5 1.5 0 0 1 2.75 16.25L2.75 7.75A1.5 1.5 0 0 1 4.25 6.25Z"/></g><path d="M12 6.25L19.75 6.25A1.5 1.5 0 0 1 21.25 7.75L21.25 16.25A1.5 1.5 0 0 1 19.75 17.75L4.25 17.75A1.5 1.5 0 0 1 2.75 16.25L2.75 7.75A1.5 1.5 0 0 1 4.25 6.25Z"/><path d="M6.25 12h3"/><path d="M12.75 9.75v4.5"/></svg>
|
package/kanban.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><g fill="currentColor" stroke="none" opacity="0.2"><path d="M12 3.75L18.75 3.75A1.5 1.5 0 0 1 20.25 5.25L20.25 18.75A1.5 1.5 0 0 1 18.75 20.25L5.25 20.25A1.5 1.5 0 0 1 3.75 18.75L3.75 5.25A1.5 1.5 0 0 1 5.25 3.75Z"/></g><path d="M12 3.75L18.75 3.75A1.5 1.5 0 0 1 20.25 5.25L20.25 18.75A1.5 1.5 0 0 1 18.75 20.25L5.25 20.25A1.5 1.5 0 0 1 3.75 18.75L3.75 5.25A1.5 1.5 0 0 1 5.25 3.75Z"/><path d="M7.75 7.75v8.5"/><path d="M12 7.75v4"/><path d="M16.25 7.75v6.5"/></svg>
|
package/key.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><g fill="currentColor" stroke="none" opacity="0.2"><circle cx="8" cy="16" r="5"/></g><circle cx="8" cy="16" r="5"/><path d="M11.536 12.464L19.043 4.957A1 1 0 0 1 20.457 4.957L22 6.5"/><path d="M15.75 8.25l2.25 2.25"/><path d="M8 16h.01"/></svg>
|
package/layers.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><g fill="currentColor" stroke="none" opacity="0.2"><path d="M10.25 7.25L15.25 7.25A1.5 1.5 0 0 1 16.75 8.75L16.75 18.75A1.5 1.5 0 0 1 15.25 20.25L5.25 20.25A1.5 1.5 0 0 1 3.75 18.75L3.75 8.75A1.5 1.5 0 0 1 5.25 7.25Z"/><path d="M7.25 7.25V5.25A1.5 1.5 0 0 1 8.75 3.75H18.75A1.5 1.5 0 0 1 20.25 5.25V15.25A1.5 1.5 0 0 1 18.75 16.75H16.75V8.75A1.5 1.5 0 0 0 15.25 7.25Z"/></g><path d="M10.25 7.25L15.25 7.25A1.5 1.5 0 0 1 16.75 8.75L16.75 18.75A1.5 1.5 0 0 1 15.25 20.25L5.25 20.25A1.5 1.5 0 0 1 3.75 18.75L3.75 8.75A1.5 1.5 0 0 1 5.25 7.25Z"/><path d="M7.25 7.25L7.25 5.25A1.5 1.5 0 0 1 8.75 3.75L18.75 3.75A1.5 1.5 0 0 1 20.25 5.25L20.25 15.25A1.5 1.5 0 0 1 18.75 16.75L16.75 16.75"/></svg>
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
// Generated by scripts/generate.mjs from the built SVGs. Do not edit.
|
|
2
|
+
|
|
3
|
+
export type IconName =
|
|
4
|
+
| "agent-cursor"
|
|
5
|
+
| "archive"
|
|
6
|
+
| "arrow-right"
|
|
7
|
+
| "arrow-uturn"
|
|
8
|
+
| "arrows-exchange"
|
|
9
|
+
| "badge-check"
|
|
10
|
+
| "bank"
|
|
11
|
+
| "banknote"
|
|
12
|
+
| "barcode"
|
|
13
|
+
| "bell"
|
|
14
|
+
| "bolt"
|
|
15
|
+
| "book"
|
|
16
|
+
| "bot"
|
|
17
|
+
| "briefcase"
|
|
18
|
+
| "building"
|
|
19
|
+
| "calculator"
|
|
20
|
+
| "calendar"
|
|
21
|
+
| "calendar-check"
|
|
22
|
+
| "calendar-dot"
|
|
23
|
+
| "calendar-range"
|
|
24
|
+
| "camera"
|
|
25
|
+
| "cart"
|
|
26
|
+
| "chart-bar"
|
|
27
|
+
| "chart-bar-stacked"
|
|
28
|
+
| "chart-forecast"
|
|
29
|
+
| "chart-line"
|
|
30
|
+
| "chart-line-down"
|
|
31
|
+
| "chart-pie"
|
|
32
|
+
| "chart-waterfall"
|
|
33
|
+
| "chat-sparkle"
|
|
34
|
+
| "check"
|
|
35
|
+
| "chevron-down"
|
|
36
|
+
| "chevron-right"
|
|
37
|
+
| "circle-check"
|
|
38
|
+
| "circle-info"
|
|
39
|
+
| "circle-x"
|
|
40
|
+
| "clipboard"
|
|
41
|
+
| "clock"
|
|
42
|
+
| "code"
|
|
43
|
+
| "coins"
|
|
44
|
+
| "copy"
|
|
45
|
+
| "credit-card"
|
|
46
|
+
| "database"
|
|
47
|
+
| "dialog"
|
|
48
|
+
| "document-banknote"
|
|
49
|
+
| "document-check"
|
|
50
|
+
| "document-lines"
|
|
51
|
+
| "document-pen"
|
|
52
|
+
| "dots"
|
|
53
|
+
| "download"
|
|
54
|
+
| "envelope"
|
|
55
|
+
| "external-link"
|
|
56
|
+
| "eye"
|
|
57
|
+
| "eye-off"
|
|
58
|
+
| "fingerprint"
|
|
59
|
+
| "flag"
|
|
60
|
+
| "flask"
|
|
61
|
+
| "folder"
|
|
62
|
+
| "funnel"
|
|
63
|
+
| "gauge"
|
|
64
|
+
| "gavel"
|
|
65
|
+
| "gear"
|
|
66
|
+
| "globe"
|
|
67
|
+
| "hash"
|
|
68
|
+
| "history"
|
|
69
|
+
| "hourglass"
|
|
70
|
+
| "inbox"
|
|
71
|
+
| "input-field"
|
|
72
|
+
| "kanban"
|
|
73
|
+
| "key"
|
|
74
|
+
| "layers"
|
|
75
|
+
| "link"
|
|
76
|
+
| "list-checks"
|
|
77
|
+
| "list-rows"
|
|
78
|
+
| "lock"
|
|
79
|
+
| "lock-open"
|
|
80
|
+
| "magnifier"
|
|
81
|
+
| "map"
|
|
82
|
+
| "octagon-pause"
|
|
83
|
+
| "package"
|
|
84
|
+
| "paper-plane"
|
|
85
|
+
| "paperclip"
|
|
86
|
+
| "pen-nib"
|
|
87
|
+
| "pencil"
|
|
88
|
+
| "percent"
|
|
89
|
+
| "play-window"
|
|
90
|
+
| "plug"
|
|
91
|
+
| "plus"
|
|
92
|
+
| "printer"
|
|
93
|
+
| "prompt"
|
|
94
|
+
| "puzzle"
|
|
95
|
+
| "receipt"
|
|
96
|
+
| "receipt-minus"
|
|
97
|
+
| "refresh"
|
|
98
|
+
| "repeat"
|
|
99
|
+
| "risk-matrix"
|
|
100
|
+
| "route"
|
|
101
|
+
| "sample"
|
|
102
|
+
| "scale"
|
|
103
|
+
| "scan"
|
|
104
|
+
| "shapes"
|
|
105
|
+
| "shield-check"
|
|
106
|
+
| "sitemap"
|
|
107
|
+
| "sliders"
|
|
108
|
+
| "sparkles"
|
|
109
|
+
| "speech-bubble"
|
|
110
|
+
| "stack"
|
|
111
|
+
| "stamp"
|
|
112
|
+
| "sticky-note"
|
|
113
|
+
| "stopwatch"
|
|
114
|
+
| "store"
|
|
115
|
+
| "table"
|
|
116
|
+
| "tag"
|
|
117
|
+
| "target"
|
|
118
|
+
| "timeline"
|
|
119
|
+
| "token"
|
|
120
|
+
| "trash"
|
|
121
|
+
| "triangle-alert"
|
|
122
|
+
| "truck"
|
|
123
|
+
| "upload"
|
|
124
|
+
| "wallet"
|
|
125
|
+
| "wrench"
|
|
126
|
+
| "x";
|
|
127
|
+
/** The attributes every icon's root <svg> carries. */
|
|
128
|
+
export declare const iconAttributes: Readonly<Record<string, string>>;
|
|
129
|
+
/** Each icon's inner markup, by name. */
|
|
130
|
+
export declare const icons: Readonly<Record<IconName, string>>;
|
|
131
|
+
/** The words each icon stands for in Booki (its pages and controls), for search. */
|
|
132
|
+
export declare const iconAliases: Readonly<Record<IconName, readonly string[]>>;
|
|
133
|
+
/** Every icon name. */
|
|
134
|
+
export declare const iconNames: readonly IconName[];
|
|
135
|
+
/** The themes the icons are grouped in, each icon in exactly one. */
|
|
136
|
+
export declare const iconCategories: readonly { id: string; en: string; nb: string; icons: readonly IconName[] }[];
|
|
137
|
+
/** The React component for an icon: `chart-bar` → `ChartBarIcon`. */
|
|
138
|
+
export declare function iconComponentName(name: IconName): string;
|
|
139
|
+
/** One icon as a complete SVG string. Throws on an unknown name, listing the names. */
|
|
140
|
+
export declare function iconSvg(name: IconName, size?: 16 | 20): string;
|