@quidgest/ui 0.6.1 → 0.7.0
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 +89 -28
- package/dist/ui.esm.js +1140 -779
- 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 -40
- 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.0
|
|
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,34 +460,59 @@ $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
|
+
#{$this}__control {
|
|
514
|
+
width: 100%;
|
|
515
|
+
}
|
|
483
516
|
}
|
|
484
517
|
}
|
|
485
518
|
.q-icon {
|
|
@@ -493,6 +526,58 @@ $input-height: 31.89px;
|
|
|
493
526
|
height: 1em;
|
|
494
527
|
}
|
|
495
528
|
}
|
|
529
|
+
.q-input-group {
|
|
530
|
+
display: flex;
|
|
531
|
+
align-items: flex-end;
|
|
532
|
+
&__prepend > :first-child {
|
|
533
|
+
border-top-left-radius: $border-radius;
|
|
534
|
+
border-bottom-left-radius: $border-radius;
|
|
535
|
+
}
|
|
536
|
+
&__append > :last-child {
|
|
537
|
+
border-top-right-radius: $border-radius;
|
|
538
|
+
border-bottom-right-radius: $border-radius;
|
|
539
|
+
}
|
|
540
|
+
&__prepend,
|
|
541
|
+
&__append {
|
|
542
|
+
display: flex;
|
|
543
|
+
align-items: flex-end;
|
|
544
|
+
height: $input-height;
|
|
545
|
+
.q-btn {
|
|
546
|
+
justify-content: center;
|
|
547
|
+
}
|
|
548
|
+
> * {
|
|
549
|
+
border-radius: 0;
|
|
550
|
+
min-width: 40px;
|
|
551
|
+
height: $input-height;
|
|
552
|
+
}
|
|
553
|
+
> span {
|
|
554
|
+
display: flex;
|
|
555
|
+
align-items: center;
|
|
556
|
+
justify-content: center;
|
|
557
|
+
text-align: center;
|
|
558
|
+
padding: 0.25rem 0.5rem;
|
|
559
|
+
font-size: $font-size-base;
|
|
560
|
+
border-width: 1px;
|
|
561
|
+
background-color: rgb(var(--q-theme-on-background-rgb) / 0.1);
|
|
562
|
+
color: var(--q-theme-primary);
|
|
563
|
+
white-space: nowrap;
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
> * {
|
|
567
|
+
border-radius: 0;
|
|
568
|
+
}
|
|
569
|
+
> :first-child {
|
|
570
|
+
border-top-left-radius: $border-radius;
|
|
571
|
+
border-bottom-left-radius: $border-radius;
|
|
572
|
+
}
|
|
573
|
+
> :last-child {
|
|
574
|
+
border-top-right-radius: $border-radius;
|
|
575
|
+
border-bottom-right-radius: $border-radius;
|
|
576
|
+
}
|
|
577
|
+
> * + * {
|
|
578
|
+
margin-left: -1px;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
496
581
|
$line-color: var(--q-theme-primary);
|
|
497
582
|
.q-line-loader {
|
|
498
583
|
width: 100%;
|
|
@@ -540,9 +625,6 @@ $line-color: var(--q-theme-primary);
|
|
|
540
625
|
-webkit-overflow-scrolling: touch;
|
|
541
626
|
width: 100%;
|
|
542
627
|
border-radius: $border-radius;
|
|
543
|
-
&:focus-visible {
|
|
544
|
-
outline: $outline;
|
|
545
|
-
}
|
|
546
628
|
}
|
|
547
629
|
.q-list-item-group {
|
|
548
630
|
display: flex;
|
|
@@ -910,7 +992,7 @@ $spinner-color: var(--q-theme-primary);
|
|
|
910
992
|
.q-text-field__counter {
|
|
911
993
|
display: flex;
|
|
912
994
|
margin-top: 0.1rem;
|
|
913
|
-
justify-content: end;
|
|
995
|
+
justify-content: flex-end;
|
|
914
996
|
color: rgb(var(--q-theme-on-background-rgb) / 0.5);
|
|
915
997
|
}
|
|
916
998
|
.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.0",
|
|
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"
|