reactive-bulma 4.1.0 → 4.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (259) hide show
  1. package/dist/assets/style.css +1 -0
  2. package/dist/components/atoms/Block/index.d.ts +4 -0
  3. package/dist/components/atoms/Block/index.js +18 -0
  4. package/dist/components/atoms/Block/index.stories.d.ts +8 -0
  5. package/dist/components/atoms/Block/index.test.d.ts +0 -0
  6. package/dist/components/atoms/Box/index.d.ts +4 -0
  7. package/dist/components/atoms/Box/index.js +18 -0
  8. package/dist/components/atoms/Box/index.stories.d.ts +8 -0
  9. package/dist/components/atoms/Box/index.test.d.ts +0 -0
  10. package/dist/components/atoms/BreadcrumbItem/index.d.ts +4 -0
  11. package/dist/components/atoms/BreadcrumbItem/index.js +44 -0
  12. package/dist/components/atoms/BreadcrumbItem/index.stories.d.ts +6 -0
  13. package/dist/components/atoms/BreadcrumbItem/index.test.d.ts +0 -0
  14. package/dist/components/atoms/Button/index.d.ts +4 -0
  15. package/dist/components/atoms/Button/index.js +49 -0
  16. package/dist/components/atoms/Button/index.stories.d.ts +14 -0
  17. package/dist/components/atoms/Button/index.test.d.ts +0 -0
  18. package/dist/components/atoms/Checkbox/index.d.ts +4 -0
  19. package/dist/components/atoms/Checkbox/index.js +49 -0
  20. package/dist/components/atoms/Checkbox/index.stories.d.ts +9 -0
  21. package/dist/components/atoms/Checkbox/index.test.d.ts +0 -0
  22. package/dist/components/atoms/Column/index.d.ts +4 -0
  23. package/dist/components/atoms/Column/index.js +31 -0
  24. package/dist/components/atoms/Column/index.stories.d.ts +8 -0
  25. package/dist/components/atoms/Column/index.test.d.ts +0 -0
  26. package/dist/components/atoms/Delete/index.d.ts +4 -0
  27. package/dist/components/atoms/Delete/index.js +26 -0
  28. package/dist/components/atoms/Delete/index.stories.d.ts +6 -0
  29. package/dist/components/atoms/Delete/index.test.d.ts +0 -0
  30. package/dist/components/atoms/DropdownItem/index.d.ts +4 -0
  31. package/dist/components/atoms/DropdownItem/index.js +37 -0
  32. package/dist/components/atoms/DropdownItem/index.stories.d.ts +5 -0
  33. package/dist/components/atoms/DropdownItem/index.test.d.ts +0 -0
  34. package/dist/components/atoms/DropdownTrigger/index.d.ts +4 -0
  35. package/dist/components/atoms/DropdownTrigger/index.js +53 -0
  36. package/dist/components/atoms/DropdownTrigger/index.stories.d.ts +5 -0
  37. package/dist/components/atoms/DropdownTrigger/index.test.d.ts +0 -0
  38. package/dist/components/atoms/File/index.d.ts +4 -0
  39. package/dist/components/atoms/File/index.js +73 -0
  40. package/dist/components/atoms/File/index.stories.d.ts +13 -0
  41. package/dist/components/atoms/File/index.test.d.ts +0 -0
  42. package/dist/components/atoms/Icon/index.d.ts +4 -0
  43. package/dist/components/atoms/Icon/index.js +88 -0
  44. package/dist/components/atoms/Icon/index.stories.d.ts +12 -0
  45. package/dist/components/atoms/Icon/index.test.d.ts +0 -0
  46. package/dist/components/atoms/Image/index.d.ts +4 -0
  47. package/dist/components/atoms/Image/index.js +44 -0
  48. package/dist/components/atoms/Image/index.stories.d.ts +8 -0
  49. package/dist/components/atoms/Image/index.test.d.ts +0 -0
  50. package/dist/components/atoms/Input/index.d.ts +4 -0
  51. package/dist/components/atoms/Input/index.js +50 -0
  52. package/dist/components/atoms/Input/index.stories.d.ts +15 -0
  53. package/dist/components/atoms/Input/index.test.d.ts +0 -0
  54. package/dist/components/atoms/LevelHeader/index.d.ts +4 -0
  55. package/dist/components/atoms/LevelHeader/index.js +26 -0
  56. package/dist/components/atoms/LevelHeader/index.stories.d.ts +6 -0
  57. package/dist/components/atoms/LevelHeader/index.test.d.ts +0 -0
  58. package/dist/components/atoms/MenuItem/index.d.ts +4 -0
  59. package/dist/components/atoms/MenuItem/index.js +30 -0
  60. package/dist/components/atoms/MenuItem/index.stories.d.ts +6 -0
  61. package/dist/components/atoms/MenuItem/index.test.d.ts +0 -0
  62. package/dist/components/atoms/NavBarItem/index.d.ts +4 -0
  63. package/dist/components/atoms/NavBarItem/index.js +30 -0
  64. package/dist/components/atoms/NavBarItem/index.stories.d.ts +5 -0
  65. package/dist/components/atoms/NavBarItem/index.test.d.ts +0 -0
  66. package/dist/components/atoms/PaginationItem/index.d.ts +4 -0
  67. package/dist/components/atoms/PaginationItem/index.js +37 -0
  68. package/dist/components/atoms/PaginationItem/index.stories.d.ts +8 -0
  69. package/dist/components/atoms/PaginationItem/index.test.d.ts +0 -0
  70. package/dist/components/atoms/ProgressBar/index.d.ts +4 -0
  71. package/dist/components/atoms/ProgressBar/index.js +36 -0
  72. package/dist/components/atoms/ProgressBar/index.stories.d.ts +10 -0
  73. package/dist/components/atoms/ProgressBar/index.test.d.ts +0 -0
  74. package/dist/components/atoms/RadioButton/index.d.ts +4 -0
  75. package/dist/components/atoms/RadioButton/index.js +71 -0
  76. package/dist/components/atoms/RadioButton/index.stories.d.ts +8 -0
  77. package/dist/components/atoms/RadioButton/index.test.d.ts +0 -0
  78. package/dist/components/atoms/Select/index.d.ts +4 -0
  79. package/dist/components/atoms/Select/index.js +64 -0
  80. package/dist/components/atoms/Select/index.stories.d.ts +9 -0
  81. package/dist/components/atoms/Select/index.test.d.ts +0 -0
  82. package/dist/components/atoms/TabItem/index.d.ts +4 -0
  83. package/dist/components/atoms/TabItem/index.js +44 -0
  84. package/dist/components/atoms/TabItem/index.stories.d.ts +6 -0
  85. package/dist/components/atoms/TabItem/index.test.d.ts +0 -0
  86. package/dist/components/atoms/TableCell/index.d.ts +4 -0
  87. package/dist/components/atoms/TableCell/index.js +24 -0
  88. package/dist/components/atoms/TableCell/index.stories.d.ts +5 -0
  89. package/dist/components/atoms/TableCell/index.test.d.ts +0 -0
  90. package/dist/components/atoms/TableHeadCell/index.d.ts +4 -0
  91. package/dist/components/atoms/TableHeadCell/index.js +24 -0
  92. package/dist/components/atoms/TableHeadCell/index.stories.d.ts +5 -0
  93. package/dist/components/atoms/TableHeadCell/index.test.d.ts +0 -0
  94. package/dist/components/atoms/Tag/index.d.ts +4 -0
  95. package/dist/components/atoms/Tag/index.js +87 -0
  96. package/dist/components/atoms/Tag/index.stories.d.ts +13 -0
  97. package/dist/components/atoms/Tag/index.test.d.ts +0 -0
  98. package/dist/components/atoms/TextArea/index.d.ts +4 -0
  99. package/dist/components/atoms/TextArea/index.js +60 -0
  100. package/dist/components/atoms/TextArea/index.stories.d.ts +14 -0
  101. package/dist/components/atoms/TextArea/index.test.d.ts +0 -0
  102. package/dist/components/atoms/Tile/index.d.ts +4 -0
  103. package/dist/components/atoms/Tile/index.js +46 -0
  104. package/dist/components/atoms/Tile/index.stories.d.ts +9 -0
  105. package/dist/components/atoms/Tile/index.test.d.ts +0 -0
  106. package/dist/components/atoms/Title/index.d.ts +4 -0
  107. package/dist/components/atoms/Title/index.js +25 -0
  108. package/dist/components/atoms/Title/index.stories.d.ts +10 -0
  109. package/dist/components/atoms/Title/index.test.d.ts +0 -0
  110. package/dist/components/atoms/index.d.ts +27 -0
  111. package/dist/components/atoms/index.js +56 -0
  112. package/dist/components/molecules/Breadcrumbs/index.d.ts +4 -0
  113. package/dist/components/molecules/Breadcrumbs/index.js +63 -0
  114. package/dist/components/molecules/Breadcrumbs/index.stories.d.ts +8 -0
  115. package/dist/components/molecules/Breadcrumbs/index.test.d.ts +0 -0
  116. package/dist/components/molecules/ButtonGroup/index.d.ts +4 -0
  117. package/dist/components/molecules/ButtonGroup/index.js +58 -0
  118. package/dist/components/molecules/ButtonGroup/index.stories.d.ts +8 -0
  119. package/dist/components/molecules/ButtonGroup/index.test.d.ts +0 -0
  120. package/dist/components/molecules/ColumnGroup/index.d.ts +4 -0
  121. package/dist/components/molecules/ColumnGroup/index.js +55 -0
  122. package/dist/components/molecules/ColumnGroup/index.stories.d.ts +10 -0
  123. package/dist/components/molecules/ColumnGroup/index.test.d.ts +0 -0
  124. package/dist/components/molecules/Dropdown/index.d.ts +4 -0
  125. package/dist/components/molecules/Dropdown/index.js +72 -0
  126. package/dist/components/molecules/Dropdown/index.stories.d.ts +6 -0
  127. package/dist/components/molecules/Dropdown/index.test.d.ts +0 -0
  128. package/dist/components/molecules/Footer/index.d.ts +4 -0
  129. package/dist/components/molecules/Footer/index.js +51 -0
  130. package/dist/components/molecules/Footer/index.stories.d.ts +8 -0
  131. package/dist/components/molecules/Footer/index.test.d.ts +0 -0
  132. package/dist/components/molecules/InputControl/index.d.ts +4 -0
  133. package/dist/components/molecules/InputControl/index.js +59 -0
  134. package/dist/components/molecules/InputControl/index.stories.d.ts +11 -0
  135. package/dist/components/molecules/InputControl/index.test.d.ts +0 -0
  136. package/dist/components/molecules/LevelItem/index.d.ts +4 -0
  137. package/dist/components/molecules/LevelItem/index.js +40 -0
  138. package/dist/components/molecules/LevelItem/index.stories.d.ts +7 -0
  139. package/dist/components/molecules/LevelItem/index.test.d.ts +0 -0
  140. package/dist/components/molecules/Media/index.d.ts +4 -0
  141. package/dist/components/molecules/Media/index.js +35 -0
  142. package/dist/components/molecules/Media/index.stories.d.ts +10 -0
  143. package/dist/components/molecules/Media/index.test.d.ts +0 -0
  144. package/dist/components/molecules/Menu/index.d.ts +4 -0
  145. package/dist/components/molecules/Menu/index.js +41 -0
  146. package/dist/components/molecules/Menu/index.stories.d.ts +6 -0
  147. package/dist/components/molecules/Menu/index.test.d.ts +0 -0
  148. package/dist/components/molecules/MenuList/index.d.ts +4 -0
  149. package/dist/components/molecules/MenuList/index.js +39 -0
  150. package/dist/components/molecules/MenuList/index.stories.d.ts +6 -0
  151. package/dist/components/molecules/MenuList/index.test.d.ts +0 -0
  152. package/dist/components/molecules/Message/index.d.ts +4 -0
  153. package/dist/components/molecules/Message/index.js +47 -0
  154. package/dist/components/molecules/Message/index.stories.d.ts +9 -0
  155. package/dist/components/molecules/Message/index.test.d.ts +0 -0
  156. package/dist/components/molecules/Modal/index.d.ts +4 -0
  157. package/dist/components/molecules/Modal/index.js +61 -0
  158. package/dist/components/molecules/Modal/index.stories.d.ts +7 -0
  159. package/dist/components/molecules/Modal/index.test.d.ts +0 -0
  160. package/dist/components/molecules/NavBarBrand/index.d.ts +4 -0
  161. package/dist/components/molecules/NavBarBrand/index.js +48 -0
  162. package/dist/components/molecules/NavBarBrand/index.stories.d.ts +7 -0
  163. package/dist/components/molecules/NavBarBrand/index.test.d.ts +0 -0
  164. package/dist/components/molecules/NavBarDropdown/index.d.ts +4 -0
  165. package/dist/components/molecules/NavBarDropdown/index.js +85 -0
  166. package/dist/components/molecules/NavBarDropdown/index.stories.d.ts +10 -0
  167. package/dist/components/molecules/NavBarDropdown/index.test.d.ts +0 -0
  168. package/dist/components/molecules/Notification/index.d.ts +4 -0
  169. package/dist/components/molecules/Notification/index.js +37 -0
  170. package/dist/components/molecules/Notification/index.stories.d.ts +8 -0
  171. package/dist/components/molecules/Notification/index.test.d.ts +0 -0
  172. package/dist/components/molecules/Pagination/index.d.ts +4 -0
  173. package/dist/components/molecules/Pagination/index.js +109 -0
  174. package/dist/components/molecules/Pagination/index.stories.d.ts +12 -0
  175. package/dist/components/molecules/Pagination/index.test.d.ts +0 -0
  176. package/dist/components/molecules/PanelBlock/index.d.ts +4 -0
  177. package/dist/components/molecules/PanelBlock/index.js +60 -0
  178. package/dist/components/molecules/PanelBlock/index.stories.d.ts +8 -0
  179. package/dist/components/molecules/PanelBlock/index.test.d.ts +0 -0
  180. package/dist/components/molecules/PanelTabs/index.d.ts +4 -0
  181. package/dist/components/molecules/PanelTabs/index.js +32 -0
  182. package/dist/components/molecules/PanelTabs/index.stories.d.ts +7 -0
  183. package/dist/components/molecules/PanelTabs/index.test.d.ts +0 -0
  184. package/dist/components/molecules/Section/index.d.ts +4 -0
  185. package/dist/components/molecules/Section/index.js +23 -0
  186. package/dist/components/molecules/Section/index.stories.d.ts +8 -0
  187. package/dist/components/molecules/Section/index.test.d.ts +0 -0
  188. package/dist/components/molecules/TableRow/index.d.ts +4 -0
  189. package/dist/components/molecules/TableRow/index.js +41 -0
  190. package/dist/components/molecules/TableRow/index.stories.d.ts +7 -0
  191. package/dist/components/molecules/TableRow/index.test.d.ts +0 -0
  192. package/dist/components/molecules/Tabs/index.d.ts +4 -0
  193. package/dist/components/molecules/Tabs/index.js +44 -0
  194. package/dist/components/molecules/Tabs/index.stories.d.ts +13 -0
  195. package/dist/components/molecules/Tabs/index.test.d.ts +0 -0
  196. package/dist/components/molecules/TileBox/index.d.ts +4 -0
  197. package/dist/components/molecules/TileBox/index.js +51 -0
  198. package/dist/components/molecules/TileBox/index.stories.d.ts +9 -0
  199. package/dist/components/molecules/TileBox/index.test.d.ts +0 -0
  200. package/dist/components/molecules/index.d.ts +22 -0
  201. package/dist/components/molecules/index.js +46 -0
  202. package/dist/components/organisms/Card/index.d.ts +4 -0
  203. package/dist/components/organisms/Card/index.js +87 -0
  204. package/dist/components/organisms/Card/index.stories.d.ts +8 -0
  205. package/dist/components/organisms/Card/index.test.d.ts +0 -0
  206. package/dist/components/organisms/FormField/index.d.ts +4 -0
  207. package/dist/components/organisms/FormField/index.js +76 -0
  208. package/dist/components/organisms/FormField/index.stories.d.ts +11 -0
  209. package/dist/components/organisms/FormField/index.test.d.ts +0 -0
  210. package/dist/components/organisms/Hero/index.d.ts +4 -0
  211. package/dist/components/organisms/Hero/index.js +37 -0
  212. package/dist/components/organisms/Hero/index.stories.d.ts +12 -0
  213. package/dist/components/organisms/Hero/index.test.d.ts +0 -0
  214. package/dist/components/organisms/Level/index.d.ts +4 -0
  215. package/dist/components/organisms/Level/index.js +42 -0
  216. package/dist/components/organisms/Level/index.stories.d.ts +9 -0
  217. package/dist/components/organisms/Level/index.test.d.ts +0 -0
  218. package/dist/components/organisms/NavBar/index.d.ts +4 -0
  219. package/dist/components/organisms/NavBar/index.js +83 -0
  220. package/dist/components/organisms/NavBar/index.stories.d.ts +11 -0
  221. package/dist/components/organisms/NavBar/index.test.d.ts +0 -0
  222. package/dist/components/organisms/Panel/index.d.ts +4 -0
  223. package/dist/components/organisms/Panel/index.js +39 -0
  224. package/dist/components/organisms/Panel/index.stories.d.ts +11 -0
  225. package/dist/components/organisms/Panel/index.test.d.ts +0 -0
  226. package/dist/components/organisms/Table/index.d.ts +4 -0
  227. package/dist/components/organisms/Table/index.js +65 -0
  228. package/dist/components/organisms/Table/index.stories.d.ts +15 -0
  229. package/dist/components/organisms/Table/index.test.d.ts +0 -0
  230. package/dist/components/organisms/TileGroup/index.d.ts +4 -0
  231. package/dist/components/organisms/TileGroup/index.js +55 -0
  232. package/dist/components/organisms/TileGroup/index.stories.d.ts +8 -0
  233. package/dist/components/organisms/TileGroup/index.test.d.ts +0 -0
  234. package/dist/components/organisms/index.d.ts +8 -0
  235. package/dist/components/organisms/index.js +18 -0
  236. package/dist/functions/generators.d.ts +4 -0
  237. package/dist/functions/generators.js +12 -0
  238. package/dist/functions/jest.d.ts +2 -0
  239. package/dist/functions/parsers.d.ts +14 -0
  240. package/dist/functions/parsers.js +19 -0
  241. package/dist/functions/tests/generators.test.d.ts +1 -0
  242. package/dist/functions/tests/parsers.test.d.ts +1 -0
  243. package/dist/index.d.ts +3 -0
  244. package/dist/index.js +116 -0
  245. package/dist/interfaces/atomProps.d.ts +305 -0
  246. package/dist/interfaces/atomProps.js +1 -0
  247. package/dist/interfaces/commonProps.d.ts +25 -0
  248. package/dist/interfaces/commonProps.js +1 -0
  249. package/dist/interfaces/functionProps.d.ts +16 -0
  250. package/dist/interfaces/functionProps.js +1 -0
  251. package/dist/interfaces/moleculeProps.d.ts +229 -0
  252. package/dist/interfaces/moleculeProps.js +1 -0
  253. package/dist/interfaces/organismProps.d.ts +112 -0
  254. package/dist/interfaces/organismProps.js +1 -0
  255. package/dist/types/domTypes.d.ts +16 -0
  256. package/dist/types/domTypes.js +4 -0
  257. package/dist/types/styleTypes.d.ts +19 -0
  258. package/dist/types/styleTypes.js +1 -0
  259. package/package.json +7 -5
