impact-nova 3.0.0-alpha.10 → 3.0.0-alpha.12

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 (31) hide show
  1. package/dist/components/data/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +88 -76
  2. package/dist/components/data/data-table/index.d.ts +1 -0
  3. package/dist/components/data/data-table/index.js +16 -14
  4. package/dist/components/data/data-table/use-data-table-viewport.d.ts +10 -0
  5. package/dist/components/data/data-table/use-data-table-viewport.js +31 -0
  6. package/dist/components/flows/iris-chat/IrisChatHeaderWindowSizeButton.js +45 -36
  7. package/dist/components/flows/iris-chat/IrisChatSnapTile.d.ts +8 -0
  8. package/dist/components/flows/iris-chat/IrisChatSnapTile.js +30 -0
  9. package/dist/components/flows/iris-chat/IrisChatWindowSnapMenu.js +67 -53
  10. package/dist/components/flows/iris-chat/iris-chat-frame.d.ts +2 -1
  11. package/dist/components/flows/iris-chat/iris-chat-frame.js +40 -31
  12. package/dist/components/flows/iris-chat/iris-chat-snap-presets.d.ts +4 -1
  13. package/dist/components/flows/iris-chat/iris-chat-snap-presets.js +49 -29
  14. package/dist/components/flows/iris-chat/iris-chat-thread.js +95 -96
  15. package/dist/components/flows/iris-chat/iris-chat-window-chrome.d.ts +3 -0
  16. package/dist/components/flows/iris-chat/iris-chat-window-chrome.js +5 -2
  17. package/dist/components/flows/iris-chat/use-iris-chat-root.js +83 -88
  18. package/dist/components/primitives/stepper/stepper.js +29 -28
  19. package/dist/components/primitives/stepper/stepper.types.d.ts +2 -0
  20. package/dist/i18n/defaultMessages.d.ts +5 -0
  21. package/dist/i18n/defaultMessages.js +7 -2
  22. package/dist/i18n/locales/de.js +5 -0
  23. package/dist/i18n/locales/es.js +5 -0
  24. package/dist/i18n/locales/hi.js +5 -0
  25. package/dist/i18n/locales/kn.js +5 -0
  26. package/dist/impact-nova-components.css +16 -6
  27. package/dist/impact-nova.css +1 -1
  28. package/dist/index.js +132 -130
  29. package/dist/llms/rules/installation.js +1 -1
  30. package/dist/llms/rules/requirements.js +1 -1
  31. package/package.json +1 -1
@@ -1,93 +1,88 @@
1
1
  import * as n from "react";
2
2
  import { useControllableState as T } from "@radix-ui/react-use-controllable-state";
3
3
  import { readIsIrisChatWindowPlacement as te } from "./iris-chat-context.js";
4
- import { createDefaultIrisChatFrame as I, readIrisChatMaxFrameSize as ne, clampIrisChatFrame as re, IRIS_CHAT_FRAME_DEFAULT_HEIGHT_PX as ae, IRIS_CHAT_FRAME_DEFAULT_WIDTH_PX as oe, createCompactIrisChatFrame as se, readIrisChatViewport as z } from "./iris-chat-frame.js";
5
- import { readIrisChatFrameIsLarge as ie, createIrisChatSnapFrame as ce } from "./iris-chat-snap-presets.js";
4
+ import { createDefaultIrisChatFrame as g, readIrisChatMaxFrameSize as ne, readIrisChatFrameWithSizeAnchoredAtBottomRight as re, IRIS_CHAT_FRAME_DEFAULT_HEIGHT_PX as ae, IRIS_CHAT_FRAME_DEFAULT_WIDTH_PX as oe, createCompactIrisChatFrame as se, readIrisChatViewport as x } from "./iris-chat-frame.js";
5
+ import { readIrisChatFrameIsCompact as ie, createIrisChatSnapFrame as ce } from "./iris-chat-snap-presets.js";
6
6
  import { readIrisChatCloseTransform as le, IRIS_CHAT_CLOSE_ANIMATION_MS as ue, readIrisChatCloseAnimationStyle as me } from "./iris-chat-close-animation.js";
