@xen-orchestra/web-core 0.14.0 → 0.16.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 (69) hide show
  1. package/lib/assets/css/_typography.pcss +148 -6
  2. package/lib/assets/css/base.pcss +4 -4
  3. package/lib/components/backup-item/VtsBackupItem.vue +1 -1
  4. package/lib/components/card/VtsCardRowKeyValue.vue +4 -2
  5. package/lib/components/cell-object/VtsCellObject.vue +1 -1
  6. package/lib/components/cell-text/VtsCellText.vue +2 -2
  7. package/lib/components/connection-status/VtsConnectionStatus.vue +3 -0
  8. package/lib/components/console/VtsClipboardConsole.vue +2 -2
  9. package/lib/components/data-table/VtsDataTable.vue +11 -3
  10. package/lib/components/menu/MenuTrigger.vue +2 -2
  11. package/lib/components/resources/VtsResource.vue +4 -5
  12. package/lib/components/state-hero/VtsPageNotFoundHero.vue +1 -1
  13. package/lib/components/state-hero/VtsStateHero.vue +2 -2
  14. package/lib/components/tab/TabItem.vue +10 -10
  15. package/lib/components/table/ColumnTitle.vue +8 -8
  16. package/lib/components/table/VtsTable.vue +2 -2
  17. package/lib/components/task/VtsQuickTaskList.vue +1 -1
  18. package/lib/components/tree/VtsTreeItemError.vue +1 -1
  19. package/lib/components/ui/account-menu-button/UiAccountMenuButton.vue +1 -1
  20. package/lib/components/ui/actions-title/UiActionsTitle.vue +1 -1
  21. package/lib/components/ui/button/UiButton.vue +12 -12
  22. package/lib/components/ui/button-icon/UiButtonIcon.vue +3 -3
  23. package/lib/components/ui/card-numbers/UiCardNumbers.vue +4 -6
  24. package/lib/components/ui/card-subtitle/UiCardSubtitle.vue +3 -3
  25. package/lib/components/ui/card-title/UiCardTitle.vue +3 -3
  26. package/lib/components/ui/character-limit/UiCharacterLimit.vue +35 -0
  27. package/lib/components/ui/checkbox/UiCheckbox.vue +4 -4
  28. package/lib/components/ui/chip/UiChip.vue +1 -1
  29. package/lib/components/ui/counter/UiCounter.vue +7 -7
  30. package/lib/components/ui/dropdown-button/UiDropdownButton.vue +2 -2
  31. package/lib/components/ui/head-bar/UiHeadBar.vue +2 -2
  32. package/lib/components/ui/info/UiInfo.vue +1 -1
  33. package/lib/components/ui/input/UiInput.vue +15 -9
  34. package/lib/components/ui/label/UiLabel.vue +1 -1
  35. package/lib/components/ui/legend/UiLegend.vue +3 -3
  36. package/lib/components/ui/legend-title/UiLegendTitle.vue +1 -1
  37. package/lib/components/ui/link/UiLink.vue +3 -3
  38. package/lib/components/ui/object-link/UiObjectLink.vue +7 -7
  39. package/lib/components/ui/panel/UiPanel.vue +4 -2
  40. package/lib/components/ui/query-search-bar/UiQuerySearchBar.vue +2 -2
  41. package/lib/components/ui/quick-task-item/UiQuickTaskItem.vue +3 -3
  42. package/lib/components/ui/radio-button/UiRadioButton.vue +2 -2
  43. package/lib/components/ui/stacked-bar/StackedBarSegment.vue +1 -1
  44. package/lib/components/ui/table-pagination/UiTablePagination.vue +4 -4
  45. package/lib/components/ui/tag/UiTag.vue +1 -1
  46. package/lib/components/ui/{input → text-area}/UiTextarea.vue +54 -12
  47. package/lib/components/ui/title/UiTitle.vue +3 -3
  48. package/lib/components/ui/toaster/UiToaster.vue +2 -2
  49. package/lib/components/ui/toggle/UiToggle.vue +3 -3
  50. package/lib/components/ui/tooltip/UiTooltip.vue +1 -1
  51. package/lib/components/ui/top-bottom-table/UiTopBottomTable.vue +1 -1
  52. package/lib/components/ui/tree-item-label/UiTreeItemLabel.vue +1 -1
  53. package/lib/components/ui/user-link/UiUserLink.vue +8 -8
  54. package/lib/i18n.ts +4 -0
  55. package/lib/locales/cs.json +362 -16
  56. package/lib/locales/de.json +245 -41
  57. package/lib/locales/en.json +316 -14
  58. package/lib/locales/es.json +355 -29
  59. package/lib/locales/fa.json +206 -9
  60. package/lib/locales/fr.json +320 -18
  61. package/lib/locales/sv.json +421 -0
  62. package/lib/utils/to-variants.util.md +3 -3
  63. package/package.json +1 -1
  64. package/lib/assets/css/typography/_legacy.pcss +0 -123
  65. package/lib/assets/css/typography/_letter-spacing.pcss +0 -27
  66. package/lib/assets/css/typography/_line-height.pcss +0 -19
  67. package/lib/assets/css/typography/_size.pcss +0 -95
  68. package/lib/assets/css/typography/_style.pcss +0 -35
  69. package/lib/assets/css/typography/_weight.pcss +0 -57
