nuxt-glorious 2.0.0-develop-11 → 2.0.0-develop-13
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.d.mts +11 -1
- package/dist/module.d.ts +11 -1
- package/dist/module.json +1 -1
- package/dist/runtime/components/G/Select.vue +5 -1
- package/dist/runtime/components/props/Select.d.ts +5 -0
- package/dist/runtime/components/props/Select.mjs +6 -1
- package/dist/runtime/style/style.css +20 -3
- package/package.json +1 -1
package/dist/module.d.mts
CHANGED
@@ -33,7 +33,17 @@ interface ModuleOptions {
|
|
33
33
|
components: {
|
34
34
|
alert: {
|
35
35
|
props: {
|
36
|
-
color
|
36
|
+
color?: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
select: {
|
40
|
+
props: {
|
41
|
+
color?: string;
|
42
|
+
size?: 'md';
|
43
|
+
disabled?: false;
|
44
|
+
required?: false;
|
45
|
+
displayTextKey?: 'text';
|
46
|
+
keyOfValue?: 'value';
|
37
47
|
};
|
38
48
|
};
|
39
49
|
};
|
package/dist/module.d.ts
CHANGED
@@ -33,7 +33,17 @@ interface ModuleOptions {
|
|
33
33
|
components: {
|
34
34
|
alert: {
|
35
35
|
props: {
|
36
|
-
color
|
36
|
+
color?: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
select: {
|
40
|
+
props: {
|
41
|
+
color?: string;
|
42
|
+
size?: 'md';
|
43
|
+
disabled?: false;
|
44
|
+
required?: false;
|
45
|
+
displayTextKey?: 'text';
|
46
|
+
keyOfValue?: 'value';
|
37
47
|
};
|
38
48
|
};
|
39
49
|
};
|
package/dist/module.json
CHANGED
@@ -61,7 +61,11 @@ const firstVal = selectValue.value
|
|
61
61
|
"
|
62
62
|
:value="firstVal"
|
63
63
|
>
|
64
|
-
{{
|
64
|
+
{{
|
65
|
+
props.firstOptionText === ''
|
66
|
+
? props.placeholder
|
67
|
+
: props.firstOptionText
|
68
|
+
}}
|
65
69
|
</option>
|
66
70
|
<option
|
67
71
|
v-for="(item, index) in props.options"
|
@@ -1328,13 +1328,30 @@ label.checked {
|
|
1328
1328
|
.glorious-tooltip {
|
1329
1329
|
@apply relative w-max;
|
1330
1330
|
}
|
1331
|
-
.glorious-tooltip
|
1332
|
-
|
1331
|
+
.glorious-tooltip .tooltip-slot:hover + .tooltip-content {
|
1332
|
+
opacity: 1;
|
1333
|
+
display: inline;
|
1334
|
+
animation: anim-glorious-tooltip 500ms backwards;
|
1333
1335
|
}
|
1334
1336
|
.glorious-tooltip > .tooltip-content {
|
1335
|
-
@apply bg-white w-max rounded-lg shadow-md pt-2 px-3 flex absolute bottom-10
|
1337
|
+
@apply bg-white w-max rounded-lg shadow-md pt-2 px-3 flex absolute bottom-10 right-0 left-0 mx-auto;
|
1338
|
+
display: none;
|
1339
|
+
opacity: 0;
|
1336
1340
|
}
|
1337
1341
|
|
1342
|
+
@keyframes anim-glorious-tooltip {
|
1343
|
+
0% {
|
1344
|
+
opacity: 0;
|
1345
|
+
display: none;
|
1346
|
+
}
|
1347
|
+
1% {
|
1348
|
+
display: inline-block !important;
|
1349
|
+
}
|
1350
|
+
100% {
|
1351
|
+
opacity: 1 !important;
|
1352
|
+
display: inline-block !important;
|
1353
|
+
}
|
1354
|
+
}
|
1338
1355
|
.glorious-backdrop {
|
1339
1356
|
@apply backdrop-blur-md fixed top-0 w-full h-full bg-gray-500/50 z-40;
|
1340
1357
|
}
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "2.0.0-develop-
|
2
|
+
"version": "2.0.0-develop-13",
|
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",
|