Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-01 | Modal: refactor listeners to reduce some code noise (#35902) | GeoSot | |
2022-03-01 | Carousel: simplify carousel items selection | GeoSot | |
We already know that carousel's parent is the carousel element, so we can use it explicitly | |||
2022-03-01 | Carousel: move `carouselInterface` inside `jqueryInterface` | GeoSot | |
2022-03-01 | Carousel: move logic of `dataApiClickHandler` | GeoSot | |
2022-03-01 | Carousel: refactor dataApiKeyHandler to avoid use of `carouselInterface` | GeoSot | |
2022-03-01 | Dropdown: Simplify dataKeyApiHandler (#35870) | GeoSot | |
* Dropdown.js: Remove duplicated check for `Not Shown` instance * Dropdown.js: Rearrange `dataApiKeydownHandler` checks * Dropdown: do some fixup inside `dataApiKeydownHandler` * Update dropdown.js Co-authored-by: XhmikosR <xhmikosr@gmail.com> | |||
2022-03-01 | Add centered dropdown and dropup options | Mark Otto | |
2022-02-25 | src/tooltip.js Optimization | Дилян Палаузов | |
Util.findShadowRoot() returns either null or an object. It cannot return falsy, which allows this optimization. | |||
2022-02-19 | Dropdown: use a better selector to avoid triggering click if button is ↵ | GeoSot | |
disabled (#35866) | |||
2022-02-19 | Dropdown: use a combined selector to filter foreign not shown instances ↵ | GeoSot | |
iteration (#35766) | |||
2022-02-19 | Make event name helper and use it on tooltip & popover to reduce dist sizes ↵ | GeoSot | |
(#35856) * feat: create eventName getter function in baseComponent * refactor: use `eventName` getter on tooltip & popover | |||
2022-02-19 | Carousel: remove one more call to ActiveIndex | GeoSot | |
2022-02-19 | Carousel: change argument to `_setActiveIndicatorElement`, from element to index | GeoSot | |
2022-02-19 | Carousel: make direct triggering of slid event, instead of using a callback | GeoSot | |
2022-02-19 | Carousel: merge slide functionality, regardless of whether it is animated or not | GeoSot | |
2022-02-19 | Carousel: simplify initialization on document load, using `getOrCreateInstance` | GeoSot | |
2022-02-19 | Carousel: remove redundant config merge on `dataApiClickHandler`, as it is ↵ | GeoSot | |
done by default in the `constructor` | |||
2022-02-07 | Optimize jQueryInterface in Collapse (#35689) | Anton | |
extracts config initialization from cycle | |||
2022-02-01 | event-handler.js: remove unneeded return statement | XhmikosR | |
2022-02-01 | Event-handler: use `Array.find` instead of `for` | GeoSot | |
2022-02-01 | Event-handler: initialize variable properly | GeoSot | |
2022-02-01 | Dropdown: use destructured variables in `dataApyKeydownHandler` | GeoSot | |
2022-02-01 | Dropdown: dropdown doesn't document `data-bs-target` option & `parentNode` ↵ | GeoSot | |
is ALWAYS the wrapper for toggle & menu | |||
2022-02-01 | Dropdown: merge instance identification in `dataApiKeydownHandler` | GeoSot | |
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 | |||
2022-01-30 | Dropdown: use only one check for shown state | GeoSot | |
2022-01-30 | Dropdown: get dropdown's parent in one place | GeoSot | |
2022-01-30 | More tooltip refactoring (#35546) | GeoSot | |
* 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 | |||
2022-01-30 | Change selector-engine.js `parents` method to utilize better js native ↵ | GeoSot | |
methods (#35684) Co-authored-by: XhmikosR <xhmikosr@gmail.com> | |||
2022-01-30 | Modal: handle click event from backdrop callback | GeoSot | |
2022-01-30 | Event handler: merge `new Event` with `new CustomEvent` | GeoSot | |
2022-01-30 | Event handler: replace deprecated `initEvent` | GeoSot | |
2022-01-29 | SelectorEngine: remove moot space | XhmikosR | |
2022-01-29 | Return early in more places | XhmikosR | |
2022-01-29 | dropdown: Move constant | XhmikosR | |
2022-01-29 | collapse: merge class toggling | GeoSot | |
2022-01-29 | event-handler.js: use `for...of` | XhmikosR | |
2022-01-29 | Rename variables | XhmikosR | |
2022-01-29 | backdrop.js: cache `_getElement` calls | XhmikosR | |
2022-01-29 | Remove a few unneeded variables | XhmikosR | |
2022-01-13 | Fix: `isVisible` function behavior in case of a `<details>` element, on ↵ | Ryan Berliner | |
chrome 97 (#35682) | |||
2022-01-05 | Remove explicit use of aria-hidden for offcanvas when closed (#35589) | Patrick H. Lauke | |
Remove explicit use of aria-hidden & visibility for offcanvas when closed, handling it with css Co-authored-by: GeoSot <geo.sotis@gmail.com> Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com> | |||
2021-12-21 | Carousel: move repeated code to a method | GeoSot | |
2021-12-21 | Carousel: remove always true `visibilityState` check | GeoSot | |
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-21 | Carousel: move carousel default interval to `_getConfig()` and simplify it | GeoSot | |
2021-12-21 | Carousel: return early and drop a loop. | GeoSot | |
We can achieve the same thing by querying the specific selector directly | |||
2021-12-21 | Carousel: add a helper to get the active element | GeoSot | |
2021-12-21 | Popover/Tooltip: Fix vertical alignment on arrow of tip elements (#35527) | GeoSot | |
Regression of #32692 Co-authored-by: XhmikosR <xhmikosr@gmail.com> | |||
2021-12-18 | Fix typo in comment (#35564) | Phil E. Taylor | |
s/moddal/modal | |||
2021-12-15 | Tooltip: remove extraneous call to _getConfig() (#35540) | GeoSot | |
BaseClass already initializes the config Co-authored-by: XhmikosR <xhmikosr@gmail.com> | |||
2021-12-15 | Popover.js: Accept empty content through `data-bs-content` (#35514) | GeoSot | |
Co-authored-by: XhmikosR <xhmikosr@gmail.com> |