@tekkare/auriga 0.1.169 → 0.1.171

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.169"
7
+ "version": "0.1.171"
8
8
  }
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <div :class="haveReadMore && needsMore ? 'crop_display' : ''">
3
- <p
4
- :class="crop ? (showMore ? '' : 'crop') : ''"
3
+ <div
4
+ :class="crop && !showMore ? 'crop' : ''"
5
5
  :id="id"
6
- :style="crop ? (showMore ? '' : `-webkit-line-clamp: ${lines}`) : ''"
6
+ :style="crop && !showMore ? `-webkit-line-clamp: ${lines}` : ''"
7
7
  v-html="renderText"
8
- />
8
+ ></div>
9
9
  <arg-text-btn v-if="crop && haveReadMore && needsMore" @click="toggleMore">
10
10
  {{
11
11
  customReadMore !== null
@@ -208,6 +208,7 @@ export default defineComponent({
208
208
  onMounted(() => {
209
209
  indic.value = document.getElementById(props.id);
210
210
  });
211
+
211
212
  return {
212
213
  showMore,
213
214
  needsMore,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.169",
3
+ "version": "0.1.171",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",