@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.
Files changed (32) hide show
  1. package/dist/chat.css +32 -33
  2. package/dist/components/chat/blocks/CodeDiffBlock.js +51 -51
  3. package/dist/components/chat/blocks/ToolCallBlock.js +3 -3
  4. package/dist/components/chat/message/MessageMeta.js +1 -1
  5. package/dist/components/chat/status/ConnectionStatus.js +6 -6
  6. package/dist/components/deck/DropZonePreview.js +20 -28
  7. package/dist/components/launchpad/Launchpad.js +78 -62
  8. package/dist/components/launchpad/LaunchpadGrid.js +1 -1
  9. package/dist/components/launchpad/LaunchpadItem.js +17 -16
  10. package/dist/components/launchpad/LaunchpadPagination.js +16 -16
  11. package/dist/components/launchpad/LaunchpadSearch.js +9 -9
  12. package/dist/components/ui/Card.js +104 -96
  13. package/dist/components/ui/Charts.js +125 -135
  14. package/dist/components/ui/Dialog.js +15 -15
  15. package/dist/components/ui/FloatingWindow.js +18 -18
  16. package/dist/components/ui/MobileKeyboard.js +174 -143
  17. package/dist/components/ui/Progress.js +87 -87
  18. package/dist/components/ui/Tabs.js +1 -1
  19. package/dist/components/ui/mobileKeyboardViewport.d.ts +18 -0
  20. package/dist/components/ui/mobileKeyboardViewport.js +42 -0
  21. package/dist/components/ui/picker/PickerBase.js +1 -1
  22. package/dist/floe.css +8 -15
  23. package/dist/full.js +654 -643
  24. package/dist/index.d.ts +1 -0
  25. package/dist/index.js +126 -115
  26. package/dist/styles/tokens.d.ts +1150 -0
  27. package/dist/styles/tokens.js +565 -0
  28. package/dist/styles.css +1 -1
  29. package/dist/themes/light.css +0 -3
  30. package/dist/ui.css +48 -143
  31. package/dist/widgets/MetricsWidget.js +15 -15
  32. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3,3 +3,4 @@ export * from './context';
3
3
  export * from './hooks';
4
4
  export * from './utils';
5
5
  export * from './styles/themes';
