@floegence/floe-webapp-core 0.1.13 → 0.1.14

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 (68) hide show
  1. package/dist/context/DeckContext.d.ts +6 -0
  2. package/dist/context/WidgetStateContext.d.ts +47 -0
  3. package/dist/context/index.d.ts +1 -0
  4. package/dist/index.js +178 -173
  5. package/dist/index10.js +2 -2
  6. package/dist/index11.js +50 -38
  7. package/dist/index12.js +1 -1
  8. package/dist/index13.js +3 -3
  9. package/dist/index14.js +2 -2
  10. package/dist/index15.js +2 -2
  11. package/dist/index16.js +2 -2
  12. package/dist/index17.js +2 -2
  13. package/dist/index18.js +2 -2
  14. package/dist/index19.js +1 -1
  15. package/dist/index2.js +3 -3
  16. package/dist/index20.js +1 -1
  17. package/dist/index21.js +2 -2
  18. package/dist/index22.js +2 -2
  19. package/dist/index23.js +2 -2
  20. package/dist/index24.js +1 -1
  21. package/dist/index25.js +2 -2
  22. package/dist/index26.js +1 -1
  23. package/dist/index27.js +1 -1
  24. package/dist/index28.js +1 -1
  25. package/dist/index29.js +1 -1
  26. package/dist/index3.js +1 -1
  27. package/dist/index30.js +1 -1
  28. package/dist/index37.js +1 -1
  29. package/dist/index39.js +1 -1
  30. package/dist/index4.js +1 -1
  31. package/dist/index40.js +1 -1
  32. package/dist/index41.js +1 -1
  33. package/dist/index42.js +1 -1
  34. package/dist/index43.js +1 -1
  35. package/dist/index44.js +1 -1
  36. package/dist/index5.js +1 -1
  37. package/dist/index50.js +1 -1
  38. package/dist/index52.js +2 -2
  39. package/dist/index53.js +1 -1
  40. package/dist/index54.js +1 -1
  41. package/dist/index56.js +92 -79
  42. package/dist/index57.js +38 -13
  43. package/dist/index58.js +13 -10
  44. package/dist/index59.js +10 -16
  45. package/dist/index6.js +1 -1
  46. package/dist/index60.js +16 -10
  47. package/dist/index61.js +10 -8
  48. package/dist/index62.js +8 -58
  49. package/dist/index63.js +58 -5
  50. package/dist/index64.js +5 -3
  51. package/dist/index65.js +3 -45
  52. package/dist/index66.js +42 -23
  53. package/dist/index67.js +24 -30
  54. package/dist/index68.js +31 -90
  55. package/dist/index69.js +91 -22
  56. package/dist/index7.js +1 -1
  57. package/dist/index70.js +19 -43
  58. package/dist/index71.js +45 -13
  59. package/dist/index72.js +14 -35
  60. package/dist/index73.js +33 -62
  61. package/dist/index74.js +61 -81
  62. package/dist/index75.js +84 -14
  63. package/dist/index76.js +12 -2261
  64. package/dist/index77.js +2262 -6
  65. package/dist/index78.js +10 -0
  66. package/dist/index8.js +2 -2
  67. package/dist/index9.js +1 -1
  68. package/package.json +1 -1
@@ -9,6 +9,8 @@ export interface DeckWidget {
9
9
  position: GridPosition;
10
10
  config?: Record<string, unknown>;
11
11
  title?: string;
12
+ /** Persisted widget-level state (e.g., viewMode, sortBy) */
13
+ state?: Record<string, unknown>;
12
14
  }
13
15
  /**
14
16
  * Deck layout (saveable)
@@ -66,6 +68,10 @@ export interface DeckContextValue {
66
68
  updateWidgetTitle: (widgetId: string, title: string) => void;
67
69
  /** Change widget type while preserving position */
68
70
  changeWidgetType: (widgetId: string, newType: string) => void;
71
+ /** Update a single widget state value */
72
+ updateWidgetState: (widgetId: string, key: string, value: unknown) => void;
73
+ /** Get widget state accessor for a specific widget */
74
+ getWidgetState: (widgetId: string) => Record<string, unknown>;
69
75
  dragState: Accessor<DragState | null>;
