-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: support both style and customStyle property #1532
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Size Change: +227 B (0%) Total Size: 171 kB
ℹ️ View Unchanged
|
Size Change: +1.63 kB (+1%) Total Size: 173 kB
ℹ️ View Unchanged
|
@LeeJim 通过配置两套 jest config 配置项,区分 virtualHost 的开启关闭态~ npm run test:unit // virtualHost 默认关闭
npm run test:virtualHost // virtualHost 开启, SDKVersion 固定为为 2.20.0 |
anlyyao
force-pushed
the
fix/support-style
branch
from
January 31, 2023 16:12
01e8f62
to
1cddef9
Compare
Size Change: +1.63 kB (+1%) Total Size: 173 kB
ℹ️ View Unchanged
|
1 similar comment
Size Change: +1.63 kB (+1%) Total Size: 173 kB
ℹ️ View Unchanged
|
anlyyao
force-pushed
the
fix/support-style
branch
from
February 1, 2023 10:58
ae471e7
to
c885e81
Compare
Size Change: +1.63 kB (+1%) Total Size: 173 kB
ℹ️ View Unchanged
|
Size Change: +1.61 kB (+1%) Total Size: 172 kB
ℹ️ View Unchanged
|
LeeJim
added a commit
that referenced
this pull request
Feb 14, 2023
* Fix/upload/slot (#1507) * fix(upload): update add-content slot * docs(upload): update add-content description * fix(upload): enable add-content property * fix(cascader): enable multiple slot (#1508) * feat(picker): upate ux (#1513) * feat(picker): upate ux * test: update snapshot * chore: update qrcode (#1503) * docs: add faq for image (#1512) * docs: add faq for image * docs: update faq * feat(Cell): enrich CSS Variables (#1515) * feat(Cell): enrich CSS Variables * fix(Cell): fix cr * fix(dialog): remove built-in input style (#1516) * fix(dialog): remove built-in input style * test: update snapshot * feat(input): add new css variables * feat(Cell): enrich CSS Variables (#1517) * feat(NoticeBar): update demo (#1514) * feat(NoticeBar): update demo * fix(NoticeBar): fix cr * fix(Swiper): fix swiper-item switching error when autoplay state (#1494) * fix(Swiper): fix swiper-item switching error when autoplay state * fix(Swiper): fix cr * feat(sidebar): finish support icon (#1520) * Feat/tabs/add icon (#1519) * feat(tabs): support icon * feat(tabs): finish support icon * docs: update intro * test(tabs): update snapshot * chore: publish v1.0.0-rc.1 (#1522) * docs: update changelog * fix(navbar): add height for root element (#1526) * fix(Search): fix slot name error (#1529) * Fix/navbar/height (#1528) * fix(navbar): add height for root element * fix(navbar): remove uesless css * feat(loading): support aria (#1534) * feat(loading): loading support aira * test: update snap * feat: 备选方案WIP * test: update snap * feat(Checkbox&&Button): enrich css variable (#1530) * feat(Checkbox&&Button): enrich css variable * fix: fix cr * fix: resolve slot (#1539) * fix: resolve slot * fix: using slot correctly * docs(backtop): update icon * fix(image-viewer): update slot render logic & event params (#1544) * refactor: support both style and customStyle property (#1532) * refactor: support both style and customStyle property * test: add style and customStyle attribute unit test * test: update jest config --------- Co-authored-by: anlyyao <anly_yaw@163.com> * docs(image): update api for slot (#1549) * fix: fix console warnings caused by template (#1548) * fix: fix console warnings caused by template * test: update snapshots * fix: fix cr * fix(Progress): resolve text error for demo * chore(Icon): update default value of the color and size attr to an empty string (#1553) * fix: 组件引用路径改成相对路径 (#1551) Co-authored-by: walkerliu <upliushuai@qq.com> * fix(Calendar): remove the outline style of the tabindex element (#1573) * feat(Input): support for slots named tips (#1572) * fix(Button): fix css variable naming errors (#1563) * docs: add custom-style (#1581) * fix: resolve console warnings (#1586) * fix: resolve console warnings * test(notice-bar): update snapshot * fix(radio): resolve console warnings * fix(calendar): remove condition of title slot (#1588) * feat: add submodule (#1589) * feat: add submodule * build: ignore _common dir * chore: publish v1.0.0-rc.2 (#1590) * docs: add changelog * feat(sidebar): support aria (#1554) * feat(sidebar): support aria * feat(sidebar): update snap * feat(drawer): support aria (#1552) * feat(drawer): support aria * feat(drawer): support ariarole --------- Co-authored-by: Y <anly_yaw@163.com> Co-authored-by: 龙风 <455947455@qq.com> Co-authored-by: Walker <574991520@qq.com> Co-authored-by: walkerliu <upliushuai@qq.com> Co-authored-by: zhangpaopao <zhangpaopao0609@gmail.com>
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤔 这个 PR 的性质是?
🔗 相关 Issue
无
💡 需求背景和解决方案
所有组件同时支持 style 和 customStyle 属性
📝 更新日志
fix: 所有组件同时支持 style 和 customStyle 属性
本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单