@eturnity/eturnity_reusable_components 7.48.1 → 7.51.0

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.48.1",
3
+ "version": "7.51.0",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -10,7 +10,11 @@
10
10
  ref="tableRef"
11
11
  :is-position-absolute="doesTableContainDraggables"
12
12
  >
13
- <TableWrapper class="main-table-wrapper" :full-width="fullWidth">
13
+ <TableWrapper
14
+ class="main-table-wrapper"
15
+ :full-width="fullWidth"
16
+ :is-overflow-hidden="isOverflowHidden"
17
+ >
14
18
  <SpinnerWrapper v-if="isLoading">
15
19
  <Spinner />
16
20
  </SpinnerWrapper>
@@ -70,12 +74,12 @@
70
74
  `}
71
75
  `
72
76
 
73
- const wrapperAttrs = { fullWidth: Boolean }
77
+ const wrapperAttrs = { fullWidth: Boolean, isOverflowHidden: Boolean }
74
78
  const TableWrapper = styled('div', wrapperAttrs)`
75
79
  width: ${(props) => (props.fullWidth ? '100%' : 'fit-content')};
76
80
  max-width: 100%;
77
- overflow-x: auto;
78
- overflow-y: hidden;
81
+ ${(props) =>
82
+ props.isOverflowHidden ? 'overflow-x: auto; overflow-y: hidden;' : ''}
79
83
 
80
84
  ::-webkit-scrollbar {
81
85
  height: 10px; //height of the whole scrollbar area
@@ -409,6 +413,10 @@
409
413
  required: false,
410
414
  default: false,
411
415
  },
416
+ isOverflowHidden: {
417
+ required: false,
418
+ default: true,
419
+ },
412
420
  titleText: {
413
421
  required: false,
414
422
  default: null,