Update dependency bootstrap.native to v5 #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.0.2→^5.0.0Release Notes
thednp/bootstrap.native (bootstrap.native)
v5.1.0What changed
position: absolute;returns instead of longifs, improved logic, code cleanup;disabledstatus;currentTargetis a child element of the event target (possibly a result of incorrect code mergers in the past);v5.0.9Compare Source
v5.0.8Compare Source
v5.0.7Compare Source
v5.0.6Compare Source
v5.0.5Compare Source
v5.0.4Compare Source
v5.0.3Compare Source
v5.0.2Compare Source
v5.0.1Compare Source
v5.0.0Compare Source
v4.2.0: Important updateCompare Source
What's changed
What's new
triggersandisShownproperty to Toast componentWhat's fixed
For a complete and detailed view of the changes, check out the commits log
v4.1.2Compare Source
v4.1.1Compare Source
v4.1.0: BSN 4.1.0 stable releaseCompare Source
What Changed
In brief, a complete rework of all components for stronger TypeScript or improved JavaScript consistency, as well as new features.
Potentially Breaking Changes
myAlertElement.Alert), you now need to use the build in static methods (EG:BSN.Alert.getInstance(myAlertElement)which is on par with the original library.shorter-jslibrary has suffered an entire sweep of changes to file and folder structure, your de-duped builds may need some updates.New Features
myCollapse.isAnimating) the result is: execution must never bubble or break in any case. The following components benefit: Carousel, Collapse, Modal, Tooltip, Popover, Tab and Toast..carouselelement.Improvements
dist/components.popover.jsslightly larger in size, but BSN is overall smaller.Most Notable Commits
273a861ad06397ea1eda7d3504275eb497854af63bThanks to all who tested and participated in #430 @midzer @jcorporation @lekoala
v4.0.7Compare Source
v4.0.6Compare Source
v4.0.0: Major Version Release 4.0 for Bootstrap 5Compare Source
Changes:
bootstrap.native.js), BSN V4 is now the legacy version (bootstrap-native.v4.js)v3.0.15: First Bootstrap 5 version availableThis is an important release, that's why I'm adding here a RELEASE TAG. BSN for Bootstrap 5 is probably close to what I'd call great.
For full changelog, please check #400
Please test and report back.
v3.0.10: BSN now works in HEADCompare Source
Updated
shorter-jsto make BSN work in the site<head>section.v3.0.9: Fixed components not exported to cdnv3.0.7: Better and dedicated build tools for components modulesCompare Source
v3.0.6: Components as modules now available, other improvementsCompare Source
Changes:
dist/components/folder holds UMD and ESM modules for all components, thanks @lparshorter-jsfor events handling, class manipulation, and more, see commit file changestryWrapperdue to some inconsistency error reporting, despite the benefit it bringsv3.0.5: Minor improvementsChanges:
tryWrapperfrom components themselves, it's now optional because it's included with theinitCallback()andremoveDataApi()callbacksv3.0.3: Fixed package.jsonCompare Source
v3.0.2: Fixes and improvementsCompare Source
Changes:
touchDocumentation updates
touchoptionsv3.0.1: Minor fixesCompare Source
Changes:
v3.0.0: ES6/ES7 VersionCompare Source
Changes:
dispose()instance method and the ability to re-initialize on the flyshow,hide,slide, etcImportant Notes
new Carousel('#target')becomesnew BSN.Carousel('#target')More details at #306
v2.0.27: Various fixes and new featuresCompare Source
Changelog
dismissHandler, #278fadeauto option #2876ba2aa9styleTiputility to properly style the Popover arrowtabindexcode, usage, demo and guides for Button component in V3/V4v2.0.26: New features and various fixesCompare Source
Changelog:
/libfolder and created an unified build script for both V3/V4, check updated WIKI pagesoptions.titleandoptions.content#277options.targetfirst before going afterdata-targetemulateTransitionEndutility, details here and herev2.0.25: Further improvementsCompare Source
Changes
carousel-itemis foundemulateTransitionEndutility #266v2.0.24: Minor fixesCompare Source
Changelog
41a024bslideToto jump to the current active itemdata-interval#241c6e261ecarousel.cycle()27cfd8faria-expanded#245v2.0.23: ImprovementsCompare Source
Changelog
interval:falseis usedemulateTransitionEndthanks to @nlemoineemulateTransitionEndhandlerautoInitDataAPIbuild option, thanks to @marcelpanse detailsv2.0.22: Fixes and updates for V4Compare Source
Changelog
v2.0.21: HotfixCompare Source
Minor fixes:
v2.0.20: New features and improvementsCompare Source
Dropdown
Esckey and improved what gets focused on opening/closing the menu. detailsButton
SpacekeyOther
<head>without additional code requirements detailsv2.0.19: Fixes and new featuresCompare Source
Both V3/V4 versions
elementInViewport()andupdatePlacement()utilitiesfadeis used but no height animation viadata-height="true"attributev2.0.18: Improvements and minor fixesCompare Source
Non component specific
The library now allows you to link it in the
<head>, details, check wiki for more.Modal:
Button
<div class="btn-group">detailsdata-TEXToptions detailsTooltip
** V3/V4 Tooltip should close on resize details
Affix
** V3 component should not use resize on IE8 details
Popover
** V3/V4 component should not abuse event handlers on global objects details
Dropdown
** V3/V4 component should not abuse event handlers on global objects details
v2.0.17: Modal and Tooltip improvementsCompare Source
Modal:
Tooltip
f3ff474data-title, astitleis invalid for SVG5c5fb3dv2.0.16: ImprovementsCompare Source
Carousel - details
slideTo()public method now works properly when used outside the prototypeDropdown details
ScrollSpy - details
offsetoptionModal - details
Button - details
Alert - details
v2.0.15: Much needed improvementsCompare Source
Changes:
"use strict"to improve performanceinitializaDataAPIutility for faster component initializationv2.0.14: Minor fixCompare Source
Fixed
classListpolyfill inpolyfill.jsandpolyfill.min.jsin regards to SVG, details thednp/minifill@b528a8dv2.0.13: Updated V4 to latest beta versionCompare Source
v2.0.12: Minor ImprovementsCompare Source
Changes:
Dropdownnow can work with dynamically added menu items and submenus #135Dropdownhandler fixed for good #114 (comment)show()method forTabcomponent when using the method via JavaScript #142 (comment)Collapsefunction nesting for a bit better performance #139v2.0.11: Fixing Dropdown nestingCompare Source
Details:
0aa7eedv2.0.10: Fixes with components usingfadeclassCompare Source
Changes:
fadeclass #125tab-contentitems of same height fixedf2f0f47v2.0.9: Minor ImprovementCompare Source
Changes:
.npmignorev2.0.8: Minor improvementCompare Source
Changes:
v2.0.7: Minor fixCompare Source
Details #121
v2.0.6: Fixes and improvementsCompare Source
Changelog:
Commit
b34da07isIEutility frombootstrap.nativefor Bootstrap 3, replaced with isisIE8a more simple way to find IE8, as we now usesupportTransitionscontaineroption if the link/button is a child of that modaltransitionendgetClosestutilityCommit
b51811aCommit
2a79c41fixed-toporfixed-bottom(BS4) /navbar-fixed-topornavbar-fixed-bottom(BS3)transitionendwill never trigger)v2.0.5: Fixing mosttransitionendrelated issuesCompare Source
Changes
4f95ab7translationendrelated issues0e7aa35transitionendb0548c7v2.0.4: Removed duration option for transitionEnd eventCompare Source
Changelog
Utilities
one()to add an event listener once, jQuery styleemulateTransitionEnd()isIEdetection from V473c27dfCollapse
in/showclass is added to collapsible element first and then the utilities can easily compute the maxHeightcollapseclass from/to the collapsible element, solving some issue with more complex accordion structures21a9471Dropdown
clickHandler86fae38and7f46c5bAll components
7f46c5btransitionEndOther
628a532v2.0.3: Minor improvements and now added a V4 to the tableCompare Source
Details coming soon.
v2.0.2: Minor improvementsCompare Source
Modal:
69f67ccqueryElement()utility #102 (comment)<div class="modal">like the original, now the modal can be fully independent of a triggering elementIDNew utility
nodeListToArray()fixing some bug with IE8ae81adev2.0.1: A minor improvement and docs updateCompare Source
v2.0.0: Major release with important changes and NEW featuresThis is a major release that could break backward compatibility (especially for those who rely heavily on JavaScript) as we have renamed some methods, completely revamped components, added more utilities, added original events, improved performance along with other cosmetic changes.
This is a transition version to prepare for a future version aimed at Bootstrap 4. It introduces a dedicated 4kb polyfill for legacy browsers, along with the recommended minifill.js and polyfill.io service.
Utilities
on(),off()bootstrapCustomEvents()#81 (comment)initializeDataAPIutilityqueryElement()utilityhasClass()utility as suggested #98 (comment) , but implemented withclassListgetClosest()utility and now can be used by other components as well, like AlertstylePopover()andstyleTooltip()are now one common utility calledstyleTip()Alert
data-dismiss="alert"attribute in order to work, for both DATA API usage and JavaScriptdocumentobject, but the element withdata-dismiss="alert"attributeclose()Affix
update()Dropdown
persist: true/falseoption ordata-persist="true"attributeevent.preventDefault()toggle()Button
bs.change.buttontochange.bs.buttonTab
data-height="true"and the CSS from Collapse componentisAnimatingprivate booleanModal
.modalvia DATA API, but on[data-toggle="modal"]elements, while via JavaScript we initialize on a triggering element, also not a modal<div class="modal">object stores the triggering button reference inmodal.modalTrigger, and this updates everytime you open a modal by clicking a different trigger button.open()to.show()and.close()to.hide().toggle()methodCollapse
isAnimatingto prevent clickopen()toshow()andclose()tohide()methodsCarousel
isSlidingto prevent click handlers from_slideTo()toslideTo()and_getActiveIndex()togetActiveIndex()methodsrelatedTargetlike the original plugindirectionin the initialization and gets updated on every instance ofslideTo()Popover
dismisstodismissibleTooltip
ScrollSpy
All Components
thisinstance, much more readable code, now the library is only ~20Kb minified instead of 38KbConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.