impact-nova 3.0.0-alpha.20 → 3.0.0-alpha.23

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.
Files changed (45) hide show
  1. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +32 -31
  2. package/dist/components/data-display/chart/chart-heatmap-layout.d.ts +31 -0
  3. package/dist/components/data-display/chart/chart-heatmap-layout.js +72 -0
  4. package/dist/components/data-display/chart/chart.category-cluster-heatmap.stories-data.d.ts +1 -1
  5. package/dist/components/data-display/chart/chart.js +165 -150
  6. package/dist/components/data-display/chart/chart.types.d.ts +17 -0
  7. package/dist/components/data-display/heatmap-grid/heatmap-grid-play.d.ts +9 -0
  8. package/dist/components/data-display/heatmap-grid/heatmap-grid.d.ts +32 -0
  9. package/dist/components/data-display/heatmap-grid/heatmap-grid.js +93 -0
  10. package/dist/components/data-display/heatmap-grid/heatmap-grid.layout.d.ts +46 -0
  11. package/dist/components/data-display/heatmap-grid/heatmap-grid.layout.js +80 -0
  12. package/dist/components/data-display/heatmap-grid/heatmap-grid.types.d.ts +54 -0
  13. package/dist/components/data-display/heatmap-grid/heatmap-grid.variants.d.ts +18 -0
  14. package/dist/components/data-display/heatmap-grid/heatmap-grid.variants.js +80 -0
  15. package/dist/components/data-display/heatmap-grid/index.d.ts +3 -0
  16. package/dist/components/data-display/heatmap-grid/index.js +14 -0
  17. package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-cell.d.ts +14 -0
  18. package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-cell.js +39 -0
  19. package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-context.d.ts +29 -0
  20. package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-context.js +33 -0
  21. package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-tooltip.d.ts +4 -0
  22. package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-tooltip.js +49 -0
  23. package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-viewport.d.ts +3 -0
  24. package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-viewport.js +173 -0
  25. package/dist/components/data-display/heatmap-grid/internals/use-heatmap-grid-viewport.d.ts +12 -0
  26. package/dist/components/data-display/heatmap-grid/internals/use-heatmap-grid-viewport.js +161 -0
  27. package/dist/components/data-display/hex-tilemap/hex-tilemap.js +35 -33
  28. package/dist/components/data-display/hex-tilemap/hex-tilemap.types.d.ts +2 -0
  29. package/dist/components/data-display/hex-tilemap/internals/hex-camera.js +30 -28
  30. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.d.ts +1 -0
  31. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.js +36 -34
  32. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.d.ts +2 -1
  33. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.js +87 -84
  34. package/dist/components/flows/iris-chat/iris-chat-chrome.js +203 -185
  35. package/dist/i18n/defaultMessages.d.ts +6 -0
  36. package/dist/i18n/defaultMessages.js +16 -11
  37. package/dist/i18n/locales/de.js +5 -0
  38. package/dist/i18n/locales/es.js +5 -0
  39. package/dist/i18n/locales/hi.js +5 -0
  40. package/dist/i18n/locales/kn.js +5 -0
  41. package/dist/impact-nova.css +1 -1
  42. package/dist/lib/primitives/use-field-chrome.js +22 -22
  43. package/dist/llms/rules/installation.js +1 -1
  44. package/dist/llms/rules/requirements.js +1 -1
  45. package/package.json +5 -1
@@ -1,17 +1,17 @@
1
1
  import { jsxs as w, jsx as i } from "react/jsx-runtime";
2
2
  import * as n from "react";
3
- import { createComponent as I } from "../../../../lib/primitives/create-component.js";
4
- import { cn as k } from "../../../../lib/utils.js";
5
- import { hexTilemapViewportVariants as L } from "../hex-tilemap.variants.js";
3
+ import { createComponent as k } from "../../../../lib/primitives/create-component.js";
4
+ import { cn as L } from "../../../../lib/utils.js";
5
+ import { hexTilemapViewportVariants as $ } from "../hex-tilemap.variants.js";
6
6
  import { HEX_BUTTON_ZOOM_STEP as g } from "./hex-camera.js";
