@syscore/ui-library 1.1.12 → 1.1.13
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/icons/AchievementBadges.tsx +33 -0
- package/client/components/icons/ConceptIcons.tsx +169 -22
- package/client/components/icons/NavLogo.tsx +4 -4
- package/client/components/icons/ProviderBadges.tsx +28 -28
- package/client/components/icons/ProviderSeals.tsx +35 -35
- package/client/components/icons/StandardLogo.tsx +47 -0
- package/client/components/icons/UtilityChevronDown.tsx +1 -1
- package/client/components/icons/UtilityClearRegular.tsx +43 -0
- package/client/components/icons/UtilityCompare.tsx +71 -0
- package/client/components/icons/UtilityHome.tsx +26 -0
- package/client/components/icons/UtilityReset.tsx +7 -7
- package/client/components/icons/UtilitySave.tsx +35 -0
- package/client/components/icons/UtilityScopeLarge.tsx +86 -0
- package/client/components/icons/UtilityShow.tsx +41 -0
- package/client/components/icons/UtilityTarget.tsx +21 -0
- package/client/components/icons/UtilityTargetActive.tsx +34 -0
- package/client/components/icons/UtilityText.tsx +8 -8
- package/client/components/ui/breadcrumb.tsx +26 -4
- package/client/components/ui/button.tsx +30 -18
- package/client/components/ui/card.tsx +2 -2
- package/client/components/ui/code-badge.tsx +25 -0
- package/client/components/ui/dialog.tsx +4 -4
- package/client/components/ui/input.tsx +53 -9
- package/client/components/ui/label.tsx +2 -2
- package/client/components/ui/{Navigation.tsx → navigation.tsx} +291 -250
- package/client/components/ui/select.tsx +20 -20
- package/client/components/ui/tabs.tsx +27 -178
- package/client/components/ui/{Tag.tsx → tag.tsx} +11 -10
- package/client/components/ui/textarea.tsx +1 -1
- package/client/components/ui/toggle-group.tsx +19 -2
- package/client/components/ui/toggle.tsx +2 -2
- package/client/components/ui/tooltip.tsx +148 -8
- package/client/global.css +18 -11
- package/client/ui/AspectRatio.stories.tsx +1 -1
- package/client/ui/Button.stories.tsx +5 -5
- package/client/ui/Card.stories.tsx +223 -2
- package/client/ui/CodeBadge.stories.tsx +76 -0
- package/client/ui/Dialog.stories.tsx +52 -5
- package/client/ui/Icons.stories.tsx +31 -31
- package/client/ui/Input.stories.tsx +125 -0
- package/client/ui/Label.stories.tsx +8 -11
- package/client/ui/Navigation.stories.tsx +1 -1
- package/client/ui/RadioGroup/RadioGroup.stories.tsx +1 -1
- package/client/ui/SearchField.stories.tsx +1 -1
- package/client/ui/{Select/Select.stories.tsx → Select.stories.tsx} +2 -2
- package/client/ui/{Switch/Switch.stories.tsx → Switch.stories.tsx} +3 -3
- package/client/ui/Tabs.stories.tsx +174 -10
- package/client/ui/Tag.stories.tsx +48 -1
- package/client/ui/{Textarea/Textarea.stories.tsx → Textarea.stories.tsx} +9 -10
- package/client/ui/Toggle.stories.tsx +3 -3
- package/client/ui/Tooltip.stories.tsx +28 -4
- package/client/ui/WELLDashboard/WELLDashboard.stories.tsx +1 -1
- package/dist/ui/index.cjs.js +1 -1
- package/dist/ui/index.d.ts +4 -5
- package/dist/ui/index.es.js +460 -518
- package/package.json +2 -2
- package/client/components/ui/StrategyTable.tsx +0 -303
- package/client/ui/Input/Input.stories.tsx +0 -69
- package/client/ui/StrategyTable.stories.tsx +0 -138
- /package/client/components/ui/{SearchField.tsx → search.tsx} +0 -0
- /package/client/hooks/{UseTabs.tsx → use-tabs.tsx} +0 -0
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,
|
|
5
|
+
import { ChevronDown, GripVertical, X, PanelLeft, Check, Circle, Dot, ChevronLeft, ChevronRight, XIcon, Search, MoreHorizontal, ArrowLeft, ArrowRight, Building2 } 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";
|
|
@@ -87,7 +87,7 @@ const Card = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
87
87
|
{
|
|
88
88
|
ref,
|
|
89
89
|
className: cn(
|
|
90
|
-
"rounded-lg border border-gray-100 bg-cyan-50
|
|
90
|
+
"rounded-lg border border-gray-100 bg-cyan-50 p-6 space-y-6",
|
|
91
91
|
className
|
|
92
92
|
),
|
|
93
93
|
...props
|
|
@@ -298,12 +298,14 @@ function useIsMobile() {
|
|
|
298
298
|
}, []);
|
|
299
299
|
return !!isMobile;
|
|
300
300
|
}
|
|
301
|
-
const buttonVariants
|
|
301
|
+
const buttonVariants = cva(
|
|
302
302
|
"group inline-flex items-center justify-center rounded-full transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 cursor-pointer",
|
|
303
303
|
{
|
|
304
304
|
variants: {
|
|
305
305
|
variant: {
|
|
306
306
|
// CTA variants
|
|
307
|
+
clear: "bg-none border-none",
|
|
308
|
+
default: "bg-white border border-gray-gray-100",
|
|
307
309
|
"primary-gradient": "text-white hover:opacity-90 btn-primary-gradient",
|
|
308
310
|
"primary-dark": "bg-cyan-800 text-white hover:bg-cyan-900 focus-visible:ring-cyan-800",
|
|
309
311
|
"secondary-light": "bg-white border border-gray-200 text-cyan-800 hover:bg-gray-50 focus-visible:ring-gray-200",
|
|
@@ -319,7 +321,7 @@ const buttonVariants$1 = cva(
|
|
|
319
321
|
xlarge: "h-16 px-10",
|
|
320
322
|
large: "h-12 px-8",
|
|
321
323
|
utility: "h-8 px-4",
|
|
322
|
-
icon: "size-
|
|
324
|
+
icon: "size-8"
|
|
323
325
|
}
|
|
324
326
|
},
|
|
325
327
|
compoundVariants: [
|
|
@@ -337,43 +339,83 @@ const buttonVariants$1 = cva(
|
|
|
337
339
|
},
|
|
338
340
|
{
|
|
339
341
|
size: "icon",
|
|
340
|
-
className: "p-0 bg-white border border-gray-100 "
|
|
342
|
+
className: "p-0 bg-white border border-gray-100 hover:border-gray-200 hover:scale-[1.02] transition-all duration-200"
|
|
341
343
|
}
|
|
342
344
|
],
|
|
343
345
|
defaultVariants: {
|
|
344
|
-
variant: "
|
|
346
|
+
variant: "default",
|
|
345
347
|
size: "large"
|
|
346
348
|
}
|
|
347
349
|
}
|
|
348
350
|
);
|
|
349
|
-
const
|
|
351
|
+
const sizeTextClasses = {
|
|
352
|
+
xlarge: "body-large",
|
|
353
|
+
large: "body-base",
|
|
354
|
+
utility: "body-small",
|
|
355
|
+
icon: ""
|
|
356
|
+
};
|
|
357
|
+
const Button = React.forwardRef(
|
|
350
358
|
({ className, variant, size, children, style, ...props }, ref) => {
|
|
351
|
-
const
|
|
359
|
+
const textClass = sizeTextClasses[size || "large"];
|
|
352
360
|
return /* @__PURE__ */ jsx(
|
|
353
361
|
"button",
|
|
354
362
|
{
|
|
355
|
-
className: cn(
|
|
363
|
+
className: cn(
|
|
364
|
+
buttonVariants({ variant, size }),
|
|
365
|
+
"cursor-pointer",
|
|
366
|
+
className
|
|
367
|
+
),
|
|
356
368
|
style,
|
|
357
369
|
ref,
|
|
358
370
|
...props,
|
|
359
|
-
children: size === "icon" ? children : /* @__PURE__ */ jsx("span", { className: cn("relative z-10",
|
|
371
|
+
children: size === "icon" ? children : /* @__PURE__ */ jsx("span", { className: cn("relative z-10 font-semibold ", textClass), children })
|
|
360
372
|
}
|
|
361
373
|
);
|
|
362
374
|
}
|
|
363
375
|
);
|
|
364
|
-
Button
|
|
376
|
+
Button.displayName = "Button";
|
|
365
377
|
const Input = React.forwardRef(
|
|
366
|
-
({ className, type, ...props }, ref) => {
|
|
367
|
-
|
|
368
|
-
|
|
378
|
+
({ className, type, startIcon, endIcon, ...props }, ref) => {
|
|
379
|
+
const isReadOnly = props.readOnly;
|
|
380
|
+
const isDisabled = props.disabled;
|
|
381
|
+
return /* @__PURE__ */ jsxs(
|
|
382
|
+
"div",
|
|
369
383
|
{
|
|
370
|
-
type,
|
|
371
384
|
className: cn(
|
|
372
|
-
|
|
385
|
+
// Base wrapper styles (visual input)
|
|
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",
|
|
373
395
|
className
|
|
374
396
|
),
|
|
375
|
-
|
|
376
|
-
|
|
397
|
+
children: [
|
|
398
|
+
startIcon ? /* @__PURE__ */ jsx("div", { className: "mr-3 flex items-center text-muted-foreground", children: startIcon }) : null,
|
|
399
|
+
/* @__PURE__ */ jsx(
|
|
400
|
+
"input",
|
|
401
|
+
{
|
|
402
|
+
type,
|
|
403
|
+
className: cn(
|
|
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
|
+
),
|
|
411
|
+
ref,
|
|
412
|
+
disabled: isDisabled,
|
|
413
|
+
readOnly: isReadOnly,
|
|
414
|
+
...props
|
|
415
|
+
}
|
|
416
|
+
),
|
|
417
|
+
endIcon ? /* @__PURE__ */ jsx("div", { className: "ml-3 flex items-center text-muted-foreground", children: endIcon }) : null
|
|
418
|
+
]
|
|
377
419
|
}
|
|
378
420
|
);
|
|
379
421
|
}
|
|
@@ -488,6 +530,14 @@ function Skeleton({
|
|
|
488
530
|
}
|
|
489
531
|
);
|
|
490
532
|
}
|
|
533
|
+
const TooltipContext = React.createContext({
|
|
534
|
+
trigger: "hover",
|
|
535
|
+
toggle: () => {
|
|
536
|
+
},
|
|
537
|
+
close: () => {
|
|
538
|
+
},
|
|
539
|
+
triggerRef: { current: null }
|
|
540
|
+
});
|
|
491
541
|
function TooltipProvider({
|
|
492
542
|
delayDuration = 0,
|
|
493
543
|
...props
|
|
@@ -502,14 +552,73 @@ function TooltipProvider({
|
|
|
502
552
|
);
|
|
503
553
|
}
|
|
504
554
|
function Tooltip({
|
|
555
|
+
trigger = "hover",
|
|
556
|
+
open: controlledOpen,
|
|
557
|
+
onOpenChange,
|
|
558
|
+
children,
|
|
505
559
|
...props
|
|
506
560
|
}) {
|
|
507
|
-
|
|
561
|
+
const [uncontrolledOpen, setUncontrolledOpen] = React.useState(false);
|
|
562
|
+
const triggerRef = React.useRef(null);
|
|
563
|
+
const isControlled = controlledOpen !== void 0;
|
|
564
|
+
const isOpen = isControlled ? controlledOpen : uncontrolledOpen;
|
|
565
|
+
const handleOpenChange = React.useCallback(
|
|
566
|
+
(newOpen) => {
|
|
567
|
+
if (trigger === "click") return;
|
|
568
|
+
if (!isControlled) {
|
|
569
|
+
setUncontrolledOpen(newOpen);
|
|
570
|
+
}
|
|
571
|
+
onOpenChange == null ? void 0 : onOpenChange(newOpen);
|
|
572
|
+
},
|
|
573
|
+
[isControlled, onOpenChange, trigger]
|
|
574
|
+
);
|
|
575
|
+
const close = React.useCallback(() => {
|
|
576
|
+
if (!isControlled) {
|
|
577
|
+
setUncontrolledOpen(false);
|
|
578
|
+
}
|
|
579
|
+
onOpenChange == null ? void 0 : onOpenChange(false);
|
|
580
|
+
}, [isControlled, onOpenChange]);
|
|
581
|
+
const toggle = React.useCallback(() => {
|
|
582
|
+
const newOpen = !isOpen;
|
|
583
|
+
if (!isControlled) {
|
|
584
|
+
setUncontrolledOpen(newOpen);
|
|
585
|
+
}
|
|
586
|
+
onOpenChange == null ? void 0 : onOpenChange(newOpen);
|
|
587
|
+
}, [isOpen, isControlled, onOpenChange]);
|
|
588
|
+
const tooltipProps = trigger === "click" ? {
|
|
589
|
+
open: isOpen,
|
|
590
|
+
onOpenChange: handleOpenChange
|
|
591
|
+
} : {
|
|
592
|
+
open: isControlled ? controlledOpen : void 0,
|
|
593
|
+
onOpenChange
|
|
594
|
+
};
|
|
595
|
+
return /* @__PURE__ */ jsx(TooltipContext.Provider, { value: { trigger, toggle, close, triggerRef }, children: /* @__PURE__ */ jsx(TooltipProvider, { delayDuration: trigger === "click" ? 1e5 : 0, children: /* @__PURE__ */ jsx(TooltipPrimitive.Root, { "data-slot": "tooltip", ...tooltipProps, ...props, children }) }) });
|
|
508
596
|
}
|
|
509
597
|
function TooltipTrigger({
|
|
598
|
+
onClick,
|
|
510
599
|
...props
|
|
511
600
|
}) {
|
|
512
|
-
|
|
601
|
+
const { trigger, toggle, triggerRef } = React.useContext(TooltipContext);
|
|
602
|
+
const handleClick = React.useCallback(
|
|
603
|
+
(e) => {
|
|
604
|
+
if (trigger === "click") {
|
|
605
|
+
e.preventDefault();
|
|
606
|
+
e.stopPropagation();
|
|
607
|
+
toggle();
|
|
608
|
+
}
|
|
609
|
+
onClick == null ? void 0 : onClick(e);
|
|
610
|
+
},
|
|
611
|
+
[trigger, toggle, onClick]
|
|
612
|
+
);
|
|
613
|
+
return /* @__PURE__ */ jsx(
|
|
614
|
+
TooltipPrimitive.Trigger,
|
|
615
|
+
{
|
|
616
|
+
ref: triggerRef,
|
|
617
|
+
"data-slot": "tooltip-trigger",
|
|
618
|
+
onClick: handleClick,
|
|
619
|
+
...props
|
|
620
|
+
}
|
|
621
|
+
);
|
|
513
622
|
}
|
|
514
623
|
function TooltipContent({
|
|
515
624
|
className,
|
|
@@ -519,20 +628,41 @@ function TooltipContent({
|
|
|
519
628
|
alignOffset = 0,
|
|
520
629
|
...props
|
|
521
630
|
}) {
|
|
631
|
+
const { trigger, close, triggerRef } = React.useContext(TooltipContext);
|
|
632
|
+
const contentRef = React.useRef(null);
|
|
633
|
+
React.useEffect(() => {
|
|
634
|
+
if (trigger !== "click") return;
|
|
635
|
+
const handleClickOutside = (event) => {
|
|
636
|
+
const target = event.target;
|
|
637
|
+
const isOutsideContent = contentRef.current && !contentRef.current.contains(target);
|
|
638
|
+
const isOutsideTrigger = triggerRef.current && !triggerRef.current.contains(target);
|
|
639
|
+
if (isOutsideContent && isOutsideTrigger) {
|
|
640
|
+
close();
|
|
641
|
+
}
|
|
642
|
+
};
|
|
643
|
+
const timeoutId = setTimeout(() => {
|
|
644
|
+
document.addEventListener("click", handleClickOutside);
|
|
645
|
+
}, 0);
|
|
646
|
+
return () => {
|
|
647
|
+
clearTimeout(timeoutId);
|
|
648
|
+
document.removeEventListener("click", handleClickOutside);
|
|
649
|
+
};
|
|
650
|
+
}, [trigger, close, triggerRef]);
|
|
522
651
|
return /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
|
|
523
652
|
TooltipPrimitive.Content,
|
|
524
653
|
{
|
|
654
|
+
ref: contentRef,
|
|
525
655
|
"data-slot": "tooltip-content",
|
|
526
656
|
sideOffset,
|
|
527
657
|
alignOffset,
|
|
528
658
|
side,
|
|
529
659
|
className: cn(
|
|
530
|
-
"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
|
|
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",
|
|
531
661
|
className
|
|
532
662
|
),
|
|
533
663
|
...props,
|
|
534
664
|
children: [
|
|
535
|
-
/* @__PURE__ */ jsx("div", { className: "absolute left-1/2 -translate-x-1/2 flex justify-center group-data-[side=top]:bottom-0 group-data-[side=top]:rotate-180 group-data-[side=bottom]:top-0 group-data-[side=left]:right-0 group-data-[side=right]:left-0", children: /* @__PURE__ */ jsx(
|
|
665
|
+
/* @__PURE__ */ jsx("div", { className: "absolute left-1/2 -translate-x-1/2 flex justify-center group-data-[side=top]:bottom-0 group-data-[side=top]:rotate-180 group-data-[side=bottom]:top-0 group-data-[side=left]:right-0 group-data-[side=right]:left-0 ", children: /* @__PURE__ */ jsx(
|
|
536
666
|
"svg",
|
|
537
667
|
{
|
|
538
668
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -738,7 +868,7 @@ Sidebar.displayName = "Sidebar";
|
|
|
738
868
|
const SidebarTrigger = React.forwardRef(({ className, onClick, ...props }, ref) => {
|
|
739
869
|
const { toggleSidebar } = useSidebar();
|
|
740
870
|
return /* @__PURE__ */ jsxs(
|
|
741
|
-
Button
|
|
871
|
+
Button,
|
|
742
872
|
{
|
|
743
873
|
ref,
|
|
744
874
|
"data-sidebar": "trigger",
|
|
@@ -1122,7 +1252,7 @@ const SidebarMenuSubButton = React.forwardRef(({ asChild = false, size = "md", i
|
|
|
1122
1252
|
});
|
|
1123
1253
|
SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
|
|
1124
1254
|
const labelVariants = cva(
|
|
1125
|
-
"
|
|
1255
|
+
"peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-gray-600 px-2"
|
|
1126
1256
|
);
|
|
1127
1257
|
const Label = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1128
1258
|
LabelPrimitive.Root,
|
|
@@ -1130,7 +1260,7 @@ const Label = React.forwardRef(({ className, children, ...props }, ref) => /* @_
|
|
|
1130
1260
|
ref,
|
|
1131
1261
|
className: cn(labelVariants(), className),
|
|
1132
1262
|
...props,
|
|
1133
|
-
children
|
|
1263
|
+
children: /* @__PURE__ */ jsx("span", { className: "overline-medium", children })
|
|
1134
1264
|
}
|
|
1135
1265
|
));
|
|
1136
1266
|
Label.displayName = LabelPrimitive.Root.displayName;
|
|
@@ -1140,7 +1270,7 @@ const Textarea = React.forwardRef(
|
|
|
1140
1270
|
"textarea",
|
|
1141
1271
|
{
|
|
1142
1272
|
className: cn(
|
|
1143
|
-
"flex min-h-[80px] w-full rounded-
|
|
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",
|
|
1144
1274
|
className
|
|
1145
1275
|
),
|
|
1146
1276
|
ref,
|
|
@@ -1269,22 +1399,56 @@ const InputOTPSlot = React.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
1269
1399
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
1270
1400
|
const InputOTPSeparator = React.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx(Dot, {}) }));
|
|
1271
1401
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
1402
|
+
const UtilityChevronDown = ({
|
|
1403
|
+
className
|
|
1404
|
+
}) => {
|
|
1405
|
+
return /* @__PURE__ */ jsx(
|
|
1406
|
+
"div",
|
|
1407
|
+
{
|
|
1408
|
+
className: cn(
|
|
1409
|
+
"size-4 flex items-center justify-center text-gray-500",
|
|
1410
|
+
className
|
|
1411
|
+
),
|
|
1412
|
+
children: /* @__PURE__ */ jsx(
|
|
1413
|
+
"svg",
|
|
1414
|
+
{
|
|
1415
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1416
|
+
width: "12",
|
|
1417
|
+
height: "6",
|
|
1418
|
+
viewBox: "0 0 12 6",
|
|
1419
|
+
fill: "none",
|
|
1420
|
+
className: cn("text-inherit"),
|
|
1421
|
+
children: /* @__PURE__ */ jsx(
|
|
1422
|
+
"path",
|
|
1423
|
+
{
|
|
1424
|
+
d: "M11 0.75L6 5.25L1 0.75",
|
|
1425
|
+
stroke: "currentColor",
|
|
1426
|
+
strokeWidth: "1.5",
|
|
1427
|
+
strokeLinecap: "round",
|
|
1428
|
+
strokeLinejoin: "round"
|
|
1429
|
+
}
|
|
1430
|
+
)
|
|
1431
|
+
}
|
|
1432
|
+
)
|
|
1433
|
+
}
|
|
1434
|
+
);
|
|
1435
|
+
};
|
|
1272
1436
|
const Select = SelectPrimitive.Root;
|
|
1273
1437
|
const SelectGroup = SelectPrimitive.Group;
|
|
1274
1438
|
const SelectValue = SelectPrimitive.Value;
|
|
1275
|
-
const SelectTrigger = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
1439
|
+
const SelectTrigger = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1276
1440
|
SelectPrimitive.Trigger,
|
|
1277
1441
|
{
|
|
1278
1442
|
ref,
|
|
1279
1443
|
className: cn(
|
|
1280
|
-
"flex h-
|
|
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",
|
|
1281
1445
|
className
|
|
1282
1446
|
),
|
|
1283
1447
|
...props,
|
|
1284
|
-
children: [
|
|
1285
|
-
children,
|
|
1286
|
-
/* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
1287
|
-
]
|
|
1448
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between w-full", children: [
|
|
1449
|
+
/* @__PURE__ */ jsx("span", { className: " text-gray-800 font-mazzard body-base font-medium", children }),
|
|
1450
|
+
/* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(UtilityChevronDown, { className: " text-gray-600 group-data-[state=open]:rotate-180 transition-transform duration-200" }) })
|
|
1451
|
+
] })
|
|
1288
1452
|
}
|
|
1289
1453
|
));
|
|
1290
1454
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
@@ -1297,7 +1461,7 @@ const SelectScrollUpButton = React.forwardRef(({ className, ...props }, ref) =>
|
|
|
1297
1461
|
className
|
|
1298
1462
|
),
|
|
1299
1463
|
...props,
|
|
1300
|
-
children: /* @__PURE__ */ jsx(
|
|
1464
|
+
children: /* @__PURE__ */ jsx(UtilityChevronDown, {})
|
|
1301
1465
|
}
|
|
1302
1466
|
));
|
|
1303
1467
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
@@ -1310,7 +1474,7 @@ const SelectScrollDownButton = React.forwardRef(({ className, ...props }, ref) =
|
|
|
1310
1474
|
className
|
|
1311
1475
|
),
|
|
1312
1476
|
...props,
|
|
1313
|
-
children: /* @__PURE__ */ jsx(
|
|
1477
|
+
children: /* @__PURE__ */ jsx(UtilityChevronDown, {})
|
|
1314
1478
|
}
|
|
1315
1479
|
));
|
|
1316
1480
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
@@ -1319,8 +1483,7 @@ const SelectContent = React.forwardRef(({ className, children, position = "poppe
|
|
|
1319
1483
|
{
|
|
1320
1484
|
ref,
|
|
1321
1485
|
className: cn(
|
|
1322
|
-
"relative z-50 max-h-96 min-w-32 overflow-hidden
|
|
1323
|
-
position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
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",
|
|
1324
1487
|
className
|
|
1325
1488
|
),
|
|
1326
1489
|
position,
|
|
@@ -1331,7 +1494,7 @@ const SelectContent = React.forwardRef(({ className, children, position = "poppe
|
|
|
1331
1494
|
SelectPrimitive.Viewport,
|
|
1332
1495
|
{
|
|
1333
1496
|
className: cn(
|
|
1334
|
-
"
|
|
1497
|
+
"",
|
|
1335
1498
|
position === "popper" && "h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)"
|
|
1336
1499
|
),
|
|
1337
1500
|
children
|
|
@@ -1346,24 +1509,24 @@ const SelectLabel = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1346
1509
|
SelectPrimitive.Label,
|
|
1347
1510
|
{
|
|
1348
1511
|
ref,
|
|
1349
|
-
className: cn(
|
|
1512
|
+
className: cn(
|
|
1513
|
+
"py-1.5 pl-8 pr-2 text-sm font-semibold font-mazzard",
|
|
1514
|
+
className
|
|
1515
|
+
),
|
|
1350
1516
|
...props
|
|
1351
1517
|
}
|
|
1352
1518
|
));
|
|
1353
1519
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
1354
|
-
const SelectItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
1520
|
+
const SelectItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1355
1521
|
SelectPrimitive.Item,
|
|
1356
1522
|
{
|
|
1357
1523
|
ref,
|
|
1358
1524
|
className: cn(
|
|
1359
|
-
"relative flex w-full cursor-default select-none items-center
|
|
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",
|
|
1360
1526
|
className
|
|
1361
1527
|
),
|
|
1362
1528
|
...props,
|
|
1363
|
-
children:
|
|
1364
|
-
/* @__PURE__ */ jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) }) }),
|
|
1365
|
-
/* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children })
|
|
1366
|
-
]
|
|
1529
|
+
children: /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children })
|
|
1367
1530
|
}
|
|
1368
1531
|
));
|
|
1369
1532
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
@@ -1469,6 +1632,56 @@ const FormMessage = React.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
1469
1632
|
);
|
|
1470
1633
|
});
|
|
1471
1634
|
FormMessage.displayName = "FormMessage";
|
|
1635
|
+
const toggleVariants = cva(
|
|
1636
|
+
"inline-flex items-center justify-center rounded-full transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring cursor-pointer",
|
|
1637
|
+
{
|
|
1638
|
+
variants: {
|
|
1639
|
+
variant: {
|
|
1640
|
+
default: "bg-gray-100 text-gray-600 hover:bg-gray-200"
|
|
1641
|
+
},
|
|
1642
|
+
size: {
|
|
1643
|
+
default: "h-8 px-4"
|
|
1644
|
+
}
|
|
1645
|
+
},
|
|
1646
|
+
defaultVariants: {
|
|
1647
|
+
variant: "default",
|
|
1648
|
+
size: "default"
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
);
|
|
1652
|
+
const ToggleGroupContext = React.createContext({
|
|
1653
|
+
size: "default",
|
|
1654
|
+
variant: "default"
|
|
1655
|
+
});
|
|
1656
|
+
const ToggleGroup = React.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1657
|
+
ToggleGroupPrimitive.Root,
|
|
1658
|
+
{
|
|
1659
|
+
ref,
|
|
1660
|
+
className: cn("flex items-center justify-center gap-1", className),
|
|
1661
|
+
...props,
|
|
1662
|
+
children: /* @__PURE__ */ jsx(ToggleGroupContext.Provider, { value: { variant, size }, children })
|
|
1663
|
+
}
|
|
1664
|
+
));
|
|
1665
|
+
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
1666
|
+
const ToggleGroupItem = React.forwardRef(({ className, children, variant, size, ...props }, ref) => {
|
|
1667
|
+
const context = React.useContext(ToggleGroupContext);
|
|
1668
|
+
return /* @__PURE__ */ jsx(
|
|
1669
|
+
ToggleGroupPrimitive.Item,
|
|
1670
|
+
{
|
|
1671
|
+
ref,
|
|
1672
|
+
className: cn(
|
|
1673
|
+
toggleVariants({
|
|
1674
|
+
variant: context.variant || variant,
|
|
1675
|
+
size: context.size || size
|
|
1676
|
+
}),
|
|
1677
|
+
className
|
|
1678
|
+
),
|
|
1679
|
+
...props,
|
|
1680
|
+
children
|
|
1681
|
+
}
|
|
1682
|
+
);
|
|
1683
|
+
});
|
|
1684
|
+
ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
|
|
1472
1685
|
function useSegmentedControl({
|
|
1473
1686
|
value,
|
|
1474
1687
|
defaultValue,
|
|
@@ -1497,7 +1710,7 @@ function useSegmentedControl({
|
|
|
1497
1710
|
onValueChange: handleValueChange
|
|
1498
1711
|
};
|
|
1499
1712
|
}
|
|
1500
|
-
|
|
1713
|
+
cva(
|
|
1501
1714
|
"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground 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=on]:bg-accent data-[state=on]:text-accent-foreground",
|
|
1502
1715
|
{
|
|
1503
1716
|
variants: {
|
|
@@ -1525,13 +1738,13 @@ const SegmentedControlInner = React.forwardRef(
|
|
|
1525
1738
|
defaultValue: defaultValue ?? ((_a = options[0]) == null ? void 0 : _a.value),
|
|
1526
1739
|
onValueChange
|
|
1527
1740
|
});
|
|
1528
|
-
return /* @__PURE__ */ jsx("div", { ref, className: cn(className), ...props, children: options.map((option) => {
|
|
1741
|
+
return /* @__PURE__ */ jsx("div", { ref, className: cn("inline-flex", className), ...props, children: options.map((option) => {
|
|
1529
1742
|
const isReactElement = React.isValidElement(option.label);
|
|
1530
1743
|
return /* @__PURE__ */ jsx(
|
|
1531
1744
|
"button",
|
|
1532
1745
|
{
|
|
1533
1746
|
className: cn(
|
|
1534
|
-
"inline-flex items-center justify-center h-8 px-
|
|
1747
|
+
"inline-flex items-center justify-center h-8 px-4 rounded-full transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring cursor-pointer",
|
|
1535
1748
|
selectedValue === option.value ? "bg-cyan-700 text-white font-semibold" : "text-gray-600 hover:bg-gray-50 font-medium"
|
|
1536
1749
|
),
|
|
1537
1750
|
onClick: () => handleValueChange(option.value),
|
|
@@ -1547,39 +1760,6 @@ const SegmentedControlInner = React.forwardRef(
|
|
|
1547
1760
|
SegmentedControlInner.displayName = "SegmentedControl";
|
|
1548
1761
|
const SegmentedControl = SegmentedControlInner;
|
|
1549
1762
|
const Toggle = SegmentedControl;
|
|
1550
|
-
const ToggleGroupContext = React.createContext({
|
|
1551
|
-
size: "default",
|
|
1552
|
-
variant: "default"
|
|
1553
|
-
});
|
|
1554
|
-
const ToggleGroup = React.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1555
|
-
ToggleGroupPrimitive.Root,
|
|
1556
|
-
{
|
|
1557
|
-
ref,
|
|
1558
|
-
className: cn("flex items-center justify-center gap-1", className),
|
|
1559
|
-
...props,
|
|
1560
|
-
children: /* @__PURE__ */ jsx(ToggleGroupContext.Provider, { value: { variant, size }, children })
|
|
1561
|
-
}
|
|
1562
|
-
));
|
|
1563
|
-
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
1564
|
-
const ToggleGroupItem = React.forwardRef(({ className, children, variant, size, ...props }, ref) => {
|
|
1565
|
-
const context = React.useContext(ToggleGroupContext);
|
|
1566
|
-
return /* @__PURE__ */ jsx(
|
|
1567
|
-
ToggleGroupPrimitive.Item,
|
|
1568
|
-
{
|
|
1569
|
-
ref,
|
|
1570
|
-
className: cn(
|
|
1571
|
-
toggleVariants({
|
|
1572
|
-
variant: context.variant || variant,
|
|
1573
|
-
size: context.size || size
|
|
1574
|
-
}),
|
|
1575
|
-
className
|
|
1576
|
-
),
|
|
1577
|
-
...props,
|
|
1578
|
-
children
|
|
1579
|
-
}
|
|
1580
|
-
);
|
|
1581
|
-
});
|
|
1582
|
-
ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
|
|
1583
1763
|
const badgeVariants = cva(
|
|
1584
1764
|
"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
1585
1765
|
{
|
|
@@ -1721,7 +1901,7 @@ const AlertDialogAction = React.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1721
1901
|
AlertDialogPrimitive.Action,
|
|
1722
1902
|
{
|
|
1723
1903
|
ref,
|
|
1724
|
-
className: cn(buttonVariants
|
|
1904
|
+
className: cn(buttonVariants(), className),
|
|
1725
1905
|
...props
|
|
1726
1906
|
}
|
|
1727
1907
|
));
|
|
@@ -1731,7 +1911,7 @@ const AlertDialogCancel = React.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1731
1911
|
{
|
|
1732
1912
|
ref,
|
|
1733
1913
|
className: cn(
|
|
1734
|
-
buttonVariants
|
|
1914
|
+
buttonVariants({ variant: "general-secondary" }),
|
|
1735
1915
|
"mt-2 sm:mt-0",
|
|
1736
1916
|
className
|
|
1737
1917
|
),
|
|
@@ -1814,7 +1994,10 @@ const BreadcrumbPage = React.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
1814
1994
|
role: "link",
|
|
1815
1995
|
"aria-disabled": "true",
|
|
1816
1996
|
"aria-current": "page",
|
|
1817
|
-
className: cn(
|
|
1997
|
+
className: cn(
|
|
1998
|
+
"body-small font-medium text-gray-600 text-center whitespace-nowrap",
|
|
1999
|
+
className
|
|
2000
|
+
),
|
|
1818
2001
|
...props
|
|
1819
2002
|
}
|
|
1820
2003
|
));
|
|
@@ -1828,9 +2011,31 @@ const BreadcrumbSeparator = ({
|
|
|
1828
2011
|
{
|
|
1829
2012
|
role: "presentation",
|
|
1830
2013
|
"aria-hidden": "true",
|
|
1831
|
-
className: cn(
|
|
2014
|
+
className: cn(
|
|
2015
|
+
"size-4 flex items-center justify-center shrink-0",
|
|
2016
|
+
className
|
|
2017
|
+
),
|
|
1832
2018
|
...props,
|
|
1833
|
-
children: children ?? /* @__PURE__ */ jsx(
|
|
2019
|
+
children: children ?? /* @__PURE__ */ jsx(
|
|
2020
|
+
"svg",
|
|
2021
|
+
{
|
|
2022
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2023
|
+
width: "5",
|
|
2024
|
+
height: "8",
|
|
2025
|
+
viewBox: "0 0 5 8",
|
|
2026
|
+
fill: "none",
|
|
2027
|
+
children: /* @__PURE__ */ jsx(
|
|
2028
|
+
"path",
|
|
2029
|
+
{
|
|
2030
|
+
d: "M0.75 6.75L3.75 3.75L0.75 0.75",
|
|
2031
|
+
stroke: "#CBCDD2",
|
|
2032
|
+
strokeWidth: "1.5",
|
|
2033
|
+
strokeLinecap: "round",
|
|
2034
|
+
strokeLinejoin: "round"
|
|
2035
|
+
}
|
|
2036
|
+
)
|
|
2037
|
+
}
|
|
2038
|
+
)
|
|
1834
2039
|
}
|
|
1835
2040
|
);
|
|
1836
2041
|
BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
|
|
@@ -1871,7 +2076,7 @@ function Calendar({
|
|
|
1871
2076
|
caption_label: "text-sm font-medium",
|
|
1872
2077
|
nav: "space-x-1 flex items-center",
|
|
1873
2078
|
nav_button: cn(
|
|
1874
|
-
buttonVariants
|
|
2079
|
+
buttonVariants({ variant: "general-secondary" }),
|
|
1875
2080
|
"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"
|
|
1876
2081
|
),
|
|
1877
2082
|
nav_button_previous: "absolute left-1",
|
|
@@ -1882,7 +2087,7 @@ function Calendar({
|
|
|
1882
2087
|
row: "flex w-full mt-2",
|
|
1883
2088
|
cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",
|
|
1884
2089
|
day: cn(
|
|
1885
|
-
buttonVariants
|
|
2090
|
+
buttonVariants({ variant: "general-tertiary" }),
|
|
1886
2091
|
"h-9 w-9 p-0 font-normal aria-selected:opacity-100"
|
|
1887
2092
|
),
|
|
1888
2093
|
day_range_end: "day-range-end",
|
|
@@ -1966,28 +2171,28 @@ const NavLogo = ({ dark = false }) => {
|
|
|
1966
2171
|
"path",
|
|
1967
2172
|
{
|
|
1968
2173
|
d: "M53.5868 0H55.0485C55.6026 0 56.0325 0.404706 56.0325 0.969412V12.8941H63.016C63.5701 12.8941 64 13.2988 64 13.8447V15.0306C64 15.5765 63.5701 16 63.016 16H53.5868C53.0327 16 52.6028 15.5765 52.6028 15.0306V0.969412C52.6028 0.404706 53.0423 0 53.5868 0Z",
|
|
1969
|
-
fill:
|
|
2174
|
+
fill: "currentColor"
|
|
1970
2175
|
}
|
|
1971
2176
|
),
|
|
1972
2177
|
/* @__PURE__ */ jsx(
|
|
1973
2178
|
"path",
|
|
1974
2179
|
{
|
|
1975
2180
|
d: "M39.9826 0H41.4442C41.9983 0 42.4282 0.404706 42.4282 0.969412V12.8941H49.4118C49.9659 12.8941 50.3958 13.2988 50.3958 13.8447V15.0306C50.3958 15.5765 49.9659 16 49.4118 16H39.9826C39.4285 16 38.9986 15.5765 38.9986 15.0306V0.969412C38.9986 0.404706 39.4285 0 39.9826 0Z",
|
|
1976
|
-
fill:
|
|
2181
|
+
fill: "currentColor"
|
|
1977
2182
|
}
|
|
1978
2183
|
),
|
|
1979
2184
|
/* @__PURE__ */ jsx(
|
|
1980
2185
|
"path",
|
|
1981
2186
|
{
|
|
1982
2187
|
d: "M25.4615 0H35.5212C36.0944 0 36.5052 0.404706 36.5052 0.969412V2.15529C36.5052 2.70118 36.0944 3.12471 35.5212 3.12471H27.9072V6.37176H34.222C34.7761 6.37176 35.206 6.77647 35.206 7.32235V8.50824C35.206 9.07294 34.7761 9.47765 34.222 9.47765H27.9072V12.8941H35.6359C36.2091 12.8941 36.6199 13.2988 36.6199 13.8447V15.0306C36.6199 15.5765 36.2091 16 35.6359 16H25.4615C24.9074 16 24.4775 15.5765 24.4775 15.0306V0.969412C24.4775 0.404706 24.9074 0 25.4615 0Z",
|
|
1983
|
-
fill:
|
|
2188
|
+
fill: "currentColor"
|
|
1984
2189
|
}
|
|
1985
2190
|
),
|
|
1986
2191
|
/* @__PURE__ */ jsx(
|
|
1987
2192
|
"path",
|
|
1988
2193
|
{
|
|
1989
2194
|
d: "M2.26579 0C2.81989 0 3.37399 0.376471 3.53639 0.922353L6.56483 10.4941L9.51684 0.856471C9.66014 0.357647 10.1665 0 10.6728 0H11.6855C12.2109 0 12.7172 0.357647 12.8605 0.856471L15.8412 10.5035L18.8314 0.922353C18.9747 0.376471 19.5288 0 20.102 0H21.6401C22.1942 0 22.4808 0.404706 22.2898 0.922353L17.4653 15.1435C17.2933 15.6141 16.7965 16 16.2616 16H15.2489C14.7426 16 14.2362 15.6424 14.0929 15.1435L11.1887 5.92L8.25578 15.1435C8.11248 15.6424 7.60615 16 7.08071 16H6.08716C5.58083 16 5.0745 15.6235 4.91209 15.1435L0.0589489 0.922353C-0.13212 0.404706 0.154483 0 0.727688 0H2.26579Z",
|
|
1990
|
-
fill:
|
|
2195
|
+
fill: "currentColor"
|
|
1991
2196
|
}
|
|
1992
2197
|
)
|
|
1993
2198
|
]
|
|
@@ -2039,74 +2244,12 @@ const NavBullet = ({ color }) => {
|
|
|
2039
2244
|
}
|
|
2040
2245
|
);
|
|
2041
2246
|
};
|
|
2042
|
-
const buttonVariants = cva(
|
|
2043
|
-
"group inline-flex items-center justify-center rounded-full transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 cursor-pointer",
|
|
2044
|
-
{
|
|
2045
|
-
variants: {
|
|
2046
|
-
variant: {
|
|
2047
|
-
// CTA variants
|
|
2048
|
-
"primary-gradient": "text-white hover:opacity-90 btn-primary-gradient",
|
|
2049
|
-
"primary-dark": "bg-cyan-800 text-white hover:bg-cyan-900 focus-visible:ring-cyan-800",
|
|
2050
|
-
"secondary-light": "bg-white border border-gray-200 text-cyan-800 hover:bg-gray-50 focus-visible:ring-gray-200",
|
|
2051
|
-
"tertiary-light": "bg-blue-50 border border-blue-200 text-blue-600 hover:bg-blue-100 focus-visible:ring-blue-200",
|
|
2052
|
-
// Utility variants
|
|
2053
|
-
"general-primary": "bg-blue-600 text-white hover:bg-blue-700 focus-visible:ring-blue-600",
|
|
2054
|
-
"general-secondary": "bg-white border border-blue-200 text-blue-600 hover:bg-blue-50 focus-visible:ring-blue-200",
|
|
2055
|
-
"general-tertiary": "bg-white border border-gray-200 text-gray-600 hover:bg-gray-50 focus-visible:ring-gray-200",
|
|
2056
|
-
"tooltip-primary": "bg-cyan-300 text-white hover:bg-cyan-400 focus-visible:ring-cyan-300",
|
|
2057
|
-
"tooltip-secondary": "bg-gray-500 text-white hover:bg-gray-600 focus-visible:ring-gray-500"
|
|
2058
|
-
},
|
|
2059
|
-
size: {
|
|
2060
|
-
xlarge: "h-16 px-10",
|
|
2061
|
-
large: "h-12 px-8",
|
|
2062
|
-
utility: "h-8 px-4",
|
|
2063
|
-
icon: "size-[32px]"
|
|
2064
|
-
}
|
|
2065
|
-
},
|
|
2066
|
-
compoundVariants: [
|
|
2067
|
-
{
|
|
2068
|
-
size: "xlarge",
|
|
2069
|
-
className: "font-semibold"
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
size: "large",
|
|
2073
|
-
className: "font-semibold"
|
|
2074
|
-
},
|
|
2075
|
-
{
|
|
2076
|
-
size: "utility",
|
|
2077
|
-
className: "font-semibold"
|
|
2078
|
-
},
|
|
2079
|
-
{
|
|
2080
|
-
size: "icon",
|
|
2081
|
-
className: "p-0 bg-white border border-gray-100 "
|
|
2082
|
-
}
|
|
2083
|
-
],
|
|
2084
|
-
defaultVariants: {
|
|
2085
|
-
variant: "primary-dark",
|
|
2086
|
-
size: "large"
|
|
2087
|
-
}
|
|
2088
|
-
}
|
|
2089
|
-
);
|
|
2090
|
-
const Button = React.forwardRef(
|
|
2091
|
-
({ className, variant, size, children, style, ...props }, ref) => {
|
|
2092
|
-
const bodyClass = size === "xlarge" ? "body-large" : size === "large" ? "body-base" : size === "utility" ? "body-small" : "";
|
|
2093
|
-
return /* @__PURE__ */ jsx(
|
|
2094
|
-
"button",
|
|
2095
|
-
{
|
|
2096
|
-
className: cn(buttonVariants({ variant, size }), className),
|
|
2097
|
-
style,
|
|
2098
|
-
ref,
|
|
2099
|
-
...props,
|
|
2100
|
-
children: size === "icon" ? children : /* @__PURE__ */ jsx("span", { className: cn("relative z-10", bodyClass), children })
|
|
2101
|
-
}
|
|
2102
|
-
);
|
|
2103
|
-
}
|
|
2104
|
-
);
|
|
2105
|
-
Button.displayName = "Button";
|
|
2106
2247
|
const Navigation = ({
|
|
2107
2248
|
navItems,
|
|
2108
2249
|
isStrategy = false,
|
|
2109
|
-
|
|
2250
|
+
Link: LinkComponent,
|
|
2251
|
+
onLinkClick,
|
|
2252
|
+
onClose
|
|
2110
2253
|
}) => {
|
|
2111
2254
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
2112
2255
|
const [activeItem, setActiveItem] = React.useState(null);
|
|
@@ -2122,24 +2265,27 @@ const Navigation = ({
|
|
|
2122
2265
|
setIsOpen(true);
|
|
2123
2266
|
setActiveItem(index + 1);
|
|
2124
2267
|
};
|
|
2125
|
-
const
|
|
2268
|
+
const NavLink = ({ href, className, "aria-label": ariaLabel, children }) => {
|
|
2269
|
+
if (LinkComponent) {
|
|
2270
|
+
return /* @__PURE__ */ jsx(LinkComponent, { href, className, "aria-label": ariaLabel, children });
|
|
2271
|
+
}
|
|
2126
2272
|
if (onLinkClick) {
|
|
2127
|
-
|
|
2273
|
+
return /* @__PURE__ */ jsx(
|
|
2274
|
+
"a",
|
|
2275
|
+
{
|
|
2276
|
+
href,
|
|
2277
|
+
className,
|
|
2278
|
+
"aria-label": ariaLabel,
|
|
2279
|
+
onClick: (e) => {
|
|
2280
|
+
e.preventDefault();
|
|
2281
|
+
onLinkClick(href);
|
|
2282
|
+
},
|
|
2283
|
+
children
|
|
2284
|
+
}
|
|
2285
|
+
);
|
|
2128
2286
|
}
|
|
2287
|
+
return /* @__PURE__ */ jsx("a", { href, className, "aria-label": ariaLabel, children });
|
|
2129
2288
|
};
|
|
2130
|
-
const Link = ({ to, className, "aria-label": ariaLabel, children }) => /* @__PURE__ */ jsx(
|
|
2131
|
-
"a",
|
|
2132
|
-
{
|
|
2133
|
-
href: to,
|
|
2134
|
-
className,
|
|
2135
|
-
"aria-label": ariaLabel,
|
|
2136
|
-
onClick: (e) => {
|
|
2137
|
-
e.preventDefault();
|
|
2138
|
-
handleLink(to);
|
|
2139
|
-
},
|
|
2140
|
-
children
|
|
2141
|
-
}
|
|
2142
|
-
);
|
|
2143
2289
|
return /* @__PURE__ */ jsxs(
|
|
2144
2290
|
"nav",
|
|
2145
2291
|
{
|
|
@@ -2162,11 +2308,26 @@ const Navigation = ({
|
|
|
2162
2308
|
),
|
|
2163
2309
|
/* @__PURE__ */ jsxs("div", { className: "container-lg flex h-14 items-center justify-between", children: [
|
|
2164
2310
|
/* @__PURE__ */ jsxs("div", { className: "flex h-full sm:min-w-[200px] items-center", children: [
|
|
2165
|
-
isStrategy ? /* @__PURE__ */ jsx(
|
|
2311
|
+
isStrategy ? /* @__PURE__ */ jsx(
|
|
2312
|
+
Button,
|
|
2313
|
+
{
|
|
2314
|
+
className: "mr-4",
|
|
2315
|
+
size: "icon",
|
|
2316
|
+
onClick: (e) => {
|
|
2317
|
+
e.preventDefault();
|
|
2318
|
+
if (onClose) {
|
|
2319
|
+
onClose();
|
|
2320
|
+
} else if (onLinkClick) {
|
|
2321
|
+
onLinkClick("/");
|
|
2322
|
+
}
|
|
2323
|
+
},
|
|
2324
|
+
children: /* @__PURE__ */ jsx(UtilityClose, { className: "text-gray-700 group-hover:text-white" })
|
|
2325
|
+
}
|
|
2326
|
+
) : null,
|
|
2166
2327
|
/* @__PURE__ */ jsx(
|
|
2167
|
-
|
|
2328
|
+
NavLink,
|
|
2168
2329
|
{
|
|
2169
|
-
|
|
2330
|
+
href: "/",
|
|
2170
2331
|
className: cn(
|
|
2171
2332
|
"flex items-center ease-in-out duration-300 will-change-transform",
|
|
2172
2333
|
{
|
|
@@ -2184,7 +2345,7 @@ const Navigation = ({
|
|
|
2184
2345
|
className: cn(
|
|
2185
2346
|
"relative hidden h-full flex-1 items-center justify-center space-x-12 md:flex"
|
|
2186
2347
|
),
|
|
2187
|
-
children: /* @__PURE__ */ jsx("ul", { className: "flex h-full gap-x-12", children: navItems.map((item, index) => /* @__PURE__ */ jsxs(
|
|
2348
|
+
children: /* @__PURE__ */ jsx("ul", { className: "flex h-full gap-x-12", children: navItems ? navItems.map((item, index) => /* @__PURE__ */ jsxs(
|
|
2188
2349
|
"li",
|
|
2189
2350
|
{
|
|
2190
2351
|
className: cn(
|
|
@@ -2240,13 +2401,13 @@ const Navigation = ({
|
|
|
2240
2401
|
]
|
|
2241
2402
|
},
|
|
2242
2403
|
index + 1
|
|
2243
|
-
)) })
|
|
2404
|
+
)) : null })
|
|
2244
2405
|
}
|
|
2245
2406
|
) : null,
|
|
2246
2407
|
/* @__PURE__ */ jsx("div", { className: "flex h-full sm:min-w-[200px] items-center justify-end gap-4", children: /* @__PURE__ */ jsx(
|
|
2247
|
-
|
|
2408
|
+
NavLink,
|
|
2248
2409
|
{
|
|
2249
|
-
|
|
2410
|
+
href: "/",
|
|
2250
2411
|
"aria-label": "Account link",
|
|
2251
2412
|
className: cn(
|
|
2252
2413
|
"flex h-8 w-8 items-center justify-center rounded-full transition-colors btn-icon",
|
|
@@ -2298,25 +2459,25 @@ const Navigation = ({
|
|
|
2298
2459
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Everything" }),
|
|
2299
2460
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-5", children: [
|
|
2300
2461
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2301
|
-
|
|
2462
|
+
NavLink,
|
|
2302
2463
|
{
|
|
2303
|
-
|
|
2464
|
+
href: "/",
|
|
2304
2465
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2305
2466
|
children: "Explore WELL"
|
|
2306
2467
|
}
|
|
2307
2468
|
) }),
|
|
2308
2469
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2309
|
-
|
|
2470
|
+
NavLink,
|
|
2310
2471
|
{
|
|
2311
|
-
|
|
2472
|
+
href: "/",
|
|
2312
2473
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2313
2474
|
children: "Enroll in WELL"
|
|
2314
2475
|
}
|
|
2315
2476
|
) }),
|
|
2316
2477
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2317
|
-
|
|
2478
|
+
NavLink,
|
|
2318
2479
|
{
|
|
2319
|
-
|
|
2480
|
+
href: "/",
|
|
2320
2481
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2321
2482
|
children: "What's new"
|
|
2322
2483
|
}
|
|
@@ -2327,25 +2488,25 @@ const Navigation = ({
|
|
|
2327
2488
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "WHY WELL" }),
|
|
2328
2489
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-5", children: [
|
|
2329
2490
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2330
|
-
|
|
2491
|
+
NavLink,
|
|
2331
2492
|
{
|
|
2332
|
-
|
|
2493
|
+
href: "/",
|
|
2333
2494
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2334
2495
|
children: "Performance"
|
|
2335
2496
|
}
|
|
2336
2497
|
) }),
|
|
2337
2498
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2338
|
-
|
|
2499
|
+
NavLink,
|
|
2339
2500
|
{
|
|
2340
|
-
|
|
2501
|
+
href: "/",
|
|
2341
2502
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2342
2503
|
children: "ROI"
|
|
2343
2504
|
}
|
|
2344
2505
|
) }),
|
|
2345
2506
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2346
|
-
|
|
2507
|
+
NavLink,
|
|
2347
2508
|
{
|
|
2348
|
-
|
|
2509
|
+
href: "/",
|
|
2349
2510
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2350
2511
|
children: "Impact"
|
|
2351
2512
|
}
|
|
@@ -2356,25 +2517,25 @@ const Navigation = ({
|
|
|
2356
2517
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Standard" }),
|
|
2357
2518
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-5", children: [
|
|
2358
2519
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2359
|
-
|
|
2520
|
+
NavLink,
|
|
2360
2521
|
{
|
|
2361
|
-
|
|
2522
|
+
href: "/",
|
|
2362
2523
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2363
2524
|
children: "Strategies"
|
|
2364
2525
|
}
|
|
2365
2526
|
) }),
|
|
2366
2527
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2367
|
-
|
|
2528
|
+
NavLink,
|
|
2368
2529
|
{
|
|
2369
|
-
|
|
2530
|
+
href: "/",
|
|
2370
2531
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2371
2532
|
children: "Themes"
|
|
2372
2533
|
}
|
|
2373
2534
|
) }),
|
|
2374
2535
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2375
|
-
|
|
2536
|
+
NavLink,
|
|
2376
2537
|
{
|
|
2377
|
-
|
|
2538
|
+
href: "/",
|
|
2378
2539
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2379
2540
|
children: "Milestones"
|
|
2380
2541
|
}
|
|
@@ -2385,17 +2546,17 @@ const Navigation = ({
|
|
|
2385
2546
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Network" }),
|
|
2386
2547
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-5", children: [
|
|
2387
2548
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2388
|
-
|
|
2549
|
+
NavLink,
|
|
2389
2550
|
{
|
|
2390
|
-
|
|
2551
|
+
href: "/",
|
|
2391
2552
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2392
2553
|
children: "Organizations"
|
|
2393
2554
|
}
|
|
2394
2555
|
) }),
|
|
2395
2556
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2396
|
-
|
|
2557
|
+
NavLink,
|
|
2397
2558
|
{
|
|
2398
|
-
|
|
2559
|
+
href: "/",
|
|
2399
2560
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2400
2561
|
children: "People"
|
|
2401
2562
|
}
|
|
@@ -2406,17 +2567,17 @@ const Navigation = ({
|
|
|
2406
2567
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Solutions" }),
|
|
2407
2568
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-5", children: [
|
|
2408
2569
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2409
|
-
|
|
2570
|
+
NavLink,
|
|
2410
2571
|
{
|
|
2411
|
-
|
|
2572
|
+
href: "/",
|
|
2412
2573
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2413
2574
|
children: "Products"
|
|
2414
2575
|
}
|
|
2415
2576
|
) }),
|
|
2416
2577
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2417
|
-
|
|
2578
|
+
NavLink,
|
|
2418
2579
|
{
|
|
2419
|
-
|
|
2580
|
+
href: "/",
|
|
2420
2581
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2421
2582
|
children: "Services"
|
|
2422
2583
|
}
|
|
@@ -2427,17 +2588,17 @@ const Navigation = ({
|
|
|
2427
2588
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Places" }),
|
|
2428
2589
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-5", children: [
|
|
2429
2590
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2430
|
-
|
|
2591
|
+
NavLink,
|
|
2431
2592
|
{
|
|
2432
|
-
|
|
2593
|
+
href: "/",
|
|
2433
2594
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2434
2595
|
children: "Locations"
|
|
2435
2596
|
}
|
|
2436
2597
|
) }),
|
|
2437
2598
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2438
|
-
|
|
2599
|
+
NavLink,
|
|
2439
2600
|
{
|
|
2440
|
-
|
|
2601
|
+
href: "/",
|
|
2441
2602
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2442
2603
|
children: "Portfolios"
|
|
2443
2604
|
}
|
|
@@ -2465,20 +2626,20 @@ const Navigation = ({
|
|
|
2465
2626
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "SUBSCRIBE" }),
|
|
2466
2627
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2467
2628
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2468
|
-
|
|
2629
|
+
NavLink,
|
|
2469
2630
|
{
|
|
2470
|
-
|
|
2631
|
+
href: "/",
|
|
2471
2632
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2472
2633
|
children: "WELL at scale"
|
|
2473
2634
|
}
|
|
2474
2635
|
) }),
|
|
2475
2636
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2476
2637
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2477
|
-
/* @__PURE__ */ jsx(
|
|
2638
|
+
/* @__PURE__ */ jsx(NavLink, { href: "/", children: /* @__PURE__ */ jsx("span", { className: "body-small font-medium text-gray-100", children: "Pricing" }) })
|
|
2478
2639
|
] }) }),
|
|
2479
2640
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2480
2641
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2481
|
-
/* @__PURE__ */ jsx(
|
|
2642
|
+
/* @__PURE__ */ jsx(NavLink, { href: "/", children: /* @__PURE__ */ jsx("span", { className: "body-small font-medium text-gray-100", children: "Leaderboard" }) })
|
|
2482
2643
|
] }) })
|
|
2483
2644
|
] })
|
|
2484
2645
|
] }),
|
|
@@ -2486,17 +2647,17 @@ const Navigation = ({
|
|
|
2486
2647
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Certify" }),
|
|
2487
2648
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2488
2649
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2489
|
-
|
|
2650
|
+
NavLink,
|
|
2490
2651
|
{
|
|
2491
|
-
|
|
2652
|
+
href: "/",
|
|
2492
2653
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2493
2654
|
children: "WELL Certification"
|
|
2494
2655
|
}
|
|
2495
2656
|
) }),
|
|
2496
2657
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(
|
|
2497
|
-
|
|
2658
|
+
NavLink,
|
|
2498
2659
|
{
|
|
2499
|
-
|
|
2660
|
+
href: "/",
|
|
2500
2661
|
className: "text-gray-100 hover:text-white flex items-center justify-start body-base font-medium",
|
|
2501
2662
|
children: [
|
|
2502
2663
|
"WELL Residence",
|
|
@@ -2510,9 +2671,9 @@ const Navigation = ({
|
|
|
2510
2671
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Get rated" }),
|
|
2511
2672
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2512
2673
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2513
|
-
|
|
2674
|
+
NavLink,
|
|
2514
2675
|
{
|
|
2515
|
-
|
|
2676
|
+
href: "/",
|
|
2516
2677
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2517
2678
|
children: "WELL Ratings"
|
|
2518
2679
|
}
|
|
@@ -2520,9 +2681,9 @@ const Navigation = ({
|
|
|
2520
2681
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2521
2682
|
/* @__PURE__ */ jsx(NavBullet, { color: "#F3E7D8" }),
|
|
2522
2683
|
/* @__PURE__ */ jsx(
|
|
2523
|
-
|
|
2684
|
+
NavLink,
|
|
2524
2685
|
{
|
|
2525
|
-
|
|
2686
|
+
href: "/",
|
|
2526
2687
|
className: "body-small font-medium text-gray-100",
|
|
2527
2688
|
children: "Health-Safety Rating"
|
|
2528
2689
|
}
|
|
@@ -2531,9 +2692,9 @@ const Navigation = ({
|
|
|
2531
2692
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2532
2693
|
/* @__PURE__ */ jsx(NavBullet, { color: "#0F748A" }),
|
|
2533
2694
|
/* @__PURE__ */ jsx(
|
|
2534
|
-
|
|
2695
|
+
NavLink,
|
|
2535
2696
|
{
|
|
2536
|
-
|
|
2697
|
+
href: "/",
|
|
2537
2698
|
className: "body-small font-medium text-gray-100",
|
|
2538
2699
|
children: "Performance Rating"
|
|
2539
2700
|
}
|
|
@@ -2542,9 +2703,9 @@ const Navigation = ({
|
|
|
2542
2703
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2543
2704
|
/* @__PURE__ */ jsx(NavBullet, { color: "#17AA8D" }),
|
|
2544
2705
|
/* @__PURE__ */ jsx(
|
|
2545
|
-
|
|
2706
|
+
NavLink,
|
|
2546
2707
|
{
|
|
2547
|
-
|
|
2708
|
+
href: "/",
|
|
2548
2709
|
className: "body-small font-medium text-gray-100",
|
|
2549
2710
|
children: "Equity Rating"
|
|
2550
2711
|
}
|
|
@@ -2572,17 +2733,17 @@ const Navigation = ({
|
|
|
2572
2733
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "JOIN" }),
|
|
2573
2734
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2574
2735
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2575
|
-
|
|
2736
|
+
NavLink,
|
|
2576
2737
|
{
|
|
2577
|
-
|
|
2738
|
+
href: "/",
|
|
2578
2739
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2579
2740
|
children: "Membership"
|
|
2580
2741
|
}
|
|
2581
2742
|
) }),
|
|
2582
2743
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2583
|
-
|
|
2744
|
+
NavLink,
|
|
2584
2745
|
{
|
|
2585
|
-
|
|
2746
|
+
href: "/",
|
|
2586
2747
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2587
2748
|
children: "Works with WELL"
|
|
2588
2749
|
}
|
|
@@ -2590,9 +2751,9 @@ const Navigation = ({
|
|
|
2590
2751
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2591
2752
|
/* @__PURE__ */ jsx(NavBullet, { color: "#2E74AD" }),
|
|
2592
2753
|
/* @__PURE__ */ jsx(
|
|
2593
|
-
|
|
2754
|
+
NavLink,
|
|
2594
2755
|
{
|
|
2595
|
-
|
|
2756
|
+
href: "/",
|
|
2596
2757
|
className: "body-small font-medium text-gray-100",
|
|
2597
2758
|
children: "Enterprise Provider"
|
|
2598
2759
|
}
|
|
@@ -2601,9 +2762,9 @@ const Navigation = ({
|
|
|
2601
2762
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2602
2763
|
/* @__PURE__ */ jsx(NavBullet, { color: "#149EBD" }),
|
|
2603
2764
|
/* @__PURE__ */ jsx(
|
|
2604
|
-
|
|
2765
|
+
NavLink,
|
|
2605
2766
|
{
|
|
2606
|
-
|
|
2767
|
+
href: "/",
|
|
2607
2768
|
className: "body-small font-medium text-gray-100",
|
|
2608
2769
|
children: "Product Provider"
|
|
2609
2770
|
}
|
|
@@ -2612,9 +2773,9 @@ const Navigation = ({
|
|
|
2612
2773
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2613
2774
|
/* @__PURE__ */ jsx(NavBullet, { color: "#ED896F" }),
|
|
2614
2775
|
/* @__PURE__ */ jsx(
|
|
2615
|
-
|
|
2776
|
+
NavLink,
|
|
2616
2777
|
{
|
|
2617
|
-
|
|
2778
|
+
href: "/",
|
|
2618
2779
|
className: "body-small font-medium text-gray-100",
|
|
2619
2780
|
children: "Performance Testing Provider"
|
|
2620
2781
|
}
|
|
@@ -2626,17 +2787,17 @@ const Navigation = ({
|
|
|
2626
2787
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "EARN" }),
|
|
2627
2788
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2628
2789
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2629
|
-
|
|
2790
|
+
NavLink,
|
|
2630
2791
|
{
|
|
2631
|
-
|
|
2792
|
+
href: "/",
|
|
2632
2793
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2633
2794
|
children: "WELL AP"
|
|
2634
2795
|
}
|
|
2635
2796
|
) }),
|
|
2636
2797
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2637
|
-
|
|
2798
|
+
NavLink,
|
|
2638
2799
|
{
|
|
2639
|
-
|
|
2800
|
+
href: "/",
|
|
2640
2801
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2641
2802
|
children: "WELL Faculty"
|
|
2642
2803
|
}
|
|
@@ -2663,9 +2824,9 @@ const Navigation = ({
|
|
|
2663
2824
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "LEARN" }),
|
|
2664
2825
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2665
2826
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2666
|
-
|
|
2827
|
+
NavLink,
|
|
2667
2828
|
{
|
|
2668
|
-
|
|
2829
|
+
href: "/",
|
|
2669
2830
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2670
2831
|
children: "WELL Forum"
|
|
2671
2832
|
}
|
|
@@ -2673,9 +2834,9 @@ const Navigation = ({
|
|
|
2673
2834
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2674
2835
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2675
2836
|
/* @__PURE__ */ jsx(
|
|
2676
|
-
|
|
2837
|
+
NavLink,
|
|
2677
2838
|
{
|
|
2678
|
-
|
|
2839
|
+
href: "/",
|
|
2679
2840
|
className: "body-small font-medium text-gray-100",
|
|
2680
2841
|
children: "Threads"
|
|
2681
2842
|
}
|
|
@@ -2684,9 +2845,9 @@ const Navigation = ({
|
|
|
2684
2845
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2685
2846
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2686
2847
|
/* @__PURE__ */ jsx(
|
|
2687
|
-
|
|
2848
|
+
NavLink,
|
|
2688
2849
|
{
|
|
2689
|
-
|
|
2850
|
+
href: "/",
|
|
2690
2851
|
className: "body-small font-medium text-gray-100",
|
|
2691
2852
|
children: "Webcasts"
|
|
2692
2853
|
}
|
|
@@ -2695,9 +2856,9 @@ const Navigation = ({
|
|
|
2695
2856
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2696
2857
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2697
2858
|
/* @__PURE__ */ jsx(
|
|
2698
|
-
|
|
2859
|
+
NavLink,
|
|
2699
2860
|
{
|
|
2700
|
-
|
|
2861
|
+
href: "/",
|
|
2701
2862
|
className: "body-small font-medium text-gray-100",
|
|
2702
2863
|
children: "Trainings"
|
|
2703
2864
|
}
|
|
@@ -2709,9 +2870,9 @@ const Navigation = ({
|
|
|
2709
2870
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "ATTEND" }),
|
|
2710
2871
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2711
2872
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2712
|
-
|
|
2873
|
+
NavLink,
|
|
2713
2874
|
{
|
|
2714
|
-
|
|
2875
|
+
href: "/",
|
|
2715
2876
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2716
2877
|
children: "WELL 2025"
|
|
2717
2878
|
}
|
|
@@ -2719,9 +2880,9 @@ const Navigation = ({
|
|
|
2719
2880
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2720
2881
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2721
2882
|
/* @__PURE__ */ jsx(
|
|
2722
|
-
|
|
2883
|
+
NavLink,
|
|
2723
2884
|
{
|
|
2724
|
-
|
|
2885
|
+
href: "/",
|
|
2725
2886
|
className: "body-small font-medium text-gray-100",
|
|
2726
2887
|
children: "Flagship events"
|
|
2727
2888
|
}
|
|
@@ -2730,9 +2891,9 @@ const Navigation = ({
|
|
|
2730
2891
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2731
2892
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2732
2893
|
/* @__PURE__ */ jsx(
|
|
2733
|
-
|
|
2894
|
+
NavLink,
|
|
2734
2895
|
{
|
|
2735
|
-
|
|
2896
|
+
href: "/",
|
|
2736
2897
|
className: "body-small font-medium text-gray-100",
|
|
2737
2898
|
children: "Thematic summits"
|
|
2738
2899
|
}
|
|
@@ -2741,9 +2902,9 @@ const Navigation = ({
|
|
|
2741
2902
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2742
2903
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2743
2904
|
/* @__PURE__ */ jsx(
|
|
2744
|
-
|
|
2905
|
+
NavLink,
|
|
2745
2906
|
{
|
|
2746
|
-
|
|
2907
|
+
href: "/",
|
|
2747
2908
|
className: "body-small font-medium text-gray-100",
|
|
2748
2909
|
children: "Regional summits"
|
|
2749
2910
|
}
|
|
@@ -2755,9 +2916,9 @@ const Navigation = ({
|
|
|
2755
2916
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "GUIDANCE" }),
|
|
2756
2917
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2757
2918
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2758
|
-
|
|
2919
|
+
NavLink,
|
|
2759
2920
|
{
|
|
2760
|
-
|
|
2921
|
+
href: "/",
|
|
2761
2922
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2762
2923
|
children: "Knowledge base"
|
|
2763
2924
|
}
|
|
@@ -2765,9 +2926,9 @@ const Navigation = ({
|
|
|
2765
2926
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2766
2927
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2767
2928
|
/* @__PURE__ */ jsx(
|
|
2768
|
-
|
|
2929
|
+
NavLink,
|
|
2769
2930
|
{
|
|
2770
|
-
|
|
2931
|
+
href: "/",
|
|
2771
2932
|
className: "body-small font-medium text-gray-100",
|
|
2772
2933
|
children: "Tutorials"
|
|
2773
2934
|
}
|
|
@@ -2776,9 +2937,9 @@ const Navigation = ({
|
|
|
2776
2937
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2777
2938
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2778
2939
|
/* @__PURE__ */ jsx(
|
|
2779
|
-
|
|
2940
|
+
NavLink,
|
|
2780
2941
|
{
|
|
2781
|
-
|
|
2942
|
+
href: "/",
|
|
2782
2943
|
className: "body-small font-medium text-gray-100",
|
|
2783
2944
|
children: "Guides"
|
|
2784
2945
|
}
|
|
@@ -2787,9 +2948,9 @@ const Navigation = ({
|
|
|
2787
2948
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2788
2949
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2789
2950
|
/* @__PURE__ */ jsx(
|
|
2790
|
-
|
|
2951
|
+
NavLink,
|
|
2791
2952
|
{
|
|
2792
|
-
|
|
2953
|
+
href: "/",
|
|
2793
2954
|
className: "body-small font-medium text-gray-100",
|
|
2794
2955
|
children: "FAQs"
|
|
2795
2956
|
}
|
|
@@ -2801,9 +2962,9 @@ const Navigation = ({
|
|
|
2801
2962
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Resources" }),
|
|
2802
2963
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2803
2964
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2804
|
-
|
|
2965
|
+
NavLink,
|
|
2805
2966
|
{
|
|
2806
|
-
|
|
2967
|
+
href: "/",
|
|
2807
2968
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2808
2969
|
children: "Resource library"
|
|
2809
2970
|
}
|
|
@@ -2811,9 +2972,9 @@ const Navigation = ({
|
|
|
2811
2972
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2812
2973
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2813
2974
|
/* @__PURE__ */ jsx(
|
|
2814
|
-
|
|
2975
|
+
NavLink,
|
|
2815
2976
|
{
|
|
2816
|
-
|
|
2977
|
+
href: "/",
|
|
2817
2978
|
className: "body-small font-medium text-gray-100",
|
|
2818
2979
|
children: "Technical tools"
|
|
2819
2980
|
}
|
|
@@ -2822,9 +2983,9 @@ const Navigation = ({
|
|
|
2822
2983
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2823
2984
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2824
2985
|
/* @__PURE__ */ jsx(
|
|
2825
|
-
|
|
2986
|
+
NavLink,
|
|
2826
2987
|
{
|
|
2827
|
-
|
|
2988
|
+
href: "/",
|
|
2828
2989
|
className: "body-small font-medium text-gray-100",
|
|
2829
2990
|
children: "Sales tools"
|
|
2830
2991
|
}
|
|
@@ -2833,9 +2994,9 @@ const Navigation = ({
|
|
|
2833
2994
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pl-[6px]", children: [
|
|
2834
2995
|
/* @__PURE__ */ jsx("div", { className: "h-1 w-1 rounded-full bg-gray-500" }),
|
|
2835
2996
|
/* @__PURE__ */ jsx(
|
|
2836
|
-
|
|
2997
|
+
NavLink,
|
|
2837
2998
|
{
|
|
2838
|
-
|
|
2999
|
+
href: "/",
|
|
2839
3000
|
className: "body-small font-medium text-gray-100",
|
|
2840
3001
|
children: "Media"
|
|
2841
3002
|
}
|
|
@@ -2863,25 +3024,25 @@ const Navigation = ({
|
|
|
2863
3024
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "About" }),
|
|
2864
3025
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2865
3026
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2866
|
-
|
|
3027
|
+
NavLink,
|
|
2867
3028
|
{
|
|
2868
|
-
|
|
3029
|
+
href: "/",
|
|
2869
3030
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2870
3031
|
children: "IWBI"
|
|
2871
3032
|
}
|
|
2872
3033
|
) }),
|
|
2873
3034
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2874
|
-
|
|
3035
|
+
NavLink,
|
|
2875
3036
|
{
|
|
2876
|
-
|
|
3037
|
+
href: "/",
|
|
2877
3038
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2878
3039
|
children: "Research"
|
|
2879
3040
|
}
|
|
2880
3041
|
) }),
|
|
2881
3042
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2882
|
-
|
|
3043
|
+
NavLink,
|
|
2883
3044
|
{
|
|
2884
|
-
|
|
3045
|
+
href: "/",
|
|
2885
3046
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2886
3047
|
children: "Advocacy"
|
|
2887
3048
|
}
|
|
@@ -2892,25 +3053,25 @@ const Navigation = ({
|
|
|
2892
3053
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Meet" }),
|
|
2893
3054
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2894
3055
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2895
|
-
|
|
3056
|
+
NavLink,
|
|
2896
3057
|
{
|
|
2897
|
-
|
|
3058
|
+
href: "/",
|
|
2898
3059
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2899
3060
|
children: "Team"
|
|
2900
3061
|
}
|
|
2901
3062
|
) }),
|
|
2902
3063
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2903
|
-
|
|
3064
|
+
NavLink,
|
|
2904
3065
|
{
|
|
2905
|
-
|
|
3066
|
+
href: "/",
|
|
2906
3067
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2907
3068
|
children: "Advisories"
|
|
2908
3069
|
}
|
|
2909
3070
|
) }),
|
|
2910
3071
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2911
|
-
|
|
3072
|
+
NavLink,
|
|
2912
3073
|
{
|
|
2913
|
-
|
|
3074
|
+
href: "/",
|
|
2914
3075
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2915
3076
|
children: "Governance Council"
|
|
2916
3077
|
}
|
|
@@ -2921,25 +3082,25 @@ const Navigation = ({
|
|
|
2921
3082
|
/* @__PURE__ */ jsx("h3", { className: "overline-medium font-semibold text-plum-400", children: "Explore" }),
|
|
2922
3083
|
/* @__PURE__ */ jsxs("ul", { className: "space-y-4", children: [
|
|
2923
3084
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2924
|
-
|
|
3085
|
+
NavLink,
|
|
2925
3086
|
{
|
|
2926
|
-
|
|
3087
|
+
href: "/",
|
|
2927
3088
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2928
3089
|
children: "Newsroom"
|
|
2929
3090
|
}
|
|
2930
3091
|
) }),
|
|
2931
3092
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2932
|
-
|
|
3093
|
+
NavLink,
|
|
2933
3094
|
{
|
|
2934
|
-
|
|
3095
|
+
href: "/",
|
|
2935
3096
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2936
3097
|
children: "Jobs"
|
|
2937
3098
|
}
|
|
2938
3099
|
) }),
|
|
2939
3100
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2940
|
-
|
|
3101
|
+
NavLink,
|
|
2941
3102
|
{
|
|
2942
|
-
|
|
3103
|
+
href: "/",
|
|
2943
3104
|
className: "body-base block font-medium text-gray-100 hover:text-white",
|
|
2944
3105
|
children: "Blog"
|
|
2945
3106
|
}
|
|
@@ -3007,7 +3168,7 @@ function DialogContent({
|
|
|
3007
3168
|
{
|
|
3008
3169
|
"data-slot": "dialog-content",
|
|
3009
3170
|
className: cn(
|
|
3010
|
-
"DialogContent overflow-hidden rounded-[40px] gap-4 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 fixed top-
|
|
3171
|
+
"DialogContent overflow-hidden rounded-[40px] gap-4 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 fixed top-1/2 left-1/2 z-50 grid -translate-x-1/2 -translate-y-1/2 border-12 border-[rgba(255,255,255,0.20)] duration-200 ",
|
|
3011
3172
|
className
|
|
3012
3173
|
),
|
|
3013
3174
|
...props,
|
|
@@ -3288,224 +3449,6 @@ const SearchField = ({
|
|
|
3288
3449
|
) })
|
|
3289
3450
|
] });
|
|
3290
3451
|
};
|
|
3291
|
-
const conceptColors = {
|
|
3292
|
-
mind: {
|
|
3293
|
-
solid: "#0a5161",
|
|
3294
|
-
light: "rgba(10,81,97,0.08)",
|
|
3295
|
-
border: "rgba(10,81,97,0.16)",
|
|
3296
|
-
prefix: "M"
|
|
3297
|
-
},
|
|
3298
|
-
community: {
|
|
3299
|
-
solid: "#0f748a",
|
|
3300
|
-
light: "rgba(15,116,138,0.12)",
|
|
3301
|
-
border: "rgba(15,116,138,0.24)",
|
|
3302
|
-
prefix: "C"
|
|
3303
|
-
},
|
|
3304
|
-
movement: {
|
|
3305
|
-
solid: "#149ebd",
|
|
3306
|
-
light: "rgba(20,158,189,0.12)",
|
|
3307
|
-
border: "rgba(20,158,189,0.24)",
|
|
3308
|
-
prefix: "V"
|
|
3309
|
-
},
|
|
3310
|
-
water: {
|
|
3311
|
-
solid: "#39c9ea",
|
|
3312
|
-
light: "rgba(57,201,234,0.12)",
|
|
3313
|
-
border: "rgba(57,201,234,0.24)",
|
|
3314
|
-
prefix: "W"
|
|
3315
|
-
},
|
|
3316
|
-
air: {
|
|
3317
|
-
solid: "#87dff2",
|
|
3318
|
-
light: "rgba(135,223,242,0.12)",
|
|
3319
|
-
border: "rgba(135,223,242,0.24)",
|
|
3320
|
-
prefix: "A"
|
|
3321
|
-
},
|
|
3322
|
-
light: {
|
|
3323
|
-
solid: "#8aefdb",
|
|
3324
|
-
light: "rgba(138,239,219,0.12)",
|
|
3325
|
-
border: "rgba(138,239,219,0.24)",
|
|
3326
|
-
prefix: "L"
|
|
3327
|
-
},
|
|
3328
|
-
thermalComfort: {
|
|
3329
|
-
solid: "#3eddbf",
|
|
3330
|
-
light: "rgba(62,221,191,0.12)",
|
|
3331
|
-
border: "rgba(62,221,191,0.24)",
|
|
3332
|
-
prefix: "T"
|
|
3333
|
-
},
|
|
3334
|
-
nourishment: {
|
|
3335
|
-
solid: "#17aa8d",
|
|
3336
|
-
light: "rgba(23,170,141,0.12)",
|
|
3337
|
-
border: "rgba(23,170,141,0.24)",
|
|
3338
|
-
prefix: "N"
|
|
3339
|
-
},
|
|
3340
|
-
sound: {
|
|
3341
|
-
solid: "#0c705c",
|
|
3342
|
-
light: "rgba(12,112,92,0.12)",
|
|
3343
|
-
border: "rgba(12,112,92,0.24)",
|
|
3344
|
-
prefix: "S"
|
|
3345
|
-
},
|
|
3346
|
-
materials: {
|
|
3347
|
-
solid: "#0a4f41",
|
|
3348
|
-
light: "rgba(10,79,65,0.08)",
|
|
3349
|
-
border: "rgba(10,79,65,0.16)",
|
|
3350
|
-
prefix: "X"
|
|
3351
|
-
}
|
|
3352
|
-
};
|
|
3353
|
-
const StrategyTableRow = ({
|
|
3354
|
-
data,
|
|
3355
|
-
isFirst = false,
|
|
3356
|
-
isLast = false,
|
|
3357
|
-
showConceptHeader = true,
|
|
3358
|
-
isExpanded = true
|
|
3359
|
-
}) => {
|
|
3360
|
-
const { concept, theme, strategies } = data;
|
|
3361
|
-
const colors = conceptColors[concept.type];
|
|
3362
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3363
|
-
showConceptHeader && /* @__PURE__ */ jsxs(
|
|
3364
|
-
"div",
|
|
3365
|
-
{
|
|
3366
|
-
className: cn(
|
|
3367
|
-
"flex items-center gap-4 p-4 border border-[#DEDFE3] bg-[#FAFEFF]",
|
|
3368
|
-
"border-b-0",
|
|
3369
|
-
isFirst && "rounded-tl-[12px] rounded-tr-[12px]"
|
|
3370
|
-
),
|
|
3371
|
-
children: [
|
|
3372
|
-
/* @__PURE__ */ jsx("div", { className: "size-[48px] flex items-center justify-center shrink-0", children: concept.icon }),
|
|
3373
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsx("span", { className: "text-sm font-semibold text-[#282A31] uppercase tracking-[0.5px] leading-[14px]", children: concept.name }) })
|
|
3374
|
-
]
|
|
3375
|
-
}
|
|
3376
|
-
),
|
|
3377
|
-
isExpanded && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 p-4 border border-[#DEDFE3] bg-[#FAFEFF] border-b-0", children: [
|
|
3378
|
-
/* @__PURE__ */ jsx(
|
|
3379
|
-
"div",
|
|
3380
|
-
{
|
|
3381
|
-
className: "flex items-center justify-center h-8 w-12 rounded-[6px] shrink-0",
|
|
3382
|
-
style: { backgroundColor: colors.solid },
|
|
3383
|
-
children: /* @__PURE__ */ jsx("span", { className: "text-sm font-semibold text-white leading-[19.6px]", children: theme.code })
|
|
3384
|
-
}
|
|
3385
|
-
),
|
|
3386
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsx("span", { className: "text-base font-medium text-[#282A31] leading-[21px]", children: theme.name }) })
|
|
3387
|
-
] }),
|
|
3388
|
-
isExpanded && strategies.map((strategy, index) => {
|
|
3389
|
-
var _a;
|
|
3390
|
-
const isLastStrategy = index === strategies.length - 1 && isLast;
|
|
3391
|
-
const scoreParts = ((_a = strategy.score) == null ? void 0 : _a.split("–")) || [];
|
|
3392
|
-
const isRange = scoreParts.length > 1;
|
|
3393
|
-
return /* @__PURE__ */ jsxs(
|
|
3394
|
-
"div",
|
|
3395
|
-
{
|
|
3396
|
-
className: cn(
|
|
3397
|
-
"flex items-center gap-4 pl-8 pr-4 py-4 border border-[#DEDFE3] bg-white",
|
|
3398
|
-
"border-b-0",
|
|
3399
|
-
isLastStrategy && "rounded-bl-[12px] rounded-br-[12px] border-b-0"
|
|
3400
|
-
),
|
|
3401
|
-
children: [
|
|
3402
|
-
/* @__PURE__ */ jsx(
|
|
3403
|
-
"div",
|
|
3404
|
-
{
|
|
3405
|
-
className: "flex items-center justify-center h-8 w-12 rounded-[6px] border shrink-0",
|
|
3406
|
-
style: {
|
|
3407
|
-
backgroundColor: colors.light,
|
|
3408
|
-
borderColor: colors.border
|
|
3409
|
-
},
|
|
3410
|
-
children: /* @__PURE__ */ jsx(
|
|
3411
|
-
"span",
|
|
3412
|
-
{
|
|
3413
|
-
className: "text-sm font-semibold leading-[19.6px]",
|
|
3414
|
-
style: { color: colors.solid },
|
|
3415
|
-
children: strategy.code
|
|
3416
|
-
}
|
|
3417
|
-
)
|
|
3418
|
-
}
|
|
3419
|
-
),
|
|
3420
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsx("span", { className: "text-base font-medium text-[#282A31] leading-[21px]", children: strategy.name }) }),
|
|
3421
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 shrink-0", children: [
|
|
3422
|
-
strategy.hasTarget && /* @__PURE__ */ jsx("div", { className: "size-8 flex items-center justify-center", children: /* @__PURE__ */ jsxs(
|
|
3423
|
-
"svg",
|
|
3424
|
-
{
|
|
3425
|
-
width: "14",
|
|
3426
|
-
height: "14",
|
|
3427
|
-
viewBox: "0 0 14 14",
|
|
3428
|
-
fill: "none",
|
|
3429
|
-
className: "text-gray-400",
|
|
3430
|
-
children: [
|
|
3431
|
-
/* @__PURE__ */ jsx(
|
|
3432
|
-
"circle",
|
|
3433
|
-
{
|
|
3434
|
-
cx: "7",
|
|
3435
|
-
cy: "7",
|
|
3436
|
-
r: "6.25",
|
|
3437
|
-
stroke: "currentColor",
|
|
3438
|
-
strokeWidth: "1.5"
|
|
3439
|
-
}
|
|
3440
|
-
),
|
|
3441
|
-
/* @__PURE__ */ jsx(
|
|
3442
|
-
"circle",
|
|
3443
|
-
{
|
|
3444
|
-
cx: "7",
|
|
3445
|
-
cy: "7",
|
|
3446
|
-
r: "3.5",
|
|
3447
|
-
stroke: "currentColor",
|
|
3448
|
-
strokeWidth: "1.5"
|
|
3449
|
-
}
|
|
3450
|
-
),
|
|
3451
|
-
/* @__PURE__ */ jsx("circle", { cx: "7", cy: "7", r: "1", fill: "currentColor" })
|
|
3452
|
-
]
|
|
3453
|
-
}
|
|
3454
|
-
) }),
|
|
3455
|
-
strategy.score && /* @__PURE__ */ jsxs("div", { className: "flex items-end gap-[4px]", children: [
|
|
3456
|
-
/* @__PURE__ */ jsx("span", { className: "text-lg font-semibold text-[#282A31] leading-[25.2px]", children: strategy.score }),
|
|
3457
|
-
/* @__PURE__ */ jsxs("span", { className: "text-xs font-semibold text-[#282A31] uppercase tracking-[0.5px] leading-[12px]", children: [
|
|
3458
|
-
isRange ? "PTS" : "PT",
|
|
3459
|
-
!isRange && /* @__PURE__ */ jsx("span", { className: "text-transparent", children: "S" })
|
|
3460
|
-
] })
|
|
3461
|
-
] })
|
|
3462
|
-
] })
|
|
3463
|
-
]
|
|
3464
|
-
},
|
|
3465
|
-
strategy.id
|
|
3466
|
-
);
|
|
3467
|
-
})
|
|
3468
|
-
] });
|
|
3469
|
-
};
|
|
3470
|
-
const StrategyTable = ({
|
|
3471
|
-
data,
|
|
3472
|
-
className,
|
|
3473
|
-
isExpanded = true
|
|
3474
|
-
}) => {
|
|
3475
|
-
const groupedData = React.useMemo(() => {
|
|
3476
|
-
const groups = {};
|
|
3477
|
-
data.forEach((item) => {
|
|
3478
|
-
const key = item.concept.id;
|
|
3479
|
-
if (!groups[key]) {
|
|
3480
|
-
groups[key] = [];
|
|
3481
|
-
}
|
|
3482
|
-
groups[key].push(item);
|
|
3483
|
-
});
|
|
3484
|
-
return Object.values(groups);
|
|
3485
|
-
}, [data]);
|
|
3486
|
-
return /* @__PURE__ */ jsx("div", { className: cn("flex flex-col", className), children: groupedData.map((group, groupIndex) => {
|
|
3487
|
-
const isFirstGroup = groupIndex === 0;
|
|
3488
|
-
const isLastGroup = groupIndex === groupedData.length - 1;
|
|
3489
|
-
return group.map((item, itemIndex) => {
|
|
3490
|
-
const isFirst = isFirstGroup && itemIndex === 0;
|
|
3491
|
-
const isLastItemInGroup = itemIndex === group.length - 1;
|
|
3492
|
-
const isLastStrategyRow = isLastGroup && isLastItemInGroup && item.strategies.length > 0;
|
|
3493
|
-
const showConceptHeader = itemIndex === 0;
|
|
3494
|
-
const uniqueId = `${item.concept.id}-${item.theme.id}`;
|
|
3495
|
-
return /* @__PURE__ */ jsx(
|
|
3496
|
-
StrategyTableRow,
|
|
3497
|
-
{
|
|
3498
|
-
data: item,
|
|
3499
|
-
isFirst,
|
|
3500
|
-
isLast: isLastStrategyRow,
|
|
3501
|
-
showConceptHeader,
|
|
3502
|
-
isExpanded
|
|
3503
|
-
},
|
|
3504
|
-
uniqueId
|
|
3505
|
-
);
|
|
3506
|
-
});
|
|
3507
|
-
}) });
|
|
3508
|
-
};
|
|
3509
3452
|
const getStatusColors = (status, variant = "light") => {
|
|
3510
3453
|
const colors = {
|
|
3511
3454
|
light: {
|
|
@@ -3573,7 +3516,7 @@ const Tag = React.forwardRef(
|
|
|
3573
3516
|
ref,
|
|
3574
3517
|
onClick,
|
|
3575
3518
|
className: cn(
|
|
3576
|
-
"inline-flex items-center p-[8px] rounded-
|
|
3519
|
+
"inline-flex items-center p-[8px] rounded-sm w-fit",
|
|
3577
3520
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
|
|
3578
3521
|
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
3579
3522
|
statusColors.bg,
|
|
@@ -3591,14 +3534,15 @@ const Tag = React.forwardRef(
|
|
|
3591
3534
|
ref,
|
|
3592
3535
|
onClick,
|
|
3593
3536
|
className: cn(
|
|
3594
|
-
"inline-flex items-center h-[32px] px-[12px] py-0 rounded-
|
|
3537
|
+
"inline-flex items-center h-[32px] px-[12px] py-0 rounded-sm w-fit cursor-pointer",
|
|
3595
3538
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
|
|
3596
3539
|
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
3597
|
-
|
|
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",
|
|
3598
3542
|
className
|
|
3599
3543
|
),
|
|
3600
3544
|
...props,
|
|
3601
|
-
children: /* @__PURE__ */ jsx("span", { className: "body-small font-
|
|
3545
|
+
children: /* @__PURE__ */ jsx("span", { className: "body-small font-semibold", children })
|
|
3602
3546
|
}
|
|
3603
3547
|
);
|
|
3604
3548
|
}
|
|
@@ -3698,7 +3642,7 @@ const PaginationLink = ({
|
|
|
3698
3642
|
{
|
|
3699
3643
|
"aria-current": isActive ? "page" : void 0,
|
|
3700
3644
|
className: cn(
|
|
3701
|
-
buttonVariants
|
|
3645
|
+
buttonVariants({
|
|
3702
3646
|
variant: isActive ? "general-secondary" : "general-tertiary",
|
|
3703
3647
|
size
|
|
3704
3648
|
}),
|
|
@@ -4519,7 +4463,7 @@ const CarouselPrevious = React.forwardRef(
|
|
|
4519
4463
|
({ className, variant = "general-secondary", size = "icon", ...props }, ref) => {
|
|
4520
4464
|
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
4521
4465
|
return /* @__PURE__ */ jsxs(
|
|
4522
|
-
Button
|
|
4466
|
+
Button,
|
|
4523
4467
|
{
|
|
4524
4468
|
ref,
|
|
4525
4469
|
variant,
|
|
@@ -4545,7 +4489,7 @@ const CarouselNext = React.forwardRef(
|
|
|
4545
4489
|
({ className, variant = "general-secondary", size = "icon", ...props }, ref) => {
|
|
4546
4490
|
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
4547
4491
|
return /* @__PURE__ */ jsxs(
|
|
4548
|
-
Button
|
|
4492
|
+
Button,
|
|
4549
4493
|
{
|
|
4550
4494
|
ref,
|
|
4551
4495
|
variant,
|
|
@@ -5346,7 +5290,7 @@ export {
|
|
|
5346
5290
|
BreadcrumbList,
|
|
5347
5291
|
BreadcrumbPage,
|
|
5348
5292
|
BreadcrumbSeparator,
|
|
5349
|
-
Button
|
|
5293
|
+
Button,
|
|
5350
5294
|
Calendar,
|
|
5351
5295
|
Card,
|
|
5352
5296
|
CardContent,
|
|
@@ -5516,7 +5460,6 @@ export {
|
|
|
5516
5460
|
Skeleton,
|
|
5517
5461
|
Slider,
|
|
5518
5462
|
Toaster as Sonner,
|
|
5519
|
-
StrategyTable,
|
|
5520
5463
|
Switch,
|
|
5521
5464
|
Table,
|
|
5522
5465
|
TableBody,
|
|
@@ -5549,9 +5492,8 @@ export {
|
|
|
5549
5492
|
TooltipTrigger,
|
|
5550
5493
|
WELLDashboard,
|
|
5551
5494
|
badgeVariants,
|
|
5552
|
-
buttonVariants
|
|
5495
|
+
buttonVariants,
|
|
5553
5496
|
cn,
|
|
5554
|
-
conceptColors,
|
|
5555
5497
|
navigationMenuTriggerStyle,
|
|
5556
5498
|
useIsMobile,
|
|
5557
5499
|
useSegmentedControl,
|