@eturnity/eturnity_reusable_components 1.0.94 → 1.0.97

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.0.94",
3
+ "version": "1.0.97",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -1,5 +1,10 @@
1
1
  <template>
2
- <dropdown-row :colspan="colSpan" @click="toggleOpen" ref="dropdownItem">
2
+ <dropdown-row
3
+ :colspan="colSpan"
4
+ @click="toggleOpen"
5
+ ref="dropdownItem"
6
+ :disabled="disabled"
7
+ >
3
8
  <component-container :colSpan="colSpan" class="table-dropdown">
4
9
  <component-item v-for="(item, index) in tableItems" :key="index">
5
10
  <template-button
@@ -122,7 +127,7 @@ import SearchInput from "@eturnity/eturnity_reusable_components/src/components/i
122
127
 
123
128
  const rowAttrs = { disabled: Boolean }
124
129
  const DropdownRow = styled("td", rowAttrs)`
125
- cursor: ${(props) => (props.disabled ? "not-allowed" : "auto")};
130
+ cursor: ${(props) => (props.disabled ? "not-allowed" : "pointer")};
126
131
  `
127
132
 
128
133
  const ComponentItem = styled.div`
@@ -180,7 +180,7 @@ const TableContainer = styled.table`
180
180
 
181
181
  tr {
182
182
  &.disabled {
183
- cursor: not-allowed;
183
+ cursor: not-allowed !important;
184
184
  }
185
185
 
186
186
  .arrow-dropdown {
@@ -197,7 +197,7 @@ const TableContainer = styled.table`
197
197
  .text {
198
198
  padding: 10px 15px 10px 15px;
199
199
  color: ${(props) => props.theme.colors.black};
200
- cursor: auto;
200
+ cursor: pointer;
201
201
  }
202
202
 
203
203
  .bold {