@policystudio/policy-studio-ui-vue 1.1.6 → 1.1.7

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.
@@ -1927,169 +1927,316 @@ video {
1927
1927
  line-height: 130%;
1928
1928
  }
1929
1929
 
1930
- .psui-el-table-results tr th:last-child, .psui-el-table-results tr td:last-child {
1931
- padding-right: 0.5rem;
1932
- }
1933
-
1934
- .psui-el-table-results thead {
1935
- background-color: #ffffff ;
1936
- align-items: flex-start;
1937
- box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.04), 0px 2px 5px rgba(0, 0, 0, 0.08);
1938
- position: sticky;
1939
- top: 0;
1940
- z-index: 15;
1941
- }
1930
+ .psui-el-table-results.layout-results tr th:last-child, .psui-el-table-results.layout-results tr td:last-child {
1931
+ padding-right: 0.5rem;
1932
+ }
1942
1933
 
1943
- .psui-el-table-results thead:after {
1944
- content: '';
1945
- display: inline-block;
1946
- position: absolute;
1947
- top: 0;
1948
- width: 0.5rem;
1949
- height: 100%;
1934
+ .psui-el-table-results.layout-results thead {
1950
1935
  background-color: #ffffff ;
1951
- right: -8px;
1936
+ align-items: flex-start;
1937
+ box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.04), 0px 2px 5px rgba(0, 0, 0, 0.08);
1938
+ position: sticky;
1939
+ top: 0;
1940
+ z-index: 15;
1952
1941
  }
1953
1942
 
