aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-02-01Dropdown: dropdown doesn't document `data-bs-target` option & `parentNode` ↵GeoSot1-2/+1
is ALWAYS the wrapper for toggle & menu
2022-02-01Dropdown: merge instance identification in `dataApiKeydownHandler`GeoSot2-1/+21
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-02-01Remove incorrect statement about the disabled attribute on <form> (#35713)Toby Zerner1-1/+0
> 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.
2022-02-01Update devDependencies (#35743)XhmikosR2-778/+759
* 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
2022-01-30Change X to ExtraQuy1-1/+1
2022-01-30Dropdown: use only one check for shown stateGeoSot1-4/+4
2022-01-30Dropdown: get dropdown's parent in one placeGeoSot2-13/+8
2022-01-30More tooltip refactoring (#35546)GeoSot1-15/+25
* 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-30Move cspell to Actions (#35593)XhmikosR3-1113/+29
* Move cspell to Actions * Remove the now unused `docs-spellcheck` npm script
2022-01-30Change selector-engine.js `parents` method to utilize better js native ↵GeoSot1-9/+4
methods (#35684) Co-authored-by: XhmikosR <[email protected]>
2022-01-30Fix visual tests (#35585)XhmikosR11-86/+23
* Fix visual tests They broke in #34509 * load bundle.js in visual tests Co-authored-by: GeoSot <[email protected]>
2022-01-30Update cspell config (#35680)XhmikosR1-6/+9
* use `en-US` * scan all markdown files * ignore dist, rtl and tests files
2022-01-30Modal.js: remove unnecessary checks from testGeoSot1-4/+0
2022-01-30Modal: handle click event from backdrop callbackGeoSot3-27/+24
2022-01-30tests: replace 'done' callback with 'Promise' to fix deprecation errors (#35659)GeoSot20-6132/+6715
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.
2022-01-30Event handler: merge `new Event` with `new CustomEvent`GeoSot1-4/+1
2022-01-30Event handler: replace deprecated `initEvent`GeoSot4-15/+6
2022-01-29Move linkinator to GitHub Actions. (#35573)XhmikosR3-771/+14
* Move linkinator to GitHub Actions. * Remove `docs-linkinator` npm script since it's no longer used
2022-01-29docs: fix a couple typos found with codespell (#35733)Dimitri Papadopoulos Orfanos2-4/+4
Co-authored-by: XhmikosR <[email protected]>
2022-01-29SelectorEngine: remove moot spaceXhmikosR1-1/+1
2022-01-29Return early in more placesXhmikosR2-21/+25
2022-01-29dropdown: Move constantXhmikosR1-4/+2
2022-01-29collapse: merge class togglingGeoSot1-6/+1
2022-01-29event-handler.js: use `for...of`XhmikosR1-2/+2
2022-01-29Rename variablesXhmikosR15-116/+116
2022-01-29backdrop.js: cache `_getElement` callsXhmikosR1-4/+6
2022-01-29Remove a few unneeded variablesXhmikosR3-19/+12
2022-01-29docs: remove moot autocomplete attributes (#35741)A Web Artisan1-3/+3
2022-01-25Remove duplicate Octicons entry in icons listNeeraj Kumar Das1-3/+1
Update Octicons website
2022-01-25Fix spelling mistake in footer example (#35704)Kirill Zdornyy1-1/+1
2022-01-25Update devDependencies (#35712)XhmikosR2-329/+246
* @babel/core ^7.16.7 → ^7.16.12 * @babel/preset-env ^7.16.8 → ^7.16.11 * cspell ^5.15.2 → ^5.16.0 * karma ^6.3.11 → ^6.3.12 * rollup ^2.64.0 → ^2.66.0 * sass ^1.48.0 → ^1.49.0
2022-01-19Docs: group together reusable CSS for examples in a single stylesheet (#35649)Julien Déramond11-128/+44
* Docs: group together examples reusable CSS in a stylesheet * Use pointer-events utility in sidebars example * Remove @import and move the content into _default/examples.html. Handle 2 sorts of dividers * Remove footers.css extra css declaration * Fix modals example * Review: remove .b-example-hr Co-authored-by: Gaël Poupard <[email protected]>
2022-01-18Update devDependencies (#35686)XhmikosR2-416/+314
* bundlewatch ^0.3.2 → ^0.3.3 * cspell ^5.15.1 → ^5.15.2 * eslint ^8.6.0 → ^8.7.0 * eslint-plugin-unicorn ^40.0.0 → ^40.1.0 * hugo-bin ^0.79.2 → ^0.80.0 * karma ^6.3.10 → ^6.3.11 * rollup ^2.63.0 → ^2.64.0 * sass ^1.47.0 → ^1.48.0
2022-01-13README.md: mention Netlify (#35683)XhmikosR1-1/+7
* README.md: mention Netlify * Update README.md Co-authored-by: Gaël Poupard <[email protected]>
2022-01-13build-plugins.js: use globby package (#35586)XhmikosR3-5/+3
We already use it in the change-version.js file
2022-01-13Fix: `isVisible` function behavior in case of a `<details>` element, on ↵Ryan Berliner2-1/+56
chrome 97 (#35682)
2022-01-11Update cspell config (#35647)XhmikosR6-16/+12
* specify the files to scan in the config * enable `useGitignore` option * remove a few unneeded suppressions
2022-01-11Update devDependencies (#35678)XhmikosR3-358/+358
* @babel/cli ^7.16.7 → ^7.16.8 * @babel/preset-env ^7.16.7 → ^7.16.8 * @popperjs/core ^2.11.0 → ^2.11.2 * @rollup/plugin-node-resolve ^13.1.2 → ^13.1.3 * autoprefixer ^10.4.1 → ^10.4.2 * cspell ^5.14.0 → ^5.15.1 * karma ^6.3.9 → ^6.3.10 * rollup ^2.62.0 → ^2.63.0 * sass ^1.45.2 → ^1.47.0 * shelljs ^0.8.4 → ^0.8.5
2022-01-05fixed button text (#35656)Arslan Kalwar1-1/+1
Added button missing text
2022-01-05Fix custom-checkbox and custom-radio in migration doc (#35609)Sakurai Kenji1-2/+3
2022-01-05Remove explicit use of aria-hidden for offcanvas when closed (#35589)Patrick H. Lauke3-17/+71
Remove explicit use of aria-hidden & visibility for offcanvas when closed, handling it with css Co-authored-by: GeoSot <[email protected]> Co-authored-by: Gaël Poupard <[email protected]>
2022-01-05Fix offcanvas title in 'Enable body scrolling' example (#35621)Neeraj Kumar Das1-1/+1
2022-01-05Remove the useless class of the close button .text-resetzhangchenglin2-9/+9
2022-01-04Update nuget/bootstrap.png (#35641)XhmikosR1-0/+0
2022-01-04Update devDependencies (#35640)XhmikosR2-1478/+1205
* @babel/cli ^7.16.0 → ^7.16.7 * @babel/core ^7.16.5 → ^7.16.7 * @babel/preset-env ^7.16.5 → ^7.16.7 * @rollup/plugin-node-resolve ^13.1.1 → ^13.1.2 * @rollup/plugin-replace ^3.0.0 → ^3.0.1 * autoprefixer ^10.4.0 → ^10.4.1 * cspell ^5.13.4 → ^5.14.0 * eslint ^8.5.0 → ^8.6.0 * eslint-plugin-import ^2.25.3 → ^2.25.4 * eslint-plugin-unicorn ^39.0.0 → ^40.0.0 * sass ^1.45.1 → ^1.45.2
2022-01-03Bump copyright year to 2022 (#35639)XhmikosR15-26/+26
2021-12-28Update api.md (#35486)Anton1-2/+24
* Wording tweak * Tweak wording Co-authored-by: Patrick H. Lauke <[email protected]>
2021-12-28Update devDependencies (#35591)XhmikosR2-196/+154
* hugo-bin ^0.79.0 → ^0.79.2 * linkinator ^3.0.2 → ^3.0.3 * rollup ^2.61.1 → ^2.62.0 * stylelint ^14.1.0 → ^14.2.0 * stylelint-config-twbs-bootstrap ^3.0.0 → ^3.0.1
2021-12-23Add note to carousel crossfade docs about bg color (#35587)XhmikosR2-1/+2
Fixes #35181 Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Gaël Poupard <[email protected]>
2021-12-23Strengthen and expand note about dynamic tabs with dropdown menus (#35588)Patrick H. Lauke1-1/+3
following on from https://github.com/twbs/bootstrap/pull/35213 this - expands the note, making it clear it's not supported - makes it a callout