@brightspot/ui 1.11.0 → 3.0.1-cms-ui-migration.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/dist/components/action-bar/ActionBar.d.ts +1 -1
  2. package/dist/components/action-bar/ActionBar.js +7 -7
  3. package/dist/components/action-bar/ActionBar.js.map +1 -1
  4. package/dist/components/action-bar/ActionItem.d.ts +5 -5
  5. package/dist/components/action-bar/ActionItem.d.ts.map +1 -1
  6. package/dist/components/action-bar/ActionItem.js +13 -13
  7. package/dist/components/action-bar/ActionItem.js.map +1 -1
  8. package/dist/components/avatar/AvatarGroup.d.ts +3 -0
  9. package/dist/components/avatar/AvatarGroup.d.ts.map +1 -1
  10. package/dist/components/avatar/AvatarGroup.js +3 -0
  11. package/dist/components/avatar/AvatarGroup.js.map +1 -1
  12. package/dist/components/badge/Badge.d.ts +3 -1
  13. package/dist/components/badge/Badge.d.ts.map +1 -1
  14. package/dist/components/badge/Badge.js +2 -0
  15. package/dist/components/badge/Badge.js.map +1 -1
  16. package/dist/components/button-group/ButtonGroup.d.ts +138 -0
  17. package/dist/components/button-group/ButtonGroup.d.ts.map +1 -0
  18. package/dist/components/button-group/ButtonGroup.js +436 -0
  19. package/dist/components/button-group/ButtonGroup.js.map +1 -0
  20. package/dist/components/checkbox/Checkbox.d.ts +107 -0
  21. package/dist/components/checkbox/Checkbox.d.ts.map +1 -0
  22. package/dist/components/checkbox/Checkbox.js +224 -0
  23. package/dist/components/checkbox/Checkbox.js.map +1 -0
  24. package/dist/components/circular-progress/CircularProgress.d.ts +2 -2
  25. package/dist/components/circular-progress/CircularProgress.js +2 -2
  26. package/dist/components/copy-to-clipboard/CopyToClipboard.d.ts +7 -2
  27. package/dist/components/copy-to-clipboard/CopyToClipboard.d.ts.map +1 -1
  28. package/dist/components/copy-to-clipboard/CopyToClipboard.js +10 -5
  29. package/dist/components/copy-to-clipboard/CopyToClipboard.js.map +1 -1
  30. package/dist/components/dropdown/Dropdown.d.ts +5 -5
  31. package/dist/components/dropdown/Dropdown.d.ts.map +1 -1
  32. package/dist/components/dropdown/Dropdown.js +11 -16
  33. package/dist/components/dropdown/Dropdown.js.map +1 -1
  34. package/dist/components/dropdown/DropdownItem.d.ts +14 -6
  35. package/dist/components/dropdown/DropdownItem.d.ts.map +1 -1
  36. package/dist/components/dropdown/DropdownItem.js +21 -15
  37. package/dist/components/dropdown/DropdownItem.js.map +1 -1
  38. package/dist/components/dropdown/DropdownMenu.d.ts +4 -4
  39. package/dist/components/dropdown/DropdownMenu.d.ts.map +1 -1
  40. package/dist/components/dropdown/DropdownMenu.js +6 -6
  41. package/dist/components/dropdown/DropdownMenu.js.map +1 -1
  42. package/dist/components/empty-state/EmptyState.css +4 -0
  43. package/dist/components/empty-state/EmptyState.d.ts +103 -0
  44. package/dist/components/empty-state/EmptyState.d.ts.map +1 -0
  45. package/dist/components/empty-state/EmptyState.js +209 -0
  46. package/dist/components/empty-state/EmptyState.js.map +1 -0
  47. package/dist/components/icon/Icon.d.ts +23 -10
  48. package/dist/components/icon/Icon.d.ts.map +1 -1
  49. package/dist/components/icon/Icon.js +40 -9
  50. package/dist/components/icon/Icon.js.map +1 -1
  51. package/dist/components/icon-button/IconButton.d.ts +7 -21
  52. package/dist/components/icon-button/IconButton.d.ts.map +1 -1
  53. package/dist/components/icon-button/IconButton.js +12 -18
  54. package/dist/components/icon-button/IconButton.js.map +1 -1
  55. package/dist/components/linear-progress/LinearProgress.d.ts +2 -2
  56. package/dist/components/linear-progress/LinearProgress.js +2 -2
  57. package/dist/components/pagination/Pagination.js +10 -10
  58. package/dist/components/popover/Popover.d.ts +6 -0
  59. package/dist/components/popover/Popover.d.ts.map +1 -1
  60. package/dist/components/popover/Popover.js +6 -0
  61. package/dist/components/popover/Popover.js.map +1 -1
  62. package/dist/components/switch/Switch.d.ts +5 -1
  63. package/dist/components/switch/Switch.d.ts.map +1 -1
  64. package/dist/components/switch/Switch.js +10 -6
  65. package/dist/components/switch/Switch.js.map +1 -1
  66. package/dist/components/tabs/Tab.d.ts +4 -4
  67. package/dist/components/tabs/Tab.d.ts.map +1 -1
  68. package/dist/components/tabs/Tab.js +5 -5
  69. package/dist/components/tabs/Tab.js.map +1 -1
  70. package/dist/components/tabs/Tabs.d.ts +3 -3
  71. package/dist/components/tabs/Tabs.d.ts.map +1 -1
  72. package/dist/components/tabs/Tabs.js +20 -20
  73. package/dist/components/tabs/Tabs.js.map +1 -1
  74. package/dist/components/upload/Upload.d.ts +157 -0
  75. package/dist/components/upload/Upload.d.ts.map +1 -0
  76. package/dist/components/upload/Upload.js +538 -0
  77. package/dist/components/upload/Upload.js.map +1 -0
  78. package/dist/components/upload/UploadItem.d.ts +73 -0
  79. package/dist/components/upload/UploadItem.d.ts.map +1 -0
  80. package/dist/components/upload/UploadItem.js +180 -0
  81. package/dist/components/upload/UploadItem.js.map +1 -0
  82. package/dist/components/widget/Widget.d.ts +1 -6
  83. package/dist/components/widget/Widget.d.ts.map +1 -1
  84. package/dist/components/widget/Widget.js +1 -6
  85. package/dist/components/widget/Widget.js.map +1 -1
  86. package/dist/custom-elements.json +7527 -2115
  87. package/dist/storybook/assets/{ActionBar.stories--nAeDC-G.js → ActionBar.stories-CXEvFUN5.js} +65 -65
  88. package/dist/storybook/assets/{ActionItem.stories-BHrGjk-P.js → ActionItem.stories-8-qQmVGz.js} +41 -41
  89. package/dist/storybook/assets/{Avatar.stories-Da-mRj6_.js → Avatar.stories-LOTCiTgV.js} +2 -2
  90. package/dist/storybook/assets/{AvatarGroup.stories-BQlaC_yl.js → AvatarGroup.stories-N17TVn4O.js} +5 -5
  91. package/dist/storybook/assets/{Badge.stories-DnVnOrnF.js → Badge.stories-2IRfk8Ri.js} +2 -2
  92. package/dist/storybook/assets/{Button-CFLAI1H9.js → Button-CQ2CjiFm.js} +1 -1
  93. package/dist/storybook/assets/{Button.stories-DxaBOjwv.js → Button.stories-DwyviUHj.js} +1 -1
  94. package/dist/storybook/assets/ButtonGroup.stories-D6nkkXxD.js +588 -0
  95. package/dist/storybook/assets/{Celebrate.stories-CuMm15Nr.js → Celebrate.stories-DtKNptXA.js} +7 -7
  96. package/dist/storybook/assets/Checkbox.stories--fetKLgV.js +141 -0
  97. package/dist/storybook/assets/{CircularProgress.stories-DRN8Mtvj.js → CircularProgress.stories-vK3MWdEg.js} +7 -7
  98. package/dist/storybook/assets/{ClipboardMixin.stories-DR7Ou2Av.js → ClipboardMixin.stories-BXOX2e9A.js} +31 -28
  99. package/dist/storybook/assets/{Color-6BZIO3FS-Die62Y0Z.js → Color-6BZIO3FS-DIO6ExZa.js} +1 -1
  100. package/dist/storybook/assets/{Colors.stories-bIq_ssbI.js → Colors.stories-Z-o0Dmyi.js} +1 -1
  101. package/dist/storybook/assets/{CombinedEffects.stories-CtKzOUZn.js → CombinedEffects.stories-BIvRmEL2.js} +33 -33
  102. package/dist/storybook/assets/{ComponentStatesMixin-DMLCk9fE.js → ComponentStatesMixin-BeLIKOsg.js} +1 -1
  103. package/dist/storybook/assets/{ComponentStatesMixin.stories-D8UI9o-d.js → ComponentStatesMixin.stories-u03jgLUU.js} +3 -3
  104. package/dist/storybook/assets/{CopyToClipboard.stories-ti6CpJNp.js → CopyToClipboard.stories-D23guAYu.js} +16 -16
  105. package/dist/storybook/assets/{Debounce.stories-DzZUSvbk.js → Debounce.stories-Bz3JaQJY.js} +9 -9
  106. package/dist/storybook/assets/{DocsRenderer-LL677BLK-CIRGv5IX.js → DocsRenderer-LL677BLK-CaEKjMeC.js} +3 -3
  107. package/dist/storybook/assets/{Dropdown.stories-Lt4cY0Re.js → Dropdown.stories-CNxtx8UX.js} +60 -60
  108. package/dist/storybook/assets/EmptyState.stories-Ck5T6q1T.js +318 -0
  109. package/dist/storybook/assets/{Events.stories-B1ddcgpT.js → Events.stories-Cx10pvVB.js} +1 -1
  110. package/dist/storybook/assets/{Heading.stories-DI4w61cf.js → Heading.stories-mbkSoA5r.js} +1 -1
  111. package/dist/storybook/assets/{HueRipple.stories-DjhoxxEw.js → HueRipple.stories-B-DDviMh.js} +11 -11
  112. package/dist/storybook/assets/Icon.stories-Dodo1jjZ.js +441 -0
  113. package/dist/storybook/assets/{IconButton.stories-KjN28hfc.js → IconButton.stories-eAU6vNiX.js} +126 -146
  114. package/dist/storybook/assets/{LinearProgress.stories-DcIpdz6R.js → LinearProgress.stories-BqAUCgwy.js} +7 -7
  115. package/dist/storybook/assets/{Pagination.stories-BBkLEwoP.js → Pagination.stories-CVK8mlEU.js} +6 -6
  116. package/dist/storybook/assets/{Popover.stories-DLv48c2h.js → Popover.stories-CC2R-jiv.js} +33 -62
  117. package/dist/storybook/assets/ReadyMixin-CAkCCAOH.js +1 -0
  118. package/dist/storybook/assets/{RovingTabindexMixin.stories-BWaFx9mu.js → RovingTabindexMixin.stories-Dgm5izU_.js} +6 -6
  119. package/dist/storybook/assets/{Rtc.stories-Ve7Bwo_l.js → Rtc.stories-D9uVCq71.js} +3 -3
  120. package/dist/storybook/assets/{ScrollShadow.stories-C6XmrRLm.js → ScrollShadow.stories-D5GJ6Zes.js} +2 -2
  121. package/dist/storybook/assets/{Switch.stories-Cf8WM1LG.js → Switch.stories-D7HV0v6i.js} +21 -21
  122. package/dist/storybook/assets/{Tab.stories-CEtdEtOx.js → Tab.stories-CwHBngmO.js} +33 -33
  123. package/dist/storybook/assets/{Tabs.stories-CIAO1bPO.js → Tabs.stories-D87ILflp.js} +2 -2
  124. package/dist/storybook/assets/{Throttle.stories-BqxVIb-r.js → Throttle.stories-C13Vl7yt.js} +10 -10
  125. package/dist/storybook/assets/{Tooltip.stories-B6fw6875.js → Tooltip.stories-BRmAKppC.js} +2 -2
  126. package/dist/storybook/assets/Upload.stories-CvceXasD.js +447 -0
  127. package/dist/storybook/assets/UploadItem.stories-BF6c7tVM.js +167 -0
  128. package/dist/storybook/assets/{Welcome.stories-CfJtSM19.js → Welcome.stories-Ciht_H8A.js} +1 -1
  129. package/dist/storybook/assets/{Widget.stories-CiOho7lO.js → Widget.stories-30UYw1gn.js} +13 -13
  130. package/dist/storybook/assets/{WithTooltip-65CFNBJE-PGcopp73.js → WithTooltip-65CFNBJE-Q8AG_oZS.js} +1 -1
  131. package/dist/storybook/assets/{blocks-dP2DwISI.js → blocks-DIrsUt2U.js} +5 -5
  132. package/dist/storybook/assets/{formatter-EIJCOSYU-CZSAC3tg.js → formatter-EIJCOSYU-BcNb3EA1.js} +1 -1
  133. package/dist/storybook/assets/if-defined-C1_PRAyA.js +1 -0
  134. package/dist/storybook/assets/iframe-BgFj0b5u.css +1 -0
  135. package/dist/storybook/assets/{iframe-DloIUNZz.js → iframe-D5Uwm8Zd.js} +191 -191
  136. package/dist/storybook/assets/{index-DKF0ypu5.js → index-BOlx3-q7.js} +1 -1
  137. package/dist/storybook/assets/{onFind-C0l4Gew0.js → onFind-Cp2DO8R2.js} +1 -1
  138. package/dist/storybook/assets/{onFind.stories-DOTt9puO.js → onFind.stories-BDK06xaW.js} +53 -77
  139. package/dist/storybook/assets/{onRemove.stories-CQ9ZC5dm.js → onRemove.stories-TSKvqih3.js} +6 -10
  140. package/dist/storybook/assets/{onVisible.stories-Cbj5_Vz0.js → onVisible.stories-DiOPobn8.js} +3 -3
  141. package/dist/storybook/assets/{style-map-DLXysq3r.js → style-map-Cy6U2K_U.js} +1 -1
  142. package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-Bjjbl9ca.js → syntaxhighlighter-ED5Y7EFY-NNCQVsSv.js} +1 -1
  143. package/dist/storybook/box-illustration.svg +51 -0
  144. package/dist/storybook/cloud-illustration.svg +49 -0
  145. package/dist/storybook/docs-illustration.svg +92 -0
  146. package/dist/storybook/iframe.html +3 -3
  147. package/dist/storybook/index.json +1 -1
  148. package/dist/storybook/project.json +1 -1
  149. package/dist/tailwind-plugin-badge.js +1 -1
  150. package/dist/tailwind-plugin-badge.ts +1 -1
  151. package/dist/tailwind-plugin-button-group.d.ts +2 -0
  152. package/dist/tailwind-plugin-button-group.d.ts.map +1 -0
  153. package/dist/tailwind-plugin-button-group.js +215 -0
  154. package/dist/tailwind-plugin-button-group.js.map +1 -0
  155. package/dist/tailwind-plugin-button-group.ts +238 -0
  156. package/dist/tailwind-plugin-button.js +1 -1
  157. package/dist/tailwind-plugin-button.ts +1 -1
  158. package/dist/tailwind-plugin-checkbox.d.ts +2 -0
  159. package/dist/tailwind-plugin-checkbox.d.ts.map +1 -0
  160. package/dist/tailwind-plugin-checkbox.js +246 -0
  161. package/dist/tailwind-plugin-checkbox.js.map +1 -0
  162. package/dist/tailwind-plugin-checkbox.ts +281 -0
  163. package/dist/tailwind-plugin-empty-state.d.ts +2 -0
  164. package/dist/tailwind-plugin-empty-state.d.ts.map +1 -0
  165. package/dist/tailwind-plugin-empty-state.js +113 -0
  166. package/dist/tailwind-plugin-empty-state.js.map +1 -0
  167. package/dist/tailwind-plugin-empty-state.ts +124 -0
  168. package/dist/tailwind-plugin-icon.js +122 -18
  169. package/dist/tailwind-plugin-icon.js.map +1 -1
  170. package/dist/tailwind-plugin-icon.ts +131 -18
  171. package/dist/tailwind-plugin-loader.js +3 -3
  172. package/dist/tailwind-plugin-loader.ts +3 -3
  173. package/dist/tailwind-plugin-tabs.js +7 -0
  174. package/dist/tailwind-plugin-tabs.js.map +1 -1
  175. package/dist/tailwind-plugin-tabs.ts +7 -0
  176. package/dist/tailwind-plugin-upload.d.ts +2 -0
  177. package/dist/tailwind-plugin-upload.d.ts.map +1 -0
  178. package/dist/tailwind-plugin-upload.js +322 -0
  179. package/dist/tailwind-plugin-upload.js.map +1 -0
  180. package/dist/tailwind-plugin-upload.ts +362 -0
  181. package/dist/tailwind.config.d.ts.map +1 -1
  182. package/dist/tailwind.config.js +1 -0
  183. package/dist/tailwind.config.js.map +1 -1
  184. package/dist/tailwind.config.ts +1 -0
  185. package/dist/util/ClipboardMixin.d.ts +7 -2
  186. package/dist/util/ClipboardMixin.d.ts.map +1 -1
  187. package/dist/util/ClipboardMixin.js +15 -13
  188. package/dist/util/ClipboardMixin.js.map +1 -1
  189. package/dist/util/ComponentStatesMixin.d.ts +2 -1
  190. package/dist/util/ComponentStatesMixin.d.ts.map +1 -1
  191. package/dist/util/ComponentStatesMixin.js +4 -0
  192. package/dist/util/ComponentStatesMixin.js.map +1 -1
  193. package/dist/util/EventEmitterMixin.d.ts +42 -4
  194. package/dist/util/EventEmitterMixin.d.ts.map +1 -1
  195. package/dist/util/EventEmitterMixin.js +5 -2
  196. package/dist/util/EventEmitterMixin.js.map +1 -1
  197. package/dist/util/ProgressMixin.d.ts +9 -2
  198. package/dist/util/ProgressMixin.d.ts.map +1 -1
  199. package/dist/util/ProgressMixin.js +22 -18
  200. package/dist/util/ProgressMixin.js.map +1 -1
  201. package/dist/util/RovingTabindexMixin.d.ts +8 -0
  202. package/dist/util/RovingTabindexMixin.d.ts.map +1 -1
  203. package/dist/util/RovingTabindexMixin.js +8 -8
  204. package/dist/util/RovingTabindexMixin.js.map +1 -1
  205. package/dist/util/TetherLayout.d.ts.map +1 -1
  206. package/dist/util/TetherLayout.js +3 -0
  207. package/dist/util/TetherLayout.js.map +1 -1
  208. package/dist/util/TooltipMixin.d.ts.map +1 -1
  209. package/dist/util/TooltipMixin.js +5 -4
  210. package/dist/util/TooltipMixin.js.map +1 -1
  211. package/dist/util/upload.d.ts +53 -0
  212. package/dist/util/upload.d.ts.map +1 -0
  213. package/dist/util/upload.js +113 -0
  214. package/dist/util/upload.js.map +1 -0
  215. package/docs/adr/0001-retire-cms-ui-package-fold-under-src-legacy.md +78 -0
  216. package/docs/adr/0002-yarn-workspaces-preserve-cms-ui-deps.md +130 -0
  217. package/docs/adr/0003-bundle-equivalence-as-fold-acceptance-criterion.md +286 -0
  218. package/docs/components/ActionBar.md +6 -0
  219. package/docs/components/ActionItem.md +52 -27
  220. package/docs/components/Avatar.md +42 -12
  221. package/docs/components/AvatarGroup.md +4 -3
  222. package/docs/components/Badge.md +13 -1
  223. package/docs/components/ButtonGroup.md +91 -0
  224. package/docs/components/Checkbox.md +91 -0
  225. package/docs/components/CircularProgress.md +41 -12
  226. package/docs/components/CopyToClipboard.md +13 -11
  227. package/docs/components/Dropdown.md +44 -19
  228. package/docs/components/DropdownItem.md +39 -26
  229. package/docs/components/DropdownMenu.md +9 -9
  230. package/docs/components/EmptyState.md +75 -0
  231. package/docs/components/Icon.md +22 -14
  232. package/docs/components/IconButton.md +46 -21
  233. package/docs/components/LinearProgress.md +43 -4
  234. package/docs/components/Pagination.md +11 -10
  235. package/docs/components/Popover.md +16 -0
  236. package/docs/components/README.md +5 -0
  237. package/docs/components/Switch.md +21 -16
  238. package/docs/components/Tab.md +8 -2
  239. package/docs/components/Tabs.md +8 -0
  240. package/docs/components/Upload.md +112 -0
  241. package/docs/components/UploadItem.md +61 -0
  242. package/docs/components/Widget.md +12 -6
  243. package/package.json +9 -5
  244. package/src/legacy/tool-ui/src/main/webapp/dist/011a678e3efe41981754.png +1 -0
  245. package/src/legacy/tool-ui/src/main/webapp/dist/1173.080a90c5923854fc48e6.js +2 -0
  246. package/src/legacy/tool-ui/src/main/webapp/dist/1173.080a90c5923854fc48e6.js.LICENSE.txt +10 -0
  247. package/src/legacy/tool-ui/src/main/webapp/dist/194137260531ee29a5f2.svg +1 -0
  248. package/src/legacy/tool-ui/src/main/webapp/dist/1946.156c6821383df2638492.js +1 -0
  249. package/src/legacy/tool-ui/src/main/webapp/dist/1950.3594aaa4f20df28f39d9.js +1 -0
  250. package/src/legacy/tool-ui/src/main/webapp/dist/1e8408af1a34bdf61457.png +1 -0
  251. package/src/legacy/tool-ui/src/main/webapp/dist/2111.3956b5196a514b2c0131.js +1 -0
  252. package/src/legacy/tool-ui/src/main/webapp/dist/2111.a937b0cafa8cf7c039d2.css +1 -0
  253. package/src/legacy/tool-ui/src/main/webapp/dist/2129.6b044e5564dd3dbb2f94.js +1 -0
  254. package/src/legacy/tool-ui/src/main/webapp/dist/2314.420883b6638f35f40e70.js +1 -0
  255. package/src/legacy/tool-ui/src/main/webapp/dist/2456.5bcfb782c2ec27de32ed.js +1 -0
  256. package/src/legacy/tool-ui/src/main/webapp/dist/2537.e8f1359bedd328bf57f4.js +1 -0
  257. package/src/legacy/tool-ui/src/main/webapp/dist/2565.4ca31a6a46de85cd3b31.js +1 -0
  258. package/src/legacy/tool-ui/src/main/webapp/dist/270.3011484ff80f3093083a.js +1 -0
  259. package/src/legacy/tool-ui/src/main/webapp/dist/2825.c1342ac2662d11fd4125.js +1 -0
  260. package/src/legacy/tool-ui/src/main/webapp/dist/2947.f96d21c44c05980974ef.js +1 -0
  261. package/src/legacy/tool-ui/src/main/webapp/dist/3532.c358dfbb2cde0f802c7f.js +1 -0
  262. package/src/legacy/tool-ui/src/main/webapp/dist/3543.2d704cf9e170322468e7.js +2 -0
  263. package/src/legacy/tool-ui/src/main/webapp/dist/3543.2d704cf9e170322468e7.js.LICENSE.txt +1 -0
  264. package/src/legacy/tool-ui/src/main/webapp/dist/3611.61837ffa933f74502094.js +1 -0
  265. package/src/legacy/tool-ui/src/main/webapp/dist/3790.74b7037d430ed0a47d0c.js +1 -0
  266. package/src/legacy/tool-ui/src/main/webapp/dist/3995.afbec58662cafb46ec2c.js +1 -0
  267. package/src/legacy/tool-ui/src/main/webapp/dist/4017.c3ed1ca3be18b5c080c8.js +1 -0
  268. package/src/legacy/tool-ui/src/main/webapp/dist/4093.152620c022c3013502b7.js +1 -0
  269. package/src/legacy/tool-ui/src/main/webapp/dist/4114.57fe159e416e716f8cbc.js +1 -0
  270. package/src/legacy/tool-ui/src/main/webapp/dist/4168.a224af7c5c5f6f2ddd7b.js +1 -0
  271. package/src/legacy/tool-ui/src/main/webapp/dist/4374.37147747a254da8f5f8a.js +1 -0
  272. package/src/legacy/tool-ui/src/main/webapp/dist/4450.16dd5684292fd0a7ea7f.js +1 -0
  273. package/src/legacy/tool-ui/src/main/webapp/dist/4478.93f64e6a6ccb35a6c6d4.js +1 -0
  274. package/src/legacy/tool-ui/src/main/webapp/dist/44b38a404dec4643c46b.png +1 -0
  275. package/src/legacy/tool-ui/src/main/webapp/dist/4582.243dbaa3d8a8648f6f40.js +1 -0
  276. package/src/legacy/tool-ui/src/main/webapp/dist/4709.4f6b707e225e481a928e.js +1 -0
  277. package/src/legacy/tool-ui/src/main/webapp/dist/4790.10d75f7c7f8e54ce83a1.js +1 -0
  278. package/src/legacy/tool-ui/src/main/webapp/dist/4795.034ebc93a67b7a3d6536.js +1 -0
  279. package/src/legacy/tool-ui/src/main/webapp/dist/4850.6b944738520f69c98070.js +1 -0
  280. package/src/legacy/tool-ui/src/main/webapp/dist/4a4ee777ddc0d4cedee4.png +1 -0
  281. package/src/legacy/tool-ui/src/main/webapp/dist/5001.a61ae5608398d5d98ab1.js +1 -0
  282. package/src/legacy/tool-ui/src/main/webapp/dist/5030.1e8b82e1444067d492b1.js +1 -0
  283. package/src/legacy/tool-ui/src/main/webapp/dist/5055.620ccb3717b4a6427f09.js +1 -0
  284. package/src/legacy/tool-ui/src/main/webapp/dist/5098.33613009827cfc80aafb.js +1 -0
  285. package/src/legacy/tool-ui/src/main/webapp/dist/5385.6656501b67424994820b.js +1 -0
  286. package/src/legacy/tool-ui/src/main/webapp/dist/5598.d84773ca53126661bdca.js +2 -0
  287. package/src/legacy/tool-ui/src/main/webapp/dist/5598.d84773ca53126661bdca.js.LICENSE.txt +11 -0
  288. package/src/legacy/tool-ui/src/main/webapp/dist/5617.c81ecb679371ca302f1f.js +1 -0
  289. package/src/legacy/tool-ui/src/main/webapp/dist/5718.449113ae2463a3bb8a83.js +2 -0
  290. package/src/legacy/tool-ui/src/main/webapp/dist/5718.449113ae2463a3bb8a83.js.LICENSE.txt +8 -0
  291. package/src/legacy/tool-ui/src/main/webapp/dist/6047.291dd2d4b3f79be2c64d.js +1 -0
  292. package/src/legacy/tool-ui/src/main/webapp/dist/6086.7ca02b827506f29db590.js +1 -0
  293. package/src/legacy/tool-ui/src/main/webapp/dist/6216.cf8adc1990ee1111f065.js +1 -0
  294. package/src/legacy/tool-ui/src/main/webapp/dist/6497.b7d8dcbf0e7c8d8d538d.js +1 -0
  295. package/src/legacy/tool-ui/src/main/webapp/dist/6565.0e5abc3bd344c53ae154.js +1 -0
  296. package/src/legacy/tool-ui/src/main/webapp/dist/7033.4cd6efbe12e7aaa35745.js +1 -0
  297. package/src/legacy/tool-ui/src/main/webapp/dist/7202.1e5b8f21215ea6eae20a.js +1 -0
  298. package/src/legacy/tool-ui/src/main/webapp/dist/7361.793163ca71dfac69d9eb.js +1 -0
  299. package/src/legacy/tool-ui/src/main/webapp/dist/75.e45c9aec6e7409bfe21d.js +1 -0
  300. package/src/legacy/tool-ui/src/main/webapp/dist/7524.2990be869cf0a2988d17.js +1 -0
  301. package/src/legacy/tool-ui/src/main/webapp/dist/7554.bb243c1fb06a125f6353.js +1 -0
  302. package/src/legacy/tool-ui/src/main/webapp/dist/7718.a937b0cafa8cf7c039d2.css +1 -0
  303. package/src/legacy/tool-ui/src/main/webapp/dist/7718.f5996ddd99f2353c7785.js +1 -0
  304. package/src/legacy/tool-ui/src/main/webapp/dist/7741.0b2789c4e783af835763.js +1 -0
  305. package/src/legacy/tool-ui/src/main/webapp/dist/7769.d47f40cc83035fc2392a.js +1 -0
  306. package/src/legacy/tool-ui/src/main/webapp/dist/7863.2a1d1fd229778a47e10b.js +1 -0
  307. package/src/legacy/tool-ui/src/main/webapp/dist/7923.8a92f55de8387f7a8a35.js +1 -0
  308. package/src/legacy/tool-ui/src/main/webapp/dist/8684.7171c731d38a9873d6df.js +1 -0
  309. package/src/legacy/tool-ui/src/main/webapp/dist/8752.3d02a0f42ec39786fdf0.js +1 -0
  310. package/src/legacy/tool-ui/src/main/webapp/dist/8897.bfeed19f2a4acbb6d67c.js +1 -0
  311. package/src/legacy/tool-ui/src/main/webapp/dist/8934.e90ceca8169fc25e4e1b.js +1 -0
  312. package/src/legacy/tool-ui/src/main/webapp/dist/9277.88b2d89b3ba1c24e7f93.js +2 -0
  313. package/src/legacy/tool-ui/src/main/webapp/dist/9277.88b2d89b3ba1c24e7f93.js.LICENSE.txt +9 -0
  314. package/src/legacy/tool-ui/src/main/webapp/dist/9360.bb0352313d610cae11de.js +2 -0
  315. package/src/legacy/tool-ui/src/main/webapp/dist/9360.bb0352313d610cae11de.js.LICENSE.txt +33 -0
  316. package/src/legacy/tool-ui/src/main/webapp/dist/9561.64eab18c8c1bbc4ad8ec.js +1 -0
  317. package/src/legacy/tool-ui/src/main/webapp/dist/9576.174d6a99544d17e7416d.js +1 -0
  318. package/src/legacy/tool-ui/src/main/webapp/dist/983.eedba1cd484aa5bee0c4.js +1 -0
  319. package/src/legacy/tool-ui/src/main/webapp/dist/Appetizeio.185641211f7c0e42a455.js +1 -0
  320. package/src/legacy/tool-ui/src/main/webapp/dist/CISpectrum.74db7dc80b3a6797a167.js +1 -0
  321. package/src/legacy/tool-ui/src/main/webapp/dist/Chart.223ea4ee9e3e32b67a26.js +1 -0
  322. package/src/legacy/tool-ui/src/main/webapp/dist/ChartCompat.4dd096dd030942227ec6.js +1 -0
  323. package/src/legacy/tool-ui/src/main/webapp/dist/CodeMirror.5ddffe054374f883d6f8.js +1 -0
  324. package/src/legacy/tool-ui/src/main/webapp/dist/ImageEditor.14e3b3035666436f53a5.js +1 -0
  325. package/src/legacy/tool-ui/src/main/webapp/dist/LocationMap.72a510c0f5ff236f596e.js +1 -0
  326. package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.7561297911cca56da5dd.js +500 -0
  327. package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.7561297911cca56da5dd.js.LICENSE.txt +8 -0
  328. package/src/legacy/tool-ui/src/main/webapp/dist/RegionMap.63f3b2303ab369a05073.js +1 -0
  329. package/src/legacy/tool-ui/src/main/webapp/dist/TimedContent.4bb4dc83ffbe4019dd7b.js +1 -0
  330. package/src/legacy/tool-ui/src/main/webapp/dist/VideoEditor.11c89dda5cf125738a33.js +2 -0
  331. package/src/legacy/tool-ui/src/main/webapp/dist/VideoEditor.11c89dda5cf125738a33.js.LICENSE.txt +23 -0
  332. package/src/legacy/tool-ui/src/main/webapp/dist/c6e9c007f41bd4d26c20.png +1 -0
  333. package/src/legacy/tool-ui/src/main/webapp/dist/iframeResizer.contentWindow.map +1 -0
  334. package/src/legacy/tool-ui/src/main/webapp/dist/iframeResizer.contentWindow.min.js +2 -0
  335. package/src/legacy/tool-ui/src/main/webapp/dist/iframeResizer.contentWindow.min.js.LICENSE.txt +7 -0
  336. package/src/legacy/tool-ui/src/main/webapp/dist/lucide.woff2 +0 -0
  337. package/src/legacy/tool-ui/src/main/webapp/dist/preview.d46d98e5ca9dba0a0f5a.js +1 -0
  338. package/src/legacy/tool-ui/src/main/webapp/dist/v4.63bc3566a89786faeb89.js +92 -0
  339. package/src/legacy/tool-ui/src/main/webapp/dist/v4.63bc3566a89786faeb89.js.LICENSE.txt +71 -0
  340. package/src/legacy/tool-ui/src/main/webapp/dist/v4.a6f53058dbb04a69aa5c.css +3 -0
  341. package/src/legacy/tool-ui/src/main/webapp/dist/v5.5e3fdf0f0b20b4e3c170.css +5 -0
  342. package/src/legacy/tool-ui/src/main/webapp/dist/v5.702238fcabd666eba152.js +92 -0
  343. package/src/legacy/tool-ui/src/main/webapp/dist/v5.702238fcabd666eba152.js.LICENSE.txt +78 -0
  344. package/dist/storybook/assets/Icon.stories-CpziAhae.js +0 -264
  345. package/dist/storybook/assets/ReadyMixin-Cw2Dfbu2.js +0 -1
  346. package/dist/storybook/assets/if-defined-B1RdczOE.js +0 -1
  347. package/dist/storybook/assets/iframe-bJgLXZKK.css +0 -1
