@vuu-ui/vuu-shell 0.8.74 → 0.8.76

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 (229) hide show
  1. package/cjs/app-header/AppHeader.js +2 -1
  2. package/cjs/app-header/AppHeader.js.map +1 -1
  3. package/cjs/application-provider/ApplicationProvider.js +5 -1
  4. package/cjs/application-provider/ApplicationProvider.js.map +1 -1
  5. package/cjs/index.js +13 -12
  6. package/cjs/index.js.map +1 -1
  7. package/cjs/layout-management/LayoutList.js +2 -2
  8. package/cjs/layout-management/LayoutList.js.map +1 -1
  9. package/cjs/layout-management/{useLayoutManager.js → LayoutManagementProvider.js} +46 -19
  10. package/cjs/layout-management/LayoutManagementProvider.js.map +1 -0
  11. package/cjs/layout-management/defaultWorkspaceJSON.js +75 -0
  12. package/cjs/layout-management/defaultWorkspaceJSON.js.map +1 -0
  13. package/cjs/layout-management/useLayoutContextMenuItems.js +3 -3
  14. package/cjs/layout-management/useLayoutContextMenuItems.js.map +1 -1
  15. package/cjs/left-nav/LeftNav.js +2 -1
  16. package/cjs/left-nav/LeftNav.js.map +1 -1
  17. package/cjs/persistence-manager/RemotePersistenceManager.js +1 -1
  18. package/cjs/persistence-manager/RemotePersistenceManager.js.map +1 -1
  19. package/cjs/{shell-layouts → shell-layout-templates}/context-panel/ContextPanel.js +4 -2
  20. package/cjs/shell-layout-templates/context-panel/ContextPanel.js.map +1 -0
  21. package/cjs/{shell-layouts → shell-layout-templates/full-height-left-panel}/useFullHeightLeftPanel.js +12 -12
  22. package/cjs/shell-layout-templates/full-height-left-panel/useFullHeightLeftPanel.js.map +1 -0
  23. package/cjs/{shell-layouts → shell-layout-templates/inlay-left-panel}/useInlayLeftPanel.js +10 -4
  24. package/cjs/shell-layout-templates/inlay-left-panel/useInlayLeftPanel.js.map +1 -0
  25. package/cjs/shell-layout-templates/side-panel/SidePanel.js.map +1 -0
  26. package/cjs/shell-layout-templates/simple-content-pane/useSimpleContentPane.js +46 -0
  27. package/cjs/shell-layout-templates/simple-content-pane/useSimpleContentPane.js.map +1 -0
  28. package/cjs/shell-layout-templates/useShellLayout.js +21 -0
  29. package/cjs/shell-layout-templates/useShellLayout.js.map +1 -0
  30. package/cjs/shell.css.js +1 -1
  31. package/cjs/shell.js +46 -37
  32. package/cjs/shell.js.map +1 -1
  33. package/esm/app-header/AppHeader.js +2 -1
  34. package/esm/app-header/AppHeader.js.map +1 -1
  35. package/esm/application-provider/ApplicationProvider.js +5 -1
  36. package/esm/application-provider/ApplicationProvider.js.map +1 -1
  37. package/esm/index.js +5 -4
  38. package/esm/index.js.map +1 -1
  39. package/esm/layout-management/LayoutList.js +1 -1
  40. package/esm/layout-management/LayoutList.js.map +1 -1
  41. package/esm/layout-management/{useLayoutManager.js → LayoutManagementProvider.js} +46 -19
  42. package/esm/layout-management/LayoutManagementProvider.js.map +1 -0
  43. package/esm/layout-management/defaultWorkspaceJSON.js +70 -0
  44. package/esm/layout-management/defaultWorkspaceJSON.js.map +1 -0
  45. package/esm/layout-management/useLayoutContextMenuItems.js +2 -2
  46. package/esm/layout-management/useLayoutContextMenuItems.js.map +1 -1
  47. package/esm/left-nav/LeftNav.js +2 -1
  48. package/esm/left-nav/LeftNav.js.map +1 -1
  49. package/esm/persistence-manager/RemotePersistenceManager.js +1 -1
  50. package/esm/persistence-manager/RemotePersistenceManager.js.map +1 -1
  51. package/esm/{shell-layouts → shell-layout-templates}/context-panel/ContextPanel.js +4 -2
  52. package/esm/shell-layout-templates/context-panel/ContextPanel.js.map +1 -0
  53. package/esm/{shell-layouts → shell-layout-templates/full-height-left-panel}/useFullHeightLeftPanel.js +13 -13
  54. package/esm/shell-layout-templates/full-height-left-panel/useFullHeightLeftPanel.js.map +1 -0
  55. package/esm/{shell-layouts → shell-layout-templates/inlay-left-panel}/useInlayLeftPanel.js +11 -5
  56. package/esm/shell-layout-templates/inlay-left-panel/useInlayLeftPanel.js.map +1 -0
  57. package/esm/shell-layout-templates/side-panel/SidePanel.js.map +1 -0
  58. package/esm/shell-layout-templates/simple-content-pane/useSimpleContentPane.js +44 -0
  59. package/esm/shell-layout-templates/simple-content-pane/useSimpleContentPane.js.map +1 -0
  60. package/esm/shell-layout-templates/useShellLayout.js +19 -0
  61. package/esm/shell-layout-templates/useShellLayout.js.map +1 -0
  62. package/esm/shell.css.js +1 -1
  63. package/esm/shell.js +48 -39
  64. package/esm/shell.js.map +1 -1
  65. package/package.json +11 -11
  66. package/types/vuu-layout/src/Component.d.ts +6 -0
  67. package/types/vuu-layout/src/LayoutContainer.d.ts +6 -0
  68. package/types/vuu-layout/src/dock-layout/DockLayout.d.ts +7 -0
  69. package/types/vuu-layout/src/dock-layout/Drawer.d.ts +17 -0
  70. package/types/vuu-layout/src/dock-layout/index.d.ts +2 -0
  71. package/types/vuu-layout/src/drag-drop/BoxModel.d.ts +143 -0
  72. package/types/vuu-layout/src/drag-drop/DragState.d.ts +46 -0
  73. package/types/vuu-layout/src/drag-drop/Draggable.d.ts +24 -0
  74. package/types/vuu-layout/src/drag-drop/DropMenu.d.ts +9 -0
  75. package/types/vuu-layout/src/drag-drop/DropTarget.d.ts +60 -0
  76. package/types/vuu-layout/src/drag-drop/DropTargetRenderer.d.ts +17 -0
  77. package/types/vuu-layout/src/drag-drop/dragDropTypes.d.ts +51 -0
  78. package/types/vuu-layout/src/drag-drop/index.d.ts +4 -0
  79. package/types/vuu-layout/src/flexbox/Flexbox.d.ts +4 -0
  80. package/types/vuu-layout/src/flexbox/FlexboxLayout.d.ts +6 -0
  81. package/types/vuu-layout/src/flexbox/FluidGrid.d.ts +6 -0
  82. package/types/vuu-layout/src/flexbox/FluidGridLayout.d.ts +6 -0
  83. package/types/vuu-layout/src/flexbox/Splitter.d.ts +12 -0
  84. package/types/vuu-layout/src/flexbox/flexbox-utils.d.ts +12 -0
  85. package/types/vuu-layout/src/flexbox/flexboxTypes.d.ts +51 -0
  86. package/types/vuu-layout/src/flexbox/index.d.ts +4 -0
  87. package/types/vuu-layout/src/flexbox/useResponsiveSizing.d.ts +10 -0
  88. package/types/vuu-layout/src/flexbox/useSplitterResizing.d.ts +2 -0
  89. package/types/vuu-layout/src/index.d.ts +17 -0
  90. package/types/vuu-layout/src/layout-action.d.ts +19 -0
  91. package/types/vuu-layout/src/layout-header/Header.d.ts +13 -0
  92. package/types/vuu-layout/src/layout-header/index.d.ts +1 -0
  93. package/types/vuu-layout/src/layout-provider/LayoutProvider.d.ts +15 -0
  94. package/types/vuu-layout/src/layout-provider/LayoutProviderContext.d.ts +10 -0
  95. package/types/vuu-layout/src/layout-provider/index.d.ts +2 -0
  96. package/types/vuu-layout/src/layout-provider/useLayoutDragDrop.d.ts +4 -0
  97. package/types/vuu-layout/src/layout-reducer/flexUtils.d.ts +22 -0
  98. package/types/vuu-layout/src/layout-reducer/index.d.ts +4 -0
  99. package/types/vuu-layout/src/layout-reducer/insert-layout-element.d.ts +8 -0
  100. package/types/vuu-layout/src/layout-reducer/layout-reducer.d.ts +3 -0
  101. package/types/vuu-layout/src/layout-reducer/layoutTypes.d.ts +131 -0
  102. package/types/vuu-layout/src/layout-reducer/layoutUtils.d.ts +44 -0
  103. package/types/vuu-layout/src/layout-reducer/move-layout-element.d.ts +3 -0
  104. package/types/vuu-layout/src/layout-reducer/remove-layout-element.d.ts +3 -0
  105. package/types/vuu-layout/src/layout-reducer/replace-layout-element.d.ts +6 -0
  106. package/types/vuu-layout/src/layout-reducer/resize-flex-children.d.ts +4 -0
  107. package/types/vuu-layout/src/layout-reducer/wrap-layout-element.d.ts +9 -0
  108. package/types/vuu-layout/src/layout-view/View.d.ts +10 -0
  109. package/types/vuu-layout/src/layout-view/index.d.ts +3 -0
  110. package/types/vuu-layout/src/layout-view/useView.d.ts +21 -0
  111. package/types/vuu-layout/src/layout-view/useViewBroadcastChannel.d.ts +7 -0
  112. package/types/vuu-layout/src/layout-view/useViewResize.d.ts +7 -0
  113. package/types/vuu-layout/src/layout-view/viewTypes.d.ts +45 -0
  114. package/types/vuu-layout/src/layout-view-actions/ViewContext.d.ts +33 -0
  115. package/types/vuu-layout/src/layout-view-actions/index.d.ts +2 -0
  116. package/types/vuu-layout/src/layout-view-actions/useViewActionDispatcher.d.ts +4 -0
  117. package/types/vuu-layout/src/palette/Palette.d.ts +25 -0
  118. package/types/vuu-layout/src/palette/index.d.ts +1 -0
  119. package/types/vuu-layout/src/placeholder/LayoutStartPanel.d.ts +5 -0
  120. package/types/vuu-layout/src/placeholder/Placeholder.d.ts +17 -0
  121. package/types/vuu-layout/src/placeholder/index.d.ts +1 -0
  122. package/types/vuu-layout/src/responsive/breakpoints.d.ts +4 -0
  123. package/types/vuu-layout/src/responsive/index.d.ts +3 -0
  124. package/types/vuu-layout/src/responsive/use-breakpoints.d.ts +7 -0
  125. package/types/vuu-layout/src/responsive/useResizeObserver.d.ts +13 -0
  126. package/types/vuu-layout/src/responsive/utils.d.ts +6 -0
  127. package/types/vuu-layout/src/stack/Stack.d.ts +3 -0
  128. package/types/vuu-layout/src/stack/StackLayout.d.ts +6 -0
  129. package/types/vuu-layout/src/stack/index.d.ts +3 -0
  130. package/types/vuu-layout/src/stack/stackTypes.d.ts +24 -0
  131. package/types/vuu-layout/src/use-persistent-state.d.ts +11 -0
  132. package/types/vuu-layout/src/utils/index.d.ts +5 -0
  133. package/types/vuu-layout/src/utils/pathUtils.d.ts +31 -0
  134. package/types/vuu-layout/src/utils/propUtils.d.ts +5 -0
  135. package/types/vuu-layout/src/utils/refUtils.d.ts +2 -0
  136. package/types/vuu-layout/src/utils/styleUtils.d.ts +3 -0
  137. package/types/vuu-layout/src/utils/typeOf.d.ts +7 -0
  138. package/types/{index.d.ts → vuu-shell/src/index.d.ts} +1 -2
  139. package/types/{layout-management/useLayoutManager.d.ts → vuu-shell/src/layout-management/LayoutManagementProvider.d.ts} +22 -7
  140. package/types/vuu-shell/src/layout-management/defaultWorkspaceJSON.d.ts +9 -0
  141. package/types/{layout-management → vuu-shell/src/layout-management}/index.d.ts +2 -2
  142. package/types/{persistence-manager → vuu-shell/src/persistence-manager}/StaticPersistenceManager.d.ts +3 -1
  143. package/types/{shell-layouts → vuu-shell/src/shell-layout-templates}/context-panel/ContextPanel.d.ts +2 -1
  144. package/types/vuu-shell/src/shell-layout-templates/full-height-left-panel/useFullHeightLeftPanel.d.ts +2 -0
  145. package/types/vuu-shell/src/shell-layout-templates/inlay-left-panel/useInlayLeftPanel.d.ts +2 -0
  146. package/types/vuu-shell/src/shell-layout-templates/simple-content-pane/useSimpleContentPane.d.ts +2 -0
  147. package/types/vuu-shell/src/shell-layout-templates/useShellLayout.d.ts +45 -0
  148. package/types/vuu-shell/src/shell.d.ts +16 -0
  149. package/cjs/layout-management/defaultApplicationJson.js +0 -97
  150. package/cjs/layout-management/defaultApplicationJson.js.map +0 -1
  151. package/cjs/layout-management/useLayoutManager.js.map +0 -1
  152. package/cjs/shell-layouts/context-panel/ContextPanel.js.map +0 -1
  153. package/cjs/shell-layouts/side-panel/SidePanel.js.map +0 -1
  154. package/cjs/shell-layouts/useFullHeightLeftPanel.js.map +0 -1
  155. package/cjs/shell-layouts/useInlayLeftPanel.js.map +0 -1
  156. package/cjs/shell-layouts/useShellLayout.js +0 -15
  157. package/cjs/shell-layouts/useShellLayout.js.map +0 -1
  158. package/esm/layout-management/defaultApplicationJson.js +0 -91
  159. package/esm/layout-management/defaultApplicationJson.js.map +0 -1
  160. package/esm/layout-management/useLayoutManager.js.map +0 -1
  161. package/esm/shell-layouts/context-panel/ContextPanel.js.map +0 -1
  162. package/esm/shell-layouts/side-panel/SidePanel.js.map +0 -1
  163. package/esm/shell-layouts/useFullHeightLeftPanel.js.map +0 -1
  164. package/esm/shell-layouts/useInlayLeftPanel.js.map +0 -1
  165. package/esm/shell-layouts/useShellLayout.js +0 -13
  166. package/esm/shell-layouts/useShellLayout.js.map +0 -1
  167. package/types/layout-management/defaultApplicationJson.d.ts +0 -6
  168. package/types/shell-layouts/useFullHeightLeftPanel.d.ts +0 -3
  169. package/types/shell-layouts/useInlayLeftPanel.d.ts +0 -3
  170. package/types/shell-layouts/useShellLayout.d.ts +0 -10
  171. package/types/shell.d.ts +0 -17
  172. /package/cjs/{shell-layouts → shell-layout-templates}/context-panel/ContextPanel.css.js +0 -0
  173. /package/cjs/{shell-layouts → shell-layout-templates}/context-panel/ContextPanel.css.js.map +0 -0
  174. /package/cjs/{shell-layouts → shell-layout-templates}/side-panel/SidePanel.css.js +0 -0
  175. /package/cjs/{shell-layouts → shell-layout-templates}/side-panel/SidePanel.css.js.map +0 -0
  176. /package/cjs/{shell-layouts → shell-layout-templates}/side-panel/SidePanel.js +0 -0
  177. /package/esm/{shell-layouts → shell-layout-templates}/context-panel/ContextPanel.css.js +0 -0
  178. /package/esm/{shell-layouts → shell-layout-templates}/context-panel/ContextPanel.css.js.map +0 -0
  179. /package/esm/{shell-layouts → shell-layout-templates}/side-panel/SidePanel.css.js +0 -0
  180. /package/esm/{shell-layouts → shell-layout-templates}/side-panel/SidePanel.css.js.map +0 -0
  181. /package/esm/{shell-layouts → shell-layout-templates}/side-panel/SidePanel.js +0 -0
  182. /package/types/{ShellContextProvider.d.ts → vuu-shell/src/ShellContextProvider.d.ts} +0 -0
  183. /package/types/{app-header → vuu-shell/src/app-header}/AppHeader.d.ts +0 -0
  184. /package/types/{app-header → vuu-shell/src/app-header}/index.d.ts +0 -0
  185. /package/types/{application-provider → vuu-shell/src/application-provider}/ApplicationContext.d.ts +0 -0
  186. /package/types/{application-provider → vuu-shell/src/application-provider}/ApplicationProvider.d.ts +0 -0
  187. /package/types/{application-provider → vuu-shell/src/application-provider}/index.d.ts +0 -0
  188. /package/types/{connection-status → vuu-shell/src/connection-status}/ConnectionStatusIndicator.d.ts +0 -0
  189. /package/types/{connection-status → vuu-shell/src/connection-status}/index.d.ts +0 -0
  190. /package/types/{datasource-provider → vuu-shell/src/datasource-provider}/DataSourceProvider.d.ts +0 -0
  191. /package/types/{datasource-provider → vuu-shell/src/datasource-provider}/index.d.ts +0 -0
  192. /package/types/{feature → vuu-shell/src/feature}/Feature.d.ts +0 -0
  193. /package/types/{feature → vuu-shell/src/feature}/FeatureErrorBoundary.d.ts +0 -0
  194. /package/types/{feature → vuu-shell/src/feature}/Loader.d.ts +0 -0
  195. /package/types/{feature → vuu-shell/src/feature}/index.d.ts +0 -0
  196. /package/types/{feature-list → vuu-shell/src/feature-list}/FeatureList.d.ts +0 -0
  197. /package/types/{feature-list → vuu-shell/src/feature-list}/index.d.ts +0 -0
  198. /package/types/{get-layout-history.d.ts → vuu-shell/src/get-layout-history.d.ts} +0 -0
  199. /package/types/{layout-management → vuu-shell/src/layout-management}/LayoutList.d.ts +0 -0
  200. /package/types/{layout-management → vuu-shell/src/layout-management}/LayoutTile.d.ts +0 -0
  201. /package/types/{layout-management → vuu-shell/src/layout-management}/SaveLayoutPanel.d.ts +0 -0
  202. /package/types/{layout-management → vuu-shell/src/layout-management}/layoutTypes.d.ts +0 -0
  203. /package/types/{layout-management → vuu-shell/src/layout-management}/screenshot-utils.d.ts +0 -0
  204. /package/types/{layout-management → vuu-shell/src/layout-management}/useLayoutContextMenuItems.d.ts +0 -0
  205. /package/types/{left-nav → vuu-shell/src/left-nav}/LeftNav.d.ts +0 -0
  206. /package/types/{left-nav → vuu-shell/src/left-nav}/index.d.ts +0 -0
  207. /package/types/{login → vuu-shell/src/login}/LoginPanel.d.ts +0 -0
  208. /package/types/{login → vuu-shell/src/login}/VuuLogo.d.ts +0 -0
  209. /package/types/{login → vuu-shell/src/login}/index.d.ts +0 -0
  210. /package/types/{login → vuu-shell/src/login}/login-utils.d.ts +0 -0
  211. /package/types/{persistence-manager → vuu-shell/src/persistence-manager}/LocalPersistenceManager.d.ts +0 -0
  212. /package/types/{persistence-manager → vuu-shell/src/persistence-manager}/PersistenceManager.d.ts +0 -0
  213. /package/types/{persistence-manager → vuu-shell/src/persistence-manager}/PersistenceProvider.d.ts +0 -0
  214. /package/types/{persistence-manager → vuu-shell/src/persistence-manager}/RemotePersistenceManager.d.ts +0 -0
  215. /package/types/{persistence-manager → vuu-shell/src/persistence-manager}/index.d.ts +0 -0
  216. /package/types/{persistence-provider → vuu-shell/src/persistence-provider}/PersistenceProviderNext.d.ts +0 -0
  217. /package/types/{persistence-provider → vuu-shell/src/persistence-provider}/index.d.ts +0 -0
  218. /package/types/{session-editing-form → vuu-shell/src/session-editing-form}/SessionEditingForm.d.ts +0 -0
  219. /package/types/{session-editing-form → vuu-shell/src/session-editing-form}/index.d.ts +0 -0
  220. /package/types/{shell-layouts → vuu-shell/src/shell-layout-templates}/context-panel/index.d.ts +0 -0
  221. /package/types/{shell-layouts → vuu-shell/src/shell-layout-templates}/index.d.ts +0 -0
  222. /package/types/{shell-layouts → vuu-shell/src/shell-layout-templates}/side-panel/SidePanel.d.ts +0 -0
  223. /package/types/{shell-layouts → vuu-shell/src/shell-layout-templates}/side-panel/index.d.ts +0 -0
  224. /package/types/{theme-switch → vuu-shell/src/theme-switch}/ThemeSwitch.d.ts +0 -0
  225. /package/types/{theme-switch → vuu-shell/src/theme-switch}/index.d.ts +0 -0
  226. /package/types/{use-force-render.d.ts → vuu-shell/src/use-force-render.d.ts} +0 -0
  227. /package/types/{user-settings → vuu-shell/src/user-settings}/SettingsForm.d.ts +0 -0
  228. /package/types/{user-settings → vuu-shell/src/user-settings}/UserSettingsPanel.d.ts +0 -0
  229. /package/types/{user-settings → vuu-shell/src/user-settings}/index.d.ts +0 -0
package/types/shell.d.ts DELETED
@@ -1,17 +0,0 @@
1
- import { LayoutProviderProps } from "@vuu-ui/vuu-layout";
2
- import { LayoutJSON, VuuUser } from "@vuu-ui/vuu-utils";
3
- import { HTMLAttributes, ReactNode } from "react";
4
- import { SidePanelProps } from "./shell-layouts";
5
- export type LayoutTemplateName = "full-height" | "inlay";
6
- export interface ShellProps extends HTMLAttributes<HTMLDivElement> {
7
- LayoutProps?: Pick<LayoutProviderProps, "createNewChild" | "pathToDropTarget">;
8
- LeftSidePanelProps?: SidePanelProps;
9
- children?: ReactNode;
10
- defaultLayout?: LayoutJSON;
11
- leftSidePanelLayout?: "full-height" | "inlay";
12
- loginUrl?: string;
13
- saveUrl?: string;
14
- serverUrl?: string;
15
- user: VuuUser;
16
- }
17
- export declare const Shell: ({ defaultLayout, user, ...props }: ShellProps) => JSX.Element;
File without changes