@tipp/ui 1.2.11 → 1.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -60,76 +60,76 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
60
60
  var src_exports = {};
61
61
  __export(src_exports, {
62
62
  AlertDialog: () => import_themes.AlertDialog,
63
- ArchiveIcon: () => import_react_icons2.ArchiveIcon,
63
+ ArchiveIcon: () => import_react_icons3.ArchiveIcon,
64
64
  AspectRatio: () => import_themes2.AspectRatio,
65
65
  AutoSizingInput: () => AutoSizingInput,
66
66
  Avatar: () => Avatar,
67
- BackpackIcon: () => import_react_icons2.BackpackIcon,
67
+ BackpackIcon: () => import_react_icons3.BackpackIcon,
68
68
  Badge: () => Badge,
69
- BarChartIcon: () => import_react_icons2.BarChartIcon,
69
+ BarChartIcon: () => import_react_icons3.BarChartIcon,
70
70
  Blockquote: () => import_themes5.Blockquote,
71
- BookmarkFilledIcon: () => import_react_icons2.BookmarkFilledIcon,
72
- BookmarkIcon: () => import_react_icons2.BookmarkIcon,
71
+ BookmarkFilledIcon: () => import_react_icons3.BookmarkFilledIcon,
72
+ BookmarkIcon: () => import_react_icons3.BookmarkIcon,
73
73
  Box: () => import_themes6.Box,
74
74
  Button: () => Button,
75
- CalendarIcon: () => import_react_icons2.CalendarIcon,
75
+ CalendarIcon: () => import_react_icons3.CalendarIcon,
76
76
  Callout: () => import_themes8.Callout,
77
77
  Card: () => Card,
78
- ChatBubbleIcon: () => import_react_icons2.ChatBubbleIcon,
79
- CheckIcon: () => import_react_icons2.CheckIcon,
78
+ ChatBubbleIcon: () => import_react_icons3.ChatBubbleIcon,
79
+ CheckIcon: () => import_react_icons3.CheckIcon,
80
80
  Checkbox: () => Checkbox,
81
81
  CheckboxCards: () => import_themes11.CheckboxCards,
82
82
  CheckboxGroup: () => CheckboxGroup,
83
- ChevronDownIcon: () => import_react_icons2.ChevronDownIcon,
84
- ChevronLeftIcon: () => import_react_icons2.ChevronLeftIcon,
85
- ChevronRightIcon: () => import_react_icons2.ChevronRightIcon,
86
- ChevronUpIcon: () => import_react_icons2.ChevronUpIcon,
87
- ClipboardCopyIcon: () => import_react_icons2.ClipboardCopyIcon,
88
- ClipboardIcon: () => import_react_icons2.ClipboardIcon,
83
+ ChevronDownIcon: () => import_react_icons3.ChevronDownIcon,
84
+ ChevronLeftIcon: () => import_react_icons3.ChevronLeftIcon,
85
+ ChevronRightIcon: () => import_react_icons3.ChevronRightIcon,
86
+ ChevronUpIcon: () => import_react_icons3.ChevronUpIcon,
87
+ ClipboardCopyIcon: () => import_react_icons3.ClipboardCopyIcon,
88
+ ClipboardIcon: () => import_react_icons3.ClipboardIcon,
89
89
  Code: () => import_themes13.Code,
90
90
  Collapse: () => Collapse,
91
91
  Container: () => import_themes14.Container,
92
92
  Content: () => Content6,
93
- Cross1Icon: () => import_react_icons2.Cross1Icon,
93
+ Cross1Icon: () => import_react_icons3.Cross1Icon,
94
94
  DataList: () => import_themes15.DataList,
95
95
  DatePicker: () => DatePicker,
96
96
  Dialog: () => Dialog,
97
97
  DotNavigation: () => DotNavigation,
98
- DotsHorizontalIcon: () => import_react_icons2.DotsHorizontalIcon,
99
- DotsVerticalIcon: () => import_react_icons2.DotsVerticalIcon,
100
- DoubleArrowLeftIcon: () => import_react_icons2.DoubleArrowLeftIcon,
101
- DoubleArrowRightIcon: () => import_react_icons2.DoubleArrowRightIcon,
98
+ DotsHorizontalIcon: () => import_react_icons3.DotsHorizontalIcon,
99
+ DotsVerticalIcon: () => import_react_icons3.DotsVerticalIcon,
100
+ DoubleArrowLeftIcon: () => import_react_icons3.DoubleArrowLeftIcon,
101
+ DoubleArrowRightIcon: () => import_react_icons3.DoubleArrowRightIcon,
102
102
  Drawer: () => Drawer,
103
103
  DropdownMenu: () => DropdownMenu,
104
104
  EchartDefaultProps: () => EchartDefaultProps,
105
105
  EllipsisTooltip: () => EllipsisTooltip,
106
- Em: () => import_themes18.Em,
107
- ExclamationTriangleIcon: () => import_react_icons2.ExclamationTriangleIcon,
108
- ExitIcon: () => import_react_icons2.ExitIcon,
106
+ Em: () => import_themes19.Em,
107
+ ExclamationTriangleIcon: () => import_react_icons3.ExclamationTriangleIcon,
108
+ ExitIcon: () => import_react_icons3.ExitIcon,
109
109
  ExpandTable: () => ExpandTable,
110
110
  FieldErrorWrapper: () => FieldErrorWrapper,
111
- FileIcon: () => import_react_icons2.FileIcon,
112
- Flex: () => import_themes19.Flex,
111
+ FileIcon: () => import_react_icons3.FileIcon,
112
+ Flex: () => import_themes20.Flex,
113
113
  Form: () => Form,
114
- GearIcon: () => import_react_icons2.GearIcon,
115
- GlobeIcon: () => import_react_icons2.GlobeIcon,
116
- Grid: () => import_themes20.Grid,
114
+ GearIcon: () => import_react_icons3.GearIcon,
115
+ GlobeIcon: () => import_react_icons3.GlobeIcon,
116
+ Grid: () => import_themes21.Grid,
117
117
  Heading: () => Heading2,
118
118
  HorizontalBarChart: () => HorizontalBarChart,
119
- HoverCard: () => import_themes23.HoverCard,
120
- IconButton: () => import_themes24.IconButton,
121
- InfoCircledIcon: () => import_react_icons2.InfoCircledIcon,
119
+ HoverCard: () => import_themes24.HoverCard,
120
+ IconButton: () => import_themes16.IconButton,
121
+ InfoCircledIcon: () => import_react_icons3.InfoCircledIcon,
122
122
  Inset: () => import_themes25.Inset,
123
123
  Kbd: () => import_themes26.Kbd,
124
124
  Link: () => Link,
125
- Link2Icon: () => import_react_icons2.Link2Icon,
126
- MagnifyingGlassIcon: () => import_react_icons2.MagnifyingGlassIcon,
127
- MixerHorizontalIcon: () => import_react_icons2.MixerHorizontalIcon,
125
+ Link2Icon: () => import_react_icons3.Link2Icon,
126
+ MagnifyingGlassIcon: () => import_react_icons3.MagnifyingGlassIcon,
127
+ MixerHorizontalIcon: () => import_react_icons3.MixerHorizontalIcon,
128
128
  Navigation: () => Navigation,
129
129
  Pagination: () => Pagination,
130
- Pencil1Icon: () => import_react_icons2.Pencil1Icon,
131
- PersonIcon: () => import_react_icons2.PersonIcon,
132
- PlusIcon: () => import_react_icons2.PlusIcon,
130
+ Pencil1Icon: () => import_react_icons3.Pencil1Icon,
131
+ PersonIcon: () => import_react_icons3.PersonIcon,
132
+ PlusIcon: () => import_react_icons3.PlusIcon,
133
133
  Popover: () => import_themes29.Popover,
134
134
  Progress: () => import_themes30.Progress,
135
135
  Quote: () => import_themes31.Quote,
@@ -137,13 +137,13 @@ __export(src_exports, {
137
137
  RadioCards: () => import_themes33.RadioCards,
138
138
  RadioGroup: () => import_themes34.RadioGroup,
139
139
  Root: () => Root4,
140
- RowsIcon: () => import_react_icons2.RowsIcon,
140
+ RowsIcon: () => import_react_icons3.RowsIcon,
141
141
  ScrollArea: () => import_themes35.ScrollArea,
142
142
  Section: () => import_themes36.Section,
143
143
  SegmentedControl: () => import_themes37.SegmentedControl,
144
144
  Select: () => Select,
145
145
  Separator: () => import_themes39.Separator,
146
- Share1Icon: () => import_react_icons2.Share1Icon,
146
+ Share1Icon: () => import_react_icons3.Share1Icon,
147
147
  Skeleton: () => import_themes40.Skeleton,
148
148
  Spinner: () => import_themes49.Spinner,
149
149
  Stepper: () => Stepper,
@@ -157,7 +157,7 @@ __export(src_exports, {
157
157
  ThemeProvider: () => ThemeProvider,
158
158
  ToastContainer: () => ToastContainer,
159
159
  Tooltip: () => import_themes48.Tooltip,
160
- TrashIcon: () => import_react_icons2.TrashIcon,
160
+ TrashIcon: () => import_react_icons3.TrashIcon,
161
161
  Trigger: () => Trigger4,
162
162
  Typo: () => Typo,
163
163
  createColumnHelper: () => import_react_table2.createColumnHelper,
@@ -383,10 +383,43 @@ var import_themes15 = require("@radix-ui/themes");
383
383
 
384
384
  // src/atoms/dialog.tsx
385
385
  var RadixDialog = __toESM(require("@radix-ui/react-dialog"), 1);
386
+ var import_react_icons2 = require("@radix-ui/react-icons");
387
+ var import_themes17 = require("@radix-ui/themes");
388
+ var import_react7 = require("react");
389
+
390
+ // src/atoms/toast.tsx
386
391
  var import_react_icons = require("@radix-ui/react-icons");
392
+ var import_react_toastify = require("react-toastify");
393
+
394
+ // src/atoms/icon-button.tsx
387
395
  var import_themes16 = require("@radix-ui/themes");
388
- var import_react7 = require("react");
396
+
397
+ // src/atoms/toast.tsx
398
+ var import_react_toastify2 = require("react-toastify");
389
399
  var import_jsx_runtime7 = require("react/jsx-runtime");
400
+ function CloseButton({ closeToast }) {
401
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_themes16.IconButton, { color: "gray", onClick: closeToast, variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_icons.Cross1Icon, {}) });
402
+ }
403
+ function ToastContainer(props) {
404
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
405
+ import_react_toastify.ToastContainer,
406
+ __spreadValues({
407
+ autoClose: 5e3,
408
+ closeButton: CloseButton,
409
+ closeOnClick: true,
410
+ draggable: true,
411
+ hideProgressBar: true,
412
+ newestOnTop: true,
413
+ pauseOnFocusLoss: true,
414
+ pauseOnHover: true,
415
+ position: "bottom-right",
416
+ rtl: false
417
+ }, props)
418
+ );
419
+ }
420
+
421
+ // src/atoms/dialog.tsx
422
+ var import_jsx_runtime8 = require("react/jsx-runtime");
390
423
  function Content2(props) {
391
424
  const _a = props, {
392
425
  children,
@@ -411,25 +444,28 @@ function Content2(props) {
411
444
  (0, import_react7.useEffect)(() => {
412
445
  containerRef.current = document.getElementsByClassName("radix-themes")[0];
413
446
  }, []);
414
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(RadixDialog.Portal, { container: containerRef.current, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(RadixDialog.Overlay, { className: "DialogOverlay", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
415
- RadixDialog.Content,
416
- __spreadProps(__spreadValues({
417
- className: "DialogContent",
418
- style: __spreadValues({
419
- width,
420
- maxWidth,
421
- minWidth,
422
- maxHeight,
423
- height,
424
- minHeight
425
- }, style)
426
- }, rest), {
427
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_themes16.Flex, { direction: "column", style: { position: "relative" }, children: [
428
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(RadixDialog.Close, { asChild: true, className: "DialogClose", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Button, { color: "gray", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_icons.Cross1Icon, { height: "18px", width: "18px" }) }) }),
429
- children
430
- ] })
431
- })
432
- ) }) });
447
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(RadixDialog.Portal, { container: containerRef.current, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(RadixDialog.Overlay, { className: "DialogOverlay", children: [
448
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
449
+ RadixDialog.Content,
450
+ __spreadProps(__spreadValues({
451
+ className: "DialogContent",
452
+ style: __spreadValues({
453
+ width,
454
+ maxWidth,
455
+ minWidth,
456
+ maxHeight,
457
+ height,
458
+ minHeight
459
+ }, style)
460
+ }, rest), {
461
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_themes17.Flex, { direction: "column", style: { position: "relative" }, children: [
462
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(RadixDialog.Close, { asChild: true, className: "DialogClose", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Button, { color: "gray", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react_icons2.Cross1Icon, { height: "18px", width: "18px" }) }) }),
463
+ children
464
+ ] })
465
+ })
466
+ ),
467
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ToastContainer, {})
468
+ ] }) });
433
469
  }
