@quidgest/ui 0.29.0 → 0.30.0
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/CHANGELOG.md +59 -0
- package/README.md +2 -20
- package/dist/json/api.json +1059 -803
- package/dist/ui.css +77 -29
- package/dist/ui.esm.js +1093 -994
- package/dist/ui.min.css +1 -1
- package/dist/ui.scss +75 -24
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +2 -0
- package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordionItem.vue.js +3 -0
- package/esm/components/QAccordion/index.d.ts +3 -0
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QAccordion/types.d.ts +8 -0
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QAlert/QAlert.d.ts +1 -1
- package/esm/components/QAlert/index.d.ts +3 -3
- package/esm/components/QAvatar/QAvatar.d.ts +1 -1
- package/esm/components/QAvatar/index.d.ts +3 -3
- package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.vue.js +23 -13
- package/esm/components/QBadgeIndicator/types.d.ts +13 -0
- package/esm/components/QBadgeIndicator/types.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/QBreadcrumbs.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/QBreadcrumbs.vue.js +31 -31
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +54 -48
- package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
- package/esm/components/QCard/QCard.d.ts.map +1 -1
- package/esm/components/QCard/QCard.vue.js +48 -32
- package/esm/components/QCard/types.d.ts +9 -0
- package/esm/components/QCard/types.d.ts.map +1 -1
- package/esm/components/QCarousel/QCarousel.d.ts +1 -0
- package/esm/components/QCarousel/QCarousel.d.ts.map +1 -1
- package/esm/components/QCarousel/QCarousel.vue.js +84 -80
- package/esm/components/QCarousel/index.d.ts +6 -0
- package/esm/components/QCarousel/index.d.ts.map +1 -1
- package/esm/components/QCarousel/types.d.ts +9 -1
- package/esm/components/QCarousel/types.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +9 -1
- package/esm/components/QCheckbox/index.d.ts +3 -0
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/types.d.ts +8 -0
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts +1 -0
- package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +55 -47
- package/esm/components/QCollapsible/index.d.ts +6 -0
- package/esm/components/QCollapsible/index.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.d.ts +9 -0
- package/esm/components/QCollapsible/types.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.vue.js +4 -1
- package/esm/components/QColorPicker/index.d.ts +3 -0
- package/esm/components/QColorPicker/index.d.ts.map +1 -1
- package/esm/components/QColorPicker/types.d.ts +7 -0
- package/esm/components/QColorPicker/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +7 -0
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +258 -235
- package/esm/components/QCombobox/constants.d.ts +1 -0
- package/esm/components/QCombobox/constants.d.ts.map +1 -1
- package/esm/components/QCombobox/constants.js +1 -0
- package/esm/components/QCombobox/index.d.ts +11 -0
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts +180 -0
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +637 -542
- package/esm/components/QDateTimePicker/index.d.ts +90 -0
- package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +2 -0
- package/esm/components/QDialog/types.d.ts +3 -1
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +3 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +84 -27
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +9 -2
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +168 -135
- package/esm/components/QDropdownMenu/ids.d.ts +8 -0
- package/esm/components/QDropdownMenu/ids.d.ts.map +1 -0
- package/esm/components/QDropdownMenu/ids.js +6 -0
- package/esm/components/QDropdownMenu/index.d.ts +9 -3
- package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +3 -1
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QField/QField.d.ts +2 -0
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +68 -61
- package/esm/components/QField/ids.d.ts +15 -0
- package/esm/components/QField/ids.d.ts.map +1 -0
- package/esm/components/QField/ids.js +10 -0
- package/esm/components/QField/index.d.ts +2 -0
- package/esm/components/QField/index.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.d.ts +355 -0
- package/esm/components/QFileUpload/QFileUpload.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.vue.js +118 -88
- package/esm/components/QFileUpload/constants.d.ts +2 -0
- package/esm/components/QFileUpload/constants.d.ts.map +1 -1
- package/esm/components/QFileUpload/constants.js +3 -1
- package/esm/components/QFileUpload/index.d.ts +182 -0
- package/esm/components/QFileUpload/index.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.vue.js +2 -1
- package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconImg.vue.js +1 -0
- package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.d.ts +5 -0
- package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +48 -41
- package/esm/components/QInputGroup/index.d.ts +3 -0
- package/esm/components/QInputGroup/index.d.ts.map +1 -1
- package/esm/components/QLabel/QLabel.d.ts.map +1 -1
- package/esm/components/QLabel/QLabel.vue.js +21 -19
- package/esm/components/QLabel/ids.d.ts +9 -0
- package/esm/components/QLabel/ids.d.ts.map +1 -0
- package/esm/components/QLabel/ids.js +6 -0
- package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
- package/esm/components/QLineLoader/QLineLoader.vue.js +15 -14
- package/esm/components/QList/QList.d.ts +3 -3
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +135 -117
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +54 -50
- package/esm/components/QList/context.d.ts +8 -0
- package/esm/components/QList/context.d.ts.map +1 -0
- package/esm/components/QList/context.js +4 -0
- package/esm/components/QMeter/QMeter.d.ts.map +1 -1
- package/esm/components/QMeter/QMeter.vue.js +38 -19
- package/esm/components/QMeter/index.d.ts +2 -10
- package/esm/components/QMeter/index.d.ts.map +1 -1
- package/esm/components/QMeter/types.d.ts +9 -1
- package/esm/components/QMeter/types.d.ts.map +1 -1
- package/esm/components/QObfuscation/QObfuscation.d.ts.map +1 -1
- package/esm/components/QObfuscation/QObfuscation.vue.js +42 -26
- package/esm/components/QObfuscation/index.d.ts.map +1 -1
- package/esm/components/QOverflow/QOverflow.d.ts.map +1 -1
- package/esm/components/QOverflow/QOverflow.vue.js +94 -73
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +162 -132
- package/esm/components/QPasswordField/QPasswordField.d.ts +4 -0
- package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.vue.js +72 -66
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +4 -2
- package/esm/components/QPasswordField/index.d.ts +2 -0
- package/esm/components/QPasswordField/index.d.ts.map +1 -1
- package/esm/components/QPasswordField/types.d.ts +4 -0
- package/esm/components/QPasswordField/types.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.d.ts +34 -3
- package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.vue.js +98 -102
- package/esm/components/QPhoneField/constants.d.ts +2 -1
- package/esm/components/QPhoneField/constants.d.ts.map +1 -1
- package/esm/components/QPhoneField/constants.js +1 -1
- package/esm/components/QPhoneField/index.d.ts +26 -8
- package/esm/components/QPhoneField/index.d.ts.map +1 -1
- package/esm/components/QPhoneField/types.d.ts +5 -2
- package/esm/components/QPhoneField/types.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.d.ts +1 -1
- package/esm/components/QPopover/index.d.ts +3 -3
- package/esm/components/QProgress/QProgress.d.ts.map +1 -1
- package/esm/components/QProgress/QProgress.vue.js +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +1 -1
- package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.vue.js +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +53 -41
- package/esm/components/QRemoveScrollBar/utils/gap.d.ts.map +1 -1
- package/esm/components/QSection/QSection.d.ts.map +1 -1
- package/esm/components/QSection/QSection.vue.js +3 -2
- package/esm/components/QSection/types.d.ts +3 -4
- package/esm/components/QSection/types.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +6 -0
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +405 -355
- package/esm/components/QSelect/constants.d.ts +2 -0
- package/esm/components/QSelect/constants.d.ts.map +1 -1
- package/esm/components/QSelect/constants.js +3 -1
- package/esm/components/QSelect/index.d.ts +8 -0
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarItem.d.ts +1 -0
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarItem.vue.js +3 -0
- package/esm/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarPanel.vue.js +93 -32
- package/esm/components/QSidebar/index.d.ts +3 -0
- package/esm/components/QSidebar/index.d.ts.map +1 -1
- package/esm/components/QSidebar/types.d.ts +20 -1
- package/esm/components/QSidebar/types.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +16 -15
- package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +11 -10
- package/esm/components/QSteps/QSteps.d.ts +3 -2
- package/esm/components/QSteps/QSteps.d.ts.map +1 -1
- package/esm/components/QSteps/QSteps.vue.js +171 -152
- package/esm/components/QSteps/QStepsNav.d.ts +7 -0
- package/esm/components/QSteps/QStepsNav.d.ts.map +1 -1
- package/esm/components/QSteps/QStepsNav.vue.js +29 -15
- package/esm/components/QSteps/constants.d.ts +4 -2
- package/esm/components/QSteps/constants.d.ts.map +1 -1
- package/esm/components/QSteps/constants.js +2 -0
- package/esm/components/QSwitch/QSwitch.d.ts +2 -0
- package/esm/components/QSwitch/QSwitch.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.vue.js +12 -2
- package/esm/components/QSwitch/index.d.ts +4 -0
- package/esm/components/QSwitch/index.d.ts.map +1 -1
- package/esm/components/QSwitch/types.d.ts +8 -0
- package/esm/components/QSwitch/types.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.vue.js +1 -0
- package/esm/components/QTextArea/QTextArea.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.vue.js +6 -2
- package/esm/components/QTextField/QTextField.d.ts +4 -0
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.vue.js +5 -3
- package/esm/components/QTextField/index.d.ts +2 -0
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
- package/esm/components/QToast/QToast.d.ts +1 -0
- package/esm/components/QToast/QToast.d.ts.map +1 -1
- package/esm/components/QToast/QToast.vue.js +89 -85
- package/esm/components/QToast/index.d.ts +6 -0
- package/esm/components/QToast/index.d.ts.map +1 -1
- package/esm/components/QToast/types.d.ts +8 -0
- package/esm/components/QToast/types.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +19 -11
- package/esm/components/__internal__/QClearButton/QClearButton.d.ts.map +1 -1
- package/esm/components/__internal__/QHelpPopover/QHelpPopover.d.ts.map +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/utils/focus.d.ts +10 -0
- package/esm/utils/focus.d.ts.map +1 -1
- package/esm/utils/focus.js +5 -2
- package/esm/utils/loader.d.ts +19 -0
- package/esm/utils/loader.d.ts.map +1 -0
- package/esm/utils/loader.js +6 -0
- package/package.json +24 -23
- package/dist/ui.js +0 -1846
- package/dist/ui.min.js +0 -1846
package/dist/json/api.json
CHANGED
|
@@ -1,53 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.30.0",
|
|
3
3
|
"components": [
|
|
4
4
|
{
|
|
5
5
|
"name": "QAccordion",
|
|
6
6
|
"description": "Displays a accordion group that can hold multiple collapsibles inside. Only one is expanded at each time.",
|
|
7
7
|
"meta": {
|
|
8
8
|
"props": [
|
|
9
|
-
{
|
|
10
|
-
"name": "modelValue",
|
|
11
|
-
"type": {
|
|
12
|
-
"kind": "union",
|
|
13
|
-
"types": [
|
|
14
|
-
{
|
|
15
|
-
"name": "string"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "number"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"name": "symbol"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "array",
|
|
25
|
-
"value": {
|
|
26
|
-
"name": "union",
|
|
27
|
-
"value": [
|
|
28
|
-
{
|
|
29
|
-
"name": "string"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "number"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"name": "symbol"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "boolean"
|
|
39
|
-
}
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "boolean"
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
"description": "",
|
|
49
|
-
"required": false
|
|
50
|
-
},
|
|
51
9
|
{
|
|
52
10
|
"name": "id",
|
|
53
11
|
"type": {
|
|
@@ -58,6 +16,16 @@
|
|
|
58
16
|
"required": false,
|
|
59
17
|
"category": "Identification"
|
|
60
18
|
},
|
|
19
|
+
{
|
|
20
|
+
"name": "headingLevel",
|
|
21
|
+
"type": {
|
|
22
|
+
"kind": "primitive",
|
|
23
|
+
"name": "number"
|
|
24
|
+
},
|
|
25
|
+
"description": "The heading level of the section titles. It reaches every section through the defaults\ncascade, unless a section sets its own `headingLevel`. Choose the level that fits the page's\nheading outline. Without it, the sections keep their own default, 4.",
|
|
26
|
+
"required": false,
|
|
27
|
+
"category": "Content"
|
|
28
|
+
},
|
|
61
29
|
{
|
|
62
30
|
"name": "variant",
|
|
63
31
|
"type": {
|
|
@@ -126,6 +94,49 @@
|
|
|
126
94
|
"default": "DEFAULT_TEXTS",
|
|
127
95
|
"required": false,
|
|
128
96
|
"category": "Configuration"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "modelValue",
|
|
100
|
+
"type": {
|
|
101
|
+
"kind": "union",
|
|
102
|
+
"types": [
|
|
103
|
+
{
|
|
104
|
+
"name": "string"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "number"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "symbol"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "array",
|
|
114
|
+
"value": {
|
|
115
|
+
"name": "union",
|
|
116
|
+
"value": [
|
|
117
|
+
{
|
|
118
|
+
"name": "string"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "number"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "symbol"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "boolean"
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "boolean"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"description": "",
|
|
138
|
+
"default": "undefined",
|
|
139
|
+
"required": false
|
|
129
140
|
}
|
|
130
141
|
],
|
|
131
142
|
"events": [
|
|
@@ -329,8 +340,8 @@
|
|
|
329
340
|
},
|
|
330
341
|
{
|
|
331
342
|
"title": "Rich Content",
|
|
332
|
-
"description": "The default slot takes rich content, such as a list of errors that link to their fields.",
|
|
333
|
-
"code": "<q-alert v-bind=\"args\">\n\t\t\t\t<ul style=\"margin: 0; padding-inline-start: 1.25rem;\">\n\t\t\t\t\t<li><a href=\"#name\">Enter a name</a></li>\n\t\t\t\t\t<li><a href=\"#email\">Enter a valid email address</a></li>\n\t\t\t\t</ul>\n\t\t\t</q-alert>"
|
|
343
|
+
"description": "The default slot takes rich content, such as a list of errors that link to their fields. Links in a list are targets of their own, so keep them at least 24px apart.",
|
|
344
|
+
"code": "<q-alert v-bind=\"args\">\n\t\t\t\t<ul style=\"display: grid; gap: 0.25rem; margin: 0; padding-inline-start: 1.25rem;\">\n\t\t\t\t\t<li><a href=\"#name\">Enter a name</a></li>\n\t\t\t\t\t<li><a href=\"#email\">Enter a valid email address</a></li>\n\t\t\t\t</ul>\n\t\t\t</q-alert>"
|
|
334
345
|
},
|
|
335
346
|
{
|
|
336
347
|
"title": "Actions",
|
|
@@ -347,6 +358,11 @@
|
|
|
347
358
|
"description": "`dismissible` adds a dismiss button that emits `dismiss`. The alert stays until you remove it. When it leaves the page with focus inside it, focus moves to the next focusable element, or the previous one when nothing follows, so keyboard and screen reader users keep their place. Inside a dialog or popover, focus stays in it, and the dialog itself takes focus when nothing else in it can. To send focus elsewhere, move it in the `dismiss` handler.",
|
|
348
359
|
"code": "<div style=\"display: flex; flex-direction: column; gap: 0.5rem; align-items: start;\">\n\t\t\t\t<q-button\n\t\t\t\t\tlabel=\"Show the alert\"\n\t\t\t\t\t:disabled=\"visible\"\n\t\t\t\t\t@click=\"visible = true\" />\n\t\t\t\t<q-alert\n\t\t\t\t\tv-if=\"visible\"\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\tstyle=\"align-self: stretch;\"\n\t\t\t\t\t@dismiss=\"visible = false\" />\n\t\t\t\t<q-button label=\"Next field\" />\n\t\t\t</div>"
|
|
349
360
|
},
|
|
361
|
+
{
|
|
362
|
+
"title": "Tab Order",
|
|
363
|
+
"description": "The keyboard reaches what an alert holds in reading order: links in its text, then its actions, then the dismiss button.",
|
|
364
|
+
"code": "<div style=\"display: flex; flex-direction: column; gap: 0.5rem; align-items: start;\">\n\t\t\t\t<q-button label=\"Before the alert\" />\n\t\t\t\t<q-alert v-bind=\"args\" style=\"align-self: stretch;\">\n\t\t\t\t\tSave your work, or <a href=\"#session\">read about sessions</a>.\n\t\t\t\t\t<template #actions>\n\t\t\t\t\t\t<q-button label=\"Stay signed in\" />\n\t\t\t\t\t</template>\n\t\t\t\t</q-alert>\n\t\t\t</div>"
|
|
365
|
+
},
|
|
350
366
|
{
|
|
351
367
|
"title": "Dismissible Bold",
|
|
352
368
|
"description": "`bold` alerts paint the dismiss button's focus ring in the alert's text color, so it stays visible on the solid fill.",
|
|
@@ -523,8 +539,8 @@
|
|
|
523
539
|
"type": {
|
|
524
540
|
"kind": "enum",
|
|
525
541
|
"values": [
|
|
526
|
-
"medium",
|
|
527
542
|
"small",
|
|
543
|
+
"medium",
|
|
528
544
|
"large"
|
|
529
545
|
]
|
|
530
546
|
},
|
|
@@ -651,6 +667,16 @@
|
|
|
651
667
|
"description": "Local size overrides for the badge. Combines with the global density toolbar (product = global × size). Icons are sized relative to the badge text, so they scale with it.",
|
|
652
668
|
"code": "<div style=\"display: flex; align-items: center; gap: 0.5rem\">\n\t\t\t\t<q-badge v-bind=\"args\" size=\"small\"><q-icon icon=\"map-marker\" />Small</q-badge>\n\t\t\t\t<q-badge v-bind=\"args\" size=\"medium\"><q-icon icon=\"map-marker\" />Medium</q-badge>\n\t\t\t\t<q-badge v-bind=\"args\" size=\"large\"><q-icon icon=\"map-marker\" />Large</q-badge>\n\t\t\t</div>"
|
|
653
669
|
},
|
|
670
|
+
{
|
|
671
|
+
"title": "Loading Icon",
|
|
672
|
+
"description": "Until its SVG bundle loads, an icon keeps its size, so the badge does not change width when the icon appears. This icon has no bundle, so it stays as it is before loading.",
|
|
673
|
+
"code": "<q-badge v-bind=\"args\">\n\t\t\t\t<q-icon icon=\"map-marker\" bundle=\"\" />\n\t\t\t\tLisbon\n\t\t\t</q-badge>"
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"title": "Image Icon",
|
|
677
|
+
"description": "An image icon, such as a logo, is as high as the other icons and keeps its aspect ratio.",
|
|
678
|
+
"code": "<q-badge v-bind=\"args\">\n\t\t\t\t<q-icon type=\"img\" :icon=\"wideImage\" />\n\t\t\t\tQuidgest\n\t\t\t</q-badge>"
|
|
679
|
+
},
|
|
654
680
|
{
|
|
655
681
|
"title": "Clickable",
|
|
656
682
|
"description": "Defining a click event makes the badge interactible like a button.",
|
|
@@ -729,6 +755,16 @@
|
|
|
729
755
|
"default": "true",
|
|
730
756
|
"required": false,
|
|
731
757
|
"category": "Content"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"name": "ariaLabel",
|
|
761
|
+
"type": {
|
|
762
|
+
"kind": "primitive",
|
|
763
|
+
"name": "string"
|
|
764
|
+
},
|
|
765
|
+
"description": "What the badge means, for assistive technology (\"3 unread messages\"). The badge's own\ncontent is then hidden from it. A dot has no text, so it needs one to tell anything but\nits color.\n\nThe text sits next to the slot content, where only browse mode reads it. When the slot is\na control, such as a bell button, a keyboard user who tabs to it hears just the control's\nname: leave this unset and put the meaning in that control's name or `aria-describedby`\ninstead (see the `OnButton` story).",
|
|
766
|
+
"required": false,
|
|
767
|
+
"category": "Accessibility"
|
|
732
768
|
}
|
|
733
769
|
],
|
|
734
770
|
"events": [],
|
|
@@ -754,6 +790,11 @@
|
|
|
754
790
|
"description": "A small dot indicator, automatically applied when no content is provided. Useful for status indicators.",
|
|
755
791
|
"code": "<q-badge-indicator v-bind=\"args\">\n <q-icon icon=\"bell-outline\" :size=\"1.5\" />\n </q-badge-indicator>"
|
|
756
792
|
},
|
|
793
|
+
{
|
|
794
|
+
"title": "On Button",
|
|
795
|
+
"description": "A badge on a button. Keyboard users hear only the name of the button they tab to, so the count goes in that name rather than in `ariaLabel`, which only browse mode would read.",
|
|
796
|
+
"code": "<q-badge-indicator v-bind=\"args\">\n <q-button aria-label=\"Notifications, 3 unread\">\n <q-icon icon=\"bell-outline\" />\n </q-button>\n </q-badge-indicator>"
|
|
797
|
+
},
|
|
757
798
|
{
|
|
758
799
|
"title": "Custom Content",
|
|
759
800
|
"description": "A custom content badge, allowing rich elements like icons instead of text.",
|
|
@@ -845,7 +886,7 @@
|
|
|
845
886
|
},
|
|
846
887
|
{
|
|
847
888
|
"title": "Collapsed",
|
|
848
|
-
"description": "A long trail collapses its middle crumbs into an ellipsis control that opens a dropdown, keeping the first and current crumb visible. The control has an accessible name (`aria-label`) and the dropdown is keyboard operable.",
|
|
889
|
+
"description": "A long trail collapses its middle crumbs into an ellipsis control that opens a dropdown, keeping the first and current crumb visible. The control has an accessible name (`aria-label`) and the dropdown is keyboard operable: Tab skips the collapsed links and reaches the control, which opens a menu of them.",
|
|
849
890
|
"code": "<q-breadcrumbs v-bind=\"args\">\n\t\t\t\t<q-breadcrumb label=\"Home\" href=\"/\" :icon=\"{ icon: 'home' }\" />\n\t\t\t\t<q-breadcrumb label=\"Documents\" href=\"/documents\" :icon=\"{ icon: 'folder' }\" />\n\t\t\t\t<q-breadcrumb label=\"Projects\" href=\"/documents/projects\" :icon=\"{ icon: 'folder' }\" />\n\t\t\t\t<q-breadcrumb label=\"Quarterly Report\" :icon=\"{ icon: 'file-document' }\" />\n\t\t\t</q-breadcrumbs>"
|
|
850
891
|
},
|
|
851
892
|
{
|
|
@@ -937,8 +978,8 @@
|
|
|
937
978
|
"type": {
|
|
938
979
|
"kind": "enum",
|
|
939
980
|
"values": [
|
|
940
|
-
"tonal",
|
|
941
981
|
"text",
|
|
982
|
+
"tonal",
|
|
942
983
|
"bold",
|
|
943
984
|
"outlined",
|
|
944
985
|
"ghost"
|
|
@@ -1005,8 +1046,8 @@
|
|
|
1005
1046
|
"type": {
|
|
1006
1047
|
"kind": "enum",
|
|
1007
1048
|
"values": [
|
|
1008
|
-
"medium",
|
|
1009
1049
|
"small",
|
|
1050
|
+
"medium",
|
|
1010
1051
|
"large"
|
|
1011
1052
|
]
|
|
1012
1053
|
},
|
|
@@ -1111,12 +1152,12 @@
|
|
|
1111
1152
|
},
|
|
1112
1153
|
{
|
|
1113
1154
|
"title": "Popover",
|
|
1114
|
-
"description": "Help shown in a popover beside the button. The popover title is the button label.",
|
|
1155
|
+
"description": "Help shown in a popover beside the button. The popover title is the button label. The help button says whether the popover is open, and takes focus back when it closes.",
|
|
1115
1156
|
"code": "<QButton label=\"Button\" help=\"Saves the current record\" />"
|
|
1116
1157
|
},
|
|
1117
1158
|
{
|
|
1118
1159
|
"title": "Tooltip",
|
|
1119
|
-
"description": "Help is a tooltip on the button.",
|
|
1160
|
+
"description": "Help is a tooltip on the button, which opens on hover and on keyboard focus.",
|
|
1120
1161
|
"code": "<QButton label=\"Button\" help=\"Saves the current record\" help-display=\"tooltip\" />"
|
|
1121
1162
|
},
|
|
1122
1163
|
{
|
|
@@ -1139,6 +1180,11 @@
|
|
|
1139
1180
|
"description": "Displays a loading animation and cannot be clicked.",
|
|
1140
1181
|
"code": "<QButton label=\"Submit\" :loading=\"true\" />"
|
|
1141
1182
|
},
|
|
1183
|
+
{
|
|
1184
|
+
"title": "Save With Loading",
|
|
1185
|
+
"description": "A button that starts loading while it has focus keeps it: it is busy and unavailable (`aria-busy`, `aria-disabled`), but not `disabled`, which would drop focus on `<body>`.",
|
|
1186
|
+
"code": "<q-button label=\"Save\" :loading=\"saving\" @click=\"save\" />"
|
|
1187
|
+
},
|
|
1142
1188
|
{
|
|
1143
1189
|
"title": "Color",
|
|
1144
1190
|
"description": "Use the primary button once per page to represent the preferred user action.",
|
|
@@ -1231,8 +1277,8 @@
|
|
|
1231
1277
|
"type": {
|
|
1232
1278
|
"kind": "enum",
|
|
1233
1279
|
"values": [
|
|
1234
|
-
"medium",
|
|
1235
1280
|
"small",
|
|
1281
|
+
"medium",
|
|
1236
1282
|
"large"
|
|
1237
1283
|
]
|
|
1238
1284
|
},
|
|
@@ -1322,6 +1368,16 @@
|
|
|
1322
1368
|
"required": false,
|
|
1323
1369
|
"category": "Content"
|
|
1324
1370
|
},
|
|
1371
|
+
{
|
|
1372
|
+
"name": "headingLevel",
|
|
1373
|
+
"type": {
|
|
1374
|
+
"kind": "primitive",
|
|
1375
|
+
"name": "number"
|
|
1376
|
+
},
|
|
1377
|
+
"description": "The heading level of the title, so screen reader users can find the card by its\nheading. Choose the level that fits the page's heading outline. Unset, or outside 1–6,\nthe title is a paragraph. A card with a click handler is a button, whose content is no\nheading, so its title stays a paragraph.",
|
|
1378
|
+
"required": false,
|
|
1379
|
+
"category": "Content"
|
|
1380
|
+
},
|
|
1325
1381
|
{
|
|
1326
1382
|
"name": "href",
|
|
1327
1383
|
"type": {
|
|
@@ -1459,7 +1515,7 @@
|
|
|
1459
1515
|
},
|
|
1460
1516
|
{
|
|
1461
1517
|
"title": "Clickable",
|
|
1462
|
-
"description": "
|
|
1518
|
+
"description": "A card that handles clicks is a button: Tab reaches it, and Enter or Space runs its action. A button or a link holds no other controls, so a card with controls inside does not handle clicks or take an `href`: one of its controls runs the action instead.",
|
|
1463
1519
|
"code": "<q-card v-bind=\"args\" @click=\"onClick\">\n\t\t\t\t\t{{ args.subtitle }}\n\t\t\t\t</q-card>"
|
|
1464
1520
|
},
|
|
1465
1521
|
{
|
|
@@ -1467,6 +1523,11 @@
|
|
|
1467
1523
|
"description": "Default behavior of a card with a link/url.",
|
|
1468
1524
|
"code": "<q-card v-bind=\"args\">\n\t\t\t\t{{ args.subtitle }}\n\t\t\t</q-card>"
|
|
1469
1525
|
},
|
|
1526
|
+
{
|
|
1527
|
+
"title": "Headings",
|
|
1528
|
+
"description": "Titles as headings, at the level that fits the page outline, so screen reader users can jump from card to card. A link card holds its heading; a card with a click handler is a button, whose content is no heading, so its title stays a paragraph.",
|
|
1529
|
+
"code": "<div style=\"display: flex; gap: 1rem; flex-wrap: wrap\">\n\t\t\t\t<q-card title=\"Plans\" subtitle=\"A heading\" :heading-level=\"3\">Three plans</q-card>\n\t\t\t\t<q-card title=\"Pricing\" subtitle=\"A link with a heading\" href=\"#pricing\" :heading-level=\"3\">\n\t\t\t\t\tCompare prices\n\t\t\t\t</q-card>\n\t\t\t\t<q-card title=\"Upgrade\" subtitle=\"A button\" :heading-level=\"3\" @click=\"() => {}\">\n\t\t\t\t\tUpgrade now\n\t\t\t\t</q-card>\n\t\t\t</div>"
|
|
1530
|
+
},
|
|
1470
1531
|
{
|
|
1471
1532
|
"title": "Loading",
|
|
1472
1533
|
"description": "Default behavior of a loading card.",
|
|
@@ -1494,15 +1555,6 @@
|
|
|
1494
1555
|
"description": "The `QCarousel` component displays a set of slides with optional controls, indicators, autoplay, touch navigation, and progress bar.",
|
|
1495
1556
|
"meta": {
|
|
1496
1557
|
"props": [
|
|
1497
|
-
{
|
|
1498
|
-
"name": "currentSlide",
|
|
1499
|
-
"type": {
|
|
1500
|
-
"kind": "primitive",
|
|
1501
|
-
"name": "number"
|
|
1502
|
-
},
|
|
1503
|
-
"description": "",
|
|
1504
|
-
"required": false
|
|
1505
|
-
},
|
|
1506
1558
|
{
|
|
1507
1559
|
"name": "id",
|
|
1508
1560
|
"type": {
|
|
@@ -1527,6 +1579,17 @@
|
|
|
1527
1579
|
"required": false,
|
|
1528
1580
|
"category": "Content"
|
|
1529
1581
|
},
|
|
1582
|
+
{
|
|
1583
|
+
"name": "headingLevel",
|
|
1584
|
+
"type": {
|
|
1585
|
+
"kind": "primitive",
|
|
1586
|
+
"name": "number"
|
|
1587
|
+
},
|
|
1588
|
+
"description": "The heading level of the slide titles, so screen reader users can find the carousel by the\ntitle of the slide it shows. Choose the level that fits the page's heading outline. A value\noutside 1–6 renders the titles in a plain `div`. Defaults to 2.",
|
|
1589
|
+
"default": "2",
|
|
1590
|
+
"required": false,
|
|
1591
|
+
"category": "Content"
|
|
1592
|
+
},
|
|
1530
1593
|
{
|
|
1531
1594
|
"name": "showIndicators",
|
|
1532
1595
|
"type": {
|
|
@@ -1650,6 +1713,16 @@
|
|
|
1650
1713
|
"default": "DEFAULT_TEXTS",
|
|
1651
1714
|
"required": false,
|
|
1652
1715
|
"category": "Configuration"
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"name": "currentSlide",
|
|
1719
|
+
"type": {
|
|
1720
|
+
"kind": "primitive",
|
|
1721
|
+
"name": "number"
|
|
1722
|
+
},
|
|
1723
|
+
"description": "",
|
|
1724
|
+
"default": "0",
|
|
1725
|
+
"required": false
|
|
1653
1726
|
}
|
|
1654
1727
|
],
|
|
1655
1728
|
"events": [
|
|
@@ -1739,15 +1812,6 @@
|
|
|
1739
1812
|
"description": "A box that the user can toggle between checked and not checked.",
|
|
1740
1813
|
"meta": {
|
|
1741
1814
|
"props": [
|
|
1742
|
-
{
|
|
1743
|
-
"name": "modelValue",
|
|
1744
|
-
"type": {
|
|
1745
|
-
"kind": "primitive",
|
|
1746
|
-
"name": "boolean"
|
|
1747
|
-
},
|
|
1748
|
-
"description": "",
|
|
1749
|
-
"required": false
|
|
1750
|
-
},
|
|
1751
1815
|
{
|
|
1752
1816
|
"name": "id",
|
|
1753
1817
|
"type": {
|
|
@@ -1863,8 +1927,8 @@
|
|
|
1863
1927
|
"type": {
|
|
1864
1928
|
"kind": "enum",
|
|
1865
1929
|
"values": [
|
|
1866
|
-
"medium",
|
|
1867
1930
|
"small",
|
|
1931
|
+
"medium",
|
|
1868
1932
|
"large"
|
|
1869
1933
|
]
|
|
1870
1934
|
},
|
|
@@ -1892,6 +1956,16 @@
|
|
|
1892
1956
|
"required": false,
|
|
1893
1957
|
"category": "State"
|
|
1894
1958
|
},
|
|
1959
|
+
{
|
|
1960
|
+
"name": "invalid",
|
|
1961
|
+
"type": {
|
|
1962
|
+
"kind": "primitive",
|
|
1963
|
+
"name": "boolean"
|
|
1964
|
+
},
|
|
1965
|
+
"description": "If true, the checkbox is invalid: the box takes a danger border, and assistive\ntechnology reads it as invalid. Say why in `help`, which describes the checkbox,\nsince the border alone shows it only in color.",
|
|
1966
|
+
"required": false,
|
|
1967
|
+
"category": "State"
|
|
1968
|
+
},
|
|
1895
1969
|
{
|
|
1896
1970
|
"name": "indeterminate",
|
|
1897
1971
|
"type": {
|
|
@@ -1922,13 +1996,22 @@
|
|
|
1922
1996
|
"description": "If true, the checkbox has no borders.",
|
|
1923
1997
|
"required": false,
|
|
1924
1998
|
"category": "Presentation"
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"name": "modelValue",
|
|
2002
|
+
"type": {
|
|
2003
|
+
"kind": "primitive",
|
|
2004
|
+
"name": "boolean"
|
|
2005
|
+
},
|
|
2006
|
+
"description": "",
|
|
2007
|
+
"required": false
|
|
1925
2008
|
}
|
|
1926
2009
|
],
|
|
1927
2010
|
"events": [
|
|
1928
2011
|
{
|
|
1929
2012
|
"name": "update:modelValue",
|
|
1930
2013
|
"description": "",
|
|
1931
|
-
"type": "[value: boolean]"
|
|
2014
|
+
"type": "[value: boolean | undefined]"
|
|
1932
2015
|
}
|
|
1933
2016
|
],
|
|
1934
2017
|
"slots": [
|
|
@@ -1967,6 +2050,11 @@
|
|
|
1967
2050
|
"description": "A read-only checkbox that conveys a non-interactive appearance. This can be used to display a static checked/unchecked state for reference.",
|
|
1968
2051
|
"code": "<div style=\"display: flex; gap: 2rem\">\n\t\t\t\t<q-checkbox v-bind=\"args\"/>\n\t\t\t\t<q-checkbox model-value v-bind=\"args\" />\n\t\t\t</div>"
|
|
1969
2052
|
},
|
|
2053
|
+
{
|
|
2054
|
+
"title": "Invalid",
|
|
2055
|
+
"description": "An invalid checkbox, checked or not. The help says what to fix, since the danger border shows it only in color.",
|
|
2056
|
+
"code": "<div style=\"display: flex; gap: 2rem\">\n\t\t\t\t<q-checkbox v-bind=\"args\" />\n\t\t\t\t<q-checkbox model-value v-bind=\"args\" />\n\t\t\t</div>"
|
|
2057
|
+
},
|
|
1970
2058
|
{
|
|
1971
2059
|
"title": "Disabled",
|
|
1972
2060
|
"description": "A disabled checkbox that prevents any interaction with the user. This can be used to show unavailable or restricted options.",
|
|
@@ -1990,7 +2078,7 @@
|
|
|
1990
2078
|
{
|
|
1991
2079
|
"title": "Indeterminate",
|
|
1992
2080
|
"description": "A parent-child checkbox hierarchy with an indeterminate state. The parent checkbox reflects the state of its children, useful for managing lists of options.",
|
|
1993
|
-
"code": "<div>\n\t\t\t\t<q-checkbox v-model=\"model\" :indeterminate=\"
|
|
2081
|
+
"code": "<div>\n\t\t\t\t<q-checkbox v-model=\"model\" :indeterminate=\"indeterminate\" label-placement=\"end\" label=\"Parent Option\" @update:model-value=\"onUpdateModelValue\" />\n\t\t\t\t<div\n\t\t\t\t\tstyle=\"margin-left: 1.5rem; display: flex; gap: .5rem; flex-direction: column; margin-top: .5rem\">\n\t\t\t\t\t<q-checkbox v-model=\"child01\" label=\"Child 1\" @update:model-value=\"onChildUpdateModelValue\"/>\n\t\t\t\t\t<q-checkbox v-model=\"child02\" label=\"Child 2\" @update:model-value=\"onChildUpdateModelValue\"/>\n\t\t\t\t\t<q-checkbox v-model=\"child03\" label=\"Child 3\" @update:model-value=\"onChildUpdateModelValue\"/>\n\t\t\t\t</div>\n\t\t\t</div>"
|
|
1994
2082
|
},
|
|
1995
2083
|
{
|
|
1996
2084
|
"title": "Extras",
|
|
@@ -2009,15 +2097,6 @@
|
|
|
2009
2097
|
"description": "Displays a collapsible group that show the diferent components inside.",
|
|
2010
2098
|
"meta": {
|
|
2011
2099
|
"props": [
|
|
2012
|
-
{
|
|
2013
|
-
"name": "modelValue",
|
|
2014
|
-
"type": {
|
|
2015
|
-
"kind": "primitive",
|
|
2016
|
-
"name": "boolean"
|
|
2017
|
-
},
|
|
2018
|
-
"description": "",
|
|
2019
|
-
"required": false
|
|
2020
|
-
},
|
|
2021
2100
|
{
|
|
2022
2101
|
"name": "id",
|
|
2023
2102
|
"type": {
|
|
@@ -2038,6 +2117,17 @@
|
|
|
2038
2117
|
"required": false,
|
|
2039
2118
|
"category": "Content"
|
|
2040
2119
|
},
|
|
2120
|
+
{
|
|
2121
|
+
"name": "headingLevel",
|
|
2122
|
+
"type": {
|
|
2123
|
+
"kind": "primitive",
|
|
2124
|
+
"name": "number"
|
|
2125
|
+
},
|
|
2126
|
+
"description": "The heading level of the title, so screen reader users can find the section by its\nheading. The heading holds the button that expands the section. Choose the level that fits\nthe page's heading outline. A value outside 1–6 renders the title in a plain `div`.\nDefaults to 4.",
|
|
2127
|
+
"default": "4",
|
|
2128
|
+
"required": false,
|
|
2129
|
+
"category": "Content"
|
|
2130
|
+
},
|
|
2041
2131
|
{
|
|
2042
2132
|
"name": "subtitle",
|
|
2043
2133
|
"type": {
|
|
@@ -2130,13 +2220,22 @@
|
|
|
2130
2220
|
"default": "DEFAULT_TEXTS",
|
|
2131
2221
|
"required": false,
|
|
2132
2222
|
"category": "Configuration"
|
|
2223
|
+
},
|
|
2224
|
+
{
|
|
2225
|
+
"name": "modelValue",
|
|
2226
|
+
"type": {
|
|
2227
|
+
"kind": "primitive",
|
|
2228
|
+
"name": "boolean"
|
|
2229
|
+
},
|
|
2230
|
+
"description": "",
|
|
2231
|
+
"required": false
|
|
2133
2232
|
}
|
|
2134
2233
|
],
|
|
2135
2234
|
"events": [
|
|
2136
2235
|
{
|
|
2137
2236
|
"name": "update:modelValue",
|
|
2138
2237
|
"description": "",
|
|
2139
|
-
"type": "[value: boolean]"
|
|
2238
|
+
"type": "[value: boolean | undefined]"
|
|
2140
2239
|
}
|
|
2141
2240
|
],
|
|
2142
2241
|
"slots": [
|
|
@@ -2165,7 +2264,7 @@
|
|
|
2165
2264
|
"examples": [
|
|
2166
2265
|
{
|
|
2167
2266
|
"title": "Default",
|
|
2168
|
-
"description": "Default behavior of the collapsible.",
|
|
2267
|
+
"description": "Default behavior of the collapsible. The title is a heading (level 4 unless `headingLevel` sets another) that holds the button, and the collapsed content is hidden and out of the Tab order.",
|
|
2169
2268
|
"code": "<q-collapsible v-bind=\"args\">\n\t\t\t\t<q-text-field label=\"Text input\"/>\n\t\t\t</q-collapsible>"
|
|
2170
2269
|
},
|
|
2171
2270
|
{
|
|
@@ -2215,15 +2314,6 @@
|
|
|
2215
2314
|
"description": "A generic color picker input.",
|
|
2216
2315
|
"meta": {
|
|
2217
2316
|
"props": [
|
|
2218
|
-
{
|
|
2219
|
-
"name": "modelValue",
|
|
2220
|
-
"type": {
|
|
2221
|
-
"kind": "primitive",
|
|
2222
|
-
"name": "string"
|
|
2223
|
-
},
|
|
2224
|
-
"description": "",
|
|
2225
|
-
"required": false
|
|
2226
|
-
},
|
|
2227
2317
|
{
|
|
2228
2318
|
"name": "id",
|
|
2229
2319
|
"type": {
|
|
@@ -2305,8 +2395,8 @@
|
|
|
2305
2395
|
"type": {
|
|
2306
2396
|
"kind": "enum",
|
|
2307
2397
|
"values": [
|
|
2308
|
-
"medium",
|
|
2309
2398
|
"small",
|
|
2399
|
+
"medium",
|
|
2310
2400
|
"large",
|
|
2311
2401
|
"block",
|
|
2312
2402
|
"xlarge",
|
|
@@ -2348,13 +2438,32 @@
|
|
|
2348
2438
|
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
2349
2439
|
"required": false,
|
|
2350
2440
|
"category": "State"
|
|
2441
|
+
},
|
|
2442
|
+
{
|
|
2443
|
+
"name": "invalid",
|
|
2444
|
+
"type": {
|
|
2445
|
+
"kind": "primitive",
|
|
2446
|
+
"name": "boolean"
|
|
2447
|
+
},
|
|
2448
|
+
"description": "Whether the value is invalid. The field shows it, and its input tells assistive\ntechnology (`aria-invalid`).",
|
|
2449
|
+
"required": false,
|
|
2450
|
+
"category": "State"
|
|
2451
|
+
},
|
|
2452
|
+
{
|
|
2453
|
+
"name": "modelValue",
|
|
2454
|
+
"type": {
|
|
2455
|
+
"kind": "primitive",
|
|
2456
|
+
"name": "string"
|
|
2457
|
+
},
|
|
2458
|
+
"description": "",
|
|
2459
|
+
"required": false
|
|
2351
2460
|
}
|
|
2352
2461
|
],
|
|
2353
2462
|
"events": [
|
|
2354
2463
|
{
|
|
2355
2464
|
"name": "update:modelValue",
|
|
2356
2465
|
"description": "",
|
|
2357
|
-
"type": "[value: string]"
|
|
2466
|
+
"type": "[value: string | undefined]"
|
|
2358
2467
|
}
|
|
2359
2468
|
],
|
|
2360
2469
|
"slots": [
|
|
@@ -2406,6 +2515,11 @@
|
|
|
2406
2515
|
"description": "Displays an asterisk (*) next to the label, to indicate that the field is required.",
|
|
2407
2516
|
"code": "<QColorPicker label=\"Main color\" :required=\"true\" />"
|
|
2408
2517
|
},
|
|
2518
|
+
{
|
|
2519
|
+
"title": "Invalid",
|
|
2520
|
+
"description": "A color the app found invalid: the field shows it, and its input tells assistive technology.",
|
|
2521
|
+
"code": "<QColorPicker label=\"Brand color\" model-value=\"#ff0000\" :invalid=\"true\" />"
|
|
2522
|
+
},
|
|
2409
2523
|
{
|
|
2410
2524
|
"title": "White",
|
|
2411
2525
|
"description": "Displays the field's visualization mode when the white color is selected, that has no contrast with the background.",
|
|
@@ -2418,33 +2532,6 @@
|
|
|
2418
2532
|
"description": "Autocomplete input with a list of suggestions.",
|
|
2419
2533
|
"meta": {
|
|
2420
2534
|
"props": [
|
|
2421
|
-
{
|
|
2422
|
-
"name": "modelValue",
|
|
2423
|
-
"type": {
|
|
2424
|
-
"kind": "unknown",
|
|
2425
|
-
"raw": "any"
|
|
2426
|
-
},
|
|
2427
|
-
"description": "",
|
|
2428
|
-
"required": false
|
|
2429
|
-
},
|
|
2430
|
-
{
|
|
2431
|
-
"name": "open",
|
|
2432
|
-
"type": {
|
|
2433
|
-
"kind": "primitive",
|
|
2434
|
-
"name": "boolean"
|
|
2435
|
-
},
|
|
2436
|
-
"description": "",
|
|
2437
|
-
"required": false
|
|
2438
|
-
},
|
|
2439
|
-
{
|
|
2440
|
-
"name": "search",
|
|
2441
|
-
"type": {
|
|
2442
|
-
"kind": "primitive",
|
|
2443
|
-
"name": "string"
|
|
2444
|
-
},
|
|
2445
|
-
"description": "",
|
|
2446
|
-
"required": false
|
|
2447
|
-
},
|
|
2448
2535
|
{
|
|
2449
2536
|
"name": "id",
|
|
2450
2537
|
"type": {
|
|
@@ -2492,8 +2579,8 @@
|
|
|
2492
2579
|
"type": {
|
|
2493
2580
|
"kind": "enum",
|
|
2494
2581
|
"values": [
|
|
2495
|
-
"medium",
|
|
2496
2582
|
"small",
|
|
2583
|
+
"medium",
|
|
2497
2584
|
"large",
|
|
2498
2585
|
"block",
|
|
2499
2586
|
"xlarge",
|
|
@@ -2586,24 +2673,24 @@
|
|
|
2586
2673
|
"category": "State"
|
|
2587
2674
|
},
|
|
2588
2675
|
{
|
|
2589
|
-
"name": "
|
|
2676
|
+
"name": "invalid",
|
|
2590
2677
|
"type": {
|
|
2591
2678
|
"kind": "primitive",
|
|
2592
|
-
"name": "
|
|
2679
|
+
"name": "boolean"
|
|
2593
2680
|
},
|
|
2594
|
-
"description": "
|
|
2681
|
+
"description": "Whether the input is invalid.",
|
|
2595
2682
|
"required": false,
|
|
2596
|
-
"category": "
|
|
2683
|
+
"category": "State"
|
|
2597
2684
|
},
|
|
2598
2685
|
{
|
|
2599
|
-
"name": "
|
|
2686
|
+
"name": "placeholder",
|
|
2600
2687
|
"type": {
|
|
2601
2688
|
"kind": "primitive",
|
|
2602
|
-
"name": "
|
|
2689
|
+
"name": "string"
|
|
2603
2690
|
},
|
|
2604
|
-
"description": "
|
|
2691
|
+
"description": "The placeholder text for the text field.",
|
|
2605
2692
|
"required": false,
|
|
2606
|
-
"category": "
|
|
2693
|
+
"category": "Content"
|
|
2607
2694
|
},
|
|
2608
2695
|
{
|
|
2609
2696
|
"name": "maxLength",
|
|
@@ -2746,6 +2833,34 @@
|
|
|
2746
2833
|
"description": "The value to be used in comparisons,\nused to check if the field has a selected item.",
|
|
2747
2834
|
"required": false,
|
|
2748
2835
|
"category": "Configuration"
|
|
2836
|
+
},
|
|
2837
|
+
{
|
|
2838
|
+
"name": "modelValue",
|
|
2839
|
+
"type": {
|
|
2840
|
+
"kind": "unknown",
|
|
2841
|
+
"raw": "any"
|
|
2842
|
+
},
|
|
2843
|
+
"description": "",
|
|
2844
|
+
"required": false
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"name": "open",
|
|
2848
|
+
"type": {
|
|
2849
|
+
"kind": "primitive",
|
|
2850
|
+
"name": "boolean"
|
|
2851
|
+
},
|
|
2852
|
+
"description": "",
|
|
2853
|
+
"required": false
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"name": "search",
|
|
2857
|
+
"type": {
|
|
2858
|
+
"kind": "primitive",
|
|
2859
|
+
"name": "string"
|
|
2860
|
+
},
|
|
2861
|
+
"description": "",
|
|
2862
|
+
"default": "",
|
|
2863
|
+
"required": false
|
|
2749
2864
|
}
|
|
2750
2865
|
],
|
|
2751
2866
|
"events": [
|
|
@@ -2757,7 +2872,7 @@
|
|
|
2757
2872
|
{
|
|
2758
2873
|
"name": "update:open",
|
|
2759
2874
|
"description": "",
|
|
2760
|
-
"type": "[value: boolean]"
|
|
2875
|
+
"type": "[value: boolean | undefined]"
|
|
2761
2876
|
},
|
|
2762
2877
|
{
|
|
2763
2878
|
"name": "update:search",
|
|
@@ -2848,9 +2963,14 @@
|
|
|
2848
2963
|
},
|
|
2849
2964
|
{
|
|
2850
2965
|
"title": "Loading",
|
|
2851
|
-
"description": "Displays a loading animation that lets users know content is being loaded.",
|
|
2966
|
+
"description": "Displays a loading animation that lets users know content is being loaded. A status region announces it, since focus stays in the input.",
|
|
2852
2967
|
"code": "<QCombobox :items=\"[]\" :loading=\"true\" />"
|
|
2853
2968
|
},
|
|
2969
|
+
{
|
|
2970
|
+
"title": "No Match",
|
|
2971
|
+
"description": "When nothing matches what was typed, the open list says so, and a status region announces it, since focus stays in the input.",
|
|
2972
|
+
"code": "<QCombobox />"
|
|
2973
|
+
},
|
|
2854
2974
|
{
|
|
2855
2975
|
"title": "Overflow",
|
|
2856
2976
|
"description": "Controls how long option labels overflow relative to the field width. Defaults to `wrap`. - `wrap`: the menu matches the field and labels wrap onto more lines. - `truncate`: the menu matches the field and labels end in an ellipsis; a cut-off label shows its full text in a native `title` on hover. - `fit-content`: the menu grows with the longest option.",
|
|
@@ -2865,6 +2985,11 @@
|
|
|
2865
2985
|
"title": "Keyboard Navigation",
|
|
2866
2986
|
"description": "The list scrolls to show the selected option when it opens, and keeps the highlighted option in view as the keys move through a long list.",
|
|
2867
2987
|
"code": "<QCombobox model-value=\"radiohead\" />"
|
|
2988
|
+
},
|
|
2989
|
+
{
|
|
2990
|
+
"title": "Typing",
|
|
2991
|
+
"description": "Typing filters the list and highlights the first match, which Enter picks. Any character opens the list, Home and End move the caret while it is closed, and a press outside closes it, so it opens again with nothing highlighted.",
|
|
2992
|
+
"code": "<QCombobox />"
|
|
2868
2993
|
}
|
|
2869
2994
|
]
|
|
2870
2995
|
},
|
|
@@ -2873,30 +2998,6 @@
|
|
|
2873
2998
|
"description": "A component that enables users to select dates and times in various formats.",
|
|
2874
2999
|
"meta": {
|
|
2875
3000
|
"props": [
|
|
2876
|
-
{
|
|
2877
|
-
"name": "modelValue",
|
|
2878
|
-
"type": {
|
|
2879
|
-
"kind": "union",
|
|
2880
|
-
"types": [
|
|
2881
|
-
{
|
|
2882
|
-
"name": "string"
|
|
2883
|
-
},
|
|
2884
|
-
{
|
|
2885
|
-
"name": "object",
|
|
2886
|
-
"value": {}
|
|
2887
|
-
},
|
|
2888
|
-
{
|
|
2889
|
-
"name": "array",
|
|
2890
|
-
"value": {
|
|
2891
|
-
"name": "other",
|
|
2892
|
-
"value": "Date[]"
|
|
2893
|
-
}
|
|
2894
|
-
}
|
|
2895
|
-
]
|
|
2896
|
-
},
|
|
2897
|
-
"description": "",
|
|
2898
|
-
"required": false
|
|
2899
|
-
},
|
|
2900
3001
|
{
|
|
2901
3002
|
"name": "id",
|
|
2902
3003
|
"type": {
|
|
@@ -3004,8 +3105,8 @@
|
|
|
3004
3105
|
"type": {
|
|
3005
3106
|
"kind": "enum",
|
|
3006
3107
|
"values": [
|
|
3007
|
-
"medium",
|
|
3008
3108
|
"small",
|
|
3109
|
+
"medium",
|
|
3009
3110
|
"large",
|
|
3010
3111
|
"block",
|
|
3011
3112
|
"xlarge",
|
|
@@ -3098,6 +3199,30 @@
|
|
|
3098
3199
|
"description": "Enable selecting a range of two dates.",
|
|
3099
3200
|
"required": false,
|
|
3100
3201
|
"category": "Configuration"
|
|
3202
|
+
},
|
|
3203
|
+
{
|
|
3204
|
+
"name": "modelValue",
|
|
3205
|
+
"type": {
|
|
3206
|
+
"kind": "union",
|
|
3207
|
+
"types": [
|
|
3208
|
+
{
|
|
3209
|
+
"name": "string"
|
|
3210
|
+
},
|
|
3211
|
+
{
|
|
3212
|
+
"name": "object",
|
|
3213
|
+
"value": {}
|
|
3214
|
+
},
|
|
3215
|
+
{
|
|
3216
|
+
"name": "array",
|
|
3217
|
+
"value": {
|
|
3218
|
+
"name": "other",
|
|
3219
|
+
"value": "Date[]"
|
|
3220
|
+
}
|
|
3221
|
+
}
|
|
3222
|
+
]
|
|
3223
|
+
},
|
|
3224
|
+
"description": "Model and text-field value layering.\n\nThe picker keeps several related values because the v-model, the formatted display,\nand live typing each have different lifecycles:\n\n- `model` / `proxiedModel` — public v-model (`Date`, range, or string). Calendar, time\n controls, paste, and successful parse/blur write here. `proxiedModel` normalizes empty\n assignments to `undefined`.\n\n- `formattedValue` — `proxiedModel` rendered with `props.format` (committed value as text).\n\n- `inputDraftValue` — in-progress typed text while the user has not finished a valid value.\n Shown instead of `formattedValue` so partial input (e.g. `12/0`) stays visible without\n emitting a model update.\n\n- `displayValue` — `inputDraftValue ?? formattedValue`; the string the field should show\n when not being edited locally.\n\n- `fieldBinding` — bound to `q-text-field` (`:model-value`). Kept separate from\n `displayValue` so focused typing is not overwritten on every keystroke (which would reset\n the caret). Synced from `displayValue` when unfocused or when `proxiedModel` changes\n (overlay selection, paste, clear).\n\n- `isFieldFocused` — whether the main input is focused; defers external `displayValue`\n updates to `fieldBinding` while the user is typing.",
|
|
3225
|
+
"required": false
|
|
3101
3226
|
}
|
|
3102
3227
|
],
|
|
3103
3228
|
"events": [
|
|
@@ -3142,7 +3267,7 @@
|
|
|
3142
3267
|
},
|
|
3143
3268
|
{
|
|
3144
3269
|
"title": "Time Only",
|
|
3145
|
-
"description": "Time-only picker",
|
|
3270
|
+
"description": "Time-only picker. Without a calendar, the menu is only as wide as the time inputs.",
|
|
3146
3271
|
"code": "<QDateTimePicker format=\"HH:mm\" label=\"Select Time\" placeholder=\"HH:mm\" model-value=\"14:00\" />"
|
|
3147
3272
|
},
|
|
3148
3273
|
{
|
|
@@ -3169,6 +3294,26 @@
|
|
|
3169
3294
|
"title": "Range",
|
|
3170
3295
|
"description": "Range DateTime picker",
|
|
3171
3296
|
"code": "<QDateTimePicker label=\"Select a date range\" :range=\"true\" />"
|
|
3297
|
+
},
|
|
3298
|
+
{
|
|
3299
|
+
"title": "Keyboard",
|
|
3300
|
+
"description": "The days are a grid with one Tab stop: the selected day, else today. The arrows move by a day or a week, Home and End to the start and end of the week, and Page Up and Page Down by a month, or by a year with Shift. Enter picks the day. Escape closes the menu and goes back to the field, and Tab from the last control leaves the menu for what follows the field.",
|
|
3301
|
+
"code": "<q-date-time-picker v-bind=\"args\" v-model=\"args.modelValue\" />\n\t\t\t<q-button label=\"After\" style=\"margin-top: 1rem\" />"
|
|
3302
|
+
},
|
|
3303
|
+
{
|
|
3304
|
+
"title": "Month View",
|
|
3305
|
+
"description": "The month view, open.",
|
|
3306
|
+
"code": "<QDateTimePicker :model-value=\"new Date(2026, 4, 15)\" />"
|
|
3307
|
+
},
|
|
3308
|
+
{
|
|
3309
|
+
"title": "Year View",
|
|
3310
|
+
"description": "The year view, open.",
|
|
3311
|
+
"code": "<QDateTimePicker :model-value=\"new Date(2026, 4, 15)\" />"
|
|
3312
|
+
},
|
|
3313
|
+
{
|
|
3314
|
+
"title": "Time View",
|
|
3315
|
+
"description": "The time view, open.",
|
|
3316
|
+
"code": "<QDateTimePicker format=\"dd/MM/yyyy HH:mm:ss\" :model-value=\"new Date(2026, 4, 15, 9, 30)\" />"
|
|
3172
3317
|
}
|
|
3173
3318
|
]
|
|
3174
3319
|
},
|
|
@@ -3302,8 +3447,8 @@
|
|
|
3302
3447
|
"type": {
|
|
3303
3448
|
"kind": "enum",
|
|
3304
3449
|
"values": [
|
|
3305
|
-
"medium",
|
|
3306
3450
|
"small",
|
|
3451
|
+
"medium",
|
|
3307
3452
|
"large",
|
|
3308
3453
|
"xlarge",
|
|
3309
3454
|
"fit-content"
|
|
@@ -3361,7 +3506,7 @@
|
|
|
3361
3506
|
"kind": "primitive",
|
|
3362
3507
|
"name": "boolean"
|
|
3363
3508
|
},
|
|
3364
|
-
"description": "Whether to enable focus wrapping within the dialog.\nWhen enabled, focus by tabbing will wrap around elements within the dialog.",
|
|
3509
|
+
"description": "Whether to enable focus wrapping within the dialog.\nWhen enabled, focus by tabbing will wrap around elements within the dialog, and the\ndialog is modal (`aria-modal`): screen readers leave the page behind it alone. Without\nit, Tab reaches the page, so the page stays available to them too.",
|
|
3365
3510
|
"default": "true",
|
|
3366
3511
|
"required": false,
|
|
3367
3512
|
"category": "Behavior"
|
|
@@ -3543,7 +3688,7 @@
|
|
|
3543
3688
|
},
|
|
3544
3689
|
{
|
|
3545
3690
|
"title": "Dismissible",
|
|
3546
|
-
"description": "Displays an extra button on the header of the dialog, allowing the user to close it without interacting with the footer buttons.",
|
|
3691
|
+
"description": "Displays an extra button on the header of the dialog, allowing the user to close it without interacting with the footer buttons. The dialog is modal: focus moves into it when it opens, Tab and Shift+Tab stay inside it, and Escape closes it and returns focus to the button that opened it.",
|
|
3547
3692
|
"code": "<QDialog text=\"You clicked the button!\" :dismissible=\"true\" />"
|
|
3548
3693
|
},
|
|
3549
3694
|
{
|
|
@@ -3771,15 +3916,6 @@
|
|
|
3771
3916
|
"description": "A generic dropdown menu.",
|
|
3772
3917
|
"meta": {
|
|
3773
3918
|
"props": [
|
|
3774
|
-
{
|
|
3775
|
-
"name": "modelValue",
|
|
3776
|
-
"type": {
|
|
3777
|
-
"kind": "primitive",
|
|
3778
|
-
"name": "boolean"
|
|
3779
|
-
},
|
|
3780
|
-
"description": "",
|
|
3781
|
-
"required": false
|
|
3782
|
-
},
|
|
3783
3919
|
{
|
|
3784
3920
|
"name": "id",
|
|
3785
3921
|
"type": {
|
|
@@ -3804,7 +3940,7 @@
|
|
|
3804
3940
|
}
|
|
3805
3941
|
]
|
|
3806
3942
|
},
|
|
3807
|
-
"description": "The DOM element used to activate the dropdown menu.",
|
|
3943
|
+
"description": "The DOM element used to activate the dropdown menu, such as a button. It takes the states\nof a menu button (`aria-haspopup`, `aria-expanded` and, while the menu is open,\n`aria-controls`), and its `id` names the menu.",
|
|
3808
3944
|
"required": false,
|
|
3809
3945
|
"category": "Identification"
|
|
3810
3946
|
},
|
|
@@ -3907,6 +4043,7 @@
|
|
|
3907
4043
|
"name": "boolean"
|
|
3908
4044
|
},
|
|
3909
4045
|
"description": "Whether to disable teleport.",
|
|
4046
|
+
"default": "undefined",
|
|
3910
4047
|
"required": false,
|
|
3911
4048
|
"category": "Behavior"
|
|
3912
4049
|
},
|
|
@@ -3943,13 +4080,22 @@
|
|
|
3943
4080
|
"description": "Custom icon configurations. Includes the icons of the list.\nPass every key, or omit the prop to keep the defaults.",
|
|
3944
4081
|
"required": false,
|
|
3945
4082
|
"category": "Configuration"
|
|
4083
|
+
},
|
|
4084
|
+
{
|
|
4085
|
+
"name": "modelValue",
|
|
4086
|
+
"type": {
|
|
4087
|
+
"kind": "primitive",
|
|
4088
|
+
"name": "boolean"
|
|
4089
|
+
},
|
|
4090
|
+
"description": "",
|
|
4091
|
+
"required": false
|
|
3946
4092
|
}
|
|
3947
4093
|
],
|
|
3948
4094
|
"events": [
|
|
3949
4095
|
{
|
|
3950
4096
|
"name": "update:modelValue",
|
|
3951
4097
|
"description": "",
|
|
3952
|
-
"type": "[value: boolean]"
|
|
4098
|
+
"type": "[value: boolean | undefined]"
|
|
3953
4099
|
},
|
|
3954
4100
|
{
|
|
3955
4101
|
"name": "select",
|
|
@@ -4007,6 +4153,11 @@
|
|
|
4007
4153
|
"description": "A dropdown menu with submenus.",
|
|
4008
4154
|
"code": "<q-button\n\t\t\t\tref=\"activatorRef\"\n\t\t\t\tlabel=\"Click me\" />\n\t\t\t<q-dropdown-menu\n\t\t\t\tv-bind=\"args\"\n\t\t\t\t:activator=\"activator?.$el\" />"
|
|
4009
4155
|
},
|
|
4156
|
+
{
|
|
4157
|
+
"title": "Keyboard",
|
|
4158
|
+
"description": "The menu by keyboard. Enter or Space on the button opens the menu and focuses its first item; the arrows move between items, ArrowRight or Enter opens a submenu, and ArrowLeft or Escape closes it back to its item. Escape closes the menu back to the button, and Tab closes it and goes on from the button.",
|
|
4159
|
+
"code": "<q-button\n\t\t\t\tref=\"activatorRef\"\n\t\t\t\tlabel=\"Click me\" />\n\t\t\t<q-dropdown-menu\n\t\t\t\tv-bind=\"args\"\n\t\t\t\t:activator=\"activator?.$el\"\n\t\t\t\t@select=\"onSelect\" />\n\t\t\t<q-button label=\"Next\" />"
|
|
4160
|
+
},
|
|
4010
4161
|
{
|
|
4011
4162
|
"title": "Custom Activator",
|
|
4012
4163
|
"description": "Example of a custom activator other than a button.",
|
|
@@ -4127,8 +4278,8 @@
|
|
|
4127
4278
|
"type": {
|
|
4128
4279
|
"kind": "enum",
|
|
4129
4280
|
"values": [
|
|
4130
|
-
"medium",
|
|
4131
4281
|
"small",
|
|
4282
|
+
"medium",
|
|
4132
4283
|
"large",
|
|
4133
4284
|
"block",
|
|
4134
4285
|
"xlarge",
|
|
@@ -4211,15 +4362,6 @@
|
|
|
4211
4362
|
"description": "An image input field with drag and drop area for uploading files.",
|
|
4212
4363
|
"meta": {
|
|
4213
4364
|
"props": [
|
|
4214
|
-
{
|
|
4215
|
-
"name": "modelValue",
|
|
4216
|
-
"type": {
|
|
4217
|
-
"kind": "object",
|
|
4218
|
-
"fields": {}
|
|
4219
|
-
},
|
|
4220
|
-
"description": "",
|
|
4221
|
-
"required": false
|
|
4222
|
-
},
|
|
4223
4365
|
{
|
|
4224
4366
|
"name": "id",
|
|
4225
4367
|
"type": {
|
|
@@ -4327,8 +4469,8 @@
|
|
|
4327
4469
|
"type": {
|
|
4328
4470
|
"kind": "enum",
|
|
4329
4471
|
"values": [
|
|
4330
|
-
"medium",
|
|
4331
4472
|
"small",
|
|
4473
|
+
"medium",
|
|
4332
4474
|
"large",
|
|
4333
4475
|
"block",
|
|
4334
4476
|
"xlarge",
|
|
@@ -4390,13 +4532,22 @@
|
|
|
4390
4532
|
"description": "Specifies the accepted file types.",
|
|
4391
4533
|
"required": false,
|
|
4392
4534
|
"category": "Behavior"
|
|
4535
|
+
},
|
|
4536
|
+
{
|
|
4537
|
+
"name": "modelValue",
|
|
4538
|
+
"type": {
|
|
4539
|
+
"kind": "object",
|
|
4540
|
+
"fields": {}
|
|
4541
|
+
},
|
|
4542
|
+
"description": "",
|
|
4543
|
+
"required": false
|
|
4393
4544
|
}
|
|
4394
4545
|
],
|
|
4395
4546
|
"events": [
|
|
4396
4547
|
{
|
|
4397
4548
|
"name": "update:modelValue",
|
|
4398
4549
|
"description": "",
|
|
4399
|
-
"type": "[value: File]"
|
|
4550
|
+
"type": "[value: File | undefined]"
|
|
4400
4551
|
}
|
|
4401
4552
|
],
|
|
4402
4553
|
"slots": [
|
|
@@ -4424,9 +4575,14 @@
|
|
|
4424
4575
|
},
|
|
4425
4576
|
{
|
|
4426
4577
|
"title": "Required",
|
|
4427
|
-
"description": "A required file input.",
|
|
4578
|
+
"description": "A required file input. A button cannot be marked required, so \"Choose file\" is described as required instead, until a file is chosen.",
|
|
4428
4579
|
"code": "<QFileUpload :required=\"true\" label=\"Required file input\" />"
|
|
4429
4580
|
},
|
|
4581
|
+
{
|
|
4582
|
+
"title": "Invalid",
|
|
4583
|
+
"description": "An invalid file input, with help that says what to fix. A button cannot be marked invalid, so \"Choose file\" is described as invalid instead, and so are the file's actions once one is chosen.",
|
|
4584
|
+
"code": "<QFileUpload :required=\"true\" :invalid=\"true\" label=\"Contract\" help=\"Attach the signed contract as a PDF.\" help-display=\"subtext\" />"
|
|
4585
|
+
},
|
|
4430
4586
|
{
|
|
4431
4587
|
"title": "Accept Images",
|
|
4432
4588
|
"description": "A file input with a specific accepted file type (images only). Dragging a file that is not an image, or more than one file, shows that the drop is not allowed.",
|
|
@@ -4557,15 +4713,6 @@
|
|
|
4557
4713
|
"description": "A gauge displays a KPI within a bounded scale and can highlight semantic performance ranges.",
|
|
4558
4714
|
"meta": {
|
|
4559
4715
|
"props": [
|
|
4560
|
-
{
|
|
4561
|
-
"name": "modelValue",
|
|
4562
|
-
"type": {
|
|
4563
|
-
"kind": "primitive",
|
|
4564
|
-
"name": "number"
|
|
4565
|
-
},
|
|
4566
|
-
"description": "",
|
|
4567
|
-
"required": false
|
|
4568
|
-
},
|
|
4569
4716
|
{
|
|
4570
4717
|
"name": "id",
|
|
4571
4718
|
"type": {
|
|
@@ -4776,6 +4923,16 @@
|
|
|
4776
4923
|
"description": "Formatter used for scale labels.",
|
|
4777
4924
|
"required": false,
|
|
4778
4925
|
"category": "Configuration"
|
|
4926
|
+
},
|
|
4927
|
+
{
|
|
4928
|
+
"name": "modelValue",
|
|
4929
|
+
"type": {
|
|
4930
|
+
"kind": "primitive",
|
|
4931
|
+
"name": "number"
|
|
4932
|
+
},
|
|
4933
|
+
"description": "",
|
|
4934
|
+
"default": "0",
|
|
4935
|
+
"required": false
|
|
4779
4936
|
}
|
|
4780
4937
|
],
|
|
4781
4938
|
"events": [
|
|
@@ -4866,8 +5023,8 @@
|
|
|
4866
5023
|
"kind": "enum",
|
|
4867
5024
|
"values": [
|
|
4868
5025
|
"svg",
|
|
4869
|
-
"
|
|
4870
|
-
"
|
|
5026
|
+
"img",
|
|
5027
|
+
"font"
|
|
4871
5028
|
]
|
|
4872
5029
|
},
|
|
4873
5030
|
"description": "The type of resource.",
|
|
@@ -4890,6 +5047,11 @@
|
|
|
4890
5047
|
"description": "Example using [Font Awesome Icons](https://fontawesome.com/).",
|
|
4891
5048
|
"code": "<QIcon icon=\"house\" type=\"font\" />"
|
|
4892
5049
|
},
|
|
5050
|
+
{
|
|
5051
|
+
"title": "Image Icon",
|
|
5052
|
+
"description": "An image as the icon. It is decorative, as the other icons are: give it an `alt` when it means something on its own.",
|
|
5053
|
+
"code": "<QIcon :icon=\"'data:image/svg+xml,' +\n\t\t\tencodeURIComponent(\n\t\t\t\t'<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><circle cx=\"12\" cy=\"12\" r=\"10\" fill=\"#185fa5\"/></svg>'\n\t\t\t)\" type=\"img\" />"
|
|
5054
|
+
},
|
|
4893
5055
|
{
|
|
4894
5056
|
"title": "Custom Colors",
|
|
4895
5057
|
"description": "Displays an icon with a custom color, conveying semantic meaning.",
|
|
@@ -4947,8 +5109,8 @@
|
|
|
4947
5109
|
"type": {
|
|
4948
5110
|
"kind": "enum",
|
|
4949
5111
|
"values": [
|
|
4950
|
-
"medium",
|
|
4951
5112
|
"small",
|
|
5113
|
+
"medium",
|
|
4952
5114
|
"large",
|
|
4953
5115
|
"block",
|
|
4954
5116
|
"xlarge",
|
|
@@ -5156,6 +5318,11 @@
|
|
|
5156
5318
|
"description": "Displays an asterisk next to the group label.",
|
|
5157
5319
|
"code": "<QInputGroup label=\"Full name\" :required=\"true\" />"
|
|
5158
5320
|
},
|
|
5321
|
+
{
|
|
5322
|
+
"title": "Help",
|
|
5323
|
+
"description": "Help shown in a popover beside the group label.",
|
|
5324
|
+
"code": "<QInputGroup label=\"Full name\" help=\"As it appears on your ID\" :required=\"true\" />"
|
|
5325
|
+
},
|
|
5159
5326
|
{
|
|
5160
5327
|
"title": "Disabled",
|
|
5161
5328
|
"description": "Disables the group and every control in it, buttons included. A control that sets its own `disabled` keeps it.",
|
|
@@ -5569,6 +5736,11 @@
|
|
|
5569
5736
|
"title": "Multiple And Required",
|
|
5570
5737
|
"description": "Allows the user to select multiple items from the list and requires at least one item to be selected.",
|
|
5571
5738
|
"code": "<QList :items=\"[\n\t\t\t{ key: 'item1', label: 'Item 1' },\n\t\t\t{ key: 'item2', label: 'Item 2' },\n\t\t\t{ key: 'item3', label: 'Item 3' }\n\t\t]\" :required=\"true\" :multiple=\"true\" />"
|
|
5739
|
+
},
|
|
5740
|
+
{
|
|
5741
|
+
"title": "Keyboard Navigation",
|
|
5742
|
+
"description": "The list takes one place in the Tab order. Tab moves focus into it, on the selected option, and out of it again; the arrow keys, Home and End move between the options and scroll the focused one into view.",
|
|
5743
|
+
"code": "<div style=\"display: flex; flex-direction: column; gap: 0.5rem; align-items: start;\">\n\t\t\t\t<q-button label=\"Before the list\" />\n\t\t\t\t<q-list\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\tv-model=\"value\"\n\t\t\t\t\tstyle=\"align-self: stretch; max-height: 8rem; overflow-y: auto;\" />\n\t\t\t\t<q-button label=\"After the list\" />\n\t\t\t</div>"
|
|
5572
5744
|
}
|
|
5573
5745
|
]
|
|
5574
5746
|
},
|
|
@@ -5577,15 +5749,6 @@
|
|
|
5577
5749
|
"description": "A meter represents a quantity within a known range, or a fractional value that is not ongoing progress.",
|
|
5578
5750
|
"meta": {
|
|
5579
5751
|
"props": [
|
|
5580
|
-
{
|
|
5581
|
-
"name": "modelValue",
|
|
5582
|
-
"type": {
|
|
5583
|
-
"kind": "primitive",
|
|
5584
|
-
"name": "number"
|
|
5585
|
-
},
|
|
5586
|
-
"description": "",
|
|
5587
|
-
"required": false
|
|
5588
|
-
},
|
|
5589
5752
|
{
|
|
5590
5753
|
"name": "id",
|
|
5591
5754
|
"type": {
|
|
@@ -5596,16 +5759,6 @@
|
|
|
5596
5759
|
"required": false,
|
|
5597
5760
|
"category": "Identification"
|
|
5598
5761
|
},
|
|
5599
|
-
{
|
|
5600
|
-
"name": "label",
|
|
5601
|
-
"type": {
|
|
5602
|
-
"kind": "primitive",
|
|
5603
|
-
"name": "string"
|
|
5604
|
-
},
|
|
5605
|
-
"description": "The label of the input.",
|
|
5606
|
-
"required": false,
|
|
5607
|
-
"category": "Content"
|
|
5608
|
-
},
|
|
5609
5762
|
{
|
|
5610
5763
|
"name": "required",
|
|
5611
5764
|
"type": {
|
|
@@ -5616,16 +5769,6 @@
|
|
|
5616
5769
|
"required": false,
|
|
5617
5770
|
"category": "State"
|
|
5618
5771
|
},
|
|
5619
|
-
{
|
|
5620
|
-
"name": "for",
|
|
5621
|
-
"type": {
|
|
5622
|
-
"kind": "primitive",
|
|
5623
|
-
"name": "string"
|
|
5624
|
-
},
|
|
5625
|
-
"description": "The form field associated with the label.",
|
|
5626
|
-
"required": false,
|
|
5627
|
-
"category": "Accessibility"
|
|
5628
|
-
},
|
|
5629
5772
|
{
|
|
5630
5773
|
"name": "labelPosition",
|
|
5631
5774
|
"type": {
|
|
@@ -5643,20 +5786,40 @@
|
|
|
5643
5786
|
"category": "Presentation"
|
|
5644
5787
|
},
|
|
5645
5788
|
{
|
|
5646
|
-
"name": "
|
|
5789
|
+
"name": "for",
|
|
5647
5790
|
"type": {
|
|
5648
|
-
"kind": "
|
|
5649
|
-
"
|
|
5650
|
-
{
|
|
5651
|
-
"name": "string"
|
|
5652
|
-
},
|
|
5653
|
-
{
|
|
5654
|
-
"name": "other",
|
|
5655
|
-
"value": "(value: number, max: number): string"
|
|
5656
|
-
}
|
|
5657
|
-
]
|
|
5791
|
+
"kind": "primitive",
|
|
5792
|
+
"name": "string"
|
|
5658
5793
|
},
|
|
5659
|
-
"description": "
|
|
5794
|
+
"description": "The form field associated with the label.",
|
|
5795
|
+
"required": false,
|
|
5796
|
+
"category": "Accessibility"
|
|
5797
|
+
},
|
|
5798
|
+
{
|
|
5799
|
+
"name": "label",
|
|
5800
|
+
"type": {
|
|
5801
|
+
"kind": "primitive",
|
|
5802
|
+
"name": "string"
|
|
5803
|
+
},
|
|
5804
|
+
"description": "The label shown above the meter, which also names it for assistive technology. A meter\nwithout a visible label needs a name another way: pass `aria-label`, which lands on the\n`role=\"meter\"` element.",
|
|
5805
|
+
"required": false,
|
|
5806
|
+
"category": "Content"
|
|
5807
|
+
},
|
|
5808
|
+
{
|
|
5809
|
+
"name": "valueLabel",
|
|
5810
|
+
"type": {
|
|
5811
|
+
"kind": "union",
|
|
5812
|
+
"types": [
|
|
5813
|
+
{
|
|
5814
|
+
"name": "string"
|
|
5815
|
+
},
|
|
5816
|
+
{
|
|
5817
|
+
"name": "other",
|
|
5818
|
+
"value": "(value: number, max: number): string"
|
|
5819
|
+
}
|
|
5820
|
+
]
|
|
5821
|
+
},
|
|
5822
|
+
"description": "Label to display next to the meter value.",
|
|
5660
5823
|
"required": false,
|
|
5661
5824
|
"category": "Content"
|
|
5662
5825
|
},
|
|
@@ -5680,6 +5843,16 @@
|
|
|
5680
5843
|
"default": "100",
|
|
5681
5844
|
"required": false,
|
|
5682
5845
|
"category": "Configuration"
|
|
5846
|
+
},
|
|
5847
|
+
{
|
|
5848
|
+
"name": "modelValue",
|
|
5849
|
+
"type": {
|
|
5850
|
+
"kind": "primitive",
|
|
5851
|
+
"name": "number"
|
|
5852
|
+
},
|
|
5853
|
+
"description": "",
|
|
5854
|
+
"default": "0",
|
|
5855
|
+
"required": false
|
|
5683
5856
|
}
|
|
5684
5857
|
],
|
|
5685
5858
|
"events": [
|
|
@@ -5709,15 +5882,6 @@
|
|
|
5709
5882
|
"description": "Permission-based data obfuscation for consulta / sensitive fields. - No permission: plain \"Restricted\" (or bullets) — no action. - Can reveal: a padlock toggles the value. When revealed, either: - place scoped-slot `qObfuscationHideAction` on the field's `label.append` (QObfuscation then hides its own label/padlock), or - omit it and QObfuscation keeps its label with the hide padlock. - Set `loading` while fetching on reveal (before the value becomes visible).",
|
|
5710
5883
|
"meta": {
|
|
5711
5884
|
"props": [
|
|
5712
|
-
{
|
|
5713
|
-
"name": "revealed",
|
|
5714
|
-
"type": {
|
|
5715
|
-
"kind": "primitive",
|
|
5716
|
-
"name": "boolean"
|
|
5717
|
-
},
|
|
5718
|
-
"description": "",
|
|
5719
|
-
"required": false
|
|
5720
|
-
},
|
|
5721
5885
|
{
|
|
5722
5886
|
"name": "id",
|
|
5723
5887
|
"type": {
|
|
@@ -5827,8 +5991,8 @@
|
|
|
5827
5991
|
"type": {
|
|
5828
5992
|
"kind": "enum",
|
|
5829
5993
|
"values": [
|
|
5830
|
-
"medium",
|
|
5831
5994
|
"small",
|
|
5995
|
+
"medium",
|
|
5832
5996
|
"large",
|
|
5833
5997
|
"block",
|
|
5834
5998
|
"xlarge",
|
|
@@ -5917,6 +6081,16 @@
|
|
|
5917
6081
|
"default": "12",
|
|
5918
6082
|
"required": false,
|
|
5919
6083
|
"category": "Presentation"
|
|
6084
|
+
},
|
|
6085
|
+
{
|
|
6086
|
+
"name": "revealed",
|
|
6087
|
+
"type": {
|
|
6088
|
+
"kind": "primitive",
|
|
6089
|
+
"name": "boolean"
|
|
6090
|
+
},
|
|
6091
|
+
"description": "",
|
|
6092
|
+
"default": "false",
|
|
6093
|
+
"required": false
|
|
5920
6094
|
}
|
|
5921
6095
|
],
|
|
5922
6096
|
"events": [
|
|
@@ -5976,7 +6150,7 @@
|
|
|
5976
6150
|
},
|
|
5977
6151
|
{
|
|
5978
6152
|
"title": "Revealable Hidden",
|
|
5979
|
-
"description": "Allow reveal — masked state displays only a padlock (PDF step 1).",
|
|
6153
|
+
"description": "Allow reveal — masked state displays only a padlock (PDF step 1). The reveal and hide buttons take each other's place, and focus follows the one that now toggles.",
|
|
5980
6154
|
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\tv-model:revealed=\"revealed\">\n\t\t\t\tField value revealed\n\t\t\t</q-obfuscation>"
|
|
5981
6155
|
},
|
|
5982
6156
|
{
|
|
@@ -6036,7 +6210,7 @@
|
|
|
6036
6210
|
},
|
|
6037
6211
|
{
|
|
6038
6212
|
"title": "Loading",
|
|
6039
|
-
"description": "Simulated server fetch after reveal — spinner until data is ready.",
|
|
6213
|
+
"description": "Simulated server fetch after reveal — spinner until data is ready. The reveal button keeps focus while it loads, and focus moves to the hide button once the value shows.",
|
|
6040
6214
|
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\t:loading=\"loading\"\n\t\t\t\tv-model:revealed=\"revealed\"\n\t\t\t\t@hide=\"onHide\">\n\t\t\t\t<template #reveal>\n\t\t\t\t\t<q-button\n\t\t\t\t\t\tvariant=\"text\"\n\t\t\t\t\t\tborderless\n\t\t\t\t\t\tblock\n\t\t\t\t\t\tclass=\"q-obfuscation__action\"\n\t\t\t\t\t\t:loading=\"loading\"\n\t\t\t\t\t\tlabel=\"Show data\"\n\t\t\t\t\t\tdata-testid=\"q-obfuscation__reveal\"\n\t\t\t\t\t\t@click=\"fetchAndReveal\">\n\t\t\t\t\t\t<q-icon icon=\"lock\" class=\"q-obfuscation__icon\" />\n\t\t\t\t\t</q-button>\n\t\t\t\t</template>\n\t\t\t\t{{ value }}\n\t\t\t</q-obfuscation>"
|
|
6041
6215
|
},
|
|
6042
6216
|
{
|
|
@@ -6642,24 +6816,6 @@
|
|
|
6642
6816
|
"description": "An input field for password entry, supporting validation rules, strength indication, and visibility toggling.",
|
|
6643
6817
|
"meta": {
|
|
6644
6818
|
"props": [
|
|
6645
|
-
{
|
|
6646
|
-
"name": "modelValue",
|
|
6647
|
-
"type": {
|
|
6648
|
-
"kind": "primitive",
|
|
6649
|
-
"name": "string"
|
|
6650
|
-
},
|
|
6651
|
-
"description": "",
|
|
6652
|
-
"required": false
|
|
6653
|
-
},
|
|
6654
|
-
{
|
|
6655
|
-
"name": "masked",
|
|
6656
|
-
"type": {
|
|
6657
|
-
"kind": "primitive",
|
|
6658
|
-
"name": "boolean"
|
|
6659
|
-
},
|
|
6660
|
-
"description": "",
|
|
6661
|
-
"required": false
|
|
6662
|
-
},
|
|
6663
6819
|
{
|
|
6664
6820
|
"name": "id",
|
|
6665
6821
|
"type": {
|
|
@@ -6696,8 +6852,8 @@
|
|
|
6696
6852
|
"type": {
|
|
6697
6853
|
"kind": "enum",
|
|
6698
6854
|
"values": [
|
|
6699
|
-
"medium",
|
|
6700
6855
|
"small",
|
|
6856
|
+
"medium",
|
|
6701
6857
|
"large",
|
|
6702
6858
|
"block",
|
|
6703
6859
|
"xlarge",
|
|
@@ -6790,24 +6946,24 @@
|
|
|
6790
6946
|
"category": "State"
|
|
6791
6947
|
},
|
|
6792
6948
|
{
|
|
6793
|
-
"name": "
|
|
6949
|
+
"name": "invalid",
|
|
6794
6950
|
"type": {
|
|
6795
6951
|
"kind": "primitive",
|
|
6796
|
-
"name": "
|
|
6952
|
+
"name": "boolean"
|
|
6797
6953
|
},
|
|
6798
|
-
"description": "
|
|
6954
|
+
"description": "Whether the input is invalid.",
|
|
6799
6955
|
"required": false,
|
|
6800
|
-
"category": "
|
|
6956
|
+
"category": "State"
|
|
6801
6957
|
},
|
|
6802
6958
|
{
|
|
6803
|
-
"name": "
|
|
6959
|
+
"name": "placeholder",
|
|
6804
6960
|
"type": {
|
|
6805
6961
|
"kind": "primitive",
|
|
6806
|
-
"name": "
|
|
6962
|
+
"name": "string"
|
|
6807
6963
|
},
|
|
6808
|
-
"description": "
|
|
6964
|
+
"description": "The placeholder text for the text field.",
|
|
6809
6965
|
"required": false,
|
|
6810
|
-
"category": "
|
|
6966
|
+
"category": "Content"
|
|
6811
6967
|
},
|
|
6812
6968
|
{
|
|
6813
6969
|
"name": "maxLength",
|
|
@@ -6886,13 +7042,32 @@
|
|
|
6886
7042
|
"default": "DEFAULT_TEXTS",
|
|
6887
7043
|
"required": false,
|
|
6888
7044
|
"category": "Configuration"
|
|
7045
|
+
},
|
|
7046
|
+
{
|
|
7047
|
+
"name": "modelValue",
|
|
7048
|
+
"type": {
|
|
7049
|
+
"kind": "primitive",
|
|
7050
|
+
"name": "string"
|
|
7051
|
+
},
|
|
7052
|
+
"description": "",
|
|
7053
|
+
"required": false
|
|
7054
|
+
},
|
|
7055
|
+
{
|
|
7056
|
+
"name": "masked",
|
|
7057
|
+
"type": {
|
|
7058
|
+
"kind": "primitive",
|
|
7059
|
+
"name": "boolean"
|
|
7060
|
+
},
|
|
7061
|
+
"description": "The visibility of the password.",
|
|
7062
|
+
"default": "true",
|
|
7063
|
+
"required": false
|
|
6889
7064
|
}
|
|
6890
7065
|
],
|
|
6891
7066
|
"events": [
|
|
6892
7067
|
{
|
|
6893
7068
|
"name": "update:modelValue",
|
|
6894
7069
|
"description": "",
|
|
6895
|
-
"type": "[value: string]"
|
|
7070
|
+
"type": "[value: string | undefined]"
|
|
6896
7071
|
},
|
|
6897
7072
|
{
|
|
6898
7073
|
"name": "update:masked",
|
|
@@ -6977,320 +7152,47 @@
|
|
|
6977
7152
|
"meta": {
|
|
6978
7153
|
"props": [
|
|
6979
7154
|
{
|
|
6980
|
-
"name": "
|
|
7155
|
+
"name": "id",
|
|
6981
7156
|
"type": {
|
|
6982
7157
|
"kind": "primitive",
|
|
6983
7158
|
"name": "string"
|
|
6984
7159
|
},
|
|
6985
|
-
"description": "",
|
|
6986
|
-
"required": false
|
|
7160
|
+
"description": "The component unique identifier.",
|
|
7161
|
+
"required": false,
|
|
7162
|
+
"category": "Identification"
|
|
6987
7163
|
},
|
|
6988
7164
|
{
|
|
6989
|
-
"name": "
|
|
6990
|
-
"type": {
|
|
6991
|
-
"kind": "
|
|
6992
|
-
"
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
"BM",
|
|
7021
|
-
"BN",
|
|
7022
|
-
"BO",
|
|
7023
|
-
"BQ",
|
|
7024
|
-
"BR",
|
|
7025
|
-
"BS",
|
|
7026
|
-
"BT",
|
|
7027
|
-
"BW",
|
|
7028
|
-
"BY",
|
|
7029
|
-
"BZ",
|
|
7030
|
-
"CA",
|
|
7031
|
-
"CC",
|
|
7032
|
-
"CD",
|
|
7033
|
-
"CF",
|
|
7034
|
-
"CG",
|
|
7035
|
-
"CH",
|
|
7036
|
-
"CI",
|
|
7037
|
-
"CK",
|
|
7038
|
-
"CL",
|
|
7039
|
-
"CM",
|
|
7040
|
-
"CN",
|
|
7041
|
-
"CO",
|
|
7042
|
-
"CR",
|
|
7043
|
-
"CU",
|
|
7044
|
-
"CV",
|
|
7045
|
-
"CW",
|
|
7046
|
-
"CX",
|
|
7047
|
-
"CY",
|
|
7048
|
-
"CZ",
|
|
7049
|
-
"DE",
|
|
7050
|
-
"DJ",
|
|
7051
|
-
"DK",
|
|
7052
|
-
"DM",
|
|
7053
|
-
"DO",
|
|
7054
|
-
"DZ",
|
|
7055
|
-
"EC",
|
|
7056
|
-
"EE",
|
|
7057
|
-
"EG",
|
|
7058
|
-
"EH",
|
|
7059
|
-
"ER",
|
|
7060
|
-
"ES",
|
|
7061
|
-
"ET",
|
|
7062
|
-
"FI",
|
|
7063
|
-
"FJ",
|
|
7064
|
-
"FK",
|
|
7065
|
-
"FM",
|
|
7066
|
-
"FO",
|
|
7067
|
-
"FR",
|
|
7068
|
-
"GA",
|
|
7069
|
-
"GB",
|
|
7070
|
-
"GD",
|
|
7071
|
-
"GE",
|
|
7072
|
-
"GF",
|
|
7073
|
-
"GG",
|
|
7074
|
-
"GH",
|
|
7075
|
-
"GI",
|
|
7076
|
-
"GL",
|
|
7077
|
-
"GM",
|
|
7078
|
-
"GN",
|
|
7079
|
-
"GP",
|
|
7080
|
-
"GQ",
|
|
7081
|
-
"GR",
|
|
7082
|
-
"GT",
|
|
7083
|
-
"GU",
|
|
7084
|
-
"GW",
|
|
7085
|
-
"GY",
|
|
7086
|
-
"HK",
|
|
7087
|
-
"HN",
|
|
7088
|
-
"HR",
|
|
7089
|
-
"HT",
|
|
7090
|
-
"HU",
|
|
7091
|
-
"ID",
|
|
7092
|
-
"IE",
|
|
7093
|
-
"IL",
|
|
7094
|
-
"IM",
|
|
7095
|
-
"IN",
|
|
7096
|
-
"IO",
|
|
7097
|
-
"IQ",
|
|
7098
|
-
"IR",
|
|
7099
|
-
"IS",
|
|
7100
|
-
"IT",
|
|
7101
|
-
"JE",
|
|
7102
|
-
"JM",
|
|
7103
|
-
"JO",
|
|
7104
|
-
"JP",
|
|
7105
|
-
"KE",
|
|
7106
|
-
"KG",
|
|
7107
|
-
"KH",
|
|
7108
|
-
"KI",
|
|
7109
|
-
"KM",
|
|
7110
|
-
"KN",
|
|
7111
|
-
"KP",
|
|
7112
|
-
"KR",
|
|
7113
|
-
"KW",
|
|
7114
|
-
"KY",
|
|
7115
|
-
"KZ",
|
|
7116
|
-
"LA",
|
|
7117
|
-
"LB",
|
|
7118
|
-
"LC",
|
|
7119
|
-
"LI",
|
|
7120
|
-
"LK",
|
|
7121
|
-
"LR",
|
|
7122
|
-
"LS",
|
|
7123
|
-
"LT",
|
|
7124
|
-
"LU",
|
|
7125
|
-
"LV",
|
|
7126
|
-
"LY",
|
|
7127
|
-
"MA",
|
|
7128
|
-
"MC",
|
|
7129
|
-
"MD",
|
|
7130
|
-
"ME",
|
|
7131
|
-
"MF",
|
|
7132
|
-
"MG",
|
|
7133
|
-
"MH",
|
|
7134
|
-
"MK",
|
|
7135
|
-
"ML",
|
|
7136
|
-
"MM",
|
|
7137
|
-
"MN",
|
|
7138
|
-
"MO",
|
|
7139
|
-
"MP",
|
|
7140
|
-
"MQ",
|
|
7141
|
-
"MR",
|
|
7142
|
-
"MS",
|
|
7143
|
-
"MT",
|
|
7144
|
-
"MU",
|
|
7145
|
-
"MV",
|
|
7146
|
-
"MW",
|
|
7147
|
-
"MX",
|
|
7148
|
-
"MY",
|
|
7149
|
-
"MZ",
|
|
7150
|
-
"NA",
|
|
7151
|
-
"NC",
|
|
7152
|
-
"NE",
|
|
7153
|
-
"NF",
|
|
7154
|
-
"NG",
|
|
7155
|
-
"NI",
|
|
7156
|
-
"NL",
|
|
7157
|
-
"NO",
|
|
7158
|
-
"NP",
|
|
7159
|
-
"NR",
|
|
7160
|
-
"NU",
|
|
7161
|
-
"NZ",
|
|
7162
|
-
"OM",
|
|
7163
|
-
"PA",
|
|
7164
|
-
"PE",
|
|
7165
|
-
"PF",
|
|
7166
|
-
"PG",
|
|
7167
|
-
"PH",
|
|
7168
|
-
"PK",
|
|
7169
|
-
"PL",
|
|
7170
|
-
"PR",
|
|
7171
|
-
"PS",
|
|
7172
|
-
"PT",
|
|
7173
|
-
"PW",
|
|
7174
|
-
"PY",
|
|
7175
|
-
"QA",
|
|
7176
|
-
"RE",
|
|
7177
|
-
"RO",
|
|
7178
|
-
"RS",
|
|
7179
|
-
"RU",
|
|
7180
|
-
"RW",
|
|
7181
|
-
"SA",
|
|
7182
|
-
"SB",
|
|
7183
|
-
"SC",
|
|
7184
|
-
"SD",
|
|
7185
|
-
"SE",
|
|
7186
|
-
"SG",
|
|
7187
|
-
"SH",
|
|
7188
|
-
"SI",
|
|
7189
|
-
"SJ",
|
|
7190
|
-
"SK",
|
|
7191
|
-
"SL",
|
|
7192
|
-
"SM",
|
|
7193
|
-
"SN",
|
|
7194
|
-
"SO",
|
|
7195
|
-
"SR",
|
|
7196
|
-
"SS",
|
|
7197
|
-
"ST",
|
|
7198
|
-
"SV",
|
|
7199
|
-
"SX",
|
|
7200
|
-
"SY",
|
|
7201
|
-
"SZ",
|
|
7202
|
-
"TA",
|
|
7203
|
-
"TC",
|
|
7204
|
-
"TD",
|
|
7205
|
-
"TG",
|
|
7206
|
-
"TH",
|
|
7207
|
-
"TJ",
|
|
7208
|
-
"TK",
|
|
7209
|
-
"TL",
|
|
7210
|
-
"TM",
|
|
7211
|
-
"TN",
|
|
7212
|
-
"TO",
|
|
7213
|
-
"TR",
|
|
7214
|
-
"TT",
|
|
7215
|
-
"TV",
|
|
7216
|
-
"TW",
|
|
7217
|
-
"TZ",
|
|
7218
|
-
"UA",
|
|
7219
|
-
"UG",
|
|
7220
|
-
"US",
|
|
7221
|
-
"UY",
|
|
7222
|
-
"UZ",
|
|
7223
|
-
"VA",
|
|
7224
|
-
"VC",
|
|
7225
|
-
"VE",
|
|
7226
|
-
"VG",
|
|
7227
|
-
"VI",
|
|
7228
|
-
"VN",
|
|
7229
|
-
"VU",
|
|
7230
|
-
"WF",
|
|
7231
|
-
"WS",
|
|
7232
|
-
"XK",
|
|
7233
|
-
"YE",
|
|
7234
|
-
"YT",
|
|
7235
|
-
"ZA",
|
|
7236
|
-
"ZM",
|
|
7237
|
-
"ZW"
|
|
7238
|
-
]
|
|
7239
|
-
},
|
|
7240
|
-
"description": "",
|
|
7241
|
-
"required": false
|
|
7242
|
-
},
|
|
7243
|
-
{
|
|
7244
|
-
"name": "open",
|
|
7245
|
-
"type": {
|
|
7246
|
-
"kind": "primitive",
|
|
7247
|
-
"name": "boolean"
|
|
7248
|
-
},
|
|
7249
|
-
"description": "",
|
|
7250
|
-
"required": false
|
|
7251
|
-
},
|
|
7252
|
-
{
|
|
7253
|
-
"name": "id",
|
|
7254
|
-
"type": {
|
|
7255
|
-
"kind": "primitive",
|
|
7256
|
-
"name": "string"
|
|
7257
|
-
},
|
|
7258
|
-
"description": "The component unique identifier.",
|
|
7259
|
-
"required": false,
|
|
7260
|
-
"category": "Identification"
|
|
7261
|
-
},
|
|
7262
|
-
{
|
|
7263
|
-
"name": "label",
|
|
7264
|
-
"type": {
|
|
7265
|
-
"kind": "primitive",
|
|
7266
|
-
"name": "string"
|
|
7267
|
-
},
|
|
7268
|
-
"description": "The label of the input.",
|
|
7269
|
-
"required": false,
|
|
7270
|
-
"category": "Content"
|
|
7271
|
-
},
|
|
7272
|
-
{
|
|
7273
|
-
"name": "required",
|
|
7274
|
-
"type": {
|
|
7275
|
-
"kind": "primitive",
|
|
7276
|
-
"name": "boolean"
|
|
7277
|
-
},
|
|
7278
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
7279
|
-
"required": false,
|
|
7280
|
-
"category": "State"
|
|
7281
|
-
},
|
|
7282
|
-
{
|
|
7283
|
-
"name": "for",
|
|
7284
|
-
"type": {
|
|
7285
|
-
"kind": "primitive",
|
|
7286
|
-
"name": "string"
|
|
7287
|
-
},
|
|
7288
|
-
"description": "The form field associated with the label.",
|
|
7289
|
-
"required": false,
|
|
7290
|
-
"category": "Accessibility"
|
|
7291
|
-
},
|
|
7292
|
-
{
|
|
7293
|
-
"name": "labelPosition",
|
|
7165
|
+
"name": "label",
|
|
7166
|
+
"type": {
|
|
7167
|
+
"kind": "primitive",
|
|
7168
|
+
"name": "string"
|
|
7169
|
+
},
|
|
7170
|
+
"description": "The label of the input.",
|
|
7171
|
+
"required": false,
|
|
7172
|
+
"category": "Content"
|
|
7173
|
+
},
|
|
7174
|
+
{
|
|
7175
|
+
"name": "required",
|
|
7176
|
+
"type": {
|
|
7177
|
+
"kind": "primitive",
|
|
7178
|
+
"name": "boolean"
|
|
7179
|
+
},
|
|
7180
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
7181
|
+
"required": false,
|
|
7182
|
+
"category": "State"
|
|
7183
|
+
},
|
|
7184
|
+
{
|
|
7185
|
+
"name": "for",
|
|
7186
|
+
"type": {
|
|
7187
|
+
"kind": "primitive",
|
|
7188
|
+
"name": "string"
|
|
7189
|
+
},
|
|
7190
|
+
"description": "The form field associated with the label.",
|
|
7191
|
+
"required": false,
|
|
7192
|
+
"category": "Accessibility"
|
|
7193
|
+
},
|
|
7194
|
+
{
|
|
7195
|
+
"name": "labelPosition",
|
|
7294
7196
|
"type": {
|
|
7295
7197
|
"kind": "enum",
|
|
7296
7198
|
"values": [
|
|
@@ -7356,8 +7258,8 @@
|
|
|
7356
7258
|
"type": {
|
|
7357
7259
|
"kind": "enum",
|
|
7358
7260
|
"values": [
|
|
7359
|
-
"medium",
|
|
7360
7261
|
"small",
|
|
7262
|
+
"medium",
|
|
7361
7263
|
"large",
|
|
7362
7264
|
"block",
|
|
7363
7265
|
"xlarge",
|
|
@@ -7951,20 +7853,295 @@
|
|
|
7951
7853
|
"kind": "primitive",
|
|
7952
7854
|
"name": "boolean"
|
|
7953
7855
|
},
|
|
7954
|
-
"description": "Whether the component automatically displays validation feedback after blur.\nDisable this property when validation is managed externally through `invalid`.",
|
|
7955
|
-
"default": "true",
|
|
7956
|
-
"required": false,
|
|
7957
|
-
"category": "Behavior"
|
|
7856
|
+
"description": "Whether the component automatically displays validation feedback after blur.\nDisable this property when validation is managed externally through `invalid`.",
|
|
7857
|
+
"default": "true",
|
|
7858
|
+
"required": false,
|
|
7859
|
+
"category": "Behavior"
|
|
7860
|
+
},
|
|
7861
|
+
{
|
|
7862
|
+
"name": "inline",
|
|
7863
|
+
"type": {
|
|
7864
|
+
"kind": "primitive",
|
|
7865
|
+
"name": "boolean"
|
|
7866
|
+
},
|
|
7867
|
+
"description": "Whether to disable teleporting the country selector overlay.",
|
|
7868
|
+
"required": false,
|
|
7869
|
+
"category": "Behavior"
|
|
7870
|
+
},
|
|
7871
|
+
{
|
|
7872
|
+
"name": "modelValue",
|
|
7873
|
+
"type": {
|
|
7874
|
+
"kind": "primitive",
|
|
7875
|
+
"name": "string"
|
|
7876
|
+
},
|
|
7877
|
+
"description": "The international phone number in E.164 form, or an incomplete `+` prefix while editing.",
|
|
7878
|
+
"default": "",
|
|
7879
|
+
"required": false
|
|
7880
|
+
},
|
|
7881
|
+
{
|
|
7882
|
+
"name": "country",
|
|
7883
|
+
"type": {
|
|
7884
|
+
"kind": "enum",
|
|
7885
|
+
"values": [
|
|
7886
|
+
"AM",
|
|
7887
|
+
"PM",
|
|
7888
|
+
"AC",
|
|
7889
|
+
"AD",
|
|
7890
|
+
"AE",
|
|
7891
|
+
"AF",
|
|
7892
|
+
"AG",
|
|
7893
|
+
"AI",
|
|
7894
|
+
"AL",
|
|
7895
|
+
"AO",
|
|
7896
|
+
"AR",
|
|
7897
|
+
"AS",
|
|
7898
|
+
"AT",
|
|
7899
|
+
"AU",
|
|
7900
|
+
"AW",
|
|
7901
|
+
"AX",
|
|
7902
|
+
"AZ",
|
|
7903
|
+
"BA",
|
|
7904
|
+
"BB",
|
|
7905
|
+
"BD",
|
|
7906
|
+
"BE",
|
|
7907
|
+
"BF",
|
|
7908
|
+
"BG",
|
|
7909
|
+
"BH",
|
|
7910
|
+
"BI",
|
|
7911
|
+
"BJ",
|
|
7912
|
+
"BL",
|
|
7913
|
+
"BM",
|
|
7914
|
+
"BN",
|
|
7915
|
+
"BO",
|
|
7916
|
+
"BQ",
|
|
7917
|
+
"BR",
|
|
7918
|
+
"BS",
|
|
7919
|
+
"BT",
|
|
7920
|
+
"BW",
|
|
7921
|
+
"BY",
|
|
7922
|
+
"BZ",
|
|
7923
|
+
"CA",
|
|
7924
|
+
"CC",
|
|
7925
|
+
"CD",
|
|
7926
|
+
"CF",
|
|
7927
|
+
"CG",
|
|
7928
|
+
"CH",
|
|
7929
|
+
"CI",
|
|
7930
|
+
"CK",
|
|
7931
|
+
"CL",
|
|
7932
|
+
"CM",
|
|
7933
|
+
"CN",
|
|
7934
|
+
"CO",
|
|
7935
|
+
"CR",
|
|
7936
|
+
"CU",
|
|
7937
|
+
"CV",
|
|
7938
|
+
"CW",
|
|
7939
|
+
"CX",
|
|
7940
|
+
"CY",
|
|
7941
|
+
"CZ",
|
|
7942
|
+
"DE",
|
|
7943
|
+
"DJ",
|
|
7944
|
+
"DK",
|
|
7945
|
+
"DM",
|
|
7946
|
+
"DO",
|
|
7947
|
+
"DZ",
|
|
7948
|
+
"EC",
|
|
7949
|
+
"EE",
|
|
7950
|
+
"EG",
|
|
7951
|
+
"EH",
|
|
7952
|
+
"ER",
|
|
7953
|
+
"ES",
|
|
7954
|
+
"ET",
|
|
7955
|
+
"FI",
|
|
7956
|
+
"FJ",
|
|
7957
|
+
"FK",
|
|
7958
|
+
"FM",
|
|
7959
|
+
"FO",
|
|
7960
|
+
"FR",
|
|
7961
|
+
"GA",
|
|
7962
|
+
"GB",
|
|
7963
|
+
"GD",
|
|
7964
|
+
"GE",
|
|
7965
|
+
"GF",
|
|
7966
|
+
"GG",
|
|
7967
|
+
"GH",
|
|
7968
|
+
"GI",
|
|
7969
|
+
"GL",
|
|
7970
|
+
"GM",
|
|
7971
|
+
"GN",
|
|
7972
|
+
"GP",
|
|
7973
|
+
"GQ",
|
|
7974
|
+
"GR",
|
|
7975
|
+
"GT",
|
|
7976
|
+
"GU",
|
|
7977
|
+
"GW",
|
|
7978
|
+
"GY",
|
|
7979
|
+
"HK",
|
|
7980
|
+
"HN",
|
|
7981
|
+
"HR",
|
|
7982
|
+
"HT",
|
|
7983
|
+
"HU",
|
|
7984
|
+
"ID",
|
|
7985
|
+
"IE",
|
|
7986
|
+
"IL",
|
|
7987
|
+
"IM",
|
|
7988
|
+
"IN",
|
|
7989
|
+
"IO",
|
|
7990
|
+
"IQ",
|
|
7991
|
+
"IR",
|
|
7992
|
+
"IS",
|
|
7993
|
+
"IT",
|
|
7994
|
+
"JE",
|
|
7995
|
+
"JM",
|
|
7996
|
+
"JO",
|
|
7997
|
+
"JP",
|
|
7998
|
+
"KE",
|
|
7999
|
+
"KG",
|
|
8000
|
+
"KH",
|
|
8001
|
+
"KI",
|
|
8002
|
+
"KM",
|
|
8003
|
+
"KN",
|
|
8004
|
+
"KP",
|
|
8005
|
+
"KR",
|
|
8006
|
+
"KW",
|
|
8007
|
+
"KY",
|
|
8008
|
+
"KZ",
|
|
8009
|
+
"LA",
|
|
8010
|
+
"LB",
|
|
8011
|
+
"LC",
|
|
8012
|
+
"LI",
|
|
8013
|
+
"LK",
|
|
8014
|
+
"LR",
|
|
8015
|
+
"LS",
|
|
8016
|
+
"LT",
|
|
8017
|
+
"LU",
|
|
8018
|
+
"LV",
|
|
8019
|
+
"LY",
|
|
8020
|
+
"MA",
|
|
8021
|
+
"MC",
|
|
8022
|
+
"MD",
|
|
8023
|
+
"ME",
|
|
8024
|
+
"MF",
|
|
8025
|
+
"MG",
|
|
8026
|
+
"MH",
|
|
8027
|
+
"MK",
|
|
8028
|
+
"ML",
|
|
8029
|
+
"MM",
|
|
8030
|
+
"MN",
|
|
8031
|
+
"MO",
|
|
8032
|
+
"MP",
|
|
8033
|
+
"MQ",
|
|
8034
|
+
"MR",
|
|
8035
|
+
"MS",
|
|
8036
|
+
"MT",
|
|
8037
|
+
"MU",
|
|
8038
|
+
"MV",
|
|
8039
|
+
"MW",
|
|
8040
|
+
"MX",
|
|
8041
|
+
"MY",
|
|
8042
|
+
"MZ",
|
|
8043
|
+
"NA",
|
|
8044
|
+
"NC",
|
|
8045
|
+
"NE",
|
|
8046
|
+
"NF",
|
|
8047
|
+
"NG",
|
|
8048
|
+
"NI",
|
|
8049
|
+
"NL",
|
|
8050
|
+
"NO",
|
|
8051
|
+
"NP",
|
|
8052
|
+
"NR",
|
|
8053
|
+
"NU",
|
|
8054
|
+
"NZ",
|
|
8055
|
+
"OM",
|
|
8056
|
+
"PA",
|
|
8057
|
+
"PE",
|
|
8058
|
+
"PF",
|
|
8059
|
+
"PG",
|
|
8060
|
+
"PH",
|
|
8061
|
+
"PK",
|
|
8062
|
+
"PL",
|
|
8063
|
+
"PR",
|
|
8064
|
+
"PS",
|
|
8065
|
+
"PT",
|
|
8066
|
+
"PW",
|
|
8067
|
+
"PY",
|
|
8068
|
+
"QA",
|
|
8069
|
+
"RE",
|
|
8070
|
+
"RO",
|
|
8071
|
+
"RS",
|
|
8072
|
+
"RU",
|
|
8073
|
+
"RW",
|
|
8074
|
+
"SA",
|
|
8075
|
+
"SB",
|
|
8076
|
+
"SC",
|
|
8077
|
+
"SD",
|
|
8078
|
+
"SE",
|
|
8079
|
+
"SG",
|
|
8080
|
+
"SH",
|
|
8081
|
+
"SI",
|
|
8082
|
+
"SJ",
|
|
8083
|
+
"SK",
|
|
8084
|
+
"SL",
|
|
8085
|
+
"SM",
|
|
8086
|
+
"SN",
|
|
8087
|
+
"SO",
|
|
8088
|
+
"SR",
|
|
8089
|
+
"SS",
|
|
8090
|
+
"ST",
|
|
8091
|
+
"SV",
|
|
8092
|
+
"SX",
|
|
8093
|
+
"SY",
|
|
8094
|
+
"SZ",
|
|
8095
|
+
"TA",
|
|
8096
|
+
"TC",
|
|
8097
|
+
"TD",
|
|
8098
|
+
"TG",
|
|
8099
|
+
"TH",
|
|
8100
|
+
"TJ",
|
|
8101
|
+
"TK",
|
|
8102
|
+
"TL",
|
|
8103
|
+
"TM",
|
|
8104
|
+
"TN",
|
|
8105
|
+
"TO",
|
|
8106
|
+
"TR",
|
|
8107
|
+
"TT",
|
|
8108
|
+
"TV",
|
|
8109
|
+
"TW",
|
|
8110
|
+
"TZ",
|
|
8111
|
+
"UA",
|
|
8112
|
+
"UG",
|
|
8113
|
+
"US",
|
|
8114
|
+
"UY",
|
|
8115
|
+
"UZ",
|
|
8116
|
+
"VA",
|
|
8117
|
+
"VC",
|
|
8118
|
+
"VE",
|
|
8119
|
+
"VG",
|
|
8120
|
+
"VI",
|
|
8121
|
+
"VN",
|
|
8122
|
+
"VU",
|
|
8123
|
+
"WF",
|
|
8124
|
+
"WS",
|
|
8125
|
+
"XK",
|
|
8126
|
+
"YE",
|
|
8127
|
+
"YT",
|
|
8128
|
+
"ZA",
|
|
8129
|
+
"ZM",
|
|
8130
|
+
"ZW"
|
|
8131
|
+
]
|
|
8132
|
+
},
|
|
8133
|
+
"description": "The selected ISO 3166-1 alpha-2 country.",
|
|
8134
|
+
"required": false
|
|
7958
8135
|
},
|
|
7959
8136
|
{
|
|
7960
|
-
"name": "
|
|
8137
|
+
"name": "open",
|
|
7961
8138
|
"type": {
|
|
7962
8139
|
"kind": "primitive",
|
|
7963
8140
|
"name": "boolean"
|
|
7964
8141
|
},
|
|
7965
|
-
"description": "Whether
|
|
7966
|
-
"
|
|
7967
|
-
"
|
|
8142
|
+
"description": "Whether the country selector is open.",
|
|
8143
|
+
"default": "false",
|
|
8144
|
+
"required": false
|
|
7968
8145
|
}
|
|
7969
8146
|
],
|
|
7970
8147
|
"events": [
|
|
@@ -7974,19 +8151,19 @@
|
|
|
7974
8151
|
"type": "[value: string]"
|
|
7975
8152
|
},
|
|
7976
8153
|
{
|
|
7977
|
-
"name": "
|
|
8154
|
+
"name": "click:clear",
|
|
7978
8155
|
"description": "",
|
|
7979
|
-
"type": "[
|
|
8156
|
+
"type": "[event: Event]"
|
|
7980
8157
|
},
|
|
7981
8158
|
{
|
|
7982
|
-
"name": "
|
|
8159
|
+
"name": "update:open",
|
|
7983
8160
|
"description": "",
|
|
7984
|
-
"type": "[
|
|
8161
|
+
"type": "[value: boolean]"
|
|
7985
8162
|
},
|
|
7986
8163
|
{
|
|
7987
8164
|
"name": "update:country",
|
|
7988
8165
|
"description": "",
|
|
7989
|
-
"type": "[value:
|
|
8166
|
+
"type": "[value: QPhoneCountryCode | undefined]"
|
|
7990
8167
|
},
|
|
7991
8168
|
{
|
|
7992
8169
|
"name": "validity-change",
|
|
@@ -8016,7 +8193,7 @@
|
|
|
8016
8193
|
"examples": [
|
|
8017
8194
|
{
|
|
8018
8195
|
"title": "Default",
|
|
8019
|
-
"description": "Uses the default `en-US` locale and emits a complete international value.",
|
|
8196
|
+
"description": "Uses the default `en-US` locale and emits a complete international value. The country list opens in an overlay: focus goes to its search, the arrow keys move into the list, and choosing a country, or Escape, brings focus back to the field.",
|
|
8020
8197
|
"code": "<QPhoneField label=\"Phone number\" :clearable=\"true\" size=\"large\" />"
|
|
8021
8198
|
},
|
|
8022
8199
|
{
|
|
@@ -8066,15 +8243,6 @@
|
|
|
8066
8243
|
"description": "A floating container that displays contextual content, triggered by a button.",
|
|
8067
8244
|
"meta": {
|
|
8068
8245
|
"props": [
|
|
8069
|
-
{
|
|
8070
|
-
"name": "modelValue",
|
|
8071
|
-
"type": {
|
|
8072
|
-
"kind": "primitive",
|
|
8073
|
-
"name": "boolean"
|
|
8074
|
-
},
|
|
8075
|
-
"description": "",
|
|
8076
|
-
"required": false
|
|
8077
|
-
},
|
|
8078
8246
|
{
|
|
8079
8247
|
"name": "id",
|
|
8080
8248
|
"type": {
|
|
@@ -8210,13 +8378,22 @@
|
|
|
8210
8378
|
"description": "Whether the popover is disabled.",
|
|
8211
8379
|
"required": false,
|
|
8212
8380
|
"category": "State"
|
|
8381
|
+
},
|
|
8382
|
+
{
|
|
8383
|
+
"name": "modelValue",
|
|
8384
|
+
"type": {
|
|
8385
|
+
"kind": "primitive",
|
|
8386
|
+
"name": "boolean"
|
|
8387
|
+
},
|
|
8388
|
+
"description": "",
|
|
8389
|
+
"required": false
|
|
8213
8390
|
}
|
|
8214
8391
|
],
|
|
8215
8392
|
"events": [
|
|
8216
8393
|
{
|
|
8217
8394
|
"name": "update:modelValue",
|
|
8218
8395
|
"description": "",
|
|
8219
|
-
"type": "[value: boolean]"
|
|
8396
|
+
"type": "[value: boolean | undefined]"
|
|
8220
8397
|
}
|
|
8221
8398
|
],
|
|
8222
8399
|
"slots": [
|
|
@@ -8283,6 +8460,16 @@
|
|
|
8283
8460
|
"title": "Interactive Content",
|
|
8284
8461
|
"description": "Interactive form elements within popover content.",
|
|
8285
8462
|
"code": "<q-button ref=\"anchor\" label=\"Settings\" />\n <q-popover :anchor=\"anchor?.$el\" v-bind=\"args\">\n <q-text-field label=\"Display Name\" />\n <q-text-field label=\"Email\" />\n <q-text-field label=\"Time Zone\" />\n <q-text-field label=\"Language\" />\n <q-button\n label=\"Save\"\n :loading=\"isLoading\"\n style=\"margin-top: 0.5rem\"\n @click=\"simulateServerCall\" />\n </q-popover>"
|
|
8463
|
+
},
|
|
8464
|
+
{
|
|
8465
|
+
"title": "Tab Order",
|
|
8466
|
+
"description": "Tab moves through the popover as if it came right after its anchor: Tab from its last control goes on to what follows the anchor, and Shift+Tab from its start goes back to the anchor. Escape returns focus to the anchor too. Each way closes the popover.",
|
|
8467
|
+
"code": "<div style=\"display: flex; gap: 0.5rem\">\n\t\t\t\t<q-button label=\"Before\" />\n\t\t\t\t<q-button ref=\"anchor\" label=\"Filters\" />\n\t\t\t\t<q-button label=\"After\" />\n\t\t\t</div>\n\t\t\t<q-popover :anchor=\"anchor?.$el\" title=\"Filters\">\n\t\t\t\t<div style=\"display: flex; gap: 0.5rem\">\n\t\t\t\t\t<q-button label=\"Apply\" />\n\t\t\t\t\t<q-button label=\"Reset\" />\n\t\t\t\t</div>\n\t\t\t</q-popover>"
|
|
8468
|
+
},
|
|
8469
|
+
{
|
|
8470
|
+
"title": "Nested Layers",
|
|
8471
|
+
"description": "A tooltip over a popover is a layer of its own: Escape closes the tooltip first, and the popover with the next one.",
|
|
8472
|
+
"code": "<q-button ref=\"anchor\" label=\"Share\" />\n\t\t\t<q-popover :anchor=\"anchor?.$el\" title=\"Share\">\n\t\t\t\t<q-button\n\t\t\t\t\tlabel=\"Copy link\"\n\t\t\t\t\thelp=\"Copies the address of this page\"\n\t\t\t\t\thelp-display=\"tooltip\" />\n\t\t\t</q-popover>"
|
|
8286
8473
|
}
|
|
8287
8474
|
]
|
|
8288
8475
|
},
|
|
@@ -8291,15 +8478,6 @@
|
|
|
8291
8478
|
"description": "Shows progress of loading or completion of a task.",
|
|
8292
8479
|
"meta": {
|
|
8293
8480
|
"props": [
|
|
8294
|
-
{
|
|
8295
|
-
"name": "modelValue",
|
|
8296
|
-
"type": {
|
|
8297
|
-
"kind": "primitive",
|
|
8298
|
-
"name": "number"
|
|
8299
|
-
},
|
|
8300
|
-
"description": "",
|
|
8301
|
-
"required": false
|
|
8302
|
-
},
|
|
8303
8481
|
{
|
|
8304
8482
|
"name": "id",
|
|
8305
8483
|
"type": {
|
|
@@ -8427,6 +8605,16 @@
|
|
|
8427
8605
|
"default": "false",
|
|
8428
8606
|
"required": false,
|
|
8429
8607
|
"category": "Presentation"
|
|
8608
|
+
},
|
|
8609
|
+
{
|
|
8610
|
+
"name": "modelValue",
|
|
8611
|
+
"type": {
|
|
8612
|
+
"kind": "primitive",
|
|
8613
|
+
"name": "number"
|
|
8614
|
+
},
|
|
8615
|
+
"description": "",
|
|
8616
|
+
"default": "0",
|
|
8617
|
+
"required": false
|
|
8430
8618
|
}
|
|
8431
8619
|
],
|
|
8432
8620
|
"events": [
|
|
@@ -8668,15 +8856,6 @@
|
|
|
8668
8856
|
"description": "A group of radio buttons allowing a single selection from multiple options.",
|
|
8669
8857
|
"meta": {
|
|
8670
8858
|
"props": [
|
|
8671
|
-
{
|
|
8672
|
-
"name": "modelValue",
|
|
8673
|
-
"type": {
|
|
8674
|
-
"kind": "unknown",
|
|
8675
|
-
"raw": "any"
|
|
8676
|
-
},
|
|
8677
|
-
"description": "",
|
|
8678
|
-
"required": false
|
|
8679
|
-
},
|
|
8680
8859
|
{
|
|
8681
8860
|
"name": "id",
|
|
8682
8861
|
"type": {
|
|
@@ -8837,8 +9016,8 @@
|
|
|
8837
9016
|
"type": {
|
|
8838
9017
|
"kind": "enum",
|
|
8839
9018
|
"values": [
|
|
8840
|
-
"medium",
|
|
8841
9019
|
"small",
|
|
9020
|
+
"medium",
|
|
8842
9021
|
"large"
|
|
8843
9022
|
]
|
|
8844
9023
|
},
|
|
@@ -8867,6 +9046,15 @@
|
|
|
8867
9046
|
"default": "true",
|
|
8868
9047
|
"required": false,
|
|
8869
9048
|
"category": "Behavior"
|
|
9049
|
+
},
|
|
9050
|
+
{
|
|
9051
|
+
"name": "modelValue",
|
|
9052
|
+
"type": {
|
|
9053
|
+
"kind": "unknown",
|
|
9054
|
+
"raw": "any"
|
|
9055
|
+
},
|
|
9056
|
+
"description": "",
|
|
9057
|
+
"required": false
|
|
8870
9058
|
}
|
|
8871
9059
|
],
|
|
8872
9060
|
"events": [
|
|
@@ -9066,7 +9254,7 @@
|
|
|
9066
9254
|
"subtext"
|
|
9067
9255
|
]
|
|
9068
9256
|
},
|
|
9069
|
-
"description": "How {@link QSectionProps.help} is presented. Defaults to a popover.\n\nA tooltip opens on hover, or on focus inside the title
|
|
9257
|
+
"description": "How {@link QSectionProps.help} is presented. Defaults to a popover.\n\nA tooltip opens on hover, or on focus inside the title: with a tooltip, the title is a Tab\nstop of its own, so keyboard users reach the help too, and Escape closes it. Screen readers\nget the help as the section's description in every display.",
|
|
9070
9258
|
"default": "popover",
|
|
9071
9259
|
"required": false,
|
|
9072
9260
|
"category": "Presentation"
|
|
@@ -9160,7 +9348,7 @@
|
|
|
9160
9348
|
},
|
|
9161
9349
|
{
|
|
9162
9350
|
"title": "Tooltip",
|
|
9163
|
-
"description": "Help shown in a tooltip on the title.",
|
|
9351
|
+
"description": "Help shown in a tooltip on the title. The title is then a Tab stop, so focus opens the tooltip from the keyboard too, and Escape closes it.",
|
|
9164
9352
|
"code": "<q-section v-bind=\"args\">\n\t\t\t\t<span>Example of a group box</span>\n\t\t\t</q-section>"
|
|
9165
9353
|
},
|
|
9166
9354
|
{
|
|
@@ -9205,24 +9393,6 @@
|
|
|
9205
9393
|
"description": "A list of selectable items, activated by clicking on the main field.",
|
|
9206
9394
|
"meta": {
|
|
9207
9395
|
"props": [
|
|
9208
|
-
{
|
|
9209
|
-
"name": "modelValue",
|
|
9210
|
-
"type": {
|
|
9211
|
-
"kind": "unknown",
|
|
9212
|
-
"raw": "any"
|
|
9213
|
-
},
|
|
9214
|
-
"description": "",
|
|
9215
|
-
"required": false
|
|
9216
|
-
},
|
|
9217
|
-
{
|
|
9218
|
-
"name": "open",
|
|
9219
|
-
"type": {
|
|
9220
|
-
"kind": "primitive",
|
|
9221
|
-
"name": "boolean"
|
|
9222
|
-
},
|
|
9223
|
-
"description": "",
|
|
9224
|
-
"required": false
|
|
9225
|
-
},
|
|
9226
9396
|
{
|
|
9227
9397
|
"name": "id",
|
|
9228
9398
|
"type": {
|
|
@@ -9330,8 +9500,8 @@
|
|
|
9330
9500
|
"type": {
|
|
9331
9501
|
"kind": "enum",
|
|
9332
9502
|
"values": [
|
|
9333
|
-
"medium",
|
|
9334
9503
|
"small",
|
|
9504
|
+
"medium",
|
|
9335
9505
|
"large",
|
|
9336
9506
|
"block",
|
|
9337
9507
|
"xlarge",
|
|
@@ -9529,6 +9699,25 @@
|
|
|
9529
9699
|
"default": "label",
|
|
9530
9700
|
"required": false,
|
|
9531
9701
|
"category": "Configuration"
|
|
9702
|
+
},
|
|
9703
|
+
{
|
|
9704
|
+
"name": "modelValue",
|
|
9705
|
+
"type": {
|
|
9706
|
+
"kind": "unknown",
|
|
9707
|
+
"raw": "any"
|
|
9708
|
+
},
|
|
9709
|
+
"description": "The selected value(s) - can be a single value or array for multiple selection.",
|
|
9710
|
+
"required": false
|
|
9711
|
+
},
|
|
9712
|
+
{
|
|
9713
|
+
"name": "open",
|
|
9714
|
+
"type": {
|
|
9715
|
+
"kind": "primitive",
|
|
9716
|
+
"name": "boolean"
|
|
9717
|
+
},
|
|
9718
|
+
"description": "Whether the options dropdown is open. Supports `v-model:open`.",
|
|
9719
|
+
"default": "false",
|
|
9720
|
+
"required": false
|
|
9532
9721
|
}
|
|
9533
9722
|
],
|
|
9534
9723
|
"events": [
|
|
@@ -9627,9 +9816,14 @@
|
|
|
9627
9816
|
},
|
|
9628
9817
|
{
|
|
9629
9818
|
"title": "Loading",
|
|
9630
|
-
"description": "Displays a loading animation that lets users know content is being loaded.",
|
|
9819
|
+
"description": "Displays a loading animation that lets users know content is being loaded. A status region announces it, since focus never reaches the animation.",
|
|
9631
9820
|
"code": "<QSelect :items=\"[]\" :loading=\"true\" />"
|
|
9632
9821
|
},
|
|
9822
|
+
{
|
|
9823
|
+
"title": "No Data",
|
|
9824
|
+
"description": "With no items, the open list says so, and a status region announces it.",
|
|
9825
|
+
"code": "<QSelect :items=\"[]\" />"
|
|
9826
|
+
},
|
|
9633
9827
|
{
|
|
9634
9828
|
"title": "Overflow",
|
|
9635
9829
|
"description": "Controls how long option labels overflow relative to the field width. Defaults to `wrap`. - `wrap`: the menu matches the field and labels wrap onto more lines. - `truncate`: the menu matches the field and labels end in an ellipsis; a cut-off label shows its full text in a native `title` on hover. - `fit-content`: the menu grows with the longest option.",
|
|
@@ -9674,6 +9868,21 @@
|
|
|
9674
9868
|
"title": "Badge Counter Icons",
|
|
9675
9869
|
"description": "The same badges with SVG icons. An icon keeps its size while its bundle loads, so the badges are measured at the width they end up with.",
|
|
9676
9870
|
"code": "<QSelect :items=\"counterActions.map(([label, icon]) => ({\n\t\t\tkey: label.toLowerCase(),\n\t\t\tlabel,\n\t\t\ticon: { icon }\n\t\t}))\" />"
|
|
9871
|
+
},
|
|
9872
|
+
{
|
|
9873
|
+
"title": "Aria Label",
|
|
9874
|
+
"description": "Without a visible label, an `aria-label` names the select, and its open list too. The clear button and the chevron are at least 24px, the smallest pointer target.",
|
|
9875
|
+
"code": "<div style=\"width: 20rem\">\n\t\t\t\t<q-select v-bind=\"args\" aria-label=\"Action\" />\n\t\t\t</div>"
|
|
9876
|
+
},
|
|
9877
|
+
{
|
|
9878
|
+
"title": "Readonly Counter",
|
|
9879
|
+
"description": "A read-only select keeps every value in reach: its \"+N\" counter is a button, for the keyboard too, that opens a popover listing them all. Escape closes it and returns to the counter.",
|
|
9880
|
+
"code": "<QSelect :readonly=\"true\" />"
|
|
9881
|
+
},
|
|
9882
|
+
{
|
|
9883
|
+
"title": "Keyboard",
|
|
9884
|
+
"description": "The select by keyboard: Arrow Down, Enter or Space opens it on the selected option (or the first), the arrows, Home, End and typing move through the options, Enter picks one, and Escape closes the list. Focus goes back to the select either way. Tab picks the focused option and goes on to what follows the select; Shift+Tab goes back to the select without picking anything. The text shows the picked option, and typing, Backspace or a paste leaves it as it is.",
|
|
9885
|
+
"code": "<div style=\"display: flex; gap: 0.5rem; align-items: center\">\n\t\t\t\t<q-button label=\"Before\" />\n\t\t\t\t<q-select v-bind=\"args\" aria-label=\"Format\" style=\"width: 12rem\" />\n\t\t\t\t<q-button label=\"After\" />\n\t\t\t</div>"
|
|
9677
9886
|
}
|
|
9678
9887
|
]
|
|
9679
9888
|
},
|
|
@@ -9682,15 +9891,6 @@
|
|
|
9682
9891
|
"description": "A flexible sidebar component.",
|
|
9683
9892
|
"meta": {
|
|
9684
9893
|
"props": [
|
|
9685
|
-
{
|
|
9686
|
-
"name": "modelValue",
|
|
9687
|
-
"type": {
|
|
9688
|
-
"kind": "primitive",
|
|
9689
|
-
"name": "string"
|
|
9690
|
-
},
|
|
9691
|
-
"description": "",
|
|
9692
|
-
"required": false
|
|
9693
|
-
},
|
|
9694
9894
|
{
|
|
9695
9895
|
"name": "id",
|
|
9696
9896
|
"type": {
|
|
@@ -9734,23 +9934,32 @@
|
|
|
9734
9934
|
"default": "left",
|
|
9735
9935
|
"required": false,
|
|
9736
9936
|
"category": "Presentation"
|
|
9937
|
+
},
|
|
9938
|
+
{
|
|
9939
|
+
"name": "modelValue",
|
|
9940
|
+
"type": {
|
|
9941
|
+
"kind": "primitive",
|
|
9942
|
+
"name": "string"
|
|
9943
|
+
},
|
|
9944
|
+
"description": "",
|
|
9945
|
+
"required": false
|
|
9737
9946
|
}
|
|
9738
9947
|
],
|
|
9739
9948
|
"events": [
|
|
9740
9949
|
{
|
|
9741
9950
|
"name": "update:modelValue",
|
|
9742
9951
|
"description": "",
|
|
9743
|
-
"type": "[value: string]"
|
|
9952
|
+
"type": "[value: string | undefined]"
|
|
9744
9953
|
},
|
|
9745
9954
|
{
|
|
9746
|
-
"name": "
|
|
9955
|
+
"name": "click:item",
|
|
9747
9956
|
"description": "",
|
|
9748
|
-
"type": "[
|
|
9957
|
+
"type": "[id: string]"
|
|
9749
9958
|
},
|
|
9750
9959
|
{
|
|
9751
|
-
"name": "
|
|
9960
|
+
"name": "resize",
|
|
9752
9961
|
"description": "",
|
|
9753
|
-
"type": "[
|
|
9962
|
+
"type": "[width: number]"
|
|
9754
9963
|
},
|
|
9755
9964
|
{
|
|
9756
9965
|
"name": "resize:start",
|
|
@@ -9954,15 +10163,6 @@
|
|
|
9954
10163
|
"description": "Presents a multi-step wizard or workflow. Step definitions come from the `steps` prop; the default slot holds only the current step’s content.",
|
|
9955
10164
|
"meta": {
|
|
9956
10165
|
"props": [
|
|
9957
|
-
{
|
|
9958
|
-
"name": "modelValue",
|
|
9959
|
-
"type": {
|
|
9960
|
-
"kind": "primitive",
|
|
9961
|
-
"name": "string"
|
|
9962
|
-
},
|
|
9963
|
-
"description": "",
|
|
9964
|
-
"required": false
|
|
9965
|
-
},
|
|
9966
10166
|
{
|
|
9967
10167
|
"name": "id",
|
|
9968
10168
|
"type": {
|
|
@@ -10058,13 +10258,22 @@
|
|
|
10058
10258
|
"default": "DEFAULT_TEXTS",
|
|
10059
10259
|
"required": false,
|
|
10060
10260
|
"category": "Configuration"
|
|
10261
|
+
},
|
|
10262
|
+
{
|
|
10263
|
+
"name": "modelValue",
|
|
10264
|
+
"type": {
|
|
10265
|
+
"kind": "primitive",
|
|
10266
|
+
"name": "string"
|
|
10267
|
+
},
|
|
10268
|
+
"description": "Currently selected step value (`v-model`).",
|
|
10269
|
+
"required": false
|
|
10061
10270
|
}
|
|
10062
10271
|
],
|
|
10063
10272
|
"events": [
|
|
10064
10273
|
{
|
|
10065
10274
|
"name": "update:modelValue",
|
|
10066
10275
|
"description": "",
|
|
10067
|
-
"type": "[value: string]"
|
|
10276
|
+
"type": "[value: string | undefined]"
|
|
10068
10277
|
},
|
|
10069
10278
|
{
|
|
10070
10279
|
"name": "finish",
|
|
@@ -10090,21 +10299,21 @@
|
|
|
10090
10299
|
"description": ""
|
|
10091
10300
|
}
|
|
10092
10301
|
]
|
|
10093
|
-
},
|
|
10094
|
-
"examples": [
|
|
10095
|
-
{
|
|
10096
|
-
"title": "Subtext Help",
|
|
10097
|
-
"description": "Subtext help at the top of the step content. The header caption stays.",
|
|
10098
|
-
"code": "<q-steps v-model=\"step\" v-bind=\"args\">\n\t\t\t\tStep content\n\t\t\t</q-steps>"
|
|
10099
|
-
},
|
|
10302
|
+
},
|
|
10303
|
+
"examples": [
|
|
10100
10304
|
{
|
|
10101
10305
|
"title": "Default",
|
|
10102
|
-
"description": "Default horizontal steps with the circle variant.",
|
|
10306
|
+
"description": "Default horizontal steps with the circle variant. Next and Previous keep focus at the ends: there they are unavailable (`aria-disabled`), not `disabled`, which would drop focus.",
|
|
10103
10307
|
"code": "<q-steps v-model=\"step\" v-bind=\"args\">\n\t\t\t\t<b>{{ content.heading }}</b>\n\t\t\t\t<p>{{ content.body }}</p>\n\t\t\t</q-steps>"
|
|
10104
10308
|
},
|
|
10309
|
+
{
|
|
10310
|
+
"title": "Subtext Help",
|
|
10311
|
+
"description": "Subtext help at the top of the step content. The header caption stays.",
|
|
10312
|
+
"code": "<QSteps :steps=\"defaultSteps.map((step) => ({ ...step, help: 'Help for this step' }))\" />"
|
|
10313
|
+
},
|
|
10105
10314
|
{
|
|
10106
10315
|
"title": "Vertical",
|
|
10107
|
-
"description": "Vertical layout with content under the active header.",
|
|
10316
|
+
"description": "Vertical layout with content under the active header. The navigation moves under the next step with it, and focus moves along.",
|
|
10108
10317
|
"code": "<QSteps :steps=\"defaultSteps\" direction=\"vertical\" />"
|
|
10109
10318
|
},
|
|
10110
10319
|
{
|
|
@@ -10179,15 +10388,6 @@
|
|
|
10179
10388
|
"description": "The `QSwitch` component is an accessible, customizable toggle control for switching between two states (e.g., on/off, true/false). It supports labels, size overrides, custom colors, and disabled states.",
|
|
10180
10389
|
"meta": {
|
|
10181
10390
|
"props": [
|
|
10182
|
-
{
|
|
10183
|
-
"name": "modelValue",
|
|
10184
|
-
"type": {
|
|
10185
|
-
"kind": "primitive",
|
|
10186
|
-
"name": "boolean"
|
|
10187
|
-
},
|
|
10188
|
-
"description": "",
|
|
10189
|
-
"required": false
|
|
10190
|
-
},
|
|
10191
10391
|
{
|
|
10192
10392
|
"name": "id",
|
|
10193
10393
|
"type": {
|
|
@@ -10336,8 +10536,8 @@
|
|
|
10336
10536
|
"type": {
|
|
10337
10537
|
"kind": "enum",
|
|
10338
10538
|
"values": [
|
|
10339
|
-
"medium",
|
|
10340
10539
|
"small",
|
|
10540
|
+
"medium",
|
|
10341
10541
|
"large"
|
|
10342
10542
|
]
|
|
10343
10543
|
},
|
|
@@ -10364,13 +10564,32 @@
|
|
|
10364
10564
|
"description": "Whether the switch is read-only.",
|
|
10365
10565
|
"required": false,
|
|
10366
10566
|
"category": "State"
|
|
10567
|
+
},
|
|
10568
|
+
{
|
|
10569
|
+
"name": "invalid",
|
|
10570
|
+
"type": {
|
|
10571
|
+
"kind": "primitive",
|
|
10572
|
+
"name": "boolean"
|
|
10573
|
+
},
|
|
10574
|
+
"description": "Whether the switch is invalid: the track takes a danger outline, and assistive\ntechnology reads it as invalid. Say why in `help`, since the outline alone shows it\nonly in color.",
|
|
10575
|
+
"required": false,
|
|
10576
|
+
"category": "State"
|
|
10577
|
+
},
|
|
10578
|
+
{
|
|
10579
|
+
"name": "modelValue",
|
|
10580
|
+
"type": {
|
|
10581
|
+
"kind": "primitive",
|
|
10582
|
+
"name": "boolean"
|
|
10583
|
+
},
|
|
10584
|
+
"description": "",
|
|
10585
|
+
"required": false
|
|
10367
10586
|
}
|
|
10368
10587
|
],
|
|
10369
10588
|
"events": [
|
|
10370
10589
|
{
|
|
10371
10590
|
"name": "update:modelValue",
|
|
10372
10591
|
"description": "",
|
|
10373
|
-
"type": "[value: boolean]"
|
|
10592
|
+
"type": "[value: boolean | undefined]"
|
|
10374
10593
|
}
|
|
10375
10594
|
],
|
|
10376
10595
|
"slots": []
|
|
@@ -10386,6 +10605,11 @@
|
|
|
10386
10605
|
"description": "Displays the switch with state-specific labels (`trueLabel` / `falseLabel`).",
|
|
10387
10606
|
"code": "<QSwitch :show-state-labels=\"true\" />"
|
|
10388
10607
|
},
|
|
10608
|
+
{
|
|
10609
|
+
"title": "Checked Hover",
|
|
10610
|
+
"description": "A checked switch with state labels under the pointer, so the hover colors are checked too. The pill behind the idle label does not render yet: its `rgb()` passes the space-separated background token with a comma. The WCAG plan fixes the syntax together with the label contrast on that pill (fix(ui): state indicators).",
|
|
10611
|
+
"code": "<QSwitch :show-state-labels=\"true\" :model-value=\"true\" />"
|
|
10612
|
+
},
|
|
10389
10613
|
{
|
|
10390
10614
|
"title": "Disabled",
|
|
10391
10615
|
"description": "A non-interactive switch rendered in the disabled state.",
|
|
@@ -10396,6 +10620,16 @@
|
|
|
10396
10620
|
"description": "A non-interactive switch rendered in the read-only state.",
|
|
10397
10621
|
"code": "<QSwitch :readonly=\"true\" />"
|
|
10398
10622
|
},
|
|
10623
|
+
{
|
|
10624
|
+
"title": "Required",
|
|
10625
|
+
"description": "A required switch, which says so to assistive technology.",
|
|
10626
|
+
"code": "<QSwitch :required=\"true\" />"
|
|
10627
|
+
},
|
|
10628
|
+
{
|
|
10629
|
+
"title": "Invalid",
|
|
10630
|
+
"description": "An invalid switch. The help says what to fix, since the danger outline shows it only in color.",
|
|
10631
|
+
"code": "<QSwitch help=\"Turn notifications on to continue.\" :invalid=\"true\" />"
|
|
10632
|
+
},
|
|
10399
10633
|
{
|
|
10400
10634
|
"title": "Size",
|
|
10401
10635
|
"description": "Example of the `small`, `medium`, and `large` size overrides. Combines with the global density toolbar (product = global × size).",
|
|
@@ -10428,15 +10662,6 @@
|
|
|
10428
10662
|
"description": "Displays a set of tabbed panels. Only one panel is visible at a time.",
|
|
10429
10663
|
"meta": {
|
|
10430
10664
|
"props": [
|
|
10431
|
-
{
|
|
10432
|
-
"name": "modelValue",
|
|
10433
|
-
"type": {
|
|
10434
|
-
"kind": "primitive",
|
|
10435
|
-
"name": "string"
|
|
10436
|
-
},
|
|
10437
|
-
"description": "",
|
|
10438
|
-
"required": false
|
|
10439
|
-
},
|
|
10440
10665
|
{
|
|
10441
10666
|
"name": "id",
|
|
10442
10667
|
"type": {
|
|
@@ -10522,13 +10747,22 @@
|
|
|
10522
10747
|
"default": "DEFAULT_TEXTS",
|
|
10523
10748
|
"required": false,
|
|
10524
10749
|
"category": "Configuration"
|
|
10750
|
+
},
|
|
10751
|
+
{
|
|
10752
|
+
"name": "modelValue",
|
|
10753
|
+
"type": {
|
|
10754
|
+
"kind": "primitive",
|
|
10755
|
+
"name": "string"
|
|
10756
|
+
},
|
|
10757
|
+
"description": "Currently selected tab value (`v-model`).",
|
|
10758
|
+
"required": false
|
|
10525
10759
|
}
|
|
10526
10760
|
],
|
|
10527
10761
|
"events": [
|
|
10528
10762
|
{
|
|
10529
10763
|
"name": "update:modelValue",
|
|
10530
10764
|
"description": "",
|
|
10531
|
-
"type": "[value: string]"
|
|
10765
|
+
"type": "[value: string | undefined]"
|
|
10532
10766
|
}
|
|
10533
10767
|
],
|
|
10534
10768
|
"slots": [
|
|
@@ -10539,16 +10773,16 @@
|
|
|
10539
10773
|
]
|
|
10540
10774
|
},
|
|
10541
10775
|
"examples": [
|
|
10542
|
-
{
|
|
10543
|
-
"title": "Subtext Help",
|
|
10544
|
-
"description": "Subtext help at the top of a panel. The tab button stays the label.",
|
|
10545
|
-
"code": "<q-tabs v-bind=\"args\">\n\t\t\t\t<q-tab title=\"Details\" value=\"details\" help=\"Shown for this tab\">\n\t\t\t\t\tContent for the details tab.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"History\" value=\"history\">\n\t\t\t\t\tContent for the history tab.\n\t\t\t\t</q-tab>\n\t\t\t</q-tabs>"
|
|
10546
|
-
},
|
|
10547
10776
|
{
|
|
10548
10777
|
"title": "Default",
|
|
10549
10778
|
"description": "Default horizontal tabs.",
|
|
10550
10779
|
"code": "<q-tabs v-bind=\"args\">\n\t\t\t\t<q-tab title=\"Details\" value=\"details\">\n\t\t\t\t\tContent for the details tab.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"History\" value=\"history\">\n\t\t\t\t\tContent for the history tab.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"Settings\" value=\"settings\">\n\t\t\t\t\tContent for the settings tab.\n\t\t\t\t</q-tab>\n\t\t\t</q-tabs>"
|
|
10551
10780
|
},
|
|
10781
|
+
{
|
|
10782
|
+
"title": "Subtext Help",
|
|
10783
|
+
"description": "Subtext help at the top of a panel. The tab button stays the label.",
|
|
10784
|
+
"code": "<q-tabs v-bind=\"args\">\n\t\t\t\t<q-tab title=\"Details\" value=\"details\" help=\"Shown for this tab\">\n\t\t\t\t\tContent for the details tab.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"History\" value=\"history\">\n\t\t\t\t\tContent for the history tab.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"Settings\" value=\"settings\">\n\t\t\t\t\tContent for the settings tab.\n\t\t\t\t</q-tab>\n\t\t\t</q-tabs>"
|
|
10785
|
+
},
|
|
10552
10786
|
{
|
|
10553
10787
|
"title": "Vertical",
|
|
10554
10788
|
"description": "Vertical tab list beside the panels.",
|
|
@@ -10611,15 +10845,6 @@
|
|
|
10611
10845
|
"description": "An extension of the `QField` component, providing a specialized field for textual data with multiple lines.",
|
|
10612
10846
|
"meta": {
|
|
10613
10847
|
"props": [
|
|
10614
|
-
{
|
|
10615
|
-
"name": "modelValue",
|
|
10616
|
-
"type": {
|
|
10617
|
-
"kind": "primitive",
|
|
10618
|
-
"name": "string"
|
|
10619
|
-
},
|
|
10620
|
-
"description": "",
|
|
10621
|
-
"required": false
|
|
10622
|
-
},
|
|
10623
10848
|
{
|
|
10624
10849
|
"name": "id",
|
|
10625
10850
|
"type": {
|
|
@@ -10725,8 +10950,8 @@
|
|
|
10725
10950
|
"type": {
|
|
10726
10951
|
"kind": "enum",
|
|
10727
10952
|
"values": [
|
|
10728
|
-
"medium",
|
|
10729
10953
|
"small",
|
|
10954
|
+
"medium",
|
|
10730
10955
|
"large",
|
|
10731
10956
|
"block",
|
|
10732
10957
|
"xlarge",
|
|
@@ -10849,13 +11074,22 @@
|
|
|
10849
11074
|
"description": "Whether the text area field will be auto-sized.",
|
|
10850
11075
|
"required": false,
|
|
10851
11076
|
"category": "Behavior"
|
|
11077
|
+
},
|
|
11078
|
+
{
|
|
11079
|
+
"name": "modelValue",
|
|
11080
|
+
"type": {
|
|
11081
|
+
"kind": "primitive",
|
|
11082
|
+
"name": "string"
|
|
11083
|
+
},
|
|
11084
|
+
"description": "",
|
|
11085
|
+
"required": false
|
|
10852
11086
|
}
|
|
10853
11087
|
],
|
|
10854
11088
|
"events": [
|
|
10855
11089
|
{
|
|
10856
11090
|
"name": "update:modelValue",
|
|
10857
11091
|
"description": "",
|
|
10858
|
-
"type": "[value: string]"
|
|
11092
|
+
"type": "[value: string | undefined]"
|
|
10859
11093
|
}
|
|
10860
11094
|
],
|
|
10861
11095
|
"slots": [
|
|
@@ -10907,6 +11141,11 @@
|
|
|
10907
11141
|
"description": "Displays an asterisk (*) next to the label, to indicate that the field is required.",
|
|
10908
11142
|
"code": "<QTextArea label=\"Username\" :required=\"true\" />"
|
|
10909
11143
|
},
|
|
11144
|
+
{
|
|
11145
|
+
"title": "Invalid",
|
|
11146
|
+
"description": "Shows that the value is not valid, and tells assistive technology too (`aria-invalid`).",
|
|
11147
|
+
"code": "<QTextArea label=\"Username\" :invalid=\"true\" />"
|
|
11148
|
+
},
|
|
10910
11149
|
{
|
|
10911
11150
|
"title": "Custom Label",
|
|
10912
11151
|
"description": "Displays additional elements before or after the label.",
|
|
@@ -10939,15 +11178,6 @@
|
|
|
10939
11178
|
"description": "An extension of the `QField` component, providing a specialized field for textual data.",
|
|
10940
11179
|
"meta": {
|
|
10941
11180
|
"props": [
|
|
10942
|
-
{
|
|
10943
|
-
"name": "modelValue",
|
|
10944
|
-
"type": {
|
|
10945
|
-
"kind": "primitive",
|
|
10946
|
-
"name": "string"
|
|
10947
|
-
},
|
|
10948
|
-
"description": "",
|
|
10949
|
-
"required": false
|
|
10950
|
-
},
|
|
10951
11181
|
{
|
|
10952
11182
|
"name": "id",
|
|
10953
11183
|
"type": {
|
|
@@ -11055,8 +11285,8 @@
|
|
|
11055
11285
|
"type": {
|
|
11056
11286
|
"kind": "enum",
|
|
11057
11287
|
"values": [
|
|
11058
|
-
"medium",
|
|
11059
11288
|
"small",
|
|
11289
|
+
"medium",
|
|
11060
11290
|
"large",
|
|
11061
11291
|
"block",
|
|
11062
11292
|
"xlarge",
|
|
@@ -11138,13 +11368,22 @@
|
|
|
11138
11368
|
"default": "text",
|
|
11139
11369
|
"required": false,
|
|
11140
11370
|
"category": "Behavior"
|
|
11371
|
+
},
|
|
11372
|
+
{
|
|
11373
|
+
"name": "modelValue",
|
|
11374
|
+
"type": {
|
|
11375
|
+
"kind": "primitive",
|
|
11376
|
+
"name": "string"
|
|
11377
|
+
},
|
|
11378
|
+
"description": "",
|
|
11379
|
+
"required": false
|
|
11141
11380
|
}
|
|
11142
11381
|
],
|
|
11143
11382
|
"events": [
|
|
11144
11383
|
{
|
|
11145
11384
|
"name": "update:modelValue",
|
|
11146
11385
|
"description": "",
|
|
11147
|
-
"type": "[value: string]"
|
|
11386
|
+
"type": "[value: string | undefined]"
|
|
11148
11387
|
},
|
|
11149
11388
|
{
|
|
11150
11389
|
"name": "click:clear",
|
|
@@ -11188,7 +11427,7 @@
|
|
|
11188
11427
|
},
|
|
11189
11428
|
{
|
|
11190
11429
|
"title": "Tooltip",
|
|
11191
|
-
"description": "Help is a tooltip on the control.",
|
|
11430
|
+
"description": "Help is a tooltip on the control, which opens on hover and when the input takes focus.",
|
|
11192
11431
|
"code": "<QTextField help=\"Shown on the invoice\" help-display=\"tooltip\" />"
|
|
11193
11432
|
},
|
|
11194
11433
|
{
|
|
@@ -11221,9 +11460,14 @@
|
|
|
11221
11460
|
"description": "Displays an asterisk (*) next to the label, to indicate that the field is required.",
|
|
11222
11461
|
"code": "<QTextField label=\"Username\" :required=\"true\" />"
|
|
11223
11462
|
},
|
|
11463
|
+
{
|
|
11464
|
+
"title": "Invalid",
|
|
11465
|
+
"description": "Shows that the value is not valid, and tells assistive technology too (`aria-invalid`).",
|
|
11466
|
+
"code": "<QTextField label=\"Username\" :invalid=\"true\" />"
|
|
11467
|
+
},
|
|
11224
11468
|
{
|
|
11225
11469
|
"title": "Clearable",
|
|
11226
|
-
"description": "Adds a clear button to the field, allowing the user to clear the value.",
|
|
11470
|
+
"description": "Adds a clear button to the field, allowing the user to clear the value. The button leaves with the value, so focus goes back to the input, to type a new one.",
|
|
11227
11471
|
"code": "<QTextField :clearable=\"true\" />"
|
|
11228
11472
|
},
|
|
11229
11473
|
{
|
|
@@ -11321,6 +11565,17 @@
|
|
|
11321
11565
|
"required": false,
|
|
11322
11566
|
"category": "Content"
|
|
11323
11567
|
},
|
|
11568
|
+
{
|
|
11569
|
+
"name": "headingLevel",
|
|
11570
|
+
"type": {
|
|
11571
|
+
"kind": "primitive",
|
|
11572
|
+
"name": "number"
|
|
11573
|
+
},
|
|
11574
|
+
"description": "The heading level of the title, so screen reader users can find the toast by its heading.\nChoose the level that fits the page's heading outline. A value outside 1–6 renders the\ntitle in a plain `div`. Defaults to 4.",
|
|
11575
|
+
"default": "4",
|
|
11576
|
+
"required": false,
|
|
11577
|
+
"category": "Content"
|
|
11578
|
+
},
|
|
11324
11579
|
{
|
|
11325
11580
|
"name": "text",
|
|
11326
11581
|
"type": {
|
|
@@ -11529,15 +11784,6 @@
|
|
|
11529
11784
|
"description": "A two-state button that can be either on or off.",
|
|
11530
11785
|
"meta": {
|
|
11531
11786
|
"props": [
|
|
11532
|
-
{
|
|
11533
|
-
"name": "modelValue",
|
|
11534
|
-
"type": {
|
|
11535
|
-
"kind": "primitive",
|
|
11536
|
-
"name": "boolean"
|
|
11537
|
-
},
|
|
11538
|
-
"description": "",
|
|
11539
|
-
"required": false
|
|
11540
|
-
},
|
|
11541
11787
|
{
|
|
11542
11788
|
"name": "id",
|
|
11543
11789
|
"type": {
|
|
@@ -11607,8 +11853,8 @@
|
|
|
11607
11853
|
"type": {
|
|
11608
11854
|
"kind": "enum",
|
|
11609
11855
|
"values": [
|
|
11610
|
-
"tonal",
|
|
11611
11856
|
"text",
|
|
11857
|
+
"tonal",
|
|
11612
11858
|
"bold",
|
|
11613
11859
|
"outlined",
|
|
11614
11860
|
"ghost"
|
|
@@ -11673,8 +11919,8 @@
|
|
|
11673
11919
|
"type": {
|
|
11674
11920
|
"kind": "enum",
|
|
11675
11921
|
"values": [
|
|
11676
|
-
"medium",
|
|
11677
11922
|
"small",
|
|
11923
|
+
"medium",
|
|
11678
11924
|
"large"
|
|
11679
11925
|
]
|
|
11680
11926
|
},
|
|
@@ -11749,13 +11995,22 @@
|
|
|
11749
11995
|
"description": "Native tab order. Use `-1` to keep the control operable by pointer\nwhile excluding it from sequential keyboard focus.",
|
|
11750
11996
|
"required": false,
|
|
11751
11997
|
"category": "Behavior"
|
|
11998
|
+
},
|
|
11999
|
+
{
|
|
12000
|
+
"name": "modelValue",
|
|
12001
|
+
"type": {
|
|
12002
|
+
"kind": "primitive",
|
|
12003
|
+
"name": "boolean"
|
|
12004
|
+
},
|
|
12005
|
+
"description": "",
|
|
12006
|
+
"required": false
|
|
11752
12007
|
}
|
|
11753
12008
|
],
|
|
11754
12009
|
"events": [
|
|
11755
12010
|
{
|
|
11756
12011
|
"name": "update:modelValue",
|
|
11757
12012
|
"description": "",
|
|
11758
|
-
"type": "[value: boolean]"
|
|
12013
|
+
"type": "[value: boolean | undefined]"
|
|
11759
12014
|
}
|
|
11760
12015
|
],
|
|
11761
12016
|
"slots": [
|
|
@@ -11783,48 +12038,6 @@
|
|
|
11783
12038
|
"description": "A stateful version of the `QButtonGroup` component.",
|
|
11784
12039
|
"meta": {
|
|
11785
12040
|
"props": [
|
|
11786
|
-
{
|
|
11787
|
-
"name": "modelValue",
|
|
11788
|
-
"type": {
|
|
11789
|
-
"kind": "union",
|
|
11790
|
-
"types": [
|
|
11791
|
-
{
|
|
11792
|
-
"name": "string"
|
|
11793
|
-
},
|
|
11794
|
-
{
|
|
11795
|
-
"name": "number"
|
|
11796
|
-
},
|
|
11797
|
-
{
|
|
11798
|
-
"name": "symbol"
|
|
11799
|
-
},
|
|
11800
|
-
{
|
|
11801
|
-
"name": "array",
|
|
11802
|
-
"value": {
|
|
11803
|
-
"name": "union",
|
|
11804
|
-
"value": [
|
|
11805
|
-
{
|
|
11806
|
-
"name": "string"
|
|
11807
|
-
},
|
|
11808
|
-
{
|
|
11809
|
-
"name": "number"
|
|
11810
|
-
},
|
|
11811
|
-
{
|
|
11812
|
-
"name": "symbol"
|
|
11813
|
-
},
|
|
11814
|
-
{
|
|
11815
|
-
"name": "boolean"
|
|
11816
|
-
}
|
|
11817
|
-
]
|
|
11818
|
-
}
|
|
11819
|
-
},
|
|
11820
|
-
{
|
|
11821
|
-
"name": "boolean"
|
|
11822
|
-
}
|
|
11823
|
-
]
|
|
11824
|
-
},
|
|
11825
|
-
"description": "",
|
|
11826
|
-
"required": false
|
|
11827
|
-
},
|
|
11828
12041
|
{
|
|
11829
12042
|
"name": "id",
|
|
11830
12043
|
"type": {
|
|
@@ -11870,8 +12083,8 @@
|
|
|
11870
12083
|
"type": {
|
|
11871
12084
|
"kind": "enum",
|
|
11872
12085
|
"values": [
|
|
11873
|
-
"medium",
|
|
11874
12086
|
"small",
|
|
12087
|
+
"medium",
|
|
11875
12088
|
"large"
|
|
11876
12089
|
]
|
|
11877
12090
|
},
|
|
@@ -11908,6 +12121,49 @@
|
|
|
11908
12121
|
"description": "Indicates if there should be at least one option selected.",
|
|
11909
12122
|
"required": false,
|
|
11910
12123
|
"category": "State"
|
|
12124
|
+
},
|
|
12125
|
+
{
|
|
12126
|
+
"name": "modelValue",
|
|
12127
|
+
"type": {
|
|
12128
|
+
"kind": "union",
|
|
12129
|
+
"types": [
|
|
12130
|
+
{
|
|
12131
|
+
"name": "string"
|
|
12132
|
+
},
|
|
12133
|
+
{
|
|
12134
|
+
"name": "number"
|
|
12135
|
+
},
|
|
12136
|
+
{
|
|
12137
|
+
"name": "symbol"
|
|
12138
|
+
},
|
|
12139
|
+
{
|
|
12140
|
+
"name": "array",
|
|
12141
|
+
"value": {
|
|
12142
|
+
"name": "union",
|
|
12143
|
+
"value": [
|
|
12144
|
+
{
|
|
12145
|
+
"name": "string"
|
|
12146
|
+
},
|
|
12147
|
+
{
|
|
12148
|
+
"name": "number"
|
|
12149
|
+
},
|
|
12150
|
+
{
|
|
12151
|
+
"name": "symbol"
|
|
12152
|
+
},
|
|
12153
|
+
{
|
|
12154
|
+
"name": "boolean"
|
|
12155
|
+
}
|
|
12156
|
+
]
|
|
12157
|
+
}
|
|
12158
|
+
},
|
|
12159
|
+
{
|
|
12160
|
+
"name": "boolean"
|
|
12161
|
+
}
|
|
12162
|
+
]
|
|
12163
|
+
},
|
|
12164
|
+
"description": "",
|
|
12165
|
+
"default": "undefined",
|
|
12166
|
+
"required": false
|
|
11911
12167
|
}
|
|
11912
12168
|
],
|
|
11913
12169
|
"events": [
|
|
@@ -11967,15 +12223,6 @@
|
|
|
11967
12223
|
"description": "A floating, non-actionable label used to succinctly explain a user interface element or feature.",
|
|
11968
12224
|
"meta": {
|
|
11969
12225
|
"props": [
|
|
11970
|
-
{
|
|
11971
|
-
"name": "modelValue",
|
|
11972
|
-
"type": {
|
|
11973
|
-
"kind": "primitive",
|
|
11974
|
-
"name": "boolean"
|
|
11975
|
-
},
|
|
11976
|
-
"description": "",
|
|
11977
|
-
"required": false
|
|
11978
|
-
},
|
|
11979
12226
|
{
|
|
11980
12227
|
"name": "id",
|
|
11981
12228
|
"type": {
|
|
@@ -12140,13 +12387,22 @@
|
|
|
12140
12387
|
"description": "Whether the tooltip is disabled.",
|
|
12141
12388
|
"required": false,
|
|
12142
12389
|
"category": "State"
|
|
12390
|
+
},
|
|
12391
|
+
{
|
|
12392
|
+
"name": "modelValue",
|
|
12393
|
+
"type": {
|
|
12394
|
+
"kind": "primitive",
|
|
12395
|
+
"name": "boolean"
|
|
12396
|
+
},
|
|
12397
|
+
"description": "",
|
|
12398
|
+
"required": false
|
|
12143
12399
|
}
|
|
12144
12400
|
],
|
|
12145
12401
|
"events": [
|
|
12146
12402
|
{
|
|
12147
12403
|
"name": "update:modelValue",
|
|
12148
12404
|
"description": "",
|
|
12149
|
-
"type": "[value: boolean]"
|
|
12405
|
+
"type": "[value: boolean | undefined]"
|
|
12150
12406
|
}
|
|
12151
12407
|
],
|
|
12152
12408
|
"slots": [
|
|
@@ -12163,7 +12419,7 @@
|
|
|
12163
12419
|
"examples": [
|
|
12164
12420
|
{
|
|
12165
12421
|
"title": "Default",
|
|
12166
|
-
"description": "Displays the tooltip to the right of the element.",
|
|
12422
|
+
"description": "Displays the tooltip to the right of the element. It opens on hover and on keyboard focus, stays open while the pointer moves onto it, and Escape closes it without moving focus.",
|
|
12167
12423
|
"code": "<q-tooltip\n\t\t\t\tv-bind=\"args\"\n\t\t\t\t:anchor=\"anchor?.$el\">\n\t\t\t\t<template #anchor=\"{ props }\">\n\t\t\t\t\t<q-button\n\t\t\t\t\t\tref=\"anchor\"\n\t\t\t\t\t\tlabel=\"Hover me\"\n\t\t\t\t\t\tv-bind=\"props\" />\n\t\t\t\t</template>\n\t\t\t</q-tooltip>"
|
|
12168
12424
|
},
|
|
12169
12425
|
{
|