aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-03-01Split CSS vars for padding values (#35921)Mark Otto4-11/+20
* Split CSS vars for padding values Make these few components consistent with where we're heading with other components. Had to add some new Sass variables to handle the dropdown-header element, but not a huge deal. This ensures we can drop the combined variable in v6 when we're ready. * Update scss/_dropdown.scss Co-authored-by: Julien Déramond <[email protected]> * Deprecate dropdown-header-padding var Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
2022-03-01Bump terser from 5.11.0 to 5.12.0 (#35927)dependabot[bot]2-8/+8
Bumps [terser](https://github.com/terser/terser) from 5.11.0 to 5.12.0. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/compare/v5.11.0...v5.12.0) --- updated-dependencies: - dependency-name: terser dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2022-03-01Modal: refactor listeners to reduce some code noise (#35902)GeoSot2-23/+10
2022-03-01Carousel: simplify carousel items selectionGeoSot1-3/+1
We already know that carousel's parent is the carousel element, so we can use it explicitly
2022-03-01Carousel: move `carouselInterface` inside `jqueryInterface`GeoSot1-26/+22
2022-03-01Carousel: move logic of `dataApiClickHandler`GeoSot1-23/+21
2022-03-01Carousel: refactor dataApiKeyHandler to avoid use of `carouselInterface`GeoSot1-9/+9
2022-03-01Bump find-unused-sass-variables from 4.0.2 to 4.0.3 (#35928)dependabot[bot]2-10/+10
Bumps [find-unused-sass-variables](https://github.com/XhmikosR/find-unused-sass-variables) from 4.0.2 to 4.0.3. - [Release notes](https://github.com/XhmikosR/find-unused-sass-variables/releases) - [Commits](https://github.com/XhmikosR/find-unused-sass-variables/compare/v4.0.2...v4.0.3) --- updated-dependencies: - dependency-name: find-unused-sass-variables dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-01Revert "README: About release planning" (#35923)XhmikosR1-1/+1
This reverts commit da9c007139eccffdb635ee7320160fb44701feed.
2022-03-01Dropdown: Simplify dataKeyApiHandler (#35870)GeoSot1-39/+14
* 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 <[email protected]>
2022-03-01Bump actions/setup-node from 2 to 3 (#35925)dependabot[bot]7-7/+7
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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-01Update devDependencies (#35922)XhmikosR2-139/+139
* @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
2022-02-28fix(forms): color input with validation iconGaël Poupard1-0/+8
2022-02-28fix(tooltips|popovers): RTL arrowsGaël Poupard2-0/+12
2022-02-28Site assets: `.bd-bg-purple-bright` → `.bd-bg-violet` and drop unused ↵Julien Déramond2-6/+2
`.bd-text-purple-bright`
2022-02-28.louismaxime.piton1-1/+1
2022-02-28Use the new CSS variable in dropdown menu.louismaxime.piton1-1/+1
2022-02-28add testsMark Otto1-0/+49
2022-02-28Add centered dropdown and dropup optionsMark Otto3-1/+49
2022-02-28Replace instances of Sass vars for CSS variable versions of border-color and ↵Mark Otto4-24/+25
border-width
2022-02-28bump bundlewatchMark Otto1-1/+1
2022-02-28Convert border utilities to CSS variablesMark Otto6-20/+97
- 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
2022-02-28Update migration.mdMark Otto1-0/+1
2022-02-28Remove thicker border on table thead elementsMark Otto3-5/+43
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
2022-02-26Update release-drafter.ymlMark Otto1-0/+3
2022-02-26update ionic linkArhell1-1/+1
2022-02-25Prefer Linux-specific fonts over ArialErik Faye-Lund2-3/+5
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.
2022-02-25move theme-colors (vars+map) after color tints definitionsmaks1-24/+24
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.
2022-02-25docs: add Tabler Icons to list of icon packs (#35497)Paweł Kuna1-0/+2
* Add Tabler Icons to list of icons * Update site/data/icons.yml Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2022-02-25Remove border of disabled calendar buttons in Dropdowns exampleJulien Déramond1-0/+1
2022-02-25src/tooltip.js OptimizationДилян Палаузов1-3/+1
Util.findShadowRoot() returns either null or an object. It cannot return falsy, which allows this optimization.
2022-02-25Add z-index for .toast-container (#35859)Mark Otto3-3/+6
* 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
2022-02-25Use all dropdowns CSS variablesJulien Déramond1-4/+4
2022-02-25Separate override for hr's in component examplesMark Otto1-1/+5
2022-02-24Base .text-muted on body colorMark Otto1-1/+1
2022-02-24`media-breakpoint-only` now passes `$breakpoints` int `breakpoint-max`. ↵Richard Giraud1-1/+1
Fixes #35084.
2022-02-24Mention form height change in migration guideMark Otto1-0/+2
2022-02-23Docs: replace CSS by utilities in examples (#35699)Julien Déramond36-436/+262
* 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 <[email protected]>
2022-02-23Replace non-existent `--bs-btn-padding` by `--bs-btn-padding-{x|y}`Julien Déramond2-2/+3
2022-02-22Fix modal docchefarbeiter1-4/+4
2022-02-22Rely on `border-width` for `<hr>` size (#35491)Gaël Poupard7-12/+34
* 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 <[email protected]>
2022-02-22CI: add issues-helper (#35846)xrkffgg2-0/+38
2022-02-22remove opacity utlitilies from example CSS (#35877)Christian Oliff1-3/+0
These are included in Bootstrap itself now Co-authored-by: XhmikosR <[email protected]>
2022-02-22Update devDependencies and pin karma-rollup-preprocessor (#35868)XhmikosR2-263/+244
* @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
2022-02-19Dropdown: use a better selector to avoid triggering click if button is ↵GeoSot1-5/+1
disabled (#35866)
2022-02-19Dropdown: use a combined selector to filter foreign not shown instances ↵GeoSot1-6/+3
iteration (#35766)
2022-02-19tests: revisit all tests using Promise.reject instead of throwing an error ↵GeoSot10-72/+72
(#35765)
2022-02-19Replace AnchorJS with a Hugo render hook (#32953)XhmikosR5-18/+23
* 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 <[email protected]>
2022-02-19Make event name helper and use it on tooltip & popover to reduce dist sizes ↵GeoSot5-69/+27
(#35856) * feat: create eventName getter function in baseComponent * refactor: use `eventName` getter on tooltip & popover
2022-02-19Carousel: remove one more call to ActiveIndexGeoSot1-3/+2