@nearform/quantum 0.6.0 → 1.0.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/dist/index.js CHANGED
@@ -46,6 +46,7 @@ var __copyProps = (to, from, except, desc) => {
46
46
  }
47
47
  return to;
48
48
  };
49
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
49
50
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
50
51
  // If the importer is in node compatibility mode or this is not an ESM
51
52
  // file that has been converted to a CommonJS file using a Babel-
@@ -84,27 +85,18 @@ __export(src_exports, {
84
85
  AccordionHeader: () => AccordionHeader,
85
86
  AccordionItem: () => AccordionItem,
86
87
  AccordionTrigger: () => AccordionTrigger,
87
- AngleDownIcon: () => AngleDownIcon,
88
88
  Button: () => Button,
89
89
  ButtonGroup: () => ButtonGroup,
90
90
  Calendar: () => Calendar,
91
- CalendarIcon: () => CalendarIcon,
92
- CheckIcon: () => CheckIcon,
93
91
  Checkbox: () => Checkbox,
94
- ChevronLeftOutlineIcon: () => ChevronLeftOutlineIcon,
95
- ChevronRightOutlineIcon: () => ChevronRightOutlineIcon,
96
92
  Chip: () => Chip,
97
- CircleIcon: () => CircleIcon,
98
- CircleOutlineIcon: () => CircleOutlineIcon,
99
- CloseIcon: () => CloseIcon,
100
- CodeIcon: () => CodeIcon,
101
- FolderIcon: () => FolderIcon,
93
+ ControlLabel: () => ControlLabel,
102
94
  FooterStatement: () => FooterStatement,
103
95
  Input: () => Input,
104
96
  Label: () => Label,
97
+ Link: () => Link,
105
98
  LinkColumn: () => LinkColumn,
106
99
  LinkRow: () => LinkRow,
107
- MinusIcon: () => MinusIcon,
108
100
  Modal: () => Modal,
109
101
  ModalClose: () => ModalClose,
110
102
  ModalCloseFooter: () => ModalCloseFooter,
@@ -116,16 +108,18 @@ __export(src_exports, {
116
108
  ModalPortal: () => ModalPortal,
117
109
  ModalTitle: () => ModalTitle,
118
110
  ModalTrigger: () => ModalTrigger,
111
+ OpenSourceIcon: () => OpenSourceIcon,
119
112
  Pagination: () => Pagination,
120
- PlusIcon: () => PlusIcon,
121
113
  Popover: () => Popover,
122
114
  PopoverClose: () => PopoverClose,
123
115
  PopoverContent: () => PopoverContent,
116
+ PopoverFooter: () => PopoverFooter,
117
+ PopoverHeader: () => PopoverHeader,
118
+ PopoverScrollArea: () => PopoverScrollArea,
124
119
  PopoverSeparator: () => PopoverSeparator,
125
120
  PopoverTrigger: () => PopoverTrigger,
126
121
  Radio: () => RadioGroupItem,
127
122
  RadioGroup: () => RadioGroup,
128
- SearchIcon: () => SearchIcon,
129
123
  Select: () => Select,
130
124
  SelectContent: () => SelectContent,
131
125
  SelectGroup: () => SelectGroup,
@@ -145,8 +139,6 @@ __export(src_exports, {
145
139
  TableHeader: () => TableHeader,
146
140
  TableRow: () => TableRow,
147
141
  Tooltip: () => Tooltip,
148
- UserGroupIcon: () => UserGroupIcon,
149
- UserIcon: () => UserIcon,
150
142
  WebsiteFooter: () => WebsiteFooter,
151
143
  buttonVariants: () => buttonVariants,
152
144
  colors: () => colors_default
@@ -274,6 +266,20 @@ var colors = {
274
266
  700: "#D95477",
275
267
  800: "#A02042",
276
268
  900: "#731837"
269
+ },
270
+ brandMidnight: {
271
+ 10: "#f4f8fa",
272
+ 30: "#97a1b8",
273
+ 50: "#526288",
274
+ 80: "#0c3d60",
275
+ 100: "#000e38"
276
+ },
277
+ brandGreen: {
278
+ 10: "#e5fcf5",
279
+ 30: "#b2f7e1",
280
+ 50: "#78edc4",
281
+ 80: "#32ebae",
282
+ 100: "#03e5a4"
277
283
  }
278
284
  };
279
285
 
@@ -300,11 +306,11 @@ var background = {
300
306
  DEFAULT: "#FFF",
301
307
  dark: "#000",
302
308
  alt: {
303
- DEFAULT: colors.grey["50"],
309
+ DEFAULT: colors.grey["100"],
304
310
  dark: colors.grey["700"]
305
311
  },
306
312
  subtle: {
307
- DEFAULT: colors.purple["50"],
313
+ DEFAULT: colors.grey["50"],
308
314
  dark: colors.grey["800"]
309
315
  },
310
316
  inverse: {
@@ -315,36 +321,36 @@ var background = {
315
321
 
316
322
  // src/colors/accent.ts
317
323
  var accent = {
318
- DEFAULT: colors.blue["700"],
319
- dark: "#FFF",
324
+ DEFAULT: colors.brandMidnight["100"],
325
+ dark: colors.brandMidnight["10"],
320
326
  alt: {
321
- DEFAULT: colors.grey["300"],
327
+ DEFAULT: colors.brandMidnight["80"],
322
328
  dark: colors.grey["600"]
323
329
  },
324
330
  hover: {
325
- DEFAULT: colors.grey["900"],
326
- dark: colors.grey["300"]
331
+ DEFAULT: colors.brandMidnight["80"],
332
+ dark: colors.brandMidnight["30"]
327
333
  },
328
334
  focus: {
329
- DEFAULT: "#000",
335
+ DEFAULT: colors.brandMidnight["100"],
330
336
  dark: colors.grey["100"]
331
337
  }
332
338
  };
333
339
 
334
340
  // src/colors/border.ts
335
341
  var border = {
336
- DEFAULT: colors.grey["300"],
337
- dark: colors.grey["500"],
342
+ DEFAULT: colors.brandMidnight["30"],
343
+ dark: colors.brandMidnight["50"],
338
344
  hover: {
339
- DEFAULT: colors.grey["400"],
340
- dark: colors.grey["300"]
345
+ DEFAULT: colors.brandMidnight["50"],
346
+ dark: colors.brandMidnight["80"]
341
347
  },
342
348
  focus: {
343
- DEFAULT: colors.grey["500"],
349
+ DEFAULT: colors.brandMidnight["80"],
344
350
  dark: colors.grey["400"]
345
351
  },
346
352
  subtle: {
347
- DEFAULT: colors.grey["200"],
353
+ DEFAULT: colors.brandMidnight["10"],
348
354
  dark: colors.grey["700"]
349
355
  }
350
356
  };
@@ -360,34 +366,38 @@ var feedback = {
360
366
  // src/colors/button.ts
361
367
  var button = {
362
368
  primary: {
363
- DEFAULT: colors.blue["700"],
364
- dark: "#FFF",
369
+ DEFAULT: accent.DEFAULT,
370
+ dark: accent.dark,
365
371
  hover: {
366
- DEFAULT: colors.blue["800"],
372
+ DEFAULT: accent.hover.DEFAULT,
367
373
  dark: accent.hover.dark
368
374
  },
369
375
  focus: {
370
- DEFAULT: accent.DEFAULT,
376
+ DEFAULT: accent.focus.DEFAULT,
371
377
  dark: accent.focus.dark
372
378
  },
373
379
  disabled: {
374
- DEFAULT: colors.grey["50"],
380
+ DEFAULT: background.subtle.DEFAULT,
381
+ dark: background.subtle.dark
382
+ },
383
+ selected: {
384
+ DEFAILT: colors.grey["100"],
375
385
  dark: background.subtle.dark
376
386
  }
377
387
  },
378
388
  secondary: {
379
389
  DEFAULT: "#FFF",
380
- dark: "#000",
390
+ dark: colors.grey["900"],
381
391
  hover: {
382
- DEFAULT: colors.grey["50"],
392
+ DEFAULT: background.subtle.DEFAULT,
383
393
  dark: background.subtle.dark
384
394
  },
385
395
  focus: {
386
- DEFAULT: colors.blue["50"],
387
- dark: colors.blue["900"]
396
+ DEFAULT: background.alt.DEFAULT,
397
+ dark: background.alt.dark
388
398
  },
389
399
  disabled: {
390
- DEFAULT: colors.grey["50"],
400
+ DEFAULT: background.subtle.DEFAULT,
391
401
  dark: background.subtle.dark
392
402
  },
393
403
  border: {
@@ -404,29 +414,41 @@ var button = {
404
414
  disabled: {
405
415
  DEFAULT: border.subtle.DEFAULT,
406
416
  dark: border.subtle.dark
417
+ },
418
+ selected: {
419
+ DEFAILT: colors.grey["100"],
420
+ dark: background.subtle.dark
407
421
  }
408
422
  }
409
423
  },
410
424
  tertiary: {
411
425
  hover: {
412
- DEFAULT: colors.grey["50"],
426
+ DEFAULT: background.subtle.DEFAULT,
413
427
  dark: background.subtle.dark
414
428
  },
415
429
  focus: {
416
430
  DEFAULT: background.DEFAULT,
417
431
  dark: colors.blue["900"]
432
+ },
433
+ selected: {
434
+ DEFAILT: colors.grey["100"],
435
+ dark: background.subtle.dark
418
436
  }
419
437
  },
420
438
  success: {
421
439
  DEFAULT: feedback.green,
422
440
  hover: {
423
- DEFAULT: colors.green["500"]
441
+ DEFAULT: colors.green["600"]
424
442
  },
425
443
  focus: {
426
- DEFAULT: colors.green["600"]
444
+ DEFAULT: colors.green["700"]
427
445
  },
428
446
  disabled: {
429
447
  DEFAULT: colors.grey["50"]
448
+ },
449
+ selected: {
450
+ DEFAILT: colors.grey["100"],
451
+ dark: background.subtle.dark
430
452
  }
431
453
  },
432
454
  danger: {
@@ -435,10 +457,14 @@ var button = {
435
457
  DEFAULT: colors.red["700"]
436
458
  },
437
459
  focus: {
438
- DEFAULT: colors.red["600"]
460
+ DEFAULT: colors.red["800"]
439
461
  },
440
462
  disabled: {
441
463
  DEFAULT: colors.grey["50"]
464
+ },
465
+ selected: {
466
+ DEFAILT: colors.grey["100"],
467
+ dark: background.subtle.dark
442
468
  }
443
469
  }
444
470
  };
@@ -447,8 +473,8 @@ var button = {
447
473
  var colors_default = __spreadValues({
448
474
  transparent: "transparent",
449
475
  current: "currentColor",
450
- primary: colors.blue,
451
- secondary: colors.pink,
476
+ primary: colors.brandMidnight,
477
+ secondary: colors.brandGreen,
452
478
  foreground,
453
479
  background,
454
480
  accent,
@@ -463,111 +489,29 @@ var colors_default = __spreadValues({
463
489
  }
464
490
  }, colors);
465
491
 
466
- // src/components/Button/index.tsx
492
+ // src/components/Accordion/index.tsx
467
493
  var React = __toESM(require("react"));
494
+ var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
495
+ var import_class_variance_authority = require("class-variance-authority");
468
496
 
469
- // node_modules/@babel/runtime/helpers/esm/extends.js
470
- function _extends() {
471
- _extends = Object.assign ? Object.assign.bind() : function(target) {
472
- for (var i = 1; i < arguments.length; i++) {
473
- var source = arguments[i];
474
- for (var key in source) {
475
- if (Object.prototype.hasOwnProperty.call(source, key)) {
476
- target[key] = source[key];
477
- }
478
- }
479
- }
480
- return target;
481
- };
482
- return _extends.apply(this, arguments);
483
- }
484
-
485
- // node_modules/@radix-ui/react-slot/dist/index.mjs
486
- var import_react2 = require("react");
487
-
488
- // node_modules/@radix-ui/react-compose-refs/dist/index.mjs
489
- var import_react = require("react");
490
- function $6ed0406888f73fc4$var$setRef(ref, value) {
491
- if (typeof ref === "function")
492
- ref(value);
493
- else if (ref !== null && ref !== void 0)
494
- ref.current = value;
495
- }
496
- function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs) {
497
- return (node) => refs.forEach(
498
- (ref) => $6ed0406888f73fc4$var$setRef(ref, node)
499
- );
500
- }
501
- function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs) {
502
- return (0, import_react.useCallback)($6ed0406888f73fc4$export$43e446d32b3d21af(...refs), refs);
503
- }
504
-
505
- // node_modules/@radix-ui/react-slot/dist/index.mjs
506
- var $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /* @__PURE__ */ (0, import_react2.forwardRef)((props, forwardedRef) => {
507
- const _a = props, { children } = _a, slotProps = __objRest(_a, ["children"]);
508
- const childrenArray = import_react2.Children.toArray(children);
509
- const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
510
- if (slottable) {
511
- const newElement = slottable.props.children;
512
- const newChildren = childrenArray.map((child) => {
513
- if (child === slottable) {
514
- if (import_react2.Children.count(newElement) > 1)
515
- return import_react2.Children.only(null);
516
- return /* @__PURE__ */ (0, import_react2.isValidElement)(newElement) ? newElement.props.children : null;
517
- } else
518
- return child;
519
- });
520
- return /* @__PURE__ */ (0, import_react2.createElement)($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
521
- ref: forwardedRef
522
- }), /* @__PURE__ */ (0, import_react2.isValidElement)(newElement) ? /* @__PURE__ */ (0, import_react2.cloneElement)(newElement, void 0, newChildren) : null);
523
- }
524
- return /* @__PURE__ */ (0, import_react2.createElement)($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
525
- ref: forwardedRef
526
- }), children);
527
- });
528
- $5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = "Slot";
529
- var $5e63c961fc1ce211$var$SlotClone = /* @__PURE__ */ (0, import_react2.forwardRef)((props, forwardedRef) => {
530
- const _a = props, { children } = _a, slotProps = __objRest(_a, ["children"]);
531
- if (/* @__PURE__ */ (0, import_react2.isValidElement)(children))
532
- return /* @__PURE__ */ (0, import_react2.cloneElement)(children, __spreadProps(__spreadValues({}, $5e63c961fc1ce211$var$mergeProps(slotProps, children.props)), {
533
- ref: forwardedRef ? $6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref) : children.ref
534
- }));
535
- return import_react2.Children.count(children) > 1 ? import_react2.Children.only(null) : null;
497
+ // src/assets/index.ts
498
+ var assets_exports = {};
499
+ __export(assets_exports, {
500
+ OpenSourceIcon: () => OpenSourceIcon
536
501
  });
537
- $5e63c961fc1ce211$var$SlotClone.displayName = "SlotClone";
538
- var $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children }) => {
539
- return /* @__PURE__ */ (0, import_react2.createElement)(import_react2.Fragment, null, children);
540
- };
541
- function $5e63c961fc1ce211$var$isSlottable(child) {
542
- return /* @__PURE__ */ (0, import_react2.isValidElement)(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
543
- }
544
- function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
545
- const overrideProps = __spreadValues({}, childProps);
546
- for (const propName in childProps) {
547
- const slotPropValue = slotProps[propName];
548
- const childPropValue = childProps[propName];
549
- const isHandler = /^on[A-Z]/.test(propName);
550
- if (isHandler) {
551
- if (slotPropValue && childPropValue)
552
- overrideProps[propName] = (...args) => {
553
- childPropValue(...args);
554
- slotPropValue(...args);
555
- };
556
- else if (slotPropValue)
557
- overrideProps[propName] = slotPropValue;
558
- } else if (propName === "style")
559
- overrideProps[propName] = __spreadValues(__spreadValues({}, slotPropValue), childPropValue);
560
- else if (propName === "className")
561
- overrideProps[propName] = [
562
- slotPropValue,
563
- childPropValue
564
- ].filter(Boolean).join(" ");
565
- }
566
- return __spreadValues(__spreadValues({}, slotProps), overrideProps);
567
- }
502
+ __reExport(assets_exports, require("react-icons/bs"));
568
503
 
569
- // src/components/Button/index.tsx
570
- var import_class_variance_authority = require("class-variance-authority");
504
+ // src/assets/build/open-source.icon.tsx
505
+ var import_jsx_runtime = require("react/jsx-runtime");
506
+ var OpenSourceIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", __spreadProps(__spreadValues({ viewBox: "0 0 25 26", xmlns: "http://www.w3.org/2000/svg" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { id: "open-source", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
507
+ "path",
508
+ {
509
+ "fill-rule": "evenodd",
510
+ "clip-rule": "evenodd",
511
+ d: "M12.25 0.0669873C12.4047 -0.0223291 12.5953 -0.0223291 12.75 0.0669873L24.2391 6.70019C24.3938 6.7895 24.4891 6.95457 24.4891 7.1332V20.3996C24.4891 20.5782 24.3938 20.7433 24.2391 20.8326L15.4062 25.9322V19.0104L18.3695 17.2995C18.4469 17.2548 18.4945 17.1723 18.4945 17.083V10.4498C18.4945 10.3605 18.4469 10.278 18.3695 10.2333L12.625 6.91669C12.5477 6.87204 12.4524 6.87204 12.375 6.91669L6.63051 10.2333C6.55316 10.278 6.50551 10.3605 6.50551 10.4498V17.083C6.50551 17.1723 6.55316 17.2548 6.63051 17.2995L9.65625 19.0464V25.9683L0.760986 20.8326C0.606286 20.7433 0.510986 20.5782 0.510986 20.3996V7.1332C0.510986 6.95457 0.606286 6.7895 0.760986 6.70019L12.25 0.0669873Z",
512
+ fill: "currentColor"
513
+ }
514
+ ) }) }));
571
515
 
572
516
  // src/lib/utils.ts
573
517
  var import_clsx = require("clsx");
@@ -576,86 +520,208 @@ function cn(...inputs) {
576
520
  return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
577
521
  }
578
522
 
523
+ // src/components/Accordion/index.tsx
524
+ var import_jsx_runtime2 = require("react/jsx-runtime");
525
+ var sizeVariants = (0, import_class_variance_authority.cva)("", {
526
+ variants: {
527
+ size: {
528
+ sm: ["text-sm"],
529
+ md: ["text-base"],
530
+ lg: ["text-lg"]
531
+ }
532
+ },
533
+ defaultVariants: {
534
+ size: "md"
535
+ }
536
+ });
537
+ var Accordion = React.forwardRef((_a, ref) => {
538
+ var _b = _a, { children, className, size: size3 } = _b, props = __objRest(_b, ["children", "className", "size"]);
539
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
540
+ AccordionPrimitive.Root,
541
+ __spreadProps(__spreadValues({
542
+ className: cn(
543
+ sizeVariants({ size: size3 }),
544
+ "dark:bg-grey-900 bg-white w-[206px] rounded-md shadow-[0_2px_10px] shadow-black/5",
545
+ className
546
+ )
547
+ }, props), {
548
+ ref,
549
+ children
550
+ })
551
+ );
552
+ });
553
+ Accordion.displayName = AccordionPrimitive.Root.displayName;
554
+ var AccordionItem = React.forwardRef((_a, ref) => {
555
+ var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
556
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
557
+ AccordionPrimitive.Item,
558
+ __spreadProps(__spreadValues({
559
+ className: cn(
560
+ "px-4 overflow-hidden first:mt-0 first:rounded-t last:rounded-b border-b border-grey-200 dark:border-grey-700 last:border-0",
561
+ className
562
+ )
563
+ }, props), {
564
+ ref,
565
+ children
566
+ })
567
+ );
568
+ });
569
+ AccordionItem.displayName = AccordionPrimitive.Item.displayName;
570
+ var AccordionHeader = React.forwardRef((_a, ref) => {
571
+ var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
572
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
573
+ AccordionPrimitive.Header,
574
+ __spreadProps(__spreadValues({
575
+ className: cn("flex font-semibold py-4", className)
576
+ }, props), {
577
+ ref,
578
+ children
579
+ })
580
+ );
581
+ });
582
+ AccordionHeader.displayName = AccordionPrimitive.Header.displayName;
583
+ var AccordionTrigger = React.forwardRef((_a, ref) => {
584
+ var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
585
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(AccordionHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
586
+ AccordionPrimitive.Trigger,
587
+ __spreadProps(__spreadValues({
588
+ className: cn(
589
+ "dark:bg-grey-900 dark:text-white group flex flex-1 cursor-default items-center justify-between bg-white leading-none",
590
+ className
591
+ )
592
+ }, props), {
593
+ ref,
594
+ children: [
595
+ children,
596
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
597
+ assets_exports.BsChevronDown,
598
+ {
599
+ className: "ease-[cubic-bezier(0.87,_0,_0.13,_1)] transition-transform duration-300 group-data-[state=open]:rotate-180 w-3 h-3 text-gray-800",
600
+ "aria-hidden": true
601
+ }
602
+ )
603
+ ]
604
+ })
605
+ ) });
606
+ });
607
+ AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
608
+ var AccordionContent = React.forwardRef((_a, ref) => {
609
+ var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
610
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
611
+ AccordionPrimitive.Content,
612
+ __spreadProps(__spreadValues({
613
+ className: cn(
614
+ "dark:text-white data-[state=open]:animate-slideDown data-[state=closed]:animate-slideUp overflow-hidden",
615
+ className
616
+ )
617
+ }, props), {
618
+ ref,
619
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "pb-3", children })
620
+ })
621
+ );
622
+ });
623
+ AccordionContent.displayName = AccordionPrimitive.Content.displayName;
624
+
579
625
  // src/components/Button/index.tsx
580
- var import_jsx_runtime = require("react/jsx-runtime");
581
- var buttonVariants = (0, import_class_variance_authority.cva)(
626
+ var React2 = __toESM(require("react"));
627
+ var import_class_variance_authority2 = require("class-variance-authority");
628
+ var import_jsx_runtime3 = require("react/jsx-runtime");
629
+ var buttonVariants = (0, import_class_variance_authority2.cva)(
582
630
  [
583
- "inline-flex",
584
- "items-center",
585
- "justify-center",
586
- "whitespace-nowrap",
631
+ "inline-flex items-center",
587
632
  "rounded-lg",
588
633
  "transition-colors",
589
634
  "focus-visible:outline-none",
590
- "focus-visible:ring-1",
591
- "focus-visible:ring-ring",
592
635
  "disabled:pointer-events-none",
593
- "border-2 "
636
+ "cursor-pointer",
637
+ "disabled:cursor-default"
594
638
  ],
595
639
  {
596
640
  variants: {
597
641
  variant: {
598
642
  primary: [
643
+ "border-0",
599
644
  "bg-button-primary",
600
- "border-button-primary",
601
645
  "text-white",
646
+ "border-button-primary",
602
647
  "hover:bg-button-primary-hover",
603
648
  "hover:border-button-primary-hover",
604
649
  "focus:bg-button-primary-focus",
605
- "focus:border-button-primary-focus",
606
- "focus-visible:shadow-blue",
650
+ "focus:shadow-brandGreen",
651
+ "active:border-transparent",
652
+ "active:shadow-none",
607
653
  "disabled:bg-button-primary-disabled",
608
654
  "disabled:text-foreground-subtle",
609
- "disabled:border-button-primary-disabled"
655
+ "disabled:border-button-primary-disabled",
656
+ "selected:text-foreground-selected",
657
+ "dark:bg-button-primary-dark",
658
+ "dark:border-button-primary-dark",
659
+ "dark:text-foreground-inverse-dark",
660
+ "dark:hover:bg-button-primary-hover-dark",
661
+ "dark:hover:border-button-primary-hover-dark",
662
+ "dark:focus:bg-button-primary-dark",
663
+ "dark:focus:border-brandGreen-30",
664
+ "dark:active:border-transparent",
665
+ "dark:disabled:bg-button-primary-disabled-dark",
666
+ "dark:disabled:text-foreground-subtle",
667
+ "dark:disabled:border-button-primary-disabled-dark"
610
668
  ],
611
669
  secondary: [
670
+ "border-2",
612
671
  "bg-white",
613
672
  "text-grey-900",
614
673
  "border-border",
615
674
  "hover:bg-button-secondary-hover",
616
675
  "hover:border-button-secondary-border-hover",
617
- "focus:border-button-secondary-border-focus",
618
- "focus-visible:shadow-blue",
676
+ "focus:shadow-brandGreen",
677
+ "active:border-border",
678
+ "active:shadow-none",
619
679
  "disabled:bg-button-secondary-disabled",
620
680
  "disabled:border-button-secondary-border-disabled",
621
- "disabled:text-foreground-subtle"
681
+ "disabled:text-foreground-subtle",
682
+ "dark:bg-button-secondary-dark",
683
+ "dark:border-button-secondary-border-dark",
684
+ "dark:text-white",
685
+ "dark:hover:bg-button-secondary-hover-dark",
686
+ "dark:hover:border-button-secondary-border-hover-dark",
687
+ "dark:focus:bg-button-secondary-dark",
688
+ "dark:focus:shadow-brandGreen10",
689
+ "dark:active:border-button-secondary-border-dark",
690
+ "dark:active:shadow-none",
691
+ "dark:disabled:bg-button-secondary-disabled-dark",
692
+ "dark:disabled:text-foreground-subtle-dark",
693
+ "dark:disabled:border-button-secondary-disabled-dark"
622
694
  ],
623
695
  tertiary: [
624
696
  "bg-transparent border-transparent",
625
697
  "text-foreground",
626
698
  "dark:text-white",
627
699
  "hover:bg-button-tertiary-hover",
628
- "hover:border-button-tertiary-hover",
629
700
  "hover:dark:text-button-tertiary-hover-dark",
630
701
  "focus:bg-button-tertiary-focus",
631
- "focus:border-button-tertiary-focus",
632
- "focus-visible:shadow-blue",
702
+ "focus:shadow-brandGreen",
703
+ "active:bg-button-tertiary-hover",
704
+ "active:shadow-none",
633
705
  "disabled:text-foreground-subtle"
634
706
  ],
635
707
  success: [
636
708
  "bg-button-success",
637
- "border-button-success",
638
709
  "text-white",
639
710
  "hover:bg-button-success-hover",
640
- "hover:border-button-success-hover",
641
711
  "focus:bg-button-success-focus",
642
- "focus:border-button-success-focus",
643
- "focus-visible:shadow-green",
712
+ "focus:shadow-green",
713
+ "active:shadow-none",
644
714
  "disabled:bg-button-success-disabled",
645
- "disabled:border-button-success-disabled",
646
715
  "disabled:text-foreground-subtle"
647
716
  ],
648
717
  danger: [
649
718
  "bg-button-danger",
650
- "border-button-danger",
651
719
  "text-white",
652
720
  "hover:bg-button-danger-hover",
653
- "hover:border-button-danger-hover",
654
- "focus:bg-button-danger-focus",
655
- "focus:border-button-danger-focus",
656
- "focus-visible::shadow-red",
721
+ "focus:bg-button-danger",
722
+ "focus:shadow-red",
723
+ "active:shadow-none",
657
724
  "disabled:bg-button-danger-disabled",
658
- "disabled:border-button-danger-disabled",
659
725
  "disabled:text-foreground-subtle"
660
726
  ]
661
727
  },
@@ -666,811 +732,81 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
666
732
  xs: ["px-2", "py-2.5", "text-xs"]
667
733
  }
668
734
  },
735
+ compoundVariants: [
736
+ { variant: "secondary", size: "lg", class: "py-2.5" },
737
+ { variant: "secondary", size: "md", class: "py-2" },
738
+ { variant: "secondary", size: "sm", class: "py-1.5" },
739
+ { variant: "secondary", size: "xs", class: "py-2" }
740
+ ],
669
741
  defaultVariants: {
670
742
  variant: "primary",
671
743
  size: "md"
672
744
  }
673
745
  }
674
746
  );