@@ -34,6 +34,12 @@
34
34
  | `_onNativeToggle` | private | | | | |
35
35
  | `_onKeyDown` | private | | | | |
36
36
 
37
+ ### Methods
38
+
39
+ | Name | Privacy | Description | Parameters | Return | Inherited From |
40
+ | ------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
41
+ | `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.&#xA;&#xA;All events are configured with:&#xA;- bubbles: true (event propagates up the DOM tree)&#xA;- cancelable: false (event cannot be cancelled)&#xA;- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
42
+
37
43
  ### Events
38
44
 
39
45
  | Name | Type | Description | Inherited From |
@@ -54,6 +60,16 @@
54
60
  | `panel-label` | panelLabel | |
55
61
  | `no-arrow` | noArrow | |
56
62
 
63
+ ### CSS Properties
64
+
65
+ | Name | Default | Description |
66
+ | ---------------------------- | ------- | ------------------------------------------------------------------------------------- |
67
+ | `--popover-color-background` | | Panel background color (default: var(--btu-theme-white)) |
68
+ | `--popover-color-content` | | Panel text color (default: oklch(var(--btu-theme-gray-900))) |
69
+ | `--popover-border-radius` | | Panel corner radius (default: theme borderRadius.lg) |
70
+ | `--popover-offset` | | Gap between trigger and panel (default: 8px; see btu-popover-offset-{sm\|md\|lg\|xl}) |
71
+ | `--popover-arrow-size` | | Width/height of the pointer arrow (default: 8px) |
72
+
57
73
  ### Slots
58
74
 
59
75
  | Name | Description |
@@ -9,11 +9,14 @@ This directory contains auto-generated API documentation for all Brightspot UI w
9
9
  - [`<btu-avatar>` - Avatar](Avatar.md)
10
10
  - [`<btu-avatar-group>` - AvatarGroup](AvatarGroup.md)
11
11
  - [`<btu-badge>` - Badge](Badge.md)
12
+ - [`<btu-button-group>` - ButtonGroup](ButtonGroup.md)
13
+ - [`<btu-checkbox>` - Checkbox](Checkbox.md)
12
14
  - [`<btu-circular-progress>` - CircularProgress](CircularProgress.md)
13
15
  - [`<btu-copy-to-clipboard>` - CopyToClipboard](CopyToClipboard.md)
14
16
  - [`<btu-dropdown>` - Dropdown](Dropdown.md)
15
17
  - [`<btu-dropdown-item>` - DropdownItem](DropdownItem.md)
16
18
  - [`<btu-dropdown-menu>` - DropdownMenu](DropdownMenu.md)
19
+ - [`<btu-empty-state>` - EmptyState](EmptyState.md)
17
20
  - [`<btu-icon>` - Icon](Icon.md)
18
21
  - [`<btu-icon-button>` - IconButton](IconButton.md)
19
22
  - [`<btu-linear-progress>` - LinearProgress](LinearProgress.md)
@@ -22,6 +25,8 @@ This directory contains auto-generated API documentation for all Brightspot UI w
22
25
  - [`<btu-switch>` - Switch](Switch.md)
23
26
  - [`<btu-tab>` - Tab](Tab.md)
24
27
  - [`<btu-tabs>` - Tabs](Tabs.md)
28
+ - [`<btu-upload>` - Upload](Upload.md)
29
+ - [`<btu-upload-item>` - UploadItem](UploadItem.md)
25
30
  - [`<btu-widget>` - Widget](Widget.md)
26
31
 
27
32
  ---
@@ -17,25 +17,26 @@
17
17
 
18
18
  ### Fields
19
19
 
20
- | Name | Privacy | Type | Default | Description | Inherited From |
21
- | --------------- | ------- | -------------------------------- | --------- | ----------------------------------------------------------------------------------- | -------------- |
22
- | `size` | | `'small' \| 'medium' \| 'large'` | `'small'` | Controls the physical dimensions of the switch and the associated label typography. | |
23
- | `label` | | `string \| undefined` | | The primary text displayed next to the toggle. | |
24
- | `description` | | `string \| undefined` | | Optional helper text or secondary information displayed below the label. | |
25
- | `checked` | | `boolean` | `false` | The current state of the switch (on/off). | |
26
- | `disabled` | | `boolean` | `false` | If true, the toggle is non-interactive and visually muted. | |
27
- | `name` | | `string \| undefined` | | Name of the control for form participation. | |
28
- | `labelPosition` | | `'start' \| 'end'` | `'end'` | Determines if the label appears to the left or right of the switch. | |
29
- | `onIcon` | | `string \| undefined` | | Lucide icon name shown on the track when the switch is checked (on). | |
30
- | `offIcon` | | `string \| undefined` | | Lucide icon name shown on the track when the switch is unchecked (off). | |
20
+ | Name | Privacy | Type | Default | Description | Inherited From |
21
+ | --------------- | ------- | ---------------------- | ------- | ----------------------------------------------------------------------------------- | -------------- |
22
+ | `size` | | `'sm' \| 'md' \| 'lg'` | `'sm'` | Controls the physical dimensions of the switch and the associated label typography. | |
23
+ | `label` | | `string \| undefined` | | The primary text displayed next to the toggle. | |
24
+ | `description` | | `string \| undefined` | | Optional helper text or secondary information displayed below the label. | |
25
+ | `checked` | | `boolean` | `false` | The current state of the switch (on/off). | |
26
+ | `disabled` | | `boolean` | `false` | If true, the toggle is non-interactive and visually muted. | |
27
+ | `name` | | `string \| undefined` | | Name of the control for form participation. | |
28
+ | `labelPosition` | | `'start' \| 'end'` | `'end'` | Determines if the label appears to the left or right of the switch. | |
29
+ | `onIcon` | | `string \| undefined` | | Lucide icon name shown on the track when the switch is checked (on). | |
30
+ | `offIcon` | | `string \| undefined` | | Lucide icon name shown on the track when the switch is unchecked (off). | |
31
31
 
32
32
  ### Methods
33
33
 
34
- | Name | Privacy | Description | Parameters | Return | Inherited From |
35
- | ---------------- | ------- | ----------- | ---------- | ------ | -------------- |
36
- | `_onInputChange` | private | | `e: Event` | `void` | |
37
- | `_onFocus` | private | | | `void` | |
38
- | `_toggleInput` | private | | | `void` | |
34
+ | Name | Privacy | Description | Parameters | Return | Inherited From |
35
+ | ---------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
36
+ | `_onInputChange` | private | | `e: Event` | `void` | |
37
+ | `_onFocus` | private | | | `void` | |
38
+ | `_toggleInput` | private | | | `void` | |
39
+ | `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.&#xA;&#xA;All events are configured with:&#xA;- bubbles: true (event propagates up the DOM tree)&#xA;- cancelable: false (event cannot be cancelled)&#xA;- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
39
40
 
