reactive-bulma 1.18.0 → 1.19.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 { FileProps } from '../../../interfaces/atomProps';
3
+ declare const File: React.FC<FileProps>;
4
+ export default File;
@@ -10,3 +10,4 @@ export { default as Input } from './Input';
10
10
  export { default as TextArea } from './TextArea';
11
11
  export { default as Delete } from './Delete';
12
12
  export { default as Select } from './Select';
13
+ export { default as File } from './File';
@@ -110,4 +110,15 @@ export interface SelectProps extends BasicProps {
110
110
  isFocused?: boolean;
111
111
  onClick?: () => void;
112
112
  }
113
+ export interface FileProps extends BasicProps {
114
+ fileName?: string;
115
+ uploadIcon?: IconProps;
116
+ uploadText?: string;
117
+ buttonOnRight?: boolean;
118
+ isFullWidth?: boolean;
119
+ isBoxed?: boolean;
120
+ color?: basicColorType;
121
+ size?: basicSizeType;
122
+ onClick?: () => void;
123
+ }
113
124
  export {};
package/dist/index.d.ts CHANGED
@@ -114,6 +114,17 @@ interface SelectProps extends BasicProps {
114
114
  isFocused?: boolean;
115
115
  onClick?: () => void;
116
116
  }
117
+ interface FileProps extends BasicProps {
118
+ fileName?: string;
119
+ uploadIcon?: IconProps;
120
+ uploadText?: string;
121
+ buttonOnRight?: boolean;
122
+ isFullWidth?: boolean;
123
+ isBoxed?: boolean;
124
+ color?: basicColorType;
125
+ size?: basicSizeType;
126
+ onClick?: () => void;
127
+ }
117
128
 
118
129
  declare const Button: React.FC<ButtonProps>;
119
130
 
@@ -139,4 +150,6 @@ declare const Delete: React.FC<DeleteProps>;
139
150
 
140
151
  declare const Select: React.FC<SelectProps>;
141
152
 
142
- export { Block, Box, Button, Column, Delete, Icon, Input, ProgressBar, Select, Tag, TextArea, Title };
153
+ declare const File: React.FC<FileProps>;
154
+
155
+ export { Block, Box, Button, Column, Delete, File, Icon, Input, ProgressBar, Select, Tag, TextArea, Title };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactive-bulma",
3
- "version": "1.18.0",
3
+ "version": "1.19.0",
4
4
  "description": "A typescript-react-based component library based on bulma",
5
5
  "keywords": [
6
6
  "typescript",
@@ -45,57 +45,57 @@
45
45
  "semantic-release": "semantic-release"
46
46
  },
47
47
  "devDependencies": {
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",
48
+ "@babel/core": "^7.22.5",
49
+ "@babel/preset-env": "^7.22.5",
50
+ "@babel/preset-react": "^7.22.5",
51
+ "@babel/preset-typescript": "^7.22.5",
52
52
  "@mdi/font": "^7.2.96",
53
- "@rollup/plugin-commonjs": "^25.0.0",
54
- "@rollup/plugin-node-resolve": "^15.0.2",
55
- "@rollup/plugin-typescript": "^11.1.1",
53
+ "@rollup/plugin-commonjs": "^25.0.2",
54
+ "@rollup/plugin-node-resolve": "^15.1.0",
55
+ "@rollup/plugin-typescript": "^11.1.2",
56
56
  "@semantic-release/changelog": "^6.0.3",
57
- "@semantic-release/commit-analyzer": "^9.0.2",
57
+ "@semantic-release/commit-analyzer": "^10.0.1",
58
58
  "@semantic-release/exec": "^6.0.3",
59
59
  "@semantic-release/git": "^10.0.1",
60
- "@semantic-release/github": "^8.0.8",
61
- "@semantic-release/npm": "^10.0.3",
62
- "@semantic-release/release-notes-generator": "^11.0.1",
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",
71
- "@storybook/testing-library": "^0.1.0",
60
+ "@semantic-release/github": "^9.0.3",
61
+ "@semantic-release/npm": "^10.0.4",
62
+ "@semantic-release/release-notes-generator": "^11.0.3",
63
+ "@storybook/addon-actions": "^7.0.25",
64
+ "@storybook/addon-essentials": "^7.0.25",
65
+ "@storybook/addon-interactions": "^7.0.25",
66
+ "@storybook/addon-links": "^7.0.25",
67
+ "@storybook/addon-mdx-gfm": "^7.0.25",
68
+ "@storybook/cli": "^7.0.25",
69
+ "@storybook/react": "^7.0.25",
70
+ "@storybook/react-webpack5": "^7.0.25",
71
+ "@storybook/testing-library": "^0.2.0",
72
72
  "@testing-library/jest-dom": "^5.16.5",
73
73
  "@testing-library/react": "^14.0.0",
74
- "@types/jest": "^29.5.1",
75
- "@types/react": "^18.2.7",
76
- "@typescript-eslint/eslint-plugin": "^5.59.7",
77
- "@typescript-eslint/parser": "^5.59.7",
74
+ "@types/jest": "^29.5.2",
75
+ "@types/react": "^18.2.14",
76
+ "@typescript-eslint/eslint-plugin": "^5.60.1",
77
+ "@typescript-eslint/parser": "^5.60.1",
78
78
  "babel-jest": "^29.5.0",
79
79
  "babel-loader": "^9.1.2",
80
80
  "bulma": "^0.9.4",
81
- "eslint": "^8.41.0",
81
+ "eslint": "^8.44.0",
82
82
  "eslint-config-prettier": "^8.8.0",
83
83
  "eslint-plugin-react": "^7.32.2",
84
84
  "husky": "^8.0.3",
85
85
  "jest": "^29.5.0",
86
86
  "jest-environment-jsdom": "^29.5.0",
87
- "lint-staged": "^13.2.2",
88
- "postcss": "^8.4.23",
87
+ "lint-staged": "^13.2.3",
88
+ "postcss": "^8.4.24",
89
89
  "prettier": "^2.8.8",
90
90
  "react": "^18.2.0",
91
91
  "react-dom": "^18.2.0",
92
- "rollup": "^3.23.0",
92
+ "rollup": "^3.26.0",
93
93
  "rollup-plugin-dts": "^5.3.0",
94
94
  "rollup-plugin-postcss": "^4.0.2",
95
- "semantic-release": "^21.0.2",
96
- "storybook": "^7.0.18",
97
- "tslib": "^2.5.2",
98
- "typescript": "^5.0.4"
95
+ "semantic-release": "^21.0.6",
96
+ "storybook": "^7.0.25",
97
+ "tslib": "^2.6.0",
98
+ "typescript": "^5.1.6"
99
99
  },
100
100
  "lint-staged": {
101
101
  "src/**/*.(ts|tsx)": [