vxui-react 1.2.6 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md CHANGED
@@ -92,11 +92,15 @@ export function ProjectForm() {
92
92
  <form style={{ display: 'grid', gap: 16 }}>
93
93
  <Input label="Project name" placeholder="Northwind migration" />
94
94
 
95
- <Select label="Release track" defaultValue="stable">
96
- <option value="stable">Stable</option>
97
- <option value="preview">Preview</option>
98
- <option value="internal">Internal</option>
99
- </Select>
95
+ <Select
96
+ label="Release track"
97
+ defaultValue="stable"
98
+ options={[
99
+ { value: 'stable', label: 'Stable' },
100
+ { value: 'preview', label: 'Preview' },
101
+ { value: 'internal', label: 'Internal' },
102
+ ]}
103
+ />
100
104
 
101
105
  <Textarea
102
106
  label="Summary"
@@ -177,7 +181,7 @@ Use `useTheme()` at runtime to read the current theme or call `setTheme('ocean')
177
181
  ## What's Included
178
182
 
179
183
  - **Layout**: AppShell, Card, Separator, Breadcrumb, Pagination, Resizable, ScrollArea
180
- - **Forms**: Input, Select, Checkbox, Radio, Textarea, Slider, Switch, NumberInput, TagInput, ColorPicker, DatePicker, FileUpload, Form, Rating, Combobox
184
+ - **Forms**: Input, Select, Checkbox, Radio, Textarea, Slider, Switch, NumberInput, TagInput, ColorPicker, DatePicker, FileUpload, Form, Rating
181
185
  - **Feedback**: Alert, AlertDialog, Toast, Progress, Skeleton, Spinner, Stepper, Timeline, EmptyState
182
186
  - **Overlay**: Dialog, Sheet, Popover, DropdownMenu, ContextMenu, Tooltip, HoverCard, CommandPalette, Menubar, NavigationMenu
183
187
  - **Data Display**: Avatar, Table, Badge, Tabs, Accordion, TreeView, Carousel, Calendar
package/README.md CHANGED
@@ -94,11 +94,15 @@ export function ProjectForm() {
94
94
  <form style={{ display: 'grid', gap: 16 }}>
95
95
  <Input label="Project name" placeholder="Northwind migration" />
96
96
 
97
- <Select label="Release track" defaultValue="stable">
98
- <option value="stable">Stable</option>
99
- <option value="preview">Preview</option>
100
- <option value="internal">Internal</option>
101
- </Select>
97
+ <Select
98
+ label="Release track"
99
+ defaultValue="stable"
100
+ options={[
101
+ { value: 'stable', label: 'Stable' },
102
+ { value: 'preview', label: 'Preview' },
103
+ { value: 'internal', label: 'Internal' },
104
+ ]}
105
+ />
102
106
 
103
107
  <Textarea
104
108
  label="Summary"
@@ -179,7 +183,7 @@ export function Root({ children }: { children: React.ReactNode }) {
179
183
  ## 当前包含
180
184
 
181
185
  - **Layout**: AppShell、Card、Separator、Breadcrumb、Pagination、Resizable、ScrollArea
182
- - **Forms**: Input、Select、Checkbox、Radio、Textarea、Slider、Switch、NumberInput、TagInput、ColorPicker、DatePicker、FileUpload、Form、Rating、Combobox
186
+ - **Forms**: Input、Select、Checkbox、Radio、Textarea、Slider、Switch、NumberInput、TagInput、ColorPicker、DatePicker、FileUpload、Form、Rating
183
187
  - **Feedback**: Alert、AlertDialog、Toast、Progress、Skeleton、Spinner、Stepper、Timeline、EmptyState
184
188
  - **Overlay**: Dialog、Sheet、Popover、DropdownMenu、ContextMenu、Tooltip、HoverCard、CommandPalette、Menubar、NavigationMenu
185
189
  - **Data Display**: Avatar、Table、Badge、Tabs、Accordion、TreeView、Carousel、Calendar