Skip to content

Commit b6a9acc

Browse files
author
Patrick Sachs
authored
Merge pull request #14 from PatrickSachs/bulma2.1.1
[email protected]
2 parents 25723b8 + f99f219 commit b6a9acc

File tree

8 files changed

+12
-16
lines changed

8 files changed

+12
-16
lines changed

docs/bulma/iframe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
<body>
2525
<div id="root"></div>
2626
<div id="error-display"></div>
27-
<script type="text/javascript" src="static/preview.bca1d5094e28e9c2aacf.bundle.js"></script></body>
27+
<script type="text/javascript" src="static/preview.be258267934a973a971f.bundle.js"></script></body>
2828

2929
</html>

docs/bulma/static/preview.bca1d5094e28e9c2aacf.bundle.js renamed to docs/bulma/static/preview.be258267934a973a971f.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/bulma/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-formilicious/bulma",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "react-formilicious for the Bulma CSS framework. 🎨",
55
"author": "PatrickSachs",
66
"license": "MIT",

packages/bulma/src/TextArea/index.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,10 @@ export default class TextArea extends React.Component {
88

99
render() {
1010
const {
11-
// Your element config expect type and key
11+
// TextArea props
1212
name, lines = 3, disabled,
13-
// System created properties just for this field
14-
field: { validated, message },
15-
// System properties which are the same for all fields
16-
system: { waiting },
17-
// Change handler
18-
onChange, value,
13+
// System properties
14+
field, system, onChange, value, validator, ignoreData,
1915
// Raw pass the rest
2016
...otherProps
2117
} = this.props;
@@ -28,11 +24,11 @@ export default class TextArea extends React.Component {
2824
{...otherProps}
2925
className="textarea"
3026
onChange={e => onChange(e.target.value)}
31-
disabled={waiting || disabled}
27+
disabled={system.waiting || disabled}
3228
rows={otherProps.rows || lines}
3329
value={value} />
3430
</div>
35-
<ValidationResult validated={validated} message={message} />
31+
<ValidationResult {...field} />
3632
</div>);
3733
}
3834
}

packages/bulma/src/TextField/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default class TextField extends React.Component {
3636
// TextField props
3737
name, disabled, mode,
3838
// System props
39-
field, system, onChange, value,
39+
field, system, onChange, value, validator, ignoreData,
4040
// Raw pass the rest.
4141
...otherProps
4242
} = this.props;

packages/bulma/storybook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@react-formilicious/core-storybook",
2+
"name": "@react-formilicious/bulma-storybook",
33
"version": "1.0.0",
44
"private": true,
55
"dependencies": {

packages/bulma/storybook/text-area.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ storiesOf("TextArea", module)
4848
key: "textArea",
4949
type: fnNameOnly(TextArea),
5050
name: "Shipping address",
51-
autocomplete: "street-address"
51+
autoComplete: "street-address"
5252
}
5353
]} data={{}} onSubmit={action("onSubmit")} />
5454
</div>

packages/bulma/storybook/text-field.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ storiesOf("TextField", module)
5656
<Form elements={[{
5757
key: "textField",
5858
type: fnNameOnly(TextField),
59-
autocomplete: "name",
59+
autoComplete: "name",
6060
name: "Your name"
6161
}]} data={{}} onSubmit={action("onSubmit")} />
6262
</div>

0 commit comments

Comments
 (0)