434
470
  function Close2(_a) {
435
471
  var _b = _a, {
@@ -437,7 +473,7 @@ function Close2(_a) {
437
473
  } = _b, rest = __objRest(_b, [
438
474
  "children"
439
475
  ]);
440
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(RadixDialog.Close, __spreadProps(__spreadValues({ asChild: true }, rest), { children }));
476
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(RadixDialog.Close, __spreadProps(__spreadValues({ asChild: true }, rest), { children }));
441
477
  }
442
478
  function Trigger2(_a) {
443
479
  var _b = _a, {
@@ -445,7 +481,7 @@ function Trigger2(_a) {
445
481
  } = _b, rest = __objRest(_b, [
446
482
  "children"
447
483
  ]);
448
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(RadixDialog.Trigger, __spreadProps(__spreadValues({ asChild: true }, rest), { children }));
484
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(RadixDialog.Trigger, __spreadProps(__spreadValues({ asChild: true }, rest), { children }));
449
485
  }
450
486
  var Dialog = {
451
487
  Root: RadixDialog.Root,
@@ -457,17 +493,17 @@ var Dialog = {
457
493
  };
458
494
 
459
495
  // src/atoms/dropdown-menu.tsx
460
- var import_themes17 = require("@radix-ui/themes");
496
+ var import_themes18 = require("@radix-ui/themes");
461
497
  var import_react8 = require("react");
462
- var import_jsx_runtime8 = require("react/jsx-runtime");
498
+ var import_jsx_runtime9 = require("react/jsx-runtime");
463
499
  var Content3 = (0, import_react8.forwardRef)((props, ref) => {
464
500
  const _a = props, { isNavigation, className } = _a, rest = __objRest(_a, ["isNavigation", "className"]);
465
501
  const contentClassName = (0, import_react8.useMemo)(() => {
466
502
  const cls = isNavigation ? "dropdown-navigation" : "";
467
503
  return [cls, className].join(" ");
468
504
  }, [isNavigation, className]);
469
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
470
- import_themes17.DropdownMenu.Content,
505
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
506
+ import_themes18.DropdownMenu.Content,
471
507
  __spreadProps(__spreadValues({
472
508
  ref
473
509
  }, rest), {
@@ -476,24 +512,24 @@ var Content3 = (0, import_react8.forwardRef)((props, ref) => {
476
512
  );
477
513
  });
478
514
  Content3.displayName = "DropdownMenu.Content";
479
- var DropdownMenu = __spreadProps(__spreadValues({}, import_themes17.DropdownMenu), {
515
+ var DropdownMenu = __spreadProps(__spreadValues({}, import_themes18.DropdownMenu), {
480
516
  Content: Content3
481
517
  });
482
518
 
483
519
  // src/atoms/em.tsx
484
- var import_themes18 = require("@radix-ui/themes");
520
+ var import_themes19 = require("@radix-ui/themes");
485
521
 
486
522
  // src/atoms/flex.tsx
487
- var import_themes19 = require("@radix-ui/themes");
523
+ var import_themes20 = require("@radix-ui/themes");
488
524
 
489
525
  // src/atoms/grid.tsx
490
- var import_themes20 = require("@radix-ui/themes");
526
+ var import_themes21 = require("@radix-ui/themes");
491
527
 
492
528
  // src/atoms/heading.tsx
493
- var import_themes21 = require("@radix-ui/themes");
494
- var import_react9 = require("react");
495
529
  var import_themes22 = require("@radix-ui/themes");
496
- var import_jsx_runtime9 = require("react/jsx-runtime");
530
+ var import_react9 = require("react");
531
+ var import_themes23 = require("@radix-ui/themes");
532
+ var import_jsx_runtime10 = require("react/jsx-runtime");
497
533
  function Heading2(props) {
498
534
  const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
499
535
  const radixSize = (0, import_react9.useMemo)(() => {
@@ -512,13 +548,10 @@ function Heading2(props) {
512
548
  return size;
513
549
  }
514
550
  }, [size, variant]);
515
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes21.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
551
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_themes22.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
516
552
  }
517
553
 
518
554
  // src/atoms/hover-card.tsx
519
- var import_themes23 = require("@radix-ui/themes");
520
-
521
- // src/atoms/icon-button.tsx
522
555
  var import_themes24 = require("@radix-ui/themes");
523
556
 
524
557
  // src/atoms/inset.tsx
@@ -531,7 +564,7 @@ var import_themes26 = require("@radix-ui/themes");
531
564
  var import_themes27 = require("@radix-ui/themes");
532
565
  var import_react10 = require("react");
533
566
  var import_themes28 = require("@radix-ui/themes");
534
- var import_jsx_runtime10 = require("react/jsx-runtime");
567
+ var import_jsx_runtime11 = require("react/jsx-runtime");
535
568
  function Link(props) {
536
569
  const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
537
570
  const radixSize = (0, import_react10.useMemo)(() => {
@@ -546,7 +579,7 @@ function Link(props) {
546
579
  return size;
547
580
  }
548
581
  }, [size, variant]);
549
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_themes27.Link, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
582
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes27.Link, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
550
583
  }
551
584
 
552
585
  // src/atoms/popover.tsx
@@ -579,14 +612,14 @@ var import_themes37 = require("@radix-ui/themes");
579
612
  // src/atoms/select.tsx
580
613
  var import_themes38 = require("@radix-ui/themes");
581
614
  var import_react11 = require("react");
582
- var import_jsx_runtime11 = require("react/jsx-runtime");
615
+ var import_jsx_runtime12 = require("react/jsx-runtime");
583
616
  var Content4 = (0, import_react11.forwardRef)((props, ref) => {
584
617
  const _a = props, { className, isNavigation } = _a, rest = __objRest(_a, ["className", "isNavigation"]);
585
618
  const cls = (0, import_react11.useMemo)(() => {
586
619
  const etc = isNavigation ? "nav-select" : "";
587
620
  return [etc, className].join(" ");
588
621
  }, [className, isNavigation]);
589
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
622
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
590
623
  import_themes38.Select.Content,
591
624
  __spreadProps(__spreadValues({
592
625
  position: "popper"
@@ -625,7 +658,7 @@ var import_themes45 = require("@radix-ui/themes");
625
658
  // src/atoms/typo.tsx
626
659
  var import_themes46 = require("@radix-ui/themes");
627
660
  var import_react12 = require("react");
628
- var import_jsx_runtime12 = require("react/jsx-runtime");
661
+ var import_jsx_runtime13 = require("react/jsx-runtime");
629
662
  var Typo = (0, import_react12.forwardRef)(
630
663
  (props, ref) => {
631
664
  const _a = props, { size, variant, children } = _a, rest = __objRest(_a, ["size", "variant", "children"]);
@@ -642,7 +675,7 @@ var Typo = (0, import_react12.forwardRef)(
642
675
  return "2";
643
676
  }
644
677
  }, [size, variant]);
645
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_themes46.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
678
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes46.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
646
679
  }
647
680
  );
648
681
  Typo.displayName = "Typo";
@@ -655,7 +688,7 @@ var import_themes48 = require("@radix-ui/themes");
655
688
 
656
689
  // src/atoms/collapse.tsx
657
690
  var import_react13 = require("react");
658
- var import_jsx_runtime13 = require("react/jsx-runtime");
691
+ var import_jsx_runtime14 = require("react/jsx-runtime");
659
692
  function Collapse(props) {
660
693
  const { children, closedHeight = "0" } = props;
661
694
  const [open, setOpen] = (0, import_react13.useState)(() => {
@@ -672,7 +705,7 @@ function Collapse(props) {
672
705
  return;
673
706
  ref.current.style.maxHeight = open ? `${ref.current.scrollHeight}px` : closedHeight;
674
707
  }, [closedHeight, open]);
675
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "collapse", ref, children });
708
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "collapse", ref, children });
676
709
  }
677
710
 
678
711
  // src/atoms/spinner.tsx
@@ -682,10 +715,10 @@ var import_themes49 = require("@radix-ui/themes");
682
715
  var import_react14 = require("react");
683
716
 
684
717
  // src/icon.ts
685
- var import_react_icons2 = require("@radix-ui/react-icons");
718
+ var import_react_icons3 = require("@radix-ui/react-icons");
686
719
 
687
720
  // src/atoms/pagination.tsx
688
- var import_jsx_runtime14 = require("react/jsx-runtime");
721
+ var import_jsx_runtime15 = require("react/jsx-runtime");
689
722
  function Pagination(props) {
690
723
  const { onChange, count = 0, siblingCount = 2 } = props;
691
724
  const [page, setPage] = (0, import_react14.useState)(() => props.page || props.defaultPage || 1);
@@ -751,19 +784,19 @@ function Pagination(props) {
751
784
  };
752
785
  if (!page)
753
786
  return null;
754
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_themes19.Flex, { align: "center", className: "tipp-pagination", gap: "4", children: [
755
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
756
- import_themes24.IconButton,
787
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_themes20.Flex, { align: "center", className: "tipp-pagination", gap: "4", children: [
788
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
789
+ import_themes16.IconButton,
757
790
  __spreadProps(__spreadValues({
758
791
  disabled: !doublePrev,
759
792
  onClick: onClickDoublePrev
760
793
  }, moveButtonProps), {
761
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react_icons2.DoubleArrowLeftIcon, __spreadValues({}, iconSize))
794
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react_icons3.DoubleArrowLeftIcon, __spreadValues({}, iconSize))
762
795
  })
763
796
  ),
764
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes24.IconButton, __spreadProps(__spreadValues({ disabled: !prev, onClick: onClickPrev }, moveButtonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react_icons2.ChevronLeftIcon, __spreadValues({}, iconSize)) })),
765
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes19.Flex, { gap: "1", children: visibleItems.map((item) => {
766
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
797
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_themes16.IconButton, __spreadProps(__spreadValues({ disabled: !prev, onClick: onClickPrev }, moveButtonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react_icons3.ChevronLeftIcon, __spreadValues({}, iconSize)) })),
798
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_themes20.Flex, { gap: "1", children: visibleItems.map((item) => {
799
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
767
800
  "button",
768
801
  {
769
802
  className: `page-button ${item === page ? "active" : ""}`,
@@ -771,39 +804,39 @@ function Pagination(props) {
771
804
  setPage(item);
772
805
  },
773
806
  type: "button",
774
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Typo, { variant: "body", children: item })
807
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Typo, { variant: "body", children: item })
775
808
  },
776
809
  item
777
810
  );
778
811
  }) }),
779
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes24.IconButton, __spreadProps(__spreadValues({ disabled: !next, onClick: onClickNext }, moveButtonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react_icons2.ChevronRightIcon, __spreadValues({}, iconSize)) })),
780
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
781
- import_themes24.IconButton,
812
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_themes16.IconButton, __spreadProps(__spreadValues({ disabled: !next, onClick: onClickNext }, moveButtonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react_icons3.ChevronRightIcon, __spreadValues({}, iconSize)) })),
813
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
814
+ import_themes16.IconButton,
782
815
  __spreadProps(__spreadValues({
783
816
  disabled: !doubleNext,
784
817
  onClick: onClickDoubleNext
785
818
  }, moveButtonProps), {
786
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react_icons2.DoubleArrowRightIcon, __spreadValues({}, iconSize))
819
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react_icons3.DoubleArrowRightIcon, __spreadValues({}, iconSize))
787
820
  })
