@tekkare/auriga 0.1.156 → 0.1.157

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/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.1.156"
7
+ "version": "0.1.157"
8
8
  }
@@ -113,7 +113,7 @@
113
113
  :name="columnTypeNonProps[valIndex]"
114
114
  v-bind:value="value"
115
115
  ></slot>
116
- <div v-else-if="autoCrop === true" class="display_auto_crop">
116
+ <!-- <div v-else-if="autoCrop === true" class="display_auto_crop">
117
117
  <p
118
118
  :class="
119
119
  toggleCrop !== null &&
@@ -143,8 +143,8 @@
143
143
  : "Read more"
144
144
  : "Read more"
145
145
  }}
146
- </p>
147
- </div>
146
+ </p>
147
+ </div>-->
148
148
  <p v-else>
149
149
  {{ value }}
150
150
  </p>
@@ -669,21 +669,6 @@ export default defineComponent({
669
669
  showToggle.value = props.toggleDisplay;
670
670
  }
671
671
  onMounted(() => {
672
- setTimeout(() => {
673
- if (props.autoCrop) {
674
- hasReadMore.value = [];
675
- const textCells = document.querySelectorAll(".text_cell");
676
- textCells.forEach((cell) => {
677
- cell.classList.remove("crop_text");
678
- const fullHeight = cell.clientHeight;
679
- cell.classList.add("crop_text");
680
- const originalHeight = cell.clientHeight;
681
- if (fullHeight > originalHeight) {
682
- hasReadMore.value.push(cell.id);
683
- }
684
- });
685
- }
686
- }, 100);
687
672
  });
688
673
  function applyToggleCrop(index, value) {
689
674
  if (toggleCrop.value !== null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.156",
3
+ "version": "0.1.157",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",