reactive-bulma 1.15.0 → 1.16.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/cjs/index.js +28 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/atoms/TextArea/index.d.ts +4 -0
- package/dist/cjs/types/components/atoms/index.d.ts +1 -0
- package/dist/cjs/types/interfaces/atomProps.d.ts +5 -0
- package/dist/esm/index.js +28 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/atoms/TextArea/index.d.ts +4 -0
- package/dist/esm/types/components/atoms/index.d.ts +1 -0
- package/dist/esm/types/interfaces/atomProps.d.ts +5 -0
- package/dist/index.d.ts +8 -1
- package/package.json +27 -26
@@ -85,4 +85,9 @@ export interface InputProps extends BasicProps {
|
|
85
85
|
onClick?: () => void;
|
86
86
|
onChange?: () => void;
|
87
87
|
}
|
88
|
+
export interface TextAreaProps extends Omit<InputProps, 'isRounded' | 'type'> {
|
89
|
+
cols?: number;
|
90
|
+
rows?: number;
|
91
|
+
isFixedSize?: boolean;
|
92
|
+
}
|
88
93
|
export {};
|
package/dist/index.d.ts
CHANGED
@@ -89,6 +89,11 @@ interface InputProps extends BasicProps {
|
|
89
89
|
onClick?: () => void;
|
90
90
|
onChange?: () => void;
|
91
91
|
}
|
92
|
+
interface TextAreaProps extends Omit<InputProps, 'isRounded' | 'type'> {
|
93
|
+
cols?: number;
|
94
|
+
rows?: number;
|
95
|
+
isFixedSize?: boolean;
|
96
|
+
}
|
92
97
|
|
93
98
|
declare const Button: React.FC<ButtonProps>;
|
94
99
|
|
@@ -108,4 +113,6 @@ declare const Icon: React.FC<IconProps>;
|
|
108
113
|
|
109
114
|
declare const Input: React.FC<InputProps>;
|
110
115
|
|
111
|
-
|
116
|
+
declare const TextArea: React.FC<TextAreaProps>;
|
117
|
+
|
118
|
+
export { Block, Box, Button, Column, Icon, Input, ProgressBar, Tag, TextArea, Title };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "reactive-bulma",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.16.0",
|
4
4
|
"description": "A typescript-react-based component library based on bulma",
|
5
5
|
"keywords": [
|
6
6
|
"typescript",
|
@@ -31,7 +31,8 @@
|
|
31
31
|
],
|
32
32
|
"types": "dist/index.d.ts",
|
33
33
|
"scripts": {
|
34
|
-
"start": "storybook dev
|
34
|
+
"start": "storybook dev -p 6006",
|
35
|
+
"start:off": "npm start -- --no-open",
|
35
36
|
"test": "jest --watchAll=false --verbose",
|
36
37
|
"test:ci": "npm test -- --coverage",
|
37
38
|
"lint": "eslint src/**/*.tsx",
|
@@ -44,40 +45,40 @@
|
|
44
45
|
"semantic-release": "semantic-release"
|
45
46
|
},
|
46
47
|
"devDependencies": {
|
47
|
-
"@babel/core": "^7.
|
48
|
-
"@babel/preset-env": "^7.
|
49
|
-
"@babel/preset-react": "^7.
|
50
|
-
"@babel/preset-typescript": "^7.21.
|
48
|
+
"@babel/core": "^7.22.1",
|
49
|
+
"@babel/preset-env": "^7.22.2",
|
50
|
+
"@babel/preset-react": "^7.22.3",
|
51
|
+
"@babel/preset-typescript": "^7.21.5",
|
51
52
|
"@mdi/font": "^7.2.96",
|
52
|
-
"@rollup/plugin-commonjs": "^
|
53
|
-
"@rollup/plugin-node-resolve": "^15.0.
|
54
|
-
"@rollup/plugin-typescript": "^11.1.
|
55
|
-
"@semantic-release/changelog": "^6.0.
|
53
|
+
"@rollup/plugin-commonjs": "^25.0.0",
|
54
|
+
"@rollup/plugin-node-resolve": "^15.0.2",
|
55
|
+
"@rollup/plugin-typescript": "^11.1.1",
|
56
|
+
"@semantic-release/changelog": "^6.0.3",
|
56
57
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
57
58
|
"@semantic-release/exec": "^6.0.3",
|
58
59
|
"@semantic-release/git": "^10.0.1",
|
59
|
-
"@semantic-release/github": "^8.0.
|
60
|
+
"@semantic-release/github": "^8.0.8",
|
60
61
|
"@semantic-release/npm": "^10.0.3",
|
61
62
|
"@semantic-release/release-notes-generator": "^11.0.1",
|
62
|
-
"@storybook/addon-actions": "^7.0.
|
63
|
-
"@storybook/addon-essentials": "^7.0.
|
64
|
-
"@storybook/addon-interactions": "^7.0.
|
65
|
-
"@storybook/addon-links": "^7.0.
|
66
|
-
"@storybook/addon-mdx-gfm": "^7.0.
|
67
|
-
"@storybook/cli": "^7.0.
|
68
|
-
"@storybook/react": "^7.0.
|
69
|
-
"@storybook/react-webpack5": "^7.0.
|
63
|
+
"@storybook/addon-actions": "^7.0.18",
|
64
|
+
"@storybook/addon-essentials": "^7.0.18",
|
65
|
+
"@storybook/addon-interactions": "^7.0.18",
|
66
|
+
"@storybook/addon-links": "^7.0.18",
|
67
|
+
"@storybook/addon-mdx-gfm": "^7.0.18",
|
68
|
+
"@storybook/cli": "^7.0.18",
|
69
|
+
"@storybook/react": "^7.0.18",
|
70
|
+
"@storybook/react-webpack5": "^7.0.18",
|
70
71
|
"@storybook/testing-library": "^0.1.0",
|
71
72
|
"@testing-library/jest-dom": "^5.16.5",
|
72
73
|
"@testing-library/react": "^14.0.0",
|
73
74
|
"@types/jest": "^29.5.1",
|
74
|
-
"@types/react": "^18.2.
|
75
|
-
"@typescript-eslint/eslint-plugin": "^5.59.
|
76
|
-
"@typescript-eslint/parser": "^5.59.
|
75
|
+
"@types/react": "^18.2.7",
|
76
|
+
"@typescript-eslint/eslint-plugin": "^5.59.7",
|
77
|
+
"@typescript-eslint/parser": "^5.59.7",
|
77
78
|
"babel-jest": "^29.5.0",
|
78
79
|
"babel-loader": "^9.1.2",
|
79
80
|
"bulma": "^0.9.4",
|
80
|
-
"eslint": "^8.
|
81
|
+
"eslint": "^8.41.0",
|
81
82
|
"eslint-config-prettier": "^8.8.0",
|
82
83
|
"eslint-plugin-react": "^7.32.2",
|
83
84
|
"husky": "^8.0.3",
|
@@ -88,12 +89,12 @@
|
|
88
89
|
"prettier": "^2.8.8",
|
89
90
|
"react": "^18.2.0",
|
90
91
|
"react-dom": "^18.2.0",
|
91
|
-
"rollup": "^3.
|
92
|
+
"rollup": "^3.23.0",
|
92
93
|
"rollup-plugin-dts": "^5.3.0",
|
93
94
|
"rollup-plugin-postcss": "^4.0.2",
|
94
95
|
"semantic-release": "^21.0.2",
|
95
|
-
"storybook": "^7.0.
|
96
|
-
"tslib": "^2.5.
|
96
|
+
"storybook": "^7.0.18",
|
97
|
+
"tslib": "^2.5.2",
|
97
98
|
"typescript": "^5.0.4"
|
98
99
|
},
|
99
100
|
"lint-staged": {
|