flexlayout-react 0.8.11 → 0.8.13

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 (473) hide show
  1. package/README.md +16 -5
  2. package/declarations/Attribute.d.ts +25 -1
  3. package/declarations/AttributeDefinitions.d.ts +18 -1
  4. package/declarations/DockLocation.d.ts +22 -0
  5. package/declarations/I18nLabel.d.ts +2 -1
  6. package/declarations/Orientation.d.ts +4 -0
  7. package/declarations/Rect.d.ts +3 -0
  8. package/declarations/index.d.ts +1 -0
  9. package/declarations/model/BorderNode.d.ts +53 -0
  10. package/declarations/model/BorderSet.d.ts +28 -0
  11. package/declarations/model/IDraggable.d.ts +4 -0
  12. package/declarations/model/IDropTarget.d.ts +10 -0
  13. package/declarations/model/LayoutWindow.d.ts +16 -0
  14. package/declarations/model/Model.d.ts +55 -0
  15. package/declarations/model/Node.d.ts +61 -0
  16. package/declarations/model/RowNode.d.ts +67 -0
  17. package/declarations/model/TabNode.d.ts +79 -0
  18. package/declarations/model/TabSetNode.d.ts +60 -0
  19. package/declarations/model/Utils.d.ts +8 -0
  20. package/declarations/view/BorderButton.d.ts +13 -1
  21. package/declarations/view/BorderTab.d.ts +8 -0
  22. package/declarations/view/BorderTabSet.d.ts +10 -1
  23. package/declarations/view/DragContainer.d.ts +9 -1
  24. package/declarations/view/ErrorBoundary.d.ts +22 -1
  25. package/declarations/view/Icons.d.ts +1 -0
  26. package/declarations/view/Layout.d.ts +143 -1
  27. package/declarations/view/Overlay.d.ts +8 -1
  28. package/declarations/view/PopoutWindow.d.ts +14 -1
  29. package/declarations/view/PopupMenu.d.ts +12 -1
  30. package/declarations/view/Row.d.ts +9 -1
  31. package/declarations/view/Splitter.d.ts +14 -1
  32. package/declarations/view/Tab.d.ts +11 -1
  33. package/declarations/view/TabButton.d.ts +11 -1
  34. package/declarations/view/TabButtonStamp.d.ts +9 -1
  35. package/declarations/view/TabOverflowHook.d.ts +16 -1
  36. package/declarations/view/TabSet.d.ts +9 -1
  37. package/declarations/view/Utils.d.ts +13 -0
  38. package/lib/index.js +6410 -22
  39. package/package.json +34 -26
  40. package/ChangeLog.txt +0 -370
  41. package/declarations/DragDrop.d.ts +0 -15
  42. package/declarations/PopupMenu.d.ts +0 -1
  43. package/declarations/model/SplitterNode.d.ts +0 -5
  44. package/declarations/model/WindowLayout.d.ts +0 -24
  45. package/declarations/src/Attribute.d.ts +0 -1
  46. package/declarations/src/AttributeDefinitions.d.ts +0 -1
  47. package/declarations/src/DockLocation.d.ts +0 -12
  48. package/declarations/src/DropInfo.d.ts +0 -12
  49. package/declarations/src/I18nLabel.d.ts +0 -10
  50. package/declarations/src/Orientation.d.ts +0 -7
  51. package/declarations/src/PopupMenu.d.ts +0 -1
  52. package/declarations/src/Rect.d.ts +0 -31
  53. package/declarations/src/Types.d.ts +0 -92
  54. package/declarations/src/index.d.ts +0 -20
  55. package/declarations/src/model/Action.d.ts +0 -5
  56. package/declarations/src/model/Actions.d.ts +0 -110
  57. package/declarations/src/model/BorderNode.d.ts +0 -28
  58. package/declarations/src/model/BorderSet.d.ts +0 -3
  59. package/declarations/src/model/ICloseType.d.ts +0 -5
  60. package/declarations/src/model/IDraggable.d.ts +0 -2
  61. package/declarations/src/model/IDropTarget.d.ts +0 -2
  62. package/declarations/src/model/IJsonModel.d.ts +0 -153
  63. package/declarations/src/model/Model.d.ts +0 -98
  64. package/declarations/src/model/Node.d.ts +0 -16
  65. package/declarations/src/model/RowNode.d.ts +0 -11
  66. package/declarations/src/model/TabNode.d.ts +0 -36
  67. package/declarations/src/model/TabSetNode.d.ts +0 -37
  68. package/declarations/src/model/Utils.d.ts +0 -1
  69. package/declarations/src/view/BorderButton.d.ts +0 -1
  70. package/declarations/src/view/BorderTab.d.ts +0 -2
  71. package/declarations/src/view/BorderTabSet.d.ts +0 -1
  72. package/declarations/src/view/DragContainer.d.ts +0 -1
  73. package/declarations/src/view/ErrorBoundary.d.ts +0 -1
  74. package/declarations/src/view/FloatingWindow.d.ts +0 -1
  75. package/declarations/src/view/Icons.d.ts +0 -7
  76. package/declarations/src/view/Layout.d.ts +0 -113
  77. package/declarations/src/view/Overlay.d.ts +0 -1
  78. package/declarations/src/view/PopupMenu.d.ts +0 -1
  79. package/declarations/src/view/Row.d.ts +0 -1
  80. package/declarations/src/view/Splitter.d.ts +0 -1
  81. package/declarations/src/view/Tab.d.ts +0 -1
  82. package/declarations/src/view/TabButton.d.ts +0 -1
  83. package/declarations/src/view/TabButtonStamp.d.ts +0 -1
  84. package/declarations/src/view/TabOverflowHook.d.ts +0 -1
  85. package/declarations/src/view/TabSet.d.ts +0 -1
  86. package/declarations/src/view/Utils.d.ts +0 -4
  87. package/declarations/view/ExtendedResizeObserver.d.ts +0 -23
  88. package/declarations/view/FloatingWindow.d.ts +0 -1
  89. package/declarations/view/FloatingWindowTab.d.ts +0 -1
  90. package/declarations/view/TabFloating.d.ts +0 -1
  91. package/dist/flexlayout.js +0 -610
  92. package/dist/flexlayout_min.js +0 -2
  93. package/dist/flexlayout_min.js.LICENSE.txt +0 -29
  94. package/dist/src/Attribute.js +0 -43
  95. package/dist/src/Attribute.js.map +0 -1
  96. package/dist/src/AttributeDefinitions.js +0 -132
  97. package/dist/src/AttributeDefinitions.js.map +0 -1
  98. package/dist/src/DockLocation.js +0 -121
  99. package/dist/src/DockLocation.js.map +0 -1
  100. package/dist/src/DropInfo.js +0 -10
  101. package/dist/src/DropInfo.js.map +0 -1
  102. package/dist/src/I18nLabel.js +0 -14
  103. package/dist/src/I18nLabel.js.map +0 -1
  104. package/dist/src/Orientation.js +0 -23
  105. package/dist/src/Orientation.js.map +0 -1
  106. package/dist/src/Rect.js +0 -111
  107. package/dist/src/Rect.js.map +0 -1
  108. package/dist/src/Types.js +0 -95
  109. package/dist/src/Types.js.map +0 -1
  110. package/dist/src/index.js +0 -22
  111. package/dist/src/index.js.map +0 -1
  112. package/dist/src/model/Action.js +0 -7
  113. package/dist/src/model/Action.js.map +0 -1
  114. package/dist/src/model/Actions.js +0 -170
  115. package/dist/src/model/Actions.js.map +0 -1
  116. package/dist/src/model/BorderNode.js +0 -390
  117. package/dist/src/model/BorderNode.js.map +0 -1
  118. package/dist/src/model/BorderSet.js +0 -67
  119. package/dist/src/model/BorderSet.js.map +0 -1
  120. package/dist/src/model/ICloseType.js +0 -7
  121. package/dist/src/model/ICloseType.js.map +0 -1
  122. package/dist/src/model/IDraggable.js +0 -2
  123. package/dist/src/model/IDraggable.js.map +0 -1
  124. package/dist/src/model/IDropTarget.js +0 -2
  125. package/dist/src/model/IDropTarget.js.map +0 -1
  126. package/dist/src/model/IJsonModel.js +0 -2
  127. package/dist/src/model/IJsonModel.js.map +0 -1
  128. package/dist/src/model/LayoutWindow.js +0 -81
  129. package/dist/src/model/LayoutWindow.js.map +0 -1
  130. package/dist/src/model/Model.js +0 -608
  131. package/dist/src/model/Model.js.map +0 -1
  132. package/dist/src/model/Node.js +0 -218
  133. package/dist/src/model/Node.js.map +0 -1
  134. package/dist/src/model/RowNode.js +0 -492
  135. package/dist/src/model/RowNode.js.map +0 -1
  136. package/dist/src/model/TabNode.js +0 -293
  137. package/dist/src/model/TabNode.js.map +0 -1
  138. package/dist/src/model/TabSetNode.js +0 -469
  139. package/dist/src/model/TabSetNode.js.map +0 -1
  140. package/dist/src/model/Utils.js +0 -48
  141. package/dist/src/model/Utils.js.map +0 -1
  142. package/dist/src/view/BorderButton.js +0 -126
  143. package/dist/src/view/BorderButton.js.map +0 -1
  144. package/dist/src/view/BorderTab.js +0 -44
  145. package/dist/src/view/BorderTab.js.map +0 -1
  146. package/dist/src/view/BorderTabSet.js +0 -138
  147. package/dist/src/view/BorderTabSet.js.map +0 -1
  148. package/dist/src/view/DragContainer.js +0 -16
  149. package/dist/src/view/DragContainer.js.map +0 -1
  150. package/dist/src/view/ErrorBoundary.js +0 -24
  151. package/dist/src/view/ErrorBoundary.js.map +0 -1
  152. package/dist/src/view/Icons.js +0 -29
  153. package/dist/src/view/Icons.js.map +0 -1
  154. package/dist/src/view/Layout.js +0 -881
  155. package/dist/src/view/Layout.js.map +0 -1
  156. package/dist/src/view/Overlay.js +0 -9
  157. package/dist/src/view/Overlay.js.map +0 -1
  158. package/dist/src/view/PopoutWindow.js +0 -129
  159. package/dist/src/view/PopoutWindow.js.map +0 -1
  160. package/dist/src/view/PopupMenu.js +0 -89
  161. package/dist/src/view/PopupMenu.js.map +0 -1
  162. package/dist/src/view/Row.js +0 -46
  163. package/dist/src/view/Row.js.map +0 -1
  164. package/dist/src/view/SizeTracker.js +0 -12
  165. package/dist/src/view/SizeTracker.js.map +0 -1
  166. package/dist/src/view/Splitter.js +0 -192
  167. package/dist/src/view/Splitter.js.map +0 -1
  168. package/dist/src/view/Tab.js +0 -91
  169. package/dist/src/view/Tab.js.map +0 -1
  170. package/dist/src/view/TabButton.js +0 -124
  171. package/dist/src/view/TabButton.js.map +0 -1
  172. package/dist/src/view/TabButtonStamp.js +0 -15
  173. package/dist/src/view/TabButtonStamp.js.map +0 -1
  174. package/dist/src/view/TabOverflowHook.js +0 -266
  175. package/dist/src/view/TabOverflowHook.js.map +0 -1
  176. package/dist/src/view/TabSet.js +0 -256
  177. package/dist/src/view/TabSet.js.map +0 -1
  178. package/dist/src/view/Utils.js +0 -110
  179. package/dist/src/view/Utils.js.map +0 -1
  180. package/lib/Attribute.js +0 -43
  181. package/lib/Attribute.js.map +0 -1
  182. package/lib/AttributeDefinitions.js +0 -132
  183. package/lib/AttributeDefinitions.js.map +0 -1
  184. package/lib/DockLocation.js +0 -121
  185. package/lib/DockLocation.js.map +0 -1
  186. package/lib/DropInfo.js +0 -10
  187. package/lib/DropInfo.js.map +0 -1
  188. package/lib/I18nLabel.js +0 -14
  189. package/lib/I18nLabel.js.map +0 -1
  190. package/lib/Orientation.js +0 -23
  191. package/lib/Orientation.js.map +0 -1
  192. package/lib/Rect.js +0 -111
  193. package/lib/Rect.js.map +0 -1
  194. package/lib/Types.js +0 -95
  195. package/lib/Types.js.map +0 -1
  196. package/lib/index.js.map +0 -1
  197. package/lib/model/Action.js +0 -7
  198. package/lib/model/Action.js.map +0 -1
  199. package/lib/model/Actions.js +0 -170
  200. package/lib/model/Actions.js.map +0 -1
  201. package/lib/model/BorderNode.js +0 -390
  202. package/lib/model/BorderNode.js.map +0 -1
  203. package/lib/model/BorderSet.js +0 -67
  204. package/lib/model/BorderSet.js.map +0 -1
  205. package/lib/model/ICloseType.js +0 -7
  206. package/lib/model/ICloseType.js.map +0 -1
  207. package/lib/model/IDraggable.js +0 -2
  208. package/lib/model/IDraggable.js.map +0 -1
  209. package/lib/model/IDropTarget.js +0 -2
  210. package/lib/model/IDropTarget.js.map +0 -1
  211. package/lib/model/IJsonModel.js +0 -2
  212. package/lib/model/IJsonModel.js.map +0 -1
  213. package/lib/model/LayoutWindow.js +0 -81
  214. package/lib/model/LayoutWindow.js.map +0 -1
  215. package/lib/model/Model.js +0 -608
  216. package/lib/model/Model.js.map +0 -1
  217. package/lib/model/Node.js +0 -218
  218. package/lib/model/Node.js.map +0 -1
  219. package/lib/model/RowNode.js +0 -492
  220. package/lib/model/RowNode.js.map +0 -1
  221. package/lib/model/TabNode.js +0 -293
  222. package/lib/model/TabNode.js.map +0 -1
  223. package/lib/model/TabSetNode.js +0 -469
  224. package/lib/model/TabSetNode.js.map +0 -1
  225. package/lib/model/Utils.js +0 -48
  226. package/lib/model/Utils.js.map +0 -1
  227. package/lib/view/BorderButton.js +0 -126
  228. package/lib/view/BorderButton.js.map +0 -1
  229. package/lib/view/BorderTab.js +0 -56
  230. package/lib/view/BorderTab.js.map +0 -1
  231. package/lib/view/BorderTabSet.js +0 -138
  232. package/lib/view/BorderTabSet.js.map +0 -1
  233. package/lib/view/DragContainer.js +0 -16
  234. package/lib/view/DragContainer.js.map +0 -1
  235. package/lib/view/ErrorBoundary.js +0 -24
  236. package/lib/view/ErrorBoundary.js.map +0 -1
  237. package/lib/view/Icons.js +0 -29
  238. package/lib/view/Icons.js.map +0 -1
  239. package/lib/view/Layout.js +0 -881
  240. package/lib/view/Layout.js.map +0 -1
  241. package/lib/view/Overlay.js +0 -9
  242. package/lib/view/Overlay.js.map +0 -1
  243. package/lib/view/PopoutWindow.js +0 -129
  244. package/lib/view/PopoutWindow.js.map +0 -1
  245. package/lib/view/PopupMenu.js +0 -89
  246. package/lib/view/PopupMenu.js.map +0 -1
  247. package/lib/view/Row.js +0 -46
  248. package/lib/view/Row.js.map +0 -1
  249. package/lib/view/SizeTracker.js +0 -12
  250. package/lib/view/SizeTracker.js.map +0 -1
  251. package/lib/view/Splitter.js +0 -197
  252. package/lib/view/Splitter.js.map +0 -1
  253. package/lib/view/Tab.js +0 -91
  254. package/lib/view/Tab.js.map +0 -1
  255. package/lib/view/TabButton.js +0 -124
  256. package/lib/view/TabButton.js.map +0 -1
  257. package/lib/view/TabButtonStamp.js +0 -15
  258. package/lib/view/TabButtonStamp.js.map +0 -1
  259. package/lib/view/TabOverflowHook.js +0 -266
  260. package/lib/view/TabOverflowHook.js.map +0 -1
  261. package/lib/view/TabSet.js +0 -269
  262. package/lib/view/TabSet.js.map +0 -1
  263. package/lib/view/Utils.js +0 -110
  264. package/lib/view/Utils.js.map +0 -1
  265. package/playwright-report/data/01f8ff379b7b7c06b0f8dbd65cbd55e95f8ca470.zip +0 -0
  266. package/playwright-report/data/02a706b995d751dee8ac0429e29eafb796a23f96.zip +0 -0
  267. package/playwright-report/data/04468c5a7304bad1acbe32d3376bfc5038e172d9.zip +0 -0
  268. package/playwright-report/data/04ffe14721deea0c6402bb96c78055475f6cd687.zip +0 -0
  269. package/playwright-report/data/07e1bb8bd6407ceafa7a1051839d398f34b41a52.zip +0 -0
  270. package/playwright-report/data/0d17b99e2ddd975da4868f295b370a9fc9b55993.zip +0 -0
  271. package/playwright-report/data/108805618d29c7800d55d7dd8da36829fec366bd.zip +0 -0
  272. package/playwright-report/data/1271fd2bc76809c25b62351f4321b396e745a199.zip +0 -0
  273. package/playwright-report/data/16bd316f5e3e9ad6c9dc2a6a0388f3425c1a61d9.zip +0 -0
  274. package/playwright-report/data/1a1b06cebe59d981e21198164093230b0a1704fd.zip +0 -0
  275. package/playwright-report/data/1b3b6bba4aca415bc586b2a0abb18410af26fbf1.zip +0 -0
  276. package/playwright-report/data/1ce927369a55edf14ec99e0029d1a342cb0fcfa4.zip +0 -0
  277. package/playwright-report/data/20a694648a90f0a805a4397b73699142e5dd50c1.zip +0 -0
  278. package/playwright-report/data/211f1c8fc3f5d052d935906201f29a1e42a2fbd8.zip +0 -0
  279. package/playwright-report/data/2176124681e769fbba593a272e67331fd69e56ef.zip +0 -0
  280. package/playwright-report/data/2487db6273b09acd9a62a9ecfa8f1e411cc769df.zip +0 -0
  281. package/playwright-report/data/25abefed6606e15cac6dc83e3ea4e85896233020.zip +0 -0
  282. package/playwright-report/data/2752051b8593d432be1a623813f2dbee043dc959.zip +0 -0
  283. package/playwright-report/data/2d72001a7f57a11282fe741ca22501b34f7576a2.zip +0 -0
  284. package/playwright-report/data/308de4d252afe1db5aeda783ea3eaf09368aa812.zip +0 -0
  285. package/playwright-report/data/30f265807a34ee9bb2ddd931970be6f572a42ffe.zip +0 -0
  286. package/playwright-report/data/326599ace543d3340403f5eaa0f28ef73f7d3cfc.zip +0 -0
  287. package/playwright-report/data/3662fcf1839c6bb164e1aceea5e25b410bae6286.zip +0 -0
  288. package/playwright-report/data/38cdebbb090386af04f96f13bf45b2a23feb6cf5.zip +0 -0
  289. package/playwright-report/data/3b45c7876ca7a4208061f69fa0cce9f9e619557c.zip +0 -0
  290. package/playwright-report/data/3c6115f8ff03527f3b888e8c6626d086146bb961.zip +0 -0
  291. package/playwright-report/data/3e976a69f9bc188048c96969507a28fc5411da40.zip +0 -0
  292. package/playwright-report/data/420bd6c0ed97c53e6ee5108c11c337690ed9dd71.zip +0 -0
  293. package/playwright-report/data/424c925f1d020f7918c5b1d4e93a3aff4ffd0d35.zip +0 -0
  294. package/playwright-report/data/4459657c233583f0bb5f541ba2a56d14fc04324f.zip +0 -0
  295. package/playwright-report/data/45dbca16424f69b6af3f201fd918186e66e6a921.zip +0 -0
  296. package/playwright-report/data/4c7242437d15e34066b69d5f3a71e21f436d81bb.zip +0 -0
  297. package/playwright-report/data/56f84e2288e6485b68f0f78f79af97016d066eea.zip +0 -0
  298. package/playwright-report/data/679d4cfcb398dd2d19703be59bbf1de72f73fa3e.zip +0 -0
  299. package/playwright-report/data/686279f3ccdca1213fe91a9901f1ca469a41db4b.zip +0 -0
  300. package/playwright-report/data/69403980b98daeb052c732f3d984b7ccc51022aa.zip +0 -0
  301. package/playwright-report/data/6d91e10cd5dc95944881ea0f875bf0e531c63164.zip +0 -0
  302. package/playwright-report/data/6f362695f59905c3acdcafb6eeacfa4b068bc030.zip +0 -0
  303. package/playwright-report/data/71dd5897288168b0f7fb2e187f2b543e880733b1.zip +0 -0
  304. package/playwright-report/data/7540a41a9c123cffc1750447ccb69d9fb8cc8ba5.zip +0 -0
  305. package/playwright-report/data/78f8483a26c47ca761f43b1f142a9fb9d001b27e.zip +0 -0
  306. package/playwright-report/data/7e8bd5ba547094dcf303d450853b2f74f41749b2.zip +0 -0
  307. package/playwright-report/data/7fbec8e63ea2ee1702a94fe4d837067192e661f0.zip +0 -0
  308. package/playwright-report/data/87f2ea42a46cbd21813358d7d6e31d9999fca953.zip +0 -0
  309. package/playwright-report/data/8db527a1f9b753036cf63bb4afc96a765007fe82.zip +0 -0
  310. package/playwright-report/data/8e5ccd4bd56f3843f4e788c5e9842165221c2748.zip +0 -0
  311. package/playwright-report/data/8fc12e2795e02ee2ad773ec7be25f94b6ca697ed.zip +0 -0
  312. package/playwright-report/data/9d10ab1649ded4751d19014847e110b0b03ad126.zip +0 -0
  313. package/playwright-report/data/ab82c3994c6614fa6873fc92fd44ca78cb45f9d6.zip +0 -0
  314. package/playwright-report/data/ac554655d509fe64199a053e715def4ce4bbd618.zip +0 -0
  315. package/playwright-report/data/ad8e5a0cec5ec3369478099a58b7652c0dd636f1.zip +0 -0
  316. package/playwright-report/data/ae30baf5dea2dc0dd2ca87ffa08afb936b27fef1.zip +0 -0
  317. package/playwright-report/data/bc7631ffd4df693573a3233ec403a1f9cbcb00a9.zip +0 -0
  318. package/playwright-report/data/bcfe71e7532702969ecdde584a294907ed21525e.zip +0 -0
  319. package/playwright-report/data/bf020e09e20d0cd6e1b8aa82153e84f9d40c7f74.zip +0 -0
  320. package/playwright-report/data/c3452f499f82ef644c3d314626d3d9c762ff5c20.zip +0 -0
  321. package/playwright-report/data/c5dfbb00ea0965a4214f02cde22245958bb31c86.zip +0 -0
  322. package/playwright-report/data/c716ede7c5174d8a83653a6862605eca04783bad.zip +0 -0
  323. package/playwright-report/data/c95ca5869740edf6d1d627d120aa9ba26b1d3415.zip +0 -0
  324. package/playwright-report/data/cc17390169d327b4dfc2a9b3a8279e74ff975b1d.zip +0 -0
  325. package/playwright-report/data/d0ff6b9f342d792119f1513cc53c9f315a56251b.zip +0 -0
  326. package/playwright-report/data/d26377153bff611b5ba5a1148fc8858f7bb2cb7b.zip +0 -0
  327. package/playwright-report/data/dc0608de1b624a691f2f393bf450fc01591076ef.zip +0 -0
  328. package/playwright-report/data/dee4c585c248f4827601afbde02d3732761bdd8b.zip +0 -0
  329. package/playwright-report/data/e4cdfceef70735028de78f94f7e07a1e65fa317d.zip +0 -0
  330. package/playwright-report/data/e64d89424643af3f746a091f7567db49b0b45f3c.zip +0 -0
  331. package/playwright-report/data/e70483c7d13bb871f5c5b4aa54149172d58bf0c0.zip +0 -0
  332. package/playwright-report/data/e8333b653df262d800ee7b5329503b975d420e87.zip +0 -0
  333. package/playwright-report/data/ed1bd19a957a6165ba73a644af4959590b23eed9.zip +0 -0
  334. package/playwright-report/data/f35cf046cdf897abd96f318f79443407e58b8f0b.zip +0 -0
  335. package/playwright-report/data/f8793a7c69b939ac07422cf41aac45ebe4a86908.zip +0 -0
  336. package/playwright-report/data/fb2a383b96839380e90e0137363a574e665aed38.zip +0 -0
  337. package/playwright-report/data/fede8e774c66e329bdac055d6d67e73aa75b14fc.zip +0 -0
  338. package/playwright-report/index.html +0 -71
  339. package/playwright-report/trace/assets/codeMirrorModule-DpJ-EmBQ.js +0 -24
  340. package/playwright-report/trace/assets/defaultSettingsView-DTenqiGw.js +0 -259
  341. package/playwright-report/trace/codeMirrorModule.C3UTv-Ge.css +0 -1
  342. package/playwright-report/trace/codicon.DCmgc-ay.ttf +0 -0
  343. package/playwright-report/trace/defaultSettingsView.5fN5lw10.css +0 -1
  344. package/playwright-report/trace/index.CFOW-Ezb.css +0 -1
  345. package/playwright-report/trace/index.CUq7VgrV.js +0 -2
  346. package/playwright-report/trace/index.html +0 -43
  347. package/playwright-report/trace/playwright-logo.svg +0 -9
  348. package/playwright-report/trace/snapshot.html +0 -21
  349. package/playwright-report/trace/sw.bundle.js +0 -3
  350. package/playwright-report/trace/uiMode.BatfzHMG.css +0 -1
  351. package/playwright-report/trace/uiMode.CHJSAD7F.js +0 -5
  352. package/playwright-report/trace/uiMode.html +0 -17
  353. package/playwright-report/trace/xtermModule.Beg8tuEN.css +0 -32
  354. package/playwright.config.ts +0 -79
  355. package/screenshots/PlaywrightUI.png +0 -0
  356. package/src/Attribute.ts +0 -64
  357. package/src/AttributeDefinitions.ts +0 -144
  358. package/src/DockLocation.ts +0 -133
  359. package/src/DropInfo.ts +0 -20
  360. package/src/I18nLabel.ts +0 -12
  361. package/src/Orientation.ts +0 -28
  362. package/src/Rect.ts +0 -147
  363. package/src/Types.ts +0 -112
  364. package/src/index.ts +0 -23
  365. package/src/model/Action.ts +0 -9
  366. package/src/model/Actions.ts +0 -188
  367. package/src/model/BorderNode.ts +0 -458
  368. package/src/model/BorderSet.ts +0 -87
  369. package/src/model/ICloseType.ts +0 -5
  370. package/src/model/IDraggable.ts +0 -7
  371. package/src/model/IDropTarget.ts +0 -14
  372. package/src/model/IJsonModel.ts +0 -967
  373. package/src/model/LayoutWindow.ts +0 -119
  374. package/src/model/Model.ts +0 -704
  375. package/src/model/Node.ts +0 -280
  376. package/src/model/RowNode.ts +0 -559
  377. package/src/model/TabNode.ts +0 -424
  378. package/src/model/TabSetNode.ts +0 -592
  379. package/src/model/Utils.ts +0 -52
  380. package/src/view/BorderButton.tsx +0 -201
  381. package/src/view/BorderTab.tsx +0 -81
  382. package/src/view/BorderTabSet.tsx +0 -259
  383. package/src/view/DragContainer.tsx +0 -32
  384. package/src/view/ErrorBoundary.tsx +0 -42
  385. package/src/view/Icons.tsx +0 -57
  386. package/src/view/Layout.tsx +0 -1334
  387. package/src/view/Overlay.tsx +0 -21
  388. package/src/view/PopoutWindow.tsx +0 -152
  389. package/src/view/PopupMenu.tsx +0 -156
  390. package/src/view/Row.tsx +0 -68
  391. package/src/view/SizeTracker.tsx +0 -20
  392. package/src/view/Splitter.tsx +0 -262
  393. package/src/view/Tab.tsx +0 -128
  394. package/src/view/TabButton.tsx +0 -200
  395. package/src/view/TabButtonStamp.tsx +0 -42
  396. package/src/view/TabOverflowHook.tsx +0 -305
  397. package/src/view/TabSet.tsx +0 -475
  398. package/src/view/Utils.tsx +0 -135
  399. package/test-results/view-Add-methods-add-to-active-tabset-chromium/trace.zip +0 -0
  400. package/test-results/view-Add-methods-drag-to-border-chromium/trace.zip +0 -0
  401. package/test-results/view-Add-methods-drag-to-tabset-chromium/trace.zip +0 -0
  402. package/test-results/view-Delete-methods-delete-all-tabs-chromium/trace.zip +0 -0
  403. package/test-results/view-Delete-methods-delete-tab-chromium/trace.zip +0 -0
  404. package/test-results/view-Extended-App-onRenderTab-chromium/trace.zip +0 -0
  405. package/test-results/view-Extended-App-onRenderTab-in-border-chromium/trace.zip +0 -0
  406. package/test-results/view-Extended-App-onRenderTabSet-chromium/trace.zip +0 -0
  407. package/test-results/view-Extended-App-onRenderTabSet-for-border-chromium/trace.zip +0 -0
  408. package/test-results/view-Extended-App-onRenderTabSet-sticky-buttons-chromium/trace.zip +0 -0
  409. package/test-results/view-Extended-layout2-borders-autohide-left-chromium/trace.zip +0 -0
  410. package/test-results/view-Extended-layout2-borders-autohide-top-chromium/trace.zip +0 -0
  411. package/test-results/view-Extended-layout2-check-border-bottom-min-size-chromium/trace.zip +0 -0
  412. package/test-results/view-Extended-layout2-check-border-left-min-size-chromium/trace.zip +0 -0
  413. package/test-results/view-Extended-layout2-check-border-right-min-size-chromium/trace.zip +0 -0
  414. package/test-results/view-Extended-layout2-check-border-top-min-size-chromium/trace.zip +0 -0
  415. package/test-results/view-Extended-layout2-check-tabset-min-size-chromium/trace.zip +0 -0
  416. package/test-results/view-Extended-layout2-tabset-close-chromium/trace.zip +0 -0
  417. package/test-results/view-Maximize-methods-maximize-tabset-using-double-click-chromium/trace.zip +0 -0
  418. package/test-results/view-Maximize-methods-maximize-tabset-using-max-button-chromium/trace.zip +0 -0
  419. package/test-results/view-Others-click-on-tab-button-causes-tabset-activate-chromium/trace.zip +0 -0
  420. package/test-results/view-Others-click-on-tab-contents-causes-tabset-activate-chromium/trace.zip +0 -0
  421. package/test-results/view-Others-click-on-tabstrip-causes-tabset-activate-chromium/trace.zip +0 -0
  422. package/test-results/view-Others-rename-tab-cancelled-with-esc-chromium/trace.zip +0 -0
  423. package/test-results/view-Others-rename-tab-chromium/trace.zip +0 -0
  424. package/test-results/view-Overflow-menu-show-menu-chromium/trace.zip +0 -0
  425. package/test-results/view-Splitters-horizontal--5a358-ter-to-bottom-edge-and-back-chromium/trace.zip +0 -0
  426. package/test-results/view-Splitters-horizontal--f02d2-litter-to-top-edge-and-back-chromium/trace.zip +0 -0
  427. package/test-results/view-Splitters-horizontal-resizes-with-hsplitter-chromium/trace.zip +0 -0
  428. package/test-results/view-Splitters-vsplitter-chromium/trace.zip +0 -0
  429. package/test-results/view-Splitters-vsplitter-to-edge-chromium/trace.zip +0 -0
  430. package/test-results/view-Splitters-vsplitter-to-edge-left-chromium/trace.zip +0 -0
  431. package/test-results/view-borders-border-bottom-to-tab-chromium/trace.zip +0 -0
  432. package/test-results/view-borders-border-left-to-tab-chromium/trace.zip +0 -0
  433. package/test-results/view-borders-border-right-to-tab-chromium/trace.zip +0 -0
  434. package/test-results/view-borders-border-top-to-tab-chromium/trace.zip +0 -0
  435. package/test-results/view-borders-move-tab-in-border-bottom-chromium/trace.zip +0 -0
  436. package/test-results/view-borders-move-tab-in-border-left-chromium/trace.zip +0 -0
  437. package/test-results/view-borders-move-tab-in-border-right-chromium/trace.zip +0 -0
  438. package/test-results/view-borders-move-tab-in-border-top-chromium/trace.zip +0 -0
  439. package/test-results/view-borders-tab-to-border-bottom-chromium/trace.zip +0 -0
  440. package/test-results/view-borders-tab-to-border-left-chromium/trace.zip +0 -0
  441. package/test-results/view-borders-tab-to-border-right-chromium/trace.zip +0 -0
  442. package/test-results/view-borders-tab-to-border-top-chromium/trace.zip +0 -0
  443. package/test-results/view-borders-tab-to-open-border-bottom-center-chromium/trace.zip +0 -0
  444. package/test-results/view-borders-tab-to-open-border-bottom-chromium/trace.zip +0 -0
  445. package/test-results/view-borders-tab-to-open-border-left-center-chromium/trace.zip +0 -0
  446. package/test-results/view-borders-tab-to-open-border-left-chromium/trace.zip +0 -0
  447. package/test-results/view-borders-tab-to-open-border-right-center-chromium/trace.zip +0 -0
  448. package/test-results/view-borders-tab-to-open-border-right-chromium/trace.zip +0 -0
  449. package/test-results/view-borders-tab-to-open-border-top-center-chromium/trace.zip +0 -0
  450. package/test-results/view-borders-tab-to-open-border-top-chromium/trace.zip +0 -0
  451. package/test-results/view-drag-tests-two-tabs-tab-to-edge-chromium/trace.zip +0 -0
  452. package/test-results/view-drag-tests-two-tabs-tab-to-tab-bottom-chromium/trace.zip +0 -0
  453. package/test-results/view-drag-tests-two-tabs-tab-to-tab-center-chromium/trace.zip +0 -0
  454. package/test-results/view-drag-tests-two-tabs-tab-to-tab-left-chromium/trace.zip +0 -0
  455. package/test-results/view-drag-tests-two-tabs-tab-to-tab-right-chromium/trace.zip +0 -0
  456. package/test-results/view-drag-tests-two-tabs-tab-to-tab-top-chromium/trace.zip +0 -0
  457. package/test-results/view-tab-can-have-icon-chromium/trace.zip +0 -0
  458. package/test-results/view-three-tabs-move-tab-in-tabstrip-chromium/trace.zip +0 -0
  459. package/test-results/view-three-tabs-move-tabstrip-chromium/trace.zip +0 -0
  460. package/test-results/view-three-tabs-row-to-column-chromium/trace.zip +0 -0
  461. package/test-results/view-three-tabs-row-to-single-tabset-chromium/trace.zip +0 -0
  462. package/test-results/view-three-tabs-tab-to-edge-bottom-chromium/trace.zip +0 -0
  463. package/test-results/view-three-tabs-tab-to-edge-left-chromium/trace.zip +0 -0
  464. package/test-results/view-three-tabs-tab-to-edge-right-chromium/trace.zip +0 -0
  465. package/test-results/view-three-tabs-tab-to-edge-top-chromium/trace.zip +0 -0
  466. package/test-results/view-three-tabs-tab-to-tab-bottom-chromium/trace.zip +0 -0
  467. package/test-results/view-three-tabs-tab-to-tab-center-chromium/trace.zip +0 -0
  468. package/test-results/view-three-tabs-tab-to-tab-left-chromium/trace.zip +0 -0
  469. package/test-results/view-three-tabs-tab-to-tab-right-chromium/trace.zip +0 -0
  470. package/test-results/view-three-tabs-tab-to-tab-top-chromium/trace.zip +0 -0
  471. package/test-results/view-three-tabs-tab-to-tabset-chromium/trace.zip +0 -0
  472. package/tests-playwright/helpers.ts +0 -124
  473. package/tests-playwright/view.spec.ts +0 -911
