nuxt-glorious 1.2.3-8 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. package/dist/module.d.mts +38 -1
  2. package/dist/module.d.ts +38 -1
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +37 -33
  5. package/dist/runtime/assets/style/components/alert.css +20 -5
  6. package/dist/runtime/assets/style/components/avatar.css +21 -18
  7. package/dist/runtime/assets/style/components/button.css +198 -0
  8. package/dist/runtime/assets/style/components/checkbox.css +24 -24
  9. package/dist/runtime/assets/style/components/drawer.css +14 -18
  10. package/dist/runtime/assets/style/components/file.css +102 -33
  11. package/dist/runtime/assets/style/components/input.css +103 -23
  12. package/dist/runtime/assets/style/components/loading.css +43 -0
  13. package/dist/runtime/assets/style/components/radio.css +27 -27
  14. package/dist/runtime/assets/style/components/select.css +24 -19
  15. package/dist/runtime/assets/style/components/textarea.css +35 -35
  16. package/dist/runtime/assets/style/mixin.css +0 -0
  17. package/dist/runtime/components/G/Alert.vue +8 -28
  18. package/dist/runtime/components/G/Avatar.vue +5 -73
  19. package/dist/runtime/components/G/Breadcrumb.vue +7 -25
  20. package/dist/runtime/components/G/Button.vue +10 -152
  21. package/dist/runtime/components/G/Checkbox.vue +8 -124
  22. package/dist/runtime/components/G/CountDown.vue +33 -44
  23. package/dist/runtime/components/G/Drawer.vue +12 -101
  24. package/dist/runtime/components/G/Dropdown.vue +16 -11
  25. package/dist/runtime/components/G/ErrorText.vue +6 -11
  26. package/dist/runtime/components/G/File.vue +25 -117
  27. package/dist/runtime/components/G/Icon.vue +125 -0
  28. package/dist/runtime/components/G/Input.vue +28 -229
  29. package/dist/runtime/components/G/Loading.vue +4 -21
  30. package/dist/runtime/components/G/Modal.vue +13 -145
  31. package/dist/runtime/components/G/Paginate.vue +8 -44
  32. package/dist/runtime/components/G/Radio.vue +12 -163
  33. package/dist/runtime/components/G/Rating.vue +3 -30
  34. package/dist/runtime/components/G/Select.vue +7 -110
  35. package/dist/runtime/components/G/Switch.vue +5 -82
  36. package/dist/runtime/components/G/Tab.vue +6 -30
  37. package/dist/runtime/components/G/Table.vue +12 -131
  38. package/dist/runtime/components/G/textarea.vue +14 -119
  39. package/dist/runtime/components/G/timeline.vue +3 -59
  40. package/dist/runtime/components/helper.d.ts +2 -0
  41. package/dist/runtime/components/helper.mjs +25 -0
  42. package/dist/runtime/components/props/Alert.d.ts +8 -0
  43. package/dist/runtime/components/props/Alert.mjs +4 -0
  44. package/dist/runtime/components/props/Avatar.d.ts +12 -0
  45. package/dist/runtime/components/props/Avatar.mjs +9 -0
  46. package/dist/runtime/components/props/Breadcrumb.d.ts +26 -0
  47. package/dist/runtime/components/props/Breadcrumb.mjs +11 -0
  48. package/dist/runtime/components/props/Button.d.ts +47 -0
  49. package/dist/runtime/components/props/Button.mjs +14 -0
  50. package/dist/runtime/components/props/CheckBox.d.ts +23 -0
  51. package/dist/runtime/components/props/CheckBox.mjs +7 -0
  52. package/dist/runtime/components/props/CountDown.d.ts +7 -0
  53. package/dist/runtime/components/props/CountDown.mjs +6 -0
  54. package/dist/runtime/components/props/Drawer.d.ts +8 -0
  55. package/dist/runtime/components/props/Drawer.mjs +7 -0
  56. package/dist/runtime/components/props/ErrorText.d.ts +8 -0
  57. package/dist/runtime/components/props/ErrorText.mjs +4 -0
  58. package/dist/runtime/components/props/File.d.ts +28 -0
  59. package/dist/runtime/components/props/File.mjs +9 -0
  60. package/dist/runtime/components/props/Icon.d.ts +23 -0
  61. package/dist/runtime/components/props/Icon.mjs +7 -0
  62. package/dist/runtime/components/props/Input.d.ts +91 -0
  63. package/dist/runtime/components/props/Input.mjs +50 -0
  64. package/dist/runtime/components/props/Loading.d.ts +18 -0
  65. package/dist/runtime/components/props/Loading.mjs +6 -0
  66. package/dist/runtime/components/props/Modal.d.ts +48 -0
  67. package/dist/runtime/components/props/Modal.mjs +38 -0
  68. package/dist/runtime/components/props/Paginate.d.ts +18 -0
  69. package/dist/runtime/components/props/Paginate.mjs +17 -0
  70. package/dist/runtime/components/props/Radio.d.ts +33 -0
  71. package/dist/runtime/components/props/Radio.mjs +9 -0
  72. package/dist/runtime/components/props/Select.d.ts +61 -0
  73. package/dist/runtime/components/props/Select.mjs +23 -0
  74. package/dist/runtime/components/props/Switch.d.ts +13 -0
  75. package/dist/runtime/components/props/Switch.mjs +5 -0
  76. package/dist/runtime/components/props/Tab.d.ts +21 -0
  77. package/dist/runtime/components/props/Tab.mjs +7 -0
  78. package/dist/runtime/components/props/Table.d.ts +49 -0
  79. package/dist/runtime/components/props/Table.mjs +19 -0
  80. package/dist/runtime/components/props/Textarea.d.ts +38 -0
  81. package/dist/runtime/components/props/Textarea.mjs +14 -0
  82. package/dist/runtime/components/props/Timeline.d.ts +11 -0
  83. package/dist/runtime/components/props/Timeline.mjs +7 -0
  84. package/dist/runtime/components/props/common/index.d.ts +161 -0
  85. package/dist/runtime/components/props/common/index.mjs +147 -0
  86. package/dist/runtime/composables/useGloriousCore.d.ts +1 -1
  87. package/dist/runtime/composables/useGloriousCore.mjs +1 -1
  88. package/dist/runtime/composables/useGloriousFetch.mjs +0 -1
  89. package/dist/runtime/middlewares/AuthStrategy.mjs +1 -5
  90. package/dist/runtime/stores/GloriousStore.d.ts +0 -2
  91. package/dist/runtime/stores/GloriousStore.mjs +0 -20
  92. package/dist/types.d.mts +2 -10
  93. package/dist/types.d.ts +2 -10
  94. package/package.json +1 -1
  95. package/dist/runtime/assets/style/components/buttons.css +0 -107
  96. package/dist/runtime/components/G/BottomNavigation.vue +0 -3
  97. package/dist/runtime/components/G/Icon/index.vue +0 -143
