nuxt-glorious 2.0.0-develop-16 → 2.0.0-develop-18

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,5 +1,5 @@
1
1
  {
2
2
  "name": "nuxt-glorious",
3
3
  "configKey": "glorious",
4
- "version": "2.0.0-develop-16"
4
+ "version": "2.0.0-develop-18"
5
5
  }
@@ -10,12 +10,12 @@ const props: any = defineProps(_props)
10
10
  <div
11
11
  class="glorious-loading"
12
12
  :style="{
13
- width: `${getAttribute(props.size, 'icon', 'size')}px`,
13
+ width: `${getAttribute(props.size, 'loading', 'size')}px`,
14
14
  border: `${getAttribute(
15
15
  props.stroke,
16
16
  'icon',
17
17
  'stroke'
18
- )}px solid ${getAttribute(props.color, 'icon', 'color')}`,
18
+ )}px solid ${getAttribute(props.color, 'loading', 'color')}`,
19
19
  }"
20
20
  />
21
21
  </div>
@@ -19,11 +19,6 @@ declare const _default: {
19
19
  default: boolean;
20
20
  type: BooleanConstructor;
21
21
  };
22
- loadingColor: {
23
- required: boolean;
24
- default: boolean;
25
- type: () => import("../../../types").colors;
26
- };
27
22
  loadingOption: {
28
23
  required: boolean;
29
24
  default: {
@@ -34,11 +34,6 @@ declare const _default: {
34
34
  default: boolean;
35
35
  type: BooleanConstructor;
36
36
  };
37
- loadingColor: {
38
- required: boolean;
39
- default: boolean;
40
- type: () => import("../../../types").colors;
41
- };
42
37
  loadingOption: {
43
38
  required: boolean;
44
39
  default: {
@@ -26,15 +26,15 @@ declare const _default: {
26
26
  default: string;
27
27
  type: StringConstructor;
28
28
  };
29
- loading: {
29
+ loadingColor: {
30
30
  required: boolean;
31
31
  default: boolean;
32
- type: BooleanConstructor;
32
+ type: () => import("../../../types").colors | string;
33
33
  };
34
- loadingColor: {
34
+ loading: {
35
35
  required: boolean;
36
36
  default: boolean;
37
- type: () => import("../../../types").colors;
37
+ type: BooleanConstructor;
38
38
  };
39
39
  loadingOption: {
40
40
  required: boolean;
@@ -1,7 +1,8 @@
1
- import { color, loading } from "./common/index.mjs";
1
+ import { color, loading, loadingColor } from "./common/index.mjs";
2
2
  export default {
3
3
  ...color(),
4
4
  ...loading,
5
+ ...loadingColor,
5
6
  header: {
6
7
  required: true,
7
8
  type: Object
@@ -33,11 +33,6 @@ export declare const loading: {
33
33
  default: boolean;
34
34
  type: BooleanConstructor;
35
35
  };
36
- loadingColor: {
37
- required: boolean;
38
- default: boolean;
39
- type: () => colors;
40
- };
41
36
  loadingOption: {
42
37
  required: boolean;
43
38
  default: {
@@ -48,6 +43,13 @@ export declare const loading: {
48
43
  };
49
44
  };
50
45
  };
46
+ export declare const loadingColor: {
47
+ loadingColor: {
48
+ required: boolean;
49
+ default: boolean;
50
+ type: () => colors | string;
51
+ };
52
+ };
51
53
  export declare const to: {
52
54
  to: {
53
55
  required: boolean;
@@ -32,11 +32,6 @@ export const loading = {
32
32
  default: false,
33
33
  type: Boolean
34
34
  },
35
- loadingColor: {
36
- required: false,
37
- default: false,
38
- type: String
39
- },
40
35
  loadingOption: {
41
36
  required: false,
42
37
  default: {
@@ -47,6 +42,13 @@ export const loading = {
47
42
  }
48
43
  }
49
44
  };
45
+ export const loadingColor = {
46
+ loadingColor: {
47
+ required: false,
48
+ default: false,
49
+ type: String
50
+ }
51
+ };
50
52
  export const to = {
51
53
  to: {
52
54
  required: false,
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.0-develop-16",
2
+ "version": "2.0.0-develop-18",
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",