reactive-bulma 2.12.0 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/index.js +57 -0
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/types/components/atoms/LevelHeader/index.d.ts +4 -0
  5. package/dist/cjs/types/components/atoms/index.d.ts +1 -0
  6. package/dist/cjs/types/components/molecules/LevelItem/index.d.ts +4 -0
  7. package/dist/cjs/types/components/molecules/index.d.ts +1 -0
  8. package/dist/cjs/types/components/organisms/Hero/index.d.ts +4 -0
  9. package/dist/cjs/types/components/organisms/Level/index.d.ts +4 -0
  10. package/dist/cjs/types/components/organisms/index.d.ts +2 -0
  11. package/dist/cjs/types/interfaces/atomProps.d.ts +34 -27
  12. package/dist/cjs/types/interfaces/moleculeProps.d.ts +23 -17
  13. package/dist/cjs/types/interfaces/organismProps.d.ts +27 -4
  14. package/dist/cjs/types/types/componentEnums.d.ts +3 -0
  15. package/dist/cjs/types/types/styleTypes.d.ts +15 -15
  16. package/dist/esm/index.js +54 -1
  17. package/dist/esm/index.js.map +1 -1
  18. package/dist/esm/types/components/atoms/LevelHeader/index.d.ts +4 -0
  19. package/dist/esm/types/components/atoms/index.d.ts +1 -0
  20. package/dist/esm/types/components/molecules/LevelItem/index.d.ts +4 -0
  21. package/dist/esm/types/components/molecules/index.d.ts +1 -0
  22. package/dist/esm/types/components/organisms/Hero/index.d.ts +4 -0
  23. package/dist/esm/types/components/organisms/Level/index.d.ts +4 -0
  24. package/dist/esm/types/components/organisms/index.d.ts +2 -0
  25. package/dist/esm/types/interfaces/atomProps.d.ts +34 -27
  26. package/dist/esm/types/interfaces/moleculeProps.d.ts +23 -17
  27. package/dist/esm/types/interfaces/organismProps.d.ts +27 -4
  28. package/dist/esm/types/types/componentEnums.d.ts +3 -0
  29. package/dist/esm/types/types/styleTypes.d.ts +15 -15
  30. package/dist/index.d.ts +104 -59
  31. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -24,33 +24,36 @@ interface ClickeableProps {
24
24
  onClick?: () => void;
25
25
  }
26
26
 
