Skip to content

[ENG-46312] feat(webkit): add Divider (layout)#678

Draft
HerbertJulio wants to merge 4 commits into
devfrom
feat/ENG-46312-divider
Draft

[ENG-46312] feat(webkit): add Divider (layout)#678
HerbertJulio wants to merge 4 commits into
devfrom
feat/ENG-46312-divider

Conversation

@HerbertJulio

Copy link
Copy Markdown
Contributor

Summary

New Divider (layout) — a thin separator line in horizontal / vertical orientation with an optional centered label/slot. Tokens only (var(--border-default) line, .text-label-sm + var(--text-muted) label).

API

  • Props: orientation?: 'horizontal' | 'vertical' (default horizontal), label?: string (default '').
  • Slot: default (centered content; overrides label). role="separator" + aria-orientation.

Notes

  • Draft — pending review. Spec .specs/divider.md (status approved). Flat export ./divider. No motion, no external deps.

…nnable

- drop per-component package.json (matches #684; exports point at the .vue)
- access default slot via slots['default'] to fix TS4111 under current tooling
- escape the Props-table union pipe and recompute the spec checksum
- migrate the story to the runnable Show code pattern (PascalCase tag, single
  <script setup> + <template>, prose lead, source.transform + sourceState)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant