nuxt-glorious 0.8.4 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
package/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2024 sajad hosseini zadeh
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
package/dist/module.json
CHANGED
@@ -4,11 +4,16 @@ const props = defineProps({
|
|
4
4
|
required: true,
|
5
5
|
type: Object,
|
6
6
|
},
|
7
|
+
dir: {
|
8
|
+
required: false,
|
9
|
+
type: String as () => "rtl" | "ltr",
|
10
|
+
default: "rtl",
|
11
|
+
},
|
7
12
|
});
|
8
13
|
</script>
|
9
14
|
|
10
15
|
<template>
|
11
|
-
<div class="flex gap-1 flex-wrap">
|
16
|
+
<div class="flex gap-1 flex-wrap dir-ltr" :dir="props.dir">
|
12
17
|
<div
|
13
18
|
v-for="(item, key, index) in props.items"
|
14
19
|
:key="index"
|
@@ -32,7 +37,7 @@ const props = defineProps({
|
|
32
37
|
<GIcon
|
33
38
|
v-if="index !== Object.entries(props.items).length - 1"
|
34
39
|
name="glorious-arrow"
|
35
|
-
style="rotate: 180deg"
|
40
|
+
:style="{ rotate: props.dir === 'rtl' ? '180deg' : '0deg' }"
|
36
41
|
:size="10"
|
37
42
|
color="#6b7280"
|
38
43
|
/>
|
@@ -3,12 +3,12 @@ const props = defineProps({
|
|
3
3
|
color: {
|
4
4
|
required: false,
|
5
5
|
default: "primary",
|
6
|
-
type: String,
|
6
|
+
type: String as () => "orange" | "blue" | "gray" | "red" | "primary",
|
7
7
|
},
|
8
8
|
size: {
|
9
9
|
required: false,
|
10
10
|
default: "md",
|
11
|
-
type: String,
|
11
|
+
type: String as () => "xl" | "lg" | "md" | "sm" | "xsm",
|
12
12
|
},
|
13
13
|
outline: {
|
14
14
|
required: false,
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "0.8.
|
2
|
+
"version": "0.8.7",
|
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",
|