diff --git a/.changeset/pre.json b/.changeset/pre.json index dd1aa624655..40f7e7dd9a4 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -19,7 +19,9 @@ "beige-suits-jam", "big-ducks-confess", "brave-suits-exercise", + "bright-cats-reflect", "calm-owls-shout", + "calm-scissors-smoke", "clean-paws-run", "cold-needles-know", "empty-months-rest", @@ -27,9 +29,12 @@ "few-dogs-fold", "few-ghosts-judge", "four-humans-wait", + "funny-horses-wash", + "gentle-baboons-eat", "gorgeous-boxes-smell", "happy-queens-refuse", "happy-walls-nail", + "hip-moose-flow", "itchy-poems-shout", "khaki-pears-flow", "late-tips-beam", @@ -37,6 +42,8 @@ "loud-adults-deny", "lovely-trees-share", "many-actors-tell", + "mighty-chefs-exist", + "mighty-fireants-check", "moody-monkeys-compare", "nasty-walls-juggle", "nervous-birds-shake", @@ -47,7 +54,10 @@ "ninety-keys-double", "ninety-phones-deny", "odd-crabs-approve", + "old-swans-love", "orange-yaks-lay", + "pink-shirts-trade", + "plenty-eels-sort", "polite-walls-rush", "quick-balloons-drum", "quick-dodos-hang", @@ -56,11 +66,14 @@ "rich-garlics-love", "rotten-buckets-leave", "rude-timers-lick", + "serious-mice-repair", "shaggy-hornets-enjoy", "sharp-oranges-kneel", "sharp-pianos-destroy", "silly-roses-yell", "silver-coats-eat", + "slimy-ladybugs-draw", + "small-hotels-protect", "smart-guests-play", "smart-otters-hug", "soft-crabs-flow", @@ -71,6 +84,7 @@ "strong-maps-explode", "tall-cups-refuse", "ten-grapes-approve", + "ten-melons-help", "thick-goats-work", "thirty-lemons-tie", "tidy-days-appear", diff --git a/apps/portal/package.json b/apps/portal/package.json index b659d9306dc..a93a9ba73ef 100644 --- a/apps/portal/package.json +++ b/apps/portal/package.json @@ -11,7 +11,7 @@ "clean": "rimraf .turbo && rimraf node_modules && rimraf dist" }, "dependencies": { - "@itwin/itwinui-css": "2.0.0-dev.6", + "@itwin/itwinui-css": "2.0.0-dev.7", "@itwin/itwinui-variables": "3.0.0-dev.1", "astro": "2" } diff --git a/apps/storybook/package.json b/apps/storybook/package.json index 2eddf6b54f7..e535e2e125b 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.6", + "@itwin/itwinui-react": "3.0.0-dev.7", "@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 375b599a2ce..1d0e8975c22 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -18,7 +18,7 @@ "@docsearch/js": "3", "@fontsource/noto-sans": "^4.5.11", "@fontsource/noto-sans-mono": "^4.5.11", - "@itwin/itwinui-react": "3.0.0-dev.6", + "@itwin/itwinui-react": "3.0.0-dev.7", "@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 13b4ce0cac4..3bee7775948 100644 --- a/packages/itwinui-css/CHANGELOG.md +++ b/packages/itwinui-css/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 2.0.0-dev.7 + +### Major Changes + +- [#1446](https://github.com/iTwin/iTwinUI/pull/1446): `iui-avatar` has been refactored to be a single ``, and the status is now applied using the `data-iui-status` attribute. The colors have been updated to pass AAA contrast ratio. +- [#1489](https://github.com/iTwin/iTwinUI/pull/1489): `--iui-color-dot-inset` has been split into `--iui-color-dot-inset-block` and `--iui-color-dot-inset-inline`. + +### Patch Changes + +- [#1499](https://github.com/iTwin/iTwinUI/pull/1499): Removed special handling of iPhone notch in Header and SideNavigation. + ## 2.0.0-dev.6 ### Major Changes diff --git a/packages/itwinui-css/package.json b/packages/itwinui-css/package.json index 6e60d6a9671..22e0e54f46f 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.6", + "version": "2.0.0-dev.7", "author": "Bentley Systems", "license": "MIT", "main": "css/all.css", diff --git a/packages/itwinui-react/CHANGELOG.md b/packages/itwinui-react/CHANGELOG.md index 26aef85f9e7..dac70e6b1cf 100644 --- a/packages/itwinui-react/CHANGELOG.md +++ b/packages/itwinui-react/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## 3.0.0-dev.7 + +### Major Changes + +- [#1478](https://github.com/iTwin/iTwinUI/pull/1478): ThemeProvider now defaults the `theme` value to `"inherit"` and falls back to `"light"` there is no parent theme found. Also the inherit behavior has been made more resilient for cases where react context fails. +- [#1458](https://github.com/iTwin/iTwinUI/pull/1458): Added wrapperProps, contentProps, topProps, and bottomProps to Side Navigation component to improve customization. Top-level props (className, styling, etc) now passed to SideNav button instead of to the wrapper. +- [#1435](https://github.com/iTwin/iTwinUI/pull/1435): Improving customization of SplitButton with wrapperProps and menuButtonProps. ClassName now passed to the button instead of the component wrapper. +- [#1461](https://github.com/iTwin/iTwinUI/pull/1461): Changed disabled button behavior to make them focusable and use `aria-disabled` instead of `disabled` attribute. + +### Minor Changes + +- [#1440](https://github.com/iTwin/iTwinUI/pull/1440): Adding the ability for every DOM node to have a custom className passed to it. + New prop for `FileUpload` component: `contentProps` +- [#1430](https://github.com/iTwin/iTwinUI/pull/1430): Adding the ability for each node element in `Stepper` to have a custom `prop`. + New props include: `stepProps`, `trackContentProps`, `circleProps`, `nameProps`, `labelProps`, `labelCountProps` +- [#1435](https://github.com/iTwin/iTwinUI/pull/1435): Improving customization of Button with new props: labelProps, startIconProps, and endIconProps. + Improving customization of IconButton with iconProps. +- [#1477](https://github.com/iTwin/iTwinUI/pull/1477): Added a new `portalContainer` prop to `ThemeProvider`. When specified, all floating elements (tooltips, toats, dialogs) under the ThemeProvider will read this prop from context and portal into it. + +### Patch Changes + +- [#1446](https://github.com/iTwin/iTwinUI/pull/1446): Avatar has been refactored to be a single ``. The colors have been updated to pass AAA contrast ratio. +- [#1492](https://github.com/iTwin/iTwinUI/pull/1492): Fixed `aria-owns` syntax for `TreeNode` +- [#1486](https://github.com/iTwin/iTwinUI/pull/1486): DatePicker date tables now have accessible labels. +- [#1499](https://github.com/iTwin/iTwinUI/pull/1499): Removed special handling of iPhone notch in Header and SideNavigation. + ## 3.0.0-dev.6 ### Major Changes diff --git a/packages/itwinui-react/package.json b/packages/itwinui-react/package.json index b24a5fcdb8b..38fae639d70 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.6", + "version": "3.0.0-dev.7", "author": "Bentley Systems", "license": "MIT", "type": "module", @@ -83,7 +83,7 @@ "tslib": "^2.6.0" }, "devDependencies": { - "@itwin/itwinui-css": "^2.0.0-dev.6", + "@itwin/itwinui-css": "^2.0.0-dev.7", "@itwin/itwinui-illustrations-react": "^2.1.0", "@itwin/itwinui-variables": "3.0.0-dev.1", "@swc/cli": "^0.1.62", diff --git a/playgrounds/astro/package.json b/playgrounds/astro/package.json index df861883a78..e342ba7b2f2 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.6", + "@itwin/itwinui-react": "3.0.0-dev.7", "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 027bd1f3f25..0f9a07337bc 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.6", + "@itwin/itwinui-react": "3.0.0-dev.7", "@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 f5f9ee072b0..f7484edfff6 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.6", + "@itwin/itwinui-react": "3.0.0-dev.7", "@itwin/itwinui-icons-react": "2", "react": "^18.0.0", "react-dom": "^18.0.0" diff --git a/testing/a11y/package.json b/testing/a11y/package.json index 80286aab6ba..acf39747205 100644 --- a/testing/a11y/package.json +++ b/testing/a11y/package.json @@ -9,7 +9,7 @@ "clean": "rimraf .turbo && rimraf node_modules" }, "dependencies": { - "@itwin/itwinui-react": "3.0.0-dev.6", + "@itwin/itwinui-react": "3.0.0-dev.7", "axe-core": "^4.7.2", "cypress": "12.17.2", "cypress-axe": "^1.4.0",