impact-nova 1.7.5 → 1.7.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/dist/components/ui/ag-grid-react/headers/components/truncated-text.d.ts +15 -0
- package/dist/components/ui/ag-grid-react/headers/components/truncated-text.js +27 -0
- package/dist/components/ui/ag-grid-react/headers/custom-header-group.js +22 -15
- package/dist/components/ui/ag-grid-react/headers/custom-header.js +47 -43
- package/dist/components/ui/breadcrumb.js +1 -1
- package/dist/components/ui/button-group.d.ts +3 -0
- package/dist/components/ui/button-group.js +129 -78
- package/dist/components/ui/checkbox.d.ts +3 -0
- package/dist/components/ui/checkbox.js +64 -53
- package/dist/components/ui/command-palette/index.d.ts +3 -0
- package/dist/components/ui/command-palette/index.js +18 -13
- package/dist/components/ui/command-palette/shortcut-overlay-context.d.ts +23 -0
- package/dist/components/ui/command-palette/shortcut-overlay-context.js +28 -0
- package/dist/components/ui/command-palette/shortcut-overlay.d.ts +19 -0
- package/dist/components/ui/command-palette/shortcut-overlay.js +151 -0
- package/dist/components/ui/date-picker/date-range-picker.js +239 -196
- package/dist/components/ui/date-picker/month-range-picker.js +226 -183
- package/dist/components/ui/date-picker/week-range-picker.js +265 -222
- package/dist/components/ui/dialog.js +6 -6
- package/dist/components/ui/filter-panel/filter-panel.js +16 -8
- package/dist/components/ui/filter-strip/filter-strip.d.ts +1 -1
- package/dist/components/ui/filter-strip/filter-strip.js +27 -26
- package/dist/components/ui/input.d.ts +3 -0
- package/dist/components/ui/input.js +107 -43
- package/dist/components/ui/notification-panel/notification-panel.d.ts +4 -4
- package/dist/components/ui/notification-panel/notification-panel.js +78 -16
- package/dist/components/ui/radio-group.d.ts +3 -0
- package/dist/components/ui/radio-group.js +101 -52
- package/dist/components/ui/select/select.js +579 -554
- package/dist/components/ui/textarea.d.ts +3 -0
- package/dist/components/ui/textarea.js +104 -58
- package/dist/components/ui/types/filter-panel.types.d.ts +2 -0
- package/dist/components/ui/types/filter-strip.types.d.ts +5 -0
- package/dist/components/ui/types/helper-text.types.d.ts +5 -0
- package/dist/components/ui/types/select.types.d.ts +6 -0
- package/dist/icons/assets/createNewDocument.svg.js +2 -2
- package/dist/icons/assets/drawBrush.svg.js +5 -0
- package/dist/icons/assets/info-badge.svg.js +5 -0
- package/dist/icons/assets/priority-alert.svg.js +5 -0
- package/dist/icons/assets/webp/sales.webp.js +4 -0
- package/dist/icons/index.d.ts +4 -0
- package/dist/icons/index.js +253 -245
- package/dist/impact-nova.css +1 -1
- package/dist/index.js +194 -189
- package/package.json +1 -1
|
@@ -1,227 +1,270 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as a, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import { X as
|
|
4
|
-
import { CalendarMonth as
|
|
5
|
-
import { isValid as
|
|
6
|
-
import { cn as
|
|
7
|
-
import { Popover as
|
|
8
|
-
import { Calendar as
|
|
9
|
-
import { Tooltip as
|
|
10
|
-
import { useImpactNovaI18n as
|
|
11
|
-
const r = (t,
|
|
12
|
-
const
|
|
13
|
-
return
|
|
14
|
-
},
|
|
3
|
+
import { X as pt } from "lucide-react";
|
|
4
|
+
import { CalendarMonth as ht, Info as O } from "../../../icons/index.js";
|
|
5
|
+
import { isValid as y, parse as P } from "date-fns";
|
|
6
|
+
import { cn as l, padValidDateString as T, maskDate as H } from "../../../lib/utils.js";
|
|
7
|
+
import { Popover as ut, PopoverTrigger as xt, PopoverContent as gt } from "../popover.js";
|
|
8
|
+
import { Calendar as Mt } from "../calendar.js";
|
|
9
|
+
import { Tooltip as X, TooltipTrigger as q, TooltipContent as G } from "../tooltip.js";
|
|
10
|
+
import { useImpactNovaI18n as Yt } from "../../../i18n/ImpactNovaI18nContext.js";
|
|
11
|
+
const r = (t, f = "MM/YYYY") => {
|
|
12
|
+
const v = (t.month + 1).toString().padStart(2, "0");
|
|
13
|
+
return f === "YYYY/MM" ? `${t.year}/${v}` : `${v}/${t.year}`;
|
|
14
|
+
}, wt = d.forwardRef(
|
|
15
15
|
({
|
|
16
16
|
value: t,
|
|
17
|
-
onChange:
|
|
18
|
-
placeholder:
|
|
19
|
-
minDate:
|
|
20
|
-
maxDate:
|
|
21
|
-
startMonth:
|
|
22
|
-
endMonth:
|
|
23
|
-
showFooter:
|
|
24
|
-
disabled:
|
|
25
|
-
className:
|
|
26
|
-
isError:
|
|
27
|
-
size:
|
|
17
|
+
onChange: f,
|
|
18
|
+
placeholder: v,
|
|
19
|
+
minDate: C,
|
|
20
|
+
maxDate: J,
|
|
21
|
+
startMonth: K,
|
|
22
|
+
endMonth: L,
|
|
23
|
+
showFooter: x = !0,
|
|
24
|
+
disabled: k,
|
|
25
|
+
className: Q,
|
|
26
|
+
isError: g,
|
|
27
|
+
size: A,
|
|
28
28
|
label: E,
|
|
29
|
-
helperText:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
helperText: I,
|
|
30
|
+
helperTextPosition: D = "absolute",
|
|
31
|
+
required: U,
|
|
32
|
+
prefix: bt,
|
|
33
|
+
prefixClick: kt,
|
|
33
34
|
displayFormat: n = "MM/YYYY",
|
|
34
|
-
...
|
|
35
|
-
},
|
|
36
|
-
const { t:
|
|
37
|
-
|
|
38
|
-
const
|
|
35
|
+
...W
|
|
36
|
+
}, Z) => {
|
|
37
|
+
const { t: w } = Yt();
|
|
38
|
+
v ?? w("datePicker.selectMonthRange");
|
|
39
|
+
const $ = d.useRef(null), _ = d.useRef(null), m = d.useMemo(
|
|
39
40
|
() => n === "YYYY/MM" ? "yyyy/MM" : "MM/yyyy",
|
|
40
41
|
[n]
|
|
41
42
|
);
|
|
42
|
-
d.useImperativeHandle(
|
|
43
|
-
const [
|
|
43
|
+
d.useImperativeHandle(Z, () => $.current);
|
|
44
|
+
const [i, R] = d.useState(!1), [j, p] = d.useState(t), [N, M] = d.useState(t?.from ? r(t.from, n) : ""), [S, Y] = d.useState(t?.to ? r(t.to, n) : ""), [F, V] = d.useState(() => t?.from ? new Date(t.from.year, t.from.month, 1) : C || /* @__PURE__ */ new Date());
|
|
44
45
|
d.useEffect(() => {
|
|
45
|
-
|
|
46
|
-
}, [
|
|
47
|
-
|
|
48
|
-
}, [
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
}, F = (e) => {
|
|
52
|
-
i?.(e !== void 0 ? e : v), I(!1);
|
|
53
|
-
}, tt = () => {
|
|
54
|
-
f(t), x(t?.from ? r(t.from, n) : ""), g(t?.to ? r(t.to, n) : ""), I(!1);
|
|
55
|
-
}, $ = () => {
|
|
56
|
-
f(void 0), x(""), g(""), i?.(void 0), u || I(!1);
|
|
46
|
+
i || (M(t?.from ? r(t.from, n) : ""), Y(t?.to ? r(t.to, n) : ""), p(t));
|
|
47
|
+
}, [i, t, n]), d.useEffect(() => {
|
|
48
|
+
i && (p(t), M(t?.from ? r(t.from, n) : ""), Y(t?.to ? r(t.to, n) : ""), V(t?.from ? new Date(t.from.year, t.from.month, 1) : C || /* @__PURE__ */ new Date()));
|
|
49
|
+
}, [i, t, n, C]);
|
|
50
|
+
const tt = (e) => {
|
|
51
|
+
p(e), e?.from && M(r(e.from, n)), e?.to && Y(r(e.to, n)), !x && e?.from && e?.to && (e.from.month !== e.to.month || e.from.year !== e.to.year) && (f?.(e), R(!1));
|
|
57
52
|
}, et = (e) => {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
53
|
+
f?.(e !== void 0 ? e : j), R(!1);
|
|
54
|
+
}, nt = () => {
|
|
55
|
+
p(t), M(t?.from ? r(t.from, n) : ""), Y(t?.to ? r(t.to, n) : ""), R(!1);
|
|
56
|
+
}, z = () => {
|
|
57
|
+
p(void 0), M(""), Y(""), f?.(void 0), x || R(!1);
|
|
58
|
+
}, ot = (e) => {
|
|
59
|
+
const u = e.target.value, s = H(u, m, N);
|
|
60
|
+
if (M(s), s === "") {
|
|
61
|
+
const h = { from: void 0, to: t?.to };
|
|
62
|
+
p(h), x || f?.(h);
|
|
62
63
|
return;
|
|
63
64
|
}
|
|
64
|
-
const c =
|
|
65
|
-
if (
|
|
66
|
-
const
|
|
67
|
-
|
|
65
|
+
const c = P(s, m, /* @__PURE__ */ new Date());
|
|
66
|
+
if (y(c) && s.length === 7) {
|
|
67
|
+
const b = { from: { month: c.getMonth(), year: c.getFullYear() }, to: t?.to };
|
|
68
|
+
p(b), V(c), x || f?.(b);
|
|
68
69
|
}
|
|
69
|
-
},
|
|
70
|
-
const
|
|
71
|
-
if (
|
|
72
|
-
const
|
|
73
|
-
|
|
70
|
+
}, rt = (e) => {
|
|
71
|
+
const u = e.target.value, s = H(u, m, S);
|
|
72
|
+
if (Y(s), s === "") {
|
|
73
|
+
const h = { from: t?.from, to: void 0 };
|
|
74
|
+
p(h), x || f?.(h);
|
|
74
75
|
return;
|
|
75
76
|
}
|
|
76
|
-
const c =
|
|
77
|
-
if (
|
|
78
|
-
const
|
|
79
|
-
|
|
77
|
+
const c = P(s, m, /* @__PURE__ */ new Date());
|
|
78
|
+
if (y(c) && s.length === 7) {
|
|
79
|
+
const h = { month: c.getMonth(), year: c.getFullYear() }, b = { from: t?.from, to: h };
|
|
80
|
+
p(b), V(c), x || f?.(b);
|
|
80
81
|
}
|
|
81
|
-
},
|
|
82
|
-
if (
|
|
83
|
-
const e =
|
|
84
|
-
!
|
|
82
|
+
}, B = () => {
|
|
83
|
+
if (i) return;
|
|
84
|
+
const e = T(N, m), u = T(S, m), s = P(e, m, /* @__PURE__ */ new Date()), c = P(u, m, /* @__PURE__ */ new Date()), h = y(s) && e.length === 7, b = y(c) && u.length === 7;
|
|
85
|
+
!h || !b ? (M(t?.from ? r(t.from, n) : ""), Y(t?.to ? r(t.to, n) : ""), p(t)) : (M(e), Y(u), x || f?.({
|
|
85
86
|
from: { month: s.getMonth(), year: s.getFullYear() },
|
|
86
87
|
to: { month: c.getMonth(), year: c.getFullYear() }
|
|
87
88
|
}));
|
|
88
|
-
},
|
|
89
|
-
return /* @__PURE__ */
|
|
90
|
-
/* @__PURE__ */
|
|
91
|
-
E && /* @__PURE__ */
|
|
89
|
+
}, st = t?.from ? r(t.from, n) : "", ct = t?.to ? r(t.to, n) : "", at = N !== st, dt = S !== ct, it = N.length === 7 && !y(P(N, m, /* @__PURE__ */ new Date())), lt = S.length === 7 && !y(P(S, m, /* @__PURE__ */ new Date())), ft = w("datePicker.startMonth"), mt = w("datePicker.endMonth");
|
|
90
|
+
return /* @__PURE__ */ a("div", { className: "flex w-full min-w-[240px] flex-col gap-[6px]", "data-component": "month-range-picker", "data-disabled": k || void 0, children: [
|
|
91
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col gap-[6px]", children: [
|
|
92
|
+
E && /* @__PURE__ */ a(
|
|
92
93
|
"label",
|
|
93
94
|
{
|
|
94
|
-
className:
|
|
95
|
+
className: l(
|
|
95
96
|
"text-xs font-medium leading-[18px] text-content-tertiary",
|
|
96
|
-
|
|
97
|
-
|
|
97
|
+
k && "opacity-70",
|
|
98
|
+
g && "text-destructive"
|
|
98
99
|
),
|
|
99
100
|
children: [
|
|
100
101
|
E,
|
|
101
102
|
" ",
|
|
102
|
-
|
|
103
|
+
U && /* @__PURE__ */ o("span", { className: "text-destructive", children: "*" })
|
|
103
104
|
]
|
|
104
105
|
}
|
|
105
106
|
),
|
|
106
|
-
/* @__PURE__ */
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
107
|
+
/* @__PURE__ */ a(
|
|
108
|
+
"div",
|
|
109
|
+
{
|
|
110
|
+
className: l(
|
|
111
|
+
"w-full",
|
|
112
|
+
I && D === "absolute" && "relative"
|
|
113
|
+
),
|
|
114
|
+
children: [
|
|
115
|
+
/* @__PURE__ */ a(ut, { open: i, onOpenChange: R, children: [
|
|
116
|
+
/* @__PURE__ */ o(xt, { asChild: !0, children: /* @__PURE__ */ a(
|
|
117
|
+
"div",
|
|
118
|
+
{
|
|
119
|
+
"data-state": i ? "open" : "closed",
|
|
120
|
+
className: l(
|
|
121
|
+
"flex w-full items-center justify-between gap-2 rounded-md border bg-canvas-elevated px-3 text-sm shadow-sm transition-colors hover:border-brand disabled:cursor-not-allowed disabled:bg-disabled-surface disabled:text-disabled-foreground disabled:border-stroke",
|
|
122
|
+
g ? "border-destructive hover:border-destructive" : "border-field",
|
|
123
|
+
A === "sm" ? "h-6" : A === "md" ? "h-[28px]" : "h-8",
|
|
124
|
+
k && "pointer-events-none opacity-100 bg-disabled-surface border-stroke text-disabled-foreground hover:border-stroke",
|
|
125
|
+
"cursor-pointer",
|
|
126
|
+
Q
|
|
127
|
+
),
|
|
128
|
+
children: [
|
|
129
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-4 flex-1 min-w-0", children: [
|
|
130
|
+
/* @__PURE__ */ o(
|
|
131
|
+
"input",
|
|
132
|
+
{
|
|
133
|
+
ref: $,
|
|
134
|
+
type: "text",
|
|
135
|
+
value: N,
|
|
136
|
+
onChange: ot,
|
|
137
|
+
onBlur: B,
|
|
138
|
+
onClick: (e) => i && e.stopPropagation(),
|
|
139
|
+
placeholder: i ? n === "YYYY/MM" ? "YYYY/MM" : w("datePicker.monthYearFormat") : ft,
|
|
140
|
+
disabled: !!k,
|
|
141
|
+
"data-field": "start",
|
|
142
|
+
className: l(
|
|
143
|
+
"flex-1 min-w-0 bg-transparent p-0 text-sm font-medium outline-none placeholder:font-medium placeholder:text-content-empty disabled:cursor-not-allowed disabled:opacity-50",
|
|
144
|
+
it ? "text-destructive" : at ? "text-content-muted" : ""
|
|
145
|
+
),
|
|
146
|
+
...W
|
|
147
|
+
}
|
|
148
|
+
),
|
|
149
|
+
/* @__PURE__ */ o(
|
|
150
|
+
"input",
|
|
151
|
+
{
|
|
152
|
+
ref: _,
|
|
153
|
+
type: "text",
|
|
154
|
+
value: S,
|
|
155
|
+
onChange: rt,
|
|
156
|
+
onBlur: B,
|
|
157
|
+
onClick: (e) => i && e.stopPropagation(),
|
|
158
|
+
placeholder: i ? n === "YYYY/MM" ? "YYYY/MM" : w("datePicker.monthYearFormat") : mt,
|
|
159
|
+
disabled: !!k,
|
|
160
|
+
"data-field": "end",
|
|
161
|
+
className: l(
|
|
162
|
+
"flex-1 min-w-0 bg-transparent p-0 text-sm font-medium outline-none placeholder:font-medium placeholder:text-content-empty disabled:cursor-not-allowed disabled:opacity-50",
|
|
163
|
+
lt ? "text-destructive" : dt ? "text-content-muted" : ""
|
|
164
|
+
)
|
|
165
|
+
}
|
|
166
|
+
)
|
|
167
|
+
] }),
|
|
168
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-1 shrink-0", children: [
|
|
169
|
+
t?.from && !k && /* @__PURE__ */ a(X, { children: [
|
|
170
|
+
/* @__PURE__ */ o(q, { asChild: !0, children: /* @__PURE__ */ o(
|
|
171
|
+
pt,
|
|
172
|
+
{
|
|
173
|
+
className: "h-4 w-4 cursor-pointer hover:text-content text-content-muted",
|
|
174
|
+
onClick: (e) => {
|
|
175
|
+
e.stopPropagation(), z();
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
) }),
|
|
179
|
+
/* @__PURE__ */ o(G, { variant: "tertiary", side: "top", children: w("calendar.clear") })
|
|
180
|
+
] }),
|
|
181
|
+
/* @__PURE__ */ a(X, { children: [
|
|
182
|
+
/* @__PURE__ */ o(q, { asChild: !0, children: /* @__PURE__ */ o(ht, { className: "h-4 w-4 text-secondary-foreground" }) }),
|
|
183
|
+
/* @__PURE__ */ o(G, { variant: "tertiary", side: "top", children: w("datePicker.selectMonthRange") })
|
|
184
|
+
] })
|
|
185
|
+
] })
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
) }),
|
|
189
|
+
/* @__PURE__ */ o(
|
|
190
|
+
gt,
|
|
191
|
+
{
|
|
192
|
+
className: "w-auto p-0",
|
|
193
|
+
align: "start",
|
|
194
|
+
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
195
|
+
children: /* @__PURE__ */ o(
|
|
196
|
+
Mt,
|
|
163
197
|
{
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
198
|
+
pickerType: "month",
|
|
199
|
+
monthMode: "range",
|
|
200
|
+
selectedMonths: j,
|
|
201
|
+
onMonthSelect: tt,
|
|
202
|
+
month: F,
|
|
203
|
+
onMonthChange: V,
|
|
204
|
+
disabled: { before: C, after: J },
|
|
205
|
+
startMonth: K,
|
|
206
|
+
endMonth: L,
|
|
207
|
+
showFooter: x,
|
|
208
|
+
onApply: et,
|
|
209
|
+
onCancel: nt,
|
|
210
|
+
onClear: z
|
|
168
211
|
}
|
|
169
|
-
)
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
showFooter: u,
|
|
199
|
-
onApply: F,
|
|
200
|
-
onCancel: tt,
|
|
201
|
-
onClear: $
|
|
202
|
-
}
|
|
203
|
-
)
|
|
204
|
-
}
|
|
205
|
-
)
|
|
206
|
-
] })
|
|
212
|
+
)
|
|
213
|
+
}
|
|
214
|
+
)
|
|
215
|
+
] }),
|
|
216
|
+
I && D === "absolute" && /* @__PURE__ */ a("div", { className: l("absolute left-0 top-full z-10 mt-1 flex min-w-0 max-w-full items-center gap-[6px]", g && "text-destructive"), children: [
|
|
217
|
+
/* @__PURE__ */ o(
|
|
218
|
+
O,
|
|
219
|
+
{
|
|
220
|
+
size: "xs",
|
|
221
|
+
className: l(
|
|
222
|
+
"shrink-0",
|
|
223
|
+
g ? "text-destructive" : "text-content-muted"
|
|
224
|
+
)
|
|
225
|
+
}
|
|
226
|
+
),
|
|
227
|
+
/* @__PURE__ */ o(
|
|
228
|
+
"p",
|
|
229
|
+
{
|
|
230
|
+
className: l(
|
|
231
|
+
"min-w-0 text-[12px] font-medium leading-[18px] text-navigation-muted",
|
|
232
|
+
g && "text-destructive"
|
|
233
|
+
),
|
|
234
|
+
children: I
|
|
235
|
+
}
|
|
236
|
+
)
|
|
237
|
+
] })
|
|
238
|
+
]
|
|
239
|
+
}
|
|
240
|
+
)
|
|
207
241
|
] }),
|
|
208
|
-
|
|
209
|
-
|
|
242
|
+
I && D === "flow" && /* @__PURE__ */ a("div", { className: l("flex items-center gap-[6px]", g && "text-destructive"), children: [
|
|
243
|
+
/* @__PURE__ */ o(
|
|
244
|
+
O,
|
|
245
|
+
{
|
|
246
|
+
size: "xs",
|
|
247
|
+
className: l(
|
|
248
|
+
"shrink-0",
|
|
249
|
+
g ? "text-destructive" : "text-content-muted"
|
|
250
|
+
)
|
|
251
|
+
}
|
|
252
|
+
),
|
|
210
253
|
/* @__PURE__ */ o(
|
|
211
254
|
"p",
|
|
212
255
|
{
|
|
213
|
-
className:
|
|
214
|
-
"text-[
|
|
215
|
-
|
|
256
|
+
className: l(
|
|
257
|
+
"text-[12px] font-medium leading-[18px] text-navigation-muted",
|
|
258
|
+
g && "text-destructive"
|
|
216
259
|
),
|
|
217
|
-
children:
|
|
260
|
+
children: I
|
|
218
261
|
}
|
|
219
262
|
)
|
|
220
263
|
] })
|
|
221
264
|
] });
|
|
222
265
|
}
|
|
223
266
|
);
|
|
224
|
-
|
|
267
|
+
wt.displayName = "MonthRangePicker";
|
|
225
268
|
export {
|
|
226
|
-
|
|
269
|
+
wt as MonthRangePicker
|
|
227
270
|
};
|