788
821
  )
789
822
  ] });
790
823
  }
791
824
 
792
825
  // src/atoms/field-error-wrapper.tsx
793
- var import_jsx_runtime15 = require("react/jsx-runtime");
826
+ var import_jsx_runtime16 = require("react/jsx-runtime");
794
827
  function FieldErrorWrapper({
795
828
  children,
796
829
  error
797
830
  }) {
798
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_themes19.Flex, { direction: "column", gap: "1", children: [
831
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_themes20.Flex, { direction: "column", gap: "1", children: [
799
832
  children,
800
- error ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Typo, { color: "red", variant: "caption", children: error }) : null
833
+ error ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Typo, { color: "red", variant: "caption", children: error }) : null
801
834
  ] });
802
835
  }
803
836
 
804
837
  // src/atoms/ellipsis-tooltip.tsx
805
838
  var import_react15 = require("react");
806
- var import_jsx_runtime16 = require("react/jsx-runtime");
839
+ var import_jsx_runtime17 = require("react/jsx-runtime");
807
840
  function EllipsisTooltip(props) {
808
841
  const _a = props, { children, style, lineClamp = 2 } = _a, rest = __objRest(_a, ["children", "style", "lineClamp"]);
809
842
  const ref = (0, import_react15.useRef)(null);
@@ -825,7 +858,7 @@ function EllipsisTooltip(props) {
825
858
  ref.current.addEventListener("mouseleave", mouseOut);
826
859
  }
827
860
  }, [children]);
