@floegence/floe-webapp-core 0.86.37 → 0.86.38

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/full.js CHANGED
@@ -186,9 +186,10 @@ import { useDeckDrag as Lx } from "./hooks/useDeckDrag.js";
186
186
  import { useFileBrowserDropTarget as yx, useFileBrowserItemDrag as Dx } from "./hooks/useFileBrowserDrag.js";
187
187
  import { useKeybind as vx } from "./hooks/useKeybind.js";
188
188
  import { useMediaQuery as Bx } from "./hooks/useMediaQuery.js";
189
- import { usePersisted as Wx } from "./hooks/usePersisted.js";
190
- import { useResizeObserver as Nx } from "./hooks/useResizeObserver.js";
191
- import { useVirtualList as Hx } from "./components/chat/hooks/useVirtualList.js";
189
+ import { useOverlayMask as Wx } from "./hooks/useOverlayMask.js";
190
+ import { usePersisted as Nx } from "./hooks/usePersisted.js";
191
+ import { useResizeObserver as Hx } from "./hooks/useResizeObserver.js";
192
+ import { useVirtualList as Gx } from "./components/chat/hooks/useVirtualList.js";
192
193
  export {
193
194
  R as Activity,
194
195
  Zt as ActivityAppsMain,
@@ -885,12 +886,13 @@ export {
885
886
  Rm as useMobileLayout,
886
887
  js as useNotification,
887
888
  ka as useOptionalComponentRegistry,
888
- Wx as usePersisted,
889
- Nx as useResizeObserver,
889
+ Wx as useOverlayMask,
890
+ Nx as usePersisted,
891
+ Hx as useResizeObserver,
890
892
  Ba as useResolvedFloeConfig,
891
893
  Rf as useTheme,
892
894
  Uf as useViewActivation,
893
- Hx as useVirtualList,
895
+ Gx as useVirtualList,
894
896
  jf as useWidgetRegistry,
895
897
  td as useWidgetState,
896
898
  id as useWidgetStateContext,
@@ -8,3 +8,4 @@ export { usePersisted } from './usePersisted';
8
8
  export { useDeckDrag } from './useDeckDrag';
9
9
  export { useFileBrowserItemDrag, useFileBrowserDropTarget, type UseFileBrowserItemDragOptions, type FileBrowserItemDragHandlers, type UseFileBrowserDropTargetOptions, type FileBrowserDropTargetResult, } from './useFileBrowserDrag';
10
10
  export { createRetainedContent } from './createRetainedContent';
11
+ export { useOverlayMask, type UseOverlayMaskOptions } from './useOverlayMask';
package/dist/index.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import { FloeProvider as r } from "./app/FloeProvider.js";
2
- import { applyShellThemeAttribute as i, applySurfaceStyleAttribute as s, applyTheme as n, builtInThemes as a, getSystemTheme as m, isFloeSurfaceStyle as l, isThemeType as p, mergeThemeTokenMaps as f, resolveThemeTokenOverrides as d, resolveThemeTokens as T, syncThemeTokenOverrides as c } from "./styles/themes/index.js";
3
- import { floeColorTokenCategories as x, floeDesignTokens as g, floeFontFamilyTokens as y, floeMotionTokens as C, floeRadiusTokens as S, floeSharedCssVariables as h, floeSpacingTokens as F, floeSurfaceTokens as v, floeThemeColorVariables as P, floeTypographyTokens as R, getFloeColorTokenValue as k } from "./styles/tokens.js";
4
- import { BUILT_IN_SHELL_THEME_DEFAULTS as D, REQUIRED_SHELL_THEME_TOKENS as E, assertUniqueThemePresetNames as b, builtInShellThemePresets as L, createShellThemePreset as _, getShellThemePresetsForMode as A, normalizeShellThemeSelection as N, presetSupportsMode as O, resolveShellThemePresetName as M } from "./styles/themes/presets.js";
2
+ import { applyShellThemeAttribute as i, applySurfaceStyleAttribute as s, applyTheme as n, builtInThemes as a, getSystemTheme as m, isFloeSurfaceStyle as l, isThemeType as p, mergeThemeTokenMaps as f, resolveThemeTokenOverrides as d, resolveThemeTokens as T, syncThemeTokenOverrides as u } from "./styles/themes/index.js";
3
+ import { floeColorTokenCategories as x, floeDesignTokens as g, floeFontFamilyTokens as y, floeMotionTokens as C, floeRadiusTokens as S, floeSharedCssVariables as h, floeSpacingTokens as F, floeSurfaceTokens as v, floeThemeColorVariables as P, floeTypographyTokens as k, getFloeColorTokenValue as R } from "./styles/tokens.js";
4
+ import { BUILT_IN_SHELL_THEME_DEFAULTS as D, REQUIRED_SHELL_THEME_TOKENS as E, assertUniqueThemePresetNames as b, builtInShellThemePresets as L, createShellThemePreset as _, getShellThemePresetsForMode as A, normalizeShellThemeSelection as O, presetSupportsMode as M, resolveShellThemePresetName as N } from "./styles/themes/presets.js";
5
5
  import { CommandProvider as U, createCommandService as w, useCommand as G } from "./context/CommandContext.js";
6
6
  import { ComponentRegistryProvider as W, createComponentRegistry as K, hasComponentRegistryContext as V, useComponentContextFactory as z, useComponentRegistry as Q, useOptionalComponentRegistry as q } from "./context/ComponentRegistry.js";
7
7
  import { DEFAULT_FLOE_CONFIG as j, FloeConfigProvider as J, useFloeConfig as X, useResolvedFloeConfig as Z } from "./context/FloeConfigContext.js";
8
8
  import { DeckProvider as ee, createDeckService as oe, useDeck as re } from "./context/DeckContext.js";
9
9
  import { FLOE_GEOMETRY_SURFACE_ATTR as ie, FLOE_HOT_INTERACTION_ATTR as se, startHotInteraction as ne } from "./utils/hotInteraction.js";
10
10
  import { FileBrowserDragProvider as me, hasFileBrowserDragContext as le, useFileBrowserDrag as pe } from "./context/FileBrowserDragContext.js";
11
- import { LayoutProvider as de, createLayoutService as Te, useLayout as ce, useMobileLayout as ue } from "./context/LayoutContext.js";
11
+ import { LayoutProvider as de, createLayoutService as Te, useLayout as ue, useMobileLayout as ce } from "./context/LayoutContext.js";
12
12
  import { NotificationContainer as ge, NotificationProvider as ye, createNotificationService as Ce, useNotification as Se } from "./context/NotificationContext.js";
13
13
  import { ThemeProvider as Fe, createThemeService as ve, useTheme as Pe } from "./context/ThemeContext.js";
14
- import { ViewActivationProvider as ke, useViewActivation as Ie } from "./context/ViewActivationContext.js";
14
+ import { ViewActivationProvider as Re, useViewActivation as Ie } from "./context/ViewActivationContext.js";
15
15
  import { WidgetRegistryProvider as Ee, createWidgetRegistry as be, useWidgetRegistry as Le } from "./context/WidgetRegistry.js";
16
- import { WidgetStateProvider as Ae, useCurrentWidgetId as Ne, useWidgetState as Oe, useWidgetStateContext as Me } from "./context/WidgetStateContext.js";
16
+ import { WidgetStateProvider as Ae, useCurrentWidgetId as Oe, useWidgetState as Me, useWidgetStateContext as Ne } from "./context/WidgetStateContext.js";
17
17
  import { applyDragDelta as Ue, applyResizeDelta as we, getGridCellSize as Ge, pixelDeltaToGridDelta as He, positionToGridArea as We, snapToGrid as Ke } from "./utils/gridLayout.js";
18
18
  import { calculateFitScale as ze } from "./utils/fitScale.js";
19
19
  import { checkCollision as qe, constrainPosition as Ye, findFreePosition as je, hasCollision as Je, sameGridPosition as Xe } from "./utils/gridCollision.js";
@@ -23,9 +23,9 @@ import { createRetainedContent as to } from "./hooks/createRetainedContent.js";
23
23
  import { createSimpleContext as so } from "./context/createSimpleContext.js";
24
24
  import { createUIFirstSelection as ao } from "./utils/uiFirstSelection.js";
25
25
  import { deferAfterPaint as lo, deferNonBlocking as po } from "./utils/defer.js";
26
- import { duration as To, easing as co, fadeIn as uo, listContainer as xo, listItem as go, panelResize as yo, popIn as Co, scaleIn as So, sidebarVariants as ho, slideInFromBottom as Fo, slideInFromLeft as vo, slideInFromRight as Po, slideInFromTop as Ro, springConfig as ko } from "./utils/animations.js";
26
+ import { duration as To, easing as uo, fadeIn as co, listContainer as xo, listItem as go, panelResize as yo, popIn as Co, scaleIn as So, sidebarVariants as ho, slideInFromBottom as Fo, slideInFromLeft as vo, slideInFromRight as Po, slideInFromTop as ko, springConfig as Ro } from "./utils/animations.js";
27
27
  import { formatKeybind as Do, isMacLikePlatform as Eo, isPrimaryModKeyPressed as bo, matchKeybind as Lo, parseKeybind as _o } from "./utils/keybind.js";
28
- import { isTypingElement as No, shouldIgnoreHotkeys as Oo } from "./utils/dom.js";
28
+ import { isTypingElement as Oo, shouldIgnoreHotkeys as Mo } from "./utils/dom.js";
29
29
  import { lockBodyStyle as Bo } from "./utils/bodyStyleLock.js";
30
30
  import { registerCommandContributions as wo, useCommandContributions as Go } from "./hooks/useCommandContributions.js";
31
31
  import { secureRandomUUID as Wo } from "./utils/secureRandom.js";
@@ -34,8 +34,9 @@ import { useDeckDrag as Qo } from "./hooks/useDeckDrag.js";
34
34
  import { useFileBrowserDropTarget as Yo, useFileBrowserItemDrag as jo } from "./hooks/useFileBrowserDrag.js";
35
35
  import { useKeybind as Xo } from "./hooks/useKeybind.js";
36
36
  import { useMediaQuery as $o } from "./hooks/useMediaQuery.js";
37
- import { usePersisted as or } from "./hooks/usePersisted.js";
38
- import { useResizeObserver as tr } from "./hooks/useResizeObserver.js";
37
+ import { useOverlayMask as or } from "./hooks/useOverlayMask.js";
38
+ import { usePersisted as tr } from "./hooks/usePersisted.js";
39
+ import { useResizeObserver as sr } from "./hooks/useResizeObserver.js";
39
40
  export {
40
41
  D as BUILT_IN_SHELL_THEME_DEFAULTS,
41
42
  U as CommandProvider,
@@ -52,7 +53,7 @@ export {
52
53
  ye as NotificationProvider,
53
54
  E as REQUIRED_SHELL_THEME_TOKENS,
54
55
  Fe as ThemeProvider,
55
- ke as ViewActivationProvider,
56
+ Re as ViewActivationProvider,
56
57
  Ee as WidgetRegistryProvider,
57
58
  Ae as WidgetStateProvider,
58
59
  Ue as applyDragDelta,
@@ -82,8 +83,8 @@ export {
82
83
  lo as deferAfterPaint,
83
84
  po as deferNonBlocking,
84
85
  To as duration,
85
- co as easing,
86
- uo as fadeIn,
86
+ uo as easing,
87
+ co as fadeIn,
87
88
  je as findFreePosition,
88
89
  x as floeColorTokenCategories,
89
90
  g as floeDesignTokens,
@@ -94,9 +95,9 @@ export {
94
95
  F as floeSpacingTokens,
95
96
  v as floeSurfaceTokens,
96
97
  P as floeThemeColorVariables,
97
- R as floeTypographyTokens,
98
+ k as floeTypographyTokens,
98
99
  Do as formatKeybind,
99
- k as getFloeColorTokenValue,
100
+ R as getFloeColorTokenValue,
100
101
  Ge as getGridCellSize,
101
102
  A as getShellThemePresetsForMode,
102
103
  m as getSystemTheme,
@@ -107,41 +108,41 @@ export {
107
108
  Eo as isMacLikePlatform,
108
109
  bo as isPrimaryModKeyPressed,
109
110
  p as isThemeType,
110
- No as isTypingElement,
111
+ Oo as isTypingElement,
111
112
  xo as listContainer,
112
113
  go as listItem,
113
114
  Bo as lockBodyStyle,
114
115
  Lo as matchKeybind,
115
116
  f as mergeThemeTokenMaps,
116
- N as normalizeShellThemeSelection,
117
+ O as normalizeShellThemeSelection,
117
118
  yo as panelResize,
118
119
  _o as parseKeybind,
119
120
  He as pixelDeltaToGridDelta,
120
121
  Co as popIn,
121
122
  We as positionToGridArea,
122
- O as presetSupportsMode,
123
+ M as presetSupportsMode,
123
124
  wo as registerCommandContributions,
124
- M as resolveShellThemePresetName,
125
+ N as resolveShellThemePresetName,
125
126
  d as resolveThemeTokenOverrides,
126
127
  T as resolveThemeTokens,
127
128
  Xe as sameGridPosition,
128
129
  So as scaleIn,
129
130
  Wo as secureRandomUUID,
130
- Oo as shouldIgnoreHotkeys,
131
+ Mo as shouldIgnoreHotkeys,
131
132
  ho as sidebarVariants,
132
133
  Fo as slideInFromBottom,
133
134
  vo as slideInFromLeft,
134
135
  Po as slideInFromRight,
135
- Ro as slideInFromTop,
136
+ ko as slideInFromTop,
136
137
  Ke as snapToGrid,
137
- ko as springConfig,
138
+ Ro as springConfig,
138
139
  ne as startHotInteraction,
139
- c as syncThemeTokenOverrides,
140
+ u as syncThemeTokenOverrides,
140
141
  G as useCommand,
141
142
  Go as useCommandContributions,
142
143
  z as useComponentContextFactory,
143
144
  Q as useComponentRegistry,
144
- Ne as useCurrentWidgetId,
145
+ Oe as useCurrentWidgetId,
145
146
  Vo as useDebounce,
146
147
  re as useDeck,
147
148
  Qo as useDeckDrag,
@@ -150,17 +151,18 @@ export {
150
151
  jo as useFileBrowserItemDrag,
151
152
  X as useFloeConfig,
152
153
  Xo as useKeybind,
153
- ce as useLayout,
154
+ ue as useLayout,
154
155
  $o as useMediaQuery,
155
- ue as useMobileLayout,
156
+ ce as useMobileLayout,
156
157
  Se as useNotification,
157
158
  q as useOptionalComponentRegistry,
158
- or as usePersisted,
159
- tr as useResizeObserver,
159
+ or as useOverlayMask,
160
+ tr as usePersisted,
161
+ sr as useResizeObserver,
160
162
  Z as useResolvedFloeConfig,
161
163
  Pe as useTheme,
162
164
  Ie as useViewActivation,
163
165
  Le as useWidgetRegistry,
164
- Oe as useWidgetState,
165
- Me as useWidgetStateContext
166
+ Me as useWidgetState,
167
+ Ne as useWidgetStateContext
166
168
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floegence/floe-webapp-core",
3
- "version": "0.86.37",
3
+ "version": "0.86.38",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",