@finsemble/finsemble-ui 8.3.0 → 8.4.0-beta.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 (548) hide show
  1. package/FEA.d.ts +54 -24
  2. package/FEA.d.ts.map +1 -1
  3. package/FEA.js.map +1 -1
  4. package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
  5. package/clients/Interop/FinsembleDesktopAgent.js +7 -10
  6. package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
  7. package/clients/Startup/FSBLDesktop.d.ts +2 -8
  8. package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
  9. package/clients/Startup/FSBLDesktop.js +2 -4
  10. package/clients/Startup/FSBLDesktop.js.map +1 -1
  11. package/clients/Startup/unhandledErrors.d.ts.map +1 -1
  12. package/clients/Startup/unhandledErrors.js +6 -4
  13. package/clients/Startup/unhandledErrors.js.map +1 -1
  14. package/clients/Startup/windowStartup.d.ts.map +1 -1
  15. package/clients/Startup/windowStartup.js +125 -112
  16. package/clients/Startup/windowStartup.js.map +1 -1
  17. package/clients/StoreModel.d.ts +8 -8
  18. package/clients/StoreModel.js +8 -8
  19. package/clients/appsClient.d.ts +429 -0
  20. package/clients/appsClient.d.ts.map +1 -0
  21. package/clients/appsClient.js +649 -0
  22. package/clients/appsClient.js.map +1 -0
  23. package/clients/authenticationClient.d.ts +29 -27
  24. package/clients/authenticationClient.d.ts.map +1 -1
  25. package/clients/authenticationClient.js +11 -15
  26. package/clients/authenticationClient.js.map +1 -1
  27. package/clients/configClient.d.ts +134 -70
  28. package/clients/configClient.d.ts.map +1 -1
  29. package/clients/configClient.js +129 -112
  30. package/clients/configClient.js.map +1 -1
  31. package/clients/controller/DialogManagerClientController.d.ts +78 -0
  32. package/clients/controller/DialogManagerClientController.d.ts.map +1 -0
  33. package/clients/controller/DialogManagerClientController.js +213 -0
  34. package/clients/controller/DialogManagerClientController.js.map +1 -0
  35. package/clients/dialogManagerClient.d.ts +1 -75
  36. package/clients/dialogManagerClient.d.ts.map +1 -1
  37. package/clients/dialogManagerClient.js +1 -208
  38. package/clients/dialogManagerClient.js.map +1 -1
  39. package/clients/distributedStoreClient.d.ts +1 -0
  40. package/clients/distributedStoreClient.d.ts.map +1 -1
  41. package/clients/distributedStoreClient.js +1 -0
  42. package/clients/distributedStoreClient.js.map +1 -1
  43. package/clients/hotkeyClient.d.ts +18 -9
  44. package/clients/hotkeyClient.d.ts.map +1 -1
  45. package/clients/hotkeyClient.js +30 -14
  46. package/clients/hotkeyClient.js.map +1 -1
  47. package/clients/index.d.ts +2 -0
  48. package/clients/index.d.ts.map +1 -1
  49. package/clients/index.js +2 -0
  50. package/clients/index.js.map +1 -1
  51. package/clients/launcherClient.d.ts +50 -209
  52. package/clients/launcherClient.d.ts.map +1 -1
  53. package/clients/launcherClient.js +35 -422
  54. package/clients/launcherClient.js.map +1 -1
  55. package/clients/logger.d.ts.map +1 -1
  56. package/clients/logger.js +43 -41
  57. package/clients/logger.js.map +1 -1
  58. package/clients/notificationClient.d.ts +15 -8
  59. package/clients/notificationClient.d.ts.map +1 -1
  60. package/clients/notificationClient.js +15 -8
  61. package/clients/notificationClient.js.map +1 -1
  62. package/clients/routerClient.d.ts +25 -21
  63. package/clients/routerClient.d.ts.map +1 -1
  64. package/clients/routerClient.js +24 -20
  65. package/clients/routerClient.js.map +1 -1
  66. package/clients/searchClient.d.ts +2 -2
  67. package/clients/searchClient.js +2 -2
  68. package/clients/storageClient.d.ts +8 -5
  69. package/clients/storageClient.d.ts.map +1 -1
  70. package/clients/storageClient.js +7 -5
  71. package/clients/storageClient.js.map +1 -1
  72. package/clients/windowClient.d.ts +160 -79
  73. package/clients/windowClient.d.ts.map +1 -1
  74. package/clients/windowClient.js +244 -138
  75. package/clients/windowClient.js.map +1 -1
  76. package/clients/workspaceClient.d.ts +19 -14
  77. package/clients/workspaceClient.d.ts.map +1 -1
  78. package/clients/workspaceClient.js +15 -9
  79. package/clients/workspaceClient.js.map +1 -1
  80. package/common/Desktop.d.ts +9 -50
  81. package/common/Desktop.d.ts.map +1 -1
  82. package/common/Desktop.js +11 -64
  83. package/common/Desktop.js.map +1 -1
  84. package/common/FinsembleWindow.d.ts +4 -107
  85. package/common/FinsembleWindow.d.ts.map +1 -1
  86. package/common/FinsembleWindow.js +21 -342
  87. package/common/FinsembleWindow.js.map +1 -1
  88. package/common/Monitors.d.ts +30 -18
  89. package/common/Monitors.d.ts.map +1 -1
  90. package/common/Monitors.js +45 -80
  91. package/common/Monitors.js.map +1 -1
  92. package/common/Singleton.d.ts +7 -1
  93. package/common/Singleton.d.ts.map +1 -1
  94. package/common/Singleton.js +24 -11
  95. package/common/Singleton.js.map +1 -1
  96. package/common/constants.d.ts +3 -9
  97. package/common/constants.d.ts.map +1 -1
  98. package/common/constants.js +3 -14
  99. package/common/constants.js.map +1 -1
  100. package/common/events/FinsembleEvent.d.ts +1 -1
  101. package/common/events/FinsembleEvent.d.ts.map +1 -1
  102. package/common/redux/getRemoteStore.d.ts +53 -0
  103. package/common/redux/getRemoteStore.d.ts.map +1 -0
  104. package/common/redux/getRemoteStore.js +50 -0
  105. package/common/redux/getRemoteStore.js.map +1 -0
  106. package/common/redux/remoteReduxEnhancer.d.ts +7 -7
  107. package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
  108. package/common/redux/remoteReduxEnhancer.js +35 -20
  109. package/common/redux/remoteReduxEnhancer.js.map +1 -1
  110. package/common/redux/types.d.ts +14 -1
  111. package/common/redux/types.d.ts.map +1 -1
  112. package/common/systemManagerClient.d.ts +11 -5
  113. package/common/systemManagerClient.d.ts.map +1 -1
  114. package/common/systemManagerClient.js +25 -8
  115. package/common/systemManagerClient.js.map +1 -1
  116. package/common/util.d.ts +1 -7
  117. package/common/util.d.ts.map +1 -1
  118. package/common/util.js +1 -14
  119. package/common/util.js.map +1 -1
  120. package/deprecated/deprecatedFunctions.d.ts +1 -1
  121. package/deprecated/deprecatedFunctions.d.ts.map +1 -1
  122. package/deprecated/deprecatedFunctions.js +3 -4
  123. package/deprecated/deprecatedFunctions.js.map +1 -1
  124. package/deprecated/deprecatedlauncherClient.d.ts +1 -1
  125. package/deprecated/deprecatedlauncherClient.d.ts.map +1 -1
  126. package/deprecated/deprecatedlauncherClient.js.map +1 -1
  127. package/deprecated/dragAndDropClient.d.ts +3 -3
  128. package/deprecated/dragAndDropClient.d.ts.map +1 -1
  129. package/deprecated/dragAndDropClient.js +14 -4
  130. package/deprecated/dragAndDropClient.js.map +1 -1
  131. package/deprecated/linkerClient.d.ts +1 -1
  132. package/deprecated/linkerClient.d.ts.map +1 -1
  133. package/main.d.ts +277 -171
  134. package/main.d.ts.map +1 -1
  135. package/main.js +3 -1
  136. package/main.js.map +1 -1
  137. package/package.json +3 -3
  138. package/platform/services/Interop/types.d.ts +8 -1
  139. package/platform/services/Interop/types.d.ts.map +1 -1
  140. package/platform/services/Interop/types.js.map +1 -1
  141. package/platform/services/router/types.d.ts +5 -6
  142. package/platform/services/router/types.d.ts.map +1 -1
  143. package/platform/services/systemManager/_constants.d.ts +1 -0
  144. package/platform/services/systemManager/_constants.d.ts.map +1 -1
  145. package/platform/services/systemManager/_constants.js +2 -0
  146. package/platform/services/systemManager/_constants.js.map +1 -1
  147. package/platform/services/systemManager/types.d.ts +1 -1
  148. package/platform/services/systemManager/types.d.ts.map +1 -1
  149. package/platform/services/systemManager/types.js.map +1 -1
  150. package/platform/services/window/modules/actions.d.ts +63 -0
  151. package/platform/services/window/modules/actions.d.ts.map +1 -0
  152. package/platform/services/window/modules/actions.js +58 -0
  153. package/platform/services/window/modules/actions.js.map +1 -0
  154. package/platform/services/window/types.d.ts +257 -50
  155. package/platform/services/window/types.d.ts.map +1 -1
  156. package/platform/services/workspace/types.d.ts +4 -3
  157. package/platform/services/workspace/types.d.ts.map +1 -1
  158. package/react/assets/css/core/icons.css +0 -5
  159. package/react/assets/css/fonts/icons-reference.html +1 -1
  160. package/react/assets/css/processMonitor.css +9 -4
  161. package/react/assets/css/windowTitleBar.css +100 -284
  162. package/react/assets/icons/chevron-down.svg +1 -0
  163. package/react/assets/icons/chevron-up.svg +1 -0
  164. package/react/components/common/ButtonRow.d.ts.map +1 -1
  165. package/react/components/common/ButtonRow.js +4 -9
  166. package/react/components/common/ButtonRow.js.map +1 -1
  167. package/react/components/common/ContextMenu.d.ts.map +1 -1
  168. package/react/components/common/ContextMenu.js +2 -10
  169. package/react/components/common/ContextMenu.js.map +1 -1
  170. package/react/components/common/DropdownButton.d.ts.map +1 -1
  171. package/react/components/common/DropdownButton.js +11 -24
  172. package/react/components/common/DropdownButton.js.map +1 -1
  173. package/react/components/common/FinsembleIcon.d.ts +1 -1
  174. package/react/components/common/FinsembleIcon.d.ts.map +1 -1
  175. package/react/components/common/FinsembleIcon.js +6 -4
  176. package/react/components/common/FinsembleIcon.js.map +1 -1
  177. package/react/components/common/css/accordion.css +9 -21
  178. package/react/components/common/css/application-edit-page.css +0 -4
  179. package/react/components/common/css/selector.css +3 -1
  180. package/react/components/downloadManager/DownloadManager.d.ts +1 -1
  181. package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
  182. package/react/components/downloadManager/DownloadManager.js +2 -4
  183. package/react/components/downloadManager/DownloadManager.js.map +1 -1
  184. package/react/components/fdc3Resolver/ResolverContainer.d.ts +6 -0
  185. package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
  186. package/react/components/fdc3Resolver/ResolverContainer.js +37 -89
  187. package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
  188. package/react/components/fdc3Resolver/ResolverDialog.d.ts +10 -1
  189. package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
  190. package/react/components/fdc3Resolver/ResolverDialog.js +78 -66
  191. package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
  192. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -1
  193. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
  194. package/react/components/linker/remoteRedux.d.ts +2 -9
  195. package/react/components/linker/remoteRedux.d.ts.map +1 -1
  196. package/react/components/linker/remoteRedux.js +2 -22
  197. package/react/components/linker/remoteRedux.js.map +1 -1
  198. package/react/components/notifications/css/notification-center.css +2 -0
  199. package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
  200. package/react/components/processMonitor/ProcessMonitor.js +14 -36
  201. package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
  202. package/react/components/processMonitor/ProcessMonitorTypes.d.ts +0 -4
  203. package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
  204. package/react/components/processMonitor/ProcessMonitorTypes.js +1 -5
  205. package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
  206. package/react/components/processMonitor/components/ChildWindow.d.ts +2 -3
  207. package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
  208. package/react/components/processMonitor/components/ChildWindow.js +5 -9
  209. package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
  210. package/react/components/processMonitor/components/ListHeader.d.ts +1 -5
  211. package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
  212. package/react/components/processMonitor/components/ListHeader.js +3 -2
  213. package/react/components/processMonitor/components/ListHeader.js.map +1 -1
  214. package/react/components/processMonitor/components/Process.d.ts +10 -0
  215. package/react/components/processMonitor/components/Process.d.ts.map +1 -0
  216. package/react/components/processMonitor/components/Process.js +11 -0
  217. package/react/components/processMonitor/components/Process.js.map +1 -0
  218. package/react/components/processMonitor/components/ProcessStatistics.d.ts +5 -4
  219. package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
  220. package/react/components/processMonitor/components/ProcessStatistics.js +10 -7
  221. package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
  222. package/react/components/processMonitor/constants.d.ts +1 -2
  223. package/react/components/processMonitor/constants.d.ts.map +1 -1
  224. package/react/components/processMonitor/constants.js +2 -8
  225. package/react/components/processMonitor/constants.js.map +1 -1
  226. package/react/components/processMonitor/helpers.d.ts +0 -1
  227. package/react/components/processMonitor/helpers.d.ts.map +1 -1
  228. package/react/components/processMonitor/helpers.js +2 -9
  229. package/react/components/processMonitor/helpers.js.map +1 -1
  230. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +0 -4
  231. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
  232. package/react/components/processMonitor/stores/ProcessMonitorStore.js +0 -29
  233. package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
  234. package/react/components/search/SearchInput.d.ts +1 -2
  235. package/react/components/search/SearchInput.d.ts.map +1 -1
  236. package/react/components/search/SearchInput.js +11 -13
  237. package/react/components/search/SearchInput.js.map +1 -1
  238. package/react/components/search/SearchResults.d.ts.map +1 -1
  239. package/react/components/search/SearchResults.js +6 -6
  240. package/react/components/search/SearchResults.js.map +1 -1
  241. package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
  242. package/react/components/shared/openQuitConfirmationDialog.js +31 -4
  243. package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
  244. package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
  245. package/react/components/singleInputDialog/SingleInputDialog.js +83 -100
  246. package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
  247. package/react/components/toolbar/DragHandle.d.ts.map +1 -1
  248. package/react/components/toolbar/DragHandle.js +8 -5
  249. package/react/components/toolbar/DragHandle.js.map +1 -1
  250. package/react/components/toolbar/ToolbarShell.d.ts +1 -0
  251. package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
  252. package/react/components/toolbar/ToolbarShell.js +3 -2
  253. package/react/components/toolbar/ToolbarShell.js.map +1 -1
  254. package/react/components/userPreferences/components/content/Workspaces.d.ts +5 -0
  255. package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -1
  256. package/react/components/userPreferences/components/content/Workspaces.js +14 -1
  257. package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
  258. package/react/components/utils.d.ts +50 -0
  259. package/react/components/utils.d.ts.map +1 -0
  260. package/react/components/utils.js +60 -0
  261. package/react/components/utils.js.map +1 -0
  262. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +9 -0
  263. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -0
  264. package/react/components/windowTitleBar/AlwaysOnTopButton.js +29 -0
  265. package/react/components/windowTitleBar/AlwaysOnTopButton.js.map +1 -0
  266. package/react/components/windowTitleBar/{components/right/CloseButton.d.ts → CloseButton.d.ts} +0 -0
  267. package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -0
  268. package/react/components/windowTitleBar/CloseButton.js +22 -0
  269. package/react/components/windowTitleBar/CloseButton.js.map +1 -0
  270. package/react/components/windowTitleBar/GroupingButton.d.ts +3 -0
  271. package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -0
  272. package/react/components/windowTitleBar/GroupingButton.js +25 -0
  273. package/react/components/windowTitleBar/GroupingButton.js.map +1 -0
  274. package/react/components/windowTitleBar/{components/left/LinkerButton.d.ts → LinkerButton.d.ts} +0 -0
  275. package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -0
  276. package/react/components/windowTitleBar/{components/left/LinkerButton.js → LinkerButton.js} +4 -4
  277. package/react/components/windowTitleBar/LinkerButton.js.map +1 -0
  278. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +11 -0
  279. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -0
  280. package/react/components/windowTitleBar/LinkerButtonDeprecated.js +63 -0
  281. package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -0
  282. package/react/components/windowTitleBar/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts} +0 -0
  283. package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -0
  284. package/react/components/windowTitleBar/{components/left/LinkerGroups.js → LinkerGroups.js} +2 -3
  285. package/react/components/windowTitleBar/LinkerGroups.js.map +1 -0
  286. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +7 -0
  287. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -0
  288. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +35 -0
  289. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -0
  290. package/react/components/windowTitleBar/MaximizeButton.d.ts +3 -0
  291. package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -0
  292. package/react/components/windowTitleBar/MaximizeButton.js +18 -0
  293. package/react/components/windowTitleBar/MaximizeButton.js.map +1 -0
  294. package/react/components/windowTitleBar/MinimizeButton.d.ts +3 -0
  295. package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -0
  296. package/react/components/windowTitleBar/MinimizeButton.js +21 -0
  297. package/react/components/windowTitleBar/MinimizeButton.js.map +1 -0
  298. package/react/components/windowTitleBar/ShareButton.d.ts +3 -0
  299. package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -0
  300. package/react/components/windowTitleBar/ShareButton.js +24 -0
  301. package/react/components/windowTitleBar/ShareButton.js.map +1 -0
  302. package/react/components/windowTitleBar/TabRegion.d.ts +7 -0
  303. package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -0
  304. package/react/components/windowTitleBar/TabRegion.js +453 -0
  305. package/react/components/windowTitleBar/TabRegion.js.map +1 -0
  306. package/react/components/windowTitleBar/TabTitle.d.ts +8 -0
  307. package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -0
  308. package/react/components/windowTitleBar/TabTitle.js +17 -0
  309. package/react/components/windowTitleBar/TabTitle.js.map +1 -0
  310. package/react/components/windowTitleBar/TitleEdit.d.ts +10 -0
  311. package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -0
  312. package/react/components/windowTitleBar/TitleEdit.js +30 -0
  313. package/react/components/windowTitleBar/TitleEdit.js.map +1 -0
  314. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +12 -0
  315. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -0
  316. package/react/components/windowTitleBar/WindowTitleBarContext.js +3 -0
  317. package/react/components/windowTitleBar/WindowTitleBarContext.js.map +1 -0
  318. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +14 -272
  319. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
  320. package/react/components/windowTitleBar/WindowTitleBarShell.js +41 -929
  321. package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
  322. package/react/components/windowTitleBar/index.d.ts +9 -8
  323. package/react/components/windowTitleBar/index.d.ts.map +1 -1
  324. package/react/components/windowTitleBar/index.js +9 -8
  325. package/react/components/windowTitleBar/index.js.map +1 -1
  326. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +7 -0
  327. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts.map +1 -0
  328. package/react/components/windowTitleBar/useKeyboardNavigation.js +57 -0
  329. package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -0
  330. package/react/components/windowTitleBar/useMaximize.d.ts +5 -0
  331. package/react/components/windowTitleBar/useMaximize.d.ts.map +1 -0
  332. package/react/components/windowTitleBar/useMaximize.js +23 -0
  333. package/react/components/windowTitleBar/useMaximize.js.map +1 -0
  334. package/react/components/yesNoDialog/timer.js +2 -1
  335. package/react/components/yesNoDialog/timer.js.map +1 -1
  336. package/react/hooks/useDashbar.d.ts.map +1 -1
  337. package/react/hooks/useDashbar.js.map +1 -1
  338. package/react/hooks/useDragRegion.d.ts +27 -0
  339. package/react/hooks/useDragRegion.d.ts.map +1 -0
  340. package/react/hooks/useDragRegion.js +74 -0
  341. package/react/hooks/useDragRegion.js.map +1 -0
  342. package/react/hooks/useInjectedTitleBar.d.ts +3 -0
  343. package/react/hooks/useInjectedTitleBar.d.ts.map +1 -0
  344. package/react/hooks/useInjectedTitleBar.js +437 -0
  345. package/react/hooks/useInjectedTitleBar.js.map +1 -0
  346. package/react/hooks/useNotifications.d.ts +1 -1
  347. package/react/hooks/useToolbar.d.ts +1 -0
  348. package/react/hooks/useToolbar.d.ts.map +1 -1
  349. package/react/hooks/useToolbar.js +13 -3
  350. package/react/hooks/useToolbar.js.map +1 -1
  351. package/typedefs/FDC3/api/AppMetadata.d.ts +1 -0
  352. package/typedefs/FDC3/api/AppMetadata.d.ts.map +1 -1
  353. package/typedoc-types.d.ts +9 -0
  354. package/typedoc-types.d.ts.map +1 -0
  355. package/typedoc-types.js +6 -0
  356. package/typedoc-types.js.map +1 -0
  357. package/types.d.ts +5 -11
  358. package/types.d.ts.map +1 -1
  359. package/types.js +2 -0
  360. package/types.js.map +1 -1
  361. package/common/events/PrivateEventManager.d.ts +0 -95
  362. package/common/events/PrivateEventManager.d.ts.map +0 -1
  363. package/common/events/PrivateEventManager.js +0 -295
  364. package/common/events/PrivateEventManager.js.map +0 -1
  365. package/common/events/PrivateFinsembleEvent.d.ts +0 -30
  366. package/common/events/PrivateFinsembleEvent.d.ts.map +0 -1
  367. package/common/events/PrivateFinsembleEvent.js +0 -65
  368. package/common/events/PrivateFinsembleEvent.js.map +0 -1
  369. package/common/redux/createReducer.d.ts +0 -128
  370. package/common/redux/createReducer.d.ts.map +0 -1
  371. package/common/redux/createReducer.js +0 -298
  372. package/common/redux/createReducer.js.map +0 -1
  373. package/common/redux/index.d.ts +0 -3
  374. package/common/redux/index.d.ts.map +0 -1
  375. package/common/redux/index.js +0 -3
  376. package/common/redux/index.js.map +0 -1
  377. package/platform/services/window/Common/Pools/ObjectPool.d.ts +0 -11
  378. package/platform/services/window/Common/Pools/ObjectPool.d.ts.map +0 -1
  379. package/platform/services/window/Common/Pools/ObjectPool.js +0 -43
  380. package/platform/services/window/Common/Pools/ObjectPool.js.map +0 -1
  381. package/platform/services/window/Common/Pools/PoolSingletons.d.ts +0 -10
  382. package/platform/services/window/Common/Pools/PoolSingletons.d.ts.map +0 -1
  383. package/platform/services/window/Common/Pools/PoolSingletons.js +0 -10
  384. package/platform/services/window/Common/Pools/PoolSingletons.js.map +0 -1
  385. package/platform/services/window/Common/Pools/WindowPool.d.ts +0 -7
  386. package/platform/services/window/Common/Pools/WindowPool.d.ts.map +0 -1
  387. package/platform/services/window/Common/Pools/WindowPool.js +0 -16
  388. package/platform/services/window/Common/Pools/WindowPool.js.map +0 -1
  389. package/platform/services/window/Docking/boxMath.d.ts +0 -144
  390. package/platform/services/window/Docking/boxMath.d.ts.map +0 -1
  391. package/platform/services/window/Docking/boxMath.js +0 -511
  392. package/platform/services/window/Docking/boxMath.js.map +0 -1
  393. package/platform/services/window/Docking/constants.d.ts +0 -29
  394. package/platform/services/window/Docking/constants.d.ts.map +0 -1
  395. package/platform/services/window/Docking/constants.js +0 -29
  396. package/platform/services/window/Docking/constants.js.map +0 -1
  397. package/platform/services/window/Docking/dockableBox.d.ts +0 -117
  398. package/platform/services/window/Docking/dockableBox.d.ts.map +0 -1
  399. package/platform/services/window/Docking/dockableBox.js +0 -525
  400. package/platform/services/window/Docking/dockableBox.js.map +0 -1
  401. package/platform/services/window/Docking/dockableGroup.d.ts +0 -252
  402. package/platform/services/window/Docking/dockableGroup.d.ts.map +0 -1
  403. package/platform/services/window/Docking/dockableGroup.js +0 -1054
  404. package/platform/services/window/Docking/dockableGroup.js.map +0 -1
  405. package/platform/services/window/Docking/dockableMonitor.d.ts +0 -99
  406. package/platform/services/window/Docking/dockableMonitor.d.ts.map +0 -1
  407. package/platform/services/window/Docking/dockableMonitor.js +0 -427
  408. package/platform/services/window/Docking/dockableMonitor.js.map +0 -1
  409. package/platform/services/window/Docking/dockableWindow.d.ts +0 -272
  410. package/platform/services/window/Docking/dockableWindow.d.ts.map +0 -1
  411. package/platform/services/window/Docking/dockableWindow.js +0 -1239
  412. package/platform/services/window/Docking/dockableWindow.js.map +0 -1
  413. package/platform/services/window/Docking/dockingCalculator.d.ts +0 -741
  414. package/platform/services/window/Docking/dockingCalculator.d.ts.map +0 -1
  415. package/platform/services/window/Docking/dockingCalculator.js +0 -3438
  416. package/platform/services/window/Docking/dockingCalculator.js.map +0 -1
  417. package/platform/services/window/Docking/dockingMain.d.ts +0 -349
  418. package/platform/services/window/Docking/dockingMain.d.ts.map +0 -1
  419. package/platform/services/window/Docking/dockingMain.js +0 -2541
  420. package/platform/services/window/Docking/dockingMain.js.map +0 -1
  421. package/platform/services/window/Docking/maskBoundsCalculator.d.ts +0 -28
  422. package/platform/services/window/Docking/maskBoundsCalculator.d.ts.map +0 -1
  423. package/platform/services/window/Docking/maskBoundsCalculator.js +0 -67
  424. package/platform/services/window/Docking/maskBoundsCalculator.js.map +0 -1
  425. package/platform/services/window/Docking/monitorUpdateHandler.d.ts +0 -32
  426. package/platform/services/window/Docking/monitorUpdateHandler.d.ts.map +0 -1
  427. package/platform/services/window/Docking/monitorUpdateHandler.js +0 -117
  428. package/platform/services/window/Docking/monitorUpdateHandler.js.map +0 -1
  429. package/platform/services/window/Docking/types.d.ts +0 -334
  430. package/platform/services/window/Docking/types.d.ts.map +0 -1
  431. package/platform/services/window/Docking/types.js +0 -12
  432. package/platform/services/window/Docking/types.js.map +0 -1
  433. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts +0 -90
  434. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts.map +0 -1
  435. package/platform/services/window/MultiWindowFeatures/autoArrange.js +0 -510
  436. package/platform/services/window/MultiWindowFeatures/autoArrange.js.map +0 -1
  437. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts +0 -411
  438. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts.map +0 -1
  439. package/platform/services/window/StackedWindowManager/stackedWindowManager.js +0 -1641
  440. package/platform/services/window/StackedWindowManager/stackedWindowManager.js.map +0 -1
  441. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts +0 -469
  442. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts.map +0 -1
  443. package/platform/services/window/WindowAbstractions/BaseWindow.js +0 -1347
  444. package/platform/services/window/WindowAbstractions/BaseWindow.js.map +0 -1
  445. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts +0 -9
  446. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts.map +0 -1
  447. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js +0 -23
  448. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js.map +0 -1
  449. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts +0 -227
  450. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts.map +0 -1
  451. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js +0 -1168
  452. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js.map +0 -1
  453. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts +0 -121
  454. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts.map +0 -1
  455. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js +0 -591
  456. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js.map +0 -1
  457. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts +0 -194
  458. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts.map +0 -1
  459. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js +0 -680
  460. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js.map +0 -1
  461. package/platform/services/window/windowGroup.d.ts +0 -86
  462. package/platform/services/window/windowGroup.d.ts.map +0 -1
  463. package/platform/services/window/windowGroup.js +0 -323
  464. package/platform/services/window/windowGroup.js.map +0 -1
  465. package/platform/services/workspace/windowStorageManager.d.ts +0 -180
  466. package/platform/services/workspace/windowStorageManager.d.ts.map +0 -1
  467. package/platform/services/workspace/windowStorageManager.js +0 -195
  468. package/platform/services/workspace/windowStorageManager.js.map +0 -1
  469. package/react/assets/icons/question-circle.svg +0 -6
  470. package/react/components/legacyControls/FinsembleHoverDetector.d.ts +0 -23
  471. package/react/components/legacyControls/FinsembleHoverDetector.d.ts.map +0 -1
  472. package/react/components/legacyControls/FinsembleHoverDetector.js +0 -57
  473. package/react/components/legacyControls/FinsembleHoverDetector.js.map +0 -1
  474. package/react/components/sdd/Appearance.helpers.d.ts +0 -2
  475. package/react/components/sdd/Appearance.helpers.d.ts.map +0 -1
  476. package/react/components/sdd/Appearance.helpers.js +0 -2
  477. package/react/components/sdd/Appearance.helpers.js.map +0 -1
  478. package/react/components/shared/linkerUtil.d.ts +0 -4
  479. package/react/components/shared/linkerUtil.d.ts.map +0 -1
  480. package/react/components/shared/linkerUtil.js +0 -10
  481. package/react/components/shared/linkerUtil.js.map +0 -1
  482. package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -31
  483. package/react/components/windowTitleBar/components/center/Tab.d.ts.map +0 -1
  484. package/react/components/windowTitleBar/components/center/Tab.js +0 -58
  485. package/react/components/windowTitleBar/components/center/Tab.js.map +0 -1
  486. package/react/components/windowTitleBar/components/center/TabList.d.ts +0 -138
  487. package/react/components/windowTitleBar/components/center/TabList.d.ts.map +0 -1
  488. package/react/components/windowTitleBar/components/center/TabList.js +0 -614
  489. package/react/components/windowTitleBar/components/center/TabList.js.map +0 -1
  490. package/react/components/windowTitleBar/components/center/TabRegion.d.ts +0 -3
  491. package/react/components/windowTitleBar/components/center/TabRegion.d.ts.map +0 -1
  492. package/react/components/windowTitleBar/components/center/TabRegion.js +0 -13
  493. package/react/components/windowTitleBar/components/center/TabRegion.js.map +0 -1
  494. package/react/components/windowTitleBar/components/left/LinkerButton.d.ts.map +0 -1
  495. package/react/components/windowTitleBar/components/left/LinkerButton.js.map +0 -1
  496. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +0 -85
  497. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts.map +0 -1
  498. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +0 -172
  499. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +0 -1
  500. package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts.map +0 -1
  501. package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +0 -1
  502. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +0 -50
  503. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts.map +0 -1
  504. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js +0 -120
  505. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +0 -1
  506. package/react/components/windowTitleBar/components/left/ShareButton.d.ts +0 -42
  507. package/react/components/windowTitleBar/components/left/ShareButton.d.ts.map +0 -1
  508. package/react/components/windowTitleBar/components/left/ShareButton.js +0 -82
  509. package/react/components/windowTitleBar/components/left/ShareButton.js.map +0 -1
  510. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts +0 -3
  511. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts.map +0 -1
  512. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +0 -15
  513. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +0 -1
  514. package/react/components/windowTitleBar/components/right/CloseButton.d.ts.map +0 -1
  515. package/react/components/windowTitleBar/components/right/CloseButton.js +0 -16
  516. package/react/components/windowTitleBar/components/right/CloseButton.js.map +0 -1
  517. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +0 -50
  518. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts.map +0 -1
  519. package/react/components/windowTitleBar/components/right/GroupingButton.js +0 -82
  520. package/react/components/windowTitleBar/components/right/GroupingButton.js.map +0 -1
  521. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +0 -59
  522. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts.map +0 -1
  523. package/react/components/windowTitleBar/components/right/MaximizeButton.js +0 -96
  524. package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +0 -1
  525. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +0 -26
  526. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts.map +0 -1
  527. package/react/components/windowTitleBar/components/right/MinimizeButton.js +0 -32
  528. package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +0 -1
  529. package/react/components/windowTitleBar/components/windowTitle.d.ts +0 -67
  530. package/react/components/windowTitleBar/components/windowTitle.d.ts.map +0 -1
  531. package/react/components/windowTitleBar/components/windowTitle.js +0 -382
  532. package/react/components/windowTitleBar/components/windowTitle.js.map +0 -1
  533. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +0 -69
  534. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts.map +0 -1
  535. package/react/components/windowTitleBar/stores/windowTitleBarStore.js +0 -610
  536. package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +0 -1
  537. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +0 -44
  538. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts.map +0 -1
  539. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js +0 -43
  540. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +0 -1
  541. package/react/components/windowTitleBar/windowTitleBarContext.d.ts +0 -23
  542. package/react/components/windowTitleBar/windowTitleBarContext.d.ts.map +0 -1
  543. package/react/components/windowTitleBar/windowTitleBarContext.js +0 -22
  544. package/react/components/windowTitleBar/windowTitleBarContext.js.map +0 -1
  545. package/react/types/windowTitleBar.d.ts +0 -49
  546. package/react/types/windowTitleBar.d.ts.map +0 -1
  547. package/react/types/windowTitleBar.js +0 -2
  548. package/react/types/windowTitleBar.js.map +0 -1
