@quidgest/ui 0.7.14 → 0.7.16

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 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
- * TODO.
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
- * TODO.
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: Selector;
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
@@ -521,16 +521,6 @@ body *::-webkit-scrollbar-track {
521
521
  height: 1em;
522
522
  }
523
523
 
524
- .q-input-group {
525
- display: flex;
526
- align-items: flex-end;
527
- height: auto;
528
- border-width: 0;
529
- padding: 0;
530
- }
531
- .q-input-group:focus-within {
532
- outline: none;
533
- }
534
524
  .q-input-group__prepend > :first-child {
535
525
  border-top-left-radius: 0.25rem;
536
526
  border-bottom-left-radius: 0.25rem;
@@ -565,18 +555,28 @@ body *::-webkit-scrollbar-track {
565
555
  .q-input-group__prepend > * + *, .q-input-group__append > * + * {
566
556
  margin-left: -1px;
567
557
  }
568
- .q-input-group > * {
558
+ .q-input-group > .q-field__control {
559
+ display: flex;
560
+ align-items: flex-end;
561
+ height: auto;
562
+ border-width: 0;
563
+ padding: 0;
564
+ }
565
+ .q-input-group > .q-field__control:focus-within {
566
+ outline: none;
567
+ }
568
+ .q-input-group > .q-field__control > * {
569
569
  border-radius: 0;
570
570
  }
571
- .q-input-group > :first-child {
571
+ .q-input-group > .q-field__control > :first-child {
572
572
  border-top-left-radius: 0.25rem;
573
573
  border-bottom-left-radius: 0.25rem;
574
574
  }
575
- .q-input-group > :last-child {
575
+ .q-input-group > .q-field__control > :last-child {
576
576
  border-top-right-radius: 0.25rem;
577
577
  border-bottom-right-radius: 0.25rem;
578
578
  }
579
- .q-input-group > * + * {
579
+ .q-input-group > .q-field__control > * + * {
580
580
  margin-left: -1px;
581
581
  }
582
582
 
@@ -690,10 +690,18 @@ body *::-webkit-scrollbar-track {
690
690
  .q-overlay {
691
691
  --q-overlay-bg: var(--q-theme-background);
692
692
  --q-overlay-color: var(--q-theme-on-background);
693
- --q-overlay-border-color: rgb(var(--q-theme-on-background-rgb) / 0.1);
693
+ --q-overlay-border-color: #c4c5ca;
694
694
  position: absolute;
695
695
  z-index: 1070;
696
696
  }
697
+ .q-overlay__underlay {
698
+ position: fixed;
699
+ inset: 0;
700
+ }
701
+ .q-overlay__underlay--blur {
702
+ -webkit-backdrop-filter: blur(2px);
703
+ backdrop-filter: blur(2px);
704
+ }
697
705
  .q-overlay__content {
698
706
  display: block;
699
707
  position: relative;
@@ -705,6 +713,7 @@ body *::-webkit-scrollbar-track {
705
713
  background-clip: padding-box;
706
714
  border: 1px solid var(--q-overlay-border-color);
707
715
  border-radius: 0.25rem;
716
+ outline: none;
708
717
  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
718
  }
710
719
  .q-overlay__arrow {