@floegence/floe-webapp-core 0.101.5 → 0.101.9
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/components/ui/SettingsDisclosure.d.ts +14 -0
- package/dist/components/ui/SettingsDisclosure.js +77 -0
- package/dist/components/ui/dialogHeightMotion.js +24 -25
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/full.js +282 -280
- package/dist/styles.css +1 -1
- package/dist/ui.css +28 -0
- package/dist/ui.js +82 -80
- package/package.json +1 -1
package/dist/ui.css
CHANGED
|
@@ -1950,3 +1950,31 @@
|
|
|
1950
1950
|
@media (prefers-reduced-motion: reduce) { .floe-theme-picker button { transition: none; } .floe-theme-picker button::after { animation: none; } }
|
|
1951
1951
|
@media (forced-colors: active) { .floe-theme-picker [aria-checked='true'] { outline: 2px solid Highlight; outline-offset: -2px; } }
|
|
1952
1952
|
}
|
|
1953
|
+
|
|
1954
|
+
@layer components {
|
|
1955
|
+
.floe-settings-disclosure { min-width: 0; }
|
|
1956
|
+
.floe-settings-disclosure[hidden] { display: none; }
|
|
1957
|
+
.floe-settings-disclosure__trigger {
|
|
1958
|
+
display: flex; align-items: center; justify-content: space-between; gap: 12px;
|
|
1959
|
+
width: 100%; padding: 12px; text-align: start; cursor: pointer; border-radius: inherit;
|
|
1960
|
+
color: var(--foreground); font-size: var(--floe-type-control); line-height: var(--floe-line-control);
|
|
1961
|
+
transition: background-color var(--floe-duration-fast) var(--floe-ease-out);
|
|
1962
|
+
}
|
|
1963
|
+
.floe-settings-disclosure__trigger:hover { background: var(--muted); }
|
|
1964
|
+
.floe-settings-disclosure__trigger:focus-visible { outline: 2px solid var(--ring); outline-offset: -3px; }
|
|
1965
|
+
.floe-settings-disclosure__trigger:disabled { opacity: .5; cursor: not-allowed; }
|
|
1966
|
+
.floe-settings-disclosure__heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; min-width: 0; white-space: normal; overflow-wrap: anywhere; font-weight: 500; }
|
|
1967
|
+
.floe-settings-disclosure__description { color: var(--muted-foreground); font-size: var(--floe-type-supporting); font-weight: 400; }
|
|
1968
|
+
.floe-settings-disclosure__chevron { width: 16px; height: 16px; flex: none; color: var(--muted-foreground); transition: transform var(--floe-duration-base) var(--floe-ease-out); }
|
|
1969
|
+
.floe-settings-disclosure[data-open='true'] > .floe-settings-disclosure__trigger > .floe-settings-disclosure__chevron { transform: rotate(90deg); }
|
|
1970
|
+
.floe-settings-disclosure__panel {
|
|
1971
|
+
display: grid; grid-template-rows: 0fr; visibility: hidden; opacity: 0;
|
|
1972
|
+
transition: grid-template-rows var(--floe-duration-base) var(--floe-ease-out), opacity var(--floe-duration-fast) var(--floe-ease-out), visibility var(--floe-duration-base);
|
|
1973
|
+
}
|
|
1974
|
+
.floe-settings-disclosure[data-open='true'] > .floe-settings-disclosure__panel { grid-template-rows: 1fr; visibility: visible; opacity: 1; }
|
|
1975
|
+
.floe-settings-disclosure__clip { min-height: 0; overflow: hidden; }
|
|
1976
|
+
.floe-settings-disclosure__content { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-top: 1px solid var(--border); min-width: 0; }
|
|
1977
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1978
|
+
.floe-settings-disclosure__panel, .floe-settings-disclosure__chevron, .floe-settings-disclosure__trigger { transition: none; }
|
|
1979
|
+
}
|
|
1980
|
+
}
|
package/dist/ui.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createTextSearch as r, findTextRanges as t } from "./components/ui/text
|
|
|
2
2
|
import { TextSearchBar as n } from "./components/ui/TextSearchBar.js";
|
|
3
3
|
import { Accordion as c } from "./components/ui/Accordion.js";
|
|
4
4
|
import { AffixInput as m, Input as p, NumberInput as f, Textarea as T } from "./components/ui/Input.js";
|
|
5
|
-
import { AreaChart as
|
|
5
|
+
import { AreaChart as x, DataBarChart as C, DataPieChart as S, LineChart as d, MonitoringChart as E } from "./components/ui/Charts.js";
|
|
6
6
|
import { Breadcrumb as A } from "./components/ui/Breadcrumb.js";
|
|
7
7
|
import { Button as _ } from "./components/ui/Button.js";
|
|
8
8
|
import { CANVAS_WHEEL_INTERACTIVE_ATTR as F, DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR as P, DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR as L, DEFAULT_WORKBENCH_TEXT_SELECTION_SURFACE_SELECTOR as I, DEFAULT_WORKBENCH_WIDGET_ACTIVATION_SURFACE_SELECTOR as b, DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR as D, LOCAL_INTERACTION_SURFACE_ATTR as O, WORKBENCH_TEXT_SELECTION_SURFACE_ATTR as h, WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR as W, WORKBENCH_WIDGET_SHELL_ATTR as k, isLocalInteractionSurfaceTarget as v, resolveSurfaceInteractionTargetRole as N, resolveSurfaceWheelRouting as B, resolveWorkbenchWidgetEventOwnership as H, resolveWorkbenchWidgetLocalTypingTarget as M, resolveWorkbenchWidgetTextSelectionTarget as U, shouldActivateWorkbenchWidgetLocalTarget as y } from "./components/ui/localInteractionSurface.js";
|
|
@@ -12,7 +12,7 @@ import { Checkbox as q, CheckboxGroup as J, CheckboxList as $ } from "./componen
|
|
|
12
12
|
import { CircularProgress as oe, LinearProgress as re, SegmentedProgress as te, StepsProgress as ae } from "./components/ui/Progress.js";
|
|
13
13
|
import { Combobox as ie, MultiSelect as ce, Select as le } from "./components/ui/Select.js";
|
|
14
14
|
import { CommandPalette as pe } from "./components/ui/CommandPalette.js";
|
|
15
|
-
import { ConfirmDialog as Te, Dialog as
|
|
15
|
+
import { ConfirmDialog as Te, Dialog as se } from "./components/ui/Dialog.js";
|
|
16
16
|
import { ContextMenuActionIcon as Ce, ContextMenuActionItems as Se, ContextMenuActions as de, useContextMenuActions as Ee } from "./components/ui/ContextMenuActions.js";
|
|
17
17
|
import { DIALOG_SURFACE_BOUNDARY_ATTR as Ae, DIALOG_SURFACE_HOST_ATTR as Re, SURFACE_PORTAL_HOST_ATTR as _e, SURFACE_PORTAL_LAYER_ATTR as ge, __resetSurfacePortalScopeForTests as Fe, ensureSurfacePortalInteractionTracking as Pe, isSurfacePortalMode as Le, projectSurfacePortalPosition as Ie, projectSurfacePortalRect as be, resolveSurfacePortalBoundaryRect as De, resolveSurfacePortalHost as Oe, resolveSurfacePortalMount as he, resolveSurfacePortalMountRect as We } from "./components/ui/dialogSurfaceScope.js";
|
|
18
18
|
import { DataTable as ve } from "./components/ui/DataTable.js";
|
|
@@ -27,7 +27,7 @@ import { FeedbackIndicator as to } from "./components/ui/FeedbackIndicator.js";
|
|
|
27
27
|
import { FileOpenPicker as no, normalizeFileOpenSelection as io, updateFileOpenSelection as co } from "./components/ui/FileOpenPicker.js";
|
|
28
28
|
import { FileSavePicker as mo } from "./components/ui/FileSavePicker.js";
|
|
29
29
|
import { FloatingWindow as fo } from "./components/ui/FloatingWindow.js";
|
|
30
|
-
import { Form as
|
|
30
|
+
import { Form as so, FormActions as xo, FormControl as Co, FormDescription as So, FormDivider as Eo, FormField as uo, FormLabel as Ao, FormMessage as Ro, FormRow as _o, FormSection as go, useFormSubmitting as Fo } from "./components/ui/Form.js";
|
|
31
31
|
import { InfiniteCanvas as Lo } from "./components/ui/InfiniteCanvas.js";
|
|
32
32
|
import { KeyedFor as bo } from "./components/ui/KeyedFor.js";
|
|
33
33
|
import { MENU_ITEM_SELECTOR as Oo, focusMenuItem as ho, getMenuItems as Wo, handleMenuKeyboardNavigation as ko, moveMenuFocus as vo } from "./components/ui/menuUtils.js";
|
|
@@ -42,36 +42,37 @@ import { QuoteBlock as er } from "./components/ui/QuoteBlock.js";
|
|
|
42
42
|
import { RadioGroup as rr, RadioList as tr, RadioOption as ar } from "./components/ui/Radio.js";
|
|
43
43
|
import { RetainedPanel as ir } from "./components/ui/RetainedPanel.js";
|
|
44
44
|
import { SegmentedControl as lr } from "./components/ui/SegmentedControl.js";
|
|
45
|
-
import { SettingRow as pr, SettingsLayout as fr, SettingsList as Tr, SettingsNavigation as
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
45
|
+
import { SettingRow as pr, SettingsLayout as fr, SettingsList as Tr, SettingsNavigation as sr, SettingsSection as xr } from "./components/ui/Settings.js";
|
|
46
|
+
import { SettingsDisclosure as Sr } from "./components/ui/SettingsDisclosure.js";
|
|
47
|
+
import { Slider as Er } from "./components/ui/Slider.js";
|
|
48
|
+
import { StableText as Ar } from "./components/ui/StableText.js";
|
|
49
|
+
import { StatusRegion as _r } from "./components/ui/StatusRegion.js";
|
|
50
|
+
import { Stepper as Fr, Wizard as Pr, useWizard as Lr } from "./components/ui/Stepper.js";
|
|
51
|
+
import { SurfaceAnchoredLayer as br } from "./components/ui/SurfaceAnchoredLayer.js";
|
|
52
|
+
import { SurfaceFloatingLayer as Or } from "./components/ui/SurfaceFloatingLayer.js";
|
|
53
|
+
import { SurfaceFloatingPanel as Wr } from "./components/ui/SurfaceFloatingPanel.js";
|
|
54
|
+
import { Switch as vr } from "./components/ui/Switch.js";
|
|
55
|
+
import { TabPanel as Br, Tabs as Hr } from "./components/ui/Tabs.js";
|
|
56
|
+
import { Table as Ur, TableBody as yr, TableCaption as wr, TableCell as Kr, TableFooter as Vr, TableHead as Gr, TableHeader as zr, TableRow as jr } from "./components/ui/Table.js";
|
|
57
|
+
import { Tag as Yr } from "./components/ui/Tag.js";
|
|
58
|
+
import { ThemePicker as Zr } from "./components/ui/ThemePicker.js";
|
|
59
|
+
import { Tooltip as Jr } from "./components/ui/Tooltip.js";
|
|
60
|
+
import { WindowTabs as et } from "./components/ui/WindowTabs.js";
|
|
61
|
+
import { addCalendarDays as rt, addCalendarMonths as tt, calendarDays as at, formatCalendarDate as nt, parseCalendarDate as it } from "./components/ui/calendarModel.js";
|
|
62
|
+
import { clientToCanvasLocal as lt, clientToCanvasWorld as mt, createViewportFromZoomAnchor as pt, isPointInsideCanvasRect as ft, localToCanvasWorld as Tt } from "./components/ui/canvasGeometry.js";
|
|
63
|
+
import { createContextSourceRegistry as xt } from "./components/ui/contextSource.js";
|
|
64
|
+
import { createControllableValue as St } from "./components/ui/controllable.js";
|
|
65
|
+
import { createFloatingPresence as Et } from "./components/ui/floatingPresence.js";
|
|
66
|
+
import { createTableModel as At } from "./components/ui/dataTableModel.js";
|
|
67
|
+
import { intersectSurfaceRects as _t } from "./components/ui/surfaceFloatingBoundary.js";
|
|
68
|
+
import { joinAriaIds as Ft, useFormControl as Pt, useFormField as Lt } from "./components/ui/formFieldContext.js";
|
|
69
|
+
import { observeDialogHeight as bt } from "./components/ui/dialogHeightMotion.js";
|
|
70
|
+
import { resolveFloatingWindowViewport as Ot } from "./components/ui/floatingWindowGeometry.js";
|
|
71
|
+
import { startPointerSession as Wt } from "./components/ui/pointerSession.js";
|
|
71
72
|
export {
|
|
72
73
|
c as Accordion,
|
|
73
74
|
m as AffixInput,
|
|
74
|
-
|
|
75
|
+
x as AreaChart,
|
|
75
76
|
A as Breadcrumb,
|
|
76
77
|
_ as Button,
|
|
77
78
|
F as CANVAS_WHEEL_INTERACTIVE_ATTR,
|
|
@@ -104,7 +105,7 @@ export {
|
|
|
104
105
|
ve as DataTable,
|
|
105
106
|
Be as DatePicker,
|
|
106
107
|
He as DateRangePicker,
|
|
107
|
-
|
|
108
|
+
se as Dialog,
|
|
108
109
|
Ue as DialogPlacementProvider,
|
|
109
110
|
we as DirectoryFavoriteButton,
|
|
110
111
|
Ve as DirectoryInput,
|
|
@@ -115,8 +116,8 @@ export {
|
|
|
115
116
|
no as FileOpenPicker,
|
|
116
117
|
mo as FileSavePicker,
|
|
117
118
|
fo as FloatingWindow,
|
|
118
|
-
|
|
119
|
-
|
|
119
|
+
so as Form,
|
|
120
|
+
xo as FormActions,
|
|
120
121
|
Co as FormControl,
|
|
121
122
|
So as FormDescription,
|
|
122
123
|
Eo as FormDivider,
|
|
@@ -156,77 +157,78 @@ export {
|
|
|
156
157
|
te as SegmentedProgress,
|
|
157
158
|
le as Select,
|
|
158
159
|
pr as SettingRow,
|
|
160
|
+
Sr as SettingsDisclosure,
|
|
159
161
|
fr as SettingsLayout,
|
|
160
162
|
Tr as SettingsList,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
163
|
+
sr as SettingsNavigation,
|
|
164
|
+
xr as SettingsSection,
|
|
165
|
+
Er as Slider,
|
|
166
|
+
Ar as StableText,
|
|
167
|
+
_r as StatusRegion,
|
|
168
|
+
Fr as Stepper,
|
|
167
169
|
ae as StepsProgress,
|
|
168
170
|
$e as SuccessBlock,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
171
|
+
br as SurfaceAnchoredLayer,
|
|
172
|
+
Or as SurfaceFloatingLayer,
|
|
173
|
+
Wr as SurfaceFloatingPanel,
|
|
174
|
+
vr as Switch,
|
|
175
|
+
Br as TabPanel,
|
|
176
|
+
Ur as Table,
|
|
177
|
+
yr as TableBody,
|
|
178
|
+
wr as TableCaption,
|
|
179
|
+
Kr as TableCell,
|
|
180
|
+
Vr as TableFooter,
|
|
181
|
+
Gr as TableHead,
|
|
182
|
+
zr as TableHeader,
|
|
183
|
+
jr as TableRow,
|
|
184
|
+
Hr as Tabs,
|
|
185
|
+
Yr as Tag,
|
|
184
186
|
n as TextSearchBar,
|
|
185
187
|
T as Textarea,
|
|
186
|
-
|
|
188
|
+
Zr as ThemePicker,
|
|
187
189
|
eo as TipBlock,
|
|
188
|
-
|
|
190
|
+
Jr as Tooltip,
|
|
189
191
|
h as WORKBENCH_TEXT_SELECTION_SURFACE_ATTR,
|
|
190
192
|
W as WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR,
|
|
191
193
|
k as WORKBENCH_WIDGET_SHELL_ATTR,
|
|
192
194
|
oo as WarningBlock,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
+
et as WindowTabs,
|
|
196
|
+
Pr as Wizard,
|
|
195
197
|
Fe as __resetSurfacePortalScopeForTests,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
198
|
+
rt as addCalendarDays,
|
|
199
|
+
tt as addCalendarMonths,
|
|
200
|
+
at as calendarDays,
|
|
199
201
|
Jo as capturePromptCardAnchor,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
lt as clientToCanvasLocal,
|
|
203
|
+
mt as clientToCanvasWorld,
|
|
204
|
+
xt as createContextSourceRegistry,
|
|
205
|
+
St as createControllableValue,
|
|
204
206
|
Vo as createFilesystemPickerDataSource,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
+
Et as createFloatingPresence,
|
|
208
|
+
At as createTableModel,
|
|
207
209
|
r as createTextSearch,
|
|
208
|
-
|
|
210
|
+
pt as createViewportFromZoomAnchor,
|
|
209
211
|
Pe as ensureSurfacePortalInteractionTracking,
|
|
210
212
|
t as findTextRanges,
|
|
211
213
|
ho as focusMenuItem,
|
|
212
|
-
|
|
214
|
+
nt as formatCalendarDate,
|
|
213
215
|
Go as formatPickerPath,
|
|
214
216
|
Wo as getMenuItems,
|
|
215
217
|
ko as handleMenuKeyboardNavigation,
|
|
216
|
-
|
|
218
|
+
_t as intersectSurfaceRects,
|
|
217
219
|
v as isLocalInteractionSurfaceTarget,
|
|
218
|
-
|
|
220
|
+
ft as isPointInsideCanvasRect,
|
|
219
221
|
Le as isSurfacePortalMode,
|
|
220
|
-
|
|
221
|
-
|
|
222
|
+
Ft as joinAriaIds,
|
|
223
|
+
Tt as localToCanvasWorld,
|
|
222
224
|
vo as moveMenuFocus,
|
|
223
225
|
io as normalizeFileOpenSelection,
|
|
224
|
-
|
|
225
|
-
|
|
226
|
+
bt as observeDialogHeight,
|
|
227
|
+
it as parseCalendarDate,
|
|
226
228
|
zo as parsePickerPath,
|
|
227
229
|
Ie as projectSurfacePortalPosition,
|
|
228
230
|
be as projectSurfacePortalRect,
|
|
229
|
-
|
|
231
|
+
Ot as resolveFloatingWindowViewport,
|
|
230
232
|
N as resolveSurfaceInteractionTargetRole,
|
|
231
233
|
De as resolveSurfacePortalBoundaryRect,
|
|
232
234
|
Oe as resolveSurfacePortalHost,
|
|
@@ -237,11 +239,11 @@ export {
|
|
|
237
239
|
M as resolveWorkbenchWidgetLocalTypingTarget,
|
|
238
240
|
U as resolveWorkbenchWidgetTextSelectionTarget,
|
|
239
241
|
y as shouldActivateWorkbenchWidgetLocalTarget,
|
|
240
|
-
|
|
242
|
+
Wt as startPointerSession,
|
|
241
243
|
co as updateFileOpenSelection,
|
|
242
244
|
Ee as useContextMenuActions,
|
|
243
|
-
|
|
244
|
-
|
|
245
|
+
Pt as useFormControl,
|
|
246
|
+
Lt as useFormField,
|
|
245
247
|
Fo as useFormSubmitting,
|
|
246
|
-
|
|
248
|
+
Lr as useWizard
|
|
247
249
|
};
|