@@ -5,102 +5,42 @@
5
5
  */
6
6
  @import url("./linkerWindow.css");
7
7
  @import url("./defaultTheme.css");
8
- @import url("core/icons.css");
9
- @import url("core/windowFrame.css");
10
- @import url("core/formElements.css");
8
+ @import url("./core/icons.css");
11
9
  @import url("./font-finance.css");
12
10
  @import url("./fonts/Open_Sans/OpenSans-Definition.css");
13
11
 
14
- .fsbl-drag-handle {
15
- z-index: 2147483641;
12
+ /* .fsbl-app-region is only used by e2e tests */
16
13
 
17
- /* use below with window scrollbar hack */
18
- position: fixed;
19
- /* stylelint-disable-next-line declaration-no-important */
20
- top: 5px !important;
21
- /* stylelint-disable-next-line declaration-no-important */
22
- margin-top: 0 !important;
23
-
24
- /* use below without window scrollbar hack */
25
-
26
- /* position: absolute; */
27
-
28
- /* top: 0px!important; */
29
-
30
- /* background-color: red; */
31
-
32
- /* prevent dragging any data when move window */
33
- user-select: none;
34
- }
35
-
36
- .fsbl-drag-handle-native-movement {
37
- z-index: 2147483641;
38
-
39
- /* use below with window scrollbar hack */
40
- position: fixed;
41
- /* stylelint-disable-next-line declaration-no-important */
42
- top: 5px !important;
43
- /* stylelint-disable-next-line declaration-no-important */
44
- margin-top: 0 !important;
14
+ /* This gets added to draggable areas if useDOMBasedMovement is turned off in config */
15
+ .fsbl-no-dom-movement {
45
16
  -webkit-app-region: drag;
46
-
47
- /* prevent dragging any data when move window */
48
- user-select: none;
49
- }
50
-
51
- .fsbl-drag-handle.hidden {
52
- display: none;
53
- }
54
-
55
- .fsbl-drag-handle-native-movement.hidden {
56
- display: none;
57
17
  }
58
18
 
59
- .fsbl-tabs-multiple .fsbl-header-right {
60
- padding-left: 80px; /* leave some space for a user to grab */
61
- }
19
+ /* 100px minimum. flex-grow will fill up available space to the right */
20
+ .fsbl-guaranteed-drag-area {
21
+ min-width: 100px;
62
22
 
63
- html::before,
64
- html::after,
65
- body::before,
66
- body::after {
67
- content: "";
68
- position: fixed;
69
- display: block;
70
- z-index: 2147483640;
71
- background-color: var(--window-border-color);
23
+ /* if, for whatever reason, no tabs appear then this will ensure that the drag region has height to grab */
24
+ min-height: 20px;
25
+ flex-grow: 1;
72
26
  }
73
27
 
74
- /*
75
- * The next few items give the border of windows
76
- * thickness so that the user can see them
77
- */
78
- html::before {
79
- height: 1px;
80
- left: 0;
81
- right: 0;
82
- top: 0;
28
+ .fsbl-tab-region {
29
+ width: 100%;
30
+ display: inline-block;
83
31
  }
84
32
 
85
- html::after {
86
- width: 1px;
87
- top: 0;
88
- right: 0;
89
- bottom: 0;
33
+ .fsbl-tab-region-tabbing-disabled {
34
+ text-align: center;
90
35
  }
91
36
 
92
- body::before {
93
- height: 1px;
94
- right: 0;
95
- bottom: 0;
96
- left: 0;
37
+ .fsbl-tab-region-tabbing-enabled {
38
+ text-align: left;
39
+ display: flex;
97
40
  }
98
41
 
99
- body::after {
100
- width: 1px;
101
- top: 0;
102
- bottom: 0;
103
- left: 0;
42
+ #FSBLHeader {
43
+ color: white;
104
44
  }
105
45
 
106
46
  .fsbl-header {
@@ -117,6 +57,10 @@ body::after {
117
57
  background: var(--titleBar-background-inactive-color);
118
58
  width: 100%;
119
59
  left: 0;
60
+
61
+ /* This ensures that the window title bar is always the top DOM element on a page. This can be important when the
62
+ title bar is injected. While we have code to shift app content downward, that code is not 100% reliable. This z-index
63
+ then ensures that the window is at least always operable even if the content isn't properly shifted */
120
64
  z-index: 2147483639;
121
65
  top: 0;
122
66
  color: var(--titleBar-inactive-font-color);
@@ -127,39 +71,6 @@ body::after {
127
71
  flex-shrink: unset;
128
72
  }
129
73
 
130
- html.desktop-active .fsbl-tab-title-text {
131
- background: transparent;
132
- color: var(--titleBar-active-font-color);
133
- }
134
-
135
- /* This class applies to a tab that is ALONE and active. For tabs that have neighbors, see .fsbl-tab */
136
- .fsbl-header-title {
137
- position: relative;
138
- height: 100%;
139
- padding-left: 8px;
140
- overflow: hidden;
141
- align-items: center;
142
- display: flex;
143
- padding-right: 14px;
144
- transition: background-color 0.2s ease;
145
- border-top-left-radius: 10px;
146
- border-top-right-radius: 10px;
147
- background-color: var(--titlebar-tab-active-background-color);
148
- }
149
-
150
- .fsbl-header-title:hover {
151
- background-color: var(--core-primary-2);
152
- }
153
-
154
- html.desktop-active .fsbl-header-title .fsbl-tab-title {
155
- color: var(--titlebar-tab-active-font-color);
156
- }
157
-
158
- html.desktop-active .fsbl-header-title:hover {
159
- background-color: var(--titlebar-tab-active-background-color);
160
- color: var(--titlebar-tab-active-font-color);
161
- }
162
-
163
74
  .fsbl-header-left {
164
75
  height: calc(100% - 5px); /* leave some space for the resize cursor */
165
76
  margin-left: 2px;
@@ -172,20 +83,17 @@ html.desktop-active .fsbl-header-title:hover {
172
83
  }
173
84
 
174
85
  .fsbl-header-center {
175
- height: calc(100% - 10px);
86
+ overflow: hidden;
87
+ height: 100%;
176
88
  align-content: center;
177
89
  display: flex;
178
90
  align-items: center;
179
91
  justify-content: center;
180
- width: 80%;
92
+ width: 100%;
181
93
  text-overflow: ellipsis;
182
94
  white-space: nowrap;
183
-
184
- --webkit-user-select: none;
185
-
186
95
  user-select: none;
187
96
  position: relative;
188
- padding-bottom: 3px; /* This needs to be half of the thing subtracted from the height. e.g. height = 100% - 6px, then this is 3px) */
189
97
  }
190
98
 
191
99
  .fsbl-tabs-enabled .fsbl-header-center {
@@ -194,10 +102,6 @@ html.desktop-active .fsbl-header-title:hover {
194
102
  padding-bottom: 0;
195
103
  }
196
104
 
197
- html.desktop-active .fsbl-header-right {
198
- background: var(--titleBar-background-active-color);
199
- }
200
-
201
105
  .fsbl-header-right {
202
106
  margin-right: 2px;
203
107
  height: calc(100% - 5px); /* leave some space for the resize cursor */
@@ -212,17 +116,6 @@ html.desktop-active .fsbl-header-right {
212
116
  margin-top: -2px;
213
117
  }
214
118
 
215
- html.desktop-active .fsbl-tab-region-drag-area {
216
- background-color: var(--titleBar-background-inactive-color);
217
- }
218
-
219
- .tab-drop-region {
220
- width: 100%;
221
- height: 100%;
222
- position: absolute;
223
- z-index: 30000;
224
- }
225
-
226
119
  .fsbl-icon {
227
120
  position: relative;
228
121
  color: var(--titleBar-inactive-font-color);
@@ -257,10 +150,6 @@ html.desktop-active .fsbl-tab-region-drag-area {
257
150
  color: var(--titleBar-button-hover-negative-color);
258
151
  }
259
152
 
260
- html.desktop-active .fsbl-icon.fsbl-close:hover {
261
- color: var(--titleBar-button-hover-negative-color);
262
- }
263
-
264
153
  .fsbl-icon-highlighted {
265
154
  transition: background-color 300ms ease-in-out;
266
155
  background-color: var(--titleBar-button-highlight-inactive-color);
@@ -268,21 +157,12 @@ html.desktop-active .fsbl-icon.fsbl-close:hover {
268
157
  color: var(--titlebar-icon-hover-color);
269
158
  }
270
159
 
271
- html.desktop-active .fsbl-icon-highlighted {
272
- background-color: var(--titleBar-button-highlight-active-color);
273
- }
274
-
275
160
  .fsbl-minimize {
276
161
  align-items: center;
277
162
  margin-top: -2px;
278
163
  transition: 0.2s all;
279
164
  }
280
165
 
281
- .fsbl-ejector {
282
- transition: background-color 300ms ease-in-out;
283
- background-color: var(--titleBar-button-highlight-active-color);
284
- }
285
-
286
166
  .linkerSection {
287
167
  display: flex;
288
168
  height: 100%;
@@ -421,54 +301,44 @@ html.desktop-active .fsbl-icon-highlighted {
421
301
  box-sizing: border-box;
422
302
  justify-content: flex-start;
423
303
  transition: color 0.2s ease;
424
- }
304
+ transition: transform 0.2s ease-in-out;
305
+ max-width: max-content;
306
+ min-width: 30px;
425
307
 
426
- .fsbl-active-tab {
427
- background-color: var(--titlebar-tab-active-background-color);
428
- color: var(--titlebar-tab-active-font-color);
429
- }
430
-
431
- .fsbl-tab:hover {
432
- background-color: var(--titlebar-tab-hover-background-color);
433
- color: var(--titlebar-tab-hover-font-color);
308
+ /* This is important, otherwise flex box expands the final tab, causing scroll buttons to appear when they aren't necessary */
309
+ overflow: hidden;
434
310
  }
435
311
 
436
- .tab-region-wrapper {
437
- display: flex;
438
- max-width: 90%;
312
+ /* The gap that appears in the final, right-most, position in the tab region when dragging. */
313
+ .fsbl-tab-gap[data-display="true"] {
314
+ background-color: var(--titlebar-tab-active-background-color);
315
+ border-top-right-radius: 10px;
316
+ border-top-left-radius: 10px;
317
+ height: 23px;
439
318
  }
440
319
 
441
- /* When there are multiple tabs, no border for the last tab on the right side. */
442
- .fsbl-tabs-multiple .tab-region-wrapper > div:last-child {
443
- border-right: none;
320
+ .fsbl-active-tab {
321
+ background-color: var(--titlebar-tab-active-background-color);
322
+ color: var(--titlebar-tab-active-font-color);
444
323
  }
445
324
 
446
- .fsbl-tab-area {
447
- height: 100%;
448
- display: flex;
449
- width: 100%;
450
- position: absolute;
451
- left: 0;
452
- overflow: scroll;
453
- }
325
+ .fsbl-tab-title {
326
+ text-align: left;
327
+ padding-left: 1px;
328
+ padding-right: 4px;
329
+ display: inline-flex;
330
+ align-items: center;
454
331
 
455
- .fsbl-tab-area::-webkit-scrollbar {
456
- display: none;
332
+ /* min-width: 20px; */
333
+ color: var(--titlebar-tab-inactive-font-color);
457
334
  }
458
335
 
459
- .fsbl-tab-editor {
460
- position: relative;
461
- z-index: 29999;
462
- overflow: auto;
336
+ .fsbl-open-tab {
337
+ width: 100px;
463
338
  }
464
339
 
465
- .fsbl-tab-title {
466
- text-align: left;
467
- padding-left: 1px;
468
- min-width: 0;
469
- color: var(--titlebar-tab-inactive-font-color);
470
- display: flex;
471
- align-items: center;
340
+ .fsbl-tab-title-text {
341
+ margin-right: 5px;
472
342
  }
473
343
 
474
344
  /* The block below allows for a flex-child to have text truncated with an ellipsis. */
@@ -494,20 +364,8 @@ html.desktop-active .fsbl-icon-highlighted {
494
364
  transition-delay: 0.2s;
495
365
  }
496
366
 
497
- .fsbl-tab:hover .fsbl-tab-title .fsbl-tab-title-text {
498
- padding-right: 18px;
499
- }
500
-
501
367
  div.fsbl-tab-close .ff-close {
502
- /**
503
- Override the "transition: 2s all;" on .ff-close
504
- */
505
- transition: 0s all;
506
- transition-delay: 0.2s;
507
- }
508
-
509
- html.desktop-active .fsbl-active-tab .fsbl-tab-title {
510
- color: var(--titlebar-tab-active-font-color);
368
+ transition: all 0.2s ease-in;
511
369
  }
512
370
 
513
371
  div.fsbl-tab-close {
@@ -521,7 +379,14 @@ div.fsbl-tab-close {
521
379
  justify-content: center;
522
380
  position: absolute;
523
381
  right: 0;
524
- z-index: 30001;
382
+
383
+ /** This transition is critical. Without it, a user can click on a tab and accidentally close it. This happens if you click in the vicinity
384
+ of the close button when a different window currently has focus. This transition ensures that the close button isn't visible at the time
385
+ that such a click occurs. */
386
+ transition: visibility 0s ease 0.5s;
387
+
388
+ /* z-index: 30001; */
389
+ background-color: var(--titlebar-tab-hover-background-color);
525
390
  }
526
391
 
527
392
  .fsbl-tab-close:hover {
@@ -532,51 +397,11 @@ div.fsbl-tab-close {
532
397
  visibility: visible;
533
398
  }
534
399
 
535
- .fsbl-tab-logo {
536
- margin: 0 7px;
537
- padding-top: 3px;
538
- width: auto;
539
- height: auto;
540
- color: var(--titlebar-tab-icon-font-color);
541
- }
542
-
543
- .fsbl-tab-logo i {
544
- font-size: 14px;
545
- }
546
-
547
- .fsbl-tab-logo img {
548
- height: 18px;
549
- width: 18px;
550
- }
551
-
552
- .fsbl-tab .fsbl-tab-style {
553
- position: relative;
554
- height: 100%;
555
- left: 0;
556
- }
557
-
558
- .fsbl-tab-region-drag-area::before {
559
- content: "a";
560
- visibility: hidden;
561
- }
562
-
563
- /* Without content, the ghost-tab caused really strange sizing behaviors. */
564
- .ghost-tab::before {
565
- content: "a";
400
+ /* Hovering will be disabled by the react component if the element is too thin and not the promoted tab */
401
+ .fsbl-tab:hover[data-show-close-button="false"] > .fsbl-tab-close {
566
402
  visibility: hidden;
567
403
  }
568
404
 
569
- .ghost-tab {
570
- background-color: var(--titlebar-tab-ghost-background-color);
571
- border-right: 1px solid var(--titlebar-tab-ghost-border-colorcolor);
572
- border-top: 1px solid var(--titlebar-tab-ghost-border-color);
573
- width: 175px;
574
- opacity: 0.7;
575
- position: relative;
576
- height: 100%;
577
- left: 0;
578
- }
579
-
580
405
  /* Styles the zoom pop up */
581
406
  .fsbl-zoom-popup {
582
407
  display: none;
@@ -618,14 +443,6 @@ div.fsbl-tab-close {
618
443
  /* stylelint-disable-next-line declaration-no-important */
619
444
  display: none !important;
620
445
  }
621
-
622
- .fsbl-tabs-multiple .fsbl-header-right {
623
- padding-left: 70px; /* leave some space for a user to grab */
624
- }
625
-
626
- .fsbl-header-title {
627
- max-width: 50%;
628
- }
629
446
  }
630
447
 
631
448
  /* At 310px, the left section of the header will be removed. */
@@ -634,10 +451,6 @@ div.fsbl-tab-close {
634
451
  /* stylelint-disable-next-line declaration-no-important */
635
452
  display: none !important;
636
453
  }
637
-
638
- .fsbl-tabs-multiple .fsbl-header-right {
639
- padding-left: 60px; /* leave some space for a user to grab */
640
- }
641
454
  }
642
455
 
643
456
  /* At 280px, the docking icon will be removed. */
@@ -647,10 +460,6 @@ div.fsbl-tab-close {
647
460
  /* stylelint-disable-next-line declaration-no-important */
648
461
  display: none !important;
649
462
  }
650
-
651
- .fsbl-tabs-multiple .fsbl-header-right {
652
- padding-left: 50px; /* this will leave some space for window dragging */
653
- }
654
463
  }
655
464
 
656
465
  /* At 245px, the maximize icon will be removed. */
@@ -659,10 +468,6 @@ div.fsbl-tab-close {
659
468
  /* stylelint-disable-next-line declaration-no-important */
660
469
  display: none !important;
661
470
  }
662
-
663
- .fsbl-tabs-multiple .fsbl-header-right {
664
- padding-left: 40px; /* this will leave some space for window dragging */
665
- }
666
471
  }
667
472
 
668
473
  /* At 210px, all other icons icon will be removed. */
@@ -681,21 +486,12 @@ div.fsbl-tab-close {
681
486
  /* stylelint-disable-next-line declaration-no-important */
682
487
  display: none !important;
683
488
  }
684
-
685
- .fsbl-tabs-multiple .fsbl-header-right {
686
- padding-left: 30px; /* this will leave some space for window dragging */
687
- }
688
-
689
- .fsbl-header-title {
690
- max-width: 25%;
691
- }
692
489
  }
693
490
 
694
491
  .finsemble-toolbar .icon-avatar {
695
492
  padding: 3px;
696
493
  font-size: 7px;
697
494
  position: relative;
698
- top: -1px;
699
495
  }
700
496
 
701
497
  .finsemble-toolbar .icon-avatar > i {
@@ -703,30 +499,50 @@ div.fsbl-tab-close {
703
499
  top: 1px;
704
500
  }
705
501
 
706
- #title_editor_input {
502
+ .finsemble-toolbar .icon-avatar-wrapper {
503
+ align-items: normal;
504
+ }
505
+
506
+ /* Do not attempt to animate the input's width. Doing so can cause the input tag to disappear due to stray clicks
507
+ that blur the input while animating */
508
+ input.fsbl-tab-input {
707
509
  font-size: 12px;
708
- padding: 2px 10px;
709
- width: 80%;
710
- border: none;
510
+ margin-top: 1px;
511
+ width: 100%;
512
+ border-right: 2px solid gray;
711
513
  border-bottom: 2px solid #73c3ff;
712
514
  color: white;
713
515
  transition: none;
714
- background: transparent;
516
+ background-color: #353434;
715
517
  }
716
518
 
717
- input.tab__input:focus {
519
+ input.fsbl-tab-input:focus {
718
520
  outline: none;
719
- animation: input-highlighter 0.3s ease;
720
521
  }
721
522
 
722
- @keyframes input-highlighter {
723
- from {
724
- background: #527bae;
725
- width: 0;
726
- }
523
+ .fsbl-tabs-container {
524
+ display: flex;
525
+ align-items: center;
526
+ }
727
527
 
728
- to {
729
- width: 80%;
730
- background: transparent;
731
- }
528
+ .fsbl-tabs-scroll-surround {
529
+ --webkit-app-region: no-drag;
530
+
531
+ overflow: hidden;
532
+ }
533
+
534
+ .fsbl-tab-region-tabbing-enabled .fsbl-tab {
535
+ display: flex;
536
+ white-space: nowrap;
537
+ }
538
+
539
+ .fsbl-tab-scroll-button {
540
+ --webkit-app-region: no-drag;
541
+
542
+ background-color: transparent;
543
+ color: var(--titleBar-active-font-color);
544
+ }
545
+
546
+ .fsbl-tab-scroll-button:disabled {
547
+ color: var(--titleBar-inactive-font-color);
732
548
  }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M256 429.3l22.6-22.6 192-192L493.3 192 448 146.7l-22.6 22.6L256 338.7 86.6 169.4 64 146.7 18.7 192l22.6 22.6 192 192L256 429.3z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M256 82.7l22.6 22.6 192 192L493.3 320 448 365.3l-22.6-22.6L256 173.3 86.6 342.6 64 365.3 18.7 320l22.6-22.6 192-192L256 82.7z"/></svg>
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonRow.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/common/ButtonRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,MAAM,WAAW,cAAc;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB;AAWD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA4CvC,CAAC;AAGF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"ButtonRow.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/common/ButtonRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,cAAc;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB;AAWD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAoCvC,CAAC;AAGF,eAAe,SAAS,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import React, { useState } from "react";
2
+ import { onClickA11y } from "../utils";
2
3
  const defaultProps = {
3
4
  label: "",
4
5
  onClick: () => { },
@@ -9,15 +10,9 @@ const defaultProps = {
9
10
  };
10
11
  const ButtonRow = ({ label, onClick, iconClass, disabled, img, showDefaultIcon, className, ariaSelected, role = "button", }) => {
11
12
  const [imgError, setImgError] = useState(false);
12
- return (React.createElement("div", { className: disabled ? "row-btn-disabled" : className, role: role, tabIndex: 0, "aria-selected": ariaSelected, onClick: () => {
13
- if (!disabled) {
14
- onClick();
15
- }
16
- }, onKeyDown: (e) => {
17
- if ((e.key === "Enter" || e.key === " ") && !disabled) {
18
- onClick();
19
- }
20
- } },
13
+ return (React.createElement("div", Object.assign({ className: disabled ? "row-btn-disabled" : className, role: role, "aria-selected": ariaSelected }, onClickA11y(() => {
14
+ !disabled && onClick();
15
+ })),
21
16
  img && (React.createElement("img", { src: img, alt: "", style: showDefaultIcon || imgError ? { display: "none" } : { width: "auto", height: "20px" }, onError: () => {
22
17
  setImgError(true);
23
18
  } })),
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonRow.js","sourceRoot":"","sources":["../../../../../src/ui/components/common/ButtonRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAexC,MAAM,YAAY,GAAmB;IACpC,KAAK,EAAE,EAAE;IACT,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;IACjB,SAAS,EAAE,EAAE;IACb,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,SAAS,EAAE,SAAS;CACpB,CAAC;AAEF,MAAM,SAAS,GAA6B,CAAC,EAC5C,KAAK,EACL,OAAO,EACP,SAAS,EACT,QAAQ,EACR,GAAG,EACH,eAAe,EACf,SAAS,EACT,YAAY,EACZ,IAAI,GAAG,QAAQ,GACf,EAAE,EAAE;IACJ,MAAM,CAAC,QAAQ,EAAE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;AACH,CAAC,CAAC;AAEF,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC;AACtC,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/common/ContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgE,MAAM,OAAO,CAAC;AAOrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAM3D,OAAO,kCAAkC,CAAC;AAE1C,MAAM,WAAW,gBAAgB;IAChC,WAAW,EAAE;QACZ,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,CAAC;KACjC,CAAC;IACF,OAAO,EAAE,GAAG,CAAC;IACb,mBAAmB,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,uBAAuB,YAC1B,GAAG,cACA,iBAAiB,WAEpB,OAAO,4BAwBhB,CAAC;AA+CF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAkBhE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/common/ContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgE,MAAM,OAAO,CAAC;AAOrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAM3D,OAAO,kCAAkC,CAAC;AAG1C,MAAM,WAAW,gBAAgB;IAChC,WAAW,EAAE;QACZ,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,CAAC;KACjC,CAAC;IACF,OAAO,EAAE,GAAG,CAAC;IACb,mBAAmB,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,uBAAuB,YAC1B,GAAG,cACA,iBAAiB,WAEpB,OAAO,4BAehB,CAAC;AA+CF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAkBhE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -6,20 +6,12 @@ import { useOutsideClickDetector } from "../../hooks/useOutsideClickDetector";
6
6
  import IconButton from "../notifications/components/shared/IconButton";
7
7
  // CSS
8
8
  import "../../assets/css/contextMenu.css";
9
+ import { onClickA11y } from "../utils";
9
10
  export const renderContextMenuAction = (message, menuAction,
10
11
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
11
12
  isMuted) => {
12
13
  if (menuAction.display) {
13
- return (React.createElement("div", { key: `${message === null || message === void 0 ? void 0 : message.id}_${menuAction.name}`, className: "context-menu__action", tabIndex: 0, title: menuAction === null || menuAction === void 0 ? void 0 : menuAction.label, onClick: () => {
14
- var _a;
15
- (_a = menuAction === null || menuAction === void 0 ? void 0 : menuAction.action) === null || _a === void 0 ? void 0 : _a.call(menuAction, message);
16
- }, onKeyDown: (e) => {
17
- var _a;
18
- if (e.key === "Enter") {
19
- e.stopPropagation();
20
- (_a = menuAction === null || menuAction === void 0 ? void 0 : menuAction.action) === null || _a === void 0 ? void 0 : _a.call(menuAction, message);
21
- }
22
- } }, menuAction === null || menuAction === void 0 ? void 0 :
14
+ return (React.createElement("div", Object.assign({ key: `${message === null || message === void 0 ? void 0 : message.id}_${menuAction.name}`, className: "context-menu__action", title: menuAction === null || menuAction === void 0 ? void 0 : menuAction.label }, onClickA11y(() => { var _a; return (_a = menuAction === null || menuAction === void 0 ? void 0 : menuAction.action) === null || _a === void 0 ? void 0 : _a.call(menuAction, message); })), menuAction === null || menuAction === void 0 ? void 0 :
23
15
  menuAction.icon,
24
16
  React.createElement("span", { className: "btn-label" }, menuAction === null || menuAction === void 0 ? void 0 : menuAction.label)));
25
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.js","sourceRoot":"","sources":["../../../../../src/ui/components/common/ContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA4B,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO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,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9D,MAAM,iBAAiB,GAAG,GAAG,EAAE;QAC9B,kBAAkB,CAAC,CAAC,eAAe,CAAC,CAAC;IACtC,CAAC,CAAC;IACF,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CACpE,uBAAuB,CAAC,OAAO,EAAE,KAAK,EAAE,mBAAmB,CAAC,CAC5D,CAAC;IAEF,OAAO,CACN,oBAAC,UAAU,IAAC,QAAQ,EAAC,cAAc,EAAC,OAAO,EAAC,SAAS,EAAC,YAAY,EAAE,iBAAiB,IACnF,eAAe,CAAC,CAAC,CAAC,oBAAC,WAAW,IAAC,SAAS,EAAE,kBAAkB,IAAG,mBAAmB,CAAe,CAAC,CAAC,CAAC,IAAI,CAC7F,CACb,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/common/DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,MAAM,WAAW,mCAAmC;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC5C,UAAU,EAAE,QAAQ,CAAC;CACrB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mCAAmC,CAyGhF,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/common/DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAGzD,MAAM,WAAW,mCAAmC;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC5C,UAAU,EAAE,QAAQ,CAAC;CACrB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mCAAmC,CAwFhF,CAAC;AAEF,eAAe,cAAc,CAAC"}