@quidgest/ui 0.7.15 → 0.7.17
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 +37 -10
- package/dist/ui.css +16 -6
- package/dist/ui.esm.js +771 -737
- 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 +35 -33
- package/dist/ui.min.js.map +1 -1
- package/dist/ui.scss +19 -10
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -450,6 +450,12 @@ declare type __VLS_WithTemplateSlots_13<T, S> = T & {
|
|
|
450
450
|
};
|
|
451
451
|
};
|
|
452
452
|
|
|
453
|
+
declare type __VLS_WithTemplateSlots_14<T, S> = T & {
|
|
454
|
+
new (): {
|
|
455
|
+
$slots: S;
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
|
|
453
459
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
454
460
|
new (): {
|
|
455
461
|
$slots: S;
|
|
@@ -668,6 +674,7 @@ declare const _default_14: __VLS_WithTemplateSlots_9<DefineComponent<__VLS_WithD
|
|
|
668
674
|
}>;
|
|
669
675
|
|
|
670
676
|
declare const _default_15: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_15<QOverlayProps>, {
|
|
677
|
+
anchor: undefined;
|
|
671
678
|
appearance: string;
|
|
672
679
|
attach: string;
|
|
673
680
|
delay: number;
|
|
@@ -681,6 +688,7 @@ declare const _default_15: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_With
|
|
|
681
688
|
enter: () => void;
|
|
682
689
|
leave: () => void;
|
|
683
690
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_15<QOverlayProps>, {
|
|
691
|
+
anchor: undefined;
|
|
684
692
|
appearance: string;
|
|
685
693
|
attach: string;
|
|
686
694
|
delay: number;
|
|
@@ -695,6 +703,7 @@ declare const _default_15: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_With
|
|
|
695
703
|
onLeave?: (() => any) | undefined;
|
|
696
704
|
}, {
|
|
697
705
|
class: string | unknown[];
|
|
706
|
+
anchor: Selector;
|
|
698
707
|
transition: string;
|
|
699
708
|
width: "anchor" | "auto";
|
|
700
709
|
appearance: Appearance;
|
|
@@ -704,9 +713,6 @@ declare const _default_15: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_With
|
|
|
704
713
|
placement: Placement;
|
|
705
714
|
trigger: Trigger;
|
|
706
715
|
}, {}>, {
|
|
707
|
-
trigger?(_: {
|
|
708
|
-
open: boolean;
|
|
709
|
-
}): any;
|
|
710
716
|
default?(_: {}): any;
|
|
711
717
|
}>;
|
|
712
718
|
|
|
@@ -888,7 +894,7 @@ declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_With
|
|
|
888
894
|
placeholder: string;
|
|
889
895
|
} | undefined;
|
|
890
896
|
/**
|
|
891
|
-
*
|
|
897
|
+
* Custom set of classes to apply to the component.
|
|
892
898
|
*/
|
|
893
899
|
class?: string | unknown[] | undefined;
|
|
894
900
|
}>, {
|
|
@@ -979,7 +985,7 @@ declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_With
|
|
|
979
985
|
placeholder: string;
|
|
980
986
|
} | undefined;
|
|
981
987
|
/**
|
|
982
|
-
*
|
|
988
|
+
* Custom set of classes to apply to the component.
|
|
983
989
|
*/
|
|
984
990
|
class?: string | unknown[] | undefined;
|
|
985
991
|
}>, {
|
|
@@ -997,10 +1003,10 @@ declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_With
|
|
|
997
1003
|
class: string;
|
|
998
1004
|
}>>> & {
|
|
999
1005
|
"onUpdate:modelValue"?: ((value: Primitive | undefined) => any) | undefined;
|
|
1006
|
+
onHide?: (() => any) | undefined;
|
|
1000
1007
|
"onBefore-show"?: (() => any) | undefined;
|
|
1001
1008
|
"onBefore-hide"?: (() => any) | undefined;
|
|
1002
1009
|
onShow?: (() => any) | undefined;
|
|
1003
|
-
onHide?: (() => any) | undefined;
|
|
1004
1010
|
}, {
|
|
1005
1011
|
size: QFieldSize;
|
|
1006
1012
|
class: string | unknown[];
|
|
@@ -1093,11 +1099,15 @@ declare const _default_2: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_WithDe
|
|
|
1093
1099
|
default?(_: {}): any;
|
|
1094
1100
|
}>;
|
|
1095
1101
|
|
|
1096
|
-
declare const _default_20: DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_20<{
|
|
1102
|
+
declare const _default_20: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_20<{
|
|
1097
1103
|
/**
|
|
1098
1104
|
* Determines whether the tooltip is open or not.
|
|
1099
1105
|
*/
|
|
1100
1106
|
modelValue?: boolean | undefined;
|
|
1107
|
+
/**
|
|
1108
|
+
* The tooltip unique identifier.
|
|
1109
|
+
*/
|
|
1110
|
+
id?: string | undefined;
|
|
1101
1111
|
/**
|
|
1102
1112
|
* The DOM element the tooltip should be anchored to.
|
|
1103
1113
|
*/
|
|
@@ -1146,6 +1156,7 @@ declare const _default_20: DefineComponent<__VLS_WithDefaults_18<__VLS_TypeProps
|
|
|
1146
1156
|
*/
|
|
1147
1157
|
class?: string | unknown[] | undefined;
|
|
1148
1158
|
}>, {
|
|
1159
|
+
id: () => string;
|
|
1149
1160
|
appearance: string;
|
|
1150
1161
|
arrow: boolean;
|
|
1151
1162
|
attach: string;
|
|
@@ -1159,6 +1170,10 @@ declare const _default_20: DefineComponent<__VLS_WithDefaults_18<__VLS_TypeProps
|
|
|
1159
1170
|
* Determines whether the tooltip is open or not.
|
|
1160
1171
|
*/
|
|
1161
1172
|
modelValue?: boolean | undefined;
|
|
1173
|
+
/**
|
|
1174
|
+
* The tooltip unique identifier.
|
|
1175
|
+
*/
|
|
1176
|
+
id?: string | undefined;
|
|
1162
1177
|
/**
|
|
1163
1178
|
* The DOM element the tooltip should be anchored to.
|
|
1164
1179
|
*/
|
|
@@ -1207,6 +1222,7 @@ declare const _default_20: DefineComponent<__VLS_WithDefaults_18<__VLS_TypeProps
|
|
|
1207
1222
|
*/
|
|
1208
1223
|
class?: string | unknown[] | undefined;
|
|
1209
1224
|
}>, {
|
|
1225
|
+
id: () => string;
|
|
1210
1226
|
appearance: string;
|
|
1211
1227
|
arrow: boolean;
|
|
1212
1228
|
attach: string;
|
|
@@ -1218,13 +1234,20 @@ declare const _default_20: DefineComponent<__VLS_WithDefaults_18<__VLS_TypeProps
|
|
|
1218
1234
|
}>>>, {
|
|
1219
1235
|
class: string | unknown[];
|
|
1220
1236
|
html: boolean;
|
|
1237
|
+
id: string;
|
|
1221
1238
|
appearance: Appearance;
|
|
1222
1239
|
arrow: boolean;
|
|
1223
1240
|
attach: string;
|
|
1224
1241
|
delay: number;
|
|
1225
1242
|
placement: Placement;
|
|
1226
1243
|
trigger: Trigger;
|
|
1227
|
-
}, {}
|
|
1244
|
+
}, {}>, {
|
|
1245
|
+
anchor?(_: {
|
|
1246
|
+
props: {
|
|
1247
|
+
'aria-describedby': string;
|
|
1248
|
+
};
|
|
1249
|
+
}): any;
|
|
1250
|
+
}>;
|
|
1228
1251
|
|
|
1229
1252
|
declare const _default_3: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_TypePropsToRuntimeProps_3<QButtonToggleProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1230
1253
|
"update:modelValue": (value: unknown) => void;
|
|
@@ -1506,11 +1529,11 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1506
1529
|
class: undefined;
|
|
1507
1530
|
}>>> & {
|
|
1508
1531
|
"onUpdate:modelValue"?: ((value: Primitive | undefined) => any) | undefined;
|
|
1532
|
+
onHide?: (() => any) | undefined;
|
|
1509
1533
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
1510
1534
|
"onBefore-show"?: (() => any) | undefined;
|
|
1511
1535
|
"onBefore-hide"?: (() => any) | undefined;
|
|
1512
1536
|
onShow?: (() => any) | undefined;
|
|
1513
|
-
onHide?: (() => any) | undefined;
|
|
1514
1537
|
}, {
|
|
1515
1538
|
size: QFieldSize;
|
|
1516
1539
|
class: string | unknown[];
|
|
@@ -2227,7 +2250,7 @@ declare type QOverlayProps = {
|
|
|
2227
2250
|
/**
|
|
2228
2251
|
* The DOM element the overlay should be anchored to.
|
|
2229
2252
|
*/
|
|
2230
|
-
anchor
|
|
2253
|
+
anchor?: Selector;
|
|
2231
2254
|
/**
|
|
2232
2255
|
* The appearance of the overlay.
|
|
2233
2256
|
* 'regular' uses body text color for background and body background color for text.
|
|
@@ -2243,6 +2266,10 @@ declare type QOverlayProps = {
|
|
|
2243
2266
|
* Defaults to the body of the document.
|
|
2244
2267
|
*/
|
|
2245
2268
|
attach?: string;
|
|
2269
|
+
/**
|
|
2270
|
+
* Applies a backdrop blur effect behind the overlay.
|
|
2271
|
+
*/
|
|
2272
|
+
backdropBlur?: boolean;
|
|
2246
2273
|
/**
|
|
2247
2274
|
* The delay in milliseconds before showing the overlay.
|
|
2248
2275
|
*/
|
package/dist/ui.css
CHANGED
|
@@ -449,14 +449,14 @@ body *::-webkit-scrollbar-track {
|
|
|
449
449
|
.q-field__control {
|
|
450
450
|
display: flex;
|
|
451
451
|
align-items: center;
|
|
452
|
-
height:
|
|
452
|
+
height: inherit;
|
|
453
453
|
width: 100%;
|
|
454
454
|
border-radius: inherit;
|
|
455
455
|
border-width: 1px;
|
|
456
456
|
background-color: transparent;
|
|
457
457
|
padding: 0.26rem 0.25rem;
|
|
458
458
|
font-size: 0.9rem;
|
|
459
|
-
line-height: 1.
|
|
459
|
+
line-height: 1.5;
|
|
460
460
|
transition: color var(--transition-duration) var(--transition-timing-function);
|
|
461
461
|
}
|
|
462
462
|
.q-field__control:focus-within {
|
|
@@ -532,7 +532,7 @@ body *::-webkit-scrollbar-track {
|
|
|
532
532
|
.q-input-group__prepend, .q-input-group__append {
|
|
533
533
|
display: flex;
|
|
534
534
|
align-items: flex-end;
|
|
535
|
-
height:
|
|
535
|
+
height: inherit;
|
|
536
536
|
}
|
|
537
537
|
.q-input-group__prepend > *, .q-input-group__append > * {
|
|
538
538
|
border-radius: 0;
|
|
@@ -545,7 +545,8 @@ body *::-webkit-scrollbar-track {
|
|
|
545
545
|
align-items: center;
|
|
546
546
|
justify-content: center;
|
|
547
547
|
text-align: center;
|
|
548
|
-
padding: 0.
|
|
548
|
+
padding: 0.26rem 0.25rem;
|
|
549
|
+
line-height: 1.5;
|
|
549
550
|
font-size: 0.9rem;
|
|
550
551
|
border-width: 1px;
|
|
551
552
|
background-color: rgb(var(--q-theme-on-background-rgb)/0.1);
|
|
@@ -557,7 +558,7 @@ body *::-webkit-scrollbar-track {
|
|
|
557
558
|
}
|
|
558
559
|
.q-input-group > .q-field__control {
|
|
559
560
|
display: flex;
|
|
560
|
-
align-items:
|
|
561
|
+
align-items: stretch;
|
|
561
562
|
height: auto;
|
|
562
563
|
border-width: 0;
|
|
563
564
|
padding: 0;
|
|
@@ -690,10 +691,18 @@ body *::-webkit-scrollbar-track {
|
|
|
690
691
|
.q-overlay {
|
|
691
692
|
--q-overlay-bg: var(--q-theme-background);
|
|
692
693
|
--q-overlay-color: var(--q-theme-on-background);
|
|
693
|
-
--q-overlay-border-color:
|
|
694
|
+
--q-overlay-border-color: #c4c5ca;
|
|
694
695
|
position: absolute;
|
|
695
696
|
z-index: 1070;
|
|
696
697
|
}
|
|
698
|
+
.q-overlay__underlay {
|
|
699
|
+
position: fixed;
|
|
700
|
+
inset: 0;
|
|
701
|
+
}
|
|
702
|
+
.q-overlay__underlay--blur {
|
|
703
|
+
-webkit-backdrop-filter: blur(2px);
|
|
704
|
+
backdrop-filter: blur(2px);
|
|
705
|
+
}
|
|
697
706
|
.q-overlay__content {
|
|
698
707
|
display: block;
|
|
699
708
|
position: relative;
|
|
@@ -705,6 +714,7 @@ body *::-webkit-scrollbar-track {
|
|
|
705
714
|
background-clip: padding-box;
|
|
706
715
|
border: 1px solid var(--q-overlay-border-color);
|
|
707
716
|
border-radius: 0.25rem;
|
|
717
|
+
outline: none;
|
|
708
718
|
box-shadow: 0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
|
709
719
|
}
|
|
710
720
|
.q-overlay__arrow {
|