@tipp/ui 1.0.37 → 1.0.39

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 (50) hide show
  1. package/dist/atoms/card.cjs +57 -1
  2. package/dist/atoms/card.cjs.map +1 -1
  3. package/dist/atoms/card.d.cts +23 -1
  4. package/dist/atoms/card.d.ts +23 -1
  5. package/dist/atoms/card.js +1 -1
  6. package/dist/atoms/field-error-wrapper.js +2 -2
  7. package/dist/atoms/index.cjs +107 -80
  8. package/dist/atoms/index.cjs.map +1 -1
  9. package/dist/atoms/index.d.cts +2 -1
  10. package/dist/atoms/index.d.ts +2 -1
  11. package/dist/atoms/index.js +53 -53
  12. package/dist/atoms/pagination.js +3 -3
  13. package/dist/chunk-2UMG6ERT.js +29 -0
  14. package/dist/chunk-2UMG6ERT.js.map +1 -0
  15. package/dist/chunk-2WPHYT3E.js +119 -0
  16. package/dist/chunk-2WPHYT3E.js.map +1 -0
  17. package/dist/chunk-34C3EN6V.js +30 -0
  18. package/dist/chunk-34C3EN6V.js.map +1 -0
  19. package/dist/chunk-3RZUYZ77.js +39 -0
  20. package/dist/chunk-3RZUYZ77.js.map +1 -0
  21. package/dist/chunk-CAIVA7UA.js +42 -0
  22. package/dist/chunk-CAIVA7UA.js.map +1 -0
  23. package/dist/chunk-MCCH6NN7.js +28 -0
  24. package/dist/chunk-MCCH6NN7.js.map +1 -0
  25. package/dist/chunk-MV7J3V5O.js +31 -0
  26. package/dist/chunk-MV7J3V5O.js.map +1 -0
  27. package/dist/chunk-QYJNB7TS.js +43 -0
  28. package/dist/chunk-QYJNB7TS.js.map +1 -0
  29. package/dist/chunk-RDMWH747.js +119 -0
  30. package/dist/chunk-RDMWH747.js.map +1 -0
  31. package/dist/chunk-REVQ5LF7.js +29 -0
  32. package/dist/chunk-REVQ5LF7.js.map +1 -0
  33. package/dist/chunk-SXYLPM76.js +119 -0
  34. package/dist/chunk-SXYLPM76.js.map +1 -0
  35. package/dist/chunk-WXMFYTVG.js +28 -0
  36. package/dist/chunk-WXMFYTVG.js.map +1 -0
  37. package/dist/index.cjs +158 -131
  38. package/dist/index.cjs.map +1 -1
  39. package/dist/index.css +26 -2
  40. package/dist/index.css.map +1 -1
  41. package/dist/index.d.cts +2 -1
  42. package/dist/index.d.ts +2 -1
  43. package/dist/index.js +69 -69
  44. package/dist/molecules/date-picker/index.js +2 -2
  45. package/dist/molecules/expand-table/index.js +24 -24
  46. package/dist/molecules/expand-table/row.js +22 -22
  47. package/dist/molecules/index.js +28 -28
  48. package/dist/molecules/navigation.js +23 -23
  49. package/package.json +1 -1
  50. package/src/atoms/card.tsx +45 -1
package/dist/index.cjs CHANGED
@@ -70,7 +70,7 @@ __export(src_exports, {
70
70
  Box: () => import_themes6.Box,
71
71
  Button: () => Button,
72
72
  Callout: () => import_themes8.Callout,
73
- Card: () => import_themes9.Card,
73
+ Card: () => Card,
74
74
  ChatBubbleIcon: () => import_react_icons.ChatBubbleIcon,
75
75
  Checkbox: () => Checkbox,
76
76
  CheckboxCards: () => import_themes11.CheckboxCards,
@@ -254,16 +254,43 @@ Button.displayName = "Button";
254
254
  var import_themes8 = require("@radix-ui/themes");
255
255
 
256
256
  // src/atoms/card.tsx
257
+ var import_react4 = require("react");
257
258
  var import_themes9 = require("@radix-ui/themes");
259
+ var import_jsx_runtime4 = require("react/jsx-runtime");
260
+ var Card = (0, import_react4.forwardRef)(
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]);
274
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
275
+ import_themes9.Card,
276
+ __spreadProps(__spreadValues({}, rest), {
277
+ className: `${borderInsetClassName} ${rest.className}`,
278
+ "data-radius": borderRadius,
279
+ ref: forwardedRef
280
+ })
281
+ );
282
+ }
283
+ );
284
+ Card.displayName = "Card";
258
285
 
