impact-nova 1.6.5 → 1.6.7
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/README.md +50 -20
- package/dist/components/ui/accordion.js +34 -33
- package/dist/components/ui/ag-grid-react/index.js +151 -122
- package/dist/components/ui/alert-dialog.js +37 -34
- package/dist/components/ui/calendar.js +146 -132
- package/dist/components/ui/checkbox.js +44 -41
- package/dist/components/ui/date-picker/month-range-picker.js +63 -63
- package/dist/components/ui/date-picker/multi-month-picker.js +46 -43
- package/dist/components/ui/date-picker/multi-week-picker.js +22 -20
- package/dist/components/ui/dialog.js +56 -53
- package/dist/components/ui/filter-strip/filter-strip.js +9 -9
- package/dist/components/ui/filter-strip/filter-summary.js +3 -3
- package/dist/components/ui/input.js +12 -11
- package/dist/components/ui/sheet.js +48 -45
- package/dist/components/ui/sidebar.js +2 -2
- package/dist/components/ui/tabs.js +15 -13
- package/dist/icons/assets/layers.svg.js +7 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +214 -212
- package/dist/impact-nova.css +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as l, jsxs as
|
|
1
|
+
import { jsx as l, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
import * as i from "react";
|
|
3
3
|
import * as e from "@radix-ui/react-alert-dialog";
|
|
4
4
|
import { cn as s } from "../../lib/utils.js";
|
|
5
|
-
import { buttonVariants as
|
|
6
|
-
const
|
|
5
|
+
import { buttonVariants as r } from "./button-variants.js";
|
|
6
|
+
const R = e.Root, b = e.Trigger, p = e.Portal, n = i.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ l(
|
|
7
7
|
e.Overlay,
|
|
8
8
|
{
|
|
9
9
|
className: s(
|
|
@@ -14,25 +14,28 @@ const v = e.Root, w = e.Trigger, m = e.Portal, r = i.forwardRef(({ className: a,
|
|
|
14
14
|
ref: o
|
|
15
15
|
}
|
|
16
16
|
));
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
/* @__PURE__ */ l(
|
|
17
|
+
n.displayName = e.Overlay.displayName;
|
|
18
|
+
const f = i.forwardRef(({ className: a, onOpenAutoFocus: t, ...o }, m) => /* @__PURE__ */ c(p, { children: [
|
|
19
|
+
/* @__PURE__ */ l(n, {}),
|
|
20
20
|
/* @__PURE__ */ l(
|
|
21
21
|
e.Content,
|
|
22
22
|
{
|
|
23
|
-
ref:
|
|
23
|
+
ref: m,
|
|
24
24
|
"aria-describedby": void 0,
|
|
25
25
|
"data-component": "alert-dialog-content",
|
|
26
|
+
onOpenAutoFocus: (d) => {
|
|
27
|
+
d.preventDefault(), t?.(d);
|
|
28
|
+
},
|
|
26
29
|
className: s(
|
|
27
30
|
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-canvas p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
|
28
31
|
a
|
|
29
32
|
),
|
|
30
|
-
...
|
|
33
|
+
...o
|
|
31
34
|
}
|
|
32
35
|
)
|
|
33
36
|
] }));
|
|
34
|
-
|
|
35
|
-
const
|
|
37
|
+
f.displayName = e.Content.displayName;
|
|
38
|
+
const g = ({
|
|
36
39
|
className: a,
|
|
37
40
|
...t
|
|
38
41
|
}) => /* @__PURE__ */ l(
|
|
@@ -45,8 +48,8 @@ const p = ({
|
|
|
45
48
|
...t
|
|
46
49
|
}
|
|
47
50
|
);
|
|
48
|
-
|
|
49
|
-
const
|
|
51
|
+
g.displayName = "AlertDialogHeader";
|
|
52
|
+
const N = ({
|
|
50
53
|
className: a,
|
|
51
54
|
...t
|
|
52
55
|
}) => /* @__PURE__ */ l(
|
|
@@ -59,8 +62,8 @@ const f = ({
|
|
|
59
62
|
...t
|
|
60
63
|
}
|
|
61
64
|
);
|
|
62
|
-
|
|
63
|
-
const
|
|
65
|
+
N.displayName = "AlertDialogFooter";
|
|
66
|
+
const y = i.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ l(
|
|
64
67
|
e.Title,
|
|
65
68
|
{
|
|
66
69
|
ref: o,
|
|
@@ -69,8 +72,8 @@ const g = i.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ l(
|
|
|
69
72
|
...t
|
|
70
73
|
}
|
|
71
74
|
));
|
|
72
|
-
|
|
73
|
-
const
|
|
75
|
+
y.displayName = e.Title.displayName;
|
|
76
|
+
const x = i.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ l(
|
|
74
77
|
e.Description,
|
|
75
78
|
{
|
|
76
79
|
ref: o,
|
|
@@ -79,41 +82,41 @@ const N = i.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ l(
|
|
|
79
82
|
...t
|
|
80
83
|
}
|
|
81
84
|
));
|
|
82
|
-
|
|
83
|
-
const
|
|
85
|
+
x.displayName = e.Description.displayName;
|
|
86
|
+
const A = i.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ l(
|
|
84
87
|
e.Action,
|
|
85
88
|
{
|
|
86
89
|
ref: o,
|
|
87
90
|
"data-component": "alert-dialog-action",
|
|
88
|
-
className: s(
|
|
91
|
+
className: s(r(), a),
|
|
89
92
|
...t
|
|
90
93
|
}
|
|
91
94
|
));
|
|
92
|
-
|
|
93
|
-
const
|
|
95
|
+
A.displayName = e.Action.displayName;
|
|
96
|
+
const D = i.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ l(
|
|
94
97
|
e.Cancel,
|
|
95
98
|
{
|
|
96
99
|
ref: o,
|
|
97
100
|
"data-component": "alert-dialog-cancel",
|
|
98
101
|
className: s(
|
|
99
|
-
|
|
102
|
+
r({ variant: "outline" }),
|
|
100
103
|
"mt-2 sm:mt-0",
|
|
101
104
|
a
|
|
102
105
|
),
|
|
103
106
|
...t
|
|
104
107
|
}
|
|
105
108
|
));
|
|
106
|
-
|
|
109
|
+
D.displayName = e.Cancel.displayName;
|
|
107
110
|
export {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
111
|
+
R as AlertDialog,
|
|
112
|
+
A as AlertDialogAction,
|
|
113
|
+
D as AlertDialogCancel,
|
|
114
|
+
f as AlertDialogContent,
|
|
115
|
+
x as AlertDialogDescription,
|
|
116
|
+
N as AlertDialogFooter,
|
|
117
|
+
g as AlertDialogHeader,
|
|
118
|
+
n as AlertDialogOverlay,
|
|
119
|
+
p as AlertDialogPortal,
|
|
120
|
+
y as AlertDialogTitle,
|
|
121
|
+
b as AlertDialogTrigger
|
|
119
122
|
};
|