mediacube-ui 0.1.413 → 0.1.414

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
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.414](https://github.com/MediaCubeCo/mcui/compare/v0.1.413...v0.1.414) (2025-09-17)
6
+
5
7
  ### [0.1.413](https://github.com/MediaCubeCo/mcui/compare/v0.1.412...v0.1.413) (2025-09-17)
6
8
 
7
9
  ### [0.1.412](https://github.com/MediaCubeCo/mcui/compare/v0.1.411...v0.1.412) (2025-09-17)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui",
3
- "version": "0.1.413",
3
+ "version": "0.1.414",
4
4
  "description": "Design system for Mediacube services",
5
5
  "author": "Mediacube",
6
6
  "private": false,
@@ -590,8 +590,8 @@ export default {
590
590
  setDecimalsLimit(val) {
591
591
  if (val && this.maxDecimals) {
592
592
  const [integerPart, decimalPart] = val.split('.')
593
- if (decimalPart?.length > this.maxDecimals) {
594
- return `${integerPart}.${decimalPart.slice(0, this.maxDecimals)}`
593
+ if (decimalPart && decimalPart.replace(/ /gm, '').length > this.maxDecimals) {
594
+ return `${integerPart}.${decimalPart.replace(/ /gm, '').slice(0, this.maxDecimals)}`
595
595
  }
596
596
  }
597
597
  return val