@redhq/ui 1.25.0 → 1.26.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -0
  2. package/package.json +11 -7
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+
3
+ interface CoverProps {
4
+ children?: React.ReactNode;
5
+ className?: string;
6
+ }
7
+
8
+ export const Cover: React.FC<CoverProps>;
package/package.json CHANGED
@@ -1,13 +1,16 @@
1
1
  {
2
2
  "name": "@redhq/ui",
3
- "version": "1.25.0",
3
+ "version": "1.26.0",
4
4
  "private": false,
5
+ "description": "A Storybook project for UI components",
5
6
  "type": "module",
6
7
  "main": "dist/index.cjs.js",
7
8
  "module": "dist/index.es.js",
9
+ "types": "dist/index.d.ts",
8
10
  "style": "dist/style.css",
9
11
  "exports": {
10
12
  ".": {
13
+ "types": "./dist/index.d.ts",
11
14
  "import": "./dist/index.es.js",
12
15
  "require": "./dist/index.cjs.js"
13
16
  },
@@ -16,10 +19,10 @@
16
19
  "files": [
17
20
  "dist"
18
21
  ],
19
- "description": "A Storybook project for UI components",
22
+ "sideEffects": false,
20
23
  "scripts": {
21
24
  "dev": "vite",
22
- "build": "vite build",
25
+ "build": "vite build && shx cp src/index.d.ts dist/index.d.ts",
23
26
  "lint": "eslint .",
24
27
  "preview": "vite preview",
25
28
  "storybook": "storybook dev -p 6006",
@@ -41,16 +44,16 @@
41
44
  "url": "git+https://marns0501@bitbucket.org/redhq-dev/storybook.git"
42
45
  },
43
46
  "peerDependencies": {
47
+ "@react-pdf/renderer": "^4.3.2",
44
48
  "react": ">=18",
45
- "react-dom": ">=18"
49
+ "react-dom": ">=18",
50
+ "tailwindcss": "^4.1.17"
46
51
  },
47
52
  "dependencies": {
48
- "@react-pdf/renderer": "^4.3.2",
49
53
  "clsx": "^2.1.1",
50
54
  "lucide-react": "^0.562.0",
51
55
  "swiper": "^12.0.3",
52
- "tailwind-merge": "^3.4.0",
53
- "tailwindcss": "^4.1.17"
56
+ "tailwind-merge": "^3.4.0"
54
57
  },
55
58
  "devDependencies": {
56
59
  "@chromatic-com/storybook": "^4.1.3",
@@ -72,6 +75,7 @@
72
75
  "globals": "^16.5.0",
73
76
  "playwright": "^1.57.0",
74
77
  "prop-types": "^15.8.1",
78
+ "shx": "^0.4.0",
75
79
  "storybook": "^10.1.0",
76
80
  "tailwindcss": "^4.1.17",
77
81
  "vite": "^7.2.4",