@aquera/nile-elements 1.8.9 → 1.9.1
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/README.md +8 -0
- package/dist/{index-6faafdf4.cjs.js → index-2f006498.cjs.js} +2 -2
- package/dist/index-2f006498.cjs.js.map +1 -0
- package/dist/{index-9931b440.esm.js → index-646474e8.esm.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +545 -519
- package/dist/nile-card/nile-card.css.cjs.js +1 -1
- package/dist/nile-card/nile-card.css.cjs.js.map +1 -1
- package/dist/nile-card/nile-card.css.esm.js +2 -4
- package/dist/nile-combobox/index.cjs.js +1 -1
- package/dist/nile-combobox/index.esm.js +1 -1
- package/dist/nile-combobox/nile-combobox.cjs.js +1 -1
- package/dist/nile-combobox/nile-combobox.esm.js +1 -1
- package/dist/nile-detail/index.cjs.js +1 -1
- package/dist/nile-detail/index.esm.js +1 -1
- package/dist/nile-detail/nile-detail.cjs.js +1 -1
- package/dist/nile-detail/nile-detail.esm.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.css.cjs.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.css.cjs.js.map +1 -1
- package/dist/nile-file-preview/nile-file-preview.css.esm.js +89 -89
- package/dist/nile-file-preview/nile-file-preview.template.cjs.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.template.cjs.js.map +1 -1
- package/dist/nile-file-preview/nile-file-preview.template.esm.js +42 -42
- package/dist/nile-file-upload/nile-file-upload.css.cjs.js +1 -1
- package/dist/nile-file-upload/nile-file-upload.css.cjs.js.map +1 -1
- package/dist/nile-file-upload/nile-file-upload.css.esm.js +126 -105
- package/dist/nile-grid/nile-grid.css.cjs.js +1 -1
- package/dist/nile-grid/nile-grid.css.cjs.js.map +1 -1
- package/dist/nile-grid/nile-grid.css.esm.js +1 -1
- package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js +1 -1
- package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js.map +1 -1
- package/dist/nile-nav-tab/nile-nav-tab.css.esm.js +4 -0
- package/dist/nile-pagination/nile-pagination.cjs.js +1 -1
- package/dist/nile-pagination/nile-pagination.cjs.js.map +1 -1
- package/dist/nile-pagination/nile-pagination.esm.js +7 -4
- package/dist/src/nile-card/nile-card.css.js +0 -2
- package/dist/src/nile-card/nile-card.css.js.map +1 -1
- package/dist/src/nile-file-preview/nile-file-preview.css.js +87 -87
- package/dist/src/nile-file-preview/nile-file-preview.css.js.map +1 -1
- package/dist/src/nile-file-preview/nile-file-preview.template.js +4 -4
- package/dist/src/nile-file-preview/nile-file-preview.template.js.map +1 -1
- package/dist/src/nile-file-upload/nile-file-upload.css.js +124 -103
- package/dist/src/nile-file-upload/nile-file-upload.css.js.map +1 -1
- package/dist/src/nile-grid/nile-grid.css.js +1 -1
- package/dist/src/nile-grid/nile-grid.css.js.map +1 -1
- package/dist/src/nile-nav-tab/nile-nav-tab.css.js +4 -0
- package/dist/src/nile-nav-tab/nile-nav-tab.css.js.map +1 -1
- package/dist/src/nile-pagination/nile-pagination.d.ts +1 -0
- package/dist/src/nile-pagination/nile-pagination.js +9 -2
- package/dist/src/nile-pagination/nile-pagination.js.map +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-card/nile-card.css.ts +0 -2
- package/src/nile-file-preview/nile-file-preview.css.ts +87 -87
- package/src/nile-file-preview/nile-file-preview.template.ts +4 -4
- package/src/nile-file-upload/nile-file-upload.css.ts +124 -103
- package/src/nile-grid/nile-grid.css.ts +1 -1
- package/src/nile-nav-tab/nile-nav-tab.css.ts +4 -0
- package/src/nile-pagination/nile-pagination.ts +6 -2
- package/vscode-html-custom-data.json +6 -1
- package/dist/index-6faafdf4.cjs.js.map +0 -1
package/package.json
CHANGED
|
@@ -81,7 +81,6 @@ export const styles = css`
|
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
.card:active {
|
|
84
|
-
border: var(--ng-border-width-2) var(--ng-border-style-solid) var(--ng-colors-border-brand);
|
|
85
84
|
background: var(--ng-colors-bg-brand-primary);
|
|
86
85
|
box-shadow: var(--ng-shadow-xs);
|
|
87
86
|
}
|
|
@@ -98,7 +97,6 @@ export const styles = css`
|
|
|
98
97
|
}
|
|
99
98
|
|
|
100
99
|
.card--active {
|
|
101
|
-
border: var(--ng-border-width-2) var(--ng-border-style-solid) var(--ng-colors-border-brand);
|
|
102
100
|
background: var(--ng-colors-bg-brand-primary);
|
|
103
101
|
box-shadow: var(--ng-shadow-xs);
|
|
104
102
|
}
|
|
@@ -44,14 +44,14 @@ export const styles = css`
|
|
|
44
44
|
align-items: center;
|
|
45
45
|
justify-content: space-between;
|
|
46
46
|
gap: 6px;
|
|
47
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
48
|
-
border: 1px dashed var(--nile-colors-neutral-500);
|
|
49
|
-
color: var(--nile-colors-dark-900);
|
|
50
|
-
background-color: var(--nile-colors-white-base);
|
|
47
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
48
|
+
border: 1px dashed var(--nile-colors-neutral-500, var(--ng-colors-border-primary));
|
|
49
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
|
|
50
|
+
background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.hover-state {
|
|
54
|
-
border-color: var(--nile-colors-primary-600);
|
|
54
|
+
border-color: var(--nile-colors-primary-600, var(--ng-colors-border-brand-alt));
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.vertical-div {
|
|
@@ -65,20 +65,20 @@ export const styles = css`
|
|
|
65
65
|
align-items: center;
|
|
66
66
|
gap: 18px;
|
|
67
67
|
padding: 12px;
|
|
68
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
69
|
-
color: var(--nile-colors-dark-900);
|
|
70
|
-
border: 1px dashed var(--nile-colors-neutral-500);
|
|
71
|
-
background-color: var(--nile-colors-white-base);
|
|
68
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
69
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
|
|
70
|
+
border: 1px dashed var(--nile-colors-neutral-500, var(--ng-colors-border-primary));
|
|
71
|
+
background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
|
|
72
72
|
position: relative;
|
|
73
73
|
margin-bottom: 10px;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.vertical-div:hover {
|
|
77
|
-
border-color: var(--nile-colors-blue-500);
|
|
77
|
+
border-color: var(--nile-colors-blue-500, var(--ng-colors-border-brand));
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.outer-div-border {
|
|
81
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
81
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.inner-div {
|
|
@@ -123,13 +123,13 @@ export const styles = css`
|
|
|
123
123
|
align-items: center;
|
|
124
124
|
gap: 18px;
|
|
125
125
|
box-sizing: border-box;
|
|
126
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
126
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
127
127
|
border-radius: 4px;
|
|
128
|
-
background-color: var(--nile-colors-white-base);
|
|
128
|
+
background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
.uploading:hover {
|
|
132
|
-
border-color: var(--nile-colors-neutral-400);
|
|
132
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
.progress-bar-container {
|
|
@@ -143,8 +143,8 @@ export const styles = css`
|
|
|
143
143
|
width: 100%;
|
|
144
144
|
display: flex;
|
|
145
145
|
justify-content: space-between;
|
|
146
|
-
font-size: var(--nile-type-scale-2);
|
|
147
|
-
font-weight: var(--nile-font-weight-regular);
|
|
146
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
147
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.progress-bar-container p {
|
|
@@ -152,8 +152,8 @@ export const styles = css`
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.progress-bar-container > p {
|
|
155
|
-
font-size: var(--nile-type-scale-1);
|
|
156
|
-
color: var(--nile-colors-dark-500);
|
|
155
|
+
font-size: var(--nile-type-scale-1, var(--ng-font-size-text-xs));
|
|
156
|
+
color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));
|
|
157
157
|
text-align: left;
|
|
158
158
|
white-space: nowrap;
|
|
159
159
|
text-overflow: ellipsis;
|
|
@@ -162,9 +162,9 @@ export const styles = css`
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.progress-bar-container .horizontal-file-name {
|
|
165
|
-
font-size: var(--nile-type-scale-1);
|
|
166
|
-
font-weight: var(--nile-font-weight-regular);
|
|
167
|
-
color: var(--nile-colors-dark-500);
|
|
165
|
+
font-size: var(--nile-type-scale-1, var(--ng-font-size-text-xs));
|
|
166
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
167
|
+
color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));
|
|
168
168
|
text-align: left;
|
|
169
169
|
white-space: nowrap;
|
|
170
170
|
overflow: hidden;
|
|
@@ -173,9 +173,9 @@ export const styles = css`
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
.progress-bar-container .vertical-file-name {
|
|
176
|
-
font-size: var(--nile-type-scale-1);
|
|
177
|
-
font-weight: var(--nile-font-weight-regular);
|
|
178
|
-
color: var(--nile-colors-dark-500);
|
|
176
|
+
font-size: var(--nile-type-scale-1, var(--ng-font-size-text-xs));
|
|
177
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
178
|
+
color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));
|
|
179
179
|
text-align: left;
|
|
180
180
|
white-space: nowrap;
|
|
181
181
|
overflow: hidden;
|
|
@@ -185,11 +185,11 @@ export const styles = css`
|
|
|
185
185
|
|
|
186
186
|
/* PREVIEW STATE */
|
|
187
187
|
.preview {
|
|
188
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
188
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
.preview:hover {
|
|
192
|
-
border-color: var(--nile-colors-neutral-400);
|
|
192
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
.preview-inner {
|
|
@@ -207,8 +207,8 @@ export const styles = css`
|
|
|
207
207
|
height: 42px;
|
|
208
208
|
width: 42px;
|
|
209
209
|
object-fit: contain;
|
|
210
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
211
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
210
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
211
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.preview nile-icon:hover {
|
|
@@ -217,11 +217,11 @@ export const styles = css`
|
|
|
217
217
|
|
|
218
218
|
/* NO PREVIEW STATE */
|
|
219
219
|
.no-preview {
|
|
220
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
220
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
.no-preview:hover {
|
|
224
|
-
border-color: var(--nile-colors-neutral-400);
|
|
224
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
.no-preview-container {
|
|
@@ -233,13 +233,13 @@ export const styles = css`
|
|
|
233
233
|
.document-icon {
|
|
234
234
|
height: 40px;
|
|
235
235
|
width: 40px;
|
|
236
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
236
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
237
237
|
padding: 2px 3px 2px 3px;
|
|
238
238
|
display: flex;
|
|
239
239
|
justify-content: center;
|
|
240
240
|
align-items: center;
|
|
241
|
-
border: 1px solid var(--nile-colors-blue-400);
|
|
242
|
-
background-color: var(--nile-colors-blue-100);
|
|
241
|
+
border: 1px solid var(--nile-colors-blue-400, var(--ng-componentcolors-utility-blue-400));
|
|
242
|
+
background-color: var(--nile-colors-blue-100, var(--ng-colors-bg-brand-secondary));
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
.document-icon nile-icon {
|
|
@@ -258,8 +258,8 @@ export const styles = css`
|
|
|
258
258
|
|
|
259
259
|
.preview-file-info p {
|
|
260
260
|
margin: 0px;
|
|
261
|
-
font-size: var(--nile-type-scale-3);
|
|
262
|
-
font-weight: var(--nile-font-weight-regular);
|
|
261
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
262
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
263
263
|
text-align: left;
|
|
264
264
|
white-space: nowrap;
|
|
265
265
|
text-overflow: ellipsis;
|
|
@@ -268,9 +268,9 @@ export const styles = css`
|
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
.preview-file-info p:last-of-type{
|
|
271
|
-
color: var(--nile-colors-neutral-700);
|
|
272
|
-
font-size: var(--nile-type-scale-2);
|
|
273
|
-
font-weight: var(--nile-font-weight-regular);
|
|
271
|
+
color: var(--nile-colors-neutral-700, var(--ng-colors-text-secondary-700));
|
|
272
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
273
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
274
274
|
text-align: left;
|
|
275
275
|
white-space: nowrap;
|
|
276
276
|
text-overflow: ellipsis;
|
|
@@ -284,11 +284,11 @@ export const styles = css`
|
|
|
284
284
|
|
|
285
285
|
/* ERROR STATE */
|
|
286
286
|
.error {
|
|
287
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
287
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
.error:hover {
|
|
291
|
-
border-color: var(--nile-colors-neutral-400);
|
|
291
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
.error-container {
|
|
@@ -301,13 +301,13 @@ export const styles = css`
|
|
|
301
301
|
.error-icon {
|
|
302
302
|
height: 40px;
|
|
303
303
|
width: 40px;
|
|
304
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
304
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
305
305
|
padding: 2px 3px 2px 3px;
|
|
306
306
|
display: flex;
|
|
307
307
|
justify-content: center;
|
|
308
308
|
align-items: center;
|
|
309
|
-
border: 1px solid var(--nile-colors-red-400);
|
|
310
|
-
background-color: var(--nile-colors-red-100);
|
|
309
|
+
border: 1px solid var(--nile-colors-red-400, var(--ng-colors-border-error-subtle));
|
|
310
|
+
background-color: var(--nile-colors-red-100, var(--ng-colors-bg-error-secondary));
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
.error-icon nile-icon {
|
|
@@ -326,8 +326,8 @@ export const styles = css`
|
|
|
326
326
|
|
|
327
327
|
.file-info p {
|
|
328
328
|
margin: 0px;
|
|
329
|
-
font-size: var(--nile-type-scale-3);
|
|
330
|
-
font-weight: var(--nile-font-weight-regular);
|
|
329
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
330
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
331
331
|
text-align: left;
|
|
332
332
|
white-space: nowrap;
|
|
333
333
|
overflow: hidden;
|
|
@@ -336,9 +336,9 @@ export const styles = css`
|
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
.file-info nile-tooltip span, .file-info span {
|
|
339
|
-
color: var(--nile-colors-red-700);
|
|
340
|
-
font-size: var(--nile-type-scale-2);
|
|
341
|
-
font-weight: var(--nile-font-weight-regular);
|
|
339
|
+
color: var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600));
|
|
340
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
341
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
342
342
|
max-width: 90%;
|
|
343
343
|
white-space: nowrap;
|
|
344
344
|
text-overflow: ellipsis;
|
|
@@ -351,9 +351,9 @@ export const styles = css`
|
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
.file-info .horizontal-file-name {
|
|
354
|
-
font-size: var(--nile-type-scale-3);
|
|
355
|
-
font-weight: var(--nile-font-weight-regular);
|
|
356
|
-
color: var(--nile-colors-dark-900);
|
|
354
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
355
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
356
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
|
|
357
357
|
text-align: left;
|
|
358
358
|
white-space: nowrap;
|
|
359
359
|
overflow: hidden;
|
|
@@ -381,7 +381,7 @@ export const styles = css`
|
|
|
381
381
|
}
|
|
382
382
|
|
|
383
383
|
.content-container h4 {
|
|
384
|
-
font-weight: var(--nile-font-weight-regular);
|
|
384
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
385
385
|
text-align: center;
|
|
386
386
|
white-space: nowrap;
|
|
387
387
|
text-overflow: ellipsis;
|
|
@@ -391,8 +391,8 @@ export const styles = css`
|
|
|
391
391
|
|
|
392
392
|
.content-container p:first-child {
|
|
393
393
|
margin: 0px;
|
|
394
|
-
font-size: var(--nile-type-scale-3);
|
|
395
|
-
font-weight: var(--nile-font-weight-regular);
|
|
394
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
395
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
396
396
|
text-align: center;
|
|
397
397
|
white-space: nowrap;
|
|
398
398
|
text-overflow: ellipsis;
|
|
@@ -402,9 +402,9 @@ export const styles = css`
|
|
|
402
402
|
|
|
403
403
|
.content-container p:last-child {
|
|
404
404
|
margin: 0px;
|
|
405
|
-
font-size: var(--nile-type-scale-2);
|
|
406
|
-
font-weight: var(--nile-font-weight-regular);
|
|
407
|
-
color: var(--nile-colors-neutral-700);
|
|
405
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
406
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
407
|
+
color: var(--nile-colors-neutral-700, var(--ng-colors-text-secondary-700));
|
|
408
408
|
text-align: center;
|
|
409
409
|
white-space: nowrap;
|
|
410
410
|
text-overflow: ellipsis;
|
|
@@ -419,10 +419,10 @@ export const styles = css`
|
|
|
419
419
|
justify-content: center;
|
|
420
420
|
align-items: center;
|
|
421
421
|
gap:18px;
|
|
422
|
-
font-size: var(--nile-type-scale-3);
|
|
423
|
-
color: var(--nile-colors-blue-700);
|
|
424
|
-
background-color: var(--nile-colors-blue-100);
|
|
425
|
-
border-color: var(--nile-colors-blue-500);
|
|
422
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
423
|
+
color: var(--nile-colors-blue-700, var(--ng-colors-text-brand-secondary-700));
|
|
424
|
+
background-color: var(--nile-colors-blue-100, var(--ng-colors-bg-brand-secondary));
|
|
425
|
+
border-color: var(--nile-colors-blue-500, var(--ng-colors-border-brand));
|
|
426
426
|
}
|
|
427
427
|
|
|
428
428
|
/* Uploading State */
|
|
@@ -431,11 +431,11 @@ export const styles = css`
|
|
|
431
431
|
flex-direction: column;
|
|
432
432
|
justify-content: flex-end;
|
|
433
433
|
align-items: center;
|
|
434
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
434
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
435
435
|
}
|
|
436
436
|
|
|
437
437
|
.vertical-uploading:hover {
|
|
438
|
-
border-color: var(--nile-colors-neutral-400);
|
|
438
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
.loading {
|
|
@@ -453,28 +453,28 @@ export const styles = css`
|
|
|
453
453
|
|
|
454
454
|
/* Preview State */
|
|
455
455
|
.vertical-preview {
|
|
456
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
456
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
.vertical-preview:hover {
|
|
460
|
-
border-color: var(--nile-colors-neutral-400);
|
|
460
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
.image-preview {
|
|
464
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
464
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
465
465
|
object-fit: cover;
|
|
466
466
|
width: 80px;
|
|
467
467
|
height: 80px;
|
|
468
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
468
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
469
469
|
}
|
|
470
470
|
|
|
471
471
|
/* Vertical No Preview State */
|
|
472
472
|
.vertical-no-preview {
|
|
473
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
473
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
.vertical-no-preview:hover {
|
|
477
|
-
border-color: var(--nile-colors-neutral-400);
|
|
477
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
.vertical-document-icon {
|
|
@@ -484,23 +484,23 @@ export const styles = css`
|
|
|
484
484
|
display: flex;
|
|
485
485
|
justify-content: center;
|
|
486
486
|
align-items: center;
|
|
487
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
488
|
-
border: 1px solid var(--nile-colors-blue-400);
|
|
489
|
-
background-color: var(--nile-colors-blue-100);
|
|
487
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
488
|
+
border: 1px solid var(--nile-colors-blue-400, var(--ng-componentcolors-utility-blue-400));
|
|
489
|
+
background-color: var(--nile-colors-blue-100, var(--ng-colors-bg-brand-secondary));
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
/* Veritcal Error State */
|
|
493
493
|
.vertical-error {
|
|
494
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
494
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
.vertical-error:hover {
|
|
498
|
-
border-color: var(--nile-colors-neutral-400);
|
|
498
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
.error-bg {
|
|
502
|
-
background-color: var(--nile-colors-red-100);
|
|
503
|
-
border: 1px solid var(--nile-colors-red-400);
|
|
502
|
+
background-color: var(--nile-colors-red-100, var(--ng-colors-bg-error-secondary));
|
|
503
|
+
border: 1px solid var(--nile-colors-red-400, var(--ng-colors-border-error-subtle));
|
|
504
504
|
}
|
|
505
505
|
|
|
506
506
|
.file-info-vertical-state {
|
|
@@ -510,8 +510,8 @@ export const styles = css`
|
|
|
510
510
|
|
|
511
511
|
.file-info-vertical-state p {
|
|
512
512
|
margin: 0px;
|
|
513
|
-
font-size: var(--nile-type-scale-3);
|
|
514
|
-
font-weight: var(--nile-font-weight-regular);
|
|
513
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
514
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
515
515
|
padding-bottom: 6px;
|
|
516
516
|
text-align: center;
|
|
517
517
|
white-space: nowrap;
|
|
@@ -521,9 +521,9 @@ export const styles = css`
|
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
.file-info-vertical-state nile-tooltip span, .file-info-vertical-state span {
|
|
524
|
-
color: var(--nile-colors-red-700);
|
|
525
|
-
font-size: var(--nile-type-scale-2);
|
|
526
|
-
font-weight: var(--nile-font-weight-regular);
|
|
524
|
+
color: var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600));
|
|
525
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
526
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
527
527
|
text-align: center;
|
|
528
528
|
white-space: nowrap;
|
|
529
529
|
text-overflow: ellipsis;
|
|
@@ -539,14 +539,14 @@ export const styles = css`
|
|
|
539
539
|
align-items: center;
|
|
540
540
|
gap: 8px;
|
|
541
541
|
margin: 0px;
|
|
542
|
-
font-size: var(--nile-type-scale-3);
|
|
543
|
-
font-weight: var(--nile-font-weight-regular);
|
|
542
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
543
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
544
544
|
text-align: center
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
.error-p {
|
|
548
|
-
color: var(--nile-colors-red-700);
|
|
549
|
-
font-size: var(--nile-type-scale-2);
|
|
548
|
+
color: var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600));
|
|
549
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
550
550
|
width: 216px;
|
|
551
551
|
white-space: nowrap;
|
|
552
552
|
overflow: hidden;
|
|
@@ -572,8 +572,8 @@ export const styles = css`
|
|
|
572
572
|
min-width: 230px;
|
|
573
573
|
max-height: 200px;
|
|
574
574
|
overflow-y: auto;
|
|
575
|
-
border: 1px solid var(--nile-colors-neutral-700);
|
|
576
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
575
|
+
border: 1px solid var(--nile-colors-neutral-700, var(--ng-colors-text-secondary-700));
|
|
576
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
577
577
|
scrollbar-width: none;
|
|
578
578
|
padding: 12px;
|
|
579
579
|
}
|
|
@@ -90,7 +90,7 @@ export function getHorizontalNoPreviewState(
|
|
|
90
90
|
<div class="no-preview horizontal-div" part="horizontal-no-preview-state">
|
|
91
91
|
<div class="no-preview-container" part="horizontal-no-preview-container">
|
|
92
92
|
<div class="document-icon" part="horizontal-no-preview-document-icon">
|
|
93
|
-
<nile-icon name="general" size="20" color="var(--nile-colors-blue-500)"></nile-icon>
|
|
93
|
+
<nile-icon name="general" size="20" color="var(--nile-colors-blue-500, var(--ng-colors-fg-brand-secondary-500))"></nile-icon>
|
|
94
94
|
</div>
|
|
95
95
|
<div class="preview-file-info" part="horizontal-no-preview-file-info">
|
|
96
96
|
<p part="horizontal-no-preview-file-info-name">
|
|
@@ -128,7 +128,7 @@ export function getHorizontalErrorState(
|
|
|
128
128
|
<div class="error horizontal-div" part="horizontal-error-state">
|
|
129
129
|
<div class="error-container" part="horizontal-error-container">
|
|
130
130
|
<div class="error-icon" part="horizontal-error-icon">
|
|
131
|
-
<nile-icon name="info-icon" size="20" color="var(--nile-colors-red-700)"></nile-icon>
|
|
131
|
+
<nile-icon name="info-icon" size="20" color="var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600))"></nile-icon>
|
|
132
132
|
</div>
|
|
133
133
|
<div class="file-info" part="horizontal-error-file-info">
|
|
134
134
|
<p class="horizontal-file-name" part="horizontal-error-file-info-name">
|
|
@@ -239,7 +239,7 @@ export function getVerticalNoPreviewState(
|
|
|
239
239
|
return html`
|
|
240
240
|
<div class="vertical-div vertical-no-preview" part="vertical-no-preview-state">
|
|
241
241
|
<div class="vertical-document-icon" part="vertical-no-preview-document-icon">
|
|
242
|
-
<nile-icon name="general" size="20" color="var(--nile-colors-blue-500)"></nile-icon>
|
|
242
|
+
<nile-icon name="general" size="20" color="var(--nile-colors-blue-500, var(--ng-colors-fg-brand-secondary-500))"></nile-icon>
|
|
243
243
|
</div>
|
|
244
244
|
|
|
245
245
|
<div class="content-container" part="vertical-no-preview-file-info">
|
|
@@ -275,7 +275,7 @@ export function getVerticalErrorState(
|
|
|
275
275
|
return html`
|
|
276
276
|
<div class="vertical-div vertical-error" part="vertical-error-state">
|
|
277
277
|
<div class="vertical-document-icon error-bg" part="vertical-error-document-icon">
|
|
278
|
-
<nile-icon name="info-icon" size="20" color="var(--nile-colors-red-700)"></nile-icon>
|
|
278
|
+
<nile-icon name="info-icon" size="20" color="var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600))"></nile-icon>
|
|
279
279
|
</div>
|
|
280
280
|
|
|
281
281
|
<div class="file-info-vertical-state" part="vertical-error-file-info">
|