Closed zzcr closed 1 month ago
The changes involve the removal of specific properties from the checkbox component, including border
and size
, across various files. Additionally, several Vue components and test files related to checkbox functionality have been deleted. The CSS variable structure has been updated to a new naming convention, enhancing consistency across styles. Various files have undergone refactoring to streamline the use of CSS variables, and new mixins have been introduced to improve styling logic.
File Path | Change Summary |
---|---|
examples/sites/demos/apis/checkbox.js |
Removed border (boolean) and size ('medium' | 'small' | 'mini' ) properties from the checkbox component. |
examples/sites/demos/pc/app/checkbox/border-composition-api.vue |
Deleted Vue component implementing a checkbox with a tooltip. |
examples/sites/demos/pc/app/checkbox/border.spec.ts |
Deleted Playwright test for the checkbox component with a border. |
examples/sites/demos/pc/app/checkbox/border.vue |
Deleted Vue component for a checkbox with a tooltip feature. |
examples/sites/demos/pc/app/checkbox/webdoc/checkbox.js |
Removed demo configuration for checkbox with demoId: 'border' . |
packages/theme/src/base/vars.less |
Added new CSS properties for icon control states and renamed existing properties for clarity. |
packages/theme/src/card/index.less |
Adjusted border width and margin properties to fixed pixel values. |
packages/theme/src/checkbox-button/index.less |
Refactored CSS variable usage, updated class definitions, and streamlined styling. |
packages/theme/src/checkbox-button/vars.less |
Updated CSS variable declarations and function name for consistency. |
packages/theme/src/checkbox-group/index.less |
Refactored CSS variable usage and removed redundant styles. |
packages/theme/src/checkbox-group/vars.less |
Renamed function and updated CSS variable declarations for consistency. |
packages/theme/src/checkbox/index.less |
Updated styling variables and structure for the checkbox component. |
packages/theme/src/checkbox/vars.less |
Comprehensive update of CSS variable declarations and function name for the checkbox component. |
packages/theme/src/mixins/checkbox.less |
Introduced new mixin for disabled checkbox borders and simplified existing mixins. |
vars.less
file, which include renaming and restructuring of CSS variables that could impact checkbox styling.🐰 In fields of green, the checkboxes gleam,
With borders gone, they dance and beam.
A tooltip here, a mixin there,
Consistency blooms in the fresh air.
Hooray for changes, let’s hop and cheer,
For every little tweak 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
Release Notes
New Features
Bug Fixes
Refactor
Chores