Releases: notiflix/Notiflix
v3.2.7
v3.2.6
v3.2.5
v3.2.4
v3.2.3
v3.2.2
v3.2.1
v3.2.0
-
Added:
Notiflix.Confirm.*
module: The.prompt()
method has been added. (#42)Notiflix.Confirm.prompt()
method works similarly aswindow.prompt()
. The client doesn't have to type a correct answer to the input element to proceed unlike theNotiflix.Confirm.ask()
method. The client answer passes to the callback functions as a parameter and this parameter is always astring
.
-
Added:
Notiflix.Loading.*
module: ThecustomSvgCode
option has been added forNotiflix.Loading.custom();
method. The default isnull
. A text-based (string
) SVG icon can be set to this option. Single quotation marks should be avoided. -
Fixed:
index.d.ts
:IConfirmOptions
interface:zindex
property type has been fixed. -
Removed:
index.d.ts
: Following types have been removed:TNotiflixCallback
TNotifyCallbackOrOptions
TReportCallbackOrOptions
TLoadingMessageOrOptions
TBlockMessageOrOptions
TBlockSelectorOrHTMLElements
-
Added:
index.d.ts
: Namespaces, Functions, and Interfaces: Comments have been added for IntelliSense. -
Changed: Code Review/Refactor.
v3.1.0
-
Changed:
Notiflix.Block.*
module: Theselector
parameter has been changed toselectorOrHTMLElements
. AnArray<HTMLElement>
or aNodeListOf<HTMLElement>
can be also used instead of CSS selector(s). -
Fixed:
Notiflix.Notify.*
module: The background overlay element was not being removed at the end of the call if thebackOverlay
option has been set/changed as a parameter option in the next notification instead of the global init function. -
Changed:
Notiflix.Notify.success
: ThechildClassName
option, default value has been changed fromsuccess
tonotiflix-notify-success
. -
Changed:
Notiflix.Notify.failure
: ThechildClassName
option, default value has been changed fromfailure
tonotiflix-notify-failure
. -
Changed:
Notiflix.Notify.warning
: ThechildClassName
option, default value has been changed fromwarning
tonotiflix-notify-warning
. -
Changed:
Notiflix.Notify.info
: ThechildClassName
option, default value has been changed frominfo
tonotiflix-notify-info
. -
Changed: Auto-generated
src/all-in-one/notiflix-aio.js
file has been moved to thebuild
directory. (with*.d.ts
) -
Added: Auto-generated
build/notiflix-notify-aio.js
(with*.d.ts
), anddist/notiflix-notify-aio-3.1.0.min.js
files have been added. These files are only for using the Notify module instead of using all the modules. -
Added: Auto-generated
build/notiflix-report-aio.js
(with*.d.ts
), anddist/notiflix-report-aio-3.1.0.min.js
files have been added. These files are only for using the Report module instead of using all the modules. -
Added: Auto-generated
build/notiflix-confirm-aio.js
(with*.d.ts
), anddist/notiflix-confirm-aio-3.1.0.min.js
files have been added. These files are only for using the Confirm module instead of using all the modules. -
Added: Auto-generated
build/notiflix-loading-aio.js
(with*.d.ts
), anddist/notiflix-loading-aio-3.1.0.min.js
files have been added. These files are only for using the Loading module instead of using all the modules. -
Added: Auto-generated
build/notiflix-block-aio.js
(with*.d.ts
), anddist/notiflix-block-aio-3.1.0.min.js
files have been added. These files are only for using the Block module instead of using all the modules. -
Changed: The documentation website URL has been changed.
-
Changed: Code Review/Refactor.