@well-insight/ui 0.1.8 → 0.1.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.
Files changed (92) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/accordion/style.css +126 -125
  3. package/dist/auto-complete/style.css +126 -125
  4. package/dist/avatar/style.css +126 -125
  5. package/dist/badge/style.css +126 -125
  6. package/dist/block-ui/style.css +126 -125
  7. package/dist/breadcrumb/style.css +126 -125
  8. package/dist/button/style.css +126 -125
  9. package/dist/card/style.css +126 -125
  10. package/dist/carousel/style.css +126 -125
  11. package/dist/cascade-select/style.css +126 -125
  12. package/dist/checkbox/style.css +126 -125
  13. package/dist/chip/style.css +126 -125
  14. package/dist/command-menu/style.css +126 -125
  15. package/dist/config-provider/style.css +126 -125
  16. package/dist/confirm-dialog/style.css +126 -125
  17. package/dist/confirm-popup/style.css +126 -125
  18. package/dist/context-menu/style.css +126 -125
  19. package/dist/data-view/style.css +126 -125
  20. package/dist/date-picker/style.css +126 -125
  21. package/dist/dialog/style.css +126 -125
  22. package/dist/divider/style.css +126 -125
  23. package/dist/dock/style.css +126 -125
  24. package/dist/drawer/style.css +126 -125
  25. package/dist/dropdown/style.css +126 -125
  26. package/dist/fieldset/style.css +126 -125
  27. package/dist/file-upload/style.css +126 -125
  28. package/dist/flex/style.css +126 -125
  29. package/dist/float-label/style.css +126 -125
  30. package/dist/fluid/style.css +126 -125
  31. package/dist/form/style.css +126 -125
  32. package/dist/gallery/style.css +126 -125
  33. package/dist/grid/style.css +126 -125
  34. package/dist/icon/style.css +126 -125
  35. package/dist/icon-field/style.css +126 -125
  36. package/dist/inplace/style.css +126 -125
  37. package/dist/input/style.css +126 -125
  38. package/dist/input-color/style.css +126 -125
  39. package/dist/input-group/style.css +126 -125
  40. package/dist/input-number/style.css +126 -125
  41. package/dist/input-otp/style.css +126 -125
  42. package/dist/input-password/style.css +126 -125
  43. package/dist/input-tags/style.css +126 -125
  44. package/dist/knob/style.css +126 -125
  45. package/dist/label/style.css +126 -125
  46. package/dist/layout/style.css +126 -125
  47. package/dist/listbox/style.css +126 -125
  48. package/dist/mega-menu/style.css +126 -125
  49. package/dist/menu/style.css +126 -125
  50. package/dist/menubar/style.css +126 -125
  51. package/dist/message/style.css +126 -125
  52. package/dist/meter-group/style.css +126 -125
  53. package/dist/order-list/style.css +126 -125
  54. package/dist/pagination/style.css +126 -125
  55. package/dist/panel/style.css +126 -125
  56. package/dist/pick-list/style.css +126 -125
  57. package/dist/popover/style.css +126 -125
  58. package/dist/progress-bar/style.css +126 -125
  59. package/dist/progress-spinner/style.css +126 -125
  60. package/dist/radio/style.css +126 -125
  61. package/dist/rating/style.css +126 -125
  62. package/dist/scroll-top/style.css +126 -125
  63. package/dist/scrollbar/style.css +126 -125
  64. package/dist/select/style.css +126 -125
  65. package/dist/select-button/style.css +126 -125
  66. package/dist/sidebar/style.css +126 -125
  67. package/dist/skeleton/style.css +126 -125
  68. package/dist/slider/style.css +126 -125
  69. package/dist/space/style.css +126 -125
  70. package/dist/speed-dial/style.css +126 -125
  71. package/dist/split-button/style.css +126 -125
  72. package/dist/splitter/style.css +126 -125
  73. package/dist/stepper/style.css +126 -125
  74. package/dist/styles/base.css +126 -125
  75. package/dist/styles.css +1 -1
  76. package/dist/switch/style.css +126 -125
  77. package/dist/table/style.css +126 -125
  78. package/dist/tabs/style.css +126 -125
  79. package/dist/tag/style.css +126 -125
  80. package/dist/terminal/style.css +126 -125
  81. package/dist/textarea/style.css +126 -125
  82. package/dist/tiered-menu/style.css +126 -125
  83. package/dist/timeline/style.css +126 -125
  84. package/dist/toast/style.css +126 -125
  85. package/dist/toggle-button/style.css +126 -125
  86. package/dist/toolbar/style.css +126 -125
  87. package/dist/tooltip/style.css +126 -125
  88. package/dist/tree/style.css +126 -125
  89. package/dist/tree-select/style.css +126 -125
  90. package/dist/tree-table/style.css +126 -125
  91. package/dist/virtual-scroller/style.css +126 -125
  92. package/package.json +1 -1
