@weni/unnnic-system 2.0.16 → 2.0.18

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.
Files changed (71) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/unnnic.mjs +4655 -4530
  3. package/dist/unnnic.umd.js +18 -18
  4. package/package.json +3 -2
  5. package/src/components/AudioRecorder/AudioHandler.vue +2 -0
  6. package/src/components/AudioRecorder/AudioPlayer.vue +2 -0
  7. package/src/components/AudioRecorder/AudioRecorder.vue +6 -4
  8. package/src/components/Card/CardData.vue +2 -2
  9. package/src/components/CardProject/CardProject.vue +6 -6
  10. package/src/components/ChartRainbow/ChartRainbow.vue +4 -4
  11. package/src/components/ChatsMessage/ChatsMessage.vue +11 -2
  12. package/src/components/ChatsMessage/ChatsMessageStatusBackdrop.vue +1 -4
  13. package/src/components/DateFilter/DateFilter.vue +2 -2
  14. package/src/components/DatePicker/DatePicker.vue +53 -55
  15. package/src/components/DatePicker/translations.js +131 -0
  16. package/src/components/Dropdown/LanguageSelect.vue +7 -7
  17. package/src/components/ImportCard/ImportCard.vue +2 -2
  18. package/src/components/ProgressBar/ProgressBar.vue +3 -3
  19. package/src/components/Sidebar/SidebarPrimary.vue +15 -5
  20. package/src/components/TabsExpanded/TabsExpanded.vue +1 -0
  21. package/src/stories/Accordion.stories.js +35 -40
  22. package/src/stories/Alert.stories.js +98 -83
  23. package/src/stories/Breadcrumb.stories.js +12 -23
  24. package/src/stories/ButtonIcon.stories.js +2 -2
  25. package/src/stories/CardCompany.stories.js +52 -58
  26. package/src/stories/CardData.stories.js +8 -26
  27. package/src/stories/CardImage.stories.js +49 -48
  28. package/src/stories/CardInformation.stories.js +33 -54
  29. package/src/stories/CardProject.stories.js +50 -52
  30. package/src/stories/Carousel.stories.js +32 -27
  31. package/src/stories/ChartBar.stories.js +82 -102
  32. package/src/stories/ChartLine.stories.js +42 -52
  33. package/src/stories/ChartMultiLine.stories.js +39 -49
  34. package/src/stories/ChartRainbow.stories.js +2 -2
  35. package/src/stories/ChatText.stories.js +38 -44
  36. package/src/stories/ChatsContact.stories.js +57 -54
  37. package/src/stories/ChatsDashboardTagLive.stories.js +1 -8
  38. package/src/stories/ChatsHeader.stories.js +63 -74
  39. package/src/stories/ChatsMessage.stories.js +208 -216
  40. package/src/stories/CircleProgressBar.stories.js +4 -20
  41. package/src/stories/Collapse.stories.js +49 -55
  42. package/src/stories/Comment.stories.js +57 -54
  43. package/src/stories/DataArea.stories.js +60 -65
  44. package/src/stories/DateFilter.stories.js +7 -12
  45. package/src/stories/DatePicker.stories.js +7 -68
  46. package/src/stories/Disclaimer.stories.js +12 -27
  47. package/src/stories/Drawer.stories.js +116 -110
  48. package/src/stories/Dropdown.stories.js +22 -12
  49. package/src/stories/FormElement.stories.js +18 -23
  50. package/src/stories/Grid.stories.js +4 -10
  51. package/src/stories/Icon.stories.js +2 -2
  52. package/src/stories/IconLoading.stories.js +5 -11
  53. package/src/stories/ImportCard.stories.js +12 -19
  54. package/src/stories/Indicator.stories.js +8 -13
  55. package/src/stories/InputDatePicker.stories.js +27 -32
  56. package/src/stories/LanguageSelect.stories.js +12 -16
  57. package/src/stories/Modal.stories.js +66 -40
  58. package/src/stories/MoodRating.stories.js +27 -32
  59. package/src/stories/MultiSelect.stories.js +56 -50
  60. package/src/stories/Pagination.stories.js +21 -29
  61. package/src/stories/ProgressBar.stories.js +19 -54
  62. package/src/stories/Radio.stories.js +36 -35
  63. package/src/stories/Sidebar.stories.js +29 -27
  64. package/src/stories/SidebarPrimary.stories.js +87 -80
  65. package/src/stories/SkeletonLoading.stories.js +12 -29
  66. package/src/stories/StarRating.stories.js +29 -33
  67. package/src/stories/Switch.stories.js +26 -19
  68. package/src/stories/TabsExpanded.stories.js +56 -58
  69. package/src/stories/TextArea.stories.js +29 -34
  70. package/src/stories/TransitionRipple.stories.js +19 -18
  71. package/src/utils/plugins/i18n.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weni/unnnic-system",
