@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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unsource-ui",
3
3
  "configKey": "unsourceUi",
4
- "version": "2.2.1",
4
+ "version": "2.2.3",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
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
 
@@ -13,6 +13,7 @@ type Props = {
13
13
  loginPage?: string;
14
14
  registerPage?: string;
15
15
  passLoginPage?: string;
16
+ privacyLink?: string;
16
17
  successLoginAlert?: string;
17
18
  title?: string;
18
19
  buttonTitle?: string;
@@ -27,7 +27,7 @@
27
27
  <p class="text-(sm gray-600)">
28
28
  با ورود،
29
29
  <NuxtLink
30
- to="https://parand.app/terms"
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 },
@@ -13,6 +13,7 @@ type Props = {
13
13
  loginPage?: string;
14
14
  registerPage?: string;
15
15
  passLoginPage?: string;
16
+ privacyLink?: string;
16
17
  successLoginAlert?: string;
17
18
  title?: string;
18
19
  buttonTitle?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsource/ui",
3
- "version": "2.2.1",
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",