@@ -186,8 +186,8 @@
186
186
  }
187
187
  }
188
188
 
189
- /* Shared tokens consumption, type, focus, and mixed selectors. */
190
-
189
+ /* Shared tokens consumption, type, focus, and mixed selectors. */
190
+
191
191
  .wi-button,
192
192
  .wi-input,
193
193
  .wi-card,
@@ -247,14 +247,15 @@
247
247
  .wi-fluid,
248
248
  .wi-terminal {
249
249
  font-family: var(--wi-font-sans);
250
- }
251
-
250
+ box-sizing: border-box;
251
+ }
252
+
252
253
  .wi-button:disabled,
253
254
  .wi-input:disabled {
254
255
  cursor: not-allowed;
255
256
  opacity: var(--wi-opacity-disabled);
256
- }
257
-
257
+ }
258
+
258
259
  .wi-input-field__meta,
259
260
  .wi-textarea-field__meta,
260
261
  .wi-password-field__meta {
@@ -262,14 +263,14 @@
262
263
  display: flex;
263
264
  gap: var(--wi-space-2);
264
265
  justify-content: space-between;
265
- }
266
-
266
+ }
267
+
267
268
  .wi-input-field__meta:not(:has(.wi-input-field__help)),
268
269
  .wi-textarea-field__meta:not(:has(.wi-textarea-field__help)),
269
270
  .wi-password-field__meta:not(:has(.wi-password__feedback)) {
270
271
  justify-content: flex-end;
271
- }
272
-
272
+ }
273
+
273
274
  .wi-input-field__count,
274
275
  .wi-textarea-field__count,
275
276
  .wi-password-field__count {
@@ -277,16 +278,16 @@
277
278
  flex: 0 0 auto;
278
279
  font-size: var(--wi-font-size-xs);
279
280
  margin-left: auto;
280
- }
281
-
281
+ }
282
+
282
283
  .wi-dropdown__item--parent,
283
284
  .wi-contextmenu__item--parent {
284
285
  align-items: center;
285
286
  display: flex;
286
287
  justify-content: space-between;
287
288
  width: 100%;
288
- }
289
-
289
+ }
290
+
290
291
  .wi-dropdown__icon,
291
292
  .wi-dropdown__caret,
292
293
  .wi-menu__icon,
@@ -294,13 +295,13 @@
294
295
  .wi-contextmenu__icon,
295
296
  .wi-contextmenu__caret {
296
297
  flex-shrink: 0;
297
- }
298
-
298
+ }
299
+
299
300
  .wi-dropdown__submenu-wrap,
300
301
  .wi-contextmenu__submenu-wrap {
301
302
  position: relative;
302
- }
303
-
303
+ }
304
+
304
305
  .wi-dropdown__submenu,
305
306
  .wi-contextmenu__submenu {
306
307
  background: var(--wi-color-surface);
@@ -313,54 +314,54 @@
313
314
  position: absolute;
314
315
  top: 0;
315
316
  z-index: 1;
316
- }
317
-
317
+ }
318
+
318
319
  .wi-fade-enter-active,
319
320
  .wi-fade-leave-active {
320
321
  transition: opacity var(--wi-motion-exit) var(--wi-motion-ease);
321
- }
322
-
322
+ }
323
+
323
324
  .wi-fade-enter-from,
