@tpitre/story-ui 3.4.0 → 3.4.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 (282) hide show
  1. package/dist/cli/index.js +0 -0
  2. package/dist/mcp-server/index.js +32 -0
  3. package/package.json +2 -1
  4. package/dist/cli/index.js.map +0 -1
  5. package/dist/cli/setup.js.map +0 -1
  6. package/dist/cloudflare-edge/src/mcp-session.js +0 -462
  7. package/dist/cloudflare-edge/src/types.js +0 -4
  8. package/dist/cloudflare-edge/src/worker.js +0 -106
  9. package/dist/cloudflare-pages/vite.config.js +0 -14
  10. package/dist/index.d.ts +0 -13
  11. package/dist/index.d.ts.map +0 -1
  12. package/dist/index.js +0 -12
  13. package/dist/index.js.map +0 -1
  14. package/dist/mcp-server/index.js.map +0 -1
  15. package/dist/mcp-server/mcp-stdio-server.js.map +0 -1
  16. package/dist/mcp-server/routes/claude.js.map +0 -1
  17. package/dist/mcp-server/routes/components.js.map +0 -1
  18. package/dist/mcp-server/routes/generateStory.js.map +0 -1
  19. package/dist/mcp-server/routes/hybridStories.d.ts +0 -18
  20. package/dist/mcp-server/routes/hybridStories.d.ts.map +0 -1
  21. package/dist/mcp-server/routes/hybridStories.js +0 -216
  22. package/dist/mcp-server/routes/hybridStories.js.map +0 -1
  23. package/dist/mcp-server/routes/memoryStories.d.ts +0 -26
  24. package/dist/mcp-server/routes/memoryStories.d.ts.map +0 -1
  25. package/dist/mcp-server/routes/memoryStories.js +0 -158
  26. package/dist/mcp-server/routes/memoryStories.js.map +0 -1
  27. package/dist/mcp-server/routes/storySync.d.ts +0 -26
  28. package/dist/mcp-server/routes/storySync.d.ts.map +0 -1
  29. package/dist/mcp-server/routes/storySync.js +0 -147
  30. package/dist/mcp-server/routes/storySync.js.map +0 -1
  31. package/dist/mcp-server/routes/updateStory.js +0 -246
  32. package/dist/mcp-server/sessionManager.d.ts +0 -50
  33. package/dist/mcp-server/sessionManager.d.ts.map +0 -1
  34. package/dist/mcp-server/sessionManager.js +0 -125
  35. package/dist/mcp-server/sessionManager.js.map +0 -1
  36. package/dist/playground/components/AIAssistant/AIAssistant.d.ts +0 -6
  37. package/dist/playground/components/AIAssistant/AIAssistant.d.ts.map +0 -1
  38. package/dist/playground/components/AIAssistant/AIAssistant.js +0 -109
  39. package/dist/playground/components/AIAssistant/AIAssistant.js.map +0 -1
  40. package/dist/playground/components/AIAssistant/AIAssistant.module.css +0 -166
  41. package/dist/playground/components/Canvas/Canvas.d.ts +0 -9
  42. package/dist/playground/components/Canvas/Canvas.d.ts.map +0 -1
  43. package/dist/playground/components/Canvas/Canvas.js +0 -58
  44. package/dist/playground/components/Canvas/Canvas.js.map +0 -1
  45. package/dist/playground/components/Canvas/Canvas.module.css +0 -189
  46. package/dist/playground/components/Canvas/CanvasWithDnd.d.ts +0 -9
  47. package/dist/playground/components/Canvas/CanvasWithDnd.d.ts.map +0 -1
  48. package/dist/playground/components/Canvas/CanvasWithDnd.js +0 -158
  49. package/dist/playground/components/Canvas/CanvasWithDnd.js.map +0 -1
  50. package/dist/playground/components/Canvas/ComponentRenderer.d.ts +0 -15
  51. package/dist/playground/components/Canvas/ComponentRenderer.d.ts.map +0 -1
  52. package/dist/playground/components/Canvas/ComponentRenderer.js +0 -177
  53. package/dist/playground/components/Canvas/ComponentRenderer.js.map +0 -1
  54. package/dist/playground/components/Canvas/DraggableComponent.d.ts +0 -15
  55. package/dist/playground/components/Canvas/DraggableComponent.d.ts.map +0 -1
  56. package/dist/playground/components/Canvas/DraggableComponent.js +0 -49
  57. package/dist/playground/components/Canvas/DraggableComponent.js.map +0 -1
  58. package/dist/playground/components/Canvas/index.d.ts +0 -9
  59. package/dist/playground/components/Canvas/index.d.ts.map +0 -1
  60. package/dist/playground/components/Canvas/index.js +0 -5
  61. package/dist/playground/components/Canvas/index.js.map +0 -1
  62. package/dist/playground/components/CodeView/CodeView.d.ts +0 -12
  63. package/dist/playground/components/CodeView/CodeView.d.ts.map +0 -1
  64. package/dist/playground/components/CodeView/CodeView.js +0 -77
  65. package/dist/playground/components/CodeView/CodeView.js.map +0 -1
  66. package/dist/playground/components/CodeView/CodeView.module.css +0 -178
  67. package/dist/playground/components/ComponentPalette/ComponentPalette.d.ts +0 -17
  68. package/dist/playground/components/ComponentPalette/ComponentPalette.d.ts.map +0 -1
  69. package/dist/playground/components/ComponentPalette/ComponentPalette.js +0 -138
  70. package/dist/playground/components/ComponentPalette/ComponentPalette.js.map +0 -1
  71. package/dist/playground/components/ComponentPalette/ComponentPalette.module.css +0 -217
  72. package/dist/playground/components/ComponentPalette/index.d.ts +0 -3
  73. package/dist/playground/components/ComponentPalette/index.d.ts.map +0 -1
  74. package/dist/playground/components/ComponentPalette/index.js +0 -2
  75. package/dist/playground/components/ComponentPalette/index.js.map +0 -1
  76. package/dist/playground/components/DropZone/DropZone.d.ts +0 -17
  77. package/dist/playground/components/DropZone/DropZone.d.ts.map +0 -1
  78. package/dist/playground/components/DropZone/DropZone.js +0 -73
  79. package/dist/playground/components/DropZone/DropZone.js.map +0 -1
  80. package/dist/playground/components/DropZone/DropZone.module.css +0 -86
  81. package/dist/playground/components/ExportDialog/ExportDialog.d.ts +0 -10
  82. package/dist/playground/components/ExportDialog/ExportDialog.d.ts.map +0 -1
  83. package/dist/playground/components/ExportDialog/ExportDialog.js +0 -57
  84. package/dist/playground/components/ExportDialog/ExportDialog.js.map +0 -1
  85. package/dist/playground/components/ExportDialog/ExportDialog.module.css +0 -328
  86. package/dist/playground/components/LayoutHelpers/LayoutHelpers.d.ts +0 -134
  87. package/dist/playground/components/LayoutHelpers/LayoutHelpers.d.ts.map +0 -1
  88. package/dist/playground/components/LayoutHelpers/LayoutHelpers.js +0 -254
  89. package/dist/playground/components/LayoutHelpers/LayoutHelpers.js.map +0 -1
  90. package/dist/playground/components/LayoutHelpers/index.d.ts +0 -3
  91. package/dist/playground/components/LayoutHelpers/index.d.ts.map +0 -1
  92. package/dist/playground/components/LayoutHelpers/index.js +0 -2
  93. package/dist/playground/components/LayoutHelpers/index.js.map +0 -1
  94. package/dist/playground/components/Playground/Playground.d.ts +0 -10
  95. package/dist/playground/components/Playground/Playground.d.ts.map +0 -1
  96. package/dist/playground/components/Playground/Playground.js +0 -128
  97. package/dist/playground/components/Playground/Playground.js.map +0 -1
  98. package/dist/playground/components/Playground/Playground.module.css +0 -308
  99. package/dist/playground/components/PropertiesPanel/PropertiesPanel.d.ts +0 -10
  100. package/dist/playground/components/PropertiesPanel/PropertiesPanel.d.ts.map +0 -1
  101. package/dist/playground/components/PropertiesPanel/PropertiesPanel.js +0 -150
  102. package/dist/playground/components/PropertiesPanel/PropertiesPanel.js.map +0 -1
  103. package/dist/playground/components/PropertiesPanel/PropertiesPanel.module.css +0 -155
  104. package/dist/playground/components/PropertiesPanel/index.d.ts +0 -3
  105. package/dist/playground/components/PropertiesPanel/index.d.ts.map +0 -1
  106. package/dist/playground/components/PropertiesPanel/index.js +0 -2
  107. package/dist/playground/components/PropertiesPanel/index.js.map +0 -1
  108. package/dist/playground/components/PropertyEditors/BooleanEditor.d.ts +0 -12
  109. package/dist/playground/components/PropertyEditors/BooleanEditor.d.ts.map +0 -1
  110. package/dist/playground/components/PropertyEditors/BooleanEditor.js +0 -14
  111. package/dist/playground/components/PropertyEditors/BooleanEditor.js.map +0 -1
  112. package/dist/playground/components/PropertyEditors/ColorEditor.d.ts +0 -12
  113. package/dist/playground/components/PropertyEditors/ColorEditor.d.ts.map +0 -1
  114. package/dist/playground/components/PropertyEditors/ColorEditor.js +0 -62
  115. package/dist/playground/components/PropertyEditors/ColorEditor.js.map +0 -1
  116. package/dist/playground/components/PropertyEditors/IconEditor.d.ts +0 -12
  117. package/dist/playground/components/PropertyEditors/IconEditor.d.ts.map +0 -1
  118. package/dist/playground/components/PropertyEditors/IconEditor.js +0 -123
  119. package/dist/playground/components/PropertyEditors/IconEditor.js.map +0 -1
  120. package/dist/playground/components/PropertyEditors/NumberEditor.d.ts +0 -15
  121. package/dist/playground/components/PropertyEditors/NumberEditor.d.ts.map +0 -1
  122. package/dist/playground/components/PropertyEditors/NumberEditor.js +0 -46
  123. package/dist/playground/components/PropertyEditors/NumberEditor.js.map +0 -1
  124. package/dist/playground/components/PropertyEditors/PropertyEditors.module.css +0 -432
  125. package/dist/playground/components/PropertyEditors/SelectEditor.d.ts +0 -19
  126. package/dist/playground/components/PropertyEditors/SelectEditor.d.ts.map +0 -1
  127. package/dist/playground/components/PropertyEditors/SelectEditor.js +0 -17
  128. package/dist/playground/components/PropertyEditors/SelectEditor.js.map +0 -1
  129. package/dist/playground/components/PropertyEditors/SpacingEditor.d.ts +0 -19
  130. package/dist/playground/components/PropertyEditors/SpacingEditor.d.ts.map +0 -1
  131. package/dist/playground/components/PropertyEditors/SpacingEditor.js +0 -162
  132. package/dist/playground/components/PropertyEditors/SpacingEditor.js.map +0 -1
  133. package/dist/playground/components/PropertyEditors/SpacingEditor.module.css +0 -214
  134. package/dist/playground/components/PropertyEditors/TextEditor.d.ts +0 -14
  135. package/dist/playground/components/PropertyEditors/TextEditor.d.ts.map +0 -1
  136. package/dist/playground/components/PropertyEditors/TextEditor.js +0 -38
  137. package/dist/playground/components/PropertyEditors/TextEditor.js.map +0 -1
  138. package/dist/playground/components/PropertyEditors/TokenEditor.d.ts +0 -23
  139. package/dist/playground/components/PropertyEditors/TokenEditor.d.ts.map +0 -1
  140. package/dist/playground/components/PropertyEditors/TokenEditor.js +0 -50
  141. package/dist/playground/components/PropertyEditors/TokenEditor.js.map +0 -1
  142. package/dist/playground/components/PropertyEditors/index.d.ts +0 -20
  143. package/dist/playground/components/PropertyEditors/index.d.ts.map +0 -1
  144. package/dist/playground/components/PropertyEditors/index.js +0 -12
  145. package/dist/playground/components/PropertyEditors/index.js.map +0 -1
  146. package/dist/playground/components/TreeView/TreeView.d.ts +0 -10
  147. package/dist/playground/components/TreeView/TreeView.d.ts.map +0 -1
  148. package/dist/playground/components/TreeView/TreeView.js +0 -146
  149. package/dist/playground/components/TreeView/TreeView.js.map +0 -1
  150. package/dist/playground/components/TreeView/TreeView.module.css +0 -214
  151. package/dist/playground/components/TreeView/index.d.ts +0 -3
  152. package/dist/playground/components/TreeView/index.d.ts.map +0 -1
  153. package/dist/playground/components/TreeView/index.js +0 -2
  154. package/dist/playground/components/TreeView/index.js.map +0 -1
  155. package/dist/playground/config/propertyDefinitions.d.ts +0 -73
  156. package/dist/playground/config/propertyDefinitions.d.ts.map +0 -1
  157. package/dist/playground/config/propertyDefinitions.js +0 -809
  158. package/dist/playground/config/propertyDefinitions.js.map +0 -1
  159. package/dist/playground/hooks/useKeyboardShortcuts.d.ts +0 -38
  160. package/dist/playground/hooks/useKeyboardShortcuts.d.ts.map +0 -1
  161. package/dist/playground/hooks/useKeyboardShortcuts.js +0 -191
  162. package/dist/playground/hooks/useKeyboardShortcuts.js.map +0 -1
  163. package/dist/playground/index.d.ts +0 -21
  164. package/dist/playground/index.d.ts.map +0 -1
  165. package/dist/playground/index.js +0 -23
  166. package/dist/playground/index.js.map +0 -1
  167. package/dist/playground/services/CodeGenerator.d.ts +0 -73
  168. package/dist/playground/services/CodeGenerator.d.ts.map +0 -1
  169. package/dist/playground/services/CodeGenerator.js +0 -359
  170. package/dist/playground/services/CodeGenerator.js.map +0 -1
  171. package/dist/playground/services/DragDropManager.d.ts +0 -95
  172. package/dist/playground/services/DragDropManager.d.ts.map +0 -1
  173. package/dist/playground/services/DragDropManager.js +0 -408
  174. package/dist/playground/services/DragDropManager.js.map +0 -1
  175. package/dist/playground/services/StoryParser.d.ts +0 -73
  176. package/dist/playground/services/StoryParser.d.ts.map +0 -1
  177. package/dist/playground/services/StoryParser.js +0 -419
  178. package/dist/playground/services/StoryParser.js.map +0 -1
  179. package/dist/playground/store/playgroundStore.d.ts +0 -86
  180. package/dist/playground/store/playgroundStore.d.ts.map +0 -1
  181. package/dist/playground/store/playgroundStore.js +0 -337
  182. package/dist/playground/store/playgroundStore.js.map +0 -1
  183. package/dist/playground/stories/PlaygroundDragDrop.stories.d.ts +0 -13
  184. package/dist/playground/stories/PlaygroundDragDrop.stories.d.ts.map +0 -1
  185. package/dist/playground/stories/PlaygroundDragDrop.stories.js +0 -227
  186. package/dist/playground/stories/PlaygroundDragDrop.stories.js.map +0 -1
  187. package/dist/playground/stories/PlaygroundPhase4.stories.d.ts +0 -13
  188. package/dist/playground/stories/PlaygroundPhase4.stories.d.ts.map +0 -1
  189. package/dist/playground/stories/PlaygroundPhase4.stories.js +0 -334
  190. package/dist/playground/stories/PlaygroundPhase4.stories.js.map +0 -1
  191. package/dist/playground/stories/PlaygroundPhase5.stories.d.ts +0 -14
  192. package/dist/playground/stories/PlaygroundPhase5.stories.d.ts.map +0 -1
  193. package/dist/playground/stories/PlaygroundPhase5.stories.js +0 -512
  194. package/dist/playground/stories/PlaygroundPhase5.stories.js.map +0 -1
  195. package/dist/playground/stories/PlaygroundProperties.stories.d.ts +0 -13
  196. package/dist/playground/stories/PlaygroundProperties.stories.d.ts.map +0 -1
  197. package/dist/playground/stories/PlaygroundProperties.stories.js +0 -342
  198. package/dist/playground/stories/PlaygroundProperties.stories.js.map +0 -1
  199. package/dist/playground/types/index.d.ts +0 -251
  200. package/dist/playground/types/index.d.ts.map +0 -1
  201. package/dist/playground/types/index.js +0 -5
  202. package/dist/playground/types/index.js.map +0 -1
  203. package/dist/scripts/verify-framework-adapters.js +0 -105
  204. package/dist/story-generator/componentBlacklist.js.map +0 -1
  205. package/dist/story-generator/componentDiscovery.js.map +0 -1
  206. package/dist/story-generator/configLoader.js.map +0 -1
  207. package/dist/story-generator/considerationsLoader.js.map +0 -1
  208. package/dist/story-generator/documentation-sources.js.map +0 -1
  209. package/dist/story-generator/documentationLoader.js.map +0 -1
  210. package/dist/story-generator/dynamicPackageDiscovery.js.map +0 -1
  211. package/dist/story-generator/enhancedComponentDiscovery.js.map +0 -1
  212. package/dist/story-generator/generateStory.js.map +0 -1
  213. package/dist/story-generator/gitignoreManager.js.map +0 -1
  214. package/dist/story-generator/inMemoryStoryService.d.ts +0 -89
  215. package/dist/story-generator/inMemoryStoryService.d.ts.map +0 -1
  216. package/dist/story-generator/inMemoryStoryService.js +0 -128
  217. package/dist/story-generator/inMemoryStoryService.js.map +0 -1
  218. package/dist/story-generator/logger.js.map +0 -1
  219. package/dist/story-generator/postProcessStory.js.map +0 -1
  220. package/dist/story-generator/postgresStoryService.d.ts +0 -56
  221. package/dist/story-generator/postgresStoryService.d.ts.map +0 -1
  222. package/dist/story-generator/postgresStoryService.js +0 -240
  223. package/dist/story-generator/productionGitignoreManager.d.ts +0 -91
  224. package/dist/story-generator/productionGitignoreManager.d.ts.map +0 -1
  225. package/dist/story-generator/productionGitignoreManager.js +0 -340
  226. package/dist/story-generator/productionGitignoreManager.js.map +0 -1
  227. package/dist/story-generator/promptGenerator.js.map +0 -1
  228. package/dist/story-generator/providerPresets.d.ts +0 -54
  229. package/dist/story-generator/providerPresets.d.ts.map +0 -1
  230. package/dist/story-generator/providerPresets.js +0 -214
  231. package/dist/story-generator/storyHistory.js.map +0 -1
  232. package/dist/story-generator/storyServiceFactory.d.ts +0 -22
  233. package/dist/story-generator/storyServiceFactory.d.ts.map +0 -1
  234. package/dist/story-generator/storyServiceFactory.js +0 -97
  235. package/dist/story-generator/storyServiceInterface.d.ts +0 -85
  236. package/dist/story-generator/storyServiceInterface.d.ts.map +0 -1
  237. package/dist/story-generator/storyServiceInterface.js +0 -5
  238. package/dist/story-generator/storySync.d.ts +0 -68
  239. package/dist/story-generator/storySync.d.ts.map +0 -1
  240. package/dist/story-generator/storySync.js +0 -201
  241. package/dist/story-generator/storySync.js.map +0 -1
  242. package/dist/story-generator/storyTracker.js.map +0 -1
  243. package/dist/story-generator/storyValidator.js.map +0 -1
  244. package/dist/story-generator/test_validation.d.ts +0 -2
  245. package/dist/story-generator/test_validation.d.ts.map +0 -1
  246. package/dist/story-generator/test_validation.js +0 -51
  247. package/dist/story-generator/universalDesignSystemAdapter.js.map +0 -1
  248. package/dist/story-generator/urlRedirectService.js.map +0 -1
  249. package/dist/story-generator/validateStory.js.map +0 -1
  250. package/dist/story-ui.config.js.map +0 -1
  251. package/dist/story-ui.config.loader.d.ts +0 -36
  252. package/dist/story-ui.config.loader.d.ts.map +0 -1
  253. package/dist/story-ui.config.loader.js +0 -205
  254. package/dist/story-ui.config.loader.js.map +0 -1
  255. package/dist/temp/package/templates/StoryUI/StoryUIPanel.js +0 -807
  256. package/dist/temp/package/templates/StoryUI/StoryUIPanel.stories.js +0 -37
  257. package/dist/temp/package/templates/StoryUI/index.js +0 -2
  258. package/dist/templates/StoryUI/StoryUIPanel.js.map +0 -1
  259. package/dist/templates/StoryUI/StoryUIPanel.stories.js.map +0 -1
  260. package/dist/templates/StoryUI/index.js.map +0 -1
  261. package/dist/templates/StoryUI/manager.d.ts +0 -14
  262. package/dist/templates/StoryUI/manager.d.ts.map +0 -1
  263. package/dist/templates/production-app/src/App.d.ts +0 -10
  264. package/dist/templates/production-app/src/App.d.ts.map +0 -1
  265. package/dist/templates/production-app/src/App.js +0 -653
  266. package/dist/templates/production-app/src/LivePreviewRenderer.d.ts +0 -24
  267. package/dist/templates/production-app/src/LivePreviewRenderer.d.ts.map +0 -1
  268. package/dist/templates/production-app/src/LivePreviewRenderer.js +0 -199
  269. package/dist/templates/production-app/src/componentRegistry.d.ts +0 -20
  270. package/dist/templates/production-app/src/componentRegistry.d.ts.map +0 -1
  271. package/dist/templates/production-app/src/componentRegistry.js +0 -316
  272. package/dist/templates/production-app/src/main.d.ts +0 -9
  273. package/dist/templates/production-app/src/main.d.ts.map +0 -1
  274. package/dist/templates/production-app/src/main.js +0 -18
  275. package/dist/templates/production-app/vite.config.d.ts +0 -3
  276. package/dist/templates/production-app/vite.config.d.ts.map +0 -1
  277. package/dist/templates/production-app/vite.config.js +0 -71
  278. package/dist/test-storybooks/angular-material-storybook/src/main.js +0 -66
  279. package/dist/test-storybooks/chakra-storybook/vite.config.js +0 -6
  280. package/dist/test-storybooks/mantine-storybook/vite.config.js +0 -93
  281. package/dist/test-storybooks/web-components-shoelace/vite.config.js +0 -9
  282. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1,334 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Storybook stories for testing Phase 4 features