40
41
  ### Events
41
42
 
@@ -67,6 +68,10 @@
67
68
  | `--switch-color-track-off` | | Background color when the toggle is unchecked (default: var(--btu-theme-gray-300)) |
68
69
  | `--switch-color-knob` | | Color of the sliding circular handle (default: var(--btu-theme-white)) |
69
70
  | `--switch-label-spacing` | | Distance between the switch and the text label (default: 0.75rem) |
71
+ | `--switch-track-width` | | Track width (default: sm 1.75rem, md 2.25rem, lg 2.75rem) |
72
+ | `--switch-track-height` | | Track height (default: sm 1rem, md 1.25rem, lg 1.5rem) |
73
+ | `--switch-knob-size` | | Knob diameter (default: sm 0.75rem, md 1rem, lg 1.25rem) |
74
+ | `--switch-knob-padding` | | Space between knob and track edges (default: 0.125rem) |
70
75
  | `--switch-track-icon-size` | | Size of the track icons (default: sm 0.5rem, md 0.625rem, lg 0.75rem) |
71
76
 
72
77
  <hr/>
@@ -29,12 +29,18 @@
29
29
  | `label` | | `string \| undefined` | | Text displayed in the tab. | |
30
30
  | `description` | | `string \| undefined` | | Accessibility description for screen readers. | |
