Skip to content

Commit 0761ce6

Browse files
authored
Merge pull request #103 from aeagle/release/v0.3
Release/v0.3
2 parents 3d29f02 + 86de086 commit 0761ce6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+8777
-6164
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
.env.test.local
1818
.env.production.local
1919

20+
debug.log*
2021
npm-debug.log*
2122
yarn-debug.log*
2223
yarn-error.log*
2324
**/.rpt2_cache
2425
**/.next
25-
**/storybook-static
26+
**/storybook-static
27+
.vscode

.storybook/preview-head.html

+4
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,9 @@
2222

2323
.spaces-resize-handle {
2424
background-color: red !important;
25+
opacity: 0.5;
26+
}
27+
.innerZoomElementWrapper .spaces-fullpage-layout {
28+
position: absolute !important;
2529
}
2630
</style>

README.md

+12-10
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
![NPM](https://img.shields.io/npm/v/react-spaces.svg) ![Azure Pipelines](https://allan-eagle.visualstudio.com/All%20projects/_apis/build/status/aeagle.react-spaces?branchName=master)
44

5-
An easy to understand and nestable layout system, React Spaces allow you to divide a page or container into anchored, scrollable and resizable spaces enabling you to build desktop/mobile type user interfaces in the browser.
5+
An easy to understand and nestable layout system, React Spaces allow you to divide a page or container into anchored, scrollable and resizable spaces enabling you to build desktop/mobile type user interfaces in the browser.
66

77
Rather than a library of visual UI components, Spaces are intended to be the reusable foundational blocks for laying out a UI which responds neatly to view port resizes leaving you to fill them with whatever components you want.
88

9-
- No styling to achieve simple or complex layouts.
10-
- Spaces know how to behave in relation to each other and resize accordingly.
11-
- Spaces don't have any visual element to them (even padding or margins). You can fill them with whatever you want.
9+
- No styling to achieve simple or complex layouts.
10+
- Spaces know how to behave in relation to each other and resize accordingly.
11+
- Spaces don't have any visual element to them (even padding or margins). You can fill them with whatever you want.
1212

1313
**Version 0.2.0 release - read [release notes here](https://www.allaneagle.com/react-spaces/release-0.2.0).**
1414

@@ -48,18 +48,20 @@ There are resizable versions of these components called **\<LeftResizable /\>**,
4848

4949
A space which consumes any available area left in the parent container/space taking into account any anchored spaces on every side.
5050

51+
**\<Positioned /\>**
52+
53+
A space which can be absolutely placed within a parent space either by top, left, width and height or by top, left, right and bottom.
54+
5155
**\<Layer /\>**
5256

5357
Layers allow you to create layers within a parent space, for example:
5458

5559
```html
5660
<ViewPort>
57-
<Layer zIndex="{0}">
58-
<LeftResizable size="20%" /> // floating sidebar
59-
</Layer>
60-
<Layer zIndex="{1}">
61-
<Fill />
62-
</Layer>
61+
<Layer zIndex="{0}"> <LeftResizable size="20%" /> // floating sidebar </Layer>
62+
<Layer zIndex="{1}">
63+
<Fill />
64+
</Layer>
6365
</ViewPort>
6466
```
6567

npm-audit.html

+2,382
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)