impact-nova 3.0.0-alpha.11 → 3.0.0-alpha.13
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/data/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +88 -76
- package/dist/components/data/ag-grid-react/headers/custom-header.js +109 -107
- package/dist/components/data/data-table/index.d.ts +1 -0
- package/dist/components/data/data-table/index.js +16 -14
- package/dist/components/data/data-table/use-data-table-viewport.d.ts +10 -0
- package/dist/components/data/data-table/use-data-table-viewport.js +31 -0
- package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +3 -2
- package/dist/components/data/expandable-list-item/expandable-list-item-metrics.js +3 -2
- package/dist/components/feedback/tooltip/tab-tooltip-render.js +3 -2
- package/dist/components/flows/command-palette/shortcut-settings.js +10 -10
- package/dist/components/flows/filter-panel/filter-panel.js +4 -4
- package/dist/components/forms/select/components/SelectTriggerValue.js +3 -2
- package/dist/components/forms/select/components/Submenu.js +3 -2
- package/dist/components/primitives/stepper/stepper.js +29 -28
- package/dist/components/primitives/stepper/stepper.types.d.ts +2 -0
- package/dist/impact-nova-components.css +16 -6
- package/dist/impact-nova.css +1 -1
- package/dist/index.js +132 -130
- package/dist/llms/rules/installation.js +1 -1
- package/dist/llms/rules/requirements.js +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { DataTable as t, DataTableContent as r, DataTableToolbar as o } from "./data-table.js";
|
|
2
|
-
import { deferColumnRuntimeStateGuard as T, isColumnRuntimeStateGuardDeferred as n, isColumnRuntimeStateGuardUpdating as
|
|
2
|
+
import { deferColumnRuntimeStateGuard as T, isColumnRuntimeStateGuardDeferred as n, isColumnRuntimeStateGuardUpdating as D, rebuildColumnTreeCacheFromGrid as S, scheduleColumnRuntimeStateGuard as b } from "./column-runtime-state-guard.js";
|
|
3
3
|
import { DATA_TABLE_SCOPED_SHEET_HOST_MIN_HEIGHT_PX as i, DATA_TABLE_SHEET_SLIDE_TRANSITION_MS as u, TABLE_VIEWPORT_SHELL_EXPANDED_CLASS as p } from "./data-table-constants.js";
|
|
4
|
-
import { DataTableColumnList as
|
|
5
|
-
import { DataTableContext as
|
|
4
|
+
import { DataTableColumnList as d } from "./data-table-column-list.js";
|
|
5
|
+
import { DataTableContext as s, DataTableSheetPortalStoreContext as h, useDataTable as C, useDataTableSheetPortal as _, useDataTableSheetPortalStore as E } from "./data-table-context.js";
|
|
6
6
|
import { DataTableFormatOptions as L } from "./data-table-format-options.js";
|
|
7
|
-
import { DataTableSheet as
|
|
7
|
+
import { DataTableSheet as w, DataTableSheetContent as I, DataTableSheetHeader as V, DataTableSheetTrigger as g } from "./data-table-sheet.js";
|
|
8
8
|
import { DataTableSheetBody as M, DataTableSheetSection as c, DataTableSheetTabPanel as G, DataTableSheetTabs as O, DataTableSheetTabsList as R } from "./data-table-sheet-layout.js";
|
|
9
9
|
import { useDataTableSheet as N, useDataTableSheetApi as v } from "./data-table-sheet-context.js";
|
|
10
10
|
import { DataTableViewMenuContent as F, DataTableViewMenuDensity as X, DataTableViewMenuSettingsItem as U, DataTableViewMenuTrigger as W, DataTableViewMenuViewportExpand as j } from "./data-table-view-menu.js";
|
|
@@ -14,26 +14,27 @@ import { ColumnIndicator as Q } from "./column-indicator.js";
|
|
|
14
14
|
import { IndicatorLegend as Z } from "./indicator-legend.js";
|
|
15
15
|
import { resolveColumnSavability as ee } from "./column-savability.js";
|
|
16
16
|
import { mergePartialOrderedColumnState as te } from "./data-table-column-state.js";
|
|
17
|
+
import { useDataTableViewport as oe } from "./use-data-table-viewport.js";
|
|
17
18
|
export {
|
|
18
19
|
Q as ColumnIndicator,
|
|
19
20
|
i as DATA_TABLE_SCOPED_SHEET_HOST_MIN_HEIGHT_PX,
|
|
20
21
|
u as DATA_TABLE_SHEET_SLIDE_TRANSITION_MS,
|
|
21
22
|
t as DataTable,
|
|
22
|
-
|
|
23
|
+
d as DataTableColumnList,
|
|
23
24
|
r as DataTableContent,
|
|
24
|
-
|
|
25
|
+
s as DataTableContext,
|
|
25
26
|
L as DataTableFormatOptions,
|
|
26
27
|
q as DataTableSavedViews,
|
|
27
|
-
|
|
28
|
+
w as DataTableSheet,
|
|
28
29
|
M as DataTableSheetBody,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
I as DataTableSheetContent,
|
|
31
|
+
V as DataTableSheetHeader,
|
|
32
|
+
h as DataTableSheetPortalStoreContext,
|
|
32
33
|
c as DataTableSheetSection,
|
|
33
34
|
G as DataTableSheetTabPanel,
|
|
34
35
|
O as DataTableSheetTabs,
|
|
35
36
|
R as DataTableSheetTabsList,
|
|
36
|
-
|
|
37
|
+
g as DataTableSheetTrigger,
|
|
37
38
|
o as DataTableToolbar,
|
|
38
39
|
F as DataTableViewMenuContent,
|
|
39
40
|
X as DataTableViewMenuDensity,
|
|
@@ -45,14 +46,15 @@ export {
|
|
|
45
46
|
p as TABLE_VIEWPORT_SHELL_EXPANDED_CLASS,
|
|
46
47
|
T as deferColumnRuntimeStateGuard,
|
|
47
48
|
n as isColumnRuntimeStateGuardDeferred,
|
|
48
|
-
|
|
49
|
+
D as isColumnRuntimeStateGuardUpdating,
|
|
49
50
|
te as mergePartialOrderedColumnState,
|
|
50
|
-
|
|
51
|
+
S as rebuildColumnTreeCacheFromGrid,
|
|
51
52
|
ee as resolveColumnSavability,
|
|
52
53
|
b as scheduleColumnRuntimeStateGuard,
|
|
53
54
|
C as useDataTable,
|
|
54
55
|
N as useDataTableSheet,
|
|
55
56
|
v as useDataTableSheetApi,
|
|
56
57
|
_ as useDataTableSheetPortal,
|
|
57
|
-
E as useDataTableSheetPortalStore
|
|
58
|
+
E as useDataTableSheetPortalStore,
|
|
59
|
+
oe as useDataTableViewport
|
|
58
60
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function useDataTableViewport(): {
|
|
2
|
+
tableShellRef: import('react').RefObject<HTMLDivElement | null>;
|
|
3
|
+
viewMenuViewportExpandProps: {
|
|
4
|
+
expanded: boolean;
|
|
5
|
+
onExpandedChange: (expanded: boolean) => void;
|
|
6
|
+
};
|
|
7
|
+
isViewportExpanded: boolean;
|
|
8
|
+
setViewportExpanded: (expanded: boolean) => void;
|
|
9
|
+
isViewportExpandedRef: import('react').RefObject<boolean>;
|
|
10
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { useRef as r, useState as l, useCallback as i, useLayoutEffect as u, useMemo as E } from "react";
|
|
2
|
+
import { TABLE_VIEWPORT_SHELL_EXPANDED_CLASS as c } from "./data-table-constants.js";
|
|
3
|
+
function w() {
|
|
4
|
+
const n = r(null), [e, a] = l(!1), o = r(!1), s = i((t) => {
|
|
5
|
+
o.current = t, a(t);
|
|
6
|
+
}, []);
|
|
7
|
+
u(() => {
|
|
8
|
+
const t = n.current;
|
|
9
|
+
t && t.classList.toggle(
|
|
10
|
+
c,
|
|
11
|
+
e
|
|
12
|
+
);
|
|
13
|
+
}, [e]);
|
|
14
|
+
const p = E(
|
|
15
|
+
() => ({
|
|
16
|
+
expanded: e,
|
|
17
|
+
onExpandedChange: s
|
|
18
|
+
}),
|
|
19
|
+
[e, s]
|
|
20
|
+
);
|
|
21
|
+
return {
|
|
22
|
+
tableShellRef: n,
|
|
23
|
+
viewMenuViewportExpandProps: p,
|
|
24
|
+
isViewportExpanded: e,
|
|
25
|
+
setViewportExpanded: s,
|
|
26
|
+
isViewportExpandedRef: o
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
w as useDataTableViewport
|
|
31
|
+
};
|
|
@@ -3,7 +3,8 @@ import { Badge as s } from "../../data-display/badge/badge.js";
|
|
|
3
3
|
import { FilterPopoverContent as u } from "../../flows/filter-strip/filter-tag-list.js";
|
|
4
4
|
import { Popover as b, PopoverTrigger as f } from "../../feedback/popover/popover.js";
|
|
5
5
|
import { Tooltip as g, TooltipTrigger as v, TooltipContent as x } from "../../feedback/tooltip/tooltip.js";
|
|
6
|
-
|
|
6
|
+
import "react";
|
|
7
|
+
function I({
|
|
7
8
|
tags: o,
|
|
8
9
|
title: l = "Attributes",
|
|
9
10
|
maxVisibleTags: n = 4,
|
|
@@ -70,5 +71,5 @@ function w({
|
|
|
70
71
|
);
|
|
71
72
|
}
|
|
72
73
|
export {
|
|
73
|
-
|
|
74
|
+
I as ExpandableListItemAttributes
|
|
74
75
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { ScrollOverflowAffordance as o } from "../../layout/horizontal-scroller/scroll-overflow-affordance.js";
|
|
3
|
+
import "react";
|
|
3
4
|
import { OverflowTooltip as r } from "../../feedback/tooltip/overflow-tooltip.js";
|
|
4
5
|
const m = 128;
|
|
5
|
-
function
|
|
6
|
+
function f({
|
|
6
7
|
columns: i,
|
|
7
8
|
sectionId: l = "metrics"
|
|
8
9
|
}) {
|
|
@@ -50,5 +51,5 @@ function x({
|
|
|
50
51
|
);
|
|
51
52
|
}
|
|
52
53
|
export {
|
|
53
|
-
|
|
54
|
+
f as ExpandableListItemMetrics
|
|
54
55
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { Tooltip as l, TooltipTrigger as n, TooltipContent as o } from "./tooltip.js";
|
|
3
|
-
|
|
3
|
+
import "react";
|
|
4
|
+
const p = (i, r, a) => /* @__PURE__ */ t(l, { children: [
|
|
4
5
|
/* @__PURE__ */ e(n, { asChild: !0, children: /* @__PURE__ */ e("span", { className: "inline-flex items-center justify-center h-full w-full", children: i }) }),
|
|
5
6
|
/* @__PURE__ */ e(o, { variant: "tertiary", className: a, children: r })
|
|
6
7
|
] }), h = (i, r) => /* @__PURE__ */ t(l, { children: [
|
|
@@ -9,5 +10,5 @@ const d = (i, r, a) => /* @__PURE__ */ t(l, { children: [
|
|
|
9
10
|
] });
|
|
10
11
|
export {
|
|
11
12
|
h as defaultAccordionTooltipRender,
|
|
12
|
-
|
|
13
|
+
p as defaultTabTooltipRender
|
|
13
14
|
};
|
|
@@ -2,17 +2,17 @@ import { jsx as r, jsxs as h, Fragment as z } from "react/jsx-runtime";
|
|
|
2
2
|
import * as o from "react";
|
|
3
3
|
import { Person as G, Monitor as U, PriorityAlert as q, Locked as O, Reset as B } from "impact-nova-icons";
|
|
4
4
|
import { cn as p } from "../../../lib/utils.js";
|
|
5
|
+
import { Kbd as $ } from "../../primitives/kbd/kbd.js";
|
|
6
|
+
import { keybindingToString as H } from "../../primitives/kbd/keybinding-display.js";
|
|
5
7
|
import { OverflowTooltip as A } from "../../feedback/tooltip/overflow-tooltip.js";
|
|
6
|
-
import { ModuleRegistry as
|
|
7
|
-
import { AllEnterpriseModule as
|
|
8
|
-
import { DataTable as
|
|
8
|
+
import { ModuleRegistry as V, AllCommunityModule as J } from "ag-grid-community";
|
|
9
|
+
import { AllEnterpriseModule as Q } from "ag-grid-enterprise";
|
|
10
|
+
import { DataTable as X, DataTableContent as Y } from "../../data/data-table/data-table.js";
|
|
9
11
|
import { AG_CELL_NO_PADDING as F } from "../../data/ag-grid-react/cell-renderers/index.js";
|
|
10
|
-
import { Kbd as X } from "../../primitives/kbd/kbd.js";
|
|
11
|
-
import { keybindingToString as Y } from "../../primitives/kbd/keybinding-display.js";
|
|
12
12
|
import { useCommandPalette as Z } from "./use-command-palette.js";
|
|
13
13
|
import { COMMAND_SOURCE_LABELS as m, keybindingFromEvent as W, isReservedShortcut as ee } from "./utils.js";
|
|
14
14
|
import { BadgeCellRenderer as te } from "../../data/ag-grid-react/cell-renderers/badge-cell-renderer.js";
|
|
15
|
-
|
|
15
|
+
V.registerModules([J, Q]);
|
|
16
16
|
function re(a) {
|
|
17
17
|
const t = a.data;
|
|
18
18
|
return t ? /* @__PURE__ */ h("div", { className: "flex items-center gap-2 min-w-0 h-full", children: [
|
|
@@ -69,7 +69,7 @@ function ne(a) {
|
|
|
69
69
|
"flex items-center justify-end h-full w-full text-end",
|
|
70
70
|
t.customisable ? "cursor-pointer" : "cursor-default opacity-70"
|
|
71
71
|
),
|
|
72
|
-
children: /* @__PURE__ */ r(
|
|
72
|
+
children: /* @__PURE__ */ r($, { keybinding: t.keybinding, size: "sm" })
|
|
73
73
|
}
|
|
74
74
|
) : t.customisable ? /* @__PURE__ */ r(
|
|
75
75
|
"button",
|
|
@@ -133,7 +133,7 @@ function le({
|
|
|
133
133
|
description: e.description || "",
|
|
134
134
|
category: e.category || "General",
|
|
135
135
|
keybinding: i,
|
|
136
|
-
keybindingDisplay: i ?
|
|
136
|
+
keybindingDisplay: i ? H(i) : "",
|
|
137
137
|
scope: e.scope,
|
|
138
138
|
source: D,
|
|
139
139
|
sourceColor: T ? "primary" : "neutral",
|
|
@@ -278,10 +278,10 @@ function le({
|
|
|
278
278
|
u?.type === "conflict" ? /* @__PURE__ */ r(q, { className: "h-3.5 w-3.5 shrink-0" }) : u?.type === "reserved" ? /* @__PURE__ */ r(O, { className: "h-3.5 w-3.5 shrink-0" }) : c ? /* @__PURE__ */ r("span", { className: "shrink-0 text-base", children: "⌨️" }) : null,
|
|
279
279
|
/* @__PURE__ */ r("span", { children: u ? u.text : L })
|
|
280
280
|
] }) : null;
|
|
281
|
-
return /* @__PURE__ */ h(
|
|
281
|
+
return /* @__PURE__ */ h(X, { className: p("flex flex-col w-full h-full border-t-0", a), children: [
|
|
282
282
|
s ? s(E) : E,
|
|
283
283
|
/* @__PURE__ */ r(
|
|
284
|
-
|
|
284
|
+
Y,
|
|
285
285
|
{
|
|
286
286
|
rowData: y,
|
|
287
287
|
columnDefs: I,
|
|
@@ -6,8 +6,8 @@ import { cn as o } from "../../../lib/utils.js";
|
|
|
6
6
|
import { MultiColorFilter as F, Cross as P, InfoBadge as u } from "impact-nova-icons";
|
|
7
7
|
import { Button as D } from "../../primitives/button/button.js";
|
|
8
8
|
import { Tooltip as c, TooltipTrigger as f, TooltipContent as h } from "../../feedback/tooltip/tooltip.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { Kbd as S } from "../../primitives/kbd/kbd.js";
|
|
10
|
+
import { OverflowTooltip as j } from "../../feedback/tooltip/overflow-tooltip.js";
|
|
11
11
|
import { useImpactNovaI18n as v } from "../../../i18n/use-impact-nova-i18n.js";
|
|
12
12
|
import { useOverlayHostDismissNestedLayersOnNavigation as I } from "../../../lib/overlay/overlay-portal-context.js";
|
|
13
13
|
import { preventDismissOnTooltipOutside as x } from "../../../lib/overlay/prevent-dismiss-on-tooltip-outside.js";
|
|
@@ -145,14 +145,14 @@ const O = ({
|
|
|
145
145
|
),
|
|
146
146
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-1 min-w-0", children: [
|
|
147
147
|
/* @__PURE__ */ e(
|
|
148
|
-
|
|
148
|
+
j,
|
|
149
149
|
{
|
|
150
150
|
triggerClassName: "truncate font-['Manrope'] block min-w-0",
|
|
151
151
|
content: t.tooltipKeybinding ? /* @__PURE__ */ a("span", { className: "flex items-center gap-2", children: [
|
|
152
152
|
t.label,
|
|
153
153
|
" ",
|
|
154
154
|
/* @__PURE__ */ e(
|
|
155
|
-
|
|
155
|
+
S,
|
|
156
156
|
{
|
|
157
157
|
keybinding: t.tooltipKeybinding,
|
|
158
158
|
size: "sm"
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { cn as x } from "../../../../lib/utils.js";
|
|
3
|
+
import "react";
|
|
3
4
|
import { OverflowTooltip as m } from "../../../feedback/tooltip/overflow-tooltip.js";
|
|
4
5
|
import { isInvertedSelection as h, isOptionArray as d } from "../utils/select.js";
|
|
5
|
-
function
|
|
6
|
+
function C({
|
|
6
7
|
isMulti: u,
|
|
7
8
|
isDisabled: p,
|
|
8
9
|
internalValue: o,
|
|
@@ -52,5 +53,5 @@ function w({
|
|
|
52
53
|
);
|
|
53
54
|
}
|
|
54
55
|
export {
|
|
55
|
-
|
|
56
|
+
C as SelectTriggerValue
|
|
56
57
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import * as i from "@radix-ui/react-popover";
|
|
3
3
|
import { Checkbox as P } from "../../checkbox/checkbox.js";
|
|
4
|
+
import "react";
|
|
4
5
|
import { OverflowTooltip as y } from "../../../feedback/tooltip/overflow-tooltip.js";
|
|
5
6
|
import { ChevronRight as A, Checkmark as O } from "impact-nova-icons";
|
|
6
7
|
import { cn as v } from "../../../../lib/utils.js";
|
|
7
8
|
import { useOverlayPortalContainer as T } from "../../../../lib/overlay/overlay-portal-context.js";
|
|
8
9
|
import { OVERLAY_NESTED_FLOATING_INSTANT_HIDE_CLASS as _ } from "../../../../lib/overlay/overlay-host.constants.js";
|
|
9
10
|
import { useSuppressOptionClickForTextSelection as E } from "../hooks/useSuppressOptionClickForTextSelection.js";
|
|
10
|
-
const
|
|
11
|
+
const R = ({
|
|
11
12
|
parentOption: n,
|
|
12
13
|
isMulti: u,
|
|
13
14
|
isReadOnly: l,
|
|
@@ -105,5 +106,5 @@ const G = ({
|
|
|
105
106
|
] });
|
|
106
107
|
};
|
|
107
108
|
export {
|
|
108
|
-
|
|
109
|
+
R as Submenu
|
|
109
110
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as t, jsxs as g } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import { Checkmark as
|
|
4
|
-
import { createComponent as
|
|
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
|
|
8
|
-
import { iconVariants as
|
|
9
|
-
import { stepStatus as
|
|
10
|
-
import { CompactStepper as
|
|
11
|
-
import { PipelineStepper as
|
|
12
|
-
import { RailStepper as
|
|
13
|
-
import { SummaryStepper as
|
|
14
|
-
import { TrackStepper as
|
|
15
|
-
const
|
|
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
|
-
|
|
24
|
+
stepsCountLabel: L,
|
|
25
|
+
renderStep: N,
|
|
25
26
|
onStepClick: e,
|
|
26
27
|
...m
|
|
27
28
|
}, n) => {
|
|
28
|
-
const { t: c } =
|
|
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
|
-
|
|
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:
|
|
38
|
+
renderStep: N,
|
|
38
39
|
stepAriaLabel: d,
|
|
39
40
|
...m
|
|
40
41
|
}
|
|
41
42
|
) : f === "compact" ? /* @__PURE__ */ t(
|
|
42
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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(
|
|
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 =
|
|
107
|
-
return /* @__PURE__ */ g(
|
|
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":
|
|
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
|
-
|
|
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(
|
|
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
|
-
|
|
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.
|
|
@@ -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-
|
|
21
|
-
padding:
|
|
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
|
-
|
|
29
|
-
|
|
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
|
}
|