@a-ui/react 7.13.0-beta.0 → 7.13.0-beta.1

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 (475) hide show
  1. package/constants/settings.d.ts +1 -1
  2. package/constants/stories.settings.d.ts +11 -0
  3. package/index.js +1 -62
  4. package/index.mjs +98 -9098
  5. package/index10.js +1 -0
  6. package/index10.mjs +60 -0
  7. package/index100.js +1 -0
  8. package/index100.mjs +4 -0
  9. package/index101.js +1 -0
  10. package/index101.mjs +400 -0
  11. package/index102.js +5 -0
  12. package/index102.mjs +42 -0
  13. package/index103.js +1 -0
  14. package/index103.mjs +4 -0
  15. package/index104.js +1 -0
  16. package/index104.mjs +10 -0
  17. package/index105.js +2 -0
  18. package/index105.mjs +329 -0
  19. package/index106.js +1 -0
  20. package/index106.mjs +52 -0
  21. package/index107.js +1 -0
  22. package/index107.mjs +4 -0
  23. package/index108.js +1 -0
  24. package/index108.mjs +67 -0
  25. package/index109.js +1 -0
  26. package/index109.mjs +45 -0
  27. package/index11.js +1 -0
  28. package/index11.mjs +12 -0
  29. package/index110.js +10 -0
  30. package/index110.mjs +62 -0
  31. package/index111.js +1 -0
  32. package/index111.mjs +46 -0
  33. package/index112.js +1 -0
  34. package/index112.mjs +42 -0
  35. package/index113.js +1 -0
  36. package/index113.mjs +4 -0
  37. package/index114.js +1 -0
  38. package/index114.mjs +4 -0
  39. package/index115.js +1 -0
  40. package/index115.mjs +4 -0
  41. package/index116.js +1 -0
  42. package/index116.mjs +33 -0
  43. package/index117.js +5 -0
  44. package/index117.mjs +21 -0
  45. package/index118.js +9 -0
  46. package/index118.mjs +63 -0
  47. package/index119.js +1 -0
  48. package/index119.mjs +65 -0
  49. package/index12.js +1 -0
  50. package/index12.mjs +215 -0
  51. package/index120.js +1 -0
  52. package/index120.mjs +16 -0
  53. package/index121.js +1 -0
  54. package/index121.mjs +9 -0
  55. package/index122.js +1 -0
  56. package/index122.mjs +9 -0
  57. package/index123.js +1 -0
  58. package/index123.mjs +8 -0
  59. package/index124.js +1 -0
  60. package/index124.mjs +8 -0
  61. package/index125.js +1 -0
  62. package/index125.mjs +7 -0
  63. package/index126.js +1 -0
  64. package/index126.mjs +7 -0
  65. package/index127.js +1 -0
  66. package/index127.mjs +9 -0
  67. package/index128.js +1 -0
  68. package/index128.mjs +7 -0
  69. package/index129.js +1 -0
  70. package/index129.mjs +69 -0
  71. package/index13.js +1 -0
  72. package/index13.mjs +29 -0
  73. package/index130.js +1 -0
  74. package/index130.mjs +5 -0
  75. package/index131.js +1 -0
  76. package/index131.mjs +7 -0
  77. package/index132.js +1 -0
  78. package/index132.mjs +13 -0
  79. package/index133.js +1 -0
  80. package/index133.mjs +4 -0
  81. package/index134.js +1 -0
  82. package/index134.mjs +393 -0
  83. package/index135.js +1 -0
  84. package/index135.mjs +127 -0
  85. package/index136.js +1 -0
  86. package/index136.mjs +136 -0
  87. package/index137.js +1 -0
  88. package/index137.mjs +4 -0
  89. package/index138.js +1 -0
  90. package/index138.mjs +4 -0
  91. package/index139.js +8 -0
  92. package/index139.mjs +78 -0
  93. package/index14.js +1 -0
  94. package/index14.mjs +44 -0
  95. package/index140.js +8 -0
  96. package/index140.mjs +95 -0
  97. package/index141.js +5 -0
  98. package/index141.mjs +54 -0
  99. package/index142.js +1 -0
  100. package/index142.mjs +10 -0
  101. package/index143.js +1 -0
  102. package/index143.mjs +7 -0
  103. package/index144.js +1 -0
  104. package/index144.mjs +54 -0
  105. package/index145.js +11 -0
  106. package/index145.mjs +60 -0
  107. package/index146.js +1 -0
  108. package/index146.mjs +4 -0
  109. package/index147.js +1 -0
  110. package/index147.mjs +4 -0
  111. package/index148.js +1 -0
  112. package/index148.mjs +7 -0
  113. package/index149.js +1 -0
  114. package/index149.mjs +7 -0
  115. package/index15.js +1 -0
  116. package/index15.mjs +8 -0
  117. package/index150.js +1 -0
  118. package/index150.mjs +9 -0
  119. package/index151.js +1 -0
  120. package/index151.mjs +15 -0
  121. package/index152.js +1 -0
  122. package/index152.mjs +18 -0
  123. package/index153.js +1 -0
  124. package/index153.mjs +11 -0
  125. package/index154.js +1 -0
  126. package/index154.mjs +8 -0
  127. package/index155.js +1 -0
  128. package/index155.mjs +8 -0
  129. package/index156.js +1 -0
  130. package/index156.mjs +7 -0
  131. package/index157.js +1 -0
  132. package/index157.mjs +515 -0
  133. package/index158.js +1 -0
  134. package/index158.mjs +52 -0
  135. package/index159.js +1 -0
  136. package/index159.mjs +20 -0
  137. package/index16.js +1 -0
  138. package/index16.mjs +15 -0
  139. package/index160.js +1 -0
  140. package/index160.mjs +20 -0
  141. package/index161.js +1 -0
  142. package/index161.mjs +7 -0
  143. package/index162.js +1 -0
  144. package/index162.mjs +10 -0
  145. package/index163.js +1 -0
  146. package/index163.mjs +8 -0
  147. package/index164.js +1 -0
  148. package/index164.mjs +7 -0
  149. package/index165.js +1 -0
  150. package/index165.mjs +8 -0
  151. package/index166.js +1 -0
  152. package/index166.mjs +11 -0
  153. package/index167.js +1 -0
  154. package/index167.mjs +7 -0
  155. package/index168.js +1 -0
  156. package/index168.mjs +10 -0
  157. package/index169.js +1 -0
  158. package/index169.mjs +14 -0
  159. package/index17.js +1 -0
  160. package/index17.mjs +108 -0
  161. package/index170.js +1 -0
  162. package/index170.mjs +11 -0
  163. package/index171.js +1 -0
  164. package/index171.mjs +11 -0
  165. package/index172.js +1 -0
  166. package/index172.mjs +15 -0
  167. package/index173.js +1 -0
  168. package/index173.mjs +6 -0
  169. package/index174.js +1 -0
  170. package/index174.mjs +35 -0
  171. package/index175.js +1 -0
  172. package/index175.mjs +67 -0
  173. package/index176.js +1 -0
  174. package/index176.mjs +10 -0
  175. package/index177.js +1 -0
  176. package/index177.mjs +10 -0
  177. package/index178.js +1 -0
  178. package/index178.mjs +9 -0
  179. package/index179.js +1 -0
  180. package/index179.mjs +9 -0
  181. package/index18.js +1 -0
  182. package/index18.mjs +136 -0
  183. package/index180.js +1 -0
  184. package/index180.mjs +16 -0
  185. package/index181.js +1 -0
  186. package/index181.mjs +4 -0
  187. package/index182.js +1 -0
  188. package/index182.mjs +4 -0
  189. package/index183.js +1 -0
  190. package/index183.mjs +4 -0
  191. package/index184.js +1 -0
  192. package/index184.mjs +59 -0
  193. package/index185.js +1 -0
  194. package/index185.mjs +24 -0
  195. package/index186.js +1 -0
  196. package/index186.mjs +43 -0
  197. package/index187.js +1 -0
  198. package/index187.mjs +63 -0
  199. package/index188.js +1 -0
  200. package/index188.mjs +34 -0
  201. package/index189.js +1 -0
  202. package/index189.mjs +15 -0
  203. package/index19.js +1 -0
  204. package/index19.mjs +11 -0
  205. package/index190.js +1 -0
  206. package/index190.mjs +64 -0
  207. package/index191.js +1 -0
  208. package/index191.mjs +64 -0
  209. package/index192.js +1 -0
  210. package/index192.mjs +65 -0
  211. package/index193.js +1 -0
  212. package/index193.mjs +65 -0
  213. package/index194.js +1 -0
  214. package/index194.mjs +42 -0
  215. package/index195.js +1 -0
  216. package/index195.mjs +43 -0
  217. package/index196.js +1 -0
  218. package/index196.mjs +55 -0
  219. package/index197.js +1 -0
  220. package/index197.mjs +45 -0
  221. package/index198.js +1 -0
  222. package/index198.mjs +39 -0
  223. package/index199.js +1 -0
  224. package/index199.mjs +68 -0
  225. package/index2.js +1 -0
  226. package/index2.mjs +12 -0
  227. package/index20.js +1 -0
  228. package/index20.mjs +54 -0
  229. package/index200.js +1 -0
  230. package/index200.mjs +68 -0
  231. package/index201.js +1 -0
  232. package/index201.mjs +93 -0
  233. package/index202.js +1 -0
  234. package/index202.mjs +43 -0
  235. package/index203.js +1 -0
  236. package/index203.mjs +43 -0
  237. package/index204.js +1 -0
  238. package/index204.mjs +43 -0
  239. package/index205.js +1 -0
  240. package/index205.mjs +27 -0
  241. package/index206.js +1 -0
  242. package/index206.mjs +26 -0
  243. package/index207.js +1 -0
  244. package/index207.mjs +26 -0
  245. package/index208.js +1 -0
  246. package/index208.mjs +27 -0
  247. package/index209.js +1 -0
  248. package/index209.mjs +26 -0
  249. package/index21.js +1 -0
  250. package/index21.mjs +33 -0
  251. package/index210.js +1 -0
  252. package/index210.mjs +26 -0
  253. package/index211.js +1 -0
  254. package/index211.mjs +16 -0
  255. package/index212.js +1 -0
  256. package/index212.mjs +42 -0
  257. package/index213.js +1 -0
  258. package/index213.mjs +42 -0
  259. package/index214.js +1 -0
  260. package/index214.mjs +16 -0
  261. package/index215.js +1 -0
  262. package/index215.mjs +16 -0
  263. package/index216.js +1 -0
  264. package/index216.mjs +70 -0
  265. package/index217.js +1 -0
  266. package/index217.mjs +33 -0
  267. package/index218.js +1 -0
  268. package/index218.mjs +11 -0
  269. package/index219.js +1 -0
  270. package/index219.mjs +155 -0
  271. package/index22.js +1 -0
  272. package/index22.mjs +22 -0
  273. package/index220.js +1 -0
  274. package/index220.mjs +110 -0
  275. package/index221.js +1 -0
  276. package/index221.mjs +22 -0
  277. package/index222.js +1 -0
  278. package/index222.mjs +103 -0
  279. package/index223.js +1 -0
  280. package/index223.mjs +49 -0
  281. package/index224.js +1 -0
  282. package/index224.mjs +70 -0
  283. package/index225.js +1 -0
  284. package/index225.mjs +33 -0
  285. package/index226.js +1 -0
  286. package/index226.mjs +11 -0
  287. package/index227.js +1 -0
  288. package/index227.mjs +110 -0
  289. package/index228.js +1 -0
  290. package/index228.mjs +109 -0
  291. package/index229.js +1 -0
  292. package/index229.mjs +9 -0
  293. package/index23.js +1 -0
  294. package/index23.mjs +32 -0
  295. package/index230.js +1 -0
  296. package/index230.mjs +18 -0
  297. package/index231.js +1 -0
  298. package/index231.mjs +31 -0
  299. package/index232.js +1 -0
  300. package/index232.mjs +15 -0
  301. package/index233.js +1 -0
  302. package/index233.mjs +61 -0
  303. package/index234.js +1 -0
  304. package/index234.mjs +11 -0
  305. package/index235.js +1 -0
  306. package/index235.mjs +22 -0
  307. package/index24.js +2 -0
  308. package/index24.mjs +62 -0
  309. package/index25.js +1 -0
  310. package/index25.mjs +15 -0
  311. package/index26.js +1 -0
  312. package/index26.mjs +12 -0
  313. package/index27.js +1 -0
  314. package/index27.mjs +43 -0
  315. package/index28.js +1 -0
  316. package/index28.mjs +34 -0
  317. package/index29.js +1 -0
  318. package/index29.mjs +10 -0
  319. package/index3.js +1 -0
  320. package/index3.mjs +15 -0
  321. package/index30.js +1 -0
  322. package/index30.mjs +72 -0
  323. package/index31.js +1 -0
  324. package/index31.mjs +40 -0
  325. package/index32.js +1 -0
  326. package/index32.mjs +48 -0
  327. package/index33.js +1 -0
  328. package/index33.mjs +90 -0
  329. package/index34.js +1 -0
  330. package/index34.mjs +36 -0
  331. package/index35.js +1 -0
  332. package/index35.mjs +25 -0
  333. package/index36.js +1 -0
  334. package/index36.mjs +27 -0
  335. package/index37.js +1 -0
  336. package/index37.mjs +110 -0
  337. package/index38.js +1 -0
  338. package/index38.mjs +57 -0
  339. package/index39.js +1 -0
  340. package/index39.mjs +21 -0
  341. package/index4.js +1 -0
  342. package/index4.mjs +58 -0
  343. package/index40.js +1 -0
  344. package/index40.mjs +40 -0
  345. package/index41.js +1 -0
  346. package/index41.mjs +54 -0
  347. package/index42.js +1 -0
  348. package/index42.mjs +73 -0
  349. package/index43.js +1 -0
  350. package/index43.mjs +49 -0
  351. package/index44.js +1 -0
  352. package/index44.mjs +13 -0
  353. package/index45.js +1 -0
  354. package/index45.mjs +73 -0
  355. package/index46.js +1 -0
  356. package/index46.mjs +99 -0
  357. package/index47.js +1 -0
  358. package/index47.mjs +45 -0
  359. package/index48.js +1 -0
  360. package/index48.mjs +26 -0
  361. package/index49.js +1 -0
  362. package/index49.mjs +83 -0
  363. package/index5.js +1 -0
  364. package/index5.mjs +136 -0
  365. package/index50.js +1 -0
  366. package/index50.mjs +35 -0
  367. package/index51.js +1 -0
  368. package/index51.mjs +10 -0
  369. package/index52.js +1 -0
  370. package/index52.mjs +13 -0
  371. package/index53.js +1 -0
  372. package/index53.mjs +30 -0
  373. package/index54.js +1 -0
  374. package/index54.mjs +51 -0
  375. package/index55.js +1 -0
  376. package/index55.mjs +10 -0
  377. package/index56.js +1 -0
  378. package/index56.mjs +49 -0
  379. package/index58.js +1 -0
  380. package/index58.mjs +64 -0
  381. package/index59.js +1 -0
  382. package/index59.mjs +62 -0
  383. package/index6.js +1 -0
  384. package/index6.mjs +29 -0
  385. package/index60.js +1 -0
  386. package/index60.mjs +31 -0
  387. package/index61.js +1 -0
  388. package/index61.mjs +23 -0
  389. package/index62.js +1 -0
  390. package/index62.mjs +32 -0
  391. package/index63.js +1 -0
  392. package/index63.mjs +16 -0
  393. package/index64.js +1 -0
  394. package/index64.mjs +61 -0
  395. package/index65.js +1 -0
  396. package/index65.mjs +19 -0
  397. package/index66.js +7 -0
  398. package/index66.mjs +411 -0
  399. package/index7.js +1 -0
  400. package/index7.mjs +8 -0
  401. package/index70.js +1 -0
  402. package/index70.mjs +4 -0
  403. package/index71.js +1 -0
  404. package/index71.mjs +76 -0
  405. package/index72.js +1 -0
  406. package/index72.mjs +31 -0
  407. package/index73.js +1 -0
  408. package/index73.mjs +38 -0
  409. package/index74.js +1 -0
  410. package/index74.mjs +6 -0
  411. package/index75.js +1 -0
  412. package/index75.mjs +37 -0
  413. package/index76.js +1 -0
  414. package/index76.mjs +7 -0
  415. package/index77.js +1 -0
  416. package/index77.mjs +7 -0
  417. package/index78.js +1 -0
  418. package/index78.mjs +7 -0
  419. package/index79.js +1 -0
  420. package/index79.mjs +7 -0
  421. package/index8.js +1 -0
  422. package/index8.mjs +18 -0
  423. package/index80.js +1 -0
  424. package/index80.mjs +7 -0
  425. package/index81.js +1 -0
  426. package/index81.mjs +19 -0
  427. package/index82.js +1 -0
  428. package/index82.mjs +87 -0
  429. package/index83.js +1 -0
  430. package/index83.mjs +8 -0
  431. package/index84.js +1 -0
  432. package/index84.mjs +27 -0
  433. package/index85.js +1 -0
  434. package/index85.mjs +57 -0
  435. package/index87.js +1 -0
  436. package/index87.mjs +7 -0
  437. package/index88.js +1 -0
  438. package/index88.mjs +121 -0
  439. package/index89.js +1 -0
  440. package/index89.mjs +20 -0
  441. package/index9.js +1 -0
  442. package/index9.mjs +18 -0
  443. package/index90.js +1 -0
  444. package/index90.mjs +26 -0
  445. package/index91.js +1 -0
  446. package/index91.mjs +4 -0
  447. package/index92.js +1 -0
  448. package/index92.mjs +237 -0
  449. package/index93.js +1 -0
  450. package/index93.mjs +4 -0
  451. package/index94.js +1 -0
  452. package/index94.mjs +13 -0
  453. package/index95.js +1 -0
  454. package/index95.mjs +249 -0
  455. package/index96.js +1 -0
  456. package/index96.mjs +91 -0
  457. package/index97.js +1 -0
  458. package/index97.mjs +15 -0
  459. package/index98.js +1 -0
  460. package/index98.mjs +6 -0
  461. package/index99.js +1 -0
  462. package/index99.mjs +4 -0
  463. package/lib/atoms/input/text-field/TextField.d.ts +1 -1
  464. package/lib/atoms/select/Select.types.d.ts +1 -1
  465. package/lib/base/icon/Icon.d.ts +1 -1
  466. package/lib/molecules/datepicker/Calendar.d.ts +1 -1
  467. package/lib/molecules/flyout/Flyout.d.ts +1 -1
  468. package/lib/molecules/tag/Tag.d.ts +1 -1
  469. package/package.json +4 -1
  470. package/packages/antwerp-ui/react-components/src/lib/atoms/input/text-field/TextField.css +1 -0
  471. package/packages/antwerp-ui/react-components/src/lib/atoms/tooltip/Tooltip.css +1 -0
  472. package/packages/antwerp-ui/react-components/src/lib/molecules/autocomplete/Autocomplete.css +1 -0
  473. package/packages/antwerp-ui/react-components/src/lib/molecules/datepicker/DateRangePicker.css +1 -0
  474. package/utils/math.utils.d.ts +1 -1
  475. package/index.css +0 -1
