@policystudio/policy-studio-ui-vue 1.1.36 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.1.36",
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>
@@ -173,7 +173,7 @@
173
173
  :style="`background-color:${getBackgroundColor(item.background_color)};`"
174
174
  v-for="column of columnGroup.columns"
175
175
  :key="indexColumn + '-' + columnGroup.key + '-' + column.key"
176
-
176
+ :data-test-id="column.key"
177
177
  >
178
178
  <div
179
179
  v-if="layout != 'comparison'"
@@ -119,6 +119,13 @@ module.exports = {
119
119
  '-1': '-1rem',
120
120
  }
121
121
  },
122
+ screens: {
123
+ 'sm': '640px',
124
+ 'md': '768px',
125
+ 'lg': '1024px',
126
+ 'xl': '1280px',
127
+ '2xl': '1536px',
128
+ }
122
129
  },
123
130
  variants: {
124
131
  boxShadow: ['active'],