27
- 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
- type titleSizeType = 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6';
29
- type columnOffsetType = 'is-offset-1' | 'is-offset-2' | 'is-offset-3' | 'is-offset-4' | 'is-offset-5' | 'is-offset-6' | 'is-offset-7' | 'is-offset-8' | 'is-offset-9' | 'is-offset-10' | 'is-offset-11' | 'is-offset-12';
30
- type basicColorType = 'is-white' | 'is-light' | 'is-dark' | 'is-black' | 'is-text' | 'is-ghost' | 'is-primary' | 'is-link' | 'is-info' | 'is-success' | 'is-warning' | 'is-danger';
31
- type textColorType = 'has-text-white' | 'has-text-black' | 'has-text-light' | 'has-text-dark' | 'has-text-primary' | 'has-text-link' | 'has-text-info' | 'has-text-success' | 'has-text-warning' | 'has-text-danger';
32
- type fixedImageSizeType = 'is-16x16' | 'is-24x24' | 'is-32x32' | 'is-48x48' | 'is-64x64' | 'is-96x96' | 'is-128x128' | 'is-square' | 'is-1by1' | 'is-5by4' | 'is-4by3' | 'is-3by2' | 'is-5by3' | 'is-16by9' | 'is-2by1' | 'is-3by1' | 'is-4by5' | 'is-3by4' | 'is-2by3' | 'is-3by5' | 'is-9by16' | 'is-1by2' | 'is-1by3';
33
- type elementSizeType = 'is-small' | 'is-normal' | 'is-medium' | 'is-large';
34
- type sizeWithoutNormalType = Exclude<elementSizeType, 'is-normal'>;
35
- type iconColorModeType = 'light' | 'dark';
36
- type columnGapType = 'is-0' | 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6' | 'is-7' | 'is-8';
37
- type elementAlignType = 'is-centered' | 'is-right' | 'is-left';
38
- type rightCenteredAlignType = Exclude<elementAlignType, 'is-left'>;
39
- type rightLeftAlignType = Exclude<elementAlignType, 'is-centered'>;
40
- type breadcrumbSeparatorType = 'has-arrow-separator' | 'has-bullet-separator' | 'has-dot-separator' | 'has-succeeds-separator';
41
- type tabsFormatType = 'is-boxed' | 'is-toggle';
27
+ 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
+ type TitleSizeType = 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6';
29
+ type ColumnOffsetType = 'is-offset-1' | 'is-offset-2' | 'is-offset-3' | 'is-offset-4' | 'is-offset-5' | 'is-offset-6' | 'is-offset-7' | 'is-offset-8' | 'is-offset-9' | 'is-offset-10' | 'is-offset-11' | 'is-offset-12';
30
+ type BasicColorType = 'is-white' | 'is-light' | 'is-dark' | 'is-black' | 'is-text' | 'is-ghost' | 'is-primary' | 'is-link' | 'is-info' | 'is-success' | 'is-warning' | 'is-danger';
31
+ type TextColorType = 'has-text-white' | 'has-text-black' | 'has-text-light' | 'has-text-dark' | 'has-text-primary' | 'has-text-link' | 'has-text-info' | 'has-text-success' | 'has-text-warning' | 'has-text-danger';
32
+ type FixedImageSizeType = 'is-16x16' | 'is-24x24' | 'is-32x32' | 'is-48x48' | 'is-64x64' | 'is-96x96' | 'is-128x128' | 'is-square' | 'is-1by1' | 'is-5by4' | 'is-4by3' | 'is-3by2' | 'is-5by3' | 'is-16by9' | 'is-2by1' | 'is-3by1' | 'is-4by5' | 'is-3by4' | 'is-2by3' | 'is-3by5' | 'is-9by16' | 'is-1by2' | 'is-1by3';
33
+ type ElementSizeType = 'is-small' | 'is-normal' | 'is-medium' | 'is-large';
34
+ type SizeWithoutNormalType = Exclude<ElementSizeType, 'is-normal'>;
35
+ type IconColorModeType = 'light' | 'dark';
36
+ type ColumnGapType = 'is-0' | 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6' | 'is-7' | 'is-8';
37
+ type ElementAlignType = 'is-centered' | 'is-right' | 'is-left';
38
+ type RightCenteredAlignType = Exclude<ElementAlignType, 'is-left'>;
39
+ type RightLeftAlignType = Exclude<ElementAlignType, 'is-centered'>;
40
+ type BreadcrumbSeparatorType = 'has-arrow-separator' | 'has-bullet-separator' | 'has-dot-separator' | 'has-succeeds-separator';
41
+ type TabsFormatType = 'is-boxed' | 'is-toggle';
42
42
 
43
43
  type InputType = 'text' | 'password' | 'email' | 'tel';
44
44
  type DropdownItemType = 'item' | 'link' | 'divider';
45
45
  type PanelBlockItemType = 'icon' | 'control' | 'button';
46
46
 
47
+ type ChildrenType = string | React$1.ReactElement | React$1.ReactElement[];
48
+ type SingleChildType = Exclude<ChildrenType, React$1.ReactElement[]>;
49
+
47
50
  interface ColumnProps extends ElementProps, React$1.ComponentPropsWithoutRef<'section'> {
48
51
  /** `Attribute` Reffers to the component or array of components that will be shown inside the column */
49
- children?: string | React$1.ReactElement | React$1.ReactElement[];
52
+ children?: ChildrenType;
50
53
  /** `Styling` Set column's size */
51
- size?: columnSizeType;
54
+ size?: ColumnSizeType;
52
55
  /** `Styling` Set column's offset (moving it as you set its size */
53
- offset?: columnOffsetType;
56
+ offset?: ColumnOffsetType;
54
57
  /** `Styling` Set if the column only will take the space it needs */
55
58
  isNarrow?: boolean;
56
59
  }
