@dicebear/glass 9.2.0 → 9.2.1
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 +1 -1
- package/README.md +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -2
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -5,7 +5,7 @@ Licenses
|
|
|
5
5
|
Applies to all design files in this package.
|
|
6
6
|
|
|
7
7
|
Source: Glass (https://www.dicebear.com)
|
|
8
|
-
Designer:
|
|
8
|
+
Designer: DiceBear (https://www.dicebear.com)
|
|
9
9
|
License: CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
|
10
10
|
|
|
11
11
|
# Code
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<h1 align="center"><img src="https://dicebear.com/logo-readme.svg" width="96" /> <br />DiceBear Glass</h1>
|
|
2
2
|
<p align="center">
|
|
3
3
|
<strong>Avatar Style for <a href="https://dicebear.com/">DiceBear</a></strong><br />
|
|
4
|
-
<a href="https://www.dicebear.com">Glass</a> by <a href="https://www.dicebear.com">
|
|
4
|
+
<a href="https://www.dicebear.com">Glass</a> by <a href="https://www.dicebear.com">DiceBear</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
<p align="center">
|
|
18
18
|
The avatar style is based on <a href="https://www.dicebear.com">Glass</a> by
|
|
19
|
-
<a href="https://www.dicebear.com">
|
|
19
|
+
<a href="https://www.dicebear.com">DiceBear</a>, licensed under
|
|
20
20
|
<a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0</a>. / Remix of the original.
|
|
21
21
|
</p>
|
|
22
22
|
<p align="center">
|
package/lib/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Code licensed under MIT License.
|
|
11
11
|
* Copyright (c) 2024 Florian Körner
|
|
12
12
|
*
|
|
13
|
-
* Design "Glass" by
|
|
13
|
+
* Design "Glass" by DiceBear licensed under CC0 1.0. / Remix of the original.
|
|
14
14
|
* Source: https://www.dicebear.com
|
|
15
15
|
* Homepage: https://www.dicebear.com
|
|
16
16
|
* License: https://creativecommons.org/publicdomain/zero/1.0/
|
package/lib/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { getComponents } from './utils/getComponents.js';
|
|
|
8
8
|
import { getColors } from './utils/getColors.js';
|
|
9
9
|
export const meta = {
|
|
10
10
|
title: 'Glass',
|
|
11
|
-
creator: '
|
|
11
|
+
creator: 'DiceBear',
|
|
12
12
|
source: 'https://www.dicebear.com',
|
|
13
13
|
homepage: 'https://www.dicebear.com',
|
|
14
14
|
license: {
|
|
@@ -26,7 +26,7 @@ export const create = ({ prng, options }) => {
|
|
|
26
26
|
fill: 'none',
|
|
27
27
|
'shape-rendering': 'auto'
|
|
28
28
|
},
|
|
29
|
-
body: `<g style="mix-blend-mode:screen" opacity="0.6" filter="url(#dicebearGlass-a)"><g transform="translate(-25 -25)">${(_b = (_a = components.shape2) === null || _a === void 0 ? void 0 : _a.value(components, colors)) !== null && _b !== void 0 ? _b : ''}</g></g><g style="mix-blend-mode:screen" opacity="0.6" filter="url(#dicebearGlass-b)"><g transform="translate(-25 -25)">${(_d = (_c = components.shape1) === null || _c === void 0 ? void 0 : _c.value(components, colors)) !== null && _d !== void 0 ? _d : ''}</g></g><defs><filter id="dicebearGlass-a" x="-57" y="-57" width="214" height="214" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur stdDeviation="16" result="
|
|
29
|
+
body: `<g style="mix-blend-mode:screen" opacity="0.6" filter="url(#dicebearGlass-a)"><g transform="translate(-25 -25)">${(_b = (_a = components.shape2) === null || _a === void 0 ? void 0 : _a.value(components, colors)) !== null && _b !== void 0 ? _b : ''}</g></g><g style="mix-blend-mode:screen" opacity="0.6" filter="url(#dicebearGlass-b)"><g transform="translate(-25 -25)">${(_d = (_c = components.shape1) === null || _c === void 0 ? void 0 : _c.value(components, colors)) !== null && _d !== void 0 ? _d : ''}</g></g><defs><filter id="dicebearGlass-a" x="-57" y="-57" width="214" height="214" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur stdDeviation="16" result="effect1_foregroundBlur_25_7"/></filter><filter id="dicebearGlass-b" x="-57" y="-57" width="214" height="214" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur stdDeviation="16" result="effect1_foregroundBlur_25_7"/></filter></defs>`,
|
|
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/glass",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.1",
|
|
4
4
|
"description": "Avatar style for DiceBear",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dicebear"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"test": "uvu tests"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@dicebear/core": "9.2.
|
|
32
|
+
"@dicebear/core": "9.2.1",
|
|
33
33
|
"@tsconfig/recommended": "^1.0.2",
|
|
34
34
|
"del-cli": "^5.0.0",
|
|
35
35
|
"typescript": "^5.1.6",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "49137b3469a8b831a296c61a69169f0005879508"
|
|
48
48
|
}
|