bootstrap-italia 2.8.3 → 2.8.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.8.3";
23
+ const BOOTSTRAP_ITALIA_VERSION = "2.8.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
 
@@ -47,7 +47,7 @@
47
47
 
48
48
  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;
49
49
 
50
- const BOOTSTRAP_ITALIA_VERSION = "2.8.3";
50
+ const BOOTSTRAP_ITALIA_VERSION = "2.8.4";
51
51
 
52
52
  const init=()=>{window.BOOTSTRAP_ITALIA_VERSION||(new TrackFocus$1,window.BOOTSTRAP_ITALIA_VERSION=BOOTSTRAP_ITALIA_VERSION);};const init$1 = init;init();
53
53
 
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.8.3';
4
+ const BOOTSTRAP_ITALIA_VERSION = '2.8.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.8.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.8.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.8.3",
3
+ "version": "2.8.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.8.3'
4
+ const BOOTSTRAP_ITALIA_VERSION = '2.8.4'
5
5
  export default BOOTSTRAP_ITALIA_VERSION
@@ -90,22 +90,21 @@
90
90
  .bottom-nav-badge {
91
91
  top: 0;
92
92
  right: 0;
93
- min-width: 18px;
94
- height: 18px;
95
- padding: 0 4px;
93
+ min-width: 1.15rem;
94
+ line-height: 1;
95
+ padding: 4px 6px;
96
96
  color: $white;
97
97
  font-size: 0.625rem;
98
- border-radius: 50%;
98
+ border-radius: 2rem;
99
99
  font-style: normal;
100
100
  }
101
101
 
102
102
  // icon alert
103
103
  .bottom-nav-alert {
104
- top: 4px;
105
- right: 8px;
106
- min-width: 10px;
107
- height: 10px;
108
- font-size: 0.625rem;
104
+ top: 0;
105
+ right: 4px;
106
+ min-width: 12px;
107
+ height: 12px;
109
108
  border-radius: 50%;
110
109
  }
111
110
 
@@ -4,11 +4,11 @@
4
4
  overflow: hidden;
5
5
 
6
6
  .callout-inner {
7
- padding: 1.1rem 2.222rem;
7
+ padding: 2rem;
8
8
  border: 2px solid;
9
9
  border-top: 0;
10
10
  border-color: $color-border-secondary;
11
- margin: 1.75rem 0 1rem;
11
+ margin: 2.5rem 0;
12
12
  }
13
13
 
14
14
  // Highlights version
@@ -204,14 +204,13 @@
204
204
  font-weight: 600;
205
205
  text-transform: uppercase;
206
206
  font-size: 1rem;
207
- margin-right: 2.222rem;
208
207
  color: $color-text-secondary; // UI kit
209
208
  @include media-breakpoint-up(lg) {
210
209
  font-size: 1.125rem;
211
210
  }
212
211
  .icon {
213
212
  fill: $color-text-secondary; // UI kit
214
- margin-right: 0.444rem;
213
+ margin-right: 0.5rem;
215
214
  }
216
215
  }
217
216
 
@@ -219,23 +218,33 @@
219
218
  &:not(.callout-highlight):not(.callout-more) {
220
219
  .callout-title {
221
220
  position: relative;
222
- padding: 0 1.389rem;
223
- top: -2rem;
221
+ padding-left: 1.5rem;
222
+ top: -3rem;
223
+ .text {
224
+ position: relative;
225
+ overflow: hidden;
226
+ width: 100%;
227
+ font-size: 0.875rem;
228
+ padding-right: 1.5rem;
229
+ @include media-breakpoint-up(md) {
230
+ font-size: 1.15rem;
231
+ }
232
+ }
224
233
  .text:after {
225
234
  content: '';
226
- top: 0.78em;
235
+ top: 0.875em;
227
236
  border-top: 2px solid;
228
237
  position: absolute;
229
- width: 200%;
230
- margin-left: calc(10px + 0.7rem);
238
+ width: 250%;
239
+ left: 100%;
231
240
  }
232
241
  &:before {
233
242
  content: '';
234
- top: 0.78em;
243
+ top: 0.875em;
235
244
  border-top: 2px solid;
236
245
  position: absolute;
237
- width: 3.222rem;
238
- left: calc(-40px - 0.7rem);
246
+ width: 3rem;
247
+ left: -2.5rem;
239
248
  }
240
249
  }
241
250
  }
@@ -1,3 +1,3 @@
1
1
  :root {
2
- --bootstrap-italia-version: '2.8.3';
2
+ --bootstrap-italia-version: '2.8.4';
3
3
  }