@quidgest/ui 0.16.55 → 0.16.56

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.16.55",
2
+ "version": "0.16.56",
3
3
  "components": [
4
4
  {
5
5
  "name": "QAccordion",
@@ -2754,7 +2754,7 @@
2754
2754
  "kind": "primitive",
2755
2755
  "name": "boolean"
2756
2756
  },
2757
- "description": "Whether to return focus to the element that opened this\nwhen the focus trap is deactivaed.",
2757
+ "description": "Whether to return focus to the element that opened this\nwhen the focus wrap is deactivated.",
2758
2758
  "default": "true",
2759
2759
  "required": false,
2760
2760
  "category": "Behavior"
@@ -4925,7 +4925,7 @@
4925
4925
  "kind": "primitive",
4926
4926
  "name": "boolean"
4927
4927
  },
4928
- "description": "Whether to return focus to the element that opened this\nwhen the focus trap is deactivaed.",
4928
+ "description": "Whether to return focus to the element that opened this\nwhen the focus wrap is deactivated.",
4929
4929
  "default": "true",
4930
4930
  "required": false,
4931
4931
  "category": "Behavior"
package/dist/ui.css CHANGED
@@ -426,7 +426,6 @@ body *::-webkit-scrollbar-track {
426
426
  border-width: 1px;
427
427
  border-color: transparent;
428
428
  border-radius: var(--border-radius);
429
- padding: 0.4em 0.5em;
430
429
  font-size: 0.75rem;
431
430
  line-height: 1;
432
431
  position: relative;
@@ -442,18 +441,45 @@ body *::-webkit-scrollbar-track {
442
441
  border-radius: inherit;
443
442
  opacity: 0.1;
444
443
  }
445
- .q-badge__content {
444
+ .q-badge__content, .q-badge__content.q-button {
446
445
  display: inline-flex;
446
+ border-width: 1px;
447
+ border-radius: var(--border-radius);
447
448
  align-items: center;
448
449
  gap: 0.25em;
449
450
  z-index: 1;
451
+ font-size: 0.75rem;
450
452
  }
451
- .q-badge__remove.q-button {
452
- padding: 0;
453
+ .q-badge__content:not(.q-button) {
454
+ border-color: transparent;
455
+ padding: 0.483em 0.5em;
456
+ }
457
+ .q-badge__content.q-button {
458
+ padding: calc(0.483em + 1px) calc(0.5em + 1px);
453
459
  }
454
460
  .q-badge .q-icon {
455
461
  color: currentcolor;
456
462
  }
463
+ .q-badge__remove.q-button {
464
+ padding: 0.25rem;
465
+ }
466
+ .q-badge:not(:has(button.q-badge__content)) .q-badge__remove.q-button {
467
+ background-color: transparent;
468
+ border-top-left-radius: 0;
469
+ border-bottom-left-radius: 0;
470
+ border-color: transparent;
471
+ }
472
+ .q-badge:not(:has(button.q-badge__content)) .q-badge__remove.q-button .q-button__content {
473
+ padding: 1px;
474
+ border-radius: 9999px;
475
+ }
476
+ .q-badge:not(:has(button.q-badge__content)) .q-badge__remove.q-button:not(:disabled):hover {
477
+ background-color: transparent;
478
+ border-color: transparent;
479
+ }
480
+ .q-badge:not(:has(button.q-badge__content)) .q-badge__remove.q-button:not(:disabled):hover .q-button__content {
481
+ background-color: var(--q-button-hover-color);
482
+ }
457
483
  .q-badge--bold {
458
484
  background-color: var(--q-badge-main-color);
459
485
  border-color: var(--q-badge-main-color);
@@ -470,37 +496,19 @@ body *::-webkit-scrollbar-track {
470
496
  .q-badge--tonal .q-badge__underlay {
471
497
  background-color: var(--q-badge-main-color);
472
498
  }
499
+ .q-badge--tonal:not(:has(button.q-badge__content)) .q-badge__remove.q-button:not(:hover) {
500
+ background-color: transparent;
501
+ }
473
502
  .q-badge--pill {
474
503
  border-radius: 9999px;
475
504
  }
505
+ .q-badge--pill .q-button {
506
+ border-radius: 9999px;
507
+ }
476
508
  .q-badge--disabled {
477
509
  opacity: 0.6;
478
510
  pointer-events: none;
479
511
  }
480
- .q-badge--clickable {
481
- cursor: pointer;
482
- }
483
- .q-badge--clickable:hover {
484
- color: var(--q-badge-on-hover-color, var(--q-badge-on-main-color));
485
- background-color: var(--q-badge-hover-color);
486
- border-color: var(--q-badge-hover-color);
487
- }
488
- .q-badge--clickable:hover .q-icon {
489
- color: var(--q-badge-on-hover-color);
490
- }
491
- .q-badge--clickable:hover .q-button:not(:disabled):hover {
492
- background-color: var(--q-badge-on-hover-color);
493
- border-color: var(--q-badge-on-hover-color);
494
- }
495
- .q-badge--clickable:hover .q-button:not(:disabled):hover .q-icon {
496
- color: var(--q-badge-hover-color);
497
- }
498
- .q-badge--clickable:focus {
499
- outline: 2px solid rgb(var(--q-theme-info-rgb)/50%);
500
- }
501
- .q-badge--clickable:focus:not(:focus-visible) {
502
- outline: 0;
503
- }
504
512
  .q-badge--primary {
505
513
  --q-badge-main-color: var(--q-theme-primary);
506
514
  --q-badge-main-color-rgb: var(--q-theme-primary-rgb);
@@ -582,7 +590,21 @@ body *::-webkit-scrollbar-track {
582
590
  --q-badge-on-hover-color-rgb: var(--q-theme-on-neutral-rgb);
583
591
  }
584
592
  .q-badge--large {
585
- font-size: 0.9rem;
593
+ min-height: 44px;
594
+ }
595
+ .q-badge--large:is(span) {
596
+ padding: 0 0.5rem;
597
+ }
598
+ .q-badge--large button.q-button.q-badge__content, .q-badge--large button.q-button.q-badge__remove {
599
+ min-height: 40px;
600
+ padding: 0 1rem;
601
+ }
602
+ .q-badge span {
603
+ display: inline-flex;
604
+ }
605
+
606
+ .q-button-group > .q-button:not(:first-child).q-badge__remove {
607
+ margin-left: 1px;
586
608
  }
587
609
 
588
610
  .q-badge-indicator {
@@ -674,7 +696,7 @@ body *::-webkit-scrollbar-track {
674
696
  overflow: hidden;
675
697
  position: relative;
676
698
  border-width: 1px;
677
- padding: 0.4rem;
699
+ padding: 0.4rem 0.8rem;
678
700
  line-height: 1;
679
701
  gap: 0.25rem;
680
702
  border-radius: var(--border-radius);
@@ -880,7 +902,7 @@ body *::-webkit-scrollbar-track {
880
902
  }
881
903
  .q-button--small {
882
904
  font-size: 0.8em;
883
- padding: 0.25rem;
905
+ padding: 0.25rem 0.5rem;
884
906
  }
885
907
  .q-button--borderless {
886
908
  border-color: transparent;
@@ -4796,6 +4818,10 @@ body *::-webkit-scrollbar-track {
4796
4818
  cursor: not-allowed;
4797
4819
  }
4798
4820
 
4821
+ .q-switch:not(.q-switch--with-labels) {
4822
+ --q-switch-label-padding-h: var(--q-switch-label-padding-v);
4823
+ }
4824
+
4799
4825
  .q-switch__container {
4800
4826
  position: relative;
4801
4827
  display: inline-flex;
@@ -4888,6 +4914,10 @@ body *::-webkit-scrollbar-track {
4888
4914
  padding: var(--q-switch-label-padding-v) var(--q-switch-label-padding-h);
4889
4915
  }
4890
4916
 
4917
+ .q-switch--with-labels.q-switch--checked:not(.q-switch--readonly) .q-switch__label--off {
4918
+ color: var(--q-theme-primary-light);
4919
+ }
4920
+
4891
4921
  .q-switch--readonly {
4892
4922
  cursor: default;
4893
4923
  pointer-events: none;