blixify-ui-web-mcp 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/README.md +5 -0
  2. package/lib/components/action/button/README.md +75 -0
  3. package/lib/components/action/button/button.stories.tsx +138 -0
  4. package/lib/components/action/buttonGroup/README.md +79 -0
  5. package/lib/components/action/buttonGroup/buttonGroup.stories.tsx +104 -0
  6. package/lib/components/action/iconButton/README.md +39 -0
  7. package/lib/components/action/iconButton/iconButton.stories.tsx +22 -0
  8. package/lib/components/action/radioList/README.md +98 -0
  9. package/lib/components/action/radioList/radioList.stories.tsx +181 -0
  10. package/lib/components/action/slider/README.md +86 -0
  11. package/lib/components/action/slider/slider.stories.tsx +133 -0
  12. package/lib/components/action/textButton/README.md +34 -0
  13. package/lib/components/action/textButton/textButton.stories.tsx +16 -0
  14. package/lib/components/action/toggle/README.md +39 -0
  15. package/lib/components/action/toggle/toggle.stories.tsx +23 -0
  16. package/lib/components/advanced/collapse/README.md +106 -0
  17. package/lib/components/advanced/collapse/collapse.stories.tsx +165 -0
  18. package/lib/components/advanced/infoWindow/README.md +69 -0
  19. package/lib/components/advanced/infoWindow/infoWindow.stories.tsx +112 -0
  20. package/lib/components/advanced/popUp/README.md +95 -0
  21. package/lib/components/advanced/popUp/popUp.stories.tsx +189 -0
  22. package/lib/components/auth/bareSignIn/README.md +78 -0
  23. package/lib/components/auth/bareSignIn/bareSignIn.stories.tsx +141 -0
  24. package/lib/components/auth/bareSignUp/README.md +130 -0
  25. package/lib/components/auth/bareSignUp/bareSignUp.stories.tsx +159 -0
  26. package/lib/components/auth/signIn/README.md +53 -0
  27. package/lib/components/auth/signIn/signIn.stories.tsx +120 -0
  28. package/lib/components/auth/signUp/README.md +136 -0
  29. package/lib/components/auth/signUp/signUp.stories.tsx +193 -0
  30. package/lib/components/chart/README.md +13 -0
  31. package/lib/components/chart/areaChart/README.md +133 -0
  32. package/lib/components/chart/areaChart/areaChart.stories.tsx +199 -0
  33. package/lib/components/chart/barChart/README.md +193 -0
  34. package/lib/components/chart/barChart/barChart.stories.tsx +318 -0
  35. package/lib/components/chart/boxPlotChart/README.md +124 -0
  36. package/lib/components/chart/boxPlotChart/boxPlotChart.stories.tsx +104 -0
  37. package/lib/components/chart/bubbleChart/README.md +166 -0
  38. package/lib/components/chart/bubbleChart/bubbleChart.stories.tsx +144 -0
  39. package/lib/components/chart/card/README.md +107 -0
  40. package/lib/components/chart/card/card.stories.tsx +89 -0
  41. package/lib/components/chart/ganttChart/README.md +142 -0
  42. package/lib/components/chart/ganttChart/ganttChart.stories.tsx +138 -0
  43. package/lib/components/chart/heatmapChart/README.md +125 -0
  44. package/lib/components/chart/heatmapChart/heatmapChart.stories.tsx +106 -0
  45. package/lib/components/chart/lineChart/README.md +140 -0
  46. package/lib/components/chart/lineChart/lineChart.stories.tsx +152 -0
  47. package/lib/components/chart/pieChart/README.md +117 -0
  48. package/lib/components/chart/pieChart/pieChart.stories.tsx +180 -0
  49. package/lib/components/chart/polarAreaChart/README.md +126 -0
  50. package/lib/components/chart/polarAreaChart/polarAreaChart.stories.tsx +106 -0
  51. package/lib/components/chart/radarChart/README.md +57 -0
  52. package/lib/components/chart/radarChart/radarChart.stories.tsx +36 -0
  53. package/lib/components/chart/radialBar/README.md +152 -0
  54. package/lib/components/chart/radialBar/radialChart.stories.tsx +136 -0
  55. package/lib/components/chart/rangeBarChart/README.md +323 -0
  56. package/lib/components/chart/rangeBarChart/rangeBarChart.stories.tsx +208 -0
  57. package/lib/components/chart/statsCard/README.md +97 -0
  58. package/lib/components/chart/statsCard/statsCard.stories.tsx +183 -0
  59. package/lib/components/chart/treemapChart/README.md +142 -0
  60. package/lib/components/chart/treemapChart/treemapChart.stories.tsx +122 -0
  61. package/lib/components/chat/chatAnchor/README.md +113 -0
  62. package/lib/components/chat/chatAnchor/chatAnchor.stories.tsx +156 -0
  63. package/lib/components/chat/chatBase/README.md +223 -0
  64. package/lib/components/chat/chatBase/chatBase.stories.tsx +306 -0
  65. package/lib/components/chat/chatDashboard/README.md +161 -0
  66. package/lib/components/chat/chatDashboard/chatDashboard.stories.tsx +154 -0
  67. package/lib/components/data/dataGraph/README.md +13 -0
  68. package/lib/components/data/dataGraph/dataGraph.stories.tsx +84 -0
  69. package/lib/components/data/dataReference/README.md +62 -0
  70. package/lib/components/data/dataReference/dataReference.stories.tsx +53 -0
  71. package/lib/components/data/dataTemplate/README.md +903 -0
  72. package/lib/components/data/dataTemplate/dataModule.stories.tsx +196 -0
  73. package/lib/components/data/dataTemplate/dataTemplate.stories.tsx +337 -0
  74. package/lib/components/data/dataWrapper/README.md +1077 -0
  75. package/lib/components/data/dataWrapper/dataWrapper.stories.tsx +831 -0
  76. package/lib/components/data/queryForm/README.md +56 -0
  77. package/lib/components/data/queryForm/queryForm.stories.tsx +85 -0
  78. package/lib/components/data/readQuery/README.md +282 -0
  79. package/lib/components/data/readQuery/readQuery.stories.tsx +256 -0
  80. package/lib/components/data/readQueryHoc/README.md +89 -0
  81. package/lib/components/data/readQueryHoc/readQueryHoc.stories.tsx +33 -0
  82. package/lib/components/data/writeQuery/README.md +178 -0
  83. package/lib/components/data/writeQuery/writeQuery.stories.tsx +209 -0
  84. package/lib/components/design/actionSection/README.md +47 -0
  85. package/lib/components/design/actionSection/actionSection.stories.tsx +74 -0
  86. package/lib/components/design/banner/README.md +43 -0
  87. package/lib/components/design/banner/banner.stories.tsx +34 -0
  88. package/lib/components/design/bannerAction/README.md +44 -0
  89. package/lib/components/design/bannerAction/bannerAction.stories.tsx +25 -0
  90. package/lib/components/design/blogSection/README.md +111 -0
  91. package/lib/components/design/blogSection/blogSection.stories.tsx +72 -0
  92. package/lib/components/design/carouselSection/README.md +82 -0
  93. package/lib/components/design/carouselSection/carouselSection.stories.tsx +52 -0
  94. package/lib/components/design/designList/README.md +60 -0
  95. package/lib/components/design/designList/designList.stories.tsx +44 -0
  96. package/lib/components/design/faq/README.md +121 -0
  97. package/lib/components/design/faq/faq.stories.tsx +103 -0
  98. package/lib/components/design/fileGrid/README.md +87 -0
  99. package/lib/components/design/fileGrid/fileGrid.stories.tsx +110 -0
  100. package/lib/components/design/fileViewer/README.md +40 -0
  101. package/lib/components/design/fileViewer/fileViewer.stories.tsx +28 -0
  102. package/lib/components/design/footerSection/README.md +62 -0
  103. package/lib/components/design/footerSection/footerSection.stories.tsx +84 -0
  104. package/lib/components/design/googleReview/README.md +45 -0
  105. package/lib/components/design/googleReview/googleReview.stories.tsx +33 -0
  106. package/lib/components/design/heroSection/README.md +48 -0
  107. package/lib/components/design/heroSection/heroSection.stories.tsx +85 -0
  108. package/lib/components/design/iconList/README.md +60 -0
  109. package/lib/components/design/iconList/iconList.stories.tsx +41 -0
  110. package/lib/components/design/imageGallery/README.md +56 -0
  111. package/lib/components/design/imageGallery/imageGallery.stories.tsx +45 -0
  112. package/lib/components/design/imageZoom/README.md +47 -0
  113. package/lib/components/design/imageZoom/imageZoom.stories.tsx +30 -0
  114. package/lib/components/design/leftContent/README.md +47 -0
  115. package/lib/components/design/leftContent/leftContent.stories.tsx +32 -0
  116. package/lib/components/design/logoCloud/README.md +42 -0
  117. package/lib/components/design/logoCloud/logoCloud.stories.tsx +44 -0
  118. package/lib/components/design/onboarding/README.md +100 -0
  119. package/lib/components/design/onboarding/onboarding.stories.tsx +113 -0
  120. package/lib/components/design/pricing/README.md +112 -0
  121. package/lib/components/design/pricing/pricing.stories.tsx +86 -0
  122. package/lib/components/design/rightContent/README.md +47 -0
  123. package/lib/components/design/rightContent/rightContent.stories.tsx +32 -0
  124. package/lib/components/design/sectionList/README.md +51 -0
  125. package/lib/components/design/sectionList/sectionList.stories.tsx +35 -0
  126. package/lib/components/design/teams/README.md +62 -0
  127. package/lib/components/design/teams/teams.stories.tsx +61 -0
  128. package/lib/components/display/alert/README.md +82 -0
  129. package/lib/components/display/alert/alert.stories.tsx +71 -0
  130. package/lib/components/display/calendar/README.md +113 -0
  131. package/lib/components/display/calendar/calendar.stories.tsx +159 -0
  132. package/lib/components/display/clipboard/README.md +36 -0
  133. package/lib/components/display/clipboard/clipboard.stories.tsx +32 -0
  134. package/lib/components/display/detailList/README.md +61 -0
  135. package/lib/components/display/detailList/detailList.stories.tsx +131 -0
  136. package/lib/components/display/drawer/README.md +74 -0
  137. package/lib/components/display/drawer/drawer.stories.tsx +66 -0
  138. package/lib/components/display/emptyState/README.md +38 -0
  139. package/lib/components/display/emptyState/emptyState.stories.tsx +22 -0
  140. package/lib/components/display/feeds/README.md +80 -0
  141. package/lib/components/display/feeds/feeds.stories.tsx +75 -0
  142. package/lib/components/display/flexTable/README.md +160 -0
  143. package/lib/components/display/flexTable/flexTable.stories.tsx +313 -0
  144. package/lib/components/display/grid/README.md +121 -0
  145. package/lib/components/display/grid/grid.stories.tsx +234 -0
  146. package/lib/components/display/kanban/README.md +78 -0
  147. package/lib/components/display/kanban/kanban.stories.tsx +133 -0
  148. package/lib/components/display/list/README.md +109 -0
  149. package/lib/components/display/list/list.stories.tsx +188 -0
  150. package/lib/components/display/loading/README.md +25 -0
  151. package/lib/components/display/loading/loading.stories.tsx +15 -0
  152. package/lib/components/display/mapView/README.md +99 -0
  153. package/lib/components/display/mapView/mapView.stories.tsx +225 -0
  154. package/lib/components/display/modal/README.md +43 -0
  155. package/lib/components/display/modal/modal.stories.tsx +81 -0
  156. package/lib/components/display/notification/README.md +43 -0
  157. package/lib/components/display/notification/notification.stories.tsx +30 -0
  158. package/lib/components/display/progress/README.md +25 -0
  159. package/lib/components/display/progress/progress.stories.tsx +15 -0
  160. package/lib/components/display/stepper/README.md +96 -0
  161. package/lib/components/display/stepper/stepper.stories.tsx +175 -0
  162. package/lib/components/display/table/README.md +176 -0
  163. package/lib/components/display/table/table.stories.tsx +330 -0
  164. package/lib/components/display/tag/README.md +74 -0
  165. package/lib/components/display/tag/tag.stories.tsx +79 -0
  166. package/lib/components/input/address/README.md +132 -0
  167. package/lib/components/input/address/address.stories.tsx +147 -0
  168. package/lib/components/input/canvas/README.md +131 -0
  169. package/lib/components/input/canvas/canvas.stories.tsx +165 -0
  170. package/lib/components/input/checkbox/README.md +61 -0
  171. package/lib/components/input/checkbox/checkbox.stories.tsx +30 -0
  172. package/lib/components/input/datePicker/README.md +124 -0
  173. package/lib/components/input/datePicker/datePicker.stories.tsx +197 -0
  174. package/lib/components/input/form/README.md +55 -0
  175. package/lib/components/input/form/form.stories.tsx +143 -0
  176. package/lib/components/input/markdown/README.md +146 -0
  177. package/lib/components/input/markdown/markdown.stories.tsx +40 -0
  178. package/lib/components/input/monthYearPicker/README.md +69 -0
  179. package/lib/components/input/monthYearPicker/monthYearPicker.stories.tsx +47 -0
  180. package/lib/components/input/netPromoterScore/README.md +52 -0
  181. package/lib/components/input/netPromoterScore/netPromoterScore.stories.tsx +30 -0
  182. package/lib/components/input/rating/README.md +51 -0
  183. package/lib/components/input/rating/rating.stories.tsx +30 -0
  184. package/lib/components/input/select/README.md +108 -0
  185. package/lib/components/input/select/select.stories.tsx +286 -0
  186. package/lib/components/input/signature/README.md +106 -0
  187. package/lib/components/input/signature/signature.stories.tsx +188 -0
  188. package/lib/components/input/textArea/README.md +55 -0
  189. package/lib/components/input/textArea/textArea.stories.tsx +30 -0
  190. package/lib/components/input/textInput/README.md +81 -0
  191. package/lib/components/input/textInput/textinput.stories.tsx +231 -0
  192. package/lib/components/input/uploadInput/README.md +134 -0
  193. package/lib/components/input/uploadInput/uploadInput.stories.tsx +193 -0
  194. package/lib/components/navigation/bars/README.md +40 -0
  195. package/lib/components/navigation/bars/bars.stories.tsx +85 -0
  196. package/lib/components/navigation/bottomTab/README.md +53 -0
  197. package/lib/components/navigation/bottomTab/bottomTab.stories.tsx +32 -0
  198. package/lib/components/navigation/breadcrumb/README.md +48 -0
  199. package/lib/components/navigation/breadcrumb/breadcrumb.stories.tsx +27 -0
  200. package/lib/components/navigation/header/README.md +149 -0
  201. package/lib/components/navigation/header/header.stories.tsx +107 -0
  202. package/lib/components/navigation/leftNav/README.md +91 -0
  203. package/lib/components/navigation/leftNav/leftNav.stories.tsx +106 -0
  204. package/lib/components/navigation/tabs/README.md +75 -0
  205. package/lib/components/navigation/tabs/tabs.stories.tsx +60 -0
  206. package/lib/components/structure/column/README.md +40 -0
  207. package/lib/components/structure/column/column.stories.tsx +26 -0
  208. package/lib/components/structure/container/README.md +34 -0
  209. package/lib/components/structure/container/container.stories.tsx +19 -0
  210. package/lib/components/structure/link/README.md +55 -0
  211. package/lib/components/structure/link/link.stories.tsx +30 -0
  212. package/lib/components/structure/text/README.md +42 -0
  213. package/lib/components/structure/text/text.stories.tsx +39 -0
  214. package/lib/components/template/authPage/authPage.stories.tsx +68 -0
  215. package/lib/components/template/landingPage/landingPage.stories.tsx +288 -0
  216. package/lib/components/template/productListing/productListing.stories.tsx +297 -0
  217. package/lib/components/template/productOverview/productOverview.stories.tsx +194 -0
  218. package/lib/components/template/shoppingCart/shoppingCart.stories.tsx +252 -0
  219. package/lib/components/template/userHomePage/userHomePage.stories.tsx +605 -0
  220. package/lib/components/template/userRankingDashboard/userRankingDashboard.stories.tsx +481 -0
  221. package/lib/mcp/server.d.ts +2 -0
  222. package/lib/mcp/server.d.ts.map +1 -0
  223. package/lib/mcp/server.js +33 -0
  224. package/lib/mcp/server.js.map +1 -0
  225. package/lib/mcp/tools/getBackendComponent.d.ts +13 -0
  226. package/lib/mcp/tools/getBackendComponent.d.ts.map +1 -0
  227. package/lib/mcp/tools/getBackendComponent.js +119 -0
  228. package/lib/mcp/tools/getBackendComponent.js.map +1 -0
  229. package/lib/mcp/tools/getComponent.d.ts +17 -0
  230. package/lib/mcp/tools/getComponent.d.ts.map +1 -0
  231. package/lib/mcp/tools/getComponent.js +118 -0
  232. package/lib/mcp/tools/getComponent.js.map +1 -0
  233. package/lib/mcp/tools/listComponents.d.ts +13 -0
  234. package/lib/mcp/tools/listComponents.d.ts.map +1 -0
  235. package/lib/mcp/tools/listComponents.js +113 -0
  236. package/lib/mcp/tools/listComponents.js.map +1 -0
  237. package/lib/mcp/tools/listTemplates.d.ts +13 -0
  238. package/lib/mcp/tools/listTemplates.d.ts.map +1 -0
  239. package/lib/mcp/tools/listTemplates.js +68 -0
  240. package/lib/mcp/tools/listTemplates.js.map +1 -0
  241. package/lib/mcp/tools/suggestTemplate.d.ts +17 -0
  242. package/lib/mcp/tools/suggestTemplate.d.ts.map +1 -0
  243. package/lib/mcp/tools/suggestTemplate.js +212 -0
  244. package/lib/mcp/tools/suggestTemplate.js.map +1 -0
  245. package/package.json +23 -0
