@eturnity/eturnity_reusable_components 1.0.78 → 1.0.82
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.
package/package.json
CHANGED
|
@@ -104,9 +104,7 @@ const InputContainer = styled("input", inputProps)`
|
|
|
104
104
|
props.isError ? props.theme.colors.red : props.theme.colors.black};
|
|
105
105
|
width: ${(props) => (props.inputWidth ? props.inputWidth : "100%")};
|
|
106
106
|
background-color: ${(props) =>
|
|
107
|
-
props.isDisabled
|
|
108
|
-
? props.theme.colors.grey5 + " !important"
|
|
109
|
-
: "#fff !important"};
|
|
107
|
+
props.isDisabled ? props.theme.colors.grey5 : "#fff"};
|
|
110
108
|
box-sizing: border-box;
|
|
111
109
|
|
|
112
110
|
&::placeholder {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<dropdown-row :colspan="colSpan" @click="toggleOpen" ref="dropdownItem">
|
|
3
|
-
<component-container :colSpan="colSpan">
|
|
3
|
+
<component-container :colSpan="colSpan" class="table-dropdown">
|
|
4
4
|
<component-item v-for="(item, index) in tableItems" :key="index">
|
|
5
5
|
<template-button
|
|
6
6
|
@click.stop="onTemplateClick(item.row)"
|
|
@@ -78,8 +78,16 @@ const TableContainer = styled.table`
|
|
|
78
78
|
tbody {
|
|
79
79
|
tr {
|
|
80
80
|
&:hover {
|
|
81
|
-
background-color: ${(props) => props.theme.colors.
|
|
81
|
+
background-color: ${(props) => props.theme.colors.white};
|
|
82
82
|
cursor: pointer;
|
|
83
|
+
|
|
84
|
+
.table-dropdown {
|
|
85
|
+
background-color: ${(props) => props.theme.colors.grey5} !important;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
input {
|
|
89
|
+
background-color: ${(props) => props.theme.colors.grey5} !important;
|
|
90
|
+
}
|
|
83
91
|
}
|
|
84
92
|
|
|
85
93
|
td {
|
|
@@ -233,6 +241,10 @@ const TableContainer = styled.table`
|
|
|
233
241
|
visibility: visible;
|
|
234
242
|
}
|
|
235
243
|
|
|
244
|
+
.drag-wrapper {
|
|
245
|
+
background-color: ${(props) => props.theme.colors.grey5};
|
|
246
|
+
}
|
|
247
|
+
|
|
236
248
|
.arrow-dropdown {
|
|
237
249
|
visibility: visible;
|
|
238
250
|
}
|
|
@@ -240,8 +252,22 @@ const TableContainer = styled.table`
|
|
|
240
252
|
|
|
241
253
|
.drag-container {
|
|
242
254
|
display: table-cell;
|
|
243
|
-
width:
|
|
255
|
+
width: 20px;
|
|
256
|
+
min-width: 20px;
|
|
257
|
+
height: 40px;
|
|
244
258
|
vertical-align: middle;
|
|
259
|
+
display: grid;
|
|
260
|
+
align-items: center;
|
|
261
|
+
justify-items: center;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.drag-wrapper {
|
|
265
|
+
width: 16px;
|
|
266
|
+
height: 36px;
|
|
267
|
+
display: grid;
|
|
268
|
+
align-items: center;
|
|
269
|
+
justify-items: center;
|
|
270
|
+
border-radius: 4px;
|
|
245
271
|
}
|
|
246
272
|
|
|
247
273
|
.drag-icon {
|