@floegence/floe-webapp-core 0.36.69 → 0.36.71

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.
@@ -1,54 +1,54 @@
1
- /* Light theme - Warm paper aesthetic */
1
+ /* Light theme - Redeven warm paper aesthetic */
2
2
  :root,
3
3
  .light {
4
4
  color-scheme: light;
5
5
 
6
- /* Base - Warm beige paper (aligned with Console light theme) */
7
- --background: hsl(36 15% 93%);
8
- --foreground: hsl(215 40% 13%);
6
+ /* Base - Warm paper and blue-black ink */
7
+ --background: hsl(34 24% 94%);
8
+ --foreground: hsl(214 26% 17%);
9
9
 
10
10
  /* Primary - Deep blue-black ink */
11
- --primary: hsl(215 40% 13%);
12
- --primary-foreground: hsl(0 0% 98%);
11
+ --primary: hsl(214 26% 17%);
12
+ --primary-foreground: hsl(36 100% 99%);
13
13
 
14
14
  /* Secondary - Warm muted */
15
- --secondary: hsl(36 10% 88%);
16
- --secondary-foreground: hsl(215 30% 26%);
15
+ --secondary: hsl(36 15% 94%);
16
+ --secondary-foreground: hsl(214 25% 25%);
17
17
 
18
18
  /* Muted - Warm gray */
19
- --muted: hsl(36 10% 88%);
20
- --muted-foreground: hsl(215 20% 42%);
19
+ --muted: hsl(36 15% 94%);
20
+ --muted-foreground: hsl(215 16% 42%);
21
21
 
22
22
  /* Accent - Subtle warm highlight */
23
- --accent: hsl(36 10% 88%);
24
- --accent-foreground: hsl(215 40% 13%);
23
+ --accent: hsl(34 11% 88%);
24
+ --accent-foreground: hsl(214 26% 17%);
25
25
 
26
26
  /* Border - Warm gray */
27
- --border: hsl(36 10% 82%);
28
- --input: hsl(36 10% 82%);
29
- --ring: hsl(215 40% 13%);
30
- --chrome-border: var(--border);
27
+ --border: hsl(35 13% 82%);
28
+ --input: hsl(37 15% 76%);
29
+ --ring: hsl(214 26% 17%);
30
+ --chrome-border: hsl(33 11% 84%);
31
31
  --top-bar-border: var(--chrome-border);
32
32
  --activity-bar-border: var(--chrome-border);
33
33
  --bottom-bar-border: var(--chrome-border);
34
34
  --terminal-panel-border: var(--chrome-border);
35
35
 
36
36
  /* Card */
37
- --card: hsl(0 0% 100%);
38
- --card-foreground: hsl(215 40% 13%);
37
+ --card: hsl(36 100% 99%);
38
+ --card-foreground: hsl(214 26% 17%);
39
39
 
40
40
  /* Popover */
41
- --popover: hsl(0 0% 100%);
42
- --popover-foreground: hsl(215 40% 13%);
41
+ --popover: hsl(36 100% 99%);
42
+ --popover-foreground: hsl(214 26% 17%);
43
43
 
44
- /* Status colors - Using OKLCH for perceptual consistency */
44
+ /* Status colors */
45
45
  --success: oklch(0.68 0.16 150);
46
46
  --success-foreground: hsl(0 0% 100%);
47
- --warning: oklch(0.78 0.14 80);
48
- --warning-foreground: hsl(240 5% 10%);
47
+ --warning: hsl(38 92% 50%);
48
+ --warning-foreground: hsl(214 26% 17%);
49
49
  --error: oklch(0.65 0.2 25);
50
50
  --error-foreground: hsl(0 0% 100%);
51
- --info: oklch(0.65 0.13 250);
51
+ --info: hsl(217 91% 60%);
52
52
  --info-foreground: hsl(0 0% 100%);
53
53
 
54
54
  /* Highlight block accents - deeper than shared status tokens */
@@ -59,33 +59,33 @@
59
59
  --highlight-block-note-accent: oklch(0.52 0.16 285);
60
60
  --highlight-block-tip-accent: oklch(0.52 0.12 175);
61
61
 
62
- /* Sidebar - Slightly warmer */
63
- --sidebar: hsl(36 12% 91%);
64
- --sidebar-foreground: hsl(215 40% 13%);
65
- --sidebar-primary: hsl(215 40% 13%);
66
- --sidebar-primary-foreground: hsl(0 0% 98%);
67
- --sidebar-accent: hsl(36 12% 86%);
68
- --sidebar-accent-foreground: hsl(215 40% 13%);
69
- --sidebar-border: hsl(36 8% 84%);
70
- --sidebar-ring: hsl(215 40% 13%);
62
+ /* Sidebar */
63
+ --sidebar: hsl(36 13% 92%);
64
+ --sidebar-foreground: hsl(214 26% 17%);
65
+ --sidebar-primary: hsl(214 26% 17%);
66
+ --sidebar-primary-foreground: hsl(36 100% 99%);
67
+ --sidebar-accent: hsl(34 11% 88%);
68
+ --sidebar-accent-foreground: hsl(214 26% 17%);
69
+ --sidebar-border: hsl(33 11% 84%);
70
+ --sidebar-ring: hsl(214 26% 17%);
71
71
 
72
72
  /* Activity bar */
73
- --activity-bar: hsl(36 10% 90%);
74
- --activity-bar-foreground: hsl(215 20% 42%);
75
- --activity-bar-foreground-active: hsl(215 40% 13%);
76
- --activity-bar-badge: hsl(215 40% 13%);
77
- --activity-bar-badge-foreground: hsl(0 0% 98%);
73
+ --activity-bar: hsl(36 13% 92%);
74
+ --activity-bar-foreground: hsl(215 16% 42%);
75
+ --activity-bar-foreground-active: hsl(214 26% 17%);
76
+ --activity-bar-badge: hsl(214 26% 17%);
77
+ --activity-bar-badge-foreground: hsl(36 100% 99%);
78
78
 
79
79
  /* Terminal */
80
- --terminal-background: hsl(215 40% 13%);
80
+ --terminal-background: hsl(214 26% 17%);
81
81
  --terminal-foreground: hsl(0 0% 92%);
82
82
 
83
83
  /* Chart colors */
84
- --chart-1: hsl(215 40% 13%);
85
- --chart-2: hsl(36 15% 60%);
86
- --chart-3: oklch(0.65 0.13 250);
84
+ --chart-1: hsl(214 26% 17%);
85
+ --chart-2: hsl(215 16% 42%);
86
+ --chart-3: hsl(217 91% 60%);
87
87
  --chart-4: oklch(0.68 0.16 150);
88
- --chart-5: oklch(0.78 0.14 80);
88
+ --chart-5: hsl(38 92% 50%);
89
89
 
90
90
  /* ============================================
91
91
  Selection Colors
@@ -98,14 +98,14 @@
98
98
  */
99
99
 
100
100
  /* Default selection */
101
- --selection-bg: hsl(215 80% 55%);
101
+ --selection-bg: hsl(217 91% 60%);
102
102
  --selection-fg: hsl(0 0% 100%);
103
103
 
104
104
  /* Selection on primary backgrounds
105
- In light theme, primary is dark (hsl(215 40% 13%)),
106
- so we use a bright selection to keep contrast. */
107
- --selection-on-primary-bg: hsl(45 100% 55%);
108
- --selection-on-primary-fg: hsl(0 0% 0%);
105
+ In light theme, primary is dark (hsl(214 26% 17%)),
106
+ so we use a warm amber selection to keep contrast. */
107
+ --selection-on-primary-bg: hsl(38 92% 50%);
108
+ --selection-on-primary-fg: hsl(214 26% 17%);
109
109
 
110
110
  /* Code-block selection (code blocks use a dark background: #0d1117) */
111
111
  --selection-code-bg: hsl(212 100% 67%);
package/dist/ui.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { AffixInput as e, Input as t, NumberInput as a, Textarea as i } from "./components/ui/Input.js";
2
2
  import { AnimatedBorderCard as T, Card as c, CardContent as C, CardDescription as l, CardFooter as p, CardHeader as E, CardTitle as m, Interactive3DCard as s, MorphCard as _, NeonCard as f } from "./components/ui/Card.js";
3
3
  import { AreaChart as S, DataBarChart as R, DataPieChart as x, LineChart as d, MonitoringChart as L } from "./components/ui/Charts.js";
4
- import { Button as u } from "./components/ui/Button.js";
4
+ import { Button as g } from "./components/ui/Button.js";
5
5
  import { CANVAS_WHEEL_INTERACTIVE_ATTR as I, DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR as O, DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR as W, DEFAULT_WORKBENCH_TEXT_SELECTION_SURFACE_SELECTOR as P, DEFAULT_WORKBENCH_WIDGET_ACTIVATION_SURFACE_SELECTOR as D, DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR as N, LOCAL_INTERACTION_SURFACE_ATTR as h, WORKBENCH_TEXT_SELECTION_SURFACE_ATTR as v, WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR as B, WORKBENCH_WIDGET_SHELL_ATTR as k, isLocalInteractionSurfaceTarget as U, resolveSurfaceInteractionTargetRole as H, resolveSurfaceWheelRouting as b, resolveWorkbenchWidgetEventOwnership as w, resolveWorkbenchWidgetLocalTypingTarget as G, resolveWorkbenchWidgetTextSelectionTarget as V, shouldActivateWorkbenchWidgetLocalTarget as K } from "./components/ui/localInteractionSurface.js";
6
6
  import { Checkbox as y, CheckboxGroup as j, CheckboxList as z } from "./components/ui/Checkbox.js";
7
7
  import { CircularProgress as Y, LinearProgress as Q, SegmentedProgress as Z, StepsProgress as q } from "./components/ui/Progress.js";
@@ -11,7 +11,7 @@ import { DIALOG_SURFACE_BOUNDARY_ATTR as ar, DIALOG_SURFACE_HOST_ATTR as ir, SUR
11
11
  import { DirectoryInput as Sr } from "./components/ui/DirectoryInput.js";
12
12
  import { DirectoryPicker as xr } from "./components/ui/DirectoryPicker.js";
13
13
  import { Dropdown as Lr, Select as Fr } from "./components/ui/Dropdown.js";
14
- import { ErrorBlock as gr, HighlightBlock as Ir, InfoBlock as Or, NoteBlock as Wr, SuccessBlock as Pr, TipBlock as Dr, WarningBlock as Nr } from "./components/ui/HighlightBlock.js";
14
+ import { ErrorBlock as ur, HighlightBlock as Ir, InfoBlock as Or, NoteBlock as Wr, SuccessBlock as Pr, TipBlock as Dr, WarningBlock as Nr } from "./components/ui/HighlightBlock.js";
15
15
  import { FileSavePicker as vr } from "./components/ui/FileSavePicker.js";
16
16
  import { FloatingWindow as kr } from "./components/ui/FloatingWindow.js";
17
17
  import { Form as Hr, FormActions as br, FormControl as wr, FormDescription as Gr, FormDivider as Vr, FormField as Kr, FormLabel as Mr, FormMessage as yr, FormRow as jr, FormSection as zr, useFormSubmitting as Xr } from "./components/ui/Form.js";
@@ -27,15 +27,16 @@ import { SurfaceFloatingLayer as _o } from "./components/ui/SurfaceFloatingLayer
27
27
  import { Switch as Ao } from "./components/ui/Switch.js";
28
28
  import { TabPanel as Ro, Tabs as xo } from "./components/ui/Tabs.js";
29
29
  import { Tag as Fo } from "./components/ui/Tag.js";
30
- import { Tooltip as go } from "./components/ui/Tooltip.js";
30
+ import { Tooltip as uo } from "./components/ui/Tooltip.js";
31
31
  import { clientToCanvasLocal as Oo, clientToCanvasWorld as Wo, createViewportFromZoomAnchor as Po, isPointInsideCanvasRect as Do, localToCanvasWorld as No } from "./components/ui/canvasGeometry.js";
32
- import { resolveFloatingWindowViewport as vo } from "./components/ui/floatingWindowGeometry.js";
33
- import { startPointerSession as ko } from "./components/ui/pointerSession.js";
32
+ import { createFloatingPresence as vo } from "./components/ui/floatingPresence.js";
33
+ import { resolveFloatingWindowViewport as ko } from "./components/ui/floatingWindowGeometry.js";
34
+ import { startPointerSession as Ho } from "./components/ui/pointerSession.js";
34
35
  export {
35
36
  e as AffixInput,
36
37
  T as AnimatedBorderCard,
37
38
  S as AreaChart,
38
- u as Button,
39
+ g as Button,
39
40
  I as CANVAS_WHEEL_INTERACTIVE_ATTR,
40
41
  c as Card,
41
42
  C as CardContent,
@@ -62,7 +63,7 @@ export {
62
63
  Sr as DirectoryInput,
63
64
  xr as DirectoryPicker,
64
65
  Lr as Dropdown,
65
- gr as ErrorBlock,
66
+ ur as ErrorBlock,
66
67
  vr as FileSavePicker,
67
68
  kr as FloatingWindow,
68
69
  Hr as Form,
@@ -110,7 +111,7 @@ export {
110
111
  Fo as Tag,
111
112
  i as Textarea,
112
113
  Dr as TipBlock,
113
- go as Tooltip,
114
+ uo as Tooltip,
114
115
  v as WORKBENCH_TEXT_SELECTION_SURFACE_ATTR,
115
116
  B as WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR,
116
117
  k as WORKBENCH_WIDGET_SHELL_ATTR,
@@ -119,6 +120,7 @@ export {
119
120
  cr as __resetSurfacePortalScopeForTests,
120
121
  Oo as clientToCanvasLocal,
121
122
  Wo as clientToCanvasWorld,
123
+ vo as createFloatingPresence,
122
124
  Po as createViewportFromZoomAnchor,
123
125
  Cr as ensureSurfacePortalInteractionTracking,
124
126
  U as isLocalInteractionSurfaceTarget,
@@ -127,7 +129,7 @@ export {
127
129
  No as localToCanvasWorld,
128
130
  pr as projectSurfacePortalPosition,
129
131
  Er as projectSurfacePortalRect,
130
- vo as resolveFloatingWindowViewport,
132
+ ko as resolveFloatingWindowViewport,
131
133
  H as resolveSurfaceInteractionTargetRole,
132
134
  mr as resolveSurfacePortalBoundaryRect,
133
135
  sr as resolveSurfacePortalHost,
@@ -138,7 +140,7 @@ export {
138
140
  G as resolveWorkbenchWidgetLocalTypingTarget,
139
141
  V as resolveWorkbenchWidgetTextSelectionTarget,
140
142
  K as shouldActivateWorkbenchWidgetLocalTarget,
141
- ko as startPointerSession,
143
+ Ho as startPointerSession,
142
144
  Xr as useFormSubmitting,
143
145
  mo as useWizard
144
146
  };
@@ -121,7 +121,7 @@
121
121
  );
122
122
  --wb-font-display: var(--wb-font-body);
123
123
  --wb-font-mono: 'SF Mono', 'Cascadia Code', Menlo, Consolas, ui-monospace, monospace;
124
- --wb-accent: var(--primary, #3b82f6);
124
+ --wb-accent: var(--primary, #202a37);
125
125
  --wb-accent-strong: color-mix(in srgb, var(--wb-accent) 82%, black);
126
126
  --wb-accent-soft: color-mix(in srgb, var(--wb-accent) 12%, transparent);
127
127
  --wb-accent-ring: color-mix(in srgb, var(--wb-accent) 28%, transparent);
@@ -138,23 +138,31 @@
138
138
  --wb-atmosphere: none;
139
139
  --wb-atmosphere-opacity: 0;
140
140
  --wb-atmosphere-blend: normal;
141
- --wb-terminal-bg: linear-gradient(180deg, #1d1f2b 0%, #121322 100%);
142
- --wb-terminal-toolbar: rgba(0, 0, 0, 0.15);
143
- --wb-terminal-text: #d6dee7;
144
- --wb-terminal-muted: #7e87a4;
145
- --wb-terminal-prompt: #6bff8d;
146
- --wb-chart-cpu: #3b82f6;
147
- --wb-chart-memory: #f59e0b;
148
- --wb-chart-disk: #10b981;
149
- --wb-log-info: #3b82f6;
150
- --wb-log-warn: #f59e0b;
151
- --wb-log-error: #ef4444;
152
- --wb-log-debug: #94a3b8;
153
- --wb-syntax-keyword: #c678dd;
154
- --wb-syntax-string: #98c379;
155
- --wb-syntax-fn: #61afef;
156
- --wb-syntax-number: #d19a66;
157
- --wb-syntax-attr: #e5c07b;
141
+ --wb-terminal-bg: var(--terminal-background, #202a37);
142
+ --wb-terminal-toolbar: color-mix(
143
+ in srgb,
144
+ var(--terminal-background, #202a37) 88%,
145
+ var(--terminal-foreground, #d6dee7)
146
+ );
147
+ --wb-terminal-text: var(--terminal-foreground, #d6dee7);
148
+ --wb-terminal-muted: color-mix(
149
+ in srgb,
150
+ var(--terminal-foreground, #d6dee7) 58%,
151
+ var(--terminal-background, #202a37)
152
+ );
153
+ --wb-terminal-prompt: var(--success, #10b981);
154
+ --wb-chart-cpu: var(--info, #3b82f6);
155
+ --wb-chart-memory: var(--warning, #f59e0b);
156
+ --wb-chart-disk: var(--success, #10b981);
157
+ --wb-log-info: var(--info, #3b82f6);
158
+ --wb-log-warn: var(--warning, #f59e0b);
159
+ --wb-log-error: var(--error, #ef4444);
160
+ --wb-log-debug: var(--muted-foreground, #64748b);
161
+ --wb-syntax-keyword: var(--info, #3b82f6);
162
+ --wb-syntax-string: var(--success, #10b981);
163
+ --wb-syntax-fn: var(--info, #3b82f6);
164
+ --wb-syntax-number: var(--warning, #f59e0b);
165
+ --wb-syntax-attr: var(--muted-foreground, #64748b);
158
166
  }
159
167
 
160
168
  .workbench-surface__body {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floegence/floe-webapp-core",
3
- "version": "0.36.69",
3
+ "version": "0.36.71",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",