]>
git.ipfire.org Git - thirdparty/bootstrap.git/log
XhmikosR [Tue, 1 Mar 2022 14:09:51 +0000 (16:09 +0200)]
Revert "README: About release planning" (#35923)
This reverts commit
da9c007139eccffdb635ee7320160fb44701feed .
GeoSot [Tue, 1 Mar 2022 13:53:07 +0000 (15:53 +0200)]
Dropdown: Simplify dataKeyApiHandler (#35870)
* 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>
dependabot[bot] [Tue, 1 Mar 2022 13:19:34 +0000 (15:19 +0200)]
Bump actions/setup-node from 2 to 3 (#35925)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
XhmikosR [Tue, 1 Mar 2022 08:37:05 +0000 (10:37 +0200)]
Update devDependencies (#35922)
* @rollup/plugin-babel ^5.3.0 → ^5.3.1
* @rollup/plugin-commonjs ^21.0.1 → ^21.0.2
* @rollup/plugin-replace ^3.1.0 → ^4.0.0
* eslint ^8.9.0 → ^8.10.0
* find-unused-sass-variables ^4.0.1 → ^4.0.2
* hugo-bin ^0.80.2 → ^0.81.0
* karma ^6.3.16 → ^6.3.17
* postcss ^8.4.6 → ^8.4.7
* sass ^1.49.8 → ^1.49.9
Gaël Poupard [Wed, 20 Oct 2021 10:18:46 +0000 (12:18 +0200)]
fix(forms): color input with validation icon
Gaël Poupard [Mon, 28 Feb 2022 16:04:29 +0000 (17:04 +0100)]
fix(tooltips|popovers): RTL arrows
Julien Déramond [Fri, 25 Feb 2022 13:06:14 +0000 (14:06 +0100)]
Site assets: `.bd-bg-purple-bright` → `.bd-bg-violet` and drop unused `.bd-text-purple-bright`
louismaxime.piton [Mon, 28 Feb 2022 09:25:54 +0000 (10:25 +0100)]
.
louismaxime.piton [Mon, 28 Feb 2022 09:22:45 +0000 (10:22 +0100)]
Use the new CSS variable in dropdown menu.
Mark Otto [Mon, 28 Feb 2022 20:58:31 +0000 (12:58 -0800)]
add tests
Mark Otto [Fri, 25 Feb 2022 16:53:17 +0000 (08:53 -0800)]
Add centered dropdown and dropup options
Mark Otto [Fri, 25 Feb 2022 22:55:47 +0000 (14:55 -0800)]
Replace instances of Sass vars for CSS variable versions of border-color and border-width
Mark Otto [Tue, 30 Nov 2021 06:07:28 +0000 (22:07 -0800)]
bump bundlewatch
Mark Otto [Tue, 30 Nov 2021 05:14:17 +0000 (21:14 -0800)]
Convert border utilities to CSS variables
- Updates the utilities mixin to check for specific CSS variable names via `css-variable`
- Bonus fix: we now prevent local variables for `0` value utilities (e.g., `.border-top-0` no longer sets `--bs-border-opacity: 1`
- Adds new `.border-opacity-*` classes
- Adds new root variables: `--bs-border-color`, `--bs-border-style`, `--bs-border-width`
- Documents the new variable changes
Mark Otto [Mon, 28 Feb 2022 19:14:55 +0000 (11:14 -0800)]
Update migration.md
Mark Otto [Fri, 25 Feb 2022 21:58:08 +0000 (13:58 -0800)]
Remove thicker border on table thead elements
Use the new .table-group-divider to create your own dividers as desired. Would love to find a better way to handle border-color for this, but for now, this is at least opt-in.
I've applied it by default in another way for our docs tables to help differentiate our content vs our components.
Fixes #35342
Mark Otto [Sat, 26 Feb 2022 19:17:42 +0000 (11:17 -0800)]
Update release-drafter.yml
Arhell [Sat, 26 Feb 2022 16:44:07 +0000 (18:44 +0200)]
update ionic link
Erik Faye-Lund [Wed, 21 Jul 2021 07:45:51 +0000 (09:45 +0200)]
Prefer Linux-specific fonts over Arial
Some Linux distributions (like Debian) have fontconfig aliases for Arial
that picks specific fonts. But such generic aliases might be less
desirable than the known-good Linux specific fonts.
This fixes a problem on my setup where Liberation Sans is aliased as
Arial, even when Noto Sans is available. Liberation Sans doesn't support
a weight of 500, so we end up rendering headers at the normal weight of
400, which makes them stand out less. Reordering the Arial fallback
makes us instead pick Noto Sans over Lieration Sans, which does support
a weight of 500, and makes headers stand out again.
While we're at it, fixup the reboot documentation to match, and change
the comment about Helvetica Neue; that's not a "Basic web-fallback" font,
it's the UI font on older iOS and macOS versions.
maks [Thu, 23 Dec 2021 12:58:25 +0000 (13:58 +0100)]
move theme-colors (vars+map) after color tints definitions
In this way we can use color tints other than grays in our custom theme, w/o having to extend it later (e.g `$primary: $indigo-600;` ). This could be done in the project variables file, but i believe most developers just include a full local copy of `scss/_variables.scss` before the the original `default` file and change the values the need (maybe also removing the !default flag) so that it's easier to track changes and custom values during upgrades.
Paweł Kuna [Fri, 25 Feb 2022 21:38:23 +0000 (22:38 +0100)]
docs: add Tabler Icons to list of icon packs (#35497)
* Add Tabler Icons to list of icons
* Update site/data/icons.yml
Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Julien Déramond [Thu, 24 Feb 2022 07:04:10 +0000 (08:04 +0100)]
Remove border of disabled calendar buttons in Dropdowns example
Дилян Палаузов [Thu, 27 Jan 2022 08:43:27 +0000 (10:43 +0200)]
src/tooltip.js Optimization
Util.findShadowRoot() returns either null or an object.
It cannot return falsy, which allows this optimization.
Mark Otto [Fri, 25 Feb 2022 16:49:02 +0000 (08:49 -0800)]
Add z-index for .toast-container (#35859)
* Add z-index for .toast-container
- Adds positioning and z-index to toast container so that it has a system-declared layer in relation to other components.
- Updates docs to use the class better
Fixes $34028
* Remove unnecessary z-index from docs examples
Julien Déramond [Fri, 25 Feb 2022 14:38:51 +0000 (15:38 +0100)]
Use all dropdowns CSS variables
Mark Otto [Fri, 25 Feb 2022 00:49:10 +0000 (16:49 -0800)]
Separate override for hr's in component examples
Mark Otto [Wed, 23 Feb 2022 23:58:35 +0000 (15:58 -0800)]
Base .text-muted on body color
Richard Giraud [Thu, 30 Sep 2021 17:18:52 +0000 (11:18 -0600)]
`media-breakpoint-only` now passes `$breakpoints` int `breakpoint-max`. Fixes #35084.
Mark Otto [Thu, 24 Feb 2022 02:45:54 +0000 (18:45 -0800)]
Mention form height change in migration guide
Julien Déramond [Wed, 23 Feb 2022 18:31:18 +0000 (19:31 +0100)]
Docs: replace CSS by utilities in examples (#35699)
* Drop .opacity-50 and .opacity-75 redefinition in examples
* Drop unused .card-img-right from blog example CSS files
* Use line-height utilities when possible
* Use rounded-* utilities in examples
* Replace .nav-underline by .nav-scroller and use it in examples.html default
* Use .mb-1 for .blog-post-title
* Remove unused CSS rule and use .fw-* utilities for carousels examples
* Use utilities for cheatsheet examples
* Extract some CSS to utilities for .nav-masthead .nav-link in cover example
* Dashboard group of minor modifications
* Dropdowns example: refactoring
* Dropdowns example refactoring: fix linting by removing selector by id
* Features example refactoring
* Headers example refactoring
* List groups example refactoring
* Sidebars example refactoring
* Sign-in example refactoring
* Starter template refactoring
* Fix RTL examples
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Julien Déramond [Wed, 23 Feb 2022 13:04:08 +0000 (14:04 +0100)]
Replace non-existent `--bs-btn-padding` by `--bs-btn-padding-{x|y}`
chefarbeiter [Mon, 21 Feb 2022 16:13:42 +0000 (17:13 +0100)]
Fix modal doc
Gaël Poupard [Tue, 22 Feb 2022 08:02:47 +0000 (09:02 +0100)]
Rely on `border-width` for `<hr>` size (#35491)
* fix(reboot): revert hr styles to v4 implementation
* docs(cheatsheet): add a hr example
* fix(reboot): currentColor is the initial border-color value
* Document hr element in Reboot docs
* Update migration guide
* Update scss/_variables.scss
Co-authored-by: Mark Otto <markd.otto@gmail.com>
xrkffgg [Tue, 22 Feb 2022 07:55:29 +0000 (15:55 +0800)]
CI: add issues-helper (#35846)
Christian Oliff [Tue, 22 Feb 2022 07:39:57 +0000 (16:39 +0900)]
remove opacity utlitilies from example CSS (#35877)
These are included in Bootstrap itself now
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Tue, 22 Feb 2022 07:35:36 +0000 (09:35 +0200)]
Update devDependencies and pin karma-rollup-preprocessor (#35868)
* @babel/cli ^7.17.0 → ^7.17.6
* @babel/core ^7.17.2 → ^7.17.5
* eslint-plugin-unicorn ^40.1.0 → ^41.0.0
* rollup ^2.67.2 → ^2.68.0
* sass ^1.49.7 → ^1.49.8
* terser ^5.10.0 → ^5.11.0
GeoSot [Sat, 19 Feb 2022 14:22:32 +0000 (16:22 +0200)]
Dropdown: use a better selector to avoid triggering click if button is disabled (#35866)
GeoSot [Sat, 19 Feb 2022 14:16:51 +0000 (16:16 +0200)]
Dropdown: use a combined selector to filter foreign not shown instances iteration (#35766)
GeoSot [Sat, 19 Feb 2022 14:08:16 +0000 (16:08 +0200)]
tests: revisit all tests using Promise.reject instead of throwing an error (#35765)
XhmikosR [Sat, 19 Feb 2022 13:16:23 +0000 (15:16 +0200)]
Replace AnchorJS with a Hugo render hook (#32953)
* Replace AnchorJS with a Hugo render hook
* docs(anchors): improve aria-label on anchor links
* docs(anchors): show anchor link when ed
* docs(anchors): add hash in pseudo-element
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
GeoSot [Sat, 19 Feb 2022 13:10:47 +0000 (15:10 +0200)]
Make event name helper and use it on tooltip & popover to reduce dist sizes (#35856)
* feat: create eventName getter function in baseComponent
* refactor: use `eventName` getter on tooltip & popover
GeoSot [Fri, 10 Sep 2021 09:54:20 +0000 (12:54 +0300)]
Carousel: remove one more call to ActiveIndex
GeoSot [Fri, 10 Sep 2021 09:00:28 +0000 (12:00 +0300)]
Carousel: change argument to `_setActiveIndicatorElement`, from element to index
GeoSot [Sun, 30 Jan 2022 22:31:07 +0000 (00:31 +0200)]
Carousel: make direct triggering of slid event, instead of using a callback
GeoSot [Sun, 30 Jan 2022 22:22:33 +0000 (00:22 +0200)]
Carousel: merge slide functionality, regardless of whether it is animated or not
GeoSot [Fri, 10 Sep 2021 00:41:03 +0000 (03:41 +0300)]
Carousel: simplify initialization on document load, using `getOrCreateInstance`
GeoSot [Thu, 9 Sep 2021 23:55:28 +0000 (02:55 +0300)]
Carousel: remove redundant config merge on `dataApiClickHandler`, as it is done by default in the `constructor`
Jann Westermann [Thu, 17 Feb 2022 23:17:37 +0000 (00:17 +0100)]
Apply list group numbering to all items (#35822)
Mark Otto [Thu, 17 Feb 2022 23:14:18 +0000 (15:14 -0800)]
Add null modal-footer-bg variable (#35858)
Fixes #35782
Louis-Maxime Piton [Thu, 17 Feb 2022 19:25:01 +0000 (20:25 +0100)]
New CSS variable for Navbars (#35829)
* Adding a brand new CSS var
* Update scss/_variables.scss
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Nudasoft [Thu, 17 Feb 2022 19:20:44 +0000 (00:50 +0530)]
Add !important property to colored links. (#35740)
* Add !important property to colored links.
* Apply suggestions from code review
Co-authored-by: Mark Otto <otto@github.com>
Alan Christian [Thu, 10 Feb 2022 14:11:24 +0000 (11:11 -0300)]
code indentation in readme
Mark Otto [Wed, 16 Feb 2022 16:50:50 +0000 (08:50 -0800)]
Rename dropdown-shadow to dropdown-box-shadow for consistency
Mark Otto [Wed, 16 Feb 2022 18:26:24 +0000 (10:26 -0800)]
Convert pagination component to CSS variables (#35399)
* Convert pagination component to CSS variables
* Use RFS mixin
* Remove the useless fallback
Eugene Kopyov [Tue, 15 Feb 2022 13:04:16 +0000 (14:04 +0100)]
Fixed border radius var name and .show target
XhmikosR [Tue, 15 Feb 2022 06:50:37 +0000 (08:50 +0200)]
Update devDependencies (#35841)
* Update devDependencies
* @babel/core ^7.17.0 → ^7.17.2
* @rollup/plugin-replace ^3.0.1 → ^3.1.0
* eslint ^8.8.0 → ^8.9.0
* eslint-config-xo ^0.39.0 → ^0.40.0
* hugo-bin ^0.80.1 → ^0.80.2
* karma ^6.3.15 → ^6.3.16
* rollup ^2.67.1 → ^2.67.2
* Fix new ESLint errors
Mark Otto [Sun, 28 Nov 2021 10:56:37 +0000 (00:56 -1000)]
Convert dropdowns to CSS variables
Mark Otto [Wed, 9 Feb 2022 22:15:15 +0000 (14:15 -0800)]
Rewrite custom docs buttons
- Use CSS variables wherever possible
- Rename purple-bright to violet for brevity, add CSS vars versions
- Rename download to accent
Mark Otto [Wed, 8 Sep 2021 03:56:54 +0000 (06:56 +0300)]
Tighten bundlewatch
Mark Otto [Wed, 28 Jul 2021 04:36:12 +0000 (21:36 -0700)]
Convert .btn and mixins to use CSS variables
Mark Otto [Mon, 14 Feb 2022 23:07:17 +0000 (15:07 -0800)]
Correct the horizontal padding on grid containers (#35825)
* Correct the horizontal padding on grid containers
* Don't halve the container-padding-x variable
vpakati [Mon, 14 Feb 2022 03:20:47 +0000 (11:20 +0800)]
Update reboot.md
Add the missing right parenthesis.
Julien Déramond [Fri, 11 Feb 2022 07:03:34 +0000 (08:03 +0100)]
Fix typo in Badges CSS variables description
Mark Otto [Fri, 11 Feb 2022 03:57:59 +0000 (19:57 -0800)]
Fixes #32082
Remove sentence in docs that's no longer needed. Fixes #32082.
Mark Otto [Fri, 11 Feb 2022 00:19:29 +0000 (16:19 -0800)]
Bump version callout
Mark Otto [Thu, 10 Feb 2022 00:13:13 +0000 (16:13 -0800)]
Bump bundlewatch
Mark Otto [Wed, 17 Nov 2021 03:01:30 +0000 (19:01 -0800)]
Convert .badge to CSS variables
Julien Déramond [Wed, 9 Feb 2022 19:12:08 +0000 (20:12 +0100)]
Remove remaining `.navbar-light` classes (#35814)
* Fix typo in CSS variables documentation
* Drop remaining .navbar-light classes
Fabián Karaben [Wed, 26 Jan 2022 22:22:38 +0000 (19:22 -0300)]
Add Spanish translation
The translation of version 5 of Bootstrap is added, by the Esdocu project.
Anton [Mon, 31 Jan 2022 21:54:39 +0000 (00:54 +0300)]
Fix overriding styles of `.list-group-item-action`
~~~html
<style>
.list-group-item-action {color: blue;}
.list-group-item {color: red;}
</style>
<p class="list-group-item">red text!</p>
<p class="list-group-item list-group-item-action">still red text!</p>
~~~
because `.list-group-item` declared after `.list-group-item-action` (order in attribute `class` no effect)
Christopher Yeleighton [Mon, 7 Feb 2022 14:07:36 +0000 (15:07 +0100)]
README: About release planning
Sebastian Podjasek [Tue, 8 Feb 2022 20:38:29 +0000 (21:38 +0100)]
Support floating labels on `.form-control-plaintext` (#32840)
* Support floating labels on `.form-control-plaintext`
* Update floating-labels.md
* Apply suggestions from code review
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
Mark Otto [Tue, 8 Feb 2022 20:33:39 +0000 (12:33 -0800)]
Add `.form-check-reverse` modifier class (#33606)
* Add .form-check-reverse modifier class
* Update checks-radios.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Mark Otto [Tue, 8 Feb 2022 18:18:07 +0000 (10:18 -0800)]
bundlewatch
Mark Otto [Tue, 20 Jul 2021 04:13:39 +0000 (21:13 -0700)]
Add deprecation notice for .navbar-light
Mark Otto [Wed, 7 Jul 2021 02:34:12 +0000 (19:34 -0700)]
Convert navbar to CSS variables
Co-Authored-By: Gaël Poupard <ffoodd@users.noreply.github.com>
XhmikosR [Tue, 8 Feb 2022 07:21:59 +0000 (09:21 +0200)]
Update devDependencies (#35798)
* @babel/cli ^7.16.8 → ^7.17.0
* @babel/core ^7.16.12 → ^7.17.0
* karma ^6.3.13 → ^6.3.15
* karma-rollup-preprocessor ^7.0.7 → ^7.0.8
* postcss ^8.4.5 → ^8.4.6
* rollup ^2.66.1 → ^2.67.1
* sass ^1.49.4 → ^1.49.7
Anton [Mon, 7 Feb 2022 08:50:26 +0000 (11:50 +0300)]
Optimize jQueryInterface in Collapse (#35689)
extracts config initialization from cycle
XhmikosR [Mon, 7 Feb 2022 08:15:17 +0000 (10:15 +0200)]
package.json: add GitHub Sponsors and reorder properties (#35451)
GeoSot [Mon, 7 Feb 2022 08:05:43 +0000 (10:05 +0200)]
Fix empty content of tooltip after 'copy' action in docs (#35773)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
The Fake Cake [Mon, 7 Feb 2022 07:55:44 +0000 (08:55 +0100)]
Set `cursor: default` on disabled `.form-check-label` (#35082)
Fixes #35056
Macinto5h [Sun, 14 Mar 2021 19:07:24 +0000 (15:07 -0400)]
Add zebra striping for table columns
Co-Authored-By: Macallan Camara <44030647+Macinto5h@users.noreply.github.com>
Co-Authored-By: XhmikosR <xhmikosr@gmail.com>
Ty Mick [Sun, 12 Dec 2021 17:19:19 +0000 (09:19 -0800)]
Move `gap` utility API from "Flex" to "Spacing"
The `gap` utility is described on the [Spacing page][1] but is not
actually mentioned on the [Flex page][2] (apart from the [API
section][3]).
[1]: https://getbootstrap.com/docs/5.1/utilities/spacing/
[2]: https://getbootstrap.com/docs/5.1/utilities/flex/
[3]: https://getbootstrap.com/docs/5.1/utilities/flex/#utilities-api
Sigurd Moland Wahl [Thu, 3 Feb 2022 14:33:00 +0000 (15:33 +0100)]
Fixed typo in docs
Florian Lacreuse [Thu, 3 Feb 2022 09:43:11 +0000 (10:43 +0100)]
Fix dropdown docs about autoclose and esc key.
Gaël Poupard [Tue, 1 Feb 2022 13:37:33 +0000 (14:37 +0100)]
Breadcrumb docs: drop confusing currentColor and add new callout (#35434)
XhmikosR [Tue, 1 Feb 2022 11:03:48 +0000 (13:03 +0200)]
Update find-unused-sass-variables to v4.0.1 (#35761)
XhmikosR [Thu, 18 Nov 2021 19:47:27 +0000 (21:47 +0200)]
event-handler.js: remove unneeded return statement
GeoSot [Thu, 16 Dec 2021 11:43:36 +0000 (13:43 +0200)]
Event-handler: use `Array.find` instead of `for`
GeoSot [Thu, 16 Dec 2021 11:25:23 +0000 (13:25 +0200)]
Event-handler: initialize variable properly
GeoSot [Tue, 1 Feb 2022 08:33:18 +0000 (10:33 +0200)]
Fix Popover test that randomly fails on BrowserStack (#35757)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
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