@quidgest/ui 0.14.4 → 0.14.6
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/README.md +4 -4
- package/dist/manifest/components.json +3 -0
- package/dist/ui.css +294 -19
- package/dist/ui.esm.js +1413 -1168
- package/dist/ui.js +6 -6
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +198 -184
- package/dist/ui.scss +313 -21
- package/esm/components/QAccordion/QAccordion.d.ts +26 -0
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -0
- package/esm/components/QAccordion/QAccordion.vue.js +27 -0
- package/esm/components/QAccordion/QAccordion.vue2.js +4 -0
- package/esm/components/QAccordion/index.d.ts +4 -0
- package/esm/components/QAccordion/index.d.ts.map +1 -0
- package/esm/components/QAccordion/index.js +6 -0
- package/esm/components/QAccordion/types.d.ts +7 -0
- package/esm/components/QAccordion/types.d.ts.map +1 -0
- package/esm/components/QCard/QCard.d.ts +34 -0
- package/esm/components/QCard/QCard.d.ts.map +1 -0
- package/esm/components/QCard/QCard.vue.js +132 -0
- package/esm/components/QCard/QCard.vue2.js +4 -0
- package/esm/components/QCard/index.d.ts +6 -0
- package/esm/components/QCard/index.d.ts.map +1 -0
- package/esm/components/QCard/index.js +6 -0
- package/esm/components/QCard/types.d.ts +44 -0
- package/esm/components/QCard/types.d.ts.map +1 -0
- package/esm/components/QCollapsible/QCollapsible.d.ts +35 -0
- package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -0
- package/esm/components/QCollapsible/QCollapsible.vue.js +143 -0
- package/esm/components/QCollapsible/QCollapsible.vue2.js +4 -0
- package/esm/components/QCollapsible/index.d.ts +6 -0
- package/esm/components/QCollapsible/index.d.ts.map +1 -0
- package/esm/components/QCollapsible/index.js +6 -0
- package/esm/components/QCollapsible/types.d.ts +43 -0
- package/esm/components/QCollapsible/types.d.ts.map +1 -0
- package/esm/components/QCollapsible/types.js +8 -0
- package/esm/components/QCombobox/QCombobox.d.ts +9 -9
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.d.ts +1 -1
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +1 -1
- package/esm/components/QTextField/QTextField.d.ts +1 -1
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.d.ts +1 -1
- package/esm/components/index.d.ts +3 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +56 -50
- package/esm/composables/group.d.ts +16 -0
- package/esm/composables/group.d.ts.map +1 -0
- package/esm/composables/group.js +34 -0
- package/esm/index.d.ts +3 -0
- package/package.json +30 -27
package/dist/ui.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quidgest UI v0.14.
|
|
3
|
-
* (c)
|
|
2
|
+
* Quidgest UI v0.14.6
|
|
3
|
+
* (c) 2025 Quidgest - Consultores de Gestão, S.A.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -196,6 +196,9 @@ $input-padding-x: 0.25rem !default;
|
|
|
196
196
|
margin: 0;
|
|
197
197
|
overflow: hidden;
|
|
198
198
|
}
|
|
199
|
+
:root {
|
|
200
|
+
--border-radius: #{$border-radius};
|
|
201
|
+
}
|
|
199
202
|
*,
|
|
200
203
|
::after,
|
|
201
204
|
::before {
|
|
@@ -218,11 +221,11 @@ body {
|
|
|
218
221
|
}
|
|
219
222
|
&::-webkit-scrollbar-thumb {
|
|
220
223
|
background-color: $scrollbar-thumb;
|
|
221
|
-
border-radius:
|
|
224
|
+
border-radius: var(--border-radius);
|
|
222
225
|
}
|
|
223
226
|
&::-webkit-scrollbar-track {
|
|
224
227
|
background-color: $scrollbar-track;
|
|
225
|
-
border-radius:
|
|
228
|
+
border-radius: var(--border-radius);
|
|
226
229
|
}
|
|
227
230
|
}
|
|
228
231
|
}
|
|
@@ -238,12 +241,17 @@ body {
|
|
|
238
241
|
.fade-leave-active {
|
|
239
242
|
transition: opacity 0.2s;
|
|
240
243
|
}
|
|
244
|
+
.q-accordion {
|
|
245
|
+
display: flex;
|
|
246
|
+
flex-direction: column;
|
|
247
|
+
gap: $space-base;
|
|
248
|
+
}
|
|
241
249
|
.q-badge {
|
|
242
250
|
$this: &;
|
|
243
251
|
display: inline-flex;
|
|
244
252
|
border-width: 1px;
|
|
245
253
|
border-color: transparent;
|
|
246
|
-
border-radius:
|
|
254
|
+
border-radius: var(--border-radius);
|
|
247
255
|
padding: 0.25em 0.5em;
|
|
248
256
|
line-height: 1rem;
|
|
249
257
|
font-size: 0.75rem;
|
|
@@ -334,7 +342,7 @@ $button-text-on-plain: var(--q-theme-on-background);
|
|
|
334
342
|
user-select: none;
|
|
335
343
|
-webkit-user-select: none;
|
|
336
344
|
-moz-user-select: none;
|
|
337
|
-
border-radius:
|
|
345
|
+
border-radius: var(--border-radius);
|
|
338
346
|
transition-property: color, background-color, border-color, box-shadow, text-decoration-color,
|
|
339
347
|
fill, stroke;
|
|
340
348
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -472,7 +480,7 @@ $button-text-on-plain: var(--q-theme-on-background);
|
|
|
472
480
|
--box-shadow-tint: 0 0 0;
|
|
473
481
|
position: relative;
|
|
474
482
|
display: inline-flex;
|
|
475
|
-
border-radius:
|
|
483
|
+
border-radius: var(--border-radius);
|
|
476
484
|
&--elevated {
|
|
477
485
|
--box-shadow-tint: var(--q-theme-primary-rgb);
|
|
478
486
|
box-shadow:
|
|
@@ -497,6 +505,144 @@ $button-text-on-plain: var(--q-theme-on-background);
|
|
|
497
505
|
}
|
|
498
506
|
}
|
|
499
507
|
}
|
|
508
|
+
.q-card {
|
|
509
|
+
--card-base-padding: 1rem;
|
|
510
|
+
--card-padding: 1rem;
|
|
511
|
+
--card-border: 1px solid #{$border};
|
|
512
|
+
--card-width: fit-content;
|
|
513
|
+
--card-hover: 0 5px 15px rgb(var(--q-theme-neutral-rgb) / 0.25);
|
|
514
|
+
--card-scale: 1;
|
|
515
|
+
--card-shadow: none;
|
|
516
|
+
--card-background: var(--q-theme-container);
|
|
517
|
+
min-height: 5rem;
|
|
518
|
+
min-width: 7rem;
|
|
519
|
+
border: var(--card-border);
|
|
520
|
+
border-radius: var(--border-radius);
|
|
521
|
+
background-color: var(--card-background);
|
|
522
|
+
width: var(--card-width);
|
|
523
|
+
overflow: hidden;
|
|
524
|
+
display: flex;
|
|
525
|
+
flex-direction: column;
|
|
526
|
+
box-shadow: var(--card-shadow);
|
|
527
|
+
transform: scale(var(--card-scale));
|
|
528
|
+
transition:
|
|
529
|
+
box-shadow 0.2s ease-in-out,
|
|
530
|
+
transform 0.2s cubic-bezier(0.155, 1.105, 0.295, 1.12);
|
|
531
|
+
&__header {
|
|
532
|
+
display: flex;
|
|
533
|
+
flex: 1;
|
|
534
|
+
flex-direction: column;
|
|
535
|
+
padding-bottom: var(--card-base-padding);
|
|
536
|
+
}
|
|
537
|
+
&__header-content {
|
|
538
|
+
display: flex;
|
|
539
|
+
gap: 0.5rem;
|
|
540
|
+
padding: var(--card-padding);
|
|
541
|
+
padding-top: var(--card-base-padding);
|
|
542
|
+
padding-bottom: 0;
|
|
543
|
+
}
|
|
544
|
+
&__header-text {
|
|
545
|
+
display: flex;
|
|
546
|
+
flex-direction: column;
|
|
547
|
+
flex: 1;
|
|
548
|
+
}
|
|
549
|
+
&__title {
|
|
550
|
+
width: 100%;
|
|
551
|
+
margin: 0;
|
|
552
|
+
font-size: 1.05rem;
|
|
553
|
+
line-height: 1rem;
|
|
554
|
+
letter-spacing: 0.02rem;
|
|
555
|
+
font-weight: 600;
|
|
556
|
+
}
|
|
557
|
+
&__subtitle {
|
|
558
|
+
width: 100%;
|
|
559
|
+
margin: 0;
|
|
560
|
+
font-size: 0.75rem;
|
|
561
|
+
color: var(--q-theme-neutral);
|
|
562
|
+
padding-top: 0.3rem;
|
|
563
|
+
}
|
|
564
|
+
&__content {
|
|
565
|
+
padding: var(--card-padding);
|
|
566
|
+
padding-top: 0;
|
|
567
|
+
padding-bottom: var(--card-base-padding);
|
|
568
|
+
display: flex;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
&--elevation-low {
|
|
572
|
+
--card-shadow: 0 4px 6px rgb(var(--q-theme-neutral-dark-rgb) / 0.15);
|
|
573
|
+
}
|
|
574
|
+
&--elevation-medium {
|
|
575
|
+
--card-shadow: 0 6px 9px rgb(var(--q-theme-neutral-dark-rgb) / 0.2);
|
|
576
|
+
}
|
|
577
|
+
&--elevation-high {
|
|
578
|
+
--card-shadow: 0 8px 12px rgb(var(--q-theme-neutral-dark-rgb) / 0.25);
|
|
579
|
+
}
|
|
580
|
+
&--background {
|
|
581
|
+
--card-background: rgb(var(--q-theme-primary-light-rgb) / 0.5);
|
|
582
|
+
.q-field__control {
|
|
583
|
+
background-color: var(--q-theme-container);
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
&--title-background {
|
|
587
|
+
.q-card__header-content {
|
|
588
|
+
background-color: rgb(var(--q-theme-neutral-light-rgb) / 0.25);
|
|
589
|
+
padding-bottom: 0.75rem;
|
|
590
|
+
}
|
|
591
|
+
.q-card__title {
|
|
592
|
+
color: var(--q-theme-neutral-dark);
|
|
593
|
+
font-size: 1.1rem;
|
|
594
|
+
letter-spacing: unset;
|
|
595
|
+
text-transform: unset;
|
|
596
|
+
font-weight: $font-weight-bold;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
&--minor {
|
|
600
|
+
.q-card__title {
|
|
601
|
+
font-size: 0.9rem;
|
|
602
|
+
text-transform: unset;
|
|
603
|
+
font-weight: 600;
|
|
604
|
+
color: var(--q-theme-neutral);
|
|
605
|
+
}
|
|
606
|
+
.q-card__subtitle {
|
|
607
|
+
font-size: 0.75rem;
|
|
608
|
+
color: rgb(var(--q-theme-neutral-rgb) / 0.8);
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
&--borderless {
|
|
613
|
+
--card-border: 1px solid transparent;
|
|
614
|
+
}
|
|
615
|
+
&--clickable {
|
|
616
|
+
text-decoration: none;
|
|
617
|
+
color: inherit;
|
|
618
|
+
&:not(.q-card--disabled) {
|
|
619
|
+
cursor: pointer;
|
|
620
|
+
&:hover {
|
|
621
|
+
--card-scale: 1.01;
|
|
622
|
+
--card-shadow: var(--card-hover);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
&--loading {
|
|
628
|
+
padding: 3rem 5rem;
|
|
629
|
+
justify-content: center;
|
|
630
|
+
align-items: center;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
@mixin card-width($width, $multiplier: 1) {
|
|
634
|
+
&--#{$width} {
|
|
635
|
+
--card-width: calc(#{$multiplier} * 5em + #{$multiplier - 1} * #{$space-base});
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
@include card-width(medium, 3);
|
|
639
|
+
@include card-width(large, 4);
|
|
640
|
+
@include card-width(xlarge, 6);
|
|
641
|
+
@include card-width(xxlarge, 8);
|
|
642
|
+
&--block {
|
|
643
|
+
--card-width: 100%;
|
|
644
|
+
}
|
|
645
|
+
}
|
|
500
646
|
.q-checkbox {
|
|
501
647
|
$this: &;
|
|
502
648
|
--box-size: 1.15rem;
|
|
@@ -515,7 +661,7 @@ $button-text-on-plain: var(--q-theme-on-background);
|
|
|
515
661
|
width: var(--box-size);
|
|
516
662
|
height: var(--box-size);
|
|
517
663
|
border: 1px solid $border;
|
|
518
|
-
border-radius:
|
|
664
|
+
border-radius: var(--border-radius);
|
|
519
665
|
padding: 0;
|
|
520
666
|
transition:
|
|
521
667
|
background 0.2s,
|
|
@@ -594,6 +740,152 @@ $button-text-on-plain: var(--q-theme-on-background);
|
|
|
594
740
|
transition: none;
|
|
595
741
|
}
|
|
596
742
|
}
|
|
743
|
+
.q-collapsible {
|
|
744
|
+
$btn-padding: 0.2rem;
|
|
745
|
+
$header-padding: 0.75rem - $btn-padding;
|
|
746
|
+
$this: &;
|
|
747
|
+
display: flex;
|
|
748
|
+
flex-direction: column;
|
|
749
|
+
word-wrap: break-word;
|
|
750
|
+
background-color: var(--q-theme-container);
|
|
751
|
+
border-width: 1px;
|
|
752
|
+
border-radius: var(--border-radius);
|
|
753
|
+
position: relative;
|
|
754
|
+
max-width: 100%;
|
|
755
|
+
min-height: 0;
|
|
756
|
+
#{$this}__chevron {
|
|
757
|
+
transition: all 0.2s;
|
|
758
|
+
font-weight: 600;
|
|
759
|
+
&:hover,
|
|
760
|
+
&:focus {
|
|
761
|
+
cursor: pointer;
|
|
762
|
+
opacity: 1;
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
&:not(#{$this}--borderless) {
|
|
766
|
+
#{$this}__chevron-right {
|
|
767
|
+
position: absolute;
|
|
768
|
+
right: 0;
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
&--expanded {
|
|
772
|
+
#{$this}__chevron {
|
|
773
|
+
transform: rotate(-180deg);
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
.q-card__content {
|
|
777
|
+
padding: 0;
|
|
778
|
+
}
|
|
779
|
+
.q-card__header {
|
|
780
|
+
padding-bottom: 0;
|
|
781
|
+
}
|
|
782
|
+
&__header {
|
|
783
|
+
display: flex;
|
|
784
|
+
position: relative;
|
|
785
|
+
width: 100%;
|
|
786
|
+
margin: 0;
|
|
787
|
+
border-bottom: 1px solid $border;
|
|
788
|
+
overflow: hidden;
|
|
789
|
+
gap: 0;
|
|
790
|
+
justify-content: start;
|
|
791
|
+
align-items: flex-start;
|
|
792
|
+
flex-direction: column;
|
|
793
|
+
padding: $header-padding;
|
|
794
|
+
}
|
|
795
|
+
&__btn {
|
|
796
|
+
width: 100%;
|
|
797
|
+
margin: 0;
|
|
798
|
+
padding: 0;
|
|
799
|
+
.q-btn__content {
|
|
800
|
+
width: 100%;
|
|
801
|
+
gap: 0;
|
|
802
|
+
padding: $btn-padding;
|
|
803
|
+
display: flex;
|
|
804
|
+
flex-direction: column;
|
|
805
|
+
align-items: start;
|
|
806
|
+
letter-spacing: 0.02rem;
|
|
807
|
+
color: var(--q-theme-on-background);
|
|
808
|
+
h4 {
|
|
809
|
+
margin: 0;
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
&__title {
|
|
814
|
+
display: flex;
|
|
815
|
+
width: 100%;
|
|
816
|
+
gap: 0.2rem;
|
|
817
|
+
position: relative;
|
|
818
|
+
text-align: start;
|
|
819
|
+
align-items: center;
|
|
820
|
+
padding: 0;
|
|
821
|
+
&-text {
|
|
822
|
+
font-weight: 600;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
&__subtitle {
|
|
826
|
+
margin-left: 1.25rem;
|
|
827
|
+
text-align: start;
|
|
828
|
+
line-height: 0.75rem;
|
|
829
|
+
font-size: 0.75rem;
|
|
830
|
+
text-decoration: none;
|
|
831
|
+
white-space: nowrap;
|
|
832
|
+
color: var(--q-theme-neutral);
|
|
833
|
+
padding: 0;
|
|
834
|
+
padding-top: 0.3rem;
|
|
835
|
+
}
|
|
836
|
+
&__content {
|
|
837
|
+
padding: 1rem;
|
|
838
|
+
padding-top: 0.75rem;
|
|
839
|
+
&-wrapper {
|
|
840
|
+
display: grid;
|
|
841
|
+
grid-template-rows: 0fr;
|
|
842
|
+
transition: 0.5s;
|
|
843
|
+
&:not(#{$this}__content-show) {
|
|
844
|
+
pointer-events: none;
|
|
845
|
+
visibility: hidden;
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
&-inner {
|
|
849
|
+
overflow: hidden;
|
|
850
|
+
overflow-x: inherit;
|
|
851
|
+
}
|
|
852
|
+
&-show {
|
|
853
|
+
grid-template-rows: 1fr;
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
&--border-bottom {
|
|
858
|
+
border-radius: 0;
|
|
859
|
+
border: 0;
|
|
860
|
+
border-bottom: 1px solid $border;
|
|
861
|
+
.q-collapsible__header {
|
|
862
|
+
border: 0;
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
&--required {
|
|
867
|
+
margin-top: -0.3rem;
|
|
868
|
+
margin-left: 0.1rem;
|
|
869
|
+
font-weight: 700;
|
|
870
|
+
color: var(--q-theme-danger);
|
|
871
|
+
}
|
|
872
|
+
&--icon-right {
|
|
873
|
+
&:not(.q-collapsible--borderless) .q-collapsible__title .q-icon {
|
|
874
|
+
margin: 0 0 0 auto;
|
|
875
|
+
}
|
|
876
|
+
.q-collapsible__subtitle {
|
|
877
|
+
margin-left: 0;
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
@mixin header-spacing($spacing, $increment) {
|
|
882
|
+
&--#{$spacing} .q-collapsible__header {
|
|
883
|
+
padding: calc(#{$header-padding} + #{$increment});
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
@include header-spacing(loose, $space-base);
|
|
887
|
+
@include header-spacing(compact, -$space-base);
|
|
888
|
+
}
|
|
597
889
|
.q-combobox {
|
|
598
890
|
$this: &;
|
|
599
891
|
&:not(#{$this}--disabled) {
|
|
@@ -673,7 +965,7 @@ $button-text-on-plain: var(--q-theme-on-background);
|
|
|
673
965
|
$this: &;
|
|
674
966
|
display: flex;
|
|
675
967
|
flex-direction: column;
|
|
676
|
-
border-radius:
|
|
968
|
+
border-radius: var(--border-radius);
|
|
677
969
|
width: fit-content;
|
|
678
970
|
&__label {
|
|
679
971
|
display: flex;
|
|
@@ -777,12 +1069,12 @@ $input-group-addon-color: var(--q-theme-primary);
|
|
|
777
1069
|
$input-group-addon-background: rgb(var(--q-theme-neutral-light-rgb) / 0.25);
|
|
778
1070
|
.q-input-group {
|
|
779
1071
|
&__prepend > :first-child {
|
|
780
|
-
border-top-left-radius:
|
|
781
|
-
border-bottom-left-radius:
|
|
1072
|
+
border-top-left-radius: var(--border-radius);
|
|
1073
|
+
border-bottom-left-radius: var(--border-radius);
|
|
782
1074
|
}
|
|
783
1075
|
&__append > :last-child {
|
|
784
|
-
border-top-right-radius:
|
|
785
|
-
border-bottom-right-radius:
|
|
1076
|
+
border-top-right-radius: var(--border-radius);
|
|
1077
|
+
border-bottom-right-radius: var(--border-radius);
|
|
786
1078
|
}
|
|
787
1079
|
&__prepend,
|
|
788
1080
|
&__append {
|
|
@@ -825,12 +1117,12 @@ $input-group-addon-background: rgb(var(--q-theme-neutral-light-rgb) / 0.25);
|
|
|
825
1117
|
}
|
|
826
1118
|
}
|
|
827
1119
|
> :first-child {
|
|
828
|
-
border-top-left-radius:
|
|
829
|
-
border-bottom-left-radius:
|
|
1120
|
+
border-top-left-radius: var(--border-radius);
|
|
1121
|
+
border-bottom-left-radius: var(--border-radius);
|
|
830
1122
|
}
|
|
831
1123
|
> :last-child {
|
|
832
|
-
border-top-right-radius:
|
|
833
|
-
border-bottom-right-radius:
|
|
1124
|
+
border-top-right-radius: var(--border-radius);
|
|
1125
|
+
border-bottom-right-radius: var(--border-radius);
|
|
834
1126
|
}
|
|
835
1127
|
> * + * {
|
|
836
1128
|
margin-left: -1px;
|
|
@@ -885,7 +1177,7 @@ $line-color: var(--q-theme-primary);
|
|
|
885
1177
|
padding: 0;
|
|
886
1178
|
-webkit-overflow-scrolling: touch;
|
|
887
1179
|
width: 100%;
|
|
888
|
-
border-radius:
|
|
1180
|
+
border-radius: var(--border-radius);
|
|
889
1181
|
}
|
|
890
1182
|
.q-list-item-group {
|
|
891
1183
|
display: flex;
|
|
@@ -919,7 +1211,7 @@ $line-color: var(--q-theme-primary);
|
|
|
919
1211
|
word-wrap: break-word;
|
|
920
1212
|
-webkit-touch-callout: none;
|
|
921
1213
|
width: inherit;
|
|
922
|
-
border-radius:
|
|
1214
|
+
border-radius: var(--border-radius);
|
|
923
1215
|
outline: none;
|
|
924
1216
|
&:hover {
|
|
925
1217
|
cursor: pointer;
|
|
@@ -1003,7 +1295,7 @@ $arrow-tip-radius: 0.1rem;
|
|
|
1003
1295
|
background-color: var(--q-overlay-bg);
|
|
1004
1296
|
color: var(--q-overlay-color);
|
|
1005
1297
|
border: $overlay-border-width solid var(--q-overlay-border-color);
|
|
1006
|
-
border-radius:
|
|
1298
|
+
border-radius: var(--border-radius);
|
|
1007
1299
|
outline: none;
|
|
1008
1300
|
box-shadow:
|
|
1009
1301
|
0 0 #0000,
|
|
@@ -1266,7 +1558,7 @@ $base-border: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
1266
1558
|
overflow: hidden;
|
|
1267
1559
|
background-color: var(--q-theme-neutral-light);
|
|
1268
1560
|
animation: fadeIn 1s;
|
|
1269
|
-
border-radius:
|
|
1561
|
+
border-radius: var(--border-radius);
|
|
1270
1562
|
&::after {
|
|
1271
1563
|
position: absolute;
|
|
1272
1564
|
top: 0;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { QAccordionProps } from './types';
|
|
2
|
+
declare let __VLS_typeProps: QAccordionProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
} & typeof __VLS_typeProps;
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (modelValue: string) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=QAccordion.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/QAccordion.vue"],"names":[],"mappings":"AAoCC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAO/C,QAAA,IAAI,eAAe,EAAG,eAAe,CAAC;AAmBtC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,eAAe,CAAC;AAI3B,iBAAS,cAAc;;yBA2BM,GAAG;;;WASlB,OAAO,IAA6B;EAEjD;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as r, mergeModels as a, toRef as l, useModel as s, openBlock as n, createElementBlock as d, renderSlot as i } from "vue";
|
|
2
|
+
import { provideDefaults as m } from "../../composables/defaults.js";
|
|
3
|
+
import { useGroup as c } from "../../composables/group.js";
|
|
4
|
+
const p = { class: "q-accordion" }, V = /* @__PURE__ */ r({
|
|
5
|
+
__name: "QAccordion",
|
|
6
|
+
props: /* @__PURE__ */ a({
|
|
7
|
+
variant: {}
|
|
8
|
+
}, {
|
|
9
|
+
modelValue: {},
|
|
10
|
+
modelModifiers: {}
|
|
11
|
+
}),
|
|
12
|
+
emits: ["update:modelValue"],
|
|
13
|
+
setup(e) {
|
|
14
|
+
m({
|
|
15
|
+
QCollapsible: {
|
|
16
|
+
variant: l(e, "variant")
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const o = s(e, "modelValue");
|
|
20
|
+
return c({ active: o }), (t, f) => (n(), d("div", p, [
|
|
21
|
+
i(t.$slots, "default")
|
|
22
|
+
]));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
V as default
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/index.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,MAAM,kBAAkB,CAAA;AAK1C,QAAA,MAAM,UAAU,EAAmC,OAAO,WAAW,CAAA;AAGrE,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,eAAe,CAAA;CACrC,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { QCardProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
slots: {
|
|
4
|
+
header?(_: {}): any;
|
|
5
|
+
"header.prepend"?(_: {}): any;
|
|
6
|
+
"header.content.prepend"?(_: {}): any;
|
|
7
|
+
title?(_: {}): any;
|
|
8
|
+
subtitle?(_: {}): any;
|
|
9
|
+
"header.content.append"?(_: {}): any;
|
|
10
|
+
"header.append"?(_: {}): any;
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
footer?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<QCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QCardProps> & Readonly<{}>, {
|
|
19
|
+
variant: "default" | "background" | "title-background" | "minor";
|
|
20
|
+
title: string;
|
|
21
|
+
id: string;
|
|
22
|
+
subtitle: string;
|
|
23
|
+
href: string;
|
|
24
|
+
elevation: "none" | "low" | "medium" | "high";
|
|
25
|
+
width: import('./types').QCardWidth;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=QCard.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCard/QCard.vue"],"names":[],"mappings":"AAsIC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAiE1C,iBAAS,cAAc;;wBAwGM,GAAG;kCACO,GAAG;0CACK,GAAG;uBACtB,GAAG;0BACA,GAAG;yCACY,GAAG;iCACX,GAAG;yBACX,GAAG;wBACJ,GAAG;;;WASlB,OAAO,IAA6B;EAEjD;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;6EAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|