@preply/ds-docs 11.0.0 → 11.1.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 (642) hide show
  1. package/.storybook/decorators/withIntlProvider.tsx +1 -1
  2. package/.storybook/main.ts +1 -0
  3. package/.storybook/preview.tsx +5 -0
  4. package/chromatic.config.json +10 -0
  5. package/dist/addon-visual-tests-assets/visual-test-illustration.mp4 +0 -0
  6. package/dist/assets/00.LayoutFlex.stories-pFo1xsBe.js +85 -0
  7. package/dist/assets/00.applications-Cqkdr1wk.js +50 -0
  8. package/dist/assets/00.favicons.guide-B91Vhoka.js +21 -0
  9. package/dist/assets/00.token-explorer-B19aUGGg.js +340 -0
  10. package/dist/assets/00.using-responsive-props-B3Gr_s-n.js +18 -0
  11. package/dist/assets/01.semantic-tokens-ClbORo2f.js +11 -0
  12. package/dist/assets/01.using-shorthand-props-CZYYf4mA.js +39 -0
  13. package/dist/assets/10.Combinations.stories-BktZvBWq.js +128 -0
  14. package/dist/assets/10.fonts.guide-BGeAIZ8f.js +39 -0
  15. package/dist/assets/10.ssr--ERdtJ_Z.js +91 -0
  16. package/dist/assets/11.fonts.explorer-CApH9AGF.js +2 -0
  17. package/dist/assets/11.ssr.app-router-DusJ4Mbq.js +59 -0
  18. package/dist/assets/20.libraries-AkYtGwIz.js +22 -0
  19. package/dist/assets/2025-q4-ds-cleanup-njc6pOZy.js +351 -0
  20. package/dist/assets/30.icons.explorer-D8JDwXl5.js +72 -0
  21. package/dist/assets/30.storybook-C2VMIEWx.js +42 -0
  22. package/dist/assets/40.illustrations.explorer-Dexx0-Yq.js +21 -0
  23. package/dist/assets/60.components-EsXml7S8.js +22 -0
  24. package/dist/assets/90.advanced-CGMa0hIb.js +32 -0
  25. package/dist/assets/Accordion-BGpSQDcU.js +25 -0
  26. package/dist/assets/Accordion-bbEcwV1l.css +1 -0
  27. package/dist/assets/{Accordion.stories-CLwah67K.js → Accordion.stories-DZqm_pl0.js} +7 -7
  28. package/dist/assets/{Accordion.tests.stories-CFH7p1Jq.js → Accordion.tests.stories-CETE9vG5.js} +9 -9
  29. package/dist/assets/AlertBanner.primitives.stories-C1Rk8KVQ.js +14 -0
  30. package/dist/assets/AlertBanner.stories-CJnU52Gn.js +112 -0
  31. package/dist/assets/AlertBannerAction-BSNrnhbi.js +216 -0
  32. package/dist/assets/AlertBannerAction-UAyHHOqS.css +1 -0
  33. package/dist/assets/AlertDialog-Cr1_lUp6.css +1 -0
  34. package/dist/assets/AlertDialog-D1kj7VoM.js +6 -0
  35. package/dist/assets/{AlertDialog.stories-BKT7nitb.js → AlertDialog.stories-CjXjghMW.js} +11 -7
  36. package/dist/assets/Avatar-CZrWRM_5.css +1 -0
  37. package/dist/assets/Avatar-LEDcSb51.js +6 -0
  38. package/dist/assets/Avatar.stories-B6YvTFd5.js +42 -0
  39. package/dist/assets/{AvatarWithStatus-azmN9QBq.css → AvatarWithStatus-DNgVIYbt.css} +1 -1
  40. package/dist/assets/AvatarWithStatus-Dacm-jO_.js +6 -0
  41. package/dist/assets/AvatarWithStatus.stories-D9tFABve.js +36 -0
  42. package/dist/assets/Badge-CXba4Jz8.js +10 -0
  43. package/dist/assets/{Badge-BVnE8GHY.css → Badge-ChvYkJOj.css} +1 -1
  44. package/dist/assets/Badge.stories-6McX8lAA.js +90 -0
  45. package/dist/assets/Box-CJ3Eco8o.js +3 -0
  46. package/dist/assets/Box-CoMoVRxI.css +1 -0
  47. package/dist/assets/Box.stories-D7RLIL2b.js +44 -0
  48. package/dist/assets/BubbleCounter-DwJsPISN.js +5 -0
  49. package/dist/assets/BubbleCounter.stories-CaNBUXy9.js +246 -0
  50. package/dist/assets/Button-DnVrHohm.js +18 -0
  51. package/dist/assets/Button-DsoMn9D3.css +1 -0
  52. package/dist/assets/Button.stories-DB4FO1yP.js +271 -0
  53. package/dist/assets/ButtonBase-DMbDbkQ4.css +1 -0
  54. package/dist/assets/ButtonBase-DV0YtoS6.js +8 -0
  55. package/dist/assets/CalloutBanner-ChlWZtBk.css +1 -0
  56. package/dist/assets/CalloutBanner.stories-DMr5laA1.js +212 -0
  57. package/dist/assets/CalloutBannerText-Lb5ksCJz.css +1 -0
  58. package/dist/assets/CalloutBannerText-pe-2SkHW.js +75 -0
  59. package/dist/assets/Checkbox-B_qY1TUo.css +1 -0
  60. package/dist/assets/Checkbox-DEB6VLYS.js +10 -0
  61. package/dist/assets/{Checkbox.stories-ClI-ZBnj.js → Checkbox.stories-C_Oku35V.js} +6 -6
  62. package/dist/assets/Checkbox.tests.stories-BPHBBZi3.js +68 -0
  63. package/dist/assets/Chips-DK10vypy.css +1 -0
  64. package/dist/assets/Chips.stories-_LC622UQ.js +148 -0
  65. package/dist/assets/Color-6BZIO3FS-Cli2qKZW.js +1 -0
  66. package/dist/assets/{ComposingDialogs.stories-DwVqal9K.js → ComposingDialogs.stories-BSCyTSJL.js} +3 -3
  67. package/dist/assets/ComposingPopovers.stories-cp3PAdHA.js +49 -0
  68. package/dist/assets/CountryFlag-DMEPQuIc.js +49 -0
  69. package/dist/assets/{CountryFlag.stories-hf40f81N.js → CountryFlag.stories-CCfcgg_Y.js} +6 -6
  70. package/dist/assets/CountryFlag.test.stories-BaGoS-6l.js +27 -0
  71. package/dist/assets/Dialog-DCPUOQU4.js +13 -0
  72. package/dist/assets/Dialog.primitives-BPvLcj0z.css +1 -0
  73. package/dist/assets/Dialog.primitives.stories-Vxeh7YZt.js +237 -0
  74. package/dist/assets/Dialog.stories-87tBh-R6.js +267 -0
  75. package/dist/assets/Dialog.test.stories-B4pw7sJ3.js +146 -0
  76. package/dist/assets/DialogActions-BuK-fnKs.js +101 -0
  77. package/dist/assets/DialogCloseButton-Bh5fJ-N5.css +1 -0
  78. package/dist/assets/DialogCloseButton-dPdpMifg.js +149 -0
  79. package/dist/assets/DismissibleChips-Dv66pNAL.js +1 -0
  80. package/dist/assets/DismissibleChips.stories-nMCs_O4R.js +625 -0
  81. package/dist/assets/{Divider-DECo0bYW.css → Divider-BVw27QR_.css} +1 -1
  82. package/dist/assets/Divider-BsdKe9ia.js +1 -0
  83. package/dist/assets/Divider.stories-DMxdOUMT.js +9 -0
  84. package/dist/assets/DocsRenderer-LL677BLK-CToDaeBi.js +2 -0
  85. package/dist/assets/DropdownMenu-BUteP_4e.js +1258 -0
  86. package/dist/assets/DropdownMenu-Dp5QD_2I.css +1 -0
  87. package/dist/assets/DropdownMenu.stories-CPFPB_iw.js +1613 -0
  88. package/dist/assets/FieldButton-B7nd3jTk.css +1 -0
  89. package/dist/assets/FieldButton-lc__KGvz.js +1 -0
  90. package/dist/assets/FieldButton.stories-BweftrEg.js +1 -0
  91. package/dist/assets/FormControl-DX3yRMc2.css +1 -0
  92. package/dist/assets/FormControl-cSvM3XwI.js +7 -0
  93. package/dist/assets/FormControl.stories-guYQ8AuE.js +42 -0
  94. package/dist/assets/Heading-BMcfRMjT.css +1 -0
  95. package/dist/assets/Heading-CEZfMm-F.js +1 -0
  96. package/dist/assets/Heading.stories-CzERNny6.js +67 -0
  97. package/dist/assets/Icon-CfZyHxyH.js +8 -0
  98. package/dist/assets/{Icon-CyGLQNx7.css → Icon-D-_6_kTJ.css} +1 -1
  99. package/dist/assets/Icon-RSC-BpFBpboR.js +6 -0
  100. package/dist/assets/Icon.stories-D27wol8h.js +45 -0
  101. package/dist/assets/IconButton-CUt4Aks_.js +8 -0
  102. package/dist/assets/IconButton-D-myVwPD.css +1 -0
  103. package/dist/assets/IconTile.stories-jvAqK25q.js +88 -0
  104. package/dist/assets/Input-DXnvG-Wl.js +95 -0
  105. package/dist/assets/InputContainer-CKX9LGmw.js +2 -0
  106. package/dist/assets/InputContainer-dj6obgaH.css +1 -0
  107. package/dist/assets/IntegrationWithReactHookForm.stories-CW7Lqen8.js +467 -0
  108. package/dist/assets/{IntlFormattedDateTime.stories-BCwbTrw1.js → IntlFormattedAggregatedDateTime-CsA6eNMt.js} +112 -94
  109. package/dist/assets/{IntlFormattedCurrency.stories-j1D4xFto.js → IntlFormattedCurrency-CAb0INYF.js} +149 -125
  110. package/dist/assets/IntlFormattedCurrency.stories-CDdFf0Ih.js +1 -0
  111. package/dist/assets/IntlFormattedDateTime.stories-UGK_UBla.js +2 -0
  112. package/dist/assets/{constants-DDJ2G0OO.js → IntlFormattedTime-CFUwDROI.js} +853 -761
  113. package/dist/assets/LayoutFlex-Bc-UxKN0.css +1 -0
  114. package/dist/assets/LayoutFlex-DdWp4cl3.js +1 -0
  115. package/dist/assets/LayoutFlexItem-D6I-QYqv.css +1 -0
  116. package/dist/assets/LayoutFlexItem-DE78Bh3c.js +1 -0
  117. package/dist/assets/LayoutGrid-CIFhWu8r.css +1 -0
  118. package/dist/assets/LayoutGrid-qM5_bxVY.js +1 -0
  119. package/dist/assets/LayoutGrid.stories-DnBXjNoY.js +88 -0
  120. package/dist/assets/LayoutGridItem-BDeI61oE.css +1 -0
  121. package/dist/assets/LayoutGridItem-DXWb3V6X.js +1 -0
  122. package/dist/assets/Link-DZ7eineG.css +1 -0
  123. package/dist/assets/Link-J-HUcV5T.js +5 -0
  124. package/dist/assets/{Link.stories-6gHkl5xC.js → Link.stories-Bi7F_Vkw.js} +7 -7
  125. package/dist/assets/Loader-D4VDQ8pj.css +1 -0
  126. package/dist/assets/Loader-D9Ihhamv.js +1 -0
  127. package/dist/assets/Loader.stories-CA2r7ptV.js +37 -0
  128. package/dist/assets/MultiSelectChips-DLTwAQne.js +2 -0
  129. package/dist/assets/MultiSelectChips.stories-BXvs5PAK.js +608 -0
  130. package/dist/assets/NativeSelectField.stories-D0re4a3o.js +295 -0
  131. package/dist/assets/NumberField-BAofx_Ni.js +6 -0
  132. package/dist/assets/NumberField.stories-BhuTuTmY.js +254 -0
  133. package/dist/assets/ObserveIntersection-DPsyMqP-.js +8 -0
  134. package/dist/assets/ObserveIntersection.stories-C5r2quD1.js +27 -0
  135. package/dist/assets/OnboardingTooltip-By90tTWJ.css +1 -0
  136. package/dist/assets/OnboardingTooltip-D8NhfEzc.js +24 -0
  137. package/dist/assets/OnboardingTooltip.stories-D2Y_je7z.js +107 -0
  138. package/dist/assets/OnboardingTooltip.tests.stories-Chu-efpG.js +79 -0
  139. package/dist/assets/OnboardingTour-90hHg-Pp.css +1 -0
  140. package/dist/assets/OnboardingTour-DGI3bTQy.js +4 -0
  141. package/dist/assets/OnboardingTour.stories-Cb1WP0Hu.js +50 -0
  142. package/dist/assets/{OnboardingTour.tests.stories-CHMykq2a.js → OnboardingTour.tests.stories-B05mBGhB.js} +6 -6
  143. package/dist/assets/PasswordField-ByApWpbK.js +6 -0
  144. package/dist/assets/PasswordField.stories-DMtrOVsn.js +229 -0
  145. package/dist/assets/PreplyLogo-D-slBTep.js +3 -0
  146. package/dist/assets/PreplyLogo.stories-uJXJ3dh_.js +93 -0
  147. package/dist/assets/ProgressBar-Tb0nv9N6.js +4 -0
  148. package/dist/assets/ProgressBar-ZiF8cU84.css +1 -0
  149. package/dist/assets/ProgressBar.stories-Bj5ouQO7.js +43 -0
  150. package/dist/assets/ProgressSteps-CKNbDWn0.js +4 -0
  151. package/dist/assets/ProgressSteps-LZubx2ie.css +1 -0
  152. package/dist/assets/ProgressSteps.stories-Dl5cvdWw.js +31 -0
  153. package/dist/assets/PromoDialog-Daxo9KGU.js +3 -0
  154. package/dist/assets/RangeSlider-BshsrfHH.js +4 -0
  155. package/dist/assets/RangeSlider.stories-BnxUgnUq.js +117 -0
  156. package/dist/assets/Rating-7Lokv5qX.js +2 -0
  157. package/dist/assets/Rating.stories-C6vLq72a.js +115 -0
  158. package/dist/assets/RatingInput-B9JvC6a9.js +30 -0
  159. package/dist/assets/RatingInput.stories-CZaxR49A.js +421 -0
  160. package/dist/assets/SelectField-_eSdIkCW.js +19 -0
  161. package/dist/assets/SelectField-jvir0s5w.css +1 -0
  162. package/dist/assets/SelectField.stories-CeBOPAQf.js +517 -0
  163. package/dist/assets/ShowOnIntersection-sdAtBMhN.js +11 -0
  164. package/dist/assets/ShowOnIntersection.stories-Lmr1KetU.js +17 -0
  165. package/dist/assets/SingleSelectChips-BuIHP3oW.js +2 -0
  166. package/dist/assets/{SingleSelectChips.stories-CTAvW0Y9.js → SingleSelectChips.stories-z43WCX3L.js} +22 -22
  167. package/dist/assets/Slider-BJ8Eqvyw.css +1 -0
  168. package/dist/assets/Slider-BjEfhJ_o.js +2 -0
  169. package/dist/assets/Slider.stories-OZrQotEf.js +69 -0
  170. package/dist/assets/Spinner-9IaQuPm2.js +1 -0
  171. package/dist/assets/Spinner-CIgevzeA.css +1 -0
  172. package/dist/assets/Stars-DRmASRCW.css +1 -0
  173. package/dist/assets/Stars-DuQupRe3.js +1 -0
  174. package/dist/assets/Steps-BAxCCGnQ.css +1 -0
  175. package/dist/assets/Steps-Bf2x77zr.js +26 -0
  176. package/dist/assets/{Steps.stories-DqOo6fKy.js → Steps.stories-DFPBr2Yl.js} +13 -11
  177. package/dist/assets/Switch-ClfB15Th.css +1 -0
  178. package/dist/assets/Switch-DPX8X1b7.js +12 -0
  179. package/dist/assets/Switch.stories-EIYyG0Zt.js +151 -0
  180. package/dist/assets/Text-BTI4NIf0.css +1 -0
  181. package/dist/assets/Text-bm2vnOS2.js +1 -0
  182. package/dist/assets/Text.stories-CmIl_fwM.js +67 -0
  183. package/dist/assets/TextField-zS8J7vJP.js +6 -0
  184. package/dist/assets/TextField.stories-BUVrLpus.js +254 -0
  185. package/dist/assets/{TextHighlighted-CzbRMqIZ.css → TextHighlighted-C53ygX_A.css} +1 -1
  186. package/dist/assets/TextHighlighted-DF3lEelY.js +1 -0
  187. package/dist/assets/TextHighlighted.stories-CqDVxX79.js +32 -0
  188. package/dist/assets/{TextInline-CNIzsRbS.css → TextInline-BDaxjuE1.css} +1 -1
  189. package/dist/assets/TextInline-CHB850A5.js +1 -0
  190. package/dist/assets/TextInline.stories-CN5P8M-t.js +50 -0
  191. package/dist/assets/TextareaField-D-D245Qp.js +6 -0
  192. package/dist/assets/TextareaField.stories-zf-ovHbR.js +272 -0
  193. package/dist/assets/Toast-BwHq_wh7.js +3 -0
  194. package/dist/assets/Toast-CeQJ1lVu.css +1 -0
  195. package/dist/assets/Toast.stories-ojcdW7OV.js +183 -0
  196. package/dist/assets/TokyoUIAttach-CJ32NKTG.js +1 -0
  197. package/dist/assets/TokyoUIAvailability7LateNight-DffduFvP.js +1 -0
  198. package/dist/assets/TokyoUICheck-UkrDdu35.js +1 -0
  199. package/dist/assets/TokyoUICheckmark-6GaMBtS8.js +1 -0
  200. package/dist/assets/TokyoUIChevronDown-CS0lTt7n.js +1 -0
  201. package/dist/assets/TokyoUIChevronRight-BtUABx06.js +1 -0
  202. package/dist/assets/TokyoUIClose-cJyNy-kq.js +1 -0
  203. package/dist/assets/TokyoUIEmojiFrowning-DEhH_o6k.js +1 -0
  204. package/dist/assets/TokyoUIErrorWarning-CE_6hT_0.js +1 -0
  205. package/dist/assets/TokyoUIExerciseClosedGapsJumble-CmLQbqx9.js +1 -0
  206. package/dist/assets/TokyoUIEye--Ky-ic4j.js +1 -0
  207. package/dist/assets/TokyoUIFav-D3EBPocg.js +1 -0
  208. package/dist/assets/TokyoUIInfo-B-CriP10.js +1 -0
  209. package/dist/assets/TokyoUILanguage-B0kNm-zw.js +1 -0
  210. package/dist/assets/TokyoUILibraryExplore-BZ10fOAZ.js +1 -0
  211. package/dist/assets/TokyoUILock-Chkf2ogE.js +1 -0
  212. package/dist/assets/TokyoUIMessages-z4JOaU4E.js +1 -0
  213. package/dist/assets/TokyoUIMinus-DKK-A5EK.js +1 -0
  214. package/dist/assets/TokyoUINotebook-DO8t9gWt.js +1 -0
  215. package/dist/assets/TokyoUINotesWithPad-DM2X7aVA.js +1 -0
  216. package/dist/assets/TokyoUIPhone-Bw5Vf4vA.js +1 -0
  217. package/dist/assets/TokyoUISettings-D5pBmcYk.js +1 -0
  218. package/dist/assets/TokyoUISparkle-C3Cy7wMI.js +1 -0
  219. package/dist/assets/TokyoUIStarFilled-CYq7gSvg.js +1 -0
  220. package/dist/assets/TokyoUITag-Cg8pSiwB.js +1 -0
  221. package/dist/assets/TokyoUIUpload-B1wN3uN1.js +1 -0
  222. package/dist/assets/TokyoUIUser-BxbKTbW_.js +1 -0
  223. package/dist/assets/{Tooltip-Cm9bKrYj.css → Tooltip-C5LpnpaC.css} +1 -1
  224. package/dist/assets/Tooltip-IQdlsINh.js +9 -0
  225. package/dist/assets/Tooltip.stories-9Tn4uyBh.js +93 -0
  226. package/dist/assets/Tooltip.tests.stories-Cr4rBDLb.js +65 -0
  227. package/dist/assets/VisuallyHidden-CN0xhFLZ.js +1 -0
  228. package/dist/assets/VisuallyHidden-SLhaLKxx.css +1 -0
  229. package/dist/assets/WithTooltip-65CFNBJE-B-ngulbF.js +9 -0
  230. package/dist/assets/align-self-B8vQODdk.css +1 -0
  231. package/dist/assets/align-self-DLZqaACP.js +1 -0
  232. package/dist/assets/ar-CmAh1fW1.js +1 -0
  233. package/dist/assets/axe-C7CO230w.js +20 -0
  234. package/dist/assets/breakpoints-DVI9b-sj.js +31 -0
  235. package/dist/assets/breakpoints-DhB77ppz.js +32 -0
  236. package/dist/assets/breakpoints-JehRf-HQ.js +30 -0
  237. package/dist/assets/{changelog-BoskfpJ8.js → changelog-BlpT3PVh.js} +18 -3
  238. package/dist/assets/chunk-242VQQM5-BHHKbgg-.js +1 -0
  239. package/dist/assets/chunk-3LY4VQVK-Di70sXb8.js +6 -0
  240. package/dist/assets/chunk-BneVvdWh.js +1 -0
  241. package/dist/assets/chunk-YKABRMAI-tsMt0pG-.js +18 -0
  242. package/dist/assets/client-o3HipSzo.js +1 -0
  243. package/dist/assets/components-B2mdrQXl.js +1 -0
  244. package/dist/assets/components-BJI6UJJQ.js +250 -0
  245. package/dist/assets/constants-BKSB-IRi.js +37 -0
  246. package/dist/assets/createRequiredContext-CgxIAZIj.js +241 -0
  247. package/dist/assets/createRequiredContext-rvejDfGq.css +1 -0
  248. package/dist/assets/cs-o6LA2LFi.js +1 -0
  249. package/dist/assets/de-CGU9rRAn.js +1 -0
  250. package/dist/assets/dist-Cc1j9Pjk.js +1 -0
  251. package/dist/assets/dist-CrJFSSHJ.css +1 -0
  252. package/dist/assets/dist-DtfJeYQK.js +32 -0
  253. package/dist/assets/dist-XW9XCd1i.js +122 -0
  254. package/dist/assets/emotion-unitless.esm-NifOLKB5.js +1 -0
  255. package/dist/assets/en-CAnKwElg.js +1 -0
  256. package/dist/assets/es-MH1DT2kV.js +1 -0
  257. package/dist/assets/esm-CS074ZRu.js +12 -0
  258. package/dist/assets/filterAttributesPassedByRadixUIAtRuntime-CGiuUnR2.js +1 -0
  259. package/dist/assets/fonts-explorer.stories-I8-ZOqnR.js +100 -0
  260. package/dist/assets/formatter-EIJCOSYU-CrRlJc_C.js +1 -0
  261. package/dist/assets/fr-CgnvB_BI.js +1 -0
  262. package/dist/assets/getTokenVar-BdWui4zI.js +11 -0
  263. package/dist/assets/gradientBorders-CStgfkEm.js +45 -0
  264. package/dist/assets/hk-CaQALTDd.js +1 -0
  265. package/dist/assets/hover-BZswJq9X.js +13 -0
  266. package/dist/assets/hover-DkvE2XjW.js +14 -0
  267. package/dist/assets/hover-xopBYDG-.js +16 -0
  268. package/dist/assets/id-Bp-BGWpK.js +1 -0
  269. package/dist/assets/iframe-CYkk6Y66.css +1 -0
  270. package/dist/assets/iframe-f34VuKy-.js +1194 -0
  271. package/dist/assets/intro-OCMNWtPd.js +31 -0
  272. package/dist/assets/it-BMSKWkCc.js +1 -0
  273. package/dist/assets/ja-wtIn1pnV.js +1 -0
  274. package/dist/assets/jsx-runtime-C2wGStra.js +1 -0
  275. package/dist/assets/ko-DvhW2pVO.js +1 -0
  276. package/dist/assets/layout-relative-BDjBJtei.js +1 -0
  277. package/dist/assets/layout-relative-D3aa9xon.css +1 -0
  278. package/dist/assets/layout-relative.module-BEsoJgyf.js +1 -0
  279. package/dist/assets/lib-CXCPi5ID.js +26 -0
  280. package/dist/assets/matchers-5TDFFDYO-CdU16gNa.js +28 -0
  281. package/dist/assets/mcp-wYzkbrqT.js +32 -0
  282. package/dist/assets/mdx-react-shim-Bi0BC7jy.js +1 -0
  283. package/dist/assets/migrating-from-less-DfjDPQaC.js +36 -0
  284. package/dist/assets/nl-BW9s7SpL.js +1 -0
  285. package/dist/assets/pl-B0BEw5na.js +1 -0
  286. package/dist/assets/playground.stories-oI9ZDlnt.js +6 -0
  287. package/dist/assets/preload-helper-nVtPd9zc.js +1 -0
  288. package/dist/assets/pt-qEWGT9cy.js +1 -0
  289. package/dist/assets/react-18-ziWOvQTm.js +1 -0
  290. package/dist/assets/react-B8jdHdWa.js +1 -0
  291. package/dist/assets/react-C6B6irz5.js +1 -0
  292. package/dist/assets/react-C7IZe2D1.js +1 -0
  293. package/dist/assets/react-dom-CLuuWI32.js +8 -0
  294. package/dist/assets/render-icon-Dzkg3KVE.js +1 -0
  295. package/dist/assets/ro-DLH7plv7.js +1 -0
  296. package/dist/assets/ru-BmiT91mV.js +1 -0
  297. package/dist/assets/shared-strings-DrlpFtg5.js +1 -0
  298. package/dist/assets/shim-Do3tPrxV.js +1 -0
  299. package/dist/assets/storybook-utils-CXrHOWy7.js +1 -0
  300. package/dist/assets/styled-components.browser.esm-BqKZXl6d.js +2 -0
  301. package/dist/assets/styled-components.browser.esm-ByE8r-7j.js +2 -0
  302. package/dist/assets/sv-CW9z0vaU.js +1 -0
  303. package/dist/assets/syntaxhighlighter-ED5Y7EFY-BYBQ9ptv.js +6 -0
  304. package/dist/assets/text-accent-CfNKCcRq.js +1 -0
  305. package/dist/assets/text-centered-DCp9pLpt.css +1 -0
  306. package/dist/assets/text-centered-ozyo-Yf9.js +1 -0
  307. package/dist/assets/th-isRlGLm5.js +1 -0
  308. package/dist/assets/theming-BrHPXhKw.js +1 -0
  309. package/dist/assets/theming-C7TmxyGw.js +39 -0
  310. package/dist/assets/tokens-C1gyoh8D.js +16 -0
  311. package/dist/assets/tokens-C7Hn5QJc.js +15 -0
  312. package/dist/assets/tokens-CubiKgE5.js +15 -0
  313. package/dist/assets/tr-CvfBJD7Q.js +1 -0
  314. package/dist/assets/tw-DpiBe17Q.js +1 -0
  315. package/dist/assets/ua-CPYW3Hlj.js +1 -0
  316. package/dist/assets/useBreakpointMatch-B8CIBjwc.js +1 -0
  317. package/dist/assets/useControllableState-BBsZ9A2n.js +1 -0
  318. package/dist/assets/useMergeRefs-D0D5dYrn.js +1 -0
  319. package/dist/assets/usePortalElement-uqsVx9U8.js +19 -0
  320. package/dist/assets/useStableCallback-DnHVYLVo.js +1 -0
  321. package/dist/assets/welcome-t0_iHw7X.js +23 -0
  322. package/dist/assets/zeroheight-DxMICzug.js +75 -0
  323. package/dist/assets/zh-C43VYh_6.js +1 -0
  324. package/dist/iframe.html +69 -40
  325. package/dist/index.html +8 -3
  326. package/dist/index.json +1 -1
  327. package/dist/preview-stats.json +21532 -16519
  328. package/dist/project.json +1 -1
  329. package/dist/sb-addons/a11y-1/manager-bundle.js +55 -3
  330. package/dist/sb-addons/chromatic-com-storybook-5/manager-bundle.js +352 -0
  331. package/dist/sb-addons/chromatic-com-storybook-5/manager-bundle.js.LEGAL.txt +40 -0
  332. package/dist/sb-addons/docs-4/manager-bundle.js +1 -1
  333. package/dist/sb-addons/links-2/manager-bundle.js +1 -1
  334. package/dist/sb-addons/storybook-6/manager-bundle.js +3 -0
  335. package/dist/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +66 -66
  336. package/dist/sb-addons/vitest-3/manager-bundle.js +1 -1
  337. package/dist/sb-manager/globals-runtime.js +9758 -7407
  338. package/dist/sb-manager/runtime.js +3034 -2325
  339. package/dist/vite-inject-mocker-entry.js +2 -18
  340. package/package.json +19 -20
  341. package/pages/30.guides/70.assets/constants/icon-imports.ts +8 -0
  342. package/dist/assets/00-BMs4V7pn.css +0 -1
  343. package/dist/assets/00-CGymiNpA.css +0 -1
  344. package/dist/assets/00.LayoutFlex.stories-lllooXjc.js +0 -85
  345. package/dist/assets/00.applications-ApRgtzMF.js +0 -50
  346. package/dist/assets/00.favicons.guide-4ivqvu_K.js +0 -21
  347. package/dist/assets/00.token-explorer-DCBSOdHJ.js +0 -340
  348. package/dist/assets/00.using-responsive-props-BhAkr9Gn.js +0 -18
  349. package/dist/assets/01-2pw2iC19.css +0 -1
  350. package/dist/assets/01.semantic-tokens-BBQKcQ5o.js +0 -11
  351. package/dist/assets/01.using-shorthand-props-SxccG8oR.js +0 -39
  352. package/dist/assets/10.Combinations.stories-D3XySbv3.js +0 -128
  353. package/dist/assets/10.fonts.guide-p4vZ2TE8.js +0 -39
  354. package/dist/assets/10.ssr-BLS5aGYV.js +0 -91
  355. package/dist/assets/11.fonts.explorer-BMm1rcuE.js +0 -2
  356. package/dist/assets/11.ssr.app-router-B_LdKMuw.js +0 -59
  357. package/dist/assets/20.libraries-Uutk1t-k.js +0 -21
  358. package/dist/assets/2025-q4-ds-cleanup-D2AonoQX.js +0 -341
  359. package/dist/assets/30.icons.explorer-D63Br7GU.js +0 -72
  360. package/dist/assets/30.storybook-B_OtmSNE.js +0 -42
  361. package/dist/assets/40.illustrations.explorer-Pi9iaQwM.js +0 -21
  362. package/dist/assets/90.advanced-tEkbHxcl.js +0 -32
  363. package/dist/assets/Accordion-2avWtqXz.js +0 -23
  364. package/dist/assets/Accordion-DBIXJNVb.css +0 -1
  365. package/dist/assets/AlertBanner.primitives.stories-DpA-of6O.js +0 -14
  366. package/dist/assets/AlertBanner.stories-B7xxyCn2.js +0 -124
  367. package/dist/assets/AlertBannerAction-D14MnnIA.js +0 -128
  368. package/dist/assets/AlertBannerAction-Dgo9FikS.css +0 -1
  369. package/dist/assets/AlertDialog-B5rRXSxb.js +0 -4
  370. package/dist/assets/AlertDialog-DjB9AufV.css +0 -1
  371. package/dist/assets/Avatar-B6s9WtES.css +0 -1
  372. package/dist/assets/Avatar-Die_4zu0.js +0 -6
  373. package/dist/assets/Avatar.stories-DJHK0lEC.js +0 -42
  374. package/dist/assets/AvatarWithStatus.stories-E9QQr3Dr.js +0 -41
  375. package/dist/assets/Badge-BSDHZ3bI.js +0 -10
  376. package/dist/assets/Badge.stories-6FOVA96I.js +0 -90
  377. package/dist/assets/Box-CfDLuPKr.css +0 -1
  378. package/dist/assets/Box.stories-DAVs5Qmd.js +0 -44
  379. package/dist/assets/BubbleCounter.stories-DHv_hrNV.js +0 -242
  380. package/dist/assets/Button-C0Um_QuO.js +0 -18
  381. package/dist/assets/Button-U6ON1pQl.css +0 -1
  382. package/dist/assets/Button.stories-CTSwUwYJ.js +0 -270
  383. package/dist/assets/ButtonBase-Bv11I0L0.css +0 -1
  384. package/dist/assets/ButtonBase-DGinnt2u.js +0 -1
  385. package/dist/assets/ButtonBase-HkSfLFbE.js +0 -8
  386. package/dist/assets/ButtonBase-vTD2whCv.css +0 -1
  387. package/dist/assets/CalloutBanner-Cw440Euq.css +0 -1
  388. package/dist/assets/CalloutBanner.stories-C62ApsKt.js +0 -286
  389. package/dist/assets/Checkbox-CrI8PiHH.css +0 -1
  390. package/dist/assets/Checkbox-U8uzIr-e.js +0 -10
  391. package/dist/assets/Checkbox.tests.stories-CrLxNZ2d.js +0 -64
  392. package/dist/assets/Chips-BXIX_-Jx.css +0 -1
  393. package/dist/assets/Chips.stories-BMxD1fH1.js +0 -146
  394. package/dist/assets/Color-ASIRERSW-BsR8auWQ.js +0 -1
  395. package/dist/assets/ComposingPopovers.stories-DtmTbsU_.js +0 -49
  396. package/dist/assets/CountryFlag-D40CtNEa.js +0 -49
  397. package/dist/assets/CountryFlag.test.stories-Bde0Okud.js +0 -27
  398. package/dist/assets/Dialog-CJQmu6iz.js +0 -13
  399. package/dist/assets/Dialog.primitives-DLgD-yog.css +0 -1
  400. package/dist/assets/Dialog.primitives.stories-BRGfipHO.js +0 -213
  401. package/dist/assets/Dialog.stories-D4tyIGD0.js +0 -329
  402. package/dist/assets/Dialog.test.stories-xCqInD69.js +0 -146
  403. package/dist/assets/DialogActions-GLMqsJfB.js +0 -101
  404. package/dist/assets/DialogCloseButton-D5YliaRd.js +0 -149
  405. package/dist/assets/DialogCloseButton-DXcPNZE4.css +0 -1
  406. package/dist/assets/DismissibleChips-YCE2ttV-.js +0 -1
  407. package/dist/assets/DismissibleChips.stories-Cx3sJ6UG.js +0 -625
  408. package/dist/assets/Divider-j3vJV734.js +0 -1
  409. package/dist/assets/Divider.stories-CK-PipZt.js +0 -9
  410. package/dist/assets/DocsRenderer-GHJI37HO-WuLZQEsz.js +0 -2
  411. package/dist/assets/DropdownMenu-B9HIHqSr.css +0 -1
  412. package/dist/assets/DropdownMenu-CgNvtJ2F.js +0 -1232
  413. package/dist/assets/DropdownMenu.stories-DpmKDI1Q.js +0 -1603
  414. package/dist/assets/FieldButton-CDW5AvHN.css +0 -1
  415. package/dist/assets/FieldButton-DpHF49o_.js +0 -1
  416. package/dist/assets/FieldButton.stories-C7v9WweE.js +0 -1
  417. package/dist/assets/FormControl-BBqp99uJ.css +0 -1
  418. package/dist/assets/FormControl-Zqf1cIwP.js +0 -7
  419. package/dist/assets/FormControl.stories-D4xKaMaA.js +0 -42
  420. package/dist/assets/Heading-BTHqyLcz.css +0 -1
  421. package/dist/assets/Heading-Cj8Si45g.js +0 -1
  422. package/dist/assets/Heading.stories-BG_kLNJz.js +0 -67
  423. package/dist/assets/Icon-CC0yjdx9.js +0 -8
  424. package/dist/assets/Icon-RSC-Cl0H44C3.js +0 -6
  425. package/dist/assets/Icon.stories-DAIYY4Bp.js +0 -45
  426. package/dist/assets/IconButton-BpjNyYgD.js +0 -8
  427. package/dist/assets/IconButton-COydvoLU.css +0 -1
  428. package/dist/assets/IconTile-CAnlU9ss.js +0 -1
  429. package/dist/assets/IconTile-DDvHA75S.css +0 -1
  430. package/dist/assets/IconTile.stories-DnUYn3Id.js +0 -88
  431. package/dist/assets/Input-DuW1_5SG.js +0 -48
  432. package/dist/assets/InputContainer-Cmdo_xyq.js +0 -2
  433. package/dist/assets/InputContainer-DIiUCsnL.css +0 -1
  434. package/dist/assets/IntegrationWithReactHookForm.stories-9EImL3zR.js +0 -467
  435. package/dist/assets/LayoutFlex-7DoB3s9X.css +0 -1
  436. package/dist/assets/LayoutFlex-CTH6ELdm.js +0 -1
  437. package/dist/assets/LayoutFlex-DXRMJ9FH.js +0 -1
  438. package/dist/assets/LayoutFlex-vHEU4SLb.css +0 -1
  439. package/dist/assets/LayoutFlexItem-C4cPPR-1.css +0 -1
  440. package/dist/assets/LayoutFlexItem-lmgCv4Y9.js +0 -1
  441. package/dist/assets/LayoutGrid-CSKyUAin.css +0 -1
  442. package/dist/assets/LayoutGrid-CUGRXgEO.js +0 -1
  443. package/dist/assets/LayoutGrid-Cm59X3OY.css +0 -1
  444. package/dist/assets/LayoutGrid-SAztDD7Z.js +0 -1
  445. package/dist/assets/LayoutGrid.stories-2dbzhVi7.js +0 -88
  446. package/dist/assets/LayoutGridItem-Bo7Opdaq.css +0 -1
  447. package/dist/assets/LayoutGridItem-UTn4G6JO.js +0 -1
  448. package/dist/assets/Link-BAFCJR3T.js +0 -5
  449. package/dist/assets/Link-BIhxLhqK.css +0 -1
  450. package/dist/assets/Loader-hjoeRutr.css +0 -1
  451. package/dist/assets/Loader.stories-CG-Eo8vg.js +0 -37
  452. package/dist/assets/MultiSelectChips-CBnEtn4N.js +0 -2
  453. package/dist/assets/MultiSelectChips.stories-Ch4FxGM2.js +0 -608
  454. package/dist/assets/NativeSelectField.stories-Pj5dm9hL.js +0 -295
  455. package/dist/assets/NumberField-klmIiQAi.js +0 -6
  456. package/dist/assets/NumberField.stories-D740jISy.js +0 -254
  457. package/dist/assets/ObserveIntersection-Dx2gD1CU.js +0 -8
  458. package/dist/assets/ObserveIntersection.stories-JJPEw5oG.js +0 -27
  459. package/dist/assets/OnboardingTooltip-DzQhJzWc.js +0 -16
  460. package/dist/assets/OnboardingTooltip-X4QjsIe6.css +0 -1
  461. package/dist/assets/OnboardingTooltip.stories-BDgRgbzO.js +0 -107
  462. package/dist/assets/OnboardingTooltip.tests.stories-DrqovP8T.js +0 -79
  463. package/dist/assets/OnboardingTour-B5gEod5H.js +0 -4
  464. package/dist/assets/OnboardingTour-DoEbirUE.css +0 -1
  465. package/dist/assets/OnboardingTour.stories-BzHBS52z.js +0 -46
  466. package/dist/assets/PasswordField-BjqiXySY.js +0 -6
  467. package/dist/assets/PasswordField.stories-YCTP14pU.js +0 -229
  468. package/dist/assets/PreplyLogo.stories-lPBmn_E2.js +0 -95
  469. package/dist/assets/ProgressBar-N_jhfqno.css +0 -1
  470. package/dist/assets/ProgressBar.stories-DqvDJEeF.js +0 -44
  471. package/dist/assets/ProgressSteps-5GOrC9Qn.css +0 -1
  472. package/dist/assets/ProgressSteps-Dce_SjLt.js +0 -2
  473. package/dist/assets/ProgressSteps.stories-BMDqz7-Z.js +0 -31
  474. package/dist/assets/PromoDialog-DdnXVfH8.js +0 -3
  475. package/dist/assets/RangeSlider-MZqvjtBp.js +0 -4
  476. package/dist/assets/RangeSlider.stories-BS4-l1u4.js +0 -117
  477. package/dist/assets/Rating.stories-wHsrBw3w.js +0 -116
  478. package/dist/assets/RatingInput.stories-BKAXF4Qv.js +0 -455
  479. package/dist/assets/SelectField-BvrdbknI.css +0 -1
  480. package/dist/assets/SelectField-DU60q2LU.js +0 -19
  481. package/dist/assets/SelectField.stories-BKCyFPQa.js +0 -517
  482. package/dist/assets/ShowOnIntersection.stories-BdO_3n9P.js +0 -17
  483. package/dist/assets/SingleSelectChips-CDtny-H7.js +0 -2
  484. package/dist/assets/Slider-B8ndK7PX.js +0 -2
  485. package/dist/assets/Slider-B_IRLClB.css +0 -1
  486. package/dist/assets/Slider.stories-CBV0fePJ.js +0 -69
  487. package/dist/assets/Spinner-8-RB4YZR.js +0 -1
  488. package/dist/assets/Spinner-CzIq-Vt3.css +0 -1
  489. package/dist/assets/Stars-BJkSwBV2.css +0 -1
  490. package/dist/assets/Stars-BSTkfC0i.js +0 -1
  491. package/dist/assets/Steps-DUeCVcxV.js +0 -26
  492. package/dist/assets/Steps-nUB2CDHz.css +0 -1
  493. package/dist/assets/Switch-DHmH1ale.css +0 -1
  494. package/dist/assets/Switch-Dyoj_Z1P.js +0 -12
  495. package/dist/assets/Switch.stories-CDVDjU2B.js +0 -151
  496. package/dist/assets/Text-D2ADMZ83.css +0 -1
  497. package/dist/assets/Text-DJTKRzSb.js +0 -1
  498. package/dist/assets/Text-DvShrljd.js +0 -1
  499. package/dist/assets/Text-O3SM8a3p.css +0 -1
  500. package/dist/assets/Text.stories-DRuLuJwb.js +0 -67
  501. package/dist/assets/TextField-BSJgR_zK.js +0 -6
  502. package/dist/assets/TextField.stories-rtu-asgN.js +0 -254
  503. package/dist/assets/TextHighlighted.stories-Bc0bMLCv.js +0 -32
  504. package/dist/assets/TextInline.stories-DKWvwjg6.js +0 -50
  505. package/dist/assets/TextareaField-DUqOyVK5.js +0 -53
  506. package/dist/assets/TextareaField.stories-CiRYJL_j.js +0 -272
  507. package/dist/assets/Toast-PKFBYWQw.css +0 -1
  508. package/dist/assets/Toast.stories-S5qFLRPf.js +0 -185
  509. package/dist/assets/TokyoUIAttach-BsMlsNHQ.js +0 -1
  510. package/dist/assets/TokyoUIAvailability7LateNight-BUCnoHXS.js +0 -1
  511. package/dist/assets/TokyoUICheck-DQLX_x10.js +0 -1
  512. package/dist/assets/TokyoUICheckmark-BHJrELn_.js +0 -1
  513. package/dist/assets/TokyoUIChevronDown-DiBNbDdz.js +0 -1
  514. package/dist/assets/TokyoUIChevronRight-DRhJYmWB.js +0 -1
  515. package/dist/assets/TokyoUIClose-BfMyMrDa.js +0 -1
  516. package/dist/assets/TokyoUIEmojiFrowning-DkxcBN-M.js +0 -1
  517. package/dist/assets/TokyoUIErrorWarning-GuwQvo24.js +0 -1
  518. package/dist/assets/TokyoUIExerciseClosedGapsJumble-BhG23ylY.css +0 -1
  519. package/dist/assets/TokyoUIExerciseClosedGapsJumble-C8roFqfh.js +0 -1
  520. package/dist/assets/TokyoUIEye-oyrTN--k.js +0 -1
  521. package/dist/assets/TokyoUIFav-C-stY9U_.js +0 -1
  522. package/dist/assets/TokyoUIInfo-BSNbI4Gr.js +0 -1
  523. package/dist/assets/TokyoUILanguage-BcrymOo9.js +0 -1
  524. package/dist/assets/TokyoUILibraryExplore-DvvKpWd6.js +0 -1
  525. package/dist/assets/TokyoUILock-B22xkFQW.js +0 -1
  526. package/dist/assets/TokyoUIMessages-hZLnK87p.js +0 -1
  527. package/dist/assets/TokyoUIMinus-C6TctZRw.js +0 -1
  528. package/dist/assets/TokyoUINotebook-mwleX-o1.js +0 -1
  529. package/dist/assets/TokyoUINotesWithPad-CG0gLTYm.js +0 -1
  530. package/dist/assets/TokyoUIPhone-CFykqUer.js +0 -1
  531. package/dist/assets/TokyoUISettings-BbgnUEy1.js +0 -1
  532. package/dist/assets/TokyoUISparkle-DPOw7W2T.js +0 -1
  533. package/dist/assets/TokyoUIStarFilled-CF0iG37X.js +0 -1
  534. package/dist/assets/TokyoUITag-B1Xueyd7.js +0 -1
  535. package/dist/assets/TokyoUIUpload-CrasJ02A.js +0 -1
  536. package/dist/assets/TokyoUIUser-XhPCF9-5.js +0 -1
  537. package/dist/assets/Tooltip-BiqKWYpo.js +0 -9
  538. package/dist/assets/Tooltip.stories-DCB24NyS.js +0 -93
  539. package/dist/assets/Tooltip.tests.stories-B3iLlPPq.js +0 -65
  540. package/dist/assets/VisuallyHidden-Jfhj9R2Y.css +0 -1
  541. package/dist/assets/VisuallyHidden-fvo3PSUE.js +0 -1
  542. package/dist/assets/WithTooltip-IO6J4KBT-BUV9ELqr.js +0 -9
  543. package/dist/assets/align-self-BYi8giLn.js +0 -1
  544. package/dist/assets/align-self-C4ATemga.css +0 -1
  545. package/dist/assets/ar-D1Y8jKvF.js +0 -1
  546. package/dist/assets/axe-BG-rWtCi.js +0 -30
  547. package/dist/assets/breakpoints-BfMlrtxE.js +0 -1
  548. package/dist/assets/breakpoints-CBpJ5xgl.js +0 -31
  549. package/dist/assets/breakpoints-Cu9uEe0J.js +0 -32
  550. package/dist/assets/breakpoints-CuJuvIR9.js +0 -30
  551. package/dist/assets/client-BN2KdiJY.js +0 -1
  552. package/dist/assets/componentNames-hc9KR2nX.js +0 -1
  553. package/dist/assets/constants-5om8Ptru.js +0 -1
  554. package/dist/assets/constants-DYYVurUY.js +0 -1
  555. package/dist/assets/consts-KAYct7Gj.js +0 -1
  556. package/dist/assets/createRequiredContext-B3Arn9-D.js +0 -241
  557. package/dist/assets/createRequiredContext-Cjxy1dPq.css +0 -1
  558. package/dist/assets/cs-CamDwf-r.js +0 -1
  559. package/dist/assets/de-CWLDjtzP.js +0 -1
  560. package/dist/assets/emotion-unitless.esm-BZwEwAnk.js +0 -1
  561. package/dist/assets/en-DmA3N6t9.js +0 -1
  562. package/dist/assets/es-C4sqCVWL.js +0 -1
  563. package/dist/assets/filterAttributesPassedByRadixUIAtRuntime-B7QTVwVw.js +0 -1
  564. package/dist/assets/filterAttributesPassedByRadixUIAtRuntime-Bye2JkZ0.js +0 -1
  565. package/dist/assets/fonts-explorer-B5KcfnOG.css +0 -1
  566. package/dist/assets/fonts-explorer.stories-CeMUwBuQ.js +0 -130
  567. package/dist/assets/formatter-QJ4M4OGQ-B2Vljo6_.js +0 -1
  568. package/dist/assets/fr-BxUkVECU.js +0 -1
  569. package/dist/assets/getTokenVar-CVkrm5Qs.js +0 -1
  570. package/dist/assets/getTokenVar-DmUJH1GU.js +0 -11
  571. package/dist/assets/gradientBorders-Q_ip9Ojv.js +0 -45
  572. package/dist/assets/hk-CamDwf-r.js +0 -1
  573. package/dist/assets/hover-C8NhPbjk.js +0 -13
  574. package/dist/assets/hover-C9fsErpn.js +0 -16
  575. package/dist/assets/hover-D55mJaWK.js +0 -14
  576. package/dist/assets/id-BUwhaEpp.js +0 -1
  577. package/dist/assets/iframe-B_74HtSc.js +0 -1891
  578. package/dist/assets/iframe-DR4kltvM.css +0 -1
  579. package/dist/assets/index-BJaBvJhB.js +0 -22
  580. package/dist/assets/index-BW8FBNWq.js +0 -193
  581. package/dist/assets/index-CC6DAVyL.js +0 -1
  582. package/dist/assets/index-Cnv20V_M.js +0 -1
  583. package/dist/assets/index-DIqvfT2b.js +0 -12
  584. package/dist/assets/index-DWFFXgf1.js +0 -1
  585. package/dist/assets/index-W3BB_3go.js +0 -41
  586. package/dist/assets/intro-DOuARa_Y.js +0 -31
  587. package/dist/assets/it-kJJ1S0qv.js +0 -1
  588. package/dist/assets/ja-CThSHCIs.js +0 -1
  589. package/dist/assets/ko-B1qhOecF.js +0 -1
  590. package/dist/assets/layout-relative-B9CiYPwj.js +0 -1
  591. package/dist/assets/layout-relative-BWwbkKin.css +0 -1
  592. package/dist/assets/layout-relative-DOxkgOJk.css +0 -1
  593. package/dist/assets/layout-relative.module-1z75aSwo-Dcy7i8oK.js +0 -1
  594. package/dist/assets/layout-relative.module-BIZVul8q.js +0 -1
  595. package/dist/assets/matchers-DMFSMG2O-CAdg16Fl.js +0 -14
  596. package/dist/assets/mcp-D2eIYE7x.js +0 -32
  597. package/dist/assets/message-DJT5rp5J.js +0 -1
  598. package/dist/assets/migrating-from-less-CxT_5hNC.js +0 -36
  599. package/dist/assets/mixins-DZk1Zeoo.js +0 -7
  600. package/dist/assets/nl-CEfRou2e.js +0 -1
  601. package/dist/assets/options-jUub4JL1.js +0 -1
  602. package/dist/assets/pl-B4SjM4RJ.js +0 -1
  603. package/dist/assets/playground.stories-DqwdOX0P.js +0 -6
  604. package/dist/assets/preload-helper-Dp1pzeXC.js +0 -1
  605. package/dist/assets/pt-B_cv-Bbz.js +0 -1
  606. package/dist/assets/react-18-DoE4ZK8O.js +0 -1
  607. package/dist/assets/render-icon-DSbVIpCz.js +0 -9
  608. package/dist/assets/render-icon-MT6RlyNs.js +0 -9
  609. package/dist/assets/ro-Wp2i1-uz.js +0 -1
  610. package/dist/assets/ru-C9RPHSvh.js +0 -1
  611. package/dist/assets/shared-strings-ThL9KyH0.js +0 -1
  612. package/dist/assets/store-B0wM9Zg8.js +0 -9
  613. package/dist/assets/styled-components.browser.esm-BHxIJD2_.js +0 -2
  614. package/dist/assets/styled-components.browser.esm-rrOBirU4.js +0 -2
  615. package/dist/assets/sv-BV70iAZ6.js +0 -1
  616. package/dist/assets/syntaxhighlighter-IQDEPFLK-BakL6JIW.js +0 -6
  617. package/dist/assets/text-accent-BQ9POoE5.js +0 -1
  618. package/dist/assets/text-centered-BEaaxMgl.js +0 -1
  619. package/dist/assets/text-centered-CT0UilMD.css +0 -1
  620. package/dist/assets/text-centered-CYnBFi3a.js +0 -1
  621. package/dist/assets/text-centered-DxXu3Wfr.css +0 -1
  622. package/dist/assets/th-DQ6Pn590.js +0 -1
  623. package/dist/assets/tokens-BEyO2LY-.js +0 -15
  624. package/dist/assets/tokens-Cg01svK-.js +0 -15
  625. package/dist/assets/tokens-CmSwgWJ8.js +0 -16
  626. package/dist/assets/tokens-im-qJUCZ.js +0 -1
  627. package/dist/assets/tr-ByOPzs3p.js +0 -1
  628. package/dist/assets/tw-CamDwf-r.js +0 -1
  629. package/dist/assets/ua-rcge5Swp.js +0 -1
  630. package/dist/assets/useControllableState-BB4EHwEp.js +0 -1
  631. package/dist/assets/useHostname-CbpnzdHv.js +0 -1
  632. package/dist/assets/useMergeRefs-CFhXCqbA.js +0 -1
  633. package/dist/assets/useMergeRefs-Caz9hOck.js +0 -1
  634. package/dist/assets/useOpenInteractionType-D3sASQWj.js +0 -15
  635. package/dist/assets/usePortalElement-Cbyb850w.js +0 -19
  636. package/dist/assets/useStableCallback-D5P5kDx5.js +0 -1
  637. package/dist/assets/useToken-OSVftwxQ.js +0 -1
  638. package/dist/assets/welcome-QqBTVkpV.js +0 -23
  639. package/dist/assets/zeroheight-BXMq4jvo.js +0 -75
  640. package/dist/assets/zh-B9zAtuTc.js +0 -1
  641. package/dist/sb-addons/storybook-5/manager-bundle.js +0 -3
  642. package/vitest.config.mts +0 -30