675
- var Button = React.forwardRef(
747
+ var Button = React2.forwardRef(
676
748
  (_a, ref) => {
677
- var _b = _a, { className, variant, size: size2, asChild = false } = _b, props = __objRest(_b, ["className", "variant", "size", "asChild"]);
678
- const Comp = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : "button";
679
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
680
- Comp,
681
- __spreadValues({
682
- className: cn(buttonVariants({ variant, size: size2, className })),
683
- ref
684
- }, props)
749
+ var _b = _a, {
750
+ className,
751
+ variant,
752
+ children,
753
+ size: size3,
754
+ leftSideChild,
755
+ rightSideChild,
756
+ leftSideClassName,
757
+ rightSideClassName,
758
+ disabled = false,
759
+ onClick
760
+ } = _b, props = __objRest(_b, [
761
+ "className",
762
+ "variant",
763
+ "children",
764
+ "size",
765
+ "leftSideChild",
766
+ "rightSideChild",
767
+ "leftSideClassName",
768
+ "rightSideClassName",
769
+ "disabled",
770
+ "onClick"
771
+ ]);
772
+ const sideChildClassed = "inline-flex items-center justify-center text-inherit text-justify";
773
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
774
+ "button",
775
+ __spreadProps(__spreadValues({
776
+ className: cn(buttonVariants({ variant, size: size3 }), className),
777
+ ref,
778
+ disabled,
779
+ onClick: (e) => {
780
+ if (onClick)
781
+ onClick(e);
782
+ }
783
+ }, props), {
784
+ children: [
785
+ leftSideChild ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: cn(sideChildClassed, "mr-3", leftSideClassName), children: leftSideChild }) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
786
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { children }),
787
+ rightSideChild ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: cn(sideChildClassed, "ml-3", rightSideClassName), children: rightSideChild }) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {})
788
+ ]
789
+ })
685
790
  );
686
791
  }
687
792
  );
688
793
  Button.displayName = "Button";
689
794
 
690
- // src/components/Checkbox/index.tsx
691
- var React2 = __toESM(require("react"));
692
- var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
693
-
694
- // src/assets/build/check.icon.tsx
695
- var import_jsx_runtime2 = require("react/jsx-runtime");
696
- var CheckIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
697
- "svg",
698
- __spreadProps(__spreadValues({
699
- viewBox: "0 0 24 24",
700
- fill: "none",
701
- xmlns: "http://www.w3.org/2000/svg"
702
- }, props), {
703
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("g", { id: "check", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
704
- "path",
705
- {
706
- id: "Vector",
707
- d: "M9.72648 17.5L9.72217 17.5C9.60611 17.5005 9.4852 17.4519 9.38785 17.3489L4.66647 12.3507C4.66633 12.3506 4.6662 12.3504 4.66607 12.3503C4.6169 12.2978 4.57557 12.233 4.54633 12.1585L4.08221 12.3408L4.54633 12.1585C4.517 12.0838 4.50096 12.0022 4.50004 11.9186C4.49817 11.748 4.55898 11.5911 4.65755 11.481C4.75482 11.3723 4.87789 11.3197 4.99627 11.3182C5.11455 11.3166 5.23805 11.3658 5.33701 11.4712L5.33813 11.4724L9.36492 15.7335L9.72855 16.1183L10.0919 15.7333L18.6614 6.65376L18.662 6.65306C18.7612 6.54761 18.8849 6.4984 19.0033 6.50004C19.1219 6.50168 19.2451 6.55443 19.3425 6.66337C19.4412 6.77376 19.5019 6.93091 19.5 7.10171C19.498 7.27229 19.4337 7.42694 19.3334 7.53385C19.3333 7.53398 19.3332 7.5341 19.3331 7.53423L10.0608 17.3489C9.96345 17.4519 9.84254 17.5005 9.72648 17.5Z"
708
- }
709
- ) })
710
- })
711
- );
712
-
713
- // src/assets/build/minus.icon.tsx
714
- var import_jsx_runtime3 = require("react/jsx-runtime");
715
- var MinusIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", __spreadProps(__spreadValues({ viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("g", { id: "minus", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
716
- "path",
717
- {
718
- id: "Vector",
719
- d: "M19 12L5 12",
720
- strokeWidth: "inherit",
721
- strokeLinecap: "round",
722
- strokeLinejoin: "round"
723
- }
724
- ) }) }));
725
-
726
- // src/assets/build/circle.icon.tsx
795
+ // src/components/ButtonGroup/index.tsx
796
+ var import_react = __toESM(require("react"));
797
+ var import_class_variance_authority3 = require("class-variance-authority");
727
798
  var import_jsx_runtime4 = require("react/jsx-runtime");
