@a-ui/react 7.13.0-beta.1 → 7.13.0-beta.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 (465) hide show
  1. package/package.json +3 -3
  2. package/index.js +0 -1
  3. package/index.mjs +0 -100
  4. package/index10.js +0 -1
  5. package/index10.mjs +0 -60
  6. package/index100.js +0 -1
  7. package/index100.mjs +0 -4
  8. package/index101.js +0 -1
  9. package/index101.mjs +0 -400
  10. package/index102.js +0 -5
  11. package/index102.mjs +0 -42
  12. package/index103.js +0 -1
  13. package/index103.mjs +0 -4
  14. package/index104.js +0 -1
  15. package/index104.mjs +0 -10
  16. package/index105.js +0 -2
  17. package/index105.mjs +0 -329
  18. package/index106.js +0 -1
  19. package/index106.mjs +0 -52
  20. package/index107.js +0 -1
  21. package/index107.mjs +0 -4
  22. package/index108.js +0 -1
  23. package/index108.mjs +0 -67
  24. package/index109.js +0 -1
  25. package/index109.mjs +0 -45
  26. package/index11.js +0 -1
  27. package/index11.mjs +0 -12
  28. package/index110.js +0 -10
  29. package/index110.mjs +0 -62
  30. package/index111.js +0 -1
  31. package/index111.mjs +0 -46
  32. package/index112.js +0 -1
  33. package/index112.mjs +0 -42
  34. package/index113.js +0 -1
  35. package/index113.mjs +0 -4
  36. package/index114.js +0 -1
  37. package/index114.mjs +0 -4
  38. package/index115.js +0 -1
  39. package/index115.mjs +0 -4
  40. package/index116.js +0 -1
  41. package/index116.mjs +0 -33
  42. package/index117.js +0 -5
  43. package/index117.mjs +0 -21
  44. package/index118.js +0 -9
  45. package/index118.mjs +0 -63
  46. package/index119.js +0 -1
  47. package/index119.mjs +0 -65
  48. package/index12.js +0 -1
  49. package/index12.mjs +0 -215
  50. package/index120.js +0 -1
  51. package/index120.mjs +0 -16
  52. package/index121.js +0 -1
  53. package/index121.mjs +0 -9
  54. package/index122.js +0 -1
  55. package/index122.mjs +0 -9
  56. package/index123.js +0 -1
  57. package/index123.mjs +0 -8
  58. package/index124.js +0 -1
  59. package/index124.mjs +0 -8
  60. package/index125.js +0 -1
  61. package/index125.mjs +0 -7
  62. package/index126.js +0 -1
  63. package/index126.mjs +0 -7
  64. package/index127.js +0 -1
  65. package/index127.mjs +0 -9
  66. package/index128.js +0 -1
  67. package/index128.mjs +0 -7
  68. package/index129.js +0 -1
  69. package/index129.mjs +0 -69
  70. package/index13.js +0 -1
  71. package/index13.mjs +0 -29
  72. package/index130.js +0 -1
  73. package/index130.mjs +0 -5
  74. package/index131.js +0 -1
  75. package/index131.mjs +0 -7
  76. package/index132.js +0 -1
  77. package/index132.mjs +0 -13
  78. package/index133.js +0 -1
  79. package/index133.mjs +0 -4
  80. package/index134.js +0 -1
  81. package/index134.mjs +0 -393
  82. package/index135.js +0 -1
  83. package/index135.mjs +0 -127
  84. package/index136.js +0 -1
  85. package/index136.mjs +0 -136
  86. package/index137.js +0 -1
  87. package/index137.mjs +0 -4
  88. package/index138.js +0 -1
  89. package/index138.mjs +0 -4
  90. package/index139.js +0 -8
  91. package/index139.mjs +0 -78
  92. package/index14.js +0 -1
  93. package/index14.mjs +0 -44
  94. package/index140.js +0 -8
  95. package/index140.mjs +0 -95
  96. package/index141.js +0 -5
  97. package/index141.mjs +0 -54
  98. package/index142.js +0 -1
  99. package/index142.mjs +0 -10
  100. package/index143.js +0 -1
  101. package/index143.mjs +0 -7
  102. package/index144.js +0 -1
  103. package/index144.mjs +0 -54
  104. package/index145.js +0 -11
  105. package/index145.mjs +0 -60
  106. package/index146.js +0 -1
  107. package/index146.mjs +0 -4
  108. package/index147.js +0 -1
  109. package/index147.mjs +0 -4
  110. package/index148.js +0 -1
  111. package/index148.mjs +0 -7
  112. package/index149.js +0 -1
  113. package/index149.mjs +0 -7
  114. package/index15.js +0 -1
  115. package/index15.mjs +0 -8
  116. package/index150.js +0 -1
  117. package/index150.mjs +0 -9
  118. package/index151.js +0 -1
  119. package/index151.mjs +0 -15
  120. package/index152.js +0 -1
  121. package/index152.mjs +0 -18
  122. package/index153.js +0 -1
  123. package/index153.mjs +0 -11
  124. package/index154.js +0 -1
  125. package/index154.mjs +0 -8
  126. package/index155.js +0 -1
  127. package/index155.mjs +0 -8
  128. package/index156.js +0 -1
  129. package/index156.mjs +0 -7
  130. package/index157.js +0 -1
  131. package/index157.mjs +0 -515
  132. package/index158.js +0 -1
  133. package/index158.mjs +0 -52
  134. package/index159.js +0 -1
  135. package/index159.mjs +0 -20
  136. package/index16.js +0 -1
  137. package/index16.mjs +0 -15
  138. package/index160.js +0 -1
  139. package/index160.mjs +0 -20
  140. package/index161.js +0 -1
  141. package/index161.mjs +0 -7
  142. package/index162.js +0 -1
  143. package/index162.mjs +0 -10
  144. package/index163.js +0 -1
  145. package/index163.mjs +0 -8
  146. package/index164.js +0 -1
  147. package/index164.mjs +0 -7
  148. package/index165.js +0 -1
  149. package/index165.mjs +0 -8
  150. package/index166.js +0 -1
  151. package/index166.mjs +0 -11
  152. package/index167.js +0 -1
  153. package/index167.mjs +0 -7
  154. package/index168.js +0 -1
  155. package/index168.mjs +0 -10
  156. package/index169.js +0 -1
  157. package/index169.mjs +0 -14
  158. package/index17.js +0 -1
  159. package/index17.mjs +0 -108
  160. package/index170.js +0 -1
  161. package/index170.mjs +0 -11
  162. package/index171.js +0 -1
  163. package/index171.mjs +0 -11
  164. package/index172.js +0 -1
  165. package/index172.mjs +0 -15
  166. package/index173.js +0 -1
  167. package/index173.mjs +0 -6
  168. package/index174.js +0 -1
  169. package/index174.mjs +0 -35
  170. package/index175.js +0 -1
  171. package/index175.mjs +0 -67
  172. package/index176.js +0 -1
  173. package/index176.mjs +0 -10
  174. package/index177.js +0 -1
  175. package/index177.mjs +0 -10
  176. package/index178.js +0 -1
  177. package/index178.mjs +0 -9
  178. package/index179.js +0 -1
  179. package/index179.mjs +0 -9
  180. package/index18.js +0 -1
  181. package/index18.mjs +0 -136
  182. package/index180.js +0 -1
  183. package/index180.mjs +0 -16
  184. package/index181.js +0 -1
  185. package/index181.mjs +0 -4
  186. package/index182.js +0 -1
  187. package/index182.mjs +0 -4
  188. package/index183.js +0 -1
  189. package/index183.mjs +0 -4
  190. package/index184.js +0 -1
  191. package/index184.mjs +0 -59
  192. package/index185.js +0 -1
  193. package/index185.mjs +0 -24
  194. package/index186.js +0 -1
  195. package/index186.mjs +0 -43
  196. package/index187.js +0 -1
  197. package/index187.mjs +0 -63
  198. package/index188.js +0 -1
  199. package/index188.mjs +0 -34
  200. package/index189.js +0 -1
  201. package/index189.mjs +0 -15
  202. package/index19.js +0 -1
  203. package/index19.mjs +0 -11
  204. package/index190.js +0 -1
  205. package/index190.mjs +0 -64
  206. package/index191.js +0 -1
  207. package/index191.mjs +0 -64
  208. package/index192.js +0 -1
  209. package/index192.mjs +0 -65
  210. package/index193.js +0 -1
  211. package/index193.mjs +0 -65
  212. package/index194.js +0 -1
  213. package/index194.mjs +0 -42
  214. package/index195.js +0 -1
  215. package/index195.mjs +0 -43
  216. package/index196.js +0 -1
  217. package/index196.mjs +0 -55
  218. package/index197.js +0 -1
  219. package/index197.mjs +0 -45
  220. package/index198.js +0 -1
  221. package/index198.mjs +0 -39
  222. package/index199.js +0 -1
  223. package/index199.mjs +0 -68
  224. package/index2.js +0 -1
  225. package/index2.mjs +0 -12
  226. package/index20.js +0 -1
  227. package/index20.mjs +0 -54
  228. package/index200.js +0 -1
  229. package/index200.mjs +0 -68
  230. package/index201.js +0 -1
  231. package/index201.mjs +0 -93
  232. package/index202.js +0 -1
  233. package/index202.mjs +0 -43
  234. package/index203.js +0 -1
  235. package/index203.mjs +0 -43
  236. package/index204.js +0 -1
  237. package/index204.mjs +0 -43
  238. package/index205.js +0 -1
  239. package/index205.mjs +0 -27
  240. package/index206.js +0 -1
  241. package/index206.mjs +0 -26
  242. package/index207.js +0 -1
  243. package/index207.mjs +0 -26
  244. package/index208.js +0 -1
  245. package/index208.mjs +0 -27
  246. package/index209.js +0 -1
  247. package/index209.mjs +0 -26
  248. package/index21.js +0 -1
  249. package/index21.mjs +0 -33
  250. package/index210.js +0 -1
  251. package/index210.mjs +0 -26
  252. package/index211.js +0 -1
  253. package/index211.mjs +0 -16
  254. package/index212.js +0 -1
  255. package/index212.mjs +0 -42
  256. package/index213.js +0 -1
  257. package/index213.mjs +0 -42
  258. package/index214.js +0 -1
  259. package/index214.mjs +0 -16
  260. package/index215.js +0 -1
  261. package/index215.mjs +0 -16
  262. package/index216.js +0 -1
  263. package/index216.mjs +0 -70
  264. package/index217.js +0 -1
  265. package/index217.mjs +0 -33
  266. package/index218.js +0 -1
  267. package/index218.mjs +0 -11
  268. package/index219.js +0 -1
  269. package/index219.mjs +0 -155
  270. package/index22.js +0 -1
  271. package/index22.mjs +0 -22
  272. package/index220.js +0 -1
  273. package/index220.mjs +0 -110
  274. package/index221.js +0 -1
  275. package/index221.mjs +0 -22
  276. package/index222.js +0 -1
  277. package/index222.mjs +0 -103
  278. package/index223.js +0 -1
  279. package/index223.mjs +0 -49
  280. package/index224.js +0 -1
  281. package/index224.mjs +0 -70
  282. package/index225.js +0 -1
  283. package/index225.mjs +0 -33
  284. package/index226.js +0 -1
  285. package/index226.mjs +0 -11
  286. package/index227.js +0 -1
  287. package/index227.mjs +0 -110
  288. package/index228.js +0 -1
  289. package/index228.mjs +0 -109
  290. package/index229.js +0 -1
  291. package/index229.mjs +0 -9
  292. package/index23.js +0 -1
  293. package/index23.mjs +0 -32
  294. package/index230.js +0 -1
  295. package/index230.mjs +0 -18
  296. package/index231.js +0 -1
  297. package/index231.mjs +0 -31
  298. package/index232.js +0 -1
  299. package/index232.mjs +0 -15
  300. package/index233.js +0 -1
  301. package/index233.mjs +0 -61
  302. package/index234.js +0 -1
  303. package/index234.mjs +0 -11
  304. package/index235.js +0 -1
  305. package/index235.mjs +0 -22
  306. package/index24.js +0 -2
  307. package/index24.mjs +0 -62
  308. package/index25.js +0 -1
  309. package/index25.mjs +0 -15
  310. package/index26.js +0 -1
  311. package/index26.mjs +0 -12
  312. package/index27.js +0 -1
  313. package/index27.mjs +0 -43
  314. package/index28.js +0 -1
  315. package/index28.mjs +0 -34
  316. package/index29.js +0 -1
  317. package/index29.mjs +0 -10
  318. package/index3.js +0 -1
  319. package/index3.mjs +0 -15
  320. package/index30.js +0 -1
  321. package/index30.mjs +0 -72
  322. package/index31.js +0 -1
  323. package/index31.mjs +0 -40
  324. package/index32.js +0 -1
  325. package/index32.mjs +0 -48
  326. package/index33.js +0 -1
  327. package/index33.mjs +0 -90
  328. package/index34.js +0 -1
  329. package/index34.mjs +0 -36
  330. package/index35.js +0 -1
  331. package/index35.mjs +0 -25
  332. package/index36.js +0 -1
  333. package/index36.mjs +0 -27
  334. package/index37.js +0 -1
  335. package/index37.mjs +0 -110
  336. package/index38.js +0 -1
  337. package/index38.mjs +0 -57
  338. package/index39.js +0 -1
  339. package/index39.mjs +0 -21
  340. package/index4.js +0 -1
  341. package/index4.mjs +0 -58
  342. package/index40.js +0 -1
  343. package/index40.mjs +0 -40
  344. package/index41.js +0 -1
  345. package/index41.mjs +0 -54
  346. package/index42.js +0 -1
  347. package/index42.mjs +0 -73
  348. package/index43.js +0 -1
  349. package/index43.mjs +0 -49
  350. package/index44.js +0 -1
  351. package/index44.mjs +0 -13
  352. package/index45.js +0 -1
  353. package/index45.mjs +0 -73
  354. package/index46.js +0 -1
  355. package/index46.mjs +0 -99
  356. package/index47.js +0 -1
  357. package/index47.mjs +0 -45
  358. package/index48.js +0 -1
  359. package/index48.mjs +0 -26
  360. package/index49.js +0 -1
  361. package/index49.mjs +0 -83
  362. package/index5.js +0 -1
  363. package/index5.mjs +0 -136
  364. package/index50.js +0 -1
  365. package/index50.mjs +0 -35
  366. package/index51.js +0 -1
  367. package/index51.mjs +0 -10
  368. package/index52.js +0 -1
  369. package/index52.mjs +0 -13
  370. package/index53.js +0 -1
  371. package/index53.mjs +0 -30
  372. package/index54.js +0 -1
  373. package/index54.mjs +0 -51
  374. package/index55.js +0 -1
  375. package/index55.mjs +0 -10
  376. package/index56.js +0 -1
  377. package/index56.mjs +0 -49
  378. package/index58.js +0 -1
  379. package/index58.mjs +0 -64
  380. package/index59.js +0 -1
  381. package/index59.mjs +0 -62
  382. package/index6.js +0 -1
  383. package/index6.mjs +0 -29
  384. package/index60.js +0 -1
  385. package/index60.mjs +0 -31
  386. package/index61.js +0 -1
  387. package/index61.mjs +0 -23
  388. package/index62.js +0 -1
  389. package/index62.mjs +0 -32
  390. package/index63.js +0 -1
  391. package/index63.mjs +0 -16
  392. package/index64.js +0 -1
  393. package/index64.mjs +0 -61
  394. package/index65.js +0 -1
  395. package/index65.mjs +0 -19
  396. package/index66.js +0 -7
  397. package/index66.mjs +0 -411
  398. package/index7.js +0 -1
  399. package/index7.mjs +0 -8
  400. package/index70.js +0 -1
  401. package/index70.mjs +0 -4
  402. package/index71.js +0 -1
  403. package/index71.mjs +0 -76
  404. package/index72.js +0 -1
  405. package/index72.mjs +0 -31
  406. package/index73.js +0 -1
  407. package/index73.mjs +0 -38
  408. package/index74.js +0 -1
  409. package/index74.mjs +0 -6
  410. package/index75.js +0 -1
  411. package/index75.mjs +0 -37
  412. package/index76.js +0 -1
  413. package/index76.mjs +0 -7
  414. package/index77.js +0 -1
  415. package/index77.mjs +0 -7
  416. package/index78.js +0 -1
  417. package/index78.mjs +0 -7
  418. package/index79.js +0 -1
  419. package/index79.mjs +0 -7
  420. package/index8.js +0 -1
  421. package/index8.mjs +0 -18
  422. package/index80.js +0 -1
  423. package/index80.mjs +0 -7
  424. package/index81.js +0 -1
  425. package/index81.mjs +0 -19
  426. package/index82.js +0 -1
  427. package/index82.mjs +0 -87
  428. package/index83.js +0 -1
  429. package/index83.mjs +0 -8
  430. package/index84.js +0 -1
  431. package/index84.mjs +0 -27
  432. package/index85.js +0 -1
  433. package/index85.mjs +0 -57
  434. package/index87.js +0 -1
  435. package/index87.mjs +0 -7
  436. package/index88.js +0 -1
  437. package/index88.mjs +0 -121
  438. package/index89.js +0 -1
  439. package/index89.mjs +0 -20
  440. package/index9.js +0 -1
  441. package/index9.mjs +0 -18
  442. package/index90.js +0 -1
  443. package/index90.mjs +0 -26
  444. package/index91.js +0 -1
  445. package/index91.mjs +0 -4
  446. package/index92.js +0 -1
  447. package/index92.mjs +0 -237
  448. package/index93.js +0 -1
  449. package/index93.mjs +0 -4
  450. package/index94.js +0 -1
  451. package/index94.mjs +0 -13
  452. package/index95.js +0 -1
  453. package/index95.mjs +0 -249
  454. package/index96.js +0 -1
  455. package/index96.mjs +0 -91
  456. package/index97.js +0 -1
  457. package/index97.mjs +0 -15
  458. package/index98.js +0 -1
  459. package/index98.mjs +0 -6
  460. package/index99.js +0 -1
  461. package/index99.mjs +0 -4
  462. package/packages/antwerp-ui/react-components/src/lib/atoms/input/text-field/TextField.css +0 -1
  463. package/packages/antwerp-ui/react-components/src/lib/atoms/tooltip/Tooltip.css +0 -1
  464. package/packages/antwerp-ui/react-components/src/lib/molecules/autocomplete/Autocomplete.css +0 -1
  465. package/packages/antwerp-ui/react-components/src/lib/molecules/datepicker/DateRangePicker.css +0 -1
