reactive-bulma 4.0.30 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +250 -252
  3. package/package.json +46 -35
  4. package/dist/cjs/index.js +0 -4089
  5. package/dist/cjs/index.js.map +0 -1
  6. package/dist/cjs/types/components/atoms/Block/index.d.ts +0 -4
  7. package/dist/cjs/types/components/atoms/Box/index.d.ts +0 -4
  8. package/dist/cjs/types/components/atoms/BreadcrumbItem/index.d.ts +0 -4
  9. package/dist/cjs/types/components/atoms/Button/index.d.ts +0 -4
  10. package/dist/cjs/types/components/atoms/Checkbox/index.d.ts +0 -4
  11. package/dist/cjs/types/components/atoms/Column/index.d.ts +0 -4
  12. package/dist/cjs/types/components/atoms/Delete/index.d.ts +0 -4
  13. package/dist/cjs/types/components/atoms/DropdownItem/index.d.ts +0 -4
  14. package/dist/cjs/types/components/atoms/DropdownTrigger/index.d.ts +0 -4
  15. package/dist/cjs/types/components/atoms/File/index.d.ts +0 -4
  16. package/dist/cjs/types/components/atoms/Icon/index.d.ts +0 -4
  17. package/dist/cjs/types/components/atoms/Image/index.d.ts +0 -4
  18. package/dist/cjs/types/components/atoms/Input/index.d.ts +0 -4
  19. package/dist/cjs/types/components/atoms/LevelHeader/index.d.ts +0 -4
  20. package/dist/cjs/types/components/atoms/MenuItem/index.d.ts +0 -4
  21. package/dist/cjs/types/components/atoms/NavBarItem/index.d.ts +0 -4
  22. package/dist/cjs/types/components/atoms/PaginationItem/index.d.ts +0 -4
  23. package/dist/cjs/types/components/atoms/ProgressBar/index.d.ts +0 -4
  24. package/dist/cjs/types/components/atoms/RadioButton/index.d.ts +0 -4
  25. package/dist/cjs/types/components/atoms/Select/index.d.ts +0 -4
  26. package/dist/cjs/types/components/atoms/TabItem/index.d.ts +0 -4
  27. package/dist/cjs/types/components/atoms/TableCell/index.d.ts +0 -4
  28. package/dist/cjs/types/components/atoms/TableHeadCell/index.d.ts +0 -4
  29. package/dist/cjs/types/components/atoms/Tag/index.d.ts +0 -4
  30. package/dist/cjs/types/components/atoms/TextArea/index.d.ts +0 -4
  31. package/dist/cjs/types/components/atoms/Tile/index.d.ts +0 -4
  32. package/dist/cjs/types/components/atoms/Title/index.d.ts +0 -4
  33. package/dist/cjs/types/components/atoms/index.d.ts +0 -27
  34. package/dist/cjs/types/components/molecules/Breadcrumbs/index.d.ts +0 -4
  35. package/dist/cjs/types/components/molecules/ButtonGroup/index.d.ts +0 -4
  36. package/dist/cjs/types/components/molecules/ColumnGroup/index.d.ts +0 -4
  37. package/dist/cjs/types/components/molecules/Dropdown/index.d.ts +0 -4
  38. package/dist/cjs/types/components/molecules/Footer/index.d.ts +0 -4
  39. package/dist/cjs/types/components/molecules/InputControl/index.d.ts +0 -4
  40. package/dist/cjs/types/components/molecules/LevelItem/index.d.ts +0 -4
  41. package/dist/cjs/types/components/molecules/Media/index.d.ts +0 -4
  42. package/dist/cjs/types/components/molecules/Menu/index.d.ts +0 -4
  43. package/dist/cjs/types/components/molecules/MenuList/index.d.ts +0 -4
  44. package/dist/cjs/types/components/molecules/Message/index.d.ts +0 -4
  45. package/dist/cjs/types/components/molecules/Modal/index.d.ts +0 -4
  46. package/dist/cjs/types/components/molecules/NavBarBrand/index.d.ts +0 -4
  47. package/dist/cjs/types/components/molecules/NavBarDropdown/index.d.ts +0 -4
  48. package/dist/cjs/types/components/molecules/Notification/index.d.ts +0 -4
  49. package/dist/cjs/types/components/molecules/Pagination/index.d.ts +0 -4
  50. package/dist/cjs/types/components/molecules/PanelBlock/index.d.ts +0 -4
  51. package/dist/cjs/types/components/molecules/PanelTabs/index.d.ts +0 -4
  52. package/dist/cjs/types/components/molecules/Section/index.d.ts +0 -4
  53. package/dist/cjs/types/components/molecules/TableRow/index.d.ts +0 -4
  54. package/dist/cjs/types/components/molecules/Tabs/index.d.ts +0 -4
  55. package/dist/cjs/types/components/molecules/TileBox/index.d.ts +0 -4
  56. package/dist/cjs/types/components/molecules/index.d.ts +0 -22
  57. package/dist/cjs/types/components/organisms/Card/index.d.ts +0 -4
  58. package/dist/cjs/types/components/organisms/FormField/index.d.ts +0 -4
  59. package/dist/cjs/types/components/organisms/Hero/index.d.ts +0 -4
  60. package/dist/cjs/types/components/organisms/Level/index.d.ts +0 -4
  61. package/dist/cjs/types/components/organisms/NavBar/index.d.ts +0 -4
  62. package/dist/cjs/types/components/organisms/Panel/index.d.ts +0 -4
  63. package/dist/cjs/types/components/organisms/Table/index.d.ts +0 -4
  64. package/dist/cjs/types/components/organisms/TileGroup/index.d.ts +0 -4
  65. package/dist/cjs/types/components/organisms/index.d.ts +0 -8
  66. package/dist/cjs/types/functions/generators.d.ts +0 -4
  67. package/dist/cjs/types/functions/jest.d.ts +0 -2
  68. package/dist/cjs/types/functions/parsers.d.ts +0 -14
  69. package/dist/cjs/types/functions/tests/generators.test.d.ts +0 -1
  70. package/dist/cjs/types/functions/tests/parsers.test.d.ts +0 -1
  71. package/dist/cjs/types/index.d.ts +0 -5
  72. package/dist/cjs/types/interfaces/atomProps.d.ts +0 -305
  73. package/dist/cjs/types/interfaces/commonProps.d.ts +0 -25
  74. package/dist/cjs/types/interfaces/functionProps.d.ts +0 -16
  75. package/dist/cjs/types/interfaces/moleculeProps.d.ts +0 -231
  76. package/dist/cjs/types/interfaces/organismProps.d.ts +0 -112
  77. package/dist/cjs/types/types/domTypes.d.ts +0 -16
  78. package/dist/cjs/types/types/styleTypes.d.ts +0 -19
  79. package/dist/esm/index.js +0 -4031
  80. package/dist/esm/index.js.map +0 -1
  81. package/dist/esm/types/components/atoms/Block/index.d.ts +0 -4
  82. package/dist/esm/types/components/atoms/Box/index.d.ts +0 -4
  83. package/dist/esm/types/components/atoms/BreadcrumbItem/index.d.ts +0 -4
  84. package/dist/esm/types/components/atoms/Button/index.d.ts +0 -4
  85. package/dist/esm/types/components/atoms/Checkbox/index.d.ts +0 -4
  86. package/dist/esm/types/components/atoms/Column/index.d.ts +0 -4
  87. package/dist/esm/types/components/atoms/Delete/index.d.ts +0 -4
  88. package/dist/esm/types/components/atoms/DropdownItem/index.d.ts +0 -4
  89. package/dist/esm/types/components/atoms/DropdownTrigger/index.d.ts +0 -4
  90. package/dist/esm/types/components/atoms/File/index.d.ts +0 -4
  91. package/dist/esm/types/components/atoms/Icon/index.d.ts +0 -4
  92. package/dist/esm/types/components/atoms/Image/index.d.ts +0 -4
  93. package/dist/esm/types/components/atoms/Input/index.d.ts +0 -4
  94. package/dist/esm/types/components/atoms/LevelHeader/index.d.ts +0 -4
  95. package/dist/esm/types/components/atoms/MenuItem/index.d.ts +0 -4
  96. package/dist/esm/types/components/atoms/NavBarItem/index.d.ts +0 -4
  97. package/dist/esm/types/components/atoms/PaginationItem/index.d.ts +0 -4
  98. package/dist/esm/types/components/atoms/ProgressBar/index.d.ts +0 -4
  99. package/dist/esm/types/components/atoms/RadioButton/index.d.ts +0 -4
  100. package/dist/esm/types/components/atoms/Select/index.d.ts +0 -4
  101. package/dist/esm/types/components/atoms/TabItem/index.d.ts +0 -4
  102. package/dist/esm/types/components/atoms/TableCell/index.d.ts +0 -4
  103. package/dist/esm/types/components/atoms/TableHeadCell/index.d.ts +0 -4
  104. package/dist/esm/types/components/atoms/Tag/index.d.ts +0 -4
  105. package/dist/esm/types/components/atoms/TextArea/index.d.ts +0 -4
  106. package/dist/esm/types/components/atoms/Tile/index.d.ts +0 -4
  107. package/dist/esm/types/components/atoms/Title/index.d.ts +0 -4
  108. package/dist/esm/types/components/atoms/index.d.ts +0 -27
  109. package/dist/esm/types/components/molecules/Breadcrumbs/index.d.ts +0 -4
  110. package/dist/esm/types/components/molecules/ButtonGroup/index.d.ts +0 -4
  111. package/dist/esm/types/components/molecules/ColumnGroup/index.d.ts +0 -4
  112. package/dist/esm/types/components/molecules/Dropdown/index.d.ts +0 -4
  113. package/dist/esm/types/components/molecules/Footer/index.d.ts +0 -4
  114. package/dist/esm/types/components/molecules/InputControl/index.d.ts +0 -4
  115. package/dist/esm/types/components/molecules/LevelItem/index.d.ts +0 -4
  116. package/dist/esm/types/components/molecules/Media/index.d.ts +0 -4
  117. package/dist/esm/types/components/molecules/Menu/index.d.ts +0 -4
  118. package/dist/esm/types/components/molecules/MenuList/index.d.ts +0 -4
  119. package/dist/esm/types/components/molecules/Message/index.d.ts +0 -4
  120. package/dist/esm/types/components/molecules/Modal/index.d.ts +0 -4
  121. package/dist/esm/types/components/molecules/NavBarBrand/index.d.ts +0 -4
  122. package/dist/esm/types/components/molecules/NavBarDropdown/index.d.ts +0 -4
  123. package/dist/esm/types/components/molecules/Notification/index.d.ts +0 -4
  124. package/dist/esm/types/components/molecules/Pagination/index.d.ts +0 -4
  125. package/dist/esm/types/components/molecules/PanelBlock/index.d.ts +0 -4
  126. package/dist/esm/types/components/molecules/PanelTabs/index.d.ts +0 -4
  127. package/dist/esm/types/components/molecules/Section/index.d.ts +0 -4
  128. package/dist/esm/types/components/molecules/TableRow/index.d.ts +0 -4
  129. package/dist/esm/types/components/molecules/Tabs/index.d.ts +0 -4
  130. package/dist/esm/types/components/molecules/TileBox/index.d.ts +0 -4
  131. package/dist/esm/types/components/molecules/index.d.ts +0 -22
  132. package/dist/esm/types/components/organisms/Card/index.d.ts +0 -4
  133. package/dist/esm/types/components/organisms/FormField/index.d.ts +0 -4
  134. package/dist/esm/types/components/organisms/Hero/index.d.ts +0 -4
  135. package/dist/esm/types/components/organisms/Level/index.d.ts +0 -4
  136. package/dist/esm/types/components/organisms/NavBar/index.d.ts +0 -4
  137. package/dist/esm/types/components/organisms/Panel/index.d.ts +0 -4
  138. package/dist/esm/types/components/organisms/Table/index.d.ts +0 -4
  139. package/dist/esm/types/components/organisms/TileGroup/index.d.ts +0 -4
  140. package/dist/esm/types/components/organisms/index.d.ts +0 -8
  141. package/dist/esm/types/functions/generators.d.ts +0 -4
  142. package/dist/esm/types/functions/jest.d.ts +0 -2
  143. package/dist/esm/types/functions/parsers.d.ts +0 -14
  144. package/dist/esm/types/functions/tests/generators.test.d.ts +0 -1
  145. package/dist/esm/types/functions/tests/parsers.test.d.ts +0 -1
  146. package/dist/esm/types/index.d.ts +0 -5
  147. package/dist/esm/types/interfaces/atomProps.d.ts +0 -305
  148. package/dist/esm/types/interfaces/commonProps.d.ts +0 -25
  149. package/dist/esm/types/interfaces/functionProps.d.ts +0 -16
  150. package/dist/esm/types/interfaces/moleculeProps.d.ts +0 -231
  151. package/dist/esm/types/interfaces/organismProps.d.ts +0 -112
  152. package/dist/esm/types/types/domTypes.d.ts +0 -16
  153. package/dist/esm/types/types/styleTypes.d.ts +0 -19
  154. package/dist/index.d.ts +0 -805
