nexa-ui-kit 0.11.8 → 0.11.9

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.
@@ -212,12 +212,269 @@ const startResize = (e) => { if (!props.resizableColumns) return; const field =
212
212
  </tbody>
213
213
  </table>
214
214
  </div>
215
- <div v-if="paginator" class="n-dt-paginator-wrap">
216
- <NPaginator :first="internalFirst.value" :rows="internalRows.value" :totalRecords="totalRecords.value" :rowsPerPageOptions="rowsPerPageOptions" @page="onPage" />
217
- </div>
218
- </div>
219
- </template>
220
-
215
+ <div v-if="paginator" class="n-dt-paginator-wrap">
216
+ <NPaginator :first="internalFirst.value" :rows="internalRows.value" :totalRecords="totalRecords.value" :rowsPerPageOptions="rowsPerPageOptions" @page="onPage" />
217
+ </div>
218
+ </div>
219
+ </template>
220
+
221
+
221
222
  <style scoped>
222
- .n-dt {
223
223
  border: 1px solid var(--n-color-border);
224
224
  border-radius: var(--n-radius-lg);
225
225
  background: var(--n-color-surface);
226
226
  overflow: hidden;
227
227
  font-family: var(--n-font-sans);
228
228
  border-color: var(--n-color-border);
229
229
  border: 1px solid var(--n-color-border);
230
230
  display: flex;
231
231
  align-items: center;
232
232
  justify-content: space-between;
233
233
  padding: 0.75rem 1rem;
234
234
  border-bottom: 1px solid var(--n-color-border);
235
235
  display: flex;
236
236
  align-items: center;
237
237
  gap: 0.5rem;
238
238
  color: var(--n-color-text-muted);
239
239
  width: 260px;
240
240
  max-width: 100%;
241
241
  background: transparent;
242
242
  border: 1px solid var(--n-color-border);
243
243
  border-radius: var(--n-radius-md);
244
244
  padding: 0.45rem 0.75rem;
245
245
  color: var(--n-color-text);
246
246
  font-size: var(--n-text-sm);
247
247
  outline: none;
248
248
  box-sizing: border-box;
249
249
  transition: border-color 0.15s ease;
250
250
  border-color: var(--n-color-primary);
251
251
  width: 100%;
252
252
  overflow: auto;
253
253
  border-radius: inherit;
254
254
  width: 100%;
255
255
  border-collapse: collapse;
256
256
  table-layout: fixed;
257
257
  background-color: var(--n-color-surface);) 0%, var(--n-color-surface) 100%);
258
258
  position: relative;
259
259
  padding: 0.65rem 0.85rem;
260
260
  border-bottom: 2px solid var(--n-color-border);
261
261
  color: var(--n-color-text-secondary);
262
262
  font-size: var(--n-text-sm);
263
263
  font-weight: var(--n-weight-semibold);
264
264
  user-select: none;
265
265
  vertical-align: middle;
266
266
  text-align: left;
267
267
  background: var(--n-color-surface);
268
268
  transition: background 0.15s ease;
269
269
  cursor: pointer;
270
270
  background: var(--n-color-glass);
271
271
  text-align: right;
272
272
  text-align: center;
273
273
  width: 3rem;
274
274
  text-align: center;
275
275
  display: flex;
276
276
  align-items: center;
277
277
  gap: 0.35rem;
278
278
  justify-content: flex-end;
279
279
  justify-content: center;
280
280
  overflow: hidden;
281
281
  text-overflow: ellipsis;
282
282
  white-space: nowrap;
283
283
  letter-spacing: 0.02em;
284
284
  text-transform: uppercase;
285
285
  font-size: 0.6875rem;
286
286
  display: inline-flex;
287
287
  flex-direction: column;
288
288
  align-items: center;
289
289
  gap: 0;
290
290
  line-height: 1;
291
291
  margin-left: auto;
292
292
  flex-shrink: 0;
293
293
  display: block;
294
294
  color: var(--n-color-border);
295
295
  transition: color 0.15s ease;
