@mtes-mct/monitor-ui 2.18.0 → 2.18.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 CHANGED
@@ -1,3 +1,10 @@
1
+ # [2.18.0](https://github.com/MTES-MCT/monitor-ui/compare/v2.17.0...v2.18.0) (2023-02-17)
2
+
3
+
4
+ ### Features
5
+
6
+ * **elements:** add ellipsis to long Button labels ([287a56b](https://github.com/MTES-MCT/monitor-ui/commit/287a56bd1c598da0cd25feae50c466062cafc725))
7
+
1
8
  # [2.17.0](https://github.com/MTES-MCT/monitor-ui/compare/v2.16.0...v2.17.0) (2023-02-17)
2
9
 
3
10
 
package/index.js CHANGED
@@ -2115,6 +2115,7 @@ const StyledButton$1 = styled.button `
2115
2115
  align-items: center;
2116
2116
  display: inline-flex;
2117
2117
  font-size: ${p => FONT_SIZE[p.size]};
2118
+ justify-content: center;
2118
2119
  max-width: 100%;
2119
2120
  padding: ${p => PADDING$1[p.size]};
2120
2121
  width: ${p => (p.isFullWidth ? '100%' : 'auto')};