@floegence/floe-webapp-core 0.36.37 → 0.36.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/components/ui/index.d.ts +1 -1
- package/dist/components/ui/localInteractionSurface.d.ts +4 -0
- package/dist/components/ui/localInteractionSurface.js +77 -60
- package/dist/components/workbench/WorkbenchWidget.js +91 -82
- package/dist/full.js +571 -568
- package/dist/styles.css +1 -1
- package/dist/ui.css +16 -0
- package/dist/ui.js +126 -123
- package/package.json +1 -1
package/dist/ui.css
CHANGED
|
@@ -1783,6 +1783,22 @@
|
|
|
1783
1783
|
cursor: grab;
|
|
1784
1784
|
}
|
|
1785
1785
|
|
|
1786
|
+
.floe-infinite-canvas [data-floe-workbench-text-selection-surface='true'] {
|
|
1787
|
+
-webkit-user-select: text;
|
|
1788
|
+
user-select: text;
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
.floe-infinite-canvas [data-floe-workbench-text-selection-surface='true']:not(button, input, textarea, select, summary, a, [role='button'], [role='link'], [role='menuitem'], [role='option'], [role='switch'], [role='tab'], [role='checkbox'], [role='radio']) {
|
|
1792
|
+
cursor: text;
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
.floe-infinite-canvas [data-floe-workbench-text-selection-surface='true'] :where(
|
|
1796
|
+
:not(button, input, textarea, select, summary, a, [role='button'], [role='link'], [role='menuitem'], [role='option'], [role='switch'], [role='tab'], [role='checkbox'], [role='radio'])
|
|
1797
|
+
) {
|
|
1798
|
+
-webkit-user-select: text;
|
|
1799
|
+
user-select: text;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1786
1802
|
.floe-infinite-canvas.is-panning {
|
|
1787
1803
|
cursor: grabbing;
|
|
1788
1804
|
}
|
package/dist/ui.js
CHANGED
|
@@ -1,139 +1,142 @@
|
|
|
1
1
|
import { AffixInput as e, Input as t, NumberInput as a, Textarea as i } from "./components/ui/Input.js";
|
|
2
|
-
import { AnimatedBorderCard as
|
|
3
|
-
import { AreaChart as S, DataBarChart as R, DataPieChart as x, LineChart as d, MonitoringChart as
|
|
2
|
+
import { AnimatedBorderCard as T, Card as c, CardContent as C, CardDescription as l, CardFooter as E, CardHeader as p, CardTitle as m, Interactive3DCard as _, MorphCard as s, NeonCard as f } from "./components/ui/Card.js";
|
|
3
|
+
import { AreaChart as S, DataBarChart as R, DataPieChart as x, LineChart as d, MonitoringChart as L } from "./components/ui/Charts.js";
|
|
4
4
|
import { Button as F } from "./components/ui/Button.js";
|
|
5
|
-
import { CANVAS_WHEEL_INTERACTIVE_ATTR as g, DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR as
|
|
6
|
-
import { Checkbox as
|
|
7
|
-
import { CircularProgress as
|
|
8
|
-
import { CommandPalette as
|
|
9
|
-
import { ConfirmDialog as
|
|
10
|
-
import { DIALOG_SURFACE_BOUNDARY_ATTR as
|
|
11
|
-
import { DirectoryInput as
|
|
12
|
-
import { DirectoryPicker as
|
|
13
|
-
import { Dropdown as
|
|
14
|
-
import { ErrorBlock as
|
|
15
|
-
import { FileSavePicker as
|
|
16
|
-
import { FloatingWindow as
|
|
17
|
-
import { Form as
|
|
18
|
-
import { InfiniteCanvas as
|
|
19
|
-
import { MobileKeyboard as
|
|
20
|
-
import { Pagination as
|
|
21
|
-
import { ProcessingIndicator as
|
|
22
|
-
import { QuoteBlock as
|
|
23
|
-
import { RadioGroup as
|
|
24
|
-
import { SegmentedControl as
|
|
25
|
-
import { Stepper as
|
|
26
|
-
import { SurfaceFloatingLayer as
|
|
27
|
-
import { Switch as
|
|
28
|
-
import { TabPanel as
|
|
29
|
-
import { Tag as
|
|
30
|
-
import { Tooltip as
|
|
31
|
-
import { clientToCanvasLocal as
|
|
32
|
-
import { startPointerSession as
|
|
5
|
+
import { CANVAS_WHEEL_INTERACTIVE_ATTR as g, 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 G, resolveWorkbenchWidgetLocalTypingTarget as K, resolveWorkbenchWidgetTextSelectionTarget as M, shouldActivateWorkbenchWidgetLocalTarget as V } from "./components/ui/localInteractionSurface.js";
|
|
6
|
+
import { Checkbox as y, CheckboxGroup as j, CheckboxList as z } from "./components/ui/Checkbox.js";
|
|
7
|
+
import { CircularProgress as Y, LinearProgress as Q, SegmentedProgress as Z, StepsProgress as q } from "./components/ui/Progress.js";
|
|
8
|
+
import { CommandPalette as $ } from "./components/ui/CommandPalette.js";
|
|
9
|
+
import { ConfirmDialog as or, Dialog as er } from "./components/ui/Dialog.js";
|
|
10
|
+
import { DIALOG_SURFACE_BOUNDARY_ATTR as ar, DIALOG_SURFACE_HOST_ATTR as ir, SURFACE_PORTAL_HOST_ATTR as nr, SURFACE_PORTAL_LAYER_ATTR as Tr, __resetSurfacePortalScopeForTests as cr, ensureSurfacePortalInteractionTracking as Cr, isSurfacePortalMode as lr, projectSurfacePortalPosition as Er, projectSurfacePortalRect as pr, resolveSurfacePortalBoundaryRect as mr, resolveSurfacePortalHost as _r, resolveSurfacePortalMount as sr, resolveSurfacePortalMountRect as fr } from "./components/ui/dialogSurfaceScope.js";
|
|
11
|
+
import { DirectoryInput as Sr } from "./components/ui/DirectoryInput.js";
|
|
12
|
+
import { DirectoryPicker as xr } from "./components/ui/DirectoryPicker.js";
|
|
13
|
+
import { Dropdown as Lr, Select as ur } from "./components/ui/Dropdown.js";
|
|
14
|
+
import { ErrorBlock as Ir, HighlightBlock as gr, InfoBlock as Or, NoteBlock as Wr, SuccessBlock as Pr, TipBlock as Dr, WarningBlock as Nr } from "./components/ui/HighlightBlock.js";
|
|
15
|
+
import { FileSavePicker as vr } from "./components/ui/FileSavePicker.js";
|
|
16
|
+
import { FloatingWindow as kr } from "./components/ui/FloatingWindow.js";
|
|
17
|
+
import { Form as Hr, FormActions as br, FormControl as Gr, FormDescription as Kr, FormDivider as Mr, FormField as Vr, FormLabel as wr, FormMessage as yr, FormRow as jr, FormSection as zr, useFormSubmitting as Xr } from "./components/ui/Form.js";
|
|
18
|
+
import { InfiniteCanvas as Qr } from "./components/ui/InfiniteCanvas.js";
|
|
19
|
+
import { MobileKeyboard as qr } from "./components/ui/MobileKeyboard.js";
|
|
20
|
+
import { Pagination as $r } from "./components/ui/Pagination.js";
|
|
21
|
+
import { ProcessingIndicator as oo } from "./components/ui/ProcessingIndicator.js";
|
|
22
|
+
import { QuoteBlock as to } from "./components/ui/QuoteBlock.js";
|
|
23
|
+
import { RadioGroup as io, RadioList as no, RadioOption as To } from "./components/ui/Radio.js";
|
|
24
|
+
import { SegmentedControl as Co } from "./components/ui/SegmentedControl.js";
|
|
25
|
+
import { Stepper as Eo, Wizard as po, useWizard as mo } from "./components/ui/Stepper.js";
|
|
26
|
+
import { SurfaceFloatingLayer as so } from "./components/ui/SurfaceFloatingLayer.js";
|
|
27
|
+
import { Switch as Ao } from "./components/ui/Switch.js";
|
|
28
|
+
import { TabPanel as Ro, Tabs as xo } from "./components/ui/Tabs.js";
|
|
29
|
+
import { Tag as uo } from "./components/ui/Tag.js";
|
|
30
|
+
import { Tooltip as Io } from "./components/ui/Tooltip.js";
|
|
31
|
+
import { clientToCanvasLocal as Oo, clientToCanvasWorld as Wo, createViewportFromZoomAnchor as Po, isPointInsideCanvasRect as Do, localToCanvasWorld as No } from "./components/ui/canvasGeometry.js";
|
|
32
|
+
import { startPointerSession as vo } from "./components/ui/pointerSession.js";
|
|
33
33
|
export {
|
|
34
34
|
e as AffixInput,
|
|
35
|
-
|
|
35
|
+
T as AnimatedBorderCard,
|
|
36
36
|
S as AreaChart,
|
|
37
37
|
F as Button,
|
|
38
38
|
g as CANVAS_WHEEL_INTERACTIVE_ATTR,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
D as
|
|
55
|
-
|
|
56
|
-
|
|
39
|
+
c as Card,
|
|
40
|
+
C as CardContent,
|
|
41
|
+
l as CardDescription,
|
|
42
|
+
E as CardFooter,
|
|
43
|
+
p as CardHeader,
|
|
44
|
+
m as CardTitle,
|
|
45
|
+
y as Checkbox,
|
|
46
|
+
j as CheckboxGroup,
|
|
47
|
+
z as CheckboxList,
|
|
48
|
+
Y as CircularProgress,
|
|
49
|
+
$ as CommandPalette,
|
|
50
|
+
or as ConfirmDialog,
|
|
51
|
+
O as DEFAULT_CANVAS_WHEEL_INTERACTIVE_SELECTOR,
|
|
52
|
+
W as DEFAULT_LOCAL_INTERACTION_SURFACE_SELECTOR,
|
|
53
|
+
P as DEFAULT_WORKBENCH_TEXT_SELECTION_SURFACE_SELECTOR,
|
|
54
|
+
D as DEFAULT_WORKBENCH_WIDGET_ACTIVATION_SURFACE_SELECTOR,
|
|
55
|
+
N as DEFAULT_WORKBENCH_WIDGET_SHELL_SELECTOR,
|
|
56
|
+
ar as DIALOG_SURFACE_BOUNDARY_ATTR,
|
|
57
|
+
ir as DIALOG_SURFACE_HOST_ATTR,
|
|
57
58
|
R as DataBarChart,
|
|
58
59
|
x as DataPieChart,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
60
|
+
er as Dialog,
|
|
61
|
+
Sr as DirectoryInput,
|
|
62
|
+
xr as DirectoryPicker,
|
|
63
|
+
Lr as Dropdown,
|
|
64
|
+
Ir as ErrorBlock,
|
|
65
|
+
vr as FileSavePicker,
|
|
66
|
+
kr as FloatingWindow,
|
|
67
|
+
Hr as Form,
|
|
68
|
+
br as FormActions,
|
|
69
|
+
Gr as FormControl,
|
|
70
|
+
Kr as FormDescription,
|
|
71
|
+
Mr as FormDivider,
|
|
72
|
+
Vr as FormField,
|
|
73
|
+
wr as FormLabel,
|
|
74
|
+
yr as FormMessage,
|
|
75
|
+
jr as FormRow,
|
|
76
|
+
zr as FormSection,
|
|
77
|
+
gr as HighlightBlock,
|
|
78
|
+
Qr as InfiniteCanvas,
|
|
79
|
+
Or as InfoBlock,
|
|
79
80
|
t as Input,
|
|
80
|
-
|
|
81
|
+
_ as Interactive3DCard,
|
|
81
82
|
h as LOCAL_INTERACTION_SURFACE_ATTR,
|
|
82
83
|
d as LineChart,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
84
|
+
Q as LinearProgress,
|
|
85
|
+
qr as MobileKeyboard,
|
|
86
|
+
L as MonitoringChart,
|
|
87
|
+
s as MorphCard,
|
|
88
|
+
f as NeonCard,
|
|
89
|
+
Wr as NoteBlock,
|
|
89
90
|
a as NumberInput,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
91
|
+
$r as Pagination,
|
|
92
|
+
oo as ProcessingIndicator,
|
|
93
|
+
to as QuoteBlock,
|
|
94
|
+
io as RadioGroup,
|
|
95
|
+
no as RadioList,
|
|
96
|
+
To as RadioOption,
|
|
97
|
+
nr as SURFACE_PORTAL_HOST_ATTR,
|
|
98
|
+
Tr as SURFACE_PORTAL_LAYER_ATTR,
|
|
99
|
+
Co as SegmentedControl,
|
|
100
|
+
Z as SegmentedProgress,
|
|
101
|
+
ur as Select,
|
|
102
|
+
Eo as Stepper,
|
|
103
|
+
q as StepsProgress,
|
|
104
|
+
Pr as SuccessBlock,
|
|
105
|
+
so as SurfaceFloatingLayer,
|
|
106
|
+
Ao as Switch,
|
|
107
|
+
Ro as TabPanel,
|
|
108
|
+
xo as Tabs,
|
|
109
|
+
uo as Tag,
|
|
109
110
|
i as Textarea,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
v as
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
sr as
|
|
111
|
+
Dr as TipBlock,
|
|
112
|
+
Io as Tooltip,
|
|
113
|
+
v as WORKBENCH_TEXT_SELECTION_SURFACE_ATTR,
|
|
114
|
+
B as WORKBENCH_WIDGET_ACTIVATION_SURFACE_ATTR,
|
|
115
|
+
k as WORKBENCH_WIDGET_SHELL_ATTR,
|
|
116
|
+
Nr as WarningBlock,
|
|
117
|
+
po as Wizard,
|
|
118
|
+
cr as __resetSurfacePortalScopeForTests,
|
|
119
|
+
Oo as clientToCanvasLocal,
|
|
120
|
+
Wo as clientToCanvasWorld,
|
|
121
|
+
Po as createViewportFromZoomAnchor,
|
|
122
|
+
Cr as ensureSurfacePortalInteractionTracking,
|
|
123
|
+
U as isLocalInteractionSurfaceTarget,
|
|
124
|
+
Do as isPointInsideCanvasRect,
|
|
125
|
+
lr as isSurfacePortalMode,
|
|
126
|
+
No as localToCanvasWorld,
|
|
127
|
+
Er as projectSurfacePortalPosition,
|
|
128
|
+
pr as projectSurfacePortalRect,
|
|
129
|
+
H as resolveSurfaceInteractionTargetRole,
|
|
130
|
+
mr as resolveSurfacePortalBoundaryRect,
|
|
131
|
+
_r as resolveSurfacePortalHost,
|
|
132
|
+
sr as resolveSurfacePortalMount,
|
|
133
|
+
fr as resolveSurfacePortalMountRect,
|
|
132
134
|
b as resolveSurfaceWheelRouting,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
135
|
+
G as resolveWorkbenchWidgetEventOwnership,
|
|
136
|
+
K as resolveWorkbenchWidgetLocalTypingTarget,
|
|
137
|
+
M as resolveWorkbenchWidgetTextSelectionTarget,
|
|
138
|
+
V as shouldActivateWorkbenchWidgetLocalTarget,
|
|
139
|
+
vo as startPointerSession,
|
|
140
|
+
Xr as useFormSubmitting,
|
|
141
|
+
mo as useWizard
|
|
139
142
|
};
|