296
296
  margin: -3px 0;
297
297
  color: var(--n-color-primary);
298
298
  color: var(--n-color-primary);
299
299
  color: var(--n-color-text-muted);
300
300
  position: absolute;
301
301
  right: 0;
302
302
  top: 0;
303
303
  bottom: 0;
304
304
  width: 6px;
305
305
  cursor: col-resize;
306
306
  background: transparent;
307
307
  transition: background 0.15s ease;
308
308
  background: var(--n-color-primary);
309
309
  opacity: 0.4;
310
310
  border-bottom: 1px solid var(--n-color-border);
311
311
  padding: 0.5rem 0.6rem;
312
312
  background: var(--n-color-surface);
313
313
  width: 100%;
314
314
  max-width: 100%;
315
315
  display: block;
316
316
  background: var(--n-color-bg);
317
317
  border: 1px solid var(--n-color-border);
318
318
  border-radius: var(--n-radius-sm);
319
319
  padding: 0.3rem 0.45rem;
320
320
  color: var(--n-color-text);
321
321
  font-size: var(--n-text-xs);
322
322
  outline: none;
323
323
  box-sizing: border-box;
324
324
  transition: border-color 0.15s ease;
325
325
  border-color: var(--n-color-primary);
326
326
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1);
327
327
  background: color-mix(in srgb, var(--n-color-primary) 6%, var(--n-color-surface));
328
328
  background: var(--n-color-primary-light);
329
329
  outline: none;
330
330
  background: var(--n-color-primary-light);
331
331
  filter: brightness(0.96);
332
332
  background: color-mix(in srgb, var(--n-color-glass) 50%, var(--n-color-surface));
333
333
  background: color-mix(in srgb, var(--n-color-primary) 6%, var(--n-color-surface));
334
334
  background: var(--n-color-primary-light);
335
335
  padding: 0.6rem 0.85rem;
336
336
  border-bottom: 1px solid var(--n-color-border);
337
337
  color: var(--n-color-text);
338
338
  font-size: var(--n-text-sm);
339
339
  vertical-align: middle;
340
340
  text-align: left;
341
341
  text-align: right;
342
342
  text-align: center;
343
343
  width: 3rem;
344
344
  text-align: center;
345
345
  width: 20px;
346
346
  height: 20px;
347
347
  border: 2px solid var(--n-color-border);
348
348
  border-radius: 5px;
349
349
  background: transparent;
350
350
  cursor: pointer;
351
351
  display: inline-flex;
352
352
  align-items: center;
353
353
  justify-content: center;
354
354
  padding: 0;
355
355
  transition: color var(--n-transition-fast); cubic-bezier(0.16, 1, 0.3, 1);
356
356
  color: transparent;
357
357
  background: var(--n-color-primary);
358
358
  border-color: var(--n-color-primary);
359
359
  color: white;
360
360
  border-color: var(--n-color-primary);
361
361
  animation: n-dt-check-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
362
362
  0% { transform: scale(0); }
363
363
  50% { transform: scale(1.15); }
364
364
  100% { transform: scale(1); }
365
365
  padding: 2rem 1rem;
366
366
  text-align: center;
367
367
  color: var(--n-color-text-muted);
368
368
  font-size: var(--n-text-sm);
369
369
  padding: 0.4rem 0.6rem;
370
370
  font-size: var(--n-text-xs);
371
371
  padding: 0.85rem 1rem;
372
372
  font-size: var(--n-text-base);
373
373
  border-top: 1px solid var(--n-color-border);
374
374
  background: var(--n-color-surface-alt, var(--n-color-surface));
375
375
  border-top: none;
376
376
  background: transparent;
