nuxt-glorious 1.2.1-0 → 1.2.1-1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "glorious",
3
3
  "configKey": "glorious",
4
- "version": "1.2.1-0"
4
+ "version": "1.2.1-1"
5
5
  }
@@ -0,0 +1,54 @@
1
+ .glorious-avatar.size-5xl {
2
+ @apply w-[64px] h-[64px];
3
+ }
4
+ .glorious-avatar.size-5xl > img {
5
+ @apply w-[64px] h-[64px];
6
+ }
7
+ .glorious-avatar.size-4xl {
8
+ @apply w-[60px] h-[60px];
9
+ }
10
+ .glorious-avatar.size-4xl > img {
11
+ @apply w-[60px] h-[60px];
12
+ }
13
+ .glorious-avatar.size-3xl {
14
+ @apply w-[56px] h-[56px];
15
+ }
16
+ .glorious-avatar.size-3xl > img {
17
+ @apply w-[56px] h-[56px];
18
+ }
19
+ .glorious-avatar.size-2xl {
20
+ @apply w-[52px] h-[52px];
21
+ }
22
+ .glorious-avatar.size-2xl > img {
23
+ @apply w-[52px] h-[52px];
24
+ }
25
+ .glorious-avatar.size-xl {
26
+ @apply w-[48px] h-[48px];
27
+ }
28
+ .glorious-avatar.size-xl > img {
29
+ @apply w-[48px] h-[48px];
30
+ }
31
+ .glorious-avatar.size-lg {
32
+ @apply w-[44px] h-[44px];
33
+ }
34
+ .glorious-avatar.size-lg > img {
35
+ @apply w-[44px] h-[44px];
36
+ }
37
+ .glorious-avatar.size-md {
38
+ @apply w-[40px] h-[40px];
39
+ }
40
+ .glorious-avatar.size-md > img {
41
+ @apply w-[40px] h-[40px];
42
+ }
43
+ .glorious-avatar.size-sm {
44
+ @apply w-[36px] h-[36px];
45
+ }
46
+ .glorious-avatar.size-sm > img {
47
+ @apply w-[36px] h-[36px];
48
+ }
49
+ .glorious-avatar.size-xs {
50
+ @apply w-[32px] h-[32px];
51
+ }
52
+ .glorious-avatar.size-xs > img {
53
+ @apply w-[32px] h-[32px];
54
+ }
@@ -0,0 +1,94 @@
1
+ .glorious-checkbox {
2
+ @apply block relative cursor-pointer;
3
+ }
4
+ .glorious-checkbox > input {
5
+ @apply hidden;
6
+ }
7
+ .glorious-checkbox > input:checked ~ div {
8
+ @apply border-none;
9
+ }
10
+ .glorious-checkbox > input:checked ~ div:after {
11
+ @apply block h-max w-max;
12
+ }
13
+ .glorious-checkbox > input:disabled ~ div {
14
+ @apply cursor-not-allowed;
15
+ }
16
+ .glorious-checkbox > div:last-child {
17
+ @apply border border-gray-500 rounded bg-white left-0 top-0 absolute hover:shadow-lg;
18
+ }
19
+ .glorious-checkbox > div:last-child > div:first-child {
20
+ @apply hidden;
21
+ }
22
+ .glorious-checkbox > div:last-child:after {
23
+ content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzFfNDg2MTQpIj4KPHBhdGggZD0iTTkuOTk5OTkgMTUuMTcyTDE5LjE5MiA1Ljk3OUwyMC42MDcgNy4zOTNMOS45OTk5OSAxOEwzLjYzNTk5IDExLjYzNkw1LjA0OTk5IDEwLjIyMkw5Ljk5OTk5IDE1LjE3MloiIGZpbGw9IndoaXRlIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMV80ODYxNCI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K);
24
+ @apply absolute hidden top-1 right-0 left-0 bottom-0 m-auto;
25
+ }
26
+ .glorious-checkbox.orange > input:checked ~ div {
27
+ @apply bg-orange-500;
28
+ }
29
+ .glorious-checkbox.blue > input:checked ~ div {
30
+ @apply bg-blue-500;
31
+ }
32
+ .glorious-checkbox.gray > input:checked ~ div {
33
+ @apply bg-gray-500;
34
+ }
35
+ .glorious-checkbox.red > input:checked ~ div {
36
+ @apply bg-red-500;
37
+ }
38
+ .glorious-checkbox.green > input:checked ~ div {
39
+ @apply bg-green-500;
40
+ }
41
+ .glorious-checkbox.size-5xl {
42
+ @apply w-[60px] h-[60px];
43
+ }
44
+ .glorious-checkbox.size-5xl > div:last-child {
45
+ @apply w-[60px] h-[60px];
46
+ }
47
+ .glorious-checkbox.size-4xl {
48
+ @apply w-[56px] h-[56px];
49
+ }
50
+ .glorious-checkbox.size-4xl > div:last-child {
51
+ @apply w-[56px] h-[56px];
52
+ }
53
+ .glorious-checkbox.size-3xl {
54
+ @apply w-[52px] h-[52px];
55
+ }
56
+ .glorious-checkbox.size-3xl > div:last-child {
57
+ @apply w-[52px] h-[52px];
58
+ }
59
+ .glorious-checkbox.size-2xl {
60
+ @apply w-[48px] h-[48px];
61
+ }
62
+ .glorious-checkbox.size-2xl > div:last-child {
63
+ @apply w-[48px] h-[48px];
64
+ }
65
+ .glorious-checkbox.size-xl {
66
+ @apply w-[44px] h-[44px];
67
+ }
68
+ .glorious-checkbox.size-xl > div:last-child {
69
+ @apply w-[44px] h-[44px];
70
+ }
71
+ .glorious-checkbox.size-lg {
72
+ @apply w-[40px] h-[40px];
73
+ }
74
+ .glorious-checkbox.size-lg > div:last-child {
75
+ @apply w-[40px] h-[40px];
76
+ }
77
+ .glorious-checkbox.size-md {
78
+ @apply w-[36px] h-[36px];
79
+ }
80
+ .glorious-checkbox.size-md > div:last-child {
81
+ @apply w-[36px] h-[36px];
82
+ }
83
+ .glorious-checkbox.size-sm {
84
+ @apply w-[32px] h-[32px];
85
+ }
86
+ .glorious-checkbox.size-sm > div:last-child {
87
+ @apply w-[32px] h-[32px];
88
+ }
89
+ .glorious-checkbox.size-xs {
90
+ @apply w-[28px] h-[28px];
91
+ }
92
+ .glorious-checkbox.size-xs > div:last-child {
93
+ @apply w-[28px] h-[28px];
94
+ }
@@ -0,0 +1,121 @@
1
+ .glorious-radio {
2
+ @apply block relative cursor-pointer;
3
+ }
4
+ .glorious-radio > input {
5
+ @apply hidden;
6
+ }
7
+ .glorious-radio > input:checked ~ div {
8
+ @apply border-none;
9
+ }
10
+ .glorious-radio > input:checked ~ div:after {
11
+ content: "";
12
+ @apply block w-1 h-1 bg-white rounded-full;
13
+ }
14
+ .glorious-radio > input:disabled ~ div {
15
+ @apply cursor-not-allowed;
16
+ }
17
+ .glorious-radio > div:last-child {
18
+ @apply border border-gray-500 rounded-full bg-white left-0 top-0 absolute hover:shadow-lg;
19
+ }
20
+ .glorious-radio > div:last-child > div:first-child {
21
+ @apply hidden;
22
+ }
23
+ .glorious-radio > div:last-child:after {
24
+ @apply absolute hidden right-0 top-0 left-0 bottom-0 m-auto w-10 h-10 bg-white rounded-full;
25
+ }
26
+ .glorious-radio.orange > input:checked ~ div {
27
+ @apply bg-orange-500;
28
+ }
29
+ .glorious-radio.blue > input:checked ~ div {
30
+ @apply bg-blue-500;
31
+ }
32
+ .glorious-radio.gray > input:checked ~ div {
33
+ @apply bg-gray-500;
34
+ }
35
+ .glorious-radio.red > input:checked ~ div {
36
+ @apply bg-red-500;
37
+ }
38
+ .glorious-radio.green > input:checked ~ div {
39
+ @apply bg-green-500;
40
+ }
41
+ .glorious-radio.size-5xl {
42
+ @apply w-[46px] h-[46px];
43
+ }
44
+ .glorious-radio.size-5xl > div:last-child {
45
+ @apply w-[46px] h-[46px];
46
+ }
47
+ .glorious-radio.size-5xl > input:checked ~ div:after {
48
+ @apply w-[36px] h-[36px];
49
+ }
50
+ .glorious-radio.size-4xl {
51
+ @apply w-[42px] h-[42px];
52
+ }
53
+ .glorious-radio.size-4xl > div:last-child {
54
+ @apply w-[42px] h-[42px];
55
+ }
56
+ .glorious-radio.size-4xl > input:checked ~ div:after {
57
+ @apply w-[32px] h-[32px];
58
+ }
59
+ .glorious-radio.size-3xl {
60
+ @apply w-[38px] h-[38px];
61
+ }
62
+ .glorious-radio.size-3xl > div:last-child {
63
+ @apply w-[38px] h-[38px];
64
+ }
65
+ .glorious-radio.size-3xl > input:checked ~ div:after {
66
+ @apply w-[28px] h-[28px];
67
+ }
68
+ .glorious-radio.size-2xl {
69
+ @apply w-[34px] h-[34px];
70
+ }
71
+ .glorious-radio.size-2xl > div:last-child {
72
+ @apply w-[34px] h-[34px];
73
+ }
74
+ .glorious-radio.size-2xl > input:checked ~ div:after {
75
+ @apply w-[24px] h-[24px];
76
+ }
77
+ .glorious-radio.size-xl {
78
+ @apply w-[30px] h-[30px];
79
+ }
80
+ .glorious-radio.size-xl > div:last-child {
81
+ @apply w-[30px] h-[30px];
82
+ }
83
+ .glorious-radio.size-xl > input:checked ~ div:after {
84
+ @apply w-[20px] h-[20px];
85
+ }
86
+ .glorious-radio.size-lg {
87
+ @apply w-[26px] h-[26px];
88
+ }
89
+ .glorious-radio.size-lg > div:last-child {
90
+ @apply w-[26px] h-[26px];
91
+ }
92
+ .glorious-radio.size-lg > input:checked ~ div:after {
93
+ @apply w-[16px] h-[16px];
94
+ }
95
+ .glorious-radio.size-md {
96
+ @apply w-[22px] h-[22px];
97
+ }
98
+ .glorious-radio.size-md > div:last-child {
99
+ @apply w-[22px] h-[22px];
100
+ }
101
+ .glorious-radio.size-md > input:checked ~ div:after {
102
+ @apply w-[12px] h-[12px];
103
+ }
104
+ .glorious-radio.size-sm {
105
+ @apply w-[18px] h-[18px];
106
+ }
107
+ .glorious-radio.size-sm > div:last-child {
108
+ @apply w-[18px] h-[18px];
109
+ }
110
+ .glorious-radio.size-sm > input:checked ~ div:after {
111
+ @apply w-[8px] h-[8px];
112
+ }
113
+ .glorious-radio.size-xs {
114
+ @apply w-[14px] h-[14px];
115
+ }
116
+ .glorious-radio.size-xs > div:last-child {
117
+ @apply w-[14px] h-[14px];
118
+ }
119
+ .glorious-radio.size-xs > input:checked ~ div:after {
120
+ @apply w-[4px] h-[4px];
121
+ }
File without changes
@@ -0,0 +1,84 @@
1
+ <script lang="ts" setup>
2
+ const props = defineProps({
3
+ src: {
4
+ required: true,
5
+ type: String,
6
+ },
7
+ size: {
8
+ required: false,
9
+ default: "md",
10
+ type: String as () => "xl" | "lg" | "md" | "sm" | "xs",
11
+ },
12
+ rounded: {
13
+ required: false,
14
+ default: "md",
15
+ type: String as () => "xl" | "lg" | "md" | "sm" | "xs" | "full",
16
+ },
17
+ });
18
+ </script>
19
+
20
+ <template>
21
+ <div
22
+ class="glorious-avatar overflow-hidden"
23
+ :class="[`size-${props.size}`, `rounded-${props.rounded}`]"
24
+ >
25
+ <img :src="props.src" />
26
+ </div>
27
+ </template>
28
+
29
+ <style>
30
+ .glorious-avatar.size-5xl {
31
+ @apply w-[64px] h-[64px];
32
+ }
33
+ .glorious-avatar.size-5xl > img {
34
+ @apply w-[64px] h-[64px];
35
+ }
36
+ .glorious-avatar.size-4xl {
37
+ @apply w-[60px] h-[60px];
38
+ }
39
+ .glorious-avatar.size-4xl > img {
40
+ @apply w-[60px] h-[60px];
41
+ }
42
+ .glorious-avatar.size-3xl {
43
+ @apply w-[56px] h-[56px];
44
+ }
45
+ .glorious-avatar.size-3xl > img {
46
+ @apply w-[56px] h-[56px];
47
+ }
48
+ .glorious-avatar.size-2xl {
49
+ @apply w-[52px] h-[52px];
50
+ }
51
+ .glorious-avatar.size-2xl > img {
52
+ @apply w-[52px] h-[52px];
53
+ }
54
+ .glorious-avatar.size-xl {
55
+ @apply w-[48px] h-[48px];
56
+ }
57
+ .glorious-avatar.size-xl > img {
58
+ @apply w-[48px] h-[48px];
59
+ }
60
+ .glorious-avatar.size-lg {
61
+ @apply w-[44px] h-[44px];
62
+ }
63
+ .glorious-avatar.size-lg > img {
64
+ @apply w-[44px] h-[44px];
65
+ }
66
+ .glorious-avatar.size-md {
67
+ @apply w-[40px] h-[40px];
68
+ }
69
+ .glorious-avatar.size-md > img {
70
+ @apply w-[40px] h-[40px];
71
+ }
72
+ .glorious-avatar.size-sm {
73
+ @apply w-[36px] h-[36px];
74
+ }
75
+ .glorious-avatar.size-sm > img {
76
+ @apply w-[36px] h-[36px];
77
+ }
78
+ .glorious-avatar.size-xs {
79
+ @apply w-[32px] h-[32px];
80
+ }
81
+ .glorious-avatar.size-xs > img {
82
+ @apply w-[32px] h-[32px];
83
+ }
84
+ </style>
@@ -0,0 +1,134 @@
1
+ <script lang="ts" setup>
2
+ const props = defineProps({
3
+ modelValue: {
4
+ required: false,
5
+ default: true,
6
+ type: Boolean,
7
+ },
8
+ color: {
9
+ required: false,
10
+ default: "green",
11
+ type: String as () => "orange" | "blue" | "gray" | "red" | "green",
12
+ },
13
+ size: {
14
+ required: false,
15
+ default: "md",
16
+ type: String as () => "xl" | "lg" | "md" | "sm" | "xs",
17
+ },
18
+ disabled: {
19
+ required: false,
20
+ default: false,
21
+ type: Boolean,
22
+ },
23
+ });
24
+
25
+ const emits = defineEmits(["update:modelValue"]);
26
+ </script>
27
+
28
+ <template>
29
+ <label class="glorious-checkbox" :class="[props.color, `size-${props.size}`]">
30
+ <input
31
+ type="checkbox"
32
+ :disabled="props.disabled"
33
+ @input="emits('update:modelValue', $event.currentTarget.checked)"
34
+ />
35
+ <div></div>
36
+ </label>
37
+ </template>
38
+
39
+ <style>
40
+ .glorious-checkbox {
41
+ @apply block relative cursor-pointer;
42
+ }
43
+ .glorious-checkbox > input {
44
+ @apply hidden;
45
+ }
46
+ .glorious-checkbox > input:checked ~ div {
47
+ @apply border-none;
48
+ }
49
+ .glorious-checkbox > input:checked ~ div:after {
50
+ @apply block h-max w-max;
51
+ }
52
+ .glorious-checkbox > input:disabled ~ div {
53
+ @apply cursor-not-allowed;
54
+ }
55
+ .glorious-checkbox > div:last-child {
56
+ @apply border border-gray-500 rounded bg-white left-0 top-0 absolute hover:shadow-lg;
57
+ }
58
+ .glorious-checkbox > div:last-child > div:first-child {
59
+ @apply hidden;
60
+ }
61
+ .glorious-checkbox > div:last-child:after {
62
+ content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzFfNDg2MTQpIj4KPHBhdGggZD0iTTkuOTk5OTkgMTUuMTcyTDE5LjE5MiA1Ljk3OUwyMC42MDcgNy4zOTNMOS45OTk5OSAxOEwzLjYzNTk5IDExLjYzNkw1LjA0OTk5IDEwLjIyMkw5Ljk5OTk5IDE1LjE3MloiIGZpbGw9IndoaXRlIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMV80ODYxNCI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K);
63
+ @apply absolute hidden top-1 right-0 left-0 bottom-0 m-auto;
64
+ }
65
+ .glorious-checkbox.orange > input:checked ~ div {
66
+ @apply bg-orange-500;
67
+ }
68
+ .glorious-checkbox.blue > input:checked ~ div {
69
+ @apply bg-blue-500;
70
+ }
71
+ .glorious-checkbox.gray > input:checked ~ div {
72
+ @apply bg-gray-500;
73
+ }
74
+ .glorious-checkbox.red > input:checked ~ div {
75
+ @apply bg-red-500;
76
+ }
77
+ .glorious-checkbox.green > input:checked ~ div {
78
+ @apply bg-green-500;
79
+ }
80
+ .glorious-checkbox.size-5xl {
81
+ @apply w-[60px] h-[60px];
82
+ }
83
+ .glorious-checkbox.size-5xl > div:last-child {
84
+ @apply w-[60px] h-[60px];
85
+ }
86
+ .glorious-checkbox.size-4xl {
87
+ @apply w-[56px] h-[56px];
88
+ }
89
+ .glorious-checkbox.size-4xl > div:last-child {
90
+ @apply w-[56px] h-[56px];
91
+ }
92
+ .glorious-checkbox.size-3xl {
93
+ @apply w-[52px] h-[52px];
94
+ }
95
+ .glorious-checkbox.size-3xl > div:last-child {
96
+ @apply w-[52px] h-[52px];
97
+ }
98
+ .glorious-checkbox.size-2xl {
99
+ @apply w-[48px] h-[48px];
100
+ }
101
+ .glorious-checkbox.size-2xl > div:last-child {
102
+ @apply w-[48px] h-[48px];
103
+ }
104
+ .glorious-checkbox.size-xl {
105
+ @apply w-[44px] h-[44px];
106
+ }
107
+ .glorious-checkbox.size-xl > div:last-child {
108
+ @apply w-[44px] h-[44px];
109
+ }
110
+ .glorious-checkbox.size-lg {
111
+ @apply w-[40px] h-[40px];
112
+ }
113
+ .glorious-checkbox.size-lg > div:last-child {
114
+ @apply w-[40px] h-[40px];
115
+ }
116
+ .glorious-checkbox.size-md {
117
+ @apply w-[36px] h-[36px];
118
+ }
119
+ .glorious-checkbox.size-md > div:last-child {
120
+ @apply w-[36px] h-[36px];
121
+ }
122
+ .glorious-checkbox.size-sm {
123
+ @apply w-[32px] h-[32px];
124
+ }
125
+ .glorious-checkbox.size-sm > div:last-child {
126
+ @apply w-[32px] h-[32px];
127
+ }
128
+ .glorious-checkbox.size-xs {
129
+ @apply w-[28px] h-[28px];
130
+ }
131
+ .glorious-checkbox.size-xs > div:last-child {
132
+ @apply w-[28px] h-[28px];
133
+ }
134
+ </style>
@@ -1,38 +1,166 @@
1
1
  <script lang="ts" setup>
