@floegence/floe-webapp-core 0.35.37 → 0.35.39

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/ui.css CHANGED
@@ -1768,4 +1768,31 @@
1768
1768
  flex-basis: 3.75rem;
1769
1769
  }
1770
1770
  }
1771
+
1772
+ /* ============================================
1773
+ Infinite Canvas
1774
+ ============================================ */
1775
+
1776
+ .floe-infinite-canvas {
1777
+ position: relative;
1778
+ height: 100%;
1779
+ width: 100%;
1780
+ overflow: hidden;
1781
+ touch-action: none;
1782
+ user-select: none;
1783
+ cursor: grab;
1784
+ }
1785
+
1786
+ .floe-infinite-canvas.is-panning {
1787
+ cursor: grabbing;
1788
+ }
1789
+
1790
+ .floe-infinite-canvas__viewport {
1791
+ position: absolute;
1792
+ inset: 0 auto auto 0;
1793
+ min-width: 100%;
1794
+ min-height: 100%;
1795
+ will-change: transform;
1796
+ transform-origin: 0 0;
1797
+ }
1771
1798
  }
package/dist/ui.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { AffixInput as e, Input as t, NumberInput as a, Textarea as i } from "./components/ui/Input.js";
2
- import { AnimatedBorderCard as p, Card as n, CardContent as x, CardDescription as f, CardFooter as c, CardHeader as d, CardTitle as l, Interactive3DCard as C, MorphCard as s, NeonCard as g } from "./components/ui/Card.js";
2
+ import { AnimatedBorderCard as p, Card as n, CardContent as f, CardDescription as x, CardFooter as c, CardHeader as d, CardTitle as C, Interactive3DCard as l, MorphCard as s, NeonCard as g } from "./components/ui/Card.js";
3
3
  import { AreaChart as u, DataBarChart as k, DataPieChart as h, LineChart as B, MonitoringChart as D } from "./components/ui/Charts.js";
4
4
  import { Button as b } from "./components/ui/Button.js";
5
5
  import { Checkbox as I, CheckboxGroup as T, CheckboxList as L } from "./components/ui/Checkbox.js";
6
- import { CircularProgress as A, LinearProgress as M, SegmentedProgress as R, StepsProgress as W } from "./components/ui/Progress.js";
6
+ import { CircularProgress as w, LinearProgress as A, SegmentedProgress as M, StepsProgress as R } from "./components/ui/Progress.js";
7
7
  import { CommandPalette as y } from "./components/ui/CommandPalette.js";
8
8
  import { ConfirmDialog as z, Dialog as G } from "./components/ui/Dialog.js";
9
9
  import { DirectoryInput as E } from "./components/ui/DirectoryInput.js";
@@ -12,33 +12,34 @@ import { Dropdown as j, Select as q } from "./components/ui/Dropdown.js";
12
12
  import { ErrorBlock as U, HighlightBlock as V, InfoBlock as X, NoteBlock as Y, SuccessBlock as Z, TipBlock as _, WarningBlock as $ } from "./components/ui/HighlightBlock.js";
13
13
  import { FileSavePicker as or } from "./components/ui/FileSavePicker.js";
14
14
  import { FloatingWindow as tr } from "./components/ui/FloatingWindow.js";
