@public-ui/react 2.0.8 → 2.0.9

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.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -39,7 +39,8 @@ register(DEFAULT, defineCustomElements)
39
39
  Then, you can import any component from `@public-ui/react` and render it within React components:
40
40
 
41
41
  ```tsx
42
- import React, { FC } from 'react';
42
+ import React from 'react';
43
+ import type { FC } from 'react';
43
44
  import { KolButton } from '@public-ui/react';
44
45
 
45
46
  export default (): FC => <KolButton _label="Hello World" />;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/react",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": "https://github.com/public-ui/kolibri",
@@ -42,20 +42,20 @@
42
42
  "react"
43
43
  ],
44
44
  "devDependencies": {
45
- "@public-ui/components": "2.0.8",
45
+ "@public-ui/components": "2.0.9",
46
46
  "@types/minimatch": "5.1.2",
47
47
  "@types/minimist": "1.2.5",
48
48
  "@types/node": "ts5.3",
49
49
  "@types/normalize-package-data": "2.4.4",
50
- "@types/react": "18.2.57",
51
- "@types/react-dom": "18.2.19",
50
+ "@types/react": "18.2.64",
51
+ "@types/react-dom": "18.2.21",
52
52
  "react": "18.2.0",
53
53
  "react-dom": "18.2.0",
54
- "typescript": "5.3.3",
54
+ "typescript": "5.4.2",
55
55
  "unbuild": "1.2.1"
56
56
  },
57
57
  "peerDependencies": {
58
- "@public-ui/components": "2.0.8",
58
+ "@public-ui/components": "2.0.9",
59
59
  "react": ">=16.14.0",
60
60
  "react-dom": ">=16.14.0"
61
61
  },