reactive-bulma 4.1.0 → 4.1.1

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 +8 -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 +231 -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 +4 -2
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { BlockProps } from '../../../interfaces/atomProps';
3
+ declare const Block: React.FC<BlockProps>;
4
+ export default Block;
@@ -0,0 +1,18 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ const c = ({
3
+ testId: t = "test-block",
4
+ cssClasses: o = "block",
5
+ style: s = null,
6
+ children: l = null
7
+ }) => l ? /* @__PURE__ */ a(
8
+ "section",
9
+ {
10
+ "data-testid": t,
11
+ className: o,
12
+ style: s ?? void 0,
13
+ children: l
14
+ }
15
+ ) : null;
16
+ export {
17
+ c as default
18
+ };
@@ -0,0 +1,8 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { default as Block } from '.';
3
+ declare const _default: Meta<typeof Block>;
4
+ export default _default;
5
+ export declare const BasicExample: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').BlockProps>;
6
+ export declare const WithParagraph: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').BlockProps>;
7
+ export declare const OneBlock: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').BlockProps>;
8
+ export declare const SeveralBlocks: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').BlockProps>;
File without changes
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { BoxProps } from '../../../interfaces/atomProps';
3
+ declare const Box: React.FC<BoxProps>;
4
+ export default Box;
@@ -0,0 +1,18 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ const x = ({
3
+ testId: o = "test-box",
4
+ cssClasses: s = "box",
5
+ style: l = null,
6
+ children: t = null
7
+ }) => t ? /* @__PURE__ */ a(
8
+ "section",
9
+ {
10
+ "data-testid": o,
11
+ className: s,
12
+ style: l ?? void 0,
13
+ children: t
14
+ }
15
+ ) : null;
16
+ export {
17
+ x as default
18
+ };
@@ -0,0 +1,8 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { default as Box } from '.';
3
+ declare const _default: Meta<typeof Box>;
4
+ export default _default;
5
+ export declare const NoChildren: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').BoxProps>;
6
+ export declare const WithParagraphExample: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').BoxProps>;
7
+ export declare const OneBox: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').BoxProps>;
8
+ export declare const SeveralBoxes: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').BoxProps>;
File without changes
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { BreadcrumbItemProps } from '../../../interfaces/atomProps';
3
+ declare const BreadcrumbItem: React.FC<BreadcrumbItemProps>;
4
+ export default BreadcrumbItem;
@@ -0,0 +1,44 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { parseClasses as r, parseTestId as s } from "../../../functions/parsers.js";
3
+ const f = ({
4
+ testId: l = null,
5
+ containerTestId: d = null,
6
+ cssClasses: n = null,
7
+ containerCssClasses: e = null,
8
+ style: m = null,
9
+ containerStyle: c = null,
10
+ text: u,
11
+ isActiveItem: i = null,
12
+ onClick: b = null
13
+ }) => {
14
+ const o = r([
15
+ "breadcrumb-item-container",
16
+ i ? "is-active" : null,
17
+ e
18
+ ]), t = r(["breadcrumbItem", n]), I = d ?? s({
19
+ tag: "breadcrumb-item-container",
20
+ parsedClasses: e ?? ""
21
+ }), p = l ?? s({ tag: "breadcrumbItem", parsedClasses: t });
22
+ return /* @__PURE__ */ a(
23
+ "li",
24
+ {
25
+ "data-testid": I,
26
+ className: o,
27
+ style: c ?? void 0,
28
+ children: /* @__PURE__ */ a(
29
+ "a",
30
+ {
31
+ "data-testid": p,
32
+ className: t,
33
+ style: m ?? void 0,
34
+ "aria-hidden": "true",
35
+ onClick: b ?? void 0,
36
+ children: u
37
+ }
38
+ )
39
+ }
40
+ );
41
+ };
42
+ export {
43
+ f as default
44
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { default as BreadcrumbItem } from '.';
3
+ declare const _default: Meta<typeof BreadcrumbItem>;
4
+ export default _default;
5
+ export declare const BasicExample: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').BreadcrumbItemProps>;
6
+ export declare const IsActiveItem: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').BreadcrumbItemProps>;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { ButtonProps } from '../../../interfaces/atomProps';
3
+ declare const Button: React.FC<ButtonProps>;
4
+ export default Button;
@@ -0,0 +1,49 @@
1
+ import { jsx as v } from "react/jsx-runtime";
2
+ import { parseClasses as h, parseTestId as x } from "../../../functions/parsers.js";
3
+ const j = ({
4
+ testId: s = null,
5
+ cssClasses: t = null,
6
+ style: e = null,
7
+ type: n = "button",
8
+ text: a = null,
9
+ isDisabled: u = !1,
10
+ color: o = null,
11
+ isLightColor: i = !1,
12
+ isInvertedColor: d = !1,
13
+ isOutlined: r = !1,
14
+ isRounded: f = !1,
15
+ isLoading: c = !1,
16
+ isStatic: b = !1,
17
+ isSelected: p = !1,
18
+ size: m = null,
19
+ onClick: C = null
20
+ }) => {
21
+ const l = h([
22
+ "button",
23
+ o,
24
+ i ? "is-light" : null,
25
+ d ? "is-inverted" : null,
26
+ r ? "is-outlined" : null,
27
+ f ? "is-rounded" : null,
28
+ c ? "is-loading" : null,
29
+ b ? "is-static" : null,
30
+ p ? "is-selected" : null,
31
+ m,
32
+ t
33
+ ]), g = s ?? x({ tag: "button", parsedClasses: l });
34
+ return /* @__PURE__ */ v(
35
+ "button",
36
+ {
37
+ "data-testid": g,
38
+ type: n,
39
+ className: l,
40
+ style: e ?? void 0,
41
+ disabled: u ?? !1,
42
+ onClick: C ?? void 0,
43
+ children: a
44
+ }
45
+ );
46
+ };
47
+ export {
48
+ j as default
49
+ };
@@ -0,0 +1,14 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { default as Button } from '.';
3
+ declare const _default: Meta<typeof Button>;
4
+ export default _default;
5
+ export declare const NoText: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ButtonProps>;
6
+ export declare const WithText: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ButtonProps>;
7
+ export declare const Colored: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ButtonProps>;
8
+ export declare const InvertedColor: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ButtonProps>;
9
+ export declare const OutlinedColor: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ButtonProps>;
10
+ export declare const Rounded: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ButtonProps>;
11
+ export declare const LoadingState: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ButtonProps>;
12
+ export declare const LargeSize: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ButtonProps>;
13
+ export declare const Disabled: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ButtonProps>;
14
+ export declare const Static: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ButtonProps>;
File without changes
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { CheckBoxProps } from '../../../interfaces/atomProps';
3
+ declare const CheckBox: React.FC<CheckBoxProps>;
4
+ export default CheckBox;
@@ -0,0 +1,49 @@
1
+ import { jsxs as x, jsx as b } from "react/jsx-runtime";
2
+ import { parseClasses as C, parseTestId as l } from "../../../functions/parsers.js";
3
+ const a = (s) => typeof s == "string" ? `-${s == null ? void 0 : s.toString()}` : s !== null ? "-with-component" : "", m = ({
4
+ testId: s = null,
5
+ containerTestId: r = null,
6
+ cssClasses: t = null,
7
+ containerCssClasses: o = null,
8
+ style: i = null,
9
+ containerStyle: n = null,
10
+ content: e = null,
11
+ isDisabled: d = null,
12
+ onChange: c = null
13
+ }) => {
14
+ const u = C([
15
+ "checkbox",
16
+ o
17
+ ]), p = r ?? l({
18
+ tag: "checkbox-container",
19
+ parsedClasses: a(e)
20
+ }), h = s ?? l({
21
+ tag: "checkbox",
22
+ parsedClasses: a(e)
23
+ });
24
+ return /* @__PURE__ */ x(
25
+ "label",
26
+ {
27
+ "data-testid": p,
28
+ className: u,
29
+ style: n ?? void 0,
30
+ children: [
31
+ /* @__PURE__ */ b(
32
+ "input",
33
+ {
34
+ "data-testid": h,
35
+ type: "checkbox",
36
+ className: t ?? void 0,
37
+ style: i ?? void 0,
38
+ disabled: d ?? !1,
39
+ onChange: c ?? void 0
40
+ }
41
+ ),
42
+ e
43
+ ]
44
+ }
45
+ );
46
+ };
47
+ export {
48
+ m as default
49
+ };
@@ -0,0 +1,9 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { default as CheckBox } from '.';
3
+ import { CheckBoxProps } from '../../../interfaces/atomProps';
4
+ declare const _default: Meta<typeof CheckBox>;
5
+ export default _default;
6
+ export declare const BasicExample: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, CheckBoxProps>;
7
+ export declare const WithTextContent: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, CheckBoxProps>;
8
+ export declare const WithComponentContent: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, CheckBoxProps>;
9
+ export declare const Disabled: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, CheckBoxProps>;
File without changes
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { ColumnProps } from '../../../interfaces/atomProps';
3
+ declare const Column: React.FC<ColumnProps>;
4
+ export default Column;
@@ -0,0 +1,31 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { parseClasses as c, parseTestId as d } from "../../../functions/parsers.js";
3
+ const f = ({
4
+ testId: s = null,
5
+ cssClasses: n = null,
6
+ style: e = null,
7
+ children: o = null,
8
+ size: t = null,
9
+ offset: a = null,
10
+ isNarrow: u = !1
11
+ }) => {
12
+ const l = c([
13
+ "column",
14
+ t,
15
+ a,
16
+ u ? "is-narrow" : null,
17
+ n
18
+ ]), r = s ?? d({ tag: "column", parsedClasses: l });
19
+ return /* @__PURE__ */ m(
20
+ "section",
21
+ {
22
+ "data-testid": r,
23
+ className: l,
24
+ style: e ?? void 0,
25
+ children: o
26
+ }
27
+ );
28
+ };
29
+ export {
30
+ f as default
31
+ };
@@ -0,0 +1,8 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { default as Column } from '.';
3
+ declare const _default: Meta<typeof Column>;
4
+ export default _default;
5
+ export declare const NoChildren: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ColumnProps>;
6
+ export declare const WithParagraphExample: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ColumnProps>;
7
+ export declare const WithLargeParagraphExample: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ColumnProps>;
8
+ export declare const WithButtonExample: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').ColumnProps>;
File without changes
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { DeleteProps } from '../../../interfaces/atomProps';
3
+ declare const Delete: React.FC<DeleteProps>;
4
+ export default Delete;
@@ -0,0 +1,26 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { parseClasses as r, parseTestId as u } from "../../../functions/parsers.js";
3
+ const c = ({
4
+ testId: s = null,
5
+ cssClasses: l = null,
6
+ style: t = null,
7
+ size: a = null,
8
+ onClick: d = null
9
+ }) => {
10
+ const e = r(["delete", a, l]), o = s ?? u({
11
+ tag: "delete",
12
+ parsedClasses: e
13
+ });
14
+ return /* @__PURE__ */ n(
15
+ "button",
16
+ {
17
+ "data-testid": o,
18
+ className: e,
19
+ style: t ?? void 0,
20
+ onClick: d ?? void 0
21
+ }
22
+ );
23
+ };
24
+ export {
25
+ c as default
26
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { default as Delete } from '.';
3
+ declare const _default: Meta<typeof Delete>;
4
+ export default _default;
5
+ export declare const BasicExample: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').DeleteProps>;
6
+ export declare const WithBigSize: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').DeleteProps>;
File without changes
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { DropdownItemProps } from '../../../interfaces/atomProps';
3
+ declare const DropdownItem: React.FC<DropdownItemProps>;
4
+ export default DropdownItem;
@@ -0,0 +1,37 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { parseClasses as p, parseTestId as u } from "../../../functions/parsers.js";
3
+ const w = ({
4
+ testId: o = null,
5
+ cssClasses: t = null,
6
+ style: a = null,
7
+ itemText: i,
8
+ type: e = "item",
9
+ isActiveItem: c = !1,
10
+ onClick: m = null
11
+ }) => {
12
+ const r = e === "divider", l = r ? "dropdown-divider" : "dropdown-item", n = p([
13
+ l,
14
+ c && !r ? "is-active" : null,
15
+ t
16
+ ]), d = {
17
+ "data-testid": o ?? u({
18
+ tag: l,
19
+ parsedClasses: `${n}-${e}`
20
+ }),
21
+ className: n,
22
+ style: a ?? void 0,
23
+ onClick: m ?? void 0
24
+ };
25
+ switch (e) {
26
+ case "item":
27
+ return /* @__PURE__ */ s("div", { ...d, children: /* @__PURE__ */ s("p", { children: i }) });
28
+ case "divider":
29
+ return /* @__PURE__ */ s("hr", { ...d });
30
+ case "link":
31
+ default:
32
+ return /* @__PURE__ */ s("a", { ...d, children: i });
33
+ }
34
+ };
35
+ export {
36
+ w as default
37
+ };
@@ -0,0 +1,5 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { default as DropdownItem } from '.';
3
+ declare const _default: Meta<typeof DropdownItem>;
4
+ export default _default;
5
+ export declare const BasicExample: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').DropdownItemProps>;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { DropdownTriggerProps } from '../../../interfaces/atomProps';
3
+ declare const DropdownTrigger: React.FC<DropdownTriggerProps>;
4
+ export default DropdownTrigger;
@@ -0,0 +1,53 @@
1
+ import { jsx as s, jsxs as C } from "react/jsx-runtime";
2
+ import { parseClasses as n, parseTestId as o } from "../../../functions/parsers.js";
3
+ const v = ({
4
+ testId: a = null,
5
+ containerTestId: d = null,
6
+ cssClasses: t = null,
7
+ containerCssClasses: l = null,
8
+ style: i = null,
9
+ containerStyle: p = null,
10
+ menuText: c,
11
+ dropdownPointer: g = "dropdown-menu",
12
+ onClick: u = null
13
+ }) => {
14
+ const r = n([
15
+ "dropdown-trigger",
16
+ l
17
+ ]), m = d ?? o({
18
+ tag: "dropdown-trigger",
19
+ parsedClasses: r
20
+ }), e = n(["button", t]), w = a ?? o({ tag: "button", parsedClasses: e });
21
+ return /* @__PURE__ */ s(
22
+ "section",
23
+ {
24
+ "data-testid": m,
25
+ className: r,
26
+ style: p ?? void 0,
27
+ children: /* @__PURE__ */ C(
28
+ "button",
29
+ {
30
+ "data-testid": w,
31
+ className: e,
32
+ style: i ?? void 0,
33
+ "aria-haspopup": "true",
34
+ "aria-controls": g,
35
+ onClick: u ?? void 0,
36
+ children: [
37
+ /* @__PURE__ */ s("span", { children: c }),
38
+ /* @__PURE__ */ s("span", { className: "icon is-small", children: /* @__PURE__ */ s(
39
+ "i",
40
+ {
41
+ className: "mdi mdi-chevron-down",
42
+ "aria-hidden": "true"
43
+ }
44
+ ) })
45
+ ]
46
+ }
47
+ )
48
+ }
49
+ );
50
+ };
51
+ export {
52
+ v as default
53
+ };
@@ -0,0 +1,5 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { default as DropdownTrigger } from '.';
3
+ declare const _default: Meta<typeof DropdownTrigger>;
4
+ export default _default;
5
+ export declare const BasicExample: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').DropdownTriggerProps>;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { FileProps } from '../../../interfaces/atomProps';
3
+ declare const File: React.FC<FileProps>;
4
+ export default File;
@@ -0,0 +1,73 @@
1
+ import { jsx as l, jsxs as i } from "react/jsx-runtime";
2
+ import N from "../Icon/index.js";
3
+ import { parseClasses as v, parseTestId as y } from "../../../functions/parsers.js";
4
+ const k = ({
5
+ testId: t = null,
6
+ containerTestId: r = null,
7
+ cssClasses: u = null,
8
+ containerCssClasses: o = null,
9
+ style: c = null,
10
+ containerStyle: f = null,
11
+ fileName: e = null,
12
+ uploadIcon: s = { iconLabel: "upload" },
13
+ uploadText: p = "Choose a file…",
14
+ buttonOnRight: d = !1,
15
+ isFullWidth: m = !1,
16
+ isBoxed: h = !1,
17
+ color: C = null,
18
+ size: g = null,
19
+ onClick: x = null
20
+ }) => {
21
+ const a = v([
22
+ "file",
23
+ e ? "has-name" : null,
24
+ d ? "is-right" : null,
25
+ m ? "is-fullwidth" : null,
26
+ h ? "is-boxed" : null,
27
+ C,
28
+ g,
29
+ o
30
+ ]), n = r ?? y({
31
+ tag: "file",
32
+ parsedClasses: a,
33
+ rules: [
34
+ {
35
+ regExp: /has/gm,
36
+ replacer: "-has"
37
+ },
38
+ {
39
+ regExp: /is|file/gm,
40
+ replacer: ""
41
+ }
42
+ ]
43
+ }), b = u ?? "file-input", I = t ?? `${n}-input`;
44
+ return /* @__PURE__ */ l(
45
+ "section",
46
+ {
47
+ "data-testid": n,
48
+ className: a,
49
+ style: f ?? void 0,
50
+ children: /* @__PURE__ */ i("label", { className: "file-label", children: [
51
+ /* @__PURE__ */ l(
52
+ "input",
53
+ {
54
+ "data-testid": I,
55
+ type: "file",
56
+ name: "resume",
57
+ className: b,
58
+ style: c ?? void 0,
59
+ onClick: x ?? void 0
60
+ }
61
+ ),
62
+ /* @__PURE__ */ i("span", { className: "file-cta", children: [
63
+ s ? /* @__PURE__ */ l(N, { ...s }) : null,
64
+ /* @__PURE__ */ l("span", { className: "file-label", children: p })
65
+ ] }),
66
+ e ? /* @__PURE__ */ l("span", { className: "file-name", children: e }) : null
67
+ ] })
68
+ }
69
+ );
70
+ };
71
+ export {
72
+ k as default
73
+ };
@@ -0,0 +1,13 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { default as File } from '.';
3
+ import { FileProps } from '../../../interfaces/atomProps';
4
+ declare const _default: Meta<typeof File>;
5
+ export default _default;
6
+ export declare const OnlyRequiredProps: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, FileProps>;
7
+ export declare const DifferentIcon: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, FileProps>;
8
+ export declare const DifferentText: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, FileProps>;
9
+ export declare const WithFileName: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, FileProps>;
10
+ export declare const ColoredButton: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, FileProps>;
11
+ export declare const FullWidthMode: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, FileProps>;
12
+ export declare const BoxedMode: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, FileProps>;
13
+ export declare const LargeSize: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, FileProps>;
File without changes
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../../../interfaces/atomProps';
3
+ declare const Icon: React.FC<IconProps>;
4
+ export default Icon;