@jis3r/icons 1.17.0 → 1.19.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/icons/axis-3d.svelte +122 -0
- package/dist/icons/axis-3d.svelte.d.ts +19 -0
- package/dist/icons/binary.svelte +98 -0
- package/dist/icons/binary.svelte.d.ts +19 -0
- package/dist/icons/index.js +14 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
/**
|
|
3
|
+
* @typedef {Object} Props
|
|
4
|
+
* @property {string} [color]
|
|
5
|
+
* @property {number} [size]
|
|
6
|
+
* @property {number} [strokeWidth]
|
|
7
|
+
* @property {boolean} [isHovered]
|
|
8
|
+
* @property {string} [class]
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/** @type {Props} */
|
|
12
|
+
let {
|
|
13
|
+
color = 'currentColor',
|
|
14
|
+
size = 24,
|
|
15
|
+
strokeWidth = 2,
|
|
16
|
+
isHovered = false,
|
|
17
|
+
class: className = ''
|
|
18
|
+
} = $props();
|
|
19
|
+
|
|
20
|
+
function handleMouseEnter() {
|
|
21
|
+
if (isHovered) return;
|
|
22
|
+
isHovered = true;
|
|
23
|
+
|
|
24
|
+
setTimeout(() => {
|
|
25
|
+
isHovered = false;
|
|
26
|
+
}, 900);
|
|
27
|
+
}
|
|
28
|
+
</script>
|
|
29
|
+
|
|
30
|
+
<div class={className} aria-label="axis-3d" role="img" onmouseenter={handleMouseEnter}>
|
|
31
|
+
<svg
|
|
32
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
33
|
+
width={size}
|
|
34
|
+
height={size}
|
|
35
|
+
viewBox="0 0 24 24"
|
|
36
|
+
fill="none"
|
|
37
|
+
stroke={color}
|
|
38
|
+
stroke-width={strokeWidth}
|
|
39
|
+
stroke-linecap="round"
|
|
40
|
+
stroke-linejoin="round"
|
|
41
|
+
class="axis-3d-icon"
|
|
42
|
+
class:animate={isHovered}
|
|
43
|
+
>
|
|
44
|
+
<path d="M4 4v15a1 1 0 0 0 1 1h15" class="axis-3d-path1" />
|
|
45
|
+
<g class="axis-3d-group">
|
|
46
|
+
<path d="M4.293 19.707 6 18" class="axis-3d-path2" />
|
|
47
|
+
<path d="m9 15 1.5-1.5" class="axis-3d-path3" />
|
|
48
|
+
<path d="M13.5 10.5 15 9" class="axis-3d-path4" />
|
|
49
|
+
</g>
|
|
50
|
+
</svg>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
<style>
|
|
54
|
+
div {
|
|
55
|
+
display: inline-block;
|
|
56
|
+
}
|
|
57
|
+
.axis-3d-icon {
|
|
58
|
+
overflow: visible;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.axis-3d-path2,
|
|
62
|
+
.axis-3d-path3,
|
|
63
|
+
.axis-3d-path4 {
|
|
64
|
+
stroke-dasharray: 10;
|
|
65
|
+
stroke-dashoffset: 0;
|
|
66
|
+
opacity: 1;
|
|
67
|
+
transition:
|
|
68
|
+
stroke-dashoffset 0.1s ease-in-out,
|
|
69
|
+
opacity 0.1s ease-in-out;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.axis-3d-icon.animate .axis-3d-path2 {
|
|
73
|
+
opacity: 0;
|
|
74
|
+
stroke-dashoffset: 10;
|
|
75
|
+
animation: drawPath2 0.3s ease-in-out 0.2s forwards;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.axis-3d-icon.animate .axis-3d-path3 {
|
|
79
|
+
opacity: 0;
|
|
80
|
+
stroke-dashoffset: 10;
|
|
81
|
+
animation: drawPath3 0.3s ease-in-out 0.4s forwards;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.axis-3d-icon.animate .axis-3d-path4 {
|
|
85
|
+
opacity: 0;
|
|
86
|
+
stroke-dashoffset: 10;
|
|
87
|
+
animation: drawPath4 0.3s ease-in-out 0.6s forwards;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@keyframes drawPath2 {
|
|
91
|
+
0% {
|
|
92
|
+
stroke-dashoffset: 10;
|
|
93
|
+
opacity: 0;
|
|
94
|
+
}
|
|
95
|
+
100% {
|
|
96
|
+
stroke-dashoffset: 0;
|
|
97
|
+
opacity: 1;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@keyframes drawPath3 {
|
|
102
|
+
0% {
|
|
103
|
+
stroke-dashoffset: 10;
|
|
104
|
+
opacity: 0;
|
|
105
|
+
}
|
|
106
|
+
100% {
|
|
107
|
+
stroke-dashoffset: 0;
|
|
108
|
+
opacity: 1;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@keyframes drawPath4 {
|
|
113
|
+
0% {
|
|
114
|
+
stroke-dashoffset: 10;
|
|
115
|
+
opacity: 0;
|
|
116
|
+
}
|
|
117
|
+
100% {
|
|
118
|
+
stroke-dashoffset: 0;
|
|
119
|
+
opacity: 1;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default Axis3d;
|
|
2
|
+
type Axis3d = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<Props>): void;
|
|
5
|
+
};
|
|
6
|
+
declare const Axis3d: import("svelte").Component<{
|
|
7
|
+
color?: string;
|
|
8
|
+
size?: number;
|
|
9
|
+
strokeWidth?: number;
|
|
10
|
+
isHovered?: boolean;
|
|
11
|
+
class?: string;
|
|
12
|
+
}, {}, "">;
|
|
13
|
+
type Props = {
|
|
14
|
+
color?: string;
|
|
15
|
+
size?: number;
|
|
16
|
+
strokeWidth?: number;
|
|
17
|
+
isHovered?: boolean;
|
|
18
|
+
class?: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
/**
|
|
3
|
+
* @typedef {Object} Props
|
|
4
|
+
* @property {string} [color]
|
|
5
|
+
* @property {number} [size]
|
|
6
|
+
* @property {number} [strokeWidth]
|
|
7
|
+
* @property {boolean} [isHovered]
|
|
8
|
+
* @property {string} [class]
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/** @type {Props} */
|
|
12
|
+
let {
|
|
13
|
+
color = 'currentColor',
|
|
14
|
+
size = 24,
|
|
15
|
+
strokeWidth = 2,
|
|
16
|
+
isHovered = false,
|
|
17
|
+
class: className = ''
|
|
18
|
+
} = $props();
|
|
19
|
+
|
|
20
|
+
let hovered = $state(false);
|
|
21
|
+
|
|
22
|
+
function handleMouseEnter() {
|
|
23
|
+
hovered = true;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function handleMouseLeave() {
|
|
27
|
+
hovered = false;
|
|
28
|
+
}
|
|
29
|
+
</script>
|
|
30
|
+
|
|
31
|
+
<div
|
|
32
|
+
class={className}
|
|
33
|
+
aria-label="binary"
|
|
34
|
+
role="img"
|
|
35
|
+
onmouseenter={handleMouseEnter}
|
|
36
|
+
onmouseleave={handleMouseLeave}
|
|
37
|
+
>
|
|
38
|
+
<svg
|
|
39
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
40
|
+
width={size}
|
|
41
|
+
height={size}
|
|
42
|
+
viewBox="0 0 24 24"
|
|
43
|
+
fill="none"
|
|
44
|
+
stroke={color}
|
|
45
|
+
stroke-width={strokeWidth}
|
|
46
|
+
stroke-linecap="round"
|
|
47
|
+
stroke-linejoin="round"
|
|
48
|
+
class="binary-icon"
|
|
49
|
+
class:animate={hovered}
|
|
50
|
+
>
|
|
51
|
+
<rect x={14} y={14} width={4} height={6} rx={2} class="binary-rect1" />
|
|
52
|
+
<rect x={6} y={4} width={4} height={6} rx={2} class="binary-rect2" />
|
|
53
|
+
<path d="M6 20h4 M6 14h2v6" class="binary-path1" />
|
|
54
|
+
<path d="M14 4h2v6 M14 10h4" class="binary-path2" />
|
|
55
|
+
</svg>
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
<style>
|
|
59
|
+
div {
|
|
60
|
+
display: inline-block;
|
|
61
|
+
}
|
|
62
|
+
.binary-icon {
|
|
63
|
+
overflow: visible;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.binary-rect1,
|
|
67
|
+
.binary-rect2,
|
|
68
|
+
.binary-path1,
|
|
69
|
+
.binary-path2 {
|
|
70
|
+
--duration: 0.25s;
|
|
71
|
+
--timing: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
72
|
+
transition: transform var(--duration) var(--timing);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.binary-icon.animate .binary-rect1,
|
|
76
|
+
.binary-icon.animate .binary-rect2,
|
|
77
|
+
.binary-icon.animate .binary-path1,
|
|
78
|
+
.binary-icon.animate .binary-path2 {
|
|
79
|
+
--duration: 0.4s;
|
|
80
|
+
--timing: ease-in-out;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.binary-icon.animate .binary-rect1 {
|
|
84
|
+
transform: translateX(-8px);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.binary-icon.animate .binary-rect2 {
|
|
88
|
+
transform: translateX(8px);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.binary-icon.animate .binary-path1 {
|
|
92
|
+
transform: translateY(-10px);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.binary-icon.animate .binary-path2 {
|
|
96
|
+
transform: translateY(10px);
|
|
97
|
+
}
|
|
98
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default Binary;
|
|
2
|
+
type Binary = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<Props>): void;
|
|
5
|
+
};
|
|
6
|
+
declare const Binary: import("svelte").Component<{
|
|
7
|
+
color?: string;
|
|
8
|
+
size?: number;
|
|
9
|
+
strokeWidth?: number;
|
|
10
|
+
isHovered?: boolean;
|
|
11
|
+
class?: string;
|
|
12
|
+
}, {}, "">;
|
|
13
|
+
type Props = {
|
|
14
|
+
color?: string;
|
|
15
|
+
size?: number;
|
|
16
|
+
strokeWidth?: number;
|
|
17
|
+
isHovered?: boolean;
|
|
18
|
+
class?: string;
|
|
19
|
+
};
|
package/dist/icons/index.js
CHANGED
|
@@ -37,6 +37,7 @@ import arrowUpZA from './arrow-up-z-a.svelte';
|
|
|
37
37
|
import audioLines from './audio-lines.svelte';
|
|
38
38
|
import award from './award.svelte';
|
|
39
39
|
import axe from './axe.svelte';
|
|
40
|
+
import axis3d from './axis-3d.svelte';
|
|
40
41
|
import badgeAlert from './badge-alert.svelte';
|
|
41
42
|
import badgeCheck from './badge-check.svelte';
|
|
42
43
|
import badgeQuestionMark from './badge-question-mark.svelte';
|
|
@@ -55,6 +56,7 @@ import betweenHorizontalEnd from './between-horizontal-end.svelte';
|
|
|
55
56
|
import betweenHorizontalStart from './between-horizontal-start.svelte';
|
|
56
57
|
import betweenVerticalEnd from './between-vertical-end.svelte';
|
|
57
58
|
import betweenVerticalStart from './between-vertical-start.svelte';
|
|
59
|
+
import binary from './binary.svelte';
|
|
58
60
|
import blend from './blend.svelte';
|
|
59
61
|
import blocks from './blocks.svelte';
|
|
60
62
|
import bluetoothOff from './bluetooth-off.svelte';
|
|
@@ -928,6 +930,12 @@ let ICONS_LIST = [
|
|
|
928
930
|
],
|
|
929
931
|
categories: ['tools', 'gaming']
|
|
930
932
|
},
|
|
933
|
+
{
|
|
934
|
+
name: 'axis-3d',
|
|
935
|
+
icon: axis3d,
|
|
936
|
+
tags: ['gizmo', 'coordinates'],
|
|
937
|
+
categories: ['design']
|
|
938
|
+
},
|
|
931
939
|
{
|
|
932
940
|
name: 'badge-alert',
|
|
933
941
|
icon: badgeAlert,
|
|
@@ -1118,6 +1126,12 @@ let ICONS_LIST = [
|
|
|
1118
1126
|
],
|
|
1119
1127
|
categories: ['layout', 'design', 'tools']
|
|
1120
1128
|
},
|
|
1129
|
+
{
|
|
1130
|
+
name: 'binary',
|
|
1131
|
+
icon: binary,
|
|
1132
|
+
tags: ['code', 'digits', 'computer', 'zero', 'one', 'boolean'],
|
|
1133
|
+
categories: ['text', 'development']
|
|
1134
|
+
},
|
|
1121
1135
|
{
|
|
1122
1136
|
name: 'blend',
|
|
1123
1137
|
icon: blend,
|
package/dist/index.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export { default as ArrowUp } from "./icons/arrow-up.svelte";
|
|
|
37
37
|
export { default as AudioLines } from "./icons/audio-lines.svelte";
|
|
38
38
|
export { default as Award } from "./icons/award.svelte";
|
|
39
39
|
export { default as Axe } from "./icons/axe.svelte";
|
|
40
|
+
export { default as Axis3d } from "./icons/axis-3d.svelte";
|
|
40
41
|
export { default as BadgeAlert } from "./icons/badge-alert.svelte";
|
|
41
42
|
export { default as BadgeCheck } from "./icons/badge-check.svelte";
|
|
42
43
|
export { default as BadgeQuestionMark } from "./icons/badge-question-mark.svelte";
|
|
@@ -55,6 +56,7 @@ export { default as BetweenHorizontalEnd } from "./icons/between-horizontal-end.
|
|
|
55
56
|
export { default as BetweenHorizontalStart } from "./icons/between-horizontal-start.svelte";
|
|
56
57
|
export { default as BetweenVerticalEnd } from "./icons/between-vertical-end.svelte";
|
|
57
58
|
export { default as BetweenVerticalStart } from "./icons/between-vertical-start.svelte";
|
|
59
|
+
export { default as Binary } from "./icons/binary.svelte";
|
|
58
60
|
export { default as Blend } from "./icons/blend.svelte";
|
|
59
61
|
export { default as Blocks } from "./icons/blocks.svelte";
|
|
60
62
|
export { default as BluetoothOff } from "./icons/bluetooth-off.svelte";
|
package/dist/index.js
CHANGED
|
@@ -37,6 +37,7 @@ export { default as ArrowUp } from './icons/arrow-up.svelte';
|
|
|
37
37
|
export { default as AudioLines } from './icons/audio-lines.svelte';
|
|
38
38
|
export { default as Award } from './icons/award.svelte';
|
|
39
39
|
export { default as Axe } from './icons/axe.svelte';
|
|
40
|
+
export { default as Axis3d } from './icons/axis-3d.svelte';
|
|
40
41
|
export { default as BadgeAlert } from './icons/badge-alert.svelte';
|
|
41
42
|
export { default as BadgeCheck } from './icons/badge-check.svelte';
|
|
42
43
|
export { default as BadgeQuestionMark } from './icons/badge-question-mark.svelte';
|
|
@@ -55,6 +56,7 @@ export { default as BetweenHorizontalEnd } from './icons/between-horizontal-end.
|
|
|
55
56
|
export { default as BetweenHorizontalStart } from './icons/between-horizontal-start.svelte';
|
|
56
57
|
export { default as BetweenVerticalEnd } from './icons/between-vertical-end.svelte';
|
|
57
58
|
export { default as BetweenVerticalStart } from './icons/between-vertical-start.svelte';
|
|
59
|
+
export { default as Binary } from './icons/binary.svelte';
|
|
58
60
|
export { default as Blend } from './icons/blend.svelte';
|
|
59
61
|
export { default as Blocks } from './icons/blocks.svelte';
|
|
60
62
|
export { default as BluetoothOff } from './icons/bluetooth-off.svelte';
|