2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-18 12:39:41 +03:00
Commit Graph

1924 Commits

Author SHA1 Message Date
Julien Déramond d0cc42c009 Docs: add missing twbs/examples and change sorting (#38407)
* Docs: add missing twbs/examples

* Change sorting of examples.yml

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-04-05 09:10:47 +03:00
Julien Déramond b62fd60a6d Docs: remove moot hot option from Vite guide (#38405) 2023-04-05 08:44:38 +03:00
XhmikosR ac576614a5 Release v5.3.0-alpha3 (#38357)
* Bump version to 5.3.0-alpha3

* Dist
2023-04-03 10:26:50 +03:00
Tien Do c0107d142e docs: add variables-dark import in home page 2023-04-01 17:35:51 -04:00
Patrick H. Lauke 74c6f2bcfb Fix clipboard code (#38380) 2023-03-30 16:03:48 +03:00
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
Julien Déramond 34c2725fe1 Docs: js-docs unindent automatically the code inside shortcode (#38349) 2023-03-28 17:01:47 +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
XhmikosR 1729bcca1b docs: remove trailing newline when copying snippets (#38321) 2023-03-27 11:04:52 +03: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
XhmikosR c877cefcef Release v5.3.0-alpha2 (#38244)
* Bump version to 5.3.0-alpha2

* Dist
2023-03-24 16:30:16 +02:00
Louis-Maxime Piton f8a56da8b0 Docs: scss-docs unindent automatically the code inside shortcode 2023-03-24 16:11:22 +02: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 aadfe7edce Fix comment position in assets/scss/_content.scss (#38281) 2023-03-23 14:31:24 +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
Louis-Maxime Piton a6d8aa827d Proposal to use scroll-margin-top instead of introducing padding and negative margin (#38220) 2023-03-19 17:45:46 -07:00
XhmikosR 5d4048350f Slightly improve examples PNG files (#38270)
Before: 97,4 KB (99.758 bytes)
After:  94,2 KB (96.512 bytes)
2023-03-19 17:42:52 -07:00
Julien Déramond f52d4a35b3 Fix placeholder shortcode color and background params when 'img' markup (#38263) 2023-03-19 17:42:30 -07:00
Mark Otto 6855ce9512 Revert "Guard more in color-modes.js (#38235)" (#38280)
This reverts commit 474bf2aed1.
2023-03-19 17:35:57 -07:00
Julien Déramond 2d0c94c05a Docs: make all headings use var(--bs-emphasis-color) (#38262) 2023-03-19 16:57:35 -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 adf7b8dc40 Docs: use core mixins in a couple of places (#38236) 2023-03-15 06:40:58 +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
XhmikosR 474bf2aed1 Guard more in color-modes.js (#38235) 2023-03-14 20:30:11 +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
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
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
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
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
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