Skip to content

Commit 8c2962c

Browse files
committed
corrected Tooltip issue
1 parent 4168031 commit 8c2962c

19 files changed

Lines changed: 1325 additions & 1111 deletions

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,8 @@ jobs:
5050
- name: Build storybook
5151
run: pnpm storybook:build
5252

53+
- name: Publish storybook
54+
run: pnpm deploy-storybook
55+
5356
- name: Build package
5457
run: pnpm build

.storybook/main.ts

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
import type { StorybookConfig } from "@storybook/react-webpack5";
22
const config: StorybookConfig = {
3-
stories: ["../src/**/*.stories.@(js|jsx|ts|tsx|mdx)"],
3+
stories: ["../src/**/*.stories.@(js|jsx|ts|tsx|mdx)"],
44

5-
addons: [
6-
"@storybook/addon-a11y",
7-
"@storybook/addon-links",
8-
"@storybook/addon-webpack5-compiler-swc",
9-
"@storybook/addon-themes",
10-
"@storybook/addon-docs"
11-
],
5+
addons: [
6+
"@storybook/addon-a11y",
7+
"@storybook/addon-links",
8+
"@storybook/addon-webpack5-compiler-swc",
9+
"@storybook/addon-themes",
10+
"@storybook/addon-docs",
11+
],
1212

13-
framework: {
14-
name: "@storybook/react-webpack5",
15-
options: {
16-
builder: {
17-
useSWC: true,
18-
},
19-
},
20-
},
13+
framework: {
14+
name: "@storybook/react-webpack5",
15+
options: {
16+
builder: {
17+
useSWC: true,
18+
},
19+
},
20+
},
2121

22-
swc: () => ({
23-
jsc: {
24-
transform: {
25-
react: {
26-
runtime: "automatic",
27-
},
28-
},
29-
},
30-
})
22+
swc: () => ({
23+
jsc: {
24+
transform: {
25+
react: {
26+
runtime: "automatic",
27+
},
28+
},
29+
},
30+
}),
3131
};
3232
export default config;

.vscode/settings.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"files.exclude": {
3-
"**/.git": true,
4-
"**/.svn": true,
5-
"**/.hg": true,
6-
"**/.DS_Store": true,
7-
"**/Thumbs.db": true,
8-
"**/node_modules": true
9-
}
10-
}
2+
"files.exclude": {
3+
"**/.git": true,
4+
"**/.svn": true,
5+
"**/.hg": true,
6+
"**/.DS_Store": true,
7+
"**/Thumbs.db": true,
8+
"**/node_modules": true
9+
}
10+
}

package.json