@@ -1,37 +1,37 @@
1
- import{_ as n}from"./preload-helper-Dp1pzeXC.js";import{ao as he,ap as fe,j as t,r as y,R as D}from"./iframe-B_74HtSc.js";import{L as pe,b as ge,g as ye,W as H,h as Y,i as Z,j as J,k as Q,T as be,c as ve,m as we,l as q,d as S,f as _e,I as xe,u as Ie,C as Te,t as Ae,n as E,o as j}from"./constants-DDJ2G0OO.js";import{T as I}from"./Text-DvShrljd.js";import{L as Ce}from"./LayoutGrid-SAztDD7Z.js";import{H as ze}from"./Heading-Cj8Si45g.js";import{L as z}from"./LayoutFlex-DXRMJ9FH.js";import{T as Ve}from"./TextField-BSJgR_zK.js";import{b as L,a as V}from"./SelectField-DU60q2LU.js";import{N as ke}from"./NumberField-klmIiQAi.js";import{C as Re}from"./Checkbox-U8uzIr-e.js";import{L as De}from"./Link-BAFCJR3T.js";import"./index-DIqvfT2b.js";import"./styled-components.browser.esm-BHxIJD2_.js";import"./emotion-unitless.esm-BZwEwAnk.js";import"./getTokenVar-CVkrm5Qs.js";import"./tokens-im-qJUCZ.js";import"./text-accent-BQ9POoE5.js";import"./text-centered-BEaaxMgl.js";import"./filterAttributesPassedByRadixUIAtRuntime-B7QTVwVw.js";import"./componentNames-hc9KR2nX.js";import"./breakpoints-BfMlrtxE.js";import"./layout-relative.module-BIZVul8q.js";import"./layout-relative-B9CiYPwj.js";import"./constants-DYYVurUY.js";import"./FormControl-Zqf1cIwP.js";import"./message-DJT5rp5J.js";import"./Input-DuW1_5SG.js";import"./InputContainer-Cmdo_xyq.js";import"./TokyoUIChevronDown-DiBNbDdz.js";import"./TokyoUICheckmark-BHJrELn_.js";import"./Icon-CC0yjdx9.js";import"./render-icon-MT6RlyNs.js";import"./index-Cnv20V_M.js";import"./index-W3BB_3go.js";import"./useMergeRefs-Caz9hOck.js";import"./useHostname-CbpnzdHv.js";const F=fe({dateAndTime:{id:"preply-ds.intl_formatted.date_and_time.v3.text",defaultMessage:"{date} • {time}",description:"Formerly intl_formatted.date_and_time.v3.text"},dateAndTimeRange:{id:"preply-ds.intl_formatted.date_and_time_range.v3.text",defaultMessage:"{date} • {timeRange}",description:"Formerly intl_formatted.date_and_time_range.v3.text"},dateTimeAndDateTime:{id:"preply-ds.intl_formatted.date_time_and_date_time.text",defaultMessage:"{dateTimeStart} - {dateTimeEnd}",description:"Formerly intl_formatted.date_time_and_date_time.text"}}),O=({formattedDate:e,locale:a,isCapitalized:i})=>pe.includes(a)?ge(e):i?ye(e):e,k=()=>{const{formatMessage:e,locale:a}=he();return{formatDateAndTime:({date:o,time:l,isCapitalized:u})=>{const s=e(F.dateAndTime,{date:o,time:l});return O({formattedDate:s,locale:a,isCapitalized:u})},formatDateAndTimeRange:({date:o,timeRange:l,isCapitalized:u})=>{const s=e(F.dateAndTimeRange,{date:o,timeRange:l});return O({formattedDate:s,locale:a,isCapitalized:u})},formatDateTimeAndDateTime:({dateTimeStart:o,dateTimeEnd:l,isCapitalized:u})=>{const s=e(F.dateTimeAndDateTime,{dateTimeStart:o,dateTimeEnd:l});return O({formattedDate:s,locale:a,isCapitalized:u})}}};function N(...e){const{formatDateAndTime:a}=k(),i=a(...e);return t.jsx(H,{children:i})}function P(...e){const{formatDateAndTimeRange:a}=k(),i=a(...e);return t.jsx(H,{children:i})}function U(...e){const{formatDateTimeAndDateTime:a}=k(),i=a(...e);return t.jsx(H,{children:i})}const M={DateAndTime:N,DateAndTimeRange:P,DateTimeAndDateTime:U};try{N.displayName="DateAndTime",N.__docgenInfo={description:"",displayName:"DateAndTime",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"{ date: string; time: string; isCapitalized: boolean; }"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
2
- If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => { date: string; time: string; isCapitalized: boolean; } | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
3
- @param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: { date: string; time: string; isCapitalized: boolean; }[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
1
+ import{a as e,n as t}from"./chunk-BneVvdWh.js";import{t as n}from"./react-C7IZe2D1.js";import{k as r,w as i}from"./dist-DtfJeYQK.js";import{t as a}from"./jsx-runtime-C2wGStra.js";import{a as o,o as s}from"./IntlFormattedTime-CFUwDROI.js";function c(...e){let{formatDateAndTime:t}=r();return(0,d.jsx)(o,{children:t(...e)})}function l(...e){let{formatDateAndTimeRange:t}=r();return(0,d.jsx)(o,{children:t(...e)})}function u(...e){let{formatDateTimeAndDateTime:t}=r();return(0,d.jsx)(o,{children:t(...e)})}var d,f,p=t((()=>{e(n(),1),s(),i(),d=a(),f={DateAndTime:c,DateAndTimeRange:l,DateTimeAndDateTime:u};try{c.displayName=`DateAndTime`,c.__docgenInfo={description:``,displayName:`DateAndTime`,props:{0:{defaultValue:null,description:``,name:`0`,required:!0,type:{name:`{ date: string; time: string; isCapitalized: boolean; }`}},length:{defaultValue:null,description:``,name:`length`,required:!0,type:{name:`1`}},toString:{defaultValue:null,description:`Returns a string representation of an array.`,name:`toString`,required:!1,type:{name:`() => string`}},toLocaleString:{defaultValue:null,description:`Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.`,name:`toLocaleString`,required:!1,type:{name:`() => string`}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
2
+ If the array is empty, undefined is returned and the array is not modified.`,name:`pop`,required:!0,type:{name:`() => { date: string; time: string; isCapitalized: boolean; } | undefined`}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
3
+ @param items New elements to add to the array.`,name:`push`,required:!0,type:{name:`(...items: { date: string; time: string; isCapitalized: boolean; }[]) => number`}},concat:{defaultValue:null,description:`Combines two or more arrays.
4
4
  This method returns a new array without modifying any existing arrays.
5
5
  @param items Additional arrays and/or items to add to the end of the array.
6
- @param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<{ date: string; time: string; isCapitalized: boolean; }>[]): { date: string; time: string; isCapitalized: boolean; }[]; (...items: ({ date: string; time: string; isCapitalized: boolean; } | ConcatArray<...>)[]): { ...; }[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
7
- @param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
8
- This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => { date: string; time: string; isCapitalized: boolean; }[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
9
- If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => { date: string; time: string; isCapitalized: boolean; } | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
6
+ @param items Additional arrays and/or items to add to the end of the array.`,name:`concat`,required:!0,type:{name:`{ (...items: ConcatArray<{ date: string; time: string; isCapitalized: boolean; }>[]): { date: string; time: string; isCapitalized: boolean; }[]; (...items: ({ date: string; time: string; isCapitalized: boolean; } | ConcatArray<...>)[]): { ...; }[]; }`}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
7
+ @param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:`join`,required:!0,type:{name:`(separator?: string | undefined) => string`}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
8
+ This method mutates the array and returns a reference to the same array.`,name:`reverse`,required:!0,type:{name:`() => { date: string; time: string; isCapitalized: boolean; }[]`}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
9
+ If the array is empty, undefined is returned and the array is not modified.`,name:`shift`,required:!0,type:{name:`() => { date: string; time: string; isCapitalized: boolean; } | undefined`}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
10
10
  For both start and end, a negative index can be used to indicate an offset from the end of the array.
11
11
  For example, -2 refers to the second to last element of the array.
12
12
  @param start The beginning index of the specified portion of the array.
13
13
  If start is undefined, then the slice begins at index 0.
14
14
  @param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
15
- If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => { date: string; time: string; isCapitalized: boolean; }[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
15
+ If end is undefined, then the slice extends to the end of the array.`,name:`slice`,required:!0,type:{name:`(start?: number | undefined, end?: number | undefined) => { date: string; time: string; isCapitalized: boolean; }[]`}},sort:{defaultValue:null,description:`Sorts an array in place.
16
16
  This method mutates the array and returns a reference to the same array.
17
17
  @param compareFn Function used to determine the order of the elements. It is expected to return
18
18
  a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
19
19
  value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
20
20
  \`\`\`ts
21
21
  [11,2,22,1].sort((a, b) => a - b)
22
- \`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: { date: string; time: string; isCapitalized: boolean; }, b: { date: string; time: string; isCapitalized: boolean; }) => number) | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
22
+ \`\`\``,name:`sort`,required:!0,type:{name:`(compareFn?: ((a: { date: string; time: string; isCapitalized: boolean; }, b: { date: string; time: string; isCapitalized: boolean; }) => number) | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]`}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
23
23
  @param start The zero-based location in the array from which to start removing elements.
24
24
  @param deleteCount The number of elements to remove.
25
25
  @returns An array containing the elements that were deleted.
26
26
  @param start The zero-based location in the array from which to start removing elements.
27
27
  @param deleteCount The number of elements to remove.
28
28
  @param items Elements to insert into the array in place of the deleted elements.
29
- @returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): { date: string; time: string; isCapitalized: boolean; }[]; (start: number, deleteCount: number, ...items: { date: string; time: string; isCapitalized: boolean; }[]): { ...; }[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
30
- @param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: { date: string; time: string; isCapitalized: boolean; }[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
29
+ @returns An array containing the elements that were deleted.`,name:`splice`,required:!0,type:{name:`{ (start: number, deleteCount?: number | undefined): { date: string; time: string; isCapitalized: boolean; }[]; (start: number, deleteCount: number, ...items: { date: string; time: string; isCapitalized: boolean; }[]): { ...; }[]; }`}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
30
+ @param items Elements to insert at the start of the array.`,name:`unshift`,required:!0,type:{name:`(...items: { date: string; time: string; isCapitalized: boolean; }[]) => number`}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
31
31
  @param searchElement The value to locate in the array.
32
- @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
32
+ @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:`indexOf`,required:!0,type:{name:`(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => number`}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
33
33
  @param searchElement The value to locate in the array.
34
- @param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
34
+ @param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:`lastIndexOf`,required:!0,type:{name:`(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => number`}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
35
35
  @param predicate A function that accepts up to three arguments. The every method calls
36
36
  the predicate function for each element in the array until the predicate returns a value
37
37
  which is coercible to the Boolean value false, or until the end of the array.
@@ -41,69 +41,75 @@ If thisArg is omitted, undefined is used as the this value.
41
41
  the predicate function for each element in the array until the predicate returns a value
42
42
  which is coercible to the Boolean value false, or until the end of the array.
43
43
  @param thisArg An object to which the this keyword can refer in the predicate function.
44
- If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: { ...; }, index: number, a..."}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
44
+ If thisArg is omitted, undefined is used as the this value.`,name:`every`,required:!0,type:{name:`{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: { ...; }, index: number, a...`}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
45
45
  @param predicate A function that accepts up to three arguments. The some method calls
46
46
  the predicate function for each element in the array until the predicate returns a value
47
47
  which is coercible to the Boolean value true, or until the end of the array.
48
48
  @param thisArg An object to which the this keyword can refer in the predicate function.
49
- If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
49
+ If thisArg is omitted, undefined is used as the this value.`,name:`some`,required:!0,type:{name:`(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => boolean`}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
50
50
  @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
51
- @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
51
+ @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:`forEach`,required:!0,type:{name:`(callbackfn: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => void, thisArg?: any) => void`}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
52
52
  @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
53
- @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
53
+ @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:`map`,required:!0,type:{name:`<U>(callbackfn: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => U, thisArg?: any) => U[]`}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
54
54
  @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
55
55
  @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
56
56
  @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
57
- @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S[]; (predicate: (value: { ...; }, index: number, array: { ..."}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
57
+ @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:`filter`,required:!0,type:{name:`{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S[]; (predicate: (value: { ...; }, index: number, array: { ...`}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
58
58
  @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
59
59
  @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
60
60
  @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
61
- @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: { date: string; time: string; isCapitalized: boolean; }, currentValue: { date: string; time: string; isCapitalized: boolean; }, currentIndex: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => { ...; }): { ...; }; (callbackfn: (previousValue: { ...; }, current..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
61
+ @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:`reduce`,required:!0,type:{name:`{ (callbackfn: (previousValue: { date: string; time: string; isCapitalized: boolean; }, currentValue: { date: string; time: string; isCapitalized: boolean; }, currentIndex: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => { ...; }): { ...; }; (callbackfn: (previousValue: { ...; }, current...`}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
62
62
  @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
63
63
  @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
64
64
  @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
65
- @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: { date: string; time: string; isCapitalized: boolean; }, currentValue: { date: string; time: string; isCapitalized: boolean; }, currentIndex: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => { ...; }): { ...; }; (callbackfn: (previousValue: { ...; }, current..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
65
+ @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:`reduceRight`,required:!0,type:{name:`{ (callbackfn: (previousValue: { date: string; time: string; isCapitalized: boolean; }, currentValue: { date: string; time: string; isCapitalized: boolean; }, currentIndex: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => { ...; }): { ...; }; (callbackfn: (previousValue: { ...; }, current...`}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
66
66
  otherwise.
67
67
  @param predicate find calls predicate once for each element of the array, in ascending
68
68
  order, until it finds one where predicate returns true. If such an element is found, find
69
69
  immediately returns that element value. Otherwise, find returns undefined.
70
70
  @param thisArg If provided, it will be used as the this value for each invocation of
71
- predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, obj: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: { ...; }, index: number, o..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
71
+ predicate. If it is not provided, undefined is used instead.`,name:`find`,required:!0,type:{name:`{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, obj: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: { ...; }, index: number, o...`}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
72
72
  otherwise.
73
73
  @param predicate find calls predicate once for each element of the array, in ascending
74
74
  order, until it finds one where predicate returns true. If such an element is found,
75
75
  findIndex immediately returns that element index. Otherwise, findIndex returns -1.
76
76
  @param thisArg If provided, it will be used as the this value for each invocation of
77
- predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, obj: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: { date: string; time: string; isCapitalized: boolean; }, start?: number | undefined, end?: number | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
77
+ predicate. If it is not provided, undefined is used instead.`,name:`findIndex`,required:!0,type:{name:`(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, obj: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => number`}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:`fill`,required:!0,type:{name:`(value: { date: string; time: string; isCapitalized: boolean; }, start?: number | undefined, end?: number | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]`}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
78
78
  to the same array starting at position target
79
79
  @param target If target is negative, it is treated as length+target where length is the
80
80
  length of the array.
81
81
  @param start If start is negative, it is treated as length+start. If end is negative, it
82
82
  is treated as length+end.
83
- @param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, { date: string; time: string; isCapitalized: boolean; }]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<{ date: string; time: string; isCapitalized: boolean; }>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
83
+ @param end If not specified, length of the this object is used as its default value.`,name:`copyWithin`,required:!0,type:{name:`(target: number, start: number, end?: number | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]`}},entries:{defaultValue:null,description:`Returns an iterable of key, value pairs for every entry in the array`,name:`entries`,required:!0,type:{name:`() => IterableIterator<[number, { date: string; time: string; isCapitalized: boolean; }]>`}},keys:{defaultValue:null,description:`Returns an iterable of keys in the array`,name:`keys`,required:!0,type:{name:`() => IterableIterator<number>`}},values:{defaultValue:null,description:`Returns an iterable of values in the array`,name:`values`,required:!0,type:{name:`() => IterableIterator<{ date: string; time: string; isCapitalized: boolean; }>`}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
84
84
  @param searchElement The element to search for.
85
- @param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
85
+ @param fromIndex The position in this array at which to begin searching for searchElement.`,name:`includes`,required:!0,type:{name:`(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => boolean`}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
86
86
  a new array.
87
87
  This is identical to a map followed by flat with depth 1.
88
88
  @param callback A function that accepts up to three arguments. The flatMap method calls the
89
89
  callback function one time for each element in the array.
90
90
  @param thisArg An object to which the this keyword can refer in the callback function. If
91
- thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
91
+ thisArg is omitted, undefined is used as the this value.`,name:`flatMap`,required:!0,type:{name:`<U, This = undefined>(callback: (this: This, value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => U | readonly U[], thisArg?: This | undefined) => U[]`}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
92
92
  specified depth.
93
- @param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
94
- @param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => { date: string; time: string; isCapitalized: boolean; } | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
93
+ @param depth The maximum recursion depth`,name:`flat`,required:!0,type:{name:`<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]`}},at:{defaultValue:null,description:`Returns the item located at the specified index.
94
+ @param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:`at`,required:!0,type:{name:`(index: number) => { date: string; time: string; isCapitalized: boolean; } | undefined`}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
95
95
  otherwise.
96
96
  @param predicate findLast calls predicate once for each element of the array, in descending
97
97
  order, until it finds one where predicate returns true. If such an element is found, findLast
98
98
  immediately returns that element value. Otherwise, findLast returns undefined.
99
99
  @param thisArg If provided, it will be used as the this value for each invocation of
100
- predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: { ...; }, index: number,..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
100
+ predicate. If it is not provided, undefined is used instead.`,name:`findLast`,required:!0,type:{name:`{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: { ...; }, index: number,...`}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
101
101
  otherwise.
102
102
  @param predicate findLastIndex calls predicate once for each element of the array, in descending
103
103
  order, until it finds one where predicate returns true. If such an element is found,
104
104
  findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
105
105
  @param thisArg If provided, it will be used as the this value for each invocation of
106
- predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => { date: string; time: string; isCapitalized: boolean; }[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: { date: string; time: string; isCapitalized: boolean; }, b: { date: string; time: string; isCapitalized: boolean; }) => number) | undefined) => { date: string; time: string; isCapitalized: boolean; }[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
106
+ predicate. If it is not provided, undefined is used instead.`,name:`findLastIndex`,required:!0,type:{name:`(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => number`}},toReversed:{defaultValue:null,description:`Returns a copy of an array with its elements reversed.`,name:`toReversed`,required:!0,type:{name:`() => { date: string; time: string; isCapitalized: boolean; }[]`}},toSorted:{defaultValue:null,description:`Returns a copy of an array with its elements sorted.
107
+ @param compareFn Function used to determine the order of the elements. It is expected to return
108
+ a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
109
+ value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
110
+ \`\`\`ts
111
+ [11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]
112
+ \`\`\``,name:`toSorted`,required:!0,type:{name:`(compareFn?: ((a: { date: string; time: string; isCapitalized: boolean; }, b: { date: string; time: string; isCapitalized: boolean; }) => number) | undefined) => { date: string; time: string; isCapitalized: boolean; }[]`}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
107
113
  Copies an array and removes elements while returning the remaining elements.
108
114
  @param start The zero-based location in the array from which to start removing elements.
109
115
  @param deleteCount The number of elements to remove.
@@ -111,47 +117,47 @@ Copies an array and removes elements while returning the remaining elements.
111
117
  @returns The copied array.
112
118
  @param start The zero-based location in the array from which to start removing elements.
113
119
  @param deleteCount The number of elements to remove.
114
- @returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: { date: string; time: string; isCapitalized: boolean; }[]): { date: string; time: string; isCapitalized: boolean; }[]; (start: number, deleteCount?: number | undefined): { ...; }[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
120
+ @returns A copy of the original array with the remaining elements.`,name:`toSpliced`,required:!0,type:{name:`{ (start: number, deleteCount: number, ...items: { date: string; time: string; isCapitalized: boolean; }[]): { date: string; time: string; isCapitalized: boolean; }[]; (start: number, deleteCount?: number | undefined): { ...; }[]; }`}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
115
121
  given value. If the index is negative, then it replaces from the end
116
122
  of the array.
117
123
  @param index The index of the value to overwrite. If the index is
118
124
  negative, then it replaces from the end of the array.
119
125
  @param value The value to write into the copied array.
120
- @returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: { date: string; time: string; isCapitalized: boolean; }) => { date: string; time: string; isCapitalized: boolean; }[]"}},"__@iterator@179":{defaultValue:null,description:"Iterator",name:"__@iterator@179",required:!0,type:{name:"() => IterableIterator<{ date: string; time: string; isCapitalized: boolean; }>"}},"__@unscopables@238":{defaultValue:null,description:`Is an object whose properties have the value 'true'
121
- when they will be absent when used in a 'with' statement.`,name:"__@unscopables@238",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{P.displayName="DateAndTimeRange",P.__docgenInfo={description:"",displayName:"DateAndTimeRange",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"{ date: string; timeRange: string; isCapitalized: boolean; }"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
122
- If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => { date: string; time: string; isCapitalized: boolean; } | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
123
- @param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: { date: string; time: string; isCapitalized: boolean; }[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
126
+ @returns The copied array with the updated value.`,name:`with`,required:!0,type:{name:`(index: number, value: { date: string; time: string; isCapitalized: boolean; }) => { date: string; time: string; isCapitalized: boolean; }[]`}},"__@iterator@128":{defaultValue:null,description:`Iterator`,name:`__@iterator@128`,required:!0,type:{name:`() => IterableIterator<{ date: string; time: string; isCapitalized: boolean; }>`}},"__@unscopables@130":{defaultValue:null,description:`Is an object whose properties have the value 'true'
127
+ when they will be absent when used in a 'with' statement.`,name:`__@unscopables@130`,required:!0,type:{name:`{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }`}}}}}catch{}try{l.displayName=`DateAndTimeRange`,l.__docgenInfo={description:``,displayName:`DateAndTimeRange`,props:{0:{defaultValue:null,description:``,name:`0`,required:!0,type:{name:`{ date: string; timeRange: string; isCapitalized: boolean; }`}},length:{defaultValue:null,description:``,name:`length`,required:!0,type:{name:`1`}},toString:{defaultValue:null,description:`Returns a string representation of an array.`,name:`toString`,required:!1,type:{name:`() => string`}},toLocaleString:{defaultValue:null,description:`Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.`,name:`toLocaleString`,required:!1,type:{name:`() => string`}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
128
+ If the array is empty, undefined is returned and the array is not modified.`,name:`pop`,required:!0,type:{name:`() => { date: string; time: string; isCapitalized: boolean; } | undefined`}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
129
+ @param items New elements to add to the array.`,name:`push`,required:!0,type:{name:`(...items: { date: string; time: string; isCapitalized: boolean; }[]) => number`}},concat:{defaultValue:null,description:`Combines two or more arrays.
124
130
  This method returns a new array without modifying any existing arrays.
125
131
  @param items Additional arrays and/or items to add to the end of the array.
126
- @param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<{ date: string; time: string; isCapitalized: boolean; }>[]): { date: string; time: string; isCapitalized: boolean; }[]; (...items: ({ date: string; time: string; isCapitalized: boolean; } | ConcatArray<...>)[]): { ...; }[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
127
- @param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
128
- This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => { date: string; time: string; isCapitalized: boolean; }[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
129
- If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => { date: string; time: string; isCapitalized: boolean; } | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
132
+ @param items Additional arrays and/or items to add to the end of the array.`,name:`concat`,required:!0,type:{name:`{ (...items: ConcatArray<{ date: string; time: string; isCapitalized: boolean; }>[]): { date: string; time: string; isCapitalized: boolean; }[]; (...items: ({ date: string; time: string; isCapitalized: boolean; } | ConcatArray<...>)[]): { ...; }[]; }`}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
133
+ @param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:`join`,required:!0,type:{name:`(separator?: string | undefined) => string`}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
134
+ This method mutates the array and returns a reference to the same array.`,name:`reverse`,required:!0,type:{name:`() => { date: string; time: string; isCapitalized: boolean; }[]`}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
135
+ If the array is empty, undefined is returned and the array is not modified.`,name:`shift`,required:!0,type:{name:`() => { date: string; time: string; isCapitalized: boolean; } | undefined`}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
130
136
  For both start and end, a negative index can be used to indicate an offset from the end of the array.
131
137
  For example, -2 refers to the second to last element of the array.
132
138
  @param start The beginning index of the specified portion of the array.
133
139
  If start is undefined, then the slice begins at index 0.
134
140
  @param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
135
- If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => { date: string; time: string; isCapitalized: boolean; }[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
141
+ If end is undefined, then the slice extends to the end of the array.`,name:`slice`,required:!0,type:{name:`(start?: number | undefined, end?: number | undefined) => { date: string; time: string; isCapitalized: boolean; }[]`}},sort:{defaultValue:null,description:`Sorts an array in place.
136
142
  This method mutates the array and returns a reference to the same array.
137
143
  @param compareFn Function used to determine the order of the elements. It is expected to return
138
144
  a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
139
145
  value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
140
146
  \`\`\`ts
141
147
  [11,2,22,1].sort((a, b) => a - b)
142
- \`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: { date: string; time: string; isCapitalized: boolean; }, b: { date: string; time: string; isCapitalized: boolean; }) => number) | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
148
+ \`\`\``,name:`sort`,required:!0,type:{name:`(compareFn?: ((a: { date: string; time: string; isCapitalized: boolean; }, b: { date: string; time: string; isCapitalized: boolean; }) => number) | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]`}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
143
149
  @param start The zero-based location in the array from which to start removing elements.
144
150
  @param deleteCount The number of elements to remove.
145
151
  @returns An array containing the elements that were deleted.
146
152
  @param start The zero-based location in the array from which to start removing elements.
147
153
  @param deleteCount The number of elements to remove.
148
154
  @param items Elements to insert into the array in place of the deleted elements.
149
- @returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): { date: string; time: string; isCapitalized: boolean; }[]; (start: number, deleteCount: number, ...items: { date: string; time: string; isCapitalized: boolean; }[]): { ...; }[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
150
- @param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: { date: string; time: string; isCapitalized: boolean; }[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
155
+ @returns An array containing the elements that were deleted.`,name:`splice`,required:!0,type:{name:`{ (start: number, deleteCount?: number | undefined): { date: string; time: string; isCapitalized: boolean; }[]; (start: number, deleteCount: number, ...items: { date: string; time: string; isCapitalized: boolean; }[]): { ...; }[]; }`}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
156
+ @param items Elements to insert at the start of the array.`,name:`unshift`,required:!0,type:{name:`(...items: { date: string; time: string; isCapitalized: boolean; }[]) => number`}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
151
157
  @param searchElement The value to locate in the array.
152
- @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
158
+ @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:`indexOf`,required:!0,type:{name:`(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => number`}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
153
159
  @param searchElement The value to locate in the array.
154
- @param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
160
+ @param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:`lastIndexOf`,required:!0,type:{name:`(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => number`}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
155
161
  @param predicate A function that accepts up to three arguments. The every method calls
156
162
  the predicate function for each element in the array until the predicate returns a value
157
163
  which is coercible to the Boolean value false, or until the end of the array.
@@ -161,69 +167,75 @@ If thisArg is omitted, undefined is used as the this value.
161
167
  the predicate function for each element in the array until the predicate returns a value
162
168
  which is coercible to the Boolean value false, or until the end of the array.
163
169
  @param thisArg An object to which the this keyword can refer in the predicate function.
164
- If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: { ...; }, index: number, a..."}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
170
+ If thisArg is omitted, undefined is used as the this value.`,name:`every`,required:!0,type:{name:`{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: { ...; }, index: number, a...`}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
165
171
  @param predicate A function that accepts up to three arguments. The some method calls
166
172
  the predicate function for each element in the array until the predicate returns a value
167
173
  which is coercible to the Boolean value true, or until the end of the array.
168
174
  @param thisArg An object to which the this keyword can refer in the predicate function.
169
- If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
175
+ If thisArg is omitted, undefined is used as the this value.`,name:`some`,required:!0,type:{name:`(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => boolean`}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
170
176
  @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
171
- @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
177
+ @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:`forEach`,required:!0,type:{name:`(callbackfn: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => void, thisArg?: any) => void`}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
172
178
  @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
173
- @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
179
+ @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:`map`,required:!0,type:{name:`<U>(callbackfn: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => U, thisArg?: any) => U[]`}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
174
180
  @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
175
181
  @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
176
182
  @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
177
- @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S[]; (predicate: (value: { ...; }, index: number, array: { ..."}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
183
+ @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:`filter`,required:!0,type:{name:`{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S[]; (predicate: (value: { ...; }, index: number, array: { ...`}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
178
184
  @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
179
185
  @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
180
186
  @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
181
- @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: { date: string; time: string; isCapitalized: boolean; }, currentValue: { date: string; time: string; isCapitalized: boolean; }, currentIndex: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => { ...; }): { ...; }; (callbackfn: (previousValue: { ...; }, current..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
187
+ @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:`reduce`,required:!0,type:{name:`{ (callbackfn: (previousValue: { date: string; time: string; isCapitalized: boolean; }, currentValue: { date: string; time: string; isCapitalized: boolean; }, currentIndex: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => { ...; }): { ...; }; (callbackfn: (previousValue: { ...; }, current...`}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
182
188
  @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
183
189
  @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
184
190
  @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
185
- @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: { date: string; time: string; isCapitalized: boolean; }, currentValue: { date: string; time: string; isCapitalized: boolean; }, currentIndex: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => { ...; }): { ...; }; (callbackfn: (previousValue: { ...; }, current..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
191
+ @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:`reduceRight`,required:!0,type:{name:`{ (callbackfn: (previousValue: { date: string; time: string; isCapitalized: boolean; }, currentValue: { date: string; time: string; isCapitalized: boolean; }, currentIndex: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => { ...; }): { ...; }; (callbackfn: (previousValue: { ...; }, current...`}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
186
192
  otherwise.
187
193
  @param predicate find calls predicate once for each element of the array, in ascending
188
194
  order, until it finds one where predicate returns true. If such an element is found, find
189
195
  immediately returns that element value. Otherwise, find returns undefined.
190
196
  @param thisArg If provided, it will be used as the this value for each invocation of
191
- predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, obj: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: { ...; }, index: number, o..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
197
+ predicate. If it is not provided, undefined is used instead.`,name:`find`,required:!0,type:{name:`{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, obj: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: { ...; }, index: number, o...`}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
192
198
  otherwise.
193
199
  @param predicate find calls predicate once for each element of the array, in ascending
194
200
  order, until it finds one where predicate returns true. If such an element is found,
195
201
  findIndex immediately returns that element index. Otherwise, findIndex returns -1.
196
202
  @param thisArg If provided, it will be used as the this value for each invocation of
197
- predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, obj: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: { date: string; time: string; isCapitalized: boolean; }, start?: number | undefined, end?: number | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
203
+ predicate. If it is not provided, undefined is used instead.`,name:`findIndex`,required:!0,type:{name:`(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, obj: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => number`}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:`fill`,required:!0,type:{name:`(value: { date: string; time: string; isCapitalized: boolean; }, start?: number | undefined, end?: number | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]`}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
198
204
  to the same array starting at position target
199
205
  @param target If target is negative, it is treated as length+target where length is the
200
206
  length of the array.
201
207
  @param start If start is negative, it is treated as length+start. If end is negative, it
202
208
  is treated as length+end.
203
- @param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, { date: string; time: string; isCapitalized: boolean; }]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<{ date: string; time: string; isCapitalized: boolean; }>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
209
+ @param end If not specified, length of the this object is used as its default value.`,name:`copyWithin`,required:!0,type:{name:`(target: number, start: number, end?: number | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]`}},entries:{defaultValue:null,description:`Returns an iterable of key, value pairs for every entry in the array`,name:`entries`,required:!0,type:{name:`() => IterableIterator<[number, { date: string; time: string; isCapitalized: boolean; }]>`}},keys:{defaultValue:null,description:`Returns an iterable of keys in the array`,name:`keys`,required:!0,type:{name:`() => IterableIterator<number>`}},values:{defaultValue:null,description:`Returns an iterable of values in the array`,name:`values`,required:!0,type:{name:`() => IterableIterator<{ date: string; time: string; isCapitalized: boolean; }>`}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
204
210
  @param searchElement The element to search for.
205
- @param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
211
+ @param fromIndex The position in this array at which to begin searching for searchElement.`,name:`includes`,required:!0,type:{name:`(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => boolean`}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
206
212
  a new array.
207
213
  This is identical to a map followed by flat with depth 1.
208
214
  @param callback A function that accepts up to three arguments. The flatMap method calls the
209
215
  callback function one time for each element in the array.
210
216
  @param thisArg An object to which the this keyword can refer in the callback function. If
211
- thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
217
+ thisArg is omitted, undefined is used as the this value.`,name:`flatMap`,required:!0,type:{name:`<U, This = undefined>(callback: (this: This, value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => U | readonly U[], thisArg?: This | undefined) => U[]`}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
212
218
  specified depth.
213
- @param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
214
- @param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => { date: string; time: string; isCapitalized: boolean; } | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
219
+ @param depth The maximum recursion depth`,name:`flat`,required:!0,type:{name:`<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]`}},at:{defaultValue:null,description:`Returns the item located at the specified index.
220
+ @param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:`at`,required:!0,type:{name:`(index: number) => { date: string; time: string; isCapitalized: boolean; } | undefined`}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
215
221
  otherwise.
216
222
  @param predicate findLast calls predicate once for each element of the array, in descending
217
223
  order, until it finds one where predicate returns true. If such an element is found, findLast
218
224
  immediately returns that element value. Otherwise, findLast returns undefined.
219
225
  @param thisArg If provided, it will be used as the this value for each invocation of
220
- predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: { ...; }, index: number,..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
226
+ predicate. If it is not provided, undefined is used instead.`,name:`findLast`,required:!0,type:{name:`{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: { ...; }, index: number,...`}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
221
227
  otherwise.
222
228
  @param predicate findLastIndex calls predicate once for each element of the array, in descending
223
229
  order, until it finds one where predicate returns true. If such an element is found,
224
230
  findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
225
231
  @param thisArg If provided, it will be used as the this value for each invocation of
226
- predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => { date: string; time: string; isCapitalized: boolean; }[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: { date: string; time: string; isCapitalized: boolean; }, b: { date: string; time: string; isCapitalized: boolean; }) => number) | undefined) => { date: string; time: string; isCapitalized: boolean; }[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
232
+ predicate. If it is not provided, undefined is used instead.`,name:`findLastIndex`,required:!0,type:{name:`(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => number`}},toReversed:{defaultValue:null,description:`Returns a copy of an array with its elements reversed.`,name:`toReversed`,required:!0,type:{name:`() => { date: string; time: string; isCapitalized: boolean; }[]`}},toSorted:{defaultValue:null,description:`Returns a copy of an array with its elements sorted.
233
+ @param compareFn Function used to determine the order of the elements. It is expected to return
234
+ a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
235
+ value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
236
+ \`\`\`ts
237
+ [11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]
238
+ \`\`\``,name:`toSorted`,required:!0,type:{name:`(compareFn?: ((a: { date: string; time: string; isCapitalized: boolean; }, b: { date: string; time: string; isCapitalized: boolean; }) => number) | undefined) => { date: string; time: string; isCapitalized: boolean; }[]`}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
227
239
  Copies an array and removes elements while returning the remaining elements.
228
240
  @param start The zero-based location in the array from which to start removing elements.
229
241
  @param deleteCount The number of elements to remove.
@@ -231,47 +243,47 @@ Copies an array and removes elements while returning the remaining elements.
231
243
  @returns The copied array.
232
244
  @param start The zero-based location in the array from which to start removing elements.
233
245
  @param deleteCount The number of elements to remove.
234
- @returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: { date: string; time: string; isCapitalized: boolean; }[]): { date: string; time: string; isCapitalized: boolean; }[]; (start: number, deleteCount?: number | undefined): { ...; }[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
246
+ @returns A copy of the original array with the remaining elements.`,name:`toSpliced`,required:!0,type:{name:`{ (start: number, deleteCount: number, ...items: { date: string; time: string; isCapitalized: boolean; }[]): { date: string; time: string; isCapitalized: boolean; }[]; (start: number, deleteCount?: number | undefined): { ...; }[]; }`}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
235
247
  given value. If the index is negative, then it replaces from the end
236
248
  of the array.
237
249
  @param index The index of the value to overwrite. If the index is
238
250
  negative, then it replaces from the end of the array.
239
251
  @param value The value to write into the copied array.
240
- @returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: { date: string; time: string; isCapitalized: boolean; }) => { date: string; time: string; isCapitalized: boolean; }[]"}},"__@iterator@179":{defaultValue:null,description:"Iterator",name:"__@iterator@179",required:!0,type:{name:"() => IterableIterator<{ date: string; time: string; isCapitalized: boolean; }>"}},"__@unscopables@238":{defaultValue:null,description:`Is an object whose properties have the value 'true'
241
- when they will be absent when used in a 'with' statement.`,name:"__@unscopables@238",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{U.displayName="DateTimeAndDateTime",U.__docgenInfo={description:"",displayName:"DateTimeAndDateTime",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"{ dateTimeStart: string; dateTimeEnd: string; isCapitalized: boolean; }"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
242
- If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => { date: string; time: string; isCapitalized: boolean; } | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
243
- @param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: { date: string; time: string; isCapitalized: boolean; }[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
252
+ @returns The copied array with the updated value.`,name:`with`,required:!0,type:{name:`(index: number, value: { date: string; time: string; isCapitalized: boolean; }) => { date: string; time: string; isCapitalized: boolean; }[]`}},"__@iterator@128":{defaultValue:null,description:`Iterator`,name:`__@iterator@128`,required:!0,type:{name:`() => IterableIterator<{ date: string; time: string; isCapitalized: boolean; }>`}},"__@unscopables@130":{defaultValue:null,description:`Is an object whose properties have the value 'true'
253
+ when they will be absent when used in a 'with' statement.`,name:`__@unscopables@130`,required:!0,type:{name:`{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }`}}}}}catch{}try{u.displayName=`DateTimeAndDateTime`,u.__docgenInfo={description:``,displayName:`DateTimeAndDateTime`,props:{0:{defaultValue:null,description:``,name:`0`,required:!0,type:{name:`{ dateTimeStart: string; dateTimeEnd: string; isCapitalized: boolean; }`}},length:{defaultValue:null,description:``,name:`length`,required:!0,type:{name:`1`}},toString:{defaultValue:null,description:`Returns a string representation of an array.`,name:`toString`,required:!1,type:{name:`() => string`}},toLocaleString:{defaultValue:null,description:`Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.`,name:`toLocaleString`,required:!1,type:{name:`() => string`}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
254
+ If the array is empty, undefined is returned and the array is not modified.`,name:`pop`,required:!0,type:{name:`() => { date: string; time: string; isCapitalized: boolean; } | undefined`}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
255
+ @param items New elements to add to the array.`,name:`push`,required:!0,type:{name:`(...items: { date: string; time: string; isCapitalized: boolean; }[]) => number`}},concat:{defaultValue:null,description:`Combines two or more arrays.
244
256
  This method returns a new array without modifying any existing arrays.
245
257
  @param items Additional arrays and/or items to add to the end of the array.
246
- @param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<{ date: string; time: string; isCapitalized: boolean; }>[]): { date: string; time: string; isCapitalized: boolean; }[]; (...items: ({ date: string; time: string; isCapitalized: boolean; } | ConcatArray<...>)[]): { ...; }[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
247
- @param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
248
- This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => { date: string; time: string; isCapitalized: boolean; }[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
249
- If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => { date: string; time: string; isCapitalized: boolean; } | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
258
+ @param items Additional arrays and/or items to add to the end of the array.`,name:`concat`,required:!0,type:{name:`{ (...items: ConcatArray<{ date: string; time: string; isCapitalized: boolean; }>[]): { date: string; time: string; isCapitalized: boolean; }[]; (...items: ({ date: string; time: string; isCapitalized: boolean; } | ConcatArray<...>)[]): { ...; }[]; }`}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
259
+ @param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:`join`,required:!0,type:{name:`(separator?: string | undefined) => string`}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
260
+ This method mutates the array and returns a reference to the same array.`,name:`reverse`,required:!0,type:{name:`() => { date: string; time: string; isCapitalized: boolean; }[]`}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
261
+ If the array is empty, undefined is returned and the array is not modified.`,name:`shift`,required:!0,type:{name:`() => { date: string; time: string; isCapitalized: boolean; } | undefined`}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
250
262
  For both start and end, a negative index can be used to indicate an offset from the end of the array.
251
263
  For example, -2 refers to the second to last element of the array.
252
264
  @param start The beginning index of the specified portion of the array.
253
265
  If start is undefined, then the slice begins at index 0.
254
266
  @param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
255
- If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => { date: string; time: string; isCapitalized: boolean; }[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
267
+ If end is undefined, then the slice extends to the end of the array.`,name:`slice`,required:!0,type:{name:`(start?: number | undefined, end?: number | undefined) => { date: string; time: string; isCapitalized: boolean; }[]`}},sort:{defaultValue:null,description:`Sorts an array in place.
256
268
  This method mutates the array and returns a reference to the same array.
257
269
  @param compareFn Function used to determine the order of the elements. It is expected to return
258
270
  a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
259
271
  value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
260
272
  \`\`\`ts
261
273
  [11,2,22,1].sort((a, b) => a - b)
262
- \`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: { date: string; time: string; isCapitalized: boolean; }, b: { date: string; time: string; isCapitalized: boolean; }) => number) | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
274
+ \`\`\``,name:`sort`,required:!0,type:{name:`(compareFn?: ((a: { date: string; time: string; isCapitalized: boolean; }, b: { date: string; time: string; isCapitalized: boolean; }) => number) | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]`}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
263
275
  @param start The zero-based location in the array from which to start removing elements.
264
276
  @param deleteCount The number of elements to remove.
265
277
  @returns An array containing the elements that were deleted.
266
278
  @param start The zero-based location in the array from which to start removing elements.
267
279
  @param deleteCount The number of elements to remove.
268
280
  @param items Elements to insert into the array in place of the deleted elements.
269
- @returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): { date: string; time: string; isCapitalized: boolean; }[]; (start: number, deleteCount: number, ...items: { date: string; time: string; isCapitalized: boolean; }[]): { ...; }[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
270
- @param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: { date: string; time: string; isCapitalized: boolean; }[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
281
+ @returns An array containing the elements that were deleted.`,name:`splice`,required:!0,type:{name:`{ (start: number, deleteCount?: number | undefined): { date: string; time: string; isCapitalized: boolean; }[]; (start: number, deleteCount: number, ...items: { date: string; time: string; isCapitalized: boolean; }[]): { ...; }[]; }`}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
282
+ @param items Elements to insert at the start of the array.`,name:`unshift`,required:!0,type:{name:`(...items: { date: string; time: string; isCapitalized: boolean; }[]) => number`}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
271
283
  @param searchElement The value to locate in the array.
272
- @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
284
+ @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:`indexOf`,required:!0,type:{name:`(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => number`}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
273
285
  @param searchElement The value to locate in the array.
274
- @param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
286
+ @param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:`lastIndexOf`,required:!0,type:{name:`(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => number`}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
275
287
  @param predicate A function that accepts up to three arguments. The every method calls
276
288
  the predicate function for each element in the array until the predicate returns a value
277
289
  which is coercible to the Boolean value false, or until the end of the array.
@@ -281,69 +293,75 @@ If thisArg is omitted, undefined is used as the this value.
281
293
  the predicate function for each element in the array until the predicate returns a value
282
294
  which is coercible to the Boolean value false, or until the end of the array.
283
295
  @param thisArg An object to which the this keyword can refer in the predicate function.
284
- If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: { ...; }, index: number, a..."}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
296
+ If thisArg is omitted, undefined is used as the this value.`,name:`every`,required:!0,type:{name:`{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: { ...; }, index: number, a...`}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
285
297
  @param predicate A function that accepts up to three arguments. The some method calls
286
298
  the predicate function for each element in the array until the predicate returns a value
287
299
  which is coercible to the Boolean value true, or until the end of the array.
288
300
  @param thisArg An object to which the this keyword can refer in the predicate function.
289
- If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
301
+ If thisArg is omitted, undefined is used as the this value.`,name:`some`,required:!0,type:{name:`(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => boolean`}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
290
302
  @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
291
- @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
303
+ @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:`forEach`,required:!0,type:{name:`(callbackfn: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => void, thisArg?: any) => void`}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
292
304
  @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
293
- @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
305
+ @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:`map`,required:!0,type:{name:`<U>(callbackfn: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => U, thisArg?: any) => U[]`}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
294
306
  @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
295
307
  @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
296
308
  @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
297
- @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S[]; (predicate: (value: { ...; }, index: number, array: { ..."}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
309
+ @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:`filter`,required:!0,type:{name:`{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S[]; (predicate: (value: { ...; }, index: number, array: { ...`}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
298
310
  @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
299
311
  @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
300
312
  @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
301
- @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: { date: string; time: string; isCapitalized: boolean; }, currentValue: { date: string; time: string; isCapitalized: boolean; }, currentIndex: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => { ...; }): { ...; }; (callbackfn: (previousValue: { ...; }, current..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
313
+ @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:`reduce`,required:!0,type:{name:`{ (callbackfn: (previousValue: { date: string; time: string; isCapitalized: boolean; }, currentValue: { date: string; time: string; isCapitalized: boolean; }, currentIndex: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => { ...; }): { ...; }; (callbackfn: (previousValue: { ...; }, current...`}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
302
314
  @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
303
315
  @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
304
316
  @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
305
- @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: { date: string; time: string; isCapitalized: boolean; }, currentValue: { date: string; time: string; isCapitalized: boolean; }, currentIndex: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => { ...; }): { ...; }; (callbackfn: (previousValue: { ...; }, current..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
317
+ @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:`reduceRight`,required:!0,type:{name:`{ (callbackfn: (previousValue: { date: string; time: string; isCapitalized: boolean; }, currentValue: { date: string; time: string; isCapitalized: boolean; }, currentIndex: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => { ...; }): { ...; }; (callbackfn: (previousValue: { ...; }, current...`}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
306
318
  otherwise.
307
319
  @param predicate find calls predicate once for each element of the array, in ascending
308
320
  order, until it finds one where predicate returns true. If such an element is found, find
309
321
  immediately returns that element value. Otherwise, find returns undefined.
310
322
  @param thisArg If provided, it will be used as the this value for each invocation of
311
- predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, obj: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: { ...; }, index: number, o..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
323
+ predicate. If it is not provided, undefined is used instead.`,name:`find`,required:!0,type:{name:`{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, obj: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: { ...; }, index: number, o...`}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
312
324
  otherwise.
313
325
  @param predicate find calls predicate once for each element of the array, in ascending
314
326
  order, until it finds one where predicate returns true. If such an element is found,
315
327
  findIndex immediately returns that element index. Otherwise, findIndex returns -1.
316
328
  @param thisArg If provided, it will be used as the this value for each invocation of
317
- predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, obj: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: { date: string; time: string; isCapitalized: boolean; }, start?: number | undefined, end?: number | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
329
+ predicate. If it is not provided, undefined is used instead.`,name:`findIndex`,required:!0,type:{name:`(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, obj: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => number`}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:`fill`,required:!0,type:{name:`(value: { date: string; time: string; isCapitalized: boolean; }, start?: number | undefined, end?: number | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]`}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
318
330
  to the same array starting at position target
319
331
  @param target If target is negative, it is treated as length+target where length is the
320
332
  length of the array.
321
333
  @param start If start is negative, it is treated as length+start. If end is negative, it
322
334
  is treated as length+end.
323
- @param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, { date: string; time: string; isCapitalized: boolean; }]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<{ date: string; time: string; isCapitalized: boolean; }>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
335
+ @param end If not specified, length of the this object is used as its default value.`,name:`copyWithin`,required:!0,type:{name:`(target: number, start: number, end?: number | undefined) => [{ date: string; time: string; isCapitalized: boolean; }]`}},entries:{defaultValue:null,description:`Returns an iterable of key, value pairs for every entry in the array`,name:`entries`,required:!0,type:{name:`() => IterableIterator<[number, { date: string; time: string; isCapitalized: boolean; }]>`}},keys:{defaultValue:null,description:`Returns an iterable of keys in the array`,name:`keys`,required:!0,type:{name:`() => IterableIterator<number>`}},values:{defaultValue:null,description:`Returns an iterable of values in the array`,name:`values`,required:!0,type:{name:`() => IterableIterator<{ date: string; time: string; isCapitalized: boolean; }>`}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
324
336
  @param searchElement The element to search for.
325
- @param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
337
+ @param fromIndex The position in this array at which to begin searching for searchElement.`,name:`includes`,required:!0,type:{name:`(searchElement: { date: string; time: string; isCapitalized: boolean; }, fromIndex?: number | undefined) => boolean`}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
326
338
  a new array.
327
339
  This is identical to a map followed by flat with depth 1.
328
340
  @param callback A function that accepts up to three arguments. The flatMap method calls the
329
341
  callback function one time for each element in the array.
330
342
  @param thisArg An object to which the this keyword can refer in the callback function. If
331
- thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
343
+ thisArg is omitted, undefined is used as the this value.`,name:`flatMap`,required:!0,type:{name:`<U, This = undefined>(callback: (this: This, value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => U | readonly U[], thisArg?: This | undefined) => U[]`}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
332
344
  specified depth.
333
- @param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
334
- @param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => { date: string; time: string; isCapitalized: boolean; } | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
345
+ @param depth The maximum recursion depth`,name:`flat`,required:!0,type:{name:`<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]`}},at:{defaultValue:null,description:`Returns the item located at the specified index.
346
+ @param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:`at`,required:!0,type:{name:`(index: number) => { date: string; time: string; isCapitalized: boolean; } | undefined`}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
335
347
  otherwise.
336
348
  @param predicate findLast calls predicate once for each element of the array, in descending
337
349
  order, until it finds one where predicate returns true. If such an element is found, findLast
338
350
  immediately returns that element value. Otherwise, findLast returns undefined.
339
351
  @param thisArg If provided, it will be used as the this value for each invocation of
340
- predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: { ...; }, index: number,..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
352
+ predicate. If it is not provided, undefined is used instead.`,name:`findLast`,required:!0,type:{name:`{ <S extends { date: string; time: string; isCapitalized: boolean; }>(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: { ...; }, index: number,...`}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
341
353
  otherwise.
342
354
  @param predicate findLastIndex calls predicate once for each element of the array, in descending
343
355
  order, until it finds one where predicate returns true. If such an element is found,
344
356
  findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
345
357
  @param thisArg If provided, it will be used as the this value for each invocation of
346
- predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => { date: string; time: string; isCapitalized: boolean; }[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: { date: string; time: string; isCapitalized: boolean; }, b: { date: string; time: string; isCapitalized: boolean; }) => number) | undefined) => { date: string; time: string; isCapitalized: boolean; }[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
358
+ predicate. If it is not provided, undefined is used instead.`,name:`findLastIndex`,required:!0,type:{name:`(predicate: (value: { date: string; time: string; isCapitalized: boolean; }, index: number, array: { date: string; time: string; isCapitalized: boolean; }[]) => unknown, thisArg?: any) => number`}},toReversed:{defaultValue:null,description:`Returns a copy of an array with its elements reversed.`,name:`toReversed`,required:!0,type:{name:`() => { date: string; time: string; isCapitalized: boolean; }[]`}},toSorted:{defaultValue:null,description:`Returns a copy of an array with its elements sorted.
359
+ @param compareFn Function used to determine the order of the elements. It is expected to return
360
+ a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
361
+ value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
362
+ \`\`\`ts
363
+ [11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]
364
+ \`\`\``,name:`toSorted`,required:!0,type:{name:`(compareFn?: ((a: { date: string; time: string; isCapitalized: boolean; }, b: { date: string; time: string; isCapitalized: boolean; }) => number) | undefined) => { date: string; time: string; isCapitalized: boolean; }[]`}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
347
365
  Copies an array and removes elements while returning the remaining elements.
348
366
  @param start The zero-based location in the array from which to start removing elements.
349
367
  @param deleteCount The number of elements to remove.
@@ -351,11 +369,11 @@ Copies an array and removes elements while returning the remaining elements.
351
369
  @returns The copied array.
352
370
  @param start The zero-based location in the array from which to start removing elements.
353
371
  @param deleteCount The number of elements to remove.
354
- @returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: { date: string; time: string; isCapitalized: boolean; }[]): { date: string; time: string; isCapitalized: boolean; }[]; (start: number, deleteCount?: number | undefined): { ...; }[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
372
+ @returns A copy of the original array with the remaining elements.`,name:`toSpliced`,required:!0,type:{name:`{ (start: number, deleteCount: number, ...items: { date: string; time: string; isCapitalized: boolean; }[]): { date: string; time: string; isCapitalized: boolean; }[]; (start: number, deleteCount?: number | undefined): { ...; }[]; }`}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
355
373
  given value. If the index is negative, then it replaces from the end
356
374
  of the array.
357
375
  @param index The index of the value to overwrite. If the index is
358
376
  negative, then it replaces from the end of the array.
359
377
  @param value The value to write into the copied array.
360
- @returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: { date: string; time: string; isCapitalized: boolean; }) => { date: string; time: string; isCapitalized: boolean; }[]"}},"__@iterator@179":{defaultValue:null,description:"Iterator",name:"__@iterator@179",required:!0,type:{name:"() => IterableIterator<{ date: string; time: string; isCapitalized: boolean; }>"}},"__@unscopables@238":{defaultValue:null,description:`Is an object whose properties have the value 'true'
361
- when they will be absent when used in a 'with' statement.`,name:"__@unscopables@238",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}const qe=60,Se=60*1e3,Ee="https://preply.atlassian.net/wiki/spaces/PKB/pages/4410572869/How+to+format+a+date+and+time+in+the+WEB",je=[{Formatter:({date:e,dateStart:a,dateEnd:i,countryCode:c,isCapitalized:r,dateFormatterName:o,timeFormatterName:l})=>{const u=E(),s=j(),f=u[o??""]({date:e,dateStart:a,dateEnd:i,isCapitalized:r}),v=s[l??""]({date:e,dateStart:a,dateEnd:i,countryCode:c});return t.jsx(M.DateAndTime,{date:f,time:v,isCapitalized:r})},labels:["DateAndTime","formatDateAndTime"],tags:["✅ all-usages"],timeFormatterName:"formatTime"},{Formatter:({date:e,dateStart:a,dateEnd:i,countryCode:c,isCapitalized:r,dateFormatterName:o,timeFormatterName:l})=>{const u=E(),s=j(),f=u[o??""]({date:e,dateStart:a,dateEnd:i,isCapitalized:r}),v=s[l??""]({date:e,dateStart:a,dateEnd:i,countryCode:c});return t.jsx(M.DateAndTimeRange,{date:f,timeRange:v,isCapitalized:r})},labels:["DateAndTimeRange","formatDateAndTimeRange"],tags:["✅ all-usages"],timeFormatterName:"formatTimeRange"},{Formatter:({date:e,dateStart:a,dateEnd:i,countryCode:c,isCapitalized:r,dateFormatterName:o,timeFormatterName:l})=>{const u=E(),s=j(),{formatDateAndTime:f}=k(),v=u[o??""]({date:e,dateStart:a,dateEnd:i,isCapitalized:r}),x=u[o??""]({date:e,dateStart:a,dateEnd:i,isCapitalized:r}),R=s[l??""]({date:e,countryCode:c}),T=s[l??""]({date:i,countryCode:c}),w=f({date:v,time:R,isCapitalized:r}),A=f({date:x,time:T,isCapitalized:r});return t.jsx(M.DateTimeAndDateTime,{dateTimeStart:w,dateTimeEnd:A,isCapitalized:r})},labels:["DateTimeAndDateTime","formatDateTimeAndDateTime"],tags:["✅ all-usages"],timeFormatterName:"formatTime"}],Le=e=>!Number.isNaN(e.getTime()),X=(e,a)=>new Date(e.getTime()+a*qe*Se),ee=e=>/^[A-Z]/.test(e),Fe={en:async()=>(await n(async()=>{const{default:e}=await import("./en-DmA3N6t9.js");return{default:e}},[],import.meta.url)).default,es:async()=>(await n(async()=>{const{default:e}=await import("./es-C4sqCVWL.js");return{default:e}},[],import.meta.url)).default,fr:async()=>(await n(async()=>{const{default:e}=await import("./fr-BxUkVECU.js");return{default:e}},[],import.meta.url)).default,de:async()=>(await n(async()=>{const{default:e}=await import("./de-CWLDjtzP.js");return{default:e}},[],import.meta.url)).default,it:async()=>(await n(async()=>{const{default:e}=await import("./it-kJJ1S0qv.js");return{default:e}},[],import.meta.url)).default,ua:async()=>(await n(async()=>{const{default:e}=await import("./ua-rcge5Swp.js");return{default:e}},[],import.meta.url)).default,pl:async()=>(await n(async()=>{const{default:e}=await import("./pl-B4SjM4RJ.js");return{default:e}},[],import.meta.url)).default,pt:async()=>(await n(async()=>{const{default:e}=await import("./pt-B_cv-Bbz.js");return{default:e}},[],import.meta.url)).default,tr:async()=>(await n(async()=>{const{default:e}=await import("./tr-ByOPzs3p.js");return{default:e}},[],import.meta.url)).default,id:async()=>(await n(async()=>{const{default:e}=await import("./id-BUwhaEpp.js");return{default:e}},[],import.meta.url)).default,zh:async()=>(await n(async()=>{const{default:e}=await import("./zh-B9zAtuTc.js");return{default:e}},[],import.meta.url)).default,ja:async()=>(await n(async()=>{const{default:e}=await import("./ja-CThSHCIs.js");return{default:e}},[],import.meta.url)).default,ko:async()=>(await n(async()=>{const{default:e}=await import("./ko-B1qhOecF.js");return{default:e}},[],import.meta.url)).default,ar:async()=>(await n(async()=>{const{default:e}=await import("./ar-D1Y8jKvF.js");return{default:e}},[],import.meta.url)).default,nl:async()=>(await n(async()=>{const{default:e}=await import("./nl-CEfRou2e.js");return{default:e}},[],import.meta.url)).default,ro:async()=>(await n(async()=>{const{default:e}=await import("./ro-Wp2i1-uz.js");return{default:e}},[],import.meta.url)).default,ru:async()=>(await n(async()=>{const{default:e}=await import("./ru-C9RPHSvh.js");return{default:e}},[],import.meta.url)).default,sv:async()=>(await n(async()=>{const{default:e}=await import("./sv-BV70iAZ6.js");return{default:e}},[],import.meta.url)).default,th:async()=>(await n(async()=>{const{default:e}=await import("./th-DQ6Pn590.js");return{default:e}},[],import.meta.url)).default,cs:async()=>(await n(async()=>{const{default:e}=await import("./cs-CamDwf-r.js");return{default:e}},[],import.meta.url)).default,tw:async()=>(await n(async()=>{const{default:e}=await import("./tw-CamDwf-r.js");return{default:e}},[],import.meta.url)).default,hk:async()=>(await n(async()=>{const{default:e}=await import("./hk-CamDwf-r.js");return{default:e}},[],import.meta.url)).default},ie=()=>{const[e,a]=y.useState(""),[i,c]=y.useState(""),[r,o]=y.useState({en:{},es:{},fr:{},de:{},it:{},uk:{},pl:{},pt:{},tr:{},id:{},zh:{},ja:{},ko:{},ar:{},nl:{},ro:{},ru:{},sv:{},th:{},cs:{},"zh-TW":{},"zh-HK":{}});y.useEffect(()=>{(async()=>{try{const h=await Promise.all(Object.entries(Fe).map(async([p,b])=>{const g=await b();return[p,g]}));o(Object.fromEntries(h))}catch(h){console.error("Failed to load locale messages:",h)}})()},[]);const l=Object.keys(r.en).length!==0,s=new Date().toISOString().slice(0,16),f=1,v=Y,[x,R]=y.useState(s),T=Le(new Date(x)),w=new Date(T?x:s),[A,re]=y.useState(f),B=A??f,se=X(w,B),[W,de]=y.useState(v),oe=W===Q?Te[0]:"",[$,le]=y.useState(!1),[G,ue]=y.useState("formatDateShort"),me=[...Z.flatMap(m=>m.labels.filter(h=>!ee(h))),...J.flatMap(m=>m.labels.filter(h=>!ee(h)))],ce=m=>{var K;const h=B===f&&((K=m.extraData)!=null&&K.defaultDurationHours)?X(w,m.extraData.defaultDurationHours):se,p=m.labels,b=p[0],g=m.timeFormatterName;return t.jsxs("tr",{onMouseEnter:()=>c(b),children:[t.jsxs(S,{children:[p.map(d=>t.jsxs(D.Fragment,{children:[t.jsx(I,{variant:"small-regular-italic",children:d}),t.jsx("br",{})]},d)),t.jsx(I,{variant:"small-regular",children:m.tags.map(d=>t.jsxs(D.Fragment,{children:[d,t.jsx("br",{})]},d))}),g?t.jsxs(D.Fragment,{children:[t.jsx(L,{label:"Date formatter",value:G,onValueChange:ue,children:me.map(d=>t.jsx(V,{value:d,children:d},d))}),t.jsx(L,{label:"Time formatter",value:g,children:t.jsx(V,{value:g,children:g},g)})]},`${b}-${g}`):null]}),q.map(d=>t.jsx(_e,{onMouseEnter:()=>{a(d),c(b)},"data-ishighlighted":d===e||b===i,"data-iscentered":!0,children:t.jsx(xe,{locale:Ie[d],messages:r[d],textComponent:"span",children:t.jsx(m.Formatter,{date:w,dateEnd:h,dateStart:w,countryCode:oe,isCapitalized:$,dateFormatterName:G,timeFormatterName:g})})},`${b}-${d}`))]},b)},C=({title:m,variations:h})=>t.jsxs(t.Fragment,{children:[t.jsx("tr",{children:t.jsx(we,{colSpan:q.length+1,children:t.jsx(I,{variant:"large-semibold",children:m})})}),t.jsxs("tr",{children:[t.jsx(S,{}),q.map(p=>t.jsx(S,{onMouseEnter:()=>a(p),children:p},p))]}),h.map(p=>ce(p))]});return l?t.jsxs(Ce,{padding:"12",gap:"16",columns:["1fr"],children:[t.jsx(ze,{variant:"medium",tag:"h3",children:"Date and Time formatting tool"}),t.jsxs(z,{direction:"row",gap:"12",children:[t.jsx(Ve,{label:"Date time",value:x,onValueChange:R,hasError:!T,useLegacyRequiredLabel:!0}),t.jsx(ke,{label:"Range duration (hours)",value:A,onValueChange:re,useLegacyRequiredLabel:!0}),t.jsxs(L,{label:"Time Format",value:W,onValueChange:de,useLegacyRequiredLabel:!0,children:[t.jsx(V,{value:Q,children:"12h format (AM/PM)"}),t.jsx(V,{value:Y,children:"24h format"})]}),t.jsxs(z,{direction:"column",gap:"16",children:[t.jsx(I,{variant:"default-regular",children:"Is Capitalized?"}),t.jsx(Re,{checked:$,onCheckedChange:le})]})]}),t.jsx(z,{direction:"row",children:t.jsx(De,{href:Ee,opensInNewTab:!0,children:t.jsx(I,{variant:"default-semibold",accent:"info",children:"Confluence article with more examples and rules"})})}),t.jsx(z,{direction:"column",gap:"4",children:t.jsx(be,{children:t.jsx(ve,{onMouseLeave:()=>{a(""),c("")},children:t.jsxs("tbody",{children:[C({title:"Abbreviated Dates (IntlFormattedDate)",variations:Z}),C({title:"Extended Dates (IntlFormattedDate)",variations:J}),C({title:"Time (IntlFormattedTime)",variations:Ae}),C({title:"Date and Time Aggregators (IntlFormattedAggregatedDateTime)",variations:je})]})})})})]}):"Loading..."},xt={title:"IntlFormatted/IntlFormattedDateTime",component:ie,parameters:{layout:"fullscreen",chromatic:{disableSnapshot:!0}}},Oe=()=>t.jsx(ie,{}),_=Oe.bind({});_.args={};_.tags=["!autodocs","!a11y-test"];var te,ae,ne;_.parameters={..._.parameters,docs:{...(te=_.parameters)==null?void 0:te.docs,source:{originalSource:"() => <DateTable />",...(ne=(ae=_.parameters)==null?void 0:ae.docs)==null?void 0:ne.source}}};const It=["Default"];export{_ as Default,It as __namedExportsOrder,xt as default};
378
+ @returns The copied array with the updated value.`,name:`with`,required:!0,type:{name:`(index: number, value: { date: string; time: string; isCapitalized: boolean; }) => { date: string; time: string; isCapitalized: boolean; }[]`}},"__@iterator@128":{defaultValue:null,description:`Iterator`,name:`__@iterator@128`,required:!0,type:{name:`() => IterableIterator<{ date: string; time: string; isCapitalized: boolean; }>`}},"__@unscopables@130":{defaultValue:null,description:`Is an object whose properties have the value 'true'
379
+ when they will be absent when used in a 'with' statement.`,name:`__@unscopables@130`,required:!0,type:{name:`{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }`}}}}}catch{}}));export{p as n,f as t};