7
- import { extentsFromTiles as $, buildLandPath as E, hexTileToPixel as V } from "./hex-geometry.js";
8
- import { useHexTilemapContext as D } from "./hex-tilemap-context.js";
9
- import { HexTilemapTooltip as O } from "./hex-tilemap-tooltip.js";
10
- import { HexTilemapZoom as _ } from "./hex-tilemap-zoom.js";
11
- import { useHexCamera as z } from "./use-hex-camera.js";
12
- const F = 315, N = "M9.56148 9.69087C9.20834 10.3244 8.53986 10.7171 7.81452 10.7171H3.94774C3.23129 10.7171 2.56957 10.3339 2.21301 9.71249L0.265298 6.3179C-0.090937 5.69704-0.0882008 4.93312 0.272474 4.31482L2.21064 0.992257C2.56906 0.377822 3.22686 0 3.93819 0H7.824C8.54428 0 9.20893 0.387309 9.56404 1.01397L11.4467 4.33636C11.7909 4.94364 11.7935 5.6864 11.4536 6.2961L9.56148 9.69087Z", J = I(
7
+ import { extentsFromTiles as E, buildLandPath as V, hexTileToPixel as D } from "./hex-geometry.js";
8
+ import { useHexTilemapContext as O } from "./hex-tilemap-context.js";
9
+ import { HexTilemapTooltip as _ } from "./hex-tilemap-tooltip.js";
10
+ import { HexTilemapZoom as z } from "./hex-tilemap-zoom.js";
11
+ import { useHexCamera as F } from "./use-hex-camera.js";
12
+ const N = 315, A = "M9.56148 9.69087C9.20834 10.3244 8.53986 10.7171 7.81452 10.7171H3.94774C3.23129 10.7171 2.56957 10.3339 2.21301 9.71249L0.265298 6.3179C-0.090937 5.69704-0.0882008 4.93312 0.272474 4.31482L2.21064 0.992257C2.56906 0.377822 3.22686 0 3.93819 0H7.824C8.54428 0 9.20893 0.387309 9.56404 1.01397L11.4467 4.33636C11.7909 4.94364 11.7935 5.6864 11.4536 6.2961L9.56148 9.69087Z", Q = k(
13
13
  "HexTilemapViewport",
14
- ({ className: v, height: T = F, ...C }, r) => {
14
+ ({ className: v, height: T = N, ...C }, r) => {
15
15
  const {
16
16
  layout: s,
17
17
  visiblePoints: P,
@@ -19,37 +19,39 @@ const F = 315, N = "M9.56148 9.69087C9.20834 10.3244 8.53986 10.7171 7.81452 10.
19
19
  setHoverPoint: m,
20
20
  mapLabel: b,
21
21
  setZoom: H,
22
- zoom: Z
23
- } = D(), c = n.useRef(null), p = n.useRef(null), f = n.useId(), y = n.useMemo(
22
+ zoom: Z,
23
+ wheelZoomMode: M
24
+ } = O(), c = n.useRef(null), p = n.useRef(null), f = n.useId(), y = n.useMemo(
24
25
  () => new Map(h.map((e) => [e.id, e.color])),
25
26
  [h]
26
- ), t = n.useMemo(() => $(s.land), [s.land]), M = n.useMemo(
27
+ ), t = n.useMemo(() => E(s.land), [s.land]), R = n.useMemo(
27
28
  () => ({ width: t.width, height: t.height }),
28
29
  [t.height, t.width]
29
- ), R = n.useMemo(
30
- () => E(s.land, t.originColumn, t.originRow),
30
+ ), B = n.useMemo(
31
+ () => V(s.land, t.originColumn, t.originRow),
31
32
  [t.originColumn, t.originRow, s.land]
32
- ), o = z({
33
- extents: M,
33
+ ), o = F({
34
+ extents: R,
34
35
  zoom: Z,
35
36
  onZoomChange: H,
36
37
  svgRef: p,
37
- viewportRef: c
38
- }), B = n.useCallback(
38
+ viewportRef: c,
39
+ wheelZoomMode: M
40
+ }), I = n.useCallback(
39
41
  (e) => {
40
42
  c.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
41
43
  },
42
44
  [r]
43
45
  ), x = n.useCallback(
44
46
  (e, d) => {
45
- const a = c.current?.getBoundingClientRect(), l = d.getBoundingClientRect();
46
- a && m({
47
+ const l = c.current?.getBoundingClientRect(), a = d.getBoundingClientRect();
48
+ l && m({
47
49
  id: e.id,
48
50
  label: e.label,
49
51
  value: e.value,
50
52
  seriesId: e.seriesId,
51
- clientX: l.left + l.width / 2 - a.left,
52
- clientY: l.top - a.top
53
+ clientX: a.left + a.width / 2 - l.left,
54
+ clientY: a.top - l.top
53
55
  });
54
56
  },
55
57
  [m]
@@ -57,10 +59,10 @@ const F = 315, N = "M9.56148 9.69087C9.20834 10.3244 8.53986 10.7171 7.81452 10.
57
59
  return /* @__PURE__ */ w(
58
60
  "div",
59
61
  {
60
- ref: B,
62
+ ref: I,
61
63
  "data-component": "hex-tilemap-viewport",
62
64
  tabIndex: 0,
63
- className: k(L({ panning: o.isPanning }), v),
65
+ className: L($({ panning: o.isPanning }), v),
64
66
  style: { height: T },
65
67
  ...C,
66
68
  onPointerDown: o.handlePointerDown,
@@ -85,25 +87,25 @@ const F = 315, N = "M9.56148 9.69087C9.20834 10.3244 8.53986 10.7171 7.81452 10.
85
87
  /* @__PURE__ */ i(
86
88
  "path",
87
89
  {
88
- d: R,
90
+ d: B,
89
91
  className: "pointer-events-none fill-canvas-elevated stroke-content/15",
90
92
  strokeWidth: 0.35,
91
93
  filter: `url(#${f})`
92
94
  }
93
95
  ),
94
96
  P.map((e) => {
95
- const { pixelX: d, pixelY: a } = V(
97
+ const { pixelX: d, pixelY: l } = D(
96
98
  e.tile.x - t.originColumn,
97
99
  e.tile.y - t.originRow
98
- ), l = y.get(e.seriesId) ?? "var(--color-success)";
100
+ ), a = y.get(e.seriesId) ?? "var(--color-success)";
99
101
  return /* @__PURE__ */ i(
100
102
  "path",
101
103
  {
102
104
  "data-testid": "hex-tilemap-point",
103
105
  "data-point-id": e.id,
104
- d: N,
105
- transform: `translate(${d}, ${a})`,
106
- fill: l,
106
+ d: A,
107
+ transform: `translate(${d}, ${l})`,
108
+ fill: a,
107
109
  className: "cursor-pointer stroke-content/10 outline-none focus-visible:stroke-brand",
108
110
  strokeWidth: 0.3,
109
111
  tabIndex: 0,
@@ -124,9 +126,9 @@ const F = 315, N = "M9.56148 9.69087C9.20834 10.3244 8.53986 10.7171 7.81452 10.
124
126
  ]
125
127
  }
126
128
  ),
127
- /* @__PURE__ */ i(O, {}),
129
+ /* @__PURE__ */ i(_, {}),
128
130
  /* @__PURE__ */ i(
129
- _,
131
+ z,
130
132
  {
131
133
  onZoomIn: () => o.zoomBy(g),
132
134
  onZoomOut: () => o.zoomBy(-g),
@@ -143,5 +145,5 @@ const F = 315, N = "M9.56148 9.69087C9.20834 10.3244 8.53986 10.7171 7.81452 10.
143
145
  }
144
146
  );
145
147
  export {
146
- J as HexTilemapViewport
148
+ Q as HexTilemapViewport
147
149
  };
@@ -6,8 +6,9 @@ interface UseHexCameraOptions {
6
6
  onZoomChange: (zoom: number) => void;
7
7
  svgRef: React.RefObject<SVGSVGElement | null>;
8
8
  viewportRef: React.RefObject<HTMLDivElement | null>;
9
+ wheelZoomMode: "always" | "pinch-only";
9
10
  }
10
- export declare function useHexCamera({ extents, zoom, onZoomChange, svgRef, viewportRef, }: UseHexCameraOptions): {
11
+ export declare function useHexCamera({ extents, zoom, onZoomChange, svgRef, viewportRef, wheelZoomMode, }: UseHexCameraOptions): {
11
12
  isPanning: boolean;
12
13
  handlePointerDown: (event: React.PointerEvent<HTMLDivElement>) => void;
13
14
  handlePointerMove: (event: React.PointerEvent<HTMLDivElement>) => void;
@@ -1,137 +1,140 @@
1
- import * as r from "react";
2
- import { centeredCamera as C, applyCameraViewBox as D, prefersReducedMotion as W, clampZoom as I, zoomCameraAt as H, HEX_ZOOM_DEFAULT as M, clientToSvgPoint as T, panCamera as E, HEX_BUTTON_ZOOM_STEP as Y, HEX_ZOOM_MIN as q, HEX_ZOOM_MAX as K, interpolateCamera as V, HEX_WHEEL_ZOOM_STEP as j, easeOutCubic as z } from "./hex-camera.js";
3
- const G = 180;
4
- function Q({
1
+ import * as e from "react";
2
+ import { centeredCamera as C, applyCameraViewBox as D, prefersReducedMotion as W, clampZoom as I, zoomCameraAt as Y, HEX_ZOOM_DEFAULT as O, clientToSvgPoint as T, panCamera as y, HEX_BUTTON_ZOOM_STEP as x, HEX_ZOOM_MIN as q, HEX_ZOOM_MAX as V, interpolateCamera as j, HEX_WHEEL_ZOOM_STEP as z, easeOutCubic as G } from "./hex-camera.js";
3
+ const J = 180;
4
+ function $({
5
5
  extents: f,
6
- zoom: m,
7
- onZoomChange: Z,
6
+ zoom: p,
7
+ onZoomChange: P,
8
8
  svgRef: l,
9
- viewportRef: P
9
+ viewportRef: Z,
10
+ wheelZoomMode: g
10
11
  }) {
11
- const [x, g] = r.useState(!1), c = r.useRef(C(f, m)), o = r.useRef(f), w = r.useRef(m), p = r.useRef(null), k = r.useRef(null), a = r.useCallback((t) => {
12
+ const [F, H] = e.useState(!1), c = e.useRef(C(f, p)), o = e.useRef(f), E = e.useRef(p), m = e.useRef(null), k = e.useRef(null), u = e.useCallback((t) => {
12
13
  c.current = t;
13
- const e = l.current;
14
- e && D(e, t);
15
- }, [l]), y = r.useCallback(
14
+ const r = l.current;
15
+ r && D(r, t);
16
+ }, [l]), A = e.useCallback(
16
17
  (t) => {
17
- const e = I(t);
18
- e !== w.current && Z(e);
18
+ const r = I(t);
19
+ r !== E.current && P(r);
19
20
  },
20
- [Z]
21
- ), d = r.useCallback(() => {
22
- p.current !== null && (cancelAnimationFrame(p.current), p.current = null);
23
- }, []), i = r.useCallback(
24
- (t, e) => {
21
+ [P]
22
+ ), d = e.useCallback(() => {
23
+ m.current !== null && (cancelAnimationFrame(m.current), m.current = null);
24
+ }, []), i = e.useCallback(
25
+ (t, r) => {
25
26
  d();
26
27
  const n = c.current;
27
- if (y(e), W()) {
28
- a(t);
28
+ if (A(r), W()) {
29
+ u(t);
29
30
  return;
30
31
  }
31
- const u = performance.now(), s = (X) => {
32
- const b = Math.min(1, (X - u) / G);
33
- if (a(V(n, t, z(b))), b < 1) {
34
- p.current = requestAnimationFrame(s);
32
+ const a = performance.now(), s = (X) => {
33
+ const b = Math.min(1, (X - a) / J);
34
+ if (u(j(n, t, G(b))), b < 1) {
35
+ m.current = requestAnimationFrame(s);
35
36
  return;
36
37
  }
37
- p.current = null;
38
+ m.current = null;
38
39
  };
39
- p.current = requestAnimationFrame(s);
40
+ m.current = requestAnimationFrame(s);
40
41
  },
41
- [d, y, a]
42
- ), A = f.width, _ = f.height;
43
- r.useEffect(() => {
44
- o.current = { width: A, height: _ }, w.current = m;
45
- }, [_, A, m]), r.useEffect(() => {
46
- const t = { width: A, height: _ };
42
+ [d, A, u]
43
+ ), w = f.width, _ = f.height;
44
+ e.useEffect(() => {
45
+ o.current = { width: w, height: _ }, E.current = p;
46
+ }, [_, w, p]), e.useEffect(() => {
47
+ const t = { width: w, height: _ };
47
48
  o.current = t;
48
- const e = C(t, w.current);
49
- c.current = e;
49
+ const r = C(t, E.current);
50
+ c.current = r;
50
51
  const n = l.current;
51
- n && D(n, e);
52
- }, [_, A, l]), r.useLayoutEffect(() => {
52
+ n && D(n, r);
53
+ }, [_, w, l]), e.useLayoutEffect(() => {
53
54
  const t = l.current;
54
55
  t && D(t, c.current);
55
- }), r.useEffect(() => () => d(), [d]);
56
- const h = r.useCallback(
57
- (t, e, n = !1) => {
58
- const u = I(w.current + t), s = H(c.current, o.current, u, e);
56
+ }), e.useEffect(() => () => d(), [d]);
57
+ const h = e.useCallback(
58
+ (t, r, n = !1) => {
59
+ const a = I(E.current + t), s = Y(c.current, o.current, a, r);
59
60
  if (n) {
60
- d(), a(s), y(u);
61
+ d(), u(s), A(a);
61
62
  return;
62
63
  }
63
- i(s, u);
64
+ i(s, a);
64
65
  },
65
- [i, d, y, a]
66
- ), F = r.useCallback(
66
+ [i, d, A, u]
67
+ ), L = e.useCallback(
67
68
  (t) => {
68
- const e = I(t);
69
- i(H(c.current, o.current, e), e);
69
+ const r = I(t);
70
+ i(Y(c.current, o.current, r), r);
70
71
  },
71
72
  [i]
72
- ), O = r.useCallback(() => {
73
- i(C(o.current, M), M);
74
- }, [i]), L = r.useCallback(() => {
75
- i(C(o.current, M), M);
76
- }, [i]), S = r.useCallback(
73
+ ), M = e.useCallback(() => {
74
+ i(C(o.current, O), O);
75
+ }, [i]), S = e.useCallback(() => {
76
+ i(C(o.current, O), O);
77
+ }, [i]), R = e.useCallback(
77
78
  (t) => {
78
79
  t.button === 0 && (t.target.closest("[data-hex-tilemap-zoom]") || (k.current = {
79
80
  pointerId: t.pointerId,
80
81
  lastX: t.clientX,
81
82
  lastY: t.clientY
82
- }, t.currentTarget.setPointerCapture(t.pointerId), g(!0)));
83
+ }, t.currentTarget.setPointerCapture(t.pointerId), H(!0)));
83
84
  },
84
85
  []
85
- ), R = r.useCallback(
86
+ ), B = e.useCallback(
86
87
  (t) => {
87
- const e = k.current, n = l.current;
88
- if (!e || e.pointerId !== t.pointerId || !n) return;
89
- const u = T(n, e.lastX, e.lastY), s = T(n, t.clientX, t.clientY);
90
- e.lastX = t.clientX, e.lastY = t.clientY, !(!u || !s) && a(
91
- E(c.current, o.current, s.x - u.x, s.y - u.y)
88
+ const r = k.current, n = l.current;
89
+ if (!r || r.pointerId !== t.pointerId || !n) return;
90
+ const a = T(n, r.lastX, r.lastY), s = T(n, t.clientX, t.clientY);
91
+ r.lastX = t.clientX, r.lastY = t.clientY, !(!a || !s) && u(
92
+ y(c.current, o.current, s.x - a.x, s.y - a.y)
92
93
  );
93
94
  },
94
- [a, l]
95
- ), B = r.useCallback((t) => {
96
- t && k.current && k.current.pointerId !== t.pointerId || (k.current = null, g(!1));
95
+ [u, l]
96
+ ), N = e.useCallback((t) => {
97
+ t && k.current && k.current.pointerId !== t.pointerId || (k.current = null, H(!1));
97
98
  }, []);
98
- r.useEffect(() => {
99
- const t = P.current;
99
+ e.useEffect(() => {
100
+ const t = Z.current;
100
101
  if (!t) return;
101
- const e = (n) => {
102
+ const r = (n) => {
103
+ if (g === "pinch-only" && !n.ctrlKey)
104
+ return;
102
105
  n.preventDefault();
103
- const u = l.current, s = n.deltaY < 0 ? 1 : -1, X = n.ctrlKey ? 10 : j, b = u ? T(u, n.clientX, n.clientY) : null;
106
+ const a = l.current, s = n.deltaY < 0 ? 1 : -1, X = n.ctrlKey ? 10 : z, b = a ? T(a, n.clientX, n.clientY) : null;
104
107
  h(s * X, b ?? void 0, !0);
105
108
  };
106
- return t.addEventListener("wheel", e, { passive: !1 }), () => t.removeEventListener("wheel", e);
107
- }, [l, P, h]);
108
- const N = r.useCallback(
109
+ return t.addEventListener("wheel", r, { passive: !1 }), () => t.removeEventListener("wheel", r);
110
+ }, [l, Z, g, h]);
111
+ const K = e.useCallback(
109
112
  (t) => {
110
- const e = c.current.width * 0.08;
111
- t.key === "+" || t.key === "=" ? (t.preventDefault(), h(Y)) : t.key === "-" || t.key === "_" ? (t.preventDefault(), h(-Y)) : t.key === "ArrowLeft" ? (t.preventDefault(), a(E(c.current, o.current, -e, 0))) : t.key === "ArrowRight" ? (t.preventDefault(), a(E(c.current, o.current, e, 0))) : t.key === "ArrowUp" ? (t.preventDefault(), a(E(c.current, o.current, 0, -e))) : t.key === "ArrowDown" ? (t.preventDefault(), a(E(c.current, o.current, 0, e))) : t.key === "0" && (t.preventDefault(), O());
113
+ const r = c.current.width * 0.08;
114
+ t.key === "+" || t.key === "=" ? (t.preventDefault(), h(x)) : t.key === "-" || t.key === "_" ? (t.preventDefault(), h(-x)) : t.key === "ArrowLeft" ? (t.preventDefault(), u(y(c.current, o.current, -r, 0))) : t.key === "ArrowRight" ? (t.preventDefault(), u(y(c.current, o.current, r, 0))) : t.key === "ArrowUp" ? (t.preventDefault(), u(y(c.current, o.current, 0, -r))) : t.key === "ArrowDown" ? (t.preventDefault(), u(y(c.current, o.current, 0, r))) : t.key === "0" && (t.preventDefault(), M());
112
115
  },
113
- [a, O, h]
114
- ), U = r.useMemo(
115
- () => C(f, m),
116
+ [u, M, h]
117
+ ), U = e.useMemo(
118
+ () => C(f, p),
116
119
  // Recapture only when the land frame changes so wheel/pan viewBox writes stay on the SVG.
117
120
  // eslint-disable-next-line react-hooks/exhaustive-deps
118
121
  [f.height, f.width]
119
122
  );
120
123
  return {
121
- isPanning: x,
122
- handlePointerDown: S,
123
- handlePointerMove: R,
124
- endPan: B,
125
- handleKeyDown: N,
124
+ isPanning: F,
125
+ handlePointerDown: R,
126
+ handlePointerMove: B,
127
+ endPan: N,
128
+ handleKeyDown: K,
126
129
  zoomBy: h,
127
- zoomTo: F,
128
- resetZoom: O,
129
- zoomToFit: L,
130
+ zoomTo: L,
131
+ resetZoom: M,
132
+ zoomToFit: S,
130
133
  initialViewBox: U,
131
- canZoomIn: m < K,
132
- canZoomOut: m > q
134
+ canZoomIn: p < V,
135
+ canZoomOut: p > q
133
136
  };
134
137
  }
135
138
  export {
136
- Q as useHexCamera
139
+ $ as useHexCamera
137
140
  };