package/package.json CHANGED
@@ -1,9 +1,25 @@
1
1
  {
2
2
  "name": "flexlayout-react",
3
- "version": "0.8.11",
3
+ "version": "0.8.13",
4
4
  "description": "A multi-tab docking layout manager",
5
- "main": "lib/index.js",
5
+ "author": "Caplin Systems Ltd",
6
+ "repository": "https://github.com/caplin/FlexLayout",
7
+ "license": "ISC",
8
+ "type":"module",
9
+ "main": "./lib/index.js",
10
+ "module": "./lib/index.js",
6
11
  "types": "./declarations/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./lib/index.js"
15
+ },
16
+ "./style/*": "./style/*"
17
+ },
18
+ "files": [
19
+ "declarations/",
20
+ "lib/",
21
+ "style/"
22
+ ],
7
23
  "keywords": [
8
24
  "react",
9
25
  "layout",
@@ -24,29 +40,26 @@
24
40
  "docking layout"
25
41
  ],
26
42
  "scripts": {
27
- "start": "webpack serve",
28
- "start:production": "webpack serve --mode=production",
29
- "build": "npm run css && npm run doc && npm run build:demo && npm run build:esm && npm run build:umd && npm run build:umd:min",
30
- "build:esm": "tsc -p tsconfig2.json",
31
- "build:umd": "webpack --mode=development --config webpack_build.config.js",
32
- "build:umd:min": "webpack --mode=production --config webpack_build_min.config.js",
33
- "build:demo": "webpack --mode=production",
43
+ "dev": "vite",
44
+ "preview": "vite preview",
45
+ "build": "npm run build:clean && npm run css && npm run doc && npm run build:demo && npm run build:types && npm run build:libs",
46
+ "build:clean": "rimraf lib/ declarations/ typedoc/",
47
+ "build:demo": "vite build",
48
+ "build:types": "tsc -p tsconfig-types.json",
49
+ "build:libs": "vite build --config vite.config.lib.ts",
34
50
  "test": "vitest",
35
51
  "playwright": "playwright test --ui",
36
52
  "lint": "eslint src/*",
37
- "doc": "typedoc --out typedoc --exclude \"**/examples/**/*.tsx\" --excludeInternal --disableSources --excludePrivate --excludeProtected --readme none ./src",
53
+ "doc": "typedoc --out typedoc --exclude \"**/demo/**/*.tsx\" --excludeInternal --disableSources --excludePrivate --excludeProtected --readme none ./src",
38
54
  "css": "sass style/rounded.scss style/rounded.css && sass style/underline.scss style/underline.css && sass style/gray.scss style/gray.css && sass style/light.scss style/light.css && sass style/dark.scss style/dark.css && sass style/combined.scss style/combined.css"
39
55
  },
