@dicebear/shapes 5.0.0-alpha.5 → 5.0.0-alpha.9
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/index.d.ts +20 -14
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.js +427 -670
- package/dist/index.es.js.map +1 -0
- package/dist/index.js +431 -677
- package/dist/index.js.map +1 -0
- package/package.json +14 -9
- package/dist/colors/base.d.ts +0 -2
- package/dist/colors/index.d.ts +0 -1
- package/dist/components/center.d.ts +0 -2
- package/dist/components/centerModifier.d.ts +0 -2
- package/dist/components/centerWrapper.d.ts +0 -2
- package/dist/components/corners.d.ts +0 -2
- package/dist/components/cornersModifier.d.ts +0 -2
- package/dist/components/cornersWrapper.d.ts +0 -2
- package/dist/components/index.d.ts +0 -9
- package/dist/components/sides.d.ts +0 -2
- package/dist/components/sidesModifier.d.ts +0 -2
- package/dist/components/sidesWrapper.d.ts +0 -2
- package/dist/core.d.ts +0 -3
- package/dist/hooks/onPostCreate.d.ts +0 -12
- package/dist/hooks/onPreCreate.d.ts +0 -9
- package/dist/index.umd.js +0 -13
- package/dist/meta/components.d.ts +0 -4
- package/dist/options.d.ts +0 -17
- package/dist/static-types.d.ts +0 -16
- package/dist/utils/getColors.d.ts +0 -9
- package/dist/utils/getComponents.d.ts +0 -9
- package/dist/utils/pickColor.d.ts +0 -9
- package/dist/utils/pickComponent.d.ts +0 -9
package/dist/index.es.js
CHANGED
|
@@ -1,718 +1,475 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"deepPurple",
|
|
41
|
-
"green",
|
|
42
|
-
"indigo",
|
|
43
|
-
"lightBlue",
|
|
44
|
-
"lightGreen",
|
|
45
|
-
"lime",
|
|
46
|
-
"orange",
|
|
47
|
-
"pink",
|
|
48
|
-
"purple",
|
|
49
|
-
"red",
|
|
50
|
-
"teal",
|
|
51
|
-
"yellow"
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
center: {
|
|
55
|
-
type: "array",
|
|
56
|
-
items: {
|
|
57
|
-
type: "string",
|
|
58
|
-
"enum": [
|
|
59
|
-
"shape1Inverted",
|
|
60
|
-
"shape1",
|
|
61
|
-
"shape2Inverted",
|
|
62
|
-
"shape2",
|
|
63
|
-
"shape3Inverted",
|
|
64
|
-
"shape3",
|
|
65
|
-
"shape4Inverted",
|
|
66
|
-
"shape4",
|
|
67
|
-
"shape5Inverted",
|
|
68
|
-
"shape5",
|
|
69
|
-
"shape6Inverted",
|
|
70
|
-
"shape6",
|
|
71
|
-
"shape7Inverted",
|
|
72
|
-
"shape7",
|
|
73
|
-
"shape8",
|
|
74
|
-
"shape9"
|
|
75
|
-
]
|
|
76
|
-
},
|
|
77
|
-
"default": [
|
|
78
|
-
"shape1Inverted",
|
|
79
|
-
"shape1",
|
|
80
|
-
"shape2Inverted",
|
|
81
|
-
"shape2",
|
|
82
|
-
"shape3Inverted",
|
|
83
|
-
"shape3",
|
|
84
|
-
"shape4Inverted",
|
|
85
|
-
"shape4",
|
|
86
|
-
"shape5Inverted",
|
|
87
|
-
"shape5",
|
|
88
|
-
"shape6Inverted",
|
|
89
|
-
"shape6",
|
|
90
|
-
"shape7Inverted",
|
|
91
|
-
"shape7",
|
|
92
|
-
"shape8",
|
|
93
|
-
"shape9"
|
|
94
|
-
]
|
|
95
|
-
},
|
|
96
|
-
centerModifier: {
|
|
97
|
-
type: "array",
|
|
98
|
-
items: {
|
|
99
|
-
type: "string",
|
|
100
|
-
"enum": [
|
|
101
|
-
"none",
|
|
102
|
-
"lightGray",
|
|
103
|
-
"gray",
|
|
104
|
-
"lighten"
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
|
-
"default": [
|
|
108
|
-
"none",
|
|
109
|
-
"lightGray",
|
|
110
|
-
"gray",
|
|
111
|
-
"lighten"
|
|
112
|
-
]
|
|
113
|
-
},
|
|
114
|
-
centerWrapper: {
|
|
115
|
-
type: "array",
|
|
116
|
-
items: {
|
|
117
|
-
type: "string",
|
|
118
|
-
"enum": [
|
|
119
|
-
"default"
|
|
120
|
-
]
|
|
121
|
-
},
|
|
122
|
-
"default": [
|
|
123
|
-
"default"
|
|
124
|
-
]
|
|
125
|
-
},
|
|
126
|
-
corners: {
|
|
127
|
-
type: "array",
|
|
128
|
-
items: {
|
|
129
|
-
type: "string",
|
|
130
|
-
"enum": [
|
|
131
|
-
"shape10",
|
|
132
|
-
"shape09",
|
|
133
|
-
"shape08",
|
|
134
|
-
"shape07",
|
|
135
|
-
"shape06",
|
|
136
|
-
"shape05",
|
|
137
|
-
"shape04",
|
|
138
|
-
"shape03",
|
|
139
|
-
"shape02",
|
|
140
|
-
"shape01"
|
|
141
|
-
]
|
|
142
|
-
},
|
|
143
|
-
"default": [
|
|
144
|
-
"shape10",
|
|
145
|
-
"shape09",
|
|
146
|
-
"shape08",
|
|
147
|
-
"shape07",
|
|
148
|
-
"shape06",
|
|
149
|
-
"shape05",
|
|
150
|
-
"shape04",
|
|
151
|
-
"shape03",
|
|
152
|
-
"shape02",
|
|
153
|
-
"shape01"
|
|
154
|
-
]
|
|
155
|
-
},
|
|
156
|
-
cornersModifier: {
|
|
157
|
-
type: "array",
|
|
158
|
-
items: {
|
|
159
|
-
type: "string",
|
|
160
|
-
"enum": [
|
|
161
|
-
"none",
|
|
162
|
-
"lightGray",
|
|
163
|
-
"gray",
|
|
164
|
-
"lighten"
|
|
165
|
-
]
|
|
166
|
-
},
|
|
167
|
-
"default": [
|
|
168
|
-
"none",
|
|
169
|
-
"lightGray",
|
|
170
|
-
"gray",
|
|
171
|
-
"lighten"
|
|
172
|
-
]
|
|
173
|
-
},
|
|
174
|
-
cornersWrapper: {
|
|
175
|
-
type: "array",
|
|
176
|
-
items: {
|
|
177
|
-
type: "string",
|
|
178
|
-
"enum": [
|
|
179
|
-
"default"
|
|
180
|
-
]
|
|
181
|
-
},
|
|
182
|
-
"default": [
|
|
183
|
-
"default"
|
|
184
|
-
]
|
|
185
|
-
},
|
|
186
|
-
sides: {
|
|
187
|
-
type: "array",
|
|
188
|
-
items: {
|
|
189
|
-
type: "string",
|
|
190
|
-
"enum": [
|
|
191
|
-
"shape10",
|
|
192
|
-
"shape09",
|
|
193
|
-
"shape08",
|
|
194
|
-
"shape07",
|
|
195
|
-
"shape06",
|
|
196
|
-
"shape05",
|
|
197
|
-
"shape04",
|
|
198
|
-
"shape03",
|
|
199
|
-
"shape02",
|
|
200
|
-
"shape01"
|
|
201
|
-
]
|
|
202
|
-
},
|
|
203
|
-
"default": [
|
|
204
|
-
"shape10",
|
|
205
|
-
"shape09",
|
|
206
|
-
"shape08",
|
|
207
|
-
"shape07",
|
|
208
|
-
"shape06",
|
|
209
|
-
"shape05",
|
|
210
|
-
"shape04",
|
|
211
|
-
"shape03",
|
|
212
|
-
"shape02",
|
|
213
|
-
"shape01"
|
|
214
|
-
]
|
|
215
|
-
},
|
|
216
|
-
sidesModifier: {
|
|
217
|
-
type: "array",
|
|
218
|
-
items: {
|
|
219
|
-
type: "string",
|
|
220
|
-
"enum": [
|
|
221
|
-
"none",
|
|
222
|
-
"lightGray",
|
|
223
|
-
"gray",
|
|
224
|
-
"lighten"
|
|
225
|
-
]
|
|
226
|
-
},
|
|
227
|
-
"default": [
|
|
228
|
-
"none",
|
|
229
|
-
"lightGray",
|
|
230
|
-
"gray",
|
|
231
|
-
"lighten"
|
|
232
|
-
]
|
|
233
|
-
},
|
|
234
|
-
sidesWrapper: {
|
|
235
|
-
type: "array",
|
|
236
|
-
items: {
|
|
237
|
-
type: "string",
|
|
238
|
-
"enum": [
|
|
239
|
-
"default"
|
|
240
|
-
]
|
|
241
|
-
},
|
|
242
|
-
"default": [
|
|
243
|
-
"default"
|
|
244
|
-
]
|
|
245
|
-
}
|
|
246
|
-
};
|
|
247
|
-
var additionalProperties = false;
|
|
248
|
-
var schema$1 = {
|
|
249
|
-
title: title,
|
|
250
|
-
$schema: $schema,
|
|
251
|
-
properties: properties,
|
|
252
|
-
additionalProperties: additionalProperties
|
|
1
|
+
function $parcel$interopDefault(a) {
|
|
2
|
+
return a && a.__esModule ? a.default : a;
|
|
3
|
+
}
|
|
4
|
+
function $parcel$export(e, n, v, s) {
|
|
5
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
6
|
+
}
|
|
7
|
+
var $67e4187b48816612$exports = {};
|
|
8
|
+
$67e4187b48816612$exports = JSON.parse("{\"title\":\"Options\",\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"properties\":{\"baseColor\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"anyOf\":[{\"type\":\"string\",\"pattern\":\"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$\"},{\"type\":\"string\",\"enum\":[\"amber\",\"blue\",\"cyan\",\"deepOrange\",\"deepPurple\",\"green\",\"indigo\",\"lightBlue\",\"lightGreen\",\"lime\",\"orange\",\"pink\",\"purple\",\"red\",\"teal\",\"yellow\"]}]},\"default\":[\"amber\",\"blue\",\"cyan\",\"deepOrange\",\"deepPurple\",\"green\",\"indigo\",\"lightBlue\",\"lightGreen\",\"lime\",\"orange\",\"pink\",\"purple\",\"red\",\"teal\",\"yellow\"]},\"center\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"shape1Inverted\",\"shape1\",\"shape2Inverted\",\"shape2\",\"shape3Inverted\",\"shape3\",\"shape4Inverted\",\"shape4\",\"shape5Inverted\",\"shape5\",\"shape6Inverted\",\"shape6\",\"shape7Inverted\",\"shape7\",\"shape8\",\"shape9\"]},\"default\":[\"shape1Inverted\",\"shape1\",\"shape2Inverted\",\"shape2\",\"shape3Inverted\",\"shape3\",\"shape4Inverted\",\"shape4\",\"shape5Inverted\",\"shape5\",\"shape6Inverted\",\"shape6\",\"shape7Inverted\",\"shape7\",\"shape8\",\"shape9\"]},\"centerModifier\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"none\",\"lightGray\",\"gray\",\"lighten\"]},\"default\":[\"none\",\"lightGray\",\"gray\",\"lighten\"]},\"centerWrapper\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"default\"]},\"default\":[\"default\"]},\"corners\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"shape10\",\"shape09\",\"shape08\",\"shape07\",\"shape06\",\"shape05\",\"shape04\",\"shape03\",\"shape02\",\"shape01\"]},\"default\":[\"shape10\",\"shape09\",\"shape08\",\"shape07\",\"shape06\",\"shape05\",\"shape04\",\"shape03\",\"shape02\",\"shape01\"]},\"cornersModifier\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"none\",\"lightGray\",\"gray\",\"lighten\"]},\"default\":[\"none\",\"lightGray\",\"gray\",\"lighten\"]},\"cornersWrapper\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"default\"]},\"default\":[\"default\"]},\"sides\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"shape10\",\"shape09\",\"shape08\",\"shape07\",\"shape06\",\"shape05\",\"shape04\",\"shape03\",\"shape02\",\"shape01\"]},\"default\":[\"shape10\",\"shape09\",\"shape08\",\"shape07\",\"shape06\",\"shape05\",\"shape04\",\"shape03\",\"shape02\",\"shape01\"]},\"sidesModifier\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"none\",\"lightGray\",\"gray\",\"lighten\"]},\"default\":[\"none\",\"lightGray\",\"gray\",\"lighten\"]},\"sidesWrapper\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"default\"]},\"default\":[\"default\"]}},\"additionalProperties\":false}");
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var $8d32e7eb0737d2f8$exports = {};
|
|
12
|
+
|
|
13
|
+
$parcel$export($8d32e7eb0737d2f8$exports, "centerModifier", function () { return $476636328e722a09$export$ab12e1dd328f61f4; });
|
|
14
|
+
$parcel$export($8d32e7eb0737d2f8$exports, "cornersModifier", function () { return $dbf20b83e8c5e37b$export$76bffe75b78c48eb; });
|
|
15
|
+
$parcel$export($8d32e7eb0737d2f8$exports, "sidesModifier", function () { return $453ed38ace51786c$export$fb256829d2744cca; });
|
|
16
|
+
$parcel$export($8d32e7eb0737d2f8$exports, "sidesWrapper", function () { return $19062f9f95291733$export$e13a84330d5c0f4a; });
|
|
17
|
+
$parcel$export($8d32e7eb0737d2f8$exports, "sides", function () { return $1db5d4d79df4d87b$export$832b6fa47fa053d2; });
|
|
18
|
+
$parcel$export($8d32e7eb0737d2f8$exports, "cornersWrapper", function () { return $17a6e15359b21f1d$export$753e340586fd18e2; });
|
|
19
|
+
$parcel$export($8d32e7eb0737d2f8$exports, "corners", function () { return $28a98c8c0d7da433$export$389cfe57f7c9dd77; });
|
|
20
|
+
$parcel$export($8d32e7eb0737d2f8$exports, "centerWrapper", function () { return $ef48713e7f3412ce$export$d2d6c9a8ff78da49; });
|
|
21
|
+
$parcel$export($8d32e7eb0737d2f8$exports, "center", function () { return $6677c8736950a583$export$3481c78889e8fbe8; });
|
|
22
|
+
var ref5, ref1, ref2, ref3;
|
|
23
|
+
const $476636328e722a09$export$ab12e1dd328f61f4 = {
|
|
24
|
+
none: (components, colors)=>{
|
|
25
|
+
var ref4;
|
|
26
|
+
return `${(ref5 = (ref4 = components.centerWrapper) === null || ref4 === void 0 ? void 0 : ref4.value(components, colors)) !== null && ref5 !== void 0 ? ref5 : ''}`;
|
|
27
|
+
},
|
|
28
|
+
lightGray: (components, colors)=>{
|
|
29
|
+
var ref;
|
|
30
|
+
return `<mask id="centerModifierLightGray-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="48" height="48">${(ref1 = (ref = components.centerWrapper) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref1 !== void 0 ? ref1 : ''}</mask><g mask="url(#centerModifierLightGray-a)"><path fill="#E5E5E5" d="M0 0h48v48H0z"/></g>`;
|
|
31
|
+
},
|
|
32
|
+
gray: (components, colors)=>{
|
|
33
|
+
var ref;
|
|
34
|
+
return `<mask id="centerModifierGray-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="48" height="48">${(ref2 = (ref = components.centerWrapper) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref2 !== void 0 ? ref2 : ''}</mask><g mask="url(#centerModifierGray-a)"><path fill="#737373" d="M0 0h48v48H0z"/></g>`;
|
|
35
|
+
},
|
|
36
|
+
lighten: (components, colors)=>{
|
|
37
|
+
var ref;
|
|
38
|
+
return `<mask id="centerModifierLighten-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="48" height="48">${(ref3 = (ref = components.centerWrapper) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref3 !== void 0 ? ref3 : ''}</mask><g mask="url(#centerModifierLighten-a)"><path fill="${colors.base.value}" d="M0 0h48v48H0z"/><path fill="#fff" fill-opacity=".5" d="M0 0h48v48H0z"/></g>`;
|
|
39
|
+
}
|
|
253
40
|
};
|
|
254
41
|
|
|
255
|
-
const centerModifier = {
|
|
256
|
-
none: (components, colors) => {
|
|
257
|
-
var _components$centerWra, _components$centerWra2;
|
|
258
42
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
43
|
+
var ref5, ref1, ref2, ref3;
|
|
44
|
+
const $dbf20b83e8c5e37b$export$76bffe75b78c48eb = {
|
|
45
|
+
none: (components, colors)=>{
|
|
46
|
+
var ref4;
|
|
47
|
+
return `${(ref5 = (ref4 = components.cornersWrapper) === null || ref4 === void 0 ? void 0 : ref4.value(components, colors)) !== null && ref5 !== void 0 ? ref5 : ''}`;
|
|
48
|
+
},
|
|
49
|
+
lightGray: (components, colors)=>{
|
|
50
|
+
var ref;
|
|
51
|
+
return `<mask id="cornersModifierLightGray-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="48" height="48">${(ref1 = (ref = components.cornersWrapper) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref1 !== void 0 ? ref1 : ''}</mask><g mask="url(#cornersModifierLightGray-a)"><path fill="#E5E5E5" d="M0 0h48v48H0z"/></g>`;
|
|
52
|
+
},
|
|
53
|
+
gray: (components, colors)=>{
|
|
54
|
+
var ref;
|
|
55
|
+
return `<mask id="cornersModifierGray-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="48" height="48">${(ref2 = (ref = components.cornersWrapper) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref2 !== void 0 ? ref2 : ''}</mask><g mask="url(#cornersModifierGray-a)"><path fill="#737373" d="M0 0h48v48H0z"/></g>`;
|
|
56
|
+
},
|
|
57
|
+
lighten: (components, colors)=>{
|
|
58
|
+
var ref;
|
|
59
|
+
return `<mask id="cornersModifierLighten-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="48" height="48">${(ref3 = (ref = components.cornersWrapper) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref3 !== void 0 ? ref3 : ''}</mask><g mask="url(#cornersModifierLighten-a)"><path fill="${colors.base.value}" d="M0 0h48v48H0z"/><path fill="#fff" fill-opacity=".5" d="M0 0h48v48H0z"/></g>`;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
268
62
|
|
|
269
|
-
return "<mask id=\"centerModifierGray-a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"48\" height=\"48\">".concat((_components$centerWra5 = (_components$centerWra6 = components.centerWrapper) === null || _components$centerWra6 === void 0 ? void 0 : _components$centerWra6.value(components, colors)) !== null && _components$centerWra5 !== void 0 ? _components$centerWra5 : '', "</mask><g mask=\"url(#centerModifierGray-a)\"><path fill=\"#737373\" d=\"M0 0h48v48H0z\"/></g>");
|
|
270
|
-
},
|
|
271
|
-
lighten: (components, colors) => {
|
|
272
|
-
var _components$centerWra7, _components$centerWra8;
|
|
273
63
|
|
|
274
|
-
|
|
275
|
-
|
|
64
|
+
var ref5, ref1, ref2, ref3;
|
|
65
|
+
const $453ed38ace51786c$export$fb256829d2744cca = {
|
|
66
|
+
none: (components, colors)=>{
|
|
67
|
+
var ref4;
|
|
68
|
+
return `${(ref5 = (ref4 = components.sidesWrapper) === null || ref4 === void 0 ? void 0 : ref4.value(components, colors)) !== null && ref5 !== void 0 ? ref5 : ''}`;
|
|
69
|
+
},
|
|
70
|
+
lightGray: (components, colors)=>{
|
|
71
|
+
var ref;
|
|
72
|
+
return `<mask id="sidesModifierLightGray-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="48" height="48">${(ref1 = (ref = components.sidesWrapper) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref1 !== void 0 ? ref1 : ''}</mask><g mask="url(#sidesModifierLightGray-a)"><path fill="#E5E5E5" d="M0 0h48v48H0z"/></g>`;
|
|
73
|
+
},
|
|
74
|
+
gray: (components, colors)=>{
|
|
75
|
+
var ref;
|
|
76
|
+
return `<mask id="sidesModifierGray-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="48" height="48">${(ref2 = (ref = components.sidesWrapper) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref2 !== void 0 ? ref2 : ''}</mask><g mask="url(#sidesModifierGray-a)"><path fill="#737373" d="M0 0h48v48H0z"/></g>`;
|
|
77
|
+
},
|
|
78
|
+
lighten: (components, colors)=>{
|
|
79
|
+
var ref;
|
|
80
|
+
return `<mask id="sidesModifierLighten-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="48" height="48">${(ref3 = (ref = components.sidesWrapper) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref3 !== void 0 ? ref3 : ''}</mask><g mask="url(#sidesModifierLighten-a)"><path fill="${colors.base.value}" d="M0 0h48v48H0z"/><path fill="#fff" fill-opacity=".5" d="M0 0h48v48H0z"/></g>`;
|
|
81
|
+
}
|
|
276
82
|
};
|
|
277
83
|
|
|
278
|
-
const cornersModifier = {
|
|
279
|
-
none: (components, colors) => {
|
|
280
|
-
var _components$cornersWr, _components$cornersWr2;
|
|
281
84
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
gray: (components, colors) => {
|
|
290
|
-
var _components$cornersWr5, _components$cornersWr6;
|
|
85
|
+
var ref, ref1, ref2, ref3, ref4, ref5, ref6, ref7;
|
|
86
|
+
const $19062f9f95291733$export$e13a84330d5c0f4a = {
|
|
87
|
+
default: (components, colors)=>{
|
|
88
|
+
var ref15, ref8, ref9, ref10, ref11, ref12, ref13, ref14;
|
|
89
|
+
return `<g transform="translate(12)">${(ref = (ref15 = components.sides) === null || ref15 === void 0 ? void 0 : ref15.value(components, colors)) !== null && ref !== void 0 ? ref : ''}</g><g transform="rotate(90 18 18)">${(ref1 = (ref8 = components.sides) === null || ref8 === void 0 ? void 0 : ref8.value(components, colors)) !== null && ref1 !== void 0 ? ref1 : ''}</g><g transform="rotate(90 18 30)">${(ref2 = (ref9 = components.sides) === null || ref9 === void 0 ? void 0 : ref9.value(components, colors)) !== null && ref2 !== void 0 ? ref2 : ''}</g><g transform="rotate(-180 24 18)">${(ref3 = (ref10 = components.sides) === null || ref10 === void 0 ? void 0 : ref10.value(components, colors)) !== null && ref3 !== void 0 ? ref3 : ''}</g><g transform="rotate(-180 18 24)">${(ref4 = (ref11 = components.sides) === null || ref11 === void 0 ? void 0 : ref11.value(components, colors)) !== null && ref4 !== void 0 ? ref4 : ''}</g><g transform="rotate(-90 30 18)">${(ref5 = (ref12 = components.sides) === null || ref12 === void 0 ? void 0 : ref12.value(components, colors)) !== null && ref5 !== void 0 ? ref5 : ''}</g><g transform="rotate(-90 18 18)">${(ref6 = (ref13 = components.sides) === null || ref13 === void 0 ? void 0 : ref13.value(components, colors)) !== null && ref6 !== void 0 ? ref6 : ''}</g><g transform="translate(0 12)">${(ref7 = (ref14 = components.sides) === null || ref14 === void 0 ? void 0 : ref14.value(components, colors)) !== null && ref7 !== void 0 ? ref7 : ''}</g>`;
|
|
90
|
+
}
|
|
91
|
+
};
|
|
291
92
|
|
|
292
|
-
return "<mask id=\"cornersModifierGray-a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"48\" height=\"48\">".concat((_components$cornersWr5 = (_components$cornersWr6 = components.cornersWrapper) === null || _components$cornersWr6 === void 0 ? void 0 : _components$cornersWr6.value(components, colors)) !== null && _components$cornersWr5 !== void 0 ? _components$cornersWr5 : '', "</mask><g mask=\"url(#cornersModifierGray-a)\"><path fill=\"#737373\" d=\"M0 0h48v48H0z\"/></g>");
|
|
293
|
-
},
|
|
294
|
-
lighten: (components, colors) => {
|
|
295
|
-
var _components$cornersWr7, _components$cornersWr8;
|
|
296
93
|
|
|
297
|
-
|
|
298
|
-
|
|
94
|
+
const $1db5d4d79df4d87b$export$832b6fa47fa053d2 = {
|
|
95
|
+
shape10: (components, colors)=>`<path d="M0 12V0l12 12H0Z" fill="${colors.base.value}"/>`
|
|
96
|
+
,
|
|
97
|
+
shape09: (components, colors)=>`<path d="M12 12H0L12 0v12Z" fill="${colors.base.value}"/>`
|
|
98
|
+
,
|
|
99
|
+
shape08: (components, colors)=>`<path d="M12 0v12L0 0h12Z" fill="${colors.base.value}"/>`
|
|
100
|
+
,
|
|
101
|
+
shape07: (components, colors)=>`<path d="M0 0h12L0 12V0Z" fill="${colors.base.value}"/>`
|
|
102
|
+
,
|
|
103
|
+
shape06: (components, colors)=>`<circle cx="6" cy="6" r="4" fill="${colors.base.value}"/>`
|
|
104
|
+
,
|
|
105
|
+
shape05: (components, colors)=>`<path d="M12 0H0l12 6V0Z" fill="${colors.base.value}"/>`
|
|
106
|
+
,
|
|
107
|
+
shape04: (components, colors)=>`<path d="M0 0v12L6 0H0Z" fill="${colors.base.value}"/>`
|
|
108
|
+
,
|
|
109
|
+
shape03: (components, colors)=>`<path d="M0 12h12L0 6v6Z" fill="${colors.base.value}"/>`
|
|
110
|
+
,
|
|
111
|
+
shape02: (components, colors)=>`<path d="M12 12V0L6 12h6Z" fill="${colors.base.value}"/>`
|
|
112
|
+
,
|
|
113
|
+
shape01: (components, colors)=>`<path d="m0 6 6-6 6 6-6 6-6-6Z" fill="${colors.base.value}"/>`
|
|
299
114
|
};
|
|
300
115
|
|
|
301
|
-
const sidesModifier = {
|
|
302
|
-
none: (components, colors) => {
|
|
303
|
-
var _components$sidesWrap, _components$sidesWrap2;
|
|
304
|
-
|
|
305
|
-
return "".concat((_components$sidesWrap = (_components$sidesWrap2 = components.sidesWrapper) === null || _components$sidesWrap2 === void 0 ? void 0 : _components$sidesWrap2.value(components, colors)) !== null && _components$sidesWrap !== void 0 ? _components$sidesWrap : '');
|
|
306
|
-
},
|
|
307
|
-
lightGray: (components, colors) => {
|
|
308
|
-
var _components$sidesWrap3, _components$sidesWrap4;
|
|
309
116
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
117
|
+
var ref, ref1, ref2, ref3;
|
|
118
|
+
const $17a6e15359b21f1d$export$753e340586fd18e2 = {
|
|
119
|
+
default: (components, colors)=>{
|
|
120
|
+
var ref7, ref4, ref5, ref6;
|
|
121
|
+
return `${(ref = (ref7 = components.corners) === null || ref7 === void 0 ? void 0 : ref7.value(components, colors)) !== null && ref !== void 0 ? ref : ''}<g transform="rotate(90 24 24)">${(ref1 = (ref4 = components.corners) === null || ref4 === void 0 ? void 0 : ref4.value(components, colors)) !== null && ref1 !== void 0 ? ref1 : ''}</g><g transform="rotate(-90 24 24)">${(ref2 = (ref5 = components.corners) === null || ref5 === void 0 ? void 0 : ref5.value(components, colors)) !== null && ref2 !== void 0 ? ref2 : ''}</g><g transform="rotate(180 24 24)">${(ref3 = (ref6 = components.corners) === null || ref6 === void 0 ? void 0 : ref6.value(components, colors)) !== null && ref3 !== void 0 ? ref3 : ''}</g>`;
|
|
122
|
+
}
|
|
123
|
+
};
|
|
314
124
|
|
|
315
|
-
return "<mask id=\"sidesModifierGray-a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"48\" height=\"48\">".concat((_components$sidesWrap5 = (_components$sidesWrap6 = components.sidesWrapper) === null || _components$sidesWrap6 === void 0 ? void 0 : _components$sidesWrap6.value(components, colors)) !== null && _components$sidesWrap5 !== void 0 ? _components$sidesWrap5 : '', "</mask><g mask=\"url(#sidesModifierGray-a)\"><path fill=\"#737373\" d=\"M0 0h48v48H0z\"/></g>");
|
|
316
|
-
},
|
|
317
|
-
lighten: (components, colors) => {
|
|
318
|
-
var _components$sidesWrap7, _components$sidesWrap8;
|
|
319
125
|
|
|
320
|
-
|
|
321
|
-
|
|
126
|
+
const $28a98c8c0d7da433$export$389cfe57f7c9dd77 = {
|
|
127
|
+
shape10: (components, colors)=>`<path d="M0 12V0l12 12H0Z" fill="${colors.base.value}"/>`
|
|
128
|
+
,
|
|
129
|
+
shape09: (components, colors)=>`<path d="M12 12H0L12 0v12Z" fill="${colors.base.value}"/>`
|
|
130
|
+
,
|
|
131
|
+
shape08: (components, colors)=>`<path d="M12 0v12L0 0h12Z" fill="${colors.base.value}"/>`
|
|
132
|
+
,
|
|
133
|
+
shape07: (components, colors)=>`<path d="M0 0h12L0 12V0Z" fill="${colors.base.value}"/>`
|
|
134
|
+
,
|
|
135
|
+
shape06: (components, colors)=>`<circle cx="6" cy="6" r="4" fill="${colors.base.value}"/>`
|
|
136
|
+
,
|
|
137
|
+
shape05: (components, colors)=>`<path d="M12 0H0l12 6V0Z" fill="${colors.base.value}"/>`
|
|
138
|
+
,
|
|
139
|
+
shape04: (components, colors)=>`<path d="M0 0v12L6 0H0Z" fill="${colors.base.value}"/>`
|
|
140
|
+
,
|
|
141
|
+
shape03: (components, colors)=>`<path d="M0 12h12L0 6v6Z" fill="${colors.base.value}"/>`
|
|
142
|
+
,
|
|
143
|
+
shape02: (components, colors)=>`<path d="M12 12V0L6 12h6Z" fill="${colors.base.value}"/>`
|
|
144
|
+
,
|
|
145
|
+
shape01: (components, colors)=>`<path d="m0 6 6-6 6 6-6 6-6-6Z" fill="${colors.base.value}"/>`
|
|
322
146
|
};
|
|
323
147
|
|
|
324
|
-
const sidesWrapper = {
|
|
325
|
-
default: (components, colors) => {
|
|
326
|
-
var _components$sides$val, _components$sides, _components$sides$val2, _components$sides2, _components$sides$val3, _components$sides3, _components$sides$val4, _components$sides4, _components$sides$val5, _components$sides5, _components$sides$val6, _components$sides6, _components$sides$val7, _components$sides7, _components$sides$val8, _components$sides8;
|
|
327
148
|
|
|
328
|
-
|
|
329
|
-
|
|
149
|
+
var ref;
|
|
150
|
+
const $ef48713e7f3412ce$export$d2d6c9a8ff78da49 = {
|
|
151
|
+
default: (components, colors)=>{
|
|
152
|
+
var ref1;
|
|
153
|
+
return `<g transform="translate(12 12)">${(ref = (ref1 = components.center) === null || ref1 === void 0 ? void 0 : ref1.value(components, colors)) !== null && ref !== void 0 ? ref : ''}</g>`;
|
|
154
|
+
}
|
|
330
155
|
};
|
|
331
156
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
157
|
+
|
|
158
|
+
const $6677c8736950a583$export$3481c78889e8fbe8 = {
|
|
159
|
+
shape1Inverted: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M24 0H0v24h24V0ZM8.5 12 5 5l7 3.5L19 5l-3.5 7 3.5 7-7-3.5L5 19l3.5-7Z" fill="${colors.base.value}"/>`
|
|
160
|
+
,
|
|
161
|
+
shape1: (components, colors)=>`<path d="M12 8.5 5 5l3.5 7L5 19l7-3.5 7 3.5-3.5-7L19 5l-7 3.5Z" fill="${colors.base.value}"/>`
|
|
162
|
+
,
|
|
163
|
+
shape2Inverted: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M0 0h24v24H0V0Zm13 13h7v7h-7v-7Zm-2 0H4v7h7v-7Zm2-9h7v7h-7V4Zm-2 0H4v7h7V4Z" fill="${colors.base.value}"/>`
|
|
164
|
+
,
|
|
165
|
+
shape2: (components, colors)=>`<path d="M13 4h7v7h-7V4ZM11 13H4v7h7v-7ZM20 13h-7v7h7v-7ZM11 4H4v7h7V4Z" fill="${colors.base.value}"/>`
|
|
166
|
+
,
|
|
167
|
+
shape3Inverted: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M0 0h24v24H0V0Zm11 16.5L4 13v7l7-3.5Zm2-9L20 4v7l-7-3.5ZM11 4H4l3.5 7L11 4Zm2 16 3.5-7 3.5 7h-7Z" fill="${colors.base.value}"/>`
|
|
168
|
+
,
|
|
169
|
+
shape3: (components, colors)=>`<path d="m20 11-7-3.5L20 4v7ZM13 20h7l-3.5-7-3.5 7ZM11 16.5 4 13v7l7-3.5ZM11 4H4l3.5 7L11 4Z" fill="${colors.base.value}"/>`
|
|
170
|
+
,
|
|
171
|
+
shape4Inverted: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M24 0H0v24h24V0ZM12 2v5l10 5h-5l-5 10v-5L2 12h5l5-10Z" fill="${colors.base.value}"/>`
|
|
172
|
+
,
|
|
173
|
+
shape4: (components, colors)=>`<path d="M12 7V2L7 12H2l10 5v5l5-10h5L12 7Z" fill="${colors.base.value}"/>`
|
|
174
|
+
,
|
|
175
|
+
shape5Inverted: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M0 0h24v24H0V0Zm20 16.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0ZM7.5 20a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM20 7.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0ZM7.5 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z" fill="${colors.base.value}"/>`
|
|
176
|
+
,
|
|
177
|
+
shape5: (components, colors)=>`<path d="M20 7.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0ZM7.5 20a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM16.5 20a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM7.5 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z" fill="${colors.base.value}"/>`
|
|
178
|
+
,
|
|
179
|
+
shape6Inverted: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M24 0H0v24h24V0ZM12 6l-6 6 6 6 6-6-6-6Z" fill="${colors.base.value}"/>`
|
|
180
|
+
,
|
|
181
|
+
shape6: (components, colors)=>`<path d="m6 12 6-6 6 6-6 6-6-6Z" fill="${colors.base.value}"/>`
|
|
182
|
+
,
|
|
183
|
+
shape7Inverted: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M24 0H0v24h24V0ZM12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14Z" fill="${colors.base.value}"/>`
|
|
184
|
+
,
|
|
185
|
+
shape7: (components, colors)=>`<circle cx="12" cy="12" r="7" fill="${colors.base.value}"/>`
|
|
186
|
+
,
|
|
187
|
+
shape8: (components, colors)=>`<path fill="${colors.base.value}" d="M4 4h16v16H4z"/>`
|
|
188
|
+
,
|
|
189
|
+
shape9: (components, colors)=>`<path d="M12 0v9L6 0h6ZM24 12h-9l9-6v6ZM12 24v-9l6 9h-6ZM9 12H0v6l9-6Z" fill="${colors.base.value}"/>`
|
|
343
190
|
};
|
|
344
191
|
|
|
345
|
-
const cornersWrapper = {
|
|
346
|
-
default: (components, colors) => {
|
|
347
|
-
var _components$corners$v, _components$corners, _components$corners$v2, _components$corners2, _components$corners$v3, _components$corners3, _components$corners$v4, _components$corners4;
|
|
348
192
|
|
|
349
|
-
return "".concat((_components$corners$v = (_components$corners = components.corners) === null || _components$corners === void 0 ? void 0 : _components$corners.value(components, colors)) !== null && _components$corners$v !== void 0 ? _components$corners$v : '', "<g transform=\"rotate(90 24 24)\">").concat((_components$corners$v2 = (_components$corners2 = components.corners) === null || _components$corners2 === void 0 ? void 0 : _components$corners2.value(components, colors)) !== null && _components$corners$v2 !== void 0 ? _components$corners$v2 : '', "</g><g transform=\"rotate(-90 24 24)\">").concat((_components$corners$v3 = (_components$corners3 = components.corners) === null || _components$corners3 === void 0 ? void 0 : _components$corners3.value(components, colors)) !== null && _components$corners$v3 !== void 0 ? _components$corners$v3 : '', "</g><g transform=\"rotate(180 24 24)\">").concat((_components$corners$v4 = (_components$corners4 = components.corners) === null || _components$corners4 === void 0 ? void 0 : _components$corners4.value(components, colors)) !== null && _components$corners$v4 !== void 0 ? _components$corners$v4 : '', "</g>");
|
|
350
|
-
}
|
|
351
|
-
};
|
|
352
193
|
|
|
353
|
-
const corners = {
|
|
354
|
-
shape10: (components, colors) => "<path d=\"M0 12V0l12 12H0Z\" fill=\"".concat(colors.base.value, "\"/>"),
|
|
355
|
-
shape09: (components, colors) => "<path d=\"M12 12H0L12 0v12Z\" fill=\"".concat(colors.base.value, "\"/>"),
|
|
356
|
-
shape08: (components, colors) => "<path d=\"M12 0v12L0 0h12Z\" fill=\"".concat(colors.base.value, "\"/>"),
|
|
357
|
-
shape07: (components, colors) => "<path d=\"M0 0h12L0 12V0Z\" fill=\"".concat(colors.base.value, "\"/>"),
|
|
358
|
-
shape06: (components, colors) => "<circle cx=\"6\" cy=\"6\" r=\"4\" fill=\"".concat(colors.base.value, "\"/>"),
|
|
359
|
-
shape05: (components, colors) => "<path d=\"M12 0H0l12 6V0Z\" fill=\"".concat(colors.base.value, "\"/>"),
|
|
360
|
-
shape04: (components, colors) => "<path d=\"M0 0v12L6 0H0Z\" fill=\"".concat(colors.base.value, "\"/>"),
|
|
361
|
-
shape03: (components, colors) => "<path d=\"M0 12h12L0 6v6Z\" fill=\"".concat(colors.base.value, "\"/>"),
|
|
362
|
-
shape02: (components, colors) => "<path d=\"M12 12V0L6 12h6Z\" fill=\"".concat(colors.base.value, "\"/>"),
|
|
363
|
-
shape01: (components, colors) => "<path d=\"m0 6 6-6 6 6-6 6-6-6Z\" fill=\"".concat(colors.base.value, "\"/>")
|
|
364
|
-
};
|
|
365
194
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
195
|
+
function $0db3dece4d90e77e$export$5bc6178a9a86ed74({ prng: prng , group: group , values: values = [] }) {
|
|
196
|
+
const componentCollection = $8d32e7eb0737d2f8$exports;
|
|
197
|
+
const key = prng.pick(values);
|
|
198
|
+
if (componentCollection[group][key]) return {
|
|
199
|
+
name: key,
|
|
200
|
+
value: componentCollection[group][key]
|
|
201
|
+
};
|
|
202
|
+
else return undefined;
|
|
203
|
+
}
|
|
369
204
|
|
|
370
|
-
return "<g transform=\"translate(12 12)\">".concat((_components$center$va = (_components$center = components.center) === null || _components$center === void 0 ? void 0 : _components$center.value(components, colors)) !== null && _components$center$va !== void 0 ? _components$center$va : '', "</g>");
|
|
371
|
-
}
|
|
372
|
-
};
|
|
373
205
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
206
|
+
function $a2b0f2914fce622c$export$4e811121b221213b({ prng: prng , options: options }) {
|
|
207
|
+
const centerModifierComponent = $0db3dece4d90e77e$export$5bc6178a9a86ed74({
|
|
208
|
+
prng: prng,
|
|
209
|
+
group: 'centerModifier',
|
|
210
|
+
values: options.centerModifier
|
|
211
|
+
});
|
|
212
|
+
const cornersModifierComponent = $0db3dece4d90e77e$export$5bc6178a9a86ed74({
|
|
213
|
+
prng: prng,
|
|
214
|
+
group: 'cornersModifier',
|
|
215
|
+
values: options.cornersModifier
|
|
216
|
+
});
|
|
217
|
+
const sidesModifierComponent = $0db3dece4d90e77e$export$5bc6178a9a86ed74({
|
|
218
|
+
prng: prng,
|
|
219
|
+
group: 'sidesModifier',
|
|
220
|
+
values: options.sidesModifier
|
|
221
|
+
});
|
|
222
|
+
const sidesWrapperComponent = $0db3dece4d90e77e$export$5bc6178a9a86ed74({
|
|
223
|
+
prng: prng,
|
|
224
|
+
group: 'sidesWrapper',
|
|
225
|
+
values: options.sidesWrapper
|
|
226
|
+
});
|
|
227
|
+
const sidesComponent = $0db3dece4d90e77e$export$5bc6178a9a86ed74({
|
|
228
|
+
prng: prng,
|
|
229
|
+
group: 'sides',
|
|
230
|
+
values: options.sides
|
|
231
|
+
});
|
|
232
|
+
const cornersWrapperComponent = $0db3dece4d90e77e$export$5bc6178a9a86ed74({
|
|
233
|
+
prng: prng,
|
|
234
|
+
group: 'cornersWrapper',
|
|
235
|
+
values: options.cornersWrapper
|
|
236
|
+
});
|
|
237
|
+
const cornersComponent = $0db3dece4d90e77e$export$5bc6178a9a86ed74({
|
|
238
|
+
prng: prng,
|
|
239
|
+
group: 'corners',
|
|
240
|
+
values: options.corners
|
|
241
|
+
});
|
|
242
|
+
const centerWrapperComponent = $0db3dece4d90e77e$export$5bc6178a9a86ed74({
|
|
243
|
+
prng: prng,
|
|
244
|
+
group: 'centerWrapper',
|
|
245
|
+
values: options.centerWrapper
|
|
246
|
+
});
|
|
247
|
+
const centerComponent = $0db3dece4d90e77e$export$5bc6178a9a86ed74({
|
|
248
|
+
prng: prng,
|
|
249
|
+
group: 'center',
|
|
250
|
+
values: options.center
|
|
251
|
+
});
|
|
252
|
+
return {
|
|
253
|
+
centerModifier: centerModifierComponent,
|
|
254
|
+
cornersModifier: cornersModifierComponent,
|
|
255
|
+
sidesModifier: sidesModifierComponent,
|
|
256
|
+
sidesWrapper: sidesWrapperComponent,
|
|
257
|
+
sides: sidesComponent,
|
|
258
|
+
cornersWrapper: cornersWrapperComponent,
|
|
259
|
+
corners: cornersComponent,
|
|
260
|
+
centerWrapper: centerWrapperComponent,
|
|
261
|
+
center: centerComponent
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
var $af72ddadddfa54f2$exports = {};
|
|
267
|
+
|
|
268
|
+
$parcel$export($af72ddadddfa54f2$exports, "base", function () { return $ae91cf0914d0997f$export$e2253033e6e1df16; });
|
|
269
|
+
const $ae91cf0914d0997f$export$e2253033e6e1df16 = {
|
|
270
|
+
amber: 'rgba(255, 179, 0, 1)',
|
|
271
|
+
blue: 'rgba(30, 136, 229, 1)',
|
|
272
|
+
cyan: 'rgba(0, 172, 193, 1)',
|
|
273
|
+
deepOrange: 'rgba(244, 81, 30, 1)',
|
|
274
|
+
deepPurple: 'rgba(94, 53, 177, 1)',
|
|
275
|
+
green: 'rgba(67, 160, 71, 1)',
|
|
276
|
+
indigo: 'rgba(57, 73, 171, 1)',
|
|
277
|
+
lightBlue: 'rgba(3, 155, 229, 1)',
|
|
278
|
+
lightGreen: 'rgba(124, 179, 66, 1)',
|
|
279
|
+
lime: 'rgba(192, 202, 51, 1)',
|
|
280
|
+
orange: 'rgba(251, 140, 0, 1)',
|
|
281
|
+
pink: 'rgba(216, 27, 96, 1)',
|
|
282
|
+
purple: 'rgba(142, 36, 170, 1)',
|
|
283
|
+
red: 'rgba(229, 57, 53, 1)',
|
|
284
|
+
teal: 'rgba(0, 137, 123, 1)',
|
|
285
|
+
yellow: 'rgba(253, 216, 53, 1)'
|
|
391
286
|
};
|
|
392
287
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
corners: corners,
|
|
402
|
-
centerWrapper: centerWrapper,
|
|
403
|
-
center: center
|
|
404
|
-
});
|
|
405
|
-
|
|
406
|
-
function pickComponent(_ref) {
|
|
407
|
-
let {
|
|
408
|
-
prng,
|
|
409
|
-
group,
|
|
410
|
-
values = []
|
|
411
|
-
} = _ref;
|
|
412
|
-
const componentCollection = components;
|
|
413
|
-
const key = prng.pick(values);
|
|
414
|
-
|
|
415
|
-
if (componentCollection[group][key]) {
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
function $8230d913f247a3d1$export$c6d89e41e42fa994({ prng: prng , group: group , values: values = [] }) {
|
|
292
|
+
const colorCollection = $af72ddadddfa54f2$exports;
|
|
293
|
+
if (values.length === 0) values.push('transparent');
|
|
294
|
+
const key = prng.pick(values);
|
|
295
|
+
var _key;
|
|
416
296
|
return {
|
|
417
|
-
|
|
418
|
-
|
|
297
|
+
name: key,
|
|
298
|
+
value: (_key = colorCollection[group][key]) !== null && _key !== void 0 ? _key : key
|
|
419
299
|
};
|
|
420
|
-
} else {
|
|
421
|
-
return undefined;
|
|
422
|
-
}
|
|
423
300
|
}
|
|
424
301
|
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
});
|
|
435
|
-
const cornersModifierComponent = pickComponent({
|
|
436
|
-
prng,
|
|
437
|
-
group: 'cornersModifier',
|
|
438
|
-
values: options.cornersModifier
|
|
439
|
-
});
|
|
440
|
-
const sidesModifierComponent = pickComponent({
|
|
441
|
-
prng,
|
|
442
|
-
group: 'sidesModifier',
|
|
443
|
-
values: options.sidesModifier
|
|
444
|
-
});
|
|
445
|
-
const sidesWrapperComponent = pickComponent({
|
|
446
|
-
prng,
|
|
447
|
-
group: 'sidesWrapper',
|
|
448
|
-
values: options.sidesWrapper
|
|
449
|
-
});
|
|
450
|
-
const sidesComponent = pickComponent({
|
|
451
|
-
prng,
|
|
452
|
-
group: 'sides',
|
|
453
|
-
values: options.sides
|
|
454
|
-
});
|
|
455
|
-
const cornersWrapperComponent = pickComponent({
|
|
456
|
-
prng,
|
|
457
|
-
group: 'cornersWrapper',
|
|
458
|
-
values: options.cornersWrapper
|
|
459
|
-
});
|
|
460
|
-
const cornersComponent = pickComponent({
|
|
461
|
-
prng,
|
|
462
|
-
group: 'corners',
|
|
463
|
-
values: options.corners
|
|
464
|
-
});
|
|
465
|
-
const centerWrapperComponent = pickComponent({
|
|
466
|
-
prng,
|
|
467
|
-
group: 'centerWrapper',
|
|
468
|
-
values: options.centerWrapper
|
|
469
|
-
});
|
|
470
|
-
const centerComponent = pickComponent({
|
|
471
|
-
prng,
|
|
472
|
-
group: 'center',
|
|
473
|
-
values: options.center
|
|
474
|
-
});
|
|
475
|
-
return {
|
|
476
|
-
centerModifier: centerModifierComponent,
|
|
477
|
-
cornersModifier: cornersModifierComponent,
|
|
478
|
-
sidesModifier: sidesModifierComponent,
|
|
479
|
-
sidesWrapper: sidesWrapperComponent,
|
|
480
|
-
sides: sidesComponent,
|
|
481
|
-
cornersWrapper: cornersWrapperComponent,
|
|
482
|
-
corners: cornersComponent,
|
|
483
|
-
centerWrapper: centerWrapperComponent,
|
|
484
|
-
center: centerComponent
|
|
485
|
-
};
|
|
302
|
+
|
|
303
|
+
function $1fd6002e836276a0$export$6cee60e8aa85e528({ prng: prng , options: options }) {
|
|
304
|
+
return {
|
|
305
|
+
base: $8230d913f247a3d1$export$c6d89e41e42fa994({
|
|
306
|
+
prng: prng,
|
|
307
|
+
group: 'base',
|
|
308
|
+
values: options.baseColor
|
|
309
|
+
})
|
|
310
|
+
};
|
|
486
311
|
}
|
|
487
312
|
|
|
488
|
-
const base = {
|
|
489
|
-
amber: 'rgba(255, 179, 0, 1)',
|
|
490
|
-
blue: 'rgba(30, 136, 229, 1)',
|
|
491
|
-
cyan: 'rgba(0, 172, 193, 1)',
|
|
492
|
-
deepOrange: 'rgba(244, 81, 30, 1)',
|
|
493
|
-
deepPurple: 'rgba(94, 53, 177, 1)',
|
|
494
|
-
green: 'rgba(67, 160, 71, 1)',
|
|
495
|
-
indigo: 'rgba(57, 73, 171, 1)',
|
|
496
|
-
lightBlue: 'rgba(3, 155, 229, 1)',
|
|
497
|
-
lightGreen: 'rgba(124, 179, 66, 1)',
|
|
498
|
-
lime: 'rgba(192, 202, 51, 1)',
|
|
499
|
-
orange: 'rgba(251, 140, 0, 1)',
|
|
500
|
-
pink: 'rgba(216, 27, 96, 1)',
|
|
501
|
-
purple: 'rgba(142, 36, 170, 1)',
|
|
502
|
-
red: 'rgba(229, 57, 53, 1)',
|
|
503
|
-
teal: 'rgba(0, 137, 123, 1)',
|
|
504
|
-
yellow: 'rgba(253, 216, 53, 1)'
|
|
505
|
-
};
|
|
506
313
|
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
const key = prng.pick(values);
|
|
527
|
-
return {
|
|
528
|
-
name: key,
|
|
529
|
-
value: (_colorCollection$grou = colorCollection[group][key]) !== null && _colorCollection$grou !== void 0 ? _colorCollection$grou : key
|
|
530
|
-
};
|
|
314
|
+
function $deedb14c8ca8364c$export$19269755e7fb6f76({ prng: prng , options: options , preview: preview }) {
|
|
315
|
+
const pickModifier = (modifier = [], alreadyPicked = [])=>{
|
|
316
|
+
const pickItems = modifier.filter((v)=>false === alreadyPicked.includes(v) && v === 'none'
|
|
317
|
+
);
|
|
318
|
+
const pick = prng.pick(pickItems.length ? pickItems : modifier);
|
|
319
|
+
return pick ? [
|
|
320
|
+
pick
|
|
321
|
+
] : [];
|
|
322
|
+
};
|
|
323
|
+
options.centerModifier = pickModifier(options.centerModifier);
|
|
324
|
+
options.sidesModifier = pickModifier(options.sidesModifier, [
|
|
325
|
+
options.centerModifier[0],
|
|
326
|
+
]);
|
|
327
|
+
options.cornersModifier = pickModifier(options.cornersModifier, [
|
|
328
|
+
options.centerModifier[0],
|
|
329
|
+
options.sidesModifier[0],
|
|
330
|
+
]);
|
|
531
331
|
}
|
|
532
332
|
|
|
533
|
-
function getColors(_ref) {
|
|
534
|
-
let {
|
|
535
|
-
prng,
|
|
536
|
-
options
|
|
537
|
-
} = _ref;
|
|
538
|
-
return {
|
|
539
|
-
base: pickColor({
|
|
540
|
-
prng,
|
|
541
|
-
group: 'base',
|
|
542
|
-
values: options.baseColor
|
|
543
|
-
})
|
|
544
|
-
};
|
|
545
|
-
}
|
|
546
333
|
|
|
547
|
-
function
|
|
548
|
-
|
|
549
|
-
prng,
|
|
550
|
-
options,
|
|
551
|
-
preview
|
|
552
|
-
} = _ref;
|
|
553
|
-
|
|
554
|
-
const pickModifier = function () {
|
|
555
|
-
let modifier = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
556
|
-
let alreadyPicked = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
557
|
-
const pickItems = modifier.filter(v => false === alreadyPicked.includes(v) && v === 'none');
|
|
558
|
-
const pick = prng.pick(pickItems.length ? pickItems : modifier);
|
|
559
|
-
return pick ? [pick] : [];
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
options.centerModifier = pickModifier(options.centerModifier);
|
|
563
|
-
options.sidesModifier = pickModifier(options.sidesModifier, [options.centerModifier[0]]);
|
|
564
|
-
options.cornersModifier = pickModifier(options.cornersModifier, [options.centerModifier[0], options.sidesModifier[0]]);
|
|
334
|
+
function $3fdf2bfee3789e13$export$2538c3cd8a13189f({ prng: prng , options: options , components: components , colors: colors , preview: preview }) {
|
|
335
|
+
// Write your modifications here
|
|
565
336
|
}
|
|
566
337
|
|
|
567
|
-
const dimensions = {
|
|
568
|
-
centerModifier: {
|
|
569
|
-
width: 48,
|
|
570
|
-
height: 48
|
|
571
|
-
},
|
|
572
|
-
cornersModifier: {
|
|
573
|
-
width: 48,
|
|
574
|
-
height: 48
|
|
575
|
-
},
|
|
576
|
-
sidesModifier: {
|
|
577
|
-
width: 48,
|
|
578
|
-
height: 48
|
|
579
|
-
},
|
|
580
|
-
sidesWrapper: {
|
|
581
|
-
width: 48,
|
|
582
|
-
height: 48
|
|
583
|
-
},
|
|
584
|
-
sides: {
|
|
585
|
-
width: 12,
|
|
586
|
-
height: 12
|
|
587
|
-
},
|
|
588
|
-
cornersWrapper: {
|
|
589
|
-
width: 48,
|
|
590
|
-
height: 48
|
|
591
|
-
},
|
|
592
|
-
corners: {
|
|
593
|
-
width: 12,
|
|
594
|
-
height: 12
|
|
595
|
-
},
|
|
596
|
-
centerWrapper: {
|
|
597
|
-
width: 48,
|
|
598
|
-
height: 48
|
|
599
|
-
},
|
|
600
|
-
center: {
|
|
601
|
-
width: 24,
|
|
602
|
-
height: 24
|
|
603
|
-
}
|
|
604
|
-
};
|
|
605
338
|
|
|
606
|
-
const
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
339
|
+
const $175b4ed7b2aa5868$export$62ad7b0c781000e9 = {
|
|
340
|
+
centerModifier: {
|
|
341
|
+
width: 48,
|
|
342
|
+
height: 48
|
|
343
|
+
},
|
|
344
|
+
cornersModifier: {
|
|
345
|
+
width: 48,
|
|
346
|
+
height: 48
|
|
347
|
+
},
|
|
348
|
+
sidesModifier: {
|
|
349
|
+
width: 48,
|
|
350
|
+
height: 48
|
|
351
|
+
},
|
|
352
|
+
sidesWrapper: {
|
|
353
|
+
width: 48,
|
|
354
|
+
height: 48
|
|
355
|
+
},
|
|
356
|
+
sides: {
|
|
357
|
+
width: 12,
|
|
358
|
+
height: 12
|
|
359
|
+
},
|
|
360
|
+
cornersWrapper: {
|
|
361
|
+
width: 48,
|
|
362
|
+
height: 48
|
|
363
|
+
},
|
|
364
|
+
corners: {
|
|
365
|
+
width: 12,
|
|
366
|
+
height: 12
|
|
367
|
+
},
|
|
368
|
+
centerWrapper: {
|
|
369
|
+
width: 48,
|
|
370
|
+
height: 48
|
|
371
|
+
},
|
|
372
|
+
center: {
|
|
373
|
+
width: 24,
|
|
374
|
+
height: 24
|
|
614
375
|
}
|
|
615
|
-
|
|
616
|
-
schema: schema$1,
|
|
617
|
-
create: _ref => {
|
|
618
|
-
var _components$centerMod, _components$centerMod2, _components$sidesModi, _components$sidesModi2;
|
|
619
|
-
|
|
620
|
-
let {
|
|
621
|
-
prng,
|
|
622
|
-
options
|
|
623
|
-
} = _ref;
|
|
624
|
-
onPreCreate({
|
|
625
|
-
prng,
|
|
626
|
-
options,
|
|
627
|
-
preview: false
|
|
628
|
-
});
|
|
629
|
-
const components = getComponents({
|
|
630
|
-
prng,
|
|
631
|
-
options
|
|
632
|
-
});
|
|
633
|
-
const colors = getColors({
|
|
634
|
-
prng,
|
|
635
|
-
options
|
|
636
|
-
});
|
|
637
|
-
return {
|
|
638
|
-
attributes: {
|
|
639
|
-
viewBox: '0 0 48 48',
|
|
640
|
-
fill: 'none',
|
|
641
|
-
'shape-rendering': 'auto'
|
|
642
|
-
},
|
|
643
|
-
body: "".concat((_components$centerMod = (_components$centerMod2 = components.centerModifiercomponent) === null || _components$centerMod2 === void 0 ? void 0 : _components$centerMod2.value(components, colors)) !== null && _components$centerMod !== void 0 ? _components$centerMod : '', "::cornersModifier").concat((_components$sidesModi = (_components$sidesModi2 = components.sidesModifier) === null || _components$sidesModi2 === void 0 ? void 0 : _components$sidesModi2.value(components, colors)) !== null && _components$sidesModi !== void 0 ? _components$sidesModi : '')
|
|
644
|
-
};
|
|
645
|
-
},
|
|
646
|
-
preview: _ref2 => {
|
|
647
|
-
let {
|
|
648
|
-
prng,
|
|
649
|
-
options,
|
|
650
|
-
property
|
|
651
|
-
} = _ref2;
|
|
652
|
-
const componentGroup = property.toString();
|
|
653
|
-
const colorGroup = property.toString().replace(/Color$/, '');
|
|
654
|
-
onPreCreate({
|
|
655
|
-
prng,
|
|
656
|
-
options,
|
|
657
|
-
preview: true
|
|
658
|
-
});
|
|
659
|
-
const components = getComponents({
|
|
660
|
-
prng,
|
|
661
|
-
options
|
|
662
|
-
});
|
|
663
|
-
const colors = getColors({
|
|
664
|
-
prng,
|
|
665
|
-
options
|
|
666
|
-
});
|
|
376
|
+
};
|
|
667
377
|
|
|
668
|
-
if (componentGroup in components) {
|
|
669
|
-
var _components$component, _components$component2;
|
|
670
|
-
|
|
671
|
-
const {
|
|
672
|
-
width,
|
|
673
|
-
height
|
|
674
|
-
} = dimensions[componentGroup];
|
|
675
|
-
return {
|
|
676
|
-
attributes: {
|
|
677
|
-
viewBox: "0 0 ".concat(width, " ").concat(height),
|
|
678
|
-
fill: 'none',
|
|
679
|
-
'shape-rendering': 'auto'
|
|
680
|
-
},
|
|
681
|
-
body: (_components$component = (_components$component2 = components[componentGroup]) === null || _components$component2 === void 0 ? void 0 : _components$component2.value(components, colors)) !== null && _components$component !== void 0 ? _components$component : ''
|
|
682
|
-
};
|
|
683
|
-
}
|
|
684
378
|
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
379
|
+
const $cb6f04372c68525d$export$1d567c320f4763bc = {
|
|
380
|
+
meta: {
|
|
381
|
+
title: 'Jdenticon',
|
|
382
|
+
creator: 'Daniel Mester Pirttijärvi',
|
|
383
|
+
source: 'https://github.com/dmester/jdenticon',
|
|
384
|
+
license: {
|
|
385
|
+
name: 'MIT',
|
|
386
|
+
url: 'https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/shapes/LICENSE'
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
schema: (/*@__PURE__*/$parcel$interopDefault($67e4187b48816612$exports)),
|
|
390
|
+
create: ({ prng: prng , options: options })=>{
|
|
391
|
+
var ref, ref1, ref2;
|
|
392
|
+
$deedb14c8ca8364c$export$19269755e7fb6f76({
|
|
393
|
+
prng: prng,
|
|
394
|
+
options: options,
|
|
395
|
+
preview: false
|
|
396
|
+
});
|
|
397
|
+
const components = $a2b0f2914fce622c$export$4e811121b221213b({
|
|
398
|
+
prng: prng,
|
|
399
|
+
options: options
|
|
400
|
+
});
|
|
401
|
+
const colors = $1fd6002e836276a0$export$6cee60e8aa85e528({
|
|
402
|
+
prng: prng,
|
|
403
|
+
options: options
|
|
404
|
+
});
|
|
405
|
+
$3fdf2bfee3789e13$export$2538c3cd8a13189f({
|
|
406
|
+
prng: prng,
|
|
407
|
+
options: options,
|
|
408
|
+
components: components,
|
|
409
|
+
colors: colors,
|
|
410
|
+
preview: false
|
|
411
|
+
});
|
|
412
|
+
var ref3, ref4, ref5;
|
|
413
|
+
return {
|
|
414
|
+
attributes: {
|
|
415
|
+
viewBox: '0 0 48 48',
|
|
416
|
+
fill: 'none',
|
|
417
|
+
'shape-rendering': 'auto'
|
|
418
|
+
},
|
|
419
|
+
body: `${(ref3 = (ref = components.centerModifier) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref3 !== void 0 ? ref3 : ''}${(ref4 = (ref1 = components.cornersModifier) === null || ref1 === void 0 ? void 0 : ref1.value(components, colors)) !== null && ref4 !== void 0 ? ref4 : ''}${(ref5 = (ref2 = components.sidesModifier) === null || ref2 === void 0 ? void 0 : ref2.value(components, colors)) !== null && ref5 !== void 0 ? ref5 : ''}`
|
|
420
|
+
};
|
|
421
|
+
},
|
|
422
|
+
preview: ({ prng: prng , options: options , property: property })=>{
|
|
423
|
+
const componentGroup = property.toString();
|
|
424
|
+
const colorGroup = property.toString().replace(/Color$/, '');
|
|
425
|
+
$deedb14c8ca8364c$export$19269755e7fb6f76({
|
|
426
|
+
prng: prng,
|
|
427
|
+
options: options,
|
|
428
|
+
preview: true
|
|
429
|
+
});
|
|
430
|
+
const components = $a2b0f2914fce622c$export$4e811121b221213b({
|
|
431
|
+
prng: prng,
|
|
432
|
+
options: options
|
|
433
|
+
});
|
|
434
|
+
const colors = $1fd6002e836276a0$export$6cee60e8aa85e528({
|
|
435
|
+
prng: prng,
|
|
436
|
+
options: options
|
|
437
|
+
});
|
|
438
|
+
$3fdf2bfee3789e13$export$2538c3cd8a13189f({
|
|
439
|
+
prng: prng,
|
|
440
|
+
options: options,
|
|
441
|
+
components: components,
|
|
442
|
+
colors: colors,
|
|
443
|
+
preview: true
|
|
444
|
+
});
|
|
445
|
+
if (componentGroup in components) {
|
|
446
|
+
var ref;
|
|
447
|
+
const { width: width , height: height } = $175b4ed7b2aa5868$export$62ad7b0c781000e9[componentGroup];
|
|
448
|
+
var ref6;
|
|
449
|
+
return {
|
|
450
|
+
attributes: {
|
|
451
|
+
viewBox: `0 0 ${width} ${height}`,
|
|
452
|
+
fill: 'none',
|
|
453
|
+
'shape-rendering': 'auto'
|
|
454
|
+
},
|
|
455
|
+
body: (ref6 = (ref = components[componentGroup]) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref6 !== void 0 ? ref6 : ''
|
|
456
|
+
};
|
|
457
|
+
}
|
|
458
|
+
if (colorGroup in colors) return {
|
|
459
|
+
attributes: {
|
|
460
|
+
viewBox: `0 0 1 1`,
|
|
461
|
+
fill: 'none',
|
|
462
|
+
'shape-rendering': 'auto'
|
|
463
|
+
},
|
|
464
|
+
body: `<rect width="1" height="1" fill="${colors[colorGroup].value}" />`
|
|
465
|
+
};
|
|
466
|
+
return undefined;
|
|
694
467
|
}
|
|
695
|
-
|
|
696
|
-
return undefined;
|
|
697
|
-
}
|
|
698
468
|
};
|
|
699
469
|
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
*
|
|
707
|
-
* Design "Jdenticon" by Daniel Mester Pirttijärvi licensed under MIT.
|
|
708
|
-
* Source: https://github.com/dmester/jdenticon
|
|
709
|
-
* License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/shapes/LICENSE
|
|
710
|
-
*/
|
|
711
|
-
let {
|
|
712
|
-
create,
|
|
713
|
-
preview,
|
|
714
|
-
meta,
|
|
715
|
-
schema
|
|
716
|
-
} = style;
|
|
717
|
-
|
|
718
|
-
export { create, meta, preview, schema };
|
|
470
|
+
|
|
471
|
+
const { create: $3c847bb6bd997dbd$export$185802fd694ee1f5 , preview: $3c847bb6bd997dbd$export$48c2d0f2f545ac27 , meta: $3c847bb6bd997dbd$export$6990040ee07315 , schema: $3c847bb6bd997dbd$export$4902baddc787debb } = $cb6f04372c68525d$export$1d567c320f4763bc;
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
export {$3c847bb6bd997dbd$export$185802fd694ee1f5 as create, $3c847bb6bd997dbd$export$48c2d0f2f545ac27 as preview, $3c847bb6bd997dbd$export$6990040ee07315 as meta, $3c847bb6bd997dbd$export$4902baddc787debb as schema};
|
|
475
|
+
//# sourceMappingURL=index.es.js.map
|