package/dist/index.d.ts DELETED
@@ -1,805 +0,0 @@
1
- import React$1 from 'react';
2
-
3
- interface ContainerProps {
4
- /** `Attribute` *For container case*. ID used to locate the element in unit test suites (like Jest) */
5
- containerTestId?: string;
6
- /** `Attribute` *For container case*. Custom CSS classes, applicable for specific scenarios */
7
- containerCssClasses?: string;
8
- /** `Attribute` *For container case*. Custom styling applicable for specific scenarios */
9
- containerStyle?: React.CSSProperties;
10
- }
11
- interface ElementProps {
12
- /** `Attribute` ID used to locate the element in unit test suites (like Jest) */
13
- testId?: string;
14
- /** `Attribute` Custom CSS classes, applicable for specific scenarios */
15
- cssClasses?: string;
16
- /** `Attribute` Custom styling applicable for specific scenarios */
17
- style?: React.CSSProperties;
18
- }
19
- interface ComposedElementProps extends ElementProps, ContainerProps {
20
- }
21
- interface ClickeableProps {
22
- /** `Function` Click function, alone does not nothing, but can be reused for other components */
23
- onClick?: () => void;
24
- }
25
-
26
- type CommonSizeType = 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6' | 'is-7' | 'is-8' | 'is-9' | 'is-10' | 'is-11' | 'is-12';
27
- type AbstractSizeType = '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';
28
- type ColumnSizeType = CommonSizeType | AbstractSizeType;
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 TitleSizeType = 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6';
31
- 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';
32
- 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';
33
- 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';
34
- type ElementSizeType = 'is-small' | 'is-normal' | 'is-medium' | 'is-large';
35
- type SizeWithoutNormalType = Exclude<ElementSizeType, 'is-normal'>;
36
- type SizeWithHeightType = SizeWithoutNormalType | 'is-halfheight' | 'is-fullheight';
37
- type MediumAndLargeSizeType = Exclude<SizeWithoutNormalType, 'is-small'>;
38
- type IconColorModeType = 'light' | 'dark';
39
- type ColumnGapType = 'is-0' | 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6' | 'is-7' | 'is-8';
40
- type ElementAlignType = 'is-centered' | 'is-right' | 'is-left';
41
- type RightCenteredAlignType = Exclude<ElementAlignType, 'is-left'>;
42
- type RightLeftAlignType = Exclude<ElementAlignType, 'is-centered'>;
43
- type BreadcrumbSeparatorType = 'has-arrow-separator' | 'has-bullet-separator' | 'has-dot-separator' | 'has-succeeds-separator';
44
- type TabsFormatType = 'is-boxed' | 'is-toggle';
45
-
46
- type InputType = 'text' | 'password' | 'email' | 'tel';
47
- type DropdownItemType = 'item' | 'link' | 'divider';
48
- type PanelBlockItemType = 'icon' | 'control' | 'button';
49
- type ChildrenType = string | React$1.ReactElement | React$1.ReactElement[];
50
- type SingleChildType = Exclude<ChildrenType, React$1.ReactElement[]>;
51
- type TileContextType = 'is-child' | 'is-parent' | 'is-ancestor';
52
- type NavBarFixedPositionType = 'top' | 'bottom';
53
-
54
- interface ColumnProps extends ElementProps, React$1.ComponentPropsWithoutRef<'section'> {
55
- /** `Attribute` Reffers to the component or array of components that will be shown inside the column */
56
- children?: ChildrenType;
57
- /** `Styling` Set column's size */
58
- size?: ColumnSizeType;
59
- /** `Styling` Set column's offset (moving it as you set its size */
60
- offset?: ColumnOffsetType;
61
- /** `Styling` Set if the column only will take the space it needs */
62
- isNarrow?: boolean;
63
- }
64
- interface ButtonProps extends ElementProps, React$1.ComponentPropsWithoutRef<'button'> {
65
- /** `Attribute` The text will be shown in the `Button` */
66
- text?: string;
67
- /** `Attribute` Will disable the button */
68
- isDisabled?: boolean;
69
- /** `Styling` Color based on bulma's color tokens */
70
- color?: BasicColorType;
71
- /** `Styling` Will adjust the selected color with a ligther style */
72
- isLightColor?: boolean;
73
- /** `Styling` Will invert button's colors (typography in color and background in white or black) */
74
- isInvertedColor?: boolean;
75
- /** `Styling` Similar to `isInvertedColor`, but button's border will be colored */
76
- isOutlined?: boolean;
77
- /** `Styling` Will add round borders to button's shape */
78
- isRounded?: boolean;
79
- /** `Styling` Will change `text` for an animated spinner, but will remain clickeable */
80
- isLoading?: boolean;
81
- /** `Styling` Similar to `isDisabled`, but will remove any color style */
82
- isStatic?: boolean;
83
- /** `Styling` Sets the button style when a User selects it (useful for an attached `ButtonGroup`) */
84
- isSelected?: boolean;
85
- /** `Styling` Set button's size on bulma's size tokens */
86
- size?: ElementSizeType;
87
- /** `Function` Click function, alone does not nothing, but can be reused for other components */
88
- onClick?: () => void;
89
- }
90
- interface ProgressBarProps extends ElementProps, React$1.ComponentPropsWithoutRef<'progress'> {
91
- /** `Attribute` Sets colored bar at the level against `max` value (`100` by default) */
92
- value?: number;
93
- /** `Attribute` Sets the entire bar length comparing with current `value` */
94
- max?: number;
95
- /** `Styling` Color based on bulma's color tokens */
96
- color?: BasicColorType;
97
- /** `Styling` Set progress bar's size */
98
- size?: ElementSizeType;
99
- /** `Styling` Will change `value` for an animated loading */
100
- isLoading?: boolean;
101
- }
102
- interface BlockProps extends ElementProps, React$1.ComponentPropsWithoutRef<'section'> {
103
- /** `Attribute` Reffers to the component or array of components that will be shown inside the block */
104
- children?: ChildrenType;
105
- }
106
- interface TagProps extends ComposedElementProps, React$1.ComponentPropsWithoutRef<'span'> {
107
- /** `Attribute` `Required` The text will be shown in the `Tag` */
108
- text: string;
109
- /** `Attribute` Will add a delete button (for both single or addon cases) */
110
- withDelete?: boolean;
111
- /** `Attribute` Will add a second tag element (that could have its own text, color and delete) */
112
- withAddon?: boolean;
113
- /** `Attribute` The text will be shown in the tag's addon */
114
- addonText?: string;
115
- /** `Styling` Color based on bulma's color tokens */
116
- color?: BasicColorType;
117
- /** `Styling` Will adjust the selected color with a ligther style */
118
- isLight?: boolean;
119
- /** `Styling` Will add round borders to tag's shape */
120
- isRounded?: boolean;
121
- /** `Styling` Set tag's size */
122
- size?: SizeWithoutNormalType;
123
- /** `Styling` Color on tag's addon based on bulma's color tokens */
124
- addonColor?: BasicColorType;
125
- /** `Function` Click function for `delete` option, alone does not nothing, but can be reused for other components */
126
- onDeleteClick?: () => void;
127
- }
128
- interface ImageProps extends ComposedElementProps, React$1.ComponentPropsWithoutRef<'figure'> {
129
- /** `Attribute` `Required` The image source that will be shown */
130
- src: string;
131
- /** `Attribute` A description text for the image, useful for accessibility purposes */
132
- alt?: string;
133
- /** `Styling` Will add round borders to image's shape */
134
- fixedSize?: FixedImageSizeType;
135
- /** `Styling` Sets image size based on one of fixed ratios/fixed sizes */
136
- isRounded?: boolean;
137
- }
138
- interface BoxProps extends ElementProps, React$1.ComponentPropsWithoutRef<'section'> {
139
- /** `Attribute` Reffers to the component or array of components that will be shown inside the box */
140
- children?: ChildrenType;
141
- }
142
- interface TitleSectionProps extends ElementProps, React$1.ComponentPropsWithoutRef<'p'> {
143
- /** `Attribute` Sets the text you want to show */
144
- text: string;
145
- /** `Styling` Set text size */
146
- size?: TitleSizeType;
147
- /** `Styling` Set type of title (`title` at top, `subtitle` at below) */
148
- type: 'title' | 'subtitle';
149
- /** `Styling` Set text spacing at default or maximun length */
150
- isSpaced?: boolean;
151
- }
152
- interface TitleProps {
153
- /** `Attribute` Main title configuration object */
154
- main?: TitleSectionProps;
155
- /** `Attribute` Subtitle title configuration object */
156
- secondary?: TitleSectionProps;
157
- }
158
- interface IconProps extends ComposedElementProps {
159
- /** `Attribute` `Required` Sets the icon key work based on [Material Design icon list](https://pictogrammers.com/library/mdi/) */
160
- iconLabel: string;
161
- /** `Attribute` Sets the text you want to show next to the icon */
162
- text?: string;
163
- /** `Styling` Color based on bulma's text color tokens */
164
- color?: TextColorType;
165
- /** `Styling` Set icons's size */
166
- size?: SizeWithoutNormalType;
167
- /** `Styling` Special usage in case you want to set as dark or light mode */
168
- colorMode?: IconColorModeType;
169
- /** `Styling` Animates the icon spinning 360° */
170
- isSpinning?: boolean;
171
- /** `Styling` Used for `InputControl` styling purpose only. Will move the Icon itself to control's Input side */
172
- position?: RightLeftAlignType;
173
- }
174
- interface InputProps extends ElementProps, ClickeableProps {
175
- /** `Attribute` `Required` What type of input will be used */
176
- type: InputType;
177
- /** `Attribute` The value that will be shown on the input */
178
- text?: string;
179
- /** `Attribute` The text that will be shown if the user does not type any value */
180
- placeholder?: string;
181
- /** `Attribute` Will disable the input */
182
- isDisabled?: boolean;
183
- /** `Attribute` Will show the input as a normal one, but is not editable and has no shadow */
184
- isReadonly?: boolean;
185
- /** `Styling` Color based on bulma's text color tokens */
186
- color?: BasicColorType;
187
- /** `Styling` Set input's size */
188
- size?: SizeWithoutNormalType;
189
- /** `Styling` Will add round borders to input's shape */
190
- isRounded?: boolean;
191
- /** `Styling` Will add a specific border when the input is hovered by the user */
192
- isHovered?: boolean;
193
- /** `Styling` Will add a specific border when the input is focused by the user */
194
- isFocused?: boolean;
195
- /** `Function` Reffers to each time the user press a key. Alone does not nothing, but can be reused for other components */
196
- onChange?: () => void;
197
- }
198
- interface TextAreaProps extends Omit<InputProps, 'isRounded' | 'type'> {
199
- /** `Attribute` Text area's columns value that sets its width */
200
- cols?: number;
201
- /** `Attribute` Text area's rows value that sets its height */
202
- rows?: number;
203
- /** `Styling` Will disable characteristic sizable property by removing its control on bottom-right corner */
204
- isFixedSize?: boolean;
205
- }
206
- interface DeleteProps extends ElementProps, ClickeableProps {
207
- /** `Styling` Set icons's size */
208
- size?: SizeWithoutNormalType;
209
- }
210
- interface SelectOption {
211
- id: string | number;
212
- name: string;
213
- selected?: boolean;
214
- }
215
- interface SelectProps extends ComposedElementProps, ClickeableProps {
216
- /** `Attribute` Indicates the options contained on the select */
217
- options?: SelectOption[];
218
- /** `Attribute` Indicates how many options will be shown at first glance (before looking for the whole list */
219
- showOptions?: number;
220
- /** `Attribute` Will allow multiple selection */
221
- isMultiple?: boolean;
222
- /** `Styling` Color based on bulma's color tokens */
223
- color?: BasicColorType;
224
- /** `Styling` Set select's size */
225
- size?: ElementSizeType;
226
- /** `Styling`Will add round borders to input's shape */
227
- isRounded?: boolean;
228
- /** `Styling`Will add a specific border when the input is hovered by the user */
229
- isHovered?: boolean;
230
- /** `Styling`Will add a specific border when the input is focused by the user */
231
- isFocused?: boolean;
232
- }
233
- interface FileProps extends ComposedElementProps, ClickeableProps {
234
- /** `Attribute` The name of the file to be uploaded */
235
- fileName?: string;
236
- /** `Attribute` The icon displayed in file's button" */
237
- uploadIcon?: IconProps;
238
- /** `Attribute` The text displayed in file's button */
239
- uploadText?: string;
240
- /** `Styling` Changes button's position to its right */
241
- buttonOnRight?: boolean;
242
- /** `Styling` The whole container (button and file name) will occupy its parent container width */
243
- isFullWidth?: boolean;
244
- /** `Styling` Changes styling to a box style, making the button bigger and file name's position below the button */
245
- isBoxed?: boolean;
246
- /** `Styling` Color based on bulma's color tokens */
247
- color?: BasicColorType;
248
- /** `Styling` Set button's size */
249
- size?: ElementSizeType;
250
- }
251
- interface CheckBoxProps extends ComposedElementProps {
252
- /** `Attribute` Sets checkbox's text that will be shown next to its control */
253
- content?: ChildrenType;
254
- /** `Attribute` Will disable the checkbox */
255
- isDisabled?: boolean;
256
- /** `Function` Click function, alone does not nothing, but can be reused for other components */
257
- onChange?: () => void;
258
- }
259
- interface RadioButtonItemProps extends Pick<ElementProps, 'testId' | 'style'> {
260
- /** `Attribute` `Required` Sets checkbox's text*/
261
- label: string;
262
- /** `Attribute` Sets the name that will relate this checkbox with the others */
263
- name?: string;
264
- /** `Attribute` Shows the checkbox as checked or unchecked */
265
- isChecked?: boolean;
266
- /** `Attribute` Will disable the checkbox */
267
- isDisabled?: boolean;
268
- /** `Function` Click function, alone does not nothing, but can be reused for other components */
269
- onChange?: () => void;
270
- }
271
- interface RadioButtonProps extends ComposedElementProps {
272
- /** `Attribute` `Required` Indicates the options contained to be selected */
273
- options: RadioButtonItemProps[];
274
- /** `Attribute` `Required` Sets the name that will relate this checkbox with the others */
275
- name: string;
276
- /** `Function` Click function, alone does not nothing, but can be reused for other components */
277
- onChange?: () => void;
278
- }
279
- interface BreadcrumbItemProps extends ComposedElementProps, ClickeableProps {
280
- /** `Attribute` `Required` Indicates item text that will be shown */
281
- text: string;
282
- /** `Styling` Marks the item as the one where user is located (based on breadcrumb hierarchy) */
283
- isActiveItem?: boolean;
284
- }
285
- interface DropdownTriggerProps extends ComposedElementProps, ClickeableProps {
286
- /** `Attribute` `Required` Sets the name will be shown on the dropdown input */
287
- menuText: string;
288
- /** `Attribute` Sets a relationship between trigger's button and dropdown's menu to toggle display */
289
- dropdownPointer?: string;
290
- }
291
- interface DropdownItemProps extends ElementProps, ClickeableProps {
292
- /** `Attribute` `Required` Sets the name will be shown on the item */
293
- itemText: string;
294
- /** `Attribute` Changes item's composition into a `<hr>`, a `<a>` or a `<div>` depending its type */
295
- type?: DropdownItemType;
296
- /** `Styling` Marks the item as the one where user is located (based on dropdown hierarchy) */
297
- isActiveItem?: boolean;
298
- }
299
- interface MenuItemProps extends ElementProps, ClickeableProps {
300
- /** `Attribute` `Required` Sets the text will be shown on the menu item */
301
- text: string;
302
- /** `Styling` Generates a blue background to mark the item as the active one in the `MenuList` */
303
- isActive?: boolean;
304
- }
305
- interface PaginationItemProps extends ElementProps, ClickeableProps {
306
- /** `Attribute` `Required` Sets the number string that will be shown in the item and in its title when user hovers it */
307
- text: string | number;
308
- /** `Attribute` Sets a custom text before the `text` when user hovers the item */
309
- labelText?: string;
310
- /** `Attribute` Sets a custom text before the `text` when user hovers the item if is the current one */
311
- currentLabelText?: string;
312
- /** `Styling` Makes the item the selected one, changing its background to blue */
313
- isSelected?: boolean;
314
- }
315
- interface TabItemProps extends ComposedElementProps, ClickeableProps {
316
- /** `Attribute` `Required` The text will be shown in the `TabItem` */
317
- text: string;
318
- /** `Attribute` Adds an `Icon` component before the text */
319
- icon?: IconProps;
320
- /** `Styling` Used for `Tabs` styling purpose only. Will mark the tab as the one selected among its group */
321
- isActive?: boolean;
322
- }
323
- interface LevelHeaderProps extends ElementProps {
324
- /** `Attribute` `Required` A title in smaller size */
325
- header: string;
326
- /** `Attribute` `Required` Main value (numeric or text) to be shown in a bigger scale below `header` */
327
- value: string | number;
328
- }
329
- interface TileProps extends ElementProps {
330
- /** `Attribute` Reffers to the component or array of components that will be shown inside the tile */
331
- children?: ChildrenType;
332
- /** `Attribute` Indicates its hierarchy level based on [Bulma documantation](https://bulma.io/documentation/layout/tiles/#nesting-requirements). Selection any level besides `is-child` will invalidate any `color` you select */
333
- context?: TileContextType;
334
- /** `Styling` Set tile's size */
335
- size?: CommonSizeType;
336
- /** `Styling` Color based on bulma's color tokens */
337
- color?: BasicColorType;
338
- /** `Styling` Used for hierarchy level as ancestor or parent. It selects its children in a vertical format (like a column) */
339
- isVertical?: boolean;
340
- }
341
- interface NavBarItemProps extends ElementProps, ClickeableProps {
342
- /** `Attribute` `Required` Reffers to the component or string that will be shown inside the item */
343
- children: SingleChildType;
344
- /** `Styling` Used for `NavBarDropdown` styling purpose only. Will mark the item as the one selected among its group */
345
- isActive?: boolean;
346
- }
347
- interface TableHeadCellProps extends ElementProps, ClickeableProps {
348
- /** `Attribute` `Required` It will display cell's content, which could be text, an html tag or a custom component */
349
- content: SingleChildType;
350
- }
351
- interface TableCellProps extends ElementProps, ClickeableProps {
352
- /** `Attribute` `Required` It will display cell's content, which could be text, an html tag or a custom component */
353
- content: SingleChildType;
354
- }
355
-
356
- declare const Button: React$1.FC<ButtonProps>;
357
-
358
- declare const Column: React$1.FC<ColumnProps>;
359
-
360
- declare const ProgressBar: React$1.FC<ProgressBarProps>;
361
-
362
- declare const Block: React$1.FC<BlockProps>;
363
-
364
- declare const Tag: React$1.FC<TagProps>;
365
-
366
- declare const Box: React$1.FC<BoxProps>;
367
-
368
- declare const Title: React$1.FC<TitleProps>;
369
-
370
- declare const Icon: React$1.FC<IconProps>;
371
-
372
- declare const Input: React$1.FC<InputProps>;
373
-
374
- declare const TextArea: React$1.FC<TextAreaProps>;
375
-
376
- declare const Delete: React$1.FC<DeleteProps>;
377
-
378
- declare const Select: React$1.FC<SelectProps>;
379
-
380
- declare const File: React$1.FC<FileProps>;
381
-
382
- declare const CheckBox: React$1.FC<CheckBoxProps>;
383
-
384
- declare const RadioButton: React$1.FC<RadioButtonProps>;
385
-
386
- declare const BreadcrumbItem: React$1.FC<BreadcrumbItemProps>;
387
-
388
- declare const DropdownTrigger: React$1.FC<DropdownTriggerProps>;
389
-
390
- declare const DropdownItem: React$1.FC<DropdownItemProps>;
391
-
392
- declare const MenuItem: React$1.FC<MenuItemProps>;
393
-
394
- declare const Image: React$1.FC<ImageProps>;
395
-
396
- declare const PaginationItem: React$1.FC<PaginationItemProps>;
397
-
398
- declare const TabItem: React$1.FC<TabItemProps>;
399
-
400
- declare const LevelHeader: React$1.FC<LevelHeaderProps>;
401
-
402
- declare const Tile: React$1.FC<TileProps>;
403
-
404
- declare const NavBarItem: React$1.FC<NavBarItemProps>;
405
-
406
- declare const TableHeadCell: React$1.FC<TableHeadCellProps>;
407
-
408
- declare const TableCell: React$1.FC<TableCellProps>;
409
-
410
- interface ButtonGroupProps extends ElementProps {
411
- /** `Atribute` `Required` Array of `Button` objects that will be shown */
412
- buttonList: ButtonProps[];
413
- /** `Styling` Will group the list of buttonList in a single line */
414
- isAttached?: boolean;
415
- /** `Styling` Sets group position on the container */
416
- position?: 'left' | 'centered' | 'right';
417
- }
418
- interface ColumnGroupProps extends ElementProps {
419
- /** `Atribute` `Required` Array of `Column` objects that will be shown */
420
- listOfColumns: ColumnProps[];
421
- /** `Styling` Will adjust column structure display layout in case you want to work on mobiles */
422
- isMobileLayout?: boolean;
423
- /** `Styling` Will reorder column display in multiple lines each time exceeds viewport width */
424
- isMultiline?: boolean;
425
- /** `Styling` Will center the list of columns vertically */
426
- isVerticallyCentered?: boolean;
427
- /** `Styling` Will center the list of columns horizontally */
428
- isHorizontallyCentered?: boolean;
429
- /** `Styling` Will adjust the space between the columns. In case to set null, it will remove those gaps */
430
- gap?: ColumnGapType | null;
431
- }
432
- interface NotificationProps extends ElementProps {
433
- /** `Attribute` Reffers to the component or array of components that will be shown inside the column */
434
- children?: ChildrenType;
435
- /** `Atribute` Includes a `Delete` config object that will be shown */
436
- deleteButton?: DeleteProps;
437
- /** `Styling` Color based on bulma's color tokens */
438
- color?: BasicColorType;
439
- /** `Styling` Will adjust the selected color with a ligther style */
440
- isLightColor?: boolean;
441
- }
442
- interface BreadcrumbsProps extends ComposedElementProps {
443
- /** `Atribute` `Required` Array of `BreadcrumbItems` objects that will be shown */
444
- items: BreadcrumbItemProps[];
445
- /** `Styling` Will adjust element position on screen */
446
- alignment?: RightCenteredAlignType | null;
447
- /** `Styling` Will adjust element position on screen */
448
- separator?: BreadcrumbSeparatorType | null;
449
- /** `Styling` Set breadcrumb's size on bulma's size tokens */
450
- size?: SizeWithoutNormalType;
451
- }
452
- interface DropdownProps extends ElementProps {
453
- /** `Atribute` `Required` Sets the name will be shown on the dropdown input */
454
- inputText: string;
455
- /** `Attribute` Sets a relationship between dropdown trigger's button and dropdown's menu to toggle display */
456
- dropdownPointer?: string;
457
- /** `Atribute` `Required` Array of `DropdownItem` objects that will be shown on its menu */
458
- listOfItems: DropdownItemProps[];
459
- }
460
- interface MessageProps extends ElementProps {
461
- /** `Atribute` Sets the header's text that will be shown on message's darker zone */
462
- headerText?: string;
463
- /** `Atribute` `Required` Sets the body's text that will be shown on message's lighter zone */
464
- bodyText: string;
465
- /** `Atribute` Includes a `Delete` config object that will be shown */
466
- deleteButton?: DeleteProps;
467
- /** `Styling` Color based on bulma's color tokens */
468
- color?: BasicColorType;
469
- /** `Styling` Set button's size on bulma's size tokens */
470
- size?: SizeWithoutNormalType;
471
- }
472
- interface MenuSubListProps {
473
- subListTitle: MenuItemProps;
474
- subItems: MenuItemProps[];
475
- }
476
- type MenuListItemType = MenuItemProps | MenuSubListProps;
477
- interface MenuListProps extends ElementProps {
478
- /** `Attribute` `Required` List of menu items that can be used as single ones or in a list/sublist format */
479
- itemList: Array<MenuListItemType>;
480
- }
481
- interface MenuSectionProps {
482
- /** `Attribute` `Required` Label that will be show at the beginning of each section */
483
- label: string;
484
- /** `Attribute` `Required` List of menu items that can be used as single ones or in a list/sublist format */
485
- itemList: Array<MenuListItemType>;
486
- }
487
- interface MenuProps extends ElementProps {
488
- /** `Attribute` `Required` List of sections that can be single or second level MenuItems */
489
- menuSections: MenuSectionProps[];
490
- }
491
- interface PaginationNavigationButtonProps extends ClickeableProps {
492
- /** `Attribute` `Required` Text that will be shown on the button */
493
- text: string;
494
- /** `Attribute` Will disable the button */
495
- isDisabled?: boolean;
496
- /** `Attribute` Custom CSS classes, applicable for specific scenarios */
497
- cssClasses?: string;
498
- }
499
- interface PaginationProps extends ComposedElementProps {
500
- /** `Attribute` `Required` List of sections that can be single or second level MenuItems */
501
- pages: PaginationItemProps[];
502
- /** `Attribute` Adds a couple of ellipsis between the first and last item */
503
- hasEllipsis?: boolean;
504
- /** `Attribute` Number of items that will be hidden if `hasEllipsis` is `true` */
505
- ellipsisItems?: number;
506
- /** `Attribute` Toogle `Previous` and `Next page` buttons next to the selectable pages */
507
- showPreviousPageButton?: PaginationNavigationButtonProps | null;
508
- /** `Attribute` Toogle `Previous` and `Next page` buttons next to the selectable pages */
509
- showNextPageButton?: PaginationNavigationButtonProps | null;
510
- /** `Styling` Will add round borders to each page's shape */
511
- isRounded?: boolean;
512
- /** `Styling` Set button's size on bulma's size tokens */
513
- size?: SizeWithoutNormalType;
514
- /** `Styling` Will adjust the pages position on screen */
515
- alignment?: RightCenteredAlignType | null;
516
- }
517
- interface ModalProps extends ComposedElementProps {
518
- /** `Attribute` Reffers to the component or array of components that will be shown inside the column */
519
- children?: ChildrenType | null;
520
- /** `Function` Custom function related to the modal's close button to inject custom code if needed */
521
- onCloseClick?: () => void;
522
- }
523
- interface TabsProps extends ElementProps {
524
- /** `Attribute` `Required` List of tabs that will be shown in order */
525
- tabs: TabItemProps[];
526
- /** `Styling` Will adjust the tabs position on screen */
527
- alignment?: RightCenteredAlignType;
528
- /** `Styling` Set tab's size on bulma's size tokens */
529
- size?: SizeWithoutNormalType;
530
- /** `Styling` Set tab's size on bulma's size tokens */
531
- format?: TabsFormatType;
532
- /** `Styling` Will add round tabs borders. Only visible if `format` is set to `is-toggle` */
533
- isRounded?: boolean;
534
- /** `Styling` The whole container will occupy its parent container width */
535
- isFullWidth?: boolean;
536
- }
537
- interface InputControlProps extends ElementProps {
538
- /** `Attribute` `Required` control's input configuration which will be wrapped */
539
- inputConfig: InputProps;
540
- /** `Attribute` `Icon` configuration that will be shown in Input's left side */
541
- leftIcon?: IconProps;
542
- /** `Attribute` `Icon` configuration that will be shown in Input's right side */
543
- rightIcon?: IconProps;
544
- /** `Styling` Set control and its input size on bulma's size tokens */
545
- size?: SizeWithoutNormalType;
546
- /** `Styling` Will add an animated spinner on input's right side */
547
- isLoading?: boolean;
548
- /** `Styling` Used for `FormField` styling purpose only. Will strech the input and its container in full-width */
549
- isExpanded?: boolean;
550
- }
551
- interface PanelBlockItemProps {
552
- /** `Attribute` `Required` Indicates to component's parser which type of component will be rendered based on its option */
553
- type: PanelBlockItemType;
554
- /** `Attribute` `Required` The component properties that will configure that specific instance */
555
- props: InputControlProps | IconProps | ButtonProps;
556
- }
557
- interface PanelBlockProps extends ComposedElementProps, ClickeableProps {
558
- /** `Attribute` `Required` Configuration object with a type and a set of props based on the available components that could be rendered in each `PanelBlock` */
559
- config: PanelBlockItemProps;
560
- /** `Attribute` Usable when config's U is `icon` only. It will display a text next to mentioned icon (for user purposes) */
561
- blockText?: string;
562
- /** `Styling` Used for `PanelBlock` styling purpose only. Will mark its rendered component as the one selected among its group */
563
- isActive?: boolean;
564
- }
565
- interface PanelTabItem extends ClickeableProps {
566
- /** `Attribute` `Required` Will show the text to the user in shape of tab */
567
- text: string;
568
- /** `Styling` Used for `PanelTab` styling purpose only. Will mark its rendered component as the one selected among its group */
569
- isActive?: boolean;
570
- }
571
- interface PanelTabsProps extends ElementProps {
572
- /** `Attribute` `Required` A list of configuration objects that will render a set of tabs */
573
- tabList: PanelTabItem[];
574
- }
575
- interface LevelItemProps extends ElementProps {
576
- /** `Attribute` `Required` Reffers to the component or string content that will be shown inside the level */
577
- content: SingleChildType;
578
- /** `Styling` Centers item's content horizontally */
579
- isCentered?: boolean;
580
- }
581
- interface TileBoxProps extends TileProps {
582
- }
583
- interface FooterProps extends ComposedElementProps {
584
- /** `Attribute` `Required` Reffers to the component, list of components or string content that will be shown inside the footer */
585
- content: ChildrenType;
586
- /** `Styling` Centers footer¿s content horizontally */
587
- isContentCentered?: boolean;
588
- }
589
- interface MediaProps extends ElementProps {
590
- /** `Attribute` Reffers to the component or string content that will be shown inside the component's left side */
591
- leftContent?: SingleChildType;
592
- /** `Attribute` Reffers to the component or string content that will be shown inside the component's center */
593
- centerContent?: SingleChildType;
594
- /** `Attribute` Reffers to the component or string content that will be shown inside the component's right side */
595
- rightContent?: SingleChildType;
596
- }
597
- interface SectionProps extends ElementProps {
598
- /** `Attribute` `Required` Reffers to the component or string content that will be shown inside the section */
599
- content: SingleChildType;
600
- /** `Styling` Set button's size on bulma's size tokens */
601
- size?: MediumAndLargeSizeType;
602
- }
603
- interface NavBarDropdownProps extends ComposedElementProps {
604
- /** `Attribute` `Required` It will show the presentation text to be clicked or hovered in order to display its menu */
605
- text: string;
606
- /** `Attribute` `Required` A list of configuration objects that will render in dropdown's menu. Those can be items or dividers */
607
- items: Array<NavBarItemProps | 'divider'>;
608
- /** `Styling` Used for `NavBar` styling purpose only. Will set the dropdown on a specific position based on the proveded value */
609
- position?: RightLeftAlignType;
610
- /** `Styling` Used to display dropdown's menu when user clicks on its text */
611
- isActive?: boolean;
612
- /** `Styling` Similar to `isActive`, but will display when user hovers its pointer on its text */
613
- isHoverable?: boolean;
614
- /** `Styling` Sets dropdown's menu on top of the text instead default styling */
615
- hasDropdownUp?: boolean;
616
- /** `Styling` Sets dropdown's menu design like a box, also adds some animation when its diplayed */
617
- hasBoxedMenu?: boolean;
618
- }
619
- interface BrandConfigProps extends Omit<NavBarItemProps, 'children'> {
620
- children: ImageProps;
621
- }
622
- interface NavBarBrandProps extends ElementProps {
623
- /** `Attribute` `Required` Configuration object to inject a `NavBarItem` with a Image configuration as its children */
624
- brandConfig: BrandConfigProps;
625
- /** `Styling` It sets brand's burger button as active (changing looks from a burger to a cross) */
626
- isBurgerActive?: boolean;
627
- }
628
- interface TableRowProps extends ElementProps, ClickeableProps {
629
- /** `Attribute` Configuration object to inject a `TableHeaderCell` as row's head */
630
- headCell?: TableHeadCellProps;
631
- /** `Attribute` `Required` List of `TableCell` that will be rendered on the table */
632
- listOfCells: TableCellProps[];
633
- /** `Styling` Used for `Table` styling purpose only. Will set row's background color to indicate it has been selected by the user */
634
- isSelected?: boolean;
635
- }
636
-
637
- declare const ButtonGroup: React$1.FC<ButtonGroupProps>;
638
-
639
- declare const ColumnGroup: React$1.FC<ColumnGroupProps>;
640
-
641
- declare const Notification: React$1.FC<NotificationProps>;
642
-
643
- declare const Breadcrumbs: React$1.FC<BreadcrumbsProps>;
644
-
645
- declare const Dropdown: React$1.FC<DropdownProps>;
646
-
647
- declare const Message: React$1.FC<MessageProps>;
648
-
649
- declare const Menu: React$1.FC<MenuProps>;
650
-
651
- declare const MenuList: React$1.FC<MenuListProps>;
652
-
653
- declare const Pagination: React$1.FC<PaginationProps>;
654
-
655
- declare const Modal: React$1.FC<ModalProps>;
656
-
657
- declare const Tabs: React$1.FC<TabsProps>;
658
-
659
- declare const InputControl: React$1.FC<InputControlProps>;
660
-
661
- declare const PanelBlock: React$1.FC<PanelBlockProps>;
662
-
663
- declare const PanelTabs: React$1.FC<PanelTabsProps>;
664
-
665
- declare const LevelItem: React$1.FC<LevelItemProps>;
666
-
667
- declare const TileBox: React$1.FC<TileBoxProps>;
668
-
669
- declare const Footer: React$1.FC<FooterProps>;
670
-
671
- declare const Media: React$1.FC<MediaProps>;
672
-
673
- declare const Section: React$1.FC<SectionProps>;
674
-
675
- declare const NavBarBrand: React$1.FC<NavBarBrandProps>;
676
-
677
- declare const NavBarDropdown: React$1.FC<NavBarDropdownProps>;
678
-
679
- declare const TableRow: React$1.FC<TableRowProps>;
680
-
681
- interface FormFieldHelperProps {
682
- text?: string;
683
- color?: BasicColorType;
684
- }
685
- interface FormFieldProps extends ElementProps {
686
- /** `Attribute` `Required` Single or multiple `InputControlProps` config objects which will be wrapped around the `FormField` */
687
- inputControlConfig: InputControlProps | InputControlProps[];
688
- /** `Attribute` Sets a custom text before the wrapped input to indicate its usage */
689
- labelText?: string;
690
- /** `Attribute` Adds a helper text below the wrapped paragraph to provide context information */
691
- helperConfig?: FormFieldHelperProps;
692
- /** `Styling` Will adjust field's sections (label, input/s and helper) in horizontal position */
693
- isHorizontal?: boolean;
694
- /** `Styling` Will group the list of inputs in a same wrapper (useful for several inputs with same usage, as a complex address) */
695
- isGrouped?: boolean;
696
- }
697
- interface PanelProps extends ElementProps {
698
- /** `Attribute` `Required` Will display Panel's header text */
699
- headerText: string;
700
- /** `Attribute` A configuration object that will render a set of tabs based on `PanelTab` component */
701
- panelTabs?: PanelTabsProps;
702
- /** `Attribute` `Required` A list of configuration objects that will render a list of block with different components, based on `PanelBlockList` component */
703
- blockList: PanelBlockProps[];
704
- /** `Styling` Color based on bulma's text color tokens */
705
- color?: BasicColorType;
706
- }
707
- interface LevelProps extends ElementProps {
708
- /** `Attribute` A list of `LevelItem` configurations that will br displayed in Level's left side */
709
- leftSide?: LevelItemProps[];
710
- /** `Attribute` A list of `LevelItem` configurations that will br displayed in Level's center */
711
- centerSide?: LevelItemProps[];
712
- /** `Attribute` A list of `LevelItem` configurations that will br displayed in Level's right side */
713
- rightSide?: LevelItemProps[];
714
- /** `Styling` Will adjust the navigator on horizontal on mobile as well */
715
- isMobile?: boolean;
716
- }
717
- interface HeroProps extends ElementProps {
718
- /** `Attribute` Designated section for hero's header, it will be visible only if container's `size` is setted to `is-fullheight` */
719
- header?: ChildrenType;
720
- /** `Attribute` `Required` Designated section for hero's body */
721
- body: ChildrenType;
722
- /** `Attribute` Designated section for hero's footer, it will be visible only if container's `size` is setted to `is-fullheight` */
723
- footer?: ChildrenType;
724
- /** `Styling` Set hero's size */
725
- size?: SizeWithHeightType;
726
- /** `Styling` Color based on bulma's text color tokens */
727
- color?: BasicColorType;
728
- }
729
- interface TileGroupProps extends ElementProps, Pick<TileProps, 'context' | 'isVertical' | 'size'> {
730
- /** `Attribute` `Required` A list of `Title` configurations that will be displayed in a grid mode on the screen */
731
- groupConfig: TileProps[];
732
- }
733
- interface NavBarMenuProps {
734
- itemList: Array<NavBarItemProps | NavBarDropdownProps>;
735
- showInMobile?: boolean;
736
- }
737
- interface NavBarProps extends ElementProps {
738
- /** `Attribute` Configuration object for navbar's left section, it needs of a `NavBarBrand` object to be displayed at NavBar's start */
739
- brandConfig?: NavBarBrandProps;
740
- /** `Attribute` Configuration object for navbar's left section, it needs of a list of `NavBarItem` or `NavBarDropdown` objects to be displayed */
741
- itemsAtStart?: NavBarMenuProps;
742
- /** `Attribute` Configuration object for navbar's right section, it needs of a list of `NavBarItem` or `NavBarDropdown` objects to be displayed */
743
- itemsAtEnd?: NavBarMenuProps;
744
- /** `Styling` Sets navbar's position at screen's top or bottom */
745
- fixedPosition?: NavBarFixedPositionType;
746
- /** `Styling` Color based on bulma's text color tokens */
747
- color?: BasicColorType;
748
- /** `Styling` Sets navbar's color as transparent */
749
- isTransparent?: boolean;
750
- /** `Styling` Adds a small padding around the navbar */
751
- isSpaced?: boolean;
752
- /** `Styling` Adds a small shadow on navbar's bottom */
753
- hasShadow?: boolean;
754
- }
755
- interface CardFooterProps extends ClickeableProps {
756
- text: string;
757
- }
758
- interface CardProps extends ElementProps {
759
- /** `Attribute` It will shot a text on card's top, just a paragraph */
760
- headerText?: string;
761
- /** `Attribute` A single configuration object that will render an `Image` component */
762
- image?: ImageProps;
763
- /** `Attribute` `Required` Deisgnated section where you can include a string, a single or list of components (each one separated in its own `content` section) */
764
- content: ChildrenType;
765
- /** `Attribute` A list of footer links that will be rendered on card's bottom, below its content */
766
- footerLinks?: CardFooterProps[];
767
- }
768
- interface TableProps extends ElementProps {
769
- /** `Attribute` `Required` Configuration object that will display table's head */
770
- head: TableHeadCellProps[];
771
- /** `Attribute` `Required` Configuration object that will display table's body */
772
- body: TableRowProps[];
773
- /** `Attribute` Configuration object that will display table's foot */
774
- foot?: TableHeadCellProps[];
775
- /** `Styling` It will add a Bordered styling to the table. It can be combined with other mentioned styling properties. */
776
- isBordered?: boolean;
777
- /** `Styling` It will add a Striped styling to the table. It can be combined with other mentioned styling properties. */
778
- isStriped?: boolean;
779
- /** `Styling` It will add a Narrow styling to the table. It can be combined with other mentioned styling properties. */
780
- isNarrow?: boolean;
781
- /** `Styling` It will add a Hoverable styling to the table. It can be combined with other mentioned styling properties. */
782
- isHoverable?: boolean;
783
- /** `Styling` It will add a Fullwidth styling to the table. It can be combined with other mentioned styling properties. */
784
- isFullwidth?: boolean;
785
- /** `Styling` Will create a container around the table in order to make it scrollable */
786
- isContained?: boolean;
787
- }
788
-
789
- declare const FormField: React$1.FC<FormFieldProps>;
790
-
791
- declare const Panel: React$1.FC<PanelProps>;
792
-
793
- declare const Level: React$1.FC<LevelProps>;
794
-
795
- declare const Hero: React$1.FC<HeroProps>;
796
-
797
- declare const TileGroup: React$1.FC<TileGroupProps>;
798
-
799
- declare const NavBar: React$1.FC<NavBarProps>;
800
-
801
- declare const Card: React$1.FC<CardProps>;
802
-
803
- declare const Table: React$1.FC<TableProps>;
804
-
805
- export { Block, Box, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, Card, CheckBox as Checkbox, Column, ColumnGroup, Delete, Dropdown, DropdownItem, DropdownTrigger, File, Footer, FormField, Hero, Icon, Image, Input, InputControl, Level, LevelHeader, LevelItem, Media, Menu, MenuItem, MenuList, Message, Modal, NavBar, NavBarBrand, NavBarDropdown, NavBarItem, Notification, Pagination, PaginationItem, Panel, PanelBlock, PanelTabs, ProgressBar, RadioButton, Section, Select, TabItem, Table, TableCell, TableHeadCell, TableRow, Tabs, Tag, TextArea, Tile, TileBox, TileGroup, Title };