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

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,168 +1927,362 @@ 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;
2003
+ }
2004
+
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
+ }
2015
+
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;
2014
2020
  }
2015
2021
 
2016
- .psui-el-table-results thead tr:first-of-type p {
2017
- font-size: 16px;
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;
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;
2018
2049
  line-height: 130%;
2019
- line-height: 18px;
2050
+ padding-top: 11px;
2051
+ padding-bottom: 11px;
2020
2052
  }
2021
2053
 
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));
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;
2100
+ }
2101
+
2102
+ .psui-el-table-results.layout-comparison thead {
2103
+ background-color: transparent;
2104
+ align-items: flex-start;
2027
2105
  }
2028
2106
 
2029
- .psui-el-table-results tbody tr.is-first .title {
2107
+ .psui-el-table-results.layout-comparison thead div {
2108
+ position: relative;
2109
+ }
2110
+
2111
+ .psui-el-table-results.layout-comparison thead tr .title {
2112
+ font-size: 14px;
2113
+ line-height: 130%;
2030
2114
  font-weight: 700;
2115
+ line-height: 1rem;
2031
2116
  --text-opacity: 1;
2032
2117
  color: #28323B;
2033
2118
  color: rgba(40, 50, 59, var(--text-opacity));
2034
2119
  }
2035
2120
 
2036
- .psui-el-table-results tbody tr .title {
2037
- display: flex;
2038
- align-items: center;
2039
- }
2121
+ .psui-el-table-results.layout-comparison thead tr th {
2122
+ padding-left: 1.5rem;
2123
+ padding-right: 1.5rem;
2124
+ padding-top: 1rem;
2125
+ padding-bottom: 1rem;
2126
+ --text-opacity: 1;
2127
+ color: #798490;
2128
+ color: rgba(121, 132, 144, var(--text-opacity));
2129
+ text-align: center;
2130
+ vertical-align: top;
2131
+ padding-top: 13px;
2132
+ padding-bottom: 13px;
2133
+ min-width: 200px;
2134
+ }
2040
2135
 
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;
2052
- }
2136
+ .psui-el-table-results.layout-comparison thead tr th .description {
2137
+ font-size: 12px;
2138
+ line-height: 130%;
2139
+ font-weight: 400;
2140
+ line-height: 110%;
2141
+ }
2053
2142
 
2054
- .psui-el-table-results tbody tr td > div {
2055
- display: flex;
2056
- align-items: center;
2057
- }
2143
+ .psui-el-table-results.layout-comparison thead tr:not(:first-of-type) th:after {
2144
+ position: absolute;
2145
+ top: 0;
2146
+ height: 100%;
2147
+ display: inline-block;
2148
+ --bg-opacity: 1;
2149
+ background-color: #D6DDE5;
2150
+ background-color: rgba(214, 221, 229, var(--bg-opacity));
2151
+ width: 1px;
2152
+ content: '';
2153
+ right: -1px;
2154
+ }
2058
2155
 
