New

docx-editor 1.x has shipped. Vue support, i18n, agents. Read the migration guide →

API Referencev1.0.2

@eigenpal/docx-editor-core/utils/cardStyles

Sidebar card chrome — shared between React and Vue. Numeric pixel values rather than `'8px'` strings so both adapters' CSSProperties shapes accept them. Lifted from `packages/react/src/components/sidebar/cardStyles.ts` and the Vue mirror so there's one canonical table.

Variables(2)

Sidebar card chrome — shared between React and Vue. Numeric pixel values rather than `'8px'` strings so both adapters' CSSProperties shapes accept them. Lifted from `packages/react/src/components/sidebar/cardStyles.ts` and the Vue mirror so there's one canonical table.

CARD_STYLE_COLLAPSED: CSSProperties
CARD_STYLE_EXPANDED: CSSProperties