@jis3r/icons 1.12.1 → 1.13.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/airplay.svelte +72 -0
- package/dist/icons/airplay.svelte.d.ts +19 -0
- package/dist/icons/index.js +7 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
isHovered = true;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function handleMouseLeave() {
|
|
25
|
+
isHovered = false;
|
|
26
|
+
}
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<div
|
|
30
|
+
class={className}
|
|
31
|
+
aria-label="airplay"
|
|
32
|
+
role="img"
|
|
33
|
+
onmouseenter={handleMouseEnter}
|
|
34
|
+
onmouseleave={handleMouseLeave}
|
|
35
|
+
>
|
|
36
|
+
<svg
|
|
37
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
38
|
+
width={size}
|
|
39
|
+
height={size}
|
|
40
|
+
viewBox="0 0 24 24"
|
|
41
|
+
fill="none"
|
|
42
|
+
stroke={color}
|
|
43
|
+
stroke-width={strokeWidth}
|
|
44
|
+
stroke-linecap="round"
|
|
45
|
+
stroke-linejoin="round"
|
|
46
|
+
class="airplay-icon"
|
|
47
|
+
>
|
|
48
|
+
<path
|
|
49
|
+
d="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"
|
|
50
|
+
class="airplay-path1"
|
|
51
|
+
/>
|
|
52
|
+
<path d="m12 15 5 6H7Z" class="airplay-path2" class:hovered={isHovered} />
|
|
53
|
+
</svg>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<style>
|
|
57
|
+
div {
|
|
58
|
+
display: inline-block;
|
|
59
|
+
}
|
|
60
|
+
.airplay-icon {
|
|
61
|
+
overflow: visible;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.airplay-path2 {
|
|
65
|
+
transform: translateY(0);
|
|
66
|
+
transition: transform 0.4s cubic-bezier(0, 0, 0.3, 1.6);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.airplay-path2.hovered {
|
|
70
|
+
transform: translateY(2px);
|
|
71
|
+
}
|
|
72
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default Airplay;
|
|
2
|
+
type Airplay = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<Props>): void;
|
|
5
|
+
};
|
|
6
|
+
declare const Airplay: 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
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import activity from './activity.svelte';
|
|
2
|
+
import airplay from './airplay.svelte';
|
|
2
3
|
import alarmClock from './alarm-clock.svelte';
|
|
3
4
|
import alarmClockCheck from './alarm-clock-check.svelte';
|
|
4
5
|
import alarmClockOff from './alarm-clock-off.svelte';
|
|
@@ -532,6 +533,12 @@ let ICONS_LIST = [
|
|
|
532
533
|
],
|
|
533
534
|
categories: ['medical', 'account', 'social', 'science', 'multimedia']
|
|
534
535
|
},
|
|
536
|
+
{
|
|
537
|
+
name: 'airplay',
|
|
538
|
+
icon: airplay,
|
|
539
|
+
tags: ['stream', 'cast', 'mirroring', 'screen', 'monitor', 'macos', 'osx'],
|
|
540
|
+
categories: ['multimedia', 'connectivity', 'devices', 'brands']
|
|
541
|
+
},
|
|
535
542
|
{
|
|
536
543
|
name: 'alarm-clock',
|
|
537
544
|
icon: alarmClock,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as Activity } from "./icons/activity.svelte";
|
|
2
|
+
export { default as Airplay } from "./icons/airplay.svelte";
|
|
2
3
|
export { default as AlarmClockCheck } from "./icons/alarm-clock-check.svelte";
|
|
3
4
|
export { default as AlarmClockOff } from "./icons/alarm-clock-off.svelte";
|
|
4
5
|
export { default as AlarmClock } from "./icons/alarm-clock.svelte";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as Activity } from './icons/activity.svelte';
|
|
2
|
+
export { default as Airplay } from './icons/airplay.svelte';
|
|
2
3
|
export { default as AlarmClockCheck } from './icons/alarm-clock-check.svelte';
|
|
3
4
|
export { default as AlarmClockOff } from './icons/alarm-clock-off.svelte';
|
|
4
5
|
export { default as AlarmClock } from './icons/alarm-clock.svelte';
|
package/package.json
CHANGED