@malilion/block-ui-icons 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +18 -0
- package/dist/createPixelIcon.d.ts +28 -0
- package/dist/createPixelIcon.d.ts.map +1 -0
- package/dist/createPixelIcon.js +67 -0
- package/dist/createPixelIcon.js.map +1 -0
- package/dist/icons/hud.d.ts +5 -0
- package/dist/icons/hud.d.ts.map +1 -0
- package/dist/icons/hud.js +113 -0
- package/dist/icons/hud.js.map +1 -0
- package/dist/icons/items.d.ts +28 -0
- package/dist/icons/items.d.ts.map +1 -0
- package/dist/icons/items.js +577 -0
- package/dist/icons/items.js.map +1 -0
- package/dist/icons/navigation.d.ts +12 -0
- package/dist/icons/navigation.d.ts.map +1 -0
- package/dist/icons/navigation.js +236 -0
- package/dist/icons/navigation.js.map +1 -0
- package/dist/icons/ui.d.ts +16 -0
- package/dist/icons/ui.d.ts.map +1 -0
- package/dist/icons/ui.js +259 -0
- package/dist/icons/ui.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/palette.d.ts +93 -0
- package/dist/palette.d.ts.map +1 -0
- package/dist/palette.js +29 -0
- package/dist/palette.js.map +1 -0
- package/package.json +62 -0
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import { createPixelIcon } from "../createPixelIcon.js";
|
|
2
|
+
import { p } from "../palette.js";
|
|
3
|
+
//#region src/icons/navigation.ts
|
|
4
|
+
var HomeIcon = /*#__PURE__*/ createPixelIcon("HomeIcon", {
|
|
5
|
+
palette: {
|
|
6
|
+
k: p.outline,
|
|
7
|
+
r: p.redstoneLight,
|
|
8
|
+
R: p.redstone,
|
|
9
|
+
w: p.wood,
|
|
10
|
+
d: p.woodDark,
|
|
11
|
+
b: p.diamond
|
|
12
|
+
},
|
|
13
|
+
pixels: [
|
|
14
|
+
"................",
|
|
15
|
+
".......kk.......",
|
|
16
|
+
"......krrk......",
|
|
17
|
+
".....krrRRk.....",
|
|
18
|
+
"....krrrrRRk....",
|
|
19
|
+
"...krrrrrrRRk...",
|
|
20
|
+
"..krrrrrrrrRRk..",
|
|
21
|
+
".kkkkkkkkkkkkkk.",
|
|
22
|
+
"..kwwwwwwwwwwk..",
|
|
23
|
+
"..kwbbwwwwddwk..",
|
|
24
|
+
"..kwbbwwwwddwk..",
|
|
25
|
+
"..kwwwwwwwddwk..",
|
|
26
|
+
"..kwwwwwwwddwk..",
|
|
27
|
+
"..kwwwwwwwddwk..",
|
|
28
|
+
"..kkkkkkkkkkkk..",
|
|
29
|
+
"................"
|
|
30
|
+
]
|
|
31
|
+
});
|
|
32
|
+
var InventoryIcon = /*#__PURE__*/ createPixelIcon("InventoryIcon", {
|
|
33
|
+
palette: {
|
|
34
|
+
k: p.outline,
|
|
35
|
+
w: p.wood,
|
|
36
|
+
l: p.woodLight,
|
|
37
|
+
d: p.woodDark,
|
|
38
|
+
g: p.gold
|
|
39
|
+
},
|
|
40
|
+
pixels: [
|
|
41
|
+
"................",
|
|
42
|
+
"......kkkk......",
|
|
43
|
+
".....kddddk.....",
|
|
44
|
+
".....kd..dk.....",
|
|
45
|
+
"...kkkkkkkkkk...",
|
|
46
|
+
"..kllllllllllk..",
|
|
47
|
+
"..kwwwwwwwwwwk..",
|
|
48
|
+
"..kwwwwwwwwwwk..",
|
|
49
|
+
"..kkkkkggkkkkk..",
|
|
50
|
+
"..kwwwwggwwwwk..",
|
|
51
|
+
"..kwwwwwwwwwwk..",
|
|
52
|
+
"..kwwwwwwwwwwk..",
|
|
53
|
+
"..kwwwwwwwwwwk..",
|
|
54
|
+
"..kddddddddddk..",
|
|
55
|
+
"...kkkkkkkkkk...",
|
|
56
|
+
"................"
|
|
57
|
+
]
|
|
58
|
+
});
|
|
59
|
+
/** A 3 × 3 crafting grid holding a pickaxe recipe. */
|
|
60
|
+
var CraftingIcon = /*#__PURE__*/ createPixelIcon("CraftingIcon", {
|
|
61
|
+
palette: {
|
|
62
|
+
k: p.woodDark,
|
|
63
|
+
w: p.woodLight,
|
|
64
|
+
b: p.diamond,
|
|
65
|
+
s: p.sandDark
|
|
66
|
+
},
|
|
67
|
+
pixels: [
|
|
68
|
+
"................",
|
|
69
|
+
"................",
|
|
70
|
+
"..kkkkkkkkkkkkk.",
|
|
71
|
+
"..kwwwkwwwkwwwk.",
|
|
72
|
+
"..kwbwkwbwkwbwk.",
|
|
73
|
+
"..kwwwkwwwkwwwk.",
|
|
74
|
+
"..kkkkkkkkkkkkk.",
|
|
75
|
+
"..kwwwkwswkwwwk.",
|
|
76
|
+
"..kwwwkwswkwwwk.",
|
|
77
|
+
"..kwwwkwswkwwwk.",
|
|
78
|
+
"..kkkkkkkkkkkkk.",
|
|
79
|
+
"..kwwwkwswkwwwk.",
|
|
80
|
+
"..kwwwkwswkwwwk.",
|
|
81
|
+
"..kwwwkwswkwwwk.",
|
|
82
|
+
"..kkkkkkkkkkkkk.",
|
|
83
|
+
"................"
|
|
84
|
+
]
|
|
85
|
+
});
|
|
86
|
+
var grassBlockPixels = [
|
|
87
|
+
"......kkkk......",
|
|
88
|
+
"....kkggggkk....",
|
|
89
|
+
"..kkggGgggggkk..",
|
|
90
|
+
"kkgggggggGggggkk",
|
|
91
|
+
"kLLkkggggggkkRRk",
|
|
92
|
+
"kLLLLkkggkkRRRRk",
|
|
93
|
+
"kLLLLLLkkRRRRRRk",
|
|
94
|
+
"kLeLLeLLRRfRRfRk",
|
|
95
|
+
"keeLeeeeffRffffk",
|
|
96
|
+
"keeeeeeefffffffk",
|
|
97
|
+
"keeeeheefffffhfk",
|
|
98
|
+
"keeeeeeefffffffk",
|
|
99
|
+
"kkeeeeeeffffffkk",
|
|
100
|
+
"..kkeeeeffffkk..",
|
|
101
|
+
"....kkeeffkk....",
|
|
102
|
+
"......kkkk......"
|
|
103
|
+
];
|
|
104
|
+
var grassBlockPalette = {
|
|
105
|
+
k: p.outline,
|
|
106
|
+
g: p.grass,
|
|
107
|
+
G: p.grassLight,
|
|
108
|
+
L: p.grass,
|
|
109
|
+
R: p.grassDark,
|
|
110
|
+
e: p.dirt,
|
|
111
|
+
f: p.dirtDark,
|
|
112
|
+
h: p.dirtDark
|
|
113
|
+
};
|
|
114
|
+
var WorldIcon = /*#__PURE__*/ createPixelIcon("WorldIcon", {
|
|
115
|
+
palette: grassBlockPalette,
|
|
116
|
+
pixels: grassBlockPixels
|
|
117
|
+
});
|
|
118
|
+
var GrassBlockIcon = /*#__PURE__*/ createPixelIcon("GrassBlockIcon", {
|
|
119
|
+
palette: grassBlockPalette,
|
|
120
|
+
pixels: grassBlockPixels
|
|
121
|
+
});
|
|
122
|
+
var QuestIcon = /*#__PURE__*/ createPixelIcon("QuestIcon", {
|
|
123
|
+
palette: {
|
|
124
|
+
k: p.outline,
|
|
125
|
+
P: p.paperDark,
|
|
126
|
+
p: p.paper,
|
|
127
|
+
d: p.woodDark
|
|
128
|
+
},
|
|
129
|
+
pixels: [
|
|
130
|
+
"................",
|
|
131
|
+
"..kkkkkkkkkkkk..",
|
|
132
|
+
".kPPPPPPPPPPPPk.",
|
|
133
|
+
".kkkkkkkkkkkkkk.",
|
|
134
|
+
"..kppppppppppk..",
|
|
135
|
+
"..kpddddddddpk..",
|
|
136
|
+
"..kppppppppppk..",
|
|
137
|
+
"..kpddddddpppk..",
|
|
138
|
+
"..kppppppppppk..",
|
|
139
|
+
"..kpddddddddpk..",
|
|
140
|
+
"..kppppppppppk..",
|
|
141
|
+
"..kpdddddppppk..",
|
|
142
|
+
"..kppppppppppk..",
|
|
143
|
+
".kkkkkkkkkkkkkk.",
|
|
144
|
+
".kPPPPPPPPPPPPk.",
|
|
145
|
+
"..kkkkkkkkkkkk.."
|
|
146
|
+
]
|
|
147
|
+
});
|
|
148
|
+
/** A blocky adventurer head — original artwork. */
|
|
149
|
+
var PlayerIcon = /*#__PURE__*/ createPixelIcon("PlayerIcon", {
|
|
150
|
+
palette: {
|
|
151
|
+
k: p.outline,
|
|
152
|
+
h: p.dirtDark,
|
|
153
|
+
s: p.skin,
|
|
154
|
+
d: p.skinDark,
|
|
155
|
+
w: p.white,
|
|
156
|
+
b: p.waterDark,
|
|
157
|
+
m: p.dirtDark,
|
|
158
|
+
c: p.grass,
|
|
159
|
+
C: p.grassDark
|
|
160
|
+
},
|
|
161
|
+
pixels: [
|
|
162
|
+
"................",
|
|
163
|
+
"..kkkkkkkkkkkk..",
|
|
164
|
+
"..khhhhhhhhhhk..",
|
|
165
|
+
"..khhhhhhhhhhk..",
|
|
166
|
+
"..khsssssssshk..",
|
|
167
|
+
"..kssssssssssk..",
|
|
168
|
+
"..kswwsssswwsk..",
|
|
169
|
+
"..ksbwsssswbsk..",
|
|
170
|
+
"..kssssddssssk..",
|
|
171
|
+
"..ksssmmmmsssk..",
|
|
172
|
+
"..kssssssssssk..",
|
|
173
|
+
"..kkkkkkkkkkkk..",
|
|
174
|
+
".kccccccccccCCk.",
|
|
175
|
+
".kccccccccccCCk.",
|
|
176
|
+
".kccccccccccCCk.",
|
|
177
|
+
".kkkkkkkkkkkkkk."
|
|
178
|
+
]
|
|
179
|
+
});
|
|
180
|
+
var AchievementIcon = /*#__PURE__*/ createPixelIcon("AchievementIcon", {
|
|
181
|
+
palette: {
|
|
182
|
+
k: p.outline,
|
|
183
|
+
Y: p.goldLight,
|
|
184
|
+
g: p.gold,
|
|
185
|
+
y: p.goldDark,
|
|
186
|
+
w: p.wood
|
|
187
|
+
},
|
|
188
|
+
pixels: [
|
|
189
|
+
"................",
|
|
190
|
+
"...kkkkkkkkkk...",
|
|
191
|
+
".kkkYggggggykkk.",
|
|
192
|
+
".kgkYggggggykgk.",
|
|
193
|
+
".kgkYggggggykgk.",
|
|
194
|
+
".kkkYggggggykkk.",
|
|
195
|
+
"...kYggggggyk...",
|
|
196
|
+
"....kggggggk....",
|
|
197
|
+
".....kggggk.....",
|
|
198
|
+
"......kyyk......",
|
|
199
|
+
"......kggk......",
|
|
200
|
+
".....kyyyyk.....",
|
|
201
|
+
"....kkkkkkkk....",
|
|
202
|
+
"....kwwwwwwk....",
|
|
203
|
+
"....kkkkkkkk....",
|
|
204
|
+
"................"
|
|
205
|
+
]
|
|
206
|
+
});
|
|
207
|
+
var SettingsIcon = /*#__PURE__*/ createPixelIcon("SettingsIcon", {
|
|
208
|
+
palette: {
|
|
209
|
+
k: p.outline,
|
|
210
|
+
l: p.stoneLight,
|
|
211
|
+
b: p.stone,
|
|
212
|
+
d: p.stoneDark
|
|
213
|
+
},
|
|
214
|
+
pixels: [
|
|
215
|
+
".......kk.......",
|
|
216
|
+
"......kllk......",
|
|
217
|
+
"...kkkkldkkkk...",
|
|
218
|
+
"..kllllbbllllk..",
|
|
219
|
+
"..klbbbbbbbbdk..",
|
|
220
|
+
"..klbbbbbbbbdk..",
|
|
221
|
+
".kklbbkkkkbbdkk.",
|
|
222
|
+
"kllbbbk..kbbbllk",
|
|
223
|
+
"kldbbbk..kbbbddk",
|
|
224
|
+
".kklbbkkkkbbdkk.",
|
|
225
|
+
"..klbbbbbbbbdk..",
|
|
226
|
+
"..klbbbbbbbbdk..",
|
|
227
|
+
"..kldddbbddddk..",
|
|
228
|
+
"...kkkkldkkkk...",
|
|
229
|
+
"......kldk......",
|
|
230
|
+
".......kk......."
|
|
231
|
+
]
|
|
232
|
+
});
|
|
233
|
+
//#endregion
|
|
234
|
+
export { AchievementIcon, CraftingIcon, GrassBlockIcon, HomeIcon, InventoryIcon, PlayerIcon, QuestIcon, SettingsIcon, WorldIcon };
|
|
235
|
+
|
|
236
|
+
//# sourceMappingURL=navigation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.js","names":[],"sources":["../../src/icons/navigation.ts"],"sourcesContent":["import { createPixelIcon } from \"../createPixelIcon\";\nimport { p } from \"../palette\";\n\n/* Full-color navigation icons (sidebar, hotbar navigation). */\n\nexport const HomeIcon = /*#__PURE__*/ createPixelIcon(\"HomeIcon\", {\n palette: {\n k: p.outline,\n r: p.redstoneLight,\n R: p.redstone,\n w: p.wood,\n d: p.woodDark,\n b: p.diamond,\n },\n pixels: [\n \"................\",\n \".......kk.......\",\n \"......krrk......\",\n \".....krrRRk.....\",\n \"....krrrrRRk....\",\n \"...krrrrrrRRk...\",\n \"..krrrrrrrrRRk..\",\n \".kkkkkkkkkkkkkk.\",\n \"..kwwwwwwwwwwk..\",\n \"..kwbbwwwwddwk..\",\n \"..kwbbwwwwddwk..\",\n \"..kwwwwwwwddwk..\",\n \"..kwwwwwwwddwk..\",\n \"..kwwwwwwwddwk..\",\n \"..kkkkkkkkkkkk..\",\n \"................\",\n ],\n});\n\nexport const InventoryIcon = /*#__PURE__*/ createPixelIcon(\"InventoryIcon\", {\n palette: { k: p.outline, w: p.wood, l: p.woodLight, d: p.woodDark, g: p.gold },\n pixels: [\n \"................\",\n \"......kkkk......\",\n \".....kddddk.....\",\n \".....kd..dk.....\",\n \"...kkkkkkkkkk...\",\n \"..kllllllllllk..\",\n \"..kwwwwwwwwwwk..\",\n \"..kwwwwwwwwwwk..\",\n \"..kkkkkggkkkkk..\",\n \"..kwwwwggwwwwk..\",\n \"..kwwwwwwwwwwk..\",\n \"..kwwwwwwwwwwk..\",\n \"..kwwwwwwwwwwk..\",\n \"..kddddddddddk..\",\n \"...kkkkkkkkkk...\",\n \"................\",\n ],\n});\n\n/** A 3 × 3 crafting grid holding a pickaxe recipe. */\nexport const CraftingIcon = /*#__PURE__*/ createPixelIcon(\"CraftingIcon\", {\n palette: { k: p.woodDark, w: p.woodLight, b: p.diamond, s: p.sandDark },\n pixels: [\n \"................\",\n \"................\",\n \"..kkkkkkkkkkkkk.\",\n \"..kwwwkwwwkwwwk.\",\n \"..kwbwkwbwkwbwk.\",\n \"..kwwwkwwwkwwwk.\",\n \"..kkkkkkkkkkkkk.\",\n \"..kwwwkwswkwwwk.\",\n \"..kwwwkwswkwwwk.\",\n \"..kwwwkwswkwwwk.\",\n \"..kkkkkkkkkkkkk.\",\n \"..kwwwkwswkwwwk.\",\n \"..kwwwkwswkwwwk.\",\n \"..kwwwkwswkwwwk.\",\n \"..kkkkkkkkkkkkk.\",\n \"................\",\n ],\n});\n\nconst grassBlockPixels = [\n \"......kkkk......\",\n \"....kkggggkk....\",\n \"..kkggGgggggkk..\",\n \"kkgggggggGggggkk\",\n \"kLLkkggggggkkRRk\",\n \"kLLLLkkggkkRRRRk\",\n \"kLLLLLLkkRRRRRRk\",\n \"kLeLLeLLRRfRRfRk\",\n \"keeLeeeeffRffffk\",\n \"keeeeeeefffffffk\",\n \"keeeeheefffffhfk\",\n \"keeeeeeefffffffk\",\n \"kkeeeeeeffffffkk\",\n \"..kkeeeeffffkk..\",\n \"....kkeeffkk....\",\n \"......kkkk......\",\n] as const;\n\nconst grassBlockPalette = {\n k: p.outline,\n g: p.grass,\n G: p.grassLight,\n L: p.grass,\n R: p.grassDark,\n e: p.dirt,\n f: p.dirtDark,\n h: p.dirtDark,\n} as const;\n\nexport const WorldIcon = /*#__PURE__*/ createPixelIcon(\"WorldIcon\", {\n palette: grassBlockPalette,\n pixels: grassBlockPixels,\n});\n\nexport const GrassBlockIcon = /*#__PURE__*/ createPixelIcon(\"GrassBlockIcon\", {\n palette: grassBlockPalette,\n pixels: grassBlockPixels,\n});\n\nexport const QuestIcon = /*#__PURE__*/ createPixelIcon(\"QuestIcon\", {\n palette: { k: p.outline, P: p.paperDark, p: p.paper, d: p.woodDark },\n pixels: [\n \"................\",\n \"..kkkkkkkkkkkk..\",\n \".kPPPPPPPPPPPPk.\",\n \".kkkkkkkkkkkkkk.\",\n \"..kppppppppppk..\",\n \"..kpddddddddpk..\",\n \"..kppppppppppk..\",\n \"..kpddddddpppk..\",\n \"..kppppppppppk..\",\n \"..kpddddddddpk..\",\n \"..kppppppppppk..\",\n \"..kpdddddppppk..\",\n \"..kppppppppppk..\",\n \".kkkkkkkkkkkkkk.\",\n \".kPPPPPPPPPPPPk.\",\n \"..kkkkkkkkkkkk..\",\n ],\n});\n\n/** A blocky adventurer head — original artwork. */\nexport const PlayerIcon = /*#__PURE__*/ createPixelIcon(\"PlayerIcon\", {\n palette: {\n k: p.outline,\n h: p.dirtDark,\n s: p.skin,\n d: p.skinDark,\n w: p.white,\n b: p.waterDark,\n m: p.dirtDark,\n c: p.grass,\n C: p.grassDark,\n },\n pixels: [\n \"................\",\n \"..kkkkkkkkkkkk..\",\n \"..khhhhhhhhhhk..\",\n \"..khhhhhhhhhhk..\",\n \"..khsssssssshk..\",\n \"..kssssssssssk..\",\n \"..kswwsssswwsk..\",\n \"..ksbwsssswbsk..\",\n \"..kssssddssssk..\",\n \"..ksssmmmmsssk..\",\n \"..kssssssssssk..\",\n \"..kkkkkkkkkkkk..\",\n \".kccccccccccCCk.\",\n \".kccccccccccCCk.\",\n \".kccccccccccCCk.\",\n \".kkkkkkkkkkkkkk.\",\n ],\n});\n\nexport const AchievementIcon = /*#__PURE__*/ createPixelIcon(\"AchievementIcon\", {\n palette: { k: p.outline, Y: p.goldLight, g: p.gold, y: p.goldDark, w: p.wood },\n pixels: [\n \"................\",\n \"...kkkkkkkkkk...\",\n \".kkkYggggggykkk.\",\n \".kgkYggggggykgk.\",\n \".kgkYggggggykgk.\",\n \".kkkYggggggykkk.\",\n \"...kYggggggyk...\",\n \"....kggggggk....\",\n \".....kggggk.....\",\n \"......kyyk......\",\n \"......kggk......\",\n \".....kyyyyk.....\",\n \"....kkkkkkkk....\",\n \"....kwwwwwwk....\",\n \"....kkkkkkkk....\",\n \"................\",\n ],\n});\n\nexport const SettingsIcon = /*#__PURE__*/ createPixelIcon(\"SettingsIcon\", {\n palette: { k: p.outline, l: p.stoneLight, b: p.stone, d: p.stoneDark },\n pixels: [\n \".......kk.......\",\n \"......kllk......\",\n \"...kkkkldkkkk...\",\n \"..kllllbbllllk..\",\n \"..klbbbbbbbbdk..\",\n \"..klbbbbbbbbdk..\",\n \".kklbbkkkkbbdkk.\",\n \"kllbbbk..kbbbllk\",\n \"kldbbbk..kbbbddk\",\n \".kklbbkkkkbbdkk.\",\n \"..klbbbbbbbbdk..\",\n \"..klbbbbbbbbdk..\",\n \"..kldddbbddddk..\",\n \"...kkkkldkkkk...\",\n \"......kldk......\",\n \".......kk.......\",\n ],\n});\n"],"mappings":";;;AAKA,IAAa,WAAyB,8BAAgB,YAAY;CAChE,SAAS;EACP,GAAG,EAAE;EACL,GAAG,EAAE;EACL,GAAG,EAAE;EACL,GAAG,EAAE;EACL,GAAG,EAAE;EACL,GAAG,EAAE;CACP;CACA,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF,CAAC;AAED,IAAa,gBAA8B,8BAAgB,iBAAiB;CAC1E,SAAS;EAAE,GAAG,EAAE;EAAS,GAAG,EAAE;EAAM,GAAG,EAAE;EAAW,GAAG,EAAE;EAAU,GAAG,EAAE;CAAK;CAC7E,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF,CAAC;;AAGD,IAAa,eAA6B,8BAAgB,gBAAgB;CACxE,SAAS;EAAE,GAAG,EAAE;EAAU,GAAG,EAAE;EAAW,GAAG,EAAE;EAAS,GAAG,EAAE;CAAS;CACtE,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF,CAAC;AAED,IAAM,mBAAmB;CACvB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,IAAM,oBAAoB;CACxB,GAAG,EAAE;CACL,GAAG,EAAE;CACL,GAAG,EAAE;CACL,GAAG,EAAE;CACL,GAAG,EAAE;CACL,GAAG,EAAE;CACL,GAAG,EAAE;CACL,GAAG,EAAE;AACP;AAEA,IAAa,YAA0B,8BAAgB,aAAa;CAClE,SAAS;CACT,QAAQ;AACV,CAAC;AAED,IAAa,iBAA+B,8BAAgB,kBAAkB;CAC5E,SAAS;CACT,QAAQ;AACV,CAAC;AAED,IAAa,YAA0B,8BAAgB,aAAa;CAClE,SAAS;EAAE,GAAG,EAAE;EAAS,GAAG,EAAE;EAAW,GAAG,EAAE;EAAO,GAAG,EAAE;CAAS;CACnE,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF,CAAC;;AAGD,IAAa,aAA2B,8BAAgB,cAAc;CACpE,SAAS;EACP,GAAG,EAAE;EACL,GAAG,EAAE;EACL,GAAG,EAAE;EACL,GAAG,EAAE;EACL,GAAG,EAAE;EACL,GAAG,EAAE;EACL,GAAG,EAAE;EACL,GAAG,EAAE;EACL,GAAG,EAAE;CACP;CACA,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF,CAAC;AAED,IAAa,kBAAgC,8BAAgB,mBAAmB;CAC9E,SAAS;EAAE,GAAG,EAAE;EAAS,GAAG,EAAE;EAAW,GAAG,EAAE;EAAM,GAAG,EAAE;EAAU,GAAG,EAAE;CAAK;CAC7E,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF,CAAC;AAED,IAAa,eAA6B,8BAAgB,gBAAgB;CACxE,SAAS;EAAE,GAAG,EAAE;EAAS,GAAG,EAAE;EAAY,GAAG,EAAE;EAAO,GAAG,EAAE;CAAU;CACrE,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const SearchIcon: import("..").PixelIcon;
|
|
2
|
+
export declare const CloseIcon: import("..").PixelIcon;
|
|
3
|
+
export declare const CheckIcon: import("..").PixelIcon;
|
|
4
|
+
export declare const InfoIcon: import("..").PixelIcon;
|
|
5
|
+
export declare const WarningIcon: import("..").PixelIcon;
|
|
6
|
+
export declare const ErrorIcon: import("..").PixelIcon;
|
|
7
|
+
/** Right-pointing crafting arrow. Rotate with CSS for other directions. */
|
|
8
|
+
export declare const ArrowIcon: import("..").PixelIcon;
|
|
9
|
+
export declare const ChevronDownIcon: import("..").PixelIcon;
|
|
10
|
+
export declare const ChevronRightIcon: import("..").PixelIcon;
|
|
11
|
+
export declare const LockIcon: import("..").PixelIcon;
|
|
12
|
+
export declare const PlayIcon: import("..").PixelIcon;
|
|
13
|
+
export declare const MenuIcon: import("..").PixelIcon;
|
|
14
|
+
export declare const PlusIcon: import("..").PixelIcon;
|
|
15
|
+
export declare const MinusIcon: import("..").PixelIcon;
|
|
16
|
+
//# sourceMappingURL=ui.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/icons/ui.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,wBAmBrB,CAAC;AAEH,eAAO,MAAM,SAAS,wBAmBpB,CAAC;AAEH,eAAO,MAAM,SAAS,wBAmBpB,CAAC;AAEH,eAAO,MAAM,QAAQ,wBAmBnB,CAAC;AAEH,eAAO,MAAM,WAAW,wBAmBtB,CAAC;AAEH,eAAO,MAAM,SAAS,wBAmBpB,CAAC;AAEH,2EAA2E;AAC3E,eAAO,MAAM,SAAS,wBAmBpB,CAAC;AAEH,eAAO,MAAM,eAAe,wBAmB1B,CAAC;AAEH,eAAO,MAAM,gBAAgB,wBAmB3B,CAAC;AAEH,eAAO,MAAM,QAAQ,wBAmBnB,CAAC;AAEH,eAAO,MAAM,QAAQ,wBAmBnB,CAAC;AAEH,eAAO,MAAM,QAAQ,wBAmBnB,CAAC;AAEH,eAAO,MAAM,QAAQ,wBAmBnB,CAAC;AAEH,eAAO,MAAM,SAAS,wBAmBpB,CAAC"}
|
package/dist/icons/ui.js
ADDED
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import { createPixelIcon } from "../createPixelIcon.js";
|
|
2
|
+
//#region src/icons/ui.ts
|
|
3
|
+
var SearchIcon = /*#__PURE__*/ createPixelIcon("SearchIcon", { pixels: [
|
|
4
|
+
"................",
|
|
5
|
+
".....xxxx.......",
|
|
6
|
+
"...xxxxxxxx.....",
|
|
7
|
+
"..xxx....xxx....",
|
|
8
|
+
"..xx......xx....",
|
|
9
|
+
".xx........xx...",
|
|
10
|
+
".xx........xx...",
|
|
11
|
+
".xx........xx...",
|
|
12
|
+
".xx........xx...",
|
|
13
|
+
"..xx......xx....",
|
|
14
|
+
"..xxx....xxxx...",
|
|
15
|
+
"...xxxxxxxxxxx..",
|
|
16
|
+
".....xxxx..xxxx.",
|
|
17
|
+
"............xxxx",
|
|
18
|
+
".............xxx",
|
|
19
|
+
"..............x."
|
|
20
|
+
] });
|
|
21
|
+
var CloseIcon = /*#__PURE__*/ createPixelIcon("CloseIcon", { pixels: [
|
|
22
|
+
"................",
|
|
23
|
+
"................",
|
|
24
|
+
"..xx........xx..",
|
|
25
|
+
"..xxx......xxx..",
|
|
26
|
+
"...xxx....xxx...",
|
|
27
|
+
"....xxx..xxx....",
|
|
28
|
+
".....xxxxxx.....",
|
|
29
|
+
"......xxxx......",
|
|
30
|
+
"......xxxx......",
|
|
31
|
+
".....xxxxxx.....",
|
|
32
|
+
"....xxx..xxx....",
|
|
33
|
+
"...xxx....xxx...",
|
|
34
|
+
"..xxx......xxx..",
|
|
35
|
+
"..xx........xx..",
|
|
36
|
+
"................",
|
|
37
|
+
"................"
|
|
38
|
+
] });
|
|
39
|
+
var CheckIcon = /*#__PURE__*/ createPixelIcon("CheckIcon", { pixels: [
|
|
40
|
+
"................",
|
|
41
|
+
"................",
|
|
42
|
+
"................",
|
|
43
|
+
"................",
|
|
44
|
+
"............xx..",
|
|
45
|
+
"...........xxx..",
|
|
46
|
+
"..........xxx...",
|
|
47
|
+
".........xxx....",
|
|
48
|
+
"..xx....xxx.....",
|
|
49
|
+
"..xxx..xxx......",
|
|
50
|
+
"...xxxxxx.......",
|
|
51
|
+
"....xxxx........",
|
|
52
|
+
".....xx.........",
|
|
53
|
+
"................",
|
|
54
|
+
"................",
|
|
55
|
+
"................"
|
|
56
|
+
] });
|
|
57
|
+
var InfoIcon = /*#__PURE__*/ createPixelIcon("InfoIcon", { pixels: [
|
|
58
|
+
"................",
|
|
59
|
+
".....xxxxxx.....",
|
|
60
|
+
"....xxxxxxxx....",
|
|
61
|
+
"...xxxx..xxxx...",
|
|
62
|
+
"..xxxxx..xxxxx..",
|
|
63
|
+
".xxxxxxxxxxxxxx.",
|
|
64
|
+
".xxxxx...xxxxxx.",
|
|
65
|
+
".xxxxxx..xxxxxx.",
|
|
66
|
+
".xxxxxx..xxxxxx.",
|
|
67
|
+
".xxxxxx..xxxxxx.",
|
|
68
|
+
".xxxxxx..xxxxxx.",
|
|
69
|
+
"..xxxx....xxxx..",
|
|
70
|
+
"...xxxxxxxxxx...",
|
|
71
|
+
"....xxxxxxxx....",
|
|
72
|
+
".....xxxxxx.....",
|
|
73
|
+
"................"
|
|
74
|
+
] });
|
|
75
|
+
var WarningIcon = /*#__PURE__*/ createPixelIcon("WarningIcon", { pixels: [
|
|
76
|
+
"................",
|
|
77
|
+
".......xx.......",
|
|
78
|
+
".......xx.......",
|
|
79
|
+
"......xxxx......",
|
|
80
|
+
"......xxxx......",
|
|
81
|
+
".....xx..xx.....",
|
|
82
|
+
".....xx..xx.....",
|
|
83
|
+
"....xxx..xxx....",
|
|
84
|
+
"....xxx..xxx....",
|
|
85
|
+
"...xxxx..xxxx...",
|
|
86
|
+
"...xxxxxxxxxx...",
|
|
87
|
+
"..xxxxxxxxxxxx..",
|
|
88
|
+
"..xxxxx..xxxxx..",
|
|
89
|
+
".xxxxxxxxxxxxxx.",
|
|
90
|
+
".xxxxxxxxxxxxxx.",
|
|
91
|
+
"................"
|
|
92
|
+
] });
|
|
93
|
+
var ErrorIcon = /*#__PURE__*/ createPixelIcon("ErrorIcon", { pixels: [
|
|
94
|
+
"................",
|
|
95
|
+
".....xxxxxx.....",
|
|
96
|
+
"....xxxxxxxx....",
|
|
97
|
+
"...xxxxxxxxxx...",
|
|
98
|
+
"..xxxxxxxxxxxx..",
|
|
99
|
+
".xxxx.xxxx.xxxx.",
|
|
100
|
+
".xxxxx.xx.xxxxx.",
|
|
101
|
+
".xxxxxx..xxxxxx.",
|
|
102
|
+
".xxxxxx..xxxxxx.",
|
|
103
|
+
".xxxxx.xx.xxxxx.",
|
|
104
|
+
".xxxx.xxxx.xxxx.",
|
|
105
|
+
"..xxxxxxxxxxxx..",
|
|
106
|
+
"...xxxxxxxxxx...",
|
|
107
|
+
"....xxxxxxxx....",
|
|
108
|
+
".....xxxxxx.....",
|
|
109
|
+
"................"
|
|
110
|
+
] });
|
|
111
|
+
/** Right-pointing crafting arrow. Rotate with CSS for other directions. */
|
|
112
|
+
var ArrowIcon = /*#__PURE__*/ createPixelIcon("ArrowIcon", { pixels: [
|
|
113
|
+
"................",
|
|
114
|
+
"................",
|
|
115
|
+
"................",
|
|
116
|
+
".........x......",
|
|
117
|
+
".........xx.....",
|
|
118
|
+
".........xxx....",
|
|
119
|
+
".xxxxxxxxxxxx...",
|
|
120
|
+
".xxxxxxxxxxxxx..",
|
|
121
|
+
".xxxxxxxxxxxxx..",
|
|
122
|
+
".xxxxxxxxxxxx...",
|
|
123
|
+
".........xxx....",
|
|
124
|
+
".........xx.....",
|
|
125
|
+
".........x......",
|
|
126
|
+
"................",
|
|
127
|
+
"................",
|
|
128
|
+
"................"
|
|
129
|
+
] });
|
|
130
|
+
var ChevronDownIcon = /*#__PURE__*/ createPixelIcon("ChevronDownIcon", { pixels: [
|
|
131
|
+
"................",
|
|
132
|
+
"................",
|
|
133
|
+
"................",
|
|
134
|
+
"................",
|
|
135
|
+
"................",
|
|
136
|
+
"..xx........xx..",
|
|
137
|
+
"..xxx......xxx..",
|
|
138
|
+
"...xxx....xxx...",
|
|
139
|
+
"....xxx..xxx....",
|
|
140
|
+
".....xxxxxx.....",
|
|
141
|
+
"......xxxx......",
|
|
142
|
+
".......xx.......",
|
|
143
|
+
"................",
|
|
144
|
+
"................",
|
|
145
|
+
"................",
|
|
146
|
+
"................"
|
|
147
|
+
] });
|
|
148
|
+
var ChevronRightIcon = /*#__PURE__*/ createPixelIcon("ChevronRightIcon", { pixels: [
|
|
149
|
+
"................",
|
|
150
|
+
"................",
|
|
151
|
+
".....xx.........",
|
|
152
|
+
".....xxx........",
|
|
153
|
+
"......xxx.......",
|
|
154
|
+
".......xxx......",
|
|
155
|
+
"........xxx.....",
|
|
156
|
+
".........xx.....",
|
|
157
|
+
".........xx.....",
|
|
158
|
+
"........xxx.....",
|
|
159
|
+
".......xxx......",
|
|
160
|
+
"......xxx.......",
|
|
161
|
+
".....xxx........",
|
|
162
|
+
".....xx.........",
|
|
163
|
+
"................",
|
|
164
|
+
"................"
|
|
165
|
+
] });
|
|
166
|
+
var LockIcon = /*#__PURE__*/ createPixelIcon("LockIcon", { pixels: [
|
|
167
|
+
"................",
|
|
168
|
+
"................",
|
|
169
|
+
"................",
|
|
170
|
+
".....xxxxxx.....",
|
|
171
|
+
"....xx....xx....",
|
|
172
|
+
"....xx....xx....",
|
|
173
|
+
"....xx....xx....",
|
|
174
|
+
"..xxxxxxxxxxxx..",
|
|
175
|
+
"..xxxxxxxxxxxx..",
|
|
176
|
+
"..xxxxx..xxxxx..",
|
|
177
|
+
"..xxxxx..xxxxx..",
|
|
178
|
+
"..xxxxx..xxxxx..",
|
|
179
|
+
"..xxxxxxxxxxxx..",
|
|
180
|
+
"..xxxxxxxxxxxx..",
|
|
181
|
+
"..xxxxxxxxxxxx..",
|
|
182
|
+
"................"
|
|
183
|
+
] });
|
|
184
|
+
var PlayIcon = /*#__PURE__*/ createPixelIcon("PlayIcon", { pixels: [
|
|
185
|
+
"................",
|
|
186
|
+
"................",
|
|
187
|
+
"................",
|
|
188
|
+
"....xx..........",
|
|
189
|
+
"....xxxx........",
|
|
190
|
+
"....xxxxxx......",
|
|
191
|
+
"....xxxxxxxx....",
|
|
192
|
+
"....xxxxxxxxxx..",
|
|
193
|
+
"....xxxxxxxxxx..",
|
|
194
|
+
"....xxxxxxxx....",
|
|
195
|
+
"....xxxxxx......",
|
|
196
|
+
"....xxxx........",
|
|
197
|
+
"....xx..........",
|
|
198
|
+
"................",
|
|
199
|
+
"................",
|
|
200
|
+
"................"
|
|
201
|
+
] });
|
|
202
|
+
var MenuIcon = /*#__PURE__*/ createPixelIcon("MenuIcon", { pixels: [
|
|
203
|
+
"................",
|
|
204
|
+
"................",
|
|
205
|
+
"................",
|
|
206
|
+
"..xxxxxxxxxxxx..",
|
|
207
|
+
"..xxxxxxxxxxxx..",
|
|
208
|
+
"................",
|
|
209
|
+
"................",
|
|
210
|
+
"..xxxxxxxxxxxx..",
|
|
211
|
+
"..xxxxxxxxxxxx..",
|
|
212
|
+
"................",
|
|
213
|
+
"................",
|
|
214
|
+
"..xxxxxxxxxxxx..",
|
|
215
|
+
"..xxxxxxxxxxxx..",
|
|
216
|
+
"................",
|
|
217
|
+
"................",
|
|
218
|
+
"................"
|
|
219
|
+
] });
|
|
220
|
+
var PlusIcon = /*#__PURE__*/ createPixelIcon("PlusIcon", { pixels: [
|
|
221
|
+
"................",
|
|
222
|
+
"................",
|
|
223
|
+
".......xx.......",
|
|
224
|
+
".......xx.......",
|
|
225
|
+
".......xx.......",
|
|
226
|
+
".......xx.......",
|
|
227
|
+
".......xx.......",
|
|
228
|
+
"..xxxxxxxxxxxx..",
|
|
229
|
+
"..xxxxxxxxxxxx..",
|
|
230
|
+
".......xx.......",
|
|
231
|
+
".......xx.......",
|
|
232
|
+
".......xx.......",
|
|
233
|
+
".......xx.......",
|
|
234
|
+
".......xx.......",
|
|
235
|
+
"................",
|
|
236
|
+
"................"
|
|
237
|
+
] });
|
|
238
|
+
var MinusIcon = /*#__PURE__*/ createPixelIcon("MinusIcon", { pixels: [
|
|
239
|
+
"................",
|
|
240
|
+
"................",
|
|
241
|
+
"................",
|
|
242
|
+
"................",
|
|
243
|
+
"................",
|
|
244
|
+
"................",
|
|
245
|
+
"................",
|
|
246
|
+
"..xxxxxxxxxxxx..",
|
|
247
|
+
"..xxxxxxxxxxxx..",
|
|
248
|
+
"................",
|
|
249
|
+
"................",
|
|
250
|
+
"................",
|
|
251
|
+
"................",
|
|
252
|
+
"................",
|
|
253
|
+
"................",
|
|
254
|
+
"................"
|
|
255
|
+
] });
|
|
256
|
+
//#endregion
|
|
257
|
+
export { ArrowIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CloseIcon, ErrorIcon, InfoIcon, LockIcon, MenuIcon, MinusIcon, PlayIcon, PlusIcon, SearchIcon, WarningIcon };
|
|
258
|
+
|
|
259
|
+
//# sourceMappingURL=ui.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.js","names":[],"sources":["../../src/icons/ui.ts"],"sourcesContent":["import { createPixelIcon } from \"../createPixelIcon\";\n\n/* Monochrome UI glyphs. `x` pixels render in `currentColor`. */\n\nexport const SearchIcon = /*#__PURE__*/ createPixelIcon(\"SearchIcon\", {\n pixels: [\n \"................\",\n \".....xxxx.......\",\n \"...xxxxxxxx.....\",\n \"..xxx....xxx....\",\n \"..xx......xx....\",\n \".xx........xx...\",\n \".xx........xx...\",\n \".xx........xx...\",\n \".xx........xx...\",\n \"..xx......xx....\",\n \"..xxx....xxxx...\",\n \"...xxxxxxxxxxx..\",\n \".....xxxx..xxxx.\",\n \"............xxxx\",\n \".............xxx\",\n \"..............x.\",\n ],\n});\n\nexport const CloseIcon = /*#__PURE__*/ createPixelIcon(\"CloseIcon\", {\n pixels: [\n \"................\",\n \"................\",\n \"..xx........xx..\",\n \"..xxx......xxx..\",\n \"...xxx....xxx...\",\n \"....xxx..xxx....\",\n \".....xxxxxx.....\",\n \"......xxxx......\",\n \"......xxxx......\",\n \".....xxxxxx.....\",\n \"....xxx..xxx....\",\n \"...xxx....xxx...\",\n \"..xxx......xxx..\",\n \"..xx........xx..\",\n \"................\",\n \"................\",\n ],\n});\n\nexport const CheckIcon = /*#__PURE__*/ createPixelIcon(\"CheckIcon\", {\n pixels: [\n \"................\",\n \"................\",\n \"................\",\n \"................\",\n \"............xx..\",\n \"...........xxx..\",\n \"..........xxx...\",\n \".........xxx....\",\n \"..xx....xxx.....\",\n \"..xxx..xxx......\",\n \"...xxxxxx.......\",\n \"....xxxx........\",\n \".....xx.........\",\n \"................\",\n \"................\",\n \"................\",\n ],\n});\n\nexport const InfoIcon = /*#__PURE__*/ createPixelIcon(\"InfoIcon\", {\n pixels: [\n \"................\",\n \".....xxxxxx.....\",\n \"....xxxxxxxx....\",\n \"...xxxx..xxxx...\",\n \"..xxxxx..xxxxx..\",\n \".xxxxxxxxxxxxxx.\",\n \".xxxxx...xxxxxx.\",\n \".xxxxxx..xxxxxx.\",\n \".xxxxxx..xxxxxx.\",\n \".xxxxxx..xxxxxx.\",\n \".xxxxxx..xxxxxx.\",\n \"..xxxx....xxxx..\",\n \"...xxxxxxxxxx...\",\n \"....xxxxxxxx....\",\n \".....xxxxxx.....\",\n \"................\",\n ],\n});\n\nexport const WarningIcon = /*#__PURE__*/ createPixelIcon(\"WarningIcon\", {\n pixels: [\n \"................\",\n \".......xx.......\",\n \".......xx.......\",\n \"......xxxx......\",\n \"......xxxx......\",\n \".....xx..xx.....\",\n \".....xx..xx.....\",\n \"....xxx..xxx....\",\n \"....xxx..xxx....\",\n \"...xxxx..xxxx...\",\n \"...xxxxxxxxxx...\",\n \"..xxxxxxxxxxxx..\",\n \"..xxxxx..xxxxx..\",\n \".xxxxxxxxxxxxxx.\",\n \".xxxxxxxxxxxxxx.\",\n \"................\",\n ],\n});\n\nexport const ErrorIcon = /*#__PURE__*/ createPixelIcon(\"ErrorIcon\", {\n pixels: [\n \"................\",\n \".....xxxxxx.....\",\n \"....xxxxxxxx....\",\n \"...xxxxxxxxxx...\",\n \"..xxxxxxxxxxxx..\",\n \".xxxx.xxxx.xxxx.\",\n \".xxxxx.xx.xxxxx.\",\n \".xxxxxx..xxxxxx.\",\n \".xxxxxx..xxxxxx.\",\n \".xxxxx.xx.xxxxx.\",\n \".xxxx.xxxx.xxxx.\",\n \"..xxxxxxxxxxxx..\",\n \"...xxxxxxxxxx...\",\n \"....xxxxxxxx....\",\n \".....xxxxxx.....\",\n \"................\",\n ],\n});\n\n/** Right-pointing crafting arrow. Rotate with CSS for other directions. */\nexport const ArrowIcon = /*#__PURE__*/ createPixelIcon(\"ArrowIcon\", {\n pixels: [\n \"................\",\n \"................\",\n \"................\",\n \".........x......\",\n \".........xx.....\",\n \".........xxx....\",\n \".xxxxxxxxxxxx...\",\n \".xxxxxxxxxxxxx..\",\n \".xxxxxxxxxxxxx..\",\n \".xxxxxxxxxxxx...\",\n \".........xxx....\",\n \".........xx.....\",\n \".........x......\",\n \"................\",\n \"................\",\n \"................\",\n ],\n});\n\nexport const ChevronDownIcon = /*#__PURE__*/ createPixelIcon(\"ChevronDownIcon\", {\n pixels: [\n \"................\",\n \"................\",\n \"................\",\n \"................\",\n \"................\",\n \"..xx........xx..\",\n \"..xxx......xxx..\",\n \"...xxx....xxx...\",\n \"....xxx..xxx....\",\n \".....xxxxxx.....\",\n \"......xxxx......\",\n \".......xx.......\",\n \"................\",\n \"................\",\n \"................\",\n \"................\",\n ],\n});\n\nexport const ChevronRightIcon = /*#__PURE__*/ createPixelIcon(\"ChevronRightIcon\", {\n pixels: [\n \"................\",\n \"................\",\n \".....xx.........\",\n \".....xxx........\",\n \"......xxx.......\",\n \".......xxx......\",\n \"........xxx.....\",\n \".........xx.....\",\n \".........xx.....\",\n \"........xxx.....\",\n \".......xxx......\",\n \"......xxx.......\",\n \".....xxx........\",\n \".....xx.........\",\n \"................\",\n \"................\",\n ],\n});\n\nexport const LockIcon = /*#__PURE__*/ createPixelIcon(\"LockIcon\", {\n pixels: [\n \"................\",\n \"................\",\n \"................\",\n \".....xxxxxx.....\",\n \"....xx....xx....\",\n \"....xx....xx....\",\n \"....xx....xx....\",\n \"..xxxxxxxxxxxx..\",\n \"..xxxxxxxxxxxx..\",\n \"..xxxxx..xxxxx..\",\n \"..xxxxx..xxxxx..\",\n \"..xxxxx..xxxxx..\",\n \"..xxxxxxxxxxxx..\",\n \"..xxxxxxxxxxxx..\",\n \"..xxxxxxxxxxxx..\",\n \"................\",\n ],\n});\n\nexport const PlayIcon = /*#__PURE__*/ createPixelIcon(\"PlayIcon\", {\n pixels: [\n \"................\",\n \"................\",\n \"................\",\n \"....xx..........\",\n \"....xxxx........\",\n \"....xxxxxx......\",\n \"....xxxxxxxx....\",\n \"....xxxxxxxxxx..\",\n \"....xxxxxxxxxx..\",\n \"....xxxxxxxx....\",\n \"....xxxxxx......\",\n \"....xxxx........\",\n \"....xx..........\",\n \"................\",\n \"................\",\n \"................\",\n ],\n});\n\nexport const MenuIcon = /*#__PURE__*/ createPixelIcon(\"MenuIcon\", {\n pixels: [\n \"................\",\n \"................\",\n \"................\",\n \"..xxxxxxxxxxxx..\",\n \"..xxxxxxxxxxxx..\",\n \"................\",\n \"................\",\n \"..xxxxxxxxxxxx..\",\n \"..xxxxxxxxxxxx..\",\n \"................\",\n \"................\",\n \"..xxxxxxxxxxxx..\",\n \"..xxxxxxxxxxxx..\",\n \"................\",\n \"................\",\n \"................\",\n ],\n});\n\nexport const PlusIcon = /*#__PURE__*/ createPixelIcon(\"PlusIcon\", {\n pixels: [\n \"................\",\n \"................\",\n \".......xx.......\",\n \".......xx.......\",\n \".......xx.......\",\n \".......xx.......\",\n \".......xx.......\",\n \"..xxxxxxxxxxxx..\",\n \"..xxxxxxxxxxxx..\",\n \".......xx.......\",\n \".......xx.......\",\n \".......xx.......\",\n \".......xx.......\",\n \".......xx.......\",\n \"................\",\n \"................\",\n ],\n});\n\nexport const MinusIcon = /*#__PURE__*/ createPixelIcon(\"MinusIcon\", {\n pixels: [\n \"................\",\n \"................\",\n \"................\",\n \"................\",\n \"................\",\n \"................\",\n \"................\",\n \"..xxxxxxxxxxxx..\",\n \"..xxxxxxxxxxxx..\",\n \"................\",\n \"................\",\n \"................\",\n \"................\",\n \"................\",\n \"................\",\n \"................\",\n ],\n});\n"],"mappings":";;AAIA,IAAa,aAA2B,8BAAgB,cAAc,EACpE,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC;AAED,IAAa,YAA0B,8BAAgB,aAAa,EAClE,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC;AAED,IAAa,YAA0B,8BAAgB,aAAa,EAClE,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC;AAED,IAAa,WAAyB,8BAAgB,YAAY,EAChE,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC;AAED,IAAa,cAA4B,8BAAgB,eAAe,EACtE,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC;AAED,IAAa,YAA0B,8BAAgB,aAAa,EAClE,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC;;AAGD,IAAa,YAA0B,8BAAgB,aAAa,EAClE,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC;AAED,IAAa,kBAAgC,8BAAgB,mBAAmB,EAC9E,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC;AAED,IAAa,mBAAiC,8BAAgB,oBAAoB,EAChF,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC;AAED,IAAa,WAAyB,8BAAgB,YAAY,EAChE,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC;AAED,IAAa,WAAyB,8BAAgB,YAAY,EAChE,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC;AAED,IAAa,WAAyB,8BAAgB,YAAY,EAChE,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC;AAED,IAAa,WAAyB,8BAAgB,YAAY,EAChE,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC;AAED,IAAa,YAA0B,8BAAgB,aAAa,EAClE,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { createPixelIcon, pixelsToPaths } from "./createPixelIcon";
|
|
2
|
+
export type { IconSize, PixelIcon, PixelIconDefinition, PixelIconProps, PixelPath, } from "./createPixelIcon";
|
|
3
|
+
export * from "./icons/ui";
|
|
4
|
+
export * from "./icons/navigation";
|
|
5
|
+
export * from "./icons/items";
|
|
6
|
+
export * from "./icons/hud";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACnE,YAAY,EACV,QAAQ,EACR,SAAS,EACT,mBAAmB,EACnB,cAAc,EACd,SAAS,GACV,MAAM,mBAAmB,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { createPixelIcon, pixelsToPaths } from "./createPixelIcon.js";
|
|
2
|
+
import { ArrowIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CloseIcon, ErrorIcon, InfoIcon, LockIcon, MenuIcon, MinusIcon, PlayIcon, PlusIcon, SearchIcon, WarningIcon } from "./icons/ui.js";
|
|
3
|
+
import { AchievementIcon, CraftingIcon, GrassBlockIcon, HomeIcon, InventoryIcon, PlayerIcon, QuestIcon, SettingsIcon, WorldIcon } from "./icons/navigation.js";
|
|
4
|
+
import { AppleIcon, AxeIcon, BookIcon, BreadIcon, BucketIcon, ChestIcon, ClockIcon, CoalIcon, CoinIcon, CompassIcon, DiamondIcon, DiamondOreIcon, DiamondSwordIcon, DirtIcon, EmeraldIcon, FireIcon, GoldIcon, IronIcon, ObsidianIcon, PickaxeIcon, PlanksIcon, RedstoneIcon, SandIcon, ShovelIcon, StoneIcon, SwordIcon, TorchIcon } from "./icons/items.js";
|
|
5
|
+
import { ArmorIcon, FoodIcon, HeartIcon, XPOrbIcon } from "./icons/hud.js";
|
|
6
|
+
export { AchievementIcon, AppleIcon, ArmorIcon, ArrowIcon, AxeIcon, BookIcon, BreadIcon, BucketIcon, CheckIcon, ChestIcon, ChevronDownIcon, ChevronRightIcon, ClockIcon, CloseIcon, CoalIcon, CoinIcon, CompassIcon, CraftingIcon, DiamondIcon, DiamondOreIcon, DiamondSwordIcon, DirtIcon, EmeraldIcon, ErrorIcon, FireIcon, FoodIcon, GoldIcon, GrassBlockIcon, HeartIcon, HomeIcon, InfoIcon, InventoryIcon, IronIcon, LockIcon, MenuIcon, MinusIcon, ObsidianIcon, PickaxeIcon, PlanksIcon, PlayIcon, PlayerIcon, PlusIcon, QuestIcon, RedstoneIcon, SandIcon, SearchIcon, SettingsIcon, ShovelIcon, StoneIcon, SwordIcon, TorchIcon, WarningIcon, WorldIcon, XPOrbIcon, createPixelIcon, pixelsToPaths };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared illustration palette. Most entries come straight from the design
|
|
3
|
+
* tokens; a few extra shades exist only for pixel shading.
|
|
4
|
+
*/
|
|
5
|
+
export declare const p: {
|
|
6
|
+
readonly skin: "#C8936A";
|
|
7
|
+
readonly skinDark: "#A06F4A";
|
|
8
|
+
readonly meat: "#B0602E";
|
|
9
|
+
readonly meatLight: "#D98A4E";
|
|
10
|
+
readonly meatDark: "#7A3A1A";
|
|
11
|
+
readonly bone: "#EDE1B4";
|
|
12
|
+
readonly heart: "#E0473F";
|
|
13
|
+
readonly heartLight: "#FF9C94";
|
|
14
|
+
readonly heartDark: "#9E1F1A";
|
|
15
|
+
readonly ironLight: "#F0F0F0";
|
|
16
|
+
readonly flame: "#E8772E";
|
|
17
|
+
readonly flameCore: "#FCE48C";
|
|
18
|
+
readonly paper: "#D8C78E";
|
|
19
|
+
readonly paperDark: "#A8955C";
|
|
20
|
+
readonly coalLight: "#4A4A4A";
|
|
21
|
+
readonly coalDark: "#1A1A1A";
|
|
22
|
+
readonly grass: "#5D9B3D";
|
|
23
|
+
readonly grassLight: "#7EBE55";
|
|
24
|
+
readonly grassDark: "#356B28";
|
|
25
|
+
readonly onGrass: "#0F230A";
|
|
26
|
+
readonly dirt: "#79553A";
|
|
27
|
+
readonly dirtLight: "#98704F";
|
|
28
|
+
readonly dirtDark: "#553A27";
|
|
29
|
+
readonly onDirt: "#FFFFFF";
|
|
30
|
+
readonly wood: "#8A5A2B";
|
|
31
|
+
readonly woodLight: "#AA7843";
|
|
32
|
+
readonly woodDark: "#5E3C1C";
|
|
33
|
+
readonly onWood: "#FFFFFF";
|
|
34
|
+
readonly stone: "#737373";
|
|
35
|
+
readonly stoneLight: "#959595";
|
|
36
|
+
readonly stoneDark: "#414141";
|
|
37
|
+
readonly onStone: "#FFFFFF";
|
|
38
|
+
readonly deepslate: "#292929";
|
|
39
|
+
readonly deepslateLight: "#3B3B3B";
|
|
40
|
+
readonly deepslateDark: "#1A1A1A";
|
|
41
|
+
readonly onDeepslate: "#FFFFFF";
|
|
42
|
+
readonly sand: "#D8C78E";
|
|
43
|
+
readonly sandLight: "#EDE1B4";
|
|
44
|
+
readonly sandDark: "#A8955C";
|
|
45
|
+
readonly onSand: "#1F1A0B";
|
|
46
|
+
readonly water: "#3B82C4";
|
|
47
|
+
readonly waterLight: "#62A3DE";
|
|
48
|
+
readonly waterDark: "#24568A";
|
|
49
|
+
readonly onWater: "#050E18";
|
|
50
|
+
readonly diamond: "#52D9D0";
|
|
51
|
+
readonly diamondLight: "#A5F3EE";
|
|
52
|
+
readonly diamondDark: "#1E9B93";
|
|
53
|
+
readonly onDiamond: "#0B1F1E";
|
|
54
|
+
readonly emerald: "#35B84B";
|
|
55
|
+
readonly emeraldLight: "#71DD80";
|
|
56
|
+
readonly emeraldDark: "#1E7A2F";
|
|
57
|
+
readonly onEmerald: "#0B1F0E";
|
|
58
|
+
readonly gold: "#F2C94C";
|
|
59
|
+
readonly goldLight: "#FCE48C";
|
|
60
|
+
readonly goldDark: "#B88A1B";
|
|
61
|
+
readonly onGold: "#2A1A05";
|
|
62
|
+
readonly redstone: "#B52A24";
|
|
63
|
+
readonly redstoneLight: "#E0473F";
|
|
64
|
+
readonly redstoneDark: "#7A1814";
|
|
65
|
+
readonly onRedstone: "#FFFFFF";
|
|
66
|
+
readonly obsidian: "#251B31";
|
|
67
|
+
readonly obsidianLight: "#3E2D54";
|
|
68
|
+
readonly obsidianDark: "#140E1C";
|
|
69
|
+
readonly onObsidian: "#FFFFFF";
|
|
70
|
+
readonly nether: "#702929";
|
|
71
|
+
readonly netherLight: "#954040";
|
|
72
|
+
readonly netherDark: "#4A1919";
|
|
73
|
+
readonly onNether: "#FFFFFF";
|
|
74
|
+
readonly amethyst: "#9A6BD6";
|
|
75
|
+
readonly amethystLight: "#BE9BEC";
|
|
76
|
+
readonly amethystDark: "#6A44A0";
|
|
77
|
+
readonly onAmethyst: "#160C24";
|
|
78
|
+
readonly lava: "#E8772E";
|
|
79
|
+
readonly lavaLight: "#FFAE4A";
|
|
80
|
+
readonly lavaDark: "#A8461A";
|
|
81
|
+
readonly onLava: "#200C03";
|
|
82
|
+
readonly iron: "#D8D8D8";
|
|
83
|
+
readonly ironDark: "#9C9C9C";
|
|
84
|
+
readonly coal: "#2E2E2E";
|
|
85
|
+
readonly outline: "#17191C";
|
|
86
|
+
readonly white: "#FFFFFF";
|
|
87
|
+
readonly black: "#000000";
|
|
88
|
+
readonly textPrimary: "#FFFFFF";
|
|
89
|
+
readonly textSecondary: "#C9CDD2";
|
|
90
|
+
readonly textDisabled: "#8A9097";
|
|
91
|
+
readonly background: "#1D2025";
|
|
92
|
+
};
|
|
93
|
+
//# sourceMappingURL=palette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../src/palette.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBJ,CAAC"}
|