@brightspot/ui 6.5.0 → 6.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/README.md +5 -3
  2. package/dist/components/copy-to-clipboard/CopyToClipboard.d.ts +2 -2
  3. package/dist/components/copy-to-clipboard/CopyToClipboard.js +2 -2
  4. package/dist/components/copy-to-clipboard/CopyToClipboard.js.map +1 -1
  5. package/dist/components/popover/Popover.d.ts +1 -1
  6. package/dist/components/popover/Popover.js +1 -1
  7. package/dist/custom-elements.json +55 -351
  8. package/dist/storybook/assets/{ActionBar.stories-0ScNWOC4.js → ActionBar.stories-XlCBIXyG.js} +1 -1
  9. package/dist/storybook/assets/{ActionItem.stories-DXJ_yKW3.js → ActionItem.stories-CGjqkED6.js} +1 -1
  10. package/dist/storybook/assets/{AiSparkle.stories-Z_5khRM7.js → AiSparkle.stories-ByYrmbnK.js} +1 -1
  11. package/dist/storybook/assets/{Avatar.stories-C9XcQNHg.js → Avatar.stories-CLTN4Hy4.js} +1 -1
  12. package/dist/storybook/assets/{AvatarGroup.stories-Cdy_mkeq.js → AvatarGroup.stories-Bi0JVYQ3.js} +1 -1
  13. package/dist/storybook/assets/{Badge.stories-BUdXSprE.js → Badge.stories-vsmP5PE_.js} +1 -1
  14. package/dist/storybook/assets/{Banner.stories-D71fgNb5.js → Banner.stories-BF3ONLiN.js} +1 -1
  15. package/dist/storybook/assets/{Button-D7pK-2at.js → Button-B2WxPTmr.js} +1 -1
  16. package/dist/storybook/assets/{Button.stories-B6WKuxXx.js → Button.stories-Doz3Yo8_.js} +1 -1
  17. package/dist/storybook/assets/{ButtonGroup.stories-CwiRfEal.js → ButtonGroup.stories-DIHq7pCQ.js} +1 -1
  18. package/dist/storybook/assets/{Card.stories-CxCcO9k6.js → Card.stories-DG-Az8eK.js} +1 -1
  19. package/dist/storybook/assets/{Celebrate.stories-DNVFUrhg.js → Celebrate.stories-BEeOZr06.js} +1 -1
  20. package/dist/storybook/assets/{Checkbox.stories-SuP4ltMI.js → Checkbox.stories-lnxLmjKf.js} +1 -1
  21. package/dist/storybook/assets/{CircularProgress.stories-BB0twcGv.js → CircularProgress.stories-fVKhhGVs.js} +1 -1
  22. package/dist/storybook/assets/{ClipboardMixin.stories-DaPV19jG.js → ClipboardMixin.stories-BqFaG8rE.js} +1 -1
  23. package/dist/storybook/assets/{Color-6BZIO3FS-DQ34tmQu.js → Color-6BZIO3FS-CuorWr7g.js} +1 -1
  24. package/dist/storybook/assets/{Colors.stories-CMFJai_a.js → Colors.stories-DKpeKvis.js} +1 -1
  25. package/dist/storybook/assets/{CombinedEffects.stories-BIHfDsN0.js → CombinedEffects.stories-B7pZ5dmW.js} +1 -1
  26. package/dist/storybook/assets/{ComponentStatesMixin-Bq-OGuus.js → ComponentStatesMixin-DkTJQa4k.js} +1 -1
  27. package/dist/storybook/assets/{ComponentStatesMixin.stories-DMxDqidh.js → ComponentStatesMixin.stories-Bcy1VJUi.js} +1 -1
  28. package/dist/storybook/assets/{CopyToClipboard.stories-CkdYHm8U.js → CopyToClipboard.stories-BD3hmKKD.js} +10 -10
  29. package/dist/storybook/assets/{Debounce.stories-CZSMfS-h.js → Debounce.stories-zJt-mtTD.js} +1 -1
  30. package/dist/storybook/assets/{DocsRenderer-LL677BLK-CCAvPHmY.js → DocsRenderer-LL677BLK-DjKIBL7O.js} +3 -3
  31. package/dist/storybook/assets/{Dropdown.stories-BTqSRQiC.js → Dropdown.stories-CiTlMwEm.js} +1 -1
  32. package/dist/storybook/assets/{EmptyState.stories-CjIkNVv4.js → EmptyState.stories-Dls5pG7y.js} +1 -1
  33. package/dist/storybook/assets/{EscaAvatar.stories-ORFCzxQw.js → EscaAvatar.stories-B8ZmuMwt.js} +1 -1
  34. package/dist/storybook/assets/{Events.stories-DHFT6dZM.js → Events.stories-D8VQCUXQ.js} +1 -1
  35. package/dist/storybook/assets/{Heading.stories-CRgKl3Ve.js → Heading.stories-BztrHfGc.js} +1 -1
  36. package/dist/storybook/assets/{HueRipple.stories-YiQHrWPS.js → HueRipple.stories-B4MJInE3.js} +1 -1
  37. package/dist/storybook/assets/{Icon.stories-Bv4QRZNL.js → Icon.stories-CnCu9IuZ.js} +1 -1
  38. package/dist/storybook/assets/{IconButton.stories-ErFc860x.js → IconButton.stories-yOrrDyUi.js} +1 -1
  39. package/dist/storybook/assets/{LinearProgress.stories-DUAAMzdt.js → LinearProgress.stories-B1C1snwy.js} +1 -1
  40. package/dist/storybook/assets/{Message.stories-DxJEEd1I.js → Message.stories-Y3A_sQCK.js} +1 -1
  41. package/dist/storybook/assets/{OnFindMixin.stories-CoKUEhb4.js → OnFindMixin.stories-DE-1wy4s.js} +1 -1
  42. package/dist/storybook/assets/{Pagination.stories-6k02-Zb5.js → Pagination.stories-Bh9XEgpH.js} +1 -1
  43. package/dist/storybook/assets/{Popover.stories-Cd7P1nw_.js → Popover.stories-B6MzfP9e.js} +4 -4
  44. package/dist/storybook/assets/{ReadyMixin-BL65bbm_.js → ReadyMixin-Cnogomoq.js} +1 -1
  45. package/dist/storybook/assets/{RovingTabindexMixin.stories-CvtQ9Om6.js → RovingTabindexMixin.stories-DZOxDEZt.js} +1 -1
  46. package/dist/storybook/assets/{Rtc.stories-BBmO6Ses.js → Rtc.stories-TRo3Gr0A.js} +1 -1
  47. package/dist/storybook/assets/{ScrollShadow.stories-BUiypzkp.js → ScrollShadow.stories-DrPUVGrj.js} +1 -1
  48. package/dist/storybook/assets/{Switch.stories-BndbX0N7.js → Switch.stories-DarSjwKf.js} +1 -1
  49. package/dist/storybook/assets/{Tab.stories-DVMyUFjq.js → Tab.stories-B5Fzzn-a.js} +1 -1
  50. package/dist/storybook/assets/{Tabs.stories-BQPYcQ6j.js → Tabs.stories-DmTF3dhs.js} +1 -1
  51. package/dist/storybook/assets/{Throttle.stories-CKYOCVnj.js → Throttle.stories-CBsrzfNu.js} +1 -1
  52. package/dist/storybook/assets/{Tooltip.stories-B3DmBl8X.js → Tooltip.stories-DgEfWbGo.js} +1 -1
  53. package/dist/storybook/assets/{Upload.stories-nzkKN-_d.js → Upload.stories-CoewmZUt.js} +1 -1
  54. package/dist/storybook/assets/{UploadItem.stories-CL3oKT8D.js → UploadItem.stories-CwdlTysq.js} +1 -1
  55. package/dist/storybook/assets/{Welcome.stories-DfHnb5cA.js → Welcome.stories-D1xoHYEq.js} +1 -1
  56. package/dist/storybook/assets/{Widget.stories-CcVwc0wv.js → Widget.stories-DFR04B_J.js} +1 -1
  57. package/dist/storybook/assets/{WithTooltip-65CFNBJE-CxSJYFKf.js → WithTooltip-65CFNBJE-BfZk10Ck.js} +1 -1
  58. package/dist/storybook/assets/{blocks-A7XjcsrR.js → blocks-B5nfR6eT.js} +5 -5
  59. package/dist/storybook/assets/{formatter-EIJCOSYU-BJ6Z7p9H.js → formatter-EIJCOSYU-C6x8bWLG.js} +1 -1
  60. package/dist/storybook/assets/if-defined-DDVGLNbR.js +1 -0
  61. package/dist/storybook/assets/{iframe-ChxxW2FZ.js → iframe-BcvNVHT1.js} +96 -96
  62. package/dist/storybook/assets/{index-ChSJHRK6.js → index-Dr3oTIW1.js} +1 -1
  63. package/dist/storybook/assets/{onFind-C-gvwlyW.js → onFind--Wy6mnWL.js} +1 -1
  64. package/dist/storybook/assets/{onFind.stories-8tPEGWhS.js → onFind.stories-Czg2i8Qa.js} +1 -1
  65. package/dist/storybook/assets/{onRemove.stories-CSuoNbAk.js → onRemove.stories-CdWEQ-ed.js} +1 -1
  66. package/dist/storybook/assets/{onVisible.stories-LFpM1FnE.js → onVisible.stories-Dt7eDczv.js} +1 -1
  67. package/dist/storybook/assets/{style-map-4fqj8G4H.js → style-map-DPFpFx07.js} +1 -1
  68. package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-DCcLcHdT.js → syntaxhighlighter-ED5Y7EFY-DDSBv3tE.js} +1 -1
  69. package/dist/storybook/iframe.html +1 -1
  70. package/dist/storybook/project.json +1 -1
  71. package/dist/util/TooltipMixin.js +5 -5
  72. package/docs/components/ActionItem.md +0 -5
  73. package/docs/components/Avatar.md +0 -5
  74. package/docs/components/CircularProgress.md +1 -1
  75. package/docs/components/CopyToClipboard.md +1 -1
  76. package/docs/components/Dropdown.md +0 -5
  77. package/docs/components/IconButton.md +0 -5
  78. package/docs/components/LinearProgress.md +1 -1
  79. package/docs/components/Popover.md +1 -2
  80. package/docs/components/README.md +12 -0
  81. package/package.json +4 -2
  82. package/src/legacy/tool-ui/src/ContentInputGroup.css +14 -0
  83. package/src/legacy/tool-ui/src/Conversation.ts +4 -0
  84. package/src/legacy/tool-ui/src/SharePreviewCommenting.ts +20 -7
  85. package/src/legacy/tool-ui/src/main/webapp/dist/4374.64cf54f35a52b3018a92.js +1 -0
  86. package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.beb34ef615bdd5b46ab0.js → RTEProseMirror.21cf219f5059871000ac.js} +20 -16
  87. package/src/legacy/tool-ui/src/main/webapp/dist/{v4.fee133dfaae516995f6c.js → v4.52a6959b2399a799f794.js} +4 -4
  88. package/src/legacy/tool-ui/src/main/webapp/dist/{v5.450b0b8178c9222bafab.css → v5.0ef7fbc0b9bb4d1e4672.css} +1 -1
  89. package/src/legacy/tool-ui/src/main/webapp/dist/{v5.c52683421261f109dd30.js → v5.e96c4c06e69cfe5bb937.js} +6 -6
  90. package/src/legacy/tool-ui/src/v5.ts +2 -0
  91. package/dist/storybook/assets/if-defined-C9mNa1xD.js +0 -1
  92. package/src/legacy/tool-ui/src/main/webapp/dist/4374.37147747a254da8f5f8a.js +0 -1
  93. /package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.beb34ef615bdd5b46ab0.js.LICENSE.txt → RTEProseMirror.21cf219f5059871000ac.js.LICENSE.txt} +0 -0
  94. /package/src/legacy/tool-ui/src/main/webapp/dist/{v4.fee133dfaae516995f6c.js.LICENSE.txt → v4.52a6959b2399a799f794.js.LICENSE.txt} +0 -0
  95. /package/src/legacy/tool-ui/src/main/webapp/dist/{v5.c52683421261f109dd30.js.LICENSE.txt → v5.e96c4c06e69cfe5bb937.js.LICENSE.txt} +0 -0
