@krosoft/react 0.0.11 → 0.0.13
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/dist/components/core/index.d.ts +2 -0
- package/dist/components/core/index.d.ts.map +1 -0
- package/dist/components/core/states/ErrorState.d.ts +6 -0
- package/dist/components/core/states/ErrorState.d.ts.map +1 -0
- package/dist/components/core/states/index.d.ts +2 -0
- package/dist/components/core/states/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/ui/alert.d.ts +9 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +4 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/components/ui/index.js +79 -0
- package/dist/helpers/index.js +4 -2
- package/dist/hooks/index.js +1 -2
- package/dist/index-DxGGCUCL.js +2278 -0
- package/package.json +36 -8
- package/dist/helpers/index.js.map +0 -1
- package/dist/helpers/tailwind.helper.js +0 -6
- package/dist/helpers/tailwind.helper.js.map +0 -1
- package/dist/hooks/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krosoft/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "Krosoft shared React package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"build": "tsc -p tsconfig.build.json",
|
|
7
|
+
"build": "vite build && tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
8
8
|
"lint": "eslint .",
|
|
9
9
|
"format": "prettier --write './**/*.{js,jsx,ts,tsx,css,md,json}'",
|
|
10
10
|
"type-check": "tsc --noEmit",
|
|
11
|
-
"test": "vitest run"
|
|
11
|
+
"test": "vitest run",
|
|
12
|
+
"storybook:dev": "storybook dev -p 6006",
|
|
13
|
+
"storybook:build": "storybook build"
|
|
12
14
|
},
|
|
13
15
|
"repository": {
|
|
14
16
|
"type": "git",
|
|
@@ -28,24 +30,50 @@
|
|
|
28
30
|
"./hooks": {
|
|
29
31
|
"import": "./dist/hooks/index.js",
|
|
30
32
|
"types": "./dist/hooks/index.d.ts"
|
|
33
|
+
},
|
|
34
|
+
"./components": {
|
|
35
|
+
"import": "./dist/components/index.js",
|
|
36
|
+
"types": "./dist/components/index.d.ts"
|
|
37
|
+
},
|
|
38
|
+
"./components/core": {
|
|
39
|
+
"import": "./dist/components/core/index.js",
|
|
40
|
+
"types": "./dist/components/core/index.d.ts"
|
|
41
|
+
},
|
|
42
|
+
"./components/core/states": {
|
|
43
|
+
"import": "./dist/components/core/states/index.js",
|
|
44
|
+
"types": "./dist/components/core/states/index.d.ts"
|
|
45
|
+
},
|
|
46
|
+
"./components/ui": {
|
|
47
|
+
"import": "./dist/components/ui/index.js",
|
|
48
|
+
"types": "./dist/components/ui/index.d.ts"
|
|
31
49
|
}
|
|
32
50
|
},
|
|
33
51
|
"peerDependencies": {
|
|
34
52
|
"react": ">=18.3.1"
|
|
35
53
|
},
|
|
36
54
|
"dependencies": {
|
|
55
|
+
"class-variance-authority": "^0.7.1",
|
|
37
56
|
"clsx": "^2.1.1",
|
|
38
57
|
"tailwind-merge": "^2.6.1"
|
|
39
58
|
},
|
|
40
59
|
"devDependencies": {
|
|
41
|
-
"@krosoft/tooling-eslint-react": "
|
|
42
|
-
"@krosoft/tooling-prettier": "
|
|
43
|
-
"@krosoft/tooling-tsconfig-react": "
|
|
60
|
+
"@krosoft/tooling-eslint-react": "^0.0.2",
|
|
61
|
+
"@krosoft/tooling-prettier": "^0.0.6",
|
|
62
|
+
"@krosoft/tooling-tsconfig-react": "^0.0.5",
|
|
63
|
+
"@storybook/addon-essentials": "^8.6.18",
|
|
64
|
+
"@storybook/react": "^8.6.18",
|
|
65
|
+
"@storybook/react-vite": "^8.6.18",
|
|
66
|
+
"@tailwindcss/vite": "^4.2.2",
|
|
67
|
+
"@types/node": "^25.5.0",
|
|
68
|
+
"@types/react": "^18.3.28",
|
|
69
|
+
"jsdom": "^26.1.0",
|
|
44
70
|
"prettier": "^3.8.1",
|
|
45
71
|
"react": "^18.3.1",
|
|
46
|
-
"
|
|
72
|
+
"react-dom": "^18.3.1",
|
|
73
|
+
"storybook": "^8.6.18",
|
|
74
|
+
"tailwindcss": "^4.2.2",
|
|
47
75
|
"typescript": "^5.9.3",
|
|
48
|
-
"
|
|
76
|
+
"vite": "^6.4.1",
|
|
49
77
|
"vitest": "^4.1.2"
|
|
50
78
|
}
|
|
51
79
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tailwind.helper.js","sourceRoot":"","sources":["../../src/helpers/tailwind.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,MAAM,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,MAAM,UAAU,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/B,CAAC"}
|
package/dist/hooks/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":""}
|