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,112 @@
1
+ import { ClickeableProps, ElementProps } from './commonProps';
2
+ import { InputControlProps, LevelItemProps, NavBarBrandProps, NavBarDropdownProps, PanelBlockProps, PanelTabsProps, TableRowProps } from './moleculeProps';
3
+ import { ImageProps, NavBarItemProps, TableHeadCellProps, TileProps } from './atomProps';
4
+ import { BasicColorType, SizeWithHeightType } from '../types/styleTypes';
5
+ import { ChildrenType, NavBarFixedPositionType } from '../types/domTypes';
6
+ export interface FormFieldHelperProps {
7
+ text?: string;
8
+ color?: BasicColorType;
9
+ }
10
+ export interface FormFieldProps extends ElementProps {
11
+ /** `Attribute` `Required` Single or multiple `InputControlProps` config objects which will be wrapped around the `FormField` */
12
+ inputControlConfig: InputControlProps | InputControlProps[];
13
+ /** `Attribute` Sets a custom text before the wrapped input to indicate its usage */
14
+ labelText?: string;
15
+ /** `Attribute` Adds a helper text below the wrapped paragraph to provide context information */
16
+ helperConfig?: FormFieldHelperProps;
17
+ /** `Styling` Will adjust field's sections (label, input/s and helper) in horizontal position */
18
+ isHorizontal?: boolean;
19
+ /** `Styling` Will group the list of inputs in a same wrapper (useful for several inputs with same usage, as a complex address) */
20
+ isGrouped?: boolean;
21
+ }
22
+ export interface PanelProps extends ElementProps {
23
+ /** `Attribute` `Required` Will display Panel's header text */
24
+ headerText: string;
25
+ /** `Attribute` A configuration object that will render a set of tabs based on `PanelTab` component */
26
+ panelTabs?: PanelTabsProps;
27
+ /** `Attribute` `Required` A list of configuration objects that will render a list of block with different components, based on `PanelBlockList` component */
28
+ blockList: PanelBlockProps[];
29
+ /** `Styling` Color based on bulma's text color tokens */
30
+ color?: BasicColorType;
31
+ }
32
+ export interface LevelProps extends ElementProps {
33
+ /** `Attribute` A list of `LevelItem` configurations that will br displayed in Level's left side */
34
+ leftSide?: LevelItemProps[];
35
+ /** `Attribute` A list of `LevelItem` configurations that will br displayed in Level's center */
36
+ centerSide?: LevelItemProps[];
37
+ /** `Attribute` A list of `LevelItem` configurations that will br displayed in Level's right side */
38
+ rightSide?: LevelItemProps[];
39
+ /** `Styling` Will adjust the navigator on horizontal on mobile as well */
40
+ isMobile?: boolean;
41
+ }
42
+ export interface HeroProps extends ElementProps {
43
+ /** `Attribute` Designated section for hero's header, it will be visible only if container's `size` is setted to `is-fullheight` */
44
+ header?: ChildrenType;
45
+ /** `Attribute` `Required` Designated section for hero's body */
46
+ body: ChildrenType;
47
+ /** `Attribute` Designated section for hero's footer, it will be visible only if container's `size` is setted to `is-fullheight` */
48
+ footer?: ChildrenType;
49
+ /** `Styling` Set hero's size */
50
+ size?: SizeWithHeightType;
51
+ /** `Styling` Color based on bulma's text color tokens */
52
+ color?: BasicColorType;
53
+ }
54
+ export interface TileGroupProps extends ElementProps, Pick<TileProps, 'context' | 'isVertical' | 'size'> {
55
+ /** `Attribute` `Required` A list of `Title` configurations that will be displayed in a grid mode on the screen */
56
+ groupConfig: TileProps[];
57
+ }
58
+ export interface NavBarMenuProps {
59
+ itemList: Array<NavBarItemProps | NavBarDropdownProps>;
60
+ showInMobile?: boolean;
61
+ }
62
+ export interface NavBarProps extends ElementProps {
63
+ /** `Attribute` Configuration object for navbar's left section, it needs of a `NavBarBrand` object to be displayed at NavBar's start */
64
+ brandConfig?: NavBarBrandProps;
65
+ /** `Attribute` Configuration object for navbar's left section, it needs of a list of `NavBarItem` or `NavBarDropdown` objects to be displayed */
66
+ itemsAtStart?: NavBarMenuProps;
67
+ /** `Attribute` Configuration object for navbar's right section, it needs of a list of `NavBarItem` or `NavBarDropdown` objects to be displayed */
68
+ itemsAtEnd?: NavBarMenuProps;
69
+ /** `Styling` Sets navbar's position at screen's top or bottom */
70
+ fixedPosition?: NavBarFixedPositionType;
71
+ /** `Styling` Color based on bulma's text color tokens */
72
+ color?: BasicColorType;
73
+ /** `Styling` Sets navbar's color as transparent */
74
+ isTransparent?: boolean;
75
+ /** `Styling` Adds a small padding around the navbar */
76
+ isSpaced?: boolean;
77
+ /** `Styling` Adds a small shadow on navbar's bottom */
78
+ hasShadow?: boolean;
79
+ }
80
+ export interface CardFooterProps extends ClickeableProps {
81
+ text: string;
82
+ }
83
+ export interface CardProps extends ElementProps {
84
+ /** `Attribute` It will shot a text on card's top, just a paragraph */
85
+ headerText?: string;
86
+ /** `Attribute` A single configuration object that will render an `Image` component */
87
+ image?: ImageProps;
88
+ /** `Attribute` `Required` Deisgnated section where you can include a string, a single or list of components (each one separated in its own `content` section) */
89
+ content: ChildrenType;
90
+ /** `Attribute` A list of footer links that will be rendered on card's bottom, below its content */
91
+ footerLinks?: CardFooterProps[];
92
+ }
93
+ export interface TableProps extends ElementProps {
94
+ /** `Attribute` `Required` Configuration object that will display table's head */
95
+ head: TableHeadCellProps[];
96
+ /** `Attribute` `Required` Configuration object that will display table's body */
97
+ body: TableRowProps[];
98
+ /** `Attribute` Configuration object that will display table's foot */
99
+ foot?: TableHeadCellProps[];
100
+ /** `Styling` It will add a Bordered styling to the table. It can be combined with other mentioned styling properties. */
101
+ isBordered?: boolean;
102
+ /** `Styling` It will add a Striped styling to the table. It can be combined with other mentioned styling properties. */
103
+ isStriped?: boolean;
104
+ /** `Styling` It will add a Narrow styling to the table. It can be combined with other mentioned styling properties. */
105
+ isNarrow?: boolean;
106
+ /** `Styling` It will add a Hoverable styling to the table. It can be combined with other mentioned styling properties. */
107
+ isHoverable?: boolean;
108
+ /** `Styling` It will add a Fullwidth styling to the table. It can be combined with other mentioned styling properties. */
109
+ isFullwidth?: boolean;
110
+ /** `Styling` Will create a container around the table in order to make it scrollable */
111
+ isContained?: boolean;
112
+ }
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,16 @@
1
+ import { default as React } from 'react';
2
+ export type ButtonType = 'submit' | 'reset' | 'button';
3
+ export type InputType = 'text' | 'password' | 'email' | 'tel';
4
+ export type DropdownItemType = 'item' | 'link' | 'divider';
5
+ export type PanelBlockItemType = 'icon' | 'control' | 'button';
6
+ export type ChildrenType = string | React.ReactElement | React.ReactElement[];
7
+ export type SingleChildType = Exclude<ChildrenType, React.ReactElement[]>;
8
+ export declare enum IconSizeEnum {
9
+ 'is-small' = 24,
10
+ 'is-medium' = 36,
11
+ 'is-large' = 48
12
+ }
13
+ export type TileContextType = 'is-child' | 'is-parent' | 'is-ancestor';
14
+ export type HeroContentType = 'head' | 'body' | 'foot';
15
+ export type MediaSectionType = 'left' | 'content' | 'right';
16
+ export type NavBarFixedPositionType = 'top' | 'bottom';
@@ -0,0 +1,4 @@
1
+ var l = /* @__PURE__ */ ((s) => (s[s["is-small"] = 24] = "is-small", s[s["is-medium"] = 36] = "is-medium", s[s["is-large"] = 48] = "is-large", s))(l || {});
2
+ export {
3
+ l as IconSizeEnum
4
+ };
@@ -0,0 +1,19 @@
1
+ export 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';
2
+ export 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';
3
+ export type ColumnSizeType = CommonSizeType | AbstractSizeType;
4
+ export 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';
5
+ export type TitleSizeType = 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6';
6
+ export 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';
7
+ export 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';
8
+ export 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';
9
+ export type ElementSizeType = 'is-small' | 'is-normal' | 'is-medium' | 'is-large';
10
+ export type SizeWithoutNormalType = Exclude<ElementSizeType, 'is-normal'>;
11
+ export type SizeWithHeightType = SizeWithoutNormalType | 'is-halfheight' | 'is-fullheight';
12
+ export type MediumAndLargeSizeType = Exclude<SizeWithoutNormalType, 'is-small'>;
13
+ export type IconColorModeType = 'light' | 'dark';
14
+ export type ColumnGapType = 'is-0' | 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6' | 'is-7' | 'is-8';
15
+ export type ElementAlignType = 'is-centered' | 'is-right' | 'is-left';
16
+ export type RightCenteredAlignType = Exclude<ElementAlignType, 'is-left'>;
17
+ export type RightLeftAlignType = Exclude<ElementAlignType, 'is-centered'>;
18
+ export type BreadcrumbSeparatorType = 'has-arrow-separator' | 'has-bullet-separator' | 'has-dot-separator' | 'has-succeeds-separator';
19
+ export type TabsFormatType = 'is-boxed' | 'is-toggle';
@@ -0,0 +1 @@
1
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactive-bulma",
3
- "version": "4.1.0",
3
+ "version": "4.1.2",
4
4
  "type": "module",
