@malilion/block-ui-icons 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/icons/ui.d.ts +2 -0
- package/dist/icons/ui.d.ts.map +1 -1
- package/dist/icons/ui.js +37 -1
- package/dist/icons/ui.js.map +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/icons/ui.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export declare const ErrorIcon: import("..").PixelIcon;
|
|
|
8
8
|
export declare const ArrowIcon: import("..").PixelIcon;
|
|
9
9
|
export declare const ChevronDownIcon: import("..").PixelIcon;
|
|
10
10
|
export declare const ChevronRightIcon: import("..").PixelIcon;
|
|
11
|
+
export declare const ChevronLeftIcon: import("..").PixelIcon;
|
|
12
|
+
export declare const ChevronUpIcon: import("..").PixelIcon;
|
|
11
13
|
export declare const LockIcon: import("..").PixelIcon;
|
|
12
14
|
export declare const PlayIcon: import("..").PixelIcon;
|
|
13
15
|
export declare const MenuIcon: import("..").PixelIcon;
|
package/dist/icons/ui.d.ts.map
CHANGED
|
@@ -1 +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"}
|
|
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,eAAe,wBAmB1B,CAAC;AAEH,eAAO,MAAM,aAAa,wBAmBxB,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
CHANGED
|
@@ -163,6 +163,42 @@ var ChevronRightIcon = /*#__PURE__*/ createPixelIcon("ChevronRightIcon", { pixel
|
|
|
163
163
|
"................",
|
|
164
164
|
"................"
|
|
165
165
|
] });
|
|
166
|
+
var ChevronLeftIcon = /*#__PURE__*/ createPixelIcon("ChevronLeftIcon", { pixels: [
|
|
167
|
+
"................",
|
|
168
|
+
"................",
|
|
169
|
+
".........xx.....",
|
|
170
|
+
"........xxx.....",
|
|
171
|
+
".......xxx......",
|
|
172
|
+
"......xxx.......",
|
|
173
|
+
".....xxx........",
|
|
174
|
+
".....xx.........",
|
|
175
|
+
".....xx.........",
|
|
176
|
+
".....xxx........",
|
|
177
|
+
"......xxx.......",
|
|
178
|
+
".......xxx......",
|
|
179
|
+
"........xxx.....",
|
|
180
|
+
".........xx.....",
|
|
181
|
+
"................",
|
|
182
|
+
"................"
|
|
183
|
+
] });
|
|
184
|
+
var ChevronUpIcon = /*#__PURE__*/ createPixelIcon("ChevronUpIcon", { pixels: [
|
|
185
|
+
"................",
|
|
186
|
+
"................",
|
|
187
|
+
"................",
|
|
188
|
+
"................",
|
|
189
|
+
".......xx.......",
|
|
190
|
+
"......xxxx......",
|
|
191
|
+
".....xxxxxx.....",
|
|
192
|
+
"....xxx..xxx....",
|
|
193
|
+
"...xxx....xxx...",
|
|
194
|
+
"..xxx......xxx..",
|
|
195
|
+
"..xx........xx..",
|
|
196
|
+
"................",
|
|
197
|
+
"................",
|
|
198
|
+
"................",
|
|
199
|
+
"................",
|
|
200
|
+
"................"
|
|
201
|
+
] });
|
|
166
202
|
var LockIcon = /*#__PURE__*/ createPixelIcon("LockIcon", { pixels: [
|
|
167
203
|
"................",
|
|
168
204
|
"................",
|
|
@@ -254,6 +290,6 @@ var MinusIcon = /*#__PURE__*/ createPixelIcon("MinusIcon", { pixels: [
|
|
|
254
290
|
"................"
|
|
255
291
|
] });
|
|
256
292
|
//#endregion
|
|
257
|
-
export { ArrowIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CloseIcon, ErrorIcon, InfoIcon, LockIcon, MenuIcon, MinusIcon, PlayIcon, PlusIcon, SearchIcon, WarningIcon };
|
|
293
|
+
export { ArrowIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, ErrorIcon, InfoIcon, LockIcon, MenuIcon, MinusIcon, PlayIcon, PlusIcon, SearchIcon, WarningIcon };
|
|
258
294
|
|
|
259
295
|
//# sourceMappingURL=ui.js.map
|
package/dist/icons/ui.js.map
CHANGED
|
@@ -1 +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"}
|
|
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 ChevronLeftIcon = /*#__PURE__*/ createPixelIcon(\"ChevronLeftIcon\", {\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 ChevronUpIcon = /*#__PURE__*/ createPixelIcon(\"ChevronUpIcon\", {\n pixels: [\n \"................\",\n \"................\",\n \"................\",\n \"................\",\n \".......xx.......\",\n \"......xxxx......\",\n \".....xxxxxx.....\",\n \"....xxx..xxx....\",\n \"...xxx....xxx...\",\n \"..xxx......xxx..\",\n \"..xx........xx..\",\n \"................\",\n \"................\",\n \"................\",\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,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,gBAA8B,8BAAgB,iBAAiB,EAC1E,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.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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";
|
|
2
|
+
import { ArrowIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, ErrorIcon, InfoIcon, LockIcon, MenuIcon, MinusIcon, PlayIcon, PlusIcon, SearchIcon, WarningIcon } from "./icons/ui.js";
|
|
3
3
|
import { AchievementIcon, CraftingIcon, GrassBlockIcon, HomeIcon, InventoryIcon, PlayerIcon, QuestIcon, SettingsIcon, WorldIcon } from "./icons/navigation.js";
|
|
4
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
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 };
|
|
6
|
+
export { AchievementIcon, AppleIcon, ArmorIcon, ArrowIcon, AxeIcon, BookIcon, BreadIcon, BucketIcon, CheckIcon, ChestIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, 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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malilion/block-ui-icons",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Pixel-art React icons (16 × 16 grid) for Block UI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Block UI Contributors",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"react": "^18.2.0 || ^19.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@malilion/block-ui-tokens": "^0.
|
|
35
|
+
"@malilion/block-ui-tokens": "^0.2.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@testing-library/jest-dom": "^7.0.1",
|