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

1174 Commits

Author SHA1 Message Date
XhmikosR
ae43f0c48b
Tweak and re-organize ESLint config (#38369)
* Tweak and re-organize ESLint config

* merge individual configs to the root config
* enable more eslint-plugin-import rules
* lint markdown files

* Lint
2023-03-29 13:49:30 -04:00
Julien Déramond
c5fde53c8d
Docs: update Webpack guide (#38345)
* Docs: remove `<script>` from `index.html` in Webpack guide

* Add `mode=production` to `build` step in Webpack guide
2023-03-28 17:02:37 +03:00
GeoSot
94c7dc717e
Add detailed explanation of the JS components configuration merging process (#37303)
* doc: add detailed explanation of the components config process & fix popover/tooltip docs

* Update site/layouts/partials/js-data-attributes.md

---------

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-03-27 12:30:27 +03:00
Hannah Issermann
06f7c3b6c7
Add js-docs shortcode to ensure consistency between doc and js code (#38316)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-27 12:10:25 +03:00
Hannah Issermann
31f93e2aff
Docs: fix Markdown table with empty column (#38342) 2023-03-27 10:48:42 +02:00
Julien Déramond
2bbf670fc2
Change diff file path in Webpack guide (#38339) 2023-03-27 11:04:07 +03:00
David Miles
d76ee2846f Fixed typo in 5.3.0-alpha2 migration 2023-03-26 17:10:33 -05:00
Mark Otto
208ba3d748 Document new .d-inline-grid utility 2023-03-24 19:42:10 -07:00
Hannah Issermann
2008c65c54
Docs: fix two class attributes on same button (#38317) 2023-03-24 16:05:56 +02:00
Julien Déramond
0653e7f648
Fix reference to twbs/examples/icons-font + fine-tune index.html SB location target (#38310)
* Fix reference to twbs/examples/icons-font + fine-tune index.html SB location target

* Use urlquery

* Add `rel="noopener"`

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-24 16:00:58 +02:00
Julien Déramond
99867eb9ba
Update Vite, Parcel and Webpack guides (#38305)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-23 08:07:04 +02:00
XhmikosR
b3faa0cfac
docs: remove moot v from docs-versions.yml (#38301) 2023-03-22 10:24:17 +02:00
Julien Déramond
f52d4a35b3
Fix placeholder shortcode color and background params when 'img' markup (#38263) 2023-03-19 17:42:30 -07:00
XhmikosR
8701d89b16
icon-link.md: remove moot aliases (#38246) 2023-03-17 07:58:09 +02:00
Julien Déramond
4ba2deb534
Docs: consistent deprecation messages in Close Button dark variant (#38247) 2023-03-16 18:22:20 +02:00
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
Julien Déramond
c57be44686
Docs: consistent usage of CSS sections (#38175) 2023-03-13 11:41:27 +01: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
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
Louis-Maxime Piton
2032a6aa8e
Docs: Remove unnecessary href and tabindex="-1" (#38196)
* Proposal

* fix(review)
2023-03-10 11:17:38 -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
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
cff5c60a45
Docs: vertically align starters images in example page (#38179) 2023-03-07 06:40:08 +01: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
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
Louis-Maxime Piton
23d20fa54f
Utilities: add 0 value to link-underline-opacity (#38131) 2023-03-02 07:45:25 +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
Julien Déramond
78f879eb57
Docs: drop unused icons (#38103) 2023-02-23 07:55:56 +01:00
Julien Déramond
5241b988c0
Bump Chart.js from 2.9.4 to 4.2.1 in dashboard examples (#38071)
* Bump Chart.js from 2.9.4 to 4.2.1 in dashboard examples

* Rollback myChart var modification

* Add some padding between tooltip color and text

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-02-19 10:34:15 +02:00
Mark Otto
2dc329dd37
WIP: New snippet examples (#36309)
* Start work on some new snippet examples

* Update for dark mode, fixes

* Add images, update descriptions

* examples fixes
2023-02-14 20:58:39 -08:00
Mark Otto
f256874675 More updates to migration guide 2023-02-14 15:46:45 -08:00
Mark Otto
8fddb9fe57
Update form validation styles to use new CSS variables for color and border-color (#38044)
* Update form validation styles to use new CSS variables for color and border-color

* Use better Sass variables
2023-02-14 15:22:35 -08:00
Mark Otto
9dd42e1a07
Attempt to fix focus ring being cut off in table of contents (#37965)
* Attempt to fix focus ring being cut off in table of contents

* Update _toc.scss

---------

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2023-02-14 08:58:08 -08:00
Julien Déramond
68afebe5b5 Docs: Use ESM Popper CDN reference in 'Using Boottrap as a module' 2023-02-14 08:46:55 -08:00
Louis-Maxime Piton
7bffd6ea8d
Docs: Progress fix + proposal (#38014)
* Fix + proposal

* fix(review)

---------

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2023-02-13 18:38:21 -08:00
Julien Déramond
70bad9b1b6 Docs: uniformize disabled nav links for underline nav 2023-02-13 18:12:35 -08:00
汪心禾
aff8f0dc9a Remove redundant space in forms/validation.md 2023-02-04 17:40:51 +07:00
Mark Otto
99e3724459 Add mention to migration guide 2023-02-04 17:40:20 +07:00
Mark Otto
c735b2e196
Migration guide changes for v5.3.0-alpha2 (#37862)
* WIP

* More changes mentioned

* more

* mention dropdown-menu-dark deprecation

* More edits
2023-01-28 09:36:19 +08:00
Patrick H. Lauke
1299b163c7
Docs: tweak icon link and callouts (#37923)
* Tweak callout for icon link

- no need to talk about `alt` for `<img>` since these don't use `<img>`
- make start of sentence more readable

* Tweak language of dropdown warning callout

* Tweak popover warning callout

* Tweak rtl warning callouts

* Tweak color warning callout

* Add/move accessibility callout for color to relevant pages

* Update site/content/docs/5.3/helpers/icon-link.md

* Update site/layouts/partials/callouts/warning-color-assistive-technologies.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-01-21 09:51:45 -08:00
louismaximepiton
15744ee1d0 Proposal to rename the CSS and Sass variables 2023-01-21 09:46:48 -08:00
Patrick H. Lauke
cfd3560c6d
Docs: add overflow and text color info to progress bar page (#37921)
* Docs: add overflow and text color info to progress bar page

* Add example/reference for color & background helper use

* Add mention of color modes/dark mode

* Tweak link text
2023-01-21 09:34:09 -08:00