728
- var CircleIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("svg", __spreadProps(__spreadValues({ xmlns: "http://www.w3.org/2000/svg" }, props), { viewBox: "0 0 20 20", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("g", { id: "State=Selected", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("circle", { id: "Ellipse 1", cx: 10, cy: 10, r: 4 }) }) }));
729
-
730
- // src/assets/build/user.icon.tsx
731
- var import_jsx_runtime5 = require("react/jsx-runtime");
732
- var UserIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
733
- "svg",
734
- __spreadProps(__spreadValues({
735
- xmlns: "http://www.w3.org/2000/svg",
736
- width: 20,
737
- height: 20,
738
- fill: "none",
739
- color: "inherit",
740
- stroke: "currentColor",
741
- viewBox: "0 0 20 20"
742
- }, props), {
743
- children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
744
- "path",
745
- {
746
- stroke: "inherit",
747
- d: "M12.75 19.605a9.85 9.85 0 0 1-1.121.249A10.008 10.008 0 0 1 10 20a10.01 10.01 0 0 1-1.307-.095l4.057-.3Zm0 0 .064-.016m-.064.016.064-.016M1.5 10a8.474 8.474 0 0 0 2.69 6.188l.498.465.295-.614A4.475 4.475 0 0 1 9 13.5h1.998a4.475 4.475 0 0 1 4.018 2.54l.295.615.498-.466A8.5 8.5 0 1 0 1.5 10.001Zm0 0L2 10l-.5.001Zm11.314 9.588c.029-.007.058-.014.087-.023l-.087.023Zm-8.036-1.66-.012-.009-.012-.008a9.5 9.5 0 1 1 13.61-3.42 9.499 9.499 0 0 1-3.125 3.42l-.012.008-.012.009-.013.01-.002.001c-.018.01-.056.03-.095.054a9.711 9.711 0 0 1-.949.532l-.086.043c-.062.03-.114.055-.17.08l-.008.004c-.37.17-.75.316-1.138.435h-.003a.614.614 0 0 1-.042.012l-.009.002-.085.021-.002.001c-.35.1-.705.178-1.064.236l-.005.001a6.98 6.98 0 0 1-.307.048h-.006c-.408.058-.82.088-1.231.091a9.53 9.53 0 0 1-1.238-.09l-.006-.001a6.97 6.97 0 0 1-.307-.048h-.005a9.325 9.325 0 0 1-1.064-.237l-.005-.001a2.483 2.483 0 0 0-.128-.032l-.008-.003a9.118 9.118 0 0 1-1.138-.435l-.007-.003a4.313 4.313 0 0 1-.17-.081l-.087-.043a9.682 9.682 0 0 1-.95-.532 1.21 1.21 0 0 0-.094-.054l-.002-.001-.013-.01Zm10.372.056.002-.001h-.001v.001Zm-10.308 0v-.001Zm8.177-.048.012-.005.018-.007.02-.006.075-.03c.312-.122.617-.263.912-.422l.373-.2-.137-.4a3.488 3.488 0 0 0-3.29-2.367H8.998a3.489 3.489 0 0 0-3.29 2.369l-.136.4.372.2a8.32 8.32 0 0 0 .99.45l.003.002.032.011.012.005a8.668 8.668 0 0 0 6.038 0Zm-1.075-7.027a3.5 3.5 0 1 1-3.889-5.82 3.5 3.5 0 0 1 3.89 5.82Zm-.555-4.989a2.5 2.5 0 1 0-2.778 4.157 2.5 2.5 0 0 0 2.778-4.157Z"
748
- }
749
- )
750
- })
751
- );
752
-
753
- // src/assets/build/close.icon.tsx
754
- var import_jsx_runtime6 = require("react/jsx-runtime");
755
- var CloseIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
756
- "svg",
757
- __spreadProps(__spreadValues({
758
- xmlns: "http://www.w3.org/2000/svg",
759
- width: 12,
760
- height: 13,
761
- viewBox: "0 0 12 13",
762
- color: "inherit",
763
- stroke: "currentColor",
764
- fill: "none"
765
- }, props), {
766
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
767
- "path",
768
- {
769
- fill: "inherit",
770
- stroke: "inherit",
771
- d: "m6.494 6.288-.212.212.212.212 2.64 2.64a.2.2 0 0 1-.005.277l.213.213-.213-.213a.2.2 0 0 1-.277.004l-2.64-2.64L6 6.782l-.212.213-2.642 2.641-.004.004a.199.199 0 0 1-.064.045l.118.275-.118-.275a.2.2 0 0 1-.217-.326l.004-.004 2.641-2.642.212-.212-.212-.212-2.64-2.64a.2.2 0 0 1 .282-.281l2.64 2.64.212.212.212-.213 2.642-2.641.004-.004a.199.199 0 0 1 .326.217l.275.118-.275-.118a.199.199 0 0 1-.045.064l-.004.004-2.641 2.642Z"
772
- }
773
- )
774
- })
775
- );
776
-
777
- // src/assets/build/search.icon.tsx
778
- var import_jsx_runtime7 = require("react/jsx-runtime");
779
- var SearchIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
780
- "svg",
781
- __spreadProps(__spreadValues({
782
- xmlns: "http://www.w3.org/2000/svg",
783
- width: 16,
784
- height: 16,
785
- fill: "none",
786
- viewBox: "0 0 24 24",
787
- color: "inherit",
788
- stroke: "currentColor"
789
- }, props), {
790
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
791
- "path",
792
- {
793
- fill: "#111928",
794
- stroke: "inherit",
795
- d: "M19.817 20.383a.4.4 0 0 0 .283.117l-.283-.117Zm0 0-3.596-3.597m3.596 3.597-3.596-3.597m0 0a.4.4 0 0 1 .566-.565l3.596 3.596a.4.4 0 0 1-.283.683l-3.879-3.714ZM10.201 4.3a5.9 5.9 0 1 0 5.9 5.9 5.906 5.906 0 0 0-5.9-5.9Zm-.002 12.6a6.7 6.7 0 1 1 6.701-6.7 6.708 6.708 0 0 1-6.7 6.7Z"
796
- }
797
- )
798
- })
799
- );
800
-
801
- // src/assets/build/plus.icon.tsx
802
- var import_jsx_runtime8 = require("react/jsx-runtime");
803
- var PlusIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
804
- "svg",
805
- __spreadProps(__spreadValues({
806
- xmlns: "http://www.w3.org/2000/svg",
807
- viewBox: "0 0 12 12",
808
- width: 24,
809
- height: 24,
810
- fill: "none"
811
- }, props), {
812
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
813
- "path",
814
- {
815
- stroke: "inherit",
816
- strokeLinecap: "round",
817
- strokeLinejoin: "round",
818
- d: "M6 2.5V6m0 0v3.5M6 6h3.5M6 6H2.5"
819
- }
820
- )
821
- })
822
- );
823
-
824
- // src/assets/build/code.icon.tsx
825
- var import_jsx_runtime9 = require("react/jsx-runtime");
826
- var CodeIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
827
- "svg",
828
- __spreadProps(__spreadValues({
829
- xmlns: "http://www.w3.org/2000/svg",
830
- width: 24,
831
- height: 24,
832
- viewBox: "0 0 24 24",
833
- fill: "none"
834
- }, props), {
835
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
836
- "path",
837
- {
838
- stroke: "inherit",
839
- strokeLinecap: "round",
840
- strokeLinejoin: "round",
841
- strokeWidth: 2,
842
- d: "m7 8-4 4 4 4m10-8 4 4-4 4M13 5l-2 14"
843
- }
844
- )
845
- })
846
- );
847
-
848
- // src/assets/build/user-groups-outline.icon.tsx
849
- var import_jsx_runtime10 = require("react/jsx-runtime");
850
- var UserGroupIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
851
- "svg",
852
- __spreadProps(__spreadValues({
853
- xmlns: "http://www.w3.org/2000/svg",
854
- width: 24,
855
- height: 24,
856
- viewBox: "0 0 24 24"
857
- }, props), {
858
- children: [
859
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("mask", { id: "a", fill: "#fff", children: [
860
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { d: "M16.5 2A3.987 3.987 0 0 0 13 4.1c.66.136 1.284.405 1.836.79a2 2 0 1 1 2.051 3.07c.144.658.15 1.34.015 2A3.989 3.989 0 0 0 16.5 2Z" }),
861
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { d: "M12 13a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-6a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM17 22H7a1 1 0 0 1-1-1v-2a5.006 5.006 0 0 1 5-5h2a5.006 5.006 0 0 1 5 5v2a1 1 0 0 1-1 1Zm-9-2h8v-1a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v1Z" }),
862
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { d: "M7 9c.001-.35.039-.697.112-1.039a2 2 0 1 1 2.051-3.07A4.963 4.963 0 0 1 11 4.101a3.987 3.987 0 1 0-3.9 5.858A4.974 4.974 0 0 1 7 9ZM17 11h-.429a5.057 5.057 0 0 1-1.937 2.232c.042.012.08.033.123.046.39-.182.813-.277 1.243-.278h1a3 3 0 0 1 3 3v1h-1.347c.229.642.346 1.318.347 2h2a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5ZM5.347 17H4v-1a3 3 0 0 1 3-3h1c.43.001.854.096 1.244.278.042-.013.08-.034.122-.046A5.057 5.057 0 0 1 7.429 11H7a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h2c0-.682.118-1.358.347-2Z" })
863
- ] }),
864
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
865
- "path",
866
- {
867
- fill: "inherit",
868
- d: "M16.5 2A3.987 3.987 0 0 0 13 4.1c.66.136 1.284.405 1.836.79a2 2 0 1 1 2.051 3.07c.144.658.15 1.34.015 2A3.989 3.989 0 0 0 16.5 2Z"
869
- }
870
- ),
871
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
872
- "path",
873
- {
874
- fill: "inherit",
875
- d: "M12 13a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-6a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM17 22H7a1 1 0 0 1-1-1v-2a5.006 5.006 0 0 1 5-5h2a5.006 5.006 0 0 1 5 5v2a1 1 0 0 1-1 1Zm-9-2h8v-1a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v1Z"
876
- }
877
- ),
878
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
879
- "path",
880
- {
881
- fill: "inherit",
882
- d: "M7 9c.001-.35.039-.697.112-1.039a2 2 0 1 1 2.051-3.07A4.963 4.963 0 0 1 11 4.101a3.987 3.987 0 1 0-3.9 5.858A4.974 4.974 0 0 1 7 9ZM17 11h-.429a5.057 5.057 0 0 1-1.937 2.232c.042.012.08.033.123.046.39-.182.813-.277 1.243-.278h1a3 3 0 0 1 3 3v1h-1.347c.229.642.346 1.318.347 2h2a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5ZM5.347 17H4v-1a3 3 0 0 1 3-3h1c.43.001.854.096 1.244.278.042-.013.08-.034.122-.046A5.057 5.057 0 0 1 7.429 11H7a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h2c0-.682.118-1.358.347-2Z"
883
- }
884
- ),
885
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
886
- "path",
887
- {
888
- stroke: "inherit",
889
- strokeWidth: 2,
890
- d: "M16.5 2A3.987 3.987 0 0 0 13 4.1c.66.136 1.284.405 1.836.79a2 2 0 1 1 2.051 3.07c.144.658.15 1.34.015 2A3.989 3.989 0 0 0 16.5 2Z",
891
- mask: "url(#a)"
892
- }
893
- ),
894
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
895
- "path",
896
- {
897
- stroke: "inherit",
898
- strokeWidth: 2,
899
- d: "M12 13a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-6a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM17 22H7a1 1 0 0 1-1-1v-2a5.006 5.006 0 0 1 5-5h2a5.006 5.006 0 0 1 5 5v2a1 1 0 0 1-1 1Zm-9-2h8v-1a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v1Z",
900
- mask: "url(#a)"
901
- }
902
- ),
903
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
904
- "path",
905
- {
906
- stroke: "inherit",
907
- strokeWidth: 2,
908
- d: "M7 9c.001-.35.039-.697.112-1.039a2 2 0 1 1 2.051-3.07A4.963 4.963 0 0 1 11 4.101a3.987 3.987 0 1 0-3.9 5.858A4.974 4.974 0 0 1 7 9ZM17 11h-.429a5.057 5.057 0 0 1-1.937 2.232c.042.012.08.033.123.046.39-.182.813-.277 1.243-.278h1a3 3 0 0 1 3 3v1h-1.347c.229.642.346 1.318.347 2h2a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5ZM5.347 17H4v-1a3 3 0 0 1 3-3h1c.43.001.854.096 1.244.278.042-.013.08-.034.122-.046A5.057 5.057 0 0 1 7.429 11H7a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h2c0-.682.118-1.358.347-2Z",
909
- mask: "url(#a)"
910
- }
911
- )
912
- ]
913
- })
914
- );
915
-
916
- // src/assets/build/folder.icon.tsx
917
- var import_jsx_runtime11 = require("react/jsx-runtime");
918
- var FolderIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
919
- "svg",
920
- __spreadProps(__spreadValues({
921
- xmlns: "http://www.w3.org/2000/svg",
922
- width: 24,
923
- height: 24,
924
- viewBox: "0 0 24 24",
925
- fill: "none"
926
- }, props), {
927
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
928
- "path",
929
- {
930
- fill: "inherit",
931
- stroke: "inherit",
932
- d: "M21.435 10.728a.5.5 0 0 0-.42-.228H19.5V9A1.5 1.5 0 0 0 18 7.5h-4.807l-.15-.2-2.4-3.2a1.509 1.509 0 0 0-1.2-.6H4A1.5 1.5 0 0 0 2.5 5v14A1.5 1.5 0 0 0 4 20.5h13.016a.5.5 0 0 0 .457-.297l4-9-.038-.475Zm0 0a.499.499 0 0 1 .038.475l-.038-.475ZM17.016 21a1 1 0 0 0 .914-.594l4-9L17.016 21ZM9.843 4.7l-.15-.2H3.5v10.787l.957.203 2.086-4.693A.5.5 0 0 1 7 10.5h11.5v-2h-5.557a.5.5 0 0 1-.4-.2l-2.7-3.6Zm6.523 14.8h.325l.132-.297 3.11-7 .313-.703H7.324l-.132.297-3.11 7-.312.703h12.596Z"
933
- }
934
- )
935
- })
936
- );
937
-
938
- // src/assets/build/circle-outline.icon.tsx
939
- var import_jsx_runtime12 = require("react/jsx-runtime");
940
- var CircleOutlineIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
941
- "svg",
942
- __spreadProps(__spreadValues({
943
- xmlns: "http://www.w3.org/2000/svg",
944
- width: "8px",
945
- height: "8px",
946
- fill: "none"
947
- }, props), {
948
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("circle", { cx: "50%", cy: "50%", r: "50%" })
949
- })
950
- );
951
-
952
- // src/assets/build/angle-down.icon.tsx
953
- var import_jsx_runtime13 = require("react/jsx-runtime");
954
- var AngleDownIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
955
- "svg",
956
- __spreadProps(__spreadValues({
957
- className: "w-6 h-6 text-gray-800 ",
958
- "aria-hidden": "true",
959
- xmlns: "http://www.w3.org/2000/svg",
960
- fill: "none",
961
- viewBox: "0 0 14 8"
962
- }, props), {
963
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
964
- "path",
965
- {
966
- stroke: "currentColor",
967
- strokeLinecap: "round",
968
- strokeLinejoin: "round",
969
- strokeWidth: "2",
970
- d: "m1 1 5.326 5.7a.909.909 0 0 0 1.348 0L13 1"
971
- }
972
- )
973
- })
974
- );
975
-
976
- // src/assets/build/calendar.icon.tsx
977
- var import_jsx_runtime14 = require("react/jsx-runtime");
978
- var CalendarIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
979
- "svg",
980
- __spreadProps(__spreadValues({
981
- xmlns: "http://www.w3.org/2000/svg",
982
- viewBox: "0 0 24 24",
983
- fill: "none"
984
- }, props), {
985
- children: [
986
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("mask", { id: "path-1-inside-1_20_5191", fill: "white", children: [
987
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M19.2 4.8H17.4V3.9C17.4 3.66131 17.3052 3.43239 17.1364 3.2636C16.9676 3.09482 16.7387 3 16.5 3C16.2613 3 16.0324 3.09482 15.8636 3.2636C15.6948 3.43239 15.6 3.66131 15.6 3.9V4.8H12.9V3.9C12.9 3.66131 12.8052 3.43239 12.6364 3.2636C12.4676 3.09482 12.2387 3 12 3C11.7613 3 11.5324 3.09482 11.3636 3.2636C11.1948 3.43239 11.1 3.66131 11.1 3.9V4.8H8.4V3.9C8.4 3.66131 8.30518 3.43239 8.1364 3.2636C7.96761 3.09482 7.73869 3 7.5 3C7.26131 3 7.03239 3.09482 6.8636 3.2636C6.69482 3.43239 6.6 3.66131 6.6 3.9V4.8H4.8C4.32261 4.8 3.86477 4.98964 3.52721 5.32721C3.18964 5.66477 3 6.12261 3 6.6V19.2C3 19.6774 3.18964 20.1352 3.52721 20.4728C3.86477 20.8104 4.32261 21 4.8 21H19.2C19.6774 21 20.1352 20.8104 20.4728 20.4728C20.8104 20.1352 21 19.6774 21 19.2V6.6C21 6.12261 20.8104 5.66477 20.4728 5.32721C20.1352 4.98964 19.6774 4.8 19.2 4.8ZM6.6 6.6C6.6 6.83869 6.69482 7.06761 6.8636 7.2364C7.03239 7.40518 7.26131 7.5 7.5 7.5C7.73869 7.5 7.96761 7.40518 8.1364 7.2364C8.30518 7.06761 8.4 6.83869 8.4 6.6H11.1C11.1 6.83869 11.1948 7.06761 11.3636 7.2364C11.5324 7.40518 11.7613 7.5 12 7.5C12.2387 7.5 12.4676 7.40518 12.6364 7.2364C12.8052 7.06761 12.9 6.83869 12.9 6.6H15.6C15.6 6.83869 15.6948 7.06761 15.8636 7.2364C16.0324 7.40518 16.2613 7.5 16.5 7.5C16.7387 7.5 16.9676 7.40518 17.1364 7.2364C17.3052 7.06761 17.4 6.83869 17.4 6.6H19.2V8.4H4.8V6.6H6.6ZM4.8 19.2V10.2H19.2V19.2H4.8Z" }),
988
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M7.95 12H7.05C6.80147 12 6.6 12.2015 6.6 12.45V13.35C6.6 13.5985 6.80147 13.8 7.05 13.8H7.95C8.19853 13.8 8.4 13.5985 8.4 13.35V12.45C8.4 12.2015 8.19853 12 7.95 12Z" }),
989
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M7.95 15.6H7.05C6.80147 15.6 6.6 15.8015 6.6 16.05V16.95C6.6 17.1985 6.80147 17.4 7.05 17.4H7.95C8.19853 17.4 8.4 17.1985 8.4 16.95V16.05C8.4 15.8015 8.19853 15.6 7.95 15.6Z" }),
990
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M12.45 12H11.55C11.3015 12 11.1 12.2015 11.1 12.45V13.35C11.1 13.5985 11.3015 13.8 11.55 13.8H12.45C12.6985 13.8 12.9 13.5985 12.9 13.35V12.45C12.9 12.2015 12.6985 12 12.45 12Z" }),
991
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M12.45 15.6H11.55C11.3015 15.6 11.1 15.8015 11.1 16.05V16.95C11.1 17.1985 11.3015 17.4 11.55 17.4H12.45C12.6985 17.4 12.9 17.1985 12.9 16.95V16.05C12.9 15.8015 12.6985 15.6 12.45 15.6Z" }),
992
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M16.95 12H16.05C15.8015 12 15.6 12.2015 15.6 12.45V13.35C15.6 13.5985 15.8015 13.8 16.05 13.8H16.95C17.1985 13.8 17.4 13.5985 17.4 13.35V12.45C17.4 12.2015 17.1985 12 16.95 12Z" }),
993
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M16.95 15.6H16.05C15.8015 15.6 15.6 15.8015 15.6 16.05V16.95C15.6 17.1985 15.8015 17.4 16.05 17.4H16.95C17.1985 17.4 17.4 17.1985 17.4 16.95V16.05C17.4 15.8015 17.1985 15.6 16.95 15.6Z" })
994
- ] }),
995
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
996
- "path",
997
- {
998
- d: "M19.2 4.8H17.4V3.9C17.4 3.66131 17.3052 3.43239 17.1364 3.2636C16.9676 3.09482 16.7387 3 16.5 3C16.2613 3 16.0324 3.09482 15.8636 3.2636C15.6948 3.43239 15.6 3.66131 15.6 3.9V4.8H12.9V3.9C12.9 3.66131 12.8052 3.43239 12.6364 3.2636C12.4676 3.09482 12.2387 3 12 3C11.7613 3 11.5324 3.09482 11.3636 3.2636C11.1948 3.43239 11.1 3.66131 11.1 3.9V4.8H8.4V3.9C8.4 3.66131 8.30518 3.43239 8.1364 3.2636C7.96761 3.09482 7.73869 3 7.5 3C7.26131 3 7.03239 3.09482 6.8636 3.2636C6.69482 3.43239 6.6 3.66131 6.6 3.9V4.8H4.8C4.32261 4.8 3.86477 4.98964 3.52721 5.32721C3.18964 5.66477 3 6.12261 3 6.6V19.2C3 19.6774 3.18964 20.1352 3.52721 20.4728C3.86477 20.8104 4.32261 21 4.8 21H19.2C19.6774 21 20.1352 20.8104 20.4728 20.4728C20.8104 20.1352 21 19.6774 21 19.2V6.6C21 6.12261 20.8104 5.66477 20.4728 5.32721C20.1352 4.98964 19.6774 4.8 19.2 4.8ZM6.6 6.6C6.6 6.83869 6.69482 7.06761 6.8636 7.2364C7.03239 7.40518 7.26131 7.5 7.5 7.5C7.73869 7.5 7.96761 7.40518 8.1364 7.2364C8.30518 7.06761 8.4 6.83869 8.4 6.6H11.1C11.1 6.83869 11.1948 7.06761 11.3636 7.2364C11.5324 7.40518 11.7613 7.5 12 7.5C12.2387 7.5 12.4676 7.40518 12.6364 7.2364C12.8052 7.06761 12.9 6.83869 12.9 6.6H15.6C15.6 6.83869 15.6948 7.06761 15.8636 7.2364C16.0324 7.40518 16.2613 7.5 16.5 7.5C16.7387 7.5 16.9676 7.40518 17.1364 7.2364C17.3052 7.06761 17.4 6.83869 17.4 6.6H19.2V8.4H4.8V6.6H6.6ZM4.8 19.2V10.2H19.2V19.2H4.8Z",
999
- fill: "#111928"
1000
- }
1001
- ),
1002
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1003
- "path",
1004
- {
1005
- d: "M7.95 12H7.05C6.80147 12 6.6 12.2015 6.6 12.45V13.35C6.6 13.5985 6.80147 13.8 7.05 13.8H7.95C8.19853 13.8 8.4 13.5985 8.4 13.35V12.45C8.4 12.2015 8.19853 12 7.95 12Z",
1006
- fill: "#111928"
1007
- }
1008
- ),
1009
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1010
- "path",
1011
- {
1012
- d: "M7.95 15.6H7.05C6.80147 15.6 6.6 15.8015 6.6 16.05V16.95C6.6 17.1985 6.80147 17.4 7.05 17.4H7.95C8.19853 17.4 8.4 17.1985 8.4 16.95V16.05C8.4 15.8015 8.19853 15.6 7.95 15.6Z",
1013
- fill: "#111928"
1014
- }
1015
- ),
1016
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1017
- "path",
1018
- {
1019
- d: "M12.45 12H11.55C11.3015 12 11.1 12.2015 11.1 12.45V13.35C11.1 13.5985 11.3015 13.8 11.55 13.8H12.45C12.6985 13.8 12.9 13.5985 12.9 13.35V12.45C12.9 12.2015 12.6985 12 12.45 12Z",
1020
- fill: "#111928"
1021
- }
1022
- ),
1023
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1024
- "path",
1025
- {
1026
- d: "M12.45 15.6H11.55C11.3015 15.6 11.1 15.8015 11.1 16.05V16.95C11.1 17.1985 11.3015 17.4 11.55 17.4H12.45C12.6985 17.4 12.9 17.1985 12.9 16.95V16.05C12.9 15.8015 12.6985 15.6 12.45 15.6Z",
1027
- fill: "#111928"
1028
- }
1029
- ),
1030
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1031
- "path",
1032
- {
1033
- d: "M16.95 12H16.05C15.8015 12 15.6 12.2015 15.6 12.45V13.35C15.6 13.5985 15.8015 13.8 16.05 13.8H16.95C17.1985 13.8 17.4 13.5985 17.4 13.35V12.45C17.4 12.2015 17.1985 12 16.95 12Z",
1034
- fill: "#111928"
1035
- }
1036
- ),
1037
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1038
- "path",
1039
- {
1040
- d: "M16.95 15.6H16.05C15.8015 15.6 15.6 15.8015 15.6 16.05V16.95C15.6 17.1985 15.8015 17.4 16.05 17.4H16.95C17.1985 17.4 17.4 17.1985 17.4 16.95V16.05C17.4 15.8015 17.1985 15.6 16.95 15.6Z",
1041
- fill: "#111928"
1042
- }
1043
- ),
1044
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1045
- "path",
1046
- {
1047
- d: "M19.2 4.8H17.4V3.9C17.4 3.66131 17.3052 3.43239 17.1364 3.2636C16.9676 3.09482 16.7387 3 16.5 3C16.2613 3 16.0324 3.09482 15.8636 3.2636C15.6948 3.43239 15.6 3.66131 15.6 3.9V4.8H12.9V3.9C12.9 3.66131 12.8052 3.43239 12.6364 3.2636C12.4676 3.09482 12.2387 3 12 3C11.7613 3 11.5324 3.09482 11.3636 3.2636C11.1948 3.43239 11.1 3.66131 11.1 3.9V4.8H8.4V3.9C8.4 3.66131 8.30518 3.43239 8.1364 3.2636C7.96761 3.09482 7.73869 3 7.5 3C7.26131 3 7.03239 3.09482 6.8636 3.2636C6.69482 3.43239 6.6 3.66131 6.6 3.9V4.8H4.8C4.32261 4.8 3.86477 4.98964 3.52721 5.32721C3.18964 5.66477 3 6.12261 3 6.6V19.2C3 19.6774 3.18964 20.1352 3.52721 20.4728C3.86477 20.8104 4.32261 21 4.8 21H19.2C19.6774 21 20.1352 20.8104 20.4728 20.4728C20.8104 20.1352 21 19.6774 21 19.2V6.6C21 6.12261 20.8104 5.66477 20.4728 5.32721C20.1352 4.98964 19.6774 4.8 19.2 4.8ZM6.6 6.6C6.6 6.83869 6.69482 7.06761 6.8636 7.2364C7.03239 7.40518 7.26131 7.5 7.5 7.5C7.73869 7.5 7.96761 7.40518 8.1364 7.2364C8.30518 7.06761 8.4 6.83869 8.4 6.6H11.1C11.1 6.83869 11.1948 7.06761 11.3636 7.2364C11.5324 7.40518 11.7613 7.5 12 7.5C12.2387 7.5 12.4676 7.40518 12.6364 7.2364C12.8052 7.06761 12.9 6.83869 12.9 6.6H15.6C15.6 6.83869 15.6948 7.06761 15.8636 7.2364C16.0324 7.40518 16.2613 7.5 16.5 7.5C16.7387 7.5 16.9676 7.40518 17.1364 7.2364C17.3052 7.06761 17.4 6.83869 17.4 6.6H19.2V8.4H4.8V6.6H6.6ZM4.8 19.2V10.2H19.2V19.2H4.8Z",
1048
- stroke: "#111928",
1049
- strokeWidth: "2",
1050
- mask: "url(#path-1-inside-1_20_5191)"
1051
- }
1052
- ),
1053
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1054
- "path",
1055
- {
1056
- d: "M7.95 12H7.05C6.80147 12 6.6 12.2015 6.6 12.45V13.35C6.6 13.5985 6.80147 13.8 7.05 13.8H7.95C8.19853 13.8 8.4 13.5985 8.4 13.35V12.45C8.4 12.2015 8.19853 12 7.95 12Z",
1057
- stroke: "#111928",
1058
- strokeWidth: "2",
1059
- mask: "url(#path-1-inside-1_20_5191)"
1060
- }
1061
- ),
1062
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1063
- "path",
1064
- {
1065
- d: "M7.95 15.6H7.05C6.80147 15.6 6.6 15.8015 6.6 16.05V16.95C6.6 17.1985 6.80147 17.4 7.05 17.4H7.95C8.19853 17.4 8.4 17.1985 8.4 16.95V16.05C8.4 15.8015 8.19853 15.6 7.95 15.6Z",
1066
- stroke: "#111928",
1067
- strokeWidth: "2",
1068
- mask: "url(#path-1-inside-1_20_5191)"
1069
- }
1070
- ),
1071
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1072
- "path",
1073
- {
1074
- d: "M12.45 12H11.55C11.3015 12 11.1 12.2015 11.1 12.45V13.35C11.1 13.5985 11.3015 13.8 11.55 13.8H12.45C12.6985 13.8 12.9 13.5985 12.9 13.35V12.45C12.9 12.2015 12.6985 12 12.45 12Z",
1075
- stroke: "#111928",
1076
- strokeWidth: "2",
1077
- mask: "url(#path-1-inside-1_20_5191)"
1078
- }
1079
- ),
1080
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1081
- "path",
1082
- {
1083
- d: "M12.45 15.6H11.55C11.3015 15.6 11.1 15.8015 11.1 16.05V16.95C11.1 17.1985 11.3015 17.4 11.55 17.4H12.45C12.6985 17.4 12.9 17.1985 12.9 16.95V16.05C12.9 15.8015 12.6985 15.6 12.45 15.6Z",
1084
- stroke: "#111928",
1085
- strokeWidth: "2",
1086
- mask: "url(#path-1-inside-1_20_5191)"
1087
- }
1088
- ),
1089
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1090
- "path",
1091
- {
1092
- d: "M16.95 12H16.05C15.8015 12 15.6 12.2015 15.6 12.45V13.35C15.6 13.5985 15.8015 13.8 16.05 13.8H16.95C17.1985 13.8 17.4 13.5985 17.4 13.35V12.45C17.4 12.2015 17.1985 12 16.95 12Z",
1093
- stroke: "#111928",
1094
- strokeWidth: "2",
1095
- mask: "url(#path-1-inside-1_20_5191)"
1096
- }
1097
- ),
1098
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1099
- "path",
1100
- {
1101
- d: "M16.95 15.6H16.05C15.8015 15.6 15.6 15.8015 15.6 16.05V16.95C15.6 17.1985 15.8015 17.4 16.05 17.4H16.95C17.1985 17.4 17.4 17.1985 17.4 16.95V16.05C17.4 15.8015 17.1985 15.6 16.95 15.6Z",
1102
- stroke: "#111928",
1103
- strokeWidth: "2",
1104
- mask: "url(#path-1-inside-1_20_5191)"
1105
- }
1106
- )
1107
- ]
1108
- })
1109
- );
1110
-
1111
- // src/assets/build/chevron-left-outline.icon.tsx
1112
- var import_jsx_runtime15 = require("react/jsx-runtime");
1113
- var ChevronLeftOutlineIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1114
- "svg",
1115
- __spreadProps(__spreadValues({
1116
- className: "w-6 h-6",
1117
- "aria-hidden": "true",
1118
- xmlns: "http://www.w3.org/2000/svg",
1119
- fill: "none",
1120
- viewBox: "0 0 6 10"
1121
- }, props), {
1122
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1123
- "path",
1124
- {
1125
- stroke: "currentColor",
1126
- "stroke-linecap": "round",
1127
- "stroke-linejoin": "round",
1128
- "stroke-width": "2",
1129
- d: "M5 1 1 5l4 4"
1130
- }
1131
- )
1132
- })
1133
- );
1134
-
1135
- // src/assets/build/chevron-right-outline.icon.tsx
1136
- var import_jsx_runtime16 = require("react/jsx-runtime");
1137
- var ChevronRightOutlineIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1138
- "svg",
1139
- __spreadProps(__spreadValues({
1140
- className: "w-6 h-6",
1141
- "aria-hidden": "true",
1142
- xmlns: "http://www.w3.org/2000/svg",
1143
- fill: "none",
1144
- viewBox: "0 0 6 10"
1145
- }, props), {
1146
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1147
- "path",
1148
- {
1149
- stroke: "currentColor",
1150
- "stroke-linecap": "round",
1151
- "stroke-linejoin": "round",
1152
- "stroke-width": "2",
1153
- d: "m1 9 4-4-4-4"
1154
- }
1155
- )
1156
- })
1157
- );
1158
-
1159
- // src/assets/build/arrow-left.icon.tsx
1160
- var import_jsx_runtime17 = require("react/jsx-runtime");
1161
- var ArrowLeftIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1162
- "svg",
1163
- __spreadProps(__spreadValues({
1164
- "aria-hidden": "true",
1165
- xmlns: "http://www.w3.org/2000/svg",
1166
- fill: "none",
1167
- viewBox: "0 0 14 10"
1168
- }, props), {
1169
- children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1170
- "path",
1171
- {
1172
- stroke: "currentColor",
1173
- strokeLinecap: "round",
1174
- strokeLinejoin: "round",
1175
- strokeWidth: "2",
1176
- d: "M13 5H1m0 0 4 4M1 5l4-4"
1177
- }
1178
- )
1179
- })
1180
- );
1181
- var arrow_left_icon_default = ArrowLeftIcon;
1182
-
1183
- // src/assets/build/arrow-right.icon.tsx
1184
- var import_jsx_runtime18 = require("react/jsx-runtime");
1185
- var ArrowRightIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1186
- "svg",
1187
- __spreadProps(__spreadValues({
1188
- "aria-hidden": "true",
1189
- xmlns: "http://www.w3.org/2000/svg",
1190
- fill: "none",
1191
- viewBox: "0 0 14 10"
1192
- }, props), {
1193
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1194
- "path",
1195
- {
1196
- stroke: "currentColor",
1197
- strokeLinecap: "round",
1198
- strokeLinejoin: "round",
1199
- strokeWidth: "2",
1200
- d: "M1 5h12m0 0L9 1m4 4L9 9"
1201
- }
1202
- )
1203
- })
1204
- );
1205
- var arrow_right_icon_default = ArrowRightIcon;
1206
-
1207
- // src/components/Checkbox/index.tsx
1208
- var import_class_variance_authority2 = require("class-variance-authority");
1209
- var import_jsx_runtime19 = require("react/jsx-runtime");
1210
- var checkboxVariants = (0, import_class_variance_authority2.cva)([
1211
- [
1212
- "peer",
1213
- "h-5 w-5",
1214
- "p-0.5",
1215
- "shrink-0",
1216
- "gap-0",
1217
- "rounded",
1218
- "border",
1219
- "border-border"
1220
- ],
1221
- [
1222
- "data-[state=checked]:border-primary-600",
1223
- "data-[state=checked]:bg-primary-600",
1224
- "data-[state=checked]:text-foreground-inverse",
1225
- "data-[state=indeterminate]:border-primary-600",
1226
- "data-[state=indeterminate]:bg-primary-600",
1227
- "data-[state=indeterminate]:text-foreground-inverse"
1228
- ],
1229
- [
1230
- "dark:data-[state=unchecked]:bg-background-alt-dark",
1231
- "dark:data-[state=unchecked]:border-border-dark"
1232
- ]
1233
- ]);
1234
- var Checkbox = React2.forwardRef((_a, ref) => {
1235
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1236
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1237
- CheckboxPrimitive.Root,
1238
- __spreadProps(__spreadValues({
1239
- ref,
1240
- className: cn(checkboxVariants(), className)
1241
- }, props), {
1242
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
1243
- CheckboxPrimitive.Indicator,
1244
- {
1245
- className: cn("flex items-center justify-center text-inherit"),
1246
- children: [
1247
- (props.checked === true || props.checked === void 0) && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(CheckIcon, { className: "text-inherit stroke-current stroke-1 fill-current" }),
1248
- props.checked === "indeterminate" && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(MinusIcon, { className: "text-inherit stroke-current stroke-3 fill-current" })
1249
- ]
1250
- }
1251
- )
1252
- })
1253
- );
1254
- });
1255
- Checkbox.displayName = CheckboxPrimitive.Root.displayName;
1256
-
1257
- // src/components/Label/index.tsx
1258
- var React3 = __toESM(require("react"));
1259
- var LabelPrimitive = __toESM(require("@radix-ui/react-label"));
1260
- var import_class_variance_authority3 = require("class-variance-authority");
1261
- var import_jsx_runtime20 = require("react/jsx-runtime");
1262
- var labelVariants = (0, import_class_variance_authority3.cva)(
1263
- "text-sm font-medium leading-normal peer-disabled:cursor-not-allowed peer-disabled:opacity-70 dark:text-foreground-inverse",
1264
- {
1265
- variants: {
1266
- size: {
1267
- lg: "text-lg",
1268
- md: "text-md",
1269
- sm: "text-sm",
1270
- xs: "text-xs",
1271
- xl: "text-xl"
1272
- }
1273
- }
1274
- }
1275
- );
1276
- var Label = React3.forwardRef((_a, ref) => {
1277
- var _b = _a, { className, size: size2 } = _b, props = __objRest(_b, ["className", "size"]);
1278
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1279
- LabelPrimitive.Root,
1280
- __spreadValues({
1281
- ref,
1282
- className: cn(labelVariants({ size: size2 }), className)
1283
- }, props)
1284
- );
1285
- });
1286
- Label.displayName = LabelPrimitive.Root.displayName;
1287
-
1288
- // src/components/Radio/RadioGroup.tsx
1289
- var React4 = __toESM(require("react"));
1290
- var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"));
1291
- var import_jsx_runtime21 = require("react/jsx-runtime");
1292
- var RadioGroup = React4.forwardRef((_a, ref) => {
1293
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1294
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1295
- RadioGroupPrimitive.Root,
1296
- __spreadProps(__spreadValues({
1297
- className: cn("grid gap-2", className)
1298
- }, props), {
1299
- ref
1300
- })
1301
- );
1302
- });
1303
- RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
1304
-
1305
- // src/components/Radio/RadioGroupItem.tsx
1306
- var React5 = __toESM(require("react"));
1307
- var RadioGroupPrimitive2 = __toESM(require("@radix-ui/react-radio-group"));
1308
- var import_class_variance_authority4 = require("class-variance-authority");
1309
- var import_jsx_runtime22 = require("react/jsx-runtime");
1310
- var radioVariant = (0, import_class_variance_authority4.cva)([
1311
- [
1312
- "h-5 w-5",
1313
- "rounded-full",
1314
- "border-[0.533px]",
1315
- "border-border",
1316
- "bg-background-alt",
1317
- "disabled:opacity-50",
1318
- "text-foreground-inverse"
1319
- ],
1320
- [
1321
- "data-[state=checked]:border-primary-600",
1322
- "data-[state=checked]:bg-primary-600",
1323
- "data-[state=checked]:bg-primary-600"
1324
- ],
1325
- ["dark:bg-background-alt-dark", "dark:border-border-dark"]
1326
- ]);
1327
- var RadioGroupItem = React5.forwardRef((_a, ref) => {
1328
- var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
1329
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1330
- RadioGroupPrimitive2.Item,
1331
- __spreadProps(__spreadValues({
1332
- ref,
1333
- className: cn(radioVariant(), className)
1334
- }, props), {
1335
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(RadioGroupPrimitive2.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(CircleIcon, { className: "text-inherit stroke-current stroke-1 fill-current" }) })
1336
- })
1337
- );
1338
- });
1339
- RadioGroupItem.displayName = RadioGroupPrimitive2.Item.displayName;
1340
-
1341
- // src/components/Table/index.tsx
1342
- var React6 = __toESM(require("react"));
1343
- var import_class_variance_authority5 = require("class-variance-authority");
1344
- var import_jsx_runtime23 = require("react/jsx-runtime");
1345
- var tableBodyVariants = (0, import_class_variance_authority5.cva)(["dark:bg-grey-900"], {
1346
- variants: {
1347
- variant: {
1348
- line: [],
1349
- zebra: [
1350
- "[&>*:nth-child(odd)]:bg-purple-50",
1351
- "dark:[&>*:nth-child(odd)]:bg-grey-800"
1352
- ]
1353
- }
1354
- },
1355
- defaultVariants: {
1356
- variant: "line"
1357
- },
1358
- compoundVariants: [
1359
- {
1360
- variant: "line"
1361
- }
1362
- ]
1363
- });
1364
- var Table = React6.forwardRef((_a, ref) => {
1365
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1366
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1367
- "table",
1368
- __spreadValues({
1369
- ref,
1370
- className: cn("caption-bottom text-sm dark:text-white", className)
1371
- }, props)
1372
- ) });
1373
- });
1374
- Table.displayName = "Table";
1375
- var TableHeader = React6.forwardRef((_a, ref) => {
1376
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1377
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1378
- "thead",
1379
- __spreadValues({
1380
- ref,
1381
- className: cn("bg-grey-50 dark:bg-grey-700", className)
1382
- }, props)
1383
- );
1384
- });
1385
- TableHeader.displayName = "TableHeader";
1386
- var TableHead = React6.forwardRef((_a, ref) => {
1387
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1388
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1389
- "th",
1390
- __spreadValues({
1391
- ref,
1392
- className: cn(
1393
- "px-4 leading-[21px] font-bold [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
1394
- className
1395
- )
1396
- }, props)
1397
- );
1398
- });
1399
- TableHead.displayName = "TableHead";
1400
- var TableBody = React6.forwardRef(
1401
- (_a, ref) => {
1402
- var _b = _a, { className, variant } = _b, props = __objRest(_b, ["className", "variant"]);
1403
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1404
- "tbody",
1405
- __spreadValues({
1406
- ref,
1407
- className: cn(tableBodyVariants({ variant }), className)
1408
- }, props)
1409
- );
1410
- }
1411
- );
1412
- TableBody.displayName = "TableBody";
1413
- var TableRow = React6.forwardRef((_a, ref) => {
1414
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1415
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1416
- "tr",
1417
- __spreadValues({
1418
- ref,
1419
- className: cn(
1420
- "h-[50px] border-b-[1px] border-accent-alt dark:border-grey-500 self-stretch items-center gap-2 font-normal",
1421
- className
1422
- )
1423
- }, props)
1424
- );
1425
- });
1426
- TableRow.displayName = "TableRow";
1427
- var TableCell = React6.forwardRef((_a, ref) => {
1428
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1429
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1430
- "td",
1431
- __spreadValues({
1432
- ref,
1433
- className: cn(
1434
- " px-4 py-4 [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px] ",
1435
- className
1436
- )
1437
- }, props)
1438
- );
1439
- });
1440
- TableCell.displayName = "TableCell";
1441
- var TableCaption = React6.forwardRef((_a, ref) => {
1442
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1443
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("caption", __spreadValues({ ref, className: cn("mt-4", className) }, props));
1444
- });
1445
- TableCaption.displayName = "TableCaption";
1446
- var TableFooter = React6.forwardRef((_a, ref) => {
1447
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1448
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1449
- "tfoot",
1450
- __spreadValues({
1451
- ref,
1452
- className: cn("bg-primary text-primary-foreground", className)
1453
- }, props)
1454
- );
1455
- });
1456
- TableFooter.displayName = "TableFooter";
1457
-
1458
- // src/components/ButtonGroup/index.tsx
1459
- var import_react3 = __toESM(require("react"));
1460
- var import_class_variance_authority6 = require("class-variance-authority");
1461
- var import_jsx_runtime24 = require("react/jsx-runtime");
1462
- var buttonGroupVariants = (0, import_class_variance_authority6.cva)(
799
+ var buttonGroupVariants = (0, import_class_variance_authority3.cva)(
1463
800
  [
1464
801
  "inline-flex",
1465
802
  "[&>*]:flex",
1466
803
  "[&>*]:rounded-none",
1467
- "[&>*]:border-0",
1468
- "divide-border-subtle",
1469
804
  "p-0",
1470
805
  "[&>*]:gap-[10px]",
1471
806
  "[&>*]:items-center",
1472
807
  "[&>*]:justify-center",
1473
808
  "[&>*]:px-3",
809
+ "[&>*:focus]:shadow-none",
1474
810
  "items-start",
1475
811
  "rounded-lg",
1476
812
  "overflow-hidden"
@@ -1479,24 +815,30 @@ var buttonGroupVariants = (0, import_class_variance_authority6.cva)(
1479
815
  variants: {
1480
816
  variant: {
1481
817
  primary: [
1482
- "dark:divide-border-subtle-dark",
818
+ "[&>*:focus]:bg-secondary-100",
819
+ "[&>*:focus]:text-foreground",
1483
820
  "dark:[&>*]:bg-button-primary-dark",
1484
821
  "dark:[&>*]:text-foreground-inverse-dark",
1485
- "dark:[&>*:hover]:bg-button-secondary-hover",
1486
- "dark:[&>*:focus]:bg-button-secondary-focus"
822
+ "dark:[&>*:hover]:bg-button-primary-hover",
823
+ "dark:[&>*:hover]:text-foreground-dark",
824
+ "dark:[&>*:focus]:bg-button-primary-focus",
825
+ "dark:[&>*:focus]:text-foreground-dark"
1487
826
  ],
1488
827
  secondary: [
1489
828
  "bg-background",
1490
- "border-[1px] border-border-subtle",
1491
829
  "[&>*]:bg-white [&>*]:text-grey-900",
1492
830
  "[&>*:focus]:bg-button-secondary-focus",
1493
831
  "[&>*:hover]:bg-button-secondary-hover",
832
+ "dark:[&>*:hover]:bg-button-secondary-hover-dark",
833
+ "dark:[&>*:hover]:text-foreground-dark",
834
+ "dark:[&>*:focus]:bg-button-secondary-focus-dark",
835
+ "dark:[&>*:focus]:text-foreground-dark",
1494
836
  "[&>*:disabled]:bg-button-secondary-disabled [&>*:disabled]:border-button-secondary-border-disabled [&>*:disabled]:text-foreground-subtle"
1495
837
  ]
1496
838
  },
1497
839
  orientation: {
1498
- horizontal: ["inline-flex", "divide-x-[1px]"],
1499
- vertical: ["flex-col", "divide-y-[1px]", "[&>*]:self-stretch"]
840
+ horizontal: ["inline-flex"],
841
+ vertical: ["flex-col", "[&>*]:self-stretch"]
1500
842
  },
1501
843
  size: {
1502
844
  md: ["[&>*]:py-2.5"],
@@ -1510,14 +852,14 @@ var buttonGroupVariants = (0, import_class_variance_authority6.cva)(
1510
852
  }
1511
853
  }
1512
854
  );
1513
- var ButtonGroup = import_react3.default.forwardRef(
855
+ var ButtonGroup = import_react.default.forwardRef(
1514
856
  (_a, ref) => {
1515
- var _b = _a, { className, orientation, variant, size: size2 } = _b, props = __objRest(_b, ["className", "orientation", "variant", "size"]);
1516
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
857
+ var _b = _a, { className, orientation, variant, size: size3 } = _b, props = __objRest(_b, ["className", "orientation", "variant", "size"]);
858
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1517
859
  "div",
1518
860
  __spreadProps(__spreadValues({
1519
861
  className: cn(
1520
- buttonGroupVariants({ orientation, variant, size: size2 }),
862
+ buttonGroupVariants({ orientation, variant, size: size3 }),
1521
863
  className
1522
864
  )
1523
865
  }, props), {
@@ -1528,233 +870,184 @@ var ButtonGroup = import_react3.default.forwardRef(
1528
870
  );
1529
871
  ButtonGroup.displayName = "ButtonGroup";
1530
872
 
1531
- // src/components/Tooltip/index.tsx
1532
- var React8 = __toESM(require("react"));
1533
- var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
1534
- var import_class_variance_authority7 = require("class-variance-authority");
1535
- var import_jsx_runtime25 = require("react/jsx-runtime");
1536
- var tooltipVariants = (0, import_class_variance_authority7.cva)([
1537
- [
1538
- "fill-accent",
1539
- "bg-accent",
1540
- "z-50",
1541
- "overflow-hidden",
1542
- "rounded",
1543
- "p-2",
1544
- "text-xs",
1545
- "text-center",
1546
- "text-foreground-inverse",
1547
- "font-semibold"
1548
- ],
1549
- [
1550
- "dark:text-foreground-inverse-dark",
1551
- "dark:bg-accent-dark",
1552
- "dark:fill-accent-dark"
1553
- ]
1554
- ]);
1555
- var Tooltip = React8.forwardRef(({ children, side, content, sideOffset, className }, ref) => {
1556
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(TooltipPrimitive.Provider, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(TooltipPrimitive.Root, { children: [
1557
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(TooltipPrimitive.Trigger, { children }),
1558
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1559
- TooltipPrimitive.Content,
1560
- {
1561
- side: side != null ? side : "top",
1562
- sideOffset: sideOffset != null ? sideOffset : 4,
1563
- className: cn(tooltipVariants(), className),
1564
- ref,
1565
- children: [
1566
- content,
1567
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(TooltipPrimitive.Arrow, { className: "fill-inherit" })
1568
- ]
1569
- }
1570
- )
1571
- ] }) });
1572
- });
1573
-
1574
- // src/components/Input/index.tsx
1575
- var import_react4 = __toESM(require("react"));
1576
- var import_class_variance_authority8 = require("class-variance-authority");
1577
- var import_jsx_runtime26 = require("react/jsx-runtime");
1578
- var leftSideVariants = (0, import_class_variance_authority8.cva)(["flex", "items-center", "text-inherit"]);
1579
- var rightSideVariants = (0, import_class_variance_authority8.cva)(["flex", "self-center text-inherit"]);
1580
- var formVariants = (0, import_class_variance_authority8.cva)(
1581
- [
1582
- "flex",
1583
- "border",
1584
- "border-2",
1585
- "rounded-lg",
1586
- "overflow-hidden",
1587
- "p-3",
1588
- "items-center",
1589
- "gap-1.5",
1590
- "[&:has(:disabled)]:border-none"
1591
- ],
1592
- {
1593
- variants: {
1594
- variant: {
1595
- primary: [
1596
- "border-border-subtle",
1597
- "dark:border-border-subtle-dark",
1598
- "bg-background-alt",
1599
- "dark:bg-background-alt-dark",
1600
- "hover:border-border-hover",
1601
- "hover:focus-within:border-border-focus",
1602
- "dark:hover:focus-within:border-border-focus-dark",
1603
- "focus-within:shadow-blue",
1604
- "text-foreground-muted",
1605
- "dark:text-foreground-muted-dark"
1606
- ],
1607
- error: [
1608
- "border-feedback-red",
1609
- "text-feedback-red",
1610
- "bg-red-50",
1611
- "hover:border-red-700",
1612
- "focus-within:shadow-red"
873
+ // src/components/Calendar/index.tsx
874
+ var import_react_day_picker = require("react-day-picker");
875
+ var import_class_variance_authority4 = require("class-variance-authority");
876
+ var import_jsx_runtime5 = require("react/jsx-runtime");
877
+ var calendarVariants = (0, import_class_variance_authority4.cva)([], {
878
+ variants: {
879
+ component: {
880
+ months: ["flex", "flex-col", "gap-2"],
881
+ month: ["flex", "flex-col", "gap-2"],
882
+ caption: ["flex justify-center py-0.5 relative items-center"],
883
+ caption_label: ["text-sm", "font-medium"],
884
+ nav: ["h-7", "bg-transparent", "dark:text-foreground-muted-dark"],
885
+ nav_button: ["h-7", "w-7", "bg-transparent", "p-0"],
886
+ head_cell: [
887
+ "text-foreground-muted",
888
+ "dark:text-foreground-muted-dark",
889
+ "px-1",
890
+ "py-2",
891
+ "w-9",
892
+ "font-semibold",
893
+ "text-xs",
894
+ "h-[34px]"
895
+ ],
896
+ cell: [
897
+ [
898
+ "overflow-none",
899
+ "w-9",
900
+ "p-0",
901
+ "flex",
902
+ "flex-col",
903
+ "items-center",
904
+ "text-center",
905
+ "gap-1",
906
+ "text-sm",
907
+ "relative"
1613
908
  ],
1614
- success: [
1615
- "border-feedback-green",
1616
- "text-feedback-green",
1617
- "bg-green-50",
1618
- "hover:border-green-700",
1619
- "focus-within:shadow-green"
909
+ [
910
+ "focus-within:relative",
911
+ "focus-within:z-20",
912
+ "focus-visible:shadow-blue"
1620
913
  ]
1621
- }
1622
- }
1623
- }
1624
- );
1625
- var inputVariants = (0, import_class_variance_authority8.cva)(
1626
- ["flex", "flex-grow", "items-center", "outline-none", "bg-transparent"],
1627
- {
1628
- variants: {
1629
- variant: {
1630
- primary: ["text-foreground", "dark:text-foreground-dark"],
1631
- error: ["text-feedback-red"],
1632
- success: ["text-green-700"]
1633
- }
1634
- },
1635
- defaultVariants: {
1636
- variant: "primary"
914
+ ],
915
+ day: cn([
916
+ "aria-selected:bg-accent",
917
+ "rounded-lg",
918
+ "dark:aria-selected:bg-brandGreen-100",
919
+ "px-1",
920
+ "w-full",
921
+ "py-2",
922
+ "h-[34px]",
923
+ "flex",
924
+ "flex-col",
925
+ "text-sm",
926
+ "font-bold",
927
+ "aria-selected:opacity-100",
928
+ "items-center",
929
+ "shrink-0",
930
+ "focus-visible:shadow-blue",
931
+ "outline-none"
932
+ ]),
933
+ day_selected: ["text-foreground-inverse"],
934
+ day_outside: [
935
+ "day-outside",
936
+ "text-muted-foreground",
937
+ "opacity-50 aria-selected:bg-accent-alt"
938
+ ]
1637
939
  }
1638
940
  }
1639
- );
1640
- var convertTypeToComponent = {
1641
- left: {
1642
- text: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(UserIcon, {}),
1643
- search: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SearchIcon, {})
1644
- }
1645
- };
1646
- var Input = import_react4.default.forwardRef(
1647
- (_a, ref) => {
1648
- var _b = _a, {
1649
- type,
1650
- className,
1651
- formClassName,
1652
- leftSideClassName,
1653
- variant,
1654
- leftSideChild,
1655
- rightSideChild,
1656
- onClear
1657
- } = _b, props = __objRest(_b, [
1658
- "type",
1659
- "className",
1660
- "formClassName",
1661
- "leftSideClassName",
1662
- "variant",
1663
- "leftSideChild",
1664
- "rightSideChild",
1665
- "onClear"
1666
- ]);
1667
- const leftSideComponent = leftSideChild != null ? leftSideChild : convertTypeToComponent.left[`${type}`];
1668
- const rightSideComponent = rightSideChild != null ? rightSideChild : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(CloseIcon, { strokeWidth: 0.6 });
1669
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("form", { className: cn(formVariants({ variant }), formClassName), children: [
1670
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: cn(leftSideVariants(), leftSideClassName), children: leftSideComponent }),
1671
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1672
- "input",
1673
- __spreadValues({
1674
- type: "text",
1675
- className: cn(inputVariants({ variant }), className),
1676
- ref
1677
- }, props)
941
+ });
942
+ function Calendar(_a) {
943
+ var _b = _a, {
944
+ className,
945
+ classNames,
946
+ showOutsideDays = true
947
+ } = _b, props = __objRest(_b, [
948
+ "className",
949
+ "classNames",
950
+ "showOutsideDays"
951
+ ]);
952
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
953
+ import_react_day_picker.DayPicker,
954
+ __spreadValues({
955
+ showOutsideDays,
956
+ className: cn(
957
+ "p-4 rounded-lg bg-background-alt dark:bg-background-alt-dark dark:text-foreground-inverse shadow-[0_4px_6px_0px_rgba(0,0,0,0.08)] flex [&>*]:flex-row",
958
+ className
1678
959
  ),
1679
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "input-right-side" }),
1680
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("button", { type: "button", onClick: onClear, className: rightSideVariants(), children: rightSideComponent })
1681
- ] });
1682
- }
1683
- );
960
+ classNames: __spreadValues({
961
+ months: calendarVariants({ component: "months" }),
962
+ month: calendarVariants({ component: "months" }),
963
+ caption: calendarVariants({ component: "caption" }),
964
+ caption_label: calendarVariants({ component: "caption_label" }),
965
+ nav: calendarVariants({ component: "nav" }),
966
+ nav_button: calendarVariants({ component: "nav_button" }),
967
+ nav_button_previous: "absolute left-1",
968
+ nav_button_next: "absolute right-0",
969
+ table: "w-full border-collapse space-y-0",
970
+ head_row: "flex",
971
+ head_cell: calendarVariants({ component: "head_cell" }),
972
+ row: "flex w-full",
973
+ cell: calendarVariants({ component: "cell" }),
974
+ day: calendarVariants({ component: "day" }),
975
+ day_range_end: "day-range-end bg-accent dark:bg-blue-[400] rounded-r-full",
976
+ day_range_start: "day-range-start rounded-l-full bg-accent dark:bg-blue-[400] text-foreground-inverse",
977
+ day_selected: calendarVariants({ component: "day_selected" }),
978
+ day_outside: calendarVariants({ component: "day_outside" }),
979
+ day_disabled: "text-muted-foreground opacity-50",
980
+ day_range_middle: "day-range-middle aria-selected:bg-accent-hover-dark dark:aria-selected:bg-accent-alt rounded-none bg-grey-400 text-grey-900",
981
+ day_hidden: "invisible"
982
+ }, classNames),
983
+ components: {
984
+ IconLeft: () => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(assets_exports.BsArrowLeft, { className: "h-5 w-5 fill-current stroke-current" }),
985
+ IconRight: () => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(assets_exports.BsArrowRight, { className: "h-5 w-5 fill-current stroke-current" })
986
+ }
987
+ }, props)
988
+ );
989
+ }
990
+ Calendar.displayName = "Calendar";
1684
991
 
1685
- // src/components/Switch/index.tsx
1686
- var React10 = __toESM(require("react"));
1687
- var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"));
1688
- var import_class_variance_authority9 = require("class-variance-authority");
1689
- var import_jsx_runtime27 = require("react/jsx-runtime");
1690
- var switchVariants = (0, import_class_variance_authority9.cva)([
1691
- [
1692
- "peer",
1693
- "inline-flex",
1694
- "h-5",
1695
- "py-0.5",
1696
- "w-10",
1697
- "gap-[8px]",
992
+ // src/components/Checkbox/index.tsx
993
+ var React4 = __toESM(require("react"));
994
+ var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
995
+ var import_class_variance_authority5 = require("class-variance-authority");
996
+ var import_jsx_runtime6 = require("react/jsx-runtime");
997
+ var checkboxVariants = (0, import_class_variance_authority5.cva)([
998
+ [
999
+ "peer",
1000
+ "h-5 w-5",
1001
+ "p-0.5",
1698
1002
  "shrink-0",
1699
- "cursor-pointer",
1700
- "items-center",
1701
- "rounded-full",
1702
- "border-none",
1703
- "transition-colors ",
1704
- "focus-visible:outline-none",
1705
- "focus-visible:shadow-blue",
1706
- "disabled:cursor-not-allowed"
1003
+ "gap-0",
1004
+ "rounded",
1005
+ "border",
1006
+ "border-border",
1007
+ "bg-background-alt"
1707
1008
  ],
1708
1009
  [
1709
- "dark:data-[state=checked]:bg-blue-300",
1710
- //TODO: change to accent/dark when colour changes are made
1711
- "dark:bg-foreground-subtle-dark",
1712
- "dark:disabled:bg-grey-200"
1010
+ "data-[state=checked]:border-border",
1011
+ "data-[state=checked]:bg-border",
1012
+ "data-[state=checked]:text-foreground-inverse",
1013
+ "data-[state=indeterminate]:bg-border",
1014
+ "data-[state=indeterminate]:text-foreground-inverse"
1713
1015
  ],
1714
1016
  [
1715
- "data-[state=checked]:bg-accent",
1716
- "data-[state=unchecked]:bg-foreground-subtle",
1717
- "data-[disabled]:bg-grey-200"
1017
+ "dark:data-[state=unchecked]:bg-background-alt-dark",
1018
+ "dark:data-[state=unchecked]:border-border-dark",
1019
+ "dark:data-[state=checked]:border-border-dark",
1020
+ "dark:data-[state=checked]:bg-border-dark"
1718
1021
  ]
1719
1022
  ]);
1720
- var Switch = React10.forwardRef((_a, ref) => {
1023
+ var Checkbox = React4.forwardRef((_a, ref) => {
1721
1024
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1722
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1723
- SwitchPrimitives.Root,
1025
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1026
+ CheckboxPrimitive.Root,
1724
1027
  __spreadProps(__spreadValues({
1725
- className: cn(switchVariants(), className)
1726
- }, props), {
1727
1028
  ref,
1728
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1729
- SwitchPrimitives.Thumb,
1029
+ className: cn(checkboxVariants(), className)
1030
+ }, props), {
1031
+ children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1032
+ CheckboxPrimitive.Indicator,
1730
1033
  {
1731
- className: cn([
1732
- "pointer-events-none",
1733
- "block",
1734
- "h-4",
1735
- "w-4",
1736
- "rounded-full",
1737
- "bg-background",
1738
- "ring-0",
1739
- "transition-transform ",
1740
- "data-[state=checked]:translate-x-[22px]",
1741
- "data-[state=unchecked]:translate-x-[2px]",
1742
- "data-[disabled]:bg-grey-300",
1743
- "dark:bg-black",
1744
- "dark:data-[disabled]:bg-grey-300"
1745
- ])
1034
+ className: cn("flex items-center justify-center text-inherit"),
1035
+ children: [
1036
+ (props.checked === true || props.checked === void 0) && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(assets_exports.BsCheck, { className: "text-inherit stroke-current stroke-1 fill-current" }),
1037
+ props.checked === "indeterminate" && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(assets_exports.BsDash, { className: "text-inherit stroke-current stroke-1 fill-current" })
1038
+ ]
1746
1039
  }
1747
1040
  )
1748
1041
  })
1749
1042
  );
1750
1043
  });
1751
- Switch.displayName = SwitchPrimitives.Root.displayName;
1044
+ Checkbox.displayName = CheckboxPrimitive.Root.displayName;
1752
1045
 
1753
1046
  // src/components/Chip/index.tsx
1754
- var import_react5 = __toESM(require("react"));
1755
- var import_class_variance_authority10 = require("class-variance-authority");
1756
- var import_jsx_runtime28 = require("react/jsx-runtime");
1757
- var chipVariants = (0, import_class_variance_authority10.cva)(
1047
+ var import_react2 = __toESM(require("react"));
1048
+ var import_class_variance_authority6 = require("class-variance-authority");
1049
+ var import_jsx_runtime7 = require("react/jsx-runtime");
1050
+ var chipVariants = (0, import_class_variance_authority6.cva)(
1758
1051
  [
1759
1052
  [
1760
1053
  "inline-flex",
@@ -1797,7 +1090,7 @@ var chipVariants = (0, import_class_variance_authority10.cva)(
1797
1090
  warning: ["bg-yellow-50", "border-feedback-yellow"],
1798
1091
  success: ["bg-green-50", "border-feedback-green"],
1799
1092
  error: ["bg-red-50", "border-feedback-red"],
1800
- info: ["bg-blue-50", "border-primary-600", "dark:border-primary-600"]
1093
+ info: ["bg-blue-50", "border-primary-30", "dark:border-primary-30"]
1801
1094
  },
1802
1095
  size: {
1803
1096
  default: ["text-xs", "px-2.5", "py-2 h-[26px]", "gap-1"],
@@ -1810,24 +1103,24 @@ var chipVariants = (0, import_class_variance_authority10.cva)(
1810
1103
  }
1811
1104
  }
1812
1105
  );
1813
- var Chip = import_react5.default.forwardRef(
1106
+ var Chip = import_react2.default.forwardRef(
1814
1107
  (_a, ref) => {
1815
- var _b = _a, { className, variant, size: size2, children, disabled, onClick, active } = _b, props = __objRest(_b, ["className", "variant", "size", "children", "disabled", "onClick", "active"]);
1816
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1108
+ var _b = _a, { variant, size: size3, children, disabled, onClick, active } = _b, props = __objRest(_b, ["variant", "size", "children", "disabled", "onClick", "active"]);
1109
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
1817
1110
  "button",
1818
1111
  __spreadProps(__spreadValues({
1819
1112
  onClick,
1820
1113
  "data-active": active,
1821
- className: cn(chipVariants({ variant, size: size2 })),
1114
+ className: cn(chipVariants({ variant, size: size3 })),
1822
1115
  disabled,
1823
1116
  ref
1824
1117
  }, props), {
1825
1118
  children: [
1826
1119
  children,
1827
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex items-center justify-center w-6 h-6 p-2.5", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1828
- PlusIcon,
1120
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "flex items-center justify-center w-6 h-6 p-2.5", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1121
+ assets_exports.BsPlus,
1829
1122
  {
1830
- className: cn(size2 == "lg" ? "h-4 w-4" : "h-3 w-3", [
1123
+ className: cn(size3 == "lg" ? "h-4 w-4" : "h-3 w-3", [
1831
1124
  "stroke-current",
1832
1125
  "shrink-0"
1833
1126
  ])
@@ -1839,162 +1132,283 @@ var Chip = import_react5.default.forwardRef(
1839
1132
  }
1840
1133
  );
1841
1134
 
1842
- // src/components/Pagination/index.tsx
1843
- var import_react6 = __toESM(require("react"));
1844
- var import_class_variance_authority11 = require("class-variance-authority");
1845
- var import_jsx_runtime29 = require("react/jsx-runtime");
1846
- var PaginationVariants = (0, import_class_variance_authority11.cva)([
1847
- "[&>*]:flex",
1848
- "[&>*]:items-center",
1849
- "[&>*]:justify-center",
1850
- "w-fit"
1851
- ]);
1852
- var PageNumberStyles = (0, import_class_variance_authority11.cva)([
1853
- "min-w-40",
1854
- "max-w-40",
1855
- "h-10",
1856
- "px-4",
1857
- "py-2",
1858
- "rounded-sm",
1859
- "text-foreground-muted",
1860
- "active:bg-accent",
1861
- "active:text-primary-50",
1862
- "dark:hover:bg-background-dark",
1863
- "dark:active:bg-primary-300",
1864
- "dark:active:text-grey-900"
1865
- ]);
1866
- var PageNumberActiveStyles = (0, import_class_variance_authority11.cva)([
1867
- "bg-accent",
1868
- "text-primary-50",
1869
- "hover:bg-accent",
1870
- "hover:text-primary-50",
1871
- "dark:bg-primary-300",
1872
- "dark:text-grey-900",
1873
- "dark:hover:bg-primary-300",
1874
- "dark:hover:text-grey-900"
1875
- ]);
1876
- var Pagination = import_react6.default.forwardRef(
1877
- (_a, refs) => {
1878
- var _b = _a, {
1879
- className,
1880
- currentPage,
1881
- setCurrentPage,
1882
- numberOfItemsPerPage,
1883
- totalNumberOfFilteredItems
1884
- } = _b, props = __objRest(_b, [
1885
- "className",
1886
- "currentPage",
1887
- "setCurrentPage",
1888
- "numberOfItemsPerPage",
1889
- "totalNumberOfFilteredItems"
1890
- ]);
1891
- const currentRowsLength = totalNumberOfFilteredItems != null ? totalNumberOfFilteredItems : 0;
1892
- const totalPages = import_react6.default.useMemo(() => {
1893
- return Math.ceil(
1894
- currentRowsLength > 0 ? currentRowsLength / numberOfItemsPerPage : 0
1895
- );
1896
- }, [currentRowsLength, numberOfItemsPerPage]);
1897
- const allPages = [...Array(totalPages + 1).keys()].slice(1);
1898
- const [pageNumbers, setPageNumbers] = (0, import_react6.useState)(allPages);
1899
- const [showLeftDots, setShowLeftDots] = (0, import_react6.useState)(false);
1900
- const [showRightDots, setShowRightDots] = (0, import_react6.useState)(false);
1901
- const noOfSiblings = 1;
1902
- const noOfPagesShown = noOfSiblings * 2 + 5;
1903
- (0, import_react6.useEffect)(() => {
1904
- if (totalPages <= noOfPagesShown) {
1905
- setPageNumbers(allPages);
1906
- setShowRightDots(false);
1907
- setShowLeftDots(false);
1908
- } else if (currentPage <= noOfPagesShown - 3) {
1909
- const pages = allPages.slice(0, noOfPagesShown - 2);
1910
- pages.push(totalPages);
1911
- setPageNumbers(pages);
1912
- setShowRightDots(true);
1913
- setShowLeftDots(false);
1914
- } else if (noOfPagesShown - 3 < currentPage && currentPage < totalPages - 3) {
1915
- const pages = [1];
1916
- const start = Math.max(2, currentPage - noOfSiblings);
1917
- const end = Math.min(totalPages - 1, currentPage + noOfSiblings);
1918
- for (let i = start; i <= end; i++) {
1919
- pages.push(i);
1920
- }
1921
- pages.push(totalPages);
1922
- setPageNumbers(pages);
1923
- setShowRightDots(true);
1924
- setShowLeftDots(true);
1925
- } else if (currentPage >= totalPages - 3) {
1926
- const pages = allPages.slice(-noOfPagesShown + 2);
1927
- pages.unshift(1);
1928
- setPageNumbers(pages);
1929
- setShowRightDots(false);
1930
- setShowLeftDots(true);
1135
+ // src/components/ControlLabel/index.tsx
1136
+ var import_class_variance_authority8 = require("class-variance-authority");
1137
+
1138
+ // src/components/Label/index.tsx
1139
+ var React6 = __toESM(require("react"));
1140
+ var LabelPrimitive = __toESM(require("@radix-ui/react-label"));
1141
+ var import_class_variance_authority7 = require("class-variance-authority");
1142
+ var import_jsx_runtime8 = require("react/jsx-runtime");
1143
+ var labelVariants = (0, import_class_variance_authority7.cva)(
1144
+ "font-medium leading-normal peer-disabled:cursor-not-allowed peer-disabled:opacity-70 dark:text-foreground-inverse",
1145
+ {
1146
+ variants: {
1147
+ size: {
1148
+ lg: "text-lg",
1149
+ md: "text-md",
1150
+ sm: "text-sm",
1151
+ xs: "text-xs",
1152
+ xl: "text-xl"
1931
1153
  }
1932
- }, [currentPage, totalPages]);
1933
- const goToNextPage = () => {
1934
- if (currentPage !== totalPages)
1935
- setCurrentPage(currentPage + 1);
1936
- };
1937
- const goToPrevPage = () => {
1938
- if (currentPage !== 1)
1939
- setCurrentPage(currentPage - 1);
1940
- };
1941
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("nav", __spreadProps(__spreadValues({ className: cn(PaginationVariants(), className) }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("ul", { children: [
1942
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("li", { className: "hover:bg-background px-4 dark:hover:bg-background-dark rounded-sm", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1943
- "button",
1154
+ },
1155
+ defaultVariants: {
1156
+ size: "sm"
1157
+ }
1158
+ }
1159
+ );
1160
+ var alignVariants = (0, import_class_variance_authority7.cva)("", {
1161
+ variants: {
1162
+ align: {
1163
+ left: "text-left",
1164
+ right: "text-right"
1165
+ }
1166
+ },
1167
+ defaultVariants: {
1168
+ align: "left"
1169
+ }
1170
+ });
1171
+ var Label = React6.forwardRef((_a, ref) => {
1172
+ var _b = _a, { className, size: size3, hintText, align } = _b, props = __objRest(_b, ["className", "size", "hintText", "align"]);
1173
+ const label = /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1174
+ LabelPrimitive.Root,
1175
+ __spreadValues({
1176
+ ref,
1177
+ className: cn(
1178
+ labelVariants({ size: size3 }),
1179
+ alignVariants({ align }),
1180
+ className
1181
+ )
1182
+ }, props)
1183
+ );
1184
+ if (hintText) {
1185
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col", children: [
1186
+ label,
1187
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1188
+ "div",
1944
1189
  {
1945
- onClick: goToPrevPage,
1946
- disabled: currentPage === 1 || totalPages === 0,
1947
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1948
- ChevronLeftOutlineIcon,
1949
- {
1950
- className: "w-3 h-9 pt-3 pb-3 -mb-1 text-foreground dark:text-foreground-dark"
1951
- }
1952
- )
1190
+ className: cn(
1191
+ alignVariants({ align }),
1192
+ "font-semibold text-xs text-foreground-muted dark:text-foreground-muted-dark"
1193
+ ),
1194
+ children: hintText
1953
1195
  }
1954
- ) }),
1955
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "flex flex-row items-center px-0", children: pageNumbers.map((pgNumber) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_react6.default.Fragment, { children: [
1956
- pgNumber === totalPages && showRightDots ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "px-4 min-w-40 max-w-40 text-foreground-muted", children: "..." }) : null,
1957
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1958
- "button",
1959
- {
1960
- onClick: () => setCurrentPage(pgNumber),
1961
- className: cn(
1962
- PageNumberStyles(),
1963
- currentPage === pgNumber && PageNumberActiveStyles()
1964
- ),
1965
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "text-sm", children: pgNumber })
1196
+ )
1197
+ ] });
1198
+ }
1199
+ return label;
1200
+ });
1201
+ Label.displayName = LabelPrimitive.Root.displayName;
1202
+
1203
+ // src/components/ControlLabel/index.tsx
1204
+ var import_jsx_runtime9 = require("react/jsx-runtime");
1205
+ var verticalAlignVariants = (0, import_class_variance_authority8.cva)("", {
1206
+ variants: {
1207
+ varticalAlign: {
1208
+ top: "items-start",
1209
+ middle: "items-center",
1210
+ bottom: "items-end"
1211
+ }
1212
+ },
1213
+ defaultVariants: {
1214
+ varticalAlign: "top"
1215
+ }
1216
+ });
1217
+ var ControlLabel = (_a) => {
1218
+ var _b = _a, {
1219
+ label,
1220
+ position = "right",
1221
+ varticalAlign,
1222
+ children
1223
+ } = _b, labelProps = __objRest(_b, [
1224
+ "label",
1225
+ "position",
1226
+ "varticalAlign",
1227
+ "children"
1228
+ ]);
1229
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1230
+ "div",
1231
+ {
1232
+ className: cn(
1233
+ verticalAlignVariants({
1234
+ varticalAlign
1235
+ }),
1236
+ "flex space-x-2"
1237
+ ),
1238
+ children: [
1239
+ position === "left" && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Label, __spreadProps(__spreadValues({}, labelProps), { align: "right", children: label })),
1240
+ children,
1241
+ position === "right" && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Label, __spreadProps(__spreadValues({}, labelProps), { align: "left", children: label }))
1242
+ ]
1243
+ }
1244
+ );
1245
+ };
1246
+
1247
+ // src/components/Input/index.tsx
1248
+ var import_react3 = __toESM(require("react"));
1249
+ var import_class_variance_authority9 = require("class-variance-authority");
1250
+ var import_jsx_runtime10 = require("react/jsx-runtime");
1251
+ var leftSideVariants = (0, import_class_variance_authority9.cva)(["flex", "items-center", "text-inherit"]);
1252
+ var rightSideVariants = (0, import_class_variance_authority9.cva)(["flex", "self-center text-inherit"]);
1253
+ var formVariants = (0, import_class_variance_authority9.cva)(
1254
+ [
1255
+ "flex",
1256
+ "border",
1257
+ "border-2",
1258
+ "rounded-lg",
1259
+ "overflow-hidden",
1260
+ "p-3",
1261
+ "items-center",
1262
+ "gap-1.5",
1263
+ "[&:has(:disabled)]:border-none"
1264
+ ],
1265
+ {
1266
+ variants: {
1267
+ variant: {
1268
+ primary: [
1269
+ "border-border-subtle",
1270
+ "dark:border-border-subtle-dark",
1271
+ "bg-background-alt",
1272
+ "dark:bg-background-alt-dark",
1273
+ "hover:border-border-hover",
1274
+ "hover:focus-within:border-border-focus",
1275
+ "dark:hover:focus-within:border-border-focus-dark",
1276
+ "focus-within:shadow-brandGreen",
1277
+ "text-foreground-muted",
1278
+ "dark:text-foreground-muted-dark",
1279
+ "dark:focus-within:shadow-brandGreen-10"
1280
+ ],
1281
+ error: [
1282
+ "border-feedback-red",
1283
+ "text-feedback-red",
1284
+ "bg-red-50",
1285
+ "hover:border-red-700",
1286
+ "focus-within:shadow-red"
1287
+ ],
1288
+ success: [
1289
+ "border-feedback-green",
1290
+ "text-feedback-green",
1291
+ "bg-green-50",
1292
+ "hover:border-green-700",
1293
+ "focus-within:shadow-green"
1294
+ ]
1295
+ }
1296
+ }
1297
+ }
1298
+ );
1299
+ var inputVariants = (0, import_class_variance_authority9.cva)(
1300
+ ["flex", "flex-grow", "items-center", "outline-none", "bg-transparent"],
1301
+ {
1302
+ variants: {
1303
+ variant: {
1304
+ primary: ["text-foreground", "dark:text-foreground-dark"],
1305
+ error: ["text-feedback-red"],
1306
+ success: ["text-green-700"]
1307
+ }
1308
+ },
1309
+ defaultVariants: {
1310
+ variant: "primary"
1311
+ }
1312
+ }
1313
+ );
1314
+ var convertTypeToComponent = {
1315
+ left: {
1316
+ text: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(assets_exports.BsPersonFill, {}),
1317
+ search: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(assets_exports.BsSearch, {})
1318
+ }
1319
+ };
1320
+ var Input = import_react3.default.forwardRef(
1321
+ (_a, ref) => {
1322
+ var _b = _a, {
1323
+ type,
1324
+ className,
1325
+ formClassName,
1326
+ leftSideClassName,
1327
+ variant,
1328
+ leftSideChild,
1329
+ rightSideChild,
1330
+ onClear
1331
+ } = _b, props = __objRest(_b, [
1332
+ "type",
1333
+ "className",
1334
+ "formClassName",
1335
+ "leftSideClassName",
1336
+ "variant",
1337
+ "leftSideChild",
1338
+ "rightSideChild",
1339
+ "onClear"
1340
+ ]);
1341
+ const leftSideComponent = leftSideChild != null ? leftSideChild : convertTypeToComponent.left[`${type}`];
1342
+ const rightSideComponent = rightSideChild != null ? rightSideChild : /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(assets_exports.BsX, { strokeWidth: 0.6 });
1343
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("form", { className: cn(formVariants({ variant }), formClassName), children: [
1344
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: cn(leftSideVariants(), leftSideClassName), children: leftSideComponent }),
1345
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1346
+ "input",
1347
+ __spreadValues({
1348
+ type: "text",
1349
+ className: cn(inputVariants({ variant }), className),
1350
+ ref
1351
+ }, props)
1352
+ ),
1353
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "input-right-side" }),
1354
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { type: "button", onClick: onClear, className: rightSideVariants(), children: rightSideComponent })
1355
+ ] });
1356
+ }
1357
+ );
1358
+
1359
+ // src/components/Link/index.tsx
1360
+ var import_react4 = __toESM(require("react"));
1361
+ var import_jsx_runtime11 = require("react/jsx-runtime");
1362
+ var Link = import_react4.default.forwardRef(
1363
+ (_a, ref) => {
1364
+ var _b = _a, { className, onClick, selected = false, children, icon: Icon } = _b, props = __objRest(_b, ["className", "onClick", "selected", "children", "icon"]);
1365
+ const selectedClasses = "cursor-default text-white dark:text-foreground-inverse-dark bg-background-inverse dark:bg-background-inverse-dark";
1366
+ const hoverClasses = "hover:bg-grey-100 hover:underline dark:hover:bg-grey-700";
1367
+ const focusClasses = "focus:shadow-brandGreen focus:underline focus:bg-grey-100 dark:focus:bg-grey-700 dark:focus:shadow-brandGreen-10";
1368
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
1369
+ "a",
1370
+ __spreadProps(__spreadValues({
1371
+ className: cn(
1372
+ "flex items-center space-x-3",
1373
+ "py-1 px-1.5",
1374
+ "rounded",
1375
+ "cursor-pointer",
1376
+ "outline-none",
1377
+ "dark:text-white",
1378
+ selected ? selectedClasses : `${hoverClasses} ${focusClasses}`,
1379
+ className
1380
+ ),
1381
+ ref,
1382
+ onClick: (e) => {
1383
+ if (selected) {
1384
+ e.preventDefault();
1385
+ } else {
1386
+ onClick && onClick(e);
1966
1387
  }
1967
- ) }),
1968
- pgNumber === 1 && showLeftDots ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "px-4 max-w-40 min-w-40 text-foreground-muted", children: "..." }) }) : null
1969
- ] }, pgNumber)) }),
1970
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("li", { className: "hover:bg-background px-4 dark:hover:bg-background-dark rounded-sm", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1971
- "button",
1972
- {
1973
- onClick: goToNextPage,
1974
- disabled: currentPage === totalPages || totalPages === 0,
1975
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1976
- ChevronRightOutlineIcon,
1977
- {
1978
- className: "w-3 h-9 py-3 -mb-1 text-foreground dark:text-foreground-dark"
1979
- }
1980
- )
1981
1388
  }
1982
- ) })
1983
- ] }) }));
1389
+ }, props), {
1390
+ children: [
1391
+ Icon ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { className: "mr-1" }) : null,
1392
+ children
1393
+ ]
1394
+ })
1395
+ );
1984
1396
  }
