@eturnity/eturnity_reusable_components 1.0.77 → 1.0.81
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)"
|
|
@@ -122,7 +122,7 @@ import SearchInput from "@eturnity/eturnity_reusable_components/src/components/i
|
|
|
122
122
|
const DropdownRow = styled.td``
|
|
123
123
|
|
|
124
124
|
const ComponentItem = styled.div`
|
|
125
|
-
padding-left: 12px;
|
|
125
|
+
/* padding-left: 12px; */
|
|
126
126
|
overflow: hidden;
|
|
127
127
|
text-overflow: ellipsis;
|
|
128
128
|
`
|
|
@@ -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 {
|
|
@@ -101,7 +109,7 @@ const TableContainer = styled.table`
|
|
|
101
109
|
}
|
|
102
110
|
|
|
103
111
|
td {
|
|
104
|
-
padding: 7px 15px;
|
|
112
|
+
padding: 7px 15px 7px 10px;
|
|
105
113
|
border-bottom: 1px solid ${(props) => props.theme.colors.grey4};
|
|
106
114
|
|
|
107
115
|
&.empty {
|