bootstrap-italia 2.3.3 → 2.3.4

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.3";
23
+ const BOOTSTRAP_ITALIA_VERSION = "2.3.4";
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.3";
49
+ const BOOTSTRAP_ITALIA_VERSION = "2.3.4";
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.3';
4
+ const BOOTSTRAP_ITALIA_VERSION = '2.3.4';
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.3'\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.4'\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.3",
3
+ "version": "2.3.4",
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.3'
4
+ const BOOTSTRAP_ITALIA_VERSION = '2.3.4'
5
5
  export default BOOTSTRAP_ITALIA_VERSION
@@ -1,7 +1,7 @@
1
1
  //-modifica stili per template comuni non modificabili con la redifinizione delle variabili colore
2
2
  //body
3
3
  body {
4
- color: $neutral-1-a7;
4
+ color: $color-text-secondary;
5
5
  }
6
6
  //BUTTONS
7
7
  .btn-primary,
@@ -42,8 +42,9 @@ body {
42
42
  //card texts color
43
43
  .card .card-body h5.card-title,
44
44
  .card .card-body .card-title.h5 {
45
- color: $neutral-1-a7;
45
+ color: $color-text-secondary;
46
46
  }
47
+
47
48
  .text-primary {
48
- color: $neutral-1-a7 !important;
49
+ color: $neutral-1-a7 !important; // TODO: check if still valid
49
50
  }
@@ -23,23 +23,20 @@ $primary-b: 48;
23
23
  @import 'utilities/colors_vars';
24
24
 
25
25
  // color custom variables
26
+ $color-text-primary-hover: hsl(160, 100%, 19%); // color-seagreen-19
27
+ $color-text-primary-active: hsl(160, 100%, 14%); // color-seagreen-14
28
+ $color-background-primary-lighter: hsl(160, 40, 92%); // color-seagreen-92
29
+ $btn-comuni-primary-hover: #fff;
26
30
  $header-center-bg-color: $primary;
27
31
  $header-slim-bg-color: #00402b;
28
-
29
32
  $section-header-background-color: $primary-a10;
30
33
  $section-user-header-background-color: #f0f8f5;
31
-
32
34
  $card-link-color: $primary;
33
-
34
- $btn-comuni-primary-hover: #fff;
35
-
35
+ $card-comuni-bg-dark: #2c2c2c;
36
36
  $footer-comuni-bg-color: #202a2e;
37
-
38
37
  $link-list-comuni-color: #455a64;
39
38
  $link-list-hover-color: $primary;
40
39
 
41
- $card-comuni-bg-dark: #2c2c2c;
42
-
43
40
  //variables
44
41
  @import 'variables';
45
42
 
@@ -1,5 +1,7 @@
1
1
  //mobile
2
2
  .it-header-slim-wrapper {
3
+ /* stylelint-disable-next-line scss/at-extend-no-missing-placeholder */
4
+ @extend .nav;
3
5
  background: $header-slim-bg-color;
4
6
  padding: ($header-slim-v-padding-mob $header-general-padding - ($grid-columns * 0.5));
5
7
  .it-header-slim-wrapper-content {
@@ -1,3 +1,3 @@
1
1
  :root {
2
- --bootstrap-italia-version: '2.3.3';
2
+ --bootstrap-italia-version: '2.3.4';
3
3
  }
@@ -41,7 +41,7 @@ $primary-s: 100 !default;
41
41
  $primary-b: 80 !default;
42
42
  $primary-l: 40 !default; // Kit UI
43
43
 
44
- $primary: hsl(210, 100%, 40%) !default; // color-blue-40
44
+ $primary: hsb($primary-h, $primary-s, $primary-b) !default; // color-blue-40
45
45
 
46
46
  $indigo: hsb(243, 70, 100) !default;
47
47
  $purple: hsb(243, 40, 100) !default;