@aquera/nile-elements 1.7.3 → 1.7.5
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 +7 -0
- package/dist/index-199b0eac.esm.js +1 -0
- package/dist/index-f5e587e2.cjs.js +2 -0
- package/dist/index-f5e587e2.cjs.js.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +994 -681
- 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.cjs.js.map +1 -1
- package/dist/nile-combobox/nile-combobox.esm.js +28 -28
- 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.cjs.js.map +1 -1
- package/dist/nile-detail/nile-detail.css.cjs.js +1 -1
- package/dist/nile-detail/nile-detail.css.cjs.js.map +1 -1
- package/dist/nile-detail/nile-detail.css.esm.js +230 -0
- package/dist/nile-detail/nile-detail.esm.js +89 -7
- package/dist/nile-floating-panel/index.cjs.js +1 -1
- package/dist/nile-floating-panel/nile-floating-panel.cjs.js +1 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.cjs.js +1 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.cjs.js.map +1 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.esm.js +1 -1
- package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.cjs.js +1 -1
- package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.cjs.js.map +1 -1
- package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.esm.js +2 -1
- package/dist/nile-lite-tooltip/index.cjs.js +1 -1
- package/dist/nile-lite-tooltip/nile-lite-tooltip.cjs.js +1 -1
- package/dist/nile-otp-input/nile-otp-input.css.cjs.js +1 -1
- package/dist/nile-otp-input/nile-otp-input.css.cjs.js.map +1 -1
- package/dist/nile-otp-input/nile-otp-input.css.esm.js +1 -1
- package/dist/src/nile-detail/nile-detail.css.js +230 -0
- package/dist/src/nile-detail/nile-detail.css.js.map +1 -1
- package/dist/src/nile-detail/nile-detail.d.ts +151 -0
- package/dist/src/nile-detail/nile-detail.js +829 -4
- package/dist/src/nile-detail/nile-detail.js.map +1 -1
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.js +1 -1
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.js.map +1 -1
- package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.js +2 -1
- package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.js.map +1 -1
- package/dist/src/nile-otp-input/nile-otp-input.css.js +1 -1
- package/dist/src/nile-otp-input/nile-otp-input.css.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-detail/nile-detail.css.ts +230 -0
- package/src/nile-detail/nile-detail.ts +876 -4
- package/src/nile-inline-sidebar-item/nile-inline-sidebar-item.ts +1 -1
- package/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.ts +2 -1
- package/src/nile-otp-input/nile-otp-input.css.ts +1 -1
- package/vscode-html-custom-data.json +120 -1
package/package.json
CHANGED
|
@@ -148,6 +148,236 @@ export const styles = css`
|
|
|
148
148
|
display: block;
|
|
149
149
|
padding: var(--nile-spacing-xl, var(--ng-spacing-xl));
|
|
150
150
|
}
|
|
151
|
+
|
|
152
|
+
/* ── Selection variant ──────────────────────────────────────────────────── */
|
|
153
|
+
|
|
154
|
+
.detail__selection-label {
|
|
155
|
+
display: flex;
|
|
156
|
+
align-items: center;
|
|
157
|
+
gap: var(--nile-spacing-lg, var(--ng-spacing-lg));
|
|
158
|
+
flex: 1;
|
|
159
|
+
min-width: 0;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.detail__select-all {
|
|
163
|
+
flex: 0 0 auto;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.detail__selection-title {
|
|
167
|
+
display: flex;
|
|
168
|
+
flex-direction: column;
|
|
169
|
+
line-height: 1.3;
|
|
170
|
+
min-width: 0;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.detail__selection-count {
|
|
174
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
175
|
+
font-weight: var(--nile-font-weight-regular, var(--ng-font-weight-regular));
|
|
176
|
+
color: var(--nile-colors-dark-500, var(--ng-colors-text-secondary));
|
|
177
|
+
margin-top: 2px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.detail__selection-content {
|
|
181
|
+
padding: var(--nile-spacing-xl, var(--ng-spacing-xl));
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.detail__selection-toolbar {
|
|
185
|
+
display: flex;
|
|
186
|
+
align-items: center;
|
|
187
|
+
gap: var(--nile-spacing-lg, var(--ng-spacing-lg));
|
|
188
|
+
margin-bottom: var(--nile-spacing-lg, var(--ng-spacing-lg));
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.detail__selection-search {
|
|
192
|
+
flex: 1;
|
|
193
|
+
min-width: 0;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.detail__selection-actions {
|
|
197
|
+
display: flex;
|
|
198
|
+
align-items: center;
|
|
199
|
+
gap: var(--nile-spacing-xl, var(--ng-spacing-xl));
|
|
200
|
+
flex: 0 0 auto;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.detail__selection-grid {
|
|
204
|
+
display: grid;
|
|
205
|
+
grid-auto-flow: column;
|
|
206
|
+
gap: 8px 24px;
|
|
207
|
+
overflow-x: auto;
|
|
208
|
+
overflow-y: hidden;
|
|
209
|
+
padding-bottom: 8px;
|
|
210
|
+
scroll-snap-type: x proximity;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.detail__selection-grid--virtual {
|
|
214
|
+
display: block;
|
|
215
|
+
position: relative;
|
|
216
|
+
width: 100%;
|
|
217
|
+
contain: layout paint;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.detail__selection-grid--virtual.detail__selection-grid--vertical {
|
|
221
|
+
overflow-x: hidden;
|
|
222
|
+
overflow-y: auto;
|
|
223
|
+
scroll-snap-type: y proximity;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.detail__selection-grid--virtual.detail__selection-grid--vertical::-webkit-scrollbar {
|
|
227
|
+
width: 8px;
|
|
228
|
+
height: 0;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.detail__selection-grid--virtual.detail__selection-grid--both {
|
|
232
|
+
overflow: auto;
|
|
233
|
+
scroll-snap-type: none;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.detail__selection-grid--virtual.detail__selection-grid--both::-webkit-scrollbar {
|
|
237
|
+
width: 8px;
|
|
238
|
+
height: 8px;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.detail__selection-grid--virtual .detail__selection-track {
|
|
242
|
+
position: relative;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.detail__selection-tooltip--virtual {
|
|
246
|
+
box-sizing: border-box;
|
|
247
|
+
padding-right: 24px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.detail__selection-grid > nile-checkbox,
|
|
251
|
+
.detail__selection-grid > .detail__selection-tooltip {
|
|
252
|
+
scroll-snap-align: start;
|
|
253
|
+
min-width: 0;
|
|
254
|
+
display: block;
|
|
255
|
+
max-width: 100%;
|
|
256
|
+
overflow: hidden;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.detail__selection-checkbox {
|
|
260
|
+
display: block;
|
|
261
|
+
width: 100%;
|
|
262
|
+
min-width: 0;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.detail__selection-checkbox::part(base) {
|
|
266
|
+
display: flex;
|
|
267
|
+
width: 100%;
|
|
268
|
+
min-width: 0;
|
|
269
|
+
align-items: center;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.detail__selection-checkbox::part(label) {
|
|
273
|
+
flex: 1 1 auto;
|
|
274
|
+
min-width: 0;
|
|
275
|
+
max-width: 100%;
|
|
276
|
+
overflow: hidden;
|
|
277
|
+
text-overflow: ellipsis;
|
|
278
|
+
white-space: nowrap;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.detail__selection-checkbox--disabled {
|
|
282
|
+
opacity: 0.5;
|
|
283
|
+
pointer-events: none;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.detail__selection-text {
|
|
287
|
+
display: inline-flex;
|
|
288
|
+
flex-direction: column;
|
|
289
|
+
min-width: 0;
|
|
290
|
+
flex: 1 1 auto;
|
|
291
|
+
line-height: 1.25;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.detail__selection-item-label {
|
|
295
|
+
display: block;
|
|
296
|
+
overflow: hidden;
|
|
297
|
+
text-overflow: ellipsis;
|
|
298
|
+
white-space: nowrap;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.detail__selection-desc {
|
|
302
|
+
display: block;
|
|
303
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
304
|
+
color: var(--nile-colors-dark-500, var(--ng-colors-text-secondary));
|
|
305
|
+
margin-top: 2px;
|
|
306
|
+
overflow: hidden;
|
|
307
|
+
text-overflow: ellipsis;
|
|
308
|
+
white-space: nowrap;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.detail__selection-prefix,
|
|
312
|
+
.detail__selection-suffix {
|
|
313
|
+
display: inline-flex;
|
|
314
|
+
align-items: center;
|
|
315
|
+
flex: 0 0 auto;
|
|
316
|
+
margin: 0 6px;
|
|
317
|
+
color: var(--nile-colors-dark-500, var(--ng-colors-text-secondary));
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.detail__selection-prefix { margin-left: 0; }
|
|
321
|
+
.detail__selection-suffix { margin-right: 0; }
|
|
322
|
+
|
|
323
|
+
.detail__selection-placeholder {
|
|
324
|
+
display: flex;
|
|
325
|
+
align-items: center;
|
|
326
|
+
gap: 10px;
|
|
327
|
+
padding: 4px 8px;
|
|
328
|
+
box-sizing: border-box;
|
|
329
|
+
opacity: 0.6;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.detail__selection-placeholder-bar {
|
|
333
|
+
width: 16px;
|
|
334
|
+
height: 16px;
|
|
335
|
+
border-radius: 4px;
|
|
336
|
+
background: linear-gradient(
|
|
337
|
+
90deg,
|
|
338
|
+
rgba(0,0,0,0.06) 0%,
|
|
339
|
+
rgba(0,0,0,0.12) 50%,
|
|
340
|
+
rgba(0,0,0,0.06) 100%
|
|
341
|
+
);
|
|
342
|
+
background-size: 200% 100%;
|
|
343
|
+
animation: nile-detail-shimmer 1.4s linear infinite;
|
|
344
|
+
flex: 0 0 auto;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.detail__selection-placeholder-label {
|
|
348
|
+
flex: 1 1 auto;
|
|
349
|
+
min-width: 0;
|
|
350
|
+
overflow: hidden;
|
|
351
|
+
text-overflow: ellipsis;
|
|
352
|
+
white-space: nowrap;
|
|
353
|
+
font-size: var(--nile-type-scale-2, var(--ng-font-size-text-xs));
|
|
354
|
+
color: var(--nile-colors-dark-500, var(--ng-colors-text-secondary));
|
|
355
|
+
background: linear-gradient(
|
|
356
|
+
90deg,
|
|
357
|
+
rgba(0,0,0,0.06) 0%,
|
|
358
|
+
rgba(0,0,0,0.12) 50%,
|
|
359
|
+
rgba(0,0,0,0.06) 100%
|
|
360
|
+
);
|
|
361
|
+
background-size: 200% 100%;
|
|
362
|
+
background-clip: text;
|
|
363
|
+
-webkit-background-clip: text;
|
|
364
|
+
color: transparent;
|
|
365
|
+
animation: nile-detail-shimmer 1.4s linear infinite;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
@keyframes nile-detail-shimmer {
|
|
369
|
+
0% { background-position: 200% 0; }
|
|
370
|
+
100% { background-position: -200% 0; }
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.detail__selection-grid::-webkit-scrollbar {
|
|
374
|
+
height: 8px;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.detail__selection-grid::-webkit-scrollbar-thumb {
|
|
378
|
+
background: rgba(0, 0, 0, 0.2);
|
|
379
|
+
border-radius: 4px;
|
|
380
|
+
}
|
|
151
381
|
`;
|
|
152
382
|
|
|
153
383
|
export default [styles];
|