]> git.ipfire.org Git - thirdparty/bootstrap.git/log
thirdparty/bootstrap.git
3 years agoUpdate release-drafter.yml 35913/head
Mark Otto [Sat, 26 Feb 2022 19:17:42 +0000 (11:17 -0800)] 
Update release-drafter.yml

3 years agoupdate ionic link
Arhell [Sat, 26 Feb 2022 16:44:07 +0000 (18:44 +0200)] 
update ionic link

3 years agoPrefer Linux-specific fonts over Arial
Erik Faye-Lund [Wed, 21 Jul 2021 07:45:51 +0000 (09:45 +0200)] 
Prefer Linux-specific fonts over Arial

Some Linux distributions (like Debian) have fontconfig aliases for Arial
that picks specific fonts. But such generic aliases might be less
desirable than the known-good Linux specific fonts.

This fixes a problem on my setup where Liberation Sans is aliased as
Arial, even when Noto Sans is available. Liberation Sans doesn't support
a weight of 500, so we end up rendering headers at the normal weight of
400, which makes them stand out less. Reordering the Arial fallback
makes us instead pick Noto Sans over Lieration Sans, which does support
a weight of 500, and makes headers stand out again.

While we're at it, fixup the reboot documentation to match, and change
the comment about Helvetica Neue; that's not a "Basic web-fallback" font,
it's the UI font on older iOS and macOS versions.

3 years agomove theme-colors (vars+map) after color tints definitions
maks [Thu, 23 Dec 2021 12:58:25 +0000 (13:58 +0100)] 
move theme-colors (vars+map) after color tints definitions

In this way we can use color tints other than grays in our custom theme, w/o having to extend it later (e.g `$primary: $indigo-600;` ). This could be done in the project variables file, but i believe most developers just include a full local copy of  `scss/_variables.scss` before the the original `default` file and change the values the need (maybe also removing the !default flag) so that it's easier to track changes and custom values during upgrades.