324
325
  .wi-fade-leave-to {
325
326
  opacity: 0;
326
- }
327
-
327
+ }
328
+
328
329
  .wi-scale-fade-enter-active {
329
330
  transition:
330
331
  opacity var(--wi-motion-enter) var(--wi-motion-ease),
331
332
  transform var(--wi-motion-enter) var(--wi-motion-ease);
332
- }
333
-
333
+ }
334
+
334
335
  .wi-scale-fade-leave-active {
335
336
  transition:
336
337
  opacity var(--wi-motion-exit) var(--wi-motion-ease),
337
338
  transform var(--wi-motion-exit) var(--wi-motion-ease);
338
- }
339
-
339
+ }
340
+
340
341
  .wi-scale-fade-enter-from,
341
342
  .wi-scale-fade-leave-to {
342
343
  opacity: 0;
343
344
  transform: translateY(calc(var(--wi-motion-distance) * -1)) scale(0.98);
344
- }
345
-
345
+ }
346
+
346
347
  .wi-slide-fade-enter-active {
347
348
  transition:
348
349
  opacity var(--wi-motion-enter) var(--wi-motion-ease),
349
350
  transform var(--wi-motion-enter) var(--wi-motion-ease);
350
- }
351
-
351
+ }
352
+
352
353
  .wi-slide-fade-leave-active {
353
354
  transition:
354
355
  opacity var(--wi-motion-exit) var(--wi-motion-ease),
355
356
  transform var(--wi-motion-exit) var(--wi-motion-ease);
356
- }
357
-
357
+ }
358
+
358
359
  .wi-slide-fade-enter-from,
359
360
  .wi-slide-fade-leave-to {
360
361
  opacity: 0;
361
362
  transform: translateY(calc(var(--wi-motion-distance) * -1));
362
- }
363
-
363
+ }
364
+
364
365
  .wi-checkbox,
365
366
  .wi-radio,
366
367
  .wi-switch {
@@ -372,21 +373,21 @@
372
373
  gap: var(--wi-space-2);
373
374
  /* 避免绝对定位 input 挂到上层 WiScrollbar,聚焦时把滚动容器拽回顶部 */
374
375
  position: relative;
375
- }
376
-
376
+ }
377
+
377
378
  .wi-checkbox--disabled,
378
379
  .wi-radio--disabled,
379
380
  .wi-switch--disabled {
380
381
  color: var(--wi-color-text-muted);
381
382
  cursor: not-allowed;
382
383
  opacity: var(--wi-opacity-disabled);
383
- }
384
-
384
+ }
385
+
385
386
  .wi-checkbox--invalid .wi-checkbox__control,
386
387
  .wi-radio--invalid .wi-radio__control {
387
388
  border-color: var(--wi-color-danger);
388
- }
389
-
389
+ }
390
+
390
391
  .wi-checkbox__input,
391
392
  .wi-radio__input,
392
393
  .wi-switch__input {
@@ -399,8 +400,8 @@
399
400
  position: absolute;
400
401
  white-space: nowrap;
401
402
  width: 1px;
402
- }
403
-
403
+ }
404
+
404
405
  .wi-checkbox__control,
405
406
  .wi-radio__control {
406
407
  align-items: center;
@@ -414,27 +415,27 @@
414
415
  background-color var(--wi-motion-fast) var(--wi-motion-ease),
415
416
  border-color var(--wi-motion-fast) var(--wi-motion-ease);
416
417
  width: 1.125rem;
417
- }
418
-
418
+ }
419
+
419
420
  .wi-checkbox__input:checked + .wi-checkbox__control,
420
421
  .wi-radio__input:checked + .wi-radio__control {
421
422
  background: var(--wi-color-primary);
422
423
  border-color: var(--wi-color-primary);
423
- }
424
-
424
+ }
425
+
425
426
  .wi-checkbox__input:focus-visible + .wi-checkbox__control,
426
427
  .wi-radio__input:focus-visible + .wi-radio__control,
