sk-clib 1.18.2 → 1.18.8

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 (101) hide show
  1. package/.prettierignore +6 -0
  2. package/.prettierrc +19 -0
  3. package/.vscode/extensions.json +8 -0
  4. package/.vscode/settings.json +5 -0
  5. package/CHANGELOG.md +343 -0
  6. package/README.md +14 -30
  7. package/eslint.config.js +34 -0
  8. package/package.json +34 -77
  9. package/release.config.cjs +16 -0
  10. package/src/app.d.ts +13 -0
  11. package/src/app.html +12 -0
  12. package/src/base.css +10 -0
  13. package/src/lib/assets/favicon.svg +1 -0
  14. package/src/lib/index.ts +1 -0
  15. package/{dist/theme/index.d.ts → src/lib/theme/index.ts} +6 -1
  16. package/src/lib/theme/logic.ts +91 -0
  17. package/{dist → src/lib}/theme/theme-init/components/theme-init.svelte +2 -2
  18. package/src/lib/theme/theme-init/index.ts +5 -0
  19. package/src/lib/theme/theme-init/types.ts +39 -0
  20. package/{dist/theme/types.d.ts → src/lib/theme/types.ts} +1 -0
  21. package/{dist → src/lib}/ui/button/components/button.svelte +1 -1
  22. package/src/lib/ui/button/index.ts +5 -0
  23. package/{dist/ui/button/types.d.ts → src/lib/ui/button/types.ts} +4 -1
  24. package/{dist → src/lib}/ui/flex/components/flex.svelte +2 -2
  25. package/src/lib/ui/flex/index.ts +5 -0
  26. package/{dist/ui/flex/types.d.ts → src/lib/ui/flex/types.ts} +4 -1
  27. package/{dist → src/lib}/ui/frame/components/frame.svelte +1 -1
  28. package/src/lib/ui/frame/index.ts +5 -0
  29. package/{dist/ui/frame/types.d.ts → src/lib/ui/frame/types.ts} +19 -1
  30. package/{dist → src/lib}/ui/header/components/header.svelte +1 -1
  31. package/src/lib/ui/header/index.ts +7 -0
  32. package/src/lib/ui/header/types.ts +43 -0
  33. package/{dist/ui/index.d.ts → src/lib/ui/index.ts} +8 -2
  34. package/{dist → src/lib}/ui/input/components/input.svelte +2 -2
  35. package/src/lib/ui/input/index.ts +5 -0
  36. package/{dist/ui/input/types.d.ts → src/lib/ui/input/types.ts} +7 -6
  37. package/{dist → src/lib}/ui/spacer/components/spacer.svelte +2 -2
  38. package/src/lib/ui/spacer/index.ts +5 -0
  39. package/src/lib/ui/spacer/types.ts +13 -0
  40. package/{dist → src/lib}/ui/text/components/text.svelte +1 -1
  41. package/src/lib/ui/text/index.ts +5 -0
  42. package/src/lib/ui/text/types.ts +71 -0
  43. package/src/lib/utils.ts +153 -0
  44. package/src/library.css +3 -0
  45. package/src/routes/+layout.svelte +9 -0
  46. package/src/routes/+page.svelte +2 -0
  47. package/src/routes/layout.css +1 -0
  48. package/src/theme.css +434 -0
  49. package/static/favicon.png +0 -0
  50. package/static/robots.txt +3 -0
  51. package/svelte.config.js +17 -0
  52. package/tsconfig.json +20 -0
  53. package/vite.config.ts +5 -0
  54. package/dist/index.d.ts +0 -2
  55. package/dist/index.js +0 -2
  56. package/dist/styles.css +0 -1143
  57. package/dist/theme/index.js +0 -6
  58. package/dist/theme/logic.d.ts +0 -4
  59. package/dist/theme/logic.js +0 -93
  60. package/dist/theme/stores.svelte.d.ts +0 -24
  61. package/dist/theme/theme-init/components/theme-init.svelte.d.ts +0 -13
  62. package/dist/theme/theme-init/index.d.ts +0 -2
  63. package/dist/theme/theme-init/index.js +0 -1
  64. package/dist/theme/theme-init/types.d.ts +0 -15
  65. package/dist/theme/theme-init/types.js +0 -1
  66. package/dist/theme/types.js +0 -1
  67. package/dist/ui/button/components/button.svelte.d.ts +0 -11
  68. package/dist/ui/button/index.d.ts +0 -2
  69. package/dist/ui/button/index.js +0 -1
  70. package/dist/ui/button/types.js +0 -1
  71. package/dist/ui/flex/components/flex.svelte.d.ts +0 -10
  72. package/dist/ui/flex/index.d.ts +0 -2
  73. package/dist/ui/flex/index.js +0 -1
  74. package/dist/ui/flex/types.js +0 -1
  75. package/dist/ui/frame/components/frame.svelte.d.ts +0 -22
  76. package/dist/ui/frame/index.d.ts +0 -2
  77. package/dist/ui/frame/index.js +0 -1
  78. package/dist/ui/frame/types.js +0 -1
  79. package/dist/ui/header/components/header.svelte.d.ts +0 -42
  80. package/dist/ui/header/index.d.ts +0 -2
  81. package/dist/ui/header/index.js +0 -1
  82. package/dist/ui/header/types.d.ts +0 -31
  83. package/dist/ui/header/types.js +0 -1
  84. package/dist/ui/index.js +0 -10
  85. package/dist/ui/input/components/input.svelte.d.ts +0 -10
  86. package/dist/ui/input/index.d.ts +0 -2
  87. package/dist/ui/input/index.js +0 -1
  88. package/dist/ui/input/types.js +0 -1
  89. package/dist/ui/spacer/components/spacer.svelte.d.ts +0 -17
  90. package/dist/ui/spacer/index.d.ts +0 -2
  91. package/dist/ui/spacer/index.js +0 -1
  92. package/dist/ui/spacer/types.d.ts +0 -7
  93. package/dist/ui/spacer/types.js +0 -1
  94. package/dist/ui/text/components/text.svelte.d.ts +0 -5
  95. package/dist/ui/text/index.d.ts +0 -2
  96. package/dist/ui/text/index.js +0 -1
  97. package/dist/ui/text/types.d.ts +0 -34
  98. package/dist/ui/text/types.js +0 -25
  99. package/dist/utils.d.ts +0 -81
  100. package/dist/utils.js +0 -141
  101. /package/{dist → src/lib}/theme/stores.svelte.js +0 -0