828
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_themes48.Tooltip, { content: children, style: { display: tooltipDisplay }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
861
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_themes48.Tooltip, { content: children, style: { display: tooltipDisplay }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
829
862
  Typo,
830
863
  __spreadProps(__spreadValues({}, rest), {
831
864
  ref,
@@ -849,35 +882,9 @@ var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
849
882
 
850
883
  // src/theme/theme-provider.tsx
851
884
  var import_themes50 = require("@radix-ui/themes");
852
- var import_jsx_runtime17 = require("react/jsx-runtime");
853
- function ThemeProvider(props) {
854
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_themes50.Theme, __spreadValues({ accentColor: "iris", radius: "medium" }, props));
855
- }
856
-
857
- // src/atoms/toast.tsx
858
- var import_react_icons3 = require("@radix-ui/react-icons");
859
- var import_react_toastify = require("react-toastify");
860
- var import_react_toastify2 = require("react-toastify");
861
885
  var import_jsx_runtime18 = require("react/jsx-runtime");
862
- function CloseButton({ closeToast }) {
863
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_themes24.IconButton, { color: "gray", onClick: closeToast, variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react_icons3.Cross1Icon, {}) });
864
- }
865
- function ToastContainer(props) {
866
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
867
- import_react_toastify.ToastContainer,
868
- __spreadValues({
869
- autoClose: 5e3,
870
- closeButton: CloseButton,
871
- closeOnClick: true,
872
- draggable: true,
873
- hideProgressBar: true,
874
- newestOnTop: true,
875
- pauseOnFocusLoss: true,
876
- pauseOnHover: true,
877
- position: "bottom-right",
878
- rtl: false
879
- }, props)
880
- );
886
+ function ThemeProvider(props) {
887
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_themes50.Theme, __spreadValues({ accentColor: "iris", radius: "medium" }, props));
881
888
  }
