v13.0.0
What's Changed
- feat:
NgProgressRef
directive has(started)
and(completed)
outputs, instead of subjects. - feat:
NgProgressRef
directive has allNgProgress
component inputs excepts the irrelevant styling inputs. - feat: Add
fadeOutSpeed
input to set the fade out transition after the progress completes. - feat: Add
--ng-progress-spinner-speed
CSS variable to set the spinner speed. - enhance: Use
NgProgressRef
as hostDirective inNgProgress
component and forward its inputs and outputs. - enhance: avoid triggering the main effects twice in
ProgressRef
directive due to config update. - refactor: Use transform function for
min
andmax
inputs. - fix: v12 runtime error
"1 errors occurred during unsubscription:\n1) Error: NG0600: Writing to signals is not allowed in a computed or an effect by default. Use allowSignalWrites in the CreateEffectOptions to enable this inside effects."
, closes #370
Breaking changes
- Remove
setConfig()
function fromProgressRef
directive, you can now set the inputs directly. - Remove
start()
,complete()
,inc()
andset()
functions from the component reference.
Full Changelog: v12.0.2...v13.0.0