@quidgest/ui 0.7.23 → 0.8.1
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 +94 -61
- package/dist/ui.css +75 -68
- package/dist/ui.esm.js +991 -1012
- package/dist/ui.esm.js.map +1 -1
- package/dist/ui.js +5 -4
- package/dist/ui.js.map +1 -1
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +99 -110
- package/dist/ui.min.js.map +1 -1
- package/dist/ui.scss +107 -98
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -46,6 +46,8 @@ declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
|
46
46
|
|
|
47
47
|
declare type __VLS_NonUndefinedable_20<T> = T extends undefined ? never : T;
|
|
48
48
|
|
|
49
|
+
declare type __VLS_NonUndefinedable_21<T> = T extends undefined ? never : T;
|
|
50
|
+
|
|
49
51
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
50
52
|
|
|
51
53
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
@@ -249,6 +251,15 @@ declare type __VLS_TypePropsToRuntimeProps_20<T> = {
|
|
|
249
251
|
};
|
|
250
252
|
};
|
|
251
253
|
|
|
254
|
+
declare type __VLS_TypePropsToRuntimeProps_21<T> = {
|
|
255
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
256
|
+
type: PropType<__VLS_NonUndefinedable_21<T[K]>>;
|
|
257
|
+
} : {
|
|
258
|
+
type: PropType<T[K]>;
|
|
259
|
+
required: true;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
|
|
252
263
|
declare type __VLS_TypePropsToRuntimeProps_3<T> = {
|
|
253
264
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
254
265
|
type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
|
|
@@ -456,6 +467,12 @@ declare type __VLS_WithTemplateSlots_14<T, S> = T & {
|
|
|
456
467
|
};
|
|
457
468
|
};
|
|
458
469
|
|
|
470
|
+
declare type __VLS_WithTemplateSlots_15<T, S> = T & {
|
|
471
|
+
new (): {
|
|
472
|
+
$slots: S;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
|
|
459
476
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
460
477
|
new (): {
|
|
461
478
|
$slots: S;
|
|
@@ -506,7 +523,7 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
506
523
|
|
|
507
524
|
declare type Appearance = 'regular' | 'inverted';
|
|
508
525
|
|
|
509
|
-
|
|
526
|
+
declare type AppThemes = {
|
|
510
527
|
defaultTheme: string;
|
|
511
528
|
themes: Array<{
|
|
512
529
|
name: string;
|
|
@@ -521,14 +538,9 @@ declare type ColorScheme = {
|
|
|
521
538
|
primaryDark: string;
|
|
522
539
|
onPrimary: string;
|
|
523
540
|
secondary: string;
|
|
524
|
-
secondaryLight: string;
|
|
525
|
-
secondaryDark: string;
|
|
526
541
|
onSecondary: string;
|
|
527
542
|
highlight: string;
|
|
528
543
|
onHighlight: string;
|
|
529
|
-
background: string;
|
|
530
|
-
onBackground: string;
|
|
531
|
-
container: string;
|
|
532
544
|
info: string;
|
|
533
545
|
infoLight: string;
|
|
534
546
|
infoDark: string;
|
|
@@ -545,6 +557,12 @@ declare type ColorScheme = {
|
|
|
545
557
|
dangerLight: string;
|
|
546
558
|
dangerDark: string;
|
|
547
559
|
onDanger: string;
|
|
560
|
+
background: string;
|
|
561
|
+
onBackground: string;
|
|
562
|
+
container: string;
|
|
563
|
+
neutral: string;
|
|
564
|
+
neutralLight: string;
|
|
565
|
+
neutralDark: string;
|
|
548
566
|
};
|
|
549
567
|
|
|
550
568
|
declare type ComponentDefaults = Record<string | symbol, unknown>;
|
|
@@ -575,14 +593,14 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
575
593
|
}>;
|
|
576
594
|
|
|
577
595
|
declare const _default_10: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_10<QInputGroupProps>, {
|
|
578
|
-
id:
|
|
596
|
+
id: undefined;
|
|
579
597
|
label: string;
|
|
580
598
|
prependIcon: undefined;
|
|
581
599
|
appendIcon: undefined;
|
|
582
600
|
size: string;
|
|
583
601
|
class: undefined;
|
|
584
602
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_10<QInputGroupProps>, {
|
|
585
|
-
id:
|
|
603
|
+
id: undefined;
|
|
586
604
|
label: string;
|
|
587
605
|
prependIcon: undefined;
|
|
588
606
|
appendIcon: undefined;
|
|
@@ -746,11 +764,6 @@ declare const _default_16: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_With
|
|
|
746
764
|
* The placement of the popover.
|
|
747
765
|
*/
|
|
748
766
|
placement?: Placement | undefined;
|
|
749
|
-
/**
|
|
750
|
-
* Whether to spy on the real-time position of the anchor,
|
|
751
|
-
* to keep the position of the popover up-to-date at all times.
|
|
752
|
-
*/
|
|
753
|
-
spy?: boolean | undefined;
|
|
754
767
|
/**
|
|
755
768
|
* The text of the popover.
|
|
756
769
|
*/
|
|
@@ -764,7 +777,6 @@ declare const _default_16: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_With
|
|
|
764
777
|
attach: string;
|
|
765
778
|
html: boolean;
|
|
766
779
|
placement: string;
|
|
767
|
-
spy: boolean;
|
|
768
780
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_16<{
|
|
769
781
|
/**
|
|
770
782
|
* Determines whether the popover is open or not.
|
|
@@ -795,11 +807,6 @@ declare const _default_16: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_With
|
|
|
795
807
|
* The placement of the popover.
|
|
796
808
|
*/
|
|
797
809
|
placement?: Placement | undefined;
|
|
798
|
-
/**
|
|
799
|
-
* Whether to spy on the real-time position of the anchor,
|
|
800
|
-
* to keep the position of the popover up-to-date at all times.
|
|
801
|
-
*/
|
|
802
|
-
spy?: boolean | undefined;
|
|
803
810
|
/**
|
|
804
811
|
* The text of the popover.
|
|
805
812
|
*/
|
|
@@ -813,13 +820,11 @@ declare const _default_16: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_With
|
|
|
813
820
|
attach: string;
|
|
814
821
|
html: boolean;
|
|
815
822
|
placement: string;
|
|
816
|
-
spy: boolean;
|
|
817
823
|
}>>>, {
|
|
818
824
|
html: boolean;
|
|
819
825
|
arrow: boolean;
|
|
820
826
|
attach: string;
|
|
821
827
|
placement: Placement;
|
|
822
|
-
spy: boolean;
|
|
823
828
|
}, {}>, {
|
|
824
829
|
header?(_: {}): any;
|
|
825
830
|
body?(_: {}): any;
|
|
@@ -899,7 +904,7 @@ declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_With
|
|
|
899
904
|
class?: string | unknown[] | undefined;
|
|
900
905
|
}>, {
|
|
901
906
|
modelValue: undefined;
|
|
902
|
-
id:
|
|
907
|
+
id: undefined;
|
|
903
908
|
label: string;
|
|
904
909
|
icons: () => Record<string, Icon>;
|
|
905
910
|
groups: () => never[];
|
|
@@ -990,7 +995,7 @@ declare const _default_17: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_With
|
|
|
990
995
|
class?: string | unknown[] | undefined;
|
|
991
996
|
}>, {
|
|
992
997
|
modelValue: undefined;
|
|
993
|
-
id:
|
|
998
|
+
id: undefined;
|
|
994
999
|
label: string;
|
|
995
1000
|
icons: () => Record<string, Icon>;
|
|
996
1001
|
groups: () => never[];
|
|
@@ -1046,7 +1051,7 @@ declare const _default_18: DefineComponent<__VLS_WithDefaults_16<__VLS_TypeProps
|
|
|
1046
1051
|
|
|
1047
1052
|
declare const _default_19: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_19<QTextFieldProps>, {
|
|
1048
1053
|
modelValue: string;
|
|
1049
|
-
id:
|
|
1054
|
+
id: undefined;
|
|
1050
1055
|
placeholder: string;
|
|
1051
1056
|
label: string;
|
|
1052
1057
|
size: undefined;
|
|
@@ -1061,7 +1066,7 @@ declare const _default_19: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_With
|
|
|
1061
1066
|
"update:modelValue": (value: string) => void;
|
|
1062
1067
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_19<QTextFieldProps>, {
|
|
1063
1068
|
modelValue: string;
|
|
1064
|
-
id:
|
|
1069
|
+
id: undefined;
|
|
1065
1070
|
placeholder: string;
|
|
1066
1071
|
label: string;
|
|
1067
1072
|
size: undefined;
|
|
@@ -1090,19 +1095,20 @@ declare const _default_19: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_With
|
|
|
1090
1095
|
}>;
|
|
1091
1096
|
|
|
1092
1097
|
declare const _default_2: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<QButtonGroupProps>, {
|
|
1093
|
-
bStyle: undefined;
|
|
1094
1098
|
class: undefined;
|
|
1095
1099
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<QButtonGroupProps>, {
|
|
1096
|
-
bStyle: undefined;
|
|
1097
1100
|
class: undefined;
|
|
1098
1101
|
}>>>, {
|
|
1099
1102
|
class: string | unknown[];
|
|
1100
|
-
bStyle: "primary" | "secondary" | "danger";
|
|
1101
1103
|
}, {}>, {
|
|
1102
1104
|
default?(_: {}): any;
|
|
1103
1105
|
}>;
|
|
1104
1106
|
|
|
1105
|
-
declare const _default_20: __VLS_WithTemplateSlots_14<DefineComponent<
|
|
1107
|
+
declare const _default_20: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_TypePropsToRuntimeProps_20<QThemeProviderProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_20<QThemeProviderProps>>>, {}, {}>, {
|
|
1108
|
+
default?(_: {}): any;
|
|
1109
|
+
}>;
|
|
1110
|
+
|
|
1111
|
+
declare const _default_21: __VLS_WithTemplateSlots_15<DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_21<{
|
|
1106
1112
|
/**
|
|
1107
1113
|
* Determines whether the tooltip is open or not.
|
|
1108
1114
|
*/
|
|
@@ -1159,7 +1165,7 @@ declare const _default_20: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_With
|
|
|
1159
1165
|
*/
|
|
1160
1166
|
class?: string | unknown[] | undefined;
|
|
1161
1167
|
}>, {
|
|
1162
|
-
id:
|
|
1168
|
+
id: undefined;
|
|
1163
1169
|
appearance: string;
|
|
1164
1170
|
arrow: boolean;
|
|
1165
1171
|
attach: string;
|
|
@@ -1168,7 +1174,7 @@ declare const _default_20: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_With
|
|
|
1168
1174
|
placement: string;
|
|
1169
1175
|
trigger: string;
|
|
1170
1176
|
class: undefined;
|
|
1171
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<
|
|
1177
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_21<{
|
|
1172
1178
|
/**
|
|
1173
1179
|
* Determines whether the tooltip is open or not.
|
|
1174
1180
|
*/
|
|
@@ -1225,7 +1231,7 @@ declare const _default_20: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_With
|
|
|
1225
1231
|
*/
|
|
1226
1232
|
class?: string | unknown[] | undefined;
|
|
1227
1233
|
}>, {
|
|
1228
|
-
id:
|
|
1234
|
+
id: undefined;
|
|
1229
1235
|
appearance: string;
|
|
1230
1236
|
arrow: boolean;
|
|
1231
1237
|
attach: string;
|
|
@@ -1260,7 +1266,7 @@ declare const _default_3: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_TypePr
|
|
|
1260
1266
|
|
|
1261
1267
|
declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_4<QComboboxProps>, {
|
|
1262
1268
|
modelValue: undefined;
|
|
1263
|
-
id:
|
|
1269
|
+
id: undefined;
|
|
1264
1270
|
placeholder: string;
|
|
1265
1271
|
selectionMode: string;
|
|
1266
1272
|
filterMode: string;
|
|
@@ -1292,12 +1298,12 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1292
1298
|
readonly type: string;
|
|
1293
1299
|
readonly label: string;
|
|
1294
1300
|
readonly modelValue: string;
|
|
1295
|
-
readonly id: string;
|
|
1296
1301
|
readonly placeholder: string;
|
|
1297
1302
|
readonly size?: QFieldSize | undefined;
|
|
1298
1303
|
readonly class?: string | unknown[] | undefined;
|
|
1299
1304
|
readonly disabled?: boolean | undefined;
|
|
1300
1305
|
readonly required?: boolean | undefined;
|
|
1306
|
+
readonly id?: string | undefined;
|
|
1301
1307
|
readonly role?: string | undefined;
|
|
1302
1308
|
readonly maxLength?: number | undefined;
|
|
1303
1309
|
readonly readonly?: boolean | undefined;
|
|
@@ -1331,7 +1337,7 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1331
1337
|
};
|
|
1332
1338
|
id: {
|
|
1333
1339
|
type: PropType<string>;
|
|
1334
|
-
default:
|
|
1340
|
+
default: undefined;
|
|
1335
1341
|
};
|
|
1336
1342
|
role: {
|
|
1337
1343
|
type: PropType<string>;
|
|
@@ -1393,7 +1399,7 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1393
1399
|
};
|
|
1394
1400
|
id: {
|
|
1395
1401
|
type: PropType<string>;
|
|
1396
|
-
default:
|
|
1402
|
+
default: undefined;
|
|
1397
1403
|
};
|
|
1398
1404
|
role: {
|
|
1399
1405
|
type: PropType<string>;
|
|
@@ -1476,7 +1482,7 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1476
1482
|
};
|
|
1477
1483
|
id: {
|
|
1478
1484
|
type: PropType<string>;
|
|
1479
|
-
default:
|
|
1485
|
+
default: undefined;
|
|
1480
1486
|
};
|
|
1481
1487
|
role: {
|
|
1482
1488
|
type: PropType<string>;
|
|
@@ -1500,6 +1506,9 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1500
1506
|
inputRef: Ref<HTMLElement | null>;
|
|
1501
1507
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1502
1508
|
$slots: {
|
|
1509
|
+
/**
|
|
1510
|
+
* Handles the enter event for the overlay element.
|
|
1511
|
+
*/
|
|
1503
1512
|
"label.prepend"?(_: {}): any;
|
|
1504
1513
|
"label.append"?(_: {}): any;
|
|
1505
1514
|
prepend?(_: {}): any;
|
|
@@ -1516,7 +1525,7 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1516
1525
|
hide: () => void;
|
|
1517
1526
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_4<QComboboxProps>, {
|
|
1518
1527
|
modelValue: undefined;
|
|
1519
|
-
id:
|
|
1528
|
+
id: undefined;
|
|
1520
1529
|
placeholder: string;
|
|
1521
1530
|
selectionMode: string;
|
|
1522
1531
|
filterMode: string;
|
|
@@ -1569,15 +1578,17 @@ declare const _default_4: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDe
|
|
|
1569
1578
|
}>;
|
|
1570
1579
|
|
|
1571
1580
|
declare const _default_5: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_5<QFieldProps>, {
|
|
1572
|
-
id:
|
|
1581
|
+
id: undefined;
|
|
1573
1582
|
label: string;
|
|
1583
|
+
for: undefined;
|
|
1574
1584
|
size: string;
|
|
1575
1585
|
class: undefined;
|
|
1576
1586
|
}>, {
|
|
1577
1587
|
fieldRef: Ref<HTMLElement | null>;
|
|
1578
1588
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_5<QFieldProps>, {
|
|
1579
|
-
id:
|
|
1589
|
+
id: undefined;
|
|
1580
1590
|
label: string;
|
|
1591
|
+
for: undefined;
|
|
1581
1592
|
size: string;
|
|
1582
1593
|
class: undefined;
|
|
1583
1594
|
}>>>, {
|
|
@@ -1585,6 +1596,7 @@ declare const _default_5: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_WithDe
|
|
|
1585
1596
|
class: string | unknown[];
|
|
1586
1597
|
label: string;
|
|
1587
1598
|
id: string;
|
|
1599
|
+
for: string;
|
|
1588
1600
|
}, {}>, {
|
|
1589
1601
|
"label.prepend"?(_: {}): any;
|
|
1590
1602
|
"label.append"?(_: {}): any;
|
|
@@ -1833,7 +1845,9 @@ export declare type IQSpinnerLoader = InstanceType<typeof _default_18>;
|
|
|
1833
1845
|
|
|
1834
1846
|
export declare type IQTextField = InstanceType<typeof _default_19>;
|
|
1835
1847
|
|
|
1836
|
-
export declare type
|
|
1848
|
+
export declare type IQThemeProvider = InstanceType<typeof _default_20>;
|
|
1849
|
+
|
|
1850
|
+
export declare type IQTooltip = InstanceType<typeof _default_21>;
|
|
1837
1851
|
|
|
1838
1852
|
declare type Item = Omit<QListItemProps, 'value' | 'label'> & {
|
|
1839
1853
|
[key: string]: any;
|
|
@@ -1843,15 +1857,20 @@ declare type Placement = 'top' | 'bottom' | 'left' | 'right';
|
|
|
1843
1857
|
|
|
1844
1858
|
declare type Primitive = string | number | boolean | symbol;
|
|
1845
1859
|
|
|
1860
|
+
/**
|
|
1861
|
+
* Provides a theme with the specified name using the current theme configuration.
|
|
1862
|
+
*
|
|
1863
|
+
* @param name - The name of the theme to provide.
|
|
1864
|
+
*
|
|
1865
|
+
* @returns The active theme.
|
|
1866
|
+
*/
|
|
1867
|
+
export declare function provideTheme(name: string): ThemeInstance;
|
|
1868
|
+
|
|
1846
1869
|
export declare const QButton: IQButton;
|
|
1847
1870
|
|
|
1848
1871
|
export declare const QButtonGroup: IQButtonGroup;
|
|
1849
1872
|
|
|
1850
1873
|
declare type QButtonGroupProps = {
|
|
1851
|
-
/**
|
|
1852
|
-
* The style of the button group.
|
|
1853
|
-
*/
|
|
1854
|
-
bStyle?: 'primary' | 'secondary' | 'danger';
|
|
1855
1874
|
/**
|
|
1856
1875
|
* If true, the button group is disabled and cannot be interacted with.
|
|
1857
1876
|
*/
|
|
@@ -1949,7 +1968,7 @@ declare type QButtonToggleProps = {
|
|
|
1949
1968
|
/**
|
|
1950
1969
|
* Indicates if options can be deselected.
|
|
1951
1970
|
*/
|
|
1952
|
-
|
|
1971
|
+
required?: boolean;
|
|
1953
1972
|
/**
|
|
1954
1973
|
* Custom set of classes to apply to the component.
|
|
1955
1974
|
*/
|
|
@@ -2054,7 +2073,11 @@ export declare type QFieldProps = {
|
|
|
2054
2073
|
*/
|
|
2055
2074
|
label?: string;
|
|
2056
2075
|
/**
|
|
2057
|
-
* The
|
|
2076
|
+
* The form field associated with the label.
|
|
2077
|
+
*/
|
|
2078
|
+
for?: string;
|
|
2079
|
+
/**
|
|
2080
|
+
* The size category of the field.
|
|
2058
2081
|
*/
|
|
2059
2082
|
size?: QFieldSize;
|
|
2060
2083
|
/**
|
|
@@ -2239,7 +2262,7 @@ export declare const QOverlay: IQOverlay;
|
|
|
2239
2262
|
|
|
2240
2263
|
declare type QOverlayProps = {
|
|
2241
2264
|
/**
|
|
2242
|
-
* Determines whether the overlay is
|
|
2265
|
+
* Determines whether the overlay is visible or not.
|
|
2243
2266
|
*/
|
|
2244
2267
|
modelValue?: boolean;
|
|
2245
2268
|
/**
|
|
@@ -2269,10 +2292,6 @@ declare type QOverlayProps = {
|
|
|
2269
2292
|
* The delay in milliseconds before showing the overlay.
|
|
2270
2293
|
*/
|
|
2271
2294
|
delay?: number;
|
|
2272
|
-
/**
|
|
2273
|
-
* Whether the overlay is disabled.
|
|
2274
|
-
*/
|
|
2275
|
-
disabled?: boolean;
|
|
2276
2295
|
/**
|
|
2277
2296
|
* Offset the overlay in the given amount of pixels.
|
|
2278
2297
|
*/
|
|
@@ -2378,27 +2397,41 @@ declare type QTextFieldProps = {
|
|
|
2378
2397
|
class?: string | unknown[];
|
|
2379
2398
|
};
|
|
2380
2399
|
|
|
2400
|
+
export declare const QThemeProvider: IQThemeProvider;
|
|
2401
|
+
|
|
2402
|
+
declare type QThemeProviderProps = {
|
|
2403
|
+
/**
|
|
2404
|
+
* The theme to apply to the downstream components.
|
|
2405
|
+
*/
|
|
2406
|
+
theme: string;
|
|
2407
|
+
};
|
|
2408
|
+
|
|
2381
2409
|
export declare const QTooltip: IQTooltip;
|
|
2382
2410
|
|
|
2383
2411
|
declare type Selector = string | HTMLElement | ComponentPublicInstance;
|
|
2384
2412
|
|
|
2385
2413
|
declare type Texts = typeof DEFAULT_TEXTS;
|
|
2386
2414
|
|
|
2387
|
-
declare type
|
|
2388
|
-
activeTheme: string;
|
|
2389
|
-
themes: ThemeDefinition[];
|
|
2390
|
-
};
|
|
2391
|
-
|
|
2392
|
-
export declare type ThemeDefinition = {
|
|
2415
|
+
declare type ThemeDefinition = {
|
|
2393
2416
|
name: string;
|
|
2394
2417
|
mode: ThemeMode;
|
|
2395
|
-
|
|
2418
|
+
scheme: ColorScheme;
|
|
2419
|
+
};
|
|
2420
|
+
|
|
2421
|
+
declare type ThemeInstance = {
|
|
2422
|
+
activeTheme: Ref<string>;
|
|
2423
|
+
themes: ThemeDefinition[];
|
|
2396
2424
|
};
|
|
2397
2425
|
|
|
2398
|
-
|
|
2426
|
+
declare type ThemeMode = 'light' | 'dark';
|
|
2399
2427
|
|
|
2400
2428
|
declare type Trigger = 'hover' | 'click' | 'manual';
|
|
2401
2429
|
|
|
2402
|
-
|
|
2430
|
+
/**
|
|
2431
|
+
* Custom hook for accessing the theme configuration in context.
|
|
2432
|
+
*
|
|
2433
|
+
* @returns The current theme configuration.
|
|
2434
|
+
*/
|
|
2435
|
+
export declare function useTheme(): ThemeInstance;
|
|
2403
2436
|
|
|
2404
2437
|
export { }
|