427
428
  .wi-switch__input:focus-visible + .wi-switch__track {
428
429
  box-shadow: var(--wi-focus-shadow);
429
430
  outline: none;
430
- }
431
-
431
+ }
432
+
432
433
  .wi-checkbox__label,
433
434
  .wi-radio__label,
434
435
  .wi-switch__label {
435
436
  font-size: var(--wi-font-size-md);
436
- }
437
-
437
+ }
438
+
438
439
  .wi-textarea-field,
439
440
  .wi-select-field {
440
441
  display: grid;
@@ -444,31 +445,31 @@
444
445
  min-width: var(--wi-menu-min-width);
445
446
  position: relative;
446
447
  width: fit-content;
447
- }
448
-
448
+ }
449
+
449
450
  .wi-textarea-field--fluid,
450
451
  .wi-select-field--fluid {
451
452
  width: 100%;
452
- }
453
-
453
+ }
454
+
454
455
  .wi-textarea-field__label,
455
456
  .wi-select-field__label {
456
457
  color: var(--wi-color-text);
457
458
  font-size: var(--wi-font-size-md);
458
459
  font-weight: 600;
459
- }
460
-
460
+ }
461
+
461
462
  .wi-textarea-field__help,
462
463
  .wi-select-field__help {
463
464
  color: var(--wi-color-text-muted);
464
465
  font-size: var(--wi-font-size-xs);
465
- }
466
-
466
+ }
467
+
467
468
  .wi-textarea-field__help--error,
468
469
  .wi-select-field__help--error {
469
470
  color: var(--wi-color-danger);
470
- }
471
-
471
+ }
472
+
472
473
  .wi-textarea,
473
474
  .wi-select {
474
475
  background: var(--wi-color-surface);
@@ -481,55 +482,55 @@
481
482
  box-shadow var(--wi-motion-fast) var(--wi-motion-ease),
482
483
  background-color var(--wi-motion-fast) var(--wi-motion-ease);
483
484
  width: 100%;
484
- }
485
-
485
+ }
486
+
486
487
  .wi-textarea--invalid:focus-visible,
487
488
  .wi-textarea--error:focus-visible,
488
489
  .wi-select--error.wi-select--open,
489
490
  .wi-select--error:focus-visible {
490
491
  border-color: var(--wi-color-danger);
491
492
  box-shadow: var(--wi-focus-shadow-danger);
492
- }
493
-
493
+ }
494
+
494
495
  .wi-textarea:disabled,
495
496
  .wi-select:disabled,
496
497
  .wi-select--disabled {
497
498
  cursor: not-allowed;
498
499
  opacity: var(--wi-opacity-disabled);
499
- }
500
-
500
+ }
501
+
501
502
  .wi-icon-field--left :is(.wi-input, .wi-password__input, .wi-inputnumber__input, input) {
502
503
  padding-left: 2.5rem;
503
- }
504
-
504
+ }
505
+
505
506
  .wi-icon-field--right :is(.wi-input, .wi-password__input, .wi-inputnumber__input, input) {
506
507
  padding-right: var(--wi-control-affix-padding);
507
- }
508
-
508
+ }
509
+
509
510
  .wi-inputgroup > .wi-input,
510
511
  .wi-inputgroup > .wi-input-field,
511
512
  .wi-inputgroup > .wi-password-field,
512
513
  .wi-inputgroup > .wi-inputnumber-field {
513
514
  flex: 1 1 auto;
514
515
  min-width: 0;
515
- }
516
-
516
+ }
517
+
517
518
  .wi-inputgroup > .wi-input-field,
518
519
  .wi-inputgroup > .wi-password-field,
519
520
  .wi-inputgroup > .wi-inputnumber-field {
520
521
  display: flex;
521
522
  flex-direction: column;
522
523
  gap: 0;
523
- }
524
-
524
+ }
525
+
525
526
  .wi-inputgroup > .wi-input,
526
527
  .wi-inputgroup .wi-input,
527
528
  .wi-inputgroup .wi-password__input,
