@telefonica/mistica 10.3.0 → 10.3.1
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/CHANGELOG.md +7 -0
- package/dist/navigation-bar.js +4 -3
- package/dist-es/navigation-bar.js +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [10.3.1](https://github.com/Telefonica/mistica-web/compare/v10.3.0...v10.3.1) (2021-09-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **NavigationBar:** remove wrong border transition in desktop ([b58d46c](https://github.com/Telefonica/mistica-web/commit/b58d46ccf14c5cebbfe95b5c62d7644525fddb86))
|
|
7
|
+
|
|
1
8
|
# [10.3.0](https://github.com/Telefonica/mistica-web/compare/v10.2.0...v10.3.0) (2021-09-23)
|
|
2
9
|
|
|
3
10
|
|
package/dist/navigation-bar.js
CHANGED
|
@@ -417,16 +417,17 @@ var useStyles = (0, _jss.createUseStyles)(function (theme) {
|
|
|
417
417
|
},
|
|
418
418
|
height: DESKTOP_NAVBAR_HEIGHT,
|
|
419
419
|
padding: '16px 0',
|
|
420
|
-
|
|
421
|
-
|
|
420
|
+
borderBottomStyle: 'solid',
|
|
421
|
+
borderBottomWidth: function borderBottomWidth(_ref9) {
|
|
422
422
|
var withBorder = _ref9.withBorder;
|
|
423
|
-
return withBorder ?
|
|
423
|
+
return withBorder ? 1 : 0;
|
|
424
424
|
},
|
|
425
425
|
borderColor: function borderColor(_ref10) {
|
|
426
426
|
var isInverse = _ref10.isInverse;
|
|
427
427
|
return isInverse && !theme.isDarkMode ? 'transparent' : theme.colors.divider;
|
|
428
428
|
}
|
|
429
429
|
}, theme.mq.tabletOrSmaller, {
|
|
430
|
+
transition: 'border-color 300ms',
|
|
430
431
|
borderColor: function borderColor(_ref11) {
|
|
431
432
|
var isMenuOpen = _ref11.isMenuOpen,
|
|
432
433
|
isInverse = _ref11.isInverse;
|
|
@@ -270,16 +270,17 @@ var useStyles = createUseStyles(function (theme) {
|
|
|
270
270
|
},
|
|
271
271
|
height: DESKTOP_NAVBAR_HEIGHT,
|
|
272
272
|
padding: '16px 0',
|
|
273
|
-
|
|
274
|
-
|
|
273
|
+
borderBottomStyle: 'solid',
|
|
274
|
+
borderBottomWidth: function borderBottomWidth(_ref9) {
|
|
275
275
|
var withBorder = _ref9.withBorder;
|
|
276
|
-
return withBorder ?
|
|
276
|
+
return withBorder ? 1 : 0;
|
|
277
277
|
},
|
|
278
278
|
borderColor: function borderColor(_ref10) {
|
|
279
279
|
var isInverse = _ref10.isInverse;
|
|
280
280
|
return isInverse && !theme.isDarkMode ? 'transparent' : theme.colors.divider;
|
|
281
281
|
}
|
|
282
282
|
}, theme.mq.tabletOrSmaller, {
|
|
283
|
+
transition: 'border-color 300ms',
|
|
283
284
|
borderColor: function borderColor(_ref11) {
|
|
284
285
|
var isMenuOpen = _ref11.isMenuOpen,
|
|
285
286
|
isInverse = _ref11.isInverse;
|