@itwin/itwinui-react 3.13.1 → 3.13.2

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.13.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2143](https://github.com/iTwin/iTwinUI/pull/2143): Added `border-radius` to the `Table` component so that the border radius is correctly applied to the `Table`'s corners.
8
+ - [#2161](https://github.com/iTwin/iTwinUI/pull/2161): Fixed issue where `emptyTableContent` would not appear on virutalized `Table` components.
9
+
3
10
  ## 3.13.1
4
11
 
5
12
  ### Patch Changes
@@ -500,14 +500,7 @@ const Table = (props)=>{
500
500
  }),
501
501
  tabIndex: -1,
502
502
  "aria-multiselectable": isSelectable && 'multi' === selectionMode || void 0
503
- }, _react.createElement(_index.ShadowRoot, {
504
- css: `
505
- div,
506
- slot {
507
- border-radius: inherit;
508
- }
509
- `
510
- }, enableVirtualization ? _react.createElement("div", {
503
+ }, _react.createElement(_index.ShadowRoot, null, enableVirtualization && 0 !== data.length ? _react.createElement("div", {
511
504
  style: {
512
505
  minBlockSize: virtualizer.getTotalSize(),
513
506
  minInlineSize: '100%',
package/DEV-cjs/styles.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="3.13.1";const u=new Proxy({},{get(t,i){if(typeof i=="string"&&i.startsWith("iui-"))return i.replace("iui-",`_iui${e.replace(/\./g,"")}-`)},has(t,i){return typeof i=="string"&&i.startsWith("iui-")}});exports.styles=u;exports.version=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="3.13.2";const u=new Proxy({},{get(t,i){if(typeof i=="string"&&i.startsWith("iui-"))return i.replace("iui-",`_iui${e.replace(/\./g,"")}-`)},has(t,i){return typeof i=="string"&&i.startsWith("iui-")}});exports.styles=u;exports.version=e;
@@ -480,14 +480,7 @@ export const Table = (props)=>{
480
480
  }),
481
481
  tabIndex: -1,
482
482
  "aria-multiselectable": isSelectable && 'multi' === selectionMode || void 0
483
- }, React.createElement(ShadowRoot, {
484
- css: `
485
- div,
486
- slot {
487
- border-radius: inherit;
488
- }
489
- `
490
- }, enableVirtualization ? React.createElement("div", {
483
+ }, React.createElement(ShadowRoot, null, enableVirtualization && 0 !== data.length ? React.createElement("div", {
491
484
  style: {
492
485
  minBlockSize: virtualizer.getTotalSize(),
493
486
  minInlineSize: '100%',
package/DEV-esm/styles.js CHANGED
@@ -1,4 +1,4 @@
1
- const t = "3.13.1";
1
+ const t = "3.13.2";
2
2
  const u = new Proxy(
3
3
  {},
4
4
  {
@@ -760,15 +760,8 @@ const Table = (props) => {
760
760
  },
761
761
  _react.createElement(
762
762
  _index.ShadowRoot,
763
- {
764
- css: `
765
- div,
766
- slot {
767
- border-radius: inherit;
768
- }
769
- `,
770
- },
771
- enableVirtualization
763
+ null,
764
+ enableVirtualization && 0 !== data.length
772
765
  ? _react.createElement(
773
766
  'div',
774
767
  {
package/cjs/styles.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3
- const e = '3.13.1';
3
+ const e = '3.13.2';
4
4
  const u = new Proxy(
5
5
  {},
6
6
  {
@@ -772,15 +772,8 @@ export const Table = (props) => {
772
772
  },
773
773
  React.createElement(
774
774
  ShadowRoot,
775
- {
776
- css: `
777
- div,
778
- slot {
779
- border-radius: inherit;
780
- }
781
- `,
782
- },
783
- enableVirtualization
775
+ null,
776
+ enableVirtualization && 0 !== data.length
784
777
  ? React.createElement(
785
778
  'div',
786
779
  {
package/esm/styles.js CHANGED
@@ -1,4 +1,4 @@
1
- const t = '3.13.1';
1
+ const t = '3.13.2';
2
2
  const u = new Proxy(
3
3
  {},
4
4
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/itwinui-react",
3
- "version": "3.13.1",
3
+ "version": "3.13.2",
4
4
  "author": "Bentley Systems",
5
5
  "license": "MIT",
6
6
  "type": "module",