Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tmp form fixes #136

Open
wants to merge 107 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
0017094
Merge branch '1.5.0' of github.com:mother/oio into demo
asabhaney Jan 31, 2017
d27cb83
Merge branch 'view' of github.com:mother/oio into demo
stevenyuen Apr 1, 2017
151faa5
Merge branch 'demo' of github.com:mother/oio into demo
asabhaney Apr 3, 2017
7259b2b
Merge branch 'master' of github.com:mother/oio into demo
asabhaney Apr 3, 2017
d88da00
Build Demo
stevenyuen Apr 4, 2017
6846e2a
Merge branch 'gridrow' of github.com:mother/oio into demo
stevenyuen Apr 10, 2017
1082436
Modal close button is based on Modal component's z-index. Updated sty…
stevenyuen Feb 6, 2018
920391d
Ability to set percentage-based height and width. closeURL prop is no…
stevenyuen Feb 24, 2018
77445ca
Added ability to set width on button. Updated mouseover effect for pl…
stevenyuen Feb 27, 2018
e693ad8
Updated docs
stevenyuen Feb 28, 2018
f333558
Checkpoint
stevenyuen Feb 28, 2018
e4b79f1
Updated oio container
stevenyuen Feb 28, 2018
f0ed711
Updated docs
stevenyuen Feb 28, 2018
40e5d43
Merge branch 'button' of github.com:mother/oio into demo
stevenyuen Mar 1, 2018
01bd99a
Re-build
stevenyuen Mar 1, 2018
9adc4ed
Bug fix
stevenyuen Mar 7, 2018
737f248
Merge branch 'button' of github.com:mother/oio into demo
stevenyuen Mar 7, 2018
444fd60
Merge
stevenyuen Mar 7, 2018
8061f80
Changed fontsizes to use em units
stevenyuen Mar 16, 2018
6411653
Merge branch 'typography' of github.com:mother/oio into button
stevenyuen Mar 16, 2018
0fb9148
Button component uses Text component and flexbox to display more reli…
stevenyuen Mar 16, 2018
32b7e52
Merge branch 'button' of github.com:mother/oio into demo
stevenyuen Mar 16, 2018
652f71b
Button has scale prop. Updated Button Docs. Rounded Button borderRadi…
stevenyuen Mar 16, 2018
ab14f06
Updates for plain Button
stevenyuen Mar 20, 2018
0b86aba
Merge branch 'button' of github.com:mother/oio into demo
stevenyuen Mar 20, 2018
5641891
Font-size is set on html element. Font-weights are configurable
stevenyuen Mar 21, 2018
65b9b35
Merge branch 'typography' of github.com:mother/oio into button
stevenyuen Mar 21, 2018
b683a4b
Merge branch 'button' of github.com:mother/oio into demo
stevenyuen Mar 21, 2018
4d6e46a
bug fixes and cleanup
stevenyuen Mar 21, 2018
5c975b3
Merge branch 'typography' of github.com:mother/oio into button
stevenyuen Mar 21, 2018
7c93397
Merge branch 'button' of github.com:mother/oio into demo
stevenyuen Mar 21, 2018
a52f443
Rebuild
stevenyuen Mar 23, 2018
8d72f57
Merge
asabhaney Apr 3, 2018
9f8c3d8
merge
asabhaney Apr 3, 2018
f696273
react-files upgrade
asabhaney Apr 4, 2018
0e27c22
merge
asabhaney Apr 4, 2018
0eb7351
Merge branch 'master' of github.com:mother/oio into demo
stevenyuen Apr 11, 2018
40a3260
New SmartView
stevenyuen Apr 16, 2018
9f6d556
cleanup
stevenyuen Apr 16, 2018
70d6ed4
Merge branch 'view' of github.com:mother/oio into demo
stevenyuen Apr 16, 2018
0aa8b4a
Build
asabhaney Apr 16, 2018
99e5664
Added min and max width and height props
stevenyuen Apr 16, 2018
3341573
Merge branch 'view' of github.com:mother/oio into demo
stevenyuen Apr 16, 2018
ced6d66
REbuild
stevenyuen Apr 16, 2018
51278bb
Rebuild
stevenyuen Apr 16, 2018
0a9041d
Merge branch 'master' of github.com:mother/oio into typography
stevenyuen Apr 17, 2018
0a34077
Added horiztonal and vertical padding props
stevenyuen Apr 21, 2018
3e368de
Merge branch 'view' of github.com:mother/oio into demo
stevenyuen Apr 21, 2018
c7d24a9
Initial commit
stevenyuen Apr 26, 2018
60920ad
Merge branch 'grid' of github.com:mother/oio into demo-experimental
stevenyuen Apr 26, 2018
f2ae22d
Grid overflow is hidden
stevenyuen Apr 26, 2018
b8e0039
Merge branch 'grid' of github.com:mother/oio into demo-experimental
stevenyuen Apr 26, 2018
ecf7fed
Added offset prop to GridCell component
stevenyuen Apr 26, 2018
78219ef
Merge branch 'grid' of github.com:mother/oio into demo-experimental
stevenyuen Apr 26, 2018
69a0b4d
Make sure gridCells wrap onto next line in gridrow component
stevenyuen Apr 26, 2018
f6ed9cb
Merge branch 'grid' of github.com:mother/oio into demo-experimental
stevenyuen Apr 26, 2018
b7cafec
Centered grid container. None float
stevenyuen Apr 27, 2018
e9e2dab
Merge branch 'grid' of github.com:mother/oio into demo-experimental
stevenyuen Apr 27, 2018
b2e8dc1
Ability to set height on grid and gridcell
stevenyuen Apr 29, 2018
640aba0
Merge branch 'grid' of github.com:mother/oio into demo-experimental
stevenyuen Apr 29, 2018
52064ec
Handle width auto
stevenyuen Apr 29, 2018
a53fc67
Merge branch 'view' of github.com:mother/oio into demo-experimental
stevenyuen Apr 29, 2018
86a98a3
Ability to set height on gridCell
stevenyuen May 4, 2018
1177d08
Merge branch 'grid' of github.com:mother/oio into demo-experimental
stevenyuen May 4, 2018
35893cb
Ability to set minHeight
stevenyuen May 4, 2018
2bbec2b
Merge branch 'grid' of github.com:mother/oio into demo-experimental
stevenyuen May 4, 2018
4f14cae
Added float prop
stevenyuen May 16, 2018
07e12a5
Merge branch 'grid' of github.com:mother/oio into demo-experimental
stevenyuen May 16, 2018
17280b2
Added smaller type sizes
stevenyuen May 16, 2018
b0cb19c
Merge branch 'typography' of github.com:mother/oio into demo-experime…
stevenyuen May 16, 2018
0c6546a
Added smaller type sizes
stevenyuen May 16, 2018
2b325ad
Merge branch 'typography' of github.com:mother/oio into demo-experime…
stevenyuen May 16, 2018
7a42578
Tweak small font sizes
stevenyuen May 16, 2018
08cc150
Merge branch 'typography' of github.com:mother/oio into demo-experime…
stevenyuen May 16, 2018
46aff4b
Added float prop to SmartView
stevenyuen May 18, 2018
d4bf813
Merge branch 'view' of github.com:mother/oio into demo-experimental
stevenyuen May 18, 2018
46b28c9
Added ref prop to smartView
stevenyuen May 19, 2018
2166e10
Merge branch 'view' of github.com:mother/oio into demo-experimental
stevenyuen May 19, 2018
0b169a9
Updated default line-height
stevenyuen May 24, 2018
dde49d3
Merge branch 'typography' of github.com:mother/oio into demo-experime…
stevenyuen May 24, 2018
e568c67
Removed debounce from view
stevenyuen May 28, 2018
8a9730e
Merge branch 'view' of github.com:mother/oio into demo-experimental
stevenyuen May 28, 2018
28fcf1c
build
asabhaney May 28, 2018
3f90d4f
Improvements to popover component including: better support for mobil…
stevenyuen Jun 7, 2018
80862b9
Merge branch 'popover' of github.com:mother/oio into demo-experimental
stevenyuen Jun 7, 2018
9047523
Rebuild
stevenyuen Jun 7, 2018
279e74f
rebuild
asabhaney Jun 7, 2018
2b029ea
updated react-files version
asabhaney Jun 13, 2018
37adb96
Spacer component can have breakpoint-specific sizes
stevenyuen Jul 24, 2018
d40243d
Merge branch 'spacer' of github.com:mother/oio into demo-experimental
stevenyuen Jul 24, 2018
b493a26
Merge branch 'typography' of github.com:mother/oio into spacer
stevenyuen Jul 24, 2018
74a9b3b
Fixed spacing
stevenyuen Jul 24, 2018
8df11ab
Merge branch 'grid' of github.com:mother/oio into spacer
stevenyuen Jul 24, 2018
e44bfb0
Merge branch 'spacer' of github.com:mother/oio into demo-experimental
stevenyuen Jul 25, 2018
547e71c
Simplified component. Support for any color value. Updated Docs
stevenyuen Jul 27, 2018
0500256
Updated docs
stevenyuen Jul 27, 2018
63ad180
Merge typography branch
stevenyuen Jul 27, 2018
1ab22f5
Remove gutter on bttom gridCell rows
stevenyuen Jul 31, 2018
4319cb9
Merge branch 'grid' of github.com:mother/oio into demo-experimental
stevenyuen Jul 31, 2018
3579197
Cleanup
stevenyuen Jul 31, 2018
06e1eb9
Merge branch 'grid' of github.com:mother/oio into demo-experimental
stevenyuen Jul 31, 2018
be35347
Fixed hideBottomGutter bug
stevenyuen Aug 2, 2018
45eb8a9
Merge branch 'grid' of github.com:mother/oio into demo-experimental
stevenyuen Aug 2, 2018
9a87e59
do not submit undefined values
asabhaney Sep 4, 2018
65cc9b1
build
asabhaney Sep 4, 2018
adcf391
Merge commit '45eb8a95cc7c4d7873da5d0ef1989523c7528238' of github.com…
asabhaney Sep 4, 2018
1657b93
merged from currently being used branch
asabhaney Sep 4, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions demo/Demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import ModalDemo from './content/Modal'
import ViewDemo from './content/View'
import Welcome from './content/Welcome'
import ExamplesWindow from './examples/Window'
import ExamplesGrid from './examples/Grid'

