mediacube-ui 0.1.323 → 0.1.324

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.324](https://github.com/MediaCubeCo/mcui/compare/v0.1.323...v0.1.324) (2024-10-29)
6
+
5
7
  ### [0.1.323](https://github.com/MediaCubeCo/mcui/compare/v0.1.322...v0.1.323) (2024-10-24)
6
8
 
7
9
  ### [0.1.322](https://github.com/MediaCubeCo/mcui/compare/v0.1.321...v0.1.322) (2024-10-22)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui",
3
- "version": "0.1.323",
3
+ "version": "0.1.324",
4
4
  "description": "Design system for Mediacube services",
5
5
  "author": "Mediacube",
6
6
  "private": false,
@@ -8,6 +8,12 @@
8
8
  </label>
9
9
  <div class="mc-date-picker__inner">
10
10
  <div class="mc-date-picker__input-wrapper" :style="{ minWidth }">
11
+ <mc-svg-icon
12
+ v-if="!isTime"
13
+ class="mc-date-picker__icon-calendar mx-icon-calendar"
14
+ name="calendar"
15
+ size="300"
16
+ />
11
17
  <date-picker
12
18
  ref="input"
13
19
  :type="type"
@@ -102,11 +108,6 @@
102
108
  </div>
103
109
  </slot>
104
110
  </template>
105
-
106
- <!-- @slot Слот для вставки пользовательской иконки календаря -->
107
- <template slot="icon-calendar">
108
- <mc-svg-icon class="mc-date-picker__icon" name="calendar" />
109
- </template>
110
111
  </date-picker>
111
112
  </div>
112
113
  </div>
@@ -604,6 +605,7 @@ export default {
604
605
  }
605
606
 
606
607
  &__input-wrapper {
608
+ position: relative;
607
609
  width: 100%;
608
610
  }
609
611
 
@@ -661,6 +663,15 @@ export default {
661
663
  color: $color-outline-gray;
662
664
  }
663
665
  }
666
+ &__icon-calendar {
667
+ position: absolute;
668
+ z-index: 1;
669
+ }
670
+ &__date-picker {
671
+ .mx-icon-calendar {
672
+ display: none;
673
+ }
674
+ }
664
675
  }
665
676
 
666
677
  .mx-datepicker {