aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.0/components/modal.md
AgeCommit message (Collapse)AuthorFilesLines
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR1-1014/+0
2021-07-30Add missing newlines around fenced codeblocks (#34630)XhmikosR1-0/+1
2021-07-28Use a streamlined way to trigger component dismiss (#34170)GeoSot1-10/+1
* use a streamlined way to trigger component dismiss * add documentation Co-authored-by: XhmikosR <[email protected]>
2021-07-19modal: change `data-dismiss` so that it can be outside of a modal using ↵GeoSot1-0/+18
`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 <[email protected]>
2021-06-14fix(docs): update docs to match the newest modal-open removal (#34239)Szymon Wiszczuk1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2021-06-03Add `getOrCreateInstance` method in base-component (#33276)GeoSot1-0/+9
Co-authored-by: Rohit Sharma <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-05-04Neutralise more words from placeholder text (#33731)Patrick H. Lauke1-8/+1
* Neutralise more words from placeholder text Follow-up to https://github.com/twbs/bootstrap/pull/33726 * Match fullscreen modal to other sizes * Ditch the lyrics outright * Rewrite and tweak the blog example some * update cheatsheet * text utils copy too * Fix the tbody validation error * fix typo Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: alpadev <[email protected]> Co-authored-by: alpadev <[email protected]>
2021-04-23Replace modal and scrollspy placeholder content (#33726)Mark Otto1-22/+9
2021-04-17Fix toggle between modals exampleMark Otto1-50/+21
2021-03-16Add example: toggle modal dialogs (#33301)Anton1-0/+69
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-03-16Update modal's `show` method to accept `relatedTarget` as an argument (#33300)Anton1-0/+7
Co-authored-by: Rohit Sharma <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-02-10Add Sass docs (variables, mixins, and loops) to most pages (#32747)Mark Otto1-0/+12
* 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]>
2020-12-11Replace Lorem Ipsum placeholder text with more representative (or at least ↵Patrick H. Lauke1-61/+29
english language) text (#32246) Replaces shorter examples with more sensible/representative/inforrmative text. For longer passages, resorted to using SFW extracts from http://katyperryipsum.com/
2020-12-04docs(examples): new cheatsheet and RTL examplesGaël Poupard1-8/+8
2020-11-30Remove the `show` property from the modal plugin (#32279)Rohit Sharma1-6/+0
Drop the support of show property from the modal plugin. When creating the new modal instance in v5, the `show` property does not work anymore, so instead of fixing the behavior just removing it permanently to keep the consistency between all the plugins. (All other plugins require the `show()` method to be called on the instances to be shown) Co-authored-by: XhmikosR <[email protected]>
2020-11-21docs: use `event` instead of `e` (#32226)XhmikosR1-1/+1
It's better for clarity.
2020-11-14Add `bs` in data attributesRohit Sharma1-75/+75
- Add `bs` in data APIs everywhere - Update unit tests
2020-10-19docs: switch to fenced codeblocks (#31806)XhmikosR1-39/+49
2020-10-13Revert "Improve callout shortcode. (#31802)" (#31871)XhmikosR1-4/+4
This reverts commit 5c6925385ee926a749ead6a4f2ebbfc64e701f36.
2020-10-12Improve callout shortcode. (#31802)XhmikosR1-4/+4
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-29docs(Modal): Add xxl fullscreen example (#31583)Kyle Tsang1-0/+22
* docs(Modal): Add xxl fullscreen example * Update modal.md Co-authored-by: XhmikosR <[email protected]>
2020-09-22Update some close button examplesMark Otto1-4/+2
2020-09-22Rename .close to .btn-close, replace times sign with background SVG, update ↵Mark Otto1-57/+19
focus state
2020-06-27Add code to method/property tables (#31130)Patrick H. Lauke1-17/+17
Co-authored-by: XhmikosR <[email protected]>
2020-06-04Add role="dialog" in modals via JavaScript (#30936)Rohit Sharma1-23/+23
2020-05-19Streamline application.js exampleModal code (#30819)XhmikosR1-2/+5
* use `textContent` since we only need to add text * move comments
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR1-0/+999
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.