@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
package/dist/palette.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { colors } from "@malilion/block-ui-tokens";
|
|
2
|
+
//#region src/palette.ts
|
|
3
|
+
/**
|
|
4
|
+
* Shared illustration palette. Most entries come straight from the design
|
|
5
|
+
* tokens; a few extra shades exist only for pixel shading.
|
|
6
|
+
*/
|
|
7
|
+
var p = {
|
|
8
|
+
...colors,
|
|
9
|
+
skin: "#C8936A",
|
|
10
|
+
skinDark: "#A06F4A",
|
|
11
|
+
meat: "#B0602E",
|
|
12
|
+
meatLight: "#D98A4E",
|
|
13
|
+
meatDark: "#7A3A1A",
|
|
14
|
+
bone: colors.sandLight,
|
|
15
|
+
heart: "#E0473F",
|
|
16
|
+
heartLight: "#FF9C94",
|
|
17
|
+
heartDark: "#9E1F1A",
|
|
18
|
+
ironLight: "#F0F0F0",
|
|
19
|
+
flame: colors.lava,
|
|
20
|
+
flameCore: colors.goldLight,
|
|
21
|
+
paper: colors.sand,
|
|
22
|
+
paperDark: colors.sandDark,
|
|
23
|
+
coalLight: "#4A4A4A",
|
|
24
|
+
coalDark: "#1A1A1A"
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { p };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=palette.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palette.js","names":[],"sources":["../src/palette.ts"],"sourcesContent":["import { colors } from \"@malilion/block-ui-tokens\";\n\n/**\n * Shared illustration palette. Most entries come straight from the design\n * tokens; a few extra shades exist only for pixel shading.\n */\nexport const p = {\n ...colors,\n skin: \"#C8936A\",\n skinDark: \"#A06F4A\",\n meat: \"#B0602E\",\n meatLight: \"#D98A4E\",\n meatDark: \"#7A3A1A\",\n bone: colors.sandLight,\n heart: \"#E0473F\",\n heartLight: \"#FF9C94\",\n heartDark: \"#9E1F1A\",\n ironLight: \"#F0F0F0\",\n flame: colors.lava,\n flameCore: colors.goldLight,\n paper: colors.sand,\n paperDark: colors.sandDark,\n coalLight: \"#4A4A4A\",\n coalDark: \"#1A1A1A\",\n} as const;\n"],"mappings":";;;;;;AAMA,IAAa,IAAI;CACf,GAAG;CACH,MAAM;CACN,UAAU;CACV,MAAM;CACN,WAAW;CACX,UAAU;CACV,MAAM,OAAO;CACb,OAAO;CACP,YAAY;CACZ,WAAW;CACX,WAAW;CACX,OAAO,OAAO;CACd,WAAW,OAAO;CAClB,OAAO,OAAO;CACd,WAAW,OAAO;CAClB,WAAW;CACX,UAAU;AACZ"}
|
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@malilion/block-ui-icons",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Pixel-art React icons (16 × 16 grid) for Block UI.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Block UI Contributors",
|
|
7
|
+
"homepage": "https://malilion.github.io/BlockUI/",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/malilion/BlockUI.git",
|
|
11
|
+
"directory": "packages/icons"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/malilion/BlockUI/issues"
|
|
15
|
+
},
|
|
16
|
+
"type": "module",
|
|
17
|
+
"sideEffects": false,
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"@block-ui/source": "./src/index.ts",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"import": "./dist/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./package.json": "./package.json"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE"
|
|
30
|
+
],
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"react": "^18.2.0 || ^19.0.0"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@malilion/block-ui-tokens": "^0.1.0"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
39
|
+
"@testing-library/react": "^16.3.3",
|
|
40
|
+
"@types/react": "^19.3.0",
|
|
41
|
+
"@types/react-dom": "^19.3.0",
|
|
42
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
43
|
+
"jsdom": "^30.1.1",
|
|
44
|
+
"react": "^19.3.0",
|
|
45
|
+
"react-dom": "^19.3.0",
|
|
46
|
+
"vite": "^8.3.2",
|
|
47
|
+
"vitest": "^5.0.3"
|
|
48
|
+
},
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"block-ui",
|
|
54
|
+
"icons",
|
|
55
|
+
"pixel-art",
|
|
56
|
+
"react"
|
|
57
|
+
],
|
|
58
|
+
"scripts": {
|
|
59
|
+
"build": "vite build && tsc -p tsconfig.build.json",
|
|
60
|
+
"typecheck": "tsc -p tsconfig.json"
|
|
61
|
+
}
|
|
62
|
+
}
|