7
- import { readIrisChatLaunchAnimationEnabled as N, runIrisChatOpenFromLaunchTarget as fe } from "./iris-chat-launch-animation.js";
8
- function Ie(D) {
7
+ import { readIrisChatLaunchAnimationEnabled as z, runIrisChatOpenFromLaunchTarget as fe } from "./iris-chat-launch-animation.js";
8
+ function Fe(N) {
9
9
  const {
10
10
  open: W,
11
11
  defaultOpen: E = !0,
12
- onOpenChange: q,
13
- placement: B,
14
- defaultPlacement: w = "dock-right",
15
- onPlacementChange: U,
16
- frame: V,
17
- defaultFrame: S,
18
- onFrameChange: X,
12
+ onOpenChange: D,
13
+ placement: q,
14
+ defaultPlacement: S = "dock-right",
15
+ onPlacementChange: B,
16
+ frame: U,
17
+ defaultFrame: _,
18
+ onFrameChange: V,
19
19
  closeAnimationTarget: p,
20
- onCloseAnimationComplete: _
21
- } = D, C = n.useRef(null), a = n.useRef(null), d = n.useRef(null), y = n.useRef(!1), [o, P] = n.useState(!1), [v, x] = n.useState(!1), [G, l] = T({
20
+ onCloseAnimationComplete: w
21
+ } = N, C = n.useRef(null), r = n.useRef(null), d = n.useRef(null), F = n.useRef(!1), [a, P] = n.useState(!1), [v, L] = n.useState(!1), [X, l] = T({
22
22
  prop: W,
23
23
  defaultProp: E,
24
- onChange: q
25
- }), [j, u] = T({
26
- prop: B,
27
- defaultProp: w,
28
- onChange: U
29
- }), [L, M] = T({
30
- prop: V,
31
- defaultProp: S ?? I(),
32
- onChange: X
33
- }), h = n.useRef(
34
- L ?? S ?? I()
35
- ), s = G ?? E, g = j ?? w, r = L ?? I(), m = te(g);
36
- function J(e) {
37
- M(e);
24
+ onChange: D
25
+ }), [G, u] = T({
26
+ prop: q,
27
+ defaultProp: S,
28
+ onChange: B
29
+ }), [M, b] = T({
30
+ prop: U,
31
+ defaultProp: _ ?? g(),
32
+ onChange: V
33
+ }), A = n.useRef(
34
+ M ?? _ ?? g()
35
+ ), o = X ?? E, h = G ?? S, s = M ?? g(), m = te(h);
36
+ function j(e) {
37
+ b(e);
38
38
  }
39
39
  function i(e) {
40
- M(e);
40
+ b(e);
41
41
  }
42
- function K() {
43
- i(I());
44
- }
45
- function b() {
46
- h.current = r, i(se({ x: r.x, y: r.y })), u("minimized");
42
+ function J() {
43
+ i(g());
47
44
  }
48
45
  function H() {
49
- i(h.current), u("float");
46
+ A.current = s, i(se(s)), u("minimized");
47
+ }
48
+ function K() {
49
+ i(A.current), u("float");
50
50
  }
51
51
  function Q(e) {
52
- h.current = r, i(ce(e, z())), u("float");
52
+ A.current = s, i(ce(e, x())), u("float");
53
53
  }
54
54
  function Y() {
55
- const e = z();
56
- if (g === "minimized") {
57
- H();
58
- return;
59
- }
60
- if (ie(r, e)) {
61
- b();
55
+ const e = x();
56
+ if (ie(s, h)) {
57
+ const c = ne(e);
58
+ i(
59
+ re(
60
+ s,
61
+ Math.min(oe, c.width),
62
+ Math.min(ae, c.height),
63
+ e
64
+ )
65
+ ), u("float");
62
66
  return;
63
67
  }
64
- const t = ne(e), c = re(
65
- {
66
- x: r.x,
67
- y: r.y,
68
- width: Math.min(oe, t.width),
69
- height: Math.min(ae, t.height)
70
- },
71
- e
72
- );
73
- h.current = c, i(c), u("float");
68
+ H();
74
69
  }
75
70
  n.useEffect(() => () => {
76
- a.current !== null && window.clearTimeout(a.current), d.current?.();
71
+ r.current !== null && window.clearTimeout(r.current), d.current?.();
77
72
  }, []);
78
- const A = n.useCallback(() => {
79
- a.current !== null && (window.clearTimeout(a.current), a.current = null);
73
+ const R = n.useCallback(() => {
74
+ r.current !== null && (window.clearTimeout(r.current), r.current = null);
80
75
  const e = C.current;
81
- e && (e.style.transform = "", e.style.opacity = "", e.style.transition = "", e.style.pointerEvents = ""), P(!1), l(!1), _?.();
82
- }, [_, l]), F = n.useCallback(
76
+ e && (e.style.transform = "", e.style.opacity = "", e.style.transition = "", e.style.pointerEvents = ""), P(!1), l(!1), w?.();
77
+ }, [w, l]), I = n.useCallback(
83
78
  (e) => {
84
79
  requestAnimationFrame(() => {
85
80
  const c = p?.() ?? null;
86
- N({ target: c, panel: e, isWindowPlacement: m }) && (d.current?.(), x(!0), d.current = fe({
81
+ z({ target: c, panel: e, isWindowPlacement: m }) && (d.current?.(), L(!0), d.current = fe({
87
82
  panel: e,
88
83
  target: c,
89
84
  onComplete: () => {
90
- d.current = null, x(!1);
85
+ d.current = null, L(!1);
91
86
  }
92
87
  }));
93
88
  });
@@ -95,26 +90,26 @@ function Ie(D) {
95
90
  [p, m]
96
91
  ), f = n.useRef(!1);
97
92
  n.useLayoutEffect(() => {
98
- if (!s) {
99
- y.current = !1, f.current = !1;
93
+ if (!o) {
94
+ F.current = !1, f.current = !1;
100
95
  return;
101
96
  }
102
- if (y.current || o)
97
+ if (F.current || a)
103
98
  return;
104
- y.current = !0, f.current = !0;
99
+ F.current = !0, f.current = !0;
105
100
  const e = C.current;
106
- e && (f.current = !1, F(e));
107
- }, [o, s, F]);
101
+ e && (f.current = !1, I(e));
102
+ }, [a, o, I]);
108
103
  const Z = n.useCallback(
109
104
  (e) => {
110
- C.current = e, e && f.current && (f.current = !1, F(e));
105
+ C.current = e, e && f.current && (f.current = !1, I(e));
111
106
  },
112
- [F]
107
+ [I]
113
108
  ), $ = n.useCallback(() => {
114
- if (!s || o)
109
+ if (!o || a)
115
110
  return;
116
111
  const e = p?.() ?? null, t = C.current;
117
- if (!N({
112
+ if (!z({
118
113
  target: e,
119
114
  panel: t,
120
115
  isWindowPlacement: m
@@ -125,37 +120,37 @@ function Ie(D) {
125
120
  const ee = le(
126
121
  t.getBoundingClientRect(),
127
122
  e.getBoundingClientRect()
128
- ), R = me(ee);
129
- P(!0), t.style.pointerEvents = "none", t.style.transformOrigin = "center center", t.style.transition = R.transition, t.style.opacity = R.opacity, requestAnimationFrame(() => {
130
- t.style.transform = R.transform;
123
+ ), y = me(ee);
124
+ P(!0), t.style.pointerEvents = "none", t.style.transformOrigin = "center center", t.style.transition = y.transition, t.style.opacity = y.opacity, requestAnimationFrame(() => {
125
+ t.style.transform = y.transform;
131
126
  });
132
127
  const O = (k) => {
133
- k.target !== t || k.propertyName !== "transform" || (t.removeEventListener("transitionend", O), A());
128
+ k.target !== t || k.propertyName !== "transform" || (t.removeEventListener("transitionend", O), R());
134
129
  };
135
- t.addEventListener("transitionend", O), a.current = window.setTimeout(() => {
136
- t.removeEventListener("transitionend", O), A();
130
+ t.addEventListener("transitionend", O), r.current = window.setTimeout(() => {
131
+ t.removeEventListener("transitionend", O), R();
137
132
  }, ue + 80);
138
- }, [p, A, o, m, s, l]);
133
+ }, [p, R, a, m, o, l]);
139
134
  return {
140
- resolvedOpen: s,
141
- resolvedPlacement: g,
142
- isClosing: o,
135
+ resolvedOpen: o,
136
+ resolvedPlacement: h,
137
+ isClosing: a,
143
138
  isOpening: v,
144
139
  providerValue: {
145
- open: s,
140
+ open: o,
146
141
  setOpen: l,
147
142
  requestClose: $,
148
- isClosing: o,
143
+ isClosing: a,
149
144
  isOpening: v,
150
145
  registerPanelNode: Z,
151
- placement: g,
146
+ placement: h,
152
147
  setPlacement: u,
153
- frame: r,
154
- setFrame: J,
148
+ frame: s,
149
+ setFrame: j,
155
150
  commitFrame: i,
156
- resetFrame: K,
157
- applyCompactFrame: b,
158
- expandFromCompactFrame: H,
151
+ resetFrame: J,
152
+ applyCompactFrame: H,
153
+ expandFromCompactFrame: K,
159
154
  applySnapPreset: Q,
160
155
  toggleWindowSize: Y,
161
156
  isWindowPlacement: m
@@ -163,5 +158,5 @@ function Ie(D) {
163
158
  };
164
159
  }
165
160
  export {
166
- Ie as useIrisChatRoot
161
+ Fe as useIrisChatRoot
167
162
  };
@@ -1,18 +1,18 @@
1
1
  import { jsx as t, jsxs as g } from "react/jsx-runtime";
2
- import * as z from "react";
3
- import { Checkmark as D } from "impact-nova-icons";
4
- import { createComponent as P } from "../../../lib/primitives/create-component.js";
2
+ import * as D from "react";
3
+ import { Checkmark as P } from "impact-nova-icons";
4
+ import { createComponent as T } from "../../../lib/primitives/create-component.js";
5
5
  import { cn as u } from "../../../lib/utils.js";
6
6
  import { OverflowTooltip as w } from "../../feedback/tooltip/overflow-tooltip.js";
7
- import { useImpactNovaI18n as T } from "../../../i18n/use-impact-nova-i18n.js";
8
- import { iconVariants as V, stepVariants as k, stepperVariants as A } from "./stepper.variants.js";
9
- import { stepStatus as O, resolveStepItem as R } from "./internals/step-model.js";
10
- import { CompactStepper as E } from "./internals/stepper-compact.js";
11
- import { PipelineStepper as F } from "./internals/stepper-pipeline.js";
12
- import { RailStepper as K } from "./internals/stepper-rail.js";
13
- import { SummaryStepper as q } from "./internals/stepper-summary.js";
14
- import { TrackStepper as B } from "./internals/stepper-track.js";
15
- const S = P(
7
+ import { useImpactNovaI18n as V } from "../../../i18n/use-impact-nova-i18n.js";
8
+ import { iconVariants as k, stepVariants as A, stepperVariants as O } from "./stepper.variants.js";
9
+ import { stepStatus as R, resolveStepItem as E } from "./internals/step-model.js";
10
+ import { CompactStepper as F } from "./internals/stepper-compact.js";
11
+ import { PipelineStepper as K } from "./internals/stepper-pipeline.js";
12
+ import { RailStepper as q } from "./internals/stepper-rail.js";
13
+ import { SummaryStepper as B } from "./internals/stepper-summary.js";
14
+ import { TrackStepper as C } from "./internals/stepper-track.js";
15
+ const tt = T(
16
16
  "Stepper",
17
17
  ({
18
18
  className: p,
@@ -21,25 +21,26 @@ const S = P(
21
21
  orientation: s = "horizontal",
22
22
  variant: f = "default",
23
23
  heading: I,
24
- renderStep: L,
24
+ stepsCountLabel: L,
25
+ renderStep: N,
25
26
  onStepClick: e,
26
27
  ...m
27
28
  }, n) => {
28
- const { t: c } = T(), b = o.length, d = (v, l) => c("stepper.stepOfTotal", { current: v, total: l });
29
+ const { t: c } = V(), b = o.length, d = (v, l) => c("stepper.stepOfTotal", { current: v, total: l });
29
30
  return f === "rail" ? /* @__PURE__ */ t(
30
- K,
31
+ q,
31
32
  {
32
33
  ref: n,
33
34
  className: p,
34
35
  currentStep: r,
35
36
  steps: o,
36
37
  onStepClick: e,
37
- renderStep: L,
38
+ renderStep: N,
38
39
  stepAriaLabel: d,
39
40
  ...m
40
41
  }
41
42
  ) : f === "compact" ? /* @__PURE__ */ t(
42
- E,
43
+ F,
43
44
  {
44
45
  ref: n,
45
46
  className: p,
@@ -51,7 +52,7 @@ const S = P(
51
52
  ...m
52
53
  }
53
54
  ) : f === "pipeline" ? /* @__PURE__ */ t(
54
- F,
55
+ K,
55
56
  {
56
57
  ref: n,
57
58
  className: p,
@@ -61,11 +62,11 @@ const S = P(
61
62
  heading: I,
62
63
  stepAriaLabel: d,
63
64
  pipelinePrefix: c("stepper.pipelinePrefix"),
64
- stepsCountLabel: c("stepper.stepsCount", { current: r, total: b }),
65
+ stepsCountLabel: L ?? c("stepper.stepsCount", { current: r, total: b }),
65
66
  ...m
66
67
  }
67
68
  ) : f === "track" ? /* @__PURE__ */ t(
68
- B,
69
+ C,
69
70
  {
70
71
  ref: n,
71
72
  className: p,
@@ -82,7 +83,7 @@ const S = P(
82
83
  ...m
83
84
  }
84
85
  ) : f === "summary" ? /* @__PURE__ */ t(
85
- q,
86
+ B,
86
87
  {
87
88
  ref: n,
88
89
  className: p,
@@ -96,22 +97,22 @@ const S = P(
96
97
  "div",
97
98
  {
98
99
  ref: n,
99
- className: u(A({ orientation: s, variant: "default" }), p),
100
+ className: u(O({ orientation: s, variant: "default" }), p),
100
101
  "data-orientation": s,
101
102
  "data-variant": "default",
102
103
  "data-component": "stepper",
103
104
  role: "list",
104
105
  ...m,
105
106
  children: o.map((v, l) => {
106
- const a = R(v), h = l + 1, x = a.disabled, i = O(h, r, a.status), N = i === "active", j = i === "completed";
107
- return /* @__PURE__ */ g(z.Fragment, { children: [
107
+ const a = E(v), h = l + 1, x = a.disabled, i = R(h, r, a.status), j = i === "active", z = i === "completed";
108
+ return /* @__PURE__ */ g(D.Fragment, { children: [
108
109
  /* @__PURE__ */ g(
109
110
  "div",
110
111
  {
111
112
  role: "listitem",
112
113
  onClick: () => !x && e?.(l),
113
114
  "aria-label": d(h, b),
114
- "aria-current": N ? "step" : void 0,
115
+ "aria-current": j ? "step" : void 0,
115
116
  tabIndex: e && !x ? 0 : void 0,
116
117
  onKeyDown: e && !x ? (y) => {
117
118
  (y.key === "Enter" || y.key === " ") && (y.preventDefault(), e(l));
@@ -120,12 +121,12 @@ const S = P(
120
121
  "data-status": i,
121
122
  "data-disabled": x || void 0,
122
123
  className: u(
123
- k({ orientation: s, status: i }),
124
+ A({ orientation: s, status: i }),
124
125
  s === "horizontal" && "min-w-[140px]",
125
126
  x ? "opacity-80 cursor-not-allowed" : e ? "cursor-pointer" : "cursor-default"
126
127
  ),
127
128
  children: [
128
- /* @__PURE__ */ t("div", { className: u(V({ status: i }), "mr-2"), children: j ? /* @__PURE__ */ t(D, { className: "h-5 w-5 stroke-[3px]" }) : /* @__PURE__ */ t("span", { children: a.icon || h }) }),
129
+ /* @__PURE__ */ t("div", { className: u(k({ status: i }), "mr-2"), children: z ? /* @__PURE__ */ t(P, { className: "h-5 w-5 stroke-[3px]" }) : /* @__PURE__ */ t("span", { children: a.icon || h }) }),
129
130
  /* @__PURE__ */ g("div", { className: "flex min-w-0 flex-col justify-center overflow-hidden", children: [
130
131
  /* @__PURE__ */ t(
131
132
  w,
@@ -174,5 +175,5 @@ const S = P(
174
175
  }
175
176
  );
176
177
  export {
177
- S as Stepper
178
+ tt as Stepper
178
179
  };
@@ -25,6 +25,8 @@ export interface StepperProps extends React.HTMLAttributes<HTMLDivElement>, Vari
25
25
  onStepClick?: (index: number) => void;
26
26
  /** Pipeline heading after the "Pipeline:" prefix. Ignored on other variants. */
27
27
  heading?: string;
28
+ /** Pipeline variant: overrides the built-in steps count label (app i18n). */
29
+ stepsCountLabel?: string;
28
30
  /**
29
31
  * Rail variant only: custom step body (e.g. `AccordionItem`).
30
32
  * Falls back to a label-only card when omitted.
@@ -337,6 +337,11 @@ export interface IrisChatMessages {
337
337
  snapTopHalf: string;
338
338
  snapBottomHalf: string;
339
339
  snapFill: string;
340
+ snapDock: string;
341
+ snapBottomRight: string;
342
+ snapBottomLeft: string;
343
+ snapTopRight: string;
344
+ snapTopLeft: string;
340
345
  resize: string;
341
346
  back: string;
342
347
  filter: string;
@@ -346,6 +346,11 @@ const e = {
346
346
  snapTopHalf: "Snap to top half",
347
347
  snapBottomHalf: "Snap to bottom half",
348
348
  snapFill: "Fill available space",
349
+ snapDock: "Dock as chat window",
350
+ snapBottomRight: "Dock bottom right",
351
+ snapBottomLeft: "Dock bottom left",
352
+ snapTopRight: "Dock top right",
353
+ snapTopLeft: "Dock top left",
349
354
  resize: "Resize",
350
355
  back: "Back",
351
356
  filter: "Filter",
@@ -432,7 +437,7 @@ const e = {
432
437
  columnOptions: "Column Options",
433
438
  chooseColumns: "Choose Columns",
434
439
  resetColumns: "Reset Columns"
435
- }, T = {
440
+ }, k = {
436
441
  calendar: e,
437
442
  datePicker: t,
438
443
  filter: a,
@@ -458,5 +463,5 @@ const e = {
458
463
  stereoScatter: w
459
464
  };
460
465
  export {
461
- T as defaultMessages
466
+ k as defaultMessages
462
467
  };
@@ -372,6 +372,11 @@ const e = {
372
372
  snapTopHalf: "Obere Hälfte",
373
373
  snapBottomHalf: "Untere Hälfte",
374
374
  snapFill: "Verfügbaren Platz füllen",
375
+ snapDock: "Als Chatfenster andocken",
376
+ snapBottomRight: "Unten rechts",
377
+ snapBottomLeft: "Unten links",
378
+ snapTopRight: "Oben rechts",
379
+ snapTopLeft: "Oben links",
375
380
  resize: "Größe ändern",
376
381
  back: "Zurück",
377
382
  filter: "Filter",
@@ -372,6 +372,11 @@ const e = {
372
372
  snapTopHalf: "Mitad superior",
373
373
  snapBottomHalf: "Mitad inferior",
374
374
  snapFill: "Rellenar espacio",
375
+ snapDock: "Acoplar como chat",
376
+ snapBottomRight: "Abajo a la derecha",
377
+ snapBottomLeft: "Abajo a la izquierda",
378
+ snapTopRight: "Arriba a la derecha",
379
+ snapTopLeft: "Arriba a la izquierda",
375
380
  resize: "Redimensionar",
376
381
  back: "Atrás",
377
382
  filter: "Filtrar",
@@ -372,6 +372,11 @@ const e = {
372
372
  snapTopHalf: "ऊपरी आधा",
373
373
  snapBottomHalf: "निचला आधा",
374
374
  snapFill: "उपलब्ध स्थान भरें",
375
+ snapDock: "चैट विंडो के रूप में डॉक करें",
376
+ snapBottomRight: "नीचे दाएँ",
377
+ snapBottomLeft: "नीचे बाएँ",
378
+ snapTopRight: "ऊपर दाएँ",
379
+ snapTopLeft: "ऊपर बाएँ",
375
380
  resize: "आकार बदलें",
376
381
  back: "वापस",
377
382
  filter: "फ़िल्टर",
@@ -372,6 +372,11 @@ const e = {
372
372
  snapTopHalf: "Snap to top half",
373
373
  snapBottomHalf: "Snap to bottom half",
374
374
  snapFill: "Fill available space",
375
+ snapDock: "Dock as chat window",
376
+ snapBottomRight: "Dock bottom right",
377
+ snapBottomLeft: "Dock bottom left",
378
+ snapTopRight: "Dock top right",
379
+ snapTopLeft: "Dock top left",
375
380
  resize: "Resize",
376
381
  back: "Back",
377
382
  filter: "Filter",
@@ -9,24 +9,31 @@
9
9
  .table-viewport-shell--expanded {
10
10
  position: fixed;
11
11
  inset: 0;
12
+ /* Above app header (z-40) and sidebar panel (z-45); same tier as modal shell (z-50). */
12
13
  z-index: 50;
13
14
  box-sizing: border-box;
15
+ display: flex;
16
+ flex-direction: column;
14
17
  width: 100vw;
15
18
  height: 100vh;
16
19
  max-width: 100vw;
17
20
  max-height: 100vh;
18
21
  overflow: auto;
19
22
  border-radius: 0;
20
- background-color: var(--color-surface-muted);
21
- padding: 24px;
23
+ background-color: var(--color-canvas-elevated);
24
+ padding: 0;
22
25
  animation: table-viewport-shell-expand-in 0.15s ease-out;
23
26
  /* Cancel parent stack gaps (e.g. Tailwind space-y-* margin-top on this node). */
24
27
  margin: 0 !important;
25
- /* Inner table container gets a visible border so it separates from the muted bg */
26
28
  }
27
29
  .table-viewport-shell--expanded [data-component=data-table] {
28
- border: 1px solid var(--color-border-hairline);
29
- border-radius: 8px;
30
+ display: flex;
31
+ flex: 1 1 auto;
32
+ flex-direction: column;
33
+ height: 100%;
34
+ min-height: 0;
35
+ border: none;
36
+ border-radius: 0;
30
37
  overflow: hidden;
31
38
  }
32
39
  .table-viewport-shell--expanded {
@@ -911,10 +918,13 @@ html.iris-agent-session *:not(.iris-agent-cursor):not(.iris-agent-cursor *):not(
911
918
 
912
919
  .iris-control-region {
913
920
  position: relative;
914
- isolation: isolate;
915
921
  overflow: visible;
916
922
  }
917
923
 
924
+ .iris-control-region[data-locked=true] {
925
+ isolation: isolate;
926
+ }
927
+
918
928
  .iris-control-region[data-variant=section][data-locked=true] {
919
929
  overflow: clip;
920
930
  }