@eturnity/eturnity_reusable_components 7.24.3-EPDM-7509.3 → 7.24.3-EPDM-10926.1

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": "7.24.3-EPDM-7509.3",
3
+ "version": "7.24.3-EPDM-10926.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -0,0 +1,6 @@
1
+ <svg width="16" height="16" viewBox="12 12 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M20 13L27 16.8175L26.0477 18.4379L20 15.1397L13.9523 18.4379L13 16.8175L20 13Z" fill="#263238"/>
3
+ <path d="M17.1006 19.1906L20.0001 17.6078L22.8996 19.1906" stroke="#263238" stroke-width="2"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M20 21.5621L22.6508 23.0078L21.6985 24.6282L20 23.7019L18.3015 24.6282L17.3492 23.0078L20 21.5621ZM16.1269 25.8141L13.9523 27L13 25.3797L15.1746 24.1937L16.1269 25.8141ZM26.0477 27L23.8731 25.8141L24.8254 24.1937L27 25.3797L26.0477 27Z" fill="#263238"/>
5
+ <path d="M20.9662 22.9146H19.0332L19.0332 18.2928H20.9662L20.9662 22.9146Z" fill="#263238"/>
6
+ </svg>
@@ -18,8 +18,6 @@
18
18
  v-else
19
19
  :cellPaddings="cellPaddings"
20
20
  :tableCursor="tableCursor"
21
- @mouseover="setHovers($event)"
22
- @mouseleave="removeHoverClass"
23
21
  >
24
22
  <slot />
25
23
  </table-container>
@@ -124,7 +122,7 @@ const TableContainer = styled('table', containerAttrs)`
124
122
 
125
123
  tbody {
126
124
  tr {
127
- &:hover, td.hovered-column {
125
+ &:hover {
128
126
  background-color: ${(props) => props.theme.colors.white};
129
127
  cursor: ${(props) => (props.tableCursor ? props.tableCursor : 'auto')};
130
128
 
@@ -427,37 +425,6 @@ export default {
427
425
  }
428
426
  },
429
427
  methods: {
430
- removeHoverClass() {
431
- const hoveredItems = document.querySelectorAll('.hovered-column')
432
- hoveredItems.forEach((el) => {
433
- el.classList.remove('hovered-column')
434
- })
435
- },
436
- setHovers(event) {
437
- this.removeHoverClass()
438
- if (event.target.tagName !== 'TABLE') {
439
- let hoveredCell = event.target
440
-
441
- if (hoveredCell.tagName !== 'TD') {
442
- let currentParentElement = hoveredCell.parentElement
443
- while (currentParentElement.tagName !== 'TR') {
444
- if (currentParentElement.tagName === 'TD') hoveredCell = currentParentElement
445
- currentParentElement = currentParentElement.parentElement
446
- }
447
- }
448
-
449
- if (hoveredCell) {
450
- const rowChildren = Array.from(hoveredCell.parentElement.children)
451
- const rowList = Array.from(document.querySelectorAll('tr'))
452
- rowList.forEach((el) => {
453
- const cells = Array.from(el.children)
454
- if (cells[rowChildren.indexOf(hoveredCell)]) {
455
- cells[rowChildren.indexOf(hoveredCell)].classList.add('hovered-column')
456
- }
457
- })
458
- }
459
- }
460
- },
461
428
  observeTableHeight() {
462
429
  if (!this.$refs.tableRef) return
463
430