Pure helpers shared by <sc-array> and <sc-record>.
Mirror the helpers exported from react/headlessRenderers.tsx
(defaultRecordValue, nextRecordKey, renameRecordKey). The
implementations are framework-agnostic and could live in core/,
but the original copies still live under react/ so the Lit
adapter re-implements them locally rather than triggering the
react → lit import path that the layer-boundary lint rule would
(correctly) reject.
Pure helpers shared by
<sc-array>and<sc-record>.Mirror the helpers exported from
react/headlessRenderers.tsx(defaultRecordValue,nextRecordKey,renameRecordKey). The implementations are framework-agnostic and could live incore/, but the original copies still live underreact/so the Lit adapter re-implements them locally rather than triggering thereact → litimport path that the layer-boundary lint rule would (correctly) reject.