@tekkare/auriga 0.2.142 → 0.2.144

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.142"
7
+ "version": "0.2.144"
8
8
  }
@@ -22,7 +22,17 @@
22
22
  v-bind:block="block"
23
23
  />
24
24
  <div v-else class="block_content">
25
- <p class="block_title">{{ block.title }}</p>
25
+ <div class="oip_row v-center">
26
+ <arg-tags v-if="block.new && block.tag" set-style="emerald">{{
27
+ block.tag
28
+ }}</arg-tags>
29
+ <p
30
+ class="block_title"
31
+ :class="block.new && block.tag ? 'ml-4' : ''"
32
+ >
33
+ {{ block.title }}
34
+ </p>
35
+ </div>
26
36
  <p class="block_descr">{{ block.description }}</p>
27
37
  </div>
28
38
  </div>
@@ -92,6 +102,12 @@
92
102
  class="oip_row v-center space-between full_stretch card_head"
93
103
  >
94
104
  <p class="block_title">
105
+ <arg-tags
106
+ v-if="block.new && block.tag"
107
+ set-style="emerald"
108
+ >{{ block.tag }}</arg-tags
109
+ >
110
+
95
111
  <span v-if="block.country"
96
112
  ><arg-flag
97
113
  v-if="block.iso"
@@ -160,6 +176,10 @@
160
176
  <div v-else class="block_content">
161
177
  <div class="oip_row v-center space-between full_stretch card_head">
162
178
  <p class="block_title">
179
+ <arg-tags v-if="block.new && block.tag" set-style="emerald">{{
180
+ block.tag
181
+ }}</arg-tags>
182
+
163
183
  <span v-if="block.country"
164
184
  ><arg-flag
165
185
  v-if="block.iso"
@@ -214,9 +234,10 @@ import {
214
234
  } from "vue";
215
235
  import argSearchInput from "./argSearchInput.vue";
216
236
  import argFlag from "./argFlag.vue";
237
+ import argTags from "./argTags.vue";
217
238
  export default defineComponent({
218
239
  name: "argHomeAllBlocks",
219
- components: { argSearchInput, argFlag },
240
+ components: { argSearchInput, argFlag, argTags },
220
241
  props: {
221
242
  title: {
222
243
  type: String,
@@ -368,5 +389,5 @@ export default defineComponent({
368
389
  </script>
369
390
 
370
391
  <style scoped>
371
- .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.disable{background:var(--light)!important;pointer-events:none}.block_card:not(.block_selected,.disable):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%}.category_container{border-top:1.5px solid var(--light);padding:24px 0;position:relative}.category_label{align-items:center;background:var(--lightest);border-radius:4px;display:flex;gap:8px;left:24px;padding:4px 12px;position:absolute;top:-14px}.category_label>p,p.category_label{color:var(--medium);font-size:14px;font-weight:500;text-transform:uppercase}.stretch{align-self:stretch}
392
+ .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.disable{background:var(--light)!important;pointer-events:none}.block_card:not(.block_selected,.disable):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%}.category_container{border-top:1.5px solid var(--light);padding:24px 0;position:relative}.category_label{align-items:center;background:var(--lightest);border-radius:4px;display:flex;gap:8px;left:24px;padding:4px 12px;position:absolute;top:-14px}.category_label>p,p.category_label{color:var(--medium);font-size:14px;font-weight:500;text-transform:uppercase}.stretch{align-self:stretch}.ml-4{margin-left:4px!important}
372
393
  </style>
@@ -137,5 +137,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
137
137
  }, {}, {
138
138
  argSearchInput: any;
139
139
  argFlag: any;
140
+ argTags: any;
140
141
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
141
142
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.142",
3
+ "version": "0.2.144",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",