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.
@@ -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.1";
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.1";
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.1';
4
+ const BOOTSTRAP_ITALIA_VERSION = '2.3.2';
5
5
 
6
6
  export { BOOTSTRAP_ITALIA_VERSION as default };
7
7
  //# sourceMappingURL=version.js.map
@@ -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'\nexport default BOOTSTRAP_ITALIA_VERSION\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACK,MAAC,wBAAwB,GAAG;;;;"}
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bootstrap-italia",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "keywords": [
5
5
  "css",
6
6
  "sass",
package/src/js/version.js CHANGED
@@ -1,5 +1,5 @@
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.1'
4
+ const BOOTSTRAP_ITALIA_VERSION = '2.3.2'
5
5
  export default BOOTSTRAP_ITALIA_VERSION
@@ -1,3 +1,3 @@
1
1
  :root {
2
- --bootstrap-italia-version: '2.3.1';
2
+ --bootstrap-italia-version: '2.3.2';
3
3
  }
@@ -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 }
@@ -121,6 +121,12 @@ declare namespace InputPassword {
121
121
  * @default 4
122
122
  */
123
123
  minimumLength: number;
124
+ /**
125
+ * Show text toggle
126
+ *
127
+ * @default true
128
+ */
129
+ showText: boolean;
124
130
  }
125
131
 
126
132
  }
@@ -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: any)
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: any)
19
+ constructor(element: HTMLElement, config?: Partial<NavScroll.Options>)
20
20
 
21
21
  _config: any
22
22
  _togglerElement: any
@@ -16,7 +16,7 @@ declare class SelectAutocomplete extends BaseComponent {
16
16
  SelectAutocomplete, any
17
17
  >;
18
18
 
19
- constructor(element: HTMLElement, config: any)
19
+ constructor(element: HTMLElement, config?: any)
20
20
 
21
21
  _config: any
22
22