@jannchie/icons 0.4.0 → 0.5.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/all.js +54 -0
- package/dist/icons/arrows-up-down-half.js +8 -0
- package/dist/icons/continent.js +8 -0
- package/dist/icons/diorama.js +8 -0
- package/dist/icons/droplet-off.js +8 -0
- package/dist/icons/github.js +8 -0
- package/dist/icons/hologram.js +8 -0
- package/dist/icons/map-pin-ban.js +8 -0
- package/dist/icons/map-pin-bookmark.js +8 -0
- package/dist/icons/map-pin-check.js +8 -0
- package/dist/icons/map-pin-clock.js +8 -0
- package/dist/icons/map-pin-cloud.js +8 -0
- package/dist/icons/map-pin-heart.js +8 -0
- package/dist/icons/map-pin-image.js +8 -0
- package/dist/icons/map-pin-lock.js +8 -0
- package/dist/icons/map-pin-minus.js +8 -0
- package/dist/icons/map-pin-music.js +8 -0
- package/dist/icons/map-pin-plus.js +8 -0
- package/dist/icons/map-pin-search.js +8 -0
- package/dist/icons/map-pin-sparkle.js +8 -0
- package/dist/icons/map-pin-star.js +8 -0
- package/dist/icons/map-pin-video.js +8 -0
- package/dist/icons/map-pin-x.js +8 -0
- package/dist/icons/region.js +8 -0
- package/dist/icons/terrain-lower.js +8 -0
- package/dist/icons/terrain-raise.js +8 -0
- package/dist/icons/terrain-smooth.js +8 -0
- package/dist/icons/turntable.js +8 -0
- package/dist/index.d.ts +54 -0
- package/dist/index.js +28 -1
- package/dist/src/icons/arrows-up-down-half.js +13 -0
- package/dist/src/icons/continent.js +5 -0
- package/dist/src/icons/diorama.js +25 -0
- package/dist/src/icons/droplet-off.js +6 -0
- package/dist/src/icons/github.js +4 -0
- package/dist/src/icons/hologram.js +32 -0
- package/dist/src/icons/list-arrow-down.js +2 -2
- package/dist/src/icons/list-arrow-left.js +2 -2
- package/dist/src/icons/list-arrow-right.js +2 -2
- package/dist/src/icons/list-arrow-up.js +2 -2
- package/dist/src/icons/list-assets.js +2 -2
- package/dist/src/icons/list-ban.js +2 -2
- package/dist/src/icons/list-bookmark.js +2 -2
- package/dist/src/icons/list-check.js +2 -2
- package/dist/src/icons/list-circle.js +2 -2
- package/dist/src/icons/list-clock.js +2 -2
- package/dist/src/icons/list-cloud.js +2 -2
- package/dist/src/icons/list-code.js +2 -2
- package/dist/src/icons/list-gauge.js +2 -2
- package/dist/src/icons/list-heart.js +2 -2
- package/dist/src/icons/list-image.js +2 -2
- package/dist/src/icons/list-lock.js +2 -2
- package/dist/src/icons/list-minus.js +2 -2
- package/dist/src/icons/list-music-plus.js +2 -2
- package/dist/src/icons/list-music.js +2 -2
- package/dist/src/icons/list-plug.js +2 -2
- package/dist/src/icons/list-plus.js +2 -2
- package/dist/src/icons/list-puzzle.js +2 -2
- package/dist/src/icons/list-search.js +2 -2
- package/dist/src/icons/list-shield.js +2 -2
- package/dist/src/icons/list-sparkle.js +2 -2
- package/dist/src/icons/list-star.js +2 -2
- package/dist/src/icons/list-video.js +2 -2
- package/dist/src/icons/list-x.js +2 -2
- package/dist/src/icons/map-pin-ban.js +7 -0
- package/dist/src/icons/map-pin-bookmark.js +7 -0
- package/dist/src/icons/map-pin-check.js +7 -0
- package/dist/src/icons/map-pin-clock.js +7 -0
- package/dist/src/icons/map-pin-cloud.js +7 -0
- package/dist/src/icons/map-pin-heart.js +7 -0
- package/dist/src/icons/map-pin-image.js +7 -0
- package/dist/src/icons/map-pin-lock.js +7 -0
- package/dist/src/icons/map-pin-minus.js +7 -0
- package/dist/src/icons/map-pin-music.js +7 -0
- package/dist/src/icons/map-pin-plus.js +7 -0
- package/dist/src/icons/map-pin-search.js +7 -0
- package/dist/src/icons/map-pin-sparkle.js +7 -0
- package/dist/src/icons/map-pin-star.js +7 -0
- package/dist/src/icons/map-pin-video.js +7 -0
- package/dist/src/icons/map-pin-x.js +7 -0
- package/dist/src/icons/piggy-bank.js +15 -14
- package/dist/src/icons/region.js +13 -0
- package/dist/src/icons/rugby.js +6 -6
- package/dist/src/icons/swift.js +1 -1
- package/dist/src/icons/terrain-lower.js +10 -0
- package/dist/src/icons/terrain-raise.js +10 -0
- package/dist/src/icons/terrain-smooth.js +19 -0
- package/dist/src/icons/turntable.js +21 -0
- package/dist/src/list.js +7 -2
- package/dist/src/pin.js +35 -0
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { circle } from "../geometry.js";
|
|
2
|
+
//#region src/icons/continent.js
|
|
3
|
+
var continent_default = () => ["M4 7C6 4 9.5 3 12.5 4.5C14.5 5.5 15.5 4 18 4.5C20.5 5 21.5 7.5 20 9.5C18.8 11 16.5 10.8 16 13C15.5 15.5 13.5 16 12 18.5C11 20.2 9 21 8.5 19C8 17 9.5 15.5 7.5 13.5C6 12 3 12.5 2.8 10C2.7 8.7 3.2 8 4 7Z", circle(18, 18, 1.75)];
|
|
4
|
+
//#endregion
|
|
5
|
+
export { continent_default as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { rounded } from "../geometry.js";
|
|
2
|
+
//#region src/icons/diorama.js
|
|
3
|
+
var [cx, hw, cy, t] = [
|
|
4
|
+
12.5,
|
|
5
|
+
8,
|
|
6
|
+
12,
|
|
7
|
+
4
|
|
8
|
+
];
|
|
9
|
+
var dy = +(hw * Math.tan(Math.PI / 6)).toFixed(3);
|
|
10
|
+
var diorama_default = ({ radius }) => [
|
|
11
|
+
rounded([
|
|
12
|
+
[cx - hw, cy],
|
|
13
|
+
[9.5, 4],
|
|
14
|
+
[12.5, 8.5],
|
|
15
|
+
[15, 6],
|
|
16
|
+
[cx + hw, cy],
|
|
17
|
+
[cx + hw, cy + t],
|
|
18
|
+
[cx, cy + dy + t],
|
|
19
|
+
[cx - hw, cy + t]
|
|
20
|
+
], Math.min(radius, 1)),
|
|
21
|
+
`M${cx - hw} ${cy}L${cx} ${cy + dy}L${cx + hw} ${cy}`,
|
|
22
|
+
`M${cx} ${cy + dy}V${cy + dy + t}`
|
|
23
|
+
];
|
|
24
|
+
//#endregion
|
|
25
|
+
export { diorama_default as default };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/icons/github.js
|
|
2
|
+
var github_default = () => ["M9.5 20.5V18C9.5 17 9.75 16.25 10.5 15.5C6.75 15 4.5 13 4.5 10C4.5 8.75 5 7.75 5.5 7.25L6 3.5L9.5 5.5C11 5.25 13 5.25 14.5 5.5L18 3.5L18.5 7.25C19 7.75 19.5 8.75 19.5 10C19.5 13 17.25 15 13.5 15.5C14.25 16.25 14.5 17 14.5 18V20.5", "M9.5 18.25C6.5 19.25 6.25 16.5 4 16.5"];
|
|
3
|
+
//#endregion
|
|
4
|
+
export { github_default as default };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { rounded } from "../geometry.js";
|
|
2
|
+
//#region src/icons/hologram.js
|
|
3
|
+
var [cx, hw, top, bottom] = [
|
|
4
|
+
12.5,
|
|
5
|
+
5,
|
|
6
|
+
2.5,
|
|
7
|
+
14
|
|
8
|
+
];
|
|
9
|
+
var dy = +(hw * Math.tan(Math.PI / 6)).toFixed(3);
|
|
10
|
+
var hologram_default = ({ radius }) => [
|
|
11
|
+
rounded([
|
|
12
|
+
[cx, top],
|
|
13
|
+
[cx + hw, top + dy],
|
|
14
|
+
[cx + hw, bottom - dy],
|
|
15
|
+
[cx, bottom],
|
|
16
|
+
[cx - hw, bottom - dy],
|
|
17
|
+
[cx - hw, top + dy]
|
|
18
|
+
], Math.min(radius, 1)),
|
|
19
|
+
`M${cx - hw} ${top + dy}L${cx} ${top + 2 * dy}L${cx + hw} ${top + dy}`,
|
|
20
|
+
`M${cx} ${top + 2 * dy}V${bottom}`,
|
|
21
|
+
"M9 20.5H16",
|
|
22
|
+
{
|
|
23
|
+
d: "M10 18.5L6.5 13.5",
|
|
24
|
+
thin: true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
d: "M15 18.5L18.5 13.5",
|
|
28
|
+
thin: true
|
|
29
|
+
}
|
|
30
|
+
];
|
|
31
|
+
//#endregion
|
|
32
|
+
export { hologram_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-arrow-down.js
|
|
5
5
|
var k = cornerScale.arrowDown;
|
|
6
6
|
var list_arrow_down_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.arrowDown, k, stroke);
|
|
8
|
-
return [...lines, ...info(arrowDown(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.arrowDown, k, stroke);
|
|
8
|
+
return [...lines, ...info(arrowDown(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_arrow_down_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-arrow-left.js
|
|
5
5
|
var k = cornerScale.arrowLeft;
|
|
6
6
|
var list_arrow_left_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.arrowLeft, k, stroke);
|
|
8
|
-
return [...lines, ...info(arrowLeft(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.arrowLeft, k, stroke);
|
|
8
|
+
return [...lines, ...info(arrowLeft(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_arrow_left_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-arrow-right.js
|
|
5
5
|
var k = cornerScale.arrowRight;
|
|
6
6
|
var list_arrow_right_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.arrowRight, k, stroke);
|
|
8
|
-
return [...lines, ...info(arrowRight(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.arrowRight, k, stroke);
|
|
8
|
+
return [...lines, ...info(arrowRight(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_arrow_right_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-arrow-up.js
|
|
5
5
|
var k = cornerScale.arrowUp;
|
|
6
6
|
var list_arrow_up_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.arrowUp, k, stroke);
|
|
8
|
-
return [...lines, ...info(arrowUp(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.arrowUp, k, stroke);
|
|
8
|
+
return [...lines, ...info(arrowUp(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_arrow_up_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-assets.js
|
|
5
5
|
var k = cornerScale.assets;
|
|
6
6
|
var list_assets_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.assets, k, stroke);
|
|
8
|
-
return [...lines, ...accent(assets(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.assets, k, stroke);
|
|
8
|
+
return [...lines, ...accent(assets(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_assets_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-ban.js
|
|
5
5
|
var k = cornerScale.ban;
|
|
6
6
|
var list_ban_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.ban, k, stroke);
|
|
8
|
-
return [...lines, ...danger(ban(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.ban, k, stroke);
|
|
8
|
+
return [...lines, ...danger(ban(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_ban_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-bookmark.js
|
|
5
5
|
var k = cornerScale.bookmark;
|
|
6
6
|
var list_bookmark_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.bookmark, k, stroke);
|
|
8
|
-
return [...lines, ...accent(bookmark(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.bookmark, k, stroke);
|
|
8
|
+
return [...lines, ...accent(bookmark(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_bookmark_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-check.js
|
|
5
5
|
var k = cornerScale.check;
|
|
6
6
|
var list_check_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.check, k, stroke);
|
|
8
|
-
return [...lines, ...success(check(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.check, k, stroke);
|
|
8
|
+
return [...lines, ...success(check(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_check_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-circle.js
|
|
5
5
|
var k = cornerScale.ring;
|
|
6
6
|
var list_circle_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.ring, k, stroke);
|
|
8
|
-
return [...lines, ...accent(ring(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.ring, k, stroke);
|
|
8
|
+
return [...lines, ...accent(ring(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_circle_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-clock.js
|
|
5
5
|
var k = cornerScale.clock;
|
|
6
6
|
var list_clock_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.clock, k, stroke);
|
|
8
|
-
return [...lines, ...info(clock(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.clock, k, stroke);
|
|
8
|
+
return [...lines, ...info(clock(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_clock_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-cloud.js
|
|
5
5
|
var k = cornerScale.cloud;
|
|
6
6
|
var list_cloud_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.cloud, k, stroke);
|
|
8
|
-
return [...lines, ...info(cloud(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.cloud, k, stroke);
|
|
8
|
+
return [...lines, ...info(cloud(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_cloud_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-code.js
|
|
5
5
|
var k = cornerScale.code;
|
|
6
6
|
var list_code_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.code, k, stroke);
|
|
8
|
-
return [...lines, ...accent(code(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.code, k, stroke);
|
|
8
|
+
return [...lines, ...accent(code(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_code_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-gauge.js
|
|
5
5
|
var k = cornerScale.gauge;
|
|
6
6
|
var list_gauge_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.gauge, k, stroke);
|
|
8
|
-
return [...lines, ...info(gauge(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.gauge, k, stroke);
|
|
8
|
+
return [...lines, ...info(gauge(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_gauge_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-heart.js
|
|
5
5
|
var k = cornerScale.heart;
|
|
6
6
|
var list_heart_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.heart, k, stroke);
|
|
8
|
-
return [...lines, ...danger(heart(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.heart, k, stroke);
|
|
8
|
+
return [...lines, ...danger(heart(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_heart_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-image.js
|
|
5
5
|
var k = cornerScale.image;
|
|
6
6
|
var list_image_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.image, k, stroke);
|
|
8
|
-
return [...lines, ...accent(image(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.image, k, stroke);
|
|
8
|
+
return [...lines, ...accent(image(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_image_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-lock.js
|
|
5
5
|
var k = cornerScale.lock;
|
|
6
6
|
var list_lock_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.lock, k, stroke);
|
|
8
|
-
return [...lines, ...warning(lock(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.lock, k, stroke);
|
|
8
|
+
return [...lines, ...warning(lock(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_lock_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-minus.js
|
|
5
5
|
var k = cornerScale.minus;
|
|
6
6
|
var list_minus_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.minus, k, stroke);
|
|
8
|
-
return [...lines, ...danger(minus(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.minus, k, stroke);
|
|
8
|
+
return [...lines, ...danger(minus(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_minus_default as default };
|
|
@@ -4,11 +4,11 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-music-plus.js
|
|
5
5
|
var k = cornerScale.music;
|
|
6
6
|
var list_music_plus_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.music, k, stroke);
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.music, k, stroke);
|
|
8
8
|
return [
|
|
9
9
|
...lines.slice(0, 2),
|
|
10
10
|
...success(plus([6.5, 16.5], 1, radius)),
|
|
11
|
-
...accent(music(center,
|
|
11
|
+
...accent(music(center, size, radius))
|
|
12
12
|
];
|
|
13
13
|
};
|
|
14
14
|
//#endregion
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-music.js
|
|
5
5
|
var k = cornerScale.music;
|
|
6
6
|
var list_music_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.music, k, stroke);
|
|
8
|
-
return [...lines, ...accent(music(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.music, k, stroke);
|
|
8
|
+
return [...lines, ...accent(music(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_music_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-plug.js
|
|
5
5
|
var k = cornerScale.plug;
|
|
6
6
|
var list_plug_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.plug, k, stroke);
|
|
8
|
-
return [...lines, ...accent(plug(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.plug, k, stroke);
|
|
8
|
+
return [...lines, ...accent(plug(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_plug_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-plus.js
|
|
5
5
|
var k = cornerScale.plus;
|
|
6
6
|
var list_plus_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.plus, k, stroke);
|
|
8
|
-
return [...lines, ...success(plus(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.plus, k, stroke);
|
|
8
|
+
return [...lines, ...success(plus(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_plus_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-puzzle.js
|
|
5
5
|
var k = cornerScale.puzzle;
|
|
6
6
|
var list_puzzle_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.puzzle, k, stroke);
|
|
8
|
-
return [...lines, ...accent(puzzle(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.puzzle, k, stroke);
|
|
8
|
+
return [...lines, ...accent(puzzle(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_puzzle_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-search.js
|
|
5
5
|
var k = cornerScale.search;
|
|
6
6
|
var list_search_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.search, k, stroke);
|
|
8
|
-
return [...lines, ...info(search(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.search, k, stroke);
|
|
8
|
+
return [...lines, ...info(search(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_search_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-shield.js
|
|
5
5
|
var k = cornerScale.shield;
|
|
6
6
|
var list_shield_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.shield, k, stroke);
|
|
8
|
-
return [...lines, ...success(shield(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.shield, k, stroke);
|
|
8
|
+
return [...lines, ...success(shield(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_shield_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-sparkle.js
|
|
5
5
|
var k = cornerScale.sparkle;
|
|
6
6
|
var list_sparkle_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.sparkle, k, stroke);
|
|
8
|
-
return [...lines, ...accent(sparkle(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.sparkle, k, stroke);
|
|
8
|
+
return [...lines, ...accent(sparkle(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_sparkle_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-star.js
|
|
5
5
|
var k = cornerScale.star;
|
|
6
6
|
var list_star_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.star, k, stroke);
|
|
8
|
-
return [...lines, ...warning(star(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.star, k, stroke);
|
|
8
|
+
return [...lines, ...warning(star(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_star_default as default };
|
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-video.js
|
|
5
5
|
var k = cornerScale.video;
|
|
6
6
|
var list_video_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.video, k, stroke);
|
|
8
|
-
return [...lines, ...accent(video(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.video, k, stroke);
|
|
8
|
+
return [...lines, ...accent(video(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_video_default as default };
|
package/dist/src/icons/list-x.js
CHANGED
|
@@ -4,8 +4,8 @@ import { listBadge } from "../list.js";
|
|
|
4
4
|
//#region src/icons/list-x.js
|
|
5
5
|
var k = cornerScale.cross;
|
|
6
6
|
var list_x_default = ({ radius, stroke }) => {
|
|
7
|
-
const { center, lines } = listBadge(outlines.cross, k, stroke);
|
|
8
|
-
return [...lines, ...danger(cross(center,
|
|
7
|
+
const { center, size, lines } = listBadge(outlines.cross, k, stroke);
|
|
8
|
+
return [...lines, ...danger(cross(center, size, radius))];
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
11
|
export { list_x_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { danger } from "../tone.js";
|
|
2
|
+
import { ban } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-ban.js
|
|
5
|
+
var map_pin_ban_default = ({ radius }) => withBadge("ban", ban, danger, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_ban_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { accent } from "../tone.js";
|
|
2
|
+
import { bookmark } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-bookmark.js
|
|
5
|
+
var map_pin_bookmark_default = ({ radius }) => withBadge("bookmark", bookmark, accent, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_bookmark_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { success } from "../tone.js";
|
|
2
|
+
import { check } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-check.js
|
|
5
|
+
var map_pin_check_default = ({ radius }) => withBadge("check", check, success, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_check_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { info } from "../tone.js";
|
|
2
|
+
import { clock } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-clock.js
|
|
5
|
+
var map_pin_clock_default = ({ radius }) => withBadge("clock", clock, info, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_clock_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { info } from "../tone.js";
|
|
2
|
+
import { cloud } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-cloud.js
|
|
5
|
+
var map_pin_cloud_default = ({ radius }) => withBadge("cloud", cloud, info, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_cloud_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { danger } from "../tone.js";
|
|
2
|
+
import { heart } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-heart.js
|
|
5
|
+
var map_pin_heart_default = ({ radius }) => withBadge("heart", heart, danger, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_heart_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { accent } from "../tone.js";
|
|
2
|
+
import { image } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-image.js
|
|
5
|
+
var map_pin_image_default = ({ radius }) => withBadge("image", image, accent, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_image_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { warning } from "../tone.js";
|
|
2
|
+
import { lock } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-lock.js
|
|
5
|
+
var map_pin_lock_default = ({ radius }) => withBadge("lock", lock, warning, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_lock_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { danger } from "../tone.js";
|
|
2
|
+
import { minus } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-minus.js
|
|
5
|
+
var map_pin_minus_default = ({ radius }) => withBadge("minus", minus, danger, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_minus_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { accent } from "../tone.js";
|
|
2
|
+
import { music } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-music.js
|
|
5
|
+
var map_pin_music_default = ({ radius }) => withBadge("music", music, accent, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_music_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { success } from "../tone.js";
|
|
2
|
+
import { plus } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-plus.js
|
|
5
|
+
var map_pin_plus_default = ({ radius }) => withBadge("plus", plus, success, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_plus_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { info } from "../tone.js";
|
|
2
|
+
import { search } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-search.js
|
|
5
|
+
var map_pin_search_default = ({ radius }) => withBadge("search", search, info, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_search_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { accent } from "../tone.js";
|
|
2
|
+
import { sparkle } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-sparkle.js
|
|
5
|
+
var map_pin_sparkle_default = ({ radius }) => withBadge("sparkle", sparkle, accent, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_sparkle_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { warning } from "../tone.js";
|
|
2
|
+
import { star } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-star.js
|
|
5
|
+
var map_pin_star_default = ({ radius }) => withBadge("star", star, warning, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_star_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { accent } from "../tone.js";
|
|
2
|
+
import { video } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-video.js
|
|
5
|
+
var map_pin_video_default = ({ radius }) => withBadge("video", video, accent, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_video_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { danger } from "../tone.js";
|
|
2
|
+
import { cross } from "../symbols.js";
|
|
3
|
+
import { withBadge } from "../pin.js";
|
|
4
|
+
//#region src/icons/map-pin-x.js
|
|
5
|
+
var map_pin_x_default = ({ radius }) => withBadge("cross", cross, danger, radius);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { map_pin_x_default as default };
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { eye } from "../scene.js";
|
|
1
|
+
import { eye, softEar } from "../scene.js";
|
|
2
2
|
//#region src/icons/piggy-bank.js
|
|
3
3
|
var [cx, cy, rx, ry] = [
|
|
4
|
-
11,
|
|
4
|
+
11.5,
|
|
5
5
|
13,
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
7.5,
|
|
7
|
+
5.5
|
|
8
8
|
];
|
|
9
|
-
var
|
|
10
|
-
var topAt = (x) =>
|
|
11
|
-
var bottomAt = (x) =>
|
|
9
|
+
var r3 = (v) => +v.toFixed(3);
|
|
10
|
+
var topAt = (x) => r3(cy - ry * Math.sqrt(1 - ((x - cx) / rx) ** 2));
|
|
11
|
+
var bottomAt = (x) => r3(cy + ry * Math.sqrt(1 - ((x - cx) / rx) ** 2));
|
|
12
|
+
var rightAt = (y) => r3(cx + rx * Math.sqrt(1 - ((y - cy) / ry) ** 2));
|
|
13
|
+
var leg = (x0, x1) => `M${x0} ${bottomAt(x0)}V19.5A1 1 0 0 0 ${x0 + 1} 20.5A1 1 0 0 0 ${x1} 19.5V${bottomAt(x1)}`;
|
|
12
14
|
var piggy_bank_default = () => [
|
|
13
15
|
`M${cx - rx} ${cy}A${rx} ${ry} 0 0 1 ${cx + rx} ${cy}A${rx} ${ry} 0 0 1 ${cx - rx} ${cy}Z`,
|
|
14
|
-
`
|
|
15
|
-
`
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"M9.5
|
|
19
|
-
eye(
|
|
20
|
-
"M3.05 12C1.5 12 1.5 9.5 3 9.5"
|
|
16
|
+
`M13.5 ${topAt(13.5)}${softEar([13.5, topAt(13.5)], [16.5, 4.5], [17.5, topAt(17.5)], 1.15)}`,
|
|
17
|
+
`M${rightAt(11.5)} 11.5H20.5A1 1 0 0 1 21.5 12.5V13.5A1 1 0 0 1 20.5 14.5H${rightAt(14.5)}`,
|
|
18
|
+
leg(6.5, 8.5),
|
|
19
|
+
leg(14.5, 16.5),
|
|
20
|
+
"M9.5 10.5H12.5",
|
|
21
|
+
eye(16, 11.5)
|
|
21
22
|
];
|
|
22
23
|
//#endregion
|
|
23
24
|
export { piggy_bank_default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { dot } from "../scene.js";
|
|
2
|
+
import { rounded } from "../geometry.js";
|
|
3
|
+
//#region src/icons/region.js
|
|
4
|
+
var pts = [
|
|
5
|
+
[4.5, 6.5],
|
|
6
|
+
[14, 3.5],
|
|
7
|
+
[20.5, 10.5],
|
|
8
|
+
[16, 20.5],
|
|
9
|
+
[4.5, 16.5]
|
|
10
|
+
];
|
|
11
|
+
var region_default = ({ radius }) => [rounded(pts, Math.min(radius, .5)), ...pts.map(([x, y]) => dot(x, y, 3.5))];
|
|
12
|
+
//#endregion
|
|
13
|
+
export { region_default as default };
|