@quidgest/ui 0.27.1 → 0.28.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 +50 -0
- package/dist/json/api.json +1287 -297
- package/dist/manifest/components.json +1 -1
- package/dist/ui.css +594 -147
- package/dist/ui.esm.js +1561 -1526
- package/dist/ui.js +1127 -1092
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +1127 -1092
- package/dist/ui.scss +401 -126
- package/esm/components/QAccordion/QAccordion.d.ts +5 -1
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +28 -23
- package/esm/components/QAccordion/constants.d.ts +9 -0
- package/esm/components/QAccordion/constants.d.ts.map +1 -0
- package/esm/components/QAccordion/constants.js +5 -0
- package/esm/components/QAccordion/index.d.ts +18 -3
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QAccordion/types.d.ts +17 -0
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QAlert/QAlert.d.ts +68 -0
- package/esm/components/QAlert/QAlert.d.ts.map +1 -0
- package/esm/components/QAlert/QAlert.vue.js +113 -0
- package/esm/components/QAlert/QAlert2.vue.js +5 -0
- package/esm/components/QAlert/constants.d.ts +25 -0
- package/esm/components/QAlert/constants.d.ts.map +1 -0
- package/esm/components/QAlert/constants.js +11 -0
- package/esm/components/QAlert/index.d.ts +56 -0
- package/esm/components/QAlert/index.d.ts.map +1 -0
- package/esm/components/QAlert/index.js +6 -0
- package/esm/components/QAlert/types.d.ts +85 -0
- package/esm/components/QAlert/types.d.ts.map +1 -0
- package/esm/components/QAvatar/QAvatar.d.ts +1 -1
- package/esm/components/QAvatar/index.d.ts +3 -3
- package/esm/components/QAvatar/types.d.ts +1 -1
- package/esm/components/QAvatar/types.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.d.ts +1 -1
- package/esm/components/QBadge/QBadge.vue.js +10 -10
- package/esm/components/QBadge/constants.d.ts +1 -1
- package/esm/components/QBadge/constants.js +1 -1
- package/esm/components/QBadge/index.d.ts +3 -3
- package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.vue.js +14 -10
- package/esm/components/QBreadcrumbs/QBreadcrumb.d.ts +17 -4
- package/esm/components/QBreadcrumbs/QBreadcrumb.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/QBreadcrumb.vue.js +12 -7
- package/esm/components/QBreadcrumbs/QBreadcrumbs.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/QBreadcrumbs.vue.js +26 -32
- package/esm/components/QBreadcrumbs/constants.d.ts +11 -2
- package/esm/components/QBreadcrumbs/constants.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/constants.js +5 -3
- package/esm/components/QBreadcrumbs/context.d.ts +5 -5
- package/esm/components/QBreadcrumbs/context.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/index.d.ts +17 -4
- package/esm/components/QBreadcrumbs/index.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/types.d.ts +2 -0
- package/esm/components/QBreadcrumbs/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts +12 -4
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +118 -66
- package/esm/components/QButton/constants.d.ts +11 -0
- package/esm/components/QButton/constants.d.ts.map +1 -0
- package/esm/components/QButton/constants.js +5 -0
- package/esm/components/QButton/index.d.ts +15 -4
- package/esm/components/QButton/index.d.ts.map +1 -1
- package/esm/components/QButton/types.d.ts +52 -0
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QCard/QCard.d.ts.map +1 -1
- package/esm/components/QCard/QCard.vue.js +51 -48
- package/esm/components/QCarousel/QCarousel.d.ts +1 -1
- package/esm/components/QCarousel/QCarousel.vue.js +8 -8
- package/esm/components/QCarousel/constants.d.ts +2 -2
- package/esm/components/QCarousel/constants.js +2 -2
- package/esm/components/QCarousel/index.d.ts +3 -3
- package/esm/components/QCheckbox/QCheckbox.d.ts +18 -4
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +115 -94
- package/esm/components/QCheckbox/constants.d.ts +3 -0
- package/esm/components/QCheckbox/constants.d.ts.map +1 -1
- package/esm/components/QCheckbox/constants.js +4 -2
- package/esm/components/QCheckbox/index.d.ts +57 -46
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/index.js +2 -3
- package/esm/components/QCheckbox/types.d.ts +10 -7
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +23 -23
- package/esm/components/QCollapsible/index.d.ts +3 -3
- package/esm/components/QColorPicker/QColorPicker.d.ts +19 -2
- package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.vue.js +41 -30
- package/esm/components/QColorPicker/constants.d.ts +10 -0
- package/esm/components/QColorPicker/constants.d.ts.map +1 -1
- package/esm/components/QColorPicker/constants.js +6 -2
- package/esm/components/QColorPicker/index.d.ts +63 -6
- package/esm/components/QColorPicker/index.d.ts.map +1 -1
- package/esm/components/QColorPicker/types.d.ts +11 -3
- package/esm/components/QColorPicker/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +668 -256
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +157 -145
- package/esm/components/QCombobox/constants.d.ts +10 -0
- package/esm/components/QCombobox/constants.d.ts.map +1 -1
- package/esm/components/QCombobox/constants.js +13 -5
- package/esm/components/QCombobox/index.d.ts +889 -635
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +4 -2
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts +568 -49
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +97 -72
- package/esm/components/QDateTimePicker/constants.d.ts +4 -0
- package/esm/components/QDateTimePicker/constants.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/constants.js +12 -6
- package/esm/components/QDateTimePicker/index.d.ts +492 -32
- package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/types.d.ts +4 -2
- package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +1 -1
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +28 -24
- package/esm/components/QDialog/constants.d.ts +8 -0
- package/esm/components/QDialog/constants.d.ts.map +1 -1
- package/esm/components/QDialog/constants.js +9 -4
- package/esm/components/QDialog/index.d.ts +3 -3
- package/esm/components/QDialog/types.d.ts +4 -2
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +0 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +21 -15
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +135 -132
- package/esm/components/QDropdownMenu/constants.d.ts +6 -0
- package/esm/components/QDropdownMenu/constants.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/constants.js +6 -2
- package/esm/components/QDropdownMenu/index.d.ts +3 -6
- package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +9 -7
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QField/QField.d.ts +228 -3
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +99 -36
- package/esm/components/QField/constants.d.ts +11 -0
- package/esm/components/QField/constants.d.ts.map +1 -0
- package/esm/components/QField/constants.js +5 -0
- package/esm/components/QField/index.d.ts +129 -5
- package/esm/components/QField/index.d.ts.map +1 -1
- package/esm/components/QField/types.d.ts +37 -1
- package/esm/components/QField/types.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.d.ts +35 -3
- package/esm/components/QFileUpload/QFileUpload.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.vue.js +72 -53
- package/esm/components/QFileUpload/constants.d.ts +4 -0
- package/esm/components/QFileUpload/constants.d.ts.map +1 -1
- package/esm/components/QFileUpload/constants.js +6 -3
- package/esm/components/QFileUpload/index.d.ts +108 -9
- package/esm/components/QFileUpload/index.d.ts.map +1 -1
- package/esm/components/QFocusWrap/QFocusWrap.d.ts.map +1 -1
- package/esm/components/QFocusWrap/QFocusWrap.vue.js +38 -51
- package/esm/components/QIcon/QIconFont.d.ts +1 -3
- package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.vue.js +2 -2
- package/esm/components/QIcon/QIconSvg.d.ts +1 -3
- package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconSvg.vue.js +1 -1
- package/esm/components/QIcon/QSvgSymbol.d.ts +3 -2
- package/esm/components/QIcon/QSvgSymbol.d.ts.map +1 -1
- package/esm/components/QIcon/QSvgSymbol.vue.js +23 -14
- package/esm/components/QIcon/index.d.ts +2 -6
- package/esm/components/QIcon/index.d.ts.map +1 -1
- package/esm/components/QIcon/index.js +6 -6
- package/esm/components/QIcon/types.d.ts +7 -3
- package/esm/components/QIcon/types.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.d.ts +263 -12
- package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +20 -5
- package/esm/components/QInputGroup/index.d.ts +138 -9
- 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 +1 -0
- package/esm/components/QList/QList.d.ts +12 -10
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +128 -125
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +1 -1
- package/esm/components/QList/groupListItems.d.ts +25 -0
- package/esm/components/QList/groupListItems.d.ts.map +1 -0
- package/esm/components/QList/groupListItems.js +18 -0
- package/esm/components/QList/index.d.ts +8 -5
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +7 -0
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QObfuscation/QObfuscation.d.ts +28 -3
- package/esm/components/QObfuscation/QObfuscation.d.ts.map +1 -1
- package/esm/components/QObfuscation/QObfuscation.vue.js +119 -89
- package/esm/components/QObfuscation/constants.d.ts +4 -0
- package/esm/components/QObfuscation/constants.d.ts.map +1 -1
- package/esm/components/QObfuscation/constants.js +6 -3
- package/esm/components/QObfuscation/index.d.ts +83 -9
- package/esm/components/QObfuscation/index.d.ts.map +1 -1
- package/esm/components/QOverflow/QOverflow.vue.js +8 -8
- package/esm/components/QOverflow/constants.d.ts +6 -3
- package/esm/components/QOverflow/constants.d.ts.map +1 -1
- package/esm/components/QOverflow/constants.js +2 -2
- package/esm/components/QOverlay/QOverlay.d.ts +2 -2
- package/esm/components/QOverlay/index.d.ts +6 -6
- package/esm/components/QPasswordField/QPasswordField.d.ts +411 -25
- package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.vue.js +46 -35
- package/esm/components/QPasswordField/constants.d.ts +8 -0
- package/esm/components/QPasswordField/constants.d.ts.map +1 -1
- package/esm/components/QPasswordField/constants.js +8 -3
- package/esm/components/QPasswordField/index.d.ts +268 -15
- package/esm/components/QPasswordField/index.d.ts.map +1 -1
- package/esm/components/QPasswordField/types.d.ts +4 -2
- package/esm/components/QPasswordField/types.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.d.ts +1588 -118
- package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.vue.js +194 -168
- package/esm/components/QPhoneField/constants.d.ts +24 -0
- package/esm/components/QPhoneField/constants.d.ts.map +1 -1
- package/esm/components/QPhoneField/constants.js +14 -3
- package/esm/components/QPhoneField/index.d.ts +900 -64
- package/esm/components/QPhoneField/index.d.ts.map +1 -1
- package/esm/components/QPhoneField/types.d.ts +10 -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/QPropertyList/QPropertyList.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +61 -59
- package/esm/components/QPropertyList/QPropertyListGroup.vue.js +5 -6
- package/esm/components/QPropertyList/QPropertyListPanel.vue.js +0 -1
- package/esm/components/QPropertyList/QPropertyListRow.d.ts +1 -1
- package/esm/components/QPropertyList/index.d.ts +2 -4
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/types.d.ts +0 -12
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.d.ts +1 -1
- package/esm/components/QRadioGroup/QRadioButton.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.vue.js +49 -45
- package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +52 -37
- package/esm/components/QRadioGroup/index.d.ts +3 -3
- package/esm/components/QRadioGroup/types.d.ts +5 -4
- package/esm/components/QRadioGroup/types.d.ts.map +1 -1
- package/esm/components/QSection/QSection.d.ts +11 -3
- package/esm/components/QSection/QSection.d.ts.map +1 -1
- package/esm/components/QSection/QSection.vue.js +76 -21
- package/esm/components/QSection/constants.d.ts +11 -0
- package/esm/components/QSection/constants.d.ts.map +1 -0
- package/esm/components/QSection/constants.js +5 -0
- package/esm/components/QSection/index.d.ts +12 -1
- package/esm/components/QSection/index.d.ts.map +1 -1
- package/esm/components/QSection/types.d.ts +39 -0
- package/esm/components/QSection/types.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +320 -36
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +210 -177
- package/esm/components/QSelect/constants.d.ts +14 -1
- package/esm/components/QSelect/constants.d.ts.map +1 -1
- package/esm/components/QSelect/constants.js +14 -8
- package/esm/components/QSelect/index.d.ts +248 -28
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +4 -2
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.vue.js +68 -67
- package/esm/components/QSidebar/QSidebarItem.d.ts +32 -2
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
- package/esm/components/QSidebar/index.d.ts +16 -1
- package/esm/components/QSidebar/index.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/index.js +3 -3
- package/esm/components/QSteps/QStepHeader.d.ts.map +1 -1
- package/esm/components/QSteps/QStepHeader.vue.js +1 -0
- package/esm/components/QSteps/QSteps.d.ts.map +1 -1
- package/esm/components/QSteps/QSteps.vue.js +154 -126
- package/esm/components/QSteps/QStepsNav.vue.js +6 -6
- package/esm/components/QSteps/constants.d.ts +16 -1
- package/esm/components/QSteps/constants.d.ts.map +1 -1
- package/esm/components/QSteps/constants.js +6 -3
- package/esm/components/QSteps/types.d.ts +11 -3
- package/esm/components/QSteps/types.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.d.ts +195 -0
- package/esm/components/QSwitch/QSwitch.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.vue.js +96 -56
- package/esm/components/QSwitch/index.d.ts +197 -2
- package/esm/components/QSwitch/index.d.ts.map +1 -1
- package/esm/components/QSwitch/types.d.ts +2 -1
- package/esm/components/QSwitch/types.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.d.ts +35 -12
- package/esm/components/QTabs/QTab.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.vue.js +77 -67
- package/esm/components/QTabs/QTabs.d.ts +3 -0
- package/esm/components/QTabs/QTabs.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.vue.js +64 -52
- package/esm/components/QTabs/constants.d.ts +24 -2
- package/esm/components/QTabs/constants.d.ts.map +1 -1
- package/esm/components/QTabs/constants.js +9 -0
- package/esm/components/QTabs/index.d.ts +32 -13
- package/esm/components/QTabs/index.d.ts.map +1 -1
- package/esm/components/QTabs/types.d.ts +26 -2
- package/esm/components/QTabs/types.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.vue.js +61 -47
- package/esm/components/QTextArea/index.d.ts +3 -3
- package/esm/components/QTextField/QTextField.d.ts +277 -11
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.vue.js +70 -55
- package/esm/components/QTextField/constants.d.ts +9 -0
- package/esm/components/QTextField/constants.d.ts.map +1 -1
- package/esm/components/QTextField/constants.js +10 -3
- package/esm/components/QTextField/index.d.ts +192 -11
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/QTextField/index.js +4 -4
- package/esm/components/QTextField/types.d.ts +10 -2
- package/esm/components/QTextField/types.d.ts.map +1 -1
- package/esm/components/QToast/QToast.d.ts +4 -2
- package/esm/components/QToast/QToast.d.ts.map +1 -1
- package/esm/components/QToast/QToast.vue.js +153 -103
- package/esm/components/QToast/QToaster.d.ts +1 -1
- package/esm/components/QToast/QToaster.d.ts.map +1 -1
- package/esm/components/QToast/QToaster.vue.js +59 -29
- package/esm/components/QToast/constants.d.ts +18 -0
- package/esm/components/QToast/constants.d.ts.map +1 -1
- package/esm/components/QToast/constants.js +9 -2
- package/esm/components/QToast/context.d.ts +24 -0
- package/esm/components/QToast/context.d.ts.map +1 -0
- package/esm/components/QToast/context.js +4 -0
- package/esm/components/QToast/index.d.ts +12 -7
- package/esm/components/QToast/index.d.ts.map +1 -1
- package/esm/components/QToast/types.d.ts +23 -3
- package/esm/components/QToast/types.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.d.ts +2 -2
- package/esm/components/QToggle/QToggle.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.vue.js +13 -0
- package/esm/components/QToggle/index.d.ts +16 -1
- package/esm/components/QToggle/index.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts +2 -2
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +20 -7
- package/esm/components/QToggleGroup/index.d.ts +1 -1
- package/esm/components/QToggleGroup/types.d.ts +8 -1
- package/esm/components/QToggleGroup/types.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.d.ts +1 -1
- package/esm/components/QTooltip/index.d.ts +3 -3
- package/esm/components/__internal__/QChevron/QChevron.vue.js +5 -5
- package/esm/components/__internal__/QClearButton/QClearButton.d.ts +1 -1
- package/esm/components/__internal__/QClearButton/QClearButton.vue.js +4 -4
- package/esm/components/__internal__/QClearButton/index.d.ts +1 -1
- package/esm/components/__internal__/QClearButton/index.d.ts.map +1 -1
- package/esm/components/__internal__/QHelpPopover/QHelpPopover.d.ts +99 -0
- package/esm/components/__internal__/QHelpPopover/QHelpPopover.d.ts.map +1 -0
- package/esm/components/__internal__/QHelpPopover/QHelpPopover.vue.js +60 -0
- package/esm/components/__internal__/QHelpPopover/QHelpPopover2.vue.js +5 -0
- package/esm/components/__internal__/QHelpPopover/constants.d.ts +9 -0
- package/esm/components/__internal__/QHelpPopover/constants.d.ts.map +1 -0
- package/esm/components/__internal__/QHelpPopover/constants.js +4 -0
- package/esm/components/__internal__/QHelpPopover/index.d.ts +98 -0
- package/esm/components/__internal__/QHelpPopover/index.d.ts.map +1 -0
- package/esm/components/__internal__/QHelpPopover/index.js +6 -0
- package/esm/components/__internal__/QHelpPopover/resolveHelp.d.ts +50 -0
- package/esm/components/__internal__/QHelpPopover/resolveHelp.d.ts.map +1 -0
- package/esm/components/__internal__/QHelpPopover/resolveHelp.js +27 -0
- package/esm/components/__internal__/QHelpPopover/types.d.ts +32 -0
- package/esm/components/__internal__/QHelpPopover/types.d.ts.map +1 -0
- package/esm/components/__internal__/QSafeTriangle/QSafeTriangle.d.ts +2 -2
- package/esm/components/__internal__/QSafeTriangle/index.d.ts +2 -2
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +132 -131
- package/esm/composables/useColor/index.d.ts +31 -21
- package/esm/composables/useColor/index.d.ts.map +1 -1
- package/esm/composables/useColor/index.js +58 -49
- package/esm/composables/useColor/types.d.ts +19 -6
- package/esm/composables/useColor/types.d.ts.map +1 -1
- package/esm/composables/useDialog/types.d.ts +3 -3
- package/esm/composables/useDialog/types.d.ts.map +1 -1
- package/esm/composables/useToast/_internal.js +13 -8
- package/esm/composables/useToast/types.d.ts +3 -3
- package/esm/composables/useToast/types.d.ts.map +1 -1
- package/esm/index.d.ts +2 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/types/component.d.ts +23 -0
- package/esm/types/component.d.ts.map +1 -1
- package/esm/types/index.d.ts +1 -1
- package/esm/types/index.d.ts.map +1 -1
- package/esm/utils/color/merge.d.ts.map +1 -1
- package/esm/utils/focus.d.ts +35 -0
- package/esm/utils/focus.d.ts.map +1 -0
- package/esm/utils/focus.js +27 -0
- package/esm/utils/overlay.js +2 -2
- package/esm/utils/severity.d.ts +40 -0
- package/esm/utils/severity.d.ts.map +1 -0
- package/esm/utils/severity.js +25 -0
- package/esm/utils/theme.js +12 -12
- package/package.json +1 -1
- package/esm/components/QCheckbox/QCheckboxLabel.d.ts +0 -18
- package/esm/components/QCheckbox/QCheckboxLabel.d.ts.map +0 -1
- package/esm/components/QCheckbox/QCheckboxLabel.vue.js +0 -32
- package/esm/components/QCheckbox/QCheckboxLabel2.vue.js +0 -5
package/dist/json/api.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.28.0",
|
|
3
3
|
"components": [
|
|
4
4
|
{
|
|
5
5
|
"name": "QAccordion",
|
|
@@ -104,6 +104,28 @@
|
|
|
104
104
|
"description": "If true, allows multiple collapsible sections to be expanded simultaneously.",
|
|
105
105
|
"required": false,
|
|
106
106
|
"category": "Behavior"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "icons",
|
|
110
|
+
"type": {
|
|
111
|
+
"kind": "object",
|
|
112
|
+
"fields": {}
|
|
113
|
+
},
|
|
114
|
+
"description": "Icons for the sections. They reach every section through the defaults cascade,\nunless a section sets its own `icons`.\nPass every key, or omit the prop to keep the defaults.",
|
|
115
|
+
"default": "DEFAULT_ICONS",
|
|
116
|
+
"required": false,
|
|
117
|
+
"category": "Configuration"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "texts",
|
|
121
|
+
"type": {
|
|
122
|
+
"kind": "object",
|
|
123
|
+
"fields": {}
|
|
124
|
+
},
|
|
125
|
+
"description": "Accessible strings for the sections. They reach every section through the defaults cascade,\nunless a section sets its own `texts`.\nPass every key, or omit the prop to keep the defaults.",
|
|
126
|
+
"default": "DEFAULT_TEXTS",
|
|
127
|
+
"required": false,
|
|
128
|
+
"category": "Configuration"
|
|
107
129
|
}
|
|
108
130
|
],
|
|
109
131
|
"events": [
|
|
@@ -143,6 +165,195 @@
|
|
|
143
165
|
}
|
|
144
166
|
]
|
|
145
167
|
},
|
|
168
|
+
{
|
|
169
|
+
"name": "QAlert",
|
|
170
|
+
"description": "Alerts show persistent feedback inside the page, such as a summary of form errors or a notice next to related content. They stay in the document flow until removed. For short-lived notifications that float over the page, use a toast instead. The colors `info`, `success`, `warning` and `danger` set a severity: a default icon, a prefix that screen readers announce before the message (for example \"Warning:\"), and the live region role. Warnings and errors use `role=\"alert\"`, which interrupts the user. Other alerts use `role=\"status\"`, which waits until the user is idle.",
|
|
171
|
+
"meta": {
|
|
172
|
+
"props": [
|
|
173
|
+
{
|
|
174
|
+
"name": "id",
|
|
175
|
+
"type": {
|
|
176
|
+
"kind": "primitive",
|
|
177
|
+
"name": "string"
|
|
178
|
+
},
|
|
179
|
+
"description": "The component unique identifier.",
|
|
180
|
+
"required": false,
|
|
181
|
+
"category": "Identification"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "title",
|
|
185
|
+
"type": {
|
|
186
|
+
"kind": "primitive",
|
|
187
|
+
"name": "string"
|
|
188
|
+
},
|
|
189
|
+
"description": "The title of the alert, shown above the message.\nWithout a title, the alert is a single-row banner.",
|
|
190
|
+
"required": false,
|
|
191
|
+
"category": "Content"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "headingLevel",
|
|
195
|
+
"type": {
|
|
196
|
+
"kind": "primitive",
|
|
197
|
+
"name": "number"
|
|
198
|
+
},
|
|
199
|
+
"description": "The heading level of the title, so screen reader users can find the alert by its\nheading. Choose the level that fits the page's heading outline. A value outside\n1–6 renders the title as a plain `div`.",
|
|
200
|
+
"default": "2",
|
|
201
|
+
"required": false,
|
|
202
|
+
"category": "Content"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "text",
|
|
206
|
+
"type": {
|
|
207
|
+
"kind": "primitive",
|
|
208
|
+
"name": "string"
|
|
209
|
+
},
|
|
210
|
+
"description": "The message of the alert.\nUse the default slot instead for rich content, such as links or a list of errors.",
|
|
211
|
+
"required": false,
|
|
212
|
+
"category": "Content"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "color",
|
|
216
|
+
"type": {
|
|
217
|
+
"kind": "primitive",
|
|
218
|
+
"name": "string"
|
|
219
|
+
},
|
|
220
|
+
"description": "The color of the alert.\nCan be chosen from utility colors like 'success' or 'danger',\nor specified using CSS color codes.\n`info`, `success`, `warning` and `danger` also set the severity: the icon from `icons`,\nthe text screen readers announce before the message, and the default `live` value.\nOther colors show no icon unless one is passed in the `icon` slot.",
|
|
221
|
+
"default": "info",
|
|
222
|
+
"required": false,
|
|
223
|
+
"category": "Presentation"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "variant",
|
|
227
|
+
"type": {
|
|
228
|
+
"kind": "enum",
|
|
229
|
+
"values": [
|
|
230
|
+
"tonal",
|
|
231
|
+
"bold",
|
|
232
|
+
"outlined"
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
"description": "Specifies the visual style of the alert.",
|
|
236
|
+
"default": "tonal",
|
|
237
|
+
"required": false,
|
|
238
|
+
"category": "Presentation"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "dismissible",
|
|
242
|
+
"type": {
|
|
243
|
+
"kind": "primitive",
|
|
244
|
+
"name": "boolean"
|
|
245
|
+
},
|
|
246
|
+
"description": "Whether the alert shows a dismiss button.\nPressing it emits `dismiss`. The alert stays on the page until you remove it.\nWhen the alert is removed while it has focus, focus moves to the next focusable\nelement on the page, or the previous one when nothing follows. To send focus\nelsewhere, move it in the `dismiss` handler.",
|
|
247
|
+
"required": false,
|
|
248
|
+
"category": "Behavior"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "live",
|
|
252
|
+
"type": {
|
|
253
|
+
"kind": "enum",
|
|
254
|
+
"values": [
|
|
255
|
+
"assertive",
|
|
256
|
+
"polite",
|
|
257
|
+
"off"
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"description": "How screen readers announce the alert.\n`assertive` (`role=\"alert\"`) interrupts the user, `polite` (`role=\"status\"`) waits\nuntil they are idle, and `off` sets no live region.\nDefaults to `assertive` for `warning` and `danger` and to `polite` for any other color.\nScreen readers only announce content that appears after the page loads, and many\nskip a `polite` alert that appears together with its message. Use `assertive` when\nthe message must be heard, and `off` for notices that are part of the page from the start.",
|
|
261
|
+
"required": false,
|
|
262
|
+
"category": "Accessibility"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "icons",
|
|
266
|
+
"type": {
|
|
267
|
+
"kind": "object",
|
|
268
|
+
"fields": {}
|
|
269
|
+
},
|
|
270
|
+
"description": "Custom icon configurations: the severity icons and the dismiss icon.\nPass every key, or omit the prop to keep the defaults.",
|
|
271
|
+
"default": "DEFAULT_ICONS",
|
|
272
|
+
"required": false,
|
|
273
|
+
"category": "Configuration"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "texts",
|
|
277
|
+
"type": {
|
|
278
|
+
"kind": "object",
|
|
279
|
+
"fields": {}
|
|
280
|
+
},
|
|
281
|
+
"description": "Custom text configurations: the severity texts read before the message,\nand the label of the dismiss button.\nPass every key, or omit the prop to keep the defaults.",
|
|
282
|
+
"default": "DEFAULT_TEXTS",
|
|
283
|
+
"required": false,
|
|
284
|
+
"category": "Configuration"
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"events": [
|
|
288
|
+
{
|
|
289
|
+
"name": "dismiss",
|
|
290
|
+
"description": "",
|
|
291
|
+
"type": "[]"
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"slots": [
|
|
295
|
+
{
|
|
296
|
+
"name": "icon",
|
|
297
|
+
"description": "Replaces the severity icon, or adds an icon to an alert in another color.\nThe icon is decorative and hidden from screen readers, so anything it conveys\nmust also be in the message."
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "default",
|
|
301
|
+
"description": "The message, for content that `text` cannot hold, such as links or a list of errors."
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "actions",
|
|
305
|
+
"description": "Buttons or links that act on the alert.\nOn a `bold` alert, a `QButton` here defaults to the `bold` variant in the alert's\non-color, which stands out from the fill. A button that sets its own `color`\nmust contrast with the fill: the theme's primary nearly disappears on a bold\n`danger` alert. For a quieter second action, use `variant=\"bold\"` with the\nalert's own `color`, so the button blends into the fill and only its text shows."
|
|
306
|
+
}
|
|
307
|
+
]
|
|
308
|
+
},
|
|
309
|
+
"examples": [
|
|
310
|
+
{
|
|
311
|
+
"title": "With Title",
|
|
312
|
+
"description": "A title stacks the message below it. The title is a level 2 heading by default, so screen reader users can find the alert by its heading. Set `headingLevel` to fit the page's heading outline.",
|
|
313
|
+
"code": "<QAlert title=\"Unsaved changes\" text=\"Save the record before leaving this page, or your changes will be lost.\" />"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"title": "Severities",
|
|
317
|
+
"description": "Each severity color has its own icon and screen reader prefix. Warnings and errors interrupt screen reader users, so keep them for messages that need immediate attention.",
|
|
318
|
+
"code": "<div style=\"display: flex; flex-direction: column; gap: 0.5rem;\">\n\t\t\t\t<q-alert\n\t\t\t\t\tv-for=\"alert in alerts\"\n\t\t\t\t\t:key=\"alert.color\"\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\t:color=\"alert.color\"\n\t\t\t\t\t:text=\"alert.text\" />\n\t\t\t</div>"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"title": "Variants",
|
|
322
|
+
"description": "`tonal` (default), `bold` and `outlined`.",
|
|
323
|
+
"code": "<div style=\"display: flex; flex-direction: column; gap: 0.5rem;\">\n\t\t\t\t<q-alert\n\t\t\t\t\tv-for=\"variant in variants\"\n\t\t\t\t\t:key=\"variant\"\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\t:variant=\"variant\" />\n\t\t\t</div>"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"title": "Custom Color",
|
|
327
|
+
"description": "Any CSS color works too. Colors other than the four severities have no default icon, no screen reader prefix, and use `role=\"status\"`. Pass an icon in the `icon` slot to show one. The slot also replaces the icon of a severity alert.",
|
|
328
|
+
"code": "<q-alert v-bind=\"args\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<q-icon icon=\"information-outline\" />\n\t\t\t\t</template>\n\t\t\t</q-alert>"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"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>"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"title": "Actions",
|
|
337
|
+
"description": "The `actions` slot holds buttons or links that act on the alert. In a banner they share the row with the message and wrap below it when space runs out.",
|
|
338
|
+
"code": "<div style=\"display: flex; flex-direction: column; gap: 0.5rem;\">\n\t\t\t\t<q-alert v-bind=\"args\">\n\t\t\t\t\t<template #actions>\n\t\t\t\t\t\t<q-button label=\"Delete\" variant=\"bold\" color=\"danger\" />\n\t\t\t\t\t\t<q-button label=\"Cancel\" variant=\"outlined\" color=\"warning\" />\n\t\t\t\t\t</template>\n\t\t\t\t</q-alert>\n\t\t\t\t<q-alert v-bind=\"args\" title=\"Delete record\">\n\t\t\t\t\t<template #actions>\n\t\t\t\t\t\t<q-button label=\"Delete\" variant=\"bold\" color=\"danger\" />\n\t\t\t\t\t\t<q-button label=\"Cancel\" variant=\"outlined\" color=\"warning\" />\n\t\t\t\t\t</template>\n\t\t\t\t</q-alert>\n\t\t\t</div>"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"title": "Actions On Bold",
|
|
342
|
+
"description": "On a `bold` alert, the theme's default button color can disappear into the fill. A `QButton` in the `actions` slot therefore defaults to the `bold` variant in the alert's on-color (Undo, Try again). For a quieter second action, give the button the alert's own `color` with `variant=\"bold\"`: it blends into the fill and only its text shows (View trash). A button that sets another color must contrast with the fill.",
|
|
343
|
+
"code": "<div style=\"display: flex; flex-direction: column; gap: 0.5rem;\">\n\t\t\t\t<q-alert v-bind=\"args\" color=\"success\" text=\"The record was deleted.\">\n\t\t\t\t\t<template #actions>\n\t\t\t\t\t\t<q-button label=\"Undo\" />\n\t\t\t\t\t\t<q-button label=\"View trash\" variant=\"bold\" color=\"success\" />\n\t\t\t\t\t</template>\n\t\t\t\t</q-alert>\n\t\t\t\t<q-alert v-bind=\"args\" color=\"danger\" text=\"The record could not be saved.\">\n\t\t\t\t\t<template #actions>\n\t\t\t\t\t\t<q-button label=\"Try again\" />\n\t\t\t\t\t</template>\n\t\t\t\t</q-alert>\n\t\t\t\t<q-alert\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\tcolor=\"warning\"\n\t\t\t\t\ttitle=\"Delete record\"\n\t\t\t\t\ttext=\"Do you wish to delete this record?\">\n\t\t\t\t\t<template #actions>\n\t\t\t\t\t\t<q-button label=\"Delete\" />\n\t\t\t\t\t\t<q-button label=\"Cancel\" variant=\"bold\" color=\"warning\" />\n\t\t\t\t\t</template>\n\t\t\t\t</q-alert>\n\t\t\t</div>"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"title": "Dismissible",
|
|
347
|
+
"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
|
+
"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
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"title": "Dismissible Bold",
|
|
352
|
+
"description": "`bold` alerts paint the dismiss button's focus ring in the alert's text color, so it stays visible on the solid fill.",
|
|
353
|
+
"code": "<QAlert color=\"danger\" variant=\"bold\" :dismissible=\"true\" title=\"The record could not be saved\" text=\"The server did not respond. Try again in a few minutes.\" />"
|
|
354
|
+
}
|
|
355
|
+
]
|
|
356
|
+
},
|
|
146
357
|
{
|
|
147
358
|
"name": "QAvatar",
|
|
148
359
|
"description": "Avatars visually represent users or entities. They can display an image, initials, or fallback content, and support customization for size, shape, and colors.",
|
|
@@ -592,7 +803,7 @@
|
|
|
592
803
|
"kind": "object",
|
|
593
804
|
"fields": {}
|
|
594
805
|
},
|
|
595
|
-
"description": "Custom icons for the default separator and the collapsed-items control.",
|
|
806
|
+
"description": "Custom icons for the default separator and the collapsed-items control.\nPass every key, or omit the prop to keep the defaults.",
|
|
596
807
|
"default": "DEFAULT_ICONS",
|
|
597
808
|
"required": false,
|
|
598
809
|
"category": "Configuration"
|
|
@@ -603,7 +814,7 @@
|
|
|
603
814
|
"kind": "object",
|
|
604
815
|
"fields": {}
|
|
605
816
|
},
|
|
606
|
-
"description": "Custom accessible strings.",
|
|
817
|
+
"description": "Custom accessible strings.\nPass every key, or omit the prop to keep the defaults.",
|
|
607
818
|
"default": "DEFAULT_TEXTS",
|
|
608
819
|
"required": false,
|
|
609
820
|
"category": "Configuration"
|
|
@@ -669,16 +880,63 @@
|
|
|
669
880
|
"required": false,
|
|
670
881
|
"category": "Content"
|
|
671
882
|
},
|
|
883
|
+
{
|
|
884
|
+
"name": "help",
|
|
885
|
+
"type": {
|
|
886
|
+
"kind": "primitive",
|
|
887
|
+
"name": "string"
|
|
888
|
+
},
|
|
889
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the button.\nThe popover title is the button label.\n\nWith help, the root element is a `display: contents` wrapper around the button\n(and the help), not the button itself, so:\n- Anchor popovers, tooltips, and measurements to the inner `button`, not to the\n component's `$el`, which has no box.\n- Do not toggle `help` on a focused button: the button is remounted and loses focus.\n- Direct-child selectors such as those of `QButtonGroup` no longer match the button,\n so `QToggleGroupItem` does not accept help.",
|
|
890
|
+
"required": false,
|
|
891
|
+
"category": "Content"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"name": "helpDisplay",
|
|
895
|
+
"type": {
|
|
896
|
+
"kind": "enum",
|
|
897
|
+
"values": [
|
|
898
|
+
"popover",
|
|
899
|
+
"tooltip",
|
|
900
|
+
"subtext"
|
|
901
|
+
]
|
|
902
|
+
},
|
|
903
|
+
"description": "How {@link QButtonProps.help} is presented. Defaults to a popover.\n\n`subtext` renders the help under the button only in block flow. In a flex row\n(such as a dialog footer) or in an inline run it becomes a sibling beside the\nbutton, or breaks the line, so prefer `popover` or `tooltip` there.",
|
|
904
|
+
"default": "popover",
|
|
905
|
+
"required": false,
|
|
906
|
+
"category": "Presentation"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"name": "icons",
|
|
910
|
+
"type": {
|
|
911
|
+
"kind": "object",
|
|
912
|
+
"fields": {}
|
|
913
|
+
},
|
|
914
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.",
|
|
915
|
+
"default": "DEFAULT_ICONS",
|
|
916
|
+
"required": false,
|
|
917
|
+
"category": "Configuration"
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"name": "texts",
|
|
921
|
+
"type": {
|
|
922
|
+
"kind": "object",
|
|
923
|
+
"fields": {}
|
|
924
|
+
},
|
|
925
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.",
|
|
926
|
+
"default": "DEFAULT_TEXTS",
|
|
927
|
+
"required": false,
|
|
928
|
+
"category": "Configuration"
|
|
929
|
+
},
|
|
672
930
|
{
|
|
673
931
|
"name": "variant",
|
|
674
932
|
"type": {
|
|
675
933
|
"kind": "enum",
|
|
676
934
|
"values": [
|
|
677
935
|
"tonal",
|
|
936
|
+
"text",
|
|
678
937
|
"bold",
|
|
679
938
|
"outlined",
|
|
680
|
-
"ghost"
|
|
681
|
-
"text"
|
|
939
|
+
"ghost"
|
|
682
940
|
]
|
|
683
941
|
},
|
|
684
942
|
"description": "Specifies the visual style of the button.",
|
|
@@ -697,6 +955,16 @@
|
|
|
697
955
|
"required": false,
|
|
698
956
|
"category": "Presentation"
|
|
699
957
|
},
|
|
958
|
+
{
|
|
959
|
+
"name": "surface",
|
|
960
|
+
"type": {
|
|
961
|
+
"kind": "primitive",
|
|
962
|
+
"name": "string"
|
|
963
|
+
},
|
|
964
|
+
"description": "The color the button sits on, when it is not the theme background: a utility color\nlike 'primary', or a CSS color code. The label color of the `tonal`, `outlined`,\n`ghost` and `text` variants, and the hover color, are measured against it, so the\nbutton stays readable on a colored banner. Defaults to the theme background.",
|
|
965
|
+
"required": false,
|
|
966
|
+
"category": "Presentation"
|
|
967
|
+
},
|
|
700
968
|
{
|
|
701
969
|
"name": "borderless",
|
|
702
970
|
"type": {
|
|
@@ -836,6 +1104,21 @@
|
|
|
836
1104
|
"description": "The default button, suitable for most situations. Displays a label provided by the `label` prop.",
|
|
837
1105
|
"code": "<QButton label=\"Button\" />"
|
|
838
1106
|
},
|
|
1107
|
+
{
|
|
1108
|
+
"title": "Popover",
|
|
1109
|
+
"description": "Help shown in a popover beside the button. The popover title is the button label.",
|
|
1110
|
+
"code": "<QButton label=\"Button\" help=\"Saves the current record\" />"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"title": "Tooltip",
|
|
1114
|
+
"description": "Help is a tooltip on the button.",
|
|
1115
|
+
"code": "<QButton label=\"Button\" help=\"Saves the current record\" help-display=\"tooltip\" />"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"title": "Subtext",
|
|
1119
|
+
"description": "Help rendered under the button.",
|
|
1120
|
+
"code": "<QButton label=\"Button\" help=\"Saves the current record\" help-display=\"subtext\" />"
|
|
1121
|
+
},
|
|
839
1122
|
{
|
|
840
1123
|
"title": "Icons",
|
|
841
1124
|
"description": "Displays an icon alongside the button label.",
|
|
@@ -856,6 +1139,11 @@
|
|
|
856
1139
|
"description": "Use the primary button once per page to represent the preferred user action.",
|
|
857
1140
|
"code": "<div style=\"display: flex; flex-direction: column; align-items: start; gap: .5rem\">\n\t\t\t\t<div\n\t\t\t\t\tv-for=\"variant in variants\"\n\t\t\t\t\t:key=\"variant\"\n\t\t\t\t\tstyle=\"display: flex; align-items: start; gap: .5rem\">\n\t\t\t\t\t<q-button\n\t\t\t\t\t\tv-for=\"color in colors\"\n\t\t\t\t\t\t:key=\"color\"\n\t\t\t\t\t\t:variant\n\t\t\t\t\t\t:color\n\t\t\t\t\t\t:label=\"color\"\n\t\t\t\t\t\tv-bind=args />\n\t\t\t\t</div>\n\t\t\t</div>"
|
|
858
1141
|
},
|
|
1142
|
+
{
|
|
1143
|
+
"title": "Surface",
|
|
1144
|
+
"description": "On a colored banner, set `surface` to the banner's color. The label and the hover are then measured against the banner instead of the page, so they stay readable.",
|
|
1145
|
+
"code": "<div style=\"display: flex; gap: .5rem; padding: 1rem; border-radius: var(--q-border-radius); background-color: var(--q-theme-primary)\">\n\t\t\t\t<q-button\n\t\t\t\t\tv-for=\"variant in variants\"\n\t\t\t\t\t:key=\"variant\"\n\t\t\t\t\t:variant\n\t\t\t\t\tcolor=\"background\"\n\t\t\t\t\tsurface=\"primary\"\n\t\t\t\t\t:label=\"variant\" />\n\t\t\t</div>"
|
|
1146
|
+
},
|
|
859
1147
|
{
|
|
860
1148
|
"title": "Disabled",
|
|
861
1149
|
"description": "Cannot be clicked.",
|
|
@@ -1465,6 +1753,16 @@
|
|
|
1465
1753
|
"required": false,
|
|
1466
1754
|
"category": "Identification"
|
|
1467
1755
|
},
|
|
1756
|
+
{
|
|
1757
|
+
"name": "required",
|
|
1758
|
+
"type": {
|
|
1759
|
+
"kind": "primitive",
|
|
1760
|
+
"name": "boolean"
|
|
1761
|
+
},
|
|
1762
|
+
"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).",
|
|
1763
|
+
"required": false,
|
|
1764
|
+
"category": "State"
|
|
1765
|
+
},
|
|
1468
1766
|
{
|
|
1469
1767
|
"name": "label",
|
|
1470
1768
|
"type": {
|
|
@@ -1476,52 +1774,71 @@
|
|
|
1476
1774
|
"category": "Content"
|
|
1477
1775
|
},
|
|
1478
1776
|
{
|
|
1479
|
-
"name": "
|
|
1777
|
+
"name": "for",
|
|
1480
1778
|
"type": {
|
|
1481
1779
|
"kind": "primitive",
|
|
1482
|
-
"name": "
|
|
1780
|
+
"name": "string"
|
|
1483
1781
|
},
|
|
1484
|
-
"description": "
|
|
1782
|
+
"description": "The form field associated with the label.",
|
|
1485
1783
|
"required": false,
|
|
1486
|
-
"category": "
|
|
1784
|
+
"category": "Accessibility"
|
|
1487
1785
|
},
|
|
1488
1786
|
{
|
|
1489
|
-
"name": "
|
|
1787
|
+
"name": "help",
|
|
1490
1788
|
"type": {
|
|
1491
1789
|
"kind": "primitive",
|
|
1492
1790
|
"name": "string"
|
|
1493
1791
|
},
|
|
1494
|
-
"description": "
|
|
1792
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
1495
1793
|
"required": false,
|
|
1496
|
-
"category": "
|
|
1794
|
+
"category": "Content"
|
|
1497
1795
|
},
|
|
1498
1796
|
{
|
|
1499
|
-
"name": "
|
|
1797
|
+
"name": "helpDisplay",
|
|
1500
1798
|
"type": {
|
|
1501
1799
|
"kind": "enum",
|
|
1502
1800
|
"values": [
|
|
1503
|
-
"
|
|
1504
|
-
"
|
|
1505
|
-
"
|
|
1506
|
-
"topleft",
|
|
1507
|
-
"topright"
|
|
1801
|
+
"popover",
|
|
1802
|
+
"tooltip",
|
|
1803
|
+
"subtext"
|
|
1508
1804
|
]
|
|
1509
1805
|
},
|
|
1510
|
-
"description": "
|
|
1806
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
1511
1807
|
"required": false,
|
|
1512
1808
|
"category": "Presentation"
|
|
1513
1809
|
},
|
|
1810
|
+
{
|
|
1811
|
+
"name": "icons",
|
|
1812
|
+
"type": {
|
|
1813
|
+
"kind": "object",
|
|
1814
|
+
"fields": {}
|
|
1815
|
+
},
|
|
1816
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.\nCustom icon configurations.",
|
|
1817
|
+
"default": "DEFAULT_ICONS",
|
|
1818
|
+
"required": false,
|
|
1819
|
+
"category": "Configuration"
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
"name": "texts",
|
|
1823
|
+
"type": {
|
|
1824
|
+
"kind": "object",
|
|
1825
|
+
"fields": {}
|
|
1826
|
+
},
|
|
1827
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.",
|
|
1828
|
+
"required": false,
|
|
1829
|
+
"category": "Configuration"
|
|
1830
|
+
},
|
|
1514
1831
|
{
|
|
1515
1832
|
"name": "labelPlacement",
|
|
1516
1833
|
"type": {
|
|
1517
1834
|
"kind": "enum",
|
|
1518
1835
|
"values": [
|
|
1519
|
-
"
|
|
1520
|
-
"
|
|
1836
|
+
"start",
|
|
1837
|
+
"end"
|
|
1521
1838
|
]
|
|
1522
1839
|
},
|
|
1523
|
-
"description": "
|
|
1524
|
-
"default": "
|
|
1840
|
+
"description": "Where the label sits relative to the checkbox. Same values as `QRadioButton`.\n- 'end': Label follows the box\n- 'start': Label precedes the box",
|
|
1841
|
+
"default": "end",
|
|
1525
1842
|
"required": false,
|
|
1526
1843
|
"category": "Presentation"
|
|
1527
1844
|
},
|
|
@@ -1531,7 +1848,7 @@
|
|
|
1531
1848
|
"kind": "primitive",
|
|
1532
1849
|
"name": "string"
|
|
1533
1850
|
},
|
|
1534
|
-
"description": "
|
|
1851
|
+
"description": "The color of the checkbox.\nCan be chosen from utility colors like 'success' or 'danger',\nor specified using CSS color codes.",
|
|
1535
1852
|
"default": "primary",
|
|
1536
1853
|
"required": false,
|
|
1537
1854
|
"category": "Presentation"
|
|
@@ -1580,17 +1897,6 @@
|
|
|
1580
1897
|
"required": false,
|
|
1581
1898
|
"category": "State"
|
|
1582
1899
|
},
|
|
1583
|
-
{
|
|
1584
|
-
"name": "icons",
|
|
1585
|
-
"type": {
|
|
1586
|
-
"kind": "object",
|
|
1587
|
-
"fields": {}
|
|
1588
|
-
},
|
|
1589
|
-
"description": "Custom icon configurations.",
|
|
1590
|
-
"default": "DEFAULT_ICONS",
|
|
1591
|
-
"required": false,
|
|
1592
|
-
"category": "Configuration"
|
|
1593
|
-
},
|
|
1594
1900
|
{
|
|
1595
1901
|
"name": "hasFocusOutline",
|
|
1596
1902
|
"type": {
|
|
@@ -1621,6 +1927,14 @@
|
|
|
1621
1927
|
}
|
|
1622
1928
|
],
|
|
1623
1929
|
"slots": [
|
|
1930
|
+
{
|
|
1931
|
+
"name": "label.prepend",
|
|
1932
|
+
"description": ""
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"name": "label.append",
|
|
1936
|
+
"description": ""
|
|
1937
|
+
},
|
|
1624
1938
|
{
|
|
1625
1939
|
"name": "extras",
|
|
1626
1940
|
"description": ""
|
|
@@ -1633,10 +1947,15 @@
|
|
|
1633
1947
|
"description": "A default checkbox.",
|
|
1634
1948
|
"code": "<QCheckbox label=\"Accept terms and conditions\" />"
|
|
1635
1949
|
},
|
|
1950
|
+
{
|
|
1951
|
+
"title": "Help",
|
|
1952
|
+
"description": "Help shown in a popover.",
|
|
1953
|
+
"code": "<QCheckbox label=\"Accept terms and conditions\" help=\"Required to create the account\" />"
|
|
1954
|
+
},
|
|
1636
1955
|
{
|
|
1637
1956
|
"title": "Label Placement",
|
|
1638
1957
|
"description": "A checkbox with a label positioned on the left side. Useful for layouts that require labels on the opposite side of the control.",
|
|
1639
|
-
"code": "<QCheckbox label=\"Accept terms and conditions\" label-placement=\"
|
|
1958
|
+
"code": "<QCheckbox label=\"Accept terms and conditions\" label-placement=\"start\" />"
|
|
1640
1959
|
},
|
|
1641
1960
|
{
|
|
1642
1961
|
"title": "Readonly",
|
|
@@ -1651,7 +1970,7 @@
|
|
|
1651
1970
|
{
|
|
1652
1971
|
"title": "Colors",
|
|
1653
1972
|
"description": "A demonstration of checkboxes with various color themes. Each checkbox displays a different color to signify distinct states or categories.",
|
|
1654
|
-
"code": "<div style=\"display: flex; gap: 2rem\">\n\t\t\t\t<q-checkbox model-value label=\"Primary Color\" color=\"primary\" />\n\t\t\t\t<q-checkbox model-value label=\"Info Color\" color=\"info\" />\n\t\t\t\t<q-checkbox model-value label=\"Success Color\" color=\"success\" />\n\t\t\t\t<q-checkbox model-value label=\"Warning Color\" color=\"warning\" />\n\t\t\t\t<q-checkbox model-value label=\"Danger Color\" color=\"danger\" />\n\t\t\t</div>"
|
|
1973
|
+
"code": "<div style=\"display: flex; gap: 2rem\">\n\t\t\t\t<q-checkbox model-value label=\"Primary Color\" color=\"primary\" />\n\t\t\t\t<q-checkbox model-value label=\"Info Color\" color=\"info\" />\n\t\t\t\t<q-checkbox model-value label=\"Success Color\" color=\"success\" />\n\t\t\t\t<q-checkbox model-value label=\"Warning Color\" color=\"warning\" />\n\t\t\t\t<q-checkbox model-value label=\"Danger Color\" color=\"danger\" />\n\t\t\t\t<q-checkbox model-value label=\"Custom Color\" color=\"#cc00cc\" />\n\t\t\t</div>"
|
|
1655
1974
|
},
|
|
1656
1975
|
{
|
|
1657
1976
|
"title": "Size",
|
|
@@ -1661,12 +1980,12 @@
|
|
|
1661
1980
|
{
|
|
1662
1981
|
"title": "Icons",
|
|
1663
1982
|
"description": "A checkbox with custom icons for the checked and indeterminate states. This allows for a more personalized or context-specific design.",
|
|
1664
|
-
"code": "<QCheckbox :model-value=\"true\" label=\"Diferent icon\" :icons=\"{\n\t\t\tchecked: { icon: 'skip-next' },\n\t\t\tindeterminate: { icon: 'skip-next' }\n\t\t}\" />"
|
|
1983
|
+
"code": "<QCheckbox :model-value=\"true\" label=\"Diferent icon\" :icons=\"{\n\t\t\thelp: { icon: 'help' },\n\t\t\tchecked: { icon: 'skip-next' },\n\t\t\tindeterminate: { icon: 'skip-next' }\n\t\t}\" />"
|
|
1665
1984
|
},
|
|
1666
1985
|
{
|
|
1667
1986
|
"title": "Indeterminate",
|
|
1668
1987
|
"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.",
|
|
1669
|
-
"code": "<div>\n\t\t\t\t<q-checkbox v-model=\"model\" :indeterminate=\"child01 || child02 || child03\" label-placement=\"
|
|
1988
|
+
"code": "<div>\n\t\t\t\t<q-checkbox v-model=\"model\" :indeterminate=\"child01 || child02 || child03\" 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>"
|
|
1670
1989
|
},
|
|
1671
1990
|
{
|
|
1672
1991
|
"title": "Extras",
|
|
@@ -1910,6 +2229,52 @@
|
|
|
1910
2229
|
"required": false,
|
|
1911
2230
|
"category": "Identification"
|
|
1912
2231
|
},
|
|
2232
|
+
{
|
|
2233
|
+
"name": "help",
|
|
2234
|
+
"type": {
|
|
2235
|
+
"kind": "primitive",
|
|
2236
|
+
"name": "string"
|
|
2237
|
+
},
|
|
2238
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
2239
|
+
"required": false,
|
|
2240
|
+
"category": "Content"
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"name": "helpDisplay",
|
|
2244
|
+
"type": {
|
|
2245
|
+
"kind": "enum",
|
|
2246
|
+
"values": [
|
|
2247
|
+
"popover",
|
|
2248
|
+
"tooltip",
|
|
2249
|
+
"subtext"
|
|
2250
|
+
]
|
|
2251
|
+
},
|
|
2252
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
2253
|
+
"required": false,
|
|
2254
|
+
"category": "Presentation"
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
"name": "icons",
|
|
2258
|
+
"type": {
|
|
2259
|
+
"kind": "object",
|
|
2260
|
+
"fields": {}
|
|
2261
|
+
},
|
|
2262
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.\nCustom icon configurations. Includes the help and clear button icons.\nPass every key, or omit the prop to keep the defaults.",
|
|
2263
|
+
"default": "DEFAULT_ICONS",
|
|
2264
|
+
"required": false,
|
|
2265
|
+
"category": "Configuration"
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"name": "texts",
|
|
2269
|
+
"type": {
|
|
2270
|
+
"kind": "object",
|
|
2271
|
+
"fields": {}
|
|
2272
|
+
},
|
|
2273
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.\nCustom text configurations.\nPass every key, or omit the prop to keep the defaults.",
|
|
2274
|
+
"default": "DEFAULT_TEXTS",
|
|
2275
|
+
"required": false,
|
|
2276
|
+
"category": "Configuration"
|
|
2277
|
+
},
|
|
1913
2278
|
{
|
|
1914
2279
|
"name": "placeholder",
|
|
1915
2280
|
"type": {
|
|
@@ -1978,17 +2343,6 @@
|
|
|
1978
2343
|
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
1979
2344
|
"required": false,
|
|
1980
2345
|
"category": "State"
|
|
1981
|
-
},
|
|
1982
|
-
{
|
|
1983
|
-
"name": "texts",
|
|
1984
|
-
"type": {
|
|
1985
|
-
"kind": "object",
|
|
1986
|
-
"fields": {}
|
|
1987
|
-
},
|
|
1988
|
-
"description": "Custom text configurations.",
|
|
1989
|
-
"default": "DEFAULT_TEXTS",
|
|
1990
|
-
"required": false,
|
|
1991
|
-
"category": "Configuration"
|
|
1992
2346
|
}
|
|
1993
2347
|
],
|
|
1994
2348
|
"events": [
|
|
@@ -2096,6 +2450,38 @@
|
|
|
2096
2450
|
"required": false,
|
|
2097
2451
|
"category": "Identification"
|
|
2098
2452
|
},
|
|
2453
|
+
{
|
|
2454
|
+
"name": "icons",
|
|
2455
|
+
"type": {
|
|
2456
|
+
"kind": "object",
|
|
2457
|
+
"fields": {}
|
|
2458
|
+
},
|
|
2459
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.\nCustom icon configurations. Includes the help and clear button icons.\nPass every key, or omit the prop to keep the defaults.\nCustom icon configurations. Includes the icons of the text field, the clear button, and the list.\nPass every key, or omit the prop to keep the defaults.",
|
|
2460
|
+
"default": "DEFAULT_ICONS",
|
|
2461
|
+
"required": false,
|
|
2462
|
+
"category": "Configuration"
|
|
2463
|
+
},
|
|
2464
|
+
{
|
|
2465
|
+
"name": "texts",
|
|
2466
|
+
"type": {
|
|
2467
|
+
"kind": "object",
|
|
2468
|
+
"fields": {}
|
|
2469
|
+
},
|
|
2470
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.\nCustom text configurations. Includes the help and clear button labels.\nPass every key, or omit the prop to keep the defaults.\nCustom text configurations. Includes the strings of the text field and the clear button.\nPass every key, or omit the prop to keep the defaults.",
|
|
2471
|
+
"default": "DEFAULT_TEXTS",
|
|
2472
|
+
"required": false,
|
|
2473
|
+
"category": "Configuration"
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
"name": "required",
|
|
2477
|
+
"type": {
|
|
2478
|
+
"kind": "primitive",
|
|
2479
|
+
"name": "boolean"
|
|
2480
|
+
},
|
|
2481
|
+
"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.",
|
|
2482
|
+
"required": false,
|
|
2483
|
+
"category": "State"
|
|
2484
|
+
},
|
|
2099
2485
|
{
|
|
2100
2486
|
"name": "size",
|
|
2101
2487
|
"type": {
|
|
@@ -2124,17 +2510,6 @@
|
|
|
2124
2510
|
"required": false,
|
|
2125
2511
|
"category": "State"
|
|
2126
2512
|
},
|
|
2127
|
-
{
|
|
2128
|
-
"name": "texts",
|
|
2129
|
-
"type": {
|
|
2130
|
-
"kind": "object",
|
|
2131
|
-
"fields": {}
|
|
2132
|
-
},
|
|
2133
|
-
"description": "Custom text configurations.",
|
|
2134
|
-
"default": "DEFAULT_TEXTS",
|
|
2135
|
-
"required": false,
|
|
2136
|
-
"category": "Configuration"
|
|
2137
|
-
},
|
|
2138
2513
|
{
|
|
2139
2514
|
"name": "label",
|
|
2140
2515
|
"type": {
|
|
@@ -2146,33 +2521,37 @@
|
|
|
2146
2521
|
"category": "Content"
|
|
2147
2522
|
},
|
|
2148
2523
|
{
|
|
2149
|
-
"name": "
|
|
2524
|
+
"name": "help",
|
|
2150
2525
|
"type": {
|
|
2151
2526
|
"kind": "primitive",
|
|
2152
|
-
"name": "
|
|
2527
|
+
"name": "string"
|
|
2153
2528
|
},
|
|
2154
|
-
"description": "
|
|
2529
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
2155
2530
|
"required": false,
|
|
2156
|
-
"category": "
|
|
2531
|
+
"category": "Content"
|
|
2157
2532
|
},
|
|
2158
2533
|
{
|
|
2159
|
-
"name": "
|
|
2534
|
+
"name": "helpDisplay",
|
|
2160
2535
|
"type": {
|
|
2161
|
-
"kind": "
|
|
2162
|
-
"
|
|
2536
|
+
"kind": "enum",
|
|
2537
|
+
"values": [
|
|
2538
|
+
"popover",
|
|
2539
|
+
"tooltip",
|
|
2540
|
+
"subtext"
|
|
2541
|
+
]
|
|
2163
2542
|
},
|
|
2164
|
-
"description": "
|
|
2543
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
2165
2544
|
"required": false,
|
|
2166
|
-
"category": "
|
|
2545
|
+
"category": "Presentation"
|
|
2167
2546
|
},
|
|
2168
2547
|
{
|
|
2169
2548
|
"name": "labelPosition",
|
|
2170
2549
|
"type": {
|
|
2171
2550
|
"kind": "enum",
|
|
2172
2551
|
"values": [
|
|
2173
|
-
"right",
|
|
2174
2552
|
"left",
|
|
2175
2553
|
"center",
|
|
2554
|
+
"right",
|
|
2176
2555
|
"topleft",
|
|
2177
2556
|
"topright"
|
|
2178
2557
|
]
|
|
@@ -2181,6 +2560,16 @@
|
|
|
2181
2560
|
"required": false,
|
|
2182
2561
|
"category": "Presentation"
|
|
2183
2562
|
},
|
|
2563
|
+
{
|
|
2564
|
+
"name": "for",
|
|
2565
|
+
"type": {
|
|
2566
|
+
"kind": "primitive",
|
|
2567
|
+
"name": "string"
|
|
2568
|
+
},
|
|
2569
|
+
"description": "The form field associated with the label.",
|
|
2570
|
+
"required": false,
|
|
2571
|
+
"category": "Accessibility"
|
|
2572
|
+
},
|
|
2184
2573
|
{
|
|
2185
2574
|
"name": "readonly",
|
|
2186
2575
|
"type": {
|
|
@@ -2337,17 +2726,6 @@
|
|
|
2337
2726
|
"description": "The value to be used in comparisons,\nused to check if the field has a selected item.",
|
|
2338
2727
|
"required": false,
|
|
2339
2728
|
"category": "Configuration"
|
|
2340
|
-
},
|
|
2341
|
-
{
|
|
2342
|
-
"name": "icons",
|
|
2343
|
-
"type": {
|
|
2344
|
-
"kind": "object",
|
|
2345
|
-
"fields": {}
|
|
2346
|
-
},
|
|
2347
|
-
"description": "Custom icon configurations.",
|
|
2348
|
-
"default": "DEFAULT_ICONS",
|
|
2349
|
-
"required": false,
|
|
2350
|
-
"category": "Configuration"
|
|
2351
2729
|
}
|
|
2352
2730
|
],
|
|
2353
2731
|
"events": [
|
|
@@ -2534,9 +2912,9 @@
|
|
|
2534
2912
|
"type": {
|
|
2535
2913
|
"kind": "enum",
|
|
2536
2914
|
"values": [
|
|
2537
|
-
"right",
|
|
2538
2915
|
"left",
|
|
2539
2916
|
"center",
|
|
2917
|
+
"right",
|
|
2540
2918
|
"topleft",
|
|
2541
2919
|
"topright"
|
|
2542
2920
|
]
|
|
@@ -2545,6 +2923,52 @@
|
|
|
2545
2923
|
"required": false,
|
|
2546
2924
|
"category": "Presentation"
|
|
2547
2925
|
},
|
|
2926
|
+
{
|
|
2927
|
+
"name": "help",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"kind": "primitive",
|
|
2930
|
+
"name": "string"
|
|
2931
|
+
},
|
|
2932
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
2933
|
+
"required": false,
|
|
2934
|
+
"category": "Content"
|
|
2935
|
+
},
|
|
2936
|
+
{
|
|
2937
|
+
"name": "helpDisplay",
|
|
2938
|
+
"type": {
|
|
2939
|
+
"kind": "enum",
|
|
2940
|
+
"values": [
|
|
2941
|
+
"popover",
|
|
2942
|
+
"tooltip",
|
|
2943
|
+
"subtext"
|
|
2944
|
+
]
|
|
2945
|
+
},
|
|
2946
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
2947
|
+
"required": false,
|
|
2948
|
+
"category": "Presentation"
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
"name": "icons",
|
|
2952
|
+
"type": {
|
|
2953
|
+
"kind": "object",
|
|
2954
|
+
"fields": {}
|
|
2955
|
+
},
|
|
2956
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.\nCustom icon configurations. Includes the icons of the text fields and the clear button.\nPass every key, or omit the prop to keep the defaults.",
|
|
2957
|
+
"default": "DEFAULT_ICONS",
|
|
2958
|
+
"required": false,
|
|
2959
|
+
"category": "Configuration"
|
|
2960
|
+
},
|
|
2961
|
+
{
|
|
2962
|
+
"name": "texts",
|
|
2963
|
+
"type": {
|
|
2964
|
+
"kind": "object",
|
|
2965
|
+
"fields": {}
|
|
2966
|
+
},
|
|
2967
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.\nCustom text configurations. Includes the strings of the text fields and the clear button.\nPass every key, or omit the prop to keep the defaults.",
|
|
2968
|
+
"default": "DEFAULT_TEXTS",
|
|
2969
|
+
"required": false,
|
|
2970
|
+
"category": "Configuration"
|
|
2971
|
+
},
|
|
2548
2972
|
{
|
|
2549
2973
|
"name": "size",
|
|
2550
2974
|
"type": {
|
|
@@ -2644,28 +3068,6 @@
|
|
|
2644
3068
|
"description": "Enable selecting a range of two dates.",
|
|
2645
3069
|
"required": false,
|
|
2646
3070
|
"category": "Configuration"
|
|
2647
|
-
},
|
|
2648
|
-
{
|
|
2649
|
-
"name": "icons",
|
|
2650
|
-
"type": {
|
|
2651
|
-
"kind": "object",
|
|
2652
|
-
"fields": {}
|
|
2653
|
-
},
|
|
2654
|
-
"description": "Custom icon configurations.",
|
|
2655
|
-
"default": "DEFAULT_ICONS",
|
|
2656
|
-
"required": false,
|
|
2657
|
-
"category": "Configuration"
|
|
2658
|
-
},
|
|
2659
|
-
{
|
|
2660
|
-
"name": "texts",
|
|
2661
|
-
"type": {
|
|
2662
|
-
"kind": "object",
|
|
2663
|
-
"fields": {}
|
|
2664
|
-
},
|
|
2665
|
-
"description": "Custom text configurations.",
|
|
2666
|
-
"default": "DEFAULT_TEXTS",
|
|
2667
|
-
"required": false,
|
|
2668
|
-
"category": "Configuration"
|
|
2669
3071
|
}
|
|
2670
3072
|
],
|
|
2671
3073
|
"events": [
|
|
@@ -3024,7 +3426,7 @@
|
|
|
3024
3426
|
"kind": "object",
|
|
3025
3427
|
"fields": {}
|
|
3026
3428
|
},
|
|
3027
|
-
"description": "Custom icon configurations.",
|
|
3429
|
+
"description": "Custom icon configurations. Includes the icons of the prompt input.\nPass every key, or omit the prop to keep the defaults.",
|
|
3028
3430
|
"default": "DEFAULT_ICONS",
|
|
3029
3431
|
"required": false,
|
|
3030
3432
|
"category": "Configuration"
|
|
@@ -3035,7 +3437,7 @@
|
|
|
3035
3437
|
"kind": "object",
|
|
3036
3438
|
"fields": {}
|
|
3037
3439
|
},
|
|
3038
|
-
"description": "Custom text configurations.",
|
|
3440
|
+
"description": "Custom text configurations. Includes the strings of the prompt input.\nPass every key, or omit the prop to keep the defaults.",
|
|
3039
3441
|
"default": "DEFAULT_TEXTS",
|
|
3040
3442
|
"required": false,
|
|
3041
3443
|
"category": "Configuration"
|
|
@@ -3182,6 +3584,11 @@
|
|
|
3182
3584
|
"meta": {
|
|
3183
3585
|
"props": [],
|
|
3184
3586
|
"events": [
|
|
3587
|
+
{
|
|
3588
|
+
"name": "dismiss",
|
|
3589
|
+
"description": "",
|
|
3590
|
+
"type": "[event: KeyboardEvent | QPointerDownOutsideEvent | QFocusOutsideEvent]"
|
|
3591
|
+
},
|
|
3185
3592
|
{
|
|
3186
3593
|
"name": "escape-key-down",
|
|
3187
3594
|
"description": "",
|
|
@@ -3201,11 +3608,6 @@
|
|
|
3201
3608
|
"name": "interact-outside",
|
|
3202
3609
|
"description": "",
|
|
3203
3610
|
"type": "[event: QPointerDownOutsideEvent | QFocusOutsideEvent]"
|
|
3204
|
-
},
|
|
3205
|
-
{
|
|
3206
|
-
"name": "dismiss",
|
|
3207
|
-
"description": "",
|
|
3208
|
-
"type": "[event: KeyboardEvent | QPointerDownOutsideEvent | QFocusOutsideEvent]"
|
|
3209
3611
|
}
|
|
3210
3612
|
],
|
|
3211
3613
|
"slots": [
|
|
@@ -3428,16 +3830,16 @@
|
|
|
3428
3830
|
"values": [
|
|
3429
3831
|
"top",
|
|
3430
3832
|
"bottom",
|
|
3431
|
-
"right",
|
|
3432
3833
|
"left",
|
|
3834
|
+
"right",
|
|
3433
3835
|
"top-start",
|
|
3434
3836
|
"top-end",
|
|
3435
3837
|
"bottom-start",
|
|
3436
3838
|
"bottom-end",
|
|
3437
|
-
"right-start",
|
|
3438
|
-
"right-end",
|
|
3439
3839
|
"left-start",
|
|
3440
|
-
"left-end"
|
|
3840
|
+
"left-end",
|
|
3841
|
+
"right-start",
|
|
3842
|
+
"right-end"
|
|
3441
3843
|
]
|
|
3442
3844
|
},
|
|
3443
3845
|
"description": "The placement of the dropdown menu.",
|
|
@@ -3488,23 +3890,13 @@
|
|
|
3488
3890
|
"required": false,
|
|
3489
3891
|
"category": "Behavior"
|
|
3490
3892
|
},
|
|
3491
|
-
{
|
|
3492
|
-
"name": "depth",
|
|
3493
|
-
"type": {
|
|
3494
|
-
"kind": "primitive",
|
|
3495
|
-
"name": "number"
|
|
3496
|
-
},
|
|
3497
|
-
"description": "Depth for recursive nesting.",
|
|
3498
|
-
"required": false,
|
|
3499
|
-
"category": "Behavior"
|
|
3500
|
-
},
|
|
3501
3893
|
{
|
|
3502
3894
|
"name": "icons",
|
|
3503
3895
|
"type": {
|
|
3504
3896
|
"kind": "object",
|
|
3505
3897
|
"fields": {}
|
|
3506
3898
|
},
|
|
3507
|
-
"description": "Custom icon configurations.",
|
|
3899
|
+
"description": "Custom icon configurations. Includes the icons of the list.\nPass every key, or omit the prop to keep the defaults.",
|
|
3508
3900
|
"required": false,
|
|
3509
3901
|
"category": "Configuration"
|
|
3510
3902
|
}
|
|
@@ -3627,9 +4019,9 @@
|
|
|
3627
4019
|
"type": {
|
|
3628
4020
|
"kind": "enum",
|
|
3629
4021
|
"values": [
|
|
3630
|
-
"right",
|
|
3631
4022
|
"left",
|
|
3632
4023
|
"center",
|
|
4024
|
+
"right",
|
|
3633
4025
|
"topleft",
|
|
3634
4026
|
"topright"
|
|
3635
4027
|
]
|
|
@@ -3639,6 +4031,53 @@
|
|
|
3639
4031
|
"required": false,
|
|
3640
4032
|
"category": "Presentation"
|
|
3641
4033
|
},
|
|
4034
|
+
{
|
|
4035
|
+
"name": "help",
|
|
4036
|
+
"type": {
|
|
4037
|
+
"kind": "primitive",
|
|
4038
|
+
"name": "string"
|
|
4039
|
+
},
|
|
4040
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
4041
|
+
"required": false,
|
|
4042
|
+
"category": "Content"
|
|
4043
|
+
},
|
|
4044
|
+
{
|
|
4045
|
+
"name": "helpDisplay",
|
|
4046
|
+
"type": {
|
|
4047
|
+
"kind": "enum",
|
|
4048
|
+
"values": [
|
|
4049
|
+
"popover",
|
|
4050
|
+
"tooltip",
|
|
4051
|
+
"subtext"
|
|
4052
|
+
]
|
|
4053
|
+
},
|
|
4054
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
4055
|
+
"default": "popover",
|
|
4056
|
+
"required": false,
|
|
4057
|
+
"category": "Presentation"
|
|
4058
|
+
},
|
|
4059
|
+
{
|
|
4060
|
+
"name": "icons",
|
|
4061
|
+
"type": {
|
|
4062
|
+
"kind": "object",
|
|
4063
|
+
"fields": {}
|
|
4064
|
+
},
|
|
4065
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.",
|
|
4066
|
+
"default": "DEFAULT_ICONS",
|
|
4067
|
+
"required": false,
|
|
4068
|
+
"category": "Configuration"
|
|
4069
|
+
},
|
|
4070
|
+
{
|
|
4071
|
+
"name": "texts",
|
|
4072
|
+
"type": {
|
|
4073
|
+
"kind": "object",
|
|
4074
|
+
"fields": {}
|
|
4075
|
+
},
|
|
4076
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.",
|
|
4077
|
+
"default": "DEFAULT_TEXTS",
|
|
4078
|
+
"required": false,
|
|
4079
|
+
"category": "Configuration"
|
|
4080
|
+
},
|
|
3642
4081
|
{
|
|
3643
4082
|
"name": "size",
|
|
3644
4083
|
"type": {
|
|
@@ -3782,9 +4221,9 @@
|
|
|
3782
4221
|
"type": {
|
|
3783
4222
|
"kind": "enum",
|
|
3784
4223
|
"values": [
|
|
3785
|
-
"right",
|
|
3786
4224
|
"left",
|
|
3787
4225
|
"center",
|
|
4226
|
+
"right",
|
|
3788
4227
|
"topleft",
|
|
3789
4228
|
"topright"
|
|
3790
4229
|
]
|
|
@@ -3793,6 +4232,52 @@
|
|
|
3793
4232
|
"required": false,
|
|
3794
4233
|
"category": "Presentation"
|
|
3795
4234
|
},
|
|
4235
|
+
{
|
|
4236
|
+
"name": "help",
|
|
4237
|
+
"type": {
|
|
4238
|
+
"kind": "primitive",
|
|
4239
|
+
"name": "string"
|
|
4240
|
+
},
|
|
4241
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
4242
|
+
"required": false,
|
|
4243
|
+
"category": "Content"
|
|
4244
|
+
},
|
|
4245
|
+
{
|
|
4246
|
+
"name": "helpDisplay",
|
|
4247
|
+
"type": {
|
|
4248
|
+
"kind": "enum",
|
|
4249
|
+
"values": [
|
|
4250
|
+
"popover",
|
|
4251
|
+
"tooltip",
|
|
4252
|
+
"subtext"
|
|
4253
|
+
]
|
|
4254
|
+
},
|
|
4255
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
4256
|
+
"required": false,
|
|
4257
|
+
"category": "Presentation"
|
|
4258
|
+
},
|
|
4259
|
+
{
|
|
4260
|
+
"name": "icons",
|
|
4261
|
+
"type": {
|
|
4262
|
+
"kind": "object",
|
|
4263
|
+
"fields": {}
|
|
4264
|
+
},
|
|
4265
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.\nCustom icon configurations.",
|
|
4266
|
+
"default": "DEFAULT_ICONS",
|
|
4267
|
+
"required": false,
|
|
4268
|
+
"category": "Configuration"
|
|
4269
|
+
},
|
|
4270
|
+
{
|
|
4271
|
+
"name": "texts",
|
|
4272
|
+
"type": {
|
|
4273
|
+
"kind": "object",
|
|
4274
|
+
"fields": {}
|
|
4275
|
+
},
|
|
4276
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.\nCustom text configurations.",
|
|
4277
|
+
"default": "DEFAULT_TEXTS",
|
|
4278
|
+
"required": false,
|
|
4279
|
+
"category": "Configuration"
|
|
4280
|
+
},
|
|
3796
4281
|
{
|
|
3797
4282
|
"name": "size",
|
|
3798
4283
|
"type": {
|
|
@@ -3861,28 +4346,6 @@
|
|
|
3861
4346
|
"description": "Specifies the accepted file types.",
|
|
3862
4347
|
"required": false,
|
|
3863
4348
|
"category": "Behavior"
|
|
3864
|
-
},
|
|
3865
|
-
{
|
|
3866
|
-
"name": "icons",
|
|
3867
|
-
"type": {
|
|
3868
|
-
"kind": "object",
|
|
3869
|
-
"fields": {}
|
|
3870
|
-
},
|
|
3871
|
-
"description": "Custom icon configurations.",
|
|
3872
|
-
"default": "DEFAULT_ICONS",
|
|
3873
|
-
"required": false,
|
|
3874
|
-
"category": "Configuration"
|
|
3875
|
-
},
|
|
3876
|
-
{
|
|
3877
|
-
"name": "texts",
|
|
3878
|
-
"type": {
|
|
3879
|
-
"kind": "object",
|
|
3880
|
-
"fields": {}
|
|
3881
|
-
},
|
|
3882
|
-
"description": "Custom text configurations.",
|
|
3883
|
-
"default": "DEFAULT_TEXTS",
|
|
3884
|
-
"required": false,
|
|
3885
|
-
"category": "Configuration"
|
|
3886
4349
|
}
|
|
3887
4350
|
],
|
|
3888
4351
|
"events": [
|
|
@@ -4435,9 +4898,9 @@
|
|
|
4435
4898
|
"type": {
|
|
4436
4899
|
"kind": "enum",
|
|
4437
4900
|
"values": [
|
|
4438
|
-
"right",
|
|
4439
4901
|
"left",
|
|
4440
4902
|
"center",
|
|
4903
|
+
"right",
|
|
4441
4904
|
"topleft",
|
|
4442
4905
|
"topright"
|
|
4443
4906
|
]
|
|
@@ -4446,6 +4909,50 @@
|
|
|
4446
4909
|
"required": false,
|
|
4447
4910
|
"category": "Presentation"
|
|
4448
4911
|
},
|
|
4912
|
+
{
|
|
4913
|
+
"name": "help",
|
|
4914
|
+
"type": {
|
|
4915
|
+
"kind": "primitive",
|
|
4916
|
+
"name": "string"
|
|
4917
|
+
},
|
|
4918
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
4919
|
+
"required": false,
|
|
4920
|
+
"category": "Content"
|
|
4921
|
+
},
|
|
4922
|
+
{
|
|
4923
|
+
"name": "helpDisplay",
|
|
4924
|
+
"type": {
|
|
4925
|
+
"kind": "enum",
|
|
4926
|
+
"values": [
|
|
4927
|
+
"popover",
|
|
4928
|
+
"tooltip",
|
|
4929
|
+
"subtext"
|
|
4930
|
+
]
|
|
4931
|
+
},
|
|
4932
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
4933
|
+
"required": false,
|
|
4934
|
+
"category": "Presentation"
|
|
4935
|
+
},
|
|
4936
|
+
{
|
|
4937
|
+
"name": "icons",
|
|
4938
|
+
"type": {
|
|
4939
|
+
"kind": "object",
|
|
4940
|
+
"fields": {}
|
|
4941
|
+
},
|
|
4942
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.",
|
|
4943
|
+
"required": false,
|
|
4944
|
+
"category": "Configuration"
|
|
4945
|
+
},
|
|
4946
|
+
{
|
|
4947
|
+
"name": "texts",
|
|
4948
|
+
"type": {
|
|
4949
|
+
"kind": "object",
|
|
4950
|
+
"fields": {}
|
|
4951
|
+
},
|
|
4952
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.",
|
|
4953
|
+
"required": false,
|
|
4954
|
+
"category": "Configuration"
|
|
4955
|
+
},
|
|
4449
4956
|
{
|
|
4450
4957
|
"name": "size",
|
|
4451
4958
|
"type": {
|
|
@@ -4662,9 +5169,9 @@
|
|
|
4662
5169
|
"type": {
|
|
4663
5170
|
"kind": "enum",
|
|
4664
5171
|
"values": [
|
|
4665
|
-
"right",
|
|
4666
5172
|
"left",
|
|
4667
5173
|
"center",
|
|
5174
|
+
"right",
|
|
4668
5175
|
"topleft",
|
|
4669
5176
|
"topright"
|
|
4670
5177
|
]
|
|
@@ -4893,6 +5400,17 @@
|
|
|
4893
5400
|
"default": "label",
|
|
4894
5401
|
"required": false,
|
|
4895
5402
|
"category": "Configuration"
|
|
5403
|
+
},
|
|
5404
|
+
{
|
|
5405
|
+
"name": "icons",
|
|
5406
|
+
"type": {
|
|
5407
|
+
"kind": "object",
|
|
5408
|
+
"fields": {}
|
|
5409
|
+
},
|
|
5410
|
+
"description": "Custom icon configurations, used by every item. Includes the check mark and description icons.\nPass every key, or omit the prop to keep the defaults.",
|
|
5411
|
+
"default": "DEFAULT_ICONS",
|
|
5412
|
+
"required": false,
|
|
5413
|
+
"category": "Configuration"
|
|
4896
5414
|
}
|
|
4897
5415
|
],
|
|
4898
5416
|
"events": [
|
|
@@ -5044,9 +5562,9 @@
|
|
|
5044
5562
|
"type": {
|
|
5045
5563
|
"kind": "enum",
|
|
5046
5564
|
"values": [
|
|
5047
|
-
"right",
|
|
5048
5565
|
"left",
|
|
5049
5566
|
"center",
|
|
5567
|
+
"right",
|
|
5050
5568
|
"topleft",
|
|
5051
5569
|
"topright"
|
|
5052
5570
|
]
|
|
@@ -5177,9 +5695,9 @@
|
|
|
5177
5695
|
"type": {
|
|
5178
5696
|
"kind": "enum",
|
|
5179
5697
|
"values": [
|
|
5180
|
-
"right",
|
|
5181
5698
|
"left",
|
|
5182
5699
|
"center",
|
|
5700
|
+
"right",
|
|
5183
5701
|
"topleft",
|
|
5184
5702
|
"topright"
|
|
5185
5703
|
]
|
|
@@ -5189,6 +5707,52 @@
|
|
|
5189
5707
|
"required": false,
|
|
5190
5708
|
"category": "Presentation"
|
|
5191
5709
|
},
|
|
5710
|
+
{
|
|
5711
|
+
"name": "help",
|
|
5712
|
+
"type": {
|
|
5713
|
+
"kind": "primitive",
|
|
5714
|
+
"name": "string"
|
|
5715
|
+
},
|
|
5716
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
5717
|
+
"required": false,
|
|
5718
|
+
"category": "Content"
|
|
5719
|
+
},
|
|
5720
|
+
{
|
|
5721
|
+
"name": "helpDisplay",
|
|
5722
|
+
"type": {
|
|
5723
|
+
"kind": "enum",
|
|
5724
|
+
"values": [
|
|
5725
|
+
"popover",
|
|
5726
|
+
"tooltip",
|
|
5727
|
+
"subtext"
|
|
5728
|
+
]
|
|
5729
|
+
},
|
|
5730
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
5731
|
+
"required": false,
|
|
5732
|
+
"category": "Presentation"
|
|
5733
|
+
},
|
|
5734
|
+
{
|
|
5735
|
+
"name": "icons",
|
|
5736
|
+
"type": {
|
|
5737
|
+
"kind": "object",
|
|
5738
|
+
"fields": {}
|
|
5739
|
+
},
|
|
5740
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.\nCustom icon configurations.",
|
|
5741
|
+
"default": "DEFAULT_ICONS",
|
|
5742
|
+
"required": false,
|
|
5743
|
+
"category": "Configuration"
|
|
5744
|
+
},
|
|
5745
|
+
{
|
|
5746
|
+
"name": "texts",
|
|
5747
|
+
"type": {
|
|
5748
|
+
"kind": "object",
|
|
5749
|
+
"fields": {}
|
|
5750
|
+
},
|
|
5751
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.\nCustom text configurations.",
|
|
5752
|
+
"default": "DEFAULT_TEXTS",
|
|
5753
|
+
"required": false,
|
|
5754
|
+
"category": "Configuration"
|
|
5755
|
+
},
|
|
5192
5756
|
{
|
|
5193
5757
|
"name": "size",
|
|
5194
5758
|
"type": {
|
|
@@ -5284,28 +5848,6 @@
|
|
|
5284
5848
|
"default": "12",
|
|
5285
5849
|
"required": false,
|
|
5286
5850
|
"category": "Presentation"
|
|
5287
|
-
},
|
|
5288
|
-
{
|
|
5289
|
-
"name": "icons",
|
|
5290
|
-
"type": {
|
|
5291
|
-
"kind": "object",
|
|
5292
|
-
"fields": {}
|
|
5293
|
-
},
|
|
5294
|
-
"description": "Custom icon configurations.",
|
|
5295
|
-
"default": "DEFAULT_ICONS",
|
|
5296
|
-
"required": false,
|
|
5297
|
-
"category": "Configuration"
|
|
5298
|
-
},
|
|
5299
|
-
{
|
|
5300
|
-
"name": "texts",
|
|
5301
|
-
"type": {
|
|
5302
|
-
"kind": "object",
|
|
5303
|
-
"fields": {}
|
|
5304
|
-
},
|
|
5305
|
-
"description": "Custom text configurations.",
|
|
5306
|
-
"default": "DEFAULT_TEXTS",
|
|
5307
|
-
"required": false,
|
|
5308
|
-
"category": "Configuration"
|
|
5309
5851
|
}
|
|
5310
5852
|
],
|
|
5311
5853
|
"events": [
|
|
@@ -5762,16 +6304,16 @@
|
|
|
5762
6304
|
"values": [
|
|
5763
6305
|
"top",
|
|
5764
6306
|
"bottom",
|
|
5765
|
-
"right",
|
|
5766
6307
|
"left",
|
|
6308
|
+
"right",
|
|
5767
6309
|
"top-start",
|
|
5768
6310
|
"top-end",
|
|
5769
6311
|
"bottom-start",
|
|
5770
6312
|
"bottom-end",
|
|
5771
|
-
"right-start",
|
|
5772
|
-
"right-end",
|
|
5773
6313
|
"left-start",
|
|
5774
|
-
"left-end"
|
|
6314
|
+
"left-end",
|
|
6315
|
+
"right-start",
|
|
6316
|
+
"right-end"
|
|
5775
6317
|
]
|
|
5776
6318
|
},
|
|
5777
6319
|
"description": "The placement of the overlay.",
|
|
@@ -6044,6 +6586,27 @@
|
|
|
6044
6586
|
"required": false,
|
|
6045
6587
|
"category": "Identification"
|
|
6046
6588
|
},
|
|
6589
|
+
{
|
|
6590
|
+
"name": "icons",
|
|
6591
|
+
"type": {
|
|
6592
|
+
"kind": "object",
|
|
6593
|
+
"fields": {}
|
|
6594
|
+
},
|
|
6595
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.\nCustom icon configurations. Includes the help and clear button icons.\nPass every key, or omit the prop to keep the defaults.\nCustom icon configurations. Includes the icons of the clear button and the help button.\nPass every key, or omit the prop to keep the defaults.",
|
|
6596
|
+
"default": "DEFAULT_ICONS",
|
|
6597
|
+
"required": false,
|
|
6598
|
+
"category": "Configuration"
|
|
6599
|
+
},
|
|
6600
|
+
{
|
|
6601
|
+
"name": "required",
|
|
6602
|
+
"type": {
|
|
6603
|
+
"kind": "primitive",
|
|
6604
|
+
"name": "boolean"
|
|
6605
|
+
},
|
|
6606
|
+
"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.",
|
|
6607
|
+
"required": false,
|
|
6608
|
+
"category": "State"
|
|
6609
|
+
},
|
|
6047
6610
|
{
|
|
6048
6611
|
"name": "size",
|
|
6049
6612
|
"type": {
|
|
@@ -6083,33 +6646,37 @@
|
|
|
6083
6646
|
"category": "Content"
|
|
6084
6647
|
},
|
|
6085
6648
|
{
|
|
6086
|
-
"name": "
|
|
6649
|
+
"name": "help",
|
|
6087
6650
|
"type": {
|
|
6088
6651
|
"kind": "primitive",
|
|
6089
|
-
"name": "
|
|
6652
|
+
"name": "string"
|
|
6090
6653
|
},
|
|
6091
|
-
"description": "
|
|
6654
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
6092
6655
|
"required": false,
|
|
6093
|
-
"category": "
|
|
6656
|
+
"category": "Content"
|
|
6094
6657
|
},
|
|
6095
6658
|
{
|
|
6096
|
-
"name": "
|
|
6659
|
+
"name": "helpDisplay",
|
|
6097
6660
|
"type": {
|
|
6098
|
-
"kind": "
|
|
6099
|
-
"
|
|
6661
|
+
"kind": "enum",
|
|
6662
|
+
"values": [
|
|
6663
|
+
"popover",
|
|
6664
|
+
"tooltip",
|
|
6665
|
+
"subtext"
|
|
6666
|
+
]
|
|
6100
6667
|
},
|
|
6101
|
-
"description": "
|
|
6668
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
6102
6669
|
"required": false,
|
|
6103
|
-
"category": "
|
|
6670
|
+
"category": "Presentation"
|
|
6104
6671
|
},
|
|
6105
6672
|
{
|
|
6106
6673
|
"name": "labelPosition",
|
|
6107
6674
|
"type": {
|
|
6108
6675
|
"kind": "enum",
|
|
6109
6676
|
"values": [
|
|
6110
|
-
"right",
|
|
6111
6677
|
"left",
|
|
6112
6678
|
"center",
|
|
6679
|
+
"right",
|
|
6113
6680
|
"topleft",
|
|
6114
6681
|
"topright"
|
|
6115
6682
|
]
|
|
@@ -6118,6 +6685,16 @@
|
|
|
6118
6685
|
"required": false,
|
|
6119
6686
|
"category": "Presentation"
|
|
6120
6687
|
},
|
|
6688
|
+
{
|
|
6689
|
+
"name": "for",
|
|
6690
|
+
"type": {
|
|
6691
|
+
"kind": "primitive",
|
|
6692
|
+
"name": "string"
|
|
6693
|
+
},
|
|
6694
|
+
"description": "The form field associated with the label.",
|
|
6695
|
+
"required": false,
|
|
6696
|
+
"category": "Accessibility"
|
|
6697
|
+
},
|
|
6121
6698
|
{
|
|
6122
6699
|
"name": "readonly",
|
|
6123
6700
|
"type": {
|
|
@@ -6204,24 +6781,13 @@
|
|
|
6204
6781
|
"required": false,
|
|
6205
6782
|
"category": "Configuration"
|
|
6206
6783
|
},
|
|
6207
|
-
{
|
|
6208
|
-
"name": "icons",
|
|
6209
|
-
"type": {
|
|
6210
|
-
"kind": "object",
|
|
6211
|
-
"fields": {}
|
|
6212
|
-
},
|
|
6213
|
-
"description": "Custom icon configurations.",
|
|
6214
|
-
"default": "DEFAULT_ICONS",
|
|
6215
|
-
"required": false,
|
|
6216
|
-
"category": "Configuration"
|
|
6217
|
-
},
|
|
6218
6784
|
{
|
|
6219
6785
|
"name": "texts",
|
|
6220
6786
|
"type": {
|
|
6221
6787
|
"kind": "object",
|
|
6222
6788
|
"fields": {}
|
|
6223
6789
|
},
|
|
6224
|
-
"description": "Custom text configurations
|
|
6790
|
+
"description": "Custom text configurations. Includes the visibility toggle and the help button label.\nPass every key, or omit the prop to keep the defaults.",
|
|
6225
6791
|
"default": "DEFAULT_TEXTS",
|
|
6226
6792
|
"required": false,
|
|
6227
6793
|
"category": "Configuration"
|
|
@@ -6628,9 +7194,9 @@
|
|
|
6628
7194
|
"type": {
|
|
6629
7195
|
"kind": "enum",
|
|
6630
7196
|
"values": [
|
|
6631
|
-
"right",
|
|
6632
7197
|
"left",
|
|
6633
7198
|
"center",
|
|
7199
|
+
"right",
|
|
6634
7200
|
"topleft",
|
|
6635
7201
|
"topright"
|
|
6636
7202
|
]
|
|
@@ -6639,6 +7205,52 @@
|
|
|
6639
7205
|
"required": false,
|
|
6640
7206
|
"category": "Presentation"
|
|
6641
7207
|
},
|
|
7208
|
+
{
|
|
7209
|
+
"name": "help",
|
|
7210
|
+
"type": {
|
|
7211
|
+
"kind": "primitive",
|
|
7212
|
+
"name": "string"
|
|
7213
|
+
},
|
|
7214
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
7215
|
+
"required": false,
|
|
7216
|
+
"category": "Content"
|
|
7217
|
+
},
|
|
7218
|
+
{
|
|
7219
|
+
"name": "helpDisplay",
|
|
7220
|
+
"type": {
|
|
7221
|
+
"kind": "enum",
|
|
7222
|
+
"values": [
|
|
7223
|
+
"popover",
|
|
7224
|
+
"tooltip",
|
|
7225
|
+
"subtext"
|
|
7226
|
+
]
|
|
7227
|
+
},
|
|
7228
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
7229
|
+
"required": false,
|
|
7230
|
+
"category": "Presentation"
|
|
7231
|
+
},
|
|
7232
|
+
{
|
|
7233
|
+
"name": "icons",
|
|
7234
|
+
"type": {
|
|
7235
|
+
"kind": "object",
|
|
7236
|
+
"fields": {}
|
|
7237
|
+
},
|
|
7238
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.\nCustom icon configurations. Includes the icons of the country selector and the clear button.\nPass every key, or omit the prop to keep the defaults.",
|
|
7239
|
+
"default": "DEFAULT_ICONS",
|
|
7240
|
+
"required": false,
|
|
7241
|
+
"category": "Configuration"
|
|
7242
|
+
},
|
|
7243
|
+
{
|
|
7244
|
+
"name": "texts",
|
|
7245
|
+
"type": {
|
|
7246
|
+
"kind": "object",
|
|
7247
|
+
"fields": {}
|
|
7248
|
+
},
|
|
7249
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.\nCustom text configurations. Includes the texts of the country selector and the clear button.\nPass every key, or omit the prop to keep the defaults.",
|
|
7250
|
+
"default": "DEFAULT_TEXTS",
|
|
7251
|
+
"required": false,
|
|
7252
|
+
"category": "Configuration"
|
|
7253
|
+
},
|
|
6642
7254
|
{
|
|
6643
7255
|
"name": "size",
|
|
6644
7256
|
"type": {
|
|
@@ -7253,17 +7865,6 @@
|
|
|
7253
7865
|
"description": "Whether to disable teleporting the country selector overlay.",
|
|
7254
7866
|
"required": false,
|
|
7255
7867
|
"category": "Behavior"
|
|
7256
|
-
},
|
|
7257
|
-
{
|
|
7258
|
-
"name": "texts",
|
|
7259
|
-
"type": {
|
|
7260
|
-
"kind": "object",
|
|
7261
|
-
"fields": {}
|
|
7262
|
-
},
|
|
7263
|
-
"description": "Custom text configurations.",
|
|
7264
|
-
"default": "DEFAULT_TEXTS",
|
|
7265
|
-
"required": false,
|
|
7266
|
-
"category": "Configuration"
|
|
7267
7868
|
}
|
|
7268
7869
|
],
|
|
7269
7870
|
"events": [
|
|
@@ -7451,16 +8052,16 @@
|
|
|
7451
8052
|
"values": [
|
|
7452
8053
|
"top",
|
|
7453
8054
|
"bottom",
|
|
7454
|
-
"right",
|
|
7455
8055
|
"left",
|
|
8056
|
+
"right",
|
|
7456
8057
|
"top-start",
|
|
7457
8058
|
"top-end",
|
|
7458
8059
|
"bottom-start",
|
|
7459
8060
|
"bottom-end",
|
|
7460
|
-
"right-start",
|
|
7461
|
-
"right-end",
|
|
7462
8061
|
"left-start",
|
|
7463
|
-
"left-end"
|
|
8062
|
+
"left-end",
|
|
8063
|
+
"right-start",
|
|
8064
|
+
"right-end"
|
|
7464
8065
|
]
|
|
7465
8066
|
},
|
|
7466
8067
|
"description": "The placement of the popover.",
|
|
@@ -7976,6 +8577,36 @@
|
|
|
7976
8577
|
"required": false,
|
|
7977
8578
|
"category": "Identification"
|
|
7978
8579
|
},
|
|
8580
|
+
{
|
|
8581
|
+
"name": "icons",
|
|
8582
|
+
"type": {
|
|
8583
|
+
"kind": "object",
|
|
8584
|
+
"fields": {}
|
|
8585
|
+
},
|
|
8586
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.",
|
|
8587
|
+
"required": false,
|
|
8588
|
+
"category": "Configuration"
|
|
8589
|
+
},
|
|
8590
|
+
{
|
|
8591
|
+
"name": "texts",
|
|
8592
|
+
"type": {
|
|
8593
|
+
"kind": "object",
|
|
8594
|
+
"fields": {}
|
|
8595
|
+
},
|
|
8596
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.",
|
|
8597
|
+
"required": false,
|
|
8598
|
+
"category": "Configuration"
|
|
8599
|
+
},
|
|
8600
|
+
{
|
|
8601
|
+
"name": "required",
|
|
8602
|
+
"type": {
|
|
8603
|
+
"kind": "primitive",
|
|
8604
|
+
"name": "boolean"
|
|
8605
|
+
},
|
|
8606
|
+
"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.",
|
|
8607
|
+
"required": false,
|
|
8608
|
+
"category": "State"
|
|
8609
|
+
},
|
|
7979
8610
|
{
|
|
7980
8611
|
"name": "disabled",
|
|
7981
8612
|
"type": {
|
|
@@ -7997,33 +8628,37 @@
|
|
|
7997
8628
|
"category": "Content"
|
|
7998
8629
|
},
|
|
7999
8630
|
{
|
|
8000
|
-
"name": "
|
|
8631
|
+
"name": "help",
|
|
8001
8632
|
"type": {
|
|
8002
8633
|
"kind": "primitive",
|
|
8003
|
-
"name": "
|
|
8634
|
+
"name": "string"
|
|
8004
8635
|
},
|
|
8005
|
-
"description": "
|
|
8636
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
8006
8637
|
"required": false,
|
|
8007
|
-
"category": "
|
|
8638
|
+
"category": "Content"
|
|
8008
8639
|
},
|
|
8009
8640
|
{
|
|
8010
|
-
"name": "
|
|
8641
|
+
"name": "helpDisplay",
|
|
8011
8642
|
"type": {
|
|
8012
|
-
"kind": "
|
|
8013
|
-
"
|
|
8643
|
+
"kind": "enum",
|
|
8644
|
+
"values": [
|
|
8645
|
+
"popover",
|
|
8646
|
+
"tooltip",
|
|
8647
|
+
"subtext"
|
|
8648
|
+
]
|
|
8014
8649
|
},
|
|
8015
|
-
"description": "
|
|
8650
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
8016
8651
|
"required": false,
|
|
8017
|
-
"category": "
|
|
8652
|
+
"category": "Presentation"
|
|
8018
8653
|
},
|
|
8019
8654
|
{
|
|
8020
8655
|
"name": "labelPosition",
|
|
8021
8656
|
"type": {
|
|
8022
8657
|
"kind": "enum",
|
|
8023
8658
|
"values": [
|
|
8024
|
-
"right",
|
|
8025
8659
|
"left",
|
|
8026
8660
|
"center",
|
|
8661
|
+
"right",
|
|
8027
8662
|
"topleft",
|
|
8028
8663
|
"topright"
|
|
8029
8664
|
]
|
|
@@ -8033,6 +8668,16 @@
|
|
|
8033
8668
|
"required": false,
|
|
8034
8669
|
"category": "Presentation"
|
|
8035
8670
|
},
|
|
8671
|
+
{
|
|
8672
|
+
"name": "for",
|
|
8673
|
+
"type": {
|
|
8674
|
+
"kind": "primitive",
|
|
8675
|
+
"name": "string"
|
|
8676
|
+
},
|
|
8677
|
+
"description": "The form field associated with the label.",
|
|
8678
|
+
"required": false,
|
|
8679
|
+
"category": "Accessibility"
|
|
8680
|
+
},
|
|
8036
8681
|
{
|
|
8037
8682
|
"name": "readonly",
|
|
8038
8683
|
"type": {
|
|
@@ -8166,7 +8811,7 @@
|
|
|
8166
8811
|
{
|
|
8167
8812
|
"title": "Colors",
|
|
8168
8813
|
"description": "A demonstration of radio buttons with different color themes.",
|
|
8169
|
-
"code": "<q-radio-group v-bind=\"args\">\n\t\t\t\t<q-radio-button label=\"Primary\" value=\"primary\" color=\"primary\" />\n\t\t\t\t<q-radio-button label=\"Info\" value=\"info\" color=\"info\" />\n\t\t\t\t<q-radio-button label=\"Success\" value=\"success\" color=\"success\" />\n\t\t\t\t<q-radio-button label=\"Warning\" value=\"warning\" color=\"warning\" />\n\t\t\t\t<q-radio-button label=\"Danger\" value=\"danger\" color=\"danger\" />\n\t\t\t</q-radio-group>"
|
|
8814
|
+
"code": "<q-radio-group v-bind=\"args\">\n\t\t\t\t<q-radio-button label=\"Primary\" value=\"primary\" color=\"primary\" />\n\t\t\t\t<q-radio-button label=\"Info\" value=\"info\" color=\"info\" />\n\t\t\t\t<q-radio-button label=\"Success\" value=\"success\" color=\"success\" />\n\t\t\t\t<q-radio-button label=\"Warning\" value=\"warning\" color=\"warning\" />\n\t\t\t\t<q-radio-button label=\"Danger\" value=\"danger\" color=\"danger\" />\n\t\t\t\t<q-radio-button label=\"Custom\" value=\"custom\" color=\"#cc00cc\" />\n\t\t\t</q-radio-group>"
|
|
8170
8815
|
},
|
|
8171
8816
|
{
|
|
8172
8817
|
"title": "Size",
|
|
@@ -8286,6 +8931,31 @@
|
|
|
8286
8931
|
"required": false,
|
|
8287
8932
|
"category": "Content"
|
|
8288
8933
|
},
|
|
8934
|
+
{
|
|
8935
|
+
"name": "help",
|
|
8936
|
+
"type": {
|
|
8937
|
+
"kind": "primitive",
|
|
8938
|
+
"name": "string"
|
|
8939
|
+
},
|
|
8940
|
+
"description": "Help text. Plain text only. One display at a time.\n\nHelp needs a `title`, which labels the popover and anchors the tooltip. Without a title,\nno help is shown, whatever the display.\n\nTooltip and popover help is also exposed to assistive tech on the section, as its\ndescription. The section is a named group, labeled by its title.",
|
|
8941
|
+
"required": false,
|
|
8942
|
+
"category": "Content"
|
|
8943
|
+
},
|
|
8944
|
+
{
|
|
8945
|
+
"name": "helpDisplay",
|
|
8946
|
+
"type": {
|
|
8947
|
+
"kind": "enum",
|
|
8948
|
+
"values": [
|
|
8949
|
+
"popover",
|
|
8950
|
+
"tooltip",
|
|
8951
|
+
"subtext"
|
|
8952
|
+
]
|
|
8953
|
+
},
|
|
8954
|
+
"description": "How {@link QSectionProps.help} is presented. Defaults to a popover.\n\nA tooltip opens on hover, or on focus inside the title, which only happens when a\n`title.append` control takes focus. On a section it is therefore pointer-only for sighted\nusers, and `popover` or `subtext` suit keyboard users better. Screen readers get the help\nas the section's description in every display.",
|
|
8955
|
+
"default": "popover",
|
|
8956
|
+
"required": false,
|
|
8957
|
+
"category": "Presentation"
|
|
8958
|
+
},
|
|
8289
8959
|
{
|
|
8290
8960
|
"name": "borderless",
|
|
8291
8961
|
"type": {
|
|
@@ -8322,6 +8992,28 @@
|
|
|
8322
8992
|
"description": "If true, the section spans the full width of its container.",
|
|
8323
8993
|
"required": false,
|
|
8324
8994
|
"category": "Presentation"
|
|
8995
|
+
},
|
|
8996
|
+
{
|
|
8997
|
+
"name": "icons",
|
|
8998
|
+
"type": {
|
|
8999
|
+
"kind": "object",
|
|
9000
|
+
"fields": {}
|
|
9001
|
+
},
|
|
9002
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.",
|
|
9003
|
+
"default": "DEFAULT_ICONS",
|
|
9004
|
+
"required": false,
|
|
9005
|
+
"category": "Configuration"
|
|
9006
|
+
},
|
|
9007
|
+
{
|
|
9008
|
+
"name": "texts",
|
|
9009
|
+
"type": {
|
|
9010
|
+
"kind": "object",
|
|
9011
|
+
"fields": {}
|
|
9012
|
+
},
|
|
9013
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.",
|
|
9014
|
+
"default": "DEFAULT_TEXTS",
|
|
9015
|
+
"required": false,
|
|
9016
|
+
"category": "Configuration"
|
|
8325
9017
|
}
|
|
8326
9018
|
],
|
|
8327
9019
|
"events": [],
|
|
@@ -8346,6 +9038,21 @@
|
|
|
8346
9038
|
"description": "A basic group box with a title and example content.",
|
|
8347
9039
|
"code": "<q-section v-bind=\"args\">\n\t\t\t\t<span>Example of a group box</span>\n\t\t\t</q-section>"
|
|
8348
9040
|
},
|
|
9041
|
+
{
|
|
9042
|
+
"title": "Popover",
|
|
9043
|
+
"description": "Help shown in a popover on the title.",
|
|
9044
|
+
"code": "<q-section v-bind=\"args\">\n\t\t\t\t<span>Example of a group box</span>\n\t\t\t</q-section>"
|
|
9045
|
+
},
|
|
9046
|
+
{
|
|
9047
|
+
"title": "Tooltip",
|
|
9048
|
+
"description": "Help shown in a tooltip on the title.",
|
|
9049
|
+
"code": "<q-section v-bind=\"args\">\n\t\t\t\t<span>Example of a group box</span>\n\t\t\t</q-section>"
|
|
9050
|
+
},
|
|
9051
|
+
{
|
|
9052
|
+
"title": "Subtext",
|
|
9053
|
+
"description": "Help rendered under the title.",
|
|
9054
|
+
"code": "<q-section v-bind=\"args\">\n\t\t\t\t<span>Example of a group box</span>\n\t\t\t</q-section>"
|
|
9055
|
+
},
|
|
8349
9056
|
{
|
|
8350
9057
|
"title": "No Title",
|
|
8351
9058
|
"description": "A group box without a title.",
|
|
@@ -8446,9 +9153,9 @@
|
|
|
8446
9153
|
"type": {
|
|
8447
9154
|
"kind": "enum",
|
|
8448
9155
|
"values": [
|
|
8449
|
-
"right",
|
|
8450
9156
|
"left",
|
|
8451
9157
|
"center",
|
|
9158
|
+
"right",
|
|
8452
9159
|
"topleft",
|
|
8453
9160
|
"topright"
|
|
8454
9161
|
]
|
|
@@ -8457,6 +9164,52 @@
|
|
|
8457
9164
|
"required": false,
|
|
8458
9165
|
"category": "Presentation"
|
|
8459
9166
|
},
|
|
9167
|
+
{
|
|
9168
|
+
"name": "help",
|
|
9169
|
+
"type": {
|
|
9170
|
+
"kind": "primitive",
|
|
9171
|
+
"name": "string"
|
|
9172
|
+
},
|
|
9173
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
9174
|
+
"required": false,
|
|
9175
|
+
"category": "Content"
|
|
9176
|
+
},
|
|
9177
|
+
{
|
|
9178
|
+
"name": "helpDisplay",
|
|
9179
|
+
"type": {
|
|
9180
|
+
"kind": "enum",
|
|
9181
|
+
"values": [
|
|
9182
|
+
"popover",
|
|
9183
|
+
"tooltip",
|
|
9184
|
+
"subtext"
|
|
9185
|
+
]
|
|
9186
|
+
},
|
|
9187
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
9188
|
+
"required": false,
|
|
9189
|
+
"category": "Presentation"
|
|
9190
|
+
},
|
|
9191
|
+
{
|
|
9192
|
+
"name": "icons",
|
|
9193
|
+
"type": {
|
|
9194
|
+
"kind": "object",
|
|
9195
|
+
"fields": {}
|
|
9196
|
+
},
|
|
9197
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.\nCustom icon configurations. Includes the icons of the badges and the list.\nPass every key, or omit the prop to keep the defaults.",
|
|
9198
|
+
"default": "DEFAULT_ICONS",
|
|
9199
|
+
"required": false,
|
|
9200
|
+
"category": "Configuration"
|
|
9201
|
+
},
|
|
9202
|
+
{
|
|
9203
|
+
"name": "texts",
|
|
9204
|
+
"type": {
|
|
9205
|
+
"kind": "object",
|
|
9206
|
+
"fields": {}
|
|
9207
|
+
},
|
|
9208
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.\nCustom text configurations. Includes the badges' remove label and the clear button strings.\nPass every key, or omit the prop to keep the defaults.",
|
|
9209
|
+
"default": "DEFAULT_TEXTS",
|
|
9210
|
+
"required": false,
|
|
9211
|
+
"category": "Configuration"
|
|
9212
|
+
},
|
|
8460
9213
|
{
|
|
8461
9214
|
"name": "size",
|
|
8462
9215
|
"type": {
|
|
@@ -8632,40 +9385,18 @@
|
|
|
8632
9385
|
"name": "string"
|
|
8633
9386
|
},
|
|
8634
9387
|
"description": "Property on each item that contains its value.",
|
|
8635
|
-
"default": "key",
|
|
8636
|
-
"required": false,
|
|
8637
|
-
"category": "Configuration"
|
|
8638
|
-
},
|
|
8639
|
-
{
|
|
8640
|
-
"name": "itemLabel",
|
|
8641
|
-
"type": {
|
|
8642
|
-
"kind": "primitive",
|
|
8643
|
-
"name": "string"
|
|
8644
|
-
},
|
|
8645
|
-
"description": "Property on each item that contains its title.",
|
|
8646
|
-
"default": "label",
|
|
8647
|
-
"required": false,
|
|
8648
|
-
"category": "Configuration"
|
|
8649
|
-
},
|
|
8650
|
-
{
|
|
8651
|
-
"name": "icons",
|
|
8652
|
-
"type": {
|
|
8653
|
-
"kind": "object",
|
|
8654
|
-
"fields": {}
|
|
8655
|
-
},
|
|
8656
|
-
"description": "Custom icon configurations.",
|
|
8657
|
-
"default": "DEFAULT_ICONS",
|
|
9388
|
+
"default": "key",
|
|
8658
9389
|
"required": false,
|
|
8659
9390
|
"category": "Configuration"
|
|
8660
9391
|
},
|
|
8661
9392
|
{
|
|
8662
|
-
"name": "
|
|
9393
|
+
"name": "itemLabel",
|
|
8663
9394
|
"type": {
|
|
8664
|
-
"kind": "
|
|
8665
|
-
"
|
|
9395
|
+
"kind": "primitive",
|
|
9396
|
+
"name": "string"
|
|
8666
9397
|
},
|
|
8667
|
-
"description": "
|
|
8668
|
-
"default": "
|
|
9398
|
+
"description": "Property on each item that contains its title.",
|
|
9399
|
+
"default": "label",
|
|
8669
9400
|
"required": false,
|
|
8670
9401
|
"category": "Configuration"
|
|
8671
9402
|
}
|
|
@@ -8845,8 +9576,8 @@
|
|
|
8845
9576
|
"type": {
|
|
8846
9577
|
"kind": "enum",
|
|
8847
9578
|
"values": [
|
|
8848
|
-
"
|
|
8849
|
-
"
|
|
9579
|
+
"left",
|
|
9580
|
+
"right"
|
|
8850
9581
|
]
|
|
8851
9582
|
},
|
|
8852
9583
|
"description": "Position of the sidebar on the screen. Can be either 'left' or 'right'.",
|
|
@@ -9157,7 +9888,7 @@
|
|
|
9157
9888
|
"kind": "object",
|
|
9158
9889
|
"fields": {}
|
|
9159
9890
|
},
|
|
9160
|
-
"description": "Custom icons for the previous/next navigation buttons
|
|
9891
|
+
"description": "Custom icons for the previous/next navigation buttons, the\n`completed`/`current` status badges, and the overflow scroll arrows.\nPass every key, or omit the prop to keep the defaults.",
|
|
9161
9892
|
"default": "DEFAULT_ICONS",
|
|
9162
9893
|
"required": false,
|
|
9163
9894
|
"category": "Configuration"
|
|
@@ -9168,7 +9899,7 @@
|
|
|
9168
9899
|
"kind": "object",
|
|
9169
9900
|
"fields": {}
|
|
9170
9901
|
},
|
|
9171
|
-
"description": "Custom accessible strings.",
|
|
9902
|
+
"description": "Custom accessible strings. Includes the step buttons, the status badges, and the overflow scroll arrows.\nPass every key, or omit the prop to keep the defaults.",
|
|
9172
9903
|
"default": "DEFAULT_TEXTS",
|
|
9173
9904
|
"required": false,
|
|
9174
9905
|
"category": "Configuration"
|
|
@@ -9206,6 +9937,11 @@
|
|
|
9206
9937
|
]
|
|
9207
9938
|
},
|
|
9208
9939
|
"examples": [
|
|
9940
|
+
{
|
|
9941
|
+
"title": "Subtext Help",
|
|
9942
|
+
"description": "Subtext help at the top of the step content. The header caption stays.",
|
|
9943
|
+
"code": "<q-steps v-model=\"step\" v-bind=\"args\">\n\t\t\t\tStep content\n\t\t\t</q-steps>"
|
|
9944
|
+
},
|
|
9209
9945
|
{
|
|
9210
9946
|
"title": "Default",
|
|
9211
9947
|
"description": "Default horizontal steps with the circle variant.",
|
|
@@ -9303,41 +10039,86 @@
|
|
|
9303
10039
|
"category": "Identification"
|
|
9304
10040
|
},
|
|
9305
10041
|
{
|
|
9306
|
-
"name": "
|
|
10042
|
+
"name": "required",
|
|
9307
10043
|
"type": {
|
|
9308
10044
|
"kind": "primitive",
|
|
9309
|
-
"name": "
|
|
10045
|
+
"name": "boolean"
|
|
9310
10046
|
},
|
|
9311
|
-
"description": "
|
|
10047
|
+
"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).",
|
|
9312
10048
|
"required": false,
|
|
9313
|
-
"category": "
|
|
10049
|
+
"category": "State"
|
|
9314
10050
|
},
|
|
9315
10051
|
{
|
|
9316
|
-
"name": "
|
|
10052
|
+
"name": "label",
|
|
9317
10053
|
"type": {
|
|
9318
10054
|
"kind": "primitive",
|
|
9319
|
-
"name": "
|
|
10055
|
+
"name": "string"
|
|
9320
10056
|
},
|
|
9321
|
-
"description": "
|
|
10057
|
+
"description": "The label of the input.",
|
|
9322
10058
|
"required": false,
|
|
9323
|
-
"category": "
|
|
10059
|
+
"category": "Content"
|
|
9324
10060
|
},
|
|
9325
10061
|
{
|
|
9326
10062
|
"name": "labelPosition",
|
|
9327
10063
|
"type": {
|
|
9328
10064
|
"kind": "enum",
|
|
9329
10065
|
"values": [
|
|
9330
|
-
"right",
|
|
9331
10066
|
"left",
|
|
9332
10067
|
"center",
|
|
10068
|
+
"right",
|
|
9333
10069
|
"topleft",
|
|
9334
10070
|
"topright"
|
|
9335
10071
|
]
|
|
9336
10072
|
},
|
|
9337
10073
|
"description": "Position of the label relative to the input field.\n- 'left': Label appears to the left of the input\n- 'center': Label appears above the input, centered\n- 'right': Label appears to the right of the input\n- 'topleft': Label appears above the input, aligned to the left\n- 'topright': Label appears above the input, aligned to the right",
|
|
10074
|
+
"default": "left",
|
|
10075
|
+
"required": false,
|
|
10076
|
+
"category": "Presentation"
|
|
10077
|
+
},
|
|
10078
|
+
{
|
|
10079
|
+
"name": "help",
|
|
10080
|
+
"type": {
|
|
10081
|
+
"kind": "primitive",
|
|
10082
|
+
"name": "string"
|
|
10083
|
+
},
|
|
10084
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
10085
|
+
"required": false,
|
|
10086
|
+
"category": "Content"
|
|
10087
|
+
},
|
|
10088
|
+
{
|
|
10089
|
+
"name": "helpDisplay",
|
|
10090
|
+
"type": {
|
|
10091
|
+
"kind": "enum",
|
|
10092
|
+
"values": [
|
|
10093
|
+
"popover",
|
|
10094
|
+
"tooltip",
|
|
10095
|
+
"subtext"
|
|
10096
|
+
]
|
|
10097
|
+
},
|
|
10098
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
9338
10099
|
"required": false,
|
|
9339
10100
|
"category": "Presentation"
|
|
9340
10101
|
},
|
|
10102
|
+
{
|
|
10103
|
+
"name": "icons",
|
|
10104
|
+
"type": {
|
|
10105
|
+
"kind": "object",
|
|
10106
|
+
"fields": {}
|
|
10107
|
+
},
|
|
10108
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.",
|
|
10109
|
+
"required": false,
|
|
10110
|
+
"category": "Configuration"
|
|
10111
|
+
},
|
|
10112
|
+
{
|
|
10113
|
+
"name": "texts",
|
|
10114
|
+
"type": {
|
|
10115
|
+
"kind": "object",
|
|
10116
|
+
"fields": {}
|
|
10117
|
+
},
|
|
10118
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.",
|
|
10119
|
+
"required": false,
|
|
10120
|
+
"category": "Configuration"
|
|
10121
|
+
},
|
|
9341
10122
|
{
|
|
9342
10123
|
"name": "trueLabel",
|
|
9343
10124
|
"type": {
|
|
@@ -9559,6 +10340,28 @@
|
|
|
9559
10340
|
"description": "If true, disables all nested tabs via defaults cascade.",
|
|
9560
10341
|
"required": false,
|
|
9561
10342
|
"category": "State"
|
|
10343
|
+
},
|
|
10344
|
+
{
|
|
10345
|
+
"name": "icons",
|
|
10346
|
+
"type": {
|
|
10347
|
+
"kind": "object",
|
|
10348
|
+
"fields": {}
|
|
10349
|
+
},
|
|
10350
|
+
"description": "Icons for the tab strip. Includes the overflow navigation chevrons.\nPass every key, or omit the prop to keep the defaults.",
|
|
10351
|
+
"default": "DEFAULT_ICONS",
|
|
10352
|
+
"required": false,
|
|
10353
|
+
"category": "Configuration"
|
|
10354
|
+
},
|
|
10355
|
+
{
|
|
10356
|
+
"name": "texts",
|
|
10357
|
+
"type": {
|
|
10358
|
+
"kind": "object",
|
|
10359
|
+
"fields": {}
|
|
10360
|
+
},
|
|
10361
|
+
"description": "Accessible strings for the tab strip. Includes the overflow back/forward labels and\nthe strings of the nested tabs, which receive them through the defaults cascade\nunless a tab sets its own `texts`.\nPass every key, or omit the prop to keep the defaults.",
|
|
10362
|
+
"default": "DEFAULT_TEXTS",
|
|
10363
|
+
"required": false,
|
|
10364
|
+
"category": "Configuration"
|
|
9562
10365
|
}
|
|
9563
10366
|
],
|
|
9564
10367
|
"events": [
|
|
@@ -9576,6 +10379,11 @@
|
|
|
9576
10379
|
]
|
|
9577
10380
|
},
|
|
9578
10381
|
"examples": [
|
|
10382
|
+
{
|
|
10383
|
+
"title": "Subtext Help",
|
|
10384
|
+
"description": "Subtext help at the top of a panel. The tab button stays the label.",
|
|
10385
|
+
"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>"
|
|
10386
|
+
},
|
|
9579
10387
|
{
|
|
9580
10388
|
"title": "Default",
|
|
9581
10389
|
"description": "Default horizontal tabs.",
|
|
@@ -9692,9 +10500,9 @@
|
|
|
9692
10500
|
"type": {
|
|
9693
10501
|
"kind": "enum",
|
|
9694
10502
|
"values": [
|
|
9695
|
-
"right",
|
|
9696
10503
|
"left",
|
|
9697
10504
|
"center",
|
|
10505
|
+
"right",
|
|
9698
10506
|
"topleft",
|
|
9699
10507
|
"topright"
|
|
9700
10508
|
]
|
|
@@ -9703,6 +10511,50 @@
|
|
|
9703
10511
|
"required": false,
|
|
9704
10512
|
"category": "Presentation"
|
|
9705
10513
|
},
|
|
10514
|
+
{
|
|
10515
|
+
"name": "help",
|
|
10516
|
+
"type": {
|
|
10517
|
+
"kind": "primitive",
|
|
10518
|
+
"name": "string"
|
|
10519
|
+
},
|
|
10520
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
10521
|
+
"required": false,
|
|
10522
|
+
"category": "Content"
|
|
10523
|
+
},
|
|
10524
|
+
{
|
|
10525
|
+
"name": "helpDisplay",
|
|
10526
|
+
"type": {
|
|
10527
|
+
"kind": "enum",
|
|
10528
|
+
"values": [
|
|
10529
|
+
"popover",
|
|
10530
|
+
"tooltip",
|
|
10531
|
+
"subtext"
|
|
10532
|
+
]
|
|
10533
|
+
},
|
|
10534
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
10535
|
+
"required": false,
|
|
10536
|
+
"category": "Presentation"
|
|
10537
|
+
},
|
|
10538
|
+
{
|
|
10539
|
+
"name": "icons",
|
|
10540
|
+
"type": {
|
|
10541
|
+
"kind": "object",
|
|
10542
|
+
"fields": {}
|
|
10543
|
+
},
|
|
10544
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.",
|
|
10545
|
+
"required": false,
|
|
10546
|
+
"category": "Configuration"
|
|
10547
|
+
},
|
|
10548
|
+
{
|
|
10549
|
+
"name": "texts",
|
|
10550
|
+
"type": {
|
|
10551
|
+
"kind": "object",
|
|
10552
|
+
"fields": {}
|
|
10553
|
+
},
|
|
10554
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.",
|
|
10555
|
+
"required": false,
|
|
10556
|
+
"category": "Configuration"
|
|
10557
|
+
},
|
|
9706
10558
|
{
|
|
9707
10559
|
"name": "size",
|
|
9708
10560
|
"type": {
|
|
@@ -9976,9 +10828,9 @@
|
|
|
9976
10828
|
"type": {
|
|
9977
10829
|
"kind": "enum",
|
|
9978
10830
|
"values": [
|
|
9979
|
-
"right",
|
|
9980
10831
|
"left",
|
|
9981
10832
|
"center",
|
|
10833
|
+
"right",
|
|
9982
10834
|
"topleft",
|
|
9983
10835
|
"topright"
|
|
9984
10836
|
]
|
|
@@ -9987,6 +10839,52 @@
|
|
|
9987
10839
|
"required": false,
|
|
9988
10840
|
"category": "Presentation"
|
|
9989
10841
|
},
|
|
10842
|
+
{
|
|
10843
|
+
"name": "help",
|
|
10844
|
+
"type": {
|
|
10845
|
+
"kind": "primitive",
|
|
10846
|
+
"name": "string"
|
|
10847
|
+
},
|
|
10848
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the control.\nTooltip help anchors to the control. Without a label, a popover is a button beside the control.",
|
|
10849
|
+
"required": false,
|
|
10850
|
+
"category": "Content"
|
|
10851
|
+
},
|
|
10852
|
+
{
|
|
10853
|
+
"name": "helpDisplay",
|
|
10854
|
+
"type": {
|
|
10855
|
+
"kind": "enum",
|
|
10856
|
+
"values": [
|
|
10857
|
+
"popover",
|
|
10858
|
+
"tooltip",
|
|
10859
|
+
"subtext"
|
|
10860
|
+
]
|
|
10861
|
+
},
|
|
10862
|
+
"description": "How {@link QFieldHelpProps.help} is presented. Defaults to a popover.",
|
|
10863
|
+
"required": false,
|
|
10864
|
+
"category": "Presentation"
|
|
10865
|
+
},
|
|
10866
|
+
{
|
|
10867
|
+
"name": "icons",
|
|
10868
|
+
"type": {
|
|
10869
|
+
"kind": "object",
|
|
10870
|
+
"fields": {}
|
|
10871
|
+
},
|
|
10872
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.\nCustom icon configurations. Includes the help and clear button icons.\nPass every key, or omit the prop to keep the defaults.",
|
|
10873
|
+
"default": "DEFAULT_ICONS",
|
|
10874
|
+
"required": false,
|
|
10875
|
+
"category": "Configuration"
|
|
10876
|
+
},
|
|
10877
|
+
{
|
|
10878
|
+
"name": "texts",
|
|
10879
|
+
"type": {
|
|
10880
|
+
"kind": "object",
|
|
10881
|
+
"fields": {}
|
|
10882
|
+
},
|
|
10883
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.\nCustom text configurations. Includes the help and clear button labels.\nPass every key, or omit the prop to keep the defaults.",
|
|
10884
|
+
"default": "DEFAULT_TEXTS",
|
|
10885
|
+
"required": false,
|
|
10886
|
+
"category": "Configuration"
|
|
10887
|
+
},
|
|
9990
10888
|
{
|
|
9991
10889
|
"name": "size",
|
|
9992
10890
|
"type": {
|
|
@@ -10075,16 +10973,6 @@
|
|
|
10075
10973
|
"default": "text",
|
|
10076
10974
|
"required": false,
|
|
10077
10975
|
"category": "Behavior"
|
|
10078
|
-
},
|
|
10079
|
-
{
|
|
10080
|
-
"name": "texts",
|
|
10081
|
-
"type": {
|
|
10082
|
-
"kind": "object",
|
|
10083
|
-
"fields": {}
|
|
10084
|
-
},
|
|
10085
|
-
"description": "Custom text configurations.",
|
|
10086
|
-
"required": false,
|
|
10087
|
-
"category": "Configuration"
|
|
10088
10976
|
}
|
|
10089
10977
|
],
|
|
10090
10978
|
"events": [
|
|
@@ -10128,6 +11016,26 @@
|
|
|
10128
11016
|
"description": "Displays a text field.",
|
|
10129
11017
|
"code": "<QTextField />"
|
|
10130
11018
|
},
|
|
11019
|
+
{
|
|
11020
|
+
"title": "Popover",
|
|
11021
|
+
"description": "Help shown in a popover. The popover title is the field label.",
|
|
11022
|
+
"code": "<QTextField help=\"Shown on the invoice\" />"
|
|
11023
|
+
},
|
|
11024
|
+
{
|
|
11025
|
+
"title": "Tooltip",
|
|
11026
|
+
"description": "Help is a tooltip on the control.",
|
|
11027
|
+
"code": "<QTextField help=\"Shown on the invoice\" help-display=\"tooltip\" />"
|
|
11028
|
+
},
|
|
11029
|
+
{
|
|
11030
|
+
"title": "Subtext",
|
|
11031
|
+
"description": "Help rendered under the control.",
|
|
11032
|
+
"code": "<QTextField help=\"Shown on the invoice\" help-display=\"subtext\" />"
|
|
11033
|
+
},
|
|
11034
|
+
{
|
|
11035
|
+
"title": "Tooltip Without Label",
|
|
11036
|
+
"description": "With no visible label, help is a tooltip on the control and there is no help button. `aria-label` is not a `QTextField` prop, so it stays on the template node to name the input.",
|
|
11037
|
+
"code": "<QTextField label=\"\" help=\"Shown on the invoice\" help-display=\"tooltip\" />"
|
|
11038
|
+
},
|
|
10131
11039
|
{
|
|
10132
11040
|
"title": "Placeholder",
|
|
10133
11041
|
"description": "Provides a hint or example text inside the field.",
|
|
@@ -10225,7 +11133,7 @@
|
|
|
10225
11133
|
},
|
|
10226
11134
|
{
|
|
10227
11135
|
"name": "QToast",
|
|
10228
|
-
"description": "Toasts are commonly used to display quick feedback messages to the user, without removing focus from the main page.",
|
|
11136
|
+
"description": "Toasts are commonly used to display quick feedback messages to the user, without removing focus from the main page. Show toasts with `useToast` and a `QToaster`, which announces each one to screen readers. A toast used on its own takes `role=\"alert\"` for warnings and errors and `role=\"status\"` otherwise, but many screen readers skip a `status` toast that appears together with its message.",
|
|
10229
11137
|
"meta": {
|
|
10230
11138
|
"props": [
|
|
10231
11139
|
{
|
|
@@ -10274,7 +11182,7 @@
|
|
|
10274
11182
|
"kind": "primitive",
|
|
10275
11183
|
"name": "string"
|
|
10276
11184
|
},
|
|
10277
|
-
"description": "The color of the toast.\nCan be chosen from utility colors like 'success' or 'danger',\nor specified using CSS color codes.",
|
|
11185
|
+
"description": "The color of the toast.\nCan be chosen from utility colors like 'success' or 'danger',\nor specified using CSS color codes.\n`info`, `success`, `warning` and `danger` also set the severity: the icon from `icons`,\nthe text screen readers announce before the message, and the default `live` value.\nOther colors show no icon unless one is passed in the `icon` slot.",
|
|
10278
11186
|
"default": "info",
|
|
10279
11187
|
"required": false,
|
|
10280
11188
|
"category": "Presentation"
|
|
@@ -10321,13 +11229,27 @@
|
|
|
10321
11229
|
"required": false,
|
|
10322
11230
|
"category": "Behavior"
|
|
10323
11231
|
},
|
|
11232
|
+
{
|
|
11233
|
+
"name": "live",
|
|
11234
|
+
"type": {
|
|
11235
|
+
"kind": "enum",
|
|
11236
|
+
"values": [
|
|
11237
|
+
"assertive",
|
|
11238
|
+
"polite",
|
|
11239
|
+
"off"
|
|
11240
|
+
]
|
|
11241
|
+
},
|
|
11242
|
+
"description": "How screen readers announce the toast.\n`assertive` interrupts the user, `polite` waits until they are idle, and `off`\ndoes not announce it. Defaults to `assertive` for `warning` and `danger` and to\n`polite` for any other color.\nA toast shown by `QToaster` is announced through the toaster's live regions, which\nread the severity text, the `title` and the `text`. A toast used on its own gets\n`role=\"alert\"` or `role=\"status\"` instead, and many screen readers skip a `polite`\ntoast that appears together with its message. Show toasts with `useToast` so they\nare heard.",
|
|
11243
|
+
"required": false,
|
|
11244
|
+
"category": "Accessibility"
|
|
11245
|
+
},
|
|
10324
11246
|
{
|
|
10325
11247
|
"name": "icons",
|
|
10326
11248
|
"type": {
|
|
10327
11249
|
"kind": "object",
|
|
10328
11250
|
"fields": {}
|
|
10329
11251
|
},
|
|
10330
|
-
"description": "Custom icon configurations.",
|
|
11252
|
+
"description": "Custom icon configurations: the severity icons and the dismiss icon.\nPass every key, or omit the prop to keep the defaults.",
|
|
10331
11253
|
"default": "DEFAULT_ICONS",
|
|
10332
11254
|
"required": false,
|
|
10333
11255
|
"category": "Configuration"
|
|
@@ -10338,7 +11260,7 @@
|
|
|
10338
11260
|
"kind": "object",
|
|
10339
11261
|
"fields": {}
|
|
10340
11262
|
},
|
|
10341
|
-
"description": "Custom text configurations.",
|
|
11263
|
+
"description": "Custom text configurations: the severity texts read before the message,\nand the label of the dismiss button.\nPass every key, or omit the prop to keep the defaults.",
|
|
10342
11264
|
"default": "DEFAULT_TEXTS",
|
|
10343
11265
|
"required": false,
|
|
10344
11266
|
"category": "Configuration"
|
|
@@ -10362,6 +11284,10 @@
|
|
|
10362
11284
|
}
|
|
10363
11285
|
],
|
|
10364
11286
|
"slots": [
|
|
11287
|
+
{
|
|
11288
|
+
"name": "icon",
|
|
11289
|
+
"description": ""
|
|
11290
|
+
},
|
|
10365
11291
|
{
|
|
10366
11292
|
"name": "title.prepend",
|
|
10367
11293
|
"description": ""
|
|
@@ -10403,9 +11329,14 @@
|
|
|
10403
11329
|
},
|
|
10404
11330
|
{
|
|
10405
11331
|
"title": "Colors",
|
|
10406
|
-
"description": "Any color can be applied to the toast. Supports semantic colors (success, danger, info, ...) or css colors (#033, rgba(255, 0, 0, 0.5), ...) Defaults to info.",
|
|
11332
|
+
"description": "Any color can be applied to the toast. Supports semantic colors (success, danger, info, ...) or css colors (#033, rgba(255, 0, 0, 0.5), ...) Defaults to info. `info`, `success`, `warning` and `danger` show a matching icon.",
|
|
10407
11333
|
"code": "<div style=\"display: flex; flex-direction: column; gap: 1rem;\">\n\t\t\t\t<q-toast\n\t\t\t\t\tv-for=\"(_, idx) in colors\"\n\t\t\t\t\t:key=\"colors[idx]\"\n\t\t\t\t\t:color=\"colors[idx]\"\n\t\t\t\t\t:text=\"texts[idx]\" />\n\t\t\t</div>"
|
|
10408
11334
|
},
|
|
11335
|
+
{
|
|
11336
|
+
"title": "Custom Icon",
|
|
11337
|
+
"description": "The `icon` slot replaces the icon of a severity color, or adds one to a toast in another color. The icon is decorative and hidden from screen readers, so anything it conveys must also be in the message. Toasts from `useToast` take no slots, so they show only the severity icons from `icons`.",
|
|
11338
|
+
"code": "<q-toast v-bind=\"args\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<q-icon icon=\"information-outline\" />\n\t\t\t\t</template>\n\t\t\t</q-toast>"
|
|
11339
|
+
},
|
|
10409
11340
|
{
|
|
10410
11341
|
"title": "Bold",
|
|
10411
11342
|
"description": "Displays the toast with a bold background color.",
|
|
@@ -10423,8 +11354,8 @@
|
|
|
10423
11354
|
},
|
|
10424
11355
|
{
|
|
10425
11356
|
"title": "Header Slots",
|
|
10426
|
-
"description": "The toast header is also customizable through the `title.append` and `title.prepend` slots.",
|
|
10427
|
-
"code": "<q-toast
|
|
11357
|
+
"description": "The toast header is also customizable through the `title.append` and `title.prepend` slots. For an icon, use the `icon` slot instead.",
|
|
11358
|
+
"code": "<q-toast v-bind=\"args\">\n\t\t\t\t<template #[\\"
|
|
10428
11359
|
}
|
|
10429
11360
|
]
|
|
10430
11361
|
},
|
|
@@ -10462,16 +11393,60 @@
|
|
|
10462
11393
|
"required": false,
|
|
10463
11394
|
"category": "Content"
|
|
10464
11395
|
},
|
|
11396
|
+
{
|
|
11397
|
+
"name": "help",
|
|
11398
|
+
"type": {
|
|
11399
|
+
"kind": "primitive",
|
|
11400
|
+
"name": "string"
|
|
11401
|
+
},
|
|
11402
|
+
"description": "Help text. Plain text only. One display at a time.\n\nTooltip and popover help is also exposed to assistive tech on the button.\nThe popover title is the button label.\n\nWith help, the root element is a `display: contents` wrapper around the button\n(and the help), not the button itself, so:\n- Anchor popovers, tooltips, and measurements to the inner `button`, not to the\n component's `$el`, which has no box.\n- Do not toggle `help` on a focused button: the button is remounted and loses focus.\n- Direct-child selectors such as those of `QButtonGroup` no longer match the button,\n so `QToggleGroupItem` does not accept help.",
|
|
11403
|
+
"required": false,
|
|
11404
|
+
"category": "Content"
|
|
11405
|
+
},
|
|
11406
|
+
{
|
|
11407
|
+
"name": "helpDisplay",
|
|
11408
|
+
"type": {
|
|
11409
|
+
"kind": "enum",
|
|
11410
|
+
"values": [
|
|
11411
|
+
"popover",
|
|
11412
|
+
"tooltip",
|
|
11413
|
+
"subtext"
|
|
11414
|
+
]
|
|
11415
|
+
},
|
|
11416
|
+
"description": "How {@link QButtonProps.help} is presented. Defaults to a popover.\n\n`subtext` renders the help under the button only in block flow. In a flex row\n(such as a dialog footer) or in an inline run it becomes a sibling beside the\nbutton, or breaks the line, so prefer `popover` or `tooltip` there.",
|
|
11417
|
+
"required": false,
|
|
11418
|
+
"category": "Presentation"
|
|
11419
|
+
},
|
|
11420
|
+
{
|
|
11421
|
+
"name": "icons",
|
|
11422
|
+
"type": {
|
|
11423
|
+
"kind": "object",
|
|
11424
|
+
"fields": {}
|
|
11425
|
+
},
|
|
11426
|
+
"description": "Icon overrides. Includes the help popover icon, `help`.\nPass every key, or omit the prop to keep the defaults.",
|
|
11427
|
+
"required": false,
|
|
11428
|
+
"category": "Configuration"
|
|
11429
|
+
},
|
|
11430
|
+
{
|
|
11431
|
+
"name": "texts",
|
|
11432
|
+
"type": {
|
|
11433
|
+
"kind": "object",
|
|
11434
|
+
"fields": {}
|
|
11435
|
+
},
|
|
11436
|
+
"description": "Accessible text overrides. Includes the help button label, `showHelp`.\nPass every key, or omit the prop to keep the defaults.",
|
|
11437
|
+
"required": false,
|
|
11438
|
+
"category": "Configuration"
|
|
11439
|
+
},
|
|
10465
11440
|
{
|
|
10466
11441
|
"name": "variant",
|
|
10467
11442
|
"type": {
|
|
10468
11443
|
"kind": "enum",
|
|
10469
11444
|
"values": [
|
|
10470
11445
|
"tonal",
|
|
11446
|
+
"text",
|
|
10471
11447
|
"bold",
|
|
10472
11448
|
"outlined",
|
|
10473
|
-
"ghost"
|
|
10474
|
-
"text"
|
|
11449
|
+
"ghost"
|
|
10475
11450
|
]
|
|
10476
11451
|
},
|
|
10477
11452
|
"description": "Specifies the visual style of the button.",
|
|
@@ -10488,6 +11463,16 @@
|
|
|
10488
11463
|
"required": false,
|
|
10489
11464
|
"category": "Presentation"
|
|
10490
11465
|
},
|
|
11466
|
+
{
|
|
11467
|
+
"name": "surface",
|
|
11468
|
+
"type": {
|
|
11469
|
+
"kind": "primitive",
|
|
11470
|
+
"name": "string"
|
|
11471
|
+
},
|
|
11472
|
+
"description": "The color the button sits on, when it is not the theme background: a utility color\nlike 'primary', or a CSS color code. The label color of the `tonal`, `outlined`,\n`ghost` and `text` variants, and the hover color, are measured against it, so the\nbutton stays readable on a colored banner. Defaults to the theme background.",
|
|
11473
|
+
"required": false,
|
|
11474
|
+
"category": "Presentation"
|
|
11475
|
+
},
|
|
10491
11476
|
{
|
|
10492
11477
|
"name": "borderless",
|
|
10493
11478
|
"type": {
|
|
@@ -10620,6 +11605,11 @@
|
|
|
10620
11605
|
"title": "Default",
|
|
10621
11606
|
"description": "",
|
|
10622
11607
|
"code": "<q-toggle v-bind=\"args\" aria-label=\"Underline\">\n\t\t <q-icon icon=\"format-underline\" />\n\t\t</q-toggle>"
|
|
11608
|
+
},
|
|
11609
|
+
{
|
|
11610
|
+
"title": "Colors",
|
|
11611
|
+
"description": "A pressed toggle uses its own `color`: a tonal fill and a label that clears 4.5:1 on it.",
|
|
11612
|
+
"code": "<div style=\"display: flex; gap: 0.5rem;\">\n\t\t <q-toggle\n\t\t v-for=\"color in colors\"\n\t\t :key=\"color\"\n\t\t :model-value=\"true\"\n\t\t :color=\"color\"\n\t\t :aria-label=\"'Underline in ' + color\">\n\t\t <q-icon icon=\"format-underline\" />\n\t\t </q-toggle>\n\t\t</div>"
|
|
10623
11613
|
}
|
|
10624
11614
|
]
|
|
10625
11615
|
},
|
|
@@ -10890,16 +11880,16 @@
|
|
|
10890
11880
|
"values": [
|
|
10891
11881
|
"top",
|
|
10892
11882
|
"bottom",
|
|
10893
|
-
"right",
|
|
10894
11883
|
"left",
|
|
11884
|
+
"right",
|
|
10895
11885
|
"top-start",
|
|
10896
11886
|
"top-end",
|
|
10897
11887
|
"bottom-start",
|
|
10898
11888
|
"bottom-end",
|
|
10899
|
-
"right-start",
|
|
10900
|
-
"right-end",
|
|
10901
11889
|
"left-start",
|
|
10902
|
-
"left-end"
|
|
11890
|
+
"left-end",
|
|
11891
|
+
"right-start",
|
|
11892
|
+
"right-end"
|
|
10903
11893
|
]
|
|
10904
11894
|
},
|
|
10905
11895
|
"description": "The placement of the tooltip.",
|