@tipp/ui 1.5.1 → 1.5.2

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 (88) hide show
  1. package/dist/app/index.cjs +102 -96
  2. package/dist/app/index.cjs.map +1 -1
  3. package/dist/app/index.js +30 -30
  4. package/dist/app/platform/coach-question-list.js +12 -12
  5. package/dist/app/platform/edit-coaching-time.js +20 -20
  6. package/dist/app/platform/edit-service-type.js +19 -19
  7. package/dist/app/platform/goal-manage-card-edit.js +18 -18
  8. package/dist/app/platform/goal-manage-card-read.js +13 -13
  9. package/dist/app/platform/on-offline-radio-card.js +17 -17
  10. package/dist/app/platform/report-card.js +17 -17
  11. package/dist/app/platform/reservation-card.js +18 -18
  12. package/dist/app/platform/session-card.cjs +54 -48
  13. package/dist/app/platform/session-card.cjs.map +1 -1
  14. package/dist/app/platform/session-card.js +21 -21
  15. package/dist/app/platform/session-review-simple-read.js +13 -13
  16. package/dist/app/platform/userInfos/coaching-customer-info/index.js +16 -16
  17. package/dist/app/platform/userInfos/coaching-customer-info/large.js +13 -13
  18. package/dist/app/platform/userInfos/coaching-customer-info/medium.js +13 -13
  19. package/dist/app/platform/userInfos/coaching-customer-info/small.js +13 -13
  20. package/dist/app/platform/userInfos/session-user-info-detail.js +13 -13
  21. package/dist/app/platform/userInfos/utils.js +12 -12
  22. package/dist/atoms/button.d.cts +1 -1
  23. package/dist/atoms/button.d.ts +1 -1
  24. package/dist/atoms/dialog.cjs +7 -1
  25. package/dist/atoms/dialog.cjs.map +1 -1
  26. package/dist/atoms/dialog.js +2 -2
  27. package/dist/atoms/drawer.js +2 -2
  28. package/dist/atoms/index.cjs +73 -67
  29. package/dist/atoms/index.cjs.map +1 -1
  30. package/dist/atoms/index.js +28 -28
  31. package/dist/chunk-6GXQGGUZ.js +64 -0
  32. package/dist/chunk-6GXQGGUZ.js.map +1 -0
  33. package/dist/chunk-AGPJA7IM.js +110 -0
  34. package/dist/chunk-AGPJA7IM.js.map +1 -0
  35. package/dist/chunk-B6XJ2W4L.js +243 -0
  36. package/dist/chunk-B6XJ2W4L.js.map +1 -0
  37. package/dist/chunk-CCYMLZTF.js +73 -0
  38. package/dist/chunk-CCYMLZTF.js.map +1 -0
  39. package/dist/chunk-GZRUTEDV.js +101 -0
  40. package/dist/chunk-GZRUTEDV.js.map +1 -0
  41. package/dist/chunk-I55PKI44.js +57 -0
  42. package/dist/chunk-I55PKI44.js.map +1 -0
  43. package/dist/chunk-IFHIVCXR.js +76 -0
  44. package/dist/chunk-IFHIVCXR.js.map +1 -0
  45. package/dist/chunk-LWPBL4WG.js +243 -0
  46. package/dist/chunk-LWPBL4WG.js.map +1 -0
  47. package/dist/chunk-MODBHLOL.js +138 -0
  48. package/dist/chunk-MODBHLOL.js.map +1 -0
  49. package/dist/chunk-PMLOM6GM.js +138 -0
  50. package/dist/chunk-PMLOM6GM.js.map +1 -0
  51. package/dist/chunk-PWD34ME3.js +76 -0
  52. package/dist/chunk-PWD34ME3.js.map +1 -0
  53. package/dist/chunk-QLPJXYNG.js +30 -0
  54. package/dist/chunk-QLPJXYNG.js.map +1 -0
  55. package/dist/chunk-STD6C6HS.js +52 -0
  56. package/dist/chunk-STD6C6HS.js.map +1 -0
  57. package/dist/chunk-UDV652HT.js +145 -0
  58. package/dist/chunk-UDV652HT.js.map +1 -0
  59. package/dist/chunk-VXTOWVUI.js +203 -0
  60. package/dist/chunk-VXTOWVUI.js.map +1 -0
  61. package/dist/chunk-WOVEXBEW.js +64 -0
  62. package/dist/chunk-WOVEXBEW.js.map +1 -0
  63. package/dist/chunk-XGFGTMZU.js +350 -0
  64. package/dist/chunk-XGFGTMZU.js.map +1 -0
  65. package/dist/chunk-XKB7JSXW.js +171 -0
  66. package/dist/chunk-XKB7JSXW.js.map +1 -0
  67. package/dist/chunk-Y2TFOMTA.js +30 -0
  68. package/dist/chunk-Y2TFOMTA.js.map +1 -0
  69. package/dist/index.cjs +182 -176
  70. package/dist/index.cjs.map +1 -1
  71. package/dist/index.js +65 -65
  72. package/dist/layouts/index.js +12 -12
  73. package/dist/layouts/response-display.js +12 -12
  74. package/dist/molecules/date-picker/date-picker-button.js +14 -14
  75. package/dist/molecules/date-picker/index.js +2 -2
  76. package/dist/molecules/expand-table/index.js +12 -12
  77. package/dist/molecules/expand-table/row.js +12 -12
  78. package/dist/molecules/form.d.cts +1 -1
  79. package/dist/molecules/form.d.ts +1 -1
  80. package/dist/molecules/index.js +17 -17
  81. package/dist/molecules/learning-post.js +2 -2
  82. package/dist/molecules/navigation.js +12 -12
  83. package/dist/molecules/radio-button-card.js +12 -12
  84. package/dist/molecules/stepper.js +2 -2
  85. package/dist/molecules/tag-selector.js +13 -13
  86. package/dist/molecules/time-select.js +12 -12
  87. package/package.json +1 -1
  88. package/src/atoms/dialog.tsx +9 -1
