vanilla-vue-ui 0.0.17 → 0.0.19

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.
@@ -13,7 +13,6 @@
13
13
  <div class="flex items-center">
14
14
  <ChevronRightIcon
15
15
  :class="mergedClasses.icon?.base"
16
- v-if="index < filteredPages.length - 1"
17
16
  aria-hidden="true"
18
17
  />
19
18
  <a
@@ -74,7 +73,9 @@ const filteredPages = computed(() => pages.value.filter(p => p.name.length > 1))
74
73
  const router = useRouter();
75
74
  const route = useRoute();
76
75
 
77
- onMounted(set);
76
+ // onMounted(set);
77
+ set()
78
+
78
79
  watch(() => route.path, set);
79
80
 
80
81
  function set() {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="flex">
3
3
  <MinusIcon
4
- class="flex-none"
4
+ class="w-6 fill-current flex-none"
5
5
  :class="[
6
6
  mergedClasses.icon?.color
7
7
  ]"
@@ -28,6 +28,7 @@
28
28
  >
29
29
  </div>
30
30
  <PlusIcon
31
+ class="w-6 fill-current flex-none"
31
32
  :class="[
32
33
  mergedClasses.icon?.color,
33
34
  ]"
@@ -72,7 +72,7 @@ const defaultClasses: ClassObject = {
72
72
  content: {
73
73
  input: {
74
74
  base: 'block w-full resize-none border-0 placeholder:text-gray-400 focus:outline-none focus:ring-0',
75
- backgroundColor: 'bg-surface dark:bg-surface-dark',
75
+ backgroundColor: 'bg-white dark:bg-surfaceContainerLow-dark',
76
76
  color: 'text-onSurface dark:text-onSurface-dark'
77
77
  }
78
78
  }
@@ -26,25 +26,17 @@ export const Primary: Story = {
26
26
  components: { TextField },
27
27
  template: `
28
28
  <div class="p-4">
29
- <div class="mb-2"><TextField size="xs" value="John" :classes="classes"></TextField></div>
30
- <div class="mb-2"><TextField size="sm" value="John" :classes="classes"></TextField></div>
31
- <div class="mb-2"><TextField size="base" value="John" :classes="classes"></TextField></div>
32
- <div class="mb-2"><TextField size="lg" value="John" :classes="classes"></TextField></div>
33
- <div class="mb-2"><TextField size="2xl" value="John" :classes="classes"></TextField></div>
34
- <div class="mb-2"><TextField size="3xl" value="John" :classes="classes"></TextField></div>
35
- <div class="mb-2"><TextField size="6xl" value="John" :classes="classes"></TextField></div>
29
+ <div class="mb-2"><TextField size="xs" value="John"></TextField></div>
30
+ <div class="mb-2"><TextField size="sm" value="John"></TextField></div>
31
+ <div class="mb-2"><TextField size="base" value="John"></TextField></div>
32
+ <div class="mb-2"><TextField size="lg" value="John"></TextField></div>
33
+ <div class="mb-2"><TextField size="2xl" value="John"></TextField></div>
34
+ <div class="mb-2"><TextField size="3xl" value="John"></TextField></div>
35
+ <div class="mb-2"><TextField size="6xl" value="John"></TextField></div>
36
36
  </div>
37
37
  `,
38
38
  }),
39
39
  args: {
40
- classes: {
41
- content: {
42
- input: {
43
- color: 'text-onSurface dark:text-onSurface-dark',
44
- backgroundColor: 'bg-white dark:bg-surface-dark'
45
- }
46
- }
47
- }
48
40
  }
49
41
  };
50
42
 
@@ -84,13 +84,13 @@ const defaultClasses: ClassObject = {
84
84
  content: {
85
85
  input: {
86
86
  base: "block w-full border-0 p-0 placeholder:text-gray-400 sm:leading-6 focus:outline-none focus:ring-0",
87
- backgroundColor: 'bg-surface dark:bg-surface-dark',
87
+ backgroundColor: 'bg-white dark:bg-surfaceContainerLow-dark',
88
88
  color: 'text-onSurface dark:text-onSurface-dark'
89
89
  },
90
90
  },
91
91
  outline: {
92
92
  base: "rounded-md px-3 pb-1.5 pt-2.5 shadow-sm ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-primary dark:focus-within:ring-primary-dark",
93
- backgroundColor: 'bg-surface dark:bg-surface-dark',
93
+ backgroundColor: 'bg-white dark:bg-surfaceContainerLow-dark',
94
94
  },
95
95
  label: {
96
96
  base: "block text-xs font-medium text-onSurface dark:text-onSurface-dark"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-vue-ui",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [