mediacube-ui 0.1.26 → 0.1.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "description": "Design system for Mediacube services",
5
5
  "author": "Mediacube",
6
6
  "private": false,
@@ -121,6 +121,7 @@ import McTitle from '../../McTitle/McTitle'
121
121
  import McButton from '../../McButton/McButton'
122
122
  import McSvgIcon from '../../McSvgIcon/McSvgIcon'
123
123
  import fieldErrors from '../../../mixins/fieldErrors'
124
+ import McTooltip from '../../McTooltip/McTooltip'
124
125
 
125
126
  export default {
126
127
  name: 'McFieldText',
@@ -129,6 +130,8 @@ export default {
129
130
  McTitle,
130
131
  McSvgIcon,
131
132
  TextareaAutosize,
133
+ // eslint-disable-next-line vue/no-unused-components
134
+ McTooltip, //Используется через component :is
132
135
  'imask-input': IMaskComponent,
133
136
  },
134
137
  mixins: [fieldErrors],
@@ -519,7 +522,7 @@ export default {
519
522
  setDecimalsLimit(val) {
520
523
  if (val && this.maxDecimals) {
521
524
  const [integerPart, decimalPart] = val.split('.')
522
- if(decimalPart?.length > this.maxDecimals) {
525
+ if (decimalPart?.length > this.maxDecimals) {
523
526
  return `${integerPart}.${decimalPart.slice(0, this.maxDecimals)}`
524
527
  }
525
528
  }
@@ -245,6 +245,7 @@ export default {
245
245
  &__header-right {
246
246
  @extend .mc-table-col__right;
247
247
  display: flex;
248
+ opacity: 1;
248
249
  }
249
250
  }
250
251