259
286
  // src/atoms/check-box.tsx
260
287
  var import_themes10 = require("@radix-ui/themes");
261
- var import_react4 = require("react");
262
- var import_jsx_runtime4 = require("react/jsx-runtime");
263
- var Checkbox = (0, import_react4.forwardRef)(
288
+ var import_react5 = require("react");
289
+ var import_jsx_runtime5 = require("react/jsx-runtime");
290
+ var Checkbox = (0, import_react5.forwardRef)(
264
291
  (props, ref) => {
265
292
  const _a = props, { size = "medium" } = _a, rest = __objRest(_a, ["size"]);
266
- const radixSize = (0, import_react4.useMemo)(() => {
293
+ const radixSize = (0, import_react5.useMemo)(() => {
267
294
  switch (size) {
268
295
  case "small":
269
296
  return "1";
@@ -273,7 +300,7 @@ var Checkbox = (0, import_react4.forwardRef)(
273
300
  return "3";
274
301
  }
275
302
  }, [size]);
276
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_themes10.Checkbox, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize }));
303
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_themes10.Checkbox, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize }));
277
304
  }
278
305
  );
279
306
  Checkbox.displayName = "Checkbox";
@@ -283,11 +310,11 @@ var import_themes11 = require("@radix-ui/themes");
283
310
 
284
311
  // src/atoms/check-box-group.tsx
285
312
  var import_themes12 = require("@radix-ui/themes");