@@ -1,65 +1,134 @@
1
- .glorious-file-orange > div.xl.placeholder, .glorious-file-blue > div.xl.placeholder, .glorious-file-gray > div.xl.placeholder, .glorious-file-red > div.xl.placeholder, .glorious-file-primary > div.xl.placeholder {
1
+ .glorious-file-orange {
2
+ @apply ring-orange-500;
3
+ @apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
4
+ }
5
+ .glorious-file-orange > div.placeholder {
6
+ @apply bg-orange-500;
7
+ @apply text-white px-3 w-max;
8
+ }
9
+ .glorious-file-orange > div.placeholder.size-xl {
2
10
  @apply py-2.5;
3
11
  }
4
- .glorious-file-orange > div.lg.placeholder, .glorious-file-blue > div.lg.placeholder, .glorious-file-gray > div.lg.placeholder, .glorious-file-red > div.lg.placeholder, .glorious-file-primary > div.lg.placeholder {
12
+ .glorious-file-orange > div.placeholder.size-lg {
5
13
  @apply py-2;
6
14
  }
7
- .glorious-file-orange > div.md.placeholder, .glorious-file-blue > div.md.placeholder, .glorious-file-gray > div.md.placeholder, .glorious-file-red > div.md.placeholder, .glorious-file-primary > div.md.placeholder {
15
+ .glorious-file-orange > div.placeholder.size-md {
8
16
  @apply py-1.5;
9
17
  }
10
- .glorious-file-orange > div.sm.placeholder, .glorious-file-blue > div.sm.placeholder, .glorious-file-gray > div.sm.placeholder, .glorious-file-red > div.sm.placeholder, .glorious-file-primary > div.sm.placeholder {
18
+ .glorious-file-orange > div.placeholder.size-sm {
11
19
  @apply py-1;
12
20
  }
13
- .glorious-file-orange > div.xsm.placeholder, .glorious-file-blue > div.xsm.placeholder, .glorious-file-gray > div.xsm.placeholder, .glorious-file-red > div.xsm.placeholder, .glorious-file-primary > div.xsm.placeholder {
21
+ .glorious-file-orange > div.placeholder.size-xs {
14
22
  @apply py-0.5;
15
23
  }
24
+ .glorious-file-orange > div:last-child {
25
+ @apply absolute left-3 hidden;
26
+ }
16
27
 
17
- .glorious-file-primary {
18
- @apply rounded-md ring-1 ring-green-500 overflow-hidden cursor-pointer relative;
28
+ .glorious-file-blue {
29
+ @apply ring-blue-500;
30
+ @apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
19
31
  }
20
- .glorious-file-primary > div.placeholder {
21
- @apply bg-green-500 text-white px-3 w-max;
32
+ .glorious-file-blue > div.placeholder {
33
+ @apply bg-blue-500;
34
+ @apply text-white px-3 w-max;
22
35
  }
23
- .glorious-file-primary > div:last-child {
24
- @apply absolute left-3 hidden;
36
+ .glorious-file-blue > div.placeholder.size-xl {
37
+ @apply py-2.5;
25
38
  }
26
-
27
- .glorious-file-red {
28
- @apply rounded-md ring-1 ring-red-500 px-3 cursor-pointer relative;
39
+ .glorious-file-blue > div.placeholder.size-lg {
40
+ @apply py-2;
29
41
  }
30
- .glorious-file-red > div.placeholder {
31
- @apply bg-green-500 text-white px-3 w-max;
42
+ .glorious-file-blue > div.placeholder.size-md {
43
+ @apply py-1.5;
32
44
  }
33
- .glorious-file-red > div:last-child {
34
- @apply absolute left-3;
45
+ .glorious-file-blue > div.placeholder.size-sm {
46
+ @apply py-1;
47
+ }
48
+ .glorious-file-blue > div.placeholder.size-xs {
49
+ @apply py-0.5;
50
+ }
51
+ .glorious-file-blue > div:last-child {
52
+ @apply absolute left-3 hidden;
35
53
  }
36
54
 
37
55
  .glorious-file-gray {
38
- @apply rounded-md ring-1 ring-gray-500 px-3 cursor-pointer relative;
56
+ @apply ring-gray-500;
57
+ @apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
39
58
  }
40
59
  .glorious-file-gray > div.placeholder {
41
- @apply bg-green-500 text-white px-3 w-max;
60
+ @apply bg-gray-500;
61
+ @apply text-white px-3 w-max;
62
+ }
63
+ .glorious-file-gray > div.placeholder.size-xl {
64
+ @apply py-2.5;
65
+ }
66
+ .glorious-file-gray > div.placeholder.size-lg {
67
+ @apply py-2;
68
+ }
69
+ .glorious-file-gray > div.placeholder.size-md {
70
+ @apply py-1.5;
71
+ }
72
+ .glorious-file-gray > div.placeholder.size-sm {
73
+ @apply py-1;
74
+ }
75
+ .glorious-file-gray > div.placeholder.size-xs {
76
+ @apply py-0.5;
42
77
  }
43
78
  .glorious-file-gray > div:last-child {
44
- @apply absolute left-3;
79
+ @apply absolute left-3 hidden;
45
80
  }
46
81
 
47
- .glorious-file-blue {
48
- @apply rounded-md ring-1 ring-blue-500 px-3 cursor-pointer relative;
82
+ .glorious-file-red {
83
+ @apply ring-red-500;
84
+ @apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
49
85
  }
50
- .glorious-file-blue > div.placeholder {
51
- @apply bg-green-500 text-white px-3 w-max;
86
+ .glorious-file-red > div.placeholder {
87
+ @apply bg-red-500;
88
+ @apply text-white px-3 w-max;
52
89
  }
53
- .glorious-file-blue > div:last-child {
54
- @apply absolute left-3;
90
+ .glorious-file-red > div.placeholder.size-xl {
91
+ @apply py-2.5;
92
+ }
93
+ .glorious-file-red > div.placeholder.size-lg {
94
+ @apply py-2;
95
+ }
96
+ .glorious-file-red > div.placeholder.size-md {
97
+ @apply py-1.5;
98
+ }
99
+ .glorious-file-red > div.placeholder.size-sm {
100
+ @apply py-1;
101
+ }
102
+ .glorious-file-red > div.placeholder.size-xs {
103
+ @apply py-0.5;
104
+ }
105
+ .glorious-file-red > div:last-child {
106
+ @apply absolute left-3 hidden;
55
107
  }
56
108
 
57
- .glorious-file-orange {
58
- @apply rounded-md ring-1 ring-orange-500 px-3 cursor-pointer relative;
109
+ .glorious-file-green {
110
+ @apply ring-green-500;
111
+ @apply rounded-md ring-1 overflow-hidden cursor-pointer relative;
59
112
  }
60
- .glorious-file-orange > div.placeholder {
61
- @apply bg-green-500 text-white px-3 w-max;
113
+ .glorious-file-green > div.placeholder {
114
+ @apply bg-green-500;
115
+ @apply text-white px-3 w-max;
62
116
  }
63
- .glorious-file-orange > div:last-child {
64
- @apply absolute left-3;
117
+ .glorious-file-green > div.placeholder.size-xl {
118
+ @apply py-2.5;
119
+ }
120
+ .glorious-file-green > div.placeholder.size-lg {
121
+ @apply py-2;
122
+ }
123
+ .glorious-file-green > div.placeholder.size-md {
124
+ @apply py-1.5;
125
+ }
126
+ .glorious-file-green > div.placeholder.size-sm {
127
+ @apply py-1;
128
+ }
129
+ .glorious-file-green > div.placeholder.size-xs {
130
+ @apply py-0.5;
131
+ }
132
+ .glorious-file-green > div:last-child {
133
+ @apply absolute left-3 hidden;
65
134
  }
@@ -1,55 +1,135 @@
1
- .xl.glorious-input-orange, .xl.glorious-input-blue, .xl.glorious-input-gray, .xl.glorious-input-red, .xl.glorious-input-primary {
1
+ .glorious-input-orange {
2
+ @apply ring-orange-500;
3
+ @apply rounded-md ring-1;
4
+ }
5
+ .glorious-input-orange.size-xl {
2
6
  @apply py-2.5;
3
7
  }
4
- .lg.glorious-input-orange, .lg.glorious-input-blue, .lg.glorious-input-gray, .lg.glorious-input-red, .lg.glorious-input-primary {
8
+ .glorious-input-orange.size-lg {
5
9
  @apply py-2;
6
10
  }
7
- .md.glorious-input-orange, .md.glorious-input-blue, .md.glorious-input-gray, .md.glorious-input-red, .md.glorious-input-primary {
11
+ .glorious-input-orange.size-md {
8
12
  @apply py-1.5;
9
13
  }
10
- .sm.glorious-input-orange, .sm.glorious-input-blue, .sm.glorious-input-gray, .sm.glorious-input-red, .sm.glorious-input-primary {
14
+ .glorious-input-orange.size-sm {
11
15
  @apply py-1;
12
16
  }
13
- .xsm.glorious-input-orange, .xsm.glorious-input-blue, .xsm.glorious-input-gray, .xsm.glorious-input-red, .xsm.glorious-input-primary {
17
+ .glorious-input-orange.size-xs {
14
18
  @apply py-0.5;
15
19
  }
16
-
17
- .glorious-input-orange:focus-visible, .glorious-input-blue:focus-visible, .glorious-input-gray:focus-visible, .glorious-input-red:focus-visible, .glorious-input-primary:focus-visible {
20
+ .glorious-input-orange:focus-visible {
18
21
  @apply outline-none ring-2;
19
22
  }
23
+ .glorious-input-orange:disabled {
24
+ @apply bg-orange-100;
25
+ @apply cursor-not-allowed;
26
+ }
20
27
 
21
- .glorious-input-primary {
22
- @apply rounded-md ring-1 ring-green-500;
28
+ .glorious-input-blue {
29
+ @apply ring-blue-500;
30
+ @apply rounded-md ring-1;
31
+ }
32
+ .glorious-input-blue.size-xl {
33
+ @apply py-2.5;
23
34
  }
24
- .glorious-input-primary:disabled {
25
- @apply bg-green-100 cursor-not-allowed;
35
+ .glorious-input-blue.size-lg {
36
+ @apply py-2;
26
37
  }
27
-
28
- .glorious-input-red {
29
- @apply rounded-md ring-1 ring-red-500;
38
+ .glorious-input-blue.size-md {
39
+ @apply py-1.5;
30
40
  }
31
- .glorious-input-red:disabled {
41
+ .glorious-input-blue.size-sm {
42
+ @apply py-1;
43
+ }
44
+ .glorious-input-blue.size-xs {
45
+ @apply py-0.5;
46
+ }
47
+ .glorious-input-blue:focus-visible {
48
+ @apply outline-none ring-2;
49
+ }
50
+ .glorious-input-blue:disabled {
51
+ @apply bg-blue-100;
32
52
  @apply cursor-not-allowed;
33
53
  }
34
54
 
35
55
  .glorious-input-gray {
36
- @apply rounded-md ring-1 ring-gray-500;
56
+ @apply ring-gray-500;
57
+ @apply rounded-md ring-1;
58
+ }
59
+ .glorious-input-gray.size-xl {
60
+ @apply py-2.5;
61
+ }
62
+ .glorious-input-gray.size-lg {
63
+ @apply py-2;
64
+ }
65
+ .glorious-input-gray.size-md {
66
+ @apply py-1.5;
67
+ }
68
+ .glorious-input-gray.size-sm {
69
+ @apply py-1;
70
+ }
71
+ .glorious-input-gray.size-xs {
72
+ @apply py-0.5;
73
+ }
74
+ .glorious-input-gray:focus-visible {
75
+ @apply outline-none ring-2;
37
76
  }
38
77
  .glorious-input-gray:disabled {
78
+ @apply bg-gray-100;
39
79
  @apply cursor-not-allowed;
40
80
  }
41
81
 
42
- .glorious-input-blue {
43
- @apply rounded-md ring-1 ring-blue-500;
82
+ .glorious-input-red {
83
+ @apply ring-red-500;
84
+ @apply rounded-md ring-1;
44
85
  }
45
- .glorious-input-blue:disabled {
86
+ .glorious-input-red.size-xl {
87
+ @apply py-2.5;
88
+ }
89
+ .glorious-input-red.size-lg {
90
+ @apply py-2;
91
+ }
92
+ .glorious-input-red.size-md {
93
+ @apply py-1.5;
94
+ }
95
+ .glorious-input-red.size-sm {
96
+ @apply py-1;
97
+ }
98
+ .glorious-input-red.size-xs {
99
+ @apply py-0.5;
100
+ }
101
+ .glorious-input-red:focus-visible {
102
+ @apply outline-none ring-2;
103
+ }
104
+ .glorious-input-red:disabled {
105
+ @apply bg-red-100;
46
106
  @apply cursor-not-allowed;
47
107
  }
48
108
 
49
- .glorious-input-orange {
50
- @apply rounded-md ring-1 ring-orange-500;
109
+ .glorious-input-green {
110
+ @apply ring-green-500;
111
+ @apply rounded-md ring-1;
51
112
  }
52
- .glorious-input-orange:disabled {
113
+ .glorious-input-green.size-xl {
114
+ @apply py-2.5;
115
+ }
116
+ .glorious-input-green.size-lg {
117
+ @apply py-2;
118
+ }
119
+ .glorious-input-green.size-md {
120
+ @apply py-1.5;
121
+ }
122
+ .glorious-input-green.size-sm {
123
+ @apply py-1;
124
+ }
125
+ .glorious-input-green.size-xs {
126
+ @apply py-0.5;
127
+ }
128
+ .glorious-input-green:focus-visible {
129
+ @apply outline-none ring-2;
130
+ }
131
+ .glorious-input-green:disabled {
132
+ @apply bg-green-100;
53
133
  @apply cursor-not-allowed;
54
134
  }
55
135
 
@@ -60,7 +140,7 @@
60
140
  @apply w-full;
61
141
  }
62
142
  .glorious-input > input::placeholder {
63
- @apply text-[14px];
143
+ @apply text-sm;
64
144
  }
65
145
  .glorious-input.icon-xl > input {
66
146
  @apply rtl:pr-9 ltr:pl-9;
@@ -0,0 +1,43 @@
1
+ .glorious-loading {
2
+ aspect-ratio: 1;
3
+ border-radius: 50%;
4
+ animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear;
5
+ }
6
+
7
+ @keyframes l20-1 {
8
+ 0% {
9
+ clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
10
+ }
11
+ 12.5% {
12
+ clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%);
13
+ }
14
+ 25% {
15
+ clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%);
16
+ }
17
+ 50% {
18
+ clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
19
+ }
20
+ 62.5% {
21
+ clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
22
+ }
23
+ 75% {
24
+ clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%);
25
+ }
26
+ 100% {
27
+ clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%);
28
+ }
29
+ }
30
+ @keyframes l20-2 {
31
+ 0% {
32
+ transform: scaleY(1) rotate(0deg);
33
+ }
34
+ 49.99% {
35
+ transform: scaleY(1) rotate(135deg);
36
+ }
37
+ 50% {
38
+ transform: scaleY(-1) rotate(0deg);
39
+ }
40
+ 100% {
41
+ transform: scaleY(-1) rotate(-135deg);
42
+ }
43
+ }
@@ -39,83 +39,83 @@
39
39
  @apply bg-green-500;
40
40
  }
41
41
  .glorious-radio.size-5xl {
42
- @apply w-[46px] h-[46px];
42
+ @apply w-[40px] h-[40px];
43
43
  }
44
44
  .glorious-radio.size-5xl > div:last-child {
45
- @apply w-[46px] h-[46px];
45
+ @apply w-[40px] h-[40px];
46
46
  }
47
47
  .glorious-radio.size-5xl > input:checked ~ div:after {
48
- @apply w-[36px] h-[36px];
48
+ @apply w-[30px] h-[30px];
49
49
  }
50
50
  .glorious-radio.size-4xl {
51
- @apply w-[42px] h-[42px];
51
+ @apply w-[36px] h-[36px];
52
52
  }
53
53
  .glorious-radio.size-4xl > div:last-child {
54
- @apply w-[42px] h-[42px];
54
+ @apply w-[36px] h-[36px];
55
55
  }
56
56
  .glorious-radio.size-4xl > input:checked ~ div:after {
57
- @apply w-[32px] h-[32px];
57
+ @apply w-[26px] h-[26px];
58
58
  }
59
59
  .glorious-radio.size-3xl {
60
- @apply w-[38px] h-[38px];
60
+ @apply w-[32px] h-[32px];
61
61
  }
62
62
  .glorious-radio.size-3xl > div:last-child {
63
- @apply w-[38px] h-[38px];
63
+ @apply w-[32px] h-[32px];
64
64
  }
65
65
  .glorious-radio.size-3xl > input:checked ~ div:after {
66
- @apply w-[28px] h-[28px];
66
+ @apply w-[22px] h-[22px];
67
67
  }
68
68
  .glorious-radio.size-2xl {
69
- @apply w-[34px] h-[34px];
69
+ @apply w-[28px] h-[28px];
70
70
  }
71
71
  .glorious-radio.size-2xl > div:last-child {
72
- @apply w-[34px] h-[34px];
72
+ @apply w-[28px] h-[28px];
73
73
  }
74
74
  .glorious-radio.size-2xl > input:checked ~ div:after {
75
- @apply w-[24px] h-[24px];
75
+ @apply w-[18px] h-[18px];
76
76
  }
77
77
  .glorious-radio.size-xl {
78
- @apply w-[30px] h-[30px];
78
+ @apply w-[24px] h-[24px];
79
79
  }
80
80
  .glorious-radio.size-xl > div:last-child {
81
- @apply w-[30px] h-[30px];
81
+ @apply w-[24px] h-[24px];
82
82
  }
83
83
  .glorious-radio.size-xl > input:checked ~ div:after {
84
- @apply w-[20px] h-[20px];
84
+ @apply w-[14px] h-[14px];
85
85
  }
86
86
  .glorious-radio.size-lg {
87
- @apply w-[26px] h-[26px];
87
+ @apply w-[18px] h-[18px];
88
88
  }
89
89
  .glorious-radio.size-lg > div:last-child {
90
- @apply w-[26px] h-[26px];
90
+ @apply w-[18px] h-[18px];
91
91
  }
92
92
  .glorious-radio.size-lg > input:checked ~ div:after {
93
- @apply w-[16px] h-[16px];
93
+ @apply w-[8px] h-[8px];
94
94
  }
95
95
  .glorious-radio.size-md {
96
- @apply w-[22px] h-[22px];
96
+ @apply w-[14px] h-[14px];
97
97
  }
98
98
  .glorious-radio.size-md > div:last-child {
99
- @apply w-[22px] h-[22px];
99
+ @apply w-[14px] h-[14px];
100
100
  }
101
101
  .glorious-radio.size-md > input:checked ~ div:after {
102
- @apply w-[12px] h-[12px];
102
+ @apply w-[4px] h-[4px];
103
103
  }
104
104
  .glorious-radio.size-sm {
105
- @apply w-[18px] h-[18px];
105
+ @apply w-[10px] h-[10px];
106
106
  }
107
107
  .glorious-radio.size-sm > div:last-child {
108
- @apply w-[18px] h-[18px];
108
+ @apply w-[10px] h-[10px];
109
109
  }
110
110
  .glorious-radio.size-sm > input:checked ~ div:after {
111
- @apply w-[8px] h-[8px];
111
+ @apply w-[0px] h-[0px];
112
112
  }
113
113
  .glorious-radio.size-xs {
114
- @apply w-[14px] h-[14px];
114
+ @apply w-[6px] h-[6px];
115
115
  }
116
116
  .glorious-radio.size-xs > div:last-child {
117
- @apply w-[14px] h-[14px];
117
+ @apply w-[6px] h-[6px];
118
118
  }
119
119
  .glorious-radio.size-xs > input:checked ~ div:after {
120
- @apply w-[4px] h-[4px];
120
+ @apply w-[-4px] h-[-4px];
121
121
  }
@@ -1,54 +1,59 @@
1
- .xl.glorious-select-orange, .xl.glorious-select-blue, .xl.glorious-select-gray, .xl.glorious-select-red, .xl.glorious-select-primary {
1
+ .xl.glorious-select-green, .xl.glorious-select-red, .xl.glorious-select-gray, .xl.glorious-select-blue, .xl.glorious-select-orange {
2
2
  @apply py-[0.657rem];
3
3
  }
4
- .lg.glorious-select-orange, .lg.glorious-select-blue, .lg.glorious-select-gray, .lg.glorious-select-red, .lg.glorious-select-primary {
4
+ .lg.glorious-select-green, .lg.glorious-select-red, .lg.glorious-select-gray, .lg.glorious-select-blue, .lg.glorious-select-orange {
5
5
  @apply py-[0.532rem];
6
6
  }
7
- .md.glorious-select-orange, .md.glorious-select-blue, .md.glorious-select-gray, .md.glorious-select-red, .md.glorious-select-primary {
7
+ .md.glorious-select-green, .md.glorious-select-red, .md.glorious-select-gray, .md.glorious-select-blue, .md.glorious-select-orange {
8
8
  @apply py-[0.407rem];
9
9
  }
10
- .sm.glorious-select-orange, .sm.glorious-select-blue, .sm.glorious-select-gray, .sm.glorious-select-red, .sm.glorious-select-primary {
10
+ .sm.glorious-select-green, .sm.glorious-select-red, .sm.glorious-select-gray, .sm.glorious-select-blue, .sm.glorious-select-orange {
11
11
  @apply py-[0.282rem];
12
12
  }
13
- .xsm.glorious-select-orange, .xsm.glorious-select-blue, .xsm.glorious-select-gray, .xsm.glorious-select-red, .xsm.glorious-select-primary {
13
+ .xsm.glorious-select-green, .xsm.glorious-select-red, .xsm.glorious-select-gray, .xsm.glorious-select-blue, .xsm.glorious-select-orange {
14
14
  @apply py-[0.157rem];
15
15
  }
16
16
 
17
- .glorious-select-orange:focus-visible, .glorious-select-blue:focus-visible, .glorious-select-gray:focus-visible, .glorious-select-red:focus-visible, .glorious-select-primary:focus-visible {
17
+ .glorious-select-green:focus-visible, .glorious-select-red:focus-visible, .glorious-select-gray:focus-visible, .glorious-select-blue:focus-visible, .glorious-select-orange:focus-visible {
18
18
  @apply outline-none ring-2;
19
19
  }
20
20
 
21
- .glorious-select-primary {
22
- @apply rounded-md ring-1 ring-green-500 px-3 text-gray-500 text-[14px];
21
+ .glorious-select-orange {
22
+ @apply ring-orange-500;
23
+ @apply rounded-md ring-1 px-3 text-gray-500 text-[14px];
23
24
  }
24
- .glorious-select-primary:disabled {
25
+ .glorious-select-orange:disabled {
25
26
  @apply cursor-not-allowed;
26
27
  }
27
28
 
28
- .glorious-select-red {
29
- @apply rounded-md ring-1 ring-red-500 px-3;
29
+ .glorious-select-blue {
30
+ @apply ring-blue-500;
31
+ @apply rounded-md ring-1 px-3 text-gray-500 text-[14px];
30
32
  }
31
- .glorious-select-red:disabled {
33
+ .glorious-select-blue:disabled {
32
34
  @apply cursor-not-allowed;
33
35
  }
34
36
 
35
37
  .glorious-select-gray {
36
- @apply rounded-md ring-1 ring-gray-500 px-3;
38
+ @apply ring-gray-500;
39
+ @apply rounded-md ring-1 px-3 text-gray-500 text-[14px];
37
40
  }
38
41
  .glorious-select-gray:disabled {
39
42
  @apply cursor-not-allowed;
40
43
  }
41
44
 
42
- .glorious-select-blue {
43
- @apply rounded-md ring-1 ring-blue-500 px-3;
45
+ .glorious-select-red {
46
+ @apply ring-red-500;
47
+ @apply rounded-md ring-1 px-3 text-gray-500 text-[14px];
44
48
  }
45
- .glorious-select-blue:disabled {
49
+ .glorious-select-red:disabled {
46
50
  @apply cursor-not-allowed;
47
51
  }
48
52
 
49
- .glorious-select-orange {
50
- @apply rounded-md ring-1 ring-orange-500 px-3;
53
+ .glorious-select-green {
54
+ @apply ring-green-500;
55
+ @apply rounded-md ring-1 px-3 text-gray-500 text-[14px];
51
56
  }
52
- .glorious-select-orange:disabled {
57
+ .glorious-select-green:disabled {
53
58
  @apply cursor-not-allowed;
54
59
  }
@@ -1,56 +1,56 @@
1
- .xl.glorious-textarea-orange, .xl.glorious-textarea-blue, .xl.glorious-textarea-gray, .xl.glorious-textarea-red, .xl.glorious-textarea-primary {
2
- @apply py-2.5;
3
- }
4
- .lg.glorious-textarea-orange, .lg.glorious-textarea-blue, .lg.glorious-textarea-gray, .lg.glorious-textarea-red, .lg.glorious-textarea-primary {
5
- @apply py-2;
6
- }
7
- .md.glorious-textarea-orange, .md.glorious-textarea-blue, .md.glorious-textarea-gray, .md.glorious-textarea-red, .md.glorious-textarea-primary {
8
- @apply py-1.5;
9
- }
10
- .sm.glorious-textarea-orange, .sm.glorious-textarea-blue, .sm.glorious-textarea-gray, .sm.glorious-textarea-red, .sm.glorious-textarea-primary {
11
- @apply py-1;
12
- }
13
- .xsm.glorious-textarea-orange, .xsm.glorious-textarea-blue, .xsm.glorious-textarea-gray, .xsm.glorious-textarea-red, .xsm.glorious-textarea-primary {
14
- @apply py-0.5;
1
+ .glorious-textarea-orange {
2
+ @apply ring-orange-500;
3
+ @apply rounded-md ring-1 px-3;
15
4
  }
16
-
17
- .glorious-textarea-orange:focus-visible, .glorious-textarea-blue:focus-visible, .glorious-textarea-gray:focus-visible, .glorious-textarea-red:focus-visible, .glorious-textarea-primary:focus-visible {
5
+ .glorious-textarea-orange:focus-visible {
18
6
  @apply outline-none ring-2;
19
7
  }
20
-
21
- .glorious-textarea-primary {
22
- @apply rounded-md ring-1 ring-green-500 px-3;
23
- }
24
- .glorious-textarea-primary:disabled {
8
+ .glorious-textarea-orange:disabled {
25
9
  @apply bg-green-300 cursor-not-allowed;
26
10
  }
27
11
 
28
- .glorious-textarea-red {
29
- @apply rounded-md ring-1 ring-red-500 px-3;
12
+ .glorious-textarea-blue {
13
+ @apply ring-blue-500;
14
+ @apply rounded-md ring-1 px-3;
30
15
  }
31
- .glorious-textarea-red:disabled {
32
- @apply cursor-not-allowed;
16
+ .glorious-textarea-blue:focus-visible {
17
+ @apply outline-none ring-2;
18
+ }
19
+ .glorious-textarea-blue:disabled {
20
+ @apply bg-green-300 cursor-not-allowed;
33
21
  }
34
22
 
35
23
  .glorious-textarea-gray {
36
- @apply rounded-md ring-1 ring-gray-500 px-3;
24
+ @apply ring-gray-500;
25
+ @apply rounded-md ring-1 px-3;
26
+ }
27
+ .glorious-textarea-gray:focus-visible {
28
+ @apply outline-none ring-2;
37
29
  }
38
30
  .glorious-textarea-gray:disabled {
39
- @apply cursor-not-allowed;
31
+ @apply bg-green-300 cursor-not-allowed;
40
32
  }
41
33
 
42
- .glorious-textarea-blue {
43
- @apply rounded-md ring-1 ring-blue-500 px-3;
34
+ .glorious-textarea-red {
35
+ @apply ring-red-500;
36
+ @apply rounded-md ring-1 px-3;
44
37
  }
45
- .glorious-textarea-blue:disabled {
46
- @apply cursor-not-allowed;
38
+ .glorious-textarea-red:focus-visible {
39
+ @apply outline-none ring-2;
40
+ }
41
+ .glorious-textarea-red:disabled {
42
+ @apply bg-green-300 cursor-not-allowed;
47
43
  }
48
44
 
49
- .glorious-textarea-orange {
50
- @apply rounded-md ring-1 ring-orange-500 px-3;
45
+ .glorious-textarea-green {
46
+ @apply ring-green-500;
47
+ @apply rounded-md ring-1 px-3;
51
48
  }
52
- .glorious-textarea-orange:disabled {
53
- @apply cursor-not-allowed;
49
+ .glorious-textarea-green:focus-visible {
50
+ @apply outline-none ring-2;
51
+ }
52
+ .glorious-textarea-green:disabled {
53
+ @apply bg-green-300 cursor-not-allowed;
54
54
  }
55
55
 
56
56
  .glorious-textarea {
File without changes