Skip to content

Commit 1a64411

Browse files
authored
Merge pull request #1077 from AllenFang/v3.0.0-dev
v3.0.0 release
2 parents 9d4f126 + c1b6290 commit 1a64411

File tree

76 files changed

+13498
-925
lines changed

Some content is hidden

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

76 files changed

+13498
-925
lines changed

README.md

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,24 @@
99
[![peerDependency Status][peer-deps-badge]][peer-deps]
1010
It's a [react.js](http://facebook.github.io/react/) table for bootstrap, named react-bootstrap-table. It's a configurable, functional table component and make you build a Bootstrap Table more efficiency and easy in your React application, However ```react-bootstrap-table``` support these features:
1111

12-
- striped, borderless, condensed table
13-
- column align, hidden, width, sort, title
14-
- scrolling table
15-
- cell format
16-
- pagination
17-
- row selection
18-
- column filter with multi type
19-
- cell edit with multi type editor
20-
- insert & delete Row
21-
- table, row and column styling
22-
- global search
23-
- export to CSV
24-
- rich function hooks
25-
- large columns table
26-
- header colum span
27-
- remote mode
28-
- expandable row
12+
- Striped, Borderless, Condensed table
13+
- Column align, hidden, width, sort, title, styling
14+
- Scrolling table
15+
- Cell format
16+
- Pagination
17+
- Row selection
18+
- Column filter with multi type
19+
- Cell edit with multi type editor
20+
- Insert & delete Row
21+
- Table, row and column styling
22+
- Search
23+
- Export to CSV
24+
- Rich function hooks
25+
- Header colum span
26+
- Remote mode
27+
- Expandable row
28+
- Key board Navigation
29+
- Customization
2930

3031
![Example](http://i.imgur.com/Ov1wMse.png)
3132
Explore more example on [examples](https://github.com/AllenFang/react-bootstrap-table/tree/master/examples/js) folder</br>
@@ -34,16 +35,17 @@ Check [this](http://allenfang.github.io/react-bootstrap-table/advance.html) for
3435
Check the <a href='https://github.com/AllenFang/react-bootstrap-table/blob/master/CHANGELOG.md'>CHANGELOG</a> for more detail release notes.
3536

3637
## Notes
37-
***```v2.10.0-beta.1``` is a revised version for fixing couples unalign column and incorrect height etc. If you have any unalign problems before `v2.9.2`, give this beta version a try and any feedback is welcome***
38+
***```v3.0.0``` released, check [examples](https://github.com/AllenFang/react-bootstrap-table/tree/v3.0.0-dev/examples/js/custom) to learn how to customize the component. following
39+
is the major things we completed in this release***
40+
- Remove the `bootstrap.js` and `jQuery` dependencies
41+
- More easy and have ability to customize the components(search, pagination, insert modal etc.)
3842

39-
***```v3.0.0-beta.7``` released, check [release page](https://github.com/AllenFang/react-bootstrap-table/releases). [There](https://github.com/AllenFang/react-bootstrap-table/tree/v3.0.0-dev/examples/js/custom) are a lots of example for customization component, you can also check the [online](http://allenfang.github.io/react-bootstrap-table/example.html#custom) version<br/>***
43+
***```v2.10.0-beta.1``` is a revised version for fixing couples unalign column and incorrect height etc. If you have any unalign problems before `v2.9.2`, give this beta version a try and any feedback is welcome***
4044

4145
***```v3.0.0``` is under planning, check [Milestone to v3.0.0](https://github.com/AllenFang/react-bootstrap-table/issues/497).<br/>***
4246

4347
***After ```v2.4.4```, we move the css files to ```dist``` folder for allowing this repo can be hosted on [cdnjs](https://github.com/cdnjs/cdnjs)<br/>***
4448

45-
***```v2.0.0``` has been released, the main patches are fixing the unalign or wrong size column on different browsers and improving the table structure. Please check [this](https://github.com/AllenFang/react-bootstrap-table/issues/331) for more detail explanation.<br/>***
46-
4749
## Development
4850
```react-bootstrap-table``` dependencies on react.js and Bootstrap 3, also written by ES6 and use gulp and browserify for building and bundling.
4951

@@ -141,7 +143,7 @@ The example source codes is in the [examples](https://github.com/AllenFang/react
141143
$ git clone https://github.com/AllenFang/react-bootstrap-table.git
142144
$ cd react-bootstrap-table
143145
$ npm install
144-
$ gulp example-server #after start, open browser and go to http://localhost:3004
146+
$ npm start # after start, open browser and go to http://localhost:3004
145147
```
146148

147149
### [Documentation](http://allenfang.github.io/react-bootstrap-table/docs.html)

css/react-bootstrap-table.css

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,31 @@
4545
width: 100%;
4646
}
4747

48+
.react-bootstrap-table-page-btns-ul {
49+
float: right;
50+
/* override the margin-top defined in .pagination class in bootstrap. */
51+
margin-top: 0;
52+
}
53+
4854
.react-bs-table .table-bordered {
4955
border: 0;
56+
outline: none !important;
5057
}
5158

5259
.react-bs-table .table-bordered > thead > tr > th,
5360
.react-bs-table .table-bordered > thead > tr > td {
5461
border-bottom-width: 2px;
5562
}
5663

64+
.react-bs-table .table-bordered > tbody > tr > td {
65+
outline: none !important;
66+
}
67+
68+
.react-bs-table .table-bordered > tbody > tr > td.default-focus-cell {
69+
outline: 3px solid cornflowerblue !important;
70+
outline-offset: -1px;
71+
}
72+
5773
.react-bs-table .table-bordered > tfoot > tr > th,
5874
.react-bs-table .table-bordered > tfoot > tr > td {
5975
border-top-width: 2px;
@@ -159,6 +175,47 @@
159175
text-align: center;
160176
}
161177

178+
179+
.ReactModal__Overlay {
180+
-webkit-perspective: 600;
181+
perspective: 600;
182+
opacity: 0;
183+
overflow-x: hidden;
184+
overflow-y: auto;
185+
background-color: rgba(0, 0, 0, 0.5);
186+
}
187+
188+
.ReactModal__Overlay--after-open {
189+
opacity: 1;
190+
transition: opacity 150ms ease-out;
191+
}
192+
193+
.ReactModal__Content {
194+
-webkit-transform: scale(0.5) rotateX(-30deg);
195+
transform: scale(0.5) rotateX(-30deg);
196+
}
197+
198+
.ReactModal__Content--after-open {
199+
-webkit-transform: scale(1) rotateX(0deg);
200+
transform: scale(1) rotateX(0deg);
201+
transition: all 150ms ease-in;
202+
}
203+
204+
.ReactModal__Overlay--before-close {
205+
opacity: 0;
206+
}
207+
208+
.ReactModal__Content--before-close {
209+
-webkit-transform: scale(0.5) rotateX(30deg);
210+
transform: scale(0.5) rotateX(30deg);
211+
transition: all 150ms ease-in;
212+
}
213+
214+
.ReactModal__Content.modal-dialog {
215+
border: none;
216+
background-color: transparent;
217+
}
218+
162219
/*error tip style*/
163220
.animated {
164221
animation-fill-mode: both;

dist/react-bootstrap-table-all.min.css

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

0 commit comments

Comments
 (0)