@@ -367,6 +367,7 @@ var import_themes15 = require("@radix-ui/themes");
367
367
  var RadixDialog = __toESM(require("@radix-ui/react-dialog"), 1);
368
368
  var import_react_icons2 = require("@radix-ui/react-icons");
369
369
  var import_themes19 = require("@radix-ui/themes");
370
+ var import_react8 = require("react");
370
371
 
371
372
  // src/atoms/toast.tsx
372
373
  var import_react_icons = require("@radix-ui/react-icons");
@@ -454,7 +455,12 @@ function Content2(props) {
454
455
  "title",
455
456
  "buttons"
456
457
  ]);
457
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes19.Theme, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(RadixDialog.Overlay, { className: "DialogOverlay", children: [
458
+ const containerRef = (0, import_react8.useRef)(null);
459
+ if (typeof document !== "undefined") {
460
+ const container = document.getElementsByClassName("radix-themes")[0];
461
+ containerRef.current = container;
462
+ }
463
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Portal, { container: containerRef.current, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes19.Theme, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(RadixDialog.Overlay, { className: "DialogOverlay", children: [
458
464
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
459
465
  RadixDialog.Content,
460
466
  __spreadProps(__spreadValues({
@@ -509,11 +515,11 @@ var Dialog = {
509
515
 
510
516
  // src/atoms/dropdown-menu.tsx
511
517
  var import_themes20 = require("@radix-ui/themes");
512
- var import_react8 = require("react");
518
+ var import_react9 = require("react");
513
519
  var import_jsx_runtime10 = require("react/jsx-runtime");
514
- var Content3 = (0, import_react8.forwardRef)((props, ref) => {
520
+ var Content3 = (0, import_react9.forwardRef)((props, ref) => {
515
521
  const _a = props, { isNavigation, className } = _a, rest = __objRest(_a, ["isNavigation", "className"]);
516
- const contentClassName = (0, import_react8.useMemo)(() => {
522
+ const contentClassName = (0, import_react9.useMemo)(() => {
517
523
  const cls = isNavigation ? "dropdown-navigation" : "";
518
524
  return [cls, className].join(" ");
519
525
  }, [isNavigation, className]);
@@ -551,12 +557,12 @@ var import_themes26 = require("@radix-ui/themes");
551
557
 
552
558
  // src/atoms/link.tsx
553
559
  var import_themes27 = require("@radix-ui/themes");
554
- var import_react9 = require("react");
560
+ var import_react10 = require("react");
555
561
  var import_themes28 = require("@radix-ui/themes");
556
562
  var import_jsx_runtime11 = require("react/jsx-runtime");
557
563
  function Link(props) {
558
564
  const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
559
- const radixSize = (0, import_react9.useMemo)(() => {
565
+ const radixSize = (0, import_react10.useMemo)(() => {
560
566
  switch (variant) {
561
567
  case "caption":
562
568
  return "1";
@@ -600,15 +606,15 @@ var import_themes37 = require("@radix-ui/themes");
600
606
 
601
607
  // src/atoms/select.tsx
602
608
  var import_themes38 = require("@radix-ui/themes");
603
- var import_react10 = require("react");
609
+ var import_react11 = require("react");
604
610
  var import_jsx_runtime12 = require("react/jsx-runtime");
605
- var SelectContext = (0, import_react10.createContext)({
611
+ var SelectContext = (0, import_react11.createContext)({
606
612
  error: false
607
613
  });
608
- var Content4 = (0, import_react10.forwardRef)((props, ref) => {
614
+ var Content4 = (0, import_react11.forwardRef)((props, ref) => {
609
615
  const _a = props, { className, isNavigation } = _a, rest = __objRest(_a, ["className", "isNavigation"]);
610
- const { error } = (0, import_react10.useContext)(SelectContext);
611
- const cls = (0, import_react10.useMemo)(() => {
616
+ const { error } = (0, import_react11.useContext)(SelectContext);
617
+ const cls = (0, import_react11.useMemo)(() => {
612
618
  const etc = isNavigation ? "nav-select" : "";
613
619
  const errorCls = error ? "tipp-error" : "";
614
620
  return [etc, errorCls, className].join(" ");
@@ -624,11 +630,11 @@ var Content4 = (0, import_react10.forwardRef)((props, ref) => {
624
630
  );
625
631
  });
626
632
  Content4.displayName = "Select.Content";
627
- var Trigger3 = (0, import_react10.forwardRef)(
633
+ var Trigger3 = (0, import_react11.forwardRef)(
628
634
  (props, ref) => {
629
635
  const _a = props, { className } = _a, rest = __objRest(_a, ["className"]);
630
- const { error } = (0, import_react10.useContext)(SelectContext);
631
- const cls = (0, import_react10.useMemo)(() => {
636
+ const { error } = (0, import_react11.useContext)(SelectContext);
637
+ const cls = (0, import_react11.useMemo)(() => {
632
638
  const errorCls = error ? "error" : "";
633
639
  return [errorCls, className].join(" ");
634
640
  }, [className, error]);
@@ -667,12 +673,12 @@ var import_themes44 = require("@radix-ui/themes");
667
673
 
668
674
  // src/atoms/text-area.tsx
669
675
  var import_themes45 = require("@radix-ui/themes");
670
- var import_react11 = require("react");
676
+ var import_react12 = require("react");
671
677
  var import_jsx_runtime13 = require("react/jsx-runtime");
672
- var TextArea = (0, import_react11.forwardRef)(
678
+ var TextArea = (0, import_react12.forwardRef)(
673
679
  (props, ref) => {
674
680
  const _a = props, { error, style, className } = _a, rest = __objRest(_a, ["error", "style", "className"]);
675
- const fieldStyle = (0, import_react11.useMemo)(() => {
681
+ const fieldStyle = (0, import_react12.useMemo)(() => {
676
682
  if (!error)
677
683
  return style;
678
684
  const errorStyle = {
@@ -695,12 +701,12 @@ TextArea.displayName = "TextArea";
695
701
 
696
702
  // src/atoms/typo.tsx
697
703
  var import_themes46 = require("@radix-ui/themes");
698
- var import_react12 = require("react");
704
+ var import_react13 = require("react");
699
705
  var import_jsx_runtime14 = require("react/jsx-runtime");
700
- var Typo = (0, import_react12.forwardRef)(
706
+ var Typo = (0, import_react13.forwardRef)(
701
707
  (props, ref) => {
702
708
  const _a = props, { size, variant, children } = _a, rest = __objRest(_a, ["size", "variant", "children"]);
703
- const radixSize = (0, import_react12.useMemo)(() => {
709
+ const radixSize = (0, import_react13.useMemo)(() => {
704
710
  if (size !== void 0)
705
711
  return size;
706
712
  switch (variant) {
@@ -720,11 +726,11 @@ Typo.displayName = "Typo";
720
726
 
721
727
  // src/atoms/text-field.tsx
722
728
  var import_themes47 = require("@radix-ui/themes");
723
- var import_react13 = require("react");
729
+ var import_react14 = require("react");
724
730
  var import_jsx_runtime15 = require("react/jsx-runtime");
725
- var Root4 = (0, import_react13.forwardRef)((props, ref) => {
731
+ var Root4 = (0, import_react14.forwardRef)((props, ref) => {
726
732
  const _a = props, { error, style, className } = _a, rest = __objRest(_a, ["error", "style", "className"]);
727
- const fieldStyle = (0, import_react13.useMemo)(() => {
733
+ const fieldStyle = (0, import_react14.useMemo)(() => {
728
734
  if (!error)
729
735
  return style;
730
736
  const errorStyle = {
@@ -749,20 +755,20 @@ var TextField = { Root: Root4, Slot: import_themes47.TextField.Slot };
749
755
  var import_themes48 = require("@radix-ui/themes");
750
756
 
751
757
  // src/atoms/collapse.tsx
752
- var import_react14 = require("react");
758
+ var import_react15 = require("react");
753
759
  var import_jsx_runtime16 = require("react/jsx-runtime");
754
760
  function Collapse(props) {
755
761
  const { children, closedHeight = "0" } = props;
756
- const [open, setOpen] = (0, import_react14.useState)(() => {
762
+ const [open, setOpen] = (0, import_react15.useState)(() => {
757
763
  return props.open || props.defaultOpen || false;
758
764
  });
759
- (0, import_react14.useEffect)(() => {
765
+ (0, import_react15.useEffect)(() => {
760
766
  if (props.open === void 0)
761
767
  return;
762
768
  setOpen(props.open);
763
769
  }, [props.open]);
764
- const ref = (0, import_react14.useRef)(null);
765
- (0, import_react14.useEffect)(() => {
770
+ const ref = (0, import_react15.useRef)(null);
771
+ (0, import_react15.useEffect)(() => {
766
772
  if (!ref.current)
767
773
  return;
768
774
  ref.current.style.maxHeight = open ? `${ref.current.scrollHeight}px` : closedHeight;
@@ -774,7 +780,7 @@ function Collapse(props) {
774
780
  var import_themes49 = require("@radix-ui/themes");
775
781
 
776
782
  // src/atoms/pagination.tsx
777
- var import_react15 = require("react");
783
+ var import_react16 = require("react");
778
784
 
779
785
  // src/icon.ts
780
786
  var import_react_icons3 = require("@radix-ui/react-icons");
@@ -783,8 +789,8 @@ var import_react_icons3 = require("@radix-ui/react-icons");
783
789
  var import_jsx_runtime17 = require("react/jsx-runtime");
784
790
  function Pagination(props) {
785
791
  const { onChange, count = 0, siblingCount = 2 } = props;
786
- const [page, setPage] = (0, import_react15.useState)(() => props.page || props.defaultPage || 1);
787
- const visibleItems = (0, import_react15.useMemo)(() => {
792
+ const [page, setPage] = (0, import_react16.useState)(() => props.page || props.defaultPage || 1);
793
+ const visibleItems = (0, import_react16.useMemo)(() => {
788
794
  let start = Math.max(1, page - siblingCount);
789
795
  let end = Math.min(count, page + siblingCount);
790
796
  if (page - siblingCount <= 0 && end < count) {
@@ -794,37 +800,37 @@ function Pagination(props) {
794
800
  }
795
801
  return Array.from({ length: end - start + 1 }, (_, i) => i + start);
796
802
  }, [count, page, siblingCount]);
797
- (0, import_react15.useEffect)(() => {
803
+ (0, import_react16.useEffect)(() => {
798
804
  onChange == null ? void 0 : onChange(page);
799
805
  }, [onChange, page]);
800
- (0, import_react15.useEffect)(() => {
806
+ (0, import_react16.useEffect)(() => {
801
807
  if (props.page) {
802
808
  setPage(props.page);
803
809
  }
804
810
  }, [props.page]);
805
- const prev = (0, import_react15.useMemo)(() => {
811
+ const prev = (0, import_react16.useMemo)(() => {
806
812
  const p = page - 1;
807
813
  return p < 1 ? void 0 : p;
808
814
  }, [page]);
809
- const next = (0, import_react15.useMemo)(() => {
815
+ const next = (0, import_react16.useMemo)(() => {
810
816
  const n = page + 1;
811
817
  return n > count ? void 0 : n;
812
818
  }, [count, page]);
813
- const onClickPrev = (0, import_react15.useCallback)(() => {
819
+ const onClickPrev = (0, import_react16.useCallback)(() => {
814
820
  prev && setPage(prev);
815
821
  }, [prev]);
816
- const onClickNext = (0, import_react15.useCallback)(() => {
822
+ const onClickNext = (0, import_react16.useCallback)(() => {
817
823
  next && setPage(next);
818
824
  }, [next]);
819
- const doublePrev = (0, import_react15.useMemo)(() => {
825
+ const doublePrev = (0, import_react16.useMemo)(() => {
820
826
  if (!visibleItems.length)
821
827
  return;
822
828
  return Math.max(0, visibleItems[0] - 1);
823
829
  }, [visibleItems]);
824
- const onClickDoublePrev = (0, import_react15.useCallback)(() => {
830
+ const onClickDoublePrev = (0, import_react16.useCallback)(() => {
825
831
  doublePrev && setPage(doublePrev);
826
832
  }, [doublePrev]);
827
- const doubleNext = (0, import_react15.useMemo)(() => {
833
+ const doubleNext = (0, import_react16.useMemo)(() => {
828
834
  if (!visibleItems.length)
829
835
  return;
830
836
  const n = visibleItems[visibleItems.length - 1] + 1;
@@ -832,7 +838,7 @@ function Pagination(props) {
832
838
  return;
833
839
  return Math.min(count, n);
834
840
  }, [count, visibleItems]);
835
- const onClickDoubleNext = (0, import_react15.useCallback)(() => {
841
+ const onClickDoubleNext = (0, import_react16.useCallback)(() => {
836
842
  doubleNext && setPage(doubleNext);
837
843
  }, [doubleNext]);
838
844
  const iconSize = {
@@ -895,15 +901,15 @@ function FieldErrorWrapper({
895
901
  }
896
902
 
897
903
  // src/atoms/ellipsis-tooltip.tsx
898
- var import_react16 = require("react");
904
+ var import_react17 = require("react");
899
905
  var import_jsx_runtime19 = require("react/jsx-runtime");
900
906
  function EllipsisTooltip(props) {
901
907
  const _a = props, { children, style, lineClamp = 2 } = _a, rest = __objRest(_a, ["children", "style", "lineClamp"]);
902
- const ref = (0, import_react16.useRef)(null);
903
- const [tooltipDisplay, setTooltipDisplay] = (0, import_react16.useState)(
908
+ const ref = (0, import_react17.useRef)(null);
909
+ const [tooltipDisplay, setTooltipDisplay] = (0, import_react17.useState)(
904
910
  "none"
905
911
  );
906
- (0, import_react16.useEffect)(() => {
912
+ (0, import_react17.useEffect)(() => {
907
913
  if (ref.current) {
908
914
  const typo = ref.current;
909
915
  const mouseOver = () => {
@@ -937,7 +943,7 @@ function EllipsisTooltip(props) {
937
943
  }
938
944
 
939
945
  // src/atoms/drawer.tsx
940
- var import_react17 = require("react");
946
+ var import_react18 = require("react");
941
947
  var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
942
948
  var import_themes50 = require("@radix-ui/themes");
943
949
 
@@ -993,8 +999,8 @@ var preventDefault2 = (e) => {
993
999
  };
994
1000
  function Content6(props) {
995
1001
  const _a = props, { position = "right", className, children } = _a, rest = __objRest(_a, ["position", "className", "children"]);
996
- const containerRef = (0, import_react17.useRef)(null);
997
- (0, import_react17.useEffect)(() => {
1002
+ const containerRef = (0, import_react18.useRef)(null);
1003
+ (0, import_react18.useEffect)(() => {
998
1004
  containerRef.current = document.getElementsByClassName("radix-themes")[0];
999
1005
  }, []);
1000
1006
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Dialog2.Portal, { container: containerRef.current, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_themes50.Theme, { children: [
@@ -1036,9 +1042,9 @@ var Drawer = {
1036
1042
 
1037
1043
  // src/molecules/form.tsx
1038
1044
  var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
1039
- var import_react18 = require("react");
1045
+ var import_react19 = require("react");
1040
1046
  var import_jsx_runtime22 = require("react/jsx-runtime");
1041
- var Root8 = (0, import_react18.forwardRef)(
1047
+ var Root8 = (0, import_react19.forwardRef)(
1042
1048
  (_a, ref) => {
1043
1049
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
1044
1050
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
@@ -1052,10 +1058,10 @@ var Root8 = (0, import_react18.forwardRef)(
1052
1058
  }
1053
1059
  );
1054
1060
  Root8.displayName = "FORM_ROOT";
1055
- var FieldContext = (0, import_react18.createContext)({
1061
+ var FieldContext = (0, import_react19.createContext)({
1056
1062
  name: ""
1057
1063
  });
1058
- var Field2 = (0, import_react18.forwardRef)(
1064
+ var Field2 = (0, import_react19.forwardRef)(
1059
1065
  (_a, ref) => {
1060
1066
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
1061
1067
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
@@ -1075,10 +1081,10 @@ function HeadingLabel(props) {
1075
1081
  function CaptionLabel(props) {
1076
1082
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption" }, props), { children: props.children }));
1077
1083
  }
1078
- var Label2 = (0, import_react18.forwardRef)(
1084
+ var Label2 = (0, import_react19.forwardRef)(
1079
1085
  (_a, ref) => {
1080
1086
  var _b = _a, { children, className, variant } = _b, rest = __objRest(_b, ["children", "className", "variant"]);
1081
- const Comp = (0, import_react18.useMemo)(() => {
1087
+ const Comp = (0, import_react19.useMemo)(() => {
1082
1088
  switch (variant) {
1083
1089
  case "title":
1084
1090
  return HeadingLabel;
@@ -1089,7 +1095,7 @@ var Label2 = (0, import_react18.forwardRef)(
1089
1095
  return Typo;
1090
1096
  }
1091
1097
  }, [variant]);
1092
- const fieldProps = (0, import_react18.useContext)(FieldContext);
1098
+ const fieldProps = (0, import_react19.useContext)(FieldContext);
1093
1099
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1094
1100
  RadixForm.Label,
1095
1101
  __spreadProps(__spreadValues({}, rest), {
@@ -1105,7 +1111,7 @@ var Label2 = (0, import_react18.forwardRef)(
1105
1111
  }
1106
1112
  );
1107
1113
  Label2.displayName = "FORM_Label";
1108
- var Message2 = (0, import_react18.forwardRef)(
1114
+ var Message2 = (0, import_react19.forwardRef)(
1109
1115
  (_a, ref) => {
1110
1116
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
1111
1117
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
@@ -1120,10 +1126,10 @@ var Message2 = (0, import_react18.forwardRef)(
1120
1126
  }
1121
1127
  );
1122
1128
  Message2.displayName = "FORM_Message";
1123
- var Control2 = (0, import_react18.forwardRef)(
1129
+ var Control2 = (0, import_react19.forwardRef)(
1124
1130
  (_a, ref) => {
1125
1131
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
1126
- const fieldProps = (0, import_react18.useContext)(FieldContext);
1132
+ const fieldProps = (0, import_react19.useContext)(FieldContext);
1127
1133
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1128
1134
  RadixForm.Control,
1129
1135
  __spreadProps(__spreadValues({}, rest), {
@@ -1145,28 +1151,28 @@ var Form = {
1145
1151
  };
1146
1152
 
1147
1153
  // src/atoms/auto-sizing-input.tsx
1148
- var import_react19 = require("react");
1154
+ var import_react20 = require("react");
1149
1155
  var import_jsx_runtime23 = require("react/jsx-runtime");
1150
- var AutoSizingInput = (0, import_react19.forwardRef)(
1156
+ var AutoSizingInput = (0, import_react20.forwardRef)(
1151
1157
  (_a, ref) => {
1152
1158
  var _b = _a, { value: _value, onChangeValue, onChange } = _b, rest = __objRest(_b, ["value", "onChangeValue", "onChange"]);
1153
- const [value, setValue] = (0, import_react19.useState)(_value);
1154
- const [width, setWidth] = (0, import_react19.useState)(0);
1155
- const span = (0, import_react19.useRef)(null);
1156
- (0, import_react19.useEffect)(() => {
1159
+ const [value, setValue] = (0, import_react20.useState)(_value);
1160
+ const [width, setWidth] = (0, import_react20.useState)(0);
1161
+ const span = (0, import_react20.useRef)(null);
1162
+ (0, import_react20.useEffect)(() => {
1157
1163
  span.current && setWidth(span.current.offsetWidth);
1158
1164
  }, [value]);
1159
- const changeHandler = (0, import_react19.useCallback)(
1165
+ const changeHandler = (0, import_react20.useCallback)(
1160
1166
  (evt) => {
1161
1167
  onChange == null ? void 0 : onChange(evt);
1162
1168
  setValue(evt.target.value);
1163
1169
  },
1164
1170
  [onChange]
1165
1171
  );
1166
- (0, import_react19.useEffect)(() => {
1172
+ (0, import_react20.useEffect)(() => {
1167
1173
  setValue(_value || "");
1168
1174
  }, [_value]);
1169
- (0, import_react19.useEffect)(() => {
1175
+ (0, import_react20.useEffect)(() => {
1170
1176
  onChangeValue == null ? void 0 : onChangeValue(value || "");
1171
1177
  }, [value, onChangeValue]);
1172
1178
  return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "auto-sizing-input wrapper", style: { width: width + 24 }, children: [