@okam/stack-ui 1.32.8 → 1.34.0

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 (684) hide show
  1. package/components/Button/interface.d.ts +3 -0
  2. package/components/WysiwygBlock/index.d.ts +1 -1
  3. package/components/WysiwygBlock/interface.d.ts +7 -1
  4. package/components/fields/Select/Select.interface.d.ts +2 -0
  5. package/components/fields/Select/components/Listbox.interface.d.ts +8 -0
  6. package/components/fields/Select/components/useListboxSections.d.ts +7 -0
  7. package/index.d.ts +1 -0
  8. package/index101.js +1 -1
  9. package/index101.mjs +1 -1
  10. package/index108.js +1 -1
  11. package/index108.mjs +33 -18
  12. package/index110.js +1 -1
  13. package/index110.mjs +4 -4
  14. package/index111.js +1 -1
  15. package/index111.mjs +3 -3
  16. package/index112.js +1 -1
  17. package/index112.mjs +1 -1
  18. package/index113.js +1 -1
  19. package/index113.mjs +1 -1
  20. package/index114.js +1 -1
  21. package/index114.mjs +2 -2
  22. package/index116.js +1 -1
  23. package/index116.mjs +9 -9
  24. package/index117.js +1 -1
  25. package/index117.mjs +6 -6
  26. package/index119.js +1 -1
  27. package/index119.mjs +3 -3
  28. package/index120.js +1 -1
  29. package/index120.mjs +3 -3
  30. package/index121.js +1 -1
  31. package/index121.mjs +9 -9
  32. package/index122.js +1 -1
  33. package/index122.mjs +6 -6
  34. package/index123.js +1 -1
  35. package/index123.mjs +2 -2
  36. package/index124.js +1 -1
  37. package/index124.mjs +9 -9
  38. package/index125.js +1 -1
  39. package/index125.mjs +1 -1
  40. package/index126.js +1 -1
  41. package/index126.mjs +6 -6
  42. package/index127.js +1 -1
  43. package/index127.mjs +3 -3
  44. package/index13.js +1 -1
  45. package/index13.mjs +38 -28
  46. package/index131.js +1 -1
  47. package/index131.mjs +2 -2
  48. package/index134.js +1 -1
  49. package/index134.mjs +1 -1
  50. package/index139.js +1 -1
  51. package/index139.mjs +10 -12
  52. package/index140.js +1 -1
  53. package/index140.mjs +12 -52
  54. package/index141.js +1 -1
  55. package/index141.mjs +23 -23
  56. package/index142.js +1 -1
  57. package/index142.mjs +3 -3
  58. package/index145.js +1 -1
  59. package/index145.mjs +50 -21
  60. package/index146.js +1 -1
  61. package/index146.mjs +19 -37
  62. package/index147.js +1 -1
  63. package/index147.mjs +22 -25
  64. package/index148.js +1 -1
  65. package/index148.mjs +35 -251
  66. package/index149.js +1 -1
  67. package/index149.mjs +25 -106
  68. package/index150.js +1 -1
  69. package/index150.mjs +242 -320
  70. package/index151.js +1 -1
  71. package/index151.mjs +105 -23
  72. package/index152.js +1 -1
  73. package/index152.mjs +323 -104
  74. package/index153.js +1 -1
  75. package/index153.mjs +106 -20
  76. package/index154.js +1 -1
  77. package/index154.mjs +83 -107
  78. package/index155.js +1 -1
  79. package/index155.mjs +26 -83
  80. package/index156.js +1 -1
  81. package/index156.mjs +24 -26
  82. package/index157.js +1 -1
  83. package/index157.mjs +115 -4
  84. package/index158.js +1 -1
  85. package/index158.mjs +124 -23
  86. package/index159.js +1 -1
  87. package/index159.mjs +67 -41
  88. package/index160.js +1 -1
  89. package/index160.mjs +348 -4
  90. package/index161.js +1 -1
  91. package/index161.mjs +46 -6
  92. package/index162.js +1 -1
  93. package/index162.mjs +4 -15
  94. package/index163.js +1 -1
  95. package/index163.mjs +24 -21
  96. package/index164.js +1 -1
  97. package/index164.mjs +43 -38
  98. package/index165.js +1 -1
  99. package/index165.mjs +5 -24
  100. package/index166.js +1 -1
  101. package/index166.mjs +6 -38
  102. package/index167.js +1 -1
  103. package/index167.mjs +13 -27
  104. package/index168.js +1 -1
  105. package/index168.mjs +21 -31
  106. package/index169.js +1 -1
  107. package/index169.mjs +42 -14
  108. package/index170.js +1 -1
  109. package/index170.mjs +24 -9
  110. package/index171.js +1 -1
  111. package/index171.mjs +36 -27
  112. package/index172.js +1 -1
  113. package/index172.mjs +27 -8
  114. package/index173.js +1 -1
  115. package/index173.mjs +31 -6
  116. package/index174.js +1 -1
  117. package/index174.mjs +14 -5
  118. package/index175.js +1 -1
  119. package/index175.mjs +9 -7
  120. package/index176.js +1 -1
  121. package/index176.mjs +27 -28
  122. package/index177.js +1 -1
  123. package/index177.mjs +9 -18
  124. package/index178.js +1 -1
  125. package/index178.mjs +6 -13
  126. package/index179.js +1 -1
  127. package/index179.mjs +5 -43
  128. package/index180.js +1 -1
  129. package/index180.mjs +7 -8
  130. package/index181.js +1 -1
  131. package/index181.mjs +29 -5
  132. package/index182.js +1 -1
  133. package/index182.mjs +14 -13
  134. package/index183.js +1 -1
  135. package/index183.mjs +12 -124
  136. package/index184.js +1 -1
  137. package/index184.mjs +39 -69
  138. package/index185.js +1 -1
  139. package/index185.mjs +7 -348
  140. package/index186.js +1 -1
  141. package/index186.mjs +5 -45
  142. package/index187.js +1 -1
  143. package/index187.mjs +14 -28
  144. package/index188.js +1 -1
  145. package/index188.mjs +28 -24
  146. package/index189.js +1 -1
  147. package/index189.mjs +24 -133
  148. package/index190.js +1 -1
  149. package/index190.mjs +72 -133
  150. package/index191.js +1 -1
  151. package/index191.mjs +50 -96
  152. package/index192.js +1 -1
  153. package/index192.mjs +31 -24
  154. package/index193.js +1 -1
  155. package/index193.mjs +28 -380
  156. package/index194.js +1 -1
  157. package/index194.mjs +202 -81
  158. package/index195.js +1 -1
  159. package/index195.mjs +133 -72
  160. package/index196.js +1 -1
  161. package/index196.mjs +150 -47
  162. package/index197.js +1 -1
  163. package/index197.mjs +96 -29
  164. package/index198.js +1 -1
  165. package/index198.mjs +131 -24
  166. package/index199.js +1 -1
  167. package/index199.mjs +91 -211
  168. package/index2.js +1 -1
  169. package/index2.mjs +17 -13
  170. package/index200.js +1 -1
  171. package/index200.mjs +24 -151
  172. package/index201.js +1 -1
  173. package/index201.mjs +381 -100
  174. package/index202.js +1 -1
  175. package/index202.mjs +91 -207
  176. package/index203.js +1 -1
  177. package/index203.mjs +207 -20
  178. package/index204.js +1 -1
  179. package/index204.mjs +24 -4
  180. package/index205.js +1 -1
  181. package/index205.mjs +4 -3
  182. package/index206.js +1 -1
  183. package/index206.mjs +3 -125
  184. package/index207.js +1 -1
  185. package/index207.mjs +117 -21
  186. package/index208.js +1 -1
  187. package/index208.mjs +15 -37
  188. package/index209.js +1 -1
  189. package/index209.mjs +41 -34
  190. package/index210.js +1 -1
  191. package/index210.mjs +32 -25
  192. package/index211.js +1 -1
  193. package/index211.mjs +22 -98
  194. package/index212.js +1 -1
  195. package/index212.mjs +99 -63
  196. package/index213.js +1 -1
  197. package/index213.mjs +55 -79
  198. package/index214.js +1 -1
  199. package/index214.mjs +102 -98
  200. package/index215.js +1 -1
  201. package/index215.mjs +98 -73
  202. package/index216.js +1 -1
  203. package/index216.mjs +65 -88
  204. package/index217.js +1 -1
  205. package/index217.mjs +85 -145
  206. package/index218.js +1 -1
  207. package/index218.mjs +156 -72
  208. package/index219.js +1 -1
  209. package/index219.mjs +71 -61
  210. package/index220.js +1 -1
  211. package/index220.mjs +59 -57
  212. package/index221.js +1 -1
  213. package/index221.mjs +53 -197
  214. package/index222.js +1 -1
  215. package/index222.mjs +190 -51
  216. package/index223.js +1 -1
  217. package/index223.mjs +51 -130
  218. package/index224.js +1 -1
  219. package/index224.mjs +130 -111
  220. package/index225.js +1 -1
  221. package/index225.mjs +105 -205
  222. package/index226.js +1 -1
  223. package/index226.mjs +203 -169
  224. package/index227.js +1 -1
  225. package/index227.mjs +182 -61
  226. package/index228.js +1 -1
  227. package/index228.mjs +60 -270
  228. package/index229.js +1 -1
  229. package/index229.mjs +270 -89
  230. package/index230.js +1 -1
  231. package/index230.mjs +92 -182
  232. package/index231.js +1 -1
  233. package/index231.mjs +182 -78
  234. package/index232.js +1 -1
  235. package/index232.mjs +75 -49
  236. package/index233.js +1 -1
  237. package/index233.mjs +49 -117
  238. package/index234.js +1 -1
  239. package/index234.mjs +118 -108
  240. package/index235.js +1 -1
  241. package/index235.mjs +106 -112
  242. package/index236.js +1 -1
  243. package/index236.mjs +113 -63
  244. package/index237.js +1 -1
  245. package/index237.mjs +70 -108
  246. package/index238.js +1 -1
  247. package/index238.mjs +108 -50
  248. package/index239.js +1 -1
  249. package/index239.mjs +34 -75
  250. package/index240.js +1 -1
  251. package/index240.mjs +71 -48
  252. package/index241.js +1 -1
  253. package/index241.mjs +57 -43
  254. package/index242.js +1 -1
  255. package/index242.mjs +43 -86
  256. package/index243.js +1 -5
  257. package/index243.mjs +81 -62
  258. package/index244.js +5 -1
  259. package/index244.mjs +72 -2017
  260. package/index245.js +1 -1
  261. package/index245.mjs +2020 -54
  262. package/index246.js +1 -1
  263. package/index246.mjs +57 -186
  264. package/index247.js +1 -1
  265. package/index247.mjs +188 -3
  266. package/index248.js +1 -1
  267. package/index248.mjs +4 -72
  268. package/index249.js +1 -1
  269. package/index249.mjs +20 -45
  270. package/index250.js +1 -1
  271. package/index250.mjs +20 -30
  272. package/index251.js +1 -1
  273. package/index251.mjs +19 -19
  274. package/index252.js +1 -1
  275. package/index252.mjs +19 -19
  276. package/index253.js +1 -1
  277. package/index253.mjs +19 -19
  278. package/index254.js +1 -1
  279. package/index254.mjs +19 -19
  280. package/index255.js +1 -1
  281. package/index255.mjs +16 -16
  282. package/index256.js +1 -1
  283. package/index256.mjs +19 -19
  284. package/index257.js +1 -1
  285. package/index257.mjs +19 -19
  286. package/index258.js +1 -1
  287. package/index258.mjs +16 -16
  288. package/index259.js +1 -1
  289. package/index259.mjs +16 -16
  290. package/index260.js +1 -1
  291. package/index260.mjs +19 -19
  292. package/index261.js +1 -1
  293. package/index261.mjs +16 -16
  294. package/index262.js +1 -1
  295. package/index262.mjs +19 -19
  296. package/index263.js +1 -1
  297. package/index263.mjs +14 -14
  298. package/index264.js +1 -1
  299. package/index264.mjs +19 -19
  300. package/index265.js +1 -1
  301. package/index265.mjs +19 -19
  302. package/index266.js +1 -1
  303. package/index266.mjs +16 -16
  304. package/index267.js +1 -1
  305. package/index267.mjs +19 -19
  306. package/index268.js +1 -1
  307. package/index268.mjs +19 -19
  308. package/index269.js +1 -1
  309. package/index269.mjs +19 -19
  310. package/index27.js +1 -1
  311. package/index27.mjs +3 -3
  312. package/index270.js +1 -1
  313. package/index270.mjs +19 -19
  314. package/index271.js +1 -1
  315. package/index271.mjs +19 -19
  316. package/index272.js +1 -1
  317. package/index272.mjs +15 -15
  318. package/index273.js +1 -1
  319. package/index273.mjs +16 -16
  320. package/index274.js +1 -1
  321. package/index274.mjs +19 -19
  322. package/index275.js +1 -1
  323. package/index275.mjs +16 -16
  324. package/index276.js +1 -1
  325. package/index276.mjs +19 -19
  326. package/index277.js +1 -1
  327. package/index277.mjs +19 -19
  328. package/index278.js +1 -1
  329. package/index278.mjs +19 -19
  330. package/index279.js +1 -1
  331. package/index279.mjs +19 -19
  332. package/index280.js +1 -1
  333. package/index280.mjs +19 -19
  334. package/index281.js +1 -1
  335. package/index281.mjs +19 -19
  336. package/index282.js +1 -1
  337. package/index282.mjs +16 -16
  338. package/index283.js +1 -1
  339. package/index283.mjs +71 -19
  340. package/index284.js +1 -1
  341. package/index284.mjs +45 -20
  342. package/index285.js +1 -1
  343. package/index285.mjs +29 -4
  344. package/index286.js +1 -1
  345. package/index286.mjs +4 -48
  346. package/index287.js +1 -1
  347. package/index287.mjs +49 -16
  348. package/index288.js +1 -1
  349. package/index288.mjs +12 -12
  350. package/index289.js +1 -1
  351. package/index289.mjs +15 -15
  352. package/index290.js +1 -1
  353. package/index290.mjs +12 -12
  354. package/index291.js +1 -1
  355. package/index291.mjs +12 -12
  356. package/index292.js +1 -1
  357. package/index292.mjs +15 -15
  358. package/index293.js +1 -1
  359. package/index293.mjs +15 -15
  360. package/index294.js +1 -1
  361. package/index294.mjs +15 -15
  362. package/index295.js +1 -1
  363. package/index295.mjs +12 -12
  364. package/index296.js +1 -1
  365. package/index296.mjs +12 -12
  366. package/index297.js +1 -1
  367. package/index297.mjs +15 -15
  368. package/index298.js +1 -1
  369. package/index298.mjs +15 -15
  370. package/index299.js +1 -1
  371. package/index299.mjs +15 -15
  372. package/index300.js +1 -1
  373. package/index300.mjs +15 -15
  374. package/index301.js +1 -1
  375. package/index301.mjs +15 -15
  376. package/index302.js +1 -1
  377. package/index302.mjs +15 -15
  378. package/index303.js +1 -1
  379. package/index303.mjs +15 -15
  380. package/index304.js +1 -1
  381. package/index304.mjs +15 -15
  382. package/index305.js +1 -1
  383. package/index305.mjs +12 -12
  384. package/index306.js +1 -1
  385. package/index306.mjs +12 -12
  386. package/index307.js +1 -1
  387. package/index307.mjs +12 -12
  388. package/index308.js +1 -1
  389. package/index308.mjs +15 -15
  390. package/index309.js +1 -1
  391. package/index309.mjs +15 -15
  392. package/index310.js +1 -1
  393. package/index310.mjs +2 -2
  394. package/index311.js +1 -1
  395. package/index311.mjs +15 -15
  396. package/index312.js +1 -1
  397. package/index312.mjs +15 -15
  398. package/index313.js +1 -1
  399. package/index313.mjs +15 -15
  400. package/index314.js +1 -1
  401. package/index314.mjs +15 -15
  402. package/index315.js +1 -1
  403. package/index315.mjs +15 -15
  404. package/index316.js +1 -1
  405. package/index316.mjs +15 -15
  406. package/index317.js +1 -1
  407. package/index317.mjs +12 -12
  408. package/index318.js +1 -1
  409. package/index318.mjs +15 -15
  410. package/index319.js +1 -1
  411. package/index319.mjs +12 -12
  412. package/index320.js +1 -1
  413. package/index320.mjs +11 -11
  414. package/index321.js +1 -1
  415. package/index321.mjs +15 -130
  416. package/index322.js +1 -1
  417. package/index322.mjs +123 -183
  418. package/index323.js +1 -1
  419. package/index323.mjs +189 -8
  420. package/index324.js +1 -1
  421. package/index324.mjs +9 -3
  422. package/index325.js +1 -1
  423. package/index325.mjs +3 -36
  424. package/index326.js +1 -1
  425. package/index326.mjs +36 -5
  426. package/index327.js +1 -1
  427. package/index327.mjs +5 -29
  428. package/index328.js +1 -1
  429. package/index328.mjs +29 -6
  430. package/index329.js +1 -1
  431. package/index329.mjs +6 -140
  432. package/index330.js +1 -1
  433. package/index330.mjs +11 -197
  434. package/index331.js +1 -1
  435. package/index331.mjs +7 -23
  436. package/index332.js +1 -1
  437. package/index332.mjs +66 -44
  438. package/index333.js +1 -1
  439. package/index333.mjs +2 -2
  440. package/index334.js +1 -1
  441. package/index334.mjs +27 -97
  442. package/index335.js +1 -1
  443. package/index335.mjs +7 -72
  444. package/index336.js +1 -1
  445. package/index336.mjs +6 -58
  446. package/index337.js +1 -1
  447. package/index337.mjs +5 -7
  448. package/index338.js +1 -1
  449. package/index338.mjs +139 -10
  450. package/index339.js +1 -1
  451. package/index339.mjs +197 -5
  452. package/index340.js +1 -1
  453. package/index340.mjs +23 -7
  454. package/index341.js +1 -1
  455. package/index341.mjs +44 -66
  456. package/index342.js +1 -1
  457. package/index342.mjs +97 -27
  458. package/index343.js +1 -1
  459. package/index343.mjs +72 -7
  460. package/index344.js +1 -1
  461. package/index344.mjs +58 -6
  462. package/index345.js +1 -1
  463. package/index345.mjs +7 -20
  464. package/index346.js +1 -1
  465. package/index346.mjs +21 -8
  466. package/index347.js +1 -1
  467. package/index347.mjs +117 -7
  468. package/index348.js +1 -1
  469. package/index348.mjs +71 -7
  470. package/index349.js +1 -1
  471. package/index349.mjs +7 -7
  472. package/index350.js +1 -1
  473. package/index350.mjs +7 -7
  474. package/index351.js +1 -1
  475. package/index351.mjs +7 -7
  476. package/index352.js +1 -1
  477. package/index352.mjs +4 -4
  478. package/index353.js +1 -1
  479. package/index353.mjs +4 -4
  480. package/index354.js +1 -1
  481. package/index354.mjs +7 -7
  482. package/index355.js +1 -1
  483. package/index355.mjs +4 -4
  484. package/index356.js +1 -1
  485. package/index356.mjs +4 -4
  486. package/index357.js +1 -1
  487. package/index357.mjs +7 -7
  488. package/index358.js +1 -1
  489. package/index358.mjs +7 -7
  490. package/index359.js +1 -1
  491. package/index359.mjs +4 -4
  492. package/index360.js +1 -1
  493. package/index360.mjs +7 -7
  494. package/index361.js +1 -1
  495. package/index361.mjs +4 -4
  496. package/index362.js +1 -1
  497. package/index362.mjs +7 -7
  498. package/index363.js +1 -1
  499. package/index363.mjs +7 -7
  500. package/index364.js +1 -1
  501. package/index364.mjs +7 -7
  502. package/index365.js +1 -1
  503. package/index365.mjs +7 -7
  504. package/index366.js +1 -1
  505. package/index366.mjs +7 -7
  506. package/index367.js +1 -1
  507. package/index367.mjs +4 -4
  508. package/index368.js +1 -1
  509. package/index368.mjs +4 -4
  510. package/index369.js +1 -1
  511. package/index369.mjs +4 -4
  512. package/index370.js +1 -1
  513. package/index370.mjs +7 -7
  514. package/index371.js +1 -1
  515. package/index371.mjs +7 -7
  516. package/index372.js +1 -1
  517. package/index372.mjs +4 -4
  518. package/index373.js +1 -1
  519. package/index373.mjs +7 -7
  520. package/index374.js +1 -1
  521. package/index374.mjs +7 -7
  522. package/index375.js +1 -1
  523. package/index375.mjs +4 -4
  524. package/index376.js +1 -1
  525. package/index376.mjs +7 -7
  526. package/index377.js +1 -1
  527. package/index377.mjs +7 -7
  528. package/index378.js +1 -1
  529. package/index378.mjs +7 -7
  530. package/index379.js +1 -1
  531. package/index379.mjs +7 -7
  532. package/index380.js +1 -1
  533. package/index380.mjs +7 -117
  534. package/index381.js +1 -1
  535. package/index381.mjs +7 -71
  536. package/index382.js +1 -1
  537. package/index382.mjs +7 -4
  538. package/index383.js +1 -1
  539. package/index383.mjs +4 -5
  540. package/index384.js +1 -1
  541. package/index384.mjs +5 -5
  542. package/index385.js +1 -1
  543. package/index385.mjs +9 -5
  544. package/index386.js +1 -1
  545. package/index386.mjs +4 -4
  546. package/index387.js +1 -1
  547. package/index387.mjs +1 -1
  548. package/index388.js +1 -1
  549. package/index388.mjs +4 -4
  550. package/index389.js +1 -1
  551. package/index389.mjs +4 -4
  552. package/index390.js +1 -1
  553. package/index390.mjs +4 -4
  554. package/index391.js +1 -1
  555. package/index391.mjs +4 -4
  556. package/index392.js +1 -1
  557. package/index392.mjs +4 -4
  558. package/index393.js +1 -1
  559. package/index393.mjs +4 -4
  560. package/index394.js +1 -1
  561. package/index394.mjs +4 -4
  562. package/index395.js +1 -1
  563. package/index395.mjs +4 -4
  564. package/index396.js +1 -1
  565. package/index396.mjs +4 -4
  566. package/index397.js +1 -1
  567. package/index397.mjs +4 -4
  568. package/index398.js +1 -1
  569. package/index398.mjs +1 -1
  570. package/index399.js +1 -1
  571. package/index399.mjs +1 -1
  572. package/index400.js +1 -1
  573. package/index400.mjs +4 -4
  574. package/index401.js +1 -1
  575. package/index401.mjs +4 -4
  576. package/index402.js +1 -1
  577. package/index402.mjs +4 -4
  578. package/index403.js +1 -1
  579. package/index403.mjs +4 -4
  580. package/index404.js +1 -1
  581. package/index404.mjs +4 -4
  582. package/index405.js +1 -1
  583. package/index405.mjs +1 -1
  584. package/index406.js +1 -1
  585. package/index406.mjs +1 -1
  586. package/index407.js +1 -1
  587. package/index407.mjs +4 -4
  588. package/index408.js +1 -1
  589. package/index408.mjs +4 -4
  590. package/index409.js +1 -1
  591. package/index409.mjs +1 -1
  592. package/index410.js +1 -1
  593. package/index410.mjs +4 -4
  594. package/index411.js +1 -1
  595. package/index411.mjs +4 -4
  596. package/index412.js +1 -1
  597. package/index412.mjs +4 -4
  598. package/index413.js +1 -1
  599. package/index413.mjs +4 -4
  600. package/index414.js +1 -1
  601. package/index414.mjs +4 -4
  602. package/index415.js +1 -1
  603. package/index415.mjs +1 -1
  604. package/index416.js +1 -1
  605. package/index416.mjs +5 -4
  606. package/index417.js +1 -1
  607. package/index417.mjs +5 -5
  608. package/index418.js +1 -1
  609. package/index418.mjs +5 -9
  610. package/index419.js +1 -1
  611. package/index419.mjs +4 -4
  612. package/index420.js +1 -1
  613. package/index420.mjs +4 -4
  614. package/index421.js +1 -1
  615. package/index421.mjs +4 -4
  616. package/index422.js +1 -1
  617. package/index422.mjs +4 -4
  618. package/index423.js +1 -1
  619. package/index423.mjs +4 -4
  620. package/index424.js +1 -1
  621. package/index424.mjs +4 -4
  622. package/index425.js +1 -1
  623. package/index425.mjs +4 -4
  624. package/index426.js +1 -1
  625. package/index426.mjs +4 -4
  626. package/index427.js +1 -1
  627. package/index427.mjs +1 -1
  628. package/index428.js +1 -1
  629. package/index428.mjs +4 -4
  630. package/index429.js +1 -1
  631. package/index429.mjs +4 -4
  632. package/index430.js +1 -1
  633. package/index430.mjs +1 -1
  634. package/index431.js +1 -1
  635. package/index431.mjs +1 -1
  636. package/index432.js +1 -1
  637. package/index432.mjs +4 -4
  638. package/index433.js +1 -1
  639. package/index433.mjs +1 -1
  640. package/index434.js +1 -1
  641. package/index434.mjs +1 -1
  642. package/index435.js +1 -1
  643. package/index435.mjs +4 -4
  644. package/index436.js +1 -1
  645. package/index436.mjs +4 -4
  646. package/index437.js +1 -1
  647. package/index437.mjs +4 -4
  648. package/index438.js +1 -1
  649. package/index438.mjs +1 -1
  650. package/index439.js +1 -1
  651. package/index439.mjs +4 -4
  652. package/index440.js +1 -1
  653. package/index440.mjs +1 -1
  654. package/index441.js +1 -1
  655. package/index441.mjs +4 -4
  656. package/index443.js +1 -1
  657. package/index443.mjs +4 -4
  658. package/index444.js +1 -1
  659. package/index444.mjs +4 -4
  660. package/index445.js +1 -1
  661. package/index445.mjs +4 -4
  662. package/index446.js +1 -1
  663. package/index446.mjs +1 -1
  664. package/index447.js +1 -1
  665. package/index447.mjs +4 -4
  666. package/index448.js +1 -1
  667. package/index448.mjs +4 -4
  668. package/index449.js +1 -1
  669. package/index449.mjs +1 -1
  670. package/index450.js +1 -1
  671. package/index450.mjs +4 -4
  672. package/index451.js +1 -1
  673. package/index451.mjs +4 -4
  674. package/index452.js +1 -1
  675. package/index452.mjs +4 -4
  676. package/index453.js +1 -0
  677. package/index453.mjs +7 -0
  678. package/index8.js +1 -1
  679. package/index8.mjs +8 -8
  680. package/index99.js +1 -1
  681. package/index99.mjs +1 -1
  682. package/package.json +1 -1
  683. package/providers/SidePanel/interface.d.ts +17 -5
  684. package/types/next-link.d.ts +2 -1
