mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
- 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
29 lines
1.0 KiB
XML
29 lines
1.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<lcui-app>
|
|
<ui>
|
|
<button-group class="button-group-popover-demo">
|
|
<button variant="outline">
|
|
<icon name="bot" />
|
|
<text>Copilot</text>
|
|
</button>
|
|
<popover>
|
|
<popover-trigger>
|
|
<button variant="outline" size="icon"><icon name="chevron-down" /></button>
|
|
</popover-trigger>
|
|
<popover-content align="end">
|
|
<popover-header>
|
|
<popover-title>Start a new task with Copilot</popover-title>
|
|
<popover-description>Describe your task in natural language.</popover-description>
|
|
</popover-header>
|
|
<field>
|
|
<field-label class="sr-only" for="task">Task Description</field-label>
|
|
<textinput id="task" class="popover-task-input"
|
|
placeholder="I need to..." />
|
|
<field-description>Copilot will open a pull request for review.</field-description>
|
|
</field>
|
|
</popover-content>
|
|
</popover>
|
|
</button-group>
|
|
</ui>
|
|
</lcui-app>
|