31
31
  | `disabled` | | `boolean` | `false` | Whether the tab is disabled and non-interactive. | |
32
- | `iconName` | | `string \| undefined` | | Lucide icon name to display. | |
32
+ | `symbol` | | `string \| undefined` | | Lucide icon symbol to display. | |
33
33
  | `iconPosition` | | `'leading' \| 'trailing'` | `'leading'` | Placement of the icon relative to the label. | |
34
34
  | `iconOnly` | | `boolean` | `false` | When true, hides the label visually while maintaining accessibility. | |
35
35
  | `error` | | `boolean` | `false` | When true, displays an error badge on the tab. | |
36
36
  | `badge` | | `string \| undefined` | | Displays a badge with the given value alongside the label. | |
37
37
 
38
+ ### Methods
39
+
40
+ | Name | Privacy | Description | Parameters | Return | Inherited From |
41
+ | ------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
42
+ | `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.&#xA;&#xA;All events are configured with:&#xA;- bubbles: true (event propagates up the DOM tree)&#xA;- cancelable: false (event cannot be cancelled)&#xA;- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
43
+
38
44
  ### Events
39
45
 
40
46
  | Name | Type | Description | Inherited From |
@@ -50,7 +56,7 @@
50
56
  | `label` | label | |
51
57
  | `description` | description | |
52
58
  | `disabled` | disabled | |
53
- | `icon-name` | iconName | |
59
+ | `symbol` | symbol | |
54
60
  | `icon-position` | iconPosition | |
55
61
  | `icon-only` | iconOnly | |
56
62
  | `error` | error | |
@@ -34,6 +34,14 @@
34
34
  | `menuLabel` | private | `HTMLSpanElement \| null` | `null` | | |
35
35
  | `menuIcon` | private | `HTMLElement \| null` | `null` | | |
36
36
  | `menuErrorBadge` | private | `HTMLElement \| null` | `null` | | |
37
+ | `_dropdownSize` | private | `'sm' \| 'md' \| 'lg'` | | | |
38
+ | `_menuIconSize` | private | `'sm' \| 'md'` | | | |
39
+
40
+ ### Methods
41
+
42
+ | Name | Privacy | Description | Parameters | Return | Inherited From |
43
+ | ------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
44
+ | `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.&#xA;&#xA;All events are configured with:&#xA;- bubbles: true (event propagates up the DOM tree)&#xA;- cancelable: false (event cannot be cancelled)&#xA;- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
37
45
 
