Releases: bestguy/sveltestrap
Releases · bestguy/sveltestrap
Add Modal header shorthand
This release adds the header
prop to Modal, which lets you create simple Modals without needing to add ModalHeader and ModalBody.
Correct console warning for Tooltip/Popover/Modal container prop
Sveltestrap 4
Major version release due to some potentially breaking changes:
- Icon now requires apps to include bootstrap-icon CSS from CDN or self-hosted.
- Update minimum svelte version to 3.29 for {#key} usage
- Uncontrolled Alert/Collapse/Dropdown/Fade/ButtonDropdown are now deprecated with functionality moved into base components.
- Modal external render location was moved/corrected.
- Popover, Tooltip, Modal now append to body by default
- node 10 is unsupported (untested)
Additions:
- Modal body prop for easier usage.
- Popover, Tooltip, Modal now append to body by default or can be inline with new container prop.
- node 16 is supported/tested
Correct Tooltips, Popover & Dropdowns
Revert Modal updates
Reverts Modal body rendering changes mistakenly introduced in v3 codebase
Correct es module issue with Sveltekit
Removes lodash dependency for better Sveltekit support
Add Row cols support
This release adds support for the Row cols
prop: https://getbootstrap.com/docs/4.6/layout/grid/#row-columns
Thanks @ladeiko for the addition.
Correct TypeScript definitions
This release corrects missing TypeScript definitions for Icon, Popover, Tooltip, & UncontrolledFade
Correct Popover typo
Rename Popover dismissible
prop to dismissible
.
Add Icon, dismissable Popover
This release adds Icon component for embedding Bootstrap Icons.
Also Popover now supports dismissable prop for click-outside support.