xedonium 0.3.0 → 0.4.0

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.
@@ -10,4 +10,4 @@ declare function CommandPalette({ open, onClose, commands, placeholder, empty, }
10
10
  commands: any;
11
11
  placeholder?: string;
12
12
  empty?: string;
13
- }): any;
13
+ }): import("react").ReactPortal;
@@ -12,4 +12,4 @@ declare function Drawer({ open, onClose, title, side, width, padded, footer, chi
12
12
  padded?: boolean;
13
13
  footer: any;
14
14
  children: any;
15
- }): any;
15
+ }): import("react").ReactPortal;
@@ -18,4 +18,4 @@ declare function FloatingPanel({ open, anchorRef, placement, gap, matchWidth, pa
18
18
  className?: string;
19
19
  style: any;
20
20
  children: any;
21
- }): any;
21
+ }): import("react").ReactPortal;
@@ -20,4 +20,4 @@ declare function Modal({ open, onClose, title, tone, busy, dismissible, role, de
20
20
  as?: string;
21
21
  footer: any;
22
22
  children: any;
23
- }): any;
23
+ }): import("react").ReactPortal;
@@ -3,4 +3,4 @@ export default Portal;
3
3
  declare function Portal({ children, container }: {
4
4
  children: any;
5
5
  container: any;
6
- }): any;
6
+ }): import("react").ReactPortal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xedonium",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Minimal, theme-aware React + Tailwind UI components extracted from Boot Bridge",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -51,7 +51,10 @@
51
51
  "docs:preview": "vite preview --config docs/vite.config.js",
52
52
  "docs:check": "node scripts/check-docs.mjs",
53
53
  "prepublishOnly": "npm run lint && npm run build",
54
- "format": "prettier --write ."
54
+ "format": "prettier --write .",
55
+ "test": "vitest run",
56
+ "test:watch": "vitest",
57
+ "test:coverage": "vitest run --coverage"
55
58
  },
56
59
  "peerDependencies": {
57
60
  "react": ">=18",
@@ -60,13 +63,18 @@
60
63
  },
61
64
  "devDependencies": {
62
65
  "@eslint/js": "^9",
66
+ "@testing-library/jest-dom": "^7.0.1",
67
+ "@testing-library/react": "^14",
68
+ "@testing-library/user-event": "^14.6.7",
63
69
  "@types/react": "^18.2.0",
64
70
  "@vitejs/plugin-react": "^4.2.1",
71
+ "@vitest/coverage-v8": "^2",
65
72
  "autoprefixer": "^10.4.19",
66
73
  "eslint": "^9",
67
74
  "eslint-plugin-react": "^7.37.5",
68
75
  "eslint-plugin-react-hooks": "^5",
69
76
  "globals": "^17.12.0",
77
+ "happy-dom": "^20.14.5",
70
78
  "postcss": "^8.4.38",
71
79
  "prettier": "^3.9.9",
72
80
  "react": "^18.2.0",
@@ -74,6 +82,7 @@
74
82
  "react-router-dom": "^6",
75
83
  "tailwindcss": "^3.4.3",
76
84
  "typescript": "^5.4.0",
77
- "vite": "^5.2.0"
85
+ "vite": "^5.2.0",
86
+ "vitest": "^2"
78
87
  }
79
88
  }