@vchasno/ui-kit 0.2.2 → 0.2.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/CHANGELOG.md +12 -0
- package/README.md +3 -3
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.2.4] - 2024-01-19
|
|
11
|
+
|
|
12
|
+
## Fixed
|
|
13
|
+
|
|
14
|
+
- fix import css warnings, remove type module to allow use moduleResolution: "Node16"/"Bundler"
|
|
15
|
+
|
|
16
|
+
## [0.2.3] - 2024-01-18
|
|
17
|
+
|
|
18
|
+
## Fixed
|
|
19
|
+
|
|
20
|
+
- add "type": "module" to package.json, for correct import
|
|
21
|
+
|
|
10
22
|
## [0.2.2] - 2024-01-18
|
|
11
23
|
|
|
12
24
|
## Fixed
|
package/README.md
CHANGED
|
@@ -53,9 +53,9 @@ Suggestions:
|
|
|
53
53
|
|
|
54
54
|
```jsx
|
|
55
55
|
// index.tsx
|
|
56
|
-
import "@vchasno/ui-kit/
|
|
57
|
-
import "@vchasno/ui-kit/
|
|
58
|
-
import "@vchasno/ui-kit/
|
|
56
|
+
import "@vchasno/ui-kit/dist/css/_reset.css"; // optional reset styles
|
|
57
|
+
import "@vchasno/ui-kit/dist/css/_base.css"; // optional base styles
|
|
58
|
+
import "@vchasno/ui-kit/dist/css/_theme.css"; // optional theme variables
|
|
59
59
|
import "src/styles/_theme-override.css"; // yuor own css file with theme variables override
|
|
60
60
|
```
|
|
61
61
|
|
package/package.json
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vchasno/ui-kit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "React UI components for Vchasno applications",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"files": [
|
|
8
|
-
"dist
|
|
8
|
+
"dist",
|
|
9
9
|
"README.md",
|
|
10
10
|
"CHANGELOG.md"
|
|
11
11
|
],
|
|
12
12
|
"exports": {
|
|
13
|
-
".":
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js"
|
|
16
|
+
},
|
|
14
17
|
"./Datepicker": {
|
|
15
18
|
"types": "./dist/Datepicker/index.d.ts",
|
|
16
19
|
"import": "./dist/Datepicker/index.js"
|
|
@@ -23,9 +26,7 @@
|
|
|
23
26
|
"types": "./dist/SelectCreatable/index.d.ts",
|
|
24
27
|
"import": "./dist/SelectCreatable/index.js"
|
|
25
28
|
},
|
|
26
|
-
"./
|
|
27
|
-
"./reset.css": "./dist/css/_reset.css",
|
|
28
|
-
"./theme.css": "./dist/css/_theme.css"
|
|
29
|
+
"./dist/css/*.css": "./dist/css/*.css"
|
|
29
30
|
},
|
|
30
31
|
"types": "dist/index.d.ts",
|
|
31
32
|
"scripts": {
|