diff --git a/.changeset/pre.json b/.changeset/pre.json index 5dc07646c62..9ac5b171dec 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -14,15 +14,24 @@ "vite-playground": "0.0.0" }, "changesets": [ + "beige-suits-jam", "big-ducks-confess", + "calm-owls-shout", "gorgeous-boxes-smell", + "happy-walls-nail", "late-tips-beam", + "loud-adults-deny", + "many-actors-tell", + "ninety-keys-double", + "ninety-phones-deny", "quick-dodos-hang", + "real-wombats-fly", "rotten-buckets-leave", "rude-timers-lick", "silver-coats-eat", "smart-guests-play", "thirty-lemons-tie", + "twelve-olives-roll", "young-beds-matter" ] } diff --git a/apps/portal/package.json b/apps/portal/package.json index 0c7f6bf42fd..1bcb0f37881 100644 --- a/apps/portal/package.json +++ b/apps/portal/package.json @@ -11,8 +11,8 @@ "clean": "rimraf .turbo && rimraf node_modules && rimraf dist" }, "dependencies": { - "@itwin/itwinui-css": "2.0.0-dev.0", - "@itwin/itwinui-variables": "*", + "@itwin/itwinui-css": "2.0.0-dev.1", + "@itwin/itwinui-variables": "2.1.0-dev.0", "astro": "2" } } diff --git a/apps/storybook/package.json b/apps/storybook/package.json index cbb14858796..4cc8ef33383 100644 --- a/apps/storybook/package.json +++ b/apps/storybook/package.json @@ -5,7 +5,7 @@ "dependencies": {}, "devDependencies": { "@itwin/itwinui-icons-react": "2", - "@itwin/itwinui-react": "3.0.0-dev.0", + "@itwin/itwinui-react": "3.0.0-dev.1", "@storybook/addon-a11y": "~7.0.2", "@storybook/addon-actions": "~7.0.2", "@storybook/addon-essentials": "~7.0.2", diff --git a/apps/website/package.json b/apps/website/package.json index a985b80dfdc..4af060f0812 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -16,7 +16,7 @@ "@astrojs/sitemap": "^1.0.1", "@fontsource/noto-sans": "^4.5.11", "@fontsource/noto-sans-mono": "^4.5.11", - "@itwin/itwinui-react": "3.0.0-dev.0", + "@itwin/itwinui-react": "3.0.0-dev.1", "@jsdevtools/rehype-toc": "3.0.2", "@tippyjs/react": "4.2.6", "@types/react": "^18.0.0", diff --git a/packages/itwinui-css/CHANGELOG.md b/packages/itwinui-css/CHANGELOG.md index f0a0e1997d8..6e8b55d4643 100644 --- a/packages/itwinui-css/CHANGELOG.md +++ b/packages/itwinui-css/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 2.0.0-dev.1 + +### Major Changes + +- [#1322](https://github.com/iTwin/iTwinUI/pull/1322): Removed input-container code from `utils.css` in favor of `input-container.css`. +- [#1302](https://github.com/iTwin/iTwinUI/pull/1302): `border-box` will now be set for _all_ elements under `iui-root`. + +### Minor Changes + +- [#1073](https://github.com/iTwin/iTwinUI/pull/1073): Added new `TransferList` component which is used to move one or more items between lists. Added the following subcomponents: `TransferList.ListWrapper`, `TransferList.ListboxWrapper`, `TransferList.ListboxLabel`, `TransferList.Listbox`, `TransferList.Item`, and `TransferList.Toolbar` + ## 2.0.0-dev.0 ### Major Changes diff --git a/packages/itwinui-css/package.json b/packages/itwinui-css/package.json index 1e41296eb1a..796291efa26 100644 --- a/packages/itwinui-css/package.json +++ b/packages/itwinui-css/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/itwinui-css", - "version": "2.0.0-dev.0", + "version": "2.0.0-dev.1", "author": "Bentley Systems", "license": "MIT", "main": "css/all.css", diff --git a/packages/itwinui-react/CHANGELOG.md b/packages/itwinui-react/CHANGELOG.md index 25b30d34231..3d76fabcbcb 100644 --- a/packages/itwinui-react/CHANGELOG.md +++ b/packages/itwinui-react/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 3.0.0-dev.1 + +### Major Changes + +- [#1302](https://github.com/iTwin/iTwinUI/pull/1302): The dependencies on `@itwin/itwinui-css` and `@itwin/itwinui-variable` have been removed. This means `@itwin/itwinui-react` will bring its own stylesheet. +- [#1322](https://github.com/iTwin/iTwinUI/pull/1322): All css imports within components have been removed. `@itwin/itwinui-react/styles.css` must now be manually imported at the entrypoint. +- [#1302](https://github.com/iTwin/iTwinUI/pull/1302): All elements have had their class names changed to prevent conflict with older versions. It is strongly recommended to switch these internal classes with your own classes or data attributes. + +### Minor Changes + +- [#1321](https://github.com/iTwin/iTwinUI/pull/1321): Added `disabled` prop to ExpandableBlock component. When activated, it triggers the "disabled" CSS styling for the ExpandableBlock and disables user interaction with it. +- [#1073](https://github.com/iTwin/iTwinUI/pull/1073): Added new `TransferList` component which is used to move one or more items between lists. Added the following subcomponents: `TransferList.ListWrapper`, `TransferList.ListboxWrapper`, `TransferList.ListboxLabel`, `TransferList.Listbox`, `TransferList.Item`, and `TransferList.Toolbar` +- [#1323](https://github.com/iTwin/iTwinUI/pull/1323): Added `placement` prop to `Dialog` to allow placing it at one of the corners. + ## 3.0.0-dev.0 ### Major Changes diff --git a/packages/itwinui-react/package.json b/packages/itwinui-react/package.json index b18fc7e2584..58b74bcee00 100644 --- a/packages/itwinui-react/package.json +++ b/packages/itwinui-react/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/itwinui-react", - "version": "3.0.0-dev.0", + "version": "3.0.0-dev.1", "author": "Bentley Systems", "license": "MIT", "main": "cjs/index.js", @@ -82,8 +82,8 @@ }, "devDependencies": { "@babel/core": "^7.12.10", - "@itwin/itwinui-css": "^2.0.0-dev.0", - "@itwin/itwinui-variables": "*", + "@itwin/itwinui-css": "^2.0.0-dev.1", + "@itwin/itwinui-variables": "2.1.0-dev.0", "@swc/cli": "^0.1.57", "@swc/core": "^1.3.21", "@testing-library/jest-dom": "^5.16.4", diff --git a/packages/itwinui-variables/CHANGELOG.md b/packages/itwinui-variables/CHANGELOG.md index 89e9a9643c5..d2c562537e0 100644 --- a/packages/itwinui-variables/CHANGELOG.md +++ b/packages/itwinui-variables/CHANGELOG.md @@ -1,5 +1,11 @@ # @itwin/itwinui-variables +## 2.1.0-dev.0 + +### Minor Changes + +- [#1302](https://github.com/iTwin/iTwinUI/pull/1302): All selectors have been wrapped with `:where` to nullify specificity. + ## 2.0.0 ### Major Changes diff --git a/packages/itwinui-variables/package.json b/packages/itwinui-variables/package.json index 89f21feede6..1a1e5ba5177 100644 --- a/packages/itwinui-variables/package.json +++ b/packages/itwinui-variables/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/itwinui-variables", - "version": "2.0.0", + "version": "2.1.0-dev.0", "author": "Bentley Systems", "license": "MIT", "main": "index.css", diff --git a/playgrounds/astro/package.json b/playgrounds/astro/package.json index d87bb9dd549..072f2f2ad1b 100644 --- a/playgrounds/astro/package.json +++ b/playgrounds/astro/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/react": "^2.0.2", - "@itwin/itwinui-react": "3.0.0-dev.0", + "@itwin/itwinui-react": "3.0.0-dev.1", "astro": "^2.0.13", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/playgrounds/next/package.json b/playgrounds/next/package.json index d26dcec05e1..78ab54848df 100644 --- a/playgrounds/next/package.json +++ b/playgrounds/next/package.json @@ -10,7 +10,7 @@ "clean": "rimraf .turbo && rimraf node_modules && rimraf .next" }, "dependencies": { - "@itwin/itwinui-react": "3.0.0-dev.0", + "@itwin/itwinui-react": "3.0.0-dev.1", "@types/node": "^18.11.9", "@types/react": "^18.0.25", "@types/react-dom": "^18.0.9", diff --git a/playgrounds/vite/package.json b/playgrounds/vite/package.json index f45a98c3d99..237eedd3988 100644 --- a/playgrounds/vite/package.json +++ b/playgrounds/vite/package.json @@ -9,7 +9,7 @@ "clean": "rimraf .turbo && rimraf node_modules && rimraf dist" }, "dependencies": { - "@itwin/itwinui-react": "3.0.0-dev.0", + "@itwin/itwinui-react": "3.0.0-dev.1", "@itwin/itwinui-icons-react": "2", "react": "^18.0.0", "react-dom": "^18.0.0"