@object-ui/components 3.3.0 → 3.3.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 (321) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +21 -1
  3. package/dist/index.css +6339 -2
  4. package/dist/index.js +17600 -17481
  5. package/dist/index.umd.cjs +36 -36
  6. package/dist/packages/components/src/custom/empty.d.ts +12 -1
  7. package/dist/packages/components/src/renderers/action/action-bar.d.ts +12 -1
  8. package/dist/packages/components/src/ui/chart.d.ts +10 -29
  9. package/package.json +65 -44
  10. package/.turbo/turbo-build.log +0 -84
  11. package/README_SHADCN_SYNC.md +0 -281
  12. package/TESTING.md +0 -335
  13. package/docs/FilterBuilder.md +0 -268
  14. package/metadata/Chart.component.yml +0 -30
  15. package/metadata/FilterBuilder.component.yml +0 -39
  16. package/metadata/GridLayout.component.yml +0 -27
  17. package/metadata/Menu.component.yml +0 -31
  18. package/metadata/ObjectForm.component.yml +0 -34
  19. package/metadata/ObjectGrid.component.yml +0 -72
  20. package/metadata/Page.component.yml +0 -24
  21. package/postcss.config.js +0 -14
  22. package/shadcn-components.json +0 -440
  23. package/src/SchemaRenderer.tsx +0 -28
  24. package/src/__tests__/PageRendererRegions.test.tsx +0 -668
  25. package/src/__tests__/README.md +0 -124
  26. package/src/__tests__/__snapshots__/snapshot-critical.test.tsx.snap +0 -811
  27. package/src/__tests__/__snapshots__/snapshot.test.tsx.snap +0 -327
  28. package/src/__tests__/accessibility.test.tsx +0 -137
  29. package/src/__tests__/action-bar.test.tsx +0 -206
  30. package/src/__tests__/api-consistency.test.tsx +0 -596
  31. package/src/__tests__/basic-renderers.test.tsx +0 -255
  32. package/src/__tests__/color-contrast.test.tsx +0 -212
  33. package/src/__tests__/complex-disclosure-renderers.test.tsx +0 -302
  34. package/src/__tests__/compliance.test.tsx +0 -72
  35. package/src/__tests__/config-field-renderer.test.tsx +0 -307
  36. package/src/__tests__/config-panel-renderer.test.tsx +0 -580
  37. package/src/__tests__/config-primitives.test.tsx +0 -106
  38. package/src/__tests__/edge-cases.test.tsx +0 -285
  39. package/src/__tests__/feedback-overlay-renderers.test.tsx +0 -349
  40. package/src/__tests__/filter-builder.test.tsx +0 -409
  41. package/src/__tests__/form-renderers.test.tsx +0 -364
  42. package/src/__tests__/layout-data-renderers.test.tsx +0 -340
  43. package/src/__tests__/mobile-accessibility.test.tsx +0 -120
  44. package/src/__tests__/navigation-overlay.test.tsx +0 -370
  45. package/src/__tests__/snapshot-critical.test.tsx +0 -317
  46. package/src/__tests__/snapshot.test.tsx +0 -205
  47. package/src/__tests__/test-utils.tsx +0 -190
  48. package/src/__tests__/use-config-draft.test.tsx +0 -295
  49. package/src/__tests__/view-compliance.test.tsx +0 -153
  50. package/src/__tests__/wcag-audit.test.tsx +0 -493
  51. package/src/custom/action-param-dialog.tsx +0 -264
  52. package/src/custom/button-group.tsx +0 -91
  53. package/src/custom/combobox.tsx +0 -104
  54. package/src/custom/config-field-renderer.tsx +0 -276
  55. package/src/custom/config-panel-renderer.tsx +0 -306
  56. package/src/custom/config-row.tsx +0 -50
  57. package/src/custom/date-picker.tsx +0 -61
  58. package/src/custom/empty.tsx +0 -112
  59. package/src/custom/field.tsx +0 -81
  60. package/src/custom/filter-builder.tsx +0 -418
  61. package/src/custom/index.ts +0 -21
  62. package/src/custom/input-group.tsx +0 -53
  63. package/src/custom/item.tsx +0 -201
  64. package/src/custom/kbd.tsx +0 -36
  65. package/src/custom/mobile-dialog-content.tsx +0 -67
  66. package/src/custom/native-select.tsx +0 -33
  67. package/src/custom/navigation-overlay.tsx +0 -334
  68. package/src/custom/section-header.tsx +0 -68
  69. package/src/custom/sort-builder.tsx +0 -129
  70. package/src/custom/spinner.tsx +0 -26
  71. package/src/custom/view-skeleton.tsx +0 -243
  72. package/src/custom/view-states.tsx +0 -153
  73. package/src/debug/DebugPanel.tsx +0 -313
  74. package/src/debug/__tests__/DebugPanel.test.tsx +0 -134
  75. package/src/debug/index.ts +0 -10
  76. package/src/hooks/use-config-draft.ts +0 -127
  77. package/src/hooks/use-mobile.tsx +0 -27
  78. package/src/index.css +0 -245
  79. package/src/index.ts +0 -47
  80. package/src/lib/use-sync-external-store-shim.ts +0 -10
  81. package/src/lib/use-sync-external-store-with-selector-shim.ts +0 -90
  82. package/src/lib/utils.tsx +0 -35
  83. package/src/new-components.test.ts +0 -73
  84. package/src/renderers/action/action-bar.tsx +0 -221
  85. package/src/renderers/action/action-button.tsx +0 -158
  86. package/src/renderers/action/action-group.tsx +0 -270
  87. package/src/renderers/action/action-icon.tsx +0 -150
  88. package/src/renderers/action/action-menu.tsx +0 -203
  89. package/src/renderers/action/index.ts +0 -19
  90. package/src/renderers/action/resolve-icon.ts +0 -35
  91. package/src/renderers/basic/button-group.tsx +0 -79
  92. package/src/renderers/basic/div.tsx +0 -60
  93. package/src/renderers/basic/html.tsx +0 -43
  94. package/src/renderers/basic/icon.tsx +0 -89
  95. package/src/renderers/basic/image.tsx +0 -49
  96. package/src/renderers/basic/index.ts +0 -18
  97. package/src/renderers/basic/navigation-menu.tsx +0 -81
  98. package/src/renderers/basic/pagination.tsx +0 -109
  99. package/src/renderers/basic/separator.tsx +0 -57
  100. package/src/renderers/basic/span.tsx +0 -63
  101. package/src/renderers/basic/text.tsx +0 -52
  102. package/src/renderers/complex/README-KANBAN.md +0 -208
  103. package/src/renderers/complex/TIMELINE.md +0 -353
  104. package/src/renderers/complex/__tests__/data-table-airtable-ux.test.tsx +0 -239
  105. package/src/renderers/complex/__tests__/data-table-batch-editing.test.tsx +0 -275
  106. package/src/renderers/complex/__tests__/data-table-cell-renderer.test.tsx +0 -120
  107. package/src/renderers/complex/__tests__/data-table-editing.test.tsx +0 -221
  108. package/src/renderers/complex/__tests__/data-table.test.ts +0 -76
  109. package/src/renderers/complex/carousel.tsx +0 -69
  110. package/src/renderers/complex/data-table.tsx +0 -1243
  111. package/src/renderers/complex/filter-builder.tsx +0 -77
  112. package/src/renderers/complex/index.ts +0 -16
  113. package/src/renderers/complex/resizable.tsx +0 -66
  114. package/src/renderers/complex/scroll-area.tsx +0 -58
  115. package/src/renderers/complex/table.tsx +0 -95
  116. package/src/renderers/data-display/alert.tsx +0 -46
  117. package/src/renderers/data-display/avatar.tsx +0 -38
  118. package/src/renderers/data-display/badge.tsx +0 -55
  119. package/src/renderers/data-display/breadcrumb.tsx +0 -61
  120. package/src/renderers/data-display/index.ts +0 -18
  121. package/src/renderers/data-display/kbd.tsx +0 -50
  122. package/src/renderers/data-display/list.tsx +0 -75
  123. package/src/renderers/data-display/statistic.tsx +0 -95
  124. package/src/renderers/data-display/table.tsx +0 -78
  125. package/src/renderers/data-display/tree-view.tsx +0 -176
  126. package/src/renderers/disclosure/accordion.tsx +0 -69
  127. package/src/renderers/disclosure/collapsible.tsx +0 -53
  128. package/src/renderers/disclosure/index.ts +0 -11
  129. package/src/renderers/disclosure/toggle-group.tsx +0 -79
  130. package/src/renderers/feedback/empty.tsx +0 -49
  131. package/src/renderers/feedback/index.ts +0 -16
  132. package/src/renderers/feedback/loading.tsx +0 -78
  133. package/src/renderers/feedback/progress.tsx +0 -29
  134. package/src/renderers/feedback/skeleton.tsx +0 -31
  135. package/src/renderers/feedback/sonner.tsx +0 -56
  136. package/src/renderers/feedback/spinner.tsx +0 -55
  137. package/src/renderers/feedback/toast.tsx +0 -59
  138. package/src/renderers/feedback/toaster.tsx +0 -23
  139. package/src/renderers/form/button.tsx +0 -103
  140. package/src/renderers/form/calendar.tsx +0 -34
  141. package/src/renderers/form/checkbox.tsx +0 -71
  142. package/src/renderers/form/combobox.tsx +0 -48
  143. package/src/renderers/form/command.tsx +0 -58
  144. package/src/renderers/form/date-picker.tsx +0 -84
  145. package/src/renderers/form/file-upload.tsx +0 -184
  146. package/src/renderers/form/form.tsx +0 -540
  147. package/src/renderers/form/index.ts +0 -26
  148. package/src/renderers/form/input-otp.tsx +0 -51
  149. package/src/renderers/form/input.tsx +0 -121
  150. package/src/renderers/form/label.tsx +0 -45
  151. package/src/renderers/form/radio-group.tsx +0 -63
  152. package/src/renderers/form/select.tsx +0 -94
  153. package/src/renderers/form/slider.tsx +0 -61
  154. package/src/renderers/form/switch.tsx +0 -48
  155. package/src/renderers/form/textarea.tsx +0 -76
  156. package/src/renderers/form/toggle.tsx +0 -42
  157. package/src/renderers/index.ts +0 -18
  158. package/src/renderers/layout/aspect-ratio.tsx +0 -51
  159. package/src/renderers/layout/card.tsx +0 -85
  160. package/src/renderers/layout/container.tsx +0 -122
  161. package/src/renderers/layout/flex.tsx +0 -132
  162. package/src/renderers/layout/grid.tsx +0 -178
  163. package/src/renderers/layout/index.ts +0 -19
  164. package/src/renderers/layout/page.tsx +0 -466
  165. package/src/renderers/layout/semantic.tsx +0 -48
  166. package/src/renderers/layout/stack.tsx +0 -132
  167. package/src/renderers/layout/tabs.tsx +0 -97
  168. package/src/renderers/navigation/header-bar.tsx +0 -118
  169. package/src/renderers/navigation/index.ts +0 -10
  170. package/src/renderers/navigation/sidebar.tsx +0 -208
  171. package/src/renderers/overlay/alert-dialog.tsx +0 -72
  172. package/src/renderers/overlay/context-menu.tsx +0 -100
  173. package/src/renderers/overlay/dialog.tsx +0 -77
  174. package/src/renderers/overlay/drawer.tsx +0 -77
  175. package/src/renderers/overlay/dropdown-menu.tsx +0 -99
  176. package/src/renderers/overlay/hover-card.tsx +0 -55
  177. package/src/renderers/overlay/index.ts +0 -18
  178. package/src/renderers/overlay/menubar.tsx +0 -76
  179. package/src/renderers/overlay/popover.tsx +0 -56
  180. package/src/renderers/overlay/sheet.tsx +0 -77
  181. package/src/renderers/overlay/tooltip.tsx +0 -67
  182. package/src/renderers/placeholders.tsx +0 -107
  183. package/src/stories/CRMApp.stories.tsx +0 -706
  184. package/src/stories/ConfigPanel.stories.tsx +0 -232
  185. package/src/stories/Guide.mdx +0 -55
  186. package/src/stories/MockedData.stories.tsx +0 -121
  187. package/src/stories/assets/accessibility.png +0 -0
  188. package/src/stories/assets/accessibility.svg +0 -1
  189. package/src/stories/assets/addon-library.png +0 -0
  190. package/src/stories/assets/assets.png +0 -0
  191. package/src/stories/assets/avif-test-image.avif +0 -0
  192. package/src/stories/assets/context.png +0 -0
  193. package/src/stories/assets/discord.svg +0 -1
  194. package/src/stories/assets/docs.png +0 -0
  195. package/src/stories/assets/figma-plugin.png +0 -0
  196. package/src/stories/assets/github.svg +0 -1
  197. package/src/stories/assets/share.png +0 -0
  198. package/src/stories/assets/styling.png +0 -0
  199. package/src/stories/assets/testing.png +0 -0
  200. package/src/stories/assets/theming.png +0 -0
  201. package/src/stories/assets/tutorials.svg +0 -1
  202. package/src/stories/assets/youtube.svg +0 -1
  203. package/src/stories/button.css +0 -30
  204. package/src/stories/header.css +0 -32
  205. package/src/stories/page.css +0 -68
  206. package/src/stories-json/Accessibility.mdx +0 -297
  207. package/src/stories-json/EdgeCases.stories.tsx +0 -160
  208. package/src/stories-json/GettingStarted.mdx +0 -89
  209. package/src/stories-json/Introduction.mdx +0 -127
  210. package/src/stories-json/accordion.stories.tsx +0 -43
  211. package/src/stories-json/aggrid.stories.tsx +0 -103
  212. package/src/stories-json/alert.stories.tsx +0 -39
  213. package/src/stories-json/aspect-ratio.stories.tsx +0 -34
  214. package/src/stories-json/avatar.stories.tsx +0 -38
  215. package/src/stories-json/badge.stories.tsx +0 -53
  216. package/src/stories-json/breadcrumb.stories.tsx +0 -30
  217. package/src/stories-json/button-group.stories.tsx +0 -43
  218. package/src/stories-json/button.stories.tsx +0 -73
  219. package/src/stories-json/calendar.stories.tsx +0 -85
  220. package/src/stories-json/card.stories.tsx +0 -48
  221. package/src/stories-json/carousel.stories.tsx +0 -33
  222. package/src/stories-json/charts.stories.tsx +0 -195
  223. package/src/stories-json/chatbot.stories.tsx +0 -349
  224. package/src/stories-json/code-editor.stories.tsx +0 -92
  225. package/src/stories-json/collapsible.stories.tsx +0 -40
  226. package/src/stories-json/controls.stories.tsx +0 -36
  227. package/src/stories-json/crm-live-data.stories.tsx +0 -154
  228. package/src/stories-json/dashboard.stories.tsx +0 -318
  229. package/src/stories-json/data-table.stories.tsx +0 -136
  230. package/src/stories-json/data_display_extras.stories.tsx +0 -102
  231. package/src/stories-json/date-picker.stories.tsx +0 -28
  232. package/src/stories-json/detail-view.stories.tsx +0 -258
  233. package/src/stories-json/dialog.stories.tsx +0 -43
  234. package/src/stories-json/feedback_extras.stories.tsx +0 -40
  235. package/src/stories-json/feedback_others.stories.tsx +0 -46
  236. package/src/stories-json/form-variants.stories.tsx +0 -210
  237. package/src/stories-json/form_advanced.stories.tsx +0 -117
  238. package/src/stories-json/form_extras.stories.tsx +0 -123
  239. package/src/stories-json/grid.stories.tsx +0 -56
  240. package/src/stories-json/icon.stories.tsx +0 -36
  241. package/src/stories-json/input.stories.tsx +0 -52
  242. package/src/stories-json/kanban.stories.tsx +0 -295
  243. package/src/stories-json/layout_extended.stories.tsx +0 -76
  244. package/src/stories-json/layout_flex.stories.tsx +0 -107
  245. package/src/stories-json/list-view.stories.tsx +0 -97
  246. package/src/stories-json/markdown.stories.tsx +0 -129
  247. package/src/stories-json/menus.stories.tsx +0 -63
  248. package/src/stories-json/metric-card.stories.tsx +0 -143
  249. package/src/stories-json/navigation-menu.stories.tsx +0 -37
  250. package/src/stories-json/object-aggrid-advanced.stories.tsx +0 -389
  251. package/src/stories-json/object-aggrid.stories.tsx +0 -252
  252. package/src/stories-json/object-form.stories.tsx +0 -130
  253. package/src/stories-json/object-gantt.stories.tsx +0 -114
  254. package/src/stories-json/object-grid.stories.tsx +0 -315
  255. package/src/stories-json/object-map.stories.tsx +0 -116
  256. package/src/stories-json/object-view.stories.tsx +0 -118
  257. package/src/stories-json/overlay_extras.stories.tsx +0 -113
  258. package/src/stories-json/overlay_others.stories.tsx +0 -76
  259. package/src/stories-json/page.stories.tsx +0 -55
  260. package/src/stories-json/reports.stories.tsx +0 -163
  261. package/src/stories-json/resizable.stories.tsx +0 -44
  262. package/src/stories-json/select.stories.tsx +0 -34
  263. package/src/stories-json/separator.stories.tsx +0 -41
  264. package/src/stories-json/sidebar.stories.tsx +0 -147
  265. package/src/stories-json/statistic.stories.tsx +0 -44
  266. package/src/stories-json/tabs.stories.tsx +0 -51
  267. package/src/stories-json/timeline.stories.tsx +0 -188
  268. package/src/stories-json/typography.stories.tsx +0 -45
  269. package/src/types/config-panel.ts +0 -101
  270. package/src/ui/accordion.tsx +0 -66
  271. package/src/ui/alert-dialog.tsx +0 -149
  272. package/src/ui/alert.tsx +0 -67
  273. package/src/ui/aspect-ratio.tsx +0 -15
  274. package/src/ui/avatar.tsx +0 -58
  275. package/src/ui/badge.tsx +0 -44
  276. package/src/ui/breadcrumb.tsx +0 -123
  277. package/src/ui/button.tsx +0 -64
  278. package/src/ui/calendar.tsx +0 -221
  279. package/src/ui/card.tsx +0 -87
  280. package/src/ui/carousel.tsx +0 -270
  281. package/src/ui/chart.tsx +0 -377
  282. package/src/ui/checkbox.tsx +0 -38
  283. package/src/ui/collapsible.tsx +0 -19
  284. package/src/ui/command.tsx +0 -161
  285. package/src/ui/context-menu.tsx +0 -208
  286. package/src/ui/dialog.tsx +0 -130
  287. package/src/ui/drawer.tsx +0 -126
  288. package/src/ui/dropdown-menu.tsx +0 -208
  289. package/src/ui/form.tsx +0 -186
  290. package/src/ui/hover-card.tsx +0 -37
  291. package/src/ui/index.ts +0 -56
  292. package/src/ui/input-otp.tsx +0 -79
  293. package/src/ui/input.tsx +0 -30
  294. package/src/ui/label.tsx +0 -34
  295. package/src/ui/menubar.tsx +0 -264
  296. package/src/ui/navigation-menu.tsx +0 -136
  297. package/src/ui/pagination.tsx +0 -125
  298. package/src/ui/popover.tsx +0 -39
  299. package/src/ui/progress.tsx +0 -36
  300. package/src/ui/radio-group.tsx +0 -52
  301. package/src/ui/resizable.tsx +0 -53
  302. package/src/ui/scroll-area.tsx +0 -56
  303. package/src/ui/select.tsx +0 -168
  304. package/src/ui/separator.tsx +0 -39
  305. package/src/ui/sheet.tsx +0 -150
  306. package/src/ui/sidebar.tsx +0 -781
  307. package/src/ui/skeleton.tsx +0 -23
  308. package/src/ui/slider.tsx +0 -39
  309. package/src/ui/sonner.tsx +0 -53
  310. package/src/ui/switch.tsx +0 -37
  311. package/src/ui/table.tsx +0 -125
  312. package/src/ui/tabs.tsx +0 -63
  313. package/src/ui/textarea.tsx +0 -30
  314. package/src/ui/toast.tsx +0 -137
  315. package/src/ui/toggle-group.tsx +0 -69
  316. package/src/ui/toggle.tsx +0 -53
  317. package/src/ui/tooltip.tsx +0 -38
  318. package/src/ui/typography.tsx +0 -85
  319. package/tsconfig.json +0 -19
  320. package/vite.config.ts +0 -71
  321. package/vitest.config.ts +0 -5
