@ezeep/ezeep-js 1.0.164 → 1.0.167
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/cjs/ezeep.cjs.js +2 -2
- package/dist/cjs/ezp-auth_14.cjs.entry.js +78 -82
- package/dist/cjs/{index-baa7689a.js → index-0b159f85.js} +6 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/ezp-auth/ezp-auth.css +2 -2
- package/dist/collection/components/ezp-auth/ezp-auth.js +25 -4
- package/dist/collection/components/ezp-backdrop/ezp-backdrop.css +1 -1
- package/dist/collection/components/ezp-dialog/ezp-dialog.css +5 -5
- package/dist/collection/components/ezp-icon/ezp-icon.css +1 -1
- package/dist/collection/components/ezp-icon-button/ezp-icon-button.css +16 -16
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.css +10 -9
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +30 -48
- package/dist/collection/components/ezp-printing/ezp-printing.css +203 -133
- package/dist/collection/components/ezp-printing/ezp-printing.js +20 -7
- package/dist/collection/components/ezp-select/ezp-select.css +21 -21
- package/dist/collection/components/ezp-select/ezp-select.js +5 -4
- package/dist/collection/components/ezp-status/ezp-status.css +7 -7
- package/dist/collection/components/ezp-status/ezp-status.js +2 -3
- package/dist/collection/components/ezp-stepper/ezp-stepper.css +12 -12
- package/dist/collection/components/ezp-text-button/ezp-text-button.css +14 -14
- package/dist/collection/components/ezp-upload/ezp-upload.css +6 -6
- package/dist/collection/components/ezp-upload/ezp-upload.js +9 -7
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.css +33 -29
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +1 -1
- package/dist/custom-elements/index.js +80 -84
- package/dist/directives/proxies.ts +2 -2
- package/dist/esm/ezeep.js +2 -2
- package/dist/esm/ezp-auth_14.entry.js +78 -82
- package/dist/esm/{index-18d4bf15.js → index-13f75d28.js} +6 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm-es5/ezeep.js +1 -1
- package/dist/esm-es5/ezp-auth_14.entry.js +3 -3
- package/dist/esm-es5/index-13f75d28.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/ezeep.js +1 -1
- package/dist/ezeep/p-16c7584d.system.js +1 -0
- package/dist/ezeep/p-17f25f95.js +1 -0
- package/dist/ezeep/{p-a78a89f7.system.entry.js → p-9ac499ef.system.entry.js} +3 -3
- package/{www/build/p-2bac1003.entry.js → dist/ezeep/p-a84d0e34.entry.js} +2 -2
- package/dist/ezeep/p-c04b764e.system.js +1 -0
- package/dist/types/components/ezp-auth/ezp-auth.d.ts +1 -0
- package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +1 -0
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +1 -0
- package/dist/types/components/ezp-upload/ezp-upload.d.ts +2 -6
- package/dist/types/components.d.ts +2 -0
- package/dist/types/shared/types.d.ts +3 -2
- package/package.json +3 -1
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/ezeep.js +1 -1
- package/www/build/p-16c7584d.system.js +1 -0
- package/www/build/p-17f25f95.js +1 -0
- package/www/build/{p-a78a89f7.system.entry.js → p-9ac499ef.system.entry.js} +3 -3
- package/{dist/ezeep/p-2bac1003.entry.js → www/build/p-a84d0e34.entry.js} +2 -2
- package/www/build/p-c04b764e.system.js +1 -0
- package/www/data/locales/en.json +3 -1
- package/www/index.html +8 -1
- package/dist/esm-es5/index-18d4bf15.js +0 -1
- package/dist/ezeep/p-80d5c308.system.js +0 -1
- package/dist/ezeep/p-d9b69b53.js +0 -1
- package/dist/ezeep/p-f96ca6a7.system.js +0 -1
- package/www/build/p-80d5c308.system.js +0 -1
- package/www/build/p-d9b69b53.js +0 -1
- package/www/build/p-f96ca6a7.system.js +0 -1
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
*/
|
|
31
31
|
:host {
|
|
32
32
|
align-items: center;
|
|
33
|
-
background: var(--ezp-
|
|
33
|
+
background: var(--ezp-core-backdrop);
|
|
34
34
|
border-radius: 6px;
|
|
35
35
|
box-sizing: border-box;
|
|
36
36
|
display: flex;
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
#box {
|
|
53
|
-
--ezp-icon-fill: var(--ezp-
|
|
53
|
+
--ezp-icon-fill: var(--ezp-theme-solid);
|
|
54
54
|
align-items: center;
|
|
55
|
-
background: var(--ezp-
|
|
55
|
+
background: var(--ezp-core-surface-tertiary);
|
|
56
56
|
border-radius: 3px;
|
|
57
|
-
box-shadow: var(--ezp-status-box-
|
|
57
|
+
box-shadow: var(--ezp-status-box-boxShadow, 0 0 0 1px var(--ezp-black-10));
|
|
58
58
|
display: flex;
|
|
59
59
|
flex-direction: column;
|
|
60
60
|
gap: var(--ezp-spacing-4);
|
|
@@ -71,14 +71,14 @@
|
|
|
71
71
|
|
|
72
72
|
#track {
|
|
73
73
|
fill: none;
|
|
74
|
-
stroke: var(--ezp-
|
|
74
|
+
stroke: var(--ezp-core-outline);
|
|
75
75
|
stroke-width: 4px;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
#value {
|
|
79
79
|
animation: offset var(--ezp-duration-6) linear alternate infinite;
|
|
80
80
|
fill: none;
|
|
81
|
-
stroke: var(--ezp-
|
|
81
|
+
stroke: var(--ezp-theme-solid);
|
|
82
82
|
stroke-dasharray: 110;
|
|
83
83
|
stroke-dashoffset: 110;
|
|
84
84
|
stroke-linecap: round;
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
#description {
|
|
89
|
-
color: var(--ezp-
|
|
89
|
+
color: var(--ezp-core-foreground-primary);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
#footer {
|
|
@@ -43,11 +43,10 @@ export class EzpStatus {
|
|
|
43
43
|
h("circle", { id: "track", cx: "21", cy: "21", r: "18" }),
|
|
44
44
|
h("circle", { id: "value", cx: "21", cy: "21", r: "18" }))) : this.icon ? (h("ezp-icon", { name: this.icon, framed: true })) : null,
|
|
45
45
|
h("ezp-label", { id: "description", level: "tertiary", weight: "strong", text: this.description }),
|
|
46
|
-
h("div", { id: "footer" },
|
|
46
|
+
(this.cancel || this.close || this.retry) && (h("div", { id: "footer" },
|
|
47
47
|
this.cancel && (h("ezp-text-button", { level: "secondary", small: true, onClick: this.handleCancel, label: typeof this.cancel === 'string' ? this.cancel : i18next.t('button_actions.cancel') })),
|
|
48
48
|
this.close && (h("ezp-text-button", { level: this.retry ? 'secondary' : 'primary', small: true, onClick: this.handleClose, label: typeof this.close === 'string' ? this.close : i18next.t('button_actions.close') })),
|
|
49
|
-
this.retry && (h("ezp-text-button", { level: "primary", small: true, onClick: this.handleRetry, label: typeof this.retry === 'string' ? this.retry : i18next.t('button_actions.retry') }))
|
|
50
|
-
h("slot", null)))));
|
|
49
|
+
this.retry && (h("ezp-text-button", { level: "primary", small: true, onClick: this.handleRetry, label: typeof this.retry === 'string' ? this.retry : i18next.t('button_actions.retry') })))))));
|
|
51
50
|
}
|
|
52
51
|
static get is() { return "ezp-status"; }
|
|
53
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
*/
|
|
31
31
|
:host {
|
|
32
32
|
align-items: center;
|
|
33
|
-
background: var(--ezp-
|
|
33
|
+
background: var(--ezp-core-surface-tertiary);
|
|
34
34
|
border-radius: 3px;
|
|
35
|
-
box-shadow: var(--ezp-stepper-boxShadowPosition, 0 0 0 1px) var(--ezp-
|
|
35
|
+
box-shadow: var(--ezp-stepper-boxShadowPosition, 0 0 0 1px) var(--ezp-core-outline);
|
|
36
36
|
display: grid;
|
|
37
37
|
gap: var(--ezp-spacing-3);
|
|
38
38
|
grid-template: var(--ezp-stepper-gridTemplate, auto/auto 1fr auto);
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
z-index: 0;
|
|
42
42
|
}
|
|
43
43
|
:host(.focused) {
|
|
44
|
-
--ezp-stepper-icon-color: var(--ezp-
|
|
45
|
-
--ezp-stepper-label-color: var(--ezp-
|
|
44
|
+
--ezp-stepper-icon-color: var(--ezp-theme-solid);
|
|
45
|
+
--ezp-stepper-label-color: var(--ezp-theme-solid);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
:host(.has-icon) {
|
|
@@ -62,17 +62,17 @@
|
|
|
62
62
|
}
|
|
63
63
|
@media (hover: hover) {
|
|
64
64
|
#toggle:hover {
|
|
65
|
-
--ezp-stepper-toggle-background: var(--ezp-
|
|
65
|
+
--ezp-stepper-toggle-background: var(--ezp-core-shade-primary);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
#icon {
|
|
70
|
-
color: var(--ezp-stepper-icon-color, var(--ezp-
|
|
70
|
+
color: var(--ezp-stepper-icon-color, var(--ezp-core-foreground-secondary));
|
|
71
71
|
pointer-events: none;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
#label {
|
|
75
|
-
color: var(--ezp-stepper-label-color, var(--ezp-
|
|
75
|
+
color: var(--ezp-stepper-label-color, var(--ezp-core-foreground-secondary));
|
|
76
76
|
pointer-events: none;
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
border-radius: 3px;
|
|
93
93
|
box-shadow: none;
|
|
94
94
|
box-sizing: border-box;
|
|
95
|
-
color: var(--ezp-
|
|
95
|
+
color: var(--ezp-core-foreground-primary);
|
|
96
96
|
cursor: inherit;
|
|
97
97
|
font-family: inherit;
|
|
98
98
|
font-feature-settings: "tnum";
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
border: 0;
|
|
126
126
|
border-radius: 50%;
|
|
127
127
|
box-shadow: none;
|
|
128
|
-
color: var(--ezp-stepper-button-color, var(--ezp-
|
|
128
|
+
color: var(--ezp-stepper-button-color, var(--ezp-theme-solid));
|
|
129
129
|
cursor: var(--ezp-stepper-button-cursor, pointer);
|
|
130
130
|
display: flex;
|
|
131
131
|
justify-content: center;
|
|
@@ -135,13 +135,13 @@
|
|
|
135
135
|
}
|
|
136
136
|
@media (hover: hover) {
|
|
137
137
|
.button:not(:disabled):hover {
|
|
138
|
-
--ezp-stepper-button-background: var(--ezp-
|
|
138
|
+
--ezp-stepper-button-background: var(--ezp-core-shade-primary);
|
|
139
139
|
}
|
|
140
140
|
.button:not(:disabled):active {
|
|
141
|
-
--ezp-stepper-button-background: var(--ezp-
|
|
141
|
+
--ezp-stepper-button-background: var(--ezp-core-shade-secondary);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
.button:disabled {
|
|
145
|
-
--ezp-stepper-button-color: var(--ezp-
|
|
145
|
+
--ezp-stepper-button-color: var(--ezp-core-foreground-tertiary);
|
|
146
146
|
--ezp-stepper-button-cursor: default;
|
|
147
147
|
}
|
|
@@ -7,30 +7,30 @@
|
|
|
7
7
|
display: flex;
|
|
8
8
|
}
|
|
9
9
|
:host(.primary) {
|
|
10
|
-
--ezp-textButton-background-disabled: var(--ezp-
|
|
11
|
-
--ezp-textButton-background-init: var(--ezp-
|
|
12
|
-
--ezp-textButton-color-disabled: var(--ezp-
|
|
13
|
-
--ezp-textButton-color-init: var(--ezp-
|
|
10
|
+
--ezp-textButton-background-disabled: var(--ezp-core-shade-primary);
|
|
11
|
+
--ezp-textButton-background-init: var(--ezp-theme-solid);
|
|
12
|
+
--ezp-textButton-color-disabled: var(--ezp-core-foreground-tertiary);
|
|
13
|
+
--ezp-textButton-color-init: var(--ezp-white-100);
|
|
14
14
|
--ezp-textButton-opacity-active: 0.74;
|
|
15
15
|
--ezp-textButton-opacity-hover: 0.84;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
:host(.secondary) {
|
|
19
|
-
--ezp-textButton-background-active: var(--ezp-
|
|
20
|
-
--ezp-textButton-background-disabled: var(--ezp-
|
|
21
|
-
--ezp-textButton-background-hover: var(--ezp-
|
|
22
|
-
--ezp-textButton-background-init: var(--ezp-
|
|
23
|
-
--ezp-textButton-color-disabled: var(--ezp-
|
|
24
|
-
--ezp-textButton-color-init: var(--ezp-
|
|
19
|
+
--ezp-textButton-background-active: var(--ezp-core-shade-tertiary);
|
|
20
|
+
--ezp-textButton-background-disabled: var(--ezp-core-shade-primary);
|
|
21
|
+
--ezp-textButton-background-hover: var(--ezp-core-shade-secondary);
|
|
22
|
+
--ezp-textButton-background-init: var(--ezp-core-shade-primary);
|
|
23
|
+
--ezp-textButton-color-disabled: var(--ezp-core-foreground-tertiary);
|
|
24
|
+
--ezp-textButton-color-init: var(--ezp-theme-solid);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
:host(.tertiary) {
|
|
28
|
-
--ezp-textButton-background-active: var(--ezp-
|
|
28
|
+
--ezp-textButton-background-active: var(--ezp-core-shade-secondary);
|
|
29
29
|
--ezp-textButton-background-disabled: transparent;
|
|
30
|
-
--ezp-textButton-background-hover: var(--ezp-
|
|
30
|
+
--ezp-textButton-background-hover: var(--ezp-core-shade-primary);
|
|
31
31
|
--ezp-textButton-background-init: transparent;
|
|
32
|
-
--ezp-textButton-color-disabled: var(--ezp-
|
|
33
|
-
--ezp-textButton-color-init: var(--ezp-
|
|
32
|
+
--ezp-textButton-color-disabled: var(--ezp-core-foreground-tertiary);
|
|
33
|
+
--ezp-textButton-color-init: var(--ezp-theme-solid);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
#button {
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
:host {
|
|
7
7
|
align-content: center;
|
|
8
8
|
background: var(--ezp-upload-background, transparent);
|
|
9
|
-
border: 1px dashed var(--ezp-upload-border-color, var(--ezp-
|
|
9
|
+
border: 1px dashed var(--ezp-upload-border-color, var(--ezp-core-foreground-tertiary));
|
|
10
10
|
border-radius: 3px;
|
|
11
11
|
box-sizing: border-box;
|
|
12
|
-
color: var(--ezp-
|
|
12
|
+
color: var(--ezp-core-foreground-primary);
|
|
13
13
|
display: grid;
|
|
14
14
|
grid-template: auto/minmax(auto, 280px);
|
|
15
15
|
height: var(--ezp-upload-height, auto);
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
width: var(--ezp-upload-width, auto);
|
|
21
21
|
}
|
|
22
22
|
:host(.dragging) {
|
|
23
|
-
--ezp-upload-background: var(--ezp-
|
|
24
|
-
--ezp-upload-border-color: var(--ezp-
|
|
23
|
+
--ezp-upload-background: var(--ezp-theme-translucent);
|
|
24
|
+
--ezp-upload-border-color: var(--ezp-theme-translucent);
|
|
25
25
|
--ezp-upload-header-blur: 16px;
|
|
26
26
|
--ezp-upload-header-opacity: 0.42;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
#header {
|
|
30
|
-
--ezp-icon-fill: var(--ezp-
|
|
30
|
+
--ezp-icon-fill: var(--ezp-theme-solid);
|
|
31
31
|
align-items: center;
|
|
32
32
|
display: flex;
|
|
33
33
|
filter: blur(var(--ezp-upload-header-blur, 0));
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
#select {
|
|
49
|
-
color: var(--ezp-
|
|
49
|
+
color: var(--ezp-theme-solid);
|
|
50
50
|
cursor: pointer;
|
|
51
51
|
opacity: var(--ezp-upload-select-opacity, 1);
|
|
52
52
|
text-decoration: underline;
|
|
@@ -39,12 +39,8 @@ export class EzpUpload {
|
|
|
39
39
|
this.dragging = false;
|
|
40
40
|
this.uploadFile.emit(event.dataTransfer.files);
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
* Lifecycle methods
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
componentWillLoad() {
|
|
42
|
+
listenPrintCancel() {
|
|
43
|
+
this.form.reset();
|
|
48
44
|
}
|
|
49
45
|
/**
|
|
50
46
|
*
|
|
@@ -53,7 +49,7 @@ export class EzpUpload {
|
|
|
53
49
|
*/
|
|
54
50
|
render() {
|
|
55
51
|
return (h(Host, { class: { dragging: this.dragging } },
|
|
56
|
-
h("
|
|
52
|
+
h("form", { id: "form", ref: (form) => (this.form = form) },
|
|
57
53
|
h("div", { id: "header" },
|
|
58
54
|
h("ezp-icon", { name: "drag-drop", size: "huge", framed: true }),
|
|
59
55
|
h("ezp-label", { weight: "strong", text: i18next.t('upload.description') }),
|
|
@@ -115,5 +111,11 @@ export class EzpUpload {
|
|
|
115
111
|
"target": undefined,
|
|
116
112
|
"capture": false,
|
|
117
113
|
"passive": false
|
|
114
|
+
}, {
|
|
115
|
+
"name": "printCancel",
|
|
116
|
+
"method": "listenPrintCancel",
|
|
117
|
+
"target": "document",
|
|
118
|
+
"capture": false,
|
|
119
|
+
"passive": false
|
|
118
120
|
}]; }
|
|
119
121
|
}
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
:host {
|
|
32
|
-
background: var(--ezp-
|
|
32
|
+
background: var(--ezp-core-surface-tertiary);
|
|
33
33
|
border-radius: 6px;
|
|
34
|
-
box-shadow: var(--ezp-userMenu-
|
|
34
|
+
box-shadow: var(--ezp-userMenu-boxShadow, 0 0 0 1px var(--ezp-black-10));
|
|
35
35
|
display: block;
|
|
36
36
|
opacity: var(--ezp-userMenu-opacity, 0);
|
|
37
37
|
position: absolute;
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
#header {
|
|
61
61
|
align-items: center;
|
|
62
|
-
box-shadow: var(--ezp-userMenu-header-boxShadowPosition, 0 1px 0 0) var(--ezp-
|
|
62
|
+
box-shadow: var(--ezp-userMenu-header-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);
|
|
63
63
|
box-shadow: 0;
|
|
64
64
|
display: grid;
|
|
65
65
|
grid-template: auto/1fr auto;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
#name {
|
|
70
|
-
color: var(--ezp-
|
|
70
|
+
color: var(--ezp-core-foreground-primary);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
#close {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
#links {
|
|
78
|
-
box-shadow: var(--ezp-userMenu-links-boxShadowPosition, 0 1px 0 0) var(--ezp-
|
|
78
|
+
box-shadow: var(--ezp-userMenu-links-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);
|
|
79
79
|
display: flex;
|
|
80
80
|
flex-direction: column;
|
|
81
81
|
padding: var(--ezp-spacing-2);
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
align-items: center;
|
|
86
86
|
background: var(--ezp-userMenu-link-background, transparent);
|
|
87
87
|
border-radius: 3px;
|
|
88
|
-
color: var(--ezp-
|
|
88
|
+
color: var(--ezp-core-foreground-primary);
|
|
89
89
|
cursor: pointer;
|
|
90
90
|
display: grid;
|
|
91
91
|
gap: var(--ezp-spacing-3);
|
|
@@ -94,19 +94,19 @@
|
|
|
94
94
|
text-decoration: none;
|
|
95
95
|
}
|
|
96
96
|
.link:hover {
|
|
97
|
-
--ezp-userMenu-link-background: var(--ezp-
|
|
97
|
+
--ezp-userMenu-link-background: var(--ezp-core-shade-primary);
|
|
98
98
|
}
|
|
99
99
|
.link__icon {
|
|
100
|
-
color: var(--ezp-
|
|
100
|
+
color: var(--ezp-theme-solid);
|
|
101
101
|
margin: calc(var(--ezp-spacing-2) * -1) 0;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.caption {
|
|
105
|
-
color: var(--ezp-
|
|
105
|
+
color: var(--ezp-core-foreground-primary);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
#theme {
|
|
109
|
-
box-shadow: var(--ezp-userMenu-theme-boxShadowPosition, 0 1px 0 0) var(--ezp-
|
|
109
|
+
box-shadow: var(--ezp-userMenu-theme-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);
|
|
110
110
|
display: grid;
|
|
111
111
|
gap: var(--ezp-spacing-3);
|
|
112
112
|
grid-template: repeat(2, auto)/1fr;
|
|
@@ -150,32 +150,36 @@
|
|
|
150
150
|
animation: dot-bounce var(--ezp-duration-2) ease-in-out;
|
|
151
151
|
}
|
|
152
152
|
.swatch--blue {
|
|
153
|
-
--ezp-userMenu-swatch-theme-solid: var(--ezp-
|
|
154
|
-
--ezp-userMenu-swatch-theme-translucent: var(--ezp-
|
|
153
|
+
--ezp-userMenu-swatch-theme-solid: var(--ezp-accent-blue-solid);
|
|
154
|
+
--ezp-userMenu-swatch-theme-translucent: var(--ezp-accent-blue-translucent);
|
|
155
155
|
}
|
|
156
156
|
.swatch--cyan {
|
|
157
|
-
--ezp-userMenu-swatch-theme-solid: var(--ezp-
|
|
158
|
-
--ezp-userMenu-swatch-theme-translucent: var(--ezp-
|
|
157
|
+
--ezp-userMenu-swatch-theme-solid: var(--ezp-accent-cyan-solid);
|
|
158
|
+
--ezp-userMenu-swatch-theme-translucent: var(--ezp-accent-cyan-translucent);
|
|
159
159
|
}
|
|
160
160
|
.swatch--green {
|
|
161
|
-
--ezp-userMenu-swatch-theme-solid: var(--ezp-
|
|
162
|
-
--ezp-userMenu-swatch-theme-translucent: var(--ezp-
|
|
161
|
+
--ezp-userMenu-swatch-theme-solid: var(--ezp-accent-green-solid);
|
|
162
|
+
--ezp-userMenu-swatch-theme-translucent: var(--ezp-accent-green-translucent);
|
|
163
|
+
}
|
|
164
|
+
.swatch--teal {
|
|
165
|
+
--ezp-userMenu-swatch-theme-solid: var(--ezp-accent-teal-solid);
|
|
166
|
+
--ezp-userMenu-swatch-theme-translucent: var(--ezp-accent-teal-translucent);
|
|
163
167
|
}
|
|
164
168
|
.swatch--orange {
|
|
165
|
-
--ezp-userMenu-swatch-theme-solid: var(--ezp-
|
|
166
|
-
--ezp-userMenu-swatch-theme-translucent: var(--ezp-
|
|
169
|
+
--ezp-userMenu-swatch-theme-solid: var(--ezp-accent-orange-solid);
|
|
170
|
+
--ezp-userMenu-swatch-theme-translucent: var(--ezp-accent-orange-translucent);
|
|
167
171
|
}
|
|
168
172
|
.swatch--pink {
|
|
169
|
-
--ezp-userMenu-swatch-theme-solid: var(--ezp-
|
|
170
|
-
--ezp-userMenu-swatch-theme-translucent: var(--ezp-
|
|
173
|
+
--ezp-userMenu-swatch-theme-solid: var(--ezp-accent-pink-solid);
|
|
174
|
+
--ezp-userMenu-swatch-theme-translucent: var(--ezp-accent-pink-translucent);
|
|
171
175
|
}
|
|
172
176
|
.swatch--red {
|
|
173
|
-
--ezp-userMenu-swatch-theme-solid: var(--ezp-
|
|
174
|
-
--ezp-userMenu-swatch-theme-translucent: var(--ezp-
|
|
177
|
+
--ezp-userMenu-swatch-theme-solid: var(--ezp-accent-red-solid);
|
|
178
|
+
--ezp-userMenu-swatch-theme-translucent: var(--ezp-accent-red-translucent);
|
|
175
179
|
}
|
|
176
180
|
.swatch--violet {
|
|
177
|
-
--ezp-userMenu-swatch-theme-solid: var(--ezp-
|
|
178
|
-
--ezp-userMenu-swatch-theme-translucent: var(--ezp-
|
|
181
|
+
--ezp-userMenu-swatch-theme-solid: var(--ezp-accent-violet-solid);
|
|
182
|
+
--ezp-userMenu-swatch-theme-translucent: var(--ezp-accent-violet-translucent);
|
|
179
183
|
}
|
|
180
184
|
|
|
181
185
|
.dot {
|
|
@@ -207,7 +211,7 @@
|
|
|
207
211
|
background: var(--ezp-userMenu-tab-background, transparent);
|
|
208
212
|
border: 0;
|
|
209
213
|
border-radius: 14px;
|
|
210
|
-
color: var(--ezp-userMenu-tab-color, var(--ezp-
|
|
214
|
+
color: var(--ezp-userMenu-tab-color, var(--ezp-core-foreground-secondary));
|
|
211
215
|
cursor: var(--ezp-userMenu-tab-cursor, pointer);
|
|
212
216
|
display: flex;
|
|
213
217
|
gap: var(--ezp-spacing-2);
|
|
@@ -218,15 +222,15 @@
|
|
|
218
222
|
}
|
|
219
223
|
@media (hover: hover) {
|
|
220
224
|
.tab:not(.selected):hover {
|
|
221
|
-
--ezp-userMenu-tab-background: var(--ezp-
|
|
225
|
+
--ezp-userMenu-tab-background: var(--ezp-core-shade-primary);
|
|
222
226
|
}
|
|
223
227
|
.tab:not(.selected):active {
|
|
224
|
-
--ezp-userMenu-tab-background: var(--ezp-
|
|
228
|
+
--ezp-userMenu-tab-background: var(--ezp-core-shade-secondary);
|
|
225
229
|
}
|
|
226
230
|
}
|
|
227
231
|
.tab.selected {
|
|
228
|
-
--ezp-userMenu-tab-background: var(--ezp-
|
|
229
|
-
--ezp-userMenu-tab-color: var(--ezp-
|
|
232
|
+
--ezp-userMenu-tab-background: var(--ezp-theme-translucent);
|
|
233
|
+
--ezp-userMenu-tab-color: var(--ezp-theme-solid);
|
|
230
234
|
--ezp-userMenu-tab-cursor: normal;
|
|
231
235
|
}
|
|
232
236
|
|
|
@@ -17,7 +17,7 @@ export class EzpUserMenu {
|
|
|
17
17
|
href: 'https://support.ezeep.com',
|
|
18
18
|
},
|
|
19
19
|
];
|
|
20
|
-
this.themes = ['pink', 'red', 'orange', 'green', 'cyan', 'blue', 'violet'];
|
|
20
|
+
this.themes = ['pink', 'red', 'orange', 'green', 'teal', 'cyan', 'blue', 'violet'];
|
|
21
21
|
this.appearances = [
|
|
22
22
|
{ title: i18next.t('user_menu.system'), name: 'system' },
|
|
23
23
|
{ title: i18next.t('user_menu.light'), name: 'light' },
|