@policystudio/policy-studio-ui-vue 1.1.37 → 1.1.39

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.
@@ -4231,9 +4231,14 @@ video {
4231
4231
  }
4232
4232
 
4233
4233
  .psui-el-date-card-day {
4234
+ font-size: 18px;
4234
4235
  font-weight: 700;
4235
4236
  }
4236
4237
 
4238
+ .psui-el-date-card-year {
4239
+ font-size: 10px;
4240
+ }
4241
+
4237
4242
  .psui-el-tag-scope {
4238
4243
  display: flex;
4239
4244
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.1.37",
3
+ "version": "1.1.39",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -8,7 +8,12 @@
8
8
  }
9
9
 
10
10
  &-day {
11
+ font-size: 18px;
11
12
  @apply psui-font-bold;
12
13
  }
14
+
15
+ &-year {
16
+ font-size: 10px;
17
+ }
13
18
  }
14
19
  }
@@ -6,6 +6,9 @@
6
6
  <span class="psui-el-date-card-day">
7
7
  {{getDayFromDate}}
8
8
  </span>
9
+ <span class="psui-el-date-card-year">
10
+ {{getYearFromDate}}
11
+ </span>
9
12
  </div>
10
13
  </template>
11
14
 
@@ -24,6 +27,9 @@ export default {
24
27
  },
25
28
  getDayFromDate() {
26
29
  return (new Date(this.date))?.toLocaleString('default', { day: '2-digit' })
30
+ },
31
+ getYearFromDate() {
32
+ return (new Date(this.date))?.toLocaleString('default', { year: 'numeric' })
27
33
  }
28
34
  }
29
35
  }
@@ -12,7 +12,8 @@
12
12
  <slot name="prepend"></slot>
13
13
  </div>
14
14
  <PsRichTooltip
15
- css-class="w-48"
15
+ class="psui-w-full"
16
+ css-class="psui-w-48"
16
17
  :ignore-dialog="!showTooltip"
17
18
  >
18
19
  <template v-slot:trigger>