38
46
  ### Events
39
47
 
@@ -0,0 +1,112 @@
1
+ # `src/components/upload/Upload.ts`:
2
+
3
+ ## class: `Upload`, `btu-upload`
4
+
5
+ ### Superclass
6
+
7
+ | Name | Module | Package |
8
+ | ------------ | ------ | ------- |
9
+ | `LitElement` | | lit |
10
+
11
+ ### Mixins
12
+
13
+ | Name | Module | Package |
14
+ | ------------------- | ------------------------------ | ------- |
15
+ | `EventEmitterMixin` | /src/util/EventEmitterMixin.js | |
16
+ | `ReadyMixin` | /src/util/ReadyMixin.js | |
17
+
18
+ ### Fields
19
+
20
+ | Name | Privacy | Type | Default | Description | Inherited From |
21
+ | --------------------- | ------- | -------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
22
+ | `accept` | | `string` | `''` | Accepted file types, matching the HTML \`\<input accept>\` attribute format.&#xA;Client-side filter only — the browser's file picker uses this as a hint,&#xA;and drag-drop is enforced by this component. Server-side validation is&#xA;still required.&#xA;&#xA;Supported forms (comma-separated, any combination):&#xA;- \`image/\*\` — MIME wildcard (any image)&#xA;- \`application/pdf\` — exact MIME type&#xA;- \`.pdf\`, \`.docx\` — file extension (case-insensitive)&#xA;&#xA;Examples:&#xA;- \`accept="image/\*"\` — any image&#xA;- \`accept="image/\*,application/pdf"\` — images and PDFs&#xA;- \`accept=".jpg,.jpeg,.png,.heic"\` — specific extensions&#xA;- \`accept=""\` (or omitted) — allow all&#xA;&#xA;Note: users can bypass the file picker's filter (most browsers offer an&#xA;"All Files" option), so this attribute is a UX filter, not a security&#xA;boundary. | |
23
+ | `maxFileSize` | | `number` | `0` | Maximum file size in bytes. Files exceeding this are rejected. 0 means unlimited. | |
24
+ | `maxFiles` | | `number` | `Infinity` | Maximum number of files allowed. When omitted, uploads are unlimited.&#xA;\`max-files="1"\` enters single-file mode (selecting a new file replaces the existing one).&#xA;\`max-files="0"\` allows zero files. Values above 1 cap the queue at that many files. | |
25
+ | `disabled` | | `boolean` | `false` | Disables all interaction — file selection, drag-and-drop, and action buttons. | |
26
+ | `noDrag` | | `boolean` | `false` | Disables drag-and-drop. File selection via click still works. | |
27
+ | `_files` | private | `Map<string, FileState>` | `new Map()` | | |
28
+ | `_items` | private | `Map<string, UploadItem>` | `new Map()` | | |
29
+ | `_milestones` | private | `Map<string, Set<number>>` | `new Map()` | | |
30
+ | `_dragOver` | private | `boolean` | `false` | | |
31
+ | `_dragCounter` | private | `number` | `0` | | |
32
+ | `_inputEl` | private | `HTMLInputElement \| null` | | | |
33
+ | `_dropzoneFull` | private | `boolean` | | | |
34
+ | `_interactionBlocked` | private | `boolean` | | | |
35
+ | `_showCountPill` | private | `boolean` | | | |
36
+
37
+ ### Methods
38
+
39
+ | Name | Privacy | Description | Parameters | Return | Inherited From |
40
+ | ---------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- | ---------------------- | ----------------- |
41
+ | `_handleInputChange` | private | | `e: Event` | `void` | |
42
+ | `_handleSelectClick` | private | | `e: Event` | `void` | |
43
+ | `_handleDropzoneClick` | private | | | `void` | |
44
+ | `_handleDragEnter` | private | | `e: DragEvent` | `void` | |
45
+ | `_handleDragOver` | private | | `e: DragEvent` | `void` | |
46
+ | `_handleDragLeave` | private | | `e: DragEvent` | `void` | |
47
+ | `_handleDrop` | private | | `e: DragEvent` | `void` | |
48
+ | `_processFiles` | private | | `files: File[]` | `void` | |
49
+ | `_rejectCount` | private | | `file: File` | `void` | |
50
+ | `_validateFile` | private | | `file: File` | `boolean` | |
51
+ | `_addFile` | private | | `file: File` | `void` | |
52
+ | `_reportUnknownId` | private | | `method: ApiMethod, id: string` | `void` | |
53
+ | `_getOrReport` | private | | `method: ApiMethod, id: string` | `FileState \| null` | |
54
+ | `_renderItem` | private | | `fileState: FileState` | `void` | |
55
+ | `setFileProgress` | | Update the progress of a file upload.&#xA;Clamps value to 0-100 and coerces non-finite inputs to 0. Announces milestones&#xA;(25%, 50%, 75%) to screen readers; 100% completion is announced by setFileStatus('complete').&#xA;&#xA;Status transitions:&#xA;- \`pending\` → \`uploading\` (auto — first progress report starts the upload)&#xA;- \`uploading\` → \`uploading\` (progress updates)&#xA;- \`error\` → \`error\` (progress updates only; status is preserved so a stale late&#xA; callback can't wipe the error UI. To recover from error, call&#xA; \`setFileStatus(id, 'uploading')\` first, then report progress.)&#xA;- \`complete\` → ignored (terminal state) | `id: string, percent: number` | `void` | |
56
+ | `setFileStatus` | | Set the status of a file.&#xA;Valid statuses: 'uploading', 'complete', 'error'. For 'error' status, an&#xA;optional message can be provided.&#xA;&#xA;Transitions from 'complete' are rejected (terminal state) — a late-resolving&#xA;XHR cannot overwrite a prior success. Rejected calls emit \`btu-upload-api-error\`&#xA;with reason: 'invalid-transition'. | `id: string, status: FileStatusSettable, message: string` | `void` | |
57
+ | `setFileSymbol` | | Override the icon symbol for a file. | `id: string, symbol: string` | `void` | |
58
+ | `removeFile` | | Remove a file programmatically. Fires \`btu-upload-file-removed\`. | `id: string` | `void` | |
59
+ | `getFiles` | | Get a snapshot of all current files and their states.&#xA;States are readonly; mutations on the returned array's elements are ineffective. | | `readonly FileState[]` | |
60
+ | `_renderSelectButton` | private | | `text: string` | | |
61
+ | `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.&#xA;&#xA;All events are configured with:&#xA;- bubbles: true (event propagates up the DOM tree)&#xA;- cancelable: false (event cannot be cancelled)&#xA;- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
62
+
63
+ ### Events
64
+
65
+ | Name | Type | Description | Inherited From |
66
+ | --------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | -------------- |
67
+ | `btu-upload-ready` | `CustomEvent<unknown>` | Fired when the component has completed first render | |
68
+ | `btu-upload-file-added` | `CustomEvent<{id: string, file: File}>` | Fired when a file passes validation and is added | |
69
+ | `btu-upload-file-removed` | `CustomEvent<{id: string, file: File}>` | Fired when a file is removed (user action, programmatic, or on disconnect for in-flight uploads) | |
70
+ | `btu-upload-file-retry` | `CustomEvent<{id: string, file: File}>` | Fired when user clicks "Try again" on a failed upload | |
71
+ | `btu-upload-file-rejected` | `CustomEvent<{file: File, reason: 'type' \| 'size' \| 'count'}>` | Fired when a file fails client-side validation or the queue is full | |
72
+ | `btu-upload-file-completed` | `CustomEvent<{id: string, file: File}>` | Fired when a file's status transitions into 'complete' | |
73
+ | `btu-upload-api-error` | `CustomEvent<{method: string, id: string, reason: 'unknown-id' \| 'invalid-transition', message: string}>` | Fired when an imperative API call references an unknown id or an illegal status transition | |
74
+
75
+ ### Attributes
76
+
77
+ | Name | Field | Inherited From |
78
+ | --------------- | ----------- | -------------- |
79
+ | `accept` | accept | |
80
+ | `max-file-size` | maxFileSize | |
81
+ | `max-files` | maxFiles | |
82
+ | `disabled` | disabled | |
83
+ | `no-drag` | noDrag | |
84
+
85
+ ### CSS Properties
86
+
87
+ | Name | Default | Description |
88
+ | -------------------------------------- | ------- | --------------------------------------------------------------------------------------------- |
89
+ | `--upload-dropzone-bg` | | Drop zone background color (default: gray-25) |
90
+ | `--upload-dropzone-border-color` | | Drop zone border color (default: gray-300; gray-200 when disabled, gray-400 in high-contrast) |
91
+ | `--upload-dropzone-border-radius` | | Drop zone border radius (default: borderRadius.lg) |
92
+ | `--upload-dropzone-hover-bg` | | Drop zone hover background (hover default: gray-50; drag-over default: primary-25) |
93
+ | `--upload-dropzone-hover-border-color` | | Drop zone hover/focus border color (default: primary-300; drag-over uses primary-400) |
94
+ | `--upload-dropzone-focus-ring-color` | | Drop zone focus ring color (default: primary-100) |
95
+ | `--upload-item-bg` | | Item background color (default: white) |
96
+ | `--upload-item-border-color` | | Item border color (default: gray-200) |
97
+ | `--upload-item-active-border-color` | | Item active/in-progress border (default: gray-300) |
98
+ | `--upload-item-complete-border-color` | | Item completed border color (default: primary-500) |
99
+ | `--upload-item-error-bg` | | Item error background (default: error-25) |
100
+ | `--upload-item-error-border-color` | | Item error border color (default: error-300) |
101
+
102
+ <hr/>
103
+
104
+ ## Exports
105
+
106
+ | Kind | Name | Declaration | Module | Package |
107
+ | --------------------------- | -------------------- | ------------------ | ------------------------------- | ------- |
108
+ | `js` | `FileState` | FileState | src/components/upload/Upload.ts | |
109
+ | `js` | `FileStatus` | FileStatus | src/components/upload/Upload.ts | |
110
+ | `js` | `FileStatusSettable` | FileStatusSettable | src/components/upload/Upload.ts | |
111
+ | `js` | `default` | Upload | src/components/upload/Upload.ts | |
112
+ | `custom-element-definition` | `btu-upload` | Upload | src/components/upload/Upload.ts | |
@@ -0,0 +1,61 @@
1
+ # `src/components/upload/UploadItem.ts`:
2
+
3
+ ## class: `UploadItem`, `btu-upload-item`
4
+
5
+ ### Superclass
6
+
7
+ | Name | Module | Package |
8
+ | ------------ | ------ | ------- |
9
+ | `LitElement` | | lit |
10
+
11
+ ### Mixins
12
+
13
+ | Name | Module | Package |
14
+ | ------------------- | ------------------------------ | ------- |
15
+ | `EventEmitterMixin` | /src/util/EventEmitterMixin.js | |
16
+ | `ReadyMixin` | /src/util/ReadyMixin.js | |
17
+
18
+ ### Fields
19
+
20
+ | Name | Privacy | Type | Default | Description | Inherited From |
21
+ | ----------------------- | ------- | -------------------- | ------- | ----------- | -------------- |
22
+ | `_state` | private | `FileState \| null` | `null` | | |
23
+ | `_baseClasses` | private | `string` | `''` | | |
24
+ | `_previousStatus` | private | `FileStatus \| null` | `null` | | |
25
+ | `_stopProgressComplete` | private | | | | |
26
+
27
+ ### Methods
28
+
29
+ | Name | Privacy | Description | Parameters | Return | Inherited From |
30
+ | -------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
31
+ | `_scheduleCelebrate` | private | | | `void` | |
32
+ | `_handleRemove` | private | | | `void` | |
33
+ | `_handleRetry` | private | | | `void` | |
34
+ | `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.&#xA;&#xA;All events are configured with:&#xA;- bubbles: true (event propagates up the DOM tree)&#xA;- cancelable: false (event cannot be cancelled)&#xA;- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
35
+
36
+ ### Events
37
+
38
+ | Name | Type | Description | Inherited From |
39
+ | ------------------------ | --------------------------- | ----------------------------------- | -------------- |
40
+ | `btu-upload-item-remove` | `CustomEvent<{id: string}>` | Fired when remove button is clicked | |
41
+ | `btu-upload-item-retry` | `CustomEvent<{id: string}>` | Fired when retry link is clicked | |
42
+
43
+ ### CSS Properties
44
+
45
+ | Name | Default | Description |
46
+ | ------------------------------------- | ------- | -------------------------------------------------- |
47
+ | `--upload-item-bg` | | Item background color (default: white) |
48
+ | `--upload-item-border-color` | | Item border color (default: gray-200) |
49
+ | `--upload-item-active-border-color` | | Item active/in-progress border (default: gray-300) |
50
+ | `--upload-item-complete-border-color` | | Item completed border color (default: primary-500) |
51
+ | `--upload-item-error-bg` | | Item error background (default: error-25) |
52
+ | `--upload-item-error-border-color` | | Item error border color (default: error-300) |
53
+
54
+ <hr/>
55
+
56
+ ## Exports
57
+
58
+ | Kind | Name | Declaration | Module | Package |
59
+ | --------------------------- | ----------------- | ----------- | ----------------------------------- | ------- |
60
+ | `js` | `default` | UploadItem | src/components/upload/UploadItem.ts | |
61
+ | `custom-element-definition` | `btu-upload-item` | UploadItem | src/components/upload/UploadItem.ts | |
@@ -35,6 +35,12 @@
35
35
  | `_fullscreenTooltip` | private | | `new TooltipController(this, { target: 'button[data-tooltip="fullscreen"]', text: () => (this._isFullscreen ? 'Exit fullscreen' : 'Enter fullscreen'), position: 'bottom', noArrow: true, offset: 'sm', })` | | |
36
36
  | `isFullscreen` | | `boolean` | | Whether the widget is currently in fullscreen mode (read-only).&#xA;Use \`btu-widget-fullscreen-changed\` event to react to changes. | |
37
37
 
38
+ ### Methods
39
+
40
+ | Name | Privacy | Description | Parameters | Return | Inherited From |
41
+ | ------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
42
+ | `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.&#xA;&#xA;All events are configured with:&#xA;- bubbles: true (event propagates up the DOM tree)&#xA;- cancelable: false (event cannot be cancelled)&#xA;- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
43
+
38
44
  ### Events
