@@ -56,28 +56,28 @@ const ComponentsPage = React.createClass({
56
56
{ /* Buttons */ }
57
57
< div className = "bs-docs-section" >
58
58
< h1 className = "page-header" > < Anchor id = "buttons" > Buttons</ Anchor > < small > Button</ small > </ h1 >
59
- < h2 > < Anchor id = "buttons-options" > Options</ Anchor > </ h2 >
59
+ < h3 > < Anchor id = "buttons-options" > Options</ Anchor > </ h3 >
60
60
< p > Use any of the available button style types to quickly create a styled button. Just modify the < code > bsStyle</ code > prop.</ p >
61
61
< ReactPlayground codeText = { Samples . ButtonTypes } />
62
62
< div className = "bs-callout bs-callout-warning" >
63
63
< h4 > Button spacing</ h4 >
64
- < p > Because React doesn" t output newlines between elements, buttons on the same line are displayed
64
+ < p > Because React doesn' t output newlines between elements, buttons on the same line are displayed
65
65
flush against each other. To preserve the spacing between multiple inline buttons, wrap your
66
66
button group in < code > { "<ButtonToolbar />" } </ code > .</ p >
67
67
</ div >
68
68
69
- < h2 > < Anchor id = "buttons-sizes" > Sizes</ Anchor > </ h2 >
69
+ < h3 > < Anchor id = "buttons-sizes" > Sizes</ Anchor > </ h3 >
70
70
< p > Fancy larger or smaller buttons? Add < code > bsSize="large"</ code > , < code > bsSize="small"</ code > , or < code > bsSize="xsmall"</ code > for additional sizes.</ p >
71
71
< ReactPlayground codeText = { Samples . ButtonSizes } />
72
72
73
73
< p > Create block level buttons—those that span the full width of a parent— by adding the < code > block</ code > prop.</ p >
74
74
< ReactPlayground codeText = { Samples . ButtonBlock } />
75
75
76
- < h2 > < Anchor id = "buttons-active" > Active state</ Anchor > </ h2 >
76
+ < h3 > < Anchor id = "buttons-active" > Active state</ Anchor > </ h3 >
77
77
< p > To set a buttons active state simply set the components < code > active</ code > prop.</ p >
78
78
< ReactPlayground codeText = { Samples . ButtonActive } />
79
79
80
- < h2 > < Anchor id = "buttons-disabled" > Disabled state</ Anchor > </ h2 >
80
+ < h3 > < Anchor id = "buttons-disabled" > Disabled state</ Anchor > </ h3 >
81
81
< p > Make buttons look unclickable by fading them back 50%. To do this add the < code > disabled</ code > attribute to buttons.</ p >
82
82
< ReactPlayground codeText = { Samples . ButtonDisabled } />
83
83
@@ -87,13 +87,13 @@ const ComponentsPage = React.createClass({
87
87
functionality. Use custom logic to disable the effect of the < code > onClick</ code > handlers.</ p >
88
88
</ div >
89
89
90
- < h2 > < Anchor id = "buttons-tags" > Button tags</ Anchor > </ h2 >
90
+ < h3 > < Anchor id = "buttons-tags" > Button tags</ Anchor > </ h3 >
91
91
< p > The DOM element tag is choosen automatically for you based on the props you supply. Passing
92
92
a < code > href</ code > will result in the button using a < code > { "<a />" } </ code > element otherwise
93
93
a < code > { "<button />" } </ code > element will be used.</ p >
94
94
< ReactPlayground codeText = { Samples . ButtonTagTypes } />
95
95
96
- < h2 > < Anchor id = "buttons-loading" > Button loading state</ Anchor > </ h2 >
96
+ < h3 > < Anchor id = "buttons-loading" > Button loading state</ Anchor > </ h3 >
97
97
< p > When activating an asynchronous action from a button it is a good UX pattern to give the user
98
98
feedback as to the loading state, this can easily be done by updating
99
99
your < code > { "<Button />" } </ code > ’s props from a state change like below.</ p >
@@ -106,7 +106,7 @@ const ComponentsPage = React.createClass({
106
106
107
107
{ /* Button Groups */ }
108
108
< div className = "bs-docs-section" >
109
- < h1 className = "page-header" > < Anchor id = "btn-groups" > Button groups</ Anchor > < small > ButtonGroup, ButtonToolbar</ small > </ h1 >
109
+ < h2 className = "page-header" > < Anchor id = "btn-groups" > Button groups</ Anchor > < small > ButtonGroup, ButtonToolbar</ small > </ h2 >
110
110
< p className = "lead" > Group a series of buttons together on a single line with the button group.</ p >
111
111
112
112
< h3 > < Anchor id = "btn-groups-single" > Basic example</ Anchor > </ h3 >
@@ -148,7 +148,7 @@ const ComponentsPage = React.createClass({
148
148
</ div >
149
149
150
150
< div className = "bs-docs-section" >
151
- < h1 className = "page-header" > < Anchor id = "btn-dropdowns" > Button dropdowns </ Anchor > </ h1 >
151
+ < h2 className = "page-header" > < Anchor id = "btn-dropdowns" > Dropdowns </ Anchor > </ h2 >
152
152
< p className = "lead" > Use < code > { "<DropdownButton />" } </ code > or < code > { "<SplitButton />" } </ code > components to display a button with a dropdown menu.</ p >
153
153
154
154
< h3 > < Anchor id = "btn-dropdowns-single" > Single button dropdowns</ Anchor > </ h3 >
@@ -160,7 +160,7 @@ const ComponentsPage = React.createClass({
160
160
< ReactPlayground codeText = { Samples . SplitButtonBasic } />
161
161
162
162
< h3 > < Anchor id = "btn-dropdowns-sizing" > Sizing</ Anchor > </ h3 >
163
- < p > Button dropdowns work with buttons of all sizes.</ p >
163
+ < p > Dropdowns work with buttons of all sizes.</ p >
164
164
< ReactPlayground codeText = { Samples . DropdownButtonSizes } />
165
165
166
166
< h3 > < Anchor id = "btn-dropdowns-nocaret" > No caret variation</ Anchor > </ h3 >
@@ -177,7 +177,7 @@ const ComponentsPage = React.createClass({
177
177
178
178
< h3 > < Anchor id = "btn-dropdowns-custom" > Dropdown Customization</ Anchor > </ h3 >
179
179
< p >
180
- If the default handling of the dropdown menu and toggle components aren" t to your liking, you can
180
+ If the default handling of the dropdown menu and toggle components aren' t to your liking, you can
181
181
customize them, by using the more basic < code > Dropdown</ code > Component to explicitly specify
182
182
the Toggle and Menu components
183
183
</ p >
@@ -213,10 +213,10 @@ const ComponentsPage = React.createClass({
213
213
< PropTable component = "Dropdown" />
214
214
</ div >
215
215
216
- { /* Menu Item */ }
216
+ { /* Menu items */ }
217
217
< div className = "bs-docs-section" >
218
- < h1 className = "page-header" > < Anchor id = "menu-item " > Menu Item </ Anchor > < small > MenuItem</ small > </ h1 >
219
- < p > This is a component used in other components (see < a href = "buttons" > Buttons </ a > , < a href = "#navbars" > Navbars </ a > ) .</ p >
218
+ < h2 className = "page-header" > < Anchor id = "menu-items " > Menu items </ Anchor > < small > MenuItem</ small > </ h2 >
219
+ < p > This component represents a menu item in a dropdown .</ p >
220
220
< p > It supports the basic anchor properties < code > href</ code > , < code > target</ code > , < code > title</ code > .</ p >
221
221
< p >
222
222
It also supports different properties of the normal Bootstrap MenuItem.
@@ -389,7 +389,7 @@ const ComponentsPage = React.createClass({
389
389
< ReactPlayground codeText = { Samples . PopoverPositioned } />
390
390
391
391
< h4 > < Anchor id = "popovers-trigger-behaviors" > Trigger behaviors</ Anchor > </ h4 >
392
- < p > It" s inadvisable to use < code > "hover"</ code > or < code > "focus"</ code > triggers for popovers, because they have poor accessibility from keyboard and on mobile devices.</ p >
392
+ < p > It' s inadvisable to use < code > "hover"</ code > or < code > "focus"</ code > triggers for popovers, because they have poor accessibility from keyboard and on mobile devices.</ p >
393
393
< ReactPlayground codeText = { Samples . PopoverTriggerBehaviors } />
394
394
395
395
< h4 > < Anchor id = "popovers-in-container" > Popover component in container</ Anchor > </ h4 >
@@ -415,7 +415,7 @@ const ComponentsPage = React.createClass({
415
415
416
416
< h4 > < Anchor id = "overlays-overlay" > Use Overlay instead of Tooltip and Popover</ Anchor > </ h4 >
417
417
< p >
418
- You don" t need to use the provided < code > Tooltip</ code > or < code > Popover</ code > components. Creating custom overlays
418
+ You don' t need to use the provided < code > Tooltip</ code > or < code > Popover</ code > components. Creating custom overlays
419
419
is as easy as wrapping some markup in an < code > Overlay</ code > component
420
420
</ p >
421
421
< ReactPlayground codeText = { Samples . OverlayCustom } />
@@ -435,7 +435,7 @@ const ComponentsPage = React.createClass({
435
435
< ReactPlayground codeText = { Samples . ProgressBarBasic } />
436
436
437
437
< h2 > < Anchor id = "progress-label" > With label</ Anchor > </ h2 >
438
- < p > Add a < code > label</ code > prop to show a visible percentage. For low percentages, consider adding a min-width to ensure the label" s text is fully visible.</ p >
438
+ < p > Add a < code > label</ code > prop to show a visible percentage. For low percentages, consider adding a min-width to ensure the label' s text is fully visible.</ p >
439
439
< p > The following keys are interpolated with the current values: < code > %(min)s</ code > , < code > %(max)s</ code > , < code > %(now)s</ code > , < code > %(percent)s</ code > , < code > %(bsStyle)s</ code > </ p >
440
440
< ReactPlayground codeText = { Samples . ProgressBarWithLabel } />
441
441
@@ -658,7 +658,7 @@ const ComponentsPage = React.createClass({
658
658
< p > Basic alert styles.</ p >
659
659
< ReactPlayground codeText = { Samples . AlertBasic } />
660
660
661
- < h4 > < Anchor id = "alerts-closeable" > Closeable alerts</ Anchor > </ h4 >
661
+ < h3 > < Anchor id = "alerts-closeable" > Closeable alerts</ Anchor > </ h3 >
662
662
< p > just pass in a < code > onDismiss</ code > function.</ p >
663
663
< ReactPlayground codeText = { Samples . AlertDismissable } />
664
664
@@ -667,7 +667,7 @@ const ComponentsPage = React.createClass({
667
667
< p > Unlike regular Bootstrap, alerts have an sr-only dismiss button after the content.</ p >
668
668
</ div >
669
669
670
- < h4 > < Anchor id = "alerts-auto-closeable" > Auto closeable</ Anchor > </ h4 >
670
+ < h3 > < Anchor id = "alerts-auto-closeable" > Auto closeable</ Anchor > </ h3 >
671
671
< p > Auto close after a set time with < code > dismissAfter</ code > prop.</ p >
672
672
< ReactPlayground codeText = { Samples . AlertAutoDismissable } />
673
673
@@ -751,7 +751,7 @@ const ComponentsPage = React.createClass({
751
751
{ /* ListGroup */ }
752
752
< div className = "bs-docs-section" >
753
753
< h1 className = "page-header" > < Anchor id = "listgroup" > List group</ Anchor > < small > ListGroup, ListGroupItem</ small > </ h1 >
754
- < p > Quick previous and next links .</ p >
754
+ < p > List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content .</ p >
755
755
756
756
< h3 > < Anchor id = "listgroup-default" > Centers by default</ Anchor > </ h3 >
757
757
< ReactPlayground codeText = { Samples . ListGroupDefault } />
@@ -831,9 +831,9 @@ const ComponentsPage = React.createClass({
831
831
< PropTable component = "Jumbotron" />
832
832
</ div >
833
833
834
- { /* Page Header */ }
834
+ { /* Page header */ }
835
835
< div className = "bs-docs-section" >
836
- < h1 className = "page-header" > < Anchor id = "page-header" > Page Header </ Anchor > </ h1 >
836
+ < h1 className = "page-header" > < Anchor id = "page-header" > Page header </ Anchor > </ h1 >
837
837
838
838
< p > A simple shell for an < code > h1</ code > to appropriately space out and segment sections of content on a page. It can utilize the < code > h1</ code > ’s default < code > small</ code > element, as well as most other components (with additional styles).</ p >
839
839
< ReactPlayground codeText = { Samples . PageHeader } />
@@ -899,7 +899,7 @@ const ComponentsPage = React.createClass({
899
899
900
900
< p > Renders an input in bootstrap wrappers. Supports label, help, text input add-ons, validation and use as wrapper.
901
901
Use < code > getValue()</ code > or < code > getChecked()</ code > to get the current state.
902
- The helper method < code > getInputDOMNode()</ code > returns the internal input element. If you don" t want the < code > form-group</ code > class applied apply the prop named < code > standalone</ code > .</ p >
902
+ The helper method < code > getInputDOMNode()</ code > returns the internal input element. If you don' t want the < code > form-group</ code > class applied apply the prop named < code > standalone</ code > .</ p >
903
903
< ReactPlayground codeText = { Samples . Input } />
904
904
905
905
< h3 > < Anchor id = "input-types" > Types</ Anchor > </ h3 >
@@ -949,8 +949,8 @@ const ComponentsPage = React.createClass({
949
949
< h2 > < Anchor id = "utilities-portal" > Portal</ Anchor > </ h2 >
950
950
< p >
951
951
A Component that renders its children into a new React "subtree" or < code > container</ code > . The Portal component kind of like the React
952
- equivalent to jQuery" s < code > .appendTo()</ code > , which is helpful for components that need to be appended to a DOM node other than
953
- the component" s direct parent. The Modal, and Overlay components use the Portal component internally.
952
+ equivalent to jQuery' s < code > .appendTo()</ code > , which is helpful for components that need to be appended to a DOM node other than
953
+ the component' s direct parent. The Modal, and Overlay components use the Portal component internally.
954
954
</ p >
955
955
956
956
< h3 > < Anchor id = "utilities-portal-props" > Props</ Anchor > </ h3 >
@@ -1035,8 +1035,8 @@ const ComponentsPage = React.createClass({
1035
1035
>
1036
1036
< SubNav href = "#buttons" key = { 1 } text = "Buttons" >
1037
1037
< NavItem href = "#btn-groups" key = { 2 } > Button groups</ NavItem >
1038
- < NavItem href = "#btn-dropdowns" key = { 3 } > Button dropdowns </ NavItem >
1039
- < NavItem href = "#menu-item " key = { 25 } > Menu Item </ NavItem >
1038
+ < NavItem href = "#btn-dropdowns" key = { 3 } > Dropdowns </ NavItem >
1039
+ < NavItem href = "#menu-items " key = { 25 } > Menu items </ NavItem >
1040
1040
</ SubNav >
1041
1041
< NavItem href = "#panels" key = { 4 } > Panels</ NavItem >
1042
1042
< NavItem href = "#modals" key = { 5 } > Modals</ NavItem >
@@ -1059,7 +1059,7 @@ const ComponentsPage = React.createClass({
1059
1059
< NavItem href = "#labels" key = { 19 } > Labels</ NavItem >
1060
1060
< NavItem href = "#badges" key = { 20 } > Badges</ NavItem >
1061
1061
< NavItem href = "#jumbotron" key = { 21 } > Jumbotron</ NavItem >
1062
- < NavItem href = "#page-header" key = { 22 } > Page Header </ NavItem >
1062
+ < NavItem href = "#page-header" key = { 22 } > Page header </ NavItem >
1063
1063
< NavItem href = "#responsive-embed" key = { 31 } > Responsive embed</ NavItem >
1064
1064
< NavItem href = "#wells" key = { 23 } > Wells</ NavItem >
1065
1065
< NavItem href = "#glyphicons" key = { 24 } > Glyphicons</ NavItem >
0 commit comments