Skip to content

Commit d3c2eca

Browse files
committed
Merge tag 'v0.23.2' into v0.24-rc
v0.23.2 Conflicts: package.json
2 parents 3146dee + f2da250 commit d3c2eca

Some content is hidden

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

68 files changed

+904
-655
lines changed

.eslintrc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@
1111
"react"
1212
],
1313
"rules": {
14-
"comma-spacing": 1,
14+
"comma-spacing": 2,
1515
"key-spacing": 0,
1616
"no-underscore-dangle": 0,
17-
"no-unused-vars": [1, { "vars": "all", "args": "none" }],
17+
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
1818
"no-var": 2,
19-
"object-shorthand": 1,
20-
"quotes": [1, "single", "avoid-escape"],
19+
"object-shorthand": 2,
20+
"quotes": [2, "single", "avoid-escape"],
2121
"react/display-name": 0,
22-
"react/jsx-no-undef": 1,
23-
"react/jsx-uses-react": 1,
24-
"react/no-did-mount-set-state": 1,
25-
"react/no-did-update-set-state": 1,
26-
"react/no-multi-comp": 1,
27-
"react/prop-types": [1, { ignore: [children, className] }],
28-
"react/react-in-jsx-scope": 1,
29-
"react/self-closing-comp": 1,
30-
"react/wrap-multilines": 1,
31-
"react/jsx-uses-vars": 1,
22+
"react/jsx-no-undef": 2,
23+
"react/jsx-uses-react": 2,
24+
"react/no-did-mount-set-state": 2,
25+
"react/no-did-update-set-state": 2,
26+
"react/no-multi-comp": 2,
27+
"react/prop-types": [2, { ignore: [children, className] }],
28+
"react/react-in-jsx-scope": 2,
29+
"react/self-closing-comp": 2,
30+
"react/wrap-multilines": 2,
31+
"react/jsx-uses-vars": 2,
3232
"strict": 0
3333
}
3434
}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ lib/
99
dist/
1010
!tools/dist/
1111
docs-built/
12-
ie8/bundle.js
1312
tmp-bower-repo/
1413
tmp-docs-repo/
1514
.babel-cache/

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
v0.23.2 - Mon, 08 Jun 2015 18:56:48 GMT
2+
---------------------------------------
3+
4+
- [7211dcb](../../commit/7211dcb) [added] Add prevIcon and nextIcon props as node proptypes to Carousel
5+
- [5734ec3](../../commit/5734ec3) [added] Pagination component
6+
- [2f8c454](../../commit/2f8c454) [changed] Assert ProgressBar children can be ProgressBar only.
7+
- [2c46820](../../commit/2c46820) [added] `createSelectedEvent` for consistent onSelect handling
8+
- [c2ff9ad](../../commit/c2ff9ad) [added] property disabled on MenuItem
9+
10+
11+
112
v0.23.1 - Tue, 02 Jun 2015 16:57:57 GMT
213
---------------------------------------
314

MAINTAINING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ helping out.
5151

5252
GitHub by default does not publicly state that you are a member of the
5353
organization. Please feel free to change that setting for yourself so others
54-
will know who's helping out. That can be configured on [organization
54+
will know who's helping out. That can be configured on the [organization
5555
list](https://github.com/orgs/react-bootstrap/people) page.
5656

5757
Being a maintainer is not an obligation. You can help when you have time and be
@@ -77,7 +77,7 @@ Example usages of the release script:
7777
$ ./tools/release patch
7878
$ ./tools/release minor
7979
$ ./tools/release major
80-
$ ./tools/release minor --pre beta
80+
$ ./tools/release minor --preid beta
8181
```
8282

8383
Note that the above commands will bump the [semver](http://semver.org) version

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33
[Bootstrap 3][bootstrap] components built with [React][react]
44

55
[![Travis Build Status][build-badge]][build]
6-
[![NPM version][npm-badge]][npm]
7-
[![Bower version][bower-badge]][bower]
6+
[![Build status][appveyor-badge]][appveyor]
7+
88
[![HuBoard][huboard-badge]][huboard]
99
[![Gitter][gitter-badge]][gitter]
1010

11+
[![NPM version][npm-badge]][npm]
12+
[![Bower version][bower-badge]][bower]
13+
1114
[![Dependency Status][deps-badge]][deps]
1215
[![devDependency Status][dev-deps-badge]][dev-deps]
1316
[![peerDependency Status][peer-deps-badge]][peer-deps]
@@ -73,4 +76,4 @@ Yes please! See the [contributing guidelines][contributing] for details.
7376
[huboard]: https://huboard.com/react-bootstrap/react-bootstrap
7477

7578
[appveyor-badge]: https://ci.appveyor.com/api/projects/status/ylitpyo6n5yq1s6i/branch/master?svg=true
76-
[appveyor]: https://ci.appveyor.com/project/mtscout6/react-bootstrap/branch/master
79+
[appveyor]: https://ci.appveyor.com/project/react-bootstrap/react-bootstrap/branch/master

appveyor.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: '{build}'
2+
3+
# Install scripts. (runs after repo cloning)
4+
install:
5+
# Get the latest stable version of io.js
6+
- ps: Install-Product node ''
7+
- npm -g install npm@latest
8+
- set PATH=%APPDATA%\npm;%PATH%
9+
- node --version
10+
- npm --version
11+
- npm install
12+
13+
# No need for MSBuild on this project
14+
build: off
15+
16+
test_script:
17+
- npm test

appveyor.yml.tmp

Lines changed: 0 additions & 28 deletions
This file was deleted.

docs/assets/docs.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
* Responsive tests
3030
* Glyphicons
3131
* Customizer
32+
* MenuItem
3233
* Miscellaneous
3334
*/
3435

@@ -1127,6 +1128,14 @@ h1[id] {
11271128
overflow: auto;
11281129
}
11291130

1131+
/* MenuItem */
1132+
.bs-example .dropdown-menu.open {
1133+
position: static;
1134+
display: block;
1135+
margin-bottom: 5px;
1136+
clear: left;
1137+
}
1138+
11301139

11311140
/*
11321141
* Code snippets

docs/examples/.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"PageHeader",
4040
"PageItem",
4141
"Pager",
42+
"Pagination",
4243
"Panel",
4344
"PanelGroup",
4445
"Popover",

docs/examples/MenuItem.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
function onSelectAlert(eventKey, href, target) {
2+
alert('Alert from menu item.\neventKey: "' + eventKey + '"\nhref: "' + href + '"');
3+
}
4+
5+
function preventDefault() {}
6+
7+
const MenuItems = (
8+
<div className="clearfix">
9+
<ul className="dropdown-menu open">
10+
<MenuItem header>Header</MenuItem>
11+
<MenuItem onSelect={preventDefault}>link</MenuItem>
12+
<MenuItem divider/>
13+
<MenuItem header>Header</MenuItem>
14+
<MenuItem onSelect={preventDefault}>link</MenuItem>
15+
<MenuItem disabled>disabled</MenuItem>
16+
<MenuItem title="See? I have a title." onSelect={preventDefault}>
17+
link with title
18+
</MenuItem>
19+
<MenuItem eventKey={1} href="#someHref" onSelect={onSelectAlert}>
20+
link that alerts
21+
</MenuItem>
22+
</ul>
23+
</div>
24+
);
25+
26+
React.render(MenuItems, mountNode);

0 commit comments

Comments
 (0)