@policystudio/policy-studio-ui-vue 1.1.90-beta.61 → 1.1.90-beta.62

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.
@@ -1705,10 +1705,6 @@ video {
1705
1705
  --tw-text-opacity: 1;
1706
1706
  color: rgb(162 172 183/var(--tw-text-opacity));
1707
1707
  }
1708
- .psui-el-button.layout-onlytext {
1709
- --tw-bg-opacity: 1;
1710
- background-color: rgb(255 255 255/var(--tw-bg-opacity));
1711
- }
1712
1708
  .psui-el-button.layout-onlytext {
1713
1709
  --tw-text-opacity: 1;
1714
1710
  color: rgb(49 143 172/var(--tw-text-opacity));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.1.90-beta.61",
3
+ "version": "1.1.90-beta.62",
4
4
  "description": "Policy Studio UI",
5
5
  "author": "Policy Studio Team",
6
6
  "scripts": {
@@ -135,7 +135,7 @@
135
135
  }
136
136
 
137
137
  &.layout-onlytext {
138
- @apply psui-bg-white psui-text-blue-60;
138
+ @apply psui-text-blue-60;
139
139
 
140
140
  &.disabled {
141
141
  @apply psui-text-gray-40 psui-cursor-default
@@ -4,7 +4,7 @@
4
4
  @mouseenter="onMouseEnter"
5
5
  @mouseleave="onMouseLeave"
6
6
  class="psui-el-button"
7
- :class="[getComponentClass, { hover: isHover }, { disabled: disabled || loading }]"
7
+ :class="[getComponentClass, { hover: isHover && !disabled}, { disabled: disabled || loading }]"
8
8
  >
9
9
  <svg
10
10
  v-if="loading"
@@ -96,14 +96,10 @@ const onClick = (event) => {
96
96
  }
97
97
 
98
98
  const onMouseEnter = () => {
99
- if (!props.disabled) {
100
- isHover.value = true
101
- }
99
+ isHover.value = true
102
100
  }
103
101
 
104
102
  const onMouseLeave = () => {
105
- if (!props.disabled) {
106
103
  isHover.value = false
107
- }
108
104
  }
109
105
  </script>