@quidgest/ui 0.7.5 → 0.7.7

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
@@ -540,7 +540,7 @@ declare const _default_10: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_WithD
540
540
  appendIcon: undefined;
541
541
  size: string;
542
542
  }>>>, {
543
- size: "block" | "fit-content";
543
+ size: QFieldSize;
544
544
  label: string;
545
545
  id: string;
546
546
  prependIcon: Icon;
@@ -1105,6 +1105,7 @@ declare const _default_19: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_With
1105
1105
  size: undefined;
1106
1106
  maxLength: undefined;
1107
1107
  role: undefined;
1108
+ type: string;
1108
1109
  }>, {
1109
1110
  fieldRef: ComputedRef<HTMLElement | null | undefined>;
1110
1111
  inputRef: Ref<HTMLElement | null>;
@@ -1118,10 +1119,12 @@ declare const _default_19: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_With
1118
1119
  size: undefined;
1119
1120
  maxLength: undefined;
1120
1121
  role: undefined;
1122
+ type: string;
1121
1123
  }>>> & {
1122
1124
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1123
1125
  }, {
1124
1126
  size: QFieldSize;
1127
+ type: string;
1125
1128
  label: string;
1126
1129
  modelValue: string;
1127
1130
  role: string;
@@ -1786,7 +1789,7 @@ export declare type QFieldProps = {
1786
1789
  required?: boolean;
1787
1790
  };
1788
1791
 
1789
- export declare type QFieldSize = 'mini' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'block' | 'fit-content';
1792
+ export declare type QFieldSize = 'mini' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'block';
1790
1793
 
1791
1794
  export declare const QIcon: IQIcon;
1792
1795
 
@@ -1823,15 +1826,15 @@ declare type QInputGroupProps = {
1823
1826
  */
1824
1827
  id?: string;
1825
1828
  /**
1826
- * The label of the input.
1829
+ * The label of the field.
1827
1830
  */
1828
1831
  label?: string;
1829
1832
  /**
1830
- * Whether the input is readonly.
1833
+ * Whether the field is readonly.
1831
1834
  */
1832
1835
  readonly?: boolean;
1833
1836
  /**
1834
- * Whether the input is disabled.
1837
+ * Whether the field is disabled.
1835
1838
  */
1836
1839
  disabled?: boolean;
1837
1840
  /**
@@ -1840,17 +1843,17 @@ declare type QInputGroupProps = {
1840
1843
  */
1841
1844
  required?: boolean;
1842
1845
  /**
1843
- * An icon to add at the start of the input group.
1846
+ * An icon to add at the start of the field group.
1844
1847
  */
1845
1848
  prependIcon?: Icon;
1846
1849
  /**
1847
- * An icon to add at the end of the input group.
1850
+ * An icon to add at the end of the field group.
1848
1851
  */
1849
1852
  appendIcon?: Icon;
1850
1853
  /**
1851
- * Specifies the size of the input group, either 'fit-content' or 'block'.
1854
+ * The size category of the field.
1852
1855
  */
1853
- size?: 'fit-content' | 'block';
1856
+ size?: QFieldSize;
1854
1857
  };
1855
1858
 
1856
1859
  export declare const QLineLoader: IQLineLoader;
@@ -1991,6 +1994,10 @@ declare type QTextFieldProps = {
1991
1994
  * The role attribute to apply to the input.
1992
1995
  */
1993
1996
  role?: string;
1997
+ /**
1998
+ * The type attribute to apply to the input.
1999
+ */
2000
+ type?: string;
1994
2001
  };
1995
2002
 
1996
2003
  export declare const QTooltip: IQTooltip;
package/dist/ui.css CHANGED
@@ -289,7 +289,7 @@ body *::-webkit-scrollbar-track {
289
289
  cursor: pointer;
290
290
  }
291
291
  .q-btn:focus {
292
- outline: 2px solid rgb(var(--q-theme-primary-rgb)/0.25);
292
+ outline: 2px solid rgb(var(--q-theme-info-rgb)/0.5);
293
293
  z-index: 3;
294
294
  }
295
295
  .q-btn:focus:not(:focus-visible) {
@@ -460,7 +460,7 @@ body *::-webkit-scrollbar-track {
460
460
  transition: color var(--transition-duration) var(--transition-timing-function);
461
461
  }
462
462
  .q-field__control:focus-within {
463
- outline: 2px solid rgb(var(--q-theme-primary-rgb)/0.25);
463
+ outline: 2px solid rgb(var(--q-theme-info-rgb)/0.5);
464
464
  }
465
465
  .q-field__extras {
466
466
  display: flex;
@@ -488,27 +488,23 @@ body *::-webkit-scrollbar-track {
488
488
  cursor: not-allowed;
489
489
  opacity: 0.5;
490
490
  }
491
- .q-field--fit-content > .q-field__control {
492
- width: -moz-fit-content;
493
- width: fit-content;
494
- }
495
491
  .q-field--mini > .q-field__control {
496
- width: 4.35rem;
492
+ width: calc(1 * 5em + 0 * 0.25rem);
497
493
  }
498
494
  .q-field--small > .q-field__control {
499
- width: 6.525rem;
495
+ width: calc(2 * 5em + 1 * 0.25rem);
500
496
  }
501
497
  .q-field--medium > .q-field__control {
502
- width: 10.875rem;
498
+ width: calc(3 * 5em + 2 * 0.25rem);
503
499
  }
504
500
  .q-field--large > .q-field__control {
505
- width: 15.225rem;
501
+ width: calc(4 * 5em + 3 * 0.25rem);
506
502
  }
507
- .q-field--x-large > .q-field__control {
508
- width: 19.575rem;
503
+ .q-field--xlarge > .q-field__control {
504
+ width: calc(6 * 5em + 5 * 0.25rem);
509
505
  }
510
- .q-field--xx-large > .q-field__control {
511
- width: 36.975rem;
506
+ .q-field--xxlarge > .q-field__control {
507
+ width: calc(8 * 5em + 7 * 0.25rem);
512
508
  }
513
509
  .q-field--block {
514
510
  width: 100%;
@@ -528,7 +524,12 @@ body *::-webkit-scrollbar-track {
528
524
  .q-input-group {
529
525
  display: flex;
530
526
  align-items: flex-end;
531
- width: 100%;
527
+ height: auto;
528
+ border-width: 0;
529
+ padding: 0;
530
+ }
531
+ .q-input-group:focus-within {
532
+ outline: none;
532
533
  }
533
534
  .q-input-group__prepend > :first-child {
534
535
  border-top-left-radius: 0.25rem;
@@ -954,6 +955,7 @@ body *::-webkit-scrollbar-track {
954
955
  outline: none;
955
956
  background-color: inherit;
956
957
  cursor: inherit;
958
+ padding: 0;
957
959
  }
958
960
  .q-text-field__input::-moz-placeholder {
959
961
  font-style: italic;