6
+ export * from './styles/tokens';
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 n, getSystemTheme as s, resolveThemeTokenOverrides as m, syncThemeTokenOverrides as a } from "./styles/themes/index.js";
3
- import { CommandProvider as d, createCommandService as f, useCommand as l } from "./context/CommandContext.js";
4
- import { ComponentRegistryProvider as x, createComponentRegistry as g, hasComponentRegistryContext as c, useComponentContextFactory as C, useComponentRegistry as y, useOptionalComponentRegistry as v } from "./context/ComponentRegistry.js";
5
- import { DEFAULT_FLOE_CONFIG as D, FloeConfigProvider as T, useFloeConfig as P, useResolvedFloeConfig as h } from "./context/FloeConfigContext.js";
6
- import { DeckProvider as R, createDeckService as S, useDeck as b } from "./context/DeckContext.js";
7
- import { FileBrowserDragProvider as B, hasFileBrowserDragContext as w, useFileBrowserDrag as W } from "./context/FileBrowserDragContext.js";
8
- import { LayoutProvider as N, createLayoutService as O, useLayout as A } from "./context/LayoutContext.js";
9
- import { NotificationContainer as z, NotificationProvider as K, createNotificationService as E, useNotification as V } from "./context/NotificationContext.js";
10
- import { ThemeProvider as H, createThemeService as M, useTheme as Q } from "./context/ThemeContext.js";
11
- import { ViewActivationProvider as j, useViewActivation as q } from "./context/ViewActivationContext.js";
12
- import { WidgetRegistryProvider as X, createWidgetRegistry as Y, useWidgetRegistry as Z } from "./context/WidgetRegistry.js";
13
- import { WidgetStateProvider as ee, useCurrentWidgetId as oe, useWidgetState as re, useWidgetStateContext as te } from "./context/WidgetStateContext.js";
14
- import { applyDragDelta as ne, applyResizeDelta as se, getGridCellSize as me, pixelDeltaToGridDelta as ae, positionToGridArea as pe, snapToGrid as de } from "./utils/gridLayout.js";
15
- import { checkCollision as le, constrainPosition as ue, findFreePosition as xe, hasCollision as ge } from "./utils/gridCollision.js";
16
- import { cn as Ce } from "./utils/cn.js";
17
- import { createSimpleContext as ve } from "./context/createSimpleContext.js";
18
- import { deferAfterPaint as De, deferNonBlocking as Te } from "./utils/defer.js";
19
- import { duration as he, easing as Ie, fadeIn as Re, listContainer as Se, listItem as be, panelResize as ke, popIn as Be, scaleIn as we, sidebarVariants as We, slideInFromBottom as Le, slideInFromLeft as Ne, slideInFromRight as Oe, slideInFromTop as Ae, springConfig as Ge } from "./utils/animations.js";
20
- import { formatKeybind as Ke, matchKeybind as Ee, parseKeybind as Ve } from "./utils/keybind.js";
21
- import { isTypingElement as He, shouldIgnoreHotkeys as Me } from "./utils/dom.js";
22
- import { lockBodyStyle as Ue } from "./utils/bodyStyleLock.js";
23
- import { registerCommandContributions as qe, useCommandContributions as Je } from "./hooks/useCommandContributions.js";
24
- import { useDebounce as Ye } from "./hooks/useDebounce.js";
25
- import { useDeckDrag as $e } from "./hooks/useDeckDrag.js";
26
- import { useFileBrowserDropTarget as oo, useFileBrowserItemDrag as ro } from "./hooks/useFileBrowserDrag.js";
27
- import { useKeybind as io } from "./hooks/useKeybind.js";
28
- import { useMediaQuery as so } from "./hooks/useMediaQuery.js";
29
- import { usePersisted as ao } from "./hooks/usePersisted.js";
30
- import { useResizeObserver as fo } from "./hooks/useResizeObserver.js";
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
- d as CommandProvider,
33
- x as ComponentRegistryProvider,
34
- D as DEFAULT_FLOE_CONFIG,
35
- R as DeckProvider,
36
- B as FileBrowserDragProvider,
37
- T as FloeConfigProvider,
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
- N as LayoutProvider,
40
- z as NotificationContainer,
41
- K as NotificationProvider,
42
- H as ThemeProvider,
43
- j as ViewActivationProvider,
44
- X as WidgetRegistryProvider,
45
- ee as WidgetStateProvider,
46
- ne as applyDragDelta,
47
- se as applyResizeDelta,
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
- n as builtInThemes,
50
- le as checkCollision,
51
- Ce as cn,
52
- ue as constrainPosition,
53
- f as createCommandService,
54
- g as createComponentRegistry,
55
- S as createDeckService,
56
- O as createLayoutService,
57
- E as createNotificationService,
58
- ve as createSimpleContext,
59
- M as createThemeService,
60
- Y as createWidgetRegistry,
61
- De as deferAfterPaint,
62
- Te as deferNonBlocking,
63
- he as duration,
64
- Ie as easing,
65
- Re as fadeIn,
66
- xe as findFreePosition,
67
- Ke as formatKeybind,
68
- me as getGridCellSize,
69
- s as getSystemTheme,
70
- ge as hasCollision,
71
- c as hasComponentRegistryContext,
72
- w as hasFileBrowserDragContext,
73
- He as isTypingElement,
74
- Se as listContainer,
75
- be as listItem,
76
- Ue as lockBodyStyle,
77
- Ee as matchKeybind,
78
- ke as panelResize,
79
- Ve as parseKeybind,
80
- ae as pixelDeltaToGridDelta,
81
- Be as popIn,
82
- pe as positionToGridArea,
83
- qe as registerCommandContributions,
84
- m as resolveThemeTokenOverrides,
85
- we as scaleIn,
86
- Me as shouldIgnoreHotkeys,
87
- We as sidebarVariants,
88
- Le as slideInFromBottom,
89
- Ne as slideInFromLeft,
90
- Oe as slideInFromRight,
91
- Ae as slideInFromTop,
92
- de as snapToGrid,
93
- Ge as springConfig,
94
- a as syncThemeTokenOverrides,
95
- l as useCommand,
96
- Je as useCommandContributions,
97
- C as useComponentContextFactory,
98
- y as useComponentRegistry,
99
- oe as useCurrentWidgetId,
100
- Ye as useDebounce,
101
- b as useDeck,
102
- $e as useDeckDrag,
103
- W as useFileBrowserDrag,
104
- oo as useFileBrowserDropTarget,
105
- ro as useFileBrowserItemDrag,
106
- P as useFloeConfig,
107
- io as useKeybind,
108
- A as useLayout,
109
- so as useMediaQuery,
110
- V as useNotification,
111
- v as useOptionalComponentRegistry,
112
- ao as usePersisted,
113
- fo as useResizeObserver,
114
- h as useResolvedFloeConfig,
115
- Q as useTheme,
116
- q as useViewActivation,
117
- Z as useWidgetRegistry,
118
- re as useWidgetState,
119
- te as useWidgetStateContext
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
  };