@avento-space/ts-ui 1.2.2 → 1.2.4

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.
@@ -0,0 +1,11 @@
1
+ import { U as UElement } from './element-DHtonJNX.js';
2
+
3
+ interface SlotProps {
4
+ class?: string;
5
+ }
6
+ declare class USlot extends UElement {
7
+ constructor();
8
+ _mount(): void;
9
+ }
10
+
11
+ export { type SlotProps as S, USlot as U };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avento-space/ts-ui",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "Framework-agnostic Web Components UI library with signals. Drop-in UI for React, Vue, Angular — zero adapters needed.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -77,15 +77,16 @@
77
77
  "scripts": {
78
78
  "build": "tsup",
79
79
  "build:tsc": "rimraf dist && tsc",
80
- "build:icons": "node scripts/build-icons.mjs && node scripts/generate-react-icons.mjs",
80
+ "build:icons": "node scripts/build-icons.mjs && node scripts/generate-react-icons.mjs && node scripts/validate-icons.mjs",
81
81
  "build:react-icons": "node scripts/generate-react-icons.mjs",
82
82
  "build:check": "npm run build:icons && npm run typecheck",
83
+ "validate:icons": "node scripts/validate-icons.mjs",
83
84
  "prepare": "npm run build",
84
85
  "prepublishOnly": "npm run build",
85
86
  "test": "vitest run",
86
87
  "test:watch": "vitest",
87
88
  "test:coverage": "vitest run --coverage",
88
- "lint": "eslint src/ --ext .ts,.tsx",
89
+ "lint": "eslint src/ --ext .ts,.tsx && node scripts/validate-icons.mjs",
89
90
  "lint:fix": "eslint src/ --ext .ts,.tsx --fix",
90
91
  "format": "prettier --check \"src/**/*.ts\"",
91
92
  "format:fix": "prettier --write \"src/**/*.ts\"",
@@ -95,6 +96,7 @@
95
96
  "demo:build": "pnpm --dir demo build"
96
97
  },
97
98
  "devDependencies": {
99
+ "@resvg/resvg-js": "^2.6.2",
98
100
  "@types/react": "^19.2.17",
99
101
  "@typescript-eslint/eslint-plugin": "^8.62.1",
100
102
  "@typescript-eslint/parser": "^8.62.1",
@@ -102,9 +104,11 @@
102
104
  "eslint-config-prettier": "^10.1.8",
103
105
  "eslint-plugin-prettier": "^5.5.6",
104
106
  "happy-dom": "^20.10.6",
107
+ "pixelmatch": "^7.2.0",
105
108
  "prettier": "^3.9.4",
106
109
  "react": "^19.2.7",
107
110
  "rimraf": "^6.1.3",
111
+ "svgo": "^4.0.1",
108
112
  "tsup": "^8.5.1",
109
113
  "typescript": "^5.9.3",
110
114
  "vitest": "^4.1.9"