@kolking/react-ui 1.8.20 → 1.9.1
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/Thumbnails-BlXFynlF.js +38 -0
- package/dist/components/Avatar/Avatar.js +15 -15
- package/dist/components/Avatar/helpers.js +15 -16
- package/dist/components/Badge/Badge.js +28 -29
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Dialog/Dialog.js +44 -44
- package/dist/components/Dialog/useDialog.d.ts +9 -6
- package/dist/components/Dialog/useDialog.js +20 -28
- package/dist/components/Fields/Checkbox.js +15 -15
- package/dist/components/Fields/Numeric.js +34 -36
- package/dist/components/Fields/Range.d.ts +1 -1
- package/dist/components/Fields/Range.js +33 -33
- package/dist/components/Flex/Flex.d.ts +1 -1
- package/dist/components/Gallery/Gallery.d.ts +11 -0
- package/dist/components/Gallery/Gallery.js +49 -0
- package/dist/components/Gallery/GalleryItem.d.ts +12 -0
- package/dist/components/Gallery/GalleryItem.js +41 -0
- package/dist/components/Gallery/index.d.ts +2 -0
- package/dist/components/Gallery/index.js +6 -0
- package/dist/components/Icon/Icon.js +125 -122
- package/dist/components/Icon/icons.d.ts +1 -1
- package/dist/components/Icon/icons.js +4 -0
- package/dist/components/Lightbox/Lightbox.d.ts +12 -0
- package/dist/components/Lightbox/Lightbox.js +166 -0
- package/dist/components/Lightbox/Thumbnail.d.ts +7 -0
- package/dist/components/Lightbox/Thumbnail.js +26 -0
- package/dist/components/Lightbox/Thumbnails.d.ts +11 -0
- package/dist/components/Lightbox/Thumbnails.js +8 -0
- package/dist/components/Lightbox/index.d.ts +1 -0
- package/dist/components/Lightbox/index.js +4 -0
- package/dist/components/Menu/Menu.js +44 -45
- package/dist/components/Menu/MenuItem.js +33 -33
- package/dist/components/Notice/Notice.js +58 -43
- package/dist/components/Popover/Popover.js +40 -41
- package/dist/components/Progress/ProgressBar.js +14 -14
- package/dist/components/Progress/ProgressCircular.js +15 -15
- package/dist/components/Segmented/Segmented.js +43 -47
- package/dist/components/Tag/Tag.d.ts +1 -1
- package/dist/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/components/ToggleButton/ToggleGroup.js +42 -40
- package/dist/components/Tooltip/Tooltip.js +30 -31
- package/dist/index.d.ts +3 -1
- package/dist/index.js +71 -63
- package/dist/styles/style.css +1 -1
- package/dist/styles.module-D0C-vMZX.js +7 -0
- package/dist/utils/helpers.d.ts +3 -1
- package/dist/utils/helpers.js +30 -19
- package/package.json +41 -32
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolking/react-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"description": "React component library for building user interfaces",
|
|
5
5
|
"author": "Nick Seryakov (https://github.com/kolking)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,8 +30,11 @@
|
|
|
30
30
|
"dist": "yarn build && VITE_DIST='true' vite",
|
|
31
31
|
"build": "tsc -b ./tsconfig.lib.json && vite -c ./vite.config.lib.ts build",
|
|
32
32
|
"lint": "eslint .",
|
|
33
|
+
"test": "vitest --coverage",
|
|
34
|
+
"test-all": "yarn test run",
|
|
33
35
|
"preview": "vite preview",
|
|
34
|
-
"validate": "yarn tsc && yarn lint --fix",
|
|
36
|
+
"validate": "yarn tsc -b && yarn lint --fix && yarn test-all -u",
|
|
37
|
+
"validate-ci": "yarn tsc -b && yarn lint && yarn test-all",
|
|
35
38
|
"prepublishOnly": "yarn build"
|
|
36
39
|
},
|
|
37
40
|
"peerDependencies": {
|
|
@@ -39,40 +42,46 @@
|
|
|
39
42
|
"react-dom": ">=18.0.0"
|
|
40
43
|
},
|
|
41
44
|
"dependencies": {
|
|
42
|
-
"@floating-ui/react": "^0.27.
|
|
45
|
+
"@floating-ui/react": "^0.27.16",
|
|
43
46
|
"classnames": "^2.5.1",
|
|
44
47
|
"js-md5": "^0.8.3",
|
|
45
|
-
"react-textarea-autosize": "^8.5.
|
|
48
|
+
"react-textarea-autosize": "^8.5.9"
|
|
46
49
|
},
|
|
47
50
|
"devDependencies": {
|
|
48
|
-
"@eslint/js": "^9.
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
51
|
+
"@eslint/js": "^9.39.2",
|
|
52
|
+
"@testing-library/dom": "^10.4.1",
|
|
53
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
54
|
+
"@testing-library/react": "^16.3.2",
|
|
55
|
+
"@testing-library/user-event": "^14.6.1",
|
|
56
|
+
"@types/node": "^22.19.3",
|
|
57
|
+
"@types/react": "^19.2.3",
|
|
58
|
+
"@types/react-dom": "^19.2.3",
|
|
59
|
+
"@vitejs/plugin-react": "^5.1.2",
|
|
60
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
61
|
+
"autoprefixer": "^10.4.23",
|
|
62
|
+
"eslint": "^9.39.2",
|
|
63
|
+
"eslint-config-prettier": "^10.1.8",
|
|
64
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
65
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
66
|
+
"eslint-plugin-react-refresh": "^0.4.25",
|
|
67
|
+
"glob": "^13.0.0",
|
|
68
|
+
"globals": "^16.5.0",
|
|
69
|
+
"jsdom": "^27.4.0",
|
|
70
|
+
"postcss": "^8.5.6",
|
|
71
|
+
"postcss-prefixwrap": "^1.57.2",
|
|
72
|
+
"prettier": "^3.7.4",
|
|
73
|
+
"react": "^19.2.3",
|
|
74
|
+
"react-dom": "^19.2.3",
|
|
75
|
+
"react-router-dom": "^7.10.1",
|
|
76
|
+
"sass": "1.94.3",
|
|
77
|
+
"typescript": "^5.9.3",
|
|
78
|
+
"typescript-eslint": "^8.49.0",
|
|
79
|
+
"unplugin-dts": "^1.0.0-beta.6",
|
|
80
|
+
"vite": "^7.3.0",
|
|
81
|
+
"vite-plugin-static-copy": "^3.1.4",
|
|
82
|
+
"vite-plugin-svgr": "^4.5.0",
|
|
83
|
+
"vite-plugin-watch-and-run": "^1.7.5",
|
|
84
|
+
"vitest": "^4.0.18"
|
|
76
85
|
},
|
|
77
86
|
"publishConfig": {
|
|
78
87
|
"registry": "https://registry.npmjs.org/",
|