@tipp/ui 1.0.38 → 1.0.41

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 (133) 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.cjs +27 -2
  8. package/dist/atoms/card.cjs.map +1 -1
  9. package/dist/atoms/card.d.cts +15 -3
  10. package/dist/atoms/card.d.ts +15 -3
  11. package/dist/atoms/card.js +1 -1
  12. package/dist/atoms/check-box-group.d.cts +4 -4
  13. package/dist/atoms/check-box-group.d.ts +4 -4
  14. package/dist/atoms/check-box.d.cts +3 -3
  15. package/dist/atoms/check-box.d.ts +3 -3
  16. package/dist/atoms/collapse.d.cts +3 -3
  17. package/dist/atoms/collapse.d.ts +3 -3
  18. package/dist/atoms/drawer.d.cts +8 -8
  19. package/dist/atoms/drawer.d.ts +8 -8
  20. package/dist/atoms/drawer.js +2 -2
  21. package/dist/atoms/dropdown-menu.cjs +51 -1
  22. package/dist/atoms/dropdown-menu.cjs.map +1 -1
  23. package/dist/atoms/dropdown-menu.d.cts +26 -1
  24. package/dist/atoms/dropdown-menu.d.ts +26 -1
  25. package/dist/atoms/dropdown-menu.js +1 -1
  26. package/dist/atoms/ellipsis-tooltip.d.cts +2 -2
  27. package/dist/atoms/ellipsis-tooltip.d.ts +2 -2
  28. package/dist/atoms/field-error-wrapper.d.cts +3 -3
  29. package/dist/atoms/field-error-wrapper.d.ts +3 -3
  30. package/dist/atoms/field-error-wrapper.js +2 -2
  31. package/dist/atoms/form.d.cts +7 -7
  32. package/dist/atoms/form.d.ts +7 -7
  33. package/dist/atoms/index.cjs +109 -75
  34. package/dist/atoms/index.cjs.map +1 -1
  35. package/dist/atoms/index.d.cts +2 -1
  36. package/dist/atoms/index.d.ts +2 -1
  37. package/dist/atoms/index.js +36 -36
  38. package/dist/atoms/pagination.d.cts +2 -2
  39. package/dist/atoms/pagination.d.ts +2 -2
  40. package/dist/atoms/pagination.js +2 -2
  41. package/dist/atoms/typo.d.cts +2 -2
  42. package/dist/atoms/typo.d.ts +2 -2
  43. package/dist/charts/horizontal-bar-chart.d.cts +2 -2
  44. package/dist/charts/horizontal-bar-chart.d.ts +2 -2
  45. package/dist/chunk-2UMG6ERT.js +29 -0
  46. package/dist/chunk-2UMG6ERT.js.map +1 -0
  47. package/dist/chunk-3RZUYZ77.js +39 -0
  48. package/dist/chunk-3RZUYZ77.js.map +1 -0
  49. package/dist/chunk-46A3Q5FJ.js +59 -0
  50. package/dist/chunk-46A3Q5FJ.js.map +1 -0
  51. package/dist/chunk-4AI7AKMF.js +34 -0
  52. package/dist/chunk-4AI7AKMF.js.map +1 -0
  53. package/dist/chunk-4D6AW2AL.js +36 -0
  54. package/dist/chunk-4D6AW2AL.js.map +1 -0
  55. package/dist/chunk-4ZCLCSZJ.js +59 -0
  56. package/dist/chunk-4ZCLCSZJ.js.map +1 -0
  57. package/dist/chunk-6XEKRSH4.js +119 -0
  58. package/dist/chunk-6XEKRSH4.js.map +1 -0
  59. package/dist/chunk-7A7J457W.js +63 -0
  60. package/dist/chunk-7A7J457W.js.map +1 -0
  61. package/dist/chunk-7DMFFGJO.js +36 -0
  62. package/dist/chunk-7DMFFGJO.js.map +1 -0
  63. package/dist/chunk-AH3JQGIV.js +36 -0
  64. package/dist/chunk-AH3JQGIV.js.map +1 -0
  65. package/dist/chunk-BGEMXQCK.js +59 -0
  66. package/dist/chunk-BGEMXQCK.js.map +1 -0
  67. package/dist/chunk-CAIVA7UA.js +42 -0
  68. package/dist/chunk-CAIVA7UA.js.map +1 -0
  69. package/dist/chunk-E237B7Y6.js +33 -0
  70. package/dist/chunk-E237B7Y6.js.map +1 -0
  71. package/dist/chunk-EIRUKSOW.js +34 -0
  72. package/dist/chunk-EIRUKSOW.js.map +1 -0
  73. package/dist/chunk-EKFTULUP.js +34 -0
  74. package/dist/chunk-EKFTULUP.js.map +1 -0
  75. package/dist/chunk-FXU6OEPZ.js +12 -0
  76. package/dist/chunk-FXU6OEPZ.js.map +1 -0
  77. package/dist/chunk-GAXVJHRD.js +104 -0
  78. package/dist/chunk-GAXVJHRD.js.map +1 -0
  79. package/dist/chunk-MFLJ2V3R.js +63 -0
  80. package/dist/chunk-MFLJ2V3R.js.map +1 -0
  81. package/dist/chunk-MV7J3V5O.js +31 -0
  82. package/dist/chunk-MV7J3V5O.js.map +1 -0
  83. package/dist/chunk-NSSO2QWC.js +63 -0
  84. package/dist/chunk-NSSO2QWC.js.map +1 -0
  85. package/dist/chunk-P4T2KKQP.js +63 -0
  86. package/dist/chunk-P4T2KKQP.js.map +1 -0
  87. package/dist/chunk-QYJNB7TS.js +43 -0
  88. package/dist/chunk-QYJNB7TS.js.map +1 -0
  89. package/dist/chunk-R43PBEHD.js +63 -0
  90. package/dist/chunk-R43PBEHD.js.map +1 -0
  91. package/dist/chunk-RKLEKAON.js +63 -0
  92. package/dist/chunk-RKLEKAON.js.map +1 -0
  93. package/dist/chunk-S6R7UAYR.js +36 -0
  94. package/dist/chunk-S6R7UAYR.js.map +1 -0
  95. package/dist/chunk-SXYLPM76.js +119 -0
  96. package/dist/chunk-SXYLPM76.js.map +1 -0
  97. package/dist/chunk-UMZNOFYA.js +33 -0
  98. package/dist/chunk-UMZNOFYA.js.map +1 -0
  99. package/dist/chunk-Z32GH5FC.js +8 -0
  100. package/dist/chunk-Z32GH5FC.js.map +1 -0
  101. package/dist/icons/down.d.cts +2 -2
  102. package/dist/icons/down.d.ts +2 -2
  103. package/dist/icons/up.d.cts +2 -2
  104. package/dist/icons/up.d.ts +2 -2
  105. package/dist/index.cjs +166 -128
  106. package/dist/index.cjs.map +1 -1
  107. package/dist/index.css +29 -2
  108. package/dist/index.css.map +1 -1
  109. package/dist/index.d.cts +2 -1
  110. package/dist/index.d.ts +2 -1
  111. package/dist/index.js +67 -67
  112. package/dist/molecules/date-picker/index.d.cts +2 -2
  113. package/dist/molecules/date-picker/index.d.ts +2 -2
  114. package/dist/molecules/expand-table/index.d.cts +3 -3
  115. package/dist/molecules/expand-table/index.d.ts +3 -3
  116. package/dist/molecules/expand-table/index.js +22 -22
  117. package/dist/molecules/expand-table/row.d.cts +3 -3
  118. package/dist/molecules/expand-table/row.d.ts +3 -3
  119. package/dist/molecules/expand-table/row.js +19 -19
  120. package/dist/molecules/index.cjs +6 -2
  121. package/dist/molecules/index.cjs.map +1 -1
  122. package/dist/molecules/index.js +23 -23
  123. package/dist/molecules/navigation.cjs +6 -2
  124. package/dist/molecules/navigation.cjs.map +1 -1
  125. package/dist/molecules/navigation.d.cts +4 -4
  126. package/dist/molecules/navigation.d.ts +4 -4
  127. package/dist/molecules/navigation.js +20 -20
  128. package/dist/theme/theme-provider.d.cts +4 -4
  129. package/dist/theme/theme-provider.d.ts +4 -4
  130. package/package.json +1 -1
  131. package/src/atoms/card.tsx +25 -3
  132. package/src/atoms/dropdown-menu.tsx +29 -1
  133. 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: () => Content3,
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,
@@ -259,10 +259,23 @@ var import_themes9 = require("@radix-ui/themes");
259
259
  var import_jsx_runtime4 = require("react/jsx-runtime");
