@floegence/floe-webapp-core 0.86.60 → 0.86.63
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/app/FloeRegistryContributions.js +0 -3
- package/dist/components/chat/blocks/BlockRenderer.js +1 -1
- package/dist/components/chat/blocks/CodeDiffBlock.js +56 -56
- package/dist/components/chat/blocks/ImageBlock.js +1 -1
- package/dist/components/chat/blocks/ToolCallBlock.js +57 -57
- package/dist/components/chat/status/ConnectionStatus.js +10 -10
- package/dist/components/deck/DeckCell.js +25 -25
- package/dist/components/deck/DeckContextMenu.js +20 -20
- package/dist/components/deck/DeckGrid.js +1 -1
- package/dist/components/deck/DeckTopBar.js +42 -42
- package/dist/components/deck/DropZonePreview.js +6 -6
- package/dist/components/deck/LayoutSelector.js +53 -53
- package/dist/components/deck/WidgetFrame.js +28 -28
- package/dist/components/deck/WidgetPalette.js +31 -31
- package/dist/components/deck/WidgetTypeSwitcher.js +31 -31
- package/dist/components/file-browser/Breadcrumb.js +27 -27
- package/dist/components/file-browser/DirectoryTree.js +15 -15
- package/dist/components/file-browser/DragPreview.js +58 -58
- package/dist/components/file-browser/FileBrowser.js +17 -17
- package/dist/components/file-browser/FileBrowserStatusBar.js +18 -18
- package/dist/components/file-browser/FileBrowserToolbar.js +27 -27
- package/dist/components/file-browser/FileContextMenu.js +47 -47
- package/dist/components/file-browser/FileGridView.js +53 -51
- package/dist/components/file-browser/FileItemDecorations.js +30 -27
- package/dist/components/file-browser/FileListView.js +114 -114
- package/dist/components/icons/ActivityRailIcons.d.ts +30 -0
- package/dist/components/icons/ActivityRailIcons.js +68 -0
- package/dist/components/icons/index.d.ts +1 -0
- package/dist/components/icons/index.js +1357 -1357
- package/dist/components/launchpad/Launchpad.js +14 -14
- package/dist/components/launchpad/LaunchpadGrid.js +7 -7
- package/dist/components/launchpad/LaunchpadItem.js +11 -11
- package/dist/components/launchpad/LaunchpadPagination.js +16 -16
- package/dist/components/launchpad/LaunchpadSearch.js +9 -9
- package/dist/components/layout/ActivityBar.js +61 -63
- package/dist/components/layout/DisplayModeSwitcher.d.ts +10 -0
- package/dist/components/layout/DisplayModeSwitcher.js +102 -33
- package/dist/components/layout/MobileNavigationPanel.js +36 -36
- package/dist/components/layout/MobileTabBar.js +39 -39
- package/dist/components/layout/Panel.js +16 -16
- package/dist/components/layout/ResizeHandle.js +19 -19
- package/dist/components/layout/Shell.d.ts +0 -6
- package/dist/components/layout/Shell.js +208 -254
- package/dist/components/layout/Sidebar.js +37 -36
- package/dist/components/layout/SidebarPane.js +19 -19
- package/dist/components/layout/ThemeToggle.d.ts +19 -0
- package/dist/components/layout/ThemeToggle.js +39 -0
- package/dist/components/layout/TopBar.js +16 -16
- package/dist/components/layout/TopBarIconButton.js +15 -15
- package/dist/components/layout/index.d.ts +1 -1
- package/dist/components/loading/LoadingOverlay.js +9 -9
- package/dist/components/loading/Skeleton.js +11 -11
- package/dist/components/ui/Button.js +44 -36
- package/dist/components/ui/Card.d.ts +11 -62
- package/dist/components/ui/Card.js +64 -237
- package/dist/components/ui/Checkbox.js +79 -79
- package/dist/components/ui/CommandPalette.js +56 -55
- package/dist/components/ui/Dialog.js +91 -93
- package/dist/components/ui/DirectoryInput.js +22 -22
- package/dist/components/ui/DirectoryPicker.js +8 -8
- package/dist/components/ui/Dropdown.js +89 -87
- package/dist/components/ui/FeedbackIndicator.js +57 -57
- package/dist/components/ui/FileOpenPicker.js +37 -37
- package/dist/components/ui/FileSavePicker.js +41 -41
- package/dist/components/ui/FloatingWindow.js +213 -205
- package/dist/components/ui/Form.js +76 -76
- package/dist/components/ui/HighlightBlock.js +14 -14
- package/dist/components/ui/Input.js +106 -109
- package/dist/components/ui/Pagination.js +86 -86
- package/dist/components/ui/Popover.d.ts +33 -0
- package/dist/components/ui/Popover.js +133 -0
- package/dist/components/ui/ProcessingIndicator.js +344 -345
- package/dist/components/ui/Progress.js +94 -97
- package/dist/components/ui/QuoteBlock.js +25 -25
- package/dist/components/ui/Radio.js +91 -91
- package/dist/components/ui/SegmentedControl.js +24 -24
- package/dist/components/ui/Stepper.js +68 -60
- package/dist/components/ui/Switch.js +25 -25
- package/dist/components/ui/Tabs.js +188 -163
- package/dist/components/ui/Tag.js +12 -9
- package/dist/components/ui/Tooltip.js +30 -30
- package/dist/components/ui/floatingPresence.d.ts +7 -0
- package/dist/components/ui/floatingPresence.js +80 -39
- package/dist/components/ui/index.d.ts +2 -1
- package/dist/components/ui/picker/DirectoryFavorites.js +27 -27
- package/dist/components/ui/picker/PickerBase.js +107 -107
- package/dist/context/ComponentRegistry.d.ts +0 -8
- package/dist/context/ComponentRegistry.js +61 -67
- package/dist/context/FloeConfigContext.d.ts +0 -6
- package/dist/context/FloeConfigContext.js +9 -15
- package/dist/context/NotificationContext.js +4 -4
- package/dist/context/ThemeContext.js +71 -70
- package/dist/context/index.d.ts +1 -1
- package/dist/display-mode.css +2 -45
- package/dist/floe.css +205 -43
- package/dist/full.js +701 -695
- package/dist/icons.js +112 -102
- package/dist/language.css +320 -0
- package/dist/layout.js +33 -35
- package/dist/primitives.css +23 -17
- package/dist/standalone.css +1 -0
- package/dist/styles/themes/classicSemanticTokens.d.ts +122 -122
- package/dist/styles/themes/classicSemanticTokens.js +140 -138
- package/dist/styles/themes/index.d.ts +3 -1
- package/dist/styles/themes/index.js +10 -10
- package/dist/styles/themes/presets.d.ts +2 -2
- package/dist/styles/themes/presets.js +34 -34
- package/dist/styles/tokens.d.ts +152 -68
- package/dist/styles/tokens.js +87 -49
- package/dist/styles.css +1 -1
- package/dist/surface.css +214 -117
- package/dist/themes/dark.css +64 -64
- package/dist/themes/light.css +64 -64
- package/dist/ui.css +171 -255
- package/dist/ui.js +176 -178
- package/dist/utils/hotInteraction.d.ts +7 -0
- package/dist/utils/hotInteraction.js +12 -12
- package/dist/widgets/TerminalWidget.js +28 -28
- package/dist/workbench-composition.css +15 -15
- package/package.json +1 -1
- package/dist/components/layout/BottomBar.d.ts +0 -29
- package/dist/components/layout/BottomBar.js +0 -70
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
max-width: 100%;
|
|
25
25
|
background: var(--card);
|
|
26
26
|
border: 1px solid var(--wb-window-edge);
|
|
27
|
-
border-radius:
|
|
27
|
+
border-radius: var(--floe-radius-card);
|
|
28
28
|
color: var(--foreground);
|
|
29
|
-
box-shadow:
|
|
29
|
+
box-shadow: var(--floe-window-shadow);
|
|
30
30
|
}
|
|
31
31
|
.workbench-toolbar-main {
|
|
32
32
|
display: flex;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
height: 30px;
|
|
46
46
|
padding: 0;
|
|
47
47
|
border: 0;
|
|
48
|
-
border-radius:
|
|
48
|
+
border-radius: var(--floe-radius-control);
|
|
49
49
|
background: transparent;
|
|
50
50
|
color: var(--foreground);
|
|
51
51
|
font: inherit;
|
|
@@ -155,9 +155,9 @@
|
|
|
155
155
|
overscroll-behavior: contain;
|
|
156
156
|
padding: 5px;
|
|
157
157
|
border: 1px solid var(--wb-window-edge);
|
|
158
|
-
border-radius:
|
|
158
|
+
border-radius: var(--floe-radius-group);
|
|
159
159
|
background: var(--card);
|
|
160
|
-
box-shadow:
|
|
160
|
+
box-shadow: var(--floe-window-shadow);
|
|
161
161
|
}
|
|
162
162
|
.workbench-composition-toolbar .workbench-treatment-options {
|
|
163
163
|
display: flex;
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
padding: 5px 7px;
|
|
174
174
|
gap: 10px;
|
|
175
175
|
border: 1px solid transparent;
|
|
176
|
-
border-radius:
|
|
176
|
+
border-radius: var(--floe-radius-control);
|
|
177
177
|
text-align: left;
|
|
178
178
|
}
|
|
179
179
|
.workbench-composition-toolbar .workbench-treatment-label {
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
--region-hatch: color-mix(in oklab, var(--region-outline) 78%, var(--region-fill));
|
|
201
201
|
--hatch-spacing: 7px;
|
|
202
202
|
--hatch-line: 1px;
|
|
203
|
-
border-radius:
|
|
203
|
+
border-radius: var(--floe-radius-control);
|
|
204
204
|
background-position: center;
|
|
205
205
|
}
|
|
206
206
|
.workbench-treatment-options .workbench-region-material__sample.is-material-dotted {
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
background-color: var(--note-fill);
|
|
360
360
|
color: var(--note-surface-ink);
|
|
361
361
|
border: 1px solid var(--note-surface-edge);
|
|
362
|
-
border-radius: var(--surface-radius,
|
|
362
|
+
border-radius: var(--surface-radius, var(--floe-radius-card));
|
|
363
363
|
}
|
|
364
364
|
[data-note-material='tab'] {
|
|
365
365
|
--note-fill: var(--note-paper);
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
top: 0;
|
|
375
375
|
bottom: 0;
|
|
376
376
|
width: var(--stripe-width, 9px);
|
|
377
|
-
border-radius: var(--surface-radius,
|
|
377
|
+
border-radius: var(--surface-radius, var(--floe-radius-card)) 0 0 var(--surface-radius, var(--floe-radius-card));
|
|
378
378
|
background: var(--note-marker);
|
|
379
379
|
pointer-events: none;
|
|
380
380
|
}
|
|
@@ -393,7 +393,7 @@
|
|
|
393
393
|
calc(a * 0.35 + var(--note-edge-chroma) * var(--note-cos) * 0.65)
|
|
394
394
|
calc(b * 0.35 + var(--note-edge-chroma) * var(--note-sin) * 0.65)
|
|
395
395
|
);
|
|
396
|
-
border-radius:
|
|
396
|
+
border-radius: var(--surface-radius, var(--floe-radius-card));
|
|
397
397
|
}
|
|
398
398
|
[data-note-material='ruled']::before {
|
|
399
399
|
content: '';
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
.workbench-sticky {
|
|
424
424
|
display: flex;
|
|
425
425
|
overflow: visible;
|
|
426
|
-
border-radius:
|
|
426
|
+
border-radius: var(--floe-radius-card);
|
|
427
427
|
transform-origin: 0 0;
|
|
428
428
|
cursor: grab;
|
|
429
429
|
font-family: var(--workbench-composition-font);
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
position: relative;
|
|
438
438
|
width: 100%;
|
|
439
439
|
height: 100%;
|
|
440
|
-
box-shadow: 0
|
|
440
|
+
box-shadow: var(--floe-surface-shadow-raised, 0 1px 2px -1px var(--floe-surface-shade));
|
|
441
441
|
}
|
|
442
442
|
.workbench-sticky__content {
|
|
443
443
|
position: relative;
|
|
@@ -661,9 +661,9 @@
|
|
|
661
661
|
.workbench-region-visibility-outline
|
|
662
662
|
).is-material-glass {
|
|
663
663
|
background-image: linear-gradient(
|
|
664
|
-
|
|
665
|
-
color-mix(in
|
|
666
|
-
|
|
664
|
+
160deg,
|
|
665
|
+
color-mix(in oklab, var(--region-fill) 62%, var(--card)),
|
|
666
|
+
var(--region-fill)
|
|
667
667
|
);
|
|
668
668
|
}
|
|
669
669
|
.workbench-background-region,
|
package/package.json
CHANGED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { type JSX } from 'solid-js';
|
|
2
|
-
export interface BottomBarProps {
|
|
3
|
-
children?: JSX.Element;
|
|
4
|
-
class?: string;
|
|
5
|
-
/** Height class, defaults to 'h-5' (20px). Use Tailwind height classes like 'h-7' (28px). */
|
|
6
|
-
height?: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Status bar at the bottom of the application
|
|
10
|
-
*/
|
|
11
|
-
export declare function BottomBar(props: BottomBarProps): JSX.Element;
|
|
12
|
-
/**
|
|
13
|
-
* Bottom bar item
|
|
14
|
-
*/
|
|
15
|
-
export interface BottomBarItemProps {
|
|
16
|
-
children: JSX.Element;
|
|
17
|
-
icon?: JSX.Element;
|
|
18
|
-
onClick?: () => void;
|
|
19
|
-
class?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare function BottomBarItem(props: BottomBarItemProps): JSX.Element;
|
|
22
|
-
/**
|
|
23
|
-
* Status indicator dot
|
|
24
|
-
*/
|
|
25
|
-
export interface StatusIndicatorProps {
|
|
26
|
-
status: 'connected' | 'disconnected' | 'connecting' | 'error';
|
|
27
|
-
label?: string;
|
|
28
|
-
}
|
|
29
|
-
export declare function StatusIndicator(props: StatusIndicatorProps): JSX.Element;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { insert as n, effect as a, className as u, createComponent as c, template as i, delegateEvents as b } from "solid-js/web";
|
|
2
|
-
import { Show as s } from "solid-js";
|
|
3
|
-
import { cn as m } from "../../utils/cn.js";
|
|
4
|
-
import { useResolvedFloeConfig as f } from "../../context/FloeConfigContext.js";
|
|
5
|
-
var h = /* @__PURE__ */ i("<footer data-floe-shell-slot=bottom-bar style=background-color:var(--activity-bar);border-top-color:var(--bottom-bar-border)>"), g = /* @__PURE__ */ i('<span class="w-2.5 h-2.5">'), v = /* @__PURE__ */ i("<button type=button>"), d = /* @__PURE__ */ i("<span>");
|
|
6
|
-
function C(t) {
|
|
7
|
-
return (() => {
|
|
8
|
-
var r = h();
|
|
9
|
-
return n(r, () => t.children), a(() => u(r, m(t.height ?? "h-5", "shrink-0 flex items-center justify-between px-1.5", "bg-background border-t border-border", "text-[10px] text-muted-foreground font-mono", t.class))), r;
|
|
10
|
-
})();
|
|
11
|
-
}
|
|
12
|
-
function $(t) {
|
|
13
|
-
const r = () => m("flex items-center gap-1 px-1 py-0.5 rounded-sm", t.onClick && "hover:bg-muted/80 cursor-pointer", "transition-colors duration-75", t.class);
|
|
14
|
-
return c(s, {
|
|
15
|
-
get when() {
|
|
16
|
-
return t.onClick;
|
|
17
|
-
},
|
|
18
|
-
get fallback() {
|
|
19
|
-
return (() => {
|
|
20
|
-
var e = d();
|
|
21
|
-
return n(e, c(s, {
|
|
22
|
-
get when() {
|
|
23
|
-
return t.icon;
|
|
24
|
-
},
|
|
25
|
-
get children() {
|
|
26
|
-
var o = g();
|
|
27
|
-
return n(o, () => t.icon), o;
|
|
28
|
-
}
|
|
29
|
-
}), null), n(e, () => t.children, null), a(() => u(e, r())), e;
|
|
30
|
-
})();
|
|
31
|
-
},
|
|
32
|
-
get children() {
|
|
33
|
-
var e = v();
|
|
34
|
-
return e.$$click = () => t.onClick?.(), n(e, c(s, {
|
|
35
|
-
get when() {
|
|
36
|
-
return t.icon;
|
|
37
|
-
},
|
|
38
|
-
get children() {
|
|
39
|
-
var o = g();
|
|
40
|
-
return n(o, () => t.icon), o;
|
|
41
|
-
}
|
|
42
|
-
}), null), n(e, () => t.children, null), a(() => u(e, r())), e;
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
function y(t) {
|
|
47
|
-
const r = f(), e = {
|
|
48
|
-
connected: "bg-success",
|
|
49
|
-
disconnected: "bg-muted-foreground",
|
|
50
|
-
connecting: "bg-warning animate-pulse",
|
|
51
|
-
error: "bg-error"
|
|
52
|
-
}, o = () => r.config.strings.statusIndicator;
|
|
53
|
-
return c($, {
|
|
54
|
-
get children() {
|
|
55
|
-
return [(() => {
|
|
56
|
-
var l = d();
|
|
57
|
-
return a(() => u(l, m("w-1.5 h-1.5 rounded-full", e[t.status]))), l;
|
|
58
|
-
})(), (() => {
|
|
59
|
-
var l = d();
|
|
60
|
-
return n(l, () => t.label ?? o()[t.status]), l;
|
|
61
|
-
})()];
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
b(["click"]);
|
|
66
|
-
export {
|
|
67
|
-
C as BottomBar,
|
|
68
|
-
$ as BottomBarItem,
|
|
69
|
-
y as StatusIndicator
|
|
70
|
-
};
|