0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Commit Graph

22298 Commits

Author SHA1 Message Date
XhmikosR
c400653990
Tweak stylelint config (#38228)
* rename to .stylelintrc.json
* add reportInvalidScopeDisables to config
* move reportNeedlessDisables to config
* merge the two configs
* remove unneeded disabled rules from the examples config
2023-03-15 06:30:45 +02:00
XhmikosR
474bf2aed1
Guard more in color-modes.js (#38235) 2023-03-14 20:30:11 +02:00
Neeraj Kumar Das
6a043d95fa
Remove empty script tag (#38233) 2023-03-14 14:30:36 +02:00
XhmikosR
898cfc740d
Update codeql.yml (#38225) 2023-03-14 09:10:31 +02:00
XhmikosR
ca6dfad43c
Move --printUnusedTemplates in hugo scripts (#38227) 2023-03-14 09:09:48 +02:00
XhmikosR
3b632cdee6
Update minor dependencies (#38229)
* @babel/cli        ^7.20.7  →   ^7.21.0
* @babel/core      ^7.20.12  →   ^7.21.0
* autoprefixer     ^10.4.13  →  ^10.4.14
* eslint            ^8.34.0  →   ^8.36.0
* hugo-bin          ^0.98.0  →   ^0.99.3
* jquery             ^3.6.3  →    ^3.6.4
* rollup            ^3.17.2  →   ^3.19.1
* sass              ^1.58.3  →   ^1.59.2
2023-03-14 09:08:09 +02:00
XhmikosR
ca1dd22aac
Specify lockfile-version=2 for older npm compatibility (#38226) 2023-03-14 09:04:46 +02:00
dependabot[bot]
ebcb6c4262
Build(deps): Bump coverallsapp/github-action from 1.2.2 to 1.2.4 (#38183)
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.2.2 to 1.2.4.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v1.2.2...v1.2.4)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  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>
2023-03-14 06:51:40 +02:00
Jan Bensch
e00d06e45b
Fix wrong generation of aria-labelledby in tab navigation (#38223)
* fix wrong generation of aria-labelledby in tab navigation

* fix wrong test

---------

Co-authored-by: Jan Bensch <github@bensch.dev>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-14 06:50:08 +02:00
dependabot[bot]
e9355c6dff
Build(deps-dev): Bump eslint-plugin-unicorn from 45.0.2 to 46.0.0 (#38187)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 45.0.2 to 46.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v45.0.2...v46.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  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>
2023-03-13 16:03:55 +02:00
dependabot[bot]
7bc4f4f759
Build(deps-dev): Bump nodemon from 2.0.20 to 2.0.21 (#38186)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.20 to 2.0.21.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.20...v2.0.21)

---
updated-dependencies:
- dependency-name: nodemon
  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>
2023-03-13 16:01:51 +02:00
Julien Déramond
c57be44686
Docs: consistent usage of CSS sections (#38175) 2023-03-13 11:41:27 +01:00
Julien Déramond
59c556cea6 Drop unused bootstrap-social-logo.png 2023-03-10 12:36:46 -06:00
Mark Otto
6f18ad9d69
Update buttons.md (#38169)
* Update buttons.md

Updates the buttons documentation to refer to the button styles as variants as opposed to "predefined styles" as that language was previously troublesome elsewhere in our docs, and variants makes more sense.

* Update site/content/docs/5.3/components/buttons.md

Co-authored-by: Julien Déramond <julien.deramond@orange.com>

---------

Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2023-03-10 12:35:58 -06:00
jonnysp
9c0b2be469 Update _carousel.scss
fix  data-bs-theme="dark" on component itself
2023-03-10 11:26:25 -06:00
Hannah Issermann
fd7cfac4cb
Improve docs on Modals, Alerts, Offcanvas and Toasts close triggers examples (#38182)
* Improve docs on Modals, Alerts, Offcanvas and Toasts close triggers examples

* Update site/layouts/shortcodes/js-dismiss.html

Co-authored-by: Julien Déramond <juderamond@gmail.com>

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-03-10 11:23:59 -06:00
Louis-Maxime Piton
25579aad7c
Fix (#38191)
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2023-03-10 11:19:58 -06:00
Julien Déramond
24130a4e63
Fix typo in utilities/colors.md (#38194) 2023-03-10 11:19:21 -06:00
louismaxime.piton
2a9308b855 Update workflow 2023-03-10 11:18:35 -06:00
Louis-Maxime Piton
2032a6aa8e
Docs: Remove unnecessary href and tabindex="-1" (#38196)
* Proposal

* fix(review)
2023-03-10 11:17:38 -06:00
louismaxime.piton
8e27427fd9 Improve scss-docs link 2023-03-10 11:16:59 -06:00
louismaxime.piton
1f7e7ebd10 Better use the CSS 2023-03-10 11:15:33 -06:00
louismaxime.piton
a7e01146e0 Remove useless import 2023-03-10 10:45:12 -06:00
mrlife
2a2c4abaf4
Docs: fix typo in Color modes page (#38198) 2023-03-08 15:16:34 +01:00
Mark Otto
a3f8480d5b
Remove nesting color modes docs section (#38192)
* Update docs for nesting color modes to better communicate issues with nesting light in dark

* Remove nesting entirely actually, it's impossible to properly show an example when in dark mode
2023-03-07 21:53:31 -08:00
Mark Otto
3cec38c368 Fixes click area for header example snippet 2023-03-07 21:53:05 -08:00
Julien Déramond
039f3d1c8b
Remove comments from scss/_utilities.scss (#38181) 2023-03-07 08:32:09 +01:00
Julien Déramond
423f112b23
Docs: minor modifications in our migration guide for the v5.3.0-alpha2 (#38177) 2023-03-07 06:49:38 +01:00
Julien Déramond
833da72712
Fix missing modifications when --bs-{color}-text was changed to --bs-{color}-text-emphasis (#38176) 2023-03-07 06:45:07 +01:00
Julien Déramond
cff5c60a45
Docs: vertically align starters images in example page (#38179) 2023-03-07 06:40:08 +01:00
Patrick H. Lauke
d5f4532b3e
Docs: fix overflow:auto horizontal scrollbars covering last line of code blocks (#37694)
* Add dirty hack for Firefox

* Disable stylelint check for function-url-quotes

to make the hack go through unchallenged

* Make the fix across all browsers

It's not just Firefox - same issue can be seen (though slightly less horrible looking) on macOS / Chrome etc

* Tweak padding, move clipboard button down slightly

* Further CSS tweaks

Forcing `overflow: overlay` should normalise behaviour between Chrome/Win and other implementations. While visually the Chrome/Win scrollbar still looks big and ugly, its height/spacing is now taken into account as being part of the content, so styles can be applied consistently with extra padding at the bottom

* Linting fixes

* Linting fixes

* Apply suggestions from code review

---------

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-03-04 12:05:54 -08:00
Andrew Dawes
ea19c3da8a Fixed some grammar issues 2023-03-04 11:50:05 -08:00
Louis-Maxime Piton
b26233c1ab
Examples: color mode enhancement (#38144)
* Tool bar proposal inside examples

* Some examples fixes

* Change appearance and position of the color mode toggler

* Proposal

* .

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-03-04 11:49:07 -08:00
lavsemen
9a1f4ed9e5
Fix button visibility issue on dark theme (#38115)
* Fix button visibility issue on dark theme

* Add $btn-color-variable in _buttons.scss

* Apply suggestions from code review

---------

Co-authored-by: Семен Лаверентьев <remark.lavrentev@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
2023-03-02 10:49:54 -08:00
Serhii Babakov
dbc021b220 Fix navbar-nav link styling 2023-03-02 10:47:54 -08:00
Louis-Maxime Piton
783213691a
Icon link: envariable + enhance the documentation (#38130)
* Envariable the icon-link helper

* Proposal

* .
2023-03-02 10:32:43 -08:00
Julien Déramond
912cfe5823 Fix dropdown toggle visible focus in headers example 2023-03-02 10:32:03 -08:00
Julien Déramond
b8b81669f0 Docs: .text-body-secondary appears two times in Utilities > Colors 2023-03-02 10:24:58 -08:00
Julien Déramond
38a431068f Docs: replace 'popover' by 'tooltip' in tooltip's page' options section 2023-03-02 10:23:38 -08:00
Julien Déramond
34901f1bc7 Docs: rollback some modification about .text-muted deprecation messages 2023-03-02 10:23:03 -08:00
dependabot[bot]
8a725016fe Build(deps): Bump coverallsapp/github-action from 1.1.3 to 1.2.2
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.1.3 to 1.2.2.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/1.1.3...v1.2.2)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 10:22:18 -08:00
Louis-Maxime Piton
23d20fa54f
Utilities: add 0 value to link-underline-opacity (#38131) 2023-03-02 07:45:25 +01:00
Julien Déramond
80ba848443
Docs: fix code indentation in homepage JavaScript plugins section (#38112) 2023-02-25 19:05:15 +01:00
Julien Déramond
6b4b77e320
Docs: Drop unused .focused style (#38087) 2023-02-25 18:18:04 +01:00
Julien Déramond
51299bf4e1
Drop unused --bs-focus-ring-box-shadow and add documentation for --bs-focus-ring-{x|y|blur} (#38095) 2023-02-25 08:01:20 +01:00
Romaric Pascal
c6345285c1
Merge pull request #38086 from Sir-Genius/btn-link 2023-02-24 14:53:17 +00:00
Romaric Pascal
2e2ca49633
Merge branch 'main' into btn-link 2023-02-24 14:49:31 +00:00
Julien Déramond
afd37369bc
Drop duplicate $nav-link-disabled-color declaration (#38083) 2023-02-23 07:59:47 +01:00
Julien Déramond
78f879eb57
Docs: drop unused icons (#38103) 2023-02-23 07:55:56 +01:00
Julien Déramond
0d27f3c284
Remove useless comment from scss/_utilities.scss (#38104) 2023-02-22 12:09:15 +01:00