2
2
  const props = defineProps({
3
- name: {
3
+ modelValue: {
4
4
  required: false,
5
- default: "radio",
6
- type: String,
5
+ default: true,
6
+ type: Boolean,
7
7
  },
8
- value: {
8
+ color: {
9
9
  required: false,
10
- default: "radio",
11
- type: [String, Number, null],
10
+ default: "green",
11
+ type: String as () => "orange" | "blue" | "gray" | "red" | "green",
12
12
  },
13
- modelValue: {
13
+ size: {
14
14
  required: false,
15
- default: "",
16
- type: [String, Number, null],
15
+ default: "md",
16
+ type: String as () => "xl" | "lg" | "md" | "sm" | "xs",
17
17
  },
18
- checked: {
18
+ disabled: {
19
19
  required: false,
20
20
  default: false,
21
21
  type: Boolean,
22
22
  },
23
+ name: {
24
+ required: true,
25
+ type: String,
26
+ },
23
27
  });
24
28
 
25
- const emits: any = defineEmits(["update:modelValue"]);
29
+ const emits = defineEmits(["update:modelValue"]);
26
30
  </script>
27
31
 
28
32
  <template>
29
- <div>
33
+ <label class="glorious-radio" :class="[props.color, `size-${props.size}`]">
30
34
  <input
31
- type="radio"
32
35
  :name="props.name"
33
- :value="props.value"
34
- @click="emits('update:modelValue', props.value)"
35
- :checked="props.checked"
36
+ type="radio"
37
+ :disabled="props.disabled"
38
+ @input="emits('update:modelValue', $event.currentTarget.checked)"
36
39
  />
37
- </div>
40
+ <div></div>
41
+ </label>
38
42
  </template>
43
+
44
+ <style>
45
+ .glorious-radio {
46
+ @apply block relative cursor-pointer;
47
+ }
48
+ .glorious-radio > input {
49
+ @apply hidden;
50
+ }
51
+ .glorious-radio > input:checked ~ div {
52
+ @apply border-none;
53
+ }
54
+ .glorious-radio > input:checked ~ div:after {
55
+ content: "";
56
+ @apply block w-1 h-1 bg-white rounded-full;
57
+ }
58
+ .glorious-radio > input:disabled ~ div {
59
+ @apply cursor-not-allowed;
60
+ }
61
+ .glorious-radio > div:last-child {
62
+ @apply border border-gray-500 rounded-full bg-white left-0 top-0 absolute hover:shadow-lg;
63
+ }
64
+ .glorious-radio > div:last-child > div:first-child {
65
+ @apply hidden;
66
+ }
67
+ .glorious-radio > div:last-child:after {
68
+ @apply absolute hidden right-0 top-0 left-0 bottom-0 m-auto w-10 h-10 bg-white rounded-full;
69
+ }
70
+ .glorious-radio.orange > input:checked ~ div {
71
+ @apply bg-orange-500;
72
+ }
73
+ .glorious-radio.blue > input:checked ~ div {
74
+ @apply bg-blue-500;
75
+ }
76
+ .glorious-radio.gray > input:checked ~ div {
77
+ @apply bg-gray-500;
78
+ }
79
+ .glorious-radio.red > input:checked ~ div {
80
+ @apply bg-red-500;
81
+ }
82
+ .glorious-radio.green > input:checked ~ div {
83
+ @apply bg-green-500;
84
+ }
85
+ .glorious-radio.size-5xl {
86
+ @apply w-[46px] h-[46px];
87
+ }
88
+ .glorious-radio.size-5xl > div:last-child {
89
+ @apply w-[46px] h-[46px];
90
+ }
91
+ .glorious-radio.size-5xl > input:checked ~ div:after {
92
+ @apply w-[36px] h-[36px];
93
+ }
94
+ .glorious-radio.size-4xl {
95
+ @apply w-[42px] h-[42px];
96
+ }
97
+ .glorious-radio.size-4xl > div:last-child {
98
+ @apply w-[42px] h-[42px];
99
+ }
100
+ .glorious-radio.size-4xl > input:checked ~ div:after {
101
+ @apply w-[32px] h-[32px];
102
+ }
103
+ .glorious-radio.size-3xl {
104
+ @apply w-[38px] h-[38px];
105
+ }
106
+ .glorious-radio.size-3xl > div:last-child {
107
+ @apply w-[38px] h-[38px];
108
+ }
109
+ .glorious-radio.size-3xl > input:checked ~ div:after {
110
+ @apply w-[28px] h-[28px];
111
+ }
112
+ .glorious-radio.size-2xl {
113
+ @apply w-[34px] h-[34px];
114
+ }
115
+ .glorious-radio.size-2xl > div:last-child {
116
+ @apply w-[34px] h-[34px];
117
+ }
118
+ .glorious-radio.size-2xl > input:checked ~ div:after {
119
+ @apply w-[24px] h-[24px];
120
+ }
121
+ .glorious-radio.size-xl {
122
+ @apply w-[30px] h-[30px];
123
+ }
124
+ .glorious-radio.size-xl > div:last-child {
125
+ @apply w-[30px] h-[30px];
126
+ }
127
+ .glorious-radio.size-xl > input:checked ~ div:after {
128
+ @apply w-[20px] h-[20px];
129
+ }
130
+ .glorious-radio.size-lg {
131
+ @apply w-[26px] h-[26px];
132
+ }
133
+ .glorious-radio.size-lg > div:last-child {
134
+ @apply w-[26px] h-[26px];
135
+ }
136
+ .glorious-radio.size-lg > input:checked ~ div:after {
137
+ @apply w-[16px] h-[16px];
138
+ }
139
+ .glorious-radio.size-md {
140
+ @apply w-[22px] h-[22px];
141
+ }
142
+ .glorious-radio.size-md > div:last-child {
143
+ @apply w-[22px] h-[22px];
144
+ }
145
+ .glorious-radio.size-md > input:checked ~ div:after {
146
+ @apply w-[12px] h-[12px];
147
+ }
148
+ .glorious-radio.size-sm {
149
+ @apply w-[18px] h-[18px];
150
+ }
151
+ .glorious-radio.size-sm > div:last-child {
152
+ @apply w-[18px] h-[18px];
153
+ }
154
+ .glorious-radio.size-sm > input:checked ~ div:after {
155
+ @apply w-[8px] h-[8px];
156
+ }
157
+ .glorious-radio.size-xs {
158
+ @apply w-[14px] h-[14px];
159
+ }
160
+ .glorious-radio.size-xs > div:last-child {
161
+ @apply w-[14px] h-[14px];
162
+ }
163
+ .glorious-radio.size-xs > input:checked ~ div:after {
164
+ @apply w-[4px] h-[4px];
165
+ }
166
+ </style>
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.1-0",
2
+ "version": "1.2.1-1",
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",