1985
1397
  );
1398
+ Link.displayName = "Link";
1986
1399
 
1987
1400
  // src/components/Modal/index.tsx
1988
- var React13 = __toESM(require("react"));
1401
+ var React9 = __toESM(require("react"));
1989
1402
  var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"));
1990
- var import_jsx_runtime30 = require("react/jsx-runtime");
1403
+ var import_class_variance_authority10 = require("class-variance-authority");
1404
+ var import_jsx_runtime12 = require("react/jsx-runtime");
1991
1405
  var Modal = DialogPrimitive.Root;
1992
1406
  var ModalTrigger = DialogPrimitive.Trigger;
1993
1407
  var ModalPortal = DialogPrimitive.Portal;
1994
1408
  var ModalCloseFooter = DialogPrimitive.Close;
1995
- var ModalOverlay = React13.forwardRef((_a, ref) => {
1409
+ var ModalOverlay = React9.forwardRef((_a, ref) => {
1996
1410
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1997
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1411
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1998
1412
  DialogPrimitive.Overlay,
1999
1413
  __spreadValues({
2000
1414
  ref,
@@ -2003,16 +1417,16 @@ var ModalOverlay = React13.forwardRef((_a, ref) => {
2003
1417
  );
2004
1418
  });
2005
1419
  ModalOverlay.displayName = DialogPrimitive.Overlay.displayName;
2006
- var ModalContent = React13.forwardRef((_a, ref) => {
1420
+ var ModalContent = React9.forwardRef((_a, ref) => {
2007
1421
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
2008
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(ModalPortal, { children: [
2009
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ModalOverlay, {}),
2010
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1422
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(ModalPortal, { children: [
1423
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ModalOverlay, {}),
1424
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2011
1425
  DialogPrimitive.Content,
2012
1426
  __spreadProps(__spreadValues({
2013
1427
  ref,
2014
1428
  className: cn(
2015
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 shadow-lg bg-background dark:bg-foreground duration-200 sm:rounded-lg",
1429
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-6 shadow-lg bg-background dark:bg-foreground duration-200 sm:rounded-lg",
2016
1430
  className
2017
1431
  )
2018
1432
  }, props), {
@@ -2022,21 +1436,39 @@ var ModalContent = React13.forwardRef((_a, ref) => {
2022
1436
  ] });
2023
1437
  });
2024
1438
  ModalContent.displayName = DialogPrimitive.Content.displayName;
1439
+ var headerVariants = (0, import_class_variance_authority10.cva)(
1440
+ [
1441
+ "flex",
1442
+ "items-center",
1443
+ "justify-between",
1444
+ "p-6",
1445
+ "space-y-1.5",
1446
+ "text-center",
1447
+ "sm:text-left",
1448
+ "border-border-subtle",
1449
+ "dark:border-border-subtle-dark"
1450
+ ],
1451
+ {
1452
+ variants: {
1453
+ variant: {
1454
+ default: ["border-b"],
1455
+ form: ["pb-0", "border-b-0"]
1456
+ }
1457
+ },
1458
+ defaultVariants: {
1459
+ variant: "default"
1460
+ }
1461
+ }
1462
+ );
2025
1463
  var ModalHeader = (_a) => {
2026
1464
  var _b = _a, {
2027
- className
1465
+ className,
1466
+ variant
2028
1467
  } = _b, props = __objRest(_b, [
2029
- "className"
1468
+ "className",
1469
+ "variant"
2030
1470
  ]);
2031
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2032
- "div",
2033
- __spreadValues({
2034
- className: cn(
2035
- "flex items-center justify-between p-6 space-y-1.5 text-center sm:text-left",
2036
- className
2037
- )
2038
- }, props)
2039
- );
1471
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", __spreadValues({ className: cn(headerVariants({ variant, className })) }, props));
2040
1472
  };
2041
1473
  ModalHeader.displayName = "ModalHeader";
2042
1474
  var ModalFooter = (_a) => {
@@ -2045,20 +1477,12 @@ var ModalFooter = (_a) => {
2045
1477
  } = _b, props = __objRest(_b, [
2046
1478
  "className"
2047
1479
  ]);
2048
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2049
- "div",
2050
- __spreadValues({
2051
- className: cn(
2052
- "flex flex-col-reverse p-6 sm:flex-row sm:justify-start sm:space-x-2",
2053
- className
2054
- )
2055
- }, props)
2056
- );
1480
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", __spreadValues({ className: cn("flex flex-col p-6 pt-0 gap-2.5", className) }, props));
2057
1481
  };
2058
1482
  ModalFooter.displayName = "ModalFooter";
2059
- var ModalTitle = React13.forwardRef((_a, ref) => {
1483
+ var ModalTitle = React9.forwardRef((_a, ref) => {
2060
1484
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2061
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1485
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2062
1486
  DialogPrimitive.Title,
2063
1487
  __spreadValues({
2064
1488
  ref,
@@ -2070,9 +1494,9 @@ var ModalTitle = React13.forwardRef((_a, ref) => {
2070
1494
  );
2071
1495
  });
2072
1496
  ModalTitle.displayName = DialogPrimitive.Title.displayName;
2073
- var ModalClose = React13.forwardRef((_a, ref) => {
1497
+ var ModalClose = React9.forwardRef((_a, ref) => {
2074
1498
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2075
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1499
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
2076
1500
  DialogPrimitive.Close,
2077
1501
  __spreadProps(__spreadValues({
2078
1502
  ref,
@@ -2082,169 +1506,359 @@ var ModalClose = React13.forwardRef((_a, ref) => {
2082
1506
  )
2083
1507
  }, props), {
2084
1508
  children: [
2085
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "text-foreground dark:text-foreground-inverse", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CloseIcon, { className: "w-5 h-5", strokeWidth: 0.833 }) }),
2086
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "sr-only", children: "Close" })
1509
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "text-foreground dark:text-foreground-inverse", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(assets_exports.BsXLg, { className: "w-5 h-5", strokeWidth: 0.833 }) }),
1510
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sr-only", children: "Close" })
2087
1511
  ]
2088
1512
  })
2089
1513
  );
2090
1514
  });
2091
- var ModalDescription = React13.forwardRef((_a, ref) => {
2092
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2093
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2094
- DialogPrimitive.Description,
2095
- __spreadValues({
2096
- ref,
2097
- className: cn("text-sm px-6 text-foreground-muted", className)
2098
- }, props)
2099
- );
2100
- });
2101
- ModalDescription.displayName = DialogPrimitive.Description.displayName;
2102
-
2103
- // src/components/WebsiteFooter/index.tsx
2104
- var import_class_variance_authority12 = require("class-variance-authority");
2105
- var import_react7 = __toESM(require("react"));
2106
- var import_jsx_runtime31 = require("react/jsx-runtime");
2107
- var websiteFooterVariants = (0, import_class_variance_authority12.cva)(
2108
- ["flex", "flex-col", "w-full", "items-center", "px-16", "py-4"],
2109
- {
2110
- variants: {
2111
- size: {
2112
- standard: ["sm:[&>div]:flex-row", "[&>div]:flex-col"],
2113
- sm: [
2114
- "[&>div]:flex-col",
2115
- "[&>div]:items-center",
2116
- "[&>div]:[&>div]:items-center"
2117
- ]
2118
- }
2119
- },
2120
- defaultVariants: { size: "standard" }
2121
- }
2122
- );
2123
- var footerStatementVariants = (0, import_class_variance_authority12.cva)(
1515
+ var descriptionVariants = (0, import_class_variance_authority10.cva)(
2124
1516
  [
2125
- "flex",
2126
- "flex-col",
2127
- "gap-1",
2128
- "items-center",
2129
- "text-foreground-subtle",
2130
- "py-4",
2131
- "text-sm"
1517
+ "text-sm",
1518
+ "text-foreground-muted",
1519
+ "border-border-subtle",
1520
+ "dark:border-border-subtle-dark"
2132
1521
  ],
2133
1522
  {
2134
1523
  variants: {
2135
- size: {
2136
- standard: [, "sm:py-8", "sm:text-base"],
2137
- sm: []
1524
+ variant: {
1525
+ default: ["border-b"],
1526
+ form: ["border-b-0"]
2138
1527
  }
2139
1528
  },
2140
- defaultVariants: { size: "standard" }
1529
+ defaultVariants: {
1530
+ variant: "default"
1531
+ }
2141
1532
  }
2142
1533
  );
2143
- var linkRowVariants = (0, import_class_variance_authority12.cva)([
2144
- "flex",
2145
- "w-full",
2146
- "justify-between",
2147
- "[&>div]:text-xl",
2148
- "[&>*]:font-normal",
2149
- "[&>*]:text-sm"
1534
+ var ModalDescription = React9.forwardRef((_a, ref) => {
1535
+ var _b = _a, { className, variant } = _b, props = __objRest(_b, ["className", "variant"]);
1536
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1537
+ DialogPrimitive.Description,
1538
+ __spreadValues({
1539
+ ref,
1540
+ className: cn(descriptionVariants({ variant, className }))
1541
+ }, props)
1542
+ );
1543
+ });
1544
+ ModalDescription.displayName = "ModalDescription";
1545
+
1546
+ // src/components/Pagination/index.tsx
1547
+ var import_react5 = __toESM(require("react"));
1548
+ var import_class_variance_authority11 = require("class-variance-authority");
1549
+ var import_jsx_runtime13 = require("react/jsx-runtime");
1550
+ var PaginationVariants = (0, import_class_variance_authority11.cva)([
1551
+ "[&>*]:flex",
1552
+ "[&>*]:items-center",
1553
+ "[&>*]:justify-center",
1554
+ "w-fit"
2150
1555
  ]);
2151
- var linkColumnVariants = (0, import_class_variance_authority12.cva)(
2152
- [
2153
- "flex",
2154
- "flex-col",
2155
- "px-8",
2156
- "pb-6",
2157
- "gap-2",
2158
- "dark:text-white",
2159
- "[&>div]:font-semibold",
2160
- "[&>div]:mb-2",
2161
- "[&>div]:text-xl",
2162
- "[&>*]:font-normal",
2163
- "[&>*]:text-sm",
2164
- "items-center"
2165
- ],
2166
- {
2167
- variants: {
2168
- size: {
2169
- lg: [
2170
- "sm:gap-3",
2171
- "sm:[&>div]:text-2xl",
2172
- "sm:[&>*]:font-normal",
2173
- "sm:[&>*]:text-sm",
2174
- "sm:pb-0",
2175
- "sm:items-start"
2176
- ],
2177
- md: ["sm:items-start", "sm:pb-0"],
2178
- sm: []
1556
+ var PageNumberStyles = (0, import_class_variance_authority11.cva)([
1557
+ "min-w-40",
1558
+ "max-w-40",
1559
+ "h-10",
1560
+ "px-4",
1561
+ "py-2",
1562
+ "rounded-sm",
1563
+ "text-foreground-muted",
1564
+ "active:bg-accent",
1565
+ "active:text-primary-10",
1566
+ "dark:hover:bg-background-dark",
1567
+ "dark:active:bg-primary-30",
1568
+ "dark:active:text-grey-900"
1569
+ ]);
1570
+ var PageNumberActiveStyles = (0, import_class_variance_authority11.cva)([
1571
+ "bg-accent",
1572
+ "text-primary-10",
1573
+ "hover:bg-accent",
1574
+ "hover:text-primary-10",
1575
+ "dark:bg-primary-30",
1576
+ "dark:text-grey-900",
1577
+ "dark:hover:bg-primary-30",
1578
+ "dark:hover:text-grey-900"
1579
+ ]);
1580
+ var Pagination = import_react5.default.forwardRef(
1581
+ (_a) => {
1582
+ var _b = _a, {
1583
+ className,
1584
+ currentPage,
1585
+ setCurrentPage,
1586
+ numberOfItemsPerPage,
1587
+ totalNumberOfFilteredItems
1588
+ } = _b, props = __objRest(_b, [
1589
+ "className",
1590
+ "currentPage",
1591
+ "setCurrentPage",
1592
+ "numberOfItemsPerPage",
1593
+ "totalNumberOfFilteredItems"
1594
+ ]);
1595
+ const currentRowsLength = totalNumberOfFilteredItems != null ? totalNumberOfFilteredItems : 0;
1596
+ const totalPages = import_react5.default.useMemo(() => {
1597
+ return Math.ceil(
1598
+ currentRowsLength > 0 ? currentRowsLength / numberOfItemsPerPage : 0
1599
+ );
1600
+ }, [currentRowsLength, numberOfItemsPerPage]);
1601
+ const allPages = [...Array(totalPages + 1).keys()].slice(1);
1602
+ const [pageNumbers, setPageNumbers] = (0, import_react5.useState)(allPages);
1603
+ const [showLeftDots, setShowLeftDots] = (0, import_react5.useState)(false);
1604
+ const [showRightDots, setShowRightDots] = (0, import_react5.useState)(false);
1605
+ const noOfSiblings = 1;
1606
+ const noOfPagesShown = noOfSiblings * 2 + 5;
1607
+ (0, import_react5.useEffect)(() => {
1608
+ if (totalPages <= noOfPagesShown) {
1609
+ setPageNumbers(allPages);
1610
+ setShowRightDots(false);
1611
+ setShowLeftDots(false);
1612
+ } else if (currentPage <= noOfPagesShown - 3) {
1613
+ const pages = allPages.slice(0, noOfPagesShown - 2);
1614
+ pages.push(totalPages);
1615
+ setPageNumbers(pages);
1616
+ setShowRightDots(true);
1617
+ setShowLeftDots(false);
1618
+ } else if (noOfPagesShown - 3 < currentPage && currentPage < totalPages - 3) {
1619
+ const pages = [1];
1620
+ const start = Math.max(2, currentPage - noOfSiblings);
1621
+ const end = Math.min(totalPages - 1, currentPage + noOfSiblings);
1622
+ for (let i = start; i <= end; i++) {
1623
+ pages.push(i);
1624
+ }
1625
+ pages.push(totalPages);
1626
+ setPageNumbers(pages);
1627
+ setShowRightDots(true);
1628
+ setShowLeftDots(true);
1629
+ } else if (currentPage >= totalPages - 3) {
1630
+ const pages = allPages.slice(-noOfPagesShown + 2);
1631
+ pages.unshift(1);
1632
+ setPageNumbers(pages);
1633
+ setShowRightDots(false);
1634
+ setShowLeftDots(true);
2179
1635
  }
2180
- },
2181
- defaultVariants: {
2182
- size: "lg"
2183
- }
2184
- }
2185
- );
2186
- {
2187
- }
2188
- var WebsiteFooter = import_react7.default.forwardRef(
2189
- (_a, ref) => {
2190
- var _b = _a, { className, size: size2 } = _b, props = __objRest(_b, ["className", "size"]);
2191
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2192
- "div",
2193
- __spreadProps(__spreadValues({
2194
- className: cn(websiteFooterVariants({ size: size2 }), className)
2195
- }, props), {
2196
- ref
2197
- })
2198
- );
1636
+ }, [currentPage, totalPages]);
1637
+ const goToNextPage = () => {
1638
+ if (currentPage !== totalPages)
1639
+ setCurrentPage(currentPage + 1);
1640
+ };
1641
+ const goToPrevPage = () => {
1642
+ if (currentPage !== 1)
1643
+ setCurrentPage(currentPage - 1);
1644
+ };
1645
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("nav", __spreadProps(__spreadValues({ className: cn(PaginationVariants(), className) }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("ul", { children: [
1646
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { className: "hover:bg-background px-4 dark:hover:bg-background-dark rounded-sm", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1647
+ "button",
1648
+ {
1649
+ onClick: goToPrevPage,
1650
+ disabled: currentPage === 1 || totalPages === 0,
1651
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1652
+ assets_exports.BsChevronLeft,
1653
+ {
1654
+ className: "w-3 h-9 pt-3 pb-3 -mb-1 text-foreground dark:text-foreground-dark"
1655
+ }
1656
+ )
1657
+ }
1658
+ ) }),
1659
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "flex flex-row items-center px-0", children: pageNumbers.map((pgNumber) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_react5.default.Fragment, { children: [
1660
+ pgNumber === totalPages && showRightDots ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "px-4 min-w-40 max-w-40 text-foreground-muted", children: "..." }) : null,
1661
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1662
+ "button",
1663
+ {
1664
+ onClick: () => setCurrentPage(pgNumber),
1665
+ className: cn(
1666
+ PageNumberStyles(),
1667
+ currentPage === pgNumber && PageNumberActiveStyles()
1668
+ ),
1669
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "text-sm", children: pgNumber })
1670
+ }
1671
+ ) }),
1672
+ pgNumber === 1 && showLeftDots ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "px-4 max-w-40 min-w-40 text-foreground-muted", children: "..." }) }) : null
1673
+ ] }, pgNumber)) }),
1674
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { className: "hover:bg-background px-4 dark:hover:bg-background-dark rounded-sm", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1675
+ "button",
1676
+ {
1677
+ onClick: goToNextPage,
1678
+ disabled: currentPage === totalPages || totalPages === 0,
1679
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1680
+ assets_exports.BsChevronRight,
1681
+ {
1682
+ className: "w-3 h-9 py-3 -mb-1 text-foreground dark:text-foreground-dark"
1683
+ }
1684
+ )
1685
+ }
1686
+ ) })
1687
+ ] }) }));
2199
1688
  }