70
76
  startDrag: (widgetId: string, startX: number, startY: number) => void;
71
77
  updateDrag: (currentPosition: GridPosition, pixelOffset: {
@@ -0,0 +1,47 @@
1
+ import { type Accessor, type JSX } from 'solid-js';
2
+ /**
3
+ * Widget state context value
4
+ * Provides scoped state management for individual widget instances
5
+ */
6
+ export interface WidgetStateContextValue {
7
+ /** Current widget ID */
8
+ widgetId: string;
9
+ /** Get a state value by key */
10
+ get: <T>(key: string) => T | undefined;
11
+ /** Set a state value by key */
12
+ set: <T>(key: string, value: T) => void;
13
+ /** Get all state as a record */
14
+ getAll: () => Record<string, unknown>;
15
+ }
16
+ export interface WidgetStateProviderProps {
17
+ widgetId: string;
18
+ state: Accessor<Record<string, unknown>>;
19
+ onStateChange: (key: string, value: unknown) => void;
20
+ children: JSX.Element;
21
+ }
22
+ /**
23
+ * Provider that scopes state to a specific widget instance
24
+ */
25
+ export declare function WidgetStateProvider(props: WidgetStateProviderProps): JSX.Element;
26
+ /**
27
+ * Access the current widget's state context
28
+ * Must be used within a WidgetStateProvider
29
+ */
30
+ export declare function useWidgetStateContext(): WidgetStateContextValue;
31
+ /**
32
+ * Hook to manage a single piece of widget state
33
+ * Automatically scoped to the current widget instance
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * function FileBrowser() {
38
+ * const [viewMode, setViewMode] = useWidgetState('viewMode', 'list');
39
+ * return <div>{viewMode()}</div>;
40
+ * }
41
+ * ```
42
+ */
43
+ export declare function useWidgetState<T>(key: string, defaultValue: T): [Accessor<T>, (value: T) => void];
44
+ /**
45
+ * Hook to access the current widget's ID
46
+ */
47
+ export declare function useCurrentWidgetId(): string;
@@ -7,3 +7,4 @@ export { NotificationProvider, useNotification, createNotificationService, Notif
7
7
  export { ComponentRegistryProvider, useComponentRegistry, useComponentContextFactory, createComponentRegistry, type FloeComponent, type ComponentContext, type CommandContribution, type StatusBarContribution, type ComponentRegistryValue, } from './ComponentRegistry';
8
8
  export { WidgetRegistryProvider, useWidgetRegistry, createWidgetRegistry, type WidgetDefinition, type WidgetProps, type WidgetRegistryValue, } from './WidgetRegistry';
9
9
  export { DeckProvider, useDeck, createDeckService, type DeckWidget, type DeckLayout, type DragState, type ResizeState, type DeckContextValue, } from './DeckContext';
10
+ export { WidgetStateProvider, useWidgetStateContext, useWidgetState, useCurrentWidgetId, type WidgetStateContextValue, type WidgetStateProviderProps, } from './WidgetStateContext';
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { Shell as r } from "./index2.js";
1
+ import { Shell as o } from "./index2.js";
2
2
  import { ActivityBar as i } from "./index3.js";
3
3
  import { Sidebar as n, SidebarContent as m, SidebarItem as p, SidebarItemList as d, SidebarSection as f } from "./index4.js";
4
4
  import { TopBar as x } from "./index5.js";
5
- import { BottomBar as c, BottomBarItem as C, StatusIndicator as g } from "./index6.js";
5
+ import { BottomBar as c, BottomBarItem as g, StatusIndicator as C } from "./index6.js";
6
6
  import { MobileTabBar as S } from "./index7.js";
7
7
  import { ResizeHandle as h } from "./index8.js";
8
- import { Panel as I, PanelContent as D, PanelHeader as b } from "./index9.js";
8
+ import { Panel as y, PanelContent as v, PanelHeader as D } from "./index9.js";
9
9
  import { DECK_GRID_CONFIG as T, DeckGrid as P } from "./index10.js";
10
10
  import { DeckCell as L } from "./index11.js";
11
- import { WidgetFrame as k } from "./index12.js";
11
+ import { WidgetFrame as R } from "./index12.js";
12
12
  import { WidgetResizeHandle as G } from "./index13.js";
13
13
  import { WidgetPalette as M } from "./index14.js";
14
14
  import { WidgetTypeSwitcher as z } from "./index15.js";
@@ -19,66 +19,67 @@ import { Button as Q } from "./index19.js";
19
19
  import { Input as X, Textarea as Z } from "./index20.js";
20
20
  import { ConfirmDialog as q, Dialog as J } from "./index21.js";
21
21
  import { FloatingWindow as $ } from "./index22.js";
22
- import { Dropdown as oe, Select as re } from "./index23.js";
22
+ import { Dropdown as re, Select as oe } from "./index23.js";
23
23
  import { Tooltip as ie } from "./index24.js";
24
24
  import { CommandPalette as ne } from "./index25.js";
25
- import { AnimatedBorderCard as pe, Card as de, CardContent as fe, CardDescription as le, CardFooter as xe, CardHeader as se, CardTitle as ce, Interactive3DCard as Ce, MorphCard as ge, NeonCard as ue } from "./index26.js";
25
+ import { AnimatedBorderCard as pe, Card as de, CardContent as fe, CardDescription as le, CardFooter as xe, CardHeader as se, CardTitle as ce, Interactive3DCard as ge, MorphCard as Ce, NeonCard as ue } from "./index26.js";
26
26
  import { TabPanel as Fe, Tabs as he } from "./index27.js";
27
- import { SnakeLoader as Ie } from "./index28.js";
28
- import { LoadingOverlay as be } from "./index29.js";
27
+ import { SnakeLoader as ye } from "./index28.js";
28
+ import { LoadingOverlay as De } from "./index29.js";
29
29
  import { Skeleton as Te, SkeletonCard as Pe, SkeletonList as Be, SkeletonText as Le } from "./index30.js";
30
- import { ArrowRightLeft as ke, Bell as We, Check as Ge, ChevronDown as we, ChevronRight as Me, Copy as Ne, Files as ze, GitBranch as Ae, Grid as Oe, Grid3x3 as Ke, GripVertical as He, LayoutDashboard as Ve, Loader2 as _e, Maximize as Ee, Minus as Qe, Moon as Ue, Pencil as Xe, Plus as Ze, Restore as je, Search as qe, Settings as Je, Sun as Ye, Terminal as $e, Trash as eo, X as oo } from "./index31.js";
31
- import { Launchpad as to } from "./index32.js";
32
- import { LaunchpadItem as ao } from "./index33.js";
33
- import { LaunchpadGrid as mo } from "./index34.js";
34
- import { LaunchpadSearch as fo } from "./index35.js";
35
- import { LaunchpadPagination as xo } from "./index36.js";
36
- import { FileBrowser as co } from "./index37.js";
37
- import { FileBrowserProvider as go, useFileBrowser as uo } from "./index38.js";
38
- import { DirectoryTree as Fo } from "./index39.js";
39
- import { FileListView as yo } from "./index40.js";
40
- import { FileGridView as Do } from "./index41.js";
41
- import { FileContextMenu as vo } from "./index42.js";
42
- import { Breadcrumb as Po } from "./index43.js";
43
- import { FileBrowserToolbar as Lo } from "./index44.js";
44
- import { CodeFileIcon as ko, ConfigFileIcon as Wo, DocumentFileIcon as Go, FileIcon as wo, FolderIcon as Mo, FolderOpenIcon as No, ImageFileIcon as zo, StyleFileIcon as Ao, getFileIcon as Oo } from "./index45.js";
45
- import { FloeProvider as Ho } from "./index46.js";
46
- import { FloeApp as _o } from "./index47.js";
47
- import { createSimpleContext as Qo } from "./index48.js";
48
- import { DEFAULT_FLOE_CONFIG as Xo, FloeConfigProvider as Zo, useFloeConfig as jo, useResolvedFloeConfig as qo } from "./index49.js";
49
- import { ThemeProvider as Yo, createThemeService as $o, useTheme as er } from "./index50.js";
50
- import { LayoutProvider as rr, createLayoutService as tr, useLayout as ir } from "./index51.js";
51
- import { CommandProvider as nr, createCommandService as mr, useCommand as pr } from "./index52.js";
52
- import { NotificationContainer as fr, NotificationProvider as lr, createNotificationService as xr, useNotification as sr } from "./index53.js";
53
- import { ComponentRegistryProvider as Cr, createComponentRegistry as gr, useComponentContextFactory as ur, useComponentRegistry as Sr } from "./index54.js";
54
- import { WidgetRegistryProvider as hr, createWidgetRegistry as yr, useWidgetRegistry as Ir } from "./index55.js";
55
- import { DeckProvider as br, createDeckService as vr, useDeck as Tr } from "./index56.js";
56
- import { useMediaQuery as Br } from "./index57.js";
57
- import { useDebounce as Rr } from "./index58.js";
58
- import { useResizeObserver as Wr } from "./index59.js";
59
- import { useKeybind as wr } from "./index60.js";
60
- import { usePersisted as Nr } from "./index61.js";
61
- import { useDeckDrag as Ar } from "./index62.js";
62
- import { cn as Kr } from "./index63.js";
63
- import { deferNonBlocking as Vr } from "./index64.js";
64
- import { clearAll as Er, debouncedSave as Qr, load as Ur, remove as Xr, save as Zr } from "./index65.js";
65
- import { formatKeybind as qr, matchKeybind as Jr, parseKeybind as Yr } from "./index66.js";
66
- import { lockBodyStyle as et } from "./index67.js";
67
- import { duration as rt, easing as tt, fadeIn as it, listContainer as at, listItem as nt, panelResize as mt, popIn as pt, scaleIn as dt, sidebarVariants as ft, slideInFromBottom as lt, slideInFromLeft as xt, slideInFromRight as st, slideInFromTop as ct, springConfig as Ct } from "./index68.js";
68
- import { checkCollision as ut, constrainPosition as St, findFreePosition as Ft, hasCollision as ht } from "./index69.js";
69
- import { applyDragDelta as It, applyResizeDelta as Dt, getGridCellSize as bt, pixelDeltaToGridDelta as vt, positionToGridArea as Tt, snapToGrid as Pt } from "./index70.js";
70
- import { applyTheme as Lt, builtInThemes as Rt, getSystemTheme as kt } from "./index71.js";
71
- import { FilesSidebarWidget as Gt, SearchSidebarWidget as wt, SettingsSidebarWidget as Mt, ShowcaseSidebarWidget as Nt, SidebarWidget as zt } from "./index72.js";
72
- import { MetricsWidget as Ot } from "./index73.js";
73
- import { TerminalWidget as Ht } from "./index74.js";
30
+ import { ArrowRightLeft as Re, Bell as ke, Check as Ge, ChevronDown as we, ChevronRight as Me, Copy as Ne, Files as ze, GitBranch as Ae, Grid as Oe, Grid3x3 as Ke, GripVertical as He, LayoutDashboard as Ve, Loader2 as _e, Maximize as Ee, Minus as Qe, Moon as Ue, Pencil as Xe, Plus as Ze, Restore as je, Search as qe, Settings as Je, Sun as Ye, Terminal as $e, Trash as er, X as rr } from "./index31.js";
31
+ import { Launchpad as tr } from "./index32.js";
32
+ import { LaunchpadItem as ar } from "./index33.js";
33
+ import { LaunchpadGrid as mr } from "./index34.js";
34
+ import { LaunchpadSearch as dr } from "./index35.js";
35
+ import { LaunchpadPagination as lr } from "./index36.js";
36
+ import { FileBrowser as sr } from "./index37.js";
37
+ import { FileBrowserProvider as gr, useFileBrowser as Cr } from "./index38.js";
38
+ import { DirectoryTree as Sr } from "./index39.js";
39
+ import { FileListView as hr } from "./index40.js";
40
+ import { FileGridView as yr } from "./index41.js";
41
+ import { FileContextMenu as Dr } from "./index42.js";
42
+ import { Breadcrumb as Tr } from "./index43.js";
43
+ import { FileBrowserToolbar as Br } from "./index44.js";
44
+ import { CodeFileIcon as Wr, ConfigFileIcon as Rr, DocumentFileIcon as kr, FileIcon as Gr, FolderIcon as wr, FolderOpenIcon as Mr, ImageFileIcon as Nr, StyleFileIcon as zr, getFileIcon as Ar } from "./index45.js";
45
+ import { FloeProvider as Kr } from "./index46.js";
46
+ import { FloeApp as Vr } from "./index47.js";
47
+ import { createSimpleContext as Er } from "./index48.js";
48
+ import { DEFAULT_FLOE_CONFIG as Ur, FloeConfigProvider as Xr, useFloeConfig as Zr, useResolvedFloeConfig as jr } from "./index49.js";
49
+ import { ThemeProvider as Jr, createThemeService as Yr, useTheme as $r } from "./index50.js";
50
+ import { LayoutProvider as ro, createLayoutService as oo, useLayout as to } from "./index51.js";
51
+ import { CommandProvider as ao, createCommandService as no, useCommand as mo } from "./index52.js";
52
+ import { NotificationContainer as fo, NotificationProvider as lo, createNotificationService as xo, useNotification as so } from "./index53.js";
53
+ import { ComponentRegistryProvider as go, createComponentRegistry as Co, useComponentContextFactory as uo, useComponentRegistry as So } from "./index54.js";
54
+ import { WidgetRegistryProvider as ho, createWidgetRegistry as Io, useWidgetRegistry as yo } from "./index55.js";
55
+ import { DeckProvider as Do, createDeckService as bo, useDeck as To } from "./index56.js";
56
+ import { WidgetStateProvider as Bo, useCurrentWidgetId as Lo, useWidgetState as Wo, useWidgetStateContext as Ro } from "./index57.js";
57
+ import { useMediaQuery as Go } from "./index58.js";
58
+ import { useDebounce as Mo } from "./index59.js";
59
+ import { useResizeObserver as zo } from "./index60.js";
60
+ import { useKeybind as Oo } from "./index61.js";
61
+ import { usePersisted as Ho } from "./index62.js";
62
+ import { useDeckDrag as _o } from "./index63.js";
63
+ import { cn as Qo } from "./index64.js";
64
+ import { deferNonBlocking as Xo } from "./index65.js";
65
+ import { clearAll as jo, debouncedSave as qo, load as Jo, remove as Yo, save as $o } from "./index66.js";
66
+ import { formatKeybind as rt, matchKeybind as ot, parseKeybind as tt } from "./index67.js";
67
+ import { lockBodyStyle as at } from "./index68.js";
68
+ import { duration as mt, easing as pt, fadeIn as dt, listContainer as ft, listItem as lt, panelResize as xt, popIn as st, scaleIn as ct, sidebarVariants as gt, slideInFromBottom as Ct, slideInFromLeft as ut, slideInFromRight as St, slideInFromTop as Ft, springConfig as ht } from "./index69.js";
69
+ import { checkCollision as yt, constrainPosition as vt, findFreePosition as Dt, hasCollision as bt } from "./index70.js";
70
+ import { applyDragDelta as Pt, applyResizeDelta as Bt, getGridCellSize as Lt, pixelDeltaToGridDelta as Wt, positionToGridArea as Rt, snapToGrid as kt } from "./index71.js";
71
+ import { applyTheme as wt, builtInThemes as Mt, getSystemTheme as Nt } from "./index72.js";
72
+ import { FilesSidebarWidget as At, SearchSidebarWidget as Ot, SettingsSidebarWidget as Kt, ShowcaseSidebarWidget as Ht, SidebarWidget as Vt } from "./index73.js";
73
+ import { MetricsWidget as Et } from "./index74.js";
74
+ import { TerminalWidget as Ut } from "./index75.js";
74
75
  export {
75
76
  i as ActivityBar,
76
77
  pe as AnimatedBorderCard,
77
- ke as ArrowRightLeft,
78
- We as Bell,
78
+ Re as ArrowRightLeft,
79
+ ke as Bell,
79
80
  c as BottomBar,
80
- C as BottomBarItem,
81
- Po as Breadcrumb,
81
+ g as BottomBarItem,
82
+ Tr as Breadcrumb,
82
83
  Q as Button,
83
84
  de as Card,
84
85
  fe as CardContent,
@@ -89,170 +90,174 @@ export {
89
90
  Ge as Check,
90
91
  we as ChevronDown,
91
92
  Me as ChevronRight,
92
- ko as CodeFileIcon,
93
+ Wr as CodeFileIcon,
93
94
  ne as CommandPalette,
94
- nr as CommandProvider,
95
- Cr as ComponentRegistryProvider,
96
- Wo as ConfigFileIcon,
95
+ ao as CommandProvider,
96
+ go as ComponentRegistryProvider,
97
+ Rr as ConfigFileIcon,
97
98
  q as ConfirmDialog,
98
99
  Ne as Copy,
99
100
  T as DECK_GRID_CONFIG,
100
- Xo as DEFAULT_FLOE_CONFIG,
101
+ Ur as DEFAULT_FLOE_CONFIG,
101
102
  L as DeckCell,
102
103
  P as DeckGrid,
103
- br as DeckProvider,
104
+ Do as DeckProvider,
104
105
  H as DeckTopBar,
105
106
  J as Dialog,
106
- Fo as DirectoryTree,
107
- Go as DocumentFileIcon,
107
+ Sr as DirectoryTree,
108
+ kr as DocumentFileIcon,
108
109
  _ as DropZonePreview,
109
- oe as Dropdown,
110
- co as FileBrowser,
111
- go as FileBrowserProvider,
112
- Lo as FileBrowserToolbar,
113
- vo as FileContextMenu,
114
- Do as FileGridView,
115
- wo as FileIcon,
116
- yo as FileListView,
110
+ re as Dropdown,
111
+ sr as FileBrowser,
112
+ gr as FileBrowserProvider,
113
+ Br as FileBrowserToolbar,
114
+ Dr as FileContextMenu,
115
+ yr as FileGridView,
116
+ Gr as FileIcon,
117
+ hr as FileListView,
117
118
  ze as Files,
118
- Gt as FilesSidebarWidget,
119
+ At as FilesSidebarWidget,
119
120
  $ as FloatingWindow,
120
- _o as FloeApp,
121
- Zo as FloeConfigProvider,
122
- Ho as FloeProvider,
123
- Mo as FolderIcon,
124
- No as FolderOpenIcon,
121
+ Vr as FloeApp,
122
+ Xr as FloeConfigProvider,
123
+ Kr as FloeProvider,
124
+ wr as FolderIcon,
125
+ Mr as FolderOpenIcon,
125
126
  Ae as GitBranch,
126
127
  Oe as Grid,
127
128
  Ke as Grid3x3,
128
129
  He as GripVertical,
129
- zo as ImageFileIcon,
130
+ Nr as ImageFileIcon,
130
131
  X as Input,
131
- Ce as Interactive3DCard,
132
- to as Launchpad,
133
- mo as LaunchpadGrid,
134
- ao as LaunchpadItem,
135
- xo as LaunchpadPagination,
136
- fo as LaunchpadSearch,
132
+ ge as Interactive3DCard,
133
+ tr as Launchpad,
134
+ mr as LaunchpadGrid,
135
+ ar as LaunchpadItem,
136
+ lr as LaunchpadPagination,
137
+ dr as LaunchpadSearch,
137
138
  Ve as LayoutDashboard,
138
- rr as LayoutProvider,
139
+ ro as LayoutProvider,
139
140
  O as LayoutSelector,
140
141
  _e as Loader2,
141
- be as LoadingOverlay,
142
+ De as LoadingOverlay,
142
143
  Ee as Maximize,
143
- Ot as MetricsWidget,
144
+ Et as MetricsWidget,
144
145
  Qe as Minus,
145
146
  S as MobileTabBar,
146
147
  Ue as Moon,
147
- ge as MorphCard,
148
+ Ce as MorphCard,
148
149
  ue as NeonCard,
149
- fr as NotificationContainer,
150
- lr as NotificationProvider,
151
- I as Panel,
152
- D as PanelContent,
153
- b as PanelHeader,
150
+ fo as NotificationContainer,
151
+ lo as NotificationProvider,
152
+ y as Panel,
153
+ v as PanelContent,
154
+ D as PanelHeader,
154
155
  Xe as Pencil,
155
156
  Ze as Plus,
156
157
  h as ResizeHandle,
157
158
  je as Restore,
158
159
  qe as Search,
159
- wt as SearchSidebarWidget,
160
- re as Select,
160
+ Ot as SearchSidebarWidget,
161
+ oe as Select,
161
162
  Je as Settings,
162
- Mt as SettingsSidebarWidget,
163
- r as Shell,
164
- Nt as ShowcaseSidebarWidget,
163
+ Kt as SettingsSidebarWidget,
164
+ o as Shell,
165
+ Ht as ShowcaseSidebarWidget,
165
166
  n as Sidebar,
166
167
  m as SidebarContent,
167
168
  p as SidebarItem,
168
169
  d as SidebarItemList,
169
170
  f as SidebarSection,
170
- zt as SidebarWidget,
171
+ Vt as SidebarWidget,
171
172
  Te as Skeleton,
172
173
  Pe as SkeletonCard,
173
174
  Be as SkeletonList,
174
175
  Le as SkeletonText,
175
- Ie as SnakeLoader,
176
- g as StatusIndicator,
177
- Ao as StyleFileIcon,
176
+ ye as SnakeLoader,
177
+ C as StatusIndicator,
178
+ zr as StyleFileIcon,
178
179
  Ye as Sun,
179
180
  Fe as TabPanel,
180
181
  he as Tabs,
181
182
  $e as Terminal,
182
- Ht as TerminalWidget,
183
+ Ut as TerminalWidget,
183
184
  Z as Textarea,
184
- Yo as ThemeProvider,
185
+ Jr as ThemeProvider,
185
186
  ie as Tooltip,
186
187
  x as TopBar,
187
- eo as Trash,
188
- k as WidgetFrame,
188
+ er as Trash,
189
+ R as WidgetFrame,
189
190
  M as WidgetPalette,
190
- hr as WidgetRegistryProvider,
191
+ ho as WidgetRegistryProvider,
191
192
  G as WidgetResizeHandle,
193
+ Bo as WidgetStateProvider,
192
194
  z as WidgetTypeSwitcher,
193
- oo as X,
194
- It as applyDragDelta,
195
- Dt as applyResizeDelta,
196
- Lt as applyTheme,
197
- Rt as builtInThemes,
198
- ut as checkCollision,
199
- Er as clearAll,
200
- Kr as cn,
201
- St as constrainPosition,
202
- mr as createCommandService,
203
- gr as createComponentRegistry,
204
- vr as createDeckService,
205
- tr as createLayoutService,
206
- xr as createNotificationService,
207
- Qo as createSimpleContext,
208
- $o as createThemeService,
209
- yr as createWidgetRegistry,
210
- Qr as debouncedSave,
211
- Vr as deferNonBlocking,
212
- rt as duration,
213
- tt as easing,
214
- it as fadeIn,
215
- Ft as findFreePosition,
216
- qr as formatKeybind,
217
- Oo as getFileIcon,
218
- bt as getGridCellSize,
219
- kt as getSystemTheme,
220
- ht as hasCollision,
221
- at as listContainer,
222
- nt as listItem,
223
- Ur as load,
224
- et as lockBodyStyle,
225
- Jr as matchKeybind,
226
- mt as panelResize,
227
- Yr as parseKeybind,
228
- vt as pixelDeltaToGridDelta,
229
- pt as popIn,
230
- Tt as positionToGridArea,
231
- Xr as remove,
232
- Zr as save,
233
- dt as scaleIn,
234
- ft as sidebarVariants,
235
- lt as slideInFromBottom,
236
- xt as slideInFromLeft,
237
- st as slideInFromRight,
238
- ct as slideInFromTop,
239
- Pt as snapToGrid,
240
- Ct as springConfig,
241
- pr as useCommand,
242
- ur as useComponentContextFactory,
243
- Sr as useComponentRegistry,
244
- Rr as useDebounce,
245
- Tr as useDeck,
246
- Ar as useDeckDrag,
247
- uo as useFileBrowser,
248
- jo as useFloeConfig,
249
- wr as useKeybind,
250
- ir as useLayout,
251
- Br as useMediaQuery,
252
- sr as useNotification,
253
- Nr as usePersisted,
254
- Wr as useResizeObserver,
255
- qo as useResolvedFloeConfig,
256
- er as useTheme,
257
- Ir as useWidgetRegistry
195
+ rr as X,
196
+ Pt as applyDragDelta,
197
+ Bt as applyResizeDelta,
198
+ wt as applyTheme,
199
+ Mt as builtInThemes,
200
+ yt as checkCollision,
201
+ jo as clearAll,
202
+ Qo as cn,
203
+ vt as constrainPosition,
204
+ no as createCommandService,
205
+ Co as createComponentRegistry,
206
+ bo as createDeckService,
207
+ oo as createLayoutService,
208
+ xo as createNotificationService,
209
+ Er as createSimpleContext,
210
+ Yr as createThemeService,
211
+ Io as createWidgetRegistry,
212
+ qo as debouncedSave,
213
+ Xo as deferNonBlocking,
214
+ mt as duration,
215
+ pt as easing,
216
+ dt as fadeIn,
217
+ Dt as findFreePosition,
218
+ rt as formatKeybind,
219
+ Ar as getFileIcon,
220
+ Lt as getGridCellSize,
221
+ Nt as getSystemTheme,
222
+ bt as hasCollision,
223
+ ft as listContainer,
224
+ lt as listItem,
225
+ Jo as load,
226
+ at as lockBodyStyle,
227
+ ot as matchKeybind,
228
+ xt as panelResize,
229
+ tt as parseKeybind,
230
+ Wt as pixelDeltaToGridDelta,
231
+ st as popIn,
232
+ Rt as positionToGridArea,
233
+ Yo as remove,
234
+ $o as save,
235
+ ct as scaleIn,
236
+ gt as sidebarVariants,
237
+ Ct as slideInFromBottom,
238
+ ut as slideInFromLeft,
239
+ St as slideInFromRight,
240
+ Ft as slideInFromTop,
241
+ kt as snapToGrid,
242
+ ht as springConfig,
243
+ mo as useCommand,
244
+ uo as useComponentContextFactory,
245
+ So as useComponentRegistry,
246
+ Lo as useCurrentWidgetId,
247
+ Mo as useDebounce,
248
+ To as useDeck,
249
+ _o as useDeckDrag,
250
+ Cr as useFileBrowser,
251
+ Zr as useFloeConfig,
252
+ Oo as useKeybind,
253
+ to as useLayout,
254
+ Go as useMediaQuery,
255
+ so as useNotification,
256
+ Ho as usePersisted,
257
+ zo as useResizeObserver,
258
+ jr as useResolvedFloeConfig,
259
+ $r as useTheme,
260
+ yo as useWidgetRegistry,
261
+ Wo as useWidgetState,
262
+ Ro as useWidgetStateContext
258
263
  };
package/dist/index10.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { template as f, insert as d, createComponent as s, effect as I, className as y, setStyleProperty as D } from "solid-js/web";
2
2
  import { createMemo as o, Show as m, For as S } from "solid-js";
3
- import { cn as O } from "./index63.js";
3
+ import { cn as O } from "./index64.js";
4
4
  import { useDeck as P } from "./index56.js";
5
- import { hasCollision as R } from "./index69.js";
5
+ import { hasCollision as R } from "./index70.js";
6
6
  import { DeckCell as z } from "./index11.js";
7
7
  import { DropZonePreview as C } from "./index18.js";
8
8
  var G = /* @__PURE__ */ f('<div class="absolute inset-0 pointer-events-none z-0 rounded"style="padding:inherit;background-origin:content-box;background-clip:content-box;background-image:linear-gradient(to right, color-mix(in srgb, var(--border) 15%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--border) 15%, transparent) 1px, transparent 1px) ;background-size:calc((100% - 92px) / 24 + 4px) 44px;background-position:0 0">'), _ = /* @__PURE__ */ f('<div data-grid-cols=24 data-row-height=40 data-gap=4 style="scrollbar-gutter:stable;grid-template-columns:repeat(24, 1fr);grid-auto-rows:40px;gap:4px">');