]>
git.ipfire.org Git - thirdparty/bootstrap.git/log
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
GeoSot [Sun, 28 Nov 2021 01:58:59 +0000 (03:58 +0200)]
Tooltip: merge timeout functionality
GeoSot [Sun, 28 Nov 2021 01:09:42 +0000 (03:09 +0200)]
Tooltip: Change `_enter` & `_leave` to work without arguments
GeoSot [Sun, 28 Nov 2021 01:06:15 +0000 (03:06 +0200)]
Tooltip: Remove redundant `config.delay` check
`config.delay` is always an object after initialization
GeoSot [Sun, 28 Nov 2021 00:46:28 +0000 (02:46 +0200)]
Tooltip: Remove `Data.set` usage for dynamically created tip
This is not used any further, so we were just setting it.
GeoSot [Fri, 26 Nov 2021 00:15:24 +0000 (02:15 +0200)]
Tooltip: merge `isAnimated` checks
GeoSot [Thu, 25 Nov 2021 18:33:42 +0000 (20:33 +0200)]
Tooltip: refactor jQueryInterface
GeoSot [Wed, 24 Nov 2021 00:07:17 +0000 (02:07 +0200)]
Dropdown: change doc for `data-bs-popper=none`
GeoSot [Sun, 10 Oct 2021 14:56:34 +0000 (17:56 +0300)]
Dropdown: clearMenus is always an event callback
GeoSot [Sun, 10 Oct 2021 13:47:02 +0000 (16:47 +0300)]
Dropdown: Clean more
GeoSot [Sun, 10 Oct 2021 13:39:47 +0000 (16:39 +0300)]
Dropdown: rename vars
GeoSot [Sun, 10 Oct 2021 13:31:39 +0000 (16:31 +0300)]
Dropdown: Remove redundant `Space` check
GeoSot [Sun, 10 Oct 2021 13:21:34 +0000 (16:21 +0300)]
Dropdown: Deduplicate complex check
GeoSot [Sun, 10 Oct 2021 12:39:47 +0000 (15:39 +0300)]
Dropdown: Remove redundant check since the `show` method already does it
GeoSot [Sun, 10 Oct 2021 12:24:07 +0000 (15:24 +0300)]
Dropdown: Change constant to the way we use it
GeoSot [Sun, 10 Oct 2021 12:09:57 +0000 (15:09 +0300)]
Dropdown: Merge `display='static'` & `isNavbar` functionality activating static popper with no styles attached
GeoSot [Sun, 10 Oct 2021 11:59:12 +0000 (14:59 +0300)]
Dropdown: Remove static method used once
GeoSot [Wed, 1 Dec 2021 14:49:02 +0000 (16:49 +0200)]
Dropdown tests: Use a function to improve readability (#35448)
XhmikosR [Wed, 1 Dec 2021 13:16:24 +0000 (15:16 +0200)]
Remove the now outdated build/svgo.yml (#35447)
GeoSot [Wed, 1 Dec 2021 13:10:10 +0000 (15:10 +0200)]
Fix popover arrow & tooltip template after the `setContent` addition (#35441)
GeoSot [Wed, 1 Dec 2021 12:53:56 +0000 (14:53 +0200)]
Tooltip: remove leftover method (#35440)
Remove a leftover after #32692
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Ethan Clevenger [Wed, 1 Dec 2021 12:34:03 +0000 (04:34 -0800)]
Update edge-to-edge design instructions (#35446)
Add note about margins to prevent overflow.
XhmikosR [Fri, 26 Nov 2021 08:15:58 +0000 (10:15 +0200)]
tests/unit/util/scrollbar.spec.js: rename function
`parseInt` is a global one.
XhmikosR [Fri, 26 Nov 2021 08:09:12 +0000 (10:09 +0200)]
tests: fix a few typos
XhmikosR [Fri, 26 Nov 2021 07:16:59 +0000 (09:16 +0200)]
tests: remove extra spaces, unneeded arrays and add missing newlines
XhmikosR [Thu, 14 Oct 2021 15:16:54 +0000 (18:16 +0300)]
tests: tweak Jasmine's matchers usage
Use:
* toBeNull
* toEqual
* toBeTrue
* toBeFalse
* toHaveSize
* toHaveClass
XhmikosR [Wed, 13 Oct 2021 05:42:21 +0000 (08:42 +0300)]
tests/browsers.js: remove unneeded export
Christopher Boik [Tue, 30 Nov 2021 14:41:08 +0000 (16:41 +0200)]
Fix variable name in customizing comment (#35414)
Correct table lightening variable to match the variable name defined and described in the loop variable section above
XhmikosR [Tue, 30 Nov 2021 06:36:39 +0000 (08:36 +0200)]
Update devDependencies (#35421)
* @popperjs/core ^2.10.2 → ^2.11.0
* cspell ^5.13.0 → ^5.13.1
* postcss ^8.3.11 → ^8.4.4
* rollup ^2.60.1 → ^2.60.2
* sass ^1.43.4 → ^1.44.0
GeoSot [Mon, 29 Nov 2021 12:32:11 +0000 (14:32 +0200)]
Alert: add a couple more tests (#35419)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
GeoSot [Mon, 29 Nov 2021 12:27:03 +0000 (14:27 +0200)]
BaseComponent: add a couple more tests (#35410)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
François Karman [Mon, 11 Oct 2021 19:07:46 +0000 (21:07 +0200)]
Update typography.md
remove a unnecessary <abbr> tag
Travis Risner [Fri, 26 Nov 2021 00:01:19 +0000 (18:01 -0600)]
Correctly implement RFS in `:root` CSS variable for `$body-font-size` (#35326)
* rfs fix
* Update scss/_root.scss
* Update _reboot.scss
Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Si Nguyen [Tue, 16 Nov 2021 08:41:44 +0000 (15:41 +0700)]
Update _close.scss
GeoSot [Thu, 25 Nov 2021 18:08:11 +0000 (20:08 +0200)]
Clean tooltip component unneeded functionality (#32692)
GeoSot [Thu, 25 Nov 2021 17:39:13 +0000 (19:39 +0200)]
tooltip.js: use array.includes instead of for iteration (#35127)
GeoSot [Fri, 8 Oct 2021 09:14:45 +0000 (12:14 +0300)]
Change adjustDialog's if conditions to improve readability
GeoSot [Fri, 8 Oct 2021 00:23:23 +0000 (03:23 +0300)]
Add test for modal-content
GeoSot [Fri, 8 Oct 2021 00:19:18 +0000 (03:19 +0300)]
Respect modal's initial overflowY
GeoSot [Thu, 7 Oct 2021 23:55:11 +0000 (02:55 +0300)]
Remove some uncovered code that seems to be unused
GeoSot [Thu, 7 Oct 2021 23:46:11 +0000 (02:46 +0300)]
Change check for dynamic modal
GeoSot [Thu, 7 Oct 2021 23:27:00 +0000 (02:27 +0300)]
Tweak methods
Name them to be more descriptive and have agnostic functionality
GeoSot [Thu, 7 Oct 2021 23:19:19 +0000 (02:19 +0300)]
Some refactoring on modal, to improve readability and generic functionality
GeoSot [Thu, 25 Nov 2021 17:14:02 +0000 (19:14 +0200)]
Add a template factory helper to handle all template cases (#34519)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Wed, 24 Nov 2021 08:49:35 +0000 (10:49 +0200)]
build/change-version.js: fix wrong map usage (#35395)
GeoSot [Tue, 23 Nov 2021 15:37:14 +0000 (17:37 +0200)]
build: read & dynamically resolve `imports` on plugins build (#34509)
Our individual js/dist files are now deduplicated properly thus resulting in a size reduction, which varies from ~25% to ~60% depending on the components used. The average savings are 20% uncompressed and ~15% with gzip.
This will mostly benefit cases that more than one component is imported from js/dist. In all other cases it doesn't have any effect.
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Neeraj Kumar Das [Tue, 23 Nov 2021 14:15:46 +0000 (19:45 +0530)]
Make footer examples responsive to mobile screens (#35365)
Julien Déramond [Tue, 23 Nov 2021 08:06:33 +0000 (09:06 +0100)]
Add missing scss/maps imports (#35373)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>