forked from finos/vuu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from ScottLogic/VUU-47-link-layoutProvider-and…
…-layoutManagerProvider Vuu 47 link layout provider and layout manager provider
- Loading branch information
Showing
22 changed files
with
166 additions
and
295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-80.8 KB
... -- THEN as last tab is selected, last but one will be overflowed (failed).png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 40 additions & 12 deletions
52
vuu-ui/packages/vuu-layout/src/layout-persistence/data.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,42 @@ | ||
export const warningLayout = { | ||
type: "View", | ||
props: { | ||
style: { height: "calc(100% - 6px)" }, | ||
import { LayoutJSON } from "../layout-reducer"; | ||
|
||
export const warningLayout: LayoutJSON = { | ||
type: "View", | ||
props: { | ||
style: { height: "calc(100% - 6px)" }, | ||
}, | ||
children: [ | ||
{ | ||
props: { | ||
className: "vuuShell-warningPlaceholder", | ||
}, | ||
type: "Placeholder", | ||
}, | ||
], | ||
}; | ||
|
||
export const defaultLayout: LayoutJSON = { | ||
type: "Stack", | ||
id: "main-tabs", | ||
props: { | ||
className: "vuuShell-mainTabs", | ||
TabstripProps: { | ||
allowAddTab: true, | ||
allowRenameTab: true, | ||
animateSelectionThumb: false, | ||
location: "main-tab", | ||
allowCloseTab: true | ||
}, | ||
children: [ | ||
{ | ||
props: { | ||
className: "vuuShell-warningPlaceholder", | ||
}, | ||
type: "Placeholder", | ||
preserve: true, | ||
active: 0, | ||
}, | ||
children: [ | ||
{ | ||
props: { | ||
id: "tab1", | ||
className: "vuuShell-Placeholder", | ||
}, | ||
], | ||
}; | ||
type: "Placeholder", | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from './LayoutPersistenceManager'; | ||
export * from './LocalLayoutPersistenceManager'; | ||
export * from './data'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
vuu-ui/packages/vuu-shell/src/layout-config/local-config.ts
This file was deleted.
Oops, something went wrong.
50 changes: 0 additions & 50 deletions
50
vuu-ui/packages/vuu-shell/src/layout-config/remote-config.ts
This file was deleted.
Oops, something went wrong.
61 changes: 0 additions & 61 deletions
61
vuu-ui/packages/vuu-shell/src/layout-config/use-layout-config.ts
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
vuu-ui/packages/vuu-shell/src/layout-management/LayoutList.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
.vuuLayoutList { | ||
align-self: stretch; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
.vuuLayoutList-header { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.