@@ -0,0 +1,305 @@
1
+ import { default as React } from 'react';
2
+ import { ElementProps, ComposedElementProps, ClickeableProps } from './commonProps';
3
+ import { BasicColorType, ColumnOffsetType, ColumnSizeType, FixedImageSizeType, IconColorModeType, ElementSizeType, SizeWithoutNormalType, TextColorType, TitleSizeType, RightLeftAlignType, CommonSizeType } from '../types/styleTypes';
4
+ import { DropdownItemType, InputType, ChildrenType, TileContextType, SingleChildType } from '../types/domTypes';
5
+ export interface ColumnProps extends ElementProps, React.ComponentPropsWithoutRef<'section'> {
6
+ /** `Attribute` Reffers to the component or array of components that will be shown inside the column */
7
+ children?: ChildrenType;
8
+ /** `Styling` Set column's size */
9
+ size?: ColumnSizeType;
10
+ /** `Styling` Set column's offset (moving it as you set its size */
11
+ offset?: ColumnOffsetType;
12
+ /** `Styling` Set if the column only will take the space it needs */
13
+ isNarrow?: boolean;
14
+ }
15
+ export interface ButtonProps extends ElementProps, React.ComponentPropsWithoutRef<'button'> {
16
+ /** `Attribute` The text will be shown in the `Button` */
17
+ text?: string;
18
+ /** `Attribute` Will disable the button */
19
+ isDisabled?: boolean;
20
+ /** `Styling` Color based on bulma's color tokens */
21
+ color?: BasicColorType;
22
+ /** `Styling` Will adjust the selected color with a ligther style */
23
+ isLightColor?: boolean;
24
+ /** `Styling` Will invert button's colors (typography in color and background in white or black) */
25
+ isInvertedColor?: boolean;
26
+ /** `Styling` Similar to `isInvertedColor`, but button's border will be colored */
27
+ isOutlined?: boolean;
28
+ /** `Styling` Will add round borders to button's shape */
29
+ isRounded?: boolean;
30
+ /** `Styling` Will change `text` for an animated spinner, but will remain clickeable */
31
+ isLoading?: boolean;
32
+ /** `Styling` Similar to `isDisabled`, but will remove any color style */
33
+ isStatic?: boolean;
34
+ /** `Styling` Sets the button style when a User selects it (useful for an attached `ButtonGroup`) */
35
+ isSelected?: boolean;
36
+ /** `Styling` Set button's size on bulma's size tokens */
37
+ size?: ElementSizeType;
38
+ /** `Function` Click function, alone does not nothing, but can be reused for other components */
39
+ onClick?: () => void;
40
+ }
41
+ export interface ProgressBarProps extends ElementProps, React.ComponentPropsWithoutRef<'progress'> {
42
+ /** `Attribute` Sets colored bar at the level against `max` value (`100` by default) */
43
+ value?: number;
44
+ /** `Attribute` Sets the entire bar length comparing with current `value` */
45
+ max?: number;
46
+ /** `Styling` Color based on bulma's color tokens */
47
+ color?: BasicColorType;
48
+ /** `Styling` Set progress bar's size */
49
+ size?: ElementSizeType;
50
+ /** `Styling` Will change `value` for an animated loading */
51
+ isLoading?: boolean;
52
+ }
53
+ export interface BlockProps extends ElementProps, React.ComponentPropsWithoutRef<'section'> {
54
+ /** `Attribute` Reffers to the component or array of components that will be shown inside the block */
55
+ children?: ChildrenType;
56
+ }
57
+ export interface TagProps extends ComposedElementProps, React.ComponentPropsWithoutRef<'span'> {
58
+ /** `Attribute` `Required` The text will be shown in the `Tag` */
59
+ text: string;
60
+ /** `Attribute` Will add a delete button (for both single or addon cases) */
61
+ withDelete?: boolean;
62
+ /** `Attribute` Will add a second tag element (that could have its own text, color and delete) */
63
+ withAddon?: boolean;
64
+ /** `Attribute` The text will be shown in the tag's addon */
65
+ addonText?: string;
66
+ /** `Styling` Color based on bulma's color tokens */
67
+ color?: BasicColorType;
68
+ /** `Styling` Will adjust the selected color with a ligther style */
69
+ isLight?: boolean;
70
+ /** `Styling` Will add round borders to tag's shape */
71
+ isRounded?: boolean;
72
+ /** `Styling` Set tag's size */
73
+ size?: SizeWithoutNormalType;
74
+ /** `Styling` Color on tag's addon based on bulma's color tokens */
75
+ addonColor?: BasicColorType;
76
+ /** `Function` Click function for `delete` option, alone does not nothing, but can be reused for other components */
77
+ onDeleteClick?: () => void;
78
+ }
79
+ export interface ImageProps extends ComposedElementProps, React.ComponentPropsWithoutRef<'figure'> {
80
+ /** `Attribute` `Required` The image source that will be shown */
81
+ src: string;
82
+ /** `Attribute` A description text for the image, useful for accessibility purposes */
83
+ alt?: string;
84
+ /** `Styling` Will add round borders to image's shape */
85
+ fixedSize?: FixedImageSizeType;
86
+ /** `Styling` Sets image size based on one of fixed ratios/fixed sizes */
87
+ isRounded?: boolean;
88
+ }
89
+ export interface BoxProps extends ElementProps, React.ComponentPropsWithoutRef<'section'> {
90
+ /** `Attribute` Reffers to the component or array of components that will be shown inside the box */
91
+ children?: ChildrenType;
92
+ }
93
+ export interface TitleSectionProps extends ElementProps, React.ComponentPropsWithoutRef<'p'> {
94
+ /** `Attribute` Sets the text you want to show */
95
+ text: string;
96
+ /** `Styling` Set text size */
97
+ size?: TitleSizeType;
98
+ /** `Styling` Set type of title (`title` at top, `subtitle` at below) */
99
+ type: 'title' | 'subtitle';
100
+ /** `Styling` Set text spacing at default or maximun length */
101
+ isSpaced?: boolean;
102
+ }
103
+ export interface TitleProps {
104
+ /** `Attribute` Main title configuration object */
105
+ main?: TitleSectionProps;
106
+ /** `Attribute` Subtitle title configuration object */
107
+ secondary?: TitleSectionProps;
108
+ }
109
+ export interface IconProps extends ComposedElementProps {
110
+ /** `Attribute` `Required` Sets the icon key work based on [Material Design icon list](https://pictogrammers.com/library/mdi/) */
111
+ iconLabel: string;
112
+ /** `Attribute` Sets the text you want to show next to the icon */
113
+ text?: string;
114
+ /** `Styling` Color based on bulma's text color tokens */
115
+ color?: TextColorType;
116
+ /** `Styling` Set icons's size */
117
+ size?: SizeWithoutNormalType;
118
+ /** `Styling` Special usage in case you want to set as dark or light mode */
119
+ colorMode?: IconColorModeType;
120
+ /** `Styling` Animates the icon spinning 360° */
121
+ isSpinning?: boolean;
122
+ /** `Styling` Used for `InputControl` styling purpose only. Will move the Icon itself to control's Input side */
123
+ position?: RightLeftAlignType;
124
+ }
125
+ export interface InputProps extends ElementProps, ClickeableProps {
126
+ /** `Attribute` `Required` What type of input will be used */
127
+ type: InputType;
128
+ /** `Attribute` The value that will be shown on the input */
129
+ text?: string;
130
+ /** `Attribute` The text that will be shown if the user does not type any value */
131
+ placeholder?: string;
132
+ /** `Attribute` Will disable the input */
133
+ isDisabled?: boolean;
134
+ /** `Attribute` Will show the input as a normal one, but is not editable and has no shadow */
135
+ isReadonly?: boolean;
136
+ /** `Styling` Color based on bulma's text color tokens */
137
+ color?: BasicColorType;
138
+ /** `Styling` Set input's size */
139
+ size?: SizeWithoutNormalType;
140
+ /** `Styling` Will add round borders to input's shape */
141
+ isRounded?: boolean;
142
+ /** `Styling` Will add a specific border when the input is hovered by the user */
143
+ isHovered?: boolean;
144
+ /** `Styling` Will add a specific border when the input is focused by the user */
145
+ isFocused?: boolean;
146
+ /** `Function` Reffers to each time the user press a key. Alone does not nothing, but can be reused for other components */
147
+ onChange?: () => void;
148
+ }
149
+ export interface TextAreaProps extends Omit<InputProps, 'isRounded' | 'type'> {
150
+ /** `Attribute` Text area's columns value that sets its width */
151
+ cols?: number;
152
+ /** `Attribute` Text area's rows value that sets its height */
153
+ rows?: number;
154
+ /** `Styling` Will disable characteristic sizable property by removing its control on bottom-right corner */
155
+ isFixedSize?: boolean;
156
+ }
157
+ export interface DeleteProps extends ElementProps, ClickeableProps {
158
+ /** `Styling` Set icons's size */
159
+ size?: SizeWithoutNormalType;
160
+ }
161
+ export interface SelectOption {
162
+ id: string | number;
163
+ name: string;
164
+ selected?: boolean;
165
+ }
166
+ export interface SelectProps extends ComposedElementProps, ClickeableProps {
167
+ /** `Attribute` Indicates the options contained on the select */
168
+ options?: SelectOption[];
169
+ /** `Attribute` Indicates how many options will be shown at first glance (before looking for the whole list */
170
+ showOptions?: number;
171
+ /** `Attribute` Will allow multiple selection */
172
+ isMultiple?: boolean;
173
+ /** `Styling` Color based on bulma's color tokens */
174
+ color?: BasicColorType;
175
+ /** `Styling` Set select's size */
176
+ size?: ElementSizeType;
177
+ /** `Styling`Will add round borders to input's shape */
178
+ isRounded?: boolean;
179
+ /** `Styling`Will add a specific border when the input is hovered by the user */
180
+ isHovered?: boolean;
181
+ /** `Styling`Will add a specific border when the input is focused by the user */
182
+ isFocused?: boolean;
183
+ }
184
+ export interface FileProps extends ComposedElementProps, ClickeableProps {
185
+ /** `Attribute` The name of the file to be uploaded */
186
+ fileName?: string;
187
+ /** `Attribute` The icon displayed in file's button" */
188
+ uploadIcon?: IconProps;
189
+ /** `Attribute` The text displayed in file's button */
190
+ uploadText?: string;
191
+ /** `Styling` Changes button's position to its right */
192
+ buttonOnRight?: boolean;
193
+ /** `Styling` The whole container (button and file name) will occupy its parent container width */
194
+ isFullWidth?: boolean;
195
+ /** `Styling` Changes styling to a box style, making the button bigger and file name's position below the button */
196
+ isBoxed?: boolean;
197
+ /** `Styling` Color based on bulma's color tokens */
198
+ color?: BasicColorType;
199
+ /** `Styling` Set button's size */
200
+ size?: ElementSizeType;
201
+ }
202
+ export interface CheckBoxProps extends ComposedElementProps {
203
+ /** `Attribute` Sets checkbox's text that will be shown next to its control */
204
+ content?: ChildrenType;
205
+ /** `Attribute` Will disable the checkbox */
206
+ isDisabled?: boolean;
207
+ /** `Function` Click function, alone does not nothing, but can be reused for other components */
208
+ onChange?: () => void;
209
+ }
210
+ export interface RadioButtonItemProps extends Pick<ElementProps, 'testId' | 'style'> {
211
+ /** `Attribute` `Required` Sets checkbox's text*/
212
+ label: string;
213
+ /** `Attribute` Sets the name that will relate this checkbox with the others */
214
+ name?: string;
215
+ /** `Attribute` Shows the checkbox as checked or unchecked */
216
+ isChecked?: boolean;
217
+ /** `Attribute` Will disable the checkbox */
218
+ isDisabled?: boolean;
219
+ /** `Function` Click function, alone does not nothing, but can be reused for other components */
220
+ onChange?: () => void;
221
+ }
222
+ export interface RadioButtonProps extends ComposedElementProps {
223
+ /** `Attribute` `Required` Indicates the options contained to be selected */
224
+ options: RadioButtonItemProps[];
225
+ /** `Attribute` `Required` Sets the name that will relate this checkbox with the others */
226
+ name: string;
227
+ /** `Function` Click function, alone does not nothing, but can be reused for other components */
228
+ onChange?: () => void;
229
+ }
230
+ export interface BreadcrumbItemProps extends ComposedElementProps, ClickeableProps {
231
+ /** `Attribute` `Required` Indicates item text that will be shown */
232
+ text: string;
233
+ /** `Styling` Marks the item as the one where user is located (based on breadcrumb hierarchy) */
234
+ isActiveItem?: boolean;
235
+ }
236
+ export interface DropdownTriggerProps extends ComposedElementProps, ClickeableProps {
237
+ /** `Attribute` `Required` Sets the name will be shown on the dropdown input */
238
+ menuText: string;
239
+ /** `Attribute` Sets a relationship between trigger's button and dropdown's menu to toggle display */
240
+ dropdownPointer?: string;
241
+ }
242
+ export interface DropdownItemProps extends ElementProps, ClickeableProps {
243
+ /** `Attribute` `Required` Sets the name will be shown on the item */
244
+ itemText: string;
245
+ /** `Attribute` Changes item's composition into a `<hr>`, a `<a>` or a `<div>` depending its type */
246
+ type?: DropdownItemType;
247
+ /** `Styling` Marks the item as the one where user is located (based on dropdown hierarchy) */
248
+ isActiveItem?: boolean;
249
+ }
250
+ export interface MenuItemProps extends ElementProps, ClickeableProps {
251
+ /** `Attribute` `Required` Sets the text will be shown on the menu item */
252
+ text: string;
253
+ /** `Styling` Generates a blue background to mark the item as the active one in the `MenuList` */
254
+ isActive?: boolean;
255
+ }
256
+ export interface PaginationItemProps extends ElementProps, ClickeableProps {
257
+ /** `Attribute` `Required` Sets the number string that will be shown in the item and in its title when user hovers it */
258
+ text: string | number;
259
+ /** `Attribute` Sets a custom text before the `text` when user hovers the item */
260
+ labelText?: string;
261
+ /** `Attribute` Sets a custom text before the `text` when user hovers the item if is the current one */
262
+ currentLabelText?: string;
263
+ /** `Styling` Makes the item the selected one, changing its background to blue */
264
+ isSelected?: boolean;
265
+ }
266
+ export interface TabItemProps extends ComposedElementProps, ClickeableProps {
267
+ /** `Attribute` `Required` The text will be shown in the `TabItem` */
268
+ text: string;
269
+ /** `Attribute` Adds an `Icon` component before the text */
270
+ icon?: IconProps;
271
+ /** `Styling` Used for `Tabs` styling purpose only. Will mark the tab as the one selected among its group */
272
+ isActive?: boolean;
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
+ }
280
+ export interface TileProps extends ElementProps {
281
+ /** `Attribute` Reffers to the component or array of components that will be shown inside the tile */
282
+ children?: ChildrenType;
283
+ /** `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 */
284
+ context?: TileContextType;
285
+ /** `Styling` Set tile's size */
286
+ size?: CommonSizeType;
287
+ /** `Styling` Color based on bulma's color tokens */
288
+ color?: BasicColorType;
289
+ /** `Styling` Used for hierarchy level as ancestor or parent. It selects its children in a vertical format (like a column) */
290
+ isVertical?: boolean;
291
+ }
292
+ export interface NavBarItemProps extends ElementProps, ClickeableProps {
293
+ /** `Attribute` `Required` Reffers to the component or string that will be shown inside the item */
294
+ children: SingleChildType;
295
+ /** `Styling` Used for `NavBarDropdown` styling purpose only. Will mark the item as the one selected among its group */
296
+ isActive?: boolean;
297
+ }
298
+ export interface TableHeadCellProps extends ElementProps, ClickeableProps {
299
+ /** `Attribute` `Required` It will display cell's content, which could be text, an html tag or a custom component */
300
+ content: SingleChildType;
301
+ }
302
+ export interface TableCellProps extends ElementProps, ClickeableProps {
303
+ /** `Attribute` `Required` It will display cell's content, which could be text, an html tag or a custom component */
304
+ content: SingleChildType;
305
+ }
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,25 @@
1
+ export interface ContainerProps {
2
+ /** `Attribute` *For container case*. ID used to locate the element in unit test suites (like Jest) */
3
+ containerTestId?: string;
4
+ /** `Attribute` *For container case*. Custom CSS classes, applicable for specific scenarios */
5
+ containerCssClasses?: string;
6
+ /** `Attribute` *For container case*. Custom styling applicable for specific scenarios */
7
+ containerStyle?: React.CSSProperties;
8
+ }
9
+ export interface ElementProps {
10
+ /** `Attribute` ID used to locate the element in unit test suites (like Jest) */
11
+ testId?: string;
12
+ /** `Attribute` Custom CSS classes, applicable for specific scenarios */
13
+ cssClasses?: string;
14
+ /** `Attribute` Custom styling applicable for specific scenarios */
15
+ style?: React.CSSProperties;
16
+ }
17
+ export interface ComposedElementProps extends ElementProps, ContainerProps {
18
+ }
19
+ export interface ClickeableProps {
20
+ /** `Function` Click function, alone does not nothing, but can be reused for other components */
21
+ onClick?: () => void;
22
+ }
23
+ export interface GenericObjectProps {
24
+ [key: string]: string | number | boolean | object;
25
+ }
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,16 @@
1
+ import { GenericObjectProps } from './commonProps';
2
+ interface RegExpRule {
3
+ regExp?: RegExp;
4
+ replacer?: string;
5
+ }
6
+ export interface ParseTestIdProps {
7
+ tag: string;
8
+ parsedClasses: string;
9
+ rules?: RegExpRule[];
10
+ separator?: string;
11
+ }
12
+ export interface CreateObjArrayProps {
13
+ numberOfItems?: number;
14
+ externalParser?: (i: number) => GenericObjectProps;
15
+ }
16
+ export {};
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,229 @@
1
+ import { ClickeableProps, ComposedElementProps, ElementProps } from './commonProps';
2
+ import { BreadcrumbItemProps, ButtonProps, ColumnProps, DeleteProps, DropdownItemProps, IconProps, ImageProps, InputProps, MenuItemProps, NavBarItemProps, PaginationItemProps, TabItemProps, TableCellProps, TableHeadCellProps } from './atomProps';
3
+ import { BasicColorType, RightCenteredAlignType, BreadcrumbSeparatorType, ColumnGapType, SizeWithoutNormalType, TabsFormatType, MediumAndLargeSizeType, RightLeftAlignType } from '../types/styleTypes';
4
+ import { ChildrenType, SingleChildType, PanelBlockItemType } from '../types/domTypes';
5
+ export interface ButtonGroupProps extends ElementProps {
6
+ /** `Atribute` `Required` Array of `Button` objects that will be shown */
7
+ buttonList: ButtonProps[];
8
+ /** `Styling` Will group the list of buttonList in a single line */
9
+ isAttached?: boolean;
10
+ /** `Styling` Sets group position on the container */
11
+ position?: 'left' | 'centered' | 'right';
12
+ }
13
+ export interface ColumnGroupProps extends ElementProps {
14
+ /** `Atribute` `Required` Array of `Column` objects that will be shown */
15
+ listOfColumns: ColumnProps[];
16
+ /** `Styling` Will adjust column structure display layout in case you want to work on mobiles */
17
+ isMobileLayout?: boolean;
18
+ /** `Styling` Will reorder column display in multiple lines each time exceeds viewport width */
19
+ isMultiline?: boolean;
20
+ /** `Styling` Will center the list of columns vertically */
21
+ isVerticallyCentered?: boolean;
22
+ /** `Styling` Will center the list of columns horizontally */
23
+ isHorizontallyCentered?: boolean;
24
+ /** `Styling` Will adjust the space between the columns. In case to set null, it will remove those gaps */
25
+ gap?: ColumnGapType | null;
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?: ChildrenType;
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
+ }
37
+ export interface BreadcrumbsProps extends ComposedElementProps {
38
+ /** `Atribute` `Required` Array of `BreadcrumbItems` objects that will be shown */
39
+ items: BreadcrumbItemProps[];
40
+ /** `Styling` Will adjust element position on screen */
41
+ alignment?: RightCenteredAlignType | null;
42
+ /** `Styling` Will adjust element position on screen */
43
+ separator?: BreadcrumbSeparatorType | null;
44
+ /** `Styling` Set breadcrumb's size on bulma's size tokens */
45
+ size?: SizeWithoutNormalType;
46
+ }
47
+ export interface DropdownProps extends ElementProps {
48
+ /** `Atribute` `Required` Sets the name will be shown on the dropdown input */
49
+ inputText: string;
50
+ /** `Attribute` Sets a relationship between dropdown trigger's button and dropdown's menu to toggle display */
51
+ dropdownPointer?: string;
52
+ /** `Atribute` `Required` Array of `DropdownItem` objects that will be shown on its menu */
53
+ listOfItems: DropdownItemProps[];
54
+ }
55
+ export interface MessageProps extends ElementProps {
56
+ /** `Atribute` Sets the header's text that will be shown on message's darker zone */
57
+ headerText?: string;
58
+ /** `Atribute` `Required` Sets the body's text that will be shown on message's lighter zone */
59
+ bodyText: string;
60
+ /** `Atribute` Includes a `Delete` config object that will be shown */
61
+ deleteButton?: DeleteProps;
62
+ /** `Styling` Color based on bulma's color tokens */
63
+ color?: BasicColorType;
64
+ /** `Styling` Set button's size on bulma's size tokens */
65
+ size?: SizeWithoutNormalType;
66
+ }
67
+ interface MenuSubListProps {
68
+ subListTitle: MenuItemProps;
69
+ subItems: MenuItemProps[];
70
+ }
71
+ type MenuListItemType = MenuItemProps | MenuSubListProps;
72
+ export interface MenuListProps extends ElementProps {
73
+ /** `Attribute` `Required` List of menu items that can be used as single ones or in a list/sublist format */
74
+ itemList: Array<MenuListItemType>;
75
+ }
76
+ interface MenuSectionProps {
77
+ /** `Attribute` `Required` Label that will be show at the beginning of each section */
78
+ label: string;
79
+ /** `Attribute` `Required` List of menu items that can be used as single ones or in a list/sublist format */
80
+ itemList: Array<MenuListItemType>;
81
+ }
82
+ export interface MenuProps extends ElementProps {
83
+ /** `Attribute` `Required` List of sections that can be single or second level MenuItems */
84
+ menuSections: MenuSectionProps[];
85
+ }
86
+ export interface PaginationNavigationButtonProps extends ClickeableProps {
87
+ /** `Attribute` `Required` Text that will be shown on the button */
88
+ text: string;
89
+ /** `Attribute` Will disable the button */
90
+ isDisabled?: boolean;
91
+ /** `Attribute` Custom CSS classes, applicable for specific scenarios */
92
+ cssClasses?: string;
93
+ }
94
+ export interface PaginationProps extends ComposedElementProps {
95
+ /** `Attribute` `Required` List of sections that can be single or second level MenuItems */
96
+ pages: PaginationItemProps[];
97
+ /** `Attribute` Adds a couple of ellipsis between the first and last item */
98
+ hasEllipsis?: boolean;
99
+ /** `Attribute` Number of items that will be hidden if `hasEllipsis` is `true` */
100
+ ellipsisItems?: number;
101
+ /** `Attribute` Toogle `Previous` and `Next page` buttons next to the selectable pages */
102
+ showPreviousPageButton?: PaginationNavigationButtonProps | null;
103
+ /** `Attribute` Toogle `Previous` and `Next page` buttons next to the selectable pages */
104
+ showNextPageButton?: PaginationNavigationButtonProps | null;
105
+ /** `Styling` Will add round borders to each page's shape */
106
+ isRounded?: boolean;
107
+ /** `Styling` Set button's size on bulma's size tokens */
108
+ size?: SizeWithoutNormalType;
109
+ /** `Styling` Will adjust the pages position on screen */
110
+ alignment?: RightCenteredAlignType | null;
111
+ }
112
+ export interface ModalProps extends ComposedElementProps {
113
+ /** `Attribute` Reffers to the component or array of components that will be shown inside the column */
114
+ children?: ChildrenType | null;
115
+ /** `Function` Custom function related to the modal's close button to inject custom code if needed */
116
+ onCloseClick?: () => void;
117
+ }
118
+ export interface TabsProps extends ElementProps {
119
+ /** `Attribute` `Required` List of tabs that will be shown in order */
120
+ tabs: TabItemProps[];
121
+ /** `Styling` Will adjust the tabs position on screen */
122
+ alignment?: RightCenteredAlignType;
123
+ /** `Styling` Set tab's size on bulma's size tokens */
124
+ size?: SizeWithoutNormalType;
125
+ /** `Styling` Set tab's size on bulma's size tokens */
126
+ format?: TabsFormatType;
127
+ /** `Styling` Will add round tabs borders. Only visible if `format` is set to `is-toggle` */
128
+ isRounded?: boolean;
129
+ /** `Styling` The whole container will occupy its parent container width */
130
+ isFullWidth?: boolean;
131
+ }
132
+ export interface InputControlProps extends ElementProps {
133
+ /** `Attribute` `Required` control's input configuration which will be wrapped */
134
+ inputConfig: InputProps;
135
+ /** `Attribute` `Icon` configuration that will be shown in Input's left side */
136
+ leftIcon?: IconProps;
137
+ /** `Attribute` `Icon` configuration that will be shown in Input's right side */
138
+ rightIcon?: IconProps;
139
+ /** `Styling` Set control and its input size on bulma's size tokens */
140
+ size?: SizeWithoutNormalType;
141
+ /** `Styling` Will add an animated spinner on input's right side */
142
+ isLoading?: boolean;
143
+ /** `Styling` Used for `FormField` styling purpose only. Will strech the input and its container in full-width */
144
+ isExpanded?: boolean;
145
+ }
146
+ export interface PanelBlockItemProps {
147
+ /** `Attribute` `Required` Indicates to component's parser which type of component will be rendered based on its option */
148
+ type: PanelBlockItemType;
149
+ /** `Attribute` `Required` The component properties that will configure that specific instance */
150
+ props: InputControlProps | IconProps | ButtonProps;
151
+ }
152
+ export interface PanelBlockProps extends ComposedElementProps, ClickeableProps {
153
+ /** `Attribute` `Required` Configuration object with a type and a set of props based on the available components that could be rendered in each `PanelBlock` */
154
+ config: PanelBlockItemProps;
155
+ /** `Attribute` Usable when config's U is `icon` only. It will display a text next to mentioned icon (for user purposes) */
156
+ blockText?: string;
157
+ /** `Styling` Used for `PanelBlock` styling purpose only. Will mark its rendered component as the one selected among its group */
158
+ isActive?: boolean;
159
+ }
160
+ export interface PanelTabItem extends ClickeableProps {
161
+ /** `Attribute` `Required` Will show the text to the user in shape of tab */
162
+ text: string;
163
+ /** `Styling` Used for `PanelTab` styling purpose only. Will mark its rendered component as the one selected among its group */
164
+ isActive?: boolean;
165
+ }
166
+ export interface PanelTabsProps extends ElementProps {
167
+ /** `Attribute` `Required` A list of configuration objects that will render a set of tabs */
168
+ tabList: PanelTabItem[];
169
+ }
170
+ export interface LevelItemProps extends ElementProps {
171
+ /** `Attribute` `Required` Reffers to the component or string content that will be shown inside the level */
172
+ content: SingleChildType;
173
+ /** `Styling` Centers item's content horizontally */
174
+ isCentered?: boolean;
175
+ }
176
+ export interface FooterProps extends ComposedElementProps {
177
+ /** `Attribute` `Required` Reffers to the component, list of components or string content that will be shown inside the footer */
178
+ content: ChildrenType;
179
+ /** `Styling` Centers footer¿s content horizontally */
180
+ isContentCentered?: boolean;
181
+ }
182
+ export interface MediaProps extends ElementProps {
183
+ /** `Attribute` Reffers to the component or string content that will be shown inside the component's left side */
184
+ leftContent?: SingleChildType;
185
+ /** `Attribute` Reffers to the component or string content that will be shown inside the component's center */
186
+ centerContent?: SingleChildType;
187
+ /** `Attribute` Reffers to the component or string content that will be shown inside the component's right side */
188
+ rightContent?: SingleChildType;
189
+ }
190
+ export interface SectionProps extends ElementProps {
191
+ /** `Attribute` `Required` Reffers to the component or string content that will be shown inside the section */
192
+ content: SingleChildType;
193
+ /** `Styling` Set button's size on bulma's size tokens */
194
+ size?: MediumAndLargeSizeType;
195
+ }
196
+ export interface NavBarDropdownProps extends ComposedElementProps {
197
+ /** `Attribute` `Required` It will show the presentation text to be clicked or hovered in order to display its menu */
198
+ text: string;
199
+ /** `Attribute` `Required` A list of configuration objects that will render in dropdown's menu. Those can be items or dividers */
200
+ items: Array<NavBarItemProps | 'divider'>;
201
+ /** `Styling` Used for `NavBar` styling purpose only. Will set the dropdown on a specific position based on the proveded value */
202
+ position?: RightLeftAlignType;
203
+ /** `Styling` Used to display dropdown's menu when user clicks on its text */
204
+ isActive?: boolean;
205
+ /** `Styling` Similar to `isActive`, but will display when user hovers its pointer on its text */
206
+ isHoverable?: boolean;
207
+ /** `Styling` Sets dropdown's menu on top of the text instead default styling */
208
+ hasDropdownUp?: boolean;
209
+ /** `Styling` Sets dropdown's menu design like a box, also adds some animation when its diplayed */
210
+ hasBoxedMenu?: boolean;
211
+ }
212
+ interface BrandConfigProps extends Omit<NavBarItemProps, 'children'> {
213
+ children: ImageProps;
214
+ }
215
+ export interface NavBarBrandProps extends ElementProps {
216
+ /** `Attribute` `Required` Configuration object to inject a `NavBarItem` with a Image configuration as its children */
217
+ brandConfig: BrandConfigProps;
218
+ /** `Styling` It sets brand's burger button as active (changing looks from a burger to a cross) */
219
+ isBurgerActive?: boolean;
220
+ }
221
+ export interface TableRowProps extends ElementProps, ClickeableProps {
222
+ /** `Attribute` Configuration object to inject a `TableHeaderCell` as row's head */
223
+ headCell?: TableHeadCellProps;
224
+ /** `Attribute` `Required` List of `TableCell` that will be rendered on the table */
225
+ listOfCells: TableCellProps[];
226
+ /** `Styling` Used for `Table` styling purpose only. Will set row's background color to indicate it has been selected by the user */
227
+ isSelected?: boolean;
228
+ }
229
+ export {};
@@ -0,0 +1 @@
1
+