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

762 Commits

Author SHA1 Message Date
Jitan Gupta
e805a5e287 Update nav-tab.md
Updated the from anchor tag to button in sample examples
2021-07-26 10:07:27 -05:00
GeoSot
41292a5257
Toasts: Change showing timings and classes to keep toast display:none by default (#33610) 2021-07-22 18:13:13 +03:00
GeoSot
dfafb9a60c
modal: change data-dismiss so that it can be outside of a modal using bs-target (#33403)
* change data-dismiss, so can be outside modal, using a bs-target

* Update site/content/docs/5.0/components/modal.md

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2021-07-19 16:56:05 +03:00
craftwerk
06a1ca5623 Add new offcanvas support to navbars
Co-Authored-By: craftwerk <1193597+craftwerk@users.noreply.github.com>
2021-07-17 20:33:34 -07:00
Mark Otto
aee169d192 Split .vr from stacks as a new helper 2021-07-16 15:11:40 -07:00
Mark Otto
2bc6de1f5e Add hstack and vstack helpers 2021-07-16 15:11:40 -07:00
Eric Horstmanshof
145aaee2a7 Added new Offcanvas file to import example
Added the new B5 Offcanvas component in the import examples.
2021-07-12 13:49:42 -07:00
Mark Otto
47bbd945f0
Add maps for all colors, document how to extend color utilities (#32319)
* Add maps for all colors, document how to extend color utilities

* Updates to make this more functional for v5

- Moves color maps into _variables.scss for now (felt weird to split them out when the variables are there)
- Adds a new function, map-merge-multiple(), and updates docs that reference combo-map
- Updates code snippet and docs guidance about how to extend the color utils to handle this

* Update site/content/docs/5.0/customize/color.md

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-06 14:31:20 -07:00
Mark Otto
359ed099e5 Add horizontal collapse support 2021-07-05 17:22:29 -10:00
Mark Otto
696996dd4f
Add dynamic, live alerts example to docs (#33866) 2021-06-29 18:46:25 +03:00
GeoSot
70dd7f6ff5
Changes to Alert component to match the others (#33402)
Alert.js: Refactor code to match the other components
* Use this._element
* Remove handleDismiss method and keep its functionality on event
* Change JqueryInterface to be more generic
* Correct docs to be aligned with code, and add undocumented functionality
* Update alerts.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-28 16:34:47 +03:00
Christian Oliff
088ef62982
Remove unneeded .text-white-50 CSS rule (#34336)
This is already part of Bootstrap 4.6 and 5.0.
2021-06-24 10:51:17 +03:00
Mark Otto
653476ec98 Fixes #34187 2021-06-23 20:37:07 -07:00
Mark Otto
dd824f2d3e
v5.1: Add optional CSS grid (#31813) 2021-06-22 19:51:16 -07:00
harishhalodoc
a816615efa
Add utility classes for opacity (#33781)
* Add responsive utility classes for opacity

- fix for #33483

* remove responsive opacity utils as it has impact on bootstrap.css bundle size

* Update opacity.md

* Update site/content/docs/5.0/utilities/opacity.md

Co-authored-by: Mark Otto <otto@github.com>

* Update site/content/docs/5.0/utilities/opacity.md

Co-authored-by: Mark Otto <otto@github.com>

Co-authored-by: Harish <halodoc@ip-192-168-1-101.ap-southeast-1.compute.internal>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: alpadev <2838324+alpadev@users.noreply.github.com>
2021-06-22 19:20:01 -07:00
Mark Otto
2d8da8bcb0
Add four new snippet examples (#33882)
* Add four new snippet examples

- Dropdowns
- Footers
- List groups
- Modals

* Fix HTML linter errors

* more linter
2021-06-22 19:15:02 -07:00
Matt Dufresne
9485172017 fix error in javascript example under Asynchronous functions and transitions section 2021-06-15 10:50:20 -07:00
aphel
285ff5ebf9 querySelector will only select the first element. Adjust to QuerySelectorAll 2021-06-14 18:50:02 -07:00
Mark Otto
5be3550d49 Add important to utilities, mention it's usage and global variable 2021-06-14 18:38:29 -07:00
Mark Otto
f30066cb8a
Document the change to breakpoint mixins (#34251)
* Document the change to breakpoint mixins

* Update migration.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-14 10:44:56 -07:00
Szymon Wiszczuk
7951eedbc6
fix(docs): update docs to match the newest modal-open removal (#34239)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-14 08:43:35 +03:00
Marius Steffens
f826331458
Update tooltips.md (#34222)
Update method names in the options table from old jQuery API to new Bootstrap 5 API
2021-06-14 08:35:58 +03:00
Luke Ingalls
95bc724b9c docs: update overview.md to fix typo 2021-06-13 19:36:25 -07:00
Laussel Loïc
9ac65855c4
fix accessibility issue on sidebars example (#34214) 2021-06-13 08:12:22 +03:00
Eelke van den Bos
7968a074a5
docs: update dropdowns.md to reflect the correct version (#34180)
* Update dropdowns.md to reflect correct version

* Clarify content, drop the reference to versions

* Update dropdowns.md

Co-authored-by: Mark Otto <otto@github.com>
2021-06-07 12:44:36 -07:00
Eduardo Allegrini
ca43fa8892 docs: update migration.md to fix a typo 2021-06-07 12:29:25 -07:00
Gaël Poupard
08139c2280
docs(customize): missed explanations for overrides (#34179)
Closes #34176

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-03 19:22:47 +03:00
Anal-Retentive Squirrel Hunter
f2b47e1c8a
Allow individual grid classes to override .row-cols (#33621) 2021-06-03 19:18:00 +03:00
Joel Johnson
f14d1a4c17
Add positioned badges example to docs (#34143)
* Update documentation for badges

* Removes useless changes, as well as fixes an example

* Fixes some text with a badge example

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-06-03 19:09:13 +03:00
GeoSot
c98657b830
Add getOrCreateInstance method in base-component (#33276)
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-03 18:53:27 +03:00
Rajesh Kumar
071a288d39
Placeholder changes to input value in readonly input. (#34040)
* placeholder changes to input value

* Fix content and add value to readOnly input

* add value in readonly input

* Update site/content/docs/5.0/forms/form-control.md

Co-authored-by: Rajesh Kumar <https://github.com/rajesh2kumar96>
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: Mark Otto <otto@github.com>
2021-06-02 23:14:10 -07:00
Gaël Poupard
46045b4a9b
img in horizontal card (#34160)
* docs(cards): img in horizontal card

Closes #34145 

Simply adds `img-fluid` and `rounded-start` classes to horizontal card example to ensure copy-pasting from the docs matches the expectation.

* Update site/content/docs/5.0/components/card.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-06-02 23:08:29 -07:00
Anirvan Chatterjee
7ec9d8df52 Fix typo ("theses"→ "these") 2021-06-02 22:21:27 -07:00
Andrea Sudharta
f9e3d01f30
corrected link to text alignment docs (#34119)
Co-authored-by: alpadev <2838324+alpadev@users.noreply.github.com>
2021-05-28 09:16:41 +02:00
hugonun
993b533dc6
Changing HTTP to HTTPS (#34090) 2021-05-25 08:28:27 +03:00
Mark Otto
8033975548
Document how to make utilities responsive using the API (#34062) 2021-05-22 10:51:30 +03:00
midzer
0a4219a0b8
Replace freenode with libera IRC server (#34050) 2021-05-21 08:08:04 +03:00
Jason Sperske
a44f3f47cb
Adjusted z-index to cover "copy" buttons (#34018)
The copy to clipboard buttons have a `z-index:10` while the toasts were styled to have a `z-index:5" causing them to appear under the button.
2021-05-19 07:54:21 +03:00
Gaël Poupard
0b2d20b975
docs(font-stack): drop BlinkMacSystemFont (#34009) 2021-05-18 08:48:43 +03:00
Gaël Poupard
9f678d6a5d
docs(examples): Dashboard improvements (#34007) 2021-05-18 08:47:09 +03:00
Gaël Poupard
83bcc3c00f
docs(cheatsheet): fix JS errors in setActiveItem() (#34011) 2021-05-18 08:31:15 +03:00
Mark Otto
d80cb2241d
Update Sidebars example to fix dividers and rendering on Chrome (#33859) 2021-05-12 21:34:34 -07:00
alpadev
a6dfaca605
docs: make tooltip anchor properly wrap the svg (#33901)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 11:38:48 +03:00
GeoSot
19f95a3d8d
Fix offcanvas example, using a custom trigger selector (#33926)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 10:58:45 +03:00
Christian Oliff
b110c0f0e2 Remove unneeded 'Edge Legacy' mention in Range docs 2021-05-10 13:49:16 -07:00
Tim Yang
18bc0d5d2b Fix "directoinal" typo in v5 migration docs 2021-05-10 13:48:34 -07:00
alpadev
75fe3244db
docs: fix rtlcss stringmap configuration (#33915) 2021-05-10 21:13:23 +03:00
Nikolay Nizriukhin
488fd8afc5
Fix accordion link (#33896)
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2021-05-08 13:28:15 +01:00
Chris Blakley
f12bc3316b
Fix "no long require" to "no longer require" typo (#33879)
Fixed a typo in the Migration guide from "...we no long require..." to be "we no longer require..."
2021-05-08 13:24:39 +01:00
Jaume Sala
e54d43cba3
Fix value (#33868) 2021-05-08 13:22:07 +01:00