// eslint-disable-next-line no-unused-vars
import styles from '../src/foundation/styles.less'
Expand Down Expand Up @@ -65,6 +66,9 @@ export default class Demo extends Component {
buttons: [{
name: 'Window',
link: '/examples/window'
}, {
name: 'Grid',
link: '/example-grid'
}]
}]

Expand Down Expand Up @@ -107,6 +111,7 @@ export default class Demo extends Component {
<Route path="/view" component={ViewDemo} />
<Route path="/text" component={TextDemo} />
<Route path="/examples" component={ExamplesWindow} />
<Route path="/example-grid" component={ExamplesGrid} />
</View>
</View>
</View>
Expand Down
14 changes: 14 additions & 0 deletions demo/content/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default class DemoContentButton extends Component {
<Button name="Button" icon="ion-ios-plus" />
<Button name="Translucent" translucent />
<Button name="Outline" outline />
<Button name="Button" outline rounded />
<Button name="Plain" plain />
</ButtonGroup>
<Spacer size="1" />
Expand Down Expand Up @@ -81,27 +82,31 @@ export default class DemoContentButton extends Component {
<Button size="large" name="Large Button" />
<Button size="large" name="Icon" icon="ion-ios-plus" />
<Button size="large" name="Outline" outline />
<Button size="large" name="Rounded" outline rounded />
<Button size="large" name="Plain" plain />
</ButtonGroup>
<Spacer size="1" />
<ButtonGroup>
<Button name="Medium Button" />
<Button name="Icon" icon="ion-ios-plus" />
<Button name="Outline" outline />
<Button name="Rounded" outline rounded />
<Button name="Plain" plain />
</ButtonGroup>
<Spacer size="1" />
<ButtonGroup>
<Button size="small" name="Small Button" />
<Button size="small" name="Icon" icon="ion-ios-plus" />
<Button size="small" name="Outline" outline />
<Button size="small" name="Rounded" outline rounded />
<Button size="small" name="Plain" plain />
</ButtonGroup>
<Spacer size="1" />
<ButtonGroup>
<Button size="tiny" name="Tiny Button" />
<Button size="tiny" name="Icon" icon="ion-ios-plus" />
<Button size="tiny" name="Outline" outline />
<Button size="tiny" name="Rounded" outline rounded />
<Button size="tiny" name="Plain" plain />
</ButtonGroup>
</OIO>
Expand Down Expand Up @@ -225,6 +230,15 @@ export default class DemoContentButton extends Component {
<td>Gives button a translucent appearance</td>
<td>N</td>
</tr>
<tr>
<td><b>width</b></td>
<td>string</td>
<td>
<code>auto</code>
</td>
<td>Enter a pixel-based or percentage-based width</td>
<td>Y</td>
</tr>
</tbody>
</table>
<Spacer size="6" />
Expand Down
11 changes: 11 additions & 0 deletions demo/content/ButtonGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ export default class DemoContentButtonGroup extends Component {
</ButtonGroup>
</View>
</GridCell>
<GridCell>
<Text weight="semibold" size="3">Plain</Text>
<Spacer size="3" />
<View width="100%">
<ButtonGroup>
<Button name="Button One" plain />
<Button name="Button Two" plain />
<Button name="Button Three" plain />
</ButtonGroup>
</View>
</GridCell>
<GridCell>
<Text weight="semibold" size="3">List</Text>
<Spacer size="3" />
Expand Down
23 changes: 23 additions & 0 deletions demo/content/Modal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,29 @@ export default class DemoContentModal extends Component {
{'Pass a function that will fire when Modal window is closed'}
</td>
</tr>
<tr>
<td><b>overlayBackground</b></td>
<td>string</td>
<td>
<code>-</code>
</td>
<td>
Enter a value to overide the default OIO Modal background overlay.
You can enter a value that would be equivalent to one that can be
passed to the css <code>background</code> property
</td>
</tr>
<tr>
<td><b>overlayOpacity</b></td>
<td>Number</td>
<td>
<code>0.97</code>
</td>
<td>
Set a number for the opacity of the Modal component&apos;s
overlay background
</td>
</tr>
<tr>
<td><b>width</b></td>
<td>String</td>
Expand Down
11 changes: 4 additions & 7 deletions demo/content/Text.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import PropTypes from 'prop-types'
import React, { Component } from 'react'
import {
Grid,
Expand All @@ -13,10 +12,6 @@ import {
import style from '../style.less'

export default class DemoContentText extends Component {
static propTypes = {
contents: PropTypes.array
}

constructor(props) {
super(props)

Expand Down Expand Up @@ -176,8 +171,10 @@ export default class DemoContentText extends Component {
<td>String</td>
<td>-</td>
<td>
<p>CSS color (e.g. #CCC)</p>
<p>Will be able to pass hex, rgba, or preset classes</p>
<p>
All css color values supported including hex,
rgba, or hsl (e.g. #CCC)
</p>
</td>
</tr>
<tr>
Expand Down
39 changes: 39 additions & 0 deletions demo/examples/Grid.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import React, { Component } from 'react'
import {
Grid,
GridCell,
Spacer,
Text,
TitleBar,
View
} from '../../src'
import style from '../style.less'

export default class DemoExampleWindow extends Component {
render() {
return (
<View width="100%" className={style.docs}>
<TitleBar title="Grid" flush />
<Spacer size="9" />
<Grid gutter="60px" columns="1[a] 2[a-c] 3[d-e]" hideBottomGutter>
<GridCell>
Cell 1
</GridCell>
<GridCell>
Cell 2
</GridCell>
<GridCell>
Cell 3
</GridCell>
<GridCell>
Cell 4
</GridCell>
<GridCell>
Cell 5
</GridCell>
</Grid>
<Text>Some Text at the end</Text>
</View>
)
}
}
1 change: 1 addition & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta name="viewport" content="user-scalable=no,width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="stylesheet" href="//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
</head>
<body>
<div id="container"></div>
Expand Down
17 changes: 15 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

Loading