40
- "author": "Caplin Systems Ltd",
41
- "repository": "https://github.com/caplin/FlexLayout",
42
- "license": "ISC",
56
+ "eslintConfig": {
57
+ "extends": "react-app"
58
+ },
43
59
  "peerDependencies": {
44
60
  "react": "^18.0.0 || ^19.0.0",
45
61
  "react-dom": "^18.0.0 || ^19.0.0"
46
62
  },
47
- "eslintConfig": {
48
- "extends": "react-app"
49
- },
50
63
  "devDependencies": {
51
64
  "@emotion/react": "^11.14.0",
52
65
  "@emotion/styled": "^11.14.0",
@@ -58,14 +71,13 @@
58
71
  "@types/prismjs": "^1.26.5",
59
72
  "@types/react": "^19.1.2",
60
73
  "@types/react-dom": "^19.1.2",
74
+ "@vitejs/plugin-react": "^4.4.0",
61
75
  "ag-grid-community": "^33.2.3",
62
76
  "ag-grid-react": "^33.2.3",
63
77
  "chart.js": "^4.4.9",
64
- "css-loader": "^7.1.2",
65
78
  "eslint": "^9.24.0",
66
79
  "eslint-plugin-react": "^7.37.5",
67
80
  "globals": "^16.0.0",
68
- "html-webpack-plugin": "^5.6.3",
69
81
  "ol": "^10.5.0",
70
82
  "prettier": "^3.5.3",
71
83
  "prismjs": "^1.30.0",
@@ -73,17 +85,13 @@
73
85
  "react-chartjs-2": "^5.3.0",
74
86
  "react-dom": "^19.1.0",
75
87
  "react-scripts": "5.0.1",
88
+ "rimraf": "^6.0.1",
76
89
  "sass": "^1.86.3",
77
- "source-map-loader": "^5.0.0",
78
- "style-loader": "^4.0.0",
79
90
  "styled-components": "^6.1.17",
80
- "ts-loader": "~9.5.2",
81
91
  "typedoc": "^0.28.2",
82
92
  "typescript": "^5.8.3",
83
93
  "typescript-eslint": "^8.30.1",
84
- "vitest": "^3.1.1",
85
- "webpack": "^5.99.5",
86
- "webpack-cli": "^6.0.1",
87
- "webpack-dev-server": "^5.2.1"
94
+ "vite": "^6.3.0",
95
+ "vitest": "^3.1.1"
88
96
  }
