@quidgest/ui 0.16.55 → 0.16.57

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.57",
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 {
@@ -685,6 +707,9 @@ body *::-webkit-scrollbar-track {
685
707
  transition-property: color, background-color, border-color, box-shadow, text-decoration-color, fill, stroke;
686
708
  transition-duration: 0.15s;
687
709
  }
710
+ .q-button.q-button--labeled {
711
+ padding: 0.4rem 0.8rem;
712
+ }
688
713
  .q-button__content {
689
714
  display: inline-flex;
690
715
  align-items: center;
@@ -882,6 +907,9 @@ body *::-webkit-scrollbar-track {
882
907
  font-size: 0.8em;
883
908
  padding: 0.25rem;
884
909
  }
910
+ .q-button--small.q-button--labeled {
911
+ padding: 0.25rem 0.5rem;
912
+ }
885
913
  .q-button--borderless {
886
914
  border-color: transparent;
887
915
  }
@@ -4796,6 +4824,10 @@ body *::-webkit-scrollbar-track {
4796
4824
  cursor: not-allowed;
4797
4825
  }
4798
4826
 
4827
+ .q-switch:not(.q-switch--with-labels) {
4828
+ --q-switch-label-padding-h: var(--q-switch-label-padding-v);
4829
+ }
4830
+
4799
4831
  .q-switch__container {
4800
4832
  position: relative;
4801
4833
  display: inline-flex;
@@ -4888,6 +4920,10 @@ body *::-webkit-scrollbar-track {
4888
4920
  padding: var(--q-switch-label-padding-v) var(--q-switch-label-padding-h);
4889
4921
  }
4890
4922
 
4923
+ .q-switch--with-labels.q-switch--checked:not(.q-switch--readonly) .q-switch__label--off {
4924
+ color: var(--q-theme-primary-light);
4925
+ }
4926
+
4891
4927
  .q-switch--readonly {
4892
4928
  cursor: default;
4893
4929
  pointer-events: none;