377
+ .n-dt {
378
+ border: 1px solid var(--n-color-border);
379
+ border-radius: var(--n-radius-lg);
380
+ background: var(--n-color-surface);
381
+ overflow: hidden;
382
+ font-family: var(--n-font-sans);
383
+ }
384
+ .n-dt.is-grid {
385
+ border-color: var(--n-color-border);
386
+ }
387
+ .n-dt.is-grid .n-dt-th,
388
+ .n-dt.is-grid .n-dt-td {
389
+ border: 1px solid var(--n-color-border);
390
+ }
391
+ .n-dt-toolbar {
392
+ display: flex;
393
+ align-items: center;
394
+ justify-content: space-between;
395
+ padding: 0.75rem 1rem;
396
+ border-bottom: 1px solid var(--n-color-border);
397
+ }
398
+ .n-dt-global {
399
+ display: flex;
400
+ align-items: center;
401
+ gap: 0.5rem;
402
+ color: var(--n-color-text-muted);
403
+ }
404
+ .n-dt-global-input {
405
+ width: 260px;
406
+ max-width: 100%;
407
+ background: transparent;
408
+ border: 1px solid var(--n-color-border);
409
+ border-radius: var(--n-radius-md);
410
+ padding: 0.45rem 0.75rem;
411
+ color: var(--n-color-text);
412
+ font-size: var(--n-text-sm);
413
+ outline: none;
414
+ box-sizing: border-box;
415
+ transition: border-color var(--n-transition-fast), box-shadow var(--n-transition-fast);
416
+ }
417
+ .n-dt-global-input:focus {
418
+ border-color: var(--n-color-primary);
419
+ box-shadow: var(--n-ring-primary);
420
+ }
421
+ .n-dt-wrapper {
422
+ width: 100%;
423
+ overflow: auto;
424
+ border-radius: inherit;
425
+ }
426
+ .n-dt-table {
427
+ width: 100%;
428
+ border-collapse: collapse;
429
+ table-layout: fixed;
430
+ }
431
+ .n-dt-thead {
432
+ background-color: var(--n-color-surface-alt);
433
+ }
434
+ .n-dt-th {
435
+ position: relative;
436
+ padding: 0.75rem 1rem;
437
+ border-bottom: 1px solid var(--n-color-border);
438
+ color: var(--n-color-text);
439
+ font-size: var(--n-text-sm);
440
+ font-weight: 600;
441
+ user-select: none;
442
+ vertical-align: middle;
443
+ text-align: left;
444
+ background: var(--n-color-surface-alt);
445
+ transition: background-color var(--n-transition-fast);
446
+ }
447
+ .n-dt-th.is-sortable {
448
+ cursor: pointer;
449
+ }
450
+ .n-dt-th.is-sortable:hover {
451
+ background-color: var(--n-color-surface-hover);
452
+ }
453
+ .n-dt-th.is-right {
454
+ text-align: right;
455
+ }
456
+ .n-dt-th.is-center {
457
+ text-align: center;
458
+ }
459
+ .n-dt-th.is-selection {
460
+ width: 3rem;
461
+ text-align: center;
462
+ }
463
+ .n-dt-th-content {
464
+ display: flex;
465
+ align-items: center;
466
+ gap: 0.5rem;
467
+ }
468
+ .n-dt-th.is-right .n-dt-th-content {
469
+ justify-content: flex-end;
470
+ }
471
+ .n-dt-th.is-center .n-dt-th-content {
472
+ justify-content: center;
473
+ }
474
+ .n-dt-th-text {
475
+ overflow: hidden;
476
+ text-overflow: ellipsis;
477
+ white-space: nowrap;
478
+ letter-spacing: normal;
479
+ }
480
+ .n-dt-sort {
481
+ display: inline-flex;
482
+ flex-direction: column;
483
+ align-items: center;
484
+ gap: 0;
485
+ line-height: 1;
486
+ margin-left: auto;
487
+ flex-shrink: 0;
488
+ }
489
+ .n-dt-sort-arrow {
490
+ display: block;
491
+ color: var(--n-color-text-muted);
492
+ transition: color var(--n-transition-fast);
493
+ margin: -3px 0;
494
+ }
495
+ .n-dt-sort-arrow-up.is-on,
496
+ .n-dt-sort-arrow-down.is-on {
497
+ color: var(--n-color-primary);
498
+ }
499
+ .n-dt-th.is-sortable:hover .n-dt-sort-arrow:not(.is-on) {
500
+ color: var(--n-color-text);
501
+ }
502
+ .n-dt-resizer {
503
+ position: absolute;
504
+ right: 0;
505
+ top: 0;
506
+ bottom: 0;
507
+ width: 4px;
508
+ cursor: col-resize;
509
+ background: transparent;
510
+ transition: background-color var(--n-transition-fast);
511
+ }
512
+ .n-dt-resizer:hover {
513
+ background-color: var(--n-color-primary);
514
+ }
515
+ .n-dt-filter-row .n-dt-th {
516
+ border-bottom: 1px solid var(--n-color-border);
517
+ padding: 0.5rem 1rem;
518
+ background-color: var(--n-color-surface-alt);
519
+ }
520
+ .n-dt-filter {
521
+ width: 100%;
522
+ max-width: 100%;
523
+ display: block;
524
+ background: var(--n-color-surface);
525
+ border: 1px solid var(--n-color-border);
526
+ border-radius: var(--n-radius-sm);
527
+ padding: 0.375rem 0.5rem;
528
+ color: var(--n-color-text);
529
+ font-size: var(--n-text-xs);
530
+ outline: none;
531
+ box-sizing: border-box;
532
+ transition: border-color var(--n-transition-fast), box-shadow var(--n-transition-fast);
533
+ }
534
+ .n-dt-filter:focus {
535
+ border-color: var(--n-color-primary);
536
+ box-shadow: var(--n-ring-primary);
537
+ }
538
+ .n-dt-tbody .n-dt-row {
539
+ background-color: var(--n-color-surface);
540
+ transition: background-color var(--n-transition-fast), color var(--n-transition-fast);
541
+ }
542
+ .n-dt-tbody .n-dt-row.is-hover:hover {
543
+ background-color: var(--n-color-surface-hover);
544
+ }
545
+ .n-dt-tbody .n-dt-row.is-selected {
546
+ background-color: var(--n-color-primary-light);
547
+ color: var(--n-color-primary-text);
548
+ }
549
+ .n-dt-tbody .n-dt-row.is-selected .n-dt-td {
550
+ color: var(--n-color-primary-active);
551
+ }
552
+ .n-dt-table.is-striped .n-dt-tbody .n-dt-row:nth-child(even) {
553
+ background-color: var(--n-color-surface-alt);
554
+ }
555
+ .n-dt-table.is-striped .n-dt-tbody .n-dt-row:nth-child(even).is-hover:hover {
556
+ background-color: var(--n-color-surface-hover);
557
+ }
558
+ .n-dt-td {
559
+ padding: 0.75rem 1rem;
560
+ border-bottom: 1px solid var(--n-color-border);
561
+ color: var(--n-color-text);
562
+ font-size: var(--n-text-sm);
563
+ vertical-align: middle;
564
+ text-align: left;
565
+ }
566
+ .n-dt-td.is-right {
567
+ text-align: right;
568
+ }
569
+ .n-dt-td.is-center {
570
+ text-align: center;
571
+ }
572
+ .n-dt-td.is-selection {
573
+ width: 3rem;
574
+ text-align: center;
575
+ }
576
+ .n-dt-selectbox {
577
+ width: 20px;
578
+ height: 20px;
579
+ border: 2px solid var(--n-color-border);
580
+ border-radius: var(--n-radius-sm);
581
+ background: transparent;
582
+ cursor: pointer;
583
+ display: inline-flex;
584
+ align-items: center;
585
+ justify-content: center;
586
+ padding: 0;
587
+ transition: background-color var(--n-transition-fast), border-color var(--n-transition-fast), box-shadow var(--n-transition-fast);
588
+ color: transparent;
589
+ }
590
+ .n-dt-selectbox.is-checked {
591
+ background-color: var(--n-color-primary);
592
+ border-color: var(--n-color-primary);
593
+ color: #fff;
594
+ }
595
+ .n-dt-selectbox:hover:not(.is-checked) {
596
+ border-color: var(--n-color-primary);
597
+ }
598
+ .n-dt-selectbox:focus-visible {
599
+ outline: none;
600
+ box-shadow: var(--n-ring-primary);
601
+ }
602
+ .n-dt-selectbox.is-checked svg {
603
+ animation: n-dt-check-pop 0.2s ease-out;
604
+ }
605
+ @keyframes n-dt-check-pop {
606
+ 0% { transform: scale(0.5); }
607
+ 50% { transform: scale(1.2); }
608
+ 100% { transform: scale(1); }
609
+ }
610
+ .n-dt-empty-row .n-dt-empty {
611
+ padding: 2rem 1rem;
612
+ text-align: center;
613
+ color: var(--n-color-text-muted);
614
+ font-size: var(--n-text-sm);
615
+ }
616
+ .n-dt-sm .n-dt-th,
617
+ .n-dt-sm .n-dt-td {
618
+ padding: 0.5rem 0.75rem;
619
+ font-size: var(--n-text-xs);
620
+ }
621
+ .n-dt-lg .n-dt-th,
622
+ .n-dt-lg .n-dt-td {
623
+ padding: 1rem 1.25rem;
624
+ font-size: var(--n-text-base);
625
+ }
626
+ .n-dt-paginator-wrap {
627
+ border-top: 1px solid var(--n-color-border);
628
+ background: var(--n-color-surface-alt);
629
+ }
630
+ .n-dt-paginator-wrap :deep(.n-paginator) {
631
+ border-top: none;
632
+ background: transparent;
633
+ }
377
634
  </style>
