@quidgest/ui 0.8.3 → 0.8.5

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
@@ -703,6 +703,7 @@ declare const _default_15: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_With
703
703
  width: string;
704
704
  class: undefined;
705
705
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
706
+ "update:modelValue": (value: boolean) => void;
706
707
  enter: () => void;
707
708
  leave: () => void;
708
709
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_15<QOverlayProps>, {
@@ -717,6 +718,7 @@ declare const _default_15: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_With
717
718
  width: string;
718
719
  class: undefined;
719
720
  }>>> & {
721
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
720
722
  onEnter?: (() => any) | undefined;
721
723
  onLeave?: (() => any) | undefined;
722
724
  }, {
@@ -888,6 +890,11 @@ declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_With
888
890
  * Property on each item that contains its title.
889
891
  */
890
892
  itemLabel?: string | undefined;
893
+ /**
894
+ * The value to be used in comparisons,
895
+ * used to check if the field has a selected item.
896
+ */
897
+ emptyValue?: Primitive | undefined;
891
898
  /**
892
899
  * The size category of the input.
893
900
  */
@@ -910,6 +917,7 @@ declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_With
910
917
  groups: () => never[];
911
918
  itemValue: string;
912
919
  itemLabel: string;
920
+ emptyValue: undefined;
913
921
  size: undefined;
914
922
  texts: () => {
915
923
  placeholder: string;
@@ -979,6 +987,11 @@ declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_With
979
987
  * Property on each item that contains its title.
980
988
  */
981
989
  itemLabel?: string | undefined;
990
+ /**
991
+ * The value to be used in comparisons,
992
+ * used to check if the field has a selected item.
993
+ */
994
+ emptyValue?: Primitive | undefined;
982
995
  /**
983
996
  * The size category of the input.
984
997
  */
@@ -1001,6 +1014,7 @@ declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_With
1001
1014
  groups: () => never[];
1002
1015
  itemValue: string;
1003
1016
  itemLabel: string;
1017
+ emptyValue: undefined;
1004
1018
  size: undefined;
1005
1019
  texts: () => {
1006
1020
  placeholder: string;
@@ -1017,16 +1031,15 @@ declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_With
1017
1031
  class: string | unknown[];
1018
1032
  label: string;
1019
1033
  modelValue: Primitive;
1020
- icons: Record<string, Icon>;
1034
+ icons: Icons_3;
1021
1035
  groups: (QListItemGroupProps & {
1022
1036
  id: string;
1023
1037
  })[];
1024
1038
  itemValue: string;
1025
1039
  itemLabel: string;
1026
1040
  id: string;
1027
- texts: {
1028
- placeholder: string;
1029
- };
1041
+ emptyValue: Primitive;
1042
+ texts: Texts_2;
1030
1043
  }, {}>, {
1031
1044
  prepend?(_: {}): any;
1032
1045
  append?(_: {}): any;
@@ -1274,6 +1287,7 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
1274
1287
  groups: () => never[];
1275
1288
  itemValue: string;
1276
1289
  itemLabel: string;
1290
+ emptyValue: undefined;
1277
1291
  size: undefined;
1278
1292
  texts: () => {
1279
1293
  noData: string;
@@ -1530,6 +1544,7 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
1530
1544
  groups: () => never[];
1531
1545
  itemValue: string;
1532
1546
  itemLabel: string;
1547
+ emptyValue: undefined;
1533
1548
  size: undefined;
1534
1549
  texts: () => {
1535
1550
  noData: string;
@@ -1558,6 +1573,7 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
1558
1573
  placeholder: string;
1559
1574
  selectionMode: "manual" | "automatic";
1560
1575
  filterMode: "manual" | "builtin";
1576
+ emptyValue: Primitive;
1561
1577
  texts: {
1562
1578
  noData: string;
1563
1579
  };
@@ -1721,10 +1737,16 @@ declare const DEFAULT_ICONS: Record<string, Icon>;
1721
1737
 
1722
1738
  declare const DEFAULT_ICONS_2: Record<string, Icon>;
1723
1739
 
1740
+ declare const DEFAULT_ICONS_3: Record<string, Icon>;
1741
+
1724
1742
  declare const DEFAULT_TEXTS: {
1725
1743
  noData: string;
1726
1744
  };
1727
1745
 
1746
+ declare const DEFAULT_TEXTS_2: {
1747
+ placeholder: string;
1748
+ };
1749
+
1728
1750
  export declare const defaultDarkColorScheme: ColorScheme;
1729
1751
 
1730
1752
  export declare const defaultLightColorScheme: ColorScheme;
@@ -1804,6 +1826,8 @@ declare type Icons = typeof DEFAULT_ICONS;
1804
1826
 
1805
1827
  declare type Icons_2 = typeof DEFAULT_ICONS_2;
1806
1828
 
1829
+ declare type Icons_3 = typeof DEFAULT_ICONS_3;
1830
+
1807
1831
  export declare type IQButton = InstanceType<typeof _default>;
1808
1832
 
1809
1833
  export declare type IQButtonGroup = InstanceType<typeof _default_2>;
@@ -2040,6 +2064,11 @@ declare type QComboboxProps = {
2040
2064
  * Property on each item that contains its title.
2041
2065
  */
2042
2066
  itemLabel?: string;
2067
+ /**
2068
+ * The value to be used in comparisons,
2069
+ * used to check if the field has a selected item.
2070
+ */
2071
+ emptyValue?: Primitive;
2043
2072
  /**
2044
2073
  * The size category of the field.
2045
2074
  */
@@ -2409,6 +2438,8 @@ declare type Selector = string | HTMLElement | ComponentPublicInstance;
2409
2438
 
2410
2439
  declare type Texts = typeof DEFAULT_TEXTS;
2411
2440
 
2441
+ declare type Texts_2 = typeof DEFAULT_TEXTS_2;
2442
+
2412
2443
  declare type ThemeDefinition = {
2413
2444
  name: string;
2414
2445
  mode: ThemeMode;
package/dist/ui.css CHANGED
@@ -366,7 +366,7 @@ body *::-webkit-scrollbar-track {
366
366
  .q-btn:disabled {
367
367
  opacity: 0.6;
368
368
  }
369
- .q-btn--loading {
369
+ .q-btn--loading:hover {
370
370
  cursor: not-allowed;
371
371
  }
372
372
  .q-btn--loading span {
@@ -426,13 +426,29 @@ body *::-webkit-scrollbar-track {
426
426
  z-index: 3;
427
427
  }
428
428
 
429
- .q-combobox__clear {
430
- opacity: 0.5;
431
- }
432
- .q-combobox__clear:hover, .q-combobox__clear:focus {
429
+ .q-combobox:not(.q-combobox--disabled) .q-combobox__clear:hover, .q-combobox:not(.q-combobox--disabled) .q-combobox__clear:focus,
430
+ .q-combobox:not(.q-combobox--disabled) .q-combobox__chevron:hover,
431
+ .q-combobox:not(.q-combobox--disabled) .q-combobox__chevron:focus {
433
432
  cursor: pointer;
434
433
  opacity: 1;
435
434
  }
435
+ .q-combobox--expanded .q-combobox__chevron svg {
436
+ transform: rotate(-180deg);
437
+ }
438
+
439
+ .q-combobox__clear,
440
+ .q-combobox__chevron {
441
+ padding: 0.1rem;
442
+ opacity: 0.5;
443
+ }
444
+ .q-combobox__clear:hover,
445
+ .q-combobox__chevron:hover {
446
+ cursor: inherit;
447
+ }
448
+
449
+ .q-combobox__chevron svg {
450
+ transition: all 0.2s;
451
+ }
436
452
 
437
453
  .q-field {
438
454
  display: flex;
@@ -484,9 +500,11 @@ body *::-webkit-scrollbar-track {
484
500
  background-color: rgb(var(--q-theme-neutral-light-rgb)/0.25);
485
501
  }
486
502
  .q-field--disabled > .q-field__control {
487
- cursor: not-allowed;
488
503
  opacity: 0.5;
489
504
  }
505
+ .q-field--disabled > .q-field__control:hover {
506
+ cursor: not-allowed;
507
+ }
490
508
  .q-field:not(.q-field--disabled) .q-field__control:focus-within {
491
509
  outline: 2px solid rgb(var(--q-theme-info-rgb)/0.5);
492
510
  }
@@ -659,17 +677,21 @@ body *::-webkit-scrollbar-track {
659
677
  word-wrap: break-word;
660
678
  -webkit-touch-callout: none;
661
679
  width: inherit;
662
- cursor: pointer;
663
680
  border-radius: 0.25rem;
664
681
  outline: none;
665
682
  }
683
+ .q-list-item:hover {
684
+ cursor: pointer;
685
+ }
686
+ .q-list-item:hover, .q-list-item:focus-visible, .q-list-item--highlighted {
687
+ background-color: rgb(var(--q-theme-primary-light-rgb)/0.5);
688
+ }
666
689
  .q-list-item--disabled {
667
- cursor: not-allowed;
668
690
  pointer-events: none;
669
691
  opacity: 0.5;
670
692
  }
671
- .q-list-item:hover, .q-list-item:focus-visible, .q-list-item--highlighted {
672
- background-color: rgb(var(--q-theme-primary-light-rgb)/0.5);
693
+ .q-list-item--disabled:hover {
694
+ cursor: not-allowed;
673
695
  }
674
696
  .q-list-item--selected {
675
697
  background-color: var(--q-theme-primary-light) !important;
@@ -851,7 +873,7 @@ body *::-webkit-scrollbar-track {
851
873
  font-style: italic;
852
874
  color: var(--q-theme-neutral);
853
875
  }
854
- .q-select--expanded .q-select__chevron {
876
+ .q-select--expanded .q-select__chevron svg {
855
877
  transform: rotate(-180deg);
856
878
  }
857
879
  .q-select .q-field__prepend {
@@ -861,10 +883,15 @@ body *::-webkit-scrollbar-track {
861
883
 
862
884
  .q-select__clear,
863
885
  .q-select__chevron {
886
+ padding: 0.1rem;
864
887
  opacity: 0.5;
865
888
  }
889
+ .q-select__clear:hover,
890
+ .q-select__chevron:hover {
891
+ cursor: inherit;
892
+ }
866
893
 
867
- .q-select__chevron {
894
+ .q-select__chevron svg {
868
895
  transition: all 0.2s;
869
896
  }
870
897
 
@@ -969,7 +996,6 @@ body *::-webkit-scrollbar-track {
969
996
  outline: none;
970
997
  color: inherit;
971
998
  background-color: transparent;
972
- cursor: inherit;
973
999
  padding: 0;
974
1000
  }
975
1001
  .q-text-field__input::-moz-placeholder {
@@ -985,6 +1011,9 @@ body *::-webkit-scrollbar-track {
985
1011
  -moz-user-select: none;
986
1012
  user-select: none;
987
1013
  }
1014
+ .q-text-field__input:hover {
1015
+ cursor: inherit;
1016
+ }
988
1017
 
989
1018
  .q-theme-provider {
990
1019
  color: var(--q-theme-on-background);