Lines changed: 111 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -1,121 +1,112 @@
11
{
2-
"name": "react-odontogram",
3-
"description": "dental chart for selecting teeth",
4-
"version": "0.5.3",
5-
"author": "Pratik Sharma <sharma.pratik2016@gmail.com>",
6-
"license": "MIT",
7-
"keywords": [
8-
"odontogram",
9-
"react",
10-
"dental-chart"
11-
],
12-
"publishConfig": {
13-
"access": "public"
14-
},
15-
"repository": {
16-
"type": "git",
17-
"url": ""
18-
},
19-
"scripts": {
20-
"dev": "concurrently \"pnpm build --watch\" \"pnpm storybook\" \"pnpm test\" ",
21-
"build": "tsup",
22-
"lint": "biome check --write --unsafe .",
23-
"lint:ci": "biome check --unsafe .",
24-
"test": "vitest",
25-
"test:ci": "vitest run --coverage",
26-
"commit": "cz",
27-
"storybook": "storybook dev -p 6006",
28-
"storybook:build": "storybook build",
29-
"release": "pnpm build && pnpm release-it",
30-
"link:self": "pnpm link --global",
31-
"prepare": "lefthook install",
32-
"deploy-storybook": "gh-pages -d storybook-static",
33-
"test:coverage": "vitest run --coverage"
34-
},
35-
"types": "./dist/index.d.ts",
36-
"exports": {
37-
".": {
38-
"types": "./dist/index.d.ts",
39-
"require": "./dist/index.js",
40-
"import": "./dist/index.mjs",
41-
"default": "./dist/index.mjs"
42-
},
43-
"./style.css": "./dist/index.css"
44-
},
45-
"sideEffects": [
46-
"*.css",
47-
"**/*.css"
48-
],
49-
"files": [
50-
"dist"
51-
],
52-
"config": {
53-
"commitizen": {
54-
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
55-
}
56-
},
57-
"release-it": {
58-
"git": {
59-
"commitMessage": "chore(release): v${version}"
60-
},
61-
"github": {
62-
"release": true
63-
},
64-
"npm": {
65-
"publish": false
66-
}
67-
},
68-
"engines": {
69-
"node": ">=18.0.0"
70-
},
71-
"devDependencies": {
72-
"@biomejs/biome": "1.9.4",
73-
"@ryansonshine/commitizen": "4.2.8",
74-
"@ryansonshine/cz-conventional-changelog": "3.3.4",
75-
"@storybook/addon-a11y": "^10.2.10",
76-
"@storybook/addon-links": "10.2.10",
77-
"@storybook/addon-themes": "^10.2.10",
78-
"@storybook/addon-webpack5-compiler-swc": "4.0.2",
79-
"@storybook/react-webpack5": "10.2.10",
80-
"@testing-library/jest-dom": "6.6.3",
81-
"@testing-library/react": "16.2.0",
82-
"@types/node": "22.13.11",
83-
"@types/react": "18.3.13",
84-
"@types/react-dom": "18.3.1",
85-
"@types/react-test-renderer": "18.3.0",
86-
"@vitest/coverage-v8": "3.0.9",
87-
"concurrently": "9.1.2",
88-
"dotenv": "^16.4.7",
89-
"gh-pages": "^6.3.0",
90-
"jsdom": "26.0.0",
91-
"lefthook": "1.11.3",
92-
"prop-types": "15.8.1",
93-
"react": "18.3.1",
94-
"react-dom": "18.3.1",
95-
"react-test-renderer": "18.3.1",
96-
"release-it": "18.1.2",
97-
"storybook": "10.2.10",
98-
"ts-node": "10.9.2",
99-
"tsconfig-paths": "4.2.0",
100-
"tsup": "8.4.0",
101-
"tsx": "4.19.3",
102-
"typescript": "5.8.2",
103-
"vitest": "3.0.9",
104-
"@storybook/addon-docs": "10.2.10"
105-
},
106-
"peerDependencies": {
107-
"react": ">=17",
108-
"react-dom": ">=17"
109-
},
110-
"pnpm": {
111-
"overrides": {
112-
"micromatch@<4.0.8": ">=4.0.8"
113-
},
114-
"onlyBuiltDependencies": [
115-
"@biomejs/biome",
116-
"@swc/core",
117-
"esbuild",
118-
"lefthook"
119-
]
120-
}
121-
}
2+
"name": "react-odontogram",
3+
"description": "dental chart for selecting teeth",
4+
"version": "0.5.3",
5+
"author": "Pratik Sharma <sharma.pratik2016@gmail.com>",
6+
"license": "MIT",
7+
"keywords": ["odontogram", "react", "dental-chart"],
8+
"publishConfig": {
9+
"access": "public"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": ""
14+
},
15+
"scripts": {
16+
"dev": "concurrently \"pnpm build --watch\" \"pnpm storybook\" \"pnpm test\" ",
17+
"build": "tsup",
18+
"lint": "biome check --write --unsafe .",
19+
"lint:ci": "biome check --unsafe .",
20+
"test": "vitest",
21+
"test:ci": "vitest run --coverage",
22+
"commit": "cz",
23+
"storybook": "storybook dev -p 6006",
24+
"storybook:build": "storybook build",
25+
"release": "pnpm build && pnpm release-it",
26+
"link:self": "pnpm link --global",
27+
"prepare": "lefthook install",
28+
"deploy-storybook": "gh-pages -d storybook-static",
29+
"test:coverage": "vitest run --coverage"
30+
},
31+
"types": "./dist/index.d.ts",
32+
"exports": {
33+
".": {
34+
"types": "./dist/index.d.ts",
35+
"require": "./dist/index.js",
36+
"import": "./dist/index.mjs",
37+
"default": "./dist/index.mjs"
38+
},
39+
"./style.css": "./dist/index.css"
40+
},
41+
"sideEffects": ["*.css", "**/*.css"],
42+
"files": ["dist"],
43+
"config": {
44+
"commitizen": {
45+
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
46+
}
47+
},
48+
"release-it": {
49+
"git": {
50+
"commitMessage": "chore(release): v${version}"
51+
},
52+
"github": {
53+
"release": true
54+
},
55+
"npm": {
56+
"publish": false
57+
}
58+
},
59+
"engines": {
60+
"node": ">=18.0.0"
61+
},
62+
"devDependencies": {
63+
"@biomejs/biome": "1.9.4",
64+
"@ryansonshine/commitizen": "4.2.8",
65+
"@ryansonshine/cz-conventional-changelog": "3.3.4",
66+
"@storybook/addon-a11y": "^10.2.10",
67+
"@storybook/addon-links": "10.2.10",
68+
"@storybook/addon-themes": "^10.2.10",
69+
"@storybook/addon-webpack5-compiler-swc": "4.0.2",
70+
"@storybook/react-webpack5": "10.2.10",
71+
"@testing-library/jest-dom": "6.6.3",
72+
"@testing-library/react": "16.2.0",
73+
"@types/node": "22.13.11",
74+
"@types/react": "18.3.13",
75+
"@types/react-dom": "18.3.1",
76+
"@types/react-test-renderer": "18.3.0",
77+
"@vitest/coverage-v8": "3.0.9",
78+
"concurrently": "9.1.2",
79+
"dotenv": "^16.4.7",
80+
"gh-pages": "^6.3.0",
81+
"jsdom": "26.0.0",
82+
"lefthook": "1.11.3",
83+
"prop-types": "15.8.1",
84+
"react": "18.3.1",
85+
"react-dom": "18.3.1",
86+
"react-test-renderer": "18.3.1",
87+
"release-it": "18.1.2",
88+
"storybook": "10.2.10",
89+
"ts-node": "10.9.2",
90+
"tsconfig-paths": "4.2.0",
91+
"tsup": "8.4.0",
92+
"tsx": "4.19.3",
93+
"typescript": "5.8.2",
94+
"vitest": "3.0.9",
95+
"@storybook/addon-docs": "10.2.10"
96+
},
97+
"peerDependencies": {
98+
"react": ">=17",
99+
"react-dom": ">=17"
100+
},
101+
"pnpm": {
102+
"overrides": {
103+
"micromatch@<4.0.8": ">=4.0.8"
104+
},
105+
"onlyBuiltDependencies": [
106+
"@biomejs/biome",
107+
"@swc/core",
108+
"esbuild",
109+
"lefthook"
110+
]
111+
}
112+
}

0 commit comments

Comments
 (0)