Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release packages (dev) #1294

Merged
merged 1 commit into from
Jun 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,16 @@
"next-playground": "0.1.0",
"vite-playground": "0.0.0"
},
"changesets": []
"changesets": [
"big-ducks-confess",
"gorgeous-boxes-smell",
"late-tips-beam",
"quick-dodos-hang",
"rotten-buckets-leave",
"rude-timers-lick",
"silver-coats-eat",
"smart-guests-play",
"thirty-lemons-tie",
"young-beds-matter"
]
}
2 changes: 1 addition & 1 deletion apps/portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"clean": "rimraf .turbo && rimraf node_modules && rimraf dist"
},
"dependencies": {
"@itwin/itwinui-css": "*",
"@itwin/itwinui-css": "2.0.0-dev.0",
"@itwin/itwinui-variables": "*",
"astro": "2"
}
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dependencies": {},
"devDependencies": {
"@itwin/itwinui-icons-react": "2",
"@itwin/itwinui-react": "*",
"@itwin/itwinui-react": "3.0.0-dev.0",
"@storybook/addon-a11y": "~7.0.2",
"@storybook/addon-actions": "~7.0.2",
"@storybook/addon-essentials": "~7.0.2",
Expand Down
2 changes: 1 addition & 1 deletion apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*",
"@itwin/itwinui-react": "3.0.0-dev.0",
"@jsdevtools/rehype-toc": "3.0.2",
"@tippyjs/react": "4.2.6",
"@types/react": "^18.0.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/itwinui-css/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 2.0.0-dev.0

### Major Changes

- [#1295](https://github.com/iTwin/iTwinUI/pull/1295): `iui-menu-item` and `iui-menu-description` classes were removed.
- [#1304](https://github.com/iTwin/iTwinUI/pull/1304): Instead of cloning passed icons to set classes on them, the classes will now be set on a wrapping element. Affected components: `Header`, `Select`, `MenuItem`, `RadioTile`, `Tabs`, `ToggleSwitch`, `TreeNode`, `InputContainer` (and all input variants).
- [#1269](https://github.com/iTwin/iTwinUI/pull/1269): All dialog variants have `flex` applied by default. This means the content should be wrapped with `Dialog.Content` or `ModalContent` for optimal layout.
- [#1270](https://github.com/iTwin/iTwinUI/pull/1270): Change `line-height` to use a unitless value.

## 1.11.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/itwinui-css/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itwin/itwinui-css",
"version": "1.11.1",
"version": "2.0.0-dev.0",
"author": "Bentley Systems",
"license": "MIT",
"main": "css/all.css",
Expand Down
21 changes: 21 additions & 0 deletions packages/itwinui-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## 3.0.0-dev.0

### Major Changes

- [#1296](https://github.com/iTwin/iTwinUI/pull/1296): Removed previously-deprecated typography components (`Body`, `Headline`, `Leading`, `Small`, `Subheading`, `Title`) which have been replaced by `Text`.
- [#1265](https://github.com/iTwin/iTwinUI/pull/1265): Removed the deprecated `useTheme` hook. `<ThemeProvider>` is now always required to be wrapped around all iTwinUI components.
- [#1278](https://github.com/iTwin/iTwinUI/pull/1278): Adjusted calculations in ButtonGroup's `overflowButton` callback, so that it respects `overflowPlacement` and considers the presence of the overflowButton itself.
- [#1295](https://github.com/iTwin/iTwinUI/pull/1295): Deprecated MenuItem's `icon` and `badge` props in favor of new `startIcon` and `endIcon` props. Also affects `Select` and `ComboBox` options.
- [#1298](https://github.com/iTwin/iTwinUI/pull/1298): `Props` types will no longer be exported for any component. Use `React.ComponentProps` instead.
- [#1304](https://github.com/iTwin/iTwinUI/pull/1304): Instead of cloning passed icons to set classes on them, the classes will now be set on a wrapping element. Affected components: `Header`, `Select`, `MenuItem`, `RadioTile`, `Tabs`, `ToggleSwitch`, `TreeNode`, `InputContainer` (and all input variants).
- [#1269](https://github.com/iTwin/iTwinUI/pull/1269): All dialog variants have `flex` applied by default. This means the content should be wrapped with `Dialog.Content` or `ModalContent` for optimal layout.

### Minor Changes

- [#1298](https://github.com/iTwin/iTwinUI/pull/1298): Most components are now polymorphic and forward their rest props and ref.

### Patch Changes

- Updated dependencies:
- @itwin/[email protected]

## 2.11.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/itwinui-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itwin/itwinui-react",
"version": "2.11.4",
"version": "3.0.0-dev.0",
"author": "Bentley Systems",
"license": "MIT",
"main": "cjs/index.js",
Expand Down Expand Up @@ -67,7 +67,7 @@
"dev:types": "concurrently \"tsc -p tsconfig.cjs.json --emitDeclarationOnly --watch --preserveWatchOutput\" \"tsc -p tsconfig.esm.json --emitDeclarationOnly --watch --preserveWatchOutput\""
},
"dependencies": {
"@itwin/itwinui-css": "^1.11.1",
"@itwin/itwinui-css": "^2.0.0-dev.0",
"@itwin/itwinui-illustrations-react": "^2.0.0",
"@itwin/itwinui-variables": "^2.0.0",
"@tippyjs/react": "^4.2.6",
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"@astrojs/react": "^2.0.2",
"@itwin/itwinui-react": "2.11.4",
"@itwin/itwinui-react": "3.0.0-dev.0",
"astro": "^2.0.13",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"clean": "rimraf .turbo && rimraf node_modules && rimraf .next"
},
"dependencies": {
"@itwin/itwinui-react": "2.11.4",
"@itwin/itwinui-react": "3.0.0-dev.0",
"@types/node": "^18.11.9",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"clean": "rimraf .turbo && rimraf node_modules && rimraf dist"
},
"dependencies": {
"@itwin/itwinui-react": "2.11.4",
"@itwin/itwinui-react": "3.0.0-dev.0",
"@itwin/itwinui-icons-react": "2",
"react": "^18.0.0",
"react-dom": "^18.0.0"
Expand Down