reactive-bulma 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +17 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/molecules/Notification/index.d.ts +4 -0
- package/dist/cjs/types/components/molecules/index.d.ts +1 -0
- package/dist/cjs/types/interfaces/atomProps.d.ts +18 -18
- package/dist/cjs/types/interfaces/commonProps.d.ts +1 -15
- package/dist/cjs/types/interfaces/moleculeProps.d.ts +13 -2
- package/dist/esm/index.js +17 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/molecules/Notification/index.d.ts +4 -0
- package/dist/esm/types/components/molecules/index.d.ts +1 -0
- package/dist/esm/types/interfaces/atomProps.d.ts +18 -18
- package/dist/esm/types/interfaces/commonProps.d.ts +1 -15
- package/dist/esm/types/interfaces/moleculeProps.d.ts +13 -2
- package/dist/index.d.ts +32 -24
- package/package.json +11 -11
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import {
|
2
|
+
import { ElementProps, ComposedElementProps } from './commonProps';
|
3
3
|
import { basicColorType, columnOffsetType, columnSizeType, fixedImageSizeType, iconColorModeType, basicSizeType, textColorType, titleSizeType } from '../types/styleTypes';
|
4
4
|
import { inputTypes } from '../types/domTypes';
|
5
|
-
export interface ColumnProps extends
|
5
|
+
export interface ColumnProps extends ElementProps, React.ComponentPropsWithoutRef<'section'> {
|
6
6
|
/** `Attribute` Reffers to the component or array of components that will be shown inside the column */
|
7
7
|
children?: string | React.ReactElement | React.ReactElement[];
|
8
8
|
/** `Styling` Set column's size */
|
@@ -12,7 +12,7 @@ export interface ColumnProps extends BasicProps, React.ComponentPropsWithoutRef<
|
|
12
12
|
/** `Styling` Set if the column only will take the space it needs */
|
13
13
|
isNarrow?: boolean;
|
14
14
|
}
|
15
|
-
export interface ButtonProps extends
|
15
|
+
export interface ButtonProps extends ElementProps, React.ComponentPropsWithoutRef<'button'> {
|
16
16
|
/** `Attribute` The text will be shown in the `Button` */
|
17
17
|
text?: string;
|
18
18
|
/** `Attribute` Will disable the button */
|
@@ -38,7 +38,7 @@ export interface ButtonProps extends BasicProps, React.ComponentPropsWithoutRef<
|
|
38
38
|
/** `Function` Click function, alone does not nothing, but can be reused for other components */
|
39
39
|
onClick?: () => void;
|
40
40
|
}
|
41
|
-
export interface ProgressBarProps extends
|
41
|
+
export interface ProgressBarProps extends ElementProps, React.ComponentPropsWithoutRef<'progress'> {
|
42
42
|
/** `Attribute` Sets colored bar at the level against `max` value (`100` by default) */
|
43
43
|
value?: number;
|
44
44
|
/** `Attribute` Sets the entire bar length comparing with current `value` */
|
@@ -50,11 +50,11 @@ export interface ProgressBarProps extends BasicProps, React.ComponentPropsWithou
|
|
50
50
|
/** `Styling` Will change `value` for a animated loading */
|
51
51
|
isLoading?: boolean;
|
52
52
|
}
|
53
|
-
export interface BlockProps extends
|
53
|
+
export interface BlockProps extends ElementProps, React.ComponentPropsWithoutRef<'section'> {
|
54
54
|
/** `Attribute` Reffers to the component or array of components that will be shown inside the block */
|
55
55
|
children?: string | React.ReactElement | React.ReactElement[];
|
56
56
|
}
|
57
|
-
export interface TagProps extends
|
57
|
+
export interface TagProps extends ComposedElementProps, React.ComponentPropsWithoutRef<'span'> {
|
58
58
|
/** `Attribute` `Required` The text will be shown in the `Tag` */
|
59
59
|
text: string;
|
60
60
|
/** `Attribute` Will add a delete button (for both single or addon cases) */
|
@@ -76,7 +76,7 @@ export interface TagProps extends BasicProps, React.ComponentPropsWithoutRef<'sp
|
|
76
76
|
/** `Function` Click function for `delete` option, alone does not nothing, but can be reused for other components */
|
77
77
|
onDeleteClick?: () => void;
|
78
78
|
}
|
79
|
-
export interface ImageProps extends
|
79
|
+
export interface ImageProps extends ComposedElementProps, React.ComponentPropsWithoutRef<'figure'> {
|
80
80
|
/** `Attribute` `Required` The image source that will be shown */
|
81
81
|
src: string;
|
82
82
|
/** `Styling` Will add round borders to image's shape */
|
@@ -84,11 +84,11 @@ export interface ImageProps extends BasicProps, React.ComponentPropsWithoutRef<'
|
|
84
84
|
/** `Styling` Sets image size based on one of fixed ratios/fixed sizes */
|
85
85
|
isRounded?: boolean;
|
86
86
|
}
|
87
|
-
export interface BoxProps extends
|
87
|
+
export interface BoxProps extends ElementProps, React.ComponentPropsWithoutRef<'section'> {
|
88
88
|
/** `Attribute` Reffers to the component or array of components that will be shown inside the box */
|
89
89
|
children?: string | React.ReactElement | React.ReactElement[];
|
90
90
|
}
|
91
|
-
export interface TitleSectionProps extends
|
91
|
+
export interface TitleSectionProps extends ElementProps, React.ComponentPropsWithoutRef<'p'> {
|
92
92
|
/** `Attribute` Sets the text you want to show */
|
93
93
|
text: string;
|
94
94
|
/** `Styling` Set text size */
|
@@ -104,7 +104,7 @@ export interface TitleProps {
|
|
104
104
|
/** `Attribute` Subtitle title configuration object */
|
105
105
|
secondary?: TitleSectionProps;
|
106
106
|
}
|
107
|
-
export interface IconProps extends
|
107
|
+
export interface IconProps extends ComposedElementProps {
|
108
108
|
/** `Attribute` `Required` Sets the icon key work based on [Material Design icon list](https://pictogrammers.com/library/mdi/) */
|
109
109
|
iconLabel: string;
|
110
110
|
/** `Attribute` Sets the text you want to show next to the icon */
|
@@ -118,7 +118,7 @@ export interface IconProps extends BasicProps {
|
|
118
118
|
/** `Styling` Animates the icon spinning 360° */
|
119
119
|
isSpinning?: boolean;
|
120
120
|
}
|
121
|
-
export interface InputProps extends
|
121
|
+
export interface InputProps extends ElementProps {
|
122
122
|
/** `Attribute` `Required` What type of input will be used */
|
123
123
|
type: inputTypes;
|
124
124
|
/** `Attribute` The value that will be shown on the input */
|
@@ -150,7 +150,7 @@ export interface TextAreaProps extends Omit<InputProps, 'isRounded' | 'type'> {
|
|
150
150
|
/** `Styling` Will disable characteristic sizable property by removing its control on bottom-right corner */
|
151
151
|
isFixedSize?: boolean;
|
152
152
|
}
|
153
|
-
export interface DeleteProps extends
|
153
|
+
export interface DeleteProps extends ElementProps {
|
154
154
|
/** `Styling` Set icons's size */
|
155
155
|
size?: Exclude<basicSizeType, 'is-normal'>;
|
156
156
|
/** `Function` Click function. Alone does not nothing, but can be reused for other components */
|
@@ -161,7 +161,7 @@ export interface SelectOption {
|
|
161
161
|
name: string;
|
162
162
|
selected?: boolean;
|
163
163
|
}
|
164
|
-
export interface SelectProps extends
|
164
|
+
export interface SelectProps extends ComposedElementProps {
|
165
165
|
/** `Attribute` Indicates the options contained on the select */
|
166
166
|
options?: SelectOption[];
|
167
167
|
/** `Attribute` Indicates how many options will be shown at first glance (before looking for the whole list */
|
@@ -181,7 +181,7 @@ export interface SelectProps extends BasicProps {
|
|
181
181
|
/** `Function` Click function. Alone does not nothing, but can be reused for other components */
|
182
182
|
onClick?: () => void;
|
183
183
|
}
|
184
|
-
export interface FileProps extends
|
184
|
+
export interface FileProps extends ComposedElementProps {
|
185
185
|
/** `Attribute` The name of the file to be uploaded */
|
186
186
|
fileName?: string;
|
187
187
|
/** `Attribute` The icon displayed in file's button" */
|
@@ -201,15 +201,15 @@ export interface FileProps extends BasicProps {
|
|
201
201
|
/** `Function` Click function, alone does not nothing, but can be reused for other components */
|
202
202
|
onClick?: () => void;
|
203
203
|
}
|
204
|
-
export interface CheckBoxProps extends
|
204
|
+
export interface CheckBoxProps extends ComposedElementProps {
|
205
205
|
/** `Attribute` Sets checkbox's text that will be shown next to its control */
|
206
|
-
content?: string | React.ReactElement;
|
206
|
+
content?: string | React.ReactElement | React.ReactElement[];
|
207
207
|
/** `Attribute` Will disable the checkbox */
|
208
208
|
isDisabled?: boolean;
|
209
209
|
/** `Function` Click function, alone does not nothing, but can be reused for other components */
|
210
210
|
onChange?: () => void;
|
211
211
|
}
|
212
|
-
export interface RadioButtonItemProps extends Pick<
|
212
|
+
export interface RadioButtonItemProps extends Pick<ElementProps, 'testId' | 'style'> {
|
213
213
|
/** `Attribute` `Required` Sets checkbox's text*/
|
214
214
|
label: string;
|
215
215
|
/** `Attribute` Sets the name that will relate this checkbox with the others */
|
@@ -221,7 +221,7 @@ export interface RadioButtonItemProps extends Pick<BasicProps, 'testId' | 'style
|
|
221
221
|
/** `Function` Click function, alone does not nothing, but can be reused for other components */
|
222
222
|
onChange?: () => void;
|
223
223
|
}
|
224
|
-
export interface RadioButtonProps extends
|
224
|
+
export interface RadioButtonProps extends ComposedElementProps {
|
225
225
|
/** `Attribute` `Required` Indicates the options contained to be selected */
|
226
226
|
options: RadioButtonItemProps[];
|
227
227
|
/** `Attribute` `Required` Sets the name that will relate this checkbox with the others */
|
@@ -1,18 +1,4 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export interface BasicProps {
|
3
|
-
/** `Attribute` ID used to locate the element in unit test suites (like Jest) */
|
4
|
-
testId?: string;
|
5
|
-
/** `Attribute` *For container case*. ID used to locate the element in unit test suites (like Jest) */
|
6
|
-
containerTestId?: string;
|
7
|
-
/** `Attribute` Custom CSS classes, applicable for specific scenarios */
|
8
|
-
cssClasses?: string;
|
9
|
-
/** `Attribute` *For container case*. Custom CSS classes, applicable for specific scenarios */
|
10
|
-
containerCssClasses?: string;
|
11
|
-
/** `Attribute` Custom styling applicable for specific scenarios */
|
12
|
-
style?: React.CSSProperties;
|
13
|
-
/** `Attribute` *For container case*. Custom styling applicable for specific scenarios */
|
14
|
-
containerStyle?: React.CSSProperties;
|
15
|
-
}
|
16
2
|
export interface ContainerProps {
|
17
3
|
/** `Attribute` *For container case*. ID used to locate the element in unit test suites (like Jest) */
|
18
4
|
containerTestId?: string;
|
@@ -29,5 +15,5 @@ export interface ElementProps {
|
|
29
15
|
/** `Attribute` Custom styling applicable for specific scenarios */
|
30
16
|
style?: React.CSSProperties;
|
31
17
|
}
|
32
|
-
export interface
|
18
|
+
export interface ComposedElementProps extends ElementProps, ContainerProps {
|
33
19
|
}
|
@@ -1,6 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
import { ElementProps } from './commonProps';
|
2
|
-
import { ButtonProps, ColumnProps } from './atomProps';
|
3
|
-
import { columnGapType } from '../types/styleTypes';
|
3
|
+
import { ButtonProps, ColumnProps, DeleteProps } from './atomProps';
|
4
|
+
import { basicColorType, columnGapType } from '../types/styleTypes';
|
4
5
|
export interface ButtonGroupProps extends ElementProps {
|
5
6
|
/** `Atribute` `Required` Array of `Button` objects that will be shown */
|
6
7
|
buttonList: ButtonProps[];
|
@@ -23,3 +24,13 @@ export interface ColumnGroupProps extends ElementProps {
|
|
23
24
|
/** `Styling` Will adjust the space between the columns. In case to set null, it will remove those gaps */
|
24
25
|
gap?: columnGapType | null;
|
25
26
|
}
|
27
|
+
export interface NotificationProps extends ElementProps {
|
28
|
+
/** `Attribute` Reffers to the component or array of components that will be shown inside the column */
|
29
|
+
children?: string | React.ReactElement | React.ReactElement[];
|
30
|
+
/** `Atribute` Includes a `Delete` config object that will be shown */
|
31
|
+
deleteButton?: DeleteProps;
|
32
|
+
/** `Styling` Color based on bulma's color tokens */
|
33
|
+
color?: basicColorType;
|
34
|
+
/** `Styling` Will adjust the selected color with a ligther style */
|
35
|
+
isLightColor?: boolean;
|
36
|
+
}
|
package/dist/index.d.ts
CHANGED
@@ -1,17 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import React$1 from 'react';
|
3
3
|
|
4
|
-
interface
|
5
|
-
/** `Attribute` ID used to locate the element in unit test suites (like Jest) */
|
6
|
-
testId?: string;
|
4
|
+
interface ContainerProps {
|
7
5
|
/** `Attribute` *For container case*. ID used to locate the element in unit test suites (like Jest) */
|
8
6
|
containerTestId?: string;
|
9
|
-
/** `Attribute` Custom CSS classes, applicable for specific scenarios */
|
10
|
-
cssClasses?: string;
|
11
7
|
/** `Attribute` *For container case*. Custom CSS classes, applicable for specific scenarios */
|
12
8
|
containerCssClasses?: string;
|
13
|
-
/** `Attribute` Custom styling applicable for specific scenarios */
|
14
|
-
style?: React.CSSProperties;
|
15
9
|
/** `Attribute` *For container case*. Custom styling applicable for specific scenarios */
|
16
10
|
containerStyle?: React.CSSProperties;
|
17
11
|
}
|
@@ -23,6 +17,8 @@ interface ElementProps {
|
|
23
17
|
/** `Attribute` Custom styling applicable for specific scenarios */
|
24
18
|
style?: React.CSSProperties;
|
25
19
|
}
|
20
|
+
interface ComposedElementProps extends ElementProps, ContainerProps {
|
21
|
+
}
|
26
22
|
|
27
23
|
type columnSizeType = 'is-three-quarters' | 'is-two-thirds' | 'is-half' | 'is-one-third' | 'is-one-quarter' | 'is-full' | 'is-four-fifths' | 'is-three-fifths' | 'is-two-fifths' | 'is-one-fifth' | 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6' | 'is-7' | 'is-8' | 'is-9' | 'is-10' | 'is-11' | 'is-12';
|
28
24
|
type titleSizeType = 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6';
|
@@ -35,7 +31,7 @@ type columnGapType = 'is-0' | 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6
|
|
35
31
|
|
36
32
|
type inputTypes = 'text' | 'password' | 'email' | 'tel';
|
37
33
|
|
38
|
-
interface ColumnProps extends
|
34
|
+
interface ColumnProps extends ElementProps, React$1.ComponentPropsWithoutRef<'section'> {
|
39
35
|
/** `Attribute` Reffers to the component or array of components that will be shown inside the column */
|
40
36
|
children?: string | React$1.ReactElement | React$1.ReactElement[];
|
41
37
|
/** `Styling` Set column's size */
|
@@ -45,7 +41,7 @@ interface ColumnProps extends BasicProps, React$1.ComponentPropsWithoutRef<'sect
|
|
45
41
|
/** `Styling` Set if the column only will take the space it needs */
|
46
42
|
isNarrow?: boolean;
|
47
43
|
}
|
48
|
-
interface ButtonProps extends
|
44
|
+
interface ButtonProps extends ElementProps, React$1.ComponentPropsWithoutRef<'button'> {
|
49
45
|
/** `Attribute` The text will be shown in the `Button` */
|
50
46
|
text?: string;
|
51
47
|
/** `Attribute` Will disable the button */
|
@@ -71,7 +67,7 @@ interface ButtonProps extends BasicProps, React$1.ComponentPropsWithoutRef<'butt
|
|
71
67
|
/** `Function` Click function, alone does not nothing, but can be reused for other components */
|
72
68
|
onClick?: () => void;
|
73
69
|
}
|
74
|
-
interface ProgressBarProps extends
|
70
|
+
interface ProgressBarProps extends ElementProps, React$1.ComponentPropsWithoutRef<'progress'> {
|
75
71
|
/** `Attribute` Sets colored bar at the level against `max` value (`100` by default) */
|
76
72
|
value?: number;
|
77
73
|
/** `Attribute` Sets the entire bar length comparing with current `value` */
|
@@ -83,11 +79,11 @@ interface ProgressBarProps extends BasicProps, React$1.ComponentPropsWithoutRef<
|
|
83
79
|
/** `Styling` Will change `value` for a animated loading */
|
84
80
|
isLoading?: boolean;
|
85
81
|
}
|
86
|
-
interface BlockProps extends
|
82
|
+
interface BlockProps extends ElementProps, React$1.ComponentPropsWithoutRef<'section'> {
|
87
83
|
/** `Attribute` Reffers to the component or array of components that will be shown inside the block */
|
88
84
|
children?: string | React$1.ReactElement | React$1.ReactElement[];
|
89
85
|
}
|
90
|
-
interface TagProps extends
|
86
|
+
interface TagProps extends ComposedElementProps, React$1.ComponentPropsWithoutRef<'span'> {
|
91
87
|
/** `Attribute` `Required` The text will be shown in the `Tag` */
|
92
88
|
text: string;
|
93
89
|
/** `Attribute` Will add a delete button (for both single or addon cases) */
|
@@ -109,11 +105,11 @@ interface TagProps extends BasicProps, React$1.ComponentPropsWithoutRef<'span'>
|
|
109
105
|
/** `Function` Click function for `delete` option, alone does not nothing, but can be reused for other components */
|
110
106
|
onDeleteClick?: () => void;
|
111
107
|
}
|
112
|
-
interface BoxProps extends
|
108
|
+
interface BoxProps extends ElementProps, React$1.ComponentPropsWithoutRef<'section'> {
|
113
109
|
/** `Attribute` Reffers to the component or array of components that will be shown inside the box */
|
114
110
|
children?: string | React$1.ReactElement | React$1.ReactElement[];
|
115
111
|
}
|
116
|
-
interface TitleSectionProps extends
|
112
|
+
interface TitleSectionProps extends ElementProps, React$1.ComponentPropsWithoutRef<'p'> {
|
117
113
|
/** `Attribute` Sets the text you want to show */
|
118
114
|
text: string;
|
119
115
|
/** `Styling` Set text size */
|
@@ -129,7 +125,7 @@ interface TitleProps {
|
|
129
125
|
/** `Attribute` Subtitle title configuration object */
|
130
126
|
secondary?: TitleSectionProps;
|
131
127
|
}
|
132
|
-
interface IconProps extends
|
128
|
+
interface IconProps extends ComposedElementProps {
|
133
129
|
/** `Attribute` `Required` Sets the icon key work based on [Material Design icon list](https://pictogrammers.com/library/mdi/) */
|
134
130
|
iconLabel: string;
|
135
131
|
/** `Attribute` Sets the text you want to show next to the icon */
|
@@ -143,7 +139,7 @@ interface IconProps extends BasicProps {
|
|
143
139
|
/** `Styling` Animates the icon spinning 360° */
|
144
140
|
isSpinning?: boolean;
|
145
141
|
}
|
146
|
-
interface InputProps extends
|
142
|
+
interface InputProps extends ElementProps {
|
147
143
|
/** `Attribute` `Required` What type of input will be used */
|
148
144
|
type: inputTypes;
|
149
145
|
/** `Attribute` The value that will be shown on the input */
|
@@ -175,7 +171,7 @@ interface TextAreaProps extends Omit<InputProps, 'isRounded' | 'type'> {
|
|
175
171
|
/** `Styling` Will disable characteristic sizable property by removing its control on bottom-right corner */
|
176
172
|
isFixedSize?: boolean;
|
177
173
|
}
|
178
|
-
interface DeleteProps extends
|
174
|
+
interface DeleteProps extends ElementProps {
|
179
175
|
/** `Styling` Set icons's size */
|
180
176
|
size?: Exclude<basicSizeType, 'is-normal'>;
|
181
177
|
/** `Function` Click function. Alone does not nothing, but can be reused for other components */
|
@@ -186,7 +182,7 @@ interface SelectOption {
|
|
186
182
|
name: string;
|
187
183
|
selected?: boolean;
|
188
184
|
}
|
189
|
-
interface SelectProps extends
|
185
|
+
interface SelectProps extends ComposedElementProps {
|
190
186
|
/** `Attribute` Indicates the options contained on the select */
|
191
187
|
options?: SelectOption[];
|
192
188
|
/** `Attribute` Indicates how many options will be shown at first glance (before looking for the whole list */
|
@@ -206,7 +202,7 @@ interface SelectProps extends BasicProps {
|
|
206
202
|
/** `Function` Click function. Alone does not nothing, but can be reused for other components */
|
207
203
|
onClick?: () => void;
|
208
204
|
}
|
209
|
-
interface FileProps extends
|
205
|
+
interface FileProps extends ComposedElementProps {
|
210
206
|
/** `Attribute` The name of the file to be uploaded */
|
211
207
|
fileName?: string;
|
212
208
|
/** `Attribute` The icon displayed in file's button" */
|
@@ -226,15 +222,15 @@ interface FileProps extends BasicProps {
|
|
226
222
|
/** `Function` Click function, alone does not nothing, but can be reused for other components */
|
227
223
|
onClick?: () => void;
|
228
224
|
}
|
229
|
-
interface CheckBoxProps extends
|
225
|
+
interface CheckBoxProps extends ComposedElementProps {
|
230
226
|
/** `Attribute` Sets checkbox's text that will be shown next to its control */
|
231
|
-
content?: string | React$1.ReactElement;
|
227
|
+
content?: string | React$1.ReactElement | React$1.ReactElement[];
|
232
228
|
/** `Attribute` Will disable the checkbox */
|
233
229
|
isDisabled?: boolean;
|
234
230
|
/** `Function` Click function, alone does not nothing, but can be reused for other components */
|
235
231
|
onChange?: () => void;
|
236
232
|
}
|
237
|
-
interface RadioButtonItemProps extends Pick<
|
233
|
+
interface RadioButtonItemProps extends Pick<ElementProps, 'testId' | 'style'> {
|
238
234
|
/** `Attribute` `Required` Sets checkbox's text*/
|
239
235
|
label: string;
|
240
236
|
/** `Attribute` Sets the name that will relate this checkbox with the others */
|
@@ -246,7 +242,7 @@ interface RadioButtonItemProps extends Pick<BasicProps, 'testId' | 'style'> {
|
|
246
242
|
/** `Function` Click function, alone does not nothing, but can be reused for other components */
|
247
243
|
onChange?: () => void;
|
248
244
|
}
|
249
|
-
interface RadioButtonProps extends
|
245
|
+
interface RadioButtonProps extends ComposedElementProps {
|
250
246
|
/** `Attribute` `Required` Indicates the options contained to be selected */
|
251
247
|
options: RadioButtonItemProps[];
|
252
248
|
/** `Attribute` `Required` Sets the name that will relate this checkbox with the others */
|
@@ -307,9 +303,21 @@ interface ColumnGroupProps extends ElementProps {
|
|
307
303
|
/** `Styling` Will adjust the space between the columns. In case to set null, it will remove those gaps */
|
308
304
|
gap?: columnGapType | null;
|
309
305
|
}
|
306
|
+
interface NotificationProps extends ElementProps {
|
307
|
+
/** `Attribute` Reffers to the component or array of components that will be shown inside the column */
|
308
|
+
children?: string | React.ReactElement | React.ReactElement[];
|
309
|
+
/** `Atribute` Includes a `Delete` config object that will be shown */
|
310
|
+
deleteButton?: DeleteProps;
|
311
|
+
/** `Styling` Color based on bulma's color tokens */
|
312
|
+
color?: basicColorType;
|
313
|
+
/** `Styling` Will adjust the selected color with a ligther style */
|
314
|
+
isLightColor?: boolean;
|
315
|
+
}
|
310
316
|
|
311
317
|
declare const ButtonGroup: React$1.FC<ButtonGroupProps>;
|
312
318
|
|
313
319
|
declare const ColumnGroup: React$1.FC<ColumnGroupProps>;
|
314
320
|
|
315
|
-
|
321
|
+
declare const Notification: React$1.FC<NotificationProps>;
|
322
|
+
|
323
|
+
export { Block, Box, Button, ButtonGroup, CheckBox as Checkbox, Column, ColumnGroup, Delete, File, Icon, Input, Notification, ProgressBar, RadioButton, Select, Tag, TextArea, Title };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "reactive-bulma",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.3.0",
|
4
4
|
"description": "A component library based on React, Bulma, Typescript and Rollup",
|
5
5
|
"keywords": [
|
6
6
|
"typescript",
|
@@ -47,19 +47,19 @@
|
|
47
47
|
"semantic-release": "semantic-release"
|
48
48
|
},
|
49
49
|
"devDependencies": {
|
50
|
-
"@babel/core": "^7.
|
50
|
+
"@babel/core": "^7.23.0",
|
51
51
|
"@babel/preset-env": "^7.22.20",
|
52
52
|
"@babel/preset-react": "^7.22.15",
|
53
|
-
"@babel/preset-typescript": "^7.
|
53
|
+
"@babel/preset-typescript": "^7.23.0",
|
54
54
|
"@mdi/font": "^7.2.96",
|
55
55
|
"@rollup/plugin-commonjs": "^25.0.4",
|
56
56
|
"@rollup/plugin-node-resolve": "^15.2.1",
|
57
|
-
"@rollup/plugin-typescript": "^11.1.
|
57
|
+
"@rollup/plugin-typescript": "^11.1.4",
|
58
58
|
"@semantic-release/changelog": "^6.0.3",
|
59
59
|
"@semantic-release/commit-analyzer": "^11.0.0",
|
60
60
|
"@semantic-release/exec": "^6.0.3",
|
61
61
|
"@semantic-release/git": "^10.0.1",
|
62
|
-
"@semantic-release/github": "^9.
|
62
|
+
"@semantic-release/github": "^9.2.1",
|
63
63
|
"@semantic-release/npm": "^11.0.0",
|
64
64
|
"@semantic-release/release-notes-generator": "^12.0.0",
|
65
65
|
"@storybook/addon-actions": "^7.4.5",
|
@@ -70,13 +70,13 @@
|
|
70
70
|
"@storybook/cli": "^7.4.5",
|
71
71
|
"@storybook/react": "^7.4.5",
|
72
72
|
"@storybook/react-webpack5": "^7.4.5",
|
73
|
-
"@storybook/testing-library": "^0.2.
|
73
|
+
"@storybook/testing-library": "^0.2.2",
|
74
74
|
"@testing-library/jest-dom": "^6.1.3",
|
75
75
|
"@testing-library/react": "^14.0.0",
|
76
76
|
"@types/jest": "^29.5.5",
|
77
|
-
"@types/react": "^18.2.
|
78
|
-
"@typescript-eslint/eslint-plugin": "^6.7.
|
79
|
-
"@typescript-eslint/parser": "^6.7.
|
77
|
+
"@types/react": "^18.2.24",
|
78
|
+
"@typescript-eslint/eslint-plugin": "^6.7.4",
|
79
|
+
"@typescript-eslint/parser": "^6.7.4",
|
80
80
|
"babel-jest": "^29.7.0",
|
81
81
|
"babel-loader": "^9.1.3",
|
82
82
|
"bulma": "^0.9.4",
|
@@ -87,11 +87,11 @@
|
|
87
87
|
"jest": "^29.7.0",
|
88
88
|
"jest-environment-jsdom": "^29.7.0",
|
89
89
|
"lint-staged": "^14.0.1",
|
90
|
-
"postcss": "^8.4.
|
90
|
+
"postcss": "^8.4.31",
|
91
91
|
"prettier": "^3.0.3",
|
92
92
|
"react": "^18.2.0",
|
93
93
|
"react-dom": "^18.2.0",
|
94
|
-
"rollup": "^3.29.
|
94
|
+
"rollup": "^3.29.4",
|
95
95
|
"rollup-plugin-dts": "^6.0.2",
|
96
96
|
"rollup-plugin-postcss": "^4.0.2",
|
97
97
|
"semantic-release": "^22.0.5",
|