@okam/stack-ui 1.27.0 → 1.27.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 (391) hide show
  1. package/components/Carousel/components/CarouselNavigationButton.d.ts +1 -1
  2. package/index.d.ts +2 -0
  3. package/index.js +1 -1
  4. package/index.mjs +158 -151
  5. package/index10.js +1 -1
  6. package/index10.mjs +2 -2
  7. package/index100.js +1 -2
  8. package/index100.mjs +17 -12
  9. package/index101.js +2 -1
  10. package/index101.mjs +22 -45
  11. package/index102.js +1 -1
  12. package/index102.mjs +1 -1
  13. package/index103.js +1 -1
  14. package/index103.mjs +1 -1
  15. package/index107.js +1 -1
  16. package/index107.mjs +1 -1
  17. package/index108.js +1 -1
  18. package/index108.mjs +1 -1
  19. package/index11.js +1 -1
  20. package/index11.mjs +3 -3
  21. package/index112.js +1 -1
  22. package/index112.mjs +1 -1
  23. package/index113.js +1 -1
  24. package/index113.mjs +1 -1
  25. package/index114.js +1 -1
  26. package/index114.mjs +2 -2
  27. package/index116.js +1 -1
  28. package/index116.mjs +3 -3
  29. package/index118.js +1 -1
  30. package/index118.mjs +1 -1
  31. package/index119.js +1 -1
  32. package/index119.mjs +1 -1
  33. package/index12.js +1 -1
  34. package/index12.mjs +44 -15
  35. package/index121.js +1 -1
  36. package/index121.mjs +1 -1
  37. package/index122.js +1 -1
  38. package/index122.mjs +3 -3
  39. package/index124.js +1 -1
  40. package/index124.mjs +2 -2
  41. package/index125.js +1 -1
  42. package/index125.mjs +2 -2
  43. package/index126.js +1 -1
  44. package/index126.mjs +1 -1
  45. package/index128.js +1 -1
  46. package/index128.mjs +1 -1
  47. package/index13.js +1 -2
  48. package/index13.mjs +17 -20
  49. package/index131.js +1 -1
  50. package/index131.mjs +1 -1
  51. package/index132.js +1 -1
  52. package/index132.mjs +1 -1
  53. package/index133.js +1 -1
  54. package/index133.mjs +19 -49
  55. package/index134.js +1 -1
  56. package/index134.mjs +49 -25
  57. package/index135.js +1 -1
  58. package/index135.mjs +25 -19
  59. package/index137.js +1 -1
  60. package/index137.mjs +14 -14
  61. package/index138.js +1 -1
  62. package/index138.mjs +1 -1
  63. package/index139.js +1 -1
  64. package/index139.mjs +3 -3
  65. package/index14.js +1 -1
  66. package/index14.mjs +18 -17
  67. package/index140.js +1 -1
  68. package/index140.mjs +2 -2
  69. package/index143.js +1 -1
  70. package/index143.mjs +1 -1
  71. package/index147.js +1 -1
  72. package/index147.mjs +1 -1
  73. package/index15.js +1 -1
  74. package/index15.mjs +16 -83
  75. package/index159.js +11 -1
  76. package/index159.mjs +116 -2
  77. package/index16.js +1 -1
  78. package/index16.mjs +81 -28
  79. package/index160.js +1 -1
  80. package/index160.mjs +2 -6
  81. package/index161.js +1 -1
  82. package/index161.mjs +5 -64
  83. package/index162.js +1 -1
  84. package/index162.mjs +54 -16
  85. package/index163.js +1 -1
  86. package/index163.mjs +21 -49
  87. package/index164.js +1 -1
  88. package/index164.mjs +42 -143
  89. package/index165.js +1 -1
  90. package/index165.mjs +151 -18
  91. package/index166.js +1 -1
  92. package/index166.mjs +17 -14
  93. package/index167.js +1 -1
  94. package/index167.mjs +14 -34
  95. package/index168.js +1 -1
  96. package/index168.mjs +36 -79
  97. package/index169.js +1 -1
  98. package/index169.mjs +75 -23
  99. package/index17.js +1 -1
  100. package/index17.mjs +30 -32
  101. package/index170.js +1 -1
  102. package/index170.mjs +22 -13
  103. package/index171.js +1 -1
  104. package/index171.mjs +16 -48
  105. package/index172.js +1 -1
  106. package/index172.mjs +54 -2
  107. package/index173.js +1 -11
  108. package/index173.mjs +2 -116
  109. package/index174.js +1 -1
  110. package/index174.mjs +2 -2
  111. package/index175.js +1 -1
  112. package/index175.mjs +2 -2
  113. package/index176.js +1 -1
  114. package/index176.mjs +2 -2
  115. package/index177.js +1 -1
  116. package/index177.mjs +2 -2
  117. package/index178.js +1 -1
  118. package/index178.mjs +3 -3
  119. package/index179.js +1 -1
  120. package/index179.mjs +4 -4
  121. package/index18.js +1 -1
  122. package/index18.mjs +33 -31
  123. package/index180.js +1 -1
  124. package/index180.mjs +1 -1
  125. package/index181.js +1 -1
  126. package/index181.mjs +2 -2
  127. package/index182.js +1 -1
  128. package/index182.mjs +1 -1
  129. package/index183.js +1 -1
  130. package/index183.mjs +2 -2
  131. package/index184.js +1 -1
  132. package/index184.mjs +1 -1
  133. package/index185.js +1 -1
  134. package/index185.mjs +2 -2
  135. package/index186.js +1 -1
  136. package/index186.mjs +1 -1
  137. package/index187.js +1 -1
  138. package/index187.mjs +2 -2
  139. package/index188.js +1 -1
  140. package/index188.mjs +1 -1
  141. package/index19.js +1 -1
  142. package/index19.mjs +30 -33
  143. package/index191.js +1 -1
  144. package/index191.mjs +4 -4
  145. package/index192.js +1 -1
  146. package/index192.mjs +2 -2
  147. package/index193.js +1 -1
  148. package/index193.mjs +5 -5
  149. package/index194.js +1 -1
  150. package/index194.mjs +4 -4
  151. package/index195.js +1 -1
  152. package/index195.mjs +5 -5
  153. package/index196.js +1 -1
  154. package/index196.mjs +5 -5
  155. package/index197.js +1 -1
  156. package/index197.mjs +2 -2
  157. package/index2.js +1 -1
  158. package/index2.mjs +20 -20
  159. package/index20.js +1 -1
  160. package/index20.mjs +32 -67
  161. package/index21.js +1 -1
  162. package/index21.mjs +61 -58
  163. package/index22.js +1 -1
  164. package/index22.mjs +66 -52
  165. package/index224.js +1 -1
  166. package/index224.mjs +123 -306
  167. package/index225.js +1 -1
  168. package/index225.mjs +173 -186
  169. package/index226.js +1 -1
  170. package/index226.mjs +9 -8
  171. package/index227.js +1 -1
  172. package/index227.mjs +3 -26
  173. package/index228.js +1 -1
  174. package/index228.mjs +34 -53
  175. package/index229.js +1 -1
  176. package/index229.mjs +5 -46
  177. package/index23.js +1 -1
  178. package/index23.mjs +37 -41
  179. package/index230.js +1 -1
  180. package/index230.mjs +28 -123
  181. package/index231.js +1 -1
  182. package/index231.mjs +6 -130
  183. package/index232.js +1 -1
  184. package/index232.mjs +293 -159
  185. package/index233.js +1 -1
  186. package/index233.mjs +192 -9
  187. package/index234.js +1 -1
  188. package/index234.mjs +8 -3
  189. package/index235.js +1 -1
  190. package/index235.mjs +25 -35
  191. package/index236.js +1 -1
  192. package/index236.mjs +55 -5
  193. package/index237.js +1 -1
  194. package/index237.mjs +44 -27
  195. package/index238.js +1 -1
  196. package/index238.mjs +124 -6
  197. package/index24.js +1 -1
  198. package/index24.mjs +57 -20
  199. package/index242.js +1 -1
  200. package/index242.mjs +1 -1
  201. package/index243.js +1 -1
  202. package/index243.mjs +1 -1
  203. package/index245.js +1 -1
  204. package/index245.mjs +1 -1
  205. package/index246.js +1 -1
  206. package/index246.mjs +2 -2
  207. package/index248.js +1 -1
  208. package/index248.mjs +2 -2
  209. package/index249.js +1 -1
  210. package/index249.mjs +3 -3
  211. package/index25.js +1 -1
  212. package/index25.mjs +20 -50
  213. package/index251.js +1 -1
  214. package/index251.mjs +1 -1
  215. package/index26.js +1 -1
  216. package/index26.mjs +50 -17
  217. package/index260.js +1 -1
  218. package/index260.mjs +6 -2
  219. package/index261.mjs +2 -2
  220. package/index262.mjs +2 -2
  221. package/index263.mjs +2 -2
  222. package/index264.js +1 -1
  223. package/index264.mjs +2 -72
  224. package/index265.js +1 -1
  225. package/index265.mjs +72 -2
  226. package/index266.mjs +2 -2
  227. package/index267.js +1 -1
  228. package/index267.mjs +2 -19
  229. package/index268.js +1 -1
  230. package/index268.mjs +19 -2
  231. package/index269.js +1 -1
  232. package/index269.mjs +2 -6
  233. package/index27.js +1 -1
  234. package/index27.mjs +16 -32
  235. package/index28.js +1 -1
  236. package/index28.mjs +32 -23
  237. package/index29.js +1 -1
  238. package/index29.mjs +24 -8
  239. package/index3.js +1 -1
  240. package/index3.mjs +1 -1
  241. package/index30.js +1 -1
  242. package/index30.mjs +8 -32
  243. package/index31.js +1 -1
  244. package/index31.mjs +29 -30
  245. package/index32.js +1 -1
  246. package/index32.mjs +28 -98
  247. package/index33.js +1 -1
  248. package/index33.mjs +102 -8
  249. package/index34.js +1 -1
  250. package/index34.mjs +8 -46
  251. package/index35.js +1 -1
  252. package/index35.mjs +46 -18
  253. package/index36.js +2 -1
  254. package/index36.mjs +19 -6
  255. package/index37.js +1 -1
  256. package/index37.mjs +6 -46
  257. package/index38.js +1 -1
  258. package/index38.mjs +45 -23
  259. package/index39.js +2 -1
  260. package/index39.mjs +26 -5
  261. package/index4.js +1 -1
  262. package/index4.mjs +5 -5
  263. package/index40.js +1 -1
  264. package/index40.mjs +4 -7
  265. package/index41.js +1 -1
  266. package/index41.mjs +5 -5
  267. package/index42.js +1 -1
  268. package/index42.mjs +8 -5
  269. package/index43.js +1 -1
  270. package/index43.mjs +2 -2
  271. package/index44.js +1 -1
  272. package/index44.mjs +1 -1
  273. package/index45.js +1 -1
  274. package/index45.mjs +4 -4
  275. package/index46.js +1 -1
  276. package/index46.mjs +3 -9
  277. package/index47.js +1 -1
  278. package/index47.mjs +7 -9
  279. package/index48.js +1 -1
  280. package/index48.mjs +9 -9
  281. package/index49.js +1 -1
  282. package/index49.mjs +13 -46
  283. package/index50.js +1 -1
  284. package/index50.mjs +46 -8
  285. package/index51.js +1 -1
  286. package/index51.mjs +6 -69
  287. package/index52.js +1 -1
  288. package/index52.mjs +71 -8
  289. package/index53.js +1 -1
  290. package/index53.mjs +7 -12
  291. package/index54.js +1 -1
  292. package/index54.mjs +12 -9
  293. package/index55.js +1 -1
  294. package/index55.mjs +10 -17
  295. package/index56.js +1 -1
  296. package/index56.mjs +17 -13
  297. package/index57.js +1 -1
  298. package/index57.mjs +5 -5
  299. package/index58.js +1 -1
  300. package/index58.mjs +6 -6
  301. package/index59.js +1 -1
  302. package/index59.mjs +10 -8
  303. package/index6.js +1 -1
  304. package/index6.mjs +1 -1
  305. package/index60.js +1 -1
  306. package/index60.mjs +5 -5
  307. package/index61.js +1 -1
  308. package/index61.mjs +6 -8
  309. package/index62.js +1 -1
  310. package/index62.mjs +13 -14
  311. package/index63.js +1 -2
  312. package/index63.mjs +14 -23
  313. package/index64.js +1 -1
  314. package/index64.mjs +21 -15
  315. package/index65.js +1 -1
  316. package/index65.mjs +16 -14
  317. package/index66.js +1 -1
  318. package/index66.mjs +13 -40
  319. package/index67.js +1 -1
  320. package/index67.mjs +39 -36
  321. package/index68.js +1 -1
  322. package/index68.mjs +37 -11
  323. package/index69.js +1 -1
  324. package/index69.mjs +11 -10
  325. package/index7.js +1 -1
  326. package/index7.mjs +2 -2
  327. package/index70.js +1 -1
  328. package/index70.mjs +10 -13
  329. package/index71.js +2 -1
  330. package/index71.mjs +15 -2
  331. package/index72.js +1 -1
  332. package/index72.mjs +11 -8
  333. package/index73.js +1 -2
  334. package/index73.mjs +1 -7
  335. package/index74.js +1 -1
  336. package/index74.mjs +7 -6
  337. package/index75.js +1 -1
  338. package/index75.mjs +6 -6
  339. package/index76.js +2 -1
  340. package/index76.mjs +8 -25
  341. package/index77.js +2 -1
  342. package/index77.mjs +8 -2
  343. package/index78.js +1 -6
  344. package/index78.mjs +25 -94
  345. package/index79.js +1 -1
  346. package/index79.mjs +2 -69
  347. package/index8.js +1 -1
  348. package/index8.mjs +5 -5
  349. package/index80.js +6 -1
  350. package/index80.mjs +82 -29
  351. package/index81.js +1 -42
  352. package/index81.mjs +64 -65
  353. package/index82.js +1 -1
  354. package/index82.mjs +32 -150
  355. package/index83.js +42 -9
  356. package/index83.mjs +65 -52
  357. package/index84.js +1 -1
  358. package/index84.mjs +145 -31
  359. package/index85.js +9 -1
  360. package/index85.mjs +54 -10
  361. package/index86.js +1 -1
  362. package/index86.mjs +38 -28
  363. package/index87.js +1 -1
  364. package/index87.mjs +12 -5
  365. package/index88.js +1 -12
  366. package/index88.mjs +31 -36
  367. package/index89.js +1 -1
  368. package/index89.mjs +6 -29
  369. package/index9.js +1 -1
  370. package/index9.mjs +4 -4
  371. package/index90.js +12 -1
  372. package/index90.mjs +39 -12
  373. package/index91.js +1 -7
  374. package/index91.mjs +23 -13
  375. package/index92.js +1 -15
  376. package/index92.mjs +9 -67
  377. package/index93.js +7 -1
  378. package/index93.mjs +17 -5
  379. package/index94.js +13 -14
  380. package/index94.mjs +63 -17
  381. package/index95.js +1 -1
  382. package/index95.mjs +7 -42
  383. package/index96.js +16 -1
  384. package/index96.mjs +24 -44
  385. package/index97.js +1 -1
  386. package/index97.mjs +42 -48
  387. package/index98.js +1 -1
  388. package/index98.mjs +45 -17
  389. package/index99.js +1 -2
  390. package/index99.mjs +47 -21
  391. package/package.json +1 -1