39
45
 
40
46
  | Name | Type | Description | Inherited From |
@@ -51,15 +57,15 @@
51
57
  | `collapsible` | collapsible | |
52
58
  | `collapsed` | collapsed | |
53
59
  | `fullscreenable` | fullscreenable | |
54
- | `id` | | |
55
60
 
56
61
  ### CSS Properties
57
62
 
58
- | Name | Default | Description |
59
- | --------------------- | ------- | ------------------------------------------------------------- |
60
- | `--widget-background` | | Body and footer background color (default: --btu-theme-white) |
61
- | `--widget-border` | | Widget border and dividers (default: 1px solid gray-200) |
62
- | `--header-background` | | Header background color (default: transparent) |
63
+ | Name | Default | Description |
64
+ | ----------------------- | ------- | ------------------------------------------------------------- |
65
+ | `--widget-background` | | Body and footer background color (default: --btu-theme-white) |
66
+ | `--widget-border` | | Widget border and dividers (default: 1px solid gray-200) |
67
+ | `--widget-border-color` | | Color of header bottom divider (default: gray-200) |
68
+ | `--header-background` | | Header background color (default: transparent) |
63
69
 
64
70
  ### Slots
65
71
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspot/ui",
3
- "version": "1.11.0",
3
+ "version": "3.0.1-cms-ui-migration.0",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "description": "A UI library for building Brightspot CMS components.",
@@ -21,11 +21,14 @@
21
21
  "cem:watch": "cem analyze --litelement --watch",
