@uninterface/backend-vuetify 0.0.0-stage → 4.2.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/LICENSE +21 -0
- package/README.md +60 -2
- package/capabilities.json +169 -0
- package/docs/README.md +47 -0
- package/docs/collections.md +214 -0
- package/docs/contract-adaptations.md +99 -0
- package/docs/customization.md +112 -0
- package/docs/examples/NativeReference.vue +203 -0
- package/docs/exports.md +30 -0
- package/docs/floating-panels.md +53 -0
- package/docs/font-licenses/noto-sans-sc.txt +93 -0
- package/docs/font-licenses/noto-sans-tc.txt +93 -0
- package/docs/font-licenses/roboto.txt +93 -0
- package/docs/icon-licenses/Apache-2.0.txt +202 -0
- package/docs/icon-licenses/NOTICE.txt +3 -0
- package/docs/icon-licenses/SOURCES.md +49 -0
- package/docs/modals.md +31 -0
- package/docs/native-html.md +21 -0
- package/docs/navigation.md +25 -0
- package/docs/package-build.md +20 -0
- package/docs/presentation.md +227 -0
- package/docs/progress.md +9 -0
- package/docs/reviewed-components.md +104 -0
- package/docs/segmented-selection.md +22 -0
- package/docs/selection-feedback-panels.md +77 -0
- package/docs/setup.md +133 -0
- package/docs/strategies.md +92 -0
- package/docs/table-columns.md +33 -0
- package/docs/testing.md +44 -0
- package/docs/typography.md +93 -0
- package/esm/_virtual/_plugin-vue_export-helper.js +10 -0
- package/esm/capabilities.json.js +14 -0
- package/esm/package.json.js +14 -0
- package/esm/src/ChoiceGroup.vue.js +4 -0
- package/esm/src/ChoiceGroup2.vue.js +185 -0
- package/esm/src/CollectionCard.vue.js +4 -0
- package/esm/src/CollectionCard2.vue.js +199 -0
- package/esm/src/CollectionFilterEditor.vue.js +4 -0
- package/esm/src/CollectionFilterEditor2.vue.js +31 -0
- package/esm/src/CollectionHeaderFlow.vue.js +4 -0
- package/esm/src/CollectionHeaderFlow2.vue.js +33 -0
- package/esm/src/CollectionHeaderPart.vue.js +4 -0
- package/esm/src/CollectionHeaderPart2.vue.js +40 -0
- package/esm/src/CollectionQueryBadge.vue.js +4 -0
- package/esm/src/CollectionQueryBadge2.vue.js +85 -0
- package/esm/src/CollectionSortLayout.vue.js +4 -0
- package/esm/src/CollectionSortLayout2.vue.js +23 -0
- package/esm/src/CollectionStatus.vue.js +4 -0
- package/esm/src/CollectionStatus2.vue.js +135 -0
- package/esm/src/CollectionSummary.vue.js +4 -0
- package/esm/src/CollectionSummary2.vue.js +70 -0
- package/esm/src/CollectionTableActions.vue.js +13 -0
- package/esm/src/DrawerDepth.vue.js +4 -0
- package/esm/src/DrawerDepth2.vue.js +28 -0
- package/esm/src/DrawerDock.vue.js +4 -0
- package/esm/src/DrawerDock2.vue.js +26 -0
- package/esm/src/EntryBranch.css +9 -0
- package/esm/src/EntryBranch.vue.js +10 -0
- package/esm/src/EntryBranch2.css +4 -0
- package/esm/src/EntryBranch2.vue.js +383 -0
- package/esm/src/EntryIcon.vue.js +4 -0
- package/esm/src/EntryIcon2.vue.js +31 -0
- package/esm/src/EntryPopup.vue.js +4 -0
- package/esm/src/EntryPopup2.vue.js +101 -0
- package/esm/src/FeedbackItem.vue.js +4 -0
- package/esm/src/FeedbackItem2.vue.js +252 -0
- package/esm/src/FeedbackViewport.vue.js +4 -0
- package/esm/src/FeedbackViewport2.vue.js +42 -0
- package/esm/src/FieldFailureTooltip.vue.js +4 -0
- package/esm/src/FieldFailureTooltip2.vue.js +101 -0
- package/esm/src/FileTypeIcon.vue.js +4 -0
- package/esm/src/FileTypeIcon2.vue.js +73 -0
- package/esm/src/FooterActions.vue.js +16 -0
- package/esm/src/NavigationTree.vue.js +4 -0
- package/esm/src/NavigationTree2.vue.js +73 -0
- package/esm/src/NavigationTreeBranch.vue.js +4 -0
- package/esm/src/NavigationTreeBranch2.vue.js +297 -0
- package/esm/src/OverlaySurface.vue.js +4 -0
- package/esm/src/OverlaySurface2.vue.js +172 -0
- package/esm/src/TableAddRow.vue.js +4 -0
- package/esm/src/TableAddRow2.vue.js +66 -0
- package/esm/src/TableFilterButton.vue.js +4 -0
- package/esm/src/TableFilterButton2.vue.js +36 -0
- package/esm/src/TemporalAction.vue.js +4 -0
- package/esm/src/TemporalAction2.vue.js +47 -0
- package/esm/src/TemporalEditor.vue.js +4 -0
- package/esm/src/TemporalEditor2.vue.js +112 -0
- package/esm/src/TemporalIcon.vue.js +4 -0
- package/esm/src/TemporalIcon2.vue.js +81 -0
- package/esm/src/TemporalInput.vue.js +4 -0
- package/esm/src/TemporalInput2.vue.js +248 -0
- package/esm/src/TemporalMode.vue.js +4 -0
- package/esm/src/TemporalMode2.vue.js +127 -0
- package/esm/src/TemporalPicker.vue.js +4 -0
- package/esm/src/TemporalPicker2.vue.js +177 -0
- package/esm/src/TemporalRangeIcon.vue.js +4 -0
- package/esm/src/TemporalRangeIcon2.vue.js +72 -0
- package/esm/src/TemporalRangePicker.vue.js +4 -0
- package/esm/src/TemporalRangePicker2.vue.js +150 -0
- package/esm/src/UiApp.vue.js +4 -0
- package/esm/src/UiApp2.vue.js +62 -0
- package/esm/src/UiBadge.vue.js +4 -0
- package/esm/src/UiBadge2.vue.js +30 -0
- package/esm/src/UiBreadcrumbs.vue.js +4 -0
- package/esm/src/UiBreadcrumbs2.vue.js +105 -0
- package/esm/src/UiButton.vue.js +4 -0
- package/esm/src/UiButton2.vue.js +135 -0
- package/esm/src/UiCard.vue.js +4 -0
- package/esm/src/UiCard2.vue.js +117 -0
- package/esm/src/UiCheckbox.vue.js +4 -0
- package/esm/src/UiCheckbox2.vue.js +87 -0
- package/esm/src/UiCheckboxGroup.vue.js +4 -0
- package/esm/src/UiCheckboxGroup2.vue.js +43 -0
- package/esm/src/UiCollapsible.vue.js +4 -0
- package/esm/src/UiCollapsible2.vue.js +77 -0
- package/esm/src/UiCollectionFooter.vue.js +4 -0
- package/esm/src/UiCollectionFooter2.vue.js +64 -0
- package/esm/src/UiCollectionHeader.vue.js +4 -0
- package/esm/src/UiCollectionHeader2.vue.js +24 -0
- package/esm/src/UiCollectionView.vue.js +4 -0
- package/esm/src/UiCollectionView2.vue.js +239 -0
- package/esm/src/UiContent.vue.js +4 -0
- package/esm/src/UiContent2.vue.js +35 -0
- package/esm/src/UiDateInput.vue.js +4 -0
- package/esm/src/UiDateInput2.vue.js +46 -0
- package/esm/src/UiDateTimeInput.vue.js +4 -0
- package/esm/src/UiDateTimeInput2.vue.js +46 -0
- package/esm/src/UiDrawer.vue.js +4 -0
- package/esm/src/UiDrawer2.vue.js +98 -0
- package/esm/src/UiDrawerLayout.vue.js +4 -0
- package/esm/src/UiDrawerLayout2.vue.js +63 -0
- package/esm/src/UiEmpty.vue.js +4 -0
- package/esm/src/UiEmpty2.vue.js +51 -0
- package/esm/src/UiField.vue.js +4 -0
- package/esm/src/UiField2.vue.js +157 -0
- package/esm/src/UiFileCollection.vue.js +4 -0
- package/esm/src/UiFileCollection2.vue.js +54 -0
- package/esm/src/UiFileInput.vue.js +4 -0
- package/esm/src/UiFileInput2.vue.js +187 -0
- package/esm/src/UiFilePreview.vue.js +4 -0
- package/esm/src/UiFilePreview2.vue.js +107 -0
- package/esm/src/UiFloating.vue.js +4 -0
- package/esm/src/UiFloating2.vue.js +108 -0
- package/esm/src/UiForm.vue.js +4 -0
- package/esm/src/UiForm2.vue.js +37 -0
- package/esm/src/UiIcon.css +8 -0
- package/esm/src/UiIcon.vue.js +8 -0
- package/esm/src/UiIcon2.vue.js +27 -0
- package/esm/src/UiImagePreview.vue.js +4 -0
- package/esm/src/UiImagePreview2.vue.js +104 -0
- package/esm/src/UiInputFrame.vue.js +4 -0
- package/esm/src/UiInputFrame2.vue.js +87 -0
- package/esm/src/UiInputFrameSpacer.vue.js +4 -0
- package/esm/src/UiInputFrameSpacer2.vue.js +20 -0
- package/esm/src/UiKeyValueItem.vue.js +4 -0
- package/esm/src/UiKeyValueItem2.vue.js +29 -0
- package/esm/src/UiKeyValueList.vue.js +4 -0
- package/esm/src/UiKeyValueList2.vue.js +17 -0
- package/esm/src/UiLayout.vue.js +4 -0
- package/esm/src/UiLayout2.vue.js +156 -0
- package/esm/src/UiLink.vue.js +4 -0
- package/esm/src/UiLink2.vue.js +30 -0
- package/esm/src/UiList.vue.js +4 -0
- package/esm/src/UiList2.vue.js +247 -0
- package/esm/src/UiLoadingIndicator.vue.js +4 -0
- package/esm/src/UiLoadingIndicator2.vue.js +48 -0
- package/esm/src/UiLoadingRegion.vue.js +4 -0
- package/esm/src/UiLoadingRegion2.vue.js +90 -0
- package/esm/src/UiMenu.vue.js +4 -0
- package/esm/src/UiMenu2.vue.js +97 -0
- package/esm/src/UiModal.vue.js +4 -0
- package/esm/src/UiModal2.vue.js +166 -0
- package/esm/src/UiMultiSelect.css +21 -0
- package/esm/src/UiMultiSelect.vue.js +8 -0
- package/esm/src/UiMultiSelect2.vue.js +248 -0
- package/esm/src/UiNavMenu.vue.js +4 -0
- package/esm/src/UiNavMenu2.vue.js +92 -0
- package/esm/src/UiNavbar.vue.js +4 -0
- package/esm/src/UiNavbar2.vue.js +44 -0
- package/esm/src/UiNotice.vue.js +4 -0
- package/esm/src/UiNotice2.vue.js +93 -0
- package/esm/src/UiPaginator.vue.js +4 -0
- package/esm/src/UiPaginator2.vue.js +213 -0
- package/esm/src/UiPaginatorJumper.vue.js +4 -0
- package/esm/src/UiPaginatorJumper2.vue.js +90 -0
- package/esm/src/UiPaginatorSizeSelect.vue.js +4 -0
- package/esm/src/UiPaginatorSizeSelect2.vue.js +47 -0
- package/esm/src/UiPopover.vue.js +4 -0
- package/esm/src/UiPopover2.vue.js +93 -0
- package/esm/src/UiPreviewRegion.vue.js +4 -0
- package/esm/src/UiPreviewRegion2.vue.js +83 -0
- package/esm/src/UiProgressBar.vue.js +4 -0
- package/esm/src/UiProgressBar2.vue.js +34 -0
- package/esm/src/UiRadioGroup.vue.js +4 -0
- package/esm/src/UiRadioGroup2.vue.js +43 -0
- package/esm/src/UiRegionLayout.vue.js +4 -0
- package/esm/src/UiRegionLayout2.vue.js +106 -0
- package/esm/src/UiSegmentedSelect.css +129 -0
- package/esm/src/UiSegmentedSelect.vue.js +8 -0
- package/esm/src/UiSegmentedSelect2.vue.js +300 -0
- package/esm/src/UiSelect.vue.js +4 -0
- package/esm/src/UiSelect2.vue.js +238 -0
- package/esm/src/UiSuggestions.vue.js +4 -0
- package/esm/src/UiSuggestions2.vue.js +156 -0
- package/esm/src/UiSwitch.vue.js +4 -0
- package/esm/src/UiSwitch2.vue.js +84 -0
- package/esm/src/UiTabPanel.vue.js +4 -0
- package/esm/src/UiTabPanel2.vue.js +40 -0
- package/esm/src/UiTable.vue.js +4 -0
- package/esm/src/UiTable2.vue.js +704 -0
- package/esm/src/UiTabs.vue.js +4 -0
- package/esm/src/UiTabs2.vue.js +78 -0
- package/esm/src/UiTextInput.vue.js +4 -0
- package/esm/src/UiTextInput2.vue.js +154 -0
- package/esm/src/UiTimeInput.vue.js +4 -0
- package/esm/src/UiTimeInput2.vue.js +46 -0
- package/esm/src/UiTooltip.vue.js +4 -0
- package/esm/src/UiTooltip2.vue.js +75 -0
- package/esm/src/UiUploadProgress.vue.js +4 -0
- package/esm/src/UiUploadProgress2.vue.js +136 -0
- package/esm/src/UiUploadRegion.vue.js +4 -0
- package/esm/src/UiUploadRegion2.vue.js +262 -0
- package/esm/src/checkableDescription.js +104 -0
- package/esm/src/controlSize.js +22 -0
- package/esm/src/fieldLayout.js +52 -0
- package/esm/src/focus.js +6 -0
- package/esm/src/icons/add.vue.js +28 -0
- package/esm/src/icons/arrow-down.vue.js +28 -0
- package/esm/src/icons/arrow-left.vue.js +28 -0
- package/esm/src/icons/arrow-right.vue.js +28 -0
- package/esm/src/icons/arrow-up.vue.js +28 -0
- package/esm/src/icons/attachment.vue.js +28 -0
- package/esm/src/icons/bookmark.vue.js +28 -0
- package/esm/src/icons/calendar.vue.js +28 -0
- package/esm/src/icons/cancel.vue.js +28 -0
- package/esm/src/icons/clear.vue.js +28 -0
- package/esm/src/icons/close.vue.js +28 -0
- package/esm/src/icons/collapse.vue.js +28 -0
- package/esm/src/icons/confirm.vue.js +28 -0
- package/esm/src/icons/copy.vue.js +28 -0
- package/esm/src/icons/delete.vue.js +28 -0
- package/esm/src/icons/download.vue.js +28 -0
- package/esm/src/icons/edit.vue.js +28 -0
- package/esm/src/icons/email.vue.js +28 -0
- package/esm/src/icons/error.vue.js +28 -0
- package/esm/src/icons/expand.vue.js +28 -0
- package/esm/src/icons/external-link.vue.js +28 -0
- package/esm/src/icons/file.vue.js +28 -0
- package/esm/src/icons/filter.vue.js +28 -0
- package/esm/src/icons/first.vue.js +28 -0
- package/esm/src/icons/globe.vue.js +28 -0
- package/esm/src/icons/help.vue.js +28 -0
- package/esm/src/icons/hide.vue.js +28 -0
- package/esm/src/icons/home.vue.js +28 -0
- package/esm/src/icons/image.vue.js +28 -0
- package/esm/src/icons/index.js +116 -0
- package/esm/src/icons/info.vue.js +28 -0
- package/esm/src/icons/last.vue.js +28 -0
- package/esm/src/icons/link.vue.js +28 -0
- package/esm/src/icons/location.vue.js +28 -0
- package/esm/src/icons/menu.vue.js +28 -0
- package/esm/src/icons/more-vertical.vue.js +28 -0
- package/esm/src/icons/more.vue.js +28 -0
- package/esm/src/icons/next.vue.js +28 -0
- package/esm/src/icons/previous.vue.js +28 -0
- package/esm/src/icons/refresh.vue.js +28 -0
- package/esm/src/icons/remove.vue.js +28 -0
- package/esm/src/icons/reset.vue.js +28 -0
- package/esm/src/icons/retry.vue.js +28 -0
- package/esm/src/icons/save.vue.js +28 -0
- package/esm/src/icons/search.vue.js +28 -0
- package/esm/src/icons/settings.vue.js +28 -0
- package/esm/src/icons/show.vue.js +28 -0
- package/esm/src/icons/sort-ascending.vue.js +28 -0
- package/esm/src/icons/sort-descending.vue.js +28 -0
- package/esm/src/icons/sort.vue.js +28 -0
- package/esm/src/icons/success.vue.js +28 -0
- package/esm/src/icons/time.vue.js +28 -0
- package/esm/src/icons/upload.vue.js +28 -0
- package/esm/src/icons/warning.vue.js +28 -0
- package/esm/src/index.js +17 -0
- package/esm/src/integration.js +62 -0
- package/esm/src/layout.js +13 -0
- package/esm/src/nativeDirection.js +38 -0
- package/esm/src/selectEscape.js +14 -0
- package/esm/src/targetListeners.js +38 -0
- package/esm/src/zOrder.js +17 -0
- package/esm/testing/browser-control-parts.js +25 -0
- package/esm/testing/dom.js +43 -0
- package/esm/testing/index.js +125 -0
- package/esm/testing/presentation-mapping.js +50 -0
- package/esm/testing/presentation-parts.js +50 -0
- package/font-bundled.css +6 -0
- package/font-family.css +23 -0
- package/font.css +6 -0
- package/native-content.css +75 -0
- package/package.json +75 -4
- package/style.css +2850 -0
- package/types/src/ChoiceGroup.vue.d.ts +15 -0
- package/types/src/CollectionCard.vue.d.ts +42 -0
- package/types/src/CollectionFilterEditor.vue.d.ts +16 -0
- package/types/src/CollectionHeaderFlow.vue.d.ts +17 -0
- package/types/src/CollectionHeaderPart.vue.d.ts +24 -0
- package/types/src/CollectionQueryBadge.vue.d.ts +28 -0
- package/types/src/CollectionSortLayout.vue.d.ts +17 -0
- package/types/src/CollectionStatus.vue.d.ts +28 -0
- package/types/src/CollectionSummary.vue.d.ts +22 -0
- package/types/src/CollectionTableActions.vue.d.ts +13 -0
- package/types/src/DrawerDepth.vue.d.ts +7 -0
- package/types/src/DrawerDock.vue.d.ts +17 -0
- package/types/src/EntryBranch.vue.d.ts +41 -0
- package/types/src/EntryIcon.vue.d.ts +13 -0
- package/types/src/EntryPopup.vue.d.ts +26 -0
- package/types/src/FeedbackItem.vue.d.ts +20 -0
- package/types/src/FeedbackViewport.vue.d.ts +19 -0
- package/types/src/FieldFailureTooltip.vue.d.ts +17 -0
- package/types/src/FileTypeIcon.vue.d.ts +6 -0
- package/types/src/FooterActions.vue.d.ts +13 -0
- package/types/src/NavigationTree.vue.d.ts +38 -0
- package/types/src/NavigationTreeBranch.vue.d.ts +38 -0
- package/types/src/OverlaySurface.vue.d.ts +38 -0
- package/types/src/TableAddRow.vue.d.ts +18 -0
- package/types/src/TableFilterButton.vue.d.ts +7 -0
- package/types/src/TemporalAction.vue.d.ts +13 -0
- package/types/src/TemporalEditor.vue.d.ts +12 -0
- package/types/src/TemporalIcon.vue.d.ts +6 -0
- package/types/src/TemporalInput.vue.d.ts +9 -0
- package/types/src/TemporalMode.vue.d.ts +20 -0
- package/types/src/TemporalPicker.vue.d.ts +10 -0
- package/types/src/TemporalRangeIcon.vue.d.ts +7 -0
- package/types/src/TemporalRangePicker.vue.d.ts +16 -0
- package/types/src/UiApp.vue.d.ts +18 -0
- package/types/src/UiBadge.vue.d.ts +14 -0
- package/types/src/UiBreadcrumbs.vue.d.ts +24 -0
- package/types/src/UiButton.vue.d.ts +22 -0
- package/types/src/UiCard.vue.d.ts +24 -0
- package/types/src/UiCheckbox.vue.d.ts +10 -0
- package/types/src/UiCheckboxGroup.vue.d.ts +12 -0
- package/types/src/UiCollapsible.vue.d.ts +20 -0
- package/types/src/UiCollectionFooter.vue.d.ts +15 -0
- package/types/src/UiCollectionHeader.vue.d.ts +14 -0
- package/types/src/UiCollectionView.vue.d.ts +56 -0
- package/types/src/UiContent.vue.d.ts +14 -0
- package/types/src/UiDateInput.vue.d.ts +6 -0
- package/types/src/UiDateTimeInput.vue.d.ts +6 -0
- package/types/src/UiDrawer.vue.d.ts +40 -0
- package/types/src/UiDrawerLayout.vue.d.ts +16 -0
- package/types/src/UiEmpty.vue.d.ts +18 -0
- package/types/src/UiField.vue.d.ts +17 -0
- package/types/src/UiFileCollection.vue.d.ts +16 -0
- package/types/src/UiFileInput.vue.d.ts +6 -0
- package/types/src/UiFilePreview.vue.d.ts +6 -0
- package/types/src/UiFloating.vue.d.ts +14 -0
- package/types/src/UiForm.vue.d.ts +25 -0
- package/types/src/UiIcon.vue.d.ts +14 -0
- package/types/src/UiImagePreview.vue.d.ts +4 -0
- package/types/src/UiInputFrame.vue.d.ts +26 -0
- package/types/src/UiInputFrameSpacer.vue.d.ts +3 -0
- package/types/src/UiKeyValueItem.vue.d.ts +14 -0
- package/types/src/UiKeyValueList.vue.d.ts +13 -0
- package/types/src/UiLayout.vue.d.ts +17 -0
- package/types/src/UiLink.vue.d.ts +16 -0
- package/types/src/UiList.vue.d.ts +49 -0
- package/types/src/UiLoadingIndicator.vue.d.ts +14 -0
- package/types/src/UiLoadingRegion.vue.d.ts +17 -0
- package/types/src/UiMenu.vue.d.ts +59 -0
- package/types/src/UiModal.vue.d.ts +27 -0
- package/types/src/UiMultiSelect.vue.d.ts +16 -0
- package/types/src/UiNavMenu.vue.d.ts +45 -0
- package/types/src/UiNavbar.vue.d.ts +17 -0
- package/types/src/UiNotice.vue.d.ts +18 -0
- package/types/src/UiPaginator.vue.d.ts +4 -0
- package/types/src/UiPaginatorJumper.vue.d.ts +4 -0
- package/types/src/UiPaginatorSizeSelect.vue.d.ts +4 -0
- package/types/src/UiPopover.vue.d.ts +40 -0
- package/types/src/UiPreviewRegion.vue.d.ts +14 -0
- package/types/src/UiProgressBar.vue.d.ts +4 -0
- package/types/src/UiRadioGroup.vue.d.ts +12 -0
- package/types/src/UiRegionLayout.vue.d.ts +21 -0
- package/types/src/UiSegmentedSelect.vue.d.ts +12 -0
- package/types/src/UiSelect.vue.d.ts +14 -0
- package/types/src/UiSuggestions.vue.d.ts +37 -0
- package/types/src/UiSwitch.vue.d.ts +10 -0
- package/types/src/UiTabPanel.vue.d.ts +14 -0
- package/types/src/UiTable.vue.d.ts +94 -0
- package/types/src/UiTabs.vue.d.ts +20 -0
- package/types/src/UiTextInput.vue.d.ts +24 -0
- package/types/src/UiTimeInput.vue.d.ts +6 -0
- package/types/src/UiTooltip.vue.d.ts +25 -0
- package/types/src/UiUploadProgress.vue.d.ts +4 -0
- package/types/src/UiUploadRegion.vue.d.ts +6 -0
- package/types/src/checkableDescription.d.ts +7 -0
- package/types/src/controlSize.d.ts +2 -0
- package/types/src/fieldLayout.d.ts +27 -0
- package/types/src/focus.d.ts +3 -0
- package/types/src/icons/add.vue.d.ts +3 -0
- package/types/src/icons/arrow-down.vue.d.ts +3 -0
- package/types/src/icons/arrow-left.vue.d.ts +3 -0
- package/types/src/icons/arrow-right.vue.d.ts +3 -0
- package/types/src/icons/arrow-up.vue.d.ts +3 -0
- package/types/src/icons/attachment.vue.d.ts +3 -0
- package/types/src/icons/bookmark.vue.d.ts +3 -0
- package/types/src/icons/calendar.vue.d.ts +3 -0
- package/types/src/icons/cancel.vue.d.ts +3 -0
- package/types/src/icons/clear.vue.d.ts +3 -0
- package/types/src/icons/close.vue.d.ts +3 -0
- package/types/src/icons/collapse.vue.d.ts +3 -0
- package/types/src/icons/confirm.vue.d.ts +3 -0
- package/types/src/icons/copy.vue.d.ts +3 -0
- package/types/src/icons/delete.vue.d.ts +3 -0
- package/types/src/icons/download.vue.d.ts +3 -0
- package/types/src/icons/edit.vue.d.ts +3 -0
- package/types/src/icons/email.vue.d.ts +3 -0
- package/types/src/icons/error.vue.d.ts +3 -0
- package/types/src/icons/expand.vue.d.ts +3 -0
- package/types/src/icons/external-link.vue.d.ts +3 -0
- package/types/src/icons/file.vue.d.ts +3 -0
- package/types/src/icons/filter.vue.d.ts +3 -0
- package/types/src/icons/first.vue.d.ts +3 -0
- package/types/src/icons/globe.vue.d.ts +3 -0
- package/types/src/icons/help.vue.d.ts +3 -0
- package/types/src/icons/hide.vue.d.ts +3 -0
- package/types/src/icons/home.vue.d.ts +3 -0
- package/types/src/icons/image.vue.d.ts +3 -0
- package/types/src/icons/index.d.ts +181 -0
- package/types/src/icons/info.vue.d.ts +3 -0
- package/types/src/icons/last.vue.d.ts +3 -0
- package/types/src/icons/link.vue.d.ts +3 -0
- package/types/src/icons/location.vue.d.ts +3 -0
- package/types/src/icons/menu.vue.d.ts +3 -0
- package/types/src/icons/more-vertical.vue.d.ts +3 -0
- package/types/src/icons/more.vue.d.ts +3 -0
- package/types/src/icons/next.vue.d.ts +3 -0
- package/types/src/icons/previous.vue.d.ts +3 -0
- package/types/src/icons/refresh.vue.d.ts +3 -0
- package/types/src/icons/remove.vue.d.ts +3 -0
- package/types/src/icons/reset.vue.d.ts +3 -0
- package/types/src/icons/retry.vue.d.ts +3 -0
- package/types/src/icons/save.vue.d.ts +3 -0
- package/types/src/icons/search.vue.d.ts +3 -0
- package/types/src/icons/settings.vue.d.ts +3 -0
- package/types/src/icons/show.vue.d.ts +3 -0
- package/types/src/icons/sort-ascending.vue.d.ts +3 -0
- package/types/src/icons/sort-descending.vue.d.ts +3 -0
- package/types/src/icons/sort.vue.d.ts +3 -0
- package/types/src/icons/success.vue.d.ts +3 -0
- package/types/src/icons/time.vue.d.ts +3 -0
- package/types/src/icons/upload.vue.d.ts +3 -0
- package/types/src/icons/warning.vue.d.ts +3 -0
- package/types/src/index.d.ts +2 -0
- package/types/src/integration.d.ts +1323 -0
- package/types/src/layout.d.ts +2 -0
- package/types/src/nativeDirection.d.ts +2 -0
- package/types/src/selectEscape.d.ts +2 -0
- package/types/src/targetListeners.d.ts +9 -0
- package/types/src/zOrder.d.ts +3 -0
- package/types/testing/browser-control-parts.d.ts +2 -0
- package/types/testing/dom.d.mts +3 -0
- package/types/testing/index.d.ts +3 -0
- package/types/testing/presentation-mapping.d.ts +31 -0
- package/types/testing/presentation-parts.d.mts +20 -0
package/docs/setup.md
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# Set up the Vuetify backend
|
|
2
|
+
|
|
3
|
+
This guide owns the application integration requirements for `@uninterface/backend-vuetify`. Business components use `@uninterface/uninterface`; toolkit configuration stays at application assembly.
|
|
4
|
+
|
|
5
|
+
## Requirements
|
|
6
|
+
|
|
7
|
+
Use Node.js 24 or 26, Vue compatible with core's `^3.5.18` peer dependency, Vue-aware TypeScript checking, and Vite with `@vitejs/plugin-vue`. Keep one runtime copy of Vue and core.
|
|
8
|
+
|
|
9
|
+
## Select the backend
|
|
10
|
+
|
|
11
|
+
The release package ships compiled ES modules and TypeScript declarations.
|
|
12
|
+
Install `@uninterface/backend-vuetify` under the alias `@uninterface/backend`.
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install @uninterface/uninterface@^0.1.0 @uninterface/backend@npm:@uninterface/backend-vuetify@4.2.0
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Choose a Core version that satisfies the selected backend release's peer dependency.
|
|
19
|
+
|
|
20
|
+
Use TypeScript's `Bundler` module resolution to resolve the package's type
|
|
21
|
+
exports. See [package build](package-build.md) for a source checkout.
|
|
22
|
+
|
|
23
|
+
## Configure Vite
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
// vite.config.ts
|
|
27
|
+
import { defineConfig } from 'vite'
|
|
28
|
+
import vue from '@vitejs/plugin-vue'
|
|
29
|
+
|
|
30
|
+
export default defineConfig({
|
|
31
|
+
plugins: [vue()],
|
|
32
|
+
resolve: { dedupe: ['vue', '@uninterface/uninterface'] },
|
|
33
|
+
})
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Initialize the application
|
|
37
|
+
|
|
38
|
+
```ts
|
|
39
|
+
// src/main.ts
|
|
40
|
+
import { createUiApplication } from '@uninterface/uninterface/setup'
|
|
41
|
+
import '@uninterface/backend/font.css'
|
|
42
|
+
import '@uninterface/backend/style.css'
|
|
43
|
+
import App from './App.vue'
|
|
44
|
+
|
|
45
|
+
const app = createUiApplication(App, { document })
|
|
46
|
+
await app.ui.ready
|
|
47
|
+
app.mount('#app')
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
The required `./integration` export is a descriptor consumed automatically by createUiApplication. It creates the native Vuetify plugin and locale context, enabling Vuetify SSR mode when core creates an SSR/hydration application; do not pass the descriptor to app.use or install a second toolkit plugin. No backend Vite plugin is needed. The adapter declares Vuetify 4.2.5 as its dependency. Setup installs toolkit theme, locale, display and SVG icon services without globally registering components. Views import individual toolkit components, and built-in SVG icons require no icon-font download. The stylesheet imports Vuetify's full styles, including global effects. No extra VApp wrapper or VForm validation engine is required for Uninterface components. The integration synchronizes native language resources and theme appearance with core services.
|
|
51
|
+
|
|
52
|
+
The integration descriptor is loaded by core through the selected alias; business components need no backend imports. Import the stylesheet once. The top-level `document` option grants ownership of document language attributes; omit it for an embedded application. Await readiness before mounting. For SSR/hydration, supply the same explicit `idPrefix` on both sides, create a fresh application per request and call `app.ui.dispose()` in `finally`. The core application-isolation guide defines the verified editing baseline and request-owned business-session cleanup.
|
|
53
|
+
|
|
54
|
+
Create a minimal `App.vue` to verify the configured application:
|
|
55
|
+
|
|
56
|
+
```vue
|
|
57
|
+
<script setup lang="ts">
|
|
58
|
+
import { ref } from 'vue'
|
|
59
|
+
import { UiApp, UiButton, UiContent } from '@uninterface/uninterface'
|
|
60
|
+
|
|
61
|
+
const acknowledged = ref(false)
|
|
62
|
+
</script>
|
|
63
|
+
|
|
64
|
+
<template>
|
|
65
|
+
<UiApp>
|
|
66
|
+
<UiContent>
|
|
67
|
+
<h1>Application ready</h1>
|
|
68
|
+
<UiButton
|
|
69
|
+
:disabled="acknowledged"
|
|
70
|
+
@click="acknowledged = true"
|
|
71
|
+
>
|
|
72
|
+
Acknowledge
|
|
73
|
+
</UiButton>
|
|
74
|
+
<p v-if="acknowledged" role="status">Acknowledged.</p>
|
|
75
|
+
</UiContent>
|
|
76
|
+
</UiApp>
|
|
77
|
+
</template>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Mount into the existing Vue application's `#app` element. Use its configured Vite and Vue type-check commands to build/check the source. Confirm that the button responds, becomes disabled and displays the status. This verifies a basic interaction, not every backend capability or browser.
|
|
81
|
+
|
|
82
|
+
## Scope and verification
|
|
83
|
+
|
|
84
|
+
The [presentation reference](presentation.md) documents native mappings and limitations; [exports](exports.md) documents assembly modules. Capability declarations describe supported contracts; they do not certify accessibility. Browser keyboard, focus, popup, contrast and scrolling checks remain necessary in addition to builds and DOM simulation.
|
|
85
|
+
|
|
86
|
+
## Localization and icons
|
|
87
|
+
|
|
88
|
+
Use `createUiApplication` to install this backend's `integration` alongside core resources. Do not separately install a native toolkit plugin. Core's application-localization service owns language selection and synchronizes the native resources supplied by this backend.
|
|
89
|
+
|
|
90
|
+
The initial full message set is English, Simplified Chinese, Traditional Chinese and Arabic. The integration declares native resource aliases; core exposes the effective native locale through `app.ui.i18n.state.value.resolved.backend`. Additional native resources can be supplied by extending the selected integration at assembly through the `backend` option; core/business components need no backend-name branch. Additional languages and full RTL require acceptance before support claims.
|
|
91
|
+
|
|
92
|
+
The catalogue supplies 58 semantic icon names. Application overrides affect UiIcon and menu entry icons; native internal glyphs retain their toolkit defaults. Assets are bundled locally without an external icon service. See [icon license](icon-licenses/Apache-2.0.txt) and [notice](icon-licenses/NOTICE.txt) for its bundled Material Design Icons subset.
|
|
93
|
+
|
|
94
|
+
Arabic (`ar`, العربية) uses script-derived RTL direction. The integration lazily loads the toolkit’s native Arabic pack. Some upstream native strings may remain untranslated. `resolved.backend` reports `ar`, including for compatible regional requests. Message and direction support do not certify full RTL layout or browser acceptance.
|
|
95
|
+
|
|
96
|
+
Request a language through the installed service; do not install another native locale manager:
|
|
97
|
+
|
|
98
|
+
```ts
|
|
99
|
+
await app.ui.i18n.setLocale('zh-Hans')
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Register your own headings, field labels and business messages through `i18n.resources` at createUiApplication setup. Core/native packs translate library-owned text, not arbitrary strings in your application. Resource failures retain the previous language; handle the rejected request. Additional catalogue definitions use the setup `icons` option. Exact resource and icon contracts are documented by `@uninterface/uninterface` under `docs/guides/localization-and-icons.md`.
|
|
103
|
+
|
|
104
|
+
## Color mode
|
|
105
|
+
|
|
106
|
+
This backend declares `theme.color-mode.v1`. Configure `createUiApplication(App, { colorMode: { document } })` to own the document's appearance; optional `preference` selects light, dark or system and optional `storageKey` enables persistence. Omit ownership in embedded apps to inherit the host. The native document selector is `class="v-theme--light"` or `class="v-theme--dark"`; without a host selector, ordinary appearance follows the system. Do not install a competing preference controller. SSR must emit the selector matching the initial resolved mode before hydration. Both ordinary content and popups must receive the same theme.
|
|
107
|
+
|
|
108
|
+
## Customize presentation
|
|
109
|
+
|
|
110
|
+
See [customization](customization.md) for supported application-owned styling,
|
|
111
|
+
native configuration possibilities and adapter limitations.
|
|
112
|
+
|
|
113
|
+
See [strategy support](strategies.md) for optional regional preferences, control-size mappings and unsupported values.
|
|
114
|
+
|
|
115
|
+
Server fields initially use external labels/feedback; native integrated presentation takes over after mount without replacing the editor or duplicating IDs. The verified baseline covers text/multiline fields, checkbox, form actions, icons and explicit locale/mode. It does not establish open-overlay or general selection SSR support.
|
|
116
|
+
|
|
117
|
+
## Typography: fonts first, backend styles second
|
|
118
|
+
|
|
119
|
+
| Choice | First import: fonts |
|
|
120
|
+
|---|---|
|
|
121
|
+
| **Backend default · Network** (recommended starting setup) | `@uninterface/backend/font.css` |
|
|
122
|
+
| **Backend default · Bundled** | `@uninterface/backend/font-bundled.css` |
|
|
123
|
+
| **Uninterface default · Network** | `@uninterface/fonts/font.css` |
|
|
124
|
+
| **Uninterface default · Bundled** | `@uninterface/fonts/font-bundled.css` |
|
|
125
|
+
|
|
126
|
+
Import one selected font entry before the stable `@uninterface/backend/style.css`, as shown in the setup example. The Uninterface choices require the optional `@uninterface/fonts` package. Omitting the font import uses system fonts without downloads. See [typography and fonts](typography.md) for installation, CSP, deployment, language coverage and verification steps.
|
|
127
|
+
|
|
128
|
+
[Native HTML content defaults](native-html.md): supported element baseline, toolkit mappings, setup, spacing and verification limits.
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
### Common icon assets
|
|
132
|
+
|
|
133
|
+
The common catalogue supplies 58 semantic names with independent override keys. The artwork includes Material Design Icons from `@iconify-json/mdi` 1.2.3. Setup imports the catalogue as local Vue components. Applications should budget for the whole catalogue in the bundle. Native internal glyphs are separate from the override catalogue. For semantic names and overrides, see `docs/api/constants/uiIconNames.md` and `docs/guides/localization-and-icons.md` in the Core package. See [asset sources and mappings](icon-licenses/SOURCES.md).
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# Presentation strategies
|
|
2
|
+
|
|
3
|
+
For application authors choosing optional presentation preferences with this backend. Use `UiStrategy` and the common factories from `@uninterface/uninterface`; no backend imports or CSS are needed in business components. Core's strategy contract and usage guide define attachment, custom queries, scope and blocking.
|
|
4
|
+
|
|
5
|
+
```vue
|
|
6
|
+
<UiStrategy :use="uiControlSize(-1)">
|
|
7
|
+
<UiField :field="name" label="Name"><UiTextInput /></UiField>
|
|
8
|
+
<UiButton>Continue</UiButton>
|
|
9
|
+
</UiStrategy>
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Import the components and `uiControlSize` from `@uninterface/uninterface`, and create `name` with `createUiFieldControl('')`. Apply strategies to an existing region; UiStrategy adds no DOM wrapper.
|
|
13
|
+
|
|
14
|
+
## Control size
|
|
15
|
+
|
|
16
|
+
| Controls | Native levels and mapping |
|
|
17
|
+
|---|---|
|
|
18
|
+
| UiTextInput, UiSelect, UiSegmentedSelect, UiCheckbox | -2 / -1 / 0 → compact / comfortable / default density |
|
|
19
|
+
| UiButton | -2 / -1 / 0 / 1 / 2 → x-small / small / default / large / x-large |
|
|
20
|
+
|
|
21
|
+
Editor size changes occupied density rather than uniformly scaling text or checkbox artwork. Requests -2/-1 map to native compact/comfortable density; zero and positive requests map to default density. Native label and feedback typography stays unchanged by density. The adapter does not invent an enlarged native editor.
|
|
22
|
+
|
|
23
|
+
Segmented option captions use field value typography. One-line segmented editor surfaces match peer field heights at each density. When a floating label and choice targets leave insufficient room for the native scrollbar, the scroll area extends below the field surface with stable space before feedback, whether or not the choices currently overflow.
|
|
24
|
+
|
|
25
|
+
Zero requests ordinary size. Levels are ordinal, not multipliers or additive offsets. All five size requests participate in agreement; the adapter maps the agreed level to its native scale. A three-level scale maps -2/-1 to small, 0 to ordinary and 1/2 to large. Common queries require supported contributions to agree; conflicting values preserve ordinary presentation. Omit strategies for normal use.
|
|
26
|
+
|
|
27
|
+
## Field presentation
|
|
28
|
+
|
|
29
|
+
Five common field queries participate, with per-field label support:
|
|
30
|
+
|
|
31
|
+
| Factory | Values and effect |
|
|
32
|
+
|---|---|
|
|
33
|
+
| uiCheckablePresentation | adapt / flushed / control-aligned / separated; checkable labels and group titles stay visible |
|
|
34
|
+
| uiFieldLabels | show / above / beside / beside-far / beside-near / floating / hidden; unsupported detail generalizes to beside/show |
|
|
35
|
+
| uiRequiredAnnotations | prefix / suffix / yes / no; presentation without changing required semantics |
|
|
36
|
+
| uiFieldHelp | together / replace-help; replace help only while a visible error is displayed |
|
|
37
|
+
| uiValidationFailure | none / show / show-below / show-embedded / show-tooltip; select failure visibility and placement |
|
|
38
|
+
|
|
39
|
+
Vuetify supports above through VLabel. Its native ordinary-field APIs have no equivalent beside-label position: beside, beside-far and beside-near generalize to show and retain integrated native labels. Resolution converts these ordinary requests to the concrete integrated-label treatment before rendering, so default/adapt checkables use flushed presentation. Checkable control-aligned and separated are unsupported because the native ordinary presentation establishes no separate label/value columns. Both requests resolve through adapt to flushed; no synthetic columns are created. Integrated ordinary labels do not acquire a manufactured beside column. Native widget error-messages/details supply below feedback; details below do not count as embedded. Helper coexistence uses coordinated external feedback; ordinary replacement retains native details.
|
|
40
|
+
|
|
41
|
+
Show retains ordinary backend feedback; show-below is supported, show-embedded renders below, and show-tooltip uses an anchored error bubble. The error bubble opens automatically while an issue is present. It appears when at least 50% of the editor anchor is visible after clipping and overlap by known layout regions. The accessible error description persists while the bubble is hidden. In a popover that stacks above its owning modal’s header and footer, the error appears below the field inside the popover. Embedded means the error message itself inside the control surface; this backend does not currently implement it. None suppresses field messages while retaining native invalid-state styling and preserving aria-invalid, requiredness, validation and submission behavior. Hidden message description IDs are removed, and help is restored. Form submission summaries remain independent.
|
|
42
|
+
|
|
43
|
+
All common requests agree before native fulfillment. Unsupported label detail generalizes through beside/show; failure placement generalizes to show. Show enables default visible treatment without imposing a location; omission preserves backend defaults. Core recommendations are not automatically applied declarations. Conflicting supported requests retain ordinary presentation. Reactive changes preserve editor identity, draft and focus. Required annotations yes uses this backend’s default suffix placement; optional annotations remain deferred.
|
|
44
|
+
|
|
45
|
+
Floating explicitly selects native integrated floating labels for text/select controls, a sole UiSegmentedSelect in an ordinary field, and a sole UiInputFrame including compound grouped fields. Frame and segmented labels stay floated to clear always-visible content. Checkbox and ordinary group requests generalize to show; multiple sibling frames retain one external group label. Hidden uses a visually hidden associated VLabel for ordinary non-checkable fields; checkable labels/titles stay visible. Tooltip uses VTooltip anchored to the field editor.
|
|
46
|
+
|
|
47
|
+
Resolution follows agreement on original intent. Before rendering, general show/yes/beside/adapt values, omitted preferences and unsupported detail become concrete supported treatments. Equivalent resolved presentations share native integration and geometry; renderers do not implement a separate backend-default path. Required annotations resolve to prefix/suffix/no and failure messages to a supported visible mode or none. Reactive native configuration is read during resolution.
|
|
48
|
+
|
|
49
|
+
Omitted strategies add no presentation preference. Defaults belong to this backend and its supported application configuration, rather than a fixed common strategy value.
|
|
50
|
+
|
|
51
|
+
## Verification
|
|
52
|
+
|
|
53
|
+
Check every documented level against the ordinary control, then remove the declaration and verify recovery. Change preferences while editing: drafts, control identity and focus must survive. Block `uiControlSizeQuery` in a nested UiStrategy and verify that inherited sizing stops while other concerns remain. Real-browser checks are needed for dimensions, visible focus and responsive arrangements; simulated DOM checks alone do not establish those properties.
|
|
54
|
+
|
|
55
|
+
[Documentation index](README.md) · [Presentation](presentation.md)
|
|
56
|
+
|
|
57
|
+
## Hierarchy
|
|
58
|
+
|
|
59
|
+
uiHierarchyLevel applies to card nodes. Explicit UiCard.level overrides the regional answer; disagreement/no answer uses zero. Agreement compares all five original requests before the permitted -2 to -1 adaptation. Targets, depth, stopAt and family/query blocking remain effective. See [card presentation](presentation.md#cards-and-hierarchy) for native mappings.
|
|
60
|
+
|
|
61
|
+
## Card presentation
|
|
62
|
+
|
|
63
|
+
uiCardPresentation configures all five level treatments independently of uiHierarchyLevel. All shared options are fulfilled; see [cards and hierarchy](presentation.md#cards-and-hierarchy). Partial maps retain core-selected defaults. Whole-profile semantic unanimity governs overlapping declarations; disagreement/no answer or blocking restores the default map. Family/query barriers and target/depth/stopAt scopes apply without native CSS-context leakage. Explicit card color overrides the map for that card; null selects neutral. Changing a profile does not remount content or alter child control sizes.
|
|
64
|
+
|
|
65
|
+
## Layout density
|
|
66
|
+
|
|
67
|
+
UiLayout, UiFlowLayout and UiGridLayout support `uiLayoutDensity(-1 | 0 | 1)` for peer separation. -1 maps to `ga-2` plus the local `vuetify-compact-layout` accommodation; 0 preserves `ga-4`; 1 maps to `ga-6`. These are backend fulfillment values, not business-author inputs. Zero/no answer uses the original default; supported conflicting answers retain that default. Both grid axes use the selected spacing. Native tokens/classes remain application-theme controlled where used.
|
|
68
|
+
|
|
69
|
+
Density does not scale checkbox surfaces or hit targets, change typography or content padding, or separate UiRegionLayout allocations. Nested layouts honor logical targets, depth, stopAt and query barriers without inherited CSS density. See `@uninterface/uninterface` documentation at `docs/guides/layout-density.md`. Shared DOM tests verify all levels, restoration, scoped barriers and retained input state/focus; browser geometry is a separate acceptance check.
|
|
70
|
+
|
|
71
|
+
### Compact standalone checkbox rows
|
|
72
|
+
|
|
73
|
+
A direct UiField/UiCheckbox item in a compact UiLayout, UiFlowLayout or UiGridLayout uses its native `--v-selection-control-size` as the checkbox row minimum, instead of VCheckbox's taller `--v-input-control-height`. With uncustomized default density, this removes the surplus 56px row allocation around the 40px selection target; the hit target remains 40px. Explicit control-size strategies still choose native selection sizes. Labels can grow/wrap naturally, and native helper/error details remain available.
|
|
74
|
+
|
|
75
|
+
The adapter keeps VCheckbox and its label, feedback, keyboard/focus and validation wiring. It does not switch native controls or force compact control density. The stylesheet matches only a compact allocation's immediate field/editor/adapter-checkbox chain; nested layouts (including scoped defaults and resets), frame/content wrappers, native third-party checkboxes and choice-group items are untouched. An opaque wrapper is intentionally outside this adaptation. No business CSS or additional strategy is needed for the Shared input frame example.
|
|
76
|
+
|
|
77
|
+
The backend DOM regression matches the actual built CSS selector to rendered checkbox rows and checks defaults, nested boundaries, control size, state, focus and validation feedback. The backend browser regression compares row and hit-area heights against UiCheckboxGroup at desktop/mobile widths. Browser execution remains environment-dependent and is not implied by DOM checks.
|
|
78
|
+
|
|
79
|
+
### Checkable-control labels
|
|
80
|
+
|
|
81
|
+
UiCheckbox and UiSwitch use flushed presentation. The shared strategy vocabulary still accepts adapt/flushed/control-aligned/separated requests; Vuetify supports only flushed and treats the two column modes as unsupported. Adapt first resolves effective ordinary label placement, including reactive native defaults, general values and unsupported requests. It then selects control-aligned for effective beside placement or flushed otherwise. Unsupported control-aligned/separated requests fall back through adapt to flushed before rendering. All standalone labels and group titles remain visible under hidden. Radio/checkbox option labels remain adjacent and group titles remain above their options. Standalone checkbox/switch labels remain adjacent. Standalone descriptions retain label-text alignment; group descriptions remain associated with their options. Size, markers and values retain their own behavior.
|
|
82
|
+
|
|
83
|
+
This integrates shared checkable requests with Vuetify's flushed-only support. Verify unsupported column requests preserve flushed geometry, all label modes and restoration, required markers, value/focus retention and label activation; browser checks must also cover narrow/wide widths, wrapping and RTL. DOM integration checks alone do not establish visual geometry.
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
## Button width
|
|
87
|
+
|
|
88
|
+
uiButtonWidth supports content/full for standalone text-labelled buttons. Full stretches both the containing host and actionable surface to the parent allocation; content retains intrinsic width. Icon-only and parent-input-frame actions keep their geometry. Omission/conflicting answers preserve defaults. Native sizing, focus, disabled/loading and action behavior remain unchanged. The core strategy guide documents scope and barriers.
|
|
89
|
+
|
|
90
|
+
## Docked drawer motion
|
|
91
|
+
|
|
92
|
+
Docked drawers retain their resolved extent while the docking grid track opens or closes. The surface uses the existing backend drawer motion; allocation motion uses the same timing. Exit keeps the surface mounted and visible until motion settles, with interaction disabled. Reduced motion disables both transitions. Resizing uses immediate geometry rather than repeatedly animating the allocation. Popups retain their existing overlay hosting. Verify repeated opening, Close/Escape, focus return, retained content, all edges and responsive panel/docked changes separately from human visual acceptance.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Table columns
|
|
2
|
+
|
|
3
|
+
This adapter implements table.column-sizing.v1 and table.column-alignment.v1. UiTableColumn accepts preferredWidth/minWidth as positive px numbers or px/rem/em lengths, spring/resizable booleans and physical left/center/right align. Defaults are 12em, 3em, true, true and native alignment. At least one spring column is required. Header and cell content use the same alignment; full-width editors retain their own internal alignment.
|
|
4
|
+
|
|
5
|
+
Spring columns absorb container changes; pointer or keyboard resizing redistributes adjacent columns within their minima. Both neighbors must permit resizing. Horizontal overflow requires explicit horizontal/both scrolling. If fixed widths plus spring minima cannot fit without scrolling, a localized status replaces the visible table while keeping editors mounted. Authors must supply responsive allocations suitable for their actual content.
|
|
6
|
+
|
|
7
|
+
Widths survive data/query updates for the mounted view. Arrow keys resize by 10px (Shift: 1px), Home/End reach bounds, Escape cancels a drag and double-click resets authored widths. The core package's docs/guides/table-columns.md provides full consumer semantics.
|
|
8
|
+
|
|
9
|
+
Native integration: VTable colgroups and cell/header styles with shared boundary handling.
|
|
10
|
+
|
|
11
|
+
Verify painted header and cell alignment, pointer and touch resizing, keyboard operation and header associations in the intended browsers and assistive technology.
|
|
12
|
+
|
|
13
|
+
Content width: preferredWidth/minWidth accept content. The adapter measures intrinsic header/cell wrappers plus native insets, so action-button labels and padding determine the allocation. Use content for both with spring=false to prevent resizing below the button's required space. Unmeasured content starts at 3em; hidden content retains its last measurement until measurable. Percentage/full-width editors are not appropriate intrinsic-content requests.
|
|
14
|
+
|
|
15
|
+
UiTable supports a custom footer below the data, anchored horizontally to its scroll host (table.footer.v1). Successful lists/tables are quiet by default; showSummary explicitly opts into a visible ready count. Loading, empty, stale, error, completion and accessibility status remain. Content sizing support is declared through table.column-content.v1.
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
See [collection presentation](collections.md#pagination) for native pagination and fallback behavior.
|
|
19
|
+
|
|
20
|
+
## Selection allocation
|
|
21
|
+
|
|
22
|
+
The generated selection-control column reserves `3em` separately from business-column allocation. It does not consume the remainder shared by spring columns. Verify native checkbox fit, header/cell alignment and horizontal scrolling with the application’s control sizes and zoom.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
Custom table supporting footers are siblings of the record scrollport within the existing collection frame. In full-height tables they keep their natural size while rows receive the remaining space; horizontal row scrolling does not move their actions. Summary cells remain in the native table footer. Verify supporting-footer persistence, sticky summary and retained footer/editor identity through edits, insertion and removal. The creation row is separate from this custom footer.
|
|
26
|
+
|
|
27
|
+
## Creation row
|
|
28
|
+
|
|
29
|
+
UiTable supports `addRow`/`addRowLabel` through table.add-row.v1. A private backend preview tints each column’s content area inside its native cell insets using neutral foreground/surface tokens. The insets remain unshaded, separating adjacent areas. The core’s named text-variant action sits over these static, aria-hidden areas. Selection allocation, column resizing/order and horizontal scrolling share the table's geometry. The preview has no control outlines, blur, native editors, sample items or loading animation. It precedes the column summary and is independent of the generic supporting footer.
|
|
30
|
+
|
|
31
|
+
The creation affordance is the final body row after the records and before the summary. It always scrolls vertically with records and is never pinned to the viewport; long tables require reaching the final row. The declared summary retains its independent bottom position. A shorter allocation releases header pinning when necessary. Native scroll padding keeps focused editors clear of sticky regions. The existing modal/body overflow fallback remains available. Check visible action focus, pointer access, unobscured insertion focus, dark/RTL, empty membership and independent pending restrictions.
|
|
32
|
+
|
|
33
|
+
The creation tr follows records in the existing custom native body slot, before the native tfoot slot. Surface, border and control treatments use Vuetify theme tokens.
|
package/docs/testing.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Test with the Vuetify backend
|
|
2
|
+
|
|
3
|
+
[Documentation index](README.md)
|
|
4
|
+
|
|
5
|
+
Make `@uninterface/testing` and its Playwright peer dependency available to the test project. Configure the selected backend once in a Playwright fixture:
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { test as base } from '@playwright/test'
|
|
9
|
+
import { createUiTest, type UiTest } from '@uninterface/testing/playwright'
|
|
10
|
+
import { uiTestAdapter } from '@uninterface/backend/testing'
|
|
11
|
+
|
|
12
|
+
export const test = base.extend<{ ui: UiTest }>({
|
|
13
|
+
ui: async ({ page }, use) => {
|
|
14
|
+
await use(createUiTest(page, uiTestAdapter))
|
|
15
|
+
},
|
|
16
|
+
})
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Use the same backend alias as application setup; installing only that alias does not also install the backend under its original package name. Business tests import the fixture and interact by accessible names, labels or application test IDs. Select candidates by semantic key and independently assert saved values. The mapping does not override core behavior or application acceptance policy.
|
|
20
|
+
|
|
21
|
+
The adapter locates actual rendered select/checkbox parts. It must not force clicks, modify state or repair focus to make tests pass. The harness supports single selects, binary/tristate checkboxes and radio/checkbox groups; native select operations do not certify the operating system's picker visuals. Other controls can use ordinary Playwright semantic locators. The testing package's own API reference defines the complete harness contract.
|
|
22
|
+
|
|
23
|
+
## Verify application behavior
|
|
24
|
+
|
|
25
|
+
The application Playwright fixture above uses your own app and test runner.
|
|
26
|
+
|
|
27
|
+
## Run the backend's native tests
|
|
28
|
+
|
|
29
|
+
From this checkout with Node.js 24:
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
npm ci
|
|
33
|
+
npm run test:dom
|
|
34
|
+
npx playwright install chromium
|
|
35
|
+
npm run test:browser
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
The native suites build package-local fixtures through the Uninterface Testing
|
|
39
|
+
harness. Set `PLAYWRIGHT_CHROMIUM_EXECUTABLE` to use an installed Chromium
|
|
40
|
+
executable. Browser results are written to `var/playwright/`.
|
|
41
|
+
|
|
42
|
+
Verify shared keyboard, focus, naming, validation feedback, selection retention and layout behavior as well as native presentation. Capability declarations and simulated DOM results do not replace browser or manual accessibility checks. Applications select their own conformance policy; the adapter does not import another project's contrast exceptions.
|
|
43
|
+
|
|
44
|
+
The testing adapter also maps radio/checkbox group options by stable key through choice(group, key, kind). Shared drivers own pointer actions and checked-state verification; adapter mappings preserve native hit targets.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Typography and fonts
|
|
2
|
+
|
|
3
|
+
[Documentation index](README.md) · [Setup](setup.md) · [Customization](customization.md)
|
|
4
|
+
|
|
5
|
+
This backend's recommended set is **Roboto Variable**, with language-aware Noto Sans SC/TC fallbacks. The alternative Uninterface-default set uses Noto Sans Variable across all backends. Font entries supply selection and delivery; the stable backend stylesheet supplies component styling.
|
|
6
|
+
|
|
7
|
+
## Setup: select fonts, then load backend styles
|
|
8
|
+
|
|
9
|
+
| Choice | First import: fonts |
|
|
10
|
+
|---|---|
|
|
11
|
+
| **Backend default · Network** (recommended starting setup) | `@uninterface/backend/font.css` |
|
|
12
|
+
| **Backend default · Bundled** | `@uninterface/backend/font-bundled.css` |
|
|
13
|
+
| **Uninterface default · Network** | `@uninterface/fonts/font.css` |
|
|
14
|
+
| **Uninterface default · Bundled** | `@uninterface/fonts/font-bundled.css` |
|
|
15
|
+
|
|
16
|
+
1. Follow the backend setup guide to resolve core and the selected backend. Make the optional `@uninterface/fonts` package available to the application for either Uninterface-default choice.
|
|
17
|
+
2. Import **one font entry first**, then always import the same backend stylesheet:
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
// Backend default · Network
|
|
21
|
+
import '@uninterface/backend/font.css'
|
|
22
|
+
import '@uninterface/backend/style.css'
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
To select Uninterface default · Bundled, change only the first line:
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
import '@uninterface/fonts/font-bundled.css'
|
|
29
|
+
import '@uninterface/backend/style.css'
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
3. For either Network choice, permit `https://cdn.jsdelivr.net` in applicable CSP `style-src`, `style-src-elem` and `font-src` sources, alongside existing application sources. Font CSS and WOFF2 subsets are fetched from this third-party CDN using pinned Fontsource versions. No HTML font link, loader script or API key is required; the build emits no font binaries.
|
|
33
|
+
4. For either Bundled choice, build normally and deploy all generated CSS and font assets. Permit their asset origin in `font-src`. These entries make no CDN font requests. Fontsource dependencies provide the files; no separate font installation is required after the selected packages are installed.
|
|
34
|
+
5. Check actual font requests and rendered faces on ordinary content, controls and popup surfaces. Test network failure: unavailable fonts fall back to system fonts, without guaranteeing the intended appearance.
|
|
35
|
+
|
|
36
|
+
Use the same order when composing an application stylesheet:
|
|
37
|
+
|
|
38
|
+
```css
|
|
39
|
+
@import '@uninterface/fonts/font.css';
|
|
40
|
+
@import '@uninterface/backend/style.css';
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Keep CSS imports before ordinary rules. Font entries own family selection, language fallbacks and delivery; `style.css` owns component styling and native font-token mapping. It consumes the selected set without replacing it. Network and Bundled use identical families for the selected set. Importing multiple font entries is unsupported.
|
|
44
|
+
|
|
45
|
+
## System or application-owned fonts
|
|
46
|
+
|
|
47
|
+
For system fonts without downloads, omit the font entry:
|
|
48
|
+
|
|
49
|
+
```ts
|
|
50
|
+
import '@uninterface/backend/style.css'
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
The backend uses `system-ui, sans-serif` for ordinary interface text and controls. No selected font set, remote font stylesheet or bundled font binary is introduced by this import. Explicit code/monospace content retains its semantics.
|
|
54
|
+
|
|
55
|
+
For another provider or your own font files, load its CSS before the backend stylesheet and set an application override after the imports:
|
|
56
|
+
|
|
57
|
+
```css
|
|
58
|
+
/* Put your provider's font CSS import here if needed. */
|
|
59
|
+
@import '@uninterface/backend/style.css';
|
|
60
|
+
|
|
61
|
+
:root {
|
|
62
|
+
--uninterface-font-family: 'Your Application Font', system-ui, sans-serif;
|
|
63
|
+
}
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Supply the matching licensed faces, weights and language coverage yourself. The override replaces the complete stack, including Chinese fallbacks, and takes precedence over either selected set. It is inherited across language boundaries. Scope it to an application-owned language boundary (for example, an element with `lang="en"`) if needed, ensuring it also reaches surfaces teleported outside that scope. Setting this property does not remove an already imported font entry's declarations or network requests; omit that entry when supplying your own fonts.
|
|
67
|
+
|
|
68
|
+
## Language, weights and loading
|
|
69
|
+
|
|
70
|
+
All four choices supply Noto Sans SC/TC Variable upright faces. SC is the default Chinese fallback; zh-Hant, zh-TW, zh-HK and zh-MO boundaries select TC. Set correct document and content `lang` attributes. Teleported content must carry its owning language when different from the document. Font delivery does not inspect business values.
|
|
71
|
+
|
|
72
|
+
Latin normal/italic faces and Chinese upright faces cover weights 100–900. The CSS names include the `Variable` suffix. CJK italics may be synthesized. Fonts use `font-display: swap` and Unicode subsetting; browsers request subsets needed by visible characters. Text can change size after loading, so wait for relevant fonts before measuring layout or capturing screenshots.
|
|
73
|
+
|
|
74
|
+
The shared Uninterface set uses Noto Sans Variable, with Latin, Latin extensions, Greek, Cyrillic, Vietnamese and Devanagari subsets, plus SC/TC. The initial language acceptance target is English, Simplified Chinese and Traditional Chinese. Included subsets do not establish complete shaping/layout acceptance. Japanese/Korean regional selection and Arabic/Hebrew/Thai families are not yet supplied; unsupported scripts use platform fallback. This choice does not introduce a font-role strategy or serif set, and preserves code/monospace semantics.
|
|
75
|
+
|
|
76
|
+
Bundled backend sets emit approximately 8.9–9.4 MB of font assets; the shared set emits approximately 9.7 MB, mostly Chinese subsets. These are deployment sizes, not first-page transfer sizes. Network entries emit no font binaries. Fontsource packages remain installed dependencies of their owning backend/font package regardless of delivery; the shared font package is optional for applications choosing backend fonts. Cache deployed assets and retain licenses.
|
|
77
|
+
|
|
78
|
+
## Licenses and versions
|
|
79
|
+
|
|
80
|
+
- [roboto license](font-licenses/roboto.txt): `@fontsource-variable/roboto` 5.3.0, SIL Open Font License 1.1.
|
|
81
|
+
- [noto-sans-sc license](font-licenses/noto-sans-sc.txt): `@fontsource-variable/noto-sans-sc` 5.3.1, SIL Open Font License 1.1.
|
|
82
|
+
- [noto-sans-tc license](font-licenses/noto-sans-tc.txt): `@fontsource-variable/noto-sans-tc` 5.3.1, SIL Open Font License 1.1.
|
|
83
|
+
|
|
84
|
+
The optional `@uninterface/fonts` package owns the shared Noto Sans/SC/TC licenses and pinned dependencies.
|
|
85
|
+
|
|
86
|
+
## Verification and responsibility
|
|
87
|
+
|
|
88
|
+
Checks cover all four choices with font-first JavaScript imports and CSS imports: Network builds keep remote imports before style rules without emitting fonts; Bundled builds contain only the selected set's resolved WOFF2 assets, weights and italic faces. Backend styles alone emit no fonts or CDN requests. Browser acceptance additionally checks actual face loading, language boundaries, ordinary text/controls, popups, overrides, system-only operation and failed-network fallback. Hosted tests may intercept requests with exact pinned package bytes; these do not establish live CDN availability or visual acceptance.
|
|
89
|
+
|
|
90
|
+
Font providers own family selection, delivery declarations and licenses. Backends map selection into native tokens and preserve component weight semantics. Applications choose a font entry, declare languages, configure CSP/caching, deploy local assets and test real content in their supported browsers. Computed weight alone does not establish that a font loaded; font loading alone does not establish accessibility conformance.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
Arabic interface messages are available through `ar`; the supplied font entries do not yet bundle or download a dedicated Arabic family. Arabic glyphs use system fallback. Applications can supply an Arabic-capable font through their typography configuration; verify actual shaping and loaded fonts in the target browser.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const provides = ["field.feedback.v1", "input.text.v1", "input.text.readonly.v1", "input.text.password.v1", "input.text.multiline.v1", "input.checkbox.v1", "input.checkbox.tristate.v1", "input.radio-group.v1", "input.segmented-select.v1", "input.checkbox-group.v1", "input.select.single.v1", "actions.v1", "layout.linear.v1", "layout.division.v1", "layout.reactive.v1", "layout.wrap.v1", "layout.scroll.v1", "button.color.v1", "button.variant.v1", "button.loading.v1", "form.reset.v1", "layout.align.v1", "layout.baseline.v1", "app.root.v1", "navbar.v1", "content.inset.v1", "content.scroll.v1", "hosting.viewport.v1", "layout.region-scroll.v1", "input.select.source.v1", "menu.v1", "navigation.menu.v1", "theme.colors.v1", "icon.catalogue.v1", "icon.size.v1", "i18n.native.v1", "layout.spacing.v1", "theme.color-mode.v1", "control.focus.v1", "collection.editor-focus.v1", "strategy.control-size.v1", "strategy.field-labels.v1", "strategy.required-annotations.v1", "strategy.field-help.v1", "strategy.validation-failure.v1", "button.icon.v1", "strategy.button-variant.v1", "strategy.button-width.v1", "card.v1", "strategy.hierarchy-level.v1", "card.color.v1", "strategy.card-presentation.v1", "focus.presentation.v1", "layout.framing.v1", "layout.resize.v1", "stacking.dynamic.v1", "modal.v1", "modal.width.v1", "input.select.multiple.v1", "notice.v1", "notice.color.v1", "notice.variant.v1", "notice.icon.v1", "badge.v1", "key-value.v1", "tabs.v1", "collapsible.v1", "collapsible.color.v1", "native.content.v1", "input.switch.v1", "input.text.password-reveal.v1", "link.v1", "breadcrumbs.v1", "tooltip.v1", "suggestions.v1", "input.file.v1", "file.preview.v1", "file.collection.v1", "input.temporal.v1", "input.frame.v1", "input.frame.cooperation.v1", "input.frame.sizing.v1", "input.frame.min-width.v1", "input.text.search.v1", "upload.region.v2", "upload.progress.v1", "image.preview.v1", "preview.region.v1", "list.view.v1", "table.view.v1", "table.column-sort.v1", "table.column-filter.v1", "table.column-sizing.v1", "table.column-alignment.v1", "table.column-content.v1", "table.footer.v1", "paginator.view.v1", "paginator.size-select.v1", "paginator.jumper.v1", "collection.view.v1", "collection.footer.v1", "collection.header.v1", "loading.indicator.v1", "empty.v1", "loading.region.v1", "drawer.v1", "popover.v1", "notice.binding.v1", "feedback.floating.v1", "floating.v1", "drawer.docked.v1", "drawer.resize.v1", "strategy.collection-action-variant.v1", "table.summary.v1", "collection.summary.v1", "form.height.v1", "modal.content-scroll.v1", "table.add-row.v1", "progress.bar.v1"];
|
|
2
|
+
const themeColors = {};
|
|
3
|
+
const backend = { "name": "vuetify", "version": "4.2.5" };
|
|
4
|
+
const manifest = {
|
|
5
|
+
provides,
|
|
6
|
+
themeColors,
|
|
7
|
+
backend
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
backend,
|
|
11
|
+
manifest as default,
|
|
12
|
+
provides,
|
|
13
|
+
themeColors
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const name = "@uninterface/backend-vuetify";
|
|
2
|
+
const version = "4.2.0";
|
|
3
|
+
const description = "Vuetify presentation backend for Uninterface.";
|
|
4
|
+
const metadata = {
|
|
5
|
+
name,
|
|
6
|
+
version,
|
|
7
|
+
description
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
metadata as default,
|
|
11
|
+
description,
|
|
12
|
+
name,
|
|
13
|
+
version
|
|
14
|
+
};
|