@uninterface/backend-element-plus 2.14.0-alpha1 → 2.14.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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  UiList, UiTable and UiPaginator implement `list.view.v1`, `table.view.v1` and `paginator.view.v1`. UiTableColumn is a logical core declaration. The application owns the shared list session and explicitly loads/disposes it. Views never load on mounting or reprocess accepted source rows.
4
4
 
5
- ElTable auto layout keeps header and body in one table. ElTableColumn uses native custom-sort headers synchronized with the shared query; native filterMethod remains unused. Wrapped rows prevent business children from activating tree processing. ElCheckbox, ElButton, ElInputNumber and ElSelect supply native controls. Native column registration runs on mount: server-rendered native table content remains an open acceptance item.
5
+ ElTable auto layout keeps header and body in one table. ElTableColumn uses native custom-sort headers synchronized with the shared query; native filterMethod remains unused. Wrapped rows prevent business children from activating tree processing. ElCheckbox, ElButton, ElInputNumber and ElSelect supply native controls. See [Server rendering and hydration](#server-rendering-and-hydration) for the known table limitation.
6
6
 
7
7
  Core supplies localized status, ordered query updates, shared announcement/automatic continuation coordination and guarded requests. The adapter owns actual semantic/scroll/focus targets. Count and minimum-width grids use adapter-owned spacing; height full consumes a bounded parent. Selection has dedicated controls and nested actions do not activate rows. Cursor navigation never fabricates totals or page numbers.
8
8
 
@@ -94,9 +94,9 @@ Validation tooltip width is bounded by the viewport and long messages can wrap.
94
94
 
95
95
  ## Shared filter editors
96
96
 
97
- UiCollectionFilter is a core logical host for business-defined filter editors, with no additional backend view or local filtering engine. Column popups supply table-column context; row/custom hosts supply their own context. Editors can omit redundant visible labels while retaining accessible names. Status, Amount and Order search in the Collections demo now share owner-held sessions across placements, preserving unfinished drafts on responsive view removal and discarding them on explicit user popup cancellation. Native input/field/button/popover presentation remains backend-owned. Generic header/filter-row/badge/panel arrangement and grouped Apply remain separate work.
97
+ UiCollectionFilter hosts an application-owned filter editor. Column popups supply table-column context, and row, badge and panel hosts supply the corresponding context. An editor can omit a redundant visible label while retaining its accessible name. Reuse the same binding across placements. Verify that responsive view removal retains unfinished drafts and that explicit popup cancellation follows the host’s draft policy. The backend owns input, field, button and popover presentation.
98
98
 
99
- Common choice filters now use the shared createUiChoiceFilterEditor adaptation: short flat column-popup choices use checkboxes/radios; external rows/panels use the existing UiMultiSelect/UiSelect. Native control behavior remains backend-owned. Plain's multiple select remains a bounded native listbox; other supplied adapters have compact multiple pickers. Sorting/query reset grouping in Orders is a business demo composition, not a new native collection-header implementation.
99
+ The shared createUiChoiceFilterEditor adaptation uses checkboxes or radios for short, flat choices in column popups and UiMultiSelect or UiSelect in external rows and panels. The application decides which query criteria a reset clears.
100
100
 
101
101
 
102
102
  ## Collection header
@@ -105,7 +105,7 @@ UiCollectionHeader implements collection.header.v1 with search, actions, filters
105
105
 
106
106
  This grouping is an Uninterface adaptation informed by PatternFly/Carbon and native table examples, not a claim of a toolkit-defined five-slot header. Core provides the configured responsive environment and disclosure behavior. The backend owns native spacing/markup. Query context reaches business-wrapped filters without per-view adaptation code. Container-width adaptation and automatic action overflow remain unimplemented. See the core header guide for sources, ownership and acceptance checks.
107
107
 
108
- Header fields register the backend-owned first editor surface for per-line alignment. Above-label space is measured; floating labels remain native. Clear and other bare actions align to the editor band, with errors growing below. No form/controller ownership changes. Search in the Orders desktop header shows its label; mobile retains its existing presentation. Custom controls without a cooperating UiField retain ordinary start placement.
108
+ Header fields register the backend-owned first editor surface for per-line alignment. Above-label space is measured; floating labels remain native. Clear and other bare actions align to the editor band, with errors growing below. No form/controller ownership changes. The search label follows the chosen header context, and its accessible name is retained. Custom controls without a cooperating UiField retain ordinary start placement.
109
109
 
110
110
  The exported collectionHeaderLongRow and collectionHeaderNarrowExpandable objects now own these layouts in core. uiCollectionHeaderPresentation selects objects directly or via a reactive contextual selector; custom objects need no backend registration. Names are diagnostic. Each adaptation is now an actual Vue render implementation. This adapter supplies a neutral header host and private flow/part components for the built-ins, fulfilling local allocation, editor alignment and theme spacing. It does not interpret a group schema or implement the disclosure; the narrow render implementation owns mutual exclusion, toggle state and reset placement. Custom render implementations may use their own component trees and interactions. Search/filter context follows the chosen adaptation, including explicit overrides of responsive defaults. Check the expanded narrow panel before actions, stable focus/caret across group moves and no empty allocations. Native geometry still requires browser review.
111
111
 
@@ -137,13 +137,13 @@ Resizable column handles remain keyboard-operable separators at the visual inlin
137
137
  Element Plus appends its native caret button after the custom header slot. The adapter therefore uses a Vue-managed Teleport to place the resize separator at the end of the actual header cell after mount. The native filter/caret order is preserved (filter, native sort caret, resize for a filtered sortable column). Target registration updates only when native header elements change; conditional controls and remounting retain native event isolation. The initial render keeps the handle in the slot until its DOM target exists; existing native table SSR limitations still apply. Review this integration when upgrading the native table.
138
138
 
139
139
 
140
- ## Collection review follow-up
140
+ ## Sort priority, header layout and badge editors
141
141
 
142
- Active multi-sort table headers provide a Sort priority menu (Move earlier/later), isolated from native sort-cycle activation. Header sizing enables the shared minimumHeader measurement so label, direction, index, priority menu and other native header controls establish a usable minimum alongside the author's minimum. Header measurements include native cell insets; row/cell content sizing keeps its existing policy. Narrow Table no longer shows the demo's redundant external Sort panel.
142
+ Active multi-sort table headers provide a Sort priority menu (Move earlier/later), isolated from native sort-cycle activation. Header sizing enables the shared minimumHeader measurement so label, direction, index, priority menu and other native header controls establish a usable minimum alongside the author's minimum. Header measurements include native cell insets; row/cell content sizing keeps its existing policy.
143
143
 
144
144
  The long-row header uses measured filter/sort/action group asks to place actions beside filters, beside sorting, or below. Actions stay top-aligned. CollectionHeaderPart supplies a zero-height line boundary for the middle placement, using the backend gap without adding an extra empty row. Native editor alignment excludes actions and popup surfaces. Keyed moves retain controls, draft and focus.
145
145
 
146
- The badge editor uses UiPopover's explicit anchor binding on its active badge; positioning transfers from Add to badge and returns to Add if the badge disappears, preserving the original trigger's cancellation/focus role. Table-column editors now request first-enabled-input/choice focus after native opening. Browser/manual acceptance remains separately recorded in the workspace ledger.
146
+ The badge editor uses UiPopover's explicit anchor binding on its active badge; positioning transfers from Add to badge and returns to Add if the badge disappears, preserving the original trigger's cancellation/focus role. When a table-column editor opens, it requests focus on its first enabled input or choice. In a browser, check focus after opening and closing the editor, badge anchor changes, and header layout at narrow widths. Verify that controls and draft values survive layout changes.
147
147
 
148
148
  ### Criterion badge height
149
149
 
@@ -202,9 +202,9 @@ Card summaries place the collection-wide title above aligned field-name/value pa
202
202
 
203
203
  ## Server rendering and hydration
204
204
 
205
- Native ElTableColumn registration occurs on mount. The server table omits the declared headers, record cells, draft editors and summary values; its table name is also supplied after mounting. Mounting later creates the content. Height configuration supports consistent initial wrapper styles for content and full height, but a working table after mounting does not establish preservation of server-rendered table content or editor nodes.
205
+ **Known issue.** With the Element Plus backend, `UiTable` and `UiCollectionView` in table mode omit column headers, record cells and editors, summary values, and the table’s accessible name from the initial server HTML. The browser creates this content after mounting. The server-rendering gap remains open and needs a future fix.
206
206
 
207
- Until corrected, use browser-mounted collection presentation when this backend is hosted in an SSR application. A client-only boundary should render the same placeholder on the server and during initial hydration, then mount the collection; keep the business control outside that view boundary. This intentionally omits table records from the initial HTML and requires JavaScript. There is no automatic read-only server-table substitute or automatic fallback in this adapter. Basic sorting, selection and nested actions work after the tested mount, but do not resolve these SSR limitations.
207
+ If your SSR application can defer table content until JavaScript runs, use a client-only boundary. Render the same placeholder on the server and during initial hydration, then mount the table view in the browser. Keep the business control outside the view boundary. Your application supplies the placeholder.
208
208
 
209
209
  ## Editable collection focus
210
210
 
@@ -19,7 +19,7 @@ Ordinary beside form-label arrangements and separated checkable label/control ar
19
19
 
20
20
  UiTable uses ElTable auto rendering with one header/body table. ElTableColumn receives resolved numeric widths and align/header-align; fixed CSS table-layout and explicit width implement allocation. Native resizing/filtering are disabled in favor of shared ownership. Wrapper rows prevent business children from enabling a tree. Custom-sort headers/carets project shared multi-sort; only changed clauses are submitted. Priority text participates in column measurement and does not duplicate accessible priority descriptions.
21
21
 
22
- Native positional cell keys can recreate editors during column reorder; sizing/alignment preserve them. Native columns register in onMounted, so native table SSR/hydration is not yet accepted; core declaration SSR does not establish this support. These limitations remain unresolved by this documentation migration.
22
+ Native positional cell keys can recreate editors during column reorder; sizing/alignment preserve them. See the [known table server-rendering limitation](collections.md#server-rendering-and-hydration).
23
23
 
24
24
  The bounded native table viewport owns scrolling and is passed to useUiCollectionView; its allocation host supplies size. ElTable height and auto-layout sticky headers retain header visibility. Business footer content stays outside the native viewport; append recovery uses the native append area. Arbitrary column-filter editors use native popovers/icons because the native filter dropdown accepts option lists, not range forms. Removable criteria use ElTag's native close button with criterion-specific names and disabled state.
25
25
 
@@ -117,9 +117,9 @@ UiDrawer (modal and retained panel modes) and UiPopover consume this backend's n
117
117
 
118
118
  UiPopover retains Element Plus’s default visible arrow using `.el-popper__arrow` directly inside the native popper surface, with resolved `data-popper-placement`. Existing light/dark border/background tokens apply. The adapter positions the arrow toward the anchor after flips and viewport clamping, outside the scrolling body; no application arrow markup or business prop is required.
119
119
 
120
- ## Remaining popup-arrow limits
120
+ ## Calendar, suggestion and submenu arrows
121
121
 
122
- The general UiPopover now retains its native arrow. Scalar/range calendar popups and UiSuggestions still explicitly suppress arrows even though their native Popover/Autocomplete counterparts supply them by default; these are remaining presentation gaps. Ordinary UiTooltip and select/multiselect use native defaults. Command-menu popup presentation follows native ElSubMenu, which intentionally omits its pointer. See the core native-arrow presentation principle; do not repair these gaps with business-side CSS.
122
+ Calendar popups and suggestions use the [native Popover arrow](presentation.md#native-arrows-in-composed-pickers-and-suggestions). Tooltips and single- and multiple-selection popups use native defaults. Command-menu popups follow the arrowless native ElSubMenu presentation.
123
123
 
124
124
 
125
125
  ### Navbar row sizing
@@ -103,7 +103,7 @@ Root popup transition completion initializes focus only when focus is not alread
103
103
 
104
104
  ## Verification and limits
105
105
 
106
- Use the shared semantic acceptance scenarios and the native comparison fixture in [docs/examples/NativeReference.vue](examples/NativeReference.vue). Real-browser checks are required for popup typography, keyboard/focus, narrow-screen navigation, scrolling, overlay bounds, contrast and motion. Builds and DOM simulation do not establish visual conformance or accessibility certification.
106
+ Use the native comparison fixture in [docs/examples/NativeReference.vue](examples/NativeReference.vue) alongside an application scenario that exercises the relevant shared contract. In a browser, verify popup typography, keyboard interaction, focus, narrow navigation, scrolling, overlay bounds, contrast and motion. See [native test setup](testing.md#run-the-backends-native-tests) for the source-checkout runner.
107
107
 
108
108
  ### Known light-mode editor contrast limitation
109
109
 
@@ -36,7 +36,7 @@ Temporal range-mode arrows use the native Back, Right and Switch components from
36
36
 
37
37
  ### Concise upload states
38
38
 
39
- The region shows its chooser/artwork only in the ready state. Working and retained states display file/progress or file/preview with available actions. Recovery uses one short error and a row of actions. ElProgress formats visible percentages as localized whole percentages using its native format hook; the bar and reported progress retain their original precision, and unknown totals show no percentage. Progress labels remain accessible without a duplicate visible caption; preview displays the filename once. Embedded previews use a compact file summary. Ordinary demo uploads succeed; deliberate failure is available in the separate Upload failure simulation and test fixtures.
39
+ The region shows its chooser/artwork only in the ready state. Working and retained states display file/progress or file/preview with available actions. Recovery uses one short error and a row of actions. ElProgress formats visible percentages as localized whole percentages using its native format hook; the bar and reported progress retain their original precision, and unknown totals show no percentage. Progress labels remain accessible without a duplicate visible caption; preview displays the filename once. Embedded previews use a compact file summary.
40
40
 
41
41
  This backend's compact/regular/large allocations are currently 10/12/18rem. There is no shared minimum. The allocation remains stable across states; the host must respect the backend minimum size; content never introduces scrolling. These are adapter defaults, not business-authored dimensions or browser geometry acceptance.
42
42
 
@@ -54,7 +54,7 @@ Upload regions declare minimum inline/block allocations and do not scroll intern
54
54
 
55
55
  Fill uses compact dragger padding so the minimum reserves sufficient room for the native chooser and preview. Delivery failures use the same single error line and recovery-action arrangement as acquisition failures, avoiding an extra filename row.
56
56
 
57
- `tests/upload-region-sizing.spec.ts` supplies shared geometry checks for compact/regular/large/fill, minimum and mobile widths, three control sizes, known/unknown or omitted progress, long errors/names, delivery recovery, file Tile and portrait/landscape previews, and omitted preview. Checks include visible descendants and action hit targets, not just the clipped outer surface. Run these checks in a browser to verify geometry and hit targets.
57
+ In a browser, check compact, regular, large and fill allocations at the minimum and at narrow widths. Repeat at each supported control size with known, unknown and hidden progress, long file names and errors, delivery retry, portrait and landscape previews, and no preview. Verify that visible descendants stay within the allocated region and that actions remain reachable.
58
58
 
59
59
 
60
60
 
@@ -64,7 +64,7 @@ UiUploadProgress presents both active transfer progress/Cancel and transfer fail
64
64
 
65
65
  UiUploadRegion composes the same progress view for transfer recovery, without duplicating the filename, error or Retry. Acquisition rejection and delivery failure remain region-owned. Omitting the progress indicator does not omit essential transfer feedback or selected Retry; cancellation is not an error, but an owner may retain a Retry action. Recovery layout responds to recovery participation, including cancellation without an error message. Keyboard context is preserved across standalone Retry/Cancel changes; region focus coordination includes the chooser. DOM checks cover wiring and lifetime; browser fitting and assistive-technology checks remain separate.
66
66
 
67
- The Files demo's Supporting functions section contains Previews beside the independent Upload progress and Upload failure cards; the two top cards align, and no extra Upload simulation heading is rendered. Both use UiUploadProgress; the failure case has no chooser, region frame or playback controls. Each retry deliberately fails again for presentation review.
67
+ To verify standalone recovery, render UiUploadProgress with a named file and a failing transfer. Check that the message and Cancel and Retry remain visible at narrow widths. Repeat the failure on Retry and verify focus stays in the recovery context. Exercise the same failure inside UiUploadRegion to check that the filename and actions appear once.
68
68
 
69
69
  ### Keyboard switch integration
70
70
 
@@ -29,9 +29,9 @@ Does not declare `collapsible.color.v1`. Core ignores the optional color request
29
29
 
30
30
  ## Verification and limits
31
31
 
32
- Shared DOM integration covers selection codecs/retention/clear/source states, notice urgency, passive badge semantics, definition-list associations, manual tab movement, lazy retained content and collapsible ownership. Those tests do not establish browser geometry, actual inert focus exclusion, visual focus quality, assistive-technology announcements or touch behavior. Preserve native palette policy, including the separately documented contrast limits of toolkit defaults. See the core component references and feedback/panels guides for consumer obligations.
32
+ Verify selection codecs, retained values, clearing and source states, notice urgency, passive badge semantics, definition-list associations, manual tab activation and lazy content retention. In a browser, check geometry, focus containment, visible focus and touch behavior. Check announcements with assistive technology. Use the core component references for shared behavior and the installed theme’s guidance for contrast.
33
33
 
34
- Native composition checks are backend-owned; shared tests verify ownership, denied requests, summary naming, local disabled coordination, lazy retention and disposal. Native-reference fixtures provide side-by-side collapsible comparisons for toolkit backends. These checks distinguish rendered/source evidence from actual browser appearance; browser comparison remains required.
34
+ For collapsible sections, exercise denied requests, accessible summary names, local disabled state, lazy retention and disposal. See [native testing](testing.md#run-the-backends-native-tests) for the source-checkout runner.
35
35
 
36
36
  ## Scrolling content and focus clearance
37
37
 
@@ -43,7 +43,7 @@ The dialog surface padding is redistributed among header/body/footer so the body
43
43
 
44
44
  UiNotice retains specialized ElAlert-class markup because the installed ElAlert wraps default content in a paragraph, which cannot host arbitrary rich blocks. Title-with-body treatment follows the installed with-description class; title-only notices omit that treatment. The close affordance uses the native Close icon and alert styling on a real focusable button. Its logical placement and reserved content space support RTL. A wrapping action row replaces adjacent ElButton margins. Native alert styling remains dependency-sensitive and must be checked on upgrades.
45
45
 
46
- Dismissal is opt-in through dismissible. The close control requests dismissal; business code decides visibility and focus handoff. Recovery actions retain source and tab order with backend-owned spacing and wrapping below the message. No automatic dismissal, timer or Escape handling is installed. Rich custom actions own their internal layout. Shared DOM checks cover denied/repeated/accepted dismissal, live language changes, content retention and announcement semantics; browser checks cover keyboard activation, demo focus return and narrow LTR/RTL geometry. DOM success does not establish visual or assistive-technology acceptance.
46
+ Dismissal is opt-in through dismissible. The close control requests dismissal; business code decides visibility and focus handoff. Recovery actions retain source and tab order with backend-owned spacing and wrapping below the message. No automatic dismissal, timer or Escape handling is installed. Rich custom actions own their internal layout. Exercise denied, repeated and accepted dismissal, then change the language and verify content retention. In a browser, dismiss with the keyboard and check that the application restores focus to the intended target. Verify narrow LTR and RTL layouts and check announcements with assistive technology.
47
47
 
48
48
  ## Notice presentation
49
49
 
package/docs/setup.md CHANGED
@@ -4,19 +4,19 @@ This guide owns the application integration requirements for `@uninterface/backe
4
4
 
5
5
  ## Requirements
6
6
 
7
- Use Vue compatible with core's `^3.5.43` peer dependency, Vue-aware TypeScript checking, and Vite with `@vitejs/plugin-vue`. Keep one runtime copy of Vue and core.
7
+ Use Node.js 24 or 26, Vue `^3.5.18`, and Vite `^7.3.7 || ~8.1.6 || ~8.2.4 || ^8.3.3` with a compatible `@vitejs/plugin-vue`. The backend requires Vite for its build hook. Use Vue-aware TypeScript checking and keep one runtime copy of Vue and core.
8
8
 
9
9
  ## Select the backend
10
10
 
11
11
  The release package ships compiled ES modules and TypeScript declarations.
12
- Install a compatible version of `@uninterface/backend-element-plus` under the alias
13
- `@uninterface/backend`. In the command below, replace `VERSION` with the
14
- backend version you want to install.
12
+ Install `@uninterface/backend-element-plus` under the alias `@uninterface/backend`.
15
13
 
16
14
  ```sh
17
- npm install @uninterface/uninterface@0.0.3 @uninterface/backend@npm:@uninterface/backend-element-plus@VERSION
15
+ npm install @uninterface/uninterface@^0.1.0 @uninterface/backend@npm:@uninterface/backend-element-plus@2.14.0
18
16
  ```
19
17
 
18
+ Choose a Core version that satisfies the selected backend release's peer dependency.
19
+
20
20
  Use TypeScript's `Bundler` module resolution to resolve the package's type
21
21
  exports. See [package build](package-build.md) for a source checkout.
22
22
 
@@ -136,6 +136,8 @@ Integration supplies a fresh native ID/z-index context per application. Native I
136
136
 
137
137
  Render Vue's teleport output into its target hosts before hydration. Native tooltip hosts use `#el-popper-container-<idPrefix>`; emit the matching container, including empty anchors. The verified baseline covers text/multiline fields, checkbox, form submit/reset, icons and locale/mode. Open overlays and general selection SSR remain outside that baseline. Backend checkbox label coordination settles after mount without replacing the editor.
138
138
 
139
+ For `UiTable` and table-mode `UiCollectionView`, see the [known server-rendering limitation](collections.md#server-rendering-and-hydration).
140
+
139
141
  ## Typography: fonts first, backend styles second
140
142
 
141
143
  | Choice | First import: fonts |
@@ -152,6 +154,6 @@ Import one selected font entry before the stable `@uninterface/backend/style.css
152
154
 
153
155
  ### Common icon assets
154
156
 
155
- The common catalogue supplies 58 semantic names with independent override keys. The November 2026 additions use installed `@element-plus/icons-vue` 2.3.2. Assets are local, with static component imports; no runtime icon service is introduced. Setup includes this bounded catalogue, which grows from 26 to 58 names; individual name-based tree shaking is not promised. Existing native internal glyphs remain private to the backend. See `@uninterface/uninterface` documentation at `docs/api/constants/uiIconNames.md` and `docs/guides/localization-and-icons.md`. See local [asset sources and mappings](icon-licenses/SOURCES.md).
157
+ The common catalogue supplies 58 semantic names with independent override keys. The artwork includes icons from `@element-plus/icons-vue` 2.3.2. 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).
156
158
 
157
159
  `globe` and `external-link` are original backend-owned 1024-unit SVGs; they are not Element Plus exports. Sorting uses native `SortUp`/`SortDown` simple arrows, with ordering meaning supplied by the action/state label. `create` reuses Plus without sharing the `add` override key. See [asset provenance](../THIRD-PARTY-NOTICES.md).
@@ -32,6 +32,6 @@ UiTable supports `addRow`/`addRowLabel` through table.add-row.v1. A private back
32
32
 
33
33
  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.
34
34
 
35
- ElTable's native append slot follows its summary. The adapter instead inserts one private tbody target between the native record body and native tfoot, then teleports its own creation tr into that target. This preserves native column geometry and summary semantics without passing a dummy record through ElTable. The row group, target replacement, condition changes and unmount cleanup belong to this adapter; continuation/error append slots retain their native route. The private group is created on the client. Server-rendered creation rows/hydration are not supported in this adapter; ordinary tables retain their existing SSR envelope.
35
+ ElTable's native append slot follows its summary. The adapter instead inserts one private tbody target between the native record body and native tfoot, then teleports its own creation tr into that target. This preserves native column geometry and summary semantics without passing a dummy record through ElTable. The row group, target replacement, condition changes and unmount cleanup belong to this adapter; continuation/error append slots retain their native route. The creation row mounts in the browser. See the [known table server-rendering limitation](collections.md#server-rendering-and-hydration).
36
36
 
37
37
  The creation preview adds no separate top border. Native data-row dividers continue through the final record: when the private creation tbody follows it, a scoped rule restores the last native record’s ordinary `--el-table-border`, which ElTable otherwise suppresses for a summary footer. The summary cells own a visible top border using `--el-border-color`, including blank and merged cells; attaching it to cells preserves the boundary with the sticky summary. The creation row stays in normal flow. Verify the ordinary divider before New line and the distinct boundary above the total in light/dark modes and while scrolling.
package/docs/testing.md CHANGED
@@ -22,7 +22,22 @@ The adapter locates actual rendered select/checkbox parts. It must not force cli
22
22
 
23
23
  ## Verify application behavior
24
24
 
25
- The backend repository includes native conformance tests and their fixtures. The application Playwright fixture above uses your own app and test runner.
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/`.
26
41
 
27
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.
28
43
 
@@ -40,7 +40,7 @@ Use the same order when composing an application stylesheet:
40
40
  @import '@uninterface/backend/style.css';
41
41
  ```
42
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. The demo explicitly uses Backend default · Network.
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
44
 
45
45
  ## System or application-owned fonts
46
46
 
@@ -1,5 +1,5 @@
1
1
  const name = "@uninterface/backend-element-plus";
2
- const version = "2.14.0-alpha1";
2
+ const version = "2.14.0";
3
3
  const description = "Element Plus presentation backend for Uninterface.";
4
4
  const metadata = {
5
5
  name,
@@ -6,7 +6,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  props: {
7
7
  id: {},
8
8
  message: {},
9
- inline: { type: Boolean }
9
+ inline: { type: Boolean },
10
+ deferred: { type: Boolean }
10
11
  },
11
12
  setup(__props) {
12
13
  const field = inject(fieldPresentationKey);
@@ -19,7 +20,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
20
  return (_ctx, _cache) => {
20
21
  return openBlock(), createElementBlock("div", {
21
22
  id: __props.id,
22
- class: normalizeClass(["el-form-item__error element-field-error", { "el-form-item__error--inline": __props.inline }]),
23
+ class: normalizeClass(["el-form-item__error element-field-error", {
24
+ "el-form-item__error--inline": __props.inline,
25
+ "element-visually-hidden": __props.deferred
26
+ }]),
23
27
  role: "alert"
24
28
  }, toDisplayString(__props.message), 11, _hoisted_1);
25
29
  };
@@ -36,6 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  const props = __props;
37
37
  const nativeForm = useFieldFormContext(() => policy.value.showFailure);
38
38
  const policy = useUiFieldStrategies(() => props.binding, {
39
+ ...{ feedbackRoot: element },
39
40
  help: "together",
40
41
  defaultLabels: () => nativeForm?.labelPosition === "left" ? "beside-far" : nativeForm?.labelPosition === "right" ? "beside-near" : "above",
41
42
  defaultBeside: () => nativeForm?.labelPosition === "left" ? "beside-far" : "beside-near",
@@ -45,6 +46,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
45
46
  defaultFailure: () => nativeForm?.showMessage === false ? "none" : "show-below",
46
47
  labels: ["above", "beside"]
47
48
  });
49
+ const deferFeedback = computed(
50
+ () => "inlineFeedbackDeferred" in policy.value && policy.value.inlineFeedbackDeferred === true
51
+ );
48
52
  const inlineMessage = computed(() => Boolean(nativeForm?.inlineMessage));
49
53
  const controlSize = useControlSize("UiField");
50
54
  const checkboxes = ref(0);
@@ -111,8 +115,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
111
115
  key: 0,
112
116
  id: `${__props.binding.id}-issue`,
113
117
  message: error,
114
- inline: inlineMessage.value ?? false
115
- }, null, 8, ["id", "message", "inline"])) : createCommentVNode("v-if", true)
118
+ inline: inlineMessage.value ?? false,
119
+ deferred: deferFeedback.value
120
+ }, null, 8, ["id", "message", "inline", "deferred"])) : createCommentVNode("v-if", true)
116
121
  ]),
117
122
  default: withCtx(() => [
118
123
  createElementVNode("div", _hoisted_4, [
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@uninterface/backend-element-plus",
3
- "version": "2.14.0-alpha1",
3
+ "version": "2.14.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
+ "engines": {
7
+ "node": "^24.0.0 || ^26.0.0"
8
+ },
6
9
  "exports": {
7
10
  ".": {
8
11
  "types": "./types/src/index.d.ts",
@@ -57,9 +60,10 @@
57
60
  "url": "git+https://github.com/uninterface/backend-element-plus.git"
58
61
  },
59
62
  "peerDependencies": {
60
- "@uninterface/testing": "~0.0.2",
61
- "@uninterface/uninterface": "~0.0.3",
62
- "vue": "^3.5.43"
63
+ "@uninterface/testing": "^0.1.0",
64
+ "@uninterface/uninterface": "^0.1.0",
65
+ "vite": "^7.3.7 || ~8.1.6 || ~8.2.4 || ^8.3.3",
66
+ "vue": "^3.5.18"
63
67
  },
64
68
  "peerDependenciesMeta": {
65
69
  "@uninterface/testing": {
package/style.css CHANGED
@@ -420,6 +420,9 @@
420
420
  flex-basis: 100%;
421
421
  margin-left: 0;
422
422
  }
423
+ .element-field-error.element-visually-hidden {
424
+ position: absolute;
425
+ }
423
426
  .element-help {
424
427
  display: block;
425
428
  color: var(--el-text-color-secondary);
@@ -2,6 +2,7 @@ type __VLS_Props = {
2
2
  id: string;
3
3
  message: string;
4
4
  inline: boolean;
5
+ deferred: boolean;
5
6
  };
6
7
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
8
  declare const _default: typeof __VLS_export;
@@ -26,24 +26,25 @@ export declare function useFieldPresentation(checkbox?: boolean): {
26
26
  describedBy?: string;
27
27
  }) => string | undefined;
28
28
  policy: ComputedRef<{
29
- readonly active: boolean;
30
- readonly labelsSpecified: boolean;
31
- readonly requestedLabels: "above" | "floating" | "show" | "beside" | "beside-far" | "beside-near" | "hidden" | undefined;
32
- readonly checkableMode: "flushed" | "control-aligned" | "separated" | undefined;
33
- readonly labelAlignment: "near" | "far" | undefined;
34
- readonly checkableLabelAlignment: "near" | "far" | undefined;
35
- readonly labels: "beside-near" | "beside-far" | "hidden" | "above" | "floating" | "integrated" | "adjacent";
36
- readonly requiredAnnotations: "prefix" | "suffix" | "no";
37
- readonly annotationsSpecified: boolean;
38
- readonly failureSpecified: boolean;
39
- readonly markerPosition: "prefix" | "suffix";
40
- readonly marker: "required" | undefined;
41
- readonly help: "together" | "replace-help";
42
- readonly requestedFailure: "none" | "show" | "show-below" | "show-embedded" | "show-tooltip" | undefined;
43
- readonly failure: "none" | ("show-below" | "show-embedded" | "show-tooltip");
44
- readonly showFailure: boolean;
45
- readonly issue: string | null;
46
- readonly showHelp: boolean;
47
- readonly describedBy: string | undefined;
29
+ inlineFeedbackDeferred: boolean;
30
+ showHelp: boolean;
31
+ active: boolean;
32
+ labelsSpecified: boolean;
33
+ requestedLabels: "above" | "floating" | "show" | "beside" | "beside-far" | "beside-near" | "hidden" | undefined;
34
+ checkableMode: "flushed" | "control-aligned" | "separated" | undefined;
35
+ labelAlignment: "near" | "far" | undefined;
36
+ checkableLabelAlignment: "near" | "far" | undefined;
37
+ labels: "beside-near" | "beside-far" | "hidden" | "above" | "floating" | "integrated" | "adjacent";
38
+ requiredAnnotations: "prefix" | "suffix" | "no";
39
+ annotationsSpecified: boolean;
40
+ failureSpecified: boolean;
41
+ markerPosition: "prefix" | "suffix";
42
+ marker: "required" | undefined;
43
+ help: "together" | "replace-help";
44
+ requestedFailure: "none" | "show" | "show-below" | "show-embedded" | "show-tooltip" | undefined;
45
+ failure: "none" | ("show-below" | "show-embedded" | "show-tooltip");
46
+ showFailure: boolean;
47
+ issue: string | null;
48
+ describedBy: string | undefined;
48
49
  }> | undefined;
49
50
  };