@helsenorge/designsystem-react 12.0.0-beta.2 → 12.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (569) hide show
  1. package/AnchorLink.js +1 -0
  2. package/AnchorLink.js.map +1 -1
  3. package/Avatar.js.map +1 -1
  4. package/Badge.js.map +1 -1
  5. package/Button.js +1 -1
  6. package/Button.js.map +1 -1
  7. package/CHANGELOG.md +1779 -972
  8. package/Checkbox.js.map +1 -1
  9. package/Close.js.map +1 -1
  10. package/DictionaryTrigger.js.map +1 -1
  11. package/Drawer.js +3 -3
  12. package/Drawer.js.map +1 -1
  13. package/Duolist.js.map +1 -1
  14. package/ElementHeader.js +10 -10
  15. package/ElementHeader.js.map +1 -1
  16. package/ElementHeaderText.js.map +1 -1
  17. package/ErrorBoundary.js.map +1 -1
  18. package/ErrorWrapper.js +3 -2
  19. package/ErrorWrapper.js.map +1 -1
  20. package/Expander.js +3 -0
  21. package/Expander.js.map +1 -1
  22. package/FormGroup.js +16 -4
  23. package/FormGroup.js.map +1 -1
  24. package/FormLayout.js.map +1 -1
  25. package/HelpDetails.js.map +1 -1
  26. package/HelpTriggerIcon.js.map +1 -1
  27. package/HelpTriggerStandalone.js.map +1 -1
  28. package/HighlightPanel.js.map +1 -1
  29. package/Highlighter.js.map +1 -1
  30. package/HorizontalScroll.js.map +1 -1
  31. package/Icon.js.map +1 -1
  32. package/Illustration.js.map +1 -1
  33. package/InfoTeaser.js.map +1 -1
  34. package/Input.js +2 -2
  35. package/Input.js.map +1 -1
  36. package/Label.js.map +1 -1
  37. package/LazyIcon.js.map +1 -1
  38. package/LazyIllustration.js.map +1 -1
  39. package/LinkList.js +4 -2
  40. package/LinkList.js.map +1 -1
  41. package/List.js.map +1 -1
  42. package/MaxCharacters.js.map +1 -1
  43. package/NotificationBadge.js.map +1 -1
  44. package/Panel.js +7 -2
  45. package/Panel.js.map +1 -1
  46. package/PanelOld.js.map +1 -1
  47. package/PanelTitle.js.map +1 -1
  48. package/PopOver.js.map +1 -1
  49. package/RadioButton.js +1 -1
  50. package/RadioButton.js.map +1 -1
  51. package/Select.js.map +1 -1
  52. package/Slider.js.map +1 -1
  53. package/Spacer.js.map +1 -1
  54. package/StatusDot.js.map +1 -1
  55. package/{StatusDotMultiComposition.js → StatusDotList.js} +7 -7
  56. package/StatusDotList.js.map +1 -0
  57. package/StepButtons.js.map +1 -1
  58. package/TabList.js +5 -6
  59. package/TabList.js.map +1 -1
  60. package/TabPanel.js.map +1 -1
  61. package/Table.js.map +1 -1
  62. package/TableBody.js.map +1 -1
  63. package/TableCell.js.map +1 -1
  64. package/TableExpandedRow.js.map +1 -1
  65. package/TableExpanderCell.js.map +1 -1
  66. package/TableHead.js.map +1 -1
  67. package/TableHeadCell.js.map +1 -1
  68. package/TableRow.js.map +1 -1
  69. package/Textarea.js +1 -1
  70. package/Textarea.js.map +1 -1
  71. package/Title.js.map +1 -1
  72. package/__mocks__/IntersectionObserver.js.map +1 -1
  73. package/__mocks__/MutationObserver.js.map +1 -1
  74. package/__mocks__/ResizeObserver.js.map +1 -1
  75. package/__mocks__/matchMedia.js.map +1 -1
  76. package/__mocks__/useHover.js.map +1 -1
  77. package/__mocks__/useLayoutEvent.js.map +1 -1
  78. package/__mocks__/useOutsideEvent.js.map +1 -1
  79. package/__mocks__/usePseudoClasses.js.map +1 -1
  80. package/__mocks__/useSize.js.map +1 -1
  81. package/__mocks__/uuid.js.map +1 -1
  82. package/components/AnchorLink/AnchorLink.d.ts +1 -1
  83. package/components/AnchorLink/styles.module.scss +1 -1
  84. package/components/ArticleTeaser/index.js.map +1 -1
  85. package/components/Button/Button.d.ts +1 -1
  86. package/components/Chip/index.js.map +1 -1
  87. package/components/Drawer/styles.module.scss +4 -4
  88. package/components/Dropdown/index.js.map +1 -1
  89. package/components/ElementHeader/ElementHeader.d.ts +4 -4
  90. package/components/ElementHeader/{StatusDotMultiComposition/StatusDotMultiComposition.d.ts → StatusDotList/StatusDotList.d.ts} +4 -4
  91. package/components/ElementHeader/StatusDotList/index.d.ts +3 -0
  92. package/components/ElementHeader/StatusDotList/index.js +6 -0
  93. package/components/ElementHeader/{StatusDotMultiComposition → StatusDotList}/styles.module.scss +1 -1
  94. package/components/ElementHeader/StatusDotList/styles.module.scss.d.ts +11 -0
  95. package/components/ElementHeader/styles.module.scss +29 -19
  96. package/components/ElementHeader/styles.module.scss.d.ts +1 -0
  97. package/components/EmptyState/index.js.map +1 -1
  98. package/components/ErrorWrapper/ErrorWrapper.d.ts +4 -0
  99. package/components/Expander/Expander.d.ts +1 -0
  100. package/components/ExpanderHierarchy/index.js.map +1 -1
  101. package/components/ExpanderList/index.js.map +1 -1
  102. package/components/ExpanderList/styles.module.scss +2 -2
  103. package/components/EyebrowHeader/index.js +1 -1
  104. package/components/EyebrowHeader/index.js.map +1 -1
  105. package/components/FormGroup/FormGroup.d.ts +2 -0
  106. package/components/HelpBubble/index.js +1 -1
  107. package/components/HelpBubble/index.js.map +1 -1
  108. package/components/HelpDrawer/index.js.map +1 -1
  109. package/components/HelpExpanderInline/index.js.map +1 -1
  110. package/components/HelpExpanderStandalone/index.js.map +1 -1
  111. package/components/HelpPanel/index.js.map +1 -1
  112. package/components/HelpTeaser/index.js.map +1 -1
  113. package/components/HelpTooltip/index.js.map +1 -1
  114. package/components/HelpTriggerInline/index.js.map +1 -1
  115. package/components/Icons/ActiveMonitoring.js.map +1 -1
  116. package/components/Icons/AcupunctureBack.js.map +1 -1
  117. package/components/Icons/AdditionalIconInformation.js.map +1 -1
  118. package/components/Icons/AlarmClock.js.map +1 -1
  119. package/components/Icons/AlertSignFill.js.map +1 -1
  120. package/components/Icons/AlertSignStroke.js.map +1 -1
  121. package/components/Icons/Amputation.js.map +1 -1
  122. package/components/Icons/Anxiety.js.map +1 -1
  123. package/components/Icons/Apple.js.map +1 -1
  124. package/components/Icons/Archive.js.map +1 -1
  125. package/components/Icons/ArmFlexing.js.map +1 -1
  126. package/components/Icons/ArrowDown.js.map +1 -1
  127. package/components/Icons/ArrowLeft.js.map +1 -1
  128. package/components/Icons/ArrowRight.js.map +1 -1
  129. package/components/Icons/ArrowUp.js.map +1 -1
  130. package/components/Icons/ArrowUpRight.js.map +1 -1
  131. package/components/Icons/Attachment.js.map +1 -1
  132. package/components/Icons/Atv.js.map +1 -1
  133. package/components/Icons/Avatar.js.map +1 -1
  134. package/components/Icons/AwakePersonOnPillow.js.map +1 -1
  135. package/components/Icons/Baby.js.map +1 -1
  136. package/components/Icons/BandAid.js.map +1 -1
  137. package/components/Icons/BeerAndPills.js.map +1 -1
  138. package/components/Icons/Bell.js.map +1 -1
  139. package/components/Icons/Bike.js.map +1 -1
  140. package/components/Icons/BirthControl.js.map +1 -1
  141. package/components/Icons/BirthdayCake.js.map +1 -1
  142. package/components/Icons/Boat.js.map +1 -1
  143. package/components/Icons/Body.js.map +1 -1
  144. package/components/Icons/Braille.js.map +1 -1
  145. package/components/Icons/Brain.js.map +1 -1
  146. package/components/Icons/BreastReconstruction.js.map +1 -1
  147. package/components/Icons/BreastRemoval.js.map +1 -1
  148. package/components/Icons/Breasts.js.map +1 -1
  149. package/components/Icons/BrokenHeart.js.map +1 -1
  150. package/components/Icons/BrokenPuzzle.js.map +1 -1
  151. package/components/Icons/Bus.js.map +1 -1
  152. package/components/Icons/Calendar.js.map +1 -1
  153. package/components/Icons/CalendarChange.js.map +1 -1
  154. package/components/Icons/CalendarCheck.js.map +1 -1
  155. package/components/Icons/CalendarEvent.js.map +1 -1
  156. package/components/Icons/CalendarSave.js.map +1 -1
  157. package/components/Icons/Cancer.js.map +1 -1
  158. package/components/Icons/Candle.js.map +1 -1
  159. package/components/Icons/Car.js.map +1 -1
  160. package/components/Icons/Carton.js.map +1 -1
  161. package/components/Icons/Change.js.map +1 -1
  162. package/components/Icons/Check.js.map +1 -1
  163. package/components/Icons/CheckFill.js.map +1 -1
  164. package/components/Icons/CheckOutline.js.map +1 -1
  165. package/components/Icons/Chest.js.map +1 -1
  166. package/components/Icons/ChevronDown.js.map +1 -1
  167. package/components/Icons/ChevronLeft.js.map +1 -1
  168. package/components/Icons/ChevronRight.js.map +1 -1
  169. package/components/Icons/ChevronUp.js.map +1 -1
  170. package/components/Icons/ChevronsDown.js.map +1 -1
  171. package/components/Icons/ChevronsUp.js.map +1 -1
  172. package/components/Icons/ChildPlaying.js.map +1 -1
  173. package/components/Icons/Cigarette.js.map +1 -1
  174. package/components/Icons/Coins.js.map +1 -1
  175. package/components/Icons/Contacts.js.map +1 -1
  176. package/components/Icons/Copy.js.map +1 -1
  177. package/components/Icons/CoronaCertificate.js.map +1 -1
  178. package/components/Icons/Coronavirus.js.map +1 -1
  179. package/components/Icons/Cough.js.map +1 -1
  180. package/components/Icons/CreditCard.js.map +1 -1
  181. package/components/Icons/CriticalHealthInfo.js.map +1 -1
  182. package/components/Icons/Cross.js.map +1 -1
  183. package/components/Icons/DataExchange.js.map +1 -1
  184. package/components/Icons/DataReceived.js.map +1 -1
  185. package/components/Icons/DataSent.js.map +1 -1
  186. package/components/Icons/Depression.js.map +1 -1
  187. package/components/Icons/DigestiveSystem.js.map +1 -1
  188. package/components/Icons/Dizzy.js.map +1 -1
  189. package/components/Icons/Documents.js.map +1 -1
  190. package/components/Icons/Dog.js.map +1 -1
  191. package/components/Icons/DonorCard.js.map +1 -1
  192. package/components/Icons/DotActive.js.map +1 -1
  193. package/components/Icons/DotAlert.js.map +1 -1
  194. package/components/Icons/DotCancelled.js.map +1 -1
  195. package/components/Icons/DotHalfDisc.js.map +1 -1
  196. package/components/Icons/DotInactive.js.map +1 -1
  197. package/components/Icons/DotInfo.js.map +1 -1
  198. package/components/Icons/DotLookingGlass.js.map +1 -1
  199. package/components/Icons/DotPending.js.map +1 -1
  200. package/components/Icons/DotQuestionMark.js.map +1 -1
  201. package/components/Icons/DotSuccess.js.map +1 -1
  202. package/components/Icons/DotTransparent.js.map +1 -1
  203. package/components/Icons/DotWarningTriangle.js.map +1 -1
  204. package/components/Icons/Download.js.map +1 -1
  205. package/components/Icons/Draft.js.map +1 -1
  206. package/components/Icons/EChat.js.map +1 -1
  207. package/components/Icons/Ear.js.map +1 -1
  208. package/components/Icons/EarDeaf.js.map +1 -1
  209. package/components/Icons/EarHearingAid.js.map +1 -1
  210. package/components/Icons/EarNoseThroat.js.map +1 -1
  211. package/components/Icons/EarVolume.js.map +1 -1
  212. package/components/Icons/ElderlyPerson.js.map +1 -1
  213. package/components/Icons/Embolization.js.map +1 -1
  214. package/components/Icons/EmergencyCall.js.map +1 -1
  215. package/components/Icons/EmoticonAnnoyed.js.map +1 -1
  216. package/components/Icons/EmoticonDelighted.js.map +1 -1
  217. package/components/Icons/EmoticonDisappointed.js.map +1 -1
  218. package/components/Icons/EmoticonHappy.js.map +1 -1
  219. package/components/Icons/EmoticonMeh.js.map +1 -1
  220. package/components/Icons/EmptyBox.js.map +1 -1
  221. package/components/Icons/EnterFullScreen.js.map +1 -1
  222. package/components/Icons/Envelope.js.map +1 -1
  223. package/components/Icons/Epilepsy.js.map +1 -1
  224. package/components/Icons/Eraser.js.map +1 -1
  225. package/components/Icons/ErrorSignFill.js.map +1 -1
  226. package/components/Icons/ErrorSignStroke.js.map +1 -1
  227. package/components/Icons/EuropeanHealthCard.js.map +1 -1
  228. package/components/Icons/ExitFullScreen.js.map +1 -1
  229. package/components/Icons/Eye.js.map +1 -1
  230. package/components/Icons/Facebook.js.map +1 -1
  231. package/components/Icons/FallingLeaf.js.map +1 -1
  232. package/components/Icons/Female.js.map +1 -1
  233. package/components/Icons/FemaleDoctor.js.map +1 -1
  234. package/components/Icons/Ferry.js.map +1 -1
  235. package/components/Icons/File.js.map +1 -1
  236. package/components/Icons/Filter.js.map +1 -1
  237. package/components/Icons/FingerBleed.js.map +1 -1
  238. package/components/Icons/FirstAidKit.js.map +1 -1
  239. package/components/Icons/Fish.js.map +1 -1
  240. package/components/Icons/FloppyDisk.js.map +1 -1
  241. package/components/Icons/Football.js.map +1 -1
  242. package/components/Icons/Form.js.map +1 -1
  243. package/components/Icons/Forward.js.map +1 -1
  244. package/components/Icons/Gallery.js.map +1 -1
  245. package/components/Icons/Garden.js.map +1 -1
  246. package/components/Icons/GasCan.js.map +1 -1
  247. package/components/Icons/GenderIdentity.js.map +1 -1
  248. package/components/Icons/GlassWater.js.map +1 -1
  249. package/components/Icons/Glasses.js.map +1 -1
  250. package/components/Icons/Globe.js.map +1 -1
  251. package/components/Icons/Grain.js.map +1 -1
  252. package/components/Icons/Graph.js.map +1 -1
  253. package/components/Icons/Group.js.map +1 -1
  254. package/components/Icons/GroupTwins.js.map +1 -1
  255. package/components/Icons/HTMLFile.js.map +1 -1
  256. package/components/Icons/HandWaving.js.map +1 -1
  257. package/components/Icons/HandWithDisease.js.map +1 -1
  258. package/components/Icons/HandsAndHeart.js.map +1 -1
  259. package/components/Icons/HealthClinic.js.map +1 -1
  260. package/components/Icons/HealthMeasurements.js.map +1 -1
  261. package/components/Icons/HealthWarning.js.map +1 -1
  262. package/components/Icons/HealthcarePerson.js.map +1 -1
  263. package/components/Icons/HealthcarePersonell.js.map +1 -1
  264. package/components/Icons/HearingProtection.js.map +1 -1
  265. package/components/Icons/Heart.js.map +1 -1
  266. package/components/Icons/HeartHands.js.map +1 -1
  267. package/components/Icons/HelpSign.js.map +1 -1
  268. package/components/Icons/HelpingHand.js.map +1 -1
  269. package/components/Icons/Hemodialysis.js.map +1 -1
  270. package/components/Icons/Hiker.js.map +1 -1
  271. package/components/Icons/Hipprosthesis.js.map +1 -1
  272. package/components/Icons/History.js.map +1 -1
  273. package/components/Icons/HivAndAids.js.map +1 -1
  274. package/components/Icons/Home.js.map +1 -1
  275. package/components/Icons/HomeFill.js.map +1 -1
  276. package/components/Icons/Hormone.js.map +1 -1
  277. package/components/Icons/Hospital.js.map +1 -1
  278. package/components/Icons/Hourglass.js.map +1 -1
  279. package/components/Icons/ImgFile.js.map +1 -1
  280. package/components/Icons/Inbox.js.map +1 -1
  281. package/components/Icons/InfoSignFill.js.map +1 -1
  282. package/components/Icons/InfoSignStroke.js.map +1 -1
  283. package/components/Icons/Instagram.js.map +1 -1
  284. package/components/Icons/Intravenous.js.map +1 -1
  285. package/components/Icons/JointPain.js.map +1 -1
  286. package/components/Icons/Journal.js.map +1 -1
  287. package/components/Icons/JpgFile.js.map +1 -1
  288. package/components/Icons/Kidney.js.map +1 -1
  289. package/components/Icons/KitchenScale.js.map +1 -1
  290. package/components/Icons/Kjernejournal.js.map +1 -1
  291. package/components/Icons/Laboratory.js.map +1 -1
  292. package/components/Icons/LaptopBlog.js.map +1 -1
  293. package/components/Icons/LawBook.js.map +1 -1
  294. package/components/Icons/LegalDocument.js.map +1 -1
  295. package/components/Icons/LightBulb.js.map +1 -1
  296. package/components/Icons/List.js.map +1 -1
  297. package/components/Icons/Location.js.map +1 -1
  298. package/components/Icons/LocationFill.js.map +1 -1
  299. package/components/Icons/Lock.js.map +1 -1
  300. package/components/Icons/Login.js.map +1 -1
  301. package/components/Icons/Logout.js.map +1 -1
  302. package/components/Icons/Lungs.js.map +1 -1
  303. package/components/Icons/Makeup.js.map +1 -1
  304. package/components/Icons/MaleDoctor.js.map +1 -1
  305. package/components/Icons/MaleDoctorAndPerson.js.map +1 -1
  306. package/components/Icons/MaleDoctorCompact.js.map +1 -1
  307. package/components/Icons/MaleDoctorCompactFill.js.map +1 -1
  308. package/components/Icons/MaleGenitalia.js.map +1 -1
  309. package/components/Icons/Medicine.js.map +1 -1
  310. package/components/Icons/MedicineWarning.js.map +1 -1
  311. package/components/Icons/MentalHealthAdult.js.map +1 -1
  312. package/components/Icons/MentalHealthChild.js.map +1 -1
  313. package/components/Icons/Menu.js.map +1 -1
  314. package/components/Icons/Microscope.js.map +1 -1
  315. package/components/Icons/Minus.js.map +1 -1
  316. package/components/Icons/Mirror.js.map +1 -1
  317. package/components/Icons/MobilePhone.js.map +1 -1
  318. package/components/Icons/MotherHoldingBaby.js.map +1 -1
  319. package/components/Icons/MuscleBack.js.map +1 -1
  320. package/components/Icons/MuscleLeg.js.map +1 -1
  321. package/components/Icons/Mushroom.js.map +1 -1
  322. package/components/Icons/Music.js.map +1 -1
  323. package/components/Icons/MusselsAndSalt.js.map +1 -1
  324. package/components/Icons/NoAccess.js.map +1 -1
  325. package/components/Icons/NoEye.js.map +1 -1
  326. package/components/Icons/NoFilter.js.map +1 -1
  327. package/components/Icons/Notepad.js.map +1 -1
  328. package/components/Icons/Osteotomy.js.map +1 -1
  329. package/components/Icons/PaintRoller.js.map +1 -1
  330. package/components/Icons/PaperPlane.js.map +1 -1
  331. package/components/Icons/PatientAndPerson.js.map +1 -1
  332. package/components/Icons/Pause.js.map +1 -1
  333. package/components/Icons/PdfFile.js.map +1 -1
  334. package/components/Icons/Pencil.js.map +1 -1
  335. package/components/Icons/PeopleTalking.js.map +1 -1
  336. package/components/Icons/Peritonealdialysis.js.map +1 -1
  337. package/components/Icons/Person.js.map +1 -1
  338. package/components/Icons/PersonAndPatient.js.map +1 -1
  339. package/components/Icons/PersonCancel.js.map +1 -1
  340. package/components/Icons/PersonInXRayMachine.js.map +1 -1
  341. package/components/Icons/PersonOverweight.js.map +1 -1
  342. package/components/Icons/PersonRelaxing.js.map +1 -1
  343. package/components/Icons/PersonWithBrain.js.map +1 -1
  344. package/components/Icons/PersonWithBrokenArm.js.map +1 -1
  345. package/components/Icons/PersonWithCrutches.js.map +1 -1
  346. package/components/Icons/PersonWithJaw.js.map +1 -1
  347. package/components/Icons/PersonWithMagnifyingGlass.js.map +1 -1
  348. package/components/Icons/PersonWithSenses.js.map +1 -1
  349. package/components/Icons/PersonWorking.js.map +1 -1
  350. package/components/Icons/PersonalPlan.js.map +1 -1
  351. package/components/Icons/PizzaSlice.js.map +1 -1
  352. package/components/Icons/Plane.js.map +1 -1
  353. package/components/Icons/Plant.js.map +1 -1
  354. package/components/Icons/PlateKnifeFork.js.map +1 -1
  355. package/components/Icons/Play.js.map +1 -1
  356. package/components/Icons/PlusLarge.js.map +1 -1
  357. package/components/Icons/PlusSmall.js.map +1 -1
  358. package/components/Icons/PngFile.js.map +1 -1
  359. package/components/Icons/Podcast.js.map +1 -1
  360. package/components/Icons/PoisonInformation.js.map +1 -1
  361. package/components/Icons/Pregnant.js.map +1 -1
  362. package/components/Icons/Printer.js.map +1 -1
  363. package/components/Icons/Psychosis.js.map +1 -1
  364. package/components/Icons/Publication.js.map +1 -1
  365. package/components/Icons/Puzzle.js.map +1 -1
  366. package/components/Icons/QrCode.js.map +1 -1
  367. package/components/Icons/Quarrel.js.map +1 -1
  368. package/components/Icons/RadioTherapy.js.map +1 -1
  369. package/components/Icons/RadioactiveTreatment.js.map +1 -1
  370. package/components/Icons/Radioiodine.js.map +1 -1
  371. package/components/Icons/Receipt.js.map +1 -1
  372. package/components/Icons/Receptionist.js.map +1 -1
  373. package/components/Icons/Recovery.js.map +1 -1
  374. package/components/Icons/Referral.js.map +1 -1
  375. package/components/Icons/Refresh.js.map +1 -1
  376. package/components/Icons/Refund.js.map +1 -1
  377. package/components/Icons/Reminder.js.map +1 -1
  378. package/components/Icons/Reply.js.map +1 -1
  379. package/components/Icons/Rocket.js.map +1 -1
  380. package/components/Icons/RtfFile.js.map +1 -1
  381. package/components/Icons/STDs.js.map +1 -1
  382. package/components/Icons/Save.js.map +1 -1
  383. package/components/Icons/Scale.js.map +1 -1
  384. package/components/Icons/ScreenReader.js.map +1 -1
  385. package/components/Icons/Search.js.map +1 -1
  386. package/components/Icons/SectionSign.js.map +1 -1
  387. package/components/Icons/Settings.js.map +1 -1
  388. package/components/Icons/SettingsFill.js.map +1 -1
  389. package/components/Icons/Sexualorientation.js.map +1 -1
  390. package/components/Icons/ShakingHand.js.map +1 -1
  391. package/components/Icons/Share.js.map +1 -1
  392. package/components/Icons/SharedHealthData.js.map +1 -1
  393. package/components/Icons/SharedHealthMeasurements.js.map +1 -1
  394. package/components/Icons/Shield.js.map +1 -1
  395. package/components/Icons/ShuntOperation.js.map +1 -1
  396. package/components/Icons/Skeleton.js.map +1 -1
  397. package/components/Icons/Skin.js.map +1 -1
  398. package/components/Icons/Snake.js.map +1 -1
  399. package/components/Icons/Snapchat.js.map +1 -1
  400. package/components/Icons/SortDown.js.map +1 -1
  401. package/components/Icons/SortUp.js.map +1 -1
  402. package/components/Icons/SpeechBubble.js.map +1 -1
  403. package/components/Icons/Spray.js.map +1 -1
  404. package/components/Icons/StickyNote.js.map +1 -1
  405. package/components/Icons/StickyNotes.js.map +1 -1
  406. package/components/Icons/Stopwatch.js.map +1 -1
  407. package/components/Icons/Sun.js.map +1 -1
  408. package/components/Icons/SupportingPerson.js.map +1 -1
  409. package/components/Icons/Surgery.js.map +1 -1
  410. package/components/Icons/Sweets.js.map +1 -1
  411. package/components/Icons/Syringe.js.map +1 -1
  412. package/components/Icons/Taxi.js.map +1 -1
  413. package/components/Icons/TeddyBear.js.map +1 -1
  414. package/components/Icons/Teenagers.js.map +1 -1
  415. package/components/Icons/ThinkingAboutBaby.js.map +1 -1
  416. package/components/Icons/Ticket.js.map +1 -1
  417. package/components/Icons/TimePassing.js.map +1 -1
  418. package/components/Icons/Toddler.js.map +1 -1
  419. package/components/Icons/Tombstone.js.map +1 -1
  420. package/components/Icons/Toolbox.js.map +1 -1
  421. package/components/Icons/Tooth.js.map +1 -1
  422. package/components/Icons/TotalKneeProsthesis.js.map +1 -1
  423. package/components/Icons/Train.js.map +1 -1
  424. package/components/Icons/Transplantation.js.map +1 -1
  425. package/components/Icons/TrashCan.js.map +1 -1
  426. package/components/Icons/TravelRoute.js.map +1 -1
  427. package/components/Icons/TreatmentAids.js.map +1 -1
  428. package/components/Icons/TriangleX.js.map +1 -1
  429. package/components/Icons/Twitter.js.map +1 -1
  430. package/components/Icons/Undo.js.map +1 -1
  431. package/components/Icons/UniProsthesis.js.map +1 -1
  432. package/components/Icons/Upload.js.map +1 -1
  433. package/components/Icons/UserOrganization.js.map +1 -1
  434. package/components/Icons/Vaccine.js.map +1 -1
  435. package/components/Icons/VerticalDots.js.map +1 -1
  436. package/components/Icons/VideoCamera.js.map +1 -1
  437. package/components/Icons/VideoChat.js.map +1 -1
  438. package/components/Icons/Wallet.js.map +1 -1
  439. package/components/Icons/Watch.js.map +1 -1
  440. package/components/Icons/Website.js.map +1 -1
  441. package/components/Icons/Wheelchair.js.map +1 -1
  442. package/components/Icons/WheelchairActive.js.map +1 -1
  443. package/components/Icons/Window.js.map +1 -1
  444. package/components/Icons/WordDocument.js.map +1 -1
  445. package/components/Icons/WorkSuitcase.js.map +1 -1
  446. package/components/Icons/X.js.map +1 -1
  447. package/components/Icons/XOutline.js.map +1 -1
  448. package/components/Icons/XmlFile.js.map +1 -1
  449. package/components/Icons/YouTube.js.map +1 -1
  450. package/components/Icons/Zoom.js.map +1 -1
  451. package/components/Illustrations/BabyMobile.js.map +1 -1
  452. package/components/Illustrations/BabyMobileMedium.js.map +1 -1
  453. package/components/Illustrations/Child.js.map +1 -1
  454. package/components/Illustrations/ChildMedium.js.map +1 -1
  455. package/components/Illustrations/Doctor.js.map +1 -1
  456. package/components/Illustrations/DoctorMedium.js.map +1 -1
  457. package/components/Illustrations/DoctorSmall.js.map +1 -1
  458. package/components/Illustrations/FacialRecognitionFingerprint.js.map +1 -1
  459. package/components/Illustrations/FacialRecognitionFingerprintMedium.js.map +1 -1
  460. package/components/Illustrations/GiveBabyFood.js.map +1 -1
  461. package/components/Illustrations/GiveBabyFoodMedium.js.map +1 -1
  462. package/components/Illustrations/HealthcarePersonnel.js.map +1 -1
  463. package/components/Illustrations/HealthcarePersonnelMedium.js.map +1 -1
  464. package/components/Illustrations/HealthcarePersonnelSmall.js.map +1 -1
  465. package/components/Illustrations/IllustrationNames.js.map +1 -1
  466. package/components/Illustrations/ReadLetters.js.map +1 -1
  467. package/components/Illustrations/ReadLettersMedium.js.map +1 -1
  468. package/components/Illustrations/Stroller.js.map +1 -1
  469. package/components/Illustrations/StrollerMedium.js.map +1 -1
  470. package/components/Illustrations/Support2.js.map +1 -1
  471. package/components/Illustrations/Support2Medium.js.map +1 -1
  472. package/components/LinkList/LinkList.d.ts +2 -0
  473. package/components/LinkList/styles.module.scss +23 -6
  474. package/components/LinkList/styles.module.scss.d.ts +1 -0
  475. package/components/Loader/index.js.map +1 -1
  476. package/components/Logo/index.js.map +1 -1
  477. package/components/Modal/index.js.map +1 -1
  478. package/components/NotificationPanel/NotificationPanel.d.ts +1 -1
  479. package/components/NotificationPanel/index.js +2 -3
  480. package/components/NotificationPanel/index.js.map +1 -1
  481. package/components/Panel/Panel.d.ts +2 -0
  482. package/components/PanelList/index.js.map +1 -1
  483. package/components/PanelListOld/index.js.map +1 -1
  484. package/components/PopMenu/index.js +2 -2
  485. package/components/PopMenu/index.js.map +1 -1
  486. package/components/PopOver/styles.module.scss +1 -1
  487. package/components/Portal/index.js.map +1 -1
  488. package/components/Progressbar/index.js.map +1 -1
  489. package/components/PromoPanel/index.js.map +1 -1
  490. package/components/RadioButton/styles.module.scss +6 -1
  491. package/components/ServiceMessage/index.js +1 -1
  492. package/components/ServiceMessage/index.js.map +1 -1
  493. package/components/SharingStatus/index.js.map +1 -1
  494. package/components/Step/index.js.map +1 -1
  495. package/components/Stepper/index.js.map +1 -1
  496. package/components/StickyNote/index.js +2 -2
  497. package/components/StickyNote/index.js.map +1 -1
  498. package/components/Tabs/TabList/styles.module.scss +14 -4
  499. package/components/Tabs/TabList/styles.module.scss.d.ts +1 -0
  500. package/components/Tabs/index.js.map +1 -1
  501. package/components/Tabs/styles.module.scss +4 -2
  502. package/components/Tag/index.js.map +1 -1
  503. package/components/TagList/index.js.map +1 -1
  504. package/components/Tile/index.js.map +1 -1
  505. package/components/Tile/styles.module.scss +1 -2
  506. package/components/Toggle/index.js.map +1 -1
  507. package/components/Validation/index.js +1 -1
  508. package/components/Validation/index.js.map +1 -1
  509. package/constants.js.map +1 -1
  510. package/floating-ui.react.js +142 -88
  511. package/floating-ui.react.js.map +1 -1
  512. package/hoc/withBreakpoint/withBreakpoint.js.map +1 -1
  513. package/hooks/useBreakpoint.js +4 -3
  514. package/hooks/useBreakpoint.js.map +1 -1
  515. package/hooks/useElementList.js.map +1 -1
  516. package/hooks/useEventListenerState.js.map +1 -1
  517. package/hooks/useExpand.js.map +1 -1
  518. package/hooks/useFocusToggle.js.map +1 -1
  519. package/hooks/useFocusTrap.js.map +1 -1
  520. package/hooks/useFocusableElements.js.map +1 -1
  521. package/hooks/useHover.js.map +1 -1
  522. package/hooks/useIcons.js.map +1 -1
  523. package/hooks/useIntersectionObserver.js.map +1 -1
  524. package/hooks/useInterval.js.map +1 -1
  525. package/hooks/useIsMobileBreakpoint.js.map +1 -1
  526. package/hooks/useIsServerSide.js.map +1 -1
  527. package/hooks/useIsVisible.js.map +1 -1
  528. package/hooks/useKeyboardEvent.js.map +1 -1
  529. package/hooks/useLayoutEvent.js.map +1 -1
  530. package/hooks/useOutsideEvent.js.map +1 -1
  531. package/hooks/usePrevious.js.map +1 -1
  532. package/hooks/usePseudoClasses.js +2 -1
  533. package/hooks/usePseudoClasses.js.map +1 -1
  534. package/hooks/useResizeObserver.js.map +1 -1
  535. package/hooks/useReturnFocusOnUnmount.js.map +1 -1
  536. package/hooks/useRovingFocus.js.map +1 -1
  537. package/hooks/useSize.js +1 -1
  538. package/hooks/useSize.js.map +1 -1
  539. package/hooks/useToggle.js.map +1 -1
  540. package/hooks/useUuid.js.map +1 -1
  541. package/hooks/usestopPropagation.js.map +1 -1
  542. package/package.json +1 -1
  543. package/scss/bootstrap/scss/_variables.scss +1 -1
  544. package/scss/typography.module.scss +1 -1
  545. package/scss/typography.stories.tsx +2 -4
  546. package/theme/currys/color.js.map +1 -1
  547. package/theme/currys/spacing.js.map +1 -1
  548. package/use-animate.js +1 -1
  549. package/use-animate.js.map +1 -1
  550. package/utils/accessibility.js.map +1 -1
  551. package/utils/component.d.ts +2 -2
  552. package/utils/component.js.map +1 -1
  553. package/utils/debounce.js +1 -1
  554. package/utils/debounce.js.map +1 -1
  555. package/utils/device.js.map +1 -1
  556. package/utils/environment.js.map +1 -1
  557. package/utils/focus.js.map +1 -1
  558. package/utils/language.js.map +1 -1
  559. package/utils/mobile.js.map +1 -1
  560. package/utils/refs.js.map +1 -1
  561. package/utils/scroll.js.map +1 -1
  562. package/utils/viewport.js.map +1 -1
  563. package/utils.js.map +1 -1
  564. package/uuid.js.map +1 -1
  565. package/StatusDotMultiComposition.js.map +0 -1
  566. package/components/ElementHeader/StatusDotMultiComposition/index.d.ts +0 -3
  567. package/components/ElementHeader/StatusDotMultiComposition/index.js +0 -6
  568. package/components/ElementHeader/StatusDotMultiComposition/styles.module.scss.d.ts +0 -11
  569. /package/components/ElementHeader/{StatusDotMultiComposition → StatusDotList}/index.js.map +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { useLayoutEffect, useEffect } from "react";
