@tekkare/auriga 0.2.49 → 0.2.50

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.49"
7
+ "version": "0.2.50"
8
8
  }
@@ -1,7 +1,13 @@
1
1
  <template>
2
2
  <div class="arg_home_all_blocks">
3
3
  <div v-if="hasGlobal" class="arg_home_all_blocks">
4
- <h1 class="arg_home_blocks_title">{{ getGlobalTitle }}</h1>
4
+ <div class="oip_list v-start gap-8">
5
+ <h1 class="arg_home_blocks_title">{{ getGlobalTitle }}</h1>
6
+ <p v-if="globalSubtitle !== null" class="home_subtitle">
7
+ {{ globalSubtitle }}
8
+ </p>
9
+ </div>
10
+
5
11
  <div class="oip_row v-start gap-16 wrap full_stretch">
6
12
  <div
7
13
  v-for="(block, index) in globalBlocks"
@@ -23,8 +29,15 @@
23
29
  </div>
24
30
  </div>
25
31
  <div v-if="filterBlocks !== null" class="arg_home_all_blocks">
26
- <h1 class="arg_home_blocks_title">{{ getTitle }}</h1>
32
+ <div class="oip_list v-start gap-8">
33
+ <h1 class="arg_home_blocks_title">{{ getTitle }}</h1>
34
+ <p v-if="appSubtitle !== null" class="home_subtitle">
35
+ {{ appSubtitle }}
36
+ </p>
37
+ </div>
38
+
27
39
  <arg-search-input
40
+ v-if="searchApps"
28
41
  v-model:Value="searchBlocks"
29
42
  :place-holder-value="getSearchPlaceholder"
30
43
  />
@@ -106,6 +119,14 @@ export default defineComponent({
106
119
  type: String,
107
120
  default: null
108
121
  },
122
+ globalSubtitle: {
123
+ type: String,
124
+ default: null
125
+ },
126
+ appSubtitle: {
127
+ type: String,
128
+ default: null
129
+ },
109
130
  appBlocks: {
110
131
  type: Array,
111
132
  default: () => []
@@ -126,6 +147,10 @@ export default defineComponent({
126
147
  type: Boolean,
127
148
  default: false
128
149
  },
150
+ searchApps: {
151
+ type: Boolean,
152
+ default: true
153
+ },
129
154
  lang: {
130
155
  type: String,
131
156
  default: "en",
@@ -208,5 +233,5 @@ export default defineComponent({
208
233
  </script>
209
234
 
210
235
  <style scoped>
211
- .arg_home_all_blocks{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:24px}.block_card{align-self:stretch;cursor:pointer;flex:0 0 calc(50% - 59px);margin:0!important;padding:24px!important}.block_card:not(.block_selected):hover .block_title{color:var(--primary)!important}.block_descr{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-style:normal;font-weight:400;line-height:160%;overflow:hidden}.block_content{align-items:flex-start;display:flex;flex-direction:column;gap:12px}.block_title{align-items:flex-end;display:flex;flex-direction:row;font-size:16px;font-style:normal;font-weight:700;gap:8px;line-height:normal}.block_selected{background:var(--primary)!important;border:1px solid var(--primary)!important;box-shadow:var(--large-shadow)!important;color:var(--white)!important}.full_stretch{align-self:stretch}.population p{color:var(--medium);font-size:12px;font-weight:400;line-height:14px}.block_selected>.block_content>.card_head>.population p,.block_selected>.block_content>.card_head>.population svg{color:var(--white)!important}
236
+ .arg_home_all_blocks{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:24px}.block_card{align-self:stretch;cursor:pointer;flex:0 0 calc(50% - 59px);margin:0!important;padding:24px!important}.block_card:not(.block_selected):hover .block_title{color:var(--primary)!important}.block_descr{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-style:normal;font-weight:400;line-height:160%;overflow:hidden}.block_content{align-items:flex-start;display:flex;flex-direction:column;gap:12px}.block_title{align-items:flex-end;display:flex;flex-direction:row;font-size:16px;font-style:normal;font-weight:700;gap:8px;line-height:normal}.block_selected{background:var(--primary)!important;border:1px solid var(--primary)!important;box-shadow:var(--large-shadow)!important;color:var(--white)!important}.full_stretch{align-self:stretch}.population p{color:var(--medium);font-size:12px;font-weight:400;line-height:14px}.block_selected>.block_content>.card_head>.population p,.block_selected>.block_content>.card_head>.population svg{color:var(--white)!important}.home_subtitle{color:var(--dark);font-size:14px;font-style:normal;font-weight:400;line-height:160%}
212
237
  </style>
@@ -11,6 +11,14 @@ declare const _default: import("vue").DefineComponent<{
11
11
  type: StringConstructor;
12
12
  default: null;
13
13
  };
14
+ globalSubtitle: {
15
+ type: StringConstructor;
16
+ default: null;
17
+ };
18
+ appSubtitle: {
19
+ type: StringConstructor;
20
+ default: null;
21
+ };
14
22
  appBlocks: {
15
23
  type: ArrayConstructor;
16
24
  default: () => never[];
@@ -31,6 +39,10 @@ declare const _default: import("vue").DefineComponent<{
31
39
  type: BooleanConstructor;
32
40
  default: boolean;
33
41
  };
42
+ searchApps: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
34
46
  lang: {
35
47
  type: StringConstructor;
36
48
  default: string;
@@ -58,6 +70,14 @@ declare const _default: import("vue").DefineComponent<{
58
70
  type: StringConstructor;
59
71
  default: null;
60
72
  };
73
+ globalSubtitle: {
74
+ type: StringConstructor;
75
+ default: null;
76
+ };
77
+ appSubtitle: {
78
+ type: StringConstructor;
79
+ default: null;
80
+ };
61
81
  appBlocks: {
62
82
  type: ArrayConstructor;
63
83
  default: () => never[];
@@ -78,6 +98,10 @@ declare const _default: import("vue").DefineComponent<{
78
98
  type: BooleanConstructor;
79
99
  default: boolean;
80
100
  };
101
+ searchApps: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
81
105
  lang: {
82
106
  type: StringConstructor;
83
107
  default: string;
@@ -91,10 +115,13 @@ declare const _default: import("vue").DefineComponent<{
91
115
  title: string;
92
116
  globalTitle: string;
93
117
  searchPlaceholder: string;
118
+ globalSubtitle: string;
119
+ appSubtitle: string;
94
120
  appBlocks: unknown[];
95
121
  globalBlocks: unknown[];
96
122
  hasGlobal: boolean;
97
123
  customizeBlocks: boolean;
98
124
  seperateCustoms: boolean;
125
+ searchApps: boolean;
99
126
  }, {}>;
100
127
  export default _default;
@@ -17,10 +17,16 @@
17
17
  <div class="theme_title_display">
18
18
  <div class="oip_row v-center space-between">
19
19
  <div class="oip_row v-center gap-8">
20
- <arg-flag v-if="selected.iso" :iso="selected.iso" height="16" />
20
+ <arg-flag
21
+ v-if="selected.iso"
22
+ :iso="selected.iso"
23
+ height="16"
24
+ :emoji="selected.iso === 'ww'"
25
+ />
21
26
  <arg-flag
22
27
  v-else-if="selected.country"
23
28
  :slug="selected.country.toLowerCase()"
29
+ :emoji="selected.country === 'world'"
24
30
  height="16"
25
31
  />
26
32
  <p class="theme_title">{{ selected.title }}</p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.49",
3
+ "version": "0.2.50",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",