@miozu/jera 0.4.2 → 0.4.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miozu/jera",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Minimal, reactive component library for Svelte 5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -27,15 +27,11 @@
|
|
|
27
27
|
],
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"svelte": "^5.0.0",
|
|
30
|
-
"shiki": "^3.0.0"
|
|
31
|
-
"@lucide/svelte": "^0.500.0"
|
|
30
|
+
"shiki": "^3.0.0"
|
|
32
31
|
},
|
|
33
32
|
"peerDependenciesMeta": {
|
|
34
33
|
"shiki": {
|
|
35
34
|
"optional": true
|
|
36
|
-
},
|
|
37
|
-
"@lucide/svelte": {
|
|
38
|
-
"optional": true
|
|
39
35
|
}
|
|
40
36
|
},
|
|
41
37
|
"devDependencies": {
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
-->
|
|
16
16
|
<script>
|
|
17
17
|
import {getHighlighter} from '../../utils/highlighter.js';
|
|
18
|
-
import {Copy, Check} from '@lucide/svelte';
|
|
19
18
|
|
|
20
19
|
let {
|
|
21
20
|
/** The code to display */
|
|
@@ -82,9 +81,11 @@
|
|
|
82
81
|
aria-label={copied ? 'Copied!' : 'Copy code'}
|
|
83
82
|
>
|
|
84
83
|
{#if copied}
|
|
85
|
-
|
|
84
|
+
<!-- Check icon (inline SVG - no external dependency) -->
|
|
85
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>
|
|
86
86
|
{:else}
|
|
87
|
-
|
|
87
|
+
<!-- Copy icon (inline SVG - no external dependency) -->
|
|
88
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>
|
|
88
89
|
{/if}
|
|
89
90
|
</button>
|
|
90
91
|
|