package/index206.mjs ADDED
@@ -0,0 +1,26 @@
1
+ import { numericPatterns as s } from "./index223.mjs";
2
+ import { Parser as o } from "./index221.mjs";
3
+ import { parseNDigits as a, parseNumericPattern as i } from "./index222.mjs";
4
+ class c extends o {
5
+ priority = 70;
6
+ parse(r, e, t) {
7
+ switch (e) {
8
+ case "H":
9
+ return i(s.hour23h, r);
10
+ case "Ho":
11
+ return t.ordinalNumber(r, { unit: "hour" });
12
+ default:
13
+ return a(e.length, r);
14
+ }
15
+ }
16
+ validate(r, e) {
17
+ return e >= 0 && e <= 23;
18
+ }
19
+ set(r, e, t) {
20
+ return r.setHours(t, 0, 0, 0), r;
21
+ }
22
+ incompatibleTokens = ["a", "b", "h", "K", "k", "t", "T"];
23
+ }
24
+ export {
25
+ c as Hour0to23Parser
26
+ };
package/index207.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index223.js"),u=require("./index221.js"),t=require("./index222.js");class i extends u.Parser{priority=70;parse(r,e,s){switch(e){case"K":return t.parseNumericPattern(o.numericPatterns.hour11h,r);case"Ko":return s.ordinalNumber(r,{unit:"hour"});default:return t.parseNDigits(e.length,r)}}validate(r,e){return e>=0&&e<=11}set(r,e,s){return r.getHours()>=12&&s<12?r.setHours(s+12,0,0,0):r.setHours(s,0,0,0),r}incompatibleTokens=["h","H","k","t","T"]}exports.Hour0To11Parser=i;
package/index207.mjs ADDED
@@ -0,0 +1,26 @@
1
+ import { numericPatterns as t } from "./index223.mjs";
2
+ import { Parser as o } from "./index221.mjs";
3
+ import { parseNDigits as i, parseNumericPattern as u } from "./index222.mjs";
4
+ class f extends o {
5
+ priority = 70;
6
+ parse(r, s, e) {
7
+ switch (s) {
8
+ case "K":
9
+ return u(t.hour11h, r);
10
+ case "Ko":
11
+ return e.ordinalNumber(r, { unit: "hour" });
12
+ default:
13
+ return i(s.length, r);
14
+ }
15
+ }
16
+ validate(r, s) {
17
+ return s >= 0 && s <= 11;
18
+ }
19
+ set(r, s, e) {
20
+ return r.getHours() >= 12 && e < 12 ? r.setHours(e + 12, 0, 0, 0) : r.setHours(e, 0, 0, 0), r;
21
+ }
22
+ incompatibleTokens = ["h", "H", "k", "t", "T"];
23
+ }
24
+ export {
25
+ f as Hour0To11Parser
26
+ };
package/index208.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index223.js"),n=require("./index221.js"),t=require("./index222.js");class a extends n.Parser{priority=70;parse(r,e,s){switch(e){case"k":return t.parseNumericPattern(u.numericPatterns.hour24h,r);case"ko":return s.ordinalNumber(r,{unit:"hour"});default:return t.parseNDigits(e.length,r)}}validate(r,e){return e>=1&&e<=24}set(r,e,s){const o=s<=24?s%24:s;return r.setHours(o,0,0,0),r}incompatibleTokens=["a","b","h","H","K","t","T"]}exports.Hour1To24Parser=a;
package/index208.mjs ADDED
@@ -0,0 +1,27 @@
1
+ import { numericPatterns as o } from "./index223.mjs";
2
+ import { Parser as i } from "./index221.mjs";
3
+ import { parseNDigits as a, parseNumericPattern as n } from "./index222.mjs";
4
+ class h extends i {
5
+ priority = 70;
6
+ parse(r, e, t) {
7
+ switch (e) {
8
+ case "k":
9
+ return n(o.hour24h, r);
10
+ case "ko":
11
+ return t.ordinalNumber(r, { unit: "hour" });
12
+ default:
13
+ return a(e.length, r);
14
+ }
15
+ }
16
+ validate(r, e) {
17
+ return e >= 1 && e <= 24;
18
+ }
19
+ set(r, e, t) {
20
+ const s = t <= 24 ? t % 24 : t;
21
+ return r.setHours(s, 0, 0, 0), r;
22
+ }
23
+ incompatibleTokens = ["a", "b", "h", "H", "K", "t", "T"];
24
+ }
25
+ export {
26
+ h as Hour1To24Parser
27
+ };
package/index209.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index223.js"),i=require("./index221.js"),s=require("./index222.js");class u extends i.Parser{priority=60;parse(e,r,t){switch(r){case"m":return s.parseNumericPattern(n.numericPatterns.minute,e);case"mo":return t.ordinalNumber(e,{unit:"minute"});default:return s.parseNDigits(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,t){return e.setMinutes(t,0,0),e}incompatibleTokens=["t","T"]}exports.MinuteParser=u;
package/index209.mjs ADDED
@@ -0,0 +1,26 @@
1
+ import { numericPatterns as s } from "./index223.mjs";
2
+ import { Parser as i } from "./index221.mjs";
3
+ import { parseNDigits as n, parseNumericPattern as m } from "./index222.mjs";
4
+ class c extends i {
5
+ priority = 60;
6
+ parse(r, e, t) {
7
+ switch (e) {
8
+ case "m":
9
+ return m(s.minute, r);
10
+ case "mo":
11
+ return t.ordinalNumber(r, { unit: "minute" });
12
+ default:
13
+ return n(e.length, r);
14
+ }
15
+ }
16
+ validate(r, e) {
17
+ return e >= 0 && e <= 59;
18
+ }
19
+ set(r, e, t) {
20
+ return r.setMinutes(t, 0, 0), r;
21
+ }
22
+ incompatibleTokens = ["t", "T"];
23
+ }
24
+ export {
25
+ c as MinuteParser
26
+ };
package/index21.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),d=require("react"),m=require("./index54.js"),b=require("./index10.js");function h({backToTop:t,backToTopAriaLabel:n="Terug naar omhoog",items:e=[],qa:a}){const s=()=>{window.scrollTo({top:0,behavior:"smooth"})},c=()=>e?.map((r,l)=>{const i=m.renderHTMLLink(r),u=e.length>1&&l!==e.length-1;return o.jsxs(d.Fragment,{children:[i,u?" | ":""]},r.label)});return o.jsxs("footer",{className:"o-footer","data-qa":a,children:[o.jsx("span",{className:"o-footer__label",children:c()}),t&&o.jsx(b.Button,{className:"o-footer__button a-button--secondary",addOn:{type:"icon",iconProps:{name:"arrow-up-1"}},onClick:s,ariaLabel:n})]})}exports.Footer=h;
package/index21.mjs ADDED
@@ -0,0 +1,33 @@
1
+ import { jsxs as e, jsx as n } from "react/jsx-runtime";
2
+ import d from "react";
3
+ import { renderHTMLLink as p } from "./index54.mjs";
4
+ import { Button as f } from "./index10.mjs";
5
+ function L({ backToTop: t, backToTopAriaLabel: a = "Terug naar omhoog", items: o = [], qa: s }) {
6
+ const c = () => {
7
+ window.scrollTo({
8
+ top: 0,
9
+ behavior: "smooth"
10
+ });
11
+ };
12
+ return /* @__PURE__ */ e("footer", { className: "o-footer", "data-qa": s, children: [
13
+ /* @__PURE__ */ n("span", { className: "o-footer__label", children: o?.map((r, l) => {
14
+ const i = p(r), m = o.length > 1 && l !== o.length - 1;
15
+ return /* @__PURE__ */ e(d.Fragment, { children: [
16
+ i,
17
+ m ? " | " : ""
18
+ ] }, r.label);
19
+ }) }),
20
+ t && /* @__PURE__ */ n(
21
+ f,
22
+ {
23
+ className: "o-footer__button a-button--secondary",
24
+ addOn: { type: "icon", iconProps: { name: "arrow-up-1" } },
25
+ onClick: c,
26
+ ariaLabel: a
27
+ }
28
+ )
29
+ ] });
30
+ }
31
+ export {
32
+ L as Footer
33
+ };
package/index210.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index223.js"),a=require("./index221.js"),t=require("./index222.js");class c extends a.Parser{priority=50;parse(e,r,s){switch(r){case"s":return t.parseNumericPattern(n.numericPatterns.second,e);case"so":return s.ordinalNumber(e,{unit:"second"});default:return t.parseNDigits(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,s){return e.setSeconds(s,0),e}incompatibleTokens=["t","T"]}exports.SecondParser=c;
package/index210.mjs ADDED
@@ -0,0 +1,26 @@
1
+ import { numericPatterns as t } from "./index223.mjs";
2
+ import { Parser as n } from "./index221.mjs";
3
+ import { parseNDigits as o, parseNumericPattern as a } from "./index222.mjs";
4
+ class u extends n {
5
+ priority = 50;
6
+ parse(r, e, s) {
7
+ switch (e) {
8
+ case "s":
9
+ return a(t.second, r);
10
+ case "so":
11
+ return s.ordinalNumber(r, { unit: "second" });
12
+ default:
13
+ return o(e.length, r);
14
+ }
15
+ }
16
+ validate(r, e) {
17
+ return e >= 0 && e <= 59;
18
+ }
19
+ set(r, e, s) {
20
+ return r.setSeconds(s, 0), r;
21
+ }
22
+ incompatibleTokens = ["t", "T"];
23
+ }
24
+ export {
25
+ u as SecondParser
26
+ };
package/index211.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index221.js"),s=require("./index222.js");class i extends n.Parser{priority=30;parse(e,r){const t=a=>Math.trunc(a*Math.pow(10,-r.length+3));return s.mapValue(s.parseNDigits(r.length,e),t)}set(e,r,t){return e.setMilliseconds(t),e}incompatibleTokens=["t","T"]}exports.FractionOfSecondParser=i;
package/index211.mjs ADDED
@@ -0,0 +1,16 @@
1
+ import { Parser as a } from "./index221.mjs";
2
+ import { mapValue as o, parseNDigits as i } from "./index222.mjs";
3
+ class c extends a {
4
+ priority = 30;
5
+ parse(r, e) {
6
+ const t = (s) => Math.trunc(s * Math.pow(10, -e.length + 3));
7
+ return o(i(e.length, r), t);
8
+ }
9
+ set(r, e, t) {
10
+ return r.setMilliseconds(t), r;
11
+ }
12
+ incompatibleTokens = ["t", "T"];
13
+ }
14
+ export {
15
+ c as FractionOfSecondParser
16
+ };
package/index212.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index148.js"),o=require("./index152.js"),t=require("./index223.js"),a=require("./index221.js"),r=require("./index222.js");class c extends a.Parser{priority=10;parse(e,n){switch(n){case"X":return r.parseTimezonePattern(t.timezonePatterns.basicOptionalMinutes,e);case"XX":return r.parseTimezonePattern(t.timezonePatterns.basic,e);case"XXXX":return r.parseTimezonePattern(t.timezonePatterns.basicOptionalSeconds,e);case"XXXXX":return r.parseTimezonePattern(t.timezonePatterns.extendedOptionalSeconds,e);case"XXX":default:return r.parseTimezonePattern(t.timezonePatterns.extended,e)}}set(e,n,s){return n.timestampIsSet?e:i.constructFrom(e,e.getTime()-o.getTimezoneOffsetInMilliseconds(e)-s)}incompatibleTokens=["t","T","x"]}exports.ISOTimezoneWithZParser=c;
package/index212.mjs ADDED
@@ -0,0 +1,42 @@
1
+ import { constructFrom as i } from "./index148.mjs";
2
+ import { getTimezoneOffsetInMilliseconds as n } from "./index152.mjs";
3
+ import { timezonePatterns as r } from "./index223.mjs";
4
+ import { Parser as m } from "./index221.mjs";
5
+ import { parseTimezonePattern as t } from "./index222.mjs";
6
+ class l extends m {
7
+ priority = 10;
8
+ parse(e, s) {
9
+ switch (s) {
10
+ case "X":
11
+ return t(
12
+ r.basicOptionalMinutes,
13
+ e
14
+ );
15
+ case "XX":
16
+ return t(r.basic, e);
17
+ case "XXXX":
18
+ return t(
19
+ r.basicOptionalSeconds,
20
+ e
21
+ );
22
+ case "XXXXX":
23
+ return t(
24
+ r.extendedOptionalSeconds,
25
+ e
26
+ );
27
+ case "XXX":
28
+ default:
29
+ return t(r.extended, e);
30
+ }
31
+ }
32
+ set(e, s, o) {
33
+ return s.timestampIsSet ? e : i(
34
+ e,
35
+ e.getTime() - n(e) - o
36
+ );
37
+ }
38
+ incompatibleTokens = ["t", "T", "x"];
39
+ }
40
+ export {
41
+ l as ISOTimezoneWithZParser
42
+ };
package/index213.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index148.js"),o=require("./index152.js"),t=require("./index223.js"),a=require("./index221.js"),r=require("./index222.js");class c extends a.Parser{priority=10;parse(e,n){switch(n){case"x":return r.parseTimezonePattern(t.timezonePatterns.basicOptionalMinutes,e);case"xx":return r.parseTimezonePattern(t.timezonePatterns.basic,e);case"xxxx":return r.parseTimezonePattern(t.timezonePatterns.basicOptionalSeconds,e);case"xxxxx":return r.parseTimezonePattern(t.timezonePatterns.extendedOptionalSeconds,e);case"xxx":default:return r.parseTimezonePattern(t.timezonePatterns.extended,e)}}set(e,n,s){return n.timestampIsSet?e:i.constructFrom(e,e.getTime()-o.getTimezoneOffsetInMilliseconds(e)-s)}incompatibleTokens=["t","T","X"]}exports.ISOTimezoneParser=c;
package/index213.mjs ADDED
@@ -0,0 +1,42 @@
1
+ import { constructFrom as n } from "./index148.mjs";
2
+ import { getTimezoneOffsetInMilliseconds as i } from "./index152.mjs";
3
+ import { timezonePatterns as r } from "./index223.mjs";
4
+ import { Parser as m } from "./index221.mjs";
5
+ import { parseTimezonePattern as s } from "./index222.mjs";
6
+ class l extends m {
7
+ priority = 10;
8
+ parse(e, t) {
9
+ switch (t) {
10
+ case "x":
11
+ return s(
12
+ r.basicOptionalMinutes,
13
+ e
14
+ );
15
+ case "xx":
16
+ return s(r.basic, e);
17
+ case "xxxx":
18
+ return s(
19
+ r.basicOptionalSeconds,
20
+ e
21
+ );
22
+ case "xxxxx":
23
+ return s(
24
+ r.extendedOptionalSeconds,
25
+ e
26
+ );
27
+ case "xxx":
28
+ default:
29
+ return s(r.extended, e);
30
+ }
31
+ }
32
+ set(e, t, o) {
33
+ return t.timestampIsSet ? e : n(
34
+ e,
35
+ e.getTime() - i(e) - o
36
+ );
37
+ }
38
+ incompatibleTokens = ["t", "T", "X"];
39
+ }
40
+ export {
41
+ l as ISOTimezoneParser
42
+ };
package/index214.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index148.js"),t=require("./index221.js"),i=require("./index222.js");class n extends t.Parser{priority=40;parse(e){return i.parseAnyDigitsSigned(e)}set(e,a,r){return[s.constructFrom(e,r*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}exports.TimestampSecondsParser=n;
package/index214.mjs ADDED
@@ -0,0 +1,16 @@
1
+ import { constructFrom as t } from "./index148.mjs";
2
+ import { Parser as s } from "./index221.mjs";
3
+ import { parseAnyDigitsSigned as o } from "./index222.mjs";
4
+ class c extends s {
5
+ priority = 40;
6
+ parse(r) {
7
+ return o(r);
8
+ }
9
+ set(r, m, e) {
10
+ return [t(r, e * 1e3), { timestampIsSet: !0 }];
11
+ }
12
+ incompatibleTokens = "*";
13
+ }
14
+ export {
15
+ c as TimestampSecondsParser
16
+ };
package/index215.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index148.js"),t=require("./index221.js"),i=require("./index222.js");class n extends t.Parser{priority=20;parse(e){return i.parseAnyDigitsSigned(e)}set(e,a,r){return[s.constructFrom(e,r),{timestampIsSet:!0}]}incompatibleTokens="*"}exports.TimestampMillisecondsParser=n;
package/index215.mjs ADDED
@@ -0,0 +1,16 @@
1
+ import { constructFrom as t } from "./index148.mjs";
2
+ import { Parser as s } from "./index221.mjs";
3
+ import { parseAnyDigitsSigned as i } from "./index222.mjs";
4
+ class c extends s {
5
+ priority = 20;
6
+ parse(r) {
7
+ return i(r);
8
+ }
9
+ set(r, m, e) {
10
+ return [t(r, e), { timestampIsSet: !0 }];
11
+ }
12
+ incompatibleTokens = "*";
13
+ }
14
+ export {
15
+ c as TimestampMillisecondsParser
16
+ };
package/index216.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r=(s,n,t)=>{let e;const o=a[s];return typeof o=="string"?e=o:n===1?e=o.one:e=o.other.replace("{{count}}",n.toString()),t?.addSuffix?t.comparison&&t.comparison>0?"in "+e:e+" ago":e};exports.formatDistance=r;
package/index216.mjs ADDED
@@ -0,0 +1,70 @@
1
+ const a = {
2
+ lessThanXSeconds: {
3
+ one: "less than a second",
4
+ other: "less than {{count}} seconds"
5
+ },
6
+ xSeconds: {
7
+ one: "1 second",
8
+ other: "{{count}} seconds"
9
+ },
10
+ halfAMinute: "half a minute",
11
+ lessThanXMinutes: {
12
+ one: "less than a minute",
13
+ other: "less than {{count}} minutes"
14
+ },
15
+ xMinutes: {
16
+ one: "1 minute",
17
+ other: "{{count}} minutes"
18
+ },
19
+ aboutXHours: {
20
+ one: "about 1 hour",
21
+ other: "about {{count}} hours"
22
+ },
23
+ xHours: {
24
+ one: "1 hour",
25
+ other: "{{count}} hours"
26
+ },
27
+ xDays: {
28
+ one: "1 day",
29
+ other: "{{count}} days"
30
+ },
31
+ aboutXWeeks: {
32
+ one: "about 1 week",
33
+ other: "about {{count}} weeks"
34
+ },
35
+ xWeeks: {
36
+ one: "1 week",
37
+ other: "{{count}} weeks"
38
+ },
39
+ aboutXMonths: {
40
+ one: "about 1 month",
41
+ other: "about {{count}} months"
42
+ },
43
+ xMonths: {
44
+ one: "1 month",
45
+ other: "{{count}} months"
46
+ },
47
+ aboutXYears: {
48
+ one: "about 1 year",
49
+ other: "about {{count}} years"
50
+ },
51
+ xYears: {
52
+ one: "1 year",
53
+ other: "{{count}} years"
54
+ },
55
+ overXYears: {
56
+ one: "over 1 year",
57
+ other: "over {{count}} years"
58
+ },
59
+ almostXYears: {
60
+ one: "almost 1 year",
61
+ other: "almost {{count}} years"
62
+ }
63
+ }, r = (s, n, t) => {
64
+ let e;
65
+ const o = a[s];
66
+ return typeof o == "string" ? e = o : n === 1 ? e = o.one : e = o.other.replace("{{count}}", n.toString()), t?.addSuffix ? t.comparison && t.comparison > 0 ? "in " + e : e + " ago" : e;
67
+ };
68
+ export {
69
+ r as formatDistance
70
+ };
package/index217.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index229.js"),m={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},o={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},a={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},e={date:t.buildFormatLongFn({formats:m,defaultWidth:"full"}),time:t.buildFormatLongFn({formats:o,defaultWidth:"full"}),dateTime:t.buildFormatLongFn({formats:a,defaultWidth:"full"})};exports.formatLong=e;
package/index217.mjs ADDED
@@ -0,0 +1,33 @@
1
+ import { buildFormatLongFn as t } from "./index229.mjs";
2
+ const m = {
3
+ full: "EEEE, MMMM do, y",
4
+ long: "MMMM do, y",
5
+ medium: "MMM d, y",
6
+ short: "MM/dd/yyyy"
7
+ }, a = {
8
+ full: "h:mm:ss a zzzz",
9
+ long: "h:mm:ss a z",
10
+ medium: "h:mm:ss a",
11
+ short: "h:mm a"
12
+ }, o = {
13
+ full: "{{date}} 'at' {{time}}",
14
+ long: "{{date}} 'at' {{time}}",
15
+ medium: "{{date}}, {{time}}",
16
+ short: "{{date}}, {{time}}"
17
+ }, e = {
18
+ date: t({
19
+ formats: m,
20
+ defaultWidth: "full"
21
+ }),
22
+ time: t({
23
+ formats: a,
24
+ defaultWidth: "full"
25
+ }),
26
+ dateTime: t({
27
+ formats: o,
28
+ defaultWidth: "full"
29
+ })
30
+ };
31
+ export {
32
+ e as formatLong
33
+ };
package/index218.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},a=(e,o,r,s)=>t[e];exports.formatRelative=a;
package/index218.mjs ADDED
@@ -0,0 +1,11 @@
1
+ const t = {
2
+ lastWeek: "'last' eeee 'at' p",
3
+ yesterday: "'yesterday at' p",
4
+ today: "'today at' p",
5
+ tomorrow: "'tomorrow at' p",
6
+ nextWeek: "eeee 'at' p",
7
+ other: "P"
8
+ }, s = (e, a, o, r) => t[e];
9
+ export {
10
+ s as formatRelative
11
+ };
package/index219.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index230.js"),a={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},o={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},r={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},d={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},u={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},m={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},g=(i,l)=>{const n=Number(i),t=n%100;if(t>20||t<10)switch(t%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},h={ordinalNumber:g,era:e.buildLocalizeFn({values:a,defaultWidth:"wide"}),quarter:e.buildLocalizeFn({values:o,defaultWidth:"wide",argumentCallback:i=>i-1}),month:e.buildLocalizeFn({values:r,defaultWidth:"wide"}),day:e.buildLocalizeFn({values:d,defaultWidth:"wide"}),dayPeriod:e.buildLocalizeFn({values:u,defaultWidth:"wide",formattingValues:m,defaultFormattingWidth:"wide"})};exports.localize=h;
package/index219.mjs ADDED
@@ -0,0 +1,155 @@
1
+ import { buildLocalizeFn as e } from "./index230.mjs";
2
+ const a = {
3
+ narrow: ["B", "A"],
4
+ abbreviated: ["BC", "AD"],
5
+ wide: ["Before Christ", "Anno Domini"]
6
+ }, r = {
7
+ narrow: ["1", "2", "3", "4"],
8
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
9
+ wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
10
+ }, o = {
11
+ narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
12
+ abbreviated: [
13
+ "Jan",
14
+ "Feb",
15
+ "Mar",
16
+ "Apr",
17
+ "May",
18
+ "Jun",
19
+ "Jul",
20
+ "Aug",
21
+ "Sep",
22
+ "Oct",
23
+ "Nov",
24
+ "Dec"
25
+ ],
26
+ wide: [
27
+ "January",
28
+ "February",
29
+ "March",
30
+ "April",
31
+ "May",
32
+ "June",
33
+ "July",
34
+ "August",
35
+ "September",
36
+ "October",
37
+ "November",
38
+ "December"
39
+ ]
40
+ }, d = {
41
+ narrow: ["S", "M", "T", "W", "T", "F", "S"],
42
+ short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
43
+ abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
44
+ wide: [
45
+ "Sunday",
46
+ "Monday",
47
+ "Tuesday",
48
+ "Wednesday",
49
+ "Thursday",
50
+ "Friday",
51
+ "Saturday"
52
+ ]
53
+ }, m = {
54
+ narrow: {
55
+ am: "a",
56
+ pm: "p",
57
+ midnight: "mi",
58
+ noon: "n",
59
+ morning: "morning",
60
+ afternoon: "afternoon",
61
+ evening: "evening",
62
+ night: "night"
63
+ },
64
+ abbreviated: {
65
+ am: "AM",
66
+ pm: "PM",
67
+ midnight: "midnight",
68
+ noon: "noon",
69
+ morning: "morning",
70
+ afternoon: "afternoon",
71
+ evening: "evening",
72
+ night: "night"
73
+ },
74
+ wide: {
75
+ am: "a.m.",
76
+ pm: "p.m.",
77
+ midnight: "midnight",
78
+ noon: "noon",
79
+ morning: "morning",
80
+ afternoon: "afternoon",
81
+ evening: "evening",
82
+ night: "night"
83
+ }
84
+ }, g = {
85
+ narrow: {
86
+ am: "a",
87
+ pm: "p",
88
+ midnight: "mi",
89
+ noon: "n",
90
+ morning: "in the morning",
91
+ afternoon: "in the afternoon",
92
+ evening: "in the evening",
93
+ night: "at night"
94
+ },
95
+ abbreviated: {
96
+ am: "AM",
97
+ pm: "PM",
98
+ midnight: "midnight",
99
+ noon: "noon",
100
+ morning: "in the morning",
101
+ afternoon: "in the afternoon",
102
+ evening: "in the evening",
103
+ night: "at night"
104
+ },
105
+ wide: {
106
+ am: "a.m.",
107
+ pm: "p.m.",
108
+ midnight: "midnight",
109
+ noon: "noon",
110
+ morning: "in the morning",
111
+ afternoon: "in the afternoon",
112
+ evening: "in the evening",
113
+ night: "at night"
114
+ }
115
+ }, u = (i, h) => {
116
+ const n = Number(i), t = n % 100;
117
+ if (t > 20 || t < 10)
118
+ switch (t % 10) {
119
+ case 1:
120
+ return n + "st";
121
+ case 2:
122
+ return n + "nd";
123
+ case 3:
124
+ return n + "rd";
125
+ }
126
+ return n + "th";
127
+ }, l = {
128
+ ordinalNumber: u,
129
+ era: e({
130
+ values: a,
131
+ defaultWidth: "wide"
132
+ }),
133
+ quarter: e({
134
+ values: r,
135
+ defaultWidth: "wide",
136
+ argumentCallback: (i) => i - 1
137
+ }),
138
+ month: e({
139
+ values: o,
140
+ defaultWidth: "wide"
141
+ }),
142
+ day: e({
143
+ values: d,
144
+ defaultWidth: "wide"
145
+ }),
146
+ dayPeriod: e({
147
+ values: m,
148
+ defaultWidth: "wide",
149
+ formattingValues: g,
150
+ defaultFormattingWidth: "wide"
151
+ })
152
+ };
153
+ export {
154
+ l as localize
155
+ };
package/index22.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const k=require("react/jsx-runtime"),b=require("./index51.js"),t=require("react");function c({onItemClick:l,type:a,ordered:i,flushed:e,lined:o,children:r,qa:n}){const u=b.classNames({"a-list":a!=="avatar"&&a!=="checkbox","a-list--flushed":!!e&&a!=="avatar"&&a!=="checkbox","a-list--lined":!!o,"a-avatar-list":a==="avatar","a-avatar-list--flushed":!!(a==="avatar"&&e),"a-checkbox-list":a==="checkbox","a-checkbox-list--flushed":!!(a==="checkbox"&&e)}),d=`${i?"ol":"ul"}`;return k.jsx(d,{className:u,"data-qa":n,children:t.Children.map(r||[],s=>t.cloneElement(s,{key:s.props.id,onClick:s.props.onClick||l}))})}exports.FunctionalList=c;exports.default=c;