@bbki.ng/components 1.3.1 → 1.4.0
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/index.d.ts +7 -7
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as React from
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
|
|
3
|
-
interface ButtonProps {
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
declare function Button(props: ButtonProps): JSX.Element;
|
|
7
|
-
declare namespace Button {
|
|
8
|
-
|
|
3
|
+
interface ButtonProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare function Button(props: ButtonProps): JSX.Element;
|
|
7
|
+
declare namespace Button {
|
|
8
|
+
var displayName: string;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
export { Button };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bbki.ng/components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsup src/index.tsx --format esm,cjs --dts --external react --external classnames --external react-router-dom",
|
|
14
14
|
"dev": "tsup src/index.tsx --format esm,cjs --watch --dts --external react --external classnames --external react-router-dom",
|
|
15
|
-
"lint": "
|
|
15
|
+
"lint": "prettier --write \"**/*.{ts,tsx,md}\"",
|
|
16
16
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@bbki.ng/eslint-preset": "1.0.2",
|
|
20
|
-
"@bbki.ng/tsconfig": "1.0
|
|
20
|
+
"@bbki.ng/tsconfig": "1.1.0",
|
|
21
21
|
"@types/react": "^17.0.13",
|
|
22
22
|
"@types/react-dom": "^17.0.8",
|
|
23
23
|
"@types/react-router-dom": "^5.3.2",
|