@@ -60,7 +63,7 @@ interface ButtonProps extends ElementProps, React$1.ComponentPropsWithoutRef<'bu
60
63
  /** `Attribute` Will disable the button */
61
64
  isDisabled?: boolean;
62
65
  /** `Styling` Color based on bulma's color tokens */
63
- color?: basicColorType;
66
+ color?: BasicColorType;
64
67
  /** `Styling` Will adjust the selected color with a ligther style */
65
68
  isLightColor?: boolean;
66
69
  /** `Styling` Will invert button's colors (typography in color and background in white or black) */
@@ -76,7 +79,7 @@ interface ButtonProps extends ElementProps, React$1.ComponentPropsWithoutRef<'bu
76
79
  /** `Styling` Sets the button style when a User selects it (useful for an attached `ButtonGroup`) */
77
80
  isSelected?: boolean;
78
81
  /** `Styling` Set button's size on bulma's size tokens */
79
- size?: elementSizeType;
82
+ size?: ElementSizeType;
80
83
  /** `Function` Click function, alone does not nothing, but can be reused for other components */
81
84
  onClick?: () => void;
82
85
  }
@@ -86,15 +89,15 @@ interface ProgressBarProps extends ElementProps, React$1.ComponentPropsWithoutRe
86
89
  /** `Attribute` Sets the entire bar length comparing with current `value` */
87
90
  max?: number;
88
91
  /** `Styling` Color based on bulma's color tokens */
89
- color?: basicColorType;
92
+ color?: BasicColorType;
90
93
  /** `Styling` Set progress bar's size */
91
- size?: elementSizeType;
94
+ size?: ElementSizeType;
92
95
  /** `Styling` Will change `value` for an animated loading */
93
96
  isLoading?: boolean;
94
97
  }
95
98
  interface BlockProps extends ElementProps, React$1.ComponentPropsWithoutRef<'section'> {
96
99
  /** `Attribute` Reffers to the component or array of components that will be shown inside the block */
97
- children?: string | React$1.ReactElement | React$1.ReactElement[];
100
+ children?: ChildrenType;
98
101
  }
99
102
  interface TagProps extends ComposedElementProps, React$1.ComponentPropsWithoutRef<'span'> {
100
103
  /** `Attribute` `Required` The text will be shown in the `Tag` */
@@ -106,15 +109,15 @@ interface TagProps extends ComposedElementProps, React$1.ComponentPropsWithoutRe
106
109
  /** `Attribute` The text will be shown in the tag's addon */
107
110
  addonText?: string;
108
111
  /** `Styling` Color based on bulma's color tokens */
109
- color?: basicColorType;
112
+ color?: BasicColorType;
110
113
  /** `Styling` Will adjust the selected color with a ligther style */
111
114
  isLight?: boolean;
112
115
  /** `Styling` Will add round borders to tag's shape */
113
116
  isRounded?: boolean;
114
117
  /** `Styling` Set tag's size */
115
- size?: sizeWithoutNormalType;
118
+ size?: SizeWithoutNormalType;
116
119
  /** `Styling` Color on tag's addon based on bulma's color tokens */
117
- addonColor?: basicColorType;
120
+ addonColor?: BasicColorType;
118
121
  /** `Function` Click function for `delete` option, alone does not nothing, but can be reused for other components */
119
122
  onDeleteClick?: () => void;
120
123
  }
@@ -124,19 +127,19 @@ interface ImageProps extends ComposedElementProps, React$1.ComponentPropsWithout
124
127
  /** `Attribute` A description text for the image, useful for accessibility purposes */
125
128
  alt?: string;
126
129
  /** `Styling` Will add round borders to image's shape */
