@syscore/ui-library 1.1.13 → 1.2.0
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/client/components/ui/accordion.tsx +6 -9
- package/client/components/ui/alert-dialog.tsx +6 -19
- package/client/components/ui/alert.tsx +5 -6
- package/client/components/ui/avatar.tsx +3 -9
- package/client/components/ui/badge.tsx +5 -8
- package/client/components/ui/breadcrumb.tsx +7 -16
- package/client/components/ui/button.tsx +17 -45
- package/client/components/ui/calendar.tsx +24 -28
- package/client/components/ui/card.tsx +6 -9
- package/client/components/ui/carousel.tsx +14 -14
- package/client/components/ui/chart.tsx +25 -28
- package/client/components/ui/checkbox.tsx +3 -8
- package/client/components/ui/code-badge.tsx +1 -4
- package/client/components/ui/command.tsx +12 -48
- package/client/components/ui/context-menu.tsx +17 -32
- package/client/components/ui/dialog.tsx +9 -18
- package/client/components/ui/drawer.tsx +7 -13
- package/client/components/ui/dropdown-menu.tsx +17 -29
- package/client/components/ui/form.tsx +4 -4
- package/client/components/ui/hover-card.tsx +1 -4
- package/client/components/ui/input-otp.tsx +7 -10
- package/client/components/ui/input.tsx +4 -23
- package/client/components/ui/label.tsx +1 -3
- package/client/components/ui/menubar.tsx +19 -40
- package/client/components/ui/navigation-menu.tsx +10 -27
- package/client/components/ui/navigation.tsx +193 -331
- package/client/components/ui/pagination.tsx +8 -8
- package/client/components/ui/popover.tsx +1 -4
- package/client/components/ui/progress.tsx +2 -5
- package/client/components/ui/radio-group.tsx +4 -7
- package/client/components/ui/resizable.tsx +4 -10
- package/client/components/ui/scroll-area.tsx +5 -8
- package/client/components/ui/search.tsx +7 -10
- package/client/components/ui/select.tsx +11 -36
- package/client/components/ui/separator.tsx +2 -2
- package/client/components/ui/sheet.tsx +12 -23
- package/client/components/ui/sidebar.tsx +55 -82
- package/client/components/ui/skeleton.tsx +1 -1
- package/client/components/ui/slider.tsx +4 -7
- package/client/components/ui/sonner.tsx +5 -8
- package/client/components/ui/switch.tsx +2 -9
- package/client/components/ui/table.tsx +9 -18
- package/client/components/ui/tabs.tsx +19 -28
- package/client/components/ui/tag.tsx +6 -66
- package/client/components/ui/textarea.tsx +1 -4
- package/client/components/ui/toast.tsx +9 -19
- package/client/components/ui/toaster.tsx +1 -1
- package/client/components/ui/toggle-group.tsx +4 -4
- package/client/components/ui/toggle.tsx +13 -13
- package/client/components/ui/tooltip.tsx +12 -15
- package/client/global.css +5419 -1054
- package/client/storybook.css +1164 -0
- package/dist/ui/index.cjs.js +1 -1
- package/dist/ui/index.d.ts +0 -1
- package/dist/ui/index.es.js +976 -1926
- package/dist/ui/ui-library.css +1 -0
- package/package.json +2 -2
- package/client/ui/WELLDashboard/WELLDashboard.stories.tsx +0 -115
- package/client/ui/WELLDashboard/index.tsx +0 -317
package/dist/ui/index.es.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import React__default, { useState, useEffect, useCallback, useRef } from "react";
|
|
4
4
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
5
|
-
import { ChevronDown, GripVertical, X, PanelLeft, Check, Circle, Dot, ChevronLeft, ChevronRight, XIcon, Search, MoreHorizontal, ArrowLeft, ArrowRight
|
|
5
|
+
import { ChevronDown, GripVertical, X, PanelLeft, Check, Circle, Dot, ChevronLeft, ChevronRight, XIcon, Search, MoreHorizontal, ArrowLeft, ArrowRight } from "lucide-react";
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
7
|
import { twMerge } from "tailwind-merge";
|
|
8
8
|
import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
|
|
@@ -50,23 +50,20 @@ const AccordionItem = React.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
50
50
|
AccordionPrimitive.Item,
|
|
51
51
|
{
|
|
52
52
|
ref,
|
|
53
|
-
className: cn("
|
|
53
|
+
className: cn("accordion-item", className),
|
|
54
54
|
...props
|
|
55
55
|
}
|
|
56
56
|
));
|
|
57
57
|
AccordionItem.displayName = "AccordionItem";
|
|
58
|
-
const AccordionTrigger = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "
|
|
58
|
+
const AccordionTrigger = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "accordion-header", children: /* @__PURE__ */ jsxs(
|
|
59
59
|
AccordionPrimitive.Trigger,
|
|
60
60
|
{
|
|
61
61
|
ref,
|
|
62
|
-
className: cn(
|
|
63
|
-
"flex flex-1 items-center justify-between py-4 font-medium transition-all [&[data-state=open]>svg]:rotate-180",
|
|
64
|
-
className
|
|
65
|
-
),
|
|
62
|
+
className: cn("accordion-trigger", className),
|
|
66
63
|
...props,
|
|
67
64
|
children: [
|
|
68
65
|
children,
|
|
69
|
-
/* @__PURE__ */ jsx(ChevronDown, { className: "
|
|
66
|
+
/* @__PURE__ */ jsx(ChevronDown, { className: "accordion-chevron" })
|
|
70
67
|
]
|
|
71
68
|
}
|
|
72
69
|
) }));
|
|
@@ -75,9 +72,9 @@ const AccordionContent = React.forwardRef(({ className, children, ...props }, re
|
|
|
75
72
|
AccordionPrimitive.Content,
|
|
76
73
|
{
|
|
77
74
|
ref,
|
|
78
|
-
className: "
|
|
75
|
+
className: "accordion-content",
|
|
79
76
|
...props,
|
|
80
|
-
children: /* @__PURE__ */ jsx("div", { className: cn("
|
|
77
|
+
children: /* @__PURE__ */ jsx("div", { className: cn("accordion-content-inner", className), children })
|
|
81
78
|
}
|
|
82
79
|
));
|
|
83
80
|
AccordionContent.displayName = AccordionPrimitive.Content.displayName;
|
|
@@ -86,21 +83,18 @@ const Card = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
86
83
|
"div",
|
|
87
84
|
{
|
|
88
85
|
ref,
|
|
89
|
-
className: cn(
|
|
90
|
-
"rounded-lg border border-gray-100 bg-cyan-50 p-6 space-y-6",
|
|
91
|
-
className
|
|
92
|
-
),
|
|
86
|
+
className: cn("card", className),
|
|
93
87
|
...props
|
|
94
88
|
}
|
|
95
89
|
));
|
|
96
90
|
Card.displayName = "Card";
|
|
97
|
-
const CardHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("
|
|
91
|
+
const CardHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("card-header", className), ...props }));
|
|
98
92
|
CardHeader.displayName = "CardHeader";
|
|
99
93
|
const CardTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
100
94
|
"h3",
|
|
101
95
|
{
|
|
102
96
|
ref,
|
|
103
|
-
className: cn("heading-xxsmall
|
|
97
|
+
className: cn("card-title heading-xxsmall", className),
|
|
104
98
|
...props
|
|
105
99
|
}
|
|
106
100
|
));
|
|
@@ -109,7 +103,7 @@ const CardDescription = React.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
109
103
|
"p",
|
|
110
104
|
{
|
|
111
105
|
ref,
|
|
112
|
-
className: cn("body-base
|
|
106
|
+
className: cn("card-description body-base", className),
|
|
113
107
|
...props
|
|
114
108
|
}
|
|
115
109
|
));
|
|
@@ -118,7 +112,7 @@ const CardContent = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
118
112
|
"div",
|
|
119
113
|
{
|
|
120
114
|
ref,
|
|
121
|
-
className: cn("body-base
|
|
115
|
+
className: cn("card-content body-base", className),
|
|
122
116
|
...props
|
|
123
117
|
}
|
|
124
118
|
));
|
|
@@ -127,7 +121,7 @@ const CardFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
127
121
|
"div",
|
|
128
122
|
{
|
|
129
123
|
ref,
|
|
130
|
-
className: cn("
|
|
124
|
+
className: cn("card-footer body-base", className),
|
|
131
125
|
...props
|
|
132
126
|
}
|
|
133
127
|
));
|
|
@@ -140,8 +134,8 @@ const Separator = React.forwardRef(
|
|
|
140
134
|
decorative,
|
|
141
135
|
orientation,
|
|
142
136
|
className: cn(
|
|
143
|
-
"
|
|
144
|
-
orientation === "horizontal" ? "
|
|
137
|
+
"separator",
|
|
138
|
+
orientation === "horizontal" ? "separator--horizontal" : "separator--vertical",
|
|
145
139
|
className
|
|
146
140
|
),
|
|
147
141
|
...props
|
|
@@ -153,10 +147,10 @@ const ScrollArea = React.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
153
147
|
ScrollAreaPrimitive.Root,
|
|
154
148
|
{
|
|
155
149
|
ref,
|
|
156
|
-
className: cn("
|
|
150
|
+
className: cn("scroll-area", className),
|
|
157
151
|
...props,
|
|
158
152
|
children: [
|
|
159
|
-
/* @__PURE__ */ jsx(ScrollAreaPrimitive.Viewport, { className: "
|
|
153
|
+
/* @__PURE__ */ jsx(ScrollAreaPrimitive.Viewport, { className: "scroll-area-viewport", children }),
|
|
160
154
|
/* @__PURE__ */ jsx(ScrollBar, {}),
|
|
161
155
|
/* @__PURE__ */ jsx(ScrollAreaPrimitive.Corner, {})
|
|
162
156
|
]
|
|
@@ -169,32 +163,31 @@ const ScrollBar = React.forwardRef(({ className, orientation = "vertical", ...pr
|
|
|
169
163
|
ref,
|
|
170
164
|
orientation,
|
|
171
165
|
className: cn(
|
|
172
|
-
"
|
|
173
|
-
orientation === "vertical"
|
|
174
|
-
orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-px",
|
|
166
|
+
"scroll-bar",
|
|
167
|
+
orientation === "vertical" ? "scroll-bar--vertical" : "scroll-bar--horizontal",
|
|
175
168
|
className
|
|
176
169
|
),
|
|
177
170
|
...props,
|
|
178
|
-
children: /* @__PURE__ */ jsx(ScrollAreaPrimitive.ScrollAreaThumb, { className: "
|
|
171
|
+
children: /* @__PURE__ */ jsx(ScrollAreaPrimitive.ScrollAreaThumb, { className: "scroll-bar-thumb" })
|
|
179
172
|
}
|
|
180
173
|
));
|
|
181
174
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
182
|
-
const Table = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "
|
|
175
|
+
const Table = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "table-wrapper", children: /* @__PURE__ */ jsx(
|
|
183
176
|
"table",
|
|
184
177
|
{
|
|
185
178
|
ref,
|
|
186
|
-
className: cn("
|
|
179
|
+
className: cn("table", className),
|
|
187
180
|
...props
|
|
188
181
|
}
|
|
189
182
|
) }));
|
|
190
183
|
Table.displayName = "Table";
|
|
191
|
-
const TableHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("
|
|
184
|
+
const TableHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("table-header", className), ...props }));
|
|
192
185
|
TableHeader.displayName = "TableHeader";
|
|
193
186
|
const TableBody = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
194
187
|
"tbody",
|
|
195
188
|
{
|
|
196
189
|
ref,
|
|
197
|
-
className: cn("
|
|
190
|
+
className: cn("table-body", className),
|
|
198
191
|
...props
|
|
199
192
|
}
|
|
200
193
|
));
|
|
@@ -203,10 +196,7 @@ const TableFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
203
196
|
"tfoot",
|
|
204
197
|
{
|
|
205
198
|
ref,
|
|
206
|
-
className: cn(
|
|
207
|
-
"border-t bg-muted/50 font-medium last:[&>tr]:border-b-0",
|
|
208
|
-
className
|
|
209
|
-
),
|
|
199
|
+
className: cn("table-footer", className),
|
|
210
200
|
...props
|
|
211
201
|
}
|
|
212
202
|
));
|
|
@@ -215,10 +205,7 @@ const TableRow = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
215
205
|
"tr",
|
|
216
206
|
{
|
|
217
207
|
ref,
|
|
218
|
-
className: cn(
|
|
219
|
-
"border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
220
|
-
className
|
|
221
|
-
),
|
|
208
|
+
className: cn("table-row", className),
|
|
222
209
|
...props
|
|
223
210
|
}
|
|
224
211
|
));
|
|
@@ -227,10 +214,7 @@ const TableHead = React.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
227
214
|
"th",
|
|
228
215
|
{
|
|
229
216
|
ref,
|
|
230
|
-
className: cn(
|
|
231
|
-
"h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
|
|
232
|
-
className
|
|
233
|
-
),
|
|
217
|
+
className: cn("table-head", className),
|
|
234
218
|
...props
|
|
235
219
|
}
|
|
236
220
|
));
|
|
@@ -239,7 +223,7 @@ const TableCell = React.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
239
223
|
"td",
|
|
240
224
|
{
|
|
241
225
|
ref,
|
|
242
|
-
className: cn("
|
|
226
|
+
className: cn("table-cell", className),
|
|
243
227
|
...props
|
|
244
228
|
}
|
|
245
229
|
));
|
|
@@ -248,7 +232,7 @@ const TableCaption = React.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
248
232
|
"caption",
|
|
249
233
|
{
|
|
250
234
|
ref,
|
|
251
|
-
className: cn("
|
|
235
|
+
className: cn("table-caption", className),
|
|
252
236
|
...props
|
|
253
237
|
}
|
|
254
238
|
));
|
|
@@ -259,10 +243,7 @@ const ResizablePanelGroup = ({
|
|
|
259
243
|
}) => /* @__PURE__ */ jsx(
|
|
260
244
|
ResizablePrimitive.PanelGroup,
|
|
261
245
|
{
|
|
262
|
-
className: cn(
|
|
263
|
-
"flex h-full w-full data-[panel-group-direction=vertical]:flex-col",
|
|
264
|
-
className
|
|
265
|
-
),
|
|
246
|
+
className: cn("resizable-panel-group", className),
|
|
266
247
|
...props
|
|
267
248
|
}
|
|
268
249
|
);
|
|
@@ -274,12 +255,9 @@ const ResizableHandle = ({
|
|
|
274
255
|
}) => /* @__PURE__ */ jsx(
|
|
275
256
|
ResizablePrimitive.PanelResizeHandle,
|
|
276
257
|
{
|
|
277
|
-
className: cn(
|
|
278
|
-
"relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",
|
|
279
|
-
className
|
|
280
|
-
),
|
|
258
|
+
className: cn("resizable-handle", className),
|
|
281
259
|
...props,
|
|
282
|
-
children: withHandle && /* @__PURE__ */ jsx("div", { className: "
|
|
260
|
+
children: withHandle && /* @__PURE__ */ jsx("div", { className: "resizable-handle-grip", children: /* @__PURE__ */ jsx(GripVertical, { className: "icon-2-5" }) })
|
|
283
261
|
}
|
|
284
262
|
);
|
|
285
263
|
const MOBILE_BREAKPOINT = 768;
|
|
@@ -299,49 +277,31 @@ function useIsMobile() {
|
|
|
299
277
|
return !!isMobile;
|
|
300
278
|
}
|
|
301
279
|
const buttonVariants = cva(
|
|
302
|
-
"
|
|
280
|
+
"button",
|
|
303
281
|
{
|
|
304
282
|
variants: {
|
|
305
283
|
variant: {
|
|
306
284
|
// CTA variants
|
|
307
|
-
clear: "
|
|
308
|
-
default: "
|
|
309
|
-
"primary-gradient": "
|
|
310
|
-
"primary-dark": "
|
|
311
|
-
"secondary-light": "
|
|
312
|
-
"tertiary-light": "
|
|
285
|
+
clear: "button--clear",
|
|
286
|
+
default: "button--default",
|
|
287
|
+
"primary-gradient": "button--primary-gradient",
|
|
288
|
+
"primary-dark": "button--primary-dark",
|
|
289
|
+
"secondary-light": "button--secondary-light",
|
|
290
|
+
"tertiary-light": "button--tertiary-light",
|
|
313
291
|
// Utility variants
|
|
314
|
-
"general-primary": "
|
|
315
|
-
"general-secondary": "
|
|
316
|
-
"general-tertiary": "
|
|
317
|
-
"tooltip-primary": "
|
|
318
|
-
"tooltip-secondary": "
|
|
292
|
+
"general-primary": "button--general-primary",
|
|
293
|
+
"general-secondary": "button--general-secondary",
|
|
294
|
+
"general-tertiary": "button--general-tertiary",
|
|
295
|
+
"tooltip-primary": "button--tooltip-primary",
|
|
296
|
+
"tooltip-secondary": "button--tooltip-secondary"
|
|
319
297
|
},
|
|
320
298
|
size: {
|
|
321
|
-
xlarge: "
|
|
322
|
-
large: "
|
|
323
|
-
utility: "
|
|
324
|
-
icon: "
|
|
299
|
+
xlarge: "button--xlarge",
|
|
300
|
+
large: "button--large",
|
|
301
|
+
utility: "button--utility",
|
|
302
|
+
icon: "button--icon"
|
|
325
303
|
}
|
|
326
304
|
},
|
|
327
|
-
compoundVariants: [
|
|
328
|
-
{
|
|
329
|
-
size: "xlarge",
|
|
330
|
-
className: "font-semibold"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
size: "large",
|
|
334
|
-
className: "font-semibold"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
size: "utility",
|
|
338
|
-
className: "font-semibold"
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
size: "icon",
|
|
342
|
-
className: "p-0 bg-white border border-gray-100 hover:border-gray-200 hover:scale-[1.02] transition-all duration-200"
|
|
343
|
-
}
|
|
344
|
-
],
|
|
345
305
|
defaultVariants: {
|
|
346
306
|
variant: "default",
|
|
347
307
|
size: "large"
|
|
@@ -355,20 +315,19 @@ const sizeTextClasses = {
|
|
|
355
315
|
icon: ""
|
|
356
316
|
};
|
|
357
317
|
const Button = React.forwardRef(
|
|
358
|
-
({ className, variant, size, children, style, ...props }, ref) => {
|
|
318
|
+
({ className, variant: variant2, size, children, style, ...props }, ref) => {
|
|
359
319
|
const textClass = sizeTextClasses[size || "large"];
|
|
360
320
|
return /* @__PURE__ */ jsx(
|
|
361
321
|
"button",
|
|
362
322
|
{
|
|
363
323
|
className: cn(
|
|
364
|
-
buttonVariants({ variant, size }),
|
|
365
|
-
"cursor-pointer",
|
|
324
|
+
buttonVariants({ variant: variant2, size }),
|
|
366
325
|
className
|
|
367
326
|
),
|
|
368
327
|
style,
|
|
369
328
|
ref,
|
|
370
329
|
...props,
|
|
371
|
-
children: size === "icon" ? children : /* @__PURE__ */ jsx("span", { className: cn("
|
|
330
|
+
children: size === "icon" ? children : /* @__PURE__ */ jsx("span", { className: cn("button-text", textClass), children })
|
|
372
331
|
}
|
|
373
332
|
);
|
|
374
333
|
}
|
|
@@ -382,39 +341,23 @@ const Input = React.forwardRef(
|
|
|
382
341
|
"div",
|
|
383
342
|
{
|
|
384
343
|
className: cn(
|
|
385
|
-
|
|
386
|
-
"flex h-12 w-full items-center rounded-[6px] border border-gray-200 bg-white px-4 transition-shadow",
|
|
387
|
-
// Typography inheritance
|
|
388
|
-
"body-base font-medium font-mazzard text-gray-800",
|
|
389
|
-
// Focus states (focus-within matches input focus)
|
|
390
|
-
"focus-within:border-cyan-300",
|
|
391
|
-
// Disabled states
|
|
392
|
-
isDisabled && "opacity-50 cursor-not-allowed",
|
|
393
|
-
// Read-only states
|
|
394
|
-
isReadOnly && "bg-gray-50 border-blue-200 text-gray-600 focus-within:border-blue-200 cursor-default",
|
|
344
|
+
"input-wrapper body-base font-mazzard",
|
|
395
345
|
className
|
|
396
346
|
),
|
|
397
347
|
children: [
|
|
398
|
-
startIcon ? /* @__PURE__ */ jsx("div", { className: "
|
|
348
|
+
startIcon ? /* @__PURE__ */ jsx("div", { className: "input-icon-start", children: startIcon }) : null,
|
|
399
349
|
/* @__PURE__ */ jsx(
|
|
400
350
|
"input",
|
|
401
351
|
{
|
|
402
352
|
type,
|
|
403
|
-
className:
|
|
404
|
-
// Reset styles to be transparent inside wrapper
|
|
405
|
-
"flex-1 w-full bg-transparent outline-none placeholder:text-gray-500",
|
|
406
|
-
// File input specific overrides
|
|
407
|
-
type === "file" && "p-0 italic text-muted-foreground/70 file:me-3 file:h-full file:border-0 file:border-r file:border-solid file:border-gray-200 file:bg-transparent file:px-3 file:text-base file:font-medium file:not-italic file:text-gray-800",
|
|
408
|
-
// Search input specific overrides
|
|
409
|
-
type === "search" && "[&::-webkit-search-cancel-button]:appearance-none [&::-webkit-search-decoration]:appearance-none [&::-webkit-search-results-button]:appearance-none [&::-webkit-search-results-decoration]:appearance-none"
|
|
410
|
-
),
|
|
353
|
+
className: "input",
|
|
411
354
|
ref,
|
|
412
355
|
disabled: isDisabled,
|
|
413
356
|
readOnly: isReadOnly,
|
|
414
357
|
...props
|
|
415
358
|
}
|
|
416
359
|
),
|
|
417
|
-
endIcon ? /* @__PURE__ */ jsx("div", { className: "
|
|
360
|
+
endIcon ? /* @__PURE__ */ jsx("div", { className: "input-icon-end", children: endIcon }) : null
|
|
418
361
|
]
|
|
419
362
|
}
|
|
420
363
|
);
|
|
@@ -428,24 +371,21 @@ const SheetPortal = SheetPrimitive.Portal;
|
|
|
428
371
|
const SheetOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
429
372
|
SheetPrimitive.Overlay,
|
|
430
373
|
{
|
|
431
|
-
className: cn(
|
|
432
|
-
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
433
|
-
className
|
|
434
|
-
),
|
|
374
|
+
className: cn("sheet-overlay", className),
|
|
435
375
|
...props,
|
|
436
376
|
ref
|
|
437
377
|
}
|
|
438
378
|
));
|
|
439
379
|
SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
|
|
440
380
|
const sheetVariants = cva(
|
|
441
|
-
"
|
|
381
|
+
"sheet-content",
|
|
442
382
|
{
|
|
443
383
|
variants: {
|
|
444
384
|
side: {
|
|
445
|
-
top: "
|
|
446
|
-
bottom: "
|
|
447
|
-
left: "
|
|
448
|
-
right: "
|
|
385
|
+
top: "sheet-content--top",
|
|
386
|
+
bottom: "sheet-content--bottom",
|
|
387
|
+
left: "sheet-content--left",
|
|
388
|
+
right: "sheet-content--right"
|
|
449
389
|
}
|
|
450
390
|
},
|
|
451
391
|
defaultVariants: {
|
|
@@ -453,18 +393,18 @@ const sheetVariants = cva(
|
|
|
453
393
|
}
|
|
454
394
|
}
|
|
455
395
|
);
|
|
456
|
-
const SheetContent = React.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortal, { children: [
|
|
396
|
+
const SheetContent = React.forwardRef(({ side: side2 = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortal, { children: [
|
|
457
397
|
/* @__PURE__ */ jsx(SheetOverlay, {}),
|
|
458
398
|
/* @__PURE__ */ jsxs(
|
|
459
399
|
SheetPrimitive.Content,
|
|
460
400
|
{
|
|
461
401
|
ref,
|
|
462
|
-
className: cn(sheetVariants({ side }), className),
|
|
402
|
+
className: cn(sheetVariants({ side: side2 }), className),
|
|
463
403
|
...props,
|
|
464
404
|
children: [
|
|
465
405
|
children,
|
|
466
|
-
/* @__PURE__ */ jsxs(SheetPrimitive.Close, { className: "
|
|
467
|
-
/* @__PURE__ */ jsx(X, { className: "
|
|
406
|
+
/* @__PURE__ */ jsxs(SheetPrimitive.Close, { className: "sheet-close", children: [
|
|
407
|
+
/* @__PURE__ */ jsx(X, { className: "icon-4" }),
|
|
468
408
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
469
409
|
] })
|
|
470
410
|
]
|
|
@@ -478,10 +418,7 @@ const SheetHeader = ({
|
|
|
478
418
|
}) => /* @__PURE__ */ jsx(
|
|
479
419
|
"div",
|
|
480
420
|
{
|
|
481
|
-
className: cn(
|
|
482
|
-
"flex flex-col space-y-2 text-center sm:text-left",
|
|
483
|
-
className
|
|
484
|
-
),
|
|
421
|
+
className: cn("sheet-header", className),
|
|
485
422
|
...props
|
|
486
423
|
}
|
|
487
424
|
);
|
|
@@ -492,10 +429,7 @@ const SheetFooter = ({
|
|
|
492
429
|
}) => /* @__PURE__ */ jsx(
|
|
493
430
|
"div",
|
|
494
431
|
{
|
|
495
|
-
className: cn(
|
|
496
|
-
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
497
|
-
className
|
|
498
|
-
),
|
|
432
|
+
className: cn("sheet-footer", className),
|
|
499
433
|
...props
|
|
500
434
|
}
|
|
501
435
|
);
|
|
@@ -504,7 +438,7 @@ const SheetTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
504
438
|
SheetPrimitive.Title,
|
|
505
439
|
{
|
|
506
440
|
ref,
|
|
507
|
-
className: cn("
|
|
441
|
+
className: cn("sheet-title", className),
|
|
508
442
|
...props
|
|
509
443
|
}
|
|
510
444
|
));
|
|
@@ -513,7 +447,7 @@ const SheetDescription = React.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
513
447
|
SheetPrimitive.Description,
|
|
514
448
|
{
|
|
515
449
|
ref,
|
|
516
|
-
className: cn("
|
|
450
|
+
className: cn("sheet-description", className),
|
|
517
451
|
...props
|
|
518
452
|
}
|
|
519
453
|
));
|
|
@@ -525,7 +459,7 @@ function Skeleton({
|
|
|
525
459
|
return /* @__PURE__ */ jsx(
|
|
526
460
|
"div",
|
|
527
461
|
{
|
|
528
|
-
className: cn("
|
|
462
|
+
className: cn("skeleton", className),
|
|
529
463
|
...props
|
|
530
464
|
}
|
|
531
465
|
);
|
|
@@ -623,7 +557,7 @@ function TooltipTrigger({
|
|
|
623
557
|
function TooltipContent({
|
|
624
558
|
className,
|
|
625
559
|
sideOffset = 0,
|
|
626
|
-
side = "bottom",
|
|
560
|
+
side: side2 = "bottom",
|
|
627
561
|
children,
|
|
628
562
|
alignOffset = 0,
|
|
629
563
|
...props
|
|
@@ -655,14 +589,11 @@ function TooltipContent({
|
|
|
655
589
|
"data-slot": "tooltip-content",
|
|
656
590
|
sideOffset,
|
|
657
591
|
alignOffset,
|
|
658
|
-
side,
|
|
659
|
-
className: cn(
|
|
660
|
-
"group relative bg-gray-700 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-lg p-6 pt-8 shadow-sm mt-3",
|
|
661
|
-
className
|
|
662
|
-
),
|
|
592
|
+
side: side2,
|
|
593
|
+
className: cn("tooltip-content", className),
|
|
663
594
|
...props,
|
|
664
595
|
children: [
|
|
665
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
596
|
+
/* @__PURE__ */ jsx("div", { className: "tooltip-arrow", "data-side": side2, children: /* @__PURE__ */ jsx(
|
|
666
597
|
"svg",
|
|
667
598
|
{
|
|
668
599
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -737,10 +668,10 @@ const SidebarProvider = React.forwardRef(
|
|
|
737
668
|
window.addEventListener("keydown", handleKeyDown);
|
|
738
669
|
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
739
670
|
}, [toggleSidebar]);
|
|
740
|
-
const
|
|
671
|
+
const state2 = open ? "expanded" : "collapsed";
|
|
741
672
|
const contextValue = React.useMemo(
|
|
742
673
|
() => ({
|
|
743
|
-
state,
|
|
674
|
+
state: state2,
|
|
744
675
|
open,
|
|
745
676
|
setOpen,
|
|
746
677
|
isMobile,
|
|
@@ -749,7 +680,7 @@ const SidebarProvider = React.forwardRef(
|
|
|
749
680
|
toggleSidebar
|
|
750
681
|
}),
|
|
751
682
|
[
|
|
752
|
-
|
|
683
|
+
state2,
|
|
753
684
|
open,
|
|
754
685
|
setOpen,
|
|
755
686
|
isMobile,
|
|
@@ -767,7 +698,7 @@ const SidebarProvider = React.forwardRef(
|
|
|
767
698
|
...style
|
|
768
699
|
},
|
|
769
700
|
className: cn(
|
|
770
|
-
"
|
|
701
|
+
"sidebar-wrapper",
|
|
771
702
|
className
|
|
772
703
|
),
|
|
773
704
|
ref,
|
|
@@ -780,20 +711,20 @@ const SidebarProvider = React.forwardRef(
|
|
|
780
711
|
SidebarProvider.displayName = "SidebarProvider";
|
|
781
712
|
const Sidebar = React.forwardRef(
|
|
782
713
|
({
|
|
783
|
-
side = "left",
|
|
784
|
-
variant = "sidebar",
|
|
785
|
-
collapsible = "offcanvas",
|
|
714
|
+
side: side2 = "left",
|
|
715
|
+
variant: variant2 = "sidebar",
|
|
716
|
+
collapsible: collapsible2 = "offcanvas",
|
|
786
717
|
className,
|
|
787
718
|
children,
|
|
788
719
|
...props
|
|
789
720
|
}, ref) => {
|
|
790
|
-
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
791
|
-
if (
|
|
721
|
+
const { isMobile, state: state2, openMobile, setOpenMobile } = useSidebar();
|
|
722
|
+
if (collapsible2 === "none") {
|
|
792
723
|
return /* @__PURE__ */ jsx(
|
|
793
724
|
"div",
|
|
794
725
|
{
|
|
795
726
|
className: cn(
|
|
796
|
-
"
|
|
727
|
+
"sidebar",
|
|
797
728
|
className
|
|
798
729
|
),
|
|
799
730
|
ref,
|
|
@@ -808,12 +739,12 @@ const Sidebar = React.forwardRef(
|
|
|
808
739
|
{
|
|
809
740
|
"data-sidebar": "sidebar",
|
|
810
741
|
"data-mobile": "true",
|
|
811
|
-
className: "
|
|
742
|
+
className: "sidebar",
|
|
812
743
|
style: {
|
|
813
744
|
"--sidebar-width": SIDEBAR_WIDTH_MOBILE
|
|
814
745
|
},
|
|
815
|
-
side,
|
|
816
|
-
children: /* @__PURE__ */ jsx("div", { className: "
|
|
746
|
+
side: side2,
|
|
747
|
+
children: /* @__PURE__ */ jsx("div", { className: "sidebar-mobile-content", children })
|
|
817
748
|
}
|
|
818
749
|
) });
|
|
819
750
|
}
|
|
@@ -821,39 +752,30 @@ const Sidebar = React.forwardRef(
|
|
|
821
752
|
"div",
|
|
822
753
|
{
|
|
823
754
|
ref,
|
|
824
|
-
className: "
|
|
825
|
-
"data-state":
|
|
826
|
-
"data-collapsible":
|
|
827
|
-
"data-variant":
|
|
828
|
-
"data-side":
|
|
755
|
+
className: "sidebar-base peer",
|
|
756
|
+
"data-state": state2,
|
|
757
|
+
"data-collapsible": state2 === "collapsed" ? collapsible2 : "",
|
|
758
|
+
"data-variant": variant2,
|
|
759
|
+
"data-side": side2,
|
|
829
760
|
children: [
|
|
761
|
+
/* @__PURE__ */ jsx("div", { className: "sidebar-base" }),
|
|
830
762
|
/* @__PURE__ */ jsx(
|
|
831
763
|
"div",
|
|
832
764
|
{
|
|
833
765
|
className: cn(
|
|
834
|
-
"
|
|
835
|
-
"group-data-[collapsible=offcanvas]:w-0",
|
|
836
|
-
"group-data-[side=right]:rotate-180",
|
|
837
|
-
variant === "floating" || variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)"
|
|
838
|
-
)
|
|
839
|
-
}
|
|
840
|
-
),
|
|
841
|
-
/* @__PURE__ */ jsx(
|
|
842
|
-
"div",
|
|
843
|
-
{
|
|
844
|
-
className: cn(
|
|
845
|
-
"duration-200 fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] ease-linear md:flex",
|
|
846
|
-
side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
|
|
847
|
-
// Adjust the padding for floating and inset variants.
|
|
848
|
-
variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
|
|
766
|
+
"sidebar-container",
|
|
849
767
|
className
|
|
850
768
|
),
|
|
769
|
+
"data-side": side2,
|
|
770
|
+
"data-collapsible": state2 === "collapsed" ? collapsible2 : "",
|
|
771
|
+
"data-variant": variant2,
|
|
851
772
|
...props,
|
|
852
773
|
children: /* @__PURE__ */ jsx(
|
|
853
774
|
"div",
|
|
854
775
|
{
|
|
855
776
|
"data-sidebar": "sidebar",
|
|
856
|
-
className: "
|
|
777
|
+
className: "sidebar-inner",
|
|
778
|
+
"data-variant": variant2,
|
|
857
779
|
children
|
|
858
780
|
}
|
|
859
781
|
)
|
|
@@ -874,7 +796,7 @@ const SidebarTrigger = React.forwardRef(({ className, onClick, ...props }, ref)
|
|
|
874
796
|
"data-sidebar": "trigger",
|
|
875
797
|
variant: "general-tertiary",
|
|
876
798
|
size: "icon",
|
|
877
|
-
className: cn("
|
|
799
|
+
className: cn("sidebar-trigger", className),
|
|
878
800
|
onClick: (event) => {
|
|
879
801
|
onClick == null ? void 0 : onClick(event);
|
|
880
802
|
toggleSidebar();
|
|
@@ -900,14 +822,12 @@ const SidebarRail = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
900
822
|
onClick: toggleSidebar,
|
|
901
823
|
title: "Toggle Sidebar",
|
|
902
824
|
className: cn(
|
|
903
|
-
"
|
|
904
|
-
"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
|
|
905
|
-
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
|
|
906
|
-
"group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-sidebar",
|
|
907
|
-
"[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
|
|
908
|
-
"[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
|
|
825
|
+
"sidebar-rail",
|
|
909
826
|
className
|
|
910
827
|
),
|
|
828
|
+
"data-side": side,
|
|
829
|
+
"data-state": state,
|
|
830
|
+
"data-collapsible": collapsible,
|
|
911
831
|
...props
|
|
912
832
|
}
|
|
913
833
|
);
|
|
@@ -919,10 +839,11 @@ const SidebarInset = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
919
839
|
{
|
|
920
840
|
ref,
|
|
921
841
|
className: cn(
|
|
922
|
-
"
|
|
923
|
-
"peer-data-[variant=inset]:min-h-[calc(100svh-(--spacing(4)))] md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm",
|
|
842
|
+
"sidebar-inset",
|
|
924
843
|
className
|
|
925
844
|
),
|
|
845
|
+
"data-variant": variant,
|
|
846
|
+
"data-state": state,
|
|
926
847
|
...props
|
|
927
848
|
}
|
|
928
849
|
);
|
|
@@ -935,7 +856,7 @@ const SidebarInput = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
935
856
|
ref,
|
|
936
857
|
"data-sidebar": "input",
|
|
937
858
|
className: cn(
|
|
938
|
-
"
|
|
859
|
+
"sidebar-input",
|
|
939
860
|
className
|
|
940
861
|
),
|
|
941
862
|
...props
|
|
@@ -949,7 +870,7 @@ const SidebarHeader = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
949
870
|
{
|
|
950
871
|
ref,
|
|
951
872
|
"data-sidebar": "header",
|
|
952
|
-
className: cn("
|
|
873
|
+
className: cn("sidebar-header", className),
|
|
953
874
|
...props
|
|
954
875
|
}
|
|
955
876
|
);
|
|
@@ -961,7 +882,7 @@ const SidebarFooter = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
961
882
|
{
|
|
962
883
|
ref,
|
|
963
884
|
"data-sidebar": "footer",
|
|
964
|
-
className: cn("
|
|
885
|
+
className: cn("sidebar-footer", className),
|
|
965
886
|
...props
|
|
966
887
|
}
|
|
967
888
|
);
|
|
@@ -973,7 +894,7 @@ const SidebarSeparator = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
973
894
|
{
|
|
974
895
|
ref,
|
|
975
896
|
"data-sidebar": "separator",
|
|
976
|
-
className: cn("
|
|
897
|
+
className: cn("sidebar-separator", className),
|
|
977
898
|
...props
|
|
978
899
|
}
|
|
979
900
|
);
|
|
@@ -986,7 +907,7 @@ const SidebarContent = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
986
907
|
ref,
|
|
987
908
|
"data-sidebar": "content",
|
|
988
909
|
className: cn(
|
|
989
|
-
"
|
|
910
|
+
"sidebar-content",
|
|
990
911
|
className
|
|
991
912
|
),
|
|
992
913
|
...props
|
|
@@ -1000,7 +921,7 @@ const SidebarGroup = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
1000
921
|
{
|
|
1001
922
|
ref,
|
|
1002
923
|
"data-sidebar": "group",
|
|
1003
|
-
className: cn("
|
|
924
|
+
className: cn("sidebar-group", className),
|
|
1004
925
|
...props
|
|
1005
926
|
}
|
|
1006
927
|
);
|
|
@@ -1014,8 +935,7 @@ const SidebarGroupLabel = React.forwardRef(({ className, asChild = false, ...pro
|
|
|
1014
935
|
ref,
|
|
1015
936
|
"data-sidebar": "group-label",
|
|
1016
937
|
className: cn(
|
|
1017
|
-
"
|
|
1018
|
-
"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
|
|
938
|
+
"sidebar-group-label",
|
|
1019
939
|
className
|
|
1020
940
|
),
|
|
1021
941
|
...props
|
|
@@ -1031,10 +951,7 @@ const SidebarGroupAction = React.forwardRef(({ className, asChild = false, ...pr
|
|
|
1031
951
|
ref,
|
|
1032
952
|
"data-sidebar": "group-action",
|
|
1033
953
|
className: cn(
|
|
1034
|
-
"
|
|
1035
|
-
// Increases the hit area of the button on mobile.
|
|
1036
|
-
"after:absolute after:-inset-2 md:after:hidden",
|
|
1037
|
-
"group-data-[collapsible=icon]:hidden",
|
|
954
|
+
"sidebar-group-action",
|
|
1038
955
|
className
|
|
1039
956
|
),
|
|
1040
957
|
...props
|
|
@@ -1047,7 +964,7 @@ const SidebarGroupContent = React.forwardRef(({ className, ...props }, ref) => /
|
|
|
1047
964
|
{
|
|
1048
965
|
ref,
|
|
1049
966
|
"data-sidebar": "group-content",
|
|
1050
|
-
className: cn("
|
|
967
|
+
className: cn("sidebar-group-content", className),
|
|
1051
968
|
...props
|
|
1052
969
|
}
|
|
1053
970
|
));
|
|
@@ -1057,7 +974,7 @@ const SidebarMenu = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1057
974
|
{
|
|
1058
975
|
ref,
|
|
1059
976
|
"data-sidebar": "menu",
|
|
1060
|
-
className: cn("
|
|
977
|
+
className: cn("sidebar-menu", className),
|
|
1061
978
|
...props
|
|
1062
979
|
}
|
|
1063
980
|
));
|
|
@@ -1067,23 +984,23 @@ const SidebarMenuItem = React.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
1067
984
|
{
|
|
1068
985
|
ref,
|
|
1069
986
|
"data-sidebar": "menu-item",
|
|
1070
|
-
className: cn("
|
|
987
|
+
className: cn("sidebar-menu-item", className),
|
|
1071
988
|
...props
|
|
1072
989
|
}
|
|
1073
990
|
));
|
|
1074
991
|
SidebarMenuItem.displayName = "SidebarMenuItem";
|
|
1075
992
|
const sidebarMenuButtonVariants = cva(
|
|
1076
|
-
"
|
|
993
|
+
"sidebar-menu-button",
|
|
1077
994
|
{
|
|
1078
995
|
variants: {
|
|
1079
996
|
variant: {
|
|
1080
|
-
default: "
|
|
1081
|
-
outline: "
|
|
997
|
+
default: "sidebar-menu-button--default",
|
|
998
|
+
outline: "sidebar-menu-button--outline"
|
|
1082
999
|
},
|
|
1083
1000
|
size: {
|
|
1084
|
-
default: "
|
|
1085
|
-
sm: "
|
|
1086
|
-
lg: "
|
|
1001
|
+
default: "sidebar-menu-button--size-default",
|
|
1002
|
+
sm: "sidebar-menu-button--size-sm",
|
|
1003
|
+
lg: "sidebar-menu-button--size-lg"
|
|
1087
1004
|
}
|
|
1088
1005
|
},
|
|
1089
1006
|
defaultVariants: {
|
|
@@ -1096,14 +1013,14 @@ const SidebarMenuButton = React.forwardRef(
|
|
|
1096
1013
|
({
|
|
1097
1014
|
asChild = false,
|
|
1098
1015
|
isActive = false,
|
|
1099
|
-
variant = "default",
|
|
1016
|
+
variant: variant2 = "default",
|
|
1100
1017
|
size = "default",
|
|
1101
1018
|
tooltip,
|
|
1102
1019
|
className,
|
|
1103
1020
|
...props
|
|
1104
1021
|
}, ref) => {
|
|
1105
1022
|
const Comp = asChild ? Slot : "button";
|
|
1106
|
-
const { isMobile, state } = useSidebar();
|
|
1023
|
+
const { isMobile, state: state2 } = useSidebar();
|
|
1107
1024
|
const button = /* @__PURE__ */ jsx(
|
|
1108
1025
|
Comp,
|
|
1109
1026
|
{
|
|
@@ -1111,7 +1028,7 @@ const SidebarMenuButton = React.forwardRef(
|
|
|
1111
1028
|
"data-sidebar": "menu-button",
|
|
1112
1029
|
"data-size": size,
|
|
1113
1030
|
"data-active": isActive,
|
|
1114
|
-
className: cn(sidebarMenuButtonVariants({ variant, size }), className),
|
|
1031
|
+
className: cn(sidebarMenuButtonVariants({ variant: variant2, size }), className),
|
|
1115
1032
|
...props
|
|
1116
1033
|
}
|
|
1117
1034
|
);
|
|
@@ -1130,7 +1047,7 @@ const SidebarMenuButton = React.forwardRef(
|
|
|
1130
1047
|
{
|
|
1131
1048
|
side: "right",
|
|
1132
1049
|
align: "center",
|
|
1133
|
-
hidden:
|
|
1050
|
+
hidden: state2 !== "collapsed" || isMobile,
|
|
1134
1051
|
...tooltip
|
|
1135
1052
|
}
|
|
1136
1053
|
)
|
|
@@ -1140,41 +1057,33 @@ const SidebarMenuButton = React.forwardRef(
|
|
|
1140
1057
|
SidebarMenuButton.displayName = "SidebarMenuButton";
|
|
1141
1058
|
const SidebarMenuAction = React.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
|
|
1142
1059
|
const Comp = asChild ? Slot : "button";
|
|
1060
|
+
const { state: state2 } = useSidebar();
|
|
1143
1061
|
return /* @__PURE__ */ jsx(
|
|
1144
1062
|
Comp,
|
|
1145
1063
|
{
|
|
1146
1064
|
ref,
|
|
1147
1065
|
"data-sidebar": "menu-action",
|
|
1148
1066
|
className: cn(
|
|
1149
|
-
"
|
|
1150
|
-
|
|
1151
|
-
"after:absolute after:-inset-2 md:after:hidden",
|
|
1152
|
-
"peer-data-[size=sm]/menu-button:top-1",
|
|
1153
|
-
"peer-data-[size=default]/menu-button:top-1.5",
|
|
1154
|
-
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
1155
|
-
"group-data-[collapsible=icon]:hidden",
|
|
1156
|
-
showOnHover && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",
|
|
1067
|
+
"sidebar-menu-action",
|
|
1068
|
+
showOnHover && "sidebar-menu-action--show-on-hover",
|
|
1157
1069
|
className
|
|
1158
1070
|
),
|
|
1071
|
+
"data-show-on-hover": showOnHover,
|
|
1159
1072
|
...props
|
|
1160
1073
|
}
|
|
1161
1074
|
);
|
|
1162
1075
|
});
|
|
1163
1076
|
SidebarMenuAction.displayName = "SidebarMenuAction";
|
|
1164
|
-
const SidebarMenuBadge = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1077
|
+
const SidebarMenuBadge = React.forwardRef(({ className, size, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1165
1078
|
"div",
|
|
1166
1079
|
{
|
|
1167
1080
|
ref,
|
|
1168
1081
|
"data-sidebar": "menu-badge",
|
|
1169
1082
|
className: cn(
|
|
1170
|
-
"
|
|
1171
|
-
"peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
|
|
1172
|
-
"peer-data-[size=sm]/menu-button:top-1",
|
|
1173
|
-
"peer-data-[size=default]/menu-button:top-1.5",
|
|
1174
|
-
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
1175
|
-
"group-data-[collapsible=icon]:hidden",
|
|
1083
|
+
"sidebar-menu-badge",
|
|
1176
1084
|
className
|
|
1177
1085
|
),
|
|
1086
|
+
"data-size": size,
|
|
1178
1087
|
...props
|
|
1179
1088
|
}
|
|
1180
1089
|
));
|
|
@@ -1188,20 +1097,20 @@ const SidebarMenuSkeleton = React.forwardRef(({ className, showIcon = false, ...
|
|
|
1188
1097
|
{
|
|
1189
1098
|
ref,
|
|
1190
1099
|
"data-sidebar": "menu-skeleton",
|
|
1191
|
-
className: cn("
|
|
1100
|
+
className: cn("sidebar-menu-skeleton", className),
|
|
1192
1101
|
...props,
|
|
1193
1102
|
children: [
|
|
1194
1103
|
showIcon && /* @__PURE__ */ jsx(
|
|
1195
1104
|
Skeleton,
|
|
1196
1105
|
{
|
|
1197
|
-
className: "
|
|
1106
|
+
className: "sidebar-menu-skeleton-icon",
|
|
1198
1107
|
"data-sidebar": "menu-skeleton-icon"
|
|
1199
1108
|
}
|
|
1200
1109
|
),
|
|
1201
1110
|
/* @__PURE__ */ jsx(
|
|
1202
1111
|
Skeleton,
|
|
1203
1112
|
{
|
|
1204
|
-
className: "
|
|
1113
|
+
className: "sidebar-menu-skeleton-text",
|
|
1205
1114
|
"data-sidebar": "menu-skeleton-text",
|
|
1206
1115
|
style: {
|
|
1207
1116
|
"--skeleton-width": width
|
|
@@ -1219,8 +1128,7 @@ const SidebarMenuSub = React.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
1219
1128
|
ref,
|
|
1220
1129
|
"data-sidebar": "menu-sub",
|
|
1221
1130
|
className: cn(
|
|
1222
|
-
"
|
|
1223
|
-
"group-data-[collapsible=icon]:hidden",
|
|
1131
|
+
"sidebar-menu-sub",
|
|
1224
1132
|
className
|
|
1225
1133
|
),
|
|
1226
1134
|
...props
|
|
@@ -1239,21 +1147,18 @@ const SidebarMenuSubButton = React.forwardRef(({ asChild = false, size = "md", i
|
|
|
1239
1147
|
"data-size": size,
|
|
1240
1148
|
"data-active": isActive,
|
|
1241
1149
|
className: cn(
|
|
1242
|
-
"
|
|
1243
|
-
"
|
|
1244
|
-
size === "
|
|
1245
|
-
size === "md" && "text-sm",
|
|
1246
|
-
"group-data-[collapsible=icon]:hidden",
|
|
1150
|
+
"sidebar-menu-sub-button",
|
|
1151
|
+
size === "sm" && "sidebar-menu-sub-button--size-sm",
|
|
1152
|
+
size === "md" && "sidebar-menu-sub-button--size-md",
|
|
1247
1153
|
className
|
|
1248
1154
|
),
|
|
1155
|
+
"data-size": size,
|
|
1249
1156
|
...props
|
|
1250
1157
|
}
|
|
1251
1158
|
);
|
|
1252
1159
|
});
|
|
1253
1160
|
SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
|
|
1254
|
-
const labelVariants = cva(
|
|
1255
|
-
"peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-gray-600 px-2"
|
|
1256
|
-
);
|
|
1161
|
+
const labelVariants = cva("label");
|
|
1257
1162
|
const Label = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1258
1163
|
LabelPrimitive.Root,
|
|
1259
1164
|
{
|
|
@@ -1269,10 +1174,7 @@ const Textarea = React.forwardRef(
|
|
|
1269
1174
|
return /* @__PURE__ */ jsx(
|
|
1270
1175
|
"textarea",
|
|
1271
1176
|
{
|
|
1272
|
-
className: cn(
|
|
1273
|
-
"flex min-h-[80px] w-full rounded-[6px] border border-gray-200 bg-white p-4 body-base font-medium text-gray-800 placeholder:font-normal placeholder:text-gray-500 focus:border-cyan-300 focus:outline-none focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 disabled:border-blue-200 disabled:bg-transparent ring-0",
|
|
1274
|
-
className
|
|
1275
|
-
),
|
|
1177
|
+
className: cn("textarea body-base", className),
|
|
1276
1178
|
ref,
|
|
1277
1179
|
...props
|
|
1278
1180
|
}
|
|
@@ -1284,18 +1186,9 @@ const Checkbox = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
1284
1186
|
CheckboxPrimitive.Root,
|
|
1285
1187
|
{
|
|
1286
1188
|
ref,
|
|
1287
|
-
className: cn(
|
|
1288
|
-
"peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
|
|
1289
|
-
className
|
|
1290
|
-
),
|
|
1189
|
+
className: cn("checkbox", className),
|
|
1291
1190
|
...props,
|
|
1292
|
-
children: /* @__PURE__ */ jsx(
|
|
1293
|
-
CheckboxPrimitive.Indicator,
|
|
1294
|
-
{
|
|
1295
|
-
className: cn("flex items-center justify-center text-current"),
|
|
1296
|
-
children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" })
|
|
1297
|
-
}
|
|
1298
|
-
)
|
|
1191
|
+
children: /* @__PURE__ */ jsx(CheckboxPrimitive.Indicator, { className: "checkbox-indicator", children: /* @__PURE__ */ jsx(Check, { className: "icon-4" }) })
|
|
1299
1192
|
}
|
|
1300
1193
|
));
|
|
1301
1194
|
Checkbox.displayName = CheckboxPrimitive.Root.displayName;
|
|
@@ -1303,7 +1196,7 @@ const RadioGroup = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
1303
1196
|
return /* @__PURE__ */ jsx(
|
|
1304
1197
|
RadioGroupPrimitive.Root,
|
|
1305
1198
|
{
|
|
1306
|
-
className: cn("
|
|
1199
|
+
className: cn("radio-group", className),
|
|
1307
1200
|
...props,
|
|
1308
1201
|
ref
|
|
1309
1202
|
}
|
|
@@ -1315,12 +1208,9 @@ const RadioGroupItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
1315
1208
|
RadioGroupPrimitive.Item,
|
|
1316
1209
|
{
|
|
1317
1210
|
ref,
|
|
1318
|
-
className: cn(
|
|
1319
|
-
"aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
1320
|
-
className
|
|
1321
|
-
),
|
|
1211
|
+
className: cn("radio-group-item", className),
|
|
1322
1212
|
...props,
|
|
1323
|
-
children: /* @__PURE__ */ jsx(RadioGroupPrimitive.Indicator, { className: "
|
|
1213
|
+
children: /* @__PURE__ */ jsx(RadioGroupPrimitive.Indicator, { className: "radio-group-indicator", children: /* @__PURE__ */ jsx(Circle, { className: "icon-2-5 fill-current text-current" }) })
|
|
1324
1214
|
}
|
|
1325
1215
|
);
|
|
1326
1216
|
});
|
|
@@ -1328,20 +1218,10 @@ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
|
1328
1218
|
const Switch = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1329
1219
|
SwitchPrimitives.Root,
|
|
1330
1220
|
{
|
|
1331
|
-
className: cn(
|
|
1332
|
-
"peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
|
|
1333
|
-
className
|
|
1334
|
-
),
|
|
1221
|
+
className: cn("switch", className),
|
|
1335
1222
|
...props,
|
|
1336
1223
|
ref,
|
|
1337
|
-
children: /* @__PURE__ */ jsx(
|
|
1338
|
-
SwitchPrimitives.Thumb,
|
|
1339
|
-
{
|
|
1340
|
-
className: cn(
|
|
1341
|
-
"pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
|
|
1342
|
-
)
|
|
1343
|
-
}
|
|
1344
|
-
)
|
|
1224
|
+
children: /* @__PURE__ */ jsx(SwitchPrimitives.Thumb, { className: "switch-thumb" })
|
|
1345
1225
|
}
|
|
1346
1226
|
));
|
|
1347
1227
|
Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
@@ -1349,14 +1229,11 @@ const Slider = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
1349
1229
|
SliderPrimitive.Root,
|
|
1350
1230
|
{
|
|
1351
1231
|
ref,
|
|
1352
|
-
className: cn(
|
|
1353
|
-
"relative flex w-full touch-none select-none items-center",
|
|
1354
|
-
className
|
|
1355
|
-
),
|
|
1232
|
+
className: cn("slider", className),
|
|
1356
1233
|
...props,
|
|
1357
1234
|
children: [
|
|
1358
|
-
/* @__PURE__ */ jsx(SliderPrimitive.Track, { className: "
|
|
1359
|
-
/* @__PURE__ */ jsx(SliderPrimitive.Thumb, { className: "
|
|
1235
|
+
/* @__PURE__ */ jsx(SliderPrimitive.Track, { className: "slider-track", children: /* @__PURE__ */ jsx(SliderPrimitive.Range, { className: "slider-range" }) }),
|
|
1236
|
+
/* @__PURE__ */ jsx(SliderPrimitive.Thumb, { className: "slider-thumb" })
|
|
1360
1237
|
]
|
|
1361
1238
|
}
|
|
1362
1239
|
));
|
|
@@ -1365,16 +1242,13 @@ const InputOTP = React.forwardRef(({ className, containerClassName, ...props },
|
|
|
1365
1242
|
OTPInput,
|
|
1366
1243
|
{
|
|
1367
1244
|
ref,
|
|
1368
|
-
containerClassName: cn(
|
|
1369
|
-
|
|
1370
|
-
containerClassName
|
|
1371
|
-
),
|
|
1372
|
-
className: cn("disabled:cursor-not-allowed", className),
|
|
1245
|
+
containerClassName: cn("input-otp-container", containerClassName),
|
|
1246
|
+
className: cn("input-otp", className),
|
|
1373
1247
|
...props
|
|
1374
1248
|
}
|
|
1375
1249
|
));
|
|
1376
1250
|
InputOTP.displayName = "InputOTP";
|
|
1377
|
-
const InputOTPGroup = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("
|
|
1251
|
+
const InputOTPGroup = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("input-otp-group", className), ...props }));
|
|
1378
1252
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
1379
1253
|
const InputOTPSlot = React.forwardRef(({ index, className, ...props }, ref) => {
|
|
1380
1254
|
const inputOTPContext = React.useContext(OTPInputContext);
|
|
@@ -1384,14 +1258,14 @@ const InputOTPSlot = React.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
1384
1258
|
{
|
|
1385
1259
|
ref,
|
|
1386
1260
|
className: cn(
|
|
1387
|
-
"
|
|
1388
|
-
isActive && "
|
|
1261
|
+
"input-otp-slot",
|
|
1262
|
+
isActive && "input-otp-slot--active",
|
|
1389
1263
|
className
|
|
1390
1264
|
),
|
|
1391
1265
|
...props,
|
|
1392
1266
|
children: [
|
|
1393
1267
|
char,
|
|
1394
|
-
hasFakeCaret && /* @__PURE__ */ jsx("div", { className: "
|
|
1268
|
+
hasFakeCaret && /* @__PURE__ */ jsx("div", { className: "input-otp-caret", children: /* @__PURE__ */ jsx("div", { className: "input-otp-caret-line" }) })
|
|
1395
1269
|
]
|
|
1396
1270
|
}
|
|
1397
1271
|
);
|
|
@@ -1440,14 +1314,11 @@ const SelectTrigger = React.forwardRef(({ className, children, ...props }, ref)
|
|
|
1440
1314
|
SelectPrimitive.Trigger,
|
|
1441
1315
|
{
|
|
1442
1316
|
ref,
|
|
1443
|
-
className: cn(
|
|
1444
|
-
"group flex h-12 w-full rounded-[6px] border border-gray-200 bg-white p-4 text-gray-800 ring-offset-background placeholder:font-normal placeholder:text-gray-500 focus:outline-none focus:ring-0 data-[state=open]:border-cyan-300 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
|
|
1445
|
-
className
|
|
1446
|
-
),
|
|
1317
|
+
className: cn("select-trigger", className),
|
|
1447
1318
|
...props,
|
|
1448
|
-
children: /* @__PURE__ */ jsxs("div", { className: "
|
|
1449
|
-
/* @__PURE__ */ jsx("span", { className: "
|
|
1450
|
-
/* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(UtilityChevronDown, { className: "
|
|
1319
|
+
children: /* @__PURE__ */ jsxs("div", { className: "select-trigger-inner", children: [
|
|
1320
|
+
/* @__PURE__ */ jsx("span", { className: "select-trigger-text font-mazzard body-base", children }),
|
|
1321
|
+
/* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(UtilityChevronDown, { className: "select-icon" }) })
|
|
1451
1322
|
] })
|
|
1452
1323
|
}
|
|
1453
1324
|
));
|
|
@@ -1456,10 +1327,7 @@ const SelectScrollUpButton = React.forwardRef(({ className, ...props }, ref) =>
|
|
|
1456
1327
|
SelectPrimitive.ScrollUpButton,
|
|
1457
1328
|
{
|
|
1458
1329
|
ref,
|
|
1459
|
-
className: cn(
|
|
1460
|
-
"flex cursor-default items-center justify-center py-1",
|
|
1461
|
-
className
|
|
1462
|
-
),
|
|
1330
|
+
className: cn("select-scroll-button", className),
|
|
1463
1331
|
...props,
|
|
1464
1332
|
children: /* @__PURE__ */ jsx(UtilityChevronDown, {})
|
|
1465
1333
|
}
|
|
@@ -1469,10 +1337,7 @@ const SelectScrollDownButton = React.forwardRef(({ className, ...props }, ref) =
|
|
|
1469
1337
|
SelectPrimitive.ScrollDownButton,
|
|
1470
1338
|
{
|
|
1471
1339
|
ref,
|
|
1472
|
-
className: cn(
|
|
1473
|
-
"flex cursor-default items-center justify-center py-1",
|
|
1474
|
-
className
|
|
1475
|
-
),
|
|
1340
|
+
className: cn("select-scroll-button", className),
|
|
1476
1341
|
...props,
|
|
1477
1342
|
children: /* @__PURE__ */ jsx(UtilityChevronDown, {})
|
|
1478
1343
|
}
|
|
@@ -1482,24 +1347,12 @@ const SelectContent = React.forwardRef(({ className, children, position = "poppe
|
|
|
1482
1347
|
SelectPrimitive.Content,
|
|
1483
1348
|
{
|
|
1484
1349
|
ref,
|
|
1485
|
-
className: cn(
|
|
1486
|
-
"relative z-50 max-h-96 min-w-32 overflow-hidden border-cyan-300 bg-gray-700 text-gray-200 shadow-md 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[side=bottom]:-mt-1 data-[side=bottom]:rounded-t-none data-[side=bottom]:rounded-b-[6px] data-[side=top]:border-b-0 data-[side=top]:rounded-t-[6px] data-[side=top]:rounded-b-none data-[side=top]:-mb-1 data-[side=top]:border-t data-[side=bottom]:border-b",
|
|
1487
|
-
className
|
|
1488
|
-
),
|
|
1350
|
+
className: cn("select-content", className),
|
|
1489
1351
|
position,
|
|
1490
1352
|
...props,
|
|
1491
1353
|
children: [
|
|
1492
1354
|
/* @__PURE__ */ jsx(SelectScrollUpButton, {}),
|
|
1493
|
-
/* @__PURE__ */ jsx(
|
|
1494
|
-
SelectPrimitive.Viewport,
|
|
1495
|
-
{
|
|
1496
|
-
className: cn(
|
|
1497
|
-
"",
|
|
1498
|
-
position === "popper" && "h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)"
|
|
1499
|
-
),
|
|
1500
|
-
children
|
|
1501
|
-
}
|
|
1502
|
-
),
|
|
1355
|
+
/* @__PURE__ */ jsx(SelectPrimitive.Viewport, { className: "select-viewport", children }),
|
|
1503
1356
|
/* @__PURE__ */ jsx(SelectScrollDownButton, {})
|
|
1504
1357
|
]
|
|
1505
1358
|
}
|
|
@@ -1509,10 +1362,7 @@ const SelectLabel = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1509
1362
|
SelectPrimitive.Label,
|
|
1510
1363
|
{
|
|
1511
1364
|
ref,
|
|
1512
|
-
className: cn(
|
|
1513
|
-
"py-1.5 pl-8 pr-2 text-sm font-semibold font-mazzard",
|
|
1514
|
-
className
|
|
1515
|
-
),
|
|
1365
|
+
className: cn("select-label font-mazzard", className),
|
|
1516
1366
|
...props
|
|
1517
1367
|
}
|
|
1518
1368
|
));
|
|
@@ -1521,10 +1371,7 @@ const SelectItem = React.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
1521
1371
|
SelectPrimitive.Item,
|
|
1522
1372
|
{
|
|
1523
1373
|
ref,
|
|
1524
|
-
className: cn(
|
|
1525
|
-
"relative flex h-12 w-full cursor-default select-none items-center border-x border-cyan-300 px-4 outline-none focus:bg-[rgba(0,0,0,0.2)] data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
1526
|
-
className
|
|
1527
|
-
),
|
|
1374
|
+
className: cn("select-item", className),
|
|
1528
1375
|
...props,
|
|
1529
1376
|
children: /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children })
|
|
1530
1377
|
}
|
|
@@ -1534,7 +1381,7 @@ const SelectSeparator = React.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
1534
1381
|
SelectPrimitive.Separator,
|
|
1535
1382
|
{
|
|
1536
1383
|
ref,
|
|
1537
|
-
className: cn("-
|
|
1384
|
+
className: cn("select-separator", className),
|
|
1538
1385
|
...props
|
|
1539
1386
|
}
|
|
1540
1387
|
));
|
|
@@ -1571,7 +1418,7 @@ const FormItemContext = React.createContext(
|
|
|
1571
1418
|
);
|
|
1572
1419
|
const FormItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
1573
1420
|
const id = React.useId();
|
|
1574
|
-
return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx("div", { ref, className: cn("
|
|
1421
|
+
return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx("div", { ref, className: cn("form-item", className), ...props }) });
|
|
1575
1422
|
});
|
|
1576
1423
|
FormItem.displayName = "FormItem";
|
|
1577
1424
|
const FormLabel = React.forwardRef(({ className, ...props }, ref) => {
|
|
@@ -1580,7 +1427,7 @@ const FormLabel = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
1580
1427
|
Label,
|
|
1581
1428
|
{
|
|
1582
1429
|
ref,
|
|
1583
|
-
className: cn(error && "
|
|
1430
|
+
className: cn(error && "form-label--error", className),
|
|
1584
1431
|
htmlFor: formItemId,
|
|
1585
1432
|
...props
|
|
1586
1433
|
}
|
|
@@ -1608,7 +1455,7 @@ const FormDescription = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
1608
1455
|
{
|
|
1609
1456
|
ref,
|
|
1610
1457
|
id: formDescriptionId,
|
|
1611
|
-
className: cn("
|
|
1458
|
+
className: cn("form-description", className),
|
|
1612
1459
|
...props
|
|
1613
1460
|
}
|
|
1614
1461
|
);
|
|
@@ -1625,7 +1472,7 @@ const FormMessage = React.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
1625
1472
|
{
|
|
1626
1473
|
ref,
|
|
1627
1474
|
id: formMessageId,
|
|
1628
|
-
className: cn("
|
|
1475
|
+
className: cn("form-message", className),
|
|
1629
1476
|
...props,
|
|
1630
1477
|
children: body
|
|
1631
1478
|
}
|
|
@@ -1633,14 +1480,14 @@ const FormMessage = React.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
1633
1480
|
});
|
|
1634
1481
|
FormMessage.displayName = "FormMessage";
|
|
1635
1482
|
const toggleVariants = cva(
|
|
1636
|
-
"
|
|
1483
|
+
"toggle-group-item",
|
|
1637
1484
|
{
|
|
1638
1485
|
variants: {
|
|
1639
1486
|
variant: {
|
|
1640
|
-
default: "
|
|
1487
|
+
default: "toggle-group-item--default"
|
|
1641
1488
|
},
|
|
1642
1489
|
size: {
|
|
1643
|
-
default: "
|
|
1490
|
+
default: "toggle-group-item--size-default"
|
|
1644
1491
|
}
|
|
1645
1492
|
},
|
|
1646
1493
|
defaultVariants: {
|
|
@@ -1653,17 +1500,17 @@ const ToggleGroupContext = React.createContext({
|
|
|
1653
1500
|
size: "default",
|
|
1654
1501
|
variant: "default"
|
|
1655
1502
|
});
|
|
1656
|
-
const ToggleGroup = React.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1503
|
+
const ToggleGroup = React.forwardRef(({ className, variant: variant2, size, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1657
1504
|
ToggleGroupPrimitive.Root,
|
|
1658
1505
|
{
|
|
1659
1506
|
ref,
|
|
1660
|
-
className: cn("
|
|
1507
|
+
className: cn("toggle-group", className),
|
|
1661
1508
|
...props,
|
|
1662
|
-
children: /* @__PURE__ */ jsx(ToggleGroupContext.Provider, { value: { variant, size }, children })
|
|
1509
|
+
children: /* @__PURE__ */ jsx(ToggleGroupContext.Provider, { value: { variant: variant2, size }, children })
|
|
1663
1510
|
}
|
|
1664
1511
|
));
|
|
1665
1512
|
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
1666
|
-
const ToggleGroupItem = React.forwardRef(({ className, children, variant, size, ...props }, ref) => {
|
|
1513
|
+
const ToggleGroupItem = React.forwardRef(({ className, children, variant: variant2, size, ...props }, ref) => {
|
|
1667
1514
|
const context = React.useContext(ToggleGroupContext);
|
|
1668
1515
|
return /* @__PURE__ */ jsx(
|
|
1669
1516
|
ToggleGroupPrimitive.Item,
|
|
@@ -1671,7 +1518,7 @@ const ToggleGroupItem = React.forwardRef(({ className, children, variant, size,
|
|
|
1671
1518
|
ref,
|
|
1672
1519
|
className: cn(
|
|
1673
1520
|
toggleVariants({
|
|
1674
|
-
variant: context.variant ||
|
|
1521
|
+
variant: context.variant || variant2,
|
|
1675
1522
|
size: context.size || size
|
|
1676
1523
|
}),
|
|
1677
1524
|
className
|
|
@@ -1711,17 +1558,17 @@ function useSegmentedControl({
|
|
|
1711
1558
|
};
|
|
1712
1559
|
}
|
|
1713
1560
|
cva(
|
|
1714
|
-
"
|
|
1561
|
+
"toggle",
|
|
1715
1562
|
{
|
|
1716
1563
|
variants: {
|
|
1717
1564
|
variant: {
|
|
1718
|
-
default: "
|
|
1719
|
-
outline: "
|
|
1565
|
+
default: "toggle--default",
|
|
1566
|
+
outline: "toggle--outline"
|
|
1720
1567
|
},
|
|
1721
1568
|
size: {
|
|
1722
|
-
default: "
|
|
1723
|
-
sm: "
|
|
1724
|
-
lg: "
|
|
1569
|
+
default: "toggle--size-default",
|
|
1570
|
+
sm: "toggle--size-sm",
|
|
1571
|
+
lg: "toggle--size-lg"
|
|
1725
1572
|
}
|
|
1726
1573
|
},
|
|
1727
1574
|
defaultVariants: {
|
|
@@ -1738,18 +1585,19 @@ const SegmentedControlInner = React.forwardRef(
|
|
|
1738
1585
|
defaultValue: defaultValue ?? ((_a = options[0]) == null ? void 0 : _a.value),
|
|
1739
1586
|
onValueChange
|
|
1740
1587
|
});
|
|
1741
|
-
return /* @__PURE__ */ jsx("div", { ref, className: cn("
|
|
1588
|
+
return /* @__PURE__ */ jsx("div", { ref, className: cn("segmented-control", className), ...props, children: options.map((option) => {
|
|
1742
1589
|
const isReactElement = React.isValidElement(option.label);
|
|
1590
|
+
const isActive = selectedValue === option.value;
|
|
1743
1591
|
return /* @__PURE__ */ jsx(
|
|
1744
1592
|
"button",
|
|
1745
1593
|
{
|
|
1746
1594
|
className: cn(
|
|
1747
|
-
"
|
|
1748
|
-
|
|
1595
|
+
"segmented-control-button",
|
|
1596
|
+
isActive ? "segmented-control-button--active" : "segmented-control-button--inactive"
|
|
1749
1597
|
),
|
|
1750
1598
|
onClick: () => handleValueChange(option.value),
|
|
1751
1599
|
type: "button",
|
|
1752
|
-
"data-active":
|
|
1600
|
+
"data-active": isActive,
|
|
1753
1601
|
children: isReactElement ? option.label : /* @__PURE__ */ jsx("span", { className: "body-small font-medium", children: option.label })
|
|
1754
1602
|
},
|
|
1755
1603
|
option.value
|
|
@@ -1761,14 +1609,14 @@ SegmentedControlInner.displayName = "SegmentedControl";
|
|
|
1761
1609
|
const SegmentedControl = SegmentedControlInner;
|
|
1762
1610
|
const Toggle = SegmentedControl;
|
|
1763
1611
|
const badgeVariants = cva(
|
|
1764
|
-
"
|
|
1612
|
+
"badge",
|
|
1765
1613
|
{
|
|
1766
1614
|
variants: {
|
|
1767
1615
|
variant: {
|
|
1768
|
-
default: "
|
|
1769
|
-
secondary: "
|
|
1770
|
-
destructive: "
|
|
1771
|
-
outline: "
|
|
1616
|
+
default: "badge--default",
|
|
1617
|
+
secondary: "badge--secondary",
|
|
1618
|
+
destructive: "badge--destructive",
|
|
1619
|
+
outline: "badge--outline"
|
|
1772
1620
|
}
|
|
1773
1621
|
},
|
|
1774
1622
|
defaultVariants: {
|
|
@@ -1776,16 +1624,16 @@ const badgeVariants = cva(
|
|
|
1776
1624
|
}
|
|
1777
1625
|
}
|
|
1778
1626
|
);
|
|
1779
|
-
function Badge({ className, variant, ...props }) {
|
|
1780
|
-
return /* @__PURE__ */ jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
|
|
1627
|
+
function Badge({ className, variant: variant2, ...props }) {
|
|
1628
|
+
return /* @__PURE__ */ jsx("div", { className: cn(badgeVariants({ variant: variant2 }), className), ...props });
|
|
1781
1629
|
}
|
|
1782
1630
|
const alertVariants = cva(
|
|
1783
|
-
"
|
|
1631
|
+
"alert",
|
|
1784
1632
|
{
|
|
1785
1633
|
variants: {
|
|
1786
1634
|
variant: {
|
|
1787
|
-
default: "
|
|
1788
|
-
destructive: "
|
|
1635
|
+
default: "alert--default",
|
|
1636
|
+
destructive: "alert--destructive"
|
|
1789
1637
|
}
|
|
1790
1638
|
},
|
|
1791
1639
|
defaultVariants: {
|
|
@@ -1793,12 +1641,12 @@ const alertVariants = cva(
|
|
|
1793
1641
|
}
|
|
1794
1642
|
}
|
|
1795
1643
|
);
|
|
1796
|
-
const Alert = React.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1644
|
+
const Alert = React.forwardRef(({ className, variant: variant2, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1797
1645
|
"div",
|
|
1798
1646
|
{
|
|
1799
1647
|
ref,
|
|
1800
1648
|
role: "alert",
|
|
1801
|
-
className: cn(alertVariants({ variant }), className),
|
|
1649
|
+
className: cn(alertVariants({ variant: variant2 }), className),
|
|
1802
1650
|
...props
|
|
1803
1651
|
}
|
|
1804
1652
|
));
|
|
@@ -1807,7 +1655,7 @@ const AlertTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
1807
1655
|
"h5",
|
|
1808
1656
|
{
|
|
1809
1657
|
ref,
|
|
1810
|
-
className: cn("
|
|
1658
|
+
className: cn("alert-title", className),
|
|
1811
1659
|
...props
|
|
1812
1660
|
}
|
|
1813
1661
|
));
|
|
@@ -1816,7 +1664,7 @@ const AlertDescription = React.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
1816
1664
|
"div",
|
|
1817
1665
|
{
|
|
1818
1666
|
ref,
|
|
1819
|
-
className: cn("
|
|
1667
|
+
className: cn("alert-description", className),
|
|
1820
1668
|
...props
|
|
1821
1669
|
}
|
|
1822
1670
|
));
|
|
@@ -1827,10 +1675,7 @@ const AlertDialogPortal = AlertDialogPrimitive.Portal;
|
|
|
1827
1675
|
const AlertDialogOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1828
1676
|
AlertDialogPrimitive.Overlay,
|
|
1829
1677
|
{
|
|
1830
|
-
className: cn(
|
|
1831
|
-
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
1832
|
-
className
|
|
1833
|
-
),
|
|
1678
|
+
className: cn("alert-dialog-overlay", className),
|
|
1834
1679
|
...props,
|
|
1835
1680
|
ref
|
|
1836
1681
|
}
|
|
@@ -1842,10 +1687,7 @@ const AlertDialogContent = React.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1842
1687
|
AlertDialogPrimitive.Content,
|
|
1843
1688
|
{
|
|
1844
1689
|
ref,
|
|
1845
|
-
className: cn(
|
|
1846
|
-
"fixed left-[50%] top-[50%] z-50 border-green grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background 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",
|
|
1847
|
-
className
|
|
1848
|
-
),
|
|
1690
|
+
className: cn("alert-dialog-content", className),
|
|
1849
1691
|
...props
|
|
1850
1692
|
}
|
|
1851
1693
|
)
|
|
@@ -1857,10 +1699,7 @@ const AlertDialogHeader = ({
|
|
|
1857
1699
|
}) => /* @__PURE__ */ jsx(
|
|
1858
1700
|
"div",
|
|
1859
1701
|
{
|
|
1860
|
-
className: cn(
|
|
1861
|
-
"flex flex-col space-y-2 text-center sm:text-left",
|
|
1862
|
-
className
|
|
1863
|
-
),
|
|
1702
|
+
className: cn("alert-dialog-header", className),
|
|
1864
1703
|
...props
|
|
1865
1704
|
}
|
|
1866
1705
|
);
|
|
@@ -1871,10 +1710,7 @@ const AlertDialogFooter = ({
|
|
|
1871
1710
|
}) => /* @__PURE__ */ jsx(
|
|
1872
1711
|
"div",
|
|
1873
1712
|
{
|
|
1874
|
-
className: cn(
|
|
1875
|
-
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
1876
|
-
className
|
|
1877
|
-
),
|
|
1713
|
+
className: cn("alert-dialog-footer", className),
|
|
1878
1714
|
...props
|
|
1879
1715
|
}
|
|
1880
1716
|
);
|
|
@@ -1883,7 +1719,7 @@ const AlertDialogTitle = React.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
1883
1719
|
AlertDialogPrimitive.Title,
|
|
1884
1720
|
{
|
|
1885
1721
|
ref,
|
|
1886
|
-
className: cn("
|
|
1722
|
+
className: cn("alert-dialog-title", className),
|
|
1887
1723
|
...props
|
|
1888
1724
|
}
|
|
1889
1725
|
));
|
|
@@ -1892,7 +1728,7 @@ const AlertDialogDescription = React.forwardRef(({ className, ...props }, ref) =
|
|
|
1892
1728
|
AlertDialogPrimitive.Description,
|
|
1893
1729
|
{
|
|
1894
1730
|
ref,
|
|
1895
|
-
className: cn("
|
|
1731
|
+
className: cn("alert-dialog-description", className),
|
|
1896
1732
|
...props
|
|
1897
1733
|
}
|
|
1898
1734
|
));
|
|
@@ -1912,7 +1748,6 @@ const AlertDialogCancel = React.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1912
1748
|
ref,
|
|
1913
1749
|
className: cn(
|
|
1914
1750
|
buttonVariants({ variant: "general-secondary" }),
|
|
1915
|
-
"mt-2 sm:mt-0",
|
|
1916
1751
|
className
|
|
1917
1752
|
),
|
|
1918
1753
|
...props
|
|
@@ -1923,10 +1758,7 @@ const Avatar = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
1923
1758
|
AvatarPrimitive.Root,
|
|
1924
1759
|
{
|
|
1925
1760
|
ref,
|
|
1926
|
-
className: cn(
|
|
1927
|
-
"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
|
|
1928
|
-
className
|
|
1929
|
-
),
|
|
1761
|
+
className: cn("avatar", className),
|
|
1930
1762
|
...props
|
|
1931
1763
|
}
|
|
1932
1764
|
));
|
|
@@ -1935,7 +1767,7 @@ const AvatarImage = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1935
1767
|
AvatarPrimitive.Image,
|
|
1936
1768
|
{
|
|
1937
1769
|
ref,
|
|
1938
|
-
className: cn("
|
|
1770
|
+
className: cn("avatar-image", className),
|
|
1939
1771
|
...props
|
|
1940
1772
|
}
|
|
1941
1773
|
));
|
|
@@ -1944,10 +1776,7 @@ const AvatarFallback = React.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
1944
1776
|
AvatarPrimitive.Fallback,
|
|
1945
1777
|
{
|
|
1946
1778
|
ref,
|
|
1947
|
-
className: cn(
|
|
1948
|
-
"flex h-full w-full items-center justify-center rounded-full bg-muted",
|
|
1949
|
-
className
|
|
1950
|
-
),
|
|
1779
|
+
className: cn("avatar-fallback", className),
|
|
1951
1780
|
...props
|
|
1952
1781
|
}
|
|
1953
1782
|
));
|
|
@@ -1958,10 +1787,7 @@ const BreadcrumbList = React.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
1958
1787
|
"ol",
|
|
1959
1788
|
{
|
|
1960
1789
|
ref,
|
|
1961
|
-
className: cn(
|
|
1962
|
-
"flex flex-wrap items-center gap-1.5 wrap-break-word text-sm text-muted-foreground sm:gap-2.5",
|
|
1963
|
-
className
|
|
1964
|
-
),
|
|
1790
|
+
className: cn("breadcrumb-list", className),
|
|
1965
1791
|
...props
|
|
1966
1792
|
}
|
|
1967
1793
|
));
|
|
@@ -1970,7 +1796,7 @@ const BreadcrumbItem = React.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
1970
1796
|
"li",
|
|
1971
1797
|
{
|
|
1972
1798
|
ref,
|
|
1973
|
-
className: cn("
|
|
1799
|
+
className: cn("breadcrumb-item", className),
|
|
1974
1800
|
...props
|
|
1975
1801
|
}
|
|
1976
1802
|
));
|
|
@@ -1981,7 +1807,7 @@ const BreadcrumbLink = React.forwardRef(({ asChild, className, ...props }, ref)
|
|
|
1981
1807
|
Comp,
|
|
1982
1808
|
{
|
|
1983
1809
|
ref,
|
|
1984
|
-
className: cn("
|
|
1810
|
+
className: cn("breadcrumb-link", className),
|
|
1985
1811
|
...props
|
|
1986
1812
|
}
|
|
1987
1813
|
);
|
|
@@ -1994,10 +1820,7 @@ const BreadcrumbPage = React.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
1994
1820
|
role: "link",
|
|
1995
1821
|
"aria-disabled": "true",
|
|
1996
1822
|
"aria-current": "page",
|
|
1997
|
-
className: cn(
|
|
1998
|
-
"body-small font-medium text-gray-600 text-center whitespace-nowrap",
|
|
1999
|
-
className
|
|
2000
|
-
),
|
|
1823
|
+
className: cn("breadcrumb-page body-small font-medium", className),
|
|
2001
1824
|
...props
|
|
2002
1825
|
}
|
|
2003
1826
|
));
|
|
@@ -2011,10 +1834,7 @@ const BreadcrumbSeparator = ({
|
|
|
2011
1834
|
{
|
|
2012
1835
|
role: "presentation",
|
|
2013
1836
|
"aria-hidden": "true",
|
|
2014
|
-
className: cn(
|
|
2015
|
-
"size-4 flex items-center justify-center shrink-0",
|
|
2016
|
-
className
|
|
2017
|
-
),
|
|
1837
|
+
className: cn("breadcrumb-separator", className),
|
|
2018
1838
|
...props,
|
|
2019
1839
|
children: children ?? /* @__PURE__ */ jsx(
|
|
2020
1840
|
"svg",
|
|
@@ -2043,15 +1863,12 @@ const Progress = React.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
2043
1863
|
ProgressPrimitive.Root,
|
|
2044
1864
|
{
|
|
2045
1865
|
ref,
|
|
2046
|
-
className: cn(
|
|
2047
|
-
"relative h-4 w-full overflow-hidden rounded-full bg-secondary",
|
|
2048
|
-
className
|
|
2049
|
-
),
|
|
1866
|
+
className: cn("progress", className),
|
|
2050
1867
|
...props,
|
|
2051
1868
|
children: /* @__PURE__ */ jsx(
|
|
2052
1869
|
ProgressPrimitive.Indicator,
|
|
2053
1870
|
{
|
|
2054
|
-
className: "
|
|
1871
|
+
className: "progress-indicator",
|
|
2055
1872
|
style: { transform: `translateX(-${100 - (value || 0)}%)` }
|
|
2056
1873
|
}
|
|
2057
1874
|
)
|
|
@@ -2068,43 +1885,43 @@ function Calendar({
|
|
|
2068
1885
|
DayPicker,
|
|
2069
1886
|
{
|
|
2070
1887
|
showOutsideDays,
|
|
2071
|
-
className: cn("
|
|
1888
|
+
className: cn("calendar", className),
|
|
2072
1889
|
classNames: {
|
|
2073
|
-
months: "
|
|
2074
|
-
month: "
|
|
2075
|
-
caption: "
|
|
2076
|
-
caption_label: "
|
|
2077
|
-
nav: "
|
|
1890
|
+
months: "calendar-months",
|
|
1891
|
+
month: "calendar-month",
|
|
1892
|
+
caption: "calendar-caption",
|
|
1893
|
+
caption_label: "calendar-caption-label",
|
|
1894
|
+
nav: "calendar-nav",
|
|
2078
1895
|
nav_button: cn(
|
|
2079
1896
|
buttonVariants({ variant: "general-secondary" }),
|
|
2080
|
-
"
|
|
1897
|
+
"calendar-nav-button"
|
|
2081
1898
|
),
|
|
2082
|
-
nav_button_previous: "
|
|
2083
|
-
nav_button_next: "
|
|
2084
|
-
table: "
|
|
2085
|
-
head_row: "
|
|
2086
|
-
head_cell: "
|
|
2087
|
-
row: "
|
|
2088
|
-
cell: "
|
|
1899
|
+
nav_button_previous: "calendar-nav-button-previous",
|
|
1900
|
+
nav_button_next: "calendar-nav-button-next",
|
|
1901
|
+
table: "calendar-table",
|
|
1902
|
+
head_row: "calendar-head-row",
|
|
1903
|
+
head_cell: "calendar-head-cell",
|
|
1904
|
+
row: "calendar-row",
|
|
1905
|
+
cell: "calendar-cell",
|
|
2089
1906
|
day: cn(
|
|
2090
1907
|
buttonVariants({ variant: "general-tertiary" }),
|
|
2091
|
-
"
|
|
1908
|
+
"calendar-day"
|
|
2092
1909
|
),
|
|
2093
|
-
day_range_end: "day-range-end",
|
|
2094
|
-
day_selected: "
|
|
2095
|
-
day_today: "
|
|
2096
|
-
day_outside: "day-outside
|
|
2097
|
-
day_disabled: "
|
|
2098
|
-
day_range_middle: "
|
|
2099
|
-
day_hidden: "
|
|
1910
|
+
day_range_end: "calendar-day-range-end",
|
|
1911
|
+
day_selected: "calendar-day-selected",
|
|
1912
|
+
day_today: "calendar-day-today",
|
|
1913
|
+
day_outside: "calendar-day-outside",
|
|
1914
|
+
day_disabled: "calendar-day-disabled",
|
|
1915
|
+
day_range_middle: "calendar-day-range-middle",
|
|
1916
|
+
day_hidden: "calendar-day-hidden",
|
|
2100
1917
|
...classNames
|
|
2101
1918
|
},
|
|
2102
1919
|
components: {
|
|
2103
1920
|
Chevron: (props2) => {
|
|
2104
1921
|
if (props2.orientation === "left") {
|
|
2105
|
-
return /* @__PURE__ */ jsx(ChevronLeft, { className: "
|
|
1922
|
+
return /* @__PURE__ */ jsx(ChevronLeft, { className: "icon-4" });
|
|
2106
1923
|
}
|
|
2107
|
-
return /* @__PURE__ */ jsx(ChevronRight, { className: "
|
|
1924
|
+
return /* @__PURE__ */ jsx(ChevronRight, { className: "icon-4" });
|
|
2108
1925
|
}
|
|
2109
1926
|
},
|
|
2110
1927
|
...props
|
|
@@ -2290,28 +2107,24 @@ const Navigation = ({
|
|
|
2290
2107
|
"nav",
|
|
2291
2108
|
{
|
|
2292
2109
|
ref: containerRef,
|
|
2293
|
-
className: cn(
|
|
2294
|
-
|
|
2295
|
-
isStrategy && "bg-gray-50 backdrop-blur-xl backdrop-filter border-b border-gray-100"
|
|
2296
|
-
),
|
|
2110
|
+
className: cn("navigation", isStrategy && "navigation--strategy"),
|
|
2111
|
+
"data-strategy": isStrategy,
|
|
2297
2112
|
onMouseLeave: handleMouseLeave,
|
|
2298
2113
|
children: [
|
|
2299
2114
|
!isStrategy && /* @__PURE__ */ jsx(
|
|
2300
2115
|
"div",
|
|
2301
2116
|
{
|
|
2302
2117
|
ref: overlayRef,
|
|
2303
|
-
className:
|
|
2304
|
-
|
|
2305
|
-
isOpen ? "translate-y-0 bg-[rgba(62,64,73,0.90)] backdrop-blur-xl" : "-translate-y-[calc(100%-56px)] bg-black/16"
|
|
2306
|
-
)
|
|
2118
|
+
className: "navigation-overlay",
|
|
2119
|
+
"data-open": isOpen
|
|
2307
2120
|
}
|
|
2308
2121
|
),
|
|
2309
|
-
/* @__PURE__ */ jsxs("div", { className: "container
|
|
2310
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
2122
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-container", children: [
|
|
2123
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-logo-container", children: [
|
|
2311
2124
|
isStrategy ? /* @__PURE__ */ jsx(
|
|
2312
2125
|
Button,
|
|
2313
2126
|
{
|
|
2314
|
-
className: "
|
|
2127
|
+
className: "navigation-close-button",
|
|
2315
2128
|
size: "icon",
|
|
2316
2129
|
onClick: (e) => {
|
|
2317
2130
|
e.preventDefault();
|
|
@@ -2321,7 +2134,7 @@ const Navigation = ({
|
|
|
2321
2134
|
onLinkClick("/");
|
|
2322
2135
|
}
|
|
2323
2136
|
},
|
|
2324
|
-
children: /* @__PURE__ */ jsx(UtilityClose, { className: "
|
|
2137
|
+
children: /* @__PURE__ */ jsx(UtilityClose, { className: "navigation-close-icon" })
|
|
2325
2138
|
}
|
|
2326
2139
|
) : null,
|
|
2327
2140
|
/* @__PURE__ */ jsx(
|
|
@@ -2329,856 +2142,585 @@ const Navigation = ({
|
|
|
2329
2142
|
{
|
|
2330
2143
|
href: "/",
|
|
2331
2144
|
className: cn(
|
|
2332
|
-
"
|
|
2333
|
-
|
|
2334
|
-
"translate-x-0": isStrategy
|
|
2335
|
-
}
|
|
2145
|
+
"navigation-logo-link",
|
|
2146
|
+
isStrategy && "navigation-logo-link--strategy"
|
|
2336
2147
|
),
|
|
2148
|
+
"data-strategy": isStrategy,
|
|
2337
2149
|
"aria-label": "Home",
|
|
2338
2150
|
children: /* @__PURE__ */ jsx(NavLogo, { dark: isStrategy })
|
|
2339
2151
|
}
|
|
2340
2152
|
)
|
|
2341
2153
|
] }),
|
|
2342
|
-
!isStrategy ? /* @__PURE__ */ jsx(
|
|
2343
|
-
"
|
|
2154
|
+
!isStrategy ? /* @__PURE__ */ jsx("div", { className: "navigation-nav-container", children: /* @__PURE__ */ jsx("ul", { className: "navigation-nav-list", children: navItems ? navItems.map((item, index) => /* @__PURE__ */ jsxs(
|
|
2155
|
+
"li",
|
|
2344
2156
|
{
|
|
2345
|
-
className:
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
/* @__PURE__ */ jsx(
|
|
2357
|
-
|
|
2358
|
-
motion.div,
|
|
2157
|
+
className: "navigation-nav-item",
|
|
2158
|
+
onMouseEnter: () => handleNavItemMouseEnter(index),
|
|
2159
|
+
children: [
|
|
2160
|
+
/* @__PURE__ */ jsx("span", { className: "navigation-nav-link", children: item.label }),
|
|
2161
|
+
activeItem === index + 1 && /* @__PURE__ */ jsx(
|
|
2162
|
+
motion.div,
|
|
2163
|
+
{
|
|
2164
|
+
id: "underline",
|
|
2165
|
+
className: "navigation-underline",
|
|
2166
|
+
layoutId: "underline",
|
|
2167
|
+
transition: { duration: 0.2, ease: "easeOut" },
|
|
2168
|
+
children: /* @__PURE__ */ jsx(
|
|
2169
|
+
"div",
|
|
2359
2170
|
{
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
"
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
width: "10px",
|
|
2370
|
-
height: "5px",
|
|
2371
|
-
borderBottomLeftRadius: "100px",
|
|
2372
|
-
borderBottomRightRadius: "100px",
|
|
2373
|
-
borderBottom: "0",
|
|
2374
|
-
boxSizing: "border-box"
|
|
2375
|
-
}
|
|
2376
|
-
}
|
|
2377
|
-
)
|
|
2171
|
+
className: "navigation-underline-circle navigation-underline-circle--gradient",
|
|
2172
|
+
style: {
|
|
2173
|
+
width: "10px",
|
|
2174
|
+
height: "5px",
|
|
2175
|
+
borderBottomLeftRadius: "100px",
|
|
2176
|
+
borderBottomRightRadius: "100px",
|
|
2177
|
+
borderBottom: "0",
|
|
2178
|
+
boxSizing: "border-box"
|
|
2179
|
+
}
|
|
2378
2180
|
}
|
|
2379
|
-
)
|
|
2380
|
-
|
|
2181
|
+
)
|
|
2182
|
+
}
|
|
2183
|
+
),
|
|
2184
|
+
index === 0 && /* @__PURE__ */ jsx(
|
|
2185
|
+
"div",
|
|
2186
|
+
{
|
|
2187
|
+
className: "navigation-underline navigation-underline--static",
|
|
2188
|
+
style: { transition: "all 0.2s ease-out" },
|
|
2189
|
+
children: /* @__PURE__ */ jsx(
|
|
2381
2190
|
"div",
|
|
2382
2191
|
{
|
|
2383
|
-
className: "
|
|
2384
|
-
style: {
|
|
2385
|
-
|
|
2386
|
-
"
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
borderTopLeftRadius: "100px",
|
|
2393
|
-
borderTopRightRadius: "100px",
|
|
2394
|
-
borderBottom: "0",
|
|
2395
|
-
boxSizing: "border-box"
|
|
2396
|
-
}
|
|
2397
|
-
}
|
|
2398
|
-
)
|
|
2192
|
+
className: "navigation-underline-circle navigation-underline-circle--white",
|
|
2193
|
+
style: {
|
|
2194
|
+
width: "10px",
|
|
2195
|
+
height: "5px",
|
|
2196
|
+
borderTopLeftRadius: "100px",
|
|
2197
|
+
borderTopRightRadius: "100px",
|
|
2198
|
+
borderBottom: "0",
|
|
2199
|
+
boxSizing: "border-box"
|
|
2200
|
+
}
|
|
2399
2201
|
}
|
|
2400
2202
|
)
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
) : null,
|
|
2407
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
2203
|
+
}
|
|
2204
|
+
)
|
|
2205
|
+
]
|
|
2206
|
+
},
|
|
2207
|
+
index + 1
|
|
2208
|
+
)) : null }) }) : null,
|
|
2209
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-actions", children: /* @__PURE__ */ jsx(
|
|
2408
2210
|
NavLink,
|
|
2409
2211
|
{
|
|
2410
2212
|
href: "/",
|
|
2411
2213
|
"aria-label": "Account link",
|
|
2412
|
-
className:
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
isStrategy ? "bg-white border border-gray-100" : ""
|
|
2416
|
-
),
|
|
2214
|
+
className: "navigation-account-link",
|
|
2215
|
+
"data-open": isOpen,
|
|
2216
|
+
"data-strategy": isStrategy,
|
|
2417
2217
|
children: /* @__PURE__ */ jsx(
|
|
2418
2218
|
NavAccount,
|
|
2419
2219
|
{
|
|
2420
|
-
className:
|
|
2220
|
+
className: cn(
|
|
2221
|
+
"navigation-account-icon",
|
|
2222
|
+
isStrategy ? "navigation-account-icon--strategy" : "navigation-account-icon--default"
|
|
2223
|
+
)
|
|
2421
2224
|
}
|
|
2422
2225
|
)
|
|
2423
2226
|
}
|
|
2424
2227
|
) })
|
|
2425
2228
|
] }),
|
|
2426
|
-
isOpen && /* @__PURE__ */ jsx("div", { className: "
|
|
2427
|
-
/* @__PURE__ */ jsx(
|
|
2428
|
-
|
|
2229
|
+
isOpen && /* @__PURE__ */ jsx("div", { className: "navigation-divider" }),
|
|
2230
|
+
/* @__PURE__ */ jsx("div", { ref: menuRef, className: "navigation-tray", "data-open": isOpen, children: /* @__PURE__ */ jsx("div", { className: "navigation-tray-content", children: /* @__PURE__ */ jsx("div", { ref: menuItemsRef, className: "navigation-tray-grid", children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: /* @__PURE__ */ jsxs(
|
|
2231
|
+
motion.div,
|
|
2429
2232
|
{
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
}
|
|
2456
|
-
),
|
|
2457
|
-
/* @__PURE__ */ jsxs("div", { className: "flex gap-x-20", children: [
|
|
2458
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2459
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Everything" }),
|
|
2460
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-5", children: [
|
|
2461
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2462
|
-
NavLink,
|
|
2463
|
-
{
|
|
2464
|
-
href: "/",
|
|
2465
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2466
|
-
children: "Explore WELL"
|
|
2467
|
-
}
|
|
2468
|
-
) }),
|
|
2469
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2470
|
-
NavLink,
|
|
2471
|
-
{
|
|
2472
|
-
href: "/",
|
|
2473
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2474
|
-
children: "Enroll in WELL"
|
|
2475
|
-
}
|
|
2476
|
-
) }),
|
|
2477
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2478
|
-
NavLink,
|
|
2479
|
-
{
|
|
2480
|
-
href: "/",
|
|
2481
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2482
|
-
children: "What's new"
|
|
2483
|
-
}
|
|
2484
|
-
) })
|
|
2485
|
-
] })
|
|
2486
|
-
] }),
|
|
2487
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2488
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "WHY WELL" }),
|
|
2489
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-5", children: [
|
|
2490
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2491
|
-
NavLink,
|
|
2492
|
-
{
|
|
2493
|
-
href: "/",
|
|
2494
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2495
|
-
children: "Performance"
|
|
2496
|
-
}
|
|
2497
|
-
) }),
|
|
2498
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2499
|
-
NavLink,
|
|
2500
|
-
{
|
|
2501
|
-
href: "/",
|
|
2502
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2503
|
-
children: "ROI"
|
|
2504
|
-
}
|
|
2505
|
-
) }),
|
|
2506
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2507
|
-
NavLink,
|
|
2508
|
-
{
|
|
2509
|
-
href: "/",
|
|
2510
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2511
|
-
children: "Impact"
|
|
2512
|
-
}
|
|
2513
|
-
) })
|
|
2514
|
-
] })
|
|
2515
|
-
] }),
|
|
2516
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2517
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Standard" }),
|
|
2518
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-5", children: [
|
|
2519
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2520
|
-
NavLink,
|
|
2521
|
-
{
|
|
2522
|
-
href: "/",
|
|
2523
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2524
|
-
children: "Strategies"
|
|
2525
|
-
}
|
|
2526
|
-
) }),
|
|
2527
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2528
|
-
NavLink,
|
|
2529
|
-
{
|
|
2530
|
-
href: "/",
|
|
2531
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2532
|
-
children: "Themes"
|
|
2533
|
-
}
|
|
2534
|
-
) }),
|
|
2535
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2536
|
-
NavLink,
|
|
2537
|
-
{
|
|
2538
|
-
href: "/",
|
|
2539
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2540
|
-
children: "Milestones"
|
|
2541
|
-
}
|
|
2542
|
-
) })
|
|
2543
|
-
] })
|
|
2544
|
-
] }),
|
|
2545
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2546
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Network" }),
|
|
2547
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-5", children: [
|
|
2548
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2549
|
-
NavLink,
|
|
2550
|
-
{
|
|
2551
|
-
href: "/",
|
|
2552
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2553
|
-
children: "Organizations"
|
|
2554
|
-
}
|
|
2555
|
-
) }),
|
|
2556
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2557
|
-
NavLink,
|
|
2558
|
-
{
|
|
2559
|
-
href: "/",
|
|
2560
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2561
|
-
children: "People"
|
|
2562
|
-
}
|
|
2563
|
-
) })
|
|
2564
|
-
] })
|
|
2565
|
-
] }),
|
|
2566
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2567
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Solutions" }),
|
|
2568
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-5", children: [
|
|
2569
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2570
|
-
NavLink,
|
|
2571
|
-
{
|
|
2572
|
-
href: "/",
|
|
2573
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2574
|
-
children: "Products"
|
|
2575
|
-
}
|
|
2576
|
-
) }),
|
|
2577
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2578
|
-
NavLink,
|
|
2579
|
-
{
|
|
2580
|
-
href: "/",
|
|
2581
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2582
|
-
children: "Services"
|
|
2583
|
-
}
|
|
2584
|
-
) })
|
|
2585
|
-
] })
|
|
2586
|
-
] }),
|
|
2587
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2588
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Places" }),
|
|
2589
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-5", children: [
|
|
2590
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2591
|
-
NavLink,
|
|
2592
|
-
{
|
|
2593
|
-
href: "/",
|
|
2594
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2595
|
-
children: "Locations"
|
|
2596
|
-
}
|
|
2597
|
-
) }),
|
|
2598
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2599
|
-
NavLink,
|
|
2600
|
-
{
|
|
2601
|
-
href: "/",
|
|
2602
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2603
|
-
children: "Portfolios"
|
|
2604
|
-
}
|
|
2605
|
-
) })
|
|
2606
|
-
] })
|
|
2607
|
-
] })
|
|
2233
|
+
initial: { y: 10, opacity: 0 },
|
|
2234
|
+
animate: { y: 0, opacity: 1 },
|
|
2235
|
+
exit: { y: -10, opacity: 0 },
|
|
2236
|
+
transition: { duration: 0.2 },
|
|
2237
|
+
children: [
|
|
2238
|
+
activeItem === 1 && /* @__PURE__ */ jsxs("div", { className: "navigation-tray-section", children: [
|
|
2239
|
+
/* @__PURE__ */ jsx(
|
|
2240
|
+
"h2",
|
|
2241
|
+
{
|
|
2242
|
+
className: "navigation-tray-heading",
|
|
2243
|
+
style: {
|
|
2244
|
+
background: "linear-gradient(90deg, #41D5F6 0%, #3EECD1 25%, #66FCD9 50%, #66FCD9 75%, #3EECD1 100%)",
|
|
2245
|
+
WebkitBackgroundClip: "text",
|
|
2246
|
+
WebkitTextFillColor: "transparent",
|
|
2247
|
+
backgroundClip: "text"
|
|
2248
|
+
},
|
|
2249
|
+
children: "WELL sets the standard for people-first places"
|
|
2250
|
+
}
|
|
2251
|
+
),
|
|
2252
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-columns", children: [
|
|
2253
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2254
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "Everything" }),
|
|
2255
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list navigation-tray-column-list--spacing-5", children: [
|
|
2256
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Explore WELL" }) }),
|
|
2257
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Enroll in WELL" }) }),
|
|
2258
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "What's new" }) })
|
|
2608
2259
|
] })
|
|
2609
2260
|
] }),
|
|
2610
|
-
|
|
2611
|
-
/* @__PURE__ */ jsx(
|
|
2612
|
-
|
|
2613
|
-
{
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
background: "linear-gradient(99deg, #41D5F6 3.39%, #3EECD1 57.86%, #66FCD9 112.32%)",
|
|
2617
|
-
backgroundClip: "text",
|
|
2618
|
-
WebkitBackgroundClip: "text",
|
|
2619
|
-
WebkitTextFillColor: "transparent"
|
|
2620
|
-
},
|
|
2621
|
-
children: "WELL works everywhere, at any scale"
|
|
2622
|
-
}
|
|
2623
|
-
),
|
|
2624
|
-
/* @__PURE__ */ jsxs("div", { className: "flex gap-x-20", children: [
|
|
2625
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2626
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "SUBSCRIBE" }),
|
|
2627
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2628
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2629
|
-
NavLink,
|
|
2630
|
-
{
|
|
2631
|
-
href: "/",
|
|
2632
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2633
|
-
children: "WELL at scale"
|
|
2634
|
-
}
|
|
2635
|
-
) }),
|
|
2636
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2637
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2638
|
-
/* @__PURE__ */ jsx(NavLink, { href: "/", children: /* @__PURE__ */ jsx("span", { className: "body-small font-medium text-gray-100", children: "Pricing" }) })
|
|
2639
|
-
] }) }),
|
|
2640
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2641
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2642
|
-
/* @__PURE__ */ jsx(NavLink, { href: "/", children: /* @__PURE__ */ jsx("span", { className: "body-small font-medium text-gray-100", children: "Leaderboard" }) })
|
|
2643
|
-
] }) })
|
|
2644
|
-
] })
|
|
2645
|
-
] }),
|
|
2646
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2647
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Certify" }),
|
|
2648
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2649
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2650
|
-
NavLink,
|
|
2651
|
-
{
|
|
2652
|
-
href: "/",
|
|
2653
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2654
|
-
children: "WELL Certification"
|
|
2655
|
-
}
|
|
2656
|
-
) }),
|
|
2657
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(
|
|
2658
|
-
NavLink,
|
|
2659
|
-
{
|
|
2660
|
-
href: "/",
|
|
2661
|
-
className: "text-gray-100 hover:text-white flex items-center justify-start body-base font-medium",
|
|
2662
|
-
children: [
|
|
2663
|
-
"WELL Residence",
|
|
2664
|
-
/* @__PURE__ */ jsx("span", { className: "overline-small text-[#F0AA99] ml-1", children: "PILOT" })
|
|
2665
|
-
]
|
|
2666
|
-
}
|
|
2667
|
-
) })
|
|
2668
|
-
] })
|
|
2669
|
-
] }),
|
|
2670
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2671
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Get rated" }),
|
|
2672
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2673
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2674
|
-
NavLink,
|
|
2675
|
-
{
|
|
2676
|
-
href: "/",
|
|
2677
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2678
|
-
children: "WELL Ratings"
|
|
2679
|
-
}
|
|
2680
|
-
) }),
|
|
2681
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2682
|
-
/* @__PURE__ */ jsx(NavBullet, { color: "#F3E7D8" }),
|
|
2683
|
-
/* @__PURE__ */ jsx(
|
|
2684
|
-
NavLink,
|
|
2685
|
-
{
|
|
2686
|
-
href: "/",
|
|
2687
|
-
className: "body-small font-medium text-gray-100",
|
|
2688
|
-
children: "Health-Safety Rating"
|
|
2689
|
-
}
|
|
2690
|
-
)
|
|
2691
|
-
] }) }),
|
|
2692
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2693
|
-
/* @__PURE__ */ jsx(NavBullet, { color: "#0F748A" }),
|
|
2694
|
-
/* @__PURE__ */ jsx(
|
|
2695
|
-
NavLink,
|
|
2696
|
-
{
|
|
2697
|
-
href: "/",
|
|
2698
|
-
className: "body-small font-medium text-gray-100",
|
|
2699
|
-
children: "Performance Rating"
|
|
2700
|
-
}
|
|
2701
|
-
)
|
|
2702
|
-
] }) }),
|
|
2703
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2704
|
-
/* @__PURE__ */ jsx(NavBullet, { color: "#17AA8D" }),
|
|
2705
|
-
/* @__PURE__ */ jsx(
|
|
2706
|
-
NavLink,
|
|
2707
|
-
{
|
|
2708
|
-
href: "/",
|
|
2709
|
-
className: "body-small font-medium text-gray-100",
|
|
2710
|
-
children: "Equity Rating"
|
|
2711
|
-
}
|
|
2712
|
-
)
|
|
2713
|
-
] }) })
|
|
2714
|
-
] })
|
|
2715
|
-
] })
|
|
2261
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2262
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "WHY WELL" }),
|
|
2263
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list navigation-tray-column-list--spacing-5", children: [
|
|
2264
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Performance" }) }),
|
|
2265
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "ROI" }) }),
|
|
2266
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Impact" }) })
|
|
2716
2267
|
] })
|
|
2717
2268
|
] }),
|
|
2718
|
-
|
|
2719
|
-
/* @__PURE__ */ jsx(
|
|
2720
|
-
|
|
2721
|
-
{
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
background: "linear-gradient(90deg, #41D5F6 0%, #3EECD1 25%, #66FCD9 50%, #66FCD9 75%, #3EECD1 100%)",
|
|
2725
|
-
WebkitBackgroundClip: "text",
|
|
2726
|
-
WebkitTextFillColor: "transparent"
|
|
2727
|
-
},
|
|
2728
|
-
children: "Our network drives our movement"
|
|
2729
|
-
}
|
|
2730
|
-
),
|
|
2731
|
-
/* @__PURE__ */ jsxs("div", { className: "flex gap-x-20", children: [
|
|
2732
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2733
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "JOIN" }),
|
|
2734
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2735
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2736
|
-
NavLink,
|
|
2737
|
-
{
|
|
2738
|
-
href: "/",
|
|
2739
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2740
|
-
children: "Membership"
|
|
2741
|
-
}
|
|
2742
|
-
) }),
|
|
2743
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2744
|
-
NavLink,
|
|
2745
|
-
{
|
|
2746
|
-
href: "/",
|
|
2747
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2748
|
-
children: "Works with WELL"
|
|
2749
|
-
}
|
|
2750
|
-
) }),
|
|
2751
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2752
|
-
/* @__PURE__ */ jsx(NavBullet, { color: "#2E74AD" }),
|
|
2753
|
-
/* @__PURE__ */ jsx(
|
|
2754
|
-
NavLink,
|
|
2755
|
-
{
|
|
2756
|
-
href: "/",
|
|
2757
|
-
className: "body-small font-medium text-gray-100",
|
|
2758
|
-
children: "Enterprise Provider"
|
|
2759
|
-
}
|
|
2760
|
-
)
|
|
2761
|
-
] }) }),
|
|
2762
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2763
|
-
/* @__PURE__ */ jsx(NavBullet, { color: "#149EBD" }),
|
|
2764
|
-
/* @__PURE__ */ jsx(
|
|
2765
|
-
NavLink,
|
|
2766
|
-
{
|
|
2767
|
-
href: "/",
|
|
2768
|
-
className: "body-small font-medium text-gray-100",
|
|
2769
|
-
children: "Product Provider"
|
|
2770
|
-
}
|
|
2771
|
-
)
|
|
2772
|
-
] }) }),
|
|
2773
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2774
|
-
/* @__PURE__ */ jsx(NavBullet, { color: "#ED896F" }),
|
|
2775
|
-
/* @__PURE__ */ jsx(
|
|
2776
|
-
NavLink,
|
|
2777
|
-
{
|
|
2778
|
-
href: "/",
|
|
2779
|
-
className: "body-small font-medium text-gray-100",
|
|
2780
|
-
children: "Performance Testing Provider"
|
|
2781
|
-
}
|
|
2782
|
-
)
|
|
2783
|
-
] }) })
|
|
2784
|
-
] })
|
|
2785
|
-
] }),
|
|
2786
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2787
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "EARN" }),
|
|
2788
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2789
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2790
|
-
NavLink,
|
|
2791
|
-
{
|
|
2792
|
-
href: "/",
|
|
2793
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2794
|
-
children: "WELL AP"
|
|
2795
|
-
}
|
|
2796
|
-
) }),
|
|
2797
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2798
|
-
NavLink,
|
|
2799
|
-
{
|
|
2800
|
-
href: "/",
|
|
2801
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2802
|
-
children: "WELL Faculty"
|
|
2803
|
-
}
|
|
2804
|
-
) })
|
|
2805
|
-
] })
|
|
2806
|
-
] })
|
|
2269
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2270
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "Standard" }),
|
|
2271
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list navigation-tray-column-list--spacing-5", children: [
|
|
2272
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Strategies" }) }),
|
|
2273
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Themes" }) }),
|
|
2274
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Milestones" }) })
|
|
2807
2275
|
] })
|
|
2808
2276
|
] }),
|
|
2809
|
-
|
|
2810
|
-
/* @__PURE__ */ jsx(
|
|
2811
|
-
|
|
2812
|
-
{
|
|
2813
|
-
|
|
2814
|
-
style: {
|
|
2815
|
-
background: "linear-gradient(90deg, #41D5F6 0%, #3EECD1 25%, #66FCD9 50%, #66FCD9 75%, #3EECD1 100%)",
|
|
2816
|
-
WebkitBackgroundClip: "text",
|
|
2817
|
-
WebkitTextFillColor: "transparent"
|
|
2818
|
-
},
|
|
2819
|
-
children: "Learn from the experts on health"
|
|
2820
|
-
}
|
|
2821
|
-
),
|
|
2822
|
-
/* @__PURE__ */ jsxs("div", { className: "flex gap-x-20", children: [
|
|
2823
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2824
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "LEARN" }),
|
|
2825
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2826
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2827
|
-
NavLink,
|
|
2828
|
-
{
|
|
2829
|
-
href: "/",
|
|
2830
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2831
|
-
children: "WELL Forum"
|
|
2832
|
-
}
|
|
2833
|
-
) }),
|
|
2834
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2835
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2836
|
-
/* @__PURE__ */ jsx(
|
|
2837
|
-
NavLink,
|
|
2838
|
-
{
|
|
2839
|
-
href: "/",
|
|
2840
|
-
className: "body-small font-medium text-gray-100",
|
|
2841
|
-
children: "Threads"
|
|
2842
|
-
}
|
|
2843
|
-
)
|
|
2844
|
-
] }) }),
|
|
2845
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2846
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2847
|
-
/* @__PURE__ */ jsx(
|
|
2848
|
-
NavLink,
|
|
2849
|
-
{
|
|
2850
|
-
href: "/",
|
|
2851
|
-
className: "body-small font-medium text-gray-100",
|
|
2852
|
-
children: "Webcasts"
|
|
2853
|
-
}
|
|
2854
|
-
)
|
|
2855
|
-
] }) }),
|
|
2856
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2857
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2858
|
-
/* @__PURE__ */ jsx(
|
|
2859
|
-
NavLink,
|
|
2860
|
-
{
|
|
2861
|
-
href: "/",
|
|
2862
|
-
className: "body-small font-medium text-gray-100",
|
|
2863
|
-
children: "Trainings"
|
|
2864
|
-
}
|
|
2865
|
-
)
|
|
2866
|
-
] }) })
|
|
2867
|
-
] })
|
|
2868
|
-
] }),
|
|
2869
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2870
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "ATTEND" }),
|
|
2871
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2872
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2873
|
-
NavLink,
|
|
2874
|
-
{
|
|
2875
|
-
href: "/",
|
|
2876
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2877
|
-
children: "WELL 2025"
|
|
2878
|
-
}
|
|
2879
|
-
) }),
|
|
2880
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2881
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2882
|
-
/* @__PURE__ */ jsx(
|
|
2883
|
-
NavLink,
|
|
2884
|
-
{
|
|
2885
|
-
href: "/",
|
|
2886
|
-
className: "body-small font-medium text-gray-100",
|
|
2887
|
-
children: "Flagship events"
|
|
2888
|
-
}
|
|
2889
|
-
)
|
|
2890
|
-
] }) }),
|
|
2891
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2892
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2893
|
-
/* @__PURE__ */ jsx(
|
|
2894
|
-
NavLink,
|
|
2895
|
-
{
|
|
2896
|
-
href: "/",
|
|
2897
|
-
className: "body-small font-medium text-gray-100",
|
|
2898
|
-
children: "Thematic summits"
|
|
2899
|
-
}
|
|
2900
|
-
)
|
|
2901
|
-
] }) }),
|
|
2902
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2903
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2904
|
-
/* @__PURE__ */ jsx(
|
|
2905
|
-
NavLink,
|
|
2906
|
-
{
|
|
2907
|
-
href: "/",
|
|
2908
|
-
className: "body-small font-medium text-gray-100",
|
|
2909
|
-
children: "Regional summits"
|
|
2910
|
-
}
|
|
2911
|
-
)
|
|
2912
|
-
] }) })
|
|
2913
|
-
] })
|
|
2914
|
-
] }),
|
|
2915
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2916
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "GUIDANCE" }),
|
|
2917
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2918
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2919
|
-
NavLink,
|
|
2920
|
-
{
|
|
2921
|
-
href: "/",
|
|
2922
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2923
|
-
children: "Knowledge base"
|
|
2924
|
-
}
|
|
2925
|
-
) }),
|
|
2926
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2927
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2928
|
-
/* @__PURE__ */ jsx(
|
|
2929
|
-
NavLink,
|
|
2930
|
-
{
|
|
2931
|
-
href: "/",
|
|
2932
|
-
className: "body-small font-medium text-gray-100",
|
|
2933
|
-
children: "Tutorials"
|
|
2934
|
-
}
|
|
2935
|
-
)
|
|
2936
|
-
] }) }),
|
|
2937
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2938
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2939
|
-
/* @__PURE__ */ jsx(
|
|
2940
|
-
NavLink,
|
|
2941
|
-
{
|
|
2942
|
-
href: "/",
|
|
2943
|
-
className: "body-small font-medium text-gray-100",
|
|
2944
|
-
children: "Guides"
|
|
2945
|
-
}
|
|
2946
|
-
)
|
|
2947
|
-
] }) }),
|
|
2948
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2949
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2950
|
-
/* @__PURE__ */ jsx(
|
|
2951
|
-
NavLink,
|
|
2952
|
-
{
|
|
2953
|
-
href: "/",
|
|
2954
|
-
className: "body-small font-medium text-gray-100",
|
|
2955
|
-
children: "FAQs"
|
|
2956
|
-
}
|
|
2957
|
-
)
|
|
2958
|
-
] }) })
|
|
2959
|
-
] })
|
|
2960
|
-
] }),
|
|
2961
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
2962
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Resources" }),
|
|
2963
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2964
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2965
|
-
NavLink,
|
|
2966
|
-
{
|
|
2967
|
-
href: "/",
|
|
2968
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2969
|
-
children: "Resource library"
|
|
2970
|
-
}
|
|
2971
|
-
) }),
|
|
2972
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2973
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2974
|
-
/* @__PURE__ */ jsx(
|
|
2975
|
-
NavLink,
|
|
2976
|
-
{
|
|
2977
|
-
href: "/",
|
|
2978
|
-
className: "body-small font-medium text-gray-100",
|
|
2979
|
-
children: "Technical tools"
|
|
2980
|
-
}
|
|
2981
|
-
)
|
|
2982
|
-
] }) }),
|
|
2983
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2984
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2985
|
-
/* @__PURE__ */ jsx(
|
|
2986
|
-
NavLink,
|
|
2987
|
-
{
|
|
2988
|
-
href: "/",
|
|
2989
|
-
className: "body-small font-medium text-gray-100",
|
|
2990
|
-
children: "Sales tools"
|
|
2991
|
-
}
|
|
2992
|
-
)
|
|
2993
|
-
] }) }),
|
|
2994
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2995
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2996
|
-
/* @__PURE__ */ jsx(
|
|
2997
|
-
NavLink,
|
|
2998
|
-
{
|
|
2999
|
-
href: "/",
|
|
3000
|
-
className: "body-small font-medium text-gray-100",
|
|
3001
|
-
children: "Media"
|
|
3002
|
-
}
|
|
3003
|
-
)
|
|
3004
|
-
] }) })
|
|
3005
|
-
] })
|
|
3006
|
-
] })
|
|
2277
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2278
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "Network" }),
|
|
2279
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list navigation-tray-column-list--spacing-5", children: [
|
|
2280
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Organizations" }) }),
|
|
2281
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "People" }) })
|
|
3007
2282
|
] })
|
|
3008
2283
|
] }),
|
|
3009
|
-
|
|
3010
|
-
/* @__PURE__ */ jsx(
|
|
3011
|
-
|
|
3012
|
-
{
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
}
|
|
3021
|
-
),
|
|
3022
|
-
/* @__PURE__ */ jsxs("div", { className: "flex gap-x-20", children: [
|
|
3023
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
3024
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "About" }),
|
|
3025
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
3026
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
3027
|
-
NavLink,
|
|
3028
|
-
{
|
|
3029
|
-
href: "/",
|
|
3030
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
3031
|
-
children: "IWBI"
|
|
3032
|
-
}
|
|
3033
|
-
) }),
|
|
3034
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
3035
|
-
NavLink,
|
|
3036
|
-
{
|
|
3037
|
-
href: "/",
|
|
3038
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
3039
|
-
children: "Research"
|
|
3040
|
-
}
|
|
3041
|
-
) }),
|
|
3042
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
3043
|
-
NavLink,
|
|
3044
|
-
{
|
|
3045
|
-
href: "/",
|
|
3046
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
3047
|
-
children: "Advocacy"
|
|
3048
|
-
}
|
|
3049
|
-
) })
|
|
3050
|
-
] })
|
|
3051
|
-
] }),
|
|
3052
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
3053
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Meet" }),
|
|
3054
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
3055
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
3056
|
-
NavLink,
|
|
3057
|
-
{
|
|
3058
|
-
href: "/",
|
|
3059
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
3060
|
-
children: "Team"
|
|
3061
|
-
}
|
|
3062
|
-
) }),
|
|
3063
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
3064
|
-
NavLink,
|
|
3065
|
-
{
|
|
3066
|
-
href: "/",
|
|
3067
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
3068
|
-
children: "Advisories"
|
|
3069
|
-
}
|
|
3070
|
-
) }),
|
|
3071
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
3072
|
-
NavLink,
|
|
3073
|
-
{
|
|
3074
|
-
href: "/",
|
|
3075
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
3076
|
-
children: "Governance Council"
|
|
3077
|
-
}
|
|
3078
|
-
) })
|
|
3079
|
-
] })
|
|
3080
|
-
] }),
|
|
3081
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
3082
|
-
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Explore" }),
|
|
3083
|
-
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
3084
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
3085
|
-
NavLink,
|
|
3086
|
-
{
|
|
3087
|
-
href: "/",
|
|
3088
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
3089
|
-
children: "Newsroom"
|
|
3090
|
-
}
|
|
3091
|
-
) }),
|
|
3092
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
3093
|
-
NavLink,
|
|
3094
|
-
{
|
|
3095
|
-
href: "/",
|
|
3096
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
3097
|
-
children: "Jobs"
|
|
3098
|
-
}
|
|
3099
|
-
) }),
|
|
3100
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
3101
|
-
NavLink,
|
|
3102
|
-
{
|
|
3103
|
-
href: "/",
|
|
3104
|
-
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
3105
|
-
children: "Blog"
|
|
3106
|
-
}
|
|
3107
|
-
) })
|
|
3108
|
-
] })
|
|
3109
|
-
] })
|
|
2284
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2285
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "Solutions" }),
|
|
2286
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list navigation-tray-column-list--spacing-5", children: [
|
|
2287
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Products" }) }),
|
|
2288
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Services" }) })
|
|
2289
|
+
] })
|
|
2290
|
+
] }),
|
|
2291
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2292
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "Places" }),
|
|
2293
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list navigation-tray-column-list--spacing-5", children: [
|
|
2294
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Locations" }) }),
|
|
2295
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Portfolios" }) })
|
|
3110
2296
|
] })
|
|
3111
2297
|
] })
|
|
3112
|
-
]
|
|
3113
|
-
},
|
|
3114
|
-
activeItem
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
}
|
|
3125
|
-
|
|
3126
|
-
}
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
})
|
|
3135
|
-
|
|
3136
|
-
}
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
})
|
|
3140
|
-
|
|
3141
|
-
}
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
}
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
})
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
2298
|
+
] })
|
|
2299
|
+
] }),
|
|
2300
|
+
activeItem === 2 && /* @__PURE__ */ jsxs("div", { className: "navigation-tray-section", children: [
|
|
2301
|
+
/* @__PURE__ */ jsx(
|
|
2302
|
+
"h2",
|
|
2303
|
+
{
|
|
2304
|
+
className: "navigation-tray-heading",
|
|
2305
|
+
style: {
|
|
2306
|
+
background: "linear-gradient(99deg, #41D5F6 3.39%, #3EECD1 57.86%, #66FCD9 112.32%)",
|
|
2307
|
+
backgroundClip: "text",
|
|
2308
|
+
WebkitBackgroundClip: "text",
|
|
2309
|
+
WebkitTextFillColor: "transparent"
|
|
2310
|
+
},
|
|
2311
|
+
children: "WELL works everywhere, at any scale"
|
|
2312
|
+
}
|
|
2313
|
+
),
|
|
2314
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-columns", children: [
|
|
2315
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2316
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "SUBSCRIBE" }),
|
|
2317
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list", children: [
|
|
2318
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "WELL at scale" }) }),
|
|
2319
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2320
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2321
|
+
/* @__PURE__ */ jsx(NavLink, { href: "/", children: /* @__PURE__ */ jsx("span", { className: "navigation-tray-link-small", children: "Pricing" }) })
|
|
2322
|
+
] }) }),
|
|
2323
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2324
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2325
|
+
/* @__PURE__ */ jsx(NavLink, { href: "/", children: /* @__PURE__ */ jsx("span", { className: "navigation-tray-link-small", children: "Leaderboard" }) })
|
|
2326
|
+
] }) })
|
|
2327
|
+
] })
|
|
2328
|
+
] }),
|
|
2329
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2330
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "Certify" }),
|
|
2331
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list", children: [
|
|
2332
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "WELL Certification" }) }),
|
|
2333
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(
|
|
2334
|
+
NavLink,
|
|
2335
|
+
{
|
|
2336
|
+
href: "/",
|
|
2337
|
+
className: "navigation-tray-link navigation-tray-link--with-badge",
|
|
2338
|
+
children: [
|
|
2339
|
+
"WELL Residence",
|
|
2340
|
+
/* @__PURE__ */ jsx("span", { className: "navigation-tray-badge", children: "PILOT" })
|
|
2341
|
+
]
|
|
2342
|
+
}
|
|
2343
|
+
) })
|
|
2344
|
+
] })
|
|
2345
|
+
] }),
|
|
2346
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2347
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "Get rated" }),
|
|
2348
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list", children: [
|
|
2349
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "WELL Ratings" }) }),
|
|
2350
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2351
|
+
/* @__PURE__ */ jsx(NavBullet, { color: "#F3E7D8" }),
|
|
2352
|
+
/* @__PURE__ */ jsx(
|
|
2353
|
+
NavLink,
|
|
2354
|
+
{
|
|
2355
|
+
href: "/",
|
|
2356
|
+
className: "navigation-tray-link-small",
|
|
2357
|
+
children: "Health-Safety Rating"
|
|
2358
|
+
}
|
|
2359
|
+
)
|
|
2360
|
+
] }) }),
|
|
2361
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2362
|
+
/* @__PURE__ */ jsx(NavBullet, { color: "#0F748A" }),
|
|
2363
|
+
/* @__PURE__ */ jsx(
|
|
2364
|
+
NavLink,
|
|
2365
|
+
{
|
|
2366
|
+
href: "/",
|
|
2367
|
+
className: "navigation-tray-link-small",
|
|
2368
|
+
children: "Performance Rating"
|
|
2369
|
+
}
|
|
2370
|
+
)
|
|
2371
|
+
] }) }),
|
|
2372
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2373
|
+
/* @__PURE__ */ jsx(NavBullet, { color: "#17AA8D" }),
|
|
2374
|
+
/* @__PURE__ */ jsx(
|
|
2375
|
+
NavLink,
|
|
2376
|
+
{
|
|
2377
|
+
href: "/",
|
|
2378
|
+
className: "navigation-tray-link-small",
|
|
2379
|
+
children: "Equity Rating"
|
|
2380
|
+
}
|
|
2381
|
+
)
|
|
2382
|
+
] }) })
|
|
2383
|
+
] })
|
|
2384
|
+
] })
|
|
2385
|
+
] })
|
|
2386
|
+
] }),
|
|
2387
|
+
activeItem === 3 && /* @__PURE__ */ jsxs("div", { className: "navigation-tray-section", children: [
|
|
2388
|
+
/* @__PURE__ */ jsx(
|
|
2389
|
+
"h2",
|
|
2390
|
+
{
|
|
2391
|
+
className: "navigation-tray-heading",
|
|
2392
|
+
style: {
|
|
2393
|
+
background: "linear-gradient(90deg, #41D5F6 0%, #3EECD1 25%, #66FCD9 50%, #66FCD9 75%, #3EECD1 100%)",
|
|
2394
|
+
WebkitBackgroundClip: "text",
|
|
2395
|
+
WebkitTextFillColor: "transparent"
|
|
2396
|
+
},
|
|
2397
|
+
children: "Our network drives our movement"
|
|
2398
|
+
}
|
|
2399
|
+
),
|
|
2400
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-columns", children: [
|
|
2401
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2402
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "JOIN" }),
|
|
2403
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list", children: [
|
|
2404
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Membership" }) }),
|
|
2405
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Works with WELL" }) }),
|
|
2406
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2407
|
+
/* @__PURE__ */ jsx(NavBullet, { color: "#2E74AD" }),
|
|
2408
|
+
/* @__PURE__ */ jsx(
|
|
2409
|
+
NavLink,
|
|
2410
|
+
{
|
|
2411
|
+
href: "/",
|
|
2412
|
+
className: "navigation-tray-link-small",
|
|
2413
|
+
children: "Enterprise Provider"
|
|
2414
|
+
}
|
|
2415
|
+
)
|
|
2416
|
+
] }) }),
|
|
2417
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2418
|
+
/* @__PURE__ */ jsx(NavBullet, { color: "#149EBD" }),
|
|
2419
|
+
/* @__PURE__ */ jsx(
|
|
2420
|
+
NavLink,
|
|
2421
|
+
{
|
|
2422
|
+
href: "/",
|
|
2423
|
+
className: "navigation-tray-link-small",
|
|
2424
|
+
children: "Product Provider"
|
|
2425
|
+
}
|
|
2426
|
+
)
|
|
2427
|
+
] }) }),
|
|
2428
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2429
|
+
/* @__PURE__ */ jsx(NavBullet, { color: "#ED896F" }),
|
|
2430
|
+
/* @__PURE__ */ jsx(
|
|
2431
|
+
NavLink,
|
|
2432
|
+
{
|
|
2433
|
+
href: "/",
|
|
2434
|
+
className: "navigation-tray-link-small",
|
|
2435
|
+
children: "Performance Testing Provider"
|
|
2436
|
+
}
|
|
2437
|
+
)
|
|
2438
|
+
] }) })
|
|
2439
|
+
] })
|
|
2440
|
+
] }),
|
|
2441
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2442
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "EARN" }),
|
|
2443
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list", children: [
|
|
2444
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "WELL AP" }) }),
|
|
2445
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "WELL Faculty" }) })
|
|
2446
|
+
] })
|
|
2447
|
+
] })
|
|
2448
|
+
] })
|
|
2449
|
+
] }),
|
|
2450
|
+
activeItem === 4 && /* @__PURE__ */ jsxs("div", { className: "navigation-tray-section", children: [
|
|
2451
|
+
/* @__PURE__ */ jsx(
|
|
2452
|
+
"h2",
|
|
2453
|
+
{
|
|
2454
|
+
className: "navigation-tray-heading",
|
|
2455
|
+
style: {
|
|
2456
|
+
background: "linear-gradient(90deg, #41D5F6 0%, #3EECD1 25%, #66FCD9 50%, #66FCD9 75%, #3EECD1 100%)",
|
|
2457
|
+
WebkitBackgroundClip: "text",
|
|
2458
|
+
WebkitTextFillColor: "transparent"
|
|
2459
|
+
},
|
|
2460
|
+
children: "Learn from the experts on health"
|
|
2461
|
+
}
|
|
2462
|
+
),
|
|
2463
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-columns", children: [
|
|
2464
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2465
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "LEARN" }),
|
|
2466
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list", children: [
|
|
2467
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "WELL Forum" }) }),
|
|
2468
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2469
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2470
|
+
/* @__PURE__ */ jsx(
|
|
2471
|
+
NavLink,
|
|
2472
|
+
{
|
|
2473
|
+
href: "/",
|
|
2474
|
+
className: "navigation-tray-link-small",
|
|
2475
|
+
children: "Threads"
|
|
2476
|
+
}
|
|
2477
|
+
)
|
|
2478
|
+
] }) }),
|
|
2479
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2480
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2481
|
+
/* @__PURE__ */ jsx(
|
|
2482
|
+
NavLink,
|
|
2483
|
+
{
|
|
2484
|
+
href: "/",
|
|
2485
|
+
className: "navigation-tray-link-small",
|
|
2486
|
+
children: "Webcasts"
|
|
2487
|
+
}
|
|
2488
|
+
)
|
|
2489
|
+
] }) }),
|
|
2490
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2491
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2492
|
+
/* @__PURE__ */ jsx(
|
|
2493
|
+
NavLink,
|
|
2494
|
+
{
|
|
2495
|
+
href: "/",
|
|
2496
|
+
className: "navigation-tray-link-small",
|
|
2497
|
+
children: "Trainings"
|
|
2498
|
+
}
|
|
2499
|
+
)
|
|
2500
|
+
] }) })
|
|
2501
|
+
] })
|
|
2502
|
+
] }),
|
|
2503
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2504
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "ATTEND" }),
|
|
2505
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list", children: [
|
|
2506
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "WELL 2025" }) }),
|
|
2507
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2508
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2509
|
+
/* @__PURE__ */ jsx(
|
|
2510
|
+
NavLink,
|
|
2511
|
+
{
|
|
2512
|
+
href: "/",
|
|
2513
|
+
className: "navigation-tray-link-small",
|
|
2514
|
+
children: "Flagship events"
|
|
2515
|
+
}
|
|
2516
|
+
)
|
|
2517
|
+
] }) }),
|
|
2518
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2519
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2520
|
+
/* @__PURE__ */ jsx(
|
|
2521
|
+
NavLink,
|
|
2522
|
+
{
|
|
2523
|
+
href: "/",
|
|
2524
|
+
className: "navigation-tray-link-small",
|
|
2525
|
+
children: "Thematic summits"
|
|
2526
|
+
}
|
|
2527
|
+
)
|
|
2528
|
+
] }) }),
|
|
2529
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2530
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2531
|
+
/* @__PURE__ */ jsx(
|
|
2532
|
+
NavLink,
|
|
2533
|
+
{
|
|
2534
|
+
href: "/",
|
|
2535
|
+
className: "navigation-tray-link-small",
|
|
2536
|
+
children: "Regional summits"
|
|
2537
|
+
}
|
|
2538
|
+
)
|
|
2539
|
+
] }) })
|
|
2540
|
+
] })
|
|
2541
|
+
] }),
|
|
2542
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2543
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "GUIDANCE" }),
|
|
2544
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list", children: [
|
|
2545
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Knowledge base" }) }),
|
|
2546
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2547
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2548
|
+
/* @__PURE__ */ jsx(
|
|
2549
|
+
NavLink,
|
|
2550
|
+
{
|
|
2551
|
+
href: "/",
|
|
2552
|
+
className: "navigation-tray-link-small",
|
|
2553
|
+
children: "Tutorials"
|
|
2554
|
+
}
|
|
2555
|
+
)
|
|
2556
|
+
] }) }),
|
|
2557
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2558
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2559
|
+
/* @__PURE__ */ jsx(
|
|
2560
|
+
NavLink,
|
|
2561
|
+
{
|
|
2562
|
+
href: "/",
|
|
2563
|
+
className: "navigation-tray-link-small",
|
|
2564
|
+
children: "Guides"
|
|
2565
|
+
}
|
|
2566
|
+
)
|
|
2567
|
+
] }) }),
|
|
2568
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2569
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2570
|
+
/* @__PURE__ */ jsx(
|
|
2571
|
+
NavLink,
|
|
2572
|
+
{
|
|
2573
|
+
href: "/",
|
|
2574
|
+
className: "navigation-tray-link-small",
|
|
2575
|
+
children: "FAQs"
|
|
2576
|
+
}
|
|
2577
|
+
)
|
|
2578
|
+
] }) })
|
|
2579
|
+
] })
|
|
2580
|
+
] }),
|
|
2581
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2582
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "Resources" }),
|
|
2583
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list", children: [
|
|
2584
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Resource library" }) }),
|
|
2585
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2586
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2587
|
+
/* @__PURE__ */ jsx(
|
|
2588
|
+
NavLink,
|
|
2589
|
+
{
|
|
2590
|
+
href: "/",
|
|
2591
|
+
className: "navigation-tray-link-small",
|
|
2592
|
+
children: "Technical tools"
|
|
2593
|
+
}
|
|
2594
|
+
)
|
|
2595
|
+
] }) }),
|
|
2596
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2597
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2598
|
+
/* @__PURE__ */ jsx(
|
|
2599
|
+
NavLink,
|
|
2600
|
+
{
|
|
2601
|
+
href: "/",
|
|
2602
|
+
className: "navigation-tray-link-small",
|
|
2603
|
+
children: "Sales tools"
|
|
2604
|
+
}
|
|
2605
|
+
)
|
|
2606
|
+
] }) }),
|
|
2607
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "navigation-tray-bullet-item", children: [
|
|
2608
|
+
/* @__PURE__ */ jsx("div", { className: "navigation-tray-bullet" }),
|
|
2609
|
+
/* @__PURE__ */ jsx(
|
|
2610
|
+
NavLink,
|
|
2611
|
+
{
|
|
2612
|
+
href: "/",
|
|
2613
|
+
className: "navigation-tray-link-small",
|
|
2614
|
+
children: "Media"
|
|
2615
|
+
}
|
|
2616
|
+
)
|
|
2617
|
+
] }) })
|
|
2618
|
+
] })
|
|
2619
|
+
] })
|
|
2620
|
+
] })
|
|
2621
|
+
] }),
|
|
2622
|
+
activeItem === 5 && /* @__PURE__ */ jsxs("div", { className: "navigation-tray-section", children: [
|
|
2623
|
+
/* @__PURE__ */ jsx(
|
|
2624
|
+
"h2",
|
|
2625
|
+
{
|
|
2626
|
+
className: "navigation-tray-heading",
|
|
2627
|
+
style: {
|
|
2628
|
+
background: "linear-gradient(90deg, #41D5F6 0%, #3EECD1 25%, #66FCD9 50%, #66FCD9 75%, #3EECD1 100%)",
|
|
2629
|
+
WebkitBackgroundClip: "text",
|
|
2630
|
+
WebkitTextFillColor: "transparent"
|
|
2631
|
+
},
|
|
2632
|
+
children: "The International WELL Building Institute (IWBI)"
|
|
2633
|
+
}
|
|
2634
|
+
),
|
|
2635
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-columns", children: [
|
|
2636
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2637
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "About" }),
|
|
2638
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list", children: [
|
|
2639
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "IWBI" }) }),
|
|
2640
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Research" }) }),
|
|
2641
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Advocacy" }) })
|
|
2642
|
+
] })
|
|
2643
|
+
] }),
|
|
2644
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2645
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "Meet" }),
|
|
2646
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list", children: [
|
|
2647
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Team" }) }),
|
|
2648
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Advisories" }) }),
|
|
2649
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Governance Council" }) })
|
|
2650
|
+
] })
|
|
2651
|
+
] }),
|
|
2652
|
+
/* @__PURE__ */ jsxs("div", { className: "navigation-tray-column", children: [
|
|
2653
|
+
/* @__PURE__ */ jsx("h3", { className: "navigation-tray-column-title", children: "Explore" }),
|
|
2654
|
+
/* @__PURE__ */ jsxs("ul", { className: "navigation-tray-column-list", children: [
|
|
2655
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Newsroom" }) }),
|
|
2656
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Jobs" }) }),
|
|
2657
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(NavLink, { href: "/", className: "navigation-tray-link", children: "Blog" }) })
|
|
2658
|
+
] })
|
|
2659
|
+
] })
|
|
2660
|
+
] })
|
|
2661
|
+
] })
|
|
2662
|
+
]
|
|
2663
|
+
},
|
|
2664
|
+
activeItem ? activeItem + 1 : "empty"
|
|
2665
|
+
) }) }) }) })
|
|
2666
|
+
]
|
|
2667
|
+
}
|
|
2668
|
+
);
|
|
2669
|
+
};
|
|
2670
|
+
function Dialog({
|
|
2671
|
+
...props
|
|
2672
|
+
}) {
|
|
2673
|
+
return /* @__PURE__ */ jsx(SheetPrimitive.Root, { "data-slot": "dialog", ...props });
|
|
2674
|
+
}
|
|
2675
|
+
function DialogTrigger({
|
|
2676
|
+
...props
|
|
2677
|
+
}) {
|
|
2678
|
+
return /* @__PURE__ */ jsx(SheetPrimitive.Trigger, { "data-slot": "dialog-trigger", ...props });
|
|
2679
|
+
}
|
|
2680
|
+
function DialogPortal({
|
|
2681
|
+
...props
|
|
2682
|
+
}) {
|
|
2683
|
+
return /* @__PURE__ */ jsx(SheetPrimitive.Portal, { "data-slot": "dialog-portal", ...props });
|
|
2684
|
+
}
|
|
2685
|
+
function DialogClose({
|
|
2686
|
+
...props
|
|
2687
|
+
}) {
|
|
2688
|
+
return /* @__PURE__ */ jsx(SheetPrimitive.Close, { "data-slot": "dialog-close", ...props });
|
|
2689
|
+
}
|
|
2690
|
+
function DialogOverlay({
|
|
2691
|
+
className,
|
|
2692
|
+
...props
|
|
2693
|
+
}) {
|
|
2694
|
+
return /* @__PURE__ */ jsx(
|
|
2695
|
+
SheetPrimitive.Overlay,
|
|
2696
|
+
{
|
|
2697
|
+
"data-slot": "dialog-overlay",
|
|
2698
|
+
className: cn("dialog-overlay", className),
|
|
2699
|
+
...props
|
|
2700
|
+
}
|
|
2701
|
+
);
|
|
2702
|
+
}
|
|
2703
|
+
function DialogContent({
|
|
2704
|
+
className,
|
|
2705
|
+
children,
|
|
2706
|
+
showCloseButton = true,
|
|
2707
|
+
...props
|
|
2708
|
+
}) {
|
|
2709
|
+
return /* @__PURE__ */ jsxs(DialogPortal, { "data-slot": "dialog-portal", children: [
|
|
2710
|
+
/* @__PURE__ */ jsx(DialogOverlay, {}),
|
|
2711
|
+
/* @__PURE__ */ jsxs(
|
|
2712
|
+
SheetPrimitive.Content,
|
|
2713
|
+
{
|
|
2714
|
+
"data-slot": "dialog-content",
|
|
2715
|
+
className: cn("dialog-content", className),
|
|
3174
2716
|
...props,
|
|
3175
2717
|
children: [
|
|
3176
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
2718
|
+
/* @__PURE__ */ jsx("div", { className: "dialog-content-inner", children }),
|
|
3177
2719
|
showCloseButton && /* @__PURE__ */ jsxs(
|
|
3178
2720
|
SheetPrimitive.Close,
|
|
3179
2721
|
{
|
|
3180
2722
|
"data-slot": "dialog-close",
|
|
3181
|
-
className: "
|
|
2723
|
+
className: "dialog-close",
|
|
3182
2724
|
children: [
|
|
3183
2725
|
/* @__PURE__ */ jsx(XIcon, {}),
|
|
3184
2726
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
@@ -3195,7 +2737,7 @@ function DialogHeader({ className, ...props }) {
|
|
|
3195
2737
|
"div",
|
|
3196
2738
|
{
|
|
3197
2739
|
"data-slot": "dialog-header",
|
|
3198
|
-
className: cn("
|
|
2740
|
+
className: cn("dialog-header", className),
|
|
3199
2741
|
...props
|
|
3200
2742
|
}
|
|
3201
2743
|
);
|
|
@@ -3205,10 +2747,7 @@ function DialogFooter({ className, ...props }) {
|
|
|
3205
2747
|
"div",
|
|
3206
2748
|
{
|
|
3207
2749
|
"data-slot": "dialog-footer",
|
|
3208
|
-
className: cn(
|
|
3209
|
-
"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
3210
|
-
className
|
|
3211
|
-
),
|
|
2750
|
+
className: cn("dialog-footer", className),
|
|
3212
2751
|
...props
|
|
3213
2752
|
}
|
|
3214
2753
|
);
|
|
@@ -3221,7 +2760,7 @@ function DialogTitle({
|
|
|
3221
2760
|
SheetPrimitive.Title,
|
|
3222
2761
|
{
|
|
3223
2762
|
"data-slot": "dialog-title",
|
|
3224
|
-
className: cn("heading-xxsmall
|
|
2763
|
+
className: cn("dialog-title heading-xxsmall", className),
|
|
3225
2764
|
...props
|
|
3226
2765
|
}
|
|
3227
2766
|
);
|
|
@@ -3234,77 +2773,44 @@ function DialogDescription({
|
|
|
3234
2773
|
SheetPrimitive.Description,
|
|
3235
2774
|
{
|
|
3236
2775
|
"data-slot": "dialog-description",
|
|
3237
|
-
className: cn("
|
|
2776
|
+
className: cn("dialog-description", className),
|
|
3238
2777
|
...props
|
|
3239
2778
|
}
|
|
3240
2779
|
);
|
|
3241
2780
|
}
|
|
3242
|
-
const Command = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
3243
|
-
Command$1,
|
|
3244
|
-
{
|
|
3245
|
-
ref,
|
|
3246
|
-
className: cn("flex h-full w-full flex-col overflow-hidden", className),
|
|
3247
|
-
...props
|
|
3248
|
-
}
|
|
3249
|
-
));
|
|
2781
|
+
const Command = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Command$1, { ref, className: cn("command", className), ...props }));
|
|
3250
2782
|
Command.displayName = Command$1.displayName;
|
|
3251
2783
|
const CommandDialog = ({ children, ...props }) => {
|
|
3252
|
-
return /* @__PURE__ */ jsx(Dialog, { ...props, children: /* @__PURE__ */ jsx(DialogContent, { className: "
|
|
2784
|
+
return /* @__PURE__ */ jsx(Dialog, { ...props, children: /* @__PURE__ */ jsx(DialogContent, { className: "command-dialog-content", children: /* @__PURE__ */ jsx(Command, { children }) }) });
|
|
3253
2785
|
};
|
|
3254
|
-
const CommandInput = React.forwardRef(({ className, icon: Icon = Search, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
3255
|
-
"
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
Command$1.Input,
|
|
3266
|
-
{
|
|
3267
|
-
ref,
|
|
3268
|
-
className: cn(
|
|
3269
|
-
"text-base w-full ring-0 outline-none group-focus-within:-translate-x-8 ease-in-out duration-200",
|
|
3270
|
-
className
|
|
3271
|
-
),
|
|
3272
|
-
...props
|
|
3273
|
-
}
|
|
3274
|
-
)
|
|
3275
|
-
]
|
|
3276
|
-
}
|
|
3277
|
-
));
|
|
2786
|
+
const CommandInput = React.forwardRef(({ className, icon: Icon = Search, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: cn("command-input-wrapper", className), "cmdk-input-wrapper": "", children: [
|
|
2787
|
+
/* @__PURE__ */ jsx(Icon, { className: "icon-4 icon-shrink-0" }),
|
|
2788
|
+
/* @__PURE__ */ jsx(
|
|
2789
|
+
Command$1.Input,
|
|
2790
|
+
{
|
|
2791
|
+
ref,
|
|
2792
|
+
className: cn("command-input", className),
|
|
2793
|
+
...props
|
|
2794
|
+
}
|
|
2795
|
+
)
|
|
2796
|
+
] }));
|
|
3278
2797
|
CommandInput.displayName = Command$1.Input.displayName;
|
|
3279
2798
|
const CommandList = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
3280
2799
|
Command$1.List,
|
|
3281
2800
|
{
|
|
3282
2801
|
ref,
|
|
3283
|
-
className: cn(
|
|
3284
|
-
"max-h-[300px] overflow-y-auto overflow-x-hidden bg-gray-700 rounded-b-lg",
|
|
3285
|
-
className
|
|
3286
|
-
),
|
|
2802
|
+
className: cn("command-list", className),
|
|
3287
2803
|
...props
|
|
3288
2804
|
}
|
|
3289
2805
|
));
|
|
3290
2806
|
CommandList.displayName = Command$1.List.displayName;
|
|
3291
|
-
const CommandEmpty = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(
|
|
3292
|
-
Command$1.Empty,
|
|
3293
|
-
{
|
|
3294
|
-
ref,
|
|
3295
|
-
className: "py-6 text-center text-sm",
|
|
3296
|
-
...props
|
|
3297
|
-
}
|
|
3298
|
-
));
|
|
2807
|
+
const CommandEmpty = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(Command$1.Empty, { ref, className: "command-empty", ...props }));
|
|
3299
2808
|
CommandEmpty.displayName = Command$1.Empty.displayName;
|
|
3300
2809
|
const CommandGroup = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
3301
2810
|
Command$1.Group,
|
|
3302
2811
|
{
|
|
3303
2812
|
ref,
|
|
3304
|
-
className: cn(
|
|
3305
|
-
"group overflow-hidden [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground ",
|
|
3306
|
-
className
|
|
3307
|
-
),
|
|
2813
|
+
className: cn("command-group", className),
|
|
3308
2814
|
...props
|
|
3309
2815
|
}
|
|
3310
2816
|
));
|
|
@@ -3313,7 +2819,7 @@ const CommandSeparator = React.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
3313
2819
|
Command$1.Separator,
|
|
3314
2820
|
{
|
|
3315
2821
|
ref,
|
|
3316
|
-
className: cn("-
|
|
2822
|
+
className: cn("command-separator", className),
|
|
3317
2823
|
...props
|
|
3318
2824
|
}
|
|
3319
2825
|
));
|
|
@@ -3322,10 +2828,7 @@ const CommandItem = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3322
2828
|
Command$1.Item,
|
|
3323
2829
|
{
|
|
3324
2830
|
ref,
|
|
3325
|
-
className: cn(
|
|
3326
|
-
"relative flex w-full items-center gap-2 cursor-default select-none p-4 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 bg-gray-700 hover:bg-[rgba(0,0,0,0.2)] text-gray-200",
|
|
3327
|
-
className
|
|
3328
|
-
),
|
|
2831
|
+
className: cn("command-item", className),
|
|
3329
2832
|
...props
|
|
3330
2833
|
}
|
|
3331
2834
|
));
|
|
@@ -3334,16 +2837,7 @@ const CommandShortcut = ({
|
|
|
3334
2837
|
className,
|
|
3335
2838
|
...props
|
|
3336
2839
|
}) => {
|
|
3337
|
-
return /* @__PURE__ */ jsx(
|
|
3338
|
-
"span",
|
|
3339
|
-
{
|
|
3340
|
-
className: cn(
|
|
3341
|
-
"ml-auto text-xs tracking-widest text-muted-foreground",
|
|
3342
|
-
className
|
|
3343
|
-
),
|
|
3344
|
-
...props
|
|
3345
|
-
}
|
|
3346
|
-
);
|
|
2840
|
+
return /* @__PURE__ */ jsx("span", { className: cn("command-shortcut", className), ...props });
|
|
3347
2841
|
};
|
|
3348
2842
|
CommandShortcut.displayName = "CommandShortcut";
|
|
3349
2843
|
const SearchField = ({
|
|
@@ -3411,19 +2905,16 @@ const SearchField = ({
|
|
|
3411
2905
|
placeholder,
|
|
3412
2906
|
disabled,
|
|
3413
2907
|
className: cn(
|
|
3414
|
-
"
|
|
3415
|
-
isOpen && "
|
|
2908
|
+
"search-field-input--focused",
|
|
2909
|
+
isOpen && "search-field-input--open"
|
|
3416
2910
|
)
|
|
3417
2911
|
}
|
|
3418
2912
|
) }),
|
|
3419
2913
|
/* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsx(
|
|
3420
2914
|
"div",
|
|
3421
2915
|
{
|
|
3422
|
-
className: cn(
|
|
3423
|
-
|
|
3424
|
-
isOpen ? "block" : "hidden"
|
|
3425
|
-
),
|
|
3426
|
-
children: /* @__PURE__ */ jsxs(CommandList, { className: "border-b border-x border-cyan-300", children: [
|
|
2916
|
+
className: cn("search-field-dropdown", isOpen ? "block" : "hidden"),
|
|
2917
|
+
children: /* @__PURE__ */ jsxs(CommandList, { className: "search-field-list", children: [
|
|
3427
2918
|
(options == null ? void 0 : options.length) > 0 && !isLoading ? /* @__PURE__ */ jsx(CommandGroup, { children: options.map((option) => {
|
|
3428
2919
|
const isSelected = (selected == null ? void 0 : selected.value) === option.value;
|
|
3429
2920
|
return /* @__PURE__ */ jsxs(
|
|
@@ -3436,93 +2927,40 @@ const SearchField = ({
|
|
|
3436
2927
|
},
|
|
3437
2928
|
onSelect: () => handleSelectOption(option),
|
|
3438
2929
|
children: [
|
|
3439
|
-
isSelected ? /* @__PURE__ */ jsx(Check, { className: "
|
|
2930
|
+
isSelected ? /* @__PURE__ */ jsx(Check, { className: "icon-4" }) : null,
|
|
3440
2931
|
option.label
|
|
3441
2932
|
]
|
|
3442
2933
|
},
|
|
3443
2934
|
option.value
|
|
3444
2935
|
);
|
|
3445
2936
|
}) }) : null,
|
|
3446
|
-
!isLoading ? /* @__PURE__ */ jsx(CommandEmpty, { className: "
|
|
2937
|
+
!isLoading ? /* @__PURE__ */ jsx(CommandEmpty, { className: "search-field-empty", children: emptyMessage }) : null
|
|
3447
2938
|
] })
|
|
3448
2939
|
}
|
|
3449
2940
|
) })
|
|
3450
2941
|
] });
|
|
3451
2942
|
};
|
|
3452
|
-
const
|
|
3453
|
-
|
|
3454
|
-
light: {
|
|
3455
|
-
todo: {
|
|
3456
|
-
bg: "bg-gray-100",
|
|
3457
|
-
text: "text-gray-600"
|
|
3458
|
-
},
|
|
3459
|
-
low: {
|
|
3460
|
-
bg: "bg-cyan-100",
|
|
3461
|
-
text: "text-cyan-600"
|
|
3462
|
-
},
|
|
3463
|
-
medium: {
|
|
3464
|
-
bg: "bg-plum-100",
|
|
3465
|
-
text: "text-plum-600"
|
|
3466
|
-
},
|
|
3467
|
-
high: {
|
|
3468
|
-
bg: "bg-coral-100",
|
|
3469
|
-
text: "text-coral-600"
|
|
3470
|
-
},
|
|
3471
|
-
done: {
|
|
3472
|
-
bg: "bg-emerald-100",
|
|
3473
|
-
text: "text-emerald-600"
|
|
3474
|
-
}
|
|
3475
|
-
},
|
|
3476
|
-
dark: {
|
|
3477
|
-
todo: {
|
|
3478
|
-
bg: "bg-gray-600",
|
|
3479
|
-
text: "text-gray-100"
|
|
3480
|
-
},
|
|
3481
|
-
low: {
|
|
3482
|
-
bg: "bg-cyan-700",
|
|
3483
|
-
text: "text-cyan-100"
|
|
3484
|
-
},
|
|
3485
|
-
medium: {
|
|
3486
|
-
bg: "bg-plum-700",
|
|
3487
|
-
text: "text-plum-100"
|
|
3488
|
-
},
|
|
3489
|
-
high: {
|
|
3490
|
-
bg: "bg-coral-700",
|
|
3491
|
-
text: "text-coral-100"
|
|
3492
|
-
},
|
|
3493
|
-
done: {
|
|
3494
|
-
bg: "bg-emerald-700",
|
|
3495
|
-
text: "text-emerald-100"
|
|
3496
|
-
}
|
|
3497
|
-
}
|
|
3498
|
-
};
|
|
3499
|
-
return colors[variant][status];
|
|
2943
|
+
const getStatusClass = (status, variant2 = "light") => {
|
|
2944
|
+
return `tag tag--${variant2}-${status}`;
|
|
3500
2945
|
};
|
|
3501
2946
|
const Tag = React.forwardRef(
|
|
3502
2947
|
({
|
|
3503
2948
|
children,
|
|
3504
2949
|
active = false,
|
|
3505
2950
|
status,
|
|
3506
|
-
variant = "light",
|
|
2951
|
+
variant: variant2 = "light",
|
|
3507
2952
|
className,
|
|
3508
2953
|
onClick,
|
|
3509
2954
|
...props
|
|
3510
2955
|
}, ref) => {
|
|
3511
2956
|
if (status) {
|
|
3512
|
-
const
|
|
2957
|
+
const statusClass = getStatusClass(status, variant2);
|
|
3513
2958
|
return /* @__PURE__ */ jsx(
|
|
3514
2959
|
"button",
|
|
3515
2960
|
{
|
|
3516
2961
|
ref,
|
|
3517
2962
|
onClick,
|
|
3518
|
-
className: cn(
|
|
3519
|
-
"inline-flex items-center p-[8px] rounded-sm w-fit",
|
|
3520
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
|
|
3521
|
-
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
3522
|
-
statusColors.bg,
|
|
3523
|
-
statusColors.text,
|
|
3524
|
-
className
|
|
3525
|
-
),
|
|
2963
|
+
className: cn(statusClass, className),
|
|
3526
2964
|
...props,
|
|
3527
2965
|
children: /* @__PURE__ */ jsx("span", { className: "overline-medium", children })
|
|
3528
2966
|
}
|
|
@@ -3534,11 +2972,8 @@ const Tag = React.forwardRef(
|
|
|
3534
2972
|
ref,
|
|
3535
2973
|
onClick,
|
|
3536
2974
|
className: cn(
|
|
3537
|
-
"
|
|
3538
|
-
"
|
|
3539
|
-
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
3540
|
-
"transition-all duration-200",
|
|
3541
|
-
active ? "bg-cyan-700 text-white hover:border-cyan-700" : "bg-blue-100 text-blue-700 hover:bg-cyan-700 hover:text-white",
|
|
2975
|
+
"tag-general",
|
|
2976
|
+
active ? "tag-general--active" : "tag-general--inactive",
|
|
3542
2977
|
className
|
|
3543
2978
|
),
|
|
3544
2979
|
...props,
|
|
@@ -3570,7 +3005,7 @@ const TabsRoot = React__default.forwardRef(({ className, ...props }, ref) => /*
|
|
|
3570
3005
|
TabsPrimitive.Root,
|
|
3571
3006
|
{
|
|
3572
3007
|
ref,
|
|
3573
|
-
className: cn("
|
|
3008
|
+
className: cn("tabs", className),
|
|
3574
3009
|
...props
|
|
3575
3010
|
}
|
|
3576
3011
|
));
|
|
@@ -3579,10 +3014,7 @@ const TabsList = React__default.forwardRef(({ className, ...props }, ref) => /*
|
|
|
3579
3014
|
TabsPrimitive.List,
|
|
3580
3015
|
{
|
|
3581
3016
|
ref,
|
|
3582
|
-
className: cn(
|
|
3583
|
-
"inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",
|
|
3584
|
-
className
|
|
3585
|
-
),
|
|
3017
|
+
className: cn("tabs-list", className),
|
|
3586
3018
|
...props
|
|
3587
3019
|
}
|
|
3588
3020
|
));
|
|
@@ -3591,10 +3023,7 @@ const TabsTrigger = React__default.forwardRef(({ className, ...props }, ref) =>
|
|
|
3591
3023
|
TabsPrimitive.Trigger,
|
|
3592
3024
|
{
|
|
3593
3025
|
ref,
|
|
3594
|
-
className: cn(
|
|
3595
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",
|
|
3596
|
-
className
|
|
3597
|
-
),
|
|
3026
|
+
className: cn("tabs-trigger", className),
|
|
3598
3027
|
...props
|
|
3599
3028
|
}
|
|
3600
3029
|
));
|
|
@@ -3603,10 +3032,7 @@ const TabsContent = React__default.forwardRef(({ className, ...props }, ref) =>
|
|
|
3603
3032
|
TabsPrimitive.Content,
|
|
3604
3033
|
{
|
|
3605
3034
|
ref,
|
|
3606
|
-
className: cn(
|
|
3607
|
-
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
3608
|
-
className
|
|
3609
|
-
),
|
|
3035
|
+
className: cn("tabs-content", className),
|
|
3610
3036
|
...props
|
|
3611
3037
|
}
|
|
3612
3038
|
));
|
|
@@ -3616,7 +3042,7 @@ const Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
|
3616
3042
|
{
|
|
3617
3043
|
role: "navigation",
|
|
3618
3044
|
"aria-label": "pagination",
|
|
3619
|
-
className: cn("
|
|
3045
|
+
className: cn("pagination", className),
|
|
3620
3046
|
...props
|
|
3621
3047
|
}
|
|
3622
3048
|
);
|
|
@@ -3625,7 +3051,7 @@ const PaginationContent = React.forwardRef(({ className, ...props }, ref) => /*
|
|
|
3625
3051
|
"ul",
|
|
3626
3052
|
{
|
|
3627
3053
|
ref,
|
|
3628
|
-
className: cn("
|
|
3054
|
+
className: cn("pagination-content", className),
|
|
3629
3055
|
...props
|
|
3630
3056
|
}
|
|
3631
3057
|
));
|
|
@@ -3660,10 +3086,10 @@ const PaginationPrevious = ({
|
|
|
3660
3086
|
{
|
|
3661
3087
|
"aria-label": "Go to previous page",
|
|
3662
3088
|
size: "utility",
|
|
3663
|
-
className: cn("
|
|
3089
|
+
className: cn("pagination-previous", className),
|
|
3664
3090
|
...props,
|
|
3665
3091
|
children: [
|
|
3666
|
-
/* @__PURE__ */ jsx(ChevronLeft, { className: "
|
|
3092
|
+
/* @__PURE__ */ jsx(ChevronLeft, { className: "icon-4" }),
|
|
3667
3093
|
/* @__PURE__ */ jsx("span", { children: "Previous" })
|
|
3668
3094
|
]
|
|
3669
3095
|
}
|
|
@@ -3677,11 +3103,11 @@ const PaginationNext = ({
|
|
|
3677
3103
|
{
|
|
3678
3104
|
"aria-label": "Go to next page",
|
|
3679
3105
|
size: "utility",
|
|
3680
|
-
className: cn("
|
|
3106
|
+
className: cn("pagination-next", className),
|
|
3681
3107
|
...props,
|
|
3682
3108
|
children: [
|
|
3683
3109
|
/* @__PURE__ */ jsx("span", { children: "Next" }),
|
|
3684
|
-
/* @__PURE__ */ jsx(ChevronRight, { className: "
|
|
3110
|
+
/* @__PURE__ */ jsx(ChevronRight, { className: "icon-4" })
|
|
3685
3111
|
]
|
|
3686
3112
|
}
|
|
3687
3113
|
);
|
|
@@ -3693,10 +3119,10 @@ const PaginationEllipsis = ({
|
|
|
3693
3119
|
"span",
|
|
3694
3120
|
{
|
|
3695
3121
|
"aria-hidden": true,
|
|
3696
|
-
className: cn("
|
|
3122
|
+
className: cn("pagination-ellipsis", className),
|
|
3697
3123
|
...props,
|
|
3698
3124
|
children: [
|
|
3699
|
-
/* @__PURE__ */ jsx(MoreHorizontal, { className: "
|
|
3125
|
+
/* @__PURE__ */ jsx(MoreHorizontal, { className: "icon-4" }),
|
|
3700
3126
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "More pages" })
|
|
3701
3127
|
]
|
|
3702
3128
|
}
|
|
@@ -3706,10 +3132,7 @@ const NavigationMenu = React.forwardRef(({ className, children, ...props }, ref)
|
|
|
3706
3132
|
NavigationMenuPrimitive.Root,
|
|
3707
3133
|
{
|
|
3708
3134
|
ref,
|
|
3709
|
-
className: cn(
|
|
3710
|
-
"relative z-10 flex max-w-max flex-1 items-center justify-center",
|
|
3711
|
-
className
|
|
3712
|
-
),
|
|
3135
|
+
className: cn("navigation-menu", className),
|
|
3713
3136
|
...props,
|
|
3714
3137
|
children: [
|
|
3715
3138
|
children,
|
|
@@ -3722,23 +3145,18 @@ const NavigationMenuList = React.forwardRef(({ className, ...props }, ref) => /*
|
|
|
3722
3145
|
NavigationMenuPrimitive.List,
|
|
3723
3146
|
{
|
|
3724
3147
|
ref,
|
|
3725
|
-
className: cn(
|
|
3726
|
-
"group flex flex-1 list-none items-center justify-center space-x-1",
|
|
3727
|
-
className
|
|
3728
|
-
),
|
|
3148
|
+
className: cn("navigation-menu-list", className),
|
|
3729
3149
|
...props
|
|
3730
3150
|
}
|
|
3731
3151
|
));
|
|
3732
3152
|
NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
|
|
3733
3153
|
const NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
3734
|
-
const navigationMenuTriggerStyle = cva(
|
|
3735
|
-
"group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-active:bg-accent/50 data-[state=open]:bg-accent/50"
|
|
3736
|
-
);
|
|
3154
|
+
const navigationMenuTriggerStyle = cva("navigation-menu-trigger");
|
|
3737
3155
|
const NavigationMenuTrigger = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
3738
3156
|
NavigationMenuPrimitive.Trigger,
|
|
3739
3157
|
{
|
|
3740
3158
|
ref,
|
|
3741
|
-
className: cn(navigationMenuTriggerStyle(),
|
|
3159
|
+
className: cn(navigationMenuTriggerStyle(), className),
|
|
3742
3160
|
...props,
|
|
3743
3161
|
children: [
|
|
3744
3162
|
children,
|
|
@@ -3746,7 +3164,7 @@ const NavigationMenuTrigger = React.forwardRef(({ className, children, ...props
|
|
|
3746
3164
|
/* @__PURE__ */ jsx(
|
|
3747
3165
|
ChevronDown,
|
|
3748
3166
|
{
|
|
3749
|
-
className: "
|
|
3167
|
+
className: "navigation-menu-trigger-icon",
|
|
3750
3168
|
"aria-hidden": "true"
|
|
3751
3169
|
}
|
|
3752
3170
|
)
|
|
@@ -3758,22 +3176,16 @@ const NavigationMenuContent = React.forwardRef(({ className, ...props }, ref) =>
|
|
|
3758
3176
|
NavigationMenuPrimitive.Content,
|
|
3759
3177
|
{
|
|
3760
3178
|
ref,
|
|
3761
|
-
className: cn(
|
|
3762
|
-
"left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",
|
|
3763
|
-
className
|
|
3764
|
-
),
|
|
3179
|
+
className: cn("navigation-menu-content", className),
|
|
3765
3180
|
...props
|
|
3766
3181
|
}
|
|
3767
3182
|
));
|
|
3768
3183
|
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
3769
3184
|
const NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
3770
|
-
const NavigationMenuViewport = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className:
|
|
3185
|
+
const NavigationMenuViewport = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "navigation-menu-viewport-wrapper", children: /* @__PURE__ */ jsx(
|
|
3771
3186
|
NavigationMenuPrimitive.Viewport,
|
|
3772
3187
|
{
|
|
3773
|
-
className: cn(
|
|
3774
|
-
"origin-top-center relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-(--radix-navigation-menu-viewport-width)",
|
|
3775
|
-
className
|
|
3776
|
-
),
|
|
3188
|
+
className: cn("navigation-menu-viewport", className),
|
|
3777
3189
|
ref,
|
|
3778
3190
|
...props
|
|
3779
3191
|
}
|
|
@@ -3783,12 +3195,8 @@ const NavigationMenuIndicator = React.forwardRef(({ className, ...props }, ref)
|
|
|
3783
3195
|
NavigationMenuPrimitive.Indicator,
|
|
3784
3196
|
{
|
|
3785
3197
|
ref,
|
|
3786
|
-
className: cn(
|
|
3787
|
-
|
|
3788
|
-
className
|
|
3789
|
-
),
|
|
3790
|
-
...props,
|
|
3791
|
-
children: /* @__PURE__ */ jsx("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
3198
|
+
className: cn("navigation-menu-indicator", className),
|
|
3199
|
+
...props
|
|
3792
3200
|
}
|
|
3793
3201
|
));
|
|
3794
3202
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
|
@@ -3799,10 +3207,7 @@ const Menubar = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
3799
3207
|
MenubarPrimitive.Root,
|
|
3800
3208
|
{
|
|
3801
3209
|
ref,
|
|
3802
|
-
className: cn(
|
|
3803
|
-
"flex h-10 items-center space-x-1 rounded-md border bg-background p-1",
|
|
3804
|
-
className
|
|
3805
|
-
),
|
|
3210
|
+
className: cn("menubar", className),
|
|
3806
3211
|
...props
|
|
3807
3212
|
}
|
|
3808
3213
|
));
|
|
@@ -3811,10 +3216,7 @@ const MenubarTrigger = React.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
3811
3216
|
MenubarPrimitive.Trigger,
|
|
3812
3217
|
{
|
|
3813
3218
|
ref,
|
|
3814
|
-
className: cn(
|
|
3815
|
-
"flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
3816
|
-
className
|
|
3817
|
-
),
|
|
3219
|
+
className: cn("menubar-trigger", className),
|
|
3818
3220
|
...props
|
|
3819
3221
|
}
|
|
3820
3222
|
));
|
|
@@ -3824,14 +3226,14 @@ const MenubarSubTrigger = React.forwardRef(({ className, inset, children, ...pro
|
|
|
3824
3226
|
{
|
|
3825
3227
|
ref,
|
|
3826
3228
|
className: cn(
|
|
3827
|
-
"
|
|
3828
|
-
inset && "
|
|
3229
|
+
"menubar-sub-trigger",
|
|
3230
|
+
inset && "menubar-sub-trigger--inset",
|
|
3829
3231
|
className
|
|
3830
3232
|
),
|
|
3831
3233
|
...props,
|
|
3832
3234
|
children: [
|
|
3833
3235
|
children,
|
|
3834
|
-
/* @__PURE__ */ jsx(ChevronRight, { className: "
|
|
3236
|
+
/* @__PURE__ */ jsx(ChevronRight, { className: "icon-4" })
|
|
3835
3237
|
]
|
|
3836
3238
|
}
|
|
3837
3239
|
));
|
|
@@ -3840,10 +3242,7 @@ const MenubarSubContent = React.forwardRef(({ className, ...props }, ref) => /*
|
|
|
3840
3242
|
MenubarPrimitive.SubContent,
|
|
3841
3243
|
{
|
|
3842
3244
|
ref,
|
|
3843
|
-
className: cn(
|
|
3844
|
-
"z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
3845
|
-
className
|
|
3846
|
-
),
|
|
3245
|
+
className: cn("menubar-sub-content", className),
|
|
3847
3246
|
...props
|
|
3848
3247
|
}
|
|
3849
3248
|
));
|
|
@@ -3856,10 +3255,7 @@ const MenubarContent = React.forwardRef(
|
|
|
3856
3255
|
align,
|
|
3857
3256
|
alignOffset,
|
|
3858
3257
|
sideOffset,
|
|
3859
|
-
className: cn(
|
|
3860
|
-
"z-50 min-w-48 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
3861
|
-
className
|
|
3862
|
-
),
|
|
3258
|
+
className: cn("menubar-content", className),
|
|
3863
3259
|
...props
|
|
3864
3260
|
}
|
|
3865
3261
|
) })
|
|
@@ -3870,8 +3266,8 @@ const MenubarItem = React.forwardRef(({ className, inset, ...props }, ref) => /*
|
|
|
3870
3266
|
{
|
|
3871
3267
|
ref,
|
|
3872
3268
|
className: cn(
|
|
3873
|
-
"
|
|
3874
|
-
inset && "
|
|
3269
|
+
"menubar-item",
|
|
3270
|
+
inset && "menubar-item--inset",
|
|
3875
3271
|
className
|
|
3876
3272
|
),
|
|
3877
3273
|
...props
|
|
@@ -3882,14 +3278,11 @@ const MenubarCheckboxItem = React.forwardRef(({ className, children, checked, ..
|
|
|
3882
3278
|
MenubarPrimitive.CheckboxItem,
|
|
3883
3279
|
{
|
|
3884
3280
|
ref,
|
|
3885
|
-
className: cn(
|
|
3886
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
3887
|
-
className
|
|
3888
|
-
),
|
|
3281
|
+
className: cn("menubar-checkbox-item", className),
|
|
3889
3282
|
checked,
|
|
3890
3283
|
...props,
|
|
3891
3284
|
children: [
|
|
3892
|
-
/* @__PURE__ */ jsx("span", { className: "
|
|
3285
|
+
/* @__PURE__ */ jsx("span", { className: "menubar-item-indicator", children: /* @__PURE__ */ jsx(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "icon-4" }) }) }),
|
|
3893
3286
|
children
|
|
3894
3287
|
]
|
|
3895
3288
|
}
|
|
@@ -3899,13 +3292,10 @@ const MenubarRadioItem = React.forwardRef(({ className, children, ...props }, re
|
|
|
3899
3292
|
MenubarPrimitive.RadioItem,
|
|
3900
3293
|
{
|
|
3901
3294
|
ref,
|
|
3902
|
-
className: cn(
|
|
3903
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
3904
|
-
className
|
|
3905
|
-
),
|
|
3295
|
+
className: cn("menubar-radio-item", className),
|
|
3906
3296
|
...props,
|
|
3907
3297
|
children: [
|
|
3908
|
-
/* @__PURE__ */ jsx("span", { className: "
|
|
3298
|
+
/* @__PURE__ */ jsx("span", { className: "menubar-item-indicator", children: /* @__PURE__ */ jsx(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Circle, { className: "icon-2 fill-current" }) }) }),
|
|
3909
3299
|
children
|
|
3910
3300
|
]
|
|
3911
3301
|
}
|
|
@@ -3916,8 +3306,8 @@ const MenubarLabel = React.forwardRef(({ className, inset, ...props }, ref) => /
|
|
|
3916
3306
|
{
|
|
3917
3307
|
ref,
|
|
3918
3308
|
className: cn(
|
|
3919
|
-
"
|
|
3920
|
-
inset && "
|
|
3309
|
+
"menubar-label",
|
|
3310
|
+
inset && "menubar-label--inset",
|
|
3921
3311
|
className
|
|
3922
3312
|
),
|
|
3923
3313
|
...props
|
|
@@ -3928,7 +3318,7 @@ const MenubarSeparator = React.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
3928
3318
|
MenubarPrimitive.Separator,
|
|
3929
3319
|
{
|
|
3930
3320
|
ref,
|
|
3931
|
-
className: cn("-
|
|
3321
|
+
className: cn("menubar-separator", className),
|
|
3932
3322
|
...props
|
|
3933
3323
|
}
|
|
3934
3324
|
));
|
|
@@ -3940,10 +3330,7 @@ const MenubarShortcut = ({
|
|
|
3940
3330
|
return /* @__PURE__ */ jsx(
|
|
3941
3331
|
"span",
|
|
3942
3332
|
{
|
|
3943
|
-
className: cn(
|
|
3944
|
-
"ml-auto text-xs tracking-widest text-muted-foreground",
|
|
3945
|
-
className
|
|
3946
|
-
),
|
|
3333
|
+
className: cn("menubar-shortcut", className),
|
|
3947
3334
|
...props
|
|
3948
3335
|
}
|
|
3949
3336
|
);
|
|
@@ -3960,14 +3347,14 @@ const DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, .
|
|
|
3960
3347
|
{
|
|
3961
3348
|
ref,
|
|
3962
3349
|
className: cn(
|
|
3963
|
-
"
|
|
3964
|
-
inset && "
|
|
3350
|
+
"dropdown-menu-sub-trigger",
|
|
3351
|
+
inset && "dropdown-menu-sub-trigger--inset",
|
|
3965
3352
|
className
|
|
3966
3353
|
),
|
|
3967
3354
|
...props,
|
|
3968
3355
|
children: [
|
|
3969
3356
|
children,
|
|
3970
|
-
/* @__PURE__ */ jsx(ChevronRight, { className: "
|
|
3357
|
+
/* @__PURE__ */ jsx(ChevronRight, { className: "dropdown-menu-sub-trigger-icon icon-4" })
|
|
3971
3358
|
]
|
|
3972
3359
|
}
|
|
3973
3360
|
));
|
|
@@ -3976,10 +3363,7 @@ const DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) =
|
|
|
3976
3363
|
DropdownMenuPrimitive.SubContent,
|
|
3977
3364
|
{
|
|
3978
3365
|
ref,
|
|
3979
|
-
className: cn(
|
|
3980
|
-
"z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
3981
|
-
className
|
|
3982
|
-
),
|
|
3366
|
+
className: cn("dropdown-menu-sub-content", className),
|
|
3983
3367
|
...props
|
|
3984
3368
|
}
|
|
3985
3369
|
));
|
|
@@ -3989,10 +3373,7 @@ const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...pr
|
|
|
3989
3373
|
{
|
|
3990
3374
|
ref,
|
|
3991
3375
|
sideOffset,
|
|
3992
|
-
className: cn(
|
|
3993
|
-
"z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
3994
|
-
className
|
|
3995
|
-
),
|
|
3376
|
+
className: cn("dropdown-menu-content", className),
|
|
3996
3377
|
...props
|
|
3997
3378
|
}
|
|
3998
3379
|
) }));
|
|
@@ -4002,8 +3383,8 @@ const DropdownMenuItem = React.forwardRef(({ className, inset, ...props }, ref)
|
|
|
4002
3383
|
{
|
|
4003
3384
|
ref,
|
|
4004
3385
|
className: cn(
|
|
4005
|
-
"
|
|
4006
|
-
inset && "
|
|
3386
|
+
"dropdown-menu-item",
|
|
3387
|
+
inset && "dropdown-menu-item--inset",
|
|
4007
3388
|
className
|
|
4008
3389
|
),
|
|
4009
3390
|
...props
|
|
@@ -4014,14 +3395,11 @@ const DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checke
|
|
|
4014
3395
|
DropdownMenuPrimitive.CheckboxItem,
|
|
4015
3396
|
{
|
|
4016
3397
|
ref,
|
|
4017
|
-
className: cn(
|
|
4018
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
4019
|
-
className
|
|
4020
|
-
),
|
|
3398
|
+
className: cn("dropdown-menu-checkbox-item", className),
|
|
4021
3399
|
checked,
|
|
4022
3400
|
...props,
|
|
4023
3401
|
children: [
|
|
4024
|
-
/* @__PURE__ */ jsx("span", { className: "
|
|
3402
|
+
/* @__PURE__ */ jsx("span", { className: "dropdown-menu-item-indicator", children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "icon-4" }) }) }),
|
|
4025
3403
|
children
|
|
4026
3404
|
]
|
|
4027
3405
|
}
|
|
@@ -4031,13 +3409,10 @@ const DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props
|
|
|
4031
3409
|
DropdownMenuPrimitive.RadioItem,
|
|
4032
3410
|
{
|
|
4033
3411
|
ref,
|
|
4034
|
-
className: cn(
|
|
4035
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
4036
|
-
className
|
|
4037
|
-
),
|
|
3412
|
+
className: cn("dropdown-menu-radio-item", className),
|
|
4038
3413
|
...props,
|
|
4039
3414
|
children: [
|
|
4040
|
-
/* @__PURE__ */ jsx("span", { className: "
|
|
3415
|
+
/* @__PURE__ */ jsx("span", { className: "dropdown-menu-item-indicator", children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Circle, { className: "icon-2 fill-current" }) }) }),
|
|
4041
3416
|
children
|
|
4042
3417
|
]
|
|
4043
3418
|
}
|
|
@@ -4048,8 +3423,8 @@ const DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref)
|
|
|
4048
3423
|
{
|
|
4049
3424
|
ref,
|
|
4050
3425
|
className: cn(
|
|
4051
|
-
"
|
|
4052
|
-
inset && "
|
|
3426
|
+
"dropdown-menu-label",
|
|
3427
|
+
inset && "dropdown-menu-label--inset",
|
|
4053
3428
|
className
|
|
4054
3429
|
),
|
|
4055
3430
|
...props
|
|
@@ -4060,7 +3435,7 @@ const DropdownMenuSeparator = React.forwardRef(({ className, ...props }, ref) =>
|
|
|
4060
3435
|
DropdownMenuPrimitive.Separator,
|
|
4061
3436
|
{
|
|
4062
3437
|
ref,
|
|
4063
|
-
className: cn("-
|
|
3438
|
+
className: cn("dropdown-menu-separator", className),
|
|
4064
3439
|
...props
|
|
4065
3440
|
}
|
|
4066
3441
|
));
|
|
@@ -4072,7 +3447,7 @@ const DropdownMenuShortcut = ({
|
|
|
4072
3447
|
return /* @__PURE__ */ jsx(
|
|
4073
3448
|
"span",
|
|
4074
3449
|
{
|
|
4075
|
-
className: cn("
|
|
3450
|
+
className: cn("dropdown-menu-shortcut", className),
|
|
4076
3451
|
...props
|
|
4077
3452
|
}
|
|
4078
3453
|
);
|
|
@@ -4096,7 +3471,7 @@ const DrawerOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
4096
3471
|
Drawer$1.Overlay,
|
|
4097
3472
|
{
|
|
4098
3473
|
ref,
|
|
4099
|
-
className: cn("
|
|
3474
|
+
className: cn("drawer-overlay", className),
|
|
4100
3475
|
...props
|
|
4101
3476
|
}
|
|
4102
3477
|
));
|
|
@@ -4107,13 +3482,10 @@ const DrawerContent = React.forwardRef(({ className, children, ...props }, ref)
|
|
|
4107
3482
|
Drawer$1.Content,
|
|
4108
3483
|
{
|
|
4109
3484
|
ref,
|
|
4110
|
-
className: cn(
|
|
4111
|
-
"fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
|
|
4112
|
-
className
|
|
4113
|
-
),
|
|
3485
|
+
className: cn("drawer-content", className),
|
|
4114
3486
|
...props,
|
|
4115
3487
|
children: [
|
|
4116
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
3488
|
+
/* @__PURE__ */ jsx("div", { className: "drawer-handle" }),
|
|
4117
3489
|
children
|
|
4118
3490
|
]
|
|
4119
3491
|
}
|
|
@@ -4126,7 +3498,7 @@ const DrawerHeader = ({
|
|
|
4126
3498
|
}) => /* @__PURE__ */ jsx(
|
|
4127
3499
|
"div",
|
|
4128
3500
|
{
|
|
4129
|
-
className: cn("
|
|
3501
|
+
className: cn("drawer-header", className),
|
|
4130
3502
|
...props
|
|
4131
3503
|
}
|
|
4132
3504
|
);
|
|
@@ -4137,7 +3509,7 @@ const DrawerFooter = ({
|
|
|
4137
3509
|
}) => /* @__PURE__ */ jsx(
|
|
4138
3510
|
"div",
|
|
4139
3511
|
{
|
|
4140
|
-
className: cn("
|
|
3512
|
+
className: cn("drawer-footer", className),
|
|
4141
3513
|
...props
|
|
4142
3514
|
}
|
|
4143
3515
|
);
|
|
@@ -4146,10 +3518,7 @@ const DrawerTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
4146
3518
|
Drawer$1.Title,
|
|
4147
3519
|
{
|
|
4148
3520
|
ref,
|
|
4149
|
-
className: cn(
|
|
4150
|
-
"text-lg font-semibold leading-none tracking-tight",
|
|
4151
|
-
className
|
|
4152
|
-
),
|
|
3521
|
+
className: cn("drawer-title", className),
|
|
4153
3522
|
...props
|
|
4154
3523
|
}
|
|
4155
3524
|
));
|
|
@@ -4158,7 +3527,7 @@ const DrawerDescription = React.forwardRef(({ className, ...props }, ref) => /*
|
|
|
4158
3527
|
Drawer$1.Description,
|
|
4159
3528
|
{
|
|
4160
3529
|
ref,
|
|
4161
|
-
className: cn("
|
|
3530
|
+
className: cn("drawer-description", className),
|
|
4162
3531
|
...props
|
|
4163
3532
|
}
|
|
4164
3533
|
));
|
|
@@ -4171,10 +3540,7 @@ const PopoverContent = React.forwardRef(({ className, align = "center", sideOffs
|
|
|
4171
3540
|
ref,
|
|
4172
3541
|
align,
|
|
4173
3542
|
sideOffset,
|
|
4174
|
-
className: cn(
|
|
4175
|
-
"z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
4176
|
-
className
|
|
4177
|
-
),
|
|
3543
|
+
className: cn("popover-content", className),
|
|
4178
3544
|
...props
|
|
4179
3545
|
}
|
|
4180
3546
|
) }));
|
|
@@ -4187,10 +3553,7 @@ const HoverCardContent = React.forwardRef(({ className, align = "center", sideOf
|
|
|
4187
3553
|
ref,
|
|
4188
3554
|
align,
|
|
4189
3555
|
sideOffset,
|
|
4190
|
-
className: cn(
|
|
4191
|
-
"z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
4192
|
-
className
|
|
4193
|
-
),
|
|
3556
|
+
className: cn("hover-card-content", className),
|
|
4194
3557
|
...props
|
|
4195
3558
|
}
|
|
4196
3559
|
));
|
|
@@ -4206,14 +3569,14 @@ const ContextMenuSubTrigger = React.forwardRef(({ className, inset, children, ..
|
|
|
4206
3569
|
{
|
|
4207
3570
|
ref,
|
|
4208
3571
|
className: cn(
|
|
4209
|
-
"
|
|
4210
|
-
inset && "
|
|
3572
|
+
"context-menu-sub-trigger",
|
|
3573
|
+
inset && "context-menu-sub-trigger--inset",
|
|
4211
3574
|
className
|
|
4212
3575
|
),
|
|
4213
3576
|
...props,
|
|
4214
3577
|
children: [
|
|
4215
3578
|
children,
|
|
4216
|
-
/* @__PURE__ */ jsx(ChevronRight, { className: "
|
|
3579
|
+
/* @__PURE__ */ jsx(ChevronRight, { className: "icon-4" })
|
|
4217
3580
|
]
|
|
4218
3581
|
}
|
|
4219
3582
|
));
|
|
@@ -4222,10 +3585,7 @@ const ContextMenuSubContent = React.forwardRef(({ className, ...props }, ref) =>
|
|
|
4222
3585
|
ContextMenuPrimitive.SubContent,
|
|
4223
3586
|
{
|
|
4224
3587
|
ref,
|
|
4225
|
-
className: cn(
|
|
4226
|
-
"z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
4227
|
-
className
|
|
4228
|
-
),
|
|
3588
|
+
className: cn("context-menu-sub-content", className),
|
|
4229
3589
|
...props
|
|
4230
3590
|
}
|
|
4231
3591
|
));
|
|
@@ -4234,10 +3594,7 @@ const ContextMenuContent = React.forwardRef(({ className, ...props }, ref) => /*
|
|
|
4234
3594
|
ContextMenuPrimitive.Content,
|
|
4235
3595
|
{
|
|
4236
3596
|
ref,
|
|
4237
|
-
className: cn(
|
|
4238
|
-
"z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
4239
|
-
className
|
|
4240
|
-
),
|
|
3597
|
+
className: cn("context-menu-content", className),
|
|
4241
3598
|
...props
|
|
4242
3599
|
}
|
|
4243
3600
|
) }));
|
|
@@ -4247,8 +3604,8 @@ const ContextMenuItem = React.forwardRef(({ className, inset, ...props }, ref) =
|
|
|
4247
3604
|
{
|
|
4248
3605
|
ref,
|
|
4249
3606
|
className: cn(
|
|
4250
|
-
"
|
|
4251
|
-
inset && "
|
|
3607
|
+
"context-menu-item",
|
|
3608
|
+
inset && "context-menu-item--inset",
|
|
4252
3609
|
className
|
|
4253
3610
|
),
|
|
4254
3611
|
...props
|
|
@@ -4259,14 +3616,11 @@ const ContextMenuCheckboxItem = React.forwardRef(({ className, children, checked
|
|
|
4259
3616
|
ContextMenuPrimitive.CheckboxItem,
|
|
4260
3617
|
{
|
|
4261
3618
|
ref,
|
|
4262
|
-
className: cn(
|
|
4263
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
4264
|
-
className
|
|
4265
|
-
),
|
|
3619
|
+
className: cn("context-menu-checkbox-item", className),
|
|
4266
3620
|
checked,
|
|
4267
3621
|
...props,
|
|
4268
3622
|
children: [
|
|
4269
|
-
/* @__PURE__ */ jsx("span", { className: "
|
|
3623
|
+
/* @__PURE__ */ jsx("span", { className: "context-menu-item-indicator", children: /* @__PURE__ */ jsx(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "icon-4" }) }) }),
|
|
4270
3624
|
children
|
|
4271
3625
|
]
|
|
4272
3626
|
}
|
|
@@ -4276,13 +3630,10 @@ const ContextMenuRadioItem = React.forwardRef(({ className, children, ...props }
|
|
|
4276
3630
|
ContextMenuPrimitive.RadioItem,
|
|
4277
3631
|
{
|
|
4278
3632
|
ref,
|
|
4279
|
-
className: cn(
|
|
4280
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
4281
|
-
className
|
|
4282
|
-
),
|
|
3633
|
+
className: cn("context-menu-radio-item", className),
|
|
4283
3634
|
...props,
|
|
4284
3635
|
children: [
|
|
4285
|
-
/* @__PURE__ */ jsx("span", { className: "
|
|
3636
|
+
/* @__PURE__ */ jsx("span", { className: "context-menu-item-indicator", children: /* @__PURE__ */ jsx(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Circle, { className: "icon-2 fill-current" }) }) }),
|
|
4286
3637
|
children
|
|
4287
3638
|
]
|
|
4288
3639
|
}
|
|
@@ -4293,8 +3644,8 @@ const ContextMenuLabel = React.forwardRef(({ className, inset, ...props }, ref)
|
|
|
4293
3644
|
{
|
|
4294
3645
|
ref,
|
|
4295
3646
|
className: cn(
|
|
4296
|
-
"
|
|
4297
|
-
inset && "
|
|
3647
|
+
"context-menu-label",
|
|
3648
|
+
inset && "context-menu-label--inset",
|
|
4298
3649
|
className
|
|
4299
3650
|
),
|
|
4300
3651
|
...props
|
|
@@ -4305,7 +3656,7 @@ const ContextMenuSeparator = React.forwardRef(({ className, ...props }, ref) =>
|
|
|
4305
3656
|
ContextMenuPrimitive.Separator,
|
|
4306
3657
|
{
|
|
4307
3658
|
ref,
|
|
4308
|
-
className: cn("-
|
|
3659
|
+
className: cn("context-menu-separator", className),
|
|
4309
3660
|
...props
|
|
4310
3661
|
}
|
|
4311
3662
|
));
|
|
@@ -4317,10 +3668,7 @@ const ContextMenuShortcut = ({
|
|
|
4317
3668
|
return /* @__PURE__ */ jsx(
|
|
4318
3669
|
"span",
|
|
4319
3670
|
{
|
|
4320
|
-
className: cn(
|
|
4321
|
-
"ml-auto text-xs tracking-widest text-muted-foreground",
|
|
4322
|
-
className
|
|
4323
|
-
),
|
|
3671
|
+
className: cn("context-menu-shortcut", className),
|
|
4324
3672
|
...props
|
|
4325
3673
|
}
|
|
4326
3674
|
);
|
|
@@ -4413,7 +3761,7 @@ const Carousel = React.forwardRef(
|
|
|
4413
3761
|
{
|
|
4414
3762
|
ref,
|
|
4415
3763
|
onKeyDownCapture: handleKeyDown,
|
|
4416
|
-
className: cn("
|
|
3764
|
+
className: cn("carousel", className),
|
|
4417
3765
|
role: "region",
|
|
4418
3766
|
"aria-roledescription": "carousel",
|
|
4419
3767
|
...props,
|
|
@@ -4427,13 +3775,13 @@ const Carousel = React.forwardRef(
|
|
|
4427
3775
|
Carousel.displayName = "Carousel";
|
|
4428
3776
|
const CarouselContent = React.forwardRef(({ className, ...props }, ref) => {
|
|
4429
3777
|
const { carouselRef, orientation } = useCarousel();
|
|
4430
|
-
return /* @__PURE__ */ jsx("div", { ref: carouselRef, className: "
|
|
3778
|
+
return /* @__PURE__ */ jsx("div", { ref: carouselRef, className: "carousel-viewport", children: /* @__PURE__ */ jsx(
|
|
4431
3779
|
"div",
|
|
4432
3780
|
{
|
|
4433
3781
|
ref,
|
|
4434
3782
|
className: cn(
|
|
4435
|
-
"
|
|
4436
|
-
orientation === "horizontal" ? "-
|
|
3783
|
+
"carousel-content",
|
|
3784
|
+
orientation === "horizontal" ? "carousel-content--horizontal" : "carousel-content--vertical",
|
|
4437
3785
|
className
|
|
4438
3786
|
),
|
|
4439
3787
|
...props
|
|
@@ -4450,8 +3798,8 @@ const CarouselItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
4450
3798
|
role: "group",
|
|
4451
3799
|
"aria-roledescription": "slide",
|
|
4452
3800
|
className: cn(
|
|
4453
|
-
"
|
|
4454
|
-
orientation === "horizontal" ? "
|
|
3801
|
+
"carousel-item",
|
|
3802
|
+
orientation === "horizontal" ? "carousel-item--horizontal" : "carousel-item--vertical",
|
|
4455
3803
|
className
|
|
4456
3804
|
),
|
|
4457
3805
|
...props
|
|
@@ -4460,24 +3808,24 @@ const CarouselItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
4460
3808
|
});
|
|
4461
3809
|
CarouselItem.displayName = "CarouselItem";
|
|
4462
3810
|
const CarouselPrevious = React.forwardRef(
|
|
4463
|
-
({ className, variant = "general-secondary", size = "icon", ...props }, ref) => {
|
|
3811
|
+
({ className, variant: variant2 = "general-secondary", size = "icon", ...props }, ref) => {
|
|
4464
3812
|
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
4465
3813
|
return /* @__PURE__ */ jsxs(
|
|
4466
3814
|
Button,
|
|
4467
3815
|
{
|
|
4468
3816
|
ref,
|
|
4469
|
-
variant,
|
|
3817
|
+
variant: variant2,
|
|
4470
3818
|
size,
|
|
4471
3819
|
className: cn(
|
|
4472
|
-
"
|
|
4473
|
-
orientation === "horizontal" ? "-
|
|
3820
|
+
"carousel-button carousel-button--previous",
|
|
3821
|
+
orientation === "horizontal" ? "carousel-button--horizontal" : "carousel-button--vertical",
|
|
4474
3822
|
className
|
|
4475
3823
|
),
|
|
4476
3824
|
disabled: !canScrollPrev,
|
|
4477
3825
|
onClick: scrollPrev,
|
|
4478
3826
|
...props,
|
|
4479
3827
|
children: [
|
|
4480
|
-
/* @__PURE__ */ jsx(ArrowLeft, { className: "
|
|
3828
|
+
/* @__PURE__ */ jsx(ArrowLeft, { className: "icon-4" }),
|
|
4481
3829
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Previous slide" })
|
|
4482
3830
|
]
|
|
4483
3831
|
}
|
|
@@ -4486,24 +3834,24 @@ const CarouselPrevious = React.forwardRef(
|
|
|
4486
3834
|
);
|
|
4487
3835
|
CarouselPrevious.displayName = "CarouselPrevious";
|
|
4488
3836
|
const CarouselNext = React.forwardRef(
|
|
4489
|
-
({ className, variant = "general-secondary", size = "icon", ...props }, ref) => {
|
|
3837
|
+
({ className, variant: variant2 = "general-secondary", size = "icon", ...props }, ref) => {
|
|
4490
3838
|
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
4491
3839
|
return /* @__PURE__ */ jsxs(
|
|
4492
3840
|
Button,
|
|
4493
3841
|
{
|
|
4494
3842
|
ref,
|
|
4495
|
-
variant,
|
|
3843
|
+
variant: variant2,
|
|
4496
3844
|
size,
|
|
4497
3845
|
className: cn(
|
|
4498
|
-
"
|
|
4499
|
-
orientation === "horizontal" ? "-
|
|
3846
|
+
"carousel-button carousel-button--next",
|
|
3847
|
+
orientation === "horizontal" ? "carousel-button--horizontal" : "carousel-button--vertical",
|
|
4500
3848
|
className
|
|
4501
3849
|
),
|
|
4502
3850
|
disabled: !canScrollNext,
|
|
4503
3851
|
onClick: scrollNext,
|
|
4504
3852
|
...props,
|
|
4505
3853
|
children: [
|
|
4506
|
-
/* @__PURE__ */ jsx(ArrowRight, { className: "
|
|
3854
|
+
/* @__PURE__ */ jsx(ArrowRight, { className: "icon-4" }),
|
|
4507
3855
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Next slide" })
|
|
4508
3856
|
]
|
|
4509
3857
|
}
|
|
@@ -4519,21 +3867,18 @@ const ToastViewport = React.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
4519
3867
|
ToastPrimitives.Viewport,
|
|
4520
3868
|
{
|
|
4521
3869
|
ref,
|
|
4522
|
-
className: cn(
|
|
4523
|
-
"fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
|
|
4524
|
-
className
|
|
4525
|
-
),
|
|
3870
|
+
className: cn("toast-viewport", className),
|
|
4526
3871
|
...props
|
|
4527
3872
|
}
|
|
4528
3873
|
));
|
|
4529
3874
|
ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
|
|
4530
3875
|
const toastVariants = cva(
|
|
4531
|
-
"
|
|
3876
|
+
"toast",
|
|
4532
3877
|
{
|
|
4533
3878
|
variants: {
|
|
4534
3879
|
variant: {
|
|
4535
|
-
default: "
|
|
4536
|
-
destructive: "destructive
|
|
3880
|
+
default: "toast--default",
|
|
3881
|
+
destructive: "toast--destructive"
|
|
4537
3882
|
}
|
|
4538
3883
|
},
|
|
4539
3884
|
defaultVariants: {
|
|
@@ -4541,12 +3886,12 @@ const toastVariants = cva(
|
|
|
4541
3886
|
}
|
|
4542
3887
|
}
|
|
4543
3888
|
);
|
|
4544
|
-
const Toast = React.forwardRef(({ className, variant, ...props }, ref) => {
|
|
3889
|
+
const Toast = React.forwardRef(({ className, variant: variant2, ...props }, ref) => {
|
|
4545
3890
|
return /* @__PURE__ */ jsx(
|
|
4546
3891
|
ToastPrimitives.Root,
|
|
4547
3892
|
{
|
|
4548
3893
|
ref,
|
|
4549
|
-
className: cn(toastVariants({ variant }), className),
|
|
3894
|
+
className: cn(toastVariants({ variant: variant2 }), className),
|
|
4550
3895
|
...props
|
|
4551
3896
|
}
|
|
4552
3897
|
);
|
|
@@ -4556,10 +3901,7 @@ const ToastAction = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
4556
3901
|
ToastPrimitives.Action,
|
|
4557
3902
|
{
|
|
4558
3903
|
ref,
|
|
4559
|
-
className: cn(
|
|
4560
|
-
"inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 hover:group-[.destructive]:border-destructive/30 hover:group-[.destructive]:bg-destructive hover:group-[.destructive]:text-destructive-foreground focus:group-[.destructive]:ring-destructive",
|
|
4561
|
-
className
|
|
4562
|
-
),
|
|
3904
|
+
className: cn("toast-action", className),
|
|
4563
3905
|
...props
|
|
4564
3906
|
}
|
|
4565
3907
|
));
|
|
@@ -4568,13 +3910,10 @@ const ToastClose = React.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
4568
3910
|
ToastPrimitives.Close,
|
|
4569
3911
|
{
|
|
4570
3912
|
ref,
|
|
4571
|
-
className: cn(
|
|
4572
|
-
"absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-hidden focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 hover:group-[.destructive]:text-red-50 focus:group-[.destructive]:ring-red-400 focus:group-[.destructive]:ring-offset-red-600",
|
|
4573
|
-
className
|
|
4574
|
-
),
|
|
3913
|
+
className: cn("toast-close", className),
|
|
4575
3914
|
"toast-close": "",
|
|
4576
3915
|
...props,
|
|
4577
|
-
children: /* @__PURE__ */ jsx(X, { className: "
|
|
3916
|
+
children: /* @__PURE__ */ jsx(X, { className: "icon-4" })
|
|
4578
3917
|
}
|
|
4579
3918
|
));
|
|
4580
3919
|
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
@@ -4582,7 +3921,7 @@ const ToastTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
4582
3921
|
ToastPrimitives.Title,
|
|
4583
3922
|
{
|
|
4584
3923
|
ref,
|
|
4585
|
-
className: cn("
|
|
3924
|
+
className: cn("toast-title", className),
|
|
4586
3925
|
...props
|
|
4587
3926
|
}
|
|
4588
3927
|
));
|
|
@@ -4591,7 +3930,7 @@ const ToastDescription = React.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
4591
3930
|
ToastPrimitives.Description,
|
|
4592
3931
|
{
|
|
4593
3932
|
ref,
|
|
4594
|
-
className: cn("
|
|
3933
|
+
className: cn("toast-description", className),
|
|
4595
3934
|
...props
|
|
4596
3935
|
}
|
|
4597
3936
|
));
|
|
@@ -4617,17 +3956,17 @@ const addToRemoveQueue = (toastId) => {
|
|
|
4617
3956
|
}, TOAST_REMOVE_DELAY);
|
|
4618
3957
|
toastTimeouts.set(toastId, timeout);
|
|
4619
3958
|
};
|
|
4620
|
-
const reducer = (
|
|
3959
|
+
const reducer = (state2, action) => {
|
|
4621
3960
|
switch (action.type) {
|
|
4622
3961
|
case "ADD_TOAST":
|
|
4623
3962
|
return {
|
|
4624
|
-
...
|
|
4625
|
-
toasts: [action.toast, ...
|
|
3963
|
+
...state2,
|
|
3964
|
+
toasts: [action.toast, ...state2.toasts].slice(0, TOAST_LIMIT)
|
|
4626
3965
|
};
|
|
4627
3966
|
case "UPDATE_TOAST":
|
|
4628
3967
|
return {
|
|
4629
|
-
...
|
|
4630
|
-
toasts:
|
|
3968
|
+
...state2,
|
|
3969
|
+
toasts: state2.toasts.map(
|
|
4631
3970
|
(t) => t.id === action.toast.id ? { ...t, ...action.toast } : t
|
|
4632
3971
|
)
|
|
4633
3972
|
};
|
|
@@ -4636,13 +3975,13 @@ const reducer = (state, action) => {
|
|
|
4636
3975
|
if (toastId) {
|
|
4637
3976
|
addToRemoveQueue(toastId);
|
|
4638
3977
|
} else {
|
|
4639
|
-
|
|
3978
|
+
state2.toasts.forEach((toast2) => {
|
|
4640
3979
|
addToRemoveQueue(toast2.id);
|
|
4641
3980
|
});
|
|
4642
3981
|
}
|
|
4643
3982
|
return {
|
|
4644
|
-
...
|
|
4645
|
-
toasts:
|
|
3983
|
+
...state2,
|
|
3984
|
+
toasts: state2.toasts.map(
|
|
4646
3985
|
(t) => t.id === toastId || toastId === void 0 ? {
|
|
4647
3986
|
...t,
|
|
4648
3987
|
open: false
|
|
@@ -4653,13 +3992,13 @@ const reducer = (state, action) => {
|
|
|
4653
3992
|
case "REMOVE_TOAST":
|
|
4654
3993
|
if (action.toastId === void 0) {
|
|
4655
3994
|
return {
|
|
4656
|
-
...
|
|
3995
|
+
...state2,
|
|
4657
3996
|
toasts: []
|
|
4658
3997
|
};
|
|
4659
3998
|
}
|
|
4660
3999
|
return {
|
|
4661
|
-
...
|
|
4662
|
-
toasts:
|
|
4000
|
+
...state2,
|
|
4001
|
+
toasts: state2.toasts.filter((t) => t.id !== action.toastId)
|
|
4663
4002
|
};
|
|
4664
4003
|
}
|
|
4665
4004
|
};
|
|
@@ -4696,7 +4035,7 @@ function toast({ ...props }) {
|
|
|
4696
4035
|
};
|
|
4697
4036
|
}
|
|
4698
4037
|
function useToast() {
|
|
4699
|
-
const [
|
|
4038
|
+
const [state2, setState] = React.useState(memoryState);
|
|
4700
4039
|
React.useEffect(() => {
|
|
4701
4040
|
listeners.push(setState);
|
|
4702
4041
|
return () => {
|
|
@@ -4705,9 +4044,9 @@ function useToast() {
|
|
|
4705
4044
|
listeners.splice(index, 1);
|
|
4706
4045
|
}
|
|
4707
4046
|
};
|
|
4708
|
-
}, [
|
|
4047
|
+
}, [state2]);
|
|
4709
4048
|
return {
|
|
4710
|
-
...
|
|
4049
|
+
...state2,
|
|
4711
4050
|
toast,
|
|
4712
4051
|
dismiss: (toastId) => dispatch({ type: "DISMISS_TOAST", toastId })
|
|
4713
4052
|
};
|
|
@@ -4717,7 +4056,7 @@ function Toaster$1() {
|
|
|
4717
4056
|
return /* @__PURE__ */ jsxs(ToastProvider, { children: [
|
|
4718
4057
|
toasts.map(function({ id, title, description, action, ...props }) {
|
|
4719
4058
|
return /* @__PURE__ */ jsxs(Toast, { ...props, children: [
|
|
4720
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
4059
|
+
/* @__PURE__ */ jsxs("div", { className: "toast-content", children: [
|
|
4721
4060
|
title && /* @__PURE__ */ jsx(ToastTitle, { children: title }),
|
|
4722
4061
|
description && /* @__PURE__ */ jsx(ToastDescription, { children: description })
|
|
4723
4062
|
] }),
|
|
@@ -4746,7 +4085,7 @@ const ChartContainer = React.forwardRef(({ id, className, children, config, ...p
|
|
|
4746
4085
|
"data-chart": chartId,
|
|
4747
4086
|
ref,
|
|
4748
4087
|
className: cn(
|
|
4749
|
-
"
|
|
4088
|
+
"chart-container",
|
|
4750
4089
|
className
|
|
4751
4090
|
),
|
|
4752
4091
|
...props,
|
|
@@ -4812,12 +4151,12 @@ const ChartTooltipContent = React.forwardRef(
|
|
|
4812
4151
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
4813
4152
|
const value = !labelKey && typeof label === "string" ? ((_a = config[label]) == null ? void 0 : _a.label) || label : itemConfig == null ? void 0 : itemConfig.label;
|
|
4814
4153
|
if (labelFormatter) {
|
|
4815
|
-
return /* @__PURE__ */ jsx("div", { className: cn("
|
|
4154
|
+
return /* @__PURE__ */ jsx("div", { className: cn("chart-tooltip-label", labelClassName), children: labelFormatter(value, payload) });
|
|
4816
4155
|
}
|
|
4817
4156
|
if (!value) {
|
|
4818
4157
|
return null;
|
|
4819
4158
|
}
|
|
4820
|
-
return /* @__PURE__ */ jsx("div", { className: cn("
|
|
4159
|
+
return /* @__PURE__ */ jsx("div", { className: cn("chart-tooltip-label", labelClassName), children: value });
|
|
4821
4160
|
}, [
|
|
4822
4161
|
label,
|
|
4823
4162
|
labelFormatter,
|
|
@@ -4836,12 +4175,12 @@ const ChartTooltipContent = React.forwardRef(
|
|
|
4836
4175
|
{
|
|
4837
4176
|
ref,
|
|
4838
4177
|
className: cn(
|
|
4839
|
-
"
|
|
4178
|
+
"chart-tooltip",
|
|
4840
4179
|
className
|
|
4841
4180
|
),
|
|
4842
4181
|
children: [
|
|
4843
4182
|
!nestLabel ? tooltipLabel : null,
|
|
4844
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
4183
|
+
/* @__PURE__ */ jsx("div", { className: "chart-tooltip-content", children: payload.map((item, index) => {
|
|
4845
4184
|
const key = `${nameKey || item.name || item.dataKey || "value"}`;
|
|
4846
4185
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
4847
4186
|
const indicatorColor = color || item.payload.fill || item.color;
|
|
@@ -4849,20 +4188,20 @@ const ChartTooltipContent = React.forwardRef(
|
|
|
4849
4188
|
"div",
|
|
4850
4189
|
{
|
|
4851
4190
|
className: cn(
|
|
4852
|
-
"
|
|
4853
|
-
indicator === "dot" && "
|
|
4191
|
+
"chart-tooltip-item",
|
|
4192
|
+
indicator === "dot" && "chart-tooltip-item--dot"
|
|
4854
4193
|
),
|
|
4855
4194
|
children: formatter && (item == null ? void 0 : item.value) !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4856
4195
|
(itemConfig == null ? void 0 : itemConfig.icon) ? /* @__PURE__ */ jsx(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ jsx(
|
|
4857
4196
|
"div",
|
|
4858
4197
|
{
|
|
4859
4198
|
className: cn(
|
|
4860
|
-
"
|
|
4199
|
+
"chart-tooltip-indicator",
|
|
4861
4200
|
{
|
|
4862
|
-
"
|
|
4863
|
-
"
|
|
4864
|
-
"
|
|
4865
|
-
"
|
|
4201
|
+
"chart-tooltip-indicator--dot": indicator === "dot",
|
|
4202
|
+
"chart-tooltip-indicator--line": indicator === "line",
|
|
4203
|
+
"chart-tooltip-indicator--dashed": indicator === "dashed",
|
|
4204
|
+
"chart-tooltip-indicator--dashed-nested": nestLabel && indicator === "dashed"
|
|
4866
4205
|
}
|
|
4867
4206
|
),
|
|
4868
4207
|
style: {
|
|
@@ -4875,15 +4214,15 @@ const ChartTooltipContent = React.forwardRef(
|
|
|
4875
4214
|
"div",
|
|
4876
4215
|
{
|
|
4877
4216
|
className: cn(
|
|
4878
|
-
"
|
|
4879
|
-
nestLabel ? "
|
|
4217
|
+
"chart-tooltip-item-content",
|
|
4218
|
+
nestLabel ? "chart-tooltip-item-content--nested" : ""
|
|
4880
4219
|
),
|
|
4881
4220
|
children: [
|
|
4882
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
4221
|
+
/* @__PURE__ */ jsxs("div", { className: "chart-tooltip-item-details", children: [
|
|
4883
4222
|
nestLabel ? tooltipLabel : null,
|
|
4884
|
-
/* @__PURE__ */ jsx("span", { className: "
|
|
4223
|
+
/* @__PURE__ */ jsx("span", { className: "chart-tooltip-item-label", children: (itemConfig == null ? void 0 : itemConfig.label) || item.name })
|
|
4885
4224
|
] }),
|
|
4886
|
-
item.value && /* @__PURE__ */ jsx("span", { className: "
|
|
4225
|
+
item.value && /* @__PURE__ */ jsx("span", { className: "chart-tooltip-item-value", children: item.value.toLocaleString() })
|
|
4887
4226
|
]
|
|
4888
4227
|
}
|
|
4889
4228
|
)
|
|
@@ -4910,8 +4249,8 @@ const ChartLegendContent = React.forwardRef(
|
|
|
4910
4249
|
{
|
|
4911
4250
|
ref,
|
|
4912
4251
|
className: cn(
|
|
4913
|
-
"
|
|
4914
|
-
verticalAlign === "top" ? "
|
|
4252
|
+
"chart-legend",
|
|
4253
|
+
verticalAlign === "top" ? "chart-legend--top" : "chart-legend--bottom",
|
|
4915
4254
|
className
|
|
4916
4255
|
),
|
|
4917
4256
|
children: payload.map((item) => {
|
|
@@ -4920,14 +4259,12 @@ const ChartLegendContent = React.forwardRef(
|
|
|
4920
4259
|
return /* @__PURE__ */ jsxs(
|
|
4921
4260
|
"div",
|
|
4922
4261
|
{
|
|
4923
|
-
className:
|
|
4924
|
-
"flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"
|
|
4925
|
-
),
|
|
4262
|
+
className: "chart-legend-item",
|
|
4926
4263
|
children: [
|
|
4927
4264
|
(itemConfig == null ? void 0 : itemConfig.icon) && !hideIcon ? /* @__PURE__ */ jsx(itemConfig.icon, {}) : /* @__PURE__ */ jsx(
|
|
4928
4265
|
"div",
|
|
4929
4266
|
{
|
|
4930
|
-
className: "
|
|
4267
|
+
className: "chart-legend-indicator",
|
|
4931
4268
|
style: {
|
|
4932
4269
|
backgroundColor: item.color
|
|
4933
4270
|
}
|
|
@@ -4957,305 +4294,19 @@ function getPayloadConfigFromPayload(config, payload, key) {
|
|
|
4957
4294
|
}
|
|
4958
4295
|
return configLabelKey in config ? config[configLabelKey] : config[key];
|
|
4959
4296
|
}
|
|
4960
|
-
const defaultCertifications = [
|
|
4961
|
-
{ name: "Platinum", locations: 1, color: "#A8A7AE", icon: "platinum" },
|
|
4962
|
-
{ name: "Gold", locations: 1, color: "#D7C686", icon: "gold" },
|
|
4963
|
-
{ name: "Silver", locations: 1, color: "#C0C2C4", icon: "silver" },
|
|
4964
|
-
{ name: "Bronze", locations: 1, color: "#D1A778", icon: "bronze" },
|
|
4965
|
-
{
|
|
4966
|
-
name: "Precertified",
|
|
4967
|
-
locations: 1,
|
|
4968
|
-
color: "#44B0BC",
|
|
4969
|
-
icon: "precertified"
|
|
4970
|
-
}
|
|
4971
|
-
];
|
|
4972
|
-
const defaultRatings = [
|
|
4973
|
-
{
|
|
4974
|
-
name: "Health-Safety",
|
|
4975
|
-
locations: 1,
|
|
4976
|
-
color: "#7FB3DC",
|
|
4977
|
-
percentage: 50,
|
|
4978
|
-
icon: "health"
|
|
4979
|
-
},
|
|
4980
|
-
{
|
|
4981
|
-
name: "Equity",
|
|
4982
|
-
locations: 1,
|
|
4983
|
-
color: "#41937D",
|
|
4984
|
-
percentage: 67,
|
|
4985
|
-
icon: "equity"
|
|
4986
|
-
},
|
|
4987
|
-
{
|
|
4988
|
-
name: "Performance",
|
|
4989
|
-
locations: "Not Pursued",
|
|
4990
|
-
color: "#0B667F",
|
|
4991
|
-
percentage: 2,
|
|
4992
|
-
icon: "performance",
|
|
4993
|
-
inactive: true
|
|
4994
|
-
},
|
|
4995
|
-
{
|
|
4996
|
-
name: "Coworking",
|
|
4997
|
-
locations: "Not Pursued",
|
|
4998
|
-
color: "#AD7DA3",
|
|
4999
|
-
percentage: 2,
|
|
5000
|
-
icon: "coworking",
|
|
5001
|
-
inactive: true
|
|
5002
|
-
}
|
|
5003
|
-
];
|
|
5004
|
-
const WELLDashboard = React.forwardRef(
|
|
5005
|
-
({
|
|
5006
|
-
certifiedPercentage = 60,
|
|
5007
|
-
certifications = defaultCertifications,
|
|
5008
|
-
ratings = defaultRatings,
|
|
5009
|
-
className
|
|
5010
|
-
}, ref) => {
|
|
5011
|
-
return /* @__PURE__ */ jsxs("div", { ref, className: cn("flex flex-col gap-4", className), children: [
|
|
5012
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col lg:flex-row gap-4", children: [
|
|
5013
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0 rounded-md border border-[#DEDEE5] bg-white/0 p-4 shadow-xs", children: [
|
|
5014
|
-
/* @__PURE__ */ jsx(
|
|
5015
|
-
"h2",
|
|
5016
|
-
{
|
|
5017
|
-
className: "text-xl font-medium text-[#3D3E46] text-center mb-6",
|
|
5018
|
-
style: { fontFamily: "'DM Sans', sans-serif" },
|
|
5019
|
-
children: "WELL Certified Locations"
|
|
5020
|
-
}
|
|
5021
|
-
),
|
|
5022
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col md:flex-row justify-center items-center gap-10", children: [
|
|
5023
|
-
/* @__PURE__ */ jsxs("div", { className: "relative w-60 h-60 shrink-0", children: [
|
|
5024
|
-
/* @__PURE__ */ jsxs(
|
|
5025
|
-
"svg",
|
|
5026
|
-
{
|
|
5027
|
-
width: "240",
|
|
5028
|
-
height: "240",
|
|
5029
|
-
viewBox: "0 0 240 240",
|
|
5030
|
-
className: "transform -rotate-90",
|
|
5031
|
-
children: [
|
|
5032
|
-
/* @__PURE__ */ jsx("circle", { cx: "120", cy: "120", r: "120", fill: "#F5F9FB" }),
|
|
5033
|
-
/* @__PURE__ */ jsx(
|
|
5034
|
-
"circle",
|
|
5035
|
-
{
|
|
5036
|
-
cx: "120",
|
|
5037
|
-
cy: "120",
|
|
5038
|
-
r: "100",
|
|
5039
|
-
fill: "none",
|
|
5040
|
-
stroke: "#327DB9",
|
|
5041
|
-
strokeWidth: "20",
|
|
5042
|
-
strokeDasharray: `${certifiedPercentage / 100 * 628} 628`,
|
|
5043
|
-
strokeLinecap: "round"
|
|
5044
|
-
}
|
|
5045
|
-
),
|
|
5046
|
-
certifications.map((cert, index) => {
|
|
5047
|
-
const totalSegments = certifications.length;
|
|
5048
|
-
const segmentAngle = certifiedPercentage / 100 * 360 / totalSegments;
|
|
5049
|
-
const startAngle = index * segmentAngle;
|
|
5050
|
-
const arcLength = segmentAngle * Math.PI * 100 / 180;
|
|
5051
|
-
const offset = startAngle * Math.PI * 100 / 180;
|
|
5052
|
-
return /* @__PURE__ */ jsx(
|
|
5053
|
-
"circle",
|
|
5054
|
-
{
|
|
5055
|
-
cx: "120",
|
|
5056
|
-
cy: "120",
|
|
5057
|
-
r: "100",
|
|
5058
|
-
fill: "none",
|
|
5059
|
-
stroke: cert.color,
|
|
5060
|
-
strokeWidth: "20",
|
|
5061
|
-
strokeDasharray: `${arcLength} 628`,
|
|
5062
|
-
strokeDashoffset: -offset,
|
|
5063
|
-
opacity: "0.7"
|
|
5064
|
-
},
|
|
5065
|
-
cert.name
|
|
5066
|
-
);
|
|
5067
|
-
}),
|
|
5068
|
-
/* @__PURE__ */ jsx(
|
|
5069
|
-
"circle",
|
|
5070
|
-
{
|
|
5071
|
-
cx: "120",
|
|
5072
|
-
cy: "120",
|
|
5073
|
-
r: "80",
|
|
5074
|
-
fill: "white",
|
|
5075
|
-
filter: "drop-shadow(0 0 16px rgba(0,0,0,0.04))"
|
|
5076
|
-
}
|
|
5077
|
-
)
|
|
5078
|
-
]
|
|
5079
|
-
}
|
|
5080
|
-
),
|
|
5081
|
-
/* @__PURE__ */ jsxs("div", { className: "absolute inset-0 flex flex-col items-center justify-center", children: [
|
|
5082
|
-
/* @__PURE__ */ jsxs(
|
|
5083
|
-
"div",
|
|
5084
|
-
{
|
|
5085
|
-
className: "text-5xl font-medium text-[#327DB9]",
|
|
5086
|
-
style: { fontFamily: "'DM Sans', sans-serif" },
|
|
5087
|
-
children: [
|
|
5088
|
-
certifiedPercentage,
|
|
5089
|
-
"%"
|
|
5090
|
-
]
|
|
5091
|
-
}
|
|
5092
|
-
),
|
|
5093
|
-
/* @__PURE__ */ jsx(
|
|
5094
|
-
"div",
|
|
5095
|
-
{
|
|
5096
|
-
className: "text-sm font-medium text-[#78777F] mt-1",
|
|
5097
|
-
style: { fontFamily: "'DM Sans', sans-serif" },
|
|
5098
|
-
children: "Certified"
|
|
5099
|
-
}
|
|
5100
|
-
)
|
|
5101
|
-
] })
|
|
5102
|
-
] }),
|
|
5103
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4 min-w-[160px]", children: certifications.map((cert) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
5104
|
-
/* @__PURE__ */ jsx(
|
|
5105
|
-
"div",
|
|
5106
|
-
{
|
|
5107
|
-
className: "w-10 h-10 rounded-full shrink-0 flex items-center justify-center",
|
|
5108
|
-
style: { backgroundColor: cert.color },
|
|
5109
|
-
children: cert.icon === "precertified" && /* @__PURE__ */ jsx("div", { className: "w-9 h-6 bg-[#44B0BC] rounded-sm flex items-center justify-center text-white text-[10px] font-bold", children: "WELL" })
|
|
5110
|
-
}
|
|
5111
|
-
),
|
|
5112
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-0.5 flex-1", children: [
|
|
5113
|
-
/* @__PURE__ */ jsx(
|
|
5114
|
-
"div",
|
|
5115
|
-
{
|
|
5116
|
-
className: "text-base font-medium text-[#3D3E46]",
|
|
5117
|
-
style: { fontFamily: "'DM Sans', sans-serif" },
|
|
5118
|
-
children: cert.name
|
|
5119
|
-
}
|
|
5120
|
-
),
|
|
5121
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
5122
|
-
/* @__PURE__ */ jsx(
|
|
5123
|
-
Building2,
|
|
5124
|
-
{
|
|
5125
|
-
size: 16,
|
|
5126
|
-
className: "text-[#327DB9]",
|
|
5127
|
-
strokeWidth: 1.2
|
|
5128
|
-
}
|
|
5129
|
-
),
|
|
5130
|
-
/* @__PURE__ */ jsxs(
|
|
5131
|
-
"span",
|
|
5132
|
-
{
|
|
5133
|
-
className: "text-xs font-medium text-[#327DB9]",
|
|
5134
|
-
style: { fontFamily: "'DM Sans', sans-serif" },
|
|
5135
|
-
children: [
|
|
5136
|
-
cert.locations,
|
|
5137
|
-
" Location",
|
|
5138
|
-
cert.locations !== 1 ? "s" : ""
|
|
5139
|
-
]
|
|
5140
|
-
}
|
|
5141
|
-
)
|
|
5142
|
-
] })
|
|
5143
|
-
] })
|
|
5144
|
-
] }, cert.name)) })
|
|
5145
|
-
] })
|
|
5146
|
-
] }),
|
|
5147
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0 rounded-md border border-[#DEDEE5] bg-white/0 p-4 shadow-xs", children: [
|
|
5148
|
-
/* @__PURE__ */ jsx(
|
|
5149
|
-
"h2",
|
|
5150
|
-
{
|
|
5151
|
-
className: "text-xl font-medium text-[#3D3E46] text-center mb-6",
|
|
5152
|
-
style: { fontFamily: "'DM Sans', sans-serif" },
|
|
5153
|
-
children: "WELL Rated Locations"
|
|
5154
|
-
}
|
|
5155
|
-
),
|
|
5156
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col md:flex-row justify-center items-center gap-10", children: [
|
|
5157
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-end gap-4 h-60 px-4", children: [
|
|
5158
|
-
ratings.map((rating) => /* @__PURE__ */ jsxs("div", { className: "w-10 h-60 relative", children: [
|
|
5159
|
-
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 rounded-t border border-[#DEDEE5] bg-[#F5F9FB]" }),
|
|
5160
|
-
/* @__PURE__ */ jsx(
|
|
5161
|
-
"div",
|
|
5162
|
-
{
|
|
5163
|
-
className: "absolute bottom-0 left-0 right-0 rounded-t transition-all",
|
|
5164
|
-
style: {
|
|
5165
|
-
backgroundColor: rating.color,
|
|
5166
|
-
height: `${rating.percentage}%`
|
|
5167
|
-
}
|
|
5168
|
-
}
|
|
5169
|
-
)
|
|
5170
|
-
] }, rating.name)),
|
|
5171
|
-
/* @__PURE__ */ jsx("div", { className: "w-px h-60 bg-[#DEDEE5]" })
|
|
5172
|
-
] }),
|
|
5173
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4 min-w-[160px]", children: ratings.map((rating) => /* @__PURE__ */ jsxs(
|
|
5174
|
-
"div",
|
|
5175
|
-
{
|
|
5176
|
-
className: cn(
|
|
5177
|
-
"flex items-center gap-2",
|
|
5178
|
-
rating.inactive && "opacity-50"
|
|
5179
|
-
),
|
|
5180
|
-
children: [
|
|
5181
|
-
/* @__PURE__ */ jsx(
|
|
5182
|
-
"div",
|
|
5183
|
-
{
|
|
5184
|
-
className: "w-10 h-10 rounded-full shrink-0 flex items-center justify-center",
|
|
5185
|
-
style: { backgroundColor: rating.color }
|
|
5186
|
-
}
|
|
5187
|
-
),
|
|
5188
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-0.5 flex-1", children: [
|
|
5189
|
-
/* @__PURE__ */ jsx(
|
|
5190
|
-
"div",
|
|
5191
|
-
{
|
|
5192
|
-
className: "text-base font-medium text-[#3D3E46]",
|
|
5193
|
-
style: { fontFamily: "'DM Sans', sans-serif" },
|
|
5194
|
-
children: rating.name
|
|
5195
|
-
}
|
|
5196
|
-
),
|
|
5197
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
5198
|
-
/* @__PURE__ */ jsx(
|
|
5199
|
-
Building2,
|
|
5200
|
-
{
|
|
5201
|
-
size: 16,
|
|
5202
|
-
className: rating.inactive ? "text-[#78777F]" : "text-[#327DB9]",
|
|
5203
|
-
strokeWidth: 1.2
|
|
5204
|
-
}
|
|
5205
|
-
),
|
|
5206
|
-
/* @__PURE__ */ jsx(
|
|
5207
|
-
"span",
|
|
5208
|
-
{
|
|
5209
|
-
className: cn(
|
|
5210
|
-
"text-xs font-medium",
|
|
5211
|
-
rating.inactive ? "text-[#78777F]" : "text-[#327DB9]"
|
|
5212
|
-
),
|
|
5213
|
-
style: { fontFamily: "'DM Sans', sans-serif" },
|
|
5214
|
-
children: typeof rating.locations === "number" ? `${rating.locations} Location${rating.locations !== 1 ? "s" : ""}` : rating.locations
|
|
5215
|
-
}
|
|
5216
|
-
)
|
|
5217
|
-
] })
|
|
5218
|
-
] })
|
|
5219
|
-
]
|
|
5220
|
-
},
|
|
5221
|
-
rating.name
|
|
5222
|
-
)) })
|
|
5223
|
-
] })
|
|
5224
|
-
] })
|
|
5225
|
-
] }),
|
|
5226
|
-
/* @__PURE__ */ jsxs(
|
|
5227
|
-
"p",
|
|
5228
|
-
{
|
|
5229
|
-
className: "text-[10px] leading-3 font-medium text-[#78777F] text-center",
|
|
5230
|
-
style: { fontFamily: "'DM Sans', sans-serif" },
|
|
5231
|
-
children: [
|
|
5232
|
-
"Achievement metrics reflect all active program achievements, as of",
|
|
5233
|
-
" ",
|
|
5234
|
-
(/* @__PURE__ */ new Date()).toLocaleDateString("en-US", {
|
|
5235
|
-
month: "long",
|
|
5236
|
-
day: "numeric",
|
|
5237
|
-
year: "numeric"
|
|
5238
|
-
})
|
|
5239
|
-
]
|
|
5240
|
-
}
|
|
5241
|
-
)
|
|
5242
|
-
] });
|
|
5243
|
-
}
|
|
5244
|
-
);
|
|
5245
|
-
WELLDashboard.displayName = "WELLDashboard";
|
|
5246
4297
|
const Toaster = ({ ...props }) => {
|
|
5247
4298
|
const { theme = "system" } = useTheme();
|
|
5248
4299
|
return /* @__PURE__ */ jsx(
|
|
5249
4300
|
Toaster$2,
|
|
5250
4301
|
{
|
|
5251
4302
|
theme,
|
|
5252
|
-
className: "toaster
|
|
4303
|
+
className: "toaster",
|
|
5253
4304
|
toastOptions: {
|
|
5254
4305
|
classNames: {
|
|
5255
|
-
toast: "
|
|
5256
|
-
description: "
|
|
5257
|
-
actionButton: "
|
|
5258
|
-
cancelButton: "
|
|
4306
|
+
toast: "toast",
|
|
4307
|
+
description: "toast-description",
|
|
4308
|
+
actionButton: "toast-action",
|
|
4309
|
+
cancelButton: "toast-cancel"
|
|
5259
4310
|
}
|
|
5260
4311
|
},
|
|
5261
4312
|
...props
|
|
@@ -5490,7 +4541,6 @@ export {
|
|
|
5490
4541
|
TooltipContent,
|
|
5491
4542
|
TooltipProvider,
|
|
5492
4543
|
TooltipTrigger,
|
|
5493
|
-
WELLDashboard,
|
|
5494
4544
|
badgeVariants,
|
|
5495
4545
|
buttonVariants,
|
|
5496
4546
|
cn,
|