rune-lab 0.0.4 → 0.0.6-rc0

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.
Files changed (45) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +40 -40
  3. package/dist/components/UIShowcase.svelte +184 -338
  4. package/dist/components/layout/ThemeSelector.svelte +25 -7
  5. package/dist/components/layout/URLDisplay.svelte +11 -17
  6. package/dist/core/theme/constants.d.ts +29 -0
  7. package/dist/core/theme/constants.js +61 -0
  8. package/dist/index.d.ts +4 -13
  9. package/dist/index.js +8 -42
  10. package/dist/mod.d.ts +5 -0
  11. package/dist/mod.js +12 -0
  12. package/dist/stores/api.svelte.d.ts +11 -0
  13. package/dist/stores/api.svelte.js +30 -0
  14. package/dist/stores/app.svelte.js +6 -6
  15. package/dist/stores/auth.svelte.d.ts +9 -10
  16. package/dist/stores/auth.svelte.js +21 -14
  17. package/dist/stores/{layout/footer.svelte.d.ts → footer.svelte.d.ts} +10 -10
  18. package/dist/stores/{layout/footer.svelte.js → footer.svelte.js} +4 -4
  19. package/dist/stores/theme.svelte.d.ts +4 -6
  20. package/dist/stores/theme.svelte.js +25 -33
  21. package/package.json +36 -64
  22. package/dist/components/dt/Altharun.svelte +0 -74
  23. package/dist/components/dt/Altharun.svelte.d.ts +0 -3
  24. package/dist/components/dt/Kyntharil.svelte +0 -97
  25. package/dist/components/dt/Kyntharil.svelte.d.ts +0 -3
  26. package/dist/components/dt/MetadataTable.svelte +0 -70
  27. package/dist/components/dt/MetadataTable.svelte.d.ts +0 -9
  28. package/dist/components/dt/SchemaDisplay.svelte +0 -154
  29. package/dist/components/dt/SchemaDisplay.svelte.d.ts +0 -7
  30. package/dist/components/layout/Footer.svelte +0 -88
  31. package/dist/components/layout/Footer.svelte.d.ts +0 -3
  32. package/dist/components/layout/NavBar.svelte +0 -114
  33. package/dist/components/layout/NavBar.svelte.d.ts +0 -3
  34. package/dist/components/layout/SignInCard.svelte +0 -72
  35. package/dist/components/layout/SignInCard.svelte.d.ts +0 -3
  36. package/dist/forge.svelte.d.ts +0 -18
  37. package/dist/forge.svelte.js +0 -37
  38. package/dist/theme/index.d.ts +0 -4
  39. package/dist/theme/index.js +0 -2
  40. package/dist/theme/static.d.ts +0 -16
  41. package/dist/theme/static.js +0 -45
  42. package/dist/tools/format.d.ts +0 -20
  43. package/dist/tools/format.js +0 -25
  44. package/dist/tools/pdf.d.ts +0 -1
  45. package/dist/tools/pdf.js +0 -320
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) [2025] [Yrrrrrf]
3
+ Copyright (c) 2025 Fernando Bryan Reza Campos
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,63 +1,63 @@
1
- # <div align="center"><img src="./resources/img/rune.png" alt="Rune-Lab Icon" width="128" height="128" description="Some glowing runes"></div>
2
- <h1 align="center">Rune Lab</h1>
1
+ # <div align="center">
3
2
 
4
- [![npm pkg](https://badge.fury.io/js/rune-lab.svg)](https://www.npmjs.com/package/rune-lab)
3
+ <h1 align="center">
4
+ <img src="https://raw.githubusercontent.com/Yrrrrrf/rune-lab/main/static/rune.png" alt="Rune Lab Icon" width="128" height="128" description="Some rune that represents the Svelte rune system">
5
+ <div align="center">Rune Lab</div>
6
+ </h1>
7
+
8
+ <div align="center">
9
+
10
+ [![JSR](https://jsr.io/badges/@yrrrrrf/rune-lab)](https://jsr.io/@yrrrrrf/rune-lab)
11
+ [![NPM Package](https://img.shields.io/npm/v/rune-lab.svg)](https://www.npmjs.com/package/rune-lab)
5
12
  [![GitHub](https://img.shields.io/badge/GitHub-Yrrrrrf%2Frune--lab-blue)](https://github.com/Yrrrrrf/rune-lab)
6
13
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://choosealicense.com/licenses/mit/)
7
14
 
15
+ </div>
16
+
8
17
  ## Overview
9
18
 
10
- Rune Lab is a SvelteKit component library **designed for the SvelteHack 2024**. It provides a collection of reusable UI components and utilities built with modern web technologies. The library emphasizes type safety, performance, and developer experience.
19
+ Rune Lab is a modern component library built with Svelte 5, focused on providing powerful,
20
+ reactive UI components using Svelte's runes system. It offers a comprehensive set of components,
21
+ theming capabilities, and utilities for building modern web applications.
11
22
 
12
23
  ## Features
13
24
 
14
- - **Svelte 5 Ready**: Built with the latest Svelte features
15
- - **TypeScript Support**: Full type safety and IDE integration
16
- - **Tailwind CSS**: Utility-first styling with custom components
17
- - **Zero Dependencies**: Lightweight and efficient
18
- - **Hot Reload**: Development-friendly with watch mode
19
- - **JSR Distribution**: Modern package distribution
25
+ - **🧪 Svelte 5 Runes**: Built with Svelte 5's powerful reactivity primitives
26
+ - **🎨 Theme System**: Extensive theming with DaisyUI integration
27
+ - **🔄 Type Safety**: Full TypeScript support with strong typing
28
+ - **📊 Data Visualization**: Components for visualizing complex data
29
+ - **🌐 API Integration**: Tools for type-safe API interactions
30
+ - **📦 Zero Dependencies**: Lightweight core with optional integrations
31
+ - **🦕 Deno & NPM**: Available on both JSR and NPM
20
32
 
21
33
  ## Installation
22
34
 
35
+ ### Using Deno / JSR
36
+
23
37
  ```bash
24
- jsr add @rune-lab
25
- # jsr add @yrrrrrf/rune-lab
38
+ # Add to your Deno project
39
+ deno add @yrrrrrf/rune-lab
26
40
  ```
27
41
 
28
- ## Usage
29
-
30
- ### Components
31
-
32
- TODO
33
- TODO
34
- TODO
35
- TODO
36
- TODO
37
-
38
- ## Development
42
+ ### Using NPM / Bun / Yarn
39
43
 
40
44
  ```bash
41
- bun install # Install dependencies
42
- bun watch # Start development watch mode
43
- bun run build # Build library
44
- bun test # Run tests
45
- ```
45
+ # NPM
46
+ npm install rune-lab
46
47
 
47
- ## Project Structure
48
+ # Bun
49
+ bun add rune-lab
48
50
 
49
- ```
50
- rune-lab/
51
- ├── src/
52
- │ └── lib/
53
- │ ├── components/
54
- │ ├── utils/
55
- │ └── index.ts
56
- ├── tests/
57
- ├── watch.ts
58
- └── package.json
51
+ # Yarn
52
+ yarn add rune-lab
59
53
  ```
60
54
 
61
55
  ## License
62
56
 
63
- MIT License - [LICENSE](LICENSE)
57
+ MIT License - See [LICENSE](LICENSE) for details.
58
+
59
+ ---
60
+
61
+ <div align="center">
62
+ Built with ❤️ using Svelte 5 and Deno
63
+ </div>