🌏 Translated with the assistance of DeepSeek and ChatGPT
Changelog
v0.0.4
hotfix
- Fixes:
- Optimized the issue where input controls incorrectly triggered keyboard operation hint borders. Related styles have been improved. A more reasonable mechanism will be used to handle this logic in the future.
v0.0.3
- New features:
- Support switching pixel widths, supporting 2px and 4px.
- Improve form components: Form, FormItem, Switch, Slider, Radio, RadioGroup, Checkbox, CheckboxGroup.
- Add image display component Image and avatar component Avatar.
- Add virtual list component VirtualList.
- Add a utility function
pixelatefor image pixelation. - Added visual component TextOutline for text stroke effect.
- Added importable modern-normalize preset styles
- Adjustment:
- ⚠️ Note ⚠️ The
shapeproperty'default'is renamed to'rect','default'in existing components remains valid. - ⚠️ Note ⚠️ ButtonGroup now has a
themeproperty, and both ButtonGroup and Button treatreadonlyproperty injected from ancestor components (e.g., Form) asdisabled. - ⚠️ Note ⚠️ Default value implementation for
size,variant,theme,shapein some components changed fromwithDefaultstocomputedto support nested component property priority. - ⚠️ Note ⚠️ When importing icons on demand, component library common styles will no longer be automatically imported.
- ⚠️ Note ⚠️ The
- Optimizations:
- Add
labelslot to the Select component. - Add
readonlyproperty to InputGroup. - Add the
softproperty to the Main component to set a soft background. - Optimize the arc drawing algorithm.
- Add indentation to sub-options of option groups.
- Optimize the triggering of
focusandblurevents for the Select component. - Add a prop to dropdown and popup components to control whether content is destroyed when hidden.
- Optimize code & improve test cases.
- Add
- Fixes:
- Fix the rendering of Button components with
variant="text"in ButtonGroup and InputGroup. - Fix the bug where the
focusandblurevents of form controls are not being emitted. - Set
tabindexfor dropdown options.
- Fix the rendering of Button components with
v0.0.2
- New components added: Input, InputNumber, Textarea, InputGroup, Input, GroupLabel, Tag, InputTag, Tooltip, Popover, Empty, AutoComplete, Mask, Spin, Select.
- Integrated the pixelarticons icon library.
- Code optimization.