siemens / ix

Siemens Industrial Experience is a design system for designers and developers, to consistently create the perfect digital experience for industrial software products.
https://ix.siemens.io/
MIT License
208 stars 67 forks source link

IX css is affecting non-ix components #1398

Open daniel-dinges opened 4 months ago

daniel-dinges commented 4 months ago

Prerequisites

What happened?

Problem

An Insights Hub application started to use IX for their UI. The IX css applies styles to native elements like lables, inputs without the use of any namespacing. Thus, it is overriding elements of non-IX components. This becomes an issue, as Insights Hub applications have to include the "OS Header" from Insights Hub. Furthermore this will prevent existing applications from adopting IX in a step-wise way.

Example

image image

Possible Solution(s)

What type of frontend framework are you seeing the problem on?

Others

Which version of iX do you use?

x.x.x

Code to produce this issue.

unfortunately I do not have access to the specific application that raised the issue.
github-actions[bot] commented 4 months ago

🤖 Hello @daniel-dinges

Your issue will be analyzed and is part of our internal workflow. To get informed about our workflow please checkout the Contributing Guidelines

JIRA: IX-1503

ruqzuq commented 3 weeks ago

@matthiashader Are there any plans to solve this issue in the near future?

In my view, it is a showstopper for integrating Siemens iX into enterprise code bases. I would like to include iX in our stack and promote it, but side effects on the overall HMI are unacceptable. You could rebuild the entire styles without compromising on flexibility and performance, as fluentui does, for example: https://github.com/microsoft/fluentui/blob/master/packages/react-components/react-button/library/src/components/Button/useButtonStyles.styles.ts

Would help be welcome here? @danielleroux @nuke-ellington