bulma-extensions
Advanced tools
Comparing version 6.2.0 to 6.2.1
export default (data) => { | ||
return `<div class="datepicker"> | ||
<div class="datepicker-nav"> | ||
<button class="datepicker-nav-previous button is-small is-text">${data.icons.previous}</button> | ||
<button type="button" class="datepicker-nav-previous button is-small is-text">${data.icons.previous}</button> | ||
<div class="datepicker-nav-month-year"> | ||
@@ -10,3 +10,3 @@ <div class="datepicker-nav-month"></div> | ||
</div> | ||
<button class="datepicker-nav-next button is-small is-text">${data.icons.next}</button> | ||
<button type="button" class="datepicker-nav-next button is-small is-text">${data.icons.next}</button> | ||
</div> | ||
@@ -13,0 +13,0 @@ <div class="datepicker-body"> |
@@ -660,2 +660,5 @@ import * as utils from './utils/index'; | ||
if (!this.options.showHeader) { | ||
this._ui.header.container.classList.add('is-hidden'); | ||
} | ||
if (!this.options.showFooter) { | ||
@@ -662,0 +665,0 @@ this._ui.footer.container.classList.add('is-hidden'); |
export default (data) => { | ||
return `<div class="datetimepicker-footer"> | ||
<button class = "datetimepicker-footer-validate has-text-success button is-small is-text ${data.displayMode === 'inline' ? 'is-hidden' : ''}">${data.icons.validate ? data.icons.validate : ''}${data.validateLabel} </button> | ||
<button class = "datetimepicker-footer-today has-text-warning button is-small is-text">${data.icons.today ? data.icons.today : ''}${data.todayLabel}</button> | ||
<button class = "datetimepicker-footer-clear has-text-danger button is-small is-text">${data.icons.clear ? data.icons.clear : ''}${data.clearLabel}</button> | ||
<button class = "datetimepicker-footer-cancel button is-small is-text ${data.displayMode === 'inline' ? 'is-hidden' : ''}">${data.icons.cancel ? data.icons.cancel : ''}${data.cancelLabel}</button> | ||
<button type="button" class="datetimepicker-footer-validate has-text-success button is-small is-text ${data.displayMode === 'inline' ? 'is-hidden' : ''}">${data.icons.validate ? data.icons.validate : ''}${data.validateLabel} </button> | ||
<button type="button" class="datetimepicker-footer-today has-text-warning button is-small is-text">${data.icons.today ? data.icons.today : ''}${data.todayLabel}</button> | ||
<button type="button" class="datetimepicker-footer-clear has-text-danger button is-small is-text">${data.icons.clear ? data.icons.clear : ''}${data.clearLabel}</button> | ||
<button type="button" class="datetimepicker-footer-cancel button is-small is-text ${data.displayMode === 'inline' ? 'is-hidden' : ''}">${data.icons.cancel ? data.icons.cancel : ''}${data.cancelLabel}</button> | ||
</div>`; | ||
}; |
@@ -6,3 +6,3 @@ { | ||
"style": "./dist/css/bulma-extensions.min.css", | ||
"version": "6.2.0", | ||
"version": "6.2.1", | ||
"scripts": { | ||
@@ -9,0 +9,0 @@ "build": "gulp", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5283049
76624