22
22
  "cem:docs": "yarn cem && node scripts/generate-docs.mjs",
23
23
  "build": "yarn clean && tsc --noEmitOnError && yarn cem && node scripts/copy-component-css.mjs && shx cp ./src/*.ts ./dist && shx rm ./dist/tailwind.storybook.config* && shx rm -Rf ./dist/stories",
24
- "prepack": "yarn build && yarn build-storybook",
24
+ "prepack": "yarn build && yarn build-storybook && (cd src/legacy/tool-ui && yarn build)",
25
25
  "storybook": "yarn cem && storybook dev -p 6006",
26
26
  "build-storybook": "yarn cem && storybook build -o ./dist/storybook",
27
27
  "test:storybook": "vitest --project=storybook",
28
- "prepare": "husky"
28
+ "check:conventions": "yarn cem && node scripts/check-conventions-all.mjs",
29
+ "check:conventions:fast": "node scripts/check-conventions.mjs",
30
+ "prepare": "husky && (cd src/legacy/tool-ui && yarn install)",
31
+ "prepublishOnly": "yarn install --frozen-lockfile && (cd src/legacy/tool-ui && yarn install --frozen-lockfile)"
29
32
  },
30
33
  "devDependencies": {
31
34
  "@commitlint/cli": "^20.1.0",
@@ -59,7 +62,7 @@
59
62
  "postcss-loader": "^8.0.0",
60
63
  "prettier": "^3.2.5",
61
64
  "prettier-plugin-organize-imports": "^4.3.0",
62
- "prettier-plugin-tailwindcss": "^0.6.8",
65
+ "prettier-plugin-tailwindcss": "0.7.2",
63
66
  "shx": "^0.4.0",
64
67
  "storybook": "10.2.12",
65
68
  "style-loader": "^3.3.1",
@@ -88,7 +91,8 @@
88
91
  ],
89
92
  "files": [
90
93
  "dist/**/*",
91
- "docs/**/*"
94
+ "docs/**/*",
95
+ "src/legacy/tool-ui/src/main/webapp/dist/**/*"
92
96
  ],
93
97
  "lint-staged": {
94
98
  "src/components/**/*.ts": [
@@ -0,0 +1 @@
1
+ export default "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC"