Closed Youyou-smiles closed 1 month ago
The changes involve updates to the visual styling and structure of the IP address input components across multiple files. Key modifications include adjustments to CSS properties for disabled states, reordering of component instances, removal of unused functions and computed properties, and the introduction of new class-based height specifications. These updates enhance the adaptability and maintainability of the input components without altering their core functionality.
File Path | Change Summary |
---|---|
examples/sites/demos/pc/app/ip-address/*.spec.ts |
Updated expected CSS properties for disabled states and modified height expectations for input elements in test cases. |
examples/sites/demos/pc/app/ip-address/*.vue |
Reordered <tiny-ip-address> components in templates without changing functionality. |
packages/renderless/src/ip-address/index.ts |
Removed the getHeightOfSize function, eliminating its associated functionality. |
packages/renderless/src/ip-address/vue.ts |
Removed computed properties related to height and line height, introduced a new computed property for size. |
packages/theme-saas/src/ip-address/index.less |
Removed fixed height properties and added new class-based height specifications for different sizes. |
packages/theme/src/ip-address/index.less |
Removed fixed height and line-height properties, introduced new height and line-height properties for various size classes using CSS variables. |
packages/theme/src/ip-address/vars.less |
Removed the --ti-ip-address-line-height variable and added new height and line-height variables for different sizes of IP address input fields. |
packages/vue/src/ip-address/src/pc.vue |
Modified class binding and styling logic within the <ul> element, simplifying the approach by switching to array syntax for class binding. |
vars.less
file to enhance understanding of styling variables used for input components.vars.less
file that may affect the styling of input components.enhancement
🐰 In the garden where inputs play,
Styles have danced and found their way.
With colors bright and heights anew,
Our tiny fields are fresh and true!
Hopping 'round with joy we cheer,
For every change brings us near! 🌼
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
New Features
Bug Fixes
Refactor
Chores