• Dmitriy Shekhovtsov's avatar
    feat(dropdown): rollout completely rewritten bs-dropdown version (#1771) · 31cba418
    Dmitriy Shekhovtsov authored
    fixes #1674, fixes #1749, fixes #1623, fixes #1415, fixes #802, fixes #569, fixes #530, fixes #6,
    fixes #1540, fixes #1217, fixes #591, fixes #478
    
    feat: you can pass dropdown configuration in `forRoot()` method
    feat: now you can add dropdown to body by using `container="body"`
    
    BREAKING CHANGES:
    - `DropdownModule` renamed to `BsDropdownModule`, same to all dropdown components added `bs` prefix
    - `addToggleClass` option is deprecated, now you need to add `dropdown-toggle` class manually if needed
    - `dropdownMenu` menu become a template selector, so `*` should be added
    sample:  `<ul dropdownMenu>` should become `<ul *dropdownMenu>`
    - `onToggle` event deprecated use `isOpenChange` instead
    - `appendToBody` deprecated, use `container="body"` instead, now dropdown behaviour and attachment params alligned with tooltips and popovers
    - `keyboardNav` deprecated
    - `disabled` renamed to `isDisabled`
    - `dropdownToggle` doesn't prevent default behaviour anymore
    31cba418
Analyzing file…
package.json 4.36 KB