- Add pointer scrubbing, keyboard stepping, mixed and bound state contracts - Parse safe numeric expressions and preserve deprecated ScrubInput aliases - Cover the primitive with Storybook, SDK docs, unit tests, and E2E tests
890 B
890 B
| title | description |
|---|---|
| ScrubInputRoot | Deprecated compatibility alias for NumberFieldRoot. |
ScrubInputRoot
::: warning Deprecated
Use NumberFieldRoot. ScrubInputRoot is a compatibility alias backed by the
same implementation and will be removed in a future cleanup release.
:::
Existing modelValue, min, max, step, sensitivity, placeholder, update:modelValue,
commit, and editing-change contracts remain available. The root slot now also exposes the
NumberField state, canonical attrs bag, expression input, keyboard stepping, and binding-aware
state.
Migration
-import { ScrubInputRoot, ScrubInputField, ScrubInputDisplay } from '@open-pencil/vue'
+import { NumberFieldRoot, NumberFieldInput, NumberFieldValue } from '@open-pencil/vue'
See NumberField for the complete anatomy and interaction contract.