@quidgest/ui 0.6.2 → 0.7.1
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/index.d.ts +877 -155
- package/dist/ui.css +91 -27
- package/dist/ui.esm.js +1143 -781
- package/dist/ui.esm.js.map +1 -1
- package/dist/ui.js +4 -4
- package/dist/ui.js.map +1 -1
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +180 -144
- package/dist/ui.min.js.map +1 -1
- package/dist/ui.scss +122 -39
- package/package.json +2 -2
package/dist/ui.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quidgest Framework v0.
|
|
2
|
+
* Quidgest Framework v0.7.1
|
|
3
3
|
* (c) 2023 Quidgest - Consultores de Gestão, SA
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -181,7 +181,7 @@ $font-weight-regular: 400;
|
|
|
181
181
|
$font-weight-italic: 400;
|
|
182
182
|
$font-weight-bold: 700;
|
|
183
183
|
$font-weight-black: 900;
|
|
184
|
-
$border: #
|
|
184
|
+
$border: #c4c5ca !default;
|
|
185
185
|
$outline-width: 2px !default;
|
|
186
186
|
$outline-style: solid !default;
|
|
187
187
|
$outline-color: rgb(var(--q-theme-primary-rgb) / 0.25) !default;
|
|
@@ -194,23 +194,24 @@ $outline: $outline-width $outline-style $outline-color;
|
|
|
194
194
|
}
|
|
195
195
|
body {
|
|
196
196
|
font-size: $font-size-base;
|
|
197
|
-
}
|
|
198
|
-
* {
|
|
199
197
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
198
|
+
* {
|
|
199
|
+
|
|
200
|
+
&::-webkit-scrollbar {
|
|
201
|
+
width: 7px;
|
|
202
|
+
}
|
|
203
|
+
&::-webkit-scrollbar-thumb {
|
|
204
|
+
background-color: #ccc;
|
|
205
|
+
border-radius: $border-radius;
|
|
206
|
+
}
|
|
207
|
+
&::-webkit-scrollbar-track {
|
|
208
|
+
background-color: #f1f1f1;
|
|
209
|
+
border-radius: $border-radius;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
scrollbar-color: #ccc #f1f1f1;
|
|
213
|
+
scrollbar-width: thin;
|
|
210
214
|
}
|
|
211
|
-
|
|
212
|
-
scrollbar-color: #ccc #f1f1f1;
|
|
213
|
-
scrollbar-width: thin;
|
|
214
215
|
}
|
|
215
216
|
.fade-enter-from,
|
|
216
217
|
.fade-leave-to {
|
|
@@ -411,37 +412,44 @@ $btn-outline: var(--q-theme-primary-light);
|
|
|
411
412
|
}
|
|
412
413
|
}
|
|
413
414
|
}
|
|
415
|
+
.q-combobox__clear {
|
|
416
|
+
opacity: 0.5;
|
|
417
|
+
&:hover {
|
|
418
|
+
opacity: 1;
|
|
419
|
+
cursor: pointer;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
414
422
|
$input-padding-y: 0.26rem;
|
|
415
423
|
$input-padding-x: 0.25rem;
|
|
416
424
|
$input-height: 31.89px;
|
|
417
425
|
.q-field {
|
|
426
|
+
$this: &;
|
|
418
427
|
display: flex;
|
|
419
428
|
flex-direction: column;
|
|
420
429
|
border-radius: $border-radius;
|
|
421
|
-
|
|
422
|
-
outline: $outline;
|
|
423
|
-
}
|
|
430
|
+
width: fit-content;
|
|
424
431
|
&__label {
|
|
432
|
+
display: flex;
|
|
433
|
+
gap: $space-base;
|
|
434
|
+
align-items: center;
|
|
425
435
|
color: rgb(var(--q-theme-on-background-rgb) / 0.8);
|
|
426
436
|
line-height: 1.5;
|
|
427
|
-
&[data-val-required='true']::after {
|
|
428
|
-
content: ' *';
|
|
429
|
-
font-weight: 700;
|
|
430
|
-
color: var(--q-theme-danger);
|
|
431
|
-
}
|
|
432
437
|
}
|
|
433
438
|
&__control {
|
|
434
439
|
display: flex;
|
|
435
440
|
align-items: center;
|
|
436
441
|
height: $input-height;
|
|
437
442
|
width: 100%;
|
|
438
|
-
border-radius:
|
|
443
|
+
border-radius: inherit;
|
|
439
444
|
border-width: 1px;
|
|
440
445
|
background-color: transparent;
|
|
441
446
|
padding: $input-padding-y $input-padding-x;
|
|
442
447
|
font-size: 0.9rem;
|
|
443
448
|
line-height: 1.5rem;
|
|
444
449
|
transition: color var(--transition-duration) var(--transition-timing-function);
|
|
450
|
+
&:focus-within {
|
|
451
|
+
outline: $outline;
|
|
452
|
+
}
|
|
445
453
|
}
|
|
446
454
|
&__prepend,
|
|
447
455
|
&__append {
|
|
@@ -452,31 +460,54 @@ $input-height: 31.89px;
|
|
|
452
460
|
margin-left: auto;
|
|
453
461
|
}
|
|
454
462
|
|
|
463
|
+
&--required {
|
|
464
|
+
> #{$this}__label label::after {
|
|
465
|
+
content: ' *';
|
|
466
|
+
font-weight: 700;
|
|
467
|
+
color: var(--q-theme-danger);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
455
470
|
&--readonly {
|
|
456
|
-
|
|
471
|
+
#{$this}__control {
|
|
472
|
+
background-color: #eaebec;
|
|
473
|
+
}
|
|
457
474
|
}
|
|
458
475
|
&--disabled {
|
|
459
|
-
|
|
460
|
-
|
|
476
|
+
#{$this}__control {
|
|
477
|
+
cursor: not-allowed;
|
|
478
|
+
opacity: 0.5;
|
|
479
|
+
}
|
|
461
480
|
}
|
|
462
481
|
|
|
463
482
|
&--mini {
|
|
464
|
-
|
|
483
|
+
#{$this}__control {
|
|
484
|
+
width: 4.35rem;
|
|
485
|
+
}
|
|
465
486
|
}
|
|
466
487
|
&--small {
|
|
467
|
-
|
|
488
|
+
#{$this}__control {
|
|
489
|
+
width: 6.525rem;
|
|
490
|
+
}
|
|
468
491
|
}
|
|
469
492
|
&--medium {
|
|
470
|
-
|
|
493
|
+
#{$this}__control {
|
|
494
|
+
width: 10.875rem;
|
|
495
|
+
}
|
|
471
496
|
}
|
|
472
497
|
&--large {
|
|
473
|
-
|
|
498
|
+
#{$this}__control {
|
|
499
|
+
width: 15.225rem;
|
|
500
|
+
}
|
|
474
501
|
}
|
|
475
502
|
&--x-large {
|
|
476
|
-
|
|
503
|
+
#{$this}__control {
|
|
504
|
+
width: 19.575rem;
|
|
505
|
+
}
|
|
477
506
|
}
|
|
478
507
|
&--xx-large {
|
|
479
|
-
|
|
508
|
+
#{$this}__control {
|
|
509
|
+
width: 36.975rem;
|
|
510
|
+
}
|
|
480
511
|
}
|
|
481
512
|
&--block {
|
|
482
513
|
width: 100%;
|
|
@@ -493,6 +524,61 @@ $input-height: 31.89px;
|
|
|
493
524
|
height: 1em;
|
|
494
525
|
}
|
|
495
526
|
}
|
|
527
|
+
.q-input-group {
|
|
528
|
+
display: flex;
|
|
529
|
+
align-items: flex-end;
|
|
530
|
+
&__prepend > :first-child {
|
|
531
|
+
border-top-left-radius: $border-radius;
|
|
532
|
+
border-bottom-left-radius: $border-radius;
|
|
533
|
+
}
|
|
534
|
+
&__append > :last-child {
|
|
535
|
+
border-top-right-radius: $border-radius;
|
|
536
|
+
border-bottom-right-radius: $border-radius;
|
|
537
|
+
}
|
|
538
|
+
&__prepend,
|
|
539
|
+
&__append {
|
|
540
|
+
display: flex;
|
|
541
|
+
align-items: flex-end;
|
|
542
|
+
height: $input-height;
|
|
543
|
+
.q-btn {
|
|
544
|
+
justify-content: center;
|
|
545
|
+
}
|
|
546
|
+
> * {
|
|
547
|
+
border-radius: 0;
|
|
548
|
+
min-width: 40px;
|
|
549
|
+
height: $input-height;
|
|
550
|
+
}
|
|
551
|
+
> * + * {
|
|
552
|
+
margin-left: -1px;
|
|
553
|
+
}
|
|
554
|
+
> span {
|
|
555
|
+
display: flex;
|
|
556
|
+
align-items: center;
|
|
557
|
+
justify-content: center;
|
|
558
|
+
text-align: center;
|
|
559
|
+
padding: 0.25rem 0.5rem;
|
|
560
|
+
font-size: $font-size-base;
|
|
561
|
+
border-width: 1px;
|
|
562
|
+
background-color: rgb(var(--q-theme-on-background-rgb) / 0.1);
|
|
563
|
+
color: var(--q-theme-primary);
|
|
564
|
+
white-space: nowrap;
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
> * {
|
|
568
|
+
border-radius: 0;
|
|
569
|
+
}
|
|
570
|
+
> :first-child {
|
|
571
|
+
border-top-left-radius: $border-radius;
|
|
572
|
+
border-bottom-left-radius: $border-radius;
|
|
573
|
+
}
|
|
574
|
+
> :last-child {
|
|
575
|
+
border-top-right-radius: $border-radius;
|
|
576
|
+
border-bottom-right-radius: $border-radius;
|
|
577
|
+
}
|
|
578
|
+
> * + * {
|
|
579
|
+
margin-left: -1px;
|
|
580
|
+
}
|
|
581
|
+
}
|
|
496
582
|
$line-color: var(--q-theme-primary);
|
|
497
583
|
.q-line-loader {
|
|
498
584
|
width: 100%;
|
|
@@ -540,9 +626,6 @@ $line-color: var(--q-theme-primary);
|
|
|
540
626
|
-webkit-overflow-scrolling: touch;
|
|
541
627
|
width: 100%;
|
|
542
628
|
border-radius: $border-radius;
|
|
543
|
-
&:focus-visible {
|
|
544
|
-
outline: $outline;
|
|
545
|
-
}
|
|
546
629
|
}
|
|
547
630
|
.q-list-item-group {
|
|
548
631
|
display: flex;
|
|
@@ -910,7 +993,7 @@ $spinner-color: var(--q-theme-primary);
|
|
|
910
993
|
.q-text-field__counter {
|
|
911
994
|
display: flex;
|
|
912
995
|
margin-top: 0.1rem;
|
|
913
|
-
justify-content: end;
|
|
996
|
+
justify-content: flex-end;
|
|
914
997
|
color: rgb(var(--q-theme-on-background-rgb) / 0.5);
|
|
915
998
|
}
|
|
916
999
|
.q-tooltip .q-overlay__content {
|
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.
|
|
5
|
+
"version": "0.7.1",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Quidgest"
|
|
8
8
|
},
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"stylelint": "^15.11.0",
|
|
85
85
|
"stylelint-config-sass-guidelines": "^10.0.0",
|
|
86
86
|
"typescript": "^5.2.2",
|
|
87
|
-
"vite": "^4.
|
|
87
|
+
"vite": "^4.5.0",
|
|
88
88
|
"vite-plugin-dts": "^3.6.3",
|
|
89
89
|
"vitest": "^0.34.6",
|
|
90
90
|
"vue-eslint-parser": "^9.3.1"
|