0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

1400 Commits

Author SHA1 Message Date
Jaume Sala
39b7c75b13
Add new placeholder component (#31859)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Jaume Sala <jaumesala@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2021-08-03 08:59:00 -07:00
XhmikosR
23fd488c38
Add missing newlines around fenced codeblocks (#34630) 2021-07-30 08:56:36 +03:00
XhmikosR
6d707f4801
Enable a few eslint-config-xo rules (#34620)
* unicorn/prefer-dom-node-append
* unicorn/prefer-dom-node-remove
2021-07-30 00:23:00 +02:00
XhmikosR
c6c0bbb0b6
Collapse page: add a link to the accordion page (#34605) 2021-07-29 06:39:12 +03:00
Mark Otto
906a990eb7
Revert "Allow individual grid classes to override .row-cols (#33621)" (#34612)
This reverts commit f2b47e1c8a.
2021-07-29 06:29:46 +03:00
GeoSot
4bfd8a2cbc
Use a streamlined way to trigger component dismiss (#34170)
* use a streamlined way to trigger component dismiss

* add documentation

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-28 17:39:32 +03:00
Mark Young
24e14c36e8
Correct Toast docs (#34604)
Removes incorrect references to scrollspy in Toasts documentation
2021-07-28 16:17:24 +03:00
Mark Otto
8513c69385
Document change to hr in v5 (#34574)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-27 08:25:07 +03:00
Mark Otto
f41bf2f7c5
Rename Build Tools page to Contribute (#34578)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-27 08:14:24 +03:00
Mark Otto
d140981fdb Make note of _root.scss being required 2021-07-26 17:28:06 -05:00
Mark Otto
e208774fc1
Clean up a couple CSS Grid issues (#34572)
- Moves the make-cssgrid() mixin to the grid mixins stylesheet
- Updates the g-start-* classes to start at 1 instead of 0 as 0 is an invalid value (fixes #34399)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-26 18:45:10 +03:00
Mark Otto
905db7dadb
Update the custom Sass import docs (#34573)
Now includes mentino of the two utilities stylesheets, plus how and why to include the API stylesheet last

Fixes #34397

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-26 18:41:43 +03:00
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
XhmikosR
dd303fa971
docs: minor image compression improvements (#34557)
Before: 121 KB (124.549 bytes)
After:  121 KB (124.367 bytes)
2021-07-25 20:33:45 +03:00
Ben Koshy
2bdbb42dcf
docs: Add Github Octicons to the list (#34526)
Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-22 18:29:47 +03: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
XhmikosR
75b2934596
Update devDependencies (#34552)
* @babel/cli             ^7.14.5  →  ^7.14.8
* @babel/core            ^7.14.6  →  ^7.14.8
* @babel/preset-env      ^7.14.7  →  ^7.14.8
* eslint-config-xo       ^0.36.0  →  ^0.37.0
* eslint-plugin-unicorn  ^31.0.0  →  ^34.0.1
* hugo-bin               ^0.73.0  →  ^0.74.0
2021-07-21 15:57:47 +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
acyoush
66ce774e2a Fix site params variable on themes section 2021-07-06 11:25:12 -10: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
XhmikosR
688bce4fa6
Release v5.0.2 (#34276)
* Bump version to v5.0.2.

* Dist
2021-06-22 21:29:16 +03: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
Mark Otto
be17444756
Replace / division with multiplication and custom divide() function (#34245)
* Convert bulk of division to multiplication

* Use custom divide() function instead of Dart Sass math module for greater compatibility

* Apply suggestions from code review

* Fix functions
2021-06-14 09:35:30 -07:00
Julien Déramond
e9da490e51
docs(style): fix display of nested <ul><li> (#34223) 2021-06-14 08:45:13 +03: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