@@ -0,0 +1,6 @@
1
+ # Package Managers
2
+ package-lock.json
3
+ pnpm-lock.yaml
4
+ yarn.lock
5
+ bun.lock
6
+ bun.lockb
package/.prettierrc ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "useTabs": true,
3
+ "singleQuote": true,
4
+ "trailingComma": "none",
5
+ "printWidth": 100,
6
+ "plugins": [
7
+ "prettier-plugin-svelte",
8
+ "prettier-plugin-tailwindcss"
9
+ ],
10
+ "overrides": [
11
+ {
12
+ "files": "*.svelte",
13
+ "options": {
14
+ "parser": "svelte"
15
+ }
16
+ }
17
+ ],
18
+ "tailwindStylesheet": "./src/routes/layout.css"
19
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "recommendations": [
3
+ "svelte.svelte-vscode",
4
+ "esbenp.prettier-vscode",
5
+ "dbaeumer.vscode-eslint",
6
+ "bradlc.vscode-tailwindcss"
7
+ ]
8
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "files.associations": {
3
+ "*.css": "tailwindcss"
4
+ }
5
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,343 @@
1
+ ## [1.18.3](https://github.com/TreltaSev/sk-clib/compare/v1.18.2...v1.18.3) (2026-02-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **spacer:** class is reactive now ;( ([2bd4c67](https://github.com/TreltaSev/sk-clib/commit/2bd4c6768d32818d198c47a85ad5735be67b97cd))
7
+
8
+ ## [1.18.2](https://github.com/TreltaSev/sk-clib/compare/v1.18.1...v1.18.2) (2026-02-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **reactivity:** Classes are now reactive ([a901ea7](https://github.com/TreltaSev/sk-clib/commit/a901ea70a0f6b79c3f8ed1c6b39eddea6725deb3))
14
+
15
+ ## [1.18.1](https://github.com/TreltaSev/sk-clib/compare/v1.18.0...v1.18.1) (2026-01-29)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **component:** Fixed input component ([48443e1](https://github.com/TreltaSev/sk-clib/commit/48443e1824b29d202364156d4f71f5d39fa8215b))
21
+
22
+ # [1.18.0](https://github.com/TreltaSev/sk-clib/compare/v1.17.0...v1.18.0) (2026-01-29)
23
+
24
+
25
+ ### Features
26
+
27
+ * **input:** Update input component ([5eb40fe](https://github.com/TreltaSev/sk-clib/commit/5eb40fe15811d49a3764aee718023b31277329b7))
28
+
29
+ # [1.17.0](https://github.com/TreltaSev/sk-clib/compare/v1.16.0...v1.17.0) (2026-01-29)
30
+
31
+
32
+ ### Features
33
+
34
+ * **input:** Update input component ([82ff7bf](https://github.com/TreltaSev/sk-clib/commit/82ff7bf0417b966c45cbd95aabd2c9331978943d))
35
+
36
+ # [1.16.0](https://github.com/TreltaSev/sk-clib/compare/v1.15.0...v1.16.0) (2026-01-29)
37
+
38
+
39
+ ### Features
40
+
41
+ * **component:** Add input component ([10e62d2](https://github.com/TreltaSev/sk-clib/commit/10e62d295415b0b2036362a37b4207068e26a078))
42
+
43
+ # [1.15.0](https://github.com/TreltaSev/sk-clib/compare/v1.14.0...v1.15.0) (2026-01-16)
44
+
45
+
46
+ ### Features
47
+
48
+ * **button:** Optional href button attribute ([9d41276](https://github.com/TreltaSev/sk-clib/commit/9d41276ba6b821a32a5dd3f5eba51add74f6ba9c))
49
+
50
+ # [1.14.0](https://github.com/TreltaSev/sk-clib/compare/v1.13.1...v1.14.0) (2026-01-16)
51
+
52
+
53
+ ### Features
54
+
55
+ * **sk-clib:** Full update ([8321664](https://github.com/TreltaSev/sk-clib/commit/832166463129b693bd9e985115ef4eb0976214fe))
56
+
57
+ ## [1.13.1](https://github.com/TreltaSev/sk-clib/compare/v1.13.0...v1.13.1) (2026-01-04)
58
+
59
+
60
+ ### Bug Fixes
61
+
62
+ * **theme:** Fixed theme management with work arounds ([d152926](https://github.com/TreltaSev/sk-clib/commit/d152926eff33833e28fd38b85a75236e913c0339))
63
+
64
+ # [1.13.0](https://github.com/TreltaSev/sk-clib/compare/v1.12.0...v1.13.0) (2025-12-26)
65
+
66
+
67
+ ### Features
68
+
69
+ * **colors:** Don't allow black as a primary ([252a123](https://github.com/TreltaSev/sk-clib/commit/252a123ebade09699e4bf6bce8a073d7e0bdb467))
70
+
71
+ # [1.12.0](https://github.com/TreltaSev/sk-clib/compare/v1.11.0...v1.12.0) (2025-12-26)
72
+
73
+
74
+ ### Features
75
+
76
+ * **color:** Default color fallback ([53b2289](https://github.com/TreltaSev/sk-clib/commit/53b2289807196aceec51f88947e3f2b39c910b6e))
77
+
78
+ # [1.11.0](https://github.com/TreltaSev/sk-clib/compare/v1.10.0...v1.11.0) (2025-12-26)
79
+
80
+
81
+ ### Features
82
+
83
+ * **theme:** Made update logic better ([c101dd8](https://github.com/TreltaSev/sk-clib/commit/c101dd8f3b686633713a5b670b5e4a1b7bb22493))
84
+
85
+ # [1.10.0](https://github.com/TreltaSev/sk-clib/compare/v1.9.0...v1.10.0) (2025-12-26)
86
+
87
+
88
+ ### Features
89
+
90
+ * **docker:** Added compose and dockerfile ([382bd94](https://github.com/TreltaSev/sk-clib/commit/382bd94603b8dc22a87a98948540ab5caab0f101))
91
+ * **theme-init:** Moved seed color into primary ([954d6ae](https://github.com/TreltaSev/sk-clib/commit/954d6ae86b7db4b11ea8899eb553ead0867892b6))
92
+
93
+ # [1.9.0](https://github.com/TreltaSev/sk-clib/compare/v1.8.1...v1.9.0) (2025-08-22)
94
+
95
+
96
+ ### Features
97
+
98
+ * **frame:** Add comments in properties declaration ([aefa0fd](https://github.com/TreltaSev/sk-clib/commit/aefa0fd289f0d049af6dae324152dac801201cd4))
99
+ * **frame:** Add props to declarations ([80a437d](https://github.com/TreltaSev/sk-clib/commit/80a437def6403ab46cb173eb0980631a791bf6ec))
100
+ * **frame:** Add theme properties ([b7bff21](https://github.com/TreltaSev/sk-clib/commit/b7bff21790c0a322d4006f6e3600483f390969dd))
101
+ * **frame:** Add token instance options for backgroud ([8d38370](https://github.com/TreltaSev/sk-clib/commit/8d38370715889e3b8c60f79bc1b835dc4c284d55))
102
+
103
+ ## [1.8.1](https://github.com/TreltaSev/sk-clib/compare/v1.8.0...v1.8.1) (2025-08-22)
104
+
105
+
106
+ ### Bug Fixes
107
+
108
+ * **building:** Changed theme types ([82b42c4](https://github.com/TreltaSev/sk-clib/commit/82b42c447b7d756c8c1e4d759b3a68ce8269b4d9))
109
+
110
+ # [1.8.0](https://github.com/TreltaSev/sk-clib/compare/v1.7.0...v1.8.0) (2025-08-22)
111
+
112
+
113
+ ### Features
114
+
115
+ * **docs:** Update theme_init docs ([44b1ecf](https://github.com/TreltaSev/sk-clib/commit/44b1ecf28dee2f9bbf34da3989127d1f905a4f62))
116
+ * **major:** Added theme component and logic ([b136416](https://github.com/TreltaSev/sk-clib/commit/b1364161ee806004a43a8a142afde18824f5548b))
117
+
118
+ # [1.7.0](https://github.com/TreltaSev/sk-clib/compare/v1.6.0...v1.7.0) (2025-07-08)
119
+
120
+
121
+ ### Bug Fixes
122
+
123
+ * **vite-config:** Fixed fs allow shenanagens. ([cedc265](https://github.com/TreltaSev/sk-clib/commit/cedc26579059f2b2c7a8e92d0315fc3cb1da5fad))
124
+
125
+
126
+ ### Features
127
+
128
+ * **props-export:** Export Props ([ffe2b44](https://github.com/TreltaSev/sk-clib/commit/ffe2b44523f2d34aa533ad2d64a1c0f3cf987c0a))
129
+ * **toc:** Table of contents scaffold ([cc149ec](https://github.com/TreltaSev/sk-clib/commit/cc149ec13f77bd171dd2ae522bf6a3d80ac60a00))
130
+
131
+ # [1.6.0](https://github.com/TreltaSev/sk-clib/compare/v1.5.0...v1.6.0) (2025-06-07)
132
+
133
+
134
+ ### Features
135
+
136
+ * **button:** Added a new line, testingout feature ([25a606e](https://github.com/TreltaSev/sk-clib/commit/25a606e2c49875a48b9ccad62e900d06df719476))
137
+
138
+ # [1.5.0](https://github.com/TreltaSev/sk-clib/compare/v1.4.0...v1.5.0) (2025-06-07)
139
+
140
+
141
+ ### Bug Fixes
142
+
143
+ * **ci/cd:** Added Missing Package: '@sveltejs/adapter-auto' ([592044f](https://github.com/TreltaSev/sk-clib/commit/592044f9983d08dac2d969f4533712df676c471f))
144
+ * **ci/cd:** Cleanup tsconfig.json ([10438b4](https://github.com/TreltaSev/sk-clib/commit/10438b49be63561b135033341fe15ccd62c0f9c0))
145
+ * **ci/cd:** Cleanup workflows ([2f43790](https://github.com/TreltaSev/sk-clib/commit/2f437902e952ebb2a629fc8580b7d1e46aca06b8))
146
+ * **ci/cd:** Fix bun workflow for release ([f2dfa99](https://github.com/TreltaSev/sk-clib/commit/f2dfa999dc39194541ce2d56f689d4710fd7d25f))
147
+ * **ci/cd:** Fixed site deployment if statement ([92b3653](https://github.com/TreltaSev/sk-clib/commit/92b3653ad6e13c1d9457c65b827d534b91590b15))
148
+ * **ci/cd:** Removed unused lock file ([b687faf](https://github.com/TreltaSev/sk-clib/commit/b687fafaf043b059d193a8ecb8b56daa0ac03519))
149
+ * **ci/cd:** Revert to package-lock instead of bun ([250e040](https://github.com/TreltaSev/sk-clib/commit/250e040491e9bedb141625aa43e2e8deeac85478))
150
+ * **ci/cd:** Update Release Configuration ([66be33d](https://github.com/TreltaSev/sk-clib/commit/66be33d436144e04b30a76b7411162bb878cbba5))
151
+ * **conflicts:** Clean package-lock.json ([742df3f](https://github.com/TreltaSev/sk-clib/commit/742df3fed08b3ee6a4d865ba691c6b6d678e744d))
152
+ * **re-add:** re-added the utils that I removed ;( ([3cf3439](https://github.com/TreltaSev/sk-clib/commit/3cf3439f577e2a4babd542acca7c8e6b3da1aba4))
153
+
154
+
155
+ ### Features
156
+
157
+ * **ci/cd:** [sk-clib] Move to bun instead of npm ([60d58fe](https://github.com/TreltaSev/sk-clib/commit/60d58fe584862b43e1dcba36f7b7d14488abf11c))
158
+ * **component:** Added Spacer Component ([3f3afcd](https://github.com/TreltaSev/sk-clib/commit/3f3afcda9f867c7a9d28e36b4cc91e48059ba613))
159
+ * **docs:** Trigger Documentation Action [release] ([bf03811](https://github.com/TreltaSev/sk-clib/commit/bf038117b74bcfb0010efd39767e0be43eee3179))
160
+ * **playground:** Added incredibly simple playground for development ([5a92e1f](https://github.com/TreltaSev/sk-clib/commit/5a92e1f5a9f2a0ba9b4a629b6e1ee75be69dbade))
161
+
162
+ # [1.5.0](https://github.com/TreltaSev/sk-clib/compare/v1.4.0...v1.5.0) (2025-06-07)
163
+
164
+
165
+ ### Bug Fixes
166
+
167
+ * **ci/cd:** Added Missing Package: '@sveltejs/adapter-auto' ([592044f](https://github.com/TreltaSev/sk-clib/commit/592044f9983d08dac2d969f4533712df676c471f))
168
+ * **ci/cd:** Cleanup workflows ([2f43790](https://github.com/TreltaSev/sk-clib/commit/2f437902e952ebb2a629fc8580b7d1e46aca06b8))
169
+ * **ci/cd:** Fix bun workflow for release ([f2dfa99](https://github.com/TreltaSev/sk-clib/commit/f2dfa999dc39194541ce2d56f689d4710fd7d25f))
170
+ * **ci/cd:** Fixed site deployment if statement ([92b3653](https://github.com/TreltaSev/sk-clib/commit/92b3653ad6e13c1d9457c65b827d534b91590b15))
171
+ * **ci/cd:** Removed unused lock file ([b687faf](https://github.com/TreltaSev/sk-clib/commit/b687fafaf043b059d193a8ecb8b56daa0ac03519))
172
+ * **ci/cd:** Revert to package-lock instead of bun ([250e040](https://github.com/TreltaSev/sk-clib/commit/250e040491e9bedb141625aa43e2e8deeac85478))
173
+ * **ci/cd:** Update Release Configuration ([66be33d](https://github.com/TreltaSev/sk-clib/commit/66be33d436144e04b30a76b7411162bb878cbba5))
174
+ * **conflicts:** Clean package-lock.json ([742df3f](https://github.com/TreltaSev/sk-clib/commit/742df3fed08b3ee6a4d865ba691c6b6d678e744d))
175
+ * **re-add:** re-added the utils that I removed ;( ([3cf3439](https://github.com/TreltaSev/sk-clib/commit/3cf3439f577e2a4babd542acca7c8e6b3da1aba4))
176
+
177
+
178
+ ### Features
179
+
180
+ * **ci/cd:** [sk-clib] Move to bun instead of npm ([60d58fe](https://github.com/TreltaSev/sk-clib/commit/60d58fe584862b43e1dcba36f7b7d14488abf11c))
181
+ * **component:** Added Spacer Component ([3f3afcd](https://github.com/TreltaSev/sk-clib/commit/3f3afcda9f867c7a9d28e36b4cc91e48059ba613))
182
+ * **docs:** Trigger Documentation Action [release] ([bf03811](https://github.com/TreltaSev/sk-clib/commit/bf038117b74bcfb0010efd39767e0be43eee3179))
183
+ * **playground:** Added incredibly simple playground for development ([5a92e1f](https://github.com/TreltaSev/sk-clib/commit/5a92e1f5a9f2a0ba9b4a629b6e1ee75be69dbade))
184
+
185
+ # [1.5.0](https://github.com/TreltaSev/sk-clib/compare/v1.4.0...v1.5.0) (2025-06-07)
186
+
187
+
188
+ ### Bug Fixes
189
+
190
+ * **ci/cd:** Added Missing Package: '@sveltejs/adapter-auto' ([592044f](https://github.com/TreltaSev/sk-clib/commit/592044f9983d08dac2d969f4533712df676c471f))
191
+ * **ci/cd:** Cleanup workflows ([2f43790](https://github.com/TreltaSev/sk-clib/commit/2f437902e952ebb2a629fc8580b7d1e46aca06b8))
192
+ * **ci/cd:** Fix bun workflow for release ([f2dfa99](https://github.com/TreltaSev/sk-clib/commit/f2dfa999dc39194541ce2d56f689d4710fd7d25f))
193
+ * **ci/cd:** Fixed site deployment if statement ([92b3653](https://github.com/TreltaSev/sk-clib/commit/92b3653ad6e13c1d9457c65b827d534b91590b15))
194
+ * **ci/cd:** Removed unused lock file ([b687faf](https://github.com/TreltaSev/sk-clib/commit/b687fafaf043b059d193a8ecb8b56daa0ac03519))
195
+ * **ci/cd:** Revert to package-lock instead of bun ([250e040](https://github.com/TreltaSev/sk-clib/commit/250e040491e9bedb141625aa43e2e8deeac85478))
196
+ * **ci/cd:** Update Release Configuration ([66be33d](https://github.com/TreltaSev/sk-clib/commit/66be33d436144e04b30a76b7411162bb878cbba5))
197
+ * **conflicts:** Clean package-lock.json ([742df3f](https://github.com/TreltaSev/sk-clib/commit/742df3fed08b3ee6a4d865ba691c6b6d678e744d))
198
+ * **re-add:** re-added the utils that I removed ;( ([3cf3439](https://github.com/TreltaSev/sk-clib/commit/3cf3439f577e2a4babd542acca7c8e6b3da1aba4))
199
+
200
+
201
+ ### Features
202
+
203
+ * **ci/cd:** [sk-clib] Move to bun instead of npm ([60d58fe](https://github.com/TreltaSev/sk-clib/commit/60d58fe584862b43e1dcba36f7b7d14488abf11c))
204
+ * **component:** Added Spacer Component ([3f3afcd](https://github.com/TreltaSev/sk-clib/commit/3f3afcda9f867c7a9d28e36b4cc91e48059ba613))
205
+ * **docs:** Trigger Documentation Action [release] ([bf03811](https://github.com/TreltaSev/sk-clib/commit/bf038117b74bcfb0010efd39767e0be43eee3179))
206
+ * **playground:** Added incredibly simple playground for development ([5a92e1f](https://github.com/TreltaSev/sk-clib/commit/5a92e1f5a9f2a0ba9b4a629b6e1ee75be69dbade))
207
+
208
+ # [1.4.0](https://github.com/TreltaSev/sk-clib/compare/v1.3.0...v1.4.0) (2025-06-05)
209
+
210
+ ### Bug Fixes
211
+
212
+ - **conflict:** Cleaned Up a conflict ([123dead](https://github.com/TreltaSev/sk-clib/commit/123deadd216009af02c0aef242790e46c29c304a))
213
+ - **docs:** Margin Bottom on Docs [release] ([d7435d9](https://github.com/TreltaSev/sk-clib/commit/d7435d98f20dfdce8ba1e02e6a55347e468d1392))
214
+ - **style-independence:** Library style no longer tied with documentation style ([c69905e](https://github.com/TreltaSev/sk-clib/commit/c69905e8cb930bc2ef5c6943df11fb3fa49a97af))
215
+ - **sync:** Sync package & package-lock ([fc11a0b](https://github.com/TreltaSev/sk-clib/commit/fc11a0bf8a7519ad8014b7a850d36eef3b2bbacb))
216
+
217
+ ### Features
218
+
219
+ - **ci:** Testing [release] ([0dfa0b2](https://github.com/TreltaSev/sk-clib/commit/0dfa0b27184533ca5dd46f358a6de18df626832b))
220
+ - **ci:** Testing [release] main ([0869d7a](https://github.com/TreltaSev/sk-clib/commit/0869d7a078fe6e18a794e16d6b6c79efe8ebcfa2))
221
+ - **docs:** Add github and npm links to nav bar ([9a85fc8](https://github.com/TreltaSev/sk-clib/commit/9a85fc8de356f83ef6f306584858f43256f0b61f))
222
+ - **docs:** Trigger Documentation Action [release] ([af7bcf5](https://github.com/TreltaSev/sk-clib/commit/af7bcf510e680b88bec22726b7b46682b7c0a94e))
223
+
224
+ # [1.3.0](https://github.com/TreltaSev/sk-clib/compare/v1.2.0...v1.3.0) (2025-05-23)
225
+
226
+ ### Bug Fixes
227
+
228
+ - **conflicts:** Clean package-lock.json ([a76689b](https://github.com/TreltaSev/sk-clib/commit/a76689b7fd51a99a08f2998adcd09ce093a7e91f))
229
+ - **docs:** Margin Bottom on Docs [release] ([cf5232e](https://github.com/TreltaSev/sk-clib/commit/cf5232e1f20885ad4ef35b3e8f87a43248219139))
230
+
231
+ ### Features
232
+
233
+ - **ci:** Testing [release] ([4eebef6](https://github.com/TreltaSev/sk-clib/commit/4eebef6c7acb8a8c6f7b50290822424654f5ef9f))
234
+ - **ci:** Testing [release] main ([41bf9c7](https://github.com/TreltaSev/sk-clib/commit/41bf9c7eeedf2a7b6e7766e41c14ad1593269f91))
235
+ - **component:** Added Spacer Component ([b135d5c](https://github.com/TreltaSev/sk-clib/commit/b135d5ca813d9869f8c10b838961225d58e40abf))
236
+ - **component:** Added Spacer Component ([3ec0200](https://github.com/TreltaSev/sk-clib/commit/3ec0200adccff8eb79d074cdb02cfecfd96ebda4))
237
+ - **conflicts:** Clean Up Conflicts ([226eea1](https://github.com/TreltaSev/sk-clib/commit/226eea1e4a63a48c01e3d4257777949051c3f917))
238
+ - **docs:** Add github and npm links to nav bar ([c812699](https://github.com/TreltaSev/sk-clib/commit/c8126999d0e5e083f9bdad1bffa836abcdf9be12))
239
+ - **docs:** Trigger Documentation Action [release] ([a00370e](https://github.com/TreltaSev/sk-clib/commit/a00370e67f4eb0f91432db2c13408a89d05fef83))
240
+
241
+ # [1.2.0](https://github.com/TreltaSev/sk-clib/compare/v1.1.2...v1.2.0) (2025-05-22)
242
+
243
+ ### Features
244
+
245
+ - **docs:** Add h-fit ([25bfa14](https://github.com/TreltaSev/sk-clib/commit/25bfa148aa546e6a5a0f20e6f33d6406f42dceff))
246
+ - **docs:** Update structure ([7460f38](https://github.com/TreltaSev/sk-clib/commit/7460f38bf5979981fdc3779aca13413209cccc7a))
247
+
248
+ ## [1.1.2](https://github.com/TreltaSev/sk-clib/compare/v1.1.1...v1.1.2) (2025-05-22)
249
+
250
+ ### Bug Fixes
251
+
252
+ - remove sk-clib before running semantic-release in npmjs-release workflow ([9e0d2a7](https://github.com/TreltaSev/sk-clib/commit/9e0d2a7cc8618ddf3913fe35076880ee2b3f70df))
253
+
254
+ # [1.2.0](https://github.com/TreltaSev/sk-clib/compare/v1.1.2...v1.2.0) (2025-05-22)
255
+
256
+ ### Features
257
+
258
+ - **docs:** Add h-fit ([25bfa14](https://github.com/TreltaSev/sk-clib/commit/25bfa148aa546e6a5a0f20e6f33d6406f42dceff))
259
+ - **docs:** Update structure ([7460f38](https://github.com/TreltaSev/sk-clib/commit/7460f38bf5979981fdc3779aca13413209cccc7a))
260
+
261
+ ## [1.1.2](https://github.com/TreltaSev/sk-clib/compare/v1.1.1...v1.1.2) (2025-05-22)
262
+
263
+ ### Bug Fixes
264
+
265
+ - remove sk-clib before running semantic-release in npmjs-release workflow ([9e0d2a7](https://github.com/TreltaSev/sk-clib/commit/9e0d2a7cc8618ddf3913fe35076880ee2b3f70df))
266
+
267
+ ## [1.1.1](https://github.com/TreltaSev/sk-clib/compare/v1.1.0...v1.1.1) (2025-05-22)
268
+
269
+ ### Bug Fixes
270
+
271
+ - remove local file reference to sk-clib in package.json and package-lock.json ([dea2a42](https://github.com/TreltaSev/sk-clib/commit/dea2a4280a76bb82de825377068b13c2d6a4e91f))
272
+
273
+ # [1.1.0](https://github.com/TreltaSev/sk-clib/compare/v1.0.4...v1.1.0) (2025-05-22)
274
+
275
+ ### Features
276
+
277
+ - **ci:** add Bun installation step to npm release workflow ([4710cd9](https://github.com/TreltaSev/sk-clib/commit/4710cd9dad3b5f9529764ac19ada8939a2c04835))
278
+
279
+ ## [1.0.4](https://github.com/TreltaSev/sk-clib/compare/v1.0.3...v1.0.4) (2025-05-22)
280
+
281
+ ### Bug Fixes
282
+
283
+ - **ci/cd:** add type module... again ([700773a](https://github.com/TreltaSev/sk-clib/commit/700773a2ec2ceefcbcdfd956950d70437c77db8e))
284
+ - **ci/cd:** Cleanup ([88b2077](https://github.com/TreltaSev/sk-clib/commit/88b2077b125fd67561c8a0c3702cc1311725a591))
285
+
286
+ ## [1.0.3](https://github.com/TreltaSev/sk-clib/compare/v1.0.2...v1.0.3) (2025-05-22)
287
+
288
+ ### Bug Fixes
289
+
290
+ - **ci/cd:** Update publint ([109a9f7](https://github.com/TreltaSev/sk-clib/commit/109a9f76d1a823a9e85e2ff0d0747ecb23bf181d))
291
+
292
+ ## [1.0.2](https://github.com/TreltaSev/sk-clib/compare/v1.0.1...v1.0.2) (2025-05-22)
293
+
294
+ ### Bug Fixes
295
+
296
+ - **ci/cd:** skip pack ([57df76d](https://github.com/TreltaSev/sk-clib/commit/57df76d59f6f856d30f65dfae814396a4e0dbf03))
297
+
298
+ ## [1.0.1](https://github.com/TreltaSev/sk-clib/compare/v1.0.0...v1.0.1) (2025-05-22)
299
+
300
+ ### Bug Fixes
301
+
302
+ - **ci/cd:** Cleanup workfile ([e0b351c](https://github.com/TreltaSev/sk-clib/commit/e0b351cb6d68f2caa528a1658e2ea0e899714c5e))
303
+ - **ci/cd:** Cleanup workfile x2 ([f82369a](https://github.com/TreltaSev/sk-clib/commit/f82369a7a050c6f1aca1f37df59fe39f1e34d8f0))
304
+ - **ci/cd:** Use npx instead of bunx for build script ([325f43c](https://github.com/TreltaSev/sk-clib/commit/325f43c17a057750f68a0bceaa33a3a2fa00f54a))
305
+
306
+ # 1.0.0 (2025-05-22)
307
+
308
+ ### Bug Fixes
309
+
310
+ - **ci/cd:** Add package-lock.json ([eb7afd9](https://github.com/TreltaSev/sk-clib/commit/eb7afd977eac119dfc2e9e705e501d9d26ca0fcb))
311
+ - **ci/cd:** Pushed package-lock ([8693783](https://github.com/TreltaSev/sk-clib/commit/86937835aae2c06d7f6f579a539e30ae8ddd53ff))
312
+ - **ci/cd:** Remove type ([b108c57](https://github.com/TreltaSev/sk-clib/commit/b108c572176c886d619c6ee4018944a25e3388ca))
313
+ - **ci/cd:** Stop removing files ([503f168](https://github.com/TreltaSev/sk-clib/commit/503f16828024bee3de3199474f98c1a90788b321))
314
+ - **component-entry:** Export from lib ([527209e](https://github.com/TreltaSev/sk-clib/commit/527209e26cfa472ae9a44c2dc1460c79c798f6cb))
315
+ - **components:** Generate CSS on build ([b86c8b8](https://github.com/TreltaSev/sk-clib/commit/b86c8b8edd17423a8fb2cc0c85322c7ac660b66f))
316
+ - **linter:** Fixed VSCode Error with project ([845b355](https://github.com/TreltaSev/sk-clib/commit/845b3553ee98d63649ff8fd9e79c3acf701fa3ad))
317
+ - **linting:** Ignoring Useless Error ([fa11469](https://github.com/TreltaSev/sk-clib/commit/fa11469f135c2a986f1deaafd3c781cf81bbb865))
318
+
319
+ ### Features
320
+
321
+ - **ci/cd:** Debug Testing Work Tools ([b4ac7da](https://github.com/TreltaSev/sk-clib/commit/b4ac7da7fb7766e52ede3af5bd028efdd9370b6c))
322
+ - **ci/cd:** Use i instead of ci ([c873743](https://github.com/TreltaSev/sk-clib/commit/c87374395c59e2b0d4872cae75fd85767fe2d2ab))
323
+ - **ci/cd:** Use updated node instead of 18 ([dbd6e32](https://github.com/TreltaSev/sk-clib/commit/dbd6e327e30310c369e95d830453e22934daa921))
324
+ - **componenent:** Add Flex Component ([42a620f](https://github.com/TreltaSev/sk-clib/commit/42a620ffd98f524614e3ffeb31e3ec3ac65d1420))
325
+ - **component:** Add Ui Path ([03475bd](https://github.com/TreltaSev/sk-clib/commit/03475bdcf6fcc5a5a3442e9fe078bb128247b3a0))
326
+ - **component:** Button Accessibility ([ec71c37](https://github.com/TreltaSev/sk-clib/commit/ec71c377e2c2d1d3aa2925a180d031017dde1e1f))
327
+ - **component:** Button, Made class optional ([4056e8b](https://github.com/TreltaSev/sk-clib/commit/4056e8b3a246151959592d87d0553c3f58595fcb))
328
+ - **component:** Header component now passes all other props to main element ([562ee0e](https://github.com/TreltaSev/sk-clib/commit/562ee0e61a4c1119b0a213e2a1733d11a55b7b61))
329
+ - **component:** Setup Button ([ed08a0a](https://github.com/TreltaSev/sk-clib/commit/ed08a0a2fca3938b3eeb1527c1a907f16484c84c))
330
+ - **component:** Setup Header Component ([93f4eab](https://github.com/TreltaSev/sk-clib/commit/93f4eab2ef6becf8adf74ed22abaab68a3349020))
331
+ - **component:** Setup Header Independent Stying ([881c563](https://github.com/TreltaSev/sk-clib/commit/881c563b0e3faa8ba56787aa0617705935a0eed1))
332
+ - **component:** Setup Text Component ([3f491c4](https://github.com/TreltaSev/sk-clib/commit/3f491c4e00499d84811bc519630e37a67d003413))
333
+ - **configuration:** Add ui path ([4c3c07f](https://github.com/TreltaSev/sk-clib/commit/4c3c07f257d623676bd945f7bd919a09c8080c96))
334
+ - **configuration:** Redid Imports for components ([6229b37](https://github.com/TreltaSev/sk-clib/commit/6229b37e06ce7acd3978efb0db60a512e9d27204))
335
+ - **docs:** Add basic doc structure and handler ([e000dbf](https://github.com/TreltaSev/sk-clib/commit/e000dbf11af1fb2b1fe8d510001e74bda066a992))
336
+ - **docs:** Add more to documentation ([a7f7404](https://github.com/TreltaSev/sk-clib/commit/a7f740405cb3dba6a3a686f24c13354cb35f30f3))
337
+ - **docs:** Added component rendering to root components ([8d701ec](https://github.com/TreltaSev/sk-clib/commit/8d701ecaa1e145a142822eae635cebb8d2e5d7a1))
338
+ - **docs:** Implement mdsvex ([8bdf15d](https://github.com/TreltaSev/sk-clib/commit/8bdf15d64113960daec43e0b60ae96a324ed0fa1))
339
+ - **docs:** Make doc site less... ugly ([b0f77eb](https://github.com/TreltaSev/sk-clib/commit/b0f77ebbf13d4291520be881a4aeb93ccdfd8817))
340
+ - **docs:** recursive id's ([d72a33f](https://github.com/TreltaSev/sk-clib/commit/d72a33f5b9563e9a8fb20c3e14ccc9f76fafc8e9))
341
+ - **docs:** Syntax Highlighting ([f13db15](https://github.com/TreltaSev/sk-clib/commit/f13db1546f73c5df1c9a7c64fe219df8c9c5b2f2))
342
+ - **docs:** Truly Recursive Documentation ([96933ac](https://github.com/TreltaSev/sk-clib/commit/96933acb16ad464271b6ead9bb1e29291fcf1716))
343
+ - **token:** Tokenizer for component classes implemented ([0fb0680](https://github.com/TreltaSev/sk-clib/commit/0fb0680d36eb1bdf1d1c5ea0a91becc467284ed5))
package/README.md CHANGED
@@ -1,58 +1,42 @@
1
- # Svelte library
1
+ # sv
2
2
 
3
- Everything you need to build a Svelte library, powered by [`sv`](https://npmjs.com/package/sv).
4
-
5
- Read more about creating a library [in the docs](https://svelte.dev/docs/kit/packaging).
3
+ Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
6
4
 
7
5
  ## Creating a project
8
6
 
9
7
  If you're seeing this, you've probably already done this step. Congrats!
10
8
 
11
- ```bash
12
- # create a new project in the current directory
13
- npx sv create
14
-
15
- # create a new project in my-app
9
+ ```sh
10
+ # create a new project
16
11
  npx sv create my-app
17
12
  ```
18
13
 
14
+ To recreate this project with the same configuration:
15
+
16
+ ```sh
17
+ # recreate this project
18
+ npx sv@0.15.1 create --template minimal --types ts --add prettier eslint tailwindcss="plugins:none" --no-download-check --install npm .
19
+ ```
20
+
19
21
  ## Developing
20
22
 
21
23
  Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
22
24
 
23
- ```bash
25
+ ```sh
24
26
  npm run dev
25
27
 
26
28
  # or start the server and open the app in a new browser tab
27
29
  npm run dev -- --open
28
30
  ```
29
31
 
30
- Everything inside `src/lib` is part of your library, everything inside `src/routes` can be used as a showcase or preview app.
31
-
32
32
  ## Building
33
33
 
34
- To build your library:
35
-
36
- ```bash
37
- npm run package
38
- ```
39
-
40
- To create a production version of your showcase app:
34
+ To create a production version of your app:
41
35
 
42
- ```bash
36
+ ```sh
43
37
  npm run build
44
38
  ```
45
39
 
46
40
  You can preview the production build with `npm run preview`.
47
41
 
48
42
  > To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
49
-
50
- ## Publishing
51
-
52
- Go into the `package.json` and give your package the desired name through the `"name"` option. Also consider adding a `"license"` field and point it to a `LICENSE` file which you can create from a template (one popular option is the [MIT license](https://opensource.org/license/mit/)).
53
-
54
- To publish your library to [npm](https://www.npmjs.com):
55
-
56
- ```bash
57
- npm publish
58
- ```
@@ -0,0 +1,34 @@
1
+ import prettier from 'eslint-config-prettier';
2
+ import js from '@eslint/js';
3
+ import { includeIgnoreFile } from '@eslint/compat';
4
+ import svelte from 'eslint-plugin-svelte';
5
+ import globals from 'globals';
6
+ import { fileURLToPath } from 'node:url';
7
+ import ts from 'typescript-eslint';
8
+ import svelteConfig from './svelte.config.js';
9
+
10
+ const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url));
11
+
12
+ export default ts.config(
13
+ includeIgnoreFile(gitignorePath),
14
+ js.configs.recommended,
15
+ ...ts.configs.recommended,
16
+ ...svelte.configs.recommended,
17
+ prettier,
18
+ ...svelte.configs.prettier,
19
+ {
20
+ languageOptions: { globals: { ...globals.browser, ...globals.node } },
21
+ rules: { 'no-undef': 'off' }
22
+ },
23
+ {
24
+ files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],
25
+ languageOptions: {
26
+ parserOptions: {
27
+ projectService: true,
28
+ extraFileExtensions: ['.svelte'],
29
+ parser: ts.parser,
30
+ svelteConfig
31
+ }
32
+ }
33
+ }
34
+ );
package/package.json CHANGED
@@ -1,86 +1,43 @@
1
1
  {
2
2
  "name": "sk-clib",
3
- "version": "1.18.2",
4
- "type": "module",
5
- "files": [
6
- "dist",
7
- "!dist/**/*.test.*",
8
- "!dist/**/*.spec.*",
9
- "dist/styles.css"
10
- ],
11
- "exports": {
12
- ".": {
13
- "types": "./dist/index.d.ts",
14
- "svelte": "./dist/index.js"
15
- },
16
- "./ui": {
17
- "types": "./dist/ui/index.d.ts",
18
- "svelte": "./dist/ui/index.js"
19
- },
20
- "./style": {
21
- "default": "./dist/styles.css"
22
- },
23
- "./theme": {
24
- "types": "./dist/theme/index.d.ts",
25
- "svelte": "./dist/theme/index.js",
26
- "default": "./dist/theme/index.js"
27
- }
3
+ "version": "1.18.8",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/TreltaSev/sk-clib"
28
7
  },
29
- "svelte": "./dist/index.js",
30
- "types": "./dist/index.d.ts",
31
- "sideEffects": [
32
- "**/*.css"
33
- ],
8
+ "type": "module",
34
9
  "scripts": {
35
- "build": "svelte-package && npm run css_build",
36
- "webbuild": "vite build",
37
- "prepublishOnly": "npm run build && publint --skip-pack",
38
- "check": "svelte-check --tsconfig ./tsconfig.json",
39
- "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
40
- "format": "prettier --write .",
10
+ "dev": "vite dev",
11
+ "build": "vite build",
12
+ "preview": "vite preview",
13
+ "prepare": "svelte-kit sync || echo ''",
14
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
15
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
41
16
  "lint": "prettier --check . && eslint .",
42
- "css_build": "npx tailwindcss -i ./src/library.css -o ./dist/styles.css"
43
- },
44
- "peerDependencies": {
45
- "@sveltejs/kit": "^2.0.0",
46
- "svelte": "^5.0.0",
47
- "@material/material-color-utilities": "^0.3.0"
17
+ "format": "prettier --write ."
48
18
  },
49
19
  "devDependencies": {
50
- "@iconify-json/mdi": "^1.2.3",
51
- "@sveltejs/kit": "^2.0.0",
52
- "@sveltejs/package": "^2.0.0",
53
- "@sveltejs/vite-plugin-svelte": "^5.0.0",
54
- "eslint": "^9.18.0",
55
- "eslint-config-prettier": "^10.0.1",
56
- "eslint-plugin-svelte": "^3.0.0",
57
- "prettier": "^3.4.2",
58
- "prettier-plugin-svelte": "^3.3.3",
59
- "prettier-plugin-tailwindcss": "^0.6.11",
60
- "publint": "^0.3.12",
61
- "svelte": "^5.0.0",
62
- "svelte-check": "^4.0.0",
63
- "typescript": "^5.0.0",
64
- "unplugin-icons": "^22.1.0",
65
- "vite": "^6.2.6"
66
- },
67
- "keywords": [
68
- "svelte",
69
- "component",
70
- "library"
71
- ],
72
- "dependencies": {
73
- "@material/material-color-utilities": "^0.3.0",
74
- "@semantic-release/changelog": "^6.0.3",
75
- "@semantic-release/git": "^10.0.1",
76
- "@semantic-release/npm": "^12.0.1",
77
- "@sveltejs/adapter-auto": "^6.0.1",
78
- "@sveltejs/adapter-static": "^3.0.8",
79
- "@tailwindcss/cli": "^4.1.5",
80
- "@tailwindcss/vite": "^4.1.7",
81
- "js-cookie": "^3.0.5",
82
- "mdsvex": "^0.12.6",
83
- "semantic-release": "^24.2.4",
84
- "tailwind-merge": "^3.2.0"
20
+ "@eslint/compat": "^2.0.4",
21
+ "@eslint/js": "^10.0.1",
22
+ "@iconify/json": "^2.2.480",
23
+ "@sveltejs/adapter-auto": "^7.0.1",
24
+ "@sveltejs/kit": "^2.57.0",
25
+ "@sveltejs/vite-plugin-svelte": "^7.0.0",
26
+ "@tailwindcss/vite": "^4.2.2",
27
+ "@types/node": "^22",
28
+ "eslint": "^10.2.0",
29
+ "eslint-config-prettier": "^10.1.8",
30
+ "eslint-plugin-svelte": "^3.17.0",
31
+ "globals": "^17.4.0",
32
+ "prettier": "^3.8.1",
33
+ "prettier-plugin-svelte": "^3.5.1",
34
+ "prettier-plugin-tailwindcss": "^0.7.2",
35
+ "svelte": "^5.55.2",
36
+ "svelte-check": "^4.4.6",
37
+ "tailwindcss": "^4.2.2",
38
+ "typescript": "^6.0.2",
39
+ "typescript-eslint": "^8.58.1",
40
+ "unplugin-icons": "^23.0.1",
41
+ "vite": "^8.0.7"
85
42
  }
86
43
  }
@@ -0,0 +1,16 @@
1
+ module.exports = {
2
+ branches: ['main'],
3
+ plugins: [
4
+ '@semantic-release/commit-analyzer',
5
+ '@semantic-release/release-notes-generator',
6
+ '@semantic-release/changelog',
7
+ '@semantic-release/npm',
8
+ [
9
+ '@semantic-release/git',
10
+ {
11
+ assets: ['CHANGELOG.md', 'package.json', 'bun.lock'],
12
+ message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
13
+ },
14
+ ],
15
+ ],
16
+ };
package/src/app.d.ts ADDED
@@ -0,0 +1,13 @@
1
+ // See https://svelte.dev/docs/kit/types#app.d.ts
2
+ // for information about these interfaces
3
+ declare global {
4
+ namespace App {
5
+ // interface Error {}
6
+ // interface Locals {}
7
+ // interface PageData {}
8
+ // interface PageState {}
9
+ // interface Platform {}
10
+ }
11
+ }
12
+
13
+ export {};