@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.
- package/dist/cli/index.js +0 -0
- package/dist/mcp-server/index.js +32 -0
- package/package.json +2 -1
- package/dist/cli/index.js.map +0 -1
- package/dist/cli/setup.js.map +0 -1
- package/dist/cloudflare-edge/src/mcp-session.js +0 -462
- package/dist/cloudflare-edge/src/types.js +0 -4
- package/dist/cloudflare-edge/src/worker.js +0 -106
- package/dist/cloudflare-pages/vite.config.js +0 -14
- package/dist/index.d.ts +0 -13
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -12
- package/dist/index.js.map +0 -1
- package/dist/mcp-server/index.js.map +0 -1
- package/dist/mcp-server/mcp-stdio-server.js.map +0 -1
- package/dist/mcp-server/routes/claude.js.map +0 -1
- package/dist/mcp-server/routes/components.js.map +0 -1
- package/dist/mcp-server/routes/generateStory.js.map +0 -1
- package/dist/mcp-server/routes/hybridStories.d.ts +0 -18
- package/dist/mcp-server/routes/hybridStories.d.ts.map +0 -1
- package/dist/mcp-server/routes/hybridStories.js +0 -216
- package/dist/mcp-server/routes/hybridStories.js.map +0 -1
- package/dist/mcp-server/routes/memoryStories.d.ts +0 -26
- package/dist/mcp-server/routes/memoryStories.d.ts.map +0 -1
- package/dist/mcp-server/routes/memoryStories.js +0 -158
- package/dist/mcp-server/routes/memoryStories.js.map +0 -1
- package/dist/mcp-server/routes/storySync.d.ts +0 -26
- package/dist/mcp-server/routes/storySync.d.ts.map +0 -1
- package/dist/mcp-server/routes/storySync.js +0 -147
- package/dist/mcp-server/routes/storySync.js.map +0 -1
- package/dist/mcp-server/routes/updateStory.js +0 -246
- package/dist/mcp-server/sessionManager.d.ts +0 -50
- package/dist/mcp-server/sessionManager.d.ts.map +0 -1
- package/dist/mcp-server/sessionManager.js +0 -125
- package/dist/mcp-server/sessionManager.js.map +0 -1
- package/dist/playground/components/AIAssistant/AIAssistant.d.ts +0 -6
- package/dist/playground/components/AIAssistant/AIAssistant.d.ts.map +0 -1
- package/dist/playground/components/AIAssistant/AIAssistant.js +0 -109
- package/dist/playground/components/AIAssistant/AIAssistant.js.map +0 -1
- package/dist/playground/components/AIAssistant/AIAssistant.module.css +0 -166
- package/dist/playground/components/Canvas/Canvas.d.ts +0 -9
- package/dist/playground/components/Canvas/Canvas.d.ts.map +0 -1
- package/dist/playground/components/Canvas/Canvas.js +0 -58
- package/dist/playground/components/Canvas/Canvas.js.map +0 -1
- package/dist/playground/components/Canvas/Canvas.module.css +0 -189
- package/dist/playground/components/Canvas/CanvasWithDnd.d.ts +0 -9
- package/dist/playground/components/Canvas/CanvasWithDnd.d.ts.map +0 -1
- package/dist/playground/components/Canvas/CanvasWithDnd.js +0 -158
- package/dist/playground/components/Canvas/CanvasWithDnd.js.map +0 -1
- package/dist/playground/components/Canvas/ComponentRenderer.d.ts +0 -15
- package/dist/playground/components/Canvas/ComponentRenderer.d.ts.map +0 -1
- package/dist/playground/components/Canvas/ComponentRenderer.js +0 -177
- package/dist/playground/components/Canvas/ComponentRenderer.js.map +0 -1
- package/dist/playground/components/Canvas/DraggableComponent.d.ts +0 -15
- package/dist/playground/components/Canvas/DraggableComponent.d.ts.map +0 -1
- package/dist/playground/components/Canvas/DraggableComponent.js +0 -49
- package/dist/playground/components/Canvas/DraggableComponent.js.map +0 -1
- package/dist/playground/components/Canvas/index.d.ts +0 -9
- package/dist/playground/components/Canvas/index.d.ts.map +0 -1
- package/dist/playground/components/Canvas/index.js +0 -5
- package/dist/playground/components/Canvas/index.js.map +0 -1
- package/dist/playground/components/CodeView/CodeView.d.ts +0 -12
- package/dist/playground/components/CodeView/CodeView.d.ts.map +0 -1
- package/dist/playground/components/CodeView/CodeView.js +0 -77
- package/dist/playground/components/CodeView/CodeView.js.map +0 -1
- package/dist/playground/components/CodeView/CodeView.module.css +0 -178
- package/dist/playground/components/ComponentPalette/ComponentPalette.d.ts +0 -17
- package/dist/playground/components/ComponentPalette/ComponentPalette.d.ts.map +0 -1
- package/dist/playground/components/ComponentPalette/ComponentPalette.js +0 -138
- package/dist/playground/components/ComponentPalette/ComponentPalette.js.map +0 -1
- package/dist/playground/components/ComponentPalette/ComponentPalette.module.css +0 -217
- package/dist/playground/components/ComponentPalette/index.d.ts +0 -3
- package/dist/playground/components/ComponentPalette/index.d.ts.map +0 -1
- package/dist/playground/components/ComponentPalette/index.js +0 -2
- package/dist/playground/components/ComponentPalette/index.js.map +0 -1
- package/dist/playground/components/DropZone/DropZone.d.ts +0 -17
- package/dist/playground/components/DropZone/DropZone.d.ts.map +0 -1
- package/dist/playground/components/DropZone/DropZone.js +0 -73
- package/dist/playground/components/DropZone/DropZone.js.map +0 -1
- package/dist/playground/components/DropZone/DropZone.module.css +0 -86
- package/dist/playground/components/ExportDialog/ExportDialog.d.ts +0 -10
- package/dist/playground/components/ExportDialog/ExportDialog.d.ts.map +0 -1
- package/dist/playground/components/ExportDialog/ExportDialog.js +0 -57
- package/dist/playground/components/ExportDialog/ExportDialog.js.map +0 -1
- package/dist/playground/components/ExportDialog/ExportDialog.module.css +0 -328
- package/dist/playground/components/LayoutHelpers/LayoutHelpers.d.ts +0 -134
- package/dist/playground/components/LayoutHelpers/LayoutHelpers.d.ts.map +0 -1
- package/dist/playground/components/LayoutHelpers/LayoutHelpers.js +0 -254
- package/dist/playground/components/LayoutHelpers/LayoutHelpers.js.map +0 -1
- package/dist/playground/components/LayoutHelpers/index.d.ts +0 -3
- package/dist/playground/components/LayoutHelpers/index.d.ts.map +0 -1
- package/dist/playground/components/LayoutHelpers/index.js +0 -2
- package/dist/playground/components/LayoutHelpers/index.js.map +0 -1
- package/dist/playground/components/Playground/Playground.d.ts +0 -10
- package/dist/playground/components/Playground/Playground.d.ts.map +0 -1
- package/dist/playground/components/Playground/Playground.js +0 -128
- package/dist/playground/components/Playground/Playground.js.map +0 -1
- package/dist/playground/components/Playground/Playground.module.css +0 -308
- package/dist/playground/components/PropertiesPanel/PropertiesPanel.d.ts +0 -10
- package/dist/playground/components/PropertiesPanel/PropertiesPanel.d.ts.map +0 -1
- package/dist/playground/components/PropertiesPanel/PropertiesPanel.js +0 -150
- package/dist/playground/components/PropertiesPanel/PropertiesPanel.js.map +0 -1
- package/dist/playground/components/PropertiesPanel/PropertiesPanel.module.css +0 -155
- package/dist/playground/components/PropertiesPanel/index.d.ts +0 -3
- package/dist/playground/components/PropertiesPanel/index.d.ts.map +0 -1
- package/dist/playground/components/PropertiesPanel/index.js +0 -2
- package/dist/playground/components/PropertiesPanel/index.js.map +0 -1
- package/dist/playground/components/PropertyEditors/BooleanEditor.d.ts +0 -12
- package/dist/playground/components/PropertyEditors/BooleanEditor.d.ts.map +0 -1
- package/dist/playground/components/PropertyEditors/BooleanEditor.js +0 -14
- package/dist/playground/components/PropertyEditors/BooleanEditor.js.map +0 -1
- package/dist/playground/components/PropertyEditors/ColorEditor.d.ts +0 -12
- package/dist/playground/components/PropertyEditors/ColorEditor.d.ts.map +0 -1
- package/dist/playground/components/PropertyEditors/ColorEditor.js +0 -62
- package/dist/playground/components/PropertyEditors/ColorEditor.js.map +0 -1
- package/dist/playground/components/PropertyEditors/IconEditor.d.ts +0 -12
- package/dist/playground/components/PropertyEditors/IconEditor.d.ts.map +0 -1
- package/dist/playground/components/PropertyEditors/IconEditor.js +0 -123
- package/dist/playground/components/PropertyEditors/IconEditor.js.map +0 -1
- package/dist/playground/components/PropertyEditors/NumberEditor.d.ts +0 -15
- package/dist/playground/components/PropertyEditors/NumberEditor.d.ts.map +0 -1
- package/dist/playground/components/PropertyEditors/NumberEditor.js +0 -46
- package/dist/playground/components/PropertyEditors/NumberEditor.js.map +0 -1
- package/dist/playground/components/PropertyEditors/PropertyEditors.module.css +0 -432
- package/dist/playground/components/PropertyEditors/SelectEditor.d.ts +0 -19
- package/dist/playground/components/PropertyEditors/SelectEditor.d.ts.map +0 -1
- package/dist/playground/components/PropertyEditors/SelectEditor.js +0 -17
- package/dist/playground/components/PropertyEditors/SelectEditor.js.map +0 -1
- package/dist/playground/components/PropertyEditors/SpacingEditor.d.ts +0 -19
- package/dist/playground/components/PropertyEditors/SpacingEditor.d.ts.map +0 -1
- package/dist/playground/components/PropertyEditors/SpacingEditor.js +0 -162
- package/dist/playground/components/PropertyEditors/SpacingEditor.js.map +0 -1
- package/dist/playground/components/PropertyEditors/SpacingEditor.module.css +0 -214
- package/dist/playground/components/PropertyEditors/TextEditor.d.ts +0 -14
- package/dist/playground/components/PropertyEditors/TextEditor.d.ts.map +0 -1
- package/dist/playground/components/PropertyEditors/TextEditor.js +0 -38
- package/dist/playground/components/PropertyEditors/TextEditor.js.map +0 -1
- package/dist/playground/components/PropertyEditors/TokenEditor.d.ts +0 -23
- package/dist/playground/components/PropertyEditors/TokenEditor.d.ts.map +0 -1
- package/dist/playground/components/PropertyEditors/TokenEditor.js +0 -50
- package/dist/playground/components/PropertyEditors/TokenEditor.js.map +0 -1
- package/dist/playground/components/PropertyEditors/index.d.ts +0 -20
- package/dist/playground/components/PropertyEditors/index.d.ts.map +0 -1
- package/dist/playground/components/PropertyEditors/index.js +0 -12
- package/dist/playground/components/PropertyEditors/index.js.map +0 -1
- package/dist/playground/components/TreeView/TreeView.d.ts +0 -10
- package/dist/playground/components/TreeView/TreeView.d.ts.map +0 -1
- package/dist/playground/components/TreeView/TreeView.js +0 -146
- package/dist/playground/components/TreeView/TreeView.js.map +0 -1
- package/dist/playground/components/TreeView/TreeView.module.css +0 -214
- package/dist/playground/components/TreeView/index.d.ts +0 -3
- package/dist/playground/components/TreeView/index.d.ts.map +0 -1
- package/dist/playground/components/TreeView/index.js +0 -2
- package/dist/playground/components/TreeView/index.js.map +0 -1
- package/dist/playground/config/propertyDefinitions.d.ts +0 -73
- package/dist/playground/config/propertyDefinitions.d.ts.map +0 -1
- package/dist/playground/config/propertyDefinitions.js +0 -809
- package/dist/playground/config/propertyDefinitions.js.map +0 -1
- package/dist/playground/hooks/useKeyboardShortcuts.d.ts +0 -38
- package/dist/playground/hooks/useKeyboardShortcuts.d.ts.map +0 -1
- package/dist/playground/hooks/useKeyboardShortcuts.js +0 -191
- package/dist/playground/hooks/useKeyboardShortcuts.js.map +0 -1
- package/dist/playground/index.d.ts +0 -21
- package/dist/playground/index.d.ts.map +0 -1
- package/dist/playground/index.js +0 -23
- package/dist/playground/index.js.map +0 -1
- package/dist/playground/services/CodeGenerator.d.ts +0 -73
- package/dist/playground/services/CodeGenerator.d.ts.map +0 -1
- package/dist/playground/services/CodeGenerator.js +0 -359
- package/dist/playground/services/CodeGenerator.js.map +0 -1
- package/dist/playground/services/DragDropManager.d.ts +0 -95
- package/dist/playground/services/DragDropManager.d.ts.map +0 -1
- package/dist/playground/services/DragDropManager.js +0 -408
- package/dist/playground/services/DragDropManager.js.map +0 -1
- package/dist/playground/services/StoryParser.d.ts +0 -73
- package/dist/playground/services/StoryParser.d.ts.map +0 -1
- package/dist/playground/services/StoryParser.js +0 -419
- package/dist/playground/services/StoryParser.js.map +0 -1
- package/dist/playground/store/playgroundStore.d.ts +0 -86
- package/dist/playground/store/playgroundStore.d.ts.map +0 -1
- package/dist/playground/store/playgroundStore.js +0 -337
- package/dist/playground/store/playgroundStore.js.map +0 -1
- package/dist/playground/stories/PlaygroundDragDrop.stories.d.ts +0 -13
- package/dist/playground/stories/PlaygroundDragDrop.stories.d.ts.map +0 -1
- package/dist/playground/stories/PlaygroundDragDrop.stories.js +0 -227
- package/dist/playground/stories/PlaygroundDragDrop.stories.js.map +0 -1
- package/dist/playground/stories/PlaygroundPhase4.stories.d.ts +0 -13
- package/dist/playground/stories/PlaygroundPhase4.stories.d.ts.map +0 -1
- package/dist/playground/stories/PlaygroundPhase4.stories.js +0 -334
- package/dist/playground/stories/PlaygroundPhase4.stories.js.map +0 -1
- package/dist/playground/stories/PlaygroundPhase5.stories.d.ts +0 -14
- package/dist/playground/stories/PlaygroundPhase5.stories.d.ts.map +0 -1
- package/dist/playground/stories/PlaygroundPhase5.stories.js +0 -512
- package/dist/playground/stories/PlaygroundPhase5.stories.js.map +0 -1
- package/dist/playground/stories/PlaygroundProperties.stories.d.ts +0 -13
- package/dist/playground/stories/PlaygroundProperties.stories.d.ts.map +0 -1
- package/dist/playground/stories/PlaygroundProperties.stories.js +0 -342
- package/dist/playground/stories/PlaygroundProperties.stories.js.map +0 -1
- package/dist/playground/types/index.d.ts +0 -251
- package/dist/playground/types/index.d.ts.map +0 -1
- package/dist/playground/types/index.js +0 -5
- package/dist/playground/types/index.js.map +0 -1
- package/dist/scripts/verify-framework-adapters.js +0 -105
- package/dist/story-generator/componentBlacklist.js.map +0 -1
- package/dist/story-generator/componentDiscovery.js.map +0 -1
- package/dist/story-generator/configLoader.js.map +0 -1
- package/dist/story-generator/considerationsLoader.js.map +0 -1
- package/dist/story-generator/documentation-sources.js.map +0 -1
- package/dist/story-generator/documentationLoader.js.map +0 -1
- package/dist/story-generator/dynamicPackageDiscovery.js.map +0 -1
- package/dist/story-generator/enhancedComponentDiscovery.js.map +0 -1
- package/dist/story-generator/generateStory.js.map +0 -1
- package/dist/story-generator/gitignoreManager.js.map +0 -1
- package/dist/story-generator/inMemoryStoryService.d.ts +0 -89
- package/dist/story-generator/inMemoryStoryService.d.ts.map +0 -1
- package/dist/story-generator/inMemoryStoryService.js +0 -128
- package/dist/story-generator/inMemoryStoryService.js.map +0 -1
- package/dist/story-generator/logger.js.map +0 -1
- package/dist/story-generator/postProcessStory.js.map +0 -1
- package/dist/story-generator/postgresStoryService.d.ts +0 -56
- package/dist/story-generator/postgresStoryService.d.ts.map +0 -1
- package/dist/story-generator/postgresStoryService.js +0 -240
- package/dist/story-generator/productionGitignoreManager.d.ts +0 -91
- package/dist/story-generator/productionGitignoreManager.d.ts.map +0 -1
- package/dist/story-generator/productionGitignoreManager.js +0 -340
- package/dist/story-generator/productionGitignoreManager.js.map +0 -1
- package/dist/story-generator/promptGenerator.js.map +0 -1
- package/dist/story-generator/providerPresets.d.ts +0 -54
- package/dist/story-generator/providerPresets.d.ts.map +0 -1
- package/dist/story-generator/providerPresets.js +0 -214
- package/dist/story-generator/storyHistory.js.map +0 -1
- package/dist/story-generator/storyServiceFactory.d.ts +0 -22
- package/dist/story-generator/storyServiceFactory.d.ts.map +0 -1
- package/dist/story-generator/storyServiceFactory.js +0 -97
- package/dist/story-generator/storyServiceInterface.d.ts +0 -85
- package/dist/story-generator/storyServiceInterface.d.ts.map +0 -1
- package/dist/story-generator/storyServiceInterface.js +0 -5
- package/dist/story-generator/storySync.d.ts +0 -68
- package/dist/story-generator/storySync.d.ts.map +0 -1
- package/dist/story-generator/storySync.js +0 -201
- package/dist/story-generator/storySync.js.map +0 -1
- package/dist/story-generator/storyTracker.js.map +0 -1
- package/dist/story-generator/storyValidator.js.map +0 -1
- package/dist/story-generator/test_validation.d.ts +0 -2
- package/dist/story-generator/test_validation.d.ts.map +0 -1
- package/dist/story-generator/test_validation.js +0 -51
- package/dist/story-generator/universalDesignSystemAdapter.js.map +0 -1
- package/dist/story-generator/urlRedirectService.js.map +0 -1
- package/dist/story-generator/validateStory.js.map +0 -1
- package/dist/story-ui.config.js.map +0 -1
- package/dist/story-ui.config.loader.d.ts +0 -36
- package/dist/story-ui.config.loader.d.ts.map +0 -1
- package/dist/story-ui.config.loader.js +0 -205
- package/dist/story-ui.config.loader.js.map +0 -1
- package/dist/temp/package/templates/StoryUI/StoryUIPanel.js +0 -807
- package/dist/temp/package/templates/StoryUI/StoryUIPanel.stories.js +0 -37
- package/dist/temp/package/templates/StoryUI/index.js +0 -2
- package/dist/templates/StoryUI/StoryUIPanel.js.map +0 -1
- package/dist/templates/StoryUI/StoryUIPanel.stories.js.map +0 -1
- package/dist/templates/StoryUI/index.js.map +0 -1
- package/dist/templates/StoryUI/manager.d.ts +0 -14
- package/dist/templates/StoryUI/manager.d.ts.map +0 -1
- package/dist/templates/production-app/src/App.d.ts +0 -10
- package/dist/templates/production-app/src/App.d.ts.map +0 -1
- package/dist/templates/production-app/src/App.js +0 -653
- package/dist/templates/production-app/src/LivePreviewRenderer.d.ts +0 -24
- package/dist/templates/production-app/src/LivePreviewRenderer.d.ts.map +0 -1
- package/dist/templates/production-app/src/LivePreviewRenderer.js +0 -199
- package/dist/templates/production-app/src/componentRegistry.d.ts +0 -20
- package/dist/templates/production-app/src/componentRegistry.d.ts.map +0 -1
- package/dist/templates/production-app/src/componentRegistry.js +0 -316
- package/dist/templates/production-app/src/main.d.ts +0 -9
- package/dist/templates/production-app/src/main.d.ts.map +0 -1
- package/dist/templates/production-app/src/main.js +0 -18
- package/dist/templates/production-app/vite.config.d.ts +0 -3
- package/dist/templates/production-app/vite.config.d.ts.map +0 -1
- package/dist/templates/production-app/vite.config.js +0 -71
- package/dist/test-storybooks/angular-material-storybook/src/main.js +0 -66
- package/dist/test-storybooks/chakra-storybook/vite.config.js +0 -6
- package/dist/test-storybooks/mantine-storybook/vite.config.js +0 -93
- package/dist/test-storybooks/web-components-shoelace/vite.config.js +0 -9
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -1,308 +0,0 @@
|
|
|
1
|
-
/* Playground main styles */
|
|
2
|
-
|
|
3
|
-
.playground {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
height: 100vh;
|
|
7
|
-
background: #f9fafb;
|
|
8
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/* Header */
|
|
12
|
-
.header {
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: space-between;
|
|
16
|
-
height: 56px;
|
|
17
|
-
padding: 0 20px;
|
|
18
|
-
background: white;
|
|
19
|
-
border-bottom: 1px solid #e5e7eb;
|
|
20
|
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.headerLeft,
|
|
24
|
-
.headerCenter,
|
|
25
|
-
.headerRight {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
gap: 16px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.headerLeft {
|
|
32
|
-
flex: 1;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.headerCenter {
|
|
36
|
-
flex: 0 0 auto;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.headerRight {
|
|
40
|
-
flex: 1;
|
|
41
|
-
justify-content: flex-end;
|
|
42
|
-
gap: 12px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.exportButton {
|
|
46
|
-
padding: 8px 16px;
|
|
47
|
-
background: #3b82f6;
|
|
48
|
-
color: white;
|
|
49
|
-
border: none;
|
|
50
|
-
border-radius: 6px;
|
|
51
|
-
font-size: 14px;
|
|
52
|
-
font-weight: 500;
|
|
53
|
-
cursor: pointer;
|
|
54
|
-
transition: background 0.2s;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.exportButton:hover {
|
|
58
|
-
background: #2563eb;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.logo {
|
|
62
|
-
margin: 0;
|
|
63
|
-
font-size: 18px;
|
|
64
|
-
font-weight: 600;
|
|
65
|
-
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
|
|
66
|
-
-webkit-background-clip: text;
|
|
67
|
-
-webkit-text-fill-color: transparent;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.modeToggle {
|
|
71
|
-
display: flex;
|
|
72
|
-
background: #f3f4f6;
|
|
73
|
-
border-radius: 8px;
|
|
74
|
-
padding: 2px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.modeButton {
|
|
78
|
-
padding: 6px 12px;
|
|
79
|
-
border: none;
|
|
80
|
-
background: transparent;
|
|
81
|
-
color: #6b7280;
|
|
82
|
-
font-size: 14px;
|
|
83
|
-
font-weight: 500;
|
|
84
|
-
cursor: pointer;
|
|
85
|
-
border-radius: 6px;
|
|
86
|
-
transition: all 0.2s;
|
|
87
|
-
font-family: inherit;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.modeButton.active {
|
|
91
|
-
background: white;
|
|
92
|
-
color: #1f2937;
|
|
93
|
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.zoomControls {
|
|
97
|
-
display: flex;
|
|
98
|
-
align-items: center;
|
|
99
|
-
gap: 8px;
|
|
100
|
-
background: #f3f4f6;
|
|
101
|
-
border-radius: 8px;
|
|
102
|
-
padding: 4px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.zoomButton {
|
|
106
|
-
width: 28px;
|
|
107
|
-
height: 28px;
|
|
108
|
-
border: none;
|
|
109
|
-
background: white;
|
|
110
|
-
border-radius: 4px;
|
|
111
|
-
font-size: 18px;
|
|
112
|
-
cursor: pointer;
|
|
113
|
-
transition: all 0.2s;
|
|
114
|
-
display: flex;
|
|
115
|
-
align-items: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
font-family: inherit;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.zoomButton:hover:not(:disabled) {
|
|
121
|
-
background: #e5e7eb;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.zoomButton:disabled {
|
|
125
|
-
opacity: 0.5;
|
|
126
|
-
cursor: not-allowed;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.zoomValue {
|
|
130
|
-
min-width: 50px;
|
|
131
|
-
text-align: center;
|
|
132
|
-
font-size: 14px;
|
|
133
|
-
color: #4b5563;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/* Main Layout */
|
|
137
|
-
.main {
|
|
138
|
-
flex: 1;
|
|
139
|
-
display: flex;
|
|
140
|
-
overflow: hidden;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
/* Sidebar */
|
|
144
|
-
.sidebar {
|
|
145
|
-
width: 280px;
|
|
146
|
-
background: white;
|
|
147
|
-
border-right: 1px solid #e5e7eb;
|
|
148
|
-
display: flex;
|
|
149
|
-
flex-direction: column;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.sidebarTabs {
|
|
153
|
-
display: flex;
|
|
154
|
-
border-bottom: 1px solid #e5e7eb;
|
|
155
|
-
background: #f9fafb;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.tab {
|
|
159
|
-
flex: 1;
|
|
160
|
-
padding: 12px;
|
|
161
|
-
border: none;
|
|
162
|
-
background: transparent;
|
|
163
|
-
color: #6b7280;
|
|
164
|
-
font-size: 14px;
|
|
165
|
-
font-weight: 500;
|
|
166
|
-
cursor: pointer;
|
|
167
|
-
transition: all 0.2s;
|
|
168
|
-
border-bottom: 2px solid transparent;
|
|
169
|
-
font-family: inherit;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.tab:hover {
|
|
173
|
-
color: #4b5563;
|
|
174
|
-
background: #f3f4f6;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.activeTab {
|
|
178
|
-
color: #3b82f6;
|
|
179
|
-
border-bottom-color: #3b82f6;
|
|
180
|
-
background: white;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.sidebarContent {
|
|
184
|
-
flex: 1;
|
|
185
|
-
overflow-y: auto;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
/* Canvas Container */
|
|
189
|
-
.canvasContainer {
|
|
190
|
-
flex: 1;
|
|
191
|
-
position: relative;
|
|
192
|
-
overflow: hidden;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/* Properties Panel */
|
|
196
|
-
.propertiesPanel {
|
|
197
|
-
width: 320px;
|
|
198
|
-
background: white;
|
|
199
|
-
border-left: 1px solid #e5e7eb;
|
|
200
|
-
display: flex;
|
|
201
|
-
flex-direction: column;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.propertiesHeader {
|
|
205
|
-
display: flex;
|
|
206
|
-
align-items: center;
|
|
207
|
-
justify-content: space-between;
|
|
208
|
-
padding: 16px;
|
|
209
|
-
border-bottom: 1px solid #e5e7eb;
|
|
210
|
-
background: #f9fafb;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.propertiesTitle {
|
|
214
|
-
margin: 0;
|
|
215
|
-
font-size: 14px;
|
|
216
|
-
font-weight: 600;
|
|
217
|
-
color: #1f2937;
|
|
218
|
-
display: flex;
|
|
219
|
-
align-items: center;
|
|
220
|
-
gap: 8px;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.componentIcon {
|
|
224
|
-
font-size: 16px;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.closeButton {
|
|
228
|
-
width: 24px;
|
|
229
|
-
height: 24px;
|
|
230
|
-
border: none;
|
|
231
|
-
background: transparent;
|
|
232
|
-
color: #6b7280;
|
|
233
|
-
font-size: 16px;
|
|
234
|
-
cursor: pointer;
|
|
235
|
-
border-radius: 4px;
|
|
236
|
-
transition: all 0.2s;
|
|
237
|
-
display: flex;
|
|
238
|
-
align-items: center;
|
|
239
|
-
justify-content: center;
|
|
240
|
-
font-family: inherit;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.closeButton:hover {
|
|
244
|
-
background: #e5e7eb;
|
|
245
|
-
color: #1f2937;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.propertiesContent {
|
|
249
|
-
flex: 1;
|
|
250
|
-
padding: 16px;
|
|
251
|
-
overflow-y: auto;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.emptyProperties {
|
|
255
|
-
color: #9ca3af;
|
|
256
|
-
text-align: center;
|
|
257
|
-
padding: 32px 16px;
|
|
258
|
-
font-size: 14px;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/* Status Bar */
|
|
262
|
-
.statusBar {
|
|
263
|
-
display: flex;
|
|
264
|
-
align-items: center;
|
|
265
|
-
gap: 24px;
|
|
266
|
-
height: 32px;
|
|
267
|
-
padding: 0 20px;
|
|
268
|
-
background: white;
|
|
269
|
-
border-top: 1px solid #e5e7eb;
|
|
270
|
-
font-size: 12px;
|
|
271
|
-
color: #6b7280;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.statusItem {
|
|
275
|
-
display: flex;
|
|
276
|
-
align-items: center;
|
|
277
|
-
gap: 4px;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
/* Placeholders */
|
|
281
|
-
.placeholder {
|
|
282
|
-
padding: 32px;
|
|
283
|
-
text-align: center;
|
|
284
|
-
color: #9ca3af;
|
|
285
|
-
font-size: 14px;
|
|
286
|
-
background: #f9fafb;
|
|
287
|
-
border-radius: 8px;
|
|
288
|
-
margin: 16px;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
/* Drag and Drop */
|
|
292
|
-
.dragGhost {
|
|
293
|
-
pointer-events: none;
|
|
294
|
-
opacity: 0.8;
|
|
295
|
-
transform: rotate(5deg);
|
|
296
|
-
z-index: 1000;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.newComponentGhost {
|
|
300
|
-
padding: 12px 16px;
|
|
301
|
-
background: #3b82f6;
|
|
302
|
-
color: white;
|
|
303
|
-
border-radius: 6px;
|
|
304
|
-
font-size: 14px;
|
|
305
|
-
font-weight: 500;
|
|
306
|
-
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
|
|
307
|
-
border: 2px solid #60a5fa;
|
|
308
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PropertiesPanel - Main panel for editing component properties
|
|
3
|
-
*/
|
|
4
|
-
import React from 'react';
|
|
5
|
-
export interface PropertiesPanelProps {
|
|
6
|
-
componentId?: string;
|
|
7
|
-
onClose?: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const PropertiesPanel: React.FC<PropertiesPanelProps>;
|
|
10
|
-
//# sourceMappingURL=PropertiesPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PropertiesPanel.d.ts","sourceRoot":"","sources":["../../../../playground/components/PropertiesPanel/PropertiesPanel.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAA+B,MAAM,OAAO,CAAC;AAqBpD,MAAM,WAAW,oBAAoB;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAoCD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAqS1D,CAAC"}
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
/**
|
|
3
|
-
* PropertiesPanel - Main panel for editing component properties
|
|
4
|
-
*/
|
|
5
|
-
import { useCallback, useMemo } from 'react';
|
|
6
|
-
import { usePlaygroundStore } from '../../store/playgroundStore';
|
|
7
|
-
import { SpacingEditor } from '../PropertyEditors/SpacingEditor';
|
|
8
|
-
import { TextEditor } from '../PropertyEditors/TextEditor';
|
|
9
|
-
import { NumberEditor } from '../PropertyEditors/NumberEditor';
|
|
10
|
-
import { SelectEditor } from '../PropertyEditors/SelectEditor';
|
|
11
|
-
import { BooleanEditor } from '../PropertyEditors/BooleanEditor';
|
|
12
|
-
import { ColorEditor } from '../PropertyEditors/ColorEditor';
|
|
13
|
-
import { TokenEditor, SPACING_TOKENS, SIZE_TOKENS } from '../PropertyEditors/TokenEditor';
|
|
14
|
-
import { IconEditor } from '../PropertyEditors/IconEditor';
|
|
15
|
-
import { getPropertyType, getSelectOptions, getNumberConstraints, getPropertyDefinition, shouldUseEditor } from '../../config/propertyDefinitions';
|
|
16
|
-
import styles from './PropertiesPanel.module.css';
|
|
17
|
-
// Common style properties grouped by category
|
|
18
|
-
const STYLE_GROUPS = {
|
|
19
|
-
spacing: {
|
|
20
|
-
label: 'Spacing',
|
|
21
|
-
properties: ['margin', 'padding']
|
|
22
|
-
},
|
|
23
|
-
layout: {
|
|
24
|
-
label: 'Layout',
|
|
25
|
-
properties: ['display', 'flexDirection', 'justifyContent', 'alignItems', 'gap', 'flexWrap']
|
|
26
|
-
},
|
|
27
|
-
sizing: {
|
|
28
|
-
label: 'Size',
|
|
29
|
-
properties: ['width', 'height', 'minWidth', 'minHeight', 'maxWidth', 'maxHeight']
|
|
30
|
-
},
|
|
31
|
-
typography: {
|
|
32
|
-
label: 'Typography',
|
|
33
|
-
properties: ['fontSize', 'fontWeight', 'fontFamily', 'lineHeight', 'textAlign', 'color']
|
|
34
|
-
},
|
|
35
|
-
background: {
|
|
36
|
-
label: 'Background',
|
|
37
|
-
properties: ['background', 'backgroundColor', 'backgroundImage']
|
|
38
|
-
},
|
|
39
|
-
border: {
|
|
40
|
-
label: 'Border',
|
|
41
|
-
properties: ['border', 'borderRadius', 'borderColor', 'borderWidth', 'borderStyle']
|
|
42
|
-
},
|
|
43
|
-
effects: {
|
|
44
|
-
label: 'Effects',
|
|
45
|
-
properties: ['opacity', 'boxShadow', 'transform', 'transition']
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
export const PropertiesPanel = ({ componentId, onClose }) => {
|
|
49
|
-
const { components, updateComponent, selectedIds } = usePlaygroundStore();
|
|
50
|
-
// Get the component to edit
|
|
51
|
-
const component = useMemo(() => {
|
|
52
|
-
const id = componentId || (selectedIds.size === 1 ? Array.from(selectedIds)[0] : null);
|
|
53
|
-
return id ? components.get(id) : null;
|
|
54
|
-
}, [componentId, selectedIds, components]);
|
|
55
|
-
const handleStyleChange = useCallback((property, value) => {
|
|
56
|
-
if (!component)
|
|
57
|
-
return;
|
|
58
|
-
updateComponent(component.id, {
|
|
59
|
-
style: {
|
|
60
|
-
...component.style,
|
|
61
|
-
[property]: value
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
}, [component, updateComponent]);
|
|
65
|
-
const handlePropChange = useCallback((property, value) => {
|
|
66
|
-
if (!component)
|
|
67
|
-
return;
|
|
68
|
-
updateComponent(component.id, {
|
|
69
|
-
props: {
|
|
70
|
-
...component.props,
|
|
71
|
-
[property]: value
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
}, [component, updateComponent]);
|
|
75
|
-
const handleTextContentChange = useCallback((value) => {
|
|
76
|
-
if (!component)
|
|
77
|
-
return;
|
|
78
|
-
updateComponent(component.id, {
|
|
79
|
-
textContent: value
|
|
80
|
-
});
|
|
81
|
-
}, [component, updateComponent]);
|
|
82
|
-
const renderPropertyEditor = (propName, value, isStyle = false) => {
|
|
83
|
-
const componentType = component?.type;
|
|
84
|
-
const type = getPropertyType(propName, value, componentType);
|
|
85
|
-
const onChange = isStyle ?
|
|
86
|
-
(val) => handleStyleChange(propName, val) :
|
|
87
|
-
(val) => handlePropChange(propName, val);
|
|
88
|
-
// Create unique key that includes component ID to force re-render when component changes
|
|
89
|
-
const editorKey = `${component?.id}-${propName}-${isStyle ? 'style' : 'prop'}`;
|
|
90
|
-
// Get property definition for enhanced options
|
|
91
|
-
const propDef = componentType ? getPropertyDefinition(componentType, propName) : null;
|
|
92
|
-
switch (type) {
|
|
93
|
-
case 'spacing':
|
|
94
|
-
// Check if it should use TokenEditor for spacing values
|
|
95
|
-
if (shouldUseEditor(propName, 'spacing') && (propName === 'gap' || propName.includes('gap'))) {
|
|
96
|
-
return (_jsx(TokenEditor, { value: value, onChange: onChange, label: propDef?.label || propName, tokens: SPACING_TOKENS, unit: "px" }, editorKey));
|
|
97
|
-
}
|
|
98
|
-
return (_jsx(SpacingEditor, { value: value, onChange: onChange, property: propName, label: propDef?.label || propName }, editorKey));
|
|
99
|
-
case 'color':
|
|
100
|
-
return (_jsx(ColorEditor, { value: value, onChange: onChange, label: propDef?.label || propName }, editorKey));
|
|
101
|
-
case 'number':
|
|
102
|
-
const numberConstraints = getNumberConstraints(propName);
|
|
103
|
-
return (_jsx(NumberEditor, { value: typeof value === 'string' ? parseFloat(value) : value, onChange: onChange, label: propDef?.label || propName, min: numberConstraints.min, max: numberConstraints.max, step: numberConstraints.step, unit: numberConstraints.unit }, editorKey));
|
|
104
|
-
case 'boolean':
|
|
105
|
-
return (_jsx(BooleanEditor, { value: value, onChange: onChange, label: propDef?.label || propName, description: propDef?.description }, editorKey));
|
|
106
|
-
case 'select':
|
|
107
|
-
const selectOptions = getSelectOptions(propName, componentType);
|
|
108
|
-
// Use TokenEditor for size properties
|
|
109
|
-
if (propName === 'size' && selectOptions.length <= 3) {
|
|
110
|
-
return (_jsx(TokenEditor, { value: value, onChange: onChange, label: propDef?.label || propName, tokens: SIZE_TOKENS, allowCustom: false }, editorKey));
|
|
111
|
-
}
|
|
112
|
-
return (_jsx(SelectEditor, { value: value, onChange: onChange, options: selectOptions, label: propDef?.label || propName, placeholder: `Select ${propName}...` }, editorKey));
|
|
113
|
-
case 'icon':
|
|
114
|
-
return (_jsx(IconEditor, { value: value, onChange: onChange, label: propDef?.label || propName, placeholder: `Select ${propName}...` }, editorKey));
|
|
115
|
-
default:
|
|
116
|
-
return (_jsx(TextEditor, { value: value, onChange: onChange, label: propDef?.label || propName, placeholder: propDef?.description }, editorKey));
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
if (!component) {
|
|
120
|
-
return (_jsx("div", { className: styles.panel, children: _jsx("div", { className: styles.emptyState, children: _jsx("p", { children: "Select a component to edit its properties" }) }) }));
|
|
121
|
-
}
|
|
122
|
-
return (_jsxs("div", { className: styles.panel, children: [_jsxs("div", { className: styles.header, children: [_jsxs("div", { className: styles.componentInfo, children: [_jsx("span", { className: styles.componentType, children: component.type }), component.displayName && (_jsx("span", { className: styles.componentName, children: component.displayName }))] }), onClose && (_jsx("button", { className: styles.closeButton, onClick: onClose, children: "\u2715" }))] }), _jsxs("div", { className: styles.content, children: [component.textContent !== undefined && (_jsxs("div", { className: styles.section, children: [_jsx("h3", { className: styles.sectionTitle, children: "Content" }), _jsx(TextEditor, { value: component.textContent, onChange: handleTextContentChange, label: "Text", multiline: true }, `${component.id}-textContent`)] })), _jsxs("div", { className: styles.section, children: [_jsx("h3", { className: styles.sectionTitle, children: "Styles" }), _jsxs("div", { className: styles.group, children: [_jsx("h4", { className: styles.groupTitle, children: "Spacing" }), _jsx(SpacingEditor, { value: component.style?.margin, onChange: (val) => handleStyleChange('margin', val), property: "margin", label: "Margin" }, `${component.id}-margin`), _jsx(SpacingEditor, { value: component.style?.padding, onChange: (val) => handleStyleChange('padding', val), property: "padding", label: "Padding" }, `${component.id}-padding`)] }), Object.entries(STYLE_GROUPS).map(([groupKey, group]) => {
|
|
123
|
-
if (groupKey === 'spacing')
|
|
124
|
-
return null; // Already rendered above
|
|
125
|
-
const relevantProps = group.properties.filter(prop => {
|
|
126
|
-
const styleProp = prop;
|
|
127
|
-
return component.style?.[styleProp] !== undefined || groupKey === 'layout';
|
|
128
|
-
});
|
|
129
|
-
if (relevantProps.length === 0)
|
|
130
|
-
return null;
|
|
131
|
-
return (_jsxs("div", { className: styles.group, children: [_jsx("h4", { className: styles.groupTitle, children: group.label }), relevantProps.map(prop => {
|
|
132
|
-
const styleProp = prop;
|
|
133
|
-
return renderPropertyEditor(prop, component.style?.[styleProp], true);
|
|
134
|
-
})] }, groupKey));
|
|
135
|
-
})] }), component.props && Object.keys(component.props).length > 0 && (_jsxs("div", { className: styles.section, children: [_jsx("h3", { className: styles.sectionTitle, children: "Properties" }), Object.entries(component.props).map(([propName, value]) => {
|
|
136
|
-
// Skip style prop as it's handled separately
|
|
137
|
-
if (propName === 'style')
|
|
138
|
-
return null;
|
|
139
|
-
return renderPropertyEditor(propName, value, false);
|
|
140
|
-
})] })), _jsxs("div", { className: styles.quickActions, children: [_jsx("button", { className: styles.actionButton, onClick: () => {
|
|
141
|
-
updateComponent(component.id, {
|
|
142
|
-
style: {}
|
|
143
|
-
});
|
|
144
|
-
}, children: "Reset Styles" }), _jsx("button", { className: styles.actionButton, onClick: () => {
|
|
145
|
-
updateComponent(component.id, {
|
|
146
|
-
hidden: !component.hidden
|
|
147
|
-
});
|
|
148
|
-
}, children: component.hidden ? 'Show' : 'Hide' })] })] })] }));
|
|
149
|
-
};
|
|
150
|
-
//# sourceMappingURL=PropertiesPanel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PropertiesPanel.js","sourceRoot":"","sources":["../../../../playground/components/PropertiesPanel/PropertiesPanel.tsx"],"names":[],"mappings":";AAAA;;GAEG;AAEH,OAAc,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC1F,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EAChB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,MAAM,MAAM,8BAA8B,CAAC;AAOlD,8CAA8C;AAC9C,MAAM,YAAY,GAAG;IACnB,OAAO,EAAE;QACP,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;KAClC;IACD,MAAM,EAAE;QACN,KAAK,EAAE,QAAQ;QACf,UAAU,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,CAAC;KAC5F;IACD,MAAM,EAAE;QACN,KAAK,EAAE,MAAM;QACb,UAAU,EAAE,CA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BAGM,EACT,iBACE,SAAS,EAAE,MAAM,CAAC,YAAY,EAC9B,OAAO,EAAE,GAAG,EAAE;oCACZ,eAAe,CAAC,SAAS,CAAC,EAAE,EAAE;wCAC5B,MAAM,EAAE,CAAC,SAAS,CAAC,MAAM;qCAC1B,CAAC,CAAC;gCACL,CAAC,YAEA,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,GAC5B,IACL,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
/* PropertiesPanel styles */
|
|
2
|
-
|
|
3
|
-
.panel {
|
|
4
|
-
width: 100%;
|
|
5
|
-
height: 100%;
|
|
6
|
-
background: white;
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.header {
|
|
13
|
-
padding: 12px 16px;
|
|
14
|
-
border-bottom: 1px solid #e5e7eb;
|
|
15
|
-
display: flex;
|
|
16
|
-
justify-content: space-between;
|
|
17
|
-
align-items: center;
|
|
18
|
-
background: #f9fafb;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.componentInfo {
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-direction: column;
|
|
24
|
-
gap: 2px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.componentType {
|
|
28
|
-
font-size: 14px;
|
|
29
|
-
font-weight: 600;
|
|
30
|
-
color: #374151;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.componentName {
|
|
34
|
-
font-size: 12px;
|
|
35
|
-
color: #6b7280;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.closeButton {
|
|
39
|
-
width: 24px;
|
|
40
|
-
height: 24px;
|
|
41
|
-
padding: 0;
|
|
42
|
-
background: transparent;
|
|
43
|
-
border: none;
|
|
44
|
-
border-radius: 4px;
|
|
45
|
-
color: #6b7280;
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
transition: all 0.2s;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.closeButton:hover {
|
|
54
|
-
background: #e5e7eb;
|
|
55
|
-
color: #374151;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.content {
|
|
59
|
-
flex: 1;
|
|
60
|
-
overflow-y: auto;
|
|
61
|
-
padding: 16px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.section {
|
|
65
|
-
margin-bottom: 24px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.sectionTitle {
|
|
69
|
-
font-size: 13px;
|
|
70
|
-
font-weight: 600;
|
|
71
|
-
color: #111827;
|
|
72
|
-
margin-bottom: 12px;
|
|
73
|
-
text-transform: uppercase;
|
|
74
|
-
letter-spacing: 0.5px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.group {
|
|
78
|
-
margin-bottom: 20px;
|
|
79
|
-
padding: 12px;
|
|
80
|
-
background: #f9fafb;
|
|
81
|
-
border-radius: 8px;
|
|
82
|
-
border: 1px solid #f3f4f6;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.groupTitle {
|
|
86
|
-
font-size: 12px;
|
|
87
|
-
font-weight: 500;
|
|
88
|
-
color: #6b7280;
|
|
89
|
-
margin-bottom: 12px;
|
|
90
|
-
text-transform: uppercase;
|
|
91
|
-
letter-spacing: 0.3px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.emptyState {
|
|
95
|
-
display: flex;
|
|
96
|
-
flex-direction: column;
|
|
97
|
-
align-items: center;
|
|
98
|
-
justify-content: center;
|
|
99
|
-
height: 100%;
|
|
100
|
-
padding: 32px;
|
|
101
|
-
text-align: center;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.emptyState p {
|
|
105
|
-
color: #6b7280;
|
|
106
|
-
font-size: 13px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.quickActions {
|
|
110
|
-
display: flex;
|
|
111
|
-
gap: 8px;
|
|
112
|
-
padding-top: 16px;
|
|
113
|
-
border-top: 1px solid #e5e7eb;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.actionButton {
|
|
117
|
-
flex: 1;
|
|
118
|
-
padding: 8px 12px;
|
|
119
|
-
background: white;
|
|
120
|
-
border: 1px solid #e5e7eb;
|
|
121
|
-
border-radius: 6px;
|
|
122
|
-
font-size: 12px;
|
|
123
|
-
font-weight: 500;
|
|
124
|
-
color: #6b7280;
|
|
125
|
-
cursor: pointer;
|
|
126
|
-
transition: all 0.2s;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.actionButton:hover {
|
|
130
|
-
background: #f3f4f6;
|
|
131
|
-
border-color: #d1d5db;
|
|
132
|
-
color: #374151;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.actionButton:active {
|
|
136
|
-
background: #e5e7eb;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/* Scrollbar styling */
|
|
140
|
-
.content::-webkit-scrollbar {
|
|
141
|
-
width: 6px;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.content::-webkit-scrollbar-track {
|
|
145
|
-
background: #f9fafb;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.content::-webkit-scrollbar-thumb {
|
|
149
|
-
background: #d1d5db;
|
|
150
|
-
border-radius: 3px;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.content::-webkit-scrollbar-thumb:hover {
|
|
154
|
-
background: #9ca3af;
|
|
155
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../playground/components/PropertiesPanel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../playground/components/PropertiesPanel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BooleanEditor - Toggle switch for boolean properties using MUI Switch
|
|
3
|
-
*/
|
|
4
|
-
import React from 'react';
|
|
5
|
-
export interface BooleanEditorProps {
|
|
6
|
-
value?: boolean;
|
|
7
|
-
onChange: (value: boolean) => void;
|
|
8
|
-
label?: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const BooleanEditor: React.FC<BooleanEditorProps>;
|
|
12
|
-
//# sourceMappingURL=BooleanEditor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BooleanEditor.d.ts","sourceRoot":"","sources":["../../../../playground/components/PropertyEditors/BooleanEditor.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAsB,MAAM,OAAO,CAAC;AAI3C,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAiCtD,CAAC"}
|