reactive-bulma 4.0.30 → 4.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (339) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +250 -252
  3. package/dist/assets/style.css +1 -0
  4. package/dist/{esm/types/components → components}/atoms/Block/index.d.ts +1 -1
  5. package/dist/components/atoms/Block/index.js +18 -0
  6. package/dist/components/atoms/Block/index.stories.d.ts +8 -0
  7. package/dist/components/atoms/Block/index.test.d.ts +0 -0
  8. package/dist/{esm/types/components → components}/atoms/Box/index.d.ts +1 -1
  9. package/dist/components/atoms/Box/index.js +18 -0
  10. package/dist/components/atoms/Box/index.stories.d.ts +8 -0
  11. package/dist/components/atoms/Box/index.test.d.ts +0 -0
  12. package/dist/{cjs/types/components → components}/atoms/BreadcrumbItem/index.d.ts +1 -1
  13. package/dist/components/atoms/BreadcrumbItem/index.js +44 -0
  14. package/dist/components/atoms/BreadcrumbItem/index.stories.d.ts +6 -0
  15. package/dist/components/atoms/BreadcrumbItem/index.test.d.ts +0 -0
  16. package/dist/{esm/types/components → components}/atoms/Button/index.d.ts +1 -1
  17. package/dist/components/atoms/Button/index.js +49 -0
  18. package/dist/components/atoms/Button/index.stories.d.ts +14 -0
  19. package/dist/components/atoms/Button/index.test.d.ts +0 -0
  20. package/dist/{cjs/types/components → components}/atoms/Checkbox/index.d.ts +1 -1
  21. package/dist/components/atoms/Checkbox/index.js +49 -0
  22. package/dist/components/atoms/Checkbox/index.stories.d.ts +9 -0
  23. package/dist/components/atoms/Checkbox/index.test.d.ts +0 -0
  24. package/dist/{cjs/types/components → components}/atoms/Column/index.d.ts +1 -1
  25. package/dist/components/atoms/Column/index.js +31 -0
  26. package/dist/components/atoms/Column/index.stories.d.ts +8 -0
  27. package/dist/components/atoms/Column/index.test.d.ts +0 -0
  28. package/dist/{cjs/types/components → components}/atoms/Delete/index.d.ts +1 -1
  29. package/dist/components/atoms/Delete/index.js +26 -0
  30. package/dist/components/atoms/Delete/index.stories.d.ts +6 -0
  31. package/dist/components/atoms/Delete/index.test.d.ts +0 -0
  32. package/dist/{cjs/types/components → components}/atoms/DropdownItem/index.d.ts +1 -1
  33. package/dist/components/atoms/DropdownItem/index.js +37 -0
  34. package/dist/components/atoms/DropdownItem/index.stories.d.ts +5 -0
  35. package/dist/components/atoms/DropdownItem/index.test.d.ts +0 -0
  36. package/dist/{cjs/types/components → components}/atoms/DropdownTrigger/index.d.ts +1 -1
  37. package/dist/components/atoms/DropdownTrigger/index.js +53 -0
  38. package/dist/components/atoms/DropdownTrigger/index.stories.d.ts +5 -0
  39. package/dist/components/atoms/DropdownTrigger/index.test.d.ts +0 -0
  40. package/dist/{cjs/types/components → components}/atoms/File/index.d.ts +1 -1
  41. package/dist/components/atoms/File/index.js +73 -0
  42. package/dist/components/atoms/File/index.stories.d.ts +13 -0
  43. package/dist/components/atoms/File/index.test.d.ts +0 -0
  44. package/dist/{cjs/types/components → components}/atoms/Icon/index.d.ts +1 -1
  45. package/dist/components/atoms/Icon/index.js +88 -0
  46. package/dist/components/atoms/Icon/index.stories.d.ts +12 -0
  47. package/dist/components/atoms/Icon/index.test.d.ts +0 -0
  48. package/dist/{cjs/types/components → components}/atoms/Image/index.d.ts +1 -1
  49. package/dist/components/atoms/Image/index.js +44 -0
  50. package/dist/components/atoms/Image/index.stories.d.ts +8 -0
  51. package/dist/components/atoms/Image/index.test.d.ts +0 -0
  52. package/dist/{cjs/types/components → components}/atoms/Input/index.d.ts +1 -1
  53. package/dist/components/atoms/Input/index.js +50 -0
  54. package/dist/components/atoms/Input/index.stories.d.ts +15 -0
  55. package/dist/components/atoms/Input/index.test.d.ts +0 -0
  56. package/dist/{cjs/types/components → components}/atoms/LevelHeader/index.d.ts +1 -1
  57. package/dist/components/atoms/LevelHeader/index.js +26 -0
  58. package/dist/components/atoms/LevelHeader/index.stories.d.ts +6 -0
  59. package/dist/components/atoms/LevelHeader/index.test.d.ts +0 -0
  60. package/dist/{cjs/types/components → components}/atoms/MenuItem/index.d.ts +1 -1
  61. package/dist/components/atoms/MenuItem/index.js +30 -0
  62. package/dist/components/atoms/MenuItem/index.stories.d.ts +6 -0
  63. package/dist/components/atoms/MenuItem/index.test.d.ts +0 -0
  64. package/dist/{cjs/types/components → components}/atoms/NavBarItem/index.d.ts +1 -1
  65. package/dist/components/atoms/NavBarItem/index.js +30 -0
  66. package/dist/components/atoms/NavBarItem/index.stories.d.ts +5 -0
  67. package/dist/components/atoms/NavBarItem/index.test.d.ts +0 -0
  68. package/dist/{esm/types/components → components}/atoms/PaginationItem/index.d.ts +1 -1
  69. package/dist/components/atoms/PaginationItem/index.js +37 -0
  70. package/dist/components/atoms/PaginationItem/index.stories.d.ts +8 -0
  71. package/dist/components/atoms/PaginationItem/index.test.d.ts +0 -0
  72. package/dist/{esm/types/components → components}/atoms/ProgressBar/index.d.ts +1 -1
  73. package/dist/components/atoms/ProgressBar/index.js +36 -0
  74. package/dist/components/atoms/ProgressBar/index.stories.d.ts +10 -0
  75. package/dist/components/atoms/ProgressBar/index.test.d.ts +0 -0
  76. package/dist/{esm/types/components → components}/atoms/RadioButton/index.d.ts +1 -1
  77. package/dist/components/atoms/RadioButton/index.js +71 -0
  78. package/dist/components/atoms/RadioButton/index.stories.d.ts +8 -0
  79. package/dist/components/atoms/RadioButton/index.test.d.ts +0 -0
  80. package/dist/{cjs/types/components → components}/atoms/Select/index.d.ts +1 -1
  81. package/dist/components/atoms/Select/index.js +64 -0
  82. package/dist/components/atoms/Select/index.stories.d.ts +9 -0
  83. package/dist/components/atoms/Select/index.test.d.ts +0 -0
  84. package/dist/{cjs/types/components → components}/atoms/TabItem/index.d.ts +1 -1
  85. package/dist/components/atoms/TabItem/index.js +44 -0
  86. package/dist/components/atoms/TabItem/index.stories.d.ts +6 -0
  87. package/dist/components/atoms/TabItem/index.test.d.ts +0 -0
  88. package/dist/{cjs/types/components → components}/atoms/TableCell/index.d.ts +1 -1
  89. package/dist/components/atoms/TableCell/index.js +24 -0
  90. package/dist/components/atoms/TableCell/index.stories.d.ts +5 -0
  91. package/dist/components/atoms/TableCell/index.test.d.ts +0 -0
  92. package/dist/{cjs/types/components → components}/atoms/TableHeadCell/index.d.ts +1 -1
  93. package/dist/components/atoms/TableHeadCell/index.js +24 -0
  94. package/dist/components/atoms/TableHeadCell/index.stories.d.ts +5 -0
  95. package/dist/components/atoms/TableHeadCell/index.test.d.ts +0 -0
  96. package/dist/{cjs/types/components → components}/atoms/Tag/index.d.ts +1 -1
  97. package/dist/components/atoms/Tag/index.js +87 -0
  98. package/dist/components/atoms/Tag/index.stories.d.ts +13 -0
  99. package/dist/components/atoms/Tag/index.test.d.ts +0 -0
  100. package/dist/{cjs/types/components → components}/atoms/TextArea/index.d.ts +1 -1
  101. package/dist/components/atoms/TextArea/index.js +60 -0
  102. package/dist/components/atoms/TextArea/index.stories.d.ts +14 -0
  103. package/dist/components/atoms/TextArea/index.test.d.ts +0 -0
  104. package/dist/{cjs/types/components → components}/atoms/Tile/index.d.ts +1 -1
  105. package/dist/components/atoms/Tile/index.js +46 -0
  106. package/dist/components/atoms/Tile/index.stories.d.ts +9 -0
  107. package/dist/components/atoms/Tile/index.test.d.ts +0 -0
  108. package/dist/{cjs/types/components → components}/atoms/Title/index.d.ts +1 -1
  109. package/dist/components/atoms/Title/index.js +25 -0
  110. package/dist/components/atoms/Title/index.stories.d.ts +10 -0
  111. package/dist/components/atoms/Title/index.test.d.ts +0 -0
  112. package/dist/components/atoms/index.js +56 -0
  113. package/dist/{esm/types/components → components}/molecules/Breadcrumbs/index.d.ts +1 -1
  114. package/dist/components/molecules/Breadcrumbs/index.js +63 -0
  115. package/dist/components/molecules/Breadcrumbs/index.stories.d.ts +8 -0
  116. package/dist/components/molecules/Breadcrumbs/index.test.d.ts +0 -0
  117. package/dist/{esm/types/components → components}/molecules/ButtonGroup/index.d.ts +1 -1
  118. package/dist/components/molecules/ButtonGroup/index.js +58 -0
  119. package/dist/components/molecules/ButtonGroup/index.stories.d.ts +8 -0
  120. package/dist/components/molecules/ButtonGroup/index.test.d.ts +0 -0
  121. package/dist/{esm/types/components → components}/molecules/ColumnGroup/index.d.ts +1 -1
  122. package/dist/components/molecules/ColumnGroup/index.js +55 -0
  123. package/dist/components/molecules/ColumnGroup/index.stories.d.ts +10 -0
  124. package/dist/components/molecules/ColumnGroup/index.test.d.ts +0 -0
  125. package/dist/{esm/types/components → components}/molecules/Dropdown/index.d.ts +1 -1
  126. package/dist/components/molecules/Dropdown/index.js +72 -0
  127. package/dist/components/molecules/Dropdown/index.stories.d.ts +6 -0
  128. package/dist/components/molecules/Dropdown/index.test.d.ts +0 -0
  129. package/dist/{esm/types/components → components}/molecules/Footer/index.d.ts +1 -1
  130. package/dist/components/molecules/Footer/index.js +51 -0
  131. package/dist/components/molecules/Footer/index.stories.d.ts +8 -0
  132. package/dist/components/molecules/Footer/index.test.d.ts +0 -0
  133. package/dist/{cjs/types/components → components}/molecules/InputControl/index.d.ts +1 -1
  134. package/dist/components/molecules/InputControl/index.js +59 -0
  135. package/dist/components/molecules/InputControl/index.stories.d.ts +11 -0
  136. package/dist/components/molecules/InputControl/index.test.d.ts +0 -0
  137. package/dist/{esm/types/components → components}/molecules/LevelItem/index.d.ts +1 -1
  138. package/dist/components/molecules/LevelItem/index.js +40 -0
  139. package/dist/components/molecules/LevelItem/index.stories.d.ts +7 -0
  140. package/dist/components/molecules/LevelItem/index.test.d.ts +0 -0
  141. package/dist/{cjs/types/components → components}/molecules/Media/index.d.ts +1 -1
  142. package/dist/components/molecules/Media/index.js +35 -0
  143. package/dist/components/molecules/Media/index.stories.d.ts +10 -0
  144. package/dist/components/molecules/Media/index.test.d.ts +0 -0
  145. package/dist/{cjs/types/components → components}/molecules/Menu/index.d.ts +1 -1
  146. package/dist/components/molecules/Menu/index.js +41 -0
  147. package/dist/components/molecules/Menu/index.stories.d.ts +6 -0
  148. package/dist/components/molecules/Menu/index.test.d.ts +0 -0
  149. package/dist/{esm/types/components → components}/molecules/MenuList/index.d.ts +1 -1
  150. package/dist/components/molecules/MenuList/index.js +39 -0
  151. package/dist/components/molecules/MenuList/index.stories.d.ts +6 -0
  152. package/dist/components/molecules/MenuList/index.test.d.ts +0 -0
  153. package/dist/{esm/types/components → components}/molecules/Message/index.d.ts +1 -1
  154. package/dist/components/molecules/Message/index.js +47 -0
  155. package/dist/components/molecules/Message/index.stories.d.ts +9 -0
  156. package/dist/components/molecules/Message/index.test.d.ts +0 -0
  157. package/dist/{cjs/types/components → components}/molecules/Modal/index.d.ts +1 -1
  158. package/dist/components/molecules/Modal/index.js +61 -0
  159. package/dist/components/molecules/Modal/index.stories.d.ts +7 -0
  160. package/dist/components/molecules/Modal/index.test.d.ts +0 -0
  161. package/dist/{cjs/types/components → components}/molecules/NavBarBrand/index.d.ts +1 -1
  162. package/dist/components/molecules/NavBarBrand/index.js +48 -0
  163. package/dist/components/molecules/NavBarBrand/index.stories.d.ts +7 -0
  164. package/dist/components/molecules/NavBarBrand/index.test.d.ts +0 -0
  165. package/dist/{cjs/types/components → components}/molecules/NavBarDropdown/index.d.ts +1 -1
  166. package/dist/components/molecules/NavBarDropdown/index.js +85 -0
  167. package/dist/components/molecules/NavBarDropdown/index.stories.d.ts +10 -0
  168. package/dist/components/molecules/NavBarDropdown/index.test.d.ts +0 -0
  169. package/dist/{cjs/types/components → components}/molecules/Notification/index.d.ts +1 -1
  170. package/dist/components/molecules/Notification/index.js +37 -0
  171. package/dist/components/molecules/Notification/index.stories.d.ts +8 -0
  172. package/dist/components/molecules/Notification/index.test.d.ts +0 -0
  173. package/dist/{esm/types/components → components}/molecules/Pagination/index.d.ts +1 -1
  174. package/dist/components/molecules/Pagination/index.js +109 -0
  175. package/dist/components/molecules/Pagination/index.stories.d.ts +12 -0
  176. package/dist/components/molecules/Pagination/index.test.d.ts +0 -0
  177. package/dist/{esm/types/components → components}/molecules/PanelBlock/index.d.ts +1 -1
  178. package/dist/components/molecules/PanelBlock/index.js +60 -0
  179. package/dist/components/molecules/PanelBlock/index.stories.d.ts +8 -0
  180. package/dist/components/molecules/PanelBlock/index.test.d.ts +0 -0
  181. package/dist/{esm/types/components → components}/molecules/PanelTabs/index.d.ts +1 -1
  182. package/dist/components/molecules/PanelTabs/index.js +32 -0
  183. package/dist/components/molecules/PanelTabs/index.stories.d.ts +7 -0
  184. package/dist/components/molecules/PanelTabs/index.test.d.ts +0 -0
  185. package/dist/{cjs/types/components → components}/molecules/Section/index.d.ts +1 -1
  186. package/dist/components/molecules/Section/index.js +23 -0
  187. package/dist/components/molecules/Section/index.stories.d.ts +8 -0
  188. package/dist/components/molecules/Section/index.test.d.ts +0 -0
  189. package/dist/{esm/types/components → components}/molecules/TableRow/index.d.ts +1 -1
  190. package/dist/components/molecules/TableRow/index.js +41 -0
  191. package/dist/components/molecules/TableRow/index.stories.d.ts +7 -0
  192. package/dist/components/molecules/TableRow/index.test.d.ts +0 -0
  193. package/dist/{cjs/types/components → components}/molecules/Tabs/index.d.ts +1 -1
  194. package/dist/components/molecules/Tabs/index.js +44 -0
  195. package/dist/components/molecules/Tabs/index.stories.d.ts +13 -0
  196. package/dist/components/molecules/Tabs/index.test.d.ts +0 -0
  197. package/dist/{cjs/types/components → components}/molecules/TileBox/index.d.ts +1 -1
  198. package/dist/components/molecules/TileBox/index.js +51 -0
  199. package/dist/components/molecules/TileBox/index.stories.d.ts +8 -0
  200. package/dist/components/molecules/TileBox/index.test.d.ts +0 -0
  201. package/dist/components/molecules/index.js +46 -0
  202. package/dist/{cjs/types/components → components}/organisms/Card/index.d.ts +1 -1
  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/{esm/types/components → components}/organisms/FormField/index.d.ts +1 -1
  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/{cjs/types/components → components}/organisms/Hero/index.d.ts +1 -1
  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/{cjs/types/components → components}/organisms/Level/index.d.ts +1 -1
  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/{esm/types/components → components}/organisms/NavBar/index.d.ts +1 -1
  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/{cjs/types/components → components}/organisms/Panel/index.d.ts +1 -1
  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/{cjs/types/components → components}/organisms/Table/index.d.ts +1 -1
  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/{cjs/types/components → components}/organisms/TileGroup/index.d.ts +1 -1
  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.js +18 -0
  235. package/dist/functions/generators.js +12 -0
  236. package/dist/{cjs/types/functions → functions}/jest.d.ts +2 -2
  237. package/dist/functions/parsers.js +19 -0
  238. package/dist/index.d.ts +3 -805
  239. package/dist/index.js +116 -0
  240. package/dist/{cjs/types/interfaces → interfaces}/atomProps.d.ts +1 -1
  241. package/dist/interfaces/atomProps.js +1 -0
  242. package/dist/interfaces/commonProps.js +1 -0
  243. package/dist/interfaces/functionProps.js +1 -0
  244. package/dist/interfaces/moleculeProps.js +1 -0
  245. package/dist/interfaces/organismProps.js +1 -0
  246. package/dist/{cjs/types/types → types}/domTypes.d.ts +1 -1
  247. package/dist/types/domTypes.js +4 -0
  248. package/dist/types/styleTypes.js +1 -0
  249. package/package.json +49 -36
  250. package/dist/cjs/index.js +0 -4089
  251. package/dist/cjs/index.js.map +0 -1
  252. package/dist/cjs/types/components/atoms/Block/index.d.ts +0 -4
  253. package/dist/cjs/types/components/atoms/Box/index.d.ts +0 -4
  254. package/dist/cjs/types/components/atoms/Button/index.d.ts +0 -4
  255. package/dist/cjs/types/components/atoms/PaginationItem/index.d.ts +0 -4
  256. package/dist/cjs/types/components/atoms/ProgressBar/index.d.ts +0 -4
  257. package/dist/cjs/types/components/atoms/RadioButton/index.d.ts +0 -4
  258. package/dist/cjs/types/components/molecules/Breadcrumbs/index.d.ts +0 -4
  259. package/dist/cjs/types/components/molecules/ButtonGroup/index.d.ts +0 -4
  260. package/dist/cjs/types/components/molecules/ColumnGroup/index.d.ts +0 -4
  261. package/dist/cjs/types/components/molecules/Dropdown/index.d.ts +0 -4
  262. package/dist/cjs/types/components/molecules/Footer/index.d.ts +0 -4
  263. package/dist/cjs/types/components/molecules/LevelItem/index.d.ts +0 -4
  264. package/dist/cjs/types/components/molecules/MenuList/index.d.ts +0 -4
  265. package/dist/cjs/types/components/molecules/Message/index.d.ts +0 -4
  266. package/dist/cjs/types/components/molecules/Pagination/index.d.ts +0 -4
  267. package/dist/cjs/types/components/molecules/PanelBlock/index.d.ts +0 -4
  268. package/dist/cjs/types/components/molecules/PanelTabs/index.d.ts +0 -4
  269. package/dist/cjs/types/components/molecules/TableRow/index.d.ts +0 -4
  270. package/dist/cjs/types/components/organisms/FormField/index.d.ts +0 -4
  271. package/dist/cjs/types/components/organisms/NavBar/index.d.ts +0 -4
  272. package/dist/cjs/types/index.d.ts +0 -5
  273. package/dist/esm/index.js +0 -4031
  274. package/dist/esm/index.js.map +0 -1
  275. package/dist/esm/types/components/atoms/BreadcrumbItem/index.d.ts +0 -4
  276. package/dist/esm/types/components/atoms/Checkbox/index.d.ts +0 -4
  277. package/dist/esm/types/components/atoms/Column/index.d.ts +0 -4
  278. package/dist/esm/types/components/atoms/Delete/index.d.ts +0 -4
  279. package/dist/esm/types/components/atoms/DropdownItem/index.d.ts +0 -4
  280. package/dist/esm/types/components/atoms/DropdownTrigger/index.d.ts +0 -4
  281. package/dist/esm/types/components/atoms/File/index.d.ts +0 -4
  282. package/dist/esm/types/components/atoms/Icon/index.d.ts +0 -4
  283. package/dist/esm/types/components/atoms/Image/index.d.ts +0 -4
  284. package/dist/esm/types/components/atoms/Input/index.d.ts +0 -4
  285. package/dist/esm/types/components/atoms/LevelHeader/index.d.ts +0 -4
  286. package/dist/esm/types/components/atoms/MenuItem/index.d.ts +0 -4
  287. package/dist/esm/types/components/atoms/NavBarItem/index.d.ts +0 -4
  288. package/dist/esm/types/components/atoms/Select/index.d.ts +0 -4
  289. package/dist/esm/types/components/atoms/TabItem/index.d.ts +0 -4
  290. package/dist/esm/types/components/atoms/TableCell/index.d.ts +0 -4
  291. package/dist/esm/types/components/atoms/TableHeadCell/index.d.ts +0 -4
  292. package/dist/esm/types/components/atoms/Tag/index.d.ts +0 -4
  293. package/dist/esm/types/components/atoms/TextArea/index.d.ts +0 -4
  294. package/dist/esm/types/components/atoms/Tile/index.d.ts +0 -4
  295. package/dist/esm/types/components/atoms/Title/index.d.ts +0 -4
  296. package/dist/esm/types/components/atoms/index.d.ts +0 -27
  297. package/dist/esm/types/components/molecules/InputControl/index.d.ts +0 -4
  298. package/dist/esm/types/components/molecules/Media/index.d.ts +0 -4
  299. package/dist/esm/types/components/molecules/Menu/index.d.ts +0 -4
  300. package/dist/esm/types/components/molecules/Modal/index.d.ts +0 -4
  301. package/dist/esm/types/components/molecules/NavBarBrand/index.d.ts +0 -4
  302. package/dist/esm/types/components/molecules/NavBarDropdown/index.d.ts +0 -4
  303. package/dist/esm/types/components/molecules/Notification/index.d.ts +0 -4
  304. package/dist/esm/types/components/molecules/Section/index.d.ts +0 -4
  305. package/dist/esm/types/components/molecules/Tabs/index.d.ts +0 -4
  306. package/dist/esm/types/components/molecules/TileBox/index.d.ts +0 -4
  307. package/dist/esm/types/components/molecules/index.d.ts +0 -22
  308. package/dist/esm/types/components/organisms/Card/index.d.ts +0 -4
  309. package/dist/esm/types/components/organisms/Hero/index.d.ts +0 -4
  310. package/dist/esm/types/components/organisms/Level/index.d.ts +0 -4
  311. package/dist/esm/types/components/organisms/Panel/index.d.ts +0 -4
  312. package/dist/esm/types/components/organisms/Table/index.d.ts +0 -4
  313. package/dist/esm/types/components/organisms/TileGroup/index.d.ts +0 -4
  314. package/dist/esm/types/components/organisms/index.d.ts +0 -8
  315. package/dist/esm/types/functions/generators.d.ts +0 -4
  316. package/dist/esm/types/functions/jest.d.ts +0 -2
  317. package/dist/esm/types/functions/parsers.d.ts +0 -14
  318. package/dist/esm/types/functions/tests/generators.test.d.ts +0 -1
  319. package/dist/esm/types/functions/tests/parsers.test.d.ts +0 -1
  320. package/dist/esm/types/index.d.ts +0 -5
  321. package/dist/esm/types/interfaces/atomProps.d.ts +0 -305
  322. package/dist/esm/types/interfaces/commonProps.d.ts +0 -25
  323. package/dist/esm/types/interfaces/functionProps.d.ts +0 -16
  324. package/dist/esm/types/interfaces/moleculeProps.d.ts +0 -231
  325. package/dist/esm/types/interfaces/organismProps.d.ts +0 -112
  326. package/dist/esm/types/types/domTypes.d.ts +0 -16
  327. package/dist/esm/types/types/styleTypes.d.ts +0 -19
  328. /package/dist/{cjs/types/components → components}/atoms/index.d.ts +0 -0
  329. /package/dist/{cjs/types/components → components}/molecules/index.d.ts +0 -0
  330. /package/dist/{cjs/types/components → components}/organisms/index.d.ts +0 -0
  331. /package/dist/{cjs/types/functions → functions}/generators.d.ts +0 -0
  332. /package/dist/{cjs/types/functions → functions}/parsers.d.ts +0 -0
  333. /package/dist/{cjs/types/functions → functions}/tests/generators.test.d.ts +0 -0
  334. /package/dist/{cjs/types/functions → functions}/tests/parsers.test.d.ts +0 -0
  335. /package/dist/{cjs/types/interfaces → interfaces}/commonProps.d.ts +0 -0
  336. /package/dist/{cjs/types/interfaces → interfaces}/functionProps.d.ts +0 -0
  337. /package/dist/{cjs/types/interfaces → interfaces}/moleculeProps.d.ts +0 -0
  338. /package/dist/{cjs/types/interfaces → interfaces}/organismProps.d.ts +0 -0
  339. /package/dist/{cjs/types/types → types}/styleTypes.d.ts +0 -0
