Closed shenjunjian closed 3 weeks ago
The pull request introduces various modifications across several Vue component files and documentation. Key changes include updating icon component styles with specific class names, simplifying button descriptions in documentation, and adding new Vue components and test cases. The adjustments aim to enhance the clarity of documentation and improve the visual presentation of icon components while also introducing new functionality related to displaying titles.
File Path | Change Summary |
---|---|
examples/sites/demos/pc/app/button/webdoc/button.js |
Updated the desc property for the icon button demo, simplifying descriptions in both Chinese and English. |
examples/sites/demos/pc/app/icon/basic-usage-composition-api.vue |
Modified <template> and <style> sections to include specific class attributes for icons and adjusted styles, including font sizes and margin changes. |
examples/sites/demos/pc/app/icon/basic-usage.spec.js |
Updated a test case to change the assertion for the first icon's font-size from 24px to 14px and removed the loop checking dimensions of multiple icons. |
examples/sites/demos/pc/app/icon/basic-usage.vue |
Enhanced the <template> and <style> sections by adding specific class attributes for icons and adjusting styles, including font sizes and margin reductions. |
examples/sites/demos/pc/app/icon/show-title-composition-api.vue |
Introduced a new Vue component that renders a div with a title and includes a custom <tiny-icon-copy> component. |
examples/sites/demos/pc/app/icon/show-title.spec.ts |
Added a new test case to verify the presence of an element with the title '复制' on the page. |
examples/sites/demos/pc/app/icon/show-title.vue |
Introduced a new Vue component that includes an IconCopy component within a div with a title attribute. |
examples/sites/demos/pc/app/icon/webdoc/icon.js |
Expanded the demo description for demoId: 'basic-usage' and added a new demo object with demoId: 'show-title' , providing detailed instructions and examples for using the icon functions. |
href
attributes of link components, relevant to button functionality discussed.enhancement
🐰 In the garden of code, we hop and play,
With icons and buttons, brightening the day.
Descriptions simplified, styles anew,
Our components now shine, just for you!
So let’s celebrate this joyful spree,
For every little change brings harmony! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
Release Notes
New Features
<tiny-icon-copy>
andIconCopy
for enhanced icon functionality.title
attribute for tooltips.Improvements
icon
button and icon usage documentation.Bug Fixes