@dicebear/notionists 6.0.0-beta.0 → 6.0.0-beta.2
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/lib/index.js +2 -2
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export const meta = {
|
|
|
17
17
|
},
|
|
18
18
|
};
|
|
19
19
|
export const create = ({ prng, options }) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
21
21
|
const components = getComponents({ prng, options });
|
|
22
22
|
const colors = getColors({ prng, options });
|
|
23
23
|
return {
|
|
@@ -26,7 +26,7 @@ export const create = ({ prng, options }) => {
|
|
|
26
26
|
fill: 'none',
|
|
27
27
|
'shape-rendering': 'auto'
|
|
28
28
|
},
|
|
29
|
-
body: `<g transform="translate(531
|
|
29
|
+
body: `<g transform="translate(531 485)">${(_b = (_a = components.base) === null || _a === void 0 ? void 0 : _a.value(components, colors)) !== null && _b !== void 0 ? _b : ''}</g><g transform="translate(178 1055)">${(_d = (_c = components.body) === null || _c === void 0 ? void 0 : _c.value(components, colors)) !== null && _d !== void 0 ? _d : ''}</g><g transform="translate(266 205)">${(_f = (_e = components.hair) === null || _e === void 0 ? void 0 : _e.value(components, colors)) !== null && _f !== void 0 ? _f : ''}</g><g transform="translate(791 869)">${(_h = (_g = components.lips) === null || _g === void 0 ? void 0 : _g.value(components, colors)) !== null && _h !== void 0 ? _h : ''}</g><g transform="translate(901 666)">${(_k = (_j = components.nose) === null || _j === void 0 ? void 0 : _j.value(components, colors)) !== null && _k !== void 0 ? _k : ''}</g><g transform="translate(610 678)">${(_m = (_l = components.eyes) === null || _l === void 0 ? void 0 : _l.value(components, colors)) !== null && _m !== void 0 ? _m : ''}</g><g transform="translate(610 678)">${(_p = (_o = components.glasses) === null || _o === void 0 ? void 0 : _o.value(components, colors)) !== null && _p !== void 0 ? _p : ''}</g><g transform="translate(774 655)">${(_r = (_q = components.brows) === null || _q === void 0 ? void 0 : _q.value(components, colors)) !== null && _r !== void 0 ? _r : ''}</g><g transform="translate(0 557)">${(_t = (_s = components.gesture) === null || _s === void 0 ? void 0 : _s.value(components, colors)) !== null && _t !== void 0 ? _t : ''}</g>`,
|
|
30
30
|
extra: () => ({
|
|
31
31
|
...Object.entries(components).reduce((acc, [key, value]) => {
|
|
32
32
|
acc[key] = value === null || value === void 0 ? void 0 : value.name;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dicebear/notionists",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.2",
|
|
4
4
|
"description": "Avatar style for DiceBear",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dicebear"
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"test": "uvu tests"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@dicebear/core": "6.0.0-beta.
|
|
32
|
+
"@dicebear/core": "6.0.0-beta.2",
|
|
33
33
|
"@tsconfig/recommended": "^1.0.2",
|
|
34
34
|
"del-cli": "^5.0.0",
|
|
35
35
|
"typescript": "^4.9.5",
|
|
36
36
|
"uvu": "^0.5.6"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@dicebear/core": "^6.0.0-beta.
|
|
39
|
+
"@dicebear/core": "^6.0.0-beta.2"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=16.0.0"
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "e3d8277255f9b6e1f19abac613c7646e06f39301"
|
|
48
48
|
}
|