882
889
 
883
890
  // src/atoms/drawer.tsx
@@ -1195,7 +1202,7 @@ function ExpandTable(props) {
1195
1202
  header.getContext()
1196
1203
  ) }),
1197
1204
  sortable ? /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1198
- import_themes19.Flex,
1205
+ import_themes20.Flex,
1199
1206
  {
1200
1207
  direction: "column",
1201
1208
  style: { marginLeft: "var(--space-2)" },
@@ -1223,7 +1230,7 @@ function ExpandTable(props) {
1223
1230
  headerGroup.id
1224
1231
  )) }),
1225
1232
  /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "tbody", children: [
1226
- rowModels.rows.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_themes19.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder"),
1233
+ rowModels.rows.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_themes20.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder"),
1227
1234
  rowModels.rows.map((row) => {
1228
1235
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1229
1236
  Row,
@@ -1250,7 +1257,7 @@ function Navigation({
1250
1257
  activeKey
1251
1258
  }) {
1252
1259
  return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1253
- import_themes19.Flex,
1260
+ import_themes20.Flex,
1254
1261
  {
1255
1262
  direction: "column",
1256
1263
  gap: "4",
@@ -1261,8 +1268,8 @@ function Navigation({
1261
1268
  },
1262
1269
  children: items == null ? void 0 : items.map((item) => {
1263
1270
  const { key, title, icon, itemRender, onClick, children } = item;
1264
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes19.Flex, { direction: "column", onClick, children: [
1265
- itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes19.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
1271
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes20.Flex, { direction: "column", onClick, children: [
1272
+ itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes20.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
1266
1273
  icon,
1267
1274
  /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Typo, { variant: "subtitle", children: title })
1268
1275
  ] }),
@@ -1332,17 +1339,17 @@ var renderCustomHeader = (props) => {
1332
1339
  } = props;
1333
1340
  const year = date.getFullYear();
1334
1341
  const month = date.getMonth();
1335
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes19.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
1342
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes20.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
1336
1343
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1337
- import_themes24.IconButton,
1344
+ import_themes16.IconButton,
1338
1345
  {
1339
1346
  disabled: prevMonthButtonDisabled,
1340
1347
  onClick: decreaseMonth,
1341
1348
  variant: "ghost",
1342
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react_icons2.ChevronLeftIcon, {})
1349
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react_icons3.ChevronLeftIcon, {})
1343
1350
  }
1344
1351
  ),
1345
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes19.Flex, { gap: "3", children: [
1352
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes20.Flex, { gap: "3", children: [
1346
1353
  /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
1347
1354
  year,
1348
1355
  "\uB144"
@@ -1353,12 +1360,12 @@ var renderCustomHeader = (props) => {
1353
1360
  ] })
1354
1361
  ] }),
1355
1362
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1356
- import_themes24.IconButton,
1363
+ import_themes16.IconButton,
1357
1364
  {
1358
1365
  disabled: nextMonthButtonDisabled,
1359
1366
  onClick: increaseMonth,
1360
1367
  variant: "ghost",
1361
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react_icons2.ChevronRightIcon, {})
1368
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react_icons3.ChevronRightIcon, {})
1362
1369
  }
1363
1370
  )
1364
1371
  ] });
