Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-27Update import order for utilities API docs (#36444)Mark Otto
* Update import order for utilities API docs * Add more complex examples, clarify things * typo
2022-05-24Add docs info for using JS w/ ESM shim (#36414)Mark Otto
* Docs: dependencies mgmt for vanilla ESM in browser Doc change for https://github.com/twbs/bootstrap/issues/31944 * Update javascript.md * Update javascript.md * Update .cspell.json * Update javascript.md * Update javascript.md * rewrite * Add link * edit * eslint-skip Co-authored-by: Caspar MacRae <earcam@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-05-24CSS: doc fixes (#36425)Louis-Maxime Piton
* Remove unused attributes * Use utilities rather than using new CSS * Removed unused class * Change StackBlitz icon `aria-label` + small inconsistency
2022-05-23Rewrite Parcel guide (#36411)Mark Otto
* Rewrite Parcel guide * update to match latest webpack guide, add images * eslint-skip * Apply suggestions from code review Co-authored-by: Julien Déramond <julien.deramond@orange.com> * match parcel to webpack, share footer, consistent use of no ; * Update site/content/docs/5.2/getting-started/parcel.md Co-authored-by: Julien Déramond <julien.deramond@orange.com> * edits from code review * Add custom images * add image compression action from blog Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-05-21Remove is-invalid from textarea validation example汪心禾
2022-05-20Rewrite Webpack guide (#36382)Mark Otto
* Rewrite Webpack guide Co-Authored-By: GeoSot <geo.sotis@gmail.com> Co-Authored-By: Julien Déramond <17381666+julien-deramond@users.noreply.github.com> * rewrite some pieces * eslint-skip Co-authored-by: GeoSot <geo.sotis@gmail.com> Co-authored-by: Julien Déramond <17381666+julien-deramond@users.noreply.github.com>
2022-05-20Update form-control-color sizing and styles (#36156)Mark Otto
2022-05-20CSS: few proposals (#36406)Louis-Maxime Piton
* Something to try about `!important` in color-bg helper * Better understanding border utility `.border-*-0` * Having rounded numbers of px
2022-05-20Docs: quick fixes for HTML (#36395)Louis-Maxime Piton
* Using the new helper in the doc * Remove input from `Tab` access * Change scrollspy code examples * Reordering tables for JS * Fix for parcel file * Center align all the code example texts in layout * Alphabetical reorder the helpers
2022-05-20Update introduction.mdLiam
Juste a quotation mark.
2022-05-16Correct rounded sizes numberChristian Oliff
2022-05-13docs: add the version in npm/yarn commandsXhmikosR
2022-05-13Prepare v5.2.0-beta1Mark Otto
2022-05-11Minor changes in 'Usage with JavaScript frameworks' descriptionJulien Déramond
2022-05-11Remove unused `.border-right` rule from modal example CSS fileJulien Déramond
2022-05-11Doc: fix text overflow exampleJulien Déramond
2022-05-11Fix contents.mdcccabinet
2022-05-07Toast: provide `isShown` method (#36272)GeoSot
* feat(Toast): provide `isShown` method * Update site/content/docs/5.1/components/toasts.md Co-authored-by: Julien Déramond <julien.deramond@orange.com> Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-05-07Docs(Scrollspy): minor changes to be aligned with new version of javascript ↵GeoSot
(#36260) * Docs(Scrollspy): minor changes to be aligned with new version of javascript code * first example: add proper root-margin * 'nested nav' example: add more content to sections & enable smooth-scroll * fix typo * Changes after feedback * Update examples and docs to streamline some things and improve how it works section Co-authored-by: Mark Otto <markdotto@gmail.com>
2022-05-07docs: add proper markup on modal's page tooltips ands popoversGeoSot
2022-05-06Iterate on border utilities (#36239)Mark Otto
* Remove `--bs-border-opacity: 1` from `.border-*` utilities We set `--bs-border-opacity: 1` globally at the `:root` level, so redeclaring it on every `.border-*` utility doesn't make much sense. I think we can drop this. * Remove global border-opacity var, restore on .border-color classes, move .border-color utils down the list to fix some specificity issues * Add some demos of border utils to the docs
2022-05-06Handle disabled focused tabs with tab JavaScript plugin (#36169)Julien Déramond
* Handle disabled tabs * Fix after feedback * Update js/src/tab.js Co-authored-by: GeoSot <geo.sotis@gmail.com> * Update js/src/tab.js Co-authored-by: GeoSot <geo.sotis@gmail.com> * Commit suggestions via GitHub broke the thing * Add some unit tests * Remove temp doc modification * Add tests for left arrow * Add disabled tabs in JavaScript Behavior section * Compact 4 tests to 2 tests * Compact 4 tests to 2 tests * Add 'disabled' attribute for all buttons * Change the disabled pane position only for the vertical version * Change ids for the confusing first example in JavaScript behavior * Use disabled attribute instead of the class for buttons in tabs Co-authored-by: GeoSot <geo.sotis@gmail.com>
2022-04-30include in migration guideMark Otto
2022-04-30Update badges, cards, and toasts to use new helpersMark Otto
2022-04-30Add new text-bg-color utilitiesMark Otto
2022-04-30Doc: remove `role="group"` from some split drop* buttonsJulien Déramond
2022-04-30Update new docs version picker to work on home and examples pages (#36245)Mark Otto
* Update new docs version picker to work on home and examples pages * Add addd key to opacity page * Add more added frontmatter * Update picker to fix migration guide links, but still work for docs and examples
2022-04-30Update path to `@popperjs/core` in parcel.md汪心禾
-│ └── popper.js/ +│ └── @popperjs/ +| └── core/
2022-04-29Revert `border-color` change (#36238)Mark Otto
* Revert `border-color` change * Add new border-color-translucent for when we want optional alpha-transparency in our border-color Apply to drodpowns, modals, offcanvas, popovers, and toasts * bundlewatch
2022-04-29Document incompatibilities between Bootstrap JS and React/.etc (#36217)Sam Magura
* Document incompatibilities between Bootstrap JS and React/.etc Closes #35665. * Remove link to reactstrap * Update javascript.md Co-authored-by: Mark Otto <otto@github.com>
2022-04-29Doc: mention Popper instead of Popper.jsJulien Déramond
2022-04-29Doc: fix offset content for examples pageJulien Déramond
2022-04-26Docs: update documentation js examples, using es6 (#36203)GeoSot
* Docs: update components documentation using es6 * Docs: update js blocks around docs, using es6 * Docs: update components documentation using es6 * Test linter
2022-04-22Add .show class to offcanvas example, and disable it's normal behavior in our JSMark Otto
2022-04-21Carousel: Fix not used option (`ride`), simplify `cycle` method (#35983)GeoSot
* Fix not used option (`ride`) (according to docs), continuing of #35753 a247fe9 * separate concept of `programmatical cycle` vs `maybe cycle after click` functionality
2022-04-21Manipulator: Add JSON parse support (#35077)GeoSot
Support parsing JSON from each component's main element using the `data-bs-config` attribute. The `bs-config` attribute will be reserved and omitted during `getDataAttributes` parsing. With this commit, every component, will create its config object, using: * defaults * data-bs-config * the rest of data attributes * configuration object given during instance initialization Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Mark Otto <markd.otto@gmail.com> Co-authored-by: Mark Otto <markdotto@gmail.com>
2022-04-21Doc: minor modifications in Scrollspy (#36195)Julien Déramond
Doc: minor modifications in Scrollspy
2022-04-21Rewrite Getting Started > Introduction page to be more guide-like (#36204)Mark Otto
* Rewrite Getting Started > Introduction page to be more guide-like * Add tabs, mention offcanvas for navbar
2022-04-20Minor fixeslouismaxime.piton
2022-04-19Refactor some docs examples CSS (#36194)Mark Otto
* Fix some more borders and margins * Flex utilities docs: remove .bd-highlight class from snippets * Explicit close target * Reorder to keep base class up top * Fix custom position example * Tooltips: add code snippet, use scss-docs ref for custom tooltip * Tweak text for pagination examples * Modals: move custom styles to utilities * Grid docs: Combine selectors and share coloring * Refactor tons of little things
2022-04-19Realign Cheatsheet nav tabs example rendering with the examples in the docJulien Déramond
2022-04-19Do some CSS and Migration guide cleanup (#36191)Mark Otto
* Do some CSS and Migration guide cleanup - More code snippet tweaks - Fix some homepage hero bugs - Do a cleanup on Migration guide content to highlight more changes and fix some issues from merge conflicts
2022-04-18change `.border-right` to `.border-end`Toto
2022-04-18v5.2.0 design refresh, plus responsive offcanvas classes (#35736)Mark Otto
* Add responsive offcanvas classes - Updates navbar-expand classes to de-dupe some styles—these shouldn't interfere now. - Adds some JS to the offcanvas component to help with responsiveness Co-Authored-By: GeoSot <geo.sotis@gmail.com> * Redesign homepage, docs, and examples Homepage: - New Bootstrap purple navbar - Redesigned masthead - Rewrote and redesigned homepage content - Replace Copy text with icons like Bootstrap Icons site across all ClipboardJS instances - Fixed padding issues in site footer - Match homepage button styles to examples page, use gap instead of tons of responsive margin utils Docs: - New navbar, no more subnav. Migrated search and version picker into the main navbar and refreshed the design of it all, including the responsive toggles. - New sidebar navigation is always expanded, and now features Bootstrap Icons alongside section headings - Sidebar navigation autoscrolls to active link for better usability - Subnav and navbar padding issues ironed out - Enhanced the version picker in anticipation of v5.2: we can now link right to the same page in the previous version. - Redesign callouts to add more color to our pages - Collapse table of contents on mobile - Cleanup and redesign button styles with CSS variables - Update design for subnav version dropdown - Update highlight and example to be full-width until md - Improve the Added In badges - Turn the ToC into a well on mobile - Redesign code snippets to better house two action buttons Examples: - Redesign Examples page layout - Add new example for responsive offcanvases in navbars * Convert offcanvas to CSS vars * Feat: add resize handler to Offcanvas.js. If we could use as default the `.offcanvas` class without modifiers, we then, could add a simplified selector The selector itself, ignores the .offcanvas class as it doesn't have any responsive behavior The `aria-modal` addon is to protect us, selection backdrop elements * Separate examples code, Add some selectors, fix stackblitz btn Co-authored-by: GeoSot <geo.sotis@gmail.com>
2022-04-17Fix containers page in docs to re-order list so it matches sections below it.MelanieL
2022-04-14Doc: Uniformization of nav tabs content panes (#36163)Julien Déramond
* Doc: Uniformization of nav tabs content panes * Fix after review
2022-04-13Revamp Scrollspy using Intersection observer (#33421)GeoSot
* Revamp scrollspy to use IntersectionObserver * Add smooth scroll support * Update scrollspy.js/md * move functionality to method * Update scrollspy.js * Add SmoothScroll to docs example * Refactor Using `Maps` and smaller methods * Update scrollspy.md/js * Update scrollspy.spec.js * Support backwards compatibility * minor optimizations * Merge activation functionality * Update scrollspy.md * Update scrollspy.js * Rewording some of the documentation changes * Update scrollspy.js * Update scrollspy.md * tweaking calculation functionality & drop text that suggests, to deactivate target when wrapper is not visible * tweak calculation * Fix lint * Support scrollspy in body & tests * change doc example to a more valid solution Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2022-04-13Update parcel.mdAnthony Perez
Following the Parcel v1 installation guide seems to install the latest version of Parcel (v2), which makes several instructions in this guide throw errors. Therefore, I have updated the guide to work with version 2 of Parcel. Change Details: 1) Update the URL to point to the latest doc pages. 2) Use the `type="module"` HTML attribute to reference a module [migration](https://parceljs.org/getting-started/migration/#code-changes) 3) The `--out-dir <dir>` CLI parameter has been changed to `--dist-dir <dir>` [CLI](https://parceljs.org/features/cli/#parameters) 4) For a reason I'm unsure of, `--experimental-scope-hoisting` throws the following error: `error: unknown option '--experimental-scope-hoisting'`, so I removed it to get the build to work.
2022-04-13Fix proposallouismaxime.piton
2022-04-13Remove tooltip and popover styling as it is handled by Popper (#34627)GeoSot
* Remove not needed css form tooltip & popover as it is made by popper Remove tooltip margin variable, as popper needs margin to be zero * Remove popover left/top initializers as they are handled by popper * nullify `margin` variable and add deprecation message * Document change in migration guide * Update _variables.scss Co-authored-by: Mark Otto <markdotto@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>