@3.2.8
-
Changed:
- Corrected grammar issues in comment lines.
- Fixed(grammar) the name of an internal helper function:
=>removeNotifyElmentsAndWrapper
removeNotifyElementsAndWrapper
-
Fixed:
- Fix on
commonCheckHeadOrBody
internal helper function, which was checking fornull
instead ofundefined
.- This overthought helper is intended to verify that
window.document.head
orwindow.document.body
exists.
- This overthought helper is intended to verify that
- Fix on
Happy new year!
@3.2.7
No changes.
Happy new year!
@3.2.6
No changes.
Happy new year!
@3.2.5
-
Added:
Notiflix.Report.*
module:backOverlayClickToClose
option has been added. Default value isfalse
. It removes the Report Notification when the background overlay element has been clicked. The existingbackOverlay
option has to betrue
as well. #48 -
Changed: Code Review/Refactor.
@3.2.4
- Fixed:
Notiflix.Block.*
: The temporary position class name for the reference element has been changed to a constant text.- Fixes => #47
@3.2.3
- Fixed:
Notiflix.Block.*
: The custom class name option was not being set correctly. The temporary position class name for the reference element was not being removed if it was being used with a custom class name.- Fixes => #45
@3.2.2
- Fixed:
Notiflix.Confirm.prompt()
: Inputmaxlength
attribute value should not be directly related to the default answer length.- Fixes => #43
@3.2.1
- Fixed:
index.d.ts
:Notiflix.Notify.*
module:callbackOrOptions
type definition issue has been fixed.Notiflix.Report.*
module:callbackOrOptions
type definition issue has been fixed.
@3.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.
@3.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.
@3.0.2
- Changed:
index.d.ts
: Types and Interfaces have been exported. - Changed: Code Review.
@3.0.1
- Changed:
index.d.ts
file has added to the NPM.
@3.0.0
-
Changed:
Notiflix.Notify
:Init()
function name changed toinit()
. -
Changed:
Notiflix.Notify
:Merge()
function name changed tomerge()
. -
Changed:
Notiflix.Notify
:Success()
function name changed tosuccess()
. -
Changed:
Notiflix.Notify
:Failure()
function name changed tofailure()
. -
Changed:
Notiflix.Notify
:Warning()
function name changed towarning()
. -
Changed:
Notiflix.Notify
:Info()
function name changed toinfo()
. -
Changed:
Notiflix.Report
:Init()
function name changed toinit()
. -
Changed:
Notiflix.Report
:Merge()
function name changed tomerge()
. -
Changed:
Notiflix.Report
:Success()
function name changed tosuccess()
. -
Changed:
Notiflix.Report
:Failure()
function name changed tofailure()
. -
Changed:
Notiflix.Report
:Warning()
function name changed towarning()
. -
Changed:
Notiflix.Report
:Info()
function name changed toinfo()
. -
Changed:
Notiflix.Confirm
:Init()
function name changed toinit()
. -
Changed:
Notiflix.Confirm
:Merge()
function name changed tomerge()
. -
Changed:
Notiflix.Confirm
:Show()
function name changed toshow()
. -
Changed:
Notiflix.Confirm
:Ask()
function name changed toask()
. -
Changed:
Notiflix.Loading
:Init()
function name changed toinit()
. -
Changed:
Notiflix.Loading
:Merge()
function name changed tomerge()
. -
Changed:
Notiflix.Loading
:Standard()
function name changed tostandard()
. -
Changed:
Notiflix.Loading
:Hourglass()
function name changed tohourglass()
. -
Changed:
Notiflix.Loading
:Circle()
function name changed tocircle()
. -
Changed:
Notiflix.Loading
:Arrows()
function name changed toarrows()
. -
Changed:
Notiflix.Loading
:Dots()
function name changed todots()
. -
Changed:
Notiflix.Loading
:Pulse()
function name changed topulse()
. -
Changed:
Notiflix.Loading
:Custom()
function name changed tocustom()
. -
Changed:
Notiflix.Loading
:Notiflix()
function name changed tonotiflix()
. -
Changed:
Notiflix.Loading
:Remove()
function name changed toremove()
. -
Changed:
Notiflix.Loading
:Change()
function name changed tochange()
. -
Changed:
Notiflix.Block
:Init()
function name changed toinit()
. -
Changed:
Notiflix.Block
:Merge()
function name changed tomerge()
. -
Changed:
Notiflix.Block
:Standard()
function name changed tostandard()
. -
Changed:
Notiflix.Block
:Hourglass()
function name changed tohourglass()
. -
Changed:
Notiflix.Block
:Circle()
function name changed tocircle()
. -
Changed:
Notiflix.Block
:Arrows()
function name changed toarrows()
. -
Changed:
Notiflix.Block
:Dots()
function name changed todots()
. -
Changed:
Notiflix.Block
:Pulse()
function name changed topulse()
. -
Changed:
Notiflix.Block
:Remove()
function name changed toremove()
. -
Changed:
Notiflix.Notify.*
module:useGoogleFont
options has been deprecated. -
Changed:
Notiflix.Report.*
module:useGoogleFont
options has been deprecated. -
Changed:
Notiflix.Confirm.*
module:useGoogleFont
options has been deprecated. -
Changed:
Notiflix.Loading.*
module:useGoogleFont
options has been deprecated. -
Changed:
Notiflix.Block.*
module:useGoogleFont
options has been deprecated. -
Added: TypeScript declaration has added.
-
Changed: Code Review.
@2.7.0
-
Added:
Notiflix.Notify.*
module: ThepauseOnHover
option has been added. The default value istrue
. Auto-remove functionality will be paused for each notification element when the pointer(mouse) enters the notification if this option has been set astrue
. -
Changed:
Notiflix.Notify.*
module: Display improvements. -
Changed:
Notiflix.Block.*
module: Code Review.
@2.6.0
-
Fixed:
Notiflix.Confirm.*
module: display and position issues have been fixed. -
Added:
Notiflix.Confirm.*
module: New position settings have been added.center-bottom
,right-center
, andleft-center
. -
Changed:
Notiflix.Report.*
module: display and position improvements. -
Changed:
Notiflix.Block.*
module: Code Review.
@2.5.0
-
Added:
Notiflix.Confirm.*
module: Theoptions
parameter has been added to extend the initialize settings with new options for each Confirm Box. -
Added:
Notiflix.Confirm.*
module: The.Ask()
function has been added.Notiflix.Confirm.Ask()
function can be used to prevent the accidental click to the Ok button by the user before answering a simple question that has been created by you. (Please click here to see an example of usage.)
-
Changed: All the SVG icons have been compressed to reduce the file size as much as it can be.
@2.4.0
-
Added:
Notiflix.Loading.*
module: Themessage
parameter has been extended, and theoptions
parameter has been added.-
Custom options can be used for each Loading element to extend the initialize settings.
// Only indicator Notiflix.Loading.Standard(); // Loading indicator with a message Notiflix.Loading.Standard('Loading...'); // NEW: v2.4.0 and the next versions // Loading indicator with the new options Notiflix.Loading.Standard( { svgSize: '19px', }, ); // NEW: v2.4.0 and the next versions // Loading indicator with a message, and the new options Notiflix.Loading.Standard( 'Loading...', { svgSize: '23px', }, );
-
-
Added:
Notiflix.Block.*
module: Themessage
parameter has been extended, and theoptions
parameter has been added.- Custom options can be used for each Block element to extend the initialize settings.
-
Changed: Code Review.
@2.3.3
- Changed: Code Review.
- Changed: Prefixes for CSS.
@2.3.2
-
Fixed:
Notiflix.Block.*
module,Remove()
function fixes and improvements for Internet Explorer(10+) compatibility. -
Changed:
"notiflix-aio.js"
file has been moved from"src"
to"src/all-in-one"
folder.
@2.3.1
-
Changed:
Notiflix.Notify.*
module,callback
andoptions
parameters have been changed.-
Custom options can be used for each Notify element to extend the initialize settings.
// e.g. Message with a callback Notiflix.Notify.Success( 'Click Me', function(){ // callback }, ); // NEW: v2.3.1 and the next versions // e.g. Message with the new options Notiflix.Notify.Success( 'Click Me', { timeout: 6000, }, ); // NEW: v2.3.1 and the next versions // e.g. Message with callback, and the new options Notiflix.Notify.Success( 'Click Me', function(){ // callback }, { timeout: 4000, }, );
-
-
Changed:
Notiflix.Report.*
module,callback
andoptions
parameters have been changed. -
Changed: Code Review.
@2.3.0
- Added:
Notiflix.Notify.*
module,optionsOrCallback
parameter has been added. (Recommended by VirgilioGM) - Added:
Notiflix.Report.*
module,optionsOrCallback
parameter has been added. - Changed: Code Review.
@2.2.1
- Changed:
Notiflix.Notify.*
module, CSS animation improvements.
@2.2.0
-
Added:
-
Notiflix.Notify.*
module;center-top
,center-bottom
, andcenter-center
options have been added to theposition
setting. (Recommended by Sebastian Stavar) -
Notiflix.Notify.*
module;backOverlayColor
option has been added to each type of notification. Can be set different background overlay colors for each type of notification now. (Recommended by Sebastian Stavar)// e.g. Notiflix.Notify.Init({ // ... backOverlay: true, // default is false backOverlayColor: 'rgba(0,0,0,0.5)', // default back overlay color // ... success: { backOverlayColor: 'rgba(50,198,130,0.2)', // NEW: override the back overlay color }, failure: { backOverlayColor: 'rgba(255,85,73,0.2)', // NEW: override the back overlay color }, // ... });
-
Notiflix.Report.*
module;backOverlayColor
option has been added to each type of dialog box. Can be set different background overlay colors for each type of notification now.e.g.
Notiflix.Report.Init({ success: { backOverlayColor: 'rgba(50,198,130,0.2)', // NEW: override the back overlay color }, failure: { backOverlayColor: 'rgba(255,85,73,0.2)', // NEW: override the back overlay color }, // ... });
-
-
Changed: All modules (
Notify
,Report
,Confirm
,Loading
, andBlock
);useGoogleFont
setting has been changed asfalse
to default. -
Changed: Code Review.
@2.1.4
- Changed: Code Review.
- Changed: Notiflix Confirm module; HTML tag of the message element has been changed from "
p
" to "div
".
@2.1.3
- Changed: Code Review.
@2.1.2
- Fixed: Document Object Model definition fixes.
- Changed: Code Review.
@2.1.1
- Fixed: Document Object Model definition fixes.
- Changed: Code Review.
@2.1.0
- Added: Universal Module Definition.
@2.0.0
This version includes a new module name as Block
.
Notiflix.Block.*
module can be used to block or unblock elements to prevents users actions during the process (AJAX etc.) without locking the browser or the other elements.
-
Added: The
Block
module added toNotiflix
. -
Added: The
clickToClose
option added to theNotiflix.Notify.*
module. Default isfalse
. This option can be set astrue
to remove each notification without waiting for it to be automatically removed when it has been clicked. (Recommended by Mustafa Sadedil) -
Changed: Code Review.
@1.9.1
- Changed: Code Review.
@1.9.0
- Changed: Code Review.
@1.8.0
- Added: The "showOnlyTheLastOne" option added to the "Notiflix Notify" module. (Recommended by Ori Granot)
(Default is "false". This option can be set as "true" to show only the last notification.)
@1.7.2
- Added: Unminified package published.
@1.7.1
- Changed: Character encoding UTF-8 without BOM.
@1.7.0
- Added: An optional callback function can be used with Deny Button in "Notiflix Confirm" module. (Recommended by Sinan Keskin)
@1.6.0
-
Changed: Code Review.
-
Added: All modules can be used even if they didn't initialized. The first call will initialize the module once. (With default settings.)
@1.5.0
- Fixed: When the "useGoogleFont" option set as "false"; the "fontFamily" option was being ineffective.
@1.4.0
- Changed: Code Review.
@1.3.0
- Added: The "plainText" options added to "Notiflix Notify" and "Notiflix Confirm" modules.
(The "plainText" options can be set as "false" to use HTML allowed contents. Default values are "true" and not allowed HTML)
@1.2.0
- Changed: JavaScript event listener improvements.
@1.1.0
- Fixed: When used with Bootstrap, CSS fade animation class name was conflicting with some of Bootstrap class names. (Reported by Hasim Yerli)