]> git.ipfire.org Git - thirdparty/bootstrap.git/log
thirdparty/bootstrap.git
5 years agoMove states docs and rewrite to match existing examples
Mark Otto [Mon, 9 Nov 2020 04:05:22 +0000 (20:05 -0800)] 
Move states docs and rewrite to match existing examples

5 years agoAdd hover utilities
Nikita Mikhaylov [Mon, 14 Sep 2020 05:33:31 +0000 (08:33 +0300)] 
Add hover utilities

remome several hobers

refactoring hover utilities

refactoring hover utilities

5 years agoRename scale-color() function to shift-color() to avoid collision with Sass's own...
Mark Otto [Fri, 13 Nov 2020 18:50:59 +0000 (10:50 -0800)] 
Rename scale-color() function to shift-color() to avoid collision with Sass's own color function (#32149)

5 years agoapplication.js: remove non-existent selector (#32131)
XhmikosR [Fri, 13 Nov 2020 16:56:04 +0000 (18:56 +0200)] 
application.js: remove non-existent selector (#32131)

5 years agoAdd hyphen between Sass and based (#32134)
Jonathan [Fri, 13 Nov 2020 16:49:55 +0000 (17:49 +0100)] 
Add hyphen between Sass and based (#32134)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoexample.html: remove extra whitespace (#32143)
XhmikosR [Fri, 13 Nov 2020 10:45:11 +0000 (12:45 +0200)] 
example.html: remove extra whitespace (#32143)

If we don't pass `class` to the `placeholder` shortcode, this resulted in two spaces before the `alt` attribute:

```html
{{< example >}}
{{< placeholder width="64" height="64" >}}
{{< /example >}}
```

```html
<img src="..."  alt="...">
```

5 years agoUpdate floating-labels.md (#32139)
Dylan Anderson [Thu, 12 Nov 2020 16:12:42 +0000 (09:12 -0700)] 
Update floating-labels.md (#32139)

Fixed grammar error.

5 years agoFix caniuse.com URLS to prevent redirects (#32135)
Christian Oliff [Thu, 12 Nov 2020 13:01:00 +0000 (22:01 +0900)] 
Fix caniuse.com URLS to prevent redirects (#32135)

Shorter URLS which are faster as they avoid HTTP redirects

5 years agoPrepare v5.0.0-alpha3 (#32122) v5.0.0-alpha3
XhmikosR [Wed, 11 Nov 2020 17:07:37 +0000 (19:07 +0200)] 
Prepare v5.0.0-alpha3 (#32122)

5 years agobrowsers-devices: add `chomp` (#32116)
XhmikosR [Wed, 11 Nov 2020 16:29:18 +0000 (18:29 +0200)] 
browsers-devices: add `chomp` (#32116)

This is to remove any trailing newlines in the `.browserslistrc` shortcode

5 years agoUse correct value order (#32121)
Martijn Cuppens [Wed, 11 Nov 2020 16:27:12 +0000 (17:27 +0100)] 
Use correct value order (#32121)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoMinor improvements to the Alpha 3 changelog (#32126)
Christian Oliff [Wed, 11 Nov 2020 16:22:42 +0000 (01:22 +0900)] 
Minor improvements to the Alpha 3 changelog (#32126)

Small changes for improved consistency

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agomasthead: add newlines in the snippets and reindent (#32129)
XhmikosR [Wed, 11 Nov 2020 16:18:47 +0000 (18:18 +0200)] 
masthead: add newlines in the snippets and reindent (#32129)

* Update masthead-followup.html

* Update single.html

5 years agoBump autoprefixer from 10.0.1 to 10.0.2 (#32119)
dependabot[bot] [Tue, 10 Nov 2020 15:18:18 +0000 (17:18 +0200)] 
Bump autoprefixer from 10.0.1 to 10.0.2 (#32119)

Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.0.1 to 10.0.2.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.0.1...10.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoClarify JS bundle docs one more time (#32105)
Mark Otto [Tue, 10 Nov 2020 07:35:40 +0000 (23:35 -0800)] 
Clarify JS bundle docs one more time (#32105)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoBump hugo-bin from 0.65.0 to 0.66.1 (#32114)
dependabot[bot] [Tue, 10 Nov 2020 07:22:16 +0000 (09:22 +0200)] 
Bump hugo-bin from 0.65.0 to 0.66.1 (#32114)

Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.65.0 to 0.66.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.65.0...v0.66.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoBump postcss from 8.1.4 to 8.1.6 (#32113)
dependabot[bot] [Tue, 10 Nov 2020 07:18:46 +0000 (09:18 +0200)] 
Bump postcss from 8.1.4 to 8.1.6 (#32113)

Bumps [postcss](https://github.com/postcss/postcss) from 8.1.4 to 8.1.6.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.1.4...8.1.6)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump eslint from 7.12.1 to 7.13.0 (#32112)
dependabot[bot] [Tue, 10 Nov 2020 07:13:43 +0000 (09:13 +0200)] 
Bump eslint from 7.12.1 to 7.13.0 (#32112)

Bumps [eslint](https://github.com/eslint/eslint) from 7.12.1 to 7.13.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.12.1...v7.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump sass from 1.28.0 to 1.29.0 (#32111)
dependabot[bot] [Tue, 10 Nov 2020 07:13:01 +0000 (09:13 +0200)] 
Bump sass from 1.28.0 to 1.29.0 (#32111)

Bumps [sass](https://github.com/sass/dart-sass) from 1.28.0 to 1.29.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.28.0...1.29.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agodocs.html: replace backslashes with forward slashes (#32102)
XhmikosR [Mon, 9 Nov 2020 18:47:55 +0000 (20:47 +0200)] 
docs.html: replace backslashes with forward slashes (#32102)

This resulted in wrong links when building the docs on Windows.

5 years agomodal.html: use `textContent` (#32101)
XhmikosR [Mon, 9 Nov 2020 18:47:33 +0000 (20:47 +0200)] 
modal.html: use `textContent` (#32101)

We are not handling any HTML

5 years agosearch.js: check for `search-input` element early (#32100)
XhmikosR [Mon, 9 Nov 2020 18:47:02 +0000 (20:47 +0200)] 
search.js: check for `search-input` element early (#32100)

5 years agosearch.js: use the current v5.getbootstrap.com URL (#32099)
XhmikosR [Mon, 9 Nov 2020 18:39:56 +0000 (20:39 +0200)] 
search.js: use the current v5.getbootstrap.com URL (#32099)

5 years agopackage.json: fix clean-css level switch (#32097)
XhmikosR [Mon, 9 Nov 2020 18:36:42 +0000 (20:36 +0200)] 
package.json: fix clean-css level switch (#32097)

5 years agokarma.conf.js: break lines (#32093)
XhmikosR [Mon, 9 Nov 2020 18:33:20 +0000 (20:33 +0200)] 
karma.conf.js: break lines (#32093)

5 years agoDrop `.btn-block` classes, replace with utilities (#31995)
Mark Otto [Mon, 9 Nov 2020 09:27:20 +0000 (01:27 -0800)] 
Drop `.btn-block` classes, replace with utilities (#31995)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years ago[Docs] Changes to navbar documentation/explanation (#32090)
Patrick H. Lauke [Mon, 9 Nov 2020 05:18:17 +0000 (05:18 +0000)] 
[Docs] Changes to navbar documentation/explanation (#32090)

* Expand "external content" section for navbar

- rephrase the intro to make a bit more sense
- add note about dangers of focus/reading order problems

* Remove pointless intro sentence

* Small wording changes/additions/fixes

5 years agoAdd .gap utilities (#32074)
Mark Otto [Sun, 8 Nov 2020 18:56:02 +0000 (10:56 -0800)] 
Add .gap utilities (#32074)

* Add gap utilities

* Update .bundlewatch.config.json

* Revamp headings on this page for better organization

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoAdd checks to fix color contrast issues (#32085)
Martijn Cuppens [Sun, 8 Nov 2020 18:49:26 +0000 (19:49 +0100)] 
Add checks to fix color contrast issues (#32085)

5 years agoPartially revert "Move this to a partial to work around the stray `p` issue." (#32076)
XhmikosR [Sun, 8 Nov 2020 18:36:46 +0000 (20:36 +0200)] 
Partially revert "Move this to a partial to work around the stray `p` issue." (#32076)

This partially reverts commit 23ddfa99a33c81916666326e0cfd2582dacfca44.

5 years agodownload.md: link to JS files comparison too (#32087)
XhmikosR [Sun, 8 Nov 2020 18:33:04 +0000 (20:33 +0200)] 
download.md: link to JS files comparison too (#32087)

5 years agoconfig.yml: remove the unused "expo" parameter (#32086)
XhmikosR [Sun, 8 Nov 2020 18:32:32 +0000 (20:32 +0200)] 
config.yml: remove the unused "expo" parameter (#32086)

5 years agoreboot.md: mention "Liberation Sans" (#32084)
XhmikosR [Sun, 8 Nov 2020 18:31:19 +0000 (20:31 +0200)] 
reboot.md: mention "Liberation Sans" (#32084)

5 years ago_variables.scss: reorder SVG attributes
XhmikosR [Fri, 6 Nov 2020 09:00:11 +0000 (11:00 +0200)] 
_variables.scss: reorder SVG attributes

This results in slightly better gzip compression

5 years agoShade color for better color contrast
Martijn Cuppens [Thu, 5 Nov 2020 20:26:01 +0000 (21:26 +0100)] 
Shade color for better color contrast

5 years agoFix missing border & add transitions
Martijn Cuppens [Thu, 5 Nov 2020 20:18:38 +0000 (21:18 +0100)] 
Fix missing border & add transitions

5 years agoRemove default transform-origin per code review
Mark Otto [Tue, 3 Nov 2020 20:56:38 +0000 (12:56 -0800)] 
Remove default transform-origin per code review

5 years agoUpdate relative position hack for layers
Mark Otto [Tue, 3 Nov 2020 20:56:24 +0000 (12:56 -0800)] 
Update relative position hack for layers

Switches to slightly more verbose, but more consistent, z-index layering we use elsewhere (e.g., pagination). Doing this ensures we're not toggling position on and off, but rather z-index.

5 years agoAdd dedicated accordion component based on Collapse JS
Mark Otto [Mon, 2 Nov 2020 19:36:51 +0000 (21:36 +0200)] 
Add dedicated accordion component based on Collapse JS

5 years agoAdd .d-grid to our display utilities (#32066)
Mark Otto [Fri, 6 Nov 2020 12:35:17 +0000 (04:35 -0800)] 
Add .d-grid to our display utilities (#32066)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agostylelint: pass the ` --rd` flag (#32063)
XhmikosR [Fri, 6 Nov 2020 10:00:03 +0000 (12:00 +0200)] 
stylelint: pass the ` --rd` flag (#32063)

* stylelint: pass the ` --rd` flag

Should report any needless disables

* Update _button-group.scss

* Update _floating-labels.scss

5 years agoRemove firefox workaround for ::file-selector-button margin. (#32064)
Emilio Cobos Álvarez [Fri, 6 Nov 2020 08:46:49 +0000 (09:46 +0100)] 
Remove firefox workaround for ::file-selector-button margin. (#32064)

As per https://bugzilla.mozilla.org/show_bug.cgi?id=1673895,
this workaround shouldn't be necessary in FF83+.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoAdd keyboard shortcut to focus search field (#31702)
Mark Otto [Thu, 5 Nov 2020 16:56:02 +0000 (08:56 -0800)] 
Add keyboard shortcut to focus search field (#31702)

* Documentation: Add slash key event to focus the input search.

* Add little tag for keyboard shortcut in the search field

* Use ctrl / as keyboard shortcut

* Update search.js

Co-authored-by: chuckrincon <chuckrincon@gmail.com>
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoTighten bundlewatch limits.
XhmikosR [Tue, 3 Nov 2020 13:40:16 +0000 (15:40 +0200)] 
Tighten bundlewatch limits.

5 years agoRemove the now unneeded polyfills.
XhmikosR [Mon, 26 Oct 2020 14:39:23 +0000 (16:39 +0200)] 
Remove the now unneeded polyfills.

5 years agoDrop Legacy Edge support.
XhmikosR [Mon, 26 Oct 2020 14:09:07 +0000 (16:09 +0200)] 
Drop Legacy Edge support.

This allows us to move forward without being held back. Microsoft already replaces the Legacy Edge with the new one on supported Windows versions.

5 years agoBig copy edits and testing
Mark Otto [Tue, 3 Nov 2020 18:44:03 +0000 (10:44 -0800)] 
Big copy edits and testing

Moves the remote utilities section to the using the api section and updates the code snippet to work. Previous one removed all utilities.

5 years agodocs: add info on modifying and adding utilities
Luke-zhang-04 [Sun, 19 Jul 2020 18:08:41 +0000 (21:08 +0300)] 
docs: add info on modifying and adding utilities

5 years agoEditing and formatting utilities API page
Mark Otto [Mon, 2 Nov 2020 17:03:15 +0000 (19:03 +0200)] 
Editing and formatting utilities API page

5 years agodeps: move sirv-cli to npx (#32056)
XhmikosR [Wed, 4 Nov 2020 18:35:03 +0000 (20:35 +0200)] 
deps: move sirv-cli to npx (#32056)

5 years agoForm file docs and overrides (#32058)
Gaël Poupard [Tue, 3 Nov 2020 17:22:35 +0000 (18:22 +0100)] 
Form file docs and overrides (#32058)

5 years agodropdown.js: simplify code (#32055)
XhmikosR [Tue, 3 Nov 2020 14:43:20 +0000 (16:43 +0200)] 
dropdown.js: simplify code (#32055)

5 years agoUpdate devDependencies (#32048)
XhmikosR [Tue, 3 Nov 2020 09:38:26 +0000 (11:38 +0200)] 
Update devDependencies (#32048)

* hugo-bin                ^0.64.5  →  ^0.65.0
* karma-firefox-launcher   ^2.0.0  →   ^2.1.0
* linkinator               ^2.2.0  →   ^2.2.2
* postcss-cli              ^8.1.0  →   ^8.2.0
* rollup                  ^2.32.1  →  ^2.33.1
* sass                    ^1.27.1  →  ^1.28.0

5 years agoMake docs anchorjs links darker on keyboard focus (#32050)
Patrick H. Lauke [Mon, 2 Nov 2020 20:55:41 +0000 (20:55 +0000)] 
Make docs anchorjs links darker on keyboard focus (#32050)

* Make docs anchorjs links darker on keyboard focus

Not just on mouse hover

* Update site/assets/scss/_anchor.scss

Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
5 years agoAdd callouts about using light colors ideally on a dark background (#32040)
Patrick H. Lauke [Mon, 2 Nov 2020 20:39:49 +0000 (20:39 +0000)] 
Add callouts about using light colors ideally on a dark background (#32040)

* Add callout about using light colors ideally on a dark background

* Add callout to helpers > colored links as well

5 years agotests: tweak Jasmine usage (#32046)
XhmikosR [Mon, 2 Nov 2020 14:13:24 +0000 (16:13 +0200)] 
tests: tweak Jasmine usage (#32046)

* jasmine/expect-matcher
* jasmine/prefer-jasmine-matcher

Found with `eslint-plugin-jasmine`

5 years agotests: fix sanitizer test. (#32045)
XhmikosR [Mon, 2 Nov 2020 12:49:56 +0000 (14:49 +0200)] 
tests: fix sanitizer test. (#32045)

The test template does not include a `script` tag so the test always returned true.

5 years agotests: switch to using `toContain()` to check for substring presence (#32043)
XhmikosR [Mon, 2 Nov 2020 12:42:40 +0000 (14:42 +0200)] 
tests: switch to using `toContain()` to check for substring presence (#32043)

5 years agoESLint: enable new-cap rule but ignore properties (#32036)
XhmikosR [Sun, 1 Nov 2020 14:31:11 +0000 (16:31 +0200)] 
ESLint: enable new-cap rule but ignore properties (#32036)

5 years agokarma: stop excluding polyfill.js from istanbul (#30740)
XhmikosR [Sun, 1 Nov 2020 13:52:24 +0000 (15:52 +0200)] 
karma: stop excluding polyfill.js from istanbul (#30740)

5 years agoStreamline jQuery comment. (#32016)
XhmikosR [Sun, 1 Nov 2020 13:49:51 +0000 (15:49 +0200)] 
Streamline jQuery comment. (#32016)

5 years agoFix TypeError when Bootstrap is included in `head` (#32024)
Sascha [Sun, 1 Nov 2020 13:32:36 +0000 (14:32 +0100)] 
Fix TypeError when Bootstrap is included in `head` (#32024)

* extend jquery after domContentLoaded event is fired

* add unittest for util onDOMContentLoaded

* wait for trigger jquery event after domContentLoaded

* remove domcontentready from eventHandler

* move istanbul ignore statements to correct line

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoCheck for data-interval on the first slide of carousel (#31818)
Mitchell Bryson [Sun, 1 Nov 2020 12:36:50 +0000 (12:36 +0000)] 
Check for data-interval on the first slide of carousel (#31818)

* check for data-interval on the first slide of carousel

* add updateInterval method for elements of a carousel

* add test for carousel interval being set during cycle

* update activeElement as soon as slide has finished (before transition end)

* only updateInterval before using it

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoCODE_OF_CONDUCT.md: fix redirect (#32033)
XhmikosR [Sun, 1 Nov 2020 12:30:36 +0000 (14:30 +0200)] 
CODE_OF_CONDUCT.md: fix redirect (#32033)

5 years agoClarify PRs section (#32027)
XhmikosR [Sun, 1 Nov 2020 05:42:19 +0000 (07:42 +0200)] 
Clarify PRs section (#32027)

5 years agopolyfill.js minor tweaks (#32011)
XhmikosR [Sun, 1 Nov 2020 05:38:55 +0000 (07:38 +0200)] 
polyfill.js minor tweaks (#32011)

* rename function to `supportsScopeQuery`
* use a ternary in `findOne` function return value

5 years agoUpdate instances of .font-weight to .fw
Mark Otto [Sat, 31 Oct 2020 17:27:30 +0000 (10:27 -0700)] 
Update instances of .font-weight to .fw

5 years agoAdd class name so the utility generates
Mark Otto [Sat, 31 Oct 2020 17:27:17 +0000 (10:27 -0700)] 
Add class name so the utility generates

5 years agoLint: stop ignoring package.js (#32021)
XhmikosR [Sat, 31 Oct 2020 07:30:57 +0000 (09:30 +0200)] 
Lint: stop ignoring package.js (#32021)

5 years agotoast.spec.js: fix typo (#32026)
XhmikosR [Sat, 31 Oct 2020 07:25:33 +0000 (09:25 +0200)] 
toast.spec.js: fix typo (#32026)

5 years agoContrast colors added to theme-colors (#30044)
Sead Memic [Sat, 31 Oct 2020 06:21:31 +0000 (07:21 +0100)] 
Contrast colors added to theme-colors (#30044)

* Contrast colors added to theme-colors

* redundant colors removed froms docs, theme-colors refactor

* Add spaces for consistency

* Adapt to the recent changes

Co-authored-by: Sead Memic <sead.memic@intracto.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoUpdated .rounded utilities (#31687)
Mark Otto [Fri, 30 Oct 2020 20:42:11 +0000 (13:42 -0700)] 
Updated .rounded utilities (#31687)

* Updated rounded utilities to fix scale, but not rename anything else

* Rename rounded-pill to border-radius-pill to match

Also reorder some variables while I'm here to make more sense

* Updated rounded utilities to fix scale, but not rename anything else

* Rename rounded-pill to border-radius-pill to match

Also reorder some variables while I'm here to make more sense

* Small copy addition

* Add example modifier class for spacing

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoFix color heights (#32023)
Martijn Cuppens [Fri, 30 Oct 2020 20:36:44 +0000 (21:36 +0100)] 
Fix color heights (#32023)

5 years agoAdd `cursor:pointer` to color inputs (#32020)
Patrick H. Lauke [Fri, 30 Oct 2020 18:03:07 +0000 (18:03 +0000)] 
Add `cursor:pointer` to color inputs (#32020)

* Add `cursor:pointer` for color inputs

* Add to migration guide

5 years agoFix redirects (#32015)
XhmikosR [Fri, 30 Oct 2020 14:24:45 +0000 (16:24 +0200)] 
Fix redirects (#32015)

5 years agoUpdate Edge's Rendering Engine on CONTRIBUTING.md (#32008)
Christian Oliff [Fri, 30 Oct 2020 05:33:31 +0000 (14:33 +0900)] 
Update Edge's Rendering Engine on CONTRIBUTING.md (#32008)

* Update Edge's Rendering Engine on CONTRIBUTING.md

Also updated the URL to prevent a HTTP redirect.

* Add 'Go to "Help > Send Feedback" from the browser' note

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoRemove obsolete prefixes (#32012)
XhmikosR [Fri, 30 Oct 2020 05:29:48 +0000 (07:29 +0200)] 
Remove obsolete prefixes (#32012)

5 years agoCI: switch to Node.js 14. (#32003)
XhmikosR [Thu, 29 Oct 2020 17:38:31 +0000 (19:38 +0200)] 
CI: switch to Node.js 14. (#32003)

5 years agoCI: Skip dependabot PR branches. (#32006)
XhmikosR [Thu, 29 Oct 2020 17:26:15 +0000 (19:26 +0200)] 
CI: Skip dependabot PR branches. (#32006)

Also, reword Node.js setup step

5 years agoMinor Markdown fixes (#32009)
XhmikosR [Thu, 29 Oct 2020 17:05:39 +0000 (19:05 +0200)] 
Minor Markdown fixes (#32009)

* add missing language after fenced block
* add missing end of file newline

5 years agoRevert "clean-css: specify precision 6"
XhmikosR [Thu, 29 Oct 2020 07:36:15 +0000 (09:36 +0200)] 
Revert "clean-css: specify precision 6"

5 years agoclean-css: specify precision 6
XhmikosR [Wed, 23 Sep 2020 08:15:28 +0000 (11:15 +0300)] 
clean-css: specify precision 6

This is so that we get the same behavior for our minified files since dart-sass doesn't have a precision option and defaults to 10.

5 years agoSwitch to dart-sass
XhmikosR [Wed, 23 Sep 2020 08:13:24 +0000 (11:13 +0300)] 
Switch to dart-sass

node-sass is now deprecated

5 years agoUpdate to postcss 8.x. (#31739)
XhmikosR [Thu, 29 Oct 2020 13:23:43 +0000 (15:23 +0200)] 
Update to postcss 8.x. (#31739)

* autoprefixer 10.0.1
* find-unused-sass-variables 3.0.0
* postcss 8.1.4
* postcss-cli 8.1.0

5 years agoRemove explicit heights on form elements (#31993)
Martijn Cuppens [Thu, 29 Oct 2020 13:18:39 +0000 (14:18 +0100)] 
Remove explicit heights on form elements (#31993)

* Remove explicit heights

* Link to upstream bug

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoRemove bugreport.apple.com since it doesn't work (#32005)
Martijn Cuppens [Thu, 29 Oct 2020 10:32:56 +0000 (11:32 +0100)] 
Remove bugreport.apple.com since it doesn't work (#32005)

5 years agoUse the same font on the button as on the field itself
Martijn Cuppens [Wed, 28 Oct 2020 14:03:41 +0000 (15:03 +0100)] 
Use the same font on the button as on the field itself

5 years agoFix Firefox padding issue
Martijn Cuppens [Sun, 25 Oct 2020 13:16:28 +0000 (14:16 +0100)] 
Fix Firefox padding issue

Caused by https://searchfox.org/mozilla-central/rev/0b7007a23bc16c857f894140e12f307bfeef2fdd/layout/style/res/forms.css#494

5 years agoDrop custom file upload plugin in favor of CSS
Martijn Cuppens [Thu, 22 Oct 2020 13:20:53 +0000 (15:20 +0200)] 
Drop custom file upload plugin in favor of CSS

5 years agov5: Floating labels (#30449)
Mark Otto [Wed, 28 Oct 2020 03:45:48 +0000 (20:45 -0700)] 
v5: Floating labels (#30449)

* v5: Promote floating labels example to component

- Adds new .form-floating
- Stubs out basics of a docs page
- Removes existing Example

* Update floating labels to support .form-select, make inputs and selects more consistent

- To do this, I made the .form-control and .form-select consistent in min-height vs height
- Removed some unused variables now
- Updated -color to be the -color because I don't know why this was any different before
- Update page to include some examples for layout, validation, and value
- Rewrite styles to not modify padding, but instead transform and opacity

* Streamline and bulletproof some things

- Apply some optimizations from code review
- Removed unecessary properties from the label
- Add some comments for what properties are required
- Move from fixed height for labels to height 100% so we can support textareas
- Improve docs a little bit, add ToC

* Move some values to variables, switch from scaling font-size to scale, update transforms

* Bring over changes from #30966 and add to them to tighten things up

* Delete the now unused example images

* Fix typo

* Allowlist the calc function

* Add transform-origin, update transform values

* Test out autofill fix

* Fix linter issue

* Mention it in the migration guide

* Bump bundlesize

* Add one more variable per review

* Shave .25rem off the height

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoAdd example with input group between two inputs
Jonathan [Tue, 27 Oct 2020 09:14:49 +0000 (10:14 +0100)] 
Add example with input group between two inputs

5 years agoBump eslint from 7.11.0 to 7.12.1 (#31990)
dependabot[bot] [Tue, 27 Oct 2020 10:09:01 +0000 (12:09 +0200)] 
Bump eslint from 7.11.0 to 7.12.1 (#31990)

Bumps [eslint](https://github.com/eslint/eslint) from 7.11.0 to 7.12.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.11.0...v7.12.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump @rollup/plugin-node-resolve from 9.0.0 to 10.0.0 (#31989)
dependabot[bot] [Tue, 27 Oct 2020 10:04:19 +0000 (12:04 +0200)] 
Bump @rollup/plugin-node-resolve from 9.0.0 to 10.0.0 (#31989)

Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 9.0.0 to 10.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v9.0.0...node-resolve-v10.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump @rollup/plugin-commonjs from 15.1.0 to 16.0.0 (#31988)
dependabot[bot] [Tue, 27 Oct 2020 09:51:57 +0000 (11:51 +0200)] 
Bump @rollup/plugin-commonjs from 15.1.0 to 16.0.0 (#31988)

Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 15.1.0 to 16.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v15.1.0...commonjs-v16.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump karma-firefox-launcher from 1.3.0 to 2.0.0 (#31987)
dependabot[bot] [Tue, 27 Oct 2020 09:51:09 +0000 (11:51 +0200)] 
Bump karma-firefox-launcher from 1.3.0 to 2.0.0 (#31987)

Bumps [karma-firefox-launcher](https://github.com/karma-runner/karma-firefox-launcher) from 1.3.0 to 2.0.0.
- [Release notes](https://github.com/karma-runner/karma-firefox-launcher/releases)
- [Changelog](https://github.com/karma-runner/karma-firefox-launcher/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-firefox-launcher/compare/v1.3.0...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump rollup from 2.32.0 to 2.32.1 (#31985)
dependabot[bot] [Tue, 27 Oct 2020 09:46:50 +0000 (11:46 +0200)] 
Bump rollup from 2.32.0 to 2.32.1 (#31985)

Bumps [rollup](https://github.com/rollup/rollup) from 2.32.0 to 2.32.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.32.0...v2.32.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoFix git conflicts after #30571 (#31982)
Martijn Cuppens [Tue, 27 Oct 2020 09:36:58 +0000 (10:36 +0100)] 
Fix git conflicts after #30571 (#31982)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agolist-group.md: fix snippet (#31981)
XhmikosR [Tue, 27 Oct 2020 09:24:28 +0000 (11:24 +0200)] 
list-group.md: fix snippet (#31981)

5 years agov5: Add .fs-* utilities for font-size and rename font-weight/-style utilities (#30571)
Mark Otto [Mon, 26 Oct 2020 23:42:07 +0000 (16:42 -0700)] 
v5: Add .fs-* utilities for font-size and rename font-weight/-style utilities (#30571)

* v5: Add .fs-* utilities for font-size

- Adds new font-sizes Sass map
- Generates six new classes for setting only font-size
- Updates docs to mention this, including a scss-docs reference

* Update font utilities

- Make .fs-* utils for font-size use RFS
- Rename .font-weight-* utils to .fw-*
- Rename .font-style-* utils to .f-*
- Update order of utilities a bit
- Update docs to match

* Update migration docs to make note of these changes

* Be more specific in font-size docs about scale

* Update font-style abbreviation to .fst

* Fix font-weight property

* Formatting & font style utility fix

* Move to Alpha 3 migration section

* Update migration guide for more details, splitting alpha 2 stuff back to the appropriate section in Migration guide

* Tweak language on example

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
5 years agoUpdate migration guide
Martijn Cuppens [Sat, 24 Oct 2020 16:45:14 +0000 (18:45 +0200)] 
Update migration guide