1954
- .psui-el-table-results thead tr .title {
1955
- font-size: 14px;
1956
- line-height: 130%;
1957
- font-weight: 700;
1958
- line-height: 1rem;
1959
- --text-opacity: 1;
1960
- color: #28323B;
1961
- color: rgba(40, 50, 59, var(--text-opacity));
1962
- }
1963
-
1964
- .psui-el-table-results thead tr th {
1965
- padding-left: 1.5rem;
1966
- --text-opacity: 1;
1967
- color: #798490;
1968
- color: rgba(121, 132, 144, var(--text-opacity));
1969
- text-align: right;
1970
- width: auto;
1971
- vertical-align: top;
1972
- padding-top: 13px;
1973
- padding-bottom: 13px;
1943
+ .psui-el-table-results.layout-results thead:after {
1944
+ content: '';
1945
+ display: inline-block;
1946
+ position: absolute;
1947
+ top: 0;
1948
+ width: 0.5rem;
1949
+ height: 100%;
1950
+ background-color: #ffffff ;
1951
+ right: -8px;
1974
1952
  }
1975
1953
 
1976
- .psui-el-table-results thead tr th .description {
1977
- font-size: 12px;
1954
+ .psui-el-table-results.layout-results thead tr .title {
1955
+ font-size: 14px;
1978
1956
  line-height: 130%;
1979
- font-weight: 400;
1980
- line-height: 110%;
1957
+ font-weight: 700;
1958
+ line-height: 1rem;
1959
+ --text-opacity: 1;
1960
+ color: #28323B;
1961
+ color: rgba(40, 50, 59, var(--text-opacity));
1981
1962
  }
1982
1963
 
1983
- .psui-el-table-results thead tr th:first-child {
1984
- padding-left: 0;
1985
- padding-right: 2rem;
1986
- text-align: left;
1987
- background-color: #ffffff ;
1988
- position: sticky;
1989
- z-index: 10;
1990
- left: 0;
1991
- box-shadow: inset -1px 0px 0px #EBEEF0;
1992
- min-width: 300px;
1964
+ .psui-el-table-results.layout-results thead tr th {
1965
+ padding-left: 1.5rem;
1966
+ --text-opacity: 1;
1967
+ color: #798490;
1968
+ color: rgba(121, 132, 144, var(--text-opacity));
1969
+ text-align: right;
1970
+ width: auto;
1971
+ vertical-align: top;
1972
+ padding-top: 13px;
1973
+ padding-bottom: 13px;
1993
1974
  }
1994
1975
 
1995
- .psui-el-table-results thead tr th:first-child > div {
1976
+ .psui-el-table-results.layout-results thead tr th .description {
1977
+ font-size: 12px;
1978
+ line-height: 130%;
1979
+ font-weight: 400;
1980
+ line-height: 110%;
1981
+ }
1982
+
1983
+ .psui-el-table-results.layout-results thead tr th:first-child {
1996
1984
  padding-left: 0;
1985
+ padding-right: 2rem;
1986
+ text-align: left;
1987
+ background-color: #ffffff ;
1988
+ position: sticky;
1989
+ z-index: 10;
1990
+ left: 0;
1991
+ box-shadow: inset -1px 0px 0px #EBEEF0;
1992
+ min-width: 300px;
1997
1993
  }
1998
1994
 
1999
- .psui-el-table-results thead tr:first-of-type th {
2000
- text-align: left;
2001
- padding-top: 0;
2002
- padding-bottom: 0;
2003
- }
1995
+ .psui-el-table-results.layout-results thead tr th:first-child > div {
1996
+ padding-left: 0;
1997
+ }
2004
1998
 
2005
- .psui-el-table-results thead tr:first-of-type th > div {
2006
- display: flex;
2007
- flex-direction: row;
2008
- border-bottom-width: 1px;
2009
- --border-opacity: 1;
2010
- border-color: #D6DDE5;
2011
- border-color: rgba(214, 221, 229, var(--border-opacity));
2012
- padding-top: 11px;
2013
- padding-bottom: 11px;
1999
+ .psui-el-table-results.layout-results thead tr:first-of-type th {
2000
+ text-align: left;
2001
+ padding-top: 0;
2002
+ padding-bottom: 0;
2014
2003
  }
2015
2004
 
2016
- .psui-el-table-results thead tr:first-of-type p {
2017
- font-size: 16px;
2018
- line-height: 130%;
2019
- line-height: 18px;
2020
- }
2005
+ .psui-el-table-results.layout-results thead tr:first-of-type th > div {
2006
+ display: flex;
2007
+ flex-direction: row;
2008
+ border-bottom-width: 1px;
2009
+ --border-opacity: 1;
2010
+ border-color: #D6DDE5;
2011
+ border-color: rgba(214, 221, 229, var(--border-opacity));
2012
+ padding-top: 11px;
2013
+ padding-bottom: 11px;
2014
+ }
2021
2015
 
2022
- .psui-el-table-results tbody tr {
2023
- border-bottom-width: 1px;
2024
- --border-opacity: 1;
2025
- border-color: #E6ECF2;
2026
- border-color: rgba(230, 236, 242, var(--border-opacity));
2027
- }
2016
+ .psui-el-table-results.layout-results thead tr:first-of-type p {
2017
+ font-size: 16px;
2018
+ line-height: 130%;
2019
+ line-height: 18px;
2020
+ }
2028
2021
 
2029
- .psui-el-table-results tbody tr.is-first .title {
2030
- font-weight: 700;
2022
+ .psui-el-table-results.layout-results tbody tr {
2023
+ border-bottom-width: 1px;
2024
+ --border-opacity: 1;
2025
+ border-color: #E6ECF2;
2026
+ border-color: rgba(230, 236, 242, var(--border-opacity));
2027
+ }
2028
+
2029
+ .psui-el-table-results.layout-results tbody tr.is-first .title {
2030
+ font-weight: 700;
2031
+ --text-opacity: 1;
2032
+ color: #28323B;
2033
+ color: rgba(40, 50, 59, var(--text-opacity));
2034
+ }
2035
+
2036
+ .psui-el-table-results.layout-results tbody tr .title {
2037
+ display: flex;
2038
+ align-items: center;
2039
+ }
2040
+
2041
+ .psui-el-table-results.layout-results tbody tr td {
2042
+ padding-left: 2rem;
2031
2043
  --text-opacity: 1;
2032
2044
  color: #28323B;
2033
2045
  color: rgba(40, 50, 59, var(--text-opacity));
2046
+ height: 2.5rem;
2047
+ text-align: right;
2048
+ font-size: 14px;
2049
+ line-height: 130%;
2050
+ padding-top: 11px;
2051
+ padding-bottom: 11px;
2034
2052
  }
2035
2053
 
2036
- .psui-el-table-results tbody tr .title {
2037
- display: flex;
2038
- align-items: center;
2054
+ .psui-el-table-results.layout-results tbody tr td > div {
2055
+ display: flex;
2056
+ align-items: center;
2057
+ }
2058
+
2059
+ .psui-el-table-results.layout-results tbody tr td .actions {
2060
+ display: flex;
2061
+ align-items: center;
2062
+ height: 100%;
2063
+ position: relative;
2064
+ }
2065
+
2066
+ .psui-el-table-results.layout-results tbody tr td .actions-button {
2067
+ cursor: pointer;
2068
+ margin-left: 0.25rem;
2069
+ }
2070
+
2071
+ .psui-el-table-results.layout-results tbody tr td .actions .is-last-deep {
2072
+ padding-left: 2.5rem;
2073
+ }
2074
+
2075
+ .psui-el-table-results.layout-results tbody tr td:not(:first-child) > div {
2076
+ justify-content: flex-end;
2077
+ }
2078
+
2079
+ .psui-el-table-results.layout-results tbody tr td:first-child {
2080
+ padding-left: 0;
2081
+ padding-right: 2rem;
2082
+ text-align: left;
2083
+ display: block;
2084
+ background-color: #ffffff ;
2085
+ position: sticky;
2086
+ z-index: 10;
2087
+ left: 0;
2088
+ box-shadow: inset -1px 0px 0px #EBEEF0;
2089
+ padding-top: 8px;
2090
+ padding-bottom: 8px;
2091
+ }
2092
+
2093
+ .psui-el-table-results.layout-comparison {
2094
+ border-collapse: separate;
2095
+ border-spacing: 2px 8px;
2096
+ }
2097
+
2098
+ .psui-el-table-results.layout-comparison tr th, .psui-el-table-results.layout-comparison tr td {
2099
+ position: relative;
2039
2100
  }
2040
2101
 
2041
- .psui-el-table-results tbody tr td {
2042
- padding-left: 2rem;
2043
- --text-opacity: 1;
2044
- color: #28323B;
2045
- color: rgba(40, 50, 59, var(--text-opacity));
2046
- height: 2.5rem;
2047
- text-align: right;
2048
- font-size: 14px;
2049
- line-height: 130%;
2050
- padding-top: 11px;
2051
- padding-bottom: 11px;
2102
+ .psui-el-table-results.layout-comparison tr th:last-child, .psui-el-table-results.layout-comparison tr td:last-child {
2103
+ padding-right: 0.5rem;
2104
+ }
2105
+
2106
+ .psui-el-table-results.layout-comparison thead {
2107
+ background-color: transparent;
2108
+ align-items: flex-start;
2109
+ }
2110
+
2111
+ .psui-el-table-results.layout-comparison thead div {
2112
+ position: relative;
2052
2113
  }
2053
2114
 
2054
- .psui-el-table-results tbody tr td > div {
2055
- display: flex;
2056
- align-items: center;
2115
+ .psui-el-table-results.layout-comparison thead tr .title {
2116
+ font-size: 14px;
2117
+ line-height: 130%;
2118
+ font-weight: 700;
2119
+ line-height: 1rem;
2120
+ --text-opacity: 1;
2121
+ color: #28323B;
2122
+ color: rgba(40, 50, 59, var(--text-opacity));
2057
2123
  }
2058
2124
 
2059
- .psui-el-table-results tbody tr td .actions {
2060
- display: flex;
2061
- align-items: center;
2062
- height: 100%;
2063
- position: relative;
2125
+ .psui-el-table-results.layout-comparison thead tr th {
2126
+ padding-left: 1.5rem;
2127
+ padding-right: 1.5rem;
2128
+ padding-top: 1rem;
2129
+ padding-bottom: 1rem;
2130
+ --text-opacity: 1;
2131
+ color: #798490;
2132
+ color: rgba(121, 132, 144, var(--text-opacity));
2133
+ text-align: center;
2134
+ vertical-align: top;
2135
+ padding-top: 13px;
2136
+ padding-bottom: 13px;
2137
+ min-width: 200px;
2064
2138
  }
2065
2139
 
2066
- .psui-el-table-results tbody tr td .actions-button {
2067
- cursor: pointer;
2068
- margin-left: 0.25rem;
2140
+ .psui-el-table-results.layout-comparison thead tr th .description {
2141
+ font-size: 12px;
2142
+ line-height: 130%;
2143
+ font-weight: 400;
2144
+ line-height: 110%;
2069
2145
  }
2070
2146
 
2071
- .psui-el-table-results tbody tr td .actions .is-last-deep {
2072
- padding-left: 2.5rem;
2147
+ .psui-el-table-results.layout-comparison thead tr:not(:first-of-type) th:after {
2148
+ position: absolute;
2149
+ top: 0;
2150
+ height: 100%;
2151
+ display: inline-block;
2152
+ --bg-opacity: 1;
2153
+ background-color: #D6DDE5;
2154
+ background-color: rgba(214, 221, 229, var(--bg-opacity));
2155
+ content: '';
2156
+ width: 1px;
2157
+ right: -1px;
2158
+ }
2159
+
2160
+ .psui-el-table-results.layout-comparison thead tr:first-of-type th {
2161
+ text-align: left;
2162
+ --text-opacity: 1;
2163
+ color: #798490;
2164
+ color: rgba(121, 132, 144, var(--text-opacity));
2165
+ font-size: 16px;
2166
+ line-height: 130%;
2167
+ padding-top: 11px;
2168
+ padding-bottom: 11px;
2073
2169
  }
2074
2170
 
2075
- .psui-el-table-results tbody tr td:not(:first-child) > div {
2076
- justify-content: flex-end;
2171
+ .psui-el-table-results.layout-comparison thead tr:first-of-type th:first-child {
2172
+ min-width: 240px;
2173
+ }
2174
+
2175
+ .psui-el-table-results.layout-comparison thead tr:first-of-type th:first-child .title {
2176
+ --text-opacity: 1;
2177
+ color: #28323B;
2178
+ color: rgba(40, 50, 59, var(--text-opacity));
2179
+ font-weight: 700;
2180
+ }
2181
+
2182
+ .psui-el-table-results.layout-comparison thead tr:first-of-type th:not(:first-child):before {
2183
+ content: '';
2184
+ display: inline-block;
2185
+ background: linear-gradient(180deg, #FFFFFF 0%, #E6ECF2 100%);
2186
+ border-radius: 12px 12px 0px 0px;
2187
+ position: absolute;
2188
+ top: 0; left: 0;
2189
+ width: 100%; height: 88px;
2190
+ }
2191
+
2192
+ .psui-el-table-results.layout-comparison thead tr:first-of-type p {
2193
+ font-size: 14px;
2194
+ line-height: 130%;
2195
+ line-height: 18px;
2077
2196
  }
2078
2197
 
2079
- .psui-el-table-results tbody tr td:first-child {
2080
- padding-left: 0;
2081
- padding-right: 0.5rem;
2082
- text-align: left;
2083
- display: block;
2198
+ .psui-el-table-results.layout-comparison thead tr:first-of-type p.title {
2199
+ --text-opacity: 1;
2200
+ color: #798490;
2201
+ color: rgba(121, 132, 144, var(--text-opacity));
2202
+ font-weight: 400;
2203
+ }
2204
+
2205
+ .psui-el-table-results.layout-comparison tbody tr td {
2084
2206
  background-color: #ffffff ;
2085
- position: sticky;
2086
- z-index: 10;
2087
- left: 0;
2088
- box-shadow: inset -1px 0px 0px #EBEEF0;
2089
- padding-top: 8px;
2090
- padding-bottom: 8px;
2207
+ position: relative;
2208
+ box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.03), 0px 1px 2px rgba(0, 0, 0, 0.1);
2091
2209
  }
2092
2210
 
2211
+ .psui-el-table-results.layout-comparison tbody tr td:after {
2212
+ top: 0;
2213
+ position: absolute;
2214
+ height: 100%;
2215
+ display: inline-block;
2216
+ content: '';
2217
+ width: 2px;
2218
+ right: -2px;
2219
+ background: rgb(214,221,229);
2220
+ background: linear-gradient(90deg, rgba(214,221,229,1) 50%, rgba(255,255,255,1) 50%);
2221
+ }
2222
+
2223
+ .psui-el-table-results.layout-comparison tbody tr td:first-child {
2224
+ padding-left: 0.75rem;
2225
+ border-top-left-radius: 0.375rem;
2226
+ border-bottom-left-radius: 0.375rem;
2227
+ }
2228
+
2229
+ .psui-el-table-results.layout-comparison tbody tr td:first-child:after {
2230
+ --bg-opacity: 1;
2231
+ background-color: #E6ECF2;
2232
+ background-color: rgba(230, 236, 242, var(--bg-opacity));
2233
+ background-image: none;
2234
+ }
2235
+
2236
+ .psui-el-table-results.layout-comparison tbody tr td .psui-truncate {
2237
+ width: 144px;
2238
+ }
2239
+
2093
2240
  .psui-el-checkbox {
2094
2241
  position: relative;
2095
2242
  --text-opacity: 1;
@@ -3696,6 +3843,14 @@ video {
3696
3843
  font-size: 18px;
3697
3844
  }
3698
3845
 
3846
+ .psui-el-draggable .psui-el-draggable-wrapper-title:hover .psui-el-draggable-wrapper-title-icon {
3847
+ visibility: visible;
3848
+ }
3849
+
3850
+ .psui-el-draggable .psui-el-draggable-wrapper-title-icon{
3851
+ visibility: hidden;
3852
+ }
3853
+
3699
3854
  .psui-el-draggable .psui-el-draggable-wrapper-list {
3700
3855
  width: 100%;
3701
3856
  display: flex;
@@ -3748,6 +3903,14 @@ video {
3748
3903
  color: #798490 !important;
3749
3904
  }
3750
3905
 
3906
+ .psui-el-draggable .psui-el-draggable-item-title:hover .psui-el-draggable-item-title-icon {
3907
+ visibility: visible;
3908
+ }
3909
+
3910
+ .psui-el-draggable .psui-el-draggable-item-title-icon{
3911
+ visibility: hidden;
3912
+ }
3913
+
3751
3914
  .psui-el-draggable .psui-el-draggable-item-append {
3752
3915
  display: flex;
3753
3916
  --text-opacity: 1;
@@ -20117,6 +20280,16 @@ html {
20117
20280
  opacity: 1 !important;
20118
20281
  }
20119
20282
 
20283
+ .psui-show-childrens-on-hover.absolute-childrens {
20284
+ position: relative;
20285
+ }
20286
+
20287
+ .psui-show-childrens-on-hover.absolute-childrens .helper {
20288
+ position: absolute;
20289
+ top: 0;
20290
+ right: -18px;
20291
+ }
20292
+
20120
20293
  .psui-transition {
20121
20294
  transition-property: all;
20122
20295
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -84,6 +84,15 @@ html {
84
84
  opacity: 1 !important;
85
85
  }
86
86
  }
87
+
88
+ &.absolute-childrens {
89
+ @apply psui-relative;
90
+
91
+ .helper {
92
+ @apply psui-absolute psui-top-0;
93
+ right: -18px;
94
+ }
95
+ }
87
96
  }
88
97
 
89
98
  .psui-transition {
@@ -19,6 +19,17 @@
19
19
  @apply psui-text-gray-40;
20
20
  font-size: 18px;
21
21
  }
22
+
23
+ &:hover{
24
+ .psui-el-draggable-wrapper-title-icon {
25
+ visibility: visible;
26
+ }
27
+ }
28
+
29
+ &-icon{
30
+ visibility: hidden;
31
+ }
32
+
22
33
  }
23
34
 
24
35
  &-list {
@@ -52,6 +63,15 @@
52
63
  }
53
64
  }
54
65
  }
66
+ &:hover{
67
+ .psui-el-draggable-item-title-icon {
68
+ visibility: visible;
69
+ }
70
+ }
71
+
72
+ &-icon{
73
+ visibility: hidden;
74
+ }
55
75
  }
56
76
 
57
77
  &-append {