@jis3r/icons 2.0.0 → 2.1.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/README.md +15 -13
- package/dist/icons/accessibility.svelte +5 -6
- package/dist/icons/activity.svelte +1 -1
- package/dist/icons/alarm-clock-check.svelte +1 -0
- package/dist/icons/alarm-clock-off.svelte +1 -0
- package/dist/icons/anvil.svelte +1 -1
- package/dist/icons/arrow-down-left.svelte +1 -0
- package/dist/icons/arrow-down-right.svelte +1 -0
- package/dist/icons/arrow-down.svelte +1 -1
- package/dist/icons/arrow-left-right.svelte +1 -1
- package/dist/icons/arrow-left.svelte +1 -1
- package/dist/icons/arrow-right-left.svelte +1 -1
- package/dist/icons/arrow-right.svelte +1 -1
- package/dist/icons/arrow-up-left.svelte +1 -0
- package/dist/icons/arrow-up-right.svelte +1 -0
- package/dist/icons/arrow-up.svelte +1 -1
- package/dist/icons/award.svelte +1 -1
- package/dist/icons/axe.svelte +1 -1
- package/dist/icons/axis-3d.svelte +0 -1
- package/dist/icons/badge-alert.svelte +1 -1
- package/dist/icons/badge-check.svelte +1 -1
- package/dist/icons/badge-question-mark.svelte +1 -1
- package/dist/icons/battery-charging.svelte +1 -1
- package/dist/icons/battery-full.svelte +1 -1
- package/dist/icons/battery-low.svelte +1 -1
- package/dist/icons/battery-medium.svelte +1 -1
- package/dist/icons/battery-warning.svelte +1 -1
- package/dist/icons/battery.svelte +1 -1
- package/dist/icons/bean-off.svelte +1 -0
- package/dist/icons/beer-off.svelte +1 -0
- package/dist/icons/bell-off.svelte +1 -0
- package/dist/icons/bluetooth-off.svelte +1 -0
- package/dist/icons/bolt.svelte +1 -1
- package/dist/icons/bone.svelte +1 -1
- package/dist/icons/book-a.svelte +1 -0
- package/dist/icons/book-audio.svelte +1 -0
- package/dist/icons/book-check.svelte +1 -0
- package/dist/icons/book-dashed.svelte +1 -0
- package/dist/icons/book-down.svelte +1 -0
- package/dist/icons/book-headphones.svelte +1 -0
- package/dist/icons/book-heart.svelte +1 -0
- package/dist/icons/book-image.svelte +1 -0
- package/dist/icons/book-key.svelte +1 -0
- package/dist/icons/book-lock.svelte +1 -0
- package/dist/icons/book-marked.svelte +1 -0
- package/dist/icons/book-minus.svelte +1 -0
- package/dist/icons/book-open-check.svelte +1 -0
- package/dist/icons/book-open-text.svelte +1 -1
- package/dist/icons/book-plus.svelte +1 -0
- package/dist/icons/book-text.svelte +1 -0
- package/dist/icons/book-type.svelte +1 -0
- package/dist/icons/book-up-2.svelte +1 -0
- package/dist/icons/book-up.svelte +1 -0
- package/dist/icons/book-user.svelte +1 -0
- package/dist/icons/book-x.svelte +1 -0
- package/dist/icons/book.svelte +1 -0
- package/dist/icons/bookmark-check.svelte +1 -0
- package/dist/icons/bookmark-minus.svelte +1 -1
- package/dist/icons/bookmark-plus.svelte +1 -0
- package/dist/icons/bookmark-x.svelte +1 -0
- package/dist/icons/bookmark.svelte +1 -1
- package/dist/icons/bot-off.svelte +1 -0
- package/dist/icons/bot.svelte +1 -1
- package/dist/icons/brush-cleaning.svelte +1 -1
- package/dist/icons/brush.svelte +1 -1
- package/dist/icons/bug-off.svelte +1 -0
- package/dist/icons/calendar-check-2.svelte +1 -0
- package/dist/icons/calendar-check.svelte +1 -0
- package/dist/icons/calendar-days.svelte +1 -1
- package/dist/icons/calendar-off.svelte +1 -0
- package/dist/icons/camera-off.svelte +1 -0
- package/dist/icons/candy-off.svelte +1 -0
- package/dist/icons/captions-off.svelte +1 -0
- package/dist/icons/cast.svelte +1 -1
- package/dist/icons/cctv.svelte +1 -1
- package/dist/icons/chart-bar-decreasing.svelte +1 -1
- package/dist/icons/chart-bar-increasing.svelte +1 -1
- package/dist/icons/chart-bar.svelte +1 -0
- package/dist/icons/chart-column-decreasing.svelte +1 -1
- package/dist/icons/chart-column-increasing.svelte +1 -1
- package/dist/icons/chart-column.svelte +1 -0
- package/dist/icons/chart-gantt.svelte +1 -0
- package/dist/icons/chart-line.svelte +1 -1
- package/dist/icons/chart-no-axes-column-decreasing.svelte +1 -0
- package/dist/icons/chart-no-axes-column-increasing.svelte +1 -0
- package/dist/icons/chart-no-axes-column.svelte +1 -0
- package/dist/icons/chart-no-axes-combined.svelte +1 -1
- package/dist/icons/chart-no-axes-gantt.svelte +1 -0
- package/dist/icons/chart-scatter.svelte +1 -1
- package/dist/icons/chart-spline.svelte +1 -1
- package/dist/icons/check-check.svelte +1 -0
- package/dist/icons/check.svelte +1 -1
- package/dist/icons/cherry.svelte +1 -1
- package/dist/icons/chevron-down.svelte +1 -1
- package/dist/icons/chevron-left.svelte +1 -1
- package/dist/icons/chevron-right.svelte +1 -1
- package/dist/icons/chevron-up.svelte +1 -1
- package/dist/icons/chevrons-down-up.svelte +1 -1
- package/dist/icons/chevrons-down.svelte +1 -1
- package/dist/icons/chevrons-left-right.svelte +1 -1
- package/dist/icons/chevrons-left.svelte +1 -1
- package/dist/icons/chevrons-right-left.svelte +1 -1
- package/dist/icons/chevrons-right.svelte +1 -1
- package/dist/icons/chevrons-up-down.svelte +1 -1
- package/dist/icons/chevrons-up.svelte +1 -1
- package/dist/icons/cigarette-off.svelte +1 -0
- package/dist/icons/circle-alert.svelte +1 -1
- package/dist/icons/circle-arrow-down.svelte +1 -0
- package/dist/icons/circle-arrow-left.svelte +1 -0
- package/dist/icons/circle-arrow-out-down-left.svelte +1 -1
- package/dist/icons/circle-arrow-out-down-right.svelte +1 -1
- package/dist/icons/circle-arrow-out-up-left.svelte +1 -1
- package/dist/icons/circle-arrow-out-up-right.svelte +1 -1
- package/dist/icons/circle-arrow-right.svelte +1 -0
- package/dist/icons/circle-arrow-up.svelte +1 -0
- package/dist/icons/circle-check-big.svelte +1 -0
- package/dist/icons/circle-check.svelte +1 -0
- package/dist/icons/circle-chevron-down.svelte +1 -1
- package/dist/icons/circle-chevron-left.svelte +1 -1
- package/dist/icons/circle-chevron-right.svelte +1 -1
- package/dist/icons/circle-chevron-up.svelte +1 -1
- package/dist/icons/circle-off.svelte +1 -0
- package/dist/icons/circle-parking-off.svelte +1 -0
- package/dist/icons/circle-plus.svelte +1 -0
- package/dist/icons/circle-question-mark.svelte +1 -1
- package/dist/icons/clapperboard.svelte +1 -1
- package/dist/icons/clipboard-check.svelte +50 -2
- package/dist/icons/clipboard-list.svelte +1 -1
- package/dist/icons/clipboard-pen-line.svelte +45 -2
- package/dist/icons/clipboard-pen.svelte +47 -3
- package/dist/icons/clipboard-x.svelte +135 -0
- package/dist/icons/clipboard-x.svelte.d.ts +19 -0
- package/dist/icons/clipboard.svelte +1 -1
- package/dist/icons/cloud-off.svelte +1 -0
- package/dist/icons/copy-check.svelte +1 -0
- package/dist/icons/cpu.svelte +1 -1
- package/dist/icons/diamond-plus.svelte +1 -0
- package/dist/icons/dice-1.svelte +1 -0
- package/dist/icons/dice-2.svelte +1 -0
- package/dist/icons/dice-3.svelte +1 -0
- package/dist/icons/dice-4.svelte +1 -0
- package/dist/icons/dice-5.svelte +1 -0
- package/dist/icons/dice-6.svelte +1 -0
- package/dist/icons/diff.svelte +1 -0
- package/dist/icons/disc-3.svelte +1 -1
- package/dist/icons/dna-off.svelte +1 -0
- package/dist/icons/droplet-off.svelte +1 -0
- package/dist/icons/ear-off.svelte +1 -1
- package/dist/icons/egg-off.svelte +1 -1
- package/dist/icons/eye-off.svelte +1 -1
- package/dist/icons/file-chart-column-increasing.svelte +1 -0
- package/dist/icons/file-chart-column.svelte +1 -0
- package/dist/icons/file-chart-line.svelte +1 -1
- package/dist/icons/file-check-corner.svelte +1 -0
- package/dist/icons/file-check.svelte +1 -0
- package/dist/icons/file-exclamation-point.svelte +1 -1
- package/dist/icons/file-minus.svelte +1 -0
- package/dist/icons/file-pen.svelte +1 -1
- package/dist/icons/file-plus.svelte +1 -0
- package/dist/icons/file-question-mark.svelte +1 -1
- package/dist/icons/fish-off.svelte +1 -0
- package/dist/icons/flag-off.svelte +1 -0
- package/dist/icons/flashlight-off.svelte +1 -0
- package/dist/icons/flask-conical-off.svelte +1 -0
- package/dist/icons/folder-check.svelte +1 -0
- package/dist/icons/folder-kanban.svelte +1 -0
- package/dist/icons/folder-pen.svelte +1 -1
- package/dist/icons/folder-plus.svelte +1 -0
- package/dist/icons/folder-x.svelte +90 -0
- package/dist/icons/folder-x.svelte.d.ts +19 -0
- package/dist/icons/gallery-horizontal-end.svelte +1 -1
- package/dist/icons/gallery-thumbnails.svelte +1 -1
- package/dist/icons/gallery-vertical-end.svelte +1 -1
- package/dist/icons/gavel.svelte +1 -1
- package/dist/icons/grid-2x2-check.svelte +1 -0
- package/dist/icons/hammer.svelte +1 -1
- package/dist/icons/hand-coins.svelte +1 -1
- package/dist/icons/headphone-off.svelte +1 -0
- package/dist/icons/heart-off.svelte +1 -0
- package/dist/icons/heart.svelte +1 -0
- package/dist/icons/hop-off.svelte +1 -1
- package/dist/icons/house-wifi.svelte +1 -1
- package/dist/icons/house.svelte +1 -0
- package/dist/icons/image-off.svelte +1 -0
- package/dist/icons/infinity.svelte +1 -1
- package/dist/icons/kanban.svelte +1 -0
- package/dist/icons/key-round.svelte +1 -1
- package/dist/icons/key-square.svelte +1 -1
- package/dist/icons/keyboard-off.svelte +1 -0
- package/dist/icons/keyboard.svelte +1 -1
- package/dist/icons/landmark.svelte +1 -1
- package/dist/icons/layers.svelte +1 -1
- package/dist/icons/layout-dashboard.svelte +1 -1
- package/dist/icons/layout-grid.svelte +1 -1
- package/dist/icons/layout-panel-left.svelte +1 -1
- package/dist/icons/layout-panel-top.svelte +1 -1
- package/dist/icons/layout-template.svelte +1 -1
- package/dist/icons/lightbulb-off.svelte +1 -0
- package/dist/icons/lightbulb.svelte +1 -1
- package/dist/icons/link-2-off.svelte +1 -0
- package/dist/icons/list-check.svelte +1 -1
- package/dist/icons/list-checks.svelte +1 -1
- package/dist/icons/list-todo.svelte +1 -1
- package/dist/icons/loader-pinwheel.svelte +1 -1
- package/dist/icons/locate-off.svelte +1 -0
- package/dist/icons/log-out.svelte +1 -1
- package/dist/icons/mail-check.svelte +1 -0
- package/dist/icons/map-pin-check-inside.svelte +1 -0
- package/dist/icons/map-pin-check.svelte +1 -0
- package/dist/icons/map-pin-off.svelte +1 -0
- package/dist/icons/megaphone-off.svelte +1 -0
- package/dist/icons/message-circle-off.svelte +1 -0
- package/dist/icons/message-circle-question-mark.svelte +1 -1
- package/dist/icons/message-circle-warning.svelte +1 -1
- package/dist/icons/message-circle.svelte +1 -1
- package/dist/icons/message-square-off.svelte +1 -0
- package/dist/icons/message-square-warning.svelte +1 -1
- package/dist/icons/message-square.svelte +1 -1
- package/dist/icons/mic-off.svelte +1 -1
- package/dist/icons/milk-off.svelte +1 -0
- package/dist/icons/minus.svelte +1 -0
- package/dist/icons/monitor-check.svelte +1 -0
- package/dist/icons/monitor-off.svelte +1 -0
- package/dist/icons/mouse-off.svelte +1 -0
- package/dist/icons/mouse-pointer-2.svelte +1 -1
- package/dist/icons/mouse-pointer.svelte +1 -1
- package/dist/icons/move-diagonal-2.svelte +1 -1
- package/dist/icons/move-diagonal.svelte +1 -1
- package/dist/icons/move-down-left.svelte +1 -1
- package/dist/icons/move-down-right.svelte +1 -1
- package/dist/icons/move-down.svelte +1 -1
- package/dist/icons/move-horizontal.svelte +1 -1
- package/dist/icons/move-left.svelte +1 -1
- package/dist/icons/move-right.svelte +1 -1
- package/dist/icons/move-up-left.svelte +1 -1
- package/dist/icons/move-up-right.svelte +1 -1
- package/dist/icons/move-up.svelte +1 -1
- package/dist/icons/move-vertical.svelte +1 -1
- package/dist/icons/navigation-2-off.svelte +1 -0
- package/dist/icons/navigation-off.svelte +1 -0
- package/dist/icons/nfc.svelte +1 -1
- package/dist/icons/notebook-pen.svelte +1 -1
- package/dist/icons/nut-off.svelte +1 -0
- package/dist/icons/octagon-alert.svelte +1 -1
- package/dist/icons/orbit.svelte +1 -1
- package/dist/icons/package-check.svelte +1 -0
- package/dist/icons/paintbrush.svelte +1 -1
- package/dist/icons/paperclip.svelte +1 -1
- package/dist/icons/pen-line.svelte +1 -1
- package/dist/icons/pen-off.svelte +1 -0
- package/dist/icons/pen.svelte +1 -1
- package/dist/icons/pencil-line.svelte +1 -1
- package/dist/icons/pencil-off.svelte +1 -0
- package/dist/icons/pencil.svelte +1 -1
- package/dist/icons/phone-off.svelte +1 -0
- package/dist/icons/pickaxe.svelte +1 -1
- package/dist/icons/pin-off.svelte +1 -0
- package/dist/icons/plus.svelte +1 -0
- package/dist/icons/pointer-off.svelte +1 -0
- package/dist/icons/power-off.svelte +1 -0
- package/dist/icons/printer-check.svelte +1 -0
- package/dist/icons/rabbit.svelte +1 -0
- package/dist/icons/radar.svelte +1 -1
- package/dist/icons/radio-tower.svelte +1 -1
- package/dist/icons/radio.svelte +1 -1
- package/dist/icons/rainbow.svelte +1 -0
- package/dist/icons/refresh-cw-off.svelte +1 -0
- package/dist/icons/rocking-chair.svelte +1 -1
- package/dist/icons/route-off.svelte +1 -0
- package/dist/icons/route.svelte +1 -1
- package/dist/icons/rss.svelte +1 -1
- package/dist/icons/satellite-dish.svelte +1 -1
- package/dist/icons/save-off.svelte +1 -1
- package/dist/icons/scan-text.svelte +1 -1
- package/dist/icons/scissors.svelte +1 -0
- package/dist/icons/search-check.svelte +1 -0
- package/dist/icons/search.svelte +5 -6
- package/dist/icons/server-off.svelte +1 -0
- package/dist/icons/shield-alert.svelte +1 -1
- package/dist/icons/shield-check.svelte +1 -1
- package/dist/icons/shield-off.svelte +1 -0
- package/dist/icons/shield-plus.svelte +1 -0
- package/dist/icons/shield-question-mark.svelte +1 -1
- package/dist/icons/shopping-cart.svelte +1 -1
- package/dist/icons/shovel.svelte +1 -1
- package/dist/icons/signal-high.svelte +1 -1
- package/dist/icons/signal-low.svelte +1 -1
- package/dist/icons/signal-medium.svelte +1 -1
- package/dist/icons/signal-zero.svelte +1 -1
- package/dist/icons/signal.svelte +1 -1
- package/dist/icons/signature.svelte +1 -1
- package/dist/icons/smartphone-nfc.svelte +1 -1
- package/dist/icons/snowflake.svelte +1 -1
- package/dist/icons/sparkle.svelte +1 -1
- package/dist/icons/sparkles.svelte +1 -1
- package/dist/icons/speech.svelte +1 -1
- package/dist/icons/spell-check.svelte +1 -0
- package/dist/icons/square-arrow-down-left.svelte +1 -0
- package/dist/icons/square-arrow-down-right.svelte +1 -0
- package/dist/icons/square-arrow-down.svelte +1 -0
- package/dist/icons/square-arrow-left.svelte +1 -0
- package/dist/icons/square-arrow-out-down-left.svelte +1 -1
- package/dist/icons/square-arrow-out-down-right.svelte +1 -1
- package/dist/icons/square-arrow-out-up-left.svelte +1 -1
- package/dist/icons/square-arrow-out-up-right.svelte +1 -1
- package/dist/icons/square-arrow-right.svelte +1 -0
- package/dist/icons/square-arrow-up-left.svelte +1 -0
- package/dist/icons/square-arrow-up-right.svelte +1 -0
- package/dist/icons/square-arrow-up.svelte +1 -0
- package/dist/icons/square-chart-gantt.svelte +1 -0
- package/dist/icons/square-check-big.svelte +1 -0
- package/dist/icons/square-check.svelte +1 -0
- package/dist/icons/square-chevron-down.svelte +1 -1
- package/dist/icons/square-chevron-left.svelte +1 -1
- package/dist/icons/square-chevron-right.svelte +1 -1
- package/dist/icons/square-chevron-up.svelte +1 -1
- package/dist/icons/square-dashed-kanban.svelte +1 -0
- package/dist/icons/square-kanban.svelte +1 -0
- package/dist/icons/square-parking-off.svelte +1 -0
- package/dist/icons/square-pen.svelte +1 -1
- package/dist/icons/square-plus.svelte +1 -0
- package/dist/icons/square-scissors.svelte +1 -0
- package/dist/icons/square-stack.svelte +1 -1
- package/dist/icons/star-off.svelte +1 -0
- package/dist/icons/star.svelte +1 -1
- package/dist/icons/sun.svelte +1 -1
- package/dist/icons/sword.svelte +1 -1
- package/dist/icons/tag.svelte +1 -1
- package/dist/icons/text-align-center.svelte +1 -1
- package/dist/icons/text-search.svelte +5 -6
- package/dist/icons/ticket-check.svelte +1 -1
- package/dist/icons/timer-off.svelte +1 -0
- package/dist/icons/tornado.svelte +1 -1
- package/dist/icons/touchpad-off.svelte +1 -0
- package/dist/icons/triangle-alert.svelte +1 -1
- package/dist/icons/umbrella-off.svelte +1 -0
- package/dist/icons/user-check.svelte +1 -0
- package/dist/icons/user-pen.svelte +1 -1
- package/dist/icons/user-round-check.svelte +1 -0
- package/dist/icons/user-round-pen.svelte +1 -1
- package/dist/icons/user-round.svelte +1 -1
- package/dist/icons/user.svelte +1 -1
- package/dist/icons/users-round.svelte +1 -1
- package/dist/icons/users.svelte +1 -1
- package/dist/icons/vibrate-off.svelte +1 -0
- package/dist/icons/vibrate.svelte +1 -1
- package/dist/icons/video-off.svelte +1 -0
- package/dist/icons/volume-off.svelte +1 -0
- package/dist/icons/vote.svelte +1 -1
- package/dist/icons/washing-machine.svelte +1 -1
- package/dist/icons/waves.svelte +1 -0
- package/dist/icons/webhook-off.svelte +1 -0
- package/dist/icons/wheat-off.svelte +1 -0
- package/dist/icons/wifi-high.svelte +1 -1
- package/dist/icons/wifi-low.svelte +1 -1
- package/dist/icons/wifi-off.svelte +1 -0
- package/dist/icons/wifi-pen.svelte +1 -1
- package/dist/icons/wifi-zero.svelte +1 -1
- package/dist/icons/wifi.svelte +1 -1
- package/dist/icons/wine-off.svelte +1 -0
- package/dist/icons/x.svelte +1 -0
- package/dist/icons/zap-off.svelte +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +2 -2
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
} = $props();
|
|
19
19
|
|
|
20
20
|
function handleMouseEnter() {
|
|
21
|
+
if (animate) return;
|
|
21
22
|
animate = true;
|
|
22
23
|
setTimeout(() => {
|
|
23
24
|
animate = false;
|
|
@@ -39,8 +40,11 @@
|
|
|
39
40
|
class="clipboard-check-icon"
|
|
40
41
|
class:animate
|
|
41
42
|
>
|
|
42
|
-
<rect width="8" height="4" x="8" y="2" rx="1" ry="1" />
|
|
43
|
-
<path
|
|
43
|
+
<rect width="8" height="4" x="8" y="2" rx="1" ry="1" class="clip" />
|
|
44
|
+
<path
|
|
45
|
+
d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"
|
|
46
|
+
class="board"
|
|
47
|
+
/>
|
|
44
48
|
<path d="m9 14 2 2 4-4" class="check-path" />
|
|
45
49
|
</svg>
|
|
46
50
|
</div>
|
|
@@ -52,6 +56,20 @@
|
|
|
52
56
|
.clipboard-check-icon {
|
|
53
57
|
overflow: visible;
|
|
54
58
|
}
|
|
59
|
+
|
|
60
|
+
.clip,
|
|
61
|
+
.board {
|
|
62
|
+
transition: transform 0.3s ease;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.clipboard-check-icon.animate .clip {
|
|
66
|
+
animation: clipBounce 0.5s ease-in-out;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.clipboard-check-icon.animate .board {
|
|
70
|
+
animation: boardShake 0.5s ease-in-out;
|
|
71
|
+
}
|
|
72
|
+
|
|
55
73
|
.check-path {
|
|
56
74
|
stroke-dasharray: 9;
|
|
57
75
|
stroke-dashoffset: 0;
|
|
@@ -76,4 +94,34 @@
|
|
|
76
94
|
opacity: 1;
|
|
77
95
|
}
|
|
78
96
|
}
|
|
97
|
+
|
|
98
|
+
@keyframes clipBounce {
|
|
99
|
+
0% {
|
|
100
|
+
transform: translateY(0);
|
|
101
|
+
}
|
|
102
|
+
25% {
|
|
103
|
+
transform: translateY(-2px);
|
|
104
|
+
}
|
|
105
|
+
50% {
|
|
106
|
+
transform: translateY(1px);
|
|
107
|
+
}
|
|
108
|
+
100% {
|
|
109
|
+
transform: translateY(0);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@keyframes boardShake {
|
|
114
|
+
0% {
|
|
115
|
+
transform: rotate(0deg);
|
|
116
|
+
}
|
|
117
|
+
25% {
|
|
118
|
+
transform: rotate(-1deg);
|
|
119
|
+
}
|
|
120
|
+
75% {
|
|
121
|
+
transform: rotate(1deg);
|
|
122
|
+
}
|
|
123
|
+
100% {
|
|
124
|
+
transform: rotate(0deg);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
79
127
|
</style>
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
class="clipboard-pen-line-icon"
|
|
47
47
|
class:animate
|
|
48
48
|
>
|
|
49
|
-
<rect width="8" height="4" x="8" y="2" rx="1" />
|
|
50
|
-
<path d="M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-.5" />
|
|
49
|
+
<rect width="8" height="4" x="8" y="2" rx="1" class="clip" />
|
|
50
|
+
<path d="M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-.5" class="board" />
|
|
51
51
|
<path d="M16 4h2a2 2 0 0 1 1.73 1" />
|
|
52
52
|
<path d="M8 18h1" class="line" />
|
|
53
53
|
<path
|
|
@@ -65,6 +65,19 @@
|
|
|
65
65
|
overflow: visible;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
.clip,
|
|
69
|
+
.board {
|
|
70
|
+
transition: transform 0.3s ease;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.clipboard-pen-line-icon.animate .clip {
|
|
74
|
+
animation: clipBounce 0.5s ease-in-out;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.clipboard-pen-line-icon.animate .board {
|
|
78
|
+
animation: boardShake 0.5s ease-in-out;
|
|
79
|
+
}
|
|
80
|
+
|
|
68
81
|
.pen {
|
|
69
82
|
transform-origin: 19.876px 11.124px;
|
|
70
83
|
transition: transform 0.25s ease-in-out;
|
|
@@ -97,4 +110,34 @@
|
|
|
97
110
|
.clipboard-pen-line-icon.animate .line {
|
|
98
111
|
d: path('M8 18h5');
|
|
99
112
|
}
|
|
113
|
+
|
|
114
|
+
@keyframes clipBounce {
|
|
115
|
+
0% {
|
|
116
|
+
transform: translateY(0);
|
|
117
|
+
}
|
|
118
|
+
25% {
|
|
119
|
+
transform: translateY(-2px);
|
|
120
|
+
}
|
|
121
|
+
50% {
|
|
122
|
+
transform: translateY(1px);
|
|
123
|
+
}
|
|
124
|
+
100% {
|
|
125
|
+
transform: translateY(0);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@keyframes boardShake {
|
|
130
|
+
0% {
|
|
131
|
+
transform: rotate(0deg);
|
|
132
|
+
}
|
|
133
|
+
25% {
|
|
134
|
+
transform: rotate(-1deg);
|
|
135
|
+
}
|
|
136
|
+
75% {
|
|
137
|
+
transform: rotate(1deg);
|
|
138
|
+
}
|
|
139
|
+
100% {
|
|
140
|
+
transform: rotate(0deg);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
100
143
|
</style>
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
} = $props();
|
|
19
19
|
|
|
20
20
|
function handleMouseEnter() {
|
|
21
|
+
if (animate) return;
|
|
21
22
|
animate = true;
|
|
22
|
-
|
|
23
23
|
setTimeout(() => {
|
|
24
24
|
animate = false;
|
|
25
25
|
}, 1000);
|
|
@@ -38,9 +38,10 @@
|
|
|
38
38
|
stroke-linecap="round"
|
|
39
39
|
stroke-linejoin="round"
|
|
40
40
|
class="clipboard-pen-icon"
|
|
41
|
+
class:animate
|
|
41
42
|
>
|
|
42
|
-
<rect width="8" height="4" x="8" y="2" rx="1" />
|
|
43
|
-
<path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5.5" />
|
|
43
|
+
<rect width="8" height="4" x="8" y="2" rx="1" class="clip" />
|
|
44
|
+
<path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5.5" class="board" />
|
|
44
45
|
<path d="M4 13.5V6a2 2 0 0 1 2-2h2" />
|
|
45
46
|
<path
|
|
46
47
|
d="M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z"
|
|
@@ -58,6 +59,19 @@
|
|
|
58
59
|
overflow: visible;
|
|
59
60
|
}
|
|
60
61
|
|
|
62
|
+
.clip,
|
|
63
|
+
.board {
|
|
64
|
+
transition: transform 0.3s ease;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.clipboard-pen-icon.animate .clip {
|
|
68
|
+
animation: clipBounce 0.5s ease-in-out;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.clipboard-pen-icon.animate .board {
|
|
72
|
+
animation: boardShake 0.5s ease-in-out;
|
|
73
|
+
}
|
|
74
|
+
|
|
61
75
|
.pen {
|
|
62
76
|
transform-origin: 13.378px 15.626px;
|
|
63
77
|
transition: transform 0.25s ease-in-out;
|
|
@@ -79,4 +93,34 @@
|
|
|
79
93
|
transform: rotate(0.5deg) translate(1.5px, -1px);
|
|
80
94
|
}
|
|
81
95
|
}
|
|
96
|
+
|
|
97
|
+
@keyframes clipBounce {
|
|
98
|
+
0% {
|
|
99
|
+
transform: translateY(0);
|
|
100
|
+
}
|
|
101
|
+
25% {
|
|
102
|
+
transform: translateY(-2px);
|
|
103
|
+
}
|
|
104
|
+
50% {
|
|
105
|
+
transform: translateY(1px);
|
|
106
|
+
}
|
|
107
|
+
100% {
|
|
108
|
+
transform: translateY(0);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@keyframes boardShake {
|
|
113
|
+
0% {
|
|
114
|
+
transform: rotate(0deg);
|
|
115
|
+
}
|
|
116
|
+
25% {
|
|
117
|
+
transform: rotate(-1deg);
|
|
118
|
+
}
|
|
119
|
+
75% {
|
|
120
|
+
transform: rotate(1deg);
|
|
121
|
+
}
|
|
122
|
+
100% {
|
|
123
|
+
transform: rotate(0deg);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
82
126
|
</style>
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
/**
|
|
3
|
+
* @typedef {Object} Props
|
|
4
|
+
* @property {string} [color]
|
|
5
|
+
* @property {number} [size]
|
|
6
|
+
* @property {number} [strokeWidth]
|
|
7
|
+
* @property {boolean} [animate]
|
|
8
|
+
* @property {string} [class]
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/** @type {Props} */
|
|
12
|
+
let {
|
|
13
|
+
color = 'currentColor',
|
|
14
|
+
size = 24,
|
|
15
|
+
strokeWidth = 2,
|
|
16
|
+
animate = false,
|
|
17
|
+
class: className = ''
|
|
18
|
+
} = $props();
|
|
19
|
+
|
|
20
|
+
function handleMouseEnter() {
|
|
21
|
+
if (animate) return;
|
|
22
|
+
animate = true;
|
|
23
|
+
setTimeout(() => {
|
|
24
|
+
animate = false;
|
|
25
|
+
}, 600);
|
|
26
|
+
}
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<div class={className} aria-label="clipboard-x" role="img" onmouseenter={handleMouseEnter}>
|
|
30
|
+
<svg
|
|
31
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
32
|
+
width={size}
|
|
33
|
+
height={size}
|
|
34
|
+
viewBox="0 0 24 24"
|
|
35
|
+
fill="none"
|
|
36
|
+
stroke={color}
|
|
37
|
+
stroke-width={strokeWidth}
|
|
38
|
+
stroke-linecap="round"
|
|
39
|
+
stroke-linejoin="round"
|
|
40
|
+
class="clipboard-x-icon"
|
|
41
|
+
class:animate
|
|
42
|
+
>
|
|
43
|
+
<rect width="8" height="4" x="8" y="2" rx="1" ry="1" class="clip" />
|
|
44
|
+
<path
|
|
45
|
+
d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"
|
|
46
|
+
class="board"
|
|
47
|
+
/>
|
|
48
|
+
<path d="m15 11-6 6" class="diagonal-1" />
|
|
49
|
+
<path d="m9 11 6 6" class="diagonal-2" />
|
|
50
|
+
</svg>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
<style>
|
|
54
|
+
div {
|
|
55
|
+
display: inline-block;
|
|
56
|
+
}
|
|
57
|
+
.clipboard-x-icon {
|
|
58
|
+
overflow: visible;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.clip,
|
|
62
|
+
.board {
|
|
63
|
+
transition: transform 0.3s ease;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.diagonal-1,
|
|
67
|
+
.diagonal-2 {
|
|
68
|
+
stroke-dasharray: 8.5;
|
|
69
|
+
stroke-dashoffset: 0;
|
|
70
|
+
transition: stroke-dashoffset 0.15s ease-out;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.clipboard-x-icon.animate .clip {
|
|
74
|
+
animation: clipBounce 0.5s ease-in-out;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.clipboard-x-icon.animate .board {
|
|
78
|
+
animation: boardShake 0.5s ease-in-out;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.clipboard-x-icon.animate .diagonal-1 {
|
|
82
|
+
opacity: 0;
|
|
83
|
+
animation: lineAnimation 0.3s ease-out forwards;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.clipboard-x-icon.animate .diagonal-2 {
|
|
87
|
+
opacity: 0;
|
|
88
|
+
animation: lineAnimation 0.3s ease-out 0.25s forwards;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@keyframes lineAnimation {
|
|
92
|
+
0% {
|
|
93
|
+
opacity: 0;
|
|
94
|
+
stroke-dashoffset: 8.5;
|
|
95
|
+
}
|
|
96
|
+
15% {
|
|
97
|
+
opacity: 1;
|
|
98
|
+
stroke-dashoffset: 8.5;
|
|
99
|
+
}
|
|
100
|
+
100% {
|
|
101
|
+
opacity: 1;
|
|
102
|
+
stroke-dashoffset: 0;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@keyframes clipBounce {
|
|
107
|
+
0% {
|
|
108
|
+
transform: translateY(0);
|
|
109
|
+
}
|
|
110
|
+
25% {
|
|
111
|
+
transform: translateY(-2px);
|
|
112
|
+
}
|
|
113
|
+
50% {
|
|
114
|
+
transform: translateY(1px);
|
|
115
|
+
}
|
|
116
|
+
100% {
|
|
117
|
+
transform: translateY(0);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@keyframes boardShake {
|
|
122
|
+
0% {
|
|
123
|
+
transform: rotate(0deg);
|
|
124
|
+
}
|
|
125
|
+
25% {
|
|
126
|
+
transform: rotate(-1deg);
|
|
127
|
+
}
|
|
128
|
+
75% {
|
|
129
|
+
transform: rotate(1deg);
|
|
130
|
+
}
|
|
131
|
+
100% {
|
|
132
|
+
transform: rotate(0deg);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default ClipboardX;
|
|
2
|
+
type ClipboardX = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<Props>): void;
|
|
5
|
+
};
|
|
6
|
+
declare const ClipboardX: import("svelte").Component<{
|
|
7
|
+
color?: string;
|
|
8
|
+
size?: number;
|
|
9
|
+
strokeWidth?: number;
|
|
10
|
+
animate?: boolean;
|
|
11
|
+
class?: string;
|
|
12
|
+
}, {}, "">;
|
|
13
|
+
type Props = {
|
|
14
|
+
color?: string;
|
|
15
|
+
size?: number;
|
|
16
|
+
strokeWidth?: number;
|
|
17
|
+
animate?: boolean;
|
|
18
|
+
class?: string;
|
|
19
|
+
};
|
package/dist/icons/cpu.svelte
CHANGED
package/dist/icons/dice-1.svelte
CHANGED
package/dist/icons/dice-2.svelte
CHANGED
package/dist/icons/dice-3.svelte
CHANGED
package/dist/icons/dice-4.svelte
CHANGED
package/dist/icons/dice-5.svelte
CHANGED
package/dist/icons/dice-6.svelte
CHANGED
package/dist/icons/diff.svelte
CHANGED
package/dist/icons/disc-3.svelte
CHANGED