@@ -118,5 +118,5 @@ onUnmounted(() => {
118
118
  </template>
119
119
 
120
120
  <style scoped>
121
- .n-modal-root {
122
121
  position: fixed;
123
122
  top: 0;
124
123
  left: 0;
125
124
  width: 100vw;
126
125
  height: 100vh;
127
126
  display: flex;
128
127
  align-items: center;
129
128
  justify-content: center;
130
129
  z-index: var(--n-z-modal);
131
130
  position: absolute;
132
131
  top: 0;
133
132
  left: 0;
134
133
  width: 100%;
135
134
  height: 100%;
136
135
  background: var(--n-color-overlay);
137
136
  backdrop-filter: blur(8px);
138
137
  opacity: 0;
139
138
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
140
139
  opacity: 1;
141
140
  position: relative;
142
141
  width: 90%;
143
142
  background: var(--n-color-surface);
144
143
  backdrop-filter: blur(20px);
145
144
  -webkit-backdrop-filter: blur(20px);
146
145
  border: 1px solid var(--n-color-glass-border);
147
146
  border-radius: var(--n-radius-2xl);
148
147
  box-shadow: var(--n-shadow-xl), var(--n-shadow-glow-primary), 0 0 0 1px var(--n-color-glass-border);
149
148
  transform: scale(0.9) translateY(20px);
150
149
  opacity: 0;
151
150
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
152
151
  overflow: hidden;
153
152
  outline: none;
154
153
  max-height: 85vh;
155
154
  display: flex;
156
155
  flex-direction: column;
157
156
  transform: scale(1) translateY(0);
158
157
  opacity: 1;
159
158
  padding: var(--n-space-6) var(--n-space-8);
160
159
  border-bottom: 1px solid var(--n-color-border);
161
160
  display: flex;
162
161
  justify-content: space-between;
163
162
  align-items: center;
164
163
  flex-shrink: 0;
165
164
  margin: 0;
166
165
  font-size: var(--n-text-xl);
167
166
  font-weight: var(--n-weight-bold);
168
167
  color: var(--n-color-text);
169
168
  background: transparent;
170
169
  border: none;
171
170
  color: var(--n-color-text-secondary);
172
171
  font-size: 1.75rem;
173
172
  cursor: pointer;
174
173
  transition: color var(--n-transition-fast); cubic-bezier(0.34, 1.56, 0.64, 1);
175
174
  padding: 0;
176
175
  line-height: 1;
177
176
  width: 44px;
178
177
  height: 44px;
179
178
  display: flex;
180
179
  align-items: center;
181
180
  justify-content: center;
182
181
  border-radius: var(--n-radius-lg);
183
182
  flex-shrink: 0;
184
183
  color: var(--n-color-text);
185
184
  background: var(--n-color-glass-hover);
186
185
  transform: scale(0.95);
187
186
  outline: 2px solid var(--n-color-primary);
188
187
  outline-offset: 2px;
189
188
  padding: var(--n-space-8);
190
189
  color: var(--n-color-text-secondary);
191
190
  overflow-y: auto;
192
191
  overflow-x: hidden;
193
192
  flex: 1;
194
193
  padding: var(--n-space-5) var(--n-space-8);
195
194
  background: var(--n-color-glass);
196
195
  border-top: 1px solid var(--n-color-border);
197
196
  display: flex;
198
197
  justify-content: flex-end;
199
198
  gap: var(--n-space-4);
200
199
  flex-shrink: 0;
200
+ .n-modal-root {
201
201
  position: fixed;
202
202
  top: 0;
203
203
  left: 0;
204
204
  width: 100vw;
205
205
  height: 100vh;
206
206
  display: flex;
207
207
  align-items: center;
208
208
  justify-content: center;
209
209
  z-index: var(--n-z-modal);
210
210
  position: absolute;
211
211
  top: 0;
212
212
  left: 0;
213
213
  width: 100%;
214
214
  height: 100%;
215
215
  background: var(--n-color-overlay);
216
216
  backdrop-filter: blur(8px);
217
217
  opacity: 0;
218
218
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
219
219
  opacity: 1;
220
220
  position: relative;
221
221
  width: 90%;
222
222
  background: var(--n-color-surface);
223
223
  backdrop-filter: blur(20px);
224
224
  -webkit-backdrop-filter: blur(20px);
225
225
  border: 1px solid var(--n-color-glass-border);
226
226
  border-radius: var(--n-radius-2xl);
227
227
  box-shadow: var(--n-shadow-xl), var(--n-shadow-glow-primary), 0 0 0 1px var(--n-color-glass-border);
228
228
  transform: scale(0.9) translateY(20px);
229
229
  opacity: 0;
230
230
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
231
231
  overflow: hidden;
232
232
  outline: none;
233
233
  max-height: 85vh;
234
234
  display: flex;
235
235
  flex-direction: column;
236
236
  transform: scale(1) translateY(0);
237
237
  opacity: 1;
238
238
  padding: var(--n-space-6) var(--n-space-8);
239
239
  border-bottom: 1px solid var(--n-color-border);
240
240
  display: flex;
241
241
  justify-content: space-between;
242
242
  align-items: center;
243
243
  flex-shrink: 0;
244
244
  margin: 0;
245
245
  font-size: var(--n-text-xl);
246
246
  font-weight: var(--n-weight-bold);
247
247
  color: var(--n-color-text);
248
248
  background: transparent;
249
249
  border: none;
250
250
  color: var(--n-color-text-secondary);
251
251
  font-size: 1.75rem;
252
252
  cursor: pointer;
253
253
  transition: color var(--n-transition-fast) cubic-bezier(0.34, 1.56, 0.64, 1);
254
254
  padding: 0;
255
255
  line-height: 1;
256
256
  width: 44px;
257
257
  height: 44px;
258
258
  display: flex;
259
259
  align-items: center;
260
260
  justify-content: center;
261
261
  border-radius: var(--n-radius-lg);
262
262
  flex-shrink: 0;
263
263
  color: var(--n-color-text);
264
264
  background: var(--n-color-glass-hover);
265
265
  transform: scale(0.95);
266
266
  outline: 2px solid var(--n-color-primary);
267
267
  outline-offset: 2px;
268
268
  padding: var(--n-space-8);
269
269
  color: var(--n-color-text-secondary);
270
270
  overflow-y: auto;
271
271
  overflow-x: hidden;
272
272
  flex: 1;
273
273
  padding: var(--n-space-5) var(--n-space-8);
274
274
  background: var(--n-color-glass);
275
275
  border-top: 1px solid var(--n-color-border);
276
276
  display: flex;
277
277
  justify-content: flex-end;
278
278
  gap: var(--n-space-4);
279
279
  flex-shrink: 0;
280
280
  </style>
@@ -99,7 +99,7 @@ const end = computed(() => Math.min((safeFirst.value || 0) + (safeRows.value ||
99
99
  border-radius: var(--n-radius-md);
100
100
  padding: 0.3rem 0.55rem;
101
101
  cursor: pointer;
102
- transition: color var(--n-transition-fast); cubic-bezier(0.16, 1, 0.3, 1);
102
+ transition: color var(--n-transition-fast) cubic-bezier(0.16, 1, 0.3, 1);
103
103
  display: inline-flex;
104
104
  align-items: center;
105
105
  justify-content: center;
@@ -42,7 +42,7 @@ const select = () => {
42
42
  display: flex;
43
43
  align-items: center;
44
44
  justify-content: center;
45
- transition: color var(--n-transition-fast); cubic-bezier(0.16, 1, 0.3, 1);
45
+ transition: color var(--n-transition-fast) cubic-bezier(0.16, 1, 0.3, 1);
46
46
  flex-shrink: 0;
47
47
  }
48
48
  .is-checked .n-radio-circle {
@@ -356,15 +356,15 @@ onBeforeUnmount(() => {
356
356
  transform-origin: top center;
357
357
  }
358
358
  @keyframes n-dropdown-in {
359
- from { opacity: 0; scale(0.98); }
360
- to { opacity: 1; scale(1); }
359
+ from { opacity: 0; transform: scale(0.98); }
360
+ to { opacity: 1; transform: scale(1); }
361
361
  }
362
362
  .n-select-dropdown.is-top {
363
363
  animation: n-dropdown-in-top 0.3s cubic-bezier(0.16, 1, 0.3, 1);
364
364
  }
365
365
  @keyframes n-dropdown-in-top {
366
- from { opacity: 0; scale(0.98); }
367
- to { opacity: 1; scale(1); }
366
+ from { opacity: 0; transform: scale(0.98); }
367
+ to { opacity: 1; transform: scale(1); }
368
368
  }
369
369
  .n-select-search {
370
370
  padding: var(--n-space-2);
@@ -76,7 +76,7 @@ const emit = defineEmits(['close'])
76
76
  margin-left: var(--n-space-1);
77
77
  color: inherit;
78
78
  opacity: 0.5;
79
- transition: color var(--n-transition-fast); cubic-bezier(0.16, 1, 0.3, 1);
79
+ transition: color var(--n-transition-fast) cubic-bezier(0.16, 1, 0.3, 1);
80
80
  border-radius: var(--n-radius-sm);
81
81
  display: flex;
82
82
  align-items: center;
@@ -85,7 +85,7 @@ const positionClass = `is-${props.position.replace('-', '-')}`
85
85
  box-shadow: var(--n-shadow-lg), 0 8px 32px rgba(0, 0, 0, 0.08);
86
86
  cursor: pointer;
87
87
  animation: n-toast-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
88
- transition: color var(--n-transition-fast); cubic-bezier(0.16, 1, 0.3, 1);
88
+ transition: color var(--n-transition-fast) cubic-bezier(0.16, 1, 0.3, 1);
89
89
  backdrop-filter: blur(16px);
90
90
  border-left: 3px solid var(--n-color-border);
91
91
  }
@@ -117,7 +117,7 @@ const toggle = (id, e) => {
117
117
  opacity: 0.35;
118
118
  }
119
119
  .n-tree-row:hover {
120
- background-color: var(--n-color-surface);, color-mix(in srgb, var(--n-color-surface-hover) 85%, var(--n-color-primary) 5%));
120
+ background-color: var(--n-color-surface-hover);
121
121
  }
122
122
  .n-tree-row:active {
123
123
  background: color-mix(in srgb, var(--n-color-surface-hover) 80%, var(--n-color-text) 5%);