@itwin/itwinui-react 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ### 2.0.4 (2022-12-16)
4
+
5
+ ### Fixes
6
+
7
+ * Use `import type` instead of `import { type }` for supporting older typescript versions ([#996](https://www.github.com/iTwin/iTwinUI-react/issues/996))
8
+
3
9
  ### 2.0.3 (2022-12-12)
4
10
 
5
11
  ### Fixes
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { type CommonProps } from '../props';
2
+ import type { CommonProps } from '../props';
3
3
  export declare const StatusIconMap: {
4
4
  negative: (args?: CommonProps) => JSX.Element;
5
5
  positive: (args?: CommonProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { type CommonProps } from '../props';
2
+ import type { CommonProps } from '../props';
3
3
  export declare const StatusIconMap: {
4
4
  negative: (args?: CommonProps) => JSX.Element;
5
5
  positive: (args?: CommonProps) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/itwinui-react",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "author": "Bentley Systems",
5
5
  "license": "MIT",
6
6
  "main": "cjs/index.js",