blixify-ui-web-mcp 0.1.3 → 0.1.19

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 (168) hide show
  1. package/lib/components/action/button/README.md +12 -11
  2. package/lib/components/action/button/button.stories.tsx +38 -27
  3. package/lib/components/action/buttonGroup/buttonGroup.stories.tsx +82 -16
  4. package/lib/components/action/iconButton/README.md +1 -0
  5. package/lib/components/action/iconButton/iconButton.stories.tsx +6 -12
  6. package/lib/components/action/radioList/radioList.stories.tsx +10 -16
  7. package/lib/components/action/slider/slider.stories.tsx +9 -15
  8. package/lib/components/action/textButton/textButton.stories.tsx +6 -12
  9. package/lib/components/action/toggle/toggle.stories.tsx +6 -12
  10. package/lib/components/advanced/collapse/collapse.stories.tsx +240 -24
  11. package/lib/components/advanced/infoWindow/infoWindow.stories.tsx +10 -16
  12. package/lib/components/advanced/popUp/README.md +33 -7
  13. package/lib/components/advanced/popUp/popUp.stories.tsx +9 -15
  14. package/lib/components/auth/bareSignIn/bareSignIn.stories.tsx +36 -16
  15. package/lib/components/auth/bareSignUp/bareSignUp.stories.tsx +7 -13
  16. package/lib/components/auth/signIn/signIn.stories.tsx +4 -10
  17. package/lib/components/auth/signUp/signUp.stories.tsx +4 -10
  18. package/lib/components/chart/areaChart/areaChart.stories.tsx +12 -18
  19. package/lib/components/chart/barChart/barChart.stories.tsx +12 -18
  20. package/lib/components/chart/boxPlotChart/boxPlotChart.stories.tsx +11 -17
  21. package/lib/components/chart/bubbleChart/bubbleChart.stories.tsx +11 -17
  22. package/lib/components/chart/card/card.stories.tsx +172 -38
  23. package/lib/components/chart/ganttChart/ganttChart.stories.tsx +10 -16
  24. package/lib/components/chart/heatmapChart/heatmapChart.stories.tsx +11 -17
  25. package/lib/components/chart/lineChart/lineChart.stories.tsx +8 -14
  26. package/lib/components/chart/pieChart/pieChart.stories.tsx +11 -17
  27. package/lib/components/chart/polarAreaChart/polarAreaChart.stories.tsx +11 -17
  28. package/lib/components/chart/radarChart/radarChart.stories.tsx +6 -12
  29. package/lib/components/chart/radialBar/radialChart.stories.tsx +4 -10
  30. package/lib/components/chart/rangeBarChart/rangeBarChart.stories.tsx +8 -14
  31. package/lib/components/chart/statsCard/statsCard.stories.tsx +12 -18
  32. package/lib/components/chart/treemapChart/treemapChart.stories.tsx +11 -17
  33. package/lib/components/chat/chatAnchor/README.md +7 -0
  34. package/lib/components/chat/chatAnchor/chatAnchor.stories.tsx +15 -21
  35. package/lib/components/chat/chatBase/README.md +103 -22
  36. package/lib/components/chat/chatBase/chatBase.stories.tsx +657 -57
  37. package/lib/components/chat/chatDashboard/README.md +17 -15
  38. package/lib/components/chat/chatDashboard/chatDashboard.stories.tsx +358 -46
  39. package/lib/components/data/dataGraph/dataGraph.stories.tsx +8 -14
  40. package/lib/components/data/dataReference/dataReference.stories.tsx +9 -15
  41. package/lib/components/data/dataTemplate/README.md +443 -129
  42. package/lib/components/data/dataTemplate/dataModule.stories.tsx +10 -15
  43. package/lib/components/data/dataTemplate/dataTemplate.stories.tsx +20 -34
  44. package/lib/components/data/dataWrapper/README.md +207 -84
  45. package/lib/components/data/dataWrapper/dataWrapper.consumer.stories.tsx +2125 -0
  46. package/lib/components/data/dataWrapper/dataWrapper.edit.stories.tsx +607 -0
  47. package/lib/components/data/dataWrapper/dataWrapper.utils.stories.tsx +576 -0
  48. package/lib/components/data/dataWrapper/dataWrapper.view.stories.tsx +1273 -0
  49. package/lib/components/data/flexFilter/flexFilter.stories.tsx +171 -0
  50. package/lib/components/data/queryForm/queryForm.stories.tsx +6 -12
  51. package/lib/components/data/readQuery/readQuery.stories.tsx +6 -11
  52. package/lib/components/data/readQueryHoc/readQueryHoc.stories.tsx +6 -12
  53. package/lib/components/data/writeQuery/README.md +21 -10
  54. package/lib/components/data/writeQuery/writeQuery.stories.tsx +6 -10
  55. package/lib/components/design/actionSection/actionSection.stories.tsx +10 -14
  56. package/lib/components/design/banner/banner.stories.tsx +6 -12
  57. package/lib/components/design/bannerAction/bannerAction.stories.tsx +100 -21
  58. package/lib/components/design/blogSection/blogSection.stories.tsx +6 -12
  59. package/lib/components/design/carouselSection/carouselSection.stories.tsx +6 -12
  60. package/lib/components/design/designList/designList.stories.tsx +6 -12
  61. package/lib/components/design/faq/faq.stories.tsx +53 -31
  62. package/lib/components/design/fileGrid/fileGrid.stories.tsx +10 -16
  63. package/lib/components/design/fileViewer/fileViewer.stories.tsx +6 -12
  64. package/lib/components/design/footerSection/footerSection.stories.tsx +6 -12
  65. package/lib/components/design/googleReview/googleReview.stories.tsx +6 -12
  66. package/lib/components/design/heroSection/heroSection.stories.tsx +10 -16
  67. package/lib/components/design/iconList/iconList.stories.tsx +6 -12
  68. package/lib/components/design/imageGallery/imageGallery.stories.tsx +6 -12
  69. package/lib/components/design/imageZoom/imageZoom.stories.tsx +6 -12
  70. package/lib/components/design/leftContent/leftContent.stories.tsx +6 -12
  71. package/lib/components/design/logoCloud/logoCloud.stories.tsx +6 -12
  72. package/lib/components/design/onboarding/onboarding.stories.tsx +8 -14
  73. package/lib/components/design/pricing/pricing.stories.tsx +6 -12
  74. package/lib/components/design/rightContent/rightContent.stories.tsx +6 -12
  75. package/lib/components/design/sectionList/sectionList.stories.tsx +6 -12
  76. package/lib/components/design/teams/teams.stories.tsx +6 -12
  77. package/lib/components/display/alert/alert.stories.tsx +8 -14
  78. package/lib/components/display/calendar/README.md +49 -0
  79. package/lib/components/display/calendar/calendar.stories.tsx +78 -35
  80. package/lib/components/display/clipboard/clipboard.stories.tsx +6 -12
  81. package/lib/components/display/detailList/detailList.stories.tsx +172 -48
  82. package/lib/components/display/drawer/README.md +44 -11
  83. package/lib/components/display/drawer/drawer.stories.tsx +71 -16
  84. package/lib/components/display/emptyState/emptyState.stories.tsx +47 -15
  85. package/lib/components/display/feeds/feeds.stories.tsx +6 -12
  86. package/lib/components/display/flexTable/README.md +11 -7
  87. package/lib/components/display/flexTable/flexTable.stories.tsx +318 -20
  88. package/lib/components/display/grid/README.md +29 -30
  89. package/lib/components/display/grid/grid.stories.tsx +16 -23
  90. package/lib/components/display/kanban/kanban.stories.tsx +17 -23
  91. package/lib/components/display/list/README.md +30 -29
  92. package/lib/components/display/list/list.stories.tsx +11 -17
  93. package/lib/components/display/loading/loading.stories.tsx +7 -12
  94. package/lib/components/display/mapView/mapView.stories.tsx +9 -15
  95. package/lib/components/display/modal/modal.stories.tsx +6 -13
  96. package/lib/components/display/newCalendar/README.md +163 -0
  97. package/lib/components/display/newCalendar/newCalendar.stories.tsx +292 -0
  98. package/lib/components/display/newFeeds/README.md +53 -0
  99. package/lib/components/display/newFeeds/newFeeds.stories.tsx +104 -0
  100. package/lib/components/display/newKanban/README.md +25 -0
  101. package/lib/components/display/newKanban/newKanban.stories.tsx +131 -0
  102. package/lib/components/display/newList/README.md +30 -0
  103. package/lib/components/display/newList/newList.stories.tsx +231 -0
  104. package/lib/components/display/newPagination/README.md +15 -0
  105. package/lib/components/display/newTable/README.md +121 -0
  106. package/lib/components/display/newTable/newTable.stories.tsx +551 -0
  107. package/lib/components/display/notification/notification.stories.tsx +6 -12
  108. package/lib/components/display/progress/progress.stories.tsx +7 -12
  109. package/lib/components/display/stepper/README.md +4 -0
  110. package/lib/components/display/stepper/stepper.stories.tsx +70 -23
  111. package/lib/components/display/table/README.md +38 -37
  112. package/lib/components/display/table/table.stories.tsx +34 -36
  113. package/lib/components/display/tag/tag.stories.tsx +34 -40
  114. package/lib/components/input/address/address.stories.tsx +12 -18
  115. package/lib/components/input/canvas/canvas.stories.tsx +12 -18
  116. package/lib/components/input/checkbox/checkbox.stories.tsx +7 -13
  117. package/lib/components/input/datePicker/datePicker.stories.tsx +41 -11
  118. package/lib/components/input/form/form.stories.tsx +11 -17
  119. package/lib/components/input/markdown/README.md +80 -2
  120. package/lib/components/input/markdown/markdown.stories.tsx +83 -32
  121. package/lib/components/input/monthYearPicker/monthYearPicker.stories.tsx +52 -24
  122. package/lib/components/input/netPromoterScore/netPromoterScore.stories.tsx +6 -12
  123. package/lib/components/input/rating/rating.stories.tsx +6 -12
  124. package/lib/components/input/select/README.md +31 -29
  125. package/lib/components/input/select/select.stories.tsx +33 -39
  126. package/lib/components/input/signature/signature.stories.tsx +12 -18
  127. package/lib/components/input/textArea/textArea.stories.tsx +6 -12
  128. package/lib/components/input/textInput/textinput.stories.tsx +14 -20
  129. package/lib/components/input/uploadInput/uploadInput.stories.tsx +143 -19
  130. package/lib/components/navigation/bars/README.md +27 -0
  131. package/lib/components/navigation/bars/bars.stories.tsx +56 -19
  132. package/lib/components/navigation/bottomTab/bottomTab.stories.tsx +7 -12
  133. package/lib/components/navigation/breadcrumb/breadcrumb.stories.tsx +8 -14
  134. package/lib/components/navigation/header/header.stories.tsx +33 -21
  135. package/lib/components/navigation/leftNav/leftNav.stories.tsx +10 -16
  136. package/lib/components/navigation/tabs/tabs.stories.tsx +10 -16
  137. package/lib/components/structure/column/column.stories.tsx +10 -15
  138. package/lib/components/structure/container/container.stories.tsx +8 -13
  139. package/lib/components/structure/link/link.stories.tsx +11 -17
  140. package/lib/components/structure/text/text.stories.tsx +12 -17
  141. package/lib/components/template/authPage/authPage.stories.tsx +6 -5
  142. package/lib/components/template/calendarView/calendarView.stories.tsx +726 -0
  143. package/lib/components/template/chatDashboard/chatDashboard.stories.tsx +497 -0
  144. package/lib/components/template/landingPage/landingPage.stories.tsx +10 -7
  145. package/lib/components/template/mapLayout/mapLayout.stories.tsx +519 -0
  146. package/lib/components/template/productListing/productListing.stories.tsx +7 -13
  147. package/lib/components/template/productOverview/productOverview.stories.tsx +5 -11
  148. package/lib/components/template/shoppingCart/shoppingCart.stories.tsx +6 -12
  149. package/lib/components/template/userHomePage/userHomePage.stories.tsx +384 -524
  150. package/lib/components/template/userRankingDashboard/userRankingDashboard.stories.tsx +145 -75
  151. package/lib/mcp/tools/componentsRoot.d.ts +2 -0
  152. package/lib/mcp/tools/componentsRoot.d.ts.map +1 -0
  153. package/lib/mcp/tools/componentsRoot.js +59 -0
  154. package/lib/mcp/tools/componentsRoot.js.map +1 -0
  155. package/lib/mcp/tools/getBackendComponent.d.ts.map +1 -1
  156. package/lib/mcp/tools/getBackendComponent.js +2 -5
  157. package/lib/mcp/tools/getBackendComponent.js.map +1 -1
  158. package/lib/mcp/tools/getComponent.d.ts.map +1 -1
  159. package/lib/mcp/tools/getComponent.js +2 -5
  160. package/lib/mcp/tools/getComponent.js.map +1 -1
  161. package/lib/mcp/tools/listComponents.d.ts.map +1 -1
  162. package/lib/mcp/tools/listComponents.js +15 -10
  163. package/lib/mcp/tools/listComponents.js.map +1 -1
  164. package/lib/mcp/tools/suggestTemplate.d.ts.map +1 -1
  165. package/lib/mcp/tools/suggestTemplate.js +107 -21
  166. package/lib/mcp/tools/suggestTemplate.js.map +1 -1
  167. package/package.json +1 -1
  168. package/lib/components/data/dataWrapper/dataWrapper.stories.tsx +0 -831
