@brightspot/ui 6.0.7-pr.248 → 6.0.7-pr.258

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 (81) hide show
  1. package/dist/custom-elements.json +219 -219
  2. package/dist/storybook/assets/{ActionBar.stories-BI_iTJEQ.js → ActionBar.stories-C_l6G0yu.js} +1 -1
  3. package/dist/storybook/assets/{ActionItem.stories-BJWzexGS.js → ActionItem.stories-BM-NksHf.js} +1 -1
  4. package/dist/storybook/assets/{AiSparkle.stories-DaA5HO3d.js → AiSparkle.stories-BqvwHYGU.js} +1 -1
  5. package/dist/storybook/assets/{Avatar.stories-Dw8QVNJ-.js → Avatar.stories-C7n8IJ7z.js} +1 -1
  6. package/dist/storybook/assets/{AvatarGroup.stories-BsNMLTiE.js → AvatarGroup.stories-tLznZPTt.js} +1 -1
  7. package/dist/storybook/assets/{Badge.stories-GY-ektak.js → Badge.stories-DbrKcpVk.js} +1 -1
  8. package/dist/storybook/assets/{Banner.stories-Bg9VB-Fy.js → Banner.stories-EWiNkfsu.js} +1 -1
  9. package/dist/storybook/assets/{Button-BOLW3-O-.js → Button-DKHqcFka.js} +1 -1
  10. package/dist/storybook/assets/{Button.stories-DMRHEd8n.js → Button.stories-DdbLdAtu.js} +1 -1
  11. package/dist/storybook/assets/{ButtonGroup.stories-B2gFm6tD.js → ButtonGroup.stories-CmK0E6WM.js} +1 -1
  12. package/dist/storybook/assets/{Card.stories-CLdjETEv.js → Card.stories-CspD_19l.js} +1 -1
  13. package/dist/storybook/assets/{Celebrate.stories-navEPsY4.js → Celebrate.stories-ppdTMelZ.js} +1 -1
  14. package/dist/storybook/assets/{Checkbox.stories-5VfpC9R_.js → Checkbox.stories-D4eM5NBf.js} +1 -1
  15. package/dist/storybook/assets/{CircularProgress.stories-BI1KFT4i.js → CircularProgress.stories-QTwBwjlI.js} +1 -1
  16. package/dist/storybook/assets/{ClipboardMixin.stories-DLqRNEnd.js → ClipboardMixin.stories-DWmGFfsN.js} +1 -1
  17. package/dist/storybook/assets/{Color-6BZIO3FS-BYF_b3cm.js → Color-6BZIO3FS-wEXCT94M.js} +1 -1
  18. package/dist/storybook/assets/{Colors.stories-DymlImN1.js → Colors.stories-y89Ybf10.js} +1 -1
  19. package/dist/storybook/assets/{CombinedEffects.stories-BcAx9THm.js → CombinedEffects.stories-3NOs2WC8.js} +1 -1
  20. package/dist/storybook/assets/{ComponentStatesMixin-D77sglBs.js → ComponentStatesMixin-B-pPqcVK.js} +1 -1
  21. package/dist/storybook/assets/{ComponentStatesMixin.stories-BFUmXPbv.js → ComponentStatesMixin.stories-RAzJCur6.js} +1 -1
  22. package/dist/storybook/assets/{CopyToClipboard.stories-CLP60X8y.js → CopyToClipboard.stories-8G4qvCc-.js} +1 -1
  23. package/dist/storybook/assets/{Debounce.stories-CDlv8D8Q.js → Debounce.stories-B5YcRQ24.js} +1 -1
  24. package/dist/storybook/assets/{DocsRenderer-LL677BLK-DU2JYRwe.js → DocsRenderer-LL677BLK-BbQFouSU.js} +3 -3
  25. package/dist/storybook/assets/{Dropdown.stories-CJ-QjUYp.js → Dropdown.stories-PL2H0pU5.js} +1 -1
  26. package/dist/storybook/assets/{EmptyState.stories-HQi_rzX2.js → EmptyState.stories-QJTpmE_b.js} +1 -1
  27. package/dist/storybook/assets/{EscaAvatar.stories-BLqoZyr7.js → EscaAvatar.stories-CUllBkf8.js} +1 -1
  28. package/dist/storybook/assets/{Events.stories-CvSn4RPH.js → Events.stories-4rR5V8-F.js} +1 -1
  29. package/dist/storybook/assets/{Heading.stories-MR-daawc.js → Heading.stories-DuN-PKOA.js} +1 -1
  30. package/dist/storybook/assets/{HueRipple.stories-P4LiNUpZ.js → HueRipple.stories-B0ZodjsS.js} +1 -1
  31. package/dist/storybook/assets/{Icon.stories-h5P6rJQP.js → Icon.stories-CIxaoAs5.js} +1 -1
  32. package/dist/storybook/assets/{IconButton.stories-Cc0vzr28.js → IconButton.stories-D7UPBfia.js} +1 -1
  33. package/dist/storybook/assets/{LinearProgress.stories-yTIIcK9O.js → LinearProgress.stories-BTt1Sl1u.js} +1 -1
  34. package/dist/storybook/assets/{Message.stories-BbFPAVCt.js → Message.stories-CagwLFkn.js} +1 -1
  35. package/dist/storybook/assets/{OnFindMixin.stories-BAWi3mlB.js → OnFindMixin.stories-tVmQA2Y0.js} +1 -1
  36. package/dist/storybook/assets/{Pagination.stories-DJ-6-aNd.js → Pagination.stories-DEEtV4nb.js} +1 -1
  37. package/dist/storybook/assets/{Popover.stories-D9CilGw-.js → Popover.stories-DQzEqkYq.js} +1 -1
  38. package/dist/storybook/assets/{ReadyMixin-B6XKdlIG.js → ReadyMixin-QdRqgoCq.js} +1 -1
  39. package/dist/storybook/assets/{RovingTabindexMixin.stories-CPJ_6oiA.js → RovingTabindexMixin.stories-nBKn63JA.js} +1 -1
  40. package/dist/storybook/assets/{Rtc.stories-DcWHMr_7.js → Rtc.stories-CsQZXXkW.js} +1 -1
  41. package/dist/storybook/assets/{ScrollShadow.stories-DH6wJQFV.js → ScrollShadow.stories-DthBvERk.js} +1 -1
  42. package/dist/storybook/assets/{Switch.stories-Cl9xPGbR.js → Switch.stories-DJlerOu7.js} +1 -1
  43. package/dist/storybook/assets/{Tab.stories-BAhU8vUi.js → Tab.stories-pTzYQ47u.js} +1 -1
  44. package/dist/storybook/assets/{Tabs.stories-CLRPMg6P.js → Tabs.stories-DZVVASje.js} +1 -1
  45. package/dist/storybook/assets/{Throttle.stories-BbONS-V4.js → Throttle.stories-ao5Z0tKl.js} +1 -1
  46. package/dist/storybook/assets/{Tooltip.stories-B6s8TQSb.js → Tooltip.stories-DG5uX76N.js} +1 -1
  47. package/dist/storybook/assets/{Upload.stories-D0C25uui.js → Upload.stories-amQEWT3g.js} +1 -1
  48. package/dist/storybook/assets/{UploadItem.stories-DL6N7vsq.js → UploadItem.stories-BmV67S0w.js} +1 -1
  49. package/dist/storybook/assets/{Welcome.stories-BK4n0XMp.js → Welcome.stories-dQCC-2SS.js} +1 -1
  50. package/dist/storybook/assets/{Widget.stories-Cy9frwq3.js → Widget.stories-C6seBEUw.js} +1 -1
  51. package/dist/storybook/assets/{WithTooltip-65CFNBJE-BuwTEXTQ.js → WithTooltip-65CFNBJE-CfvumiWi.js} +1 -1
  52. package/dist/storybook/assets/{blocks-BLujz-58.js → blocks-C6SDzp-g.js} +5 -5
  53. package/dist/storybook/assets/{formatter-EIJCOSYU-B1sNuUky.js → formatter-EIJCOSYU-BaqiBLPr.js} +1 -1
  54. package/dist/storybook/assets/if-defined-uIb_CAG6.js +1 -0
  55. package/dist/storybook/assets/{iframe-D1g1spfw.js → iframe-D-S0wi2N.js} +4 -4
  56. package/dist/storybook/assets/{index-C6O8j27b.js → index-Bww5Kv3Z.js} +1 -1
  57. package/dist/storybook/assets/{onFind-ZJa5FYZA.js → onFind-CMcOHHfd.js} +1 -1
  58. package/dist/storybook/assets/{onFind.stories-rDFDR12f.js → onFind.stories-_gOZXtCz.js} +1 -1
  59. package/dist/storybook/assets/{onRemove.stories-Cmk4GOI5.js → onRemove.stories-CAtCZVrF.js} +1 -1
  60. package/dist/storybook/assets/{onVisible.stories-RZ3Q87MG.js → onVisible.stories-9vG5UEBK.js} +1 -1
  61. package/dist/storybook/assets/{style-map-DS-2jfV3.js → style-map-PTLklo93.js} +1 -1
  62. package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-C5m4nzeD.js → syntaxhighlighter-ED5Y7EFY-Cs9uEjR3.js} +1 -1
  63. package/dist/storybook/iframe.html +1 -1
  64. package/dist/storybook/project.json +1 -1
  65. package/package.json +1 -1
  66. package/src/legacy/tool-ui/src/ContentEdit.css +2 -1
  67. package/src/legacy/tool-ui/src/ContentEditDrawer.css +29 -3
  68. package/src/legacy/tool-ui/src/ContentInputGroup.css +9 -0
  69. package/src/legacy/tool-ui/src/MenuView.css +2 -1
  70. package/src/legacy/tool-ui/src/Page.css +17 -12
  71. package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.082a5d6321ada47248c4.js +500 -0
  72. package/src/legacy/tool-ui/src/main/webapp/dist/{v4.7b68e2b072fa0ec85956.js → v4.5ee2b411d38090674c69.js} +3 -3
  73. package/src/legacy/tool-ui/src/main/webapp/dist/{v5.56871b6a0beff985a4f0.js → v5.798280a26dd028eb42f1.js} +3 -3
  74. package/src/legacy/tool-ui/src/main/webapp/dist/v5.9e647aa52bd7a7fbf833.css +5 -0
  75. package/src/legacy/tool-ui/src/v5.ts +0 -32
  76. package/dist/storybook/assets/if-defined-D7P78rGH.js +0 -1
  77. package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.7879ae7b25d865bac926.js +0 -500
  78. package/src/legacy/tool-ui/src/main/webapp/dist/v5.5c77a18b85a8ca6ef866.css +0 -5
  79. /package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.7879ae7b25d865bac926.js.LICENSE.txt → RTEProseMirror.082a5d6321ada47248c4.js.LICENSE.txt} +0 -0
  80. /package/src/legacy/tool-ui/src/main/webapp/dist/{v4.7b68e2b072fa0ec85956.js.LICENSE.txt → v4.5ee2b411d38090674c69.js.LICENSE.txt} +0 -0
  81. /package/src/legacy/tool-ui/src/main/webapp/dist/{v5.56871b6a0beff985a4f0.js.LICENSE.txt → v5.798280a26dd028eb42f1.js.LICENSE.txt} +0 -0
