@iamfiro/design 0.3.2 → 0.3.4

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 (158) hide show
  1. package/agents/INDEX.md +1 -1
  2. package/agents/brand-icon/AGENTS.md +1 -1
  3. package/agents/social-login-button/AGENTS.md +4 -3
  4. package/lib/components/Accordion/Accordion2.js +87 -87
  5. package/lib/components/ActionBar/ActionBar2.js +42 -44
  6. package/lib/components/Alert/Alert2.js +61 -61
  7. package/lib/components/AppShell/AppShell2.js +70 -71
  8. package/lib/components/AreaChart/AreaChart.js +38 -40
  9. package/lib/components/BarChart/BarChart2.js +126 -126
  10. package/lib/components/BarList/BarList2.js +95 -95
  11. package/lib/components/Breadcrumb/Breadcrumb2.js +68 -66
  12. package/lib/components/Calendar/Calendar2.js +164 -164
  13. package/lib/components/Calendar/DatePicker2.js +103 -102
  14. package/lib/components/Calendar/date.js +64 -66
  15. package/lib/components/Card/Card2.js +67 -67
  16. package/lib/components/CardFrame/CardFrame2.js +43 -51
  17. package/lib/components/Chart/ChartParts.js +94 -94
  18. package/lib/components/Chart/chart2.js +52 -52
  19. package/lib/components/Chart/useChartInteraction.js +54 -54
  20. package/lib/components/ChatBubble/ChatBubble2.js +92 -92
  21. package/lib/components/ChatBubble/formatChatTime.js +35 -41
  22. package/lib/components/ChatComposer/ChatComposer2.js +63 -63
  23. package/lib/components/CodeBlock/CodeBlock2.js +61 -61
  24. package/lib/components/CodeBlock/highlight.js +84 -84
  25. package/lib/components/ColorPicker/ColorPicker2.js +387 -386
  26. package/lib/components/ColorPicker/color.js +71 -71
  27. package/lib/components/ColorPicker/presets.js +41 -46
  28. package/lib/components/Combobox/Combobox2.js +117 -118
  29. package/lib/components/CommandMenu/CommandMenu.js +127 -127
  30. package/lib/components/Comment/Comment2.js +86 -60
  31. package/lib/components/ContextMenu/ContextMenu2.js +77 -75
  32. package/lib/components/DataGrid/DataGrid2.js +1192 -1190
  33. package/lib/components/DataGrid/GridPopover.js +94 -94
  34. package/lib/components/DataGrid/anchor.js +34 -31
  35. package/lib/components/DataGrid/model.js +284 -283
  36. package/lib/components/DataGrid/panels.js +398 -399
  37. package/lib/components/DataGrid/typeMeta.js +51 -50
  38. package/lib/components/DataGrid/types.js +38 -39
  39. package/lib/components/DescriptionList/DescriptionList2.js +103 -103
  40. package/lib/components/Dialog/AlertDialog.js +79 -78
  41. package/lib/components/Dialog/Dialog2.js +59 -59
  42. package/lib/components/Dialog/modal.js +44 -46
  43. package/lib/components/Drawer/Drawer2.js +130 -129
  44. package/lib/components/DropdownMenu/DropdownMenu2.js +235 -233
  45. package/lib/components/DropdownMenu/menuCore.js +69 -42
  46. package/lib/components/Dropzone/Dropzone2.js +79 -78
  47. package/lib/components/EmptyState/EmptyState2.js +34 -35
  48. package/lib/components/FileChip/FileChip2.js +73 -73
  49. package/lib/components/FileUpload/FileUpload.js +159 -159
  50. package/lib/components/FilterChips/FilterChips2.js +61 -61
  51. package/lib/components/FunnelChart/FunnelChart2.js +161 -161
  52. package/lib/components/FunnelChart/funnel.js +48 -44
  53. package/lib/components/Highlight/Highlight2.js +43 -43
  54. package/lib/components/HoverCard/HoverCard.js +59 -84
  55. package/lib/components/InlineDiff/InlineDiff2.js +112 -112
  56. package/lib/components/InlineDiff/diff.js +90 -90
  57. package/lib/components/InlineDiff/useDiffReview.js +64 -63
  58. package/lib/components/Kanban/Kanban2.js +386 -387
  59. package/lib/components/Kanban/KanbanCard.js +70 -95
  60. package/lib/components/Kanban/move.js +50 -46
  61. package/lib/components/LineChart/LineChart2.js +211 -211
  62. package/lib/components/List/List2.js +53 -54
  63. package/lib/components/Listbox/Listbox2.js +115 -115
  64. package/lib/components/Marker/Marker2.js +56 -61
  65. package/lib/components/Menubar/Menubar2.js +144 -141
  66. package/lib/components/MultiSelect/MultiSelect2.js +108 -108
  67. package/lib/components/NavigationMenu/NavigationMenu2.js +298 -299
  68. package/lib/components/NoticeStack/NoticeStack2.js +84 -84
  69. package/lib/components/NumberStepper/NumberStepper2.js +65 -66
  70. package/lib/components/OtpInput/OtpInput2.js +70 -69
  71. package/lib/components/Pagination/Pagination2.js +106 -106
  72. package/lib/components/Pagination/paginationRange.js +37 -39
  73. package/lib/components/PhoneInput/PhoneInput.js +87 -88
  74. package/lib/components/PieChart/PieChart2.js +160 -160
  75. package/lib/components/PieChart/arc.js +65 -62
  76. package/lib/components/PieChart/useArcTween.js +53 -60
  77. package/lib/components/Popover/Popover2.js +62 -62
  78. package/lib/components/ProgressTracker/ProgressTracker2.js +121 -121
  79. package/lib/components/Rating/Rating2.js +82 -81
  80. package/lib/components/Resizable/Resizable2.js +126 -127
  81. package/lib/components/Resizable/layout.js +73 -73
  82. package/lib/components/ScaledPreview/ScaledPreview2.js +68 -67
  83. package/lib/components/ScatterChart/ScatterChart2.js +214 -213
  84. package/lib/components/ScatterChart/scatter.js +47 -49
  85. package/lib/components/ScrollArea/ScrollArea2.js +117 -118
  86. package/lib/components/Select/Select2.js +78 -79
  87. package/lib/components/Sidebar/Sidebar2.js +69 -69
  88. package/lib/components/Skeleton/Skeleton2.js +57 -57
  89. package/lib/components/Slider/Slider2.js +73 -74
  90. package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -68
  91. package/lib/components/SparkChart/SparkChart2.js +145 -145
  92. package/lib/components/SparkChart/spark.js +64 -42
  93. package/lib/components/Sparkbar/Sparkbar2.js +60 -60
  94. package/lib/components/SplitView/SplitView2.js +51 -52
  95. package/lib/components/Stat/Stat2.js +90 -90
  96. package/lib/components/StepList/StepList2.js +70 -70
  97. package/lib/components/Table/Table2.js +70 -70
  98. package/lib/components/Tabs/Tabs2.js +81 -81
  99. package/lib/components/TagInput/TagInput2.js +220 -217
  100. package/lib/components/TimePicker/TimePicker2.js +187 -186
  101. package/lib/components/TimePicker/time.js +63 -62
  102. package/lib/components/Timeline/Timeline2.js +199 -199
  103. package/lib/components/Timeline/scale.js +67 -64
  104. package/lib/components/Toast/Toaster.js +100 -98
  105. package/lib/components/Toast/store.js +90 -94
  106. package/lib/components/ToggleGroup/ToggleGroup2.js +76 -76
  107. package/lib/components/Toolbar/Toolbar2.js +163 -161
  108. package/lib/components/Tracker/Tracker2.js +82 -82
  109. package/lib/components/TreeDiagram/TreeDiagram2.js +123 -124
  110. package/lib/components/TreeView/TreeView2.js +154 -152
  111. package/lib/hooks/timing.js +31 -30
  112. package/lib/hooks/useControllableState.js +37 -38
  113. package/lib/hooks/useCountdown.js +53 -56
  114. package/lib/hooks/useDigitInput.js +66 -41
  115. package/lib/hooks/useDismiss.js +55 -58
  116. package/lib/hooks/useElapsed.js +57 -55
  117. package/lib/hooks/useFloating.js +44 -44
  118. package/lib/hooks/useFocusTrap.js +70 -46
  119. package/lib/hooks/usePresence.js +23 -22
  120. package/lib/hooks/usePressToOpen.js +51 -51
  121. package/lib/hooks/useScrollLock.js +57 -58
  122. package/lib/hooks/useSelection.js +49 -52
  123. package/lib/index.js +65 -65
  124. package/lib/primitives/AspectRatio2.js +57 -57
  125. package/lib/primitives/BrandIcon.js +189 -158
  126. package/lib/primitives/ColorDot2.js +50 -45
  127. package/lib/primitives/CopyButton2.js +52 -50
  128. package/lib/primitives/CountBadge2.js +53 -55
  129. package/lib/primitives/Countdown2.js +28 -25
  130. package/lib/primitives/Delta2.js +41 -41
  131. package/lib/primitives/Elapsed.js +47 -47
  132. package/lib/primitives/FileIcon2.js +86 -86
  133. package/lib/primitives/Flag2.js +122 -122
  134. package/lib/primitives/IconStack2.js +55 -31
  135. package/lib/primitives/IconTile2.js +43 -43
  136. package/lib/primitives/Kbd2.js +55 -55
  137. package/lib/primitives/Layout2.js +78 -78
  138. package/lib/primitives/Link2.js +39 -36
  139. package/lib/primitives/MaskedText2.js +74 -52
  140. package/lib/primitives/Progress2.js +67 -66
  141. package/lib/primitives/RelativeTime.js +54 -61
  142. package/lib/primitives/SearchInput2.js +45 -45
  143. package/lib/primitives/SelectorButton2.js +72 -76
  144. package/lib/primitives/Spinner2.js +56 -56
  145. package/lib/primitives/StatusIcon2.js +63 -63
  146. package/lib/primitives/Swatch2.js +55 -61
  147. package/lib/primitives/Tooltip2.js +78 -78
  148. package/lib/primitives/Typography2.js +53 -53
  149. package/lib/primitives/formatCountdown.js +30 -29
  150. package/lib/primitives/formatElapsed.js +46 -49
  151. package/lib/primitives/formatRelativeTime.js +76 -50
  152. package/lib/primitives/hotkey.js +80 -80
  153. package/lib/primitives/index.js +169 -168
  154. package/lib/primitives/maskValue.js +55 -50
  155. package/lib/style.css +1 -1
  156. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
  157. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  158. package/package.json +1 -1