package/index95.mjs DELETED
@@ -1,249 +0,0 @@
1
- import { __module as T } from "./index107.mjs";
2
- import $ from "react";
3
- import { p as V } from "./index94.mjs";
4
- import "./index108.mjs";
5
- import { s as z } from "./index109.mjs";
6
- import "./index96.mjs";
7
- import "./index110.mjs";
8
- import "./index97.mjs";
9
- import "./index111.mjs";
10
- import "./index112.mjs";
11
- import { __exports as G } from "./index99.mjs";
12
- import { __exports as J } from "./index113.mjs";
13
- import { __exports as Q } from "./index100.mjs";
14
- import { __exports as X } from "./index114.mjs";
15
- import { __exports as Y } from "./index115.mjs";
16
- (function(E, O) {
17
- Object.defineProperty(O, "__esModule", {
18
- value: !0
19
- });
20
- var c = Object.assign || function(a) {
21
- for (var n = 1; n < arguments.length; n++) {
22
- var s = arguments[n];
23
- for (var e in s)
24
- Object.prototype.hasOwnProperty.call(s, e) && (a[e] = s[e]);
25
- }
26
- return a;
27
- }, A = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(a) {
28
- return typeof a;
29
- } : function(a) {
30
- return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a;
31
- }, R = /* @__PURE__ */ function() {
32
- function a(n, s) {
33
- for (var e = 0; e < s.length; e++) {
34
- var t = s[e];
35
- t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(n, t.key, t);
36
- }
37
- }
38
- return function(n, s, e) {
39
- return s && a(n.prototype, s), e && a(n, e), n;
40
- };
41
- }(), w = $, g = V, o = m(g), D = Y, p = C(D), F = z, H = m(F), k = Q, N = C(k), x = J, d = C(x), v = G, S = m(v), L = X, M = m(L);
42
- function C(a) {
43
- if (a && a.__esModule)
44
- return a;
45
- var n = {};
46
- if (a != null)
47
- for (var s in a)
48
- Object.prototype.hasOwnProperty.call(a, s) && (n[s] = a[s]);
49
- return n.default = a, n;
50
- }
51
- function m(a) {
52
- return a && a.__esModule ? a : { default: a };
53
- }
54
- function P(a, n) {
55
- if (!(a instanceof n))
56
- throw new TypeError("Cannot call a class as a function");
57
- }
58
- function q(a, n) {
59
- if (!a)
60
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
61
- return n && (typeof n == "object" || typeof n == "function") ? n : a;
62
- }
63
- function W(a, n) {
64
- if (typeof n != "function" && n !== null)
65
- throw new TypeError("Super expression must either be null or a function, not " + typeof n);
66
- a.prototype = Object.create(n && n.prototype, { constructor: { value: a, enumerable: !1, writable: !0, configurable: !0 } }), n && (Object.setPrototypeOf ? Object.setPrototypeOf(a, n) : a.__proto__ = n);
67
- }
68
- var b = {
69
- overlay: "ReactModal__Overlay",
70
- content: "ReactModal__Content"
71
- }, j = function(n) {
72
- return n.code === "Tab" || n.keyCode === 9;
73
- }, I = function(n) {
74
- return n.code === "Escape" || n.keyCode === 27;
75
- }, h = 0, _ = function(a) {
76
- W(n, a);
77
- function n(s) {
78
- P(this, n);
79
- var e = q(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, s));
80
- return e.setOverlayRef = function(t) {
81
- e.overlay = t, e.props.overlayRef && e.props.overlayRef(t);
82
- }, e.setContentRef = function(t) {
83
- e.content = t, e.props.contentRef && e.props.contentRef(t);
84
- }, e.afterClose = function() {
85
- var t = e.props, l = t.appElement, i = t.ariaHideApp, r = t.htmlOpenClassName, u = t.bodyOpenClassName, f = t.parentSelector, y = f && f().ownerDocument || document;
86
- u && d.remove(y.body, u), r && d.remove(y.getElementsByTagName("html")[0], r), i && h > 0 && (h -= 1, h === 0 && N.show(l)), e.props.shouldFocusAfterRender && (e.props.shouldReturnFocusAfterClose ? (p.returnFocus(e.props.preventScroll), p.teardownScopedFocus()) : p.popWithoutFocus()), e.props.onAfterClose && e.props.onAfterClose(), M.default.deregister(e);
87
- }, e.open = function() {
88
- e.beforeOpen(), e.state.afterOpen && e.state.beforeClose ? (clearTimeout(e.closeTimer), e.setState({ beforeClose: !1 })) : (e.props.shouldFocusAfterRender && (p.setupScopedFocus(e.node), p.markForFocusLater()), e.setState({ isOpen: !0 }, function() {
89
- e.openAnimationFrame = requestAnimationFrame(function() {
90
- e.setState({ afterOpen: !0 }), e.props.isOpen && e.props.onAfterOpen && e.props.onAfterOpen({
91
- overlayEl: e.overlay,
92
- contentEl: e.content
93
- });
94
- });
95
- }));
96
- }, e.close = function() {
97
- e.props.closeTimeoutMS > 0 ? e.closeWithTimeout() : e.closeWithoutTimeout();
98
- }, e.focusContent = function() {
99
- return e.content && !e.contentHasFocus() && e.content.focus({ preventScroll: !0 });
100
- }, e.closeWithTimeout = function() {
101
- var t = Date.now() + e.props.closeTimeoutMS;
102
- e.setState({ beforeClose: !0, closesAt: t }, function() {
103
- e.closeTimer = setTimeout(e.closeWithoutTimeout, e.state.closesAt - Date.now());
104
- });
105
- }, e.closeWithoutTimeout = function() {
106
- e.setState({
107
- beforeClose: !1,
108
- isOpen: !1,
109
- afterOpen: !1,
110
- closesAt: null
111
- }, e.afterClose);
112
- }, e.handleKeyDown = function(t) {
113
- j(t) && (0, H.default)(e.content, t), e.props.shouldCloseOnEsc && I(t) && (t.stopPropagation(), e.requestClose(t));
114
- }, e.handleOverlayOnClick = function(t) {
115
- e.shouldClose === null && (e.shouldClose = !0), e.shouldClose && e.props.shouldCloseOnOverlayClick && (e.ownerHandlesClose() ? e.requestClose(t) : e.focusContent()), e.shouldClose = null;
116
- }, e.handleContentOnMouseUp = function() {
117
- e.shouldClose = !1;
118
- }, e.handleOverlayOnMouseDown = function(t) {
119
- !e.props.shouldCloseOnOverlayClick && t.target == e.overlay && t.preventDefault();
120
- }, e.handleContentOnClick = function() {
121
- e.shouldClose = !1;
122
- }, e.handleContentOnMouseDown = function() {
123
- e.shouldClose = !1;
124
- }, e.requestClose = function(t) {
125
- return e.ownerHandlesClose() && e.props.onRequestClose(t);
126
- }, e.ownerHandlesClose = function() {
127
- return e.props.onRequestClose;
128
- }, e.shouldBeClosed = function() {
129
- return !e.state.isOpen && !e.state.beforeClose;
130
- }, e.contentHasFocus = function() {
131
- return document.activeElement === e.content || e.content.contains(document.activeElement);
132
- }, e.buildClassName = function(t, l) {
133
- var i = (typeof l > "u" ? "undefined" : A(l)) === "object" ? l : {
134
- base: b[t],
135
- afterOpen: b[t] + "--after-open",
136
- beforeClose: b[t] + "--before-close"
137
- }, r = i.base;
138
- return e.state.afterOpen && (r = r + " " + i.afterOpen), e.state.beforeClose && (r = r + " " + i.beforeClose), typeof l == "string" && l ? r + " " + l : r;
139
- }, e.attributesFromObject = function(t, l) {
140
- return Object.keys(l).reduce(function(i, r) {
141
- return i[t + "-" + r] = l[r], i;
142
- }, {});
143
- }, e.state = {
144
- afterOpen: !1,
145
- beforeClose: !1
146
- }, e.shouldClose = null, e.moveFromContentToOverlay = null, e;
147
- }
148
- return R(n, [{
149
- key: "componentDidMount",
150
- value: function() {
151
- this.props.isOpen && this.open();
152
- }
153
- }, {
154
- key: "componentDidUpdate",
155
- value: function(e, t) {
156
- process.env.NODE_ENV !== "production" && (e.bodyOpenClassName !== this.props.bodyOpenClassName && console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'), e.htmlOpenClassName !== this.props.htmlOpenClassName && console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')), this.props.isOpen && !e.isOpen ? this.open() : !this.props.isOpen && e.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !t.isOpen && this.focusContent();
157
- }
158
- }, {
159
- key: "componentWillUnmount",
160
- value: function() {
161
- this.state.isOpen && this.afterClose(), clearTimeout(this.closeTimer), cancelAnimationFrame(this.openAnimationFrame);
162
- }
163
- }, {
164
- key: "beforeOpen",
165
- value: function() {
166
- var e = this.props, t = e.appElement, l = e.ariaHideApp, i = e.htmlOpenClassName, r = e.bodyOpenClassName, u = e.parentSelector, f = u && u().ownerDocument || document;
167
- r && d.add(f.body, r), i && d.add(f.getElementsByTagName("html")[0], i), l && (h += 1, N.hide(t)), M.default.register(this);
168
- }
169
- // Don't steal focus from inner elements
170
- }, {
171
- key: "render",
172
- value: function() {
173
- var e = this.props, t = e.id, l = e.className, i = e.overlayClassName, r = e.defaultStyles, u = e.children, f = l ? {} : r.content, y = i ? {} : r.overlay;
174
- if (this.shouldBeClosed())
175
- return null;
176
- var K = {
177
- ref: this.setOverlayRef,
178
- className: this.buildClassName("overlay", i),
179
- style: c({}, y, this.props.style.overlay),
180
- onClick: this.handleOverlayOnClick,
181
- onMouseDown: this.handleOverlayOnMouseDown
182
- }, U = c({
183
- id: t,
184
- ref: this.setContentRef,
185
- style: c({}, f, this.props.style.content),
186
- className: this.buildClassName("content", l),
187
- tabIndex: "-1",
188
- onKeyDown: this.handleKeyDown,
189
- onMouseDown: this.handleContentOnMouseDown,
190
- onMouseUp: this.handleContentOnMouseUp,
191
- onClick: this.handleContentOnClick,
192
- role: this.props.role,
193
- "aria-label": this.props.contentLabel
194
- }, this.attributesFromObject("aria", c({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
195
- "data-testid": this.props.testId
196
- }), B = this.props.contentElement(U, u);
197
- return this.props.overlayElement(K, B);
198
- }
199
- }]), n;
200
- }(w.Component);
201
- _.defaultProps = {
202
- style: {
203
- overlay: {},
204
- content: {}
205
- },
206
- defaultStyles: {}
207
- }, _.propTypes = {
208
- isOpen: o.default.bool.isRequired,
209
- defaultStyles: o.default.shape({
210
- content: o.default.object,
211
- overlay: o.default.object
212
- }),
213
- style: o.default.shape({
214
- content: o.default.object,
215
- overlay: o.default.object
216
- }),
217
- className: o.default.oneOfType([o.default.string, o.default.object]),
218
- overlayClassName: o.default.oneOfType([o.default.string, o.default.object]),
219
- parentSelector: o.default.func,
220
- bodyOpenClassName: o.default.string,
221
- htmlOpenClassName: o.default.string,
222
- ariaHideApp: o.default.bool,
223
- appElement: o.default.oneOfType([o.default.instanceOf(S.default), o.default.instanceOf(v.SafeHTMLCollection), o.default.instanceOf(v.SafeNodeList), o.default.arrayOf(o.default.instanceOf(S.default))]),
224
- onAfterOpen: o.default.func,
225
- onAfterClose: o.default.func,
226
- onRequestClose: o.default.func,
227
- closeTimeoutMS: o.default.number,
228
- shouldFocusAfterRender: o.default.bool,
229
- shouldCloseOnOverlayClick: o.default.bool,
230
- shouldReturnFocusAfterClose: o.default.bool,
231
- preventScroll: o.default.bool,
232
- role: o.default.string,
233
- contentLabel: o.default.string,
234
- aria: o.default.object,
235
- data: o.default.object,
236
- children: o.default.node,
237
- shouldCloseOnEsc: o.default.bool,
238
- overlayRef: o.default.func,
239
- contentRef: o.default.func,
240
- id: o.default.string,
241
- overlayElement: o.default.func,
242
- contentElement: o.default.func,
243
- testId: o.default.string
244
- }, O.default = _, E.exports = O.default;
245
- })(T, T.exports);
246
- var me = T.exports;
247
- export {
248
- me as M
249
- };
package/index96.js DELETED
@@ -1 +0,0 @@
1
- "use strict";const n=require("./index100.js"),c=require("./index116.js");require("./index97.js");const m=require("./index99.js");Object.defineProperty(n.__exports,"__esModule",{value:!0});n.__exports.resetState=E;n.__exports.log=h;n.__exports.assertNodeList=f;n.__exports.setElement=g;n.__exports.validateElement=d;n.__exports.hide=A;n.__exports.show=x;n.__exports.documentNotReadyOrSSRTesting=w;var p=c.warning_1,_=y(p),v=m.__exports;function y(e){return e&&e.__esModule?e:{default:e}}var t=null;function E(){t&&(t.removeAttribute?t.removeAttribute("aria-hidden"):t.length!=null?t.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(t).forEach(function(e){return e.removeAttribute("aria-hidden")})),t=null}function h(){if(process.env.NODE_ENV!=="production"){var e=t||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}}function f(e,r){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+r+".")}function g(e){var r=e;if(typeof r=="string"&&v.canUseDOM){var o=document.querySelectorAll(r);f(o,r),r=o}return t=r||t,t}function d(e){var r=e||t;return r?Array.isArray(r)||r instanceof HTMLCollection||r instanceof NodeList?r:[r]:((0,_.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function A(e){var r=!0,o=!1,i=void 0;try{for(var a=d(e)[Symbol.iterator](),l;!(r=(l=a.next()).done);r=!0){var s=l.value;s.setAttribute("aria-hidden","true")}}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}}function x(e){var r=!0,o=!1,i=void 0;try{for(var a=d(e)[Symbol.iterator](),l;!(r=(l=a.next()).done);r=!0){var s=l.value;s.removeAttribute("aria-hidden")}}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}}function w(){t=null}module.exports=n.__exports;
package/index96.mjs DELETED
@@ -1,91 +0,0 @@
1
- import { __exports as n } from "./index100.mjs";
2
- import { w as m } from "./index116.mjs";
3
- import "./index97.mjs";
4
- import { __exports as c } from "./index99.mjs";
5
- Object.defineProperty(n, "__esModule", {
6
- value: !0
7
- });
8
- n.resetState = h;
9
- n.log = A;
10
- n.assertNodeList = f;
11
- n.setElement = g;
12
- n.validateElement = s;
13
- n.hide = _;
14
- n.show = w;
15
- n.documentNotReadyOrSSRTesting = N;
16
- var v = m, p = E(v), y = c;
17
- function E(e) {
18
- return e && e.__esModule ? e : { default: e };
19
- }
20
- var t = null;
21
- function h() {
22
- t && (t.removeAttribute ? t.removeAttribute("aria-hidden") : t.length != null ? t.forEach(function(e) {
23
- return e.removeAttribute("aria-hidden");
24
- }) : document.querySelectorAll(t).forEach(function(e) {
25
- return e.removeAttribute("aria-hidden");
26
- })), t = null;
27
- }
28
- function A() {
29
- if (process.env.NODE_ENV !== "production") {
30
- var e = t || {};
31
- console.log("ariaAppHider ----------"), console.log(e.nodeName, e.className, e.id), console.log("end ariaAppHider ----------");
32
- }
33
- }
34
- function f(e, r) {
35
- if (!e || !e.length)
36
- throw new Error("react-modal: No elements were found for selector " + r + ".");
37
- }
38
- function g(e) {
39
- var r = e;
40
- if (typeof r == "string" && y.canUseDOM) {
41
- var o = document.querySelectorAll(r);
42
- f(o, r), r = o;
43
- }
44
- return t = r || t, t;
45
- }
46
- function s(e) {
47
- var r = e || t;
48
- return r ? Array.isArray(r) || r instanceof HTMLCollection || r instanceof NodeList ? r : [r] : ((0, p.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []);
49
- }
50
- function _(e) {
51
- var r = !0, o = !1, i = void 0;
52
- try {
53
- for (var a = s(e)[Symbol.iterator](), l; !(r = (l = a.next()).done); r = !0) {
54
- var u = l.value;
55
- u.setAttribute("aria-hidden", "true");
56
- }
57
- } catch (d) {
58
- o = !0, i = d;
59
- } finally {
60
- try {
61
- !r && a.return && a.return();
62
- } finally {
63
- if (o)
64
- throw i;
65
- }
66
- }
67
- }
68
- function w(e) {
69
- var r = !0, o = !1, i = void 0;
70
- try {
71
- for (var a = s(e)[Symbol.iterator](), l; !(r = (l = a.next()).done); r = !0) {
72
- var u = l.value;
73
- u.removeAttribute("aria-hidden");
74
- }
75
- } catch (d) {
76
- o = !0, i = d;
77
- } finally {
78
- try {
79
- !r && a.return && a.return();
80
- } finally {
81
- if (o)
82
- throw i;
83
- }
84
- }
85
- }
86
- function N() {
87
- t = null;
88
- }
89
- export {
90
- n as default
91
- };
package/index97.js DELETED
@@ -1 +0,0 @@
1
- "use strict";const e=require("./index99.js"),o=require("./index117.js");Object.defineProperty(e.__exports,"__esModule",{value:!0});e.__exports.canUseDOM=e.__exports.SafeNodeList=e.__exports.SafeHTMLCollection=void 0;var r=o.exenvExports,s=_(r);function _(t){return t&&t.__esModule?t:{default:t}}var n=s.default,a=n.canUseDOM?window.HTMLElement:{};e.__exports.SafeHTMLCollection=n.canUseDOM?window.HTMLCollection:{};e.__exports.SafeNodeList=n.canUseDOM?window.NodeList:{};e.__exports.canUseDOM=n.canUseDOM;e.__exports.default=a;
package/index97.mjs DELETED
@@ -1,15 +0,0 @@
1
- import { __exports as e } from "./index99.mjs";
2
- import { e as t } from "./index117.mjs";
3
- Object.defineProperty(e, "__esModule", {
4
- value: !0
5
- });
6
- e.canUseDOM = e.SafeNodeList = e.SafeHTMLCollection = void 0;
7
- var o = t, r = i(o);
8
- function i(n) {
9
- return n && n.__esModule ? n : { default: n };
10
- }
11
- var a = r.default, l = a.canUseDOM ? window.HTMLElement : {};
12
- e.SafeHTMLCollection = a.canUseDOM ? window.HTMLCollection : {};
13
- e.SafeNodeList = a.canUseDOM ? window.NodeList : {};
14
- e.canUseDOM = a.canUseDOM;
15
- e.default = l;
package/index98.js DELETED
@@ -1 +0,0 @@
1
- "use strict";const e=require("./index90.js"),s=require("./index118.js"),r=e.getAugmentedNamespace(s);module.exports=r;
package/index98.mjs DELETED
@@ -1,6 +0,0 @@
1
- import { getAugmentedNamespace as e } from "./index90.mjs";
2
- import * as t from "./index118.mjs";
3
- const a = /* @__PURE__ */ e(t);
4
- export {
5
- a as default
6
- };
package/index99.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
package/index99.mjs DELETED
@@ -1,4 +0,0 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
@@ -1 +0,0 @@
1
- .a-input.has-spinner .a-spinner{position:absolute;top:50%;transform:translateY(-50%)}.a-input.has-spinner-left .a-spinner{left:1rem}.a-input.has-spinner-right .a-spinner{right:1rem}
@@ -1 +0,0 @@
1
- .a-tooltip__base{--rt-opacity: 1;padding:0;border-radius:0;font-size:100%;transition:opacity .15s ease-out}
@@ -1 +0,0 @@
1
- .a-list.a-list--lined a.a-list__content.is-highlighted{background-color:var(--list-item-hover-bg-color);color:var(--list-item-hover-color)}.m-autocomplete.m-flyout{width:100%}
@@ -1 +0,0 @@
1
- .m-daterangepicker__full{width:100%}.m-daterangepicker .m-datepicker{width:200%}.m-datepicker__grid-body button.is-hovered:not(.is-selected):not(.is-unavailable):not(:disabled){background-color:var(--datepicker-highlight-color);color:var(--datepicker-active-color)}