nuxt-glorious 1.2.3-0 → 1.2.3-1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "glorious",
3
3
  "configKey": "glorious",
4
- "version": "1.2.3-0"
4
+ "version": "1.2.3-1"
5
5
  }
@@ -91,7 +91,7 @@
91
91
  }
92
92
 
93
93
  .glorious-input-options {
94
- @apply p-1 shadow-lg absolute w-full bg-white rounded border-gray-200 border max-h-[200px] overflow-y-auto;
94
+ @apply p-1 shadow-lg absolute w-full bg-white rounded border-gray-200 border max-h-[200px] overflow-y-auto z-40;
95
95
  }
96
96
  .glorious-input-options > div {
97
97
  @apply py-2 hover:bg-gray-100 cursor-pointer rounded px-2;
@@ -208,7 +208,8 @@ const typeInput = ref(props.type)
208
208
 
209
209
  const inputClicked = (event: any) => {
210
210
  if (props.mode === 'tag' && props.options) {
211
- console.log(event.currentTarget.parentElement.children)
211
+ const gio = document.querySelectorAll('.glorious-input-options')
212
+ gio.forEach((element: any) => element.classList.add('hidden'))
212
213
 
213
214
  const optionsElement = event.currentTarget.parentElement.children[1]
214
215
  if (optionsElement.classList.contains('hidden'))
@@ -258,7 +259,7 @@ const inputClicked = (event: any) => {
258
259
 
259
260
  <div
260
261
  v-if="props.options.length > 0"
261
- class="glorious-input-options"
262
+ class="glorious-input-options hidden"
262
263
  :class="[`size-${props.size}`]"
263
264
  >
264
265
  <div v-if="props.loadingOptions" class="flex justify-center">
@@ -391,7 +392,7 @@ const inputClicked = (event: any) => {
391
392
  }
392
393
 
393
394
  .glorious-input-options {
394
- @apply p-1 shadow-lg absolute w-full bg-white rounded border-gray-200 border max-h-[200px] overflow-y-auto;
395
+ @apply p-1 shadow-lg absolute w-full bg-white rounded border-gray-200 border max-h-[200px] overflow-y-auto z-40;
395
396
  }
396
397
  .glorious-input-options > div {
397
398
  @apply py-2 hover:bg-gray-100 cursor-pointer rounded px-2;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.3-0",
2
+ "version": "1.2.3-1",
3
3
  "name": "nuxt-glorious",
4
4
  "description": "This package provides many things needed by a project, including server requests and authentication, SEO and other requirements of a project.",
5
5
  "repository": "sajadhzj/nuxt-glorious",