@quidgest/ui 0.5.19 → 0.6.0

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/dist/ui.css CHANGED
@@ -425,18 +425,24 @@ body {
425
425
  z-index: 3;
426
426
  }
427
427
 
428
- .q-icon {
429
- display: inline-block;
428
+ .q-field {
429
+ display: flex;
430
+ flex-direction: column;
431
+ border-radius: 0.25rem;
430
432
  }
431
- .q-icon__svg {
432
- fill: currentColor;
433
+ .q-field:focus-within {
434
+ outline: 2px solid rgb(var(--q-theme-primary-rgb)/0.25);
433
435
  }
434
- .q-icon__svg, .q-icon__img {
435
- width: 1em;
436
- height: 1em;
436
+ .q-field__label {
437
+ color: rgb(var(--q-theme-on-background-rgb)/0.8);
438
+ line-height: 1.5;
437
439
  }
438
-
439
- .q-input {
440
+ .q-field__label[data-val-required=true]::after {
441
+ content: " *";
442
+ font-weight: 700;
443
+ color: var(--q-theme-danger);
444
+ }
445
+ .q-field__control {
440
446
  display: flex;
441
447
  align-items: center;
442
448
  height: 31.89px;
@@ -449,45 +455,53 @@ body {
449
455
  line-height: 1.5rem;
450
456
  transition: color var(--transition-duration) var(--transition-timing-function);
451
457
  }
452
- .q-input:focus-within {
453
- outline: 2px solid rgb(var(--q-theme-primary-rgb)/0.25);
454
- }
455
- .q-input__prepend, .q-input__append {
458
+ .q-field__prepend, .q-field__append {
456
459
  display: flex;
457
460
  align-items: center;
458
461
  }
459
- .q-input__append {
462
+ .q-field__append {
460
463
  margin-left: auto;
461
464
  }
462
- .q-input--readonly {
465
+ .q-field--readonly {
463
466
  background-color: #eaebec;
464
467
  }
465
- .q-input--disabled {
468
+ .q-field--disabled {
466
469
  cursor: not-allowed;
467
470
  opacity: 0.5;
468
471
  }
469
- .q-input--mini {
472
+ .q-field--mini {
470
473
  width: 4.35rem;
471
474
  }
472
- .q-input--small {
475
+ .q-field--small {
473
476
  width: 6.525rem;
474
477
  }
475
- .q-input--medium {
478
+ .q-field--medium {
476
479
  width: 10.875rem;
477
480
  }
478
- .q-input--large {
481
+ .q-field--large {
479
482
  width: 15.225rem;
480
483
  }
481
- .q-input--x-large {
484
+ .q-field--x-large {
482
485
  width: 19.575rem;
483
486
  }
484
- .q-input--xx-large {
487
+ .q-field--xx-large {
485
488
  width: 36.975rem;
486
489
  }
487
- .q-input--block {
490
+ .q-field--block {
488
491
  width: 100%;
489
492
  }
490
493
 
494
+ .q-icon {
495
+ display: inline-block;
496
+ }
497
+ .q-icon__svg {
498
+ fill: currentColor;
499
+ }
500
+ .q-icon__svg, .q-icon__img {
501
+ width: 1em;
502
+ height: 1em;
503
+ }
504
+
491
505
  .q-line-loader {
492
506
  width: 100%;
493
507
  height: 2px;
@@ -734,9 +748,6 @@ body {
734
748
  .q-select {
735
749
  /* Icon of the selected item */
736
750
  }
737
- .q-select:not(.q-select--readonly) {
738
- background-color: transparent;
739
- }
740
751
  .q-select:not(.q-select--readonly):not(.q-select--disabled) {
741
752
  cursor: pointer;
742
753
  }
@@ -744,6 +755,7 @@ body {
744
755
  white-space: nowrap;
745
756
  overflow: hidden;
746
757
  text-overflow: ellipsis;
758
+ pointer-events: none;
747
759
  }
748
760
  .q-select__placeholder {
749
761
  font-style: italic;
@@ -752,7 +764,7 @@ body {
752
764
  .q-select--expanded .q-select__chevron {
753
765
  transform: rotate(-180deg);
754
766
  }
755
- .q-select .q-input__prepend {
767
+ .q-select .q-field__prepend {
756
768
  padding-left: 6px;
757
769
  padding-right: 0.25rem;
758
770
  }
@@ -859,6 +871,34 @@ body {
859
871
  stroke-dashoffset: -124px;
860
872
  }
861
873
  }
874
+ .q-text-field__input {
875
+ width: 100%;
876
+ line-height: inherit;
877
+ outline: none;
878
+ background-color: inherit;
879
+ cursor: inherit;
880
+ }
881
+ .q-text-field__input::-moz-placeholder {
882
+ font-style: italic;
883
+ color: rgb(var(--q-theme-on-background-rgb)/0.5);
884
+ }
885
+ .q-text-field__input::placeholder {
886
+ font-style: italic;
887
+ color: rgb(var(--q-theme-on-background-rgb)/0.5);
888
+ }
889
+ .q-text-field__input:disabled {
890
+ -webkit-user-select: none;
891
+ -moz-user-select: none;
892
+ user-select: none;
893
+ }
894
+
895
+ .q-text-field__counter {
896
+ display: flex;
897
+ margin-top: 0.1rem;
898
+ justify-content: end;
899
+ color: rgb(var(--q-theme-on-background-rgb)/0.5);
900
+ }
901
+
862
902
  .q-tooltip .q-overlay__content {
863
903
  padding: 0.5rem;
864
904
  text-align: center;