@quidgest/ui 0.8.3 → 0.8.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/dist/ui.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quidgest Framework v0.8.3
2
+ * Quidgest Framework v0.8.5
3
3
  * (c) 2023 Quidgest - Consultores de Gestão, SA
4
4
  */
5
5
 
@@ -348,7 +348,9 @@ $button-text-on-plain: var(--q-theme-on-background);
348
348
  opacity: 0.6;
349
349
  }
350
350
  &--loading {
351
- cursor: not-allowed;
351
+ &:hover {
352
+ cursor: not-allowed;
353
+ }
352
354
  span {
353
355
  visibility: hidden;
354
356
  }
@@ -415,14 +417,35 @@ $button-text-on-plain: var(--q-theme-on-background);
415
417
  }
416
418
  }
417
419
  }
418
- .q-combobox__clear {
420
+ .q-combobox {
421
+ $this: &;
422
+ &:not(#{$this}--disabled) {
423
+ #{$this}__clear,
424
+ #{$this}__chevron {
425
+ &:hover,
426
+ &:focus {
427
+ cursor: pointer;
428
+ opacity: 1;
429
+ }
430
+ }
431
+ }
432
+ &--expanded {
433
+ #{$this}__chevron svg {
434
+ transform: rotate(-180deg);
435
+ }
436
+ }
437
+ }
438
+ .q-combobox__clear,
439
+ .q-combobox__chevron {
440
+ padding: 0.1rem;
419
441
  opacity: 0.5;
420
- &:hover,
421
- &:focus {
422
- cursor: pointer;
423
- opacity: 1;
442
+ &:hover {
443
+ cursor: inherit;
424
444
  }
425
445
  }
446
+ .q-combobox__chevron svg {
447
+ transition: all 0.2s;
448
+ }
426
449
  .q-field {
427
450
  $this: &;
428
451
  display: flex;
@@ -479,8 +502,10 @@ $button-text-on-plain: var(--q-theme-on-background);
479
502
  }
480
503
  &--disabled {
481
504
  > #{$this}__control {
482
- cursor: not-allowed;
483
505
  opacity: 0.5;
506
+ &:hover {
507
+ cursor: not-allowed;
508
+ }
484
509
  }
485
510
  }
486
511
  &:not(#{$this}--disabled) {
@@ -663,19 +688,23 @@ $line-color: var(--q-theme-primary);
663
688
  word-wrap: break-word;
664
689
  -webkit-touch-callout: none;
665
690
  width: inherit;
666
- cursor: pointer;
667
691
  border-radius: $border-radius;
668
692
  outline: none;
669
- &--disabled {
670
- cursor: not-allowed;
671
- pointer-events: none;
672
- opacity: 0.5;
693
+ &:hover {
694
+ cursor: pointer;
673
695
  }
674
696
  &:hover,
675
697
  &:focus-visible,
676
698
  &--highlighted {
677
699
  background-color: rgb(var(--q-theme-primary-light-rgb) / 0.5);
678
700
  }
701
+ &--disabled {
702
+ pointer-events: none;
703
+ opacity: 0.5;
704
+ &:hover {
705
+ cursor: not-allowed;
706
+ }
707
+ }
679
708
  &--selected {
680
709
  background-color: var(--q-theme-primary-light) !important;
681
710
  }
@@ -885,7 +914,7 @@ $popover-header-bg: rgb(var(--q-theme-neutral-light-rgb) / 0.25);
885
914
  color: var(--q-theme-neutral);
886
915
  }
887
916
  &--expanded {
888
- #{$this}__chevron {
917
+ #{$this}__chevron svg {
889
918
  transform: rotate(-180deg);
890
919
  }
891
920
  }
@@ -897,9 +926,13 @@ $popover-header-bg: rgb(var(--q-theme-neutral-light-rgb) / 0.25);
897
926
  }
898
927
  .q-select__clear,
899
928
  .q-select__chevron {
929
+ padding: 0.1rem;
900
930
  opacity: 0.5;
931
+ &:hover {
932
+ cursor: inherit;
933
+ }
901
934
  }
902
- .q-select__chevron {
935
+ .q-select__chevron svg {
903
936
  transition: all 0.2s;
904
937
  }
905
938
  .q-select__body {
@@ -998,7 +1031,6 @@ $spinner-color: var(--q-theme-primary);
998
1031
  outline: none;
999
1032
  color: inherit;
1000
1033
  background-color: transparent;
1001
- cursor: inherit;
1002
1034
  padding: 0;
1003
1035
  &::placeholder {
1004
1036
  font-style: italic;
@@ -1007,6 +1039,9 @@ $spinner-color: var(--q-theme-primary);
1007
1039
  &:disabled {
1008
1040
  user-select: none;
1009
1041
  }
1042
+ &:hover {
1043
+ cursor: inherit;
1044
+ }
1010
1045
  }
1011
1046
  .q-theme-provider {
1012
1047
  color: var(--q-theme-on-background);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@quidgest/ui",
3
3
  "private": false,
4
4
  "description": "Quidgest's UI framework",
5
- "version": "0.8.3",
5
+ "version": "0.8.5",
6
6
  "author": {
7
7
  "name": "Quidgest"
8
8
  },