3 years agodocs: add Tabler Icons to list of icon packs (#35497)
Paweł Kuna [Fri, 25 Feb 2022 21:38:23 +0000 (22:38 +0100)] 
docs: add Tabler Icons to list of icon packs (#35497)

* Add Tabler Icons to list of icons

* Update site/data/icons.yml

Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
3 years agoRemove border of disabled calendar buttons in Dropdowns example
Julien Déramond [Thu, 24 Feb 2022 07:04:10 +0000 (08:04 +0100)] 
Remove border of disabled calendar buttons in Dropdowns example

3 years agosrc/tooltip.js Optimization
Дилян Палаузов [Thu, 27 Jan 2022 08:43:27 +0000 (10:43 +0200)] 
src/tooltip.js Optimization

Util.findShadowRoot() returns either null or an object.

It cannot return falsy, which allows this optimization.

3 years agoAdd z-index for .toast-container (#35859)
Mark Otto [Fri, 25 Feb 2022 16:49:02 +0000 (08:49 -0800)] 
Add z-index for .toast-container (#35859)

* Add z-index for .toast-container

- Adds positioning and z-index to toast container so that it has a system-declared layer in relation to other components.
- Updates docs to use the class better

Fixes $34028

* Remove unnecessary z-index from docs examples

3 years agoUse all dropdowns CSS variables
Julien Déramond [Fri, 25 Feb 2022 14:38:51 +0000 (15:38 +0100)] 
Use all dropdowns CSS variables

3 years agoSeparate override for hr's in component examples
Mark Otto [Fri, 25 Feb 2022 00:49:10 +0000 (16:49 -0800)] 
Separate override for hr's in component examples

3 years agoBase .text-muted on body color
Mark Otto [Wed, 23 Feb 2022 23:58:35 +0000 (15:58 -0800)] 
Base .text-muted on body color

3 years ago`media-breakpoint-only` now passes `$breakpoints` int `breakpoint-max`. Fixes #35084.
Richard Giraud [Thu, 30 Sep 2021 17:18:52 +0000 (11:18 -0600)] 
`media-breakpoint-only` now passes `$breakpoints` int `breakpoint-max`.  Fixes #35084.

3 years agoMention form height change in migration guide
Mark Otto [Thu, 24 Feb 2022 02:45:54 +0000 (18:45 -0800)] 
Mention form height change in migration guide

3 years agoDocs: replace CSS by utilities in examples (#35699)
Julien Déramond [Wed, 23 Feb 2022 18:31:18 +0000 (19:31 +0100)] 
Docs: replace CSS by utilities in examples (#35699)

* Drop .opacity-50 and .opacity-75 redefinition in examples

* Drop unused .card-img-right from blog example CSS files

* Use line-height utilities when possible

* Use rounded-* utilities in examples

* Replace .nav-underline by .nav-scroller and use it in examples.html default

* Use .mb-1 for .blog-post-title

* Remove unused CSS rule and use .fw-* utilities for carousels examples

* Use utilities for cheatsheet examples

* Extract some CSS to utilities for .nav-masthead .nav-link in cover example

* Dashboard group of minor modifications

* Dropdowns example: refactoring

* Dropdowns example refactoring: fix linting by removing selector by id

* Features example refactoring

* Headers example refactoring

* List groups example refactoring

* Sidebars example refactoring

* Sign-in example refactoring

* Starter template refactoring

* Fix RTL examples

Co-authored-by: Mark Otto <markd.otto@gmail.com>
3 years agoReplace non-existent `--bs-btn-padding` by `--bs-btn-padding-{x|y}`
Julien Déramond [Wed, 23 Feb 2022 13:04:08 +0000 (14:04 +0100)] 
Replace non-existent `--bs-btn-padding` by `--bs-btn-padding-{x|y}`

3 years agoFix modal doc
chefarbeiter [Mon, 21 Feb 2022 16:13:42 +0000 (17:13 +0100)] 
Fix modal doc

3 years agoRely on `border-width` for `<hr>` size (#35491)
Gaël Poupard [Tue, 22 Feb 2022 08:02:47 +0000 (09:02 +0100)] 
Rely on `border-width` for `<hr>` size (#35491)

* fix(reboot): revert hr styles to v4 implementation

* docs(cheatsheet): add a hr example

* fix(reboot): currentColor is the initial border-color value

* Document hr element in Reboot docs

* Update migration guide

* Update scss/_variables.scss

Co-authored-by: Mark Otto <markd.otto@gmail.com>
3 years agoCI: add issues-helper (#35846)
xrkffgg [Tue, 22 Feb 2022 07:55:29 +0000 (15:55 +0800)] 
CI: add issues-helper (#35846)

3 years agoremove opacity utlitilies from example CSS (#35877)
Christian Oliff [Tue, 22 Feb 2022 07:39:57 +0000 (16:39 +0900)] 
remove opacity utlitilies from example CSS (#35877)

These are included in Bootstrap itself now

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
3 years agoUpdate devDependencies and pin karma-rollup-preprocessor (#35868)
XhmikosR [Tue, 22 Feb 2022 07:35:36 +0000 (09:35 +0200)] 
Update devDependencies and pin karma-rollup-preprocessor (#35868)

* @babel/cli                 ^7.17.0  →  ^7.17.6
* @babel/core                ^7.17.2  →  ^7.17.5
* eslint-plugin-unicorn      ^40.1.0  →  ^41.0.0
* rollup                     ^2.67.2  →  ^2.68.0
* sass                       ^1.49.7  →  ^1.49.8
* terser                     ^5.10.0  →  ^5.11.0

3 years agoDropdown: use a better selector to avoid triggering click if button is disabled ...
GeoSot [Sat, 19 Feb 2022 14:22:32 +0000 (16:22 +0200)] 
Dropdown: use a better selector to avoid triggering click if button is disabled (#35866)

3 years agoDropdown: use a combined selector to filter foreign not shown instances iteration...
GeoSot [Sat, 19 Feb 2022 14:16:51 +0000 (16:16 +0200)] 
Dropdown: use a combined selector to filter foreign not shown instances iteration (#35766)

3 years agotests: revisit all tests using Promise.reject instead of throwing an error (#35765)
GeoSot [Sat, 19 Feb 2022 14:08:16 +0000 (16:08 +0200)] 
tests: revisit all tests using Promise.reject instead of throwing an error (#35765)

3 years agoReplace AnchorJS with a Hugo render hook (#32953)
XhmikosR [Sat, 19 Feb 2022 13:16:23 +0000 (15:16 +0200)] 
Replace AnchorJS with a Hugo render hook (#32953)

* Replace AnchorJS with a Hugo render hook

* docs(anchors): improve aria-label on anchor links

* docs(anchors): show anchor link when ed

* docs(anchors): add hash in pseudo-element

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
3 years agoMake event name helper and use it on tooltip & popover to reduce dist sizes (#35856)
GeoSot [Sat, 19 Feb 2022 13:10:47 +0000 (15:10 +0200)] 
Make event name helper and use it on tooltip & popover to reduce dist sizes (#35856)

* feat: create eventName getter function in baseComponent

* refactor: use `eventName` getter on tooltip & popover

3 years agoCarousel: remove one more call to ActiveIndex
GeoSot [Fri, 10 Sep 2021 09:54:20 +0000 (12:54 +0300)] 
Carousel: remove one more call to  ActiveIndex

3 years agoCarousel: change argument to `_setActiveIndicatorElement`, from element to index
GeoSot [Fri, 10 Sep 2021 09:00:28 +0000 (12:00 +0300)] 
Carousel: change argument to `_setActiveIndicatorElement`, from element to index

3 years agoCarousel: make direct triggering of slid event, instead of using a callback
GeoSot [Sun, 30 Jan 2022 22:31:07 +0000 (00:31 +0200)] 
Carousel: make direct triggering of slid event, instead of using a callback

3 years agoCarousel: merge slide functionality, regardless of whether it is animated or not
GeoSot [Sun, 30 Jan 2022 22:22:33 +0000 (00:22 +0200)] 
Carousel: merge slide functionality, regardless of whether it is animated or not

3 years agoCarousel: simplify initialization on document load, using `getOrCreateInstance`
GeoSot [Fri, 10 Sep 2021 00:41:03 +0000 (03:41 +0300)] 
Carousel: simplify initialization on document load, using `getOrCreateInstance`

3 years agoCarousel: remove redundant config merge on `dataApiClickHandler`, as it is done by...
GeoSot [Thu, 9 Sep 2021 23:55:28 +0000 (02:55 +0300)] 
Carousel: remove redundant config merge on `dataApiClickHandler`, as it is done by default in the `constructor`

3 years agoApply list group numbering to all items (#35822)
Jann Westermann [Thu, 17 Feb 2022 23:17:37 +0000 (00:17 +0100)] 
Apply list group numbering to all items (#35822)

3 years agoAdd null modal-footer-bg variable (#35858)
Mark Otto [Thu, 17 Feb 2022 23:14:18 +0000 (15:14 -0800)] 
Add null modal-footer-bg variable (#35858)

Fixes #35782

3 years agoNew CSS variable for Navbars (#35829)
Louis-Maxime Piton [Thu, 17 Feb 2022 19:25:01 +0000 (20:25 +0100)] 
New CSS variable for Navbars (#35829)

* Adding a brand new CSS var

* Update scss/_variables.scss

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
3 years agoAdd !important property to colored links. (#35740)
Nudasoft [Thu, 17 Feb 2022 19:20:44 +0000 (00:50 +0530)] 
Add !important property to colored links. (#35740)

* Add !important property to colored links.

* Apply suggestions from code review

Co-authored-by: Mark Otto <otto@github.com>
3 years agocode indentation in readme
Alan Christian [Thu, 10 Feb 2022 14:11:24 +0000 (11:11 -0300)] 
code indentation in readme

3 years agoRename dropdown-shadow to dropdown-box-shadow for consistency
Mark Otto [Wed, 16 Feb 2022 16:50:50 +0000 (08:50 -0800)] 
Rename dropdown-shadow to dropdown-box-shadow for consistency

3 years agoConvert pagination component to CSS variables (#35399)
Mark Otto [Wed, 16 Feb 2022 18:26:24 +0000 (10:26 -0800)] 
Convert pagination component to CSS variables (#35399)

* Convert pagination component to CSS variables

* Use RFS mixin

* Remove the useless fallback

3 years agoFixed border radius var name and .show target
Eugene Kopyov [Tue, 15 Feb 2022 13:04:16 +0000 (14:04 +0100)] 
Fixed border radius var name and .show target

3 years agoUpdate devDependencies (#35841)
XhmikosR [Tue, 15 Feb 2022 06:50:37 +0000 (08:50 +0200)] 
Update devDependencies (#35841)

* Update devDependencies

* @babel/core             ^7.17.0  →  ^7.17.2
* @rollup/plugin-replace   ^3.0.1  →   ^3.1.0
* eslint                   ^8.8.0  →   ^8.9.0
* eslint-config-xo        ^0.39.0  →  ^0.40.0
* hugo-bin                ^0.80.1  →  ^0.80.2
* karma                   ^6.3.15  →  ^6.3.16
* rollup                  ^2.67.1  →  ^2.67.2

* Fix new ESLint errors

3 years agoConvert dropdowns to CSS variables
Mark Otto [Sun, 28 Nov 2021 10:56:37 +0000 (00:56 -1000)] 
Convert dropdowns to CSS variables

3 years agoRewrite custom docs buttons
Mark Otto [Wed, 9 Feb 2022 22:15:15 +0000 (14:15 -0800)] 
Rewrite custom docs buttons

- Use CSS variables wherever possible
- Rename purple-bright to violet for brevity, add CSS vars versions
- Rename download to accent

3 years agoTighten bundlewatch
Mark Otto [Wed, 8 Sep 2021 03:56:54 +0000 (06:56 +0300)] 
Tighten bundlewatch

3 years agoConvert .btn and mixins to use CSS variables
Mark Otto [Wed, 28 Jul 2021 04:36:12 +0000 (21:36 -0700)] 
Convert .btn and mixins to use CSS variables

3 years agoCorrect the horizontal padding on grid containers (#35825)
Mark Otto [Mon, 14 Feb 2022 23:07:17 +0000 (15:07 -0800)] 
Correct the horizontal padding on grid containers (#35825)

* Correct the horizontal padding on grid containers

* Don't halve the container-padding-x variable

3 years agoUpdate reboot.md
vpakati [Mon, 14 Feb 2022 03:20:47 +0000 (11:20 +0800)] 
Update reboot.md

Add the missing right parenthesis.

3 years agoFix typo in Badges CSS variables description
Julien Déramond [Fri, 11 Feb 2022 07:03:34 +0000 (08:03 +0100)] 
Fix typo in Badges CSS variables description

3 years agoFixes #32082
Mark Otto [Fri, 11 Feb 2022 03:57:59 +0000 (19:57 -0800)] 
Fixes #32082

Remove sentence in docs that's no longer needed. Fixes #32082.

3 years agoBump version callout
Mark Otto [Fri, 11 Feb 2022 00:19:29 +0000 (16:19 -0800)] 
Bump version callout

3 years agoBump bundlewatch
Mark Otto [Thu, 10 Feb 2022 00:13:13 +0000 (16:13 -0800)] 
Bump bundlewatch

3 years agoConvert .badge to CSS variables
Mark Otto [Wed, 17 Nov 2021 03:01:30 +0000 (19:01 -0800)] 
Convert .badge to CSS variables

3 years agoRemove remaining `.navbar-light` classes (#35814)
Julien Déramond [Wed, 9 Feb 2022 19:12:08 +0000 (20:12 +0100)] 
Remove remaining `.navbar-light` classes (#35814)

* Fix typo in CSS variables documentation

* Drop remaining .navbar-light classes

3 years agoAdd Spanish translation
Fabián Karaben [Wed, 26 Jan 2022 22:22:38 +0000 (19:22 -0300)] 
Add Spanish translation

The translation of version 5 of Bootstrap is added, by the Esdocu project.

3 years agoFix overriding styles of `.list-group-item-action`
Anton [Mon, 31 Jan 2022 21:54:39 +0000 (00:54 +0300)] 
Fix overriding styles of `.list-group-item-action`

~~~html
<style>
.list-group-item-action {color: blue;}
.list-group-item {color: red;}
</style>
<p class="list-group-item">red text!</p>
<p class="list-group-item list-group-item-action">still red text!</p>
~~~
because `.list-group-item` declared after `.list-group-item-action` (order in attribute `class` no effect)

3 years agoREADME: About release planning
Christopher Yeleighton [Mon, 7 Feb 2022 14:07:36 +0000 (15:07 +0100)] 
README: About release planning

3 years agoSupport floating labels on `.form-control-plaintext` (#32840)
Sebastian Podjasek [Tue, 8 Feb 2022 20:38:29 +0000 (21:38 +0100)] 
Support floating labels on `.form-control-plaintext` (#32840)

* Support floating labels on `.form-control-plaintext`

* Update floating-labels.md

* Apply suggestions from code review

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
3 years agoAdd `.form-check-reverse` modifier class (#33606)
Mark Otto [Tue, 8 Feb 2022 20:33:39 +0000 (12:33 -0800)] 
Add `.form-check-reverse` modifier class (#33606)

* Add .form-check-reverse modifier class

* Update checks-radios.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
3 years agobundlewatch
Mark Otto [Tue, 8 Feb 2022 18:18:07 +0000 (10:18 -0800)] 
bundlewatch

3 years agoAdd deprecation notice for .navbar-light
Mark Otto [Tue, 20 Jul 2021 04:13:39 +0000 (21:13 -0700)] 
Add deprecation notice for .navbar-light

3 years agoConvert navbar to CSS variables
Mark Otto [Wed, 7 Jul 2021 02:34:12 +0000 (19:34 -0700)] 
Convert navbar to CSS variables

Co-Authored-By: Gaël Poupard <ffoodd@users.noreply.github.com>
3 years agoUpdate devDependencies (#35798)
XhmikosR [Tue, 8 Feb 2022 07:21:59 +0000 (09:21 +0200)] 
Update devDependencies (#35798)

* @babel/cli                  ^7.16.8  →  ^7.17.0
* @babel/core                ^7.16.12  →  ^7.17.0
* karma                       ^6.3.13  →  ^6.3.15
* karma-rollup-preprocessor    ^7.0.7  →   ^7.0.8
* postcss                      ^8.4.5  →   ^8.4.6
* rollup                      ^2.66.1  →  ^2.67.1
* sass                        ^1.49.4  →  ^1.49.7

3 years agoOptimize jQueryInterface in Collapse (#35689)
Anton [Mon, 7 Feb 2022 08:50:26 +0000 (11:50 +0300)] 
Optimize jQueryInterface in Collapse (#35689)

extracts config initialization from cycle

3 years agopackage.json: add GitHub Sponsors and reorder properties (#35451)
XhmikosR [Mon, 7 Feb 2022 08:15:17 +0000 (10:15 +0200)] 
package.json: add GitHub Sponsors and reorder properties (#35451)

3 years agoFix empty content of tooltip after 'copy' action in docs (#35773)
GeoSot [Mon, 7 Feb 2022 08:05:43 +0000 (10:05 +0200)] 
Fix empty content of tooltip after 'copy' action in docs (#35773)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
3 years agoSet `cursor: default` on disabled `.form-check-label` (#35082)
The Fake Cake [Mon, 7 Feb 2022 07:55:44 +0000 (08:55 +0100)] 
Set `cursor: default` on disabled `.form-check-label` (#35082)

Fixes #35056

3 years agoAdd zebra striping for table columns
Macinto5h [Sun, 14 Mar 2021 19:07:24 +0000 (15:07 -0400)] 
Add zebra striping for table columns

Co-Authored-By: Macallan Camara <44030647+Macinto5h@users.noreply.github.com>
Co-Authored-By: XhmikosR <xhmikosr@gmail.com>
3 years agoMove `gap` utility API from "Flex" to "Spacing"
Ty Mick [Sun, 12 Dec 2021 17:19:19 +0000 (09:19 -0800)] 
Move `gap` utility API from "Flex" to "Spacing"

The `gap` utility is described on the [Spacing page][1] but is not
actually mentioned on the [Flex page][2] (apart from the [API
section][3]).

[1]: https://getbootstrap.com/docs/5.1/utilities/spacing/
[2]: https://getbootstrap.com/docs/5.1/utilities/flex/
[3]: https://getbootstrap.com/docs/5.1/utilities/flex/#utilities-api

3 years agoFixed typo in docs
Sigurd Moland Wahl [Thu, 3 Feb 2022 14:33:00 +0000 (15:33 +0100)] 
Fixed typo in docs

3 years agoFix dropdown docs about autoclose and esc key.
Florian Lacreuse [Thu, 3 Feb 2022 09:43:11 +0000 (10:43 +0100)] 
Fix dropdown docs about autoclose and esc key.

3 years agoBreadcrumb docs: drop confusing currentColor and add new callout (#35434)
Gaël Poupard [Tue, 1 Feb 2022 13:37:33 +0000 (14:37 +0100)] 
Breadcrumb docs: drop confusing currentColor and add new callout (#35434)

3 years agoUpdate find-unused-sass-variables to v4.0.1 (#35761)
XhmikosR [Tue, 1 Feb 2022 11:03:48 +0000 (13:03 +0200)] 
Update find-unused-sass-variables to v4.0.1 (#35761)

3 years agoevent-handler.js: remove unneeded return statement
XhmikosR [Thu, 18 Nov 2021 19:47:27 +0000 (21:47 +0200)] 
event-handler.js: remove unneeded return statement

3 years agoEvent-handler: use `Array.find` instead of `for`
GeoSot [Thu, 16 Dec 2021 11:43:36 +0000 (13:43 +0200)] 
Event-handler: use `Array.find` instead of `for`

3 years agoEvent-handler: initialize variable properly
GeoSot [Thu, 16 Dec 2021 11:25:23 +0000 (13:25 +0200)] 
Event-handler: initialize variable properly

3 years agoFix Popover test that randomly fails on BrowserStack (#35757)
GeoSot [Tue, 1 Feb 2022 08:33:18 +0000 (10:33 +0200)] 
Fix Popover test that randomly fails on BrowserStack (#35757)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
3 years agoDropdown: use destructured variables in `dataApyKeydownHandler`
GeoSot [Sun, 30 Jan 2022 22:09:13 +0000 (00:09 +0200)] 
Dropdown: use destructured variables in `dataApyKeydownHandler`

3 years agoDropdown: dropdown doesn't document `data-bs-target` option & `parentNode` is ALWAYS...
GeoSot [Sun, 30 Jan 2022 22:07:05 +0000 (00:07 +0200)] 
Dropdown: dropdown doesn't document `data-bs-target` option & `parentNode` is ALWAYS the wrapper for toggle & menu

3 years agoDropdown: merge instance identification in `dataApiKeydownHandler`
GeoSot [Sun, 30 Jan 2022 21:50:22 +0000 (23:50 +0200)] 
Dropdown: merge instance identification in `dataApiKeydownHandler`

As we use the `dataApiKeydownHandler` only for events that are triggered on `[data-bs-toggle="dropdown"]` or on `.dropdown-menu`, we can ensure that their `parentNode` will ALWAYS be the `.dropdown` wrapper

3 years agoRemove incorrect statement about the disabled attribute on <form> (#35713)
Toby Zerner [Tue, 1 Feb 2022 06:40:59 +0000 (17:40 +1100)] 
Remove incorrect statement about the disabled attribute on <form> (#35713)

> You can disable every form element within a form with the `disabled` attribute on the `<form>`.

I really want to be mistaken, because this would be a very useful feature! But I don't believe it's true. I can't find anything about this on MDN Web Docs, and adding the `disabled` attribute to a `<form>` does nothing on any browser in my testing.

The `disabled` attribute on a `<fieldset>` does disable all descendant form controls – perhaps that's where the mixup has come from.

3 years agoUpdate devDependencies (#35743)
XhmikosR [Tue, 1 Feb 2022 06:35:01 +0000 (08:35 +0200)] 
Update devDependencies (#35743)

* clean-css-cli   ^5.5.0  →   ^5.5.2
* cspell         ^5.16.0  →  ^5.17.0
* eslint          ^8.7.0  →   ^8.8.0
* hugo-bin       ^0.80.0  →  ^0.80.1
* karma          ^6.3.12  →  ^6.3.13
* rollup         ^2.66.0  →  ^2.66.1
* sass           ^1.49.0  →  ^1.49.4

3 years agoChange X to Extra
Quy [Thu, 27 Jan 2022 09:58:59 +0000 (01:58 -0800)] 
Change X to Extra

3 years agoDropdown: use only one check for shown state
GeoSot [Mon, 13 Dec 2021 00:17:03 +0000 (02:17 +0200)] 
Dropdown: use only one check for shown state

3 years agoDropdown: get dropdown's parent in one place
GeoSot [Mon, 13 Dec 2021 00:10:26 +0000 (02:10 +0200)] 
Dropdown: get dropdown's parent in one place

3 years agoMore tooltip refactoring (#35546)
GeoSot [Sun, 30 Jan 2022 15:39:03 +0000 (17:39 +0200)] 
More tooltip refactoring (#35546)

* Tooltip.js: move `shown` check to method

* Tooltip.js: move Popper's creation to method

* Tooltip.js: merge checks before `hide`

* Tooltip.js: minor refactoring on `toggle` method

3 years agoMove cspell to Actions (#35593)
XhmikosR [Sun, 30 Jan 2022 14:39:30 +0000 (16:39 +0200)] 
Move cspell to Actions (#35593)

* Move cspell to Actions

* Remove the now unused `docs-spellcheck` npm script

3 years agoChange selector-engine.js `parents` method to utilize better js native methods (...
GeoSot [Sun, 30 Jan 2022 14:24:03 +0000 (16:24 +0200)] 
Change selector-engine.js `parents` method to utilize better js native methods (#35684)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
3 years agoFix visual tests (#35585)
XhmikosR [Sun, 30 Jan 2022 14:12:24 +0000 (16:12 +0200)] 
Fix visual tests (#35585)

* Fix visual tests

They broke in #34509

* load bundle.js in visual tests

Co-authored-by: GeoSot <geo.sotis@gmail.com>
3 years agoUpdate cspell config (#35680)
XhmikosR [Sun, 30 Jan 2022 14:11:38 +0000 (16:11 +0200)] 
Update cspell config (#35680)

* use `en-US`
* scan all markdown files
* ignore dist, rtl and tests files

3 years agoModal.js: remove unnecessary checks from test
GeoSot [Wed, 15 Dec 2021 17:55:05 +0000 (19:55 +0200)] 
Modal.js: remove unnecessary checks from test

3 years agoModal: handle click event from backdrop callback
GeoSot [Wed, 15 Dec 2021 17:54:02 +0000 (19:54 +0200)] 
Modal: handle click event from backdrop callback

3 years agotests: replace 'done' callback with 'Promise' to fix deprecation errors (#35659)
GeoSot [Sun, 30 Jan 2022 12:30:04 +0000 (14:30 +0200)] 
tests: replace 'done' callback with 'Promise' to fix deprecation errors (#35659)

Reference:

https://jasmine.github.io/tutorials/async

'DEPRECATION: An asynchronous function called its 'done' callback more than once. This is a bug in the spec, beforeAll, beforeEach, afterAll, or afterEach function in question. This will be treated as an error in a future version. See<https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#deprecations-due-to-calling-done-multiple-times> for more information.

3 years agoEvent handler: merge `new Event` with `new CustomEvent`
GeoSot [Thu, 16 Dec 2021 11:24:16 +0000 (13:24 +0200)] 
Event handler: merge `new Event` with `new CustomEvent`

3 years agoEvent handler: replace deprecated `initEvent`
GeoSot [Thu, 16 Dec 2021 11:23:17 +0000 (13:23 +0200)] 
Event handler: replace deprecated `initEvent`

3 years agoMove linkinator to GitHub Actions. (#35573)
XhmikosR [Sat, 29 Jan 2022 12:42:56 +0000 (14:42 +0200)] 
Move linkinator to GitHub Actions. (#35573)

* Move linkinator to GitHub Actions.

* Remove `docs-linkinator` npm script since it's no longer used

3 years agodocs: fix a couple typos found with codespell (#35733)
Dimitri Papadopoulos Orfanos [Sat, 29 Jan 2022 11:30:02 +0000 (12:30 +0100)] 
docs: fix a couple typos found with codespell (#35733)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
3 years agoSelectorEngine: remove moot space
XhmikosR [Thu, 9 Dec 2021 19:52:39 +0000 (21:52 +0200)] 
SelectorEngine: remove moot space

3 years agoReturn early in more places
XhmikosR [Tue, 9 Nov 2021 13:44:14 +0000 (15:44 +0200)] 
Return early in more places

3 years agodropdown: Move constant
XhmikosR [Tue, 9 Nov 2021 13:43:02 +0000 (15:43 +0200)] 
dropdown: Move constant

3 years agocollapse: merge class toggling
GeoSot [Tue, 2 Nov 2021 14:40:34 +0000 (16:40 +0200)] 
collapse: merge class toggling

3 years agoevent-handler.js: use `for...of`
XhmikosR [Fri, 29 Oct 2021 07:38:52 +0000 (10:38 +0300)] 
event-handler.js: use `for...of`