@tipp/ui 1.0.39 → 1.0.42

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.
Files changed (135) hide show
  1. package/dist/atoms/avatar.d.cts +3 -3
  2. package/dist/atoms/avatar.d.ts +3 -3
  3. package/dist/atoms/badge.d.cts +3 -3
  4. package/dist/atoms/badge.d.ts +3 -3
  5. package/dist/atoms/button.d.cts +3 -3
  6. package/dist/atoms/button.d.ts +3 -3
  7. package/dist/atoms/card.d.cts +3 -3
  8. package/dist/atoms/card.d.ts +3 -3
  9. package/dist/atoms/check-box-group.d.cts +4 -4
  10. package/dist/atoms/check-box-group.d.ts +4 -4
  11. package/dist/atoms/check-box.d.cts +3 -3
  12. package/dist/atoms/check-box.d.ts +3 -3
  13. package/dist/atoms/collapse.d.cts +3 -3
  14. package/dist/atoms/collapse.d.ts +3 -3
  15. package/dist/atoms/drawer.d.cts +8 -8
  16. package/dist/atoms/drawer.d.ts +8 -8
  17. package/dist/atoms/dropdown-menu.cjs +51 -1
  18. package/dist/atoms/dropdown-menu.cjs.map +1 -1
  19. package/dist/atoms/dropdown-menu.d.cts +23 -1
  20. package/dist/atoms/dropdown-menu.d.ts +23 -1
  21. package/dist/atoms/dropdown-menu.js +1 -1
  22. package/dist/atoms/ellipsis-tooltip.d.cts +2 -2
  23. package/dist/atoms/ellipsis-tooltip.d.ts +2 -2
  24. package/dist/atoms/field-error-wrapper.d.cts +3 -3
  25. package/dist/atoms/field-error-wrapper.d.ts +3 -3
  26. package/dist/atoms/field-error-wrapper.js +2 -2
  27. package/dist/atoms/form.d.cts +7 -7
  28. package/dist/atoms/form.d.ts +7 -7
  29. package/dist/atoms/index.cjs +109 -74
  30. package/dist/atoms/index.cjs.map +1 -1
  31. package/dist/atoms/index.d.cts +3 -1
  32. package/dist/atoms/index.d.ts +3 -1
  33. package/dist/atoms/index.js +54 -54
  34. package/dist/atoms/pagination.d.cts +2 -2
  35. package/dist/atoms/pagination.d.ts +2 -2
  36. package/dist/atoms/pagination.js +3 -3
  37. package/dist/atoms/select.cjs +44 -1
  38. package/dist/atoms/select.cjs.map +1 -1
  39. package/dist/atoms/select.d.cts +19 -1
  40. package/dist/atoms/select.d.ts +19 -1
  41. package/dist/atoms/select.js +1 -1
  42. package/dist/atoms/typo.d.cts +2 -2
  43. package/dist/atoms/typo.d.ts +2 -2
  44. package/dist/charts/horizontal-bar-chart.d.cts +2 -2
  45. package/dist/charts/horizontal-bar-chart.d.ts +2 -2
  46. package/dist/chunk-46A3Q5FJ.js +59 -0
  47. package/dist/chunk-46A3Q5FJ.js.map +1 -0
  48. package/dist/chunk-4AI7AKMF.js +34 -0
  49. package/dist/chunk-4AI7AKMF.js.map +1 -0
  50. package/dist/chunk-4D6AW2AL.js +36 -0
  51. package/dist/chunk-4D6AW2AL.js.map +1 -0
  52. package/dist/chunk-4WFMOFN2.js +34 -0
  53. package/dist/chunk-4WFMOFN2.js.map +1 -0
  54. package/dist/chunk-4ZCLCSZJ.js +59 -0
  55. package/dist/chunk-4ZCLCSZJ.js.map +1 -0
  56. package/dist/chunk-6XEKRSH4.js +119 -0
  57. package/dist/chunk-6XEKRSH4.js.map +1 -0
  58. package/dist/chunk-7A7J457W.js +63 -0
  59. package/dist/chunk-7A7J457W.js.map +1 -0
  60. package/dist/chunk-7DMFFGJO.js +36 -0
  61. package/dist/chunk-7DMFFGJO.js.map +1 -0
  62. package/dist/chunk-ABUIIUYC.js +35 -0
  63. package/dist/chunk-ABUIIUYC.js.map +1 -0
  64. package/dist/chunk-AH3JQGIV.js +36 -0
  65. package/dist/chunk-AH3JQGIV.js.map +1 -0
  66. package/dist/chunk-BGEMXQCK.js +59 -0
  67. package/dist/chunk-BGEMXQCK.js.map +1 -0
  68. package/dist/chunk-CN2EKN6C.js +119 -0
  69. package/dist/chunk-CN2EKN6C.js.map +1 -0
  70. package/dist/chunk-E237B7Y6.js +33 -0
  71. package/dist/chunk-E237B7Y6.js.map +1 -0
  72. package/dist/chunk-EIRUKSOW.js +34 -0
  73. package/dist/chunk-EIRUKSOW.js.map +1 -0
  74. package/dist/chunk-EKFTULUP.js +34 -0
  75. package/dist/chunk-EKFTULUP.js.map +1 -0
  76. package/dist/chunk-FXU6OEPZ.js +12 -0
  77. package/dist/chunk-FXU6OEPZ.js.map +1 -0
  78. package/dist/chunk-GAXVJHRD.js +104 -0
  79. package/dist/chunk-GAXVJHRD.js.map +1 -0
  80. package/dist/chunk-H6BDCW7U.js +27 -0
  81. package/dist/chunk-H6BDCW7U.js.map +1 -0
  82. package/dist/chunk-IMOA5HKH.js +27 -0
  83. package/dist/chunk-IMOA5HKH.js.map +1 -0
  84. package/dist/chunk-KDWHXPLO.js +27 -0
  85. package/dist/chunk-KDWHXPLO.js.map +1 -0
  86. package/dist/chunk-MFLJ2V3R.js +63 -0
  87. package/dist/chunk-MFLJ2V3R.js.map +1 -0
  88. package/dist/chunk-NSSO2QWC.js +63 -0
  89. package/dist/chunk-NSSO2QWC.js.map +1 -0
  90. package/dist/chunk-P4T2KKQP.js +63 -0
  91. package/dist/chunk-P4T2KKQP.js.map +1 -0
  92. package/dist/chunk-R43PBEHD.js +63 -0
  93. package/dist/chunk-R43PBEHD.js.map +1 -0
  94. package/dist/chunk-RKLEKAON.js +63 -0
  95. package/dist/chunk-RKLEKAON.js.map +1 -0
  96. package/dist/chunk-S6R7UAYR.js +36 -0
  97. package/dist/chunk-S6R7UAYR.js.map +1 -0
  98. package/dist/chunk-UMZNOFYA.js +33 -0
  99. package/dist/chunk-UMZNOFYA.js.map +1 -0
  100. package/dist/chunk-Z32GH5FC.js +8 -0
  101. package/dist/chunk-Z32GH5FC.js.map +1 -0
  102. package/dist/icons/down.d.cts +2 -2
  103. package/dist/icons/down.d.ts +2 -2
  104. package/dist/icons/up.d.cts +2 -2
  105. package/dist/icons/up.d.ts +2 -2
  106. package/dist/index.cjs +166 -127
  107. package/dist/index.cjs.map +1 -1
  108. package/dist/index.css +6 -0
  109. package/dist/index.css.map +1 -1
  110. package/dist/index.d.cts +3 -1
  111. package/dist/index.d.ts +3 -1
  112. package/dist/index.js +67 -67
  113. package/dist/molecules/date-picker/index.d.cts +2 -2
  114. package/dist/molecules/date-picker/index.d.ts +2 -2
  115. package/dist/molecules/date-picker/index.js +2 -2
  116. package/dist/molecules/expand-table/index.d.cts +3 -3
  117. package/dist/molecules/expand-table/index.d.ts +3 -3
  118. package/dist/molecules/expand-table/index.js +25 -25
  119. package/dist/molecules/expand-table/row.d.cts +3 -3
  120. package/dist/molecules/expand-table/row.d.ts +3 -3
  121. package/dist/molecules/expand-table/row.js +23 -23
  122. package/dist/molecules/index.cjs +6 -2
  123. package/dist/molecules/index.cjs.map +1 -1
  124. package/dist/molecules/index.js +29 -29
  125. package/dist/molecules/navigation.cjs +6 -2
  126. package/dist/molecules/navigation.cjs.map +1 -1
  127. package/dist/molecules/navigation.d.cts +4 -4
  128. package/dist/molecules/navigation.d.ts +4 -4
  129. package/dist/molecules/navigation.js +24 -24
  130. package/dist/theme/theme-provider.d.cts +4 -4
  131. package/dist/theme/theme-provider.d.ts +4 -4
  132. package/package.json +1 -1
  133. package/src/atoms/dropdown-menu.tsx +29 -1
  134. package/src/atoms/select.tsx +24 -1
  135. package/src/molecules/navigation.tsx +6 -2