127
- fixedSize?: fixedImageSizeType;
130
+ fixedSize?: FixedImageSizeType;
128
131
  /** `Styling` Sets image size based on one of fixed ratios/fixed sizes */
129
132
  isRounded?: boolean;
130
133
  }
131
134
  interface BoxProps extends ElementProps, React$1.ComponentPropsWithoutRef<'section'> {
132
135
  /** `Attribute` Reffers to the component or array of components that will be shown inside the box */
133
- children?: string | React$1.ReactElement | React$1.ReactElement[];
136
+ children?: ChildrenType;
134
137
  }
135
138
  interface TitleSectionProps extends ElementProps, React$1.ComponentPropsWithoutRef<'p'> {
136
139
  /** `Attribute` Sets the text you want to show */
137
140
  text: string;
138
141
  /** `Styling` Set text size */
139
- size?: titleSizeType;
142
+ size?: TitleSizeType;
140
143
  /** `Styling` Set type of title (`title` at top, `subtitle` at below) */
141
144
  type: 'title' | 'subtitle';
142
145
  /** `Styling` Set text spacing at default or maximun length */
@@ -154,15 +157,15 @@ interface IconProps extends ComposedElementProps {
154
157
  /** `Attribute` Sets the text you want to show next to the icon */
155
158
  text?: string;
156
159
  /** `Styling` Color based on bulma's text color tokens */
157
- color?: textColorType;
160
+ color?: TextColorType;
158
161
  /** `Styling` Set icons's size */
159
- size?: sizeWithoutNormalType;
162
+ size?: SizeWithoutNormalType;
160
163
  /** `Styling` Special usage in case you want to set as dark or light mode */
161
- colorMode?: iconColorModeType;
164
+ colorMode?: IconColorModeType;
162
165
  /** `Styling` Animates the icon spinning 360° */
163
166
  isSpinning?: boolean;
164
167
  /** `Styling` Used for `InputControl` styling purpose only. Will move the Icon itself to control's Input side */
165
- position?: rightLeftAlignType;
168
+ position?: RightLeftAlignType;
166
169
  }
167
170
  interface InputProps extends ElementProps, ClickeableProps {
168
171
  /** `Attribute` `Required` What type of input will be used */
@@ -176,9 +179,9 @@ interface InputProps extends ElementProps, ClickeableProps {
176
179
  /** `Attribute` Will show the input as a normal one, but is not editable and has no shadow */
177
180
  isReadonly?: boolean;
178
181
  /** `Styling` Color based on bulma's text color tokens */
179
- color?: basicColorType;
182
+ color?: BasicColorType;
180
183
  /** `Styling` Set input's size */
181
- size?: sizeWithoutNormalType;
184
+ size?: SizeWithoutNormalType;
182
185
  /** `Styling` Will add round borders to input's shape */
183
186
  isRounded?: boolean;
184
187
  /** `Styling` Will add a specific border when the input is hovered by the user */
@@ -198,7 +201,7 @@ interface TextAreaProps extends Omit<InputProps, 'isRounded' | 'type'> {
198
201
  }
199
202
  interface DeleteProps extends ElementProps, ClickeableProps {
200
203
  /** `Styling` Set icons's size */
201
- size?: sizeWithoutNormalType;
204
+ size?: SizeWithoutNormalType;
202
205
  }
203
206
  interface SelectOption {
204
207
  id: string | number;
@@ -213,9 +216,9 @@ interface SelectProps extends ComposedElementProps, ClickeableProps {
213
216
  /** `Attribute` Will allow multiple selection */
214
217
  isMultiple?: boolean;
215
218
  /** `Styling` Color based on bulma's color tokens */
216
- color?: basicColorType;
219
+ color?: BasicColorType;
217
220
  /** `Styling` Set select's size */
218
- size?: elementSizeType;
221
+ size?: ElementSizeType;
219
222
  /** `Styling`Will add round borders to input's shape */
220
223
  isRounded?: boolean;
221
224
  /** `Styling`Will add a specific border when the input is hovered by the user */
@@ -237,13 +240,13 @@ interface FileProps extends ComposedElementProps, ClickeableProps {
237
240
  /** `Styling` Changes styling to a box style, making the button bigger and file name's position below the button */
238
241
  isBoxed?: boolean;
239
242
  /** `Styling` Color based on bulma's color tokens */
240
- color?: basicColorType;
243
+ color?: BasicColorType;
241
244
  /** `Styling` Set button's size */
242
- size?: elementSizeType;
245
+ size?: ElementSizeType;
243
246
  }
244
247
  interface CheckBoxProps extends ComposedElementProps {
245
248
  /** `Attribute` Sets checkbox's text that will be shown next to its control */
246
- content?: string | React$1.ReactElement | React$1.ReactElement[];
249
+ content?: ChildrenType;
247
250
  /** `Attribute` Will disable the checkbox */
248
251
  isDisabled?: boolean;
249
252
  /** `Function` Click function, alone does not nothing, but can be reused for other components */
@@ -313,6 +316,12 @@ interface TabItemProps extends ComposedElementProps, ClickeableProps {
313
316
  /** `Styling` Used for `Tabs` styling purpose only. Will mark the tab as the one selected among its group */
314
317
  isActive?: boolean;
315
318
  }
319
+ interface LevelHeaderProps extends ElementProps {
320
+ /** `Attribute` `Required` A title in smaller size */
321
+ header: string;
322
+ /** `Attribute` `Required` Main value (numeric or text) to be shown in a bigger scale below `header` */
323
+ value: string | number;
324
+ }
316
325
 
317
326
  declare const Button: React$1.FC<ButtonProps>;
318
327
 
@@ -358,6 +367,8 @@ declare const PaginationItem: React$1.FC<PaginationItemProps>;
358
367
 
359
368
  declare const TabItem: React$1.FC<TabItemProps>;
360
369
 
370
+ declare const LevelHeader: React$1.FC<LevelHeaderProps>;
371
+
361
372
  interface ButtonGroupProps extends ElementProps {
362
373
  /** `Atribute` `Required` Array of `Button` objects that will be shown */
363
374
  buttonList: ButtonProps[];
@@ -378,15 +389,15 @@ interface ColumnGroupProps extends ElementProps {
378
389
  /** `Styling` Will center the list of columns horizontally */
379
390
  isHorizontallyCentered?: boolean;
380
391
  /** `Styling` Will adjust the space between the columns. In case to set null, it will remove those gaps */
381
- gap?: columnGapType | null;
392
+ gap?: ColumnGapType | null;
382
393
  }
383
394
  interface NotificationProps extends ElementProps {
384
395
  /** `Attribute` Reffers to the component or array of components that will be shown inside the column */
385
- children?: string | React.ReactElement | React.ReactElement[];
396
+ children?: ChildrenType;
386
397
  /** `Atribute` Includes a `Delete` config object that will be shown */
387
398
  deleteButton?: DeleteProps;
388
399
  /** `Styling` Color based on bulma's color tokens */
389
- color?: basicColorType;
400
+ color?: BasicColorType;
390
401
  /** `Styling` Will adjust the selected color with a ligther style */
391
402
  isLightColor?: boolean;
392
403
  }
@@ -394,11 +405,11 @@ interface BreadcrumbsProps extends ComposedElementProps {
394
405
  /** `Atribute` `Required` Array of `BreadcrumbItems` objects that will be shown */
395
406
  items: BreadcrumbItemProps[];
396
407
  /** `Styling` Will adjust element position on screen */
397
- alignment?: rightCenteredAlignType | null;
408
+ alignment?: RightCenteredAlignType | null;
398
409
  /** `Styling` Will adjust element position on screen */
399
- separator?: breadcrumbSeparatorType | null;
410
+ separator?: BreadcrumbSeparatorType | null;
400
411
  /** `Styling` Set button's size on bulma's size tokens */
401
- size?: sizeWithoutNormalType;
412
+ size?: SizeWithoutNormalType;
402
413
  }
403
414
  interface DropdownProps extends ElementProps {
404
415
  /** `Atribute` `Required` Sets the name will be shown on the dropdown input */
@@ -416,9 +427,9 @@ interface MessageProps extends ElementProps {
416
427
  /** `Atribute` Includes a `Delete` config object that will be shown */
417
428
  deleteButton?: DeleteProps;
418
429
  /** `Styling` Color based on bulma's color tokens */
419
- color?: basicColorType;
430
+ color?: BasicColorType;
420
431
  /** `Styling` Set button's size on bulma's size tokens */
421
- size?: sizeWithoutNormalType;
432
+ size?: SizeWithoutNormalType;
422
433
  }
423
434
  interface MenuSubListProps {
424
435
  subListTitle: MenuItemProps;
@@ -461,13 +472,13 @@ interface PaginationProps extends ComposedElementProps {
461
472
  /** `Styling` Will add round borders to each page's shape */
462
473
  isRounded?: boolean;
463
474
  /** `Styling` Set button's size on bulma's size tokens */
464
- size?: sizeWithoutNormalType;
475
+ size?: SizeWithoutNormalType;
465
476
  /** `Styling` Will adjust the pages position on screen */
466
- alignment?: rightCenteredAlignType | null;
477
+ alignment?: RightCenteredAlignType | null;
467
478
  }
468
479
  interface ModalProps extends ComposedElementProps {
469
480
  /** `Attribute` Reffers to the component or array of components that will be shown inside the column */
470
- children?: string | React.ReactElement | React.ReactElement[] | null;
481
+ children?: ChildrenType | null;
471
482
  /** `Function` Custom function related to the modal's close button to inject custom code if needed */
472
483
  onCloseClick?: () => void;
473
484
  }
@@ -475,11 +486,11 @@ interface TabsProps extends ElementProps {
475
486
  /** `Attribute` `Required` List of tabs that will be shown in order */
476
487
  tabs: TabItemProps[];
477
488
  /** `Styling` Will adjust the tabs position on screen */
478
- alignment?: rightCenteredAlignType;
489
+ alignment?: RightCenteredAlignType;
479
490
  /** `Styling` Set tab's size on bulma's size tokens */
480
- size?: sizeWithoutNormalType;
491
+ size?: SizeWithoutNormalType;
481
492
  /** `Styling` Set tab's size on bulma's size tokens */
482
- format?: tabsFormatType;
493
+ format?: TabsFormatType;
483
494
  /** `Styling` Will add round tabs borders. Only visible if `format` is set to `is-toggle` */
484
495
  isRounded?: boolean;
485
496
  /** `Styling` The whole container will occupy its parent container width */
@@ -493,7 +504,7 @@ interface InputControlProps extends ElementProps {
493
504
  /** `Attribute` `Icon` configuration that will be shown in Input's right side */
494
505
  rightIcon?: IconProps;
495
506
  /** `Styling` Set control and its input size on bulma's size tokens */
496
- size?: sizeWithoutNormalType;
507
+ size?: SizeWithoutNormalType;
497
508
  /** `Styling` Will add an animated spinner on input's right side */
498
509
  isLoading?: boolean;
499
510
  /** `Styling` Used for `FormField` styling purpose only. Will strech the input and its container in full-width */
@@ -523,6 +534,12 @@ interface PanelTabsProps extends ElementProps {
523
534
  /** `Attribute` `Required` A list of configuration objects that will render a set of tabs */
524
535
  tabList: PanelTabItem[];
525
536
  }
537
+ interface LevelItemProps extends ElementProps {
538
+ /** `Attribute` `Required` Reffers to the component or string content that will be shown inside the level */
539
+ content: SingleChildType;
540
+ /** `Styling` Centers item's content horizontally */
541
+ isCentered?: boolean;
542
+ }
526
543
 
527
544
  declare const ButtonGroup: React$1.FC<ButtonGroupProps>;
528
545
 
@@ -552,9 +569,11 @@ declare const PanelBlock: React$1.FC<PanelBlockProps>;
552
569
 
553
570
  declare const PanelTabs: React$1.FC<PanelTabsProps>;
554
571
 
572
+ declare const LevelItem: React$1.FC<LevelItemProps>;
573
+
555
574
  interface FormFieldHelperProps {
556
575
  text?: string;
557
- color?: basicColorType;
576
+ color?: BasicColorType;
558
577
  }
559
578
  interface FormFieldProps extends ElementProps {
560
579
  /** `Attribute` `Required` Single or multiple `InputControlProps` config objects which will be wrapped around the `FormField` */
@@ -576,11 +595,37 @@ interface PanelProps extends ElementProps {
576
595
  /** `Attribute` `Required` A list of configuration objects that will render a list of block with different components, based on `PanelBlockList` component */
577
596
  blockList: PanelBlockProps[];
578
597
  /** `Styling` Color based on bulma's text color tokens */
579
- color?: basicColorType;
598
+ color?: BasicColorType;
599
+ }
600
+ interface LevelProps extends ElementProps {
601
+ /** `Attribute` A list of `LevelItem` configurations that will displayed in Level's left side */
602
+ leftSide?: LevelItemProps[];
603
+ /** `Attribute` A list of `LevelItem` configurations that will displayed in Level's center */
604
+ centerSide?: LevelItemProps[];
605
+ /** `Attribute` A list of `LevelItem` configurations that will displayed in Level's right side */
606
+ rightSide?: LevelItemProps[];
607
+ /** `Styling` Will adjust the navigator on horizontal on mobile as well */
608
+ isMobile?: boolean;
609
+ }
610
+ interface HeroProps extends ElementProps {
611
+ /** `Attribute` Designated section for hero's header, it will be visible only if container's `size` is setted to `is-fullheight` */
612
+ header?: ChildrenType;
613
+ /** `Attribute` `Required` Designated section for hero's body */
614
+ body: ChildrenType;
615
+ /** `Attribute` Designated section for hero's footer, it will be visible only if container's `size` is setted to `is-fullheight` */
616
+ footer?: ChildrenType;
617
+ /** `Styling` Set hero's size */
618
+ size?: SizeWithoutNormalType | 'is-halfheight' | 'is-fullheight';
619
+ /** `Styling` Color based on bulma's text color tokens */
620
+ color?: BasicColorType;
580
621
  }
581
622
 
582
623
  declare const FormField: React$1.FC<FormFieldProps>;
583
624
 
584
625
  declare const Panel: React$1.FC<PanelProps>;
585
626
 
586
- export { Block, Box, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, CheckBox as Checkbox, Column, ColumnGroup, Delete, Dropdown, DropdownItem, DropdownTrigger, File, FormField, Icon, Image, Input, InputControl, Menu, MenuItem, MenuList, Message, Modal, Notification, Pagination, PaginationItem, Panel, PanelBlock, PanelTabs, ProgressBar, RadioButton, Select, TabItem, Tabs, Tag, TextArea, Title };
627
+ declare const Level: React$1.FC<LevelProps>;
628
+
629
+ declare const Hero: React$1.FC<HeroProps>;
630
+
631
+ export { Block, Box, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, CheckBox as Checkbox, Column, ColumnGroup, Delete, Dropdown, DropdownItem, DropdownTrigger, File, FormField, Hero, Icon, Image, Input, InputControl, Level, LevelHeader, LevelItem, Menu, MenuItem, MenuList, Message, Modal, Notification, Pagination, PaginationItem, Panel, PanelBlock, PanelTabs, ProgressBar, RadioButton, Select, TabItem, Tabs, Tag, TextArea, Title };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactive-bulma",
3
- "version": "2.12.0",
3
+ "version": "2.14.0",
4
4
  "description": "A component library based on React, Bulma, Typescript and Rollup",
5
5
  "keywords": [
6
6
  "typescript",