]>
git.ipfire.org Git - thirdparty/bootstrap.git/log
XhmikosR [Tue, 2 Nov 2021 11:04:29 +0000 (13:04 +0200)]
Move ESLint config to an override
Johann-S [Wed, 17 Feb 2021 07:22:44 +0000 (09:22 +0200)]
Be SSR friendly when accessing DOM objects
GeoSot [Sun, 30 Jan 2022 22:09:13 +0000 (00:09 +0200)]
Dropdown: use destructured variables in `dataApyKeydownHandler`
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
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
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.
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
Quy [Thu, 27 Jan 2022 09:58:59 +0000 (01:58 -0800)]
Change X to Extra
GeoSot [Mon, 13 Dec 2021 00:17:03 +0000 (02:17 +0200)]
Dropdown: use only one check for shown state
GeoSot [Mon, 13 Dec 2021 00:10:26 +0000 (02:10 +0200)]
Dropdown: get dropdown's parent in one place
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
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
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>
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>
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
GeoSot [Wed, 15 Dec 2021 17:55:05 +0000 (19:55 +0200)]
Modal.js: remove unnecessary checks from test
GeoSot [Wed, 15 Dec 2021 17:54:02 +0000 (19:54 +0200)]
Modal: handle click event from backdrop callback
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.
GeoSot [Thu, 16 Dec 2021 11:24:16 +0000 (13:24 +0200)]
Event handler: merge `new Event` with `new CustomEvent`
GeoSot [Thu, 16 Dec 2021 11:23:17 +0000 (13:23 +0200)]
Event handler: replace deprecated `initEvent`
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
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>
XhmikosR [Thu, 9 Dec 2021 19:52:39 +0000 (21:52 +0200)]
SelectorEngine: remove moot space
XhmikosR [Tue, 9 Nov 2021 13:44:14 +0000 (15:44 +0200)]
Return early in more places
XhmikosR [Tue, 9 Nov 2021 13:43:02 +0000 (15:43 +0200)]
dropdown: Move constant
GeoSot [Tue, 2 Nov 2021 14:40:34 +0000 (16:40 +0200)]
collapse: merge class toggling
XhmikosR [Fri, 29 Oct 2021 07:38:52 +0000 (10:38 +0300)]
event-handler.js: use `for...of`
XhmikosR [Fri, 29 Oct 2021 07:38:35 +0000 (10:38 +0300)]
Rename variables
XhmikosR [Sat, 9 Oct 2021 18:50:21 +0000 (21:50 +0300)]
backdrop.js: cache `_getElement` calls
XhmikosR [Sat, 9 Oct 2021 18:49:49 +0000 (21:49 +0300)]
Remove a few unneeded variables
A Web Artisan [Sat, 29 Jan 2022 11:20:01 +0000 (12:20 +0100)]
docs: remove moot autocomplete attributes (#35741)
Neeraj Kumar Das [Tue, 18 Jan 2022 09:50:53 +0000 (15:20 +0530)]
Remove duplicate Octicons entry in icons list
Update Octicons website
Kirill Zdornyy [Tue, 25 Jan 2022 10:06:50 +0000 (02:06 -0800)]
Fix spelling mistake in footer example (#35704)
XhmikosR [Tue, 25 Jan 2022 10:03:42 +0000 (12:03 +0200)]
Update devDependencies (#35712)
* @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
Julien Déramond [Wed, 19 Jan 2022 11:27:57 +0000 (12:27 +0100)]
Docs: group together reusable CSS for examples in a single stylesheet (#35649)
* 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 <ffoodd@users.noreply.github.com>
XhmikosR [Tue, 18 Jan 2022 05:09:40 +0000 (07:09 +0200)]
Update devDependencies (#35686)
* 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
XhmikosR [Thu, 13 Jan 2022 12:52:07 +0000 (14:52 +0200)]
README.md: mention Netlify (#35683)
* README.md: mention Netlify
* Update README.md
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
XhmikosR [Thu, 13 Jan 2022 11:12:10 +0000 (13:12 +0200)]
build-plugins.js: use globby package (#35586)
We already use it in the change-version.js file
Ryan Berliner [Thu, 13 Jan 2022 08:55:05 +0000 (03:55 -0500)]
Fix: `isVisible` function behavior in case of a `<details>` element, on chrome 97 (#35682)
XhmikosR [Tue, 11 Jan 2022 09:17:12 +0000 (11:17 +0200)]
Update cspell config (#35647)
* specify the files to scan in the config
* enable `useGitignore` option
* remove a few unneeded suppressions
XhmikosR [Tue, 11 Jan 2022 08:32:18 +0000 (10:32 +0200)]
Update devDependencies (#35678)
* @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
Arslan Kalwar [Wed, 5 Jan 2022 17:44:22 +0000 (22:44 +0500)]
fixed button text (#35656)
Added button missing text
Sakurai Kenji [Wed, 5 Jan 2022 17:24:59 +0000 (02:24 +0900)]
Fix custom-checkbox and custom-radio in migration doc (#35609)
Patrick H. Lauke [Wed, 5 Jan 2022 17:20:15 +0000 (17:20 +0000)]
Remove explicit use of aria-hidden for offcanvas when closed (#35589)
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>
Neeraj Kumar Das [Wed, 5 Jan 2022 17:01:05 +0000 (22:31 +0530)]
Fix offcanvas title in 'Enable body scrolling' example (#35621)
zhangchenglin [Sun, 2 Jan 2022 16:26:05 +0000 (00:26 +0800)]
Remove the useless class of the close button .text-reset
XhmikosR [Tue, 4 Jan 2022 07:40:53 +0000 (09:40 +0200)]
Update nuget/bootstrap.png (#35641)
XhmikosR [Tue, 4 Jan 2022 07:26:50 +0000 (09:26 +0200)]
Update devDependencies (#35640)
* @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
XhmikosR [Mon, 3 Jan 2022 13:03:42 +0000 (15:03 +0200)]
Bump copyright year to 2022 (#35639)
Anton [Tue, 28 Dec 2021 12:38:35 +0000 (15:38 +0300)]
Update api.md (#35486)
* Wording tweak
* Tweak wording
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
XhmikosR [Tue, 28 Dec 2021 06:16:16 +0000 (08:16 +0200)]
Update devDependencies (#35591)
* 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
XhmikosR [Thu, 23 Dec 2021 12:38:43 +0000 (14:38 +0200)]
Add note to carousel crossfade docs about bg color (#35587)
Fixes #35181
Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Patrick H. Lauke [Thu, 23 Dec 2021 07:15:36 +0000 (07:15 +0000)]
Strengthen and expand note about dynamic tabs with dropdown menus (#35588)
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
GeoSot [Thu, 9 Sep 2021 23:17:28 +0000 (02:17 +0300)]
Carousel: move repeated code to a method
GeoSot [Thu, 9 Sep 2021 23:13:58 +0000 (02:13 +0300)]
Carousel: remove always true `visibilityState` check
According to https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilityState `visibilityState` is always a string, so the check was always true
GeoSot [Thu, 9 Sep 2021 23:11:14 +0000 (02:11 +0300)]
Carousel: move carousel default interval to `_getConfig()` and simplify it
GeoSot [Thu, 9 Sep 2021 23:02:44 +0000 (02:02 +0300)]
Carousel: return early and drop a loop.
We can achieve the same thing by querying the specific selector directly
GeoSot [Wed, 7 Jul 2021 22:29:25 +0000 (01:29 +0300)]
Carousel: add a helper to get the active element
GeoSot [Tue, 21 Dec 2021 15:19:29 +0000 (17:19 +0200)]
Popover/Tooltip: Fix vertical alignment on arrow of tip elements (#35527)
Regression of #32692
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Kyle Tsang [Tue, 21 Dec 2021 07:22:58 +0000 (23:22 -0800)]
docs: add reference to sticky-xxl utils (#35579)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Julien Déramond [Tue, 21 Dec 2021 07:09:43 +0000 (08:09 +0100)]
fix(docs): typo in Alerts CSS Variables description (#35575)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Tue, 21 Dec 2021 06:39:43 +0000 (08:39 +0200)]
Update devDependencies (#35545)
* 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
Gaël Poupard [Mon, 20 Dec 2021 12:22:29 +0000 (13:22 +0100)]
fix(alerts): ensure color is set and used (#35571)
Louis-Maxime Piton [Sat, 18 Dec 2021 11:53:36 +0000 (12:53 +0100)]
docs: A fix for CSS Variables and some proposal (#35563)
* docs: Fix CSS variables sections
* Minor fix for dropdowns
* Minor fixes for URLs
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Phil E. Taylor [Sat, 18 Dec 2021 05:58:31 +0000 (05:58 +0000)]
Fix typo in comment (#35564)
s/moddal/modal
Mark Otto [Fri, 17 Dec 2021 05:16:24 +0000 (21:16 -0800)]
Convert alerts to CSS variables (#35401)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Andy Jiang [Thu, 16 Dec 2021 08:43:30 +0000 (03:43 -0500)]
Add missing `border-radius` for `btn-group` (#35467)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Florian Lacreuse [Thu, 16 Dec 2021 08:27:00 +0000 (09:27 +0100)]
Add sticky bottom utility (#35518)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Julien Déramond [Thu, 16 Dec 2021 08:20:48 +0000 (09:20 +0100)]
docs: Use param to set Bootstrap version in Contents page (#35556)
XhmikosR [Wed, 15 Dec 2021 08:52:49 +0000 (10:52 +0200)]
build/postcss.config.js: minor tweaks (#35506)
GeoSot [Wed, 15 Dec 2021 08:47:32 +0000 (10:47 +0200)]
Tooltip: remove extraneous call to _getConfig() (#35540)
BaseClass already initializes the config
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
GeoSot [Wed, 15 Dec 2021 08:41:31 +0000 (10:41 +0200)]
Popover.js: Accept empty content through `data-bs-content` (#35514)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Wed, 15 Dec 2021 07:38:06 +0000 (09:38 +0200)]
Scrollspy: minor refactoring (#35512)
* reorder variables
* join lines
* use `filter(Boolean)` since it's clearer
* use `for...of`
XhmikosR [Wed, 15 Dec 2021 07:29:17 +0000 (09:29 +0200)]
Reprocess inline SVGs with the latest SVGO (#35484)
Ty Mick [Tue, 14 Dec 2021 20:29:35 +0000 (12:29 -0800)]
docs: Add responsive variations for align-content-between (#35532)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Tue, 14 Dec 2021 07:51:31 +0000 (09:51 +0200)]
Update stylelint and stylelint-config-twbs-bootstrap (#35438)
XhmikosR [Tue, 14 Dec 2021 07:26:43 +0000 (09:26 +0200)]
Update devDependencies (#35498)
* @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
GeoSot [Fri, 10 Dec 2021 16:18:18 +0000 (18:18 +0200)]
Extract Component config functionality to a separate class (#33872)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Fri, 10 Dec 2021 14:40:32 +0000 (16:40 +0200)]
JS tests: only test one Node.js version (#35481)
XhmikosR [Fri, 10 Dec 2021 05:51:57 +0000 (07:51 +0200)]
Tab: minor refactoring (#35511)
* remove unneeded parentheses
* move variable
XhmikosR [Fri, 10 Dec 2021 05:48:04 +0000 (07:48 +0200)]
util/index.js: minor refactoring (#35510)
* rename variables
* remove an unused variable
* be more explicit
* reuse variable
XhmikosR [Fri, 10 Dec 2021 05:42:08 +0000 (07:42 +0200)]
Toast: join multiple classList calls (#35507)
XhmikosR [Thu, 9 Dec 2021 14:01:29 +0000 (16:01 +0200)]
Fix tests fixture type (#35501)
Previously we were adding an Array instead of a String
GeoSot [Thu, 9 Dec 2021 13:49:28 +0000 (15:49 +0200)]
Scrollbar - remove margin/padding properties properly (#35388)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
GeoSot [Thu, 9 Dec 2021 13:34:17 +0000 (15:34 +0200)]
Dropdown: fix toggle focus after dropdown is hidden using the `ESC` button (#35500)
GeoSot [Thu, 9 Dec 2021 13:05:50 +0000 (15:05 +0200)]
ScrollBar.js. Minor refactoring and add test (#35492)
Alexander Gitter [Tue, 7 Dec 2021 18:51:50 +0000 (19:51 +0100)]
Fix variable name in form overview docs (#35468)
These variables are called $input-btn-*, the documentation was erroneously talking about $btn-input-*.
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Anton [Tue, 7 Dec 2021 18:45:56 +0000 (21:45 +0300)]
Replace inline styles in example "Dropdowns" (#35483)
GeoSot [Tue, 7 Dec 2021 13:51:56 +0000 (15:51 +0200)]
Tooltip: remove title attribute before show & add tests (#35456)
Alexander Gitter [Tue, 7 Dec 2021 10:34:16 +0000 (11:34 +0100)]
Fix typo in $purples (#35466)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
dependabot[bot] [Tue, 7 Dec 2021 10:06:12 +0000 (12:06 +0200)]
Bump cspell from 5.13.1 to 5.13.2 (#35473)
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
XhmikosR [Tue, 7 Dec 2021 08:39:09 +0000 (10:39 +0200)]
Update devDependencies (#35472)
Mark Otto [Fri, 3 Dec 2021 08:08:01 +0000 (00:08 -0800)]
Docs offcanvas navbar (#34487)
* 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 <xhmikosr@gmail.com>
XhmikosR [Thu, 2 Dec 2021 21:02:11 +0000 (23:02 +0200)]
CI: add `workflow_dispatch` (#35454)
XhmikosR [Thu, 2 Dec 2021 20:53:12 +0000 (22:53 +0200)]
README.md: wrap file contents in a `details` element (#35452)
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Louis-Maxime Piton [Thu, 2 Dec 2021 10:01:11 +0000 (11:01 +0100)]
Tests: Minor fixes (#35455)
GeoSot [Mon, 29 Nov 2021 14:25:12 +0000 (16:25 +0200)]
Tooltip/Popover: add underscore prefix to protected functions
GeoSot [Mon, 29 Nov 2021 14:16:42 +0000 (16:16 +0200)]
Tooltip: a simple code-block position change
GeoSot [Sun, 28 Nov 2021 12:18:59 +0000 (14:18 +0200)]
Tooltip: simplify popper check
GeoSot [Sun, 28 Nov 2021 02:02:10 +0000 (04:02 +0200)]
Tooltip: refactor `_hoverState` to Boolean to achieve better control