@xen-orchestra/web-core 0.13.0 → 0.15.0

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 (82) hide show
  1. package/lib/assets/css/_colors.pcss +8 -8
  2. package/lib/assets/css/_typography.pcss +148 -6
  3. package/lib/assets/css/base.pcss +6 -6
  4. package/lib/components/backup-item/VtsBackupItem.vue +1 -1
  5. package/lib/components/card/VtsCardRowKeyValue.vue +4 -2
  6. package/lib/components/cell-object/VtsCellObject.vue +2 -2
  7. package/lib/components/cell-text/VtsCellText.vue +2 -2
  8. package/lib/components/console/VtsActionsConsole.vue +3 -3
  9. package/lib/components/console/VtsClipboardConsole.vue +2 -2
  10. package/lib/components/data-table/VtsDataTable.vue +11 -3
  11. package/lib/components/dropdown/DropdownItem.vue +1 -1
  12. package/lib/components/icon/VtsIcon.vue +2 -2
  13. package/lib/components/layout/VtsLayoutSidebar.vue +1 -1
  14. package/lib/components/menu/MenuTrigger.vue +2 -2
  15. package/lib/components/resources/VtsResource.vue +42 -0
  16. package/lib/components/resources/VtsResources.vue +13 -0
  17. package/lib/components/state-hero/VtsPageNotFoundHero.vue +1 -1
  18. package/lib/components/state-hero/VtsStateHero.vue +2 -2
  19. package/lib/components/tab/TabItem.vue +10 -10
  20. package/lib/components/table/ColumnTitle.vue +8 -8
  21. package/lib/components/table/VtsTable.vue +2 -2
  22. package/lib/components/task/VtsQuickTaskButton.vue +1 -1
  23. package/lib/components/task/VtsQuickTaskList.vue +1 -1
  24. package/lib/components/task/VtsQuickTaskTabBar.vue +7 -1
  25. package/lib/components/tree/VtsTreeItemError.vue +1 -1
  26. package/lib/components/tree/VtsTreeLine.vue +2 -2
  27. package/lib/components/tree/VtsTreeLoadingItem.vue +1 -1
  28. package/lib/components/ui/account-menu-button/UiAccountMenuButton.vue +4 -4
  29. package/lib/components/ui/actions-title/UiActionsTitle.vue +1 -1
  30. package/lib/components/ui/button/UiButton.vue +58 -167
  31. package/lib/components/ui/button-icon/UiButtonIcon.vue +56 -55
  32. package/lib/components/ui/card-numbers/UiCardNumbers.vue +4 -6
  33. package/lib/components/ui/card-subtitle/UiCardSubtitle.vue +5 -5
  34. package/lib/components/ui/card-title/UiCardTitle.vue +4 -4
  35. package/lib/components/ui/checkbox/UiCheckbox.vue +39 -141
  36. package/lib/components/ui/checkbox-group/UiCheckboxGroup.vue +4 -4
  37. package/lib/components/ui/chip/ChipRemoveIcon.vue +7 -3
  38. package/lib/components/ui/chip/UiChip.vue +1 -1
  39. package/lib/components/ui/counter/UiCounter.vue +22 -12
  40. package/lib/components/ui/dropdown-button/UiDropdownButton.vue +14 -14
  41. package/lib/components/ui/head-bar/UiHeadBar.vue +2 -2
  42. package/lib/components/ui/info/UiInfo.vue +1 -1
  43. package/lib/components/ui/input/UiInput.vue +9 -2
  44. package/lib/components/ui/label/UiLabel.vue +1 -1
  45. package/lib/components/ui/legend/UiLegend.vue +3 -3
  46. package/lib/components/ui/legend-title/UiLegendTitle.vue +1 -1
  47. package/lib/components/ui/link/UiLink.vue +10 -15
  48. package/lib/components/ui/object-link/UiObjectLink.vue +10 -10
  49. package/lib/components/ui/panel/UiPanel.vue +4 -2
  50. package/lib/components/ui/query-search-bar/UiQuerySearchBar.vue +5 -5
  51. package/lib/components/ui/quick-task-item/UiQuickTaskItem.vue +4 -4
  52. package/lib/components/ui/radio-button/UiRadioButton.vue +32 -63
  53. package/lib/components/ui/radio-button-group/UiRadioButtonGroup.vue +4 -4
  54. package/lib/components/ui/stacked-bar/StackedBarSegment.vue +1 -1
  55. package/lib/components/ui/table-pagination/PaginationButton.vue +8 -5
  56. package/lib/components/ui/table-pagination/UiTablePagination.vue +20 -20
  57. package/lib/components/ui/tag/UiTag.vue +1 -1
  58. package/lib/components/ui/title/UiTitle.vue +3 -3
  59. package/lib/components/ui/toaster/UiToaster.vue +3 -3
  60. package/lib/components/ui/toggle/UiToggle.vue +3 -3
  61. package/lib/components/ui/tooltip/UiTooltip.vue +1 -1
  62. package/lib/components/ui/top-bottom-table/UiTopBottomTable.vue +3 -3
  63. package/lib/components/ui/tree-item-label/UiTreeItemLabel.vue +9 -9
  64. package/lib/components/ui/user-link/UiUserLink.vue +8 -8
  65. package/lib/components/ui/user-logo/UiUserLogo.vue +1 -1
  66. package/lib/i18n.ts +4 -0
  67. package/lib/layouts/CoreLayout.vue +1 -1
  68. package/lib/locales/cs.json +362 -16
  69. package/lib/locales/de.json +245 -41
  70. package/lib/locales/en.json +304 -14
  71. package/lib/locales/es.json +355 -29
  72. package/lib/locales/fa.json +206 -9
  73. package/lib/locales/fr.json +308 -18
  74. package/lib/locales/sv.json +421 -0
  75. package/lib/utils/to-variants.util.md +3 -3
  76. package/package.json +1 -1
  77. package/lib/assets/css/typography/_legacy.pcss +0 -123
  78. package/lib/assets/css/typography/_letter-spacing.pcss +0 -27
  79. package/lib/assets/css/typography/_line-height.pcss +0 -19
  80. package/lib/assets/css/typography/_size.pcss +0 -95
  81. package/lib/assets/css/typography/_style.pcss +0 -35
  82. package/lib/assets/css/typography/_weight.pcss +0 -57
