impact-nova 3.0.0-alpha.1 → 3.0.0-alpha.2
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/ag-grid.types.d.ts +5 -0
- package/dist/components/data/ag-grid-react/cell-renderers/cell-renderer-utils.js +12 -10
- package/dist/components/data/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +0 -2
- package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.d.ts +8 -0
- package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +56 -42
- package/dist/components/data/ag-grid-react/cell-renderers/types.d.ts +4 -0
- package/dist/components/data/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +29 -31
- package/dist/components/data/ag-grid-react/headers/components/lazy-tooltip.js +6 -8
- package/dist/components/data/ag-grid-react/index.d.ts +1 -1
- package/dist/components/data/ag-grid-react/index.js +115 -111
- package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +6 -9
- package/dist/components/data/expandable-list-item/expandable-list-item-metrics.js +2 -3
- package/dist/components/data-display/calendar/fiscal-period-caption-select.js +2 -4
- package/dist/components/feedback/popover/popover.js +1 -1
- package/dist/components/feedback/tooltip/button-icon-tooltip.js +6 -8
- package/dist/components/feedback/tooltip/tab-tooltip-render.js +4 -7
- 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/flows/guidance/renderers/guidance-card-shared.js +1 -1
- package/dist/components/flows/iris-chat/iris-chat-artifact.js +6 -6
- package/dist/components/flows/iris-chat/iris-chat-composer.js +9 -9
- package/dist/components/flows/iris-chat/iris-chat-markdown.js +8 -8
- package/dist/components/flows/iris-chat/iris-chat-menu.js +1 -1
- package/dist/components/flows/iris-chat/iris-chat-thread.js +1 -1
- package/dist/components/flows/iris-chat/iris-chat.js +1 -1
- package/dist/components/forms/combobox/combobox.js +1 -1
- package/dist/components/forms/select/components/SelectTriggerValue.js +8 -9
- package/dist/components/forms/select/components/Submenu.js +2 -3
- package/dist/components/layout/breadcrumb/breadcrumb.js +1 -1
- package/dist/impact-nova-components.css +85 -0
- package/dist/impact-nova.css +1 -1
- package/dist/lib/overflow/is-text-overflowing.js +24 -6
- package/dist/llms/rules/installation.js +1 -1
- package/dist/llms/rules/requirements.js +1 -1
- package/dist/providers/app-providers.js +11 -13
- package/package.json +1 -1
|
@@ -6,9 +6,9 @@ import { GuidanceActionTapIcon as O } from "./guidance-action-tap-icon.js";
|
|
|
6
6
|
import { GuidanceStepKeybinding as S, GuidanceShortcutReferenceList as M } from "./guidance-shortcut-display.js";
|
|
7
7
|
import { Button as h } from "../../../primitives/button/button.js";
|
|
8
8
|
import { Tooltip as R, TooltipTrigger as U, TooltipContent as $ } from "../../../feedback/tooltip/tooltip.js";
|
|
9
|
-
import { cn as m } from "../../../../lib/utils.js";
|
|
10
9
|
import { Progress as D } from "../../../primitives/progress/progress.js";
|
|
11
10
|
import { useImpactNovaI18n as g } from "../../../../i18n/use-impact-nova-i18n.js";
|
|
11
|
+
import { cn as m } from "../../../../lib/utils.js";
|
|
12
12
|
const J = "Skip", A = "Back";
|
|
13
13
|
function Q({
|
|
14
14
|
activeStepIndex: r,
|
|
@@ -3,10 +3,10 @@ import { Download as y, ThreeDots as v } from "impact-nova-icons";
|
|
|
3
3
|
import { Checkbox as C } from "../../forms/checkbox/checkbox.js";
|
|
4
4
|
import { DropdownMenu as w, DropdownMenuTrigger as j, DropdownMenuContent as k, DropdownMenuItem as p } from "../../feedback/dropdown-menu/dropdown-menu.js";
|
|
5
5
|
import { ButtonIconTooltip as x } from "../../feedback/tooltip/button-icon-tooltip.js";
|
|
6
|
-
import { cn as f } from "../../../lib/utils.js";
|
|
7
6
|
import { Button as b } from "../../primitives/button/button.js";
|
|
8
7
|
import { useImpactNovaI18n as I } from "../../../i18n/use-impact-nova-i18n.js";
|
|
9
|
-
import { createComponent as
|
|
8
|
+
import { createComponent as f } from "../../../lib/primitives/create-component.js";
|
|
9
|
+
import { cn as u } from "../../../lib/utils.js";
|
|
10
10
|
function N(o, i) {
|
|
11
11
|
const a = o.map((l) => l.header).join(","), n = i.map(
|
|
12
12
|
(l) => o.map((t) => {
|
|
@@ -21,7 +21,7 @@ function S(o, i, a) {
|
|
|
21
21
|
const n = new Blob([N(i, a)], { type: "text/csv;charset=utf-8" }), l = URL.createObjectURL(n), t = document.createElement("a");
|
|
22
22
|
t.href = l, t.download = `${o.replaceAll(/\s+/g, "-").toLowerCase()}.csv`, t.click(), URL.revokeObjectURL(l);
|
|
23
23
|
}
|
|
24
|
-
const O =
|
|
24
|
+
const O = f(
|
|
25
25
|
"IrisChatArtifact",
|
|
26
26
|
({ className: o, title: i, columns: a, rows: n, onDownload: l, onMore: t }, d) => {
|
|
27
27
|
const { t: c } = I(), m = () => {
|
|
@@ -35,7 +35,7 @@ const O = u(
|
|
|
35
35
|
{
|
|
36
36
|
ref: d,
|
|
37
37
|
"data-component": "iris-chat-artifact",
|
|
38
|
-
className:
|
|
38
|
+
className: u("min-w-0 w-full max-w-full overflow-hidden rounded-xl border border-stroke-subtle", o),
|
|
39
39
|
children: [
|
|
40
40
|
/* @__PURE__ */ r("header", { className: "flex items-center justify-between gap-2 px-3 py-2", children: [
|
|
41
41
|
/* @__PURE__ */ e("h3", { className: "text-sm font-semibold text-content", children: i }),
|
|
@@ -90,14 +90,14 @@ const O = u(
|
|
|
90
90
|
}
|
|
91
91
|
);
|
|
92
92
|
}
|
|
93
|
-
), $ =
|
|
93
|
+
), $ = f(
|
|
94
94
|
"IrisChatScenario",
|
|
95
95
|
({ className: o, title: i, rows: a, notes: n }, l) => /* @__PURE__ */ r(
|
|
96
96
|
"section",
|
|
97
97
|
{
|
|
98
98
|
ref: l,
|
|
99
99
|
"data-component": "iris-chat-scenario",
|
|
100
|
-
className:
|
|
100
|
+
className: u("flex flex-col gap-2 rounded-xl bg-secondary p-3", o),
|
|
101
101
|
children: [
|
|
102
102
|
/* @__PURE__ */ e("h3", { className: "text-sm font-semibold text-content", children: i }),
|
|
103
103
|
a.length > 0 ? /* @__PURE__ */ e("dl", { className: "flex flex-col gap-2", children: a.map((t) => /* @__PURE__ */ r(
|
|
@@ -2,12 +2,12 @@ import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as A, useState as F, useEffect as le } from "react";
|
|
3
3
|
import { ChevronRight as ce } from "impact-nova-icons";
|
|
4
4
|
import { ButtonIconTooltip as h } from "../../feedback/tooltip/button-icon-tooltip.js";
|
|
5
|
-
import { cn as ue } from "../../../lib/utils.js";
|
|
6
5
|
import { Button as p } from "../../primitives/button/button.js";
|
|
7
|
-
import { DropdownMenu as P, DropdownMenuTrigger as _, DropdownMenuContent as W, DropdownMenuItem as V, DropdownMenuRadioGroup as
|
|
8
|
-
import { useImpactNovaI18n as
|
|
6
|
+
import { DropdownMenu as P, DropdownMenuTrigger as _, DropdownMenuContent as W, DropdownMenuItem as V, DropdownMenuRadioGroup as ue, DropdownMenuRadioItem as de } from "../../feedback/dropdown-menu/dropdown-menu.js";
|
|
7
|
+
import { useImpactNovaI18n as he } from "../../../i18n/use-impact-nova-i18n.js";
|
|
9
8
|
import { useControllableState as G } from "@radix-ui/react-use-controllable-state";
|
|
10
|
-
import { createComponent as
|
|
9
|
+
import { createComponent as pe } from "../../../lib/primitives/create-component.js";
|
|
10
|
+
import { cn as me } from "../../../lib/utils.js";
|
|
11
11
|
import { useIrisChatOptional as fe } from "./iris-chat-context.js";
|
|
12
12
|
import { IrisChatAddIcon as q, IrisChatAttachIcon as ge, IrisChatMicIcon as Ce, IrisChatStopIcon as be, IrisChatSendIcon as ve } from "./iris-chat-icons.js";
|
|
13
13
|
import { IrisChatAttachment as ye } from "./iris-chat-thread.js";
|
|
@@ -15,7 +15,7 @@ import { irisChatComposerVariants as we } from "./iris-chat.variants.js";
|
|
|
15
15
|
const xe = [
|
|
16
16
|
{ label: "Auto", value: "auto" },
|
|
17
17
|
{ label: "Fast", value: "fast" }
|
|
18
|
-
], $e =
|
|
18
|
+
], $e = pe(
|
|
19
19
|
"IrisChatComposer",
|
|
20
20
|
({
|
|
21
21
|
className: a,
|
|
@@ -35,7 +35,7 @@ const xe = [
|
|
|
35
35
|
onAttach: ee,
|
|
36
36
|
onMicClick: K
|
|
37
37
|
}, te) => {
|
|
38
|
-
const { t: n } =
|
|
38
|
+
const { t: n } = he(), $ = fe(), C = $?.placement === "minimized" || $?.placement === "composer" ? "inline" : "stacked", [ie, x] = G({
|
|
39
39
|
prop: s,
|
|
40
40
|
defaultProp: H,
|
|
41
41
|
onChange: J
|
|
@@ -100,7 +100,7 @@ const xe = [
|
|
|
100
100
|
"data-component": "iris-chat-composer",
|
|
101
101
|
"data-layout": C,
|
|
102
102
|
"data-pending": f ? "" : void 0,
|
|
103
|
-
className:
|
|
103
|
+
className: me(
|
|
104
104
|
we({ layout: C }),
|
|
105
105
|
R && "iris-edge-wash-shell--menu iris-edge-wash-shell--fluid",
|
|
106
106
|
a
|
|
@@ -231,11 +231,11 @@ const xe = [
|
|
|
231
231
|
}
|
|
232
232
|
) }),
|
|
233
233
|
/* @__PURE__ */ t(W, { align: "end", children: /* @__PURE__ */ t(
|
|
234
|
-
|
|
234
|
+
ue,
|
|
235
235
|
{
|
|
236
236
|
value: D,
|
|
237
237
|
onValueChange: ne,
|
|
238
|
-
children: U.map((e) => /* @__PURE__ */ t(
|
|
238
|
+
children: U.map((e) => /* @__PURE__ */ t(de, { value: e.value, children: e.label }, e.value))
|
|
239
239
|
}
|
|
240
240
|
) })
|
|
241
241
|
] }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c } from "react";
|
|
3
3
|
import { ButtonIconTooltip as p } from "../../feedback/tooltip/button-icon-tooltip.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { Button as m } from "../../primitives/button/button.js";
|
|
5
|
+
import { useImpactNovaI18n as l } from "../../../i18n/use-impact-nova-i18n.js";
|
|
6
|
+
import { createComponent as d } from "../../../lib/primitives/create-component.js";
|
|
7
|
+
import { cn as f } from "../../../lib/utils.js";
|
|
8
8
|
import { IrisChatCopyIcon as h } from "./iris-chat-icons.js";
|
|
9
9
|
import { irisChatMarkdownVariants as u } from "./iris-chat.variants.js";
|
|
10
10
|
import { Markdown as C } from "../../../node_modules/react-markdown/lib/index.js";
|
|
@@ -13,10 +13,10 @@ function n(r) {
|
|
|
13
13
|
return typeof r == "string" || typeof r == "number" ? String(r) : Array.isArray(r) ? r.map(n).join("") : r && typeof r == "object" && "props" in r ? n(r.props.children) : "";
|
|
14
14
|
}
|
|
15
15
|
function y({ children: r }) {
|
|
16
|
-
const { t: o } =
|
|
16
|
+
const { t: o } = l(), [e, i] = c(!1), a = n(r);
|
|
17
17
|
return /* @__PURE__ */ s("div", { className: "relative", children: [
|
|
18
18
|
/* @__PURE__ */ t(p, { label: o(e ? "irisChat.copied" : "irisChat.copyCode"), children: /* @__PURE__ */ t(
|
|
19
|
-
|
|
19
|
+
m,
|
|
20
20
|
{
|
|
21
21
|
type: "button",
|
|
22
22
|
variant: "ghost",
|
|
@@ -34,14 +34,14 @@ function y({ children: r }) {
|
|
|
34
34
|
/* @__PURE__ */ t("pre", { children: r })
|
|
35
35
|
] });
|
|
36
36
|
}
|
|
37
|
-
const B =
|
|
37
|
+
const B = d(
|
|
38
38
|
"IrisChatMarkdown",
|
|
39
39
|
({ className: r, children: o }, e) => /* @__PURE__ */ t(
|
|
40
40
|
"div",
|
|
41
41
|
{
|
|
42
42
|
ref: e,
|
|
43
43
|
"data-component": "iris-chat-markdown",
|
|
44
|
-
className:
|
|
44
|
+
className: f(u(), r),
|
|
45
45
|
children: /* @__PURE__ */ t(
|
|
46
46
|
C,
|
|
47
47
|
{
|
|
@@ -3,12 +3,12 @@ import { useRef as S, useState as y } from "react";
|
|
|
3
3
|
import { FunnelShow as I, ThreeDots as L, Pin as M, Pencil as A, Bin as D, ChevronRight as T } from "impact-nova-icons";
|
|
4
4
|
import { DropdownMenu as g, DropdownMenuTrigger as v, DropdownMenuContent as b, DropdownMenuItem as f } from "../../feedback/dropdown-menu/dropdown-menu.js";
|
|
5
5
|
import { ButtonIconTooltip as N } from "../../feedback/tooltip/button-icon-tooltip.js";
|
|
6
|
-
import { cn as C } from "../../../lib/utils.js";
|
|
7
6
|
import { Button as x } from "../../primitives/button/button.js";
|
|
8
7
|
import { Accordion as j, AccordionItem as k, AccordionTrigger as R, AccordionContent as E } from "../../primitives/accordion/accordion.js";
|
|
9
8
|
import { useImpactNovaI18n as w } from "../../../i18n/use-impact-nova-i18n.js";
|
|
10
9
|
import { useVirtualizedList as B } from "../../../lib/virtualized/useVirtualizedList.js";
|
|
11
10
|
import { createComponent as O } from "../../../lib/primitives/create-component.js";
|
|
11
|
+
import { cn as C } from "../../../lib/utils.js";
|
|
12
12
|
import { IrisChatAttachIcon as $ } from "./iris-chat-icons.js";
|
|
13
13
|
const z = ["type", "status", "lastActivity"], ee = O(
|
|
14
14
|
"IrisChatMenu",
|
|
@@ -3,12 +3,12 @@ import { useState as g } from "react";
|
|
|
3
3
|
import { Cross as U, ChevronRight as z } from "impact-nova-icons";
|
|
4
4
|
import { Popover as K, PopoverTrigger as H, PopoverContent as L, PopoverHeader as R, PopoverTitle as V, PopoverBody as q } from "../../feedback/popover/popover.js";
|
|
5
5
|
import { ButtonIconTooltip as f } from "../../feedback/tooltip/button-icon-tooltip.js";
|
|
6
|
-
import { cn as c } from "../../../lib/utils.js";
|
|
7
6
|
import { Alert as J, AlertIcon as Q, AlertTitle as X, AlertDescription as Y } from "../../feedback/alert/alert.js";
|
|
8
7
|
import { Button as p } from "../../primitives/button/button.js";
|
|
9
8
|
import { IrisAlanGradientIcon as _ } from "../../primitives/iris/iris-alan-gradient-icon.js";
|
|
10
9
|
import { useImpactNovaI18n as b } from "../../../i18n/use-impact-nova-i18n.js";
|
|
11
10
|
import { createComponent as d } from "../../../lib/primitives/create-component.js";
|
|
11
|
+
import { cn as c } from "../../../lib/utils.js";
|
|
12
12
|
import { IrisChatLikeIcon as Z, IrisChatDislikeIcon as E, IrisChatCopyIcon as $, IrisChatSpeakIcon as ee, IrisChatRetryIcon as te, IrisChatAttachIcon as ae, IrisChatSuggestIcon as se } from "./iris-chat-icons.js";
|
|
13
13
|
import { useIrisChatOptional as re } from "./iris-chat-context.js";
|
|
14
14
|
import { irisChatMessageVariants as ie } from "./iris-chat.variants.js";
|
|
@@ -4,7 +4,6 @@ import { Slot as P } from "@radix-ui/react-slot";
|
|
|
4
4
|
import { Back as k, Cross as w, Draw as T } from "impact-nova-icons";
|
|
5
5
|
import { Popover as y, PopoverTrigger as R, PopoverContent as M, PopoverHeader as O, PopoverTitle as D, PopoverBody as F } from "../../feedback/popover/popover.js";
|
|
6
6
|
import { ButtonIconTooltip as L } from "../../feedback/tooltip/button-icon-tooltip.js";
|
|
7
|
-
import { cn as m } from "../../../lib/utils.js";
|
|
8
7
|
import { Button as S } from "../../primitives/button/button.js";
|
|
9
8
|
import { IrisButton as V } from "../../primitives/iris/iris.js";
|
|
10
9
|
import { IrisAlanGradientIcon as N } from "../../primitives/iris/iris-alan-gradient-icon.js";
|
|
@@ -12,6 +11,7 @@ import { useImpactNovaI18n as p } from "../../../i18n/use-impact-nova-i18n.js";
|
|
|
12
11
|
import { useComposedRefs as j } from "../../../lib/compose-refs.js";
|
|
13
12
|
import { useControllableState as b } from "@radix-ui/react-use-controllable-state";
|
|
14
13
|
import { createComponent as c } from "../../../lib/primitives/create-component.js";
|
|
14
|
+
import { cn as m } from "../../../lib/utils.js";
|
|
15
15
|
import { IrisChatProvider as A, useIrisChat as g, useIrisChatOptional as E } from "./iris-chat-context.js";
|
|
16
16
|
import { IrisChatHamburgerIcon as G, IrisChatMinimizeIcon as q } from "./iris-chat-icons.js";
|
|
17
17
|
import { irisChatRootVariants as J, irisChatHeaderVariants as K, irisChatPanelVariants as Q } from "./iris-chat.variants.js";
|
|
@@ -3,9 +3,9 @@ import { useId as Z, useMemo as z, useState as k, useCallback as c, useRef as T,
|
|
|
3
3
|
import * as E from "@radix-ui/react-popover";
|
|
4
4
|
import { Cross as Le } from "impact-nova-icons";
|
|
5
5
|
import { Tooltip as Ae, TooltipTrigger as Ne, TooltipContent as Se } from "../../feedback/tooltip/tooltip.js";
|
|
6
|
-
import { cn as O } from "../../../lib/utils.js";
|
|
7
6
|
import { useImpactNovaI18n as Pe } from "../../../i18n/use-impact-nova-i18n.js";
|
|
8
7
|
import { createComponent as Te } from "../../../lib/primitives/create-component.js";
|
|
8
|
+
import { cn as O } from "../../../lib/utils.js";
|
|
9
9
|
import { useFieldChrome as Ee } from "../../../lib/primitives/use-field-chrome.js";
|
|
10
10
|
import { useOverlayNestedLayerDismiss as Oe, useOverlayPortalContainer as He } from "../../../lib/overlay/overlay-portal-context.js";
|
|
11
11
|
import { OVERLAY_NESTED_FLOATING_INSTANT_HIDE_CLASS as Re } from "../../../lib/overlay/overlay-host.constants.js";
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { cn as x } from "../../../../lib/utils.js";
|
|
3
|
-
import "react";
|
|
4
3
|
import { OverflowTooltip as m } from "../../../feedback/tooltip/overflow-tooltip.js";
|
|
5
4
|
import { isInvertedSelection as h, isOptionArray as d } from "../utils/select.js";
|
|
6
|
-
function
|
|
5
|
+
function w({
|
|
7
6
|
isMulti: u,
|
|
8
7
|
isDisabled: p,
|
|
9
8
|
internalValue: o,
|
|
10
|
-
totalCount:
|
|
9
|
+
totalCount: a,
|
|
11
10
|
totalOptionsCount: g,
|
|
12
11
|
formatSelectedCount: v,
|
|
13
|
-
resolveOptionLabel:
|
|
12
|
+
resolveOptionLabel: s,
|
|
14
13
|
placeholder: c
|
|
15
14
|
}) {
|
|
16
15
|
const n = x(
|
|
17
|
-
"text-[14px] font-
|
|
16
|
+
"text-[14px] font-normal truncate min-w-0 block",
|
|
18
17
|
p ? "text-disabled-foreground" : "text-foreground"
|
|
19
18
|
);
|
|
20
19
|
if (u) {
|
|
21
20
|
const e = o || [];
|
|
22
21
|
let t = 0;
|
|
23
|
-
if (h(e) ? t = Math.max(0, (typeof
|
|
22
|
+
if (h(e) ? t = Math.max(0, (typeof a == "number" ? a : g) - e.excludedValues.length) : d(e) && (t = e.length), t === 0)
|
|
24
23
|
return c;
|
|
25
24
|
if (t === 1 && d(e)) {
|
|
26
|
-
const i =
|
|
25
|
+
const i = s(e[0]);
|
|
27
26
|
return /* @__PURE__ */ r(
|
|
28
27
|
m,
|
|
29
28
|
{
|
|
@@ -40,7 +39,7 @@ function C({
|
|
|
40
39
|
const l = o;
|
|
41
40
|
if (!l)
|
|
42
41
|
return c;
|
|
43
|
-
const f =
|
|
42
|
+
const f = s(l);
|
|
44
43
|
return /* @__PURE__ */ r(
|
|
45
44
|
m,
|
|
46
45
|
{
|
|
@@ -53,5 +52,5 @@ function C({
|
|
|
53
52
|
);
|
|
54
53
|
}
|
|
55
54
|
export {
|
|
56
|
-
|
|
55
|
+
w as SelectTriggerValue
|
|
57
56
|
};
|
|
@@ -1,14 +1,13 @@
|
|
|
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";
|
|
5
4
|
import { OverflowTooltip as y } from "../../../feedback/tooltip/overflow-tooltip.js";
|
|
6
5
|
import { ChevronRight as A, Checkmark as O } from "impact-nova-icons";
|
|
7
6
|
import { cn as v } from "../../../../lib/utils.js";
|
|
8
7
|
import { useOverlayPortalContainer as T } from "../../../../lib/overlay/overlay-portal-context.js";
|
|
9
8
|
import { OVERLAY_NESTED_FLOATING_INSTANT_HIDE_CLASS as _ } from "../../../../lib/overlay/overlay-host.constants.js";
|
|
10
9
|
import { useSuppressOptionClickForTextSelection as E } from "../hooks/useSuppressOptionClickForTextSelection.js";
|
|
11
|
-
const
|
|
10
|
+
const G = ({
|
|
12
11
|
parentOption: n,
|
|
13
12
|
isMulti: u,
|
|
14
13
|
isReadOnly: l,
|
|
@@ -106,5 +105,5 @@ const R = ({
|
|
|
106
105
|
] });
|
|
107
106
|
};
|
|
108
107
|
export {
|
|
109
|
-
|
|
108
|
+
G as Submenu
|
|
110
109
|
};
|
|
@@ -4,9 +4,9 @@ import { Slot as y } from "@radix-ui/react-slot";
|
|
|
4
4
|
import { ThreeDots as H } from "impact-nova-icons";
|
|
5
5
|
import { ClickMeArrow as L } from "../../ui/local-raster-icons/rasterIcons.js";
|
|
6
6
|
import { Tooltip as g, TooltipTrigger as w, TooltipContent as B } from "../../feedback/tooltip/tooltip.js";
|
|
7
|
-
import { cn as n } from "../../../lib/utils.js";
|
|
8
7
|
import { createComponent as s } from "../../../lib/primitives/create-component.js";
|
|
9
8
|
import { createCompoundPart as W } from "../../../lib/primitives/create-compound.js";
|
|
9
|
+
import { cn as n } from "../../../lib/utils.js";
|
|
10
10
|
import { useImpactNovaI18n as x } from "../../../i18n/use-impact-nova-i18n.js";
|
|
11
11
|
const C = h.createContext({}), N = (e, a) => {
|
|
12
12
|
const r = e.split(/\s+/);
|
|
@@ -2038,3 +2038,88 @@ html.iris-agent-session *:not(.iris-agent-cursor):not(.iris-agent-cursor *):not(
|
|
|
2038
2038
|
box-shadow: none;
|
|
2039
2039
|
background-color: var(--color-background);
|
|
2040
2040
|
}
|
|
2041
|
+
|
|
2042
|
+
/* Viewport next-page shimmer (`rowLoading` / `data-row-loading`).
|
|
2043
|
+
AG Grid v36 owns `.ag-row::after` as a flex spacer — never override it.
|
|
2044
|
+
Pseudos sit on cell regions (`.ag-grid-scrolling-cells`, pinned left/right). */
|
|
2045
|
+
@keyframes in-ag-row-shimmer-slide {
|
|
2046
|
+
0% {
|
|
2047
|
+
background-position: -1000px 0;
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
100% {
|
|
2051
|
+
background-position: 1000px 0;
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row > .ag-grid-scrolling-cells,
|
|
2056
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row > .ag-grid-pinned-left-cells,
|
|
2057
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row > .ag-grid-pinned-right-cells,
|
|
2058
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-pinned-top-rows .ag-row > .ag-grid-scrolling-cells,
|
|
2059
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-sticky-top-rows-container .ag-row > .ag-grid-scrolling-cells {
|
|
2060
|
+
overflow: hidden;
|
|
2061
|
+
pointer-events: none;
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2064
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row {
|
|
2065
|
+
pointer-events: none;
|
|
2066
|
+
user-select: none;
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row > .ag-grid-scrolling-cells::before,
|
|
2070
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row > .ag-grid-pinned-left-cells::before,
|
|
2071
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row > .ag-grid-pinned-right-cells::before,
|
|
2072
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-pinned-top-rows .ag-row > .ag-grid-scrolling-cells::before,
|
|
2073
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-sticky-top-rows-container .ag-row > .ag-grid-scrolling-cells::before {
|
|
2074
|
+
content: "" !important;
|
|
2075
|
+
display: block !important;
|
|
2076
|
+
position: absolute !important;
|
|
2077
|
+
inset: 0;
|
|
2078
|
+
background: color-mix(in srgb, var(--color-background) 40%, transparent) !important;
|
|
2079
|
+
z-index: 1;
|
|
2080
|
+
pointer-events: none;
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row > .ag-grid-scrolling-cells::after,
|
|
2084
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row > .ag-grid-pinned-left-cells::after,
|
|
2085
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row > .ag-grid-pinned-right-cells::after,
|
|
2086
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-pinned-top-rows .ag-row > .ag-grid-scrolling-cells::after,
|
|
2087
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-sticky-top-rows-container .ag-row > .ag-grid-scrolling-cells::after {
|
|
2088
|
+
content: "" !important;
|
|
2089
|
+
display: block !important;
|
|
2090
|
+
position: absolute !important;
|
|
2091
|
+
inset: 0;
|
|
2092
|
+
background-color: transparent !important;
|
|
2093
|
+
background-image: linear-gradient(
|
|
2094
|
+
to right,
|
|
2095
|
+
transparent 0%,
|
|
2096
|
+
color-mix(in srgb, var(--color-primary) 25%, transparent) 50%,
|
|
2097
|
+
transparent 100%
|
|
2098
|
+
);
|
|
2099
|
+
background-size: 1000px 100%;
|
|
2100
|
+
background-repeat: repeat-x;
|
|
2101
|
+
background-position: -1000px 0;
|
|
2102
|
+
animation: in-ag-row-shimmer-slide 2s linear infinite;
|
|
2103
|
+
z-index: 2;
|
|
2104
|
+
pointer-events: none;
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row .in-ag-editable-cell-highlight .bg-canvas-elevated,
|
|
2108
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-pinned-top-rows .ag-row .in-ag-editable-cell-highlight .bg-canvas-elevated,
|
|
2109
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-sticky-top-rows-container .ag-row .in-ag-editable-cell-highlight .bg-canvas-elevated {
|
|
2110
|
+
background-color: var(--color-primary-soft) !important;
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2114
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row > .ag-grid-scrolling-cells::after,
|
|
2115
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row > .ag-grid-pinned-left-cells::after,
|
|
2116
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-scrolling-container .ag-row > .ag-grid-pinned-right-cells::after,
|
|
2117
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-pinned-top-rows .ag-row > .ag-grid-scrolling-cells::after,
|
|
2118
|
+
[data-component="ag-grid-react"].table-with-loader[data-row-loading="true"] .ag-grid-sticky-top-rows-container .ag-row > .ag-grid-scrolling-cells::after {
|
|
2119
|
+
animation: none;
|
|
2120
|
+
background-position: 0 0;
|
|
2121
|
+
opacity: 0.85;
|
|
2122
|
+
background-image: none;
|
|
2123
|
+
background: color-mix(in srgb, var(--color-primary) 12%, transparent);
|
|
2124
|
+
}
|
|
2125
|
+
}
|