react-radix-tooltip 1.0.1 → 1.0.2

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/package.json +6 -2
  2. package/rollup.config.js +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-radix-tooltip",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A streamlined, developer-friendly wrapper for [@radix-ui/react-tooltip](https://www.radix-ui.com). This component simplifies the Radix Tooltip implementation by allowing you to trigger tooltips using a single component and a simplified prop interface.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -24,7 +24,8 @@
24
24
  "peerDependencies": {
25
25
  "@radix-ui/react-tooltip": "^1.2.8",
26
26
  "react": ">=16.8.0",
27
- "react-dom": ">=16.8.0"
27
+ "react-dom": ">=16.8.0",
28
+ "tailwindcss": ">=3.0.0"
28
29
  },
29
30
  "devDependencies": {
30
31
  "@rollup/plugin-commonjs": "^29.0.0",
@@ -34,10 +35,13 @@
34
35
  "@types/node": "^25.2.3",
35
36
  "@types/react": "^19.2.13",
36
37
  "@types/react-dom": "^19.2.3",
38
+ "autoprefixer": "^10.4.27",
39
+ "postcss": "^8.5.8",
37
40
  "react": "^19.2.4",
38
41
  "rollup-plugin-dts": "^6.3.0",
39
42
  "rollup-plugin-peer-deps-external": "^2.2.4",
40
43
  "rollup-plugin-postcss": "^4.0.2",
44
+ "tailwindcss": "^4.2.1",
41
45
  "tslib": "^2.8.1",
42
46
  "typescript": "^5.9.3",
43
47
  "vite": "^7.3.1"
package/rollup.config.js CHANGED
@@ -28,7 +28,10 @@ export default [
28
28
  resolve(),
29
29
  commonjs(),
30
30
  typescript({ tsconfig: './tsconfig.json' }),
31
- postcss(),
31
+ postcss({
32
+ inject: true,
33
+ extract: false,
34
+ }),
32
35
  terser(),
33
36
  ],
34
37
  external: ['react', 'react-dom'],