286
- var import_react5 = require("react");
287
- var import_jsx_runtime5 = require("react/jsx-runtime");
288
- var Root = (0, import_react5.forwardRef)((props, ref) => {
313
+ var import_react6 = require("react");
314
+ var import_jsx_runtime6 = require("react/jsx-runtime");
315
+ var Root = (0, import_react6.forwardRef)((props, ref) => {
289
316
  const _a = props, { children, size } = _a, rest = __objRest(_a, ["children", "size"]);
290
- const groupSize = (0, import_react5.useMemo)(() => {
317
+ const groupSize = (0, import_react6.useMemo)(() => {
291
318
  switch (size) {
292
319
  case "small":
293
320
  return "1";
@@ -298,7 +325,7 @@ var Root = (0, import_react5.forwardRef)((props, ref) => {
298
325
  return "2";
299
326
  }
300
327
  }, [size]);
301
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_themes12.CheckboxGroup.Root, __spreadProps(__spreadValues({}, rest), { ref, size: groupSize, children }));
328
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_themes12.CheckboxGroup.Root, __spreadProps(__spreadValues({}, rest), { ref, size: groupSize, children }));
302
329
  });
303
330
  Root.displayName = "CheckboxGroup.Root";
304
331
  var CheckboxGroup = {
@@ -332,12 +359,12 @@ var import_themes20 = require("@radix-ui/themes");
332
359
 
333
360
  // src/atoms/heading.tsx
334
361
  var import_themes21 = require("@radix-ui/themes");
335
- var import_react6 = require("react");
362
+ var import_react7 = require("react");
336
363
  var import_themes22 = require("@radix-ui/themes");
337
- var import_jsx_runtime6 = require("react/jsx-runtime");
364
+ var import_jsx_runtime7 = require("react/jsx-runtime");
338
365
  function Heading2(props) {
339
366
  const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
340
- const radixSize = (0, import_react6.useMemo)(() => {
367
+ const radixSize = (0, import_react7.useMemo)(() => {
341
368
  switch (variant) {
342
369
  case "subtitle1":
343
370
  return "4";
@@ -351,7 +378,7 @@ function Heading2(props) {
351
378
  return size;
352
379
  }
353
380
  }, [size, variant]);
354
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_themes21.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
381
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_themes21.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
355
382
  }
356
383
 
357
384
  // src/atoms/hover-card.tsx
@@ -368,12 +395,12 @@ var import_themes26 = require("@radix-ui/themes");
368
395
 
369
396
  // src/atoms/link.tsx
370
397
  var import_themes27 = require("@radix-ui/themes");
371
- var import_react7 = require("react");
398
+ var import_react8 = require("react");
372
399
  var import_themes28 = require("@radix-ui/themes");
373
- var import_jsx_runtime7 = require("react/jsx-runtime");
400
+ var import_jsx_runtime8 = require("react/jsx-runtime");
374
401
  function Link(props) {
375
402
  const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
376
- const radixSize = (0, import_react7.useMemo)(() => {
403
+ const radixSize = (0, import_react8.useMemo)(() => {
377
404
  switch (variant) {
378
405
  case "caption":
379
406
  return "1";
@@ -385,7 +412,7 @@ function Link(props) {
385
412
  return size;
386
413
  }
387
414
  }, [size, variant]);
388
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_themes27.Link, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
415
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_themes27.Link, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
389
416
  }
390
417
 
391
418
  // src/atoms/popover.tsx
@@ -441,12 +468,12 @@ var import_themes45 = require("@radix-ui/themes");
441
468
 
442
469
  // src/atoms/typo.tsx
443
470
  var import_themes46 = require("@radix-ui/themes");
444
- var import_react8 = require("react");
445
- var import_jsx_runtime8 = require("react/jsx-runtime");
446
- var Typo = (0, import_react8.forwardRef)(
471
+ var import_react9 = require("react");
472
+ var import_jsx_runtime9 = require("react/jsx-runtime");
473
+ var Typo = (0, import_react9.forwardRef)(
447
474
  (props, ref) => {
448
475
  const _a = props, { size, variant, children } = _a, rest = __objRest(_a, ["size", "variant", "children"]);
449
- const radixSize = (0, import_react8.useMemo)(() => {
476
+ const radixSize = (0, import_react9.useMemo)(() => {
450
477
  if (size !== void 0)
451
478
  return size;
452
479
  switch (variant) {
@@ -459,7 +486,7 @@ var Typo = (0, import_react8.forwardRef)(
459
486
  return "2";
460
487
  }
461
488
  }, [size, variant]);
462
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_themes46.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
489
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes46.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
463
490
  }
464
491
  );
465
492
  Typo.displayName = "Typo";
@@ -471,43 +498,43 @@ var import_themes47 = require("@radix-ui/themes");
471
498
  var import_themes48 = require("@radix-ui/themes");
472
499
 
473
500
  // src/atoms/collapse.tsx
474
- var import_react9 = require("react");
475
- var import_jsx_runtime9 = require("react/jsx-runtime");
501
+ var import_react10 = require("react");
502
+ var import_jsx_runtime10 = require("react/jsx-runtime");
476
503
  function Collapse(props) {
477
504
  const { children, closedHeight = "0" } = props;
478
- const [open, setOpen] = (0, import_react9.useState)(() => {
505
+ const [open, setOpen] = (0, import_react10.useState)(() => {
479
506
  return props.open || props.defaultOpen || false;
480
507
  });
481
- (0, import_react9.useEffect)(() => {
508
+ (0, import_react10.useEffect)(() => {
482
509
  if (props.open === void 0)
483
510
  return;
484
511
  setOpen(props.open);
485
512
  }, [props.open]);
486
- const ref = (0, import_react9.useRef)(null);
487
- (0, import_react9.useEffect)(() => {
513
+ const ref = (0, import_react10.useRef)(null);
514
+ (0, import_react10.useEffect)(() => {
488
515
  if (!ref.current)
489
516
  return;
490
517
  ref.current.style.maxHeight = open ? `${ref.current.scrollHeight}px` : closedHeight;
491
518
  }, [closedHeight, open]);
492
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "collapse", ref, children });
519
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "collapse", ref, children });
493
520
  }
494
521
 
495
522
  // src/atoms/spinner.tsx
496
523
  var import_themes49 = require("@radix-ui/themes");
497
524
 
498
525
  // src/atoms/pagination.tsx
499
- var import_react10 = require("react");
526
+ var import_react11 = require("react");
500
527
 
501
528
  // src/icon.ts
502
529
  var import_react_icons = require("@radix-ui/react-icons");
503
530
 
504
531
  // src/atoms/pagination.tsx
505
- var import_jsx_runtime10 = require("react/jsx-runtime");
532
+ var import_jsx_runtime11 = require("react/jsx-runtime");
506
533
  function Pagination(props) {
507
534
  const { onChange, count = 0 } = props;
508
535
  const siblingCount = 2;
509
- const [page, setPage] = (0, import_react10.useState)(() => props.page || props.defaultPage || 1);
510
- const visibleItems = (0, import_react10.useMemo)(() => {
536
+ const [page, setPage] = (0, import_react11.useState)(() => props.page || props.defaultPage || 1);
537
+ const visibleItems = (0, import_react11.useMemo)(() => {
511
538
  let start = Math.max(1, page - siblingCount);
512
539
  let end = Math.min(count, page + siblingCount);
513
540
  if (page - siblingCount <= 0 && end < count) {
@@ -517,18 +544,18 @@ function Pagination(props) {
517
544
  }
518
545
  return Array.from({ length: end - start + 1 }, (_, i) => i + start);
519
546
  }, [count, page]);
520
- (0, import_react10.useEffect)(() => {
547
+ (0, import_react11.useEffect)(() => {
521
548
  onChange == null ? void 0 : onChange(page);
522
549
  }, [onChange, page]);
523
- (0, import_react10.useEffect)(() => {
550
+ (0, import_react11.useEffect)(() => {
524
551
  if (props.page) {
525
552
  setPage(props.page);
526
553
  }
527
554
  }, [props.page]);
528
- const onClickPrev = (0, import_react10.useCallback)(() => {
555
+ const onClickPrev = (0, import_react11.useCallback)(() => {
529
556
  setPage((prev) => Math.max(1, prev - 1));
530
557
  }, []);
531
- const onClickNext = (0, import_react10.useCallback)(() => {
558
+ const onClickNext = (0, import_react11.useCallback)(() => {
532
559
  setPage((prev) => Math.min(count, prev + 1));
533
560
  }, [count]);
534
561
  const moveButtonProps = {
@@ -540,24 +567,24 @@ function Pagination(props) {
540
567
  height: 24,
541
568
  width: 24
542
569
  };
543
- const prevDisabled = (0, import_react10.useMemo)(() => {
570
+ const prevDisabled = (0, import_react11.useMemo)(() => {
544
571
  return page - siblingCount <= 1;
545
572
  }, [page]);
546
- const nextDisabled = (0, import_react10.useMemo)(() => {
573
+ const nextDisabled = (0, import_react11.useMemo)(() => {
547
574
  return page + siblingCount >= count;
548
575
  }, [count, page]);
549
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_themes19.Flex, { align: "center", className: "tipp-pagination", gap: "4", children: [
550
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
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)(
551
578
  import_themes24.IconButton,
552
579
  __spreadProps(__spreadValues({
553
580
  disabled: prevDisabled,
554
581
  onClick: onClickPrev
555
582
  }, moveButtonProps), {
556
- children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_icons.ChevronLeftIcon, __spreadValues({}, iconSize))
583
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_icons.ChevronLeftIcon, __spreadValues({}, iconSize))
557
584
  })
558
585
  ),
559
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_themes19.Flex, { gap: "1", children: visibleItems.map((item) => {
560
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
586
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes19.Flex, { gap: "1", children: visibleItems.map((item) => {
587
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
561
588
  "button",
562
589
  {
563
590
  className: `page-button ${item === page ? "active" : ""}`,
@@ -565,45 +592,45 @@ function Pagination(props) {
565
592
  setPage(item);
566
593
  },
567
594
  type: "button",
568
- children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Typo, { variant: "body", children: item })
595
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Typo, { variant: "body", children: item })
569
596
  },
570
597
  item
571
598
  );
572
599
  }) }),
573
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
600
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
574
601
  import_themes24.IconButton,
575
602
  __spreadProps(__spreadValues({
576
603
  disabled: nextDisabled,
577
604
  onClick: onClickNext
578
605
  }, moveButtonProps), {
579
- children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_icons.ChevronRightIcon, __spreadValues({}, iconSize))
606
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_icons.ChevronRightIcon, __spreadValues({}, iconSize))
580
607
  })
581
608
  )
582
609
  ] });
583
610
  }
584
611
 
585
612
  // src/atoms/field-error-wrapper.tsx
586
- var import_jsx_runtime11 = require("react/jsx-runtime");
613
+ var import_jsx_runtime12 = require("react/jsx-runtime");
587
614
  function FieldErrorWrapper({
588
615
  children,
589
616
  error
590
617
  }) {
591
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_themes19.Flex, { direction: "column", gap: "1", children: [
618
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_themes19.Flex, { direction: "column", gap: "1", children: [
592
619
  children,
593
- error ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Typo, { color: "red", variant: "caption", children: error }) : null
620
+ error ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Typo, { color: "red", variant: "caption", children: error }) : null
594
621
  ] });
595
622
  }
596
623
 
597
624
  // src/atoms/ellipsis-tooltip.tsx
598
- var import_react11 = require("react");
599
- var import_jsx_runtime12 = require("react/jsx-runtime");
625
+ var import_react12 = require("react");
626
+ var import_jsx_runtime13 = require("react/jsx-runtime");
600
627
  function EllipsisTooltip(props) {
601
628
  const _a = props, { children, style, lineClamp = 2 } = _a, rest = __objRest(_a, ["children", "style", "lineClamp"]);
602
- const ref = (0, import_react11.useRef)(null);
603
- const [tooltipDisplay, setTooltipDisplay] = (0, import_react11.useState)(
629
+ const ref = (0, import_react12.useRef)(null);
630
+ const [tooltipDisplay, setTooltipDisplay] = (0, import_react12.useState)(
604
631
  "none"
605
632
  );
606
- (0, import_react11.useEffect)(() => {
633
+ (0, import_react12.useEffect)(() => {
607
634
  if (ref.current) {
608
635
  const typo = ref.current;
609
636
  const mouseOver = () => {
@@ -618,7 +645,7 @@ function EllipsisTooltip(props) {
618
645
  ref.current.addEventListener("mouseleave", mouseOut);
619
646
  }
620
647
  }, [children]);
621
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_themes48.Tooltip, { content: children, style: { display: tooltipDisplay }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
648
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes48.Tooltip, { content: children, style: { display: tooltipDisplay }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
622
649
  Typo,
623
650
  __spreadProps(__spreadValues({}, rest), {
624
651
  ref,
@@ -641,21 +668,21 @@ var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
641
668
 
642
669
  // src/theme/theme-provider.tsx
643
670
  var import_themes50 = require("@radix-ui/themes");
644
- var import_jsx_runtime13 = require("react/jsx-runtime");
671
+ var import_jsx_runtime14 = require("react/jsx-runtime");
645
672
  function ThemeProvider(props) {
646
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes50.Theme, __spreadValues({ accentColor: "iris", radius: "large" }, props));
673
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes50.Theme, __spreadValues({ accentColor: "iris", radius: "large" }, props));
647
674
  }
648
675
 
649
676
  // src/atoms/toast.tsx
650
677
  var import_react_icons2 = require("@radix-ui/react-icons");
651
678
  var import_react_toastify = require("react-toastify");
652
679
  var import_react_toastify2 = require("react-toastify");
653
- var import_jsx_runtime14 = require("react/jsx-runtime");
680
+ var import_jsx_runtime15 = require("react/jsx-runtime");
654
681
  function CloseButton({ closeToast }) {
655
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes24.IconButton, { color: "gray", onClick: closeToast, variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react_icons2.Cross1Icon, {}) });
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, {}) });
656
683
  }
657
684
  function ToastContainer(props) {
658
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
685
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
659
686
  import_react_toastify.ToastContainer,
660
687
  __spreadValues({
661
688
  autoClose: 5e3,
@@ -673,25 +700,25 @@ function ToastContainer(props) {
673
700
  }
674
701
 
675
702
  // src/atoms/drawer.tsx
676
- var import_jsx_runtime15 = require("react/jsx-runtime");
703
+ var import_jsx_runtime16 = require("react/jsx-runtime");
677
704
  function Root3(props) {
678
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Dialog2.Root, __spreadValues({}, props));
705
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Dialog2.Root, __spreadValues({}, props));
679
706
  }
680
707
  function Content2(props) {
681
708
  const _a = props, { position = "right", className } = _a, rest = __objRest(_a, ["position", "className"]);
682
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Dialog2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(ThemeProvider, { children: [
683
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Dialog2.Overlay, { className: "DrawerOverlay" }),
684
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
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)(
685
712
  Dialog2.Content,
686
713
  __spreadValues({
687
714
  className: `DrawerContent ${position} ${className || ""}`
688
715
  }, rest)
689
716
  ),
690
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(ToastContainer, {})
717
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ToastContainer, {})
691
718
  ] }) });
692
719
  }
693
720
  function Trigger2(props) {
694
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Dialog2.Trigger, __spreadValues({ asChild: true }, props));
721
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Dialog2.Trigger, __spreadValues({ asChild: true }, props));
695
722
  }
696
723
  var Drawer = {
697
724
  Root: Dialog2.Root,
@@ -704,12 +731,12 @@ var Drawer = {
704
731
 
705
732
  // src/atoms/form.tsx
706
733
  var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
707
- var import_react12 = require("react");
708
- var import_jsx_runtime16 = require("react/jsx-runtime");
709
- var Root5 = (0, import_react12.forwardRef)(
734
+ var import_react13 = require("react");
735
+ var import_jsx_runtime17 = require("react/jsx-runtime");
736
+ var Root5 = (0, import_react13.forwardRef)(
710
737
  (_a, ref) => {
711
738
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
712
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
739
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
713
740
  RadixForm.Root,
714
741
  __spreadProps(__spreadValues({}, rest), {
715
742
  className: `FormRoot ${className || ""}`,
@@ -720,10 +747,10 @@ var Root5 = (0, import_react12.forwardRef)(
720
747
  }
721
748
  );
722
749
  Root5.displayName = "FORM_ROOT";
723
- var Field2 = (0, import_react12.forwardRef)(
750
+ var Field2 = (0, import_react13.forwardRef)(
724
751
  (_a, ref) => {
725
752
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
726
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
753
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
727
754
  RadixForm.Field,
728
755
  __spreadProps(__spreadValues({}, rest), {
729
756
  className: `FormField ${className || ""}`,
@@ -734,10 +761,10 @@ var Field2 = (0, import_react12.forwardRef)(
734
761
  }
735
762
  );
736
763
  Field2.displayName = "FORM_FIELD";
737
- var Label2 = (0, import_react12.forwardRef)(
764
+ var Label2 = (0, import_react13.forwardRef)(
738
765
  (_a, ref) => {
739
766
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
740
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
767
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
741
768
  RadixForm.Label,
742
769
  __spreadProps(__spreadValues({}, rest), {
743
770
  className: `FormLabel ${className || ""}`,
@@ -748,10 +775,10 @@ var Label2 = (0, import_react12.forwardRef)(
748
775
  }
749
776
  );
750
777
  Label2.displayName = "FORM_Label";
751
- var Message2 = (0, import_react12.forwardRef)(
778
+ var Message2 = (0, import_react13.forwardRef)(
752
779
  (_a, ref) => {
753
780
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
754
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
781
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
755
782
  RadixForm.Message,
756
783
  __spreadProps(__spreadValues({}, rest), {
757
784
  className: `FormMessage ${className || ""}`,
@@ -773,15 +800,15 @@ var Form = {
773
800
 
774
801
  // src/molecules/expand-table/index.tsx
775
802
  var import_react_table2 = require("@tanstack/react-table");
776
- var import_react14 = require("react");
803
+ var import_react15 = require("react");
777
804
 
778
805
  // src/icons/down.tsx
779
806
  var React7 = __toESM(require("react"), 1);
780
- var import_jsx_runtime17 = require("react/jsx-runtime");
807
+ var import_jsx_runtime18 = require("react/jsx-runtime");
781
808
  var TriangleArrowDownIcon = React7.forwardRef(
782
809
  (_a, forwardedRef) => {
783
810
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
784
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
811
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
785
812
  "svg",
786
813
  __spreadProps(__spreadValues({
787
814
  fill: "none",
@@ -791,7 +818,7 @@ var TriangleArrowDownIcon = React7.forwardRef(
791
818
  xmlns: "http://www.w3.org/2000/svg"
792
819
  }, props), {
793
820
  ref: forwardedRef,
794
- children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
821
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
795
822
  "path",
796
823
  {
797
824
  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",
@@ -806,11 +833,11 @@ TriangleArrowDownIcon.displayName = "ArrowDownIcon";
806
833
 
807
834
  // src/icons/up.tsx
808
835
  var React8 = __toESM(require("react"), 1);
809
- var import_jsx_runtime18 = require("react/jsx-runtime");
836
+ var import_jsx_runtime19 = require("react/jsx-runtime");
810
837
  var TriangleArrowUpIcon = React8.forwardRef(
811
838
  (_a, forwardedRef) => {
812
839
  var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
813
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
840
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
814
841
  "svg",
815
842
  __spreadProps(__spreadValues({
816
843
  fill: "none",
@@ -820,7 +847,7 @@ var TriangleArrowUpIcon = React8.forwardRef(
820
847
  xmlns: "http://www.w3.org/2000/svg"
821
848
  }, props), {
822
849
  ref: forwardedRef,
823
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
850
+ children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
824
851
  "path",
825
852
  {
826
853
  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",
@@ -835,22 +862,22 @@ TriangleArrowUpIcon.displayName = "ArrowUpIcon";
835
862
 
836
863
  // src/molecules/expand-table/row.tsx
837
864
  var import_react_table = require("@tanstack/react-table");
838
- var import_react13 = require("react");
839
- var import_jsx_runtime19 = require("react/jsx-runtime");
865
+ var import_react14 = require("react");
866
+ var import_jsx_runtime20 = require("react/jsx-runtime");
840
867
  function Row(props) {
841
868
  const { row, ExpandComp, gridColTemp } = props;
842
- const [open, setOpen] = (0, import_react13.useState)(false);
843
- const onClickRow = (0, import_react13.useCallback)(() => {
869
+ const [open, setOpen] = (0, import_react14.useState)(false);
870
+ const onClickRow = (0, import_react14.useCallback)(() => {
844
871
  var _a;
845
872
  (_a = props.onRowClick) == null ? void 0 : _a.call(props, row.original);
846
873
  setOpen((prev) => !prev);
847
874
  }, [props, row.original]);
848
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
875
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
849
876
  "div",
850
877
  {
851
878
  className: `tr-wrapper ${ExpandComp ? "expandable" : ""}`,
852
879
  children: [
853
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
880
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
854
881
  "button",
855
882
  {
856
883
  className: "tr",
@@ -860,7 +887,7 @@ function Row(props) {
860
887
  children: row.getVisibleCells().map((cell) => {
861
888
  var _a, _b;
862
889
  const autoSize = (_a = cell.column.columnDef.meta) == null ? void 0 : _a.autoSize;
863
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
890
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
864
891
  "div",
865
892
  {
866
893
  className: "td",
@@ -870,7 +897,7 @@ function Row(props) {
870
897
  },
871
898
  children: [
872
899
  (0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()),
873
- ((_b = cell.column.columnDef.meta) == null ? void 0 : _b.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
900
+ ((_b = cell.column.columnDef.meta) == null ? void 0 : _b.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
874
901
  cell.column.columnDef.meta.OpenBtn,
875
902
  {
876
903
  data: row.original,
@@ -886,7 +913,7 @@ function Row(props) {
886
913
  },
887
914
  `tr_${row.id}`
888
915
  ),
889
- ExpandComp ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Collapse, { open, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "expand-comp-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(ExpandComp, { row }) }) }) : null
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
890
917
  ]
891
918
  },
892
919
  `tr-wrapper_${row.id}`
@@ -894,10 +921,10 @@ function Row(props) {
894
921
  }
895
922
 
896
923
  // src/molecules/expand-table/index.tsx
897
- var import_jsx_runtime20 = require("react/jsx-runtime");
924
+ var import_jsx_runtime21 = require("react/jsx-runtime");
898
925
  function ExpandTable(props) {
899
926
  const { data, columns, ExpandComp, placeholder, onRowClick } = props;
900
- const [sorting, setSorting] = (0, import_react14.useState)([]);
927
+ const [sorting, setSorting] = (0, import_react15.useState)([]);
901
928
  const { getRowModel, getHeaderGroups } = (0, import_react_table2.useReactTable)({
902
929
  data: data || [],
903
930
  columns,
@@ -908,7 +935,7 @@ function ExpandTable(props) {
908
935
  },
909
936
  onSortingChange: setSorting
910
937
  });
911
- const gridColTemp = (0, import_react14.useMemo)(() => {
938
+ const gridColTemp = (0, import_react15.useMemo)(() => {
912
939
  return columns.map((col) => {
913
940
  var _a;
914
941
  if ((_a = col.meta) == null ? void 0 : _a.autoSize)
@@ -917,8 +944,8 @@ function ExpandTable(props) {
917
944
  }).join(" ");
918
945
  }, [columns]);
919
946
  const rowModels = getRowModel();
920
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "expand-table", children: [
921
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
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)(
922
949
  "div",
923
950
  {
924
951
  className: "tr",
@@ -926,30 +953,30 @@ function ExpandTable(props) {
926
953
  children: headerGroup.headers.map((header) => {
927
954
  const sortable = header.column.getCanSort();
928
955
  const sortedState = header.column.getIsSorted();
929
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "th", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
956
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "th", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
930
957
  "button",
931
958
  {
932
959
  onClick: header.column.getToggleSortingHandler(),
933
960
  style: sortable ? { cursor: "pointer" } : void 0,
934
961
  type: "button",
935
962
  children: [
936
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Typo, { variant: "body", children: (0, import_react_table2.flexRender)(
963
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Typo, { variant: "body", children: (0, import_react_table2.flexRender)(
937
964
  header.column.columnDef.header,
938
965
  header.getContext()
939
966
  ) }),
940
- sortable ? /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
967
+ sortable ? /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
941
968
  import_themes19.Flex,
942
969
  {
943
970
  direction: "column",
944
971
  style: { marginLeft: "var(--space-2)" },
945
972
  children: [
946
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
973
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
947
974
  TriangleArrowUpIcon,
948
975
  {
949
976
  color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
950
977
  }
951
978
  ),
952
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
979
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
953
980
  TriangleArrowDownIcon,
954
981
  {
955
982
  color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
@@ -965,10 +992,10 @@ function ExpandTable(props) {
965
992
  },
966
993
  headerGroup.id
967
994
  )) }),
968
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "tbody", children: [
969
- rowModels.rows.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_themes19.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder"),
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"),
970
997
  rowModels.rows.map((row) => {
971
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
998
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
972
999
  Row,
973
1000
  {
974
1001
  ExpandComp,
@@ -984,14 +1011,14 @@ function ExpandTable(props) {
984
1011
  }
985
1012
 
986
1013
  // src/molecules/navigation.tsx
987
- var import_jsx_runtime21 = require("react/jsx-runtime");
1014
+ var import_jsx_runtime22 = require("react/jsx-runtime");
988
1015
  function Navigation({
989
1016
  items,
990
1017
  fontColor,
991
1018
  backgroundColor,
992
1019
  activeKey
993
1020
  }) {
994
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1021
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
995
1022
  import_themes19.Flex,
996
1023
  {
997
1024
  direction: "column",
@@ -1003,13 +1030,13 @@ function Navigation({
1003
1030
  },
1004
1031
  children: items == null ? void 0 : items.map((item) => {
1005
1032
  const { key, title, icon, itemRender, onClick, children } = item;
1006
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_themes19.Flex, { direction: "column", onClick, children: [
1007
- itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_themes19.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
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: [
1008
1035
  icon,
1009
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Typo, { variant: "subtitle", children: title })
1036
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Typo, { variant: "subtitle", children: title })
1010
1037
  ] }),
1011
1038
  children == null ? void 0 : children.map((menu) => {
1012
- return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1039
+ return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1013
1040
  Button,
1014
1041
  {
1015
1042
  className: `tipp-navigation-button ${activeKey === menu.key ? "active" : ""}`,
@@ -1029,14 +1056,14 @@ function Navigation({
1029
1056
  }
1030
1057
 
1031
1058
  // src/molecules/date-picker/index.tsx
1032
- var import_react15 = require("react");
1059
+ var import_react16 = require("react");
1033
1060
  var RDP = __toESM(require("react-datepicker"), 1);
1034
- var import_jsx_runtime22 = require("react/jsx-runtime");
1061
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1035
1062
  var ReactDatePicker = RDP.default.default || RDP.default || RDP;
1036
- var DatePicker = (0, import_react15.forwardRef)(
1063
+ var DatePicker = (0, import_react16.forwardRef)(
1037
1064
  (props, ref) => {
1038
1065
  const _a = props, { size = "medium" } = _a, rest = __objRest(_a, ["size"]);
1039
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1066
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1040
1067
  ReactDatePicker,
1041
1068
  __spreadProps(__spreadValues({
1042
1069
  dateFormat: "yyyy/MM/dd",
@@ -1064,33 +1091,33 @@ var renderCustomHeader = (props) => {
1064
1091
  } = props;
1065
1092
  const year = date.getFullYear();
1066
1093
  const month = date.getMonth();
1067
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_themes19.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
1068
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
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)(
1069
1096
  import_themes24.IconButton,
1070
1097
  {
1071
1098
  disabled: prevMonthButtonDisabled,
1072
1099
  onClick: decreaseMonth,
1073
1100
  variant: "ghost",
1074
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react_icons.ChevronLeftIcon, {})
1101
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_icons.ChevronLeftIcon, {})
1075
1102
  }
1076
1103
  ),
1077
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_themes19.Flex, { gap: "3", children: [
1078
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Heading2, { variant: "subtitle1", weight: "regular", children: [
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: [
1079
1106
  year,
1080
1107
  "\uB144"
1081
1108
  ] }),
1082
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Heading2, { variant: "subtitle1", weight: "regular", children: [
1109
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Heading2, { variant: "subtitle1", weight: "regular", children: [
1083
1110
  month + 1,
1084
1111
  "\uC6D4"
1085
1112
  ] })
1086
1113
  ] }),
1087
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1114
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1088
1115
  import_themes24.IconButton,
1089
1116
  {
1090
1117
  disabled: nextMonthButtonDisabled,
1091
1118
  onClick: increaseMonth,
1092
1119
  variant: "ghost",
1093
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react_icons.ChevronRightIcon, {})
1120
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_icons.ChevronRightIcon, {})
1094
1121
  }
1095
1122
  )
1096
1123
  ] });
@@ -1103,22 +1130,22 @@ var import_themes51 = require("@radix-ui/themes");
1103
1130
  var uiProps = __toESM(require("@radix-ui/themes/dist/cjs/props/index.js"), 1);
1104
1131
 
1105
1132
  // src/charts/horizontal-bar-chart.tsx
1106
- var import_jsx_runtime23 = require("react/jsx-runtime");
1133
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1107
1134
  function HorizontalBarChart(props) {
1108
1135
  const { total, value, backgroundColor, barColor, height } = props;
1109
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1136
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1110
1137
  "div",
1111
1138
  {
1112
1139
  className: "tipp_horizontal-bar-chart bar-wrapper",
1113
1140
  style: { height, backgroundColor },
1114
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1141
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1115
1142
  "div",
1116
1143
  {
1117
1144
  style: {
1118
1145
  width: `${Math.round(value / total * 100)}%`,
1119
1146
  height: "100%"
1120
1147
  },
1121
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
1148
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
1122
1149
  }
1123
1150
  )
1124
1151
  }