@@ -1,706 +0,0 @@
1
-
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import React, { useState } from 'react';
4
- import { SchemaRenderer, SchemaRendererProvider } from '@object-ui/react';
5
- import { SidebarProvider, Sidebar, SidebarHeader, SidebarContent, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarMenu, SidebarMenuButton } from '../ui/sidebar';
6
- import {
7
- LayoutDashboard,
8
- Users,
9
- Settings,
10
- FileText,
11
- GalleryVerticalEnd,
12
- Building2,
13
- UserPlus,
14
- TrendingUp
15
- } from 'lucide-react';
16
-
17
- /* --- MOCK DATA --- */
18
-
19
- const DASHBOARD_DATA = {
20
- revenue: "$45,231.89",
21
- subscriptions: "+2350",
22
- sales: "+12,234",
23
- revenueGrowth: "+20.1% from last month",
24
- subGrowth: "+180.1% from last month",
25
- salesGrowth: "+19% from last month",
26
- overview: [
27
- { name: "Jan", total: 1200 }, { name: "Feb", total: 1500 }, { name: "Mar", total: 1300 },
28
- { name: "Apr", total: 1800 }, { name: "May", total: 2200 }, { name: "Jun", total: 2600 }
29
- ],
30
- // For view:simple list
31
- recentSales: [
32
- { name: "Olivia Martin", email: "olivia.martin@email.com", amount: "+$1,999.00" },
33
- // ... handled manually in schema for view:simple until we support loops
34
- ]
35
- };
36
-
37
- const CONTACTS_DATA = {
38
- contacts: [
39
- { id: 1, name: "Alice Johnson", company: "TechCorp", email: "alice@techcorp.com", status: "Active" },
40
- { id: 2, name: "Bob Smith", company: "SalesInc", email: "bob@salesinc.com", status: "Inactive" },
41
- { id: 3, name: "Charlie Davis", company: "StartupHub", email: "charlie@startuphub.com", status: "Lead" },
42
- { id: 4, name: "Dana Wilson", company: "Enterprise Ltd", email: "dana@enterprise.com", status: "Active" },
43
- { id: 5, name: "Evan Brown", company: "Innovate LLC", email: "evan@innovate.com", status: "Active" },
44
- ]
45
- };
46
-
47
- const OPPORTUNITIES_DATA = {
48
- opportunities: [
49
- { id: 101, name: "TechCorp License Renewal", amount: 50000, stage: "Negotiation", probability: "80%", closeDate: "2026-02-15", contact: "Alice Johnson" },
50
- { id: 102, name: "SalesInc New Deal", amount: 12000, stage: "Qualified", probability: "40%", closeDate: "2026-03-01", contact: "Bob Smith" },
51
- { id: 103, name: "StartupHub Seed", amount: 5000, stage: "Closed Won", probability: "100%", closeDate: "2026-01-20", contact: "Charlie Davis" },
52
- { id: 104, name: "Enterprise Ltd Expansion", amount: 150000, stage: "Proposal", probability: "60%", closeDate: "2026-02-28", contact: "Dana Wilson" }
53
- ]
54
- };
55
-
56
- const ACCOUNTS_DATA = {
57
- accounts: [
58
- { id: 1, name: "TechCorp", industry: "Technology", revenue: 5000000, employees: 250, status: "Active" },
59
- { id: 2, name: "SalesInc", industry: "Sales & Marketing", revenue: 1200000, employees: 50, status: "Active" },
60
- { id: 3, name: "StartupHub", industry: "Venture Capital", revenue: 500000, employees: 15, status: "Lead" },
61
- { id: 4, name: "Enterprise Ltd", industry: "Enterprise Software", revenue: 15000000, employees: 500, status: "Active" },
62
- { id: 5, name: "Innovate LLC", industry: "Innovation", revenue: 3000000, employees: 100, status: "Active" }
63
- ]
64
- };
65
-
66
- const CONTACT_DETAIL_DATA = {
67
- id: 1,
68
- name: "Alice Johnson",
69
- company: "TechCorp",
70
- email: "alice@techcorp.com",
71
- status: "Active"
72
- };
73
-
74
- const OPPORTUNITY_DETAIL_DATA = {
75
- id: 101,
76
- name: "TechCorp License Renewal",
77
- amount: 50000,
78
- stage: "Negotiation",
79
- probability: "80%",
80
- closeDate: "2026-02-15",
81
- contact: "Alice Johnson",
82
- expectedRevenue: 40000,
83
- daysToClose: 15
84
- };
85
-
86
- /* --- SCHEMAS --- */
87
-
88
- const dashboardSchema = {
89
- type: "page",
90
- props: { title: "Dashboard" },
91
- children: [
92
- {
93
- type: "div",
94
- className: "flex items-center justify-between mb-6",
95
- children: [
96
- {
97
- type: "page:header",
98
- props: { title: "Dashboard", description: "Overview of your business performance." },
99
- className: "mb-0"
100
- },
101
- {
102
- type: "div",
103
- className: "flex gap-2",
104
- children: [
105
- { type: "button", props: { variant: "outline", size: "sm", children: "Download Report" } },
106
- { type: "button", props: { size: "sm", children: "Refresh" } }
107
- ]
108
- }
109
- ]
110
- },
111
- {
112
- type: "grid",
113
- props: { cols: 4, gap: 4, className: "mb-8 mt-2" },
114
- children: [
115
- { type: "card", title: "Total Revenue", description: "${data.revenueGrowth}", children: [{type: "text", content: "${data.revenue}", className: "text-2xl font-bold"}] },
116
- { type: "card", title: "Subscriptions", description: "${data.subGrowth}", children: [{type: "text", content: "${data.subscriptions}", className: "text-2xl font-bold"}] },
117
- { type: "card", title: "Sales", description: "${data.salesGrowth}", children: [{type: "text", content: "${data.sales}", className: "text-2xl font-bold"}] },
118
- { type: "card", title: "Active Now", description: "+201 since last hour", children: [{type: "text", content: "+573", className: "text-2xl font-bold"}] },
119
- ]
120
- },
121
- {
122
- type: "grid",
123
- props: { cols: 7, gap: 4 },
124
- children: [
125
- {
126
- type: "page:card",
127
- props: { title: "Revenue Overview", className: "col-span-4" },
128
- children: [{ type: "chart:bar", props: {
129
- data: "${data.overview}",
130
- index: "name",
131
- categories: ["total"],
132
- colors: ["blue"]
133
- }}]
134
- },
135
- {
136
- type: "page:card",
137
- props: { title: "Recent Sales", description: "You made 265 sales this month.", className: "col-span-3" },
138
- children: [
139
- { type: "view:simple", children: [
140
- { type: "div", className: "flex items-center justify-between py-3 border-b hover:bg-muted/50 px-2 rounded transition-colors", children: [
141
- { type: "div", className: "flex items-center gap-3", children: [{type:"avatar", props:{fallback:"OM"}}, {type:"div", children:[{type:"text", content:"Olivia Martin", className:"font-medium block"}, {type:"text", content:"olivia.martin@email.com", className:"text-xs text-muted-foreground block"}]}] },
142
- { type: "text", content: "+$1,999.00", className: "font-medium" }
143
- ]},
144
- { type: "div", className: "flex items-center justify-between py-3 border-b hover:bg-muted/50 px-2 rounded transition-colors", children: [
145
- { type: "div", className: "flex items-center gap-3", children: [{type:"avatar", props:{fallback:"JL"}}, {type:"div", children:[{type:"text", content:"Jackson Lee", className:"font-medium block"}, {type:"text", content:"jackson.lee@email.com", className:"text-xs text-muted-foreground block"}]}] },
146
- { type: "text", content: "+$39.00", className: "font-medium" }
147
- ]},
148
- { type: "div", className: "flex items-center justify-between py-3 border-b hover:bg-muted/50 px-2 rounded transition-colors", children: [
149
- { type: "div", className: "flex items-center gap-3", children: [{type:"avatar", props:{fallback:"IN"}}, {type:"div", children:[{type:"text", content:"Isabella Nguyen", className:"font-medium block"}, {type:"text", content:"isabella.nguyen@email.com", className:"text-xs text-muted-foreground block"}]}] },
150
- { type: "text", content: "+$299.00", className: "font-medium" }
151
- ]},
152
- { type: "div", className: "flex items-center justify-between py-3 border-b hover:bg-muted/50 px-2 rounded transition-colors", children: [
153
- { type: "div", className: "flex items-center gap-3", children: [{type:"avatar", props:{fallback:"WK"}}, {type:"div", children:[{type:"text", content:"William Kim", className:"font-medium block"}, {type:"text", content:"will@email.com", className:"text-xs text-muted-foreground block"}]}] },
154
- { type: "text", content: "+$99.00", className: "font-medium" }
155
- ]},
156
- { type: "div", className: "flex items-center justify-between py-3 hover:bg-muted/50 px-2 rounded transition-colors", children: [
157
- { type: "div", className: "flex items-center gap-3", children: [{type:"avatar", props:{fallback:"SD"}}, {type:"div", children:[{type:"text", content:"Sofia Davis", className:"font-medium block"}, {type:"text", content:"sofia.davis@email.com", className:"text-xs text-muted-foreground block"}]}] },
158
- { type: "text", content: "+$39.00", className: "font-medium" }
159
- ]},
160
- ]}
161
- ]
162
- }
163
- ]
164
- }
165
- ]
166
- };
167
-
168
- const contactsSchema = {
169
- type: "page",
170
- props: { title: "Contacts" },
171
- children: [
172
- {
173
- type: "page:header",
174
- props: { title: "Contacts", description: "Manage your customers and leads." },
175
- children: [
176
- { type: "button", props: { children: "New Contact" } }
177
- ]
178
- },
179
- {
180
- type: "div",
181
- className: "flex gap-2 mt-4",
182
- children: [
183
- { type: "button", props: { variant: "outline", size: "sm", children: "All Contacts" } },
184
- { type: "button", props: { variant: "ghost", size: "sm", children: "Active" } },
185
- { type: "button", props: { variant: "ghost", size: "sm", children: "Inactive" } },
186
- { type: "button", props: { variant: "ghost", size: "sm", children: "Leads" } }
187
- ]
188
- },
189
- {
190
- type: "page:card",
191
- className: "mt-4",
192
- children: [
193
- {
194
- type: "view:grid",
195
- staticData: CONTACTS_DATA.contacts,
196
- columns: [
197
- { key: "name", label: "Name", type: "text" },
198
- { key: "company", label: "Company", type: "text" },
199
- { key: "email", label: "Email", type: "text" },
200
- { key: "status", label: "Status", type: "text" }
201
- ]
202
- }
203
- ]
204
- }
205
- ]
206
- };
207
-
208
- const opportunitiesSchema = {
209
- type: "page",
210
- props: { title: "Opportunities" },
211
- children: [
212
- {
213
- type: "page:header",
214
- props: { title: "Opportunities", description: "View and track sales deals." },
215
- children: [
216
- { type: "button", props: { children: "New Opportunity", size: "sm" } }
217
- ]
218
- },
219
- {
220
- type: "page:card",
221
- className: "mt-6",
222
- children: [
223
- {
224
- type: "view:grid",
225
- staticData: OPPORTUNITIES_DATA.opportunities,
226
- columns: [
227
- { key: "name", label: "Deal Name", type: "text" },
228
- { key: "contact", label: "Contact", type: "text" },
229
- { key: "stage", label: "Stage", type: "text" },
230
- { key: "amount", label: "Amount ($)", type: "number" },
231
- { key: "probability", label: "Probability", type: "text" },
232
- { key: "closeDate", label: "Close Date", type: "text" }
233
- ]
234
- }
235
- ]
236
- }
237
- ]
238
- };
239
-
240
- const settingsSchema = {
241
- type: "page",
242
- props: { title: "Settings" },
243
- children: [
244
- {
245
- type: "page:header",
246
- props: { title: "Settings", description: "Manage your account settings and preferences." }
247
- },
248
- {
249
- type: "div",
250
- className: "grid grid-cols-1 md:grid-cols-3 gap-8 mt-6",
251
- children: [
252
- {
253
- type: "div",
254
- className: "col-span-1",
255
- children: [
256
- { type: "text", content: "Profile Information", className: "text-lg font-semibold block mb-2" },
257
- { type: "text", content: "Update your account's profile information and email address.", className: "text-sm text-muted-foreground" },
258
- {
259
- type: "div",
260
- className: "mt-4 flex flex-col gap-1",
261
- children: [
262
- { type: "button", props: { variant: "ghost", className: "justify-start font-semibold bg-muted", children: "General" } },
263
- { type: "button", props: { variant: "ghost", className: "justify-start", children: "Security" } },
264
- { type: "button", props: { variant: "ghost", className: "justify-start", children: "Billing" } },
265
- { type: "button", props: { variant: "ghost", className: "justify-start", children: "Notifications" } },
266
- ]
267
- }
268
- ]
269
- },
270
- {
271
- type: "page:card",
272
- className: "col-span-2",
273
- children: [
274
- {
275
- type: "div", // Using div as form container for now
276
- className: "space-y-4",
277
- children: [
278
- { type: "field:text", props: { label: "Username", defaultValue: "${data.profile.name}", description: "This is your public display name." } },
279
- { type: "field:text", props: { label: "Email", defaultValue: "${data.profile.email}", description: "Please enter a valid email address." } },
280
- { type: "field:text", props: { label: "Role", defaultValue: "${data.profile.role}", readonly: true, disabled: true } },
281
- { type: "div", className: "pt-4 flex justify-end", children: [
282
- { type: "button", props: { children: "Save Changes" } }
283
- ]}
284
- ]
285
- }
286
- ]
287
- }
288
- ]
289
- }
290
- ]
291
- };
292
-
293
- const SETTINGS_DATA = {
294
- profile: {
295
- name: "Admin User",
296
- email: "admin@objectui.dev",
297
- role: "Administrator",
298
- notifications: true
299
- }
300
- };
301
-
302
- const accountsSchema = {
303
- type: "page",
304
- props: { title: "Accounts" },
305
- children: [
306
- {
307
- type: "page:header",
308
- props: { title: "Accounts", description: "Manage your business accounts and companies." },
309
- children: [
310
- { type: "button", props: { children: "New Account", size: "sm" } }
311
- ]
312
- },
313
- {
314
- type: "page:card",
315
- className: "mt-6",
316
- children: [
317
- {
318
- type: "view:grid",
319
- staticData: ACCOUNTS_DATA.accounts,
320
- columns: [
321
- { key: "name", label: "Account Name", type: "text" },
322
- { key: "industry", label: "Industry", type: "text" },
323
- { key: "revenue", label: "Annual Revenue ($)", type: "number" },
324
- { key: "employees", label: "Employees", type: "number" },
325
- { key: "status", label: "Status", type: "text" }
326
- ]
327
- }
328
- ]
329
- }
330
- ]
331
- };
332
-
333
- const contactDetailSchema = {
334
- type: "page",
335
- props: { title: "Contact Details" },
336
- children: [
337
- {
338
- type: "div",
339
- className: "flex items-center justify-between mb-6",
340
- children: [
341
- {
342
- type: "page:header",
343
- props: {
344
- title: "${data.name}",
345
- description: "${data.company} • ${data.email}"
346
- },
347
- className: "mb-0"
348
- },
349
- {
350
- type: "div",
351
- className: "flex gap-2",
352
- children: [
353
- { type: "button", props: { variant: "outline", size: "sm", children: "Edit" } },
354
- { type: "button", props: { variant: "outline", size: "sm", children: "Delete" } }
355
- ]
356
- }
357
- ]
358
- },
359
- {
360
- type: "grid",
361
- props: { cols: 3, gap: 6 },
362
- children: [
363
- {
364
- type: "page:card",
365
- props: { title: "Contact Information", className: "col-span-2" },
366
- children: [
367
- {
368
- type: "div",
369
- className: "grid grid-cols-2 gap-4",
370
- children: [
371
- { type: "div", children: [
372
- { type: "text", content: "Name", className: "text-sm font-medium text-muted-foreground block mb-1" },
373
- { type: "text", content: "${data.name}", className: "text-base" }
374
- ]},
375
- { type: "div", children: [
376
- { type: "text", content: "Email", className: "text-sm font-medium text-muted-foreground block mb-1" },
377
- { type: "text", content: "${data.email}", className: "text-base" }
378
- ]},
379
- { type: "div", children: [
380
- { type: "text", content: "Company", className: "text-sm font-medium text-muted-foreground block mb-1" },
381
- { type: "text", content: "${data.company}", className: "text-base" }
382
- ]},
383
- { type: "div", children: [
384
- { type: "text", content: "Status", className: "text-sm font-medium text-muted-foreground block mb-1" },
385
- { type: "badge", props: { variant: "default" }, children: [{ type: "text", content: "${data.status}" }] }
386
- ]}
387
- ]
388
- }
389
- ]
390
- },
391
- {
392
- type: "page:card",
393
- props: { title: "Quick Actions", className: "col-span-1" },
394
- children: [
395
- {
396
- type: "div",
397
- className: "flex flex-col gap-2",
398
- children: [
399
- { type: "button", props: { variant: "outline", className: "justify-start", children: "Send Email" } },
400
- { type: "button", props: { variant: "outline", className: "justify-start", children: "Schedule Call" } },
401
- { type: "button", props: { variant: "outline", className: "justify-start", children: "Create Task" } }
402
- ]
403
- }
404
- ]
405
- }
406
- ]
407
- },
408
- {
409
- type: "page:card",
410
- props: { title: "Recent Activities", className: "mt-6" },
411
- children: [
412
- {
413
- type: "div",
414
- className: "space-y-3",
415
- children: [
416
- { type: "div", className: "flex items-start gap-3 py-2", children: [
417
- { type: "div", className: "h-2 w-2 rounded-full bg-blue-500 mt-2" },
418
- { type: "div", children: [
419
- { type: "text", content: "Email sent", className: "font-medium block" },
420
- { type: "text", content: "Sent product demo information", className: "text-sm text-muted-foreground block" },
421
- { type: "text", content: "2 hours ago", className: "text-xs text-muted-foreground block mt-1" }
422
- ]}
423
- ]},
424
- { type: "div", className: "flex items-start gap-3 py-2", children: [
425
- { type: "div", className: "h-2 w-2 rounded-full bg-green-500 mt-2" },
426
- { type: "div", children: [
427
- { type: "text", content: "Meeting completed", className: "font-medium block" },
428
- { type: "text", content: "Discussed Q1 requirements", className: "text-sm text-muted-foreground block" },
429
- { type: "text", content: "1 day ago", className: "text-xs text-muted-foreground block mt-1" }
430
- ]}
431
- ]},
432
- { type: "div", className: "flex items-start gap-3 py-2", children: [
433
- { type: "div", className: "h-2 w-2 rounded-full bg-gray-400 mt-2" },
434
- { type: "div", children: [
435
- { type: "text", content: "Contact created", className: "font-medium block" },
436
- { type: "text", content: "Added to CRM system", className: "text-sm text-muted-foreground block" },
437
- { type: "text", content: "3 days ago", className: "text-xs text-muted-foreground block mt-1" }
438
- ]}
439
- ]}
440
- ]
441
- }
442
- ]
443
- }
444
- ]
445
- };
446
-
447
- const opportunityDetailSchema = {
448
- type: "page",
449
- props: { title: "Opportunity Details" },
450
- children: [
451
- {
452
- type: "div",
453
- className: "flex items-center justify-between mb-6",
454
- children: [
455
- {
456
- type: "page:header",
457
- props: {
458
- title: "${data.name}",
459
- description: "Stage: ${data.stage} • Close Date: ${data.closeDate}"
460
- },
461
- className: "mb-0"
462
- },
463
- {
464
- type: "div",
465
- className: "flex gap-2",
466
- children: [
467
- { type: "button", props: { variant: "outline", size: "sm", children: "Edit" } },
468
- { type: "button", props: { size: "sm", children: "Mark as Won" } }
469
- ]
470
- }
471
- ]
472
- },
473
- {
474
- type: "grid",
475
- props: { cols: 4, gap: 4, className: "mb-6" },
476
- children: [
477
- {
478
- type: "card",
479
- title: "Deal Amount",
480
- children: [{ type: "text", content: "$${data.amount}", className: "text-2xl font-bold" }]
481
- },
482
- {
483
- type: "card",
484
- title: "Probability",
485
- children: [{ type: "text", content: "${data.probability}", className: "text-2xl font-bold" }]
486
- },
487
- {
488
- type: "card",
489
- title: "Expected Revenue",
490
- children: [{ type: "text", content: "$${data.expectedRevenue}", className: "text-2xl font-bold" }]
491
- },
492
- {
493
- type: "card",
494
- title: "Days to Close",
495
- children: [{ type: "text", content: "${data.daysToClose}", className: "text-2xl font-bold" }]
496
- }
497
- ]
498
- },
499
- {
500
- type: "grid",
501
- props: { cols: 3, gap: 6 },
502
- children: [
503
- {
504
- type: "page:card",
505
- props: { title: "Opportunity Details", className: "col-span-2" },
506
- children: [
507
- {
508
- type: "div",
509
- className: "grid grid-cols-2 gap-4",
510
- children: [
511
- { type: "div", children: [
512
- { type: "text", content: "Deal Name", className: "text-sm font-medium text-muted-foreground block mb-1" },
513
- { type: "text", content: "${data.name}", className: "text-base" }
514
- ]},
515
- { type: "div", children: [
516
- { type: "text", content: "Contact", className: "text-sm font-medium text-muted-foreground block mb-1" },
517
- { type: "text", content: "${data.contact}", className: "text-base" }
518
- ]},
519
- { type: "div", children: [
520
- { type: "text", content: "Stage", className: "text-sm font-medium text-muted-foreground block mb-1" },
521
- { type: "badge", props: { variant: "default" }, children: [{ type: "text", content: "${data.stage}" }] }
522
- ]},
523
- { type: "div", children: [
524
- { type: "text", content: "Close Date", className: "text-sm font-medium text-muted-foreground block mb-1" },
525
- { type: "text", content: "${data.closeDate}", className: "text-base" }
526
- ]}
527
- ]
528
- }
529
- ]
530
- },
531
- {
532
- type: "page:card",
533
- props: { title: "Stage Progress", className: "col-span-1" },
534
- children: [
535
- {
536
- type: "div",
537
- className: "space-y-2",
538
- children: [
539
- { type: "div", className: "flex items-center justify-between", children: [
540
- { type: "text", content: "Prospecting", className: "text-sm" },
541
- { type: "text", content: "✓", className: "text-green-500" }
542
- ]},
543
- { type: "div", className: "flex items-center justify-between", children: [
544
- { type: "text", content: "Qualified", className: "text-sm" },
545
- { type: "text", content: "✓", className: "text-green-500" }
546
- ]},
547
- { type: "div", className: "flex items-center justify-between", children: [
548
- { type: "text", content: "Proposal", className: "text-sm font-medium" },
549
- { type: "text", content: "●", className: "text-blue-500" }
550
- ]},
551
- { type: "div", className: "flex items-center justify-between", children: [
552
- { type: "text", content: "Negotiation", className: "text-sm text-muted-foreground" },
553
- { type: "text", content: "○", className: "text-gray-300" }
554
- ]},
555
- { type: "div", className: "flex items-center justify-between", children: [
556
- { type: "text", content: "Closed", className: "text-sm text-muted-foreground" },
557
- { type: "text", content: "○", className: "text-gray-300" }
558
- ]}
559
- ]
560
- }
561
- ]
562
- }
563
- ]
564
- }
565
- ]
566
- };
567
-
568
- /* --- APP COMPONENT --- */
569
-
570
- const CRMStoryApp = () => {
571
- const [activePage, setActivePage] = useState("dashboard");
572
-
573
- const renderContent = () => {
574
- switch(activePage) {
575
- case "dashboard":
576
- return <SchemaRendererProvider dataSource={DASHBOARD_DATA}><SchemaRenderer schema={dashboardSchema} /></SchemaRendererProvider>;
577
- case "contacts":
578
- return <SchemaRendererProvider dataSource={CONTACTS_DATA}><SchemaRenderer schema={contactsSchema} /></SchemaRendererProvider>;
579
- case "contact-detail":
580
- return <SchemaRendererProvider dataSource={CONTACT_DETAIL_DATA}><SchemaRenderer schema={contactDetailSchema} /></SchemaRendererProvider>;
581
- case "accounts":
582
- return <SchemaRendererProvider dataSource={ACCOUNTS_DATA}><SchemaRenderer schema={accountsSchema} /></SchemaRendererProvider>;
583
- case "opportunities":
584
- return <SchemaRendererProvider dataSource={OPPORTUNITIES_DATA}><SchemaRenderer schema={opportunitiesSchema} /></SchemaRendererProvider>;
585
- case "opportunity-detail":
586
- return <SchemaRendererProvider dataSource={OPPORTUNITY_DETAIL_DATA}><SchemaRenderer schema={opportunityDetailSchema} /></SchemaRendererProvider>;
587
- case "settings":
588
- return <SchemaRendererProvider dataSource={SETTINGS_DATA}><SchemaRenderer schema={settingsSchema} /></SchemaRendererProvider>;
589
- default:
590
- return (
591
- <div className="p-8">
592
- <h2 className="text-2xl font-bold">Work in progress</h2>
593
- <p className="text-muted-foreground mt-2">This page ({activePage}) is under construction.</p>
594
- </div>
595
- );
596
- }
597
- };
598
-
599
- return (
600
- <SidebarProvider>
601
- <Sidebar collapsible="icon">
602
- <SidebarHeader>
603
- <div className="flex items-center gap-2 px-2 py-3 text-sidebar-foreground">
604
- <div className="flex aspect-square size-8 items-center justify-center rounded-lg bg-primary text-primary-foreground">
605
- <GalleryVerticalEnd className="size-4" />
606
- </div>
607
- <div className="grid flex-1 text-left text-sm leading-tight">
608
- <span className="truncate font-semibold">Object UI</span>
609
- <span className="truncate text-xs">CRM Demo</span>
610
- </div>
611
- </div>
612
- </SidebarHeader>
613
- <SidebarContent>
614
- <SidebarGroup>
615
- <SidebarGroupLabel>Platform</SidebarGroupLabel>
616
- <SidebarGroupContent>
617
- <SidebarMenu>
618
- <SidebarMenuButton
619
- isActive={activePage === "dashboard"}
620
- onClick={() => setActivePage("dashboard")}
621
- tooltip="Dashboard"
622
- >
623
- <LayoutDashboard />
624
- <span>Dashboard</span>
625
- </SidebarMenuButton>
626
- <SidebarMenuButton
627
- isActive={activePage === "contacts"}
628
- onClick={() => setActivePage("contacts")}
629
- tooltip="Contacts"
630
- >
631
- <Users />
632
- <span>Contacts</span>
633
- </SidebarMenuButton>
634
- <SidebarMenuButton
635
- isActive={activePage === "accounts"}
636
- onClick={() => setActivePage("accounts")}
637
- tooltip="Accounts"
638
- >
639
- <Building2 />
640
- <span>Accounts</span>
641
- </SidebarMenuButton>
642
- <SidebarMenuButton
643
- isActive={activePage === "opportunities"}
644
- onClick={() => setActivePage("opportunities")}
645
- tooltip="Opportunities"
646
- >
647
- <TrendingUp />
648
- <span>Opportunities</span>
649
- </SidebarMenuButton>
650
- <SidebarMenuButton
651
- isActive={activePage === "settings"}
652
- onClick={() => setActivePage("settings")}
653
- tooltip="Settings"
654
- >
655
- <Settings />
656
- <span>Settings</span>
657
- </SidebarMenuButton>
658
- </SidebarMenu>
659
- </SidebarGroupContent>
660
- </SidebarGroup>
661
- <SidebarGroup>
662
- <SidebarGroupLabel>Examples</SidebarGroupLabel>
663
- <SidebarGroupContent>
664
- <SidebarMenu>
665
- <SidebarMenuButton
666
- isActive={activePage === "contact-detail"}
667
- onClick={() => setActivePage("contact-detail")}
668
- tooltip="Contact Detail View"
669
- >
670
- <UserPlus />
671
- <span>Contact Detail</span>
672
- </SidebarMenuButton>
673
- <SidebarMenuButton
674
- isActive={activePage === "opportunity-detail"}
675
- onClick={() => setActivePage("opportunity-detail")}
676
- tooltip="Opportunity Detail View"
677
- >
678
- <FileText />
679
- <span>Deal Detail</span>
680
- </SidebarMenuButton>
681
- </SidebarMenu>
682
- </SidebarGroupContent>
683
- </SidebarGroup>
684
- </SidebarContent>
685
- </Sidebar>
686
-
687
- <div className="flex flex-1 flex-col h-screen overflow-hidden bg-gray-50/50">
688
- <div className="flex-1 overflow-y-auto p-4 md:p-8">
689
- {renderContent()}
690
- </div>
691
- </div>
692
- </SidebarProvider>
693
- );
694
- };
695
-
696
- const meta: Meta = {
697
- title: 'Apps/CRM',
698
- component: CRMStoryApp,
699
- parameters: {
700
- layout: 'fullscreen',
701
- },
702
- };
703
-
704
- export default meta;
705
-
706
- export const Default: StoryObj = {};