Martijn Cuppens
39b14c9806
Blacklist border-radius property (use mixin instead) ( #27900 )
2018-12-23 09:11:11 +02:00
Mark Otto
6a5a1b073d
move to 4.2
2018-12-22 22:20:26 -08:00
XhmikosR
de7a38250b
Merge branch 'v4-dev' into stretched-link
2018-12-23 00:30:55 +02:00
XhmikosR
3bdb363495
Remove obsolete redirects in examples. ( #27897 )
2018-12-22 22:07:37 +02:00
XhmikosR
74a2d93517
Merge branch 'v4-dev' into stretched-link
2018-12-22 18:32:28 +02:00
Mark Otto
f0e5cc3f41
Add a notes about multiple links/targets, remove multiple link example
2018-12-21 21:10:40 -08:00
Mark Otto
d51b408d0f
Merge branch 'text-break-util' into v4-dev
2018-12-21 15:35:55 -08:00
Mark Otto
1449d041c8
Merge branch 'validation-support-list' into v4-dev
2018-12-21 13:48:53 -08:00
Mark Otto
3b843c37c1
Merge branch 'grid-vertical-alignment-ie-warning' into v4-dev
2018-12-21 13:48:19 -08:00
XhmikosR
c5bd6a11f6
Update webpack.md
2018-12-21 09:03:29 -08:00
XhmikosR
140abf4c3d
Remove unneeded redirects.
2018-12-21 09:03:29 -08:00
Mark Otto
eda851ee76
Prep for v4.2.0 release
...
- Move 4.1 docs to 4.2
- Update versions everywhere to 4.1.3 with release script
- Manually bump the shorthand version in package.json
- Add 4.2 to the versions docs page
- Update some redirects
- Fix tests asset URLs
- Bump Nuget and more
2018-12-21 09:03:29 -08:00
Mark Otto
f7bf353cdc
Add docs for .text-break
2018-12-17 09:58:18 -08:00
XhmikosR
07b4b5907b
Revert "Remove now unnecessary shrink-to-fit viewport directive ( #27818 )" ( #27855 )
...
This reverts commit af484dc12c
.
2018-12-16 16:39:48 +02:00
Florian Lacreuse
8ee2065d16
Update grid doc for consistent use of container. ( #27776 )
2018-12-16 14:55:46 +02:00
Mark Otto
ee72e7838d
dist
2018-12-16 01:33:05 +02:00
Mark Otto
4ad7ba7b23
List out what's supported in validation styles
...
Fixes #27169
2018-12-15 14:25:40 -08:00
Mark Otto
9d05cc25cb
Fixes #26468 : Mention min-height issue in IE10/11 for flexbox vertical alignment
2018-12-15 13:51:20 -08:00
Mark Otto
236c7803cb
Update site/docs/4.1/utilities/stretched-link.md
...
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com>
2018-12-15 20:18:55 +01:00
Mark Otto
470145bdca
Update site/docs/4.1/utilities/stretched-link.md
...
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com>
2018-12-15 20:17:45 +01:00
Mark Otto
210d49ec05
Update site/docs/4.1/utilities/stretched-link.md
...
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com>
2018-12-15 20:15:03 +01:00
Mark Otto
abd5a5e4bd
Copy change
...
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com>
2018-12-15 20:14:42 +01:00
Mark Otto
35caac013c
Copy change
...
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com>
2018-12-15 20:14:05 +01:00
Patrick H. Lauke
af484dc12c
Remove now unnecessary shrink-to-fit viewport directive ( #27818 )
...
`shrink-to-fit=no` is not needed anymore - Apple removed the need for it from iOS9.3 onwards
See https://www.scottohara.me/blog/2018/12/11/shrink-to-fit.html and https://github.com/h5bp/html5-boilerplate/issues/2102
2018-12-15 01:05:49 +00:00
ChrissBott
b5b4f83cdb
Fix typo in "Hiding elements" section ( #27843 )
2018-12-14 17:07:44 +00:00
Patrick H. Lauke
c031584bcd
SVG accessibility fixes ( #27826 )
...
* SVG accessibility fixes
- add `focusable="false"` to all SVGs, to stop IE from including the `<svg>` in its default focus cycle
- completely hide decorative SVGs using `aria-hidden="true"`
- add `role="img"` to meaningful/"content" SVGs, ensure they have an appropriate `<title>` and/or `aria-label`
- simplify placeholder default title
* Simplify usage of placeholder.svg in the docs
- in most cases, no need for separate/redundant text and title (now that we make text itself part of the alternative text explicitly)
- no need (expect in rare cirumstances) to describe the placeholder image (unless the look of the image is important/the actual content, as is the case with the image thumbnail class)
* Simplify example.html rewriting of <svg> to <img> code sample
- as the `alt` for the placeholder isn't really important, just add an ellipsis instead (otherwise, to be correct, we'd have to construct the whole "title+text" construct like we do now in the
placeholder.svg itself
* Change svgo configuration to retain role attribute and add/force focusable=false
- regarding `focusable=false`, see https://github.com/svg/svgo/issues/1011 (which would be the "proper" SVGO fix) and the (hacky) solution https://github.com/svg/svgo/pull/817
2018-12-13 13:09:47 +00:00
Patrick H. Lauke
375d137561
Docs: add note about the grays being "cool" ( #27824 )
2018-12-12 21:55:20 +02:00
Gijs Boddeus
180a06eeb7
Add switch custom form control ( #23004 )
2018-12-12 15:28:25 +02:00
unaccomplished
0a55c7a8f6
Update Scrollspy doc to include missing method options ( #27754 )
2018-12-11 10:27:04 +02:00
XhmikosR
3100a3a95e
Update bs-custom-file-input to v1.3.1.
2018-12-10 17:19:30 +02:00
XhmikosR
60eeef5ddc
Update clipboard.js to v2.0.4.
2018-12-10 17:19:30 +02:00
XhmikosR
10d4e7f43d
Update glyphicons URL.
2018-12-10 12:27:27 +02:00
Patrick H. Lauke
903e242650
Make disabled link in card examples non-focusable and add aria-disabled ( #27788 )
2018-12-06 08:16:22 +02:00
Johann-S
b16127fc10
Allow Tooltips/Popovers to work in shadow DOM
2018-12-05 16:02:59 +01:00
XhmikosR
e184c11618
Merge branch 'v4-dev' into stretched-link
2018-12-05 11:38:55 +02:00
Martijn Cuppens
3007d4b435
Stretched link
2018-12-04 21:22:12 +01:00
Shohei Yoshida
e9ec5e7392
spinners: use .sr-only
instead of text-hide technique ( #27736 )
2018-12-04 08:02:49 +02:00
XhmikosR
a2d0e78b44
Update contents.md
2018-11-29 10:59:06 +02:00
XhmikosR
24eb9a75e9
Revert "Use h5
for callouts so that they are not included in ToC."
...
This reverts commit 11da160114
.
This is no longer needed with jekyll-toc 0.9.1.
2018-11-28 21:09:50 +02:00
XhmikosR
7492c12089
Remove unneeded ESLint config file.
...
We have /site/.eslintrc.json that covers this.
2018-11-28 14:33:29 +02:00
XhmikosR
11da160114
Use h5
for callouts so that they are not included in ToC.
...
Callouts are already excluded from ToC, but due to a limitation in jekyll-toc they are still being included.
We should revisit this if the bug is fixed later.
2018-11-27 16:01:07 +02:00
XhmikosR
cb2b21bb88
Inline bootstrap-stack.svg.
...
It's pretty small compressed; a little less than 1 KB with gzip.
2018-11-27 15:37:24 +02:00
XhmikosR
89876a5559
Use an SVG for the stack image.
...
Image by @mdo.
2018-11-27 15:37:24 +02:00
XhmikosR
b4f7b34b1e
Move examples images in assets/img/examples/ folder.
2018-11-27 15:37:24 +02:00
XhmikosR
4ad19f6f52
Use srcset for examples too.
2018-11-27 15:37:24 +02:00
XhmikosR
d5279bf18c
homepage: use srcset.
...
This should reduce the amount of bytes for non-2x displays.
2018-11-27 15:37:24 +02:00
Christian Oliff
fcfa436a31
Update migration page to indicate the info can be used for 4.1.x as well as 4.0.x
2018-11-26 22:46:09 +02:00
Christian Oliff
7a907ae09e
Change OS X to macOS in Sass comments ( #27729 )
...
It's been macOS for 3 years now and we use just 'macOS' elsewhere in the Bootstrap documentation.
https://en.wikipedia.org/wiki/MacOS
2018-11-26 14:57:33 +00:00
XhmikosR
5c336d0247
Dist
2018-11-25 11:46:37 +02:00
m5o
c9157be574
prevent text selection for floating labels example ( #27719 )
...
* prevent text selection for floating labels
* expand the click target by no selecting the label text
* use `pointer-events: none;` instead of `user-select`
* thx @MartijnCuppens
2018-11-24 13:25:18 +01:00
Martijn Cuppens
28a972ac9f
Add opacity transition
2018-11-23 15:28:39 +02:00
XhmikosR
0c60257114
Revert "Replace anchor.js with jekyll-anchor-headings."
...
This reverts commit b04f97f60b
.
2018-11-23 15:28:39 +02:00
Pixelastic
3e25bf403a
Update DocSearch.js to latest version
...
The latest (2.6.2) docsearch.js version now displays results as standard `<a href>` links, allowing users to `ctrl`-click on them to trigger default browser behavior of opening in a new tab.
To maintain backward compatibility, this behavior has only been enabled to users that didn't define their own `handleSelected` method.
This PR updates your `docsearch()` code to take advantage of the new `<a href>` template, by removing your custom `handleSelected` and moving its behavior to the `transformData` call. Namely, what you wanted to avoid was jumping to the first `<h1>` of the pages, which would prevent users from seeing the header. This PR checks if the suggestion targets the `#content` anchor (meaning it goes to this first `<h1>`) and remove it.
Behavior should be the same, but at least now you can enjoy the `ctrl`-click :)
2018-11-22 17:38:27 +02:00
Martijn Cuppens
58943c0257
Sass precision documentation ( #27705 )
2018-11-21 20:51:47 +02:00
XhmikosR
73a98d9738
reboot: Fix mailto address ( #27700 )
2018-11-21 15:24:38 +02:00
XhmikosR
487bd521e3
docs: fix path to assets. ( #27696 )
2018-11-21 15:11:31 +02:00
Martijn Cuppens
c628921465
Use wrapping span instead of div ( #27695 )
2018-11-20 21:53:10 +02:00
XhmikosR
2b9af5e38c
Remove holder.js.
2018-11-20 21:31:28 +02:00
XhmikosR
369f03fbc5
Use the new include in examples too.
2018-11-20 21:31:28 +02:00
XhmikosR
2ac3db8384
Tweak placeholder.svg.
...
* always include the title
* make it possible to skip adding the title by passing `title=' '`
* remove viewBox since we don't need it
2018-11-20 21:31:28 +02:00
Martijn Cuppens
072b5ab7fd
Replace holder.js with SVGs.
2018-11-20 21:31:28 +02:00
XhmikosR
b04f97f60b
Replace anchor.js with jekyll-anchor-headings.
...
This allows us to generate the anchor links on build time.
https://github.com/allejo/jekyll-anchor-headings
2018-11-20 11:47:10 +02:00
Tieson Trowbridge
ab183384ee
Allows both OL and UL lists for tab buttons
2018-11-20 09:58:04 +01:00
ysds
7c8cd0f272
Add documentation about .text-decoration-none ( #27686 )
2018-11-20 09:08:34 +02:00
ysds
1fe56358e7
Add documentation about viewport sizing utilities ( #27688 )
2018-11-19 18:44:08 +01:00
ysds
38ca58bf3c
Add documentation about .font-weight-bolder/lighter ( #27678 )
2018-11-18 10:15:49 +02:00
Christian Oliff
4734a926e9
Enforce lowercase class name in .stylelintrc ( #27668 )
2018-11-17 14:01:16 +02:00
Iurii Kucherov
f83f4ae124
Update autoprefixer link to .browserslistrc
file ( #27675 )
2018-11-16 08:44:52 +02:00
XhmikosR
ea4db3f89d
Use fancy apostrophe in HTML files.
...
For Markdown files, this isn't needed because the Markdown converter takes care of this.
2018-11-15 15:55:21 +02:00
XhmikosR
fceee8d093
Dist
2018-11-13 08:47:32 +02:00
Mark Otto
220baef0d9
Clean up some docs for toasts
...
- Add headings to examples section
- Clarify styles and customization options in examples
- Add dismiss buttons to all toasts
- Missing period added for consistency
- Update roles, tweak text
2018-11-13 08:47:32 +02:00
Laussel LOïc
dc07e8dca8
Update toast documentation following pull #27155
...
Also remove close button everywhere just let it when autohide is set to false
2018-11-13 08:47:32 +02:00
Johann-S
557d5ac74d
Remove the show delay for our toast plugin
2018-11-13 08:47:32 +02:00
Laussel Loïc
4cac833447
Implement data-dismiss="toast"
to allow user to interact itself with the component ( #27155 )
2018-11-13 08:47:32 +02:00
Johann-S
2f81ab007c
Fix toast documentation page.
2018-11-13 08:47:32 +02:00
Mark Otto
d0652a1be9
Add new toasts component
2018-11-13 08:47:32 +02:00
Martijn Cuppens
696c4078d1
Customize browse text of the custom file input with HTML ( #27651 )
2018-11-13 08:30:17 +02:00
XhmikosR
dafb498f75
Spinners: show all color variants.
2018-11-13 08:21:57 +02:00
Mark Otto
52a86cc671
Add Bootstrap's very first spinners omfg it's actually happening
2018-11-13 08:21:57 +02:00
Christian Oliff
75e6253b0a
Update clipboard.js to v2.0.3 ( #27657 )
2018-11-12 18:46:21 +02:00
Patrick H. Lauke
e6a356a3ae
Minor/Docs: tweak accordion example heading level ( #27620 )
2018-11-11 09:12:29 +00:00
Martijn Cuppens
976efcd5ee
Allow to add more embed responsive ratios ( #25894 )
2018-11-11 11:04:04 +02:00
XhmikosR
9836a411e8
Redirect /extend/
to /extend/approach/
.
2018-11-11 10:59:43 +02:00
Martijn Cuppens
6cb6e6510c
Remove custom properties from examples so that they work in IE ( #27634 )
2018-11-11 10:52:06 +02:00
XhmikosR
bbe2b2349d
Dashboard example: update 3rd-party libs and use the same CDN.
2018-11-09 15:02:42 +02:00
XhmikosR
807c1b6d06
Add an examples layout.
...
Reduces duplication and makes maintenance easier.
2018-11-09 15:02:42 +02:00
Johann-S
1fdc7819cd
use bsCustomFileInput in our docs ( #27631 )
2018-11-08 17:22:45 +02:00
sts-ryan-holton
2df2cdd33d
Wrap checkboxes in .form-group
( #27624 )
2018-11-07 21:54:40 +01:00
ysds
8de915eded
Docs: Improve accessibility of disabled link example ( #27614 )
...
Add `tabindex="-1"` and `aria-disabled="true"` to disabled link
2018-11-06 10:47:59 +02:00
Martijn Cuppens
6e10ac276e
Increase readability card columns docs ( #27609 )
2018-11-05 21:08:13 +02:00
sts-ryan-holton
89eef046ef
Add new .rounded-pill
utility ( #27339 )
2018-11-05 19:19:00 +02:00
Martijn Cuppens
b67c6fb435
Use a badge for .text-wrap example
2018-11-04 15:55:17 +02:00
XhmikosR
366bc88523
Add text-wrap
example.
2018-11-04 15:55:17 +02:00
XhmikosR
eeea8b5ed3
docs: remove false info from v3 suggestion.
2018-11-03 21:59:11 +02:00
Patrick H. Lauke
8b20bce873
Add Sass variable for prefers-reduced-motion, add callout to affected components ( #27581 )
...
* Tweak the accessibility/reduced motion text
include mention of carousel slides, remove the (now inaccurate, as Firefox 63 includes it too) mention that support is limited to Safari/macOS
xref https://github.com/twbs/bootstrap/issues/27525
* Add new callout for reduced motion
* Add variable to control prefers-reduced-motion media query support
* Add callout about prefers-reduced-motion to all components currently using animation which are affected
2018-11-03 19:23:26 +01:00
XhmikosR
e0d1f3f18b
Remove the obsolete tooltip-viewport example and redirect it.
2018-11-02 12:55:28 +02:00
Sebastian Hädrich
4b15ec9cad
Make meaning of tooltip's selector
option clearer ( #27573 )
2018-11-01 15:05:02 +02:00
Martijn Cuppens
273861f145
IE10 homepage fix
2018-10-30 18:16:19 +02:00
XhmikosR
2b21657cd4
Remove trailing space.
2018-10-30 15:44:41 +02:00
XhmikosR
40e560aa12
docs: remove Webpack version reference.
2018-10-30 15:44:41 +02:00