260
260
  var Card = (0, import_react4.forwardRef)(
261
261
  (props, forwardedRef) => {
262
+ const _a = props, { borderDisable, borderRadius } = _a, rest = __objRest(_a, ["borderDisable", "borderRadius"]);
263
+ const borderInsetClassName = (0, import_react4.useMemo)(() => {
264
+ if (!borderDisable)
265
+ return "";
266
+ const { left, right, top, bottom } = borderDisable;
267
+ return [
268
+ left && "disable-inset-left",
269
+ right && "disable-inset-right",
270
+ top && "disable-inset-top",
271
+ bottom && "disable-inset-bottom"
272
+ ].filter(Boolean).join(" ");
273
+ }, [borderDisable]);
262
274
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
263
275
  import_themes9.Card,
264
- __spreadProps(__spreadValues({}, props), {
265
- "data-radius": props.borderRadius,
276
+ __spreadProps(__spreadValues({}, rest), {
277
+ className: `${borderInsetClassName} ${rest.className}`,
278
+ "data-radius": borderRadius,
266
279
  ref: forwardedRef
267
280
  })
268
281
  );
@@ -334,6 +347,27 @@ var import_themes16 = require("@radix-ui/themes");
334
347
 
335
348
  // src/atoms/dropdown-menu.tsx
336
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
+ });
337
371
 
338
372
  // src/atoms/em.tsx
339
373
  var import_themes18 = require("@radix-ui/themes");
@@ -346,12 +380,12 @@ var import_themes20 = require("@radix-ui/themes");
346
380
 
347
381
  // src/atoms/heading.tsx
348
382
  var import_themes21 = require("@radix-ui/themes");
349
- var import_react7 = require("react");
383
+ var import_react8 = require("react");
350
384
  var import_themes22 = require("@radix-ui/themes");
351
- var import_jsx_runtime7 = require("react/jsx-runtime");
385
+ var import_jsx_runtime8 = require("react/jsx-runtime");
352
386
  function Heading2(props) {
353
387
  const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
354
- const radixSize = (0, import_react7.useMemo)(() => {
388
+ const radixSize = (0, import_react8.useMemo)(() => {
355
389
  switch (variant) {
356
390
  case "subtitle1":
357
391
  return "4";
@@ -365,7 +399,7 @@ function Heading2(props) {
365
399
  return size;
366
400
  }
367
401
  }, [size, variant]);
368
- 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 }));
369
403
  }
370
404
 
371
405
  // src/atoms/hover-card.tsx
@@ -382,12 +416,12 @@ var import_themes26 = require("@radix-ui/themes");
382
416
 
383
417
  // src/atoms/link.tsx
384
418
  var import_themes27 = require("@radix-ui/themes");
385
- var import_react8 = require("react");
419
+ var import_react9 = require("react");
386
420
  var import_themes28 = require("@radix-ui/themes");
387
- var import_jsx_runtime8 = require("react/jsx-runtime");
421
+ var import_jsx_runtime9 = require("react/jsx-runtime");
388
422
  function Link(props) {
389
423
  const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
390
- const radixSize = (0, import_react8.useMemo)(() => {
424
+ const radixSize = (0, import_react9.useMemo)(() => {
391
425
  switch (variant) {
392
426
  case "caption":
393
427
  return "1";
@@ -399,7 +433,7 @@ function Link(props) {
399
433
  return size;
400
434
  }
401
435
  }, [size, variant]);
402
- 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 }));
403
437
  }
404
438
 
405
439
  // src/atoms/popover.tsx
@@ -455,12 +489,12 @@ var import_themes45 = require("@radix-ui/themes");
455
489
 
456
490
  // src/atoms/typo.tsx
457
491
  var import_themes46 = require("@radix-ui/themes");
458
- var import_react9 = require("react");
459
- var import_jsx_runtime9 = require("react/jsx-runtime");
460
- var Typo = (0, import_react9.forwardRef)(
492
+ var import_react10 = require("react");
493
+ var import_jsx_runtime10 = require("react/jsx-runtime");
494
+ var Typo = (0, import_react10.forwardRef)(
461
495
  (props, ref) => {
462
496
  const _a = props, { size, variant, children } = _a, rest = __objRest(_a, ["size", "variant", "children"]);
463
- const radixSize = (0, import_react9.useMemo)(() => {
497
+ const radixSize = (0, import_react10.useMemo)(() => {
464
498
  if (size !== void 0)
465
499
  return size;
466
500
  switch (variant) {
@@ -473,7 +507,7 @@ var Typo = (0, import_react9.forwardRef)(
473
507
  return "2";
474
508
  }
475
509
  }, [size, variant]);
476
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes46.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
510
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_themes46.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
477
511
  }
478
512
  );
479
513
  Typo.displayName = "Typo";
@@ -485,43 +519,43 @@ var import_themes47 = require("@radix-ui/themes");
485
519
  var import_themes48 = require("@radix-ui/themes");
486
520
 
487
521
  // src/atoms/collapse.tsx
488
- var import_react10 = require("react");
489
- var import_jsx_runtime10 = require("react/jsx-runtime");
522
+ var import_react11 = require("react");
523
+ var import_jsx_runtime11 = require("react/jsx-runtime");
490
524
  function Collapse(props) {
491
525
  const { children, closedHeight = "0" } = props;
492
- const [open, setOpen] = (0, import_react10.useState)(() => {
526
+ const [open, setOpen] = (0, import_react11.useState)(() => {
493
527
  return props.open || props.defaultOpen || false;
494
528
  });
495
- (0, import_react10.useEffect)(() => {
529
+ (0, import_react11.useEffect)(() => {
496
530
  if (props.open === void 0)
497
531
  return;
498
532
  setOpen(props.open);
499
533
  }, [props.open]);
500
- const ref = (0, import_react10.useRef)(null);
501
- (0, import_react10.useEffect)(() => {
534
+ const ref = (0, import_react11.useRef)(null);
535
+ (0, import_react11.useEffect)(() => {
502
536
  if (!ref.current)
503
537
  return;
504
538
  ref.current.style.maxHeight = open ? `${ref.current.scrollHeight}px` : closedHeight;
505
539
  }, [closedHeight, open]);
506
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "collapse", ref, children });
540
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "collapse", ref, children });
507
541
  }
508
542
 
509
543
  // src/atoms/spinner.tsx
510
544
  var import_themes49 = require("@radix-ui/themes");
511
545
 
512
546
  // src/atoms/pagination.tsx
513
- var import_react11 = require("react");
547
+ var import_react12 = require("react");
514
548
 
515
549
  // src/icon.ts
516
550
  var import_react_icons = require("@radix-ui/react-icons");
517
551
 
518
552
  // src/atoms/pagination.tsx
519
- var import_jsx_runtime11 = require("react/jsx-runtime");
553
+ var import_jsx_runtime12 = require("react/jsx-runtime");
520
554
  function Pagination(props) {
521
555
  const { onChange, count = 0 } = props;
522
556
  const siblingCount = 2;
523
- const [page, setPage] = (0, import_react11.useState)(() => props.page || props.defaultPage || 1);
524
- const visibleItems = (0, import_react11.useMemo)(() => {
557
+ const [page, setPage] = (0, import_react12.useState)(() => props.page || props.defaultPage || 1);
558
+ const visibleItems = (0, import_react12.useMemo)(() => {
525
559
  let start = Math.max(1, page - siblingCount);
526
560
  let end = Math.min(count, page + siblingCount);
527
561
  if (page - siblingCount <= 0 && end < count) {
@@ -531,18 +565,18 @@ function Pagination(props) {
531
565
  }
532
566
  return Array.from({ length: end - start + 1 }, (_, i) => i + start);
533
567
  }, [count, page]);
534
- (0, import_react11.useEffect)(() => {
568
+ (0, import_react12.useEffect)(() => {
535
569
  onChange == null ? void 0 : onChange(page);
536
570
  }, [onChange, page]);
537
- (0, import_react11.useEffect)(() => {
571
+ (0, import_react12.useEffect)(() => {
538
572
  if (props.page) {
539
573
  setPage(props.page);
540
574
  }
541
575
  }, [props.page]);
542
- const onClickPrev = (0, import_react11.useCallback)(() => {
576
+ const onClickPrev = (0, import_react12.useCallback)(() => {
543
577
  setPage((prev) => Math.max(1, prev - 1));
544
578
  }, []);
545
- const onClickNext = (0, import_react11.useCallback)(() => {
579
+ const onClickNext = (0, import_react12.useCallback)(() => {
546
580
  setPage((prev) => Math.min(count, prev + 1));
547
581
  }, [count]);
548
582
  const moveButtonProps = {
@@ -554,24 +588,24 @@ function Pagination(props) {
554
588
  height: 24,
555
589
  width: 24
556
590
  };
557
- const prevDisabled = (0, import_react11.useMemo)(() => {
591
+ const prevDisabled = (0, import_react12.useMemo)(() => {
558
592
  return page - siblingCount <= 1;
559
593
  }, [page]);
560
- const nextDisabled = (0, import_react11.useMemo)(() => {
594
+ const nextDisabled = (0, import_react12.useMemo)(() => {
561
595
  return page + siblingCount >= count;
562
596
  }, [count, page]);
563
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_themes19.Flex, { align: "center", className: "tipp-pagination", gap: "4", children: [
564
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
597
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_themes19.Flex, { align: "center", className: "tipp-pagination", gap: "4", children: [
598
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
565
599
  import_themes24.IconButton,
566
600
  __spreadProps(__spreadValues({
567
601
  disabled: prevDisabled,
568
602
  onClick: onClickPrev
569
603
  }, moveButtonProps), {
570
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_icons.ChevronLeftIcon, __spreadValues({}, iconSize))
604
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_icons.ChevronLeftIcon, __spreadValues({}, iconSize))
571
605
  })
572
606
  ),
573
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes19.Flex, { gap: "1", children: visibleItems.map((item) => {
574
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
607
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_themes19.Flex, { gap: "1", children: visibleItems.map((item) => {
608
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
575
609
  "button",
576
610
  {
577
611
  className: `page-button ${item === page ? "active" : ""}`,
@@ -579,45 +613,45 @@ function Pagination(props) {
579
613
  setPage(item);
580
614
  },
581
615
  type: "button",
582
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Typo, { variant: "body", children: item })
616
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Typo, { variant: "body", children: item })
583
617
  },
584
618
  item
585
619
  );
586
620
  }) }),
587
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
621
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
588
622
  import_themes24.IconButton,
589
623
  __spreadProps(__spreadValues({
590
624
  disabled: nextDisabled,
591
625
  onClick: onClickNext
592
626
  }, moveButtonProps), {
593
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_icons.ChevronRightIcon, __spreadValues({}, iconSize))
627
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_icons.ChevronRightIcon, __spreadValues({}, iconSize))
594
628
  })
595
629
  )
596
630
  ] });
597
631
  }
598
632
 
599
633
  // src/atoms/field-error-wrapper.tsx
600
- var import_jsx_runtime12 = require("react/jsx-runtime");
634
+ var import_jsx_runtime13 = require("react/jsx-runtime");
601
635
  function FieldErrorWrapper({
602
636
  children,
603
637
  error
604
638
  }) {
605
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_themes19.Flex, { direction: "column", gap: "1", children: [
639
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_themes19.Flex, { direction: "column", gap: "1", children: [
606
640
  children,
607
- error ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Typo, { color: "red", variant: "caption", children: error }) : null
641
+ error ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Typo, { color: "red", variant: "caption", children: error }) : null
608
642
  ] });
609
643
  }
610
644
 
611
645
  // src/atoms/ellipsis-tooltip.tsx
612
- var import_react12 = require("react");
613
- var import_jsx_runtime13 = require("react/jsx-runtime");
646
+ var import_react13 = require("react");
647
+ var import_jsx_runtime14 = require("react/jsx-runtime");
614
648
  function EllipsisTooltip(props) {
615
649
  const _a = props, { children, style, lineClamp = 2 } = _a, rest = __objRest(_a, ["children", "style", "lineClamp"]);
616
- const ref = (0, import_react12.useRef)(null);
617
- const [tooltipDisplay, setTooltipDisplay] = (0, import_react12.useState)(
650
+ const ref = (0, import_react13.useRef)(null);
651
+ const [tooltipDisplay, setTooltipDisplay] = (0, import_react13.useState)(
618
652
  "none"
619
653
  );
620
- (0, import_react12.useEffect)(() => {
654
+ (0, import_react13.useEffect)(() => {
621
655
  if (ref.current) {
622
656
  const typo = ref.current;
623
657
  const mouseOver = () => {
@@ -632,7 +666,7 @@ function EllipsisTooltip(props) {
632
666
  ref.current.addEventListener("mouseleave", mouseOut);
633
667
  }
634
668
  }, [children]);
635
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes48.Tooltip, { content: children, style: { display: tooltipDisplay }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
669
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes48.Tooltip, { content: children, style: { display: tooltipDisplay }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
636
670
  Typo,
637
671
  __spreadProps(__spreadValues({}, rest), {
638
672
  ref,
@@ -655,21 +689,21 @@ var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
655
689
 
656
690
  // src/theme/theme-provider.tsx
657
691
  var import_themes50 = require("@radix-ui/themes");
658
- var import_jsx_runtime14 = require("react/jsx-runtime");
692
+ var import_jsx_runtime15 = require("react/jsx-runtime");
659
693
  function ThemeProvider(props) {
660
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes50.Theme, __spreadValues({ accentColor: "iris", radius: "large" }, props));
694
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_themes50.Theme, __spreadValues({ accentColor: "iris", radius: "large" }, props));
661
695
  }
662
696
 
663
697
  // src/atoms/toast.tsx
664
698
  var import_react_icons2 = require("@radix-ui/react-icons");
665
699
  var import_react_toastify = require("react-toastify");
666
700
  var import_react_toastify2 = require("react-toastify");
667
- var import_jsx_runtime15 = require("react/jsx-runtime");
701
+ var import_jsx_runtime16 = require("react/jsx-runtime");
668
702
  function CloseButton({ closeToast }) {
669
- 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, {}) });
703
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_themes24.IconButton, { color: "gray", onClick: closeToast, variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_react_icons2.Cross1Icon, {}) });
670
704
  }
671
705
  function ToastContainer(props) {
672
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
706
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
673
707
  import_react_toastify.ToastContainer,
674
708
  __spreadValues({
675
709
  autoClose: 5e3,
@@ -687,30 +721,30 @@ function ToastContainer(props) {
687
721
  }
688
722
 
689
723
  // src/atoms/drawer.tsx
690
- var import_jsx_runtime16 = require("react/jsx-runtime");
724
+ var import_jsx_runtime17 = require("react/jsx-runtime");
691
725
  function Root3(props) {
692
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Dialog2.Root, __spreadValues({}, props));
726
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Dialog2.Root, __spreadValues({}, props));
693
727
  }
694
- function Content2(props) {
728
+ function Content3(props) {
695
729
  const _a = props, { position = "right", className } = _a, rest = __objRest(_a, ["position", "className"]);
696
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Dialog2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(ThemeProvider, { children: [
697
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Dialog2.Overlay, { className: "DrawerOverlay" }),
698
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
730
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Dialog2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(ThemeProvider, { children: [
731
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Dialog2.Overlay, { className: "DrawerOverlay" }),
732
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
699
733
  Dialog2.Content,
700
734
  __spreadValues({
701
735
  className: `DrawerContent ${position} ${className || ""}`
702
736
  }, rest)
703
737
  ),
704
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ToastContainer, {})
738
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ToastContainer, {})
705
739
  ] }) });
706
740
  }
707
741
  function Trigger2(props) {
708
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Dialog2.Trigger, __spreadValues({ asChild: true }, props));
742
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Dialog2.Trigger, __spreadValues({ asChild: true }, props));
709
743
  }
710
744
  var Drawer = {
711
745
  Root: Dialog2.Root,
712
746
  Trigger: Trigger2,
713
- Content: Content2,
747
+ Content: Content3,
714
748
  Close: Dialog2.Close,
715
749
  Title: Dialog2.Title,
716
750
  Description: Dialog2.Description
@@ -718,12 +752,12 @@ var Drawer = {
718
752
 
719
753
  // src/atoms/form.tsx
720
754
  var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
721
- var import_react13 = require("react");
722
- var import_jsx_runtime17 = require("react/jsx-runtime");
723
- var Root5 = (0, import_react13.forwardRef)(
755
+ var import_react14 = require("react");
756
+ var import_jsx_runtime18 = require("react/jsx-runtime");
757
+ var Root5 = (0, import_react14.forwardRef)(
724
758
  (_a, ref) => {
725
759
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
726
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
760
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
727
761
  RadixForm.Root,
728
762
  __spreadProps(__spreadValues({}, rest), {
729
763
  className: `FormRoot ${className || ""}`,
@@ -734,10 +768,10 @@ var Root5 = (0, import_react13.forwardRef)(
734
768
  }
735
769
  );
736
770
  Root5.displayName = "FORM_ROOT";
737
- var Field2 = (0, import_react13.forwardRef)(
771
+ var Field2 = (0, import_react14.forwardRef)(
738
772
  (_a, ref) => {
739
773
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
740
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
774
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
741
775
  RadixForm.Field,
742
776
  __spreadProps(__spreadValues({}, rest), {
743
777
  className: `FormField ${className || ""}`,
@@ -748,10 +782,10 @@ var Field2 = (0, import_react13.forwardRef)(
748
782
  }
749
783
  );
750
784
  Field2.displayName = "FORM_FIELD";
751
- var Label2 = (0, import_react13.forwardRef)(
785
+ var Label2 = (0, import_react14.forwardRef)(
752
786
  (_a, ref) => {
753
787
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
754
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
788
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
755
789
  RadixForm.Label,
756
790
  __spreadProps(__spreadValues({}, rest), {
757
791
  className: `FormLabel ${className || ""}`,
@@ -762,10 +796,10 @@ var Label2 = (0, import_react13.forwardRef)(
762
796
  }
763
797
  );
764
798
  Label2.displayName = "FORM_Label";
765
- var Message2 = (0, import_react13.forwardRef)(
799
+ var Message2 = (0, import_react14.forwardRef)(
766
800
  (_a, ref) => {
767
801
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
768
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
802
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
769
803
  RadixForm.Message,
770
804
  __spreadProps(__spreadValues({}, rest), {
771
805
  className: `FormMessage ${className || ""}`,
@@ -787,15 +821,15 @@ var Form = {
787
821
 
788
822
  // src/molecules/expand-table/index.tsx
789
823
  var import_react_table2 = require("@tanstack/react-table");
790
- var import_react15 = require("react");
824
+ var import_react16 = require("react");
791
825
 
792
826
  // src/icons/down.tsx
793
827
  var React7 = __toESM(require("react"), 1);
794
- var import_jsx_runtime18 = require("react/jsx-runtime");
828
+ var import_jsx_runtime19 = require("react/jsx-runtime");
795
829
  var TriangleArrowDownIcon = React7.forwardRef(
796
830
  (_a, forwardedRef) => {
797
831
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
798
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
832
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
799
833
  "svg",
800
834
  __spreadProps(__spreadValues({
801
835
  fill: "none",
@@ -805,7 +839,7 @@ var TriangleArrowDownIcon = React7.forwardRef(
805
839
  xmlns: "http://www.w3.org/2000/svg"
806
840
  }, props), {
807
841
  ref: forwardedRef,
808
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
842
+ children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
809
843
  "path",
810
844
  {
811
845
  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",
@@ -820,11 +854,11 @@ TriangleArrowDownIcon.displayName = "ArrowDownIcon";
820
854
 
821
855
  // src/icons/up.tsx
822
856
  var React8 = __toESM(require("react"), 1);
823
- var import_jsx_runtime19 = require("react/jsx-runtime");
857
+ var import_jsx_runtime20 = require("react/jsx-runtime");
824
858
  var TriangleArrowUpIcon = React8.forwardRef(
825
859
  (_a, forwardedRef) => {
826
860
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
827
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
861
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
828
862
  "svg",
829
863
  __spreadProps(__spreadValues({
830
864
  fill: "none",
@@ -834,7 +868,7 @@ var TriangleArrowUpIcon = React8.forwardRef(
834
868
  xmlns: "http://www.w3.org/2000/svg"
835
869
  }, props), {
836
870
  ref: forwardedRef,
837
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
871
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
838
872
  "path",
839
873
  {
840
874
  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",
@@ -849,22 +883,22 @@ TriangleArrowUpIcon.displayName = "ArrowUpIcon";
849
883
 
850
884
  // src/molecules/expand-table/row.tsx
851
885
  var import_react_table = require("@tanstack/react-table");
852
- var import_react14 = require("react");
853
- var import_jsx_runtime20 = require("react/jsx-runtime");
886
+ var import_react15 = require("react");
887
+ var import_jsx_runtime21 = require("react/jsx-runtime");
854
888
  function Row(props) {
855
889
  const { row, ExpandComp, gridColTemp } = props;
856
- const [open, setOpen] = (0, import_react14.useState)(false);
857
- const onClickRow = (0, import_react14.useCallback)(() => {
890
+ const [open, setOpen] = (0, import_react15.useState)(false);
891
+ const onClickRow = (0, import_react15.useCallback)(() => {
858
892
  var _a;
859
893
  (_a = props.onRowClick) == null ? void 0 : _a.call(props, row.original);
860
894
  setOpen((prev) => !prev);
861
895
  }, [props, row.original]);
862
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
896
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
863
897
  "div",
864
898
  {
865
899
  className: `tr-wrapper ${ExpandComp ? "expandable" : ""}`,
866
900
  children: [
867
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
901
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
868
902
  "button",
869
903
  {
870
904
  className: "tr",
@@ -874,7 +908,7 @@ function Row(props) {
874
908
  children: row.getVisibleCells().map((cell) => {
875
909
  var _a, _b;
876
910
  const autoSize = (_a = cell.column.columnDef.meta) == null ? void 0 : _a.autoSize;
877
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
911
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
878
912
  "div",
879
913
  {
880
914
  className: "td",
@@ -884,7 +918,7 @@ function Row(props) {
884
918
  },
885
919
  children: [
886
920
  (0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()),
887
- ((_b = cell.column.columnDef.meta) == null ? void 0 : _b.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
921
+ ((_b = cell.column.columnDef.meta) == null ? void 0 : _b.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
888
922
  cell.column.columnDef.meta.OpenBtn,
889
923
  {
890
924
  data: row.original,
@@ -900,7 +934,7 @@ function Row(props) {
900
934
  },
901
935
  `tr_${row.id}`
902
936
  ),
903
- 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
937
+ ExpandComp ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Collapse, { open, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "expand-comp-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ExpandComp, { row }) }) }) : null
904
938
  ]
905
939
  },
906
940
  `tr-wrapper_${row.id}`
@@ -908,10 +942,10 @@ function Row(props) {
908
942
  }
909
943
 
910
944
  // src/molecules/expand-table/index.tsx
911
- var import_jsx_runtime21 = require("react/jsx-runtime");
945
+ var import_jsx_runtime22 = require("react/jsx-runtime");
912
946
  function ExpandTable(props) {
913
947
  const { data, columns, ExpandComp, placeholder, onRowClick } = props;
914
- const [sorting, setSorting] = (0, import_react15.useState)([]);
948
+ const [sorting, setSorting] = (0, import_react16.useState)([]);
915
949
  const { getRowModel, getHeaderGroups } = (0, import_react_table2.useReactTable)({
916
950
  data: data || [],
917
951
  columns,
@@ -922,7 +956,7 @@ function ExpandTable(props) {
922
956
  },
923
957
  onSortingChange: setSorting
924
958
  });
925
- const gridColTemp = (0, import_react15.useMemo)(() => {
959
+ const gridColTemp = (0, import_react16.useMemo)(() => {
926
960
  return columns.map((col) => {
927
961
  var _a;
928
962
  if ((_a = col.meta) == null ? void 0 : _a.autoSize)
@@ -931,8 +965,8 @@ function ExpandTable(props) {
931
965
  }).join(" ");
932
966
  }, [columns]);
933
967
  const rowModels = getRowModel();
934
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "expand-table", children: [
935
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
968
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "expand-table", children: [
969
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
936
970
  "div",
937
971
  {
938
972
  className: "tr",
@@ -940,30 +974,30 @@ function ExpandTable(props) {
940
974
  children: headerGroup.headers.map((header) => {
941
975
  const sortable = header.column.getCanSort();
942
976
  const sortedState = header.column.getIsSorted();
943
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "th", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
977
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "th", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
944
978
  "button",
945
979
  {
946
980
  onClick: header.column.getToggleSortingHandler(),
947
981
  style: sortable ? { cursor: "pointer" } : void 0,
948
982
  type: "button",
949
983
  children: [
950
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Typo, { variant: "body", children: (0, import_react_table2.flexRender)(
984
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Typo, { variant: "body", children: (0, import_react_table2.flexRender)(
951
985
  header.column.columnDef.header,
952
986
  header.getContext()
953
987
  ) }),
954
- sortable ? /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
988
+ sortable ? /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
955
989
  import_themes19.Flex,
956
990
  {
957
991
  direction: "column",
958
992
  style: { marginLeft: "var(--space-2)" },
959
993
  children: [
960
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
994
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
961
995
  TriangleArrowUpIcon,
962
996
  {
963
997
  color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
964
998
  }
965
999
  ),
966
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1000
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
967
1001
  TriangleArrowDownIcon,
968
1002
  {
969
1003
  color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
@@ -979,10 +1013,10 @@ function ExpandTable(props) {
979
1013
  },
980
1014
  headerGroup.id
981
1015
  )) }),
982
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "tbody", children: [
983
- 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"),
1016
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "tbody", children: [
1017
+ rowModels.rows.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_themes19.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder"),
984
1018
  rowModels.rows.map((row) => {
985
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1019
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
986
1020
  Row,
987
1021
  {
988
1022
  ExpandComp,
@@ -998,14 +1032,14 @@ function ExpandTable(props) {
998
1032
  }
999
1033
 
1000
1034
  // src/molecules/navigation.tsx
1001
- var import_jsx_runtime22 = require("react/jsx-runtime");
1035
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1002
1036
  function Navigation({
1003
1037
  items,
1004
1038
  fontColor,
1005
1039
  backgroundColor,
1006
1040
  activeKey
1007
1041
  }) {
1008
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1042
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1009
1043
  import_themes19.Flex,
1010
1044
  {
1011
1045
  direction: "column",
@@ -1017,20 +1051,24 @@ function Navigation({
1017
1051
  },
1018
1052
  children: items == null ? void 0 : items.map((item) => {
1019
1053
  const { key, title, icon, itemRender, onClick, children } = item;
1020
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_themes19.Flex, { direction: "column", onClick, children: [
1021
- itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_themes19.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
1054
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_themes19.Flex, { direction: "column", onClick, children: [
1055
+ itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_themes19.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
1022
1056
  icon,
1023
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Typo, { variant: "subtitle", children: title })
1057
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Typo, { variant: "subtitle", children: title })
1024
1058
  ] }),
1025
1059
  children == null ? void 0 : children.map((menu) => {
1026
- return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1060
+ return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1027
1061
  Button,
1028
1062
  {
1029
1063
  className: `tipp-navigation-button ${activeKey === menu.key ? "active" : ""}`,
1030
- ml: "6",
1064
+ ml: "37px",
1031
1065
  onClick: menu.onClick,
1032
1066
  size: "large",
1033
- style: { color: "var(--white-a12)" },
1067
+ style: {
1068
+ color: "var(--white-a12)",
1069
+ height: "32px",
1070
+ paddingLeft: "var(--space-2)"
1071
+ },
1034
1072
  children: menu.title
1035
1073
  },
1036
1074
  menu.key
@@ -1043,14 +1081,14 @@ function Navigation({
1043
1081
  }
1044
1082
 
1045
1083
  // src/molecules/date-picker/index.tsx
1046
- var import_react16 = require("react");
1084
+ var import_react17 = require("react");
1047
1085
  var RDP = __toESM(require("react-datepicker"), 1);
1048
- var import_jsx_runtime23 = require("react/jsx-runtime");
1086
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1049
1087
  var ReactDatePicker = RDP.default.default || RDP.default || RDP;
1050
- var DatePicker = (0, import_react16.forwardRef)(
1088
+ var DatePicker = (0, import_react17.forwardRef)(
1051
1089
  (props, ref) => {
1052
1090
  const _a = props, { size = "medium" } = _a, rest = __objRest(_a, ["size"]);
1053
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1091
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1054
1092
  ReactDatePicker,
1055
1093
  __spreadProps(__spreadValues({
1056
1094
  dateFormat: "yyyy/MM/dd",
@@ -1078,33 +1116,33 @@ var renderCustomHeader = (props) => {
1078
1116
  } = props;
1079
1117
  const year = date.getFullYear();
1080
1118
  const month = date.getMonth();
1081
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_themes19.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
1082
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1119
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes19.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
1120
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1083
1121
  import_themes24.IconButton,
1084
1122
  {
1085
1123
  disabled: prevMonthButtonDisabled,
1086
1124
  onClick: decreaseMonth,
1087
1125
  variant: "ghost",
1088
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_icons.ChevronLeftIcon, {})
1126
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.ChevronLeftIcon, {})
1089
1127
  }
1090
1128
  ),
1091
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_themes19.Flex, { gap: "3", children: [
1092
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Heading2, { variant: "subtitle1", weight: "regular", children: [
1129
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes19.Flex, { gap: "3", children: [
1130
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Heading2, { variant: "subtitle1", weight: "regular", children: [
1093
1131
  year,
1094
1132
  "\uB144"
1095
1133
  ] }),
1096
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Heading2, { variant: "subtitle1", weight: "regular", children: [
1134
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Heading2, { variant: "subtitle1", weight: "regular", children: [
1097
1135
  month + 1,
1098
1136
  "\uC6D4"
1099
1137
  ] })
1100
1138
  ] }),
1101
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1139
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1102
1140
  import_themes24.IconButton,
1103
1141
  {
1104
1142
  disabled: nextMonthButtonDisabled,
1105
1143
  onClick: increaseMonth,
1106
1144
  variant: "ghost",
1107
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_icons.ChevronRightIcon, {})
1145
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.ChevronRightIcon, {})
1108
1146
  }
1109
1147
  )
1110
1148
  ] });
@@ -1117,22 +1155,22 @@ var import_themes51 = require("@radix-ui/themes");
1117
1155
  var uiProps = __toESM(require("@radix-ui/themes/dist/cjs/props/index.js"), 1);
1118
1156
 
1119
1157
  // src/charts/horizontal-bar-chart.tsx
1120
- var import_jsx_runtime24 = require("react/jsx-runtime");
1158
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1121
1159
  function HorizontalBarChart(props) {
1122
1160
  const { total, value, backgroundColor, barColor, height } = props;
1123
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1161
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1124
1162
  "div",
1125
1163
  {
1126
1164
  className: "tipp_horizontal-bar-chart bar-wrapper",
1127
1165
  style: { height, backgroundColor },
1128
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1166
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1129
1167
  "div",
1130
1168
  {
1131
1169
  style: {
1132
1170
  width: `${Math.round(value / total * 100)}%`,
1133
1171
  height: "100%"
1134
1172
  },
1135
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
1173
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
1136
1174
  }
1137
1175
  )
1138
1176
  }