2200
1689
  );
2201
- var FooterStatement = import_react7.default.forwardRef(
1690
+
1691
+ // src/components/Popover/index.tsx
1692
+ var React11 = __toESM(require("react"));
1693
+ var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
1694
+ var import_class_variance_authority12 = require("class-variance-authority");
1695
+ var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
1696
+ var ScrollArea = __toESM(require("@radix-ui/react-scroll-area"));
1697
+ var import_jsx_runtime14 = require("react/jsx-runtime");
1698
+ var popoverVariants = (0, import_class_variance_authority12.cva)([
1699
+ "z-50",
1700
+ "border border-2 border-border-subtle dark:border-border-dark",
1701
+ "rounded-lg",
1702
+ "bg-background dark:bg-background-dark",
1703
+ "text-foreground text-sm font-normal dark:text-white",
1704
+ "shadow",
1705
+ "outline-none",
1706
+ "min-w-72",
1707
+ "pl-2 pr-[20px] py-3"
1708
+ ]);
1709
+ var Popover = PopoverPrimitive.Root;
1710
+ var PopoverTrigger = PopoverPrimitive.Trigger;
1711
+ var PopoverClose = PopoverPrimitive.Close;
1712
+ var PopoverContent = React11.forwardRef(
2202
1713
  (_a, ref) => {
2203
- var _b = _a, { className, size: size2 } = _b, props = __objRest(_b, ["className", "size"]);
2204
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2205
- "div",
1714
+ var _b = _a, { className, align = "center", sideOffset = 4, children } = _b, props = __objRest(_b, ["className", "align", "sideOffset", "children"]);
1715
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1716
+ PopoverPrimitive.Content,
2206
1717
  __spreadProps(__spreadValues({
2207
- className: cn(footerStatementVariants({ size: size2 }), className)
1718
+ ref,
1719
+ align,
1720
+ sideOffset,
1721
+ className: cn(popoverVariants(), className)
2208
1722
  }, props), {
2209
- ref
1723
+ children
2210
1724
  })
2211
1725
  ) });
