@policystudio/policy-studio-ui-vue 1.0.74 → 1.0.76
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/.github/workflows/release-package.yml +1 -1
- package/dist/css/psui_styles.css +6 -0
- package/package.json +1 -1
- package/src/assets/scss/components/PsTableResults.scss +4 -0
- package/src/assets/scss/components/PsTooltip.scss +1 -1
- package/src/components/forms/PsInput.vue +5 -0
- package/src/components/table-results/PsTableResults.vue +2 -2
- package/src/components/tooltip/PsRichTooltip.vue +5 -1
- package/src/components/tooltip/PsTooltip.vue +1 -0
|
@@ -19,7 +19,7 @@ jobs:
|
|
|
19
19
|
id: check
|
|
20
20
|
with:
|
|
21
21
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
22
|
-
file-url: https://
|
|
22
|
+
file-url: https://cdn.jsdelivr.net/npm/@policystudio/policy-studio-ui-vue@latest/package.json
|
|
23
23
|
static-checking: localIsNew
|
|
24
24
|
|
|
25
25
|
- name: Version update detected
|
package/dist/css/psui_styles.css
CHANGED
|
@@ -17251,6 +17251,7 @@ html {
|
|
|
17251
17251
|
transition-duration: 300ms;
|
|
17252
17252
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
17253
17253
|
z-index: 10;
|
|
17254
|
+
display: none;
|
|
17254
17255
|
transition-delay: 0.4s;
|
|
17255
17256
|
}
|
|
17256
17257
|
|
|
@@ -18659,6 +18660,11 @@ html {
|
|
|
18659
18660
|
position: relative;
|
|
18660
18661
|
}
|
|
18661
18662
|
|
|
18663
|
+
.psui-el-table-results tbody tr td .actions-button {
|
|
18664
|
+
cursor: pointer;
|
|
18665
|
+
margin-left: 0.25rem;
|
|
18666
|
+
}
|
|
18667
|
+
|
|
18662
18668
|
.psui-el-table-results tbody tr td:not(:first-child) > div {
|
|
18663
18669
|
justify-content: flex-end;
|
|
18664
18670
|
}
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
@apply psui-relative;
|
|
6
6
|
|
|
7
7
|
.psui-el-tooltip-dialog {
|
|
8
|
-
@apply psui-fixed psui-opacity-0 psui-transition-opacity psui-duration-300 psui-ease-in-out psui-z-10;
|
|
8
|
+
@apply psui-fixed psui-opacity-0 psui-transition-opacity psui-duration-300 psui-ease-in-out psui-z-10 psui-hidden;
|
|
9
9
|
transition-delay: 0.4s;
|
|
10
10
|
|
|
11
11
|
.psui-el-tooltip-content {
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
:placeholder="placeholder"
|
|
19
19
|
:disabled="disabled"
|
|
20
20
|
:value="value"
|
|
21
|
+
:step="step"
|
|
21
22
|
:min="minValue"
|
|
22
23
|
:max="maxValue"
|
|
23
24
|
@focus="onInputFocus"
|
|
@@ -107,11 +108,15 @@ export default {
|
|
|
107
108
|
type: Boolean,
|
|
108
109
|
default: false
|
|
109
110
|
},
|
|
111
|
+
|
|
110
112
|
minValue: {
|
|
111
113
|
type: Number
|
|
112
114
|
},
|
|
113
115
|
maxValue: {
|
|
114
116
|
type: Number
|
|
117
|
+
},
|
|
118
|
+
step:{
|
|
119
|
+
type: Number
|
|
115
120
|
}
|
|
116
121
|
},
|
|
117
122
|
data: () => ({
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
<div
|
|
26
26
|
class="actions psui-space-x-3"
|
|
27
27
|
:class="{ 'psui-ml-8' : item.type == 'study_data' }"
|
|
28
|
-
:style="{ paddingLeft: `${item.deep *
|
|
28
|
+
:style="{ paddingLeft: `${(item.last_deep) ? item.deep * 29 : item.deep * 16}px` }"
|
|
29
29
|
>
|
|
30
30
|
<PsIcon
|
|
31
31
|
v-if="!item.last_deep || item.type === 'total'"
|
|
32
32
|
icon="expand_more"
|
|
33
33
|
size="24"
|
|
34
|
-
class="
|
|
34
|
+
class="actions-button psui-transition psui-transform"
|
|
35
35
|
:icon-classes="getIconClasses(item)"
|
|
36
36
|
:style="{ display: 'flex' }"
|
|
37
37
|
:class="checkRowIsVisible(item) ? 'psui-rotate-0' : 'psui--rotate-90'"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<PsTooltip :layout="layout" :title="title" :cssClass="cssClass" :position="position">
|
|
2
|
+
<PsTooltip :layout="layout" :title="title" :cssClass="cssClass" :position="position" :ignoreDialog="ignoreDialog">
|
|
3
3
|
<template v-slot:trigger>
|
|
4
4
|
<slot name="trigger"></slot>
|
|
5
5
|
</template>
|
|
@@ -39,6 +39,10 @@ export default {
|
|
|
39
39
|
type: String,
|
|
40
40
|
default: 'bottom',
|
|
41
41
|
validator: (value)=> ['bottom','top'].includes(value)
|
|
42
|
+
},
|
|
43
|
+
ignoreDialog: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: false
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
},
|
|
@@ -113,6 +113,7 @@ export default {
|
|
|
113
113
|
const rectDialog = dialog.getBoundingClientRect()
|
|
114
114
|
const rectTrigger = trigger.getBoundingClientRect()
|
|
115
115
|
const windowWidth = document.documentElement.clientWidth
|
|
116
|
+
|
|
116
117
|
dialog.style.top = `${rectTrigger.y + rectTrigger.height + 8}px`
|
|
117
118
|
|
|
118
119
|
if (rectTrigger.x + rectDialog.width + 20 > windowWidth) {
|