vanilla-vue-ui 0.0.9 → 0.0.10

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.
@@ -1,4 +1,3 @@
1
- <!-- eslint-disable vue/multi-word-component-names -->
2
1
  <template>
3
2
  <nav class="flex" aria-label="Breadcrumb">
4
3
  <ol role="list" class="flex items-center space-x-4">
@@ -10,9 +9,13 @@
10
9
  </a>
11
10
  </div>
12
11
  </li>
13
- <li v-for="page in pages" :key="page.name">
12
+ <li v-for="(page, index) in pages" :key="page.name">
14
13
  <div class="flex items-center">
15
- <ChevronRightIcon :class="mergedClasses.icon?.base" aria-hidden="true" />
14
+ <ChevronRightIcon
15
+ :class="mergedClasses.icon?.base"
16
+ v-if="index < pages.length - 1"
17
+ aria-hidden="true"
18
+ />
16
19
  <a
17
20
  :href="`${page.href}`"
18
21
  :class="mergedClasses.text?.base"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-vue-ui",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
@@ -0,0 +1,11 @@
1
+ <template>
2
+ <div>
3
+ <w-container class="py-8 md:py-10">
4
+ <slot />
5
+ </w-container>
6
+ </div>
7
+ </template>
8
+
9
+ <script setup lang="ts">
10
+ import WContainer from '../../basic/container/WContainer.vue';
11
+ </script>
@@ -0,0 +1,7 @@
1
+ <template>
2
+ <div class="my-10 text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">
3
+ <slot name="title" />
4
+ </div>
5
+
6
+ <slot />
7
+ </template>