@@ -0,0 +1,34 @@
1
+ import { storiesOf } from "@storybook/react";
2
+ import React from "react";
3
+ import { Banner } from ".";
4
+ import README from "./README.md";
5
+
6
+ const stories = storiesOf("Design", module);
7
+
8
+ stories.addParameters({
9
+ readme: {
10
+ content: README,
11
+ },
12
+ });
13
+
14
+ stories.add("Banner", () => {
15
+ const renderContent = () => {
16
+ return (
17
+ <>
18
+ <p className="text-xs sm:text-sm text-white">
19
+ Lorem ipsum dolor sit amet.
20
+ <a
21
+ className="underline"
22
+ target="_blank"
23
+ rel="noreferrer"
24
+ href="https://blixify.co"
25
+ >
26
+ https://blixify.co
27
+ </a>
28
+ </p>
29
+ </>
30
+ );
31
+ };
32
+
33
+ return <Banner content={renderContent()} />;
34
+ });
@@ -0,0 +1,44 @@
1
+ # Banner Action
2
+
3
+ <!-- STORY -->
4
+
5
+ <hr>
6
+
7
+ Banner Action to be displayed the information and come with action button.
8
+
9
+ ##### Import
10
+
11
+ ```js
12
+ import { BannerAction } from "blixify-ui-web/lib";
13
+ ```
14
+
15
+ ##### Usage
16
+
17
+ ```jsx
18
+ return (
19
+ <BannerAction
20
+ text={"Lorem ipsum dolor sit amet."}
21
+ mobileText={"Lorem"}
22
+ buttonText={"Edit"}
23
+ bannerIcon={<PencilIcon className="w-5 h-5 text-white" />}
24
+ close={true}
25
+ />
26
+ );
27
+ ```
28
+
29
+ ##### Required props
30
+
31
+ | Name | Type | Description |
32
+ | ------------ | -------- | ------------------------ |
33
+ | `text` | `string` | Banner content |
34
+ | `mobileText` | `string` | Banner content in Mobile |
35
+
36
+ ##### Optional props
37
+
38
+ | Name | Type | Description |
39
+ | ------------ | -------------- | ----------------------------- |
40
+ | `buttonText` | `string` | Button Text |
41
+ | `className` | `string` | Tailwind css |
42
+ | `onClick` | `function` | Button Action |
43
+ | `bannerIcon` | `ReactElement` | Banner Icon |
44
+ | `close` | `boolean` | Close Icon to hide the banner |
@@ -0,0 +1,25 @@
1
+ import { PencilIcon } from "@heroicons/react/24/solid";
2
+ import { storiesOf } from "@storybook/react";
3
+ import React from "react";
4
+ import README from "./README.md";
5
+ import { BannerAction } from "./index";
6
+
7
+ const stories = storiesOf("Design", module);
8
+
9
+ stories.addParameters({
10
+ readme: {
11
+ content: README,
12
+ },
13
+ });
14
+
15
+ stories.add("Banner Action", () => {
16
+ return (
17
+ <BannerAction
18
+ text={"Lorem ipsum dolor sit amet."}
19
+ mobileText={"Lorem"}
20
+ buttonText={"Edit"}
21
+ bannerIcon={<PencilIcon className="w-5 h-5 text-white" />}
22
+ close={true}
23
+ />
24
+ );
25
+ });
@@ -0,0 +1,111 @@
1
+ # Blog Section
2
+
3
+ <!-- STORY -->
4
+
5
+ <hr>
6
+
7
+ Blog components
8
+
9
+ ##### Import
10
+
11
+ ```js
12
+ import { Blog } from "blixify-ui-web/lib";
13
+ ```
14
+
15
+ ##### Usage
16
+
17
+ ```jsx
18
+ const postList = [
19
+ {
20
+ title: "Boost your conversion rate",
21
+ href: "#",
22
+ category: { name: "Article", href: "#" },
23
+ description:
24
+ "Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto accusantium praesentium eius, ut atque fuga culpa, similique sequi cum eos quis dolorum.",
25
+ date: "Mar 16, 2020",
26
+ dateTime: "2020-03-16",
27
+ imageUrl:
28
+ "https://images.unsplash.com/photo-1496128858413-b36217c2ce36?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1679&q=80",
29
+ readingTime: "6 min",
30
+ author: {
31
+ name: "Roel Aufderehar",
32
+ href: "#",
33
+ imageUrl:
34
+ "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80",
35
+ },
36
+ },
37
+ {
38
+ title: "How to use search engine optimization to drive sales",
39
+ href: "#",
40
+ category: { name: "Video", href: "#" },
41
+ description:
42
+ "Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit facilis asperiores porro quaerat doloribus, eveniet dolore. Adipisci tempora aut inventore optio animi., tempore temporibus quo laudantium.",
43
+ date: "Mar 10, 2020",
44
+ dateTime: "2020-03-10",
45
+ imageUrl:
46
+ "https://images.unsplash.com/photo-1547586696-ea22b4d4235d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1679&q=80",
47
+ readingTime: "4 min",
48
+ author: {
49
+ name: "Brenna Goyette",
50
+ href: "#",
51
+ imageUrl:
52
+ "https://images.unsplash.com/photo-1550525811-e5869dd03032?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80",
53
+ },
54
+ },
55
+ {
56
+ title: "Improve your customer experience",
57
+ href: "#",
58
+ description:
59
+ "Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint harum rerum voluptatem quo recusandae magni placeat saepe molestiae, sed excepturi cumque corporis perferendis hic.",
60
+ imageUrl:
61
+ "https://images.unsplash.com/photo-1492724441997-5dc865305da7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1679&q=80",
62
+ },
63
+ ];
64
+
65
+ <BlogSection postList={postList} mdGrid={2} lgGrid={3} />;
66
+ ```
67
+
68
+ ##### Required props
69
+
70
+ | Name | Type | Description |
71
+ | ---------- | ----------- | -------------------- |
72
+ | `postList` | `Post Data` | Post Data List Class |
73
+
74
+ ##### Optional props
75
+
76
+ | Name | Type | Default | Description |
77
+ | ------------------ | ---------------- | ----------------------------------------------------- | ----------------------------- |
78
+ | `imgContain` | `boolean` | | Use image as contain or cover |
79
+ | `gridColClassName` | `tailwind class` | "sm:grid-cols-2 sm:gap-x-6 lg:grid-cols-3 lg:gap-x-8" | |
80
+ | `onClickData` | `function` | `(href:string) => {}` | |
81
+
82
+ ##### Post Data Class
83
+
84
+ | Name | Type | Description |
85
+ | -------------- | -------------------- | --------------------------- |
86
+ | `title` | `string` | Optional - Blog title |
87
+ | `description` | `string` | Optional - Blog description |
88
+ | `extra` | `React Component` | Optional |
89
+ | `imageUrl` | `string` | Image URL |
90
+ | `imageContent` | `React Element` | Image Button |
91
+ | `href` | `string` | Optional - Link |
92
+ | `category` | `CategoryData Class` | Optional |
93
+ | `date` | `string` | Optional |
94
+ | `dateTime` | `string` | Optional |
95
+ | `readingTime` | `string` | Optional |
96
+ | `author` | `AuthorData Class` | Optional |
97
+
98
+ ##### Category Data Class
99
+
100
+ | Name | Type | Description |
101
+ | ------ | -------- | ----------- |
102
+ | `name` | `string` | |
103
+ | `href` | `string` | |
104
+
105
+ ##### Author Data Class
106
+
107
+ | Name | Type | Description |
108
+ | ---------- | -------- | ----------- |
109
+ | `name` | `string` | |
110
+ | `href` | `string` | |
111
+ | `imageUrl` | `string` | |
@@ -0,0 +1,72 @@
1
+ import { storiesOf } from "@storybook/react";
2
+ import React from "react";
3
+ import { BlogSection } from ".";
4
+ import README from "./README.md";
5
+
6
+ const stories = storiesOf("Design", module);
7
+
8
+ stories.addParameters({
9
+ readme: {
10
+ content: README,
11
+ },
12
+ });
13
+
14
+ const postList = [
15
+ {
16
+ title: "Boost your conversion rate",
17
+ href: "#",
18
+ category: { name: "Article", href: "#" },
19
+ description:
20
+ "Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto accusantium praesentium eius, ut atque fuga culpa, similique sequi cum eos quis dolorum.",
21
+ date: "Mar 16, 2020",
22
+ dateTime: "2020-03-16",
23
+ imageUrl:
24
+ "https://images.unsplash.com/photo-1496128858413-b36217c2ce36?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1679&q=80",
25
+ readingTime: "6 min",
26
+ author: {
27
+ name: "Roel Aufderehar",
28
+ href: "#",
29
+ imageUrl:
30
+ "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80",
31
+ },
32
+ },
33
+ {
34
+ title: "How to use search engine optimization to drive sales",
35
+ href: "#",
36
+ category: { name: "Video", href: "#" },
37
+ description:
38
+ "Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit facilis asperiores porro quaerat doloribus, eveniet dolore. Adipisci tempora aut inventore optio animi., tempore temporibus quo laudantium.",
39
+ date: "Mar 10, 2020",
40
+ dateTime: "2020-03-10",
41
+ imageUrl:
42
+ "https://images.unsplash.com/photo-1547586696-ea22b4d4235d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1679&q=80",
43
+ readingTime: "4 min",
44
+ author: {
45
+ name: "Brenna Goyette",
46
+ href: "#",
47
+ imageUrl:
48
+ "https://images.unsplash.com/photo-1550525811-e5869dd03032?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80",
49
+ },
50
+ },
51
+ {
52
+ title: "Improve your customer experience",
53
+ href: "#",
54
+ description:
55
+ "Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint harum rerum voluptatem quo recusandae magni placeat saepe molestiae, sed excepturi cumque corporis perferendis hic.",
56
+ imageUrl:
57
+ "https://images.unsplash.com/photo-1492724441997-5dc865305da7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1679&q=80",
58
+ extra: (
59
+ <div>
60
+ <h1 className="mt-2 text-base text-red-500">Extra Components</h1>
61
+ </div>
62
+ ),
63
+ },
64
+ ];
65
+
66
+ stories.add("Blog Section", () => {
67
+ return (
68
+ <>
69
+ <BlogSection postList={postList} />
70
+ </>
71
+ );
72
+ });
@@ -0,0 +1,82 @@
1
+ # Carousel Section
2
+
3
+ <!-- STORY -->
4
+
5
+ <hr>
6
+
7
+ Carousel components
8
+
9
+ ##### Import
10
+
11
+ ```js
12
+ import { CarouselSection } from "blixify-ui-web/lib";
13
+ ```
14
+
15
+ ##### Usage
16
+
17
+ ```jsx
18
+ const slides = [
19
+ {
20
+ image: "https://tecdn.b-cdn.net/img/Photos/Slides/img%20(15).jpg",
21
+ title: "Slide 1",
22
+ description: "Description of Slide 1",
23
+ link: "https://blixify.co/",
24
+ },
25
+ {
26
+ image: "https://tecdn.b-cdn.net/img/Photos/Slides/img%20(22).jpg",
27
+ title: "Slide 2",
28
+ description: "Description of Slide 2",
29
+ },
30
+ {
31
+ image: "https://tecdn.b-cdn.net/img/Photos/Slides/img%20(23).jpg",
32
+ },
33
+ ];
34
+
35
+ const [currentSlide, setCurrentSlide] = useState(0);
36
+
37
+ const handleSetCurrentSlide = (index: number) => {
38
+ setCurrentSlide(index);
39
+ };
40
+
41
+ return (
42
+ <>
43
+ <CarouselSection
44
+ slides={slides}
45
+ currentSlide={currentSlide}
46
+ handleSetCurrentSlide={handleSetCurrentSlide}
47
+ className="mt-5"
48
+ carouselHeight={600}
49
+ carouselWidth={1000}
50
+ />
51
+ </>
52
+ );
53
+ ```
54
+
55
+ ##### Required props
56
+
57
+ | Name | Type | Description |
58
+ | ----------------------- | ------------ | ---------------------- |
59
+ | `slides` | `Slide Data` | Slide Data List Class |
60
+ | `currentSlide` | `number` | Current Slide Index |
61
+ | `handleSetCurrentSlide` | `function` | `(index:number) => {}` |
62
+
63
+ ##### Optional props
64
+
65
+ | Name | Type | Description |
66
+ | ------------------ | ----------------- | ------------------------ |
67
+ | `className` | `string` | set carousel style |
68
+ | `imageClassName` | `string` | set carousel image style |
69
+ | `carouselHeight` | `number` | set carousel height |
70
+ | `carouselWidth` | `number` | set carousel width |
71
+ | `carouselOverlay` | `low/medium/high` | set carousel overlay |
72
+ | `customComponent` | `ReactElement` | |
73
+ | `handleClickImage` | `function` | click image |
74
+
75
+ ##### Slide Data Class
76
+
77
+ | Name | Type | Description |
78
+ | ------------- | -------- | ---------------------------- |
79
+ | `image` | `any` | Image |
80
+ | `title` | `string` | Optional - Slide title |
81
+ | `description` | `string` | Optional - Slide description |
82
+ | `link` | `string` | Optional - Slide link |
@@ -0,0 +1,52 @@
1
+ import { storiesOf } from "@storybook/react";
2
+ import React, { useState } from "react";
3
+ import { CarouselSection } from ".";
4
+ import README from "./README.md";
5
+
6
+ const stories = storiesOf("Design", module);
7
+
8
+ stories.addParameters({
9
+ readme: {
10
+ content: README,
11
+ },
12
+ });
13
+
14
+ const slides = [
15
+ {
16
+ image: "https://tecdn.b-cdn.net/img/Photos/Slides/img%20(15).jpg",
17
+ title: "Slide 1",
18
+ description: "Description of Slide 1",
19
+ link: "https://blixify.co/",
20
+ },
21
+ {
22
+ image: "https://tecdn.b-cdn.net/img/Photos/Slides/img%20(22).jpg",
23
+ title: "Slide 2",
24
+ description: "Description of Slide 2",
25
+ },
26
+ {
27
+ image: "https://tecdn.b-cdn.net/img/Photos/Slides/img%20(23).jpg",
28
+ },
29
+ ];
30
+
31
+ stories.add("Carousel Section", () => {
32
+ const [currentSlide, setCurrentSlide] = useState(0);
33
+
34
+ const handleSetCurrentSlide = (index: number) => {
35
+ setCurrentSlide(index);
36
+ };
37
+
38
+ const handleClickImage = () => {
39
+ window.alert(`Image Clicked: Open Modal with index: ${currentSlide}`);
40
+ };
41
+
42
+ return (
43
+ <>
44
+ <CarouselSection
45
+ slides={slides}
46
+ currentSlide={currentSlide}
47
+ handleSetCurrentSlide={handleSetCurrentSlide}
48
+ handleClickImage={handleClickImage}
49
+ />
50
+ </>
51
+ );
52
+ });
@@ -0,0 +1,60 @@
1
+ # Design List
2
+
3
+ <!-- STORY -->
4
+
5
+ <hr>
6
+
7
+ Design list to display features/use cases
8
+
9
+ ##### Import
10
+
11
+ ```js
12
+ import { DesignList } from "blixify-ui-web/lib";
13
+ ```
14
+
15
+ ##### Usage
16
+
17
+ ```jsx
18
+ const iconListContent = [
19
+ {
20
+ name: "Registration",
21
+ content:
22
+ "Fill in your contact information and account credentials. Examples of information that we do collect are such as occupation details and physical address. This information is collected by MySukarela to match you with volunteering tasks that are personalised to you.",
23
+ icon: <ArrowDownOnSquareStackIcon className="w-6 h-6" />,
24
+ },
25
+ {
26
+ name: "Browse For Projects",
27
+ content:
28
+ "Search for volunteering projects that are nearby to you. You can view all the available slots for volunteering. Book an available slot to confirm your participation in volunteering.",
29
+ icon: <MapIcon className="w-6 h-6" />,
30
+ },
31
+ {
32
+ name: "Volunteer and Deliver",
33
+ content:
34
+ "Additional information will be sent to your email address if there are any rules/procedures by the organisations (NGO) that you are volunteering for. Feel free to reach out our customer support if you have any questions.",
35
+ icon: <UserGroupIcon className="w-6 h-6" />,
36
+ },
37
+ ];
38
+
39
+ return <DesignList iconList={iconListContent} />;
40
+ ```
41
+
42
+ ##### Required props
43
+
44
+ | Name | Type | Description |
45
+ | ---------- | ----------- | --------------- |
46
+ | `iconList` | `Icon Data` | Icon Data Class |
47
+
48
+ ##### Optional props
49
+
50
+ | Name | Type | Default | Description |
51
+ | ----------- | -------- | -------------- | ----------- |
52
+ | `className` | `string` | Tailwind class | |
53
+
54
+ ##### Icon Data Class
55
+
56
+ | Name | Type | Description |
57
+ | --------- | --------------- | ----------- |
58
+ | `name` | `string` | Title |
59
+ | `content` | `string` | Description |
60
+ | `icon` | `React Element` | Icon |
@@ -0,0 +1,44 @@
1
+ import {
2
+ ArrowDownOnSquareStackIcon,
3
+ MapIcon,
4
+ UserGroupIcon,
5
+ } from "@heroicons/react/24/solid";
6
+ import { storiesOf } from "@storybook/react";
7
+ import React from "react";
8
+ import { DesignList } from ".";
9
+ import README from "./README.md";
10
+
11
+ const stories = storiesOf("Design", module);
12
+
13
+ stories.addParameters({
14
+ readme: {
15
+ content: README,
16
+ },
17
+ });
18
+
19
+ const iconListContent = [
20
+ {
21
+ name: "Registration",
22
+ content:
23
+ "Fill in your contact information and account credentials. Examples of information that we do collect are such as occupation details and physical address. This information is collected by MySukarela to match you with volunteering tasks that are personalised to you.",
24
+ icon: (
25
+ <ArrowDownOnSquareStackIcon className="text-primary-500 w-9 h-9 mb-2" />
26
+ ),
27
+ },
28
+ {
29
+ name: "Browse For Projects",
30
+ content:
31
+ "Search for volunteering projects that are nearby to you. You can view all the available slots for volunteering. Book an available slot to confirm your participation in volunteering.",
32
+ icon: <MapIcon className="text-primary-500 w-9 h-9 mb-2" />,
33
+ },
34
+ {
35
+ name: "Volunteer and Deliver",
36
+ content:
37
+ "Additional information will be sent to your email address if there are any rules/procedures by the organisations (NGO) that you are volunteering for. Feel free to reach out our customer support if you have any questions.",
38
+ icon: <UserGroupIcon className="text-primary-500 w-9 h-9 mb-2" />,
39
+ },
40
+ ];
41
+
42
+ stories.add("Design List", () => {
43
+ return <DesignList iconList={iconListContent} />;
44
+ });
@@ -0,0 +1,121 @@
1
+ # FAQ Content
2
+
3
+ <!-- STORY -->
4
+
5
+ <hr>
6
+
7
+ Component to display frequently asked questions
8
+
9
+ ##### Import
10
+
11
+ ```js
12
+ import { FAQContent } from "blixify-ui-web/lib";
13
+ ```
14
+
15
+ ##### Usage
16
+
17
+ ```jsx
18
+ const faqList: FaqData[] = [
19
+ {
20
+ question:
21
+ "How do I get started with the platform and what are the initial setup requirements?",
22
+ answer:
23
+ "Getting started with our platform is straightforward and designed to be user-friendly. First, you'll need to create an account using your email address or social media login. Once registered, you'll be guided through a brief onboarding process where you can set up your profile, preferences, and initial configurations. The platform requires a modern web browser (Chrome, Firefox, Safari, or Edge) and an internet connection. For optimal performance, we recommend using the latest version of your preferred browser. You can also download our mobile app for iOS and Android devices for on-the-go access. The initial setup typically takes 5-10 minutes, and our comprehensive help documentation and video tutorials are available to guide you through any specific features you want to explore.",
24
+ },
25
+ {
26
+ question:
27
+ "What security measures are in place to protect my data and ensure privacy compliance?",
28
+ answer:
29
+ "We take data security and privacy very seriously. Our platform implements enterprise-grade security measures including end-to-end encryption for all data transmission, AES-256 encryption for data at rest, and regular security audits conducted by third-party experts. We are fully compliant with GDPR, CCPA, and other international privacy regulations. Your data is stored in secure, geographically distributed data centers with redundant backup systems. We never share your personal information with third parties without explicit consent, and you have full control over your data with options to export, delete, or modify your information at any time. Our security team monitors for potential threats 24/7, and we provide detailed transparency reports on our security practices and any incidents that may occur.",
30
+ },
31
+ {
32
+ question:
33
+ "Can I integrate this platform with my existing business tools and what APIs are available?",
34
+ answer:
35
+ "Yes, our platform offers extensive integration capabilities with popular business tools and services. We provide RESTful APIs with comprehensive documentation, webhooks for real-time data synchronization, and pre-built connectors for major platforms like Salesforce, HubSpot, Slack, Microsoft Teams, Google Workspace, and many others. The API supports both read and write operations, allowing you to automate workflows, sync data, and build custom integrations. We also offer SDKs for popular programming languages including JavaScript, Python, Java, and .NET. For enterprise customers, we provide dedicated integration support and can develop custom connectors for proprietary systems. All integrations are thoroughly tested and maintained to ensure reliability and performance.",
36
+ },
37
+ {
38
+ question:
39
+ "What pricing plans are available and how do I choose the right one for my business needs?",
40
+ answer: `# Pricing Plans
41
+
42
+ We offer **flexible pricing plans** designed to accommodate businesses of all sizes.
43
+
44
+ ## Starter Plan - $29/month
45
+ Perfect for individuals and small teams:
46
+ - ✅ Core features included
47
+ - ✅ Up to 5 users
48
+ - ✅ Basic support
49
+ - ✅ Standard integrations
50
+
51
+ ## Professional Plan - $99/month
52
+ Ideal for growing businesses:
53
+ - ✅ All Starter features
54
+ - ✅ **Unlimited users**
55
+ - ✅ **Priority support**
56
+ - ✅ **Custom integrations**
57
+ - ✅ Advanced analytics
58
+ - ✅ API access
59
+
60
+ ## Enterprise Plan
61
+ For larger organizations with custom needs:
62
+ - ✅ **Unlimited everything**
63
+ - ✅ **Dedicated account management**
64
+ - ✅ **Custom development**
65
+ - ✅ **On-premise deployment options**
66
+ - Pricing based on your specific requirements
67
+
68
+ ### Additional Benefits
69
+ - All plans include our core functionality
70
+ - Regular updates and customer support
71
+ - **Annual billing with 20% discount**
72
+ - **30-day free trial** for all plans
73
+ - No long-term commitments required
74
+
75
+ > 💡 **Pro Tip**: Start with the Starter plan and upgrade as your needs grow. You can change plans at any time!`,
76
+ isMarkdown: true,
77
+ },
78
+ {
79
+ question:
80
+ "How do I get technical support and what resources are available for troubleshooting?",
81
+ answer: `# Technical Support & Resources
82
+
83
+ We provide **multiple support channels** to help you get assistance quickly.
84
+
85
+ ## Support Channels
86
+
87
+ | Channel | Availability | Response Time | Best For |
88
+ |---------|-------------|---------------|----------|
89
+ | **Live Chat** | 24/7 | Instant | Urgent issues |
90
+ | **Email** | Business hours | 2-24 hours | Detailed questions |
91
+ | **Phone** | Business hours | Immediate | Enterprise customers |
92
+ | **Community Forum** | Always | Variable | Tips & peer support |
93
+
94
+ ## Self-Service Resources
95
+ - 📚 **Documentation** - Step-by-step guides
96
+ - 🎥 **Video tutorials** - Visual learning
97
+ - 🔧 **Troubleshooting guides** - Common issues
98
+ - 💬 **FAQ** - Quick answers
99
+
100
+ > 💡 **Pro Tip**: Check our documentation first - it solves 80% of common issues!`,
101
+ isMarkdown: true,
102
+ },
103
+ ];
104
+
105
+ <FAQContent faqList={faqList} collapsible />;
106
+ ```
107
+
108
+ ##### Required props
109
+
110
+ | Name | Type | Description |
111
+ | ------------- | -------------- | ----------- |
112
+ | `faqList` | `FaqData List` | |
113
+ | `collapsible` | `boolean` | |
114
+
115
+ ##### FAQData
116
+
117
+ | Name | Type | Description |
118
+ | ------------ | --------- | ------------------------------------------------- |
119
+ | `question` | `string` | |
120
+ | `answer` | `string` | |
121
+ | `isMarkdown` | `boolean` | If `true`, answer will be rendered with markdown. |