@@ -1,95 +0,0 @@
1
- .typo {
2
- /* 4.8rem */
3
-
4
- &.h1-black {
5
- font-size: 4.8rem;
6
- }
7
-
8
- /* 3.6rem */
9
-
10
- &.h2-black {
11
- font-size: 3.6rem;
12
- }
13
-
14
- /* 2.4rem */
15
-
16
- &.h3-black,
17
- &.h3-semi-bold,
18
- &.h3-medium {
19
- font-size: 2.4rem;
20
- }
21
-
22
- /* 2rem */
23
-
24
- &.h4-black,
25
- &.h4-semi-bold,
26
- &.h4-medium {
27
- font-size: 2rem;
28
- }
29
-
30
- /* 1.8rem */
31
-
32
- &.h5-black,
33
- &.h5-semi-bold,
34
- &.h5-medium {
35
- font-size: 1.8rem;
36
- }
37
-
38
- /* 1.6rem */
39
-
40
- &.h6-black,
41
- &.h6-semi-bold,
42
- &.h6-medium,
43
- &.p1-medium,
44
- &.p1-regular,
45
- &.p1-regular-underline,
46
- &.p1-regular-italic,
47
- &.c1-semi-bold,
48
- &.c1-regular {
49
- font-size: 1.6rem;
50
- }
51
-
52
- /* 1.4rem */
53
-
54
- &.h7-black,
55
- &.h7-semi-bold,
56
- &.h7-medium,
57
- &.p2-medium,
58
- &.p2-regular,
59
- &.p2-regular-underline,
60
- &.p2-regular-italic,
61
- &.c2-semi-bold,
62
- &.c2-regular {
63
- font-size: 1.4rem;
64
- }
65
-
66
- /* 1.2rem */
67
-
68
- &.p3-medium,
69
- &.p3-regular,
70
- &.p3-regular-underline,
71
- &.p3-regular-italic,
72
- &.c3-semi-bold,
73
- &.c3-regular {
74
- font-size: 1.2rem;
75
- }
76
-
77
- /* 1rem */
78
-
79
- &.p4-semi-bold,
80
- &.p4-medium,
81
- &.p4-regular,
82
- &.p4-regular-underline,
83
- &.p4-regular-italic,
84
- &.c4-semi-bold,
85
- &.c4-regular {
86
- font-size: 1rem;
87
- }
88
-
89
- /* 0.8rem */
90
-
91
- &.c5-semi-bold,
92
- &.c5-regular {
93
- font-size: 0.8rem;
94
- }
95
- }
@@ -1,35 +0,0 @@
1
- .typo {
2
- /* UNDERLINE */
3
-
4
- &.p1-regular-underline,
5
- &.p2-regular-underline,
6
- &.p3-regular-underline,
7
- &.p4-regular-underline {
8
- text-decoration: underline;
9
- text-underline-offset: 0.2rem;
10
- }
11
-
12
- /* ITALIC */
13
-
14
- &.p1-regular-italic,
15
- &.p2-regular-italic,
16
- &.p3-regular-italic,
17
- &.p4-regular-italic {
18
- font-style: italic;
19
- }
20
-
21
- /* UPPERCASE */
22
-
23
- &.c1-semi-bold,
24
- &.c1-regular,
25
- &.c2-semi-bold,
26
- &.c2-regular,
27
- &.c3-semi-bold,
28
- &.c3-regular,
29
- &.c4-semi-bold,
30
- &.c4-regular,
31
- &.c5-semi-bold,
32
- &.c5-regular {
33
- text-transform: uppercase;
34
- }
35
- }
@@ -1,57 +0,0 @@
1
- .typo {
2
- /* BLACK (900) */
3
-
4
- &.h1-black,
5
- &.h2-black,
6
- &.h3-black,
7
- &.h4-black,
8
- &.h5-black,
9
- &.h6-black,
10
- &.h7-black {
11
- font-weight: 900;
12
- }
13
-
14
- /* SEMI-BOLD (600) */
15
-
16
- &.h3-semi-bold,
17
- &.h4-semi-bold,
18
- &.h5-semi-bold,
19
- &.h6-semi-bold,
20
- &.h7-semi-bold,
21
- &.p4-semi-bold,
22
- &.c1-semi-bold,
23
- &.c2-semi-bold,
24
- &.c3-semi-bold,
25
- &.c4-semi-bold,
26
- &.c5-semi-bold {
27
- font-weight: 600;
28
- }
29
-
30
- /* MEDIUM (500) */
31
-
32
- &.h3-medium,
33
- &.h4-medium,
34
- &.h5-medium,
35
- &.h6-medium,
36
- &.h7-medium,
37
- &.p1-medium,
38
- &.p2-medium,
39
- &.p3-medium,
40
- &.p4-medium {
41
- font-weight: 500;
42
- }
43
-
44
- /* REGULAR (400) */
45
-
46
- &.p1-regular,
47
- &.p2-regular,
48
- &.p3-regular,
49
- &.p4-regular,
50
- &.c1-regular,
51
- &.c2-regular,
52
- &.c3-regular,
53
- &.c4-regular,
54
- &.c5-regular {
55
- font-weight: 400;
56
- }
57
- }