528
529
  .wi-inputgroup .wi-inputnumber__input {
529
530
  border-radius: 0;
530
531
  width: 100%;
531
- }
532
-
532
+ }
533
+
533
534
  .wi-inputgroup > :first-child.wi-input,
534
535
  .wi-inputgroup > :first-child .wi-input,
535
536
  .wi-inputgroup > :first-child .wi-password__input,
@@ -537,8 +538,8 @@
537
538
  .wi-inputgroup > :first-child.wi-inputgroup-addon {
538
539
  border-bottom-left-radius: var(--wi-radius-control);
539
540
  border-top-left-radius: var(--wi-radius-control);
540
- }
541
-
541
+ }
542
+
542
543
  .wi-inputgroup > :last-child.wi-input,
543
544
  .wi-inputgroup > :last-child .wi-input,
544
545
  .wi-inputgroup > :last-child .wi-password__input,
@@ -546,32 +547,32 @@
546
547
  .wi-inputgroup > :last-child.wi-inputgroup-addon {
547
548
  border-bottom-right-radius: var(--wi-radius-control);
548
549
  border-top-right-radius: var(--wi-radius-control);
549
- }
550
-
550
+ }
551
+
551
552
  .wi-inputgroup > .wi-inputgroup-addon + .wi-input,
552
553
  .wi-inputgroup > .wi-inputgroup-addon + .wi-input-field .wi-input,
553
554
  .wi-inputgroup > .wi-input + .wi-inputgroup-addon,
554
555
  .wi-inputgroup > .wi-input-field + .wi-inputgroup-addon {
555
556
  margin-left: -1px;
556
- }
557
-
557
+ }
558
+
558
559
  .wi-layout__scrollbar > .wi-scrollbar__wrap {
559
560
  height: 100%;
560
561
  overflow-x: hidden;
561
- }
562
-
562
+ }
563
+
563
564
  .wi-layout-sider__scrollbar > .wi-scrollbar__wrap {
564
565
  height: 100%;
565
566
  overflow-x: hidden;
566
- }
567
-
567
+ }
568
+
568
569
  .wi-menu__item--selected,
569
570
  .wi-menubar__trigger--selected,
570
571
  .wi-menubar__subitem--selected {
571
572
  background: color-mix(in srgb, var(--wi-color-primary) 12%, var(--wi-color-surface));
572
573
  color: var(--wi-color-primary);
573
- }
574
-
574
+ }
575
+
575
576
  .wi-orderlist__btn,
576
577
  .wi-picklist__btn {
577
578
  align-items: center;
@@ -587,25 +588,25 @@
587
588
  min-height: var(--wi-control-height-small, 1.75rem);
588
589
  min-width: var(--wi-control-affix-size);
589
590
  padding: var(--wi-space-1) var(--wi-space-2);
590
- }
591
-
591
+ }
592
+
592
593
  .wi-orderlist__btn:hover,
593
594
  .wi-picklist__btn:hover {
594
595
  border-color: var(--wi-color-primary);
595
596
  color: var(--wi-color-primary);
596
- }
597
-
597
+ }
598
+
598
599
  .wi-orderlist__btn:focus-visible,
599
600
  .wi-picklist__btn:focus-visible {
600
601
  border-color: var(--wi-color-primary);
601
602
  box-shadow: var(--wi-focus-shadow);
602
603
  outline: none;
603
- }
604
-
604
+ }
605
+
605
606
  .wi-picklist__btn .wi-icon + .wi-icon {
606
607
  margin-left: -0.35rem;
607
- }
608
-
608
+ }
609
+
609
610
  .wi-orderlist__list,
610
611
  .wi-picklist__list {
611
612
  background: var(--wi-color-surface);
@@ -619,33 +620,33 @@
619
620
  min-width: var(--wi-menu-min-width);
620
621
  overflow: auto;
621
622
  padding: var(--wi-space-1);
622
- }
623
-
623
+ }
624
+
624
625
  .wi-orderlist__item,
