aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-12-21Carousel: move repeated code to a methodGeoSot2-13/+15
2021-12-21Carousel: remove always true `visibilityState` checkGeoSot1-4/+2
According to https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilityState `visibilityState` is always a string, so the check was always true
2021-12-21Carousel: move carousel default interval to `_getConfig()` and simplify itGeoSot1-7/+7
2021-12-21Carousel: return early and drop a loop.GeoSot1-13/+11
We can achieve the same thing by querying the specific selector directly
2021-12-21Carousel: add a helper to get the active elementGeoSot1-4/+8
2021-12-21Popover/Tooltip: Fix vertical alignment on arrow of tip elements (#35527)GeoSot1-1/+10
Regression of #32692 Co-authored-by: XhmikosR <[email protected]>
2021-12-21docs: add reference to sticky-xxl utils (#35579)Kyle Tsang1-0/+2
Co-authored-by: XhmikosR <[email protected]>
2021-12-21fix(docs): typo in Alerts CSS Variables description (#35575)Julien Déramond1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2021-12-21Update devDependencies (#35545)XhmikosR3-405/+629
* cspell ^5.13.3 → ^5.13.4 * eslint ^8.4.1 → ^8.5.0 * hugo-bin ^0.78.1 → ^0.79.0 * linkinator ^2.16.2 → ^3.0.2 * sass ^1.45.0 → ^1.45.1 * stylelint-config-twbs-bootstrap ^3.0.0-beta1 → ^3.0.0
2021-12-20fix(alerts): ensure color is set and used (#35571)Gaël Poupard1-1/+2
2021-12-18docs: A fix for CSS Variables and some proposal (#35563)Louis-Maxime Piton5-39/+35
* docs: Fix CSS variables sections * Minor fix for dropdowns * Minor fixes for URLs Co-authored-by: XhmikosR <[email protected]>
2021-12-18Fix typo in comment (#35564)Phil E. Taylor1-1/+1
s/moddal/modal
2021-12-17Convert alerts to CSS variables (#35401)Mark Otto4-12/+36
Co-authored-by: XhmikosR <[email protected]>
2021-12-16Add missing `border-radius` for `btn-group` (#35467)Andy Jiang1-0/+2
Co-authored-by: XhmikosR <[email protected]>
2021-12-16Add sticky bottom utility (#35518)Florian Lacreuse5-7/+42
Co-authored-by: XhmikosR <[email protected]>
2021-12-16docs: Use param to set Bootstrap version in Contents page (#35556)Julien Déramond1-1/+1
2021-12-15build/postcss.config.js: minor tweaks (#35506)XhmikosR1-9/+9
2021-12-15Tooltip: remove extraneous call to _getConfig() (#35540)GeoSot1-2/+1
BaseClass already initializes the config Co-authored-by: XhmikosR <[email protected]>
2021-12-15Popover.js: Accept empty content through `data-bs-content` (#35514)GeoSot2-15/+31
Co-authored-by: XhmikosR <[email protected]>
2021-12-15Scrollspy: minor refactoring (#35512)XhmikosR1-31/+16
* reorder variables * join lines * use `filter(Boolean)` since it's clearer * use `for...of`
2021-12-15Reprocess inline SVGs with the latest SVGO (#35484)XhmikosR1-4/+4
2021-12-14docs: Add responsive variations for align-content-between (#35532)Ty Mick1-0/+1
Co-authored-by: XhmikosR <[email protected]>
2021-12-14Update stylelint and stylelint-config-twbs-bootstrap (#35438)XhmikosR16-1891/+233
2021-12-14Update devDependencies (#35498)XhmikosR2-1296/+1041
* @babel/core ^7.16.0 → ^7.16.5 * @babel/preset-env ^7.16.4 → ^7.16.5 * @rollup/plugin-node-resolve ^13.0.6 → ^13.1.1 * clean-css-cli ^5.4.2 → ^5.5.0 * cspell ^5.13.2 → ^5.13.3 * hugo-bin ^0.77.4 → ^0.78.1 * postcss ^8.4.4 → ^8.4.5 * postcss-cli ^9.0.2 → ^9.1.0 * rollup ^2.60.2 → ^2.61.1 * sass ^1.44.0 → ^1.45.0
2021-12-10Extract Component config functionality to a separate class (#33872)GeoSot18-240/+283
Co-authored-by: XhmikosR <[email protected]>
2021-12-10JS tests: only test one Node.js version (#35481)XhmikosR1-8/+3
2021-12-10Tab: minor refactoring (#35511)XhmikosR1-12/+5
* remove unneeded parentheses * move variable
2021-12-10util/index.js: minor refactoring (#35510)XhmikosR1-27/+25
* rename variables * remove an unused variable * be more explicit * reuse variable
2021-12-10Toast: join multiple classList calls (#35507)XhmikosR1-9/+3
2021-12-09Fix tests fixture type (#35501)XhmikosR5-30/+32
Previously we were adding an Array instead of a String
2021-12-09Scrollbar - remove margin/padding properties properly (#35388)GeoSot1-7/+8
Co-authored-by: XhmikosR <[email protected]>
2021-12-09Dropdown: fix toggle focus after dropdown is hidden using the `ESC` button ↵GeoSot2-0/+29
(#35500)
2021-12-09ScrollBar.js. Minor refactoring and add test (#35492)GeoSot2-13/+38
2021-12-07Fix variable name in form overview docs (#35468)Alexander Gitter1-2/+2
These variables are called $input-btn-*, the documentation was erroneously talking about $btn-input-*. Co-authored-by: XhmikosR <[email protected]>
2021-12-07Replace inline styles in example "Dropdowns" (#35483)Anton1-9/+9
2021-12-07Tooltip: remove title attribute before show & add tests (#35456)GeoSot2-3/+33
2021-12-07Fix typo in $purples (#35466)Alexander Gitter1-2/+2
Co-authored-by: XhmikosR <[email protected]>
2021-12-07Bump cspell from 5.13.1 to 5.13.2 (#35473)dependabot[bot]2-68/+68
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 5.13.1 to 5.13.2. - [Release notes](https://github.com/streetsidesoftware/cspell/releases) - [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md) - [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.13.1...v5.13.2) --- updated-dependencies: - dependency-name: cspell dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-07Update devDependencies (#35472)XhmikosR2-94/+109
2021-12-03Docs offcanvas navbar (#34487)Mark Otto7-59/+89
* Redesign docs navbar to use offcanvas, tweak overall padding while I'm here * Match code snippets to new gutter width * Replace value with docs-specific variable Opted not to do a CSS variable here since on .bd-content it would be inherited into our examples Co-authored-by: XhmikosR <[email protected]>
2021-12-02CI: add `workflow_dispatch` (#35454)XhmikosR9-0/+9
2021-12-02README.md: wrap file contents in a `details` element (#35452)XhmikosR1-1/+4
Co-authored-by: Mark Otto <[email protected]>
2021-12-02Tests: Minor fixes (#35455)Louis-Maxime Piton7-25/+26
2021-12-01Tooltip/Popover: add underscore prefix to protected functionsGeoSot4-48/+48
2021-12-01Tooltip: a simple code-block position changeGeoSot1-16/+16
2021-12-01Tooltip: simplify popper checkGeoSot1-1/+1
2021-12-01Tooltip: refactor `_hoverState` to Boolean to achieve better controlGeoSot1-15/+12
2021-12-01Tooltip: merge timeout functionalityGeoSot1-16/+7
2021-12-01Tooltip: Change `_enter` & `_leave` to work without argumentsGeoSot2-48/+42
2021-12-01Tooltip: Remove redundant `config.delay` checkGeoSot1-2/+2
`config.delay` is always an object after initialization