@@ -2052,32 +2052,12 @@ onFind('.ActionBar', (actionBar) => {
2052
2052
  const widgetTitle = widget.querySelector<HTMLElement>('.Widget-title')
2053
2053
 
2054
2054
  let lastPointerType = ''
2055
-
2056
- // The browser refocuses whatever was focused before when the window regains focus. That
2057
- // arrives as a focusin with no preceding pointerdown, so the pointer guard below never
2058
- // catches it, and the scroll drags the editor away from wherever they had deliberately
2059
- // scrolled to — most visibly with a rich text field taller than the pane.
2060
- // Seeded from hasFocus() because binding can happen while the window is already blurred —
2061
- // a background tab, or form content that mounts lazily while the user is away — in which
2062
- // case the blur has already fired and there is nothing left to listen for.
2063
- let isRestoringFocus = !document.hasFocus()
2064
- const handleWindowBlur = () => {
2065
- isRestoringFocus = true
2066
- }
2067
-
2068
- // Any deliberate input means we are no longer restoring, so the flag cannot go stale if
2069
- // focus happens to return to something outside this widget.
2070
- const clearRestoringFocus = () => {
2071
- isRestoringFocus = false
2072
- }
2073
-
2074
2055
  const handlePointerdown = (event: Event) => {
2075
2056
  lastPointerType = (event as PointerEvent).pointerType
2076
2057
  // Reset after current task so only the immediately following focusin is affected.
2077
2058
  setTimeout(() => {
2078
2059
  lastPointerType = ''
2079
2060
  }, 0)
2080
- clearRestoringFocus()
2081
2061
  }
2082
2062
 
2083
2063
  const handleFocusin = (event: Event) => {
@@ -2085,13 +2065,6 @@ onFind('.ActionBar', (actionBar) => {
2085
2065
  // smooth scrolling mid-click disrupts dropdown positioning and button actions.
2086
2066
  if (lastPointerType) return
2087
2067
 
2088
- // Skip the single focusin the browser fires when restoring focus on window re-entry.
2089
- // Keyboard navigation afterwards still scrolls, which is what this handler is for.
2090
- if (isRestoringFocus) {
2091
- isRestoringFocus = false
2092
- return
2093
- }
2094
-
2095
2068
  const target = event.target
2096
2069
  if (!(target instanceof HTMLElement)) return
2097
2070
 
@@ -2108,13 +2081,8 @@ onFind('.ActionBar', (actionBar) => {
2108
2081
 
2109
2082
  widget.addEventListener('pointerdown', handlePointerdown, { passive: true })
2110
2083
  widget.addEventListener('focusin', handleFocusin, { passive: true })
2111
- // Bound on window without capture — capture would also pick up element blur events.
2112
- window.addEventListener('blur', handleWindowBlur)
2113
- window.addEventListener('keydown', clearRestoringFocus, { passive: true })
2114
2084
  onRemove(widget, () => {
2115
2085
  widget.removeEventListener('pointerdown', handlePointerdown)
2116
2086
  widget.removeEventListener('focusin', handleFocusin)
2117
- window.removeEventListener('blur', handleWindowBlur)
2118
- window.removeEventListener('keydown', clearRestoringFocus)
2119
2087
  })
2120
2088
  })
@@ -1 +0,0 @@
1
- import{E as r}from"./iframe-D1g1spfw.js";const m=o=>o??r;export{m as o};