Files
Liu 029d5c4e22 feat(widgets): add button group widget
- add button-group, button-group-text and button-group-separator
  prototypes with orientation and separator APIs
- mark direct children as geometry items, keep select, popover and
  dropdown wrappers out of the border geometry and clean up on unlink
- theme the group for the nova style, covering nested groups, select,
  input group and first/last edge rules
- add integration tests for factories, marking, geometry, input flex
  and trigger wrappers
- add zh-CN documentation, field tables, sidebar entry and C/XML/TSX
  examples for every section
2026-11-08 00:20:39 +08:00

28 lines
903 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<lcui-app>
<ui>
<button-group class="button-group-select-demo">
<button-group class="button-group-grow clip-safe">
<select value="$">
<select-trigger>
<select-value />
</select-trigger>
<portal>
<select-content>
<select-group>
<select-item value="$">$ US Dollar</select-item>
<select-item value="EUR">EUR Euro</select-item>
<select-item value="GBP">GBP British Pound</select-item>
</select-group>
</select-content>
</portal>
</select>
<textinput placeholder="10.00" />
</button-group>
<button-group class="clip-safe">
<button variant="outline" size="icon"><icon name="arrow-right" /></button>
</button-group>
</button-group>
</ui>
</lcui-app>