@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/index228.mjs DELETED
@@ -1,109 +0,0 @@
1
- import { buildMatchFn as a } from "./index231.mjs";
2
- import { buildMatchPatternFn as i } from "./index232.mjs";
3
- const e = /^(\d+)e?/i, r = /\d+/i, n = {
4
- narrow: /^([vn]\.? ?C\.?)/,
5
- abbreviated: /^([vn]\. ?Chr\.?)/,
6
- wide: /^((voor|na) Christus)/
7
- }, d = {
8
- any: [/^v/, /^n/]
9
- }, s = {
10
- narrow: /^[1234]/i,
11
- abbreviated: /^K[1234]/i,
12
- wide: /^[1234]e kwartaal/i
13
- }, o = {
14
- any: [/1/i, /2/i, /3/i, /4/i]
15
- }, m = {
16
- narrow: /^[jfmasond]/i,
17
- abbreviated: /^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,
18
- wide: /^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i
19
- }, h = {
20
- narrow: [
21
- /^j/i,
22
- /^f/i,
23
- /^m/i,
24
- /^a/i,
25
- /^m/i,
26
- /^j/i,
27
- /^j/i,
28
- /^a/i,
29
- /^s/i,
30
- /^o/i,
31
- /^n/i,
32
- /^d/i
33
- ],
34
- any: [
35
- /^jan/i,
36
- /^feb/i,
37
- /^m(r|a)/i,
38
- /^apr/i,
39
- /^mei/i,
40
- /^jun/i,
41
- /^jul/i,
42
- /^aug/i,
43
- /^sep/i,
44
- /^okt/i,
45
- /^nov/i,
46
- /^dec/i
47
- ]
48
- }, c = {
49
- narrow: /^[zmdwv]/i,
50
- short: /^(zo|ma|di|wo|do|vr|za)/i,
51
- abbreviated: /^(zon|maa|din|woe|don|vri|zat)/i,
52
- wide: /^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i
53
- }, u = {
54
- narrow: [/^z/i, /^m/i, /^d/i, /^w/i, /^d/i, /^v/i, /^z/i],
55
- any: [/^zo/i, /^ma/i, /^di/i, /^wo/i, /^do/i, /^vr/i, /^za/i]
56
- }, P = {
57
- any: /^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i
58
- }, l = {
59
- any: {
60
- am: /^am/i,
61
- pm: /^pm/i,
62
- midnight: /^middernacht/i,
63
- noon: /^het middaguur/i,
64
- morning: /ochtend/i,
65
- afternoon: /middag/i,
66
- evening: /avond/i,
67
- night: /nacht/i
68
- }
69
- }, v = {
70
- ordinalNumber: i({
71
- matchPattern: e,
72
- parsePattern: r,
73
- valueCallback: (t) => parseInt(t, 10)
74
- }),
75
- era: a({
76
- matchPatterns: n,
77
- defaultMatchWidth: "wide",
78
- parsePatterns: d,
79
- defaultParseWidth: "any"
80
- }),
81
- quarter: a({
82
- matchPatterns: s,
83
- defaultMatchWidth: "wide",
84
- parsePatterns: o,
85
- defaultParseWidth: "any",
86
- valueCallback: (t) => t + 1
87
- }),
88
- month: a({
89
- matchPatterns: m,
90
- defaultMatchWidth: "wide",
91
- parsePatterns: h,
92
- defaultParseWidth: "any"
93
- }),
94
- day: a({
95
- matchPatterns: c,
96
- defaultMatchWidth: "wide",
97
- parsePatterns: u,
98
- defaultParseWidth: "any"
99
- }),
100
- dayPeriod: a({
101
- matchPatterns: P,
102
- defaultMatchWidth: "any",
103
- parsePatterns: l,
104
- defaultParseWidth: "any"
105
- })
106
- };
107
- export {
108
- v as match
109
- };
package/index229.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(t){return(o={})=>{const n=o.width?String(o.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}exports.buildFormatLongFn=r;
package/index229.mjs DELETED
@@ -1,9 +0,0 @@
1
- function r(t) {
2
- return (d = {}) => {
3
- const n = d.width ? String(d.width) : t.defaultWidth;
4
- return t.formats[n] || t.formats[t.defaultWidth];
5
- };
6
- }
7
- export {
8
- r as buildFormatLongFn
9
- };
package/index23.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),t=require("react"),d=require("./index20.js"),s=require("./index10.js");function u({logoHref:r="/",logoAlt:n="Naar de startpagina",menuItems:o=[],logoSrc:l="https://cdn.antwerpen.be/core_branding_scss/7.2.0/assets/images/a-logo.svg",skipToMainLabel:i="Ga naar inhoud",qa:c}){return a.jsx("header",{className:"o-header","data-qa":c,children:a.jsxs("div",{className:"o-header__content-wrapper",children:[a.jsxs("div",{className:"o-header__content",children:[a.jsx("a",{href:"#main",className:"a-button a-button--text a-button--neutral o-header__button-skip",children:i}),a.jsx("a",{href:r,className:"o-header__logo",children:a.jsx("img",{src:l,alt:n})})]}),a.jsx("div",{className:"o-header__menu-items",children:(o||[]).map(e=>e.flyout?a.jsx(d.Flyout,{...e.flyout,trigger:t.createElement(s.Button,{...e,key:e.id,emphasis:"low",theme:"neutral",className:"o-header__button"},e.label)},e.id):t.createElement(s.Button,{...e,key:e.id,emphasis:"low",theme:"neutral",className:"o-header__button"},e.label))})]})})}exports.Header=u;
package/index23.mjs DELETED
@@ -1,32 +0,0 @@
1
- import { jsx as a, jsxs as t } from "react/jsx-runtime";
2
- import { createElement as r } from "react";
3
- import { Flyout as c } from "./index20.mjs";
4
- import { Button as o } from "./index10.mjs";
5
- function b({
6
- logoHref: s = "/",
7
- logoAlt: n = "Naar de startpagina",
8
- menuItems: l = [],
9
- logoSrc: i = "https://cdn.antwerpen.be/core_branding_scss/7.2.0/assets/images/a-logo.svg",
10
- skipToMainLabel: d = "Ga naar inhoud",
11
- qa: h
12
- }) {
13
- return /* @__PURE__ */ a("header", { className: "o-header", "data-qa": h, children: /* @__PURE__ */ t("div", { className: "o-header__content-wrapper", children: [
14
- /* @__PURE__ */ t("div", { className: "o-header__content", children: [
15
- /* @__PURE__ */ a("a", { href: "#main", className: "a-button a-button--text a-button--neutral o-header__button-skip", children: d }),
16
- /* @__PURE__ */ a("a", { href: s, className: "o-header__logo", children: /* @__PURE__ */ a("img", { src: i, alt: n }) })
17
- ] }),
18
- /* @__PURE__ */ a("div", { className: "o-header__menu-items", children: (l || []).map(
19
- (e) => e.flyout ? /* @__PURE__ */ a(
20
- c,
21
- {
22
- ...e.flyout,
23
- trigger: /* @__PURE__ */ r(o, { ...e, key: e.id, emphasis: "low", theme: "neutral", className: "o-header__button" }, e.label)
24
- },
25
- e.id
26
- ) : /* @__PURE__ */ r(o, { ...e, key: e.id, emphasis: "low", theme: "neutral", className: "o-header__button" }, e.label)
27
- ) })
28
- ] }) });
29
- }
30
- export {
31
- b as Header
32
- };
package/index230.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(t){return(d,e)=>{const u=e?.context?String(e.context):"standalone";let l;if(u==="formatting"&&t.formattingValues){const i=t.defaultFormattingWidth||t.defaultWidth,n=e?.width?String(e.width):i;l=t.formattingValues[n]||t.formattingValues[i]}else{const i=t.defaultWidth,n=e?.width?String(e.width):t.defaultWidth;l=t.values[n]||t.values[i]}const a=t.argumentCallback?t.argumentCallback(d):d;return l[a]}}exports.buildLocalizeFn=c;
package/index230.mjs DELETED
@@ -1,18 +0,0 @@
1
- function c(t) {
2
- return (l, e) => {
3
- const u = e?.context ? String(e.context) : "standalone";
4
- let d;
5
- if (u === "formatting" && t.formattingValues) {
6
- const n = t.defaultFormattingWidth || t.defaultWidth, i = e?.width ? String(e.width) : n;
7
- d = t.formattingValues[i] || t.formattingValues[n];
8
- } else {
9
- const n = t.defaultWidth, i = e?.width ? String(e.width) : t.defaultWidth;
10
- d = t.values[i] || t.values[n];
11
- }
12
- const a = t.argumentCallback ? t.argumentCallback(l) : l;
13
- return d[a];
14
- };
15
- }
16
- export {
17
- c as buildLocalizeFn
18
- };
package/index231.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function f(t){return(n,e={})=>{const l=e.width,h=l&&t.matchPatterns[l]||t.matchPatterns[t.defaultMatchWidth],i=n.match(h);if(!i)return null;const r=i[0],c=l&&t.parsePatterns[l]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(c)?y(c,u=>u.test(r)):o(c,u=>u.test(r));let a;a=t.valueCallback?t.valueCallback(d):d,a=e.valueCallback?e.valueCallback(a):a;const s=n.slice(r.length);return{value:a,rest:s}}}function o(t,n){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&n(t[e]))return e}function y(t,n){for(let e=0;e<t.length;e++)if(n(t[e]))return e}exports.buildMatchFn=f;
package/index231.mjs DELETED
@@ -1,31 +0,0 @@
1
- function P(t) {
2
- return (n, e = {}) => {
3
- const l = e.width, h = l && t.matchPatterns[l] || t.matchPatterns[t.defaultMatchWidth], i = n.match(h);
4
- if (!i)
5
- return null;
6
- const r = i[0], c = l && t.parsePatterns[l] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(c) ? o(c, (u) => u.test(r)) : (
7
- // [TODO] -- I challenge you to fix the type
8
- s(c, (u) => u.test(r))
9
- );
10
- let a;
11
- a = t.valueCallback ? t.valueCallback(d) : d, a = e.valueCallback ? (
12
- // [TODO] -- I challenge you to fix the type
13
- e.valueCallback(a)
14
- ) : a;
15
- const f = n.slice(r.length);
16
- return { value: a, rest: f };
17
- };
18
- }
19
- function s(t, n) {
20
- for (const e in t)
21
- if (Object.prototype.hasOwnProperty.call(t, e) && n(t[e]))
22
- return e;
23
- }
24
- function o(t, n) {
25
- for (let e = 0; e < t.length; e++)
26
- if (n(t[e]))
27
- return e;
28
- }
29
- export {
30
- P as buildMatchFn
31
- };
package/index232.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function b(t){return(l,c={})=>{const n=l.match(t.matchPattern);if(!n)return null;const u=n[0],a=l.match(t.parsePattern);if(!a)return null;let e=t.valueCallback?t.valueCallback(a[0]):a[0];e=c.valueCallback?c.valueCallback(e):e;const r=l.slice(u.length);return{value:e,rest:r}}}exports.buildMatchPatternFn=b;
package/index232.mjs DELETED
@@ -1,15 +0,0 @@
1
- function h(t) {
2
- return (e, c = {}) => {
3
- const n = e.match(t.matchPattern);
4
- if (!n) return null;
5
- const u = n[0], a = e.match(t.parsePattern);
6
- if (!a) return null;
7
- let l = t.valueCallback ? t.valueCallback(a[0]) : a[0];
8
- l = c.valueCallback ? c.valueCallback(l) : l;
9
- const r = e.slice(u.length);
10
- return { value: l, rest: r };
11
- };
12
- }
13
- export {
14
- h as buildMatchPatternFn
15
- };
package/index233.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index234.js"),s=require("./index129.js");class o extends s.TZDateMini{static tz(t,...e){return e.length?new o(...e,t):new o(Date.now(),t)}toISOString(){const[t,e,n]=this.tzComponents(),i=`${t}${e}:${n}`;return this.internal.toISOString().slice(0,-1)+i}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[t,e,n,i]=this.internal.toUTCString().split(" ");return`${t?.slice(0,-1)} ${n} ${e} ${i}`}toTimeString(){const t=this.internal.toUTCString().split(" ")[4],[e,n,i]=this.tzComponents();return`${t} GMT${e}${n}${i} (${r.tzName(this.timeZone,this)})`}toLocaleString(t,e){return Date.prototype.toLocaleString.call(this,t,{...e,timeZone:e?.timeZone||this.timeZone})}toLocaleDateString(t,e){return Date.prototype.toLocaleDateString.call(this,t,{...e,timeZone:e?.timeZone||this.timeZone})}toLocaleTimeString(t,e){return Date.prototype.toLocaleTimeString.call(this,t,{...e,timeZone:e?.timeZone||this.timeZone})}tzComponents(){const t=this.getTimezoneOffset(),e=t>0?"-":"+",n=String(Math.floor(Math.abs(t)/60)).padStart(2,"0"),i=String(Math.abs(t)%60).padStart(2,"0");return[e,n,i]}withTimeZone(t){return new o(+this,t)}[Symbol.for("constructDateFrom")](t){return new o(+new Date(t),this.timeZone)}}exports.TZDate=o;
package/index233.mjs DELETED
@@ -1,61 +0,0 @@
1
- import { tzName as r } from "./index234.mjs";
2
- import { TZDateMini as s } from "./index129.mjs";
3
- class o extends s {
4
- //#region static
5
- static tz(t, ...e) {
6
- return e.length ? new o(...e, t) : new o(Date.now(), t);
7
- }
8
- //#endregion
9
- //#region representation
10
- toISOString() {
11
- const [t, e, n] = this.tzComponents(), i = `${t}${e}:${n}`;
12
- return this.internal.toISOString().slice(0, -1) + i;
13
- }
14
- toString() {
15
- return `${this.toDateString()} ${this.toTimeString()}`;
16
- }
17
- toDateString() {
18
- const [t, e, n, i] = this.internal.toUTCString().split(" ");
19
- return `${t?.slice(0, -1)} ${n} ${e} ${i}`;
20
- }
21
- toTimeString() {
22
- const t = this.internal.toUTCString().split(" ")[4], [e, n, i] = this.tzComponents();
23
- return `${t} GMT${e}${n}${i} (${r(this.timeZone, this)})`;
24
- }
25
- toLocaleString(t, e) {
26
- return Date.prototype.toLocaleString.call(this, t, {
27
- ...e,
28
- timeZone: e?.timeZone || this.timeZone
29
- });
30
- }
31
- toLocaleDateString(t, e) {
32
- return Date.prototype.toLocaleDateString.call(this, t, {
33
- ...e,
34
- timeZone: e?.timeZone || this.timeZone
35
- });
36
- }
37
- toLocaleTimeString(t, e) {
38
- return Date.prototype.toLocaleTimeString.call(this, t, {
39
- ...e,
40
- timeZone: e?.timeZone || this.timeZone
41
- });
42
- }
43
- //#endregion
44
- //#region private
45
- tzComponents() {
46
- const t = this.getTimezoneOffset(), e = t > 0 ? "-" : "+", n = String(Math.floor(Math.abs(t) / 60)).padStart(2, "0"), i = String(Math.abs(t) % 60).padStart(2, "0");
47
- return [e, n, i];
48
- }
49
- //#endregion
50
- withTimeZone(t) {
51
- return new o(+this, t);
52
- }
53
- //#region date-fns integration
54
- [Symbol.for("constructDateFrom")](t) {
55
- return new o(+new Date(t), this.timeZone);
56
- }
57
- //#endregion
58
- }
59
- export {
60
- o as TZDate
61
- };
package/index234.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function o(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}exports.tzName=o;
package/index234.mjs DELETED
@@ -1,11 +0,0 @@
1
- function o(e, n, t = "long") {
2
- return new Intl.DateTimeFormat("en-US", {
3
- // Enforces engine to render the time. Without the option JavaScriptCore omits it.
4
- hour: "numeric",
5
- timeZone: e,
6
- timeZoneName: t
7
- }).format(n).split(/\s/g).slice(2).join(" ");
8
- }
9
- export {
10
- o as tzName
11
- };
package/index235.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o={},s={};function a(t,r){try{const f=(o[t]||=new Intl.DateTimeFormat("en-US",{timeZone:t,timeZoneName:"longOffset"}).format)(r).split("GMT")[1];return f in s?s[f]:e(f,f.split(":"))}catch{if(t in s)return s[t];const n=t?.match(u);return n?e(t,n.slice(1)):NaN}}const u=/([+-]\d\d):?(\d\d)?/;function e(t,r){const n=+(r[0]||0),f=+(r[1]||0),c=+(r[2]||0)/60;return s[t]=n*60+f>0?n*60+f+c:n*60-f-c}exports.tzOffset=a;
package/index235.mjs DELETED
@@ -1,22 +0,0 @@
1
- const e = {}, s = {};
2
- function u(t, r) {
3
- try {
4
- const n = (e[t] ||= new Intl.DateTimeFormat("en-US", {
5
- timeZone: t,
6
- timeZoneName: "longOffset"
7
- }).format)(r).split("GMT")[1];
8
- return n in s ? s[n] : o(n, n.split(":"));
9
- } catch {
10
- if (t in s) return s[t];
11
- const f = t?.match(a);
12
- return f ? o(t, f.slice(1)) : NaN;
13
- }
14
- }
15
- const a = /([+-]\d\d):?(\d\d)?/;
16
- function o(t, r) {
17
- const f = +(r[0] || 0), n = +(r[1] || 0), c = +(r[2] || 0) / 60;
18
- return s[t] = f * 60 + n > 0 ? f * 60 + n + c : f * 60 - n - c;
19
- }
20
- export {
21
- u as tzOffset
22
- };
package/index24.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),r=require("react"),s=require("./index52.js"),y=require("./index51.js"),q=require("./index61.js"),c=require("./index55.js");let n=null;const d=()=>typeof document>"u"||document.getElementById(s.ICONS_SVG_HTML_ID)?Promise.resolve():(n||(n=fetch(s.ICONS_URL).then(t=>{if(!t.ok)throw new Error(`Failed to fetch SVG: ${t.statusText}`);return t.text()}).then(t=>{const e=document.createElement("div");e.id=s.ICONS_SVG_HTML_ID,e.style.display="none",e.innerHTML=t,document.body.appendChild(e)}).catch(t=>{c.logError(`Error loading SVG sprite:
2
- ${t}`),n=null})),n),C=r.forwardRef(function({name:e,tabIndex:f,onKeyDown:h,className:l,role:S,onClick:g,screenReaderText:u,thin:E,qa:_},p){const[i,I]=r.useState(!1),[m,a]=r.useState(!1),[v,x]=r.useState(!0);if(r.useEffect(()=>{d().then(()=>{if(!document.getElementById(s.ICONS_SVG_HTML_ID)){a(!0);return}I(!0)}).catch(()=>a(!0))},[]),r.useEffect(()=>{i&&e&&(q.iconExists(e.replace("ai-",""))||(c.logWarning(`The provided icon with name "${e}" does not seem to exist. Please make sure the 'name' is correct`),x(!1)))},[i,e]),m)return c.logError(`Failed to load icon "${e}".`),null;if(!i||!v)return null;const L=y.classNames({ai:!0,[`ai-${e?.replace("ai-","")}`]:!!e,"ai--thin":!!E,[l||""]:!!l});return o.jsxs("span",{ref:p,onKeyDown:h,tabIndex:f,role:S,onClick:g,className:L,"data-qa":_,children:[e?o.jsx("svg",{"aria-hidden":"true",focusable:"false",children:o.jsx("use",{href:`#ai-${e.replace("ai-","")}`})}):null,!!u&&o.jsx("span",{className:s.SCREEN_READER_CLASS,children:u})]})});exports.Icon=C;exports.ensureSvgLoaded=d;
package/index24.mjs DELETED
@@ -1,62 +0,0 @@
1
- import { jsxs as _, jsx as s } from "react/jsx-runtime";
2
- import { forwardRef as $, useState as i, useEffect as d } from "react";
3
- import { ICONS_SVG_HTML_ID as n, SCREEN_READER_CLASS as C, ICONS_URL as N } from "./index52.mjs";
4
- import { classNames as V } from "./index51.mjs";
5
- import { iconExists as w } from "./index61.mjs";
6
- import { logWarning as P, logError as u } from "./index55.mjs";
7
- let r = null;
8
- const R = () => typeof document > "u" || document.getElementById(n) ? Promise.resolve() : (r || (r = fetch(N).then((t) => {
9
- if (!t.ok) throw new Error(`Failed to fetch SVG: ${t.statusText}`);
10
- return t.text();
11
- }).then((t) => {
12
- const e = document.createElement("div");
13
- e.id = n, e.style.display = "none", e.innerHTML = t, document.body.appendChild(e);
14
- }).catch((t) => {
15
- u(
16
- `Error loading SVG sprite:
17
- ${t}`
18
- ), r = null;
19
- })), r), A = $(function({ name: e, tabIndex: f, onKeyDown: m, className: a, role: h, onClick: p, screenReaderText: l, thin: E, qa: g }, S) {
20
- const [o, v] = i(!1), [x, c] = i(!1), [I, L] = i(!0);
21
- if (d(() => {
22
- R().then(() => {
23
- if (!document.getElementById(n)) {
24
- c(!0);
25
- return;
26
- }
27
- v(!0);
28
- }).catch(() => c(!0));
29
- }, []), d(() => {
30
- o && e && (w(e.replace("ai-", "")) || (P(
31
- `The provided icon with name "${e}" does not seem to exist. Please make sure the 'name' is correct`
32
- ), L(!1)));
33
- }, [o, e]), x)
34
- return u(`Failed to load icon "${e}".`), null;
35
- if (!o || !I) return null;
36
- const y = V({
37
- ai: !0,
38
- [`ai-${e?.replace("ai-", "")}`]: !!e,
39
- "ai--thin": !!E,
40
- [a || ""]: !!a
41
- });
42
- return /* @__PURE__ */ _(
43
- "span",
44
- {
45
- ref: S,
46
- onKeyDown: m,
47
- tabIndex: f,
48
- role: h,
49
- onClick: p,
50
- className: y,
51
- "data-qa": g,
52
- children: [
53
- e ? /* @__PURE__ */ s("svg", { "aria-hidden": "true", focusable: "false", children: /* @__PURE__ */ s("use", { href: `#ai-${e.replace("ai-", "")}` }) }) : null,
54
- !!l && /* @__PURE__ */ s("span", { className: C, children: l })
55
- ]
56
- }
57
- );
58
- });
59
- export {
60
- A as Icon,
61
- R as ensureSvgLoaded
62
- };
package/index25.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),m=require("./index51.js"),u=require("./index55.js");function l({alt:o="",children:t,src:a,noClass:n,renderImgFunction:s,qa:r}){const g=m.classNames({"m-image":!n});return t&&!(e=>e&&typeof e=="object"&&(e.type==="figcaption"||typeof e.type!="string"&&e.type.name==="Copyright"))(t)&&u.logWarning("Image's children should only be a Copyright component or a figcaption element"),i.jsxs("figure",{className:g,"data-qa":r,children:[s?s(a,o):i.jsx("img",{src:a,alt:o}),t]})}exports.Image=l;
package/index25.mjs DELETED
@@ -1,15 +0,0 @@
1
- import { jsxs as s, jsx as p } from "react/jsx-runtime";
2
- import { classNames as g } from "./index51.mjs";
3
- import { logWarning as f } from "./index55.mjs";
4
- function C({ alt: o = "", children: t, src: a, noClass: i, renderImgFunction: r, qa: m }) {
5
- const n = g({
6
- "m-image": !i
7
- });
8
- return t && !((e) => e && typeof e == "object" && (e.type === "figcaption" || typeof e.type != "string" && e.type.name === "Copyright"))(t) && f("Image's children should only be a Copyright component or a figcaption element"), /* @__PURE__ */ s("figure", { className: n, "data-qa": m, children: [
9
- r ? r(a, o) : /* @__PURE__ */ p("img", { src: a, alt: o }),
10
- t
11
- ] });
12
- }
13
- export {
14
- C as Image
15
- };
package/index26.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),r=require("./index51.js");function n({children:a,type:e,qa:s}){const t=r.classNames({"a-label":!0,[`a-label--${[e]}`]:!!e});return l.jsx("span",{className:t,"data-qa":s,children:a})}exports.Label=n;
package/index26.mjs DELETED
@@ -1,12 +0,0 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { classNames as o } from "./index51.mjs";
3
- function c({ children: s, type: a, qa: e }) {
4
- const l = o({
5
- "a-label": !0,
6
- [`a-label--${[a]}`]: !!a
7
- });
8
- return /* @__PURE__ */ r("span", { className: l, "data-qa": e, children: s });
9
- }
10
- export {
11
- c as Label
12
- };
package/index27.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),_=require("./index51.js"),n=require("./index24.js");function g({name:c,link:e,active:i,highlighted:o,iconLeft:t,iconRight:a,id:m,children:l,onClick:r,onMouseDown:u,tabIndex:h,qa:f}){const d=`${e&&(e.href||e.href==="")?"a":"span"}`,j=_.classNames({"a-list__content":!0,"is-highlighted":!!o,"is-active":!!i}),x=I=>{r&&(I.preventDefault(),r(c))};return s.jsx("li",{className:"a-list__item",id:m,"data-qa":f,children:s.jsxs(d,{className:j,onClick:x,onMouseDown:u,tabIndex:h,...e&&(e.href||e.href==="")?{href:e.href}:{},children:[t&&s.jsx(n.Icon,{name:t}),s.jsx("span",{className:"a-list__text",children:l}),a&&s.jsx(n.Icon,{name:a})]})})}exports.ListItem=g;
package/index27.mjs DELETED
@@ -1,43 +0,0 @@
1
- import { jsx as t, jsxs as x } from "react/jsx-runtime";
2
- import { classNames as C } from "./index51.mjs";
3
- import { Icon as m } from "./index24.mjs";
4
- function v({
5
- name: i,
6
- link: e,
7
- active: n,
8
- highlighted: o,
9
- iconLeft: s,
10
- iconRight: a,
11
- id: c,
12
- children: f,
13
- onClick: r,
14
- onMouseDown: h,
15
- tabIndex: l,
16
- qa: p
17
- }) {
18
- const _ = `${e && (e.href || e.href === "") ? "a" : "span"}`, d = C({
19
- "a-list__content": !0,
20
- "is-highlighted": !!o,
21
- "is-active": !!n
22
- });
23
- return /* @__PURE__ */ t("li", { className: "a-list__item", id: c, "data-qa": p, children: /* @__PURE__ */ x(
24
- _,
25
- {
26
- className: d,
27
- onClick: (u) => {
28
- r && (u.preventDefault(), r(i));
29
- },
30
- onMouseDown: h,
31
- tabIndex: l,
32
- ...e && (e.href || e.href === "") ? { href: e.href } : {},
33
- children: [
34
- s && /* @__PURE__ */ t(m, { name: s }),
35
- /* @__PURE__ */ t("span", { className: "a-list__text", children: f }),
36
- a && /* @__PURE__ */ t(m, { name: a })
37
- ]
38
- }
39
- ) });
40
- }
41
- export {
42
- v as ListItem
43
- };
package/index28.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),h=require("./index51.js"),_=require("./index6.js"),f=require("./index24.js");function j({avatar:n,name:l,link:s,active:c,user:e,iconRight:t,id:i,onClick:r,qa:m}){const o=`${s&&(s.href||s.href==="")?"a":"span"}`,u=h.classNames({"a-avatar-list__item":!0,"is-active":!!c}),v=d=>{r&&(d.preventDefault(),r(l))};return a.jsx("li",{className:u,id:i,"data-qa":m,children:a.jsxs(o,{className:"a-avatar-list__item-container",onClick:v,...s&&(s.href||s.href==="")?{href:s.href}:{},children:[a.jsx(_.Avatar,{...n,className:"a-avatar-list__avatar",rounded:!0,size:"small"}),a.jsxs("div",{className:"a-avatar-list__content",children:[a.jsxs("span",{className:"a-avatar-list__text",children:[e?.name?a.jsx("span",{className:"avatar-list__name paragraph",children:e.name}):null,e?.function?a.jsx("span",{className:"small",children:e.function}):null,e?.email?a.jsx("span",{className:"small",children:e.email}):null]}),t&&a.jsx(f.Icon,{name:t})]})]})})}exports.ListItemAvatar=j;
package/index28.mjs DELETED
@@ -1,34 +0,0 @@
1
- import { jsx as e, jsxs as s } from "react/jsx-runtime";
2
- import { classNames as v } from "./index51.mjs";
3
- import { Avatar as _ } from "./index6.mjs";
4
- import { Icon as d } from "./index24.mjs";
5
- function j({ avatar: n, name: m, link: a, active: c, user: t, iconRight: l, id: i, onClick: r, qa: o }) {
6
- const f = `${a && (a.href || a.href === "") ? "a" : "span"}`, h = v({
7
- "a-avatar-list__item": !0,
8
- "is-active": !!c
9
- });
10
- return /* @__PURE__ */ e("li", { className: h, id: i, "data-qa": o, children: /* @__PURE__ */ s(
11
- f,
12
- {
13
- className: "a-avatar-list__item-container",
14
- onClick: (p) => {
15
- r && (p.preventDefault(), r(m));
16
- },
17
- ...a && (a.href || a.href === "") ? { href: a.href } : {},
18
- children: [
19
- /* @__PURE__ */ e(_, { ...n, className: "a-avatar-list__avatar", rounded: !0, size: "small" }),
20
- /* @__PURE__ */ s("div", { className: "a-avatar-list__content", children: [
21
- /* @__PURE__ */ s("span", { className: "a-avatar-list__text", children: [
22
- t?.name ? /* @__PURE__ */ e("span", { className: "avatar-list__name paragraph", children: t.name }) : null,
23
- t?.function ? /* @__PURE__ */ e("span", { className: "small", children: t.function }) : null,
24
- t?.email ? /* @__PURE__ */ e("span", { className: "small", children: t.email }) : null
25
- ] }),
26
- l && /* @__PURE__ */ e(d, { name: l })
27
- ] })
28
- ]
29
- }
30
- ) });
31
- }
32
- export {
33
- j as ListItemAvatar
34
- };
package/index29.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("./index14.js");function n({name:c,onClick:t,qa:r,...i}){const s=()=>{t&&t(c)};return e.jsx("li",{className:"a-checkbox-list__item",children:e.jsx("div",{onClick:s,className:"a-input a-checkbox-list__checkbox",children:e.jsx(o.Checkbox,{name:c,...i})})})}exports.ListItemCheckbox=n;
package/index29.mjs DELETED
@@ -1,10 +0,0 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import { Checkbox as t } from "./index14.mjs";
3
- function n({ name: i, onClick: e, qa: l, ...o }) {
4
- return /* @__PURE__ */ c("li", { className: "a-checkbox-list__item", children: /* @__PURE__ */ c("div", { onClick: () => {
5
- e && e(i);
6
- }, className: "a-input a-checkbox-list__checkbox", children: /* @__PURE__ */ c(t, { name: i, ...o }) }) });
7
- }
8
- export {
9
- n as ListItemCheckbox
10
- };
package/index3.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),m=require("react"),_=require("./index51.js");function b({id:s="",header:o="",children:r,open:e,onToggle:a,qa:i}){const[c,d]=m.useState(!!e),n=e===!0||e===!1?e:c,u=_.classNames({"m-accordion__tab":!0}),l=()=>(d(!c),a&&a(s));return t.jsxs("div",{className:u,"data-qa":i,children:[t.jsx("button",{id:s,className:"m-accordion__header","aria-expanded":n,onClick:l,children:o}),t.jsx("div",{style:n?{maxHeight:"none"}:{},className:"m-accordion__content",children:r})]})}exports.AccordionTab=b;
package/index3.mjs DELETED
@@ -1,15 +0,0 @@
1
- import { jsxs as l, jsx as s } from "react/jsx-runtime";
2
- import _ from "react";
3
- import { classNames as u } from "./index51.mjs";
4
- function h({ id: a = "", header: r = "", children: n, open: t, onToggle: e, qa: i }) {
5
- const [c, m] = _.useState(!!t), o = t === !0 || t === !1 ? t : c, d = u({
6
- "m-accordion__tab": !0
7
- });
8
- return /* @__PURE__ */ l("div", { className: d, "data-qa": i, children: [
9
- /* @__PURE__ */ s("button", { id: a, className: "m-accordion__header", "aria-expanded": o, onClick: () => (m(!c), e && e(a)), children: r }),
10
- /* @__PURE__ */ s("div", { style: o ? { maxHeight: "none" } : {}, className: "m-accordion__content", children: n })
11
- ] });
12
- }
13
- export {
14
- h as AccordionTab
15
- };
package/index30.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),N=require("react"),E=require("./index65.js"),j=require("./index53.js"),p=require("./index51.js"),t=require("./index10.js");function M({appRootId:v,ariaCloseLabel:_="Sluiten",cancelButton:l,children:c,closeButton:r=!0,confirmButton:o,onAfterOpen:y,onClose:b,open:n,qa:O,shouldCloseOnOverlayClick:g=!0,size:u="",title:s={label:""},trigger:h}){const[q,d]=N.useState(!!n),k=n===!1||n===!0?n:q,f=s?.tag||"h6",m=(a,i)=>i&&typeof i=="function"?Promise.resolve(i(a)).then(()=>d(!1)):d(!1),C=a=>m(a,b),x=typeof document<"u"?document.getElementById(v)??void 0:void 0;return e.jsxs(e.Fragment,{children:[h?N.cloneElement(h,{onClick:()=>d(!0)}):null,e.jsx(E,{appElement:x,bodyOpenClassName:null,htmlOpenClassName:null,className:p.classNames({"m-modal":!0,[`m-modal--${j.SIZE_MAP[u||j.DEFAULT_SIZE]}`]:!!u}),isOpen:k,onRequestClose:C,role:"dialog","aria-modal":"true",overlayClassName:p.classNames({"m-overlay":!0,"is-active":!0}),"data-qa":O,ariaHideApp:!!x,onAfterOpen:y,shouldCloseOnOverlayClick:l||o||r?g:!0,children:e.jsxs("div",{className:"m-modal__content",children:[(s&&s?.label||r)&&e.jsxs("div",{className:"m-modal__header u-margin-bottom-xs",children:[s&&s?.label&&e.jsx(f,{className:s.className,id:s.id,children:s.label}),r&&e.jsx(t.Button,{className:"m-modal__close",theme:"neutral",addOn:{type:"icon",iconProps:{name:"ai-close"}},ariaLabel:_,emphasis:"low",onClick:C})]}),c&&e.jsx("div",{className:"u-margin-bottom",children:c}),o||l?e.jsxs("div",{className:"m-modal__footer",children:[o?e.jsx(t.Button,{...o,onClick:a=>m(a,o.onClick)}):null,l?e.jsx(t.Button,{...l,onClick:a=>m(a,l.onClick)}):null]}):null]})})]})}exports.Modal=M;