aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.0/components/dropdowns.md
AgeCommit message (Collapse)AuthorFilesLines
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR1-1210/+0
2021-06-07docs: update dropdowns.md to reflect the correct version (#34180)Eelke van den Bos1-1/+1
* Update dropdowns.md to reflect correct version * Clarify content, drop the reference to versions * Update dropdowns.md Co-authored-by: Mark Otto <[email protected]>
2021-06-03Add `getOrCreateInstance` method in base-component (#33276)GeoSot1-2/+13
Co-authored-by: Rohit Sharma <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-04-25Clarify `boundary` option description (#33735)Rohit Sharma1-1/+1
Mention that `boundary` option is specific to the preventOverflow modifier only Co-authored-by: XhmikosR <[email protected]>
2021-04-20Dropdown — Add option to make the dropdown menu clickable (#33389)Rohit Sharma1-1/+65
2021-04-18Change from preventOverflow to detectOverflowRohit Sharma1-1/+1
- Since the link is for detectOverflow docs
2021-03-02Dropdown — Drop `flip` option (#33198)Rohit Sharma1-6/+0
2021-02-10Add Sass docs (variables, mixins, and loops) to most pages (#32747)Mark Otto1-0/+22
* WIP: Mention variables, mixins, and loops in docs * Add Sass sections to component pages * add sass docs for forms and content * Update buttons.md * Remove empty mixins sections * Massive update to utilities and some consistency changes Co-authored-by: XhmikosR <[email protected]>
2021-02-09Add function type for `popperConfig` option (#32882)Rohit Sharma1-2/+17
* Add function type for `popperConfig` option * Update .bundlewatch.config.json * copy edits Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-02-09Remove .dropdown-menu[style] reset and adjust .dropdown-menu-* modifiersMark Otto1-4/+89
- Removes the &[style] selector that was used for resetting Popper styles - Separate Popper-based alignment from static alignment with `data-bs-popover` attribute that separates the --bs-position and custom right/left properties Co-Authored-By: Rohit Sharma <[email protected]>
2021-02-04Fix boundary config description for dropdown and popover (#32979)Kyle Tsang1-3/+1
2021-02-03Dropdown — Emit events on the `.dropdown-toggle` button (#32625)Rohit Sharma1-2/+1
* Emit events on the dropdown button Emit the events on `.dropdown-toggle` button and then bubble up * Add migration note for events * Update the docs for events * Add unit test to check the event bubbling Co-authored-by: XhmikosR <[email protected]>
2021-02-03Remove the initial margin from dropdown/popover in favor of Popper (#32524)Rohit Sharma1-1/+1
* Remove the margin from dropdown in favor of Popper - Set the default margin to 0 for dropdowns (To remove the Popper's warning) - Set the required offset in dropdown's defaults * Remove the margin from the popover component Co-authored-by: XhmikosR <[email protected]>
2021-01-28Update docs for `offset` optionRohit Sharma1-3/+3
2021-01-28Restore offset option for dropdown componentjoke2k1-0/+10
2020-12-21Support Popper virtual elements (#32376)Nils K1-2/+2
Adds the ability to use objects implementing the virtual element interface as the value for the reference option of a dropdown config. Co-authored-by: XhmikosR <[email protected]>
2020-12-09docs: Update Popper 2 doc linkskyletsang1-1/+1
2020-12-06Change button copy to make the example clearerMartijn Cuppens1-1/+1
2020-12-06Update to popper.js v2.xJohann-S1-13/+3
2020-12-04docs(examples): new cheatsheet and RTL examplesGaël Poupard1-27/+32
2020-11-21Be consistent with Popper's name. (#32224)XhmikosR1-9/+9
The npm package is named "popper.js" but the project is named "Popper", so use the latter consistently.
2020-11-18docs(dropdowns): clarify where is `.show` applied (#32189)Gaël Poupard1-1/+1
Fixes #32712
2020-11-14Add `bs` in data attributesRohit Sharma1-54/+54
- Add `bs` in data APIs everywhere - Update unit tests
2020-10-29Minor Markdown fixes (#32009)XhmikosR1-1/+1
* add missing language after fenced block * add missing end of file newline
2020-10-19docs: switch to fenced codeblocks (#31806)XhmikosR1-20/+20
2020-10-13Revert "Improve callout shortcode. (#31802)" (#31871)XhmikosR1-6/+6
This reverts commit 5c6925385ee926a749ead6a4f2ebbfc64e701f36.
2020-10-13Split up dropdown sizing docs to improve rendering (#31861)Mark Otto1-55/+55
- Drop the included .btn-toolbar, no need - Split large and small button examples Closes #31841 Co-authored-by: XhmikosR <[email protected]>
2020-10-12Improve callout shortcode. (#31802)XhmikosR1-6/+6
Remove the `markdownify` call, and instead rely on Hugo's proper syntax; `{{% callout %}}` when we want to the content to be processed as Markdown. This allows for stuff like: {{% callout info %}} ##### I'm an info callout! ```css .foo { color: #fff; } ``` {{< example >}} <div class="alert alert-warning alert-dismissible fade show" role="alert"> <strong>Holy guacamole!</strong> You should check in on some of those fields below. <button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button> </div> {{< /example >}} {{% /callout %}}
2020-10-02Explain the "dispose" method appropriately (#30838)Rohit Sharma1-1/+1
2020-09-24Add .dropdown-menu-dark (#30171)Mark Otto1-0/+46
* Add .dropdown-menu-dark * Match background color to navbar dark * Update docs to include a navbar example * Update dropdowns.md Co-authored-by: XhmikosR <[email protected]>
2020-07-03Rename `sr-only`/`sr-only-focusable` (#31139)Patrick H. Lauke1-18/+18
* Rename `sr-only`/`sr-only-focusable` To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133 Co-authored-by: XhmikosR <[email protected]>
2020-06-27Add code to method/property tables (#31130)Patrick H. Lauke1-12/+12
Co-authored-by: XhmikosR <[email protected]>
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR1-0/+971
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.