@zimbra/x-ui 10.0.0 → 11.0.1-master.d6d6416.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.
- package/.circleci/config.yml +115 -0
- package/css-variables.css +46 -6
- package/helpers.less +7 -18
- package/icon-variables.css +29 -1
- package/icons/selection.json +1 -1
- package/icons/zimbra-icons.eot +0 -0
- package/icons/zimbra-icons.svg +37 -9
- package/icons/zimbra-icons.ttf +0 -0
- package/icons/zimbra-icons.woff +0 -0
- package/icons.less +85 -1
- package/package.json +2 -3
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
version: 2.1
|
|
2
|
+
|
|
3
|
+
############################################################################
|
|
4
|
+
|
|
5
|
+
executors:
|
|
6
|
+
node-executor:
|
|
7
|
+
working_directory: ~/zm-x-ui
|
|
8
|
+
docker:
|
|
9
|
+
- image: cimg/node:18.20
|
|
10
|
+
resource_class: small
|
|
11
|
+
|
|
12
|
+
############################################################################
|
|
13
|
+
|
|
14
|
+
# Cache node_modules
|
|
15
|
+
restore-dependencies-cache: &restore-dependencies-cache
|
|
16
|
+
restore_cache:
|
|
17
|
+
keys:
|
|
18
|
+
- v1-dependencies-{{ .Branch }}-{{ checksum "package.json" }}
|
|
19
|
+
# fallback to using the cache from the same branch
|
|
20
|
+
- v1-dependencies-{{ .Branch }}-
|
|
21
|
+
# fallback to using the latest cache if no exact match is found
|
|
22
|
+
- v1-dependencies-
|
|
23
|
+
|
|
24
|
+
save-dependencies-cache: &save-dependencies-cache
|
|
25
|
+
save_cache:
|
|
26
|
+
paths:
|
|
27
|
+
- node_modules
|
|
28
|
+
key: v1-dependencies-{{ .Branch }}-{{ checksum "package.json" }}
|
|
29
|
+
|
|
30
|
+
persist-workspace: &persist-workspace
|
|
31
|
+
persist_to_workspace:
|
|
32
|
+
root: ~/
|
|
33
|
+
paths:
|
|
34
|
+
- zm-x-ui
|
|
35
|
+
|
|
36
|
+
attach-workspace: &attach-workspace
|
|
37
|
+
attach_workspace:
|
|
38
|
+
at: ~/
|
|
39
|
+
|
|
40
|
+
feature-branch: &feature-branch
|
|
41
|
+
filters:
|
|
42
|
+
branches:
|
|
43
|
+
ignore:
|
|
44
|
+
- /(custom_)?release\/.*/
|
|
45
|
+
|
|
46
|
+
############################################################################
|
|
47
|
+
# JOBS
|
|
48
|
+
############################################################################
|
|
49
|
+
|
|
50
|
+
jobs:
|
|
51
|
+
|
|
52
|
+
build:
|
|
53
|
+
executor: node-executor
|
|
54
|
+
steps:
|
|
55
|
+
- checkout
|
|
56
|
+
|
|
57
|
+
- *restore-dependencies-cache
|
|
58
|
+
|
|
59
|
+
- run:
|
|
60
|
+
name: Install dependencies
|
|
61
|
+
command: npm install
|
|
62
|
+
|
|
63
|
+
- *save-dependencies-cache
|
|
64
|
+
|
|
65
|
+
- run:
|
|
66
|
+
name: Build project
|
|
67
|
+
command: npm run build
|
|
68
|
+
|
|
69
|
+
- *persist-workspace
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
publish:
|
|
73
|
+
executor: node-executor
|
|
74
|
+
steps:
|
|
75
|
+
- *attach-workspace
|
|
76
|
+
|
|
77
|
+
- run:
|
|
78
|
+
name: Setup npm authentication
|
|
79
|
+
command: |
|
|
80
|
+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
|
|
81
|
+
|
|
82
|
+
- run:
|
|
83
|
+
name: Set dynamic prerelease version (no git tag)
|
|
84
|
+
command: |
|
|
85
|
+
SAFE_BRANCH=$(echo "$CIRCLE_BRANCH" | sed 's/\//-/g')
|
|
86
|
+
npm version prerelease \
|
|
87
|
+
--preid=${SAFE_BRANCH} \
|
|
88
|
+
--no-git-tag-version
|
|
89
|
+
|
|
90
|
+
- run:
|
|
91
|
+
name: Publish to npm
|
|
92
|
+
command: |
|
|
93
|
+
SAFE_BRANCH=$(echo "$CIRCLE_BRANCH" | sed 's/\//-/g')
|
|
94
|
+
if [ "$SAFE_BRANCH" = "master" ]; then
|
|
95
|
+
npm publish --access public --tag beta
|
|
96
|
+
else
|
|
97
|
+
npm publish --access public --tag $SAFE_BRANCH
|
|
98
|
+
fi
|
|
99
|
+
|
|
100
|
+
############################################################################
|
|
101
|
+
# WORKFLOWS
|
|
102
|
+
############################################################################
|
|
103
|
+
|
|
104
|
+
workflows:
|
|
105
|
+
version: 2
|
|
106
|
+
|
|
107
|
+
build-and-publish:
|
|
108
|
+
jobs:
|
|
109
|
+
- build:
|
|
110
|
+
<<: *feature-branch
|
|
111
|
+
|
|
112
|
+
- publish:
|
|
113
|
+
<<: *feature-branch
|
|
114
|
+
requires:
|
|
115
|
+
- build
|
package/css-variables.css
CHANGED
|
@@ -28,6 +28,8 @@
|
|
|
28
28
|
--black-bg: #000000;
|
|
29
29
|
--white-bg: #ffffff;
|
|
30
30
|
|
|
31
|
+
--surface-color: #f5f8fc;
|
|
32
|
+
--surface-bg: light-dark(var(--surface-color), var(--gray-lighter));
|
|
31
33
|
--gray-placeholder: var(--gray-dark);
|
|
32
34
|
--warm-gray: var(--gray-light);
|
|
33
35
|
--off-white: #fafafa;
|
|
@@ -46,6 +48,7 @@
|
|
|
46
48
|
--text-color-white: #ffffff;
|
|
47
49
|
--text-color-black: #000000;
|
|
48
50
|
--dialog-title-fg: var(--gray-base);
|
|
51
|
+
--dialog-bg: light-dark(#ffffff, #1A1A1A);
|
|
49
52
|
--background-gray: var(--gray-lightest);
|
|
50
53
|
--link-color: light-dark(var(--brand-primary-600), var(--brand-primary-400));
|
|
51
54
|
--link-hover-color: light-dark(var(--brand-primary-800), var(--brand-primary-200));
|
|
@@ -54,16 +57,16 @@
|
|
|
54
57
|
--item-selected-bg: var(--brand-primary-100);
|
|
55
58
|
--border-color: light-dark(var(--gray-lighter), var(--gray));
|
|
56
59
|
--hr-border: light-dark(var(--gray-lighter), var(--gray));
|
|
57
|
-
--input-border-color:
|
|
60
|
+
--input-border-color: var(--gray-light);
|
|
58
61
|
--placeholder-color: var(--gray-dark);
|
|
59
62
|
--app-menu-active-color: light-dark(var(--text-color-white), var(--brand-primary-500));
|
|
60
63
|
--app-menu-active-background-color: light-dark(var(--brand-primary-500), var(--text-color-white));
|
|
61
64
|
--list-active-bg: light-dark(var(--brand-primary-50), var(--brand-primary-900));
|
|
62
65
|
--list-hover-bg: var(--gray-lightest);
|
|
63
66
|
--folder-item-hover-bg: var(--list-hover-bg);
|
|
64
|
-
--sidebar-bg-color: var(--
|
|
65
|
-
--sidebar-header-bg-color: var(--
|
|
66
|
-
--sidebar-shaded-color: var(--
|
|
67
|
+
--sidebar-bg-color: var(--body-bg);
|
|
68
|
+
--sidebar-header-bg-color: var(--body-bg);
|
|
69
|
+
--sidebar-shaded-color: var(--border-color);
|
|
67
70
|
--rightbar-bg-color: var(--gray-lightest);
|
|
68
71
|
--read-pane-toolbar-color: var(--gray-lightest);
|
|
69
72
|
--read-pane-bg-color: var(--gray-lightest);
|
|
@@ -92,6 +95,7 @@
|
|
|
92
95
|
--font-family-primary: inherit;
|
|
93
96
|
--font-family-secondary: inherit;
|
|
94
97
|
--font-family-plainText: monospace;
|
|
98
|
+
--font-size-folder-list: 13px;
|
|
95
99
|
--font-size-base: 14px;
|
|
96
100
|
--font-size-med: calc(var(--font-size-base) * 1.15); /*~16px*/
|
|
97
101
|
--font-size-large: calc(var(--font-size-base) * 1.25); /*~18px*/
|
|
@@ -115,6 +119,12 @@
|
|
|
115
119
|
--spacing-md: calc(var(--spacing-base) * 2);
|
|
116
120
|
--spacing-lg: calc(var(--spacing-base) * 3);
|
|
117
121
|
--spacing-xl: calc(var(--spacing-base) * 4);
|
|
122
|
+
--radius-base: 4px;
|
|
123
|
+
--radius-xs: var(--radius-base);
|
|
124
|
+
--radius-sm: calc(var(--radius-base) * 2);
|
|
125
|
+
--radius-md: calc(var(--radius-base) * 3);
|
|
126
|
+
--radius-lg: calc(var(--radius-base) * 4);
|
|
127
|
+
--radius-xl: calc(var(--radius-base) * 5);
|
|
118
128
|
--icon-size-xs: 12px;
|
|
119
129
|
--icon-size-sm: 16px;
|
|
120
130
|
--icon-size-md: 24px;
|
|
@@ -132,9 +142,39 @@
|
|
|
132
142
|
--row-height-wide: 27px;
|
|
133
143
|
--tag-secondary-font-color: #ffffff;
|
|
134
144
|
--popover-row-border-color: var(--border-color);
|
|
135
|
-
--warning-banner-bg: light-dark(var(--brand-warning-
|
|
145
|
+
--warning-banner-bg: light-dark(var(--brand-warning-50), var(--brand-warning-200));
|
|
136
146
|
--drop-zone-bg: light-dark(rgba(215, 243, 255, 0.9), rgba(0, 55, 79, 0.9));
|
|
137
147
|
--drop-zone-border-color: light-dark(rgba(0, 118, 168, 0.9), rgba(128, 187, 212, 0.9));
|
|
138
148
|
--drop-zone-text-color: light-dark(#00648f, #80bbd4);
|
|
139
149
|
--secondary-scrollbar: light-dark(#d1d1d1, #4d4d4d) light-dark(#d1d1d1, #4D4D4D);
|
|
140
|
-
|
|
150
|
+
--tag-color-blue: #3C82F6;
|
|
151
|
+
--tag-color-cyan: #008080;
|
|
152
|
+
--tag-color-green: #248723;
|
|
153
|
+
--tag-color-purple: #6F3C96;
|
|
154
|
+
--tag-color-red: #DC2625;
|
|
155
|
+
--tag-color-yellow: #FBAF19;
|
|
156
|
+
--tag-color-pink: #DD0B73;
|
|
157
|
+
--tag-color-gray: #758083;
|
|
158
|
+
--tag-color-orange: #FF7015;
|
|
159
|
+
--calendar-color-blue: #d2def8;
|
|
160
|
+
--calendar-color-cyan: #d2eff3;
|
|
161
|
+
--calendar-color-green: #d6f0cf;
|
|
162
|
+
--calendar-color-purple: #e4d8ee;
|
|
163
|
+
--calendar-color-red: #fcc3be;
|
|
164
|
+
--calendar-color-yellow: #fdf8b1;
|
|
165
|
+
--calendar-color-pink: #ffd7df;
|
|
166
|
+
--calendar-color-gray: #e5e5e5;
|
|
167
|
+
--calendar-color-orange: #fcdbb3;
|
|
168
|
+
--avatar-color-navy: #1E3A8A;
|
|
169
|
+
--avatar-color-violet: #5B21B6;
|
|
170
|
+
--avatar-color-teal: #0F766E;
|
|
171
|
+
--avatar-color-forest: #166534;
|
|
172
|
+
--avatar-color-emerald: #065F46;
|
|
173
|
+
--avatar-color-rust: #C2410C;
|
|
174
|
+
--avatar-color-amber: #B45309;
|
|
175
|
+
--avatar-color-crimson: #991B1B;
|
|
176
|
+
--avatar-color-rose: #9F1239;
|
|
177
|
+
--avatar-color-indigo: #3730A3;
|
|
178
|
+
--avatar-color-coffee: #4E342E;
|
|
179
|
+
--avatar-color-slate: #334155;
|
|
180
|
+
}
|
package/helpers.less
CHANGED
|
@@ -140,8 +140,7 @@
|
|
|
140
140
|
|
|
141
141
|
.listItem() {
|
|
142
142
|
display: block;
|
|
143
|
-
|
|
144
|
-
padding: 7px 32px;
|
|
143
|
+
padding: var(--spacing-xs);
|
|
145
144
|
color: var(--text-color);
|
|
146
145
|
border: none;
|
|
147
146
|
text-decoration: none;
|
|
@@ -153,22 +152,6 @@
|
|
|
153
152
|
color: var(--gray-darker);
|
|
154
153
|
text-decoration: none;
|
|
155
154
|
}
|
|
156
|
-
|
|
157
|
-
&[data-depth="2"] {
|
|
158
|
-
padding-left: calc(32px * 1.5);
|
|
159
|
-
}
|
|
160
|
-
&[data-depth="3"] {
|
|
161
|
-
padding-left: calc(32px * 2);
|
|
162
|
-
}
|
|
163
|
-
&[data-depth="4"] {
|
|
164
|
-
padding-left: calc(32px * 2.5);
|
|
165
|
-
}
|
|
166
|
-
&[data-depth="5"] {
|
|
167
|
-
padding-left: calc(32px * 3);
|
|
168
|
-
}
|
|
169
|
-
&[data-depth="6"] {
|
|
170
|
-
padding-left: calc(32px * 3.5);
|
|
171
|
-
}
|
|
172
155
|
}
|
|
173
156
|
|
|
174
157
|
.toolbarHeight() {
|
|
@@ -238,4 +221,10 @@
|
|
|
238
221
|
color: light-dark(var(--brand-danger-500), var(--text-color-white));
|
|
239
222
|
background-color: light-dark(var(--brand-danger-50), var(--brand-danger-900));
|
|
240
223
|
font-size: var(--font-size-base);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.popover() {
|
|
227
|
+
background: var(--dialog-bg);
|
|
228
|
+
border-radius: var(--radius-sm);
|
|
229
|
+
box-shadow: 0 5px 15px light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2));
|
|
241
230
|
}
|
package/icon-variables.css
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
/* THIS FILE IS AUTOGENERATED - DO NOT MODIFY */
|
|
2
2
|
:root {
|
|
3
|
+
--zimbra-icon-translate: "\e9c8";
|
|
4
|
+
--zimbra-icon-warning-o: "\e9c7";
|
|
5
|
+
--zimbra-icon-account-external: "\e9c6";
|
|
6
|
+
--zimbra-icon-fit-to-screen: "\e9c1";
|
|
7
|
+
--zimbra-icon-date-picker: "\e9c3";
|
|
8
|
+
--zimbra-icon-filter: "\e9c4";
|
|
9
|
+
--zimbra-icon-search-tips: "\e9c5";
|
|
10
|
+
--zimbra-icon-folder-outbox: "\e9c0";
|
|
11
|
+
--zimbra-icon-calendar-filled: "\e9c2";
|
|
12
|
+
--zimbra-icon-contact-list: "\e9bf";
|
|
13
|
+
--zimbra-icon-search-o: "\e9be";
|
|
14
|
+
--zimbra-icon-folder-contacts: "\e9b9";
|
|
15
|
+
--zimbra-icon-folder-briefcase: "\e9ba";
|
|
16
|
+
--zimbra-icon-file-shared: "\e9bb";
|
|
17
|
+
--zimbra-icon-distribution-list: "\e9bc";
|
|
18
|
+
--zimbra-icon-global-address-list: "\e9bd";
|
|
19
|
+
--zimbra-icon-save: "\e9b8";
|
|
20
|
+
--zimbra-icon-folder-shared: "\e9b6";
|
|
21
|
+
--zimbra-icon-folder-search: "\e9b7";
|
|
22
|
+
--zimbra-icon-star-o: "\e9b5";
|
|
23
|
+
--zimbra-icon-folder-trash: "\e9af";
|
|
24
|
+
--zimbra-icon-folder-archive: "\e9b2";
|
|
25
|
+
--zimbra-icon-folder-drafts: "\e9b3";
|
|
26
|
+
--zimbra-icon-folder-junk: "\e9b4";
|
|
27
|
+
--zimbra-icon-folder-inbox: "\e9ae";
|
|
28
|
+
--zimbra-icon-folder-sent: "\e9b0";
|
|
29
|
+
--zimbra-icon-cog-o: "\e9ad";
|
|
30
|
+
--zimbra-icon-folder-o: "\e9b1";
|
|
3
31
|
--zimbra-icon-mail-draft-o: "\e9ac";
|
|
4
32
|
--zimbra-icon-mail-unread-o: "\e9a2";
|
|
5
33
|
--zimbra-icon-mail-reply-o: "\e9a3";
|
|
@@ -77,7 +105,6 @@
|
|
|
77
105
|
--zimbra-icon-mail-reply-all: "\e93c";
|
|
78
106
|
--zimbra-icon-mail-reply: "\e93d";
|
|
79
107
|
--zimbra-icon-align-right: "\e93e";
|
|
80
|
-
--zimbra-icon-search: "\e93f";
|
|
81
108
|
--zimbra-icon-cog: "\e940";
|
|
82
109
|
--zimbra-icon-music: "\e941";
|
|
83
110
|
--zimbra-icon-shield: "\e942";
|
|
@@ -121,6 +148,7 @@
|
|
|
121
148
|
--zimbra-icon-bell-slash: "\e968";
|
|
122
149
|
--zimbra-icon-warning: "\e969";
|
|
123
150
|
--zimbra-icon-encrypted: "\e96a";
|
|
151
|
+
--zimbra-icon-search: "\e93f";
|
|
124
152
|
--zimbra-icon-search-plus: "\e96b";
|
|
125
153
|
--zimbra-icon-search-minus: "\e96c";
|
|
126
154
|
--zimbra-icon-rotate_right: "\e96d";
|