2212
1726
  }
2213
1727
  );
2214
- var LinkRow = import_react7.default.forwardRef(
2215
- (_a, ref) => {
2216
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2217
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2218
- "div",
2219
- __spreadProps(__spreadValues({
2220
- className: cn(linkRowVariants(), className)
2221
- }, props), {
2222
- ref
2223
- })
2224
- );
2225
- }
2226
- );
2227
- var LinkColumn = import_react7.default.forwardRef(
1728
+ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
1729
+ var PopoverScrollArea = ({
1730
+ className,
1731
+ children
1732
+ }) => {
1733
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(ScrollArea.Root, { className: cn("w-full h-full", className), type: "auto", children: [
1734
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ScrollArea.Viewport, { className: "w-full h-full", children }),
1735
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1736
+ ScrollArea.Scrollbar,
1737
+ {
1738
+ orientation: "vertical",
1739
+ className: "w-3 pr-1 py-2 -mr-[20px]",
1740
+ children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ScrollArea.Thumb, { className: "bg-grey-200 w-2 rounded-lg" })
1741
+ }
1742
+ )
1743
+ ] });
1744
+ };
1745
+ var PopoverSeparator = React11.forwardRef(
2228
1746
  (_a, ref) => {
2229
- var _b = _a, { className, size: size2, title, children } = _b, props = __objRest(_b, ["className", "size", "title", "children"]);
2230
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2231
- "div",
2232
- __spreadProps(__spreadValues({
2233
- className: cn(linkColumnVariants({ size: size2 }), className)
2234
- }, props), {
1747
+ var _b = _a, { className, orientation = "horizontal", fullLength = false } = _b, props = __objRest(_b, ["className", "orientation", "fullLength"]);
1748
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1749
+ SeparatorPrimitive.Root,
1750
+ __spreadValues({
2235
1751
  ref,
2236
- children: [
2237
- title && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { children: title }),
2238
- children
2239
- ]
2240
- })
2241
- );
1752
+ decorative: true,
1753
+ orientation,
1754
+ className: cn(
1755
+ "shrink-0 bg-border-subtle dark:bg-border-dark",
1756
+ orientation === "horizontal" ? "h-[1px] w-fill" : "h-fill w-[1px]",
1757
+ fullLength && orientation === "horizontal" ? "-ml-2 -mr-[20px]" : "",
1758
+ className
1759
+ )
1760
+ }, props)
1761
+ ) });
2242
1762
  }
2243
1763
  );
1764
+ PopoverSeparator.displayName = SeparatorPrimitive.Root.displayName;
1765
+ var PopoverHeader = ({
1766
+ className,
1767
+ children
1768
+ }) => {
1769
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
1770
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cn("w-full pb-4", className), children }),
1771
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(PopoverSeparator, { fullLength: true })
1772
+ ] });
1773
+ };
1774
+ var PopoverFooter = ({
1775
+ className,
1776
+ children
1777
+ }) => {
1778
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "w-full -mb-3", children: [
1779
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(PopoverSeparator, { fullLength: true }),
1780
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cn("py-2", className), children })
1781
+ ] });
1782
+ };
1783
+
1784
+ // src/components/Radio/RadioGroup.tsx
1785
+ var React12 = __toESM(require("react"));
1786
+ var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"));
1787
+ var import_jsx_runtime15 = require("react/jsx-runtime");
1788
+ var RadioGroup = React12.forwardRef((_a, ref) => {
1789
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1790
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1791
+ RadioGroupPrimitive.Root,
1792
+ __spreadProps(__spreadValues({
1793
+ className: cn("flex flex-col space-y-3", className)
1794
+ }, props), {
1795
+ ref
1796
+ })
1797
+ );
1798
+ });
1799
+ RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
1800
+
1801
+ // src/components/Radio/RadioGroupItem.tsx
1802
+ var React13 = __toESM(require("react"));
1803
+ var RadioGroupPrimitive2 = __toESM(require("@radix-ui/react-radio-group"));
1804
+ var import_class_variance_authority13 = require("class-variance-authority");
1805
+ var import_jsx_runtime16 = require("react/jsx-runtime");
1806
+ var radioVariant = (0, import_class_variance_authority13.cva)([
1807
+ [
1808
+ "h-5 w-5",
1809
+ "rounded-full",
1810
+ "border-[0.533px]",
1811
+ "border-border",
1812
+ "bg-background-alt",
1813
+ "disabled:opacity-50",
1814
+ "text-foreground-inverse"
1815
+ ],
1816
+ ["data-[state=checked]:border-border", "data-[state=checked]:bg-border"],
1817
+ [
1818
+ "dark:bg-background-alt-dark",
1819
+ "dark:border-border-dark",
1820
+ "dark:data-[state=checked]:bg-border-dark"
1821
+ ]
1822
+ ]);
1823
+ var RadioGroupItem = React13.forwardRef((_a, ref) => {
1824
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1825
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1826
+ RadioGroupPrimitive2.Item,
1827
+ __spreadProps(__spreadValues({
1828
+ ref,
1829
+ className: cn(radioVariant(), className)
1830
+ }, props), {
1831
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(RadioGroupPrimitive2.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1832
+ assets_exports.BsCircleFill,
1833
+ {
1834
+ size: "8",
1835
+ className: "text-inherit stroke-current stroke-1 fill-current"
1836
+ }
1837
+ ) })
1838
+ })
1839
+ );
1840
+ });
1841
+ RadioGroupItem.displayName = RadioGroupPrimitive2.Item.displayName;
2244
1842
 
2245
1843
  // src/components/Select/index.tsx
2246
1844
  var React22 = __toESM(require("react"));
2247
1845
 
1846
+ // node_modules/@babel/runtime/helpers/esm/extends.js
1847
+ function _extends() {
1848
+ _extends = Object.assign ? Object.assign.bind() : function(target) {
1849
+ for (var i = 1; i < arguments.length; i++) {
1850
+ var source = arguments[i];
1851
+ for (var key in source) {
1852
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1853
+ target[key] = source[key];
1854
+ }
1855
+ }
1856
+ }
1857
+ return target;
1858
+ };
1859
+ return _extends.apply(this, arguments);
1860
+ }
1861
+
2248
1862
  // node_modules/@radix-ui/react-select/dist/index.mjs
2249
1863
  var import_react26 = require("react");
2250
1864
  var import_react_dom4 = require("react-dom");
@@ -2267,11 +1881,11 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
2267
1881
  var import_react9 = __toESM(require("react"), 1);
2268
1882
 
2269
1883
  // node_modules/@radix-ui/react-context/dist/index.mjs
