Closed Youyou-smiles closed 4 days ago
The pull request introduces modifications to the tiny-popconfirm
component across several files. Key changes include the addition of a :message
prop for providing contextual information, updates to the title
variable for a more generic prompt, and various adjustments to CSS styling and variables. These changes enhance the user interface and improve the overall functionality of the confirmation prompts.
Files | Change Summary |
---|---|
examples/sites/demos/pc/app/popconfirm/type-composition-api.vue |
Added a new message variable and updated the title variable to a generic prompt. Updated all tiny-popconfirm instances to use the new :message prop. |
examples/sites/demos/pc/app/popconfirm/type.vue |
Introduced a message data property and updated the title data property. All instances of tiny-popconfirm now use the new :message prop. |
packages/theme/src/popconfirm/index.less |
Removed line-height from &__header , deleted no-message class, updated &__title and &__content classes, and added margin to &__confirm-button . |
packages/theme/src/popconfirm/vars.less |
Updated line height and padding variables, introduced new variables for title margin and icon width, and removed an outdated variable. |
packages/vue/src/popconfirm/src/pc.vue |
Modified class binding for the tiny-popconfirm-popover__title to always render without conditional classes based on the message variable. |
message
variable in the popconfirm
component, directly related to the updates in this PR.popconfirm
component to the SMB theme, aligning with the changes in this PR.tiny-popconfirm
components.🐇 In the garden, the popconfirm blooms,
With messages clear, dispelling all glooms.
Titles now gentle, prompts that delight,
A hop and a skip, all feels just right!
CSS dances, with styles anew,
Thanks to the changes, we cheer and we woo! 🌼
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
:message
prop for thetiny-popconfirm
component, providing additional context for confirmation prompts.Bug Fixes
Style
popconfirm
component, including updates to line heights and margin properties for improved visual presentation.