4
- */
5
- import React from 'react';
6
- import { Playground } from '../components/Playground/Playground';
7
- import { usePlaygroundStore } from '../store/playgroundStore';
8
- const meta = {
9
- title: 'StoryUI/Playground/Phase4',
10
- component: Playground,
11
- parameters: {
12
- layout: 'fullscreen',
13
- },
14
- };
15
- export default meta;
16
- // Helper to create a complex component tree for testing
17
- const createComplexTree = () => {
18
- const store = usePlaygroundStore.getState();
19
- store.components.clear();
20
- // Root container using layout helper
21
- store.addComponent({
22
- id: 'root',
23
- type: 'Container',
24
- displayName: 'App Root',
25
- props: {
26
- style: {
27
- padding: '24px',
28
- minHeight: '100vh',
29
- background: '#f8fafc'
30
- }
31
- },
32
- children: []
33
- });
34
- // Header using HStack layout helper
35
- store.addComponent({
36
- id: 'header',
37
- type: 'HStack',
38
- displayName: 'Header',
39
- parentId: 'root',
40
- isHelper: true,
41
- props: {
42
- style: {
43
- padding: '16px 24px',
44
- background: 'white',
45
- borderBottom: '1px solid #e2e8f0',
46
- justifyContent: 'space-between',
47
- alignItems: 'center',
48
- marginBottom: '24px',
49
- borderRadius: '8px',
50
- boxShadow: '0 1px 3px rgba(0,0,0,0.1)'
51
- }
52
- },
53
- children: []
54
- });
55
- // Logo
56
- store.addComponent({
57
- id: 'logo',
58
- type: 'Heading',
59
- displayName: 'Logo',
60
- parentId: 'header',
61
- textContent: 'StoryUI Playground',
62
- props: {
63
- style: {
64
- fontSize: '20px',
65
- fontWeight: 'bold',
66
- color: '#1a202c'
67
- }
68
- }
69
- });
70
- // Nav using Flex helper
71
- store.addComponent({
72
- id: 'nav',
73
- type: 'Flex',
74
- displayName: 'Navigation',
75
- parentId: 'header',
76
- isHelper: true,
77
- props: {
78
- style: {
79
- gap: '16px'
80
- }
81
- },
82
- children: []
83
- });
84
- // Nav items
85
- ['Home', 'Features', 'Docs', 'Contact'].forEach((item, index) => {
86
- store.addComponent({
87
- id: `nav-${index}`,
88
- type: 'Button',
89
- displayName: item,
90
- parentId: 'nav',
91
- textContent: item,
92
- props: {
93
- style: {
94
- background: 'transparent',
95
- border: 'none',
96
- padding: '8px 12px',
97
- color: '#4a5568',
98
- cursor: 'pointer',
99
- fontSize: '14px'
100
- }
101
- }
102
- });
103
- });
104
- // Main content area using Grid helper
105
- store.addComponent({
106
- id: 'main',
107
- type: 'Grid',
108
- displayName: 'Main Grid',
109
- parentId: 'root',
110
- isHelper: true,
111
- props: {
112
- style: {
113
- display: 'grid',
114
- gridTemplateColumns: 'repeat(3, 1fr)',
115
- gap: '24px',
116
- marginBottom: '24px'
117
- }
118
- },
119
- children: []
120
- });
121
- // Cards using Box helper
122
- ['Feature 1', 'Feature 2', 'Feature 3'].forEach((title, index) => {
123
- const cardId = `card-${index}`;
124
- store.addComponent({
125
- id: cardId,
126
- type: 'Box',
127
- displayName: `Card ${index + 1}`,
128
- parentId: 'main',
129
- isHelper: true,
130
- props: {
131
- style: {
132
- padding: '24px',
133
- background: 'white',
134
- borderRadius: '12px',
135
- boxShadow: '0 4px 6px rgba(0,0,0,0.07)'
136
- }
137
- },
138
- children: []
139
- });
140
- // Card content using Stack helper
141
- const stackId = `stack-${index}`;
142
- store.addComponent({
143
- id: stackId,
144
- type: 'Stack',
145
- displayName: 'Card Content',
146
- parentId: cardId,
147
- isHelper: true,
148
- props: {
149
- style: {
150
- gap: '12px'
151
- }
152
- },
153
- children: []
154
- });
155
- store.addComponent({
156
- id: `title-${index}`,
157
- type: 'Heading',
158
- displayName: 'Card Title',
159
- parentId: stackId,
160
- textContent: title,
161
- props: {
162
- style: {
163
- fontSize: '18px',
164
- fontWeight: '600',
165
- color: '#2d3748'
166
- }
167
- }
168
- });
169
- store.addComponent({
170
- id: `desc-${index}`,
171
- type: 'Text',
172
- displayName: 'Card Description',
173
- parentId: stackId,
174
- textContent: 'This is a feature card demonstrating layout helpers and tree structure.',
175
- props: {
176
- style: {
177
- fontSize: '14px',
178
- color: '#718096',
179
- lineHeight: '1.5'
180
- }
181
- }
182
- });
183
- });
184
- // Footer using Center helper
185
- store.addComponent({
186
- id: 'footer',
187
- type: 'Center',
188
- displayName: 'Footer',
189
- parentId: 'root',
190
- isHelper: true,
191
- props: {
192
- style: {
193
- padding: '24px',
194
- background: 'white',
195
- borderRadius: '8px',
196
- marginTop: '24px'
197
- }
198
- },
199
- children: []
200
- });
201
- store.addComponent({
202
- id: 'copyright',
203
- type: 'Text',
204
- displayName: 'Copyright',
205
- parentId: 'footer',
206
- textContent: '© 2024 StoryUI. All rights reserved.',
207
- props: {
208
- style: {
209
- fontSize: '13px',
210
- color: '#a0aec0'
211
- }
212
- }
213
- });
214
- // Build the tree structure
215
- const components = store.components;
216
- const root = components.get('root');
217
- const header = components.get('header');
218
- const logo = components.get('logo');
219
- const nav = components.get('nav');
220
- const main = components.get('main');
221
- const footer = components.get('footer');
222
- const copyright = components.get('copyright');
223
- if (root && header && main && footer) {
224
- // Build nav children
225
- nav.children = ['nav-0', 'nav-1', 'nav-2', 'nav-3'];
226
- // Build header children
227
- header.children = ['logo', 'nav'];
228
- // Build card children
229
- for (let i = 0; i < 3; i++) {
230
- const card = components.get(`card-${i}`);
231
- const stack = components.get(`stack-${i}`);
232
- const title = components.get(`title-${i}`);
233
- const desc = components.get(`desc-${i}`);
234
- if (stack && title && desc) {
235
- stack.children = [`title-${i}`, `desc-${i}`];
236
- components.set(`stack-${i}`, stack);
237
- }
238
- if (card && stack) {
239
- card.children = [`stack-${i}`];
240
- components.set(`card-${i}`, card);
241
- }
242
- }
243
- // Build main children
244
- main.children = ['card-0', 'card-1', 'card-2'];
245
- // Build footer children
246
- footer.children = ['copyright'];
247
- // Build root children
248
- root.children = ['header', 'main', 'footer'];
249
- // Update components
250
- components.set('nav', nav);
251
- components.set('header', header);
252
- components.set('main', main);
253
- components.set('footer', footer);
254
- components.set('root', root);
255
- }
256
- store.setMode('edit');
257
- };
258
- export const ComponentSearch = {
259
- render: () => {
260
- React.useEffect(() => {
261
- createComplexTree();
262
- const store = usePlaygroundStore.getState();
263
- store.setSidebarTab('components');
264
- }, []);
265
- return _jsx(Playground, { initialMode: "edit" });
266
- },
267
- name: 'Component Search',
268
- parameters: {
269
- docs: {
270
- description: {
271
- story: 'Test the component search functionality. Type in the search box to filter components by name, type, or description.'
272
- }
273
- }
274
- }
275
- };
276
- export const LayoutHelpers = {
277
- render: () => {
278
- React.useEffect(() => {
279
- createComplexTree();
280
- const store = usePlaygroundStore.getState();
281
- store.setSidebarTab('components');
282
- }, []);
283
- return _jsx(Playground, { initialMode: "edit" });
284
- },
285
- name: 'Layout Helpers',
286
- parameters: {
287
- docs: {
288
- description: {
289
- story: 'Demonstrates layout helper components (Box, Stack, HStack, Grid, Flex, Center) that work across all design systems. These are marked with data-helper attributes.'
290
- }
291
- }
292
- }
293
- };
294
- export const TreeView = {
295
- render: () => {
296
- React.useEffect(() => {
297
- createComplexTree();
298
- const store = usePlaygroundStore.getState();
299
- store.setSidebarTab('structure');
300
- }, []);
301
- return _jsx(Playground, { initialMode: "edit" });
302
- },
303
- name: 'Tree View Navigation',
304
- parameters: {
305
- docs: {
306
- description: {
307
- story: 'Test the tree view component structure navigator. Expand/collapse nodes, search for components, and double-click to focus. The tree shows the full component hierarchy.'
308
- }
309
- }
310
- }
311
- };
312
- export const CompletePhase4 = {
313
- render: () => {
314
- React.useEffect(() => {
315
- createComplexTree();
316
- const store = usePlaygroundStore.getState();
317
- store.setSidebarTab('structure');
318
- // Select a component to show properties
319
- setTimeout(() => {
320
- store.selectComponent('card-0');
321
- }, 100);
322
- }, []);
323
- return _jsx(Playground, { initialMode: "edit" });
324
- },
325
- name: 'All Phase 4 Features',
326
- parameters: {
327
- docs: {
328
- description: {
329
- story: 'All Phase 4 features working together: Component search in palette, Layout helpers for cross-design-system support, and Tree view for structural navigation.'
330
- }
331
- }
332
- }
333
- };
334
- //# sourceMappingURL=PlaygroundPhase4.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PlaygroundPhase4.stories.js","sourceRoot":"","sources":["../../../playground/stories/PlaygroundPhase4.stories.tsx"],"names":[],"mappings":";AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,MAAM,IAAI,GAA4B;IACpC,KAAK,EAAE,2BAA2B;IAClC,SAAS,EAAE,UAAU;IACrB,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CACF,CAAC;AAEF,eAAe,IAAI,CAAC;AAGpB,wDAAwD;AACxD,MAAM,iBAAiB,GAAG,GAAG,EAAE;IAC7B,MAAM,KAAK,GAAG,kBAAkB,CAAC,QAAQ,EAAE,CAAC;IAE5C,KAAK,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;IAEzB,qCAAqC;IACrC,KAAK,CAAC,YAAY,CAAC;QACjB,EAAE,EAAE,MAAM;QACV,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,UAAU;QACvB,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,OAAO,EAAE,MAAM;gBACf,SAAS,EAAE,OAAO;gBAClB,UAAU,EAAE,SAAS;aACtB;SACF;QACD,QAAQ,EAAE,EAAE;KACb,CAAC,CAAC;IAEH,oCAAoC;IACpC,KAAK,CAAC,YAAY,CAAC;QACjB,EAAE,EAAE,QAAQ;QACZ,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,QAAQ;QACrB,QAAQ,EAAE,MAAM;QAChB,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,OAAO,EAAE,WAAW;gBACpB,UAAU,EAAE,OAAO;gBACnB,YAAY,EAAE,mBAAmB;gBACjC,cAAc,EAAE,eAAe;gBAC/B,UAAU,EAAE,QAAQ;g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IAAI,EAAE;YACJ,WAAW,EAAE;gBACX,KAAK,EAAE,yKAAyK;aACjL;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAU;IACnC,MAAM,EAAE,GAAG,EAAE;QACX,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;YACnB,iBAAiB,EAAE,CAAC;YACpB,MAAM,KAAK,GAAG,kBAAkB,CAAC,QAAQ,EAAE,CAAC;YAC5C,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;YAEjC,wCAAwC;YACxC,UAAU,CAAC,GAAG,EAAE;gBACd,KAAK,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;YAClC,CAAC,EAAE,GAAG,CAAC,CAAC;QACV,CAAC,EAAE,EAAE,CAAC,CAAC;QAEP,OAAO,KAAC,UAAU,IAAC,WAAW,EAAC,MAAM,GAAG,CAAC;IAC3C,CAAC;IACD,IAAI,EAAE,sBAAsB;IAC5B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,WAAW,EAAE;gBACX,KAAK,EAAE,8JAA8J;aACtK;SACF;KACF;CACF,CAAC"}
@@ -1,14 +0,0 @@
1
- /**
2
- * Storybook stories for testing Phase 5 features
3
- */
4
- import type { Meta, StoryObj } from '@storybook/react';
5
- import { Playground } from '../components/Playground/Playground';
6
- declare const meta: Meta<typeof Playground>;
7
- export default meta;
8
- type Story = StoryObj<typeof Playground>;
9
- export declare const CodeGeneration: Story;
10
- export declare const UndoRedo: Story;
11
- export declare const KeyboardShortcuts: Story;
12
- export declare const ExportDialog: Story;
13
- export declare const CompletePhase5: Story;
14
- //# sourceMappingURL=PlaygroundPhase5.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PlaygroundPhase5.stories.d.ts","sourceRoot":"","sources":["../../../playground/stories/PlaygroundPhase5.stories.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAGjE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAMjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAwazC,eAAO,MAAM,cAAc,EAAE,KAgB5B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAuBtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAgC/B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAkB1B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KA4B5B,CAAC"}