@floegence/floe-webapp-core 0.35.9 → 0.35.11
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/chat.css +32 -33
- package/dist/components/chat/blocks/CodeDiffBlock.js +51 -51
- package/dist/components/chat/blocks/ToolCallBlock.js +3 -3
- package/dist/components/chat/message/MessageMeta.js +1 -1
- package/dist/components/chat/status/ConnectionStatus.js +6 -6
- package/dist/components/deck/DropZonePreview.js +20 -28
- package/dist/components/launchpad/Launchpad.js +78 -62
- package/dist/components/launchpad/LaunchpadGrid.js +1 -1
- package/dist/components/launchpad/LaunchpadItem.js +17 -16
- package/dist/components/launchpad/LaunchpadPagination.js +16 -16
- package/dist/components/launchpad/LaunchpadSearch.js +9 -9
- package/dist/components/ui/Card.js +104 -96
- package/dist/components/ui/Charts.js +125 -135
- package/dist/components/ui/Dialog.js +15 -15
- package/dist/components/ui/FloatingWindow.js +18 -18
- package/dist/components/ui/MobileKeyboard.js +174 -143
- package/dist/components/ui/Progress.js +87 -87
- package/dist/components/ui/Tabs.js +1 -1
- package/dist/components/ui/mobileKeyboardViewport.d.ts +18 -0
- package/dist/components/ui/mobileKeyboardViewport.js +42 -0
- package/dist/components/ui/picker/PickerBase.js +1 -1
- package/dist/floe.css +8 -15
- package/dist/full.js +654 -643
- package/dist/index.d.ts +1 -0
- package/dist/index.js +126 -115
- package/dist/styles/tokens.d.ts +1150 -0
- package/dist/styles/tokens.js +565 -0
- package/dist/styles.css +1 -1
- package/dist/themes/light.css +0 -3
- package/dist/ui.css +48 -143
- package/dist/widgets/MetricsWidget.js +15 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,120 +1,131 @@
|
|
|
1
1
|
import { FloeProvider as r } from "./app/FloeProvider.js";
|
|
2
|
-
import { applyTheme as i, builtInThemes as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
2
|
+
import { applyTheme as i, builtInThemes as s, getSystemTheme as n, resolveThemeTokenOverrides as a, syncThemeTokenOverrides as m } from "./styles/themes/index.js";
|
|
3
|
+
import { floeColorTokenCategories as l, floeDesignTokens as f, floeFontFamilyTokens as d, floeMotionTokens as g, floeRadiusTokens as u, floeSharedCssVariables as x, floeSpacingTokens as c, floeThemeColorVariables as C, floeTypographyTokens as y, getFloeColorTokenValue as T } from "./styles/tokens.js";
|
|
4
|
+
import { CommandProvider as F, createCommandService as h, useCommand as k } from "./context/CommandContext.js";
|
|
5
|
+
import { ComponentRegistryProvider as P, createComponentRegistry as R, hasComponentRegistryContext as S, useComponentContextFactory as I, useComponentRegistry as b, useOptionalComponentRegistry as B } from "./context/ComponentRegistry.js";
|
|
6
|
+
import { DEFAULT_FLOE_CONFIG as W, FloeConfigProvider as L, useFloeConfig as N, useResolvedFloeConfig as O } from "./context/FloeConfigContext.js";
|
|
7
|
+
import { DeckProvider as A, createDeckService as G, useDeck as z } from "./context/DeckContext.js";
|
|
8
|
+
import { FileBrowserDragProvider as E, hasFileBrowserDragContext as M, useFileBrowserDrag as _ } from "./context/FileBrowserDragContext.js";
|
|
9
|
+
import { LayoutProvider as Q, createLayoutService as U, useLayout as j } from "./context/LayoutContext.js";
|
|
10
|
+
import { NotificationContainer as J, NotificationProvider as X, createNotificationService as Y, useNotification as Z } from "./context/NotificationContext.js";
|
|
11
|
+
import { ThemeProvider as ee, createThemeService as oe, useTheme as re } from "./context/ThemeContext.js";
|
|
12
|
+
import { ViewActivationProvider as ie, useViewActivation as se } from "./context/ViewActivationContext.js";
|
|
13
|
+
import { WidgetRegistryProvider as ae, createWidgetRegistry as me, useWidgetRegistry as pe } from "./context/WidgetRegistry.js";
|
|
14
|
+
import { WidgetStateProvider as fe, useCurrentWidgetId as de, useWidgetState as ge, useWidgetStateContext as ue } from "./context/WidgetStateContext.js";
|
|
15
|
+
import { applyDragDelta as ce, applyResizeDelta as Ce, getGridCellSize as ye, pixelDeltaToGridDelta as Te, positionToGridArea as ve, snapToGrid as Fe } from "./utils/gridLayout.js";
|
|
16
|
+
import { checkCollision as ke, constrainPosition as De, findFreePosition as Pe, hasCollision as Re } from "./utils/gridCollision.js";
|
|
17
|
+
import { cn as Ie } from "./utils/cn.js";
|
|
18
|
+
import { createSimpleContext as Be } from "./context/createSimpleContext.js";
|
|
19
|
+
import { deferAfterPaint as We, deferNonBlocking as Le } from "./utils/defer.js";
|
|
20
|
+
import { duration as Oe, easing as Ve, fadeIn as Ae, listContainer as Ge, listItem as ze, panelResize as Ke, popIn as Ee, scaleIn as Me, sidebarVariants as _e, slideInFromBottom as He, slideInFromLeft as Qe, slideInFromRight as Ue, slideInFromTop as je, springConfig as qe } from "./utils/animations.js";
|
|
21
|
+
import { formatKeybind as Xe, matchKeybind as Ye, parseKeybind as Ze } from "./utils/keybind.js";
|
|
22
|
+
import { isTypingElement as eo, shouldIgnoreHotkeys as oo } from "./utils/dom.js";
|
|
23
|
+
import { lockBodyStyle as to } from "./utils/bodyStyleLock.js";
|
|
24
|
+
import { registerCommandContributions as so, useCommandContributions as no } from "./hooks/useCommandContributions.js";
|
|
25
|
+
import { useDebounce as mo } from "./hooks/useDebounce.js";
|
|
26
|
+
import { useDeckDrag as lo } from "./hooks/useDeckDrag.js";
|
|
27
|
+
import { useFileBrowserDropTarget as go, useFileBrowserItemDrag as uo } from "./hooks/useFileBrowserDrag.js";
|
|
28
|
+
import { useKeybind as co } from "./hooks/useKeybind.js";
|
|
29
|
+
import { useMediaQuery as yo } from "./hooks/useMediaQuery.js";
|
|
30
|
+
import { usePersisted as vo } from "./hooks/usePersisted.js";
|
|
31
|
+
import { useResizeObserver as ho } from "./hooks/useResizeObserver.js";
|
|
31
32
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
F as CommandProvider,
|
|
34
|
+
P as ComponentRegistryProvider,
|
|
35
|
+
W as DEFAULT_FLOE_CONFIG,
|
|
36
|
+
A as DeckProvider,
|
|
37
|
+
E as FileBrowserDragProvider,
|
|
38
|
+
L as FloeConfigProvider,
|
|
38
39
|
r as FloeProvider,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
Q as LayoutProvider,
|
|
41
|
+
J as NotificationContainer,
|
|
42
|
+
X as NotificationProvider,
|
|
43
|
+
ee as ThemeProvider,
|
|
44
|
+
ie as ViewActivationProvider,
|
|
45
|
+
ae as WidgetRegistryProvider,
|
|
46
|
+
fe as WidgetStateProvider,
|
|
47
|
+
ce as applyDragDelta,
|
|
48
|
+
Ce as applyResizeDelta,
|
|
48
49
|
i as applyTheme,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
a as
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
50
|
+
s as builtInThemes,
|
|
51
|
+
ke as checkCollision,
|
|
52
|
+
Ie as cn,
|
|
53
|
+
De as constrainPosition,
|
|
54
|
+
h as createCommandService,
|
|
55
|
+
R as createComponentRegistry,
|
|
56
|
+
G as createDeckService,
|
|
57
|
+
U as createLayoutService,
|
|
58
|
+
Y as createNotificationService,
|
|
59
|
+
Be as createSimpleContext,
|
|
60
|
+
oe as createThemeService,
|
|
61
|
+
me as createWidgetRegistry,
|
|
62
|
+
We as deferAfterPaint,
|
|
63
|
+
Le as deferNonBlocking,
|
|
64
|
+
Oe as duration,
|
|
65
|
+
Ve as easing,
|
|
66
|
+
Ae as fadeIn,
|
|
67
|
+
Pe as findFreePosition,
|
|
68
|
+
l as floeColorTokenCategories,
|
|
69
|
+
f as floeDesignTokens,
|
|
70
|
+
d as floeFontFamilyTokens,
|
|
71
|
+
g as floeMotionTokens,
|
|
72
|
+
u as floeRadiusTokens,
|
|
73
|
+
x as floeSharedCssVariables,
|
|
74
|
+
c as floeSpacingTokens,
|
|
75
|
+
C as floeThemeColorVariables,
|
|
76
|
+
y as floeTypographyTokens,
|
|
77
|
+
Xe as formatKeybind,
|
|
78
|
+
T as getFloeColorTokenValue,
|
|
79
|
+
ye as getGridCellSize,
|
|
80
|
+
n as getSystemTheme,
|
|
81
|
+
Re as hasCollision,
|
|
82
|
+
S as hasComponentRegistryContext,
|
|
83
|
+
M as hasFileBrowserDragContext,
|
|
84
|
+
eo as isTypingElement,
|
|
85
|
+
Ge as listContainer,
|
|
86
|
+
ze as listItem,
|
|
87
|
+
to as lockBodyStyle,
|
|
88
|
+
Ye as matchKeybind,
|
|
89
|
+
Ke as panelResize,
|
|
90
|
+
Ze as parseKeybind,
|
|
91
|
+
Te as pixelDeltaToGridDelta,
|
|
92
|
+
Ee as popIn,
|
|
93
|
+
ve as positionToGridArea,
|
|
94
|
+
so as registerCommandContributions,
|
|
95
|
+
a as resolveThemeTokenOverrides,
|
|
96
|
+
Me as scaleIn,
|
|
97
|
+
oo as shouldIgnoreHotkeys,
|
|
98
|
+
_e as sidebarVariants,
|
|
99
|
+
He as slideInFromBottom,
|
|
100
|
+
Qe as slideInFromLeft,
|
|
101
|
+
Ue as slideInFromRight,
|
|
102
|
+
je as slideInFromTop,
|
|
103
|
+
Fe as snapToGrid,
|
|
104
|
+
qe as springConfig,
|
|
105
|
+
m as syncThemeTokenOverrides,
|
|
106
|
+
k as useCommand,
|
|
107
|
+
no as useCommandContributions,
|
|
108
|
+
I as useComponentContextFactory,
|
|
109
|
+
b as useComponentRegistry,
|
|
110
|
+
de as useCurrentWidgetId,
|
|
111
|
+
mo as useDebounce,
|
|
112
|
+
z as useDeck,
|
|
113
|
+
lo as useDeckDrag,
|
|
114
|
+
_ as useFileBrowserDrag,
|
|
115
|
+
go as useFileBrowserDropTarget,
|
|
116
|
+
uo as useFileBrowserItemDrag,
|
|
117
|
+
N as useFloeConfig,
|
|
118
|
+
co as useKeybind,
|
|
119
|
+
j as useLayout,
|
|
120
|
+
yo as useMediaQuery,
|
|
121
|
+
Z as useNotification,
|
|
122
|
+
B as useOptionalComponentRegistry,
|
|
123
|
+
vo as usePersisted,
|
|
124
|
+
ho as useResizeObserver,
|
|
125
|
+
O as useResolvedFloeConfig,
|
|
126
|
+
re as useTheme,
|
|
127
|
+
se as useViewActivation,
|
|
128
|
+
pe as useWidgetRegistry,
|
|
129
|
+
ge as useWidgetState,
|
|
130
|
+
ue as useWidgetStateContext
|
|
120
131
|
};
|