@@ -1,162 +1,161 @@
1
1
  "use client";
2
- const e = a;
3
- (function(e, t) {
4
- let n = a, r = e();
2
+ const e = t;
3
+ (function(e, n) {
4
+ let r = t, i = e();
5
5
  for (;;) try {
6
- if (-parseInt(n(363)) / 1 * (parseInt(n(372)) / 2) + -parseInt(n(361)) / 3 + parseInt(n(383)) / 4 * (parseInt(n(344)) / 5) + parseInt(n(347)) / 6 + parseInt(n(354)) / 7 + parseInt(n(370)) / 8 + -parseInt(n(365)) / 9 == t) break;
7
- r.push(r.shift());
6
+ if (parseInt(r(486)) / 1 * (parseInt(r(512)) / 2) + -parseInt(r(482)) / 3 + parseInt(r(502)) / 4 + parseInt(r(516)) / 5 * (-parseInt(r(485)) / 6) + parseInt(r(520)) / 7 * (-parseInt(r(517)) / 8) + -parseInt(r(487)) / 9 + parseInt(r(497)) / 10 * (parseInt(r(495)) / 11) == n) break;
7
+ i.push(i.shift());
8
8
  } catch {
9
- r.push(r.shift());
9
+ i.push(i.shift());
10
10
  }
11
- })(r, 913251);
12
- import { Flag as t } from "../../primitives/Flag2.js";
13
- import { useControllableState as n } from "../../hooks/useControllableState.js";
14
- function r() {
15
- let e = /* @__PURE__ */ "iYmJiYmGiYmJiYmJiW.iYmJlsmJiYmTiYmJiW.iYmJicmJiYmGiYmJiW.C3rHCNrZv2L0Aa.C2XPy2u.mdKWmtiZndu2nZG.C29YDa.DhjPBq.ntjyEwPLtKi.BwfW.zM9JDxm.mtmXmJm0nty3odK.zgLHBa.mdKXmJm0nty3oa.ntqXmdG1ALPLr1f6.iYmGiYmGiYmGiYmGiYm.y3vYCMvUDa.nZqWndi3meXkEhfhwq.y2XPCgjVyxjKrgf0yq.Aw5WDxq.Cgf0DgvYBG.67kG7yQ464kO.mde1mtiZndu2nZG5.BgvUz3rO.mZK0nJa2ogvuy3zUqW.DgvS.64Ya7zwC66+86RwT.mdeWmtiZndu2nZG.Dhj1BMS.CMvWBgfJzq.AgLKzgvU.mtCYmJy1n05ru2z5AG.mJaXntu1mdeYmW.mZnRENfwB0C.z2v0rgf0yq.ody3mJK2n3H1q0XVCq.iYmJicmJiYaJiYmJ.zMLUza.y29Kzq.CMvM.mJqWotuYme1qzKLvvG.DgvSlw5HDgLVBMfS.nJm5mtHZAvPIvhO.7zse656r7iQK.C3bSAxq".split(".");
16
- return r = function() {
17
- return e;
18
- }, r();
19
- }
20
- import { Input as i } from "../../primitives/index.js";
21
- function a(e, t) {
22
- e -= 342;
23
- let n = r(), i = n[e];
24
- a.bVFrzK === void 0 && (a.zkFQHx = function(e) {
11
+ })(m, 466002);
12
+ function t(e, n) {
13
+ e -= 477;
14
+ let r = m(), i = r[e];
15
+ t.ciUfQV === void 0 && (t.IlGFYq = function(e) {
25
16
  let t = "", n = "";
26
17
  for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
27
18
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
28
19
  return decodeURIComponent(n);
29
- }, a.eRlBaa = {}, a.bVFrzK = !0);
30
- let o = n[0];
31
- a.KUPAOA !== o && (a.eRlBaa = {}, a.KUPAOA = o);
32
- let s = a.eRlBaa[e];
33
- return s === void 0 ? (i = a.zkFQHx(i), a.eRlBaa[e] = i) : i = s, i;
20
+ }, t.uNAdcg = {}, t.ciUfQV = !0);
21
+ let a = r[0];
22
+ t.sZOFEe !== a && (t.uNAdcg = {}, t.sZOFEe = a);
23
+ let o = t.uNAdcg[e];
24
+ return o === void 0 ? (i = t.IlGFYq(i), t.uNAdcg[e] = i) : i = o, i;
34
25
  }
35
- import { useDigitInput as o } from "../../hooks/useDigitInput.js";
36
- import { Select as s } from "../Select/Select2.js";
37
- import { useRef as c } from "react";
38
- import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
39
- var f = [
26
+ import { Flag as n } from "../../primitives/Flag2.js";
27
+ import { useControllableState as r } from "../../hooks/useControllableState.js";
28
+ import { Input as i } from "../../primitives/index.js";
29
+ import { useDigitInput as a } from "../../hooks/useDigitInput.js";
30
+ import { Select as o } from "../Select/Select2.js";
31
+ import { useRef as s } from "react";
32
+ import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
33
+ var d = [
40
34
  {
41
35
  code: "KR",
42
- name: e(356),
36
+ name: "대한민국",
43
37
  dial: "82",
44
- pattern: e(376),
45
- example: e(357),
38
+ pattern: e(508),
39
+ example: e(506),
46
40
  trunk: !0
47
41
  },
48
42
  {
49
43
  code: "US",
50
44
  name: "미국",
51
45
  dial: "1",
52
- pattern: "(###) ###-####",
53
- example: e(362)
46
+ pattern: e(523),
47
+ example: e(505)
54
48
  },
55
49
  {
56
50
  code: "JP",
57
51
  name: "일본",
58
52
  dial: "81",
59
- pattern: e(376),
60
- example: e(380),
53
+ pattern: e(508),
54
+ example: e(492),
61
55
  trunk: !0
62
56
  },
63
57
  {
64
58
  code: "CN",
65
59
  name: "중국",
66
60
  dial: "86",
67
- pattern: e(377),
68
- example: e(386)
61
+ pattern: "### #### ####",
62
+ example: e(493)
69
63
  },
70
64
  {
71
65
  code: "VN",
72
- name: e(351),
66
+ name: e(479),
73
67
  dial: "84",
74
- pattern: e(366),
75
- example: e(343),
68
+ pattern: e(498),
69
+ example: e(484),
76
70
  trunk: !0
77
71
  },
78
72
  {
79
73
  code: "GB",
80
74
  name: "영국",
81
75
  dial: "44",
82
- pattern: "##### ######",
83
- example: "07400123456",
76
+ pattern: e(519),
77
+ example: e(507),
84
78
  trunk: !0
85
79
  },
86
80
  {
87
81
  code: "DE",
88
82
  name: "독일",
89
83
  dial: "49",
90
- pattern: e(375),
91
- example: e(352),
84
+ pattern: e(504),
85
+ example: e(511),
92
86
  trunk: !0
93
87
  },
94
88
  {
95
89
  code: "FR",
96
- name: e(373),
90
+ name: e(503),
97
91
  dial: "33",
98
- pattern: e(345),
99
- example: "0612345678",
92
+ pattern: e(500),
93
+ example: e(478),
100
94
  trunk: !0
101
95
  }
102
96
  ];
103
- function p(e, t) {
104
- let n = "", r = 0;
105
- for (let i of t) {
106
- if (r === e.length) break;
107
- n += i === "#" ? e[r++] : i;
97
+ function f(t, n) {
98
+ let r = e, i = "", a = 0;
99
+ for (let e of n) {
100
+ if (a === t[r(525)]) break;
101
+ i += e === "#" ? t[a++] : e;
108
102
  }
109
- return n;
103
+ return i;
104
+ }
105
+ function p(e, t) {
106
+ return e ? "+" + t.dial + (t.trunk ? e.replace(/^0/, "") : e) : "";
110
107
  }
111
- function m(t, n) {
112
- let r = e;
113
- return t ? "+" + n[r(342)] + (n[r(358)] ? t[r(359)](/^0/, "") : t) : "";
108
+ function m() {
109
+ let e = /* @__PURE__ */ "C3bSAxq.mtvoCLnhu0O.ntq5nZC2wvzgt3Lj.Dhj1BMS.iYmJiYmGiYmJiYmJ.mJHpEKvJqKS.C2XPy2u.Cgf0DgvYBG.kcmJiYKGiYmJlsmJiYm.DgvS.BgvUz3rO.ChjLDMvUDerLzMf1Bhq.mdyXmJm0nty3oa.67kG7yQ464kO.z2v0rgf0yq.y29Kzq.mtuWmtGWmePbtNnAvq.zM9JDxm.mdKXmJm0nty3oa.mtG0mtK4mK9RENDMta.mZq2mw5ODvjRyW.nde4ntCZogjLwfjeqW.BMfTzq.C3rHCNrZv2L0Aa.AgLKzgvU.zMLUza.mdKWmtiZndu2nZG.mtmXmJm0nty3odK.DgvSlw5HDgLVBMfS.mtfuBefhA3C.zxHHBxbSzq.mtq5nJiZotbxALvJwfm.iYmJicmJiYaJiYmJ.Aw5WDxq.iYmGiYmGiYmGiYmGiYm.y3vYCMvUDa.mJCXmtCZmKfSwMzpua.7zse656r7iQK.iYmJiYmGiYmJiYmJiW.mJaXntu1mdeYmW.mdeWmtiZndu2nZG.mdC0mdaXmJm0nty.iYmJlsmJiYmTiYmJiW.DhjPBq.y2XPCgjVyxjKrgf0yq.mde1mtiZndu2nZG5.mJyYEgPduhHi.CMvWBgfJzq.zgLHBa".split(".");
110
+ return m = function() {
111
+ return e;
112
+ }, m();
114
113
  }
115
- function h({ value: r, defaultValue: a = "", onValueChange: h, country: g, defaultCountry: _ = "KR", onCountryChange: v, countries: y = f, size: b = "md", invalid: x, disabled: S, placeholder: C, name: w, id: T, "aria-label": E }) {
116
- let D = e, O = c(null), [k, A] = n(g, _, v), j = y[D(367)]((e) => e[D(368)] === k) ?? y[0], M = j[D(350)][D(374)]("#")[D(353)] - 1, [N, P] = n(r, a), F = (e, t = j) => {
114
+ function h({ value: t, defaultValue: m = "", onValueChange: h, country: g, defaultCountry: _ = "KR", onCountryChange: v, countries: y = d, size: b = "md", invalid: x, disabled: S, placeholder: C, name: w, id: T, "aria-label": E }) {
115
+ let D = e, O = s(null), [k, A] = r(g, _, v), j = y.find((e) => e[D(481)] === k) ?? y[0], M = j[D(522)][D(515)]("#").length - 1, [N, P] = r(t, m), F = (e, t = j) => {
117
116
  P(e), h?.(e, {
118
117
  country: t,
119
- e164: m(e, t)
118
+ e164: p(e, t)
120
119
  });
121
- }, I = o({
120
+ }, I = a({
122
121
  digits: N,
123
122
  onDigitsChange: F,
124
- format: (e) => p(e, j.pattern),
123
+ format: (e) => f(e, j[D(522)]),
125
124
  maxDigits: M
126
125
  }), L = (e) => {
127
- let t = D, n = y.find((n) => n[t(368)] === e) ?? j;
126
+ let t = D, n = y.find((t) => t.code === e) ?? j;
128
127
  A(e);
129
- let r = N[t(379)](0, n[t(350)][t(374)]("#")[t(353)] - 1);
130
- (r !== N || n !== j) && F(r, n), requestAnimationFrame(() => I[t(369)][t(346)]?.[t(385)]());
128
+ let r = N[t(521)](0, n.pattern[t(515)]("#").length - 1);
129
+ (r !== N || n !== j) && F(r, n), requestAnimationFrame(() => I.ref[t(501)]?.[t(483)]());
131
130
  }, R = (e) => {
132
- let t = D, n = e[t(348)][t(364)]("text")[t(382)]();
133
- if (!n[t(378)]("+")) return;
134
- let r = n[t(359)](/\D/g, ""), i = [...y][t(381)]((e, n) => n[t(342)][t(353)] - e[t(342)][t(353)])[t(367)]((e) => r[t(378)](e[t(342)]));
131
+ let t = D, n = e[t(510)][t(480)]("text")[t(509)]();
132
+ if (!n[t(489)]("+")) return;
133
+ let r = n[t(513)](/\D/g, ""), i = [...y].sort((e, n) => n[t(514)].length - e.dial[t(525)])[t(491)]((e) => r[t(489)](e.dial));
135
134
  if (!i) return;
136
- e.preventDefault();
137
- let a = r[t(379)](i[t(342)][t(353)]);
138
- i[t(358)] && !a[t(378)]("0") && (a = "0" + a), A(i[t(368)]), F(a[t(379)](0, i[t(350)].split("#")[t(353)] - 1), i);
139
- }, z = y[D(384)]((e) => ({
140
- value: e.code,
141
- label: e.name,
142
- icon: u(t, { code: e[D(368)] }),
135
+ e[t(477)]();
136
+ let a = r[t(521)](i.dial[t(525)]);
137
+ i[t(518)] && !a[t(489)]("0") && (a = "0" + a), A(i[t(481)]), F(a[t(521)](0, i[t(522)][t(515)]("#")[t(525)] - 1), i);
138
+ }, z = y.map((e) => ({
139
+ value: e[D(481)],
140
+ label: e[D(488)],
141
+ icon: l(n, { code: e[D(481)] }),
143
142
  meta: "+" + e.dial,
144
- keywords: [e[D(342)]]
143
+ keywords: [e.dial]
145
144
  }));
146
- return d(l, { children: [u(i, {
145
+ return u(c, { children: [l(i, {
147
146
  ...I,
148
147
  id: T,
149
- type: D(355),
150
- inputMode: D(355),
151
- autoComplete: D(371),
148
+ type: D(524),
149
+ inputMode: D(524),
150
+ autoComplete: D(494),
152
151
  size: b,
153
152
  invalid: x,
154
153
  disabled: S,
155
154
  "aria-label": E,
156
- placeholder: C ?? p(j.example, j[D(350)]),
155
+ placeholder: C ?? f(j[D(496)], j.pattern),
157
156
  onPaste: R,
158
157
  wrapperRef: O,
159
- leading: u(s, {
158
+ leading: l(o, {
160
159
  bare: !0,
161
160
  options: z,
162
161
  value: j.code,
@@ -164,12 +163,12 @@ function h({ value: r, defaultValue: a = "", onValueChange: h, country: g, defau
164
163
  anchorRef: O,
165
164
  disabled: S,
166
165
  "aria-label": "국가",
167
- renderValue: () => "+" + j[D(342)]
166
+ renderValue: () => "+" + j.dial
168
167
  })
169
- }), w && u(D(349), {
170
- type: D(360),
168
+ }), w && l(D(499), {
169
+ type: D(490),
171
170
  name: w,
172
- value: m(N, j)
171
+ value: p(N, j)
173
172
  })] });
174
173
  }
175
- export { f as PHONE_COUNTRIES, h as PhoneInput, p as formatPhone, m as toE164 };
174
+ export { d as PHONE_COUNTRIES, h as PhoneInput, f as formatPhone, p as toE164 };