3
- "version": "2.0.16",
3
+ "version": "2.0.18",
4
4
  "type": "commonjs",
5
5
  "files": [
6
6
  "dist",
@@ -50,6 +50,7 @@
50
50
  "vue-the-mask": "^0.11.1"
51
51
  },
52
52
  "devDependencies": {
53
+ "@storybook/addon-actions": "^8.0.10",
53
54
  "@storybook/addon-essentials": "^8.0.10",
54
55
  "@storybook/addon-interactions": "^8.0.10",
55
56
  "@storybook/addon-links": "^8.0.10",
@@ -70,7 +71,7 @@
70
71
  "react-dom": "^18.2.0",
71
72
  "sass": "^1.62.1",
72
73
  "storybook": "^8.0.10",
73
- "vite": "^4.3.5",
74
+ "vite": "4.3.5",
74
75
  "vue-eslint-parser": "^9.4.2"
75
76
  }
76
77
  }
@@ -37,6 +37,8 @@ import UnnnicIcon from '../Icon.vue';
37
37
  import UnnnicToolTip from '../ToolTip/ToolTip.vue';
38
38
 
39
39
  export default {
40
+ emits: ['save'],
41
+
40
42
  components: {
41
43
  UnnnicIcon,
42
44
  UnnnicToolTip,
@@ -47,6 +47,8 @@
47
47
  import UnnnicIcon from '../Icon.vue';
48
48
 
49
49
  export default {
50
+ emits: ['play', 'pause', 'progress-bar-update', 'failed-click'],
51
+
50
52
  components: {
51
53
  UnnnicIcon,
52
54
  },
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <section
3
- v-if="value || isRecording || src"
3
+ v-if="modelValue || isRecording || src"
4
4
  class="unnnic-audio-recorder"
5
5
  >
6
6
  <UnnnicToolTip
@@ -74,6 +74,8 @@ const normalizeData = (filteredData) => {
74
74
  export default {
75
75
  name: 'AudioRecorder',
76
76
 
77
+ emits: ['update:model-value', 'status', 'failed-click'],
78
+
77
79
  components: {
78
80
  AudioHandler,
79
81
  AudioPlayer,
@@ -82,7 +84,7 @@ export default {
82
84
  },
83
85
 
84
86
  props: {
85
- value: {
87
+ modelValue: {
86
88
  type: HTMLAudioElement,
87
89
  },
88
90
 
@@ -278,7 +280,7 @@ export default {
278
280
 
279
281
  this.audio = null;
280
282
 
281
- this.$emit('input', null);
283
+ this.$emit('update:model-value', null);
282
284
 
283
285
  this.status = 'idle';
284
286
  },
@@ -299,7 +301,7 @@ export default {
299
301
  this.recorder.stop();
300
302
  }
301
303
 
302
- this.$emit('input', this.audio);
304
+ this.$emit('update:model-value', this.audio);
303
305
 
304
306
  this.stopMockMilliseconds();
305
307
  },
@@ -38,10 +38,10 @@
38
38
  </template>
39
39
 
40
40
  <script>
41
- import unnnicIcon from '../Icon.vue';
41
+ import UnnnicIcon from '../Icon.vue';
42
42
 
43
43
  export default {
44
- components: { unnnicIcon },
44
+ components: { UnnnicIcon },
45
45
 
46
46
  props: {
47
47
  title: {
@@ -36,16 +36,16 @@
36
36
 
37
37
  <script>
38
38
  import CardStatusesContainer from '../Card/CardStatusesContainer.vue';
39
- import unnnicIcon from '../Icon.vue';
40
- import unnnicDropdown from '../Dropdown/Dropdown.vue';
41
- import unnnicTag from '../Tag/Tag.vue';
39
+ import UnnnicIcon from '../Icon.vue';
40
+ import UnnnicDropdown from '../Dropdown/Dropdown.vue';
41
+ import UnnnicTag from '../Tag/Tag.vue';
42
42
 
43
43
  export default {
44
44
  components: {
45
45
  CardStatusesContainer,
46
- unnnicIcon,
47
- unnnicDropdown,
48
- unnnicTag,
46
+ UnnnicIcon,
47
+ UnnnicDropdown,
48
+ UnnnicTag,
49
49
  },
50
50
 
51
51
  props: {
@@ -44,7 +44,7 @@
44
44
 
45
45
  <div class="content">
46
46
  <div class="percentage">
47
- <span class="number">{{ value }} </span>
47
+ <span class="number">{{ modelValue }} </span>
48
48
  <span class="symbol">%</span>
49
49
  </div>
50
50
 
@@ -63,7 +63,7 @@ export default {
63
63
  components: {},
64
64
 
65
65
  props: {
66
- value: {
66
+ modelValue: {
67
67
  type: Number,
68
68
  default: 0,
69
69
  },
@@ -74,7 +74,7 @@ export default {
74
74
  },
75
75
 
76
76
  watch: {
77
- value() {
77
+ modelValue() {
78
78
  this.updateChartSvg();
79
79
  },
80
80
  },
@@ -138,7 +138,7 @@ export default {
138
138
  139.44,
139
139
  152.72,
140
140
  -85,
141
- -85 + (this.value / 100) * 170,
141
+ -85 + (this.modelValue / 100) * 170,
142
142
  ),
143
143
  );
144
144
  },
@@ -61,13 +61,13 @@
61
61
  v-else-if="isMedia"
62
62
  class="unnnic-chats-message__media__container"
63
63
  :class="{ failed: failedToSendMedia }"
64
- @click="$emit('click-image')"
64
+ @click="onClickMedia"
65
65
  >
66
66
  <slot />
67
67
  <UnnnicChatsMessageStatusBackdrop
68
68
  v-if="(sendingMedia || failedToSendMedia) && (isImage || isVideo)"
69
69
  :status="status"
70
- @click="status === 'failed' ? $emit('click') : () => {}"
70
+ @click.stop="status === 'failed' ? $emit('click') : () => {}"
71
71
  />
72
72
  </div>
73
73
  <UnnnicIconLoading
@@ -93,6 +93,7 @@ import UnnnicIcon from '../Icon.vue';
93
93
 
94
94
  export default {
95
95
  name: 'UnnnicChatsMessage',
96
+ emits: ['click', 'click-image'],
96
97
  components: {
97
98
  UnnnicChatsMessageText,
98
99
  UnnnicChatsMessageStatusBackdrop,
@@ -179,6 +180,14 @@ export default {
179
180
  return (this.isImage || this.isVideo) && this.status === 'failed';
180
181
  },
181
182
  },
183
+
184
+ methods: {
185
+ onClickMedia() {
186
+ if (this.isImage || this.isVideo) {
187
+ this.$emit('click-image');
188
+ }
189
+ },
190
+ },
182
191
  };
183
192
  </script>
184
193
 
@@ -1,8 +1,5 @@
1
1
  <template>
2
- <div
3
- class="unnnic-chats-message-status-backdrop__container"
4
- @click="$emit('click')"
5
- >
2
+ <div class="unnnic-chats-message-status-backdrop__container">
6
3
  <div class="unnnic-chats-message-status-backdrop">
7
4
  <UnnnicIconLoading
8
5
  v-if="status === 'sending'"
@@ -15,11 +15,11 @@
15
15
 
16
16
  <script>
17
17
  import moment from 'moment';
18
- import unnnicInput from '../Input/Input.vue';
18
+ import UnnnicInput from '../Input/Input.vue';
19
19
 
20
20
  export default {
21
21
  name: 'unnnic-date-filter',
22
- components: { unnnicInput },
22
+ components: { UnnnicInput },
23
23
  props: {
24
24
  size: {
25
25
  type: String,
@@ -19,14 +19,14 @@
19
19
  />
20
20
 
21
21
  <div :class="['label', `label--${size}`]">
22
- {{ months[getMonth(openMonth)] }}
22
+ {{ monthsLocale[getMonth(openMonth)] }}
23
23
  {{ getFullYear(openMonth) }}
24
24
  </div>
25
25
  </div>
26
26
 
27
27
  <div :class="['days', `days--${size}`]">
28
28
  <div
29
- v-for="(day, index) in days"
29
+ v-for="(day, index) in daysLocale"
30
30
  :key="index"
31
31
  class="name"
32
32
  >
@@ -104,7 +104,7 @@
104
104
  date.properties.includes('inside month') && selectDate(date)
105
105
  "
106
106
  >
107
- {{ months[getMonth(date)].substr(0, 3) }}
107
+ {{ monthsLocale[getMonth(date)].substr(0, 3) }}
108
108
  </div>
109
109
  </div>
110
110
  </div>
@@ -176,7 +176,7 @@
176
176
  <div class="options">
177
177
  <div
178
178
  :class="['option', { selected: optionSelected === option.id }]"
179
- v-for="(option, index) in options"
179
+ v-for="(option, index) in periodsLocale"
180
180
  :key="index"
181
181
  @click="autoSelect(option.id)"
182
182
  >
@@ -187,14 +187,14 @@
187
187
  <div class="actions">
188
188
  <UnnnicButton
189
189
  size="small"
190
- :text="clearLabel"
190
+ :text="clearText"
191
191
  type="tertiary"
192
192
  @click="clear"
193
193
  />
194
194
 
195
195
  <UnnnicButton
196
196
  size="small"
197
- :text="actionLabel"
197
+ :text="filterText"
198
198
  type="secondary"
199
199
  @click="$emit('submit', value)"
200
200
  />
@@ -204,11 +204,21 @@
204
204
  </template>
205
205
 
206
206
  <script>
207
- import unnnicButton from '../Button/Button.vue';
207
+ import {
208
+ months as translationMonths,
209
+ days as translationDays,
210
+ periods as translationPeriods,
211
+ } from './translations.js';
212
+
213
+ import UnnnicI18n from '../../mixins/i18n';
214
+
215
+ import UnnnicButton from '../Button/Button.vue';
208
216
 
209
217
  export default {
218
+ mixins: [UnnnicI18n],
219
+
210
220
  components: {
211
- unnnicButton,
221
+ UnnnicButton,
212
222
  },
213
223
 
214
224
  props: {
@@ -241,22 +251,7 @@ export default {
241
251
 
242
252
  months: {
243
253
  type: Array,
244
- default() {
245
- return [
246
- 'Janeiro',
247
- 'Fevereiro',
248
- 'Março',
249
- 'Abril',
250
- 'Maio',
251
- 'Junho',
252
- 'Julho',
253
- 'Agosto',
254
- 'Setembro',
255
- 'Outubro',
256
- 'Novembro',
257
- 'Dezembro',
258
- ];
259
- },
254
+ default: () => [],
260
255
  validator(months) {
261
256
  return months.length === 12;
262
257
  },
@@ -264,9 +259,7 @@ export default {
264
259
 
265
260
  days: {
266
261
  type: Array,
267
- default() {
268
- return ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'];
269
- },
262
+ default: () => [],
270
263
  validator(days) {
271
264
  return days.length === 7;
272
265
  },
@@ -274,34 +267,7 @@ export default {
274
267
 
275
268
  options: {
276
269
  type: Array,
277
- default() {
278
- return [
279
- {
280
- name: 'Últimos 7 dias',
281
- id: 'last-7-days',
282
- },
283
- {
284
- name: 'Últimos 14 dias',
285
- id: 'last-14-days',
286
- },
287
- {
288
- name: 'Últimos 30 dias',
289
- id: 'last-30-days',
290
- },
291
- {
292
- name: 'Últimos 12 meses',
293
- id: 'last-12-months',
294
- },
295
- {
296
- name: 'Mês Atual',
297
- id: 'current-month',
298
- },
299
- {
300
- name: 'Personalizar',
301
- id: 'custom',
302
- },
303
- ];
304
- },
270
+ default: () => [],
305
271
  },
306
272
  },
307
273
 
@@ -314,6 +280,18 @@ export default {
314
280
  startDate: (this.initialStartDate || '').replace(/-/g, ' '),
315
281
  endDate: (this.initialEndDate || '').replace(/-/g, ' '),
316
282
  optionSelected: '',
283
+ defaultTranslations: {
284
+ clean: {
285
+ 'pt-br': 'Limpar',
286
+ en: 'Clean',
287
+ es: 'Limpiar',
288
+ },
289
+ filter: {
290
+ 'pt-br': 'Filtrar',
291
+ en: 'Filter',
292
+ es: 'Filtrar',
293
+ },
294
+ },
317
295
  };
318
296
  },
319
297
 
@@ -328,6 +306,26 @@ export default {
328
306
  endDate: this.endDate.replaceAll(' ', '-'),
329
307
  };
330
308
  },
309
+
310
+ monthsLocale() {
311
+ const { months } = this;
312
+ return months.length ? months : translationMonths[this.$i18n.locale];
313
+ },
314
+ daysLocale() {
315
+ const { days } = this;
316
+ return days.length ? days : translationDays[this.$i18n.locale];
317
+ },
318
+ periodsLocale() {
319
+ const { options } = this;
320
+ return options.length ? options : translationPeriods[this.$i18n.locale];
321
+ },
322
+
323
+ clearText() {
324
+ return this.clearLabel || this.i18n('clean');
325
+ },
326
+ filterText() {
327
+ return this.actionLabel || this.i18n('filter');
328
+ },
331
329
  },
332
330
 
333
331
  watch: {
@@ -0,0 +1,131 @@
1
+ export const months = {
2
+ 'pt-br': [
3
+ 'Janeiro',
4
+ 'Fevereiro',
5
+ 'Março',
6
+ 'Abril',
7
+ 'Maio',
8
+ 'Junho',
9
+ 'Julho',
10
+ 'Agosto',
11
+ 'Setembro',
12
+ 'Outubro',
13
+ 'Novembro',
14
+ 'Dezembro',
15
+ ],
16
+ en: [
17
+ 'January',
18
+ 'February',
19
+ 'March',
20
+ 'April',
21
+ 'May',
22
+ 'June',
23
+ 'July',
24
+ 'August',
25
+ 'September',
26
+ 'October',
27
+ 'November',
28
+ 'December',
29
+ ],
30
+ es: [
31
+ 'Enero',
32
+ 'Febrero',
33
+ 'Marzo',
34
+ 'Abril',
35
+ 'Mayo',
36
+ 'Junio',
37
+ 'Julio',
38
+ 'Agosto',
39
+ 'Septiembre',
40
+ 'Octubre',
41
+ 'Noviembre',
42
+ 'Diciembre',
43
+ ],
44
+ };
45
+
46
+ export const days = {
47
+ 'pt-br': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'],
48
+ en: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
49
+ es: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],
50
+ };
51
+
52
+ export const periods = {
53
+ 'pt-br': [
54
+ {
55
+ name: 'Últimos 7 dias',
56
+ id: 'last-7-days',
57
+ },
58
+ {
59
+ name: 'Últimos 14 dias',
60
+ id: 'last-14-days',
61
+ },
62
+ {
63
+ name: 'Últimos 30 dias',
64
+ id: 'last-30-days',
65
+ },
66
+ {
67
+ name: 'Últimos 12 meses',
68
+ id: 'last-12-months',
69
+ },
70
+ {
71
+ name: 'Mês Atual',
72
+ id: 'current-month',
73
+ },
74
+ {
75
+ name: 'Personalizar',
76
+ id: 'custom',
77
+ },
78
+ ],
79
+ en: [
80
+ {
81
+ name: 'Last 7 days',
82
+ id: 'last-7-days',
83
+ },
84
+ {
85
+ name: 'Last 14 days',
86
+ id: 'last-14-days',
87
+ },
88
+ {
89
+ name: 'Last 30 days',
90
+ id: 'last-30-days',
91
+ },
92
+ {
93
+ name: 'Last 12 months',
94
+ id: 'last-12-months',
95
+ },
96
+ {
97
+ name: 'Current month',
98
+ id: 'current-month',
99
+ },
100
+ {
101
+ name: 'Custom',
102
+ id: 'custom',
103
+ },
104
+ ],
105
+ es: [
106
+ {
107
+ name: 'Últimos 7 días',
108
+ id: 'last-7-days',
109
+ },
110
+ {
111
+ name: 'Últimos 14 días',
112
+ id: 'last-14-days',
113
+ },
114
+ {
115
+ name: 'Últimos 30 días',
116
+ id: 'last-30-days',
117
+ },
118
+ {
119
+ name: 'Últimos 12 meses',
120
+ id: 'last-12-months',
121
+ },
122
+ {
123
+ name: 'Mes actual',
124
+ id: 'current-month',
125
+ },
126
+ {
127
+ name: 'Personalizar',
128
+ id: 'custom',
129
+ },
130
+ ],
131
+ };
@@ -106,18 +106,18 @@
106
106
  </template>
107
107
  <script>
108
108
  import { vOnClickOutside } from '@vueuse/components';
109
- import unnnicFlag from '../Flag.vue';
109
+ import UnnnicFlag from '../Flag.vue';
110
110
  import UnnnicIcon from '../Icon.vue';
111
111
  import { unnnicFontSize } from '../config';
112
112
 
113
113
  export default {
114
114
  name: 'LanguageSelect',
115
115
  components: {
116
- unnnicFlag,
116
+ UnnnicFlag,
117
117
  UnnnicIcon,
118
118
  },
119
119
  props: {
120
- value: {
120
+ modelValue: {
121
121
  type: String,
122
122
  default: '',
123
123
  },
@@ -149,16 +149,16 @@ export default {
149
149
  data() {
150
150
  return {
151
151
  open: false,
152
- val: this.value,
152
+ val: this.modelValue,
153
153
  unnnicFontSize,
154
154
  };
155
155
  },
156
156
  watch: {
157
157
  val() {
158
- this.$emit('input', this.val);
158
+ this.$emit('update:model-value', this.val);
159
159
  },
160
- value() {
161
- this.val = this.value;
160
+ modelValue() {
161
+ this.val = this.modelValue;
162
162
  },
163
163
  },
164
164
  computed: {
@@ -64,12 +64,12 @@
64
64
  </template>
65
65
 
66
66
  <script>
67
- import unnnicButton from '../Button/Button.vue';
67
+ import UnnnicButton from '../Button/Button.vue';
68
68
 
69
69
  export default {
70
70
  name: 'ImportCard',
71
71
  components: {
72
- unnnicButton,
72
+ UnnnicButton,
73
73
  },
74
74
  props: {
75
75
  title: {
@@ -22,7 +22,7 @@
22
22
  <div class="progress-container">
23
23
  <div
24
24
  class="bar"
25
- :style="{ width: `${value}%` }"
25
+ :style="{ width: `${modelValue}%` }"
26
26
  >
27
27
  <div
28
28
  v-if="type === 'secondary' && !subtitle"
@@ -75,7 +75,7 @@ export default {
75
75
  },
76
76
 
77
77
  props: {
78
- value: {
78
+ modelValue: {
79
79
  type: Number,
80
80
  },
81
81
 
@@ -103,7 +103,7 @@ export default {
103
103
 
104
104
  computed: {
105
105
  percentage() {
106
- return Math.floor(this.value);
106
+ return Math.floor(this.modelValue);
107
107
  },
108
108
  },
109
109
  };
@@ -37,7 +37,7 @@
37
37
  >
38
38
  <ToolTip
39
39
  :enabled="!expanded"
40
- :text="option.label"
40
+ :text="`${option.label} ${option.tag || ''}`.trim()"
41
41
  side="right"
42
42
  @mouseenter="hover($event, option.id)"
43
43
  @mouseleave="mouseout"
@@ -69,6 +69,7 @@
69
69
  />
70
70
 
71
71
  <span class="label">{{ option.label }}</span>
72
+ <span v-if="option.tag" class="tag">{{ option.tag }}</span>
72
73
  <span
73
74
  :class="option.notify && !expanded ? 'notify' : ''"
74
75
  v-if="option.notify"
@@ -132,14 +133,14 @@
132
133
 
133
134
  <script>
134
135
  import ToolTip from '../ToolTip/ToolTip.vue';
135
- import languageSelect from '../Dropdown/LanguageSelect.vue';
136
+ import LanguageSelect from '../Dropdown/LanguageSelect.vue';
136
137
  import UnnnicIcon from '../Icon.vue';
137
138
 
138
139
  export default {
139
140
  components: {
140
141
  ToolTip,
141
142
  UnnnicIcon,
142
- languageSelect,
143
+ LanguageSelect,
143
144
  },
144
145
 
145
146
  props: {
@@ -351,15 +352,24 @@ $transition-time: 0.4s;
351
352
  font-size: $unnnic-font-size-body-gt;
352
353
  line-height: ($unnnic-font-size-body-gt + $unnnic-line-height-md);
353
354
  float: left;
354
- flex: 1;
355
355
  white-space: nowrap;
356
- width: 50px;
356
+ width: min-content;
357
357
  overflow: hidden;
358
358
  text-overflow: ellipsis;
359
359
  user-select: none;
360
360
  margin-left: $unnnic-spacing-xs;
361
361
  }
362
362
 
363
+ .tag {
364
+ font-family: $unnnic-font-family-secondary;
365
+ font-size: $unnnic-font-size-body-md;
366
+ font-weight: $unnnic-font-weight-regular;
367
+ font-style: italic;
368
+ margin-left: $unnnic-spacing-nano;
369
+ color: $unnnic-color-weni-600;
370
+
371
+ }
372
+
363
373
  &:hover:not(.disabled) {
364
374
  background-color: rgba(
365
375
  $unnnic-color-brand-weni,