impact-nova 1.7.20 → 1.7.21
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/ui/create-item-flow/create-item-flow.js +2 -2
- package/dist/components/ui/header.d.ts +6 -1
- package/dist/components/ui/header.js +59 -41
- package/dist/components/ui/report-card/index.d.ts +1 -1
- package/dist/components/ui/report-card/index.js +6 -4
- package/dist/components/ui/report-card/report-card.d.ts +8 -5
- package/dist/components/ui/report-card/report-card.js +96 -55
- package/dist/icons/assets/Product.svg.js +5 -0
- package/dist/icons/assets/report_1.svg.js +5 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +178 -174
- package/dist/impact-nova.css +1 -1
- package/dist/index.js +329 -326
- package/package.json +1 -1
|
@@ -220,7 +220,7 @@ const K = n.forwardRef(
|
|
|
220
220
|
"div",
|
|
221
221
|
{
|
|
222
222
|
ref: c,
|
|
223
|
-
className: r("flex items-center justify-between mt-auto shrink-0 pb-[27px]", t),
|
|
223
|
+
className: r("flex items-center justify-between mt-auto shrink-0 pt-6 pb-[27px]", t),
|
|
224
224
|
"data-slot": "actions",
|
|
225
225
|
...m,
|
|
226
226
|
children: e
|
|
@@ -229,7 +229,7 @@ const K = n.forwardRef(
|
|
|
229
229
|
"div",
|
|
230
230
|
{
|
|
231
231
|
ref: c,
|
|
232
|
-
className: r("flex items-center justify-between mt-auto shrink-0 pb-[27px]", t),
|
|
232
|
+
className: r("flex items-center justify-between mt-auto shrink-0 pt-6 pb-[27px]", t),
|
|
233
233
|
"data-slot": "actions",
|
|
234
234
|
...m,
|
|
235
235
|
children: [
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BadgeProps } from './badge';
|
|
1
2
|
import { KeyBinding } from './command-palette/utils';
|
|
2
3
|
import * as React from "react";
|
|
3
4
|
declare const Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
@@ -6,6 +7,10 @@ declare const HeaderRight: React.ForwardRefExoticComponent<React.HTMLAttributes<
|
|
|
6
7
|
declare const HeaderLogo: React.ForwardRefExoticComponent<React.AnchorHTMLAttributes<HTMLAnchorElement> & React.RefAttributes<HTMLAnchorElement>>;
|
|
7
8
|
declare const HeaderSeparator: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-separator').SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
9
|
declare const HeaderTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
10
|
+
declare const HeaderBadge: {
|
|
11
|
+
({ className, children, style, ...props }: Omit<BadgeProps, "size" | "shape">): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
9
14
|
type HeaderBotButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
15
|
declare const HeaderBotButton: React.ForwardRefExoticComponent<HeaderBotButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
16
|
interface NotificationIconButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
|
|
@@ -16,4 +21,4 @@ interface NotificationIconButtonProps extends Omit<React.ButtonHTMLAttributes<HT
|
|
|
16
21
|
tooltipKeybinding?: KeyBinding;
|
|
17
22
|
}
|
|
18
23
|
declare const NotificationIconButton: React.ForwardRefExoticComponent<NotificationIconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
-
export { Header, HeaderLeft, HeaderRight, HeaderLogo, HeaderSeparator, HeaderTitle, HeaderBotButton, NotificationIconButton, };
|
|
24
|
+
export { Header, HeaderLeft, HeaderRight, HeaderLogo, HeaderSeparator, HeaderTitle, HeaderBadge, HeaderBotButton, NotificationIconButton, };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { jsx as o, jsxs as d, Fragment as
|
|
2
|
-
import * as
|
|
3
|
-
import { cn as
|
|
4
|
-
import { Button as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { jsx as o, jsxs as d, Fragment as m } from "react/jsx-runtime";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import { cn as i } from "../../lib/utils.js";
|
|
4
|
+
import { Button as f } from "./button.js";
|
|
5
|
+
import { Badge as p } from "./badge.js";
|
|
6
|
+
import { Separator as x } from "./separator.js";
|
|
7
|
+
import { Alan as N, IA as h, Bell as u } from "../../icons/index.js";
|
|
7
8
|
/* empty css */
|
|
8
|
-
import { useImpactNovaI18n as
|
|
9
|
-
const
|
|
9
|
+
import { useImpactNovaI18n as g } from "../../i18n/ImpactNovaI18nContext.js";
|
|
10
|
+
const y = n.forwardRef(
|
|
10
11
|
({ className: t, children: e, ...a }, r) => /* @__PURE__ */ o(
|
|
11
12
|
"header",
|
|
12
13
|
{
|
|
13
14
|
ref: r,
|
|
14
|
-
className:
|
|
15
|
+
className: i(
|
|
15
16
|
"sticky top-0 z-40 flex h-14 w-full items-center justify-between bg-canvas-elevated px-6 shadow-elevation-header",
|
|
16
17
|
t
|
|
17
18
|
),
|
|
@@ -20,33 +21,33 @@ const g = i.forwardRef(
|
|
|
20
21
|
}
|
|
21
22
|
)
|
|
22
23
|
);
|
|
23
|
-
|
|
24
|
-
const v =
|
|
24
|
+
y.displayName = "Header";
|
|
25
|
+
const v = n.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__ */ o(
|
|
25
26
|
"div",
|
|
26
27
|
{
|
|
27
28
|
ref: r,
|
|
28
|
-
className:
|
|
29
|
+
className: i("flex flex-row items-center justify-start", t),
|
|
29
30
|
...a,
|
|
30
31
|
children: e
|
|
31
32
|
}
|
|
32
33
|
));
|
|
33
34
|
v.displayName = "HeaderLeft";
|
|
34
|
-
const w =
|
|
35
|
+
const w = n.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__ */ o(
|
|
35
36
|
"div",
|
|
36
37
|
{
|
|
37
38
|
ref: r,
|
|
38
|
-
className:
|
|
39
|
+
className: i("flex flex-row items-center justify-start gap-5", t),
|
|
39
40
|
...a,
|
|
40
41
|
children: e
|
|
41
42
|
}
|
|
42
43
|
));
|
|
43
44
|
w.displayName = "HeaderRight";
|
|
44
|
-
const
|
|
45
|
+
const H = n.forwardRef(({ className: t, children: e, href: a = "/", ...r }, s) => /* @__PURE__ */ o(
|
|
45
46
|
"a",
|
|
46
47
|
{
|
|
47
48
|
href: a,
|
|
48
49
|
ref: s,
|
|
49
|
-
className:
|
|
50
|
+
className: i(
|
|
50
51
|
"h-9 flex items-center justify-center cursor-pointer",
|
|
51
52
|
t
|
|
52
53
|
),
|
|
@@ -54,43 +55,59 @@ const y = i.forwardRef(({ className: t, children: e, href: a = "/", ...r }, s) =
|
|
|
54
55
|
children: e || /* @__PURE__ */ o(h, { width: 91, height: 36 })
|
|
55
56
|
}
|
|
56
57
|
));
|
|
57
|
-
|
|
58
|
-
const
|
|
59
|
-
|
|
58
|
+
H.displayName = "HeaderLogo";
|
|
59
|
+
const b = n.forwardRef(({ className: t, ...e }, a) => /* @__PURE__ */ o(
|
|
60
|
+
x,
|
|
60
61
|
{
|
|
61
62
|
ref: a,
|
|
62
63
|
orientation: "vertical",
|
|
63
|
-
className:
|
|
64
|
+
className: i("h-6 mx-3", t),
|
|
64
65
|
...e
|
|
65
66
|
}
|
|
66
67
|
));
|
|
67
|
-
|
|
68
|
-
const
|
|
68
|
+
b.displayName = "HeaderSeparator";
|
|
69
|
+
const R = n.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__ */ o(
|
|
69
70
|
"h1",
|
|
70
71
|
{
|
|
71
72
|
ref: r,
|
|
72
|
-
className:
|
|
73
|
+
className: i("text-base font-extrabold leading-6 text-content", t),
|
|
73
74
|
...a,
|
|
74
75
|
children: e
|
|
75
76
|
}
|
|
76
|
-
))
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
)), B = ({ className: t, children: e, style: a, ...r }) => /* @__PURE__ */ o(
|
|
78
|
+
p,
|
|
79
|
+
{
|
|
80
|
+
size: "sm",
|
|
81
|
+
shape: "circle",
|
|
82
|
+
className: i(t),
|
|
83
|
+
style: {
|
|
84
|
+
background: "linear-gradient(270deg, #BE77EE 0%, #4259EE 100%)",
|
|
85
|
+
border: "none",
|
|
86
|
+
color: "#FFF",
|
|
87
|
+
...a
|
|
88
|
+
},
|
|
89
|
+
...r,
|
|
90
|
+
children: e
|
|
91
|
+
}
|
|
92
|
+
);
|
|
93
|
+
B.displayName = "HeaderBadge";
|
|
94
|
+
R.displayName = "HeaderTitle";
|
|
95
|
+
const T = n.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__ */ o(
|
|
79
96
|
"button",
|
|
80
97
|
{
|
|
81
98
|
ref: r,
|
|
82
99
|
type: "button",
|
|
83
|
-
className:
|
|
100
|
+
className: i(
|
|
84
101
|
"impact-header-bot-container relative flex items-center justify-center w-[106px] h-[34px] gap-[7px] px-[11px] py-0 rounded-lg cursor-pointer border-0 outline-none",
|
|
85
102
|
t
|
|
86
103
|
),
|
|
87
104
|
...a,
|
|
88
|
-
children: e || /* @__PURE__ */ d(
|
|
89
|
-
/* @__PURE__ */ o(
|
|
105
|
+
children: e || /* @__PURE__ */ d(m, { children: [
|
|
106
|
+
/* @__PURE__ */ o(N, { size: 20, className: "text-brand-foreground" }),
|
|
90
107
|
/* @__PURE__ */ o("span", { className: "text-sm font-semibold leading-[20px] text-brand-foreground whitespace-nowrap", children: "Ask Alan" })
|
|
91
108
|
] })
|
|
92
109
|
}
|
|
93
|
-
)),
|
|
110
|
+
)), j = n.forwardRef(
|
|
94
111
|
({
|
|
95
112
|
className: t,
|
|
96
113
|
showIndicator: e,
|
|
@@ -98,9 +115,9 @@ const k = i.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__
|
|
|
98
115
|
tooltipKeybinding: r,
|
|
99
116
|
...s
|
|
100
117
|
}, c) => {
|
|
101
|
-
const { t: l } =
|
|
118
|
+
const { t: l } = g();
|
|
102
119
|
return /* @__PURE__ */ d(
|
|
103
|
-
|
|
120
|
+
f,
|
|
104
121
|
{
|
|
105
122
|
variant: "ghost",
|
|
106
123
|
size: "icon",
|
|
@@ -109,13 +126,13 @@ const k = i.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__
|
|
|
109
126
|
tooltipSide: a,
|
|
110
127
|
tooltipKeybinding: r,
|
|
111
128
|
"data-indicator": e ? "" : void 0,
|
|
112
|
-
className:
|
|
129
|
+
className: i(
|
|
113
130
|
"relative text-content-header-notification [&_svg]:size-6 hover:text-content",
|
|
114
131
|
t
|
|
115
132
|
),
|
|
116
133
|
...s,
|
|
117
134
|
children: [
|
|
118
|
-
/* @__PURE__ */ o(
|
|
135
|
+
/* @__PURE__ */ o(u, { size: 24 }),
|
|
119
136
|
e && /* @__PURE__ */ d("div", { className: "notification-indicator", children: [
|
|
120
137
|
/* @__PURE__ */ o("div", { className: "notification-pulse" }),
|
|
121
138
|
/* @__PURE__ */ o("div", { className: "notification-dot" })
|
|
@@ -125,14 +142,15 @@ const k = i.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__
|
|
|
125
142
|
);
|
|
126
143
|
}
|
|
127
144
|
);
|
|
128
|
-
|
|
145
|
+
j.displayName = "NotificationIconButton";
|
|
129
146
|
export {
|
|
130
|
-
|
|
131
|
-
|
|
147
|
+
y as Header,
|
|
148
|
+
B as HeaderBadge,
|
|
149
|
+
T as HeaderBotButton,
|
|
132
150
|
v as HeaderLeft,
|
|
133
|
-
|
|
151
|
+
H as HeaderLogo,
|
|
134
152
|
w as HeaderRight,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
153
|
+
b as HeaderSeparator,
|
|
154
|
+
R as HeaderTitle,
|
|
155
|
+
j as NotificationIconButton
|
|
138
156
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ReportCardRoot, ReportCardContent, ReportCardIcon, ReportCardTitle, ReportCardDescription, type ReportCardRootProps, type ReportCardContentProps, } from './report-card';
|
|
1
|
+
export { ReportCardRoot, ReportCardRadio, ReportCardContent, ReportCardIcon, ReportCardTitle, ReportCardTitleRow, ReportCardDescription, type ReportCardRootProps, type ReportCardContentProps, type ReportCardTitleRowProps, } from './report-card';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { ReportCardContent as t, ReportCardDescription as e, ReportCardIcon as p, ReportCardRoot as
|
|
1
|
+
import { ReportCardContent as t, ReportCardDescription as e, ReportCardIcon as R, ReportCardRadio as p, ReportCardRoot as a, ReportCardTitle as d, ReportCardTitleRow as C } from "./report-card.js";
|
|
2
2
|
export {
|
|
3
3
|
t as ReportCardContent,
|
|
4
4
|
e as ReportCardDescription,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
R as ReportCardIcon,
|
|
6
|
+
p as ReportCardRadio,
|
|
7
|
+
a as ReportCardRoot,
|
|
8
|
+
d as ReportCardTitle,
|
|
9
|
+
C as ReportCardTitleRow
|
|
8
10
|
};
|
|
@@ -2,15 +2,18 @@ import * as React from "react";
|
|
|
2
2
|
export interface ReportCardRootProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
/** Whether this card is currently selected */
|
|
4
4
|
selected?: boolean;
|
|
5
|
-
/** Gradient variant: "purple" (default) or "blue" */
|
|
6
|
-
variant?: "purple" | "blue";
|
|
7
|
-
/** Custom gradient background. Overrides variant if provided. */
|
|
8
|
-
gradient?: string;
|
|
9
5
|
}
|
|
10
6
|
declare const ReportCardRoot: React.ForwardRefExoticComponent<ReportCardRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const ReportCardRadio: React.FC<{
|
|
8
|
+
className?: string;
|
|
9
|
+
}>;
|
|
11
10
|
export type ReportCardContentProps = React.HTMLAttributes<HTMLDivElement>;
|
|
12
11
|
declare const ReportCardContent: React.ForwardRefExoticComponent<ReportCardContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
12
|
declare const ReportCardIcon: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
14
13
|
declare const ReportCardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
14
|
+
export interface ReportCardTitleRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
}
|
|
17
|
+
declare const ReportCardTitleRow: React.ForwardRefExoticComponent<ReportCardTitleRowProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
18
|
declare const ReportCardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
16
|
-
export { ReportCardRoot, ReportCardContent, ReportCardIcon, ReportCardTitle, ReportCardDescription, };
|
|
19
|
+
export { ReportCardRoot, ReportCardRadio, ReportCardContent, ReportCardIcon, ReportCardTitle, ReportCardTitleRow, ReportCardDescription, };
|
|
@@ -1,78 +1,104 @@
|
|
|
1
|
-
import { jsx as a
|
|
2
|
-
import * as
|
|
3
|
-
import { cn as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { cn as d } from "../../../lib/utils.js";
|
|
4
|
+
const p = s.createContext({ selected: !1 }), x = "var(--Colors-Neutrals-Border-Subtle, #D9DDE7)", v = "var(--Colors-Primary-Surface-Default, #4259EE)", b = "linear-gradient(281deg, var(--Colors-Greys-50, #FAFAFA) 1.7%, var(--Colors-Greys-0, #FFF) 69.58%, var(--Colors-Greys-50, #FAFAFA) 97.56%)", g = "linear-gradient(281deg, var(--Colors-Blue_01-100, #ECEEFD) 1.7%, #FFF 48.25%, var(--Colors-Blue_01-100, #ECEEFD) 97.56%)", E = s.forwardRef(
|
|
5
|
+
({ className: r, selected: e = !1, children: o, style: t, onMouseEnter: f, onMouseLeave: m, ...u }, C) => {
|
|
6
|
+
const [R, l] = s.useState(!1), c = e || R, n = c ? v : x;
|
|
7
|
+
return /* @__PURE__ */ a(p.Provider, { value: { selected: e }, children: /* @__PURE__ */ a(
|
|
8
|
+
"div",
|
|
9
|
+
{
|
|
10
|
+
ref: C,
|
|
11
|
+
style: {
|
|
12
|
+
width: "331px",
|
|
13
|
+
height: "132px",
|
|
14
|
+
padding: "12px",
|
|
15
|
+
flexDirection: "column",
|
|
16
|
+
alignItems: "flex-start",
|
|
17
|
+
gap: "12px",
|
|
18
|
+
borderRadius: "12px",
|
|
19
|
+
borderTop: `1px solid ${n}`,
|
|
20
|
+
borderRight: `1px solid ${n}`,
|
|
21
|
+
borderBottom: `2px solid ${n}`,
|
|
22
|
+
borderLeft: `4px solid ${n}`,
|
|
23
|
+
background: c ? g : b,
|
|
24
|
+
transition: "border-color 150ms ease, background 150ms ease",
|
|
25
|
+
...t
|
|
26
|
+
},
|
|
27
|
+
className: d(
|
|
28
|
+
"relative flex cursor-pointer select-none",
|
|
29
|
+
"outline-none focus:outline-none focus-visible:outline-none focus:ring-0 focus-visible:ring-0",
|
|
30
|
+
r
|
|
31
|
+
),
|
|
32
|
+
"data-component": "report-card",
|
|
33
|
+
"data-selected": e || void 0,
|
|
34
|
+
role: "option",
|
|
35
|
+
"aria-selected": e,
|
|
36
|
+
tabIndex: 0,
|
|
37
|
+
onMouseEnter: (i) => {
|
|
38
|
+
l(!0), f?.(i);
|
|
39
|
+
},
|
|
40
|
+
onMouseLeave: (i) => {
|
|
41
|
+
l(!1), m?.(i);
|
|
42
|
+
},
|
|
43
|
+
...u,
|
|
44
|
+
children: o
|
|
45
|
+
}
|
|
46
|
+
) });
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
E.displayName = "ReportCardRoot";
|
|
50
|
+
const D = ({ className: r }) => {
|
|
51
|
+
const { selected: e } = s.useContext(p);
|
|
52
|
+
return /* @__PURE__ */ a(
|
|
10
53
|
"div",
|
|
11
54
|
{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"outline-none focus:outline-none focus-visible:outline-none",
|
|
16
|
-
"focus:ring-0 focus-visible:ring-0 active:ring-0",
|
|
17
|
-
"focus:ring-offset-0 focus-visible:ring-offset-0",
|
|
18
|
-
"focus:border-stroke-hairline",
|
|
19
|
-
e ? "border-stroke-hairline" : "border-stroke-hairline hover:border-brand hover:ring-1 hover:ring-brand focus:hover:ring-0",
|
|
55
|
+
className: d(
|
|
56
|
+
"w-5 h-5 rounded-full border-2 flex items-center justify-center shrink-0 transition-colors",
|
|
57
|
+
e ? "border-brand" : "border-[#C1C7D4]",
|
|
20
58
|
r
|
|
21
59
|
),
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
background: t ?? m[o]
|
|
25
|
-
},
|
|
26
|
-
"data-component": "report-card",
|
|
27
|
-
"data-selected": e || void 0,
|
|
28
|
-
role: "option",
|
|
29
|
-
"aria-selected": e,
|
|
30
|
-
tabIndex: 0,
|
|
31
|
-
...d,
|
|
32
|
-
children: [
|
|
33
|
-
e && /* @__PURE__ */ a(p, { size: 14, alt: "Selected", className: "absolute top-3 right-3 shrink-0" }),
|
|
34
|
-
s
|
|
35
|
-
]
|
|
60
|
+
"aria-hidden": "true",
|
|
61
|
+
children: e && /* @__PURE__ */ a("div", { className: "w-2.5 h-2.5 rounded-full bg-brand" })
|
|
36
62
|
}
|
|
37
|
-
)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
const
|
|
63
|
+
);
|
|
64
|
+
};
|
|
65
|
+
D.displayName = "ReportCardRadio";
|
|
66
|
+
const F = s.forwardRef(
|
|
41
67
|
({ className: r, children: e, ...o }, t) => /* @__PURE__ */ a(
|
|
42
68
|
"div",
|
|
43
69
|
{
|
|
44
70
|
ref: t,
|
|
45
|
-
className:
|
|
71
|
+
className: d("flex flex-col items-start gap-2 w-full", r),
|
|
46
72
|
"data-slot": "report-card-content",
|
|
47
73
|
...o,
|
|
48
74
|
children: e
|
|
49
75
|
}
|
|
50
76
|
)
|
|
51
77
|
);
|
|
52
|
-
|
|
53
|
-
const
|
|
78
|
+
F.displayName = "ReportCardContent";
|
|
79
|
+
const N = s.forwardRef(
|
|
54
80
|
({ className: r, children: e, ...o }, t) => /* @__PURE__ */ a(
|
|
55
81
|
"div",
|
|
56
82
|
{
|
|
57
83
|
ref: t,
|
|
58
|
-
className:
|
|
59
|
-
"flex items-center justify-center
|
|
84
|
+
className: d(
|
|
85
|
+
"flex items-center justify-center shrink-0",
|
|
60
86
|
r
|
|
61
87
|
),
|
|
62
88
|
"data-slot": "report-card-icon",
|
|
63
89
|
...o,
|
|
64
|
-
children:
|
|
90
|
+
children: e
|
|
65
91
|
}
|
|
66
92
|
)
|
|
67
93
|
);
|
|
68
|
-
|
|
69
|
-
const
|
|
94
|
+
N.displayName = "ReportCardIcon";
|
|
95
|
+
const w = s.forwardRef(
|
|
70
96
|
({ className: r, children: e, ...o }, t) => /* @__PURE__ */ a(
|
|
71
97
|
"h3",
|
|
72
98
|
{
|
|
73
99
|
ref: t,
|
|
74
|
-
className:
|
|
75
|
-
"font-manrope text-[
|
|
100
|
+
className: d(
|
|
101
|
+
"font-manrope text-[16px] font-medium leading-[125%] text-[#0D152C] capitalize",
|
|
76
102
|
r
|
|
77
103
|
),
|
|
78
104
|
...o,
|
|
@@ -80,14 +106,27 @@ const h = i.forwardRef(
|
|
|
80
106
|
}
|
|
81
107
|
)
|
|
82
108
|
);
|
|
83
|
-
|
|
84
|
-
const
|
|
109
|
+
w.displayName = "ReportCardTitle";
|
|
110
|
+
const y = s.forwardRef(
|
|
111
|
+
({ className: r, children: e, ...o }, t) => /* @__PURE__ */ a(
|
|
112
|
+
"div",
|
|
113
|
+
{
|
|
114
|
+
ref: t,
|
|
115
|
+
className: d("flex items-center gap-1 w-full", r),
|
|
116
|
+
"data-slot": "report-card-title-row",
|
|
117
|
+
...o,
|
|
118
|
+
children: e
|
|
119
|
+
}
|
|
120
|
+
)
|
|
121
|
+
);
|
|
122
|
+
y.displayName = "ReportCardTitleRow";
|
|
123
|
+
const h = s.forwardRef(
|
|
85
124
|
({ className: r, children: e, ...o }, t) => /* @__PURE__ */ a(
|
|
86
125
|
"p",
|
|
87
126
|
{
|
|
88
127
|
ref: t,
|
|
89
|
-
className:
|
|
90
|
-
"font-manrope text-[12px] font-medium leading-[
|
|
128
|
+
className: d(
|
|
129
|
+
"font-manrope text-[12px] font-medium leading-[16px] text-[#60697D]",
|
|
91
130
|
r
|
|
92
131
|
),
|
|
93
132
|
...o,
|
|
@@ -95,11 +134,13 @@ const R = i.forwardRef(
|
|
|
95
134
|
}
|
|
96
135
|
)
|
|
97
136
|
);
|
|
98
|
-
|
|
137
|
+
h.displayName = "ReportCardDescription";
|
|
99
138
|
export {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
139
|
+
F as ReportCardContent,
|
|
140
|
+
h as ReportCardDescription,
|
|
141
|
+
N as ReportCardIcon,
|
|
142
|
+
D as ReportCardRadio,
|
|
143
|
+
E as ReportCardRoot,
|
|
144
|
+
w as ReportCardTitle,
|
|
145
|
+
y as ReportCardTitleRow
|
|
105
146
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as L from "react";
|
|
2
|
+
const e = (t) => /* @__PURE__ */ L.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ L.createElement("path", { d: "M8 1.34619C8.23099 1.34619 8.45089 1.4067 8.66016 1.52783L13.3271 4.21143C13.5364 4.3326 13.699 4.492 13.8145 4.68994C13.9298 4.88785 13.9873 5.10785 13.9873 5.3501V10.6499C13.9873 10.8921 13.9298 11.1122 13.8145 11.3101C13.6989 11.5081 13.5365 11.6684 13.3271 11.7896L8.66016 14.4731C8.45097 14.5942 8.23089 14.6548 8 14.6548C7.76911 14.6548 7.54903 14.5942 7.33984 14.4731L2.67285 11.7896C2.46351 11.6684 2.30106 11.5081 2.18555 11.3101C2.07024 11.1122 2.0127 10.8921 2.0127 10.6499V5.3501C2.01271 5.10785 2.07015 4.88785 2.18555 4.68994C2.30101 4.492 2.46364 4.3326 2.67285 4.21143L7.33984 1.52783C7.54911 1.4067 7.76901 1.34619 8 1.34619ZM12.6602 6.05615L8.66016 8.37158L8.6543 8.36182V12.9722L8.67285 12.9614L12.6729 10.644L12.6787 10.6548V6.04541L12.6602 6.05615ZM5.34375 4.18896L4.04395 4.93896L4.02539 4.94971L4.04395 4.96143L7.99316 7.24365L7.9873 7.25537L8.00586 7.24463L9.30664 6.49463L9.3252 6.48389L9.30664 6.47314L5.35645 4.18896L5.34961 4.19971L5.3623 4.17822L5.34375 4.18896ZM7.99414 2.65576L6.69336 3.40576L6.6748 3.4165L6.69336 3.42725L10.6602 5.69482L10.6543 5.70459L10.6729 5.69482L11.9561 4.96143L11.9746 4.95068L11.9561 4.93896L8.00586 2.65576L8.0127 2.64502L7.99414 2.65576ZM7.33984 8.37256L3.33984 6.05615L3.32129 6.04541V10.6333H3.30859L3.32715 10.644L7.32715 12.9614L7.3457 12.9722V8.3833H7.3584L7.33984 8.37256Z", fill: "#1F2B4D", stroke: "#31416E", strokeWidth: 0.025 }));
|
|
3
|
+
export {
|
|
4
|
+
e as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
const H = (e) => /* @__PURE__ */ t.createElement("svg", { width: 12, height: 12, viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M1.33301 0.0126953H10.667C11.0302 0.0127724 11.3409 0.141682 11.5996 0.400391C11.8583 0.659099 11.9872 0.969823 11.9873 1.33301V10.667C11.9872 11.0302 11.8583 11.3409 11.5996 11.5996C11.3409 11.8583 11.0302 11.9872 10.667 11.9873H1.33301C0.969823 11.9872 0.659099 11.8583 0.400391 11.5996C0.141682 11.3409 0.0127724 11.0302 0.0126953 10.667V1.33301C0.0127725 0.969823 0.141682 0.659099 0.400391 0.400391C0.659099 0.141682 0.969823 0.0127725 1.33301 0.0126953ZM1.32129 10.6787H10.6787V8.4375H1.32129V10.6787ZM3.32129 8.91211V10.2207H2.0127V8.91211H3.32129ZM1.32129 7.12891H10.6787V4.87109H1.32129V7.12891ZM3.32129 5.3457V6.6543H2.0127V5.3457H3.32129ZM1.32129 3.5625H10.6787V1.32129H1.32129V3.5625ZM3.32129 1.7793V3.08789H2.0127V1.7793H3.32129Z", fill: "#1F2B4D", stroke: "#31416E", strokeWidth: 0.025 }));
|
|
3
|
+
export {
|
|
4
|
+
H as default
|
|
5
|
+
};
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -127,6 +127,8 @@ export declare const TrendingNeutral: IconComponent;
|
|
|
127
127
|
export declare const IllustrationIcon1: IconComponent;
|
|
128
128
|
export declare const Report1: ImageComponent;
|
|
129
129
|
export declare const Report2: ImageComponent;
|
|
130
|
+
export declare const ReportExtract: IconComponent;
|
|
131
|
+
export declare const ProductBox: IconComponent;
|
|
130
132
|
export declare const BillOrReceipt: ImageComponent;
|
|
131
133
|
export declare const ChecklistWithPen: ImageComponent;
|
|
132
134
|
export declare const Dollar: ImageComponent;
|