package/dist/index.cjs CHANGED
@@ -83,7 +83,7 @@ __export(src_exports, {
83
83
  Code: () => import_themes13.Code,
84
84
  Collapse: () => Collapse,
85
85
  Container: () => import_themes14.Container,
86
- Content: () => Content2,
86
+ Content: () => Content4,
87
87
  Cross1Icon: () => import_react_icons.Cross1Icon,
88
88
  DataList: () => import_themes15.DataList,
89
89
  DatePicker: () => DatePicker,
@@ -91,7 +91,7 @@ __export(src_exports, {
91
91
  DotsHorizontalIcon: () => import_react_icons.DotsHorizontalIcon,
92
92
  DotsVerticalIcon: () => import_react_icons.DotsVerticalIcon,
93
93
  Drawer: () => Drawer,
94
- DropdownMenu: () => import_themes17.DropdownMenu,
94
+ DropdownMenu: () => DropdownMenu,
95
95
  EchartDefaultProps: () => EchartDefaultProps,
96
96
  EllipsisTooltip: () => EllipsisTooltip,
97
97
  Em: () => import_themes18.Em,
@@ -130,7 +130,7 @@ __export(src_exports, {
130
130
  ScrollArea: () => import_themes35.ScrollArea,
131
131
  Section: () => import_themes36.Section,
132
132
  SegmentedControl: () => import_themes37.SegmentedControl,
133
- Select: () => import_themes38.Select,
133
+ Select: () => Select,
134
134
  Separator: () => import_themes39.Separator,
135
135
  Skeleton: () => import_themes40.Skeleton,
136
136
  Spinner: () => import_themes49.Spinner,
@@ -347,6 +347,27 @@ var import_themes16 = require("@radix-ui/themes");
347
347
 
348
348
  // src/atoms/dropdown-menu.tsx
349
349
  var import_themes17 = require("@radix-ui/themes");
350
+ var import_react7 = require("react");
351
+ var import_jsx_runtime7 = require("react/jsx-runtime");
352
+ var Content = (0, import_react7.forwardRef)((props, ref) => {
353
+ const _a = props, { isNavigation, className } = _a, rest = __objRest(_a, ["isNavigation", "className"]);
354
+ const contentClassName = (0, import_react7.useMemo)(() => {
355
+ const cls = isNavigation ? "dropdown-navigation" : "";
356
+ return [cls, className].join(" ");
357
+ }, [isNavigation, className]);
358
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
359
+ import_themes17.DropdownMenu.Content,
360
+ __spreadProps(__spreadValues({
361
+ ref
362
+ }, rest), {
363
+ className: contentClassName
364
+ })
365
+ );
366
+ });
367
+ Content.displayName = "DropdownMenu.Content";
368
+ var DropdownMenu = __spreadProps(__spreadValues({}, import_themes17.DropdownMenu), {
369
+ Content
370
+ });
350
371
 
351
372
  // src/atoms/em.tsx
352
373
  var import_themes18 = require("@radix-ui/themes");
@@ -359,12 +380,12 @@ var import_themes20 = require("@radix-ui/themes");
359
380
 
360
381
  // src/atoms/heading.tsx
361
382
  var import_themes21 = require("@radix-ui/themes");
362
- var import_react7 = require("react");
383
+ var import_react8 = require("react");
363
384
  var import_themes22 = require("@radix-ui/themes");
364
- var import_jsx_runtime7 = require("react/jsx-runtime");
385
+ var import_jsx_runtime8 = require("react/jsx-runtime");
365
386
  function Heading2(props) {
366
387
  const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
367
- const radixSize = (0, import_react7.useMemo)(() => {
388
+ const radixSize = (0, import_react8.useMemo)(() => {
368
389
  switch (variant) {
369
390
  case "subtitle1":
370
391
  return "4";
@@ -378,7 +399,7 @@ function Heading2(props) {
378
399
  return size;
379
400
  }
380
401
  }, [size, variant]);
381
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_themes21.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
402
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_themes21.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
382
403
  }
383
404
 
384
405
  // src/atoms/hover-card.tsx
@@ -395,12 +416,12 @@ var import_themes26 = require("@radix-ui/themes");
395
416
 
396
417
  // src/atoms/link.tsx
397
418
  var import_themes27 = require("@radix-ui/themes");
398
- var import_react8 = require("react");
419
+ var import_react9 = require("react");
399
420
  var import_themes28 = require("@radix-ui/themes");
400
- var import_jsx_runtime8 = require("react/jsx-runtime");
421
+ var import_jsx_runtime9 = require("react/jsx-runtime");
401
422
  function Link(props) {
402
423
  const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
403
- const radixSize = (0, import_react8.useMemo)(() => {
424
+ const radixSize = (0, import_react9.useMemo)(() => {
404
425
  switch (variant) {
405
426
  case "caption":
406
427
  return "1";
@@ -412,7 +433,7 @@ function Link(props) {
412
433
  return size;
413
434
  }
414
435
  }, [size, variant]);
415
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_themes27.Link, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
436
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes27.Link, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
416
437
  }
417
438
 
418
439
  // src/atoms/popover.tsx
@@ -444,6 +465,20 @@ var import_themes37 = require("@radix-ui/themes");
444
465
 
445
466
  // src/atoms/select.tsx
446
467
  var import_themes38 = require("@radix-ui/themes");
468
+ var import_react10 = require("react");
469
+ var import_jsx_runtime10 = require("react/jsx-runtime");
470
+ var Content2 = (0, import_react10.forwardRef)((props, ref) => {
471
+ const _a = props, { className, isNavigation } = _a, rest = __objRest(_a, ["className", "isNavigation"]);
472
+ const cls = (0, import_react10.useMemo)(() => {
473
+ const etc = isNavigation ? "nav-select" : "";
474
+ return [etc, className].join(" ");
475
+ }, [className, isNavigation]);
476
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_themes38.Select.Content, __spreadProps(__spreadValues({}, rest), { className: cls, ref }));
477
+ });
478
+ Content2.displayName = "Select.Content";
479
+ var Select = __spreadProps(__spreadValues({}, import_themes38.Select), {
480
+ Content: Content2
481
+ });
447
482
 
448
483
  // src/atoms/separator.tsx
449
484
  var import_themes39 = require("@radix-ui/themes");
@@ -468,12 +503,12 @@ var import_themes45 = require("@radix-ui/themes");
468
503
 
469
504
  // src/atoms/typo.tsx
470
505
  var import_themes46 = require("@radix-ui/themes");
471
- var import_react9 = require("react");
472
- var import_jsx_runtime9 = require("react/jsx-runtime");
473
- var Typo = (0, import_react9.forwardRef)(
506
+ var import_react11 = require("react");
507
+ var import_jsx_runtime11 = require("react/jsx-runtime");
508
+ var Typo = (0, import_react11.forwardRef)(
474
509
  (props, ref) => {
475
510
  const _a = props, { size, variant, children } = _a, rest = __objRest(_a, ["size", "variant", "children"]);
476
- const radixSize = (0, import_react9.useMemo)(() => {
511
+ const radixSize = (0, import_react11.useMemo)(() => {
477
512
  if (size !== void 0)
478
513
  return size;
479
514
  switch (variant) {
@@ -486,7 +521,7 @@ var Typo = (0, import_react9.forwardRef)(
486
521
  return "2";
487
522
  }
488
523
  }, [size, variant]);
489
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes46.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
524
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes46.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
490
525
  }
491
526
  );
492
527
  Typo.displayName = "Typo";
@@ -498,43 +533,43 @@ var import_themes47 = require("@radix-ui/themes");
498
533
  var import_themes48 = require("@radix-ui/themes");
499
534
 
500
535
  // src/atoms/collapse.tsx
501
- var import_react10 = require("react");
502
- var import_jsx_runtime10 = require("react/jsx-runtime");
536
+ var import_react12 = require("react");
537
+ var import_jsx_runtime12 = require("react/jsx-runtime");
503
538
  function Collapse(props) {
504
539
  const { children, closedHeight = "0" } = props;
505
- const [open, setOpen] = (0, import_react10.useState)(() => {
540
+ const [open, setOpen] = (0, import_react12.useState)(() => {
506
541
  return props.open || props.defaultOpen || false;
507
542
  });
508
- (0, import_react10.useEffect)(() => {
543
+ (0, import_react12.useEffect)(() => {
509
544
  if (props.open === void 0)
510
545
  return;
511
546
  setOpen(props.open);
512
547
  }, [props.open]);
513
- const ref = (0, import_react10.useRef)(null);
514
- (0, import_react10.useEffect)(() => {
548
+ const ref = (0, import_react12.useRef)(null);
549
+ (0, import_react12.useEffect)(() => {
515
550
  if (!ref.current)
516
551
  return;
517
552
  ref.current.style.maxHeight = open ? `${ref.current.scrollHeight}px` : closedHeight;
518
553
  }, [closedHeight, open]);
519
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "collapse", ref, children });
554
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "collapse", ref, children });
520
555
  }
521
556
 
522
557
  // src/atoms/spinner.tsx
523
558
  var import_themes49 = require("@radix-ui/themes");
524
559
 
525
560
  // src/atoms/pagination.tsx
526
- var import_react11 = require("react");
561
+ var import_react13 = require("react");
527
562
 
528
563
  // src/icon.ts
529
564
  var import_react_icons = require("@radix-ui/react-icons");
530
565
 
531
566
  // src/atoms/pagination.tsx
532
- var import_jsx_runtime11 = require("react/jsx-runtime");
567
+ var import_jsx_runtime13 = require("react/jsx-runtime");
533
568
  function Pagination(props) {
534
569
  const { onChange, count = 0 } = props;
535
570
  const siblingCount = 2;
536
- const [page, setPage] = (0, import_react11.useState)(() => props.page || props.defaultPage || 1);
537
- const visibleItems = (0, import_react11.useMemo)(() => {
571
+ const [page, setPage] = (0, import_react13.useState)(() => props.page || props.defaultPage || 1);
572
+ const visibleItems = (0, import_react13.useMemo)(() => {
538
573
  let start = Math.max(1, page - siblingCount);
539
574
  let end = Math.min(count, page + siblingCount);
540
575
  if (page - siblingCount <= 0 && end < count) {
@@ -544,18 +579,18 @@ function Pagination(props) {
544
579
  }
545
580
  return Array.from({ length: end - start + 1 }, (_, i) => i + start);
546
581
  }, [count, page]);
547
- (0, import_react11.useEffect)(() => {
582
+ (0, import_react13.useEffect)(() => {
548
583
  onChange == null ? void 0 : onChange(page);
549
584
  }, [onChange, page]);
550
- (0, import_react11.useEffect)(() => {
585
+ (0, import_react13.useEffect)(() => {
551
586
  if (props.page) {
552
587
  setPage(props.page);
553
588
  }
554
589
  }, [props.page]);
555
- const onClickPrev = (0, import_react11.useCallback)(() => {
590
+ const onClickPrev = (0, import_react13.useCallback)(() => {
556
591
  setPage((prev) => Math.max(1, prev - 1));
557
592
  }, []);
558
- const onClickNext = (0, import_react11.useCallback)(() => {
593
+ const onClickNext = (0, import_react13.useCallback)(() => {
559
594
  setPage((prev) => Math.min(count, prev + 1));
560
595
  }, [count]);
561
596
  const moveButtonProps = {
@@ -567,24 +602,24 @@ function Pagination(props) {
567
602
  height: 24,
568
603
  width: 24
569
604
  };
570
- const prevDisabled = (0, import_react11.useMemo)(() => {
605
+ const prevDisabled = (0, import_react13.useMemo)(() => {
571
606
  return page - siblingCount <= 1;
572
607
  }, [page]);
573
- const nextDisabled = (0, import_react11.useMemo)(() => {
608
+ const nextDisabled = (0, import_react13.useMemo)(() => {
574
609
  return page + siblingCount >= count;
575
610
  }, [count, page]);
576
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_themes19.Flex, { align: "center", className: "tipp-pagination", gap: "4", children: [
577
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
611
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_themes19.Flex, { align: "center", className: "tipp-pagination", gap: "4", children: [
612
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
578
613
  import_themes24.IconButton,
579
614
  __spreadProps(__spreadValues({
580
615
  disabled: prevDisabled,
581
616
  onClick: onClickPrev
582
617
  }, moveButtonProps), {
583
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_icons.ChevronLeftIcon, __spreadValues({}, iconSize))
618
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_icons.ChevronLeftIcon, __spreadValues({}, iconSize))
584
619
  })
585
620
  ),
586
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes19.Flex, { gap: "1", children: visibleItems.map((item) => {
587
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
621
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes19.Flex, { gap: "1", children: visibleItems.map((item) => {
622
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
588
623
  "button",
589
624
  {
590
625
  className: `page-button ${item === page ? "active" : ""}`,
@@ -592,45 +627,45 @@ function Pagination(props) {
592
627
  setPage(item);
593
628
  },
594
629
  type: "button",
595
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Typo, { variant: "body", children: item })
630
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Typo, { variant: "body", children: item })
596
631
  },
597
632
  item
598
633
  );
599
634
  }) }),
600
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
635
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
601
636
  import_themes24.IconButton,
602
637
  __spreadProps(__spreadValues({
603
638
  disabled: nextDisabled,
604
639
  onClick: onClickNext
605
640
  }, moveButtonProps), {
606
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_icons.ChevronRightIcon, __spreadValues({}, iconSize))
641
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_icons.ChevronRightIcon, __spreadValues({}, iconSize))
607
642
  })
608
643
  )
609
644
  ] });
610
645
  }
611
646
 
612
647
  // src/atoms/field-error-wrapper.tsx
613
- var import_jsx_runtime12 = require("react/jsx-runtime");
648
+ var import_jsx_runtime14 = require("react/jsx-runtime");
614
649
  function FieldErrorWrapper({
615
650
  children,
616
651
  error
617
652
  }) {
618
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_themes19.Flex, { direction: "column", gap: "1", children: [
653
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_themes19.Flex, { direction: "column", gap: "1", children: [
619
654
  children,
620
- error ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Typo, { color: "red", variant: "caption", children: error }) : null
655
+ error ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Typo, { color: "red", variant: "caption", children: error }) : null
621
656
  ] });
622
657
  }
623
658
 
624
659
  // src/atoms/ellipsis-tooltip.tsx
625
- var import_react12 = require("react");
626
- var import_jsx_runtime13 = require("react/jsx-runtime");
660
+ var import_react14 = require("react");
661
+ var import_jsx_runtime15 = require("react/jsx-runtime");
627
662
  function EllipsisTooltip(props) {
628
663
  const _a = props, { children, style, lineClamp = 2 } = _a, rest = __objRest(_a, ["children", "style", "lineClamp"]);
629
- const ref = (0, import_react12.useRef)(null);
630
- const [tooltipDisplay, setTooltipDisplay] = (0, import_react12.useState)(
664
+ const ref = (0, import_react14.useRef)(null);
665
+ const [tooltipDisplay, setTooltipDisplay] = (0, import_react14.useState)(
631
666
  "none"
632
667
  );
633
- (0, import_react12.useEffect)(() => {
668
+ (0, import_react14.useEffect)(() => {
634
669
  if (ref.current) {
635
670
  const typo = ref.current;
636
671
  const mouseOver = () => {
@@ -645,7 +680,7 @@ function EllipsisTooltip(props) {
645
680
  ref.current.addEventListener("mouseleave", mouseOut);
646
681
  }
647
682
  }, [children]);
648
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes48.Tooltip, { content: children, style: { display: tooltipDisplay }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
683
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_themes48.Tooltip, { content: children, style: { display: tooltipDisplay }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
649
684
  Typo,
650
685
  __spreadProps(__spreadValues({}, rest), {
651
686
  ref,
@@ -668,21 +703,21 @@ var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
668
703
 
669
704
  // src/theme/theme-provider.tsx
670
705
  var import_themes50 = require("@radix-ui/themes");
671
- var import_jsx_runtime14 = require("react/jsx-runtime");
706
+ var import_jsx_runtime16 = require("react/jsx-runtime");
672
707
  function ThemeProvider(props) {
673
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes50.Theme, __spreadValues({ accentColor: "iris", radius: "large" }, props));
708
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_themes50.Theme, __spreadValues({ accentColor: "iris", radius: "large" }, props));
674
709
  }
675
710
 
676
711
  // src/atoms/toast.tsx
677
712
  var import_react_icons2 = require("@radix-ui/react-icons");
678
713
  var import_react_toastify = require("react-toastify");
679
714
  var import_react_toastify2 = require("react-toastify");
680
- var import_jsx_runtime15 = require("react/jsx-runtime");
715
+ var import_jsx_runtime17 = require("react/jsx-runtime");
681
716
  function CloseButton({ closeToast }) {
682
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_themes24.IconButton, { color: "gray", onClick: closeToast, variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react_icons2.Cross1Icon, {}) });
717
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_themes24.IconButton, { color: "gray", onClick: closeToast, variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react_icons2.Cross1Icon, {}) });
683
718
  }
684
719
  function ToastContainer(props) {
685
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
720
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
686
721
  import_react_toastify.ToastContainer,
687
722
  __spreadValues({
688
723
  autoClose: 5e3,
@@ -700,30 +735,30 @@ function ToastContainer(props) {
700
735
  }
701
736
 
702
737
  // src/atoms/drawer.tsx
703
- var import_jsx_runtime16 = require("react/jsx-runtime");
738
+ var import_jsx_runtime18 = require("react/jsx-runtime");
704
739
  function Root3(props) {
705
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Dialog2.Root, __spreadValues({}, props));
740
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Dialog2.Root, __spreadValues({}, props));
706
741
  }
707
- function Content2(props) {
742
+ function Content4(props) {
708
743
  const _a = props, { position = "right", className } = _a, rest = __objRest(_a, ["position", "className"]);
709
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Dialog2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(ThemeProvider, { children: [
710
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Dialog2.Overlay, { className: "DrawerOverlay" }),
711
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
744
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Dialog2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(ThemeProvider, { children: [
745
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Dialog2.Overlay, { className: "DrawerOverlay" }),
746
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
712
747
  Dialog2.Content,
713
748
  __spreadValues({
714
749
  className: `DrawerContent ${position} ${className || ""}`
715
750
  }, rest)
716
751
  ),
717
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ToastContainer, {})
752
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ToastContainer, {})
718
753
  ] }) });
719
754
  }
720
755
  function Trigger2(props) {
721
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Dialog2.Trigger, __spreadValues({ asChild: true }, props));
756
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Dialog2.Trigger, __spreadValues({ asChild: true }, props));
722
757
  }
723
758
  var Drawer = {
724
759
  Root: Dialog2.Root,
725
760
  Trigger: Trigger2,
726
- Content: Content2,
761
+ Content: Content4,
727
762
  Close: Dialog2.Close,
728
763
  Title: Dialog2.Title,
729
764
  Description: Dialog2.Description
@@ -731,12 +766,12 @@ var Drawer = {
731
766
 
732
767
  // src/atoms/form.tsx
733
768
  var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
734
- var import_react13 = require("react");
735
- var import_jsx_runtime17 = require("react/jsx-runtime");
736
- var Root5 = (0, import_react13.forwardRef)(
769
+ var import_react15 = require("react");
770
+ var import_jsx_runtime19 = require("react/jsx-runtime");
771
+ var Root5 = (0, import_react15.forwardRef)(
737
772
  (_a, ref) => {
738
773
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
739
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
774
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
740
775
  RadixForm.Root,
741
776
  __spreadProps(__spreadValues({}, rest), {
742
777
  className: `FormRoot ${className || ""}`,
@@ -747,10 +782,10 @@ var Root5 = (0, import_react13.forwardRef)(
747
782
  }
748
783
  );
749
784
  Root5.displayName = "FORM_ROOT";
750
- var Field2 = (0, import_react13.forwardRef)(
785
+ var Field2 = (0, import_react15.forwardRef)(
751
786
  (_a, ref) => {
752
787
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
753
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
788
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
754
789
  RadixForm.Field,
755
790
  __spreadProps(__spreadValues({}, rest), {
756
791
  className: `FormField ${className || ""}`,
@@ -761,10 +796,10 @@ var Field2 = (0, import_react13.forwardRef)(
761
796
  }
762
797
  );
763
798
  Field2.displayName = "FORM_FIELD";
764
- var Label2 = (0, import_react13.forwardRef)(
799
+ var Label2 = (0, import_react15.forwardRef)(
765
800
  (_a, ref) => {
766
801
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
767
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
802
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
768
803
  RadixForm.Label,
769
804
  __spreadProps(__spreadValues({}, rest), {
770
805
  className: `FormLabel ${className || ""}`,
@@ -775,10 +810,10 @@ var Label2 = (0, import_react13.forwardRef)(
775
810
  }
776
811
  );
777
812
  Label2.displayName = "FORM_Label";
778
- var Message2 = (0, import_react13.forwardRef)(
813
+ var Message2 = (0, import_react15.forwardRef)(
779
814
  (_a, ref) => {
780
815
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
781
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
816
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
782
817
  RadixForm.Message,
783
818
  __spreadProps(__spreadValues({}, rest), {
784
819
  className: `FormMessage ${className || ""}`,
@@ -800,15 +835,15 @@ var Form = {
800
835
 
801
836
  // src/molecules/expand-table/index.tsx
802
837
  var import_react_table2 = require("@tanstack/react-table");
803
- var import_react15 = require("react");
838
+ var import_react17 = require("react");
804
839
 
805
840
  // src/icons/down.tsx
806
841
  var React7 = __toESM(require("react"), 1);
807
- var import_jsx_runtime18 = require("react/jsx-runtime");
842
+ var import_jsx_runtime20 = require("react/jsx-runtime");
808
843
  var TriangleArrowDownIcon = React7.forwardRef(
809
844
  (_a, forwardedRef) => {
810
845
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
811
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
846
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
812
847
  "svg",
813
848
  __spreadProps(__spreadValues({
814
849
  fill: "none",
@@ -818,7 +853,7 @@ var TriangleArrowDownIcon = React7.forwardRef(
818
853
  xmlns: "http://www.w3.org/2000/svg"
819
854
  }, props), {
820
855
  ref: forwardedRef,
821
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
856
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
822
857
  "path",
823
858
  {
824
859
  d: "M7.10844 0.8125H0.891554C0.197392 0.8125 -0.177096 1.62672 0.274659 2.15377L3.3831 5.78029C3.70737 6.1586 4.29263 6.1586 4.6169 5.78029L7.72534 2.15377C8.1771 1.62672 7.80261 0.8125 7.10844 0.8125Z",
@@ -833,11 +868,11 @@ TriangleArrowDownIcon.displayName = "ArrowDownIcon";
833
868
 
834
869
  // src/icons/up.tsx
835
870
  var React8 = __toESM(require("react"), 1);
836
- var import_jsx_runtime19 = require("react/jsx-runtime");
871
+ var import_jsx_runtime21 = require("react/jsx-runtime");
837
872
  var TriangleArrowUpIcon = React8.forwardRef(
838
873
  (_a, forwardedRef) => {
839
874
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
840
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
875
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
841
876
  "svg",
842
877
  __spreadProps(__spreadValues({
843
878
  fill: "none",
@@ -847,7 +882,7 @@ var TriangleArrowUpIcon = React8.forwardRef(
847
882
  xmlns: "http://www.w3.org/2000/svg"
848
883
  }, props), {
849
884
  ref: forwardedRef,
850
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
885
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
851
886
  "path",
852
887
  {
853
888
  d: "M0.891555 6.1875L7.10845 6.1875C7.80261 6.1875 8.1771 5.37328 7.72534 4.84623L4.6169 1.21971C4.29263 0.841403 3.70737 0.841403 3.3831 1.21971L0.274659 4.84623C-0.177095 5.37328 0.197393 6.1875 0.891555 6.1875Z",
@@ -862,22 +897,22 @@ TriangleArrowUpIcon.displayName = "ArrowUpIcon";
862
897
 
863
898
  // src/molecules/expand-table/row.tsx
864
899
  var import_react_table = require("@tanstack/react-table");
865
- var import_react14 = require("react");
866
- var import_jsx_runtime20 = require("react/jsx-runtime");
900
+ var import_react16 = require("react");
901
+ var import_jsx_runtime22 = require("react/jsx-runtime");
867
902
  function Row(props) {
868
903
  const { row, ExpandComp, gridColTemp } = props;
869
- const [open, setOpen] = (0, import_react14.useState)(false);
870
- const onClickRow = (0, import_react14.useCallback)(() => {
904
+ const [open, setOpen] = (0, import_react16.useState)(false);
905
+ const onClickRow = (0, import_react16.useCallback)(() => {
871
906
  var _a;
872
907
  (_a = props.onRowClick) == null ? void 0 : _a.call(props, row.original);
873
908
  setOpen((prev) => !prev);
874
909
  }, [props, row.original]);
875
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
910
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
876
911
  "div",
877
912
  {
878
913
  className: `tr-wrapper ${ExpandComp ? "expandable" : ""}`,
879
914
  children: [
880
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
915
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
881
916
  "button",
882
917
  {
883
918
  className: "tr",
@@ -887,7 +922,7 @@ function Row(props) {
887
922
  children: row.getVisibleCells().map((cell) => {
888
923
  var _a, _b;
889
924
  const autoSize = (_a = cell.column.columnDef.meta) == null ? void 0 : _a.autoSize;
890
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
925
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
891
926
  "div",
892
927
  {
893
928
  className: "td",
@@ -897,7 +932,7 @@ function Row(props) {
897
932
  },
898
933
  children: [
899
934
  (0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()),
900
- ((_b = cell.column.columnDef.meta) == null ? void 0 : _b.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
935
+ ((_b = cell.column.columnDef.meta) == null ? void 0 : _b.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
901
936
  cell.column.columnDef.meta.OpenBtn,
902
937
  {
903
938
  data: row.original,
@@ -913,7 +948,7 @@ function Row(props) {
913
948
  },
914
949
  `tr_${row.id}`
915
950
  ),
916
- ExpandComp ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Collapse, { open, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "expand-comp-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ExpandComp, { row }) }) }) : null
951
+ ExpandComp ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Collapse, { open, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "expand-comp-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ExpandComp, { row }) }) }) : null
917
952
  ]
918
953
  },
919
954
  `tr-wrapper_${row.id}`
@@ -921,10 +956,10 @@ function Row(props) {
921
956
  }
922
957
 
923
958
  // src/molecules/expand-table/index.tsx
924
- var import_jsx_runtime21 = require("react/jsx-runtime");
959
+ var import_jsx_runtime23 = require("react/jsx-runtime");
925
960
  function ExpandTable(props) {
926
961
  const { data, columns, ExpandComp, placeholder, onRowClick } = props;
927
- const [sorting, setSorting] = (0, import_react15.useState)([]);
962
+ const [sorting, setSorting] = (0, import_react17.useState)([]);
928
963
  const { getRowModel, getHeaderGroups } = (0, import_react_table2.useReactTable)({
929
964
  data: data || [],
930
965
  columns,
@@ -935,7 +970,7 @@ function ExpandTable(props) {
935
970
  },
936
971
  onSortingChange: setSorting
937
972
  });
938
- const gridColTemp = (0, import_react15.useMemo)(() => {
973
+ const gridColTemp = (0, import_react17.useMemo)(() => {
939
974
  return columns.map((col) => {
940
975
  var _a;
941
976
  if ((_a = col.meta) == null ? void 0 : _a.autoSize)
@@ -944,8 +979,8 @@ function ExpandTable(props) {
944
979
  }).join(" ");
945
980
  }, [columns]);
946
981
  const rowModels = getRowModel();
947
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "expand-table", children: [
948
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
982
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "expand-table", children: [
983
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
949
984
  "div",
950
985
  {
951
986
  className: "tr",
@@ -953,30 +988,30 @@ function ExpandTable(props) {
953
988
  children: headerGroup.headers.map((header) => {
954
989
  const sortable = header.column.getCanSort();
955
990
  const sortedState = header.column.getIsSorted();
956
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "th", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
991
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "th", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
957
992
  "button",
958
993
  {
959
994
  onClick: header.column.getToggleSortingHandler(),
960
995
  style: sortable ? { cursor: "pointer" } : void 0,
961
996
  type: "button",
962
997
  children: [
963
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Typo, { variant: "body", children: (0, import_react_table2.flexRender)(
998
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Typo, { variant: "body", children: (0, import_react_table2.flexRender)(
964
999
  header.column.columnDef.header,
965
1000
  header.getContext()
966
1001
  ) }),
967
- sortable ? /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1002
+ sortable ? /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
968
1003
  import_themes19.Flex,
969
1004
  {
970
1005
  direction: "column",
971
1006
  style: { marginLeft: "var(--space-2)" },
972
1007
  children: [
973
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1008
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
974
1009
  TriangleArrowUpIcon,
975
1010
  {
976
1011
  color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
977
1012
  }
978
1013
  ),
979
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1014
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
980
1015
  TriangleArrowDownIcon,
981
1016
  {
982
1017
  color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
@@ -992,10 +1027,10 @@ function ExpandTable(props) {
992
1027
  },
993
1028
  headerGroup.id
994
1029
  )) }),
995
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "tbody", children: [
996
- rowModels.rows.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_themes19.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder"),
1030
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "tbody", children: [
1031
+ rowModels.rows.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_themes19.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder"),
997
1032
  rowModels.rows.map((row) => {
998
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1033
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
999
1034
  Row,
1000
1035
  {
1001
1036
  ExpandComp,
@@ -1011,14 +1046,14 @@ function ExpandTable(props) {
1011
1046
  }
1012
1047
 
1013
1048
  // src/molecules/navigation.tsx
1014
- var import_jsx_runtime22 = require("react/jsx-runtime");
1049
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1015
1050
  function Navigation({
1016
1051
  items,
1017
1052
  fontColor,
1018
1053
  backgroundColor,
1019
1054
  activeKey
1020
1055
  }) {
1021
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1056
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1022
1057
  import_themes19.Flex,
1023
1058
  {
1024
1059
  direction: "column",
@@ -1030,20 +1065,24 @@ function Navigation({
1030
1065
  },
1031
1066
  children: items == null ? void 0 : items.map((item) => {
1032
1067
  const { key, title, icon, itemRender, onClick, children } = item;
1033
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_themes19.Flex, { direction: "column", onClick, children: [
1034
- itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_themes19.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
1068
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes19.Flex, { direction: "column", onClick, children: [
1069
+ itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes19.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
1035
1070
  icon,
1036
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Typo, { variant: "subtitle", children: title })
1071
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "subtitle", children: title })
1037
1072
  ] }),
1038
1073
  children == null ? void 0 : children.map((menu) => {
1039
- return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1074
+ return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1040
1075
  Button,
1041
1076
  {
1042
1077
  className: `tipp-navigation-button ${activeKey === menu.key ? "active" : ""}`,
1043
- ml: "6",
1078
+ ml: "37px",
1044
1079
  onClick: menu.onClick,
1045
1080
  size: "large",
1046
- style: { color: "var(--white-a12)" },
1081
+ style: {
1082
+ color: "var(--white-a12)",
1083
+ height: "32px",
1084
+ paddingLeft: "var(--space-2)"
1085
+ },
1047
1086
  children: menu.title
1048
1087
  },
1049
1088
  menu.key
@@ -1056,14 +1095,14 @@ function Navigation({
1056
1095
  }
1057
1096
 
1058
1097
  // src/molecules/date-picker/index.tsx
1059
- var import_react16 = require("react");
1098
+ var import_react18 = require("react");
1060
1099
  var RDP = __toESM(require("react-datepicker"), 1);
1061
- var import_jsx_runtime23 = require("react/jsx-runtime");
1100
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1062
1101
  var ReactDatePicker = RDP.default.default || RDP.default || RDP;
1063
- var DatePicker = (0, import_react16.forwardRef)(
1102
+ var DatePicker = (0, import_react18.forwardRef)(
1064
1103
  (props, ref) => {
1065
1104
  const _a = props, { size = "medium" } = _a, rest = __objRest(_a, ["size"]);
1066
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1105
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1067
1106
  ReactDatePicker,
1068
1107
  __spreadProps(__spreadValues({
1069
1108
  dateFormat: "yyyy/MM/dd",
@@ -1091,33 +1130,33 @@ var renderCustomHeader = (props) => {
1091
1130
  } = props;
1092
1131
  const year = date.getFullYear();
1093
1132
  const month = date.getMonth();
1094
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_themes19.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
1095
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1133
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes19.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
1134
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1096
1135
  import_themes24.IconButton,
1097
1136
  {
1098
1137
  disabled: prevMonthButtonDisabled,
1099
1138
  onClick: decreaseMonth,
1100
1139
  variant: "ghost",
1101
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_icons.ChevronLeftIcon, {})
1140
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.ChevronLeftIcon, {})
1102
1141
  }
1103
1142
  ),
1104
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_themes19.Flex, { gap: "3", children: [
1105
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Heading2, { variant: "subtitle1", weight: "regular", children: [
1143
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_themes19.Flex, { gap: "3", children: [
1144
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Heading2, { variant: "subtitle1", weight: "regular", children: [
1106
1145
  year,
1107
1146
  "\uB144"
1108
1147
  ] }),
1109
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Heading2, { variant: "subtitle1", weight: "regular", children: [
1148
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Heading2, { variant: "subtitle1", weight: "regular", children: [
1110
1149
  month + 1,
1111
1150
  "\uC6D4"
1112
1151
  ] })
1113
1152
  ] }),
1114
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1153
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1115
1154
  import_themes24.IconButton,
1116
1155
  {
1117
1156
  disabled: nextMonthButtonDisabled,
1118
1157
  onClick: increaseMonth,
1119
1158
  variant: "ghost",
1120
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_icons.ChevronRightIcon, {})
1159
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons.ChevronRightIcon, {})
1121
1160
  }
1122
1161
  )
1123
1162
  ] });
@@ -1130,22 +1169,22 @@ var import_themes51 = require("@radix-ui/themes");
1130
1169
  var uiProps = __toESM(require("@radix-ui/themes/dist/cjs/props/index.js"), 1);
1131
1170
 
1132
1171
  // src/charts/horizontal-bar-chart.tsx
1133
- var import_jsx_runtime24 = require("react/jsx-runtime");
1172
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1134
1173
  function HorizontalBarChart(props) {
1135
1174
  const { total, value, backgroundColor, barColor, height } = props;
1136
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1175
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1137
1176
  "div",
1138
1177
  {
1139
1178
  className: "tipp_horizontal-bar-chart bar-wrapper",
1140
1179
  style: { height, backgroundColor },
1141
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1180
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1142
1181
  "div",
1143
1182
  {
1144
1183
  style: {
1145
1184
  width: `${Math.round(value / total * 100)}%`,
1146
1185
  height: "100%"
1147
1186
  },
1148
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
1187
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
1149
1188
  }
1150
1189
  )
1151
1190
  }