package/dist/index.js ADDED
@@ -0,0 +1,116 @@
1
+ import { default as o } from "./components/atoms/Button/index.js";
2
+ import { default as t } from "./components/atoms/Column/index.js";
3
+ import { default as l } from "./components/atoms/ProgressBar/index.js";
4
+ import { default as d } from "./components/atoms/Block/index.js";
5
+ import { default as p } from "./components/atoms/Tag/index.js";
6
+ import { default as x } from "./components/atoms/Box/index.js";
7
+ import { default as i } from "./components/atoms/Title/index.js";
8
+ import { default as T } from "./components/atoms/Icon/index.js";
9
+ import { default as b } from "./components/atoms/Input/index.js";
10
+ import { default as g } from "./components/atoms/TextArea/index.js";
11
+ import { default as C } from "./components/atoms/Delete/index.js";
12
+ import { default as P } from "./components/atoms/Select/index.js";
13
+ import { default as D } from "./components/atoms/File/index.js";
14
+ import { default as F } from "./components/atoms/Checkbox/index.js";
15
+ import { default as k } from "./components/atoms/RadioButton/index.js";
16
+ import { default as H } from "./components/atoms/BreadcrumbItem/index.js";
17
+ import { default as S } from "./components/atoms/DropdownTrigger/index.js";
18
+ import { default as A } from "./components/atoms/DropdownItem/index.js";
19
+ import { default as q } from "./components/atoms/MenuItem/index.js";
20
+ import { default as z } from "./components/atoms/Image/index.js";
21
+ import { default as J } from "./components/atoms/PaginationItem/index.js";
22
+ import { default as O } from "./components/atoms/TabItem/index.js";
23
+ import { default as U } from "./components/atoms/LevelHeader/index.js";
24
+ import { default as W } from "./components/atoms/Tile/index.js";
25
+ import { default as Y } from "./components/atoms/NavBarItem/index.js";
26
+ import { default as _ } from "./components/atoms/TableHeadCell/index.js";
27
+ import { default as ee } from "./components/atoms/TableCell/index.js";
28
+ import { default as oe } from "./components/molecules/ButtonGroup/index.js";
29
+ import { default as te } from "./components/molecules/ColumnGroup/index.js";
30
+ import { default as le } from "./components/molecules/Notification/index.js";
31
+ import { default as de } from "./components/molecules/Breadcrumbs/index.js";
32
+ import { default as pe } from "./components/molecules/Dropdown/index.js";
33
+ import { default as xe } from "./components/molecules/Message/index.js";
34
+ import { default as ie } from "./components/molecules/Menu/index.js";
35
+ import { default as Te } from "./components/molecules/MenuList/index.js";
36
+ import { default as be } from "./components/molecules/Pagination/index.js";
37
+ import { default as ge } from "./components/molecules/Modal/index.js";
38
+ import { default as Ce } from "./components/molecules/Tabs/index.js";
39
+ import { default as Pe } from "./components/molecules/InputControl/index.js";
40
+ import { default as De } from "./components/molecules/PanelBlock/index.js";
41
+ import { default as Fe } from "./components/molecules/PanelTabs/index.js";
42
+ import { default as ke } from "./components/molecules/LevelItem/index.js";
43
+ import { default as He } from "./components/molecules/TileBox/index.js";
44
+ import { default as Se } from "./components/molecules/Footer/index.js";
45
+ import { default as Ae } from "./components/molecules/Media/index.js";
46
+ import { default as qe } from "./components/molecules/Section/index.js";
47
+ import { default as ze } from "./components/molecules/NavBarBrand/index.js";
48
+ import { default as Je } from "./components/molecules/NavBarDropdown/index.js";
49
+ import { default as Oe } from "./components/molecules/TableRow/index.js";
50
+ import { default as Ue } from "./components/organisms/FormField/index.js";
51
+ import { default as We } from "./components/organisms/Panel/index.js";
52
+ import { default as Ye } from "./components/organisms/Level/index.js";
53
+ import { default as _e } from "./components/organisms/Hero/index.js";
54
+ import { default as ea } from "./components/organisms/TileGroup/index.js";
55
+ import { default as oa } from "./components/organisms/NavBar/index.js";
56
+ import { default as ta } from "./components/organisms/Card/index.js";
57
+ import { default as la } from "./components/organisms/Table/index.js";
58
+ export {
59
+ d as Block,
60
+ x as Box,
61
+ H as BreadcrumbItem,
62
+ de as Breadcrumbs,
63
+ o as Button,
64
+ oe as ButtonGroup,
65
+ ta as Card,
66
+ F as Checkbox,
67
+ t as Column,
68
+ te as ColumnGroup,
69
+ C as Delete,
70
+ pe as Dropdown,
71
+ A as DropdownItem,
72
+ S as DropdownTrigger,
73
+ D as File,
74
+ Se as Footer,
75
+ Ue as FormField,
76
+ _e as Hero,
77
+ T as Icon,
78
+ z as Image,
79
+ b as Input,
80
+ Pe as InputControl,
81
+ Ye as Level,
82
+ U as LevelHeader,
83
+ ke as LevelItem,
84
+ Ae as Media,
85
+ ie as Menu,
86
+ q as MenuItem,
87
+ Te as MenuList,
88
+ xe as Message,
89
+ ge as Modal,
90
+ oa as NavBar,
91
+ ze as NavBarBrand,
92
+ Je as NavBarDropdown,
93
+ Y as NavBarItem,
94
+ le as Notification,
95
+ be as Pagination,
96
+ J as PaginationItem,
97
+ We as Panel,
98
+ De as PanelBlock,
99
+ Fe as PanelTabs,
100
+ l as ProgressBar,
101
+ k as RadioButton,
102
+ qe as Section,
103
+ P as Select,
104
+ O as TabItem,
105
+ la as Table,
106
+ ee as TableCell,
107
+ _ as TableHeadCell,
108
+ Oe as TableRow,
109
+ Ce as Tabs,
110
+ p as Tag,
111
+ g as TextArea,
112
+ W as Tile,
113
+ He as TileBox,
114
+ ea as TileGroup,
115
+ i as Title
116
+ };
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ElementProps, ComposedElementProps, ClickeableProps } from './commonProps';
3
3
  import { BasicColorType, ColumnOffsetType, ColumnSizeType, FixedImageSizeType, IconColorModeType, ElementSizeType, SizeWithoutNormalType, TextColorType, TitleSizeType, RightLeftAlignType, CommonSizeType } from '../types/styleTypes';
