Releases: thednp/bootstrap.native
Releases · thednp/bootstrap.native
Minor improvements
Changes:
- removed the
tryWrapper
from components themselves, it's now optional because it's included with theinitCallback()
andremoveDataApi()
callbacks - now the library is sporting a new custom feature: build polyfill with minifill and rollup
- code cleanup
Fixed package.json
3.0.3
Fixes and improvements
Changes:
- Fixed some positioning with Modal and overflow
- Simplified the Modal scripting
- Added option for Carousel to set
touch
- Simplified Carousel initialization script
- Code cleanup
Documentation updates
- Tooltip template feature
- Updates regarding components' original events
- Updates for Carousel
touch
options
Minor fixes
Changes:
- Modal click handlers fixed to work properly with child targets
- Documentation fixes
ES6/ES7 Version
Changes:
- removed V3 completely, we now continue development for V4 only
- major reworks for all components with many fixes and improvements, with modern ES6/ES7 sourced scripting
- all components receive the
dispose()
instance method and the ability to re-initialize on the fly - support for "default prevented" for select event types like
show
,hide
,slide
, etc - exported most utils to shorter.js
- removed manual tokenization for better gzip compression
- reworked polyfills for IE10+ compatibility
- added rollup build scripts and removed old build scripts
- removed bower
- library documentation and wiki guideline updates
Important Notes
- all components are not exported directly to global anymore because the new rollup build based tools
- your custom scripting will need updates to use this version, EG:
new Carousel('#target')
becomesnew BSN.Carousel('#target')
More details at #306
Various fixes and new features
Changelog
- Resolve error thrown in Dropdown
dismissHandler
, #278 - NEW Set touch event listeners to passive #280
- Modal
fade
auto option #287 - Improvements to Modal execution timings #281
- Dropdown fixes in regards to keyboard navigation 6ba2aa9
- Solving some Modal related issue in regards to content #233
- V4 - The position of the tooltip element is not centered when the body scrollbar is displayed. #215 thanks @Gruven
- Updated V4
styleTip
utility to properly style the Popover arrow - Button - Radio buttons focus not working (v4) #296 thanks to @Prid13
- Fixed inconsistent
tabindex
code, usage, demo and guides for Button component in V3/V4 - Fixed Button handling radio/checkbox inputs with icons inside, V3/V4
- Demo fixes and improvements
New features and various fixes
Changelog:
- NEW: added swipe feature for Carousel in both V3 and V4 versions
- moved build scripts to
/lib
folder and created an unified build script for both V3/V4, check updated WIKI pages - fixed Popover not working with
options.title
andoptions.content
#277 - fixed ScrollSpy to use
options.target
first before going afterdata-target
- improved the Collapse component to work better with JavaScript init #276
- Improved
emulateTransitionEnd
utility, details here and here - various demos fixes, updates and improvements
Further improvements
Changes
- Fixing #250, V3/V4 the Carousel component will invalidate instances when only ONE
carousel-item
is found - Fix clicks on child elements of a tab #253 & #254
- Closing modal with escape key prevents it from showing again #256
- Added new component for V4 ; TOAST #260
- Fixed inconsistent modal positioning #261
- Fixed Carousel auto-slide transition breaks #263
- Fixing #265, now Modal component will store the init object in the modal element when no triggering button was initialized
- Further fixes for
emulateTransitionEnd
utility #266 - Improvements for module builder scripts commit 1 and commit 2
Minor fixes
Changelog
- Minor demo fixes 41a024b
- fixing #227, V3/V4 Carousel cannot use
slideTo
to jump to the current active item - documentation updates regarding #227
- Carousel ignoring
data-interval
#241c6e261e - Fix isNaN ReferenceError in V3 #243
- Fix infinite loop if user calls
carousel.cycle()
27cfd8f - Dropdown
aria-expanded
#245
Improvements
Changelog
- Fixed Carousel initialization issue when
interval:false
is used - Added a more robust
emulateTransitionEnd
thanks to @nlemoine - Updated Carousel, Tab, Collapse with the new
emulateTransitionEnd
handler - Added
autoInitDataAPI
build option, thanks to @marcelpanse details - Documentation updates