625
626
  .wi-picklist__item {
626
627
  border-radius: var(--wi-radius-sm);
627
628
  cursor: pointer;
628
629
  padding: var(--wi-space-2) var(--wi-space-3);
629
- }
630
-
630
+ }
631
+
631
632
  .wi-orderlist__item:hover,
632
633
  .wi-picklist__item:hover {
633
634
  background: color-mix(in srgb, var(--wi-color-primary) 8%, var(--wi-color-surface));
634
- }
635
-
635
+ }
636
+
636
637
  .wi-orderlist__item:focus-visible,
637
638
  .wi-picklist__item:focus-visible {
638
639
  box-shadow: var(--wi-focus-shadow);
639
640
  outline: none;
640
- }
641
-
641
+ }
642
+
642
643
  .wi-orderlist__item--selected,
643
644
  .wi-picklist__item--selected {
644
645
  background: color-mix(in srgb, var(--wi-color-primary) 14%, var(--wi-color-surface));
645
646
  color: var(--wi-color-primary);
646
647
  font-weight: 600;
647
- }
648
-
648
+ }
649
+
649
650
  .wi-carousel__nav,
650
651
  .wi-gallery__nav {
651
652
  background: var(--wi-color-surface);
@@ -657,14 +658,14 @@
657
658
  font: inherit;
658
659
  height: var(--wi-control-affix-size);
659
660
  width: var(--wi-control-affix-size);
660
- }
661
-
661
+ }
662
+
662
663
  .wi-carousel__nav:disabled,
663
664
  .wi-gallery__nav:disabled {
664
665
  cursor: not-allowed;
665
666
  opacity: 0.4;
666
- }
667
-
667
+ }
668
+
668
669
  /* Shared Naive-like hover/focus for remaining form triggers */
669
670
  .wi-inputnumber__input:hover:not(:disabled):not(:focus),
670
671
  .wi-password__input:hover:not(:disabled):not(:focus),
@@ -677,8 +678,8 @@
677
678
  .wi-togglebutton:hover:not(:disabled):not(.wi-togglebutton--checked),
678
679
  .wi-inplace__display:hover {
679
680
  border-color: var(--wi-color-primary-hover);
680
- }
681
-
681
+ }
682
+
682
683
  .wi-inputnumber__input:focus-visible,
683
684
  .wi-password__input:focus-visible,
684
685
  .wi-datepicker__input:focus-visible,
@@ -696,34 +697,34 @@
696
697
  border-color: var(--wi-color-primary-hover);
697
698
  box-shadow: var(--wi-focus-shadow);
698
699
  outline: none;
699
- }
700
-
700
+ }
701
+
701
702
  .wi-inputnumber--invalid .wi-inputnumber__input:focus-visible,
702
703
  .wi-password--invalid .wi-password__input:focus-visible,
703
704
  .wi-datepicker--invalid .wi-datepicker__input:focus-visible {
704
705
  border-color: var(--wi-color-danger);
705
706
  box-shadow: var(--wi-focus-shadow-danger);
706
- }
707
-
707
+ }
708
+
708
709
  .wi-checkbox-group,
709
710
  .wi-radio-group {
710
711
  display: flex;
711
712
  flex-wrap: wrap;
712
713
  gap: var(--wi-space-3);
713
- }
714
-
714
+ }
715
+
715
716
  .wi-checkbox--small .wi-checkbox__control,
716
717
  .wi-radio--small .wi-radio__control {
717
718
  height: 0.95rem;
718
719
  width: 0.95rem;
719
- }
720
-
720
+ }
721
+
721
722
  .wi-checkbox--large .wi-checkbox__control,
722
723
  .wi-radio--large .wi-radio__control {
723
724
  height: 1.35rem;
724
725
  width: 1.35rem;
725
- }
726
-
726
+ }
727
+
727
728
  .wi-inputnumber__clear,
728
729
  .wi-autocomplete__clear {
729
730
  background: transparent;
@@ -732,7 +733,7 @@
732
733
  cursor: pointer;
733
734
  font: inherit;
734
735
  line-height: 1;
735
- }
736
+ }
736
737
 
737
738
  /* —— Misc: Terminal —— */
738
739
  .wi-terminal {