2059
- .psui-el-table-results tbody tr td .actions {
2060
- display: flex;
2061
- align-items: center;
2062
- height: 100%;
2156
+ .psui-el-table-results.layout-comparison thead tr:first-of-type th {
2157
+ text-align: left;
2158
+ --text-opacity: 1;
2159
+ color: #798490;
2160
+ color: rgba(121, 132, 144, var(--text-opacity));
2161
+ font-size: 16px;
2162
+ line-height: 130%;
2163
+ padding-top: 11px;
2164
+ padding-bottom: 11px;
2165
+ }
2166
+
2167
+ .psui-el-table-results.layout-comparison thead tr:first-of-type th:first-child {
2168
+ padding-left: 0;
2169
+ padding-top: 1rem;
2170
+ min-width: 240px;
2171
+ }
2172
+
2173
+ .psui-el-table-results.layout-comparison thead tr:first-of-type th:first-child .title {
2174
+ --text-opacity: 1;
2175
+ color: #28323B;
2176
+ color: rgba(40, 50, 59, var(--text-opacity));
2177
+ font-weight: 700;
2178
+ }
2179
+
2180
+ .psui-el-table-results.layout-comparison thead tr:first-of-type th:not(:first-child):before {
2181
+ display: inline-block;
2182
+ position: absolute;
2183
+ top: 0;
2184
+ left: 0;
2185
+ width: 100%;
2186
+ content: '';
2187
+ background: linear-gradient(180deg, #FFFFFF 0%, #E6ECF2 100%);
2188
+ border-radius: 12px 12px 0px 0px;
2189
+ height: 5.5rem;
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;
2196
+ }
2197
+
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 {
2206
+ background-color: #ffffff ;
2063
2207
  position: relative;
2208
+ box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.03), 0px 1px 2px rgba(0, 0, 0, 0.1);
2064
2209
  }
2065
2210
 
2066
- .psui-el-table-results tbody tr td .actions-button {
2067
- cursor: pointer;
2211
+ .psui-el-table-results.layout-comparison tbody tr td .title {
2212
+ font-size: 14px;
2213
+ line-height: 130%;
2214
+ --text-opacity: 1;
2215
+ color: #28323B;
2216
+ color: rgba(40, 50, 59, var(--text-opacity));
2217
+ font-weight: 700;
2218
+ overflow: hidden;
2219
+ text-overflow: ellipsis;
2220
+ white-space: nowrap;
2221
+ line-height: 1;
2068
2222
  margin-left: 0.25rem;
2223
+ width: 144px;
2069
2224
  }
2070
2225
 
2071
- .psui-el-table-results tbody tr td .actions .is-last-deep {
2072
- padding-left: 2.5rem;
2226
+ .psui-el-table-results.layout-comparison tbody tr td .badge {
2227
+ display: flex;
2228
+ align-items: center;
2229
+ justify-content: center;
2230
+ border-radius: 0.25rem;
2231
+ height: 1.5rem;
2232
+ width: 28px;
2233
+ background-color: #D3EFDE;
2073
2234
  }
2074
2235
 
2075
- .psui-el-table-results tbody tr td:not(:first-child) > div {
2076
- justify-content: flex-end;
2236
+ .psui-el-table-results.layout-comparison tbody tr td:before {
2237
+ display: inline-block;
2238
+ position: absolute;
2239
+ width: 100%;
2240
+ height: 0.5rem;
2241
+ background-color: #ffffff ;
2242
+ left: 0;
2243
+ content: '';
2244
+ top: -8px;
2077
2245
  }
2078
2246
 
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;
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
- }
2247
+ .psui-el-table-results.layout-comparison tbody tr td:after {
2248
+ top: 0;
2249
+ position: absolute;
2250
+ height: 100%;
2251
+ display: inline-block;
2252
+ --bg-opacity: 1;
2253
+ background-color: #E0EFF6;
2254
+ background-color: rgba(224, 239, 246, var(--bg-opacity));
2255
+ content: '';
2256
+ width: 2px;
2257
+ right: -2px;
2258
+ background: linear-gradient(90deg, rgba(214,221,229,1) 50%, rgba(255,255,255,1) 50%);
2259
+ }
2260
+
2261
+ .psui-el-table-results.layout-comparison tbody tr td:first-child {
2262
+ padding-left: 0.75rem;
2263
+ padding-right: 0.75rem;
2264
+ border-top-left-radius: 0.375rem;
2265
+ border-bottom-left-radius: 0.375rem;
2266
+ }
2267
+
2268
+ .psui-el-table-results.layout-comparison tbody tr td:first-child:after {
2269
+ --bg-opacity: 1;
2270
+ background-color: #E6ECF2;
2271
+ background-color: rgba(230, 236, 242, var(--bg-opacity));
2272
+ background-image: none;
2273
+ }
2274
+
2275
+ .psui-el-table-results.layout-comparison tbody tr.is-first td:before {
2276
+ display: none;
2277
+ }
2278
+
2279
+ .psui-el-table-results.layout-comparison tbody tr.is-first.opened td:first-child {
2280
+ border-bottom-left-radius: 0;
2281
+ }
2282
+
2283
+ .psui-el-table-results.layout-comparison tbody tr:not(.is-first) td:first-child {
2284
+ border-top-left-radius: 0;
2285
+ }
2092
2286
 
2093
2287
  .psui-el-checkbox {
2094
2288
  position: relative;
@@ -3696,6 +3890,14 @@ video {
3696
3890
  font-size: 18px;
3697
3891
  }
3698
3892
 
3893
+ .psui-el-draggable .psui-el-draggable-wrapper-title:hover .psui-el-draggable-wrapper-title-icon {
3894
+ visibility: visible;
3895
+ }
3896
+
3897
+ .psui-el-draggable .psui-el-draggable-wrapper-title-icon{
3898
+ visibility: hidden;
3899
+ }
3900
+
3699
3901
  .psui-el-draggable .psui-el-draggable-wrapper-list {
3700
3902
  width: 100%;
3701
3903
  display: flex;
@@ -3748,6 +3950,14 @@ video {
3748
3950
  color: #798490 !important;
3749
3951
  }
3750
3952
 
3953
+ .psui-el-draggable .psui-el-draggable-item-title:hover .psui-el-draggable-item-title-icon {
3954
+ visibility: visible;
3955
+ }
3956
+
3957
+ .psui-el-draggable .psui-el-draggable-item-title-icon{
3958
+ visibility: hidden;
3959
+ }
3960
+
3751
3961
  .psui-el-draggable .psui-el-draggable-item-append {
3752
3962
  display: flex;
3753
3963
  --text-opacity: 1;
@@ -20117,6 +20327,16 @@ html {
20117
20327
  opacity: 1 !important;
20118
20328
  }
20119
20329
 
20330
+ .psui-show-childrens-on-hover.absolute-childrens {
20331
+ position: relative;
20332
+ }
20333
+
20334
+ .psui-show-childrens-on-hover.absolute-childrens .helper {
20335
+ position: absolute;
20336
+ top: 0;
20337
+ right: -18px;
20338
+ }
20339
+
20120
20340
  .psui-transition {
20121
20341
  transition-property: all;
20122
20342
  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.8",
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 {