package/index199.mjs CHANGED
@@ -1,219 +1,99 @@
1
- import { add as u, subtract as l, set as m, cycleDate as p, constrain as $, addTime as Z, subtractTime as k, setTime as y, cycleTime as b, constrainTime as C, addZoned as M, subtractZoned as W, setZoned as z, cycleZoned as A } from "./index202.mjs";
2
- import { compareDate as x, compareTime as T } from "./index154.mjs";
3
- import { dateToString as _, timeToString as g, dateTimeToString as j, zonedDateTimeToString as E } from "./index203.mjs";
4
- import { GregorianCalendar as G } from "./index194.mjs";
5
- import { toDate as v, toCalendarDateTime as I, zonedToDate as O, toZoned as q } from "./index190.mjs";
6
- import { _ as d } from "./index204.mjs";
7
- function f(a) {
8
- let t = typeof a[0] == "object" ? a.shift() : new G(), e;
9
- if (typeof a[0] == "string") e = a.shift();
10
- else {
11
- let r = t.getEras();
12
- e = r[r.length - 1];
13
- }
14
- let i = a.shift(), s = a.shift(), h = a.shift();
15
- return [
16
- t,
17
- e,
18
- i,
19
- s,
20
- h
21
- ];
22
- }
23
- var B = /* @__PURE__ */ new WeakMap();
1
+ let n = /* @__PURE__ */ new Map();
24
2
  class c {
25
- /** Returns a copy of this date. */
26
- copy() {
27
- return this.era ? new c(this.calendar, this.era, this.year, this.month, this.day) : new c(this.calendar, this.year, this.month, this.day);
28
- }
29
- /** Returns a new `CalendarDate` with the given duration added to it. */
30
- add(t) {
31
- return u(this, t);
32
- }
33
- /** Returns a new `CalendarDate` with the given duration subtracted from it. */
34
- subtract(t) {
35
- return l(this, t);
36
- }
37
- /** Returns a new `CalendarDate` with the given fields set to the provided values. Other fields will be constrained accordingly. */
38
- set(t) {
39
- return m(this, t);
40
- }
41
- /**
42
- * Returns a new `CalendarDate` with the given field adjusted by a specified amount.
43
- * When the resulting value reaches the limits of the field, it wraps around.
44
- */
45
- cycle(t, e, i) {
46
- return p(this, t, e, i);
47
- }
48
- /** Converts the date to a native JavaScript Date object, with the time set to midnight in the given time zone. */
49
- toDate(t) {
50
- return v(this, t);
51
- }
52
- /** Converts the date to an ISO 8601 formatted string. */
53
- toString() {
54
- return _(this);
55
- }
56
- /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
57
- compare(t) {
58
- return x(this, t);
59
- }
60
- constructor(...t) {
61
- d(this, B, {
62
- writable: !0,
63
- value: void 0
64
- });
65
- let [e, i, s, h, r] = f(t);
66
- this.calendar = e, this.era = i, this.year = s, this.month = h, this.day = r, $(this);
3
+ /** Formats a date as a string according to the locale and format options passed to the constructor. */
4
+ format(e) {
5
+ return this.formatter.format(e);
6
+ }
7
+ /** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */
8
+ formatToParts(e) {
9
+ return this.formatter.formatToParts(e);
10
+ }
11
+ /** Formats a date range as a string. */
12
+ formatRange(e, r) {
13
+ if (typeof this.formatter.formatRange == "function")
14
+ return this.formatter.formatRange(e, r);
15
+ if (r < e) throw new RangeError("End date must be >= start date");
16
+ return `${this.formatter.format(e)} – ${this.formatter.format(r)}`;
17
+ }
18
+ /** Formats a date range as an array of parts. */
19
+ formatRangeToParts(e, r) {
20
+ if (typeof this.formatter.formatRangeToParts == "function")
21
+ return this.formatter.formatRangeToParts(e, r);
22
+ if (r < e) throw new RangeError("End date must be >= start date");
23
+ let u = this.formatter.formatToParts(e), t = this.formatter.formatToParts(r);
24
+ return [
25
+ ...u.map((a) => ({
26
+ ...a,
27
+ source: "startRange"
28
+ })),
29
+ {
30
+ type: "literal",
31
+ value: " – ",
32
+ source: "shared"
33
+ },
34
+ ...t.map((a) => ({
35
+ ...a,
36
+ source: "endRange"
37
+ }))
38
+ ];
39
+ }
40
+ /** Returns the resolved formatting options based on the values passed to the constructor. */
41
+ resolvedOptions() {
42
+ let e = this.formatter.resolvedOptions();
43
+ return m() && (this.resolvedHourCycle || (this.resolvedHourCycle = d(e.locale, this.options)), e.hourCycle = this.resolvedHourCycle, e.hour12 = this.resolvedHourCycle === "h11" || this.resolvedHourCycle === "h12"), e.calendar === "ethiopic-amete-alem" && (e.calendar = "ethioaa"), e;
44
+ }
45
+ constructor(e, r = {}) {
46
+ this.formatter = h(e, r), this.options = r;
67
47
  }
68
48
  }
69
- var F = /* @__PURE__ */ new WeakMap();
70
- class w {
71
- /** Returns a copy of this time. */
72
- copy() {
73
- return new w(this.hour, this.minute, this.second, this.millisecond);
74
- }
75
- /** Returns a new `Time` with the given duration added to it. */
76
- add(t) {
77
- return Z(this, t);
78
- }
79
- /** Returns a new `Time` with the given duration subtracted from it. */
80
- subtract(t) {
81
- return k(this, t);
82
- }
83
- /** Returns a new `Time` with the given fields set to the provided values. Other fields will be constrained accordingly. */
84
- set(t) {
85
- return y(this, t);
86
- }
87
- /**
88
- * Returns a new `Time` with the given field adjusted by a specified amount.
89
- * When the resulting value reaches the limits of the field, it wraps around.
90
- */
91
- cycle(t, e, i) {
92
- return b(this, t, e, i);
93
- }
94
- /** Converts the time to an ISO 8601 formatted string. */
95
- toString() {
96
- return g(this);
97
- }
98
- /** Compares this time with another. A negative result indicates that this time is before the given one, and a positive time indicates that it is after. */
99
- compare(t) {
100
- return T(this, t);
101
- }
102
- constructor(t = 0, e = 0, i = 0, s = 0) {
103
- d(this, F, {
104
- writable: !0,
105
- value: void 0
106
- }), this.hour = t, this.minute = e, this.second = i, this.millisecond = s, C(this);
107
- }
49
+ const l = {
50
+ true: {
51
+ // Only Japanese uses the h11 style for 12 hour time. All others use h12.
52
+ ja: "h11"
53
+ },
54
+ false: {}
55
+ };
56
+ function h(o, e = {}) {
57
+ if (typeof e.hour12 == "boolean" && i()) {
58
+ e = {
59
+ ...e
60
+ };
61
+ let t = l[String(e.hour12)][o.split("-")[0]], a = e.hour12 ? "h12" : "h23";
62
+ e.hourCycle = t ?? a, delete e.hour12;
63
+ }
64
+ let r = o + (e ? Object.entries(e).sort((t, a) => t[0] < a[0] ? -1 : 1).join() : "");
65
+ if (n.has(r)) return n.get(r);
66
+ let u = new Intl.DateTimeFormat(o, e);
67
+ return n.set(r, u), u;
108
68
  }
109
- var H = /* @__PURE__ */ new WeakMap();
110
- class n {
111
- /** Returns a copy of this date. */
112
- copy() {
113
- return this.era ? new n(this.calendar, this.era, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond) : new n(this.calendar, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);
114
- }
115
- /** Returns a new `CalendarDateTime` with the given duration added to it. */
116
- add(t) {
117
- return u(this, t);
118
- }
119
- /** Returns a new `CalendarDateTime` with the given duration subtracted from it. */
120
- subtract(t) {
121
- return l(this, t);
122
- }
123
- /** Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
124
- set(t) {
125
- return m(y(this, t), t);
126
- }
127
- /**
128
- * Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.
129
- * When the resulting value reaches the limits of the field, it wraps around.
130
- */
131
- cycle(t, e, i) {
132
- switch (t) {
133
- case "era":
134
- case "year":
135
- case "month":
136
- case "day":
137
- return p(this, t, e, i);
138
- default:
139
- return b(this, t, e, i);
140
- }
141
- }
142
- /** Converts the date to a native JavaScript Date object in the given time zone. */
143
- toDate(t, e) {
144
- return v(this, t, e);
145
- }
146
- /** Converts the date to an ISO 8601 formatted string. */
147
- toString() {
148
- return j(this);
149
- }
150
- /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
151
- compare(t) {
152
- let e = x(this, t);
153
- return e === 0 ? T(this, I(t)) : e;
154
- }
155
- constructor(...t) {
156
- d(this, H, {
157
- writable: !0,
158
- value: void 0
159
- });
160
- let [e, i, s, h, r] = f(t);
161
- this.calendar = e, this.era = i, this.year = s, this.month = h, this.day = r, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, $(this);
162
- }
69
+ let f = null;
70
+ function i() {
71
+ return f == null && (f = new Intl.DateTimeFormat("en-US", {
72
+ hour: "numeric",
73
+ hour12: !1
74
+ }).format(new Date(2020, 2, 3, 0)) === "24"), f;
163
75
  }
164
- var J = /* @__PURE__ */ new WeakMap();
165
- class o {
166
- /** Returns a copy of this date. */
167
- copy() {
168
- return this.era ? new o(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond) : new o(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);
169
- }
170
- /** Returns a new `ZonedDateTime` with the given duration added to it. */
171
- add(t) {
172
- return M(this, t);
173
- }
174
- /** Returns a new `ZonedDateTime` with the given duration subtracted from it. */
175
- subtract(t) {
176
- return W(this, t);
177
- }
178
- /** Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
179
- set(t, e) {
180
- return z(this, t, e);
181
- }
182
- /**
183
- * Returns a new `ZonedDateTime` with the given field adjusted by a specified amount.
184
- * When the resulting value reaches the limits of the field, it wraps around.
185
- */
186
- cycle(t, e, i) {
187
- return A(this, t, e, i);
188
- }
189
- /** Converts the date to a native JavaScript Date object. */
190
- toDate() {
191
- return O(this);
192
- }
193
- /** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */
194
- toString() {
195
- return E(this);
196
- }
197
- /** Converts the date to an ISO 8601 formatted string in UTC. */
198
- toAbsoluteString() {
199
- return this.toDate().toISOString();
200
- }
201
- /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
202
- compare(t) {
203
- return this.toDate().getTime() - q(t, this.timeZone).toDate().getTime();
204
- }
205
- constructor(...t) {
206
- d(this, J, {
207
- writable: !0,
208
- value: void 0
209
- });
210
- let [e, i, s, h, r] = f(t), D = t.shift(), S = t.shift();
211
- this.calendar = e, this.era = i, this.year = s, this.month = h, this.day = r, this.timeZone = D, this.offset = S, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, $(this);
212
- }
76
+ let s = null;
77
+ function m() {
78
+ return s == null && (s = new Intl.DateTimeFormat("fr", {
79
+ hour: "numeric",
80
+ hour12: !1
81
+ }).resolvedOptions().hourCycle === "h12"), s;
82
+ }
83
+ function d(o, e) {
84
+ if (!e.timeStyle && !e.hour) return;
85
+ o = o.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, ""), o += (o.includes("-u-") ? "" : "-u") + "-nu-latn";
86
+ let r = h(o, {
87
+ ...e,
88
+ timeZone: void 0
89
+ // use local timezone
90
+ }), u = parseInt(r.formatToParts(new Date(2020, 2, 3, 0)).find((a) => a.type === "hour").value, 10), t = parseInt(r.formatToParts(new Date(2020, 2, 3, 23)).find((a) => a.type === "hour").value, 10);
91
+ if (u === 0 && t === 23) return "h23";
92
+ if (u === 24 && t === 23) return "h24";
93
+ if (u === 0 && t === 11) return "h11";
94
+ if (u === 12 && t === 11) return "h12";
95
+ throw new Error("Unexpected hour cycle result");
213
96
  }
214
97
  export {
215
- c as CalendarDate,
216
- n as CalendarDateTime,
217
- w as Time,
218
- o as ZonedDateTime
98
+ c as DateFormatter
219
99
  };
package/index2.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const x=require("react"),h=require("./index63.js"),g=require("./index81.js"),k=require("./index82.js"),i=require("./index83.js"),c=require("./index84.js"),n=require("./index85.js"),m=require("./index86.js"),o=require("./index87.js"),d=require("./index88.js"),t=require("./index89.js"),b=require("./index90.js"),f=require("./index91.js"),s=require("./index92.js"),u=require("./index93.js"),p=require("./index94.js"),a=require("./index95.js"),l=require("./index96.js"),q=require("./index97.js"),r=require("./index98.js"),w=require("./index80.js"),C=w.makeTheme({main:e=>i.main(e),gridItem:e=>i.gridItem(e),grid:e=>i.grid(e),container:e=>i.container(e),accordion:g.accordionTheme,carousel:m,calendar:{container:e=>n.calendarContainer(e),header:e=>n.calendarHeaderContainer(e),navigationButtonsContainer:e=>n.calendarNavigationButtonsContainer(e),navigationButtons:e=>n.calendarNavigationButtons(e),table:e=>n.calendarTable(e),dayLabel:e=>n.calendarDayLabel(e),cellContainer:e=>n.calendarCellContainer(e),cell:e=>n.calendarCell(e),cellDate:e=>n.calendarCellFormattedDate(e)},datePicker:{container:e=>t.datePickerContainer(e),button:e=>t.datePickerButton(e),wrapper:e=>t.datePickerWrapper(e),icon:e=>t.datePickerIcon(e),dateField:e=>t.datePickerDateField(e),dateSegment:e=>t.datePickerDateSegment(e),label:e=>t.datePickerLabel(e),calendarPopover:e=>t.datePickerCalendarPopoverContainer(e),calendarUnderlay:e=>t.datePickerCalendarPopoverUnderlay(e)},popover:{button:e=>c(e),popover:()=>"border-2 text-black p-4 bg-gray-300"},typography:e=>r(e),button:e=>c(e),sidePanel:{wrapper:e=>l.sidePanelWrapper(e),container:e=>l.sidePanelContainer(e),innerContainer:e=>l.sidePanelInnerContainer(e)},lightBox:f,shareButton:{icon:e=>a.shareButtonIcon(e),button:e=>a.shareButton(e),container:e=>a.shareButtonContainer(e),linksList:e=>a.shareButtonLinksList(e),link:e=>a.shareButtonLink(e),linkIcons:e=>a.shareButtonLinkIcons(e)},checkbox:{container:e=>o.checkboxContainer(e),label:e=>o.checkboxLabel(e),checkBox:e=>o.checkBox(e),checkMark:e=>o.checkMark(e),checkMarkIcon:e=>o.checkMarkIcon(e),errorMessage:e=>r(e)},radio:{label:e=>s.radioLabel(e),radio:e=>s.radio(e),selectedMark:e=>s.selectedMark(e),errorMessage:e=>r(e)},radioGroup:{radioGroup:e=>u.radioGroup(e),radioGroupItemsGroup:e=>u.radioGroupItemsGroup(e),errorMessage:e=>r(e)},checkboxGroup:{checkboxGroup:e=>d.checkboxGroup(e),checkboxGroupItemsGroup:e=>d.checkboxGroupItemsGroup(e),errormessage:e=>r(e)},select:{button:e=>c(e),ul:e=>r({...e,className:"outline outline-2 outline-white outline-offset-2 p-2 my-4 rounded-md w-full flex flex-col gap-6"}),popover:e=>c({...e,className:"w-[var(--select-container-width)]"}),errorMessage:e=>r({...e,size:"footnotes",isError:!0}),wrapper:()=>"flex flex-col gap-4 relative",container:()=>"flex flex-col gap-4",li:()=>"transition w-full hover:text-gray-300 focus-ring-white"},textarea:{wrapper:()=>"flex flex-col",container:()=>"flex items-center gap-4",label:()=>"text-gray-3 px-6",input:e=>q.textArea(e),errorMessage:e=>r({...e,size:"footnotes",isError:!0})},search:{wrapper:()=>"min-w-fit sm:w-80 flex flex-col gap-2",container:()=>"relative flex items-center outline outline-2 outline-gray-300 focus-within:outline focus-within:outline-black focus-within:outline-2",label:()=>"text-gray-3",input:e=>p.searchInput(e),icon:e=>p.searchIcon(e),errorMessage:e=>r({...e,size:"footnotes",isError:!0})},textInput:{wrapper:()=>"group flex flex-col rounded-md px-4 py-1 mb-3 m-0.5 border-2 aria-disabled:pointer-events-none aria-disabled:opacity-30 focus-ring-black",label:()=>'group-has-[:required]:after:content-["_*"] group-has-[:required]:after:text-red-500 text-xs',container:()=>"flex items-center gap-4",input:()=>"",errorMessage:e=>r({...e,className:"ml-0",size:"footnotes",isError:!0})},menu:{sidePanel:{wrapper:()=>"",container:()=>"",innerContainer:()=>""},wrapper:()=>""},menuItem:{wrapper:()=>"",container:()=>"",innerContent:()=>"",button:()=>"",anchor:()=>""},img:b.imgTheme,alerts:k}),P=x.memo(h.createThemeProvider(C));module.exports=P;
2
+ "use strict";const x=require("react"),h=require("./index63.js"),g=require("./index81.js"),k=require("./index82.js"),c=require("./index83.js"),o=require("./index84.js"),n=require("./index85.js"),m=require("./index86.js"),i=require("./index87.js"),d=require("./index88.js"),t=require("./index89.js"),b=require("./index90.js"),f=require("./index91.js"),l=require("./index92.js"),u=require("./index93.js"),p=require("./index94.js"),a=require("./index95.js"),s=require("./index96.js"),q=require("./index97.js"),r=require("./index98.js"),w=require("./index80.js"),C=w.makeTheme({main:e=>c.main(e),gridItem:e=>c.gridItem(e),grid:e=>c.grid(e),container:e=>c.container(e),accordion:g.accordionTheme,carousel:m,calendar:{container:e=>n.calendarContainer(e),header:e=>n.calendarHeaderContainer(e),navigationButtonsContainer:e=>n.calendarNavigationButtonsContainer(e),navigationButtons:e=>n.calendarNavigationButtons(e),table:e=>n.calendarTable(e),dayLabel:e=>n.calendarDayLabel(e),cellContainer:e=>n.calendarCellContainer(e),cell:e=>n.calendarCell(e),cellDate:e=>n.calendarCellFormattedDate(e)},datePicker:{container:e=>t.datePickerContainer(e),button:e=>t.datePickerButton(e),wrapper:e=>t.datePickerWrapper(e),icon:e=>t.datePickerIcon(e),dateField:e=>t.datePickerDateField(e),dateSegment:e=>t.datePickerDateSegment(e),label:e=>t.datePickerLabel(e),calendarPopover:e=>t.datePickerCalendarPopoverContainer(e),calendarUnderlay:e=>t.datePickerCalendarPopoverUnderlay(e)},popover:{button:e=>o(e),popover:()=>"border-2 text-black p-4 bg-gray-300"},typography:e=>r(e),button:e=>o(e),link:o,sidePanel:{wrapper:e=>s.sidePanelWrapper(e),container:e=>s.sidePanelContainer(e),innerContainer:e=>s.sidePanelInnerContainer(e)},lightBox:f,shareButton:{icon:e=>a.shareButtonIcon(e),button:e=>a.shareButton(e),container:e=>a.shareButtonContainer(e),linksList:e=>a.shareButtonLinksList(e),link:e=>a.shareButtonLink(e),linkIcons:e=>a.shareButtonLinkIcons(e)},checkbox:{container:e=>i.checkboxContainer(e),label:e=>i.checkboxLabel(e),checkBox:e=>i.checkBox(e),checkMark:e=>i.checkMark(e),checkMarkIcon:e=>i.checkMarkIcon(e),errorMessage:e=>r(e)},radio:{label:e=>l.radioLabel(e),radio:e=>l.radio(e),selectedMark:e=>l.selectedMark(e),errorMessage:e=>r(e)},radioGroup:{radioGroup:e=>u.radioGroup(e),radioGroupItemsGroup:e=>u.radioGroupItemsGroup(e),errorMessage:e=>r(e)},checkboxGroup:{checkboxGroup:e=>d.checkboxGroup(e),checkboxGroupItemsGroup:e=>d.checkboxGroupItemsGroup(e),errormessage:e=>r(e)},select:{button:e=>o(e),ul:e=>r({...e,className:"outline outline-2 outline-white outline-offset-2 p-2 my-4 rounded-md w-full flex flex-col gap-6"}),popover:e=>o({...e,className:"w-[var(--select-container-width)]"}),errorMessage:e=>r({...e,size:"footnotes",isError:!0}),wrapper:()=>"flex flex-col gap-4 relative",container:()=>"flex flex-col gap-4",list:()=>"flex flex-col gap-4",li:()=>"transition w-full hover:text-gray-300 focus-ring-white",headerText:()=>"text-gray-300",section:()=>"flex flex-col gap-4"},textarea:{wrapper:()=>"flex flex-col",container:()=>"flex items-center gap-4",label:()=>"text-gray-3 px-6",input:e=>q.textArea(e),errorMessage:e=>r({...e,size:"footnotes",isError:!0})},search:{wrapper:()=>"min-w-fit sm:w-80 flex flex-col gap-2",container:()=>"relative flex items-center outline outline-2 outline-gray-300 focus-within:outline focus-within:outline-black focus-within:outline-2",label:()=>"text-gray-3",input:e=>p.searchInput(e),icon:e=>p.searchIcon(e),errorMessage:e=>r({...e,size:"footnotes",isError:!0})},textInput:{wrapper:()=>"group flex flex-col rounded-md px-4 py-1 mb-3 m-0.5 border-2 aria-disabled:pointer-events-none aria-disabled:opacity-30 focus-ring-black",label:()=>'group-has-[:required]:after:content-["_*"] group-has-[:required]:after:text-red-500 text-xs',container:()=>"flex items-center gap-4",input:()=>"",errorMessage:e=>r({...e,className:"ml-0",size:"footnotes",isError:!0})},menu:{sidePanel:{wrapper:()=>"",container:()=>"",innerContainer:()=>""},wrapper:()=>""},menuItem:{wrapper:()=>"",container:()=>"",innerContent:()=>"",button:()=>"",anchor:()=>""},img:b.imgTheme,alerts:k}),P=x.memo(h.createThemeProvider(C));module.exports=P;
package/index2.mjs CHANGED
@@ -3,11 +3,11 @@ import t from "react";
3
3
  import { createThemeProvider as a } from "./index63.mjs";
4
4
  import { accordionTheme as n } from "./index81.mjs";
5
5
  import i from "./index82.mjs";
6
- import { main as c, gridItem as l, grid as p, container as s } from "./index83.mjs";
6
+ import { main as l, gridItem as c, grid as p, container as s } from "./index83.mjs";
7
7
  import o from "./index84.mjs";
8
- import { calendarContainer as m, calendarHeaderContainer as d, calendarNavigationButtonsContainer as u, calendarNavigationButtons as f, calendarTable as h, calendarDayLabel as g, calendarCellContainer as x, calendarCell as k, calendarCellFormattedDate as b } from "./index85.mjs";
8
+ import { calendarContainer as m, calendarHeaderContainer as d, calendarNavigationButtonsContainer as u, calendarNavigationButtons as f, calendarTable as h, calendarDayLabel as x, calendarCellContainer as g, calendarCell as k, calendarCellFormattedDate as b } from "./index85.mjs";
9
9
  import w from "./index86.mjs";
10
- import { checkboxContainer as C, checkboxLabel as P, checkBox as I, checkMark as v, checkMarkIcon as y } from "./index87.mjs";
10
+ import { checkboxContainer as C, checkboxLabel as P, checkBox as y, checkMark as I, checkMarkIcon as v } from "./index87.mjs";
11
11
  import { checkboxGroup as B, checkboxGroupItemsGroup as G } from "./index88.mjs";
12
12
  import { datePickerContainer as M, datePickerButton as L, datePickerWrapper as T, datePickerIcon as D, datePickerDateField as N, datePickerDateSegment as z, datePickerLabel as E, datePickerCalendarPopoverContainer as F, datePickerCalendarPopoverUnderlay as _ } from "./index89.mjs";
13
13
  import { imgTheme as q } from "./index90.mjs";
@@ -21,8 +21,8 @@ import { textArea as re } from "./index97.mjs";
21
21
  import r from "./index98.mjs";
22
22
  import { makeTheme as oe } from "./index80.mjs";
23
23
  const te = oe({
24
- main: (e) => c(e),
25
- gridItem: (e) => l(e),
24
+ main: (e) => l(e),
25
+ gridItem: (e) => c(e),
26
26
  grid: (e) => p(e),
27
27
  container: (e) => s(e),
28
28
  accordion: n,
@@ -33,8 +33,8 @@ const te = oe({
33
33
  navigationButtonsContainer: (e) => u(e),
34
34
  navigationButtons: (e) => f(e),
35
35
  table: (e) => h(e),
36
- dayLabel: (e) => g(e),
37
- cellContainer: (e) => x(e),
36
+ dayLabel: (e) => x(e),
37
+ cellContainer: (e) => g(e),
38
38
  cell: (e) => k(e),
39
39
  cellDate: (e) => b(e)
40
40
  },
@@ -55,6 +55,7 @@ const te = oe({
55
55
  },
56
56
  typography: (e) => r(e),
57
57
  button: (e) => o(e),
58
+ link: o,
58
59
  sidePanel: {
59
60
  wrapper: (e) => Z(e),
60
61
  container: (e) => $(e),
@@ -72,9 +73,9 @@ const te = oe({
72
73
  checkbox: {
73
74
  container: (e) => C(e),
74
75
  label: (e) => P(e),
75
- checkBox: (e) => I(e),
76
- checkMark: (e) => v(e),
77
- checkMarkIcon: (e) => y(e),
76
+ checkBox: (e) => y(e),
77
+ checkMark: (e) => I(e),
78
+ checkMarkIcon: (e) => v(e),
78
79
  errorMessage: (e) => r(e)
79
80
  },
80
81
  radio: {
@@ -103,7 +104,10 @@ const te = oe({
103
104
  errorMessage: (e) => r({ ...e, size: "footnotes", isError: !0 }),
104
105
  wrapper: () => "flex flex-col gap-4 relative",
105
106
  container: () => "flex flex-col gap-4",
106
- li: () => "transition w-full hover:text-gray-300 focus-ring-white"
107
+ list: () => "flex flex-col gap-4",
108
+ li: () => "transition w-full hover:text-gray-300 focus-ring-white",
109
+ headerText: () => "text-gray-300",
110
+ section: () => "flex flex-col gap-4"
107
111
  },
108
112
  textarea: {
109
113
  wrapper: () => "flex flex-col",
@@ -144,7 +148,7 @@ const te = oe({
144
148
  },
145
149
  img: q,
146
150
  alerts: i
147
- }), ye = t.memo(a(te));
151
+ }), ve = t.memo(a(te));
148
152
  export {
149
- ye as default
153
+ ve as default
150
154
  };
package/index200.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index380.js"),V=new RegExp("^.*\\(.*\\).*$"),j=["latn","arab","hanidec","deva","beng"];class N{parse(i){return g(this.locale,this.options,i).parse(i)}isValidPartialNumber(i,e,t){return g(this.locale,this.options,i).isValidPartialNumber(i,e,t)}getNumberingSystem(i){return g(this.locale,this.options,i).options.numberingSystem}constructor(i,e={}){this.locale=i,this.options=e}}const y=new Map;function g(r,i,e){let t=$(r,i);if(!r.includes("-nu-")&&!t.isValidPartialNumber(e)){for(let n of j)if(n!==t.options.numberingSystem){let l=$(r+(r.includes("-u-")?"-nu-":"-u-nu-")+n,i);if(l.isValidPartialNumber(e))return l}}return t}function $(r,i){let e=r+(i?Object.entries(i).sort((n,l)=>n[0]<l[0]?-1:1).join():""),t=y.get(e);return t||(t=new T(r,i),y.set(e,t)),t}class T{parse(i){let e=this.sanitize(i);if(this.symbols.group&&(e=u(e,this.symbols.group,"")),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(e=e.replace(this.symbols.minusSign,"-")),e=e.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let o=e.indexOf("-");e=e.replace("-","");let a=e.indexOf(".");a===-1&&(a=e.length),e=e.replace(".",""),a-2===0?e=`0.${e}`:a-2===-1?e=`0.0${e}`:a-2===-2?e="0.00":e=`${e.slice(0,a-2)}.${e.slice(a-2)}`,o>-1&&(e=`-${e}`)}let t=e?+e:NaN;if(isNaN(t))return NaN;if(this.options.style==="percent"){var n,l;let o={...this.options,style:"decimal",minimumFractionDigits:Math.min(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)+2,20),maximumFractionDigits:Math.min(((l=this.options.maximumFractionDigits)!==null&&l!==void 0?l:0)+2,20)};return new N(this.locale,o).parse(new C.NumberFormatter(this.locale,o).format(t))}return this.options.currencySign==="accounting"&&V.test(i)&&(t=-1*t),t}sanitize(i){return i=i.replace(this.symbols.literals,""),this.symbols.minusSign&&(i=i.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(i=i.replace(",",this.symbols.decimal),i=i.replace("،",this.symbols.decimal)),this.symbols.group&&(i=u(i,".",this.symbols.group))),this.options.locale==="fr-FR"&&(i=u(i,"."," ")),i}isValidPartialNumber(i,e=-1/0,t=1/0){return i=this.sanitize(i),this.symbols.minusSign&&i.startsWith(this.symbols.minusSign)&&e<0?i=i.slice(this.symbols.minusSign.length):this.symbols.plusSign&&i.startsWith(this.symbols.plusSign)&&t>0&&(i=i.slice(this.symbols.plusSign.length)),this.symbols.group&&i.startsWith(this.symbols.group)||this.symbols.decimal&&i.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(i=u(i,this.symbols.group,"")),i=i.replace(this.symbols.numeral,""),this.symbols.decimal&&(i=i.replace(this.symbols.decimal,"")),i.length===0)}constructor(i,e={}){this.locale=i,this.formatter=new Intl.NumberFormat(i,e),this.options=this.formatter.resolvedOptions(),this.symbols=W(i,this.formatter,this.options,e);var t,n;this.options.style==="percent"&&(((t=this.options.minimumFractionDigits)!==null&&t!==void 0?t:0)>18||((n=this.options.maximumFractionDigits)!==null&&n!==void 0?n:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const S=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),A=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function W(r,i,e,t){var n,l,o,a;let c=new Intl.NumberFormat(r,{...e,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),d=c.formatToParts(-10000.111),x=c.formatToParts(10000.111),w=A.map(s=>c.formatToParts(s));var p;let F=(p=(n=d.find(s=>s.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&p!==void 0?p:"-",h=(l=x.find(s=>s.type==="plusSign"))===null||l===void 0?void 0:l.value;!h&&((t==null?void 0:t.signDisplay)==="exceptZero"||(t==null?void 0:t.signDisplay)==="always")&&(h="+");let v=(o=new Intl.NumberFormat(r,{...e,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(s=>s.type==="decimal"))===null||o===void 0?void 0:o.value,D=(a=d.find(s=>s.type==="group"))===null||a===void 0?void 0:a.value,I=d.filter(s=>!S.has(s.type)).map(s=>P(s.value)),E=w.flatMap(s=>s.filter(m=>!S.has(m.type)).map(m=>P(m.value))),b=[...new Set([...I,...E])].sort((s,m)=>m.length-s.length),R=b.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${b.join("|")}|[\\p{White_Space}]`,"gu"),f=[...new Intl.NumberFormat(e.locale,{useGrouping:!1}).format(9876543210)].reverse(),_=new Map(f.map((s,m)=>[s,m])),M=new RegExp(`[${f.join("")}]`,"g");return{minusSign:F,plusSign:h,decimal:v,group:D,literals:R,numeral:M,index:s=>String(_.get(s))}}function u(r,i,e){return r.replaceAll?r.replaceAll(i,e):r.split(i).join(e)}function P(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}exports.NumberParser=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),c=require("./index189.js");function r(t){let[n,e]=c.useControlledState(t.isOpen,t.defaultOpen||!1,t.onOpenChange);const o=l.useCallback(()=>{e(!0)},[e]),s=l.useCallback(()=>{e(!1)},[e]),a=l.useCallback(()=>{e(!n)},[e,n]);return{isOpen:n,setOpen:e,open:o,close:s,toggle:a}}exports.useOverlayTriggerState=r;
package/index200.mjs CHANGED
@@ -1,156 +1,29 @@
1
- import { NumberFormatter as C } from "./index380.mjs";
2
- const M = new RegExp("^.*\\(.*\\).*$"), V = [
3
- "latn",
4
- "arab",
5
- "hanidec",
6
- "deva",
7
- "beng"
8
- ];
9
- class j {
10
- /**
11
- * Parses the given string to a number. Returns NaN if a valid number could not be parsed.
12
- */
13
- parse(i) {
14
- return f(this.locale, this.options, i).parse(i);
15
- }
16
- /**
17
- * Returns whether the given string could potentially be a valid number. This should be used to
18
- * validate user input as the user types. If a `minValue` or `maxValue` is provided, the validity
19
- * of the minus/plus sign characters can be checked.
20
- */
21
- isValidPartialNumber(i, e, t) {
22
- return f(this.locale, this.options, i).isValidPartialNumber(i, e, t);
23
- }
24
- /**
25
- * Returns a numbering system for which the given string is valid in the current locale.
26
- * If no numbering system could be detected, the default numbering system for the current
27
- * locale is returned.
28
- */
29
- getNumberingSystem(i) {
30
- return f(this.locale, this.options, i).options.numberingSystem;
31
- }
32
- constructor(i, e = {}) {
33
- this.locale = i, this.options = e;
34
- }
35
- }
36
- const y = /* @__PURE__ */ new Map();
37
- function f(r, i, e) {
38
- let t = $(r, i);
39
- if (!r.includes("-nu-") && !t.isValidPartialNumber(e)) {
40
- for (let n of V) if (n !== t.options.numberingSystem) {
41
- let l = $(r + (r.includes("-u-") ? "-nu-" : "-u-nu-") + n, i);
42
- if (l.isValidPartialNumber(e)) return l;
43
- }
44
- }
45
- return t;
46
- }
47
- function $(r, i) {
48
- let e = r + (i ? Object.entries(i).sort((n, l) => n[0] < l[0] ? -1 : 1).join() : ""), t = y.get(e);
49
- return t || (t = new A(r, i), y.set(e, t)), t;
50
- }
51
- class A {
52
- parse(i) {
53
- let e = this.sanitize(i);
54
- if (this.symbols.group && (e = c(e, this.symbols.group, "")), this.symbols.decimal && (e = e.replace(this.symbols.decimal, ".")), this.symbols.minusSign && (e = e.replace(this.symbols.minusSign, "-")), e = e.replace(this.symbols.numeral, this.symbols.index), this.options.style === "percent") {
55
- let o = e.indexOf("-");
56
- e = e.replace("-", "");
57
- let a = e.indexOf(".");
58
- a === -1 && (a = e.length), e = e.replace(".", ""), a - 2 === 0 ? e = `0.${e}` : a - 2 === -1 ? e = `0.0${e}` : a - 2 === -2 ? e = "0.00" : e = `${e.slice(0, a - 2)}.${e.slice(a - 2)}`, o > -1 && (e = `-${e}`);
59
- }
60
- let t = e ? +e : NaN;
61
- if (isNaN(t)) return NaN;
62
- if (this.options.style === "percent") {
63
- var n, l;
64
- let o = {
65
- ...this.options,
66
- style: "decimal",
67
- minimumFractionDigits: Math.min(((n = this.options.minimumFractionDigits) !== null && n !== void 0 ? n : 0) + 2, 20),
68
- maximumFractionDigits: Math.min(((l = this.options.maximumFractionDigits) !== null && l !== void 0 ? l : 0) + 2, 20)
69
- };
70
- return new j(this.locale, o).parse(new C(this.locale, o).format(t));
71
- }
72
- return this.options.currencySign === "accounting" && M.test(i) && (t = -1 * t), t;
73
- }
74
- sanitize(i) {
75
- return i = i.replace(this.symbols.literals, ""), this.symbols.minusSign && (i = i.replace("-", this.symbols.minusSign)), this.options.numberingSystem === "arab" && (this.symbols.decimal && (i = i.replace(",", this.symbols.decimal), i = i.replace("،", this.symbols.decimal)), this.symbols.group && (i = c(i, ".", this.symbols.group))), this.options.locale === "fr-FR" && (i = c(i, ".", " ")), i;
76
- }
77
- isValidPartialNumber(i, e = -1 / 0, t = 1 / 0) {
78
- return i = this.sanitize(i), this.symbols.minusSign && i.startsWith(this.symbols.minusSign) && e < 0 ? i = i.slice(this.symbols.minusSign.length) : this.symbols.plusSign && i.startsWith(this.symbols.plusSign) && t > 0 && (i = i.slice(this.symbols.plusSign.length)), this.symbols.group && i.startsWith(this.symbols.group) || this.symbols.decimal && i.indexOf(this.symbols.decimal) > -1 && this.options.maximumFractionDigits === 0 ? !1 : (this.symbols.group && (i = c(i, this.symbols.group, "")), i = i.replace(this.symbols.numeral, ""), this.symbols.decimal && (i = i.replace(this.symbols.decimal, "")), i.length === 0);
79
- }
80
- constructor(i, e = {}) {
81
- this.locale = i, this.formatter = new Intl.NumberFormat(i, e), this.options = this.formatter.resolvedOptions(), this.symbols = W(i, this.formatter, this.options, e);
82
- var t, n;
83
- this.options.style === "percent" && (((t = this.options.minimumFractionDigits) !== null && t !== void 0 ? t : 0) > 18 || ((n = this.options.maximumFractionDigits) !== null && n !== void 0 ? n : 0) > 18) && console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.");
84
- }
85
- }
86
- const S = /* @__PURE__ */ new Set([
87
- "decimal",
88
- "fraction",
89
- "integer",
90
- "minusSign",
91
- "plusSign",
92
- "group"
93
- ]), T = [
94
- 0,
95
- 4,
96
- 2,
97
- 1,
98
- 11,
99
- 20,
100
- 3,
101
- 7,
102
- 100,
103
- 21,
104
- 0.1,
105
- 1.1
106
- ];
107
- function W(r, i, e, t) {
108
- var n, l, o, a;
109
- let d = new Intl.NumberFormat(r, {
110
- ...e,
111
- // Resets so we get the full range of symbols
112
- minimumSignificantDigits: 1,
113
- maximumSignificantDigits: 21,
114
- roundingIncrement: 1,
115
- roundingPriority: "auto",
116
- roundingMode: "halfExpand"
117
- }), u = d.formatToParts(-10000.111), N = d.formatToParts(10000.111), x = T.map((s) => d.formatToParts(s));
118
- var p;
119
- let w = (p = (n = u.find((s) => s.type === "minusSign")) === null || n === void 0 ? void 0 : n.value) !== null && p !== void 0 ? p : "-", h = (l = N.find((s) => s.type === "plusSign")) === null || l === void 0 ? void 0 : l.value;
120
- !h && ((t == null ? void 0 : t.signDisplay) === "exceptZero" || (t == null ? void 0 : t.signDisplay) === "always") && (h = "+");
121
- let F = (o = new Intl.NumberFormat(r, {
122
- ...e,
123
- minimumFractionDigits: 2,
124
- maximumFractionDigits: 2
125
- }).formatToParts(1e-3).find((s) => s.type === "decimal")) === null || o === void 0 ? void 0 : o.value, v = (a = u.find((s) => s.type === "group")) === null || a === void 0 ? void 0 : a.value, D = u.filter((s) => !S.has(s.type)).map((s) => P(s.value)), I = x.flatMap((s) => s.filter((m) => !S.has(m.type)).map((m) => P(m.value))), g = [
126
- .../* @__PURE__ */ new Set([
127
- ...D,
128
- ...I
129
- ])
130
- ].sort((s, m) => m.length - s.length), E = g.length === 0 ? new RegExp("[\\p{White_Space}]", "gu") : new RegExp(`${g.join("|")}|[\\p{White_Space}]`, "gu"), b = [
131
- ...new Intl.NumberFormat(e.locale, {
132
- useGrouping: !1
133
- }).format(9876543210)
134
- ].reverse(), R = new Map(b.map((s, m) => [
135
- s,
136
- m
137
- ])), _ = new RegExp(`[${b.join("")}]`, "g");
1
+ import { useCallback as o } from "react";
2
+ import { useControlledState as l } from "./index189.mjs";
3
+ function p(t) {
4
+ let [n, e] = l(t.isOpen, t.defaultOpen || !1, t.onOpenChange);
5
+ const a = o(() => {
6
+ e(!0);
7
+ }, [
8
+ e
9
+ ]), s = o(() => {
10
+ e(!1);
11
+ }, [
12
+ e
13
+ ]), c = o(() => {
14
+ e(!n);
15
+ }, [
16
+ e,
17
+ n
18
+ ]);
138
19
  return {
139
- minusSign: w,
140
- plusSign: h,
141
- decimal: F,
142
- group: v,
143
- literals: E,
144
- numeral: _,
145
- index: (s) => String(R.get(s))
20
+ isOpen: n,
21
+ setOpen: e,
22
+ open: a,
23
+ close: s,
24
+ toggle: c
146
25
  };
147
26
  }
148
- function c(r, i, e) {
149
- return r.replaceAll ? r.replaceAll(i, e) : r.split(i).join(e);
150
- }
151
- function P(r) {
152
- return r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
153
- }
154
27
  export {
155
- j as NumberParser
28
+ p as useOverlayTriggerState
156
29
  };