reactive-bulma 2.12.0 → 2.13.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 { LevelHeaderProps } from '../../../interfaces/atomProps';
3
+ declare const LevelHeader: React.FC<LevelHeaderProps>;
4
+ export default LevelHeader;
@@ -20,3 +20,4 @@ export { default as MenuItem } from './MenuItem';
20
20
  export { default as Image } from './Image';
21
21
  export { default as PaginationItem } from './PaginationItem';
22
22
  export { default as TabItem } from './TabItem';
23
+ export { default as LevelHeader } from './LevelHeader';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { LevelItemProps } from '../../../interfaces/moleculeProps';
3
+ declare const LevelItem: React.FC<LevelItemProps>;
4
+ export default LevelItem;
@@ -12,3 +12,4 @@ export { default as Tabs } from './Tabs';
12
12
  export { default as InputControl } from './InputControl';
13
13
  export { default as PanelBlock } from './PanelBlock';
14
14
  export { default as PanelTabs } from './PanelTabs';
15
+ export { default as LevelItem } from '../molecules/LevelItem';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { LevelProps } from '../../../interfaces/organismProps';
3
+ declare const Level: React.FC<LevelProps>;
4
+ export default Level;
@@ -1,2 +1,3 @@
1
1
  export { default as FormField } from './FormField';
2
2
  export { default as Panel } from './Panel';
3
+ export { default as Level } from './Level';
@@ -271,3 +271,9 @@ export interface TabItemProps extends ComposedElementProps, ClickeableProps {
271
271
  /** `Styling` Used for `Tabs` styling purpose only. Will mark the tab as the one selected among its group */
272
272
  isActive?: boolean;
273
273
  }
274
+ export interface LevelHeaderProps extends ElementProps {
275
+ /** `Attribute` `Required` A title in smaller size */
276
+ header: string;
277
+ /** `Attribute` `Required` Main value (numeric or text) to be shown in a bigger scale below `header` */
278
+ value: string | number;
279
+ }
@@ -168,4 +168,10 @@ export interface PanelTabsProps extends ElementProps {
168
168
  /** `Attribute` `Required` A list of configuration objects that will render a set of tabs */
169
169
  tabList: PanelTabItem[];
170
170
  }
171
+ export interface LevelItemProps extends ElementProps {
172
+ /** `Attribute` `Required` Reffers to the component or string content that will be shown inside the level */
173
+ content: string | React.ReactElement;
174
+ /** `Styling` Centers item's content horizontally */
175
+ isCentered?: boolean;
176
+ }
171
177
  export {};
@@ -1,5 +1,5 @@
1
1
  import { ElementProps } from './commonProps';
2
- import { InputControlProps, PanelBlockProps, PanelTabsProps } from './moleculeProps';
2
+ import { InputControlProps, LevelItemProps, PanelBlockProps, PanelTabsProps } from './moleculeProps';
3
3
  import { basicColorType } from '../types/styleTypes';
4
4
  export interface FormFieldHelperProps {
5
5
  text?: string;
@@ -27,3 +27,13 @@ export interface PanelProps extends ElementProps {
27
27
  /** `Styling` Color based on bulma's text color tokens */
28
28
  color?: basicColorType;
29
29
  }
30
+ export interface LevelProps extends ElementProps {
31
+ /** `Attribute` A list of `LevelItem` configurations that will displayed in Level's left side */
32
+ leftSide?: LevelItemProps[];
33
+ /** `Attribute` A list of `LevelItem` configurations that will displayed in Level's center */
34
+ centerSide?: LevelItemProps[];
35
+ /** `Attribute` A list of `LevelItem` configurations that will displayed in Level's right side */
36
+ rightSide?: LevelItemProps[];
37
+ /** `Styling` Will adjust the navigator on horizontal on mobile as well */
38
+ isMobile?: boolean;
39
+ }
package/dist/index.d.ts CHANGED
@@ -313,6 +313,12 @@ interface TabItemProps extends ComposedElementProps, ClickeableProps {
313
313
  /** `Styling` Used for `Tabs` styling purpose only. Will mark the tab as the one selected among its group */
314
314
  isActive?: boolean;
315
315
  }
316
+ interface LevelHeaderProps extends ElementProps {
317
+ /** `Attribute` `Required` A title in smaller size */
318
+ header: string;
319
+ /** `Attribute` `Required` Main value (numeric or text) to be shown in a bigger scale below `header` */
320
+ value: string | number;
321
+ }
316
322
 
317
323
  declare const Button: React$1.FC<ButtonProps>;
318
324
 
@@ -358,6 +364,8 @@ declare const PaginationItem: React$1.FC<PaginationItemProps>;
358
364
 
359
365
  declare const TabItem: React$1.FC<TabItemProps>;
360
366
 
367
+ declare const LevelHeader: React$1.FC<LevelHeaderProps>;
368
+
361
369
  interface ButtonGroupProps extends ElementProps {
362
370
  /** `Atribute` `Required` Array of `Button` objects that will be shown */
363
371
  buttonList: ButtonProps[];
@@ -523,6 +531,12 @@ interface PanelTabsProps extends ElementProps {
523
531
  /** `Attribute` `Required` A list of configuration objects that will render a set of tabs */
524
532
  tabList: PanelTabItem[];
525
533
  }
534
+ interface LevelItemProps extends ElementProps {
535
+ /** `Attribute` `Required` Reffers to the component or string content that will be shown inside the level */
536
+ content: string | React.ReactElement;
537
+ /** `Styling` Centers item's content horizontally */
538
+ isCentered?: boolean;
539
+ }
526
540
 
527
541
  declare const ButtonGroup: React$1.FC<ButtonGroupProps>;
528
542
 
@@ -552,6 +566,8 @@ declare const PanelBlock: React$1.FC<PanelBlockProps>;
552
566
 
553
567
  declare const PanelTabs: React$1.FC<PanelTabsProps>;
554
568
 
569
+ declare const LevelItem: React$1.FC<LevelItemProps>;
570
+
555
571
  interface FormFieldHelperProps {
556
572
  text?: string;
557
573
  color?: basicColorType;
@@ -578,9 +594,21 @@ interface PanelProps extends ElementProps {
578
594
  /** `Styling` Color based on bulma's text color tokens */
579
595
  color?: basicColorType;
580
596
  }
597
+ interface LevelProps extends ElementProps {
598
+ /** `Attribute` A list of `LevelItem` configurations that will displayed in Level's left side */
599
+ leftSide?: LevelItemProps[];
600
+ /** `Attribute` A list of `LevelItem` configurations that will displayed in Level's center */
601
+ centerSide?: LevelItemProps[];
602
+ /** `Attribute` A list of `LevelItem` configurations that will displayed in Level's right side */
603
+ rightSide?: LevelItemProps[];
604
+ /** `Styling` Will adjust the navigator on horizontal on mobile as well */
605
+ isMobile?: boolean;
606
+ }
581
607
 
582
608
  declare const FormField: React$1.FC<FormFieldProps>;
583
609
 
584
610
  declare const Panel: React$1.FC<PanelProps>;
585
611
 
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 };
612
+ declare const Level: React$1.FC<LevelProps>;
613
+
614
+ export { Block, Box, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, CheckBox as Checkbox, Column, ColumnGroup, Delete, Dropdown, DropdownItem, DropdownTrigger, File, FormField, 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.13.0",
4
4
  "description": "A component library based on React, Bulma, Typescript and Rollup",
5
5
  "keywords": [
6
6
  "typescript",