@policystudio/policy-studio-ui-vue 1.0.75 → 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.
@@ -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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.0.75",
3
+ "version": "1.0.76",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -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 {
@@ -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) {