@kroo-web/design-system 1.0.2 → 1.0.4
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/main.d.ts +1 -1
- package/dist/main.js +1 -1
- package/dist/product/components/TextField/textField.stories.js +1 -0
- package/dist/product/components/TextField/textField.test.js +2 -0
- package/dist/product/components/index.d.ts +1 -0
- package/dist/product/components/index.js +1 -0
- package/package.json +8 -3
- package/dist/product/index.d.ts +0 -2
- package/dist/product/index.js +0 -2
package/dist/main.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./product";
|
|
1
|
+
export * from "./product/components";
|
package/dist/main.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// ? All of the Product components
|
|
2
|
-
export * from "./product";
|
|
2
|
+
export * from "./product/components";
|
|
@@ -34,6 +34,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
34
34
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
+
import React from "react";
|
|
37
38
|
import { render } from '@testing-library/react';
|
|
38
39
|
import { describe, it, expect } from 'vitest';
|
|
39
40
|
import userEvent from '@testing-library/user-event';
|
|
@@ -77,6 +78,7 @@ describe('<TextField />', function () {
|
|
|
77
78
|
return [4 /*yield*/, userEvent.type(input, 'Hello, World!')];
|
|
78
79
|
case 1:
|
|
79
80
|
_a.sent();
|
|
81
|
+
//@ts-ignore
|
|
80
82
|
expect(input).toHaveValue('Hello, World!');
|
|
81
83
|
return [2 /*return*/];
|
|
82
84
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./TextField";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./TextField";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kroo-web/design-system",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Web design system for Kroo including the components for the marketing site and the product side.",
|
|
5
5
|
"main": "./dist/main.js",
|
|
6
6
|
"types": "./dist/main.d.ts",
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
"storybook": "storybook dev -p 6006",
|
|
14
14
|
"build-storybook": "storybook build",
|
|
15
15
|
"copy-files": "copyfiles -u 1 \"src/**/*.css\" \"src/**/*.svg\" \"src/**/*.json\" dist/",
|
|
16
|
-
"
|
|
16
|
+
"build": "tsc -p ./tsconfig.json && npm run copy-files",
|
|
17
|
+
"deploy": "npm run build && npm publish --access public",
|
|
18
|
+
"prebuild": "rimraf ./dist"
|
|
17
19
|
},
|
|
18
20
|
"keywords": [],
|
|
19
21
|
"author": "",
|
|
@@ -27,6 +29,7 @@
|
|
|
27
29
|
"@storybook/react": "^7.6.17",
|
|
28
30
|
"@storybook/react-vite": "^7.6.17",
|
|
29
31
|
"@storybook/test": "^7.6.17",
|
|
32
|
+
"@testing-library/react": "^14.2.1",
|
|
30
33
|
"copyfiles": "^2.4.1",
|
|
31
34
|
"prop-types": "^15.8.1",
|
|
32
35
|
"react": "^18.2.0",
|
|
@@ -38,6 +41,8 @@
|
|
|
38
41
|
"clsx": "^2.1.0",
|
|
39
42
|
"framer-motion": "^11.0.8",
|
|
40
43
|
"react-hook-form": "^7.51.0",
|
|
41
|
-
"
|
|
44
|
+
"rimraf": "^5.0.5",
|
|
45
|
+
"typescript": "^5.4.2",
|
|
46
|
+
"vitest": "^1.3.1"
|
|
42
47
|
}
|
|
43
48
|
}
|
package/dist/product/index.d.ts
DELETED
package/dist/product/index.js
DELETED