@@ -30,7 +30,7 @@
30
30
 
31
31
  /* INFO */
32
32
 
33
- --color-info-txt-base: #6b63bf;
33
+ --color-info-txt-base: #1f76af;
34
34
  --color-info-txt-hover: color-mix(in srgb, #000000 20%, var(--color-info-txt-base));
35
35
  --color-info-txt-active: color-mix(in srgb, #000000 40%, var(--color-info-txt-base));
36
36
 
@@ -38,11 +38,11 @@
38
38
  --color-info-background-hover: color-mix(in srgb, #ffffff 80%, var(--color-info-item-base));
39
39
  --color-info-background-active: color-mix(in srgb, #ffffff 70%, var(--color-info-item-base));
40
40
 
41
- --color-info-txt-item: #030029;
42
- --color-info-item-base: #8f84ff;
41
+ --color-info-txt-item: #041018;
42
+ --color-info-item-base: #2ca3f2;
43
43
  --color-info-item-hover: color-mix(in srgb, #ffffff 20%, var(--color-info-item-base));
44
44
  --color-info-item-active: color-mix(in srgb, #ffffff 40%, var(--color-info-item-base));
45
- --color-info-item-disabled: #d2ceff;
45
+ --color-info-item-disabled: #abdafa;
46
46
 
47
47
  /* SUCCESS */
48
48
 
@@ -125,7 +125,7 @@
125
125
 
126
126
  /* INFO */
127
127
 
128
- --color-info-txt-base: #9b92ff;
128
+ --color-info-txt-base: #2ca3f2;
129
129
  --color-info-txt-hover: color-mix(in srgb, #ffffff 20%, var(--color-info-txt-base));
130
130
  --color-info-txt-active: color-mix(in srgb, #ffffff 40%, var(--color-info-txt-base));
131
131
 
@@ -133,11 +133,11 @@
133
133
  --color-info-background-hover: color-mix(in srgb, #000000 60%, var(--color-info-item-base));
134
134
  --color-info-background-active: color-mix(in srgb, #000000 50%, var(--color-info-item-base));
135
135
 
136
- --color-info-txt-item: #030029;
137
- --color-info-item-base: #8f84ff;
136
+ --color-info-txt-item: #041018;
137
+ --color-info-item-base: #2ca3f2;
138
138
  --color-info-item-hover: color-mix(in srgb, #ffffff 20%, var(--color-info-item-base));
139
139
  --color-info-item-active: color-mix(in srgb, #ffffff 40%, var(--color-info-item-base));
140
- --color-info-item-disabled: #393566;
140
+ --color-info-item-disabled: #124161;
141
141
 
142
142
  /* SUCCESS */
143
143
 
@@ -1,7 +1,149 @@
1
- @import 'typography/_size.pcss';
2
- @import 'typography/_weight.pcss';
3
- @import 'typography/_style.pcss';
4
- @import 'typography/_line-height.pcss';
5
- @import 'typography/_letter-spacing.pcss';
6
- @import 'typography/_legacy.pcss';
7
1
  @import 'typography/_utils.pcss';
2
+
3
+ /* HEADINGS */
4
+
5
+ .typo-h1 {
6
+ font-size: 3.6rem;
7
+ font-weight: 600;
8
+ line-height: 1;
9
+ }
10
+
11
+ .typo-h2 {
12
+ font-size: 2.8rem;
13
+ font-weight: 600;
14
+ line-height: 1;
15
+ }
16
+
17
+ .typo-h3 {
18
+ font-size: 2.4rem;
19
+ font-weight: 600;
20
+ line-height: 1.2;
21
+ }
22
+
23
+ .typo-h4 {
24
+ font-size: 2rem;
25
+ font-weight: 500;
26
+ line-height: 1.2;
27
+ }
28
+
29
+ .typo-h5 {
30
+ font-size: 1.8rem;
31
+ font-weight: 500;
32
+ line-height: 1.2;
33
+ }
34
+
35
+ .typo-h6 {
36
+ font-size: 1.6rem;
37
+ font-weight: 600;
38
+ line-height: 1.2;
39
+ }
40
+
41
+ /* BODY */
42
+
43
+ .typo-body-regular {
44
+ font-size: 1.6rem;
45
+ font-weight: 400;
46
+ line-height: 1.5;
47
+ }
48
+
49
+ .typo-body-bold {
50
+ font-size: 1.6rem;
51
+ font-weight: 500;
52
+ line-height: 1.5;
53
+ }
54
+
55
+ .typo-body-underline {
56
+ font-size: 1.6rem;
57
+ font-weight: 400;
58
+ line-height: 1.5;
59
+ text-decoration: underline;
60
+ text-underline-offset: 0.2rem;
61
+ }
62
+
63
+ .typo-body-regular-small {
64
+ font-size: 1.4rem;
65
+ font-weight: 400;
66
+ line-height: 1.5;
67
+ }
68
+
69
+ .typo-body-bold-small {
70
+ font-size: 1.4rem;
71
+ font-weight: 500;
72
+ line-height: 1.5;
73
+ }
74
+
75
+ .typo-body-underline-small {
76
+ font-size: 1.4rem;
77
+ font-weight: 400;
78
+ line-height: 1.5;
79
+ text-decoration: underline;
80
+ text-underline-offset: 0.2rem;
81
+ }
82
+
83
+ /* CAPTIONS */
84
+
85
+ .typo-caption {
86
+ font-size: 1.6rem;
87
+ font-weight: 600;
88
+ line-height: 1.5;
89
+ letter-spacing: 0.04em;
90
+ text-transform: uppercase;
91
+ }
92
+
93
+ .typo-caption-small {
94
+ font-size: 1.4rem;
95
+ font-weight: 600;
96
+ line-height: 1.5;
97
+ letter-spacing: 0.04em;
98
+ text-transform: uppercase;
99
+ }
100
+
101
+ /* FORM */
102
+
103
+ .typo-form-label {
104
+ font-size: 1.6rem;
105
+ font-weight: 600;
106
+ line-height: 1;
107
+ letter-spacing: 0.04em;
108
+ text-transform: uppercase;
109
+ }
110
+
111
+ .typo-form-value {
112
+ font-size: 1.6rem;
113
+ font-weight: 400;
114
+ line-height: 1;
115
+ }
116
+
117
+ .typo-form-info {
118
+ font-size: 1.4rem;
119
+ font-weight: 400;
120
+ line-height: 1.2;
121
+ }
122
+
123
+ /* ACTION */
124
+
125
+ .typo-action-button {
126
+ font-size: 1.6rem;
127
+ font-weight: 500;
128
+ line-height: 1;
129
+ }
130
+
131
+ .typo-action-button-small {
132
+ font-size: 1.4rem;
133
+ font-weight: 500;
134
+ line-height: 1;
135
+ }
136
+
137
+ .typo-action-link {
138
+ font-size: 1.6rem;
139
+ font-weight: 500;
140
+ line-height: 1;
141
+ text-decoration: underline;
142
+ }
143
+
144
+ .typo-action-link-small {
145
+ font-size: 1.4rem;
146
+ font-weight: 500;
147
+ line-height: 1;
148
+ text-decoration: underline;
149
+ }
@@ -19,8 +19,8 @@
19
19
 
20
20
  --scrollbar-width: 1.4rem;
21
21
  --scrollbar-border: 0.4rem;
22
- --scrollbar-thumb-color: var(--color-info-item-active);
23
- --scrollbar-track-color: var(--color-info-background-selected);
22
+ --scrollbar-thumb-color: var(--color-brand-item-active);
23
+ --scrollbar-track-color: var(--color-brand-background-selected);
24
24
 
25
25
  /* Firefox/Gecko and Chrome versions >= 121 */
26
26
  scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
@@ -45,7 +45,7 @@
45
45
  }
46
46
 
47
47
  a {
48
- color: var(--color-info-txt-base);
48
+ color: var(--color-brand-txt-base);
49
49
  }
50
50
 
51
51
  code,
@@ -62,17 +62,17 @@ pre {
62
62
 
63
63
  .link {
64
64
  text-decoration: underline;
65
- color: var(--color-info-txt-base);
65
+ color: var(--color-brand-txt-base);
66
66
  cursor: pointer;
67
67
  }
68
68
 
69
69
  .link:hover {
70
- color: var(--color-info-txt-hover);
70
+ color: var(--color-brand-txt-hover);
71
71
  }
72
72
 
73
73
  .link:active,
74
74
  .link.router-link-active {
75
- color: var(--color-info-txt-active);
75
+ color: var(--color-brand-txt-active);
76
76
  }
77
77
 
78
78
  .link.router-link-active {
@@ -3,7 +3,7 @@
3
3
  <RouterLink v-if="backup.route !== undefined" :to="backup.route">
4
4
  {{ backup.label }}
5
5
  </RouterLink>
6
- <p v-else class="typo p3-medium">
6
+ <p v-else class="typo-body-bold">
7
7
  {{ backup.label }}
8
8
  </p>
9
9
  <div class="states">
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="vts-card-row-key-value typo p3-regular">
2
+ <div class="vts-card-row-key-value typo-body-regular-small">
3
3
  <div class="key">
4
4
  <slot name="key" />
5
5
  </div>
@@ -26,15 +26,17 @@ const slots = defineSlots<{
26
26
  .vts-card-row-key-value {
27
27
  display: flex;
28
28
  align-items: center;
29
- gap: 0.8rem;
29
+ gap: 1.2rem;
30
30
 
31
31
  .key {
32
+ width: 12rem;
32
33
  min-width: 12rem;
33
34
  overflow-wrap: break-word;
34
35
  color: var(--color-neutral-txt-secondary);
35
36
  }
36
37
 
37
38
  .value {
39
+ width: 20rem;
38
40
  color: var(--color-neutral-txt-primary);
39
41
  }
40
42
 
@@ -4,7 +4,7 @@
4
4
  <div class="data">
5
5
  <slot />
6
6
  <template v-if="id !== undefined">
7
- <span v-tooltip class="id typo p4-regular-italic text-ellipsis">
7
+ <span v-tooltip class="id typo-form-info text-ellipsis">
8
8
  {{ id }}
9
9
  </span>
10
10
  <UiButton
@@ -12,7 +12,7 @@
12
12
  :left-icon="faCopy"
13
13
  variant="secondary"
14
14
  size="small"
15
- :accent="copied ? 'success' : 'info'"
15
+ accent="brand"
16
16
  @click="copy(id)"
17
17
  >
18
18
  {{ copied ? $t('core.copied') : $t('core.copy-id') }}
@@ -1,11 +1,11 @@
1
1
  <!-- WIP -->
2
2
  <template>
3
3
  <td class="vts-cell-text">
4
- <div class="data typo p2-regular">
4
+ <div class="data typo-body-regular-small">
5
5
  <span v-tooltip class="text-ellipsis">
6
6
  <slot />
7
7
  </span>
8
- <span v-if="slots.secondary" class="info typo p4-regular">
8
+ <span v-if="slots.secondary" class="info">
9
9
  <slot name="secondary" />
10
10
  </span>
11
11
  </div>
@@ -2,7 +2,7 @@
2
2
  <UiCardTitle>{{ $t('console-actions') }}</UiCardTitle>
3
3
  <UiButton
4
4
  class="button"
5
- accent="info"
5
+ accent="brand"
6
6
  variant="tertiary"
7
7
  size="medium"
8
8
  :left-icon="isFullscreen ? faDownLeftAndUpRightToCenter : faUpRightAndDownLeftFromCenter"
@@ -12,7 +12,7 @@
12
12
  </UiButton>
13
13
  <UiButton
14
14
  class="button"
15
- accent="info"
15
+ accent="brand"
16
16
  variant="tertiary"
17
17
  size="medium"
18
18
  :left-icon="faArrowUpRightFromSquare"
@@ -22,7 +22,7 @@
22
22
  </UiButton>
23
23
  <UiButton
24
24
  class="button"
25
- accent="info"
25
+ accent="brand"
26
26
  variant="tertiary"
27
27
  size="medium"
28
28
  :left-icon="faKeyboard"
@@ -3,10 +3,10 @@
3
3
  <UiCardTitle>{{ $t('console-clipboard') }}</UiCardTitle>
4
4
  <UiTextarea v-tooltip="$t('coming-soon')" accent="info" disabled :model-value="modelValue" />
5
5
  <div class="buttons-container">
6
- <UiButton v-tooltip="$t('coming-soon')" accent="info" variant="primary" size="medium" disabled>
6
+ <UiButton v-tooltip="$t('coming-soon')" accent="brand" variant="primary" size="medium" disabled>
7
7
  {{ $t('send') }}
8
8
  </UiButton>
9
- <UiButton v-tooltip="$t('coming-soon')" accent="info" variant="secondary" size="medium" disabled>
9
+ <UiButton v-tooltip="$t('coming-soon')" accent="brand" variant="secondary" size="medium" disabled>
10
10
  {{ $t('receive') }}
11
11
  </UiButton>
12
12
  </div>
@@ -38,21 +38,29 @@ defineSlots<{
38
38
  display: flex;
39
39
  flex-direction: column;
40
40
  gap: 0.8rem;
41
+ overflow-x: auto;
41
42
 
42
43
  :deep(tbody) tr {
43
44
  &:hover {
44
45
  cursor: pointer;
45
- background-color: var(--color-info-background-hover);
46
+ background-color: var(--color-brand-background-hover);
46
47
  }
48
+
47
49
  &:active {
48
- background-color: var(--color-info-background-active);
50
+ background-color: var(--color-brand-background-active);
49
51
  }
52
+
50
53
  &.selected {
51
- background-color: var(--color-info-background-selected);
54
+ background-color: var(--color-brand-background-selected);
52
55
  }
56
+
53
57
  &:last-child {
54
58
  border-bottom: 0.1rem solid var(--color-neutral-border);
55
59
  }
56
60
  }
61
+
62
+ :deep(th) {
63
+ width: 10rem;
64
+ }
57
65
  }
58
66
  </style>
@@ -8,7 +8,7 @@
8
8
  <slot />
9
9
  </div>
10
10
  <div v-if="info" class="info-text p3 italic">{{ info }}</div>
11
- <VtsIcon v-if="arrow" :accent="disabled ? 'current' : 'info'" :icon="faAngleRight" class="right-icon" />
11
+ <VtsIcon v-if="arrow" :accent="disabled ? 'current' : 'brand'" :icon="faAngleRight" class="right-icon" />
12
12
  </div>
13
13
  </template>
14
14
 
@@ -50,10 +50,10 @@ defineProps<{
50
50
  }
51
51
 
52
52
  &.brand {
53
- color: var(--color-info-item-base);
53
+ color: var(--color-brand-item-base);
54
54
 
55
55
  .overlay-icon {
56
- color: var(--color-info-txt-item);
56
+ color: var(--color-brand-txt-item);
57
57
  }
58
58
  }
59
59
 
@@ -9,7 +9,7 @@
9
9
  content: sidebar.isLocked ? $t('core.sidebar.unlock') : $t('core.sidebar.lock'),
10
10
  placement: 'right',
11
11
  }"
12
- accent="info"
12
+ accent="brand"
13
13
  size="medium"
14
14
  :icon="sidebar.isLocked ? faLock : faLockOpen"
15
15
  @click="sidebar.toggleLock()"
@@ -40,12 +40,12 @@ defineProps<{
40
40
  cursor: pointer;
41
41
 
42
42
  &:hover {
43
- background-color: var(--color-info-background-selected);
43
+ background-color: var(--color-brand-background-selected);
44
44
  }
45
45
 
46
46
  &:active,
47
47
  &.active {
48
- background-color: var(--color-info-background-hover);
48
+ background-color: var(--color-brand-background-hover);
49
49
  }
50
50
  }
51
51
  }
@@ -0,0 +1,42 @@
1
+ <template>
2
+ <li class="vts-resource">
3
+ <VtsIcon accent="brand" :icon class="icon" />
4
+ <div class="separator" />
5
+ <div class="label typo-h6">{{ label }}</div>
6
+ <div class="count typo-body-regular-small">{{ count }}</div>
7
+ </li>
8
+ </template>
9
+
10
+ <script lang="ts" setup>
11
+ import VtsIcon from '@core/components/icon/VtsIcon.vue'
12
+ import type { IconDefinition } from '@fortawesome/fontawesome-common-types'
13
+
14
+ defineProps<{
15
+ icon: IconDefinition
16
+ label: string
17
+ count: string | number
18
+ }>()
19
+ </script>
20
+
21
+ <style lang="postcss" scoped>
22
+ .vts-resource {
23
+ display: flex;
24
+ align-items: center;
25
+ }
26
+
27
+ .icon {
28
+ font-size: 3.2rem;
29
+ }
30
+
31
+ .separator {
32
+ height: 4.5rem;
33
+ width: 0;
34
+ border-left: 0.1rem solid var(--color-brand-txt-base);
35
+ background-color: var(--color-brand-txt-base);
36
+ margin: 0 1.5rem;
37
+ }
38
+
39
+ .count {
40
+ margin-left: 2rem;
41
+ }
42
+ </style>
@@ -0,0 +1,13 @@
1
+ <template>
2
+ <ul class="vts-resources">
3
+ <slot />
4
+ </ul>
5
+ </template>
6
+
7
+ <style lang="postcss" scoped>
8
+ .vts-resources {
9
+ display: flex;
10
+ gap: 1rem 5.4rem;
11
+ flex-wrap: wrap;
12
+ }
13
+ </style>
@@ -19,7 +19,7 @@ defineProps<{
19
19
  margin-top: 4rem;
20
20
 
21
21
  .numeric {
22
- color: var(--color-info-txt-base);
22
+ color: var(--color-brand-txt-base);
23
23
  font-size: 9.6rem;
24
24
  font-weight: 900;
25
25
  letter-spacing: 1em;
@@ -24,7 +24,7 @@ const slots = defineSlots<{
24
24
  default?(): any
25
25
  }>()
26
26
 
27
- const typoClass = computed(() => (props.type === 'page' ? 'typo h2-black' : 'typo h4-medium'))
27
+ const typoClass = computed(() => (props.type === 'page' ? 'typo-h2' : 'typo-h4'))
28
28
  const error = computed(() => !props.busy && props.image === 'error')
29
29
 
30
30
  const imageSrc = computed(() => {
@@ -54,7 +54,7 @@ const imageSrc = computed(() => {
54
54
 
55
55
  .loader,
56
56
  .text {
57
- color: var(--color-info-txt-base);
57
+ color: var(--color-brand-txt-base);
58
58
  }
59
59
 
60
60
  .image {
@@ -1,6 +1,6 @@
1
1
  <!-- v1.0 -->
2
2
  <template>
3
- <component :is="tag" :class="classNames" class="tab-item typo">
3
+ <component :is="tag" :class="classNames" class="tab-item">
4
4
  <slot />
5
5
  </component>
6
6
  </template>
@@ -26,7 +26,7 @@ const isDisabled = useDisabled(() => props.disabled)
26
26
 
27
27
  const classNames = computed(() => {
28
28
  return [
29
- isMobile.value ? 'c3-semi-bold' : 'c1-semi-bold',
29
+ isMobile.value ? 'typo-caption-small' : 'typo-caption',
30
30
  {
31
31
  disabled: isDisabled.value,
32
32
  active: props.active,
@@ -46,20 +46,20 @@ const classNames = computed(() => {
46
46
 
47
47
  &:is(:hover, .hover, :focus-visible) {
48
48
  --color: var(--color-neutral-txt-primary);
49
- --border-color: var(--color-info-item-hover);
50
- --background-color: var(--color-info-background-hover);
49
+ --border-color: var(--color-brand-item-hover);
50
+ --background-color: var(--color-brand-background-hover);
51
51
  }
52
52
 
53
53
  &:is(:active, .pressed) {
54
54
  --color: var(--color-neutral-txt-primary);
55
- --border-color: var(--color-info-item-active);
56
- --background-color: var(--color-info-background-active);
55
+ --border-color: var(--color-brand-item-active);
56
+ --background-color: var(--color-brand-background-active);
57
57
  }
58
58
 
59
59
  &:is(.active, .selected) {
60
60
  --color: var(--color-neutral-txt-primary);
61
- --border-color: var(--color-info-item-base);
62
- --background-color: var(--color-info-background-selected);
61
+ --border-color: var(--color-brand-item-base);
62
+ --background-color: var(--color-brand-background-selected);
63
63
  }
64
64
 
65
65
  &:is(:disabled, .disabled) {
@@ -71,11 +71,11 @@ const classNames = computed(() => {
71
71
 
72
72
  /* SIZE VARIANTS */
73
73
  .tab-item {
74
- &.c3-semi-bold {
74
+ &.typo-caption-small {
75
75
  --spacing: 0.8rem;
76
76
  }
77
77
 
78
- &.c1-semi-bold {
78
+ &.typo-caption {
79
79
  --spacing: 1.6rem;
80
80
  }
81
81
  }
@@ -25,7 +25,7 @@
25
25
  >
26
26
  <VtsIcon :icon="interaction.icon" accent="current" />
27
27
  {{ interaction.label }}
28
- <i v-if="currentInteraction?.id === interaction.id" class="current-interaction typo p3-regular-italic">
28
+ <i v-if="currentInteraction?.id === interaction.id" class="current-interaction typo-body-regular-small">
29
29
  {{ $t('core.current').toLowerCase() }}
30
30
  </i>
31
31
  </MenuItem>
@@ -95,22 +95,22 @@ const updateInteraction = (interaction: Interaction) => {
95
95
  <style lang="postcss" scoped>
96
96
  /* COLOR VARIANTS */
97
97
  .column-header.interactive {
98
- --color: var(--color-info-txt-base);
98
+ --color: var(--color-brand-txt-base);
99
99
  --background-color: var(--color-neutral-background-primary);
100
100
 
101
101
  &.focus {
102
- --color: var(--color-info-txt-base);
103
- --background-color: var(--color-info-background-selected);
102
+ --color: var(--color-brand-txt-base);
103
+ --background-color: var(--color-brand-background-selected);
104
104
  }
105
105
 
106
106
  &:hover {
107
- --color: var(--color-info-txt-hover);
108
- --background-color: var(--color-info-background-hover);
107
+ --color: var(--color-brand-txt-hover);
108
+ --background-color: var(--color-brand-background-hover);
109
109
  }
110
110
 
111
111
  &:active {
112
- --color: var(--color-info-txt-active);
113
- --background-color: var(--color-info-background-active);
112
+ --color: var(--color-brand-txt-active);
113
+ --background-color: var(--color-brand-background-active);
114
114
  }
115
115
 
116
116
  &.disabled {
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <table :class="{ 'vertical-border': verticalBorder }" class="vts-table typo p2-regular">
2
+ <table :class="{ 'vertical-border': verticalBorder }" class="vts-table typo-body-regular-small">
3
3
  <slot />
4
4
  </table>
5
5
  </template>
@@ -43,7 +43,7 @@ provide('tableName', props.name)
43
43
  :deep(thead) {
44
44
  th,
45
45
  td {
46
- color: var(--color-info-txt-base);
46
+ color: var(--color-brand-txt-base);
47
47
  font-size: 1.4rem;
48
48
  font-weight: 400;
49
49
  text-transform: uppercase;
@@ -2,7 +2,7 @@
2
2
  <UiButtonIcon
3
3
  ref="buttonRef"
4
4
  v-tooltip="{ content: $t('tasks.quick-view'), placement: 'bottom-end' }"
5
- accent="info"
5
+ accent="brand"
6
6
  :dot="hasNewTask"
7
7
  :icon="faBarsProgress"
8
8
  size="large"
@@ -7,7 +7,7 @@
7
7
  </div>
8
8
  </li>
9
9
  <template v-else>
10
- <li v-if="tasks.length === 0" class="typo p1-medium">{{ $t('tasks.no-tasks') }}</li>
10
+ <li v-if="tasks.length === 0" class="typo-body-bold">{{ $t('tasks.no-tasks') }}</li>
11
11
  <UiQuickTaskItem v-for="task of tasks" :key="task.id" :task />
12
12
  </template>
13
13
  </ul>
@@ -2,7 +2,13 @@
2
2
  <TabList :disabled="loading">
3
3
  <TabItem v-bind="tabs.pending.bindings">
4
4
  {{ $t('tasks.quick-view.in-progress') }}
5
- <UiCounter v-if="pendingCount !== undefined" :value="pendingCount" accent="info" variant="primary" size="small" />
5
+ <UiCounter
6
+ v-if="pendingCount !== undefined"
7
+ :value="pendingCount"
8
+ accent="warning"
9
+ variant="primary"
10
+ size="small"
11
+ />
6
12
  </TabItem>
7
13
  <TabItem v-bind="tabs.success.bindings">
8
14
  {{ $t('tasks.quick-view.done') }}