@carbon/ibm-products 2.43.2-canary.127 → 2.43.2-canary.129
Sign up to get free protection for your applications and to get access to all the features.
- package/es/components/AddSelect/AddSelectBody.js +2 -2
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
- package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +2 -1
- package/es/components/EditSidePanel/EditSidePanel.js +1 -1
- package/es/components/EditUpdateCards/EditUpdateCards.js +1 -1
- package/es/components/FeatureFlags/index.d.ts +26 -21
- package/es/components/FeatureFlags/index.js +1 -10
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
- package/es/components/FilterSummary/FilterSummary.d.ts +1 -1
- package/es/components/FilterSummary/FilterSummary.js +7 -8
- package/es/components/FilterSummary/index.d.ts +8 -1
- package/es/components/FullPageError/FullPageError.d.ts +1 -2
- package/es/components/FullPageError/FullPageError.js +4 -4
- package/es/components/FullPageError/index.d.ts +8 -1
- package/es/components/GetStartedCard/GetStartedCard.d.ts +1 -1
- package/es/components/GetStartedCard/index.d.ts +8 -1
- package/es/components/Guidebanner/Guidebanner.d.ts +1 -2
- package/es/components/Guidebanner/Guidebanner.js +4 -4
- package/es/components/Guidebanner/GuidebannerElement.d.ts +1 -2
- package/es/components/Guidebanner/GuidebannerElementButton.d.ts +2 -3
- package/es/components/Guidebanner/GuidebannerElementButton.js +2 -2
- package/es/components/Guidebanner/GuidebannerElementLink.d.ts +2 -3
- package/es/components/Guidebanner/GuidebannerElementLink.js +1 -1
- package/es/components/Guidebanner/index.d.ts +14 -4
- package/es/components/ImportModal/ImportModal.d.ts +1 -1
- package/es/components/ImportModal/ImportModal.js +3 -3
- package/es/components/ImportModal/index.d.ts +2 -1
- package/es/components/InlineTip/InlineTip.d.ts +1 -1
- package/es/components/InlineTip/InlineTip.js +4 -4
- package/es/components/InlineTip/InlineTipButton.d.ts +1 -2
- package/es/components/InlineTip/InlineTipButton.js +1 -1
- package/es/components/InlineTip/InlineTipLink.d.ts +1 -2
- package/es/components/InlineTip/InlineTipLink.js +2 -2
- package/es/components/InlineTip/index.d.ts +12 -3
- package/es/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
- package/es/components/InterstitialScreen/InterstitialScreen.js +6 -6
- package/es/components/InterstitialScreen/index.d.ts +8 -1
- package/es/components/InterstitialScreenView/InterstitialScreenView.d.ts +1 -2
- package/es/components/InterstitialScreenView/index.d.ts +8 -1
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +1 -2
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
- package/es/components/InterstitialScreenViewModule/index.d.ts +8 -1
- package/es/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
- package/es/components/MultiAddSelect/MultiAddSelect.js +1 -1
- package/es/components/MultiAddSelect/index.d.ts +2 -1
- package/es/components/NonLinearReading/NonLinearReading.d.ts +1 -1
- package/es/components/NonLinearReading/NonLinearReading.js +2 -2
- package/es/components/NonLinearReading/index.d.ts +8 -1
- package/es/components/NotificationsPanel/NotificationsPanel.d.ts +2 -2
- package/es/components/NotificationsPanel/NotificationsPanel.js +3 -3
- package/es/components/NotificationsPanel/index.d.ts +8 -1
- package/es/components/OptionsTile/OptionsTile.d.ts +1 -2
- package/es/components/OptionsTile/OptionsTile.js +4 -4
- package/es/components/OptionsTile/index.d.ts +8 -1
- package/es/components/PageHeader/PageHeader.d.ts +2 -2
- package/es/components/PageHeader/PageHeader.js +8 -8
- package/es/components/PageHeader/index.d.ts +2 -1
- package/es/components/ProductiveCard/ProductiveCard.d.ts +1 -1
- package/es/components/ProductiveCard/ProductiveCard.js +1 -1
- package/es/components/ProductiveCard/index.d.ts +2 -1
- package/es/components/RemoveModal/RemoveModal.d.ts +2 -3
- package/es/components/RemoveModal/RemoveModal.js +3 -3
- package/es/components/RemoveModal/index.d.ts +2 -1
- package/es/components/Saving/Saving.d.ts +1 -1
- package/es/components/Saving/Saving.js +2 -2
- package/es/components/Saving/index.d.ts +2 -1
- package/es/components/SearchBar/SearchBar.d.ts +1 -1
- package/es/components/SearchBar/SearchBar.js +1 -1
- package/es/components/SearchBar/index.d.ts +8 -1
- package/es/components/SidePanel/SidePanel.d.ts +1 -1
- package/es/components/SidePanel/SidePanel.js +9 -9
- package/es/components/SidePanel/index.d.ts +8 -1
- package/es/components/SingleAddSelect/SingleAddSelect.d.ts +1 -2
- package/es/components/SingleAddSelect/SingleAddSelect.js +1 -1
- package/es/components/SingleAddSelect/index.d.ts +2 -1
- package/es/components/StatusIcon/StatusIcon.d.ts +1 -1
- package/es/components/StatusIcon/StatusIcon.js +1 -1
- package/es/components/StatusIcon/index.d.ts +8 -1
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +1 -2
- package/es/components/SteppedAnimatedMedia/index.d.ts +8 -1
- package/es/components/TagOverflow/TagOverflow.d.ts +3 -3
- package/es/components/TagOverflow/TagOverflow.js +4 -4
- package/es/components/TagOverflow/index.d.ts +8 -1
- package/es/components/TagSet/TagSet.d.ts +2 -2
- package/es/components/TagSet/TagSet.js +4 -4
- package/es/components/TagSet/index.d.ts +2 -1
- package/es/components/Tearsheet/Tearsheet.d.ts +2 -3
- package/es/components/Tearsheet/Tearsheet.js +4 -4
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +3 -3
- package/es/components/Tearsheet/TearsheetNarrow.js +4 -4
- package/es/components/Tearsheet/index.d.ts +10 -2
- package/es/components/Toolbar/Toolbar.d.ts +1 -1
- package/es/components/Toolbar/Toolbar.js +3 -3
- package/es/components/Toolbar/ToolbarButton.d.ts +2 -3
- package/es/components/Toolbar/ToolbarButton.js +3 -3
- package/es/components/Toolbar/ToolbarGroup.d.ts +1 -2
- package/es/components/Toolbar/ToolbarGroup.js +3 -3
- package/es/components/Toolbar/index.d.ts +12 -3
- package/es/components/TruncatedList/TruncatedList.d.ts +1 -2
- package/es/components/TruncatedList/TruncatedList.js +2 -2
- package/es/components/TruncatedList/index.d.ts +8 -1
- package/es/components/UserProfileImage/UserProfileImage.d.ts +3 -3
- package/es/components/UserProfileImage/UserProfileImage.js +5 -4
- package/es/components/UserProfileImage/index.d.ts +2 -1
- package/es/components/WebTerminal/WebTerminal.d.ts +4 -4
- package/es/components/WebTerminal/WebTerminal.js +5 -5
- package/es/components/WebTerminal/WebTerminalContentWrapper.d.ts +2 -3
- package/es/components/WebTerminal/index.d.ts +11 -3
- package/lib/components/AddSelect/AddSelectBody.js +2 -2
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
- package/lib/components/CreateSidePanel/CreateSidePanel.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +2 -1
- package/lib/components/EditSidePanel/EditSidePanel.js +1 -1
- package/lib/components/EditUpdateCards/EditUpdateCards.js +1 -1
- package/lib/components/FeatureFlags/index.d.ts +26 -21
- package/lib/components/FeatureFlags/index.js +1 -10
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
- package/lib/components/FilterSummary/FilterSummary.d.ts +1 -1
- package/lib/components/FilterSummary/FilterSummary.js +7 -8
- package/lib/components/FilterSummary/index.d.ts +8 -1
- package/lib/components/FullPageError/FullPageError.d.ts +1 -2
- package/lib/components/FullPageError/FullPageError.js +4 -4
- package/lib/components/FullPageError/index.d.ts +8 -1
- package/lib/components/GetStartedCard/GetStartedCard.d.ts +1 -1
- package/lib/components/GetStartedCard/index.d.ts +8 -1
- package/lib/components/Guidebanner/Guidebanner.d.ts +1 -2
- package/lib/components/Guidebanner/Guidebanner.js +4 -4
- package/lib/components/Guidebanner/GuidebannerElement.d.ts +1 -2
- package/lib/components/Guidebanner/GuidebannerElementButton.d.ts +2 -3
- package/lib/components/Guidebanner/GuidebannerElementButton.js +2 -2
- package/lib/components/Guidebanner/GuidebannerElementLink.d.ts +2 -3
- package/lib/components/Guidebanner/GuidebannerElementLink.js +1 -1
- package/lib/components/Guidebanner/index.d.ts +14 -4
- package/lib/components/ImportModal/ImportModal.d.ts +1 -1
- package/lib/components/ImportModal/ImportModal.js +3 -3
- package/lib/components/ImportModal/index.d.ts +2 -1
- package/lib/components/InlineTip/InlineTip.d.ts +1 -1
- package/lib/components/InlineTip/InlineTip.js +4 -4
- package/lib/components/InlineTip/InlineTipButton.d.ts +1 -2
- package/lib/components/InlineTip/InlineTipButton.js +1 -1
- package/lib/components/InlineTip/InlineTipLink.d.ts +1 -2
- package/lib/components/InlineTip/InlineTipLink.js +2 -2
- package/lib/components/InlineTip/index.d.ts +12 -3
- package/lib/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
- package/lib/components/InterstitialScreen/InterstitialScreen.js +6 -6
- package/lib/components/InterstitialScreen/index.d.ts +8 -1
- package/lib/components/InterstitialScreenView/InterstitialScreenView.d.ts +1 -2
- package/lib/components/InterstitialScreenView/index.d.ts +8 -1
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +1 -2
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
- package/lib/components/InterstitialScreenViewModule/index.d.ts +8 -1
- package/lib/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
- package/lib/components/MultiAddSelect/MultiAddSelect.js +1 -1
- package/lib/components/MultiAddSelect/index.d.ts +2 -1
- package/lib/components/NonLinearReading/NonLinearReading.d.ts +1 -1
- package/lib/components/NonLinearReading/NonLinearReading.js +2 -2
- package/lib/components/NonLinearReading/index.d.ts +8 -1
- package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +2 -2
- package/lib/components/NotificationsPanel/NotificationsPanel.js +3 -3
- package/lib/components/NotificationsPanel/index.d.ts +8 -1
- package/lib/components/OptionsTile/OptionsTile.d.ts +1 -2
- package/lib/components/OptionsTile/OptionsTile.js +5 -5
- package/lib/components/OptionsTile/index.d.ts +8 -1
- package/lib/components/PageHeader/PageHeader.d.ts +2 -2
- package/lib/components/PageHeader/PageHeader.js +8 -8
- package/lib/components/PageHeader/index.d.ts +2 -1
- package/lib/components/ProductiveCard/ProductiveCard.d.ts +1 -1
- package/lib/components/ProductiveCard/ProductiveCard.js +1 -1
- package/lib/components/ProductiveCard/index.d.ts +2 -1
- package/lib/components/RemoveModal/RemoveModal.d.ts +2 -3
- package/lib/components/RemoveModal/RemoveModal.js +3 -3
- package/lib/components/RemoveModal/index.d.ts +2 -1
- package/lib/components/Saving/Saving.d.ts +1 -1
- package/lib/components/Saving/Saving.js +2 -2
- package/lib/components/Saving/index.d.ts +2 -1
- package/lib/components/SearchBar/SearchBar.d.ts +1 -1
- package/lib/components/SearchBar/SearchBar.js +1 -1
- package/lib/components/SearchBar/index.d.ts +8 -1
- package/lib/components/SidePanel/SidePanel.d.ts +1 -1
- package/lib/components/SidePanel/SidePanel.js +9 -9
- package/lib/components/SidePanel/index.d.ts +8 -1
- package/lib/components/SingleAddSelect/SingleAddSelect.d.ts +1 -2
- package/lib/components/SingleAddSelect/SingleAddSelect.js +1 -1
- package/lib/components/SingleAddSelect/index.d.ts +2 -1
- package/lib/components/StatusIcon/StatusIcon.d.ts +1 -1
- package/lib/components/StatusIcon/StatusIcon.js +1 -1
- package/lib/components/StatusIcon/index.d.ts +8 -1
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +1 -2
- package/lib/components/SteppedAnimatedMedia/index.d.ts +8 -1
- package/lib/components/TagOverflow/TagOverflow.d.ts +3 -3
- package/lib/components/TagOverflow/TagOverflow.js +4 -4
- package/lib/components/TagOverflow/index.d.ts +8 -1
- package/lib/components/TagSet/TagSet.d.ts +2 -2
- package/lib/components/TagSet/TagSet.js +4 -4
- package/lib/components/TagSet/index.d.ts +2 -1
- package/lib/components/Tearsheet/Tearsheet.d.ts +2 -3
- package/lib/components/Tearsheet/Tearsheet.js +4 -4
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +3 -3
- package/lib/components/Tearsheet/TearsheetNarrow.js +4 -4
- package/lib/components/Tearsheet/index.d.ts +10 -2
- package/lib/components/Toolbar/Toolbar.d.ts +1 -1
- package/lib/components/Toolbar/Toolbar.js +4 -4
- package/lib/components/Toolbar/ToolbarButton.d.ts +2 -3
- package/lib/components/Toolbar/ToolbarButton.js +4 -4
- package/lib/components/Toolbar/ToolbarGroup.d.ts +1 -2
- package/lib/components/Toolbar/ToolbarGroup.js +4 -4
- package/lib/components/Toolbar/index.d.ts +12 -3
- package/lib/components/TruncatedList/TruncatedList.d.ts +1 -2
- package/lib/components/TruncatedList/TruncatedList.js +2 -2
- package/lib/components/TruncatedList/index.d.ts +8 -1
- package/lib/components/UserProfileImage/UserProfileImage.d.ts +3 -3
- package/lib/components/UserProfileImage/UserProfileImage.js +5 -4
- package/lib/components/UserProfileImage/index.d.ts +2 -1
- package/lib/components/WebTerminal/WebTerminal.d.ts +4 -4
- package/lib/components/WebTerminal/WebTerminal.js +5 -5
- package/lib/components/WebTerminal/WebTerminalContentWrapper.d.ts +2 -3
- package/lib/components/WebTerminal/index.d.ts +11 -3
- package/package.json +2 -2
@@ -10,14 +10,14 @@
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
+
var react = require('@carbon/react');
|
13
14
|
var React = require('react');
|
15
|
+
var TearsheetShell = require('./TearsheetShell.js');
|
16
|
+
var ActionSet = require('../ActionSet/ActionSet.js');
|
14
17
|
var index = require('../../node_modules/prop-types/index.js');
|
15
|
-
var devtools = require('../../global/js/utils/devtools.js');
|
16
18
|
var propsHelper = require('../../global/js/utils/props-helper.js');
|
19
|
+
var devtools = require('../../global/js/utils/devtools.js');
|
17
20
|
var settings = require('../../settings.js');
|
18
|
-
var react = require('@carbon/react');
|
19
|
-
var ActionSet = require('../ActionSet/ActionSet.js');
|
20
|
-
var TearsheetShell = require('./TearsheetShell.js');
|
21
21
|
|
22
22
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
23
23
|
|
@@ -5,10 +5,10 @@
|
|
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 React, { ReactNode, PropsWithChildren } from 'react';
|
9
|
-
import PropTypes from 'prop-types';
|
10
8
|
import { ButtonProps } from '@carbon/react';
|
11
9
|
import { CloseIconDescriptionTypes } from './TearsheetShell';
|
10
|
+
import React, { PropsWithChildren, ReactNode } from 'react';
|
11
|
+
import PropTypes from 'prop-types';
|
12
12
|
interface TearsheetNarrowBaseProps extends PropsWithChildren {
|
13
13
|
/**
|
14
14
|
* The navigation actions to be shown as buttons in the action area at the
|
@@ -90,7 +90,7 @@ interface TearsheetNarrowBaseProps extends PropsWithChildren {
|
|
90
90
|
*/
|
91
91
|
verticalPosition?: 'normal' | 'lower';
|
92
92
|
}
|
93
|
-
type TearsheetNarrowProps = TearsheetNarrowBaseProps & CloseIconDescriptionTypes;
|
93
|
+
export type TearsheetNarrowProps = TearsheetNarrowBaseProps & CloseIconDescriptionTypes;
|
94
94
|
/**
|
95
95
|
* A narrow tearsheet is a slimmer variant of the tearsheet, providing a dialog
|
96
96
|
* that keeps users in-context and focused by bringing actionable content front
|
@@ -10,14 +10,14 @@
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
+
var react = require('@carbon/react');
|
14
|
+
var TearsheetShell = require('./TearsheetShell.js');
|
13
15
|
var React = require('react');
|
16
|
+
var propsHelper = require('../../global/js/utils/props-helper.js');
|
17
|
+
var ActionSet = require('../ActionSet/ActionSet.js');
|
14
18
|
var index = require('../../node_modules/prop-types/index.js');
|
15
19
|
var devtools = require('../../global/js/utils/devtools.js');
|
16
|
-
var propsHelper = require('../../global/js/utils/props-helper.js');
|
17
20
|
var settings = require('../../settings.js');
|
18
|
-
var react = require('@carbon/react');
|
19
|
-
var ActionSet = require('../ActionSet/ActionSet.js');
|
20
|
-
var TearsheetShell = require('./TearsheetShell.js');
|
21
21
|
|
22
22
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
23
23
|
|
@@ -1,2 +1,10 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2021
|
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
|
+
export { Tearsheet } from './Tearsheet';
|
8
|
+
export { TearsheetNarrow } from './TearsheetNarrow';
|
9
|
+
export type { TearsheetProps } from './Tearsheet';
|
10
|
+
export type { TearsheetNarrowProps } from './TearsheetNarrow';
|
@@ -6,7 +6,7 @@
|
|
6
6
|
*/
|
7
7
|
import React from 'react';
|
8
8
|
declare const blockClass: string;
|
9
|
-
interface ToolbarProps {
|
9
|
+
export interface ToolbarProps {
|
10
10
|
/** Provide an optional class to be applied to the containing node */
|
11
11
|
className?: string;
|
12
12
|
/** Determines whether the `Toolbar` is rendered vertically */
|
@@ -10,17 +10,17 @@
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
-
var cx = require('classnames');
|
14
|
-
var index = require('../../node_modules/prop-types/index.js');
|
15
13
|
var React = require('react');
|
16
|
-
var
|
14
|
+
var index = require('../../node_modules/prop-types/index.js');
|
17
15
|
var getFocusableElements = require('../../global/js/utils/getFocusableElements.js');
|
16
|
+
var cx = require('classnames');
|
17
|
+
var devtools = require('../../global/js/utils/devtools.js');
|
18
18
|
var settings = require('../../settings.js');
|
19
19
|
|
20
20
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
21
21
|
|
22
|
-
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
23
22
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
23
|
+
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
24
24
|
|
25
25
|
var _excluded = ["children", "className", "vertical"];
|
26
26
|
var checkComponentEnabled = settings.pkg.checkComponentEnabled,
|
@@ -5,10 +5,10 @@
|
|
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 { IconButton } from '@carbon/react';
|
9
8
|
import React from 'react';
|
9
|
+
import { IconButton } from '@carbon/react';
|
10
10
|
export declare const blockClass: string;
|
11
|
-
interface ToolbarButtonProps extends React.ComponentProps<typeof IconButton> {
|
11
|
+
export interface ToolbarButtonProps extends React.ComponentProps<typeof IconButton> {
|
12
12
|
/** Determines whether the caret is rendered */
|
13
13
|
caret?: boolean;
|
14
14
|
/** Provide an optional class to be applied to the containing node */
|
@@ -22,4 +22,3 @@ interface ToolbarButtonProps extends React.ComponentProps<typeof IconButton> {
|
|
22
22
|
export declare let ToolbarButton: React.ForwardRefExoticComponent<ToolbarButtonProps & {
|
23
23
|
children?: React.ReactNode;
|
24
24
|
} & React.RefAttributes<unknown>>;
|
25
|
-
export {};
|
@@ -10,17 +10,17 @@
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
+
var React = require('react');
|
14
|
+
var Toolbar = require('./Toolbar.js');
|
15
|
+
var index = require('../../node_modules/prop-types/index.js');
|
13
16
|
var react = require('@carbon/react');
|
14
17
|
var cx = require('classnames');
|
15
|
-
var index = require('../../node_modules/prop-types/index.js');
|
16
|
-
var React = require('react');
|
17
18
|
var settings = require('../../settings.js');
|
18
|
-
var Toolbar = require('./Toolbar.js');
|
19
19
|
|
20
20
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
21
21
|
|
22
|
-
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
23
22
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
23
|
+
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
24
24
|
|
25
25
|
var _excluded = ["caret", "children", "className", "renderIcon", "iconDescription"];
|
26
26
|
var blockClass = "".concat(Toolbar.blockClass, "__button");
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import React, { ReactNode } from 'react';
|
8
|
-
interface ToolbarGroupProps {
|
8
|
+
export interface ToolbarGroupProps {
|
9
9
|
/** Provide the content of the `ToolbarGroup` */
|
10
10
|
children?: ReactNode;
|
11
11
|
/** Provide an optional class to be applied to the containing node */
|
@@ -15,4 +15,3 @@ interface ToolbarGroupProps {
|
|
15
15
|
export declare let ToolbarGroup: React.ForwardRefExoticComponent<ToolbarGroupProps & {
|
16
16
|
children?: React.ReactNode;
|
17
17
|
} & React.RefAttributes<HTMLDivElement>>;
|
18
|
-
export {};
|
@@ -10,16 +10,16 @@
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
-
var cx = require('classnames');
|
14
|
-
var index = require('../../node_modules/prop-types/index.js');
|
15
13
|
var React = require('react');
|
16
|
-
var
|
14
|
+
var index = require('../../node_modules/prop-types/index.js');
|
17
15
|
var Toolbar = require('./Toolbar.js');
|
16
|
+
var cx = require('classnames');
|
17
|
+
var settings = require('../../settings.js');
|
18
18
|
|
19
19
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
20
20
|
|
21
|
-
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
22
21
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
22
|
+
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
23
23
|
|
24
24
|
var _excluded = ["className", "children"];
|
25
25
|
/** Toolbar groups organize the commands within a toolbar into related groups. */
|
@@ -1,3 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2021, 2021
|
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
|
+
export { Toolbar } from './Toolbar';
|
8
|
+
export { ToolbarButton } from './ToolbarButton';
|
9
|
+
export { ToolbarGroup } from './ToolbarGroup';
|
10
|
+
export type { ToolbarProps } from './Toolbar';
|
11
|
+
export type { ToolbarButtonProps } from './ToolbarButton';
|
12
|
+
export type { ToolbarGroupProps } from './ToolbarGroup';
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import React, { PropsWithChildren, ReactNode } from 'react';
|
8
|
-
interface TruncatedListProps extends PropsWithChildren {
|
8
|
+
export interface TruncatedListProps extends PropsWithChildren {
|
9
9
|
as?: React.ElementType | string;
|
10
10
|
/**
|
11
11
|
* Optional class name for expand/collapse button.
|
@@ -49,4 +49,3 @@ interface TruncatedListProps extends PropsWithChildren {
|
|
49
49
|
* and see the entire list.
|
50
50
|
*/
|
51
51
|
export declare let TruncatedList: React.ForwardRefExoticComponent<TruncatedListProps & React.RefAttributes<HTMLDivElement>>;
|
52
|
-
export {};
|
@@ -11,11 +11,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
13
|
var React = require('react');
|
14
|
+
var settings = require('../../settings.js');
|
15
|
+
var react = require('@carbon/react');
|
14
16
|
var index = require('../../node_modules/prop-types/index.js');
|
15
17
|
var cx = require('classnames');
|
16
18
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
|
-
var settings = require('../../settings.js');
|
18
|
-
var react = require('@carbon/react');
|
19
19
|
|
20
20
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
21
21
|
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024, 2024
|
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
|
+
export { TruncatedList } from './TruncatedList';
|
8
|
+
export type { TruncatedListProps } from './TruncatedList';
|
@@ -5,10 +5,10 @@
|
|
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 React from 'react';
|
9
|
-
import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
|
10
8
|
import '../../global/js/utils/props-helper';
|
9
|
+
import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
|
11
10
|
import { IconButton } from '@carbon/react';
|
11
|
+
import React from 'react';
|
12
12
|
type imageProps = {
|
13
13
|
/**
|
14
14
|
* When passing the image prop, supply a full path to the image to be displayed.
|
@@ -61,7 +61,7 @@ type UserProfileImageBaseProps = {
|
|
61
61
|
*/
|
62
62
|
tooltipText?: string;
|
63
63
|
};
|
64
|
-
type UserProfileImageProps = UserProfileImageBaseProps & imageProps;
|
64
|
+
export type UserProfileImageProps = UserProfileImageBaseProps & imageProps;
|
65
65
|
/**
|
66
66
|
* 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.
|
67
67
|
*/
|
@@ -10,14 +10,14 @@
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
-
|
13
|
+
require('../../global/js/utils/props-helper.js');
|
14
|
+
var icons = require('@carbon/react/icons');
|
15
|
+
var react = require('@carbon/react');
|
14
16
|
var index = require('../../node_modules/prop-types/index.js');
|
17
|
+
var React = require('react');
|
15
18
|
var cx = require('classnames');
|
16
19
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
|
-
require('../../global/js/utils/props-helper.js');
|
18
20
|
var settings = require('../../settings.js');
|
19
|
-
var icons = require('@carbon/react/icons');
|
20
|
-
var react = require('@carbon/react');
|
21
21
|
var TooltipTrigger = require('../TooltipTrigger/TooltipTrigger.js');
|
22
22
|
|
23
23
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
@@ -26,6 +26,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
26
26
|
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
27
27
|
|
28
28
|
var _excluded = ["backgroundColor", "className", "kind", "icon", "initials", "image", "imageDescription", "size", "theme", "tooltipText", "tooltipAlignment"];
|
29
|
+
|
29
30
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
30
31
|
var blockClass = "".concat(settings.pkg.prefix, "--user-profile-image");
|
31
32
|
var componentName = 'UserProfileImage';
|
@@ -1 +1,2 @@
|
|
1
|
-
export { UserProfileImage } from
|
1
|
+
export { UserProfileImage } from './UserProfileImage';
|
2
|
+
export type { UserProfileImageProps } from './UserProfileImage';
|
@@ -5,18 +5,18 @@
|
|
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 React, { PropsWithChildren, ReactNode } from 'react';
|
9
8
|
import { OverflowMenuItem } from '@carbon/react';
|
9
|
+
import React, { PropsWithChildren, ReactNode } from 'react';
|
10
10
|
interface Action {
|
11
11
|
renderIcon: () => void;
|
12
12
|
onClick: () => void;
|
13
13
|
iconDescription: string;
|
14
14
|
}
|
15
|
-
interface WebTerminalProps extends PropsWithChildren {
|
15
|
+
export interface WebTerminalProps extends PropsWithChildren {
|
16
16
|
/**
|
17
17
|
* Provide your own terminal component as children to show up in the web terminal
|
18
18
|
*/
|
19
|
-
children: ReactNode
|
19
|
+
children: ReactNode;
|
20
20
|
/**
|
21
21
|
* An array of actions to be displayed in the web terminal header bar
|
22
22
|
*/
|
@@ -32,7 +32,7 @@ interface WebTerminalProps extends PropsWithChildren {
|
|
32
32
|
/**
|
33
33
|
* 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
|
34
34
|
*/
|
35
|
-
documentationLinks?: readonly OverflowMenuItem[];
|
35
|
+
documentationLinks?: readonly (typeof OverflowMenuItem)[];
|
36
36
|
/**
|
37
37
|
* Description for the documentation link overflow menu tooltip
|
38
38
|
*/
|
@@ -10,16 +10,16 @@
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
+
var react = require('@carbon/react');
|
14
|
+
var icons = require('@carbon/react/icons');
|
13
15
|
var React = require('react');
|
14
16
|
var index$1 = require('../../node_modules/prop-types/index.js');
|
15
17
|
var cx = require('classnames');
|
16
|
-
var settings = require('../../settings.js');
|
17
|
-
var icons = require('@carbon/react/icons');
|
18
|
-
var react = require('@carbon/react');
|
19
|
-
var carbonMotion = require('@carbon/motion');
|
20
|
-
var index = require('./hooks/index.js');
|
21
18
|
var devtools = require('../../global/js/utils/devtools.js');
|
19
|
+
var carbonMotion = require('@carbon/motion');
|
20
|
+
var settings = require('../../settings.js');
|
22
21
|
var usePrefersReducedMotion = require('../../global/js/hooks/usePrefersReducedMotion.js');
|
22
|
+
var index = require('./hooks/index.js');
|
23
23
|
|
24
24
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
25
25
|
|
@@ -5,11 +5,10 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import React, { ReactNode } from 'react';
|
8
|
-
interface WebTerminalContentWrapperProps {
|
8
|
+
export interface WebTerminalContentWrapperProps {
|
9
9
|
/**
|
10
10
|
* Pass in content as children.
|
11
11
|
*/
|
12
|
-
children: ReactNode
|
12
|
+
children: ReactNode;
|
13
13
|
}
|
14
14
|
export declare let WebTerminalContentWrapper: React.ForwardRefExoticComponent<WebTerminalContentWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
15
|
-
export {};
|
@@ -1,3 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2022
|
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
|
+
export { WebTerminal } from './WebTerminal';
|
8
|
+
export { WebTerminalContentWrapper } from './WebTerminalContentWrapper';
|
9
|
+
export { useWebTerminal, WebTerminalProvider } from './hooks';
|
10
|
+
export type { WebTerminalProps } from './WebTerminal';
|
11
|
+
export type { WebTerminalContentWrapperProps } from './WebTerminalContentWrapper';
|
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.
|
4
|
+
"version": "2.43.2-canary.129+5fdb47a91",
|
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": "5fdb47a91e8c7f151f4ef29bc86f7b8bd2fe96d0"
|
124
124
|
}
|