@itwin/itwinui-css
Advanced tools
Comparing version 1.5.5 to 1.6.0
# Changelog | ||
## 1.6.0 | ||
### Minor Changes | ||
- 2397ee0c: All styles will now be scoped and always take preference over previous major versions (`@itwin/itwinui-react`@`1.x`). | ||
This enables incremental adoption of `@itwin/itwinui-react`@`2.x` for some parts of the app, while still using `1.x` for the rest of the app. | ||
To use this feature, make sure that all parts that use v1 are updated to `@itwin/itwinui-css@0.63.2`, and then wrap the v2 parts in `ThemeProvider`: | ||
```html | ||
<body> | ||
<!-- rest of your app (v1) --> | ||
<ThemeProvider> | ||
<!-- new UI built using v2 --> | ||
</ThemeProvider> | ||
</body> | ||
``` | ||
For packages, there is a new theme `'inherit'`. Setting this enables scoping without forcing the default light theme. When the app eventually updates to v2, it can use its own `ThemeProvider` with any theme, and the components inside your package will inherit the app's theme. | ||
```html | ||
<body> | ||
<!-- rest of the app (maybe v1) --> | ||
<!-- inside your package ⬇️ --> | ||
<ThemeProvider theme='inherit'> | ||
<!-- v2 components inside package --> | ||
</ThemeProvider> | ||
</bod | ||
``` | ||
## 1.5.5 | ||
@@ -4,0 +37,0 @@ |
{ | ||
"name": "@itwin/itwinui-css", | ||
"version": "1.5.5", | ||
"version": "1.6.0", | ||
"author": "Bentley Systems", | ||
@@ -41,2 +41,4 @@ "license": "MIT", | ||
"lightningcss": "^1.16.1", | ||
"postcss": "^8.4.21", | ||
"postcss-scoper": "^1.0.11", | ||
"npm-run-all": "^4.1.5", | ||
@@ -43,0 +45,0 @@ "sass": "^1.54.4", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
646471
15