5
5
  "description": "A component library based on React, Bulma, Typescript and Rollup",
6
6
  "keywords": [
@@ -20,7 +20,7 @@
20
20
  "homepage": "https://reactivebulma.netlify.app",
21
21
  "repository": {
22
22
  "type": "git",
23
- "url": "https://github.com/NicolasOmar/reactive-bulma.git"
23
+ "url": "git+https://github.com/NicolasOmar/reactive-bulma.git"
24
24
  },
25
25
  "bugs": {
26
26
  "url": "https://github.com/NicolasOmar/reactive-bulma/issues"
@@ -44,6 +44,7 @@
44
44
  "compile": "tsc -b",
45
45
  "build": "npm run compile && vite build",
46
46
  "build:storybook": "storybook build",
47
+ "prepare": "npm run build",
47
48
  "semantic-release": "semantic-release",
48
49
  "create": "hygen component new",
49
50
  "update": "npm run update:deps && npm run update:doctor && npm run update:storybook",
@@ -86,8 +87,8 @@
86
87
  "@types/node": "^22.9.0",
87
88
  "@types/react": "^18.3.12",
88
89
  "@types/react-dom": "^18.3.1",
89
- "@typescript-eslint/eslint-plugin": "^8.14.0",
90
- "@typescript-eslint/parser": "^8.14.0",
90
+ "@typescript-eslint/eslint-plugin": "^8.15.0",
91
+ "@typescript-eslint/parser": "^8.15.0",
91
92
  "@vitejs/plugin-react": "^4.3.3",
92
93
  "ajv": "^8.17.1",
93
94
  "babel-jest": "^29.7.0",
@@ -101,6 +102,7 @@
101
102
  "eslint-plugin-storybook": "^0.11.0",
102
103
  "glob": "^11.0.0",
103
104
  "globals": "^15.12.0",
105
+ "husky": "^9.1.7",
104
106
  "hygen": "^6.2.11",
105
107
  "jest": "^29.7.0",
106
108
  "jest-environment-jsdom": "^29.7.0",
@@ -113,7 +115,7 @@
113
115
  "storybook": "^8.4.4",
114
116
  "tslib": "^2.8.1",
115
117
  "typescript": "~5.6.3",
116
- "typescript-eslint": "^8.14.0",
118
+ "typescript-eslint": "^8.15.0",
117
119
  "vite": "^5.4.11",
118
120
  "vite-plugin-dts": "^4.3.0"
119
121
  },