@eturnity/eturnity_reusable_components 1.1.8 → 1.1.11
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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<dropdown-row
|
|
3
3
|
:colspan="colSpan"
|
|
4
|
+
:isOpen="isOpen"
|
|
4
5
|
@click="toggleOpen"
|
|
5
6
|
ref="dropdownItem"
|
|
6
7
|
:disabled="disabled"
|
|
@@ -143,9 +144,13 @@ import Spinner from "@eturnity/eturnity_reusable_components/src/components/spinn
|
|
|
143
144
|
import SearchInput from "@eturnity/eturnity_reusable_components/src/components/inputs/searchInput"
|
|
144
145
|
import InputText from "@eturnity/eturnity_reusable_components/src/components/inputs/inputText"
|
|
145
146
|
|
|
146
|
-
const rowAttrs = { disabled: Boolean }
|
|
147
|
+
const rowAttrs = { disabled: Boolean, isOpen: Boolean }
|
|
147
148
|
const DropdownRow = styled("td", rowAttrs)`
|
|
148
149
|
cursor: ${(props) => (props.disabled ? "not-allowed" : "pointer")};
|
|
150
|
+
|
|
151
|
+
input {
|
|
152
|
+
cursor: ${(props) => (!props.isOpen ? "pointer !important" : "inherit")};
|
|
153
|
+
}
|
|
149
154
|
`
|
|
150
155
|
|
|
151
156
|
const ComponentItem = styled.div`
|
|
@@ -269,7 +274,7 @@ const InputContainer = styled.div`
|
|
|
269
274
|
}
|
|
270
275
|
|
|
271
276
|
&:hover {
|
|
272
|
-
padding:
|
|
277
|
+
padding: 0px 0 !important;
|
|
273
278
|
}
|
|
274
279
|
}
|
|
275
280
|
`
|