paginar 0.3.1 → 0.3.2

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
@@ -4,7 +4,7 @@
4
4
  "description": "A flipping page web component for reading long texts on the brower",
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",
7
- "version": "0.3.1",
7
+ "version": "0.3.2",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/educkf/paginar.git"
@@ -19,10 +19,9 @@ async function getChapter(item) {
19
19
  <component v-for="item in summary" :is="item.link ? 'a' : 'button'" :key="item.link" :href="item.link"
20
20
  :title="`Navegar para capítulo ${item.title}`"
21
21
  class="w-full text-left block text-black py-2 px-3 hover:bg-gray-100 rounded mb-2"
22
- @click="item.file ? getChapter(item) : null"
23
- >
24
- <span class="item-title">{{ item.title }}</span>
25
- <span v-if="item.author">{{ item.author }}</span>
22
+ @click="item.file ? getChapter(item) : null">
23
+ <span class="summary-menu-dropdown-item-title">{{ item.title }}</span>
24
+ <span v-if="item.author" class="summary-menu-dropdown-item-author">{{ item.author }}</span>
26
25
  </component>
27
26
 
28
27
  <slot name="summaryBottom" />