@stacksjs/components 0.2.10 → 0.2.11

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.
@@ -18,6 +18,7 @@ export declare function useSEO(options: SEOMetaOptions): void;
18
18
  * Generate SEO meta tags as HTML string for server-side rendering
19
19
  */
20
20
  export declare function generateSEOTags(options: SEOMetaOptions): string;
21
+ /* eslint-disable style/max-statements-per-line */
21
22
  /**
22
23
  * SEO and meta tag utilities for STX components
23
24
  */
@@ -28,7 +28,8 @@ export declare function clearErrorHandler(): void;
28
28
  * ```ts
29
29
  * try {
30
30
  * // Component code
31
- * } catch (error) {
31
+ * }
32
+ catch (error) {
32
33
  * handleError(error, { throwError: false })
33
34
  * }
34
35
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/components",
3
3
  "type": "module",
4
- "version": "0.2.10",
4
+ "version": "0.2.11",
5
5
  "description": "A modern component library built with STX, featuring headwind utility classes and TypeScript syntax highlighting.",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",
7
7
  "license": "MIT",
@@ -55,15 +55,15 @@
55
55
  "prepublishOnly": "bun run build"
56
56
  },
57
57
  "dependencies": {
58
- "@cwcss/crosswind": "^0.1.3",
59
- "@stacksjs/stx": "0.2.10",
60
- "bun-plugin-stx": "0.2.10",
58
+ "@cwcss/crosswind": "^0.2.0",
59
+ "@stacksjs/stx": "0.2.11",
60
+ "bun-plugin-stx": "0.2.11",
61
61
  "ts-syntax-highlighter": "^0.2.1"
62
62
  },
63
63
  "devDependencies": {
64
- "@types/bun": "^1.3.9",
65
- "bun-plugin-dtsx": "^0.9.9",
64
+ "@types/bun": "^1.3.11",
65
+ "bun-plugin-dtsx": "^0.21.17",
66
66
  "pickier": "^0.1.20",
67
- "typescript": "^5.9.3"
67
+ "typescript": "^6.0.2"
68
68
  }
69
69
  }
@@ -1,3 +1,4 @@
1
+ /* eslint-disable style/max-statements-per-line */
1
2
  /**
2
3
  * SEO and meta tag utilities for STX components
3
4
  */
@@ -271,7 +271,8 @@ export function clearErrorHandler(): void {
271
271
  * ```ts
272
272
  * try {
273
273
  * // Component code
274
- * } catch (error) {
274
+ * }
275
+ catch (error) {
275
276
  * handleError(error, { throwError: false })
276
277
  * }
277
278
  * ```
@@ -293,7 +294,9 @@ export function handleError(
293
294
 
294
295
  if (error instanceof ComponentError) {
295
296
  console.group('Error Details')
297
+ // eslint-disable-next-line no-console
296
298
  console.log('Component:', error.component)
299
+ // eslint-disable-next-line no-console
297
300
  console.log('Context:', error.context)
298
301
  console.groupEnd()
299
302
  }
@@ -189,6 +189,7 @@ export function createKeepAlive(options: KeepAliveOptions = {}): KeepAlive {
189
189
  */
190
190
  function log(...args: any[]): void {
191
191
  if (debug) {
192
+ // eslint-disable-next-line no-console
192
193
  console.log('[KeepAlive]', ...args)
193
194
  }
194
195
  }