2270
- var import_react8 = require("react");
1884
+ var import_react6 = require("react");
2271
1885
  function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeDeps = []) {
2272
1886
  let defaultContexts = [];
2273
1887
  function $c512c27ab02ef895$export$fd42f52fd3ae1109(rootComponentName, defaultContext) {
2274
- const BaseContext = /* @__PURE__ */ (0, import_react8.createContext)(defaultContext);
1888
+ const BaseContext = /* @__PURE__ */ (0, import_react6.createContext)(defaultContext);
2275
1889
  const index2 = defaultContexts.length;
2276
1890
  defaultContexts = [
2277
1891
  ...defaultContexts,
@@ -2280,17 +1894,17 @@ function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeD
2280
1894
  function Provider2(props) {
2281
1895
  const _a = props, { scope, children } = _a, context = __objRest(_a, ["scope", "children"]);
2282
1896
  const Context = (scope === null || scope === void 0 ? void 0 : scope[scopeName][index2]) || BaseContext;
2283
- const value = (0, import_react8.useMemo)(
1897
+ const value = (0, import_react6.useMemo)(
2284
1898
  () => context,
2285
1899
  Object.values(context)
2286
1900
  );
2287
- return /* @__PURE__ */ (0, import_react8.createElement)(Context.Provider, {
1901
+ return /* @__PURE__ */ (0, import_react6.createElement)(Context.Provider, {
2288
1902
  value
2289
1903
  }, children);
2290
1904
  }
2291
1905
  function useContext(consumerName, scope) {
2292
1906
  const Context = (scope === null || scope === void 0 ? void 0 : scope[scopeName][index2]) || BaseContext;
2293
- const context = (0, import_react8.useContext)(Context);
1907
+ const context = (0, import_react6.useContext)(Context);
2294
1908
  if (context)
2295
1909
  return context;
2296
1910
  if (defaultContext !== void 0)
@@ -2305,11 +1919,11 @@ function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeD
2305
1919
  }
2306
1920
  const createScope = () => {
2307
1921
  const scopeContexts = defaultContexts.map((defaultContext) => {
2308
- return /* @__PURE__ */ (0, import_react8.createContext)(defaultContext);
1922
+ return /* @__PURE__ */ (0, import_react6.createContext)(defaultContext);
2309
1923
  });
2310
1924
  return function useScope(scope) {
2311
1925
  const contexts = (scope === null || scope === void 0 ? void 0 : scope[scopeName]) || scopeContexts;
2312
- return (0, import_react8.useMemo)(
1926
+ return (0, import_react6.useMemo)(
2313
1927
  () => ({
2314
1928
  [`__scope${scopeName}`]: __spreadProps(__spreadValues({}, scope), {
2315
1929
  [scopeName]: contexts
@@ -2345,7 +1959,7 @@ function $c512c27ab02ef895$var$composeContextScopes(...scopes) {
2345
1959
  const currentScope = scopeProps[`__scope${scopeName}`];
2346
1960
  return __spreadValues(__spreadValues({}, nextScopes), currentScope);
2347
1961
  }, {});
2348
- return (0, import_react8.useMemo)(
1962
+ return (0, import_react6.useMemo)(
2349
1963
  () => ({
2350
1964
  [`__scope${baseScope.scopeName}`]: nextScopes1
2351
1965
  }),
@@ -2359,6 +1973,88 @@ function $c512c27ab02ef895$var$composeContextScopes(...scopes) {
2359
1973
  return createScope1;
2360
1974
  }
2361
1975
 
1976
+ // node_modules/@radix-ui/react-compose-refs/dist/index.mjs
1977
+ var import_react7 = require("react");
1978
+ function $6ed0406888f73fc4$var$setRef(ref, value) {
1979
+ if (typeof ref === "function")
1980
+ ref(value);
1981
+ else if (ref !== null && ref !== void 0)
1982
+ ref.current = value;
1983
+ }
1984
+ function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs) {
1985
+ return (node) => refs.forEach(
1986
+ (ref) => $6ed0406888f73fc4$var$setRef(ref, node)
1987
+ );
1988
+ }
1989
+ function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs) {
1990
+ return (0, import_react7.useCallback)($6ed0406888f73fc4$export$43e446d32b3d21af(...refs), refs);
1991
+ }
1992
+
1993
+ // node_modules/@radix-ui/react-slot/dist/index.mjs
1994
+ var import_react8 = require("react");
1995
+ var $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /* @__PURE__ */ (0, import_react8.forwardRef)((props, forwardedRef) => {
1996
+ const _a = props, { children } = _a, slotProps = __objRest(_a, ["children"]);
1997
+ const childrenArray = import_react8.Children.toArray(children);
1998
+ const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
1999
+ if (slottable) {
2000
+ const newElement = slottable.props.children;
2001
+ const newChildren = childrenArray.map((child) => {
2002
+ if (child === slottable) {
2003
+ if (import_react8.Children.count(newElement) > 1)
2004
+ return import_react8.Children.only(null);
2005
+ return /* @__PURE__ */ (0, import_react8.isValidElement)(newElement) ? newElement.props.children : null;
2006
+ } else
2007
+ return child;
2008
+ });
2009
+ return /* @__PURE__ */ (0, import_react8.createElement)($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
2010
+ ref: forwardedRef
2011
+ }), /* @__PURE__ */ (0, import_react8.isValidElement)(newElement) ? /* @__PURE__ */ (0, import_react8.cloneElement)(newElement, void 0, newChildren) : null);
2012
+ }
2013
+ return /* @__PURE__ */ (0, import_react8.createElement)($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
2014
+ ref: forwardedRef
2015
+ }), children);
2016
+ });
2017
+ $5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = "Slot";
2018
+ var $5e63c961fc1ce211$var$SlotClone = /* @__PURE__ */ (0, import_react8.forwardRef)((props, forwardedRef) => {
2019
+ const _a = props, { children } = _a, slotProps = __objRest(_a, ["children"]);
2020
+ if (/* @__PURE__ */ (0, import_react8.isValidElement)(children))
2021
+ return /* @__PURE__ */ (0, import_react8.cloneElement)(children, __spreadProps(__spreadValues({}, $5e63c961fc1ce211$var$mergeProps(slotProps, children.props)), {
2022
+ ref: forwardedRef ? $6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref) : children.ref
2023
+ }));
2024
+ return import_react8.Children.count(children) > 1 ? import_react8.Children.only(null) : null;
2025
+ });
2026
+ $5e63c961fc1ce211$var$SlotClone.displayName = "SlotClone";
2027
+ var $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children }) => {
2028
+ return /* @__PURE__ */ (0, import_react8.createElement)(import_react8.Fragment, null, children);
2029
+ };
2030
+ function $5e63c961fc1ce211$var$isSlottable(child) {
2031
+ return /* @__PURE__ */ (0, import_react8.isValidElement)(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
2032
+ }
2033
+ function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
2034
+ const overrideProps = __spreadValues({}, childProps);
2035
+ for (const propName in childProps) {
2036
+ const slotPropValue = slotProps[propName];
2037
+ const childPropValue = childProps[propName];
2038
+ const isHandler = /^on[A-Z]/.test(propName);
2039
+ if (isHandler) {
2040
+ if (slotPropValue && childPropValue)
2041
+ overrideProps[propName] = (...args) => {
2042
+ childPropValue(...args);
2043
+ slotPropValue(...args);
2044
+ };
2045
+ else if (slotPropValue)
2046
+ overrideProps[propName] = slotPropValue;
2047
+ } else if (propName === "style")
2048
+ overrideProps[propName] = __spreadValues(__spreadValues({}, slotPropValue), childPropValue);
2049
+ else if (propName === "className")
2050
+ overrideProps[propName] = [
2051
+ slotPropValue,
2052
+ childPropValue
2053
+ ].filter(Boolean).join(" ");
2054
+ }
2055
+ return __spreadValues(__spreadValues({}, slotProps), overrideProps);
2056
+ }
2057
+
2362
2058
  // node_modules/@radix-ui/react-collection/dist/index.mjs
2363
2059
  function $e02a7d9cb1dc128c$export$c74125a8e3af6bb2(name) {
2364
2060
  const PROVIDER_NAME = name + "CollectionProvider";
@@ -3296,7 +2992,6 @@ var computePosition = (reference, floating, config) => __async(void 0, null, fun
3296
2992
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
3297
2993
  }
3298
2994
  i = -1;
3299
- continue;
3300
2995
  }
3301
2996
  }
3302
2997
  return {
@@ -3350,6 +3045,7 @@ function detectOverflow(state, options) {
3350
3045
  y: 1
3351
3046
  };
3352
3047
  const elementClientRect = rectToClientRect(platform2.convertOffsetParentRelativeRectToViewportRelativeRect ? yield platform2.convertOffsetParentRelativeRectToViewportRelativeRect({
3048
+ elements,
3353
3049
  rect,
3354
3050
  offsetParent,
3355
3051
  strategy
@@ -3410,7 +3106,7 @@ var arrow = (options) => ({
3410
3106
  const max2 = clientSize - arrowDimensions[length] - maxPadding;
3411
3107
  const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
3412
3108
  const offset2 = clamp(min$1, center, max2);
3413
- const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center != offset2 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
3109
+ const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset2 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
3414
3110
  const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
3415
3111
  return {
3416
3112
  [axis]: coords[axis] + alignmentOffset,
@@ -3872,7 +3568,7 @@ var size = function(options) {
3872
3568
  };
3873
3569
  };
3874
3570
 
3875
- // node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.mjs
3571
+ // node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
3876
3572
  function getNodeName(node) {
3877
3573
  if (isNode(node)) {
3878
3574
  return (node.nodeName || "").toLowerCase();
@@ -3881,7 +3577,7 @@ function getNodeName(node) {
3881
3577
  }
3882
3578
  function getWindow(node) {
3883
3579
  var _node$ownerDocument;
3884
- return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
3580
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
3885
3581
  }
3886
3582
  function getDocumentElement(node) {
3887
3583
  var _ref;
@@ -4109,15 +3805,40 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
4109
3805
  y
4110
3806
  });
4111
3807
  }
3808
+ var topLayerSelectors = [":popover-open", ":modal"];
3809
+ function topLayer(floating) {
3810
+ let isTopLayer = false;
3811
+ let x = 0;
3812
+ let y = 0;
3813
+ function setIsTopLayer(selector) {
3814
+ try {
3815
+ isTopLayer = isTopLayer || floating.matches(selector);
3816
+ } catch (e) {
3817
+ }
3818
+ }
3819
+ topLayerSelectors.forEach((selector) => {
3820
+ setIsTopLayer(selector);
3821
+ });
3822
+ if (isTopLayer) {
3823
+ const containingBlock = getContainingBlock(floating);
3824
+ if (containingBlock) {
3825
+ const rect = containingBlock.getBoundingClientRect();
3826
+ x = rect.x;
3827
+ y = rect.y;
3828
+ }
3829
+ }
3830
+ return [isTopLayer, x, y];
3831
+ }
4112
3832
  function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
4113
3833
  let {
3834
+ elements,
4114
3835
  rect,
4115
3836
  offsetParent,
4116
3837
  strategy
4117
3838
  } = _ref;
4118
- const isOffsetParentAnElement = isHTMLElement(offsetParent);
4119
3839
  const documentElement = getDocumentElement(offsetParent);
4120
- if (offsetParent === documentElement) {
3840
+ const [isTopLayer] = elements ? topLayer(elements.floating) : [false];
3841
+ if (offsetParent === documentElement || isTopLayer) {
4121
3842
  return rect;
4122
3843
  }
4123
3844
  let scroll = {
@@ -4126,6 +3847,7 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
4126
3847
  };
4127
3848
  let scale = createCoords(1);
4128
3849
  const offsets = createCoords(0);
3850
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
4129
3851
  if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== "fixed") {
4130
3852
  if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
4131
3853
  scroll = getNodeScroll(offsetParent);
@@ -4284,9 +4006,16 @@ function getClippingRect(_ref) {
4284
4006
  };
4285
4007
  }
4286
4008
  function getDimensions(element) {
4287
- return getCssDimensions(element);
4009
+ const {
4010
+ width,
4011
+ height
4012
+ } = getCssDimensions(element);
4013
+ return {
4014
+ width,
4015
+ height
4016
+ };
4288
4017
  }
4289
- function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
4018
+ function getRectRelativeToOffsetParent(element, offsetParent, strategy, floating) {
4290
4019
  const isOffsetParentAnElement = isHTMLElement(offsetParent);
4291
4020
  const documentElement = getDocumentElement(offsetParent);
4292
4021
  const isFixed = strategy === "fixed";
@@ -4308,9 +4037,20 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
4308
4037
  offsets.x = getWindowScrollBarX(documentElement);
4309
4038
  }
4310
4039
  }
4040
+ let x = rect.left + scroll.scrollLeft - offsets.x;
4041
+ let y = rect.top + scroll.scrollTop - offsets.y;
4042
+ const [isTopLayer, topLayerX, topLayerY] = topLayer(floating);
4043
+ if (isTopLayer) {
4044
+ x += topLayerX;
4045
+ y += topLayerY;
4046
+ if (isOffsetParentAnElement) {
4047
+ x += offsetParent.clientLeft;
4048
+ y += offsetParent.clientTop;
4049
+ }
4050
+ }
4311
4051
  return {
4312
- x: rect.left + scroll.scrollLeft - offsets.x,
4313
- y: rect.top + scroll.scrollTop - offsets.y,
4052
+ x,
4053
+ y,
4314
4054
  width: rect.width,
4315
4055
  height: rect.height
4316
4056
  };
@@ -4338,21 +4078,16 @@ function getOffsetParent(element, polyfill) {
4338
4078
  }
4339
4079
  return offsetParent || getContainingBlock(element) || window2;
4340
4080
  }
4341
- var getElementRects = function(_ref) {
4081
+ var getElementRects = function(data) {
4342
4082
  return __async(this, null, function* () {
4343
- let {
4344
- reference,
4345
- floating,
4346
- strategy
4347
- } = _ref;
4348
4083
  const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
4349
4084
  const getDimensionsFn = this.getDimensions;
4350
4085
  return {
4351
- reference: getRectRelativeToOffsetParent(reference, yield getOffsetParentFn(floating), strategy),
4086
+ reference: getRectRelativeToOffsetParent(data.reference, yield getOffsetParentFn(data.floating), data.strategy, data.floating),
4352
4087
  floating: __spreadValues({
4353
4088
  x: 0,
4354
4089
  y: 0
4355
- }, yield getDimensionsFn(floating))
4090
+ }, yield getDimensionsFn(data.floating))
4356
4091
  };
4357
4092
  });
4358
4093
  };
@@ -4376,8 +4111,9 @@ function observeMove(element, onMove) {
4376
4111
  let timeoutId;
4377
4112
  const root = getDocumentElement(element);
4378
4113
  function cleanup() {
4114
+ var _io;
4379
4115
  clearTimeout(timeoutId);
4380
- io && io.disconnect();
4116
+ (_io = io) == null || _io.disconnect();
4381
4117
  io = null;
4382
4118
  }
4383
4119
  function refresh(skip, threshold) {
@@ -4468,7 +4204,8 @@ function autoUpdate(reference, floating, update, options) {
4468
4204
  resizeObserver.unobserve(floating);
4469
4205
  cancelAnimationFrame(reobserveFrame);
4470
4206
  reobserveFrame = requestAnimationFrame(() => {
4471
- resizeObserver && resizeObserver.observe(floating);
4207
+ var _resizeObserver;
4208
+ (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
4472
4209
  });
4473
4210
  }
4474
4211
  update();
@@ -4493,18 +4230,25 @@ function autoUpdate(reference, floating, update, options) {
4493
4230
  }
4494
4231
  update();
4495
4232
  return () => {
4233
+ var _resizeObserver2;
4496
4234
  ancestors.forEach((ancestor) => {
4497
4235
  ancestorScroll && ancestor.removeEventListener("scroll", update);
4498
4236
  ancestorResize && ancestor.removeEventListener("resize", update);
4499
4237
  });
4500
- cleanupIo && cleanupIo();
4501
- resizeObserver && resizeObserver.disconnect();
4238
+ cleanupIo == null || cleanupIo();
4239
+ (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
4502
4240
  resizeObserver = null;
4503
4241
  if (animationFrame) {
4504
4242
  cancelAnimationFrame(frameId);
4505
4243
  }
4506
4244
  };
4507
4245
  }
4246
+ var shift2 = shift;
4247
+ var flip2 = flip;
4248
+ var size2 = size;
4249
+ var hide2 = hide;
4250
+ var arrow2 = arrow;
4251
+ var limitShift2 = limitShift;
4508
4252
  var computePosition2 = (reference, floating, options) => {
4509
4253
  const cache = /* @__PURE__ */ new Map();
4510
4254
  const mergedOptions = __spreadValues({
@@ -4519,10 +4263,10 @@ var computePosition2 = (reference, floating, options) => {
4519
4263
  };
4520
4264
 
4521
4265
  // node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
4522
- var React15 = __toESM(require("react"), 1);
4266
+ var React14 = __toESM(require("react"), 1);
4523
4267
  var import_react18 = require("react");
4524
4268
  var ReactDOM = __toESM(require("react-dom"), 1);
4525
- var arrow2 = (options) => {
4269
+ var arrow3 = (options) => {
4526
4270
  function isRef(value) {
4527
4271
  return {}.hasOwnProperty.call(value, "current");
4528
4272
  }
@@ -4536,14 +4280,15 @@ var arrow2 = (options) => {
4536
4280
  } = typeof options === "function" ? options(state) : options;
4537
4281
  if (element && isRef(element)) {
4538
4282
  if (element.current != null) {
4539
- return arrow({
4283
+ return arrow2({
4540
4284
  element: element.current,
4541
4285
  padding
4542
4286
  }).fn(state);
4543
4287
  }
4544
4288
  return {};
4545
- } else if (element) {
4546
- return arrow({
4289
+ }
4290
+ if (element) {
4291
+ return arrow2({
4547
4292
  element,
4548
4293
  padding
4549
4294
  }).fn(state);
@@ -4563,11 +4308,13 @@ function deepEqual(a, b) {
4563
4308
  if (typeof a === "function" && a.toString() === b.toString()) {
4564
4309
  return true;
4565
4310
  }
4566
- let length, i, keys;
4567
- if (a && b && typeof a == "object") {
4311
+ let length;
4312
+ let i;
4313
+ let keys;
4314
+ if (a && b && typeof a === "object") {
4568
4315
  if (Array.isArray(a)) {
4569
4316
  length = a.length;
4570
- if (length != b.length)
4317
+ if (length !== b.length)
4571
4318
  return false;
4572
4319
  for (i = length; i-- !== 0; ) {
4573
4320
  if (!deepEqual(a[i], b[i])) {
@@ -4611,7 +4358,7 @@ function roundByDPR(element, value) {
4611
4358
  return Math.round(value * dpr) / dpr;
4612
4359
  }
4613
4360
  function useLatestRef(value) {
4614
- const ref = React15.useRef(value);
4361
+ const ref = React14.useRef(value);
4615
4362
  index(() => {
4616
4363
  ref.current = value;
4617
4364
  });
@@ -4634,7 +4381,7 @@ function useFloating(options) {
4634
4381
  whileElementsMounted,
4635
4382
  open
4636
4383
  } = options;
4637
- const [data, setData] = React15.useState({
4384
+ const [data, setData] = React14.useState({
4638
4385
  x: 0,
4639
4386
  y: 0,
4640
4387
  strategy,
@@ -4642,32 +4389,33 @@ function useFloating(options) {
4642
4389
  middlewareData: {},
4643
4390
  isPositioned: false
4644
4391
  });
4645
- const [latestMiddleware, setLatestMiddleware] = React15.useState(middleware);
4392
+ const [latestMiddleware, setLatestMiddleware] = React14.useState(middleware);
4646
4393
  if (!deepEqual(latestMiddleware, middleware)) {
4647
4394
  setLatestMiddleware(middleware);
4648
4395
  }
4649
- const [_reference, _setReference] = React15.useState(null);
4650
- const [_floating, _setFloating] = React15.useState(null);
4651
- const setReference = React15.useCallback((node) => {
4652
- if (node != referenceRef.current) {
4396
+ const [_reference, _setReference] = React14.useState(null);
4397
+ const [_floating, _setFloating] = React14.useState(null);
4398
+ const setReference = React14.useCallback((node) => {
4399
+ if (node !== referenceRef.current) {
4653
4400
  referenceRef.current = node;
4654
4401
  _setReference(node);
4655
4402
  }
4656
- }, [_setReference]);
4657
- const setFloating = React15.useCallback((node) => {
4403
+ }, []);
4404
+ const setFloating = React14.useCallback((node) => {
4658
4405
  if (node !== floatingRef.current) {
4659
4406
  floatingRef.current = node;
4660
4407
  _setFloating(node);
4661
4408
  }
4662
- }, [_setFloating]);
4409
+ }, []);
4663
4410
  const referenceEl = externalReference || _reference;
4664
4411
  const floatingEl = externalFloating || _floating;
4665
- const referenceRef = React15.useRef(null);
4666
- const floatingRef = React15.useRef(null);
4667
- const dataRef = React15.useRef(data);
4412
+ const referenceRef = React14.useRef(null);
4413
+ const floatingRef = React14.useRef(null);
4414
+ const dataRef = React14.useRef(data);
4415
+ const hasWhileElementsMounted = whileElementsMounted != null;
4668
4416
  const whileElementsMountedRef = useLatestRef(whileElementsMounted);
4669
4417
  const platformRef = useLatestRef(platform2);
4670
- const update = React15.useCallback(() => {
4418
+ const update = React14.useCallback(() => {
4671
4419
  if (!referenceRef.current || !floatingRef.current) {
4672
4420
  return;
4673
4421
  }
@@ -4699,7 +4447,7 @@ function useFloating(options) {
4699
4447
  }));
4700
4448
  }
4701
4449
  }, [open]);
4702
- const isMountedRef = React15.useRef(false);
4450
+ const isMountedRef = React14.useRef(false);
4703
4451
  index(() => {
4704
4452
  isMountedRef.current = true;
4705
4453
  return () => {
@@ -4714,22 +4462,21 @@ function useFloating(options) {
4714
4462
  if (referenceEl && floatingEl) {
4715
4463
  if (whileElementsMountedRef.current) {
4716
4464
  return whileElementsMountedRef.current(referenceEl, floatingEl, update);
4717
- } else {
4718
- update();
4719
4465
  }
4466
+ update();
4720
4467
  }
4721
- }, [referenceEl, floatingEl, update, whileElementsMountedRef]);
4722
- const refs = React15.useMemo(() => ({
4468
+ }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);
4469
+ const refs = React14.useMemo(() => ({
4723
4470
  reference: referenceRef,
4724
4471
  floating: floatingRef,
4725
4472
  setReference,
4726
4473
  setFloating
4727
4474
  }), [setReference, setFloating]);
4728
- const elements = React15.useMemo(() => ({
4475
+ const elements = React14.useMemo(() => ({
4729
4476
  reference: referenceEl,
4730
4477
  floating: floatingEl
4731
4478
  }), [referenceEl, floatingEl]);
4732
- const floatingStyles = React15.useMemo(() => {
4479
+ const floatingStyles = React14.useMemo(() => {
4733
4480
  const initialStyles = {
4734
4481
  position: strategy,
4735
4482
  left: 0,
@@ -4753,7 +4500,7 @@ function useFloating(options) {
4753
4500
  top: y
4754
4501
  };
4755
4502
  }, [strategy, transform, elements.floating, data.x, data.y]);
4756
- return React15.useMemo(() => __spreadProps(__spreadValues({}, data), {
4503
+ return React14.useMemo(() => __spreadProps(__spreadValues({}, data), {
4757
4504
  update,
4758
4505
  refs,
4759
4506
  elements,
@@ -4764,7 +4511,7 @@ function useFloating(options) {
4764
4511
  // node_modules/@radix-ui/react-use-size/dist/index.mjs
4765
4512
  var import_react19 = require("react");
4766
4513
  function $db6c3485150b8e66$export$1ab7ae714698c4b8(element) {
4767
- const [size2, setSize] = (0, import_react19.useState)(void 0);
4514
+ const [size3, setSize] = (0, import_react19.useState)(void 0);
4768
4515
  $9f79659886946c16$export$e5c5a5f917a5871c(() => {
4769
4516
  if (element) {
4770
4517
  setSize({
@@ -4802,7 +4549,7 @@ function $db6c3485150b8e66$export$1ab7ae714698c4b8(element) {
4802
4549
  }, [
4803
4550
  element
4804
4551
  ]);
4805
- return size2;
4552
+ return size3;
4806
4553
  }
4807
4554
 
4808
4555
  // node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-popper/dist/index.mjs
@@ -4842,8 +4589,8 @@ var $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ (0, import_react2
4842
4589
  forwardedRef,
4843
4590
  (node) => setContent(node)
4844
4591
  );
4845
- const [arrow3, setArrow] = (0, import_react20.useState)(null);
4846
- const arrowSize = $db6c3485150b8e66$export$1ab7ae714698c4b8(arrow3);
4592
+ const [arrow4, setArrow] = (0, import_react20.useState)(null);
4593
+ const arrowSize = $db6c3485150b8e66$export$1ab7ae714698c4b8(arrow4);
4847
4594
  const arrowWidth = (_arrowSize$width = arrowSize === null || arrowSize === void 0 ? void 0 : arrowSize.width) !== null && _arrowSize$width !== void 0 ? _arrowSize$width : 0;
4848
4595
  const arrowHeight = (_arrowSize$height = arrowSize === null || arrowSize === void 0 ? void 0 : arrowSize.height) !== null && _arrowSize$height !== void 0 ? _arrowSize$height : 0;
4849
4596
  const desiredPlacement = side + (align !== "center" ? "-" + align : "");
@@ -4876,13 +4623,13 @@ var $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ (0, import_react2
4876
4623
  mainAxis: sideOffset + arrowHeight,
4877
4624
  alignmentAxis: alignOffset
4878
4625
  }),
4879
- avoidCollisions && shift(__spreadValues({
4626
+ avoidCollisions && shift2(__spreadValues({
4880
4627
  mainAxis: true,
4881
4628
  crossAxis: false,
4882
- limiter: sticky === "partial" ? limitShift() : void 0
4629
+ limiter: sticky === "partial" ? limitShift2() : void 0
4883
4630
  }, detectOverflowOptions)),
4884
- avoidCollisions && flip(__spreadValues({}, detectOverflowOptions)),
4885
- size(__spreadProps(__spreadValues({}, detectOverflowOptions), {
4631
+ avoidCollisions && flip2(__spreadValues({}, detectOverflowOptions)),
4632
+ size2(__spreadProps(__spreadValues({}, detectOverflowOptions), {
4886
4633
  apply: ({ elements, rects, availableWidth, availableHeight }) => {
4887
4634
  const { width: anchorWidth, height: anchorHeight } = rects.reference;
4888
4635
  const contentStyle = elements.floating.style;
@@ -4892,15 +4639,15 @@ var $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ (0, import_react2
4892
4639
  contentStyle.setProperty("--radix-popper-anchor-height", `${anchorHeight}px`);
4893
4640
  }
4894
4641
  })),
4895
- arrow3 && arrow2({
4896
- element: arrow3,
4642
+ arrow4 && arrow3({
4643
+ element: arrow4,
4897
4644
  padding: arrowPadding
4898
4645
  }),
4899
4646
  $cf1ac5d9fe0e8206$var$transformOrigin({
4900
4647
  arrowWidth,
4901
4648
  arrowHeight
4902
4649
  }),
4903
- hideWhenDetached && hide({
4650
+ hideWhenDetached && hide2({
4904
4651
  strategy: "referenceHidden"
4905
4652
  })
4906
4653
  ]
@@ -5317,12 +5064,34 @@ function useCallbackRef(initialValue, callback) {
5317
5064
  }
5318
5065
 
5319
5066
  // node_modules/use-callback-ref/dist/es2015/useMergeRef.js
5067
+ var React15 = __toESM(require("react"));
5068
+ var currentValues = /* @__PURE__ */ new WeakMap();
5320
5069
  function useMergeRefs(refs, defaultValue) {
5321
- return useCallbackRef(defaultValue || null, function(newValue) {
5070
+ var callbackRef = useCallbackRef(defaultValue || null, function(newValue) {
5322
5071
  return refs.forEach(function(ref) {
5323
5072
  return assignRef(ref, newValue);
5324
5073
  });
5325
5074
  });
5075
+ React15.useLayoutEffect(function() {
5076
+ var oldValue = currentValues.get(callbackRef);
5077
+ if (oldValue) {
5078
+ var prevRefs_1 = new Set(oldValue);
5079
+ var nextRefs_1 = new Set(refs);
5080
+ var current_1 = callbackRef.current;
5081
+ prevRefs_1.forEach(function(ref) {
5082
+ if (!nextRefs_1.has(ref)) {
5083
+ assignRef(ref, null);
5084
+ }
5085
+ });
5086
+ nextRefs_1.forEach(function(ref) {
5087
+ if (!prevRefs_1.has(ref)) {
5088
+ assignRef(ref, current_1);
5089
+ }
5090
+ });
5091
+ }
5092
+ currentValues.set(callbackRef, refs);
5093
+ }, [refs]);
5094
+ return callbackRef;
5326
5095
  }
5327
5096
 
5328
5097
  // node_modules/use-sidecar/dist/es2015/medium.js
@@ -6874,18 +6643,17 @@ var $cc7e05a45900e73f$export$d6e5bf9c43ea9319 = $cc7e05a45900e73f$export$3572fb0
6874
6643
  var $cc7e05a45900e73f$export$1ff3c3f08ae963c0 = $cc7e05a45900e73f$export$eba4b1df07cb1d3;
6875
6644
 
6876
6645
  // src/components/Select/index.tsx
6877
- var import_class_variance_authority13 = require("class-variance-authority");
6878
- var ScrollArea = __toESM(require("@radix-ui/react-scroll-area"));
6879
- var import_jsx_runtime32 = require("react/jsx-runtime");
6646
+ var import_class_variance_authority14 = require("class-variance-authority");
6647
+ var ScrollArea2 = __toESM(require("@radix-ui/react-scroll-area"));
6648
+ var import_jsx_runtime17 = require("react/jsx-runtime");
6880
6649
  var Select = $cc7e05a45900e73f$export$be92b6f5f03c0fe9;
6881
6650
  var SelectGroup = $cc7e05a45900e73f$export$eb2fcfdbd7ba97d4;
6882
6651
  var SelectValue = $cc7e05a45900e73f$export$4c8d1a57a761ef94;
6883
6652
  var SelectPortal = $cc7e05a45900e73f$export$602eac185826482c;
6884
- var triggerVariants = (0, import_class_variance_authority13.cva)(
6653
+ var triggerVariants = (0, import_class_variance_authority14.cva)(
6885
6654
  [
6886
6655
  [
6887
6656
  "flex",
6888
- "h-10",
6889
6657
  "w-full",
6890
6658
  "border border-[2px]",
6891
6659
  "text-foreground",
@@ -6908,13 +6676,15 @@ var triggerVariants = (0, import_class_variance_authority13.cva)(
6908
6676
  default: [
6909
6677
  "text-foreground",
6910
6678
  "border-border-subtle",
6679
+ "bg-grey-100",
6911
6680
  "hover:border-border-hover",
6912
6681
  "hover:text-foreground",
6913
- "focus-visible:shadow-blue",
6682
+ "focus-visible:shadow-brandGreen",
6914
6683
  "dark:bg-background-alt-dark",
6915
6684
  "dark:border-border-subtle-dark",
6916
6685
  "dark:text-foreground-muted-dark",
6917
- "data-[placeholder]:text-foreground-muted"
6686
+ "data-[placeholder]:text-foreground-muted",
6687
+ "dark:focus-visible:shadow-brandGreen-10"
6918
6688
  ],
6919
6689
  error: [
6920
6690
  "bg-red-50",
@@ -6930,30 +6700,35 @@ var triggerVariants = (0, import_class_variance_authority13.cva)(
6930
6700
  "focus-visible:shadow-green",
6931
6701
  "text-green-700"
6932
6702
  ]
6703
+ },
6704
+ size: {
6705
+ sm: ["h-[37px]"],
6706
+ lg: ["h-[42px]"]
6933
6707
  }
6934
6708
  },
6935
6709
  defaultVariants: {
6936
- variant: "default"
6710
+ variant: "default",
6711
+ size: "sm"
6937
6712
  }
6938
6713
  }
6939
6714
  );
6940
6715
  var SelectTrigger = React22.forwardRef((_a, ref) => {
6941
- var _b = _a, { variant, className, children } = _b, props = __objRest(_b, ["variant", "className", "children"]);
6942
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
6716
+ var _b = _a, { variant, size: size3, className, children } = _b, props = __objRest(_b, ["variant", "size", "className", "children"]);
6717
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
6943
6718
  $cc7e05a45900e73f$export$41fb9f06171c75f4,
6944
6719
  __spreadProps(__spreadValues({
6945
6720
  ref,
6946
- className: cn(triggerVariants({ variant }), className)
6721
+ className: cn(triggerVariants({ variant, size: size3 }), className)
6947
6722
  }, props), {
6948
6723
  children: [
6949
6724
  children,
6950
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)($cc7e05a45900e73f$export$f04a61298a47a40f, { asChild: true, className: "ml-1", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(AngleDownIcon, { className: "h-2 w-2" }) })
6725
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)($cc7e05a45900e73f$export$f04a61298a47a40f, { asChild: true, className: "ml-6", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(assets_exports.BsChevronDown, { className: "h-2 w-2" }) })
6951
6726
  ]
6952
6727
  })
6953
6728
  );
6954
6729
  });
6955
6730
  SelectTrigger.displayName = $cc7e05a45900e73f$export$41fb9f06171c75f4.displayName;
6956
- var contentVariants = (0, import_class_variance_authority13.cva)([
6731
+ var contentVariants = (0, import_class_variance_authority14.cva)([
6957
6732
  "relative",
6958
6733
  "z-50",
6959
6734
  "min-w-[8rem]",
@@ -6973,7 +6748,7 @@ var contentVariants = (0, import_class_variance_authority13.cva)([
6973
6748
  ]);
6974
6749
  var SelectContent = React22.forwardRef((_a, ref) => {
6975
6750
  var _b = _a, { className, children, position = "popper" } = _b, props = __objRest(_b, ["className", "children", "position"]);
6976
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)($cc7e05a45900e73f$export$602eac185826482c, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6751
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)($cc7e05a45900e73f$export$602eac185826482c, { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
6977
6752
  $cc7e05a45900e73f$export$7c6e2c02157bb7d2,
6978
6753
  __spreadProps(__spreadValues({
6979
6754
  ref,
@@ -6984,8 +6759,8 @@ var SelectContent = React22.forwardRef((_a, ref) => {
6984
6759
  ),
6985
6760
  position
6986
6761
  }, props), {
6987
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(ScrollArea.Root, { className: "w-full h-full", type: "auto", children: [
6988
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6762
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(ScrollArea2.Root, { className: "w-full h-full", type: "auto", children: [
6763
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
6989
6764
  $cc7e05a45900e73f$export$d5c6c08dc2d3ca7,
6990
6765
  {
6991
6766
  asChild: true,
@@ -6993,10 +6768,10 @@ var SelectContent = React22.forwardRef((_a, ref) => {
6993
6768
  "p-1",
6994
6769
  position === "popper" && "max-h-[var(--radix-select-content-available-height)] w-full min-w-[var(--radix-select-trigger-width)]"
6995
6770
  ),
6996
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ScrollArea.Viewport, { className: "w-full h-full", children })
6771
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ScrollArea2.Viewport, { className: "w-full h-full", children })
6997
6772
  }
6998
6773
  ),
6999
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ScrollArea.Scrollbar, { orientation: "vertical", className: "w-3 pr-1 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ScrollArea.Thumb, { className: "bg-grey-200 w-2 rounded-lg" }) })
6774
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ScrollArea2.Scrollbar, { orientation: "vertical", className: "w-3 pr-1 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ScrollArea2.Thumb, { className: "bg-grey-200 w-2 rounded-lg" }) })
7000
6775
  ] })
7001
6776
  })
7002
6777
  ) });
@@ -7004,7 +6779,7 @@ var SelectContent = React22.forwardRef((_a, ref) => {
7004
6779
  SelectContent.displayName = $cc7e05a45900e73f$export$7c6e2c02157bb7d2.displayName;
7005
6780
  var SelectLabel = React22.forwardRef((_a, ref) => {
7006
6781
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
7007
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6782
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
7008
6783
  $cc7e05a45900e73f$export$b04be29aa201d4f5,
7009
6784
  __spreadValues({
7010
6785
  ref,
@@ -7013,7 +6788,7 @@ var SelectLabel = React22.forwardRef((_a, ref) => {
7013
6788
  );
7014
6789
  });
7015
6790
  SelectLabel.displayName = $cc7e05a45900e73f$export$b04be29aa201d4f5.displayName;
7016
- var itemVariants = (0, import_class_variance_authority13.cva)([
6791
+ var itemVariants = (0, import_class_variance_authority14.cva)([
7017
6792
  [
7018
6793
  "relative",
7019
6794
  "flex",
@@ -7028,26 +6803,29 @@ var itemVariants = (0, import_class_variance_authority13.cva)([
7028
6803
  "data-[disabled]:pointer-events-none",
7029
6804
  "data-[disabled]:opacity-50",
7030
6805
  "hover:bg-background-alt",
7031
- "focus-visible:shadow-blue"
6806
+ "focus-visible:shadow-brandGreen"
7032
6807
  ],
7033
- ["dark:focus-visible:shadow-blue", "dark:hover:bg-background-alt-dark"]
6808
+ [
6809
+ "dark:focus-visible:shadow-brandGreen-10",
6810
+ "dark:hover:bg-background-alt-dark"
6811
+ ]
7034
6812
  ]);
7035
6813
  var SelectItem = React22.forwardRef((_a, ref) => {
7036
6814
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
7037
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6815
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
7038
6816
  $cc7e05a45900e73f$export$6d08773d2e66f8f2,
7039
6817
  __spreadProps(__spreadValues({
7040
6818
  ref,
7041
6819
  className: cn(itemVariants(), className)
7042
6820
  }, props), {
7043
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)($cc7e05a45900e73f$export$d6e5bf9c43ea9319, { children })
6821
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)($cc7e05a45900e73f$export$d6e5bf9c43ea9319, { children })
7044
6822
  })
7045
6823
  );
7046
6824
  });
7047
6825
  SelectItem.displayName = $cc7e05a45900e73f$export$6d08773d2e66f8f2.displayName;
7048
6826
  var SelectSeparator = React22.forwardRef((_a, ref) => {
7049
6827
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
7050
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6828
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
7051
6829
  $cc7e05a45900e73f$export$1ff3c3f08ae963c0,
7052
6830
  __spreadValues({
7053
6831
  ref,
@@ -7060,262 +6838,358 @@ var SelectSeparator = React22.forwardRef((_a, ref) => {
7060
6838
  });
7061
6839
  SelectSeparator.displayName = $cc7e05a45900e73f$export$1ff3c3f08ae963c0.displayName;
7062
6840
 
7063
- // src/components/Popover/index.tsx
6841
+ // src/components/Switch/index.tsx
7064
6842
  var React23 = __toESM(require("react"));
7065
- var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
7066
- var import_class_variance_authority14 = require("class-variance-authority");
7067
- var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
7068
- var ScrollArea2 = __toESM(require("@radix-ui/react-scroll-area"));
7069
- var import_jsx_runtime33 = require("react/jsx-runtime");
7070
- var popoverVariants = (0, import_class_variance_authority14.cva)([
7071
- "z-50",
7072
- "border border-2 border-border-subtle dark:border-border-dark",
7073
- "rounded-lg",
7074
- "bg-background dark:bg-background-dark",
7075
- "text-foreground text-sm font-normal dark:text-white",
7076
- "shadow",
7077
- "outline-none",
7078
- "overflow-scroll"
7079
- ]);
7080
- var Popover = PopoverPrimitive.Root;
7081
- var PopoverTrigger = PopoverPrimitive.Trigger;
7082
- var PopoverClose = PopoverPrimitive.Close;
7083
- var PopoverContent = React23.forwardRef(
7084
- (_a, ref) => {
7085
- var _b = _a, { className, align = "center", sideOffset = 4, children } = _b, props = __objRest(_b, ["className", "align", "sideOffset", "children"]);
7086
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
7087
- PopoverPrimitive.Content,
7088
- __spreadProps(__spreadValues({
7089
- ref,
7090
- align,
7091
- sideOffset,
7092
- className: cn(popoverVariants(), className)
7093
- }, props), {
7094
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(ScrollArea2.Root, { className: "w-full h-full", type: "auto", children: [
7095
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ScrollArea2.Viewport, { className: "w-full h-full", children }),
7096
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
7097
- ScrollArea2.Scrollbar,
7098
- {
7099
- orientation: "vertical",
7100
- className: "w-3 pr-1 py-2",
7101
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ScrollArea2.Thumb, { className: "bg-grey-200 w-2 rounded-lg" })
7102
- }
7103
- )
7104
- ] })
7105
- })
7106
- ) });
7107
- }
7108
- );
7109
- PopoverContent.displayName = PopoverPrimitive.Content.displayName;
7110
- var PopoverSeparator = React23.forwardRef((_a, ref) => {
7111
- var _b = _a, { className, orientation = "horizontal" } = _b, props = __objRest(_b, ["className", "orientation"]);
7112
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
7113
- SeparatorPrimitive.Root,
7114
- __spreadValues({
7115
- ref,
7116
- decorative: true,
7117
- orientation,
7118
- className: cn(
7119
- "shrink-0 bg-border-subtle dark:bg-border-dark",
7120
- orientation === "horizontal" ? "h-[1px] w-fill" : "h-fill w-[1px]",
7121
- className
7122
- )
7123
- }, props)
7124
- ) });
7125
- });
7126
- PopoverSeparator.displayName = SeparatorPrimitive.Root.displayName;
7127
-
7128
- // src/components/Calendar/index.tsx
7129
- var import_react_day_picker = require("react-day-picker");
6843
+ var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"));
7130
6844
  var import_class_variance_authority15 = require("class-variance-authority");
7131
- var import_jsx_runtime34 = require("react/jsx-runtime");
7132
- var calendarVariants = (0, import_class_variance_authority15.cva)([], {
7133
- variants: {
7134
- component: {
7135
- months: ["flex", "flex-col", "gap-2"],
7136
- month: ["flex", "flex-col", "gap-2"],
7137
- caption: ["flex justify-center py-0.5 relative items-center"],
7138
- caption_label: ["text-sm", "font-medium"],
7139
- nav: ["h-7", "bg-transparent", "dark:text-foreground-muted-dark"],
7140
- nav_button: ["h-7", "w-7", "bg-transparent", "p-0"],
7141
- head_cell: [
7142
- "text-foreground-muted",
7143
- "dark:text-foreground-muted-dark",
7144
- "px-1",
7145
- "py-2",
7146
- "w-9",
7147
- "font-semibold",
7148
- "text-xs",
7149
- "h-[34px]"
7150
- ],
7151
- cell: [
7152
- [
7153
- "overflow-none",
7154
- "w-9",
7155
- "p-0",
7156
- "flex",
7157
- "flex-col",
7158
- "items-center",
7159
- "text-center",
7160
- "gap-1",
7161
- "text-sm",
7162
- "relative"
7163
- ],
7164
- [
7165
- "focus-within:relative",
7166
- "focus-within:z-20",
7167
- "focus-visible:shadow-blue"
7168
- ]
7169
- ],
7170
- day: cn([
7171
- "aria-selected:bg-accent",
7172
- "rounded-lg",
7173
- "dark:aria-selected:bg-blue-400",
7174
- "px-1",
7175
- "w-full",
7176
- "py-2",
7177
- "h-[34px]",
7178
- "flex",
7179
- "flex-col",
7180
- "text-sm",
7181
- "font-bold",
7182
- "aria-selected:opacity-100",
7183
- "items-center",
7184
- "shrink-0",
7185
- "focus-visible:shadow-blue",
7186
- "outline-none"
7187
- ]),
7188
- day_selected: ["text-foreground-inverse"],
7189
- day_outside: [
7190
- "day-outside",
7191
- "text-muted-foreground",
7192
- "opacity-50 aria-selected:bg-accent-alt"
7193
- ]
7194
- }
7195
- }
7196
- });
7197
- function Calendar(_a) {
7198
- var _b = _a, {
7199
- className,
7200
- classNames,
7201
- showOutsideDays = true
7202
- } = _b, props = __objRest(_b, [
7203
- "className",
7204
- "classNames",
7205
- "showOutsideDays"
7206
- ]);
7207
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
7208
- import_react_day_picker.DayPicker,
7209
- __spreadValues({
7210
- showOutsideDays,
7211
- className: cn(
7212
- "p-4 rounded-lg bg-background-alt dark:bg-background-alt-dark dark:text-foreground-inverse shadow-[0_4px_6px_0px_rgba(0,0,0,0.08)] flex [&>*]:flex-row",
7213
- className
7214
- ),
7215
- classNames: __spreadValues({
7216
- months: calendarVariants({ component: "months" }),
7217
- month: calendarVariants({ component: "months" }),
7218
- caption: calendarVariants({ component: "caption" }),
7219
- caption_label: calendarVariants({ component: "caption_label" }),
7220
- nav: calendarVariants({ component: "nav" }),
7221
- nav_button: calendarVariants({ component: "nav_button" }),
7222
- nav_button_previous: "absolute left-1",
7223
- nav_button_next: "absolute right-0",
7224
- table: "w-full border-collapse space-y-0",
7225
- head_row: "flex",
7226
- head_cell: calendarVariants({ component: "head_cell" }),
7227
- row: "flex w-full",
7228
- cell: calendarVariants({ component: "cell" }),
7229
- day: calendarVariants({ component: "day" }),
7230
- day_range_end: "day-range-end bg-accent dark:bg-blue-[400] rounded-r-full",
7231
- day_range_start: "day-range-start rounded-l-full bg-accent dark:bg-blue-[400] text-foreground-inverse",
7232
- day_selected: calendarVariants({ component: "day_selected" }),
7233
- day_outside: calendarVariants({ component: "day_outside" }),
7234
- day_disabled: "text-muted-foreground opacity-50",
7235
- day_range_middle: "day-range-middle aria-selected:bg-accent-alt dark:aria-selected:bg-accent-alt rounded-none bg-grey-400 text-grey-900",
7236
- day_hidden: "invisible"
7237
- }, classNames),
7238
- components: {
7239
- IconLeft: () => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(arrow_left_icon_default, { className: "h-5 w-5 fill-current stroke-current" }),
7240
- IconRight: () => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(arrow_right_icon_default, { className: "h-5 w-5 fill-current stroke-current" })
7241
- }
7242
- }, props)
7243
- );
7244
- }
7245
- Calendar.displayName = "Calendar";
7246
-
7247
- // src/components/Accordion/index.tsx
7248
- var React24 = __toESM(require("react"));
7249
- var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
7250
- var import_jsx_runtime35 = require("react/jsx-runtime");
7251
- var Accordion = React24.forwardRef((_a, ref) => {
7252
- var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
7253
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
7254
- AccordionPrimitive.Root,
6845
+ var import_jsx_runtime18 = require("react/jsx-runtime");
6846
+ var switchVariants = (0, import_class_variance_authority15.cva)([
6847
+ [
6848
+ "peer",
6849
+ "inline-flex",
6850
+ "h-5",
6851
+ "py-0.5",
6852
+ "w-10",
6853
+ "gap-[8px]",
6854
+ "shrink-0",
6855
+ "cursor-pointer",
6856
+ "items-center",
6857
+ "rounded-full",
6858
+ "border-none",
6859
+ "transition-colors ",
6860
+ "focus-visible:outline-none",
6861
+ "focus-visible:shadow-brandGreen",
6862
+ "disabled:cursor-not-allowed"
6863
+ ],
6864
+ [
6865
+ "dark:enabled:data-[state=checked]:bg-accent-dark",
6866
+ "dark:enabled:bg-foreground-subtle-dark",
6867
+ "dark:disabled:bg-grey-200",
6868
+ "dark:focus-visible:shadow-brandGreen-10"
6869
+ ],
6870
+ [
6871
+ "enabled:data-[state=checked]:bg-accent",
6872
+ "enabled:bg-foreground-subtle",
6873
+ "disabled:bg-grey-200"
6874
+ ]
6875
+ ]);
6876
+ var Switch = React23.forwardRef((_a, ref) => {
6877
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6878
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6879
+ SwitchPrimitives.Root,
7255
6880
  __spreadProps(__spreadValues({
7256
- className: cn("dark:bg-grey-900 bg-white px-5 w-[300px] rounded-md shadow-[0_2px_10px] shadow-black/5", className)
6881
+ className: cn(switchVariants(), className)
7257
6882
  }, props), {
7258
6883
  ref,
7259
- children
6884
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6885
+ SwitchPrimitives.Thumb,
6886
+ {
6887
+ className: cn([
6888
+ "pointer-events-none",
6889
+ "block",
6890
+ "h-4",
6891
+ "w-4",
6892
+ "rounded-full",
6893
+ "bg-background",
6894
+ "ring-0",
6895
+ "transition-transform ",
6896
+ "data-[state=checked]:translate-x-[22px]",
6897
+ "data-[state=unchecked]:translate-x-[2px]",
6898
+ "data-[disabled]:bg-grey-300",
6899
+ "dark:bg-black",
6900
+ "dark:data-[disabled]:bg-grey-300"
6901
+ ])
6902
+ }
6903
+ )
7260
6904
  })
7261
6905
  );
7262
6906
  });
7263
- Accordion.displayName = AccordionPrimitive.Root.displayName;
7264
- var AccordionItem = React24.forwardRef((_a, ref) => {
7265
- var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
7266
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
7267
- AccordionPrimitive.Item,
7268
- __spreadProps(__spreadValues({
7269
- className: cn("overflow-hidden first:mt-0 first:rounded-t last:rounded-b border-b border-grey-200 dark:border-grey-700 last:border-0", className)
7270
- }, props), {
6907
+ Switch.displayName = SwitchPrimitives.Root.displayName;
6908
+
6909
+ // src/components/Table/index.tsx
6910
+ var React24 = __toESM(require("react"));
6911
+ var import_class_variance_authority16 = require("class-variance-authority");
6912
+ var import_jsx_runtime19 = require("react/jsx-runtime");
6913
+ var tableBodyVariants = (0, import_class_variance_authority16.cva)("bg-background dark:bg-grey-900", {
6914
+ variants: {
6915
+ variant: {
6916
+ zebra: [
6917
+ "[&>*:nth-child(even)]:bg-background-subtle",
6918
+ "dark:[&>*:nth-child(even)]:bg-background-subtle-dark"
6919
+ ]
6920
+ }
6921
+ }
6922
+ });
6923
+ var Table = React24.forwardRef((_a, ref) => {
6924
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6925
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6926
+ "table",
6927
+ __spreadValues({
7271
6928
  ref,
7272
- children
7273
- })
6929
+ className: cn("caption-bottom text-sm dark:text-white", className)
6930
+ }, props)
6931
+ ) });
6932
+ });
6933
+ Table.displayName = "Table";
6934
+ var TableHeader = React24.forwardRef((_a, ref) => {
6935
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6936
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6937
+ "thead",
6938
+ __spreadValues({
6939
+ ref,
6940
+ className: cn(
6941
+ "bg-background-subtle dark:bg-background-subtle-dark text-left",
6942
+ className
6943
+ )
6944
+ }, props)
7274
6945
  );
7275
6946
  });
7276
- AccordionItem.displayName = AccordionPrimitive.Item.displayName;
7277
- var AccordionHeader = React24.forwardRef((_a, ref) => {
7278
- var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
7279
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
7280
- AccordionPrimitive.Header,
7281
- __spreadProps(__spreadValues({
7282
- className: cn("flex", className)
7283
- }, props), {
6947
+ TableHeader.displayName = "TableHeader";
6948
+ var TableHead = React24.forwardRef((_a, ref) => {
6949
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6950
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6951
+ "th",
6952
+ __spreadValues({
7284
6953
  ref,
7285
- children
7286
- })
6954
+ className: cn("px-4 py-5 leading-[21px] font-bold", className)
6955
+ }, props)
7287
6956
  );
7288
6957
  });
7289
- AccordionHeader.displayName = AccordionPrimitive.Header.displayName;
7290
- var AccordionTrigger = React24.forwardRef((_a, ref) => {
7291
- var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
7292
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(AccordionHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
7293
- AccordionPrimitive.Trigger,
7294
- __spreadProps(__spreadValues({
7295
- className: cn("dark:bg-grey-900 dark:text-white group flex h-[45px] flex-1 cursor-default items-center justify-between bg-white text-[15px] leading-none", className)
7296
- }, props), {
6958
+ TableHead.displayName = "TableHead";
6959
+ var TableBody = React24.forwardRef(
6960
+ (_a, ref) => {
6961
+ var _b = _a, { className, variant } = _b, props = __objRest(_b, ["className", "variant"]);
6962
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6963
+ "tbody",
6964
+ __spreadValues({
6965
+ ref,
6966
+ className: cn(tableBodyVariants({ variant }), className)
6967
+ }, props)
6968
+ );
6969
+ }
6970
+ );
6971
+ TableBody.displayName = "TableBody";
6972
+ var TableRow = React24.forwardRef((_a, ref) => {
6973
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6974
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6975
+ "tr",
6976
+ __spreadValues({
7297
6977
  ref,
7298
- children: [
7299
- children,
7300
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(AngleDownIcon, { className: "ease-[cubic-bezier(0.87,_0,_0.13,_1)] transition-transform duration-300 group-data-[state=open]:rotate-180 w-3 h-3 text-gray-800", "aria-hidden": true })
7301
- ]
7302
- })
7303
- ) });
6978
+ className: cn(
6979
+ "h-[50px] border-b-[1px] border-accent-alt dark:border-grey-500 self-stretch items-center gap-2 font-normal text-left",
6980
+ className
6981
+ )
6982
+ }, props)
6983
+ );
7304
6984
  });
7305
- AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
7306
- var AccordionContent = React24.forwardRef((_a, ref) => {
7307
- var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
7308
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
7309
- AccordionPrimitive.Content,
7310
- __spreadProps(__spreadValues({
7311
- className: cn("dark:text-white data-[state=open]:animate-slideDown data-[state=closed]:animate-slideUp overflow-hidden text-[15px]", className)
7312
- }, props), {
6985
+ TableRow.displayName = "TableRow";
6986
+ var TableCell = React24.forwardRef((_a, ref) => {
6987
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6988
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("td", __spreadValues({ ref, className: cn("p-4", className) }, props));
6989
+ });
6990
+ TableCell.displayName = "TableCell";
6991
+ var TableCaption = React24.forwardRef((_a, ref) => {
6992
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6993
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("caption", __spreadValues({ ref, className: cn("mt-4", className) }, props));
6994
+ });
6995
+ TableCaption.displayName = "TableCaption";
6996
+ var TableFooter = React24.forwardRef((_a, ref) => {
6997
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6998
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6999
+ "tfoot",
7000
+ __spreadValues({
7313
7001
  ref,
7314
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "py-[15px]", children })
7315
- })
7002
+ className: cn("bg-primary text-primary-foreground", className)
7003
+ }, props)
7316
7004
  );
7317
7005
  });
7318
- AccordionContent.displayName = AccordionPrimitive.Content.displayName;
7006
+ TableFooter.displayName = "TableFooter";
7007
+
7008
+ // src/components/Tooltip/index.tsx
7009
+ var React25 = __toESM(require("react"));
7010
+ var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
7011
+ var import_class_variance_authority17 = require("class-variance-authority");
7012
+ var import_jsx_runtime20 = require("react/jsx-runtime");
7013
+ var tooltipVariants = (0, import_class_variance_authority17.cva)([
7014
+ [
7015
+ "fill-accent",
7016
+ "bg-accent",
7017
+ "z-50",
7018
+ "overflow-hidden",
7019
+ "rounded",
7020
+ "p-2",
7021
+ "text-xs",
7022
+ "text-center",
7023
+ "text-foreground-inverse",
7024
+ "font-semibold"
7025
+ ],
7026
+ [
7027
+ "dark:text-foreground-inverse-dark",
7028
+ "dark:bg-accent-dark",
7029
+ "dark:fill-accent-dark"
7030
+ ]
7031
+ ]);
7032
+ var Tooltip = React25.forwardRef(({ children, side, content, sideOffset }, ref) => {
7033
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(TooltipPrimitive.Provider, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(TooltipPrimitive.Root, { delayDuration: 100, children: [
7034
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(TooltipPrimitive.Trigger, { children }),
7035
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
7036
+ TooltipPrimitive.Content,
7037
+ {
7038
+ side: side != null ? side : "top",
7039
+ sideOffset: sideOffset != null ? sideOffset : 4,
7040
+ className: cn(tooltipVariants()),
7041
+ ref,
7042
+ children: [
7043
+ content,
7044
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(TooltipPrimitive.Arrow, { className: "fill-inherit" })
7045
+ ]
7046
+ }
7047
+ )
7048
+ ] }) });
7049
+ });
7050
+
7051
+ // src/components/WebsiteFooter/index.tsx
7052
+ var import_class_variance_authority18 = require("class-variance-authority");
7053
+ var import_react27 = __toESM(require("react"));
7054
+ var import_jsx_runtime21 = require("react/jsx-runtime");
7055
+ var websiteFooterVariants = (0, import_class_variance_authority18.cva)(
7056
+ ["flex", "flex-col", "w-full", "items-center", "px-16", "py-4"],
7057
+ {
7058
+ variants: {
7059
+ size: {
7060
+ standard: ["sm:[&>div]:flex-row", "[&>div]:flex-col"],
7061
+ sm: [
7062
+ "[&>div]:flex-col",
7063
+ "[&>div]:items-center",
7064
+ "[&>div]:[&>div]:items-center"
7065
+ ]
7066
+ }
7067
+ },
7068
+ defaultVariants: { size: "standard" }
7069
+ }
7070
+ );
7071
+ var footerStatementVariants = (0, import_class_variance_authority18.cva)(
7072
+ [
7073
+ "flex",
7074
+ "flex-col",
7075
+ "gap-1",
7076
+ "items-center",
7077
+ "text-foreground-subtle",
7078
+ "py-4",
7079
+ "text-sm"
7080
+ ],
7081
+ {
7082
+ variants: {
7083
+ size: {
7084
+ standard: ["sm:py-8", "sm:text-base"],
7085
+ sm: []
7086
+ }
7087
+ },
7088
+ defaultVariants: { size: "standard" }
7089
+ }
7090
+ );
7091
+ var linkRowVariants = (0, import_class_variance_authority18.cva)([
7092
+ "flex",
7093
+ "w-full",
7094
+ "justify-between",
7095
+ "[&>div]:text-xl",
7096
+ "[&>*]:font-normal",
7097
+ "[&>*]:text-sm"
7098
+ ]);
7099
+ var linkColumnVariants = (0, import_class_variance_authority18.cva)(
7100
+ [
7101
+ "flex",
7102
+ "flex-col",
7103
+ "px-8",
7104
+ "pb-6",
7105
+ "gap-2",
7106
+ "dark:text-white",
7107
+ "[&>div]:font-semibold",
7108
+ "[&>div]:mb-2",
7109
+ "[&>div]:text-xl",
7110
+ "[&>*]:font-normal",
7111
+ "[&>*]:text-sm",
7112
+ "items-center"
7113
+ ],
7114
+ {
7115
+ variants: {
7116
+ size: {
7117
+ lg: [
7118
+ "sm:gap-3",
7119
+ "sm:[&>div]:text-2xl",
7120
+ "sm:[&>*]:font-normal",
7121
+ "sm:[&>*]:text-sm",
7122
+ "sm:pb-0",
7123
+ "sm:items-start"
7124
+ ],
7125
+ md: ["sm:items-start", "sm:pb-0"],
7126
+ sm: []
7127
+ }
7128
+ },
7129
+ defaultVariants: {
7130
+ size: "lg"
7131
+ }
7132
+ }
7133
+ );
7134
+ var WebsiteFooter = import_react27.default.forwardRef(
7135
+ (_a, ref) => {
7136
+ var _b = _a, { className, size: size3 } = _b, props = __objRest(_b, ["className", "size"]);
7137
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
7138
+ "div",
7139
+ __spreadProps(__spreadValues({
7140
+ className: cn(websiteFooterVariants({ size: size3 }), className)
7141
+ }, props), {
7142
+ ref
7143
+ })
7144
+ );
7145
+ }
7146
+ );
7147
+ var FooterStatement = import_react27.default.forwardRef(
7148
+ (_a, ref) => {
7149
+ var _b = _a, { className, size: size3 } = _b, props = __objRest(_b, ["className", "size"]);
7150
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
7151
+ "div",
7152
+ __spreadProps(__spreadValues({
7153
+ className: cn(footerStatementVariants({ size: size3 }), className)
7154
+ }, props), {
7155
+ ref
7156
+ })
7157
+ ) });
7158
+ }
7159
+ );
7160
+ var LinkRow = import_react27.default.forwardRef(
7161
+ (_a, ref) => {
7162
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
7163
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
7164
+ "div",
7165
+ __spreadProps(__spreadValues({
7166
+ className: cn(linkRowVariants(), className)
7167
+ }, props), {
7168
+ ref
7169
+ })
7170
+ );
7171
+ }
7172
+ );
7173
+ var LinkColumn = import_react27.default.forwardRef(
7174
+ (_a, ref) => {
7175
+ var _b = _a, { className, size: size3, title, children } = _b, props = __objRest(_b, ["className", "size", "title", "children"]);
7176
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
7177
+ "div",
7178
+ __spreadProps(__spreadValues({
7179
+ className: cn(linkColumnVariants({ size: size3 }), className)
7180
+ }, props), {
7181
+ ref,
7182
+ children: [
7183
+ title && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { children: title }),
7184
+ children
7185
+ ]
7186
+ })
7187
+ );
7188
+ }
7189
+ );
7190
+
7191
+ // src/index.ts
7192
+ __reExport(src_exports, assets_exports, module.exports);
7319
7193
  // Annotate the CommonJS export names for ESM import in node:
7320
7194
  0 && (module.exports = {
7321
7195
  Accordion,
@@ -7323,27 +7197,18 @@ AccordionContent.displayName = AccordionPrimitive.Content.displayName;
7323
7197
  AccordionHeader,
7324
7198
  AccordionItem,
7325
7199
  AccordionTrigger,
7326
- AngleDownIcon,
7327
7200
  Button,
7328
7201
  ButtonGroup,
7329
7202
  Calendar,
7330
- CalendarIcon,
7331
- CheckIcon,
7332
7203
  Checkbox,
7333
- ChevronLeftOutlineIcon,
7334
- ChevronRightOutlineIcon,
7335
7204
  Chip,
7336
- CircleIcon,
7337
- CircleOutlineIcon,
7338
- CloseIcon,
7339
- CodeIcon,
7340
- FolderIcon,
7205
+ ControlLabel,
7341
7206
  FooterStatement,
7342
7207
  Input,
7343
7208
  Label,
7209
+ Link,
7344
7210
  LinkColumn,
7345
7211
  LinkRow,
7346
- MinusIcon,
7347
7212
  Modal,
7348
7213
  ModalClose,
7349
7214
  ModalCloseFooter,
@@ -7355,16 +7220,18 @@ AccordionContent.displayName = AccordionPrimitive.Content.displayName;
7355
7220
  ModalPortal,
7356
7221
  ModalTitle,
7357
7222
  ModalTrigger,
7223
+ OpenSourceIcon,
7358
7224
  Pagination,
7359
- PlusIcon,
7360
7225
  Popover,
7361
7226
  PopoverClose,
7362
7227
  PopoverContent,
7228
+ PopoverFooter,
7229
+ PopoverHeader,
7230
+ PopoverScrollArea,
7363
7231
  PopoverSeparator,
7364
7232
  PopoverTrigger,
7365
7233
  Radio,
7366
7234
  RadioGroup,
7367
- SearchIcon,
7368
7235
  Select,
7369
7236
  SelectContent,
7370
7237
  SelectGroup,
@@ -7384,8 +7251,6 @@ AccordionContent.displayName = AccordionPrimitive.Content.displayName;
7384
7251
  TableHeader,
7385
7252
  TableRow,
7386
7253
  Tooltip,
7387
- UserGroupIcon,
7388
- UserIcon,
7389
7254
  WebsiteFooter,
7390
7255
  buttonVariants,
7391
7256
  colors