@carbon/ibm-products 2.43.2-canary.208 → 2.43.2-canary.209

Sign up to get free protection for your applications and to get access to all the features.
@@ -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<'button'>[];
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.
@@ -23,7 +23,7 @@ interface TearsheetNarrowBaseProps extends PropsWithChildren {
23
23
  *
24
24
  * See https://react.carbondesignsystem.com/?path=/docs/components-button--default#component-api
25
25
  */
26
- actions?: ButtonProps[];
26
+ actions?: ButtonProps<'button'>[];
27
27
  /**
28
28
  * The aria-label for the tearsheet, which is optional.
29
29
  * if it is not passed, the title will be used as the aria-label.
@@ -9,7 +9,7 @@ import React, { PropsWithChildren, ReactNode, RefObject } from 'react';
9
9
  import PropTypes from 'prop-types';
10
10
  import { type ButtonProps } from '@carbon/react';
11
11
  interface TearsheetShellProps extends PropsWithChildren {
12
- actions?: ButtonProps<any>[];
12
+ actions?: ButtonProps<'button'>[];
13
13
  ariaLabel?: string;
14
14
  /**
15
15
  * An optional class or classes to be added to the outermost element.
@@ -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<'button'>[];
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.
@@ -23,7 +23,7 @@ interface TearsheetNarrowBaseProps extends PropsWithChildren {
23
23
  *
24
24
  * See https://react.carbondesignsystem.com/?path=/docs/components-button--default#component-api
25
25
  */
26
- actions?: ButtonProps[];
26
+ actions?: ButtonProps<'button'>[];
27
27
  /**
28
28
  * The aria-label for the tearsheet, which is optional.
29
29
  * if it is not passed, the title will be used as the aria-label.
@@ -9,7 +9,7 @@ import React, { PropsWithChildren, ReactNode, RefObject } from 'react';
9
9
  import PropTypes from 'prop-types';
10
10
  import { type ButtonProps } from '@carbon/react';
11
11
  interface TearsheetShellProps extends PropsWithChildren {
12
- actions?: ButtonProps<any>[];
12
+ actions?: ButtonProps<'button'>[];
13
13
  ariaLabel?: string;
14
14
  /**
15
15
  * An optional class or classes to be added to the outermost element.
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.208+602f85d0a",
4
+ "version": "2.43.2-canary.209+068a7df53",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -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": "602f85d0a3afd507b31157df27091fc94e60bf27"
123
+ "gitHead": "068a7df53265e71193ef583145c69d17b3f76535"
124
124
  }