15
- import { Form as ir, FormActions as mr, FormControl as pr, FormDescription as nr, FormDivider as xr, FormField as fr, FormLabel as cr, FormMessage as dr, FormRow as lr, FormSection as Cr, useFormSubmitting as sr } from "./components/ui/Form.js";
16
- import { MobileKeyboard as Fr } from "./components/ui/MobileKeyboard.js";
17
- import { Pagination as kr } from "./components/ui/Pagination.js";
18
- import { ProcessingIndicator as Br } from "./components/ui/ProcessingIndicator.js";
19
- import { QuoteBlock as Pr } from "./components/ui/QuoteBlock.js";
20
- import { RadioGroup as Sr, RadioList as Ir, RadioOption as Tr } from "./components/ui/Radio.js";
21
- import { SegmentedControl as wr } from "./components/ui/SegmentedControl.js";
22
- import { Stepper as Mr, Wizard as Rr, useWizard as Wr } from "./components/ui/Stepper.js";
23
- import { Switch as yr } from "./components/ui/Switch.js";
24
- import { TabPanel as zr, Tabs as Gr } from "./components/ui/Tabs.js";
25
- import { Tag as Er } from "./components/ui/Tag.js";
26
- import { Tooltip as Or } from "./components/ui/Tooltip.js";
15
+ import { Form as ir, FormActions as mr, FormControl as pr, FormDescription as nr, FormDivider as fr, FormField as xr, FormLabel as cr, FormMessage as dr, FormRow as Cr, FormSection as lr, useFormSubmitting as sr } from "./components/ui/Form.js";
16
+ import { InfiniteCanvas as Fr } from "./components/ui/InfiniteCanvas.js";
17
+ import { MobileKeyboard as kr } from "./components/ui/MobileKeyboard.js";
18
+ import { Pagination as Br } from "./components/ui/Pagination.js";
19
+ import { ProcessingIndicator as Pr } from "./components/ui/ProcessingIndicator.js";
20
+ import { QuoteBlock as Sr } from "./components/ui/QuoteBlock.js";
21
+ import { RadioGroup as Tr, RadioList as Lr, RadioOption as vr } from "./components/ui/Radio.js";
22
+ import { SegmentedControl as Ar } from "./components/ui/SegmentedControl.js";
23
+ import { Stepper as Rr, Wizard as Wr, useWizard as yr } from "./components/ui/Stepper.js";
24
+ import { Switch as zr } from "./components/ui/Switch.js";
25
+ import { TabPanel as Hr, Tabs as Er } from "./components/ui/Tabs.js";
26
+ import { Tag as Or } from "./components/ui/Tag.js";
27
+ import { Tooltip as jr } from "./components/ui/Tooltip.js";
27
28
  export {
28
29
  e as AffixInput,
29
30
  p as AnimatedBorderCard,
30
31
  u as AreaChart,
31
32
  b as Button,
32
33
  n as Card,
33
- x as CardContent,
34
- f as CardDescription,
34
+ f as CardContent,
35
+ x as CardDescription,
35
36
  c as CardFooter,
36
37
  d as CardHeader,
37
- l as CardTitle,
38
+ C as CardTitle,
38
39
  I as Checkbox,
39
40
  T as CheckboxGroup,
40
41
  L as CheckboxList,
41
- A as CircularProgress,
42
+ w as CircularProgress,
42
43
  y as CommandPalette,
43
44
  z as ConfirmDialog,
44
45
  k as DataBarChart,
@@ -54,45 +55,46 @@ export {
54
55
  mr as FormActions,
55
56
  pr as FormControl,
56
57
  nr as FormDescription,
57
- xr as FormDivider,
58
- fr as FormField,
58
+ fr as FormDivider,
59
+ xr as FormField,
59
60
  cr as FormLabel,
60
61
  dr as FormMessage,
61
- lr as FormRow,
62
- Cr as FormSection,
62
+ Cr as FormRow,
63
+ lr as FormSection,
63
64
  V as HighlightBlock,
65
+ Fr as InfiniteCanvas,
64
66
  X as InfoBlock,
65
67
  t as Input,
66
- C as Interactive3DCard,
68
+ l as Interactive3DCard,
67
69
  B as LineChart,
68
- M as LinearProgress,
69
- Fr as MobileKeyboard,
70
+ A as LinearProgress,
71
+ kr as MobileKeyboard,
70
72
  D as MonitoringChart,
71
73
  s as MorphCard,
72
74
  g as NeonCard,
73
75
  Y as NoteBlock,
74
76
  a as NumberInput,
75
- kr as Pagination,
76
- Br as ProcessingIndicator,
77
- Pr as QuoteBlock,
78
- Sr as RadioGroup,
79
- Ir as RadioList,
80
- Tr as RadioOption,
81
- wr as SegmentedControl,
82
- R as SegmentedProgress,
77
+ Br as Pagination,
78
+ Pr as ProcessingIndicator,
79
+ Sr as QuoteBlock,
80
+ Tr as RadioGroup,
81
+ Lr as RadioList,
82
+ vr as RadioOption,
83
+ Ar as SegmentedControl,
84
+ M as SegmentedProgress,
83
85
  q as Select,
84
- Mr as Stepper,
85
- W as StepsProgress,
86
+ Rr as Stepper,
87
+ R as StepsProgress,
86
88
  Z as SuccessBlock,
87
- yr as Switch,
88
- zr as TabPanel,
89
- Gr as Tabs,
90
- Er as Tag,
89
+ zr as Switch,
90
+ Hr as TabPanel,
91
+ Er as Tabs,
92
+ Or as Tag,
91
93
  i as Textarea,
92
94
  _ as TipBlock,
93
- Or as Tooltip,
95
+ jr as Tooltip,
94
96
  $ as WarningBlock,
95
- Rr as Wizard,
97
+ Wr as Wizard,
96
98
  sr as useFormSubmitting,
97
- Wr as useWizard
99
+ yr as useWizard
98
100
  };
@@ -1,5 +1,5 @@
1
1
  import { lockBodyStyle as s } from "./bodyStyleLock.js";
2
- const u = "data-floe-hot-interaction", e = /* @__PURE__ */ new Map();
2
+ const u = "data-floe-hot-interaction", d = "data-floe-geometry-surface", e = /* @__PURE__ */ new Map();
3
3
  function l() {
4
4
  return typeof document > "u" ? null : document.documentElement;
5
5
  }
@@ -13,7 +13,7 @@ function i() {
13
13
  }
14
14
  t.setAttribute(u, r.join(" "));
15
15
  }
16
- function f(t) {
16
+ function a(t) {
17
17
  const r = (e.get(t.kind) ?? 0) + 1;
18
18
  e.set(t.kind, r), i();
19
19
  const n = s({
@@ -29,6 +29,7 @@ function f(t) {
29
29
  };
30
30
  }
31
31
  export {
32
+ d as FLOE_GEOMETRY_SURFACE_ATTR,
32
33
  u as FLOE_HOT_INTERACTION_ATTR,
33
- f as startHotInteraction
34
+ a as startHotInteraction
34
35
  };
@@ -6,3 +6,4 @@ export * from './animations';
6
6
  export * from './dom';
7
7
  export * from './gridCollision';
8
8
  export * from './gridLayout';
9
+ export * from './hotInteraction';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floegence/floe-webapp-core",
3
- "version": "0.35.37",
3
+ "version": "0.35.39",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",