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
2021-03-23Release v5.0.0-beta3 (#33439)v5.0.0-beta3XhmikosR
2021-03-16only trigger tooltip inserted event on true dom insertRyan Berliner
2021-03-16reuse existing popper on show during tooltip fadeoutRyan Berliner
2021-03-16prevent quick interactions from misplacing tooltipsRyan Berliner
2021-03-16prevent tooltip from being deleted on quick re-activationsRyan Berliner
2021-03-02refactor: use a Map instead of an Object in dom/data (#32180)alpadev
Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
2021-02-16util: change `isRTL` to a function (#32446)XhmikosR
This allows the bundler to tree-shake the function.
2021-02-10Release v5.0.0-beta2 (#32467)v5.0.0-beta2XhmikosR
* Bump version to 5.0.0-beta2 * Dist
2021-02-09Add function type for `popperConfig` option (#32882)Rohit Sharma
* Add function type for `popperConfig` option * Update .bundlewatch.config.json * copy edits Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Mark Otto <markdotto@gmail.com>
2021-02-04Fix Popper preventOverflow boundary config (#32845)Kyle Tsang
Currently, the boundary config is being assigned to the wrong var (`rootBoundary`) in the popper config. It should be assigned to the `boundary` var in popper's config. Ref: https://popper.js.org/docs/v2/utils/detect-overflow/#boundary
2021-01-28Restore `offset` option for tooltip/popover componentsRohit Sharma
2021-01-27Tooltip refactoring (#32523)GeoSot
* tooltip: move common code to a reusable function * tooltip: return early in `show()` Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-14Tooltip/popover - change the default value for `fallbackPlacements` (#32437)Rohit Sharma
The default Popper `fallbackPlacements` value is `[oppositePlacement]`. - The default value was previously (in v4) `'flip'` that can be achieved by passing the single value in the array, like — `[oppositePlacement]`. Keeping `null` also sets the `fallbackPlacements` to `[oppositePlacement]` (Default value in Popper) - It's better to have **clockwise** (`['top', 'right', 'bottom', 'left']`) fallback options so that tooltip/popover can be placed to another side even if the opposite placement doesn't fit. Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-10Tooltip - check if tip and its parent node exist in dispose method (#32420)Rohit Sharma
2020-12-10Remove `TRANSITION_END` from utils (#32394)XhmikosR
2020-12-10Add fallback behaviourMartijn Cuppens
2020-12-08Refactor components to use a utility function to define jQuery plugins (#32285)alpadev
* refactor: use an utility function to define jQuery plugins * test: add spec for defineJQueryPlugin utility function * Update .bundlewatch.config.json Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-07Prepare v5.0.0-beta1.XhmikosR
2020-12-06Update to popper.js v2.xJohann-S
2020-12-04feat(RTL): implement RTLGaël Poupard
Using RTLCSS directives, renaming things to use logical names and following best practices.
2020-12-02Unbreak lines. (#32304)XhmikosR
2020-11-30tooltip.js: reuse existent variableXhmikosR
2020-11-30Extra check for existence of any `aria-label`Patrick H. Lauke
before overwriting it...
2020-11-30Accessibility update for tooltip.jsMatty Williams
Update to the tooltip.js to add an aria-label attribute that contains the original title of the element, but only if the element doesn't have an existing aria-label attribute. This is to address cases where screen readers are not capturing the aria-describedby attribute that is added when the tooltip is triggered. This should also avoid a race condition between the screen reader and the appearance of the tooltip.
2020-11-29Remove setData from construtors (#32264)Rohit Sharma
2020-11-29Move `VERSION` to BaseComponent (#32254)Rohit Sharma
2020-11-29add dispose in base componentJohann-S
2020-11-29create a base componentJohann-S
2020-11-25Ability to add custom class in tooltip/popover (#32217)Rohit Sharma
Porting of #31834 to main. Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-21Be consistent with Popper's name. (#32224)XhmikosR
The npm package is named "popper.js" but the project is named "Popper", so use the latter consistently.
2020-11-14Switch to `Set#has()`XhmikosR
2020-11-14Switch to `String.includes()`XhmikosR
2020-11-14tooltip.js: deduplicate `_fixTitle()` (#32124)XhmikosR
2020-11-14Add `bs` in data attributesRohit Sharma
- Add `bs` in data APIs everywhere - Update unit tests
2020-11-11Prepare v5.0.0-alpha3 (#32122)v5.0.0-alpha3XhmikosR
2020-11-01Streamline jQuery comment. (#32016)XhmikosR
2020-11-01Fix TypeError when Bootstrap is included in `head` (#32024)Sascha
* extend jquery after domContentLoaded event is fired * add unittest for util onDOMContentLoaded * wait for trigger jquery event after domContentLoaded * remove domcontentready from eventHandler * move istanbul ignore statements to correct line Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-29Prepare v5.0.0-alpha2. (#31748)v5.0.0-alpha2XhmikosR
2020-09-24fix tooltip hide method when already hidden (#31115)Hiws
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-12Add parentheses around multiple spread conditionsXhmikosR
2020-07-12tooltip.js: remove variable used once.XhmikosR
2020-07-12Unbreak lines.XhmikosR
2020-06-19Change whitelist to allowlist (#31066)Patrick H. Lauke
Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-06-18Fix tooltip when hovering a children element (delegateTarget) (#30928)Tanguy Krotoff
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-17Unbreak short linesXhmikosR
2020-06-16Rename "master" to "main". (#31050)XhmikosR
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-04-28Drop closest from SelectorEngine (#30653)Martijn Cuppens
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-17Replace event.delegateTarget with event.targetTanguy Krotoff
No need for fixEvent() anymore
2020-04-09Pass multiple classes to `classList.add` / `classList.remove` (#30537)XhmikosR
This is supported by our currently supported browsers.