@policystudio/policy-studio-ui-vue 1.1.90-beta.60 → 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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Round");
|
|
2
2
|
/*
|
|
3
|
-
! tailwindcss v3.4.
|
|
3
|
+
! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com
|
|
4
4
|
*/
|
|
5
5
|
/*
|
|
6
6
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
@@ -969,13 +969,9 @@ video {
|
|
|
969
969
|
--tw-bg-opacity: 1;
|
|
970
970
|
background-color: rgb(230 236 242/var(--tw-bg-opacity));
|
|
971
971
|
}
|
|
972
|
-
.psui-el-tab-header.layout-policy-design > :not([hidden]) ~ :not([hidden]) {
|
|
973
|
-
--tw-space-x-reverse: 0;
|
|
974
|
-
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
|
975
|
-
margin-left: calc(0.5rem * (1 - var(--tw-space-x-reverse)));
|
|
976
|
-
}
|
|
977
972
|
.psui-el-tab-header.layout-policy-design button {
|
|
978
973
|
padding: 8px 2px 7px 0px;
|
|
974
|
+
margin-right: 8px;
|
|
979
975
|
}
|
|
980
976
|
.psui-el-tab-header.layout-policy-design button {
|
|
981
977
|
position: relative;
|
|
@@ -986,6 +982,9 @@ video {
|
|
|
986
982
|
.psui-el-tab-header.layout-policy-design button {
|
|
987
983
|
align-items: center;
|
|
988
984
|
}
|
|
985
|
+
.psui-el-tab-header.layout-policy-design button:not(:first-child) {
|
|
986
|
+
margin-left: 8px;
|
|
987
|
+
}
|
|
989
988
|
.psui-el-tab-header.layout-policy-design button:after {
|
|
990
989
|
content: "";
|
|
991
990
|
}
|
|
@@ -1706,10 +1705,6 @@ video {
|
|
|
1706
1705
|
--tw-text-opacity: 1;
|
|
1707
1706
|
color: rgb(162 172 183/var(--tw-text-opacity));
|
|
1708
1707
|
}
|
|
1709
|
-
.psui-el-button.layout-onlytext {
|
|
1710
|
-
--tw-bg-opacity: 1;
|
|
1711
|
-
background-color: rgb(255 255 255/var(--tw-bg-opacity));
|
|
1712
|
-
}
|
|
1713
1708
|
.psui-el-button.layout-onlytext {
|
|
1714
1709
|
--tw-text-opacity: 1;
|
|
1715
1710
|
color: rgb(49 143 172/var(--tw-text-opacity));
|
|
@@ -6464,6 +6459,12 @@ video {
|
|
|
6464
6459
|
gap: 0.75rem;
|
|
6465
6460
|
}
|
|
6466
6461
|
|
|
6462
|
+
.psui-space-x-0 > :not([hidden]) ~ :not([hidden]) {
|
|
6463
|
+
--tw-space-x-reverse: 0;
|
|
6464
|
+
margin-right: calc(0px * var(--tw-space-x-reverse));
|
|
6465
|
+
margin-left: calc(0px * (1 - var(--tw-space-x-reverse)));
|
|
6466
|
+
}
|
|
6467
|
+
|
|
6467
6468
|
.psui-space-x-0\.5 > :not([hidden]) ~ :not([hidden]) {
|
|
6468
6469
|
--tw-space-x-reverse: 0;
|
|
6469
6470
|
margin-right: calc(0.125rem * var(--tw-space-x-reverse));
|
package/package.json
CHANGED
|
@@ -22,11 +22,15 @@
|
|
|
22
22
|
|
|
23
23
|
/* Layout Policy Design */
|
|
24
24
|
&.layout-policy-design {
|
|
25
|
-
@apply psui-space-x-2;
|
|
26
|
-
|
|
27
25
|
button {
|
|
28
|
-
padding: 8px 2px 7px 0px;
|
|
26
|
+
padding: 8px 2px 7px 0px;
|
|
27
|
+
margin-right: 8px;
|
|
29
28
|
@apply psui-flex psui-items-center psui-relative;
|
|
29
|
+
|
|
30
|
+
&:not(:first-child) {
|
|
31
|
+
margin-left: 8px;
|
|
32
|
+
}
|
|
33
|
+
|
|
30
34
|
|
|
31
35
|
&:after {
|
|
32
36
|
content: '';
|
|
@@ -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
|
-
|
|
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>
|