@unsource/ui 2.2.1 → 2.2.3
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
package/dist/module.mjs
CHANGED
|
@@ -85,8 +85,6 @@ const module = defineNuxtModule({
|
|
|
85
85
|
});
|
|
86
86
|
addImportsDir(resolver2.resolve("runtime/composables"));
|
|
87
87
|
addPlugin(resolver2.resolve("runtime/plugins/toast.client"));
|
|
88
|
-
_nuxt.options.css.push("@unocss/reset/normalize.css");
|
|
89
|
-
_nuxt.options.css.push(resolver2.resolve("./runtime/assets/main.scss"));
|
|
90
88
|
}
|
|
91
89
|
});
|
|
92
90
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<p class="text-(sm gray-600)">
|
|
28
28
|
با ورود،
|
|
29
29
|
<NuxtLink
|
|
30
|
-
to="
|
|
30
|
+
:to="privacyLink"
|
|
31
31
|
target="_blank"
|
|
32
32
|
class="text-gra-900 font-bold underline"
|
|
33
33
|
>قوانین و
|
|
@@ -154,6 +154,7 @@ const {
|
|
|
154
154
|
otpPage = "login-otp",
|
|
155
155
|
type,
|
|
156
156
|
loginType = "password",
|
|
157
|
+
privacyLink = "/terms",
|
|
157
158
|
userParams = {}
|
|
158
159
|
} = defineProps({
|
|
159
160
|
logo: { type: String, required: false },
|
|
@@ -170,6 +171,7 @@ const {
|
|
|
170
171
|
loginPage: { type: String, required: false },
|
|
171
172
|
registerPage: { type: String, required: false },
|
|
172
173
|
passLoginPage: { type: String, required: false },
|
|
174
|
+
privacyLink: { type: String, required: false },
|
|
173
175
|
successLoginAlert: { type: String, required: false },
|
|
174
176
|
title: { type: String, required: false },
|
|
175
177
|
buttonTitle: { type: String, required: false },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unsource/ui",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "nuxt ui kit for unsource env",
|
|
6
6
|
"repository": "https://github.com/alisa2142/unsource-ui",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/types.d.mts",
|
|
12
12
|
"import": "./dist/module.mjs"
|
|
13
|
-
}
|
|
13
|
+
},
|
|
14
|
+
"./*": "./*"
|
|
14
15
|
},
|
|
15
16
|
"main": "./dist/module.mjs",
|
|
16
17
|
"typesVersions": {
|
|
@@ -21,7 +22,8 @@
|
|
|
21
22
|
}
|
|
22
23
|
},
|
|
23
24
|
"files": [
|
|
24
|
-
"dist"
|
|
25
|
+
"dist",
|
|
26
|
+
"**/*.css"
|
|
25
27
|
],
|
|
26
28
|
"scripts": {
|
|
27
29
|
"prepack": "nuxt-module-build build",
|