@policystudio/policy-studio-ui-vue 1.0.83 → 1.0.85

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.
@@ -18635,10 +18635,6 @@ html {
18635
18635
  color: rgba(40, 50, 59, var(--text-opacity));
18636
18636
  }
18637
18637
 
18638
- .psui-el-table-results tbody tr.is-disabled {
18639
- pointer-events: none;
18640
- }
18641
-
18642
18638
  .psui-el-table-results tbody tr .title {
18643
18639
  display: flex;
18644
18640
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.0.83",
3
+ "version": "1.0.85",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -66,10 +66,6 @@
66
66
  }
67
67
  }
68
68
 
69
- &.is-disabled {
70
- @apply psui-pointer-events-none;
71
- }
72
-
73
69
  .title {
74
70
  @apply psui-flex psui-items-center;
75
71
  }
@@ -37,7 +37,7 @@
37
37
  class="actions-button psui-transition psui-transform"
38
38
  :icon-classes="item.is_disabled ? 'psui-text-gray-40' : getIconClasses(item)"
39
39
  :style="{ display: 'flex' }"
40
- :class="checkRowIsVisible(item) ? 'psui-rotate-0' : 'psui--rotate-90'"
40
+ :class="[checkRowIsVisible(item) ? 'psui-rotate-0' : 'psui--rotate-90', { 'psui-pointer-events-none' : item.is_disabled }]"
41
41
  @click.native="onCollapse(item)"
42
42
  />
43
43
 
@@ -118,7 +118,7 @@ export default {
118
118
 
119
119
  if (rectTrigger.x + rectDialog.width + 20 > windowWidth) {
120
120
  dialog.style.left = `${windowWidth - rectDialog.width - 30}px`
121
- } else if (rectTrigger.x - Math.abs(rectTrigger.width-rectDialog.width) < 0) {
121
+ } else if ((rectTrigger.x - rectDialog.width) < 0) {
122
122
  dialog.style.left = `${rectTrigger.x + 10}px`
123
123
  } else if (rectDialog.width >= rectTrigger.width){
124
124
  dialog.style.left = `${rectTrigger.x - ((rectDialog.width - rectTrigger.width)/2)}px`