@carbon/ibm-products 2.43.2-canary.152 → 2.43.2-canary.154

Sign up to get free protection for your applications and to get access to all the features.
@@ -144,7 +144,7 @@ interface APIKeyModalCommonProps {
144
144
  /**
145
145
  * The DOM node the tearsheet should be rendered within. Defaults to document.body.
146
146
  */
147
- portalTarget: ReactNode;
147
+ portalTarget?: ReactNode;
148
148
  /**
149
149
  * label text that's displayed when hovering over visibility toggler to show key
150
150
  */
@@ -35,7 +35,7 @@ export interface TearsheetProps extends PropsWithChildren {
35
35
  *
36
36
  * See https://react.carbondesignsystem.com/?path=/docs/components-button--default#component-api
37
37
  */
38
- actions: ButtonProps[];
38
+ actions: ButtonProps<'button'>[];
39
39
  /**
40
40
  * The aria-label for the tearsheet, which is optional.
41
41
  * if it is not passed, the title will be used as the aria-label.
@@ -97,7 +97,7 @@ export interface TearsheetProps extends PropsWithChildren {
97
97
  /**
98
98
  * The DOM element that the tearsheet should be rendered within. Defaults to document.body.
99
99
  */
100
- portalTarget: ReactNode;
100
+ portalTarget?: ReactNode;
101
101
  /**
102
102
  * Specify a CSS selector that matches the DOM element that should be
103
103
  * focused when the Modal opens.
@@ -144,7 +144,7 @@ interface APIKeyModalCommonProps {
144
144
  /**
145
145
  * The DOM node the tearsheet should be rendered within. Defaults to document.body.
146
146
  */
147
- portalTarget: ReactNode;
147
+ portalTarget?: ReactNode;
148
148
  /**
149
149
  * label text that's displayed when hovering over visibility toggler to show key
150
150
  */
@@ -35,7 +35,7 @@ export interface TearsheetProps extends PropsWithChildren {
35
35
  *
36
36
  * See https://react.carbondesignsystem.com/?path=/docs/components-button--default#component-api
37
37
  */
38
- actions: ButtonProps[];
38
+ actions: ButtonProps<'button'>[];
39
39
  /**
40
40
  * The aria-label for the tearsheet, which is optional.
41
41
  * if it is not passed, the title will be used as the aria-label.
@@ -97,7 +97,7 @@ export interface TearsheetProps extends PropsWithChildren {
97
97
  /**
98
98
  * The DOM element that the tearsheet should be rendered within. Defaults to document.body.
99
99
  */
100
- portalTarget: ReactNode;
100
+ portalTarget?: ReactNode;
101
101
  /**
102
102
  * Specify a CSS selector that matches the DOM element that should be
103
103
  * focused when the Modal opens.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products",
3
3
  "description": "Carbon for IBM Products",
4
- "version": "2.43.2-canary.152+7e6153ffa",
4
+ "version": "2.43.2-canary.154+d7aa99ed0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -81,7 +81,7 @@
81
81
  "fs-extra": "^11.2.0",
82
82
  "glob": "^10.3.10",
83
83
  "jest": "^29.7.0",
84
- "jest-config-ibm-cloud-cognitive": "^1.6.0",
84
+ "jest-config-ibm-cloud-cognitive": "^1.7.0-rc.0",
85
85
  "jest-environment-jsdom": "^29.7.0",
86
86
  "namor": "^1.1.2",
87
87
  "npm-check-updates": "^16.14.12",
@@ -96,7 +96,7 @@
96
96
  "dependencies": {
97
97
  "@babel/runtime": "^7.23.9",
98
98
  "@carbon/feature-flags": "^0.20.0",
99
- "@carbon/ibm-products-styles": "^2.43.0",
99
+ "@carbon/ibm-products-styles": "^2.44.0-rc.0",
100
100
  "@carbon/telemetry": "^0.1.0",
101
101
  "@dnd-kit/core": "^6.0.8",
102
102
  "@dnd-kit/modifiers": "^7.0.0",
@@ -120,5 +120,5 @@
120
120
  "react": "^16.8.6 || ^17.0.1 || ^18.2.0",
121
121
  "react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
122
122
  },
123
- "gitHead": "7e6153ffac2ed28177bd2736cdd21f1237638a69"
123
+ "gitHead": "d7aa99ed058d3cd55302bc6fe5c169e5a120d64e"
124
124
  }