mimir-ui-kit 1.33.0 → 1.33.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/components/Drawer/Drawer.d.ts +1 -1
- package/dist/icons/Icon.js +1 -1
- package/package.json +10 -2
- package/dist/components/Avatar/types.js +0 -1
- package/dist/components/Button/types.js +0 -1
- package/dist/components/GosZnak/types.js +0 -1
- package/dist/components/Input/types.js +0 -1
- package/dist/components/InputRangeSlider/types.js +0 -1
- package/dist/components/NotificationBadge/types.js +0 -1
- package/dist/components/Pagination/types.js +0 -1
- package/dist/components/SelectSearch/types.js +0 -1
- package/dist/components/Steps/types.js +0 -1
- package/dist/components/Switcher/types.js +0 -1
- package/dist/components/Tag/types.js +0 -1
- package/dist/components/TextArea/types.js +0 -1
- package/dist/components/Toasts/types.js +0 -1
- package/dist/components/UniversalUploader/types.js +0 -1
- package/dist/components/Vote/types.js +0 -1
- package/dist/icons/components/types.js +0 -1
package/dist/icons/Icon.js
CHANGED
|
@@ -6,7 +6,7 @@ const Icon = ({ iconName, ...props }) => {
|
|
|
6
6
|
if (!Component) {
|
|
7
7
|
return null;
|
|
8
8
|
}
|
|
9
|
-
return /* @__PURE__ */ jsx(Suspense, { fallback: null, children: /* @__PURE__ */ jsx(Component, { ...props }) });
|
|
9
|
+
return /* @__PURE__ */ jsx(Suspense, { fallback: null, children: /* @__PURE__ */ jsx(Component, { ...props, "data-testid": iconName }) });
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
12
|
Icon
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mimir-ui-kit",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.33.
|
|
4
|
+
"version": "1.33.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -37,6 +37,10 @@
|
|
|
37
37
|
"storybook": "storybook dev -p 6006",
|
|
38
38
|
"build-storybook": "storybook build",
|
|
39
39
|
"ts:check": "tsc -b",
|
|
40
|
+
"test": "vitest",
|
|
41
|
+
"test:watch": "vitest --watch",
|
|
42
|
+
"test:ui": "vitest --ui",
|
|
43
|
+
"test:coverage": "vitest --coverage",
|
|
40
44
|
"lint:fix": "eslint . --ext ts,tsx --fix",
|
|
41
45
|
"lint:prettier": "npx prettier . --write",
|
|
42
46
|
"lint:stylelint": "stylelint '**/*.module{.css,.scss}'",
|
|
@@ -62,6 +66,8 @@
|
|
|
62
66
|
"@svgr/cli": "^8.1.0",
|
|
63
67
|
"@svgr/core": "^8.1.0",
|
|
64
68
|
"@svgr/plugin-svgo": "^8.1.0",
|
|
69
|
+
"@testing-library/jest-dom": "^6.5.0",
|
|
70
|
+
"@testing-library/react": "^16.0.1",
|
|
65
71
|
"@types/node": "^20.14.10",
|
|
66
72
|
"@types/react": "^18.3.3",
|
|
67
73
|
"@types/react-dom": "^18.3.0",
|
|
@@ -81,6 +87,7 @@
|
|
|
81
87
|
"eslint-plugin-storybook": "^0.8.0",
|
|
82
88
|
"glob": "10.3.10",
|
|
83
89
|
"husky": "^9.0.11",
|
|
90
|
+
"jsdom": "^25.0.0",
|
|
84
91
|
"lint-staged": "^15.2.7",
|
|
85
92
|
"p-limit": "^6.1.0",
|
|
86
93
|
"postcss-preset-env": "^9.6.0",
|
|
@@ -101,7 +108,8 @@
|
|
|
101
108
|
"vite": "^5.3.1",
|
|
102
109
|
"vite-plugin-dts": "^3.9.1",
|
|
103
110
|
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
104
|
-
"vite-plugin-svgr": "^4.2.0"
|
|
111
|
+
"vite-plugin-svgr": "^4.2.0",
|
|
112
|
+
"vitest": "^2.1.1"
|
|
105
113
|
},
|
|
106
114
|
"peerDependencies": {
|
|
107
115
|
"@headlessui/react": "^2.1.2",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|