woby-tooltip 1.0.11 → 1.0.12

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "woby-tooltip",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "A powerful tooltip and menu component library for woby.",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",
@@ -15,16 +15,17 @@
15
15
  ],
16
16
  "license": "MIT",
17
17
  "peerDependencies": {
18
- "use-woby": "0.0.17",
19
- "woby": "0.58.7",
20
- "woby-styled": "1.0.14"
18
+ "use-woby": "0.0.18../use-woby",
19
+ "woby": "0.58.5../woby",
20
+ "woby-styled": "1.0.14../woby-styled"
21
21
  },
22
22
  "devDependencies": {
23
- "concurrently": "^9.1.0",
24
- "puppeteer": "^23.11.1",
23
+ "concurrently": "^9.1.2",
24
+ "puppeteer": "^24.2.0",
25
25
  "style-loader": "^4.0.0",
26
- "tailwindcss": "^3.4.17",
27
- "vite": "^6.0.5",
26
+ "tailwindcss": "^4.0.17",
27
+ "@tailwindcss/vite": "^4.0.6",
28
+ "vite": "^6.1.0",
28
29
  "vite-plugin-tsconfig": "^1.0.5"
29
30
  },
30
31
  "author": "Chi Chong <wongchichong@gmail.com>",
@@ -34,23 +35,22 @@
34
35
  "url": "git@github.com:wongchichong/woby-tooltip.git"
35
36
  },
36
37
  "dependencies": {
37
- "typescript": "5.7.2"
38
+ "typescript": "5.7.3"
38
39
  },
39
40
  "scripts": {
40
41
  "git": "git add . && git commit -m \"Bump version\" && git push",
41
42
  "bump": "pnpm version patch",
42
43
  "npmjs": "pnpm publish",
43
44
  "release": "run-s -c git bump npmjs",
44
- "css:watch": "tailwindcss -i ./src/input.css -o ./dist/output.css --watch",
45
- "css": "tailwindcss -i ./src/input.css -o ./dist/output.css",
45
+ "css11": "tailwindcss -i ./src/input.css -o ./dist/output.css",
46
46
  "declaration": "tsc --build --force --declaration --emitDeclarationOnly --declarationMap --verbose",
47
47
  "declaration:watch": "tsc --build --force --declaration --emitDeclarationOnly --declarationMap --verbose --watch",
48
- "watch": "run-p build:watch css:watch",
49
- "build": "run-s css build:vite css declaration",
48
+ "watch": "run-p build:watch",
49
+ "build": "run-s build:vite declaration",
50
50
  "build:web": "vite build --config=vite.config.web.mts --mode production",
51
- "web": "vite preview --config=vite.config.web.mts --host",
51
+ "dev": "vite preview --config=vite.config.web.mts --host",
52
52
  "dev:only": "vite --config=vite.config.web.mts --force --mode dev --host",
53
- "dev": "run-p css:watch dev:only",
53
+ "dev1": "run-p dev:only",
54
54
  "build:vite": "vite build",
55
55
  "build:watch": "vite build --watch",
56
56
  "preview": "vite preview --host",
@@ -1 +1 @@
1
- {"root":["./src/tooltip.tsx","./src/index.tsx","./src/docs/index.tsx"],"version":"5.7.2"}
1
+ {"root":["./src/tooltip.tsx","./src/index.tsx","./src/docs/index.tsx"],"version":"5.7.3"}
package/vite.config.mts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { defineConfig } from 'vite'
2
+ import tailwindcss from '@tailwindcss/vite'
2
3
  import path from 'path'
3
4
  // import dts from 'vite-plugin-dts'
4
5
 
@@ -27,6 +28,7 @@ const config = defineConfig({
27
28
  },
28
29
  plugins: [
29
30
  // dts({ entryRoot: './src/lib', outputDir: './dist/types' })
31
+ tailwindcss(),
30
32
  ],
31
33
  resolve: {
32
34
  alias: {
@@ -1,4 +1,5 @@
1
1
  import { defineConfig } from 'vite'
2
+ import tailwindcss from '@tailwindcss/vite'
2
3
  import path from 'path'
3
4
  import tsconfig from 'vite-plugin-tsconfig'
4
5
 
@@ -21,7 +22,8 @@ const config = defineConfig({
21
22
  },
22
23
  plugins: [
23
24
  // dts({ entryRoot: './src', outputDir: './dist/types' })
24
- tsconfig({ filename: 'tsconfig.web.json' })
25
+ tsconfig({ filename: 'tsconfig.web.json' }),
26
+ tailwindcss(),
25
27
  ],
26
28
  resolve: {
27
29
  alias: {