reactive-bulma 1.16.0 → 1.17.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.
@@ -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;
@@ -8,3 +8,4 @@ export { default as Title } from './Title';
8
8
  export { default as Icon } from './Icon';
9
9
  export { default as Input } from './Input';
10
10
  export { default as TextArea } from './TextArea';
11
+ export { default as Delete } from './Delete';
@@ -90,4 +90,8 @@ export interface TextAreaProps extends Omit<InputProps, 'isRounded' | 'type'> {
90
90
  rows?: number;
91
91
  isFixedSize?: boolean;
92
92
  }
93
+ export interface DeleteProps extends BasicProps {
94
+ size?: Exclude<basicSizeType, 'is-normal'>;
95
+ onClick?: () => void;
96
+ }
93
97
  export {};
package/dist/index.d.ts CHANGED
@@ -94,6 +94,10 @@ interface TextAreaProps extends Omit<InputProps, 'isRounded' | 'type'> {
94
94
  rows?: number;
95
95
  isFixedSize?: boolean;
96
96
  }
97
+ interface DeleteProps extends BasicProps {
98
+ size?: Exclude<basicSizeType, 'is-normal'>;
99
+ onClick?: () => void;
100
+ }
97
101
 
98
102
  declare const Button: React.FC<ButtonProps>;
99
103
 
@@ -115,4 +119,6 @@ declare const Input: React.FC<InputProps>;
115
119
 
116
120
  declare const TextArea: React.FC<TextAreaProps>;
117
121
 
118
- export { Block, Box, Button, Column, Icon, Input, ProgressBar, Tag, TextArea, Title };
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.16.0",
3
+ "version": "1.17.0",
4
4
  "description": "A typescript-react-based component library based on bulma",
5
5
  "keywords": [
6
6
  "typescript",