| Age | Commit message (Collapse) | Author | Files | Lines |
|
Enforce ES5 for tests
|
|
- add unit test to count how many events are thrown when widget contains multiple tags inside label
- add a parameter to toggle, if click event is provided onto an input then don't trigger another change event already thrown by the browser
- simplify the case where toggle interface is called click provide from input itself OR it's a button without label. If label is present, then browser propagate click event from childrens through label and then cause multiple calls to toggle
- the test assumes that `.btn` class is always set onto the label if there's one, otherwise need to update this plugin and look for label around the input
Test with keyboard, mouse and js click call
Co-authored-by: XhmikosR <[email protected]>
|
|
|
|
|
|
|
|
|
|
* @rollup/plugin-node-resolve 8.1.0
* popper.js 1.16.1
* qunit 2.10.1
* rollup 2.21.0
|
|
|
|
|
|
|
|
Remove the class `.nav-item` from `.nav-link` inside the non `ul` or `ol` based navs.
This makes the consistency for `.nav-item` (This class will not be required on the `.nav-link`).
`.nav-item` was only required when you use `.nav-fill` or `.nav-justified` on the `.nav`. In other cases, it was redundant. And the purpose of `.nav-item` on `.nav-link`s can be achieved via flexbox utilities as well (Mentioned in the docs also).
|
|
* instead of stopping event if onclick is triggered on input, call toggle method only if its not on checkbox inside a label
* add unit test
* add a dedicated test to ensure click event is forward to label
Co-authored-by: XhmikosR <[email protected]>
|
|
|
|
Add role="dialog" in modals via JavaScript
|
|
Update to `@rollup/plugin-babel`
|
|
Add a test about the scrollbar issue on non-integer width
|
|
|
|
|
|
|
|
|
|
|
|
Remove caret element
|
|
|
|
Add aria-role presentation on li element when ul element has role tablist and remove dropdown from visual tests as they've been removed from doc
|
|
|
|
|
|
fix: ensure totype always return stringified null when null passed
|
|
|
|
* sinon 8.x doesn't work with IE, so leave it at 7.x.
|
|
Close modal with keyboard=true & backdrop=static
|
|
|
|
|
|
dropdown show method should do the same as toggle
|
|
dropdown - destroy old popper.js references
|
|
allow to pass popper.js configuration for tooltip/popover and dropdown
|
|
allow dynamic modal body for scrollable modals
|
|
|
|
* Ensure correct active class is set on button toggles/checkboxes/radios on page load
Sanity check, ensures that the UI visually matches the actual values/states of controls. Also ensures that if any autocomplete/autofill happened, this is visually accounted for
by having the correct class set.
Includes unit tests (and `autocomplete` has been removed from these as it's no longer necessary)
* Remove now unnecessary autocomplete attribute
As the attribute was there to force/ensure that the visual presentation matched the state, and this is now taken care of programmatically, there's no need to unnecessarily suppress autocomplete...let them autocomplete if they want to...
|
|
Backport of the unit test from https://github.com/twbs/bootstrap/pull/28928
|
|
* Don't open dropdown on ESC on trigger element
Closes #28751
|
|
- adds more defensive checks to make sure no unnecessary toggling happens on disabled buttons; this also fixes an up-to-now undiscovered bug where a toggle button with `.disabled` class would still have its `aria-pressed` toggled
- adds a set of explicit tests for the above case of disabled buttons and `aria-pressed`
- remove a now irrelevant (or at least very nonsensical) test for `<label>` containing both an actionable and a `hidden` `<input>`
- expand the test for disabled checkbox to also explicitly test starting conditions (used mainly in my debugging)
- ensure that `$btn[0].click()` is used to click checkboxes in tests, rather than the `click()` on the jquery object which is simply a shorthand for `trigger('click')` and does not actually trigger the browser default behavior
- remove the `preventDefault()` from the button handling, which was preventing correct keyboard functionality for checkboxes/radio buttons
- add extra logic to the button.js code to handle checkboxes correctly and avoid double-triggering as a result of mouse interactions (which saw the checkboxes being toggled twice, thus returning them to their original state)
- add logic that prevents the `checked` property from being added incorrectly for any inputs other than radio buttons and checkboxes
- added more tests (including the most basic test for a properly triggered fake checkbox button)
- work around Firefox bug #1540995 (which this code was hitting after removing the `preventDefault()`, due to Firefox's incorrect toggling of disabled checkboxes when programmatically (but not manually) activated with a `click()` event
|
|
Toast should allow prevent default for hide and show events
|
|
* Documentation tweaks
* Remove redundant `col-12` classes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|