@floegence/floe-webapp-core 0.90.11 → 0.91.0

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/surface.css CHANGED
@@ -216,6 +216,23 @@
216
216
  }
217
217
  }
218
218
 
219
+ /* One filled face travels between segmented choices. Labels and native state
220
+ * update immediately; only this decorative face moves, including on reversal. */
221
+ .floe-segmented-control__pill {
222
+ position: absolute; inset: 0 auto auto 0; pointer-events: none;
223
+ border: 1px solid var(--primary);
224
+ background: var(--primary);
225
+ }
226
+ :root .floe-segmented-control[data-floe-segmented-pill] .floe-segmented-control__item[aria-checked='true'] {
227
+ background: transparent; border-color: transparent; box-shadow: none;
228
+ }
229
+ @media (prefers-reduced-motion: reduce) {
230
+ .floe-segmented-control__pill { transition: none; }
231
+ }
232
+ @media (forced-colors: active) {
233
+ .floe-segmented-control__pill { background: Highlight; border-color: Highlight; forced-color-adjust: none; transition: none; }
234
+ }
235
+
219
236
  /* A compound input has one decorative boundary, including host compositions
220
237
  * that contain an Input component. Dense nested actions stay flat. */
221
238
  [data-floe-input-surface] [data-floe-surface],
package/dist/ui.js CHANGED
@@ -2,7 +2,7 @@ import { Accordion as r } from "./components/ui/Accordion.js";
2
2
  import { AffixInput as a, Input as i, NumberInput as n, Textarea as l } from "./components/ui/Input.js";
3
3
  import { AreaChart as m, DataBarChart as p, DataPieChart as f, LineChart as T, MonitoringChart as s } from "./components/ui/Charts.js";
4
4
  import { Breadcrumb as C } from "./components/ui/Breadcrumb.js";
5
- import { Button as E } from "./components/ui/Button.js";
5
+ import { Button as d } from "./components/ui/Button.js";
6
6
  import { CANVAS_WHEEL_INTERACTIVE_ATTR as _, DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR as R, DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR as u, DEFAULT_WORKBENCH_TEXT_SELECTION_SURFACE_SELECTOR as A, DEFAULT_WORKBENCH_WIDGET_ACTIVATION_SURFACE_SELECTOR as g, DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR as F, LOCAL_INTERACTION_SURFACE_ATTR as L, WORKBENCH_TEXT_SELECTION_SURFACE_ATTR as P, WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR as I, WORKBENCH_WIDGET_SHELL_ATTR as b, isLocalInteractionSurfaceTarget as D, resolveSurfaceInteractionTargetRole as O, resolveSurfaceWheelRouting as W, resolveWorkbenchWidgetEventOwnership as v, resolveWorkbenchWidgetLocalTypingTarget as k, resolveWorkbenchWidgetTextSelectionTarget as h, shouldActivateWorkbenchWidgetLocalTarget as N } from "./components/ui/localInteractionSurface.js";
7
7
  import { Calendar as H } from "./components/ui/Calendar.js";
8
8
  import { Card as y, CardContent as M, CardDescription as w, CardFooter as K, CardHeader as V, CardTitle as G } from "./components/ui/Card.js";
