reactive-bulma 1.15.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { DeleteProps } from '../../../interfaces/atomProps';
3
+ declare const Delete: React.FC<DeleteProps>;
4
+ export default Delete;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TextAreaProps } from '../../../interfaces/atomProps';
3
+ declare const TextArea: React.FC<TextAreaProps>;
4
+ export default TextArea;
@@ -7,3 +7,5 @@ export { default as Box } from './Box';
7
7
  export { default as Title } from './Title';
8
8
  export { default as Icon } from './Icon';
9
9
  export { default as Input } from './Input';
10
+ export { default as TextArea } from './TextArea';
11
+ export { default as Delete } from './Delete';
@@ -85,4 +85,13 @@ 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
+ }
93
+ export interface DeleteProps extends BasicProps {
94
+ size?: Exclude<basicSizeType, 'is-normal'>;
95
+ onClick?: () => void;
96
+ }
88
97
  export {};
package/dist/index.d.ts CHANGED
@@ -89,6 +89,15 @@ 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
+ }
97
+ interface DeleteProps extends BasicProps {
98
+ size?: Exclude<basicSizeType, 'is-normal'>;
99
+ onClick?: () => void;
100
+ }
92
101
 
93
102
  declare const Button: React.FC<ButtonProps>;
94
103
 
@@ -108,4 +117,8 @@ declare const Icon: React.FC<IconProps>;
108
117
 
109
118
  declare const Input: React.FC<InputProps>;
110
119
 
111
- export { Block, Box, Button, Column, Icon, Input, ProgressBar, Tag, Title };
120
+ declare const TextArea: React.FC<TextAreaProps>;
121
+
122
+ declare const Delete: React.FC<DeleteProps>;
123
+
124
+ export { Block, Box, Button, Column, Delete, Icon, Input, ProgressBar, Tag, TextArea, Title };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactive-bulma",
3
- "version": "1.15.0",
3
+ "version": "1.17.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 --no-open -p 6006",
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.21.4",
48
- "@babel/preset-env": "^7.21.4",
49
- "@babel/preset-react": "^7.18.6",
50
- "@babel/preset-typescript": "^7.21.4",
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": "^24.1.0",
53
- "@rollup/plugin-node-resolve": "^15.0.1",
54
- "@rollup/plugin-typescript": "^11.1.0",
55
- "@semantic-release/changelog": "^6.0.2",
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.7",
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.8",
63
- "@storybook/addon-essentials": "^7.0.8",
64
- "@storybook/addon-interactions": "^7.0.8",
65
- "@storybook/addon-links": "^7.0.8",
66
- "@storybook/addon-mdx-gfm": "^7.0.8",
67
- "@storybook/cli": "^7.0.8",
68
- "@storybook/react": "^7.0.8",
69
- "@storybook/react-webpack5": "^7.0.8",
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.2",
75
- "@typescript-eslint/eslint-plugin": "^5.59.2",
76
- "@typescript-eslint/parser": "^5.59.2",
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.39.0",
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.21.4",
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.8",
96
- "tslib": "^2.5.0",
96
+ "storybook": "^7.0.18",
97
+ "tslib": "^2.5.2",
97
98
  "typescript": "^5.0.4"
98
99
  },
99
100
  "lint-staged": {