Releases: bigBear713/nb-common
Releases · bigBear713/nb-common
v18.0.0
17.0.0
破坏性更新
- feat:
angular
升级到v17
;
Breaking Changes
- feat: Upgrade
angular
tov17
;
16.2.0
16.1.0
Services
- feat: NbUnsubscribeService - 调整
collectASubscriptionByKey()
的返回值:issues/30
Services
- feat: NbUnsubscribeService - Update the return valud of the
collectASubscriptionByKey()
function:issues/30
v16.0.0
破坏性更新
- feat:
angular
升级到v16
;
Services
- feat: NbUnsubscribeService - 提供取消rxjs订阅的功能
Directives
- refactor:
[nbPlaceholder]
- 使用NbUnsubscribeService管理rxjs的订阅
Breaking Changes
- feat: Upgrade
angular
tov16
;
Services
- feat: NbUnsubscribeService - Provide the functions to unsubscribe rxjs
Directives
- refactor:
[nbPlaceholder]
- Using NbUnsubscribeService to manage rxjs subscriptions
v15.1.0
Components
- feat:
[nb-r-str]
- 支持以standalone component
的方式引入
Directives
- feat:
[nbPlaceholder]
- 支持以standalone component
的方式引入 - feat:
img[nbImg]
- 支持以standalone component
的方式引入 - refactor:
img[nbImg]
- 优化图片的加载时机
Pipes
- feat:
nbIsAsync
- 支持以standalone component
的方式引入 - feat:
nbIsBoolean
- 支持以standalone component
的方式引入 - feat:
nbIsNumber
- 支持以standalone component
的方式引入 - feat:
nbIsObservable
- 支持以standalone component
的方式引入 - feat:
nbIsString
- 支持以standalone component
的方式引入 - feat:
nbTplContent
- 支持以standalone component
的方式引入
Components
- feat:
[nb-r-str]
- Support to be imported as astandalone component
Directives
- feat:
[nbPlaceholder]
- Support to be imported as astandalone component
- feat:
img[nbImg]
- Support to be imported as astandalone component
- refactor:
img[nbImg]
- Optimising the timing for loading images
Pipes
- feat:
nbIsAsync
- Support to be imported as astandalone component
- feat:
nbIsBoolean
- Support to be imported as astandalone component
- feat:
nbIsNumber
- Support to be imported as astandalone component
- feat:
nbIsObservable
- Support to be imported as astandalone component
- feat:
nbIsString
- Support to be imported as astandalone component
- feat:
nbTplContent
- Support to be imported as astandalone component
v15.0.0
破坏性更新
- feat:
angular
升级到v15
;
Breaking Changes
- feat: Upgrade
angular
tov15
;
v14.0.0
破坏性更新
- feat:
angular
升级到v14
;
Breaking Changes
- feat: Upgrade
angular
tov14
;
v13.0.0
破坏性更新
- feat:
angular
升级到v13
;
Breaking Changes
- feat: Upgrade
angular
tov13
;
v12.2.0
Directives
- feat:
img[nbImg]
- 在image加载完成前添加loading效果,当加载失败时会显示预设置好的图片;
Tokens
- feat: NB_DEFAULT_LOADING_IMG - 在DI中设置加载image时的loading效果图片的token;
- feat: NB_DEFAULT_ERR_IMG - 在DI中设置加载image失败时显示的图片的token;
Directives
- feat:
img[nbImg]
- Add loading effect when loading image. When failure to load image, it will display the picture which is preset;
Tokens
- feat: NB_DEFAULT_LOADING_IMG - It is the token is used for presetting the loading effect picture via DI;
- feat: NB_DEFAULT_ERR_IMG - It is the token is used for presetting the picture which is displayed when failure to load the image via DI;