@@ -1,18 +1,12 @@
1
1
  import { FolderIcon, HomeIcon, UsersIcon } from "@heroicons/react/24/outline";
2
- import { storiesOf } from "@storybook/react";
3
2
  import React, { useState } from "react";
4
- import { LeftNav } from ".";
3
+ import { LeftNav as LeftNavImpl } from ".";
5
4
  import { StorySection } from "../../storyUtils";
6
5
  import Logo from "../../../assets/logo.png";
7
- import README from "./README.md";
8
6
 
9
- const stories = storiesOf("Navigation", module);
7
+ const meta = { title: "Navigation/LeftNav" };
8
+ export default meta;
10
9
 
11
- stories.addParameters({
12
- readme: {
13
- content: README,
14
- },
15
- });
16
10
 
17
11
  const baseNavigation = [
18
12
  { id: "dashboard", name: "Dashboard", href: "/dashboard", icon: HomeIcon },
@@ -81,7 +75,7 @@ const renderHeader = () => (
81
75
  <div className="px-4 text-sm font-medium text-gray-700">Page Title</div>
82
76
  );
83
77
 
84
- stories.add("LeftNav", () => {
78
+ export const LeftNav = () => {
85
79
  const [mobile, setMobile] = useState(false);
86
80
  const [selectedId, setSelectedId] = useState("dashboard");
87
81
  const [navigation] = useState(baseNavigation);
@@ -96,7 +90,7 @@ stories.add("LeftNav", () => {
96
90
  description="Basic left nav with logo, nav items, and dashboard content. handleBarsOnClick handles selection for single-page apps. Resize to mobile width to see the hamburger menu."
97
91
  >
98
92
  <div className="w-full h-96 relative overflow-hidden border rounded-lg">
99
- <LeftNav
93
+ <LeftNavImpl
100
94
  selectedId={selectedId}
101
95
  navigation={navigation}
102
96
  leftNavMobileMenu={mobile}
@@ -114,7 +108,7 @@ stories.add("LeftNav", () => {
114
108
  description="draggable=true lets users reorder nav items via drag-and-drop. Items sharing a groupId are nested under a collapsible group. handleChangeNavigation persists the new order."
115
109
  >
116
110
  <div className="w-full h-96 relative overflow-hidden border rounded-lg">
117
- <LeftNav
111
+ <LeftNavImpl
118
112
  selectedId={selectedId}
119
113
  navigation={groupedNav}
120
114
  leftNavMobileMenu={false}
@@ -135,7 +129,7 @@ stories.add("LeftNav", () => {
135
129
  description="Pass transition.collapse to toggle the sidebar between full and icon-only width. handleToggleCollapse fires when the collapse arrow is clicked. transition.headerVisible=false hides the top header bar on desktop."
136
130
  >
137
131
  <div className="w-full h-96 relative overflow-hidden border rounded-lg">
138
- <LeftNav
132
+ <LeftNavImpl
139
133
  selectedId={selectedId}
140
134
  navigation={navigation}
141
135
  leftNavMobileMenu={false}
@@ -155,7 +149,7 @@ stories.add("LeftNav", () => {
155
149
  description="renderDashboardFooterContent renders a slot at the bottom of the sidebar, above the border. Useful for user profile info or a sign-out button."
156
150
  >
157
151
  <div className="w-full h-96 relative overflow-hidden border rounded-lg">
158
- <LeftNav
152
+ <LeftNavImpl
159
153
  selectedId={selectedId}
160
154
  navigation={navigation}
161
155
  leftNavMobileMenu={false}
@@ -177,7 +171,7 @@ stories.add("LeftNav", () => {
177
171
  dark
178
172
  >
179
173
  <div className="w-full h-96 relative overflow-hidden border border-gray-700 rounded-lg">
180
- <LeftNav
174
+ <LeftNavImpl
181
175
  selectedId={selectedId}
182
176
  navigation={navigation}
183
177
  leftNavMobileMenu={darkMobile}
@@ -196,4 +190,4 @@ stories.add("LeftNav", () => {
196
190
  </StorySection>
197
191
  </>
198
192
  );
199
- });
193
+ }
@@ -1,18 +1,12 @@
1
- import { storiesOf } from "@storybook/react";
2
1
  import React, { useState } from "react";
3
- import { Tabs } from ".";
2
+ import { Tabs as TabsImpl } from ".";
4
3
  import { StorySection } from "../../storyUtils";
5
- import README from "./README.md";
6
4
 
7
- const stories = storiesOf("Navigation", module);
5
+ const meta = { title: "Navigation/Tabs" };
6
+ export default meta;
8
7
 
9
- stories.addParameters({
10
- readme: {
11
- content: README,
12
- },
13
- });
14
8
 
15
- stories.add("Tabs", () => {
9
+ export const Tabs = () => {
16
10
  const [selectedId, setSelectedId] = useState("account");
17
11
  const [tabs, setTabs] = useState([
18
12
  { id: "account", name: "My Account", href: "#" },
@@ -27,7 +21,7 @@ stories.add("Tabs", () => {
27
21
  title="Default"
28
22
  description="Basic tab bar. Pass onClick to handle selection and selectedId to highlight the active tab."
29
23
  >
30
- <Tabs
24
+ <TabsImpl
31
25
  tabs={tabs}
32
26
  selectedId={selectedId}
33
27
  onClick={(id) => setSelectedId(id)}
@@ -38,7 +32,7 @@ stories.add("Tabs", () => {
38
32
  title="Draggable"
39
33
  description="Set draggable=true and provide handleChangeTabs to persist the new order. handleDropEnd fires when the drag interaction ends."
40
34
  >
41
- <Tabs
35
+ <TabsImpl
42
36
  tabs={tabs}
43
37
  selectedId={selectedId}
44
38
  onClick={(id) => setSelectedId(id)}
@@ -52,7 +46,7 @@ stories.add("Tabs", () => {
52
46
  title="Overflow Wrap"
53
47
  description="overflowWrap causes tabs to wrap onto a new row when they exceed the container width, instead of scrolling horizontally."
54
48
  >
55
- <Tabs
49
+ <TabsImpl
56
50
  tabs={tabs}
57
51
  selectedId={selectedId}
58
52
  onClick={(id) => setSelectedId(id)}
@@ -64,7 +58,7 @@ stories.add("Tabs", () => {
64
58
  title="Link-based Navigation"
65
59
  description="Omit onClick to render each tab as a Link using its href value. Useful for multi-page navigation."
66
60
  >
67
- <Tabs tabs={tabs} selectedId={selectedId} />
61
+ <TabsImpl tabs={tabs} selectedId={selectedId} />
68
62
  </StorySection>
69
63
 
70
64
  <StorySection
@@ -72,7 +66,7 @@ stories.add("Tabs", () => {
72
66
  description="Pass darkMode=true for use on dark backgrounds."
73
67
  dark
74
68
  >
75
- <Tabs
69
+ <TabsImpl
76
70
  tabs={tabs}
77
71
  selectedId={selectedId}
78
72
  onClick={(id) => setSelectedId(id)}
@@ -81,4 +75,4 @@ stories.add("Tabs", () => {
81
75
  </StorySection>
82
76
  </>
83
77
  );
84
- });
78
+ }
@@ -1,26 +1,21 @@
1
- import { storiesOf } from "@storybook/react";
2
1
  import React from "react";
3
- import { Column } from ".";
4
- import README from "./README.md";
5
- const stories = storiesOf("Structure", module);
2
+ import { Column as ColumnImpl } from ".";
6
3
 
7
- stories.addParameters({
8
- readme: {
9
- content: README,
10
- },
11
- });
4
+ const meta = { title: "Structure/Column" };
5
+ export default meta;
12
6
 
13
- stories.add("Column", () => {
7
+
8
+ export const Column = () => {
14
9
  return (
15
10
  <>
16
- <Column orientation="row" mobileBp="sm" className="bg-gray-50">
11
+ <ColumnImpl orientation="row" mobileBp="sm" className="bg-gray-50">
17
12
  <p>Row Item 1</p>
18
13
  <p className="sm:ml-2">Row Item 2</p>
19
- </Column>
20
- <Column orientation="vertical" mobileBp="sm" className="bg-gray-50 mt-5">
14
+ </ColumnImpl>
15
+ <ColumnImpl orientation="vertical" mobileBp="sm" className="bg-gray-50 mt-5">
21
16
  <p>Row Item 1</p>
22
17
  <p>Row Item 2</p>
23
- </Column>
18
+ </ColumnImpl>
24
19
  </>
25
20
  );
26
- });
21
+ }
@@ -1,19 +1,14 @@
1
- import { storiesOf } from "@storybook/react";
2
1
  import React from "react";
3
- import { Container } from ".";
4
- import README from "./README.md";
5
- const stories = storiesOf("Structure", module);
2
+ import { Container as ContainerImpl } from ".";
6
3
 
7
- stories.addParameters({
8
- readme: {
9
- content: README,
10
- },
11
- });
4
+ const meta = { title: "Structure/Container" };
5
+ export default meta;
12
6
 
13
- stories.add("Container", () => {
7
+
8
+ export const Container = () => {
14
9
  return (
15
- <Container>
10
+ <ContainerImpl>
16
11
  <h1>Item 1</h1>
17
- </Container>
12
+ </ContainerImpl>
18
13
  );
19
- });
14
+ }
@@ -1,30 +1,24 @@
1
- import { storiesOf } from "@storybook/react";
2
1
  import React from "react";
3
- import { Link } from ".";
2
+ import { Link as LinkImpl } from ".";
4
3
  import { Text } from "../text";
5
- import README from "./README.md";
6
4
 
7
- const stories = storiesOf("Structure", module);
5
+ const meta = { title: "Structure/Link" };
6
+ export default meta;
8
7
 
9
- stories.addParameters({
10
- readme: {
11
- content: README,
12
- },
13
- });
14
8
 
15
- stories.add("Link", () => {
9
+ export const Link = () => {
16
10
  return (
17
11
  <>
18
- <Link href="https://blixify.co" linkType="external">
12
+ <LinkImpl href="https://blixify.co" linkType="external">
19
13
  <Text size="base" color="primary" type="p">
20
- Link - External
14
+ LinkImpl - External
21
15
  </Text>
22
- </Link>
23
- <Link href="https://blixify.co" linkType="default">
16
+ </LinkImpl>
17
+ <LinkImpl href="https://blixify.co" linkType="default">
24
18
  <Text size="base" color="primary" type="p">
25
- Link - Internal
19
+ LinkImpl - Internal
26
20
  </Text>
27
- </Link>
21
+ </LinkImpl>
28
22
  </>
29
23
  );
30
- });
24
+ }
@@ -1,16 +1,11 @@
1
- import { storiesOf } from "@storybook/react";
2
1
  import React, { useEffect, useState } from "react";
3
- import { Text } from ".";
4
- import README from "./README.md";
5
- const stories = storiesOf("Structure", module);
2
+ import { Text as TextImpl } from ".";
6
3
 
7
- stories.addParameters({
8
- readme: {
9
- content: README,
10
- },
11
- });
4
+ const meta = { title: "Structure/Text" };
5
+ export default meta;
12
6
 
13
- stories.add("Text", () => {
7
+
8
+ export const Text = () => {
14
9
  const textList = ["Hello", "World"];
15
10
  const [textValue, setTextValue] = useState(textList[0]);
16
11
  const [currentIndex, setCurrentIndex] = useState(0);
@@ -25,15 +20,15 @@ stories.add("Text", () => {
25
20
 
26
21
  return (
27
22
  <>
28
- <Text size="lg" color="primary" bold="bold" type="h1">
23
+ <TextImpl size="lg" color="primary" bold="bold" type="h1">
29
24
  Hello World
30
- </Text>
31
- <Text size="base" color="pale" type="p">
25
+ </TextImpl>
26
+ <TextImpl size="base" color="pale" type="p">
32
27
  Lorem Ipsum
33
- </Text>
34
- <Text size="lg" color="primary" type="h1" bold="bold" animated>
28
+ </TextImpl>
29
+ <TextImpl size="lg" color="primary" type="h1" bold="bold" animated>
35
30
  {textValue}
36
- </Text>
31
+ </TextImpl>
37
32
  </>
38
33
  );
39
- });
34
+ }
@@ -1,12 +1,13 @@
1
- import { storiesOf } from "@storybook/react";
1
+ import React from "react";
2
2
  import { useState } from "react";
3
3
  import { BareSignIn, AvailableProvider } from "../../auth/bareSignIn";
4
4
  import { FooterSection } from "../../design/footerSection";
5
- import "../../../index.css";
6
5
 
7
- const stories = storiesOf("Template", module);
6
+ const meta = { title: "Template/Auth Page" };
7
+ export default meta;
8
8
 
9
- stories.add("Auth Page", () => {
9
+
10
+ export const AuthPage = () => {
10
11
  const [signInType, setSignInType] = useState<typeof AvailableProvider>("email");
11
12
 
12
13
  return (
@@ -65,4 +66,4 @@ stories.add("Auth Page", () => {
65
66
  />
66
67
  </>
67
68
  );
68
- });
69
+ }