adata-ui 3.1.3 → 3.1.5

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
@@ -5,7 +5,7 @@
5
5
  "nuxt": ">=3.16.0"
6
6
  },
7
7
  "failOnWarn": false,
8
- "version": "3.1.3",
8
+ "version": "3.1.5",
9
9
  "builder": {
10
10
  "@nuxt/module-builder": "1.0.1",
11
11
  "unbuild": "3.5.0"
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { NuxtLinkLocale } from "#components";
3
- const props = defineProps({
3
+ defineProps({
4
4
  icon: { type: null, required: true },
5
5
  title: { type: String, required: true },
6
6
  description: { type: String, required: true },
@@ -12,7 +12,7 @@ const props = defineProps({
12
12
  <component
13
13
  :is="to ? NuxtLinkLocale : 'button'"
14
14
  :to="to"
15
- class="curve-block relative w-fit cursor-pointer hidden md:block"
15
+ class="curve-block relative w-fit cursor-pointer z-10 block "
16
16
  active-class="active-item"
17
17
  >
18
18
  <svg
@@ -60,7 +60,7 @@ const props = defineProps({
60
60
  </defs>
61
61
  </svg>
62
62
 
63
- <div class="absolute left-6 top-6 flex flex-col gap-4 pr-6">
63
+ <div class="absolute left-6 top-6 flex flex-col gap-4 pr-6">
64
64
  <div class="flex items-center gap-2">
65
65
  <div class="rounded-sm bg-deepblue-900/5 dark:bg-gray-200/5 p-1">
66
66
  <component
@@ -72,7 +72,7 @@ const props = defineProps({
72
72
  {{ title }}
73
73
  </p>
74
74
  </div>
75
- <p class="text-sm text-gray-600 dark:text-gray-200">
75
+ <p class="text-sm text-gray-600 dark:text-gray-200 text-left">
76
76
  {{ description }}
77
77
  </p>
78
78
  </div>
@@ -141,30 +141,6 @@ const props = defineProps({
141
141
  </defs>
142
142
  </svg>
143
143
  </component>
144
-
145
- <!-- mobile -->
146
- <component
147
- :is="to ? NuxtLinkLocale : 'button'"
148
- :to="to"
149
- class="group cursor-pointer flex flex-col items-center gap-2 md:hidden"
150
- active-class="active-item"
151
- >
152
- <div
153
- class="p-2 w-fit rounded-lg transition-all bg-deepblue-900/5
154
- group-hover:bg-blue-700
155
- group-[.active-item]:bg-blue-700"
156
- >
157
- <component
158
- :is="icon"
159
- class="size-6 shrink-0 text-deepblue-900
160
- group-hover:text-white
161
- group-[.active-item]:text-white"
162
- />
163
- </div>
164
- <p>
165
- {{ title }}
166
- </p>
167
- </component>
168
144
  </template>
169
145
 
170
146
  <style scoped>
@@ -1,3 +1,4 @@
1
+ import type { Component } from 'vue';
1
2
  type __VLS_Props = {
2
3
  icon: Component;
3
4
  title: string;
@@ -91,7 +91,7 @@ onBeforeMount(() => {
91
91
  <slot name="mobile-right"></slot>
92
92
  </div>
93
93
  </div>
94
- <lang-switcher v-if="localize" class="lg:hidden"/>
94
+ <lang-switcher class="lg:hidden"/>
95
95
  <div class="text-deepblue hidden items-center gap-4 dark:text-[#E3E5E8] lg:flex">
96
96
  <!-- Mobile hidden -->
97
97
  <div class="hidden items-center gap-4 lg:flex">
@@ -104,7 +104,7 @@ onBeforeMount(() => {
104
104
  </div>
105
105
  <div class="flex items-center gap-4">
106
106
  <color-mode />
107
- <lang-switcher v-if="localize" />
107
+ <lang-switcher />
108
108
  </div>
109
109
 
110
110
 
@@ -0,0 +1,24 @@
1
+ <script setup>
2
+ import { useI18n } from "#imports";
3
+ const emit = defineEmits(["close"]);
4
+ const { t } = useI18n();
5
+ </script>
6
+
7
+ <template>
8
+ <div class="flex flex-col gap-5 items-center">
9
+ <p class="font-bold text-2xl text-center">
10
+ {{ t("modals.auth.title") }}
11
+ </p>
12
+ <i-modals-door class="size-30" />
13
+ <p class="text-sm text-center">
14
+ {{ t("modals.no_access.info") }}
15
+ </p>
16
+ <adt-button
17
+ view="outline"
18
+ class="w-full font-semibold"
19
+ @click="emit('close')"
20
+ >
21
+ {{ t("modals.buttons.close") }}
22
+ </adt-button>
23
+ </div>
24
+ </template>
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "3.1.3",
3
+ "version": "3.1.5",
4
4
  "description": "Adata UI",
5
5
  "repository": "your-org/my-module",
6
6
  "license": "MIT",