89
- }
97
+ }
package/ChangeLog.txt DELETED
@@ -1,370 +0,0 @@
1
- 0.8.11
2
- Updated dependencies
3
- Fix for initial tab flash
4
- Disabled popout of MUI tabs in demo (because Emotion generated styles (in production) cannot be copied to popout window)
5
- Converted Cypress tests to Playwright
6
- Updated demo app to use React hooks
7
-
8
- 0.8.10
9
- Fix for #481 Numpad Enter doesn't confirm rename
10
- Work around <StrictMode> issue in React 19 (https://github.com/facebook/react/issues/29585) causing
11
- tabs to re-mount when moved
12
-
13
- 0.8.9
14
- Fix for #480 Actions.selectTab is called when closing Tab
15
- Added isVisible() method to TabNode
16
-
17
- 0.8.8
18
- Enable esc to close overflow menu
19
- Prevent initial reposition flash when there are hidden tabs
20
- Removed Roboto font from demo
21
-
22
- 0.8.7
23
- Improved tab scrolling into visible area
24
- Added sections about tab and tabset customization to readme
25
-
26
- 0.8.6
27
- Restructured scss files to remove use of deprecated @import rule
28
- Added combined.css containing all themes.
29
- Updated demo to use combined.css for simple theme switching using class names
30
- Added option in demo to show the layout structure
31
-
32
- 0.8.5
33
- Changed the mini scrollbar to only show when tabs are hovered over
34
-
35
- 0.8.4
36
- Added attribute 'enableTabScrollbar' to TabSet and Border nodes
37
- Enabling this attribute will show a mini 'scrollbar' for the tabs to indicate the scroll position
38
- See the Demo apps default layout for an example.
39
-
40
- 0.8.3
41
- Prevent sticky buttons scrolling when there are no tabs
42
- Fix border 'show' attribute
43
- Removed code to adjust popout positions when loading
44
-
45
- 0.8.2
46
- Updated dependencies
47
- Enabled use with React 19
48
- Removed strict mode from demo due to bug in React 19 (https://github.com/facebook/react/issues/29585) causing
49
- tabs to re-mount when moved
50
- Used CodeSandbox in README.md since react 19 doesn't create UMD versions needed by JSFiddle.
51
-
52
- 0.8.1
53
- Fixed enableDrag on tab and tabset nodes.
54
- Fixed calc for min/max tabset height from min/max tab height.
55
- Modified style sheet code in demo to reduce flash.
56
-
57
- 0.8.0
58
- New:
59
- * Wrap tabs option
60
- * improved popouts, no longer keep placeholder tab
61
- * drag from overflow menu
62
- * improved splitter resizing
63
- * now uses html drag and drop to allow cross window dragging
64
- * rendering now uses flexbox rather than absolute positions, this should make
65
- styling easier
66
- * rounded theme
67
- * updated dependencies
68
-
69
- Breaking Changes:
70
- * addTabWithDragAndDrop signature has changed, must now be called from a drag start handler
71
- * moveTabWithDragAndDrop signature has changed, must now be called from a drag start handler
72
- * removed addTabWithDragAndDropIndirect
73
- * removed onTabDrag (custom internal drag)
74
- * removed font prop, use css variables --font-size and --font-family instead
75
- * removed titleFactory, iconFactory props, use onRenderTab instead
76
- * removed tabset header option
77
- * removed attributes: for insets, tabset header, row/tabset width and height, legacymenu, ...
78
- * several css changes ref use of flexbox
79
-
80
- 0.7.15
81
- Added arrow icon to edge indicators
82
-
83
- 0.7.14
84
- Added attribute tabsetClassName to tab nodes, this will add the classname to the parent
85
- tabset when there is a single stretched tab. Updated mosaic layout in demo to use this to color headers.
86
-
87
- 0.7.13
88
- New attribute on tabset: enableSingleTabStretch will stretch a single tab to take up
89
- all the remaining space and change the style to look like a header, combined with enableDrop
90
- this can be used to create a Mosaic style layout (headed panels without tabs), see the new
91
- Mosaic Style layout in the Demo.
92
- The layout methods addTabToTabSet and addTabToActiveTabSet now return the added TabNode.
93
- Fixed #352 - Layout.getDomRect returning null.
94
-
95
- 0.7.12
96
- Action.setActiveTabset can now take undefined to unset the active tabset.
97
- Added Tab attribute contentClassName to add a class to the tab content.
98
-
99
- 0.7.11
100
- Added ITabSetRenderValues.overflowPosition to allow overflow button position to be
101
- specified, if left undefined, position will be after sticky buttons as before.
102
- New model attribute enableRotateBorderIcons, this allows the tab icons in the left and
103
- right borders to rotate with the text or not, default is true.
104
- Added additional class names to edge indicators
105
-
106
- 0.7.10
107
- Fix for #399 - the overflow button in a tabset is now placed after
108
- any sticky buttons (additional buttons that stick to the last tab of a tabset)
109
- but before any other buttons.
110
- Enabled sticky buttons in border tabsets
111
-
112
- 0.7.9
113
- Fix drag issue found when used in devtool extension
114
- Fix double render in popout when in strict mode
115
-
116
- 0.7.8
117
- Fix popout size of tab with individual border size
118
- Hide edge handles when disabled
119
- Update version of Cypress
120
-
121
- 0.7.7
122
- Fix for #379 - uuid could only be generated in secure contexts
123
-
124
- 0.7.6
125
- Remove dependency on uuid package
126
- Add action arg to onModelChange callback
127
-
128
- 0.7.5
129
- Fix for #340 - error dragging a tabset into an empty tabset
130
-
131
- 0.7.4
132
- Fixed popout windows when using </React.StrictMode>
133
- Output now targets ES6
134
-
135
- 0.7.3
136
- Fixed right edge marker location when border enableAutoHide
137
- Dragging out a selected border tab will now leave the border unselected
138
-
139
- 0.7.2
140
- New Layout JSON tabs to demo
141
- Added --color-icon css rootOrientationVertical
142
-
143
- 0.7.1
144
- Fix for #310 - Added new layout method: moveTabWithDragAndDrop(node) to allow tab dragging to be
145
- started from custom code.
146
-
147
- 0.7.0
148
- Updated dependencies, in particular changed React peer dependency to React 18
149
- Made changes for React 18
150
-
151
- 0.6.10
152
- fix for #312, chrome warning for wheel event listener
153
-
154
- 0.6.9
155
- fix for #308, Allow dragging within a maximized tabset
156
-
157
- 0.6.8
158
- Added onTabSetPlaceHolder prop to render the tabset area when there are no tabs.
159
-
160
- 0.6.7
161
- More css variables, added Underline theme, updated dependencies
162
-
163
- 0.6.6
164
- fix for #296
165
-
166
- 0.6.5
167
- fix for #289, allow setting attributes to undefined value
168
-
169
- 0.6.4
170
- Code tidy
171
- Updated dependencies
172
-
173
- 0.6.3
174
- Changed to using named rather than default import/exports,
175
- this will require changing top level imports
176
- from:
177
- import FlexLayout from 'flexlayout-react';
178
- to
179
- import * as FlexLayout from 'flexlayout-react';
180
-
181
- Added typedoc link to readme
182
-
183
- 0.6.2
184
- Extended icons prop to allow use of functions to set icons.
185
- Added onShowOverflowMenu callback for handling the display of the tab overflow menu.
186
-
187
- 0.6.1
188
- Use portal for drag rectangle to preserve React context in onRenderTab.
189
-
190
- 0.6.0
191
- Changed icons to use svg images, these will now scale with the font size.
192
- Improved element spacing, removed most margin/padding spacers.
193
- The overflow menu and drag rectangle will now show the tab icon and content as rendered in the tab.
194
- Added altName attribute to TabNode, this will be used as the name in the overflow menu if there is no
195
- name attribute (e.g the tab has just an icon).
196
- Changed the drag outline colors from red/green to light blue/green.
197
- Removed closeIcon prop from Layout, use the icons property instead.
198
- Changed onRenderDragRect callback to take a ReactElement rather than a string, the content now
199
- contains the tabbutton as rendered.
200
-
201
- 0.5.21
202
- Fixed copying stylesheet links for popout windows when cssRules throw exception.
203
- Added option, enableUseVisibility, to allow use of visibility: hidden rather than display:none for hiding elements.
204
-
205
- 0.5.20
206
- Added Cypress Tests
207
- Fixed bug with tab icon not showing
208
-
209
- 0.5.19
210
- Added onRenderFloatingTabPlaceholder callback prop for rendering the floating tab placeholder.
211
- Changed style sheets to use CSS custom properties (variables) for several values.
212
- Fix selected index in single empty tabset.
213
- Added onContextMenu callback prop for handling context menus on tabs and tabsets.
214
- Added onAuxMouseClick callback prop for handling mouse clicks on tabs and tabsets
215
- with alt, meta, shift keys, also handles center mouse clicks
216
-
217
- 0.5.18
218
- Added onRenderDragRect callback prop for rendering the drag rectangles
219
- New border attribute: enableAutoHide, to hide border if it has zero tabs
220
-
221
- 0.5.17
222
- New global option, splitterExtra, to allow splitters to have an extended hit test areas.
223
- This makes it easier to use narrow splitters.
224
- Added new TabNode attributes: borderWidth and borderHeight, these allow for individual border sizes for certain tabs.
225
- Fix for #263 - borders splitters not taking minimum size of center into account
226
- Improved algorithm for finding drop location
227
- Additional parameter: cursor, for onTabDrag
228
-
229
- 0.5.16
230
- Added 'New Features' layout to demo.
231
- New tab attribute, helpText, to show tooltip over tabs.
232
- New model action, deleteTabset, to delete a tabset and all it's child tabs.
233
- New tabset attribute, enableClose, to close the tabset
234
-
235
- 0.5.15
236
- Added new Layout prop: onTabDrag that allows tab dragging to be intercepted.
237
- Added example of onTabDrag in demo app, example shows a list where tabs can be dragged into,
238
- moved in the list and dragged back out into the layout.
239
- Node id's that are not assigned a value are now auto-generated using a uuid rather than a rolling number
240
- (for example: previous id: #3, new id: #0c459064-8dee-444e-8636-eb9ab910fb27).
241
- Made toJson method of node public.
242
-
243
- 0.5.14
244
- Fix an issue with copying styles for a floating window when using a CSS-in-JS solution
245
- Fix for #227 - edge rects are not moved if window is resized while dragging
246
-
247
- 0.5.13
248
- Added prop (realtimeResize) to make tabs resize as their splitters are dragged.
249
- Warning: this can cause resizing to become choppy when tabs are slow to draw.
250
-
251
- 0.5.12
252
- New callback on Model to allow TabSet attributes to be set when a tab is moved in such a way
253
- that it creates a new TabSet.
254
- Added config attributes to TabSet and Border
255
- Added headerButtons to ITabSetRenderValues, to allow different set of buttons to be applied to headed
256
- TabSets.
257
-
258
- 0.5.11
259
- Added StickyButtons to onRenderTabSet render values to allow for implementation of Chrome style + button
260
- Added example of + button to default layout in demo app
261
-
262
- 0.5.10
263
- Adjust selected tab when tabs popped out to an external window
264
-
265
- 0.5.9
266
- TitleFactory can now return object with titleContent and name (name is used for tab overflow menu).
267
- Corrected position of rootOrientationVertical in typescript json model
268
-
269
- 0.5.8
270
- Fix for #172 - Added global rootOrientationVertical attribute to allow vertical layout for root 'row'
271
- Added missing exports for typescript json model
272
- Moved CRA example to separate repo
273
-
274
- 0.5.7
275
- Added typescript typings for the model json
276
- Fixed drag rectangle showing as dot before first position found (when dragging into the layout)
277
- Fix for #191 - Global Attributes for classNames not working
278
- Fix for #212 - TypeScript issue with ILayoutState
279
-
280
- 0.5.6
281
- Added external drag drop into layout, see new onExternalDrag prop
282
- Updated demo to accept dragged links, html and text.
283
- Tab scrolling direction changed to match VSCode
284
- Improved positioning of single tab when overflow menu shown
285
- Some small changes to theme colors
286
-
287
- 0.5.5
288
- Fix for #170 - Closing the last tab of a maximized tabset crashes the layout
289
-
290
- 0.5.4
291
- Fix issue running with React 17.0.1
292
- Window title now updates when tab renamed
293
-
294
- 0.5.3
295
- Change classname strings to enum values
296
- TSLint replaced with ESLint
297
- Added Create-React-App (CRA) example
298
- New 'light' theme (lighter and without box shadows, gradients),
299
- existing light theme renamed to 'gray'
300
-
301
- 0.5.2
302
- Fixed issues caused by double touch/mouse events in IOS
303
- Prevented IOS scroll during drag in demo app.
304
- Added extra option to onRenderTab to allow name of item in overflow menu to be set.
305
- New closeType option for tabs
306
- The maximized tabset now sets others to display:none rather than use z-index
307
- Disable maximize if only one tabset
308
- Splitters will now default to 8 on desktop and 12 on mobile (so they can be tapped more easily)
309
- Close element is enlarged on mobile
310
-
311
- 0.5.1
312
- Various small fixes
313
-
314
- 0.5.0
315
- Overflowing tabs now scroll to keep the selected tab in view,
316
- they can also be manually scrolled using the mouse wheel.
317
- Now works on scrolling page.
318
- NOTE: several css classes with names starting with flexlayout__tabset_header... have
319
- been renamed to flexlayout__tabset_tabbar...
320
-
321
- 0.4.9
322
- Keep selected tab in tabset/border when another tab is moved out.
323
-
324
- 0.4.8
325
- Minimum size attributes on tabset and border.
326
- Extra css classes on elements for border and splitter styling.
327
-
328
- 0.4.7
329
- Added font property.
330
- Font now defaults to medium.
331
- Tabs now auto adjust to the current font.
332
- Added fontSize dropdown to demo.
333
- Modified css for above fontSize changes and to remove some fixed sizes.
334
- New attributes to control auto selection of tabs.
335
-
336
- 0.4.6
337
- Added icons prop to allow default icons to be replaced.
338
- Added tabLocation attribute to tabsets to allow top and bottom tab placement.
339
- Modified css, default font is now 14px.
340
-
341
- 0.4.5
342
- Fixed use of global objects for use when serverside rendering
343
- Added error boundary around tab contents to prevent tab rendering exception crashing the app
344
-
345
- 0.4.4
346
- Changed all components except Layout to use React Hooks.
347
- Popouts now wait for style sheets to load.
348
- Fixed problem rendering popouts in Safari.
349
-
350
- 0.4.3
351
- Fix addTabWithDragAndDrop not working since 0.4.0
352
-
353
- 0.4.2
354
- Use Sass to generate light and dark themes
355
-
356
- 0.4.1
357
- Copy styles into popout tabs
358
-
359
- 0.4.0
360
- Added ability to popout tabs into new browser windows.
361
- Press the 'reload from file' button in the demo app to load new layouts with the popout attribute.
362
-
363
- 0.3.11
364
- Added overflow menu to border tabs
365
- Fixed issues running on IE11
366
-
367
- 0.3.10
368
- Removed deprecated React lifecycle methods, will now work
369
- in React strict mode without warnings (for example, in apps
370
- created with Create React App).
@@ -1,15 +0,0 @@
1
- import * as React from "react";
2
- export declare class DragDrop {
3
- static instance: DragDrop;
4
- addGlass(fCancel: ((wasDragging: boolean) => void) | undefined): void;
5
- resizeGlass(): void;
6
- hideGlass(): void;
7
- setGlassCursorOverride(cursor: string | undefined): void;
8
- startDrag(event: Event | React.MouseEvent<HTMLDivElement, MouseEvent> | React.TouchEvent<HTMLDivElement> | React.DragEvent<Element> | undefined, fDragStart: ((pos: {
9
- clientX: number;
10
- clientY: number;
11
- }) => boolean) | undefined, fDragMove: ((event: React.MouseEvent<Element>) => void) | undefined, fDragEnd: ((event: Event) => void) | undefined, fDragCancel?: ((wasDragging: boolean) => void) | undefined, fClick?: ((event: Event) => void) | undefined, fDblClick?: ((event: Event) => void) | undefined, currentDocument?: Document, rootElement?: HTMLDivElement): void;
12
- isDragging(): boolean;
13
- isActive(): boolean;
14
- toString(): string;
15
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { Node } from "./Node";
2
- export declare class SplitterNode extends Node {
3
- static readonly TYPE: string;
4
- toJson(): undefined;
5
- }
@@ -1,24 +0,0 @@
1
- import { Rect } from "../Rect";
2
- import { IJsonPopout } from "./IJsonModel";
3
- import { Model } from "./Model";
4
- import { RowNode } from "./RowNode";
5
- import { Node } from "./Node";
6
- import { TabSetNode } from "./TabSetNode";
7
- export declare class WindowLayout {
8
- private _windowId;
9
- private _rect;
10
- private _window?;
11
- private _root?;
12
- private _maximizedTabSet?;
13
- private _activeTabSet?;
14
- constructor(windowId: string, rect: Rect);
15
- visitNodes(fn: (node: Node, level: number) => void): void;
16
- get windowId(): string;
17
- get rect(): Rect;
18
- get window(): Window | undefined;
19
- get root(): RowNode | undefined;
20
- get maximizedTabSet(): TabSetNode | undefined;
21
- get activeTabSet(): TabSetNode | undefined;
22
- toJson(): IJsonPopout;
23
- static fromJson(windowJson: IJsonPopout, model: Model, windowId: string): WindowLayout;
24
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,12 +0,0 @@
1
- import { Orientation } from "./Orientation";
2
- export declare class DockLocation {
3
- static values: Map<string, DockLocation>;
4
- static TOP: DockLocation;
5
- static BOTTOM: DockLocation;
6
- static LEFT: DockLocation;
7
- static RIGHT: DockLocation;
8
- static CENTER: DockLocation;
9
- getName(): string;
10
- getOrientation(): Orientation;
11
- toString(): string;
12
- }
@@ -1,12 +0,0 @@
1
- import { DockLocation } from "./DockLocation";
2
- import { IDropTarget } from "./model/IDropTarget";
3
- import { Node } from "./model/Node";
4
- import { Rect } from "./Rect";
5
- export declare class DropInfo {
6
- node: Node & IDropTarget;
7
- rect: Rect;
8
- location: DockLocation;
9
- index: number;
10
- className: string;
11
- constructor(node: Node & IDropTarget, rect: Rect, location: DockLocation, index: number, className: string);
12
- }
@@ -1,10 +0,0 @@
1
- export declare enum I18nLabel {
2
- Close_Tab = "Close",
3
- Close_Tabset = "Close tabset",
4
- Move_Tabset = "Move tabset",
5
- Maximize = "Maximize tabset",
6
- Restore = "Restore tabset",
7
- Popout_Tab = "Show selected tab in a floating window",
8
- Overflow_Menu_Tooltip = "Hidden tabs",
9
- Error_rendering_component = "Error rendering component"
10
- }
@@ -1,7 +0,0 @@
1
- export declare class Orientation {
2
- static HORZ: Orientation;
3
- static VERT: Orientation;
4
- static flip(from: Orientation): Orientation;
5
- getName(): string;
6
- toString(): string;
7
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,31 +0,0 @@
1
- export declare class Rect {
2
- static empty(): Rect;
3
- x: number;
4
- y: number;
5
- width: number;
6
- height: number;
7
- constructor(x: number, y: number, width: number, height: number);
8
- static getBoundingClientRect(element: Element): Rect;
9
- static getContentRect(element: HTMLDivElement): Rect;
10
- static fromDomRect(domRect: DOMRect): Rect;
11
- relativeTo(r: Rect | DOMRect): Rect;
12
- clone(): Rect;
13
- equals(rect: Rect | null | undefined): boolean;
14
- getBottom(): number;
15
- getRight(): number;
16
- getCenter(): {
17
- x: number;
18
- y: number;
19
- };
20
- positionElement(element: HTMLElement, position?: string): void;
21
- styleWithPosition(style: Record<string, any>, position?: string): Record<string, any>;
22
- contains(x: number, y: number): boolean;
23
- removeInsets(insets: {
24
- top: number;
25
- left: number;
26
- bottom: number;
27
- right: number;
28
- }): Rect;
29
- centerInRect(outerRect: Rect): void;
30
- toString(): string;
31
- }