@@ -11,7 +11,7 @@ import { CircularProgress as Z, LinearProgress as q, SegmentedProgress as J, Ste
11
11
  import { Combobox as oe, MultiSelect as re, Select as te } from "./components/ui/Select.js";
12
12
  import { CommandPalette as ie } from "./components/ui/CommandPalette.js";
13
13
  import { ConfirmDialog as le, Dialog as ce } from "./components/ui/Dialog.js";
14
- import { DIALOG_SURFACE_BOUNDARY_ATTR as pe, DIALOG_SURFACE_HOST_ATTR as fe, SURFACE_PORTAL_HOST_ATTR as Te, SURFACE_PORTAL_LAYER_ATTR as se, __resetSurfacePortalScopeForTests as xe, ensureSurfacePortalInteractionTracking as Ce, isSurfacePortalMode as Se, projectSurfacePortalPosition as Ee, projectSurfacePortalRect as de, resolveSurfacePortalBoundaryRect as _e, resolveSurfacePortalHost as Re, resolveSurfacePortalMount as ue, resolveSurfacePortalMountRect as Ae } from "./components/ui/dialogSurfaceScope.js";
14
+ import { DIALOG_SURFACE_BOUNDARY_ATTR as pe, DIALOG_SURFACE_HOST_ATTR as fe, SURFACE_PORTAL_HOST_ATTR as Te, SURFACE_PORTAL_LAYER_ATTR as se, __resetSurfacePortalScopeForTests as xe, ensureSurfacePortalInteractionTracking as Ce, isSurfacePortalMode as Se, projectSurfacePortalPosition as de, projectSurfacePortalRect as Ee, resolveSurfacePortalBoundaryRect as _e, resolveSurfacePortalHost as Re, resolveSurfacePortalMount as ue, resolveSurfacePortalMountRect as Ae } from "./components/ui/dialogSurfaceScope.js";
15
15
  import { DataTable as Fe } from "./components/ui/DataTable.js";
16
16
  import { DatePicker as Pe, DateRangePicker as Ie } from "./components/ui/DatePicker.js";
17
17
  import { DialogPlacementProvider as De } from "./components/ui/DialogPlacementContext.js";
@@ -34,39 +34,40 @@ import { PersistentHorizontalScrollbar as Oo } from "./components/ui/PersistentH
34
34
  import { PickerNavigationError as vo, createFilesystemPickerDataSource as ko, formatPickerPath as ho, parsePickerPath as No } from "./components/ui/picker/PickerNavigation.js";
35
35
  import { Popover as Ho } from "./components/ui/Popover.js";
36
36
  import { ProcessingIndicator as yo } from "./components/ui/ProcessingIndicator.js";
37
- import { QuoteBlock as wo } from "./components/ui/QuoteBlock.js";
38
- import { RadioGroup as Vo, RadioList as Go, RadioOption as zo } from "./components/ui/Radio.js";
39
- import { SegmentedControl as Xo } from "./components/ui/SegmentedControl.js";
40
- import { SettingRow as Qo, SettingsLayout as Zo, SettingsList as qo, SettingsNavigation as Jo, SettingsSection as $o } from "./components/ui/Settings.js";
41
- import { Slider as or } from "./components/ui/Slider.js";
42
- import { StableText as tr } from "./components/ui/StableText.js";
43
- import { StatusRegion as ir } from "./components/ui/StatusRegion.js";
44
- import { Stepper as lr, Wizard as cr, useWizard as mr } from "./components/ui/Stepper.js";
45
- import { SurfaceAnchoredLayer as fr } from "./components/ui/SurfaceAnchoredLayer.js";
46
- import { SurfaceFloatingLayer as sr } from "./components/ui/SurfaceFloatingLayer.js";
47
- import { SurfaceFloatingPanel as Cr } from "./components/ui/SurfaceFloatingPanel.js";
48
- import { Switch as Er } from "./components/ui/Switch.js";
49
- import { TabPanel as _r, Tabs as Rr } from "./components/ui/Tabs.js";
50
- import { Table as Ar, TableBody as gr, TableCaption as Fr, TableCell as Lr, TableFooter as Pr, TableHead as Ir, TableHeader as br, TableRow as Dr } from "./components/ui/Table.js";
51
- import { Tag as Wr } from "./components/ui/Tag.js";
52
- import { Tooltip as kr } from "./components/ui/Tooltip.js";
53
- import { WindowTabs as Nr } from "./components/ui/WindowTabs.js";
54
- import { addCalendarDays as Hr, addCalendarMonths as Ur, calendarDays as yr, formatCalendarDate as Mr, parseCalendarDate as wr } from "./components/ui/calendarModel.js";
55
- import { clientToCanvasLocal as Vr, clientToCanvasWorld as Gr, createViewportFromZoomAnchor as zr, isPointInsideCanvasRect as jr, localToCanvasWorld as Xr } from "./components/ui/canvasGeometry.js";
56
- import { createControllableValue as Qr } from "./components/ui/controllable.js";
57
- import { createFloatingPresence as qr } from "./components/ui/floatingPresence.js";
58
- import { createTableModel as $r } from "./components/ui/dataTableModel.js";
59
- import { intersectSurfaceRects as ot } from "./components/ui/surfaceFloatingBoundary.js";
60
- import { joinAriaIds as tt, useFormControl as at, useFormField as it } from "./components/ui/formFieldContext.js";
61
- import { observeDialogHeight as lt } from "./components/ui/dialogHeightMotion.js";
62
- import { resolveFloatingWindowViewport as mt } from "./components/ui/floatingWindowGeometry.js";
63
- import { startPointerSession as ft } from "./components/ui/pointerSession.js";
37
+ import { PromptCard as wo } from "./components/ui/PromptCard.js";
38
+ import { QuoteBlock as Vo } from "./components/ui/QuoteBlock.js";
39
+ import { RadioGroup as zo, RadioList as jo, RadioOption as Xo } from "./components/ui/Radio.js";
40
+ import { SegmentedControl as Qo } from "./components/ui/SegmentedControl.js";
41
+ import { SettingRow as qo, SettingsLayout as Jo, SettingsList as $o, SettingsNavigation as er, SettingsSection as or } from "./components/ui/Settings.js";
42
+ import { Slider as tr } from "./components/ui/Slider.js";
43
+ import { StableText as ir } from "./components/ui/StableText.js";
44
+ import { StatusRegion as lr } from "./components/ui/StatusRegion.js";
45
+ import { Stepper as mr, Wizard as pr, useWizard as fr } from "./components/ui/Stepper.js";
46
+ import { SurfaceAnchoredLayer as sr } from "./components/ui/SurfaceAnchoredLayer.js";
47
+ import { SurfaceFloatingLayer as Cr } from "./components/ui/SurfaceFloatingLayer.js";
48
+ import { SurfaceFloatingPanel as dr } from "./components/ui/SurfaceFloatingPanel.js";
49
+ import { Switch as _r } from "./components/ui/Switch.js";
50
+ import { TabPanel as ur, Tabs as Ar } from "./components/ui/Tabs.js";
51
+ import { Table as Fr, TableBody as Lr, TableCaption as Pr, TableCell as Ir, TableFooter as br, TableHead as Dr, TableHeader as Or, TableRow as Wr } from "./components/ui/Table.js";
52
+ import { Tag as kr } from "./components/ui/Tag.js";
53
+ import { Tooltip as Nr } from "./components/ui/Tooltip.js";
54
+ import { WindowTabs as Hr } from "./components/ui/WindowTabs.js";
55
+ import { addCalendarDays as yr, addCalendarMonths as Mr, calendarDays as wr, formatCalendarDate as Kr, parseCalendarDate as Vr } from "./components/ui/calendarModel.js";
56
+ import { clientToCanvasLocal as zr, clientToCanvasWorld as jr, createViewportFromZoomAnchor as Xr, isPointInsideCanvasRect as Yr, localToCanvasWorld as Qr } from "./components/ui/canvasGeometry.js";
57
+ import { createControllableValue as qr } from "./components/ui/controllable.js";
58
+ import { createFloatingPresence as $r } from "./components/ui/floatingPresence.js";
59
+ import { createTableModel as ot } from "./components/ui/dataTableModel.js";
60
+ import { intersectSurfaceRects as tt } from "./components/ui/surfaceFloatingBoundary.js";
61
+ import { joinAriaIds as it, useFormControl as nt, useFormField as lt } from "./components/ui/formFieldContext.js";
62
+ import { observeDialogHeight as mt } from "./components/ui/dialogHeightMotion.js";
63
+ import { resolveFloatingWindowViewport as ft } from "./components/ui/floatingWindowGeometry.js";
64
+ import { startPointerSession as st } from "./components/ui/pointerSession.js";
64
65
  export {
65
66
  r as Accordion,
66
67
  a as AffixInput,
67
68
  m as AreaChart,
68
69
  C as Breadcrumb,
69
- E as Button,
70
+ d as Button,
70
71
  _ as CANVAS_WHEEL_INTERACTIVE_ATTR,
71
72
  H as Calendar,
72
73
  y as Card,
@@ -134,81 +135,82 @@ export {
134
135
  vo as PickerNavigationError,
135
136
  Ho as Popover,
136
137
  yo as ProcessingIndicator,
137
- wo as QuoteBlock,
138
- Vo as RadioGroup,
139
- Go as RadioList,
140
- zo as RadioOption,
138
+ wo as PromptCard,
139
+ Vo as QuoteBlock,
140
+ zo as RadioGroup,
141
+ jo as RadioList,
142
+ Xo as RadioOption,
141
143
  Te as SURFACE_PORTAL_HOST_ATTR,
142
144
  se as SURFACE_PORTAL_LAYER_ATTR,
143
- Xo as SegmentedControl,
145
+ Qo as SegmentedControl,
144
146
  J as SegmentedProgress,
145
147
  te as Select,
146
- Qo as SettingRow,
147
- Zo as SettingsLayout,
148
- qo as SettingsList,
149
- Jo as SettingsNavigation,
150
- $o as SettingsSection,
151
- or as Slider,
152
- tr as StableText,
153
- ir as StatusRegion,
154
- lr as Stepper,
148
+ qo as SettingRow,
149
+ Jo as SettingsLayout,
150
+ $o as SettingsList,
151
+ er as SettingsNavigation,
152
+ or as SettingsSection,
153
+ tr as Slider,
154
+ ir as StableText,
155
+ lr as StatusRegion,
156
+ mr as Stepper,
155
157
  $ as StepsProgress,
156
158
  Ve as SuccessBlock,
157
- fr as SurfaceAnchoredLayer,
158
- sr as SurfaceFloatingLayer,
159
- Cr as SurfaceFloatingPanel,
160
- Er as Switch,
161
- _r as TabPanel,
162
- Ar as Table,
163
- gr as TableBody,
164
- Fr as TableCaption,
165
- Lr as TableCell,
166
- Pr as TableFooter,
167
- Ir as TableHead,
168
- br as TableHeader,
169
- Dr as TableRow,
170
- Rr as Tabs,
171
- Wr as Tag,
159
+ sr as SurfaceAnchoredLayer,
160
+ Cr as SurfaceFloatingLayer,
161
+ dr as SurfaceFloatingPanel,
162
+ _r as Switch,
163
+ ur as TabPanel,
164
+ Fr as Table,
165
+ Lr as TableBody,
166
+ Pr as TableCaption,
167
+ Ir as TableCell,
168
+ br as TableFooter,
169
+ Dr as TableHead,
170
+ Or as TableHeader,
171
+ Wr as TableRow,
172
+ Ar as Tabs,
173
+ kr as Tag,
172
174
  l as Textarea,
173
175
  Ge as TipBlock,
174
- kr as Tooltip,
176
+ Nr as Tooltip,
175
177
  P as WORKBENCH_TEXT_SELECTION_SURFACE_ATTR,
176
178
  I as WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR,
177
179
  b as WORKBENCH_WIDGET_SHELL_ATTR,
178
180
  ze as WarningBlock,
179
- Nr as WindowTabs,
180
- cr as Wizard,
181
+ Hr as WindowTabs,
182
+ pr as Wizard,
181
183
  xe as __resetSurfacePortalScopeForTests,
182
- Hr as addCalendarDays,
183
- Ur as addCalendarMonths,
184
- yr as calendarDays,
185
- Vr as clientToCanvasLocal,
186
- Gr as clientToCanvasWorld,
187
- Qr as createControllableValue,
184
+ yr as addCalendarDays,
185
+ Mr as addCalendarMonths,
186
+ wr as calendarDays,
187
+ zr as clientToCanvasLocal,
188
+ jr as clientToCanvasWorld,
189
+ qr as createControllableValue,
188
190
  ko as createFilesystemPickerDataSource,
189
- qr as createFloatingPresence,
190
- $r as createTableModel,
191
- zr as createViewportFromZoomAnchor,
191
+ $r as createFloatingPresence,
192
+ ot as createTableModel,
193
+ Xr as createViewportFromZoomAnchor,
192
194
  Ce as ensureSurfacePortalInteractionTracking,
193
195
  uo as focusMenuItem,
194
- Mr as formatCalendarDate,
196
+ Kr as formatCalendarDate,
195
197
  ho as formatPickerPath,
196
198
  Ao as getMenuItems,
197
199
  go as handleMenuKeyboardNavigation,
198
- ot as intersectSurfaceRects,
200
+ tt as intersectSurfaceRects,
199
201
  D as isLocalInteractionSurfaceTarget,
200
- jr as isPointInsideCanvasRect,
202
+ Yr as isPointInsideCanvasRect,
201
203
  Se as isSurfacePortalMode,
202
- tt as joinAriaIds,
203
- Xr as localToCanvasWorld,
204
+ it as joinAriaIds,
205
+ Qr as localToCanvasWorld,
204
206
  Fo as moveMenuFocus,
205
207
  Ze as normalizeFileOpenSelection,
206
- lt as observeDialogHeight,
207
- wr as parseCalendarDate,
208
+ mt as observeDialogHeight,
209
+ Vr as parseCalendarDate,
208
210
  No as parsePickerPath,
209
- Ee as projectSurfacePortalPosition,
210
- de as projectSurfacePortalRect,
211
- mt as resolveFloatingWindowViewport,
211
+ de as projectSurfacePortalPosition,
212
+ Ee as projectSurfacePortalRect,
213
+ ft as resolveFloatingWindowViewport,
212
214
  O as resolveSurfaceInteractionTargetRole,
213
215
  _e as resolveSurfacePortalBoundaryRect,
214
216
  Re as resolveSurfacePortalHost,
@@ -219,10 +221,10 @@ export {
219
221
  k as resolveWorkbenchWidgetLocalTypingTarget,
220
222
  h as resolveWorkbenchWidgetTextSelectionTarget,
221
223
  N as shouldActivateWorkbenchWidgetLocalTarget,
222
- ft as startPointerSession,
224
+ st as startPointerSession,
223
225
  qe as updateFileOpenSelection,
224
- at as useFormControl,
225
- it as useFormField,
226
+ nt as useFormControl,
227
+ lt as useFormField,
226
228
  so as useFormSubmitting,
227
- mr as useWizard
229
+ fr as useWizard
228
230
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floegence/floe-webapp-core",
3
- "version": "0.90.11",
3
+ "version": "0.91.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",