@policystudio/policy-studio-ui-vue 1.1.34 → 1.1.37
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,28 +1,30 @@
|
|
|
1
1
|
@layer components {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
.psui-el-testimonial {
|
|
3
|
+
@apply psui-relative psui-bg-white psui-shadow-elevation-5 psui-flex psui-flex-col psui-rounded-lg w-full;
|
|
4
|
+
padding: 56px 42px 40px 32px;
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
&-icon {
|
|
7
|
+
@apply psui-absolute psui-bg-blue-60 psui-rounded-sm psui-flex psui-items-center;
|
|
8
|
+
top: -15px;
|
|
9
|
+
right: 16px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&-description {
|
|
13
|
+
@apply psui-text-p psui-text-blue-80 psui-italic;
|
|
14
|
+
margin-bottom: 33px;
|
|
15
|
+
}
|
|
11
16
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
margin-bottom: 33px;
|
|
15
|
-
}
|
|
17
|
+
&-info {
|
|
18
|
+
@apply psui-flex psui-flex-col psui-mt-auto;
|
|
16
19
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
@apply psui-mb-1 psui-text-blue-80 psui-text-small psui-font-bold;
|
|
21
|
-
}
|
|
20
|
+
&-user {
|
|
21
|
+
@apply psui-mb-1 psui-text-blue-80 psui-text-small psui-font-bold;
|
|
22
|
+
}
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
&-position,
|
|
25
|
+
&-jurisdiction {
|
|
26
|
+
@apply psui-text-gray-50 psui-text-small;
|
|
27
|
+
}
|
|
27
28
|
}
|
|
29
|
+
}
|
|
28
30
|
}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
<p class="psui-el-testimonial-description">{{description}}</p>
|
|
11
|
-
<div class="psui-el-testimonial-info">
|
|
12
|
-
<span class="psui-el-testimonial-info-user" >{{user}}</span>
|
|
13
|
-
<span class="psui-el-testimonial-info-position">{{position}}</span>
|
|
14
|
-
<span class="psui-el-testimonial-info-jurisdiction">{{jurisdiction}}</span>
|
|
15
|
-
</div>
|
|
2
|
+
<div class="psui-el-testimonial">
|
|
3
|
+
<div class="psui-el-testimonial-icon">
|
|
4
|
+
<PsIcon
|
|
5
|
+
icon="format_quote"
|
|
6
|
+
size="40"
|
|
7
|
+
color="psui-text-white"
|
|
8
|
+
display="flex"
|
|
9
|
+
/>
|
|
16
10
|
</div>
|
|
11
|
+
<p class="psui-el-testimonial-description">{{description}}</p>
|
|
12
|
+
<div class="psui-el-testimonial-info">
|
|
13
|
+
<span class="psui-el-testimonial-info-user" >{{user}}</span>
|
|
14
|
+
<span class="psui-el-testimonial-info-position">{{position}}</span>
|
|
15
|
+
<span class="psui-el-testimonial-info-jurisdiction">{{jurisdiction}}</span>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
17
18
|
</template>
|
|
18
19
|
|
|
19
20
|
<script>
|
|
@@ -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'"
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
</PsTooltip>
|
|
213
213
|
|
|
214
214
|
<p v-if="formatFunction && !item.is_disabled">
|
|
215
|
-
{{ formatFunction(column.key, item.data[column.key], item.data) }}
|
|
215
|
+
{{ formatFunction(column.key, item.data[column.key], item.data, item.study_id) }}
|
|
216
216
|
</p>
|
|
217
217
|
|
|
218
218
|
<p
|
package/tailwind.config.js
CHANGED