4
4
  import { DropdownItemType, InputType, ChildrenType, TileContextType, SingleChildType } from '../types/domTypes';
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export type ButtonType = 'submit' | 'reset' | 'button';
3
3
  export type InputType = 'text' | 'password' | 'email' | 'tel';
4
4
  export type DropdownItemType = 'item' | 'link' | 'divider';
@@ -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 @@
1
+
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "reactive-bulma",
3
- "version": "4.0.30",
3
+ "version": "4.1.1",
4
+ "type": "module",
4
5
  "description": "A component library based on React, Bulma, Typescript and Rollup",
5
6
  "keywords": [
6
7
  "typescript",
@@ -19,31 +20,31 @@
19
20
  "homepage": "https://reactivebulma.netlify.app",
20
21
  "repository": {
21
22
  "type": "git",
22
- "url": "https://github.com/NicolasOmar/reactive-bulma.git"
23
+ "url": "git+https://github.com/NicolasOmar/reactive-bulma.git"
23
24
  },
24
25
  "bugs": {
25
26
  "url": "https://github.com/NicolasOmar/reactive-bulma/issues"
26
27
  },
27
- "main": "dist/cjs/index.js",
28
- "module": "dist/esm/index.js",
28
+ "main": "dist/index.js",
29
+ "types": "dist/index.d.ts",
29
30
  "files": [
30
31
  "dist"
31
32
  ],
32
- "types": "dist/index.d.ts",
33
33
  "scripts": {
34
34
  "start": "storybook dev -p 6006",
35
35
  "start:cli": "npm start -- --no-open",
36
36
  "test": "jest --watchAll=false --verbose",
37
37
  "test:ci": "npm test -- --coverage",
38
38
  "test:diff": "npm run test:ci -- -o",
39
- "lint": "eslint src/**/*.tsx",
39
+ "lint": "eslint",
40
40
  "prettier": "prettier src/**/*.{tsx,ts} --write",
41
41
  "prettier:ci": "prettier src/**/*.{tsx,ts} --check",
42
42
  "lint-staged": "lint-staged -v",
43
- "setup": "npm i && npm i -g npm-check-updates && husky install",
44
- "prepare": "npm run build",
45
- "build": "rollup -c --bundleConfigAsCjs",
43
+ "setup": "npm ci && husky",
44
+ "compile": "tsc -b",
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",
@@ -51,17 +52,18 @@
51
52
  "update:storybook": "npx storybook@latest upgrade && npm run build:storybook",
52
53
  "update:doctor": "npm run prettier:ci && npm run lint && npm run test && npm run build"
53
54
  },
55
+ "peerDependencies": {
56
+ "react": "^18.3.1",
57
+ "react-dom": "^18.3.1"
58
+ },
54
59
  "devDependencies": {
55
60
  "@babel/core": "^7.26.0",
56
61
  "@babel/preset-env": "^7.26.0",
57
62
  "@babel/preset-react": "^7.25.9",
58
63
  "@babel/preset-typescript": "^7.26.0",
59
- "@eslint/compat": "^1.2.2",
60
- "@eslint/js": "^9.14.0",
64
+ "@eslint/compat": "^1.2.3",
65
+ "@eslint/js": "^9.15.0",
61
66
  "@mdi/font": "^7.4.47",
62
- "@rollup/plugin-commonjs": "^28.0.1",
63
- "@rollup/plugin-node-resolve": "^15.3.0",
64
- "@rollup/plugin-typescript": "^11.1.6",
65
67
  "@semantic-release/changelog": "^6.0.3",
66
68
  "@semantic-release/commit-analyzer": "^13.0.0",
67
69
  "@semantic-release/exec": "^6.0.3",
@@ -69,46 +71,53 @@
69
71
  "@semantic-release/github": "^11.0.1",
70
72
  "@semantic-release/npm": "^12.0.1",
71
73
  "@semantic-release/release-notes-generator": "^14.0.1",
72
- "@storybook/addon-actions": "^8.4.2",
73
- "@storybook/addon-essentials": "^8.4.2",
74
- "@storybook/addon-interactions": "^8.4.2",
75
- "@storybook/addon-links": "^8.4.2",
76
- "@storybook/addon-mdx-gfm": "^8.4.2",
77
- "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
78
- "@storybook/cli": "^8.4.2",
79
- "@storybook/react": "^8.4.2",
80
- "@storybook/react-webpack5": "^8.4.2",
81
- "@storybook/test": "^8.4.2",
74
+ "@storybook/addon-essentials": "^8.4.4",
75
+ "@storybook/addon-interactions": "^8.4.4",
76
+ "@storybook/addon-links": "^8.4.4",
77
+ "@storybook/addon-onboarding": "^8.4.4",
78
+ "@storybook/blocks": "^8.4.4",
79
+ "@storybook/react": "^8.4.4",
80
+ "@storybook/react-vite": "^8.4.4",
81
+ "@storybook/test": "^8.4.4",
82
82
  "@testing-library/jest-dom": "^6.6.3",
83
83
  "@testing-library/react": "^16.0.1",
84
84
  "@testing-library/user-event": "^14.5.2",
85
+ "@types/css-modules": "^1.0.5",
85
86
  "@types/jest": "^29.5.14",
87
+ "@types/node": "^22.9.0",
86
88
  "@types/react": "^18.3.12",
87
- "@typescript-eslint/eslint-plugin": "^8.13.0",
88
- "@typescript-eslint/parser": "^8.13.0",
89
+ "@types/react-dom": "^18.3.1",
90
+ "@typescript-eslint/eslint-plugin": "^8.14.0",
91
+ "@typescript-eslint/parser": "^8.14.0",
92
+ "@vitejs/plugin-react": "^4.3.3",
93
+ "ajv": "^8.17.1",
89
94
  "babel-jest": "^29.7.0",
90
95
  "babel-loader": "^9.2.1",
91
96
  "bulma": "^0.9.4",
92
- "eslint": "^9.14.0",
97
+ "eslint": "^9.15.0",
93
98
  "eslint-config-prettier": "^9.1.0",
94
99
  "eslint-plugin-react": "^7.37.2",
95
- "husky": "^9.1.6",
100
+ "eslint-plugin-react-hooks": "^5.0.0",
101
+ "eslint-plugin-react-refresh": "^0.4.14",
102
+ "eslint-plugin-storybook": "^0.11.0",
103
+ "glob": "^11.0.0",
104
+ "globals": "^15.12.0",
105
+ "husky": "^9.1.7",
96
106
  "hygen": "^6.2.11",
97
107
  "jest": "^29.7.0",
98
108
  "jest-environment-jsdom": "^29.7.0",
99
109
  "lint-staged": "^15.2.10",
100
- "npm-check-updates": "^17.1.10",
101
- "postcss": "^8.4.48",
110
+ "npm-check-updates": "^17.1.11",
102
111
  "prettier": "^3.3.3",
103
112
  "react": "^18.3.1",
104
113
  "react-dom": "^18.3.1",
105
- "rollup": "^4.25.0",
106
- "rollup-plugin-dts": "^6.1.1",
107
- "rollup-plugin-postcss": "^4.0.2",
108
114
  "semantic-release": "^24.2.0",
109
- "storybook": "^8.4.2",
115
+ "storybook": "^8.4.4",
110
116
  "tslib": "^2.8.1",
111
- "typescript": "^5.6.3"
117
+ "typescript": "~5.6.3",
118
+ "typescript-eslint": "^8.14.0",
119
+ "vite": "^5.4.11",
120
+ "vite-plugin-dts": "^4.3.0"
112
121
  },
113
122
  "lint-staged": {
114
123
  "src/**/*.(ts|tsx)": [
@@ -116,5 +125,9 @@
116
125
  "eslint"
117
126
  ]
118
127
  },
119
- "packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
128
+ "eslintConfig": {
129
+ "extends": [
130
+ "plugin:storybook/recommended"
131
+ ]
132
+ }
120
133
  }