Skip to content

Fix(Component): 修复固有组件会覆盖开发者样式问题#238

Closed
Hierifer wants to merge 5 commits into
didi:mainfrom
EchoTechFE:feat/get-app-base-info
Closed

Fix(Component): 修复固有组件会覆盖开发者样式问题#238
Hierifer wants to merge 5 commits into
didi:mainfrom
EchoTechFE:feat/get-app-base-info

Conversation

@Hierifer

@Hierifer Hierifer commented May 28, 2026

Copy link
Copy Markdown
Contributor

Uploading image.png…

huteng and others added 5 commits May 28, 2026 17:09
…field filtering

- Add getAppBaseInfo bridge method on Harmony with filtered fields (SDKVersion, enableDebug, host, language, version, theme, fontSizeScaleFactor, fontSizeSetting)
- Add missing systemInfo fields on Harmony: enableDebug, language, theme, host, fontSizeScaleFactor, fontSizeSetting
- Add DMPHostEnvBuilder to build and cache hostEnv snapshot for loadResource message
- Add pick() function in service layer to filter hostEnv-resolved API responses
- Add missing fields to H5 getSystemInfoSync (theme, fontSizeScaleFactor, fontSizeSetting, language)
- Regenerate JSSDK to v1.0.15

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use toEqual instead of toBe for APIs that now return filtered subsets
via pick(), and expand test data to cover all API field groups.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add screenTop to H5 getSystemInfoSync, Harmony systemInfo and
DMPHostEnvBuilder so getWindowInfo returns the field per spec.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… specificity

Wrap all attribute selectors in :where() so user classes can override
built-in styles without needing higher specificity.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Hierifer Hierifer changed the title Fix Fix(Component): 修复固有组件会覆盖开发者样式问题 May 28, 2026
@Hierifer Hierifer closed this May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant