bootstrap-italia 2.3.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/bootstrap-italia-comuni.min.css +1 -1
- package/dist/css/bootstrap-italia.min.css +1 -1
- package/dist/js/bootstrap-italia.bundle.min.js +1 -1
- package/dist/js/bootstrap-italia.min.js +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
- package/src/js/version.js +1 -1
- package/src/scss/custom/_version.scss +1 -1
- package/types/plugins/alert.d.ts +1 -3
- package/types/plugins/carousel-bi.d.ts +1 -3
- package/types/plugins/carousel.d.ts +1 -3
- package/types/plugins/input-password.d.ts +6 -0
- package/types/plugins/masonry.d.ts +1 -1
- package/types/plugins/navscroll.d.ts +1 -1
- package/types/plugins/select-autocomplete.d.ts +1 -1
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
const DATA_MOUSE_FOCUS="data-focus-mouse";class TrackFocus{constructor(){this._usingMouse=!1,this._bindEvents();}_bindEvents(){["keydown","mousedown"].forEach((t=>{document.addEventListener(t,(t=>{this._usingMouse="mousedown"===t.type;}));})),document.addEventListener("focusin",(t=>{this._usingMouse&&t.target&&(t.target.classList.add("focus--mouse"),t.target.setAttribute(DATA_MOUSE_FOCUS,!0));})),document.addEventListener("focusout",(t=>{t.target&&(t.target.classList.remove("focus--mouse"),t.target.setAttribute(DATA_MOUSE_FOCUS,!1));}));}}new TrackFocus;const TrackFocus$1 = TrackFocus;
|
|
22
22
|
|
|
23
|
-
const BOOTSTRAP_ITALIA_VERSION = "2.3.
|
|
23
|
+
const BOOTSTRAP_ITALIA_VERSION = "2.3.2";
|
|
24
24
|
|
|
25
25
|
const init=()=>{window.BOOTSTRAP_ITALIA_VERSION||(new TrackFocus$1,window.BOOTSTRAP_ITALIA_VERSION=BOOTSTRAP_ITALIA_VERSION);};const init$1 = init;init();
|
|
26
26
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
|
|
47
47
|
const DATA_MOUSE_FOCUS="data-focus-mouse";class TrackFocus{constructor(){this._usingMouse=!1,this._bindEvents();}_bindEvents(){["keydown","mousedown"].forEach((t=>{document.addEventListener(t,(t=>{this._usingMouse="mousedown"===t.type;}));})),document.addEventListener("focusin",(t=>{this._usingMouse&&t.target&&(t.target.classList.add("focus--mouse"),t.target.setAttribute(DATA_MOUSE_FOCUS,!0));})),document.addEventListener("focusout",(t=>{t.target&&(t.target.classList.remove("focus--mouse"),t.target.setAttribute(DATA_MOUSE_FOCUS,!1));}));}}new TrackFocus;const TrackFocus$1 = TrackFocus;
|
|
48
48
|
|
|
49
|
-
const BOOTSTRAP_ITALIA_VERSION = "2.3.
|
|
49
|
+
const BOOTSTRAP_ITALIA_VERSION = "2.3.2";
|
|
50
50
|
|
|
51
51
|
const init=()=>{window.BOOTSTRAP_ITALIA_VERSION||(new TrackFocus$1,window.BOOTSTRAP_ITALIA_VERSION=BOOTSTRAP_ITALIA_VERSION);};const init$1 = init;init();
|
|
52
52
|
|
package/dist/version.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// bootstrap italia version variable
|
|
2
2
|
// useful to check for the current version
|
|
3
3
|
// eslint-disable-next-line no-unused-vars
|
|
4
|
-
const BOOTSTRAP_ITALIA_VERSION = '2.3.
|
|
4
|
+
const BOOTSTRAP_ITALIA_VERSION = '2.3.2';
|
|
5
5
|
|
|
6
6
|
export { BOOTSTRAP_ITALIA_VERSION as default };
|
|
7
7
|
//# sourceMappingURL=version.js.map
|
package/dist/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../src/js/version.js"],"sourcesContent":["// bootstrap italia version variable\n// useful to check for the current version\n// eslint-disable-next-line no-unused-vars\nconst BOOTSTRAP_ITALIA_VERSION = '2.3.
|
|
1
|
+
{"version":3,"file":"version.js","sources":["../src/js/version.js"],"sourcesContent":["// bootstrap italia version variable\n// useful to check for the current version\n// eslint-disable-next-line no-unused-vars\nconst BOOTSTRAP_ITALIA_VERSION = '2.3.2'\nexport default BOOTSTRAP_ITALIA_VERSION\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACK,MAAC,wBAAwB,GAAG;;;;"}
|
package/package.json
CHANGED
package/src/js/version.js
CHANGED
package/types/plugins/alert.d.ts
CHANGED
|
@@ -11,9 +11,7 @@ declare class Alert extends BSAlert {
|
|
|
11
11
|
* Static method which allows you to get the modal instance associated with
|
|
12
12
|
* a DOM element, or create a new one in case it wasn’t initialised
|
|
13
13
|
*/
|
|
14
|
-
static getOrCreateInstance: GetOrCreateInstanceFactory<
|
|
15
|
-
Alert
|
|
16
|
-
>;
|
|
14
|
+
static getOrCreateInstance: GetOrCreateInstanceFactory<Alert>;
|
|
17
15
|
|
|
18
16
|
}
|
|
19
17
|
|
|
@@ -14,9 +14,7 @@ declare class CarouselBI extends BaseComponent {
|
|
|
14
14
|
* Static method which allows you to get the modal instance associated with
|
|
15
15
|
* a DOM element, or create a new one in case it wasn’t initialised
|
|
16
16
|
*/
|
|
17
|
-
static getOrCreateInstance: GetOrCreateInstanceFactory<
|
|
18
|
-
CarouselBI
|
|
19
|
-
>;
|
|
17
|
+
static getOrCreateInstance: GetOrCreateInstanceFactory<CarouselBI>;
|
|
20
18
|
|
|
21
19
|
static get NAME(): string
|
|
22
20
|
|
|
@@ -11,9 +11,7 @@ declare class Carousel extends BSCarousel {
|
|
|
11
11
|
* Static method which allows you to get the modal instance associated with
|
|
12
12
|
* a DOM element, or create a new one in case it wasn’t initialised
|
|
13
13
|
*/
|
|
14
|
-
static getOrCreateInstance: GetOrCreateInstanceFactory<
|
|
15
|
-
Carousel
|
|
16
|
-
>;
|
|
14
|
+
static getOrCreateInstance: GetOrCreateInstanceFactory<Carousel>;
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
export { Carousel }
|
|
@@ -15,7 +15,7 @@ declare class Masonry extends BaseComponent {
|
|
|
15
15
|
static getOrCreateInstance: GetOrCreateInstanceFactory<
|
|
16
16
|
Masonry, Partial<Masonry.Options>
|
|
17
17
|
>;
|
|
18
|
-
constructor(element: HTMLElement, config
|
|
18
|
+
constructor(element: HTMLElement, config?: Partial<Masonry.Options>)
|
|
19
19
|
|
|
20
20
|
_config: any
|
|
21
21
|
_masonry: any
|
|
@@ -16,7 +16,7 @@ declare class NavScroll extends BaseComponent {
|
|
|
16
16
|
NavScroll, Partial<NavScroll.Options>
|
|
17
17
|
>;
|
|
18
18
|
|
|
19
|
-
constructor(element: HTMLElement, config
|
|
19
|
+
constructor(element: HTMLElement, config?: Partial<NavScroll.Options>)
|
|
20
20
|
|
|
21
21
|
_config: any
|
|
22
22
|
_togglerElement: any
|