@floegence/floe-webapp-core 0.35.59 → 0.36.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/components/deck/DeckCell.js +47 -50
- package/dist/components/deck/DeckContextMenu.d.ts +22 -0
- package/dist/components/deck/DeckContextMenu.js +73 -0
- package/dist/components/deck/DeckGrid.js +147 -104
- package/dist/components/deck/DeckTopBar.js +74 -96
- package/dist/components/deck/WidgetFrame.d.ts +7 -1
- package/dist/components/deck/WidgetFrame.js +60 -52
- package/dist/components/deck/index.d.ts +1 -0
- package/dist/components/layout/DisplayModePageShell.d.ts +8 -0
- package/dist/components/layout/DisplayModePageShell.js +22 -0
- package/dist/components/layout/DisplayModeSwitcher.d.ts +7 -0
- package/dist/components/layout/DisplayModeSwitcher.js +52 -0
- package/dist/components/layout/index.d.ts +2 -0
- package/dist/components/ui/InfiniteCanvas.d.ts +2 -0
- package/dist/components/ui/InfiniteCanvas.js +43 -37
- package/dist/components/workbench/WorkbenchCanvas.d.ts +29 -0
- package/dist/components/workbench/WorkbenchCanvas.js +83 -0
- package/dist/components/workbench/WorkbenchContextMenu.d.ts +24 -0
- package/dist/components/workbench/WorkbenchContextMenu.js +44 -0
- package/dist/components/workbench/WorkbenchFilterBar.d.ts +17 -0
- package/dist/components/workbench/WorkbenchFilterBar.js +267 -0
- package/dist/components/workbench/WorkbenchHud.d.ts +6 -0
- package/dist/components/workbench/WorkbenchHud.js +17 -0
- package/dist/components/workbench/WorkbenchLockButton.d.ts +6 -0
- package/dist/components/workbench/WorkbenchLockButton.js +49 -0
- package/dist/components/workbench/WorkbenchOverlay.d.ts +18 -0
- package/dist/components/workbench/WorkbenchOverlay.js +107 -0
- package/dist/components/workbench/WorkbenchSurface.d.ts +34 -0
- package/dist/components/workbench/WorkbenchSurface.js +200 -0
- package/dist/components/workbench/WorkbenchWidget.d.ts +26 -0
- package/dist/components/workbench/WorkbenchWidget.js +192 -0
- package/dist/components/workbench/index.d.ts +7 -0
- package/dist/components/workbench/types.d.ts +56 -0
- package/dist/components/workbench/types.js +11 -0
- package/dist/components/workbench/useWorkbenchModel.d.ts +83 -0
- package/dist/components/workbench/useWorkbenchModel.js +284 -0
- package/dist/components/workbench/widgets/CodeEditorWidget.d.ts +1 -0
- package/dist/components/workbench/widgets/CodeEditorWidget.js +144 -0
- package/dist/components/workbench/widgets/FileBrowserWidget.d.ts +1 -0
- package/dist/components/workbench/widgets/FileBrowserWidget.js +142 -0
- package/dist/components/workbench/widgets/LogViewerWidget.d.ts +1 -0
- package/dist/components/workbench/widgets/LogViewerWidget.js +86 -0
- package/dist/components/workbench/widgets/SystemMonitorWidget.d.ts +1 -0
- package/dist/components/workbench/widgets/SystemMonitorWidget.js +122 -0
- package/dist/components/workbench/widgets/TerminalWidget.d.ts +1 -0
- package/dist/components/workbench/widgets/TerminalWidget.js +70 -0
- package/dist/components/workbench/widgets/widgetRegistry.d.ts +14 -0
- package/dist/components/workbench/widgets/widgetRegistry.js +71 -0
- package/dist/components/workbench/workbenchHelpers.d.ts +26 -0
- package/dist/components/workbench/workbenchHelpers.js +139 -0
- package/dist/deck.js +14 -12
- package/dist/display-mode.css +70 -0
- package/dist/full.js +475 -468
- package/dist/hooks/useDeckDrag.js +15 -15
- package/dist/layout.js +32 -27
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +2 -0
- package/dist/ui.css +4 -0
- package/dist/workbench.css +1220 -0
- package/dist/workbench.d.ts +1 -0
- package/dist/workbench.js +23 -0
- package/package.json +5 -1
package/dist/deck.js
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import { DECK_GRID_CONFIG as o, DeckGrid as t, getGridConfigFromElement as m } from "./components/deck/DeckGrid.js";
|
|
2
2
|
import { DeckCell as f } from "./components/deck/DeckCell.js";
|
|
3
|
-
import {
|
|
3
|
+
import { DeckContextMenu as i } from "./components/deck/DeckContextMenu.js";
|
|
4
|
+
import { DeckTopBar as D } from "./components/deck/DeckTopBar.js";
|
|
4
5
|
import { DropZonePreview as g } from "./components/deck/DropZonePreview.js";
|
|
5
|
-
import { LayoutSelector as
|
|
6
|
-
import { WidgetFrame as
|
|
7
|
-
import { WidgetPalette as
|
|
8
|
-
import { WidgetResizeHandle as
|
|
9
|
-
import { WidgetTypeSwitcher as
|
|
6
|
+
import { LayoutSelector as n } from "./components/deck/LayoutSelector.js";
|
|
7
|
+
import { WidgetFrame as C } from "./components/deck/WidgetFrame.js";
|
|
8
|
+
import { WidgetPalette as G } from "./components/deck/WidgetPalette.js";
|
|
9
|
+
import { WidgetResizeHandle as F } from "./components/deck/WidgetResizeHandle.js";
|
|
10
|
+
import { WidgetTypeSwitcher as w } from "./components/deck/WidgetTypeSwitcher.js";
|
|
10
11
|
export {
|
|
11
12
|
o as DECK_GRID_CONFIG,
|
|
12
13
|
f as DeckCell,
|
|
14
|
+
i as DeckContextMenu,
|
|
13
15
|
t as DeckGrid,
|
|
14
|
-
|
|
16
|
+
D as DeckTopBar,
|
|
15
17
|
g as DropZonePreview,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
n as LayoutSelector,
|
|
19
|
+
C as WidgetFrame,
|
|
20
|
+
G as WidgetPalette,
|
|
21
|
+
F as WidgetResizeHandle,
|
|
22
|
+
w as WidgetTypeSwitcher,
|
|
21
23
|
m as getGridConfigFromElement
|
|
22
24
|
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.display-mode-page-shell {
|
|
3
|
+
position: fixed;
|
|
4
|
+
inset: 0;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
background: var(--background, #fff);
|
|
8
|
+
color: var(--foreground, #111);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.display-mode-page-shell__body {
|
|
12
|
+
position: relative;
|
|
13
|
+
flex: 1;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.display-mode-switcher {
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
gap: 1px;
|
|
21
|
+
padding: 2px;
|
|
22
|
+
border: 1px solid color-mix(in srgb, var(--border, #e5e5e5) 60%, transparent);
|
|
23
|
+
border-radius: 8px;
|
|
24
|
+
background: color-mix(in srgb, var(--muted, #f1f1f1) 70%, transparent);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.display-mode-switcher__pill {
|
|
28
|
+
position: relative;
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
gap: 5px;
|
|
32
|
+
padding: 4px 9px;
|
|
33
|
+
border: none;
|
|
34
|
+
border-radius: 6px;
|
|
35
|
+
background: transparent;
|
|
36
|
+
color: var(--muted-foreground, #888);
|
|
37
|
+
font-size: 11px;
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
letter-spacing: -0.005em;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
isolation: isolate;
|
|
42
|
+
transition: color 140ms ease;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.display-mode-switcher__pill:hover,
|
|
46
|
+
.display-mode-switcher__pill.is-active {
|
|
47
|
+
color: var(--foreground, #111);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.display-mode-switcher__pill-bg {
|
|
51
|
+
position: absolute;
|
|
52
|
+
inset: 0;
|
|
53
|
+
z-index: -1;
|
|
54
|
+
border: 1px solid color-mix(in srgb, var(--border, #e5e5e5) 70%, transparent);
|
|
55
|
+
border-radius: 6px;
|
|
56
|
+
background: var(--card, #fff);
|
|
57
|
+
box-shadow:
|
|
58
|
+
0 1px 2px color-mix(in srgb, var(--foreground, #000) 6%, transparent),
|
|
59
|
+
0 1px 0 color-mix(in srgb, white 60%, transparent) inset;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.display-mode-switcher__icon {
|
|
63
|
+
width: 12px;
|
|
64
|
+
height: 12px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.display-mode-switcher__label {
|
|
68
|
+
line-height: 1;
|
|
69
|
+
}
|
|
70
|
+
}
|