Closed shenjunjian closed 3 weeks ago
[e2e-test-warn] The component to be tested is missing.
The title of the Pull request should look like "fix(vue-renderless): [action-menu, alert] fix xxx bug".
Please make sure you've read our contributing guide
The changes introduce a new component, Cascader
, into the component library by updating the packages/design/saas/index.ts
file to include it in the exports. The Cascader
component is defined in packages/design/saas/src/cascader/index.ts
, where it includes a property for customizing tag colors when multiple selections are made. Additionally, modifications are made to the initState
and renderless
functions in packages/renderless/src/cascader/vue.ts
to accept a new design configuration parameter. Finally, the pc.vue
file is updated to dynamically bind the tag type to the component's state.
File Path | Change Summary |
---|---|
packages/design/saas/index.ts | Added Cascader import and included it in the components object. |
packages/design/saas/src/cascader/index.ts | Introduced a default export with tagTypeWhenMultiple property set to 'info' . |
packages/renderless/src/cascader/vue.ts | Updated initState and renderless to include a new designConfig parameter in their signatures. |
packages/vue/src/cascader/src/pc.vue | Modified tiny-tag component to bind type attribute to state.tagTypeWhenMultiple . |
examples/sites/demos/pc/app/cascader/slot.spec.ts | Added a duplicate line to click on the first textbox element within a test case. |
Cascader
component in the main PR.Cascader
component.Cascader
component in the main PR.enhancement
🐇 In the garden of code, a new bloom appears,
TheCascader
has come, bringing joy and cheers.
With tags that now dance in colors so bright,
Our components are ready to take flight!
So hop along, friends, let’s celebrate this day,
For in our code's meadow, new features play! 🌼
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
Cascader
component to the design library.tagTypeWhenMultiple
for dynamic tag coloring in multi-select scenarios.Improvements
Cascader
component by allowing design-related configurations.Bug Fixes
tiny-tag
component to improve dynamic behavior.Cascader
component to ensure proper interaction with the UI.