@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,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "1.1.8",
3
+ "version": "1.1.11",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -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: 5px 0 !important;
277
+ padding: 0px 0 !important;
273
278
  }
274
279
  }
275
280
  `
@@ -194,6 +194,10 @@ const TableContainer = styled.table`
194
194
  background-color: ${(props) => props.theme.colors.grey5};
195
195
  border-top: 1px solid ${(props) => props.theme.colors.grey4};
196
196
  }
197
+
198
+ .text {
199
+ cursor: auto !important;
200
+ }
197
201
  }
198
202
 
199
203
  .text {