@carbon/ibm-products 2.54.0-canary.1 → 2.54.0-canary.4
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/es/components/AddSelect/AddSelect.d.ts +2 -2
- package/es/components/AddSelect/AddSelect.js +1 -0
- package/es/components/AddSelect/AddSelectBody.d.ts +2 -2
- package/es/components/AddSelect/AddSelectBody.js +1 -0
- package/es/components/Tearsheet/Tearsheet.d.ts +1 -1
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +1 -1
- package/es/components/Tearsheet/TearsheetShell.d.ts +1 -1
- package/lib/components/AddSelect/AddSelect.d.ts +2 -2
- package/lib/components/AddSelect/AddSelect.js +1 -0
- package/lib/components/AddSelect/AddSelectBody.d.ts +2 -2
- package/lib/components/AddSelect/AddSelectBody.js +1 -0
- package/lib/components/Tearsheet/Tearsheet.d.ts +1 -1
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +1 -1
- package/lib/components/Tearsheet/TearsheetShell.d.ts +1 -1
- package/package.json +2 -2
@@ -1,4 +1,4 @@
|
|
1
|
-
import React
|
1
|
+
import React from 'react';
|
2
2
|
import { Filter, Item, Theme } from './types';
|
3
3
|
export interface AddSelectProps {
|
4
4
|
className?: string;
|
@@ -36,7 +36,7 @@ export interface AddSelectProps {
|
|
36
36
|
/**
|
37
37
|
* portal target for the all tags modal
|
38
38
|
*/
|
39
|
-
portalTarget?:
|
39
|
+
portalTarget?: HTMLElement;
|
40
40
|
searchResultsTitle?: string;
|
41
41
|
sortByLabel?: string;
|
42
42
|
title: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React
|
1
|
+
import React from 'react';
|
2
2
|
import { Item, Theme } from './types';
|
3
3
|
export interface AddSelectBodyProps {
|
4
4
|
className?: string;
|
@@ -35,7 +35,7 @@ export interface AddSelectBodyProps {
|
|
35
35
|
onSubmit?: (selection: any) => void;
|
36
36
|
onSubmitButtonText?: string;
|
37
37
|
open?: boolean;
|
38
|
-
portalTarget?:
|
38
|
+
portalTarget?: HTMLElement;
|
39
39
|
searchResultsTitle?: string;
|
40
40
|
sortByLabel?: string;
|
41
41
|
title?: string;
|
@@ -361,6 +361,7 @@ AddSelectBody.propTypes = {
|
|
361
361
|
onSubmit: PropTypes.func,
|
362
362
|
onSubmitButtonText: PropTypes.string,
|
363
363
|
open: PropTypes.bool,
|
364
|
+
/**@ts-ignore */
|
364
365
|
portalTarget: PropTypes.node,
|
365
366
|
searchResultsTitle: PropTypes.string,
|
366
367
|
sortByLabel: PropTypes.string,
|
@@ -107,7 +107,7 @@ export interface TearsheetProps extends PropsWithChildren {
|
|
107
107
|
/**
|
108
108
|
* The DOM element that the tearsheet should be rendered within. Defaults to document.body.
|
109
109
|
*/
|
110
|
-
portalTarget?:
|
110
|
+
portalTarget?: HTMLElement;
|
111
111
|
/**
|
112
112
|
* Specify a CSS selector that matches the DOM element that should be
|
113
113
|
* focused when the Modal opens.
|
@@ -63,7 +63,7 @@ interface TearsheetNarrowBaseProps extends PropsWithChildren {
|
|
63
63
|
/**
|
64
64
|
* The DOM element that the tearsheet should be rendered within. Defaults to document.body.
|
65
65
|
*/
|
66
|
-
portalTarget?:
|
66
|
+
portalTarget?: HTMLElement;
|
67
67
|
/**
|
68
68
|
* Specify a CSS selector that matches the DOM element that should be
|
69
69
|
* focused when the Modal opens.
|
@@ -84,7 +84,7 @@ interface TearsheetShellProps extends PropsWithChildren {
|
|
84
84
|
/**
|
85
85
|
* The DOM element that the tearsheet should be rendered within. Defaults to document.body.
|
86
86
|
*/
|
87
|
-
portalTarget?:
|
87
|
+
portalTarget?: HTMLElement;
|
88
88
|
/**
|
89
89
|
* Specify a CSS selector that matches the DOM element that should be
|
90
90
|
* focused when the Modal opens.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React
|
1
|
+
import React from 'react';
|
2
2
|
import { Filter, Item, Theme } from './types';
|
3
3
|
export interface AddSelectProps {
|
4
4
|
className?: string;
|
@@ -36,7 +36,7 @@ export interface AddSelectProps {
|
|
36
36
|
/**
|
37
37
|
* portal target for the all tags modal
|
38
38
|
*/
|
39
|
-
portalTarget?:
|
39
|
+
portalTarget?: HTMLElement;
|
40
40
|
searchResultsTitle?: string;
|
41
41
|
sortByLabel?: string;
|
42
42
|
title: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React
|
1
|
+
import React from 'react';
|
2
2
|
import { Item, Theme } from './types';
|
3
3
|
export interface AddSelectBodyProps {
|
4
4
|
className?: string;
|
@@ -35,7 +35,7 @@ export interface AddSelectBodyProps {
|
|
35
35
|
onSubmit?: (selection: any) => void;
|
36
36
|
onSubmitButtonText?: string;
|
37
37
|
open?: boolean;
|
38
|
-
portalTarget?:
|
38
|
+
portalTarget?: HTMLElement;
|
39
39
|
searchResultsTitle?: string;
|
40
40
|
sortByLabel?: string;
|
41
41
|
title?: string;
|
@@ -363,6 +363,7 @@ AddSelectBody.propTypes = {
|
|
363
363
|
onSubmit: index.default.func,
|
364
364
|
onSubmitButtonText: index.default.string,
|
365
365
|
open: index.default.bool,
|
366
|
+
/**@ts-ignore */
|
366
367
|
portalTarget: index.default.node,
|
367
368
|
searchResultsTitle: index.default.string,
|
368
369
|
sortByLabel: index.default.string,
|
@@ -107,7 +107,7 @@ export interface TearsheetProps extends PropsWithChildren {
|
|
107
107
|
/**
|
108
108
|
* The DOM element that the tearsheet should be rendered within. Defaults to document.body.
|
109
109
|
*/
|
110
|
-
portalTarget?:
|
110
|
+
portalTarget?: HTMLElement;
|
111
111
|
/**
|
112
112
|
* Specify a CSS selector that matches the DOM element that should be
|
113
113
|
* focused when the Modal opens.
|
@@ -63,7 +63,7 @@ interface TearsheetNarrowBaseProps extends PropsWithChildren {
|
|
63
63
|
/**
|
64
64
|
* The DOM element that the tearsheet should be rendered within. Defaults to document.body.
|
65
65
|
*/
|
66
|
-
portalTarget?:
|
66
|
+
portalTarget?: HTMLElement;
|
67
67
|
/**
|
68
68
|
* Specify a CSS selector that matches the DOM element that should be
|
69
69
|
* focused when the Modal opens.
|
@@ -84,7 +84,7 @@ interface TearsheetShellProps extends PropsWithChildren {
|
|
84
84
|
/**
|
85
85
|
* The DOM element that the tearsheet should be rendered within. Defaults to document.body.
|
86
86
|
*/
|
87
|
-
portalTarget?:
|
87
|
+
portalTarget?: HTMLElement;
|
88
88
|
/**
|
89
89
|
* Specify a CSS selector that matches the DOM element that should be
|
90
90
|
* 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.54.0-canary.
|
4
|
+
"version": "2.54.0-canary.4+a11d0364a",
|
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": "
|
123
|
+
"gitHead": "a11d0364a5beaa3d018db559656c3d7806e1b484"
|
124
124
|
}
|