@uninterface/backend-nuxt-ui 0.0.0-stage → 4.12.0-alpha1
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 +61 -2
- package/REKA-ARROW-LICENSE +21 -0
- package/capabilities.json +168 -0
- package/docs/README.md +47 -0
- package/docs/collections.md +201 -0
- package/docs/contract-adaptations.md +103 -0
- package/docs/customization.md +262 -0
- package/docs/examples/NativeReference.vue +132 -0
- package/docs/exports.md +39 -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/public-sans.txt +93 -0
- package/docs/icon-licenses/Lucide.txt +39 -0
- package/docs/icon-licenses/SOURCES.md +47 -0
- package/docs/modals.md +43 -0
- package/docs/native-html.md +25 -0
- package/docs/navigation.md +21 -0
- package/docs/package-build.md +20 -0
- package/docs/presentation.md +241 -0
- package/docs/progress.md +9 -0
- package/docs/reviewed-components.md +93 -0
- package/docs/segmented-selection.md +22 -0
- package/docs/selection-feedback-panels.md +85 -0
- package/docs/setup.md +157 -0
- package/docs/strategies.md +84 -0
- package/docs/table-columns.md +33 -0
- package/docs/testing.md +29 -0
- package/docs/typography.md +93 -0
- package/esm/_virtual/_plugin-vue_export-helper.js +10 -0
- package/esm/capabilities.json.js +11 -0
- package/esm/package.json.js +14 -0
- package/esm/src/AppProviders.vue.js +4 -0
- package/esm/src/AppProviders2.vue.js +49 -0
- package/esm/src/CheckableFeedback.vue.js +4 -0
- package/esm/src/CheckableFeedback2.vue.js +33 -0
- package/esm/src/ChoiceGroup.vue.js +4 -0
- package/esm/src/ChoiceGroup2.vue.js +218 -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 +90 -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/DrawerSurface.vue.js +4 -0
- package/esm/src/DrawerSurface2.vue.js +344 -0
- package/esm/src/EntryBranch.vue.js +4 -0
- package/esm/src/EntryBranch2.vue.js +321 -0
- package/esm/src/EntryCopy.vue.js +4 -0
- package/esm/src/EntryCopy2.vue.js +125 -0
- package/esm/src/EntrySurface.vue.js +4 -0
- package/esm/src/EntrySurface2.vue.js +114 -0
- package/esm/src/FeedbackItem.vue.js +4 -0
- package/esm/src/FeedbackItem2.vue.js +341 -0
- package/esm/src/FeedbackViewport.vue.js +4 -0
- package/esm/src/FeedbackViewport2.vue.js +42 -0
- package/esm/src/FieldContent.vue.js +4 -0
- package/esm/src/FieldContent2.vue.js +30 -0
- package/esm/src/FieldFailureTooltip.vue.js +4 -0
- package/esm/src/FieldFailureTooltip2.vue.js +82 -0
- package/esm/src/FileTypeIcon.vue.js +4 -0
- package/esm/src/FileTypeIcon2.vue.js +195 -0
- package/esm/src/FooterActions.vue.js +16 -0
- package/esm/src/NavigationCopy.vue.js +4 -0
- package/esm/src/NavigationCopy2.vue.js +80 -0
- package/esm/src/NavigationVertical.vue.js +4 -0
- package/esm/src/NavigationVertical2.vue.js +382 -0
- package/esm/src/NavigationViewport.vue.js +4 -0
- package/esm/src/NavigationViewport2.vue.js +50 -0
- package/esm/src/OverlaySurface.vue.js +4 -0
- package/esm/src/OverlaySurface2.vue.js +194 -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 +46 -0
- package/esm/src/TemporalEditor.vue.js +4 -0
- package/esm/src/TemporalEditor2.vue.js +61 -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 +255 -0
- package/esm/src/TemporalMode.vue.js +4 -0
- package/esm/src/TemporalMode2.vue.js +94 -0
- package/esm/src/TemporalNativeEditor.vue.js +4 -0
- package/esm/src/TemporalNativeEditor2.vue.js +177 -0
- package/esm/src/TemporalNativeRange.vue.js +4 -0
- package/esm/src/TemporalNativeRange2.vue.js +335 -0
- package/esm/src/TemporalPicker.vue.js +4 -0
- package/esm/src/TemporalPicker2.vue.js +153 -0
- package/esm/src/TemporalRangeIcon.vue.js +4 -0
- package/esm/src/TemporalRangeIcon2.vue.js +74 -0
- package/esm/src/TemporalSegments.vue.js +4 -0
- package/esm/src/TemporalSegments2.vue.js +22 -0
- package/esm/src/TemporalTextEditor.vue.js +4 -0
- package/esm/src/TemporalTextEditor2.vue.js +107 -0
- package/esm/src/UiApp.vue.js +4 -0
- package/esm/src/UiApp2.vue.js +57 -0
- package/esm/src/UiBadge.vue.js +4 -0
- package/esm/src/UiBadge2.vue.js +27 -0
- package/esm/src/UiBreadcrumbs.vue.js +4 -0
- package/esm/src/UiBreadcrumbs2.vue.js +159 -0
- package/esm/src/UiButton.vue.js +4 -0
- package/esm/src/UiButton2.vue.js +128 -0
- package/esm/src/UiCard.vue.js +4 -0
- package/esm/src/UiCard2.vue.js +111 -0
- package/esm/src/UiCheckbox.vue.js +4 -0
- package/esm/src/UiCheckbox2.vue.js +71 -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 +139 -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 +97 -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 +54 -0
- package/esm/src/UiField.vue.js +4 -0
- package/esm/src/UiField2.vue.js +248 -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 +149 -0
- package/esm/src/UiFilePreview.vue.js +4 -0
- package/esm/src/UiFilePreview2.vue.js +82 -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 +35 -0
- package/esm/src/UiImagePreview.vue.js +4 -0
- package/esm/src/UiImagePreview2.vue.js +72 -0
- package/esm/src/UiInputFrame.vue.js +4 -0
- package/esm/src/UiInputFrame2.vue.js +62 -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 +37 -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 +49 -0
- package/esm/src/UiLoadingRegion.vue.js +4 -0
- package/esm/src/UiLoadingRegion2.vue.js +70 -0
- package/esm/src/UiMenu.vue.js +4 -0
- package/esm/src/UiMenu2.vue.js +107 -0
- package/esm/src/UiModal.vue.js +4 -0
- package/esm/src/UiModal2.vue.js +200 -0
- package/esm/src/UiMultiSelect.vue.js +4 -0
- package/esm/src/UiMultiSelect2.vue.js +221 -0
- package/esm/src/UiNavMenu.vue.js +4 -0
- package/esm/src/UiNavMenu2.vue.js +400 -0
- package/esm/src/UiNavbar.vue.js +4 -0
- package/esm/src/UiNavbar2.vue.js +37 -0
- package/esm/src/UiNotice.vue.js +4 -0
- package/esm/src/UiNotice2.vue.js +109 -0
- package/esm/src/UiPaginator.vue.js +4 -0
- package/esm/src/UiPaginator2.vue.js +254 -0
- package/esm/src/UiPaginatorJumper.vue.js +4 -0
- package/esm/src/UiPaginatorJumper2.vue.js +97 -0
- package/esm/src/UiPaginatorSizeSelect.vue.js +4 -0
- package/esm/src/UiPaginatorSizeSelect2.vue.js +51 -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 +64 -0
- package/esm/src/UiProgressBar.vue.js +4 -0
- package/esm/src/UiProgressBar2.vue.js +46 -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 +10 -0
- package/esm/src/UiSegmentedSelect.vue.js +8 -0
- package/esm/src/UiSegmentedSelect2.vue.js +192 -0
- package/esm/src/UiSelect.vue.js +4 -0
- package/esm/src/UiSelect2.vue.js +188 -0
- package/esm/src/UiSuggestions.vue.js +4 -0
- package/esm/src/UiSuggestions2.vue.js +174 -0
- package/esm/src/UiSwitch.vue.js +4 -0
- package/esm/src/UiSwitch2.vue.js +73 -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 +578 -0
- package/esm/src/UiTabs.vue.js +4 -0
- package/esm/src/UiTabs2.vue.js +63 -0
- package/esm/src/UiTextInput.vue.js +4 -0
- package/esm/src/UiTextInput2.vue.js +130 -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 +70 -0
- package/esm/src/UiUploadProgress.vue.js +4 -0
- package/esm/src/UiUploadProgress2.vue.js +138 -0
- package/esm/src/UiUploadRegion.vue.js +4 -0
- package/esm/src/UiUploadRegion2.vue.js +255 -0
- package/esm/src/controlSize.js +49 -0
- package/esm/src/dateFormat.js +35 -0
- package/esm/src/fieldPresentation.js +39 -0
- package/esm/src/fieldTheme.js +27 -0
- package/esm/src/focus.js +6 -0
- package/esm/src/icons/add.vue.js +32 -0
- package/esm/src/icons/arrow-down.vue.js +32 -0
- package/esm/src/icons/arrow-left.vue.js +32 -0
- package/esm/src/icons/arrow-right.vue.js +32 -0
- package/esm/src/icons/arrow-up.vue.js +32 -0
- package/esm/src/icons/attachment.vue.js +32 -0
- package/esm/src/icons/bookmark.vue.js +32 -0
- package/esm/src/icons/calendar.vue.js +41 -0
- package/esm/src/icons/cancel.vue.js +32 -0
- package/esm/src/icons/clear.vue.js +32 -0
- package/esm/src/icons/close.vue.js +32 -0
- package/esm/src/icons/collapse.vue.js +32 -0
- package/esm/src/icons/confirm.vue.js +32 -0
- package/esm/src/icons/copy.vue.js +41 -0
- package/esm/src/icons/delete.vue.js +32 -0
- package/esm/src/icons/download.vue.js +34 -0
- package/esm/src/icons/edit.vue.js +32 -0
- package/esm/src/icons/email.vue.js +40 -0
- package/esm/src/icons/error.vue.js +38 -0
- package/esm/src/icons/expand.vue.js +32 -0
- package/esm/src/icons/external-link.vue.js +32 -0
- package/esm/src/icons/file.vue.js +34 -0
- package/esm/src/icons/filter.vue.js +32 -0
- package/esm/src/icons/first.vue.js +32 -0
- package/esm/src/icons/globe.vue.js +38 -0
- package/esm/src/icons/help.vue.js +38 -0
- package/esm/src/icons/hide.vue.js +34 -0
- package/esm/src/icons/home.vue.js +34 -0
- package/esm/src/icons/image.vue.js +46 -0
- package/esm/src/icons/index.js +116 -0
- package/esm/src/icons/info.vue.js +38 -0
- package/esm/src/icons/last.vue.js +32 -0
- package/esm/src/icons/link.vue.js +34 -0
- package/esm/src/icons/location.vue.js +38 -0
- package/esm/src/icons/menu.vue.js +32 -0
- package/esm/src/icons/more-vertical.vue.js +47 -0
- package/esm/src/icons/more.vue.js +47 -0
- package/esm/src/icons/next.vue.js +32 -0
- package/esm/src/icons/previous.vue.js +32 -0
- package/esm/src/icons/refresh.vue.js +35 -0
- package/esm/src/icons/remove.vue.js +32 -0
- package/esm/src/icons/reset.vue.js +34 -0
- package/esm/src/icons/retry.vue.js +34 -0
- package/esm/src/icons/save.vue.js +34 -0
- package/esm/src/icons/search.vue.js +38 -0
- package/esm/src/icons/settings.vue.js +38 -0
- package/esm/src/icons/show.vue.js +38 -0
- package/esm/src/icons/sort-ascending.vue.js +32 -0
- package/esm/src/icons/sort-descending.vue.js +32 -0
- package/esm/src/icons/sort.vue.js +32 -0
- package/esm/src/icons/success.vue.js +38 -0
- package/esm/src/icons/time.vue.js +38 -0
- package/esm/src/icons/upload.vue.js +32 -0
- package/esm/src/icons/warning.vue.js +32 -0
- package/esm/src/index.js +16 -0
- package/esm/src/integration.js +43 -0
- package/esm/src/layout.js +13 -0
- package/esm/src/menuTheme.js +15 -0
- package/esm/src/nativeDirection.js +38 -0
- package/esm/src/selectEscape.js +14 -0
- package/esm/src/temporalNative.js +30 -0
- package/esm/src/temporalSegments.js +80 -0
- package/esm/src/zOrder.js +17 -0
- package/esm/testing/browser-control-parts.js +25 -0
- package/esm/testing/dom.js +51 -0
- package/esm/testing/index.js +122 -0
- package/esm/testing/presentation-mapping.js +52 -0
- package/esm/testing/presentation-parts.js +54 -0
- package/font-bundled.css +6 -0
- package/font-family.css +23 -0
- package/font.css +6 -0
- package/hooks/nativeIcons.mjs +73 -0
- package/hooks/vite.d.mts +6 -0
- package/hooks/vite.mjs +115 -0
- package/native-content.css +171 -0
- package/package.json +85 -4
- package/style.css +3039 -0
- package/types/src/AppProviders.vue.d.ts +18 -0
- package/types/src/CheckableFeedback.vue.d.ts +11 -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/DrawerSurface.vue.d.ts +37 -0
- package/types/src/EntryBranch.vue.d.ts +40 -0
- package/types/src/EntryCopy.vue.d.ts +25 -0
- package/types/src/EntrySurface.vue.d.ts +29 -0
- package/types/src/FeedbackItem.vue.d.ts +20 -0
- package/types/src/FeedbackViewport.vue.d.ts +19 -0
- package/types/src/FieldContent.vue.d.ts +16 -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/NavigationCopy.vue.d.ts +29 -0
- package/types/src/NavigationVertical.vue.d.ts +42 -0
- package/types/src/NavigationViewport.vue.d.ts +6 -0
- package/types/src/OverlaySurface.vue.d.ts +37 -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/TemporalNativeEditor.vue.d.ts +14 -0
- package/types/src/TemporalNativeRange.vue.d.ts +16 -0
- package/types/src/TemporalPicker.vue.d.ts +10 -0
- package/types/src/TemporalRangeIcon.vue.d.ts +7 -0
- package/types/src/TemporalSegments.vue.d.ts +6 -0
- package/types/src/TemporalTextEditor.vue.d.ts +15 -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 +19 -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 +34 -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 +66 -0
- package/types/src/UiTabs.vue.d.ts +29 -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/controlSize.d.ts +20 -0
- package/types/src/dateFormat.d.ts +5 -0
- package/types/src/fieldPresentation.d.ts +31 -0
- package/types/src/fieldTheme.d.ts +5 -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 +219 -0
- package/types/src/layout.d.ts +2 -0
- package/types/src/menuTheme.d.ts +1 -0
- package/types/src/nativeDirection.d.ts +2 -0
- package/types/src/selectEscape.d.ts +11 -0
- package/types/src/temporalNative.d.ts +3 -0
- package/types/src/temporalSegments.d.ts +15 -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 +30 -0
- package/types/testing/presentation-parts.d.mts +20 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { browserFieldFeedbackParts } from "@uninterface/testing/playwright";
|
|
2
|
+
import { entryIconColumn, temporalPickerParts, fieldSelectors } from "./presentation-parts.js";
|
|
3
|
+
const presentationParts = {
|
|
4
|
+
fieldFeedback: (editor) => browserFieldFeedbackParts(editor, fieldSelectors.invalid),
|
|
5
|
+
tableBody(table) {
|
|
6
|
+
const scope = table.locator("xpath=ancestor-or-self::*[@data-scroll][1]");
|
|
7
|
+
return {
|
|
8
|
+
body: table.locator("tbody"),
|
|
9
|
+
scrollSurface: table.locator(
|
|
10
|
+
'xpath=ancestor-or-self::*[@data-scroll and @role="region"][1]'
|
|
11
|
+
),
|
|
12
|
+
emptyState: scope.locator(".nuxt-empty"),
|
|
13
|
+
errorState: scope.locator('[data-collection-failure="initial"]')
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
feedbackItem(item) {
|
|
17
|
+
return {
|
|
18
|
+
content: item.locator(
|
|
19
|
+
'.nuxt-notification-content,[data-ui-managed-feedback][tabindex="0"]'
|
|
20
|
+
),
|
|
21
|
+
surface: item.locator("[data-ui-managed-feedback]")
|
|
22
|
+
};
|
|
23
|
+
},
|
|
24
|
+
progressBar(bar) {
|
|
25
|
+
return {
|
|
26
|
+
track: bar.locator('[data-slot="base"]'),
|
|
27
|
+
fill: bar.locator('[data-slot="indicator"]')
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
async uploadRegion(region) {
|
|
31
|
+
const surface = region;
|
|
32
|
+
const chooser = region.locator("[data-upload-choose]");
|
|
33
|
+
return {
|
|
34
|
+
surface,
|
|
35
|
+
chooser,
|
|
36
|
+
chooserFocus: await region.getAttribute("data-upload-recovery") !== null ? { target: chooser, kind: "outline" } : { target: surface, kind: "outline" }
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
temporalPicker: (picker) => temporalPickerParts((selector) => picker.locator(selector)),
|
|
40
|
+
menuEntryIcon(entry) {
|
|
41
|
+
const column = entry.locator(
|
|
42
|
+
`:is(${entryIconColumn}):not(:scope [data-entry-key] *)`
|
|
43
|
+
);
|
|
44
|
+
return {
|
|
45
|
+
column,
|
|
46
|
+
icon: column.locator(":scope > *")
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
presentationParts
|
|
52
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
function cardParts(find) {
|
|
2
|
+
return {
|
|
3
|
+
header: find(":scope > .nuxt-card-header"),
|
|
4
|
+
body: find(":scope > .nuxt-card-body"),
|
|
5
|
+
footer: find(":scope > .nuxt-card-footer"),
|
|
6
|
+
topEnd: find(':scope > [data-slot="body"] > .nuxt-card-top-end')
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
const fieldSelectors = {
|
|
10
|
+
root: ".nuxt-field-group,.nuxt-strategy-field",
|
|
11
|
+
surface: '.nuxt-input-frame,[data-slot="base"]',
|
|
12
|
+
required: ".nuxt-required",
|
|
13
|
+
invalid: '.nuxt-strategy-field [aria-invalid="true"], [aria-invalid="true"]'
|
|
14
|
+
};
|
|
15
|
+
function fieldGroupParts(find) {
|
|
16
|
+
return {
|
|
17
|
+
label: find(
|
|
18
|
+
":scope > legend, :scope > [data-slot=wrapper] [data-slot=label]"
|
|
19
|
+
),
|
|
20
|
+
controlArea: find(
|
|
21
|
+
":scope > .nuxt-strategy-content, :scope > [data-slot=wrapper]"
|
|
22
|
+
)
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function temporalPickerParts(find) {
|
|
26
|
+
return {
|
|
27
|
+
dateInput: find("input[type=date],input[type=datetime-local]"),
|
|
28
|
+
timeInput: find("input[type=time],input[type=datetime-local]"),
|
|
29
|
+
day(isoDate) {
|
|
30
|
+
return find(
|
|
31
|
+
'[data-reka-calendar-cell-trigger][data-value="DATE"]'.replaceAll(
|
|
32
|
+
"DATE",
|
|
33
|
+
isoDate
|
|
34
|
+
)
|
|
35
|
+
);
|
|
36
|
+
},
|
|
37
|
+
timeSegment(unit) {
|
|
38
|
+
return find(
|
|
39
|
+
'[data-reka-time-field-segment="UNIT"],[data-segment="UNIT"][role="spinbutton"]'.replaceAll(
|
|
40
|
+
"UNIT",
|
|
41
|
+
unit
|
|
42
|
+
)
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
const entryIconColumn = ".nuxt-entry-icon,.nuxt-navigation-icon";
|
|
48
|
+
export {
|
|
49
|
+
cardParts,
|
|
50
|
+
entryIconColumn,
|
|
51
|
+
fieldGroupParts,
|
|
52
|
+
fieldSelectors,
|
|
53
|
+
temporalPickerParts
|
|
54
|
+
};
|
package/font-bundled.css
ADDED
package/font-family.css
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* Font selection only; native token mapping belongs to style.css. */
|
|
2
|
+
:root,
|
|
3
|
+
body,
|
|
4
|
+
[lang] {
|
|
5
|
+
--uninterface-font-set-family:
|
|
6
|
+
'Public Sans Variable', 'Noto Sans SC Variable', system-ui, sans-serif;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:root:lang(zh-Hant),
|
|
10
|
+
body:lang(zh-Hant),
|
|
11
|
+
[lang]:lang(zh-Hant),
|
|
12
|
+
:root:lang(zh-TW),
|
|
13
|
+
body:lang(zh-TW),
|
|
14
|
+
[lang]:lang(zh-TW),
|
|
15
|
+
:root:lang(zh-HK),
|
|
16
|
+
body:lang(zh-HK),
|
|
17
|
+
[lang]:lang(zh-HK),
|
|
18
|
+
:root:lang(zh-MO),
|
|
19
|
+
body:lang(zh-MO),
|
|
20
|
+
[lang]:lang(zh-MO) {
|
|
21
|
+
--uninterface-font-set-family:
|
|
22
|
+
'Public Sans Variable', 'Noto Sans TC Variable', system-ui, sans-serif;
|
|
23
|
+
}
|
package/font.css
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
@import url('https://cdn.jsdelivr.net/npm/@fontsource-variable/public-sans@5.3.0/wght.css');
|
|
2
|
+
@import url('https://cdn.jsdelivr.net/npm/@fontsource-variable/public-sans@5.3.0/wght-italic.css');
|
|
3
|
+
@import url('https://cdn.jsdelivr.net/npm/@fontsource-variable/noto-sans-sc@5.3.1/wght.css');
|
|
4
|
+
@import url('https://cdn.jsdelivr.net/npm/@fontsource-variable/noto-sans-tc@5.3.1/wght.css');
|
|
5
|
+
|
|
6
|
+
@import './font-family.css';
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { fileURLToPath } from 'node:url'
|
|
2
|
+
import {
|
|
3
|
+
collectionNames,
|
|
4
|
+
generateClientBundleCode,
|
|
5
|
+
resolveBundleIcons,
|
|
6
|
+
} from '@nuxt/icon/utils'
|
|
7
|
+
|
|
8
|
+
const backendRoot = fileURLToPath(new URL('../', import.meta.url))
|
|
9
|
+
const prefixes = [...collectionNames].sort((a, b) => b.length - a.length)
|
|
10
|
+
|
|
11
|
+
function iconName(value) {
|
|
12
|
+
const name = value.replace(/^i[-:]/, '')
|
|
13
|
+
if (name.includes(':')) return name
|
|
14
|
+
const prefix = prefixes.find((prefix) => name.startsWith(`${prefix}-`))
|
|
15
|
+
if (!prefix) throw new Error(`Cannot resolve native icon name: ${value}`)
|
|
16
|
+
return `${prefix}:${name.slice(prefix.length + 1)}`
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/** Retain Nuxt's registration path, with application and backend asset resolution. */
|
|
20
|
+
export function nativeIconsPlugin(plugins) {
|
|
21
|
+
const configPlugin = plugins.find(
|
|
22
|
+
(plugin) => plugin.name === 'nuxt:ui:app-config',
|
|
23
|
+
)
|
|
24
|
+
const nativePlugin = plugins.find((plugin) => plugin.name === 'nuxt:ui:icons')
|
|
25
|
+
if (!configPlugin || !nativePlugin || typeof configPlugin.load !== 'function')
|
|
26
|
+
throw new Error(
|
|
27
|
+
'Review Nuxt UI native icon integration after the toolkit update.',
|
|
28
|
+
)
|
|
29
|
+
let root
|
|
30
|
+
return {
|
|
31
|
+
name: 'uninterface-nuxt-native-icons',
|
|
32
|
+
enforce: 'pre',
|
|
33
|
+
configResolved(config) {
|
|
34
|
+
root = config.root
|
|
35
|
+
},
|
|
36
|
+
async load(id) {
|
|
37
|
+
if (id !== 'virtual:nuxt-ui-icons') return
|
|
38
|
+
// Nuxt UI 4.12.0 serializes its merged configuration as a JSON export.
|
|
39
|
+
// Read that actual configuration, including overrides, rather than copy
|
|
40
|
+
// the toolkit's default icon list into the adapter.
|
|
41
|
+
const source = await configPlugin.load.call(
|
|
42
|
+
this,
|
|
43
|
+
'virtual:nuxt-ui-app-config',
|
|
44
|
+
)
|
|
45
|
+
let config
|
|
46
|
+
try {
|
|
47
|
+
config = JSON.parse(source.trim().replace(/^export default\s+/, ''))
|
|
48
|
+
if (
|
|
49
|
+
!config?.ui?.icons ||
|
|
50
|
+
typeof config.ui.icons !== 'object' ||
|
|
51
|
+
Array.isArray(config.ui.icons)
|
|
52
|
+
)
|
|
53
|
+
throw new Error('Missing native icon configuration')
|
|
54
|
+
} catch {
|
|
55
|
+
throw new Error(
|
|
56
|
+
'Review Nuxt UI native icon configuration after the toolkit update.',
|
|
57
|
+
)
|
|
58
|
+
}
|
|
59
|
+
const names = Object.values(config.ui.icons)
|
|
60
|
+
.filter((name) => typeof name === 'string' && name)
|
|
61
|
+
.map(iconName)
|
|
62
|
+
const { collections, failed } = await resolveBundleIcons({
|
|
63
|
+
icons: [...names, 'lucide:move-horizontal', 'lucide:menu'],
|
|
64
|
+
resolvePaths: [root, backendRoot],
|
|
65
|
+
})
|
|
66
|
+
if (failed.length)
|
|
67
|
+
throw new Error(
|
|
68
|
+
`Cannot bundle Nuxt UI native icons: ${failed.join(', ')}. Install their @iconify-json collection in the application.`,
|
|
69
|
+
)
|
|
70
|
+
return generateClientBundleCode(collections).code
|
|
71
|
+
},
|
|
72
|
+
}
|
|
73
|
+
}
|
package/hooks/vite.d.mts
ADDED
package/hooks/vite.mjs
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import ui from '@nuxt/ui/vite'
|
|
2
|
+
import { nativeIconsPlugin } from './nativeIcons.mjs'
|
|
3
|
+
|
|
4
|
+
/** Configure native presentation while retaining required adapter integration. */
|
|
5
|
+
export default function createBackendPlugins(options = {}) {
|
|
6
|
+
if (
|
|
7
|
+
!options ||
|
|
8
|
+
typeof options !== 'object' ||
|
|
9
|
+
Array.isArray(options) ||
|
|
10
|
+
Object.keys(options).some((key) => key !== 'ui') ||
|
|
11
|
+
(options.ui !== undefined &&
|
|
12
|
+
(!options.ui ||
|
|
13
|
+
typeof options.ui !== 'object' ||
|
|
14
|
+
Array.isArray(options.ui)))
|
|
15
|
+
) {
|
|
16
|
+
throw new Error(
|
|
17
|
+
'Nuxt UI backend options must be an object with optional ui configuration.',
|
|
18
|
+
)
|
|
19
|
+
}
|
|
20
|
+
const nativePlugins = ui({
|
|
21
|
+
ui: options.ui,
|
|
22
|
+
components: false,
|
|
23
|
+
autoImport: false,
|
|
24
|
+
dts: false,
|
|
25
|
+
scanPackages: ['@uninterface/backend'],
|
|
26
|
+
router: false,
|
|
27
|
+
colorMode: false,
|
|
28
|
+
})
|
|
29
|
+
return [
|
|
30
|
+
{
|
|
31
|
+
name: 'uninterface-nuxt-locale-isolation',
|
|
32
|
+
enforce: 'pre',
|
|
33
|
+
config() {
|
|
34
|
+
// The compiled views reference virtual Nuxt modules resolved by Vite
|
|
35
|
+
// plugins. Keep Core and the adapter in that same module graph.
|
|
36
|
+
return {
|
|
37
|
+
optimizeDeps: {
|
|
38
|
+
exclude: [
|
|
39
|
+
'@nuxt/ui',
|
|
40
|
+
'reka-ui',
|
|
41
|
+
'@uninterface/backend',
|
|
42
|
+
'@uninterface/uninterface',
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
transform(code, id) {
|
|
48
|
+
if (
|
|
49
|
+
id
|
|
50
|
+
.replaceAll('\\', '/')
|
|
51
|
+
.endsWith('/reka-ui/dist/Toast/ToastRootImpl.js')
|
|
52
|
+
) {
|
|
53
|
+
// Managed feedback owns scoped Escape; native Reka otherwise listens
|
|
54
|
+
// on the whole document, including unrelated modal/editor key events.
|
|
55
|
+
const original = 'onKeyStroke("Escape", (event) => {'
|
|
56
|
+
if (!code.includes(original))
|
|
57
|
+
throw new Error(
|
|
58
|
+
'Review Reka managed feedback keyboard integration after upgrade.',
|
|
59
|
+
)
|
|
60
|
+
return {
|
|
61
|
+
code: code.replace(
|
|
62
|
+
original,
|
|
63
|
+
original +
|
|
64
|
+
'\n if (currentElement.value?.hasAttribute("data-ui-managed-feedback")) return;',
|
|
65
|
+
),
|
|
66
|
+
map: null,
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
if (
|
|
70
|
+
id
|
|
71
|
+
.replaceAll('\\', '/')
|
|
72
|
+
.endsWith('/@nuxt/ui/dist/runtime/components/FormField.vue')
|
|
73
|
+
) {
|
|
74
|
+
const declaration =
|
|
75
|
+
'const id = ref(useId());\nconst ariaId = id.value;'
|
|
76
|
+
if (!code.includes(declaration))
|
|
77
|
+
throw new Error(
|
|
78
|
+
'Review Nuxt UI field identity integration after the toolkit update.',
|
|
79
|
+
)
|
|
80
|
+
return {
|
|
81
|
+
code: code.replace(
|
|
82
|
+
declaration,
|
|
83
|
+
'const generatedId = useId();\nconst id = ref(inject(inputIdInjectionKey, undefined)?.value ?? generatedId);\nconst ariaId = generatedId;',
|
|
84
|
+
),
|
|
85
|
+
map: null,
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
if (
|
|
89
|
+
!id
|
|
90
|
+
.replaceAll('\\', '/')
|
|
91
|
+
.endsWith('/@nuxt/ui/dist/runtime/composables/useLocale.js')
|
|
92
|
+
)
|
|
93
|
+
return
|
|
94
|
+
// Nuxt UI 4.12.0 shares the first client injection through VueUse.
|
|
95
|
+
// Keep its native translator and context, but resolve it per caller so
|
|
96
|
+
// independent Vue apps/SSR hydration cannot borrow another app's locale.
|
|
97
|
+
const declaration =
|
|
98
|
+
'export const useLocale = import.meta.client ? createSharedComposable(_useLocale) : _useLocale;'
|
|
99
|
+
if (!code.includes(declaration))
|
|
100
|
+
throw new Error(
|
|
101
|
+
'Review Nuxt UI locale isolation integration after the toolkit update.',
|
|
102
|
+
)
|
|
103
|
+
return {
|
|
104
|
+
code: code.replace(
|
|
105
|
+
declaration,
|
|
106
|
+
'export const useLocale = _useLocale;',
|
|
107
|
+
),
|
|
108
|
+
map: null,
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
nativeIconsPlugin(nativePlugins),
|
|
113
|
+
nativePlugins,
|
|
114
|
+
]
|
|
115
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
/* Native HTML content baseline. Imported by style.css; no wrapper/class opt-in.
|
|
2
|
+
Higher-specificity component styles and toolkit component/utility layers retain ownership. */
|
|
3
|
+
@layer base {
|
|
4
|
+
h1,
|
|
5
|
+
h2,
|
|
6
|
+
h3,
|
|
7
|
+
h4,
|
|
8
|
+
h5,
|
|
9
|
+
h6 {
|
|
10
|
+
color: var(--ui-text-highlighted);
|
|
11
|
+
font-weight: var(--font-weight-semibold);
|
|
12
|
+
line-height: 1.25;
|
|
13
|
+
margin-block: 0 0.5em;
|
|
14
|
+
}
|
|
15
|
+
h1 {
|
|
16
|
+
font-size: var(--text-3xl);
|
|
17
|
+
}
|
|
18
|
+
h2 {
|
|
19
|
+
font-size: var(--text-2xl);
|
|
20
|
+
}
|
|
21
|
+
h3 {
|
|
22
|
+
font-size: var(--text-xl);
|
|
23
|
+
}
|
|
24
|
+
h4 {
|
|
25
|
+
font-size: var(--text-lg);
|
|
26
|
+
}
|
|
27
|
+
h5 {
|
|
28
|
+
font-size: var(--text-base);
|
|
29
|
+
}
|
|
30
|
+
h6 {
|
|
31
|
+
font-size: var(--text-sm);
|
|
32
|
+
}
|
|
33
|
+
p,
|
|
34
|
+
ul,
|
|
35
|
+
ol,
|
|
36
|
+
pre {
|
|
37
|
+
margin-block: 0 1em;
|
|
38
|
+
}
|
|
39
|
+
ul {
|
|
40
|
+
list-style-type: disc;
|
|
41
|
+
}
|
|
42
|
+
ol {
|
|
43
|
+
list-style-type: decimal;
|
|
44
|
+
}
|
|
45
|
+
/* Let the HTML type hint supply numbering below this base layer, instead
|
|
46
|
+
of overriding it with either Preflight's none or our ordinary decimal. */
|
|
47
|
+
ol[type] {
|
|
48
|
+
list-style-type: revert-layer;
|
|
49
|
+
}
|
|
50
|
+
ul,
|
|
51
|
+
ol {
|
|
52
|
+
padding-inline-start: 1.5em;
|
|
53
|
+
}
|
|
54
|
+
li > ul,
|
|
55
|
+
li > ol {
|
|
56
|
+
margin-block: 0;
|
|
57
|
+
}
|
|
58
|
+
ul ul {
|
|
59
|
+
list-style-type: circle;
|
|
60
|
+
}
|
|
61
|
+
ul ul ul {
|
|
62
|
+
list-style-type: square;
|
|
63
|
+
}
|
|
64
|
+
a[href] {
|
|
65
|
+
color: var(--ui-primary);
|
|
66
|
+
text-decoration: underline;
|
|
67
|
+
text-underline-offset: 0.15em;
|
|
68
|
+
}
|
|
69
|
+
a[href]:focus-visible {
|
|
70
|
+
outline: 2px solid var(--ui-primary);
|
|
71
|
+
outline-offset: var(--nuxt-contained-focus-offset, 2px);
|
|
72
|
+
}
|
|
73
|
+
:where(kbd) {
|
|
74
|
+
padding: 0.125em 0.25em;
|
|
75
|
+
border: 1px solid var(--ui-border);
|
|
76
|
+
border-radius: 0.25em;
|
|
77
|
+
}
|
|
78
|
+
:where(mark) {
|
|
79
|
+
color: var(--ui-text);
|
|
80
|
+
background: var(--ui-bg-accented);
|
|
81
|
+
padding-inline: 0.125em;
|
|
82
|
+
}
|
|
83
|
+
ins {
|
|
84
|
+
text-decoration: underline;
|
|
85
|
+
}
|
|
86
|
+
del {
|
|
87
|
+
text-decoration: line-through;
|
|
88
|
+
}
|
|
89
|
+
hr {
|
|
90
|
+
margin-block: 1em;
|
|
91
|
+
border-color: var(--ui-border);
|
|
92
|
+
}
|
|
93
|
+
/* Preserve whitespace while wrapping long source lines; no hidden or
|
|
94
|
+
keyboard-inaccessible horizontal scrollport is introduced by a bare pre. */
|
|
95
|
+
:where(pre) {
|
|
96
|
+
white-space: pre-wrap;
|
|
97
|
+
overflow-wrap: anywhere;
|
|
98
|
+
max-inline-size: 100%;
|
|
99
|
+
}
|
|
100
|
+
:where(code, kbd, samp) {
|
|
101
|
+
overflow-wrap: anywhere;
|
|
102
|
+
}
|
|
103
|
+
:where(p, li, h1, h2, h3, h4, h5, h6, a[href]) {
|
|
104
|
+
overflow-wrap: anywhere;
|
|
105
|
+
}
|
|
106
|
+
@media (forced-colors: active) {
|
|
107
|
+
:where(mark) {
|
|
108
|
+
background: Mark;
|
|
109
|
+
color: MarkText;
|
|
110
|
+
}
|
|
111
|
+
a[href]:focus-visible {
|
|
112
|
+
outline-color: Highlight;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Native component parts previously depended on Preflight's zero margins,
|
|
118
|
+
undecorated links and inherited heading size. Restore only those parts in
|
|
119
|
+
the base layer so configured toolkit utilities still take precedence. */
|
|
120
|
+
@layer base {
|
|
121
|
+
.nuxt-navigation-list {
|
|
122
|
+
list-style: none;
|
|
123
|
+
margin: 0;
|
|
124
|
+
padding: 0;
|
|
125
|
+
}
|
|
126
|
+
a.nuxt-navigation-link,
|
|
127
|
+
a.nuxt-entry-link {
|
|
128
|
+
text-decoration: none;
|
|
129
|
+
}
|
|
130
|
+
/* Breadcrumb's native theme relies on Preflight for undecorated anchors
|
|
131
|
+
and reset list spacing; prose defaults must not fill those gaps. Keep
|
|
132
|
+
this in base so application breadcrumb utilities can still override it. */
|
|
133
|
+
[data-uninterface-breadcrumbs] > [data-slot='list'] {
|
|
134
|
+
list-style: none;
|
|
135
|
+
margin: 0;
|
|
136
|
+
padding: 0;
|
|
137
|
+
}
|
|
138
|
+
[data-uninterface-breadcrumbs] a[data-slot='link'] {
|
|
139
|
+
text-decoration: none;
|
|
140
|
+
}
|
|
141
|
+
.nuxt-strategy-help,
|
|
142
|
+
.nuxt-strategy-feedback > p {
|
|
143
|
+
margin-block: 0;
|
|
144
|
+
}
|
|
145
|
+
/* Native checkable descriptions are component text, not prose. */
|
|
146
|
+
.nuxt-field-editor [data-slot='description'],
|
|
147
|
+
[data-uninterface-choice-group] [data-slot='description'] {
|
|
148
|
+
margin-block: 0;
|
|
149
|
+
}
|
|
150
|
+
/* RadioGroup table labels/descriptions are component text, not prose.
|
|
151
|
+
Retain native slot spacing and allow configured utilities to override. */
|
|
152
|
+
[data-uninterface-segmented-select] p[data-slot='label'],
|
|
153
|
+
[data-uninterface-segmented-select] p[data-slot='description'] {
|
|
154
|
+
margin-block: 0;
|
|
155
|
+
}
|
|
156
|
+
.nuxt-modal [data-slot='title'] {
|
|
157
|
+
font-size: inherit;
|
|
158
|
+
line-height: inherit;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
@layer base {
|
|
163
|
+
/* A sole native prose block allocated as one peer uses the layout's gap.
|
|
164
|
+
Nested prose and explicit content insets keep their own spacing. */
|
|
165
|
+
.nuxt-layout-item:where(:not([data-layout-region]))
|
|
166
|
+
> :where(h1, h2, h3, h4, h5, h6, p, ul, ol, pre, hr):where(
|
|
167
|
+
:only-child
|
|
168
|
+
):where(:not([class])) {
|
|
169
|
+
margin-block: 0;
|
|
170
|
+
}
|
|
171
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,87 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uninterface/backend-nuxt-ui",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "4.12.0-alpha1",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "Nuxt UI presentation backend for Uninterface.",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./types/src/index.d.ts",
|
|
10
|
+
"import": "./esm/src/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./style.css": "./style.css",
|
|
13
|
+
"./capabilities.json": "./capabilities.json",
|
|
14
|
+
"./vite": {
|
|
15
|
+
"types": "./hooks/vite.d.mts",
|
|
16
|
+
"import": "./hooks/vite.mjs"
|
|
17
|
+
},
|
|
18
|
+
"./*.vue": {
|
|
19
|
+
"types": "./types/src/*.vue.d.ts",
|
|
20
|
+
"import": "./esm/src/*.vue.js"
|
|
21
|
+
},
|
|
22
|
+
"./integration": {
|
|
23
|
+
"types": "./types/src/integration.d.ts",
|
|
24
|
+
"import": "./esm/src/integration.js"
|
|
25
|
+
},
|
|
26
|
+
"./layout": {
|
|
27
|
+
"types": "./types/src/layout.d.ts",
|
|
28
|
+
"import": "./esm/src/layout.js"
|
|
29
|
+
},
|
|
30
|
+
"./testing": {
|
|
31
|
+
"types": "./types/testing/index.d.ts",
|
|
32
|
+
"import": "./esm/testing/index.js"
|
|
33
|
+
},
|
|
34
|
+
"./testing/dom": {
|
|
35
|
+
"types": "./types/testing/dom.d.mts",
|
|
36
|
+
"import": "./esm/testing/dom.js"
|
|
37
|
+
},
|
|
38
|
+
"./focus": {
|
|
39
|
+
"types": "./types/src/focus.d.ts",
|
|
40
|
+
"import": "./esm/src/focus.js"
|
|
41
|
+
},
|
|
42
|
+
"./font.css": "./font.css",
|
|
43
|
+
"./font-bundled.css": "./font-bundled.css"
|
|
44
|
+
},
|
|
45
|
+
"sideEffects": [
|
|
46
|
+
"**/*.css"
|
|
47
|
+
],
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@floating-ui/vue": "1.1.11",
|
|
50
|
+
"@fontsource-variable/noto-sans-sc": "5.3.1",
|
|
51
|
+
"@fontsource-variable/noto-sans-tc": "5.3.1",
|
|
52
|
+
"@fontsource-variable/public-sans": "5.3.0",
|
|
53
|
+
"@iconify-json/lucide": "^1.2.0",
|
|
54
|
+
"@internationalized/date": "3.12.4",
|
|
55
|
+
"@nuxt/icon": "2.5.1",
|
|
56
|
+
"@nuxt/ui": "4.12.0",
|
|
57
|
+
"reka-ui": "2.11.0",
|
|
58
|
+
"tailwindcss": "^4.1.0",
|
|
59
|
+
"vaul-vue": "0.4.1"
|
|
60
|
+
},
|
|
61
|
+
"repository": {
|
|
62
|
+
"type": "git",
|
|
63
|
+
"url": "git+https://github.com/uninterface/backend-nuxt-ui.git"
|
|
64
|
+
},
|
|
65
|
+
"peerDependencies": {
|
|
66
|
+
"@uninterface/testing": "~0.0.2",
|
|
67
|
+
"@uninterface/uninterface": "~0.0.3",
|
|
68
|
+
"vue": "^3.5.43"
|
|
69
|
+
},
|
|
70
|
+
"peerDependenciesMeta": {
|
|
71
|
+
"@uninterface/testing": {
|
|
72
|
+
"optional": true
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"files": [
|
|
76
|
+
"esm/",
|
|
77
|
+
"types/",
|
|
78
|
+
"*.css",
|
|
79
|
+
"capabilities.json",
|
|
80
|
+
"docs/",
|
|
81
|
+
"hooks/",
|
|
82
|
+
"REKA-ARROW-LICENSE"
|
|
83
|
+
],
|
|
84
|
+
"publishConfig": {
|
|
85
|
+
"access": "public"
|
|
86
|
+
}
|
|
87
|
+
}
|