@@ -1,4 +1,4 @@
1
- import{g as s,x as i}from"./iframe-ChxxW2FZ.js";import"./preload-helper-PPVm8Dsz.js";var r=Object.freeze,c=Object.defineProperty,p=(e,l)=>r(c(e,"raw",{value:r(l||e.slice())})),d;const{events:b,args:u,argTypes:a}=s("btu-copy-to-clipboard"),f={title:"Components/Copy to Clipboard",component:"btu-copy-to-clipboard",tags:["autodocs"],parameters:{docs:{subtitle:"btu-copy-to-clipboard",description:{component:`
1
+ import{g as s,x as i}from"./iframe-BcvNVHT1.js";import"./preload-helper-PPVm8Dsz.js";var r=Object.freeze,c=Object.defineProperty,p=(e,l)=>r(c(e,"raw",{value:r(l||e.slice())})),d;const{events:b,args:u,argTypes:a}=s("btu-copy-to-clipboard"),f={title:"Components/Copy to Clipboard",component:"btu-copy-to-clipboard",tags:["autodocs"],parameters:{docs:{subtitle:"btu-copy-to-clipboard",description:{component:`
2
2
  A button component for copying text to the clipboard. The button becomes disabled and displays a success state for 3 seconds after copying.
3
3
 
4
4
  <h3>When to use:</h3>
@@ -25,11 +25,11 @@ A button component for copying text to the clipboard. The button becomes disable
25
25
  <li>The button is disabled when there is no text to copy (<code>copydata</code> is empty or not set)</li>
26
26
  <li>Success styles are dependent on the <code>btu-copy-to-clipboard-copied</code> state, which can be styled using the <code>:state()</code> pseudo-class</li>
27
27
  </ul>
28
- `}},actions:{handles:b},controls:{expanded:!0}},args:{...u,copydata:"https://example.com/cms/content/edit",buttonClasses:""},argTypes:{...a,copydata:{...a.copydata,control:{type:"text"},description:"The text to copy to clipboard"},buttonClasses:{...a.buttonClasses,control:{type:"text"},description:"Custom CSS classes for the button. If provided, replaces the default classes."}},render:e=>i`
28
+ `}},actions:{handles:b},controls:{expanded:!0}},args:{...u,copydata:"https://example.com/cms/content/edit",buttonclasses:""},argTypes:{...a,copydata:{...a.copydata,control:{type:"text"},description:"The text to copy to clipboard"},buttonclasses:{...a.buttonclasses,control:{type:"text"},description:"Custom CSS classes for the button. If provided, replaces the default classes."}},render:e=>i`
29
29
  <div style="display: flex; flex-direction: column; gap: 1rem;">
30
30
  <div style="display: flex; align-items: center; gap: 1rem;">
31
31
  <code style="padding: 0.5rem; background: #f5f5f5; border-radius: 4px; flex: 1;">${e.copydata}</code>
32
- <btu-copy-to-clipboard copydata="${e.copydata}" .buttonClasses="${e.buttonClasses||void 0}"
32
+ <btu-copy-to-clipboard copydata="${e.copydata}" .buttonClasses="${e.buttonclasses||void 0}"
33
33
  >Copy to Clipboard</btu-copy-to-clipboard
34
34
  >
35
35
  </div>
@@ -117,7 +117,7 @@ A button component for copying text to the clipboard. The button becomes disable
117
117
  </code>
118
118
  <btu-copy-to-clipboard
119
119
  copydata="https://example.com/cms/content/edit"
120
- buttonClasses="btu-button btu-button-primary btu-button-fill-none after:btu-icon after:btu-icon-clipboard-copy"
120
+ buttonclasses="btu-button btu-button-primary btu-button-fill-none after:btu-icon after:btu-icon-clipboard-copy"
121
121
  >Copy Link</btu-copy-to-clipboard
122
122
  >
123
123
  </div>
@@ -141,7 +141,7 @@ A button component for copying text to the clipboard. The button becomes disable
141
141
  id="icon-only-demo"
142
142
  aria-label="Copy API key to clipboard"
143
143
  copydata="sk_live_abc123xyz789secret"
144
- buttonClasses="btu-button btu-button-primary before:btu-icon before:btu-icon-clipboard-copy btu-button-text-hidden"
144
+ buttonclasses="btu-button btu-button-primary before:btu-icon before:btu-icon-clipboard-copy btu-button-text-hidden"
145
145
  >Copy API Key</btu-copy-to-clipboard
146
146
  >
147
147
  </div>
@@ -160,7 +160,7 @@ A button component for copying text to the clipboard. The button becomes disable
160
160
  </style>
161
161
  </div>
162
162
  </div>
163
- `,parameters:{docs:{description:{story:"\n**Custom Button Styling:** Use the `buttonClasses` attribute to override default button classes with your own styling.\n\n**Icon-Only Button:** An icon-only button for a minimal style. Uses `buttonClasses` for initial styles, notably `btu-button-text-hidden` to hide the text. The `aria-label` attribute is passed from the host element to the inner button for accessibility. CSS `:state(btu-copy-to-clipboard-copied)` is used to change styles when copied.\n "}}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
163
+ `,parameters:{docs:{description:{story:"\n**Custom Button Styling:** Use the `buttonclasses` attribute to override default button classes with your own styling.\n\n**Icon-Only Button:** An icon-only button for a minimal style. Uses `buttonclasses` for initial styles, notably `btu-button-text-hidden` to hide the text. The `aria-label` attribute is passed from the host element to the inner button for accessibility. CSS `:state(btu-copy-to-clipboard-copied)` is used to change styles when copied.\n "}}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
164
164
  args: {}
165
165
  }`,...t.parameters?.docs?.source}}};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
166
166
  render: () => {
@@ -218,7 +218,7 @@ A button component for copying text to the clipboard. The button becomes disable
218
218
  </code>
219
219
  <btu-copy-to-clipboard
220
220
  copydata="https://example.com/cms/content/edit"
221
- buttonClasses="btu-button btu-button-primary btu-button-fill-none after:btu-icon after:btu-icon-clipboard-copy"
221
+ buttonclasses="btu-button btu-button-primary btu-button-fill-none after:btu-icon after:btu-icon-clipboard-copy"
222
222
  >Copy Link</btu-copy-to-clipboard
223
223
  >
224
224
  </div>
@@ -242,7 +242,7 @@ A button component for copying text to the clipboard. The button becomes disable
242
242
  id="icon-only-demo"
243
243
  aria-label="Copy API key to clipboard"
244
244
  copydata="sk_live_abc123xyz789secret"
245
- buttonClasses="btu-button btu-button-primary before:btu-icon before:btu-icon-clipboard-copy btu-button-text-hidden"
245
+ buttonclasses="btu-button btu-button-primary before:btu-icon before:btu-icon-clipboard-copy btu-button-text-hidden"
246
246
  >Copy API Key</btu-copy-to-clipboard
247
247
  >
248
248
  </div>
@@ -267,9 +267,9 @@ A button component for copying text to the clipboard. The button becomes disable
267
267
  docs: {
268
268
  description: {
269
269
  story: \`
270
- **Custom Button Styling:** Use the \\\`buttonClasses\\\` attribute to override default button classes with your own styling.
270
+ **Custom Button Styling:** Use the \\\`buttonclasses\\\` attribute to override default button classes with your own styling.
271
271
 
272
- **Icon-Only Button:** An icon-only button for a minimal style. Uses \\\`buttonClasses\\\` for initial styles, notably \\\`btu-button-text-hidden\\\` to hide the text. The \\\`aria-label\\\` attribute is passed from the host element to the inner button for accessibility. CSS \\\`:state(btu-copy-to-clipboard-copied)\\\` is used to change styles when copied.
272
+ **Icon-Only Button:** An icon-only button for a minimal style. Uses \\\`buttonclasses\\\` for initial styles, notably \\\`btu-button-text-hidden\\\` to hide the text. The \\\`aria-label\\\` attribute is passed from the host element to the inner button for accessibility. CSS \\\`:state(btu-copy-to-clipboard-copied)\\\` is used to change styles when copied.
273
273
  \`
274
274
  }
275
275
  }
@@ -1,4 +1,4 @@
1
- import{x as c}from"./iframe-ChxxW2FZ.js";import"./preload-helper-PPVm8Dsz.js";function p(n,e){if(n<=0)return e;let t;return function(){clearTimeout(t),t=setTimeout(()=>{t=void 0,e.apply(this,[...arguments])},n)}}const h={title:"Utilities/Debounce",tags:["autodocs"],parameters:{docs:{subtitle:"The `debounce` utility delays function execution until a specified wait period has elapsed since the last invocation. Useful for search inputs, form validation, and window resize handlers."},controls:{expanded:!0}},argTypes:{wait:{control:{type:"number",min:0,max:2e3,step:50},description:"Debounce wait time in milliseconds"}},args:{wait:300}},o={render:n=>{const e=`debounce-${Math.random().toString(36).substring(2,9)}`;let t=0,i=0;const a=()=>{const d=document.getElementById(`${e}-normal-count`),r=document.getElementById(`${e}-debounced-count`);d&&(d.textContent=String(t)),r&&(r.textContent=String(i))},l=p(n.wait,()=>{i++,a()}),u=()=>{t++,a(),l()};return c`
1
+ import{x as c}from"./iframe-BcvNVHT1.js";import"./preload-helper-PPVm8Dsz.js";function p(n,e){if(n<=0)return e;let t;return function(){clearTimeout(t),t=setTimeout(()=>{t=void 0,e.apply(this,[...arguments])},n)}}const h={title:"Utilities/Debounce",tags:["autodocs"],parameters:{docs:{subtitle:"The `debounce` utility delays function execution until a specified wait period has elapsed since the last invocation. Useful for search inputs, form validation, and window resize handlers."},controls:{expanded:!0}},argTypes:{wait:{control:{type:"number",min:0,max:2e3,step:50},description:"Debounce wait time in milliseconds"}},args:{wait:300}},o={render:n=>{const e=`debounce-${Math.random().toString(36).substring(2,9)}`;let t=0,i=0;const a=()=>{const d=document.getElementById(`${e}-normal-count`),r=document.getElementById(`${e}-debounced-count`);d&&(d.textContent=String(t)),r&&(r.textContent=String(i))},l=p(n.wait,()=>{i++,a()}),u=()=>{t++,a(),l()};return c`
2
2
  <div class="space-y-4">
3
3
  <div class="text-base">
4
4
  <p class="mb-2">