@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{css as
|
|
1
|
+
import{css as r}from"lit";const e=r`
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-block;
|
|
4
4
|
width: 100%;
|
|
@@ -31,10 +31,10 @@ import{css as e}from"lit";const r=e`
|
|
|
31
31
|
align-items: center;
|
|
32
32
|
justify-content: space-between;
|
|
33
33
|
gap: 18px;
|
|
34
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
35
|
-
border: 1px dashed var(--nile-colors-neutral-500);
|
|
36
|
-
color: var(--nile-colors-dark-900);
|
|
37
|
-
background-color: var(--nile-colors-white-base);
|
|
34
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
35
|
+
border: 1px dashed var(--nile-colors-neutral-500, var(--ng-colors-border-neutral));
|
|
36
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
|
|
37
|
+
background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
@media (width < 400px) {
|
|
@@ -48,13 +48,13 @@ import{css as e}from"lit";const r=e`
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.hover-border {
|
|
51
|
-
border-color: var(--nile-colors-primary-600);
|
|
51
|
+
border-color: var(--nile-colors-primary-600, var(--ng-colors-border-brand-alt));
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.title {
|
|
55
|
-
font-size: var(--nile-type-scale-3);
|
|
56
|
-
font-weight: var(--nile-font-weight-regular);
|
|
57
|
-
color: var(--nile-colors-dark-900);
|
|
55
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
56
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
57
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
|
|
58
58
|
white-space: nowrap;
|
|
59
59
|
text-overflow: ellipsis;
|
|
60
60
|
overflow: hidden;
|
|
@@ -63,9 +63,9 @@ import{css as e}from"lit";const r=e`
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.subtitle {
|
|
66
|
-
font-size: var(--nile-type-scale-2);
|
|
67
|
-
font-weight: var(--nile-font-weight-regular);
|
|
68
|
-
color: var(--nile-colors-dark-500);
|
|
66
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
67
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
68
|
+
color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));
|
|
69
69
|
white-space: nowrap;
|
|
70
70
|
text-overflow: ellipsis;
|
|
71
71
|
overflow: hidden;
|
|
@@ -82,19 +82,19 @@ import{css as e}from"lit";const r=e`
|
|
|
82
82
|
justify-content: space-between;
|
|
83
83
|
align-items: center;
|
|
84
84
|
padding: 12px;
|
|
85
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
86
|
-
color: var(--nile-colors-dark-900);
|
|
87
|
-
border: 1px dashed var(--nile-colors-neutral-500);
|
|
88
|
-
background-color: var(--nile-colors-white-base);
|
|
85
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
86
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
|
|
87
|
+
border: 1px dashed var(--nile-colors-neutral-500, var(--ng-colors-border-neutral));
|
|
88
|
+
background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
|
|
89
89
|
position: relative;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.vertical-div:hover {
|
|
93
|
-
border-color: var(--nile-colors-blue-500);
|
|
93
|
+
border-color: var(--nile-colors-blue-500, var(--ng-colors-border-brand));
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.outer-div-border {
|
|
97
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
97
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.inner-div {
|
|
@@ -114,9 +114,9 @@ import{css as e}from"lit";const r=e`
|
|
|
114
114
|
|
|
115
115
|
.content h4 {
|
|
116
116
|
margin: 0px;
|
|
117
|
-
font-size: var(--nile-type-scale-3);
|
|
118
|
-
font-weight: var(--nile-font-weight-regular);
|
|
119
|
-
color: var(--nile-colors-dark-900);
|
|
117
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
118
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
119
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
|
|
120
120
|
text-align: center;
|
|
121
121
|
white-space: nowrap;
|
|
122
122
|
text-overflow: ellipsis;
|
|
@@ -126,8 +126,8 @@ import{css as e}from"lit";const r=e`
|
|
|
126
126
|
|
|
127
127
|
.content p {
|
|
128
128
|
margin: 0px;
|
|
129
|
-
font-size: var(--nile-type-scale-2);
|
|
130
|
-
color: var(--nile-colors-neutral-700);
|
|
129
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
130
|
+
color: var(--nile-colors-neutral-700, var(--ng-colors-text-secondary-700));
|
|
131
131
|
text-align: center;
|
|
132
132
|
white-space: nowrap;
|
|
133
133
|
text-overflow: ellipsis;
|
|
@@ -147,26 +147,38 @@ import{css as e}from"lit";const r=e`
|
|
|
147
147
|
cursor: pointer;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
+
nile-button::part(base) {
|
|
151
|
+
border-color: var(--nile-colors-neutral-500, var(--ng-colors-border-neutral));
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
nile-button:active::part(base) {
|
|
155
|
+
border-color: var(--nile-colors-neutral-700, var(--ng-colors-border-neutral));
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
nile-button[disabled]::part(base) {
|
|
159
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
160
|
+
}
|
|
161
|
+
|
|
150
162
|
/* DISABLED STATE */
|
|
151
163
|
.disable {
|
|
152
|
-
background-color: var(--nile-colors-dark-200);
|
|
164
|
+
background-color: var(--nile-colors-dark-200, var(--ng-colors-bg-disabled));
|
|
153
165
|
opacity: 0.8;
|
|
154
166
|
cursor: not-allowed;
|
|
155
|
-
color: var(--nile-colors-neutral-500);
|
|
167
|
+
color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));
|
|
156
168
|
pointer-events: none;
|
|
157
169
|
}
|
|
158
170
|
|
|
159
171
|
/* DRAGGING */
|
|
160
172
|
.dragging {
|
|
161
|
-
background-color: var(--nile-colors-blue-100);
|
|
162
|
-
border-color: var(--nile-colors-primary-600);
|
|
173
|
+
background-color: var(--nile-colors-blue-100, var(--ng-colors-bg-brand-secondary));
|
|
174
|
+
border-color: var(--nile-colors-primary-600, var(--ng-colors-border-brand-alt));
|
|
163
175
|
display: flex;
|
|
164
176
|
align-items: center;
|
|
165
177
|
justify-content: flex-start;
|
|
166
178
|
gap: 18px;
|
|
167
|
-
color: var(--nile-colors-blue-700);
|
|
168
|
-
font-size: var(--nile-type-scale-3);
|
|
169
|
-
font-weight: var(--nile-font-weight-regular);
|
|
179
|
+
color: var(--nile-colors-blue-700, var(--ng-colors-text-brand-secondary-700));
|
|
180
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
181
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
170
182
|
}
|
|
171
183
|
|
|
172
184
|
.icons-container {
|
|
@@ -197,11 +209,11 @@ import{css as e}from"lit";const r=e`
|
|
|
197
209
|
align-items: center;
|
|
198
210
|
gap: 18px;
|
|
199
211
|
box-sizing: border-box;
|
|
200
|
-
border: 1px solid var(--nile-colors-neutral-400)
|
|
212
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary))
|
|
201
213
|
}
|
|
202
|
-
|
|
214
|
+
|
|
203
215
|
.uploading:hover {
|
|
204
|
-
border-color: var(--nile-colors-neutral-400);
|
|
216
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
205
217
|
}
|
|
206
218
|
|
|
207
219
|
.progress-bar-container {
|
|
@@ -215,8 +227,8 @@ import{css as e}from"lit";const r=e`
|
|
|
215
227
|
width: 100%;
|
|
216
228
|
display: flex;
|
|
217
229
|
justify-content: space-between;
|
|
218
|
-
font-size: var(--nile-type-scale-2);
|
|
219
|
-
font-weight: var(--nile-font-weight-regular);
|
|
230
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
231
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
220
232
|
}
|
|
221
233
|
|
|
222
234
|
.progress-bar-container p {
|
|
@@ -224,17 +236,17 @@ import{css as e}from"lit";const r=e`
|
|
|
224
236
|
}
|
|
225
237
|
|
|
226
238
|
.progress-bar-container > p {
|
|
227
|
-
font-size: var(--nile-type-scale-1);
|
|
228
|
-
color: var(--nile-colors-dark-500);
|
|
239
|
+
font-size: var(--nile-type-scale-1, var(--ng-font-size-text-xs));
|
|
240
|
+
color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));
|
|
229
241
|
}
|
|
230
242
|
|
|
231
243
|
/* PREVIEW STATE */
|
|
232
244
|
.preview {
|
|
233
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
245
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
234
246
|
}
|
|
235
247
|
|
|
236
248
|
.preview:hover {
|
|
237
|
-
border-color: var(--nile-colors-neutral-400);
|
|
249
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
238
250
|
}
|
|
239
251
|
|
|
240
252
|
.preview-inner {
|
|
@@ -251,8 +263,8 @@ import{css as e}from"lit";const r=e`
|
|
|
251
263
|
height: 42px;
|
|
252
264
|
width: 42px;
|
|
253
265
|
object-fit: contain;
|
|
254
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
255
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
266
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
267
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
256
268
|
}
|
|
257
269
|
|
|
258
270
|
.preview-file-info {
|
|
@@ -266,14 +278,14 @@ import{css as e}from"lit";const r=e`
|
|
|
266
278
|
|
|
267
279
|
.preview-file-info p {
|
|
268
280
|
margin: 0px;
|
|
269
|
-
font-size: var(--nile-type-scale-3);
|
|
270
|
-
font-weight: var(--nile-font-weight-regular);
|
|
281
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
282
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
271
283
|
}
|
|
272
284
|
|
|
273
285
|
.preview-file-info p:last-of-type{
|
|
274
|
-
color: var(--nile-colors-neutral-700);
|
|
275
|
-
font-size: var(--nile-type-scale-2);
|
|
276
|
-
font-weight: var(--nile-font-weight-regular);
|
|
286
|
+
color: var(--nile-colors-neutral-700, var(--ng-colors-text-secondary-700));
|
|
287
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
288
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
277
289
|
}
|
|
278
290
|
|
|
279
291
|
.preview nile-icon:hover {
|
|
@@ -282,11 +294,11 @@ import{css as e}from"lit";const r=e`
|
|
|
282
294
|
|
|
283
295
|
/* NO PREVIEW STATE */
|
|
284
296
|
.no-preview {
|
|
285
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
297
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
286
298
|
}
|
|
287
299
|
|
|
288
300
|
.no-preview:hover {
|
|
289
|
-
border-color: var(--nile-colors-neutral-400);
|
|
301
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
290
302
|
}
|
|
291
303
|
|
|
292
304
|
.no-preview-container {
|
|
@@ -297,13 +309,13 @@ import{css as e}from"lit";const r=e`
|
|
|
297
309
|
.document-icon {
|
|
298
310
|
height: 40px;
|
|
299
311
|
width: 40px;
|
|
300
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
312
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
301
313
|
padding: 2px 3px 2px 3px;
|
|
302
314
|
display: flex;
|
|
303
315
|
justify-content: center;
|
|
304
316
|
align-items: center;
|
|
305
|
-
border: 1px solid var(--nile-colors-blue-400);
|
|
306
|
-
background-color: var(--nile-colors-blue-100);
|
|
317
|
+
border: 1px solid var(--nile-colors-blue-400, var(--ng-componentcolors-utility-blue-400));
|
|
318
|
+
background-color: var(--nile-colors-blue-100, var(--ng-colors-bg-brand-secondary));
|
|
307
319
|
}
|
|
308
320
|
|
|
309
321
|
.document-icon nile-icon {
|
|
@@ -322,14 +334,14 @@ import{css as e}from"lit";const r=e`
|
|
|
322
334
|
|
|
323
335
|
.preview-file-info p {
|
|
324
336
|
margin: 0px;
|
|
325
|
-
font-size: var(--nile-type-scale-3);
|
|
326
|
-
font-weight: var(--nile-font-weight-regular);
|
|
337
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
338
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
327
339
|
}
|
|
328
340
|
|
|
329
341
|
.preview-file-info p:last-of-type{
|
|
330
|
-
color: var(--nile-colors-neutral-700);
|
|
331
|
-
font-size: var(--nile-type-scale-2);
|
|
332
|
-
font-weight: var(--nile-font-weight-regular);
|
|
342
|
+
color: var(--nile-colors-neutral-700, var(--ng-colors-text-secondary-700));
|
|
343
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
344
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
333
345
|
}
|
|
334
346
|
|
|
335
347
|
.no-preview > nile-icon:hover {
|
|
@@ -339,11 +351,11 @@ import{css as e}from"lit";const r=e`
|
|
|
339
351
|
/* ERROR STATE */
|
|
340
352
|
|
|
341
353
|
.error {
|
|
342
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
354
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
343
355
|
}
|
|
344
356
|
|
|
345
357
|
.error:hover {
|
|
346
|
-
border-color: var(--nile-colors-neutral-400);
|
|
358
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
347
359
|
}
|
|
348
360
|
|
|
349
361
|
.error-container {
|
|
@@ -355,13 +367,13 @@ import{css as e}from"lit";const r=e`
|
|
|
355
367
|
.error-icon {
|
|
356
368
|
height: 40px;
|
|
357
369
|
width: 40px;
|
|
358
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
370
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
359
371
|
padding: 2px 3px 2px 3px;
|
|
360
372
|
display: flex;
|
|
361
373
|
justify-content: center;
|
|
362
374
|
align-items: center;
|
|
363
|
-
border: 1px solid var(--nile-colors-red-400);
|
|
364
|
-
background-color: var(--nile-colors-red-100);
|
|
375
|
+
border: 1px solid var(--nile-colors-red-400, var(--ng-colors-border-error-subtle));
|
|
376
|
+
background-color: var(--nile-colors-red-100, var(--ng-colors-bg-error-secondary));
|
|
365
377
|
}
|
|
366
378
|
|
|
367
379
|
.error-icon nile-icon {
|
|
@@ -380,14 +392,14 @@ import{css as e}from"lit";const r=e`
|
|
|
380
392
|
|
|
381
393
|
.file-info p {
|
|
382
394
|
margin: 0px;
|
|
383
|
-
font-size: var(--nile-type-scale-3);
|
|
384
|
-
font-weight: var(--nile-font-weight-regular);
|
|
395
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
396
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
385
397
|
}
|
|
386
398
|
|
|
387
399
|
.file-info p:last-of-type{
|
|
388
|
-
color: var(--nile-colors-red-700);
|
|
389
|
-
font-size: var(--nile-type-scale-2);
|
|
390
|
-
font-weight: var(--nile-font-weight-regular);
|
|
400
|
+
color: var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600));
|
|
401
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
402
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
391
403
|
}
|
|
392
404
|
|
|
393
405
|
.error > nile-icon:hover {
|
|
@@ -414,9 +426,9 @@ import{css as e}from"lit";const r=e`
|
|
|
414
426
|
}
|
|
415
427
|
|
|
416
428
|
.content-container div.title {
|
|
417
|
-
font-size: var(--nile-type-scale-3);
|
|
418
|
-
font-weight: var(--nile-font-weight-regular);
|
|
419
|
-
color: var(--nile-colors-dark-900);
|
|
429
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
430
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
431
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
|
|
420
432
|
text-align: center;
|
|
421
433
|
white-space: nowrap;
|
|
422
434
|
text-overflow: ellipsis;
|
|
@@ -425,9 +437,9 @@ import{css as e}from"lit";const r=e`
|
|
|
425
437
|
}
|
|
426
438
|
|
|
427
439
|
.content-container div.subtitle {
|
|
428
|
-
font-size: var(--nile-type-scale-2);
|
|
429
|
-
font-weight: var(--nile-font-weight-regular);
|
|
430
|
-
color: var(--nile-colors-dark-500);
|
|
440
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
441
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
442
|
+
color: var(--nile-colors-dark-500, var(--ng-colors-text-tertiary-600));
|
|
431
443
|
text-align: center;
|
|
432
444
|
white-space: nowrap;
|
|
433
445
|
text-overflow: ellipsis;
|
|
@@ -442,10 +454,10 @@ import{css as e}from"lit";const r=e`
|
|
|
442
454
|
justify-content: center;
|
|
443
455
|
align-items: center;
|
|
444
456
|
gap:18px;
|
|
445
|
-
font-size: var(--nile-type-scale-3);
|
|
446
|
-
color: var(--nile-colors-blue-700);
|
|
447
|
-
background-color: var(--nile-colors-blue-100);
|
|
448
|
-
border-color: var(--nile-colors-blue-500);
|
|
457
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
458
|
+
color: var(--nile-colors-blue-700, var(--ng-colors-text-brand-secondary-700));
|
|
459
|
+
background-color: var(--nile-colors-blue-100, var(--ng-colors-bg-brand-secondary));
|
|
460
|
+
border-color: var(--nile-colors-blue-500, var(--ng-colors-border-brand));
|
|
449
461
|
}
|
|
450
462
|
|
|
451
463
|
/* Uploading State */
|
|
@@ -454,11 +466,11 @@ import{css as e}from"lit";const r=e`
|
|
|
454
466
|
flex-direction: column;
|
|
455
467
|
justify-content: flex-end;
|
|
456
468
|
align-items: center;
|
|
457
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
469
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
458
470
|
}
|
|
459
471
|
|
|
460
472
|
.vertical-uploading:hover {
|
|
461
|
-
border-color: var(--nile-colors-neutral-400);
|
|
473
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
462
474
|
}
|
|
463
475
|
|
|
464
476
|
.loading {
|
|
@@ -475,28 +487,28 @@ import{css as e}from"lit";const r=e`
|
|
|
475
487
|
|
|
476
488
|
/* Preview State */
|
|
477
489
|
.vertical-preview {
|
|
478
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
490
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
479
491
|
}
|
|
480
492
|
|
|
481
493
|
.vertical-preview:hover {
|
|
482
|
-
border-color: var(--nile-colors-neutral-400);
|
|
494
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
483
495
|
}
|
|
484
496
|
|
|
485
497
|
.image-preview {
|
|
486
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
498
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
487
499
|
object-fit: cover;
|
|
488
500
|
width: 80px;
|
|
489
501
|
height: 80px;
|
|
490
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
502
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
491
503
|
}
|
|
492
504
|
|
|
493
505
|
/* Vertical No Preview State */
|
|
494
506
|
.vertical-no-preview {
|
|
495
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
507
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
496
508
|
}
|
|
497
509
|
|
|
498
510
|
.vertical-no-preview:hover {
|
|
499
|
-
border-color: var(--nile-colors-neutral-400);
|
|
511
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
500
512
|
}
|
|
501
513
|
|
|
502
514
|
.vertical-document-icon {
|
|
@@ -506,23 +518,23 @@ import{css as e}from"lit";const r=e`
|
|
|
506
518
|
display: flex;
|
|
507
519
|
justify-content: center;
|
|
508
520
|
align-items: center;
|
|
509
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
510
|
-
border: 1px solid var(--nile-colors-blue-400);
|
|
511
|
-
background-color: var(--nile-colors-blue-100);
|
|
521
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
522
|
+
border: 1px solid var(--nile-colors-blue-400, var(--ng-componentcolors-utility-blue-400));
|
|
523
|
+
background-color: var(--nile-colors-blue-100, var(--ng-colors-bg-brand-secondary));
|
|
512
524
|
}
|
|
513
525
|
|
|
514
526
|
/* Veritcal Error State */
|
|
515
527
|
.vertical-error {
|
|
516
|
-
border: 1px solid var(--nile-colors-neutral-400);
|
|
528
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
517
529
|
}
|
|
518
530
|
|
|
519
531
|
.vertical-error:hover {
|
|
520
|
-
border-color: var(--nile-colors-neutral-400);
|
|
532
|
+
border-color: var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
521
533
|
}
|
|
522
534
|
|
|
523
535
|
.error-bg {
|
|
524
|
-
background-color: var(--nile-colors-red-100);
|
|
525
|
-
border: 1px solid var(--nile-colors-red-400);
|
|
536
|
+
background-color: var(--nile-colors-red-100, var(--ng-colors-bg-error-secondary));
|
|
537
|
+
border: 1px solid var(--nile-colors-red-400, var(--ng-colors-border-error-subtle));
|
|
526
538
|
}
|
|
527
539
|
|
|
528
540
|
.error-message {
|
|
@@ -532,14 +544,14 @@ import{css as e}from"lit";const r=e`
|
|
|
532
544
|
align-items: center;
|
|
533
545
|
gap: 8px;
|
|
534
546
|
margin: 0px;
|
|
535
|
-
font-size: var(--nile-type-scale-3);
|
|
536
|
-
font-weight: var(--nile-font-weight-regular);
|
|
547
|
+
font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));
|
|
548
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
537
549
|
text-align: start;
|
|
538
550
|
}
|
|
539
551
|
|
|
540
552
|
.error-p {
|
|
541
|
-
color: var(--nile-colors-red-700);
|
|
542
|
-
font-size: var(--nile-type-scale-2);
|
|
553
|
+
color: var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600));
|
|
554
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
543
555
|
width: 216px;
|
|
544
556
|
white-space: nowrap;
|
|
545
557
|
overflow: hidden;
|
|
@@ -566,8 +578,8 @@ import{css as e}from"lit";const r=e`
|
|
|
566
578
|
min-width: 230px;
|
|
567
579
|
max-height: 200px;
|
|
568
580
|
overflow-y: auto;
|
|
569
|
-
border: 1px solid var(--nile-colors-neutral-700);
|
|
570
|
-
border-radius: var(--nile-radius-radius-xs);
|
|
581
|
+
border: 1px solid var(--nile-colors-neutral-700, var(--ng-colors-border-neutral));
|
|
582
|
+
border-radius: var(--nile-radius-radius-xs, var(--ng-radius-xs));
|
|
571
583
|
scrollbar-width: none;
|
|
572
584
|
padding: 12px;
|
|
573
585
|
}
|
|
@@ -582,18 +594,18 @@ import{css as e}from"lit";const r=e`
|
|
|
582
594
|
|
|
583
595
|
/* for the upload error messages */
|
|
584
596
|
.upload-error {
|
|
585
|
-
font-size: var(--nile-type-scale-2);
|
|
586
|
-
font-weight: var(--nile-font-weight-regular);
|
|
587
|
-
color: var(--nile-colors-red-700);
|
|
597
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
598
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
599
|
+
color: var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600));
|
|
588
600
|
display: flex;
|
|
589
601
|
justify-content: flex-start;
|
|
590
602
|
align-items: center;
|
|
591
|
-
gap: var(--nile-spacing-one-half-x);
|
|
603
|
+
gap: var(--nile-spacing-one-half-x, var(--ng-spacing-xxs));
|
|
592
604
|
margin-top: 10px;
|
|
593
605
|
}
|
|
594
606
|
|
|
595
607
|
.upload-error > nile-tooltip > span {
|
|
596
|
-
color: var(--nile-colors-red-700);
|
|
608
|
+
color: var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600));
|
|
597
609
|
white-space: nowrap;
|
|
598
610
|
text-align: left;
|
|
599
611
|
max-width: 560px;
|
|
@@ -603,18 +615,27 @@ import{css as e}from"lit";const r=e`
|
|
|
603
615
|
|
|
604
616
|
.vertical-upload-error {
|
|
605
617
|
display: flex;
|
|
618
|
+
align-items: center;
|
|
606
619
|
gap: 4px;
|
|
607
620
|
margin-top: 10px;
|
|
608
621
|
}
|
|
609
622
|
|
|
610
623
|
.vertical-upload-error nile-tooltip span, .vertical-upload-error span {
|
|
611
|
-
color: var(--nile-colors-red-700);
|
|
624
|
+
color: var(--nile-colors-red-700, var(--ng-colors-text-error-primary-600));
|
|
612
625
|
white-space: nowrap;
|
|
613
626
|
text-align: left;
|
|
614
627
|
width: 222px;
|
|
615
628
|
overflow: hidden;
|
|
616
629
|
text-overflow: ellipsis;
|
|
617
|
-
font-size: var(--nile-type-scale-2);
|
|
630
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
618
631
|
display: inline-block;
|
|
619
632
|
}
|
|
620
|
-
|
|
633
|
+
|
|
634
|
+
.upload-error nile-lite-tooltip,
|
|
635
|
+
.vertical-upload-error nile-lite-tooltip {
|
|
636
|
+
display: flex;
|
|
637
|
+
align-items: center;
|
|
638
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
639
|
+
line-height: 1;
|
|
640
|
+
}
|
|
641
|
+
`;export{e as s};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var o,_templateObject,r;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){o=_lit.css;}],execute:function execute(){_export("s",r=o(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n --min-width: 180px;\n display: grid;\n grid-template-rows: auto;\n overflow: auto;\n inline-size: 100%;\n position: relative;\n box-sizing: border-box;\n border: 1px solid var(--nile-colors-neutral-400,
|
|
1
|
+
System.register(["lit"],function(_export,_context){"use strict";var o,_templateObject,r;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){o=_lit.css;}],execute:function execute(){_export("s",r=o(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n --min-width: 180px;\n display: grid;\n grid-template-rows: auto;\n overflow: auto;\n inline-size: 100%;\n position: relative;\n box-sizing: border-box;\n border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));\n border-radius: var(--nile-radius-md, var(--ng-radius-xl));\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n max-height: 100%;\n width: 100%;\n min-width: var(--min-width);\n box-shadow: var(--nile-box-shadow-3, var(--ng-shadow-xs));\n }\n\n ::slotted(nile-grid-head),\n ::slotted(nile-grid-body) {\n inline-size: 100%;\n }\n\n .nile-resize-start,\n .nile-resize-end {\n position: absolute;\n z-index: 4;\n background-color: var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));\n width: 2px;\n height: 100%;\n top: 0;\n display: none;\n bottom: 0;\n }\n"]))));}};});
|
|
2
2
|
//# sourceMappingURL=nile-grid.css.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-grid.css.cjs.js","sources":["../../../src/nile-grid/nile-grid.css.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2025\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit';\n\nexport const styles = css`\n :host {\n --min-width: 180px;\n display: grid;\n grid-template-rows: auto;\n overflow: auto;\n inline-size: 100%;\n position: relative;\n box-sizing: border-box;\n border: 1px solid var(--nile-colors-neutral-400,
|
|
1
|
+
{"version":3,"file":"nile-grid.css.cjs.js","sources":["../../../src/nile-grid/nile-grid.css.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2025\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit';\n\nexport const styles = css`\n :host {\n --min-width: 180px;\n display: grid;\n grid-template-rows: auto;\n overflow: auto;\n inline-size: 100%;\n position: relative;\n box-sizing: border-box;\n border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));\n border-radius: var(--nile-radius-md, var(--ng-radius-xl));\n background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));\n max-height: 100%;\n width: 100%;\n min-width: var(--min-width);\n box-shadow: var(--nile-box-shadow-3, var(--ng-shadow-xs));\n }\n\n ::slotted(nile-grid-head),\n ::slotted(nile-grid-body) {\n inline-size: 100%;\n }\n\n .nile-resize-start,\n .nile-resize-end {\n position: absolute;\n z-index: 4;\n background-color: var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));\n width: 2px;\n height: 100%;\n top: 0;\n display: none;\n bottom: 0;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTASaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -7,7 +7,7 @@ import{css as o}from"lit";const r=o`
|
|
|
7
7
|
inline-size: 100%;
|
|
8
8
|
position: relative;
|
|
9
9
|
box-sizing: border-box;
|
|
10
|
-
border: 1px solid var(--nile-colors-neutral-400,
|
|
10
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));
|
|
11
11
|
border-radius: var(--nile-radius-md, var(--ng-radius-xl));
|
|
12
12
|
background-color: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
|
|
13
13
|
max-height: 100%;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var a,_templateObject,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){a=_lit.css;}],execute:function execute(){_export("s",n=a(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n \n [hidden] {\n display: none;\n }\n\n :host {\n display: flex;\n flex-direction: column;\n align-self: stretch;\n position: relative;\n\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n cursor: pointer;\n }\n\n :host([centered]) {\n flex: 1;\n text-align: center;\n }\n\n /* --------------------------------------------------------------------------\n * Tab shell (list item)\n * -------------------------------------------------------------------------- */\n\n .nav-tab-container {\n flex: 1 1 auto;\n width: var(--nav-tab-item-width);\n padding: 0;\n box-sizing: border-box;\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-transparent-border);\n transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;\n position: relative;\n display: flex;\n align-items: stretch;\n list-style: none;\n overflow: var(--nile-nav-tab-container-overflow);\n margin-top: var(--nile-nav-tab-margin);\n margin-bottom: var(--nile-nav-tab-margin);\n \n }\n\n /* --------------------------------------------------------------------------\n * nile-link wrapper + internal <a> (part base)\n * -------------------------------------------------------------------------- */\n\n .nav-tab {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-width: 0;\n min-height: 0;\n align-items: center;\n box-sizing: border-box;\n }\n\n .nav-tab::part(base) {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-height: 100%;\n height: 100%;\n align-items: center;\n justify-content: var(--justify-content);\n white-space: var(--white-space, nowrap);\n user-select: none;\n transition: 0.2s box-shadow, 0.2s color;\n gap: var(--nile-spacing-md, var(--ng-spacing-md));\n box-sizing: border-box;\n text-decoration: none;\n font-family: var(--nile-font-family-medium, var(--ng-font-family-body));\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n font-style: normal;\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-semibold));\n line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n word-break: var(--word-break);\n overflow-wrap: var(--overflow-wrap);\n text-align: var(--text-align);\n padding: var(--nile-nav-tab-padding);\n }\n\n /* --------------------------------------------------------------------------\n * Host: active / hover (container + link color)\n * -------------------------------------------------------------------------- */\n\n :host([active]) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-active);\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-hover);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container ::part(base) {\n color: var(--nile-nav-tab-text-color-hover, var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700)));\n }\n\n /* --------------------------------------------------------------------------\n * nile-link part: label inherits anchor\n * -------------------------------------------------------------------------- */\n\n .nav-tab::part(label) {\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n }\n\n /* --------------------------------------------------------------------------\n * Interaction states (::part base)\n * -------------------------------------------------------------------------- */\n\n /* Default (inactive) */\n .nav-tab:not(.nav-tab--active):not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-secondary-700));\n }\n\n /* Hover */\n .nav-tab:hover:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-brand-secondary-700));\n background-color: var(--tab-hover-background-color);\n }\n\n /* Focus \u2014 roving tabindex is on :host; inner link stays tabindex=-1 */\n :host(:focus-visible:not([disabled])) .nav-tab::part(base) {\n color: var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700));\n }\n\n /* Active */\n .nav-tab.nav-tab--active:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-nav-tab-active-color, var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700)));\n background-color: var(--tab-active-background-color);\n }\n\n /* --------------------------------------------------------------------------\n * Disabled\n * -------------------------------------------------------------------------- */\n\n .nav-tab.nav-tab--disabled {\n cursor: not-allowed;\n }\n\n :host([disabled]) .nav-tab-container {\n cursor: not-allowed;\n }\n\n .nav-tab.nav-tab--disabled::part(base) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n cursor: not-allowed;\n pointer-events: none;\n }\n\n .nav-tab.nav-tab--disabled::part(label) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n }\n\n .nav-tab.nav-tab--disabled:hover::part(base),\n :host([disabled]:focus-visible) .nav-tab::part(base) {\n background-color: transparent;\n }\n\n /* --------------------------------------------------------------------------\n * Closable: close button\n * -------------------------------------------------------------------------- */\n\n .nav-tab__close-button {\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n margin-inline-start: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n .nav-tab__close-button::part(base) {\n padding: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n \n"]))));}};});
|
|
1
|
+
System.register(["lit"],function(_export,_context){"use strict";var a,_templateObject,n;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){a=_lit.css;}],execute:function execute(){_export("s",n=a(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n \n [hidden] {\n display: none;\n }\n\n :host {\n display: flex;\n flex-direction: column;\n align-self: stretch;\n position: relative;\n\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n cursor: pointer;\n }\n\n :host([centered]) {\n flex: 1;\n text-align: center;\n }\n\n /* --------------------------------------------------------------------------\n * Tab shell (list item)\n * -------------------------------------------------------------------------- */\n\n .nav-tab-container {\n flex: 1 1 auto;\n width: var(--nav-tab-item-width);\n padding: 0;\n box-sizing: border-box;\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-transparent-border);\n transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;\n position: relative;\n display: flex;\n align-items: stretch;\n list-style: none;\n overflow: var(--nile-nav-tab-container-overflow);\n margin-top: var(--nile-nav-tab-margin);\n margin-bottom: var(--nile-nav-tab-margin);\n \n }\n\n /* --------------------------------------------------------------------------\n * nile-link wrapper + internal <a> (part base)\n * -------------------------------------------------------------------------- */\n\n .nav-tab {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-width: 0;\n min-height: 0;\n align-items: center;\n box-sizing: border-box;\n }\n\n .nav-tab::part(base) {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-height: 100%;\n height: 100%;\n align-items: center;\n justify-content: var(--justify-content);\n white-space: var(--white-space, nowrap);\n user-select: none;\n transition: 0.2s box-shadow, 0.2s color;\n gap: var(--nile-spacing-md, var(--ng-spacing-md));\n box-sizing: border-box;\n text-decoration: none;\n font-family: var(--nile-font-family-medium, var(--ng-font-family-body));\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n font-style: normal;\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-semibold));\n line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n word-break: var(--word-break);\n overflow-wrap: var(--overflow-wrap);\n text-align: var(--text-align);\n padding: var(--nile-nav-tab-padding);\n }\n\n /* --------------------------------------------------------------------------\n * Host: active / hover (container + link color)\n * -------------------------------------------------------------------------- */\n\n :host([active]) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-active);\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-hover);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container ::part(base) {\n color: var(--nile-nav-tab-text-color-hover, var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700)));\n }\n\n /* --------------------------------------------------------------------------\n * nile-link part: label inherits anchor\n * -------------------------------------------------------------------------- */\n\n .nav-tab::part(label) {\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n }\n\n /* --------------------------------------------------------------------------\n * Interaction states (::part base)\n * -------------------------------------------------------------------------- */\n\n /* Default (inactive) */\n .nav-tab:not(.nav-tab--active):not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-secondary-700));\n }\n\n /* Hover */\n .nav-tab:hover:not(.nav-tab--disabled)::part(base),\n .nav-tab:hover:not(.nav-tab--disabled)::part(label) {\n text-decoration: none;\n }\n .nav-tab:hover:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-brand-secondary-700));\n background-color: var(--tab-hover-background-color);\n }\n\n /* Focus \u2014 roving tabindex is on :host; inner link stays tabindex=-1 */\n :host(:focus-visible:not([disabled])) .nav-tab::part(base) {\n color: var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700));\n }\n\n /* Active */\n .nav-tab.nav-tab--active:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-nav-tab-active-color, var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700)));\n background-color: var(--tab-active-background-color);\n }\n\n /* --------------------------------------------------------------------------\n * Disabled\n * -------------------------------------------------------------------------- */\n\n .nav-tab.nav-tab--disabled {\n cursor: not-allowed;\n }\n\n :host([disabled]) .nav-tab-container {\n cursor: not-allowed;\n }\n\n .nav-tab.nav-tab--disabled::part(base) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n cursor: not-allowed;\n pointer-events: none;\n }\n\n .nav-tab.nav-tab--disabled::part(label) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n }\n\n .nav-tab.nav-tab--disabled:hover::part(base),\n :host([disabled]:focus-visible) .nav-tab::part(base) {\n background-color: transparent;\n }\n\n /* --------------------------------------------------------------------------\n * Closable: close button\n * -------------------------------------------------------------------------- */\n\n .nav-tab__close-button {\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n margin-inline-start: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n .nav-tab__close-button::part(base) {\n padding: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n \n"]))));}};});
|
|
2
2
|
//# sourceMappingURL=nile-nav-tab.css.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-nav-tab.css.cjs.js","sources":["../../../src/nile-nav-tab/nile-nav-tab.css.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit';\n\nexport const styles = css`\n \n [hidden] {\n display: none;\n }\n\n :host {\n display: flex;\n flex-direction: column;\n align-self: stretch;\n position: relative;\n\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n cursor: pointer;\n }\n\n :host([centered]) {\n flex: 1;\n text-align: center;\n }\n\n /* --------------------------------------------------------------------------\n * Tab shell (list item)\n * -------------------------------------------------------------------------- */\n\n .nav-tab-container {\n flex: 1 1 auto;\n width: var(--nav-tab-item-width);\n padding: 0;\n box-sizing: border-box;\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-transparent-border);\n transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;\n position: relative;\n display: flex;\n align-items: stretch;\n list-style: none;\n overflow: var(--nile-nav-tab-container-overflow);\n margin-top: var(--nile-nav-tab-margin);\n margin-bottom: var(--nile-nav-tab-margin);\n \n }\n\n /* --------------------------------------------------------------------------\n * nile-link wrapper + internal <a> (part base)\n * -------------------------------------------------------------------------- */\n\n .nav-tab {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-width: 0;\n min-height: 0;\n align-items: center;\n box-sizing: border-box;\n }\n\n .nav-tab::part(base) {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-height: 100%;\n height: 100%;\n align-items: center;\n justify-content: var(--justify-content);\n white-space: var(--white-space, nowrap);\n user-select: none;\n transition: 0.2s box-shadow, 0.2s color;\n gap: var(--nile-spacing-md, var(--ng-spacing-md));\n box-sizing: border-box;\n text-decoration: none;\n font-family: var(--nile-font-family-medium, var(--ng-font-family-body));\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n font-style: normal;\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-semibold));\n line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n word-break: var(--word-break);\n overflow-wrap: var(--overflow-wrap);\n text-align: var(--text-align);\n padding: var(--nile-nav-tab-padding);\n }\n\n /* --------------------------------------------------------------------------\n * Host: active / hover (container + link color)\n * -------------------------------------------------------------------------- */\n\n :host([active]) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-active);\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-hover);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container ::part(base) {\n color: var(--nile-nav-tab-text-color-hover, var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700)));\n }\n\n /* --------------------------------------------------------------------------\n * nile-link part: label inherits anchor\n * -------------------------------------------------------------------------- */\n\n .nav-tab::part(label) {\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n }\n\n /* --------------------------------------------------------------------------\n * Interaction states (::part base)\n * -------------------------------------------------------------------------- */\n\n /* Default (inactive) */\n .nav-tab:not(.nav-tab--active):not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-secondary-700));\n }\n\n /* Hover */\n .nav-tab:hover:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-brand-secondary-700));\n background-color: var(--tab-hover-background-color);\n }\n\n /* Focus — roving tabindex is on :host; inner link stays tabindex=-1 */\n :host(:focus-visible:not([disabled])) .nav-tab::part(base) {\n color: var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700));\n }\n\n /* Active */\n .nav-tab.nav-tab--active:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-nav-tab-active-color, var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700)));\n background-color: var(--tab-active-background-color);\n }\n\n /* --------------------------------------------------------------------------\n * Disabled\n * -------------------------------------------------------------------------- */\n\n .nav-tab.nav-tab--disabled {\n cursor: not-allowed;\n }\n\n :host([disabled]) .nav-tab-container {\n cursor: not-allowed;\n }\n\n .nav-tab.nav-tab--disabled::part(base) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n cursor: not-allowed;\n pointer-events: none;\n }\n\n .nav-tab.nav-tab--disabled::part(label) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n }\n\n .nav-tab.nav-tab--disabled:hover::part(base),\n :host([disabled]:focus-visible) .nav-tab::part(base) {\n background-color: transparent;\n }\n\n /* --------------------------------------------------------------------------\n * Closable: close button\n * -------------------------------------------------------------------------- */\n\n .nav-tab__close-button {\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n margin-inline-start: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n .nav-tab__close-button::part(base) {\n padding: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n \n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTASaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
1
|
+
{"version":3,"file":"nile-nav-tab.css.cjs.js","sources":["../../../src/nile-nav-tab/nile-nav-tab.css.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit';\n\nexport const styles = css`\n \n [hidden] {\n display: none;\n }\n\n :host {\n display: flex;\n flex-direction: column;\n align-self: stretch;\n position: relative;\n\n -webkit-font-smoothing: var(--nile-webkit-font-smoothing, var(--ng-webkit-font-smoothing));\n -moz-osx-font-smoothing: var(--nile-moz-osx-font-smoothing, var(--ng-moz-osx-font-smoothing));\n text-rendering: var(--nile-text-rendering, var(--ng-text-rendering));\n cursor: pointer;\n }\n\n :host([centered]) {\n flex: 1;\n text-align: center;\n }\n\n /* --------------------------------------------------------------------------\n * Tab shell (list item)\n * -------------------------------------------------------------------------- */\n\n .nav-tab-container {\n flex: 1 1 auto;\n width: var(--nav-tab-item-width);\n padding: 0;\n box-sizing: border-box;\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-transparent-border);\n transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;\n position: relative;\n display: flex;\n align-items: stretch;\n list-style: none;\n overflow: var(--nile-nav-tab-container-overflow);\n margin-top: var(--nile-nav-tab-margin);\n margin-bottom: var(--nile-nav-tab-margin);\n \n }\n\n /* --------------------------------------------------------------------------\n * nile-link wrapper + internal <a> (part base)\n * -------------------------------------------------------------------------- */\n\n .nav-tab {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-width: 0;\n min-height: 0;\n align-items: center;\n box-sizing: border-box;\n }\n\n .nav-tab::part(base) {\n display: flex;\n flex: 1 1 auto;\n align-self: stretch;\n width: 100%;\n min-height: 100%;\n height: 100%;\n align-items: center;\n justify-content: var(--justify-content);\n white-space: var(--white-space, nowrap);\n user-select: none;\n transition: 0.2s box-shadow, 0.2s color;\n gap: var(--nile-spacing-md, var(--ng-spacing-md));\n box-sizing: border-box;\n text-decoration: none;\n font-family: var(--nile-font-family-medium, var(--ng-font-family-body));\n font-size: var(--nile-type-scale-3, var(--ng-font-size-text-sm));\n font-style: normal;\n font-weight: var(--nile-font-weight-medium, var(--ng-font-weight-semibold));\n line-height: var(--nile-line-height-xsmall, var(--ng-line-height-text-sm));\n letter-spacing: 0.2px;\n word-break: var(--word-break);\n overflow-wrap: var(--overflow-wrap);\n text-align: var(--text-align);\n padding: var(--nile-nav-tab-padding);\n }\n\n /* --------------------------------------------------------------------------\n * Host: active / hover (container + link color)\n * -------------------------------------------------------------------------- */\n\n :host([active]) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-active);\n border-radius: var(--nile-nav-tab-radius);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container {\n background-color: var(--nile-nav-tab-bg-hover);\n border: var(--nile-nav-tab-border);\n box-shadow: var(--nile-nav-tab-active-box-shadow);\n }\n\n :host(:hover:not([disabled]):not([active])) .nav-tab-container ::part(base) {\n color: var(--nile-nav-tab-text-color-hover, var(--nile-colors-primary-700, var(--ng-colors-text-brand-secondary-700)));\n }\n\n /* --------------------------------------------------------------------------\n * nile-link part: label inherits anchor\n * -------------------------------------------------------------------------- */\n\n .nav-tab::part(label) {\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n }\n\n /* --------------------------------------------------------------------------\n * Interaction states (::part base)\n * -------------------------------------------------------------------------- */\n\n /* Default (inactive) */\n .nav-tab:not(.nav-tab--active):not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-secondary-700));\n }\n\n /* Hover */\n .nav-tab:hover:not(.nav-tab--disabled)::part(base),\n .nav-tab:hover:not(.nav-tab--disabled)::part(label) {\n text-decoration: none;\n }\n .nav-tab:hover:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-colors-dark-500, var(--ng-colors-text-brand-secondary-700));\n background-color: var(--tab-hover-background-color);\n }\n\n /* Focus — roving tabindex is on :host; inner link stays tabindex=-1 */\n :host(:focus-visible:not([disabled])) .nav-tab::part(base) {\n color: var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700));\n }\n\n /* Active */\n .nav-tab.nav-tab--active:not(.nav-tab--disabled)::part(base) {\n color: var(--nile-nav-tab-active-color, var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700)));\n background-color: var(--tab-active-background-color);\n }\n\n /* --------------------------------------------------------------------------\n * Disabled\n * -------------------------------------------------------------------------- */\n\n .nav-tab.nav-tab--disabled {\n cursor: not-allowed;\n }\n\n :host([disabled]) .nav-tab-container {\n cursor: not-allowed;\n }\n\n .nav-tab.nav-tab--disabled::part(base) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n cursor: not-allowed;\n pointer-events: none;\n }\n\n .nav-tab.nav-tab--disabled::part(label) {\n color: var(--nile-colors-neutral-500, var(--ng-colors-text-disabled));\n }\n\n .nav-tab.nav-tab--disabled:hover::part(base),\n :host([disabled]:focus-visible) .nav-tab::part(base) {\n background-color: transparent;\n }\n\n /* --------------------------------------------------------------------------\n * Closable: close button\n * -------------------------------------------------------------------------- */\n\n .nav-tab__close-button {\n font-size: var(--nile-type-scale-4, var(--ng-font-size-text-sm));\n margin-inline-start: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n .nav-tab__close-button::part(base) {\n padding: var(--nile-spacing-xs, var(--ng-spacing-xs));\n }\n\n \n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTASaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -130,6 +130,10 @@ import{css as a}from"lit";const n=a`
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
/* Hover */
|
|
133
|
+
.nav-tab:hover:not(.nav-tab--disabled)::part(base),
|
|
134
|
+
.nav-tab:hover:not(.nav-tab--disabled)::part(label) {
|
|
135
|
+
text-decoration: none;
|
|
136
|
+
}
|
|
133
137
|
.nav-tab:hover:not(.nav-tab--disabled)::part(base) {
|
|
134
138
|
color: var(--nile-colors-dark-500, var(--ng-colors-text-brand-secondary-700));
|
|
135
139
|
background-color: var(--tab-hover-background-color);
|