nuxt-glorious 2.0.0-develop-15 → 2.0.0-develop-17

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-15"
4
+ "version": "2.0.0-develop-17"
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>
@@ -49,7 +49,9 @@ const props = defineProps(_props)
49
49
  v-if="getAttribute(props.loading, 'table', 'loading')"
50
50
  class="flex justify-center mt-3"
51
51
  >
52
- <GLoading :color="getAttribute(props.loading, 'table', 'loading')" />
52
+ <GLoading
53
+ :color="getAttribute(props.loadingColor, 'table', 'loadingColor')"
54
+ />
53
55
  </div>
54
56
  <div
55
57
  class="flex justify-center mt-3"
@@ -19,6 +19,11 @@ 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
+ };
22
27
  loadingOption: {
23
28
  required: boolean;
24
29
  default: {
@@ -34,6 +34,11 @@ 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
+ };
37
42
  loadingOption: {
38
43
  required: boolean;
39
44
  default: {
@@ -31,6 +31,11 @@ declare const _default: {
31
31
  default: boolean;
32
32
  type: BooleanConstructor;
33
33
  };
34
+ loadingColor: {
35
+ required: boolean;
36
+ default: boolean;
37
+ type: () => import("../../../types").colors;
38
+ };
34
39
  loadingOption: {
35
40
  required: boolean;
36
41
  default: {
@@ -33,6 +33,11 @@ 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
+ };
36
41
  loadingOption: {
37
42
  required: boolean;
38
43
  default: {
@@ -32,6 +32,11 @@ 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
+ },
35
40
  loadingOption: {
36
41
  required: false,
37
42
  default: {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.0-develop-15",
2
+ "version": "2.0.0-develop-17",
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",