@grawlich/comic-components-svelte 0.0.0-stage → 0.0.1

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 CHANGED
@@ -1,3 +1,8 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
1
+ # Comic Components Svelte
2
+
3
+ > [!CAUTION]
4
+ > This is a <u>testing-only</u> package built for Svelte that is not intended for use in any production application.
5
+
6
+ <ins>**Do not use this package for any reason, it is not helpful to you.**</ins>
7
+
8
+ No further information will be provided at this time.
@@ -0,0 +1,18 @@
1
+ <script lang="ts">
2
+ // Props
3
+ let {
4
+ href,
5
+ children,
6
+ ...restProps
7
+ } = $props()
8
+ </script>
9
+
10
+ {#if href}
11
+ <a {href} {...restProps}>
12
+ {@render children?.()}
13
+ </a>
14
+ {:else}
15
+ <button {...restProps}>
16
+ {@render children?.()}
17
+ </button>
18
+ {/if}
@@ -0,0 +1,6 @@
1
+ declare const Button: import("svelte").Component<{
2
+ href: any;
3
+ children: any;
4
+ } & Record<string, any>, {}, "">;
5
+ type Button = ReturnType<typeof Button>;
6
+ export default Button;
@@ -0,0 +1 @@
1
+ export * as Button from "./components/Button.svelte";
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ // Reexport your entry components here
2
+ export * as Button from "./components/Button.svelte";
package/package.json CHANGED
@@ -1,6 +1,71 @@
1
- {
2
- "name": "@grawlich/comic-components-svelte",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
1
+ {
2
+ "name": "@grawlich/comic-components-svelte",
3
+ "version": "0.0.1",
4
+ "description": "A testing component library for Svelte.",
5
+ "keywords": [
6
+ "svelte",
7
+ "comic"
8
+ ],
9
+ "homepage": "https://github.com/grawlich/comic-components-svelte#readme",
10
+ "bugs": {
11
+ "url": "https://github.com/grawlich/comic-components-svelte/issues"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/grawlich/comic-components-svelte.git"
16
+ },
17
+ "license": "MIT",
18
+ "author": "grawlich",
19
+ "type": "module",
20
+ "imports": {
21
+ "#lib": "./src/lib/index.js",
22
+ "#lib/*": "./src/lib/*"
23
+ },
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/index.d.ts",
27
+ "svelte": "./dist/index.js"
28
+ }
29
+ },
30
+ "main": "./dist/index.js",
31
+ "types": "./dist/index.d.ts",
32
+ "files": [
33
+ "dist",
34
+ "!dist/**/*.test.*",
35
+ "!dist/**/*.spec.*"
36
+ ],
37
+ "scripts": {
38
+ "dev": "vite dev",
39
+ "build": "vite build && pnpm run prepack",
40
+ "preview": "vite preview",
41
+ "prepare": "svelte-kit sync || echo ''",
42
+ "prepack": "svelte-kit sync && svelte-package && publint",
43
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
44
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
45
+ },
46
+ "dependencies": {
47
+ "bits-ui": "^2.21.0"
48
+ },
49
+ "devDependencies": {
50
+ "@skeletonlabs/skeleton": "^5.0.4",
51
+ "@skeletonlabs/skeleton-svelte": "^5.0.4",
52
+ "@sveltejs/adapter-auto": "^8.0.0",
53
+ "@sveltejs/kit": "^3.0.0",
54
+ "@sveltejs/package": "^3.0.0",
55
+ "@sveltejs/vite-plugin-svelte": "^7.2.0",
56
+ "@tailwindcss/vite": "^4.3.0",
57
+ "publint": "^0.3.21",
58
+ "svelte": "^5.57.2",
59
+ "svelte-check": "^4.6.0",
60
+ "tailwindcss": "^4.3.0",
61
+ "typescript": "^6.0.3",
62
+ "vite": "^8.3.0"
63
+ },
64
+ "peerDependencies": {
65
+ "svelte": "^5.0.0"
66
+ },
67
+ "sideEffects": [
68
+ "**/*.css"
69
+ ],
70
+ "svelte": "./dist/index.js"
71
+ }