@carbon/ibm-products 2.53.0 → 2.54.0-rc.0
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/css/index-full-carbon.css +1700 -4375
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +8 -0
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +996 -2631
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +92 -44
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/APIKeyModal/APIKeyDownloader.d.ts +3 -1
- package/es/components/APIKeyModal/APIKeyDownloader.js +9 -2
- package/es/components/APIKeyModal/APIKeyModal.js +9 -2
- package/es/components/APIKeyModal/APIKeyModal.types.d.ts +4 -0
- package/es/components/ActionBar/ActionBar.d.ts +2 -1
- package/es/components/ActionSet/ActionSet.d.ts +1 -1
- package/es/components/ActionSet/ActionSet.js +2 -0
- package/es/components/AddSelect/types/index.d.ts +1 -1
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +3 -1
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +11 -3
- package/es/components/Checklist/Checklist.js +2 -3
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +2 -2
- package/es/components/CreateFullPage/CreateFullPage.d.ts +5 -0
- package/es/components/CreateFullPage/CreateFullPage.js +31 -15
- package/es/components/CreateFullPage/CreateFullPageStep.d.ts +4 -0
- package/es/components/CreateFullPage/CreateFullPageStep.js +8 -2
- package/es/components/CreateInfluencer/CreateInfluencer.d.ts +9 -1
- package/es/components/CreateInfluencer/CreateInfluencer.js +8 -2
- package/es/components/CreateModal/CreateModal.d.ts +2 -2
- package/es/components/CreateModal/CreateModal.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +1 -0
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +3 -1
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +5 -2
- package/es/components/Datagrid/types/index.d.ts +3 -3
- package/es/components/EditInPlace/EditInPlace.js +1 -0
- package/es/components/EmptyStates/EmptyState.d.ts +1 -1
- package/es/components/EmptyStates/EmptyState.js +2 -0
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +2 -0
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +2 -0
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +2 -0
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +2 -0
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +2 -0
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +2 -0
- package/es/components/Guidebanner/Guidebanner.js +1 -1
- package/es/components/ImportModal/ImportModal.d.ts +1 -1
- package/es/components/ImportModal/ImportModal.js +3 -8
- package/es/components/InlineTip/InlineTipButton.d.ts +1 -1
- package/es/components/InterstitialScreen/InterstitialScreen.js +2 -2
- package/es/components/Nav/NavList.js +1 -1
- package/es/components/NotificationsPanel/NotificationsPanel.js +2 -1
- package/es/components/PageHeader/PageHeader.d.ts +9 -5
- package/es/components/PageHeader/PageHeader.js +9 -4
- package/es/components/SearchBar/SearchBar.js +1 -1
- package/es/components/SidePanel/SidePanel.d.ts +2 -2
- package/es/components/TagOverflow/TagOverflowModal.d.ts +1 -1
- package/es/components/TagOverflow/TagOverflowPopover.d.ts +3 -1
- package/es/components/TagOverflow/TagOverflowPopover.js +1 -1
- package/es/components/TagSet/TagSetModal.d.ts +1 -1
- package/es/components/Tearsheet/Tearsheet.d.ts +5 -2
- package/es/components/Tearsheet/Tearsheet.js +1 -0
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +1 -1
- package/es/components/Tearsheet/TearsheetNarrow.js +1 -0
- package/es/components/Tearsheet/TearsheetShell.d.ts +2 -3
- package/es/components/Tearsheet/TearsheetShell.js +0 -1
- package/es/components/TooltipTrigger/TooltipTrigger.d.ts +17 -15
- package/es/components/TooltipTrigger/TooltipTrigger.js +2 -2
- package/es/components/TruncatedList/TruncatedList.d.ts +1 -1
- package/es/components/UserAvatar/UserAvatar.d.ts +1 -1
- package/es/components/UserAvatar/UserAvatar.js +3 -2
- package/es/components/UserProfileImage/UserProfileImage.d.ts +2 -2
- package/es/components/UserProfileImage/UserProfileImage.js +1 -5
- package/es/components/WebTerminal/WebTerminal.d.ts +1 -1
- package/es/components/WebTerminal/WebTerminal.js +1 -0
- package/es/node_modules/@carbon/icons-react/es/generated/{bucket-2.js → bucket-3.js} +963 -1037
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-9.js +937 -885
- package/lib/components/APIKeyModal/APIKeyDownloader.d.ts +3 -1
- package/lib/components/APIKeyModal/APIKeyDownloader.js +9 -2
- package/lib/components/APIKeyModal/APIKeyModal.js +9 -2
- package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +4 -0
- package/lib/components/ActionBar/ActionBar.d.ts +2 -1
- package/lib/components/ActionSet/ActionSet.d.ts +1 -1
- package/lib/components/ActionSet/ActionSet.js +2 -0
- package/lib/components/AddSelect/types/index.d.ts +1 -1
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +3 -1
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +11 -3
- package/lib/components/Checklist/Checklist.js +2 -3
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +2 -2
- package/lib/components/CreateFullPage/CreateFullPage.d.ts +5 -0
- package/lib/components/CreateFullPage/CreateFullPage.js +31 -15
- package/lib/components/CreateFullPage/CreateFullPageStep.d.ts +4 -0
- package/lib/components/CreateFullPage/CreateFullPageStep.js +8 -2
- package/lib/components/CreateInfluencer/CreateInfluencer.d.ts +9 -1
- package/lib/components/CreateInfluencer/CreateInfluencer.js +8 -2
- package/lib/components/CreateModal/CreateModal.d.ts +2 -2
- package/lib/components/CreateModal/CreateModal.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +1 -0
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +3 -1
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +5 -2
- package/lib/components/Datagrid/types/index.d.ts +3 -3
- package/lib/components/EditInPlace/EditInPlace.js +1 -0
- package/lib/components/EmptyStates/EmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/EmptyState.js +2 -0
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +2 -0
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +2 -0
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +2 -0
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +2 -0
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +2 -0
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +2 -0
- package/lib/components/Guidebanner/Guidebanner.js +1 -1
- package/lib/components/ImportModal/ImportModal.d.ts +1 -1
- package/lib/components/ImportModal/ImportModal.js +3 -8
- package/lib/components/InlineTip/InlineTipButton.d.ts +1 -1
- package/lib/components/InterstitialScreen/InterstitialScreen.js +2 -2
- package/lib/components/Nav/NavList.js +2 -2
- package/lib/components/NotificationsPanel/NotificationsPanel.js +2 -1
- package/lib/components/PageHeader/PageHeader.d.ts +9 -5
- package/lib/components/PageHeader/PageHeader.js +8 -3
- package/lib/components/SearchBar/SearchBar.js +1 -1
- package/lib/components/SidePanel/SidePanel.d.ts +2 -2
- package/lib/components/TagOverflow/TagOverflowModal.d.ts +1 -1
- package/lib/components/TagOverflow/TagOverflowPopover.d.ts +3 -1
- package/lib/components/TagOverflow/TagOverflowPopover.js +1 -1
- package/lib/components/TagSet/TagSetModal.d.ts +1 -1
- package/lib/components/Tearsheet/Tearsheet.d.ts +5 -2
- package/lib/components/Tearsheet/Tearsheet.js +1 -0
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +1 -1
- package/lib/components/Tearsheet/TearsheetNarrow.js +1 -0
- package/lib/components/Tearsheet/TearsheetShell.d.ts +2 -3
- package/lib/components/Tearsheet/TearsheetShell.js +0 -1
- package/lib/components/TooltipTrigger/TooltipTrigger.d.ts +17 -15
- package/lib/components/TooltipTrigger/TooltipTrigger.js +2 -2
- package/lib/components/TruncatedList/TruncatedList.d.ts +1 -1
- package/lib/components/UserAvatar/UserAvatar.d.ts +1 -1
- package/lib/components/UserAvatar/UserAvatar.js +3 -2
- package/lib/components/UserProfileImage/UserProfileImage.d.ts +2 -2
- package/lib/components/UserProfileImage/UserProfileImage.js +1 -5
- package/lib/components/WebTerminal/WebTerminal.d.ts +1 -1
- package/lib/components/WebTerminal/WebTerminal.js +1 -0
- package/lib/node_modules/@carbon/icons-react/es/generated/{bucket-2.js → bucket-3.js} +1078 -1152
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-9.js +980 -928
- package/package.json +11 -11
- package/scss/components/EditFullPage/_index.scss +1 -1
- package/scss/components/EditTearsheet/_index.scss +1 -1
- package/scss/components/EditTearsheetNarrow/_index.scss +1 -1
- package/scss/components/EditUpdateCards/_edit-update-cards.scss +3 -3
- package/scss/components/UserAvatar/_carbon-imports.scss +1 -0
- package/scss/components/UserAvatar/_user-avatar.scss +4 -0
- package/telemetry.yml +5 -1
@@ -69,6 +69,7 @@ NoTagsEmptyState.propTypes = {
|
|
69
69
|
action: PropTypes.shape(_objectSpread2(_objectSpread2({}, Button.propTypes), {}, {
|
70
70
|
kind: PropTypes.oneOf(['primary', 'secondary', 'tertiary']),
|
71
71
|
renderIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
72
|
+
/**@ts-ignore*/
|
72
73
|
onClick: Button.propTypes.onClick,
|
73
74
|
text: PropTypes.string
|
74
75
|
})),
|
@@ -94,6 +95,7 @@ NoTagsEmptyState.propTypes = {
|
|
94
95
|
/**
|
95
96
|
* Empty state link object
|
96
97
|
*/
|
98
|
+
/**@ts-ignore*/
|
97
99
|
link: PropTypes.shape(_objectSpread2(_objectSpread2({}, Link.propTypes), {}, {
|
98
100
|
text: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
99
101
|
href: PropTypes.string
|
@@ -15,7 +15,7 @@ export interface NotFoundEmptyStateProps {
|
|
15
15
|
action?: {
|
16
16
|
kind?: 'primary' | 'secondary' | 'tertiary';
|
17
17
|
renderIcon?: CarbonIconType;
|
18
|
-
onClick?: ButtonProps['onClick'];
|
18
|
+
onClick?: ButtonProps<React.ElementType>['onClick'];
|
19
19
|
text?: string;
|
20
20
|
};
|
21
21
|
/**
|
@@ -69,6 +69,7 @@ NotFoundEmptyState.propTypes = {
|
|
69
69
|
action: PropTypes.shape(_objectSpread2(_objectSpread2({}, Button.propTypes), {}, {
|
70
70
|
kind: PropTypes.oneOf(['primary', 'secondary', 'tertiary']),
|
71
71
|
renderIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
72
|
+
/**@ts-ignore*/
|
72
73
|
onClick: Button.propTypes.onClick,
|
73
74
|
text: PropTypes.string
|
74
75
|
})),
|
@@ -94,6 +95,7 @@ NotFoundEmptyState.propTypes = {
|
|
94
95
|
/**
|
95
96
|
* Empty state link object
|
96
97
|
*/
|
98
|
+
/**@ts-ignore*/
|
97
99
|
link: PropTypes.shape(_objectSpread2(_objectSpread2({}, Link.propTypes), {}, {
|
98
100
|
text: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
99
101
|
href: PropTypes.string
|
@@ -15,7 +15,7 @@ export interface NotificationsEmptyStateProps {
|
|
15
15
|
action?: {
|
16
16
|
kind?: 'primary' | 'secondary' | 'tertiary';
|
17
17
|
renderIcon?: CarbonIconType;
|
18
|
-
onClick?: ButtonProps['onClick'];
|
18
|
+
onClick?: ButtonProps<React.ElementType>['onClick'];
|
19
19
|
text?: string;
|
20
20
|
};
|
21
21
|
/**
|
@@ -69,6 +69,7 @@ NotificationsEmptyState.propTypes = {
|
|
69
69
|
action: PropTypes.shape(_objectSpread2(_objectSpread2({}, Button.propTypes), {}, {
|
70
70
|
kind: PropTypes.oneOf(['primary', 'secondary', 'tertiary']),
|
71
71
|
renderIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
72
|
+
/**@ts-ignore*/
|
72
73
|
onClick: Button.propTypes.onClick,
|
73
74
|
text: PropTypes.string
|
74
75
|
})),
|
@@ -94,6 +95,7 @@ NotificationsEmptyState.propTypes = {
|
|
94
95
|
/**
|
95
96
|
* Empty state link object
|
96
97
|
*/
|
98
|
+
/**@ts-ignore*/
|
97
99
|
link: PropTypes.shape(_objectSpread2(_objectSpread2({}, Link.propTypes), {}, {
|
98
100
|
text: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
99
101
|
href: PropTypes.string
|
@@ -15,7 +15,7 @@ export interface UnauthorizedEmptyStateProps {
|
|
15
15
|
action?: {
|
16
16
|
kind?: 'primary' | 'secondary' | 'tertiary';
|
17
17
|
renderIcon?: CarbonIconType;
|
18
|
-
onClick?: ButtonProps['onClick'];
|
18
|
+
onClick?: ButtonProps<React.ElementType>['onClick'];
|
19
19
|
text?: string;
|
20
20
|
};
|
21
21
|
/**
|
@@ -70,6 +70,7 @@ UnauthorizedEmptyState.propTypes = {
|
|
70
70
|
action: PropTypes.shape(_objectSpread2(_objectSpread2({}, Button.propTypes), {}, {
|
71
71
|
kind: PropTypes.oneOf(['primary', 'secondary', 'tertiary']),
|
72
72
|
renderIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
73
|
+
/**@ts-ignore*/
|
73
74
|
onClick: Button.propTypes.onClick,
|
74
75
|
text: PropTypes.string
|
75
76
|
})),
|
@@ -95,6 +96,7 @@ UnauthorizedEmptyState.propTypes = {
|
|
95
96
|
/**
|
96
97
|
* Empty state link object
|
97
98
|
*/
|
99
|
+
/**@ts-ignore*/
|
98
100
|
link: PropTypes.shape(_objectSpread2(_objectSpread2({}, Link.propTypes), {}, {
|
99
101
|
text: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
100
102
|
href: PropTypes.string
|
@@ -144,7 +144,7 @@ var Guidebanner = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
144
144
|
})))))), onClose && /*#__PURE__*/React__default.createElement("span", {
|
145
145
|
className: "".concat(blockClass, "__close-button")
|
146
146
|
}, /*#__PURE__*/React__default.createElement(IconButton, {
|
147
|
-
align: "bottom-
|
147
|
+
align: "bottom-end",
|
148
148
|
kind: "ghost",
|
149
149
|
label: closeIconDescription,
|
150
150
|
onClick: onClose,
|
@@ -18,14 +18,9 @@ import uuidv4 from '../../global/js/utils/uuidv4.js';
|
|
18
18
|
|
19
19
|
var _excluded = ["accept", "className", "defaultErrorBody", "defaultErrorHeader", "description", "fetchErrorBody", "fetchErrorHeader", "fileDropHeader", "fileDropLabel", "fileUploadLabel", "inputButtonIcon", "inputButtonText", "inputId", "inputLabel", "inputPlaceholder", "invalidFileTypeErrorBody", "invalidFileTypeErrorHeader", "invalidIconDescription", "maxFileSize", "maxFileSizeErrorBody", "maxFileSizeErrorHeader", "onClose", "onRequestSubmit", "open", "portalTarget", "primaryButtonText", "secondaryButtonText", "title"];
|
20
20
|
var componentName = 'ImportModal';
|
21
|
-
|
22
|
-
// Default values for props
|
23
|
-
var defaults = {
|
24
|
-
accept: Object.freeze([])
|
25
|
-
};
|
26
21
|
var ImportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
27
22
|
var _ref$accept = _ref.accept,
|
28
|
-
accept = _ref$accept === void 0 ?
|
23
|
+
accept = _ref$accept === void 0 ? [] : _ref$accept,
|
29
24
|
className = _ref.className,
|
30
25
|
defaultErrorBody = _ref.defaultErrorBody,
|
31
26
|
defaultErrorHeader = _ref.defaultErrorHeader,
|
@@ -222,7 +217,7 @@ var ImportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
222
217
|
className: "".concat(blockClass, "__input-group")
|
223
218
|
}, /*#__PURE__*/React__default.createElement(TextInput, {
|
224
219
|
labelText: "",
|
225
|
-
id: inputId,
|
220
|
+
id: inputId || '',
|
226
221
|
onChange: inputHandler,
|
227
222
|
placeholder: inputPlaceholder,
|
228
223
|
value: importUrl,
|
@@ -237,7 +232,7 @@ var ImportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
237
232
|
return /*#__PURE__*/React__default.createElement(Add, _extends({
|
238
233
|
size: 20
|
239
234
|
}, props));
|
240
|
-
} :
|
235
|
+
} : undefined
|
241
236
|
}, inputButtonText)), /*#__PURE__*/React__default.createElement("div", {
|
242
237
|
className: "".concat(carbonPrefix, "--file-container ").concat(blockClass, "__file-container")
|
243
238
|
}, hasFiles && /*#__PURE__*/React__default.createElement("p", {
|
@@ -20,4 +20,4 @@ export interface InlineTipButtonProps {
|
|
20
20
|
*/
|
21
21
|
export declare let InlineTipButton: React.ForwardRefExoticComponent<InlineTipButtonProps & {
|
22
22
|
children?: React.ReactNode;
|
23
|
-
} & React.RefAttributes<
|
23
|
+
} & React.RefAttributes<ButtonProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>>>;
|
@@ -127,8 +127,8 @@ var InterstitialScreen = /*#__PURE__*/React__default.forwardRef(function (_ref,
|
|
127
127
|
onClose();
|
128
128
|
}, [onClose]);
|
129
129
|
var scrollBodyToTop = function scrollBodyToTop() {
|
130
|
-
var _bodyScrollRef$curren;
|
131
|
-
(_bodyScrollRef$curren = bodyScrollRef.current) === null || _bodyScrollRef$curren === void 0 || _bodyScrollRef$curren.scroll({
|
130
|
+
var _bodyScrollRef$curren, _bodyScrollRef$curren2;
|
131
|
+
(_bodyScrollRef$curren = bodyScrollRef.current) === null || _bodyScrollRef$curren === void 0 || (_bodyScrollRef$curren2 = _bodyScrollRef$curren.scroll) === null || _bodyScrollRef$curren2 === void 0 || _bodyScrollRef$curren2.call(_bodyScrollRef$curren, {
|
132
132
|
top: 0,
|
133
133
|
behavior: 'smooth'
|
134
134
|
});
|
@@ -11,7 +11,7 @@ import cx from 'classnames';
|
|
11
11
|
import { p as propTypesExports } from '../../_virtual/index.js';
|
12
12
|
import NavItem, { blockClass as blockClass$1 } from './NavItem.js';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
|
-
import { ChevronDown } from '../../node_modules/@carbon/icons-react/es/generated/bucket-
|
14
|
+
import { ChevronDown } from '../../node_modules/@carbon/icons-react/es/generated/bucket-3.js';
|
15
15
|
|
16
16
|
var componentName = 'NavList';
|
17
17
|
var blockClass = "".concat(pkg.prefix, "--nav-list");
|
@@ -459,7 +459,8 @@ var NotificationsPanel = /*#__PURE__*/React__default.forwardRef(function (_ref,
|
|
459
459
|
iconDescription: settingsIconDescription,
|
460
460
|
onClick: function onClick() {
|
461
461
|
return onSettingsClick();
|
462
|
-
}
|
462
|
+
},
|
463
|
+
hasIconOnly: true
|
463
464
|
})) : null)), /*#__PURE__*/React__default.createElement("button", {
|
464
465
|
type: "button",
|
465
466
|
className: "".concat(carbonPrefix, "--visually-hidden"),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference path="../../../src/custom-typings/index.d.ts" />
|
2
|
-
import { Tag } from '@carbon/react';
|
3
|
-
import {
|
2
|
+
import { Tag, ButtonProps, PopoverAlignment } from '@carbon/react';
|
3
|
+
import { TagProps } from '@carbon/react/lib/components/Tag/Tag';
|
4
4
|
import React, { PropsWithChildren, ReactNode } from 'react';
|
5
5
|
interface ActionBarItem extends ButtonProps {
|
6
6
|
iconDescription: string;
|
@@ -122,7 +122,7 @@ type PageActionProps = {
|
|
122
122
|
* - maxWidth: maximum number of pixels the content will grow to
|
123
123
|
* Carbon Button API https://react.carbondesignsystem.com/?path=/docs/components-button--default#component-api
|
124
124
|
*/
|
125
|
-
pageActions: ButtonProps[] | PageAction;
|
125
|
+
pageActions: ButtonProps<React.ElementType>[] | PageAction;
|
126
126
|
/**
|
127
127
|
* When there is insufficient space to display all of hte page actions inline a dropdown button menu is shown,
|
128
128
|
* containing the page actions. This label is used as the display content of the dropdown button menu.
|
@@ -134,7 +134,7 @@ type PageActionProps = {
|
|
134
134
|
pageActions?: never;
|
135
135
|
pageActionsOverflowLabel?: ReactNode;
|
136
136
|
};
|
137
|
-
interface Tag extends TagProps {
|
137
|
+
interface Tag extends TagProps<React.ElementType> {
|
138
138
|
label: string;
|
139
139
|
}
|
140
140
|
interface TitleIcon {
|
@@ -189,6 +189,10 @@ interface PageHeaderBaseProps extends PropsWithChildren {
|
|
189
189
|
* align breadcrumb overflow tooltip
|
190
190
|
*/
|
191
191
|
breadcrumbOverflowTooltipAlign?: PopoverAlignment;
|
192
|
+
/**
|
193
|
+
* Label for the Breadcrumb component
|
194
|
+
*/
|
195
|
+
breadcrumbLabel?: string;
|
192
196
|
/**
|
193
197
|
* Specifies class(es) to be applied to the top-level PageHeader node.
|
194
198
|
* Optional.
|
@@ -225,7 +229,7 @@ interface PageHeaderBaseProps extends PropsWithChildren {
|
|
225
229
|
* Content for the navigation area in the PageHeader. Should
|
226
230
|
* be a React element that is normally a Carbon Tabs component. Optional.
|
227
231
|
*/
|
228
|
-
navigation?:
|
232
|
+
navigation?: ReactNode;
|
229
233
|
/**
|
230
234
|
* class name applied to the page actions overflow options
|
231
235
|
*/
|
@@ -9,7 +9,7 @@ import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWith
|
|
9
9
|
import { Button, Tooltip, Tag, usePrefix, FlexGrid, Row, Column } from '@carbon/react';
|
10
10
|
import React__default, { useState, useRef, useEffect } from 'react';
|
11
11
|
import { string_required_if_more_than_10_tags, TagSet } from '../TagSet/TagSet.js';
|
12
|
-
import {
|
12
|
+
import { spacing, baseFontSize, breakpoints } from '@carbon/layout';
|
13
13
|
import { blockClass, utilSetCollapsed, utilGetBreadcrumbItemForTitle, utilCheckUpdateVerticalSpace } from './PageHeaderUtils.js';
|
14
14
|
import { deprecateProp, prepareProps } from '../../global/js/utils/props-helper.js';
|
15
15
|
import { ChevronUp } from '@carbon/react/icons';
|
@@ -25,7 +25,7 @@ import { BreadcrumbWithOverflow } from '../BreadcrumbWithOverflow/BreadcrumbWith
|
|
25
25
|
import { ActionBar } from '../ActionBar/ActionBar.js';
|
26
26
|
import { ButtonSetWithOverflow } from '../ButtonSetWithOverflow/ButtonSetWithOverflow.js';
|
27
27
|
|
28
|
-
var _excluded = ["actionBarItems", "actionBarMenuOptionsClass", "actionBarOverflowAriaLabel", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "allTagsModalTitle", "hasBackgroundAlways", "breadcrumbOverflowAriaLabel", "breadcrumbs", "children", "className", "collapseHeader", "collapseHeaderIconDescription", "collapseTitle", "disableBreadcrumbScroll", "enableBreadcrumbScroll", "expandHeaderIconDescription", "fullWidthGrid", "hasCollapseHeaderToggle", "narrowGrid", "navigation", "pageActions", "pageActionsOverflowLabel", "pageActionsMenuOptionsClass", "showAllTagsLabel", "subtitle", "tags", "title", "withoutBackground", "breadcrumbOverflowTooltipAlign"];
|
28
|
+
var _excluded = ["actionBarItems", "actionBarMenuOptionsClass", "actionBarOverflowAriaLabel", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "allTagsModalTitle", "hasBackgroundAlways", "breadcrumbOverflowAriaLabel", "breadcrumbLabel", "breadcrumbs", "children", "className", "collapseHeader", "collapseHeaderIconDescription", "collapseTitle", "disableBreadcrumbScroll", "enableBreadcrumbScroll", "expandHeaderIconDescription", "fullWidthGrid", "hasCollapseHeaderToggle", "narrowGrid", "navigation", "pageActions", "pageActionsOverflowLabel", "pageActionsMenuOptionsClass", "showAllTagsLabel", "subtitle", "tags", "title", "withoutBackground", "breadcrumbOverflowTooltipAlign"];
|
29
29
|
var componentName = 'PageHeader';
|
30
30
|
pkg._silenceWarnings(true);
|
31
31
|
pkg.component.ActionBar = true;
|
@@ -46,6 +46,7 @@ var PageHeader = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
46
46
|
allTagsModalTitle = _ref.allTagsModalTitle,
|
47
47
|
deprecated_hasBackgroundAlways = _ref.hasBackgroundAlways,
|
48
48
|
breadcrumbOverflowAriaLabel = _ref.breadcrumbOverflowAriaLabel,
|
49
|
+
breadcrumbLabel = _ref.breadcrumbLabel,
|
49
50
|
breadcrumbs = _ref.breadcrumbs,
|
50
51
|
children = _ref.children,
|
51
52
|
className = _ref.className,
|
@@ -306,7 +307,7 @@ var PageHeader = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
306
307
|
// Determines the appropriate header background opacity based on the header config/height/scroll and the withoutBackground setting
|
307
308
|
var result = withoutBackground ? 0 : 1;
|
308
309
|
if (!result && metrics !== null && metrics !== void 0 && metrics.headerHeight && metrics.headerHeight > 0 && (breadcrumbs || actionBarItems || tags || navigation)) {
|
309
|
-
var startAddingAt = parseFloat(
|
310
|
+
var startAddingAt = parseFloat("".concat(spacing[9])) * parseInt("".concat(baseFontSize));
|
310
311
|
var scrollRemaining = metrics.headerHeight - scrollYValue;
|
311
312
|
|
312
313
|
/* don't know how to test resize */
|
@@ -385,7 +386,8 @@ var PageHeader = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
385
386
|
overflowAriaLabel: breadcrumbOverflowAriaLabel,
|
386
387
|
breadcrumbs: displayedBreadcrumbs,
|
387
388
|
overflowTooltipAlign: breadcrumbOverflowTooltipAlign,
|
388
|
-
maxVisible: undefined
|
389
|
+
maxVisible: undefined,
|
390
|
+
label: breadcrumbLabel
|
389
391
|
})), /*#__PURE__*/React__default.createElement(Column, {
|
390
392
|
className: cx(["".concat(blockClass, "__action-bar-column ").concat(blockClass, "__action-bar-column--background"), _defineProperty(_defineProperty({}, "".concat(blockClass, "__action-bar-column--has-page-actions"), pageActions), "".concat(blockClass, "__action-bar-column--influenced-by-collapse-button"), spaceForCollapseButton)])
|
391
393
|
}, /*#__PURE__*/React__default.createElement("div", {
|
@@ -532,7 +534,9 @@ PageHeader.propTypes = _objectSpread2({
|
|
532
534
|
/**@ts-ignore */
|
533
535
|
actionBarItems: PropTypes.arrayOf(PropTypes.shape(_objectSpread2(_objectSpread2({}, prepareProps(Button.propTypes, ['kind', 'size', 'tooltipPosition', 'tooltipAlignment'])), {}, {
|
534
536
|
iconDescription: PropTypes.string.isRequired,
|
537
|
+
/**@ts-ignore*/
|
535
538
|
onClick: Button.propTypes.onClick,
|
539
|
+
/**@ts-ignore*/
|
536
540
|
renderIcon: Button.propTypes.renderIcon.isRequired
|
537
541
|
}))),
|
538
542
|
/**
|
@@ -715,6 +719,7 @@ PageHeader.propTypes = _objectSpread2({
|
|
715
719
|
/**@ts-ignore */
|
716
720
|
pageActions: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.shape(_objectSpread2(_objectSpread2({}, Button.propTypes), {}, {
|
717
721
|
key: PropTypes.string.isRequired,
|
722
|
+
/**@ts-ignore*/
|
718
723
|
kind: Button.propTypes.kind,
|
719
724
|
label: PropTypes.node,
|
720
725
|
onClick: PropTypes.func
|
@@ -136,7 +136,7 @@ var SearchBar = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
136
136
|
className: "".concat(blockClass, "__input"),
|
137
137
|
closeButtonLabelText: clearButtonLabelText,
|
138
138
|
labelText: labelText,
|
139
|
-
name:
|
139
|
+
name: 'search-input',
|
140
140
|
onChange: handleInputChange,
|
141
141
|
placeholder: placeholderText,
|
142
142
|
value: text,
|
@@ -11,7 +11,7 @@ type SidePanelBaseProps = {
|
|
11
11
|
/**
|
12
12
|
* Sets the action toolbar buttons
|
13
13
|
*/
|
14
|
-
actionToolbarButtons?: ButtonProps<
|
14
|
+
actionToolbarButtons?: ButtonProps<React.ElementType>[];
|
15
15
|
/**
|
16
16
|
* The primary actions to be shown in the side panel. Each action is
|
17
17
|
* specified as an object that will render expressive Buttons. Any Button
|
@@ -20,7 +20,7 @@ type SidePanelBaseProps = {
|
|
20
20
|
*
|
21
21
|
* See https://react.carbondesignsystem.com/?path=/docs/components-button--default#component-api
|
22
22
|
*/
|
23
|
-
actions?: ButtonProps<
|
23
|
+
actions?: ButtonProps<React.ElementType>[];
|
24
24
|
/**
|
25
25
|
* Determines if the title will animate on scroll
|
26
26
|
*/
|
@@ -5,7 +5,7 @@ import { Tag } from '@carbon/react';
|
|
5
5
|
interface TagType {
|
6
6
|
label: string;
|
7
7
|
}
|
8
|
-
type AllTags = (TagType & Omit<React.ComponentProps<Tag>, 'filter'>)[];
|
8
|
+
type AllTags = (TagType & Omit<React.ComponentProps<typeof Tag>, 'filter'>)[];
|
9
9
|
interface TagOverflowModalProps {
|
10
10
|
allTags?: AllTags;
|
11
11
|
className?: string;
|
@@ -1,11 +1,13 @@
|
|
1
|
+
/// <reference path="../../../src/custom-typings/index.d.ts" />
|
1
2
|
import React from 'react';
|
3
|
+
import { PopoverAlignment } from '@carbon/react';
|
2
4
|
import { TagOverflowItem } from './TagOverflow';
|
3
5
|
export interface Props {
|
4
6
|
allTagsModalSearchThreshold?: number;
|
5
7
|
autoAlign?: boolean;
|
6
8
|
className?: string;
|
7
9
|
onShowAllClick: () => void;
|
8
|
-
overflowAlign?:
|
10
|
+
overflowAlign?: PopoverAlignment;
|
9
11
|
overflowTags: TagOverflowItem[];
|
10
12
|
overflowType?: string;
|
11
13
|
popoverOpen?: boolean;
|
@@ -68,7 +68,7 @@ var TagOverflowPopover = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
68
68
|
dropShadow: true,
|
69
69
|
highContrast: true,
|
70
70
|
onKeyDown: handleEscKeyPress,
|
71
|
-
open: popoverOpen
|
71
|
+
open: popoverOpen || false
|
72
72
|
}, /*#__PURE__*/React__default.createElement(OperationalTag, {
|
73
73
|
onClick: function onClick() {
|
74
74
|
return setPopoverOpen === null || setPopoverOpen === void 0 ? void 0 : setPopoverOpen(!popoverOpen);
|
@@ -5,7 +5,7 @@ import { Tag } from '@carbon/react';
|
|
5
5
|
interface TagType {
|
6
6
|
label: string;
|
7
7
|
}
|
8
|
-
type AllTags = TagType[] & Omit<React.ComponentProps<Tag>, 'filter'>[];
|
8
|
+
type AllTags = TagType[] & Omit<React.ComponentProps<typeof Tag>, 'filter'>[];
|
9
9
|
interface TagSetModalProps {
|
10
10
|
allTags?: AllTags;
|
11
11
|
className?: string;
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
/// <reference path="../../../src/custom-typings/index.d.ts" />
|
8
|
-
import { ButtonProps } from '@carbon/react';
|
8
|
+
import { type ButtonProps } from '@carbon/react';
|
9
9
|
import React, { PropsWithChildren, ReactNode } from 'react';
|
10
10
|
import PropTypes from 'prop-types';
|
11
11
|
/**
|
@@ -21,6 +21,9 @@ export type CloseIconDescriptionTypes = {
|
|
21
21
|
hasCloseIcon: true;
|
22
22
|
closeIconDescription: string;
|
23
23
|
};
|
24
|
+
export interface TearsheetAction extends ButtonProps<'button'> {
|
25
|
+
label?: string;
|
26
|
+
}
|
24
27
|
export interface TearsheetProps extends PropsWithChildren {
|
25
28
|
/**
|
26
29
|
* The navigation actions to be shown as buttons in the action area at the
|
@@ -35,7 +38,7 @@ export interface TearsheetProps extends PropsWithChildren {
|
|
35
38
|
*
|
36
39
|
* See https://react.carbondesignsystem.com/?path=/docs/components-button--default#component-api
|
37
40
|
*/
|
38
|
-
actions?:
|
41
|
+
actions?: TearsheetAction[];
|
39
42
|
/**
|
40
43
|
* The aria-label for the tearsheet, which is optional.
|
41
44
|
* 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<React.ElementType>[];
|
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.
|
@@ -4,12 +4,11 @@
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
|
-
/// <reference path="../../../src/custom-typings/index.d.ts" />
|
8
7
|
import React, { PropsWithChildren, ReactNode, RefObject } from 'react';
|
9
8
|
import PropTypes from 'prop-types';
|
10
|
-
import {
|
9
|
+
import { TearsheetAction } from './Tearsheet';
|
11
10
|
interface TearsheetShellProps extends PropsWithChildren {
|
12
|
-
actions?:
|
11
|
+
actions?: TearsheetAction[];
|
13
12
|
/**
|
14
13
|
* Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency,
|
15
14
|
* accountability, and explainability at the UI level.
|
@@ -22,7 +22,6 @@ import { useFocus, getSpecificElement } from '../../global/js/hooks/useFocus.js'
|
|
22
22
|
import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
|
23
23
|
|
24
24
|
var _excluded = ["actions", "aiLabel", "ariaLabel", "children", "className", "closeIconDescription", "description", "hasCloseIcon", "headerActions", "influencer", "influencerPosition", "influencerWidth", "label", "navigation", "onClose", "open", "portalTarget", "selectorPrimaryFocus", "selectorsFloatingMenus", "size", "slug", "title", "verticalPosition", "launcherButtonRef"];
|
25
|
-
|
26
25
|
// The block part of our conventional BEM class names (bc__E--M).
|
27
26
|
var bc = "".concat(pkg.prefix, "--tearsheet");
|
28
27
|
var componentName = 'TearsheetShell';
|
@@ -1,16 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2023, 2023
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
import React, { PropsWithChildren } from 'react';
|
8
|
+
export interface TooltipTriggerProps extends PropsWithChildren {
|
9
|
+
/**
|
10
|
+
* Provide an optional class to be applied to the containing node.
|
11
|
+
*/
|
12
|
+
className?: string;
|
12
13
|
}
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
/**
|
15
|
+
* This is an tooltip trigger as Carbon Tooltip requires an active element to work but provides
|
16
|
+
* no blanked button.
|
17
|
+
*/
|
18
|
+
export declare let TooltipTrigger: React.ForwardRefExoticComponent<TooltipTriggerProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -23,7 +23,7 @@ var componentName = 'TooltipTrigger';
|
|
23
23
|
* This is an tooltip trigger as Carbon Tooltip requires an active element to work but provides
|
24
24
|
* no blanked button.
|
25
25
|
*/
|
26
|
-
var TooltipTrigger = function
|
26
|
+
var TooltipTrigger = /*#__PURE__*/React__default.forwardRef(function (_ref) {
|
27
27
|
var children = _ref.children,
|
28
28
|
className = _ref.className,
|
29
29
|
rest = _objectWithoutProperties(_ref, _excluded);
|
@@ -35,7 +35,7 @@ var TooltipTrigger = function TooltipTrigger(_ref) {
|
|
35
35
|
className // Apply any supplied class names to the main HTML element.
|
36
36
|
)
|
37
37
|
}), children);
|
38
|
-
};
|
38
|
+
});
|
39
39
|
|
40
40
|
// Return a placeholder if not released and not enabled by feature flag.
|
41
41
|
TooltipTrigger = pkg.checkComponentEnabled(TooltipTrigger, componentName);
|
@@ -41,7 +41,7 @@ export interface TruncatedListProps extends PropsWithChildren {
|
|
41
41
|
/**
|
42
42
|
* Callback function for building the label when the list is collapsed.
|
43
43
|
*/
|
44
|
-
viewMoreLabel?: (value: any) =>
|
44
|
+
viewMoreLabel?: (value: any) => ReactNode;
|
45
45
|
}
|
46
46
|
/**
|
47
47
|
* The `TruncatedList` allows consumers to control how many items are
|
@@ -41,7 +41,7 @@ type UserAvatarBaseProps = {
|
|
41
41
|
/**
|
42
42
|
* Provide a custom icon to use if you need to use an icon other than the default one
|
43
43
|
*/
|
44
|
-
renderIcon?: React.ElementType;
|
44
|
+
renderIcon?: React.ElementType | string;
|
45
45
|
/**
|
46
46
|
* Set the size of the avatar circle
|
47
47
|
*/
|
@@ -123,7 +123,8 @@ UserAvatar.displayName = componentName;
|
|
123
123
|
// See https://www.npmjs.com/package/prop-types#usage.
|
124
124
|
UserAvatar.propTypes = {
|
125
125
|
/**
|
126
|
-
* Provide the background color need to be set for UserAvatar.
|
126
|
+
* Provide the background color need to be set for UserAvatar. Background color will be set based on lighter or darker theme.
|
127
|
+
* For example: if you select order-5-purple, it will take $purple-60 for lighter theme and $purple-50 for darker theme.
|
127
128
|
*/
|
128
129
|
backgroundColor: PropTypes.oneOf(['order-1-cyan', 'order-2-gray', 'order-3-green', 'order-4-magenta', 'order-5-purple', 'order-6-teal', 'order-7-cyan', 'order-8-gray', 'order-9-green', 'order-10-magenta', 'order-11-purple', 'order-12-teal']),
|
129
130
|
/**
|
@@ -151,7 +152,7 @@ UserAvatar.propTypes = {
|
|
151
152
|
* Provide a custom icon to use if you need to use an icon other than the default one
|
152
153
|
*/
|
153
154
|
/**@ts-ignore */
|
154
|
-
renderIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
155
|
+
renderIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.string]),
|
155
156
|
/**
|
156
157
|
* Set the size of the avatar circle
|
157
158
|
*/
|
@@ -6,8 +6,8 @@
|
|
6
6
|
*/
|
7
7
|
/// <reference path="../../../src/custom-typings/index.d.ts" />
|
8
8
|
import '../../global/js/utils/props-helper';
|
9
|
+
import { PopoverAlignment } from '@carbon/react';
|
9
10
|
import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
|
10
|
-
import { IconButton } from '@carbon/react';
|
11
11
|
import React from 'react';
|
12
12
|
type imageProps = {
|
13
13
|
/**
|
@@ -55,7 +55,7 @@ type UserProfileImageBaseProps = {
|
|
55
55
|
/**
|
56
56
|
* Specify how the trigger should align with the tooltip
|
57
57
|
*/
|
58
|
-
tooltipAlignment?:
|
58
|
+
tooltipAlignment?: PopoverAlignment;
|
59
59
|
/**
|
60
60
|
* Pass in the display name to have it shown on hover
|
61
61
|
*/
|
@@ -24,10 +24,6 @@ var componentName = 'UserProfileImage';
|
|
24
24
|
|
25
25
|
// NOTE: the component SCSS is not imported here: it is rolled up separately.
|
26
26
|
|
27
|
-
// Default values for props
|
28
|
-
var defaults = {
|
29
|
-
tooltipAlignment: 'bottom'
|
30
|
-
};
|
31
27
|
/**
|
32
28
|
* The user profile avatar allows for an image of the user to be displayed by passing in the image prop. By default the component will display a user icon on a blue background.
|
33
29
|
*/
|
@@ -44,7 +40,7 @@ var UserProfileImage = /*#__PURE__*/React__default.forwardRef(function (_ref, re
|
|
44
40
|
theme = _ref.theme,
|
45
41
|
tooltipText = _ref.tooltipText,
|
46
42
|
_ref$tooltipAlignment = _ref.tooltipAlignment,
|
47
|
-
tooltipAlignment = _ref$tooltipAlignment === void 0 ?
|
43
|
+
tooltipAlignment = _ref$tooltipAlignment === void 0 ? 'bottom' : _ref$tooltipAlignment,
|
48
44
|
rest = _objectWithoutProperties(_ref, _excluded);
|
49
45
|
var carbonPrefix = usePrefix();
|
50
46
|
var icons = {
|
@@ -190,6 +190,7 @@ WebTerminal.propTypes = {
|
|
190
190
|
/**
|
191
191
|
* Array of objects for each documentation link. Each documentation link uses the prop types of OverflowMenuItems. See more: https://react.carbondesignsystem.com/?path=/docs/components-overflowmenu--default
|
192
192
|
*/
|
193
|
+
/**@ts-ignore */
|
193
194
|
documentationLinks: PropTypes.arrayOf(PropTypes.shape(_objectSpread2({}, OverflowMenuItem.propTypes))),
|
194
195
|
/**
|
195
196
|
* Description for the documentation link overflow menu tooltip
|