package/index165.mjs CHANGED
@@ -1,25 +1,158 @@
1
- import { __module as a } from "./index212.mjs";
2
- import { __require as f } from "./index204.mjs";
3
- import { __require as c } from "./index213.mjs";
4
- var i;
5
- function g() {
6
- return i ? a.exports : (i = 1, function(o, e) {
7
- Object.defineProperty(e, "__esModule", {
1
+ import { __exports as a } from "./index211.mjs";
2
+ var g;
3
+ function j() {
4
+ return g ? a : (g = 1, function(u) {
5
+ Object.defineProperty(u, "__esModule", {
8
6
  value: !0
9
- }), Object.defineProperty(e, "addLocale", {
10
- enumerable: !0,
11
- get: function() {
7
+ });
8
+ function m(e, r) {
9
+ for (var t in r) Object.defineProperty(e, t, {
10
+ enumerable: !0,
11
+ get: r[t]
12
+ });
13
+ }
14
+ m(u, {
15
+ WEB_VITALS: function() {
16
+ return p;
17
+ },
18
+ execOnce: function() {
19
+ return E;
20
+ },
21
+ isAbsoluteUrl: function() {
22
+ return N;
23
+ },
24
+ getLocationOrigin: function() {
25
+ return c;
26
+ },
27
+ getURL: function() {
28
+ return P;
29
+ },
30
+ getDisplayName: function() {
31
+ return s;
32
+ },
33
+ isResSent: function() {
34
+ return f;
35
+ },
36
+ normalizeRepeatedSlashes: function() {
37
+ return y;
38
+ },
39
+ loadGetInitialProps: function() {
12
40
  return l;
41
+ },
42
+ SP: function() {
43
+ return d;
44
+ },
45
+ ST: function() {
46
+ return w;
47
+ },
48
+ DecodeError: function() {
49
+ return S;
50
+ },
51
+ NormalizeError: function() {
52
+ return I;
53
+ },
54
+ PageNotFoundError: function() {
55
+ return O;
56
+ },
57
+ MissingStaticPage: function() {
58
+ return v;
59
+ },
60
+ MiddlewareNotFoundError: function() {
61
+ return b;
62
+ },
63
+ stringifyError: function() {
64
+ return L;
13
65
  }
14
66
  });
15
- const d = f(), l = function(t) {
16
- for (var u = arguments.length, n = new Array(u > 1 ? u - 1 : 0), r = 1; r < u; r++)
17
- n[r - 1] = arguments[r];
18
- return process.env.__NEXT_I18N_SUPPORT ? (0, d.normalizePathTrailingSlash)(c().addLocale(t, ...n)) : t;
19
- };
20
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), o.exports = e.default);
21
- }(a, a.exports), a.exports);
67
+ const p = [
68
+ "CLS",
69
+ "FCP",
70
+ "FID",
71
+ "INP",
72
+ "LCP",
73
+ "TTFB"
74
+ ];
75
+ function E(e) {
76
+ let r = !1, t;
77
+ return function() {
78
+ for (var i = arguments.length, n = new Array(i), o = 0; o < i; o++)
79
+ n[o] = arguments[o];
80
+ return r || (r = !0, t = e(...n)), t;
81
+ };
82
+ }
83
+ const h = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, N = (e) => h.test(e);
84
+ function c() {
85
+ const { protocol: e, hostname: r, port: t } = window.location;
86
+ return e + "//" + r + (t ? ":" + t : "");
87
+ }
88
+ function P() {
89
+ const { href: e } = window.location, r = c();
90
+ return e.substring(r.length);
91
+ }
92
+ function s(e) {
93
+ return typeof e == "string" ? e : e.displayName || e.name || "Unknown";
94
+ }
95
+ function f(e) {
96
+ return e.finished || e.headersSent;
97
+ }
98
+ function y(e) {
99
+ const r = e.split("?");
100
+ return r[0].replace(/\\/g, "/").replace(/\/\/+/g, "/") + (r[1] ? "?" + r.slice(1).join("?") : "");
101
+ }
102
+ async function l(e, r) {
103
+ if (process.env.NODE_ENV !== "production") {
104
+ var t;
105
+ if ((t = e.prototype) != null && t.getInitialProps) {
106
+ const o = '"' + s(e) + '.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';
107
+ throw new Error(o);
108
+ }
109
+ }
110
+ const i = r.res || r.ctx && r.ctx.res;
111
+ if (!e.getInitialProps)
112
+ return r.ctx && r.Component ? {
113
+ pageProps: await l(r.Component, r.ctx)
114
+ } : {};
115
+ const n = await e.getInitialProps(r);
116
+ if (i && f(i))
117
+ return n;
118
+ if (!n) {
119
+ const o = '"' + s(e) + '.getInitialProps()" should resolve to an object. But found "' + n + '" instead.';
120
+ throw new Error(o);
121
+ }
122
+ return process.env.NODE_ENV !== "production" && Object.keys(n).length === 0 && !r.ctx && console.warn("" + s(e) + " returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"), n;
123
+ }
124
+ const d = typeof performance < "u", w = d && [
125
+ "mark",
126
+ "measure",
127
+ "getEntriesByName"
128
+ ].every((e) => typeof performance[e] == "function");
129
+ class S extends Error {
130
+ }
131
+ class I extends Error {
132
+ }
133
+ class O extends Error {
134
+ constructor(r) {
135
+ super(), this.code = "ENOENT", this.name = "PageNotFoundError", this.message = "Cannot find module for page: " + r;
136
+ }
137
+ }
138
+ class v extends Error {
139
+ constructor(r, t) {
140
+ super(), this.message = "Failed to load static file for page: " + r + " " + t;
141
+ }
142
+ }
143
+ class b extends Error {
144
+ constructor() {
145
+ super(), this.code = "ENOENT", this.message = "Cannot find the middleware module";
146
+ }
147
+ }
148
+ function L(e) {
149
+ return JSON.stringify({
150
+ message: e.message,
151
+ stack: e.stack
152
+ });
153
+ }
154
+ }(a), a);
22
155
  }
23
156
  export {
24
- g as __require
157
+ j as __require
25
158
  };
package/index166.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index214.js");require("./index160.js");const o=require("react"),n=require("./index172.js");var u;function i(){return u||(u=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});const r=n.__exports._(o).default.createContext(null);process.env.NODE_ENV!=="production"&&(r.displayName="RouterContext")}(e.__exports)),e.__exports}exports.__require=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index212.js"),c=require("./index204.js"),f=require("./index213.js");var l;function _(){return l||(l=1,function(d,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return i}});const o=c.__require(),i=function(a){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return process.env.__NEXT_I18N_SUPPORT?(0,o.normalizePathTrailingSlash)(f.__require().addLocale(a,...n)):a};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),d.exports=e.default)}(u.__module,u.__module.exports)),u.__module.exports}exports.__require=_;
package/index166.mjs CHANGED
@@ -1,22 +1,25 @@
1
- import { __exports as e } from "./index214.mjs";
2
- import "./index160.mjs";
3
- import u from "react";
4
- import { __exports as n } from "./index172.mjs";
5
- var o;
6
- function d() {
7
- return o ? e : (o = 1, function(t) {
8
- Object.defineProperty(t, "__esModule", {
1
+ import { __module as a } from "./index212.mjs";
2
+ import { __require as f } from "./index204.mjs";
3
+ import { __require as c } from "./index213.mjs";
4
+ var i;
5
+ function g() {
6
+ return i ? a.exports : (i = 1, function(o, e) {
7
+ Object.defineProperty(e, "__esModule", {
9
8
  value: !0
10
- }), Object.defineProperty(t, "RouterContext", {
9
+ }), Object.defineProperty(e, "addLocale", {
11
10
  enumerable: !0,
12
11
  get: function() {
13
- return r;
12
+ return l;
14
13
  }
15
14
  });
16
- const r = (/* @__PURE__ */ n._(u)).default.createContext(null);
17
- process.env.NODE_ENV !== "production" && (r.displayName = "RouterContext");
18
- }(e), e);
15
+ const d = f(), l = function(t) {
16
+ for (var u = arguments.length, n = new Array(u > 1 ? u - 1 : 0), r = 1; r < u; r++)
17
+ n[r - 1] = arguments[r];
18
+ return process.env.__NEXT_I18N_SUPPORT ? (0, d.normalizePathTrailingSlash)(c().addLocale(t, ...n)) : t;
19
+ };
20
+ (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), o.exports = e.default);
21
+ }(a, a.exports), a.exports);
19
22
  }
20
23
  export {
21
- d as __require
24
+ g as __require
22
25
  };
package/index167.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index215.js");require("./index160.js");const x=require("react"),d=require("./index172.js");var c;function f(){return c||(c=1,function(o){"use client";Object.defineProperty(o,"__esModule",{value:!0});function p(_,i){for(var l in i)Object.defineProperty(_,l,{enumerable:!0,get:i[l]})}p(o,{AppRouterContext:function(){return r},LayoutRouterContext:function(){return n},GlobalLayoutRouterContext:function(){return u},TemplateContext:function(){return a},MissingSlotContext:function(){return s}});const e=d.__exports._(x),r=e.default.createContext(null),n=e.default.createContext(null),u=e.default.createContext(null),a=e.default.createContext(null);process.env.NODE_ENV!=="production"&&(r.displayName="AppRouterContext",n.displayName="LayoutRouterContext",u.displayName="GlobalLayoutRouterContext",a.displayName="TemplateContext");const s=e.default.createContext(new Set)}(t.__exports)),t.__exports}exports.__require=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index214.js");require("./index161.js");const o=require("react"),n=require("./index173.js");var u;function i(){return u||(u=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});const r=n.__exports._(o).default.createContext(null);process.env.NODE_ENV!=="production"&&(r.displayName="RouterContext")}(e.__exports)),e.__exports}exports.__require=i;
package/index167.mjs CHANGED
@@ -1,42 +1,22 @@
1
- import { __exports as e } from "./index215.mjs";
2
- import "./index160.mjs";
3
- import f from "react";
4
- import { __exports as x } from "./index172.mjs";
5
- var p;
6
- function b() {
7
- return p ? e : (p = 1, function(o) {
8
- "use client";
9
- Object.defineProperty(o, "__esModule", {
1
+ import { __exports as e } from "./index214.mjs";
2
+ import "./index161.mjs";
3
+ import u from "react";
4
+ import { __exports as n } from "./index173.mjs";
5
+ var o;
6
+ function d() {
7
+ return o ? e : (o = 1, function(t) {
8
+ Object.defineProperty(t, "__esModule", {
10
9
  value: !0
11
- });
12
- function c(_, i) {
13
- for (var l in i) Object.defineProperty(_, l, {
14
- enumerable: !0,
15
- get: i[l]
16
- });
17
- }
18
- c(o, {
19
- AppRouterContext: function() {
20
- return n;
21
- },
22
- LayoutRouterContext: function() {
10
+ }), Object.defineProperty(t, "RouterContext", {
11
+ enumerable: !0,
12
+ get: function() {
23
13
  return r;
24
- },
25
- GlobalLayoutRouterContext: function() {
26
- return u;
27
- },
28
- TemplateContext: function() {
29
- return a;
30
- },
31
- MissingSlotContext: function() {
32
- return s;
33
14
  }
34
15
  });
35
- const t = /* @__PURE__ */ x._(f), n = t.default.createContext(null), r = t.default.createContext(null), u = t.default.createContext(null), a = t.default.createContext(null);
36
- process.env.NODE_ENV !== "production" && (n.displayName = "AppRouterContext", r.displayName = "LayoutRouterContext", u.displayName = "GlobalLayoutRouterContext", a.displayName = "TemplateContext");
37
- const s = t.default.createContext(/* @__PURE__ */ new Set());
16
+ const r = (/* @__PURE__ */ n._(u)).default.createContext(null);
17
+ process.env.NODE_ENV !== "production" && (r.displayName = "RouterContext");
38
18
  }(e), e);
39
19
  }
40
20
  export {
41
- b as __require
21
+ d as __require
42
22
  };
package/index168.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./index216.js"),C=require("react"),R=require("./index217.js");var q;function p(){return q||(q=1,function(O,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useIntersection",{enumerable:!0,get:function(){return y}});const f=C,g=R.__require(),m=typeof IntersectionObserver=="function",v=new Map,d=[];function k(r){const t={root:r.root||null,margin:r.rootMargin||""},u=d.find(c=>c.root===t.root&&c.margin===t.margin);let e;if(u&&(e=v.get(u),e))return e;const i=new Map,s=new IntersectionObserver(c=>{c.forEach(o=>{const l=i.get(o.target),b=o.isIntersecting||o.intersectionRatio>0;l&&b&&l(b)})},r);return e={id:t,observer:s,elements:i},d.push(t),v.set(t,e),e}function M(r,t,u){const{id:e,observer:i,elements:s}=k(u);return s.set(r,t),i.observe(r),function(){if(s.delete(r),i.unobserve(r),s.size===0){i.disconnect(),v.delete(e);const o=d.findIndex(l=>l.root===e.root&&l.margin===e.margin);o>-1&&d.splice(o,1)}}}function y(r){let{rootRef:t,rootMargin:u,disabled:e}=r;const i=e||!m,[s,c]=(0,f.useState)(!1),o=(0,f.useRef)(null),l=(0,f.useCallback)(a=>{o.current=a},[]);(0,f.useEffect)(()=>{if(m){if(i||s)return;const a=o.current;if(a&&a.tagName)return M(a,I=>I&&c(I),{root:t==null?void 0:t.current,rootMargin:u})}else if(!s){const a=(0,g.requestIdleCallback)(()=>c(!0));return()=>(0,g.cancelIdleCallback)(a)}},[i,u,t,s,o.current]);const b=(0,f.useCallback)(()=>{c(!1)},[]);return[l,s,b]}(typeof n.default=="function"||typeof n.default=="object"&&n.default!==null)&&typeof n.default.__esModule>"u"&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),O.exports=n.default)}(_.__module,_.__module.exports)),_.__module.exports}exports.__require=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index215.js");require("./index161.js");const x=require("react"),d=require("./index173.js");var c;function f(){return c||(c=1,function(o){"use client";Object.defineProperty(o,"__esModule",{value:!0});function p(_,i){for(var l in i)Object.defineProperty(_,l,{enumerable:!0,get:i[l]})}p(o,{AppRouterContext:function(){return r},LayoutRouterContext:function(){return n},GlobalLayoutRouterContext:function(){return u},TemplateContext:function(){return a},MissingSlotContext:function(){return s}});const e=d.__exports._(x),r=e.default.createContext(null),n=e.default.createContext(null),u=e.default.createContext(null),a=e.default.createContext(null);process.env.NODE_ENV!=="production"&&(r.displayName="AppRouterContext",n.displayName="LayoutRouterContext",u.displayName="GlobalLayoutRouterContext",a.displayName="TemplateContext");const s=e.default.createContext(new Set)}(t.__exports)),t.__exports}exports.__require=f;
package/index168.mjs CHANGED
@@ -1,85 +1,42 @@
1
- import { __module as v } from "./index216.mjs";
2
- import R from "react";
3
- import { __require as C } from "./index217.mjs";
4
- var k;
5
- function E() {
6
- return k ? v.exports : (k = 1, function(p, n) {
7
- Object.defineProperty(n, "__esModule", {
1
+ import { __exports as e } from "./index215.mjs";
2
+ import "./index161.mjs";
3
+ import f from "react";
4
+ import { __exports as x } from "./index173.mjs";
5
+ var p;
6
+ function b() {
7
+ return p ? e : (p = 1, function(o) {
8
+ "use client";
9
+ Object.defineProperty(o, "__esModule", {
8
10
  value: !0
9
- }), Object.defineProperty(n, "useIntersection", {
10
- enumerable: !0,
11
- get: function() {
12
- return M;
13
- }
14
11
  });
15
- const f = R, _ = C(), g = typeof IntersectionObserver == "function", m = /* @__PURE__ */ new Map(), d = [];
16
- function q(r) {
17
- const t = {
18
- root: r.root || null,
19
- margin: r.rootMargin || ""
20
- }, u = d.find((c) => c.root === t.root && c.margin === t.margin);
21
- let e;
22
- if (u && (e = m.get(u), e))
23
- return e;
24
- const i = /* @__PURE__ */ new Map(), s = new IntersectionObserver((c) => {
25
- c.forEach((o) => {
26
- const l = i.get(o.target), b = o.isIntersecting || o.intersectionRatio > 0;
27
- l && b && l(b);
28
- });
29
- }, r);
30
- return e = {
31
- id: t,
32
- observer: s,
33
- elements: i
34
- }, d.push(t), m.set(t, e), e;
35
- }
36
- function O(r, t, u) {
37
- const { id: e, observer: i, elements: s } = q(u);
38
- return s.set(r, t), i.observe(r), function() {
39
- if (s.delete(r), i.unobserve(r), s.size === 0) {
40
- i.disconnect(), m.delete(e);
41
- const o = d.findIndex((l) => l.root === e.root && l.margin === e.margin);
42
- o > -1 && d.splice(o, 1);
43
- }
44
- };
45
- }
46
- function M(r) {
47
- let { rootRef: t, rootMargin: u, disabled: e } = r;
48
- const i = e || !g, [s, c] = (0, f.useState)(!1), o = (0, f.useRef)(null), l = (0, f.useCallback)((a) => {
49
- o.current = a;
50
- }, []);
51
- (0, f.useEffect)(() => {
52
- if (g) {
53
- if (i || s) return;
54
- const a = o.current;
55
- if (a && a.tagName)
56
- return O(a, (I) => I && c(I), {
57
- root: t == null ? void 0 : t.current,
58
- rootMargin: u
59
- });
60
- } else if (!s) {
61
- const a = (0, _.requestIdleCallback)(() => c(!0));
62
- return () => (0, _.cancelIdleCallback)(a);
63
- }
64
- }, [
65
- i,
66
- u,
67
- t,
68
- s,
69
- o.current
70
- ]);
71
- const b = (0, f.useCallback)(() => {
72
- c(!1);
73
- }, []);
74
- return [
75
- l,
76
- s,
77
- b
78
- ];
12
+ function c(_, i) {
13
+ for (var l in i) Object.defineProperty(_, l, {
14
+ enumerable: !0,
15
+ get: i[l]
16
+ });
79
17
  }
80
- (typeof n.default == "function" || typeof n.default == "object" && n.default !== null) && typeof n.default.__esModule > "u" && (Object.defineProperty(n.default, "__esModule", { value: !0 }), Object.assign(n.default, n), p.exports = n.default);
81
- }(v, v.exports), v.exports);
18
+ c(o, {
19
+ AppRouterContext: function() {
20
+ return n;
21
+ },
22
+ LayoutRouterContext: function() {
23
+ return r;
24
+ },
25
+ GlobalLayoutRouterContext: function() {
26
+ return u;
27
+ },
28
+ TemplateContext: function() {
29
+ return a;
30
+ },
31
+ MissingSlotContext: function() {
32
+ return s;
33
+ }
34
+ });
35
+ const t = /* @__PURE__ */ x._(f), n = t.default.createContext(null), r = t.default.createContext(null), u = t.default.createContext(null), a = t.default.createContext(null);
36
+ process.env.NODE_ENV !== "production" && (n.displayName = "AppRouterContext", r.displayName = "LayoutRouterContext", u.displayName = "GlobalLayoutRouterContext", a.displayName = "TemplateContext");
37
+ const s = t.default.createContext(/* @__PURE__ */ new Set());
38
+ }(e), e);
82
39
  }
83
40
  export {
84
- E as __require
41
+ b as __require
85
42
  };
package/index169.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index218.js"),g=require("./index204.js"),h=require("./index219.js"),q=require("./index220.js");var r;function b(){return r||(r=1,function(l,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getDomainLocale",{enumerable:!0,get:function(){return c}});const i=g.__require(),u=process.env.__NEXT_ROUTER_BASEPATH||"";function c(a,d,_,f){if(process.env.__NEXT_I18N_SUPPORT){const s=h.__require().normalizeLocalePath,m=q.__require().detectDomainLocale,n=d||s(a,_).detectedLocale,t=m(f,void 0,n);if(t){const L="http"+(t.http?"":"s")+"://",P=n===t.defaultLocale?"":"/"+n;return""+L+t.domain+(0,i.normalizePathTrailingSlash)(""+u+P+a)}return!1}else return!1}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),l.exports=e.default)}(o.__module,o.__module.exports)),o.__module.exports}exports.__require=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./index216.js"),C=require("react"),R=require("./index217.js");var q;function p(){return q||(q=1,function(O,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useIntersection",{enumerable:!0,get:function(){return y}});const f=C,g=R.__require(),m=typeof IntersectionObserver=="function",v=new Map,d=[];function k(r){const t={root:r.root||null,margin:r.rootMargin||""},u=d.find(c=>c.root===t.root&&c.margin===t.margin);let e;if(u&&(e=v.get(u),e))return e;const i=new Map,s=new IntersectionObserver(c=>{c.forEach(o=>{const l=i.get(o.target),b=o.isIntersecting||o.intersectionRatio>0;l&&b&&l(b)})},r);return e={id:t,observer:s,elements:i},d.push(t),v.set(t,e),e}function M(r,t,u){const{id:e,observer:i,elements:s}=k(u);return s.set(r,t),i.observe(r),function(){if(s.delete(r),i.unobserve(r),s.size===0){i.disconnect(),v.delete(e);const o=d.findIndex(l=>l.root===e.root&&l.margin===e.margin);o>-1&&d.splice(o,1)}}}function y(r){let{rootRef:t,rootMargin:u,disabled:e}=r;const i=e||!m,[s,c]=(0,f.useState)(!1),o=(0,f.useRef)(null),l=(0,f.useCallback)(a=>{o.current=a},[]);(0,f.useEffect)(()=>{if(m){if(i||s)return;const a=o.current;if(a&&a.tagName)return M(a,I=>I&&c(I),{root:t==null?void 0:t.current,rootMargin:u})}else if(!s){const a=(0,g.requestIdleCallback)(()=>c(!0));return()=>(0,g.cancelIdleCallback)(a)}},[i,u,t,s,o.current]);const b=(0,f.useCallback)(()=>{c(!1)},[]);return[l,s,b]}(typeof n.default=="function"||typeof n.default=="object"&&n.default!==null)&&typeof n.default.__esModule>"u"&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),O.exports=n.default)}(_.__module,_.__module.exports)),_.__module.exports}exports.__require=p;
package/index169.mjs CHANGED
@@ -1,33 +1,85 @@
1
- import { __module as a } from "./index218.mjs";
2
- import { __require as h } from "./index204.mjs";
3
- import { __require as p } from "./index219.mjs";
4
- import { __require as g } from "./index220.mjs";
5
- var n;
6
- function y() {
7
- return n ? a.exports : (n = 1, function(i, e) {
8
- Object.defineProperty(e, "__esModule", {
1
+ import { __module as v } from "./index216.mjs";
2
+ import R from "react";
3
+ import { __require as C } from "./index217.mjs";
4
+ var k;
5
+ function E() {
6
+ return k ? v.exports : (k = 1, function(p, n) {
7
+ Object.defineProperty(n, "__esModule", {
9
8
  value: !0
10
- }), Object.defineProperty(e, "getDomainLocale", {
9
+ }), Object.defineProperty(n, "useIntersection", {
11
10
  enumerable: !0,
12
11
  get: function() {
13
- return c;
12
+ return M;
14
13
  }
15
14
  });
16
- const l = h(), u = process.env.__NEXT_ROUTER_BASEPATH || "";
17
- function c(r, f, s, d) {
18
- if (process.env.__NEXT_I18N_SUPPORT) {
19
- const m = p().normalizeLocalePath, _ = g().detectDomainLocale, o = f || m(r, s).detectedLocale, t = _(d, void 0, o);
20
- if (t) {
21
- const L = "http" + (t.http ? "" : "s") + "://", P = o === t.defaultLocale ? "" : "/" + o;
22
- return "" + L + t.domain + (0, l.normalizePathTrailingSlash)("" + u + P + r);
15
+ const f = R, _ = C(), g = typeof IntersectionObserver == "function", m = /* @__PURE__ */ new Map(), d = [];
16
+ function q(r) {
17
+ const t = {
18
+ root: r.root || null,
19
+ margin: r.rootMargin || ""
20
+ }, u = d.find((c) => c.root === t.root && c.margin === t.margin);
21
+ let e;
22
+ if (u && (e = m.get(u), e))
23
+ return e;
24
+ const i = /* @__PURE__ */ new Map(), s = new IntersectionObserver((c) => {
25
+ c.forEach((o) => {
26
+ const l = i.get(o.target), b = o.isIntersecting || o.intersectionRatio > 0;
27
+ l && b && l(b);
28
+ });
29
+ }, r);
30
+ return e = {
31
+ id: t,
32
+ observer: s,
33
+ elements: i
34
+ }, d.push(t), m.set(t, e), e;
35
+ }
36
+ function O(r, t, u) {
37
+ const { id: e, observer: i, elements: s } = q(u);
38
+ return s.set(r, t), i.observe(r), function() {
39
+ if (s.delete(r), i.unobserve(r), s.size === 0) {
40
+ i.disconnect(), m.delete(e);
41
+ const o = d.findIndex((l) => l.root === e.root && l.margin === e.margin);
42
+ o > -1 && d.splice(o, 1);
43
+ }
44
+ };
45
+ }
46
+ function M(r) {
47
+ let { rootRef: t, rootMargin: u, disabled: e } = r;
48
+ const i = e || !g, [s, c] = (0, f.useState)(!1), o = (0, f.useRef)(null), l = (0, f.useCallback)((a) => {
49
+ o.current = a;
50
+ }, []);
51
+ (0, f.useEffect)(() => {
52
+ if (g) {
53
+ if (i || s) return;
54
+ const a = o.current;
55
+ if (a && a.tagName)
56
+ return O(a, (I) => I && c(I), {
57
+ root: t == null ? void 0 : t.current,
58
+ rootMargin: u
59
+ });
60
+ } else if (!s) {
61
+ const a = (0, _.requestIdleCallback)(() => c(!0));
62
+ return () => (0, _.cancelIdleCallback)(a);
23
63
  }
24
- return !1;
25
- } else
26
- return !1;
64
+ }, [
65
+ i,
66
+ u,
67
+ t,
68
+ s,
69
+ o.current
70
+ ]);
71
+ const b = (0, f.useCallback)(() => {
72
+ c(!1);
73
+ }, []);
74
+ return [
75
+ l,
76
+ s,
77
+ b
78
+ ];
27
79
  }
28
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), i.exports = e.default);
29
- }(a, a.exports), a.exports);
80
+ (typeof n.default == "function" || typeof n.default == "object" && n.default !== null) && typeof n.default.__esModule > "u" && (Object.defineProperty(n.default, "__esModule", { value: !0 }), Object.assign(n.default, n), p.exports = n.default);
81
+ }(v, v.exports), v.exports);
30
82
  }
31
83
  export {
32
- y as __require
84
+ E as __require
33
85
  };
package/index17.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const e=require("react/jsx-runtime"),f=require("react"),h=require("react-aria"),k=require("react-stately"),n=require("./index64.js"),P=require("./index70.js"),T=require("./index6.js"),w=require("./index45.js"),y=require("./index105.js"),v=require("./index3.js"),F=a=>{const{setUserSearchQuery:d}=P.useUserQueryValHook(),{label:l,themeName:s="search",tokens:m,customTheme:t,disabled:i,errorMessage:c,placeholder:x}=a,o=k.useSearchFieldState(a);d(o.value);const u=f.useRef(null),{labelProps:q,inputProps:p,errorMessageProps:$,clearButtonProps:b}=h.useSearchField(a,o,u),r={...m,isError:c!=null},j=n(`${s}.wrapper`,r,t),g=n(`${s}.input`,r,t),S=n(`${s}.label`,r,t),N=n(`${s}.container`,r,t);return e.jsxs("div",{className:j,"aria-disabled":i,children:[l&&e.jsx("label",{...q,className:S,children:l}),e.jsxs("div",{className:N,children:[e.jsx("input",{ref:u,...p,placeholder:x,className:g,disabled:i}),e.jsx(h.FocusRing,{focusRingClass:"has-focus-ring",children:e.jsx(T.default,{handlePress:b.onPress,tokens:{isIconOnly:!0,buttonStyle:"hollow"},themeName:`${s}.icon`,"aria-label":"clear",children:o.value===""?e.jsx(y,{width:"16",height:"16"}):e.jsx(w,{width:"16",height:"16"})})})]}),c&&e.jsx(v.default,{themeName:`${s}.errorMessage`,tokens:r,...$,children:c})]})};module.exports=F;
2
+ "use strict";const e=require("react/jsx-runtime"),R=require("@react-aria/checkbox"),x=require("@react-aria/focus"),v=require("@react-aria/visually-hidden"),B=require("@react-stately/toggle"),C=require("react"),r=require("./index65.js"),F=require("./index14.js"),b=require("./index3.js"),p=i=>{const{id:n,label:m,isDisabled:t=!1,isError:a=!1,errorMessage:l,ariaLabel:f,icon:h,themeName:s="checkbox",tokens:g,customTheme:o}=i,u=B.useToggleState(i),d=C.useRef(null),{inputProps:j}=R.useCheckbox(i,u,d),{isSelected:k}=u,{focusProps:q,isFocusVisible:$}=x.useFocusRing(),c={...g,selected:k,isDisabled:t,isError:a,isFocusVisible:$},T=r(`${s}.container`,c,o),M=r(`${s}.checkBox`,c,o),N=r(`${s}.checkMark`,c,o),y=r(`${s}.checkMarkIcon`,c,o);return e.jsxs("div",{children:[e.jsx(x.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:e.jsxs("label",{className:T,htmlFor:n,"aria-label":f,"aria-disabled":t,children:[e.jsx(v.VisuallyHidden,{children:e.jsx("input",{type:"checkbox",ref:d,"aria-labelledby":n,...j,...q})}),e.jsx("div",{className:M,"aria-checked":k,role:"checkbox","aria-labelledby":n,children:e.jsx("div",{className:N,children:h&&e.jsx(F,{icon:h,customTheme:y})})}),e.jsx(b.default,{themeName:`${s}.label`,tokens:c,children:m})]})}),a&&l&&e.jsx(b.default,{themeName:`${s}.errorMessage`,tokens:c,children:l})]})};module.exports=p;
package/index17.mjs CHANGED
@@ -1,37 +1,35 @@
1
1
  "use client";
2
- import { jsxs as h, jsx as e } from "react/jsx-runtime";
3
- import $ from "react";
4
- import { useSearchField as k, FocusRing as w } from "react-aria";
5
- import { useSearchFieldState as v } from "react-stately";
6
- import t from "./index64.mjs";
7
- import { useUserQueryValHook as x } from "./index70.mjs";
8
- import F from "./index6.mjs";
9
- import R from "./index45.mjs";
10
- import B from "./index105.mjs";
11
- import C from "./index3.mjs";
12
- const q = (a) => {
13
- const { setUserSearchQuery: u } = x(), { label: i, themeName: r = "search", tokens: p, customTheme: s, disabled: c, errorMessage: l, placeholder: d } = a, n = v(a);
14
- u(n.value);
15
- const m = $.useRef(null), { labelProps: f, inputProps: b, errorMessageProps: g, clearButtonProps: T } = k(a, n, m), o = { ...p, isError: l != null }, N = t(`${r}.wrapper`, o, s), S = t(`${r}.input`, o, s), y = t(`${r}.label`, o, s), P = t(`${r}.container`, o, s);
16
- return /* @__PURE__ */ h("div", { className: N, "aria-disabled": c, children: [
17
- i && // eslint-disable-next-line jsx-a11y/label-has-associated-control
18
- /* @__PURE__ */ e("label", { ...f, className: y, children: i }),
19
- /* @__PURE__ */ h("div", { className: P, children: [
20
- /* @__PURE__ */ e("input", { ref: m, ...b, placeholder: d, className: S, disabled: c }),
21
- /* @__PURE__ */ e(w, { focusRingClass: "has-focus-ring", children: /* @__PURE__ */ e(
22
- F,
23
- {
24
- handlePress: T.onPress,
25
- tokens: { isIconOnly: !0, buttonStyle: "hollow" },
26
- themeName: `${r}.icon`,
27
- "aria-label": "clear",
28
- children: n.value === "" ? /* @__PURE__ */ e(B, { width: "16", height: "16" }) : /* @__PURE__ */ e(R, { width: "16", height: "16" })
29
- }
30
- ) })
31
- ] }),
32
- l && /* @__PURE__ */ e(C, { themeName: `${r}.errorMessage`, tokens: o, ...g, children: l })
2
+ import { jsxs as u, jsx as e } from "react/jsx-runtime";
3
+ import { useCheckbox as B } from "@react-aria/checkbox";
4
+ import { useFocusRing as F, FocusRing as R } from "@react-aria/focus";
5
+ import { VisuallyHidden as v } from "@react-aria/visually-hidden";
6
+ import { useToggleState as I } from "@react-stately/toggle";
7
+ import { useRef as j } from "react";
8
+ import r from "./index65.mjs";
9
+ import D from "./index14.mjs";
10
+ import b from "./index3.mjs";
11
+ const A = (a) => {
12
+ const {
13
+ id: i,
14
+ label: f,
15
+ isDisabled: t = !1,
16
+ isError: n = !1,
17
+ errorMessage: l,
18
+ ariaLabel: p,
19
+ icon: h,
20
+ themeName: o = "checkbox",
21
+ tokens: x,
22
+ customTheme: s
23
+ } = a, m = I(a), d = j(null), { inputProps: T } = B(a, m, d), { isSelected: k } = m, { focusProps: g, isFocusVisible: y } = F(), c = { ...x, selected: k, isDisabled: t, isError: n, isFocusVisible: y }, M = r(`${o}.container`, c, s), N = r(`${o}.checkBox`, c, s), $ = r(`${o}.checkMark`, c, s), C = r(`${o}.checkMarkIcon`, c, s);
24
+ return /* @__PURE__ */ u("div", { children: [
25
+ /* @__PURE__ */ e(R, { focusRingClass: "has-focus-ring", within: !0, children: /* @__PURE__ */ u("label", { className: M, htmlFor: i, "aria-label": p, "aria-disabled": t, children: [
26
+ /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e("input", { type: "checkbox", ref: d, "aria-labelledby": i, ...T, ...g }) }),
27
+ /* @__PURE__ */ e("div", { className: N, "aria-checked": k, role: "checkbox", "aria-labelledby": i, children: /* @__PURE__ */ e("div", { className: $, children: h && /* @__PURE__ */ e(D, { icon: h, customTheme: C }) }) }),
28
+ /* @__PURE__ */ e(b, { themeName: `${o}.label`, tokens: c, children: f })
29
+ ] }) }),
30
+ n && l && /* @__PURE__ */ e(b, { themeName: `${o}.errorMessage`, tokens: c, children: l })
33
31
  ] });
34
32
  };
35
33
  export {
36
- q as default
34
+ A as default
37
35
  };
package/index170.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index221.js"),o=require("./index222.js"),f=require("./index204.js");var r;function s(){return r||(r=1,function(u,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addBasePath",{enumerable:!0,get:function(){return _}});const d=o.__require(),n=f.__require(),i=process.env.__NEXT_ROUTER_BASEPATH||"";function _(a,l){return(0,n.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH&&!l?a:(0,d.addPathPrefix)(a,i))}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),u.exports=e.default)}(t.__module,t.__module.exports)),t.__module.exports}exports.__require=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index218.js"),g=require("./index204.js"),h=require("./index219.js"),q=require("./index220.js");var r;function b(){return r||(r=1,function(l,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getDomainLocale",{enumerable:!0,get:function(){return c}});const i=g.__require(),u=process.env.__NEXT_ROUTER_BASEPATH||"";function c(a,d,_,f){if(process.env.__NEXT_I18N_SUPPORT){const s=h.__require().normalizeLocalePath,m=q.__require().detectDomainLocale,n=d||s(a,_).detectedLocale,t=m(f,void 0,n);if(t){const L="http"+(t.http?"":"s")+"://",P=n===t.defaultLocale?"":"/"+n;return""+L+t.domain+(0,i.normalizePathTrailingSlash)(""+u+P+a)}return!1}else return!1}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),l.exports=e.default)}(o.__module,o.__module.exports)),o.__module.exports}exports.__require=b;