@tekkare/auriga 0.2.77 → 0.2.78

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
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.2.77"
7
+ "version": "0.2.78"
8
8
  }
@@ -49,22 +49,24 @@
49
49
  </div>
50
50
  <p class="theme_descr">{{ selected.description }}</p>
51
51
  </div>
52
- <div class="selected_block_links">
52
+ <div class="selected_block_links" :class="lineBreak ? '' : 'gap-4'">
53
53
  <div v-for="(item, index) in selected.links" :key="index">
54
- <arg-sub-menu
55
- v-if="item.subLinks"
56
- sidebar-open
57
- :label="item.linkName"
58
- >
59
- <arg-menu-item
60
- v-for="(subLink, subIndex) in item.subLinks"
61
- :key="subIndex"
62
- sidebar-open
63
- :label="subLink.name"
64
- :to="subLink.to"
65
- :icon="subLink.icon"
54
+ <span v-if="item.subLinks">
55
+ <arg-sub-menu sidebar-open :label="item.linkName">
56
+ <arg-menu-item
57
+ v-for="(subLink, subIndex) in item.subLinks"
58
+ :key="subIndex"
59
+ sidebar-open
60
+ :label="subLink.name"
61
+ :to="subLink.to"
62
+ :icon="subLink.icon"
63
+ />
64
+ </arg-sub-menu>
65
+ <arg-line-break
66
+ v-if="lineBreak && index !== selected.links.length - 1"
67
+ class="my-4"
66
68
  />
67
- </arg-sub-menu>
69
+ </span>
68
70
  <arg-menu-item
69
71
  v-else
70
72
  sidebar-open
@@ -103,6 +105,10 @@ export default defineComponent({
103
105
  validator: (value) => {
104
106
  return ["en", "fr", "es", "jp", "kr"].includes(value);
105
107
  }
108
+ },
109
+ lineBreak: {
110
+ type: Boolean,
111
+ default: false
106
112
  }
107
113
  },
108
114
  setup(props) {
@@ -131,5 +137,5 @@ export default defineComponent({
131
137
  </script>
132
138
 
133
139
  <style scoped>
134
- .selected_block_card{flex:1;height:-moz-fit-content;height:fit-content;margin:0!important;padding:24px;position:fixed;position:sticky;top:12vh}.selected_block_display{display:flex;flex-direction:column;gap:24px}.theme_select_message{display:flex;flex-direction:column;gap:12px}.theme_title_display{display:flex;flex-direction:column;gap:8px}.icon_square{align-items:center;background:var(--light);border-radius:8px;display:flex;justify-content:center;padding:8px;width:-moz-fit-content;width:fit-content}.theme_title{font-size:20px;font-style:normal;font-weight:900;line-height:normal}.theme_descr{font-size:14px;font-style:normal;font-weight:400;line-height:160%}.selected_block_links{display:flex;flex-direction:column;gap:4px}.population p{color:var(--medium);font-size:12px;font-weight:400;line-height:14px}
140
+ .selected_block_card{flex:1;height:-moz-fit-content;height:fit-content;margin:0!important;padding:24px;position:fixed;position:sticky;top:12vh}.selected_block_display{display:flex;flex-direction:column;gap:24px}.theme_select_message{display:flex;flex-direction:column;gap:12px}.theme_title_display{display:flex;flex-direction:column;gap:8px}.icon_square{align-items:center;background:var(--light);border-radius:8px;display:flex;justify-content:center;padding:8px;width:-moz-fit-content;width:fit-content}.theme_title{font-size:20px;font-style:normal;font-weight:900;line-height:normal}.theme_descr{font-size:14px;font-style:normal;font-weight:400;line-height:160%}.selected_block_links{display:flex;flex-direction:column}.selected_block_links.gap-4{gap:4px}.population p{color:var(--medium);font-size:12px;font-weight:400;line-height:14px}.my-4{margin:4px 0}
135
141
  </style>
@@ -8,6 +8,10 @@ declare const _default: import("vue").DefineComponent<{
8
8
  default: string;
9
9
  validator: (value: string) => boolean;
10
10
  };
11
+ lineBreak: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
11
15
  }, {
12
16
  langData: import("vue").Ref<any>;
13
17
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -20,8 +24,13 @@ declare const _default: import("vue").DefineComponent<{
20
24
  default: string;
21
25
  validator: (value: string) => boolean;
22
26
  };
27
+ lineBreak: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
23
31
  }>>, {
24
32
  lang: string;
25
33
  selected: Record<string, any>;
34
+ lineBreak: boolean;
26
35
  }, {}>;
27
36
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.77",
3
+ "version": "0.2.78",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",