@@ -1394,7 +1401,7 @@ function DotNavigation(props) {
1394
1401
  return;
1395
1402
  setCurrentDot(dotIndex);
1396
1403
  }, [dotIndex]);
1397
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_themes19.Flex, { children: dotCount ? Array.from({ length: dotCount }, (_, i) => i).map((_, index) => {
1404
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_themes20.Flex, { children: dotCount ? Array.from({ length: dotCount }, (_, i) => i).map((_, index) => {
1398
1405
  const isSelected = currentDot === index;
1399
1406
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1400
1407
  import_react_icons4.DotFilledIcon,
@@ -1433,7 +1440,7 @@ function Root7(props) {
1433
1440
  direction = "vertical"
1434
1441
  } = props;
1435
1442
  return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1436
- import_themes19.Flex,
1443
+ import_themes20.Flex,
1437
1444
  {
1438
1445
  gap: "3",
1439
1446
  style: {
@@ -1487,7 +1494,7 @@ function Step(props) {
1487
1494
  return IncompleteStep;
1488
1495
  }, [completed, active]);
1489
1496
  return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
1490
- import_themes19.Flex,
1497
+ import_themes20.Flex,
1491
1498
  {
1492
1499
  align: "center",
1493
1500
  direction: direction === "horizontal" ? "row" : "column",
@@ -1511,7 +1518,7 @@ function CompleteStep(props) {
1511
1518
  Icon ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, { active, completed }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1512
1519
  Avatar,
1513
1520
  {
1514
- fallback: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react_icons2.CheckIcon, { fill: color, height: 16, width: 16 }),
1521
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react_icons3.CheckIcon, { fill: color, height: 16, width: 16 }),
1515
1522
  radius: "full",
1516
1523
  size: "medium",
1517
1524
  style: {
@@ -1751,7 +1758,7 @@ function TagSelector(props) {
1751
1758
  }, [size]);
1752
1759
  return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes29.Popover.Root, { open: Boolean(filteredOptions.length) && open, children: [
1753
1760
  /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1754
- import_themes20.Grid,
1761
+ import_themes21.Grid,
1755
1762
  {
1756
1763
  align: "center",
1757
1764
  className: `tag-selector ${focus ? "focused" : ""} ${size}`,
@@ -1763,7 +1770,7 @@ function TagSelector(props) {
1763
1770
  },
1764
1771
  children: [
1765
1772
  /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1766
- import_themes19.Flex,
1773
+ import_themes20.Flex,
1767
1774
  {
1768
1775
  align: "center",
1769
1776
  gap: "1",
@@ -1823,7 +1830,7 @@ function TagSelector(props) {
1823
1830
  scrollbars: "vertical",
1824
1831
  style: { height: OPTION_HEIGHT * 8 },
1825
1832
  type: "auto",
1826
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes19.Flex, { direction: "column", children: filteredOptions.map((item, i) => {
1833
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes20.Flex, { direction: "column", children: filteredOptions.map((item, i) => {
1827
1834
  const isSelected = Boolean(
1828
1835
  selected.find((el) => el === item.id)
1829
1836
  );
@@ -1847,9 +1854,9 @@ function TagSelector(props) {
1847
1854
  boxShadow: "none"
1848
1855
  },
1849
1856
  variant: isSelected ? "soft" : "outline",
1850
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes19.Flex, { justify: "between", width: "100%", children: [
1857
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes20.Flex, { justify: "between", width: "100%", children: [
1851
1858
  item.name,
1852
- isSelected ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_icons2.CheckIcon, {}) : null
1859
+ isSelected ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_icons3.CheckIcon, {}) : null
1853
1860
  ] })
1854
1861
  },
1855
1862
  item.id