2
+ import { useLayoutEffect } from "react";
3
3
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
4
4
  import * as ReactDOM from "react-dom";
5
5
  function hasWindow() {
@@ -43,6 +43,7 @@ function isShadowRoot(value) {
43
43
  }
44
44
  return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
45
45
  }
46
+ const invalidOverflowDisplayValues = /* @__PURE__ */ new Set(["inline", "contents"]);
46
47
  function isOverflowElement(element) {
47
48
  const {
48
49
  overflow,
@@ -50,24 +51,29 @@ function isOverflowElement(element) {
50
51
  overflowY,
51
52
  display
52
53
  } = getComputedStyle$1(element);
53
- return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !["inline", "contents"].includes(display);
54
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
54
55
  }
56
+ const tableElements = /* @__PURE__ */ new Set(["table", "td", "th"]);
55
57
  function isTableElement(element) {
56
- return ["table", "td", "th"].includes(getNodeName(element));
58
+ return tableElements.has(getNodeName(element));
57
59
  }
60
+ const topLayerSelectors = [":popover-open", ":modal"];
58
61
  function isTopLayer(element) {
59
- return [":popover-open", ":modal"].some((selector) => {
62
+ return topLayerSelectors.some((selector) => {
60
63
  try {
61
64
  return element.matches(selector);
62
- } catch (e) {
65
+ } catch (_e) {
63
66
  return false;
64
67
  }
65
68
  });
66
69
  }
70
+ const transformProperties = ["transform", "translate", "scale", "rotate", "perspective"];
71
+ const willChangeValues = ["transform", "translate", "scale", "rotate", "perspective", "filter"];
72
+ const containValues = ["paint", "layout", "strict", "content"];
67
73
  function isContainingBlock(elementOrCss) {
68
74
  const webkit = isWebKit();
69
75
  const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
70
- return ["transform", "translate", "scale", "rotate", "perspective"].some((value) => css[value] ? css[value] !== "none" : false) || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((value) => (css.willChange || "").includes(value)) || ["paint", "layout", "strict", "content"].some((value) => (css.contain || "").includes(value));
76
+ return transformProperties.some((value) => css[value] ? css[value] !== "none" : false) || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || willChangeValues.some((value) => (css.willChange || "").includes(value)) || containValues.some((value) => (css.contain || "").includes(value));
71
77
  }
72
78
  function getContainingBlock(element) {
73
79
  let currentNode = getParentNode(element);
@@ -85,8 +91,9 @@ function isWebKit() {
85
91
  if (typeof CSS === "undefined" || !CSS.supports) return false;
86
92
  return CSS.supports("-webkit-backdrop-filter", "none");
87
93
  }
94
+ const lastTraversableNodeNames = /* @__PURE__ */ new Set(["html", "body", "#document"]);
88
95
  function isLastTraversableNode(node) {
89
- return ["html", "body", "#document"].includes(getNodeName(node));
96
+ return lastTraversableNodeNames.has(getNodeName(node));
90
97
  }
91
98
  function getComputedStyle$1(element) {
92
99
  return getWindow(element).getComputedStyle(element);
@@ -183,8 +190,9 @@ function getOppositeAxis(axis) {
183
190
  function getAxisLength(axis) {
184
191
  return axis === "y" ? "height" : "width";
185
192
  }
193
+ const yAxisSides = /* @__PURE__ */ new Set(["top", "bottom"]);
186
194
  function getSideAxis(placement) {
187
- return ["top", "bottom"].includes(getSide(placement)) ? "y" : "x";
195
+ return yAxisSides.has(getSide(placement)) ? "y" : "x";
188
196
  }
189
197
  function getAlignmentAxis(placement) {
190
198
  return getOppositeAxis(getSideAxis(placement));
@@ -209,19 +217,19 @@ function getExpandedPlacements(placement) {
209
217
  function getOppositeAlignmentPlacement(placement) {
210
218
  return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
211
219
  }
220
+ const lrPlacement = ["left", "right"];
221
+ const rlPlacement = ["right", "left"];
222
+ const tbPlacement = ["top", "bottom"];
223
+ const btPlacement = ["bottom", "top"];
212
224
  function getSideList(side, isStart, rtl) {
213
- const lr = ["left", "right"];
214
- const rl = ["right", "left"];
215
- const tb = ["top", "bottom"];
216
- const bt = ["bottom", "top"];
217
225
  switch (side) {
218
226
  case "top":
219
227
  case "bottom":
220
- if (rtl) return isStart ? rl : lr;
221
- return isStart ? lr : rl;
228
+ if (rtl) return isStart ? rlPlacement : lrPlacement;
229
+ return isStart ? lrPlacement : rlPlacement;
222
230
  case "left":
223
231
  case "right":
224
- return isStart ? tb : bt;
232
+ return isStart ? tbPlacement : btPlacement;
225
233
  default:
226
234
  return [];
227
235
  }
@@ -706,22 +714,11 @@ function getNodeChildren(nodes, id, onlyOpenChildren) {
706
714
  if (onlyOpenChildren === void 0) {
707
715
  onlyOpenChildren = true;
708
716
  }
709
- let allChildren = nodes.filter((node) => {
717
+ const directChildren = nodes.filter((node) => {
710
718
  var _node$context;
711
- return node.parentId === id && ((_node$context = node.context) == null ? void 0 : _node$context.open);
719
+ return node.parentId === id && (!onlyOpenChildren || ((_node$context = node.context) == null ? void 0 : _node$context.open));
712
720
  });
713
- let currentChildren = allChildren;
714
- while (currentChildren.length) {
715
- currentChildren = onlyOpenChildren ? nodes.filter((node) => {
716
- var _currentChildren;
717
- return (_currentChildren = currentChildren) == null ? void 0 : _currentChildren.some((n) => {
718
- var _node$context2;
719
- return node.parentId === n.id && ((_node$context2 = node.context) == null ? void 0 : _node$context2.open);
720
- });
721
- }) : nodes;
722
- allChildren = allChildren.concat(currentChildren);
723
- }
724
- return allChildren;
721
+ return directChildren.flatMap((child) => [child, ...getNodeChildren(nodes, child.id, onlyOpenChildren)]);
725
722
  }
726
723
  function getNodeAncestors(nodes, id) {
727
724
  var _nodes$find;
@@ -764,7 +761,10 @@ function isMouseLikePointerType(pointerType, strict) {
764
761
  }
765
762
  return values.includes(pointerType);
766
763
  }
767
- var index$1 = typeof document !== "undefined" ? useLayoutEffect : useEffect;
764
+ var isClient$1 = typeof document !== "undefined";
765
+ var noop$1 = function noop() {
766
+ };
767
+ var index$1 = isClient$1 ? useLayoutEffect : noop$1;
768
768
  const SafeReact$1 = {
769
769
  ...React
770
770
  };
@@ -1136,15 +1136,20 @@ const flip$2 = function(options) {
1136
1136
  const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
1137
1137
  const nextPlacement = placements[nextIndex];
1138
1138
  if (nextPlacement) {
1139
- return {
1140
- data: {
1141
- index: nextIndex,
1142
- overflows: overflowsData
1143
- },
1144
- reset: {
1145
- placement: nextPlacement
1146
- }
1147
- };
1139
+ const ignoreCrossAxisOverflow = checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false;
1140
+ if (!ignoreCrossAxisOverflow || // We leave the current main axis only if every placement on that axis
1141
+ // overflows the main axis.
1142
+ overflowsData.every((d) => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
1143
+ return {
1144
+ data: {
1145
+ index: nextIndex,
1146
+ overflows: overflowsData
1147
+ },
1148
+ reset: {
1149
+ placement: nextPlacement
1150
+ }
1151
+ };
1152
+ }
1148
1153
  }
1149
1154
  let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
1150
1155
  if (!resetPlacement) {
@@ -1242,6 +1247,7 @@ const hide$2 = function(options) {
1242
1247
  }
1243
1248
  };
1244
1249
  };
1250
+ const originSides = /* @__PURE__ */ new Set(["left", "top"]);
1245
1251
  async function convertValueToCoords(state, options) {
1246
1252
  const {
1247
1253
  placement,
@@ -1252,7 +1258,7 @@ async function convertValueToCoords(state, options) {
1252
1258
  const side = getSide(placement);
1253
1259
  const alignment = getAlignment(placement);
1254
1260
  const isVertical = getSideAxis(placement) === "y";
1255
- const mainAxisMulti = ["left", "top"].includes(side) ? -1 : 1;
1261
+ const mainAxisMulti = originSides.has(side) ? -1 : 1;
1256
1262
  const crossAxisMulti = rtl && isVertical ? -1 : 1;
1257
1263
  const rawValue = evaluate(options, state);
1258
1264
  let {
@@ -1583,15 +1589,9 @@ function getWindowScrollBarX(element, rect) {
1583
1589
  }
1584
1590
  return rect.left + leftScroll;
1585
1591
  }
1586
- function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
1587
- if (ignoreScrollbarX === void 0) {
1588
- ignoreScrollbarX = false;
1589
- }
1592
+ function getHTMLOffset(documentElement, scroll) {
1590
1593
  const htmlRect = documentElement.getBoundingClientRect();
1591
- const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 : (
1592
- // RTL <body> scrollbar.
1593
- getWindowScrollBarX(documentElement, htmlRect)
1594
- ));
1594
+ const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
1595
1595
  const y = htmlRect.top + scroll.scrollTop;
1596
1596
  return {
1597
1597
  x,
@@ -1629,7 +1629,7 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1629
1629
  offsets.y = offsetRect.y + offsetParent.clientTop;
1630
1630
  }
1631
1631
  }
1632
- const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);
1632
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1633
1633
  return {
1634
1634
  width: rect.width * scale.x,
1635
1635
  height: rect.height * scale.y,
@@ -1658,6 +1658,7 @@ function getDocumentRect(element) {
1658
1658
  y
1659
1659
  };
1660
1660
  }
1661
+ const SCROLLBAR_MAX = 25;
1661
1662
  function getViewportRect(element, strategy) {
1662
1663
  const win = getWindow(element);
1663
1664
  const html = getDocumentElement(element);
@@ -1675,6 +1676,19 @@ function getViewportRect(element, strategy) {
1675
1676
  y = visualViewport.offsetTop;
1676
1677
  }
1677
1678
  }
1679
+ const windowScrollbarX = getWindowScrollBarX(html);
1680
+ if (windowScrollbarX <= 0) {
1681
+ const doc = html.ownerDocument;
1682
+ const body = doc.body;
1683
+ const bodyStyles = getComputedStyle(body);
1684
+ const bodyMarginInline = doc.compatMode === "CSS1Compat" ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
1685
+ const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
1686
+ if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
1687
+ width -= clippingStableScrollbarWidth;
1688
+ }
1689
+ } else if (windowScrollbarX <= SCROLLBAR_MAX) {
1690
+ width += windowScrollbarX;
1691
+ }
1678
1692
  return {
1679
1693
  width,
1680
1694
  height,
@@ -1682,6 +1696,7 @@ function getViewportRect(element, strategy) {
1682
1696
  y
1683
1697
  };
1684
1698
  }
1699
+ const absoluteOrFixed = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1685
1700
  function getInnerBoundingClientRect(element, strategy) {
1686
1701
  const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
1687
1702
  const top = clientRect.top + element.clientTop;
@@ -1739,7 +1754,7 @@ function getClippingElementAncestors(element, cache) {
1739
1754
  if (!currentNodeIsContaining && computedStyle.position === "fixed") {
1740
1755
  currentContainingBlockComputedStyle = null;
1741
1756
  }
1742
- const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && ["absolute", "fixed"].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
1757
+ const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
1743
1758
  if (shouldDropCurrentNode) {
1744
1759
  result = result.filter((ancestor) => ancestor !== currentNode);
1745
1760
  } else {
@@ -1795,6 +1810,9 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1795
1810
  scrollTop: 0
1796
1811
  };
1797
1812
  const offsets = createCoords(0);
1813
+ function setLeftRTLScrollbarOffset() {
1814
+ offsets.x = getWindowScrollBarX(documentElement);
1815
+ }
1798
1816
  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1799
1817
  if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
1800
1818
  scroll = getNodeScroll(offsetParent);
@@ -1804,9 +1822,12 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1804
1822
  offsets.x = offsetRect.x + offsetParent.clientLeft;
1805
1823
  offsets.y = offsetRect.y + offsetParent.clientTop;
1806
1824
  } else if (documentElement) {
1807
- offsets.x = getWindowScrollBarX(documentElement);
1825
+ setLeftRTLScrollbarOffset();
1808
1826
  }
1809
1827
  }
1828
+ if (isFixed && !isOffsetParentAnElement && documentElement) {
1829
+ setLeftRTLScrollbarOffset();
1830
+ }
1810
1831
  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1811
1832
  const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
1812
1833
  const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
@@ -1955,7 +1976,7 @@ function observeMove(element, onMove) {
1955
1976
  // Handle <iframe>s
1956
1977
  root: root.ownerDocument
1957
1978
  });
1958
- } catch (e) {
1979
+ } catch (_e) {
1959
1980
  io = new IntersectionObserver(handleObserve, options);
1960
1981
  }
1961
1982
  io.observe(element);
@@ -2052,7 +2073,10 @@ const computePosition = (reference, floating, options) => {
2052
2073
  platform: platformWithCache
2053
2074
  });
2054
2075
  };
2055
- var index = typeof document !== "undefined" ? useLayoutEffect : useEffect;
2076
+ var isClient = typeof document !== "undefined";
2077
+ var noop2 = function noop3() {
2078
+ };
2079
+ var index = isClient ? useLayoutEffect : noop2;
2056
2080
  function deepEqual(a, b) {
2057
2081
  if (a === b) {
2058
2082
  return true;
@@ -2612,11 +2636,11 @@ function useHover(context, props) {
2612
2636
  const unbindMouseMoveRef = React.useRef(() => {
2613
2637
  });
2614
2638
  const restTimeoutPendingRef = React.useRef(false);
2615
- const isHoverOpen = React.useCallback(() => {
2639
+ const isHoverOpen = useEffectEvent(() => {
2616
2640
  var _dataRef$current$open;
2617
2641
  const type = (_dataRef$current$open = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open.type;
2618
2642
  return (type == null ? void 0 : type.includes("mouse")) && type !== "mousedown";
2619
- }, [dataRef]);
2643
+ });
2620
2644
  React.useEffect(() => {
2621
2645
  if (!enabled) return;
2622
2646
  function onOpenChange2(_ref) {
@@ -2801,7 +2825,7 @@ function useHover(context, props) {
2801
2825
  index$1(() => {
2802
2826
  var _handleCloseRef$curre;
2803
2827
  if (!enabled) return;
2804
- if (open && (_handleCloseRef$curre = handleCloseRef.current) != null && _handleCloseRef$curre.__options.blockPointerEvents && isHoverOpen()) {
2828
+ if (open && (_handleCloseRef$curre = handleCloseRef.current) != null && (_handleCloseRef$curre = _handleCloseRef$curre.__options) != null && _handleCloseRef$curre.blockPointerEvents && isHoverOpen()) {
2805
2829
  performedPointerEventsMutationRef.current = true;
2806
2830
  const floatingEl = elements.floating;
2807
2831
  if (isElement(elements.domReference) && floatingEl) {
@@ -2962,7 +2986,16 @@ function enqueueFocus(el, options) {
2962
2986
  function getDocument(node) {
2963
2987
  return (node == null ? void 0 : node.ownerDocument) || document;
2964
2988
  }
2965
- let counterMap = /* @__PURE__ */ new WeakMap();
2989
+ const counters = {
2990
+ inert: /* @__PURE__ */ new WeakMap(),
2991
+ "aria-hidden": /* @__PURE__ */ new WeakMap(),
2992
+ none: /* @__PURE__ */ new WeakMap()
2993
+ };
2994
+ function getCounterMap(control) {
2995
+ if (control === "inert") return counters.inert;
2996
+ if (control === "aria-hidden") return counters["aria-hidden"];
2997
+ return counters.none;
2998
+ }
2966
2999
  let uncontrolledElementsSet = /* @__PURE__ */ new WeakSet();
2967
3000
  let markerMap = {};
2968
3001
  let lockCount$1 = 0;
@@ -3010,8 +3043,8 @@ function applyAttributeToOthers(uncorrectedAvoidElements, body, ariaHidden, iner
3010
3043
  } else {
3011
3044
  const attr = controlAttribute ? node.getAttribute(controlAttribute) : null;
3012
3045
  const alreadyHidden = attr !== null && attr !== "false";
3013
- const currentCounterValue = counterMap.get(node) || 0;
3014
- const counterValue = controlAttribute ? currentCounterValue + 1 : currentCounterValue;
3046
+ const counterMap = getCounterMap(controlAttribute);
3047
+ const counterValue = (counterMap.get(node) || 0) + 1;
3015
3048
  const markerValue = (markerCounter.get(node) || 0) + 1;
3016
3049
  counterMap.set(node, counterValue);
3017
3050
  markerCounter.set(node, markerValue);
@@ -3031,8 +3064,9 @@ function applyAttributeToOthers(uncorrectedAvoidElements, body, ariaHidden, iner
3031
3064
  lockCount$1++;
3032
3065
  return () => {
3033
3066
  hiddenElements.forEach((element) => {
3067
+ const counterMap = getCounterMap(controlAttribute);
3034
3068
  const currentCounterValue = counterMap.get(element) || 0;
3035
- const counterValue = controlAttribute ? currentCounterValue - 1 : currentCounterValue;
3069
+ const counterValue = currentCounterValue - 1;
3036
3070
  const markerValue = (markerCounter.get(element) || 0) - 1;
3037
3071
  counterMap.set(element, counterValue);
3038
3072
  markerCounter.set(element, markerValue);
@@ -3048,8 +3082,9 @@ function applyAttributeToOthers(uncorrectedAvoidElements, body, ariaHidden, iner
3048
3082
  });
3049
3083
  lockCount$1--;
3050
3084
  if (!lockCount$1) {
3051
- counterMap = /* @__PURE__ */ new WeakMap();
3052
- counterMap = /* @__PURE__ */ new WeakMap();
3085
+ counters.inert = /* @__PURE__ */ new WeakMap();
3086
+ counters["aria-hidden"] = /* @__PURE__ */ new WeakMap();
3087
+ counters.none = /* @__PURE__ */ new WeakMap();
3053
3088
  uncontrolledElementsSet = /* @__PURE__ */ new WeakSet();
3054
3089
  markerMap = {};
3055
3090
  }
@@ -3063,7 +3098,7 @@ function markOthers(avoidElements, ariaHidden, inert) {
3063
3098
  inert = false;
3064
3099
  }
3065
3100
  const body = getDocument(avoidElements[0]).body;
3066
- return applyAttributeToOthers(avoidElements.concat(Array.from(body.querySelectorAll("[aria-live]"))), body, ariaHidden, inert);
3101
+ return applyAttributeToOthers(avoidElements.concat(Array.from(body.querySelectorAll('[aria-live],[role="status"],output'))), body, ariaHidden, inert);
3067
3102
  }
3068
3103
  const HIDDEN_STYLES = {
3069
3104
  border: 0,
@@ -3114,8 +3149,11 @@ function useLiteMergeRefs(refs) {
3114
3149
  }
3115
3150
  const LIST_LIMIT = 20;
3116
3151
  let previouslyFocusedElements = [];
3117
- function addPreviouslyFocusedElement(element) {
3152
+ function clearDisconnectedPreviouslyFocusedElements() {
3118
3153
  previouslyFocusedElements = previouslyFocusedElements.filter((el) => el.isConnected);
3154
+ }
3155
+ function addPreviouslyFocusedElement(element) {
3156
+ clearDisconnectedPreviouslyFocusedElements();
3119
3157
  if (element && getNodeName(element) !== "body") {
3120
3158
  previouslyFocusedElements.push(element);
3121
3159
  if (previouslyFocusedElements.length > LIST_LIMIT) {
@@ -3124,7 +3162,8 @@ function addPreviouslyFocusedElement(element) {
3124
3162
  }
3125
3163
  }
3126
3164
  function getPreviouslyFocusedElement() {
3127
- return previouslyFocusedElements.slice().reverse().find((el) => el.isConnected);
3165
+ clearDisconnectedPreviouslyFocusedElements();
3166
+ return previouslyFocusedElements[previouslyFocusedElements.length - 1];
3128
3167
  }
3129
3168
  function getFirstTabbableElement(container) {
3130
3169
  const tabbableOptions = getTabbableOptions();
@@ -3209,6 +3248,7 @@ function FloatingFocusManager(props) {
3209
3248
  const preventReturnFocusRef = React.useRef(false);
3210
3249
  const isPointerDownRef = React.useRef(false);
3211
3250
  const tabbableIndexRef = React.useRef(-1);
3251
+ const blurTimeoutRef = React.useRef(-1);
3212
3252
  const isInsidePortal = portalContext != null;
3213
3253
  const floatingFocusElement = getFloatingFocusElement(floating);
3214
3254
  const getTabbableContent = useEffectEvent(function(container) {
@@ -3287,6 +3327,7 @@ function FloatingFocusManager(props) {
3287
3327
  function handleFocusOutside(event) {
3288
3328
  const relatedTarget = event.relatedTarget;
3289
3329
  const currentTarget = event.currentTarget;
3330
+ const target = getTarget(event);
3290
3331
  queueMicrotask(() => {
3291
3332
  const nodeId = getNodeId();
3292
3333
  const movedToUnrelatedNode = !(contains(domReference, relatedTarget) || contains(floating, relatedTarget) || contains(relatedTarget, floating) || contains(portalContext == null ? void 0 : portalContext.portalNode, relatedTarget) || relatedTarget != null && relatedTarget.hasAttribute(createAttribute("focus-guard")) || tree && (getNodeChildren(tree.nodesRef.current, nodeId).find((node) => {
@@ -3299,7 +3340,7 @@ function FloatingFocusManager(props) {
3299
3340
  if (currentTarget === domReference && floatingFocusElement) {
3300
3341
  handleTabIndex(floatingFocusElement, orderRef);
3301
3342
  }
3302
- if (restoreFocus && movedToUnrelatedNode && activeElement(getDocument$1(floatingFocusElement)) === getDocument$1(floatingFocusElement).body) {
3343
+ if (restoreFocus && currentTarget !== domReference && !(target != null && target.isConnected) && activeElement(getDocument$1(floatingFocusElement)) === getDocument$1(floatingFocusElement).body) {
3303
3344
  if (isHTMLElement(floatingFocusElement)) {
3304
3345
  floatingFocusElement.focus();
3305
3346
  }
@@ -3310,6 +3351,10 @@ function FloatingFocusManager(props) {
3310
3351
  nodeToFocus.focus();
3311
3352
  }
3312
3353
  }
3354
+ if (dataRef.current.insideReactTree) {
3355
+ dataRef.current.insideReactTree = false;
3356
+ return;
3357
+ }
3313
3358
  if ((isUntrappedTypeableCombobox ? true : !modal) && relatedTarget && movedToUnrelatedNode && !isPointerDownRef.current && // Fix React 18 Strict Mode returnFocus due to double rendering.
3314
3359
  relatedTarget !== getPreviouslyFocusedElement()) {
3315
3360
  preventReturnFocusRef.current = true;
@@ -3317,17 +3362,31 @@ function FloatingFocusManager(props) {
3317
3362
  }
3318
3363
  });
3319
3364
  }
3365
+ const shouldHandleBlurCapture = Boolean(!tree && portalContext);
3366
+ function markInsideReactTree() {
3367
+ clearTimeoutIfSet(blurTimeoutRef);
3368
+ dataRef.current.insideReactTree = true;
3369
+ blurTimeoutRef.current = window.setTimeout(() => {
3370
+ dataRef.current.insideReactTree = false;
3371
+ });
3372
+ }
3320
3373
  if (floating && isHTMLElement(domReference)) {
3321
3374
  domReference.addEventListener("focusout", handleFocusOutside);
3322
3375
  domReference.addEventListener("pointerdown", handlePointerDown);
3323
3376
  floating.addEventListener("focusout", handleFocusOutside);
3377
+ if (shouldHandleBlurCapture) {
3378
+ floating.addEventListener("focusout", markInsideReactTree, true);
3379
+ }
3324
3380
  return () => {
3325
3381
  domReference.removeEventListener("focusout", handleFocusOutside);
3326
3382
  domReference.removeEventListener("pointerdown", handlePointerDown);
3327
3383
  floating.removeEventListener("focusout", handleFocusOutside);
3384
+ if (shouldHandleBlurCapture) {
3385
+ floating.removeEventListener("focusout", markInsideReactTree, true);
3386
+ }
3328
3387
  };
3329
3388
  }
3330
- }, [disabled, domReference, floating, floatingFocusElement, modal, tree, portalContext, onOpenChange, closeOnFocusOut, restoreFocus, getTabbableContent, isUntrappedTypeableCombobox, getNodeId, orderRef]);
3389
+ }, [disabled, domReference, floating, floatingFocusElement, modal, tree, portalContext, onOpenChange, closeOnFocusOut, restoreFocus, getTabbableContent, isUntrappedTypeableCombobox, getNodeId, orderRef, dataRef]);
3331
3390
  const beforeGuardRef = React.useRef(null);
3332
3391
  const afterGuardRef = React.useRef(null);
3333
3392
  const mergedBeforeGuardRef = useLiteMergeRefs([beforeGuardRef, portalContext == null ? void 0 : portalContext.beforeInsideRef]);
@@ -3338,15 +3397,11 @@ function FloatingFocusManager(props) {
3338
3397
  if (!floating) return;
3339
3398
  const portalNodes = Array.from((portalContext == null || (_portalContext$portal = portalContext.portalNode) == null ? void 0 : _portalContext$portal.querySelectorAll("[" + createAttribute("portal") + "]")) || []);
3340
3399
  const ancestors = tree ? getNodeAncestors(tree.nodesRef.current, getNodeId()) : [];
3341
- const ancestorFloatingNodes = tree && !modal ? ancestors.map((node) => {
3342
- var _node$context6;
3343
- return (_node$context6 = node.context) == null ? void 0 : _node$context6.elements.floating;
3344
- }) : [];
3345
3400
  const rootAncestorComboboxDomReference = (_ancestors$find = ancestors.find((node) => {
3346
- var _node$context7;
3347
- return isTypeableCombobox(((_node$context7 = node.context) == null ? void 0 : _node$context7.elements.domReference) || null);
3401
+ var _node$context6;
3402
+ return isTypeableCombobox(((_node$context6 = node.context) == null ? void 0 : _node$context6.elements.domReference) || null);
3348
3403
  })) == null || (_ancestors$find = _ancestors$find.context) == null ? void 0 : _ancestors$find.elements.domReference;
3349
- const insideElements = [floating, rootAncestorComboboxDomReference, ...portalNodes, ...ancestorFloatingNodes, ...getInsideElements(), startDismissButtonRef.current, endDismissButtonRef.current, beforeGuardRef.current, afterGuardRef.current, portalContext == null ? void 0 : portalContext.beforeOutsideRef.current, portalContext == null ? void 0 : portalContext.afterOutsideRef.current, orderRef.current.includes("reference") || isUntrappedTypeableCombobox ? domReference : null].filter((x) => x != null);
3404
+ const insideElements = [floating, rootAncestorComboboxDomReference, ...portalNodes, ...getInsideElements(), startDismissButtonRef.current, endDismissButtonRef.current, beforeGuardRef.current, afterGuardRef.current, portalContext == null ? void 0 : portalContext.beforeOutsideRef.current, portalContext == null ? void 0 : portalContext.afterOutsideRef.current, orderRef.current.includes("reference") || isUntrappedTypeableCombobox ? domReference : null].filter((x) => x != null);
3350
3405
  const cleanup = modal || isUntrappedTypeableCombobox ? markOthers(insideElements, !useInert, useInert) : markOthers(insideElements);
3351
3406
  return () => {
3352
3407
  cleanup();
@@ -3370,7 +3425,6 @@ function FloatingFocusManager(props) {
3370
3425
  }, [disabled, open, floatingFocusElement, ignoreInitialFocus, getTabbableElements, initialFocusRef]);
3371
3426
  index$1(() => {
3372
3427
  if (disabled || !floatingFocusElement) return;
3373
- let preventReturnFocusScroll = false;
3374
3428
  const doc = getDocument$1(floatingFocusElement);
3375
3429
  const previouslyFocusedElement = activeElement(doc);
3376
3430
  addPreviouslyFocusedElement(previouslyFocusedElement);
@@ -3386,7 +3440,6 @@ function FloatingFocusManager(props) {
3386
3440
  if (reason !== "outside-press") return;
3387
3441
  if (nested) {
3388
3442
  preventReturnFocusRef.current = false;
3389
- preventReturnFocusScroll = true;
3390
3443
  } else if (isVirtualClick(event) || isVirtualPointerEvent(event)) {
3391
3444
  preventReturnFocusRef.current = false;
3392
3445
  } else {
@@ -3399,7 +3452,6 @@ function FloatingFocusManager(props) {
3399
3452
  });
3400
3453
  if (isPreventScrollSupported) {
3401
3454
  preventReturnFocusRef.current = false;
3402
- preventReturnFocusScroll = true;
3403
3455
  } else {
3404
3456
  preventReturnFocusRef.current = true;
3405
3457
  }
@@ -3423,9 +3475,9 @@ function FloatingFocusManager(props) {
3423
3475
  return () => {
3424
3476
  events.off("openchange", onOpenChange2);
3425
3477
  const activeEl = activeElement(doc);
3426
- const isFocusInsideFloatingTree = contains(floating, activeEl) || tree && getNodeChildren(tree.nodesRef.current, getNodeId()).some((node) => {
3427
- var _node$context8;
3428
- return contains((_node$context8 = node.context) == null ? void 0 : _node$context8.elements.floating, activeEl);
3478
+ const isFocusInsideFloatingTree = contains(floating, activeEl) || tree && getNodeChildren(tree.nodesRef.current, getNodeId(), false).some((node) => {
3479
+ var _node$context7;
3480
+ return contains((_node$context7 = node.context) == null ? void 0 : _node$context7.elements.floating, activeEl);
3429
3481
  });
3430
3482
  const returnElement = getReturnElement();
3431
3483
  queueMicrotask(() => {
@@ -3438,7 +3490,7 @@ function FloatingFocusManager(props) {
3438
3490
  (tabbableReturnElement !== activeEl && activeEl !== doc.body ? isFocusInsideFloatingTree : true)
3439
3491
  ) {
3440
3492
  tabbableReturnElement.focus({
3441
- preventScroll: preventReturnFocusScroll
3493
+ preventScroll: true
3442
3494
  });
3443
3495
  }
3444
3496
  fallbackEl.remove();
@@ -3449,6 +3501,9 @@ function FloatingFocusManager(props) {
3449
3501
  queueMicrotask(() => {
3450
3502
  preventReturnFocusRef.current = false;
3451
3503
  });
3504
+ return () => {
3505
+ queueMicrotask(clearDisconnectedPreviouslyFocusedElements);
3506
+ };
3452
3507
  }, [disabled]);
3453
3508
  index$1(() => {
3454
3509
  if (disabled) return;
@@ -3660,7 +3715,6 @@ function useDismiss(context, props) {
3660
3715
  const tree = useFloatingTree();
3661
3716
  const outsidePressFn = useEffectEvent(typeof unstable_outsidePress === "function" ? unstable_outsidePress : () => false);
3662
3717
  const outsidePress = typeof unstable_outsidePress === "function" ? outsidePressFn : unstable_outsidePress;
3663
- const insideReactTreeRef = React.useRef(false);
3664
3718
  const endedOrStartedInsideRef = React.useRef(false);
3665
3719
  const {
3666
3720
  escapeKey: escapeKeyBubbles,
@@ -3710,8 +3764,8 @@ function useDismiss(context, props) {
3710
3764
  });
3711
3765
  const closeOnPressOutside = useEffectEvent((event) => {
3712
3766
  var _dataRef$current$floa2;
3713
- const insideReactTree = insideReactTreeRef.current;
3714
- insideReactTreeRef.current = false;
3767
+ const insideReactTree = dataRef.current.insideReactTree;
3768
+ dataRef.current.insideReactTree = false;
3715
3769
  const endedOrStartedInside = endedOrStartedInsideRef.current;
3716
3770
  endedOrStartedInsideRef.current = false;
3717
3771
  if (outsidePressEvent === "click" && endedOrStartedInside) {
@@ -3854,8 +3908,8 @@ function useDismiss(context, props) {
3854
3908
  };
3855
3909
  }, [dataRef, elements, escapeKey, outsidePress, outsidePressEvent, open, onOpenChange, ancestorScroll, enabled, escapeKeyBubbles, outsidePressBubbles, closeOnEscapeKeyDown, escapeKeyCapture, closeOnEscapeKeyDownCapture, closeOnPressOutside, outsidePressCapture, closeOnPressOutsideCapture]);
3856
3910
  React.useEffect(() => {
3857
- insideReactTreeRef.current = false;
3858
- }, [outsidePress, outsidePressEvent]);
3911
+ dataRef.current.insideReactTree = false;
3912
+ }, [dataRef, outsidePress, outsidePressEvent]);
3859
3913
  const reference = React.useMemo(() => ({
3860
3914
  onKeyDown: closeOnEscapeKeyDown,
3861
3915
  ...referencePress && {
@@ -3878,9 +3932,9 @@ function useDismiss(context, props) {
3878
3932
  endedOrStartedInsideRef.current = true;
3879
3933
  },
3880
3934
  [captureHandlerKeys[outsidePressEvent]]: () => {
3881
- insideReactTreeRef.current = true;
3935
+ dataRef.current.insideReactTree = true;
3882
3936
  }
3883
- }), [closeOnEscapeKeyDown, outsidePressEvent]);
3937
+ }), [closeOnEscapeKeyDown, outsidePressEvent, dataRef]);
3884
3938
  return React.useMemo(() => enabled ? {
3885
3939
  reference,
3886
3940
  floating