@carbon/ibm-products 2.53.0 → 2.54.0-canary.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 +10 -3
- package/es/components/APIKeyModal/APIKeyModal.js +47 -7
- package/es/components/APIKeyModal/APIKeyModal.types.d.ts +9 -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 +10 -3
- package/lib/components/APIKeyModal/APIKeyModal.js +46 -6
- package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +9 -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
@@ -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
|