Commit Graph

20299 Commits

Author SHA1 Message Date
XhmikosR 3e823e0b75
Dist (#32216) 2020-11-23 15:17:16 +02:00
Noah Rosenzweig 21737ed530
Improve build/generate-sri.js regex (#29753)
When using single-quotes in config.yml, the previous
regular expression in build/generate-cli.js wasn't working correctly,
it was replacing ALL string values with hashes.
Now both double- and single-quotes can be used in config.yml,
and the RegExp will work as expected.

Also, allow trailing whitespaces and empty ("") values to be matched.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-21 21:39:33 +02:00
XhmikosR d365831bce
docs: use `event` instead of `e` (#32226)
It's better for clarity.
2020-11-21 17:00:38 +02:00
XhmikosR f4457bca02
Be consistent with Popper's name. (#32224)
The npm package is named "popper.js" but the project is named "Popper", so use the latter consistently.
2020-11-21 16:22:08 +02:00
Rohit Sharma 358c36d4b5
Add missing tags in unit tests (#32221) 2020-11-20 20:10:15 +02:00
Rohit Sharma 0839cbf04d
Don't hide modal when keyboard is set to false in modal's configuration (#32179)
* Don't hide modal when config.keyboard is false

* Update unit test

- Modal should not be closed when pressing esc key if keyboard = false
  and backdrop is 'static'

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-20 15:36:24 +02:00
Rohit Sharma 2630b05eb3
Make the attribute methods bs specific (#32173)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-20 11:13:13 +02:00
XhmikosR a96b118f04
_reboot.scss: remove needless Stylelint disable (#32213) 2020-11-20 09:54:24 +02:00
XhmikosR 6637154beb
Revert "Use Hugo mounts for our docs vendor files." (#32210)
* Revert "Adapt to the recent main changes"

This reverts commit 50d8921670.

* Revert "Add Hugo Pipes logic for local and vendored scripts."

This reverts commit 3fcfd606f2.

* Revert "Use Hugo mounts for our docs vendor JS files."

This reverts commit 6b071116f3.
2020-11-19 21:09:34 +02:00
XhmikosR 50d8921670 Adapt to the recent main changes
* remove `bs-custom-file-input.min.js`
* switch to errorf
* change error message
2020-11-19 20:54:42 +02:00
Regis Philibert 3fcfd606f2 Add Hugo Pipes logic for local and vendored scripts. 2020-11-19 20:54:42 +02:00
XhmikosR 6b071116f3 Use Hugo mounts for our docs vendor JS files. 2020-11-19 20:54:42 +02:00
Gaël Poupard 268da84f16
fix(container): use $variable-prefix (#32201)
Missed that while merging.
2020-11-19 20:38:39 +02:00
XhmikosR 2185803964
Fix a few typos (#32204) 2020-11-19 20:32:35 +02:00
Martijn Cuppens 8f3c8a922a
Manually optimize SVGs (#32187) 2020-11-19 19:07:06 +01:00
XhmikosR 65d6c8a731
docs: update selector CodePen example (#32163) 2020-11-19 17:15:40 +02:00
XhmikosR 64a864075c
examples: add the version number in `title` (#32198) 2020-11-19 13:38:48 +02:00
Mark Otto 7fec0ec3d7 Update migration guide about w-100 2020-11-19 07:47:06 +02:00
XhmikosR ecbc7189b6 examples: fix `.btn-block` instances 2020-11-19 07:47:06 +02:00
Jiang Yan 5501df0c29
Docs: fix homepage npm install version (#32194) 2020-11-19 07:42:44 +02:00
Patrick H. Lauke 5ec6400bd0
Docs: change sidebar collapse controls to actual button elements (#31098)
apart from the visual styling, there's probably no good reason why these shouldn't be `<button>` elements, semantically

the buttons still look a shade too button-like, despite using `.btn-light`. the last remnant of button styling can probably be suppressed further, *or* this makes the case for expanding the core button styles to have one that looks completely non-button and non-link like (for cases where an additional style/hint was given already, or it's clear from context that something's an actionable button or link)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-18 20:20:05 +02:00
Matt Shaw de8dbd72d8
correct "breakpoint" typo (#32191)
breakpoing --> breakpoint
2020-11-18 18:15:28 +02:00
Kyle Tsang 39b9879aa2
docs: Add missing `.has-validation` class for input group example (#32162)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-18 13:08:26 +02:00
XhmikosR 2d4f1b272c
Update karma.conf.js (#32182)
When we are on CI, this statement won't be reached.
2020-11-18 13:06:04 +02:00
Gaël Poupard 2b0b3091a0
docs(dropdowns): clarify where is `.show` applied (#32189)
Fixes #32712
2020-11-18 12:50:55 +02:00
Gaël Poupard 1955ffc01e
Handle Chromium to run Karma (#32178)
* chore(karma): handle Chromium to run tests

* Update karma.conf.js

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-17 21:42:55 +02:00
Christian Oliff 5cda50e5bd
Fix the marker SVG color to match the button (#32174) 2020-11-17 16:53:50 +02:00
XhmikosR 9f211231b0
docs: use `expanded` Sass output style for development (#32176) 2020-11-17 16:43:36 +02:00
XhmikosR bec6eef971 skippy.html: reduce whitespace output 2020-11-17 16:35:32 +02:00
Tiger Oakes 4c9597ef7e Add baseof layout 2020-11-17 15:54:47 +02:00
Tiger Oakes 933b6510ca Move redirect layout into partial 2020-11-17 15:54:47 +02:00
dependabot[bot] ff405475a2
Bump postcss from 8.1.6 to 8.1.7 (#32171)
Bumps [postcss](https://github.com/postcss/postcss) from 8.1.6 to 8.1.7.
- [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.6...8.1.7)

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>
2020-11-17 15:22:19 +02:00
dependabot[bot] 2746df251a
Bump hugo-bin from 0.66.1 to 0.66.2 (#32169)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.66.1 to 0.66.2.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.66.1...v0.66.2)

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>
2020-11-17 15:17:17 +02:00
dependabot[bot] 0d6c89de95
Bump rollup from 2.33.1 to 2.33.2 (#32168)
Bumps [rollup](https://github.com/rollup/rollup) from 2.33.1 to 2.33.2.
- [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.33.1...v2.33.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-17 15:08:22 +02:00
XhmikosR 60c79b28aa
BrowserStack: test both on iPhone 7 and iPhone X (#32154) 2020-11-16 14:31:03 +02:00
XhmikosR b5a64ce60f
Switch to jsDelivr for the remaining docs assets (#32158) 2020-11-15 14:21:01 +02:00
XhmikosR 6316565fa9
popovers.md: unbreak line (#32153) 2020-11-14 15:59:35 +02:00
XhmikosR 12f510861b search.js: remove `window.location.origin` workaround 2020-11-14 15:54:50 +02:00
XhmikosR eaf616c653 Use `Array.find` instead of `Array.filter` 2020-11-14 15:54:50 +02:00
XhmikosR 53ec604eb1 Use `String.startsWith` 2020-11-14 15:54:50 +02:00
XhmikosR 6d7bc54d22 Switch to `Set#has()` 2020-11-14 15:54:50 +02:00
XhmikosR 2e758f64cf Switch to Number properties 2020-11-14 15:54:50 +02:00
XhmikosR b9f7668cf6 Switch to `String.includes()` 2020-11-14 15:54:50 +02:00
XhmikosR 470e99ed5f
tooltip.js: deduplicate `_fixTitle()` (#32124) 2020-11-14 15:43:25 +02:00
Gaël Poupard 44fef1677b
Simplify make-container() (#31735) 2020-11-14 14:33:10 +01:00
XhmikosR 4f8b243ac1
Fix `.close` instances (#32152) 2020-11-14 08:16:30 +02:00
XhmikosR f39666b61c Move migration notes 2020-11-14 07:09:15 +02:00
Rohit Sharma e530118117 Get only bs prefixed data attributes 2020-11-14 07:09:15 +02:00
XhmikosR a7f04e9595 Update the remaining files 2020-11-14 07:09:15 +02:00
Mark Otto b38110aa7d Add note in migration.md 2020-11-14 07:09:15 +02:00